<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3579],{45135:function(e,t){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var n={},r=(t||{}).decode||i,o=0;o&lt;e.length;){var a=e.indexOf("=",o);if(-1===a)break;var s=e.indexOf(";",o);if(-1===s)s=e.length;else if(s&lt;a){o=e.lastIndexOf(";",a-1)+1;continue}var u=e.slice(o,a).trim();if(void 0===n[u]){var l=e.slice(a+1,s).trim();34===l.charCodeAt(0)&amp;&amp;(l=l.slice(1,-1)),n[u]=function(e,t){try{return t(e)}catch(t){return e}}(l,r)}o=s+1}return n},t.serialize=function(e,t,i){var a=i||{},s=a.encode||o;if("function"!=typeof s)throw TypeError("option encode is invalid");if(!r.test(e))throw TypeError("argument name is invalid");var u=s(t);if(u&amp;&amp;!r.test(u))throw TypeError("argument val is invalid");var l=e+"="+u;if(null!=a.maxAge){var c=a.maxAge-0;if(isNaN(c)||!isFinite(c))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(c)}if(a.domain){if(!r.test(a.domain))throw TypeError("option domain is invalid");l+="; Domain="+a.domain}if(a.path){if(!r.test(a.path))throw TypeError("option path is invalid");l+="; Path="+a.path}if(a.expires){var d=a.expires;if("[object Date]"!==n.call(d)&amp;&amp;!(d instanceof Date)||isNaN(d.valueOf()))throw TypeError("option expires is invalid");l+="; Expires="+d.toUTCString()}if(a.httpOnly&amp;&amp;(l+="; HttpOnly"),a.secure&amp;&amp;(l+="; Secure"),a.partitioned&amp;&amp;(l+="; Partitioned"),a.priority)switch("string"==typeof a.priority?a.priority.toLowerCase():a.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var n=Object.prototype.toString,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}function o(e){return encodeURIComponent(e)}},35705:function(e,t,n){"use strict";var r=this&amp;&amp;this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n&lt;r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i]);return e}).apply(this,arguments)},i=this&amp;&amp;this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&amp;&amp;0&gt;t.indexOf(r)&amp;&amp;(n[r]=e[r]);if(null!=e&amp;&amp;"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i&lt;r.length;i++)0&gt;t.indexOf(r[i])&amp;&amp;Object.prototype.propertyIsEnumerable.call(e,r[i])&amp;&amp;(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0}),t.hasCookie=t.deleteCookie=t.setCookie=t.getCookie=t.getCookies=void 0;var o=n(45135),a=function(){return"undefined"!=typeof window},s=function(e){return!!e&amp;&amp;"getAll"in e&amp;&amp;"set"in e&amp;&amp;"function"==typeof e.getAll&amp;&amp;"function"==typeof e.set},u=function(e){return!!(null==e?void 0:e.req)&amp;&amp;"cookies"in e.req&amp;&amp;s(null==e?void 0:e.req.cookies)||!!(null==e?void 0:e.res)&amp;&amp;"cookies"in e.res&amp;&amp;s(null==e?void 0:e.res.cookies)||!!(null==e?void 0:e.cookies)&amp;&amp;s(e.cookies())},l=function(e){var t={};return e.getAll().forEach(function(e){var n=e.name,r=e.value;t[n]=r}),t},c=function(e){try{if("string"==typeof e)return e;return JSON.stringify(e)}catch(t){return e}};t.getCookies=function(e){if(u(e)){if(null==e?void 0:e.req)return l(e.req.cookies);if(null==e?void 0:e.cookies)return l(e.cookies())}if(e&amp;&amp;(t=e.req),!a())return t&amp;&amp;t.cookies?t.cookies:t&amp;&amp;t.headers.cookie?(0,o.parse)(t.headers.cookie):{};for(var t,n={},r=document.cookie?document.cookie.split("; "):[],i=0,s=r.length;i&lt;s;i++){var c=r[i].split("="),d=c.slice(1).join("=");n[c[0]]=d}return n},t.getCookie=function(e,n){var r=(0,t.getCookies)(n)[e];if(void 0!==r)return r?r.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent):r},t.setCookie=function(e,t,n){if(u(n)){var s,l,d,f=n.req,h=n.res,p=n.cookies,g=i(n,["req","res","cookies"]),v=r({name:e,value:c(t)},g);f&amp;&amp;f.cookies.set(v),h&amp;&amp;h.cookies.set(v),p&amp;&amp;p().set(v);return}if(n){var f=n.req,h=n.res,y=i(n,["req","res"]);l=f,d=h,s=y}var m=(0,o.serialize)(e,c(t),r({path:"/"},s));if(a())document.cookie=m;else if(d&amp;&amp;l){var E=d.getHeader("Set-Cookie");if(Array.isArray(E)||(E=E?[String(E)]:[]),d.setHeader("Set-Cookie",E.concat(m)),l&amp;&amp;l.cookies){var _=l.cookies;""===t?delete _[e]:_[e]=c(t)}if(l&amp;&amp;l.headers&amp;&amp;l.headers.cookie){var _=(0,o.parse)(l.headers.cookie);""===t?delete _[e]:_[e]=c(t),l.headers.cookie=Object.entries(_).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},t.deleteCookie=function(e,n){return(0,t.setCookie)(e,"",r(r({},n),{maxAge:-1}))},t.hasCookie=function(e,n){return!!e&amp;&amp;(0,t.getCookies)(n).hasOwnProperty(e)}},8008:function(e,t,n){var r,i=n(74859);!function(){"use strict";var t="input is invalid type",o="object"==typeof window,a=o?window:{};a.JS_SHA256_NO_WINDOW&amp;&amp;(o=!1);var s=!o&amp;&amp;"object"==typeof self,u=!a.JS_SHA256_NO_NODE_JS&amp;&amp;"object"==typeof i&amp;&amp;i.versions&amp;&amp;i.versions.node;u?a=n.g:s&amp;&amp;(a=self);var l=!a.JS_SHA256_NO_COMMON_JS&amp;&amp;e.exports,c=n.amdO,d=!a.JS_SHA256_NO_ARRAY_BUFFER&amp;&amp;"undefined"!=typeof ArrayBuffer,f="0123456789abcdef".split(""),h=[-2147483648,8388608,32768,128],p=[24,16,8,0],g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],v=["hex","array","digest","arrayBuffer"],y=[];(a.JS_SHA256_NO_NODE_JS||!Array.isArray)&amp;&amp;(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),d&amp;&amp;(a.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&amp;&amp;(ArrayBuffer.isView=function(e){return"object"==typeof e&amp;&amp;e.buffer&amp;&amp;e.buffer.constructor===ArrayBuffer});var m=function(e,t){return function(n){return new I(t,!0).update(n)[e]()}},E=function(e){var t=m("hex",e);u&amp;&amp;(t=_(t,e)),t.create=function(){return new I(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n&lt;v.length;++n){var r=v[n];t[r]=m(r,e)}return t},_=function(e,r){var i,o=n(60449),s=n(31783).Buffer,u=r?"sha224":"sha256";return i=s.from&amp;&amp;!a.JS_SHA256_NO_BUFFER_FROM?s.from:function(e){return new s(e)},function(n){if("string"==typeof n)return o.createHash(u).update(n,"utf8").digest("hex");if(null==n)throw Error(t);return n.constructor===ArrayBuffer&amp;&amp;(n=new Uint8Array(n)),Array.isArray(n)||ArrayBuffer.isView(n)||n.constructor===s?o.createHash(u).update(i(n)).digest("hex"):e(n)}},b=function(e,t){return function(n,r){return new C(n,t,!0).update(r)[e]()}},S=function(e){var t=b("hex",e);t.create=function(t){return new C(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n&lt;v.length;++n){var r=v[n];t[r]=b(r,e)}return t};function I(e,t){t?(y[0]=y[16]=y[1]=y[2]=y[3]=y[4]=y[5]=y[6]=y[7]=y[8]=y[9]=y[10]=y[11]=y[12]=y[13]=y[14]=y[15]=0,this.blocks=y):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function C(e,n,r){var i,o=typeof e;if("string"===o){var a,s=[],u=e.length,l=0;for(i=0;i&lt;u;++i)(a=e.charCodeAt(i))&lt;128?s[l++]=a:(a&lt;2048?s[l++]=192|a&gt;&gt;&gt;6:(a&lt;55296||a&gt;=57344?s[l++]=224|a&gt;&gt;&gt;12:(a=65536+((1023&amp;a)&lt;&lt;10|1023&amp;e.charCodeAt(++i)),s[l++]=240|a&gt;&gt;&gt;18,s[l++]=128|a&gt;&gt;&gt;12&amp;63),s[l++]=128|a&gt;&gt;&gt;6&amp;63),s[l++]=128|63&amp;a);e=s}else if("object"===o){if(null===e)throw Error(t);if(d&amp;&amp;e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&amp;&amp;(!d||!ArrayBuffer.isView(e)))throw Error(t)}else throw Error(t);e.length&gt;64&amp;&amp;(e=new I(n,!0).update(e).array());var c=[],f=[];for(i=0;i&lt;64;++i){var h=e[i]||0;c[i]=92^h,f[i]=54^h}I.call(this,n,r),this.update(f),this.oKeyPad=c,this.inner=!0,this.sharedMemory=r}I.prototype.update=function(e){if(!this.finalized){var n,r=typeof e;if("string"!==r){if("object"===r){if(null===e)throw Error(t);if(d&amp;&amp;e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&amp;&amp;(!d||!ArrayBuffer.isView(e)))throw Error(t)}else throw Error(t);n=!0}for(var i,o,a=0,s=e.length,u=this.blocks;a&lt;s;){if(this.hashed&amp;&amp;(this.hashed=!1,u[0]=this.block,this.block=u[16]=u[1]=u[2]=u[3]=u[4]=u[5]=u[6]=u[7]=u[8]=u[9]=u[10]=u[11]=u[12]=u[13]=u[14]=u[15]=0),n)for(o=this.start;a&lt;s&amp;&amp;o&lt;64;++a)u[o&gt;&gt;&gt;2]|=e[a]&lt;&lt;p[3&amp;o++];else for(o=this.start;a&lt;s&amp;&amp;o&lt;64;++a)(i=e.charCodeAt(a))&lt;128?u[o&gt;&gt;&gt;2]|=i&lt;&lt;p[3&amp;o++]:(i&lt;2048?u[o&gt;&gt;&gt;2]|=(192|i&gt;&gt;&gt;6)&lt;&lt;p[3&amp;o++]:(i&lt;55296||i&gt;=57344?u[o&gt;&gt;&gt;2]|=(224|i&gt;&gt;&gt;12)&lt;&lt;p[3&amp;o++]:(i=65536+((1023&amp;i)&lt;&lt;10|1023&amp;e.charCodeAt(++a)),u[o&gt;&gt;&gt;2]|=(240|i&gt;&gt;&gt;18)&lt;&lt;p[3&amp;o++],u[o&gt;&gt;&gt;2]|=(128|i&gt;&gt;&gt;12&amp;63)&lt;&lt;p[3&amp;o++]),u[o&gt;&gt;&gt;2]|=(128|i&gt;&gt;&gt;6&amp;63)&lt;&lt;p[3&amp;o++]),u[o&gt;&gt;&gt;2]|=(128|63&amp;i)&lt;&lt;p[3&amp;o++]);this.lastByteIndex=o,this.bytes+=o-this.start,o&gt;=64?(this.block=u[16],this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes&gt;4294967295&amp;&amp;(this.hBytes+=this.bytes/4294967296&lt;&lt;0,this.bytes=this.bytes%4294967296),this}},I.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t&gt;&gt;&gt;2]|=h[3&amp;t],this.block=e[16],t&gt;=56&amp;&amp;(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes&lt;&lt;3|this.bytes&gt;&gt;&gt;29,e[15]=this.bytes&lt;&lt;3,this.hash()}},I.prototype.hash=function(){var e,t,n,r,i,o,a,s,u,l,c=this.h0,d=this.h1,f=this.h2,h=this.h3,p=this.h4,v=this.h5,y=this.h6,m=this.h7,E=this.blocks;for(e=16;e&lt;64;++e)t=((i=E[e-15])&gt;&gt;&gt;7|i&lt;&lt;25)^(i&gt;&gt;&gt;18|i&lt;&lt;14)^i&gt;&gt;&gt;3,n=((i=E[e-2])&gt;&gt;&gt;17|i&lt;&lt;15)^(i&gt;&gt;&gt;19|i&lt;&lt;13)^i&gt;&gt;&gt;10,E[e]=E[e-16]+t+E[e-7]+n&lt;&lt;0;for(e=0,l=d&amp;f;e&lt;64;e+=4)this.first?(this.is224?(a=300032,m=(i=E[0]-1413257819)-150054599&lt;&lt;0,h=i+24177077&lt;&lt;0):(a=704751109,m=(i=E[0]-210244248)-1521486534&lt;&lt;0,h=i+143694565&lt;&lt;0),this.first=!1):(t=(c&gt;&gt;&gt;2|c&lt;&lt;30)^(c&gt;&gt;&gt;13|c&lt;&lt;19)^(c&gt;&gt;&gt;22|c&lt;&lt;10),n=(p&gt;&gt;&gt;6|p&lt;&lt;26)^(p&gt;&gt;&gt;11|p&lt;&lt;21)^(p&gt;&gt;&gt;25|p&lt;&lt;7),r=(a=c&amp;d)^c&amp;f^l,i=m+n+(p&amp;v^~p&amp;y)+g[e]+E[e],o=t+r,m=h+i&lt;&lt;0,h=i+o&lt;&lt;0),t=(h&gt;&gt;&gt;2|h&lt;&lt;30)^(h&gt;&gt;&gt;13|h&lt;&lt;19)^(h&gt;&gt;&gt;22|h&lt;&lt;10),n=(m&gt;&gt;&gt;6|m&lt;&lt;26)^(m&gt;&gt;&gt;11|m&lt;&lt;21)^(m&gt;&gt;&gt;25|m&lt;&lt;7),r=(s=h&amp;c)^h&amp;d^a,i=y+n+(m&amp;p^~m&amp;v)+g[e+1]+E[e+1],o=t+r,y=f+i&lt;&lt;0,t=((f=i+o&lt;&lt;0)&gt;&gt;&gt;2|f&lt;&lt;30)^(f&gt;&gt;&gt;13|f&lt;&lt;19)^(f&gt;&gt;&gt;22|f&lt;&lt;10),n=(y&gt;&gt;&gt;6|y&lt;&lt;26)^(y&gt;&gt;&gt;11|y&lt;&lt;21)^(y&gt;&gt;&gt;25|y&lt;&lt;7),r=(u=f&amp;h)^f&amp;c^s,i=v+n+(y&amp;m^~y&amp;p)+g[e+2]+E[e+2],o=t+r,v=d+i&lt;&lt;0,t=((d=i+o&lt;&lt;0)&gt;&gt;&gt;2|d&lt;&lt;30)^(d&gt;&gt;&gt;13|d&lt;&lt;19)^(d&gt;&gt;&gt;22|d&lt;&lt;10),n=(v&gt;&gt;&gt;6|v&lt;&lt;26)^(v&gt;&gt;&gt;11|v&lt;&lt;21)^(v&gt;&gt;&gt;25|v&lt;&lt;7),r=(l=d&amp;f)^d&amp;h^u,i=p+n+(v&amp;y^~v&amp;m)+g[e+3]+E[e+3],o=t+r,p=c+i&lt;&lt;0,c=i+o&lt;&lt;0,this.chromeBugWorkAround=!0;this.h0=this.h0+c&lt;&lt;0,this.h1=this.h1+d&lt;&lt;0,this.h2=this.h2+f&lt;&lt;0,this.h3=this.h3+h&lt;&lt;0,this.h4=this.h4+p&lt;&lt;0,this.h5=this.h5+v&lt;&lt;0,this.h6=this.h6+y&lt;&lt;0,this.h7=this.h7+m&lt;&lt;0},I.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,o=this.h5,a=this.h6,s=this.h7,u=f[e&gt;&gt;&gt;28&amp;15]+f[e&gt;&gt;&gt;24&amp;15]+f[e&gt;&gt;&gt;20&amp;15]+f[e&gt;&gt;&gt;16&amp;15]+f[e&gt;&gt;&gt;12&amp;15]+f[e&gt;&gt;&gt;8&amp;15]+f[e&gt;&gt;&gt;4&amp;15]+f[15&amp;e]+f[t&gt;&gt;&gt;28&amp;15]+f[t&gt;&gt;&gt;24&amp;15]+f[t&gt;&gt;&gt;20&amp;15]+f[t&gt;&gt;&gt;16&amp;15]+f[t&gt;&gt;&gt;12&amp;15]+f[t&gt;&gt;&gt;8&amp;15]+f[t&gt;&gt;&gt;4&amp;15]+f[15&amp;t]+f[n&gt;&gt;&gt;28&amp;15]+f[n&gt;&gt;&gt;24&amp;15]+f[n&gt;&gt;&gt;20&amp;15]+f[n&gt;&gt;&gt;16&amp;15]+f[n&gt;&gt;&gt;12&amp;15]+f[n&gt;&gt;&gt;8&amp;15]+f[n&gt;&gt;&gt;4&amp;15]+f[15&amp;n]+f[r&gt;&gt;&gt;28&amp;15]+f[r&gt;&gt;&gt;24&amp;15]+f[r&gt;&gt;&gt;20&amp;15]+f[r&gt;&gt;&gt;16&amp;15]+f[r&gt;&gt;&gt;12&amp;15]+f[r&gt;&gt;&gt;8&amp;15]+f[r&gt;&gt;&gt;4&amp;15]+f[15&amp;r]+f[i&gt;&gt;&gt;28&amp;15]+f[i&gt;&gt;&gt;24&amp;15]+f[i&gt;&gt;&gt;20&amp;15]+f[i&gt;&gt;&gt;16&amp;15]+f[i&gt;&gt;&gt;12&amp;15]+f[i&gt;&gt;&gt;8&amp;15]+f[i&gt;&gt;&gt;4&amp;15]+f[15&amp;i]+f[o&gt;&gt;&gt;28&amp;15]+f[o&gt;&gt;&gt;24&amp;15]+f[o&gt;&gt;&gt;20&amp;15]+f[o&gt;&gt;&gt;16&amp;15]+f[o&gt;&gt;&gt;12&amp;15]+f[o&gt;&gt;&gt;8&amp;15]+f[o&gt;&gt;&gt;4&amp;15]+f[15&amp;o]+f[a&gt;&gt;&gt;28&amp;15]+f[a&gt;&gt;&gt;24&amp;15]+f[a&gt;&gt;&gt;20&amp;15]+f[a&gt;&gt;&gt;16&amp;15]+f[a&gt;&gt;&gt;12&amp;15]+f[a&gt;&gt;&gt;8&amp;15]+f[a&gt;&gt;&gt;4&amp;15]+f[15&amp;a];return this.is224||(u+=f[s&gt;&gt;&gt;28&amp;15]+f[s&gt;&gt;&gt;24&amp;15]+f[s&gt;&gt;&gt;20&amp;15]+f[s&gt;&gt;&gt;16&amp;15]+f[s&gt;&gt;&gt;12&amp;15]+f[s&gt;&gt;&gt;8&amp;15]+f[s&gt;&gt;&gt;4&amp;15]+f[15&amp;s]),u},I.prototype.toString=I.prototype.hex,I.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,o=this.h5,a=this.h6,s=this.h7,u=[e&gt;&gt;&gt;24&amp;255,e&gt;&gt;&gt;16&amp;255,e&gt;&gt;&gt;8&amp;255,255&amp;e,t&gt;&gt;&gt;24&amp;255,t&gt;&gt;&gt;16&amp;255,t&gt;&gt;&gt;8&amp;255,255&amp;t,n&gt;&gt;&gt;24&amp;255,n&gt;&gt;&gt;16&amp;255,n&gt;&gt;&gt;8&amp;255,255&amp;n,r&gt;&gt;&gt;24&amp;255,r&gt;&gt;&gt;16&amp;255,r&gt;&gt;&gt;8&amp;255,255&amp;r,i&gt;&gt;&gt;24&amp;255,i&gt;&gt;&gt;16&amp;255,i&gt;&gt;&gt;8&amp;255,255&amp;i,o&gt;&gt;&gt;24&amp;255,o&gt;&gt;&gt;16&amp;255,o&gt;&gt;&gt;8&amp;255,255&amp;o,a&gt;&gt;&gt;24&amp;255,a&gt;&gt;&gt;16&amp;255,a&gt;&gt;&gt;8&amp;255,255&amp;a];return this.is224||u.push(s&gt;&gt;&gt;24&amp;255,s&gt;&gt;&gt;16&amp;255,s&gt;&gt;&gt;8&amp;255,255&amp;s),u},I.prototype.array=I.prototype.digest,I.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},C.prototype=new I,C.prototype.finalize=function(){if(I.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();I.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),I.prototype.finalize.call(this)}};var w=E();w.sha256=w,w.sha224=E(!0),w.sha256.hmac=S(),w.sha224.hmac=S(!0),l?e.exports=w:(a.sha256=w.sha256,a.sha224=w.sha224,c&amp;&amp;void 0!==(r=(function(){return w}).call(w,n,w,e))&amp;&amp;(e.exports=r))}()},81695:function(e,t,n){"use strict";var r=n(21219);n.o(r,"useParams")&amp;&amp;n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&amp;&amp;n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&amp;&amp;n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&amp;&amp;n.d(t,{useSearchParams:function(){return r.useSearchParams}})},74859:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&amp;&amp;"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(19566)},19566:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&amp;&amp;setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var u=[],l=!1,c=-1;function d(){l&amp;&amp;r&amp;&amp;(l=!1,r.length?u=r.concat(u):c=-1,u.length&amp;&amp;f())}function f(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(r=u,u=[];++c&lt;t;)r&amp;&amp;r[c].run();c=-1,t=u.length}r=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&amp;&amp;clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length&gt;1)for(var n=1;n&lt;arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||l||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&amp;&amp;delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},79401:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t,n,r,i,o,a,s,u,l){void 0===i&amp;&amp;(i=[]),void 0===o&amp;&amp;(o=""),void 0===a&amp;&amp;(a=null),void 0===s&amp;&amp;(s=null),void 0===u&amp;&amp;(u=null),void 0===l&amp;&amp;(l=null),this.onDefaultValueFallback=null,this.name=e,this.value=JSON.parse(JSON.stringify(null!=t?t:{})),this.ruleID=null!=n?n:"",this.secondaryExposures=i,this.allocatedExperimentName=o,this.evaluationDetails=r,this.onDefaultValueFallback=a,this.groupName=s,this.idType=u,this.isExperimentActive=l}return e.prototype.get=function(e,t,n){var r,i,o=this.getValue(e,t);if(null==o)return t;var a=Array.isArray(t)?"array":typeof t,s=Array.isArray(o)?"array":typeof o;return n?n(o)?o:(null===(r=this.onDefaultValueFallback)||void 0===r||r.call(this,this,e,a,s),t):null==t||a===s?o:(null===(i=this.onDefaultValueFallback)||void 0===i||i.call(this,this,e,a,s),t)},e.prototype.getValue=function(e,t){return null==e?this.value:(null==t&amp;&amp;(t=null),null==this.value[e])?t:this.value[e]},e.prototype.getRuleID=function(){return this.ruleID},e.prototype.getGroupName=function(){return this.groupName},e.prototype.getIDType=function(){return this.idType},e.prototype.getName=function(){return this.name},e.prototype.getEvaluationDetails=function(){return this.evaluationDetails},e.prototype._getSecondaryExposures=function(){return this.secondaryExposures},e.prototype._getAllocatedExperimentName=function(){return this.allocatedExperimentName},e.prototype.getIsExperimentActive=function(){return this.isExperimentActive},e}();t.default=n},45032:function(e,t,n){"use strict";var r=this&amp;&amp;this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},i=this&amp;&amp;this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&amp;i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&amp;&amp;(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&amp;&amp;(o=0,s[0]&amp;&amp;(a=0)),a;)try{if(n=1,r&amp;&amp;(i=2&amp;s[0]?r.return:s[0]?r.throw||((i=r.return)&amp;&amp;i.call(r),0):r.next)&amp;&amp;!(i=i.call(r,s[1])).done)return i;switch(r=0,i&amp;&amp;(s=[2&amp;s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length&gt;0&amp;&amp;i[i.length-1])&amp;&amp;(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&amp;&amp;(!i||s[1]&gt;i[0]&amp;&amp;s[1]&lt;i[3])){a.label=s[1];break}if(6===s[0]&amp;&amp;a.label&lt;i[1]){a.label=i[1],i=s;break}if(i&amp;&amp;a.label&lt;i[2]){a.label=i[2],a.ops.push(s);break}i[2]&amp;&amp;a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&amp;s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},o=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExceptionEndpoint=void 0;var a=n(7405),s=n(21689),u=o(n(70619)),l=o(n(53183)),c=o(n(53524));t.ExceptionEndpoint="https://prodregistryv2.org/v1/rgstr_e";var d=function(){function e(e,t){this.sdkKey=e,this.sdkOptions=t,this.seen=new Set,this.setupDiagnostics(0===Math.floor(1e4*Math.random())?30:0)}return e.prototype.setStatsigMetadata=function(e){this.statsigMetadata=e},e.prototype.swallow=function(e,t,n){void 0===n&amp;&amp;(n={}),this.capture(e,t,function(){},n)},e.prototype.capture=function(e,t,n,r){var i=this;void 0===r&amp;&amp;(r={});var o=null;try{o=this.beginMarker(e);var a=t(),s=!0;if(a instanceof Promise)return a.catch(function(t){return s=!1,i.onCaught(e,t,n,r)}).then(function(t){return i.endMarker(e,s,o),t});return this.endMarker(e,!0,o,r.configName),a}catch(t){return this.endMarker(e,!1,o,r.configName),this.onCaught(e,t,n,r)}},e.prototype.logError=function(e,n,o){var s=void 0===o?{}:o,u=s.getExtraData,l=s.configName;this.sdkOptions.isAllLoggingDisabled()||r(this,void 0,void 0,function(){var r,o,s,d,f,h,p;return i(this,function(i){try{if(r="function"==typeof u?u():{},s=(o=(0,c.default)(n)).name,d=o.trace,r.configName=l,this.seen.has(s))return[2];return this.seen.add(s),f=null!==(p=this.statsigMetadata)&amp;&amp;void 0!==p?p:{},null==f.sessionID&amp;&amp;(f.sessionID=(0,a.v4)()),h=JSON.stringify({tag:e,exception:s,info:d,statsigMetadata:f,statsigOptions:this.sdkOptions.getLoggingCopy(),extra:r}),[2,fetch(t.ExceptionEndpoint,{method:"POST",headers:{"STATSIG-API-KEY":this.sdkKey,"STATSIG-SDK-TYPE":String(f.sdkType),"STATSIG-SDK-VERSION":String(f.sdkVersion),"Content-Type":"application/json; charset=UTF-8"},body:h})]}catch(e){}return[2]})}).catch(function(){})},e.prototype.setupDiagnostics=function(e){u.default.setMaxMarkers("api_call",e)},e.prototype.beginMarker=function(e){var t=u.default.mark.api_call(e);if(!t)return null;var n=u.default.getMarkerCount("api_call"),r="".concat(e,"_").concat(n);return t.start({markerID:r},"api_call")?r:null},e.prototype.endMarker=function(e,t,n,r){var i=u.default.mark.api_call(e);n&amp;&amp;i&amp;&amp;i.end({markerID:n,success:t,configName:r},"api_call")},e.prototype.onCaught=function(e,t,n,r){if(void 0===r&amp;&amp;(r={}),t instanceof s.StatsigUninitializedError||t instanceof s.StatsigInvalidArgumentError)throw t;return t instanceof s.StatsigInitializationTimeoutError?l.default.error("Timeout occured.",t):(l.default.error("An unexpected exception occurred.",t),this.logError(e,t,r)),n()},e}();t.default=d},21689:function(e,t){"use strict";var n,r=this&amp;&amp;this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&amp;&amp;function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&amp;&amp;null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigInitializationTimeoutError=t.StatsigSDKKeyMismatchError=t.StatsigInvalidArgumentError=t.StatsigUninitializedError=void 0;var i=function(e){function t(n){var r=e.call(this,null!=n?n:"Call and wait for initialize() to finish first.")||this;return Object.setPrototypeOf(r,t.prototype),r}return r(t,e),t}(Error);t.StatsigUninitializedError=i;var o=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r}return r(t,e),t}(Error);t.StatsigInvalidArgumentError=o;var a=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r}return r(t,e),t}(Error);t.StatsigSDKKeyMismatchError=a;var s=function(e){function t(n){var r=e.call(this,"The initialization timeout of ".concat(n,"ms has been hit before the network request has completed."))||this;return Object.setPrototypeOf(r,t.prototype),r}return r(t,e),t}(Error);t.StatsigInitializationTimeoutError=s},99314:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t,n,r,i,o,a){void 0===i&amp;&amp;(i=null),void 0===o&amp;&amp;(o=null),void 0===a&amp;&amp;(a=[]),this.name=e,this.value=t,this.ruleID=null!=n?n:"",this.evaluationDetails=r,this.groupName=i,this.idType=o,this.secondaryExposures=a}return e.prototype.getRuleID=function(){return this.ruleID},e.prototype.getGroupName=function(){return this.groupName},e.prototype.getIDType=function(){return this.idType},e.prototype.getName=function(){return this.name},e.prototype.getValue=function(){return this.value},e.prototype.getEvaluationDetails=function(){return this.evaluationDetails},e.prototype.getSecondaryExposures=function(){return this.secondaryExposures},e}();t.default=n},91130:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t,n,r,i,o,a,s,u,l){void 0===i&amp;&amp;(i=null),void 0===o&amp;&amp;(o=[]),void 0===a&amp;&amp;(a=[]),void 0===s&amp;&amp;(s=""),void 0===u&amp;&amp;(u=[]),void 0===l&amp;&amp;(l=null),this.logParameterFunction=i,this.name=e,this.value=JSON.parse(JSON.stringify(null!=t?t:{})),this.ruleID=null!=n?n:"",this.evaluationDetails=r,this.secondaryExposures=o,this.undelegatedSecondaryExposures=a,this.allocatedExperimentName=s,this.explicitParameters=u,this.groupName=l}return e._create=function(t,n,r,i,o,a,s,u,l,c){return void 0===o&amp;&amp;(o=null),void 0===a&amp;&amp;(a=[]),void 0===s&amp;&amp;(s=[]),void 0===u&amp;&amp;(u=""),void 0===l&amp;&amp;(l=[]),void 0===c&amp;&amp;(c=null),new e(t,n,r,i,o,a,s,u,l,c)},e.prototype.get=function(e,t,n){var r=this,i=this.value[e];if(null==i)return t;var o=function(){return r.logLayerParameterExposure(e),i};return n?n(i)?o():t:null==t||typeof i==typeof t&amp;&amp;Array.isArray(t)===Array.isArray(i)?o():t},e.prototype.getValue=function(e,t){void 0==t&amp;&amp;(t=null);var n=this.value[e];return null!=n&amp;&amp;this.logLayerParameterExposure(e),null!=n?n:t},e.prototype.getRuleID=function(){return this.ruleID},e.prototype.getGroupName=function(){return this.groupName},e.prototype.getName=function(){return this.name},e.prototype.getEvaluationDetails=function(){return this.evaluationDetails},e.prototype._getSecondaryExposures=function(){return this.secondaryExposures},e.prototype._getUndelegatedSecondaryExposures=function(){return this.undelegatedSecondaryExposures},e.prototype._getAllocatedExperimentName=function(){return this.allocatedExperimentName},e.prototype._getExplicitParameters=function(){return this.explicitParameters},e.prototype._getEvaluationDetails=function(){return this.evaluationDetails},e.prototype.logLayerParameterExposure=function(e){var t;null===(t=this.logParameterFunction)||void 0===t||t.call(this,this,e)},e}();t.default=n},80386:function(e,t){"use strict";var n=this&amp;&amp;this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n&lt;r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this.user=null,this.value=null,this.metadata=null,this.eventName=e,this.statsigMetadata={},this.time=Date.now()}return e.prototype.getName=function(){return this.eventName},e.prototype.setValue=function(e){this.value=e},e.prototype.setMetadata=function(e){this.metadata=e},e.prototype.addStatsigMetadata=function(e,t){this.statsigMetadata[e]=t},e.prototype.setUser=function(e){this.user=n({},e),delete this.user.privateAttributes},e.prototype.setSecondaryExposures=function(e){void 0===e&amp;&amp;(e=[]),this.secondaryExposures=e},e.prototype.toJsonObject=function(){var e;return{eventName:this.eventName,user:this.user,value:this.value,metadata:this.metadata,time:this.time,statsigMetadata:this.statsigMetadata,secondaryExposures:null!==(e=this.secondaryExposures)&amp;&amp;void 0!==e?e:void 0}},e}();t.default=r},44820:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="5.1.0"},39610:function(e,t,n){"use strict";var r=this&amp;&amp;this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n&lt;r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i]);return e}).apply(this,arguments)},i=this&amp;&amp;this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},o=this&amp;&amp;this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&amp;i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&amp;&amp;(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&amp;&amp;(o=0,s[0]&amp;&amp;(a=0)),a;)try{if(n=1,r&amp;&amp;(i=2&amp;s[0]?r.return:s[0]?r.throw||((i=r.return)&amp;&amp;i.call(r),0):r.next)&amp;&amp;!(i=i.call(r,s[1])).done)return i;switch(r=0,i&amp;&amp;(s=[2&amp;s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length&gt;0&amp;&amp;i[i.length-1])&amp;&amp;(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&amp;&amp;(!i||s[1]&gt;i[0]&amp;&amp;s[1]&lt;i[3])){a.label=s[1];break}if(6===s[0]&amp;&amp;a.label&lt;i[1]){a.label=i[1],i=s;break}if(i&amp;&amp;a.label&lt;i[2]){a.label=i[2],a.ops.push(s);break}i[2]&amp;&amp;a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&amp;s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},a=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(79401)),u=a(n(45032)),l=n(21689),c=a(n(99314)),d=a(n(91130)),f=a(n(80386)),h=a(n(4453)),p=a(n(15583)),g=a(n(46819)),v=a(n(15654)),y=a(n(95135)),m=a(n(70619)),E=n(98920),_=n(74854),b=a(n(53183)),S=n(1217),I=a(n(92418)),C=a(n(40731)),w=n(2024),D=function(){function e(t,n,r){var i=this;if(this.appState=null,this.currentAppState=null,this.appStateChangeSubscription=null,this.onCacheLoadedForReact=null,this.initCalled=!1,this.pendingInitPromise=null,this.optionalLoggingSetup=!1,this.prefetchedUsersByCacheKey={},this.logLayerParameterExposureForLayer=function(e,t,n){void 0===n&amp;&amp;(n=!1);var r="",o=e._getUndelegatedSecondaryExposures(),a=e._getExplicitParameters().includes(t);a&amp;&amp;(r=e._getAllocatedExperimentName(),o=e._getSecondaryExposures()),i.logger.logLayerExposure(i.getCurrentUser(),e.getName(),e.getRuleID(),o,r,t,a,e._getEvaluationDetails(),n,i.store.getBootstrapMetadata())},(null==r?void 0:r.localMode)!==!0&amp;&amp;("string"!=typeof t||!t.startsWith("client-")))throw new l.StatsigInvalidArgumentError("Invalid key provided.  You must use a Client SDK Key from the Statsig console to initialize the sdk");if(this.startTime=(0,w.now)(),this.options=new v.default(r),this.logger=new p.default(this),m.default.initialize({options:this.options}),this.errorBoundary=new u.default(t,this.options),this.ready=!1,this.sdkKey=t,b.default.setLogger(this.options.getOutputLogger()),b.default.setLogLevel(this.options.getLogLevel()),C.default.disabled=this.options.getDisableLocalStorage(),this.identity=new h.default(this.normalizeUser(null!=n?n:null),this.options.getOverrideStableID(),e.reactNativeUUID),this.errorBoundary.setStatsigMetadata(this.getStatsigMetadata()),this.network=new g.default(this),this.store=new y.default(this,this.options.getInitializeValues()),null!=this.options.getInitializeValues()){var o=this.options.getInitCompletionCallback();this.ready=!0,this.initCalled=!0,setTimeout(function(){return i.delayedSetup()},20),this.handleOptionalLogging(),o&amp;&amp;o((0,w.now)()-this.startTime,!0,null)}}return e.prototype.getErrorBoundary=function(){return this.errorBoundary},e.prototype.getNetwork=function(){return this.network},e.prototype.getStore=function(){return this.store},e.prototype.getLogger=function(){return this.logger},e.prototype.getOptions=function(){return this.options},e.prototype.getSDKKey=function(){var e=this;return this.errorBoundary.capture("getSDKKey",function(){var t;return null!==(t=e.sdkKey)&amp;&amp;void 0!==t?t:""},function(){return""})},e.prototype.getCurrentUser=function(){var e=this;return this.errorBoundary.capture("getCurrentUser",function(){return e.identity.getUser()},function(){return null})},e.prototype.getCurrentUserCacheKey=function(){var e=this;return this.errorBoundary.capture("getCurrentUserCacheKey",function(){return(0,_.getUserCacheKey)(e.getStableID(),e.getCurrentUser(),e.getSDKKey())},function(){return{v1:"",v2:"",v3:""}})},e.prototype.getCurrentUserUnitID=function(e){var t=this;return this.errorBoundary.capture("getCurrentUserUnitID",function(){return t.getUnitID(t.getCurrentUser(),e)},function(){return""})},e.prototype.getCurrentUserID=function(){var e=this;return this.errorBoundary.capture("getCurrentUserID",function(){return e.getUnitID(e.getCurrentUser(),"userid")},function(){return""})},e.prototype.getUnitID=function(e,t){var n,r,i;return e?"userid"===t.toLowerCase()?null!==(r=null===(n=e.userID)||void 0===n?void 0:n.toString())&amp;&amp;void 0!==r?r:null:e.customIDs?null!==(i=e.customIDs[t])&amp;&amp;void 0!==i?i:e.customIDs[t.toLowerCase()]:null:null},e.prototype.getStatsigMetadata=function(){var e=this;return this.errorBoundary.capture("getStatsigMetadata",function(){return e.identity.getStatsigMetadata()},function(){return{}})},e.prototype.getSDKType=function(){var e=this;return this.errorBoundary.capture("getSDKType",function(){return e.identity.getSDKType()},function(){return""})},e.prototype.getSDKVersion=function(){var e=this;return this.errorBoundary.capture("getSDKVersion",function(){return e.identity.getSDKVersion()},function(){return""})},e.prototype.delayedSetup=function(){var e=this;this.errorBoundary.swallow("delayedSetup",function(){null!=e.options.getInitializeValues()&amp;&amp;e.fireAndForgetPrefechUsers(),e.identity.saveStableID(),e.logger.sendSavedRequests().catch(function(t){return e.errorBoundary.logError("sendSavedRequests:delayedSetup",t)})})},e.prototype.setInitializeValues=function(e){var t=this;this.errorBoundary.capture("setInitializeValues",function(){t.store.bootstrap(e);var n=null;t.ready||(t.ready=!0,t.initCalled=!0,n=t.options.getInitCompletionCallback()),t.handleOptionalLogging(),t.logger.sendSavedRequests().catch(function(e){return t.errorBoundary.logError("sendSavedRequests:setInitializeValues",e)}),n&amp;&amp;n((0,w.now)()-t.startTime,!0,null)},function(){t.ready=!0,t.initCalled=!0;var e=t.options.getInitCompletionCallback();e&amp;&amp;e((0,w.now)()-t.startTime,!1,"Caught an exception during setInitializeValues")})},e.prototype.initializeAsync=function(){return i(this,void 0,void 0,function(){var e=this;return o(this,function(t){return[2,this.errorBoundary.capture("initializeAsync",function(){return i(e,void 0,void 0,function(){var e,t,n,r,i=this;return o(this,function(o){switch(o.label){case 0:if(null!=this.pendingInitPromise)return[2,this.pendingInitPromise];if(this.ready)return[2,Promise.resolve()];if(m.default.mark.overall.start({}),this.initCalled=!0,!I.default.asyncStorage)return[3,3];return[4,this.identity.initAsync()];case 1:return o.sent(),[4,this.store.loadAsync()];case 2:o.sent(),o.label=3;case 3:if(null===(r=this.onCacheLoadedForReact)||void 0===r||r.call(this),null!=this.appState&amp;&amp;(e=this.appState).addEventListener&amp;&amp;"function"==typeof e.addEventListener&amp;&amp;(this.currentAppState=e.currentState,t=e.addEventListener("change",this.handleAppStateChange.bind(this)),this.appStateChangeSubscription=t),this.options.getLocalModeEnabled())return[2,Promise.resolve()];return n=this.identity.getUser(),this.pendingInitPromise=this.fetchAndSaveValues({user:n,prefetchUsers:this.options.getPrefetchUsers(),timeout:this.options.getInitTimeoutMs()}).then(function(){return m.default.mark.overall.end({success:!0,evaluationDetails:i.store.getGlobalEvaluationDetails()}),{success:!0,message:null}}).catch(function(e){var t;return m.default.mark.overall.end({success:!1,error:m.default.formatError(e),evaluationDetails:i.store.getGlobalEvaluationDetails()}),{success:!1,message:null!==(t=e.message)&amp;&amp;void 0!==t?t:null}}).then(function(e){var t=e.success,n=e.message,r=i.options.getInitCompletionCallback();r&amp;&amp;r((0,w.now)()-i.startTime,t,n)}).finally(function(){i.pendingInitPromise=null,i.ready=!0,i.delayedSetup(),i.logger.logDiagnostics(n,"initialize")}),this.handleOptionalLogging(),[2,this.pendingInitPromise]}})})},function(){return e.ready=!0,e.initCalled=!0,Promise.resolve()})]})})},e.prototype.prefetchUsers=function(e){return i(this,void 0,void 0,function(){var t=this;return o(this,function(n){return[2,this.errorBoundary.capture("prefetchUsers",function(){return!e||0==e.length||t.options.getLocalModeEnabled()?Promise.resolve():t.fetchAndSaveValues({user:null,prefetchUsers:e,timeout:0})},function(){return Promise.resolve()})]})})},e.prototype.getEvaluationDetails=function(){var e=this;return this.errorBoundary.capture("getEvaluationDetails",function(){return e.store.getGlobalEvaluationDetails()},function(){return{time:Date.now(),reason:E.EvaluationReason.Error}})},e.prototype.checkGate=function(e,t){var n=this;return void 0===t&amp;&amp;(t=!1),this.errorBoundary.capture("checkGate",function(){var r,i,o,a=n.checkGateImpl(e,t);n.logGateExposureImpl(e,a);var s=n.options.getGateEvaluationCallback();s&amp;&amp;s(e,a.gate.value,{withExposureLoggingDisabled:!1});var u=n.options.getEvaluationCallback();return u&amp;&amp;u({type:"gate",gate:new c.default(e,a.gate.value,a.gate.rule_id,a.evaluationDetails,null!==(r=a.gate.group_name)&amp;&amp;void 0!==r?r:null,null!==(i=a.gate.id_type)&amp;&amp;void 0!==i?i:null,null!==(o=a.gate.secondary_exposures)&amp;&amp;void 0!==o?o:[])}),!0===a.gate.value},function(){return!1},{configName:e})},e.prototype.getFeatureGate=function(e,t){var n=this;return void 0===t&amp;&amp;(t=null),this.errorBoundary.capture("getFeatureGate",function(){var r,i,o,a,s,u=n.checkGateImpl(e,null!==(r=null==t?void 0:t.ignoreOverrides)&amp;&amp;void 0!==r&amp;&amp;r);(null==t?void 0:t.disableExposureLogging)?n.logger.addNonExposedCheck(e):n.logGateExposureImpl(e,u);var l=n.options.getGateEvaluationCallback();l&amp;&amp;l(e,u.gate.value,{withExposureLoggingDisabled:null!==(i=null==t?void 0:t.disableExposureLogging)&amp;&amp;void 0!==i&amp;&amp;i});var d=new c.default(e,u.gate.value,u.gate.rule_id,u.evaluationDetails,null!==(o=u.gate.group_name)&amp;&amp;void 0!==o?o:null,null!==(a=u.gate.id_type)&amp;&amp;void 0!==a?a:null,null!==(s=u.gate.secondary_exposures)&amp;&amp;void 0!==s?s:[]),f=n.options.getEvaluationCallback();return f&amp;&amp;f({type:"gate",gate:d}),d},function(){return new c.default(e,!1,"",{reason:E.EvaluationReason.Error,time:Date.now()})},{configName:e})},e.prototype.checkGateWithExposureLoggingDisabled=function(e,t){var n=this;return void 0===t&amp;&amp;(t=!1),this.errorBoundary.capture("checkGateWithExposureLoggingDisabled",function(){n.logger.addNonExposedCheck(e);var r,i,o,a=n.checkGateImpl(e,t),s=n.options.getGateEvaluationCallback();s&amp;&amp;s(e,a.gate.value,{withExposureLoggingDisabled:!0});var u=n.options.getEvaluationCallback();return u&amp;&amp;u({type:"gate",gate:new c.default(e,a.gate.value,a.gate.rule_id,a.evaluationDetails,null!==(r=a.gate.group_name)&amp;&amp;void 0!==r?r:null,null!==(i=a.gate.id_type)&amp;&amp;void 0!==i?i:null,null!==(o=a.gate.secondary_exposures)&amp;&amp;void 0!==o?o:[])}),!0===a.gate.value},function(){return!1})},e.prototype.logGateExposure=function(e){var t=this;this.errorBoundary.swallow("logGateExposure",function(){t.logGateExposureImpl(e)})},e.prototype.getConfig=function(e,t){var n=this;return void 0===t&amp;&amp;(t=!1),this.errorBoundary.capture("getConfig",function(){var r=n.getConfigImpl(e,t);n.logConfigExposureImpl(e,r);var i=n.options.getEvaluationCallback();return i&amp;&amp;i({type:"config",config:r}),r},function(){return n.getEmptyConfig(e)},{configName:e})},e.prototype.getConfigWithExposureLoggingDisabled=function(e,t){var n=this;return void 0===t&amp;&amp;(t=!1),this.errorBoundary.capture("getConfig",function(){n.logger.addNonExposedCheck(e);var r=n.getConfigImpl(e,t),i=n.options.getEvaluationCallback();return i&amp;&amp;i({type:"config",config:r}),r},function(){return n.getEmptyConfig(e)})},e.prototype.logConfigExposure=function(e){var t=this;this.errorBoundary.swallow("logConfigExposure",function(){t.logConfigExposureImpl(e)})},e.prototype.getExperiment=function(e,t,n){var r=this;return void 0===t&amp;&amp;(t=!1),void 0===n&amp;&amp;(n=!1),this.errorBoundary.capture("getExperiment",function(){var i=r.getExperimentImpl(e,t,n);r.logExperimentExposureImpl(e,t,i);var o=r.options.getEvaluationCallback();return o&amp;&amp;o({type:"experiment",config:i}),i},function(){return r.getEmptyConfig(e)},{configName:e})},e.prototype.getExperimentWithExposureLoggingDisabled=function(e,t,n){var r=this;return void 0===t&amp;&amp;(t=!1),void 0===n&amp;&amp;(n=!1),this.errorBoundary.capture("getExperimentWithExposureLoggingDisabled",function(){r.logger.addNonExposedCheck(e);var i=r.getExperimentImpl(e,t,n),o=r.options.getEvaluationCallback();return o&amp;&amp;o({type:"experiment",config:i}),i},function(){return r.getEmptyConfig(e)})},e.prototype.logExperimentExposure=function(e,t){var n=this;this.errorBoundary.swallow("logExperimentExposure",function(){n.logExperimentExposureImpl(e,t)})},e.prototype.getLayer=function(e,t){var n=this;return void 0===t&amp;&amp;(t=!1),this.errorBoundary.capture("getLayer",function(){var r=n.getLayerImpl(n.logLayerParameterExposureForLayer,e,t),i=n.options.getEvaluationCallback();return i&amp;&amp;i({type:"layer",layer:r}),r},function(){return d.default._create(e,{},"",n.getEvalutionDetailsForError())},{configName:e})},e.prototype.getLayerWithExposureLoggingDisabled=function(e,t){var n=this;return void 0===t&amp;&amp;(t=!1),this.errorBoundary.capture("getLayerWithExposureLoggingDisabled",function(){n.logger.addNonExposedCheck(e);var r=n.getLayerImpl(null,e,t),i=n.options.getEvaluationCallback();return i&amp;&amp;i({type:"layer",layer:r}),r},function(){return d.default._create(e,{},"",n.getEvalutionDetailsForError())})},e.prototype.logLayerParameterExposure=function(e,t,n){var r=this;void 0===n&amp;&amp;(n=!1),this.errorBoundary.swallow("logLayerParameterExposure",function(){var i=r.getLayerImpl(null,e,n);r.logLayerParameterExposureForLayer(i,t,!0)})},e.prototype.logEvent=function(e,t,n){var r=this;void 0===t&amp;&amp;(t=null),void 0===n&amp;&amp;(n=null),this.errorBoundary.swallow("logEvent",function(){if(!r.logger||!r.sdkKey)throw new l.StatsigUninitializedError("Must initialize() before logging events.");if("string"!=typeof e||0===e.length){b.default.error("Event not logged. No valid eventName passed.");return}r.shouldTrimParam(e,64)&amp;&amp;(b.default.info("eventName is too long, trimming to 64 characters."),e=e.substring(0,64)),"string"==typeof t&amp;&amp;r.shouldTrimParam(t,64)&amp;&amp;(b.default.info("value is too long, trimming to 64."),t=t.substring(0,64)),r.shouldTrimParam(n,2048)&amp;&amp;(b.default.info("metadata is too big. Dropping the metadata."),n={error:"not logged due to size too large"});var i=new f.default(e);i.setValue(t),i.setMetadata(n),i.setUser(r.getCurrentUser()),r.logger.log(i)})},e.prototype.updateUserWithValues=function(e,t){var n,r=this;return this.errorBoundary.capture("updateUserWithValues",function(){var i=Date.now();if(!r.initializeCalled())throw new l.StatsigUninitializedError("Call initialize() first.");return n=function(e,t){var n=r.options.getUpdateUserCompletionCallback();null==n||n(Date.now()-i,e,t)},r.identity.updateUser(r.normalizeUser(e)),r.store.bootstrap(t),r.logger.resetDedupeKeys(),n(!0,null),!0},function(){return null==n||n(!1,"Failed to update user. An unexpected error occured."),!1})},e.prototype.updateUser=function(e){return i(this,void 0,void 0,function(){var t,n=this;return o(this,function(r){return[2,this.errorBoundary.capture("updateUser",function(){return i(n,void 0,void 0,function(){var n,r,i,a,s,u,c=this;return o(this,function(o){switch(o.label){case 0:if(n=Date.now(),!this.initializeCalled())throw new l.StatsigUninitializedError("Call initialize() first.");if(t=function(e,t){var r=c.options.getUpdateUserCompletionCallback();null==r||r(Date.now()-n,e,t)},!(I.default.asyncStorage&amp;&amp;(null!==(u=this.identity.getStatsigMetadata().stableID)&amp;&amp;void 0!==u?u:"")==""))return[3,2];return[4,this.identity.initAsync()];case 1:o.sent(),o.label=2;case 2:if(this.identity.updateUser(this.normalizeUser(e)),r=this.getCurrentUserCacheKey(),i=!!this.prefetchedUsersByCacheKey[r.v3],a=this.store.updateUser(i),m.default.clearContext("api_call"),this.logger.resetDedupeKeys(),null!=a&amp;&amp;(i||this.isCacheValidForFetchMode(a)))return t(!0,null),[2,Promise.resolve(!0)];if(!(null!=this.pendingInitPromise))return[3,4];return[4,this.pendingInitPromise];case 3:o.sent(),o.label=4;case 4:if(this.options.getLocalModeEnabled())return t(!0,null),[2,Promise.resolve(!0)];return s=this.identity.getUser(),this.pendingInitPromise=this.fetchAndSaveValues({user:s,prefetchUsers:[],timeout:void 0}).finally(function(){c.pendingInitPromise=null}),[2,this.pendingInitPromise.then(function(){return t(!0,null),Promise.resolve(!0)}).catch(function(e){return t(!1,"Failed to update user: ".concat(e.message)),Promise.resolve(!1)})]}})})},function(){return null==t||t(!1,"Failed to update user. An unexpected error occured."),Promise.resolve(!1)})]})})},e.prototype.shutdown=function(){var e=this;this.errorBoundary.swallow("shutdown",function(){if(e.logger.shutdown(),null!=e.appStateChangeSubscription){var t=e.appStateChangeSubscription;"function"==typeof t.remove&amp;&amp;t.remove()}C.default.cleanup()})},e.prototype.getInitializeResponseJson=function(){var e=this;return this.errorBoundary.capture("getInitializeResponseJson",function(){var t;return{values:e.store.getInitializeResponseJson(),evaluationDetails:null!==(t=e.getEvaluationDetails())&amp;&amp;void 0!==t?t:{reason:E.EvaluationReason.Uninitialized,time:0}}},function(){var t;return{values:"",evaluationDetails:null!==(t=e.getEvaluationDetails())&amp;&amp;void 0!==t?t:{reason:E.EvaluationReason.Uninitialized,time:0}}})},e.prototype.overrideGate=function(e,t){var n=this;this.errorBoundary.swallow("overrideGate",function(){n.ensureStoreLoaded(),n.store.overrideGate(e,t)})},e.prototype.overrideConfig=function(e,t){var n=this;this.errorBoundary.swallow("overrideConfig",function(){n.ensureStoreLoaded(),n.store.overrideConfig(e,t)})},e.prototype.overrideLayer=function(e,t){var n=this;this.errorBoundary.swallow("overrideLayer",function(){n.ensureStoreLoaded(),n.store.overrideLayer(e,t)})},e.prototype.removeGateOverride=function(e){var t=this;this.errorBoundary.swallow("removeGateOverride",function(){t.ensureStoreLoaded(),t.store.removeGateOverride(e)})},e.prototype.removeConfigOverride=function(e){var t=this;this.errorBoundary.swallow("removeConfigOverride",function(){t.ensureStoreLoaded(),t.store.removeConfigOverride(e)})},e.prototype.removeLayerOverride=function(e){var t=this;this.errorBoundary.swallow("removeLayerOverride",function(){t.ensureStoreLoaded(),t.store.removeLayerOverride(e)})},e.prototype.removeOverride=function(e){var t=this;this.errorBoundary.swallow("removeOverride",function(){t.ensureStoreLoaded(),t.store.removeGateOverride(e)})},e.prototype.getOverrides=function(){var e=this;return this.errorBoundary.capture("getOverrides",function(){return e.ensureStoreLoaded(),e.store.getAllOverrides().gates},function(){return{}})},e.prototype.getAllOverrides=function(){var e=this;return this.errorBoundary.capture("getAllOverrides",function(){return e.ensureStoreLoaded(),e.store.getAllOverrides()},function(){return{gates:{},configs:{},layers:{}}})},e.prototype.getStableID=function(){var e=this;return this.errorBoundary.capture("getStableID",function(){return e.identity.getStatsigMetadata().stableID},function(){return""})},e.prototype.initializeCalled=function(){return this.initCalled},e.prototype.setSDKPackageInfo=function(e){null!=e&amp;&amp;(this.identity.setSDKPackageInfo(e),this.errorBoundary.setStatsigMetadata(this.getStatsigMetadata()))},e.prototype.setDebugInfo=function(e){var t=this;this.errorBoundary.capture("setDebuggingInfo",function(){if(!t.initializeCalled())throw new l.StatsigUninitializedError("Call initialize() first.");t.logger.setDebugInfo(e)},function(){})},e.setAsyncStorage=function(e){null!=e&amp;&amp;(I.default.asyncStorage=e)},e.prototype.setOnCacheLoadedReactCallback=function(e){this.onCacheLoadedForReact=null!=e?e:null},e.setReactNativeUUID=function(t){null!=t&amp;&amp;(e.reactNativeUUID=t)},e.prototype.setAppState=function(e){null!=e&amp;&amp;(this.appState=e)},e.prototype.setNativeModules=function(e){null!=e&amp;&amp;this.identity.setNativeModules(e)},e.prototype.setPlatform=function(e){null!=e&amp;&amp;this.identity.setPlatform(e)},e.prototype.setRNDeviceInfo=function(e){null!=e&amp;&amp;this.identity.setRNDeviceInfo(e)},e.prototype.setExpoConstants=function(e){null!=e&amp;&amp;this.identity.setExpoConstants(e)},e.prototype.setExpoDevice=function(e){null!=e&amp;&amp;this.identity.setExpoDevice(e)},e.prototype.flushEvents=function(){this.logger.flush()},e.prototype.reenableAllLogging=function(){this.getOptions().reenableAllLogging()},e.prototype.isCacheValidForFetchMode=function(e){return"cache-or-network"===this.options.getFetchMode()&amp;&amp;e&gt;this.startTime},e.prototype.handleOptionalLogging=function(){var e=this,t=this.options.getDisableErrorLogging(),n=this.options.getDisableAutoMetricsLogging();if((!t||!n)&amp;&amp;!this.optionalLoggingSetup&amp;&amp;"undefined"!=typeof window&amp;&amp;window&amp;&amp;window.addEventListener){var r=this.identity.getUser();if(t||window.addEventListener("error",function(t){var n,i=t.error;if(null!=i&amp;&amp;"object"==typeof i)try{i=JSON.stringify(i)}catch(e){i="Failed to stringify Error"}e.logger.logAppError(r,null!==(n=t.message)&amp;&amp;void 0!==n?n:"",{filename:t.filename,lineno:t.lineno,colno:t.colno,error_obj:i})}),!n){if("undefined"==typeof document||!document||"undefined"==typeof setTimeout||!setTimeout)return;var i=function(){setTimeout(function(){e.logger.logAppMetrics(r)},1e3)};"complete"===document.readyState?i():window.addEventListener("load",function(){return i()})}this.optionalLoggingSetup=!0}},e.prototype.handleAppStateChange=function(e){var t=this;"active"===this.currentAppState&amp;&amp;e.match(/inactive|background/)?this.logger.flush(!0):null!=this.currentAppState&amp;&amp;this.currentAppState.match(/inactive|background/)&amp;&amp;"active"===e&amp;&amp;this.logger.sendSavedRequests().catch(function(e){return t.errorBoundary.logError("sendSavedRequests:handleAppStateChange",e)}),this.currentAppState=e},e.prototype.shouldTrimParam=function(e,t){return null!=e&amp;&amp;("string"==typeof e?e.length&gt;t:"object"==typeof e?JSON.stringify(e).length&gt;t:"number"==typeof e&amp;&amp;e.toString().length&gt;t)},e.prototype.normalizePrefetchUsers=function(e){var t=this;return null==e?[]:e.map(function(e){return t.normalizeUser(e)})},e.prototype.normalizeUser=function(e){var t={};try{t=JSON.parse(JSON.stringify(e))}catch(e){throw new l.StatsigInvalidArgumentError("User object must be convertable to JSON string.")}return t=this.trimUserObjIfNeeded(t),null!=this.options.getEnvironment()&amp;&amp;(t.statsigEnvironment=this.options.getEnvironment()),t},e.prototype.trimUserObjIfNeeded=function(e){var t,n;return null==e?{}:(this.shouldTrimParam(null!==(t=e.userID)&amp;&amp;void 0!==t?t:null,64)&amp;&amp;(b.default.info("User ID is too large, trimming to 64characters"),e.userID=null===(n=e.userID)||void 0===n?void 0:n.toString().substring(0,64)),this.shouldTrimParam(e,2048)&amp;&amp;(e.custom={},this.shouldTrimParam(e,2048)?(b.default.info("User object is too large, only keeping the user ID."),e={userID:e.userID}):b.default.info("User object is too large, dropping the custom property.")),e)},e.prototype.ensureStoreLoaded=function(){if(!this.store.isLoaded())throw new l.StatsigUninitializedError("Call and wait for initialize() to finish first.")},e.prototype.getEvalutionDetailsForError=function(){return{time:Date.now(),reason:E.EvaluationReason.Error}},e.prototype.fetchAndSaveValues=function(e){var t,n,a,s;return i(this,void 0,void 0,function(){var u,l,c,d,f,h,p,g,v=this;return o(this,function(y){return u=e.user,l=null!==(t=e.prefetchUsers)&amp;&amp;void 0!==t?t:[],c=null!==(n=e.timeout)&amp;&amp;void 0!==n?n:this.options.getInitTimeoutMs(),l.length&gt;5&amp;&amp;b.default.info("Cannot prefetch more than 5 users."),d=this.normalizePrefetchUsers(l).slice(0,5).reduce(function(e,t){return e[(0,_.getUserCacheKey)(v.getStableID(),t,v.getSDKKey()).v3]=t,e},{}),f=String(null!==(s=null===(a=this.getStatsigMetadata())||void 0===a?void 0:a.stableID)&amp;&amp;void 0!==s?s:""),h=null,0===l.length&amp;&amp;(h=this.store.getLastUpdateTime(u,f)),p=this.store.getPreviousHashUsed(u,f),g=this.store.getPreviousDerivedFields(u,f),[2,this.network.fetchValues({user:u,sinceTime:h,timeout:c,useDeltas:null!=h&amp;&amp;p===(this.getOptions().getDisableHashing()?"none":"djb2"),prefetchUsers:l.length&gt;0?d:void 0,previousDerivedFields:g}).eventually(function(e){var t;(0,S.verifySDKKeyUsed)(e,null!==(t=v.sdkKey)&amp;&amp;void 0!==t?t:"",v.errorBoundary)&amp;&amp;(null==e?void 0:e.has_updates)&amp;&amp;v.store.saveWithoutUpdatingClientState(u,e,f,l.length&gt;0?d:void 0).catch(function(e){return v.errorBoundary.logError("fetchAndSaveValues:eventually",e)})}).then(function(e){return v.errorBoundary.swallow("fetchAndSaveValues",function(){return i(v,void 0,void 0,function(){var t;return o(this,function(n){switch(n.label){case 0:if(m.default.mark.initialize.process.start({}),!(0,S.verifySDKKeyUsed)(e,null!==(t=this.sdkKey)&amp;&amp;void 0!==t?t:"",this.errorBoundary))return m.default.mark.initialize.process.end({success:!1}),[2];if(!(null==e?void 0:e.has_updates))return[3,2];return[4,this.store.save(u,e,f,l.length&gt;0?d:void 0)];case 1:return n.sent(),[3,3];case 2:(null==e?void 0:e.is_no_content)&amp;&amp;this.store.setEvaluationReason(E.EvaluationReason.NetworkNotModified),n.label=3;case 3:return this.prefetchedUsersByCacheKey=r(r({},this.prefetchedUsersByCacheKey),d),m.default.mark.initialize.process.end({success:!0}),[2]}})})})})]})})},e.prototype.checkGateImpl=function(e,t){if(this.ensureStoreLoaded(),"string"!=typeof e||0===e.length)throw new l.StatsigInvalidArgumentError("Must pass a valid string as the gateName.");return this.store.checkGate(e,t)},e.prototype.logGateExposureImpl=function(e,t){var n=null!=t?t:this.checkGateImpl(e,!1),r=n.gate;this.logger.logGateExposure(this.getCurrentUser(),e,r.value,r.rule_id,r.secondary_exposures,n.evaluationDetails,!t,this.store.getBootstrapMetadata())},e.prototype.getConfigImpl=function(e,t){if(this.ensureStoreLoaded(),"string"!=typeof e||0===e.length)throw new l.StatsigInvalidArgumentError("Must pass a valid string as the configName.");return this.store.getConfig(e,t)},e.prototype.logConfigExposureImpl=function(e,t){var n=null!=t?t:this.getConfigImpl(e,!1);this.logger.logConfigExposure(this.getCurrentUser(),e,n.getRuleID(),n._getSecondaryExposures(),n.getEvaluationDetails(),!t,this.store.getBootstrapMetadata())},e.prototype.getExperimentImpl=function(e,t,n){if(this.ensureStoreLoaded(),"string"!=typeof e||0===e.length)throw new l.StatsigInvalidArgumentError("Must pass a valid string as the experimentName.");return this.store.getExperiment(e,t,n)},e.prototype.logExperimentExposureImpl=function(e,t,n){var r=null!=n?n:this.getExperimentImpl(e,t,!1);this.logger.logConfigExposure(this.getCurrentUser(),e,r.getRuleID(),r._getSecondaryExposures(),r.getEvaluationDetails(),!n,this.store.getBootstrapMetadata())},e.prototype.getLayerImpl=function(e,t,n){if(this.ensureStoreLoaded(),"string"!=typeof t||0===t.length)throw new l.StatsigInvalidArgumentError("Must pass a valid string as the layerName.");return this.store.getLayer(e,t,n)},e.prototype.getEmptyConfig=function(e){return new s.default(e,{},"",this.getEvalutionDetailsForError())},e.prototype.fireAndForgetPrefechUsers=function(){this.prefetchUsers(this.options.getPrefetchUsers()).catch(function(){})},e}();t.default=D},4453:function(e,t,n){"use strict";var r=this&amp;&amp;this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},i=this&amp;&amp;this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&amp;i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&amp;&amp;(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&amp;&amp;(o=0,s[0]&amp;&amp;(a=0)),a;)try{if(n=1,r&amp;&amp;(i=2&amp;s[0]?r.return:s[0]?r.throw||((i=r.return)&amp;&amp;i.call(r),0):r.next)&amp;&amp;!(i=i.call(r,s[1])).done)return i;switch(r=0,i&amp;&amp;(s=[2&amp;s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length&gt;0&amp;&amp;i[i.length-1])&amp;&amp;(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&amp;&amp;(!i||s[1]&gt;i[0]&amp;&amp;s[1]&lt;i[3])){a.label=s[1];break}if(6===s[0]&amp;&amp;a.label&lt;i[1]){a.label=i[1],i=s;break}if(i&amp;&amp;a.label&lt;i[2]){a.label=i[2],a.ops.push(s);break}i[2]&amp;&amp;a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&amp;s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},o=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(7405),s=n(44820),u=n(67829),l=o(n(92418)),c=o(n(40731)),d=function(){function e(e,t,n){this.platform=null,this.nativeModules=null,this.sdkType="js-client",this.reactNativeUUID=n,this.user=e,this.sdkVersion=s.version,this.statsigMetadata={sdkType:this.sdkType,sdkVersion:this.sdkVersion};var r,i=t;l.default.asyncStorage||(i=null!==(r=null!=i?i:c.default.getItem(u.STATSIG_STABLE_ID_KEY))&amp;&amp;void 0!==r?r:this.getUUID()),i&amp;&amp;(this.statsigMetadata.stableID=i)}return e.prototype.saveStableID=function(){null!=this.statsigMetadata.stableID&amp;&amp;c.default.setItem(u.STATSIG_STABLE_ID_KEY,this.statsigMetadata.stableID)},e.prototype.initAsync=function(){return r(this,void 0,void 0,function(){var e;return i(this,function(t){switch(t.label){case 0:if(e=this.statsigMetadata.stableID)return[3,2];return[4,l.default.getItemAsync(u.STATSIG_STABLE_ID_KEY)];case 1:e=null!=(e=t.sent())?e:this.getUUID(),t.label=2;case 2:return this.statsigMetadata.stableID=e,l.default.setItemAsync(u.STATSIG_STABLE_ID_KEY,e).catch(function(){}),[2,this]}})})},e.prototype.getSDKType=function(){return this.sdkType},e.prototype.getSDKVersion=function(){return this.sdkVersion},e.prototype.getStatsigMetadata=function(){return this.statsigMetadata.sdkType=this.sdkType,this.statsigMetadata.sdkVersion=this.sdkVersion,this.statsigMetadata},e.prototype.getUser=function(){return this.user},e.prototype.updateUser=function(e){this.user=e},e.prototype.setSDKPackageInfo=function(e){this.sdkType=e.sdkType,this.sdkVersion=e.sdkVersion},e.prototype.setPlatform=function(e){this.platform=e,this.updateMetadataFromNativeModules()},e.prototype.setNativeModules=function(e){this.nativeModules=e,this.updateMetadataFromNativeModules()},e.prototype.updateMetadataFromNativeModules=function(){var e,t,n,r,i,o,a;null!=this.platform&amp;&amp;null!=this.nativeModules&amp;&amp;((null===(e=this.platform.OS)||void 0===e?void 0:e.toLocaleLowerCase())==="android"?this.statsigMetadata.locale=null===(t=this.nativeModules.I18nManager)||void 0===t?void 0:t.localeIdentifier:(null===(n=this.platform.OS)||void 0===n?void 0:n.toLocaleLowerCase())==="ios"&amp;&amp;(this.statsigMetadata.locale=(null===(i=null===(r=this.nativeModules.SettingsManager)||void 0===r?void 0:r.settings)||void 0===i?void 0:i.AppleLocale)||(null===(a=null===(o=this.nativeModules.SettingsManager)||void 0===o?void 0:o.settings)||void 0===a?void 0:a.AppleLanguages[0])))},e.prototype.getUUID=function(){var e,t;return null!==(t=null===(e=this.reactNativeUUID)||void 0===e?void 0:e.v4())&amp;&amp;void 0!==t?t:(0,a.v4)()},e.prototype.setRNDeviceInfo=function(e){var t,n,r,i,o;this.statsigMetadata.appVersion=null!==(t=e.getVersion())&amp;&amp;void 0!==t?t:"",this.statsigMetadata.systemVersion=null!==(n=e.getSystemVersion())&amp;&amp;void 0!==n?n:"",this.statsigMetadata.systemName=null!==(r=e.getSystemName())&amp;&amp;void 0!==r?r:"",this.statsigMetadata.deviceModelName=null!==(i=e.getModel())&amp;&amp;void 0!==i?i:"",this.statsigMetadata.deviceModel=null!==(o=e.getDeviceId())&amp;&amp;void 0!==o?o:""},e.prototype.setExpoConstants=function(e){var t,n;this.statsigMetadata.appVersion=null!==(n=null!==(t=e.nativeAppVersion)&amp;&amp;void 0!==t?t:e.nativeBuildVersion)&amp;&amp;void 0!==n?n:""},e.prototype.setExpoDevice=function(e){var t,n,r,i;this.statsigMetadata.systemVersion=null!==(t=e.osVersion)&amp;&amp;void 0!==t?t:"",this.statsigMetadata.systemName=null!==(n=e.osName)&amp;&amp;void 0!==n?n:"",this.statsigMetadata.deviceModelName=null!==(r=e.modelName)&amp;&amp;void 0!==r?r:"",this.statsigMetadata.deviceModel=null!==(i=e.modelId)&amp;&amp;void 0!==i?i:""},e}();t.default=d},15583:function(e,t,n){"use strict";var r=this&amp;&amp;this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n&lt;r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i]);return e}).apply(this,arguments)},i=this&amp;&amp;this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},o=this&amp;&amp;this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&amp;i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&amp;&amp;(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&amp;&amp;(o=0,s[0]&amp;&amp;(a=0)),a;)try{if(n=1,r&amp;&amp;(i=2&amp;s[0]?r.return:s[0]?r.throw||((i=r.return)&amp;&amp;i.call(r),0):r.next)&amp;&amp;!(i=i.call(r,s[1])).done)return i;switch(r=0,i&amp;&amp;(s=[2&amp;s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length&gt;0&amp;&amp;i[i.length-1])&amp;&amp;(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&amp;&amp;(!i||s[1]&gt;i[0]&amp;&amp;s[1]&lt;i[3])){a.label=s[1];break}if(6===s[0]&amp;&amp;a.label&lt;i[1]){a.label=i[1],i=s;break}if(i&amp;&amp;a.label&lt;i[2]){a.label=i[2],a.ops.push(s);break}i[2]&amp;&amp;a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&amp;s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},a=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(7405),u=a(n(80386)),l=n(46819),c=n(67829),d=a(n(70619)),f=a(n(53183)),h=a(n(92418)),p=a(n(40731)),g="statsig::",v=g+"config_exposure",y=g+"layer_exposure",m=g+"gate_exposure",E=g+"log_event_failed",_=g+"app_error",b=g+"app_metrics::page_load_time",S=g+"app_metrics::dom_interactive_time",I=g+"app_metrics::scroll_depth",C=g+"app_metrics::time_on_page_ms",w=g+"diagnostics",D=g+"default_value_type_mismatch",k=g+"non_exposed_checks",O=function(){function e(e){this.failedLogEventCount=0,this.debugInfo=void 0,this.sdkInternal=e,this.queue=[],this.nonExposedChecks={},this.flushInterval=null,this.loggedErrors=new Set,this.failedLogEvents=[],this.exposureDedupeKeys={},this.failedLogEventCount=0,this.init()}return e.prototype.init=function(){var e=this;"undefined"!=typeof window&amp;&amp;"function"==typeof window.addEventListener&amp;&amp;(window.addEventListener("blur",function(){return e.flush(!0)}),window.addEventListener("beforeunload",function(){return e.flush(!0)}),window.addEventListener("load",function(){setTimeout(function(){return e.flush()},100),setTimeout(function(){return e.flush()},1e3)})),"undefined"!=typeof document&amp;&amp;"function"==typeof document.addEventListener&amp;&amp;document.addEventListener("visibilitychange",function(){e.flush("visible"!==document.visibilityState)}),!this.sdkInternal.getOptions().getIgnoreWindowUndefined()&amp;&amp;("undefined"==typeof window||null==window)||this.sdkInternal.getOptions().getLocalModeEnabled()||(this.flushInterval=setInterval(function(){e.flush()},this.sdkInternal.getOptions().getLoggingIntervalMillis()),setTimeout(function(){return e.flush()},100),setTimeout(function(){return e.flush()},1e3))},e.prototype.log=function(e){if(!this.sdkInternal.getOptions().isAllLoggingDisabled()){try{if(!this.sdkInternal.getOptions().getDisableCurrentPageLogging()&amp;&amp;"undefined"!=typeof window&amp;&amp;null!=window&amp;&amp;"object"==typeof window.location&amp;&amp;"string"==typeof window.location.href){var t=window.location.href.split(/[?#]/);(null==t?void 0:t.length)&gt;0&amp;&amp;e.addStatsigMetadata("currentPage",t[0])}}catch(e){}this.queue.push(e.toJsonObject()),this.queue.length&gt;=this.sdkInternal.getOptions().getLoggingBufferMaxSize()&amp;&amp;this.flush()}},e.prototype.resetDedupeKeys=function(){this.exposureDedupeKeys={}},e.prototype.setDebugInfo=function(e){this.debugInfo=e},e.prototype.shouldLogExposure=function(e){var t=this.exposureDedupeKeys[e],n=Date.now();return null==t?(this.exposureDedupeKeys[e]=n,!0):!(t&gt;=n-6e5)&amp;&amp;(this.exposureDedupeKeys[e]=n,!0)},e.prototype.addNonExposedCheck=function(e){null==this.nonExposedChecks[e]?this.nonExposedChecks[e]=1:this.nonExposedChecks[e]++},e.prototype.logGateExposure=function(e,t,n,r,i,o,a,s){var l=t+String(n)+r+o.reason;if(this.shouldLogExposure(l)){var c={gate:t,gateValue:String(n),ruleID:r,reason:o.reason,time:o.time,debugInfo:this.debugInfo};a&amp;&amp;(c.isManualExposure="true"),null!=s&amp;&amp;(c.bootstrapMetadata=s);var d=new u.default(m);d.setUser(e),d.setMetadata(c),d.setSecondaryExposures(i),this.log(d)}},e.prototype.logConfigExposure=function(e,t,n,r,i,o,a){var s=t+n+i.reason;if(this.shouldLogExposure(s)){var l={config:t,ruleID:n,reason:i.reason,time:i.time,debugInfo:this.debugInfo};o&amp;&amp;(l.isManualExposure="true"),null!=a&amp;&amp;(l.bootstrapMetadata=a);var c=new u.default(v);c.setUser(e),c.setMetadata(l),c.setSecondaryExposures(r),this.log(c)}},e.prototype.logLayerExposure=function(e,t,n,r,i,o,a,s,l,c){var d=[t,n,i,o,String(a),s.reason].join("|");if(this.shouldLogExposure(d)){var f={config:t,ruleID:n,allocatedExperiment:i,parameterName:o,isExplicitParameter:String(a),reason:s.reason,time:s.time,debugInfo:this.debugInfo};l&amp;&amp;(f.isManualExposure="true"),null!=c&amp;&amp;(f.bootstrapMetadata=c);var h=new u.default(y);h.setUser(e),h.setMetadata(f),h.setSecondaryExposures(r),this.log(h)}},e.prototype.logConfigDefaultValueFallback=function(e,t,n){this.logGenericEvent(D,e,t,n),this.loggedErrors.add(t),f.default.error(t)},e.prototype.logAppError=function(e,t,n){var r=t.substring(0,128);this.loggedErrors.has(r)||this.loggedErrors.size&gt;10||(this.logGenericEvent(_,e,r,n),this.loggedErrors.add(r))},e.prototype.logDiagnostics=function(e,t){var n=d.default.getMarkers(t);if(!(n.length&lt;=0)){d.default.clearContext(t);var r=this.makeDiagnosticsEvent(e,{markers:n,context:t,statsigOptions:this.sdkInternal.getOptions().getLoggingCopy()});this.log(r)}},e.prototype.logAppMetrics=function(e){var t,n=this;if("function"==typeof(null===(t=null==window?void 0:window.performance)||void 0===t?void 0:t.getEntriesByType)){var r=window.performance.getEntriesByType("navigation");if(r&amp;&amp;!(r.length&lt;1)){var i=r[0],o={url:i.name};if(i instanceof PerformanceNavigationTiming&amp;&amp;(this.logGenericEvent(b,e,i.duration,o),this.logGenericEvent(S,e,i.domInteractive-i.startTime,o)),"function"==typeof(null==window?void 0:window.addEventListener)&amp;&amp;(null==document?void 0:document.body)){var a=0,s=!1;window.addEventListener("scroll",function(){if((null==document?void 0:document.body)!=null)try{var e=document.body.scrollHeight||1,t=Math.min(100,Math.round((window.scrollY+window.innerHeight)/e*100));t&gt;a&amp;&amp;(a=t),s=!0}catch(e){}}),window.addEventListener("beforeunload",function(){s&amp;&amp;n.logGenericEvent(I,e,a,o),n.logGenericEvent(C,e,window.performance.now(),o)})}}}},e.prototype.logGenericEvent=function(e,t,n,r){var i=new u.default(e);return i.setUser(t),i.setValue(n),i.setMetadata(r),this.log(i),i},e.prototype.shutdown=function(){this.flushInterval&amp;&amp;(clearInterval(this.flushInterval),this.flushInterval=null),this.flush(!0)},e.prototype.flush=function(e){var t=this;if(void 0===e&amp;&amp;(e=!1),this.addErrorBoundaryDiagnostics(),this.addNonExposedChecksEvent(),0===this.queue.length){e&amp;&amp;this.saveFailedRequests();return}var n=this.sdkInternal.getStatsigMetadata();null==n.sessionID&amp;&amp;(n.sessionID=(0,s.v4)());var r=this.queue;if(this.queue=[],e&amp;&amp;!this.sdkInternal.getNetwork().supportsKeepalive()&amp;&amp;"undefined"!=typeof navigator&amp;&amp;(null==navigator?void 0:navigator.sendBeacon)!=null){!this.sdkInternal.getNetwork().sendLogBeacon({events:r,statsigMetadata:this.sdkInternal.getStatsigMetadata()})&amp;&amp;(this.queue=r.concat(this.queue),this.queue.length&gt;0&amp;&amp;(this.addFailedRequest({events:this.queue,statsigMetadata:this.sdkInternal.getStatsigMetadata(),time:Date.now()}),this.queue=[])),this.saveFailedRequests();return}this.sdkInternal.getNetwork().postToEndpoint(l.StatsigEndpoint.Rgstr,{events:r,statsigMetadata:this.sdkInternal.getStatsigMetadata()},{retryOptions:{retryLimit:3,backoff:1e3},useKeepalive:e,additionalHeaders:{"STATSIG-EVENT-COUNT":String(r.length)}}).then(function(e){if(!e.ok)throw e}).catch(function(e){t.addFailedRequest({events:r,statsigMetadata:t.sdkInternal.getStatsigMetadata(),time:Date.now()})}).finally(function(){e&amp;&amp;t.saveFailedRequests()})},e.prototype.saveFailedRequests=function(){var e=this;if(this.failedLogEvents.length&gt;0){var t=JSON.stringify(this.failedLogEvents);if(t.length&gt;1024e3){this.logDroppedLogEventsException(this.failedLogEventCount,"Exceeds local storage size");return}if(h.default.asyncStorage){h.default.setItemAsync(c.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY,t).catch(function(t){return e.sdkInternal.getErrorBoundary().logError("saveFailedRequests",t)});return}p.default.setItem(c.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY,t)}},e.prototype.sendSavedRequests=function(){return i(this,void 0,void 0,function(){var e,t,n,r,i,a,s,u,d=this;return o(this,function(o){switch(o.label){case 0:if(t=!1,!h.default.asyncStorage)return[3,2];return[4,h.default.getItemAsync(c.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY)];case 1:return e=o.sent(),[3,3];case 2:e=p.default.getItem(c.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY),o.label=3;case 3:if(null==e)return[2];e.length&gt;1024e3&amp;&amp;(t=!0),n=[];try{for(a=0,n=JSON.parse(e),r=function(e){null!=e&amp;&amp;e.events&amp;&amp;Array.isArray(e.events)&amp;&amp;i.sdkInternal.getNetwork().postToEndpoint(l.StatsigEndpoint.Rgstr,e,{additionalHeaders:{"STATSIG-EVENT-COUNT":String(e.events.length)}}).then(function(e){if(!e.ok)throw Error(e.status+"")}).catch(function(){if(t){d.logDroppedLogEventsException(e.events.length,"Flush while shutting down");return}d.addFailedRequest(e)})},i=this,s=n;a&lt;s.length;a++)u=s[a],r(u)}catch(e){f.default.error("sendSavedRequests ",e),this.sdkInternal.getErrorBoundary().logError("sendSavedRequests",e)}finally{this.clearLocalStorageRequests()}return[2]}})})},e.prototype.addFailedRequest=function(e){var t=e.events.length;if(e.time&lt;Date.now()-432e6){this.logDroppedLogEventsException(t,"Events too old");return}if(this.failedLogEvents.length&gt;100){this.logDroppedLogEventsException(t,"Exceed max batches to retry");return}var n=e.events.length;if(this.failedLogEventCount+n&gt;1e3){this.logDroppedLogEventsException(t,"Exceeds max failed events");return}this.failedLogEvents.push(e),this.failedLogEventCount+=n},e.prototype.clearLocalStorageRequests=function(){var e=this;h.default.asyncStorage?h.default.removeItemAsync(c.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY).catch(function(t){return e.sdkInternal.getErrorBoundary().logError("clearLocalStorageRequests",t)}):p.default.removeItem(c.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY)},e.prototype.makeDiagnosticsEvent=function(e,t){var n=new u.default(w);return n.setUser(e),n.setMetadata(t),n},e.prototype.addErrorBoundaryDiagnostics=function(){if(0!==d.default.getMarkerCount("api_call")){var e=this.makeDiagnosticsEvent(this.sdkInternal.getCurrentUser(),{context:"api_call",markers:d.default.getMarkers("api_call")});this.queue.push(e),d.default.clearContext("api_call")}},e.prototype.addNonExposedChecksEvent=function(){if(0!==Object.keys(this.nonExposedChecks).length){var e=new u.default(k);e.setMetadata({checks:r({},this.nonExposedChecks)}),this.queue.push(e),this.nonExposedChecks={}}},e.prototype.logDroppedLogEventsException=function(e,t){this.sdkInternal.getErrorBoundary().logError(E,Error(t),{getExtraData:function(){return{eventCount:e}}})},e}();t.default=O},46819:function(e,t,n){"use strict";var r,i,o=this&amp;&amp;this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n&lt;r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i]);return e}).apply(this,arguments)},a=this&amp;&amp;this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},s=this&amp;&amp;this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&amp;i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&amp;&amp;(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&amp;&amp;(o=0,s[0]&amp;&amp;(a=0)),a;)try{if(n=1,r&amp;&amp;(i=2&amp;s[0]?r.return:s[0]?r.throw||((i=r.return)&amp;&amp;i.call(r),0):r.next)&amp;&amp;!(i=i.call(r,s[1])).done)return i;switch(r=0,i&amp;&amp;(s=[2&amp;s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length&gt;0&amp;&amp;i[i.length-1])&amp;&amp;(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&amp;&amp;(!i||s[1]&gt;i[0]&amp;&amp;s[1]&lt;i[3])){a.label=s[1];break}if(6===s[0]&amp;&amp;a.label&lt;i[1]){a.label=i[1],i=s;break}if(i&amp;&amp;a.label&lt;i[2]){a.label=i[2],a.ops.push(s);break}i[2]&amp;&amp;a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&amp;s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},u=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigEndpoint=void 0;var l=n(21689),c=u(n(53049)),d=u(n(70619)),f=u(n(53183));(r=i=t.StatsigEndpoint||(t.StatsigEndpoint={})).Initialize="initialize",r.Rgstr="rgstr",r.LogEventBeacon="rgstr_b";var h=function(){function e(e){this.retryCodes={408:!0,500:!0,502:!0,503:!0,504:!0,522:!0,524:!0,599:!0},this.canUseKeepalive=!1,this.sdkInternal=e,this.leakyBucket={},this.init()}return e.prototype.init=function(){if(!this.sdkInternal.getOptions().getDisableNetworkKeepalive())try{this.canUseKeepalive="keepalive"in new Request("")}catch(e){this.canUseKeepalive=!1}},e.prototype.fetchValues=function(e){var t=e.user,n=e.sinceTime,r=e.timeout,o=e.useDeltas,a=e.prefetchUsers,s=e.previousDerivedFields,u=e.hadBadDeltaChecksum,l=e.badChecksum,c=e.badMergedConfigs,f=e.badFullResponse,h={user:t,prefetchUsers:a,statsigMetadata:this.sdkInternal.getStatsigMetadata(),sinceTime:null!=n?n:void 0,deltasResponseRequested:o,hash:this.sdkInternal.getOptions().getDisableHashing()?"none":"djb2",previousDerivedFields:s,hadBadDeltaChecksum:u,badChecksum:l,badMergedConfigs:c,badFullResponse:f};return this.postWithTimeout(i.Initialize,h,{timeout:r,retries:this.sdkInternal.getOptions().getInitRequestRetries(),diagnostics:d.default.mark.initialize.networkRequest})},e.prototype.postWithTimeout=function(e,t,n){var r,i,o=this,u=null!=n?n:{},c=u.timeout,d=void 0===c?0:c,h=u.retries,p=void 0===h?0:h,g=u.backoff,v=void 0===g?1e3:g,y=u.diagnostics,m=!1,E=null,_=null,b=[];0!=d&amp;&amp;(E=new Promise(function(e,t){r=setTimeout(function(){m=!0,t(new l.StatsigInitializationTimeoutError(d))},d)}));var S=this.postToEndpoint(e,t,{retryOptions:{retryLimit:p,backoff:v},diagnostics:void 0===y?null:y}).then(function(n){if(!(i=n).ok){var r="Request to ".concat(e," failed with status ").concat(i.status);return f.default.error(r),Promise.reject(Error(r))}if("object"!=typeof i.data){var r="Request to ".concat(e," received invalid response type. Expected 'object' but got '").concat(typeof i.data,"'");f.default.error(r);var u=Error(r);return o.sdkInternal.getErrorBoundary().logError("postWithTimeoutInvalidRes",u,{getExtraData:function(){return o.getErrorData(e,t,p,v,i)}}),Promise.reject(u)}var l=i.data;return o.sdkInternal.getErrorBoundary().capture("postWithTimeout",function(){return a(o,void 0,void 0,function(){return s(this,function(e){return _=l,m&amp;&amp;(b.forEach(function(e){return e(l)}),b=[]),[2,Promise.resolve(l)]})})},function(){return Promise.resolve({})},{getExtraData:function(){return o.getErrorData(e,t,p,v,i)}})}).catch(function(e){return Promise.reject(e)}).finally(function(){clearTimeout(r)}),I=E?Promise.race([S,E]):S;return I.eventually=function(e){return m&amp;&amp;_?e(_):b.push(e),I},I},e.prototype.sendLogBeacon=function(e){var t=this.sdkInternal.getOptions();if(t.getLocalModeEnabled())return!0;var n=new URL(t.getEventLoggingApi()+i.LogEventBeacon);n.searchParams.append("k",this.sdkInternal.getSDKKey()),e.clientTime=Date.now()+"";var r=null;try{r=JSON.stringify(e)}catch(e){return!1}return navigator.sendBeacon(n.toString(),r)},e.prototype.postToEndpoint=function(e,t,n){var r;return a(this,void 0,void 0,function(){var u,l,d,h,p,g,v,y,m,E,_,b,S,I,C,w,D,k,O,x,L=this;return s(this,function(A){if(d=void 0!==(l=(u=null!=n?n:{}).useKeepalive)&amp;&amp;l,p=void 0===(h=u.diagnostics)?null:h,y=void 0===(v=(g=null!==(r=null==n?void 0:n.retryOptions)&amp;&amp;void 0!==r?r:{}).retryLimit)?0:v,E=void 0===(m=g.attempt)?1:m,b=void 0===(_=g.backoff)?1e3:_,(S=this.sdkInternal.getOptions()).getLocalModeEnabled())return[2,Promise.resolve({})];if("function"!=typeof fetch)return f.default.error("Not issuing network request because fetch is not defined"),[2,Promise.resolve({})];if("undefined"==typeof window&amp;&amp;!S.getIgnoreWindowUndefined())return f.default.error("Not issuing network request because window is not defined. To bypass this, set ignoreWindowUndefined in StatsigOptions"),[2,Promise.resolve({})];if(I=([i.Initialize].includes(e)?S.getApi():S.getEventLoggingApi())+e,null!=(C=this.leakyBucket[I])&amp;&amp;C&gt;=30)return[2,Promise.reject(Error("Request failed because you are making the same request too frequently."))];if(null==C?this.leakyBucket[I]=1:this.leakyBucket[I]=C+1,w=e===i.Initialize&amp;&amp;c.default.encodeInitializeCall&amp;&amp;"undefined"!=typeof window&amp;&amp;"function"==typeof(null==window?void 0:window.btoa),D=JSON.stringify(t),w)try{D=window.btoa(D).split("").reverse().join("")}catch(e){w=!1}return k={method:"POST",body:D,headers:o({"Content-type":"application/json; charset=UTF-8","STATSIG-API-KEY":this.sdkInternal.getSDKKey(),"STATSIG-CLIENT-TIME":Date.now()+"","STATSIG-SDK-TYPE":this.sdkInternal.getSDKType(),"STATSIG-SDK-VERSION":this.sdkInternal.getSDKVersion(),"STATSIG-ENCODED":w?"1":"0"},null==n?void 0:n.additionalHeaders)},this.canUseKeepalive&amp;&amp;d&amp;&amp;(k.keepalive=!0),null==p||p.start({attempt:E}),x=!0,[2,fetch(I,k).then(function(e){return a(L,void 0,void 0,function(){var t,n,r;return s(this,function(i){switch(i.label){case 0:if(!(O=e).ok)return[3,4];if(t=O,204!==O.status)return[3,1];return t.data={has_updates:!1,is_no_content:!0},[3,3];case 1:return[4,O.text()];case 2:n=i.sent(),t.data=JSON.parse(n),i.label=3;case 3:return null==p||p.end(this.getDiagnosticsData(O,E)),[2,Promise.resolve(t)];case 4:return this.retryCodes[O.status]||(x=!1),[4,O.text()];case 5:return r=i.sent(),[2,Promise.reject(Error("".concat(O.status,": ").concat(r)))]}})})}).catch(function(n){null==p||p.end(L.getDiagnosticsData(O,E,n));var r="Error occurred while posting to endpoint: ".concat(n.message,"\n")+"Error Details: ".concat(JSON.stringify(n),"\n")+"Endpoint: ".concat(e,"\n")+"Attempt: ".concat(E,"\n")+"Retry Limit: ".concat(y,"\n")+"Backoff: ".concat(b);return(f.default.error(r),E&lt;y&amp;&amp;x)?new Promise(function(n,r){setTimeout(function(){L.leakyBucket[I]=Math.max(L.leakyBucket[I]-1,0),L.postToEndpoint(e,t,{retryOptions:{retryLimit:y,attempt:E+1,backoff:2*b},useKeepalive:d,diagnostics:p}).then(n).catch(r)},b)}):Promise.reject(n)}).finally(function(){L.leakyBucket[I]=Math.max(L.leakyBucket[I]-1,0)})]})})},e.prototype.supportsKeepalive=function(){return this.canUseKeepalive},e.prototype.getDiagnosticsData=function(e,t,n){var r,i;return{success:(null==e?void 0:e.ok)===!0,statusCode:null==e?void 0:e.status,sdkRegion:null===(r=null==e?void 0:e.headers)||void 0===r?void 0:r.get("x-statsig-region"),isDelta:(null===(i=null==e?void 0:e.data)||void 0===i?void 0:i.is_delta)===!0,attempt:t,error:d.default.formatError(n)}},e.prototype.getErrorData=function(e,t,n,r,i){var o;try{var a={};return(null!==(o=i.headers)&amp;&amp;void 0!==o?o:[]).forEach(function(e,t){a[t]=e}),{responseInfo:{headers:a,status:i.status,statusText:i.statusText,type:i.type,url:i.url,redirected:i.redirected,bodySnippet:i.data?JSON.stringify(i.data).slice(0,500):null},requestInfo:{endpointName:e,bodySnippet:JSON.stringify(t).slice(0,500),retries:n,backoff:r}}}catch(e){return{statusText:"statsig::failed to extract extra data"}}},e}();t.default=h},53049:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.encodeInitializeCall=!0,e}();t.default=n},15654:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=t.INIT_TIMEOUT_DEFAULT_MS=void 0,t.INIT_TIMEOUT_DEFAULT_MS=3e3,(r=n=t.LogLevel||(t.LogLevel={})).NONE="NONE",r.INFO="INFO",r.DEBUG="DEBUG",r.WARN="WARN",r.ERROR="ERROR";var n,r,i=function(){function e(e){null==e&amp;&amp;(e={});var r,i,o,a,s,u,l,c,d,f,h,p,g,v,y,m,E,_,b,S,I,C,w,D,k,O,x,L=null!==(r=e.api)&amp;&amp;void 0!==r?r:"https://featureassets.org/v1/";this.api=L.endsWith("/")?L:L+"/",this.disableCurrentPageLogging=null!==(i=e.disableCurrentPageLogging)&amp;&amp;void 0!==i&amp;&amp;i,this.environment=null!==(o=e.environment)&amp;&amp;void 0!==o?o:null,this.loggingIntervalMillis=this.normalizeNumberInput(e.loggingIntervalMillis,{default:1e4,min:1e3,max:6e4}),this.loggingBufferMaxSize=this.normalizeNumberInput(e.loggingBufferMaxSize,{default:100,min:2,max:500}),this.disableNetworkKeepalive=null!==(a=e.disableNetworkKeepalive)&amp;&amp;void 0!==a&amp;&amp;a,this.initRequestRetries=null!==(s=e.initRequestRetries)&amp;&amp;void 0!==s?s:3,this.overrideStableID=null!==(u=e.overrideStableID)&amp;&amp;void 0!==u?u:null,this.localMode=null!==(l=e.localMode)&amp;&amp;void 0!==l&amp;&amp;l,this.initTimeoutMs=e.initTimeoutMs&amp;&amp;e.initTimeoutMs&gt;=0?e.initTimeoutMs:t.INIT_TIMEOUT_DEFAULT_MS,this.disableErrorLogging=null!==(c=e.disableErrorLogging)&amp;&amp;void 0!==c&amp;&amp;c,this.disableAutoMetricsLogging=null!==(d=e.disableAutoMetricsLogging)&amp;&amp;void 0!==d&amp;&amp;d,this.initializeValues=null!==(f=e.initializeValues)&amp;&amp;void 0!==f?f:null;var A=null!==(p=null!==(h=e.eventLoggingApi)&amp;&amp;void 0!==h?h:e.api)&amp;&amp;void 0!==p?p:"https://prodregistryv2.org/v1/";this.eventLoggingApi=A.endsWith("/")?A:A+"/",this.prefetchUsers=null!==(g=e.prefetchUsers)&amp;&amp;void 0!==g?g:[],this.disableLocalStorage=null!==(v=e.disableLocalStorage)&amp;&amp;void 0!==v&amp;&amp;v,this.initCompletionCallback=null!==(y=e.initCompletionCallback)&amp;&amp;void 0!==y?y:null,this.updateCompletionCallback=null!==(m=e.updateUserCompletionCallback)&amp;&amp;void 0!==m?m:null,this.disableDiagnosticsLogging=null!==(E=e.disableDiagnosticsLogging)&amp;&amp;void 0!==E&amp;&amp;E,this.logLevel=null!==(_=null==e?void 0:e.logLevel)&amp;&amp;void 0!==_?_:n.NONE,this.logger=null!==(b=null==e?void 0:e.logger)&amp;&amp;void 0!==b?b:console,this.ignoreWindowUndefined=null!==(S=null==e?void 0:e.ignoreWindowUndefined)&amp;&amp;void 0!==S&amp;&amp;S,this.fetchMode=null!==(I=e.fetchMode)&amp;&amp;void 0!==I?I:"network-only",this.disableLocalOverrides=null!==(C=null==e?void 0:e.disableLocalOverrides)&amp;&amp;void 0!==C&amp;&amp;C,this.gateEvaluationCallback=null!==(w=null==e?void 0:e.gateEvaluationCallback)&amp;&amp;void 0!==w?w:null,this.userPersistentStorage=null!==(D=null==e?void 0:e.userPersistentStorage)&amp;&amp;void 0!==D?D:null,this.disableAllLogging=null!==(k=e.disableAllLogging)&amp;&amp;void 0!==k&amp;&amp;k,this.setLoggingCopy(e),this.disableHashing=null!==(O=e.disableHashing)&amp;&amp;void 0!==O&amp;&amp;O,this.evaluationCallback=null!==(x=e.evaluationCallback)&amp;&amp;void 0!==x?x:null}return e.prototype.setLoggingCopy=function(e){if(null!=e&amp;&amp;null==this.loggingCopy){var t={};Object.entries(e).forEach(function(n){var r,i,o=n[0],a=n[1];switch(typeof a){case"number":case"bigint":case"boolean":t[String(o)]=a;break;case"string":a.length&lt;50?t[String(o)]=a:t[String(o)]="set";break;case"object":"environment"===o?t.environment=a:"prefetchUsers"===o?t.prefetchUsers=(null!==(i=null===(r=e.prefetchUsers)||void 0===r?void 0:r.length)&amp;&amp;void 0!==i?i:0)&gt;0:t[String(o)]=null!=a?"set":"unset";break;case"function":"userPersistentStorage"===o&amp;&amp;(t.userPersistentStorage=null!=a?"set":"unset")}}),this.loggingCopy=t}},e.prototype.getLoggingCopy=function(){return this.loggingCopy},e.prototype.getOutputLogger=function(){return this.logger},e.prototype.getApi=function(){return this.api},e.prototype.getEnvironment=function(){return this.environment},e.prototype.getDisableCurrentPageLogging=function(){return this.disableCurrentPageLogging},e.prototype.getLoggingIntervalMillis=function(){return this.loggingIntervalMillis},e.prototype.getLoggingBufferMaxSize=function(){return this.loggingBufferMaxSize},e.prototype.getDisableNetworkKeepalive=function(){return this.disableNetworkKeepalive},e.prototype.getOverrideStableID=function(){return this.overrideStableID},e.prototype.getLocalModeEnabled=function(){return this.localMode},e.prototype.getInitTimeoutMs=function(){return this.initTimeoutMs},e.prototype.getDisableErrorLogging=function(){return this.disableErrorLogging},e.prototype.getDisableAutoMetricsLogging=function(){return this.disableAutoMetricsLogging},e.prototype.getInitializeValues=function(){return this.initializeValues},e.prototype.getEventLoggingApi=function(){return this.eventLoggingApi},e.prototype.getPrefetchUsers=function(){return this.prefetchUsers},e.prototype.getDisableLocalStorage=function(){return this.disableLocalStorage},e.prototype.getInitCompletionCallback=function(){return this.initCompletionCallback},e.prototype.getUpdateUserCompletionCallback=function(){return this.updateCompletionCallback},e.prototype.getDisableDiagnosticsLogging=function(){return this.disableDiagnosticsLogging},e.prototype.getLogLevel=function(){return this.logLevel},e.prototype.getIgnoreWindowUndefined=function(){return this.ignoreWindowUndefined},e.prototype.getFetchMode=function(){return this.fetchMode},e.prototype.getDisableLocalOverrides=function(){return this.disableLocalOverrides},e.prototype.getGateEvaluationCallback=function(){return this.gateEvaluationCallback},e.prototype.getUserPersistentStorage=function(){return this.userPersistentStorage},e.prototype.getDisableHashing=function(){return this.disableHashing},e.prototype.getInitRequestRetries=function(){return this.initRequestRetries},e.prototype.isAllLoggingDisabled=function(){return this.disableAllLogging},e.prototype.reenableAllLogging=function(){this.disableAllLogging=!1},e.prototype.getEvaluationCallback=function(){return this.evaluationCallback},e.prototype.normalizeNumberInput=function(e,t){return null==e?t.default:Math.max(Math.min(e,t.max),t.min)},e}();t.default=i},95135:function(e,t,n){"use strict";var r=this&amp;&amp;this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n&lt;r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i]);return e}).apply(this,arguments)},i=this&amp;&amp;this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},o=this&amp;&amp;this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&amp;i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&amp;&amp;(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&amp;&amp;(o=0,s[0]&amp;&amp;(a=0)),a;)try{if(n=1,r&amp;&amp;(i=2&amp;s[0]?r.return:s[0]?r.throw||((i=r.return)&amp;&amp;i.call(r),0):r.next)&amp;&amp;!(i=i.call(r,s[1])).done)return i;switch(r=0,i&amp;&amp;(s=[2&amp;s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length&gt;0&amp;&amp;i[i.length-1])&amp;&amp;(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&amp;&amp;(!i||s[1]&gt;i[0]&amp;&amp;s[1]&lt;i[3])){a.label=s[1];break}if(6===s[0]&amp;&amp;a.label&lt;i[1]){a.label=i[1],i=s;break}if(i&amp;&amp;a.label&lt;i[2]){a.label=i[2],a.ops.push(s);break}i[2]&amp;&amp;a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&amp;s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},a=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(79401)),u=a(n(91130)),l=a(n(18832)),c=n(67829),d=n(98920),f=n(74854),h=a(n(53183)),p=n(1217),g=a(n(92418)),v=a(n(40731)),y=function(){function e(e,t){this.overrides={gates:{},configs:{},layers:{}},this.sdkInternal=e,this.userCacheKey=this.sdkInternal.getCurrentUserCacheKey(),this.values={},this.userValues={feature_gates:{},dynamic_configs:{},sticky_experiments:{},layer_configs:{},has_updates:!1,time:0,evaluation_time:0,derived_fields:{}},this.stickyDeviceExperiments={},this.loaded=!1,this.reason=d.EvaluationReason.Uninitialized,this.userPersistentStorageAdapter=this.sdkInternal.getOptions().getUserPersistentStorage(),this.userPersistentStorageData={experiments:{}},t?this.bootstrap(t):this.load()}return e.prototype.load=function(){this.loadFromLocalStorage(),this.partialLoadFromPersistentStorageAdapter()},e.prototype.loadAsync=function(){return i(this,void 0,void 0,function(){return o(this,function(e){switch(e.label){case 0:return[4,this.loadFromAsyncStorage()];case 1:return e.sent(),this.partialLoadFromPersistentStorageAdapter(),[2]}})})},e.prototype.updateUser=function(e){this.userCacheKey=this.sdkInternal.getCurrentUserCacheKey();var t=this.setUserValueFromCache(e);return this.partialLoadFromPersistentStorageAdapter(),t},e.prototype.getInitializeResponseJson=function(){return JSON.stringify(this.userValues)},e.prototype.loadFromAsyncStorage=function(){return i(this,void 0,void 0,function(){var e,t;return o(this,function(n){switch(n.label){case 0:return e=this.parseCachedValues,[4,g.default.getItemAsync(c.INTERNAL_STORE_KEY)];case 1:return t=[n.sent()],[4,g.default.getItemAsync(c.STICKY_DEVICE_EXPERIMENTS_KEY)];case 2:return e.apply(this,t.concat([n.sent()])),this.userCacheKey=this.sdkInternal.getCurrentUserCacheKey(),this.loaded=!0,[2]}})})},e.prototype.bootstrap=function(e){var t,n,r,i,o,a,s,u=this.sdkInternal.getCurrentUserCacheKey(),c=this.sdkInternal.getCurrentUser(),d=null!==(r=null!==(t=this.sdkInternal.getStatsigMetadata().stableID)&amp;&amp;void 0!==t?t:null===(n=null==c?void 0:c.customIDs)||void 0===n?void 0:n.stableID)&amp;&amp;void 0!==r?r:null,f=l.default.getEvaluationReasonForBootstrap(c,e,d);this.loaded=!0;try{this.userValues.feature_gates=null!==(i=e.feature_gates)&amp;&amp;void 0!==i?i:{},this.userValues.dynamic_configs=null!==(o=e.dynamic_configs)&amp;&amp;void 0!==o?o:{},this.userValues.layer_configs=null!==(a=e.layer_configs)&amp;&amp;void 0!==a?a:{},this.userValues.evaluation_time=Date.now(),this.userValues.time=null!==(s=e.time)&amp;&amp;void 0!==s?s:Date.now(),this.userValues.hash_used=e.hash_used,this.values[u.v3]=this.userValues,this.reason=f;var h=e.sdkInfo;this.userValues.bootstrapMetadata={},null!=h&amp;&amp;(this.userValues.bootstrapMetadata.generatorSDKInfo=h),null!=e.user&amp;&amp;(this.userValues.bootstrapMetadata.user=e.user),null!=e.time&amp;&amp;(this.userValues.bootstrapMetadata.lcut=e.time),this.loadOverrides()}catch(e){return}},e.prototype.loadFromLocalStorage=function(){g.default.asyncStorage||(this.parseCachedValues(v.default.getItem(c.INTERNAL_STORE_KEY),v.default.getItem(c.STICKY_DEVICE_EXPERIMENTS_KEY)),this.loaded=!0)},e.prototype.partialLoadFromPersistentStorageAdapter=function(){var e;if(this.userPersistentStorageAdapter){var t=null!==(e=this.userPersistentStorageAdapter.userIDType)&amp;&amp;void 0!==e?e:"userID",n=this.sdkInternal.getCurrentUserUnitID(t);if(n){try{this.userPersistentStorageData=JSON.parse(this.userPersistentStorageAdapter.load("".concat(n,":").concat(t)))}catch(e){h.default.warn("Failed to load from user persistent storage.",e)}this.userValues.sticky_experiments=this.userPersistentStorageData.experiments}}},e.prototype.saveStickyExperimentsToPersistentStorageAdapter=function(){var e;if(this.userPersistentStorageAdapter){var t=null!==(e=this.userPersistentStorageAdapter.userIDType)&amp;&amp;void 0!==e?e:"userID",n=this.sdkInternal.getCurrentUserUnitID(t);if(n){var i=r(r({},this.userPersistentStorageData),{experiments:this.userValues.sticky_experiments});try{this.userPersistentStorageAdapter.save("".concat(n,":").concat(t),JSON.stringify(i))}catch(e){h.default.warn("Failed to save user experiment values to persistent storage.",e)}}}},e.prototype.isLoaded=function(){return this.loaded},e.prototype.getLastUpdateTime=function(e,t){var n=(0,f.getUserCacheKey)(t,e,this.sdkInternal.getSDKKey()),i=this.getUserValues(n),o=(0,f.djb2HashForObject)(r(r({},e),{stableID:t}));return(null==i?void 0:i.user_hash)==o?this.userValues.time:null},e.prototype.getPreviousDerivedFields=function(e,t){var n=(0,f.getUserCacheKey)(t,e,this.sdkInternal.getSDKKey()),i=this.getUserValues(n),o=(0,f.djb2HashForObject)(r(r({},e),{stableID:t}));if((null==i?void 0:i.user_hash)==o)return this.userValues.derived_fields},e.prototype.getPreviousHashUsed=function(e,t){var n=(0,f.getUserCacheKey)(t,e,this.sdkInternal.getSDKKey()),r=this.getUserValues(n);return null==r?void 0:r.hash_used},e.prototype.parseCachedValues=function(e,t){try{this.values=e?JSON.parse(e):this.values,this.setUserValueFromCache()}catch(e){this.removeFromStorage(c.INTERNAL_STORE_KEY)}try{var n=t?JSON.parse(t):null;n&amp;&amp;(this.stickyDeviceExperiments=n)}catch(e){this.removeFromStorage(c.STICKY_DEVICE_EXPERIMENTS_KEY)}this.loadOverrides()},e.prototype.getUserValues=function(e){var t,n;return null!==(n=null!==(t=this.values[e.v3])&amp;&amp;void 0!==t?t:this.values[e.v2])&amp;&amp;void 0!==n?n:this.values[e.v1]},e.prototype.setUserValueFromCache=function(e){void 0===e&amp;&amp;(e=!1);var t,n=this.getUserValues(this.userCacheKey);return null==n?(this.resetUserValues(),this.reason=d.EvaluationReason.Uninitialized,null):(this.userValues=n,this.reason=e?d.EvaluationReason.Prefetch:d.EvaluationReason.Cache,null!==(t=n.evaluation_time)&amp;&amp;void 0!==t?t:0)},e.prototype.removeFromStorage=function(e){var t=this;g.default.removeItemAsync(e).catch(function(e){return t.sdkInternal.getErrorBoundary().logError("removeFromStorage",e)}),v.default.removeItem(e)},e.prototype.loadOverrides=function(){if(!this.sdkInternal.getOptions().getDisableLocalOverrides()){var e=v.default.getItem(c.OVERRIDES_STORE_KEY);if(null!=e)try{this.overrides=JSON.parse(e)}catch(e){v.default.removeItem(c.OVERRIDES_STORE_KEY)}}},e.prototype.setEvaluationReason=function(e){this.reason=e},e.prototype.getBootstrapMetadata=function(){var e;return null!==(e=this.userValues.bootstrapMetadata)&amp;&amp;void 0!==e?e:null},e.prototype.save=function(e,t,n,r){return i(this,void 0,void 0,function(){var i,a,s,u;return o(this,function(o){switch(o.label){case 0:if(i=(0,f.getUserCacheKey)(n,e,this.sdkInternal.getSDKKey()),(a=t).is_delta)return[2,this.saveInitDeltas(e,t,!0,n,r)];return this.mergeInitializeResponseIntoUserMap(a,this.values,i,e,function(e){return e},n,r),(s=this.getUserValues(i))&amp;&amp;i&amp;&amp;i.v3===this.userCacheKey.v3&amp;&amp;(this.userValues=s,this.reason=d.EvaluationReason.Network),u=this,[4,this.writeValuesToStorage(this.values)];case 1:return u.values=o.sent(),[2]}})})},e.prototype.saveWithoutUpdatingClientState=function(e,t,n,r){return i(this,void 0,void 0,function(){var i,a,s;return o(this,function(o){switch(o.label){case 0:if(i=(0,f.getUserCacheKey)(n,e,this.sdkInternal.getSDKKey()),(a=t).is_delta)return[2,this.saveInitDeltas(e,t,!1,n,r)];return s=JSON.parse(JSON.stringify(this.values)),this.mergeInitializeResponseIntoUserMap(a,s,i,e,function(e){return e},n,r),[4,this.writeValuesToStorage(s)];case 1:return o.sent(),[2]}})})},e.prototype.getDeltasMergeFunction=function(e){var t=this;return function(n,r){var i,o,a,s=null!==(a=null!==(o=null!==(i=e[r.v3])&amp;&amp;void 0!==i?i:e[r.v2])&amp;&amp;void 0!==o?o:e[r.v1])&amp;&amp;void 0!==a?a:t.getDefaultUserCacheValues();return t.mergeUserCacheValues(s,n)}},e.prototype.saveInitDeltas=function(e,t,n,r,a){var s,u,l;return i(this,void 0,void 0,function(){var i,c,h,p,g,v,y,E,_,b,S,I=this;return o(this,function(o){switch(o.label){case 0:if(i=(0,f.getUserCacheKey)(r,e,this.sdkInternal.getSDKKey()),c=t,h=JSON.parse(JSON.stringify(this.values)),this.mergeInitializeResponseIntoUserMap(c,h,i,e,this.getDeltasMergeFunction(h),r,a),p=!1,g=void 0,v=!1,Object.keys(null!==(s=c.prefetched_user_values)&amp;&amp;void 0!==s?s:{}).forEach(function(e){var t,n=h[e],r=null===(t=c.prefetched_user_values)||void 0===t?void 0:t[e];if(n&amp;&amp;r){m(r,n);var i=r.checksum,o=(0,f.djb2HashForObject)({feature_gates:h[e].feature_gates,dynamic_configs:h[e].dynamic_configs,layer_configs:h[e].layer_configs});i&amp;&amp;i!==o&amp;&amp;(p=!0,g=o),y.hash_used!==c.hash_used&amp;&amp;(v=!0)}}),m(c,y=null!==(l=null!==(u=h[i.v3])&amp;&amp;void 0!==u?u:h[i.v2])&amp;&amp;void 0!==l?l:h[i.v1]),E=c.checksum,_={feature_gates:y.feature_gates,dynamic_configs:y.dynamic_configs,layer_configs:y.layer_configs},b=(0,f.djb2HashForObject)(_),E&amp;&amp;E!==b&amp;&amp;(p=!0,g=b),y.hash_used!==c.hash_used&amp;&amp;(v=!0),p||v){if(null!=c.deltas_full_response)return this.refetchAndSaveValues(e,r,a,void 0,g,p,_,c.deltas_full_response).catch(function(e){return I.sdkInternal.getErrorBoundary().logError("refetchAndSaveValues",e)}),[2];return this.refetchAndSaveValues(e,r,a,void 0,g,p).catch(function(e){return I.sdkInternal.getErrorBoundary().logError("refetchAndSaveValues",e)}),[2]}if(!n)return[3,2];return y&amp;&amp;i.v3===this.userCacheKey.v3&amp;&amp;(this.userValues=y,this.reason=d.EvaluationReason.Network),S=this,[4,this.writeValuesToStorage(h)];case 1:return S.values=o.sent(),[3,4];case 2:return[4,this.writeValuesToStorage(h)];case 3:o.sent(),o.label=4;case 4:return[2]}})})},e.prototype.refetchAndSaveValues=function(e,t,n,r,a,s,u,l){return void 0===r&amp;&amp;(r=this.sdkInternal.getOptions().getInitTimeoutMs()),i(this,void 0,void 0,function(){var i,c,d=this;return o(this,function(o){return i=this.getLastUpdateTime(e,t),c=this.getPreviousDerivedFields(e,t),[2,this.sdkInternal.getNetwork().fetchValues({user:e,sinceTime:i,timeout:r,useDeltas:!1,prefetchUsers:n,previousDerivedFields:c,hadBadDeltaChecksum:s,badChecksum:a,badMergedConfigs:u,badFullResponse:l}).then(function(r){(0,p.verifySDKKeyUsed)(r,d.sdkInternal.getSDKKey(),d.sdkInternal.getErrorBoundary())&amp;&amp;(null==r?void 0:r.has_updates)&amp;&amp;d.saveWithoutUpdatingClientState(e,r,t,n).catch(function(e){return d.sdkInternal.getErrorBoundary().logError("refetchAndSaveValues:then",e)})}).catch(function(e){return d.sdkInternal.getErrorBoundary().logError("refetchAndSaveValues",e)})]})})},e.prototype.getStableID=function(){return this.sdkInternal.getStableID()},e.prototype.mergeInitializeResponseIntoUserMap=function(e,t,n,i,o,a,s){if(e.prefetched_user_values)for(var u=Object.keys(e.prefetched_user_values),l=0;l&lt;u.length;l++){var c=u[l],d=e.prefetched_user_values[c],h=o(this.convertAPIDataToCacheValues(d,c),{v1:c,v2:c,v3:c});if(s){var p=(0,f.djb2HashForObject)(s[c]);h.user_hash=p,h.stableIDUsed=a}t[c]=h}if(n){var g=this.convertAPIDataToCacheValues(e,n.v3),p=(0,f.djb2HashForObject)(r(r({},i),{stableID:a}));g.user_hash=p,g.stableIDUsed=a,t[n.v3]=o(g,n)}},e.prototype.getDefaultUserCacheValues=function(){return{feature_gates:{},layer_configs:{},dynamic_configs:{},sticky_experiments:{},time:0,evaluation_time:0,derived_fields:{}}},e.prototype.mergeUserCacheValues=function(e,t){return{feature_gates:r(r({},e.feature_gates),t.feature_gates),layer_configs:r(r({},e.layer_configs),t.layer_configs),dynamic_configs:r(r({},e.dynamic_configs),t.dynamic_configs),sticky_experiments:e.sticky_experiments,time:t.time,evaluation_time:t.evaluation_time,derived_fields:t.derived_fields,hash_used:t.hash_used,user_hash:t.user_hash,stableIDUsed:t.stableIDUsed}},e.prototype.writeValuesToStorage=function(e){return i(this,void 0,void 0,function(){return o(this,function(t){switch(t.label){case 0:if(e[this.userCacheKey.v3]?(delete e[this.userCacheKey.v2],delete e[this.userCacheKey.v1]):e[this.userCacheKey.v2]&amp;&amp;delete e[this.userCacheKey.v1],e=Object.fromEntries(Object.entries(e).sort(function(e,t){var n,r,i=e[1],o=t[1];return null==i?1:null==o?-1:(null!==(n=null==o?void 0:o.evaluation_time)&amp;&amp;void 0!==n?n:null==o?void 0:o.time)-(null!==(r=null==i?void 0:i.evaluation_time)&amp;&amp;void 0!==r?r:null==i?void 0:i.time)}).slice(0,10)),!g.default.asyncStorage)return[3,2];return[4,g.default.setItemAsync(c.INTERNAL_STORE_KEY,JSON.stringify(e))];case 1:return t.sent(),[3,3];case 2:v.default.setItem(c.INTERNAL_STORE_KEY,JSON.stringify(e)),t.label=3;case 3:return[2,e]}})})},e.prototype.checkGate=function(e,t){void 0===t&amp;&amp;(t=!1);var n,r,i,o,a={name:e,value:!1,rule_id:"",secondary_exposures:[]},s=this.overrides.gates[e];if(t||null==s){var u=null!==(r=null===(n=this.userValues)||void 0===n?void 0:n.feature_gates[e])&amp;&amp;void 0!==r?r:null===(i=this.userValues)||void 0===i?void 0:i.feature_gates[this.getHashedSpecName(e)];u&amp;&amp;(a=u),o=this.getEvaluationDetails(null!=u)}else a={name:e,value:s,rule_id:"override",secondary_exposures:[]},o=this.getEvaluationDetails(!1,d.EvaluationReason.LocalOverride);return{evaluationDetails:o,gate:a}},e.prototype.getConfig=function(e,t){void 0===t&amp;&amp;(t=!1);var n,r,i,o,a,u=this.overrides.configs[e];if(t||null==u){var l=null!==(r=null===(n=this.userValues)||void 0===n?void 0:n.dynamic_configs[e])&amp;&amp;void 0!==r?r:null===(i=this.userValues)||void 0===i?void 0:i.dynamic_configs[this.getHashedSpecName(e)];null!=l?(a=this.getEvaluationDetails(!0),o=this.createDynamicConfig(e,l,a)):(a=this.getEvaluationDetails(!1),o=new s.default(e,{},"",a))}else a=this.getEvaluationDetails(!1,d.EvaluationReason.LocalOverride),o=new s.default(e,u,"override",a,[],"",this.makeOnConfigDefaultValueFallback(this.sdkInternal.getCurrentUser()));return o},e.prototype.getExperiment=function(e,t,n){void 0===t&amp;&amp;(t=!1),void 0===n&amp;&amp;(n=!1);var r,i,o=this.overrides.configs[e];if(n||null==o){var a=this.getLatestValue(e,"dynamic_configs");i=this.getEvaluationDetails(null!=a);var u=this.getPossiblyStickyValue(e,a,t,!1,i);r=this.createDynamicConfig(e,u,i)}else i=this.getEvaluationDetails(!1,d.EvaluationReason.LocalOverride),r=new s.default(e,o,"override",i);return r},e.prototype.getLayer=function(e,t,n){var r,i,o,a=this.overrides.layers[t];if(null!=a){var s=this.getEvaluationDetails(!1,d.EvaluationReason.LocalOverride);return u.default._create(t,null!=a?a:{},"override",s,e)}var l=this.getLatestValue(t,"layer_configs"),c=this.getEvaluationDetails(null!=l),f=this.getPossiblyStickyValue(t,l,n,!0,c);return u.default._create(t,null!==(r=null==f?void 0:f.value)&amp;&amp;void 0!==r?r:{},null!==(i=null==f?void 0:f.rule_id)&amp;&amp;void 0!==i?i:"",c,e,null==f?void 0:f.secondary_exposures,null==f?void 0:f.undelegated_secondary_exposures,null!==(o=null==f?void 0:f.allocated_experiment_name)&amp;&amp;void 0!==o?o:"",null==f?void 0:f.explicit_parameters,null==f?void 0:f.group_name)},e.prototype.overrideConfig=function(e,t){try{JSON.stringify(t)}catch(e){h.default.warn("Failed to stringify given config override.  Dropping",e);return}this.overrides.configs[e]=t,this.saveOverrides()},e.prototype.overrideLayer=function(e,t){try{JSON.stringify(t)}catch(e){h.default.warn("Failed to stringify given layer override.  Dropping",e);return}this.overrides.layers[e]=t,this.saveOverrides()},e.prototype.overrideGate=function(e,t){this.overrides.gates[e]=t,this.saveOverrides()},e.prototype.removeGateOverride=function(e){null==e?this.overrides.gates={}:delete this.overrides.gates[e],this.saveOverrides()},e.prototype.removeConfigOverride=function(e){null==e?this.overrides.configs={}:delete this.overrides.configs[e],this.saveOverrides()},e.prototype.removeLayerOverride=function(e){null==e?this.overrides.layers={}:delete this.overrides.layers[e],this.saveOverrides()},e.prototype.getAllOverrides=function(){return this.overrides},e.prototype.saveOverrides=function(){try{v.default.setItem(c.OVERRIDES_STORE_KEY,JSON.stringify(this.overrides))}catch(e){h.default.warn("Failed to persist gate/config overrides")}},e.prototype.getLatestValue=function(e,t){var n,r,i,o,a;return null!==(i=null===(r=null===(n=this.userValues)||void 0===n?void 0:n[t])||void 0===r?void 0:r[e])&amp;&amp;void 0!==i?i:null===(a=null===(o=this.userValues)||void 0===o?void 0:o[t])||void 0===a?void 0:a[this.getHashedSpecName(e)]},e.prototype.getPossiblyStickyValue=function(e,t,n,r,i){var o,a=this.getHashedSpecName(e);if(!n)return this.removeStickyValue(a),t;var s=this.getStickyValue(a);if(!s)return this.attemptToSaveStickyValue(a,t),t;var u=null;return(null==(u=r?this.getLatestValue(null!==(o=null==s?void 0:s.allocated_experiment_name)&amp;&amp;void 0!==o?o:"","dynamic_configs"):t)?void 0:u.is_experiment_active)==!0?(i.reason=d.EvaluationReason.Sticky,s):((null==t?void 0:t.is_experiment_active)==!0?this.attemptToSaveStickyValue(a,t):this.removeStickyValue(a),t)},e.prototype.createDynamicConfig=function(e,t,n){var r,i,o;return new s.default(e,null!==(r=null==t?void 0:t.value)&amp;&amp;void 0!==r?r:{},null!==(i=null==t?void 0:t.rule_id)&amp;&amp;void 0!==i?i:"",n,null==t?void 0:t.secondary_exposures,null!==(o=null==t?void 0:t.allocated_experiment_name)&amp;&amp;void 0!==o?o:"",this.makeOnConfigDefaultValueFallback(this.sdkInternal.getCurrentUser()),null==t?void 0:t.group_name,null==t?void 0:t.id_type,null==t?void 0:t.is_experiment_active)},e.prototype.getStickyValue=function(e){var t,n;return null!==(n=null===(t=this.userValues)||void 0===t?void 0:t.sticky_experiments[e])&amp;&amp;void 0!==n?n:this.stickyDeviceExperiments[e]},e.prototype.attemptToSaveStickyValue=function(e,t){var n;t&amp;&amp;t.is_user_in_experiment&amp;&amp;t.is_experiment_active&amp;&amp;(!0===t.is_device_based?this.stickyDeviceExperiments[e]=t:(null===(n=this.userValues)||void 0===n?void 0:n.sticky_experiments)&amp;&amp;(this.userValues.sticky_experiments[e]=t),this.saveStickyValuesToStorage())},e.prototype.removeStickyValue=function(e){var t,n,r,i;(0!==Object.keys(null!==(n=null===(t=this.userValues)||void 0===t?void 0:t.sticky_experiments)&amp;&amp;void 0!==n?n:{}).length||0!==Object.keys(null!==(r=this.stickyDeviceExperiments)&amp;&amp;void 0!==r?r:{}).length)&amp;&amp;(null===(i=this.userValues)||void 0===i||delete i.sticky_experiments[e],delete this.stickyDeviceExperiments[e],this.saveStickyValuesToStorage())},e.prototype.saveStickyValuesToStorage=function(){this.userPersistentStorageAdapter?this.saveStickyExperimentsToPersistentStorageAdapter():(this.values[this.userCacheKey.v3]=this.userValues,this.setItemToStorage(c.INTERNAL_STORE_KEY,JSON.stringify(this.values)),this.setItemToStorage(c.STICKY_DEVICE_EXPERIMENTS_KEY,JSON.stringify(this.stickyDeviceExperiments)))},e.prototype.getGlobalEvaluationDetails=function(){var e,t;return{reason:null!==(e=this.reason)&amp;&amp;void 0!==e?e:d.EvaluationReason.Uninitialized,time:null!==(t=this.userValues.evaluation_time)&amp;&amp;void 0!==t?t:0}},e.prototype.getEvaluationDetails=function(e,t){var n;return e?{reason:this.reason,time:null!==(n=this.userValues.evaluation_time)&amp;&amp;void 0!==n?n:Date.now()}:{reason:null!=t?t:this.reason==d.EvaluationReason.Uninitialized?d.EvaluationReason.Uninitialized:d.EvaluationReason.Unrecognized,time:Date.now()}},e.prototype.resetUserValues=function(){this.userValues={feature_gates:{},dynamic_configs:{},sticky_experiments:{},layer_configs:{},time:0,evaluation_time:0,derived_fields:{}}},e.prototype.getHashedSpecName=function(e){switch(this.userValues.hash_used){case"djb2":return(0,f.djb2Hash)(e);case"none":return e;default:return(0,f.sha256Hash)(e)}},e.prototype.convertAPIDataToCacheValues=function(e,t){var n,r;return{feature_gates:e.feature_gates,layer_configs:e.layer_configs,dynamic_configs:e.dynamic_configs,sticky_experiments:null!==(r=null===(n=this.values[t])||void 0===n?void 0:n.sticky_experiments)&amp;&amp;void 0!==r?r:{},time:null==e.time||isNaN(e.time)?0:e.time,evaluation_time:Date.now(),hash_used:e.hash_used,derived_fields:e.derived_fields}},e.prototype.setItemToStorage=function(e,t){var n=this;g.default.asyncStorage?g.default.setItemAsync(e,t).catch(function(e){n.sdkInternal.getErrorBoundary().logError("setItemToStorage",e)}):v.default.setItem(e,t)},e.prototype.makeOnConfigDefaultValueFallback=function(e){var t=this;return function(n,r,i,o){t.isLoaded()&amp;&amp;t.sdkInternal.getLogger().logConfigDefaultValueFallback(e,"Parameter ".concat(r," is a value of type ").concat(o,".\n          Returning requested defaultValue type ").concat(i),{name:n.getName(),ruleID:n.getRuleID(),parameter:r,defaultValueType:i,valueType:o})}},e}();function m(e,t){var n,r,i;(null!==(n=e.deleted_configs)&amp;&amp;void 0!==n?n:[]).forEach(function(e){delete t.dynamic_configs[e]}),(null!==(r=e.deleted_gates)&amp;&amp;void 0!==r?r:[]).forEach(function(e){delete t.feature_gates[e]}),(null!==(i=e.deleted_layers)&amp;&amp;void 0!==i?i:[]).forEach(function(e){delete t.layer_configs[e]})}t.default=y},82880:function(e,t,n){"use strict";var r=this&amp;&amp;this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n&lt;r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i]);return e}).apply(this,arguments)},i=this&amp;&amp;this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&amp;&amp;0&gt;t.indexOf(r)&amp;&amp;(n[r]=e[r]);if(null!=e&amp;&amp;"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i&lt;r.length;i++)0&gt;t.indexOf(r[i])&amp;&amp;Object.prototype.propertyIsEnumerable.call(e,r[i])&amp;&amp;(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0}),t.getUserHashWithoutStableID=void 0;var o=n(74854);t.getUserHashWithoutStableID=function(e){var t=e.customIDs,n=i(e,["customIDs"]),a=r({},t);return delete a.stableID,(0,o.djb2HashForObject)(r(r({},n),{customIDs:a}))}},43860:function(e,t,n){"use strict";var r=this&amp;&amp;this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},i=this&amp;&amp;this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&amp;i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&amp;&amp;(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&amp;&amp;(o=0,s[0]&amp;&amp;(a=0)),a;)try{if(n=1,r&amp;&amp;(i=2&amp;s[0]?r.return:s[0]?r.throw||((i=r.return)&amp;&amp;i.call(r),0):r.next)&amp;&amp;!(i=i.call(r,s[1])).done)return i;switch(r=0,i&amp;&amp;(s=[2&amp;s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length&gt;0&amp;&amp;i[i.length-1])&amp;&amp;(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&amp;&amp;(!i||s[1]&gt;i[0]&amp;&amp;s[1]&lt;i[3])){a.label=s[1];break}if(6===s[0]&amp;&amp;a.label&lt;i[1]){a.label=i[1],i=s;break}if(i&amp;&amp;a.label&lt;i[2]){a.label=i[2],a.ops.push(s);break}i[2]&amp;&amp;a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&amp;s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}},o=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigAsyncStorage=t.EvaluationReason=t.StatsigClient=t.Layer=t.DynamicConfig=t.FeatureGate=void 0;var a=n(21689),s=o(n(39610)),u=o(n(53049)),l=n(98920),c=o(n(97993)),d=o(n(8854)),f=o(n(93589)),h=n(99314);Object.defineProperty(t,"FeatureGate",{enumerable:!0,get:function(){return o(h).default}});var p=n(79401);Object.defineProperty(t,"DynamicConfig",{enumerable:!0,get:function(){return o(p).default}});var g=n(91130);Object.defineProperty(t,"Layer",{enumerable:!0,get:function(){return o(g).default}});var v=n(39610);Object.defineProperty(t,"StatsigClient",{enumerable:!0,get:function(){return o(v).default}});var y=n(98920);Object.defineProperty(t,"EvaluationReason",{enumerable:!0,get:function(){return y.EvaluationReason}});var m=n(92418);Object.defineProperty(t,"StatsigAsyncStorage",{enumerable:!0,get:function(){return o(m).default}}),(0,c.default)(),(0,d.default)(),(0,f.default)();var E=function(){function e(){}return Object.defineProperty(e,"encodeIntializeCall",{get:function(){return u.default.encodeInitializeCall},set:function(e){u.default.encodeInitializeCall=e},enumerable:!1,configurable:!0}),e.initialize=function(t,n,o){var a;return r(this,void 0,void 0,function(){var r;return i(this,function(i){return r=null!==(a=e.instance)&amp;&amp;void 0!==a?a:new s.default(t,n,o),e.instance||(e.instance=r),[2,r.initializeAsync()]})})},e.prefetchUsers=function(t){return r(this,void 0,void 0,function(){return i(this,function(n){switch(n.label){case 0:return[4,e.getClientX().prefetchUsers(t)];case 1:return[2,n.sent()]}})})},e.setInitializeValues=function(t){e.getClientX().setInitializeValues(t)},e.checkGate=function(t,n){return void 0===n&amp;&amp;(n=!1),e.getClientX().checkGate(t,n)},e.checkGateWithExposureLoggingDisabled=function(t,n){return void 0===n&amp;&amp;(n=!1),e.getClientX().checkGateWithExposureLoggingDisabled(t,n)},e.getFeatureGate=function(t,n){return void 0===n&amp;&amp;(n=null),e.getClientX().getFeatureGate(t,n)},e.manuallyLogGateExposure=function(t){e.getClientX().logGateExposure(t)},e.getConfig=function(t,n){return void 0===n&amp;&amp;(n=!1),e.getClientX().getConfig(t,n)},e.getConfigWithExposureLoggingDisabled=function(t,n){return void 0===n&amp;&amp;(n=!1),e.getClientX().getConfigWithExposureLoggingDisabled(t,n)},e.manuallyLogConfigExposure=function(t){e.getClientX().logConfigExposure(t)},e.getExperiment=function(t,n,r){return void 0===n&amp;&amp;(n=!1),void 0===r&amp;&amp;(r=!1),e.getClientX().getExperiment(t,n,r)},e.getExperimentWithExposureLoggingDisabled=function(t,n,r){return void 0===n&amp;&amp;(n=!1),void 0===r&amp;&amp;(r=!1),e.getClientX().getExperimentWithExposureLoggingDisabled(t,n,r)},e.manuallyLogExperimentExposure=function(t,n){void 0===n&amp;&amp;(n=!1),e.getClientX().logExperimentExposure(t,n)},e.getLayer=function(t,n){return void 0===n&amp;&amp;(n=!1),e.getClientX().getLayer(t,n)},e.getLayerWithExposureLoggingDisabled=function(t,n){return void 0===n&amp;&amp;(n=!1),e.getClientX().getLayerWithExposureLoggingDisabled(t,n)},e.manuallyLogLayerParameterExposure=function(t,n,r){void 0===r&amp;&amp;(r=!1),e.getClientX().logLayerParameterExposure(t,n,r)},e.logEvent=function(t,n,r){return void 0===n&amp;&amp;(n=null),void 0===r&amp;&amp;(r=null),e.getClientX().logEvent(t,n,r)},e.updateUser=function(t){return e.getClientX().updateUser(t)},e.updateUserWithValues=function(t,n){return e.getClientX().updateUserWithValues(t,n)},e.shutdown=function(){e.getClientX().shutdown(),e.instance=null},e.overrideGate=function(t,n){e.getClientX().overrideGate(t,n)},e.overrideConfig=function(t,n){e.getClientX().overrideConfig(t,n)},e.overrideLayer=function(t,n){e.getClientX().overrideLayer(t,n)},e.removeGateOverride=function(t){e.getClientX().removeGateOverride(t)},e.removeConfigOverride=function(t){e.getClientX().removeConfigOverride(t)},e.removeLayerOverride=function(t){e.getClientX().removeLayerOverride(t)},e.getAllOverrides=function(){return e.getClientX().getAllOverrides()},e.getStableID=function(){return e.getClientX().getStableID()},e.getEvaluationDetails=function(){var t,n;return null!==(n=null===(t=e.instance)||void 0===t?void 0:t.getEvaluationDetails())&amp;&amp;void 0!==n?n:{reason:l.EvaluationReason.Uninitialized,time:0}},e.getInitializeResponseJson=function(){return e.getClientX().getInitializeResponseJson()},e.removeOverride=function(t){e.getClientX().removeOverride(t)},e.getOverrides=function(){return e.getClientX().getOverrides()},e.initializeCalled=function(){return null!=e.instance&amp;&amp;e.instance.initializeCalled()},e.flushEvents=function(){e.getClientX().flushEvents()},e.setDebugInfo=function(t){e.getClientX().setDebugInfo(t)},e.reenableAllLogging=function(){e.getClientX().reenableAllLogging()},e.getClientX=function(){if(!e.instance)throw new a.StatsigUninitializedError;return e.instance},e.instance=null,e}();t.default=E},54407:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Base64=void 0,t.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_encodeBinary:function(e){for(var t,n,r,i,o,a,s,u="",l=0;l&lt;e.length;)t=e.charCodeAt(l++),n=e.charCodeAt(l++),r=e.charCodeAt(l++),i=t&gt;&gt;2,o=(3&amp;t)&lt;&lt;4|n&gt;&gt;4,a=(15&amp;n)&lt;&lt;2|r&gt;&gt;6,s=63&amp;r,isNaN(n)?a=s=64:isNaN(r)&amp;&amp;(s=64),u=u+this._keyStr.charAt(i)+this._keyStr.charAt(o)+this._keyStr.charAt(a)+this._keyStr.charAt(s);return u},encodeArrayBuffer:function(e){for(var n="",r=new Uint8Array(e),i=r.byteLength,o=0;o&lt;i;o++)n+=String.fromCharCode(r[o]);return t.Base64._encodeBinary(n)}}},18832:function(e,t,n){"use strict";var r=this&amp;&amp;this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n&lt;r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(82880),o=n(98920),a=n(74854),s=function(){function e(){}return e.getEvaluationReasonForBootstrap=function(t,n,s){var u=!0,l=!1;try{var c=n.evaluated_keys;if(c&amp;&amp;"object"==typeof c){var d=this.copyObject(c),f=null==t?null:this.copyObject(t);u=u&amp;&amp;e.validate(d,f)&amp;&amp;e.validate(f,d);var h=c.customIDs;s!=(null==h?void 0:h.stableID)&amp;&amp;(l=!0)}var p=n.user_hash;if(p&amp;&amp;"string"==typeof p&amp;&amp;null!=t){var g=p===(0,i.getUserHashWithoutStableID)(t)||p===(0,a.djb2HashForObject)(r(r({},t),{stableID:s}));u=u&amp;&amp;g}var v=n.user;v&amp;&amp;"object"==typeof v&amp;&amp;null!=t&amp;&amp;(u=u&amp;&amp;e.validate(this.copyObject(v),this.copyObject(t))&amp;&amp;e.validate(this.copyObject(t),this.copyObject(v)))}catch(e){}return u?l?o.EvaluationReason.BootstrapStableIDMismatch:o.EvaluationReason.Bootstrap:o.EvaluationReason.InvalidBootstrap},e.validate=function(e,t){if(null==e)return null==t;if(null==t)return!1;for(var n=0,r=Object.entries(e);n&lt;r.length;n++){var i=r[n],o=i[0],a=i[1];if("stableID"!==o){if(typeof a!=typeof t[o])return!1;if("string"==typeof a){if(a!==t[o])return!1}else if("object"==typeof a)return this.validate(a,t[o]);else return!1}}return!0},e.copyObject=function(e){if(null==e)return null;var t={};if((null==e?void 0:e.userID)&amp;&amp;(t.userID=null==e?void 0:e.userID),null==e?void 0:e.customIDs){var n=r({},e.customIDs);delete n.stableID,0!==Object.keys(n).length&amp;&amp;(t.customIDs=n)}return t},e}();t.default=s},67829:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STORAGE_PREFIX=t.LOCAL_STORAGE_KEYS=t.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY=t.STATSIG_STABLE_ID_KEY=t.INTERNAL_STORE_KEY=t.STICKY_DEVICE_EXPERIMENTS_KEY=t.OVERRIDES_STORE_KEY=void 0,t.OVERRIDES_STORE_KEY="STATSIG_LOCAL_STORAGE_INTERNAL_STORE_OVERRIDES_V3",t.STICKY_DEVICE_EXPERIMENTS_KEY="STATSIG_LOCAL_STORAGE_STICKY_DEVICE_EXPERIMENTS",t.INTERNAL_STORE_KEY="STATSIG_LOCAL_STORAGE_INTERNAL_STORE_V4",t.STATSIG_STABLE_ID_KEY="STATSIG_LOCAL_STORAGE_STABLE_ID",t.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY="STATSIG_LOCAL_STORAGE_LOGGING_REQUEST",t.LOCAL_STORAGE_KEYS={STATSIG_LOCAL_STORAGE_STABLE_ID:!0,STATSIG_LOCAL_STORAGE_INTERNAL_STORE_V4:!0,STATSIG_LOCAL_STORAGE_STICKY_DEVICE_EXPERIMENTS:!0,STATSIG_LOCAL_STORAGE_INTERNAL_STORE_OVERRIDES_V3:!0,STATSIG_LOCAL_STORAGE_LOGGING_REQUEST:!0},t.STORAGE_PREFIX="STATSIG_LOCAL_STORAGE"},70619:function(e,t,n){"use strict";var r=this&amp;&amp;this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n&lt;r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.DiagnosticsImpl=void 0;var i=n(2024),o=function(){function e(e){var t,n,r,i=this;this.mark={overall:this.selectAction("overall"),initialize:this.selectStep("initialize"),bootstrap:this.selectStep("bootstrap"),api_call:function(e){switch(e){case"getConfig":return i.selectAction("get_config");case"getExperiment":return i.selectAction("get_experiment");case"checkGate":return i.selectAction("check_gate");case"getLayer":return i.selectAction("get_layer")}return null}},this.context="initialize",this.defaultMaxMarkers=30,this.maxMarkers={initialize:this.defaultMaxMarkers,config_sync:this.defaultMaxMarkers,event_logging:this.defaultMaxMarkers,api_call:this.defaultMaxMarkers},this.markers=null!==(t=e.markers)&amp;&amp;void 0!==t?t:{initialize:[],config_sync:[],event_logging:[],api_call:[]},this.disabled=null!==(r=null===(n=e.options)||void 0===n?void 0:n.getDisableDiagnosticsLogging())&amp;&amp;void 0!==r&amp;&amp;r}return e.prototype.setContext=function(e){this.context=e},e.prototype.selectAction=function(e,t){var n=this;return{start:function(o,a){return n.addMarker(r({key:e,step:t,action:"start",timestamp:(0,i.now)({withPrecision:!0})},null!=o?o:{}),a)},end:function(o,a){return n.addMarker(r({key:e,step:t,action:"end",timestamp:(0,i.now)({withPrecision:!0})},null!=o?o:{}),a)}}},e.prototype.selectStep=function(e){return{process:this.selectAction(e,"process"),networkRequest:this.selectAction(e,"network_request")}},e.prototype.addMarker=function(e,t){var n,r=null!=t?t:this.context;return(!this.disabled||"api_call"!==r)&amp;&amp;(void 0===this.maxMarkers[r]||!(this.markers[r].length&gt;=(null!==(n=this.maxMarkers[r])&amp;&amp;void 0!==n?n:this.defaultMaxMarkers)))&amp;&amp;(this.markers[r].push(e),!0)},e.prototype.getMarkers=function(e){return this.markers[e]},e.prototype.setMaxMarkers=function(e,t){this.maxMarkers[e]=t},e.prototype.getMarkerCount=function(e){return this.markers[e].length},e.prototype.clearContext=function(e){this.markers[e]=[]},e}();t.DiagnosticsImpl=o;var a=function(){function e(){}return e.initialize=function(e){this.instance=new o(e),this.mark=this.instance.mark,this.disabled=this.instance.disabled,this.getMarkers=this.instance.getMarkers.bind(this.instance),this.getMarkerCount=this.instance.getMarkerCount.bind(this.instance),this.setMaxMarkers=this.instance.setMaxMarkers.bind(this.instance),this.setContext=this.instance.setContext.bind(this.instance),this.clearContext=this.instance.clearContext.bind(this.instance)},e.formatError=function(e){if(e&amp;&amp;"object"==typeof e)return{code:this.safeGetField(e,"code"),name:this.safeGetField(e,"name"),message:this.safeGetField(e,"message")}},e.safeGetField=function(e,t){if(t in e)return e[t]},e}();t.default=a},98920:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EvaluationReason=void 0,(n=t.EvaluationReason||(t.EvaluationReason={})).Network="Network",n.Bootstrap="Bootstrap",n.InvalidBootstrap="InvalidBootstrap",n.Cache="Cache",n.Prefetch="Prefetch",n.Sticky="Sticky",n.LocalOverride="LocalOverride",n.Unrecognized="Unrecognized",n.Uninitialized="Uninitialized",n.Error="Error",n.NetworkNotModified="NetworkNotModified",n.BootstrapStableIDMismatch="BootstrapStableIDMismatch"},74854:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserCacheKey=t.getSortedObject=t.djb2HashForObject=t.sha256Hash=t.djb2Hash=t.memoizedUserCacheKeyHash=t.fasthash=void 0;var r=n(8008),i=n(54407),o={};function a(e){for(var t=0,n=0;n&lt;e.length;n++)t=(t&lt;&lt;5)-t+e.charCodeAt(n),t&amp;=t;return t}function s(e){var t=o[e];if(t)return t;var n=String(a(e));return o[e]=n,n}function u(e){return String(a(e)&gt;&gt;&gt;0)}function l(e){if(null==e)return null;var t=Object.keys(e).sort(),n={};return t.forEach(function(t){var r=e[t];r instanceof Object&amp;&amp;(r=l(r)),n[t]=r}),n}t.fasthash=a,t.memoizedUserCacheKeyHash=s,t.djb2Hash=u,t.sha256Hash=function(e){var t=o[e];if(t)return t;var n=r.sha256.create().update(e).arrayBuffer(),a=i.Base64.encodeArrayBuffer(n);return o[e]=a,a},t.djb2HashForObject=function(e){return u(JSON.stringify(l(e)))},t.getSortedObject=l,t.getUserCacheKey=function(e,t,n){var r,i=["userID:".concat(String(null!==(r=null==t?void 0:t.userID)&amp;&amp;void 0!==r?r:""))],o=null==t?void 0:t.customIDs;if(null!=o)for(var a=0,u=Object.entries(o);a&lt;u.length;a++){var l=u[a],c=l[0],d=l[1];i.push("".concat(c,":").concat(d))}var f=s(i.join(";")),h=s(i.join(";")+";sdkKey:".concat(n));return i.splice(1,0,"stableID:".concat(e)),{v1:s(i.join(";")),v2:f,v3:h}}},97993:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=Array(n);n--;)r[n]=[t[n],e[t[n]]];return r})}},8854:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){Object.fromEntries||(Object.fromEntries=function(e){for(var t={},n=0;n&lt;e.length;n++){var r=e[n];if(Object(r)!==r)throw TypeError("iterable for fromEntries should yield objects");Object.defineProperty(t,r[0],{configurable:!0,enumerable:!0,writable:!0,value:r[1]})}return t})}},53183:function(e,t,n){"use strict";var r=this&amp;&amp;this.__spreadArray||function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i&lt;o;i++)!r&amp;&amp;i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0});var i=n(15654),o=console,a=i.LogLevel.WARN,s=function(){function e(){}return e.getLogger=function(){return o},e.debug=function(e){for(var t=[],n=1;n&lt;arguments.length;n++)t[n-1]=arguments[n];a!==i.LogLevel.NONE&amp;&amp;o.debug&amp;&amp;o.debug.apply(o,r(["".concat(this.LOG_PREFIX," ").concat(e)],t,!1))},e.info=function(e){for(var t=[],n=1;n&lt;arguments.length;n++)t[n-1]=arguments[n];a===i.LogLevel.INFO&amp;&amp;o.info.apply(o,r(["".concat(this.LOG_PREFIX," ").concat(e)],t,!1))},e.warn=function(e){for(var t=[],n=1;n&lt;arguments.length;n++)t[n-1]=arguments[n];a===i.LogLevel.WARN&amp;&amp;o.warn.apply(o,r(["".concat(this.LOG_PREFIX," ").concat(e)],t,!1))},e.error=function(e){for(var t=[],n=1;n&lt;arguments.length;n++)t[n-1]=arguments[n];a===i.LogLevel.ERROR&amp;&amp;o.error.apply(o,r(["".concat(this.LOG_PREFIX," ").concat(e)],t,!1))},e.setLogger=function(e){o=e},e.setLogLevel=function(e){a=e},e.resetLogger=function(){o=console,a=i.LogLevel.WARN},e.LOG_PREFIX="[Statsig]",e}();t.default=s},93589:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){Promise.prototype.finally=Promise.prototype.finally||({finally:function(e){var t=function(t){return Promise.resolve(e()).then(t)};return this.then(function(e){return t(function(){return e})},function(e){return t(function(){return Promise.reject(e)})})}}).finally}},1217:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifySDKKeyUsed=void 0;var r=n(21689),i=n(74854);t.verifySDKKeyUsed=function(e,t,n){var o=null==e?void 0:e.hashed_sdk_key_used;return null==o||o===(0,i.djb2Hash)(null!=t?t:"")||(n.logError("verifySDKKeyUsed",new r.StatsigSDKKeyMismatchError("The SDK key provided does not match the one used to generate values.")),!1)}},92418:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.getItemAsync=function(t){var n;return e.asyncStorage?null!==(n=e.asyncStorage.getItem(t))&amp;&amp;void 0!==n?n:null:Promise.resolve(null)},e.setItemAsync=function(t,n){return e.asyncStorage?e.asyncStorage.setItem(t,n):Promise.resolve()},e.removeItemAsync=function(t){return e.asyncStorage?e.asyncStorage.removeItem(t):Promise.resolve()},e}();t.default=n},40731:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67829),i=function(){function e(){}return e.getItem=function(e){var t;try{if(this.isStorageAccessible())return window.localStorage.getItem(e)}catch(e){}return null!==(t=this.fallbackSessionCache[e])&amp;&amp;void 0!==t?t:null},e.setItem=function(e,t){try{if(this.isStorageAccessible()){window.localStorage.setItem(e,t);return}}catch(e){}this.fallbackSessionCache[e]=t},e.removeItem=function(e){try{if(this.isStorageAccessible()){window.localStorage.removeItem(e);return}}catch(e){}delete this.fallbackSessionCache[e]},e.cleanup=function(){try{if(this.isStorageAccessible(!0))for(var e in window.localStorage)"string"!=typeof window.localStorage[e]||null==e||!this.disabled&amp;&amp;e in r.LOCAL_STORAGE_KEYS||!this.disabled&amp;&amp;e.substring(0,r.STORAGE_PREFIX.length)!==r.STORAGE_PREFIX||window.localStorage.removeItem(e)}catch(e){}},e.isStorageAccessible=function(e){void 0===e&amp;&amp;(e=!1),null==this.canAccessStorageAccessible&amp;&amp;(this.canAccessStorageAccessible="undefined"!=typeof Storage&amp;&amp;"undefined"!=typeof window&amp;&amp;null!=window&amp;&amp;null!=window.localStorage);var t=this.canAccessStorageAccessible;return e?t:!this.disabled&amp;&amp;t},e.disabled=!1,e.fallbackSessionCache={},e.canAccessStorageAccessible=null,e}();t.default=i},2024:function(e,t){"use strict";function n(e){return(void 0===e&amp;&amp;(e={withPrecision:!1}),"undefined"!=typeof performance&amp;&amp;performance)?e.withPrecision?performance.now():0|performance.now():Date.now()}Object.defineProperty(t,"__esModule",{value:!0}),t.difference=t.now=void 0,t.now=n,t.difference=function(e){return n()-e}},53524:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=null!=e?e:Error("[Statsig] Error was empty"),n=t instanceof Error;return{name:n?t.name:"No Name",message:n?t.message:void 0,trace:n?t.stack:function(e){try{return JSON.stringify(e)}catch(e){return"[Statsig] Failed to get string for error."}}(t)}}},26776:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="2.1.0"},64911:function(e,t,n){"use strict";var r=n(74859),i=this&amp;&amp;this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o&lt;3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&amp;&amp;"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s&gt;=0;s--)(i=e[s])&amp;&amp;(a=(o&lt;3?i(a):o&gt;3?i(t,n,a):i(t,n))||a);return o&gt;3&amp;&amp;a&amp;&amp;Object.defineProperty(t,n,a),a},o=this&amp;&amp;this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},a=this&amp;&amp;this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&amp;i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&amp;&amp;(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&amp;&amp;(o=0,s[0]&amp;&amp;(a=0)),a;)try{if(n=1,r&amp;&amp;(i=2&amp;s[0]?r.return:s[0]?r.throw||((i=r.return)&amp;&amp;i.call(r),0):r.next)&amp;&amp;!(i=i.call(r,s[1])).done)return i;switch(r=0,i&amp;&amp;(s=[2&amp;s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length&gt;0&amp;&amp;i[i.length-1])&amp;&amp;(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&amp;&amp;(!i||s[1]&gt;i[0]&amp;&amp;s[1]&lt;i[3])){a.label=s[1];break}if(6===s[0]&amp;&amp;a.label&lt;i[1]){a.label=i[1],i=s;break}if(i&amp;&amp;a.label&lt;i[2]){a.label=i[2],a.ops.push(s);break}i[2]&amp;&amp;a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&amp;s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(43860),u=n(99216),l=n(26776),c=function(){var e;function t(t,n,r){if(null!=e.instance&amp;&amp;e.canThrow())throw Error("Cannot create another instance of the static Statsig class");e.instance=new s.StatsigClient(t,n,r)}return e=t,t.initialize=function(t,n,r){return o(this,void 0,void 0,function(){var i;return a(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),e.instance||(e.instance=new s.StatsigClient(t,n,r),e.instance.setAppState(this.appState),e.instance.setSDKPackageInfo(this.sdkPackageInfo),e.instance.setNativeModules(this.nativeModules),e.instance.setPlatform(this.platform),e.instance.setRNDeviceInfo(this.deviceInfo),e.instance.setExpoConstants(this.expoConstants),e.instance.setExpoDevice(this.expoDevice),e.instance.setOnCacheLoadedReactCallback(this.onCacheLoadedCallback)),[4,e.instance.initializeAsync()];case 1:return o.sent(),e.processEventQueue(),[2];case 2:if(i=o.sent(),e.canThrow())throw i;return[3,3];case 3:return[2,Promise.resolve()]}})})},t.bootstrap=function(t,n,r,i){if(null!=e.instance){e.setInitializeValues(n);return}null==i&amp;&amp;(i={}),i.initializeValues=n,e.instance=new s.StatsigClient(t,r,i),e.instance.setSDKPackageInfo({sdkType:"react-client",sdkVersion:l.version})},t.flushEvents=function(){return this.capture(function(){return e.getClientX().flushEvents()},void 0)},t.reenableAllLogging=function(){return this.capture(function(){return e.getClientX().reenableAllLogging()},void 0)},t.prefetchUsers=function(t){return o(this,void 0,void 0,function(){return a(this,function(n){return[2,this.capture(function(){return e.getClientX().prefetchUsers(t)},Promise.resolve())]})})},t.setInitializeValues=function(t){this.capture(function(){return e.getClientX().setInitializeValues(t)},void 0)},t.getCurrentUser=function(){return this.capture(function(){return e.getClientX().getCurrentUser()},null)},t.checkGate=function(t,n){return void 0===n&amp;&amp;(n=!1),this.capture(function(){return e.getClientX().checkGate(t,n)},!1)},t.getFeatureGate=function(t,n){return this.capture(function(){return e.getClientX().getFeatureGate(t,n)},new s.FeatureGate(t,!1,"",{time:Date.now(),reason:s.EvaluationReason.Uninitialized}))},t.checkGateWithExposureLoggingDisabled=function(t,n){return this.capture(function(){return e.getClientX().checkGateWithExposureLoggingDisabled(t,null==n?void 0:n.ignoreOverrides)},!1)},t.manuallyLogGateExposure=function(t){this.capture(function(){return e.getClientX().logGateExposure(t)},void 0)},t.getConfig=function(t,n){return void 0===n&amp;&amp;(n=!1),this.capture(function(){return e.getClientX().getConfig(t,n)},new s.DynamicConfig(t,{},"",{time:Date.now(),reason:s.EvaluationReason.Uninitialized}))},t.getConfigWithExposureLoggingDisabled=function(t,n){return this.capture(function(){return e.getClientX().getConfigWithExposureLoggingDisabled(t,null==n?void 0:n.ignoreOverrides)},new s.DynamicConfig(t,{},"",{time:Date.now(),reason:s.EvaluationReason.Uninitialized}))},t.manuallyLogConfigExposure=function(t){this.capture(function(){return e.getClientX().logConfigExposure(t)},void 0)},t.getExperiment=function(t,n,r){return void 0===n&amp;&amp;(n=!1),void 0===r&amp;&amp;(r=!1),this.capture(function(){return e.getClientX().getExperiment(t,n,r)},new s.DynamicConfig(t,{},"",{time:Date.now(),reason:s.EvaluationReason.Uninitialized}))},t.getExperimentWithExposureLoggingDisabled=function(t,n){return this.capture(function(){return e.getClientX().getExperimentWithExposureLoggingDisabled(t,null==n?void 0:n.keepDeviceValue,null==n?void 0:n.ignoreOverrides)},new s.DynamicConfig(t,{},"",{time:Date.now(),reason:s.EvaluationReason.Uninitialized}))},t.manuallyLogExperimentExposure=function(t,n){this.capture(function(){return e.getClientX().logExperimentExposure(t,n)},void 0)},t.getLayer=function(t,n){return void 0===n&amp;&amp;(n=!1),this.capture(function(){return e.getClientX().getLayer(t,n)},s.Layer._create(t,{},"",{time:Date.now(),reason:s.EvaluationReason.Uninitialized}))},t.getLayerWithExposureLoggingDisabled=function(t,n){return this.capture(function(){return e.getClientX().getLayerWithExposureLoggingDisabled(t,null==n?void 0:n.keepDeviceValue)},s.Layer._create(t,{},"",{time:Date.now(),reason:s.EvaluationReason.Uninitialized}))},t.manuallyLogLayerParameterExposure=function(t,n,r){void 0===r&amp;&amp;(r=!1),this.capture(function(){return e.getClientX().logLayerParameterExposure(t,n,r)},void 0)},t.logEvent=function(t,n,r){var i=this;void 0===n&amp;&amp;(n=null),void 0===r&amp;&amp;(r=null),this.capture(function(){if(!e.instance||!e.initializeCalled()){if(e.eventQueue.length&gt;=i.MAX_QUEUED_EVENTS)return;e.eventQueue.push({eventName:t,value:n,metadata:r});return}e.instance.logEvent(t,n,r)},void 0)},t.updateUser=function(t){return this.capture(function(){return e.getClientX().updateUser(t)},Promise.resolve(!1))},t.updateUserWithValues=function(t,n){return this.capture(function(){return e.getClientX().updateUserWithValues(t,n)},!1)},t.shutdown=function(){this.capture(function(){return e.getClientX().shutdown()},void 0),e.instance=void 0},t.overrideGate=function(t,n){this.capture(function(){var r;(null===(r=e.getAllOverrides().gates)||void 0===r?void 0:r[t])!==n&amp;&amp;(e.getClientX().overrideGate(t,n),e.updateContext())},void 0)},t.overrideConfig=function(t,n){this.capture(function(){var r;(null===(r=e.getAllOverrides().configs)||void 0===r?void 0:r[t])!==n&amp;&amp;(e.getClientX().overrideConfig(t,n),e.updateContext())},void 0)},t.overrideLayer=function(t,n){this.capture(function(){var r;(null===(r=e.getAllOverrides().layers)||void 0===r?void 0:r[t])!==n&amp;&amp;(e.getClientX().overrideLayer(t,n),e.updateContext())},void 0)},t.removeGateOverride=function(t){this.capture(function(){e.getClientX().removeGateOverride(t),e.updateContext()},void 0)},t.removeConfigOverride=function(t){this.capture(function(){e.getClientX().removeConfigOverride(t),e.updateContext()},void 0)},t.removeLayerOverride=function(t){this.capture(function(){e.getClientX().removeLayerOverride(t),e.updateContext()},void 0)},t.getAllOverrides=function(){return this.capture(function(){return e.getClientX().getAllOverrides()},{gates:{},configs:{},layers:{}})},t.getEvaluationDetails=function(){var t,n;return null!==(n=null===(t=e.instance)||void 0===t?void 0:t.getEvaluationDetails())&amp;&amp;void 0!==n?n:{reason:s.EvaluationReason.Uninitialized,time:0}},t.getStableID=function(){return this.capture(function(){return e.getClientX().getStableID()},"")},t.initializeCalled=function(){return null!=e.instance&amp;&amp;e.instance.initializeCalled()},t.setAppState=function(t){null!=t&amp;&amp;(e.appState=t)},t.setSDKPackageInfo=function(t){e.sdkPackageInfo=t},t.setReactNativeUUID=function(e){null!=e&amp;&amp;s.StatsigClient.setReactNativeUUID(e)},t.setAsyncStorage=function(e){null!=e&amp;&amp;(s.StatsigAsyncStorage.asyncStorage=e)},t.setNativeModules=function(t){null!=t&amp;&amp;(e.nativeModules=t)},t.setPlatform=function(t){null!=t&amp;&amp;(e.platform=t)},t.setRNDeviceInfo=function(t){null!=t&amp;&amp;(e.deviceInfo=t)},t.setExpoConstants=function(t){null!=t&amp;&amp;(e.expoConstants=t)},t.setExpoDevice=function(t){null!=t&amp;&amp;(e.expoDevice=t)},t.setReactContextUpdater=function(t){e.reactContextUpdater=t},t.setOnCacheLoadedCallback=function(t){e.onCacheLoadedCallback=t},t.processEventQueue=function(){for(var t,n=0,r=e.eventQueue;n&lt;r.length;n++){var i=r[n];null===(t=e.instance)||void 0===t||t.logEvent(i.eventName,i.value,i.metadata)}e.eventQueue=[]},t.getClientX=function(){if(!e.instance)throw Error("Call and wait for initialize() to finish first.");return e.instance},t.capture=function(t,n){try{return t()}catch(t){if(e.canThrow())throw t;return n}},t.updateContext=function(){null!=e.reactContextUpdater&amp;&amp;e.reactContextUpdater()},t.canThrow=function(){var e;return void 0===r||void 0===r.env||(null===(e=null==r?void 0:r.env)||void 0===e?void 0:e.REACT_APP_STATSIG_SDK_MODE)!=="silent"},t.MAX_QUEUED_EVENTS=20,t.eventQueue=[],t.reactContextUpdater=null,t=e=i([(0,u.staticImplements)()],t)}();t.default=c},90640:function(e,t,n){"use strict";var r=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(7653));t.default=i.default.createContext({initialized:!1,statsigPromise:null,userVersion:0,initStarted:!1,updateUser:function(){},hooksMemoKey:null})},58543:function(e,t,n){"use strict";var r=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useLayerImpl=t.useLayerWithExposureLoggingDisabledImpl=t.useExperimentImpl=t.useExperimentWithExposureLoggingDisabledImpl=t.useConfigImpl=t.useGateImpl=t.useGateWithExposureLoggingDisabledImpl=t.useFeatureGateImpl=void 0;var i=n(7653),o=n(43860),a=r(n(90640)),s=r(n(64911));function u(e,t,n){void 0===n&amp;&amp;(n=!1);var r=(0,i.useContext)(a.default),o=r.initialized,u=r.userVersion,l=r.initStarted,c=r.hooksMemoKey,d=(0,i.useMemo)(function(){return!!l&amp;&amp;(n?s.default.checkGateWithExposureLoggingDisabled(e,{ignoreOverrides:t}):s.default.checkGate(e,t))},[o,l,e,u,t,n,c]);return{isLoading:!o,value:d}}function l(e,t,n,r){void 0===r&amp;&amp;(r=!1);var u=(0,i.useContext)(a.default),l=u.initialized,c=u.initStarted,d=u.userVersion,f=u.hooksMemoKey,h=(0,i.useMemo)(function(){return c?r?s.default.getExperimentWithExposureLoggingDisabled(e,{keepDeviceValue:t,ignoreOverrides:n}):s.default.getExperiment(e,t,n):new o.DynamicConfig(e,{},"",{time:Date.now(),reason:o.EvaluationReason.Uninitialized})},[l,c,e,d,t,n,r,f]);return{isLoading:!l,config:h}}function c(e,t,n){void 0===n&amp;&amp;(n=!1);var r=(0,i.useContext)(a.default),u=r.initialized,l=r.initStarted,c=r.userVersion,d=r.hooksMemoKey,f=(0,i.useMemo)(function(){return l?n?s.default.getLayerWithExposureLoggingDisabled(e,{keepDeviceValue:t}):s.default.getLayer(e,t):o.Layer._create(e,{},"",{time:Date.now(),reason:o.EvaluationReason.Uninitialized})},[u,l,e,c,t,n,d]);return{isLoading:!u,layer:f}}t.useFeatureGateImpl=function(e,t){var n=(0,i.useContext)(a.default),r=n.initialized,u=n.userVersion,l=n.initStarted,c=(0,i.useMemo)(function(){return l?s.default.getFeatureGate(e,t):new o.FeatureGate(e,!1,"",{time:Date.now(),reason:o.EvaluationReason.Uninitialized})},[r,l,e,u,null==t?void 0:t.ignoreOverrides,null==t?void 0:t.disableExposureLogging]);return{isLoading:!r,gate:c}},t.useGateWithExposureLoggingDisabledImpl=function(e,t){var n;return u(e,null!==(n=null==t?void 0:t.ignoreOverrides)&amp;&amp;void 0!==n&amp;&amp;n,!0)},t.useGateImpl=u,t.useConfigImpl=function(e,t,n){void 0===n&amp;&amp;(n=!1);var r=(0,i.useContext)(a.default),u=r.initialized,l=r.initStarted,c=r.userVersion,d=r.hooksMemoKey,f=(0,i.useMemo)(function(){return l?n?s.default.getConfigWithExposureLoggingDisabled(e,{ignoreOverrides:t}):s.default.getConfig(e,t):new o.DynamicConfig(e,{},"",{time:Date.now(),reason:o.EvaluationReason.Uninitialized})},[u,l,e,c,t,n,d]);return{isLoading:!u,config:f}},t.useExperimentWithExposureLoggingDisabledImpl=function(e,t){var n,r;return l(e,null!==(n=null==t?void 0:t.keepDeviceValue)&amp;&amp;void 0!==n&amp;&amp;n,null!==(r=null==t?void 0:t.ignoreOverrides)&amp;&amp;void 0!==r&amp;&amp;r,!0)},t.useExperimentImpl=l,t.useLayerWithExposureLoggingDisabledImpl=function(e,t){var n;return c(e,null!==(n=null==t?void 0:t.keepDeviceValue)&amp;&amp;void 0!==n&amp;&amp;n,!0)},t.useLayerImpl=c},16571:function(e,t,n){"use strict";var r=this&amp;&amp;this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&amp;&amp;(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&amp;&amp;(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&amp;&amp;(r=n),e[r]=t[n]}),i=this&amp;&amp;this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&amp;&amp;this.__importStar||function(e){if(e&amp;&amp;e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&amp;&amp;Object.prototype.hasOwnProperty.call(e,n)&amp;&amp;r(t,e,n);return i(t,e),t},a=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=o(n(7653)),u=a(n(90640)),l=a(n(43860)),c=a(n(64911)),d=n(26776);t.default=function(e){var t,n,r,i,o=e.children,a=e.sdkKey,f=e.user,h=e.setUser,p=e.options,g=e.waitForCache,v=e.waitForInitialization,y=e.initializingComponent,m=e.mountKey,E=e.shutdownOnUnmount,_=void 0!==E&amp;&amp;E,b=e._reactNativeDependencies,S=!!b,I=(0,s.useState)(!1),C=I[0],w=I[1],D=(0,s.useState)(!1),k=D[0],O=D[1],x=(0,s.useRef)(null),L=(0,s.useState)(0),A=L[0],M=L[1],T=(0,s.useRef)(new Promise(function(e){x.current=e})),U=(0,s.useMemo)(function(){return f},[JSON.stringify(f)]),P=(r=null!=m?m:null,i=(0,s.useRef)(null),(0,s.useEffect)(function(){i.current=r},[r]),i.current);(0,s.useEffect)(function(){if(c.default.initializeCalled()){T.current=new Promise(function(e){x.current=e});var e=void 0===m||P!==m;e&amp;&amp;(O(!1),w(!1)),c.default.updateUser(f).then(function(){x.current&amp;&amp;x.current(),M(function(e){return e+1}),e&amp;&amp;(O(!0),w(!0))});return}c.default.setSDKPackageInfo({sdkType:"react-client",sdkVersion:d.version}),S&amp;&amp;(c.default.setSDKPackageInfo(b.SDKPackageInfo),c.default.setAppState(b.AppState),c.default.setAsyncStorage(b.AsyncStorage),c.default.setNativeModules(b.NativeModules),c.default.setPlatform(b.Platform),c.default.setRNDeviceInfo(b.RNDevice),c.default.setReactNativeUUID(b.ReactNativeUUID),c.default.setExpoConstants(b.Constants),c.default.setExpoDevice(b.ExpoDevice)),c.default.setOnCacheLoadedCallback(function(){w(!0)}),c.default.initialize(a,U,p).then(function(){O(!0),x.current&amp;&amp;x.current()}),"undefined"!=typeof window&amp;&amp;(window.__STATSIG_SDK__=c.default,window.__STATSIG_JS_SDK__=l.default,window.__STATSIG_RERENDER_OVERRIDE__=function(){M(A+1)})},[U]),(0,s.useEffect)(function(){return c.default.setReactContextUpdater(function(){return M(function(e){return e+1})}),function(){_&amp;&amp;c.default.shutdown(),c.default.setReactContextUpdater(null)}},[]);var R=(t=!0===g,n=!0===v,k||!0!==n&amp;&amp;!0!==t||t&amp;&amp;C||n&amp;&amp;k?o:(n||t)&amp;&amp;null!=y?y:null),N=(0,s.useMemo)(function(){return{initialized:k,statsigPromise:T,userVersion:A,initStarted:c.default.initializeCalled(),updateUser:null!=h?h:function(){},hooksMemoKey:null}},[k,T,A,c.default.initializeCalled()]);return s.default.createElement(u.default.Provider,{value:N},R)}},99216:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticImplements=void 0,t.staticImplements=function(){return function(e){}}},5935:function(e,t,n){"use strict";var r=this&amp;&amp;this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&amp;&amp;(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&amp;&amp;(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&amp;&amp;(r=n),e[r]=t[n]}),i=this&amp;&amp;this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&amp;&amp;this.__importStar||function(e){if(e&amp;&amp;e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&amp;&amp;Object.prototype.hasOwnProperty.call(e,n)&amp;&amp;r(t,e,n);return i(t,e),t},a=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=o(n(7653)),u=a(n(90640)),l=a(n(43860)),c=a(n(64911));t.default=function(e){var t=e.children,n=e.sdkKey,r=e.user,i=e.options,o=e.initializeValues,a=e.setUser,d=e.shutdownOnUnmount,f=(0,s.useState)(0),h=f[0],p=f[1],g=(0,s.useState)(!0),v=g[0],y=g[1],m=(0,s.useRef)(!0),E=(0,s.useMemo)(function(){return r},[JSON.stringify(r)]),_=JSON.stringify(o);(0,s.useMemo)(function(){return c.default.bootstrap(n,o,E,i),o},[_]),(0,s.useEffect)(function(){if(m.current){m.current=!1,"undefined"!=typeof window&amp;&amp;(window.__STATSIG_SDK__=c.default,window.__STATSIG_JS_SDK__=l.default,window.__STATSIG_RERENDER_OVERRIDE__=function(){p(h+1)});return}y(!1),c.default.updateUser(r).then(function(){p(h+1),y(!0)})},[E]),(0,s.useEffect)(function(){return c.default.setReactContextUpdater(function(){return p(function(e){return e+1})}),function(){d&amp;&amp;c.default.shutdown(),c.default.setReactContextUpdater(null)}},[]);var b=(0,s.useMemo)(function(){return{initialized:v,statsigPromise:null,userVersion:h,initStarted:c.default.initializeCalled(),updateUser:null!=a?a:function(){},hooksMemoKey:_}},[v,h,c.default.initializeCalled(),a,_]);return s.default.createElement(u.default.Provider,{value:b},t)}},15992:function(e,t,n){"use strict";var r=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigSynchronousProvider=t.Layer=t.staticImplements=t.FeatureGate=t.DynamicConfig=t.useFeatureGate=t.useUpdateUser=t.useStatsigLogEffect=t.useGateWithExposureLoggingDisabled=t.useGate=t.usePrefetchUsers=t.useLayerWithExposureLoggingDisabled=t.useLayer=t.useExperimentWithExposureLoggingDisabled=t.useExperiment=t.useConfigWithExposureLoggingDisabled=t.useConfig=t.StatsigProvider=t.StatsigContext=t.Statsig=void 0;var i=n(43860);Object.defineProperty(t,"DynamicConfig",{enumerable:!0,get:function(){return i.DynamicConfig}}),Object.defineProperty(t,"Layer",{enumerable:!0,get:function(){return i.Layer}}),Object.defineProperty(t,"FeatureGate",{enumerable:!0,get:function(){return i.FeatureGate}});var o=r(n(64911));t.Statsig=o.default;var a=r(n(90640));t.StatsigContext=a.default;var s=r(n(16571));t.StatsigProvider=s.default;var u=n(99216);Object.defineProperty(t,"staticImplements",{enumerable:!0,get:function(){return u.staticImplements}});var l=r(n(62980));t.useConfig=l.default;var c=r(n(34269));t.useExperiment=c.default;var d=r(n(10098));t.useGate=d.default;var f=r(n(17730));t.useLayer=f.default;var h=r(n(57912));t.usePrefetchUsers=h.default;var p=r(n(27757));t.useStatsigLogEffect=p.default;var g=r(n(5935));t.StatsigSynchronousProvider=g.default;var v=r(n(69732));t.useConfigWithExposureLoggingDisabled=v.default;var y=r(n(13906));t.useGateWithExposureLoggingDisabled=y.default;var m=r(n(59878));t.useExperimentWithExposureLoggingDisabled=m.default;var E=r(n(84590));t.useLayerWithExposureLoggingDisabled=E.default;var _=r(n(40840));t.useUpdateUser=_.default;var b=r(n(68654));t.useFeatureGate=b.default},62980:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58543);t.default=function(e,t){return(0,r.useConfigImpl)(e,null!=t&amp;&amp;t)}},69732:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58543);t.default=function(e,t){var n;return(0,r.useConfigImpl)(e,null!==(n=null==t?void 0:t.ignoreOverrides)&amp;&amp;void 0!==n&amp;&amp;n,!0)}},34269:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58543);t.default=function(e,t,n){return void 0===t&amp;&amp;(t=!1),(0,r.useExperimentImpl)(e,t,null!=n&amp;&amp;n)}},59878:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58543);t.default=function(e,t){return(0,r.useExperimentWithExposureLoggingDisabledImpl)(e,t)}},68654:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58543);t.default=function(e,t){return(0,r.useFeatureGateImpl)(e,t)}},10098:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58543);t.default=function(e,t){return(0,r.useGateImpl)(e,null!=t&amp;&amp;t)}},13906:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58543);t.default=function(e,t){return(0,r.useGateWithExposureLoggingDisabledImpl)(e,t)}},17730:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58543);t.default=function(e,t){return void 0===t&amp;&amp;(t=!1),(0,r.useLayerImpl)(e,t)}},84590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58543);t.default=function(e,t){return(0,r.useLayerWithExposureLoggingDisabledImpl)(e,t)}},57912:function(e,t,n){"use strict";var r=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(7653),o=r(n(64911)),a=r(n(90640));t.default=function(e){var t=(0,i.useContext)(a.default).initStarted;(0,i.useEffect)(function(){t&amp;&amp;0!=e.length&amp;&amp;o.default.prefetchUsers(e).catch(function(){})},[t,e])}},27757:function(e,t,n){"use strict";var r=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(7653),o=r(n(64911)),a=r(n(90640));t.default=function(e,t,n){var r=(0,i.useContext)(a.default).initStarted;(0,i.useEffect)(function(){r&amp;&amp;o.default.logEvent(e,t,n)},[r])}},40840:function(e,t,n){"use strict";var r=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(7653),o=r(n(90640));t.default=function(){return(0,i.useContext)(o.default).updateUser}},7405:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return u.default}});var r=f(n(72720)),i=f(n(29969)),o=f(n(59329)),a=f(n(42501)),s=f(n(9308)),u=f(n(77157)),l=f(n(69449)),c=f(n(24888)),d=f(n(55421));function f(e){return e&amp;&amp;e.__esModule?e:{default:e}}},91500:function(e,t){"use strict";function n(e){return(e+64&gt;&gt;&gt;9&lt;&lt;4)+14+1}function r(e,t){let n=(65535&amp;e)+(65535&amp;t);return(e&gt;&gt;16)+(t&gt;&gt;16)+(n&gt;&gt;16)&lt;&lt;16|65535&amp;n}function i(e,t,n,i,o,a){var s;return r((s=r(r(t,e),r(i,a)))&lt;&lt;o|s&gt;&gt;&gt;32-o,n)}function o(e,t,n,r,o,a,s){return i(t&amp;n|~t&amp;r,e,t,o,a,s)}function a(e,t,n,r,o,a,s){return i(t&amp;r|n&amp;~r,e,t,o,a,s)}function s(e,t,n,r,o,a,s){return i(t^n^r,e,t,o,a,s)}function u(e,t,n,r,o,a,s){return i(n^(t|~r),e,t,o,a,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){if("string"==typeof e){let t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n&lt;t.length;++n)e[n]=t.charCodeAt(n)}return function(e){let t=[],n=32*e.length,r="0123456789abcdef";for(let i=0;i&lt;n;i+=8){let n=e[i&gt;&gt;5]&gt;&gt;&gt;i%32&amp;255,o=parseInt(r.charAt(n&gt;&gt;&gt;4&amp;15)+r.charAt(15&amp;n),16);t.push(o)}return t}(function(e,t){e[t&gt;&gt;5]|=128&lt;&lt;t%32,e[n(t)-1]=t;let i=1732584193,l=-271733879,c=-1732584194,d=271733878;for(let t=0;t&lt;e.length;t+=16){let n=i,f=l,h=c,p=d;i=o(i,l,c,d,e[t],7,-680876936),d=o(d,i,l,c,e[t+1],12,-389564586),c=o(c,d,i,l,e[t+2],17,606105819),l=o(l,c,d,i,e[t+3],22,-1044525330),i=o(i,l,c,d,e[t+4],7,-176418897),d=o(d,i,l,c,e[t+5],12,1200080426),c=o(c,d,i,l,e[t+6],17,-1473231341),l=o(l,c,d,i,e[t+7],22,-45705983),i=o(i,l,c,d,e[t+8],7,1770035416),d=o(d,i,l,c,e[t+9],12,-1958414417),c=o(c,d,i,l,e[t+10],17,-42063),l=o(l,c,d,i,e[t+11],22,-1990404162),i=o(i,l,c,d,e[t+12],7,1804603682),d=o(d,i,l,c,e[t+13],12,-40341101),c=o(c,d,i,l,e[t+14],17,-1502002290),l=o(l,c,d,i,e[t+15],22,1236535329),i=a(i,l,c,d,e[t+1],5,-165796510),d=a(d,i,l,c,e[t+6],9,-1069501632),c=a(c,d,i,l,e[t+11],14,643717713),l=a(l,c,d,i,e[t],20,-373897302),i=a(i,l,c,d,e[t+5],5,-701558691),d=a(d,i,l,c,e[t+10],9,38016083),c=a(c,d,i,l,e[t+15],14,-660478335),l=a(l,c,d,i,e[t+4],20,-405537848),i=a(i,l,c,d,e[t+9],5,568446438),d=a(d,i,l,c,e[t+14],9,-1019803690),c=a(c,d,i,l,e[t+3],14,-187363961),l=a(l,c,d,i,e[t+8],20,1163531501),i=a(i,l,c,d,e[t+13],5,-1444681467),d=a(d,i,l,c,e[t+2],9,-51403784),c=a(c,d,i,l,e[t+7],14,1735328473),l=a(l,c,d,i,e[t+12],20,-1926607734),i=s(i,l,c,d,e[t+5],4,-378558),d=s(d,i,l,c,e[t+8],11,-2022574463),c=s(c,d,i,l,e[t+11],16,1839030562),l=s(l,c,d,i,e[t+14],23,-35309556),i=s(i,l,c,d,e[t+1],4,-1530992060),d=s(d,i,l,c,e[t+4],11,1272893353),c=s(c,d,i,l,e[t+7],16,-155497632),l=s(l,c,d,i,e[t+10],23,-1094730640),i=s(i,l,c,d,e[t+13],4,681279174),d=s(d,i,l,c,e[t],11,-358537222),c=s(c,d,i,l,e[t+3],16,-722521979),l=s(l,c,d,i,e[t+6],23,76029189),i=s(i,l,c,d,e[t+9],4,-640364487),d=s(d,i,l,c,e[t+12],11,-421815835),c=s(c,d,i,l,e[t+15],16,530742520),l=s(l,c,d,i,e[t+2],23,-995338651),i=u(i,l,c,d,e[t],6,-198630844),d=u(d,i,l,c,e[t+7],10,1126891415),c=u(c,d,i,l,e[t+14],15,-1416354905),l=u(l,c,d,i,e[t+5],21,-57434055),i=u(i,l,c,d,e[t+12],6,1700485571),d=u(d,i,l,c,e[t+3],10,-1894986606),c=u(c,d,i,l,e[t+10],15,-1051523),l=u(l,c,d,i,e[t+1],21,-2054922799),i=u(i,l,c,d,e[t+8],6,1873313359),d=u(d,i,l,c,e[t+15],10,-30611744),c=u(c,d,i,l,e[t+6],15,-1560198380),l=u(l,c,d,i,e[t+13],21,1309151649),i=u(i,l,c,d,e[t+4],6,-145523070),d=u(d,i,l,c,e[t+11],10,-1120210379),c=u(c,d,i,l,e[t+2],15,718787259),l=u(l,c,d,i,e[t+9],21,-343485551),i=r(i,n),l=r(l,f),c=r(c,h),d=r(d,p)}return[i,l,c,d]}(function(e){if(0===e.length)return[];let t=8*e.length,r=new Uint32Array(n(t));for(let n=0;n&lt;t;n+=8)r[n&gt;&gt;5]|=(255&amp;e[n/8])&lt;&lt;n%32;return r}(e),8*e.length))}},35457:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let n="undefined"!=typeof crypto&amp;&amp;crypto.randomUUID&amp;&amp;crypto.randomUUID.bind(crypto);t.default={randomUUID:n}},9308:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default="00000000-0000-0000-0000-000000000000"},55421:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(69449))&amp;&amp;r.__esModule?r:{default:r};t.default=function(e){let t;if(!(0,i.default)(e))throw TypeError("Invalid UUID");let n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))&gt;&gt;&gt;24,n[1]=t&gt;&gt;&gt;16&amp;255,n[2]=t&gt;&gt;&gt;8&amp;255,n[3]=255&amp;t,n[4]=(t=parseInt(e.slice(9,13),16))&gt;&gt;&gt;8,n[5]=255&amp;t,n[6]=(t=parseInt(e.slice(14,18),16))&gt;&gt;&gt;8,n[7]=255&amp;t,n[8]=(t=parseInt(e.slice(19,23),16))&gt;&gt;&gt;8,n[9]=255&amp;t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&amp;255,n[11]=t/4294967296&amp;255,n[12]=t&gt;&gt;&gt;24&amp;255,n[13]=t&gt;&gt;&gt;16&amp;255,n[14]=t&gt;&gt;&gt;8&amp;255,n[15]=255&amp;t,n}},20001:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},59397:function(e,t){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!n&amp;&amp;!(n="undefined"!=typeof crypto&amp;&amp;crypto.getRandomValues&amp;&amp;crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)};let r=new Uint8Array(16)},13733:function(e,t){"use strict";function n(e,t){return e&lt;&lt;t|e&gt;&gt;&gt;32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){let t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){let t=unescape(encodeURIComponent(e));e=[];for(let n=0;n&lt;t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);let i=Math.ceil((e.length/4+2)/16),o=Array(i);for(let t=0;t&lt;i;++t){let n=new Uint32Array(16);for(let r=0;r&lt;16;++r)n[r]=e[64*t+4*r]&lt;&lt;24|e[64*t+4*r+1]&lt;&lt;16|e[64*t+4*r+2]&lt;&lt;8|e[64*t+4*r+3];o[t]=n}o[i-1][14]=(e.length-1)*8/4294967296,o[i-1][14]=Math.floor(o[i-1][14]),o[i-1][15]=(e.length-1)*8&amp;4294967295;for(let e=0;e&lt;i;++e){let i=new Uint32Array(80);for(let t=0;t&lt;16;++t)i[t]=o[e][t];for(let e=16;e&lt;80;++e)i[e]=n(i[e-3]^i[e-8]^i[e-14]^i[e-16],1);let a=r[0],s=r[1],u=r[2],l=r[3],c=r[4];for(let e=0;e&lt;80;++e){let r=Math.floor(e/20),o=n(a,5)+function(e,t,n,r){switch(e){case 0:return t&amp;n^~t&amp;r;case 1:case 3:return t^n^r;case 2:return t&amp;n^t&amp;r^n&amp;r}}(r,s,u,l)+c+t[r]+i[e]&gt;&gt;&gt;0;c=l,l=u,u=n(s,30)&gt;&gt;&gt;0,s=a,a=o}r[0]=r[0]+a&gt;&gt;&gt;0,r[1]=r[1]+s&gt;&gt;&gt;0,r[2]=r[2]+u&gt;&gt;&gt;0,r[3]=r[3]+l&gt;&gt;&gt;0,r[4]=r[4]+c&gt;&gt;&gt;0}return[r[0]&gt;&gt;24&amp;255,r[0]&gt;&gt;16&amp;255,r[0]&gt;&gt;8&amp;255,255&amp;r[0],r[1]&gt;&gt;24&amp;255,r[1]&gt;&gt;16&amp;255,r[1]&gt;&gt;8&amp;255,255&amp;r[1],r[2]&gt;&gt;24&amp;255,r[2]&gt;&gt;16&amp;255,r[2]&gt;&gt;8&amp;255,255&amp;r[2],r[3]&gt;&gt;24&amp;255,r[3]&gt;&gt;16&amp;255,r[3]&gt;&gt;8&amp;255,255&amp;r[3],r[4]&gt;&gt;24&amp;255,r[4]&gt;&gt;16&amp;255,r[4]&gt;&gt;8&amp;255,255&amp;r[4]]}},24888:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=a;var r,i=(r=n(69449))&amp;&amp;r.__esModule?r:{default:r};let o=[];for(let e=0;e&lt;256;++e)o.push((e+256).toString(16).slice(1));function a(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}t.default=function(e,t=0){let n=a(e,t);if(!(0,i.default)(n))throw TypeError("Stringified UUID is invalid");return n}},72720:function(e,t,n){"use strict";let r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=(o=n(59397))&amp;&amp;o.__esModule?o:{default:o},s=n(24888);let u=0,l=0;t.default=function(e,t,n){let o=t&amp;&amp;n||0,c=t||Array(16),d=(e=e||{}).node||r,f=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==f){let t=e.random||(e.rng||a.default)();null==d&amp;&amp;(d=r=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==f&amp;&amp;(f=i=(t[6]&lt;&lt;8|t[7])&amp;16383)}let h=void 0!==e.msecs?e.msecs:Date.now(),p=void 0!==e.nsecs?e.nsecs:l+1,g=h-u+(p-l)/1e4;if(g&lt;0&amp;&amp;void 0===e.clockseq&amp;&amp;(f=f+1&amp;16383),(g&lt;0||h&gt;u)&amp;&amp;void 0===e.nsecs&amp;&amp;(p=0),p&gt;=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");u=h,l=p,i=f;let v=((268435455&amp;(h+=122192928e5))*1e4+p)%4294967296;c[o++]=v&gt;&gt;&gt;24&amp;255,c[o++]=v&gt;&gt;&gt;16&amp;255,c[o++]=v&gt;&gt;&gt;8&amp;255,c[o++]=255&amp;v;let y=h/4294967296*1e4&amp;268435455;c[o++]=y&gt;&gt;&gt;8&amp;255,c[o++]=255&amp;y,c[o++]=y&gt;&gt;&gt;24&amp;15|16,c[o++]=y&gt;&gt;&gt;16&amp;255,c[o++]=f&gt;&gt;&gt;8|128,c[o++]=255&amp;f;for(let e=0;e&lt;6;++e)c[o+e]=d[e];return t||(0,s.unsafeStringify)(c)}},29969:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(98696)),i=o(n(91500));function o(e){return e&amp;&amp;e.__esModule?e:{default:e}}let a=(0,r.default)("v3",48,i.default);t.default=a},98696:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,n){function r(e,r,a,s){var u;if("string"==typeof e&amp;&amp;(e=function(e){e=unescape(encodeURIComponent(e));let t=[];for(let n=0;n&lt;e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&amp;&amp;(r=(0,o.default)(r)),(null===(u=r)||void 0===u?void 0:u.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+e.length);if(l.set(r),l.set(e,r.length),(l=n(l))[6]=15&amp;l[6]|t,l[8]=63&amp;l[8]|128,a){s=s||0;for(let e=0;e&lt;16;++e)a[s+e]=l[e];return a}return(0,i.unsafeStringify)(l)}try{r.name=e}catch(e){}return r.DNS=a,r.URL=s,r};var r,i=n(24888),o=(r=n(55421))&amp;&amp;r.__esModule?r:{default:r};let a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=a;let s="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=s},59329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(35457)),i=a(n(59397)),o=n(24888);function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}t.default=function(e,t,n){if(r.default.randomUUID&amp;&amp;!t&amp;&amp;!e)return r.default.randomUUID();let a=(e=e||{}).random||(e.rng||i.default)();if(a[6]=15&amp;a[6]|64,a[8]=63&amp;a[8]|128,t){n=n||0;for(let e=0;e&lt;16;++e)t[n+e]=a[e];return t}return(0,o.unsafeStringify)(a)}},42501:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(98696)),i=o(n(13733));function o(e){return e&amp;&amp;e.__esModule?e:{default:e}}let a=(0,r.default)("v5",80,i.default);t.default=a},69449:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(20001))&amp;&amp;r.__esModule?r:{default:r};t.default=function(e){return"string"==typeof e&amp;&amp;i.default.test(e)}},77157:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(69449))&amp;&amp;r.__esModule?r:{default:r};t.default=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},30857:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return s}});var i={randomUUID:"undefined"!=typeof crypto&amp;&amp;crypto.randomUUID&amp;&amp;crypto.randomUUID.bind(crypto)};let o=new Uint8Array(16),a=[];for(let e=0;e&lt;256;++e)a.push((e+256).toString(16).slice(1));var s=function(e,t,n){if(i.randomUUID&amp;&amp;!t&amp;&amp;!e)return i.randomUUID();let s=(e=e||{}).random||(e.rng||function(){if(!r&amp;&amp;!(r="undefined"!=typeof crypto&amp;&amp;crypto.getRandomValues&amp;&amp;crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)})();if(s[6]=15&amp;s[6]|64,s[8]=63&amp;s[8]|128,t){n=n||0;for(let e=0;e&lt;16;++e)t[n+e]=s[e];return t}return function(e,t=0){return a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]}(s)}}}]);
//# sourceMappingURL=3579-5773db732bcfd274.js.map</pre></body></html>