"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5546],{42583:(t,e,r)=>{r.d(e,{o4:()=>P});const o="3.7.7",n=o,a="function"==typeof Buffer,c="function"==typeof TextDecoder?new TextDecoder:void 0,i="function"==typeof TextEncoder?new TextEncoder:void 0,f=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),u=(t=>{let e={};return t.forEach(((t,r)=>e[t]=r)),e})(f),s=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,l=String.fromCharCode.bind(String),d="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):t=>new Uint8Array(Array.prototype.slice.call(t,0)),h=t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_")),A=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),p=t=>{let e,r,o,n,a="";const c=t.length%3;for(let c=0;c255||(o=t.charCodeAt(c++))>255||(n=t.charCodeAt(c++))>255)throw new TypeError("invalid character found");e=r<<16|o<<8|n,a+=f[e>>18&63]+f[e>>12&63]+f[e>>6&63]+f[63&e]}return c?a.slice(0,c-3)+"===".substring(c):a},y="function"==typeof btoa?t=>btoa(t):a?t=>Buffer.from(t,"binary").toString("base64"):p,b=a?t=>Buffer.from(t).toString("base64"):t=>{let e=[];for(let r=0,o=t.length;re?h(b(t)):b(t),B=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?l(192|e>>>6)+l(128|63&e):l(224|e>>>12&15)+l(128|e>>>6&63)+l(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return l(240|e>>>18&7)+l(128|e>>>12&63)+l(128|e>>>6&63)+l(128|63&e)},C=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,x=t=>t.replace(C,B),U=a?t=>Buffer.from(t,"utf8").toString("base64"):i?t=>b(i.encode(t)):t=>y(x(t)),m=(t,e=!1)=>e?h(U(t)):U(t),F=t=>m(t,!0),_=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,D=t=>{switch(t.length){case 4:var e=((7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3))-65536;return l(55296+(e>>>10))+l(56320+(1023&e));case 3:return l((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return l((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},E=t=>t.replace(_,D),S=t=>{if(t=t.replace(/\s+/g,""),!s.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let e,r,o,n="";for(let a=0;a>16&255):64===o?l(e>>16&255,e>>8&255):l(e>>16&255,e>>8&255,255&e);return n},w="function"==typeof atob?t=>atob(A(t)):a?t=>Buffer.from(t,"base64").toString("binary"):S,L=a?t=>d(Buffer.from(t,"base64")):t=>d(w(t).split("").map((t=>t.charCodeAt(0)))),v=t=>L(R(t)),O=a?t=>Buffer.from(t,"base64").toString("utf8"):c?t=>c.decode(L(t)):t=>E(w(t)),R=t=>A(t.replace(/[-_]/g,(t=>"-"==t?"+":"/"))),z=t=>O(R(t)),T=t=>({value:t,enumerable:!1,writable:!0,configurable:!0}),Z=function(){const t=(t,e)=>Object.defineProperty(String.prototype,t,T(e));t("fromBase64",(function(){return z(this)})),t("toBase64",(function(t){return m(this,t)})),t("toBase64URI",(function(){return m(this,!0)})),t("toBase64URL",(function(){return m(this,!0)})),t("toUint8Array",(function(){return v(this)}))},I=function(){const t=(t,e)=>Object.defineProperty(Uint8Array.prototype,t,T(e));t("toBase64",(function(t){return g(this,t)})),t("toBase64URI",(function(){return g(this,!0)})),t("toBase64URL",(function(){return g(this,!0)}))},P={version:o,VERSION:n,atob:w,atobPolyfill:S,btoa:y,btoaPolyfill:p,fromBase64:z,toBase64:m,encode:m,encodeURI:F,encodeURL:F,utob:x,btou:E,decode:z,isValid:t=>{if("string"!=typeof t)return!1;const e=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},fromUint8Array:g,toUint8Array:v,extendString:Z,extendUint8Array:I,extendBuiltins:()=>{Z(),I()}}}}]);