"use strict";(self.webpackChunkstudio_client=self.webpackChunkstudio_client||[]).push([[7796],{8471(t,n,r){function i(t){this.message=t}r.d(n,{A:()=>s}),i.prototype=new Error,i.prototype.name="InvalidCharacterError";var e="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var n=String(t).replace(/=+$/,"");if(n.length%4==1)throw new i("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,e,o=0,a=0,s="";e=n.charAt(a++);~e&&(r=o%4?64*r+e:e,o++%4)?s+=String.fromCharCode(255&r>>(-2*o&6)):0)e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(e);return s};function o(t){var n=t.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(e(t).replace(/(.)/g,function(t,n){var r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}(n)}catch(t){return e(n)}}function a(t){this.message=t}a.prototype=new Error,a.prototype.name="InvalidTokenError";const s=function(t,n){if("string"!=typeof t)throw new a("Invalid token specified");var r=!0===(n=n||{}).header?0:1;try{return JSON.parse(o(t.split(".")[r]))}catch(t){throw new a("Invalid token specified: "+t.message)}}},3758(t,n,r){var i={};(0,r(7831).assign)(i,r(305),r(5017),r(9687)),t.exports=i},305(t,n,r){var i=r(7789),e=r(7831),o=r(38),a=r(9316),s=r(7196),u=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=e.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=i.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(0!==r)throw new Error(a[r]);if(n.header&&i.deflateSetHeader(this.strm,n.header),n.dictionary){var f;if(f="string"==typeof n.dictionary?o.string2buf(n.dictionary):"[object ArrayBuffer]"===u.call(n.dictionary)?new Uint8Array(n.dictionary):n.dictionary,0!==(r=i.deflateSetDictionary(this.strm,f)))throw new Error(a[r]);this._dict_set=!0}}function f(t,n){var r=new h(n);if(r.push(t,!0),r.err)throw r.msg||a[r.err];return r.result}h.prototype.push=function(t,n){var r,a,s=this.strm,h=this.options.chunkSize;if(this.ended)return!1;a=n===~~n?n:!0===n?4:0,"string"==typeof t?s.input=o.string2buf(t):"[object ArrayBuffer]"===u.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new e.Buf8(h),s.next_out=0,s.avail_out=h),1!==(r=i.deflate(s,a))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(e.shrinkBuf(s.output,s.next_out))):this.onData(e.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==r);return 4===a?(r=i.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==a||(this.onEnd(0),s.avail_out=0,!0)},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=e.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Deflate=h,n.deflate=f,n.deflateRaw=function(t,n){return(n=n||{}).raw=!0,f(t,n)},n.gzip=function(t,n){return(n=n||{}).gzip=!0,f(t,n)}},5017(t,n,r){var i=r(269),e=r(7831),o=r(38),a=r(9687),s=r(9316),u=r(7196),h=r(7748),f=Object.prototype.toString;function d(t){if(!(this instanceof d))return new d(t);this.options=e.assign({chunkSize:16384,windowBits:0,to:""},t||{});var n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,0===n.windowBits&&(n.windowBits=-15)),!(n.windowBits>=0&&n.windowBits<16)||t&&t.windowBits||(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(15&n.windowBits||(n.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=i.inflateInit2(this.strm,n.windowBits);if(r!==a.Z_OK)throw new Error(s[r]);if(this.header=new h,i.inflateGetHeader(this.strm,this.header),n.dictionary&&("string"==typeof n.dictionary?n.dictionary=o.string2buf(n.dictionary):"[object ArrayBuffer]"===f.call(n.dictionary)&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(r=i.inflateSetDictionary(this.strm,n.dictionary))!==a.Z_OK))throw new Error(s[r])}function c(t,n){var r=new d(n);if(r.push(t,!0),r.err)throw r.msg||s[r.err];return r.result}d.prototype.push=function(t,n){var r,s,u,h,d,c=this.strm,l=this.options.chunkSize,w=this.options.dictionary,p=!1;if(this.ended)return!1;s=n===~~n?n:!0===n?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?c.input=o.binstring2buf(t):"[object ArrayBuffer]"===f.call(t)?c.input=new Uint8Array(t):c.input=t,c.next_in=0,c.avail_in=c.input.length;do{if(0===c.avail_out&&(c.output=new e.Buf8(l),c.next_out=0,c.avail_out=l),(r=i.inflate(c,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&w&&(r=i.inflateSetDictionary(this.strm,w)),r===a.Z_BUF_ERROR&&!0===p&&(r=a.Z_OK,p=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),this.ended=!0,!1;c.next_out&&(0!==c.avail_out&&r!==a.Z_STREAM_END&&(0!==c.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(u=o.utf8border(c.output,c.next_out),h=c.next_out-u,d=o.buf2string(c.output,u),c.next_out=h,c.avail_out=l-h,h&&e.arraySet(c.output,c.output,u,h,0),this.onData(d)):this.onData(e.shrinkBuf(c.output,c.next_out)))),0===c.avail_in&&0===c.avail_out&&(p=!0)}while((c.avail_in>0||0===c.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(r=i.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),c.avail_out=0,!0)},d.prototype.onData=function(t){this.chunks.push(t)},d.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=e.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Inflate=d,n.inflate=c,n.inflateRaw=function(t,n){return(n=n||{}).raw=!0,c(t,n)},n.ungzip=c},7831(t,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(t,n){return Object.prototype.hasOwnProperty.call(t,n)}n.assign=function(t){for(var n=Array.prototype.slice.call(arguments,1);n.length;){var r=n.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var e in r)i(r,e)&&(t[e]=r[e])}}return t},n.shrinkBuf=function(t,n){return t.length===n?t:t.subarray?t.subarray(0,n):(t.length=n,t)};var e={arraySet:function(t,n,r,i,e){if(n.subarray&&t.subarray)t.set(n.subarray(r,r+i),e);else for(var o=0;o=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function u(t,n){if(n<65534&&(t.subarray&&o||!t.subarray&&e))return String.fromCharCode.apply(null,i.shrinkBuf(t,n));for(var r="",a=0;a>>6,n[a++]=128|63&r):r<65536?(n[a++]=224|r>>>12,n[a++]=128|r>>>6&63,n[a++]=128|63&r):(n[a++]=240|r>>>18,n[a++]=128|r>>>12&63,n[a++]=128|r>>>6&63,n[a++]=128|63&r);return n},n.buf2binstring=function(t){return u(t,t.length)},n.binstring2buf=function(t){for(var n=new i.Buf8(t.length),r=0,e=n.length;r4)h[i++]=65533,r+=o-1;else{for(e&=2===o?31:3===o?15:7;o>1&&r1?h[i++]=65533:e<65536?h[i++]=e:(e-=65536,h[i++]=55296|e>>10&1023,h[i++]=56320|1023&e)}return u(h,i)},n.utf8border=function(t,n){var r;for((n=n||t.length)>t.length&&(n=t.length),r=n-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?n:r+a[t[r]]>n?r:n}}}]);