/*! For license information please see main-d2eb5610.25e566a53c4a057ffeb2.js.LICENSE.txt */ (self.webpackChunkstudio_client=self.webpackChunkstudio_client||[]).push([[733],{3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=t(e);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var i=0;i{"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},3162:function(t,e,r){var n,o,i;o=[],void 0===(i="function"==typeof(n=function(){"use strict";function e(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function n(t,e,r){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){c(n.response,e,r)},n.onerror=function(){console.error("could not download file")},n.send()}function o(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function i(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof r.g&&r.g.global===r.g?r.g:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(t,e,r){var s=a.URL||a.webkitURL,c=document.createElement("a");e=e||t.name||"download",c.download=e,c.rel="noopener","string"==typeof t?(c.href=t,c.origin===location.origin?i(c):o(c.href)?n(t,e,r):i(c,c.target="_blank")):(c.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(c.href)}),4e4),setTimeout((function(){i(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,r,a){if(r=r||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,a),r);else if(o(t))n(t,r,a);else{var s=document.createElement("a");s.href=t,s.target="_blank",setTimeout((function(){i(s)}))}}:function(t,e,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof t)return n(t,e,r);var i="application/octet-stream"===t.type,c=/constructor/i.test(a.HTMLElement)||a.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||i&&c||s)&&"undefined"!=typeof FileReader){var f=new FileReader;f.onloadend=function(){var t=f.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location=t,o=null},f.readAsDataURL(t)}else{var l=a.URL||a.webkitURL,p=l.createObjectURL(t);o?o.location=p:location.href=p,o=null,setTimeout((function(){l.revokeObjectURL(p)}),4e4)}});a.saveAs=c.saveAs=c,t.exports=c})?n.apply(e,o):n)||(t.exports=i)},6245:(t,e,r)=>{"use strict";function n(t){this.message=t}r.d(e,{Z:()=>s}),n.prototype=new Error,n.prototype.name="InvalidCharacterError";var o="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,i=0,a=0,s="";o=e.charAt(a++);~o&&(r=i%4?64*r+o:o,i++%4)?s+=String.fromCharCode(255&r>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return s};function i(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(o(t).replace(/(.)/g,(function(t,e){var r=e.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r})))}(e)}catch(t){return o(e)}}function a(t){this.message=t}a.prototype=new Error,a.prototype.name="InvalidTokenError";const s=function(t,e){if("string"!=typeof t)throw new a("Invalid token specified");var r=!0===(e=e||{}).header?0:1;try{return JSON.parse(i(t.split(".")[r]))}catch(t){throw new a("Invalid token specified: "+t.message)}}},4066:(t,e,r)=>{"use strict";r.d(e,{y:()=>y});var n=function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r$)/g,""):"[a-zA-Z0-9-_.~%':|=+\\*@$]+")+")"},l=[{name:"url-parameter",pattern:/^:([a-zA-Z0-9-_]*[a-zA-Z0-9]{1})(<(.+?)>)?/,regex:function(t){return new RegExp(f(t[2]))}},{name:"url-parameter-splat",pattern:/^\*([a-zA-Z0-9-_]*[a-zA-Z0-9]{1})/,regex:/([^?]*)/},{name:"url-parameter-matrix",pattern:/^;([a-zA-Z0-9-_]*[a-zA-Z0-9]{1})(<(.+?)>)?/,regex:function(t){return new RegExp(";"+t[1]+"="+f(t[2]))}},{name:"query-parameter",pattern:/^(?:\?|&)(?::)?([a-zA-Z0-9-_]*[a-zA-Z0-9]{1})/},{name:"delimiter",pattern:/^(\/|\?)/,regex:function(t){return new RegExp("\\"+t[0])}},{name:"sub-delimiter",pattern:/^(!|&|-|_|\.|;)/,regex:function(t){return new RegExp(t[0])}},{name:"fragment",pattern:/^([0-9a-zA-Z]+)/,regex:function(t){return new RegExp(t[0])}}],p=function t(e,r){if(void 0===r&&(r=[]),!l.some((function(n){var o=e.match(n.pattern);return!!o&&(r.push({type:n.name,match:o[0],val:o.slice(1,2),otherVal:o.slice(2),regex:n.regex instanceof Function?n.regex(o):n.regex}),o[0].length0,this.hasSpatParam=this.tokens.filter((function(t){return/splat$/.test(t.type)})).length>0,this.hasMatrixParams=this.tokens.filter((function(t){return/matrix$/.test(t.type)})).length>0,this.hasQueryParams=this.tokens.filter((function(t){return/^query-parameter/.test(t.type)})).length>0,this.spatParams=this.getParams("url-parameter-splat"),this.urlParams=this.getParams(/^url-parameter/),this.queryParams=this.getParams("query-parameter"),this.params=this.urlParams.concat(this.queryParams),this.source=this.tokens.filter((function(t){return void 0!==t.regex})).map((function(t){return t.regex.source})).join("")}return t.createPath=function(e,r){return new t(e,r)},t.prototype.isQueryParam=function(t){return-1!==this.queryParams.indexOf(t)},t.prototype.isSpatParam=function(t){return-1!==this.spatParams.indexOf(t)},t.prototype.test=function(t,e){var r=this,i=n(n({caseSensitive:!1,strictTrailingSlash:!1},this.options),e),a=function(t,e){return e||"\\/"===t?t:t.replace(/\\\/$/,"")+"(?:\\/)?"}(this.source,i.strictTrailingSlash),s=this.urlTest(t,a+(this.hasQueryParams?"(\\?.*$|$)":"$"),i.caseSensitive,i.urlParamsEncoding);if(!s||!this.hasQueryParams)return s;var c=(0,o.Qc)(t,i.queryParams);return 0===Object.keys(c).filter((function(t){return!r.isQueryParam(t)})).length?(Object.keys(c).forEach((function(t){return s[t]=c[t]})),s):null},t.prototype.partialTest=function(t,e){var r=this,i=n(n({caseSensitive:!1,delimited:!0},this.options),e),a=function(t,e){return e?/(\/)$/.test(t)?t:t+"(\\/|\\?|\\.|;|$)":t}(this.source,i.delimited),s=this.urlTest(t,a,i.caseSensitive,i.urlParamsEncoding);if(!s)return s;if(!this.hasQueryParams)return s;var c=(0,o.Qc)(t,i.queryParams);return Object.keys(c).filter((function(t){return r.isQueryParam(t)})).forEach((function(t){return function(t,e,r){void 0===r&&(r="");var n=t[e];return t[e]=void 0===n?r:Array.isArray(n)?n.concat(r):[n,r],t}(s,t,c[t])})),s},t.prototype.build=function(t,e){var r=this;void 0===t&&(t={});var i=n(n({ignoreConstraints:!1,ignoreSearch:!1,queryParams:{}},this.options),e),a=Object.keys(t).filter((function(t){return!r.isQueryParam(t)})).reduce((function(e,n){if(!h(t[n]))return e;var o=t[n],a=r.isSpatParam(n);return"boolean"==typeof o?e[n]=o:Array.isArray(o)?e[n]=o.map((function(t){return u(t,i.urlParamsEncoding,a)})):e[n]=u(o,i.urlParamsEncoding,a),e}),{});if(this.urlParams.some((function(e){return!h(t[e])}))){var s=this.urlParams.filter((function(e){return!h(t[e])}));throw new Error("Cannot build path: '"+this.path+"' requires missing parameters { "+s.join(", ")+" }")}if(!i.ignoreConstraints&&!this.tokens.filter((function(t){return/^url-parameter/.test(t.type)&&!/-splat$/.test(t.type)})).every((function(t){return new RegExp("^"+f(t.otherVal[0])+"$").test(a[t.val])})))throw new Error("Some parameters of '"+this.path+"' are of invalid format");var c=this.tokens.filter((function(t){return!1===/^query-parameter/.test(t.type)})).map((function(t){return"url-parameter-matrix"===t.type?";"+t.val+"="+a[t.val[0]]:/^url-parameter/.test(t.type)?a[t.val[0]]:t.match})).join("");if(i.ignoreSearch)return c;var l=this.queryParams.filter((function(e){return-1!==Object.keys(t).indexOf(e)})).reduce((function(e,r){return e[r]=t[r],e}),{}),p=(0,o.J_)(l,i.queryParams);return p?c+"?"+p:c},t.prototype.getParams=function(t){var e=t instanceof RegExp?function(e){return t.test(e.type)}:function(e){return e.type===t};return this.tokens.filter(e).map((function(t){return t.val[0]}))},t.prototype.urlTest=function(t,e,r,n){var o=this,i=new RegExp("^"+e,r?"":"i"),a=t.match(i);return a?this.urlParams.length?a.slice(1,this.urlParams.length+1).reduce((function(t,e,r){return t[o.urlParams[r]]=(c[n]||decodeURIComponent)(e),t}),{}):{}:null},t}()},3689:(t,e,r)=>{"use strict";r.d(e,{xX:()=>h});const n=2147483647,o=36,i=/^xn--/,a=/[\x2E\u3002\uFF0E\uFF61]/g,s={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor;String.fromCharCode;function u(t){throw new RangeError(s[t])}function f(t,e){const r=t.split("@");let n="";r.length>1&&(n=r[0]+"@",t=r[1]);const o=function(t,e){const r=[];let n=t.length;for(;n--;)r[n]=e(t[n]);return r}((t=t.replace(a,".")).split("."),e).join(".");return n+o}const l=function(t,e,r){let n=0;for(t=r?c(t/700):t>>1,t+=c(t/e);t>455;n+=o)t=c(t/35);return c(n+36*t/(t+38))},p=function(t){const e=[],r=t.length;let i=0,a=128,s=72,f=t.lastIndexOf("-");f<0&&(f=0);for(let r=0;r=128&&u("not-basic"),e.push(t.charCodeAt(r));for(let h=f>0?f+1:0;h=r&&u("invalid-input");const f=(p=t.charCodeAt(h++))>=48&&p<58?p-48+26:p>=65&&p<91?p-65:p>=97&&p<123?p-97:o;f>=o&&u("invalid-input"),f>c((n-i)/e)&&u("overflow"),i+=f*e;const l=a<=s?1:a>=s+26?26:a-s;if(fc(n/d)&&u("overflow"),e*=d}const d=e.length+1;s=l(i-f,d,0==f),c(i/d)>n-a&&u("overflow"),a+=c(i/d),i%=d,e.splice(i++,0,a)}var p;return String.fromCodePoint(...e)},h=function(t){return f(t,(function(t){return i.test(t)?p(t.slice(4).toLowerCase()):t}))}},3967:(t,e)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t="",e=0;e{"use strict";r.d(e,{Uy:()=>K,Vk:()=>Z,mv:()=>c,o$:()=>u});var n=Symbol.for("immer-nothing"),o=Symbol.for("immer-draftable"),i=Symbol.for("immer-state");function a(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var s=Object.getPrototypeOf;function c(t){return!!t&&!!t[i]}function u(t){return!!t&&(l(t)||Array.isArray(t)||!!t[o]||!!t.constructor?.[o]||m(t)||g(t))}var f=Object.prototype.constructor.toString();function l(t){if(!t||"object"!=typeof t)return!1;const e=s(t);if(null===e)return!0;const r=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===f}function p(t,e){0===h(t)?Reflect.ownKeys(t).forEach((r=>{e(r,t[r],t)})):t.forEach(((r,n)=>e(n,r,t)))}function h(t){const e=t[i];return e?e.type_:Array.isArray(t)?1:m(t)?2:g(t)?3:0}function d(t,e){return 2===h(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function y(t,e,r){const n=h(t);2===n?t.set(e,r):3===n?t.add(r):t[e]=r}function m(t){return t instanceof Map}function g(t){return t instanceof Set}function v(t){return t.copy_||t.base_}function _(t,e){if(m(t))return new Map(t);if(g(t))return new Set(t);if(Array.isArray(t))return Array.prototype.slice.call(t);if(!e&&l(t)){if(!s(t)){const e=Object.create(null);return Object.assign(e,t)}return{...t}}const r=Object.getOwnPropertyDescriptors(t);delete r[i];let n=Reflect.ownKeys(r);for(let e=0;e1&&(t.set=t.add=t.clear=t.delete=w),Object.freeze(t),e&&Object.entries(t).forEach((([t,e])=>b(e,!0)))),t}function w(){a(2)}function P(t){return Object.isFrozen(t)}var S,x={};function O(t){const e=x[t];return e||a(0),e}function A(){return S}function E(t,e){e&&(O("Patches"),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function j(t){k(t),t.drafts_.forEach(C),t.drafts_=null}function k(t){t===S&&(S=t.parent_)}function R(t){return S={drafts_:[],parent_:S,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function C(t){const e=t[i];0===e.type_||1===e.type_?e.revoke_():e.revoked_=!0}function z(t,e){e.unfinalizedDrafts_=e.drafts_.length;const r=e.drafts_[0];return void 0!==t&&t!==r?(r[i].modified_&&(j(e),a(4)),u(t)&&(t=U(e,t),e.parent_||I(e,t)),e.patches_&&O("Patches").generateReplacementPatches_(r[i].base_,t,e.patches_,e.inversePatches_)):t=U(e,r,[]),j(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==n?t:void 0}function U(t,e,r){if(P(e))return e;const n=e[i];if(!n)return p(e,((o,i)=>F(t,n,e,o,i,r))),e;if(n.scope_!==t)return e;if(!n.modified_)return I(t,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const e=n.copy_;let o=e,i=!1;3===n.type_&&(o=new Set(e),e.clear(),i=!0),p(o,((o,a)=>F(t,n,e,o,a,r,i))),I(t,e,!1),r&&t.patches_&&O("Patches").generatePatches_(n,r,t.patches_,t.inversePatches_)}return n.copy_}function F(t,e,r,n,o,i,a){if(c(o)){const a=U(t,o,i&&e&&3!==e.type_&&!d(e.assigned_,n)?i.concat(n):void 0);if(y(r,n,a),!c(a))return;t.canAutoFreeze_=!1}else a&&r.add(o);if(u(o)&&!P(o)){if(!t.immer_.autoFreeze_&&t.unfinalizedDrafts_<1)return;U(t,o),e&&e.scope_.parent_||"symbol"==typeof n||!Object.prototype.propertyIsEnumerable.call(r,n)||I(t,o)}}function I(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&b(e,r)}var M={get(t,e){if(e===i)return t;const r=v(t);if(!d(r,e))return function(t,e,r){const n=$(e,r);return n?"value"in n?n.value:n.get?.call(t.draft_):void 0}(t,r,e);const n=r[e];return t.finalized_||!u(n)?n:n===L(t.base_,e)?(D(t),t.copy_[e]=Q(n,t)):n},has:(t,e)=>e in v(t),ownKeys:t=>Reflect.ownKeys(v(t)),set(t,e,r){const n=$(v(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){const n=L(v(t),e),s=n?.[i];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_[e]=!1,!0;if(((o=r)===(a=n)?0!==o||1/o==1/a:o!=o&&a!=a)&&(void 0!==r||d(t.base_,e)))return!0;D(t),q(t)}var o,a;return t.copy_[e]===r&&(void 0!==r||e in t.copy_)||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_[e]=!0),!0},deleteProperty:(t,e)=>(void 0!==L(t.base_,e)||e in t.base_?(t.assigned_[e]=!1,D(t),q(t)):delete t.assigned_[e],t.copy_&&delete t.copy_[e],!0),getOwnPropertyDescriptor(t,e){const r=v(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n?{writable:!0,configurable:1!==t.type_||"length"!==e,enumerable:n.enumerable,value:r[e]}:n},defineProperty(){a(11)},getPrototypeOf:t=>s(t.base_),setPrototypeOf(){a(12)}},T={};function L(t,e){const r=t[i];return(r?v(r):t)[e]}function $(t,e){if(!(e in t))return;let r=s(t);for(;r;){const t=Object.getOwnPropertyDescriptor(r,e);if(t)return t;r=s(r)}}function q(t){t.modified_||(t.modified_=!0,t.parent_&&q(t.parent_))}function D(t){t.copy_||(t.copy_=_(t.base_,t.scope_.immer_.useStrictShallowCopy_))}p(M,((t,e)=>{T[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),T.deleteProperty=function(t,e){return T.set.call(this,t,e,void 0)},T.set=function(t,e,r){return M.set.call(this,t[0],e,r,t[0])};function Q(t,e){const r=m(t)?O("MapSet").proxyMap_(t,e):g(t)?O("MapSet").proxySet_(t,e):function(t,e){const r=Array.isArray(t),n={type_:r?1:0,scope_:e?e.scope_:A(),modified_:!1,finalized_:!1,assigned_:{},parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,i=M;r&&(o=[n],i=T);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return n.draft_=s,n.revoke_=a,s}(t,e);return(e?e.scope_:A()).drafts_.push(r),r}function Z(t){return c(t)||a(10),N(t)}function N(t){if(!u(t)||P(t))return t;const e=t[i];let r;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=_(t,e.scope_.immer_.useStrictShallowCopy_)}else r=_(t,!0);return p(r,((t,e)=>{y(r,t,N(e))})),e&&(e.finalized_=!1),r}var B=new class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,e,r)=>{if("function"==typeof t&&"function"!=typeof e){const r=e;e=t;const n=this;return function(t=r,...o){return n.produce(t,(t=>e.call(this,t,...o)))}}let o;if("function"!=typeof e&&a(6),void 0!==r&&"function"!=typeof r&&a(7),u(t)){const n=R(this),i=Q(t,void 0);let a=!0;try{o=e(i),a=!1}finally{a?j(n):k(n)}return E(n,r),z(o,n)}if(!t||"object"!=typeof t){if(o=e(t),void 0===o&&(o=t),o===n&&(o=void 0),this.autoFreeze_&&b(o,!0),r){const e=[],n=[];O("Patches").generateReplacementPatches_(t,o,e,n),r(e,n)}return o}a(1)},this.produceWithPatches=(t,e)=>{if("function"==typeof t)return(e,...r)=>this.produceWithPatches(e,(e=>t(e,...r)));let r,n;return[this.produce(t,e,((t,e)=>{r=t,n=e})),r,n]},"boolean"==typeof t?.autoFreeze&&this.setAutoFreeze(t.autoFreeze),"boolean"==typeof t?.useStrictShallowCopy&&this.setUseStrictShallowCopy(t.useStrictShallowCopy)}createDraft(t){u(t)||a(8),c(t)&&(t=Z(t));const e=R(this),r=Q(t,void 0);return r[i].isManual_=!0,k(e),r}finishDraft(t,e){const r=t&&t[i];r&&r.isManual_||a(9);const{scope_:n}=r;return E(n,e),z(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}applyPatches(t,e){let r;for(r=e.length-1;r>=0;r--){const n=e[r];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}r>-1&&(e=e.slice(r+1));const n=O("Patches").applyPatches_;return c(t)?n(t,e):this.produce(t,(t=>n(t,e)))}},K=B.produce;B.produceWithPatches.bind(B),B.setAutoFreeze.bind(B),B.setUseStrictShallowCopy.bind(B),B.applyPatches.bind(B),B.createDraft.bind(B),B.finishDraft.bind(B)}}]);