bravo68web-portfolio-nextjs/public/core/vendors.ascii85.quill.chunk.js

33 lines
16 KiB
JavaScript

/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[1],{403:function(ia,da,e){(function(ba){function ea(){try{var f=new Uint8Array(1);f.__proto__={__proto__:Uint8Array.prototype,eka:function(){return 42}};return"function"===typeof f.subarray&&0===f.subarray(1,1).byteLength}catch(wa){return!1}}function aa(f,e){if((ha.Me?2147483647:1073741823)<e)throw new RangeError("Invalid typed array length");ha.Me?(f=new Uint8Array(e),f.__proto__=ha.prototype):(null===f&&(f=new ha(e)),f.length=
e);return f}function ha(f,e,h){if(!(ha.Me||this instanceof ha))return new ha(f,e,h);if("number"===typeof f){if("string"===typeof e)throw Error("If encoding is specified then the first argument must be a string");return w(this,f)}return ca(this,f,e,h)}function ca(f,e,n,w){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');if("undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer){e.byteLength;if(0>n||e.byteLength<n)throw new RangeError("'offset' is out of bounds");
if(e.byteLength<n+(w||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===w?new Uint8Array(e):void 0===w?new Uint8Array(e,n):new Uint8Array(e,n,w);ha.Me?(f=e,f.__proto__=ha.prototype):f=y(f,e);e=f}else if("string"===typeof e){w=f;f=n;if("string"!==typeof f||""===f)f="utf8";if(!ha.hS(f))throw new TypeError('"encoding" must be a valid string encoding');n=h(e,f)|0;w=aa(w,n);e=w.write(e,f);e!==n&&(w=w.slice(0,e));e=w}else e=r(f,e);return e}function z(f){if("number"!==typeof f)throw new TypeError('"size" argument must be a number');
if(0>f)throw new RangeError('"size" argument must not be negative');}function w(f,e){z(e);f=aa(f,0>e?0:n(e)|0);if(!ha.Me)for(var h=0;h<e;++h)f[h]=0;return f}function y(f,e){var h=0>e.length?0:n(e.length)|0;f=aa(f,h);for(var r=0;r<h;r+=1)f[r]=e[r]&255;return f}function r(f,e){if(ha.isBuffer(e)){var h=n(e.length)|0;f=aa(f,h);if(0===f.length)return f;e.copy(f,0,0,h);return f}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return(h="number"!==typeof e.length)||
(h=e.length,h=h!==h),h?aa(f,0):y(f,e);if("Buffer"===e.type&&Fa(e.data))return y(f,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");}function n(f){if(f>=(ha.Me?2147483647:1073741823))throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+(ha.Me?2147483647:1073741823).toString(16)+" bytes");return f|0}function h(f,e){if(ha.isBuffer(f))return f.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&
(ArrayBuffer.isView(f)||f instanceof ArrayBuffer))return f.byteLength;"string"!==typeof f&&(f=""+f);var h=f.length;if(0===h)return 0;for(var n=!1;;)switch(e){case "ascii":case "latin1":case "binary":return h;case "utf8":case "utf-8":case void 0:return la(f).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*h;case "hex":return h>>>1;case "base64":return ya.LW(pa(f)).length;default:if(n)return la(f).length;e=(""+e).toLowerCase();n=!0}}function f(f,e,h){var n=!1;if(void 0===e||
0>e)e=0;if(e>this.length)return"";if(void 0===h||h>this.length)h=this.length;if(0>=h)return"";h>>>=0;e>>>=0;if(h<=e)return"";for(f||(f="utf8");;)switch(f){case "hex":f=e;e=h;h=this.length;if(!f||0>f)f=0;if(!e||0>e||e>h)e=h;n="";for(h=f;h<e;++h)f=n,n=this[h],n=16>n?"0"+n.toString(16):n.toString(16),n=f+n;return n;case "utf8":case "utf-8":return ia(this,e,h);case "ascii":f="";for(h=Math.min(this.length,h);e<h;++e)f+=String.fromCharCode(this[e]&127);return f;case "latin1":case "binary":f="";for(h=Math.min(this.length,
h);e<h;++e)f+=String.fromCharCode(this[e]);return f;case "base64":return 0===e&&h===this.length?ya.rQ(this):ya.rQ(this.slice(e,h));case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":e=this.slice(e,h);h="";for(f=0;f<e.length;f+=2)h+=String.fromCharCode(e[f]+256*e[f+1]);return h;default:if(n)throw new TypeError("Unknown encoding: "+f);f=(f+"").toLowerCase();n=!0}}function x(f,e,h,n,r){if(0===f.length)return-1;"string"===typeof h?(n=h,h=0):2147483647<h?h=2147483647:-2147483648>h&&(h=-2147483648);
h=+h;isNaN(h)&&(h=r?0:f.length-1);0>h&&(h=f.length+h);if(h>=f.length){if(r)return-1;h=f.length-1}else if(0>h)if(r)h=0;else return-1;"string"===typeof e&&(e=ha.from(e,n));if(ha.isBuffer(e))return 0===e.length?-1:fa(f,e,h,n,r);if("number"===typeof e)return e&=255,ha.Me&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(f,e,h):Uint8Array.prototype.lastIndexOf.call(f,e,h):fa(f,[e],h,n,r);throw new TypeError("val must be string, number or Buffer");}function fa(f,e,h,
n,r){function w(f,e){return 1===x?f[e]:f.rw(e*x)}var x=1,y=f.length,z=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(2>f.length||2>e.length)return-1;x=2;y/=2;z/=2;h/=2}if(r)for(n=-1;h<y;h++)if(w(f,h)===w(e,-1===n?0:h-n)){if(-1===n&&(n=h),h-n+1===z)return n*x}else-1!==n&&(h-=h-n),n=-1;else for(h+z>y&&(h=y-z);0<=h;h--){y=!0;for(n=0;n<z;n++)if(w(f,h+n)!==w(e,n)){y=!1;break}if(y)return h}return-1}function ia(f,e,h){h=Math.min(f.length,h);
for(var n=[];e<h;){var r=f[e],w=null,x=239<r?4:223<r?3:191<r?2:1;if(e+x<=h)switch(x){case 1:128>r&&(w=r);break;case 2:var y=f[e+1];128===(y&192)&&(r=(r&31)<<6|y&63,127<r&&(w=r));break;case 3:y=f[e+1];var z=f[e+2];128===(y&192)&&128===(z&192)&&(r=(r&15)<<12|(y&63)<<6|z&63,2047<r&&(55296>r||57343<r)&&(w=r));break;case 4:y=f[e+1];z=f[e+2];var aa=f[e+3];128===(y&192)&&128===(z&192)&&128===(aa&192)&&(r=(r&15)<<18|(y&63)<<12|(z&63)<<6|aa&63,65535<r&&1114112>r&&(w=r))}null===w?(w=65533,x=1):65535<w&&(w-=
65536,n.push(w>>>10&1023|55296),w=56320|w&1023);n.push(w);e+=x}f=n.length;if(f<=ua)n=String.fromCharCode.apply(String,n);else{h="";for(e=0;e<f;)h+=String.fromCharCode.apply(String,n.slice(e,e+=ua));n=h}return n}function ja(f,e,h){if(0!==f%1||0>f)throw new RangeError("offset is not uint");if(f+e>h)throw new RangeError("Trying to access beyond buffer length");}function na(f,e,h,n,r,w){if(!ha.isBuffer(f))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<w)throw new RangeError('"value" argument is out of bounds');
if(h+n>f.length)throw new RangeError("Index out of range");}function pa(f){f=(f.trim?f.trim():f.replace(/^\s+|\s+$/g,"")).replace(qa,"");if(2>f.length)return"";for(;0!==f.length%4;)f+="=";return f}function la(f,e){e=e||Infinity;for(var h,n=f.length,r=null,w=[],x=0;x<n;++x){h=f.charCodeAt(x);if(55295<h&&57344>h){if(!r){if(56319<h){-1<(e-=3)&&w.push(239,191,189);continue}else if(x+1===n){-1<(e-=3)&&w.push(239,191,189);continue}r=h;continue}if(56320>h){-1<(e-=3)&&w.push(239,191,189);r=h;continue}h=(r-
55296<<10|h-56320)+65536}else r&&-1<(e-=3)&&w.push(239,191,189);r=null;if(128>h){if(0>--e)break;w.push(h)}else if(2048>h){if(0>(e-=2))break;w.push(h>>6|192,h&63|128)}else if(65536>h){if(0>(e-=3))break;w.push(h>>12|224,h>>6&63|128,h&63|128)}else if(1114112>h){if(0>(e-=4))break;w.push(h>>18|240,h>>12&63|128,h>>6&63|128,h&63|128)}else throw Error("Invalid code point");}return w}function ra(f){for(var e=[],h=0;h<f.length;++h)e.push(f.charCodeAt(h)&255);return e}function oa(f,e,h,n){for(var r=0;r<n&&!(r+
h>=e.length||r>=f.length);++r)e[r+h]=f[r];return r}var ya=e(412);e(413);var Fa=e(414);da.Buffer=ha;da.lia=function(f){+f!=f&&(f=0);return ha.qO(+f)};da.mY=50;ha.Me=void 0!==ba.Me?ba.Me:ea();da.Jka=ha.Me?2147483647:1073741823;ha.lla=8192;ha.Qia=function(f){f.__proto__=ha.prototype;return f};ha.from=function(f,e,h){return ca(null,f,e,h)};ha.Me&&(ha.prototype.__proto__=Uint8Array.prototype,ha.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.mW&&ha[Symbol.mW]===ha&&Object.defineProperty(ha,Symbol.mW,
{value:null,configurable:!0}));ha.qO=function(f){z(f);return aa(null,f)};ha.allocUnsafe=function(f){return w(null,f)};ha.eja=function(f){return w(null,f)};ha.isBuffer=function(f){return!(null==f||!f.J_)};ha.compare=function(f,e){if(!ha.isBuffer(f)||!ha.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(f===e)return 0;for(var h=f.length,n=e.length,r=0,w=Math.min(h,n);r<w;++r)if(f[r]!==e[r]){h=f[r];n=e[r];break}return h<n?-1:n<h?1:0};ha.hS=function(f){switch(String(f).toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "latin1":case "binary":case "base64":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return!0;
default:return!1}};ha.concat=function(f,e){if(!Fa(f))throw new TypeError('"list" argument must be an Array of Buffers');if(0===f.length)return ha.qO(0);var h;if(void 0===e)for(h=e=0;h<f.length;++h)e+=f[h].length;e=ha.allocUnsafe(e);var n=0;for(h=0;h<f.length;++h){var r=f[h];if(!ha.isBuffer(r))throw new TypeError('"list" argument must be an Array of Buffers');r.copy(e,n);n+=r.length}return e};ha.byteLength=h;ha.prototype.J_=!0;ha.prototype.toString=function(){var e=this.length|0;return 0===e?"":0===
arguments.length?ia(this,0,e):f.apply(this,arguments)};ha.prototype.er=function(f){if(!ha.isBuffer(f))throw new TypeError("Argument must be a Buffer");return this===f?!0:0===ha.compare(this,f)};ha.prototype.inspect=function(){var f="",e=da.mY;0<this.length&&(f=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(f+=" ... "));return"<Buffer "+f+">"};ha.prototype.compare=function(f,e,h,n,r){if(!ha.isBuffer(f))throw new TypeError("Argument must be a Buffer");void 0===e&&(e=0);void 0===h&&
(h=f?f.length:0);void 0===n&&(n=0);void 0===r&&(r=this.length);if(0>e||h>f.length||0>n||r>this.length)throw new RangeError("out of range index");if(n>=r&&e>=h)return 0;if(n>=r)return-1;if(e>=h)return 1;e>>>=0;h>>>=0;n>>>=0;r>>>=0;if(this===f)return 0;var w=r-n,x=h-e,y=Math.min(w,x);n=this.slice(n,r);f=f.slice(e,h);for(e=0;e<y;++e)if(n[e]!==f[e]){w=n[e];x=f[e];break}return w<x?-1:x<w?1:0};ha.prototype.includes=function(f,e,h){return-1!==this.indexOf(f,e,h)};ha.prototype.indexOf=function(f,e,h){return x(this,
f,e,h,!0)};ha.prototype.lastIndexOf=function(f,e,h){return x(this,f,e,h,!1)};ha.prototype.write=function(f,e,h,n){if(void 0===e)n="utf8",h=this.length,e=0;else if(void 0===h&&"string"===typeof e)n=e,h=this.length,e=0;else if(isFinite(e))e|=0,isFinite(h)?(h|=0,void 0===n&&(n="utf8")):(n=h,h=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var r=this.length-e;if(void 0===h||h>r)h=r;if(0<f.length&&(0>h||0>e)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");
n||(n="utf8");for(r=!1;;)switch(n){case "hex":e=Number(e)||0;n=this.length-e;h?(h=Number(h),h>n&&(h=n)):h=n;n=f.length;if(0!==n%2)throw new TypeError("Invalid hex string");h>n/2&&(h=n/2);for(n=0;n<h;++n){r=parseInt(f.substr(2*n,2),16);if(isNaN(r))break;this[e+n]=r}return n;case "utf8":case "utf-8":return oa(la(f,this.length-e),this,e,h);case "ascii":return oa(ra(f),this,e,h);case "latin1":case "binary":return oa(ra(f),this,e,h);case "base64":return oa(ya.LW(pa(f)),this,e,h);case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":n=
f;r=this.length-e;for(var w=[],x=0;x<n.length&&!(0>(r-=2));++x){var y=n.charCodeAt(x);f=y>>8;y%=256;w.push(y);w.push(f)}return oa(w,this,e,h);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase();r=!0}};ha.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this.Pia||this,0)}};var ua=4096;ha.prototype.slice=function(f,e){var h=this.length;f=~~f;e=void 0===e?h:~~e;0>f?(f+=h,0>f&&(f=0)):f>h&&(f=h);0>e?(e+=h,0>e&&(e=0)):e>h&&(e=h);e<f&&(e=f);if(ha.Me)e=
this.subarray(f,e),e.__proto__=ha.prototype;else{h=e-f;e=new ha(h,void 0);for(var n=0;n<h;++n)e[n]=this[n+f]}return e};ha.prototype.vJ=function(f){ja(f,1,this.length);return this[f]};ha.prototype.rw=function(f){ja(f,2,this.length);return this[f]<<8|this[f+1]};ha.prototype.Uha=function(f,e){f=+f;e|=0;na(this,f,e,1,255,0);ha.Me||(f=Math.floor(f));this[e]=f&255;return e+1};ha.prototype.Tha=function(f,e){f=+f;e|=0;na(this,f,e,4,4294967295,0);if(ha.Me)this[e]=f>>>24,this[e+1]=f>>>16,this[e+2]=f>>>8,this[e+
3]=f&255;else{var h=e;0>f&&(f=4294967295+f+1);for(var n=0,r=Math.min(this.length-h,4);n<r;++n)this[h+n]=f>>>8*(3-n)&255}return e+4};ha.prototype.copy=function(f,e,h,n){h||(h=0);n||0===n||(n=this.length);e>=f.length&&(e=f.length);e||(e=0);0<n&&n<h&&(n=h);if(n===h||0===f.length||0===this.length)return 0;if(0>e)throw new RangeError("targetStart out of bounds");if(0>h||h>=this.length)throw new RangeError("sourceStart out of bounds");if(0>n)throw new RangeError("sourceEnd out of bounds");n>this.length&&
(n=this.length);f.length-e<n-h&&(n=f.length-e+h);var r=n-h;if(this===f&&h<e&&e<n)for(n=r-1;0<=n;--n)f[n+e]=this[n+h];else if(1E3>r||!ha.Me)for(n=0;n<r;++n)f[n+e]=this[n+h];else Uint8Array.prototype.set.call(f,this.subarray(h,h+r),e);return r};ha.prototype.fill=function(f,e,h,n){if("string"===typeof f){"string"===typeof e?(n=e,e=0,h=this.length):"string"===typeof h&&(n=h,h=this.length);if(1===f.length){var r=f.charCodeAt(0);256>r&&(f=r)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");
if("string"===typeof n&&!ha.hS(n))throw new TypeError("Unknown encoding: "+n);}else"number"===typeof f&&(f&=255);if(0>e||this.length<e||this.length<h)throw new RangeError("Out of range index");if(h<=e)return this;e>>>=0;h=void 0===h?this.length:h>>>0;f||(f=0);if("number"===typeof f)for(n=e;n<h;++n)this[n]=f;else for(f=ha.isBuffer(f)?f:la((new ha(f,n)).toString()),r=f.length,n=0;n<h-e;++n)this[n+e]=f[n%r];return this};var qa=/[^+\/0-9A-Za-z-_]/g}).call(this,e(173))},412:function(ia,da){function e(e){var z=
e.length;if(0<z%4)throw Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("=");-1===e&&(e=z);return[e,e===z?0:4-e%4]}function ba(e,z,w){for(var y=[],r=z;r<w;r+=3)z=(e[r]<<16&16711680)+(e[r+1]<<8&65280)+(e[r+2]&255),y.push(ea[z>>18&63]+ea[z>>12&63]+ea[z>>6&63]+ea[z&63]);return y.join("")}da.byteLength=function(aa){aa=e(aa);var z=aa[1];return 3*(aa[0]+z)/4-z};da.LW=function(ca){var z=e(ca);var w=z[0];z=z[1];var y=new ha(3*(w+z)/4-z),r=0,n=0<z?w-4:w,h;for(h=0;h<n;h+=4)w=aa[ca.charCodeAt(h)]<<
18|aa[ca.charCodeAt(h+1)]<<12|aa[ca.charCodeAt(h+2)]<<6|aa[ca.charCodeAt(h+3)],y[r++]=w>>16&255,y[r++]=w>>8&255,y[r++]=w&255;2===z&&(w=aa[ca.charCodeAt(h)]<<2|aa[ca.charCodeAt(h+1)]>>4,y[r++]=w&255);1===z&&(w=aa[ca.charCodeAt(h)]<<10|aa[ca.charCodeAt(h+1)]<<4|aa[ca.charCodeAt(h+2)]>>2,y[r++]=w>>8&255,y[r++]=w&255);return y};da.rQ=function(e){for(var z=e.length,w=z%3,y=[],r=0,n=z-w;r<n;r+=16383)y.push(ba(e,r,r+16383>n?n:r+16383));1===w?(e=e[z-1],y.push(ea[e>>2]+ea[e<<4&63]+"==")):2===w&&(e=(e[z-2]<<
8)+e[z-1],y.push(ea[e>>10]+ea[e>>4&63]+ea[e<<2&63]+"="));return y.join("")};var ea=[],aa=[],ha="undefined"!==typeof Uint8Array?Uint8Array:Array;for(ia=0;64>ia;++ia)ea[ia]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[ia],aa["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(ia)]=ia;aa[45]=62;aa[95]=63},413:function(ia,da){da.read=function(e,ba,ea,aa,ha){var ca=8*ha-aa-1;var z=(1<<ca)-1,w=z>>1,y=-7;ha=ea?ha-1:0;var r=ea?-1:1,n=e[ba+ha];ha+=r;ea=n&(1<<
-y)-1;n>>=-y;for(y+=ca;0<y;ea=256*ea+e[ba+ha],ha+=r,y-=8);ca=ea&(1<<-y)-1;ea>>=-y;for(y+=aa;0<y;ca=256*ca+e[ba+ha],ha+=r,y-=8);if(0===ea)ea=1-w;else{if(ea===z)return ca?NaN:Infinity*(n?-1:1);ca+=Math.pow(2,aa);ea-=w}return(n?-1:1)*ca*Math.pow(2,ea-aa)};da.write=function(e,ba,ea,aa,ha,ca){var z,w=8*ca-ha-1,y=(1<<w)-1,r=y>>1,n=23===ha?Math.pow(2,-24)-Math.pow(2,-77):0;ca=aa?0:ca-1;var h=aa?1:-1,f=0>ba||0===ba&&0>1/ba?1:0;ba=Math.abs(ba);isNaN(ba)||Infinity===ba?(ba=isNaN(ba)?1:0,aa=y):(aa=Math.floor(Math.log(ba)/
Math.LN2),1>ba*(z=Math.pow(2,-aa))&&(aa--,z*=2),ba=1<=aa+r?ba+n/z:ba+n*Math.pow(2,1-r),2<=ba*z&&(aa++,z/=2),aa+r>=y?(ba=0,aa=y):1<=aa+r?(ba=(ba*z-1)*Math.pow(2,ha),aa+=r):(ba=ba*Math.pow(2,r-1)*Math.pow(2,ha),aa=0));for(;8<=ha;e[ea+ca]=ba&255,ca+=h,ba/=256,ha-=8);aa=aa<<ha|ba;for(w+=ha;0<w;e[ea+ca]=aa&255,ca+=h,aa/=256,w-=8);e[ea+ca-h]|=128*f}},414:function(ia){var da={}.toString;ia.exports=Array.isArray||function(e){return"[object Array]"==da.call(e)}}}]);}).call(this || window)