kollapsminoriteten/wp-content/plugins/blocksy-companion/static/bundle/options.js

22 lines
84 KiB
JavaScript
Raw Normal View History

2025-08-27 08:44:30 +02:00
!function(){var t={742:function(t,e){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,i=c(t),a=i[0],s=i[1],l=new o(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),u=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],l[u++]=e>>16&255,l[u++]=e>>8&255,l[u++]=255&e;2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,l[u++]=255&e);1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e);return l},e.fromByteArray=function(t){for(var e,r=t.length,o=r%3,i=[],a=16383,c=0,l=r-o;c<l;c+=a)i.push(s(t,c,c+a>l?l:c+a));1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function s(t,e,r){for(var o,i,a=[],c=e;c<r;c+=3)o=(t[c]<<16&16711680)+(t[c+1]<<8&65280)+(255&t[c+2]),a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},764:function(t,e,n){"use strict";
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/const r=n(742),o=n(645),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=s,e.SlowBuffer=function(t){+t!=t&&(t=0);return s.alloc(+t)},e.INSPECT_MAX_BYTES=50;const a=2147483647;function c(t){if(t>a)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return f(t)}return l(t,e,n)}function l(t,e,n){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const n=0|y(t,e);let r=c(n);const o=r.write(t,e);o!==n&&(r=r.slice(0,o));return r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(J(t,Uint8Array)){const e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return p(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(J(t,ArrayBuffer)||t&&J(t.buffer,ArrayBuffer))return d(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(J(t,SharedArrayBuffer)||t&&J(t.buffer,SharedArrayBuffer)))return d(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return s.from(r,e,n);const o=function(t){if(s.isBuffer(t)){const e=0|h(t.length),n=c(e);return 0===n.length||t.copy(n,0,0,e),n}if(void 0!==t.length)return"number"!=typeof t.length||X(t.length)?c(0):p(t);if("Buffer"===t.type&&Array.isArray(t.data))return p(t.data)}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function f(t){return u(t),c(t<0?0:0|h(t))}function p(t){const e=t.length<0?0:0|h(t.length),n=c(e);for(let r=0;r<e;r+=1)n[r]=255&t[r];return n}function d(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),Object.setPrototypeOf(r,s.prototype),r}function h(t){if(t>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|t}function y(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||J(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(t).length;default:if(o)return r?-1:Y(t).length;e=(""+e).toLowerCase(),o=!0}}function m(t,e,n){let r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return N(this,e,n);case"utf8":case"utf-8":return C(this,e,n);case"ascii":return S(this,e,n);case"latin1":case"binary":return B(this,e,n);case"base64":return x(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function b(t,e,n,r,o
/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var i=typeof n;if("string"===i||"number"===i)t.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&t.push(a)}else if("object"===i)for(var c in n)r.call(n,c)&&n[c]&&t.push(c)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(n=function(){return o}.apply(e,[]))||(t.exports=n)}()},645:function(t,e){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
e.read=function(t,e,n,r,o){var i,a,c=8*o-r-1,s=(1<<c)-1,l=s>>1,u=-7,f=n?o-1:0,p=n?-1:1,d=t[e+f];for(f+=p,i=d&(1<<-u)-1,d>>=-u,u+=c;u>0;i=256*i+t[e+f],f+=p,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+t[e+f],f+=p,u-=8);if(0===i)i=1-l;else{if(i===s)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=l}return(d?-1:1)*a*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var a,c,s,l=8*i-o-1,u=(1<<l)-1,f=u>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),(e+=a+f>=1?p/s:p*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=u?(c=0,a=u):a+f>=1?(c=(e*s-1)*Math.pow(2,o),a+=f):(c=e*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;t[n+d]=255&c,d+=h,c/=256,o-=8);for(a=a<<o|c,l+=o;l>0;t[n+d]=255&a,d+=h,a/=256,l-=8);t[n+d-h]|=128*y}},496:function(t){for(var e=self.crypto||self.msCrypto,n="-_",r=36;r--;)n+=r.toString(36);for(r=36;r---10;)n+=r.toString(36).toUpperCase();t.exports=function(t){var o="",i=e.getRandomValues(new Uint8Array(t||21));for(r=t||21;r--;)o+=n[63&i[r]];return o}},539:function(t,e){var n,r,o;
/*!
* php-unserialize-js JavaScript Library
* https://github.com/bd808/php-unserialize-js
*
* Copyright 2013 Bryan Davis and contributors
* Released under the MIT license
* http://www.opensource.org/licenses/MIT
*/!function(i,a){"use strict";r=[],void 0===(o="function"==typeof(n=function(){return function(t){var e,n=0,r=[],o=0,i=function(){var e=t.indexOf(":",n),r=t.substring(n,e);return n=e+2,parseInt(r,10)},a=function(){var e=t.indexOf(";",n),r=t.substring(n,e);return n=e+1,parseInt(r,10)},c=function(){var t=a();return r[o++]=t,t},s=function(){var e=t.indexOf(";",n),i=t.substring(n,e);return n=e+1,i=parseFloat(i),r[o++]=i,i},l=function(){var e=t.indexOf(";",n),i=t.substring(n,e);return n=e+1,i="1"===i,r[o++]=i,i},u=function(e='"'){for(var r,o,a=i(),c=0,s=0;s<a;)(r=t.charCodeAt(n+c++))<=127?s++:s+=r>2047?3:2;return t.charAt(n+c)!==e&&(c+=t.indexOf('"',n+c)-n-c),o=t.substring(n,n+c),n+=c+2,o},f=function(){var t=u();return r[o++]=t,t},p=function(){var e=t.charAt(n);return n+=2,e},d=function(){var t=p();switch(t){case"i":return a();case"s":return u();default:throw new Error("Unknown key type '"+t+"' at position "+(n-2))}},h=function(){var t,a,c,s,l,u=i(),f=[],p={},h=f,y=o++;r[y]=h;try{for(c=0;c<u;c++)if(t=d(),a=e(),h===f&&t+""==c+"")f.push(a);else{if(h!==p){for(s=0,l=f.length;s<l;s++)p[s]=f[s];h=p,r[y]=h}p[t]=a}}catch(t){throw t.state=h,t}return n++,h},y=function(t,e){var r,o,i;if("\0"===t.charAt(0)){if((i=t.indexOf("\0",1))>0)return r=t.substring(1,i),o=t.substr(i+1),"*"===r||e===r?o:r+"::"+o;var a="Expected two <NUL> characters in non-public property name '"+t+"' at position "+(n-t.length-2);throw new Error(a)}return t},m=function(){var t,a,c,s,l={},f=o++,p=u();r[f]=l,t=i();try{for(s=0;s<t;s++)a=y(d(),p),c=e(),l[a]=c}catch(t){throw t.state=l,t}return n++,l},g=function(){return{__PHP_Incomplete_Class_Name:u(),serialized:u("}")}},b=function(){var t=a(),e=r[t-1];return r[o++]=e,e},v=function(){var t=a();return r[t-1]},w=function(){var t=null;return r[o++]=t,t};return(e=function(){var t=p();switch(t){case"i":return c();case"d":return s();case"b":return l();case"s":return f();case"a":return h();case"O":return m();case"C":return g();case"r":return b();case"R":return v();case"N":return w();default:throw new Error("Unknown type '"+t+"' at position "+(n-2))}})()}})?n.apply(e,r):n)||(t.exports=o)}()},459:function(t,e,n){var r=n(967);function o(t,e,n,r,i){var a=new Error(n,r,i);return a.name="UseFetchError",a.status=t,a.statusText=e,Object.setPrototypeOf(a,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(a,o),a}o.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(o,Error),t.exports=function(t,e,n){var i=(n&&n.depends||e&&e.depends||[]).reduce((function(t,e){return t||!e}),!1);return r(!i&&function(t,e,n){return fetch(t,e).then(n&&n.formatter||e&&e.formatter||function(t){if(!t.ok)throw new o(t.status,t.statusText,"Fetch error");return t.json()})},t,e||{},n||{})}},967:function(t,e,n){var r=n(313),o=n(923);t.exports=function(t){var e=Array.prototype.slice.call(arguments,[1]),n=r.useState({isLoading:!!t});return r.useEffect((function(){t&&(!n[0].isLoading&&n[1]({data:n[0].data,isLoading:!0}),t.apply(null,e).then((function(t){n[1]({data:t,isLoading:!1})})).catch((function(t){n[1]({error:t,isLoading:!1})})))}),o(e)),n[0]}},923:function(t){t.exports=function t(){for(var e=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r instanceof Array)for(var o=0;o<r.length;o++)e=e.concat(t(r[o]));else if("undefined"!=typeof URL&&r instanceof URL)e=e.concat(r.toJSON());else if(r instanceof Object)for(var i=Object.keys(r),a=0;a<i.length;a++){var c=i[a];e=e.concat([c]).concat(t(r[c]))}else e=e.concat(r)}return e}},616:function(t,e,n){var r=n(496);t.exports=function(){var t=function(){t.id=r(),t.subscribers.forEach((function(t){t()}))};return t.id=r(),t.subscribers=[],t.subscribe=function(e){t.subscribers.push(e)},t.unsubscribe=function(e){t.subscribers.indexOf(e)>=0&&t.subscribers.splice(t.subscribers.indexOf(e),1)},t}},382:function(t,e,n){var r=n(313);t.exports=function(t){var e=r.useState(t.id),n=function(){return e[1](t.id)};return r.useEffect((function(){return t.subscribe(n),function(){return t.unsubscribe(n)}}),[]),e[0]}},313:function(t){"u