@streamlayer/react 0.40.2 → 0.40.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1,199 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./masters.js");require("react/jsx-runtime");require("react");exports.MastersStreamLayerProvider=e.MastersStreamLayerProvider;exports.MastersStreamLayerSDKReact=e.MastersStreamLayerSDKReact;exports.StreamLayerLogin=e.StreamLayerLogin;exports.StreamLayerSDKPoints=e.StreamLayerSDKPoints;
1
+ "use strict";var hL=Object.defineProperty;var gL=(n,r,i)=>r in n?hL(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i;var Z=(n,r,i)=>(gL(n,typeof r!="symbol"?r+"":r,i),i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("react/jsx-runtime"),ue=require("react");function yL(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const i in n)if(i!=="default"){const u=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(r,i,u.get?u:{enumerable:!0,get:()=>n[i]})}}return r.default=n,Object.freeze(r)}const J=yL(ue),vL={BG_TRANSPARENT:"rgba(0,0,0, .8)",BG_TRANSPARENT_VOTE_CONTAINER:"rgba(10, 14, 19, 0.8)",BG_TRANSPARENT_ITEM:"rgba(0, 0, 0, 0.7)",BG_TRANSPARENT_ITEM_VOTE:"rgba(255, 255, 255, 0.1)",BG_TRANSPARENT_ITEM_SUCCESS:"rgba(0, 139, 251, 0.2)",BG_TRANSPARENT_ITEM_ERROR:"rgba(205, 37, 37, 0.2)",BG_TRANSPARENT_VOTE_PROGRESS:"rgba(255, 255, 255, 0.2)",BG_TRANSPARENT_VOTE_PROGRESS_SUCCESS:"rgba(60, 139, 251, 0.5)",BG_TRANSPARENT_VOTE_PROGRESS_ERROR:"rgba(205, 37, 37, 0.5)",BG_TRANSPARENT_ONBOARDING_INAPP:"rgba(138, 159, 182, 0.2)",LEADERBOARD_UNIT:"rgba(255, 255, 255, 0.5)",BLUE_PRIMARY:"#1589EE",RED_PRIMARY:"#CD2525",RED_SECONDARY:"#EB5757",BLUE_QUESTION_ACTION_BTN:"#1589ee",WHITE:"#FFFFFF",GREY_1:"#909395",GREY_2:"#22262b",GREY_3:"#2d3135",GREY_4:"#53565a",GREY_PRIMARY_ONBOARDING_INAPP:"#B5B7B8",BLACK_1:"#161a1f",GREEN_1:"#F7B801",RED_1:"#A30000",RED_2:"#FF4170",GREY_PRIMARY:"#909395",DIVIDER_COLOR_SECONDARY:"#53565a",GREEN_PRIMARY_BTN:"#009B77"},kL={PRIMARY_GREEN1:"#107D57",PRIMARY_GREEN2:"#006747",PRIMARY_GREEN3:"#1C4932",PRIMARY_GREEN4:"#193526",SECONDARY_RED1:"#DF2F3B",SECONDARY_RED2:"#BA0C2F",SECONDARY_RED3:"#f9d6d8",SECONDARY_YELLOW:"#fce300",SECONDARY_GREEN5:"#C0DC8F",SECONDARY_GREEN6:"#cee5de",NEUTRALS_WHITE:"#FFFFFF",NEUTRALS_GRAY1:"#F7F7F7",NEUTRALS_GRAY2:"#F2F2F1",NEUTRALS_GRAY3:"#E8E8E8",NEUTRALS_GRAY4:"#D9D9D6",NEUTRALS_GRAY5:"#B1B3B3",NEUTRALS_GRAY6:"#888B8D",NEUTRALS_GRAY7:"#6B6F73",NEUTRALS_GRAY8:"#53565A",NEUTRALS_GRAY9:"#25282A",NEUTRALS_BLACK:"#000000"},qi=Object.assign({},vL,kL),Np={REGULAR:"'Benton Sans', BentonSans, Arial, Helvetica, sans-serif",SERIF:"'Tiempos', 'Tiempos Text', Times New Roman, serif",COLOR:"#fff",WEIGHT_DEFAULT:"500"},lo={xs:324,sm:576,md:768,lg:992,xl:1215,xxl:1440},bL={landscape:"landscape",portrait:"portrait"},TL=Object.keys(qi).reduce((n,r)=>{const i=qi[r];return`
2
+ ${n}
3
+ --color-${r.toLowerCase().replaceAll("_","-")}: ${i};
4
+ `},""),z8=n=>r=>`
5
+ @media only screen and (${n}) {
6
+ ${r}
7
+ }
8
+ `,SL=(n,r)=>i=>`
9
+ @media only screen and (${n}) and (${r}) {
10
+ ${i}
11
+ }
12
+ `,Ek={up:n=>{const r=lo[n];return z8(`min-width: ${r}px`)},down:n=>{const r=lo[n]-1;return z8(`max-width: ${r}px`)},intermediate:(n,r)=>{const i=lo[n]-1,u=lo[r];return SL(`max-width: ${i}px`,`min-width: ${u}px`)},orientation:n=>{const r=bL[n];return z8(`orientation: ${r}`)}};`${TL}${Np.REGULAR}${Np.REGULAR}${Np.COLOR}${Np.SERIF}${Np.WEIGHT_DEFAULT}${Ek.down("xl")`
13
+ --header-offset: 56px;
14
+ `}${Ek.intermediate("xl","lg")`
15
+ --header-offset: 76px;
16
+ `}`;const kg="StreamLayerCSSReset",wL="ttkj0ah",QT=({children:n,style:r})=>R.jsx("div",{className:"StreamLayerSDKTheme",children:R.jsx("div",{className:wL,style:r,children:n})});let $8=0,Ck=[];function EL(){return $8+=1,()=>{if($8-=1,$8===0){let n=Ck;Ck=[];for(let r of n)r()}}}let gr=[],iu=(n,r)=>{let i=[],u={get(){return u.lc||u.listen(()=>{})(),u.value},l:r||0,lc:0,listen(c,p){return u.lc=i.push(c,p||u.l)/2,()=>{let m=i.indexOf(c);~m&&(i.splice(m,2),--u.lc||u.off())}},notify(c){let p=!gr.length;for(let m=0;m<i.length;m+=2)gr.push(i[m],i[m+1],u.value,c);if(p){for(let m=0;m<gr.length;m+=4){let k;for(let S=m+1;!k&&(S+=4)<gr.length;)gr[S]<gr[m+1]&&(k=gr.push(gr[m],gr[m+1],gr[m+2],gr[m+3]));k||gr[m](gr[m+2],gr[m+3])}gr.length=0}},off(){},set(c){u.value!==c&&(u.value=c,u.notify())},subscribe(c,p){let m=u.listen(c,p);return c(u.value),m},value:n};return u};const CL=0,_L=1,RL=5,og=6,sg=10;let a9=(n,r,i,u)=>(n.events=n.events||{},n.events[i+sg]||(n.events[i+sg]=u(c=>{n.events[i].reduceRight((p,m)=>(m(p),p),{shared:{},...c})})),n.events[i]=n.events[i]||[],n.events[i].push(r),()=>{let c=n.events[i],p=c.indexOf(r);c.splice(p,1),c.length||(delete n.events[i],n.events[i+sg](),delete n.events[i+sg])}),IL=(n,r)=>a9(n,r,CL,i=>{let u=n.listen;return n.listen=c=>(!n.lc&&!n.starting&&(n.starting=!0,i(),delete n.starting),u(c)),()=>{n.listen=u}}),NL=(n,r)=>a9(n,r,_L,i=>{let u=n.off;return n.off=()=>{i(),u()},()=>{n.off=u}}),LL=1e3,qg=(n,r)=>a9(n,u=>{let c=r(u);c&&n.events[og].push(c)},RL,u=>{let c=n.listen;n.listen=(...m)=>(!n.lc&&!n.active&&(n.active=!0,u()),c(...m));let p=n.off;return n.events[og]=[],n.off=()=>{p(),setTimeout(()=>{if(n.active&&!n.lc){n.active=!1;for(let m of n.events[og])m();n.events[og]=[]}},LL)},()=>{n.listen=c,n.off=p}}),xL=(n,r)=>{Array.isArray(n)||(n=[n]);let i,u=()=>{let p=n.map(m=>m.get());(i===void 0||p.some((m,k)=>m!==i[k]))&&(i=p,c.set(r(...p)))},c=iu(void 0,Math.max(...n.map(p=>p.l))+1);return qg(c,()=>{let p=n.map(m=>m.listen(u,c.l));return u(),()=>{for(let m of p)m()}}),c};function OL(n,r,i){let u=new Set([...r,void 0]);return n.listen((c,p)=>{u.has(p)&&i(c,p)})}let _4=(n={})=>{let r=iu(n);return r.setKey=function(i,u){typeof u>"u"?i in r.value&&(r.value={...r.value},delete r.value[i],r.notify(i)):r.value[i]!==u&&(r.value={...r.value,[i]:u},r.notify(i))},r};function kn(n,r={}){let i=ue.useCallback(c=>r.keys?OL(n,r.keys,c):n.listen(c),[r.keys,n]),u=n.get.bind(n);return ue.useSyncExternalStore(i,u,u)}function vr(n,r){if(!n)throw new Error(r)}const AL=34028234663852886e22,PL=-34028234663852886e22,ML=4294967295,DL=2147483647,UL=-2147483648;function bg(n){if(typeof n!="number")throw new Error("invalid int 32: "+typeof n);if(!Number.isInteger(n)||n>DL||n<UL)throw new Error("invalid int 32: "+n)}function R4(n){if(typeof n!="number")throw new Error("invalid uint 32: "+typeof n);if(!Number.isInteger(n)||n>ML||n<0)throw new Error("invalid uint 32: "+n)}function YT(n){if(typeof n!="number")throw new Error("invalid float 32: "+typeof n);if(Number.isFinite(n)&&(n>AL||n<PL))throw new Error("invalid float 32: "+n)}const KT=Symbol("@bufbuild/protobuf/enum-type");function FL(n){const r=n[KT];return vr(r,"missing enum type on enum object"),r}function ZT(n,r,i,u){n[KT]=JT(r,i.map(c=>({no:c.no,name:c.name,localName:n[c.no]})))}function JT(n,r,i){const u=Object.create(null),c=Object.create(null),p=[];for(const m of r){const k=XT(m);p.push(k),u[m.name]=k,c[m.no]=k}return{typeName:n,values:p,findName(m){return u[m]},findNumber(m){return c[m]}}}function jL(n,r,i){const u={};for(const c of r){const p=XT(c);u[p.localName]=p.no,u[p.no]=p.localName}return ZT(u,n,r),u}function XT(n){return"localName"in n?n:Object.assign(Object.assign({},n),{localName:n.name})}class Xi{equals(r){return this.getType().runtime.util.equals(this.getType(),this,r)}clone(){return this.getType().runtime.util.clone(this)}fromBinary(r,i){const u=this.getType(),c=u.runtime.bin,p=c.makeReadOptions(i);return c.readMessage(this,p.readerFactory(r),r.byteLength,p),this}fromJson(r,i){const u=this.getType(),c=u.runtime.json,p=c.makeReadOptions(i);return c.readMessage(u,r,p,this),this}fromJsonString(r,i){let u;try{u=JSON.parse(r)}catch(c){throw new Error(`cannot decode ${this.getType().typeName} from JSON: ${c instanceof Error?c.message:String(c)}`)}return this.fromJson(u,i)}toBinary(r){const i=this.getType(),u=i.runtime.bin,c=u.makeWriteOptions(r),p=c.writerFactory();return u.writeMessage(this,p,c),p.finish()}toJson(r){const i=this.getType(),u=i.runtime.json,c=u.makeWriteOptions(r);return u.writeMessage(this,c)}toJsonString(r){var i;const u=this.toJson(r);return JSON.stringify(u,null,(i=r==null?void 0:r.prettySpaces)!==null&&i!==void 0?i:0)}toJSON(){return this.toJson({emitDefaultValues:!0})}getType(){return Object.getPrototypeOf(this).constructor}}function VL(n,r,i,u){var c;const p=(c=u==null?void 0:u.localName)!==null&&c!==void 0?c:r.substring(r.lastIndexOf(".")+1),m={[p]:function(k){n.util.initFields(this),n.util.initPartial(k,this)}}[p];return Object.setPrototypeOf(m.prototype,new Xi),Object.assign(m,{runtime:n,typeName:r,fields:n.util.newFieldList(i),fromBinary(k,S){return new m().fromBinary(k,S)},fromJson(k,S){return new m().fromJson(k,S)},fromJsonString(k,S){return new m().fromJsonString(k,S)},equals(k,S){return n.util.equals(m,k,S)}}),m}var be;(function(n){n[n.DOUBLE=1]="DOUBLE",n[n.FLOAT=2]="FLOAT",n[n.INT64=3]="INT64",n[n.UINT64=4]="UINT64",n[n.INT32=5]="INT32",n[n.FIXED64=6]="FIXED64",n[n.FIXED32=7]="FIXED32",n[n.BOOL=8]="BOOL",n[n.STRING=9]="STRING",n[n.BYTES=12]="BYTES",n[n.UINT32=13]="UINT32",n[n.SFIXED32=15]="SFIXED32",n[n.SFIXED64=16]="SFIXED64",n[n.SINT32=17]="SINT32",n[n.SINT64=18]="SINT64"})(be||(be={}));var Dc;(function(n){n[n.BIGINT=0]="BIGINT",n[n.STRING=1]="STRING"})(Dc||(Dc={}));function BL(){let n=0,r=0;for(let u=0;u<28;u+=7){let c=this.buf[this.pos++];if(n|=(c&127)<<u,!(c&128))return this.assertBounds(),[n,r]}let i=this.buf[this.pos++];if(n|=(i&15)<<28,r=(i&112)>>4,!(i&128))return this.assertBounds(),[n,r];for(let u=3;u<=31;u+=7){let c=this.buf[this.pos++];if(r|=(c&127)<<u,!(c&128))return this.assertBounds(),[n,r]}throw new Error("invalid varint")}function H8(n,r,i){for(let p=0;p<28;p=p+7){const m=n>>>p,k=!(!(m>>>7)&&r==0),S=(k?m|128:m)&255;if(i.push(S),!k)return}const u=n>>>28&15|(r&7)<<4,c=!!(r>>3);if(i.push((c?u|128:u)&255),!!c){for(let p=3;p<31;p=p+7){const m=r>>>p,k=!!(m>>>7),S=(k?m|128:m)&255;if(i.push(S),!k)return}i.push(r>>>31&1)}}const Tg=4294967296;function _k(n){const r=n[0]==="-";r&&(n=n.slice(1));const i=1e6;let u=0,c=0;function p(m,k){const S=Number(n.slice(m,k));c*=i,u=u*i+S,u>=Tg&&(c=c+(u/Tg|0),u=u%Tg)}return p(-24,-18),p(-18,-12),p(-12,-6),p(-6),r?tS(u,c):r9(u,c)}function zL(n,r){let i=r9(n,r);const u=i.hi&2147483648;u&&(i=tS(i.lo,i.hi));const c=eS(i.lo,i.hi);return u?"-"+c:c}function eS(n,r){if({lo:n,hi:r}=$L(n,r),r<=2097151)return String(Tg*r+n);const i=n&16777215,u=(n>>>24|r<<8)&16777215,c=r>>16&65535;let p=i+u*6777216+c*6710656,m=u+c*8147497,k=c*2;const S=1e7;return p>=S&&(m+=Math.floor(p/S),p%=S),m>=S&&(k+=Math.floor(m/S),m%=S),k.toString()+Rk(m)+Rk(p)}function $L(n,r){return{lo:n>>>0,hi:r>>>0}}function r9(n,r){return{lo:n|0,hi:r|0}}function tS(n,r){return r=~r,n?n=~n+1:r+=1,r9(n,r)}const Rk=n=>{const r=String(n);return"0000000".slice(r.length)+r};function Ik(n,r){if(n>=0){for(;n>127;)r.push(n&127|128),n=n>>>7;r.push(n)}else{for(let i=0;i<9;i++)r.push(n&127|128),n=n>>7;r.push(1)}}function HL(){let n=this.buf[this.pos++],r=n&127;if(!(n&128))return this.assertBounds(),r;if(n=this.buf[this.pos++],r|=(n&127)<<7,!(n&128))return this.assertBounds(),r;if(n=this.buf[this.pos++],r|=(n&127)<<14,!(n&128))return this.assertBounds(),r;if(n=this.buf[this.pos++],r|=(n&127)<<21,!(n&128))return this.assertBounds(),r;n=this.buf[this.pos++],r|=(n&15)<<28;for(let i=5;n&128&&i<10;i++)n=this.buf[this.pos++];if(n&128)throw new Error("invalid varint");return this.assertBounds(),r>>>0}function GL(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var nS={exports:{}},Hn=nS.exports={},Vs,Bs;function I4(){throw new Error("setTimeout has not been defined")}function N4(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Vs=setTimeout:Vs=I4}catch{Vs=I4}try{typeof clearTimeout=="function"?Bs=clearTimeout:Bs=N4}catch{Bs=N4}})();function aS(n){if(Vs===setTimeout)return setTimeout(n,0);if((Vs===I4||!Vs)&&setTimeout)return Vs=setTimeout,setTimeout(n,0);try{return Vs(n,0)}catch{try{return Vs.call(null,n,0)}catch{return Vs.call(this,n,0)}}}function qL(n){if(Bs===clearTimeout)return clearTimeout(n);if((Bs===N4||!Bs)&&clearTimeout)return Bs=clearTimeout,clearTimeout(n);try{return Bs(n)}catch{try{return Bs.call(null,n)}catch{return Bs.call(this,n)}}}var Wi=[],J1=!1,Rc,Sg=-1;function WL(){!J1||!Rc||(J1=!1,Rc.length?Wi=Rc.concat(Wi):Sg=-1,Wi.length&&rS())}function rS(){if(!J1){var n=aS(WL);J1=!0;for(var r=Wi.length;r;){for(Rc=Wi,Wi=[];++Sg<r;)Rc&&Rc[Sg].run();Sg=-1,r=Wi.length}Rc=null,J1=!1,qL(n)}}Hn.nextTick=function(n){var r=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)r[i-1]=arguments[i];Wi.push(new oS(n,r)),Wi.length===1&&!J1&&aS(rS)};function oS(n,r){this.fun=n,this.array=r}oS.prototype.run=function(){this.fun.apply(null,this.array)};Hn.title="browser";Hn.browser=!0;Hn.env={};Hn.argv=[];Hn.version="";Hn.versions={};function el(){}Hn.on=el;Hn.addListener=el;Hn.once=el;Hn.off=el;Hn.removeListener=el;Hn.removeAllListeners=el;Hn.emit=el;Hn.prependListener=el;Hn.prependOnceListener=el;Hn.listeners=function(n){return[]};Hn.binding=function(n){throw new Error("process.binding is not supported")};Hn.cwd=function(){return"/"};Hn.chdir=function(n){throw new Error("process.chdir is not supported")};Hn.umask=function(){return 0};var QL=nS.exports;const Nk=GL(QL);function YL(){const n=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof n.getBigInt64=="function"&&typeof n.getBigUint64=="function"&&typeof n.setBigInt64=="function"&&typeof n.setBigUint64=="function"&&(typeof Nk!="object"||typeof Nk.env!="object"||!1)){const c=BigInt("-9223372036854775808"),p=BigInt("9223372036854775807"),m=BigInt("0"),k=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(S){const I=typeof S=="bigint"?S:BigInt(S);if(I>p||I<c)throw new Error(`int64 invalid: ${S}`);return I},uParse(S){const I=typeof S=="bigint"?S:BigInt(S);if(I>k||I<m)throw new Error(`uint64 invalid: ${S}`);return I},enc(S){return n.setBigInt64(0,this.parse(S),!0),{lo:n.getInt32(0,!0),hi:n.getInt32(4,!0)}},uEnc(S){return n.setBigInt64(0,this.uParse(S),!0),{lo:n.getInt32(0,!0),hi:n.getInt32(4,!0)}},dec(S,I){return n.setInt32(0,S,!0),n.setInt32(4,I,!0),n.getBigInt64(0,!0)},uDec(S,I){return n.setInt32(0,S,!0),n.setInt32(4,I,!0),n.getBigUint64(0,!0)}}}const i=c=>vr(/^-?[0-9]+$/.test(c),`int64 invalid: ${c}`),u=c=>vr(/^[0-9]+$/.test(c),`uint64 invalid: ${c}`);return{zero:"0",supported:!1,parse(c){return typeof c!="string"&&(c=c.toString()),i(c),c},uParse(c){return typeof c!="string"&&(c=c.toString()),u(c),c},enc(c){return typeof c!="string"&&(c=c.toString()),i(c),_k(c)},uEnc(c){return typeof c!="string"&&(c=c.toString()),u(c),_k(c)},dec(c,p){return zL(c,p)},uDec(c,p){return eS(c,p)}}}const ba=YL();var un;(function(n){n[n.Varint=0]="Varint",n[n.Bit64=1]="Bit64",n[n.LengthDelimited=2]="LengthDelimited",n[n.StartGroup=3]="StartGroup",n[n.EndGroup=4]="EndGroup",n[n.Bit32=5]="Bit32"})(un||(un={}));class KL{constructor(r){this.stack=[],this.textEncoder=r??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let r=0;for(let c=0;c<this.chunks.length;c++)r+=this.chunks[c].length;let i=new Uint8Array(r),u=0;for(let c=0;c<this.chunks.length;c++)i.set(this.chunks[c],u),u+=this.chunks[c].length;return this.chunks=[],i}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let r=this.finish(),i=this.stack.pop();if(!i)throw new Error("invalid state, fork stack empty");return this.chunks=i.chunks,this.buf=i.buf,this.uint32(r.byteLength),this.raw(r)}tag(r,i){return this.uint32((r<<3|i)>>>0)}raw(r){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(r),this}uint32(r){for(R4(r);r>127;)this.buf.push(r&127|128),r=r>>>7;return this.buf.push(r),this}int32(r){return bg(r),Ik(r,this.buf),this}bool(r){return this.buf.push(r?1:0),this}bytes(r){return this.uint32(r.byteLength),this.raw(r)}string(r){let i=this.textEncoder.encode(r);return this.uint32(i.byteLength),this.raw(i)}float(r){YT(r);let i=new Uint8Array(4);return new DataView(i.buffer).setFloat32(0,r,!0),this.raw(i)}double(r){let i=new Uint8Array(8);return new DataView(i.buffer).setFloat64(0,r,!0),this.raw(i)}fixed32(r){R4(r);let i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,r,!0),this.raw(i)}sfixed32(r){bg(r);let i=new Uint8Array(4);return new DataView(i.buffer).setInt32(0,r,!0),this.raw(i)}sint32(r){return bg(r),r=(r<<1^r>>31)>>>0,Ik(r,this.buf),this}sfixed64(r){let i=new Uint8Array(8),u=new DataView(i.buffer),c=ba.enc(r);return u.setInt32(0,c.lo,!0),u.setInt32(4,c.hi,!0),this.raw(i)}fixed64(r){let i=new Uint8Array(8),u=new DataView(i.buffer),c=ba.uEnc(r);return u.setInt32(0,c.lo,!0),u.setInt32(4,c.hi,!0),this.raw(i)}int64(r){let i=ba.enc(r);return H8(i.lo,i.hi,this.buf),this}sint64(r){let i=ba.enc(r),u=i.hi>>31,c=i.lo<<1^u,p=(i.hi<<1|i.lo>>>31)^u;return H8(c,p,this.buf),this}uint64(r){let i=ba.uEnc(r);return H8(i.lo,i.hi,this.buf),this}}class ZL{constructor(r,i){this.varint64=BL,this.uint32=HL,this.buf=r,this.len=r.length,this.pos=0,this.view=new DataView(r.buffer,r.byteOffset,r.byteLength),this.textDecoder=i??new TextDecoder}tag(){let r=this.uint32(),i=r>>>3,u=r&7;if(i<=0||u<0||u>5)throw new Error("illegal tag: field no "+i+" wire type "+u);return[i,u]}skip(r){let i=this.pos;switch(r){case un.Varint:for(;this.buf[this.pos++]&128;);break;case un.Bit64:this.pos+=4;case un.Bit32:this.pos+=4;break;case un.LengthDelimited:let u=this.uint32();this.pos+=u;break;case un.StartGroup:let c;for(;(c=this.tag()[1])!==un.EndGroup;)this.skip(c);break;default:throw new Error("cant skip wire type "+r)}return this.assertBounds(),this.buf.subarray(i,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let r=this.uint32();return r>>>1^-(r&1)}int64(){return ba.dec(...this.varint64())}uint64(){return ba.uDec(...this.varint64())}sint64(){let[r,i]=this.varint64(),u=-(r&1);return r=(r>>>1|(i&1)<<31)^u,i=i>>>1^u,ba.dec(r,i)}bool(){let[r,i]=this.varint64();return r!==0||i!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return ba.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return ba.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let r=this.uint32(),i=this.pos;return this.pos+=r,this.assertBounds(),this.buf.subarray(i,i+r)}string(){return this.textDecoder.decode(this.bytes())}}function au(n,r,i){if(r===i)return!0;if(n==be.BYTES){if(!(r instanceof Uint8Array)||!(i instanceof Uint8Array)||r.length!==i.length)return!1;for(let u=0;u<r.length;u++)if(r[u]!==i[u])return!1;return!0}switch(n){case be.UINT64:case be.FIXED64:case be.INT64:case be.SFIXED64:case be.SINT64:return r==i}return!1}function Og(n,r){switch(n){case be.BOOL:return!1;case be.UINT64:case be.FIXED64:case be.INT64:case be.SFIXED64:case be.SINT64:return r==0?ba.zero:"0";case be.DOUBLE:case be.FLOAT:return 0;case be.BYTES:return new Uint8Array(0);case be.STRING:return"";default:return 0}}function sS(n,r){const i=r===void 0;let u=un.Varint,c=r===0;switch(n){case be.STRING:c=i||!r.length,u=un.LengthDelimited;break;case be.BOOL:c=r===!1;break;case be.DOUBLE:u=un.Bit64;break;case be.FLOAT:u=un.Bit32;break;case be.INT64:c=i||r==0;break;case be.UINT64:c=i||r==0;break;case be.FIXED64:c=i||r==0,u=un.Bit64;break;case be.BYTES:c=i||!r.byteLength,u=un.LengthDelimited;break;case be.FIXED32:u=un.Bit32;break;case be.SFIXED32:u=un.Bit32;break;case be.SFIXED64:c=i||r==0,u=un.Bit64;break;case be.SINT64:c=i||r==0;break}const p=be[n].toLowerCase();return[u,p,i||c]}function JL(n,r,i,u){let c;return{typeName:r,extendee:i,get field(){if(!c){const p=typeof u=="function"?u():u;p.name=r.split(".").pop(),p.jsonName=`[${r}]`,c=n.util.newFieldList([p]).list()[0]}return c},runtime:n}}function iS(n){const r=n.field.localName,i=Object.create(null);return i[r]=XL(n),[i,()=>i[r]]}function XL(n){const r=n.field;if(r.repeated)return[];if(r.default!==void 0)return r.default;switch(r.kind){case"enum":return r.T.values[0].no;case"scalar":return Og(r.T,r.L);case"message":const i=r.T,u=new i;return i.fieldWrapper?i.fieldWrapper.unwrapField(u):u;case"map":throw"map fields are not allowed to be extensions"}}function ex(n,r){if(!r.repeated&&(r.kind=="enum"||r.kind=="scalar")){for(let i=n.length-1;i>=0;--i)if(n[i].no==r.no)return[n[i]];return[]}return n.filter(i=>i.no===r.no)}function tx(n,r,i,u){return{syntax:n,json:r,bin:i,util:u,makeMessageType(c,p,m){return VL(this,c,p,m)},makeEnum:jL,makeEnumType:JT,getEnumType:FL,makeExtension(c,p,m){return JL(this,c,p,m)}}}function lS(n,r){return r instanceof Xi||!n.fieldWrapper?r:n.fieldWrapper.wrapField(r)}be.DOUBLE,be.FLOAT,be.INT64,be.UINT64,be.INT32,be.UINT32,be.BOOL,be.STRING,be.BYTES;const j1=Symbol("@bufbuild/protobuf/unknown-fields"),Lk={readUnknownFields:!0,readerFactory:n=>new ZL(n)},xk={writeUnknownFields:!0,writerFactory:()=>new KL};function nx(n){return n?Object.assign(Object.assign({},Lk),n):Lk}function ax(n){return n?Object.assign(Object.assign({},xk),n):xk}function rx(){return{makeReadOptions:nx,makeWriteOptions:ax,listUnknownFields(n){var r;return(r=n[j1])!==null&&r!==void 0?r:[]},discardUnknownFields(n){delete n[j1]},writeUnknownFields(n,r){const u=n[j1];if(u)for(const c of u)r.tag(c.no,c.wireType).raw(c.data)},onUnknownField(n,r,i,u){const c=n;Array.isArray(c[j1])||(c[j1]=[]),c[j1].push({no:r,wireType:i,data:u})},readMessage(n,r,i,u,c){const p=n.getType(),m=c?r.len:r.pos+i;let k,S;for(;r.pos<m&&([k,S]=r.tag(),S!=un.EndGroup);){const I=p.fields.find(k);if(!I){const E=r.skip(S);u.readUnknownFields&&this.onUnknownField(n,k,S,E);continue}Ok(n,r,I,S,u)}if(c&&(S!=un.EndGroup||k!==i))throw new Error("invalid end group tag")},readField:Ok}}function Ok(n,r,i,u,c){let{repeated:p,localName:m}=i;switch(i.oneof&&(n=n[i.oneof.localName],n.case!=m&&delete n.value,n.case=m,m="value"),i.kind){case"scalar":case"enum":const k=i.kind=="enum"?be.INT32:i.T;let S=Ag;if(i.kind=="scalar"&&i.L>0&&(S=sx),p){let P=n[m];if(u==un.LengthDelimited&&k!=be.STRING&&k!=be.BYTES){let F=r.uint32()+r.pos;for(;r.pos<F;)P.push(S(r,k))}else P.push(S(r,k))}else n[m]=S(r,k);break;case"message":const I=i.T;p?n[m].push(wg(r,new I,c,i)):n[m]instanceof Xi?wg(r,n[m],c,i):(n[m]=wg(r,new I,c,i),I.fieldWrapper&&!i.oneof&&!i.repeated&&(n[m]=I.fieldWrapper.unwrapField(n[m])));break;case"map":let[E,x]=ox(i,r,c);n[m][E]=x;break}}function wg(n,r,i,u){const c=r.getType().runtime.bin,p=u==null?void 0:u.delimited;return c.readMessage(r,n,p?u==null?void 0:u.no:n.uint32(),i,p),r}function ox(n,r,i){const u=r.uint32(),c=r.pos+u;let p,m;for(;r.pos<c;){let[k]=r.tag();switch(k){case 1:p=Ag(r,n.K);break;case 2:switch(n.V.kind){case"scalar":m=Ag(r,n.V.T);break;case"enum":m=r.int32();break;case"message":m=wg(r,new n.V.T,i,void 0);break}break}}if(p===void 0){let k=Og(n.K,Dc.BIGINT);p=n.K==be.BOOL?k.toString():k}if(typeof p!="string"&&typeof p!="number"&&(p=p.toString()),m===void 0)switch(n.V.kind){case"scalar":m=Og(n.V.T,Dc.BIGINT);break;case"enum":m=0;break;case"message":m=new n.V.T;break}return[p,m]}function sx(n,r){const i=Ag(n,r);return typeof i=="bigint"?i.toString():i}function Ag(n,r){switch(r){case be.STRING:return n.string();case be.BOOL:return n.bool();case be.DOUBLE:return n.double();case be.FLOAT:return n.float();case be.INT32:return n.int32();case be.INT64:return n.int64();case be.UINT64:return n.uint64();case be.FIXED64:return n.fixed64();case be.BYTES:return n.bytes();case be.FIXED32:return n.fixed32();case be.SFIXED32:return n.sfixed32();case be.SFIXED64:return n.sfixed64();case be.SINT64:return n.sint64();case be.UINT32:return n.uint32();case be.SINT32:return n.sint32()}}function ix(n,r,i,u,c){n.tag(i.no,un.LengthDelimited),n.fork();let p=u;switch(i.K){case be.INT32:case be.FIXED32:case be.UINT32:case be.SFIXED32:case be.SINT32:p=Number.parseInt(u);break;case be.BOOL:vr(u=="true"||u=="false"),p=u=="true";break}switch(jp(n,i.K,1,p,!0),i.V.kind){case"scalar":jp(n,i.V.T,2,c,!0);break;case"enum":jp(n,be.INT32,2,c,!0);break;case"message":n.tag(2,un.LengthDelimited).bytes(c.toBinary(r));break}n.join()}function Ak(n,r,i,u){const c=lS(i.T,u);i!=null&&i.delimited?n.tag(i.no,un.StartGroup).raw(c.toBinary(r)).tag(i.no,un.EndGroup):n.tag(i.no,un.LengthDelimited).bytes(c.toBinary(r))}function jp(n,r,i,u,c){let[p,m,k]=sS(r,u);(!k||c)&&n.tag(i,p)[m](u)}function lx(n,r,i,u){if(!u.length)return;n.tag(i,un.LengthDelimited).fork();let[,c]=sS(r);for(let p=0;p<u.length;p++)n[c](u[p]);n.join()}function ux(){return Object.assign(Object.assign({},rx()),{writeField:Pk,writeMessage(n,r,i){const u=n.getType();for(const c of u.fields.byNumber()){let p,m=c.localName;if(c.oneof){const k=n[c.oneof.localName];if(k.case!==m)continue;p=k.value}else p=n[m];Pk(c,p,r,i)}return i.writeUnknownFields&&this.writeUnknownFields(n,r),r}})}function Pk(n,r,i,u){const c=n.repeated;switch(n.kind){case"scalar":case"enum":let p=n.kind=="enum"?be.INT32:n.T;if(c)if(n.packed)lx(i,p,n.no,r);else for(const m of r)jp(i,p,n.no,m,!0);else r!==void 0&&jp(i,p,n.no,r,!!n.oneof||n.opt);break;case"message":if(c)for(const m of r)Ak(i,u,n,m);else r!==void 0&&Ak(i,u,n,r);break;case"map":for(const[m,k]of Object.entries(r))ix(i,u,n,m,k);break}}let zi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Wg=[];for(let n=0;n<zi.length;n++)Wg[zi[n].charCodeAt(0)]=n;Wg[45]=zi.indexOf("+");Wg[95]=zi.indexOf("/");const o9={dec(n){let r=n.length*3/4;n[n.length-2]=="="?r-=2:n[n.length-1]=="="&&(r-=1);let i=new Uint8Array(r),u=0,c=0,p,m=0;for(let k=0;k<n.length;k++){if(p=Wg[n.charCodeAt(k)],p===void 0)switch(n[k]){case"=":c=0;case`
17
+ `:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(c){case 0:m=p,c=1;break;case 1:i[u++]=m<<2|(p&48)>>4,m=p,c=2;break;case 2:i[u++]=(m&15)<<4|(p&60)>>2,m=p,c=3;break;case 3:i[u++]=(m&3)<<6|p,c=0;break}}if(c==1)throw Error("invalid base64 string.");return i.subarray(0,u)},enc(n){let r="",i=0,u,c=0;for(let p=0;p<n.length;p++)switch(u=n[p],i){case 0:r+=zi[u>>2],c=(u&3)<<4,i=1;break;case 1:r+=zi[c|u>>4],c=(u&15)<<2,i=2;break;case 2:r+=zi[c|u>>6],r+=zi[u&63],i=0;break}return i&&(r+=zi[c],r+="=",i==1&&(r+="=")),r}};function cx(n,r,i){cS(r,n);const u=r.runtime.bin.makeReadOptions(i),c=ex(n.getType().runtime.bin.listUnknownFields(n),r.field),[p,m]=iS(r);for(const k of c)r.runtime.bin.readField(p,u.readerFactory(k.data),r.field,k.wireType,u);return m()}function dx(n,r,i,u){cS(r,n);const c=r.runtime.bin.makeReadOptions(u),p=r.runtime.bin.makeWriteOptions(u);if(uS(n,r)){const I=n.getType().runtime.bin.listUnknownFields(n).filter(E=>E.no!=r.field.no);n.getType().runtime.bin.discardUnknownFields(n);for(const E of I)n.getType().runtime.bin.onUnknownField(n,E.no,E.wireType,E.data)}const m=p.writerFactory();let k=r.field;!k.opt&&!k.repeated&&(k.kind=="enum"||k.kind=="scalar")&&(k=Object.assign(Object.assign({},r.field),{opt:!0})),r.runtime.bin.writeField(k,i,m,p);const S=c.readerFactory(m.finish());for(;S.pos<S.len;){const[I,E]=S.tag(),x=S.skip(E);n.getType().runtime.bin.onUnknownField(n,I,E,x)}}function uS(n,r){const i=n.getType();return r.extendee.typeName===i.typeName&&!!i.runtime.bin.listUnknownFields(n).find(u=>u.no==r.field.no)}function cS(n,r){vr(n.extendee.typeName==r.getType().typeName,`extension ${n.typeName} can only be applied to message ${n.extendee.typeName}`)}const Mk={ignoreUnknownFields:!1},Dk={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0};function fx(n){return n?Object.assign(Object.assign({},Mk),n):Mk}function mx(n){return n?Object.assign(Object.assign({},Dk),n):Dk}function px(n,r){const i=r(hx,Fk);return{makeReadOptions:fx,makeWriteOptions:mx,readMessage(u,c,p,m){if(c==null||Array.isArray(c)||typeof c!="object")throw new Error(`cannot decode message ${u.typeName} from JSON: ${zs(c)}`);m=m??new u;const k=new Map,S=p.typeRegistry;for(const[I,E]of Object.entries(c)){const x=u.fields.findJsonName(I);if(x){if(x.oneof){if(E===null&&x.kind=="scalar")continue;const P=k.get(x.oneof);if(P!==void 0)throw new Error(`cannot decode message ${u.typeName} from JSON: multiple keys for oneof "${x.oneof.name}" present: "${P}", "${I}"`);k.set(x.oneof,I)}Uk(m,E,x,p,u,n)}else{let P=!1;if(S!=null&&S.findExtension&&I.startsWith("[")&&I.endsWith("]")){const A=S.findExtension(I.substring(1,I.length-1));if(A&&A.extendee.typeName==u.typeName){P=!0;const[F,V]=iS(A);Uk(F,E,A.field,p,A,!0),dx(m,A,V(),p)}}if(!P&&!p.ignoreUnknownFields)throw new Error(`cannot decode message ${u.typeName} from JSON: key "${I}" is unknown`)}}return m},writeMessage(u,c){const p=u.getType(),m={};let k;try{for(const I of p.fields.byMember()){let E;if(I.kind=="oneof"){const x=u[I.localName];if(x.value===void 0)continue;if(k=I.findField(x.case),!k)throw"oneof case not found: "+x.case;E=i(k,x.value,c)}else k=I,E=i(k,u[k.localName],c);E!==void 0&&(m[c.useProtoFieldName?k.name:k.jsonName]=E)}const S=c.typeRegistry;if(S!=null&&S.findExtensionFor)for(const I of p.runtime.bin.listUnknownFields(u)){const E=S.findExtensionFor(p.typeName,I.no);if(E&&uS(u,E)){const x=cx(u,E,c),P=i(E.field,x,c);P!==void 0&&(m[E.field.jsonName]=P)}}}catch(S){const I=k?`cannot encode field ${p.typeName}.${k.name} to JSON`:`cannot encode message ${p.typeName} to JSON`,E=S instanceof Error?S.message:String(S);throw new Error(I+(E.length>0?`: ${E}`:""))}return m},readScalar:(u,c,p)=>Mp(u,c,p,n),writeScalar:Fk,debug:zs}}function zs(n){if(n===null)return"null";switch(typeof n){case"object":return Array.isArray(n)?"array":"object";case"string":return n.length>100?"string":`"${n.split('"').join('\\"')}"`;default:return String(n)}}function Uk(n,r,i,u,c,p){let m=i.localName;if(i.oneof){if(r===null&&i.kind=="scalar")return;n=n[i.oneof.localName]={case:m},m="value"}if(i.repeated){if(r===null)return;if(!Array.isArray(r))throw new Error(`cannot decode field ${c.typeName}.${i.name} from JSON: ${zs(r)}`);const k=n[m];for(const S of r){if(S===null)throw new Error(`cannot decode field ${c.typeName}.${i.name} from JSON: ${zs(S)}`);let I;switch(i.kind){case"message":I=i.T.fromJson(S,u);break;case"enum":if(I=G8(i.T,S,u.ignoreUnknownFields,!0),I===void 0)continue;break;case"scalar":try{I=Mp(i.T,S,i.L,!0)}catch(E){let x=`cannot decode field ${c.typeName}.${i.name} from JSON: ${zs(S)}`;throw E instanceof Error&&E.message.length>0&&(x+=`: ${E.message}`),new Error(x)}break}k.push(I)}}else if(i.kind=="map"){if(r===null)return;if(typeof r!="object"||Array.isArray(r))throw new Error(`cannot decode field ${c.typeName}.${i.name} from JSON: ${zs(r)}`);const k=n[m];for(const[S,I]of Object.entries(r)){if(I===null)throw new Error(`cannot decode field ${c.typeName}.${i.name} from JSON: map value null`);let E;switch(i.V.kind){case"message":E=i.V.T.fromJson(I,u);break;case"enum":if(E=G8(i.V.T,I,u.ignoreUnknownFields,!0),E===void 0)continue;break;case"scalar":try{E=Mp(i.V.T,I,Dc.BIGINT,!0)}catch(x){let P=`cannot decode map value for field ${c.typeName}.${i.name} from JSON: ${zs(r)}`;throw x instanceof Error&&x.message.length>0&&(P+=`: ${x.message}`),new Error(P)}break}try{k[Mp(i.K,i.K==be.BOOL?S=="true"?!0:S=="false"?!1:S:S,Dc.BIGINT,!0).toString()]=E}catch(x){let P=`cannot decode map key for field ${c.typeName}.${i.name} from JSON: ${zs(r)}`;throw x instanceof Error&&x.message.length>0&&(P+=`: ${x.message}`),new Error(P)}}}else switch(i.kind){case"message":const k=i.T;if(r===null&&k.typeName!="google.protobuf.Value"){if(i.oneof)throw new Error(`cannot decode field ${c.typeName}.${i.name} from JSON: null is invalid for oneof field`);return}n[m]instanceof Xi?n[m].fromJson(r,u):(n[m]=k.fromJson(r,u),k.fieldWrapper&&!i.oneof&&(n[m]=k.fieldWrapper.unwrapField(n[m])));break;case"enum":const S=G8(i.T,r,u.ignoreUnknownFields,p);S!==void 0&&(n[m]=S);break;case"scalar":try{n[m]=Mp(i.T,r,i.L,p)}catch(I){let E=`cannot decode field ${c.typeName}.${i.name} from JSON: ${zs(r)}`;throw I instanceof Error&&I.message.length>0&&(E+=`: ${I.message}`),new Error(E)}break}}function Mp(n,r,i,u){switch(n){case be.DOUBLE:case be.FLOAT:if(r===null)return u?0:void 0;if(r==="NaN")return Number.NaN;if(r==="Infinity")return Number.POSITIVE_INFINITY;if(r==="-Infinity")return Number.NEGATIVE_INFINITY;if(r===""||typeof r=="string"&&r.trim().length!==r.length||typeof r!="string"&&typeof r!="number")break;const c=Number(r);if(Number.isNaN(c)||!Number.isFinite(c))break;return n==be.FLOAT&&YT(c),c;case be.INT32:case be.FIXED32:case be.SFIXED32:case be.SINT32:case be.UINT32:if(r===null)return u?0:void 0;let p;if(typeof r=="number"?p=r:typeof r=="string"&&r.length>0&&r.trim().length===r.length&&(p=Number(r)),p===void 0)break;return n==be.UINT32?R4(p):bg(p),p;case be.INT64:case be.SFIXED64:case be.SINT64:if(r===null)return u?ba.zero:void 0;if(typeof r!="number"&&typeof r!="string")break;const m=ba.parse(r);return i?m.toString():m;case be.FIXED64:case be.UINT64:if(r===null)return u?ba.zero:void 0;if(typeof r!="number"&&typeof r!="string")break;const k=ba.uParse(r);return i?k.toString():k;case be.BOOL:if(r===null)return u?!1:void 0;if(typeof r!="boolean")break;return r;case be.STRING:if(r===null)return u?"":void 0;if(typeof r!="string")break;try{encodeURIComponent(r)}catch{throw new Error("invalid UTF8")}return r;case be.BYTES:if(r===null)return u?new Uint8Array(0):void 0;if(r==="")return new Uint8Array(0);if(typeof r!="string")break;return o9.dec(r)}throw new Error}function G8(n,r,i,u){if(r===null)return u?n.values[0].no:void 0;switch(typeof r){case"number":if(Number.isInteger(r))return r;break;case"string":const c=n.findName(r);if(c||i)return c==null?void 0:c.no;break}throw new Error(`cannot decode enum ${n.typeName} from JSON: ${zs(r)}`)}function hx(n,r,i,u){var c;if(r===void 0)return r;if(!i&&n.values[0].no===r)return;if(u)return r;if(n.typeName=="google.protobuf.NullValue")return null;const p=n.findNumber(r);return(c=p==null?void 0:p.name)!==null&&c!==void 0?c:r}function Fk(n,r,i){if(r!==void 0)switch(n){case be.INT32:case be.SFIXED32:case be.SINT32:case be.FIXED32:case be.UINT32:return vr(typeof r=="number"),r!=0||i?r:void 0;case be.FLOAT:case be.DOUBLE:return vr(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r!==0||i?r:void 0;case be.STRING:return vr(typeof r=="string"),r.length>0||i?r:void 0;case be.BOOL:return vr(typeof r=="boolean"),r||i?r:void 0;case be.UINT64:case be.FIXED64:case be.INT64:case be.SFIXED64:case be.SINT64:return vr(typeof r=="bigint"||typeof r=="string"||typeof r=="number"),i||r!=0?r.toString(10):void 0;case be.BYTES:return vr(r instanceof Uint8Array),i||r.byteLength>0?o9.enc(r):void 0}}function gx(){return px(!0,(n,r)=>function(u,c,p){if(u.kind=="map"){const m={};switch(u.V.kind){case"scalar":for(const[S,I]of Object.entries(c)){const E=r(u.V.T,I,!0);vr(E!==void 0),m[S.toString()]=E}break;case"message":for(const[S,I]of Object.entries(c))m[S.toString()]=I.toJson(p);break;case"enum":const k=u.V.T;for(const[S,I]of Object.entries(c)){vr(I===void 0||typeof I=="number");const E=n(k,I,!0,p.enumAsInteger);vr(E!==void 0),m[S.toString()]=E}break}return p.emitDefaultValues||Object.keys(m).length>0?m:void 0}else if(u.repeated){const m=[];switch(u.kind){case"scalar":for(let k=0;k<c.length;k++)m.push(r(u.T,c[k],!0));break;case"enum":for(let k=0;k<c.length;k++)m.push(n(u.T,c[k],!0,p.enumAsInteger));break;case"message":for(let k=0;k<c.length;k++)m.push(c[k].toJson(p));break}return p.emitDefaultValues||m.length>0?m:void 0}else{if(c===void 0)return;switch(u.kind){case"scalar":return r(u.T,c,!!u.oneof||u.opt||p.emitDefaultValues);case"enum":return n(u.T,c,!!u.oneof||u.opt||p.emitDefaultValues,p.enumAsInteger);case"message":return lS(u.T,c).toJson(p)}}})}function yx(){return{setEnumType:ZT,initPartial(n,r){if(n===void 0)return;const i=r.getType();for(const u of i.fields.byMember()){const c=u.localName,p=r,m=n;if(m[c]!==void 0)switch(u.kind){case"oneof":const k=m[c].case;if(k===void 0)continue;const S=u.findField(k);let I=m[c].value;S&&S.kind=="message"&&!(I instanceof S.T)?I=new S.T(I):S&&S.kind==="scalar"&&S.T===be.BYTES&&(I=Lp(I)),p[c]={case:k,value:I};break;case"scalar":case"enum":let E=m[c];u.T===be.BYTES&&(E=u.repeated?E.map(Lp):Lp(E)),p[c]=E;break;case"map":switch(u.V.kind){case"scalar":case"enum":if(u.V.T===be.BYTES)for(const[A,F]of Object.entries(m[c]))p[c][A]=Lp(F);else Object.assign(p[c],m[c]);break;case"message":const P=u.V.T;for(const A of Object.keys(m[c])){let F=m[c][A];P.fieldWrapper||(F=new P(F)),p[c][A]=F}break}break;case"message":const x=u.T;if(u.repeated)p[c]=m[c].map(P=>P instanceof x?P:new x(P));else if(m[c]!==void 0){const P=m[c];x.fieldWrapper?x.typeName==="google.protobuf.BytesValue"?p[c]=Lp(P):p[c]=P:p[c]=P instanceof x?P:new x(P)}break}}},equals(n,r,i){return r===i?!0:!r||!i?!1:n.fields.byMember().every(u=>{const c=r[u.localName],p=i[u.localName];if(u.repeated){if(c.length!==p.length)return!1;switch(u.kind){case"message":return c.every((m,k)=>u.T.equals(m,p[k]));case"scalar":return c.every((m,k)=>au(u.T,m,p[k]));case"enum":return c.every((m,k)=>au(be.INT32,m,p[k]))}throw new Error(`repeated cannot contain ${u.kind}`)}switch(u.kind){case"message":return u.T.equals(c,p);case"enum":return au(be.INT32,c,p);case"scalar":return au(u.T,c,p);case"oneof":if(c.case!==p.case)return!1;const m=u.findField(c.case);if(m===void 0)return!0;switch(m.kind){case"message":return m.T.equals(c.value,p.value);case"enum":return au(be.INT32,c.value,p.value);case"scalar":return au(m.T,c.value,p.value)}throw new Error(`oneof cannot contain ${m.kind}`);case"map":const k=Object.keys(c).concat(Object.keys(p));switch(u.V.kind){case"message":const S=u.V.T;return k.every(E=>S.equals(c[E],p[E]));case"enum":return k.every(E=>au(be.INT32,c[E],p[E]));case"scalar":const I=u.V.T;return k.every(E=>au(I,c[E],p[E]))}break}})},clone(n){const r=n.getType(),i=new r,u=i;for(const c of r.fields.byMember()){const p=n[c.localName];let m;if(c.repeated)m=p.map(ig);else if(c.kind=="map"){m=u[c.localName];for(const[k,S]of Object.entries(p))m[k]=ig(S)}else c.kind=="oneof"?m=c.findField(p.case)?{case:p.case,value:ig(p.value)}:{case:void 0}:m=ig(p);u[c.localName]=m}return i}}}function ig(n){if(n===void 0)return n;if(n instanceof Xi)return n.clone();if(n instanceof Uint8Array){const r=new Uint8Array(n.byteLength);return r.set(n),r}return n}function Lp(n){return n instanceof Uint8Array?n:new Uint8Array(n)}class vx{constructor(r,i){this._fields=r,this._normalizer=i}findJsonName(r){if(!this.jsonNames){const i={};for(const u of this.list())i[u.jsonName]=i[u.name]=u;this.jsonNames=i}return this.jsonNames[r]}find(r){if(!this.numbers){const i={};for(const u of this.list())i[u.no]=u;this.numbers=i}return this.numbers[r]}list(){return this.all||(this.all=this._normalizer(this._fields)),this.all}byNumber(){return this.numbersAsc||(this.numbersAsc=this.list().concat().sort((r,i)=>r.no-i.no)),this.numbersAsc}byMember(){if(!this.members){this.members=[];const r=this.members;let i;for(const u of this.list())u.oneof?u.oneof!==i&&(i=u.oneof,r.push(i)):r.push(u)}return this.members}}function dS(n,r){const i=fS(n);return r?i:Ex(wx(i))}function kx(n){return dS(n,!1)}const bx=fS;function fS(n){let r=!1;const i=[];for(let u=0;u<n.length;u++){let c=n.charAt(u);switch(c){case"_":r=!0;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":i.push(c),r=!1;break;default:r&&(r=!1,c=c.toUpperCase()),i.push(c);break}}return i.join("")}const Tx=new Set(["constructor","toString","toJSON","valueOf"]),Sx=new Set(["getType","clone","equals","fromBinary","fromJson","fromJsonString","toBinary","toJson","toJsonString","toObject"]),mS=n=>`${n}$`,wx=n=>Sx.has(n)?mS(n):n,Ex=n=>Tx.has(n)?mS(n):n;class Cx{constructor(r){this.kind="oneof",this.repeated=!1,this.packed=!1,this.opt=!1,this.default=void 0,this.fields=[],this.name=r,this.localName=kx(r)}addField(r){vr(r.oneof===this,`field ${r.name} not one of ${this.name}`),this.fields.push(r)}findField(r){if(!this._lookup){this._lookup=Object.create(null);for(let i=0;i<this.fields.length;i++)this._lookup[this.fields[i].localName]=this.fields[i]}return this._lookup[r]}}const T=tx("proto3",gx(),ux(),Object.assign(Object.assign({},yx()),{newFieldList(n){return new vx(n,_x)},initFields(n){for(const r of n.getType().fields.byMember()){if(r.opt)continue;const i=r.localName,u=n;if(r.repeated){u[i]=[];continue}switch(r.kind){case"oneof":u[i]={case:void 0};break;case"enum":u[i]=0;break;case"map":u[i]={};break;case"scalar":u[i]=Og(r.T,r.L);break}}}}));function _x(n){var r,i,u,c;const p=[];let m;for(const k of typeof n=="function"?n():n){const S=k;if(S.localName=dS(k.name,k.oneof!==void 0),S.jsonName=(r=k.jsonName)!==null&&r!==void 0?r:bx(k.name),S.repeated=(i=k.repeated)!==null&&i!==void 0?i:!1,k.kind=="scalar"&&(S.L=(u=k.L)!==null&&u!==void 0?u:Dc.BIGINT),k.oneof!==void 0){const I=typeof k.oneof=="string"?k.oneof:k.oneof.name;(!m||m.name!=I)&&(m=new Cx(I)),S.oneof=m,m.addField(S)}k.kind=="message"&&(S.delimited=!1),S.packed=(c=k.packed)!==null&&c!==void 0?c:k.kind=="enum"||k.kind=="scalar"&&k.T!=be.BYTES&&k.T!=be.STRING,p.push(S)}return p}var Ze;(function(n){n[n.Unary=0]="Unary",n[n.ServerStreaming=1]="ServerStreaming",n[n.ClientStreaming=2]="ClientStreaming",n[n.BiDiStreaming=3]="BiDiStreaming"})(Ze||(Ze={}));var jk;(function(n){n[n.NoSideEffects=1]="NoSideEffects",n[n.Idempotent=2]="Idempotent"})(jk||(jk={}));class Ma extends Xi{constructor(r){super(),this.seconds=ba.zero,this.nanos=0,T.util.initPartial(r,this)}fromJson(r,i){if(typeof r!="string")throw new Error(`cannot decode google.protobuf.Timestamp from JSON: ${T.json.debug(r)}`);const u=r.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!u)throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");const c=Date.parse(u[1]+"-"+u[2]+"-"+u[3]+"T"+u[4]+":"+u[5]+":"+u[6]+(u[8]?u[8]:"Z"));if(Number.isNaN(c))throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");if(c<Date.parse("0001-01-01T00:00:00Z")||c>Date.parse("9999-12-31T23:59:59Z"))throw new Error("cannot decode message google.protobuf.Timestamp from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");return this.seconds=ba.parse(c/1e3),this.nanos=0,u[7]&&(this.nanos=parseInt("1"+u[7]+"0".repeat(9-u[7].length))-1e9),this}toJson(r){const i=Number(this.seconds)*1e3;if(i<Date.parse("0001-01-01T00:00:00Z")||i>Date.parse("9999-12-31T23:59:59Z"))throw new Error("cannot encode google.protobuf.Timestamp to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");if(this.nanos<0)throw new Error("cannot encode google.protobuf.Timestamp to JSON: nanos must not be negative");let u="Z";if(this.nanos>0){const c=(this.nanos+1e9).toString().substring(1);c.substring(3)==="000000"?u="."+c.substring(0,3)+"Z":c.substring(6)==="000"?u="."+c.substring(0,6)+"Z":u="."+c+"Z"}return new Date(i).toISOString().replace(".000Z",u)}toDate(){return new Date(Number(this.seconds)*1e3+Math.ceil(this.nanos/1e6))}static now(){return Ma.fromDate(new Date)}static fromDate(r){const i=r.getTime();return new Ma({seconds:ba.parse(Math.floor(i/1e3)),nanos:i%1e3*1e6})}static fromBinary(r,i){return new Ma().fromBinary(r,i)}static fromJson(r,i){return new Ma().fromJson(r,i)}static fromJsonString(r,i){return new Ma().fromJsonString(r,i)}static equals(r,i){return T.util.equals(Ma,r,i)}}Ma.runtime=T;Ma.typeName="google.protobuf.Timestamp";Ma.fields=T.util.newFieldList(()=>[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}]);class Qs extends Xi{constructor(r){super(),this.typeUrl="",this.value=new Uint8Array(0),T.util.initPartial(r,this)}toJson(r){var i;if(this.typeUrl==="")return{};const u=this.typeUrlToName(this.typeUrl),c=(i=r==null?void 0:r.typeRegistry)===null||i===void 0?void 0:i.findMessage(u);if(!c)throw new Error(`cannot encode message google.protobuf.Any to JSON: "${this.typeUrl}" is not in the type registry`);let m=c.fromBinary(this.value).toJson(r);return(u.startsWith("google.protobuf.")||m===null||Array.isArray(m)||typeof m!="object")&&(m={value:m}),m["@type"]=this.typeUrl,m}fromJson(r,i){var u;if(r===null||Array.isArray(r)||typeof r!="object")throw new Error(`cannot decode message google.protobuf.Any from JSON: expected object but got ${r===null?"null":Array.isArray(r)?"array":typeof r}`);if(Object.keys(r).length==0)return this;const c=r["@type"];if(typeof c!="string"||c=="")throw new Error('cannot decode message google.protobuf.Any from JSON: "@type" is empty');const p=this.typeUrlToName(c),m=(u=i==null?void 0:i.typeRegistry)===null||u===void 0?void 0:u.findMessage(p);if(!m)throw new Error(`cannot decode message google.protobuf.Any from JSON: ${c} is not in the type registry`);let k;if(p.startsWith("google.protobuf.")&&Object.prototype.hasOwnProperty.call(r,"value"))k=m.fromJson(r.value,i);else{const S=Object.assign({},r);delete S["@type"],k=m.fromJson(S,i)}return this.packFrom(k),this}packFrom(r){this.value=r.toBinary(),this.typeUrl=this.typeNameToUrl(r.getType().typeName)}unpackTo(r){return this.is(r.getType())?(r.fromBinary(this.value),!0):!1}unpack(r){if(this.typeUrl==="")return;const i=r.findMessage(this.typeUrlToName(this.typeUrl));if(i)return i.fromBinary(this.value)}is(r){if(this.typeUrl==="")return!1;const i=this.typeUrlToName(this.typeUrl);let u="";return typeof r=="string"?u=r:u=r.typeName,i===u}typeNameToUrl(r){return`type.googleapis.com/${r}`}typeUrlToName(r){if(!r.length)throw new Error(`invalid type url: ${r}`);const i=r.lastIndexOf("/"),u=i>=0?r.substring(i+1):r;if(!u.length)throw new Error(`invalid type url: ${r}`);return u}static pack(r){const i=new Qs;return i.packFrom(r),i}static fromBinary(r,i){return new Qs().fromBinary(r,i)}static fromJson(r,i){return new Qs().fromJson(r,i)}static fromJsonString(r,i){return new Qs().fromJsonString(r,i)}static equals(r,i){return T.util.equals(Qs,r,i)}}Qs.runtime=T;Qs.typeName="google.protobuf.Any";Qs.fields=T.util.newFieldList(()=>[{no:1,name:"type_url",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:12}]);T.makeEnum("streamlayer.analytics.v1.common.ResultStatus",[{no:0,name:"RESULT_STATUS_UNSET",localName:"UNSET"},{no:1,name:"RESULT_STATUS_OK",localName:"OK"},{no:2,name:"RESULT_STATUS_ERROR",localName:"ERROR"}]);T.makeEnum("streamlayer.analytics.v1.common.Kind",[{no:0,name:"KIND_UNSET",localName:"UNSET"},{no:1,name:"KIND_VIEWERS",localName:"VIEWERS"},{no:2,name:"KIND_EVENT_OPENED",localName:"EVENT_OPENED"},{no:3,name:"KIND_AUTHENTICATION_ATTEMPTED",localName:"AUTHENTICATION_ATTEMPTED"},{no:4,name:"KIND_AUTHENTICATION_COMPLETED",localName:"AUTHENTICATION_COMPLETED"},{no:5,name:"KIND_LAUNCH_BUTTON",localName:"LAUNCH_BUTTON"},{no:6,name:"KIND_PERMISSION_PROVIDED",localName:"PERMISSION_PROVIDED"},{no:7,name:"KIND_PERMISSION_NOT_PROVIDED",localName:"PERMISSION_NOT_PROVIDED"},{no:8,name:"KIND_INTERACTIONS",localName:"INTERACTIONS"},{no:9,name:"KIND_CONVERSATION_CREATED",localName:"CONVERSATION_CREATED"},{no:10,name:"KIND_CONVERSATION_JOINED",localName:"CONVERSATION_JOINED"},{no:11,name:"KIND_CONVERSATION_DELETED",localName:"CONVERSATION_DELETED"},{no:12,name:"KIND_NEW_CALL",localName:"NEW_CALL"},{no:13,name:"KIND_CALL_JOINED",localName:"CALL_JOINED"},{no:14,name:"KIND_CALL_FINISHED",localName:"CALL_FINISHED"},{no:15,name:"KIND_INVITATION_SENT",localName:"INVITATION_SENT"},{no:16,name:"KIND_INVITATION_ACCEPTED",localName:"INVITATION_ACCEPTED"},{no:17,name:"KIND_WAVES_SENT",localName:"WAVES_SENT"},{no:18,name:"KIND_WAVES_REPLIES",localName:"WAVES_REPLIES"},{no:19,name:"KIND_NOTIFICATION_RECEIVED",localName:"NOTIFICATION_RECEIVED"},{no:20,name:"KIND_NOTIFICATION_OPENED",localName:"NOTIFICATION_OPENED"},{no:21,name:"KIND_SESSION_HEARTBEAT",localName:"SESSION_HEARTBEAT"},{no:22,name:"KIND_CONVERSATION_OPENED",localName:"CONVERSATION_OPENED"},{no:23,name:"KIND_GROUP_CONVERSATION_OPENED",localName:"GROUP_CONVERSATION_OPENED"},{no:24,name:"KIND_GROUP_CALL_JOINED",localName:"GROUP_CALL_JOINED"},{no:25,name:"KIND_POLLS_VOTE",localName:"POLLS_VOTE"},{no:26,name:"KIND_POLLS_RECEIVED",localName:"POLLS_RECEIVED"},{no:27,name:"KIND_POLLS_OPENED",localName:"POLLS_OPENED"},{no:28,name:"KIND_GAMES_JOINED",localName:"GAMES_JOINED"},{no:29,name:"KIND_BUTTON_INITIALIZED",localName:"BUTTON_INITIALIZED"},{no:30,name:"KIND_POLLS_NAVIGATED",localName:"POLLS_NAVIGATED"}]);T.makeEnum("streamlayer.analytics.v1.common.Category",[{no:0,name:"CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"CATEGORY_STATS_HOME",localName:"STATS_HOME"},{no:2,name:"CATEGORY_STATS",localName:"STATS"},{no:3,name:"CATEGORY_TWITTER_HOME",localName:"TWITTER_HOME"},{no:4,name:"CATEGORY_TWITTER",localName:"TWITTER"},{no:5,name:"CATEGORY_MESSAGING_HOME",localName:"MESSAGING_HOME"},{no:6,name:"CATEGORY_MESSAGING",localName:"MESSAGING"},{no:7,name:"CATEGORY_CALLING_HOME",localName:"CALLING_HOME"},{no:8,name:"CATEGORY_CALLING",localName:"CALLING"},{no:9,name:"CATEGORY_PROFILE_HOME",localName:"PROFILE_HOME"},{no:10,name:"CATEGORY_PROFILE",localName:"PROFILE"},{no:11,name:"CATEGORY_WHOISWATCHING",localName:"WHOISWATCHING"},{no:12,name:"CATEGORY_WHOISWATCHING_HOME",localName:"WHOISWATCHING_HOME"},{no:13,name:"CATEGORY_INTERSTITIAL",localName:"INTERSTITIAL"},{no:14,name:"CATEGORY_BETTING",localName:"BETTING"},{no:15,name:"CATEGORY_BETTING_HOME",localName:"BETTING_HOME"},{no:16,name:"CATEGORY_INPLAY",localName:"INPLAY"},{no:17,name:"CATEGORY_INPLAY_HOME",localName:"INPLAY_HOME"},{no:18,name:"CATEGORY_MERCHANDISE",localName:"MERCHANDISE"},{no:19,name:"CATEGORY_MERCHANDISE_HOME",localName:"MERCHANDISE_HOME"},{no:20,name:"CATEGORY_CONTESTS",localName:"CONTESTS"},{no:21,name:"CATEGORY_CONTESTS_HOME",localName:"CONTESTS_HOME"},{no:22,name:"CATEGORY_TICKETS",localName:"TICKETS"},{no:23,name:"CATEGORY_TICKETS_HOME",localName:"TICKETS_HOME"},{no:24,name:"CATEGORY_INVITATION",localName:"INVITATION"},{no:25,name:"CATEGORY_INVITATION_HOME",localName:"INVITATION_HOME"},{no:26,name:"CATEGORY_POLLS",localName:"POLLS"},{no:27,name:"CATEGORY_POLLS_HOME",localName:"POLLS_HOME"},{no:28,name:"CATEGORY_FANTASY",localName:"FANTASY"},{no:29,name:"CATEGORY_WP",localName:"WP"},{no:30,name:"CATEGORY_HIGHLIGHTS_HOME",localName:"HIGHLIGHTS_HOME"},{no:31,name:"CATEGORY_HIGHLIGHTS",localName:"HIGHLIGHTS"},{no:32,name:"CATEGORY_PUBLIC_CHAT_HOME",localName:"PUBLIC_CHAT_HOME"},{no:33,name:"CATEGORY_PUBLIC_CHAT",localName:"PUBLIC_CHAT"}]);T.makeEnum("streamlayer.analytics.v1.common.ScreenOrientation",[{no:0,name:"SCREEN_ORIENTATION_UNSET",localName:"UNSET"},{no:1,name:"SCREEN_ORIENTATION_PORTRAIT",localName:"PORTRAIT"},{no:2,name:"SCREEN_ORIENTATION_LANDSCAPE",localName:"LANDSCAPE"}]);T.makeEnum("streamlayer.analytics.v1.common.TopicType",[{no:0,name:"TOPIC_TYPE_UNSET",localName:"UNSET"},{no:1,name:"TOPIC_TYPE_CALL",localName:"CALL"},{no:2,name:"TOPIC_TYPE_CHAT",localName:"CHAT"},{no:3,name:"TOPIC_TYPE_FANTASY",localName:"FANTASY"},{no:4,name:"TOPIC_TYPE_POLLS",localName:"POLLS"},{no:5,name:"TOPIC_TYPE_POLLS_POLL",localName:"POLLS_POLL"},{no:6,name:"TOPIC_TYPE_POLLS_TRIVIA",localName:"POLLS_TRIVIA"},{no:7,name:"TOPIC_TYPE_POLLS_PREDICTION",localName:"POLLS_PREDICTION"},{no:8,name:"TOPIC_TYPE_POLLS_INSIGHT",localName:"POLLS_INSIGHT"},{no:9,name:"TOPIC_TYPE_POLLS_TWITTER",localName:"POLLS_TWITTER"},{no:10,name:"TOPIC_TYPE_LINK",localName:"LINK"},{no:11,name:"TOPIC_TYPE_MESSAGE",localName:"MESSAGE"},{no:12,name:"TOPIC_TYPE_POLLS_PROMOTION",localName:"POLLS_PROMOTION"},{no:13,name:"TOPIC_TYPE_PUBLIC_CHAT",localName:"PUBLIC_CHAT"}]);const Rx=T.makeEnum("streamlayer.analytics.v1.common.TopicSubType",[{no:0,name:"TOPIC_SUB_TYPE_UNSET",localName:"UNSET"},{no:1,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB21",localName:"PROMOTION_INGAME_IAB21"},{no:2,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB11",localName:"PROMOTION_INGAME_IAB11"},{no:3,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB61",localName:"PROMOTION_INGAME_IAB61"},{no:4,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB21_LBAR",localName:"PROMOTION_INGAME_IAB21_LBAR"},{no:5,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB11_LBAR",localName:"PROMOTION_INGAME_IAB11_LBAR"},{no:6,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB21_LBAR_ADDITIONAL",localName:"PROMOTION_INGAME_IAB21_LBAR_ADDITIONAL"},{no:7,name:"TOPIC_SUB_TYPE_PROMOTION_INGAME_IAB11_LBAR_ADDITIONAL",localName:"PROMOTION_INGAME_IAB11_LBAR_ADDITIONAL"}]);T.makeEnum("streamlayer.analytics.v1.common.PollOpenedFrom",[{no:0,name:"POLL_OPENED_FROM_UNSET",localName:"UNSET"},{no:1,name:"POLL_OPENED_FROM_IN_APP",localName:"IN_APP"},{no:2,name:"POLL_OPENED_FROM_HISTORY",localName:"HISTORY"},{no:3,name:"POLL_OPENED_FROM_PICK_HISTORY",localName:"PICK_HISTORY"},{no:4,name:"POLL_OPENED_FROM_INSIGHT_HISTORY",localName:"INSIGHT_HISTORY"},{no:5,name:"POLL_OPENED_FROM_TWEETS_HISTORY",localName:"TWEETS_HISTORY"},{no:6,name:"POLL_OPENED_FROM_PROMOTION_HISTORY",localName:"PROMOTION_HISTORY"}]);T.makeEnum("streamlayer.analytics.v1.common.EntityType",[{no:0,name:"UNSET"},{no:1,name:"EVENT"},{no:2,name:"USER"},{no:3,name:"DEVICE"},{no:4,name:"QUESTION"}]);T.makeMessageType("streamlayer.analytics.v1.common.Period",()=>[{no:1,name:"from",kind:"message",T:Ma},{no:2,name:"to",kind:"message",T:Ma}]);const Ix=T.makeMessageType("streamlayer.social.TweetHashtags",()=>[{no:1,name:"text",kind:"scalar",T:9},{no:2,name:"indices",kind:"scalar",T:5,repeated:!0}]),Nx=T.makeMessageType("streamlayer.social.TweetUrls",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"display_url",kind:"scalar",T:9},{no:3,name:"expanded_url",kind:"scalar",T:9},{no:4,name:"indices",kind:"scalar",T:5,repeated:!0}]),Lx=T.makeMessageType("streamlayer.social.TweetMedia",()=>[{no:1,name:"id",kind:"scalar",T:3},{no:2,name:"id_str",kind:"scalar",T:9},{no:3,name:"type",kind:"scalar",T:9},{no:4,name:"url",kind:"scalar",T:9},{no:5,name:"media_url",kind:"scalar",T:9},{no:6,name:"display_url",kind:"scalar",T:9},{no:7,name:"expanded_url",kind:"scalar",T:9},{no:8,name:"media_url_https",kind:"scalar",T:9},{no:9,name:"source_user_id",kind:"scalar",T:3},{no:10,name:"source_user_id_str",kind:"scalar",T:9},{no:11,name:"source_status_id",kind:"scalar",T:3},{no:12,name:"source_status_id_str",kind:"scalar",T:9},{no:13,name:"sizes",kind:"message",T:pS},{no:14,name:"indices",kind:"scalar",T:5,repeated:!0}]),xx=T.makeMessageType("streamlayer.social.TweetExtendedMedia",()=>[{no:1,name:"id",kind:"scalar",T:3},{no:2,name:"id_str",kind:"scalar",T:9},{no:3,name:"type",kind:"scalar",T:9},{no:4,name:"url",kind:"scalar",T:9},{no:5,name:"media_url",kind:"scalar",T:9},{no:6,name:"display_url",kind:"scalar",T:9},{no:7,name:"expanded_url",kind:"scalar",T:9},{no:8,name:"media_url_https",kind:"scalar",T:9},{no:9,name:"sizes",kind:"message",T:pS},{no:10,name:"indices",kind:"scalar",T:5,repeated:!0},{no:11,name:"video_info",kind:"message",T:Ax},{no:12,name:"additional_media_info",kind:"message",T:Ox}]),Ox=T.makeMessageType("streamlayer.social.TweetExtendedMedia.TweetAdditionalMediaInfo",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9},{no:3,name:"embeddable",kind:"scalar",T:8},{no:4,name:"monetizable",kind:"scalar",T:8}],{localName:"TweetExtendedMedia_TweetAdditionalMediaInfo"}),Ax=T.makeMessageType("streamlayer.social.TweetMediaVideoInfo",()=>[{no:1,name:"aspect_ratio",kind:"scalar",T:5,repeated:!0},{no:2,name:"duration_millis",kind:"scalar",T:5},{no:3,name:"variants",kind:"message",T:Px,repeated:!0}]),Px=T.makeMessageType("streamlayer.social.TweetMediaVideoInfo.TweetVideoVariants",()=>[{no:1,name:"bitrate",kind:"scalar",T:5},{no:2,name:"content_type",kind:"scalar",T:9},{no:3,name:"url",kind:"scalar",T:9}],{localName:"TweetMediaVideoInfo_TweetVideoVariants"}),pS=T.makeMessageType("streamlayer.social.TweetMediaSizes",()=>[{no:1,name:"thumb",kind:"message",T:lg},{no:2,name:"large",kind:"message",T:lg},{no:3,name:"medium",kind:"message",T:lg},{no:4,name:"small",kind:"message",T:lg}]),lg=T.makeMessageType("streamlayer.social.TweetMediaSize",()=>[{no:1,name:"w",kind:"scalar",T:5},{no:2,name:"h",kind:"scalar",T:5},{no:3,name:"resize",kind:"scalar",T:9}]),Mx=T.makeMessageType("streamlayer.social.TweetUserMentions",()=>[{no:1,name:"id",kind:"scalar",T:3},{no:2,name:"id_str",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"screen_name",kind:"scalar",T:9},{no:5,name:"indices",kind:"scalar",T:5,repeated:!0}]),Dx=T.makeMessageType("streamlayer.social.TweetSymbol",()=>[{no:1,name:"text",kind:"scalar",T:9},{no:2,name:"indices",kind:"scalar",T:5,repeated:!0}]),Ux=T.makeMessageType("streamlayer.social.TweetPoll",()=>[{no:1,name:"duration_minutes",kind:"scalar",T:9},{no:2,name:"end_datetime",kind:"scalar",T:9},{no:3,name:"options",kind:"message",T:Fx,repeated:!0}]),Fx=T.makeMessageType("streamlayer.social.TweetPoll.TweetPollOption",()=>[{no:1,name:"position",kind:"scalar",T:5},{no:2,name:"text",kind:"scalar",T:9}],{localName:"TweetPoll_TweetPollOption"}),jx=T.makeMessageType("streamlayer.social.TweetMetadata",()=>[{no:1,name:"id_str",kind:"scalar",T:9},{no:2,name:"account",kind:"scalar",T:9},{no:3,name:"account_id",kind:"scalar",T:9},{no:4,name:"account_image",kind:"scalar",T:9},{no:8,name:"account_name",kind:"scalar",T:9},{no:9,name:"account_verified",kind:"scalar",T:8},{no:5,name:"retweeted_status",kind:"message",T:Uc},{no:6,name:"entities",kind:"message",T:Vx},{no:7,name:"extended_entities",kind:"message",T:Bx},{no:10,name:"retweet_count",kind:"scalar",T:4},{no:11,name:"favorite_count",kind:"scalar",T:4}]),Vx=T.makeMessageType("streamlayer.social.TweetMetadata.TweetEntities",()=>[{no:1,name:"urls",kind:"message",T:Nx,repeated:!0},{no:2,name:"hashtags",kind:"message",T:Ix,repeated:!0},{no:3,name:"media",kind:"message",T:Lx,repeated:!0},{no:4,name:"user_mentions",kind:"message",T:Mx,repeated:!0},{no:5,name:"symbols",kind:"message",T:Dx,repeated:!0},{no:6,name:"polls",kind:"message",T:Ux,repeated:!0}],{localName:"TweetMetadata_TweetEntities"}),Bx=T.makeMessageType("streamlayer.social.TweetMetadata.TweetExtendedEntities",()=>[{no:1,name:"media",kind:"message",T:xx,repeated:!0}],{localName:"TweetMetadata_TweetExtendedEntities"}),Uc=T.makeMessageType("streamlayer.social.Tweet",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"date",kind:"scalar",T:9},{no:3,name:"text",kind:"scalar",T:9},{no:4,name:"meta",kind:"message",T:jx}]);T.makeMessageType("streamlayer.social.SubscriptionRequest",()=>[{no:1,name:"account",kind:"scalar",T:9,repeated:!0}]);T.makeMessageType("streamlayer.social.SubscriptionResponse",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:Uc}]);T.makeMessageType("streamlayer.social.SyncRequest",()=>[{no:1,name:"filter",kind:"message",T:zx}]);const zx=T.makeMessageType("streamlayer.social.SyncRequest.SyncRequestFilter",()=>[{no:1,name:"account",kind:"scalar",T:9},{no:2,name:"mentions",kind:"scalar",T:9,repeated:!0},{no:3,name:"hashtags",kind:"scalar",T:9,repeated:!0},{no:4,name:"page",kind:"scalar",T:5},{no:5,name:"page_size",kind:"scalar",T:5},{no:6,name:"cursor",kind:"scalar",T:9},{no:7,name:"order",kind:"scalar",T:9},{no:9,name:"accounts",kind:"scalar",T:9,repeated:!0}],{localName:"SyncRequest_SyncRequestFilter"});T.makeMessageType("streamlayer.social.SyncResponse",()=>[{no:1,name:"meta",kind:"message",T:$x},{no:2,name:"data",kind:"message",T:Hx,repeated:!0}]);const $x=T.makeMessageType("streamlayer.social.SyncResponse.SyncResponseMetadata",()=>[{no:1,name:"count",kind:"scalar",T:5},{no:2,name:"before",kind:"scalar",T:9},{no:3,name:"cursor",kind:"scalar",T:9}],{localName:"SyncResponse_SyncResponseMetadata"}),Hx=T.makeMessageType("streamlayer.social.SyncResponse.SyncResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:Uc}],{localName:"SyncResponse_SyncResponseData"});T.makeMessageType("streamlayer.social.GetTweetRequest",()=>[{no:1,name:"tweet_id",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.social.GetTweetResponse",()=>[{no:1,name:"data",kind:"message",T:Gx}]);const Gx=T.makeMessageType("streamlayer.social.GetTweetResponse.GetTweetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:Uc}],{localName:"GetTweetResponse_GetTweetResponseData"});T.makeMessageType("streamlayer.social.SyncTweetRequest",()=>[{no:1,name:"tweet_id",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.social.SyncTweetResponse",()=>[{no:1,name:"data",kind:"message",T:qx}]);const qx=T.makeMessageType("streamlayer.social.SyncTweetResponse.SyncTweetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:Uc}],{localName:"SyncTweetResponse_SyncTweetResponseData"}),$e=T.makeEnum("streamlayer.interactive.QuestionType",[{no:0,name:"QUESTION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_TYPE_POLL",localName:"POLL"},{no:2,name:"QUESTION_TYPE_TRIVIA",localName:"TRIVIA"},{no:3,name:"QUESTION_TYPE_PREDICTION",localName:"PREDICTION"},{no:4,name:"QUESTION_TYPE_FACTOID",localName:"FACTOID"},{no:5,name:"QUESTION_TYPE_TWEET",localName:"TWEET"},{no:6,name:"QUESTION_TYPE_PROMOTION",localName:"PROMOTION"}]),Wx=T.makeEnum("streamlayer.interactive.QuestionSource",[{no:0,name:"QUESTION_SOURCE_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_SOURCE_AI",localName:"AI"},{no:2,name:"QUESTION_SOURCE_CSV_IMPORT",localName:"CSV_IMPORT"}]),Xn=T.makeEnum("streamlayer.interactive.QuestionStatus",[{no:0,name:"QUESTION_STATUS_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_STATUS_NOT_SCHEDULED",localName:"NOT_SCHEDULED"},{no:2,name:"QUESTION_STATUS_SCHEDULED",localName:"SCHEDULED"},{no:3,name:"QUESTION_STATUS_ACTIVE",localName:"ACTIVE"},{no:4,name:"QUESTION_STATUS_RESOLVED",localName:"RESOLVED"}]),Qx=T.makeEnum("streamlayer.interactive.QuestionPosition",[{no:0,name:"QUESTION_POSITION_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_POSITION_DEFAULT",localName:"DEFAULT"},{no:2,name:"QUESTION_POSITION_FIXED_BOTTOM",localName:"FIXED_BOTTOM"}]),Yx=T.makeEnum("streamlayer.interactive.QuestionLayout",[{no:0,name:"QUESTION_LAYOUT_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_LAYOUT_LIST_VIEW",localName:"LIST_VIEW"},{no:2,name:"QUESTION_LAYOUT_GRID_VIEW",localName:"GRID_VIEW"}]),$r=T.makeEnum("streamlayer.interactive.QuestionImages",[{no:0,name:"QUESTION_IMAGES_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_IMAGES_NONE",localName:"NONE"},{no:2,name:"QUESTION_IMAGES_ROUNDED",localName:"ROUNDED"},{no:3,name:"QUESTION_IMAGES_TRANSPARENT",localName:"TRANSPARENT"},{no:4,name:"QUESTION_IMAGES_CENTERED",localName:"CENTERED"}]),hS=T.makeEnum("streamlayer.interactive.ImagePosition",[{no:0,name:"IMAGE_POSITION_UNSET",localName:"UNSET"},{no:1,name:"IMAGE_POSITION_LEFT",localName:"LEFT"},{no:2,name:"IMAGE_POSITION_RIGHT",localName:"RIGHT"}]),Kx=T.makeEnum("streamlayer.interactive.PromotionType",[{no:0,name:"PROMOTION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"PROMOTION_TYPE_INGAME_IAB21",localName:"INGAME_IAB21"},{no:2,name:"PROMOTION_TYPE_INGAME_IAB11",localName:"INGAME_IAB11"},{no:3,name:"PROMOTION_TYPE_INGAME_IAB61",localName:"INGAME_IAB61"},{no:4,name:"PROMOTION_TYPE_INGAME_IAB11_LBAR",localName:"INGAME_IAB11_LBAR"},{no:5,name:"PROMOTION_TYPE_INGAME_IAB21_LBAR",localName:"INGAME_IAB21_LBAR"}]),Zx=T.makeEnum("streamlayer.interactive.PromotionWallet",[{no:0,name:"PROMOTION_WALLET_UNSET",localName:"UNSET"},{no:1,name:"PROMOTION_WALLET_ENABLED",localName:"ENABLED"},{no:2,name:"PROMOTION_WALLET_DISABLED",localName:"DISABLED"}]),gS=T.makeEnum("streamlayer.interactive.UseAsNotification",[{no:0,name:"USE_AS_NOTIFICATION_UNSET",localName:"UNSET"},{no:1,name:"USE_AS_NOTIFICATION_ENABLED",localName:"ENABLED"},{no:2,name:"USE_AS_NOTIFICATION_DISABLED",localName:"DISABLED"}]),Jx=T.makeEnum("streamlayer.interactive.QuestionAutoPostState",[{no:0,name:"QUESTION_AUTO_POST_STATE_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_AUTO_POST_STATE_ON",localName:"ON"},{no:2,name:"QUESTION_AUTO_POST_STATE_OFF",localName:"OFF"},{no:3,name:"QUESTION_AUTO_POST_STATE_PAUSED",localName:"PAUSED"},{no:4,name:"QUESTION_AUTO_POST_STATE_IDLE",localName:"IDLE"},{no:5,name:"QUESTION_AUTO_POST_STATE_RESET",localName:"RESET"}]),Xx=T.makeEnum("streamlayer.interactive.QuestionAutoPostStart",[{no:0,name:"QUESTION_AUTO_POST_START_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_AUTO_POST_START_SCHEDULE",localName:"SCHEDULE"},{no:2,name:"QUESTION_AUTO_POST_START_NOW",localName:"NOW"}]),eO=T.makeEnum("streamlayer.interactive.QuestionSkipReason",[{no:0,name:"QUESTION_SKIP_REASON_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_SKIP_REASON_OVERDUE",localName:"OVERDUE"}]),yS=T.makeEnum("streamlayer.interactive.SilenceSetting",[{no:0,name:"SILENCE_SETTING_UNSET",localName:"UNSET"},{no:1,name:"SILENCE_SETTING_ON",localName:"ON"},{no:2,name:"SILENCE_SETTING_OFF",localName:"OFF"}]),tO=T.makeEnum("streamlayer.interactive.ImportStatus",[{no:0,name:"IMPORT_STATUS_UNSET",localName:"UNSET"},{no:1,name:"IMPORT_STATUS_PLANNED",localName:"PLANNED"},{no:2,name:"IMPORT_STATUS_RUNNING",localName:"RUNNING"},{no:3,name:"IMPORT_STATUS_COMPLETED",localName:"COMPLETED"},{no:4,name:"IMPORT_STATUS_FAILED",localName:"FAILED"}]),s9=T.makeMessageType("streamlayer.interactive.QuestionAppearance",()=>[{no:1,name:"layout",kind:"enum",T:T.getEnumType(Yx)},{no:2,name:"images",kind:"enum",T:T.getEnumType($r)},{no:3,name:"primary_color",kind:"scalar",T:9},{no:4,name:"position",kind:"enum",T:T.getEnumType(Qx)},{no:5,name:"auto_hide_interval",kind:"scalar",T:4}]),cf=T.makeMessageType("streamlayer.interactive.Sponsorship",()=>[{no:1,name:"logo",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9}]),Qg=T.makeMessageType("streamlayer.interactive.QuestionNotification",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"image",kind:"scalar",T:9},{no:3,name:"indicator_color",kind:"scalar",T:9},{no:4,name:"image_position",kind:"enum",T:T.getEnumType(hS)},{no:5,name:"body",kind:"scalar",T:9},{no:6,name:"image_mode",kind:"enum",T:T.getEnumType($r)}]),nO=T.makeMessageType("streamlayer.interactive.QuestionAnswer",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"text",kind:"scalar",T:9},{no:3,name:"icon",kind:"scalar",T:9},{no:4,name:"correct",kind:"scalar",T:8},{no:5,name:"points",kind:"scalar",T:13}]),aO=T.makeMessageType("streamlayer.interactive.ExtendedQuestionAnswer",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"text",kind:"scalar",T:9},{no:3,name:"icon",kind:"scalar",T:9},{no:4,name:"correct",kind:"scalar",T:8},{no:5,name:"points",kind:"scalar",T:13},{no:6,name:"percentage",kind:"scalar",T:13},{no:7,name:"you_voted",kind:"scalar",T:8},{no:8,name:"percentage_decimal",kind:"scalar",T:1}]),lu=T.makeMessageType("streamlayer.interactive.AnswerFeedback",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9}]),i9=T.makeMessageType("streamlayer.interactive.FileLink",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9},{no:3,name:"thumbnail_url",kind:"scalar",T:9}]),vS=T.makeMessageType("streamlayer.interactive.WebLink",()=>[{no:1,name:"label",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9}]),rO=T.makeMessageType("streamlayer.interactive.CTAButton",()=>[{no:1,name:"label",kind:"scalar",T:9},{no:2,name:"color",kind:"scalar",T:9}]),Vk=T.makeMessageType("streamlayer.interactive.Banner",()=>[{no:1,name:"image_url",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9},{no:3,name:"cta_button",kind:"message",T:rO},{no:4,name:"video",kind:"message",T:i9},{no:5,name:"body",kind:"scalar",T:9,opt:!0},{no:6,name:"analytics_topic_sub_type",kind:"enum",T:T.getEnumType(Rx),opt:!0}]),l9=T.makeMessageType("streamlayer.interactive.QuestionOptions",()=>[{no:1,name:"poll",kind:"message",T:oO,oneof:"options"},{no:2,name:"trivia",kind:"message",T:sO,oneof:"options"},{no:3,name:"prediction",kind:"message",T:iO,oneof:"options"},{no:4,name:"factoid",kind:"message",T:lO,oneof:"options"},{no:5,name:"tweet",kind:"message",T:uO,oneof:"options"},{no:6,name:"promotion",kind:"message",T:dO,oneof:"options"}]),oO=T.makeMessageType("streamlayer.interactive.QuestionOptions.PollOptions",[],{localName:"QuestionOptions_PollOptions"}),sO=T.makeMessageType("streamlayer.interactive.QuestionOptions.TriviaOptions",()=>[{no:1,name:"correct_feedback",kind:"message",T:lu},{no:2,name:"incorrect_feedback",kind:"message",T:lu},{no:3,name:"points",kind:"scalar",T:4}],{localName:"QuestionOptions_TriviaOptions"}),iO=T.makeMessageType("streamlayer.interactive.QuestionOptions.PredictionOptions",()=>[{no:1,name:"correct_feedback",kind:"message",T:lu},{no:2,name:"incorrect_feedback",kind:"message",T:lu}],{localName:"QuestionOptions_PredictionOptions"}),lO=T.makeMessageType("streamlayer.interactive.QuestionOptions.FactoidOptions",()=>[{no:1,name:"image",kind:"scalar",T:9},{no:2,name:"body",kind:"scalar",T:9},{no:3,name:"video",kind:"message",T:i9},{no:4,name:"web_link",kind:"message",T:vS},{no:5,name:"image_mode",kind:"enum",T:T.getEnumType($r)},{no:6,name:"use_as_notification",kind:"enum",T:T.getEnumType(gS)}],{localName:"QuestionOptions_FactoidOptions"}),uO=T.makeMessageType("streamlayer.interactive.QuestionOptions.TweetOptions",()=>[{no:1,name:"tweet_url",kind:"scalar",T:9},{no:2,name:"tweet_id",kind:"scalar",T:9},{no:3,name:"tweet_meta",kind:"message",T:cO}],{localName:"QuestionOptions_TweetOptions"}),cO=T.makeMessageType("streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata",()=>[{no:1,name:"account",kind:"scalar",T:9},{no:2,name:"account_verified",kind:"scalar",T:8},{no:3,name:"has_media",kind:"scalar",T:8},{no:4,name:"tweet",kind:"message",T:Uc}],{localName:"QuestionOptions_TweetOptions_TweetMetadata"}),dO=T.makeMessageType("streamlayer.interactive.QuestionOptions.PromotionOptions",()=>[{no:1,name:"type",kind:"enum",T:T.getEnumType(Kx)},{no:2,name:"sponsor",kind:"message",T:cf},{no:3,name:"banner",kind:"message",T:Vk},{no:4,name:"enable_wallet",kind:"enum",T:T.getEnumType(Zx)},{no:5,name:"additional_banner",kind:"message",T:Vk}],{localName:"QuestionOptions_PromotionOptions"}),fO=T.makeMessageType("streamlayer.interactive.Tag",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"label",kind:"scalar",T:9},{no:3,name:"last_used_time",kind:"scalar",T:4}]),mO=T.makeMessageType("streamlayer.interactive.QuestionAi",()=>[{no:1,name:"verified",kind:"scalar",T:8}]),kS=T.makeMessageType("streamlayer.interactive.Question",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:T.getEnumType($e)},{no:3,name:"subject",kind:"scalar",T:9,opt:!0},{no:4,name:"options",kind:"message",T:l9},{no:5,name:"appearance",kind:"message",T:s9},{no:6,name:"sponsorship",kind:"message",T:cf},{no:7,name:"notification",kind:"message",T:Qg},{no:8,name:"answers",kind:"message",T:nO,repeated:!0},{no:9,name:"status",kind:"enum",T:T.getEnumType(Xn)},{no:10,name:"position",kind:"scalar",T:13,opt:!0},{no:11,name:"market_closed",kind:"scalar",T:8},{no:12,name:"activated_at",kind:"scalar",T:9},{no:13,name:"answer_set_at",kind:"scalar",T:9},{no:14,name:"overrides",kind:"map",K:9,V:{kind:"scalar",T:8}},{no:15,name:"event_id",kind:"scalar",T:9},{no:16,name:"stream_timestamp",kind:"message",T:Ma},{no:17,name:"tags",kind:"message",T:fO,repeated:!0},{no:18,name:"bypass_notifications",kind:"message",T:c9},{no:19,name:"import_id",kind:"scalar",T:9},{no:20,name:"activation_trigger_count",kind:"scalar",T:13,opt:!0},{no:21,name:"source",kind:"enum",T:T.getEnumType(Wx)},{no:22,name:"ai",kind:"message",T:mO}]),u9=T.makeMessageType("streamlayer.interactive.ExtendedQuestion",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:T.getEnumType($e)},{no:3,name:"subject",kind:"scalar",T:9},{no:4,name:"options",kind:"message",T:l9},{no:5,name:"appearance",kind:"message",T:s9},{no:6,name:"sponsorship",kind:"message",T:cf},{no:7,name:"notification",kind:"message",T:Qg},{no:8,name:"answers",kind:"message",T:aO,repeated:!0},{no:9,name:"status",kind:"enum",T:T.getEnumType(Xn)},{no:10,name:"position",kind:"scalar",T:13},{no:11,name:"market_closed",kind:"scalar",T:8},{no:12,name:"activated_at",kind:"scalar",T:9},{no:13,name:"answer_set_at",kind:"scalar",T:9},{no:14,name:"event_id",kind:"scalar",T:9},{no:15,name:"bypass_notifications",kind:"message",T:c9}]);T.makeMessageType("streamlayer.interactive.QuestionTimeline",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:T.getEnumType($e)},{no:3,name:"subject",kind:"scalar",T:9},{no:4,name:"activated_at",kind:"scalar",T:9},{no:5,name:"status",kind:"enum",T:T.getEnumType(Xn)},{no:6,name:"options",kind:"message",T:l9},{no:7,name:"notification",kind:"message",T:Qg}]);const bS=T.makeMessageType("streamlayer.interactive.EventModeration",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9},{no:3,name:"sponsorship",kind:"message",T:cf},{no:4,name:"onboarding_enabled",kind:"scalar",T:8},{no:5,name:"question",kind:"message",T:pO},{no:6,name:"sponsors",kind:"message",T:yO},{no:7,name:"notification",kind:"message",T:vO},{no:8,name:"activated_at",kind:"message",T:Ma},{no:9,name:"deactivated_at",kind:"message",T:Ma},{no:10,name:"question_auto_post",kind:"message",T:kO},{no:11,name:"bypass_notifications",kind:"message",T:c9},{no:12,name:"importer_collaboration",kind:"message",T:IO}]),pO=T.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings",()=>[{no:1,name:"appearance",kind:"message",T:s9},{no:2,name:"trivia",kind:"message",T:hO},{no:3,name:"prediction",kind:"message",T:gO},{no:4,name:"correct_feedbacks",kind:"message",T:lu,repeated:!0},{no:5,name:"incorrect_feedbacks",kind:"message",T:lu,repeated:!0}],{localName:"EventModeration_QuestionSettings"}),hO=T.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings",()=>[{no:1,name:"points",kind:"scalar",T:13}],{localName:"EventModeration_QuestionSettings_TriviaCardSettings"}),gO=T.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings",()=>[{no:1,name:"max_points",kind:"scalar",T:13}],{localName:"EventModeration_QuestionSettings_PredictionCardSettings"}),yO=T.makeMessageType("streamlayer.interactive.EventModeration.SponsorshipSettings",()=>[{no:1,name:"sponsors",kind:"message",T:cf,repeated:!0}],{localName:"EventModeration_SponsorshipSettings"}),vO=T.makeMessageType("streamlayer.interactive.EventModeration.NotificationSettings",()=>[{no:1,name:"image",kind:"scalar",T:9},{no:2,name:"indicator_color",kind:"scalar",T:9},{no:3,name:"image_position",kind:"enum",T:T.getEnumType(hS)},{no:4,name:"image_mode",kind:"enum",T:T.getEnumType($r)}],{localName:"EventModeration_NotificationSettings"}),kO=T.makeMessageType("streamlayer.interactive.QuestionAutoPost",()=>[{no:1,name:"state",kind:"enum",T:T.getEnumType(Jx)},{no:2,name:"interval",kind:"scalar",T:13},{no:3,name:"next_post_time",kind:"message",T:Ma},{no:4,name:"start_mode",kind:"enum",T:T.getEnumType(Xx)},{no:5,name:"start_options",kind:"message",T:bO}]),bO=T.makeMessageType("streamlayer.interactive.QuestionAutoPostStartOptions",()=>[{no:1,name:"schedule",kind:"message",T:TO,oneof:"options"}]),TO=T.makeMessageType("streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions",()=>[{no:1,name:"timestamp",kind:"scalar",T:4}],{localName:"QuestionAutoPostStartOptions_ScheduleOptions"});T.makeMessageType("streamlayer.interactive.AnswerData",()=>[{no:1,name:"answer_id",kind:"scalar",T:9},{no:2,name:"percentage",kind:"scalar",T:13}]);const Yg=T.makeMessageType("streamlayer.interactive.Pagination",()=>[{no:1,name:"page",kind:"scalar",T:5},{no:2,name:"page_size",kind:"scalar",T:5},{no:3,name:"cursor",kind:"scalar",T:9}]),SO=T.makeMessageType("streamlayer.interactive.Sort",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"order",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.interactive.QuestionStats",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"question",kind:"message",T:wO},{no:3,name:"statistics",kind:"message",T:EO,repeated:!0}]);const wO=T.makeMessageType("streamlayer.interactive.QuestionStats.QuestionData",()=>[{no:1,name:"status",kind:"enum",T:T.getEnumType(Xn)}],{localName:"QuestionStats_QuestionData"}),EO=T.makeMessageType("streamlayer.interactive.AnswerVotesStats",()=>[{no:1,name:"answer_id",kind:"scalar",T:9},{no:2,name:"votes",kind:"message",T:CO}]),CO=T.makeMessageType("streamlayer.interactive.AnswerVotesStats.AnswerVotesData",()=>[{no:1,name:"count",kind:"scalar",T:13},{no:2,name:"percentage",kind:"scalar",T:13}],{localName:"AnswerVotesStats_AnswerVotesData"});T.makeMessageType("streamlayer.interactive.ServerNotificationOptions",()=>[{no:1,name:"silence",kind:"scalar",T:8},{no:2,name:"skip_update",kind:"scalar",T:8}]);const c9=T.makeMessageType("streamlayer.interactive.BypassNotifications",()=>[{no:1,name:"in_app_silence",kind:"enum",T:T.getEnumType(yS)}]),_O=T.makeMessageType("streamlayer.interactive.ImportError",()=>[{no:1,name:"row_id",kind:"scalar",T:9},{no:2,name:"message",kind:"scalar",T:9}]),RO=T.makeMessageType("streamlayer.interactive.ImportProgress",()=>[{no:1,name:"import_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:T.getEnumType(tO)},{no:3,name:"errors",kind:"message",T:_O,repeated:!0},{no:4,name:"last_updated",kind:"message",T:Ma}]),IO=T.makeMessageType("streamlayer.interactive.ImporterCollaboration",()=>[{no:1,name:"imports",kind:"map",K:9,V:{kind:"message",T:RO}}]),Dp=T.makeEnum("streamlayer.interactive.feed.PickHistoryStatus",[{no:0,name:"PICK_HISTORY_STATUS_UNSET",localName:"UNSET"},{no:1,name:"PICK_HISTORY_STATUS_WON",localName:"WON"},{no:2,name:"PICK_HISTORY_STATUS_LOST",localName:"LOST"},{no:3,name:"PICK_HISTORY_STATUS_DNP",localName:"DNP"}]),NO=T.makeEnum("streamlayer.interactive.feed.FeedUpdateType",[{no:0,name:"UPDATE_TYPE_UNSET"},{no:1,name:"UPDATE_TYPE_QUESTION_ACTIVATE"},{no:2,name:"UPDATE_TYPE_QUESTION_SET_CORRECT_ANSWER"},{no:3,name:"UPDATE_TYPE_QUESTION_RESOLVE"}]),TS=T.makeMessageType("streamlayer.interactive.feed.FeedQuestion",()=>[{no:1,name:"question",kind:"message",T:kS},{no:2,name:"notification",kind:"message",T:Qg},{no:3,name:"moderation",kind:"message",T:bS},{no:4,name:"feed_item",kind:"message",T:f9}]),LO=T.makeMessageType("streamlayer.interactive.feed.SubscriptionRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9},{no:2,name:"feed_id",kind:"scalar",T:9}]),xO=T.makeMessageType("streamlayer.interactive.feed.SubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:OO}]),OO=T.makeMessageType("streamlayer.interactive.feed.SubscriptionResponse.SubscriptionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:TS}],{localName:"SubscriptionResponse_SubscriptionResponseData"}),AO=T.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionRequest",()=>[{no:1,name:"feed_id",kind:"scalar",T:9},{no:2,name:"question_id",kind:"scalar",T:9}]),PO=T.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:MO}]),MO=T.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionResponse.VotingSubscriptionResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:d9,repeated:!0}],{localName:"VotingSubscriptionResponse_VotingSubscriptionResponseData"}),DO=T.makeMessageType("streamlayer.interactive.feed.QuestionSubscription",()=>[{no:1,name:"question",kind:"message",T:u9}]),UO=T.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionRequest",()=>[{no:1,name:"question_id",kind:"scalar",T:9}]),FO=T.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:jO}]),jO=T.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionResponse.QuestionSubscriptionResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:DO}],{localName:"QuestionSubscriptionResponse_QuestionSubscriptionResponseData"}),VO=T.makeMessageType("streamlayer.interactive.feed.QuestionByUser",()=>[{no:1,name:"question",kind:"message",T:u9}]),BO=T.makeMessageType("streamlayer.interactive.feed.QuestionByUserRequest",()=>[{no:1,name:"question_id",kind:"scalar",T:9}]),zO=T.makeMessageType("streamlayer.interactive.feed.QuestionByUserResponse",()=>[{no:1,name:"data",kind:"message",T:$O}]),$O=T.makeMessageType("streamlayer.interactive.feed.QuestionByUserResponse.QuestionByUserResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:VO}],{localName:"QuestionByUserResponse_QuestionByUserResponseData"}),HO=T.makeMessageType("streamlayer.interactive.feed.SyncQuestionRequest",()=>[{no:1,name:"filter",kind:"message",T:GO}]),GO=T.makeMessageType("streamlayer.interactive.feed.SyncQuestionRequest.SyncQuestionRequestFilter",()=>[{no:1,name:"event_id",kind:"scalar",T:9}],{localName:"SyncQuestionRequest_SyncQuestionRequestFilter"}),qO=T.makeMessageType("streamlayer.interactive.feed.SyncQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:WO}]),WO=T.makeMessageType("streamlayer.interactive.feed.SyncQuestionResponse.SyncQuestionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:TS}],{localName:"SyncQuestionResponse_SyncQuestionResponseData"}),QO=T.makeMessageType("streamlayer.interactive.feed.GetQuestionRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),YO=T.makeMessageType("streamlayer.interactive.feed.GetQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:KO}]),KO=T.makeMessageType("streamlayer.interactive.feed.GetQuestionResponse.GetQuestionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:kS}],{localName:"GetQuestionResponse_GetQuestionResponseData"}),ZO=T.makeMessageType("streamlayer.interactive.feed.QuestionDetailRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),JO=T.makeMessageType("streamlayer.interactive.feed.QuestionDetailResponse",()=>[{no:1,name:"data",kind:"message",T:XO}]),XO=T.makeMessageType("streamlayer.interactive.feed.QuestionDetailResponse.QuestionDetailResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:u9}],{localName:"QuestionDetailResponse_QuestionDetailResponseData"}),d9=T.makeMessageType("streamlayer.interactive.feed.AnswerVoteResult",()=>[{no:1,name:"answer_id",kind:"scalar",T:9},{no:2,name:"percentage",kind:"scalar",T:13},{no:3,name:"voted",kind:"scalar",T:8},{no:4,name:"correct",kind:"scalar",T:8}]),eA=T.makeMessageType("streamlayer.interactive.feed.SubmitAnswerRequest",()=>[{no:1,name:"data",kind:"message",T:tA}]),tA=T.makeMessageType("streamlayer.interactive.feed.SubmitAnswerRequest.SubmitRequestData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"answer_id",kind:"scalar",T:9}],{localName:"SubmitAnswerRequest_SubmitRequestData"}),nA=T.makeMessageType("streamlayer.interactive.feed.SubmitAnswerResponse",()=>[{no:1,name:"data",kind:"message",T:aA}]),aA=T.makeMessageType("streamlayer.interactive.feed.SubmitAnswerResponse.SubmitAnswerResponseData",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:d9,repeated:!0}],{localName:"SubmitAnswerResponse_SubmitAnswerResponseData"}),rA=T.makeMessageType("streamlayer.interactive.feed.SubmitInplayRequest",()=>[{no:1,name:"data",kind:"message",T:oA}]),oA=T.makeMessageType("streamlayer.interactive.feed.SubmitInplayRequest.SubmitRequestData",()=>[{no:1,name:"event_id",kind:"scalar",T:13}],{localName:"SubmitInplayRequest_SubmitRequestData"}),sA=T.makeMessageType("streamlayer.interactive.feed.SubmitInplayResponse",[]),iA=T.makeMessageType("streamlayer.interactive.feed.SkipQuestionRequest",()=>[{no:1,name:"data",kind:"message",T:lA}]),lA=T.makeMessageType("streamlayer.interactive.feed.SkipQuestionRequest.SkipQuestionRequestData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"reason",kind:"enum",T:T.getEnumType(eO)}],{localName:"SkipQuestionRequest_SkipQuestionRequestData"}),uA=T.makeMessageType("streamlayer.interactive.feed.SkipQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:cA}]),cA=T.makeMessageType("streamlayer.interactive.feed.SkipQuestionResponse.SkipQuestionResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:d9,repeated:!0}],{localName:"SkipQuestionResponse_SkipQuestionResponseData"}),dA=T.makeMessageType("streamlayer.interactive.feed.PickHistoryRequest",()=>[{no:1,name:"question_type",kind:"enum",T:T.getEnumType($e),repeated:!0},{no:3,name:"event_id",kind:"scalar",T:9},{no:2,name:"pagination",kind:"message",T:Yg}]),SS=T.makeMessageType("streamlayer.interactive.feed.PickHistory",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"answer_id",kind:"scalar",T:9},{no:3,name:"status",kind:"enum",T:T.getEnumType(Dp)},{no:4,name:"question_type",kind:"enum",T:T.getEnumType($e)},{no:5,name:"subject",kind:"scalar",T:9},{no:6,name:"text",kind:"scalar",T:9},{no:7,name:"open_for_voting",kind:"scalar",T:8},{no:8,name:"question_status",kind:"enum",T:T.getEnumType(Xn)}]),fA=T.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:mA,repeated:!0},{no:2,name:"meta",kind:"message",T:pA}]),mA=T.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse.PickHistoryResponseData",()=>[{no:1,name:"attributes",kind:"message",T:SS}],{localName:"PickHistoryResponse_PickHistoryResponseData"}),pA=T.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse.PickHistoryResponseMetadata",()=>[{no:1,name:"total",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"PickHistoryResponse_PickHistoryResponseMetadata"}),hA=T.makeMessageType("streamlayer.interactive.feed.InsightHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),gA=T.makeMessageType("streamlayer.interactive.feed.InstantView",()=>[{no:1,name:"heading",kind:"scalar",T:9,opt:!0},{no:2,name:"body",kind:"scalar",T:9,opt:!0},{no:3,name:"image",kind:"scalar",T:9,opt:!0},{no:4,name:"video",kind:"message",T:i9,opt:!0},{no:5,name:"web_link",kind:"message",T:vS,opt:!0},{no:6,name:"image_mode",kind:"enum",T:T.getEnumType($r)}]),yA=T.makeMessageType("streamlayer.interactive.feed.InsightNotification",()=>[{no:1,name:"title",kind:"scalar",T:9,opt:!0},{no:2,name:"body",kind:"scalar",T:9,opt:!0},{no:3,name:"image_position",kind:"scalar",T:5,opt:!0}]),wS=T.makeMessageType("streamlayer.interactive.feed.InsightHistory",()=>[{no:1,name:"question_id",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"image",kind:"scalar",T:9},{no:4,name:"image_mode",kind:"enum",T:T.getEnumType($r)},{no:5,name:"instant_view",kind:"message",T:gA,opt:!0},{no:6,name:"notification",kind:"message",T:yA,opt:!0},{no:7,name:"use_as_notification",kind:"enum",T:T.getEnumType(gS)}]),vA=T.makeMessageType("streamlayer.interactive.feed.InsightHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:kA,repeated:!0}]),kA=T.makeMessageType("streamlayer.interactive.feed.InsightHistoryResponse.InsightHistoryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:wS}],{localName:"InsightHistoryResponse_InsightHistoryResponseData"}),bA=T.makeMessageType("streamlayer.interactive.feed.TweetHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),ES=T.makeMessageType("streamlayer.interactive.feed.TweetHistory",()=>[{no:1,name:"tweet_id",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"image",kind:"scalar",T:9},{no:4,name:"body",kind:"scalar",T:9},{no:5,name:"account",kind:"scalar",T:9},{no:6,name:"account_verified",kind:"scalar",T:8},{no:7,name:"tweet",kind:"message",T:Uc}]),TA=T.makeMessageType("streamlayer.interactive.feed.TweetHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:SA,repeated:!0}]),SA=T.makeMessageType("streamlayer.interactive.feed.TweetHistoryResponse.TweetHistoryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:ES}],{localName:"TweetHistoryResponse_TweetHistoryResponseData"}),wA=T.makeMessageType("streamlayer.interactive.feed.InteractiveFeed",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"options",kind:"message",T:EA},{no:3,name:"moderation",kind:"message",T:bS}]),EA=T.makeMessageType("streamlayer.interactive.feed.FeedOptions",()=>[{no:1,name:"onboarding_enabled",kind:"scalar",T:8}]),CA=T.makeMessageType("streamlayer.interactive.feed.GetRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),_A=T.makeMessageType("streamlayer.interactive.feed.GetResponse",()=>[{no:1,name:"data",kind:"message",T:RA}]),RA=T.makeMessageType("streamlayer.interactive.feed.GetResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:wA}],{localName:"GetResponse_GetResponseData"}),IA=T.makeMessageType("streamlayer.interactive.feed.PromotionHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),CS=T.makeMessageType("streamlayer.interactive.feed.PromotionHistory",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"image",kind:"scalar",T:9}]),NA=T.makeMessageType("streamlayer.interactive.feed.PromotionHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:LA,repeated:!0}]),LA=T.makeMessageType("streamlayer.interactive.feed.PromotionHistoryResponse.PromotionHistoryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:CS}],{localName:"PromotionHistoryResponse_PromotionHistoryResponseData"}),xA=T.makeMessageType("streamlayer.interactive.feed.FeedItemAttributes",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:T.getEnumType($e)},{no:3,name:"status",kind:"enum",T:T.getEnumType(Xn)},{no:8,name:"created",kind:"scalar",T:9},{no:4,name:"question",kind:"message",T:SS,oneof:"attributes"},{no:5,name:"tweet",kind:"message",T:ES,oneof:"attributes"},{no:6,name:"insight",kind:"message",T:wS,oneof:"attributes"},{no:7,name:"promotion",kind:"message",T:CS,oneof:"attributes"}]),f9=T.makeMessageType("streamlayer.interactive.feed.FeedItem",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:xA}]),OA=T.makeMessageType("streamlayer.interactive.feed.FeedListRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9},{no:2,name:"filter",kind:"message",T:AA},{no:3,name:"pagination",kind:"message",T:Yg}]),AA=T.makeMessageType("streamlayer.interactive.feed.FeedListRequest.FeedListFilter",()=>[{no:1,name:"types",kind:"enum",T:T.getEnumType($e),repeated:!0},{no:2,name:"statuses",kind:"enum",T:T.getEnumType(Xn),repeated:!0}],{localName:"FeedListRequest_FeedListFilter"}),PA=T.makeMessageType("streamlayer.interactive.feed.FeedListResponse",()=>[{no:1,name:"data",kind:"message",T:f9,repeated:!0},{no:2,name:"meta",kind:"message",T:MA}]),MA=T.makeMessageType("streamlayer.interactive.feed.FeedListResponse.FeedListResponseMetadata",()=>[{no:1,name:"total",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"FeedListResponse_FeedListResponseMetadata"}),DA=T.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),UA=T.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:f9},{no:2,name:"meta",kind:"message",T:FA}]),FA=T.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionResponse.FeedSubscriptionMeta",()=>[{no:1,name:"type",kind:"enum",T:T.getEnumType(NO)}],{localName:"FeedSubscriptionResponse_FeedSubscriptionMeta"}),jA=T.makeMessageType("streamlayer.sdkSettings.game.common.GameAppearance",()=>[{no:1,name:"primary_color",kind:"scalar",T:9},{no:2,name:"secondary_color",kind:"scalar",T:9},{no:3,name:"accent_color",kind:"scalar",T:9}]),VA=T.makeMessageType("streamlayer.sdkSettings.game.common.GameMedia",()=>[{no:1,name:"game_icon",kind:"scalar",T:9},{no:2,name:"sponsor_logo",kind:"scalar",T:9}]),BA=T.makeMessageType("streamlayer.sdkSettings.game.common.GamePrize",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"image",kind:"scalar",T:9}]),zA=T.makeMessageType("streamlayer.sdkSettings.game.common.GameOverview",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9},{no:3,name:"auto_activate",kind:"scalar",T:8},{no:4,name:"scoring",kind:"scalar",T:8},{no:5,name:"media",kind:"message",T:VA},{no:6,name:"appearance",kind:"message",T:jA},{no:7,name:"prizes",kind:"message",T:BA,repeated:!0},{no:8,name:"completed",kind:"scalar",T:8}]),$A=T.makeMessageType("streamlayer.sdkSettings.game.common.TitleCardMedia",()=>[{no:1,name:"icon",kind:"scalar",T:9},{no:2,name:"sponsor_logo",kind:"scalar",T:9}]),HA=T.makeMessageType("streamlayer.sdkSettings.game.common.TitleCardAppearance",()=>[{no:1,name:"graphic",kind:"scalar",T:9}]),GA=T.makeMessageType("streamlayer.sdkSettings.game.common.GameTitleCard",()=>[{no:1,name:"visible",kind:"scalar",T:8},{no:2,name:"opt_in",kind:"scalar",T:8},{no:3,name:"title",kind:"scalar",T:9},{no:4,name:"subtitle",kind:"scalar",T:9},{no:5,name:"header",kind:"scalar",T:9},{no:6,name:"media",kind:"message",T:$A},{no:7,name:"appearance",kind:"message",T:HA},{no:8,name:"completed",kind:"scalar",T:8}]),qA=T.makeMessageType("streamlayer.sdkSettings.game.common.OnboardingStep",()=>[{no:1,name:"headline",kind:"scalar",T:9},{no:2,name:"body",kind:"scalar",T:9},{no:3,name:"graphic",kind:"scalar",T:9}]),WA=T.makeMessageType("streamlayer.sdkSettings.game.common.GameOnboarding",()=>[{no:1,name:"steps",kind:"message",T:qA,repeated:!0},{no:2,name:"completed",kind:"scalar",T:8}]),QA=T.makeMessageType("streamlayer.sdkSettings.game.common.GameRules",()=>[{no:1,name:"heading",kind:"scalar",T:9},{no:2,name:"typeface",kind:"scalar",T:9},{no:3,name:"button_label",kind:"scalar",T:9},{no:4,name:"numbers_color",kind:"scalar",T:9},{no:5,name:"rules",kind:"scalar",T:9,repeated:!0},{no:6,name:"completed",kind:"scalar",T:8},{no:7,name:"terms",kind:"scalar",T:9},{no:8,name:"terms_url",kind:"scalar",T:9}]),YA=T.makeMessageType("streamlayer.sdkSettings.game.common.GameInviteCard",()=>[{no:1,name:"heading",kind:"scalar",T:9},{no:2,name:"typeface",kind:"scalar",T:9},{no:3,name:"subtext",kind:"scalar",T:9},{no:4,name:"button_label",kind:"scalar",T:9},{no:5,name:"icon_color",kind:"scalar",T:9},{no:6,name:"terms",kind:"scalar",T:9},{no:7,name:"completed",kind:"scalar",T:8}]),KA=T.makeMessageType("streamlayer.sdkSettings.game.common.GameSettings",()=>[{no:1,name:"overview",kind:"message",T:zA},{no:2,name:"title_card",kind:"message",T:GA},{no:3,name:"onboarding",kind:"message",T:WA},{no:4,name:"rules",kind:"message",T:QA},{no:5,name:"invite_card",kind:"message",T:YA},{no:6,name:"completed",kind:"scalar",T:8},{no:7,name:"enable",kind:"scalar",T:8}]),ZA=T.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationGeneral",()=>[{no:1,name:"default_color",kind:"scalar",T:9},{no:2,name:"points",kind:"scalar",T:13},{no:3,name:"auto_hide_interval",kind:"scalar",T:4},{no:4,name:"insights_history_enabled",kind:"scalar",T:8},{no:5,name:"pick_history_enabled",kind:"scalar",T:8},{no:6,name:"correct_feedbacks",kind:"message",T:lu,repeated:!0},{no:7,name:"incorrect_feedbacks",kind:"message",T:lu,repeated:!0}]),JA=T.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationNotifications",()=>[{no:1,name:"default_image",kind:"scalar",T:9},{no:2,name:"image_mode",kind:"enum",T:T.getEnumType($r)}]),XA=T.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationSponsorships",()=>[{no:1,name:"rotate",kind:"scalar",T:8},{no:2,name:"no_sponsor",kind:"scalar",T:8},{no:3,name:"sponsors",kind:"message",T:cf,repeated:!0}]),eP=T.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationSettings",()=>[{no:1,name:"general",kind:"message",T:ZA},{no:2,name:"notifications",kind:"message",T:JA},{no:3,name:"sponsorships",kind:"message",T:XA}]),Rn=T.makeEnum("streamlayer.sdkSettings.SdkOverlayType",[{no:0,name:"SDK_OVERLAY_TYPE_UNSET",localName:"UNSET"},{no:1,name:"SDK_OVERLAY_TYPE_INPLAY",localName:"INPLAY"},{no:2,name:"SDK_OVERLAY_TYPE_MESSAGING",localName:"MESSAGING"},{no:3,name:"SDK_OVERLAY_TYPE_STATISTICS",localName:"STATISTICS"},{no:4,name:"SDK_OVERLAY_TYPE_BETTING",localName:"BETTING"},{no:5,name:"SDK_OVERLAY_TYPE_TWITTER",localName:"TWITTER"},{no:6,name:"SDK_OVERLAY_TYPE_MERCHANDISE",localName:"MERCHANDISE"},{no:7,name:"SDK_OVERLAY_TYPE_CONTESTS",localName:"CONTESTS"},{no:8,name:"SDK_OVERLAY_TYPE_VOICE_CHAT",localName:"VOICE_CHAT"},{no:9,name:"SDK_OVERLAY_TYPE_TICKETS",localName:"TICKETS"},{no:10,name:"SDK_OVERLAY_TYPE_WHOIS_WATCHING",localName:"WHOIS_WATCHING"},{no:11,name:"SDK_OVERLAY_TYPE_PROFILE",localName:"PROFILE"},{no:12,name:"SDK_OVERLAY_TYPE_GAMES",localName:"GAMES"},{no:13,name:"SDK_OVERLAY_TYPE_GOLF_STATISTICS",localName:"GOLF_STATISTICS"},{no:14,name:"SDK_OVERLAY_TYPE_HIGHLIGHTS",localName:"HIGHLIGHTS"},{no:15,name:"SDK_OVERLAY_TYPE_PUBLIC_CHAT",localName:"PUBLIC_CHAT"}]),tP=T.makeEnum("streamlayer.sdkSettings.BettingFavoriteType",[{no:0,name:"BETTING_FAVORITE_TYPE_UNSET",localName:"UNSET"},{no:1,name:"BETTING_FAVORITE_TYPE_LEAGUE",localName:"LEAGUE"},{no:2,name:"BETTING_FAVORITE_TYPE_TEAM",localName:"TEAM"}]),nP=T.makeEnum("streamlayer.sdkSettings.BettingSettingsTextColor",[{no:0,name:"BETTING_SETTINGS_TEXT_COLOR_UNSET",localName:"UNSET"},{no:1,name:"BETTING_SETTINGS_TEXT_COLOR_PRIMARY",localName:"PRIMARY"},{no:2,name:"BETTING_SETTINGS_TEXT_COLOR_GREY",localName:"GREY"},{no:3,name:"BETTING_SETTINGS_TEXT_COLOR_CUSTOM",localName:"CUSTOM"}]),m9=T.makeEnum("streamlayer.sdkSettings.GetStreamChannelType",[{no:0,name:"GETSTREAM_CHANNEL_TYPE_UNSET"},{no:1,name:"GETSTREAM_CHANNEL_TYPE_LIVESTREAM"},{no:2,name:"GETSTREAM_CHANNEL_TYPE_MESSAGING"},{no:3,name:"GETSTREAM_CHANNEL_TYPE_TEAM"},{no:4,name:"GETSTREAM_CHANNEL_TYPE_COMMERCE"},{no:5,name:"GETSTREAM_CHANNEL_TYPE_GAMING"},{no:6,name:"GETSTREAM_CHANNEL_TYPE_CUSTOM"}]),aP=T.makeEnum("streamlayer.sdkSettings.GetStreamChannelDefault",[{no:0,name:"GETSTREAM_CHANNEL_DEFAULT_UNSET"},{no:1,name:"GETSTREAM_CHANNEL_DEFAULT_TRUE"},{no:2,name:"GETSTREAM_CHANNEL_DEFAULT_FALSE"}]),_S=T.makeEnum("streamlayer.sdkSettings.GetStreamEnabled",[{no:0,name:"GETSTREAM_ENABLED_UNSET"},{no:1,name:"GETSTREAM_ENABLED_TRUE"},{no:2,name:"GETSTREAM_ENABLED_FALSE"}]),rP=T.makeEnum("streamlayer.sdkSettings.PublicName",[{no:0,name:"PUBLIC_NAME_UNSET",localName:"UNSET"},{no:1,name:"PUBLIC_NAME_ENABLED",localName:"ENABLED"},{no:2,name:"PUBLIC_NAME_DISABLED",localName:"DISABLED"}]),oP=T.makeEnum("streamlayer.sdkSettings.AnalyticsVersion",[{no:0,name:"ANALYTICS_VERSION_UNSET",localName:"UNSET"},{no:1,name:"ANALYTICS_VERSION_V1",localName:"V1"},{no:2,name:"ANALYTICS_VERSION_V2",localName:"V2"}]),sP=T.makeEnum("streamlayer.sdkSettings.LeaderboardKind",[{no:0,name:"LEADERBOARD_KIND_UNSET",localName:"UNSET"},{no:1,name:"LEADERBOARD_KIND_GLOBAL",localName:"GLOBAL"},{no:2,name:"LEADERBOARD_KIND_FRIENDS",localName:"FRIENDS"}]),iP=T.makeEnum("streamlayer.sdkSettings.PresetRuleKey",[{no:0,name:"PRESET_RULE_KEY_UNSET",localName:"UNSET"},{no:1,name:"PRESET_RULE_KEY_SPORT",localName:"SPORT"},{no:2,name:"PRESET_RULE_KEY_LEAGUE",localName:"LEAGUE"},{no:3,name:"PRESET_RULE_KEY_TEAMS",localName:"TEAMS"}]),lP=T.makeEnum("streamlayer.sdkSettings.AdvertisingPlacement",[{no:0,name:"ADVERTISING_PLACEMENT_UNSET",localName:"UNSET"},{no:1,name:"ADVERTISING_PLACEMENT_DEFAULT",localName:"DEFAULT"},{no:2,name:"ADVERTISING_PLACEMENT_WATCHPARTY_FULLSIZE",localName:"WATCHPARTY_FULLSIZE"},{no:3,name:"ADVERTISING_PLACEMENT_WATCHPARTY_VIDEOPANEL",localName:"WATCHPARTY_VIDEOPANEL"},{no:4,name:"ADVERTISING_PLACEMENT_OVERLAY_NAVBAR",localName:"OVERLAY_NAVBAR"}]);T.makeEnum("streamlayer.sdkSettings.AdvertisingType",[{no:0,name:"ADVERTISING_TYPE_UNSET",localName:"UNSET"},{no:1,name:"ADVERTISING_TYPE_SPONSORS",localName:"SPONSORS"},{no:2,name:"ADVERTISING_TYPE_INTERSTITIALS",localName:"INTERSTITIALS"},{no:3,name:"ADVERTISING_TYPE_BANNERS",localName:"BANNERS"}]);const uP=T.makeMessageType("streamlayer.sdkSettings.TwitterOverlaySettings",()=>[{no:1,name:"accounts",kind:"scalar",T:9,repeated:!0}]),cP=T.makeMessageType("streamlayer.sdkSettings.BettingFavorite",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"icon",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"type",kind:"enum",T:T.getEnumType(tP)}]),dP=T.makeMessageType("streamlayer.sdkSettings.CtaImage",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9}]),RS=T.makeMessageType("streamlayer.sdkSettings.BrandDefaults",()=>[{no:1,name:"appearance",kind:"message",T:fP}]),fP=T.makeMessageType("streamlayer.sdkSettings.BrandDefaults.Appearance",()=>[{no:1,name:"primary_color",kind:"scalar",T:9},{no:2,name:"secondary_color",kind:"scalar",T:9},{no:3,name:"accent_color",kind:"scalar",T:9}],{localName:"BrandDefaults_Appearance"}),Bk=T.makeMessageType("streamlayer.sdkSettings.BettingOverlaySettings",()=>[{no:1,name:"favorites",kind:"message",T:cP,repeated:!0},{no:2,name:"primary_color",kind:"scalar",T:9},{no:3,name:"button_icon",kind:"scalar",T:9},{no:4,name:"text_color",kind:"enum",T:T.getEnumType(nP)},{no:5,name:"app_installed_text",kind:"scalar",T:9},{no:6,name:"app_not_installed_text",kind:"scalar",T:9},{no:7,name:"text_color_custom",kind:"scalar",T:9},{no:8,name:"cta_image",kind:"message",T:dP}]),mP=T.makeMessageType("streamlayer.sdkSettings.GetStreamSettingsClient",()=>[{no:1,name:"enabled",kind:"enum",T:T.getEnumType(_S)},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"app_id",kind:"scalar",T:9},{no:5,name:"default_channel_type",kind:"enum",T:T.getEnumType(m9)}]),Pg=T.makeMessageType("streamlayer.sdkSettings.GetStreamChannel",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9},{no:3,name:"channel_id",kind:"scalar",T:9},{no:4,name:"channel_type",kind:"enum",T:T.getEnumType(m9)},{no:5,name:"is_default",kind:"enum",T:T.getEnumType(aP)}]),pP=T.makeMessageType("streamlayer.sdkSettings.GetStreamChannels",()=>[{no:1,name:"enabled",kind:"enum",T:T.getEnumType(_S)},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"app_id",kind:"scalar",T:9},{no:4,name:"default_channel_type",kind:"enum",T:T.getEnumType(m9)},{no:5,name:"default_channel",kind:"message",T:Pg},{no:6,name:"channels",kind:"message",T:Pg,repeated:!0}]),IS=T.makeMessageType("streamlayer.sdkSettings.StreamSettings",()=>[{no:1,name:"overlays",kind:"message",T:Kg,repeated:!0},{no:2,name:"custom",kind:"scalar",T:8},{no:3,name:"button_icon",kind:"scalar",T:9},{no:4,name:"primary_color",kind:"scalar",T:9},{no:5,name:"secondary_color",kind:"scalar",T:9},{no:6,name:"moderation_primary_color",kind:"scalar",T:9},{no:7,name:"link_share_icon",kind:"scalar",T:9},{no:8,name:"link_share_text",kind:"scalar",T:9},{no:9,name:"brand_defaults",kind:"message",T:RS},{no:10,name:"getstream",kind:"message",T:pP}]),hP=T.makeMessageType("streamlayer.sdkSettings.JWK",()=>[{no:1,name:"alg",kind:"scalar",T:9,opt:!0},{no:2,name:"crv",kind:"scalar",T:9,opt:!0},{no:3,name:"d",kind:"scalar",T:9,opt:!0},{no:4,name:"dp",kind:"scalar",T:9,opt:!0},{no:5,name:"dq",kind:"scalar",T:9,opt:!0},{no:6,name:"e",kind:"scalar",T:9,opt:!0},{no:7,name:"ext",kind:"scalar",T:8,opt:!0},{no:8,name:"k",kind:"scalar",T:9,opt:!0},{no:9,name:"key_ops",kind:"scalar",T:9,repeated:!0},{no:10,name:"kid",kind:"scalar",T:9,opt:!0},{no:11,name:"kty",kind:"scalar",T:9,opt:!0},{no:12,name:"n",kind:"scalar",T:9,opt:!0},{no:13,name:"oth",kind:"message",T:gP,repeated:!0},{no:14,name:"p",kind:"scalar",T:9,opt:!0},{no:15,name:"q",kind:"scalar",T:9,opt:!0},{no:16,name:"qi",kind:"scalar",T:9,opt:!0},{no:17,name:"use",kind:"scalar",T:9,opt:!0},{no:18,name:"x",kind:"scalar",T:9,opt:!0},{no:19,name:"y",kind:"scalar",T:9,opt:!0},{no:20,name:"x5c",kind:"scalar",T:9,repeated:!0},{no:21,name:"x5t",kind:"scalar",T:9,opt:!0},{no:22,name:"x5u",kind:"scalar",T:9,opt:!0}]),gP=T.makeMessageType("streamlayer.sdkSettings.JWK.OTH",()=>[{no:1,name:"d",kind:"scalar",T:9,opt:!0},{no:2,name:"r",kind:"scalar",T:9,opt:!0},{no:3,name:"t",kind:"scalar",T:9,opt:!0}],{localName:"JWK_OTH"}),NS=T.makeMessageType("streamlayer.sdkSettings.OrganizationSettings",()=>[{no:1,name:"overlays",kind:"message",T:Kg,repeated:!0},{no:2,name:"button_icon",kind:"scalar",T:9},{no:3,name:"tinode_host",kind:"scalar",T:9},{no:4,name:"audience",kind:"scalar",T:9},{no:5,name:"name",kind:"scalar",T:9},{no:6,name:"provider",kind:"scalar",T:9},{no:7,name:"primary_color",kind:"scalar",T:9},{no:8,name:"secondary_color",kind:"scalar",T:9},{no:9,name:"moderation_primary_color",kind:"scalar",T:9},{no:10,name:"link_share_icon",kind:"scalar",T:9},{no:11,name:"link_share_text",kind:"scalar",T:9},{no:12,name:"brand_defaults",kind:"message",T:RS},{no:13,name:"pub",kind:"message",T:hP},{no:14,name:"getstream",kind:"message",T:mP},{no:15,name:"public_name",kind:"enum",T:T.getEnumType(rP)},{no:16,name:"analytics_version",kind:"enum",T:T.getEnumType(oP)}]),yP=T.makeMessageType("streamlayer.sdkSettings.GamesOverlaySettings",()=>[{no:1,name:"inplay_game",kind:"message",T:KA},{no:2,name:"moderation",kind:"message",T:eP},{no:3,name:"pinned_leaderboard_id",kind:"scalar",T:9},{no:4,name:"leaderboard_kind",kind:"enum",T:T.getEnumType(sP)}]),zk=T.makeMessageType("streamlayer.sdkSettings.GetStreamOverlaySettings",()=>[{no:1,name:"default_channel",kind:"message",T:Pg},{no:2,name:"channels",kind:"message",T:Pg,repeated:!0}]),Q1=T.makeMessageType("streamlayer.sdkSettings.SdkOverlaySettings",()=>[{no:4,name:"twitter",kind:"message",T:uP,oneof:"overlay_settings"},{no:5,name:"betting",kind:"message",T:Bk,oneof:"overlay_settings"},{no:6,name:"inplay",kind:"message",T:Bk,oneof:"overlay_settings"},{no:7,name:"games",kind:"message",T:yP,oneof:"overlay_settings"},{no:8,name:"getstream",kind:"message",T:zk,oneof:"overlay_settings"},{no:9,name:"public_chat",kind:"message",T:zk,oneof:"overlay_settings"}]),vP=T.makeMessageType("streamlayer.sdkSettings.SdkOverlayMeta",()=>[{no:1,name:"organization",kind:"message",T:Q1},{no:2,name:"global_preset",kind:"message",T:Q1},{no:3,name:"preset",kind:"message",T:Q1},{no:4,name:"stream",kind:"message",T:Q1}]),Kg=T.makeMessageType("streamlayer.sdkSettings.SdkOverlay",()=>[{no:1,name:"type",kind:"enum",T:T.getEnumType(Rn)},{no:3,name:"position",kind:"scalar",T:5},{no:4,name:"overwrite",kind:"scalar",T:8},{no:5,name:"settings",kind:"message",T:Q1},{no:6,name:"meta",kind:"message",T:vP},{no:7,name:"enable",kind:"scalar",T:8},{no:8,name:"sdk_enable",kind:"scalar",T:8},{no:9,name:"name",kind:"scalar",T:9},{no:10,name:"icon",kind:"scalar",T:9},{no:11,name:"svg_icon",kind:"scalar",T:9},{no:12,name:"enable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"},{no:13,name:"disable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"},{no:14,name:"enable_sdk_button",kind:"scalar",T:8}]);T.makeMessageType("streamlayer.sdkSettings.SdkOverlayUpdateData",()=>[{no:1,name:"type",kind:"enum",T:T.getEnumType(Rn)},{no:3,name:"position",kind:"scalar",T:5},{no:4,name:"overwrite",kind:"scalar",T:8},{no:5,name:"settings",kind:"message",T:Q1},{no:8,name:"sdk_enable",kind:"scalar",T:8},{no:9,name:"name",kind:"scalar",T:9},{no:10,name:"icon",kind:"scalar",T:9},{no:11,name:"svg_icon",kind:"scalar",T:9},{no:12,name:"enable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"},{no:13,name:"disable_overwrite",kind:"scalar",T:9,oneof:"overwrite_flag"}]);T.makeMessageType("streamlayer.sdkSettings.OverlaysListRequest",[]);T.makeMessageType("streamlayer.sdkSettings.OverlaysListResponse",()=>[{no:1,name:"data",kind:"message",T:kP}]);const kP=T.makeMessageType("streamlayer.sdkSettings.OverlaysListResponse.OverlaysListResponseData",()=>[{no:1,name:"type",kind:"scalar",T:9},{no:2,name:"attributes",kind:"message",T:Kg,repeated:!0}],{localName:"OverlaysListResponse_OverlaysListResponseData"});T.makeMessageType("streamlayer.sdkSettings.GenerateSdkKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.sdkSettings.GenerateSdkKeyResponse",()=>[{no:1,name:"data",kind:"message",T:bP}]);const bP=T.makeMessageType("streamlayer.sdkSettings.GenerateSdkKeyResponse.GenerateSdkKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GenerateSdkKeyResponse_GenerateSdkKeyResponseData"});T.makeMessageType("streamlayer.sdkSettings.RemoveSdkKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"key",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.sdkSettings.RemoveSdkKeyResponse",()=>[{no:1,name:"data",kind:"message",T:TP}]);const TP=T.makeMessageType("streamlayer.sdkSettings.RemoveSdkKeyResponse.RemoveSdkKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9,repeated:!0}],{localName:"RemoveSdkKeyResponse_RemoveSdkKeyResponseData"});T.makeMessageType("streamlayer.sdkSettings.ListSdkKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.sdkSettings.ListSdkKeyResponse",()=>[{no:1,name:"data",kind:"message",T:SP}]);const SP=T.makeMessageType("streamlayer.sdkSettings.ListSdkKeyResponse.ListSdkKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9,repeated:!0}],{localName:"ListSdkKeyResponse_ListSdkKeyResponseData"});T.makeMessageType("streamlayer.sdkSettings.RegisterTwitterRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"stream_id",kind:"scalar",T:9},{no:3,name:"account",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.sdkSettings.RegisterTwitterResponse",[]);T.makeMessageType("streamlayer.sdkSettings.Preset",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"rule",kind:"message",T:EP},{no:3,name:"settings",kind:"message",T:wP}]);const wP=T.makeMessageType("streamlayer.sdkSettings.PresetSettings",()=>[{no:1,name:"overlays",kind:"message",T:Kg,repeated:!0},{no:2,name:"advertising",kind:"message",T:LS}]),EP=T.makeMessageType("streamlayer.sdkSettings.PresetRule",()=>[{no:1,name:"key",kind:"enum",T:T.getEnumType(iP)},{no:2,name:"value",kind:"scalar",T:9}]),CP=T.makeMessageType("streamlayer.sdkSettings.AdvertisingConstraints",()=>[{no:1,name:"images",kind:"message",T:$k},{no:2,name:"videos",kind:"message",T:$k}]),$k=T.makeMessageType("streamlayer.sdkSettings.AdvertisingConstraint",()=>[{no:1,name:"width",kind:"scalar",T:5},{no:2,name:"height",kind:"scalar",T:5},{no:3,name:"max_file_size",kind:"scalar",T:1},{no:4,name:"mime",kind:"scalar",T:9}]),_P=T.makeMessageType("streamlayer.sdkSettings.AdvertisingTemplate",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"constraints",kind:"map",K:9,V:{kind:"message",T:CP}}]);T.makeMessageType("streamlayer.sdkSettings.AdvertisingTemplates",()=>[{no:1,name:"templates",kind:"message",T:_P,repeated:!0}]);const RP=T.makeMessageType("streamlayer.sdkSettings.AdvertisingImage",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"preview_url",kind:"scalar",T:9},{no:3,name:"file_url",kind:"scalar",T:9},{no:4,name:"placement",kind:"enum",T:T.getEnumType(lP)}]),IP=T.makeMessageType("streamlayer.sdkSettings.AdvertisingVideo",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"preview_url",kind:"scalar",T:9},{no:3,name:"file_url",kind:"scalar",T:9},{no:4,name:"background_color",kind:"scalar",T:9}]),NP=T.makeMessageType("streamlayer.sdkSettings.AdvertisingSettings",()=>[{no:1,name:"frequency",kind:"scalar",T:5},{no:2,name:"images",kind:"message",T:RP,repeated:!0},{no:3,name:"videos",kind:"message",T:IP,repeated:!0}]),LP=T.makeMessageType("streamlayer.sdkSettings.AdvertisingOverlaySettings",()=>[{no:1,name:"overlay_type",kind:"enum",T:T.getEnumType(Rn)},{no:2,name:"settings",kind:"map",K:9,V:{kind:"message",T:NP}},{no:3,name:"enabled",kind:"scalar",T:8},{no:4,name:"overlay_name",kind:"scalar",T:9},{no:5,name:"use_custom",kind:"scalar",T:8,opt:!0}]),LS=T.makeMessageType("streamlayer.sdkSettings.Advertising",()=>[{no:1,name:"template_id",kind:"scalar",T:9},{no:2,name:"overlay_settings",kind:"map",K:9,V:{kind:"message",T:LP}}]);T.makeMessageType("streamlayer.sdkSettings.GenerateApiKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.sdkSettings.GenerateApiKeyResponse",()=>[{no:1,name:"data",kind:"message",T:xP}]);const xP=T.makeMessageType("streamlayer.sdkSettings.GenerateApiKeyResponse.GenerateApiKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GenerateApiKeyResponse_GenerateApiKeyResponseData"});T.makeMessageType("streamlayer.sdkSettings.RemoveApiKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"token",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.sdkSettings.RemoveApiKeyResponse",()=>[{no:1,name:"data",kind:"message",T:OP}]);const OP=T.makeMessageType("streamlayer.sdkSettings.RemoveApiKeyResponse.RemoveApiKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9,repeated:!0}],{localName:"RemoveApiKeyResponse_RemoveApiKeyResponseData"});T.makeMessageType("streamlayer.sdkSettings.GetApiKeyRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.sdkSettings.GetApiKeyResponse",()=>[{no:1,name:"data",kind:"message",T:AP}]);const AP=T.makeMessageType("streamlayer.sdkSettings.GetApiKeyResponse.GetApiKeyResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GetApiKeyResponse_GetApiKeyResponseData"});T.makeMessageType("streamlayer.sdkSettings.GetApiKeyStudioRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.sdkSettings.GetApiKeyStudioResponse",()=>[{no:1,name:"data",kind:"message",T:PP}]);const PP=T.makeMessageType("streamlayer.sdkSettings.GetApiKeyStudioResponse.GetApiKeyStudioResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"scalar",T:9}],{localName:"GetApiKeyStudioResponse_GetApiKeyStudioResponseData"});function MP(n){var r=Object.create(null);return function(i){return r[i]===void 0&&(r[i]=n(i)),r[i]}}var DP=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,q8=MP(function(n){return DP.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91}),UP=function(){const r=Array.prototype.slice.call(arguments).filter(Boolean),i={},u=[];r.forEach(p=>{(p?p.split(" "):[]).forEach(k=>{if(k.startsWith("atm_")){const[,S]=k.split("_");i[S]=k}else u.push(k)})});const c=[];for(const p in i)Object.prototype.hasOwnProperty.call(i,p)&&c.push(i[p]);return c.push(...u),c.join(" ")},zp=UP,FP=n=>n.toUpperCase()===n,jP=n=>r=>n.indexOf(r)===-1,xS=(n,r)=>{const i={};return Object.keys(n).filter(jP(r)).forEach(u=>{i[u]=n[u]}),i};function VP(n,r,i){const u=xS(r,i);if(!n){const c=typeof q8=="function"?{default:q8}:q8;Object.keys(u).forEach(p=>{c.default(p)||delete u[p]})}return u}var BP=(n,r)=>{};function zP(n){let r="";return i=>{const u=(p,m)=>{const{as:k=n,class:S=r}=p,I=i.propsAsIs===void 0?!(typeof k=="string"&&k.indexOf("-")===-1&&!FP(k[0])):i.propsAsIs,E=VP(I,p,["as","class"]);E.ref=m,E.className=i.atomic?zp(i.class,E.className||S):zp(E.className||S,i.class);const{vars:x}=i;if(x){const P={};for(const V in x){const $=x[V],B=$[0],H=$[1]||"",X=typeof B=="function"?B(p):B;BP(X,i.name),P[`--${V}`]=`${X}${H}`}const A=E.style||{},F=Object.keys(A);F.length>0&&F.forEach(V=>{P[V]=A[V]}),E.style=P}return n.__wyw_meta&&n!==k?(E.as=k,ue.createElement(n,E)):ue.createElement(k,E)},c=ue.forwardRef?ue.forwardRef(u):p=>{const m=xS(p,["innerRef"]);return u(m,p.innerRef)};return c.displayName=i.name,c.__wyw_meta={className:i.class||r,extends:n},c}}var U=zP;window.slStore=Object.create(null);var Hk;(function(n){n.ORGANIZATION="ORGANIZATION",n.STREAM="STREAM"})(Hk||(Hk={}));Rn.BETTING+"",Rn.GAMES+"",Rn.PUBLIC_CHAT+"",Rn.TWITTER+"";var Ic;(function(n){n.Ready="ready",n.Suspended="suspended"})(Ic||(Ic={}));const W8=U("div")({name:"LoadingContainer",class:"l1p1hxob",propsAsIs:!1}),OS=({feature:n,sdk:r,children:i,className:u,noWait:c})=>{const p=kn(n.status),m=kn(r.sdkStore.slStreamId);if(!c){if(m!=null&&m.loading)return R.jsx(W8,{className:u,children:"Event is loading..."});if(!(m!=null&&m.data))return R.jsx(W8,{className:u,children:"Event is forbidden..."});if(p!==Ic.Ready)return R.jsx(W8,{className:u,children:"Wait feature..."})}return i},$P=U("div")({name:"SDKContainer",class:"stu11h7",propsAsIs:!1}),AS=U("div")({name:"SDKScrollContainer",class:"s1ucohr1",propsAsIs:!1}),PS=U("div")({name:"SDKContentContainer",class:"s1el4wvm",propsAsIs:!1}),HP=()=>PS,Zg=U(HP())({name:"SDKWhiteContainer",class:"s1oe3036",propsAsIs:!0}),GP=U("div")({name:"TabsContainer",class:"tzk7mst",propsAsIs:!1}),qP=()=>Zg,WP=U(qP())({name:"LeaderboardContainer",class:"lkdzy61",propsAsIs:!0}),QP=()=>Zg,YP=U(QP())({name:"TabsNavContainer",class:"tvdam54",propsAsIs:!0}),KP=U("div")({name:"UserSummaryContainer",class:"u14fk93k",propsAsIs:!1}),Jg={[$e.TWEET]:{label:"Insight",iconName:"icon-insight"},[$e.PROMOTION]:{label:"Insight",iconName:"icon-insight"},[$e.UNSET]:void 0,[$e.FACTOID]:{label:"Insight",iconName:"icon-insight"},[$e.POLL]:{label:"Poll",iconName:"icon-poll"},[$e.TRIVIA]:{label:"Trivia",iconName:"icon-trivia"},[$e.PREDICTION]:{label:"Prediction",iconName:"icon-prediction"}},ZP=n=>J.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{d:"M8 4L16 12L8 20",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),JP=n=>J.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"check"},J.createElement("path",{id:"Vector",d:"M4 13L9 18L20 6",stroke:"#107D57",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),XP=n=>J.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("rect",{width:16,height:16,rx:8,fill:"#CD2525"}),J.createElement("rect",{x:5.5,y:4.66669,width:8.24958,height:1.17851,rx:.589256,transform:"rotate(45 5.5 4.66669)",fill:"white"}),J.createElement("rect",{x:4.66669,y:10.5,width:8.24958,height:1.17851,rx:.589256,transform:"rotate(-45 4.66669 10.5)",fill:"white"})),eM=n=>J.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Frame 3469478"},J.createElement("path",{id:"Vector 4",d:"M1.62695 1.62598L10.3742 10.3745",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}),J.createElement("path",{id:"Vector 5",d:"M1.62695 10.376L10.3742 1.62746",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}))),tM=n=>J.createElement("svg",{width:64,height:65,viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{d:"M43.852 8.90765C40.2818 7.13339 36.2575 6.13574 32.0002 6.13574C17.2726 6.13574 5.3335 18.0748 5.3335 32.8024C5.3335 47.53 17.2726 59.4691 32.0002 59.4691C46.7278 59.4691 58.6668 47.53 58.6668 32.8024C58.6668 31.8009 58.6116 30.8123 58.5041 29.8394M24.0002 30.1357L32.0002 38.1357L58.6668 11.4691",stroke:"#107D57",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round"})),nM=n=>J.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{id:"Selected",fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.6057 5.43441C11.2933 5.12199 10.7868 5.12199 10.4744 5.43441L6.93812 9.97066L5.08382 8.73446C4.7162 8.48938 4.2195 8.58871 3.97442 8.95634C3.72934 9.32396 3.82868 9.82065 4.1963 10.0657L6.5963 11.6657C6.9136 11.8773 7.33609 11.8354 7.60574 11.5658L11.6057 6.56578C11.9182 6.25336 11.9182 5.74683 11.6057 5.43441Z",fill:"#107D57"})),aM=n=>J.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Checkmark"},J.createElement("path",{id:"Selected",fillRule:"evenodd",clipRule:"evenodd",d:"M24 12.002C24 18.6294 18.6274 24.002 12 24.002C5.37258 24.002 0 18.6294 0 12.002C0 5.37454 5.37258 0.00195312 12 0.00195312C18.6274 0.00195312 24 5.37454 24 12.002ZM17.4086 8.15357C16.94 7.68494 16.1802 7.68494 15.7116 8.15357L10.4072 14.9579L7.62573 13.1036C7.07429 12.736 6.32925 12.885 5.96163 13.4365C5.59401 13.9879 5.74301 14.7329 6.29445 15.1006L9.89445 17.5006C10.3704 17.8179 11.0041 17.7551 11.4086 17.3506L17.4086 9.85063C17.8772 9.382 17.8772 8.6222 17.4086 8.15357Z",fill:"#FFFFFF"}))),rM=n=>J.createElement("svg",{width:12,height:20,viewBox:"0 0 12 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{id:"Icon / chevron.left",d:"M0 10C0 10.3818 0.145996 10.7075 0.449219 10.9995L9.20898 19.5684C9.44482 19.8154 9.75928 19.939 10.1187 19.939C10.8486 19.939 11.4214 19.3774 11.4214 18.6362C11.4214 18.2769 11.2754 17.9512 11.0283 17.7041L3.1333 10L11.0283 2.2959C11.2754 2.0376 11.4214 1.71191 11.4214 1.35254C11.4214 0.622559 10.8486 0.0610352 10.1187 0.0610352C9.75928 0.0610352 9.44482 0.18457 9.20898 0.431641L0.449219 9.00049C0.145996 9.29248 0.0112305 9.61816 0 10Z",fill:"white",fillOpacity:.6})),oM=n=>J.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Chevron"},J.createElement("path",{id:"Chevron_2",d:"M6 11.999C6 12.1725 6.03134 12.334 6.09401 12.4837C6.15669 12.6334 6.25428 12.7756 6.3868 12.9103L14.0436 20.6565C14.2648 20.8855 14.5323 21 14.8459 21C15.0607 21 15.2544 20.9475 15.4271 20.8426C15.5998 20.7377 15.7384 20.5965 15.8431 20.4191C15.9477 20.2416 16 20.0425 16 19.8217C16 19.4989 15.8816 19.2134 15.6448 18.9654L8.74183 11.9971L15.6448 5.03271C15.8816 4.78709 16 4.5023 16 4.17834C16 3.95749 15.9477 3.75835 15.8431 3.58091C15.7384 3.40347 15.5998 3.26229 15.4271 3.15738C15.2544 3.05246 15.0607 3 14.8459 3C14.5323 3 14.2648 3.11169 14.0436 3.33508L6.3868 11.0878C6.25551 11.2225 6.15853 11.3644 6.09586 11.5134C6.03318 11.6625 6.00123 11.8244 6 11.999Z",fill:"white"}))),sM=n=>J.createElement("svg",{width:16,height:17,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Chevron"},J.createElement("path",{id:"Chevron_2",d:"M12 8.17222C12 8.28783 11.9781 8.39553 11.9342 8.49533C11.8903 8.59513 11.822 8.68992 11.7292 8.7797L6.36949 13.9439C6.21462 14.0965 6.02742 14.1729 5.80787 14.1729C5.65752 14.1729 5.52191 14.1379 5.40104 14.0679C5.28016 13.998 5.1831 13.9039 5.10986 13.7856C5.03662 13.6673 5 13.5345 5 13.3873C5 13.1721 5.08288 12.9818 5.24863 12.8164L10.0807 8.17095L5.24863 3.52799C5.08288 3.36425 5 3.17439 5 2.95841C5 2.81118 5.03662 2.67842 5.10986 2.56013C5.1831 2.44183 5.28016 2.34771 5.40104 2.27777C5.52191 2.20782 5.65752 2.17285 5.80787 2.17285C6.02742 2.17285 6.21462 2.24731 6.36949 2.39624L11.7292 7.56473C11.8211 7.65451 11.889 7.74909 11.9329 7.84846C11.9768 7.94784 11.9991 8.05576 12 8.17222Z",fill:"#FFFFFF"}))),iM=n=>J.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 -2.43189e-06C18.6274 -2.72158e-06 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 8.1423e-07 18.6274 5.24537e-07 12C2.34843e-07 5.37258 5.37258 -2.14219e-06 12 -2.43189e-06ZM11.9999 22.5883C17.8476 22.5883 22.5881 17.8478 22.5881 12.0001C22.5881 6.15238 17.8476 1.41187 11.9999 1.41187C6.15217 1.41187 1.41166 6.15239 1.41166 12.0001C1.41166 17.8478 6.15217 22.5883 11.9999 22.5883Z",fill:"white"}),J.createElement("path",{d:"M10.8547 7.5429C10.524 7.23657 10.0131 7.23657 9.68243 7.5429C9.31416 7.88401 9.31384 8.46633 9.68174 8.80784L13.1206 12L9.68175 15.1922C9.31384 15.5337 9.31416 16.116 9.68243 16.4571C10.0131 16.7634 10.524 16.7634 10.8547 16.4571L14.9802 12.6358C15.3505 12.2928 15.3505 11.7072 14.9802 11.3642L10.8547 7.5429Z",fill:"white"})),lM=n=>J.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{d:"M1.62695 1.62598L10.3742 10.3745",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}),J.createElement("path",{d:"M1.62695 10.376L10.3742 1.62746",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"})),uM=n=>J.createElement("svg",{width:10,height:10,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Group 465"},J.createElement("rect",{id:"Rectangle 368",x:1.25,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 1.25 0)",fill:"white"}),J.createElement("rect",{id:"Rectangle 369",y:8.75,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 0 8.75)",fill:"white"}))),cM=n=>J.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("rect",{y:.00195312,width:24,height:24,rx:12,fill:"#F80022"}),J.createElement("rect",{x:8.25,y:7.00195,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 8.25 7.00195)",fill:"white"}),J.createElement("rect",{x:7,y:15.752,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 7 15.752)",fill:"white"})),dM=n=>J.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Frame"},J.createElement("path",{id:"Vector",d:"M5.79479 6.80154C5.5243 6.53492 5.11861 6.53492 4.84812 6.80154C4.57768 7.06812 4.57768 7.46803 4.84812 7.73465L7.62043 10.6673C7.75567 10.8006 7.95852 10.8672 8.09376 10.8672C8.29661 10.8672 8.49945 10.8006 8.5671 10.6007L15.1936 2.40258C15.3964 2.13598 15.3964 1.66942 15.0583 1.46947C14.8555 1.26951 14.4498 1.26951 14.1793 1.60277L12.827 3.26904C11.6099 2.06932 9.85181 1.33616 8.09376 1.33616C4.37481 1.33616 1.33203 4.33546 1.33203 8.00128C1.33203 11.6671 4.37481 14.6663 8.09376 14.6663C11.8127 14.6663 14.8555 11.6671 14.8555 8.00128C14.8555 7.40141 14.7879 6.80154 14.5851 6.20168C14.4498 5.86843 14.1117 5.66848 13.7736 5.73514C13.4355 5.80176 13.2327 6.20168 13.3003 6.53492C13.4355 7.0015 13.5031 7.5347 13.5031 8.00128C13.5031 10.9339 11.0689 13.3333 8.09376 13.3333C5.11861 13.3333 2.68438 10.9339 2.68438 8.00128C2.68438 5.06861 5.11861 2.66918 8.09376 2.66918C9.58136 2.66918 10.9337 3.26904 12.0156 4.33546L8.09376 9.20096L5.79479 6.80154Z",fill:"white"}))),fM=n=>J.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{d:"M15.8 22.0002H6C4 22.0002 2.5 20.5002 2.5 18.5002V8.7002C2.5 6.8002 4 5.2002 6 5.2002H15.8C17.7 5.2002 19.3 6.7002 19.3 8.7002V18.5002C19.2 20.5002 17.7 22.0002 15.8 22.0002ZM6 7.3002C5.2 7.3002 4.5 7.9002 4.5 8.7002V18.5002C4.5 19.3002 5.2 20.0002 6 20.0002H15.8C16.6 20.0002 17.3 19.3002 17.3 18.5002V8.7002C17.3 7.9002 16.6 7.2002 15.8 7.2002H6V7.3002Z",fill:"#107D57"}),J.createElement("path",{d:"M21.5016 17.9C20.9016 17.9 20.5016 17.5 20.5016 16.9V6.3C20.5016 5 19.5016 4 18.2016 4H7.60157C7.00156 4 6.60156 3.6 6.60156 3C6.60156 2.4 7.00156 2 7.60157 2H18.2016C20.6016 2 22.5016 3.9 22.5016 6.3V16.9C22.5016 17.5 22.1016 17.9 21.5016 17.9Z",fill:"#107D57"})),mM=n=>J.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"CarbonUserAvatar 1"},J.createElement("g",{id:"Group 232"},J.createElement("path",{id:"Vector",d:"M19.9992 14.2861C19.2928 14.2861 18.6023 14.4956 18.015 14.888C17.4277 15.2805 16.9699 15.8382 16.6996 16.4908C16.4293 17.1434 16.3586 17.8615 16.4964 18.5543C16.6342 19.2471 16.9743 19.8835 17.4738 20.3829C17.9733 20.8824 18.6096 21.2226 19.3024 21.3604C19.9952 21.4982 20.7133 21.4274 21.3659 21.1571C22.0185 20.8868 22.5763 20.4291 22.9687 19.8417C23.3611 19.2544 23.5706 18.5639 23.5706 17.8576C23.5706 16.9104 23.1943 16.002 22.5245 15.3322C21.8548 14.6624 20.9464 14.2861 19.9992 14.2861ZM19.9992 20.0004C19.5753 20.0004 19.161 19.8747 18.8087 19.6393C18.4563 19.4038 18.1816 19.0692 18.0194 18.6776C17.8572 18.286 17.8148 17.8552 17.8975 17.4395C17.9802 17.0238 18.1843 16.642 18.4839 16.3423C18.7836 16.0426 19.1654 15.8386 19.5811 15.7559C19.9968 15.6732 20.4276 15.7156 20.8192 15.8778C21.2108 16.04 21.5454 16.3147 21.7809 16.6671C22.0163 17.0194 22.142 17.4337 22.142 17.8576C22.1415 18.4257 21.9155 18.9704 21.5138 19.3722C21.112 19.7739 20.5673 19.9999 19.9992 20.0004Z",fill:"white"}),J.createElement("path",{id:"Vector_2",d:"M20 10C18.0222 10 16.0888 10.5865 14.4443 11.6853C12.7998 12.7841 11.5181 14.3459 10.7612 16.1732C10.0043 18.0004 9.8063 20.0111 10.1922 21.9509C10.578 23.8907 11.5304 25.6725 12.9289 27.0711C14.3275 28.4696 16.1093 29.422 18.0491 29.8078C19.9889 30.1937 21.9996 29.9957 23.8268 29.2388C25.6541 28.4819 27.2159 27.2002 28.3147 25.5557C29.4135 23.9112 30 21.9778 30 20C29.997 17.3488 28.9424 14.807 27.0677 12.9323C25.193 11.0576 22.6512 10.003 20 10ZM15.7143 27.4121V26.4286C15.7149 25.8604 15.9408 25.3157 16.3425 24.914C16.7443 24.5122 17.289 24.2863 17.8571 24.2857H22.1429C22.711 24.2863 23.2557 24.5122 23.6575 24.914C24.0592 25.3157 24.2851 25.8604 24.2857 26.4286V27.4121C22.9851 28.1716 21.5061 28.5718 20 28.5718C18.4939 28.5718 17.0149 28.1716 15.7143 27.4121ZM25.7086 26.3757C25.6943 25.4388 25.3126 24.545 24.6457 23.8868C23.9787 23.2287 23.0799 22.8589 22.1429 22.8571H17.8571C16.9201 22.8589 16.0213 23.2287 15.3544 23.8868C14.6874 24.545 14.3057 25.4388 14.2914 26.3757C12.9961 25.2191 12.0827 23.6963 11.672 22.009C11.2614 20.3218 11.3729 18.5495 11.9919 16.927C12.6108 15.3046 13.708 13.9083 15.1381 12.9233C16.5682 11.9382 18.2638 11.4107 20.0004 11.4107C21.7369 11.4107 23.4325 11.9382 24.8626 12.9233C26.2927 13.9083 27.3899 15.3046 28.0088 16.927C28.6278 18.5495 28.7393 20.3218 28.3287 22.009C27.9181 23.6963 27.0039 25.2191 25.7086 26.3757Z",fill:"white"})))),pM=n=>J.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("rect",{width:24,height:24,rx:12,fill:"white",fillOpacity:.1}),J.createElement("rect",{x:8.25,y:7,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 8.25 7)",fill:"white"}),J.createElement("rect",{x:7,y:15.75,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 7 15.75)",fill:"white"})),hM=n=>J.createElement("svg",{width:17,height:17,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{d:"M9.16683 2.66671H7.16683C5.29999 2.66671 4.36657 2.66671 3.65353 3.03002C3.02632 3.3496 2.51639 3.85953 2.19681 4.48674C1.8335 5.19978 1.8335 6.1332 1.8335 8.00004V9.33337C1.8335 11.2002 1.8335 12.1336 2.19681 12.8467C2.51639 13.4739 3.02632 13.9838 3.65353 14.3034C4.36657 14.6667 5.29999 14.6667 7.16683 14.6667H8.50016C10.367 14.6667 11.3004 14.6667 12.0135 14.3034C12.6407 13.9838 13.1506 13.4739 13.4702 12.8467C13.8335 12.1336 13.8335 11.2002 13.8335 9.33337V7.33337M8.50016 8.00004L15.1668 1.33337M15.1668 1.33337H11.8335M15.1668 1.33337V4.66671",stroke:"#107D57",strokeLinecap:"round",strokeLinejoin:"round"})),gM=n=>J.createElement("svg",{width:41,height:40,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("rect",{x:.5,width:40,height:40,rx:8,fill:"#F2F2F1"}),J.createElement("path",{d:"M22.49 31.4288V21.0023H25.9898L26.5137 16.939H22.49V14.3446C22.49 13.1682 22.8167 12.3664 24.5039 12.3664L26.6556 12.3654V8.73123C26.2833 8.68189 25.0061 8.57129 23.5202 8.57129C20.4179 8.57129 18.294 10.4648 18.294 13.9424V16.9391H14.7852V21.0024H18.2939V31.4289L22.49 31.4288Z",fill:"#3C5A9A"})),yM=n=>J.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("rect",{width:32,height:32,rx:16,fill:"white"}),J.createElement("path",{d:"M10.4615 12.6875C9.44231 12.6875 8.61538 13.4665 8.61538 14.4266C8.61538 15.3868 9.44231 16.1658 10.4615 16.1658C11.4808 16.1658 12.3077 15.3868 12.3077 14.4266C12.3077 13.4665 11.4808 12.6875 10.4615 12.6875ZM10.4615 16.1658C9.10817 16.1658 8 17.2097 8 18.4846V19.7527C8 19.7527 8.61538 20.2237 10.4615 20.2237C12.3077 20.2237 12.9231 19.7527 12.9231 19.7527V18.4846C12.9231 17.2097 11.8149 16.1658 10.4615 16.1658ZM21.5385 12.6875C20.5192 12.6875 19.6923 13.4665 19.6923 14.4266C19.6923 15.3868 20.5192 16.1658 21.5385 16.1658C22.5577 16.1658 23.3846 15.3868 23.3846 14.4266C23.3846 13.4665 22.5577 12.6875 21.5385 12.6875ZM21.5385 16.1658C20.1851 16.1658 19.0769 17.2097 19.0769 18.4846V19.7527C19.0769 19.7527 19.6923 20.2237 21.5385 20.2237C23.3846 20.2237 24 19.7527 24 19.7527V18.4846C24 17.2097 22.8918 16.1658 21.5385 16.1658ZM16 15.0063C14.9808 15.0063 14.1538 15.7853 14.1538 16.7455C14.1538 17.7056 14.9808 18.4846 16 18.4846C17.0192 18.4846 17.8462 17.7056 17.8462 16.7455C17.8462 15.7853 17.0192 15.0063 16 15.0063ZM16 18.4846C14.6466 18.4846 13.5385 19.5285 13.5385 20.8034V22.0715C13.5385 22.0715 14.1538 22.5425 16 22.5425C17.8462 22.5425 18.4615 22.0715 18.4615 22.0715V20.8034C18.4615 19.5285 17.3534 18.4846 16 18.4846Z",fill:"#107D57"}),J.createElement("path",{opacity:.5,d:"M13.3908 9C12.3103 9 11.4336 9.82584 11.4336 10.8437C11.4336 11.8616 12.3103 12.6875 13.3908 12.6875C14.4713 12.6875 15.348 11.8616 15.348 10.8437C15.348 9.82584 14.4713 9 13.3908 9ZM13.3908 12.6875C13.1946 12.6875 12.9958 12.6827 12.7996 12.7451C13.192 13.2372 13.3908 13.8542 13.3908 14.5312C13.3908 14.7761 13.3296 15.0161 13.3296 15.261C13.8521 14.524 14.6956 14.0391 15.6742 13.9166C15.218 13.1796 14.3694 12.6875 13.3908 12.6875ZM18.61 9C17.5295 9 16.6528 9.82584 16.6528 10.8437C16.6528 11.8616 17.5295 12.6875 18.61 12.6875C19.6905 12.6875 20.5672 11.8616 20.5672 10.8437C20.5672 9.82584 19.6905 9 18.61 9ZM18.61 12.6875C17.6314 12.6875 16.7828 13.1796 16.3266 13.9166C17.3052 14.0391 18.1487 14.524 18.6712 15.261C18.6712 15.0161 18.61 14.7761 18.61 14.5312C18.61 13.8542 18.8088 13.2372 19.2012 12.7451C19.005 12.6827 18.8062 12.6875 18.61 12.6875Z",fill:"#107D57"})),vM=n=>J.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Share"},J.createElement("path",{id:"Vector",d:"M11 4.965V1.125L18 7.845L11 14.565V10.629C6 10.629 2.5 12.165 0 15.525C1 10.725 4 5.925 11 4.965Z",fill:"white"}))),kM=n=>J.createElement("svg",{width:17,height:16,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sc-ANdsN kTVWJE",...n},J.createElement("path",{d:"M6.6665 3.16669H4.99984C4.26346 3.16669 3.6665 3.76364 3.6665 4.50002V11.5C3.6665 12.2364 4.26346 12.8334 4.99984 12.8334H11.9998C12.7362 12.8334 13.3332 12.2364 13.3332 11.5V9.83335",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),J.createElement("path",{d:"M13.3335 6.16669V3.16669H10.3335",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),J.createElement("path",{d:"M13.1668 3.33331L8.3335 8.16665",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),bM=n=>J.createElement("svg",{width:17,height:18,viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Group"},J.createElement("path",{id:"Vector",d:"M12.5396 12.431L15.8603 9.00169L12.5396 5.57239",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),J.createElement("path",{id:"Vector_2",d:"M15.8602 9.00159H5.57227",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),J.createElement("path",{id:"Vector_3",d:"M12.431 1L3.2862 1.00229C2.02422 1.00343 1 2.02651 1 3.28849V14.7138C1 15.3201 1.24087 15.9016 1.66961 16.3304C2.09836 16.7591 2.67987 17 3.2862 17H12.5396",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),TM=n=>J.createElement("svg",{width:99,height:96,viewBox:"0 0 99 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Masters Logo Big"},J.createElement("path",{id:"Vector",d:"M67.4732 4.82378C66.1754 4.41151 64.8776 5.1433 63.5798 5.88539C63.117 6.15337 62.7951 6.60687 62.6844 7.13253L60.6421 16.9035C60.5616 17.2642 60.8836 17.594 61.2357 17.5116C63.3786 17.0065 65.4208 15.0894 67.5738 15.7594C69.9783 16.5118 72.3928 13.3888 74.7972 13.43V2.1543C72.3626 2.1646 69.8776 5.57618 67.4732 4.82378Z",fill:"white"}),J.createElement("path",{id:"Vector_2",d:"M98.1678 34.7754C97.6547 34.4147 97.3429 33.8272 97.3429 33.1882V31.4051C97.3429 29.8075 96.0752 28.5089 94.5159 28.5089H93.3891C92.041 28.5089 90.8035 29.1994 90.0691 30.3538L86.4272 36.1153C86.065 36.6822 85.4514 37.0223 84.7974 37.0223H82.3427C81.1253 37.0223 80.0086 37.7026 79.4251 38.8054C78.8215 39.9392 77.7752 40.7225 76.5679 40.9905V0.917313C76.5679 0.412276 76.1756 0 75.6726 0C75.1796 0 74.7772 0.412276 74.7772 0.917313V2.15414V13.4196V41.0111C73.5699 40.7431 72.5236 39.9598 71.92 38.8261C71.3465 37.7232 70.2298 37.043 69.0125 37.043H67.3626C66.0547 37.043 64.8676 37.8366 64.3344 39.0528L62.9661 42.2067C62.7448 42.7014 62.2619 43.0313 61.7287 43.0313C61.1955 43.0313 60.7126 42.7118 60.4913 42.2067L59.123 39.0528C58.5898 37.8263 57.4027 37.0327 56.0948 37.0327H9.52479C9.14249 37.0327 8.84068 37.3419 8.84068 37.7335C8.84068 38.5478 8.18674 39.2177 7.39196 39.2177H5.37986C4.99757 39.2177 4.69575 39.5269 4.69575 39.9186V42.3098C4.69575 44.5567 4.26315 46.7624 3.42813 48.834L2.20075 51.8643C1.05385 54.6884 0.510584 57.5846 0.520645 60.4396V67.4071C0.520645 69.2932 0.782218 71.1897 1.31542 73.0449C2.81444 78.2396 6.20483 82.4963 10.893 85.0215L18.3378 89.0412C18.4384 89.0928 18.539 89.1237 18.6497 89.1237L24.1528 89.1649C25.4405 89.1752 26.7081 89.5153 27.8248 90.1544L30.7826 91.8447C30.8832 91.9065 30.9939 91.9375 31.1146 91.9375H35.0684C36.4567 91.9375 37.825 92.3291 39.0121 93.0609C39.0121 93.0609 40.9437 94.2668 41.5977 94.6585C42.6439 95.2872 43.9116 95.885 46.1148 95.9984C46.6178 96.019 47.1108 95.8438 47.483 95.483C47.8553 95.1223 48.0666 94.6172 48.0666 94.0916V91.3809C48.0666 89.4123 49.2034 87.6292 50.964 86.8355L57.0003 84.1145C57.8252 83.7435 58.7508 83.6816 59.6059 83.9496L61.8595 84.6402C62.8152 84.9288 63.8313 84.9391 64.7972 84.6402L70.1493 83.0117C70.8636 82.7952 71.6081 82.7952 72.3325 83.022L74.5055 83.6507C75.5216 83.9496 76.2259 84.8979 76.2259 85.9801V91.4118C76.2259 93.937 78.238 95.9984 80.7028 95.9984C82.5439 95.9984 84.1636 94.7822 84.7169 92.9888C85.723 89.7421 86.2361 86.3614 86.2361 82.9499V80.6411C86.2361 79.0023 86.9001 77.415 88.0671 76.2916L90.2905 74.1375C91.7895 72.6739 92.6547 70.6228 92.6547 68.4996V55.616C92.6547 53.6164 93.2382 51.6994 94.3549 50.0606C94.4354 49.9472 94.4756 49.8029 94.4756 49.6586V46.6284C94.4756 44.6494 95.0591 42.7324 96.1557 41.1039L98.359 37.8263C98.4395 37.7129 98.4797 37.5686 98.4797 37.4346V35.3732C98.4797 34.9713 98.2584 34.8373 98.1678 34.7754ZM74.7872 69.2211C73.2882 68.9943 72.1816 68.2007 72.1816 67.2628C72.1816 66.3248 73.2882 65.5312 74.7872 65.3045V69.2211ZM76.5679 65.2941C78.0669 65.5209 79.1736 66.3145 79.1736 67.2525C79.1736 68.1904 78.0669 68.984 76.5679 69.2108V65.2941ZM12.6637 84.3928L11.5268 83.7847C8.45838 82.1356 6.00362 79.6619 4.32351 76.673V72.9109C6.24507 75.7556 8.85074 78.1881 12.05 79.9093L12.6637 80.2391V84.3928ZM18.3478 87.4643L15.3398 85.8461V81.6924L18.3378 83.3106H18.3478V87.4643ZM30.8832 90.2987L28.4989 88.9382C27.2011 88.1961 25.7322 87.7941 24.2534 87.7735V83.4343C25.5009 83.4652 26.7383 83.795 27.8349 84.4237L30.7927 86.1141C30.8229 86.1347 30.853 86.1244 30.8832 86.1347V90.2987ZM46.6983 91.3706V93.4835V94.0813C46.6983 94.2256 46.638 94.3596 46.5474 94.4523C46.4468 94.5451 46.3261 94.5966 46.1953 94.5863C44.2939 94.4833 43.1973 93.9782 42.3019 93.432C41.658 93.0403 39.7365 91.8447 39.7264 91.8447C38.5191 91.1026 37.161 90.68 35.7626 90.577V86.2377C36.9095 86.3408 38.0262 86.7016 39.0222 87.3097L40.6821 88.33C42.5031 89.4535 44.5756 90.0925 46.6983 90.2059V91.3706ZM63.1372 83.4446C62.8354 83.424 62.5436 83.3827 62.2519 83.3003L59.9983 82.6097C59.5154 82.4654 59.0124 82.4036 58.5194 82.4036V78.0644C58.8816 78.0644 59.2538 78.1056 59.6059 78.2087L61.8595 78.8992C62.272 79.0229 62.7046 79.0848 63.1372 79.1054V83.4446ZM77.2923 84.4959C76.8597 83.4549 75.9945 82.62 74.8878 82.3005L72.7248 81.6718C72.2117 81.5069 71.6785 81.445 71.1453 81.4554V77.1265C71.5578 77.1161 71.9703 77.1677 72.3727 77.3017L74.1534 77.8789C76.0347 78.487 77.3024 80.2494 77.3024 82.2696V84.4959H77.2923ZM83.5197 92.1848C83.4795 92.3085 83.4594 92.4322 83.4191 92.5559C83.0368 93.7721 81.9503 94.5863 80.7028 94.5863C80.5921 94.5863 80.4815 94.5657 80.3708 94.5554V90.2265C80.4513 90.2368 80.5318 90.2471 80.6223 90.2471C81.8396 90.2471 82.9362 89.5463 83.5197 88.495V92.1848ZM95.1799 38.0118C93.8217 40.032 93.1074 42.4025 93.1074 44.8556V46.9994L92.051 48.5661C90.6828 50.5965 89.9484 52.9774 89.9484 55.4408V66.2218C89.9484 67.9739 89.2442 69.6643 88.0067 70.8702L85.7834 73.0346C84.2944 74.4879 83.4694 76.539 83.5298 78.6519L83.5399 79.1363C83.6203 81.9398 83.2682 84.7226 82.5137 87.4127C82.2722 88.2682 81.4976 88.866 80.6223 88.866C79.5358 88.866 78.6605 87.959 78.6605 86.8562V82.2696C78.6605 79.631 77.0106 77.3326 74.5558 76.539L72.7751 75.9618C71.7892 75.6423 70.753 75.6423 69.767 75.9412L64.4149 77.5697C63.7106 77.7861 62.9661 77.7861 62.2519 77.5697L59.9983 76.8791C58.8313 76.5183 57.5637 76.6008 56.4469 77.1058L51.6883 79.2497C48.6501 80.6102 46.6883 83.6919 46.6883 87.0932V88.8454C44.817 88.732 42.986 88.1548 41.3763 87.1654L39.7163 86.145C38.3079 85.2792 36.7083 84.8257 35.0684 84.8257H31.3058L28.5089 83.2281C27.191 82.4757 25.692 82.0635 24.1729 82.0532L18.8307 82.0119L12.6938 78.7034C3.38789 73.653 -0.58601 62.367 3.45831 52.4208L4.68569 49.3906C5.6012 47.1437 6.06398 44.7628 6.06398 42.3304V40.6401H7.39196C8.70989 40.6401 9.81654 39.7021 10.1284 38.455H56.0948C56.8594 38.455 57.5637 38.9188 57.8755 39.6403L59.2438 42.7942C59.6764 43.8043 60.6522 44.4536 61.7287 44.4536C62.8052 44.4536 63.781 43.8043 64.2136 42.8045L65.5819 39.6506C65.8938 38.9291 66.5879 38.4653 67.3626 38.4653H69.0125C69.7268 38.4653 70.3807 38.8673 70.7228 39.5063C71.5679 41.1039 73.0769 42.1758 74.7872 42.4541V62.2639C72.0307 62.5731 69.918 64.2532 69.918 66.3042C69.918 68.5614 72.4934 70.3961 75.6726 70.3961C78.8517 70.3961 81.4272 68.5614 81.4272 66.3042C81.4272 64.2635 79.3145 62.5731 76.5579 62.2639V42.4438C78.2682 42.1655 79.7772 41.0936 80.6223 39.496C80.9644 38.857 81.6183 38.455 82.3326 38.455H84.7874C85.9141 38.455 86.9504 37.8778 87.5641 36.909L91.206 31.1371C91.6889 30.3847 92.4937 29.9312 93.379 29.9312H94.5058C95.3106 29.9312 95.9646 30.6012 95.9646 31.4257V33.2088C95.9646 34.0746 96.2865 34.8888 96.86 35.4969L95.1799 38.0118Z",fill:"white"}))),SM=n=>J.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("circle",{opacity:.5,cx:24,cy:24.001,r:24,fill:"black"}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.5432 24.7938C33.215 24.3331 33.2822 23.5173 32.5432 23.0567C23.7807 17.6245 19.6442 14.918 19.1356 14.5917C18.3486 14.083 17.6 14.6973 17.6 15.2059V32.7501C17.6 33.3259 18.5309 33.8442 19.1356 33.4795C20.2201 32.8172 31.8714 25.2641 32.5336 24.8034L32.5432 24.7938Z",fill:"white"})),wM=n=>J.createElement("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{id:"Start - You",d:"M8 0L9.79611 5.52786H15.6085L10.9062 8.94427L12.7023 14.4721L8 11.0557L3.29772 14.4721L5.09383 8.94427L0.391548 5.52786H6.20389L8 0Z",fill:"#F4D22A"})),EM=n=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:22,height:22,viewBox:"0 0 22 22",fill:"none",...n},J.createElement("path",{d:"M5.5 2.78867V12.4137C5.5 13.1729 4.88426 13.75 4.125 13.75H1.375C0.615742 13.75 0 13.1343 0 12.4137V2.82734C0 2.06808 0.615742 1.49102 1.375 1.49102H4.125C4.88555 1.41367 5.5 1.99375 5.5 2.78867ZM22 12.3707C22 13.5094 21.077 14.4323 19.9375 14.4323H13.6426C14.621 16.0613 15.1259 17.9077 15.1259 18.5582C15.125 19.5714 14.3301 20.625 12.998 20.625C10.2854 20.625 11.8654 17.3529 8.34883 14.5406L7.64844 13.982C7.14141 13.5738 6.88359 12.9766 6.8793 12.375C6.87829 12.374 6.8793 12.375 6.8793 12.375L6.875 5.5C6.875 4.85117 7.18064 4.23973 7.7 3.85043L9.16695 2.75086C10.3555 1.85625 11.8035 1.375 13.2902 1.375H15.8125C16.952 1.375 17.875 2.29754 17.875 3.43664C17.875 3.59283 17.8544 3.74357 17.8215 3.88996C18.6484 4.15937 19.25 4.92422 19.25 5.84375C19.25 6.23683 19.1341 6.60043 18.9432 6.91281C19.8988 7.08984 20.625 7.92773 20.625 8.9332C20.625 9.47031 20.4148 9.955 20.0784 10.322C21.1492 10.3941 22 11.2793 22 12.3707Z",fill:"white"})),CM=n=>J.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{d:"M17.4777 8.95762C17.4777 8.70612 17.4177 8.47012 17.3172 8.25562C16.6467 6.09262 13.5077 6.25062 9.04275 6.14512C8.29625 6.12762 8.72325 5.24612 8.98525 3.31112C9.15575 2.05262 8.34425 0.120117 6.98025 0.120117C4.73125 0.120117 6.89475 1.89412 4.90625 6.28112C3.84375 8.62512 1.46875 7.31212 1.46875 9.66662V15.0261C1.46875 15.9426 1.55875 16.8236 2.84775 16.9686C4.09725 17.1091 3.81625 17.9996 5.61875 17.9996H14.6407C15.5597 17.9996 16.3072 17.2516 16.3072 16.3326C16.3072 15.9516 16.1737 15.6046 15.9582 15.3236C16.4682 15.0381 16.8182 14.4991 16.8182 13.8741C16.8182 13.4941 16.6852 13.1471 16.4702 12.8666C16.9817 12.5816 17.3327 12.0421 17.3327 11.4161C17.3327 10.9616 17.1487 10.5496 16.8522 10.2481C17.2307 9.94262 17.4777 9.48062 17.4777 8.95762Z",fill:"white"}),J.createElement("path",{d:"M11.5088 10.625H15.8108C16.3958 10.625 16.9448 10.312 17.2438 9.80849C17.3668 9.60099 17.2983 9.33249 17.0903 9.20899C16.8828 9.08549 16.6143 9.15499 16.4908 9.36249C16.3493 9.60199 16.0878 9.74999 15.8103 9.74999H11.4053C10.9688 9.74999 10.6138 9.39499 10.6138 8.95849C10.6138 8.52199 10.9688 8.16699 11.4053 8.16699H14.3488C14.5903 8.16699 14.7863 7.97099 14.7863 7.72949C14.7863 7.48799 14.5903 7.29199 14.3488 7.29199H11.4048C10.4858 7.29199 9.73828 8.03949 9.73828 8.95849C9.73828 9.47099 9.97578 9.92449 10.3408 10.2305C10.0333 10.533 9.84178 10.953 9.84178 11.417C9.84178 11.931 10.0808 12.386 10.4478 12.6915C10.1423 12.9935 9.95278 13.412 9.95278 13.875C9.95278 14.435 10.2323 14.929 10.6573 15.2315C10.3953 15.526 10.2313 15.9095 10.2313 16.3335C10.2313 17.2525 10.9788 18 11.8978 18H14.6398C15.2248 18 15.7743 17.6875 16.0733 17.184C16.1968 16.9765 16.1283 16.708 15.9208 16.5845C15.7128 16.462 15.4443 16.5295 15.3213 16.737C15.1788 16.9765 14.9173 17.125 14.6398 17.125H11.8978C11.4613 17.125 11.1063 16.77 11.1063 16.3335C11.1063 15.897 11.4613 15.542 11.8978 15.542H15.1508C15.7358 15.542 16.2858 15.229 16.5843 14.7255C16.7078 14.5175 16.6393 14.249 16.4318 14.126C16.2223 14.0005 15.9548 14.071 15.8323 14.2785C15.6878 14.522 15.4328 14.667 15.1508 14.667H11.6193C11.1828 14.667 10.8278 14.3115 10.8278 13.875C10.8278 13.4385 11.1828 13.0835 11.6193 13.0835H15.6648C16.2498 13.0835 16.7993 12.771 17.0983 12.2675C17.2218 12.06 17.1533 11.7915 16.9458 11.668C16.7373 11.545 16.4693 11.613 16.3463 11.8205C16.2018 12.0635 15.9468 12.2085 15.6648 12.2085H11.5088C11.0723 12.2085 10.7173 11.8535 10.7173 11.417C10.7173 10.9805 11.0718 10.625 11.5088 10.625Z",fill:"#107D57"})),_M=n=>J.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Trophy"},J.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M2.76916 3.50002C2.76916 4.49786 2.94705 5.38348 3.30282 6.15692C2.62493 6.01847 2.05883 5.74872 1.6045 5.34768C1.15017 4.94663 0.923008 4.55992 0.923008 4.18752V3.50002H2.76916ZM11.0768 3.50002V4.18752C11.0768 4.55992 10.8497 4.94663 10.3953 5.34768C9.941 5.74872 9.3749 6.01847 8.69701 6.15692C9.05278 5.38348 9.23066 4.49786 9.23066 3.50002H11.0768ZM12 4.1875V3.27083C12 3.07986 11.9327 2.91754 11.7981 2.78385C11.6635 2.65017 11.5 2.58333 11.3077 2.58333H9.23077V1.89583C9.23077 1.58073 9.11779 1.31098 8.89183 1.08659C8.66586 0.862195 8.39423 0.75 8.07692 0.75H3.92308C3.60577 0.75 3.33414 0.862195 3.10817 1.08659C2.88221 1.31098 2.76923 1.58073 2.76923 1.89583V2.58333H0.692308C0.499999 2.58333 0.336539 2.65017 0.201923 2.78385C0.067307 2.91754 0 3.07986 0 3.27083V4.1875C0 4.52648 0.0997586 4.86784 0.299279 5.21159C0.498799 5.55534 0.768027 5.86567 1.10697 6.14258C1.44592 6.41949 1.86178 6.65223 2.35457 6.84082C2.84736 7.02941 3.36538 7.13563 3.90865 7.15951C4.11058 7.41732 4.33894 7.6441 4.59375 7.83984C4.77644 8.00217 4.90264 8.17524 4.97236 8.35905C5.04207 8.54286 5.07692 8.75651 5.07692 9C5.07692 9.25781 5.00361 9.47504 4.85697 9.65169C4.71034 9.82834 4.47596 9.91667 4.15385 9.91667C3.79327 9.91667 3.47236 10.0253 3.19111 10.2425C2.90985 10.4597 2.76923 10.7331 2.76923 11.0625V11.5208C2.76923 11.5877 2.79087 11.6426 2.83413 11.6855C2.8774 11.7285 2.93269 11.75 3 11.75H9C9.06731 11.75 9.1226 11.7285 9.16586 11.6855C9.20913 11.6426 9.23077 11.5877 9.23077 11.5208V11.0625C9.23077 10.7331 9.09015 10.4597 8.80889 10.2425C8.52764 10.0253 8.20673 9.91667 7.84615 9.91667C7.52404 9.91667 7.28966 9.82834 7.14303 9.65169C6.99639 9.47504 6.92308 9.25781 6.92308 9C6.92308 8.75651 6.95793 8.54286 7.02764 8.35905C7.09736 8.17524 7.22356 8.00217 7.40625 7.83984C7.66106 7.6441 7.88942 7.41732 8.09135 7.15951C8.63462 7.13563 9.15264 7.02941 9.64543 6.84082C10.1382 6.65223 10.5541 6.41949 10.893 6.14258C11.232 5.86567 11.5012 5.55534 11.7007 5.21159C11.9002 4.86784 12 4.52648 12 4.1875ZM5.07033 5.38491L6.0383 4.87503L7.00627 5.38491L6.8214 4.30497L7.60451 3.54016L6.52228 3.3826L6.0383 2.40003L5.55431 3.3826L4.47209 3.54016L5.25519 4.30497L5.07033 5.38491Z",fill:"white"}))),RM=n=>J.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Trophy"},J.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M3.69197 4.66662C3.69197 5.99705 3.92914 7.17787 4.4035 8.20912C3.49966 8.02451 2.74487 7.66486 2.1391 7.13014C1.53333 6.59542 1.23046 6.0798 1.23046 5.58328V4.66662H3.69197ZM14.7686 4.66662V5.58328C14.7686 6.0798 14.4658 6.59542 13.86 7.13014C13.2542 7.66486 12.4994 8.02451 11.5956 8.20912C12.0699 7.17787 12.3071 5.99705 12.3071 4.66662H14.7686ZM15.9998 5.58329V4.36108C15.9998 4.10645 15.9101 3.89002 15.7306 3.71178C15.5511 3.53354 15.3332 3.44442 15.0768 3.44442H12.3076V2.52776C12.3076 2.10763 12.1569 1.74797 11.8556 1.44878C11.5544 1.14959 11.1922 1 10.7691 1H5.23072C4.80764 1 4.44547 1.14959 4.14419 1.44878C3.84291 1.74797 3.69227 2.10763 3.69227 2.52776V3.44442H0.923068C0.666659 3.44442 0.448714 3.53354 0.269228 3.71178C0.0897418 3.89002 0 4.10645 0 4.36108V5.58329C0 6.03525 0.13301 6.49039 0.399034 6.94872C0.665059 7.40705 1.02403 7.82082 1.47595 8.19003C1.92787 8.55924 2.48234 8.86957 3.13939 9.12101C3.79644 9.37246 4.48713 9.51409 5.21149 9.54592C5.48071 9.88967 5.7852 10.192 6.12494 10.453C6.36853 10.6695 6.53679 10.9002 6.62974 11.1453C6.72269 11.3904 6.76916 11.6752 6.76916 11.9999C6.76916 12.3436 6.67141 12.6333 6.4759 12.8688C6.28038 13.1043 5.96789 13.2221 5.53841 13.2221C5.05764 13.2221 4.62976 13.3669 4.25476 13.6566C3.87977 13.9462 3.69227 14.3106 3.69227 14.7499V15.361C3.69227 15.4501 3.72112 15.5233 3.77881 15.5806C3.8365 15.6379 3.91022 15.6665 3.99996 15.6665H11.9999C12.0896 15.6665 12.1633 15.6379 12.221 15.5806C12.2787 15.5233 12.3076 15.4501 12.3076 15.361V14.7499C12.3076 14.3106 12.1201 13.9462 11.7451 13.6566C11.3701 13.3669 10.9422 13.2221 10.4614 13.2221C10.0319 13.2221 9.71945 13.1043 9.52394 12.8688C9.32843 12.6333 9.23068 12.3436 9.23068 11.9999C9.23068 11.6752 9.27715 11.3904 9.3701 11.1453C9.46305 10.9002 9.63131 10.6695 9.8749 10.453C10.2146 10.192 10.5191 9.88967 10.7884 9.54592C11.5127 9.51409 12.2034 9.37246 12.8604 9.12101C13.5175 8.86957 14.072 8.55924 14.5239 8.19003C14.9758 7.82082 15.3348 7.40705 15.6008 6.94872C15.8668 6.49039 15.9998 6.03525 15.9998 5.58329ZM6.76047 7.1798L8.05109 6.49997L9.3417 7.1798L9.09521 5.73989L10.1393 4.72015L8.69639 4.51007L8.05109 3.2L7.40578 4.51007L5.96283 4.72015L7.00696 5.73989L6.76047 7.1798Z",fill:"#F2C94C"}))),IM=n=>J.createElement("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9234 2.06117C12.6527 2.79041 12.797 3.88306 12.3564 4.75616L12.3698 4.78833C13.2984 5.09432 13.9688 5.96888 13.9688 7C13.9688 8.03112 13.2984 8.90568 12.3698 9.21167L12.3565 9.24364C12.7971 10.1167 12.6527 11.2094 11.9235 11.9386C11.1944 12.6678 10.1019 12.8122 9.22883 12.3718L9.19604 12.3854C8.89006 13.314 8.0155 13.9844 6.98438 13.9844C5.95325 13.9844 5.07869 13.314 4.77271 12.3854L4.74027 12.3719C3.8673 12.8121 2.77506 12.6676 2.04603 11.9386C1.31703 11.2096 1.17255 10.1174 1.61259 9.24445L1.59899 9.21167C0.670333 8.90568 0 8.03112 0 7C0 5.96888 0.670334 5.09432 1.59899 4.78833L1.61267 4.75535C1.17263 3.8824 1.31711 2.79023 2.04611 2.06123C2.77519 1.33215 3.86754 1.18772 4.74054 1.62795L4.77271 1.61461C5.07869 0.685958 5.95325 0.015625 6.98438 0.015625C8.0155 0.015625 8.89006 0.685958 9.19604 1.61461L9.22857 1.6281C10.1016 1.18761 11.1942 1.33196 11.9234 2.06117ZM9.80606 4.98029C9.97643 4.7077 9.89356 4.34862 9.62098 4.17825C9.34839 4.00788 8.98931 4.09075 8.81894 4.36333L6.29655 8.39915L5.06781 7.17041C4.84051 6.94311 4.47199 6.94311 4.24469 7.17041C4.01739 7.39771 4.01739 7.76623 4.24469 7.99353L5.99079 9.73962C6.11621 9.86504 6.29197 9.92642 6.4682 9.90635C6.64444 9.88628 6.8019 9.78695 6.89591 9.63654L9.80606 4.98029Z",fill:"#0092E9"})),NM=n=>J.createElement("svg",{width:41,height:40,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("rect",{x:.5,width:40,height:40,rx:8,fill:"#F2F2F1"}),J.createElement("path",{d:"M11.0631 10.8037L18.5858 20.8464L11.0156 29.0115H12.7194L19.3471 21.8628L24.7021 29.0115H30.5L22.554 18.4039L29.6003 10.8037H27.8966L21.7928 17.3875L16.8611 10.8037H11.0631ZM13.5686 12.0567H16.2322L27.9941 27.7583H25.3305L13.5686 12.0567Z",fill:"black"})),LM=n=>J.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Chevron Up"},J.createElement("path",{id:"Vector",d:"M4 9.6001L8 5.6001L12 9.6001",stroke:"#107D57",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}))),xM=n=>J.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"cross"},J.createElement("path",{id:"Vector",d:"M6 18L18 6M6 6L18 18",stroke:"#BA0C2F",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),OM=n=>J.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Friends"},J.createElement("path",{id:"Vector",d:"M4.19231 7.03125C2.66346 7.03125 1.42308 8.19973 1.42308 9.63994C1.42308 11.0802 2.66346 12.2486 4.19231 12.2486C5.72115 12.2486 6.96154 11.0802 6.96154 9.63994C6.96154 8.19973 5.72115 7.03125 4.19231 7.03125ZM4.19231 12.2486C2.16226 12.2486 0.5 13.8145 0.5 15.7269V17.629C0.5 17.629 1.42308 18.3356 4.19231 18.3356C6.96154 18.3356 7.88461 17.629 7.88461 17.629V15.7269C7.88461 13.8145 6.22236 12.2486 4.19231 12.2486ZM20.8077 7.03125C19.2788 7.03125 18.0385 8.19973 18.0385 9.63994C18.0385 11.0802 19.2788 12.2486 20.8077 12.2486C22.3365 12.2486 23.5769 11.0802 23.5769 9.63994C23.5769 8.19973 22.3365 7.03125 20.8077 7.03125ZM20.8077 12.2486C18.7776 12.2486 17.1154 13.8145 17.1154 15.7269V17.629C17.1154 17.629 18.0385 18.3356 20.8077 18.3356C23.5769 18.3356 24.5 17.629 24.5 17.629V15.7269C24.5 13.8145 22.8377 12.2486 20.8077 12.2486ZM12.5 10.5095C10.9712 10.5095 9.73077 11.678 9.73077 13.1182C9.73077 14.5584 10.9712 15.7269 12.5 15.7269C14.0288 15.7269 15.2692 14.5584 15.2692 13.1182C15.2692 11.678 14.0288 10.5095 12.5 10.5095ZM12.5 15.7269C10.47 15.7269 8.80769 17.2928 8.80769 19.2051V21.1073C8.80769 21.1073 9.73077 21.8138 12.5 21.8138C15.2692 21.8138 16.1923 21.1073 16.1923 21.1073V19.2051C16.1923 17.2928 14.53 15.7269 12.5 15.7269Z",fill:"white"}),J.createElement("path",{id:"Vector_2",d:"M8.58473 1.5C6.96392 1.5 5.64893 2.73876 5.64893 4.2656C5.64893 5.79245 6.96392 7.03121 8.58473 7.03121C10.2055 7.03121 11.5205 5.79245 11.5205 4.2656C11.5205 2.73876 10.2055 1.5 8.58473 1.5ZM8.58473 7.03121C8.29038 7.03121 7.99221 7.024 7.69787 7.11763C8.28656 7.85584 8.58473 8.78131 8.58473 9.79681C8.58473 10.1641 8.49298 10.5242 8.49298 10.8915C9.27663 9.78601 10.5419 9.05859 12.0098 8.87494C11.3256 7.76942 10.0526 7.03121 8.58473 7.03121ZM16.4135 1.5C14.7927 1.5 13.4777 2.73876 13.4777 4.2656C13.4777 5.79245 14.7927 7.03121 16.4135 7.03121C18.0343 7.03121 19.3493 5.79245 19.3493 4.2656C19.3493 2.73876 18.0343 1.5 16.4135 1.5ZM16.4135 7.03121C14.9456 7.03121 13.6727 7.76942 12.9884 8.87494C14.4563 9.05859 15.7216 9.78601 16.5053 10.8915C16.5053 10.5242 16.4135 10.1641 16.4135 9.79681C16.4135 8.78131 16.7117 7.85584 17.3004 7.11763C17.006 7.024 16.7079 7.03121 16.4135 7.03121Z",fill:"white",fillOpacity:.4}))),AM=n=>J.createElement("svg",{width:86,height:21,viewBox:"0 0 86 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{d:"M39.7699 17.519L41.7975 10.3564C42.019 9.57525 42.5964 8.94819 43.3515 8.66775L43.4069 8.43457H40.5888L35.8028 14.1928L33.9712 8.43457H31.393L31.3309 8.66775C31.7723 8.88885 32.0156 9.54952 32.0156 10.087V10.1204C32.0156 13.1879 29.7696 18.4607 26.6104 18.4607C25.3827 18.4607 24.7463 17.5842 24.7463 16.8536C24.7463 15.9687 25.4791 15.3393 26.2522 15.3393C26.6778 15.3393 26.8988 15.4303 27.0895 15.5088C27.2342 15.5684 27.3615 15.6208 27.5475 15.6208C27.8106 15.6208 28.0628 15.4845 28.1888 15.2511C28.3867 14.8845 28.2367 14.4368 27.8748 14.2614L27.6773 14.1661C25.8352 13.2706 23.6992 14.6266 23.6992 16.6919V16.7205C23.6992 18.2238 24.8674 19.4811 26.3546 19.5336C30.1873 19.6694 32.751 14.4452 33.1588 10.6214L33.4534 11.656L34.9632 16.2284H35.5351L40.2511 10.5434L38.2726 17.5264C38.0457 18.3275 37.4171 18.948 36.6191 19.1592L36.5637 19.3923H40.3559L40.4177 19.1592C39.8575 18.8252 39.5911 18.1508 39.7699 17.519Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.2539 12.3311C47.4839 12.3332 45.5808 12.5062 44.568 15.4136C44.443 15.7724 44.3314 16.1004 44.2299 16.3988C43.6403 18.1314 43.3898 18.8676 42.8227 18.8676C42.6317 18.8676 42.5473 18.6987 42.4545 18.5128C42.3409 18.2851 42.2145 18.0318 41.8638 18.0318C41.5768 18.0318 41.2768 18.2645 41.2552 18.6014C41.2175 19.1835 41.9922 19.5357 42.576 19.5357C44.3546 19.5357 45.0362 18.2246 45.2587 17.6138C45.2876 17.534 45.4446 17.1017 45.6299 16.5923H47.499L47.1824 17.7708C47.0152 18.3926 46.6713 18.9015 46.0895 19.1617L46.0394 19.3947H49.0969L49.1536 19.1617C48.7397 18.8167 48.5601 18.2634 48.6943 17.7482L49.8448 13.3292C49.9332 12.9901 50.1656 12.7105 50.4806 12.5642L50.5306 12.3311H49.2539ZM47.6519 16.0223H45.8369C46.043 15.4562 46.2403 14.9158 46.3069 14.7388C46.766 13.5136 47.6389 13.0178 48.4845 12.9485L48.4757 12.9558L47.6519 16.0223Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),J.createElement("path",{d:"M64.9086 12.2791C64.9086 12.4194 64.8148 12.6704 64.7165 12.8348C64.487 13.2187 64.077 13.5109 63.6767 13.6265L63.4976 13.678C63 13.8213 62.489 13.794 61.9847 13.6879L60.8352 17.7483C60.6891 18.2633 60.8565 18.8168 61.2623 19.1616L61.2001 19.395H58.0542L58.1098 19.1616C58.6973 18.9016 59.1413 18.3925 59.3228 17.7712L60.6376 13.2639C59.4267 12.8561 59.1564 12.8823 58.8962 13.2526C58.7642 13.4721 58.7796 13.7795 58.7931 14.0483C58.7962 14.1086 58.7991 14.1673 58.8003 14.2223C58.8062 14.5193 58.6037 14.7795 58.316 14.842C57.9611 14.9189 57.6305 14.6359 57.6492 14.2698V14.2688C57.6508 14.2386 57.6651 14.1553 57.6846 14.0529C57.8161 13.356 58.2541 12.7534 58.8816 12.4351L58.892 12.4299L58.8972 12.4272C59.5396 12.1051 60.5191 12.3038 61.3075 12.5205C61.3166 12.5234 61.3246 12.5252 61.3335 12.5276C61.5009 12.574 61.6597 12.6208 61.8043 12.6636V12.6662C63.3842 13.1244 63.7271 13.1473 63.9416 12.8802C64.0349 12.7644 64.0788 12.527 64.0755 12.3059C64.0716 12.0932 64.2202 11.9086 64.4259 11.8637C64.6827 11.8078 64.9221 12.0139 64.9086 12.2791Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),J.createElement("path",{d:"M65.9742 12.3311L65.9123 12.5645C66.302 12.8363 66.4774 13.327 66.3516 13.7863L65.1826 17.7661C65.0012 18.3879 64.5572 18.8968 63.9697 19.1568L63.9141 19.3899H69.5602L70.0661 17.524H69.8285L69.7432 17.7028C69.4261 18.3695 68.758 18.7939 68.0255 18.7939H66.4015L67.2661 15.6704L67.956 15.6696C68.4214 15.6693 68.7712 16.0981 68.6821 16.5592H68.9197L69.4872 14.448H69.2496C69.112 14.8385 68.7468 15.0995 68.3361 15.0998L67.4239 15.1008L68.0239 12.9329L69.745 12.9316C70.3068 12.9311 70.7274 13.4515 70.6151 14.0077H70.8527L71.3034 12.3311H65.9742Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.9481 12.334H76.7502C77.7432 12.334 78.4622 13.2914 78.195 14.2577C77.9634 15.0938 77.2093 15.6717 76.3501 15.6723L75.871 15.6725C76.1731 15.6725 76.4653 15.8923 76.5235 16.1297C76.6323 16.575 76.8508 17.403 76.9765 17.8796L76.9891 17.9274C77.1191 18.4223 77.4099 18.7968 77.8116 19.0376L78.0151 19.1594L77.9597 19.3929H76.5378C75.969 19.3929 75.7192 19.0153 75.5289 18.3677C75.3836 17.8722 75.2017 16.4314 75.1884 16.3138C75.1484 15.9493 74.8437 15.6736 74.4808 15.6733H74.2406L73.6643 17.7456C73.5187 18.2606 73.6859 18.8141 74.0917 19.1589L74.0295 19.3926H70.8867L70.9421 19.1589C71.5298 18.8989 71.9736 18.39 72.155 17.7682L73.3456 13.7013C73.4277 13.2683 73.251 12.8216 72.886 12.5672L72.9481 12.334ZM75.395 15.1028C76.0496 15.1028 76.6259 14.6685 76.8136 14.0354C76.9763 13.4866 76.5692 12.9344 76.0015 12.9346L75.0017 12.9352L74.3984 15.1036L75.395 15.1028Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),J.createElement("path",{d:"M55.8673 12.6932C55.7651 12.6932 55.5452 12.6228 55.2078 12.481C54.8701 12.3392 54.529 12.2686 54.1851 12.2686C53.4713 12.2686 52.8755 12.502 52.3883 13.0009C51.9828 13.4161 51.8027 13.8769 51.8027 14.2758C51.8027 14.7004 52.0486 15.1996 52.5412 15.6032C52.9175 15.9119 53.3062 16.2101 53.6975 16.5103C53.7898 16.5812 53.8823 16.6521 53.9748 16.7233C54.4843 17.1353 54.7393 17.5153 54.7393 17.8244C54.7393 18.5029 54.3023 18.8679 53.3977 18.8679C52.4785 18.8679 51.8429 18.1875 51.6391 16.9132H51.3906L50.668 19.3933H50.897C51.1957 19.182 51.4081 19.0459 51.8411 19.0459C52.0058 19.0459 52.1751 19.1238 52.3786 19.2175C52.6859 19.3588 53.0713 19.5362 53.6377 19.5362C54.3894 19.5362 54.9845 19.3786 55.4942 18.8634C55.9276 18.4134 56.1441 17.7832 56.1441 17.268C56.1441 16.7916 55.8485 16.2362 55.332 15.8361C55.0681 15.6317 54.793 15.4404 54.5168 15.2482C54.3292 15.1177 54.1411 14.9869 53.9556 14.8514C53.4585 14.478 53.21 14.161 53.21 13.8134C53.21 13.6198 53.3057 13.4271 53.497 13.2341C53.7388 12.9896 54.0627 12.9355 54.496 12.9355C55.3655 12.9355 55.9741 13.425 56.0253 14.4546H56.2546L56.861 12.2686H56.6318C56.3895 12.5519 56.1347 12.6932 55.8673 12.6932Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),J.createElement("path",{d:"M84.2951 14.4543C84.2441 13.4247 83.6353 12.9353 82.7658 12.9353C82.3325 12.9353 82.0086 12.9894 81.7665 13.2338C81.5755 13.4268 81.4798 13.6201 81.4798 13.8128C81.4798 14.1605 81.7283 14.478 82.2256 14.8511C82.4108 14.9864 82.5985 15.117 82.7858 15.2473C83.0623 15.4397 83.3377 15.6313 83.6021 15.8361C84.1183 16.2363 84.4139 16.7916 84.4139 17.268C84.4139 17.7829 84.1974 18.4128 83.764 18.8634C83.2542 19.3781 82.6592 19.5362 81.9074 19.5362C81.341 19.5362 80.9556 19.3588 80.6483 19.2175C80.4448 19.1238 80.2755 19.0459 80.1107 19.0459C79.6778 19.0459 79.4655 19.182 79.167 19.3933H78.9375L79.6602 16.9132H79.9087C80.1127 18.1873 80.7483 18.8676 81.6675 18.8676C82.5721 18.8676 83.0091 18.5026 83.0091 17.8241C83.0091 17.5153 82.7538 17.1354 82.2446 16.7231C82.15 16.6502 82.0554 16.5777 81.961 16.5052C81.5718 16.2067 81.1852 15.9102 80.811 15.6032C80.3184 15.199 80.0724 14.7006 80.0724 14.2755C80.0724 13.8769 80.2526 13.4158 80.6581 13.0006C81.1453 12.502 81.7411 12.2686 82.4546 12.2686C82.7988 12.2686 83.1396 12.3392 83.4773 12.4807C83.815 12.6223 84.0349 12.6929 84.1368 12.6929C84.4048 12.6929 84.6593 12.5514 84.9013 12.2686H85.1308L84.5246 14.4543H84.2951Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.4366 7.2801C21.4366 7.10548 21.2957 6.96289 21.1226 6.96289H20.88C20.6903 6.96289 20.5153 7.059 20.4126 7.21996L19.6278 8.4452C19.4953 8.65133 19.2714 8.77422 19.0281 8.77422H18.4981C18.3442 8.77422 18.203 8.8593 18.1295 8.99611C17.9478 9.33563 17.6228 9.56329 17.2542 9.62264V13.8311C17.848 13.896 18.3023 14.2547 18.3023 14.6885C18.3023 15.1685 17.7471 15.5576 17.0616 15.5576C16.3766 15.5576 15.8209 15.1685 15.8209 14.6885C15.8209 14.2547 16.2755 13.896 16.8687 13.8311V9.62264C16.5001 9.56277 16.1754 9.33511 15.9942 8.99637C15.9209 8.85956 15.78 8.77474 15.6261 8.77474H15.2708C15.1052 8.77474 14.9552 8.87295 14.8876 9.02578L14.5923 9.69643C14.4982 9.90965 14.2877 10.0478 14.0563 10.0478C13.8249 10.0478 13.6144 9.90965 13.5208 9.69564L13.225 9.02604C13.1579 8.87348 13.0074 8.77474 12.8423 8.77474H2.93715C2.87113 9.04127 2.63171 9.23926 2.34784 9.23926H2.06112V9.59927C2.06112 10.1174 1.96104 10.622 1.76425 11.0994L1.49962 11.7425C0.628527 13.8561 1.48429 16.2538 3.48955 17.3207L4.81218 18.0241L5.96298 18.0325C6.28922 18.0349 6.61208 18.1213 6.89673 18.282L7.49982 18.6223H8.31372C8.66648 18.6223 9.01273 18.7195 9.31506 18.9027L9.67301 19.121C10.0208 19.3318 10.4136 19.4542 10.8178 19.4781V19.1055C10.8178 18.3833 11.2405 17.7292 11.8948 17.4393L12.919 16.9845C13.1597 16.8777 13.4309 16.8609 13.6833 16.9368L14.1694 17.0833C14.3222 17.1295 14.4829 17.1295 14.6347 17.0841L15.7876 16.7388C16.0007 16.6747 16.2251 16.6768 16.4364 16.7437L16.8198 16.8656C17.3486 17.0334 17.7037 17.5223 17.7037 18.0827V19.0566C17.7037 19.2922 17.8934 19.4841 18.1271 19.4841C18.3143 19.4841 18.4815 19.357 18.5337 19.1756C18.6977 18.6039 18.7726 18.0126 18.7554 17.4175L18.7539 17.3144C18.7411 16.8656 18.9187 16.431 19.24 16.1214L19.7191 15.6614C19.9853 15.4048 20.1381 15.0451 20.1381 14.6732V12.3819C20.1381 11.8575 20.2946 11.3526 20.5907 10.9214L20.8179 10.5897V10.1342C20.8179 9.61266 20.9726 9.11033 21.265 8.68126L21.63 8.14506C21.507 8.01534 21.4366 7.84203 21.4366 7.65848V7.2801Z",fill:"#FCE300",style:{fill:"#FCE300",fill:"color(display-p3 0.9882 0.8902 0.0000)",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.16479 19.1581C8.95111 19.0284 8.71091 18.953 8.46344 18.9305V19.8514C8.7642 19.8745 9.05691 19.9643 9.3166 20.1218C9.31738 20.1221 9.73122 20.3763 9.87082 20.4587C10.064 20.573 10.2987 20.6817 10.7094 20.7029C10.7383 20.7042 10.7648 20.694 10.7856 20.6743C10.8072 20.6533 10.8191 20.6255 10.8191 20.5953V19.7736C10.3619 19.7492 9.91605 19.6148 9.523 19.3758L9.16479 19.1581Z",fill:"white",style:{fill:"white",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.7527 18.5415C6.51744 18.4083 6.25099 18.3369 5.98116 18.3314V19.2523C6.30116 19.2578 6.61752 19.3429 6.89645 19.5002L7.40934 19.7898V18.9065C7.40284 18.9036 7.39582 18.9044 7.38932 18.9009L6.7527 18.5415Z",fill:"white",style:{fill:"white",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5993 17.2219C13.5226 17.1988 13.4436 17.1904 13.3651 17.1904V18.1123C13.4722 18.1123 13.5796 18.1239 13.6838 18.1551L14.1699 18.3022C14.2323 18.3205 14.2962 18.33 14.3602 18.3334V17.4125C14.2676 17.4086 14.1754 17.3954 14.0854 17.3687L13.5993 17.2219Z",fill:"white",style:{fill:"white",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.731 17.1493L16.3481 17.0275C16.2623 17.0002 16.1729 16.9891 16.0843 16.9915V17.9121C16.1987 17.9098 16.313 17.9245 16.424 17.9589L16.8896 18.0912C17.1282 18.1598 17.3151 18.3362 17.409 18.5576V18.0823C17.409 17.6532 17.1366 17.2782 16.731 17.1493Z",fill:"white",style:{fill:"white",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.1277 19.7819C18.1092 19.7819 18.0923 19.7777 18.0739 19.7764V20.6957C18.0978 20.6983 18.1209 20.7028 18.1454 20.7028C18.4139 20.7028 18.6491 20.5292 18.7305 20.2708C18.7388 20.2448 18.7443 20.2175 18.7521 20.1915V19.409C18.627 19.6338 18.3902 19.7819 18.1277 19.7819Z",fill:"white",style:{fill:"white",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6875 16.096V16.8948C2.04935 17.5315 2.57913 18.0549 3.23993 18.4062L3.48402 18.5359V17.6534L3.35275 17.5838C2.66232 17.2167 2.10186 16.7005 1.6875 16.096Z",fill:"white",style:{fill:"white",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06076 17.9608V18.8434L4.70907 19.1879V18.3048C4.70829 18.3048 4.70725 18.3048 4.70647 18.3043L4.06076 17.9608Z",fill:"white",style:{fill:"white",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.8159 14.8958C17.8159 14.6949 17.577 14.5274 17.2541 14.4785V15.313C17.577 15.2637 17.8159 15.0966 17.8159 14.8958Z",fill:"white",style:{fill:"white",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3086 14.8958C16.3086 15.0966 16.5475 15.2637 16.8704 15.313V14.4785C16.5475 14.5274 16.3086 14.6949 16.3086 14.8958Z",fill:"white",style:{fill:"white",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2923 1.62988C15.0123 1.54322 14.7326 1.69736 14.4526 1.85623C14.3536 1.91268 14.2831 2.00879 14.259 2.12092L13.8189 4.19615C13.8025 4.27282 13.8708 4.34214 13.9468 4.32481C14.4095 4.2182 14.8496 3.80962 15.3123 3.95246C15.8309 4.11317 16.3492 3.44987 16.8678 3.45775V1.06348C16.3464 1.06584 15.8111 1.79006 15.2923 1.62988",fill:"#BA0C2F",style:{fill:"#BA0C2F",fill:"color(display-p3 0.7294 0.0471 0.1843)",fillOpacity:1}}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.2656 8.68074C20.9732 9.11033 20.8185 9.6124 20.8185 10.1336V10.5895L20.5913 10.9211C20.2949 11.352 20.1384 11.857 20.1384 12.3816V14.6727C20.1384 15.0445 19.9859 15.4046 19.7197 15.6608L19.2406 16.1214C18.919 16.4305 18.742 16.8651 18.7545 17.3141L18.7563 17.417C18.7732 18.012 18.6983 18.6037 18.5343 19.1756C18.482 19.3568 18.3149 19.4836 18.1277 19.4836C17.894 19.4836 17.7043 19.2916 17.7043 19.0561V18.0822C17.7043 17.5221 17.3492 17.0334 16.8204 16.8651L16.437 16.7435C16.2257 16.6763 16.0013 16.6747 15.7882 16.7382L14.6353 17.0835C14.4835 17.129 14.3226 17.129 14.17 17.0833L13.6839 16.9365C13.4317 16.8603 13.1603 16.8771 12.9196 16.9843L11.8954 17.4388C11.2411 17.729 10.8184 18.3828 10.8184 19.1049V19.4778C10.4142 19.4542 10.0214 19.3315 9.67385 19.1204L9.31564 18.9027C9.01332 18.7192 8.66706 18.622 8.31431 18.622H7.5004L6.89731 18.2817C6.61241 18.1208 6.28981 18.0344 5.96357 18.032L4.81276 18.0239L3.49013 17.3204C1.48461 16.2538 0.62911 13.8558 1.50021 11.7422L1.76484 11.0994C1.96162 10.6218 2.0617 10.1168 2.0617 9.59901V9.239H2.34843C2.63229 9.239 2.87171 9.04075 2.93774 8.77422H12.8429C13.008 8.77422 13.1585 8.87295 13.2256 9.02578L13.5211 9.69564C13.615 9.90912 13.8255 10.0475 14.0569 10.0475C14.2882 10.0475 14.4988 9.90939 14.5929 9.6959L14.8885 9.02525C14.9558 8.87269 15.1058 8.77422 15.2714 8.77422H15.6267C15.7806 8.77422 15.9215 8.85956 15.9948 8.99611C16.176 9.33484 16.5007 9.56251 16.8693 9.62238V13.8309C16.2761 13.896 15.8214 14.2544 15.8214 14.6882C15.8214 15.1685 16.3772 15.5574 17.0622 15.5574C17.7477 15.5574 18.3029 15.1685 18.3029 14.6882C18.3029 14.2544 17.8485 13.896 17.2548 13.8309V9.62264C17.6234 9.56277 17.9484 9.33511 18.1301 8.99611C18.2036 8.8593 18.3445 8.77396 18.4987 8.77396H19.029C19.272 8.77396 19.4958 8.65107 19.6282 8.44494L20.4132 7.21944C20.5159 7.05847 20.6908 6.96263 20.8806 6.96263H21.1234C21.2963 6.96263 21.4372 7.10495 21.4372 7.27957V7.65796C21.4372 7.84151 21.5076 8.01508 21.6306 8.14454L21.2656 8.68074ZM18.7515 20.1908C18.7437 20.2171 18.7382 20.2441 18.7299 20.2704C18.6486 20.5291 18.4133 20.7026 18.1448 20.7026C18.1203 20.7026 18.0972 20.6979 18.0733 20.6953V19.7757C18.0912 19.7775 18.1086 19.7812 18.1271 19.7812C18.3891 19.7812 18.6265 19.6331 18.7515 19.4086V20.1908ZM17.4081 18.5572C17.3143 18.3358 17.1279 18.1591 16.8893 18.0908L16.4235 17.9585C16.3125 17.9241 16.1981 17.9094 16.0837 17.9117V16.9911C16.1726 16.9887 16.2615 16.9998 16.3473 17.0273L16.7305 17.1489C17.136 17.2778 17.4081 17.6528 17.4081 18.0819V18.5572ZM14.3601 18.3327C14.2957 18.3296 14.2317 18.3204 14.1693 18.3015L13.6832 18.155C13.5795 18.1232 13.4719 18.1119 13.3645 18.1119V17.19C13.4435 17.19 13.5226 17.1986 13.5987 17.2212L14.0848 17.3683C14.1748 17.3953 14.2673 17.4084 14.3601 17.4121V18.3327ZM10.8185 20.5951C10.8185 20.6251 10.8061 20.6529 10.7847 20.6739C10.764 20.6939 10.7374 20.7038 10.7086 20.7028C10.2979 20.6815 10.0631 20.5726 9.86998 20.4583C9.73039 20.3756 9.31628 20.122 9.31576 20.1217C9.05607 19.9636 8.76311 19.8743 8.46286 19.851V18.9301C8.71008 18.9526 8.95001 19.028 9.16395 19.1577L9.5219 19.3754C9.91521 19.6144 10.3608 19.7488 10.8185 19.7732V20.5951ZM7.40902 19.7897L6.89588 19.4998C6.61669 19.3422 6.30059 19.2574 5.98059 19.2519V18.331C6.25016 18.3362 6.51661 18.4082 6.75238 18.5411L7.38901 18.9008C7.39498 18.9042 7.40252 18.9034 7.40902 18.9058V19.7897ZM4.70824 19.1875L4.06018 18.8427V17.9604L4.7059 18.3039C4.70668 18.3042 4.70772 18.3039 4.70824 18.3042V19.1875ZM3.48345 18.5355L3.23935 18.4058C2.57856 18.0545 2.04904 17.5309 1.68693 16.8944V16.0956C2.10129 16.7001 2.66174 17.2163 3.35191 17.5831L3.48345 17.653V18.5355ZM17.2536 14.4781C17.5762 14.527 17.8153 14.6945 17.8153 14.8954C17.8153 15.0962 17.5762 15.2638 17.2536 15.3129V14.4781ZM16.8698 15.3129C16.5474 15.2638 16.308 15.0962 16.308 14.8954C16.308 14.6945 16.5474 14.527 16.8698 14.4781V15.3129ZM21.9089 7.99494C21.7979 7.91906 21.7314 7.79328 21.7314 7.65778V7.27939C21.7314 6.94065 21.4582 6.66494 21.1229 6.66494H20.8801C20.59 6.66494 20.3227 6.81172 20.1649 7.05777L19.3804 8.28274C19.3027 8.40405 19.1709 8.47627 19.0284 8.47627H18.4981C18.2361 8.47627 17.9954 8.62095 17.8698 8.8557C17.7401 9.09702 17.5137 9.26271 17.2543 9.31891V0.800046C17.2543 0.692385 17.1682 0.605469 17.0616 0.605469C16.9553 0.605469 16.8688 0.692385 16.8688 0.800046V9.31891C16.6093 9.26245 16.3832 9.09676 16.2537 8.85465C16.1292 8.62148 15.8887 8.47627 15.6262 8.47627H15.2708C14.9893 8.47627 14.733 8.64432 14.6189 8.90402L14.323 9.57467C14.2763 9.68049 14.1715 9.74929 14.0563 9.74929C13.9409 9.74929 13.8364 9.68049 13.7899 9.57441L13.4943 8.90455C13.3799 8.64432 13.1239 8.47627 12.8424 8.47627H2.80773C2.72611 8.47627 2.66034 8.54296 2.66034 8.62515C2.66034 8.79951 2.51996 8.94078 2.34788 8.94078H1.91376C1.83239 8.94078 1.76637 9.00748 1.76637 9.08967V9.59883C1.76637 10.077 1.67434 10.5434 1.49186 10.9848L1.22775 11.6273C0.981833 12.2234 0.866155 12.8405 0.867194 13.4463V14.9262C0.867194 15.3261 0.924384 15.7287 1.03954 16.1247C1.36162 17.2291 2.0939 18.1329 3.10251 18.6694L4.70667 19.5223C4.72747 19.5336 4.75113 19.5396 4.77452 19.5399L5.96094 19.5488C6.23779 19.5506 6.51178 19.6239 6.75327 19.7599L7.38989 20.1194C7.41199 20.1317 7.43642 20.1383 7.46164 20.1383H8.31376C8.61296 20.1383 8.90697 20.2208 9.16276 20.3762C9.16276 20.3762 9.57998 20.6314 9.72009 20.7149C9.94521 20.8481 10.2189 20.9749 10.6926 20.9996C10.8002 21.0046 10.9065 20.9662 10.9871 20.8896C11.0666 20.8129 11.1127 20.7058 11.1127 20.5949V20.0178C11.1127 19.5997 11.357 19.2208 11.7365 19.0525L13.0376 18.4751C13.2146 18.3971 13.4137 18.384 13.5988 18.4401L14.0849 18.5869C14.2921 18.6489 14.5113 18.6494 14.719 18.5877L15.8716 18.2419C16.0242 18.1962 16.1864 18.1965 16.3416 18.244L16.81 18.3774C17.0278 18.4396 17.1804 18.6434 17.1804 18.8724V20.0259C17.1804 20.5634 17.613 21.0004 18.1449 21.0004C18.5426 21.0004 18.8904 20.7428 19.0105 20.3605C19.2281 19.6698 19.338 18.9517 19.338 18.2264V17.7359C19.338 17.3874 19.4818 17.0503 19.7326 16.8111L20.212 16.3534C20.5351 16.0425 20.7207 15.6058 20.7207 15.1549V12.4203C20.7207 11.9965 20.847 11.5879 21.0862 11.2392C21.1034 11.2145 21.113 11.1849 21.113 11.1547V10.51C21.113 10.0891 21.2375 9.68338 21.4738 9.33624L21.9479 8.6396C21.9651 8.61517 21.9742 8.58576 21.9742 8.5553V8.11836C21.9742 8.03538 21.9266 8.00676 21.9089 7.99494Z",fill:"#006747",style:{fill:"#006747",fill:"color(display-p3 0.0000 0.4039 0.2784)",fillOpacity:1}})),PM=n=>J.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Group 483737"},J.createElement("g",{id:"Icon / Live"},J.createElement("path",{id:"circle-path",fillRule:"evenodd",clipRule:"evenodd",d:"M9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9C17 13.4183 13.4183 17 9 17Z",stroke:"#107D57"}),J.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M10.6432 6.12891C10.9551 6.12891 11.2103 6.37162 11.2302 6.67846L11.2315 6.71714V7.55879L13.3334 6.46776C13.6362 6.31058 13.9959 6.51777 14.0195 6.85057L14.0207 6.88543V11.1406C14.0207 11.4763 13.6813 11.7002 13.3764 11.578L13.345 11.5641L11.2315 10.54V11.2818C11.2315 11.5937 10.9887 11.8489 10.6819 11.8688L10.6432 11.8701H5.11851C4.80663 11.8701 4.55144 11.6274 4.53152 11.3205L4.53027 11.2818V6.71714C4.53027 6.40526 4.77299 6.15007 5.07983 6.13016L5.11851 6.12891H10.6432ZM10.2897 7.07007H5.4709V10.9289H10.2897V7.07007ZM13.0792 7.65972L11.2396 8.61454V9.49831L13.0792 10.3896V7.65972Z",fill:"#107D57"})))),MM=n=>J.createElement("svg",{width:14,height:17,viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Icon / Games"},J.createElement("path",{id:"Icon / Games_2",d:"M6.27412 2.68557L6.27411 2.68557C5.62309 2.63368 5.0525 3.12172 5.00064 3.7713L5.00064 3.77134L4.14164 14.5465C4.14163 14.5465 4.14163 14.5465 4.14163 14.5465C4.08978 15.1963 4.57588 15.7681 5.22739 15.82C5.22741 15.82 5.22742 15.82 5.22744 15.82L11.3107 16.3052L11.3108 16.3052C11.9618 16.3571 12.5324 15.869 12.5842 15.2194L12.5842 15.2194L13.4432 4.4443C13.4951 3.79528 13.0091 3.22266 12.3575 3.17076C12.3575 3.17076 12.3574 3.17076 12.3574 3.17076L6.27412 2.68557ZM8.15378 7.95339C8.06822 8.08171 8.00584 8.22011 7.96597 8.36701L7.39679 8.32084C7.47153 7.93067 7.63452 7.64794 7.86868 7.44845C8.15963 7.20058 8.54037 7.08303 9.04377 7.12388C9.36277 7.14976 9.62596 7.23281 9.84206 7.36455L9.84205 7.36458L9.84603 7.36693C10.0639 7.49535 10.2189 7.65832 10.3213 7.85605C10.4234 8.05317 10.4683 8.27793 10.4483 8.53948C10.4345 8.71901 10.392 8.86521 10.3278 8.98465L10.3277 8.98461L10.3242 8.99151C10.2546 9.12905 10.1759 9.23612 10.0908 9.31799L10.0907 9.31793L10.0855 9.32326C9.98974 9.41994 9.85909 9.53313 9.69013 9.66317C9.48159 9.8217 9.31317 9.96772 9.19518 10.0999L9.19509 10.0998L9.18961 10.1063C9.10272 10.2092 9.04052 10.3244 9.00219 10.449L8.46556 10.4054C8.49427 10.3132 8.5356 10.2357 8.58714 10.17C8.70826 10.0178 8.8862 9.84033 9.1277 9.63726C9.33755 9.46764 9.50811 9.30895 9.63088 9.16198L9.39343 8.96362L9.63088 9.16198C9.77451 8.99005 9.86011 8.79 9.87715 8.56784C9.89609 8.32086 9.82923 8.08941 9.6571 7.90614C9.48861 7.71582 9.25493 7.62752 9.00193 7.60699L8.97691 7.91539L9.00193 7.60699C8.67115 7.58016 8.35479 7.66584 8.15766 7.94771L8.1576 7.94766L8.15378 7.95339ZM8.84046 11.5393L8.84024 11.5394L8.84882 11.5493C8.9033 11.6122 8.9274 11.681 8.92009 11.7763C8.91337 11.8639 8.88049 11.9307 8.81121 11.9916L8.81117 11.9915L8.8063 11.996C8.74838 12.0491 8.68489 12.0727 8.59225 12.0652C8.49804 12.0575 8.43752 12.0248 8.38914 11.9687C8.34013 11.9019 8.31721 11.826 8.32494 11.7253L8.01644 11.7016L8.32494 11.7253C8.33288 11.6218 8.36807 11.5555 8.42399 11.5042L8.2147 11.2763L8.42377 11.5044C8.48168 11.4513 8.54518 11.4277 8.63782 11.4352C8.73051 11.4427 8.79051 11.4764 8.84046 11.5393Z",stroke:"#107D57",strokeWidth:.618817}),J.createElement("path",{id:"Icon / Games_3",d:"M7.74941 0.00278796L1.66605 0.487981C1.18503 0.526267 0.82584 0.949506 0.864126 1.42843L1.72313 12.2036C1.76142 12.6832 2.18327 13.0438 2.66359 13.0055L3.18754 12.9637L3.97219 3.12062C4.0418 2.24421 4.81101 1.58916 5.68742 1.65878L8.7776 1.90524L8.68986 0.804714C8.65157 0.32509 8.22973 -0.0354984 7.74941 0.00278796Z",fill:"#107D57"}))),DM=n=>J.createElement("svg",{width:19,height:14,viewBox:"0 0 19 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Icon / LeaderBoard"},J.createElement("path",{id:"Combined Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M16.8236 2.46643C16.436 2.23624 16.1759 1.81093 16.1759 1.32432C16.1759 0.59292 16.7636 0 17.4885 0C18.2134 0 18.8011 0.59292 18.8011 1.32432C18.8011 1.81093 18.541 2.23624 18.1534 2.46643C18.5192 2.51678 18.8011 2.83327 18.8011 3.2162V10.7838C18.8011 11.2017 18.4653 11.5405 18.051 11.5405H16.926L16.9147 11.5404H10.9255V11.5406V13.2433C10.9255 13.6612 10.5897 14 10.1755 14H8.67539C8.26115 14 7.92534 13.6612 7.92534 13.2433V11.5406V11.5404H1.93622L1.92493 11.5405H0.799856C0.385614 11.5405 0.0498047 11.2017 0.0498047 10.7838V3.2162C0.0498047 2.83328 0.331692 2.51678 0.697521 2.46643C0.309923 2.23624 0.0498047 1.81093 0.0498047 1.32432C0.0498047 0.59292 0.637471 0 1.36239 0C2.08732 0 2.67498 0.59292 2.67498 1.32432C2.67498 1.81093 2.41487 2.23624 2.02727 2.46643C2.16328 2.48515 2.28769 2.54066 2.39032 2.62269C4.78264 1.62379 7.12768 1.12793 9.42545 1.13511C11.7225 1.14228 14.0669 1.63872 16.4584 2.62442C16.5615 2.54144 16.6867 2.48528 16.8236 2.46643ZM1.92494 10.7837L1.92493 3.21617H0.799862V10.7837H1.92494ZM16.1759 3.32547C13.8707 2.37522 11.6209 1.89875 9.42314 1.89189C7.2272 1.88503 4.97905 2.36051 2.675 3.32285V10.7837H16.1759V3.32547ZM17.4885 1.89189C17.7992 1.89189 18.0511 1.63779 18.0511 1.32433C18.0511 1.01087 17.7992 0.75676 17.4885 0.75676C17.1778 0.75676 16.926 1.01087 16.926 1.32433C16.926 1.63779 17.1778 1.89189 17.4885 1.89189ZM16.926 3.21617V10.7837H18.0511V3.21617H16.926ZM8.67538 13.2432V11.5405H10.1755V13.2432H8.67538ZM1.3624 1.89189C1.67308 1.89189 1.92494 1.63779 1.92494 1.32433C1.92494 1.01087 1.67308 0.75676 1.3624 0.75676C1.05172 0.75676 0.799862 1.01087 0.799862 1.32433C0.799862 1.63779 1.05172 1.89189 1.3624 1.89189Z",fill:"#107D57"}))),UM=n=>J.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"check"},J.createElement("path",{id:"Vector",d:"M3.59985 10.8L7.59985 14.8L16.3999 5.20001",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}))),FM=n=>J.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"cross"},J.createElement("path",{id:"Vector",d:"M5.19995 14.8L14.8 5.20001M5.19995 5.20001L14.8 14.8",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}))),jM=n=>J.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 2.46154C8.52291 2.46154 2.46154 8.52291 2.46154 16C2.46154 23.4771 8.52291 29.5385 16 29.5385C23.4771 29.5385 29.5385 23.4771 29.5385 16C29.5385 8.52291 23.4771 2.46154 16 2.46154ZM0 16C0 7.16344 7.16344 0 16 0C24.8366 0 32 7.16344 32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16Z",fill:"#FFB600"}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 8.20513C16.6797 8.20513 17.2308 8.75616 17.2308 9.4359V17.641C17.2308 18.3208 16.6797 18.8718 16 18.8718C15.3203 18.8718 14.7692 18.3208 14.7692 17.641V9.4359C14.7692 8.75616 15.3203 8.20513 16 8.20513Z",fill:"#FFB600"}),J.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7692 22.5641C14.7692 21.8844 15.3203 21.3333 16 21.3333H16.0164C16.6961 21.3333 17.2472 21.8844 17.2472 22.5641C17.2472 23.2438 16.6961 23.7949 16.0164 23.7949H16C15.3203 23.7949 14.7692 23.2438 14.7692 22.5641Z",fill:"#FFB600"})),VM=n=>J.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Icon/Insight"},J.createElement("path",{id:"Fill-1",fillRule:"evenodd",clipRule:"evenodd",d:"M9.3336 9.33644C8.59749 10.0725 7.40264 10.0725 6.66652 9.33644C5.93041 8.60039 5.93041 7.40565 6.66652 6.6696C7.40264 5.93355 8.59749 5.93355 9.3336 6.6696C10.0697 7.40565 10.0697 8.60039 9.3336 9.33644Z",fill:"#107D57"}),J.createElement("path",{id:"Fill-3",fillRule:"evenodd",clipRule:"evenodd",d:"M12.3345 12.3306C11.7818 12.8833 10.8863 12.8827 10.3342 12.3306C9.78211 11.7786 9.78145 10.8832 10.3342 10.3305C10.8869 9.77781 11.7824 9.77847 12.3345 10.3305C12.8866 10.8825 12.8873 11.7779 12.3345 12.3306Z",fill:"#107D57"}),J.createElement("path",{id:"Fill-5",fillRule:"evenodd",clipRule:"evenodd",d:"M5.66586 5.66365C5.11311 6.21635 4.21831 6.21635 3.66556 5.66365C3.11281 5.11094 3.11281 4.21622 3.66556 3.66352C4.21831 3.11081 5.11311 3.11081 5.66586 3.66352C6.21861 4.21622 6.21861 5.11094 5.66586 5.66365Z",fill:"#107D57"}),J.createElement("path",{id:"Fill-7",fillRule:"evenodd",clipRule:"evenodd",d:"M12.3345 5.66365C11.7818 6.21635 10.8869 6.21635 10.3342 5.66365C9.78145 5.11094 9.78145 4.21622 10.3342 3.66352C10.8869 3.11081 11.7818 3.11081 12.3345 3.66352C12.8873 4.21622 12.8873 5.11094 12.3345 5.66365Z",fill:"#107D57"}),J.createElement("path",{id:"Fill-9",fillRule:"evenodd",clipRule:"evenodd",d:"M5.66586 12.3306C5.11378 12.8827 4.21831 12.8833 3.66556 12.3306C3.11281 11.7779 3.11347 10.8825 3.66556 10.3305C4.21764 9.77847 5.11311 9.77781 5.66586 10.3305C6.21861 10.8832 6.21795 11.7786 5.66586 12.3306Z",fill:"#107D57"}),J.createElement("path",{id:"Fill-11",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M8.66683 1.99964C8.29877 2.36766 7.70135 2.36766 7.33329 1.99964C6.96524 1.63162 6.96524 1.03425 7.33329 0.666221C7.70135 0.298198 8.29877 0.298198 8.66683 0.666221C9.03489 1.03425 9.03489 1.63162 8.66683 1.99964Z",fill:"#107D57"}),J.createElement("path",{id:"Fill-13",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M15.3332 8.66676C14.9652 9.03478 14.3684 9.03545 13.9997 8.66675C13.631 8.29806 13.6316 7.70136 13.9997 7.33334C14.3677 6.96531 14.9645 6.96464 15.3332 7.33334C15.7019 7.70203 15.7013 8.29873 15.3332 8.66676Z",fill:"#107D57"}),J.createElement("path",{id:"Fill-15",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M8.66683 15.3339C8.29811 15.7026 7.70202 15.7026 7.33329 15.3339C6.96457 14.9652 6.96457 14.3691 7.33329 14.0004C7.70202 13.6318 8.29811 13.6318 8.66683 14.0005C9.03555 14.3691 9.03555 14.9652 8.66683 15.3339Z",fill:"#107D57"}),J.createElement("path",{id:"Fill-17",opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M2.00033 8.66676C1.6316 9.03545 1.03484 9.03478 0.666788 8.66676C0.298732 8.29873 0.298065 7.70203 0.666788 7.33334C1.03551 6.96465 1.63227 6.96531 2.00033 7.33334C2.36838 7.70136 2.36905 8.29806 2.00033 8.66676Z",fill:"#107D57"}))),BM=n=>J.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Poll"},J.createElement("path",{id:"Notification/Icon/Poll",fillRule:"evenodd",clipRule:"evenodd",d:"M9.7778 1.68421V5.05263H13.3333C13.8243 5.05263 14.2222 4.67561 14.2222 4.21053V2.52632C14.2222 2.06123 13.8243 1.68421 13.3333 1.68421H9.7778ZM2.66667 0C1.19391 0 0 1.13107 0 2.52632V4.21053C0 5.60577 1.19391 6.73684 2.66667 6.73684H13.3333C14.8061 6.73684 16 5.60577 16 4.21053V2.52632C16 1.13107 14.8061 0 13.3333 0H2.66667ZM4.44446 10.9473H13.3333C13.8243 10.9473 14.2222 11.3243 14.2222 11.7894V13.4736C14.2222 13.9387 13.8243 14.3157 13.3333 14.3157H4.44446V10.9473ZM0 11.7894C0 10.3942 1.19391 9.2631 2.66667 9.2631H13.3333C14.8061 9.2631 16 10.3942 16 11.7894V13.4736C16 14.8689 14.8061 15.9999 13.3333 15.9999H2.66667C1.19391 15.9999 0 14.8689 0 13.4736V11.7894Z",fill:"white",fillOpacity:.5}))),zM=n=>J.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Icon/Notification/Prediciton"},J.createElement("path",{id:"Icon/Prediction",fillRule:"evenodd",clipRule:"evenodd",d:"M16 7.00522C16 7.00522 9.20048 6.81607 9.20048 0C9.20048 6.36168 3.27729 6.95056 2.48756 7.00078L2.40094 7.00522C2.40094 7.00522 9.20048 7.19435 9.20048 14.0104C9.20048 7.64877 15.1234 7.05989 15.9131 7.00964L16 7.00522ZM6.97382 12.5652C6.97382 12.5652 3.48691 12.4724 3.48691 9.13033C3.48691 12.2496 0.449402 12.5384 0.0444186 12.563L0 12.5652C0 12.5652 3.48691 12.6579 3.48691 16C3.48691 12.8807 6.52429 12.592 6.92927 12.5673L6.97382 12.5652Z",fill:"white",fillOpacity:.5}))),$M=n=>J.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Icon/Notification/Trivia"},J.createElement("path",{id:"Notification/Icon/Trivia",fillRule:"evenodd",clipRule:"evenodd",d:"M2.01663 1.3808C0.739913 1.55586 -0.153153 2.73276 0.021912 4.00948L1.3808 13.9196C1.55586 15.1963 2.73276 16.0894 4.00948 15.9143L13.9196 14.5554C15.1963 14.3803 16.0894 13.2034 15.9143 11.9267L14.5554 2.01663C14.3803 0.739913 13.2034 -0.153153 11.9267 0.021912L2.01663 1.3808ZM9.59613 3.788C9.11431 3.46991 8.47813 3.30151 7.7566 3.30151C7.54377 3.30151 7.32625 3.31671 7.10872 3.34478C6.38836 3.44067 5.68901 3.79034 5.18965 4.30138C4.68445 4.82062 4.4377 5.45563 4.51722 6.04151C4.57452 6.4742 4.90078 6.7537 5.34635 6.7537C5.39429 6.7537 5.44341 6.7502 5.49136 6.74435C6.08778 6.66483 6.21642 6.25436 6.34036 5.85675L6.34045 5.85648C6.48192 5.40401 6.61534 4.97731 7.38585 4.87444C7.46537 4.86391 7.54138 4.85806 7.61506 4.85806C8.16939 4.85806 8.51436 5.15042 8.58454 5.68252C8.65353 6.20293 8.24307 6.61807 7.80684 7.0566L7.80393 7.05954C7.31582 7.55231 6.7639 8.1095 6.86895 8.90083C6.89585 9.10548 6.9859 9.29493 7.12272 9.43644C7.27826 9.599 7.4829 9.68436 7.71331 9.68436C7.75541 9.68436 7.79868 9.68203 7.84311 9.67618C8.46691 9.59324 8.55162 9.23139 8.63338 8.8821L8.63365 8.88097L8.63661 8.86859C8.66723 8.7403 8.69877 8.60813 8.75995 8.48804C8.84649 8.31613 9.06283 8.11265 9.31428 7.87875C9.9142 7.31858 10.734 6.55143 10.582 5.41589C10.4872 4.70603 10.1551 4.15757 9.59611 3.78802L9.59613 3.788ZM8.11605 10.28C8.06927 10.28 8.02132 10.2836 7.97454 10.2894C7.38396 10.3689 6.96765 10.9127 7.04599 11.5033C7.11733 12.0377 7.57808 12.4412 8.1172 12.4412C8.16397 12.4412 8.21192 12.4377 8.25987 12.4318C8.85045 12.3523 9.2656 11.8085 9.18842 11.2179C9.11591 10.6823 8.65517 10.28 8.11605 10.28Z",fill:"white",fillOpacity:.5}))),HM=n=>J.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("path",{id:"Selected",fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.6057 5.43441C11.2933 5.12199 10.7868 5.12199 10.4744 5.43441L6.93812 9.97066L5.08382 8.73446C4.7162 8.48938 4.2195 8.58871 3.97442 8.95634C3.72934 9.32396 3.82868 9.82065 4.1963 10.0657L6.5963 11.6657C6.9136 11.8773 7.33609 11.8354 7.60574 11.5658L11.6057 6.56578C11.9182 6.25336 11.9182 5.74683 11.6057 5.43441Z",fill:"#107D57"})),GM=n=>J.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},J.createElement("g",{id:"Frame 3469523"},J.createElement("rect",{x:.5,y:.5,width:17,height:17,rx:8.5,fill:"black"}),J.createElement("rect",{x:.5,y:.5,width:17,height:17,rx:8.5,stroke:"#F2F2F1"}),J.createElement("g",{id:"layer1"},J.createElement("path",{id:"path1009",d:"M5.10046 5L8.32856 9.3097L5.08008 12.8137H5.81118L8.65522 9.74589L10.9531 12.8137H13.4411L10.0314 8.26155L13.055 5H12.3239L9.70471 7.82536L7.58843 5H5.10046ZM6.1756 5.53771H7.31858L12.3658 12.2759H11.2228L6.1756 5.53771Z",fill:"white"})))),Gk={"invite-game-icon":OM,"icon-trophy":RM,"icon-trophy-green":_M,"icon-trivia":$M,"icon-thumb-down":EM,"icon-thumb-up":CM,"icon-star":wM,"icon-prediction":zM,"icon-insight":VM,"icon-poll":BM,"icon-play":SM,"icon-masters-logo":TM,"icon-logout":bM,"icon-link":kM,"icon-external-link":hM,"icon-invite-arrow":vM,"icon-friends":yM,"icon-exit":pM,"icon-default-user-avatar":mM,"icon-copy":fM,"icon-cross":eM,"icon-close":cM,"icon-close-btn-white":uM,"icon-close-btn-gray":lM,"icon-circle-arrow-right":iM,"icon-chevron":sM,"icon-chevron-white-left":oM,"icon-chevron-left":rM,"icon-check":JP,"icon-check-white":aM,"icon-check-green":nM,"icon-check-circle":tM,"icon-btn-channels":PM,"icon-btn-feature-groups":MM,"icon-btn-leaderboard":DM,"icon-arrow":ZP,"icon-facebook":gM,"icon-twitter":NM,"icon-twitter-verified":IM,correct:UM,incorrect:FM,questionExpired:jM,selected:HM,circleClose:XP,incorrectVoted:xM,mastersLogo:AM,twitter:GM,iconUp:LM,iconCopySuccess:dM},Mt=({name:n,style:r,className:i,...u})=>{if(!Gk[n])return R.jsx("span",{children:n});const c=Gk[n];return R.jsx(c,{style:r,className:i,...u})},qM=U("div")({name:"Container",class:"c1vwopgc",propsAsIs:!1}),WM=U("div")({name:"QuestionTypeWrap",class:"qyktpt0",propsAsIs:!1}),QM=()=>Mt,YM=U(QM())({name:"QuestionTypeIcon",class:"q951jdx",propsAsIs:!0}),KM=U("span")({name:"QuestionTypeTitle",class:"qss5f0e",propsAsIs:!1}),ZM=U("div")({name:"CloseIconWrap",class:"c1ao1jtv",propsAsIs:!1}),JM=()=>Mt,XM=U(JM())({name:"CloseIcon",class:"cvsl7l3",propsAsIs:!0}),MS=({type:n,close:r,label:i})=>{const u=n?Jg[n]:{label:i,iconName:void 0};return R.jsxs(qM,{children:[R.jsxs(WM,{children:[(u==null?void 0:u.iconName)&&R.jsx(YM,{"data-type-trivia":n===$e.TRIVIA,"data-type-poll":n===$e.POLL,name:u.iconName}),(u==null?void 0:u.label)&&R.jsx(KM,{children:u.label})]}),R.jsx(ZM,{onClick:r,children:R.jsx(XM,{name:"icon-cross"})})]})},p9=n=>n.split(/\s+/).map(r=>r[0]).join("").toUpperCase(),DS=n=>n?n.toLocaleString("en-US"):"0",eD=n=>{const r=new Date(n);if(!r)return"";const i=new Date,u=Math.floor(i.getTime()-r.getTime());return u<6e4?`${Math.floor(u/1e3)}s`:u<36e5?`${Math.floor(u/6e4)}m`:u<864e5?`${Math.floor(u/36e5)}h`:r.getFullYear()===i.getFullYear()?`${r.toLocaleDateString("en-US",{month:"short",day:"numeric"})}`:`${r.toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"2-digit"})}`},tD=U("div")({name:"Container",class:"c1zy8a",propsAsIs:!1}),nD=U("div")({name:"Title",class:"t1vih9p5",propsAsIs:!1}),aD=U("div")({name:"Indicator",class:"i1fbnvpb",propsAsIs:!1}),qk=({indicator:n,title:r})=>R.jsxs(tD,{children:[R.jsx(nD,{children:r}),R.jsx(aD,{children:n})]}),rD=U("div")({name:"Container",class:"ctmhwyc",propsAsIs:!1}),oD=U("div")({name:"Indicator",class:"i1jri200",propsAsIs:!1}),sD=U("div")({name:"Title",class:"t8s05oq",propsAsIs:!1}),ug=({indicator:n,title:r})=>R.jsxs(rD,{children:[R.jsx(oD,{children:n}),R.jsx(sD,{children:r})]}),iD=U("div")({name:"Container",class:"c1yrpn9o",propsAsIs:!1}),lD=U("div")({name:"TopInfo",class:"t17fwahh",propsAsIs:!1}),uD=U("div")({name:"BottomInfo",class:"by6w7e9",propsAsIs:!1}),cD=U("div")({name:"User",class:"u1g7arbm",propsAsIs:!1}),dD=U("img")({name:"Avatar",class:"a1ldeata",propsAsIs:!1}),fD=U("div")({name:"UserInfo",class:"u10d4koz",propsAsIs:!1}),mD=U("div")({name:"UserName",class:"u1q6roj0",propsAsIs:!1}),pD=U("div")({name:"UserRating",class:"ui0m425",propsAsIs:!1}),hD=U("img")({name:"TrophyIcon",class:"t1el3mrn",propsAsIs:!1}),gD=U("div")({name:"Rts",class:"r2vgnxv",propsAsIs:!1}),yD=U("div")({name:"RtsIndicator",class:"roqn06j",propsAsIs:!1}),vD=U("div")({name:"RtsLabel",class:"r15adx7c",propsAsIs:!1}),kD=U("div")({name:"Divider",class:"dv59lta",propsAsIs:!1}),bD=U("div")({name:"Ranks",class:"r55lotb",propsAsIs:!1}),TD=U("div")({name:"Statistics",class:"s1knfgqt",propsAsIs:!1}),SD=U("div")({name:"AvatarPlaceholder",class:"a1mqo824",propsAsIs:!1}),wD=U("button")({name:"UserAccountBtn",class:"uxareh6",propsAsIs:!1}),ED="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Trophy'%3e%3cpath%20id='Combined%20Shape'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.69197%204.66662C3.69197%205.99705%203.92914%207.17787%204.4035%208.20912C3.49966%208.02451%202.74487%207.66486%202.1391%207.13014C1.53333%206.59542%201.23046%206.0798%201.23046%205.58328V4.66662H3.69197ZM14.7686%204.66662V5.58328C14.7686%206.0798%2014.4658%206.59542%2013.86%207.13014C13.2542%207.66486%2012.4994%208.02451%2011.5956%208.20912C12.0699%207.17787%2012.3071%205.99705%2012.3071%204.66662H14.7686ZM15.9998%205.58329V4.36108C15.9998%204.10645%2015.9101%203.89002%2015.7306%203.71178C15.5511%203.53354%2015.3332%203.44442%2015.0768%203.44442H12.3076V2.52776C12.3076%202.10763%2012.1569%201.74797%2011.8556%201.44878C11.5544%201.14959%2011.1922%201%2010.7691%201H5.23072C4.80764%201%204.44547%201.14959%204.14419%201.44878C3.84291%201.74797%203.69227%202.10763%203.69227%202.52776V3.44442H0.923068C0.666659%203.44442%200.448714%203.53354%200.269228%203.71178C0.0897418%203.89002%200%204.10645%200%204.36108V5.58329C0%206.03525%200.13301%206.49039%200.399034%206.94872C0.665059%207.40705%201.02403%207.82082%201.47595%208.19003C1.92787%208.55924%202.48234%208.86957%203.13939%209.12101C3.79644%209.37246%204.48713%209.51409%205.21149%209.54592C5.48071%209.88967%205.7852%2010.192%206.12494%2010.453C6.36853%2010.6695%206.53679%2010.9002%206.62974%2011.1453C6.72269%2011.3904%206.76916%2011.6752%206.76916%2011.9999C6.76916%2012.3436%206.67141%2012.6333%206.4759%2012.8688C6.28038%2013.1043%205.96789%2013.2221%205.53841%2013.2221C5.05764%2013.2221%204.62976%2013.3669%204.25476%2013.6566C3.87977%2013.9462%203.69227%2014.3106%203.69227%2014.7499V15.361C3.69227%2015.4501%203.72112%2015.5233%203.77881%2015.5806C3.8365%2015.6379%203.91022%2015.6665%203.99996%2015.6665H11.9999C12.0896%2015.6665%2012.1633%2015.6379%2012.221%2015.5806C12.2787%2015.5233%2012.3076%2015.4501%2012.3076%2015.361V14.7499C12.3076%2014.3106%2012.1201%2013.9462%2011.7451%2013.6566C11.3701%2013.3669%2010.9422%2013.2221%2010.4614%2013.2221C10.0319%2013.2221%209.71945%2013.1043%209.52394%2012.8688C9.32843%2012.6333%209.23068%2012.3436%209.23068%2011.9999C9.23068%2011.6752%209.27715%2011.3904%209.3701%2011.1453C9.46305%2010.9002%209.63131%2010.6695%209.8749%2010.453C10.2146%2010.192%2010.5191%209.88967%2010.7884%209.54592C11.5127%209.51409%2012.2034%209.37246%2012.8604%209.12101C13.5175%208.86957%2014.072%208.55924%2014.5239%208.19003C14.9758%207.82082%2015.3348%207.40705%2015.6008%206.94872C15.8668%206.49039%2015.9998%206.03525%2015.9998%205.58329ZM6.76047%207.1798L8.05109%206.49997L9.3417%207.1798L9.09521%205.73989L10.1393%204.72015L8.69639%204.51007L8.05109%203.2L7.40578%204.51007L5.96283%204.72015L7.00696%205.73989L6.76047%207.1798Z'%20fill='%23F2C94C'/%3e%3c/g%3e%3c/svg%3e",US=({avatar:n,name:r,points:i,friendsRank:u,rank:c,streak:p,correct:m,incorrect:k,inTop:S,successRate:I})=>R.jsxs(iD,{children:[R.jsx(lD,{children:R.jsxs(cD,{children:[R.jsxs(wD,{children:[n&&R.jsx(dD,{alt:"avatar",src:n}),!n&&R.jsx(SD,{children:p9(r||"")})]}),R.jsxs(fD,{children:[R.jsx(mD,{children:r}),R.jsxs(pD,{children:[R.jsxs(gD,{children:[R.jsx(hD,{alt:"rank-icon",src:ED}),R.jsxs(yD,{children:[DS(i),R.jsx(vD,{children:"PTS"})]})]}),R.jsx(kD,{}),R.jsxs("div",{children:["TOP ",S||0,"%"]})]})]})]})}),R.jsxs(uD,{children:[R.jsxs(bD,{children:[R.jsx(qk,{indicator:u||0,title:"Friends rank"}),R.jsx(qk,{indicator:c||0,title:"Global rank"})]}),R.jsxs(TD,{children:[R.jsx(ug,{indicator:p||0,title:"Win streak"}),R.jsx(ug,{indicator:m||0,title:"Correct"}),R.jsx(ug,{indicator:k||0,title:"Incorrect"}),R.jsx(ug,{indicator:`${I||0}%`,title:"Succ. rate"})]})]})]});function CD(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var FS={exports:{}},Gn=FS.exports={},$s,Hs;function L4(){throw new Error("setTimeout has not been defined")}function x4(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?$s=setTimeout:$s=L4}catch{$s=L4}try{typeof clearTimeout=="function"?Hs=clearTimeout:Hs=x4}catch{Hs=x4}})();function jS(n){if($s===setTimeout)return setTimeout(n,0);if(($s===L4||!$s)&&setTimeout)return $s=setTimeout,setTimeout(n,0);try{return $s(n,0)}catch{try{return $s.call(null,n,0)}catch{return $s.call(this,n,0)}}}function _D(n){if(Hs===clearTimeout)return clearTimeout(n);if((Hs===x4||!Hs)&&clearTimeout)return Hs=clearTimeout,clearTimeout(n);try{return Hs(n)}catch{try{return Hs.call(null,n)}catch{return Hs.call(this,n)}}}var Qi=[],X1=!1,Nc,Eg=-1;function RD(){!X1||!Nc||(X1=!1,Nc.length?Qi=Nc.concat(Qi):Eg=-1,Qi.length&&VS())}function VS(){if(!X1){var n=jS(RD);X1=!0;for(var r=Qi.length;r;){for(Nc=Qi,Qi=[];++Eg<r;)Nc&&Nc[Eg].run();Eg=-1,r=Qi.length}Nc=null,X1=!1,_D(n)}}Gn.nextTick=function(n){var r=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)r[i-1]=arguments[i];Qi.push(new BS(n,r)),Qi.length===1&&!X1&&jS(VS)};function BS(n,r){this.fun=n,this.array=r}BS.prototype.run=function(){this.fun.apply(null,this.array)};Gn.title="browser";Gn.browser=!0;Gn.env={};Gn.argv=[];Gn.version="";Gn.versions={};function tl(){}Gn.on=tl;Gn.addListener=tl;Gn.once=tl;Gn.off=tl;Gn.removeListener=tl;Gn.removeAllListeners=tl;Gn.emit=tl;Gn.prependListener=tl;Gn.prependOnceListener=tl;Gn.listeners=function(n){return[]};Gn.binding=function(n){throw new Error("process.binding is not supported")};Gn.cwd=function(){return"/"};Gn.chdir=function(n){throw new Error("process.chdir is not supported")};Gn.umask=function(){return 0};var ID=FS.exports;const df=CD(ID);var O4={exports:{}},zr={},Q8={exports:{}},Wk={};/**
18
+ * @license React
19
+ * scheduler.production.min.js
20
+ *
21
+ * Copyright (c) Facebook, Inc. and its affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var Qk;function ND(){return Qk||(Qk=1,function(n){function r(Re,je){var Ne=Re.length;Re.push(je);e:for(;0<Ne;){var Ge=Ne-1>>>1,Y=Re[Ge];if(0<c(Y,je))Re[Ge]=je,Re[Ne]=Y,Ne=Ge;else break e}}function i(Re){return Re.length===0?null:Re[0]}function u(Re){if(Re.length===0)return null;var je=Re[0],Ne=Re.pop();if(Ne!==je){Re[0]=Ne;e:for(var Ge=0,Y=Re.length,pe=Y>>>1;Ge<pe;){var ve=2*(Ge+1)-1,Ve=Re[ve],ht=ve+1,gt=Re[ht];if(0>c(Ve,Ne))ht<Y&&0>c(gt,Ve)?(Re[Ge]=gt,Re[ht]=Ne,Ge=ht):(Re[Ge]=Ve,Re[ve]=Ne,Ge=ve);else if(ht<Y&&0>c(gt,Ne))Re[Ge]=gt,Re[ht]=Ne,Ge=ht;else break e}}return je}function c(Re,je){var Ne=Re.sortIndex-je.sortIndex;return Ne!==0?Ne:Re.id-je.id}if(typeof performance=="object"&&typeof performance.now=="function"){var p=performance;n.unstable_now=function(){return p.now()}}else{var m=Date,k=m.now();n.unstable_now=function(){return m.now()-k}}var S=[],I=[],E=1,x=null,P=3,A=!1,F=!1,V=!1,$=typeof setTimeout=="function"?setTimeout:null,B=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function X(Re){for(var je=i(I);je!==null;){if(je.callback===null)u(I);else if(je.startTime<=Re)u(I),je.sortIndex=je.expirationTime,r(S,je);else break;je=i(I)}}function ee(Re){if(V=!1,X(Re),!F)if(i(S)!==null)F=!0,xt(ie);else{var je=i(I);je!==null&&In(ee,je.startTime-Re)}}function ie(Re,je){F=!1,V&&(V=!1,B(Le),Le=-1),A=!0;var Ne=P;try{for(X(je),x=i(S);x!==null&&(!(x.expirationTime>je)||Re&&!Be());){var Ge=x.callback;if(typeof Ge=="function"){x.callback=null,P=x.priorityLevel;var Y=Ge(x.expirationTime<=je);je=n.unstable_now(),typeof Y=="function"?x.callback=Y:x===i(S)&&u(S),X(je)}else u(S);x=i(S)}if(x!==null)var pe=!0;else{var ve=i(I);ve!==null&&In(ee,ve.startTime-je),pe=!1}return pe}finally{x=null,P=Ne,A=!1}}var fe=!1,ce=null,Le=-1,_e=5,Qe=-1;function Be(){return!(n.unstable_now()-Qe<_e)}function it(){if(ce!==null){var Re=n.unstable_now();Qe=Re;var je=!0;try{je=ce(!0,Re)}finally{je?He():(fe=!1,ce=null)}}else fe=!1}var He;if(typeof H=="function")He=function(){H(it)};else if(typeof MessageChannel<"u"){var et=new MessageChannel,Lt=et.port2;et.port1.onmessage=it,He=function(){Lt.postMessage(null)}}else He=function(){$(it,0)};function xt(Re){ce=Re,fe||(fe=!0,He())}function In(Re,je){Le=$(function(){Re(n.unstable_now())},je)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Re){Re.callback=null},n.unstable_continueExecution=function(){F||A||(F=!0,xt(ie))},n.unstable_forceFrameRate=function(Re){0>Re||125<Re?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_e=0<Re?Math.floor(1e3/Re):5},n.unstable_getCurrentPriorityLevel=function(){return P},n.unstable_getFirstCallbackNode=function(){return i(S)},n.unstable_next=function(Re){switch(P){case 1:case 2:case 3:var je=3;break;default:je=P}var Ne=P;P=je;try{return Re()}finally{P=Ne}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(Re,je){switch(Re){case 1:case 2:case 3:case 4:case 5:break;default:Re=3}var Ne=P;P=Re;try{return je()}finally{P=Ne}},n.unstable_scheduleCallback=function(Re,je,Ne){var Ge=n.unstable_now();switch(typeof Ne=="object"&&Ne!==null?(Ne=Ne.delay,Ne=typeof Ne=="number"&&0<Ne?Ge+Ne:Ge):Ne=Ge,Re){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}return Y=Ne+Y,Re={id:E++,callback:je,priorityLevel:Re,startTime:Ne,expirationTime:Y,sortIndex:-1},Ne>Ge?(Re.sortIndex=Ne,r(I,Re),i(S)===null&&Re===i(I)&&(V?(B(Le),Le=-1):V=!0,In(ee,Ne-Ge))):(Re.sortIndex=Y,r(S,Re),F||A||(F=!0,xt(ie))),Re},n.unstable_shouldYield=Be,n.unstable_wrapCallback=function(Re){var je=P;return function(){var Ne=P;P=je;try{return Re.apply(this,arguments)}finally{P=Ne}}}}(Wk)),Wk}var Yk={},Kk;function LD(){return Kk||(Kk=1,function(n){df.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,i=!1,u=5;function c(y,C){var L=y.length;y.push(C),k(y,C,L)}function p(y){return y.length===0?null:y[0]}function m(y){if(y.length===0)return null;var C=y[0],L=y.pop();return L!==C&&(y[0]=L,S(y,L,0)),C}function k(y,C,L){for(var z=L;z>0;){var K=z-1>>>1,de=y[K];if(I(de,C)>0)y[K]=C,y[z]=de,z=K;else return}}function S(y,C,L){for(var z=L,K=y.length,de=K>>>1;z<de;){var Te=(z+1)*2-1,St=y[Te],wt=Te+1,It=y[wt];if(I(St,C)<0)wt<K&&I(It,St)<0?(y[z]=It,y[wt]=C,z=wt):(y[z]=St,y[Te]=C,z=Te);else if(wt<K&&I(It,C)<0)y[z]=It,y[wt]=C,z=wt;else return}}function I(y,C){var L=y.sortIndex-C.sortIndex;return L!==0?L:y.id-C.id}var E=1,x=2,P=3,A=4,F=5,V=typeof performance=="object"&&typeof performance.now=="function";if(V){var $=performance;n.unstable_now=function(){return $.now()}}else{var B=Date,H=B.now();n.unstable_now=function(){return B.now()-H}}var X=1073741823,ee=-1,ie=250,fe=5e3,ce=1e4,Le=X,_e=[],Qe=[],Be=1,it=null,He=P,et=!1,Lt=!1,xt=!1,In=typeof setTimeout=="function"?setTimeout:null,Re=typeof clearTimeout=="function"?clearTimeout:null,je=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ne(y){for(var C=p(Qe);C!==null;){if(C.callback===null)m(Qe);else if(C.startTime<=y)m(Qe),C.sortIndex=C.expirationTime,c(_e,C);else return;C=p(Qe)}}function Ge(y){if(xt=!1,Ne(y),!Lt)if(p(_e)!==null)Lt=!0,dn(Y);else{var C=p(Qe);C!==null&&Tr(Ge,C.startTime-y)}}function Y(y,C){Lt=!1,xt&&(xt=!1,Sa()),et=!0;var L=He;try{var z;if(!i)return pe(y,C)}finally{it=null,He=L,et=!1}}function pe(y,C){var L=C;for(Ne(L),it=p(_e);it!==null&&!r&&!(it.expirationTime>L&&(!y||Xa()));){var z=it.callback;if(typeof z=="function"){it.callback=null,He=it.priorityLevel;var K=it.expirationTime<=L,de=z(K);L=n.unstable_now(),typeof de=="function"?it.callback=de:it===p(_e)&&m(_e),Ne(L)}else m(_e);it=p(_e)}if(it!==null)return!0;var Te=p(Qe);return Te!==null&&Tr(Ge,Te.startTime-L),!1}function ve(y,C){switch(y){case E:case x:case P:case A:case F:break;default:y=P}var L=He;He=y;try{return C()}finally{He=L}}function Ve(y){var C;switch(He){case E:case x:case P:C=P;break;default:C=He;break}var L=He;He=C;try{return y()}finally{He=L}}function ht(y){var C=He;return function(){var L=He;He=C;try{return y.apply(this,arguments)}finally{He=L}}}function gt(y,C,L){var z=n.unstable_now(),K;if(typeof L=="object"&&L!==null){var de=L.delay;typeof de=="number"&&de>0?K=z+de:K=z}else K=z;var Te;switch(y){case E:Te=ee;break;case x:Te=ie;break;case F:Te=Le;break;case A:Te=ce;break;case P:default:Te=fe;break}var St=K+Te,wt={id:Be++,callback:C,priorityLevel:y,startTime:K,expirationTime:St,sortIndex:-1};return K>z?(wt.sortIndex=K,c(Qe,wt),p(_e)===null&&wt===p(Qe)&&(xt?Sa():xt=!0,Tr(Ge,K-z))):(wt.sortIndex=St,c(_e,wt),!Lt&&!et&&(Lt=!0,dn(Y))),wt}function ot(){}function ft(){!Lt&&!et&&(Lt=!0,dn(Y))}function Rt(){return p(_e)}function zt(y){y.callback=null}function bn(){return He}var Yt=!1,cn=null,Mn=-1,Tn=u,Nn=-1;function Xa(){var y=n.unstable_now()-Nn;return!(y<Tn)}function ke(){}function er(y){if(y<0||y>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}y>0?Tn=Math.floor(1e3/y):Tn=u}var kr=function(){if(cn!==null){var y=n.unstable_now();Nn=y;var C=!0,L=!0;try{L=cn(C,y)}finally{L?Gr():(Yt=!1,cn=null)}}else Yt=!1},Gr;if(typeof je=="function")Gr=function(){je(kr)};else if(typeof MessageChannel<"u"){var qr=new MessageChannel,br=qr.port2;qr.port1.onmessage=kr,Gr=function(){br.postMessage(null)}}else Gr=function(){In(kr,0)};function dn(y){cn=y,Yt||(Yt=!0,Gr())}function Tr(y,C){Mn=In(function(){y(n.unstable_now())},C)}function Sa(){Re(Mn),Mn=-1}var Dn=ke,Ks=null;n.unstable_IdlePriority=F,n.unstable_ImmediatePriority=E,n.unstable_LowPriority=A,n.unstable_NormalPriority=P,n.unstable_Profiling=Ks,n.unstable_UserBlockingPriority=x,n.unstable_cancelCallback=zt,n.unstable_continueExecution=ft,n.unstable_forceFrameRate=er,n.unstable_getCurrentPriorityLevel=bn,n.unstable_getFirstCallbackNode=Rt,n.unstable_next=Ve,n.unstable_pauseExecution=ot,n.unstable_requestPaint=Dn,n.unstable_runWithPriority=ve,n.unstable_scheduleCallback=gt,n.unstable_shouldYield=Xa,n.unstable_wrapCallback=ht,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Yk)),Yk}var Zk;function zS(){return Zk||(Zk=1,df.env.NODE_ENV==="production"?Q8.exports=ND():Q8.exports=LD()),Q8.exports}/**
26
+ * @license React
27
+ * react-dom.production.min.js
28
+ *
29
+ * Copyright (c) Facebook, Inc. and its affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var Jk;function xD(){if(Jk)return zr;Jk=1;var n=ue,r=zS();function i(a){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)o+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+a+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var u=new Set,c={};function p(a,o){m(a,o),m(a+"Capture",o)}function m(a,o){for(c[a]=o,a=0;a<o.length;a++)u.add(o[a])}var k=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),S=Object.prototype.hasOwnProperty,I=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,E={},x={};function P(a){return S.call(x,a)?!0:S.call(E,a)?!1:I.test(a)?x[a]=!0:(E[a]=!0,!1)}function A(a,o,d,h){if(d!==null&&d.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return h?!1:d!==null?!d.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function F(a,o,d,h){if(o===null||typeof o>"u"||A(a,o,d,h))return!0;if(h)return!1;if(d!==null)switch(d.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function V(a,o,d,h,v,w,O){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=h,this.attributeNamespace=v,this.mustUseProperty=d,this.propertyName=a,this.type=o,this.sanitizeURL=w,this.removeEmptyString=O}var $={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){$[a]=new V(a,0,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var o=a[0];$[o]=new V(o,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){$[a]=new V(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){$[a]=new V(a,2,!1,a,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){$[a]=new V(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){$[a]=new V(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){$[a]=new V(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){$[a]=new V(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){$[a]=new V(a,5,!1,a.toLowerCase(),null,!1,!1)});var B=/[\-:]([a-z])/g;function H(a){return a[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var o=a.replace(B,H);$[o]=new V(o,1,!1,a,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var o=a.replace(B,H);$[o]=new V(o,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var o=a.replace(B,H);$[o]=new V(o,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){$[a]=new V(a,1,!1,a.toLowerCase(),null,!1,!1)}),$.xlinkHref=new V("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){$[a]=new V(a,1,!1,a.toLowerCase(),null,!0,!0)});function X(a,o,d,h){var v=$.hasOwnProperty(o)?$[o]:null;(v!==null?v.type!==0:h||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(F(o,d,v,h)&&(d=null),h||v===null?P(o)&&(d===null?a.removeAttribute(o):a.setAttribute(o,""+d)):v.mustUseProperty?a[v.propertyName]=d===null?v.type===3?!1:"":d:(o=v.attributeName,h=v.attributeNamespace,d===null?a.removeAttribute(o):(v=v.type,d=v===3||v===4&&d===!0?"":""+d,h?a.setAttributeNS(h,o,d):a.setAttribute(o,d))))}var ee=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ie=Symbol.for("react.element"),fe=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),Le=Symbol.for("react.strict_mode"),_e=Symbol.for("react.profiler"),Qe=Symbol.for("react.provider"),Be=Symbol.for("react.context"),it=Symbol.for("react.forward_ref"),He=Symbol.for("react.suspense"),et=Symbol.for("react.suspense_list"),Lt=Symbol.for("react.memo"),xt=Symbol.for("react.lazy"),In=Symbol.for("react.offscreen"),Re=Symbol.iterator;function je(a){return a===null||typeof a!="object"?null:(a=Re&&a[Re]||a["@@iterator"],typeof a=="function"?a:null)}var Ne=Object.assign,Ge;function Y(a){if(Ge===void 0)try{throw Error()}catch(d){var o=d.stack.trim().match(/\n( *(at )?)/);Ge=o&&o[1]||""}return`
34
+ `+Ge+a}var pe=!1;function ve(a,o){if(!a||pe)return"";pe=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(le){var h=le}Reflect.construct(a,[],o)}else{try{o.call()}catch(le){h=le}a.call(o.prototype)}else{try{throw Error()}catch(le){h=le}a()}}catch(le){if(le&&h&&typeof le.stack=="string"){for(var v=le.stack.split(`
35
+ `),w=h.stack.split(`
36
+ `),O=v.length-1,j=w.length-1;1<=O&&0<=j&&v[O]!==w[j];)j--;for(;1<=O&&0<=j;O--,j--)if(v[O]!==w[j]){if(O!==1||j!==1)do if(O--,j--,0>j||v[O]!==w[j]){var G=`
37
+ `+v[O].replace(" at new "," at ");return a.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",a.displayName)),G}while(1<=O&&0<=j);break}}}finally{pe=!1,Error.prepareStackTrace=d}return(a=a?a.displayName||a.name:"")?Y(a):""}function Ve(a){switch(a.tag){case 5:return Y(a.type);case 16:return Y("Lazy");case 13:return Y("Suspense");case 19:return Y("SuspenseList");case 0:case 2:case 15:return a=ve(a.type,!1),a;case 11:return a=ve(a.type.render,!1),a;case 1:return a=ve(a.type,!0),a;default:return""}}function ht(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case ce:return"Fragment";case fe:return"Portal";case _e:return"Profiler";case Le:return"StrictMode";case He:return"Suspense";case et:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case Be:return(a.displayName||"Context")+".Consumer";case Qe:return(a._context.displayName||"Context")+".Provider";case it:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case Lt:return o=a.displayName||null,o!==null?o:ht(a.type)||"Memo";case xt:o=a._payload,a=a._init;try{return ht(a(o))}catch{}}return null}function gt(a){var o=a.type;switch(a.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=o.render,a=a.displayName||a.name||"",o.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ht(o);case 8:return o===Le?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function ot(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function ft(a){var o=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Rt(a){var o=ft(a)?"checked":"value",d=Object.getOwnPropertyDescriptor(a.constructor.prototype,o),h=""+a[o];if(!a.hasOwnProperty(o)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var v=d.get,w=d.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return v.call(this)},set:function(O){h=""+O,w.call(this,O)}}),Object.defineProperty(a,o,{enumerable:d.enumerable}),{getValue:function(){return h},setValue:function(O){h=""+O},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function zt(a){a._valueTracker||(a._valueTracker=Rt(a))}function bn(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var d=o.getValue(),h="";return a&&(h=ft(a)?a.checked?"true":"false":a.value),a=h,a!==d?(o.setValue(a),!0):!1}function Yt(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function cn(a,o){var d=o.checked;return Ne({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:d??a._wrapperState.initialChecked})}function Mn(a,o){var d=o.defaultValue==null?"":o.defaultValue,h=o.checked!=null?o.checked:o.defaultChecked;d=ot(o.value!=null?o.value:d),a._wrapperState={initialChecked:h,initialValue:d,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function Tn(a,o){o=o.checked,o!=null&&X(a,"checked",o,!1)}function Nn(a,o){Tn(a,o);var d=ot(o.value),h=o.type;if(d!=null)h==="number"?(d===0&&a.value===""||a.value!=d)&&(a.value=""+d):a.value!==""+d&&(a.value=""+d);else if(h==="submit"||h==="reset"){a.removeAttribute("value");return}o.hasOwnProperty("value")?ke(a,o.type,d):o.hasOwnProperty("defaultValue")&&ke(a,o.type,ot(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(a.defaultChecked=!!o.defaultChecked)}function Xa(a,o,d){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var h=o.type;if(!(h!=="submit"&&h!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+a._wrapperState.initialValue,d||o===a.value||(a.value=o),a.defaultValue=o}d=a.name,d!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,d!==""&&(a.name=d)}function ke(a,o,d){(o!=="number"||Yt(a.ownerDocument)!==a)&&(d==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+d&&(a.defaultValue=""+d))}var er=Array.isArray;function kr(a,o,d,h){if(a=a.options,o){o={};for(var v=0;v<d.length;v++)o["$"+d[v]]=!0;for(d=0;d<a.length;d++)v=o.hasOwnProperty("$"+a[d].value),a[d].selected!==v&&(a[d].selected=v),v&&h&&(a[d].defaultSelected=!0)}else{for(d=""+ot(d),o=null,v=0;v<a.length;v++){if(a[v].value===d){a[v].selected=!0,h&&(a[v].defaultSelected=!0);return}o!==null||a[v].disabled||(o=a[v])}o!==null&&(o.selected=!0)}}function Gr(a,o){if(o.dangerouslySetInnerHTML!=null)throw Error(i(91));return Ne({},o,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function qr(a,o){var d=o.value;if(d==null){if(d=o.children,o=o.defaultValue,d!=null){if(o!=null)throw Error(i(92));if(er(d)){if(1<d.length)throw Error(i(93));d=d[0]}o=d}o==null&&(o=""),d=o}a._wrapperState={initialValue:ot(d)}}function br(a,o){var d=ot(o.value),h=ot(o.defaultValue);d!=null&&(d=""+d,d!==a.value&&(a.value=d),o.defaultValue==null&&a.defaultValue!==d&&(a.defaultValue=d)),h!=null&&(a.defaultValue=""+h)}function dn(a){var o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function Tr(a){switch(a){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Sa(a,o){return a==null||a==="http://www.w3.org/1999/xhtml"?Tr(o):a==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var Dn,Ks=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,d,h,v){MSApp.execUnsafeLocalFunction(function(){return a(o,d,h,v)})}:a}(function(a,o){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=o;else{for(Dn=Dn||document.createElement("div"),Dn.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=Dn.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;o.firstChild;)a.appendChild(o.firstChild)}});function y(a,o){if(o){var d=a.firstChild;if(d&&d===a.lastChild&&d.nodeType===3){d.nodeValue=o;return}}a.textContent=o}var C={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},L=["Webkit","ms","Moz","O"];Object.keys(C).forEach(function(a){L.forEach(function(o){o=o+a.charAt(0).toUpperCase()+a.substring(1),C[o]=C[a]})});function z(a,o,d){return o==null||typeof o=="boolean"||o===""?"":d||typeof o!="number"||o===0||C.hasOwnProperty(a)&&C[a]?(""+o).trim():o+"px"}function K(a,o){a=a.style;for(var d in o)if(o.hasOwnProperty(d)){var h=d.indexOf("--")===0,v=z(d,o[d],h);d==="float"&&(d="cssFloat"),h?a.setProperty(d,v):a[d]=v}}var de=Ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Te(a,o){if(o){if(de[a]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(i(137,a));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(i(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(i(61))}if(o.style!=null&&typeof o.style!="object")throw Error(i(62))}}function St(a,o){if(a.indexOf("-")===-1)return typeof o.is=="string";switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var wt=null;function It(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var Dt=null,kt=null,hn=null;function Yp(a){if(a=Mu(a)){if(typeof Dt!="function")throw Error(i(280));var o=a.stateNode;o&&(o=Xe(o),Dt(a.stateNode,a.type,o))}}function Vc(a){kt?hn?hn.push(a):hn=[a]:kt=a}function Bc(){if(kt){var a=kt,o=hn;if(hn=kt=null,Yp(a),o)for(a=0;a<o.length;a++)Yp(o[a])}}function Kp(a,o){return a(o)}function Zp(){}var zc=!1;function hf(a,o,d){if(zc)return a(o,d);zc=!0;try{return Kp(a,o,d)}finally{zc=!1,(kt!==null||hn!==null)&&(Zp(),Bc())}}function du(a,o){var d=a.stateNode;if(d===null)return null;var h=Xe(d);if(h===null)return null;d=h[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(a=a.type,h=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!h;break e;default:a=!1}if(a)return null;if(d&&typeof d!="function")throw Error(i(231,o,typeof d));return d}var $c=!1;if(k)try{var Zs={};Object.defineProperty(Zs,"passive",{get:function(){$c=!0}}),window.addEventListener("test",Zs,Zs),window.removeEventListener("test",Zs,Zs)}catch{$c=!1}function rl(a,o,d,h,v,w,O,j,G){var le=Array.prototype.slice.call(arguments,3);try{o.apply(d,le)}catch(Se){this.onError(Se)}}var Wr=!1,Io=null,ol=!1,fu=null,gf={onError:function(a){Wr=!0,Io=a}};function yf(a,o,d,h,v,w,O,j,G){Wr=!1,Io=null,rl.apply(gf,arguments)}function sl(a,o,d,h,v,w,O,j,G){if(yf.apply(this,arguments),Wr){if(Wr){var le=Io;Wr=!1,Io=null}else throw Error(i(198));ol||(ol=!0,fu=le)}}function co(a){var o=a,d=a;if(a.alternate)for(;o.return;)o=o.return;else{a=o;do o=a,o.flags&4098&&(d=o.return),a=o.return;while(a)}return o.tag===3?d:null}function mu(a){if(a.tag===13){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function il(a){if(co(a)!==a)throw Error(i(188))}function wa(a){var o=a.alternate;if(!o){if(o=co(a),o===null)throw Error(i(188));return o!==a?null:a}for(var d=a,h=o;;){var v=d.return;if(v===null)break;var w=v.alternate;if(w===null){if(h=v.return,h!==null){d=h;continue}break}if(v.child===w.child){for(w=v.child;w;){if(w===d)return il(v),a;if(w===h)return il(v),o;w=w.sibling}throw Error(i(188))}if(d.return!==h.return)d=v,h=w;else{for(var O=!1,j=v.child;j;){if(j===d){O=!0,d=v,h=w;break}if(j===h){O=!0,h=v,d=w;break}j=j.sibling}if(!O){for(j=w.child;j;){if(j===d){O=!0,d=w,h=v;break}if(j===h){O=!0,h=w,d=v;break}j=j.sibling}if(!O)throw Error(i(189))}}if(d.alternate!==h)throw Error(i(190))}if(d.tag!==3)throw Error(i(188));return d.stateNode.current===d?a:o}function Jp(a){return a=wa(a),a!==null?Xp(a):null}function Xp(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var o=Xp(a);if(o!==null)return o;a=a.sibling}return null}var vf=r.unstable_scheduleCallback,e0=r.unstable_cancelCallback,f3=r.unstable_shouldYield,m3=r.unstable_requestPaint,gn=r.unstable_now,p3=r.unstable_getCurrentPriorityLevel,No=r.unstable_ImmediatePriority,Nt=r.unstable_UserBlockingPriority,as=r.unstable_NormalPriority,t0=r.unstable_LowPriority,kf=r.unstable_IdlePriority,pu=null,Qr=null;function n0(a){if(Qr&&typeof Qr.onCommitFiberRoot=="function")try{Qr.onCommitFiberRoot(pu,a,void 0,(a.current.flags&128)===128)}catch{}}var Sr=Math.clz32?Math.clz32:h3,a0=Math.log,r0=Math.LN2;function h3(a){return a>>>=0,a===0?32:31-(a0(a)/r0|0)|0}var Hc=64,ll=4194304;function Js(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function Yr(a,o){var d=a.pendingLanes;if(d===0)return 0;var h=0,v=a.suspendedLanes,w=a.pingedLanes,O=d&268435455;if(O!==0){var j=O&~v;j!==0?h=Js(j):(w&=O,w!==0&&(h=Js(w)))}else O=d&~v,O!==0?h=Js(O):w!==0&&(h=Js(w));if(h===0)return 0;if(o!==0&&o!==h&&!(o&v)&&(v=h&-h,w=o&-o,v>=w||v===16&&(w&4194240)!==0))return o;if(h&4&&(h|=d&16),o=a.entangledLanes,o!==0)for(a=a.entanglements,o&=h;0<o;)d=31-Sr(o),v=1<<d,h|=a[d],o&=~v;return h}function bf(a,o){switch(a){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Gc(a,o){for(var d=a.suspendedLanes,h=a.pingedLanes,v=a.expirationTimes,w=a.pendingLanes;0<w;){var O=31-Sr(w),j=1<<O,G=v[O];G===-1?(!(j&d)||j&h)&&(v[O]=bf(j,o)):G<=o&&(a.expiredLanes|=j),w&=~j}}function Tf(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function qc(){var a=Hc;return Hc<<=1,!(Hc&4194240)&&(Hc=64),a}function Sf(a){for(var o=[],d=0;31>d;d++)o.push(a);return o}function Xs(a,o,d){a.pendingLanes|=o,o!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,o=31-Sr(o),a[o]=d}function g3(a,o){var d=a.pendingLanes&~o;a.pendingLanes=o,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=o,a.mutableReadLanes&=o,a.entangledLanes&=o,o=a.entanglements;var h=a.eventTimes;for(a=a.expirationTimes;0<d;){var v=31-Sr(d),w=1<<v;o[v]=0,h[v]=-1,a[v]=-1,d&=~w}}function hu(a,o){var d=a.entangledLanes|=o;for(a=a.entanglements;d;){var h=31-Sr(d),v=1<<h;v&o|a[h]&o&&(a[h]|=o),d&=~v}}var Gt=0;function wf(a){return a&=-a,1<a?4<a?a&268435455?16:536870912:4:1}var o0,Wc,Kt,s0,Ef,pt=!1,gu=[],Ln=null,wr=null,Er=null,yu=new Map,Un=new Map,qt=[],y3="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Kr(a,o){switch(a){case"focusin":case"focusout":Ln=null;break;case"dragenter":case"dragleave":wr=null;break;case"mouseover":case"mouseout":Er=null;break;case"pointerover":case"pointerout":yu.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Un.delete(o.pointerId)}}function ma(a,o,d,h,v,w){return a===null||a.nativeEvent!==w?(a={blockedOn:o,domEventName:d,eventSystemFlags:h,nativeEvent:w,targetContainers:[v]},o!==null&&(o=Mu(o),o!==null&&Wc(o)),a):(a.eventSystemFlags|=h,o=a.targetContainers,v!==null&&o.indexOf(v)===-1&&o.push(v),a)}function rs(a,o,d,h,v){switch(o){case"focusin":return Ln=ma(Ln,a,o,d,h,v),!0;case"dragenter":return wr=ma(wr,a,o,d,h,v),!0;case"mouseover":return Er=ma(Er,a,o,d,h,v),!0;case"pointerover":var w=v.pointerId;return yu.set(w,ma(yu.get(w)||null,a,o,d,h,v)),!0;case"gotpointercapture":return w=v.pointerId,Un.set(w,ma(Un.get(w)||null,a,o,d,h,v)),!0}return!1}function i0(a){var o=_r(a.target);if(o!==null){var d=co(o);if(d!==null){if(o=d.tag,o===13){if(o=mu(d),o!==null){a.blockedOn=o,Ef(a.priority,function(){Kt(d)});return}}else if(o===3&&d.stateNode.current.memoizedState.isDehydrated){a.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}a.blockedOn=null}function ul(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var d=Kc(a.domEventName,a.eventSystemFlags,o[0],a.nativeEvent);if(d===null){d=a.nativeEvent;var h=new d.constructor(d.type,d);wt=h,d.target.dispatchEvent(h),wt=null}else return o=Mu(d),o!==null&&Wc(o),a.blockedOn=d,!1;o.shift()}return!0}function Cf(a,o,d){ul(a)&&d.delete(o)}function l0(){pt=!1,Ln!==null&&ul(Ln)&&(Ln=null),wr!==null&&ul(wr)&&(wr=null),Er!==null&&ul(Er)&&(Er=null),yu.forEach(Cf),Un.forEach(Cf)}function vu(a,o){a.blockedOn===o&&(a.blockedOn=null,pt||(pt=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,l0)))}function ku(a){function o(v){return vu(v,a)}if(0<gu.length){vu(gu[0],a);for(var d=1;d<gu.length;d++){var h=gu[d];h.blockedOn===a&&(h.blockedOn=null)}}for(Ln!==null&&vu(Ln,a),wr!==null&&vu(wr,a),Er!==null&&vu(Er,a),yu.forEach(o),Un.forEach(o),d=0;d<qt.length;d++)h=qt[d],h.blockedOn===a&&(h.blockedOn=null);for(;0<qt.length&&(d=qt[0],d.blockedOn===null);)i0(d),d.blockedOn===null&&qt.shift()}var cl=ee.ReactCurrentBatchConfig,ei=!0;function u0(a,o,d,h){var v=Gt,w=cl.transition;cl.transition=null;try{Gt=1,Yc(a,o,d,h)}finally{Gt=v,cl.transition=w}}function Qc(a,o,d,h){var v=Gt,w=cl.transition;cl.transition=null;try{Gt=4,Yc(a,o,d,h)}finally{Gt=v,cl.transition=w}}function Yc(a,o,d,h){if(ei){var v=Kc(a,o,d,h);if(v===null)ld(a,o,h,bu,d),Kr(a,h);else if(rs(v,a,o,d,h))h.stopPropagation();else if(Kr(a,h),o&4&&-1<y3.indexOf(a)){for(;v!==null;){var w=Mu(v);if(w!==null&&o0(w),w=Kc(a,o,d,h),w===null&&ld(a,o,h,bu,d),w===v)break;v=w}v!==null&&h.stopPropagation()}else ld(a,o,h,null,d)}}var bu=null;function Kc(a,o,d,h){if(bu=null,a=It(h),a=_r(a),a!==null)if(o=co(a),o===null)a=null;else if(d=o.tag,d===13){if(a=mu(o),a!==null)return a;a=null}else if(d===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null);return bu=a,null}function _f(a){switch(a){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(p3()){case No:return 1;case Nt:return 4;case as:case t0:return 16;case kf:return 536870912;default:return 16}default:return 16}}var Lo=null,Tu=null,Su=null;function Rf(){if(Su)return Su;var a,o=Tu,d=o.length,h,v="value"in Lo?Lo.value:Lo.textContent,w=v.length;for(a=0;a<d&&o[a]===v[a];a++);var O=d-a;for(h=1;h<=O&&o[d-h]===v[w-h];h++);return Su=v.slice(a,1<h?1-h:void 0)}function dl(a){var o=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&o===13&&(a=13)):a=o,a===10&&(a=13),32<=a||a===13?a:0}function wu(){return!0}function c0(){return!1}function tr(a){function o(d,h,v,w,O){this._reactName=d,this._targetInst=v,this.type=h,this.nativeEvent=w,this.target=O,this.currentTarget=null;for(var j in a)a.hasOwnProperty(j)&&(d=a[j],this[j]=d?d(w):w[j]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?wu:c0,this.isPropagationStopped=c0,this}return Ne(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=wu)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=wu)},persist:function(){},isPersistent:wu}),o}var os={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zc=tr(os),fl=Ne({},os,{view:0,detail:0}),d0=tr(fl),Jc,If,Eu,Wn=Ne({},fl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Of,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Eu&&(Eu&&a.type==="mousemove"?(Jc=a.screenX-Eu.screenX,If=a.screenY-Eu.screenY):If=Jc=0,Eu=a),Jc)},movementY:function(a){return"movementY"in a?a.movementY:If}}),Xc=tr(Wn),f0=Ne({},Wn,{dataTransfer:0}),m0=tr(f0),v3=Ne({},fl,{relatedTarget:0}),ss=tr(v3),Nf=Ne({},os,{animationName:0,elapsedTime:0,pseudoElement:0}),p0=tr(Nf),k3=Ne({},os,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),b3=tr(k3),T3=Ne({},os,{data:0}),Lf=tr(T3),xf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},h0={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},g0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function y0(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=g0[a])?!!o[a]:!1}function Of(){return y0}var xo=Ne({},fl,{key:function(a){if(a.key){var o=xf[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=dl(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?h0[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Of,charCode:function(a){return a.type==="keypress"?dl(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?dl(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),S3=tr(xo),Af=Ne({},Wn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ed=tr(Af),Pf=Ne({},fl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Of}),w3=tr(Pf),td=Ne({},os,{propertyName:0,elapsedTime:0,pseudoElement:0}),v0=tr(td),Ua=Ne({},Wn,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Oo=tr(Ua),xn=[9,13,27,32],Zr=k&&"CompositionEvent"in window,ti=null;k&&"documentMode"in document&&(ti=document.documentMode);var nd=k&&"TextEvent"in window&&!ti,k0=k&&(!Zr||ti&&8<ti&&11>=ti),ml=" ",b0=!1;function T0(a,o){switch(a){case"keyup":return xn.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ad(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var pl=!1;function E3(a,o){switch(a){case"compositionend":return ad(o);case"keypress":return o.which!==32?null:(b0=!0,ml);case"textInput":return a=o.data,a===ml&&b0?null:a;default:return null}}function C3(a,o){if(pl)return a==="compositionend"||!Zr&&T0(a,o)?(a=Rf(),Su=Tu=Lo=null,pl=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return k0&&o.locale!=="ko"?null:o.data;default:return null}}var S0={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function w0(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!S0[a.type]:o==="textarea"}function E0(a,o,d,h){Vc(h),o=Ou(o,"onChange"),0<o.length&&(d=new Zc("onChange","change",null,d,h),a.push({event:d,listeners:o}))}var Cu=null,hl=null;function gl(a){id(a,0)}function yl(a){var o=kl(a);if(bn(o))return a}function C0(a,o){if(a==="change")return o}var Mf=!1;if(k){var Df;if(k){var Uf="oninput"in document;if(!Uf){var _0=document.createElement("div");_0.setAttribute("oninput","return;"),Uf=typeof _0.oninput=="function"}Df=Uf}else Df=!1;Mf=Df&&(!document.documentMode||9<document.documentMode)}function R0(){Cu&&(Cu.detachEvent("onpropertychange",I0),hl=Cu=null)}function I0(a){if(a.propertyName==="value"&&yl(hl)){var o=[];E0(o,hl,a,It(a)),hf(gl,o)}}function _3(a,o,d){a==="focusin"?(R0(),Cu=o,hl=d,Cu.attachEvent("onpropertychange",I0)):a==="focusout"&&R0()}function R3(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return yl(hl)}function I3(a,o){if(a==="click")return yl(o)}function N0(a,o){if(a==="input"||a==="change")return yl(o)}function N3(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}var Cr=typeof Object.is=="function"?Object.is:N3;function _u(a,o){if(Cr(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var d=Object.keys(a),h=Object.keys(o);if(d.length!==h.length)return!1;for(h=0;h<d.length;h++){var v=d[h];if(!S.call(o,v)||!Cr(a[v],o[v]))return!1}return!0}function L0(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function x0(a,o){var d=L0(a);a=0;for(var h;d;){if(d.nodeType===3){if(h=a+d.textContent.length,a<=o&&h>=o)return{node:d,offset:o-a};a=h}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=L0(d)}}function O0(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?O0(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function rd(){for(var a=window,o=Yt();o instanceof a.HTMLIFrameElement;){try{var d=typeof o.contentWindow.location.href=="string"}catch{d=!1}if(d)a=o.contentWindow;else break;o=Yt(a.document)}return o}function Ao(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o&&(o==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||o==="textarea"||a.contentEditable==="true")}function od(a){var o=rd(),d=a.focusedElem,h=a.selectionRange;if(o!==d&&d&&d.ownerDocument&&O0(d.ownerDocument.documentElement,d)){if(h!==null&&Ao(d)){if(o=h.start,a=h.end,a===void 0&&(a=o),"selectionStart"in d)d.selectionStart=o,d.selectionEnd=Math.min(a,d.value.length);else if(a=(o=d.ownerDocument||document)&&o.defaultView||window,a.getSelection){a=a.getSelection();var v=d.textContent.length,w=Math.min(h.start,v);h=h.end===void 0?w:Math.min(h.end,v),!a.extend&&w>h&&(v=h,h=w,w=v),v=x0(d,w);var O=x0(d,h);v&&O&&(a.rangeCount!==1||a.anchorNode!==v.node||a.anchorOffset!==v.offset||a.focusNode!==O.node||a.focusOffset!==O.offset)&&(o=o.createRange(),o.setStart(v.node,v.offset),a.removeAllRanges(),w>h?(a.addRange(o),a.extend(O.node,O.offset)):(o.setEnd(O.node,O.offset),a.addRange(o)))}}for(o=[],a=d;a=a.parentNode;)a.nodeType===1&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<o.length;d++)a=o[d],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var A0=k&&"documentMode"in document&&11>=document.documentMode,Jr=null,Ff=null,Ru=null,jf=!1;function P0(a,o,d){var h=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;jf||Jr==null||Jr!==Yt(h)||(h=Jr,"selectionStart"in h&&Ao(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),Ru&&_u(Ru,h)||(Ru=h,h=Ou(Ff,"onSelect"),0<h.length&&(o=new Zc("onSelect","select",null,o,d),a.push({event:o,listeners:h}),o.target=Jr)))}function sd(a,o){var d={};return d[a.toLowerCase()]=o.toLowerCase(),d["Webkit"+a]="webkit"+o,d["Moz"+a]="moz"+o,d}var ni={animationend:sd("Animation","AnimationEnd"),animationiteration:sd("Animation","AnimationIteration"),animationstart:sd("Animation","AnimationStart"),transitionend:sd("Transition","TransitionEnd")},Vf={},Bf={};k&&(Bf=document.createElement("div").style,"AnimationEvent"in window||(delete ni.animationend.animation,delete ni.animationiteration.animation,delete ni.animationstart.animation),"TransitionEvent"in window||delete ni.transitionend.transition);function Qn(a){if(Vf[a])return Vf[a];if(!ni[a])return a;var o=ni[a],d;for(d in o)if(o.hasOwnProperty(d)&&d in Bf)return Vf[a]=o[d];return a}var zf=Qn("animationend"),M0=Qn("animationiteration"),D0=Qn("animationstart"),U0=Qn("transitionend"),F0=new Map,j0="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Po(a,o){F0.set(a,o),p(o,[a])}for(var Iu=0;Iu<j0.length;Iu++){var ai=j0[Iu],L3=ai.toLowerCase(),Nu=ai[0].toUpperCase()+ai.slice(1);Po(L3,"on"+Nu)}Po(zf,"onAnimationEnd"),Po(M0,"onAnimationIteration"),Po(D0,"onAnimationStart"),Po("dblclick","onDoubleClick"),Po("focusin","onFocus"),Po("focusout","onBlur"),Po(U0,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),p("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),p("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),p("onBeforeInput",["compositionend","keypress","textInput","paste"]),p("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),x3=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lu));function V0(a,o,d){var h=a.type||"unknown-event";a.currentTarget=d,sl(h,o,void 0,a),a.currentTarget=null}function id(a,o){o=(o&4)!==0;for(var d=0;d<a.length;d++){var h=a[d],v=h.event;h=h.listeners;e:{var w=void 0;if(o)for(var O=h.length-1;0<=O;O--){var j=h[O],G=j.instance,le=j.currentTarget;if(j=j.listener,G!==w&&v.isPropagationStopped())break e;V0(v,j,le),w=G}else for(O=0;O<h.length;O++){if(j=h[O],G=j.instance,le=j.currentTarget,j=j.listener,G!==w&&v.isPropagationStopped())break e;V0(v,j,le),w=G}}}if(ol)throw a=fu,ol=!1,fu=null,a}function Zt(a,o){var d=o[Yf];d===void 0&&(d=o[Yf]=new Set);var h=a+"__bubble";d.has(h)||(B0(o,a,2,!1),d.add(h))}function is(a,o,d){var h=0;o&&(h|=4),B0(d,a,h,o)}var Mo="_reactListening"+Math.random().toString(36).slice(2);function vl(a){if(!a[Mo]){a[Mo]=!0,u.forEach(function(d){d!=="selectionchange"&&(x3.has(d)||is(d,!1,a),is(d,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[Mo]||(o[Mo]=!0,is("selectionchange",!1,o))}}function B0(a,o,d,h){switch(_f(o)){case 1:var v=u0;break;case 4:v=Qc;break;default:v=Yc}d=v.bind(null,o,d,a),v=void 0,!$c||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(v=!0),h?v!==void 0?a.addEventListener(o,d,{capture:!0,passive:v}):a.addEventListener(o,d,!0):v!==void 0?a.addEventListener(o,d,{passive:v}):a.addEventListener(o,d,!1)}function ld(a,o,d,h,v){var w=h;if(!(o&1)&&!(o&2)&&h!==null)e:for(;;){if(h===null)return;var O=h.tag;if(O===3||O===4){var j=h.stateNode.containerInfo;if(j===v||j.nodeType===8&&j.parentNode===v)break;if(O===4)for(O=h.return;O!==null;){var G=O.tag;if((G===3||G===4)&&(G=O.stateNode.containerInfo,G===v||G.nodeType===8&&G.parentNode===v))return;O=O.return}for(;j!==null;){if(O=_r(j),O===null)return;if(G=O.tag,G===5||G===6){h=w=O;continue e}j=j.parentNode}}h=h.return}hf(function(){var le=w,Se=It(d),Ee=[];e:{var we=F0.get(a);if(we!==void 0){var De=Zc,qe=a;switch(a){case"keypress":if(dl(d)===0)break e;case"keydown":case"keyup":De=S3;break;case"focusin":qe="focus",De=ss;break;case"focusout":qe="blur",De=ss;break;case"beforeblur":case"afterblur":De=ss;break;case"click":if(d.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":De=Xc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":De=m0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":De=w3;break;case zf:case M0:case D0:De=p0;break;case U0:De=v0;break;case"scroll":De=d0;break;case"wheel":De=Oo;break;case"copy":case"cut":case"paste":De=b3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":De=ed}var Ye=(o&4)!==0,En=!Ye&&a==="scroll",te=Ye?we!==null?we+"Capture":null:we;Ye=[];for(var W=le,re;W!==null;){re=W;var Ie=re.stateNode;if(re.tag===5&&Ie!==null&&(re=Ie,te!==null&&(Ie=du(W,te),Ie!=null&&Ye.push(xu(W,Ie,re)))),En)break;W=W.return}0<Ye.length&&(we=new De(we,qe,null,d,Se),Ee.push({event:we,listeners:Ye}))}}if(!(o&7)){e:{if(we=a==="mouseover"||a==="pointerover",De=a==="mouseout"||a==="pointerout",we&&d!==wt&&(qe=d.relatedTarget||d.fromElement)&&(_r(qe)||qe[Do]))break e;if((De||we)&&(we=Se.window===Se?Se:(we=Se.ownerDocument)?we.defaultView||we.parentWindow:window,De?(qe=d.relatedTarget||d.toElement,De=le,qe=qe?_r(qe):null,qe!==null&&(En=co(qe),qe!==En||qe.tag!==5&&qe.tag!==6)&&(qe=null)):(De=null,qe=le),De!==qe)){if(Ye=Xc,Ie="onMouseLeave",te="onMouseEnter",W="mouse",(a==="pointerout"||a==="pointerover")&&(Ye=ed,Ie="onPointerLeave",te="onPointerEnter",W="pointer"),En=De==null?we:kl(De),re=qe==null?we:kl(qe),we=new Ye(Ie,W+"leave",De,d,Se),we.target=En,we.relatedTarget=re,Ie=null,_r(Se)===le&&(Ye=new Ye(te,W+"enter",qe,d,Se),Ye.target=re,Ye.relatedTarget=En,Ie=Ye),En=Ie,De&&qe)t:{for(Ye=De,te=qe,W=0,re=Ye;re;re=ri(re))W++;for(re=0,Ie=te;Ie;Ie=ri(Ie))re++;for(;0<W-re;)Ye=ri(Ye),W--;for(;0<re-W;)te=ri(te),re--;for(;W--;){if(Ye===te||te!==null&&Ye===te.alternate)break t;Ye=ri(Ye),te=ri(te)}Ye=null}else Ye=null;De!==null&&$f(Ee,we,De,Ye,!1),qe!==null&&En!==null&&$f(Ee,En,qe,Ye,!0)}}e:{if(we=le?kl(le):window,De=we.nodeName&&we.nodeName.toLowerCase(),De==="select"||De==="input"&&we.type==="file")var Me=C0;else if(w0(we))if(Mf)Me=N0;else{Me=R3;var Je=_3}else(De=we.nodeName)&&De.toLowerCase()==="input"&&(we.type==="checkbox"||we.type==="radio")&&(Me=I3);if(Me&&(Me=Me(a,le))){E0(Ee,Me,d,Se);break e}Je&&Je(a,we,le),a==="focusout"&&(Je=we._wrapperState)&&Je.controlled&&we.type==="number"&&ke(we,"number",we.value)}switch(Je=le?kl(le):window,a){case"focusin":(w0(Je)||Je.contentEditable==="true")&&(Jr=Je,Ff=le,Ru=null);break;case"focusout":Ru=Ff=Jr=null;break;case"mousedown":jf=!0;break;case"contextmenu":case"mouseup":case"dragend":jf=!1,P0(Ee,d,Se);break;case"selectionchange":if(A0)break;case"keydown":case"keyup":P0(Ee,d,Se)}var tt;if(Zr)e:{switch(a){case"compositionstart":var ct="onCompositionStart";break e;case"compositionend":ct="onCompositionEnd";break e;case"compositionupdate":ct="onCompositionUpdate";break e}ct=void 0}else pl?T0(a,d)&&(ct="onCompositionEnd"):a==="keydown"&&d.keyCode===229&&(ct="onCompositionStart");ct&&(k0&&d.locale!=="ko"&&(pl||ct!=="onCompositionStart"?ct==="onCompositionEnd"&&pl&&(tt=Rf()):(Lo=Se,Tu="value"in Lo?Lo.value:Lo.textContent,pl=!0)),Je=Ou(le,ct),0<Je.length&&(ct=new Lf(ct,a,null,d,Se),Ee.push({event:ct,listeners:Je}),tt?ct.data=tt:(tt=ad(d),tt!==null&&(ct.data=tt)))),(tt=nd?E3(a,d):C3(a,d))&&(le=Ou(le,"onBeforeInput"),0<le.length&&(Se=new Lf("onBeforeInput","beforeinput",null,d,Se),Ee.push({event:Se,listeners:le}),Se.data=tt))}id(Ee,o)})}function xu(a,o,d){return{instance:a,listener:o,currentTarget:d}}function Ou(a,o){for(var d=o+"Capture",h=[];a!==null;){var v=a,w=v.stateNode;v.tag===5&&w!==null&&(v=w,w=du(a,d),w!=null&&h.unshift(xu(a,w,v)),w=du(a,o),w!=null&&h.push(xu(a,w,v))),a=a.return}return h}function ri(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function $f(a,o,d,h,v){for(var w=o._reactName,O=[];d!==null&&d!==h;){var j=d,G=j.alternate,le=j.stateNode;if(G!==null&&G===h)break;j.tag===5&&le!==null&&(j=le,v?(G=du(d,w),G!=null&&O.unshift(xu(d,G,j))):v||(G=du(d,w),G!=null&&O.push(xu(d,G,j)))),d=d.return}O.length!==0&&a.push({event:o,listeners:O})}var Hf=/\r\n?/g,O3=/\u0000|\uFFFD/g;function Gf(a){return(typeof a=="string"?a:""+a).replace(Hf,`
38
+ `).replace(O3,"")}function ud(a,o,d){if(o=Gf(o),Gf(a)!==o&&d)throw Error(i(425))}function cd(){}var qf=null,oi=null;function Au(a,o){return a==="textarea"||a==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var si=typeof setTimeout=="function"?setTimeout:void 0,z0=typeof clearTimeout=="function"?clearTimeout:void 0,Wf=typeof Promise=="function"?Promise:void 0,Qf=typeof queueMicrotask=="function"?queueMicrotask:typeof Wf<"u"?function(a){return Wf.resolve(null).then(a).catch(A3)}:si;function A3(a){setTimeout(function(){throw a})}function ls(a,o){var d=o,h=0;do{var v=d.nextSibling;if(a.removeChild(d),v&&v.nodeType===8)if(d=v.data,d==="/$"){if(h===0){a.removeChild(v),ku(o);return}h--}else d!=="$"&&d!=="$?"&&d!=="$!"||h++;d=v}while(d);ku(o)}function Xr(a){for(;a!=null;a=a.nextSibling){var o=a.nodeType;if(o===1||o===3)break;if(o===8){if(o=a.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return a}function Pu(a){a=a.previousSibling;for(var o=0;a;){if(a.nodeType===8){var d=a.data;if(d==="$"||d==="$!"||d==="$?"){if(o===0)return a;o--}else d==="/$"&&o++}a=a.previousSibling}return null}var us=Math.random().toString(36).slice(2),fo="__reactFiber$"+us,ii="__reactProps$"+us,Do="__reactContainer$"+us,Yf="__reactEvents$"+us,P3="__reactListeners$"+us,Kf="__reactHandles$"+us;function _r(a){var o=a[fo];if(o)return o;for(var d=a.parentNode;d;){if(o=d[Do]||d[fo]){if(d=o.alternate,o.child!==null||d!==null&&d.child!==null)for(a=Pu(a);a!==null;){if(d=a[fo])return d;a=Pu(a)}return o}a=d,d=a.parentNode}return null}function Mu(a){return a=a[fo]||a[Do],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function kl(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(i(33))}function Xe(a){return a[ii]||null}var cs=[],tn=-1;function yt(a){return{current:a}}function Bt(a){0>tn||(a.current=cs[tn],cs[tn]=null,tn--)}function $t(a,o){tn++,cs[tn]=a.current,a.current=o}var mo={},ut=yt(mo),yn=yt(!1),Fa=mo;function Rr(a,o){var d=a.type.contextTypes;if(!d)return mo;var h=a.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===o)return h.__reactInternalMemoizedMaskedChildContext;var v={},w;for(w in d)v[w]=o[w];return h&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=o,a.__reactInternalMemoizedMaskedChildContext=v),v}function sn(a){return a=a.childContextTypes,a!=null}function Ir(){Bt(yn),Bt(ut)}function ds(a,o,d){if(ut.current!==mo)throw Error(i(168));$t(ut,o),$t(yn,d)}function Du(a,o,d){var h=a.stateNode;if(o=o.childContextTypes,typeof h.getChildContext!="function")return d;h=h.getChildContext();for(var v in h)if(!(v in o))throw Error(i(108,gt(a)||"Unknown",v));return Ne({},d,h)}function dd(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||mo,Fa=ut.current,$t(ut,a),$t(yn,yn.current),!0}function $0(a,o,d){var h=a.stateNode;if(!h)throw Error(i(169));d?(a=Du(a,o,Fa),h.__reactInternalMemoizedMergedChildContext=a,Bt(yn),Bt(ut),$t(ut,a)):Bt(yn),$t(yn,d)}var nr=null,Yn=!1,Uu=!1;function Zf(a){nr===null?nr=[a]:nr.push(a)}function Jf(a){Yn=!0,Zf(a)}function ja(){if(!Uu&&nr!==null){Uu=!0;var a=0,o=Gt;try{var d=nr;for(Gt=1;a<d.length;a++){var h=d[a];do h=h(!0);while(h!==null)}nr=null,Yn=!1}catch(v){throw nr!==null&&(nr=nr.slice(a+1)),vf(No,ja),v}finally{Gt=o,Uu=!1}}return null}var fs=[],Va=0,li=null,bl=0,Ba=[],pa=0,Nr=null,ea=1,Uo="";function ar(a,o){fs[Va++]=bl,fs[Va++]=li,li=a,bl=o}function Xf(a,o,d){Ba[pa++]=ea,Ba[pa++]=Uo,Ba[pa++]=Nr,Nr=a;var h=ea;a=Uo;var v=32-Sr(h)-1;h&=~(1<<v),d+=1;var w=32-Sr(o)+v;if(30<w){var O=v-v%5;w=(h&(1<<O)-1).toString(32),h>>=O,v-=O,ea=1<<32-Sr(o)+v|d<<v|h,Uo=w+a}else ea=1<<w|d<<v|h,Uo=a}function fd(a){a.return!==null&&(ar(a,1),Xf(a,1,0))}function em(a){for(;a===li;)li=fs[--Va],fs[Va]=null,bl=fs[--Va],fs[Va]=null;for(;a===Nr;)Nr=Ba[--pa],Ba[pa]=null,Uo=Ba[--pa],Ba[pa]=null,ea=Ba[--pa],Ba[pa]=null}var rr=null,za=null,nn=!1,Lr=null;function tm(a,o){var d=Dr(5,null,null,0);d.elementType="DELETED",d.stateNode=o,d.return=a,o=a.deletions,o===null?(a.deletions=[d],a.flags|=16):o.push(d)}function H0(a,o){switch(a.tag){case 5:var d=a.type;return o=o.nodeType!==1||d.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(a.stateNode=o,rr=a,za=Xr(o.firstChild),!0):!1;case 6:return o=a.pendingProps===""||o.nodeType!==3?null:o,o!==null?(a.stateNode=o,rr=a,za=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(d=Nr!==null?{id:ea,overflow:Uo}:null,a.memoizedState={dehydrated:o,treeContext:d,retryLane:1073741824},d=Dr(18,null,null,0),d.stateNode=o,d.return=a,a.child=d,rr=a,za=null,!0):!1;default:return!1}}function md(a){return(a.mode&1)!==0&&(a.flags&128)===0}function pd(a){if(nn){var o=za;if(o){var d=o;if(!H0(a,o)){if(md(a))throw Error(i(418));o=Xr(d.nextSibling);var h=rr;o&&H0(a,o)?tm(h,d):(a.flags=a.flags&-4097|2,nn=!1,rr=a)}}else{if(md(a))throw Error(i(418));a.flags=a.flags&-4097|2,nn=!1,rr=a}}}function G0(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;rr=a}function hd(a){if(a!==rr)return!1;if(!nn)return G0(a),nn=!0,!1;var o;if((o=a.tag!==3)&&!(o=a.tag!==5)&&(o=a.type,o=o!=="head"&&o!=="body"&&!Au(a.type,a.memoizedProps)),o&&(o=za)){if(md(a))throw q0(),Error(i(418));for(;o;)tm(a,o),o=Xr(o.nextSibling)}if(G0(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(i(317));e:{for(a=a.nextSibling,o=0;a;){if(a.nodeType===8){var d=a.data;if(d==="/$"){if(o===0){za=Xr(a.nextSibling);break e}o--}else d!=="$"&&d!=="$!"&&d!=="$?"||o++}a=a.nextSibling}za=null}}else za=rr?Xr(a.stateNode.nextSibling):null;return!0}function q0(){for(var a=za;a;)a=Xr(a.nextSibling)}function fn(){za=rr=null,nn=!1}function nm(a){Lr===null?Lr=[a]:Lr.push(a)}var gd=ee.ReactCurrentBatchConfig;function or(a,o){if(a&&a.defaultProps){o=Ne({},o),a=a.defaultProps;for(var d in a)o[d]===void 0&&(o[d]=a[d]);return o}return o}var po=yt(null),yd=null,ms=null,am=null;function rm(){am=ms=yd=null}function ps(a){var o=po.current;Bt(po),a._currentValue=o}function Kn(a,o,d){for(;a!==null;){var h=a.alternate;if((a.childLanes&o)!==o?(a.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),a===d)break;a=a.return}}function xe(a,o){yd=a,am=ms=null,a=a.dependencies,a!==null&&a.firstContext!==null&&(a.lanes&o&&(On=!0),a.firstContext=null)}function Sn(a){var o=a._currentValue;if(am!==a)if(a={context:a,memoizedValue:o,next:null},ms===null){if(yd===null)throw Error(i(308));ms=a,yd.dependencies={lanes:0,firstContext:a}}else ms=ms.next=a;return o}var ta=null;function om(a){ta===null?ta=[a]:ta.push(a)}function W0(a,o,d,h){var v=o.interleaved;return v===null?(d.next=d,om(o)):(d.next=v.next,v.next=d),o.interleaved=d,Fo(a,h)}function Fo(a,o){a.lanes|=o;var d=a.alternate;for(d!==null&&(d.lanes|=o),d=a,a=a.return;a!==null;)a.childLanes|=o,d=a.alternate,d!==null&&(d.childLanes|=o),d=a,a=a.return;return d.tag===3?d.stateNode:null}var hs=!1;function sm(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fn(a,o){a=a.updateQueue,o.updateQueue===a&&(o.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function jo(a,o){return{eventTime:a,lane:o,tag:0,payload:null,callback:null,next:null}}function gs(a,o,d){var h=a.updateQueue;if(h===null)return null;if(h=h.shared,Et&2){var v=h.pending;return v===null?o.next=o:(o.next=v.next,v.next=o),h.pending=o,Fo(a,d)}return v=h.interleaved,v===null?(o.next=o,om(h)):(o.next=v.next,v.next=o),h.interleaved=o,Fo(a,d)}function vd(a,o,d){if(o=o.updateQueue,o!==null&&(o=o.shared,(d&4194240)!==0)){var h=o.lanes;h&=a.pendingLanes,d|=h,o.lanes=d,hu(a,d)}}function im(a,o){var d=a.updateQueue,h=a.alternate;if(h!==null&&(h=h.updateQueue,d===h)){var v=null,w=null;if(d=d.firstBaseUpdate,d!==null){do{var O={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};w===null?v=w=O:w=w.next=O,d=d.next}while(d!==null);w===null?v=w=o:w=w.next=o}else v=w=o;d={baseState:h.baseState,firstBaseUpdate:v,lastBaseUpdate:w,shared:h.shared,effects:h.effects},a.updateQueue=d;return}a=d.lastBaseUpdate,a===null?d.firstBaseUpdate=o:a.next=o,d.lastBaseUpdate=o}function ys(a,o,d,h){var v=a.updateQueue;hs=!1;var w=v.firstBaseUpdate,O=v.lastBaseUpdate,j=v.shared.pending;if(j!==null){v.shared.pending=null;var G=j,le=G.next;G.next=null,O===null?w=le:O.next=le,O=G;var Se=a.alternate;Se!==null&&(Se=Se.updateQueue,j=Se.lastBaseUpdate,j!==O&&(j===null?Se.firstBaseUpdate=le:j.next=le,Se.lastBaseUpdate=G))}if(w!==null){var Ee=v.baseState;O=0,Se=le=G=null,j=w;do{var we=j.lane,De=j.eventTime;if((h&we)===we){Se!==null&&(Se=Se.next={eventTime:De,lane:0,tag:j.tag,payload:j.payload,callback:j.callback,next:null});e:{var qe=a,Ye=j;switch(we=o,De=d,Ye.tag){case 1:if(qe=Ye.payload,typeof qe=="function"){Ee=qe.call(De,Ee,we);break e}Ee=qe;break e;case 3:qe.flags=qe.flags&-65537|128;case 0:if(qe=Ye.payload,we=typeof qe=="function"?qe.call(De,Ee,we):qe,we==null)break e;Ee=Ne({},Ee,we);break e;case 2:hs=!0}}j.callback!==null&&j.lane!==0&&(a.flags|=64,we=v.effects,we===null?v.effects=[j]:we.push(j))}else De={eventTime:De,lane:we,tag:j.tag,payload:j.payload,callback:j.callback,next:null},Se===null?(le=Se=De,G=Ee):Se=Se.next=De,O|=we;if(j=j.next,j===null){if(j=v.shared.pending,j===null)break;we=j,j=we.next,we.next=null,v.lastBaseUpdate=we,v.shared.pending=null}}while(!0);if(Se===null&&(G=Ee),v.baseState=G,v.firstBaseUpdate=le,v.lastBaseUpdate=Se,o=v.shared.interleaved,o!==null){v=o;do O|=v.lane,v=v.next;while(v!==o)}else w===null&&(v.shared.lanes=0);Si|=O,a.lanes=O,a.memoizedState=Ee}}function ui(a,o,d){if(a=o.effects,o.effects=null,a!==null)for(o=0;o<a.length;o++){var h=a[o],v=h.callback;if(v!==null){if(h.callback=null,h=d,typeof v!="function")throw Error(i(191,v));v.call(h)}}}var Q0=new n.Component().refs;function lm(a,o,d,h){o=a.memoizedState,d=d(h,o),d=d==null?o:Ne({},o,d),a.memoizedState=d,a.lanes===0&&(a.updateQueue.baseState=d)}var kd={isMounted:function(a){return(a=a._reactInternals)?co(a)===a:!1},enqueueSetState:function(a,o,d){a=a._reactInternals;var h=Xt(),v=ur(a),w=jo(h,v);w.payload=o,d!=null&&(w.callback=d),o=gs(a,w,v),o!==null&&(cr(o,a,v,h),vd(o,a,v))},enqueueReplaceState:function(a,o,d){a=a._reactInternals;var h=Xt(),v=ur(a),w=jo(h,v);w.tag=1,w.payload=o,d!=null&&(w.callback=d),o=gs(a,w,v),o!==null&&(cr(o,a,v,h),vd(o,a,v))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var d=Xt(),h=ur(a),v=jo(d,h);v.tag=2,o!=null&&(v.callback=o),o=gs(a,v,h),o!==null&&(cr(o,a,h,d),vd(o,a,h))}};function Y0(a,o,d,h,v,w,O){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(h,w,O):o.prototype&&o.prototype.isPureReactComponent?!_u(d,h)||!_u(v,w):!0}function K0(a,o,d){var h=!1,v=mo,w=o.contextType;return typeof w=="object"&&w!==null?w=Sn(w):(v=sn(o)?Fa:ut.current,h=o.contextTypes,w=(h=h!=null)?Rr(a,v):mo),o=new o(d,w),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=kd,a.stateNode=o,o._reactInternals=a,h&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=v,a.__reactInternalMemoizedMaskedChildContext=w),o}function Z0(a,o,d,h){a=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(d,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(d,h),o.state!==a&&kd.enqueueReplaceState(o,o.state,null)}function bd(a,o,d,h){var v=a.stateNode;v.props=d,v.state=a.memoizedState,v.refs=Q0,sm(a);var w=o.contextType;typeof w=="object"&&w!==null?v.context=Sn(w):(w=sn(o)?Fa:ut.current,v.context=Rr(a,w)),v.state=a.memoizedState,w=o.getDerivedStateFromProps,typeof w=="function"&&(lm(a,o,w,d),v.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(o=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),o!==v.state&&kd.enqueueReplaceState(v,v.state,null),ys(a,d,v,h),v.state=a.memoizedState),typeof v.componentDidMount=="function"&&(a.flags|=4194308)}function Tl(a,o,d){if(a=d.ref,a!==null&&typeof a!="function"&&typeof a!="object"){if(d._owner){if(d=d._owner,d){if(d.tag!==1)throw Error(i(309));var h=d.stateNode}if(!h)throw Error(i(147,a));var v=h,w=""+a;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===w?o.ref:(o=function(O){var j=v.refs;j===Q0&&(j=v.refs={}),O===null?delete j[w]:j[w]=O},o._stringRef=w,o)}if(typeof a!="string")throw Error(i(284));if(!d._owner)throw Error(i(290,a))}return a}function Td(a,o){throw a=Object.prototype.toString.call(o),Error(i(31,a==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":a))}function J0(a){var o=a._init;return o(a._payload)}function X0(a){function o(te,W){if(a){var re=te.deletions;re===null?(te.deletions=[W],te.flags|=16):re.push(W)}}function d(te,W){if(!a)return null;for(;W!==null;)o(te,W),W=W.sibling;return null}function h(te,W){for(te=new Map;W!==null;)W.key!==null?te.set(W.key,W):te.set(W.index,W),W=W.sibling;return te}function v(te,W){return te=_s(te,W),te.index=0,te.sibling=null,te}function w(te,W,re){return te.index=re,a?(re=te.alternate,re!==null?(re=re.index,re<W?(te.flags|=2,W):re):(te.flags|=2,W)):(te.flags|=1048576,W)}function O(te){return a&&te.alternate===null&&(te.flags|=2),te}function j(te,W,re,Ie){return W===null||W.tag!==6?(W=Ii(re,te.mode,Ie),W.return=te,W):(W=v(W,re),W.return=te,W)}function G(te,W,re,Ie){var Me=re.type;return Me===ce?Se(te,W,re.props.children,Ie,re.key):W!==null&&(W.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===xt&&J0(Me)===W.type)?(Ie=v(W,re.props),Ie.ref=Tl(te,W,re),Ie.return=te,Ie):(Ie=t1(re.type,re.key,re.props,null,te.mode,Ie),Ie.ref=Tl(te,W,re),Ie.return=te,Ie)}function le(te,W,re,Ie){return W===null||W.tag!==4||W.stateNode.containerInfo!==re.containerInfo||W.stateNode.implementation!==re.implementation?(W=Nm(re,te.mode,Ie),W.return=te,W):(W=v(W,re.children||[]),W.return=te,W)}function Se(te,W,re,Ie,Me){return W===null||W.tag!==7?(W=Rs(re,te.mode,Ie,Me),W.return=te,W):(W=v(W,re),W.return=te,W)}function Ee(te,W,re){if(typeof W=="string"&&W!==""||typeof W=="number")return W=Ii(""+W,te.mode,re),W.return=te,W;if(typeof W=="object"&&W!==null){switch(W.$$typeof){case ie:return re=t1(W.type,W.key,W.props,null,te.mode,re),re.ref=Tl(te,null,W),re.return=te,re;case fe:return W=Nm(W,te.mode,re),W.return=te,W;case xt:var Ie=W._init;return Ee(te,Ie(W._payload),re)}if(er(W)||je(W))return W=Rs(W,te.mode,re,null),W.return=te,W;Td(te,W)}return null}function we(te,W,re,Ie){var Me=W!==null?W.key:null;if(typeof re=="string"&&re!==""||typeof re=="number")return Me!==null?null:j(te,W,""+re,Ie);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case ie:return re.key===Me?G(te,W,re,Ie):null;case fe:return re.key===Me?le(te,W,re,Ie):null;case xt:return Me=re._init,we(te,W,Me(re._payload),Ie)}if(er(re)||je(re))return Me!==null?null:Se(te,W,re,Ie,null);Td(te,re)}return null}function De(te,W,re,Ie,Me){if(typeof Ie=="string"&&Ie!==""||typeof Ie=="number")return te=te.get(re)||null,j(W,te,""+Ie,Me);if(typeof Ie=="object"&&Ie!==null){switch(Ie.$$typeof){case ie:return te=te.get(Ie.key===null?re:Ie.key)||null,G(W,te,Ie,Me);case fe:return te=te.get(Ie.key===null?re:Ie.key)||null,le(W,te,Ie,Me);case xt:var Je=Ie._init;return De(te,W,re,Je(Ie._payload),Me)}if(er(Ie)||je(Ie))return te=te.get(re)||null,Se(W,te,Ie,Me,null);Td(W,Ie)}return null}function qe(te,W,re,Ie){for(var Me=null,Je=null,tt=W,ct=W=0,zn=null;tt!==null&&ct<re.length;ct++){tt.index>ct?(zn=tt,tt=null):zn=tt.sibling;var Ut=we(te,tt,re[ct],Ie);if(Ut===null){tt===null&&(tt=zn);break}a&&tt&&Ut.alternate===null&&o(te,tt),W=w(Ut,W,ct),Je===null?Me=Ut:Je.sibling=Ut,Je=Ut,tt=zn}if(ct===re.length)return d(te,tt),nn&&ar(te,ct),Me;if(tt===null){for(;ct<re.length;ct++)tt=Ee(te,re[ct],Ie),tt!==null&&(W=w(tt,W,ct),Je===null?Me=tt:Je.sibling=tt,Je=tt);return nn&&ar(te,ct),Me}for(tt=h(te,tt);ct<re.length;ct++)zn=De(tt,te,ct,re[ct],Ie),zn!==null&&(a&&zn.alternate!==null&&tt.delete(zn.key===null?ct:zn.key),W=w(zn,W,ct),Je===null?Me=zn:Je.sibling=zn,Je=zn);return a&&tt.forEach(function(Ns){return o(te,Ns)}),nn&&ar(te,ct),Me}function Ye(te,W,re,Ie){var Me=je(re);if(typeof Me!="function")throw Error(i(150));if(re=Me.call(re),re==null)throw Error(i(151));for(var Je=Me=null,tt=W,ct=W=0,zn=null,Ut=re.next();tt!==null&&!Ut.done;ct++,Ut=re.next()){tt.index>ct?(zn=tt,tt=null):zn=tt.sibling;var Ns=we(te,tt,Ut.value,Ie);if(Ns===null){tt===null&&(tt=zn);break}a&&tt&&Ns.alternate===null&&o(te,tt),W=w(Ns,W,ct),Je===null?Me=Ns:Je.sibling=Ns,Je=Ns,tt=zn}if(Ut.done)return d(te,tt),nn&&ar(te,ct),Me;if(tt===null){for(;!Ut.done;ct++,Ut=re.next())Ut=Ee(te,Ut.value,Ie),Ut!==null&&(W=w(Ut,W,ct),Je===null?Me=Ut:Je.sibling=Ut,Je=Ut);return nn&&ar(te,ct),Me}for(tt=h(te,tt);!Ut.done;ct++,Ut=re.next())Ut=De(tt,te,ct,Ut.value,Ie),Ut!==null&&(a&&Ut.alternate!==null&&tt.delete(Ut.key===null?ct:Ut.key),W=w(Ut,W,ct),Je===null?Me=Ut:Je.sibling=Ut,Je=Ut);return a&&tt.forEach(function(Z3){return o(te,Z3)}),nn&&ar(te,ct),Me}function En(te,W,re,Ie){if(typeof re=="object"&&re!==null&&re.type===ce&&re.key===null&&(re=re.props.children),typeof re=="object"&&re!==null){switch(re.$$typeof){case ie:e:{for(var Me=re.key,Je=W;Je!==null;){if(Je.key===Me){if(Me=re.type,Me===ce){if(Je.tag===7){d(te,Je.sibling),W=v(Je,re.props.children),W.return=te,te=W;break e}}else if(Je.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===xt&&J0(Me)===Je.type){d(te,Je.sibling),W=v(Je,re.props),W.ref=Tl(te,Je,re),W.return=te,te=W;break e}d(te,Je);break}else o(te,Je);Je=Je.sibling}re.type===ce?(W=Rs(re.props.children,te.mode,Ie,re.key),W.return=te,te=W):(Ie=t1(re.type,re.key,re.props,null,te.mode,Ie),Ie.ref=Tl(te,W,re),Ie.return=te,te=Ie)}return O(te);case fe:e:{for(Je=re.key;W!==null;){if(W.key===Je)if(W.tag===4&&W.stateNode.containerInfo===re.containerInfo&&W.stateNode.implementation===re.implementation){d(te,W.sibling),W=v(W,re.children||[]),W.return=te,te=W;break e}else{d(te,W);break}else o(te,W);W=W.sibling}W=Nm(re,te.mode,Ie),W.return=te,te=W}return O(te);case xt:return Je=re._init,En(te,W,Je(re._payload),Ie)}if(er(re))return qe(te,W,re,Ie);if(je(re))return Ye(te,W,re,Ie);Td(te,re)}return typeof re=="string"&&re!==""||typeof re=="number"?(re=""+re,W!==null&&W.tag===6?(d(te,W.sibling),W=v(W,re),W.return=te,te=W):(d(te,W),W=Ii(re,te.mode,Ie),W.return=te,te=W),O(te)):d(te,W)}return En}var Sl=X0(!0),e2=X0(!1),Fu={},eo=yt(Fu),ju=yt(Fu),wl=yt(Fu);function ci(a){if(a===Fu)throw Error(i(174));return a}function um(a,o){switch($t(wl,o),$t(ju,a),$t(eo,Fu),a=o.nodeType,a){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:Sa(null,"");break;default:a=a===8?o.parentNode:o,o=a.namespaceURI||null,a=a.tagName,o=Sa(o,a)}Bt(eo),$t(eo,o)}function vs(){Bt(eo),Bt(ju),Bt(wl)}function at(a){ci(wl.current);var o=ci(eo.current),d=Sa(o,a.type);o!==d&&($t(ju,a),$t(eo,d))}function Tt(a){ju.current===a&&(Bt(eo),Bt(ju))}var rt=yt(0);function mn(a){for(var o=a;o!==null;){if(o.tag===13){var d=o.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||d.data==="$?"||d.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if(o.flags&128)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var xr=[];function Sd(){for(var a=0;a<xr.length;a++)xr[a]._workInProgressVersionPrimary=null;xr.length=0}var wd=ee.ReactCurrentDispatcher,cm=ee.ReactCurrentBatchConfig,di=0,an=null,ge=null,Ot=null,st=!1,ho=!1,sr=0,fi=0;function rn(){throw Error(i(321))}function mi(a,o){if(o===null)return!1;for(var d=0;d<o.length&&d<a.length;d++)if(!Cr(a[d],o[d]))return!1;return!0}function ks(a,o,d,h,v,w){if(di=w,an=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,wd.current=a===null||a.memoizedState===null?D3:U3,a=d(h,v),ho){w=0;do{if(ho=!1,sr=0,25<=w)throw Error(i(301));w+=1,Ot=ge=null,o.updateQueue=null,wd.current=fm,a=d(h,v)}while(ho)}if(wd.current=jd,o=ge!==null&&ge.next!==null,di=0,Ot=ge=an=null,st=!1,o)throw Error(i(300));return a}function pi(){var a=sr!==0;return sr=0,a}function Or(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ot===null?an.memoizedState=Ot=a:Ot=Ot.next=a,Ot}function $a(){if(ge===null){var a=an.alternate;a=a!==null?a.memoizedState:null}else a=ge.next;var o=Ot===null?an.memoizedState:Ot.next;if(o!==null)Ot=o,ge=a;else{if(a===null)throw Error(i(310));ge=a,a={memoizedState:ge.memoizedState,baseState:ge.baseState,baseQueue:ge.baseQueue,queue:ge.queue,next:null},Ot===null?an.memoizedState=Ot=a:Ot=Ot.next=a}return Ot}function hi(a,o){return typeof o=="function"?o(a):o}function Vu(a){var o=$a(),d=o.queue;if(d===null)throw Error(i(311));d.lastRenderedReducer=a;var h=ge,v=h.baseQueue,w=d.pending;if(w!==null){if(v!==null){var O=v.next;v.next=w.next,w.next=O}h.baseQueue=v=w,d.pending=null}if(v!==null){w=v.next,h=h.baseState;var j=O=null,G=null,le=w;do{var Se=le.lane;if((di&Se)===Se)G!==null&&(G=G.next={lane:0,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null}),h=le.hasEagerState?le.eagerState:a(h,le.action);else{var Ee={lane:Se,action:le.action,hasEagerState:le.hasEagerState,eagerState:le.eagerState,next:null};G===null?(j=G=Ee,O=h):G=G.next=Ee,an.lanes|=Se,Si|=Se}le=le.next}while(le!==null&&le!==w);G===null?O=h:G.next=j,Cr(h,o.memoizedState)||(On=!0),o.memoizedState=h,o.baseState=O,o.baseQueue=G,d.lastRenderedState=h}if(a=d.interleaved,a!==null){v=a;do w=v.lane,an.lanes|=w,Si|=w,v=v.next;while(v!==a)}else v===null&&(d.lanes=0);return[o.memoizedState,d.dispatch]}function Bu(a){var o=$a(),d=o.queue;if(d===null)throw Error(i(311));d.lastRenderedReducer=a;var h=d.dispatch,v=d.pending,w=o.memoizedState;if(v!==null){d.pending=null;var O=v=v.next;do w=a(w,O.action),O=O.next;while(O!==v);Cr(w,o.memoizedState)||(On=!0),o.memoizedState=w,o.baseQueue===null&&(o.baseState=w),d.lastRenderedState=w}return[w,h]}function Ed(){}function Cd(a,o){var d=an,h=$a(),v=o(),w=!Cr(h.memoizedState,v);if(w&&(h.memoizedState=v,On=!0),h=h.queue,zu(Id.bind(null,d,h,a),[a]),h.getSnapshot!==o||w||Ot!==null&&Ot.memoizedState.tag&1){if(d.flags|=2048,gi(9,Rd.bind(null,d,h,v,o),void 0,null),An===null)throw Error(i(349));di&30||_d(d,o,v)}return v}function _d(a,o,d){a.flags|=16384,a={getSnapshot:o,value:d},o=an.updateQueue,o===null?(o={lastEffect:null,stores:null},an.updateQueue=o,o.stores=[a]):(d=o.stores,d===null?o.stores=[a]:d.push(a))}function Rd(a,o,d,h){o.value=d,o.getSnapshot=h,Nd(o)&&Ld(a)}function Id(a,o,d){return d(function(){Nd(o)&&Ld(a)})}function Nd(a){var o=a.getSnapshot;a=a.value;try{var d=o();return!Cr(a,d)}catch{return!0}}function Ld(a){var o=Fo(a,1);o!==null&&cr(o,a,1,-1)}function xd(a){var o=Or();return typeof a=="function"&&(a=a()),o.memoizedState=o.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:hi,lastRenderedState:a},o.queue=a,a=a.dispatch=Fd.bind(null,an,a),[o.memoizedState,a]}function gi(a,o,d,h){return a={tag:a,create:o,destroy:d,deps:h,next:null},o=an.updateQueue,o===null?(o={lastEffect:null,stores:null},an.updateQueue=o,o.lastEffect=a.next=a):(d=o.lastEffect,d===null?o.lastEffect=a.next=a:(h=d.next,d.next=a,a.next=h,o.lastEffect=a)),a}function Od(){return $a().memoizedState}function yi(a,o,d,h){var v=Or();an.flags|=a,v.memoizedState=gi(1|o,d,void 0,h===void 0?null:h)}function Vo(a,o,d,h){var v=$a();h=h===void 0?null:h;var w=void 0;if(ge!==null){var O=ge.memoizedState;if(w=O.destroy,h!==null&&mi(h,O.deps)){v.memoizedState=gi(o,d,w,h);return}}an.flags|=a,v.memoizedState=gi(1|o,d,w,h)}function Ad(a,o){return yi(8390656,8,a,o)}function zu(a,o){return Vo(2048,8,a,o)}function Pd(a,o){return Vo(4,2,a,o)}function Md(a,o){return Vo(4,4,a,o)}function dm(a,o){if(typeof o=="function")return a=a(),o(a),function(){o(null)};if(o!=null)return a=a(),o.current=a,function(){o.current=null}}function El(a,o,d){return d=d!=null?d.concat([a]):null,Vo(4,4,dm.bind(null,o,a),d)}function Dd(){}function Cl(a,o){var d=$a();o=o===void 0?null:o;var h=d.memoizedState;return h!==null&&o!==null&&mi(o,h[1])?h[0]:(d.memoizedState=[a,o],a)}function bs(a,o){var d=$a();o=o===void 0?null:o;var h=d.memoizedState;return h!==null&&o!==null&&mi(o,h[1])?h[0]:(a=a(),d.memoizedState=[a,o],a)}function Ha(a,o,d){return di&21?(Cr(d,o)||(d=qc(),an.lanes|=d,Si|=d,a.baseState=!0),o):(a.baseState&&(a.baseState=!1,On=!0),a.memoizedState=d)}function M3(a,o){var d=Gt;Gt=d!==0&&4>d?d:4,a(!0);var h=cm.transition;cm.transition={};try{a(!1),o()}finally{Gt=d,cm.transition=h}}function Jt(){return $a().memoizedState}function Ud(a,o,d){var h=ur(a);if(d={lane:h,action:d,hasEagerState:!1,eagerState:null,next:null},_l(a))$u(o,d);else if(d=W0(a,o,d,h),d!==null){var v=Xt();cr(d,a,h,v),t2(d,o,h)}}function Fd(a,o,d){var h=ur(a),v={lane:h,action:d,hasEagerState:!1,eagerState:null,next:null};if(_l(a))$u(o,v);else{var w=a.alternate;if(a.lanes===0&&(w===null||w.lanes===0)&&(w=o.lastRenderedReducer,w!==null))try{var O=o.lastRenderedState,j=w(O,d);if(v.hasEagerState=!0,v.eagerState=j,Cr(j,O)){var G=o.interleaved;G===null?(v.next=v,om(o)):(v.next=G.next,G.next=v),o.interleaved=v;return}}catch{}finally{}d=W0(a,o,v,h),d!==null&&(v=Xt(),cr(d,a,h,v),t2(d,o,h))}}function _l(a){var o=a.alternate;return a===an||o!==null&&o===an}function $u(a,o){ho=st=!0;var d=a.pending;d===null?o.next=o:(o.next=d.next,d.next=o),a.pending=o}function t2(a,o,d){if(d&4194240){var h=o.lanes;h&=a.pendingLanes,d|=h,o.lanes=d,hu(a,d)}}var jd={readContext:Sn,useCallback:rn,useContext:rn,useEffect:rn,useImperativeHandle:rn,useInsertionEffect:rn,useLayoutEffect:rn,useMemo:rn,useReducer:rn,useRef:rn,useState:rn,useDebugValue:rn,useDeferredValue:rn,useTransition:rn,useMutableSource:rn,useSyncExternalStore:rn,useId:rn,unstable_isNewReconciler:!1},D3={readContext:Sn,useCallback:function(a,o){return Or().memoizedState=[a,o===void 0?null:o],a},useContext:Sn,useEffect:Ad,useImperativeHandle:function(a,o,d){return d=d!=null?d.concat([a]):null,yi(4194308,4,dm.bind(null,o,a),d)},useLayoutEffect:function(a,o){return yi(4194308,4,a,o)},useInsertionEffect:function(a,o){return yi(4,2,a,o)},useMemo:function(a,o){var d=Or();return o=o===void 0?null:o,a=a(),d.memoizedState=[a,o],a},useReducer:function(a,o,d){var h=Or();return o=d!==void 0?d(o):o,h.memoizedState=h.baseState=o,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:o},h.queue=a,a=a.dispatch=Ud.bind(null,an,a),[h.memoizedState,a]},useRef:function(a){var o=Or();return a={current:a},o.memoizedState=a},useState:xd,useDebugValue:Dd,useDeferredValue:function(a){return Or().memoizedState=a},useTransition:function(){var a=xd(!1),o=a[0];return a=M3.bind(null,a[1]),Or().memoizedState=a,[o,a]},useMutableSource:function(){},useSyncExternalStore:function(a,o,d){var h=an,v=Or();if(nn){if(d===void 0)throw Error(i(407));d=d()}else{if(d=o(),An===null)throw Error(i(349));di&30||_d(h,o,d)}v.memoizedState=d;var w={value:d,getSnapshot:o};return v.queue=w,Ad(Id.bind(null,h,w,a),[a]),h.flags|=2048,gi(9,Rd.bind(null,h,w,d,o),void 0,null),d},useId:function(){var a=Or(),o=An.identifierPrefix;if(nn){var d=Uo,h=ea;d=(h&~(1<<32-Sr(h)-1)).toString(32)+d,o=":"+o+"R"+d,d=sr++,0<d&&(o+="H"+d.toString(32)),o+=":"}else d=fi++,o=":"+o+"r"+d.toString(32)+":";return a.memoizedState=o},unstable_isNewReconciler:!1},U3={readContext:Sn,useCallback:Cl,useContext:Sn,useEffect:zu,useImperativeHandle:El,useInsertionEffect:Pd,useLayoutEffect:Md,useMemo:bs,useReducer:Vu,useRef:Od,useState:function(){return Vu(hi)},useDebugValue:Dd,useDeferredValue:function(a){var o=$a();return Ha(o,ge.memoizedState,a)},useTransition:function(){var a=Vu(hi)[0],o=$a().memoizedState;return[a,o]},useMutableSource:Ed,useSyncExternalStore:Cd,useId:Jt,unstable_isNewReconciler:!1},fm={readContext:Sn,useCallback:Cl,useContext:Sn,useEffect:zu,useImperativeHandle:El,useInsertionEffect:Pd,useLayoutEffect:Md,useMemo:bs,useReducer:Bu,useRef:Od,useState:function(){return Bu(hi)},useDebugValue:Dd,useDeferredValue:function(a){var o=$a();return ge===null?o.memoizedState=a:Ha(o,ge.memoizedState,a)},useTransition:function(){var a=Bu(hi)[0],o=$a().memoizedState;return[a,o]},useMutableSource:Ed,useSyncExternalStore:Cd,useId:Jt,unstable_isNewReconciler:!1};function Rl(a,o){try{var d="",h=o;do d+=Ve(h),h=h.return;while(h);var v=d}catch(w){v=`
39
+ Error generating stack: `+w.message+`
40
+ `+w.stack}return{value:a,source:o,stack:v,digest:null}}function Hu(a,o,d){return{value:a,source:null,stack:d??null,digest:o??null}}function Vd(a,o){try{console.error(o.value)}catch(d){setTimeout(function(){throw d})}}var F3=typeof WeakMap=="function"?WeakMap:Map;function n2(a,o,d){d=jo(-1,d),d.tag=3,d.payload={element:null};var h=o.value;return d.callback=function(){ws||(ws=!0,Ju=h),Vd(a,o)},d}function Gu(a,o,d){d=jo(-1,d),d.tag=3;var h=a.type.getDerivedStateFromError;if(typeof h=="function"){var v=o.value;d.payload=function(){return h(v)},d.callback=function(){Vd(a,o)}}var w=a.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(d.callback=function(){Vd(a,o),typeof h!="function"&&(Mr===null?Mr=new Set([this]):Mr.add(this));var O=o.stack;this.componentDidCatch(o.value,{componentStack:O!==null?O:""})}),d}function a2(a,o,d){var h=a.pingCache;if(h===null){h=a.pingCache=new F3;var v=new Set;h.set(o,v)}else v=h.get(o),v===void 0&&(v=new Set,h.set(o,v));v.has(d)||(v.add(d),a=_m.bind(null,a,o,d),o.then(a,a))}function mm(a){do{var o;if((o=a.tag===13)&&(o=a.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return a;a=a.return}while(a!==null);return null}function pm(a,o,d,h,v){return a.mode&1?(a.flags|=65536,a.lanes=v,a):(a===o?a.flags|=65536:(a.flags|=128,d.flags|=131072,d.flags&=-52805,d.tag===1&&(d.alternate===null?d.tag=17:(o=jo(-1,1),o.tag=2,gs(d,o,1))),d.lanes|=1),a)}var j3=ee.ReactCurrentOwner,On=!1;function jn(a,o,d,h){o.child=a===null?e2(o,null,d,h):Sl(o,a.child,d,h)}function Ts(a,o,d,h,v){d=d.render;var w=o.ref;return xe(o,v),h=ks(a,o,d,h,w,v),d=pi(),a!==null&&!On?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~v,na(a,o,v)):(nn&&d&&fd(o),o.flags|=1,jn(a,o,h,v),o.child)}function Bd(a,o,d,h,v){if(a===null){var w=d.type;return typeof w=="function"&&!Im(w)&&w.defaultProps===void 0&&d.compare===null&&d.defaultProps===void 0?(o.tag=15,o.type=w,Ga(a,o,w,h,v)):(a=t1(d.type,null,h,o,o.mode,v),a.ref=o.ref,a.return=o,o.child=a)}if(w=a.child,!(a.lanes&v)){var O=w.memoizedProps;if(d=d.compare,d=d!==null?d:_u,d(O,h)&&a.ref===o.ref)return na(a,o,v)}return o.flags|=1,a=_s(w,h),a.ref=o.ref,a.return=o,o.child=a}function Ga(a,o,d,h,v){if(a!==null){var w=a.memoizedProps;if(_u(w,h)&&a.ref===o.ref)if(On=!1,o.pendingProps=h=w,(a.lanes&v)!==0)a.flags&131072&&(On=!0);else return o.lanes=a.lanes,na(a,o,v)}return Il(a,o,d,h,v)}function vi(a,o,d){var h=o.pendingProps,v=h.children,w=a!==null?a.memoizedState:null;if(h.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},$t(Ol,lr),lr|=d;else{if(!(d&1073741824))return a=w!==null?w.baseLanes|d:d,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:a,cachePool:null,transitions:null},o.updateQueue=null,$t(Ol,lr),lr|=a,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},h=w!==null?w.baseLanes:d,$t(Ol,lr),lr|=h}else w!==null?(h=w.baseLanes|d,o.memoizedState=null):h=d,$t(Ol,lr),lr|=h;return jn(a,o,v,d),o.child}function vt(a,o){var d=o.ref;(a===null&&d!==null||a!==null&&a.ref!==d)&&(o.flags|=512,o.flags|=2097152)}function Il(a,o,d,h,v){var w=sn(d)?Fa:ut.current;return w=Rr(o,w),xe(o,v),d=ks(a,o,d,h,w,v),h=pi(),a!==null&&!On?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~v,na(a,o,v)):(nn&&h&&fd(o),o.flags|=1,jn(a,o,d,v),o.child)}function hm(a,o,d,h,v){if(sn(d)){var w=!0;dd(o)}else w=!1;if(xe(o,v),o.stateNode===null)Ar(a,o),K0(o,d,h),bd(o,d,h,v),h=!0;else if(a===null){var O=o.stateNode,j=o.memoizedProps;O.props=j;var G=O.context,le=d.contextType;typeof le=="object"&&le!==null?le=Sn(le):(le=sn(d)?Fa:ut.current,le=Rr(o,le));var Se=d.getDerivedStateFromProps,Ee=typeof Se=="function"||typeof O.getSnapshotBeforeUpdate=="function";Ee||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(j!==h||G!==le)&&Z0(o,O,h,le),hs=!1;var we=o.memoizedState;O.state=we,ys(o,h,O,v),G=o.memoizedState,j!==h||we!==G||yn.current||hs?(typeof Se=="function"&&(lm(o,d,Se,h),G=o.memoizedState),(j=hs||Y0(o,d,j,h,we,G,le))?(Ee||typeof O.UNSAFE_componentWillMount!="function"&&typeof O.componentWillMount!="function"||(typeof O.componentWillMount=="function"&&O.componentWillMount(),typeof O.UNSAFE_componentWillMount=="function"&&O.UNSAFE_componentWillMount()),typeof O.componentDidMount=="function"&&(o.flags|=4194308)):(typeof O.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=h,o.memoizedState=G),O.props=h,O.state=G,O.context=le,h=j):(typeof O.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{O=o.stateNode,Fn(a,o),j=o.memoizedProps,le=o.type===o.elementType?j:or(o.type,j),O.props=le,Ee=o.pendingProps,we=O.context,G=d.contextType,typeof G=="object"&&G!==null?G=Sn(G):(G=sn(d)?Fa:ut.current,G=Rr(o,G));var De=d.getDerivedStateFromProps;(Se=typeof De=="function"||typeof O.getSnapshotBeforeUpdate=="function")||typeof O.UNSAFE_componentWillReceiveProps!="function"&&typeof O.componentWillReceiveProps!="function"||(j!==Ee||we!==G)&&Z0(o,O,h,G),hs=!1,we=o.memoizedState,O.state=we,ys(o,h,O,v);var qe=o.memoizedState;j!==Ee||we!==qe||yn.current||hs?(typeof De=="function"&&(lm(o,d,De,h),qe=o.memoizedState),(le=hs||Y0(o,d,le,h,we,qe,G)||!1)?(Se||typeof O.UNSAFE_componentWillUpdate!="function"&&typeof O.componentWillUpdate!="function"||(typeof O.componentWillUpdate=="function"&&O.componentWillUpdate(h,qe,G),typeof O.UNSAFE_componentWillUpdate=="function"&&O.UNSAFE_componentWillUpdate(h,qe,G)),typeof O.componentDidUpdate=="function"&&(o.flags|=4),typeof O.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof O.componentDidUpdate!="function"||j===a.memoizedProps&&we===a.memoizedState||(o.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||j===a.memoizedProps&&we===a.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=qe),O.props=h,O.state=qe,O.context=G,h=le):(typeof O.componentDidUpdate!="function"||j===a.memoizedProps&&we===a.memoizedState||(o.flags|=4),typeof O.getSnapshotBeforeUpdate!="function"||j===a.memoizedProps&&we===a.memoizedState||(o.flags|=1024),h=!1)}return gm(a,o,d,h,w,v)}function gm(a,o,d,h,v,w){vt(a,o);var O=(o.flags&128)!==0;if(!h&&!O)return v&&$0(o,d,!1),na(a,o,w);h=o.stateNode,j3.current=o;var j=O&&typeof d.getDerivedStateFromError!="function"?null:h.render();return o.flags|=1,a!==null&&O?(o.child=Sl(o,a.child,null,w),o.child=Sl(o,null,j,w)):jn(a,o,j,w),o.memoizedState=h.state,v&&$0(o,d,!0),o.child}function zd(a){var o=a.stateNode;o.pendingContext?ds(a,o.pendingContext,o.pendingContext!==o.context):o.context&&ds(a,o.context,!1),um(a,o.containerInfo)}function Nl(a,o,d,h,v){return fn(),nm(v),o.flags|=256,jn(a,o,d,h),o.child}var ym={dehydrated:null,treeContext:null,retryLane:0};function $d(a){return{baseLanes:a,cachePool:null,transitions:null}}function r2(a,o,d){var h=o.pendingProps,v=rt.current,w=!1,O=(o.flags&128)!==0,j;if((j=O)||(j=a!==null&&a.memoizedState===null?!1:(v&2)!==0),j?(w=!0,o.flags&=-129):(a===null||a.memoizedState!==null)&&(v|=1),$t(rt,v&1),a===null)return pd(o),a=o.memoizedState,a!==null&&(a=a.dehydrated,a!==null)?(o.mode&1?a.data==="$!"?o.lanes=8:o.lanes=1073741824:o.lanes=1,null):(O=h.children,a=h.fallback,w?(h=o.mode,w=o.child,O={mode:"hidden",children:O},!(h&1)&&w!==null?(w.childLanes=0,w.pendingProps=O):w=Fl(O,h,0,null),a=Rs(a,h,d,null),w.return=o,a.return=o,w.sibling=a,o.child=w,o.child.memoizedState=$d(d),o.memoizedState=ym,a):qu(o,O));if(v=a.memoizedState,v!==null&&(j=v.dehydrated,j!==null))return o2(a,o,O,h,j,v,d);if(w){w=h.fallback,O=o.mode,v=a.child,j=v.sibling;var G={mode:"hidden",children:h.children};return!(O&1)&&o.child!==v?(h=o.child,h.childLanes=0,h.pendingProps=G,o.deletions=null):(h=_s(v,G),h.subtreeFlags=v.subtreeFlags&14680064),j!==null?w=_s(j,w):(w=Rs(w,O,d,null),w.flags|=2),w.return=o,h.return=o,h.sibling=w,o.child=h,h=w,w=o.child,O=a.child.memoizedState,O=O===null?$d(d):{baseLanes:O.baseLanes|d,cachePool:null,transitions:O.transitions},w.memoizedState=O,w.childLanes=a.childLanes&~d,o.memoizedState=ym,h}return w=a.child,a=w.sibling,h=_s(w,{mode:"visible",children:h.children}),!(o.mode&1)&&(h.lanes=d),h.return=o,h.sibling=null,a!==null&&(d=o.deletions,d===null?(o.deletions=[a],o.flags|=16):d.push(a)),o.child=h,o.memoizedState=null,h}function qu(a,o){return o=Fl({mode:"visible",children:o},a.mode,0,null),o.return=a,a.child=o}function Hd(a,o,d,h){return h!==null&&nm(h),Sl(o,a.child,null,d),a=qu(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function o2(a,o,d,h,v,w,O){if(d)return o.flags&256?(o.flags&=-257,h=Hu(Error(i(422))),Hd(a,o,O,h)):o.memoizedState!==null?(o.child=a.child,o.flags|=128,null):(w=h.fallback,v=o.mode,h=Fl({mode:"visible",children:h.children},v,0,null),w=Rs(w,v,O,null),w.flags|=2,h.return=o,w.return=o,h.sibling=w,o.child=h,o.mode&1&&Sl(o,a.child,null,O),o.child.memoizedState=$d(O),o.memoizedState=ym,w);if(!(o.mode&1))return Hd(a,o,O,null);if(v.data==="$!"){if(h=v.nextSibling&&v.nextSibling.dataset,h)var j=h.dgst;return h=j,w=Error(i(419)),h=Hu(w,h,void 0),Hd(a,o,O,h)}if(j=(O&a.childLanes)!==0,On||j){if(h=An,h!==null){switch(O&-O){case 4:v=2;break;case 16:v=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:v=32;break;case 536870912:v=268435456;break;default:v=0}v=v&(h.suspendedLanes|O)?0:v,v!==0&&v!==w.retryLane&&(w.retryLane=v,Fo(a,v),cr(h,a,v,-1))}return Em(),h=Hu(Error(i(421))),Hd(a,o,O,h)}return v.data==="$?"?(o.flags|=128,o.child=a.child,o=G3.bind(null,a),v._reactRetry=o,null):(a=w.treeContext,za=Xr(v.nextSibling),rr=o,nn=!0,Lr=null,a!==null&&(Ba[pa++]=ea,Ba[pa++]=Uo,Ba[pa++]=Nr,ea=a.id,Uo=a.overflow,Nr=o),o=qu(o,h.children),o.flags|=4096,o)}function vm(a,o,d){a.lanes|=o;var h=a.alternate;h!==null&&(h.lanes|=o),Kn(a.return,o,d)}function Gd(a,o,d,h,v){var w=a.memoizedState;w===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:d,tailMode:v}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=h,w.tail=d,w.tailMode=v)}function qa(a,o,d){var h=o.pendingProps,v=h.revealOrder,w=h.tail;if(jn(a,o,h.children,d),h=rt.current,h&2)h=h&1|2,o.flags|=128;else{if(a!==null&&a.flags&128)e:for(a=o.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&vm(a,d,o);else if(a.tag===19)vm(a,d,o);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break e;for(;a.sibling===null;){if(a.return===null||a.return===o)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}h&=1}if($t(rt,h),!(o.mode&1))o.memoizedState=null;else switch(v){case"forwards":for(d=o.child,v=null;d!==null;)a=d.alternate,a!==null&&mn(a)===null&&(v=d),d=d.sibling;d=v,d===null?(v=o.child,o.child=null):(v=d.sibling,d.sibling=null),Gd(o,!1,v,d,w);break;case"backwards":for(d=null,v=o.child,o.child=null;v!==null;){if(a=v.alternate,a!==null&&mn(a)===null){o.child=v;break}a=v.sibling,v.sibling=d,d=v,v=a}Gd(o,!0,d,null,w);break;case"together":Gd(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function Ar(a,o){!(o.mode&1)&&a!==null&&(a.alternate=null,o.alternate=null,o.flags|=2)}function na(a,o,d){if(a!==null&&(o.dependencies=a.dependencies),Si|=o.lanes,!(d&o.childLanes))return null;if(a!==null&&o.child!==a.child)throw Error(i(153));if(o.child!==null){for(a=o.child,d=_s(a,a.pendingProps),o.child=d,d.return=o;a.sibling!==null;)a=a.sibling,d=d.sibling=_s(a,a.pendingProps),d.return=o;d.sibling=null}return o.child}function qd(a,o,d){switch(o.tag){case 3:zd(o),fn();break;case 5:at(o);break;case 1:sn(o.type)&&dd(o);break;case 4:um(o,o.stateNode.containerInfo);break;case 10:var h=o.type._context,v=o.memoizedProps.value;$t(po,h._currentValue),h._currentValue=v;break;case 13:if(h=o.memoizedState,h!==null)return h.dehydrated!==null?($t(rt,rt.current&1),o.flags|=128,null):d&o.child.childLanes?r2(a,o,d):($t(rt,rt.current&1),a=na(a,o,d),a!==null?a.sibling:null);$t(rt,rt.current&1);break;case 19:if(h=(d&o.childLanes)!==0,a.flags&128){if(h)return qa(a,o,d);o.flags|=128}if(v=o.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),$t(rt,rt.current),h)break;return null;case 22:case 23:return o.lanes=0,vi(a,o,d)}return na(a,o,d)}var Ll,ir,Vn,s2;Ll=function(a,o){for(var d=o.child;d!==null;){if(d.tag===5||d.tag===6)a.appendChild(d.stateNode);else if(d.tag!==4&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===o)break;for(;d.sibling===null;){if(d.return===null||d.return===o)return;d=d.return}d.sibling.return=d.return,d=d.sibling}},ir=function(){},Vn=function(a,o,d,h){var v=a.memoizedProps;if(v!==h){a=o.stateNode,ci(eo.current);var w=null;switch(d){case"input":v=cn(a,v),h=cn(a,h),w=[];break;case"select":v=Ne({},v,{value:void 0}),h=Ne({},h,{value:void 0}),w=[];break;case"textarea":v=Gr(a,v),h=Gr(a,h),w=[];break;default:typeof v.onClick!="function"&&typeof h.onClick=="function"&&(a.onclick=cd)}Te(d,h);var O;d=null;for(le in v)if(!h.hasOwnProperty(le)&&v.hasOwnProperty(le)&&v[le]!=null)if(le==="style"){var j=v[le];for(O in j)j.hasOwnProperty(O)&&(d||(d={}),d[O]="")}else le!=="dangerouslySetInnerHTML"&&le!=="children"&&le!=="suppressContentEditableWarning"&&le!=="suppressHydrationWarning"&&le!=="autoFocus"&&(c.hasOwnProperty(le)?w||(w=[]):(w=w||[]).push(le,null));for(le in h){var G=h[le];if(j=v!=null?v[le]:void 0,h.hasOwnProperty(le)&&G!==j&&(G!=null||j!=null))if(le==="style")if(j){for(O in j)!j.hasOwnProperty(O)||G&&G.hasOwnProperty(O)||(d||(d={}),d[O]="");for(O in G)G.hasOwnProperty(O)&&j[O]!==G[O]&&(d||(d={}),d[O]=G[O])}else d||(w||(w=[]),w.push(le,d)),d=G;else le==="dangerouslySetInnerHTML"?(G=G?G.__html:void 0,j=j?j.__html:void 0,G!=null&&j!==G&&(w=w||[]).push(le,G)):le==="children"?typeof G!="string"&&typeof G!="number"||(w=w||[]).push(le,""+G):le!=="suppressContentEditableWarning"&&le!=="suppressHydrationWarning"&&(c.hasOwnProperty(le)?(G!=null&&le==="onScroll"&&Zt("scroll",a),w||j===G||(w=[])):(w=w||[]).push(le,G))}d&&(w=w||[]).push("style",d);var le=w;(o.updateQueue=le)&&(o.flags|=4)}},s2=function(a,o,d,h){d!==h&&(o.flags|=4)};function Wu(a,o){if(!nn)switch(a.tailMode){case"hidden":o=a.tail;for(var d=null;o!==null;)o.alternate!==null&&(d=o),o=o.sibling;d===null?a.tail=null:d.sibling=null;break;case"collapsed":d=a.tail;for(var h=null;d!==null;)d.alternate!==null&&(h=d),d=d.sibling;h===null?o||a.tail===null?a.tail=null:a.tail.sibling=null:h.sibling=null}}function ha(a){var o=a.alternate!==null&&a.alternate.child===a.child,d=0,h=0;if(o)for(var v=a.child;v!==null;)d|=v.lanes|v.childLanes,h|=v.subtreeFlags&14680064,h|=v.flags&14680064,v.return=a,v=v.sibling;else for(v=a.child;v!==null;)d|=v.lanes|v.childLanes,h|=v.subtreeFlags,h|=v.flags,v.return=a,v=v.sibling;return a.subtreeFlags|=h,a.childLanes=d,o}function km(a,o,d){var h=o.pendingProps;switch(em(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ha(o),null;case 1:return sn(o.type)&&Ir(),ha(o),null;case 3:return h=o.stateNode,vs(),Bt(yn),Bt(ut),Sd(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(a===null||a.child===null)&&(hd(o)?o.flags|=4:a===null||a.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,Lr!==null&&(nc(Lr),Lr=null))),ir(a,o),ha(o),null;case 5:Tt(o);var v=ci(wl.current);if(d=o.type,a!==null&&o.stateNode!=null)Vn(a,o,d,h,v),a.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!h){if(o.stateNode===null)throw Error(i(166));return ha(o),null}if(a=ci(eo.current),hd(o)){h=o.stateNode,d=o.type;var w=o.memoizedProps;switch(h[fo]=o,h[ii]=w,a=(o.mode&1)!==0,d){case"dialog":Zt("cancel",h),Zt("close",h);break;case"iframe":case"object":case"embed":Zt("load",h);break;case"video":case"audio":for(v=0;v<Lu.length;v++)Zt(Lu[v],h);break;case"source":Zt("error",h);break;case"img":case"image":case"link":Zt("error",h),Zt("load",h);break;case"details":Zt("toggle",h);break;case"input":Mn(h,w),Zt("invalid",h);break;case"select":h._wrapperState={wasMultiple:!!w.multiple},Zt("invalid",h);break;case"textarea":qr(h,w),Zt("invalid",h)}Te(d,w),v=null;for(var O in w)if(w.hasOwnProperty(O)){var j=w[O];O==="children"?typeof j=="string"?h.textContent!==j&&(w.suppressHydrationWarning!==!0&&ud(h.textContent,j,a),v=["children",j]):typeof j=="number"&&h.textContent!==""+j&&(w.suppressHydrationWarning!==!0&&ud(h.textContent,j,a),v=["children",""+j]):c.hasOwnProperty(O)&&j!=null&&O==="onScroll"&&Zt("scroll",h)}switch(d){case"input":zt(h),Xa(h,w,!0);break;case"textarea":zt(h),dn(h);break;case"select":case"option":break;default:typeof w.onClick=="function"&&(h.onclick=cd)}h=v,o.updateQueue=h,h!==null&&(o.flags|=4)}else{O=v.nodeType===9?v:v.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=Tr(d)),a==="http://www.w3.org/1999/xhtml"?d==="script"?(a=O.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof h.is=="string"?a=O.createElement(d,{is:h.is}):(a=O.createElement(d),d==="select"&&(O=a,h.multiple?O.multiple=!0:h.size&&(O.size=h.size))):a=O.createElementNS(a,d),a[fo]=o,a[ii]=h,Ll(a,o,!1,!1),o.stateNode=a;e:{switch(O=St(d,h),d){case"dialog":Zt("cancel",a),Zt("close",a),v=h;break;case"iframe":case"object":case"embed":Zt("load",a),v=h;break;case"video":case"audio":for(v=0;v<Lu.length;v++)Zt(Lu[v],a);v=h;break;case"source":Zt("error",a),v=h;break;case"img":case"image":case"link":Zt("error",a),Zt("load",a),v=h;break;case"details":Zt("toggle",a),v=h;break;case"input":Mn(a,h),v=cn(a,h),Zt("invalid",a);break;case"option":v=h;break;case"select":a._wrapperState={wasMultiple:!!h.multiple},v=Ne({},h,{value:void 0}),Zt("invalid",a);break;case"textarea":qr(a,h),v=Gr(a,h),Zt("invalid",a);break;default:v=h}Te(d,v),j=v;for(w in j)if(j.hasOwnProperty(w)){var G=j[w];w==="style"?K(a,G):w==="dangerouslySetInnerHTML"?(G=G?G.__html:void 0,G!=null&&Ks(a,G)):w==="children"?typeof G=="string"?(d!=="textarea"||G!=="")&&y(a,G):typeof G=="number"&&y(a,""+G):w!=="suppressContentEditableWarning"&&w!=="suppressHydrationWarning"&&w!=="autoFocus"&&(c.hasOwnProperty(w)?G!=null&&w==="onScroll"&&Zt("scroll",a):G!=null&&X(a,w,G,O))}switch(d){case"input":zt(a),Xa(a,h,!1);break;case"textarea":zt(a),dn(a);break;case"option":h.value!=null&&a.setAttribute("value",""+ot(h.value));break;case"select":a.multiple=!!h.multiple,w=h.value,w!=null?kr(a,!!h.multiple,w,!1):h.defaultValue!=null&&kr(a,!!h.multiple,h.defaultValue,!0);break;default:typeof v.onClick=="function"&&(a.onclick=cd)}switch(d){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}}h&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return ha(o),null;case 6:if(a&&o.stateNode!=null)s2(a,o,a.memoizedProps,h);else{if(typeof h!="string"&&o.stateNode===null)throw Error(i(166));if(d=ci(wl.current),ci(eo.current),hd(o)){if(h=o.stateNode,d=o.memoizedProps,h[fo]=o,(w=h.nodeValue!==d)&&(a=rr,a!==null))switch(a.tag){case 3:ud(h.nodeValue,d,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&ud(h.nodeValue,d,(a.mode&1)!==0)}w&&(o.flags|=4)}else h=(d.nodeType===9?d:d.ownerDocument).createTextNode(h),h[fo]=o,o.stateNode=h}return ha(o),null;case 13:if(Bt(rt),h=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(nn&&za!==null&&o.mode&1&&!(o.flags&128))q0(),fn(),o.flags|=98560,w=!1;else if(w=hd(o),h!==null&&h.dehydrated!==null){if(a===null){if(!w)throw Error(i(318));if(w=o.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(i(317));w[fo]=o}else fn(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;ha(o),w=!1}else Lr!==null&&(nc(Lr),Lr=null),w=!0;if(!w)return o.flags&65536?o:null}return o.flags&128?(o.lanes=d,o):(h=h!==null,h!==(a!==null&&a.memoizedState!==null)&&h&&(o.child.flags|=8192,o.mode&1&&(a===null||rt.current&1?Bn===0&&(Bn=3):Em())),o.updateQueue!==null&&(o.flags|=4),ha(o),null);case 4:return vs(),ir(a,o),a===null&&vl(o.stateNode.containerInfo),ha(o),null;case 10:return ps(o.type._context),ha(o),null;case 17:return sn(o.type)&&Ir(),ha(o),null;case 19:if(Bt(rt),w=o.memoizedState,w===null)return ha(o),null;if(h=(o.flags&128)!==0,O=w.rendering,O===null)if(h)Wu(w,!1);else{if(Bn!==0||a!==null&&a.flags&128)for(a=o.child;a!==null;){if(O=mn(a),O!==null){for(o.flags|=128,Wu(w,!1),h=O.updateQueue,h!==null&&(o.updateQueue=h,o.flags|=4),o.subtreeFlags=0,h=d,d=o.child;d!==null;)w=d,a=h,w.flags&=14680066,O=w.alternate,O===null?(w.childLanes=0,w.lanes=a,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null):(w.childLanes=O.childLanes,w.lanes=O.lanes,w.child=O.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=O.memoizedProps,w.memoizedState=O.memoizedState,w.updateQueue=O.updateQueue,w.type=O.type,a=O.dependencies,w.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),d=d.sibling;return $t(rt,rt.current&1|2),o.child}a=a.sibling}w.tail!==null&&gn()>Pl&&(o.flags|=128,h=!0,Wu(w,!1),o.lanes=4194304)}else{if(!h)if(a=mn(O),a!==null){if(o.flags|=128,h=!0,d=a.updateQueue,d!==null&&(o.updateQueue=d,o.flags|=4),Wu(w,!0),w.tail===null&&w.tailMode==="hidden"&&!O.alternate&&!nn)return ha(o),null}else 2*gn()-w.renderingStartTime>Pl&&d!==1073741824&&(o.flags|=128,h=!0,Wu(w,!1),o.lanes=4194304);w.isBackwards?(O.sibling=o.child,o.child=O):(d=w.last,d!==null?d.sibling=O:o.child=O,w.last=O)}return w.tail!==null?(o=w.tail,w.rendering=o,w.tail=o.sibling,w.renderingStartTime=gn(),o.sibling=null,d=rt.current,$t(rt,h?d&1|2:d&1),o):(ha(o),null);case 22:case 23:return wm(),h=o.memoizedState!==null,a!==null&&a.memoizedState!==null!==h&&(o.flags|=8192),h&&o.mode&1?lr&1073741824&&(ha(o),o.subtreeFlags&6&&(o.flags|=8192)):ha(o),null;case 24:return null;case 25:return null}throw Error(i(156,o.tag))}function i2(a,o){switch(em(o),o.tag){case 1:return sn(o.type)&&Ir(),a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 3:return vs(),Bt(yn),Bt(ut),Sd(),a=o.flags,a&65536&&!(a&128)?(o.flags=a&-65537|128,o):null;case 5:return Tt(o),null;case 13:if(Bt(rt),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error(i(340));fn()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 19:return Bt(rt),null;case 4:return vs(),null;case 10:return ps(o.type._context),null;case 22:case 23:return wm(),null;case 24:return null;default:return null}}var ki=!1,aa=!1,V3=typeof WeakSet=="function"?WeakSet:Set,ze=null;function Ss(a,o){var d=a.ref;if(d!==null)if(typeof d=="function")try{d(null)}catch(h){vn(a,o,h)}else d.current=null}function l2(a,o,d){try{d()}catch(h){vn(a,o,h)}}var bm=!1;function B3(a,o){if(qf=ei,a=rd(),Ao(a)){if("selectionStart"in a)var d={start:a.selectionStart,end:a.selectionEnd};else e:{d=(d=a.ownerDocument)&&d.defaultView||window;var h=d.getSelection&&d.getSelection();if(h&&h.rangeCount!==0){d=h.anchorNode;var v=h.anchorOffset,w=h.focusNode;h=h.focusOffset;try{d.nodeType,w.nodeType}catch{d=null;break e}var O=0,j=-1,G=-1,le=0,Se=0,Ee=a,we=null;t:for(;;){for(var De;Ee!==d||v!==0&&Ee.nodeType!==3||(j=O+v),Ee!==w||h!==0&&Ee.nodeType!==3||(G=O+h),Ee.nodeType===3&&(O+=Ee.nodeValue.length),(De=Ee.firstChild)!==null;)we=Ee,Ee=De;for(;;){if(Ee===a)break t;if(we===d&&++le===v&&(j=O),we===w&&++Se===h&&(G=O),(De=Ee.nextSibling)!==null)break;Ee=we,we=Ee.parentNode}Ee=De}d=j===-1||G===-1?null:{start:j,end:G}}else d=null}d=d||{start:0,end:0}}else d=null;for(oi={focusedElem:a,selectionRange:d},ei=!1,ze=o;ze!==null;)if(o=ze,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,ze=a;else for(;ze!==null;){o=ze;try{var qe=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(qe!==null){var Ye=qe.memoizedProps,En=qe.memoizedState,te=o.stateNode,W=te.getSnapshotBeforeUpdate(o.elementType===o.type?Ye:or(o.type,Ye),En);te.__reactInternalSnapshotBeforeUpdate=W}break;case 3:var re=o.stateNode.containerInfo;re.nodeType===1?re.textContent="":re.nodeType===9&&re.documentElement&&re.removeChild(re.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(Ie){vn(o,o.return,Ie)}if(a=o.sibling,a!==null){a.return=o.return,ze=a;break}ze=o.return}return qe=bm,bm=!1,qe}function xl(a,o,d){var h=o.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var v=h=h.next;do{if((v.tag&a)===a){var w=v.destroy;v.destroy=void 0,w!==void 0&&l2(o,d,w)}v=v.next}while(v!==h)}}function Wd(a,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var d=o=o.next;do{if((d.tag&a)===a){var h=d.create;d.destroy=h()}d=d.next}while(d!==o)}}function Qd(a){var o=a.ref;if(o!==null){var d=a.stateNode;switch(a.tag){case 5:a=d;break;default:a=d}typeof o=="function"?o(a):o.current=a}}function u2(a){var o=a.alternate;o!==null&&(a.alternate=null,u2(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&(delete o[fo],delete o[ii],delete o[Yf],delete o[P3],delete o[Kf])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function Yd(a){return a.tag===5||a.tag===3||a.tag===4}function Qu(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Yd(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function go(a,o,d){var h=a.tag;if(h===5||h===6)a=a.stateNode,o?d.nodeType===8?d.parentNode.insertBefore(a,o):d.insertBefore(a,o):(d.nodeType===8?(o=d.parentNode,o.insertBefore(a,d)):(o=d,o.appendChild(a)),d=d._reactRootContainer,d!=null||o.onclick!==null||(o.onclick=cd));else if(h!==4&&(a=a.child,a!==null))for(go(a,o,d),a=a.sibling;a!==null;)go(a,o,d),a=a.sibling}function yo(a,o,d){var h=a.tag;if(h===5||h===6)a=a.stateNode,o?d.insertBefore(a,o):d.appendChild(a);else if(h!==4&&(a=a.child,a!==null))for(yo(a,o,d),a=a.sibling;a!==null;)yo(a,o,d),a=a.sibling}var ln=null,Ea=!1;function Pr(a,o,d){for(d=d.child;d!==null;)Bo(a,o,d),d=d.sibling}function Bo(a,o,d){if(Qr&&typeof Qr.onCommitFiberUnmount=="function")try{Qr.onCommitFiberUnmount(pu,d)}catch{}switch(d.tag){case 5:aa||Ss(d,o);case 6:var h=ln,v=Ea;ln=null,Pr(a,o,d),ln=h,Ea=v,ln!==null&&(Ea?(a=ln,d=d.stateNode,a.nodeType===8?a.parentNode.removeChild(d):a.removeChild(d)):ln.removeChild(d.stateNode));break;case 18:ln!==null&&(Ea?(a=ln,d=d.stateNode,a.nodeType===8?ls(a.parentNode,d):a.nodeType===1&&ls(a,d),ku(a)):ls(ln,d.stateNode));break;case 4:h=ln,v=Ea,ln=d.stateNode.containerInfo,Ea=!0,Pr(a,o,d),ln=h,Ea=v;break;case 0:case 11:case 14:case 15:if(!aa&&(h=d.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){v=h=h.next;do{var w=v,O=w.destroy;w=w.tag,O!==void 0&&(w&2||w&4)&&l2(d,o,O),v=v.next}while(v!==h)}Pr(a,o,d);break;case 1:if(!aa&&(Ss(d,o),h=d.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=d.memoizedProps,h.state=d.memoizedState,h.componentWillUnmount()}catch(j){vn(d,o,j)}Pr(a,o,d);break;case 21:Pr(a,o,d);break;case 22:d.mode&1?(aa=(h=aa)||d.memoizedState!==null,Pr(a,o,d),aa=h):Pr(a,o,d);break;default:Pr(a,o,d)}}function c2(a){var o=a.updateQueue;if(o!==null){a.updateQueue=null;var d=a.stateNode;d===null&&(d=a.stateNode=new V3),o.forEach(function(h){var v=q3.bind(null,a,h);d.has(h)||(d.add(h),h.then(v,v))})}}function to(a,o){var d=o.deletions;if(d!==null)for(var h=0;h<d.length;h++){var v=d[h];try{var w=a,O=o,j=O;e:for(;j!==null;){switch(j.tag){case 5:ln=j.stateNode,Ea=!1;break e;case 3:ln=j.stateNode.containerInfo,Ea=!0;break e;case 4:ln=j.stateNode.containerInfo,Ea=!0;break e}j=j.return}if(ln===null)throw Error(i(160));Bo(w,O,v),ln=null,Ea=!1;var G=v.alternate;G!==null&&(G.return=null),v.return=null}catch(le){vn(v,o,le)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)d2(o,a),o=o.sibling}function d2(a,o){var d=a.alternate,h=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if(to(o,a),no(a),h&4){try{xl(3,a,a.return),Wd(3,a)}catch(Ye){vn(a,a.return,Ye)}try{xl(5,a,a.return)}catch(Ye){vn(a,a.return,Ye)}}break;case 1:to(o,a),no(a),h&512&&d!==null&&Ss(d,d.return);break;case 5:if(to(o,a),no(a),h&512&&d!==null&&Ss(d,d.return),a.flags&32){var v=a.stateNode;try{y(v,"")}catch(Ye){vn(a,a.return,Ye)}}if(h&4&&(v=a.stateNode,v!=null)){var w=a.memoizedProps,O=d!==null?d.memoizedProps:w,j=a.type,G=a.updateQueue;if(a.updateQueue=null,G!==null)try{j==="input"&&w.type==="radio"&&w.name!=null&&Tn(v,w),St(j,O);var le=St(j,w);for(O=0;O<G.length;O+=2){var Se=G[O],Ee=G[O+1];Se==="style"?K(v,Ee):Se==="dangerouslySetInnerHTML"?Ks(v,Ee):Se==="children"?y(v,Ee):X(v,Se,Ee,le)}switch(j){case"input":Nn(v,w);break;case"textarea":br(v,w);break;case"select":var we=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!w.multiple;var De=w.value;De!=null?kr(v,!!w.multiple,De,!1):we!==!!w.multiple&&(w.defaultValue!=null?kr(v,!!w.multiple,w.defaultValue,!0):kr(v,!!w.multiple,w.multiple?[]:"",!1))}v[ii]=w}catch(Ye){vn(a,a.return,Ye)}}break;case 6:if(to(o,a),no(a),h&4){if(a.stateNode===null)throw Error(i(162));v=a.stateNode,w=a.memoizedProps;try{v.nodeValue=w}catch(Ye){vn(a,a.return,Ye)}}break;case 3:if(to(o,a),no(a),h&4&&d!==null&&d.memoizedState.isDehydrated)try{ku(o.containerInfo)}catch(Ye){vn(a,a.return,Ye)}break;case 4:to(o,a),no(a);break;case 13:to(o,a),no(a),v=a.child,v.flags&8192&&(w=v.memoizedState!==null,v.stateNode.isHidden=w,!w||v.alternate!==null&&v.alternate.memoizedState!==null||(Sm=gn())),h&4&&c2(a);break;case 22:if(Se=d!==null&&d.memoizedState!==null,a.mode&1?(aa=(le=aa)||Se,to(o,a),aa=le):to(o,a),no(a),h&8192){if(le=a.memoizedState!==null,(a.stateNode.isHidden=le)&&!Se&&a.mode&1)for(ze=a,Se=a.child;Se!==null;){for(Ee=ze=Se;ze!==null;){switch(we=ze,De=we.child,we.tag){case 0:case 11:case 14:case 15:xl(4,we,we.return);break;case 1:Ss(we,we.return);var qe=we.stateNode;if(typeof qe.componentWillUnmount=="function"){h=we,d=we.return;try{o=h,qe.props=o.memoizedProps,qe.state=o.memoizedState,qe.componentWillUnmount()}catch(Ye){vn(h,d,Ye)}}break;case 5:Ss(we,we.return);break;case 22:if(we.memoizedState!==null){m2(Ee);continue}}De!==null?(De.return=we,ze=De):m2(Ee)}Se=Se.sibling}e:for(Se=null,Ee=a;;){if(Ee.tag===5){if(Se===null){Se=Ee;try{v=Ee.stateNode,le?(w=v.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none"):(j=Ee.stateNode,G=Ee.memoizedProps.style,O=G!=null&&G.hasOwnProperty("display")?G.display:null,j.style.display=z("display",O))}catch(Ye){vn(a,a.return,Ye)}}}else if(Ee.tag===6){if(Se===null)try{Ee.stateNode.nodeValue=le?"":Ee.memoizedProps}catch(Ye){vn(a,a.return,Ye)}}else if((Ee.tag!==22&&Ee.tag!==23||Ee.memoizedState===null||Ee===a)&&Ee.child!==null){Ee.child.return=Ee,Ee=Ee.child;continue}if(Ee===a)break e;for(;Ee.sibling===null;){if(Ee.return===null||Ee.return===a)break e;Se===Ee&&(Se=null),Ee=Ee.return}Se===Ee&&(Se=null),Ee.sibling.return=Ee.return,Ee=Ee.sibling}}break;case 19:to(o,a),no(a),h&4&&c2(a);break;case 21:break;default:to(o,a),no(a)}}function no(a){var o=a.flags;if(o&2){try{e:{for(var d=a.return;d!==null;){if(Yd(d)){var h=d;break e}d=d.return}throw Error(i(160))}switch(h.tag){case 5:var v=h.stateNode;h.flags&32&&(y(v,""),h.flags&=-33);var w=Qu(a);yo(a,w,v);break;case 3:case 4:var O=h.stateNode.containerInfo,j=Qu(a);go(a,j,O);break;default:throw Error(i(161))}}catch(G){vn(a,a.return,G)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function Yu(a,o,d){ze=a,f2(a)}function f2(a,o,d){for(var h=(a.mode&1)!==0;ze!==null;){var v=ze,w=v.child;if(v.tag===22&&h){var O=v.memoizedState!==null||ki;if(!O){var j=v.alternate,G=j!==null&&j.memoizedState!==null||aa;j=ki;var le=aa;if(ki=O,(aa=G)&&!le)for(ze=v;ze!==null;)O=ze,G=O.child,O.tag===22&&O.memoizedState!==null?Ku(v):G!==null?(G.return=O,ze=G):Ku(v);for(;w!==null;)ze=w,f2(w),w=w.sibling;ze=v,ki=j,aa=le}Tm(a)}else v.subtreeFlags&8772&&w!==null?(w.return=v,ze=w):Tm(a)}}function Tm(a){for(;ze!==null;){var o=ze;if(o.flags&8772){var d=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:aa||Wd(5,o);break;case 1:var h=o.stateNode;if(o.flags&4&&!aa)if(d===null)h.componentDidMount();else{var v=o.elementType===o.type?d.memoizedProps:or(o.type,d.memoizedProps);h.componentDidUpdate(v,d.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}var w=o.updateQueue;w!==null&&ui(o,w,h);break;case 3:var O=o.updateQueue;if(O!==null){if(d=null,o.child!==null)switch(o.child.tag){case 5:d=o.child.stateNode;break;case 1:d=o.child.stateNode}ui(o,O,d)}break;case 5:var j=o.stateNode;if(d===null&&o.flags&4){d=j;var G=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":G.autoFocus&&d.focus();break;case"img":G.src&&(d.src=G.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var le=o.alternate;if(le!==null){var Se=le.memoizedState;if(Se!==null){var Ee=Se.dehydrated;Ee!==null&&ku(Ee)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}aa||o.flags&512&&Qd(o)}catch(we){vn(o,o.return,we)}}if(o===a){ze=null;break}if(d=o.sibling,d!==null){d.return=o.return,ze=d;break}ze=o.return}}function m2(a){for(;ze!==null;){var o=ze;if(o===a){ze=null;break}var d=o.sibling;if(d!==null){d.return=o.return,ze=d;break}ze=o.return}}function Ku(a){for(;ze!==null;){var o=ze;try{switch(o.tag){case 0:case 11:case 15:var d=o.return;try{Wd(4,o)}catch(G){vn(o,d,G)}break;case 1:var h=o.stateNode;if(typeof h.componentDidMount=="function"){var v=o.return;try{h.componentDidMount()}catch(G){vn(o,v,G)}}var w=o.return;try{Qd(o)}catch(G){vn(o,w,G)}break;case 5:var O=o.return;try{Qd(o)}catch(G){vn(o,O,G)}}}catch(G){vn(o,o.return,G)}if(o===a){ze=null;break}var j=o.sibling;if(j!==null){j.return=o.return,ze=j;break}ze=o.return}}var p2=Math.ceil,Kd=ee.ReactCurrentDispatcher,bi=ee.ReactCurrentOwner,ga=ee.ReactCurrentBatchConfig,Et=0,An=null,wn=null,ra=0,lr=0,Ol=yt(0),Bn=0,Ti=null,Si=0,wi=0,Zu=0,Al=null,Wa=null,Sm=0,Pl=1/0,zo=null,ws=!1,Ju=null,Mr=null,Zd=!1,Es=null,Xu=0,Ml=0,Dl=null,Ei=-1,ec=0;function Xt(){return Et&6?gn():Ei!==-1?Ei:Ei=gn()}function ur(a){return a.mode&1?Et&2&&ra!==0?ra&-ra:gd.transition!==null?(ec===0&&(ec=qc()),ec):(a=Gt,a!==0||(a=window.event,a=a===void 0?16:_f(a.type)),a):1}function cr(a,o,d,h){if(50<Ml)throw Ml=0,Dl=null,Error(i(185));Xs(a,d,h),(!(Et&2)||a!==An)&&(a===An&&(!(Et&2)&&(wi|=d),Bn===4&&Cs(a,ra)),Zn(a,h),d===1&&Et===0&&!(o.mode&1)&&(Pl=gn()+500,Yn&&ja()))}function Zn(a,o){var d=a.callbackNode;Gc(a,o);var h=Yr(a,a===An?ra:0);if(h===0)d!==null&&e0(d),a.callbackNode=null,a.callbackPriority=0;else if(o=h&-h,a.callbackPriority!==o){if(d!=null&&e0(d),o===1)a.tag===0?Jf(rc.bind(null,a)):Zf(rc.bind(null,a)),Qf(function(){!(Et&6)&&ja()}),d=null;else{switch(wf(h)){case 1:d=No;break;case 4:d=Nt;break;case 16:d=as;break;case 536870912:d=kf;break;default:d=as}d=b2(d,h2.bind(null,a))}a.callbackPriority=o,a.callbackNode=d}}function h2(a,o){if(Ei=-1,ec=0,Et&6)throw Error(i(327));var d=a.callbackNode;if(Ul()&&a.callbackNode!==d)return null;var h=Yr(a,a===An?ra:0);if(h===0)return null;if(h&30||h&a.expiredLanes||o)o=e1(a,h);else{o=h;var v=Et;Et|=2;var w=g2();(An!==a||ra!==o)&&(zo=null,Pl=gn()+500,_i(a,o));do try{$3();break}catch(j){Xd(a,j)}while(!0);rm(),Kd.current=w,Et=v,wn!==null?o=0:(An=null,ra=0,o=Bn)}if(o!==0){if(o===2&&(v=Tf(a),v!==0&&(h=v,o=tc(a,v))),o===1)throw d=Ti,_i(a,0),Cs(a,h),Zn(a,gn()),d;if(o===6)Cs(a,h);else{if(v=a.current.alternate,!(h&30)&&!ac(v)&&(o=e1(a,h),o===2&&(w=Tf(a),w!==0&&(h=w,o=tc(a,w))),o===1))throw d=Ti,_i(a,0),Cs(a,h),Zn(a,gn()),d;switch(a.finishedWork=v,a.finishedLanes=h,o){case 0:case 1:throw Error(i(345));case 2:Ri(a,Wa,zo);break;case 3:if(Cs(a,h),(h&130023424)===h&&(o=Sm+500-gn(),10<o)){if(Yr(a,0)!==0)break;if(v=a.suspendedLanes,(v&h)!==h){Xt(),a.pingedLanes|=a.suspendedLanes&v;break}a.timeoutHandle=si(Ri.bind(null,a,Wa,zo),o);break}Ri(a,Wa,zo);break;case 4:if(Cs(a,h),(h&4194240)===h)break;for(o=a.eventTimes,v=-1;0<h;){var O=31-Sr(h);w=1<<O,O=o[O],O>v&&(v=O),h&=~w}if(h=v,h=gn()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*p2(h/1960))-h,10<h){a.timeoutHandle=si(Ri.bind(null,a,Wa,zo),h);break}Ri(a,Wa,zo);break;case 5:Ri(a,Wa,zo);break;default:throw Error(i(329))}}}return Zn(a,gn()),a.callbackNode===d?h2.bind(null,a):null}function tc(a,o){var d=Al;return a.current.memoizedState.isDehydrated&&(_i(a,o).flags|=256),a=e1(a,o),a!==2&&(o=Wa,Wa=d,o!==null&&nc(o)),a}function nc(a){Wa===null?Wa=a:Wa.push.apply(Wa,a)}function ac(a){for(var o=a;;){if(o.flags&16384){var d=o.updateQueue;if(d!==null&&(d=d.stores,d!==null))for(var h=0;h<d.length;h++){var v=d[h],w=v.getSnapshot;v=v.value;try{if(!Cr(w(),v))return!1}catch{return!1}}}if(d=o.child,o.subtreeFlags&16384&&d!==null)d.return=o,o=d;else{if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Cs(a,o){for(o&=~Zu,o&=~wi,a.suspendedLanes|=o,a.pingedLanes&=~o,a=a.expirationTimes;0<o;){var d=31-Sr(o),h=1<<d;a[d]=-1,o&=~h}}function rc(a){if(Et&6)throw Error(i(327));Ul();var o=Yr(a,0);if(!(o&1))return Zn(a,gn()),null;var d=e1(a,o);if(a.tag!==0&&d===2){var h=Tf(a);h!==0&&(o=h,d=tc(a,h))}if(d===1)throw d=Ti,_i(a,0),Cs(a,o),Zn(a,gn()),d;if(d===6)throw Error(i(345));return a.finishedWork=a.current.alternate,a.finishedLanes=o,Ri(a,Wa,zo),Zn(a,gn()),null}function Jd(a,o){var d=Et;Et|=1;try{return a(o)}finally{Et=d,Et===0&&(Pl=gn()+500,Yn&&ja())}}function Ci(a){Es!==null&&Es.tag===0&&!(Et&6)&&Ul();var o=Et;Et|=1;var d=ga.transition,h=Gt;try{if(ga.transition=null,Gt=1,a)return a()}finally{Gt=h,ga.transition=d,Et=o,!(Et&6)&&ja()}}function wm(){lr=Ol.current,Bt(Ol)}function _i(a,o){a.finishedWork=null,a.finishedLanes=0;var d=a.timeoutHandle;if(d!==-1&&(a.timeoutHandle=-1,z0(d)),wn!==null)for(d=wn.return;d!==null;){var h=d;switch(em(h),h.tag){case 1:h=h.type.childContextTypes,h!=null&&Ir();break;case 3:vs(),Bt(yn),Bt(ut),Sd();break;case 5:Tt(h);break;case 4:vs();break;case 13:Bt(rt);break;case 19:Bt(rt);break;case 10:ps(h.type._context);break;case 22:case 23:wm()}d=d.return}if(An=a,wn=a=_s(a.current,null),ra=lr=o,Bn=0,Ti=null,Zu=wi=Si=0,Wa=Al=null,ta!==null){for(o=0;o<ta.length;o++)if(d=ta[o],h=d.interleaved,h!==null){d.interleaved=null;var v=h.next,w=d.pending;if(w!==null){var O=w.next;w.next=v,h.next=O}d.pending=h}ta=null}return a}function Xd(a,o){do{var d=wn;try{if(rm(),wd.current=jd,st){for(var h=an.memoizedState;h!==null;){var v=h.queue;v!==null&&(v.pending=null),h=h.next}st=!1}if(di=0,Ot=ge=an=null,ho=!1,sr=0,bi.current=null,d===null||d.return===null){Bn=1,Ti=o,wn=null;break}e:{var w=a,O=d.return,j=d,G=o;if(o=ra,j.flags|=32768,G!==null&&typeof G=="object"&&typeof G.then=="function"){var le=G,Se=j,Ee=Se.tag;if(!(Se.mode&1)&&(Ee===0||Ee===11||Ee===15)){var we=Se.alternate;we?(Se.updateQueue=we.updateQueue,Se.memoizedState=we.memoizedState,Se.lanes=we.lanes):(Se.updateQueue=null,Se.memoizedState=null)}var De=mm(O);if(De!==null){De.flags&=-257,pm(De,O,j,w,o),De.mode&1&&a2(w,le,o),o=De,G=le;var qe=o.updateQueue;if(qe===null){var Ye=new Set;Ye.add(G),o.updateQueue=Ye}else qe.add(G);break e}else{if(!(o&1)){a2(w,le,o),Em();break e}G=Error(i(426))}}else if(nn&&j.mode&1){var En=mm(O);if(En!==null){!(En.flags&65536)&&(En.flags|=256),pm(En,O,j,w,o),nm(Rl(G,j));break e}}w=G=Rl(G,j),Bn!==4&&(Bn=2),Al===null?Al=[w]:Al.push(w),w=O;do{switch(w.tag){case 3:w.flags|=65536,o&=-o,w.lanes|=o;var te=n2(w,G,o);im(w,te);break e;case 1:j=G;var W=w.type,re=w.stateNode;if(!(w.flags&128)&&(typeof W.getDerivedStateFromError=="function"||re!==null&&typeof re.componentDidCatch=="function"&&(Mr===null||!Mr.has(re)))){w.flags|=65536,o&=-o,w.lanes|=o;var Ie=Gu(w,j,o);im(w,Ie);break e}}w=w.return}while(w!==null)}y2(d)}catch(Me){o=Me,wn===d&&d!==null&&(wn=d=d.return);continue}break}while(!0)}function g2(){var a=Kd.current;return Kd.current=jd,a===null?jd:a}function Em(){(Bn===0||Bn===3||Bn===2)&&(Bn=4),An===null||!(Si&268435455)&&!(wi&268435455)||Cs(An,ra)}function e1(a,o){var d=Et;Et|=2;var h=g2();(An!==a||ra!==o)&&(zo=null,_i(a,o));do try{z3();break}catch(v){Xd(a,v)}while(!0);if(rm(),Et=d,Kd.current=h,wn!==null)throw Error(i(261));return An=null,ra=0,Bn}function z3(){for(;wn!==null;)Cm(wn)}function $3(){for(;wn!==null&&!f3();)Cm(wn)}function Cm(a){var o=Rm(a.alternate,a,lr);a.memoizedProps=a.pendingProps,o===null?y2(a):wn=o,bi.current=null}function y2(a){var o=a;do{var d=o.alternate;if(a=o.return,o.flags&32768){if(d=i2(d,o),d!==null){d.flags&=32767,wn=d;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{Bn=6,wn=null;return}}else if(d=km(d,o,lr),d!==null){wn=d;return}if(o=o.sibling,o!==null){wn=o;return}wn=o=a}while(o!==null);Bn===0&&(Bn=5)}function Ri(a,o,d){var h=Gt,v=ga.transition;try{ga.transition=null,Gt=1,H3(a,o,d,h)}finally{ga.transition=v,Gt=h}return null}function H3(a,o,d,h){do Ul();while(Es!==null);if(Et&6)throw Error(i(327));d=a.finishedWork;var v=a.finishedLanes;if(d===null)return null;if(a.finishedWork=null,a.finishedLanes=0,d===a.current)throw Error(i(177));a.callbackNode=null,a.callbackPriority=0;var w=d.lanes|d.childLanes;if(g3(a,w),a===An&&(wn=An=null,ra=0),!(d.subtreeFlags&2064)&&!(d.flags&2064)||Zd||(Zd=!0,b2(as,function(){return Ul(),null})),w=(d.flags&15990)!==0,d.subtreeFlags&15990||w){w=ga.transition,ga.transition=null;var O=Gt;Gt=1;var j=Et;Et|=4,bi.current=null,B3(a,d),d2(d,a),od(oi),ei=!!qf,oi=qf=null,a.current=d,Yu(d),m3(),Et=j,Gt=O,ga.transition=w}else a.current=d;if(Zd&&(Zd=!1,Es=a,Xu=v),w=a.pendingLanes,w===0&&(Mr=null),n0(d.stateNode),Zn(a,gn()),o!==null)for(h=a.onRecoverableError,d=0;d<o.length;d++)v=o[d],h(v.value,{componentStack:v.stack,digest:v.digest});if(ws)throw ws=!1,a=Ju,Ju=null,a;return Xu&1&&a.tag!==0&&Ul(),w=a.pendingLanes,w&1?a===Dl?Ml++:(Ml=0,Dl=a):Ml=0,ja(),null}function Ul(){if(Es!==null){var a=wf(Xu),o=ga.transition,d=Gt;try{if(ga.transition=null,Gt=16>a?16:a,Es===null)var h=!1;else{if(a=Es,Es=null,Xu=0,Et&6)throw Error(i(331));var v=Et;for(Et|=4,ze=a.current;ze!==null;){var w=ze,O=w.child;if(ze.flags&16){var j=w.deletions;if(j!==null){for(var G=0;G<j.length;G++){var le=j[G];for(ze=le;ze!==null;){var Se=ze;switch(Se.tag){case 0:case 11:case 15:xl(8,Se,w)}var Ee=Se.child;if(Ee!==null)Ee.return=Se,ze=Ee;else for(;ze!==null;){Se=ze;var we=Se.sibling,De=Se.return;if(u2(Se),Se===le){ze=null;break}if(we!==null){we.return=De,ze=we;break}ze=De}}}var qe=w.alternate;if(qe!==null){var Ye=qe.child;if(Ye!==null){qe.child=null;do{var En=Ye.sibling;Ye.sibling=null,Ye=En}while(Ye!==null)}}ze=w}}if(w.subtreeFlags&2064&&O!==null)O.return=w,ze=O;else e:for(;ze!==null;){if(w=ze,w.flags&2048)switch(w.tag){case 0:case 11:case 15:xl(9,w,w.return)}var te=w.sibling;if(te!==null){te.return=w.return,ze=te;break e}ze=w.return}}var W=a.current;for(ze=W;ze!==null;){O=ze;var re=O.child;if(O.subtreeFlags&2064&&re!==null)re.return=O,ze=re;else e:for(O=W;ze!==null;){if(j=ze,j.flags&2048)try{switch(j.tag){case 0:case 11:case 15:Wd(9,j)}}catch(Me){vn(j,j.return,Me)}if(j===O){ze=null;break e}var Ie=j.sibling;if(Ie!==null){Ie.return=j.return,ze=Ie;break e}ze=j.return}}if(Et=v,ja(),Qr&&typeof Qr.onPostCommitFiberRoot=="function")try{Qr.onPostCommitFiberRoot(pu,a)}catch{}h=!0}return h}finally{Gt=d,ga.transition=o}}return!1}function v2(a,o,d){o=Rl(d,o),o=n2(a,o,1),a=gs(a,o,1),o=Xt(),a!==null&&(Xs(a,1,o),Zn(a,o))}function vn(a,o,d){if(a.tag===3)v2(a,a,d);else for(;o!==null;){if(o.tag===3){v2(o,a,d);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(Mr===null||!Mr.has(h))){a=Rl(d,a),a=Gu(o,a,1),o=gs(o,a,1),a=Xt(),o!==null&&(Xs(o,1,a),Zn(o,a));break}}o=o.return}}function _m(a,o,d){var h=a.pingCache;h!==null&&h.delete(o),o=Xt(),a.pingedLanes|=a.suspendedLanes&d,An===a&&(ra&d)===d&&(Bn===4||Bn===3&&(ra&130023424)===ra&&500>gn()-Sm?_i(a,0):Zu|=d),Zn(a,o)}function k2(a,o){o===0&&(a.mode&1?(o=ll,ll<<=1,!(ll&130023424)&&(ll=4194304)):o=1);var d=Xt();a=Fo(a,o),a!==null&&(Xs(a,o,d),Zn(a,d))}function G3(a){var o=a.memoizedState,d=0;o!==null&&(d=o.retryLane),k2(a,d)}function q3(a,o){var d=0;switch(a.tag){case 13:var h=a.stateNode,v=a.memoizedState;v!==null&&(d=v.retryLane);break;case 19:h=a.stateNode;break;default:throw Error(i(314))}h!==null&&h.delete(o),k2(a,d)}var Rm;Rm=function(a,o,d){if(a!==null)if(a.memoizedProps!==o.pendingProps||yn.current)On=!0;else{if(!(a.lanes&d)&&!(o.flags&128))return On=!1,qd(a,o,d);On=!!(a.flags&131072)}else On=!1,nn&&o.flags&1048576&&Xf(o,bl,o.index);switch(o.lanes=0,o.tag){case 2:var h=o.type;Ar(a,o),a=o.pendingProps;var v=Rr(o,ut.current);xe(o,d),v=ks(null,o,h,a,v,d);var w=pi();return o.flags|=1,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,sn(h)?(w=!0,dd(o)):w=!1,o.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,sm(o),v.updater=kd,o.stateNode=v,v._reactInternals=o,bd(o,h,a,d),o=gm(null,o,h,!0,w,d)):(o.tag=0,nn&&w&&fd(o),jn(null,o,v,d),o=o.child),o;case 16:h=o.elementType;e:{switch(Ar(a,o),a=o.pendingProps,v=h._init,h=v(h._payload),o.type=h,v=o.tag=Q3(h),a=or(h,a),v){case 0:o=Il(null,o,h,a,d);break e;case 1:o=hm(null,o,h,a,d);break e;case 11:o=Ts(null,o,h,a,d);break e;case 14:o=Bd(null,o,h,or(h.type,a),d);break e}throw Error(i(306,h,""))}return o;case 0:return h=o.type,v=o.pendingProps,v=o.elementType===h?v:or(h,v),Il(a,o,h,v,d);case 1:return h=o.type,v=o.pendingProps,v=o.elementType===h?v:or(h,v),hm(a,o,h,v,d);case 3:e:{if(zd(o),a===null)throw Error(i(387));h=o.pendingProps,w=o.memoizedState,v=w.element,Fn(a,o),ys(o,h,null,d);var O=o.memoizedState;if(h=O.element,w.isDehydrated)if(w={element:h,isDehydrated:!1,cache:O.cache,pendingSuspenseBoundaries:O.pendingSuspenseBoundaries,transitions:O.transitions},o.updateQueue.baseState=w,o.memoizedState=w,o.flags&256){v=Rl(Error(i(423)),o),o=Nl(a,o,h,d,v);break e}else if(h!==v){v=Rl(Error(i(424)),o),o=Nl(a,o,h,d,v);break e}else for(za=Xr(o.stateNode.containerInfo.firstChild),rr=o,nn=!0,Lr=null,d=e2(o,null,h,d),o.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(fn(),h===v){o=na(a,o,d);break e}jn(a,o,h,d)}o=o.child}return o;case 5:return at(o),a===null&&pd(o),h=o.type,v=o.pendingProps,w=a!==null?a.memoizedProps:null,O=v.children,Au(h,v)?O=null:w!==null&&Au(h,w)&&(o.flags|=32),vt(a,o),jn(a,o,O,d),o.child;case 6:return a===null&&pd(o),null;case 13:return r2(a,o,d);case 4:return um(o,o.stateNode.containerInfo),h=o.pendingProps,a===null?o.child=Sl(o,null,h,d):jn(a,o,h,d),o.child;case 11:return h=o.type,v=o.pendingProps,v=o.elementType===h?v:or(h,v),Ts(a,o,h,v,d);case 7:return jn(a,o,o.pendingProps,d),o.child;case 8:return jn(a,o,o.pendingProps.children,d),o.child;case 12:return jn(a,o,o.pendingProps.children,d),o.child;case 10:e:{if(h=o.type._context,v=o.pendingProps,w=o.memoizedProps,O=v.value,$t(po,h._currentValue),h._currentValue=O,w!==null)if(Cr(w.value,O)){if(w.children===v.children&&!yn.current){o=na(a,o,d);break e}}else for(w=o.child,w!==null&&(w.return=o);w!==null;){var j=w.dependencies;if(j!==null){O=w.child;for(var G=j.firstContext;G!==null;){if(G.context===h){if(w.tag===1){G=jo(-1,d&-d),G.tag=2;var le=w.updateQueue;if(le!==null){le=le.shared;var Se=le.pending;Se===null?G.next=G:(G.next=Se.next,Se.next=G),le.pending=G}}w.lanes|=d,G=w.alternate,G!==null&&(G.lanes|=d),Kn(w.return,d,o),j.lanes|=d;break}G=G.next}}else if(w.tag===10)O=w.type===o.type?null:w.child;else if(w.tag===18){if(O=w.return,O===null)throw Error(i(341));O.lanes|=d,j=O.alternate,j!==null&&(j.lanes|=d),Kn(O,d,o),O=w.sibling}else O=w.child;if(O!==null)O.return=w;else for(O=w;O!==null;){if(O===o){O=null;break}if(w=O.sibling,w!==null){w.return=O.return,O=w;break}O=O.return}w=O}jn(a,o,v.children,d),o=o.child}return o;case 9:return v=o.type,h=o.pendingProps.children,xe(o,d),v=Sn(v),h=h(v),o.flags|=1,jn(a,o,h,d),o.child;case 14:return h=o.type,v=or(h,o.pendingProps),v=or(h.type,v),Bd(a,o,h,v,d);case 15:return Ga(a,o,o.type,o.pendingProps,d);case 17:return h=o.type,v=o.pendingProps,v=o.elementType===h?v:or(h,v),Ar(a,o),o.tag=1,sn(h)?(a=!0,dd(o)):a=!1,xe(o,d),K0(o,h,v),bd(o,h,v,d),gm(null,o,h,!0,a,d);case 19:return qa(a,o,d);case 22:return vi(a,o,d)}throw Error(i(156,o.tag))};function b2(a,o){return vf(a,o)}function W3(a,o,d,h){this.tag=a,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dr(a,o,d,h){return new W3(a,o,d,h)}function Im(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Q3(a){if(typeof a=="function")return Im(a)?1:0;if(a!=null){if(a=a.$$typeof,a===it)return 11;if(a===Lt)return 14}return 2}function _s(a,o){var d=a.alternate;return d===null?(d=Dr(a.tag,o,a.key,a.mode),d.elementType=a.elementType,d.type=a.type,d.stateNode=a.stateNode,d.alternate=a,a.alternate=d):(d.pendingProps=o,d.type=a.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=a.flags&14680064,d.childLanes=a.childLanes,d.lanes=a.lanes,d.child=a.child,d.memoizedProps=a.memoizedProps,d.memoizedState=a.memoizedState,d.updateQueue=a.updateQueue,o=a.dependencies,d.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},d.sibling=a.sibling,d.index=a.index,d.ref=a.ref,d}function t1(a,o,d,h,v,w){var O=2;if(h=a,typeof a=="function")Im(a)&&(O=1);else if(typeof a=="string")O=5;else e:switch(a){case ce:return Rs(d.children,v,w,o);case Le:O=8,v|=8;break;case _e:return a=Dr(12,d,o,v|2),a.elementType=_e,a.lanes=w,a;case He:return a=Dr(13,d,o,v),a.elementType=He,a.lanes=w,a;case et:return a=Dr(19,d,o,v),a.elementType=et,a.lanes=w,a;case In:return Fl(d,v,w,o);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case Qe:O=10;break e;case Be:O=9;break e;case it:O=11;break e;case Lt:O=14;break e;case xt:O=16,h=null;break e}throw Error(i(130,a==null?a:typeof a,""))}return o=Dr(O,d,o,v),o.elementType=a,o.type=h,o.lanes=w,o}function Rs(a,o,d,h){return a=Dr(7,a,h,o),a.lanes=d,a}function Fl(a,o,d,h){return a=Dr(22,a,h,o),a.elementType=In,a.lanes=d,a.stateNode={isHidden:!1},a}function Ii(a,o,d){return a=Dr(6,a,null,o),a.lanes=d,a}function Nm(a,o,d){return o=Dr(4,a.children!==null?a.children:[],a.key,o),o.lanes=d,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}function T2(a,o,d,h,v){this.tag=o,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Sf(0),this.expirationTimes=Sf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Sf(0),this.identifierPrefix=h,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function n1(a,o,d,h,v,w,O,j,G){return a=new T2(a,o,d,j,G),o===1?(o=1,w===!0&&(o|=8)):o=0,w=Dr(3,null,null,o),a.current=w,w.stateNode=a,w.memoizedState={element:h,isDehydrated:d,cache:null,transitions:null,pendingSuspenseBoundaries:null},sm(w),a}function S2(a,o,d){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:fe,key:h==null?null:""+h,children:a,containerInfo:o,implementation:d}}function w2(a){if(!a)return mo;a=a._reactInternals;e:{if(co(a)!==a||a.tag!==1)throw Error(i(170));var o=a;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(sn(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(i(171))}if(a.tag===1){var d=a.type;if(sn(d))return Du(a,d,o)}return o}function Lm(a,o,d,h,v,w,O,j,G){return a=n1(d,h,!0,a,v,w,O,j,G),a.context=w2(null),d=a.current,h=Xt(),v=ur(d),w=jo(h,v),w.callback=o??null,gs(d,w,v),a.current.lanes=v,Xs(a,v,h),Zn(a,h),a}function a1(a,o,d,h){var v=o.current,w=Xt(),O=ur(v);return d=w2(d),o.context===null?o.context=d:o.pendingContext=d,o=jo(w,O),o.payload={element:a},h=h===void 0?null:h,h!==null&&(o.callback=h),a=gs(v,o,O),a!==null&&(cr(a,v,O,w),vd(a,v,O)),O}function r1(a){if(a=a.current,!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function E2(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var d=a.retryLane;a.retryLane=d!==0&&d<o?d:o}}function o1(a,o){E2(a,o),(a=a.alternate)&&E2(a,o)}function C2(){return null}var xm=typeof reportError=="function"?reportError:function(a){console.error(a)};function Is(a){this._internalRoot=a}s1.prototype.render=Is.prototype.render=function(a){var o=this._internalRoot;if(o===null)throw Error(i(409));a1(a,o,null,null)},s1.prototype.unmount=Is.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var o=a.containerInfo;Ci(function(){a1(null,a,null,null)}),o[Do]=null}};function s1(a){this._internalRoot=a}s1.prototype.unstable_scheduleHydration=function(a){if(a){var o=s0();a={blockedOn:null,target:a,priority:o};for(var d=0;d<qt.length&&o!==0&&o<qt[d].priority;d++);qt.splice(d,0,a),d===0&&i0(a)}};function Om(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function i1(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function _2(){}function Y3(a,o,d,h,v){if(v){if(typeof h=="function"){var w=h;h=function(){var le=r1(O);w.call(le)}}var O=Lm(o,h,a,0,null,!1,!1,"",_2);return a._reactRootContainer=O,a[Do]=O.current,vl(a.nodeType===8?a.parentNode:a),Ci(),O}for(;v=a.lastChild;)a.removeChild(v);if(typeof h=="function"){var j=h;h=function(){var le=r1(G);j.call(le)}}var G=n1(a,0,!1,null,null,!1,!1,"",_2);return a._reactRootContainer=G,a[Do]=G.current,vl(a.nodeType===8?a.parentNode:a),Ci(function(){a1(o,G,d,h)}),G}function l1(a,o,d,h,v){var w=d._reactRootContainer;if(w){var O=w;if(typeof v=="function"){var j=v;v=function(){var G=r1(O);j.call(G)}}a1(o,O,a,v)}else O=Y3(d,o,a,v,h);return r1(O)}o0=function(a){switch(a.tag){case 3:var o=a.stateNode;if(o.current.memoizedState.isDehydrated){var d=Js(o.pendingLanes);d!==0&&(hu(o,d|1),Zn(o,gn()),!(Et&6)&&(Pl=gn()+500,ja()))}break;case 13:Ci(function(){var h=Fo(a,1);if(h!==null){var v=Xt();cr(h,a,1,v)}}),o1(a,1)}},Wc=function(a){if(a.tag===13){var o=Fo(a,134217728);if(o!==null){var d=Xt();cr(o,a,134217728,d)}o1(a,134217728)}},Kt=function(a){if(a.tag===13){var o=ur(a),d=Fo(a,o);if(d!==null){var h=Xt();cr(d,a,o,h)}o1(a,o)}},s0=function(){return Gt},Ef=function(a,o){var d=Gt;try{return Gt=a,o()}finally{Gt=d}},Dt=function(a,o,d){switch(o){case"input":if(Nn(a,d),o=d.name,d.type==="radio"&&o!=null){for(d=a;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<d.length;o++){var h=d[o];if(h!==a&&h.form===a.form){var v=Xe(h);if(!v)throw Error(i(90));bn(h),Nn(h,v)}}}break;case"textarea":br(a,d);break;case"select":o=d.value,o!=null&&kr(a,!!d.multiple,o,!1)}},Kp=Jd,Zp=Ci;var R2={usingClientEntryPoint:!1,Events:[Mu,kl,Xe,Vc,Bc,Jd]},oc={findFiberByHostInstance:_r,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},K3={bundleType:oc.bundleType,version:oc.version,rendererPackageName:oc.rendererPackageName,rendererConfig:oc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ee.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=Jp(a),a===null?null:a.stateNode},findFiberByHostInstance:oc.findFiberByHostInstance||C2,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var sc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sc.isDisabled&&sc.supportsFiber)try{pu=sc.inject(K3),Qr=sc}catch{}}return zr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R2,zr.createPortal=function(a,o){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Om(o))throw Error(i(200));return S2(a,o,null,d)},zr.createRoot=function(a,o){if(!Om(a))throw Error(i(299));var d=!1,h="",v=xm;return o!=null&&(o.unstable_strictMode===!0&&(d=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onRecoverableError!==void 0&&(v=o.onRecoverableError)),o=n1(a,1,!1,null,null,d,!1,h,v),a[Do]=o.current,vl(a.nodeType===8?a.parentNode:a),new Is(o)},zr.findDOMNode=function(a){if(a==null)return null;if(a.nodeType===1)return a;var o=a._reactInternals;if(o===void 0)throw typeof a.render=="function"?Error(i(188)):(a=Object.keys(a).join(","),Error(i(268,a)));return a=Jp(o),a=a===null?null:a.stateNode,a},zr.flushSync=function(a){return Ci(a)},zr.hydrate=function(a,o,d){if(!i1(o))throw Error(i(200));return l1(null,a,o,!0,d)},zr.hydrateRoot=function(a,o,d){if(!Om(a))throw Error(i(405));var h=d!=null&&d.hydratedSources||null,v=!1,w="",O=xm;if(d!=null&&(d.unstable_strictMode===!0&&(v=!0),d.identifierPrefix!==void 0&&(w=d.identifierPrefix),d.onRecoverableError!==void 0&&(O=d.onRecoverableError)),o=Lm(o,null,a,1,d??null,v,!1,w,O),a[Do]=o.current,vl(a),h)for(a=0;a<h.length;a++)d=h[a],v=d._getVersion,v=v(d._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[d,v]:o.mutableSourceEagerHydrationData.push(d,v);return new s1(o)},zr.render=function(a,o,d){if(!i1(o))throw Error(i(200));return l1(null,a,o,!1,d)},zr.unmountComponentAtNode=function(a){if(!i1(a))throw Error(i(40));return a._reactRootContainer?(Ci(function(){l1(null,null,a,!1,function(){a._reactRootContainer=null,a[Do]=null})}),!0):!1},zr.unstable_batchedUpdates=Jd,zr.unstable_renderSubtreeIntoContainer=function(a,o,d,h){if(!i1(d))throw Error(i(200));if(a==null||a._reactInternals===void 0)throw Error(i(38));return l1(a,o,d,!1,h)},zr.version="18.2.0-next-9e3b772b8-20220608",zr}var so={},Xk;function OD(){return Xk||(Xk=1,df.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=ue,r=zS(),i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,u=!1;function c(e){u=e}function p(e){if(!u){for(var t=arguments.length,s=new Array(t>1?t-1:0),l=1;l<t;l++)s[l-1]=arguments[l];k("warn",e,s)}}function m(e){if(!u){for(var t=arguments.length,s=new Array(t>1?t-1:0),l=1;l<t;l++)s[l-1]=arguments[l];k("error",e,s)}}function k(e,t,s){{var l=i.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(t+="%s",s=s.concat([f]));var g=s.map(function(b){return String(b)});g.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,g)}}var S=0,I=1,E=2,x=3,P=4,A=5,F=6,V=7,$=8,B=9,H=10,X=11,ee=12,ie=13,fe=14,ce=15,Le=16,_e=17,Qe=18,Be=19,it=21,He=22,et=23,Lt=24,xt=25,In=!0,Re=!1,je=!1,Ne=!1,Ge=!1,Y=!0,pe=!1,ve=!1,Ve=!0,ht=!0,gt=!0,ot=new Set,ft={},Rt={};function zt(e,t){bn(e,t),bn(e+"Capture",t)}function bn(e,t){ft[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ft[e]=t;{var s=e.toLowerCase();Rt[s]=e,e==="onDoubleClick"&&(Rt.ondblclick=e)}for(var l=0;l<t.length;l++)ot.add(t[l])}var Yt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",cn=Object.prototype.hasOwnProperty;function Mn(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,s=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function Tn(e){try{return Nn(e),!1}catch{return!0}}function Nn(e){return""+e}function Xa(e,t){if(Tn(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Mn(e)),Nn(e)}function ke(e){if(Tn(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Mn(e)),Nn(e)}function er(e,t){if(Tn(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Mn(e)),Nn(e)}function kr(e,t){if(Tn(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Mn(e)),Nn(e)}function Gr(e){if(Tn(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Mn(e)),Nn(e)}function qr(e){if(Tn(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Mn(e)),Nn(e)}var br=0,dn=1,Tr=2,Sa=3,Dn=4,Ks=5,y=6,C=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",L=C+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",z=new RegExp("^["+C+"]["+L+"]*$"),K={},de={};function Te(e){return cn.call(de,e)?!0:cn.call(K,e)?!1:z.test(e)?(de[e]=!0,!0):(K[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function St(e,t,s){return t!==null?t.type===br:s?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function wt(e,t,s,l){if(s!==null&&s.type===br)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(l)return!1;if(s!==null)return!s.acceptsBooleans;var f=e.toLowerCase().slice(0,5);return f!=="data-"&&f!=="aria-"}default:return!1}}function It(e,t,s,l){if(t===null||typeof t>"u"||wt(e,t,s,l))return!0;if(l)return!1;if(s!==null)switch(s.type){case Sa:return!t;case Dn:return t===!1;case Ks:return isNaN(t);case y:return isNaN(t)||t<1}return!1}function Dt(e){return hn.hasOwnProperty(e)?hn[e]:null}function kt(e,t,s,l,f,g,b){this.acceptsBooleans=t===Tr||t===Sa||t===Dn,this.attributeName=l,this.attributeNamespace=f,this.mustUseProperty=s,this.propertyName=e,this.type=t,this.sanitizeURL=g,this.removeEmptyString=b}var hn={},Yp=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Yp.forEach(function(e){hn[e]=new kt(e,br,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],s=e[1];hn[t]=new kt(t,dn,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){hn[e]=new kt(e,Tr,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){hn[e]=new kt(e,Tr,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){hn[e]=new kt(e,Sa,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){hn[e]=new kt(e,Sa,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){hn[e]=new kt(e,Dn,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){hn[e]=new kt(e,y,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){hn[e]=new kt(e,Ks,!1,e.toLowerCase(),null,!1,!1)});var Vc=/[\-\:]([a-z])/g,Bc=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(Vc,Bc);hn[t]=new kt(t,dn,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Vc,Bc);hn[t]=new kt(t,dn,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Vc,Bc);hn[t]=new kt(t,dn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){hn[e]=new kt(e,dn,!1,e.toLowerCase(),null,!1,!1)});var Kp="xlinkHref";hn[Kp]=new kt("xlinkHref",dn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){hn[e]=new kt(e,dn,!1,e.toLowerCase(),null,!0,!0)});var Zp=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,zc=!1;function hf(e){!zc&&Zp.test(e)&&(zc=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function du(e,t,s,l){if(l.mustUseProperty){var f=l.propertyName;return e[f]}else{Xa(s,t),l.sanitizeURL&&hf(""+s);var g=l.attributeName,b=null;if(l.type===Dn){if(e.hasAttribute(g)){var _=e.getAttribute(g);return _===""?!0:It(t,s,l,!1)?_:_===""+s?s:_}}else if(e.hasAttribute(g)){if(It(t,s,l,!1))return e.getAttribute(g);if(l.type===Sa)return s;b=e.getAttribute(g)}return It(t,s,l,!1)?b===null?s:b:b===""+s?s:b}}function $c(e,t,s,l){{if(!Te(t))return;if(!e.hasAttribute(t))return s===void 0?void 0:null;var f=e.getAttribute(t);return Xa(s,t),f===""+s?s:f}}function Zs(e,t,s,l){var f=Dt(t);if(!St(t,f,l)){if(It(t,s,f,l)&&(s=null),l||f===null){if(Te(t)){var g=t;s===null?e.removeAttribute(g):(Xa(s,t),e.setAttribute(g,""+s))}return}var b=f.mustUseProperty;if(b){var _=f.propertyName;if(s===null){var N=f.type;e[_]=N===Sa?!1:""}else e[_]=s;return}var M=f.attributeName,D=f.attributeNamespace;if(s===null)e.removeAttribute(M);else{var Q=f.type,q;Q===Sa||Q===Dn&&s===!0?q="":(Xa(s,M),q=""+s,f.sanitizeURL&&hf(q.toString())),D?e.setAttributeNS(D,M,q):e.setAttribute(M,q)}}}var rl=Symbol.for("react.element"),Wr=Symbol.for("react.portal"),Io=Symbol.for("react.fragment"),ol=Symbol.for("react.strict_mode"),fu=Symbol.for("react.profiler"),gf=Symbol.for("react.provider"),yf=Symbol.for("react.context"),sl=Symbol.for("react.forward_ref"),co=Symbol.for("react.suspense"),mu=Symbol.for("react.suspense_list"),il=Symbol.for("react.memo"),wa=Symbol.for("react.lazy"),Jp=Symbol.for("react.scope"),Xp=Symbol.for("react.debug_trace_mode"),vf=Symbol.for("react.offscreen"),e0=Symbol.for("react.legacy_hidden"),f3=Symbol.for("react.cache"),m3=Symbol.for("react.tracing_marker"),gn=Symbol.iterator,p3="@@iterator";function No(e){if(e===null||typeof e!="object")return null;var t=gn&&e[gn]||e[p3];return typeof t=="function"?t:null}var Nt=Object.assign,as=0,t0,kf,pu,Qr,n0,Sr,a0;function r0(){}r0.__reactDisabledLog=!0;function h3(){{if(as===0){t0=console.log,kf=console.info,pu=console.warn,Qr=console.error,n0=console.group,Sr=console.groupCollapsed,a0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:r0,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}as++}}function Hc(){{if(as--,as===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Nt({},e,{value:t0}),info:Nt({},e,{value:kf}),warn:Nt({},e,{value:pu}),error:Nt({},e,{value:Qr}),group:Nt({},e,{value:n0}),groupCollapsed:Nt({},e,{value:Sr}),groupEnd:Nt({},e,{value:a0})})}as<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ll=i.ReactCurrentDispatcher,Js;function Yr(e,t,s){{if(Js===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);Js=l&&l[1]||""}return`
41
+ `+Js+e}}var bf=!1,Gc;{var Tf=typeof WeakMap=="function"?WeakMap:Map;Gc=new Tf}function qc(e,t){if(!e||bf)return"";{var s=Gc.get(e);if(s!==void 0)return s}var l;bf=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ll.current,ll.current=null,h3();try{if(t){var b=function(){throw Error()};if(Object.defineProperty(b.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(b,[])}catch(se){l=se}Reflect.construct(e,[],b)}else{try{b.call()}catch(se){l=se}e.call(b.prototype)}}else{try{throw Error()}catch(se){l=se}e()}}catch(se){if(se&&l&&typeof se.stack=="string"){for(var _=se.stack.split(`
42
+ `),N=l.stack.split(`
43
+ `),M=_.length-1,D=N.length-1;M>=1&&D>=0&&_[M]!==N[D];)D--;for(;M>=1&&D>=0;M--,D--)if(_[M]!==N[D]){if(M!==1||D!==1)do if(M--,D--,D<0||_[M]!==N[D]){var Q=`
44
+ `+_[M].replace(" at new "," at ");return e.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",e.displayName)),typeof e=="function"&&Gc.set(e,Q),Q}while(M>=1&&D>=0);break}}}finally{bf=!1,ll.current=g,Hc(),Error.prepareStackTrace=f}var q=e?e.displayName||e.name:"",oe=q?Yr(q):"";return typeof e=="function"&&Gc.set(e,oe),oe}function Sf(e,t,s){return qc(e,!0)}function Xs(e,t,s){return qc(e,!1)}function g3(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function hu(e,t,s){if(e==null)return"";if(typeof e=="function")return qc(e,g3(e));if(typeof e=="string")return Yr(e);switch(e){case co:return Yr("Suspense");case mu:return Yr("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case sl:return Xs(e.render);case il:return hu(e.type,t,s);case wa:{var l=e,f=l._payload,g=l._init;try{return hu(g(f),t,s)}catch{}}}return""}function Gt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case A:return Yr(e.type);case Le:return Yr("Lazy");case ie:return Yr("Suspense");case Be:return Yr("SuspenseList");case S:case E:case ce:return Xs(e.type);case X:return Xs(e.type.render);case I:return Sf(e.type);default:return""}}function wf(e){try{var t="",s=e;do t+=Gt(s),s=s.return;while(s);return t}catch(l){return`
45
+ Error generating stack: `+l.message+`
46
+ `+l.stack}}function o0(e,t,s){var l=e.displayName;if(l)return l;var f=t.displayName||t.name||"";return f!==""?s+"("+f+")":s}function Wc(e){return e.displayName||"Context"}function Kt(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Io:return"Fragment";case Wr:return"Portal";case fu:return"Profiler";case ol:return"StrictMode";case co:return"Suspense";case mu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case yf:var t=e;return Wc(t)+".Consumer";case gf:var s=e;return Wc(s._context)+".Provider";case sl:return o0(e,e.render,"ForwardRef");case il:var l=e.displayName||null;return l!==null?l:Kt(e.type)||"Memo";case wa:{var f=e,g=f._payload,b=f._init;try{return Kt(b(g))}catch{return null}}}return null}function s0(e,t,s){var l=t.displayName||t.name||"";return e.displayName||(l!==""?s+"("+l+")":s)}function Ef(e){return e.displayName||"Context"}function pt(e){var t=e.tag,s=e.type;switch(t){case Lt:return"Cache";case B:var l=s;return Ef(l)+".Consumer";case H:var f=s;return Ef(f._context)+".Provider";case Qe:return"DehydratedFragment";case X:return s0(s,s.render,"ForwardRef");case V:return"Fragment";case A:return s;case P:return"Portal";case x:return"Root";case F:return"Text";case Le:return Kt(s);case $:return s===ol?"StrictMode":"Mode";case He:return"Offscreen";case ee:return"Profiler";case it:return"Scope";case ie:return"Suspense";case Be:return"SuspenseList";case xt:return"TracingMarker";case I:case S:case _e:case E:case fe:case ce:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var gu=i.ReactDebugCurrentFrame,Ln=null,wr=!1;function Er(){{if(Ln===null)return null;var e=Ln._debugOwner;if(e!==null&&typeof e<"u")return pt(e)}return null}function yu(){return Ln===null?"":wf(Ln)}function Un(){gu.getCurrentStack=null,Ln=null,wr=!1}function qt(e){gu.getCurrentStack=e===null?null:yu,Ln=e,wr=!1}function y3(){return Ln}function Kr(e){wr=e}function ma(e){return""+e}function rs(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return qr(e),e;default:return""}}var i0={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ul(e,t){i0[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||m("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||m("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Cf(e){var t=e.type,s=e.nodeName;return s&&s.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function l0(e){return e._valueTracker}function vu(e){e._valueTracker=null}function ku(e){var t="";return e&&(Cf(e)?t=e.checked?"true":"false":t=e.value),t}function cl(e){var t=Cf(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);qr(e[t]);var l=""+e[t];if(!(e.hasOwnProperty(t)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var f=s.get,g=s.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return f.call(this)},set:function(_){qr(_),l=""+_,g.call(this,_)}}),Object.defineProperty(e,t,{enumerable:s.enumerable});var b={getValue:function(){return l},setValue:function(_){qr(_),l=""+_},stopTracking:function(){vu(e),delete e[t]}};return b}}function ei(e){l0(e)||(e._valueTracker=cl(e))}function u0(e){if(!e)return!1;var t=l0(e);if(!t)return!0;var s=t.getValue(),l=ku(e);return l!==s?(t.setValue(l),!0):!1}function Qc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Yc=!1,bu=!1,Kc=!1,_f=!1;function Lo(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Tu(e,t){var s=e,l=t.checked,f=Nt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??s._wrapperState.initialChecked});return f}function Su(e,t){ul("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!bu&&(m("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Er()||"A component",t.type),bu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Yc&&(m("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Er()||"A component",t.type),Yc=!0);var s=e,l=t.defaultValue==null?"":t.defaultValue;s._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:rs(t.value!=null?t.value:l),controlled:Lo(t)}}function Rf(e,t){var s=e,l=t.checked;l!=null&&Zs(s,"checked",l,!1)}function dl(e,t){var s=e;{var l=Lo(t);!s._wrapperState.controlled&&l&&!_f&&(m("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),_f=!0),s._wrapperState.controlled&&!l&&!Kc&&(m("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Kc=!0)}Rf(e,t);var f=rs(t.value),g=t.type;if(f!=null)g==="number"?(f===0&&s.value===""||s.value!=f)&&(s.value=ma(f)):s.value!==ma(f)&&(s.value=ma(f));else if(g==="submit"||g==="reset"){s.removeAttribute("value");return}t.hasOwnProperty("value")?os(s,t.type,f):t.hasOwnProperty("defaultValue")&&os(s,t.type,rs(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(s.defaultChecked=!!t.defaultChecked)}function wu(e,t,s){var l=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var f=t.type,g=f==="submit"||f==="reset";if(g&&(t.value===void 0||t.value===null))return;var b=ma(l._wrapperState.initialValue);s||b!==l.value&&(l.value=b),l.defaultValue=b}var _=l.name;_!==""&&(l.name=""),l.defaultChecked=!l.defaultChecked,l.defaultChecked=!!l._wrapperState.initialChecked,_!==""&&(l.name=_)}function c0(e,t){var s=e;dl(s,t),tr(s,t)}function tr(e,t){var s=t.name;if(t.type==="radio"&&s!=null){for(var l=e;l.parentNode;)l=l.parentNode;Xa(s,"name");for(var f=l.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),g=0;g<f.length;g++){var b=f[g];if(!(b===e||b.form!==e.form)){var _=H2(b);if(!_)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");u0(b),dl(b,_)}}}}function os(e,t,s){(t!=="number"||Qc(e.ownerDocument)!==e)&&(s==null?e.defaultValue=ma(e._wrapperState.initialValue):e.defaultValue!==ma(s)&&(e.defaultValue=ma(s)))}var Zc=!1,fl=!1,d0=!1;function Jc(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?n.Children.forEach(t.children,function(s){s!=null&&(typeof s=="string"||typeof s=="number"||fl||(fl=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(d0||(d0=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Zc&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zc=!0)}function If(e,t){t.value!=null&&e.setAttribute("value",ma(rs(t.value)))}var Eu=Array.isArray;function Wn(e){return Eu(e)}var Xc;Xc=!1;function f0(){var e=Er();return e?`
47
+
48
+ Check the render method of \``+e+"`.":""}var m0=["value","defaultValue"];function v3(e){{ul("select",e);for(var t=0;t<m0.length;t++){var s=m0[t];if(e[s]!=null){var l=Wn(e[s]);e.multiple&&!l?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,f0()):!e.multiple&&l&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,f0())}}}}function ss(e,t,s,l){var f=e.options;if(t){for(var g=s,b={},_=0;_<g.length;_++)b["$"+g[_]]=!0;for(var N=0;N<f.length;N++){var M=b.hasOwnProperty("$"+f[N].value);f[N].selected!==M&&(f[N].selected=M),M&&l&&(f[N].defaultSelected=!0)}}else{for(var D=ma(rs(s)),Q=null,q=0;q<f.length;q++){if(f[q].value===D){f[q].selected=!0,l&&(f[q].defaultSelected=!0);return}Q===null&&!f[q].disabled&&(Q=f[q])}Q!==null&&(Q.selected=!0)}}function Nf(e,t){return Nt({},t,{value:void 0})}function p0(e,t){var s=e;v3(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Xc&&(m("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Xc=!0)}function k3(e,t){var s=e;s.multiple=!!t.multiple;var l=t.value;l!=null?ss(s,!!t.multiple,l,!1):t.defaultValue!=null&&ss(s,!!t.multiple,t.defaultValue,!0)}function b3(e,t){var s=e,l=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var f=t.value;f!=null?ss(s,!!t.multiple,f,!1):l!==!!t.multiple&&(t.defaultValue!=null?ss(s,!!t.multiple,t.defaultValue,!0):ss(s,!!t.multiple,t.multiple?[]:"",!1))}function T3(e,t){var s=e,l=t.value;l!=null&&ss(s,!!t.multiple,l,!1)}var Lf=!1;function xf(e,t){var s=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var l=Nt({},t,{value:void 0,defaultValue:void 0,children:ma(s._wrapperState.initialValue)});return l}function h0(e,t){var s=e;ul("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Lf&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Er()||"A component"),Lf=!0);var l=t.value;if(l==null){var f=t.children,g=t.defaultValue;if(f!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(g!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Wn(f)){if(f.length>1)throw new Error("<textarea> can only have at most one child.");f=f[0]}g=f}}g==null&&(g=""),l=g}s._wrapperState={initialValue:rs(l)}}function g0(e,t){var s=e,l=rs(t.value),f=rs(t.defaultValue);if(l!=null){var g=ma(l);g!==s.value&&(s.value=g),t.defaultValue==null&&s.defaultValue!==g&&(s.defaultValue=g)}f!=null&&(s.defaultValue=ma(f))}function y0(e,t){var s=e,l=s.textContent;l===s._wrapperState.initialValue&&l!==""&&l!==null&&(s.value=l)}function Of(e,t){g0(e,t)}var xo="http://www.w3.org/1999/xhtml",S3="http://www.w3.org/1998/Math/MathML",Af="http://www.w3.org/2000/svg";function ed(e){switch(e){case"svg":return Af;case"math":return S3;default:return xo}}function Pf(e,t){return e==null||e===xo?ed(t):e===Af&&t==="foreignObject"?xo:e}var w3=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,l,f){MSApp.execUnsafeLocalFunction(function(){return e(t,s,l,f)})}:e},td,v0=w3(function(e,t){if(e.namespaceURI===Af&&!("innerHTML"in e)){td=td||document.createElement("div"),td.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=td.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),Ua=1,Oo=3,xn=8,Zr=9,ti=11,nd=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===Oo){s.nodeValue=t;return}}e.textContent=t},k0={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},ml={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function b0(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var T0=["Webkit","ms","Moz","O"];Object.keys(ml).forEach(function(e){T0.forEach(function(t){ml[b0(t,e)]=ml[e]})});function ad(e,t,s){var l=t==null||typeof t=="boolean"||t==="";return l?"":!s&&typeof t=="number"&&t!==0&&!(ml.hasOwnProperty(e)&&ml[e])?t+"px":(kr(t,e),(""+t).trim())}var pl=/([A-Z])/g,E3=/^ms-/;function C3(e){return e.replace(pl,"-$1").toLowerCase().replace(E3,"-ms-")}var S0=function(){};{var w0=/^(?:webkit|moz|o)[A-Z]/,E0=/^-ms-/,Cu=/-(.)/g,hl=/;\s*$/,gl={},yl={},C0=!1,Mf=!1,Df=function(e){return e.replace(Cu,function(t,s){return s.toUpperCase()})},Uf=function(e){gl.hasOwnProperty(e)&&gl[e]||(gl[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,Df(e.replace(E0,"ms-"))))},_0=function(e){gl.hasOwnProperty(e)&&gl[e]||(gl[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},R0=function(e,t){yl.hasOwnProperty(t)&&yl[t]||(yl[t]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(hl,"")))},I0=function(e,t){C0||(C0=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},_3=function(e,t){Mf||(Mf=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};S0=function(e,t){e.indexOf("-")>-1?Uf(e):w0.test(e)?_0(e):hl.test(t)&&R0(e,t),typeof t=="number"&&(isNaN(t)?I0(e,t):isFinite(t)||_3(e,t))}}var R3=S0;function I3(e){{var t="",s="";for(var l in e)if(e.hasOwnProperty(l)){var f=e[l];if(f!=null){var g=l.indexOf("--")===0;t+=s+(g?l:C3(l))+":",t+=ad(l,f,g),s=";"}}return t||null}}function N0(e,t){var s=e.style;for(var l in t)if(t.hasOwnProperty(l)){var f=l.indexOf("--")===0;f||R3(l,t[l]);var g=ad(l,t[l],f);l==="float"&&(l="cssFloat"),f?s.setProperty(l,g):s[l]=g}}function N3(e){return e==null||typeof e=="boolean"||e===""}function Cr(e){var t={};for(var s in e)for(var l=k0[s]||[s],f=0;f<l.length;f++)t[l[f]]=s;return t}function _u(e,t){{if(!t)return;var s=Cr(e),l=Cr(t),f={};for(var g in s){var b=s[g],_=l[g];if(_&&b!==_){var N=b+","+_;if(f[N])continue;f[N]=!0,m("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",N3(e[b])?"Removing":"Updating",b,_)}}}}var L0={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},x0=Nt({menuitem:!0},L0),O0="__html";function rd(e,t){if(t){if(x0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(O0 in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&m("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Ao(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var od={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},A0={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Jr={},Ff=new RegExp("^(aria)-["+L+"]*$"),Ru=new RegExp("^(aria)[A-Z]["+L+"]*$");function jf(e,t){{if(cn.call(Jr,t)&&Jr[t])return!0;if(Ru.test(t)){var s="aria-"+t.slice(4).toLowerCase(),l=A0.hasOwnProperty(s)?s:null;if(l==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Jr[t]=!0,!0;if(t!==l)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,l),Jr[t]=!0,!0}if(Ff.test(t)){var f=t.toLowerCase(),g=A0.hasOwnProperty(f)?f:null;if(g==null)return Jr[t]=!0,!1;if(t!==g)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,g),Jr[t]=!0,!0}}return!0}function P0(e,t){{var s=[];for(var l in t){var f=jf(e,l);f||s.push(l)}var g=s.map(function(b){return"`"+b+"`"}).join(", ");s.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,e):s.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,e)}}function sd(e,t){Ao(e,t)||P0(e,t)}var ni=!1;function Vf(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!ni&&(ni=!0,e==="select"&&t.multiple?m("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Bf=function(){};{var Qn={},zf=/^on./,M0=/^on[^A-Z]/,D0=new RegExp("^(aria)-["+L+"]*$"),U0=new RegExp("^(aria)[A-Z]["+L+"]*$");Bf=function(e,t,s,l){if(cn.call(Qn,t)&&Qn[t])return!0;var f=t.toLowerCase();if(f==="onfocusin"||f==="onfocusout")return m("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Qn[t]=!0,!0;if(l!=null){var g=l.registrationNameDependencies,b=l.possibleRegistrationNames;if(g.hasOwnProperty(t))return!0;var _=b.hasOwnProperty(f)?b[f]:null;if(_!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",t,_),Qn[t]=!0,!0;if(zf.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),Qn[t]=!0,!0}else if(zf.test(t))return M0.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Qn[t]=!0,!0;if(D0.test(t)||U0.test(t))return!0;if(f==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Qn[t]=!0,!0;if(f==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Qn[t]=!0,!0;if(f==="is"&&s!==null&&s!==void 0&&typeof s!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Qn[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Qn[t]=!0,!0;var N=Dt(t),M=N!==null&&N.type===br;if(od.hasOwnProperty(f)){var D=od[f];if(D!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,D),Qn[t]=!0,!0}else if(!M&&t!==f)return m("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,f),Qn[t]=!0,!0;return typeof s=="boolean"&&wt(t,s,N,!1)?(s?m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,t,t,s,t):m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,t,t,s,t,t,t),Qn[t]=!0,!0):M?!0:wt(t,s,N,!1)?(Qn[t]=!0,!1):((s==="false"||s==="true")&&N!==null&&N.type===Sa&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,t,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,s),Qn[t]=!0),!0)}}var F0=function(e,t,s){{var l=[];for(var f in t){var g=Bf(e,f,t[f],s);g||l.push(f)}var b=l.map(function(_){return"`"+_+"`"}).join(", ");l.length===1?m("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",b,e):l.length>1&&m("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",b,e)}};function j0(e,t,s){Ao(e,t)||F0(e,t,s)}var Po=1,Iu=2,ai=4,L3=Po|Iu|ai,Nu=null;function Lu(e){Nu!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Nu=e}function x3(){Nu===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Nu=null}function V0(e){return e===Nu}function id(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Oo?t.parentNode:t}var Zt=null,is=null,Mo=null;function vl(e){var t=Bl(e);if(t){if(typeof Zt!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var s=t.stateNode;if(s){var l=H2(s);Zt(t.stateNode,t.type,l)}}}function B0(e){Zt=e}function ld(e){is?Mo?Mo.push(e):Mo=[e]:is=e}function xu(){return is!==null||Mo!==null}function Ou(){if(is){var e=is,t=Mo;if(is=null,Mo=null,vl(e),t)for(var s=0;s<t.length;s++)vl(t[s])}}var ri=function(e,t){return e(t)},$f=function(){},Hf=!1;function O3(){var e=xu();e&&($f(),Ou())}function Gf(e,t,s){if(Hf)return e(t,s);Hf=!0;try{return ri(e,t,s)}finally{Hf=!1,O3()}}function ud(e,t,s){ri=e,$f=s}function cd(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function qf(e,t,s){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(s.disabled&&cd(t));default:return!1}}function oi(e,t){var s=e.stateNode;if(s===null)return null;var l=H2(s);if(l===null)return null;var f=l[t];if(qf(t,e.type,l))return null;if(f&&typeof f!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof f+"` type.");return f}var Au=!1;if(Yt)try{var si={};Object.defineProperty(si,"passive",{get:function(){Au=!0}}),window.addEventListener("test",si,si),window.removeEventListener("test",si,si)}catch{Au=!1}function z0(e,t,s,l,f,g,b,_,N){var M=Array.prototype.slice.call(arguments,3);try{t.apply(s,M)}catch(D){this.onError(D)}}var Wf=z0;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Qf=document.createElement("react");Wf=function(e,t,s,l,f,g,b,_,N){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var M=document.createEvent("Event"),D=!1,Q=!0,q=window.event,oe=Object.getOwnPropertyDescriptor(window,"event");function se(){Qf.removeEventListener(ne,Ae,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=q)}var he=Array.prototype.slice.call(arguments,3);function Ae(){D=!0,se(),t.apply(s,he),Q=!1}var Ke,nt=!1,Ct=!1;function bt(me){if(Ke=me.error,nt=!0,Ke===null&&me.colno===0&&me.lineno===0&&(Ct=!0),me.defaultPrevented&&Ke!=null&&typeof Ke=="object")try{Ke._suppressLogging=!0}catch{}}var ne="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",bt),Qf.addEventListener(ne,Ae,!1),M.initEvent(ne,!1,!1),Qf.dispatchEvent(M),oe&&Object.defineProperty(window,"event",oe),D&&Q&&(nt?Ct&&(Ke=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Ke=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Ke)),window.removeEventListener("error",bt),!D)return se(),z0.apply(this,arguments)}}var A3=Wf,ls=!1,Xr=null,Pu=!1,us=null,fo={onError:function(e){ls=!0,Xr=e}};function ii(e,t,s,l,f,g,b,_,N){ls=!1,Xr=null,A3.apply(fo,arguments)}function Do(e,t,s,l,f,g,b,_,N){if(ii.apply(this,arguments),ls){var M=Kf();Pu||(Pu=!0,us=M)}}function Yf(){if(Pu){var e=us;throw Pu=!1,us=null,e}}function P3(){return ls}function Kf(){if(ls){var e=Xr;return ls=!1,Xr=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function _r(e){return e._reactInternals}function Mu(e){return e._reactInternals!==void 0}function kl(e,t){e._reactInternals=t}var Xe=0,cs=1,tn=2,yt=4,Bt=16,$t=32,mo=64,ut=128,yn=256,Fa=512,Rr=1024,sn=2048,Ir=4096,ds=8192,Du=16384,dd=sn|yt|mo|Fa|Rr|Du,$0=32767,nr=32768,Yn=65536,Uu=131072,Zf=1048576,Jf=2097152,ja=4194304,fs=8388608,Va=16777216,li=33554432,bl=yt|Rr|0,Ba=tn|yt|Bt|$t|Fa|Ir|ds,pa=yt|mo|Fa|ds,Nr=sn|Bt,ea=ja|fs|Jf,Uo=i.ReactCurrentOwner;function ar(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var l=t;do t=l,(t.flags&(tn|Ir))!==Xe&&(s=t.return),l=t.return;while(l)}return t.tag===x?s:null}function Xf(e){if(e.tag===ie){var t=e.memoizedState;if(t===null){var s=e.alternate;s!==null&&(t=s.memoizedState)}if(t!==null)return t.dehydrated}return null}function fd(e){return e.tag===x?e.stateNode.containerInfo:null}function em(e){return ar(e)===e}function rr(e){{var t=Uo.current;if(t!==null&&t.tag===I){var s=t,l=s.stateNode;l._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",pt(s)||"A component"),l._warnedAboutRefsInRender=!0}}var f=_r(e);return f?ar(f)===f:!1}function za(e){if(ar(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function nn(e){var t=e.alternate;if(!t){var s=ar(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var l=e,f=t;;){var g=l.return;if(g===null)break;var b=g.alternate;if(b===null){var _=g.return;if(_!==null){l=f=_;continue}break}if(g.child===b.child){for(var N=g.child;N;){if(N===l)return za(g),e;if(N===f)return za(g),t;N=N.sibling}throw new Error("Unable to find node on an unmounted component.")}if(l.return!==f.return)l=g,f=b;else{for(var M=!1,D=g.child;D;){if(D===l){M=!0,l=g,f=b;break}if(D===f){M=!0,f=g,l=b;break}D=D.sibling}if(!M){for(D=b.child;D;){if(D===l){M=!0,l=b,f=g;break}if(D===f){M=!0,f=b,l=g;break}D=D.sibling}if(!M)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(l.alternate!==f)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(l.tag!==x)throw new Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?e:t}function Lr(e){var t=nn(e);return t!==null?tm(t):null}function tm(e){if(e.tag===A||e.tag===F)return e;for(var t=e.child;t!==null;){var s=tm(t);if(s!==null)return s;t=t.sibling}return null}function H0(e){var t=nn(e);return t!==null?md(t):null}function md(e){if(e.tag===A||e.tag===F)return e;for(var t=e.child;t!==null;){if(t.tag!==P){var s=md(t);if(s!==null)return s}t=t.sibling}return null}var pd=r.unstable_scheduleCallback,G0=r.unstable_cancelCallback,hd=r.unstable_shouldYield,q0=r.unstable_requestPaint,fn=r.unstable_now,nm=r.unstable_getCurrentPriorityLevel,gd=r.unstable_ImmediatePriority,or=r.unstable_UserBlockingPriority,po=r.unstable_NormalPriority,yd=r.unstable_LowPriority,ms=r.unstable_IdlePriority,am=r.unstable_yieldValue,rm=r.unstable_setDisableYieldValue,ps=null,Kn=null,xe=null,Sn=!1,ta=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function om(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return m("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Ve&&(e=Nt({},e,{getLaneLabelMap:gs,injectProfilingHooks:jo})),ps=t.inject(e),Kn=t}catch(s){m("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function W0(e,t){if(Kn&&typeof Kn.onScheduleFiberRoot=="function")try{Kn.onScheduleFiberRoot(ps,e,t)}catch(s){Sn||(Sn=!0,m("React instrumentation encountered an error: %s",s))}}function Fo(e,t){if(Kn&&typeof Kn.onCommitFiberRoot=="function")try{var s=(e.current.flags&ut)===ut;if(ht){var l;switch(t){case qa:l=gd;break;case Ar:l=or;break;case na:l=po;break;case qd:l=ms;break;default:l=po;break}Kn.onCommitFiberRoot(ps,e,l,s)}}catch(f){Sn||(Sn=!0,m("React instrumentation encountered an error: %s",f))}}function hs(e){if(Kn&&typeof Kn.onPostCommitFiberRoot=="function")try{Kn.onPostCommitFiberRoot(ps,e)}catch(t){Sn||(Sn=!0,m("React instrumentation encountered an error: %s",t))}}function sm(e){if(Kn&&typeof Kn.onCommitFiberUnmount=="function")try{Kn.onCommitFiberUnmount(ps,e)}catch(t){Sn||(Sn=!0,m("React instrumentation encountered an error: %s",t))}}function Fn(e){if(typeof am=="function"&&(rm(e),c(e)),Kn&&typeof Kn.setStrictMode=="function")try{Kn.setStrictMode(ps,e)}catch(t){Sn||(Sn=!0,m("React instrumentation encountered an error: %s",t))}}function jo(e){xe=e}function gs(){{for(var e=new Map,t=1,s=0;s<an;s++){var l=M3(t);e.set(t,l),t*=2}return e}}function vd(e){xe!==null&&typeof xe.markCommitStarted=="function"&&xe.markCommitStarted(e)}function im(){xe!==null&&typeof xe.markCommitStopped=="function"&&xe.markCommitStopped()}function ys(e){xe!==null&&typeof xe.markComponentRenderStarted=="function"&&xe.markComponentRenderStarted(e)}function ui(){xe!==null&&typeof xe.markComponentRenderStopped=="function"&&xe.markComponentRenderStopped()}function Q0(e){xe!==null&&typeof xe.markComponentPassiveEffectMountStarted=="function"&&xe.markComponentPassiveEffectMountStarted(e)}function lm(){xe!==null&&typeof xe.markComponentPassiveEffectMountStopped=="function"&&xe.markComponentPassiveEffectMountStopped()}function kd(e){xe!==null&&typeof xe.markComponentPassiveEffectUnmountStarted=="function"&&xe.markComponentPassiveEffectUnmountStarted(e)}function Y0(){xe!==null&&typeof xe.markComponentPassiveEffectUnmountStopped=="function"&&xe.markComponentPassiveEffectUnmountStopped()}function K0(e){xe!==null&&typeof xe.markComponentLayoutEffectMountStarted=="function"&&xe.markComponentLayoutEffectMountStarted(e)}function Z0(){xe!==null&&typeof xe.markComponentLayoutEffectMountStopped=="function"&&xe.markComponentLayoutEffectMountStopped()}function bd(e){xe!==null&&typeof xe.markComponentLayoutEffectUnmountStarted=="function"&&xe.markComponentLayoutEffectUnmountStarted(e)}function Tl(){xe!==null&&typeof xe.markComponentLayoutEffectUnmountStopped=="function"&&xe.markComponentLayoutEffectUnmountStopped()}function Td(e,t,s){xe!==null&&typeof xe.markComponentErrored=="function"&&xe.markComponentErrored(e,t,s)}function J0(e,t,s){xe!==null&&typeof xe.markComponentSuspended=="function"&&xe.markComponentSuspended(e,t,s)}function X0(e){xe!==null&&typeof xe.markLayoutEffectsStarted=="function"&&xe.markLayoutEffectsStarted(e)}function Sl(){xe!==null&&typeof xe.markLayoutEffectsStopped=="function"&&xe.markLayoutEffectsStopped()}function e2(e){xe!==null&&typeof xe.markPassiveEffectsStarted=="function"&&xe.markPassiveEffectsStarted(e)}function Fu(){xe!==null&&typeof xe.markPassiveEffectsStopped=="function"&&xe.markPassiveEffectsStopped()}function eo(e){xe!==null&&typeof xe.markRenderStarted=="function"&&xe.markRenderStarted(e)}function ju(){xe!==null&&typeof xe.markRenderYielded=="function"&&xe.markRenderYielded()}function wl(){xe!==null&&typeof xe.markRenderStopped=="function"&&xe.markRenderStopped()}function ci(e){xe!==null&&typeof xe.markRenderScheduled=="function"&&xe.markRenderScheduled(e)}function um(e,t){xe!==null&&typeof xe.markForceUpdateScheduled=="function"&&xe.markForceUpdateScheduled(e,t)}function vs(e,t){xe!==null&&typeof xe.markStateUpdateScheduled=="function"&&xe.markStateUpdateScheduled(e,t)}var at=0,Tt=1,rt=2,mn=8,xr=16,Sd=Math.clz32?Math.clz32:di,wd=Math.log,cm=Math.LN2;function di(e){var t=e>>>0;return t===0?32:31-(wd(t)/cm|0)|0}var an=31,ge=0,Ot=0,st=1,ho=2,sr=4,fi=8,rn=16,mi=32,ks=4194240,pi=64,Or=128,$a=256,hi=512,Vu=1024,Bu=2048,Ed=4096,Cd=8192,_d=16384,Rd=32768,Id=65536,Nd=131072,Ld=262144,xd=524288,gi=1048576,Od=2097152,yi=130023424,Vo=4194304,Ad=8388608,zu=16777216,Pd=33554432,Md=67108864,dm=Vo,El=134217728,Dd=268435455,Cl=268435456,bs=536870912,Ha=1073741824;function M3(e){{if(e&st)return"Sync";if(e&ho)return"InputContinuousHydration";if(e&sr)return"InputContinuous";if(e&fi)return"DefaultHydration";if(e&rn)return"Default";if(e&mi)return"TransitionHydration";if(e&ks)return"Transition";if(e&yi)return"Retry";if(e&El)return"SelectiveHydration";if(e&Cl)return"IdleHydration";if(e&bs)return"Idle";if(e&Ha)return"Offscreen"}}var Jt=-1,Ud=pi,Fd=Vo;function _l(e){switch(On(e)){case st:return st;case ho:return ho;case sr:return sr;case fi:return fi;case rn:return rn;case mi:return mi;case pi:case Or:case $a:case hi:case Vu:case Bu:case Ed:case Cd:case _d:case Rd:case Id:case Nd:case Ld:case xd:case gi:case Od:return e&ks;case Vo:case Ad:case zu:case Pd:case Md:return e&yi;case El:return El;case Cl:return Cl;case bs:return bs;case Ha:return Ha;default:return m("Should have found matching lanes. This is a bug in React."),e}}function $u(e,t){var s=e.pendingLanes;if(s===ge)return ge;var l=ge,f=e.suspendedLanes,g=e.pingedLanes,b=s&Dd;if(b!==ge){var _=b&~f;if(_!==ge)l=_l(_);else{var N=b&g;N!==ge&&(l=_l(N))}}else{var M=s&~f;M!==ge?l=_l(M):g!==ge&&(l=_l(g))}if(l===ge)return ge;if(t!==ge&&t!==l&&(t&f)===ge){var D=On(l),Q=On(t);if(D>=Q||D===rn&&(Q&ks)!==ge)return t}(l&sr)!==ge&&(l|=s&rn);var q=e.entangledLanes;if(q!==ge)for(var oe=e.entanglements,se=l&q;se>0;){var he=Ts(se),Ae=1<<he;l|=oe[he],se&=~Ae}return l}function t2(e,t){for(var s=e.eventTimes,l=Jt;t>0;){var f=Ts(t),g=1<<f,b=s[f];b>l&&(l=b),t&=~g}return l}function jd(e,t){switch(e){case st:case ho:case sr:return t+250;case fi:case rn:case mi:case pi:case Or:case $a:case hi:case Vu:case Bu:case Ed:case Cd:case _d:case Rd:case Id:case Nd:case Ld:case xd:case gi:case Od:return t+5e3;case Vo:case Ad:case zu:case Pd:case Md:return Jt;case El:case Cl:case bs:case Ha:return Jt;default:return m("Should have found matching lanes. This is a bug in React."),Jt}}function D3(e,t){for(var s=e.pendingLanes,l=e.suspendedLanes,f=e.pingedLanes,g=e.expirationTimes,b=s;b>0;){var _=Ts(b),N=1<<_,M=g[_];M===Jt?((N&l)===ge||(N&f)!==ge)&&(g[_]=jd(N,t)):M<=t&&(e.expiredLanes|=N),b&=~N}}function U3(e){return _l(e.pendingLanes)}function fm(e){var t=e.pendingLanes&~Ha;return t!==ge?t:t&Ha?Ha:ge}function Rl(e){return(e&st)!==ge}function Hu(e){return(e&Dd)!==ge}function Vd(e){return(e&yi)===e}function F3(e){var t=st|sr|rn;return(e&t)===ge}function n2(e){return(e&ks)===e}function Gu(e,t){var s=ho|sr|fi|rn;return(t&s)!==ge}function a2(e,t){return(t&e.expiredLanes)!==ge}function mm(e){return(e&ks)!==ge}function pm(){var e=Ud;return Ud<<=1,(Ud&ks)===ge&&(Ud=pi),e}function j3(){var e=Fd;return Fd<<=1,(Fd&yi)===ge&&(Fd=Vo),e}function On(e){return e&-e}function jn(e){return On(e)}function Ts(e){return 31-Sd(e)}function Bd(e){return Ts(e)}function Ga(e,t){return(e&t)!==ge}function vi(e,t){return(e&t)===t}function vt(e,t){return e|t}function Il(e,t){return e&~t}function hm(e,t){return e&t}function gm(e,t){return e!==Ot&&e<t?e:t}function zd(e){for(var t=[],s=0;s<an;s++)t.push(e);return t}function Nl(e,t,s){e.pendingLanes|=t,t!==bs&&(e.suspendedLanes=ge,e.pingedLanes=ge);var l=e.eventTimes,f=Bd(t);l[f]=s}function ym(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,l=t;l>0;){var f=Ts(l),g=1<<f;s[f]=Jt,l&=~g}}function $d(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function r2(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ge,e.pingedLanes=ge,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var l=e.entanglements,f=e.eventTimes,g=e.expirationTimes,b=s;b>0;){var _=Ts(b),N=1<<_;l[_]=ge,f[_]=Jt,g[_]=Jt,b&=~N}}function qu(e,t){for(var s=e.entangledLanes|=t,l=e.entanglements,f=s;f;){var g=Ts(f),b=1<<g;b&t|l[g]&t&&(l[g]|=t),f&=~b}}function Hd(e,t){var s=On(t),l;switch(s){case sr:l=ho;break;case rn:l=fi;break;case pi:case Or:case $a:case hi:case Vu:case Bu:case Ed:case Cd:case _d:case Rd:case Id:case Nd:case Ld:case xd:case gi:case Od:case Vo:case Ad:case zu:case Pd:case Md:l=mi;break;case bs:l=Cl;break;default:l=Ot;break}return(l&(e.suspendedLanes|t))!==Ot?Ot:l}function o2(e,t,s){if(ta)for(var l=e.pendingUpdatersLaneMap;s>0;){var f=Bd(s),g=1<<f,b=l[f];b.add(t),s&=~g}}function vm(e,t){if(ta)for(var s=e.pendingUpdatersLaneMap,l=e.memoizedUpdaters;t>0;){var f=Bd(t),g=1<<f,b=s[f];b.size>0&&(b.forEach(function(_){var N=_.alternate;(N===null||!l.has(N))&&l.add(_)}),b.clear()),t&=~g}}function Gd(e,t){return null}var qa=st,Ar=sr,na=rn,qd=bs,Ll=Ot;function ir(){return Ll}function Vn(e){Ll=e}function s2(e,t){var s=Ll;try{return Ll=e,t()}finally{Ll=s}}function Wu(e,t){return e!==0&&e<t?e:t}function ha(e,t){return e===0||e>t?e:t}function km(e,t){return e!==0&&e<t}function i2(e){var t=On(e);return km(qa,t)?km(Ar,t)?Hu(t)?na:qd:Ar:qa}function ki(e){var t=e.current.memoizedState;return t.isDehydrated}var aa;function V3(e){aa=e}function ze(e){aa(e)}var Ss;function l2(e){Ss=e}var bm;function B3(e){bm=e}var xl;function Wd(e){xl=e}var Qd;function u2(e){Qd=e}var Yd=!1,Qu=[],go=null,yo=null,ln=null,Ea=new Map,Pr=new Map,Bo=[],c2=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function to(e){return c2.indexOf(e)>-1}function d2(e,t,s,l,f){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:f,targetContainers:[l]}}function no(e,t){switch(e){case"focusin":case"focusout":go=null;break;case"dragenter":case"dragleave":yo=null;break;case"mouseover":case"mouseout":ln=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;Ea.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var l=t.pointerId;Pr.delete(l);break}}}function Yu(e,t,s,l,f,g){if(e===null||e.nativeEvent!==g){var b=d2(t,s,l,f,g);if(t!==null){var _=Bl(t);_!==null&&Ss(_)}return b}e.eventSystemFlags|=l;var N=e.targetContainers;return f!==null&&N.indexOf(f)===-1&&N.push(f),e}function f2(e,t,s,l,f){switch(t){case"focusin":{var g=f;return go=Yu(go,e,t,s,l,g),!0}case"dragenter":{var b=f;return yo=Yu(yo,e,t,s,l,b),!0}case"mouseover":{var _=f;return ln=Yu(ln,e,t,s,l,_),!0}case"pointerover":{var N=f,M=N.pointerId;return Ea.set(M,Yu(Ea.get(M)||null,e,t,s,l,N)),!0}case"gotpointercapture":{var D=f,Q=D.pointerId;return Pr.set(Q,Yu(Pr.get(Q)||null,e,t,s,l,D)),!0}}return!1}function Tm(e){var t=uc(e.target);if(t!==null){var s=ar(t);if(s!==null){var l=s.tag;if(l===ie){var f=Xf(s);if(f!==null){e.blockedOn=f,Qd(e.priority,function(){bm(s)});return}}else if(l===x){var g=s.stateNode;if(ki(g)){e.blockedOn=fd(s);return}}}}e.blockedOn=null}function m2(e){for(var t=xl(),s={blockedOn:null,target:e,priority:t},l=0;l<Bo.length&&km(t,Bo[l].priority);l++);Bo.splice(l,0,s),l===0&&Tm(s)}function Ku(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],l=Zu(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(l===null){var f=e.nativeEvent,g=new f.constructor(f.type,f);Lu(g),f.target.dispatchEvent(g),x3()}else{var b=Bl(l);return b!==null&&Ss(b),e.blockedOn=l,!1}t.shift()}return!0}function p2(e,t,s){Ku(e)&&s.delete(t)}function Kd(){Yd=!1,go!==null&&Ku(go)&&(go=null),yo!==null&&Ku(yo)&&(yo=null),ln!==null&&Ku(ln)&&(ln=null),Ea.forEach(p2),Pr.forEach(p2)}function bi(e,t){e.blockedOn===t&&(e.blockedOn=null,Yd||(Yd=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Kd)))}function ga(e){if(Qu.length>0){bi(Qu[0],e);for(var t=1;t<Qu.length;t++){var s=Qu[t];s.blockedOn===e&&(s.blockedOn=null)}}go!==null&&bi(go,e),yo!==null&&bi(yo,e),ln!==null&&bi(ln,e);var l=function(_){return bi(_,e)};Ea.forEach(l),Pr.forEach(l);for(var f=0;f<Bo.length;f++){var g=Bo[f];g.blockedOn===e&&(g.blockedOn=null)}for(;Bo.length>0;){var b=Bo[0];if(b.blockedOn!==null)break;Tm(b),b.blockedOn===null&&Bo.shift()}}var Et=i.ReactCurrentBatchConfig,An=!0;function wn(e){An=!!e}function ra(){return An}function lr(e,t,s){var l=Al(t),f;switch(l){case qa:f=Ol;break;case Ar:f=Bn;break;case na:default:f=Ti;break}return f.bind(null,t,s,e)}function Ol(e,t,s,l){var f=ir(),g=Et.transition;Et.transition=null;try{Vn(qa),Ti(e,t,s,l)}finally{Vn(f),Et.transition=g}}function Bn(e,t,s,l){var f=ir(),g=Et.transition;Et.transition=null;try{Vn(Ar),Ti(e,t,s,l)}finally{Vn(f),Et.transition=g}}function Ti(e,t,s,l){An&&Si(e,t,s,l)}function Si(e,t,s,l){var f=Zu(e,t,s,l);if(f===null){ry(e,t,l,wi,s),no(e,l);return}if(f2(f,e,t,s,l)){l.stopPropagation();return}if(no(e,l),t&ai&&to(e)){for(;f!==null;){var g=Bl(f);g!==null&&ze(g);var b=Zu(e,t,s,l);if(b===null&&ry(e,t,l,wi,s),b===f)break;f=b}f!==null&&l.stopPropagation();return}ry(e,t,l,null,s)}var wi=null;function Zu(e,t,s,l){wi=null;var f=id(l),g=uc(f);if(g!==null){var b=ar(g);if(b===null)g=null;else{var _=b.tag;if(_===ie){var N=Xf(b);if(N!==null)return N;g=null}else if(_===x){var M=b.stateNode;if(ki(M))return fd(b);g=null}else b!==g&&(g=null)}}return wi=g,null}function Al(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return qa;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Ar;case"message":{var t=nm();switch(t){case gd:return qa;case or:return Ar;case po:case yd:return na;case ms:return qd;default:return na}}default:return na}}function Wa(e,t,s){return e.addEventListener(t,s,!1),s}function Sm(e,t,s){return e.addEventListener(t,s,!0),s}function Pl(e,t,s,l){return e.addEventListener(t,s,{capture:!0,passive:l}),s}function zo(e,t,s,l){return e.addEventListener(t,s,{passive:l}),s}var ws=null,Ju=null,Mr=null;function Zd(e){return ws=e,Ju=Ml(),!0}function Es(){ws=null,Ju=null,Mr=null}function Xu(){if(Mr)return Mr;var e,t=Ju,s=t.length,l,f=Ml(),g=f.length;for(e=0;e<s&&t[e]===f[e];e++);var b=s-e;for(l=1;l<=b&&t[s-l]===f[g-l];l++);var _=l>1?1-l:void 0;return Mr=f.slice(e,_),Mr}function Ml(){return"value"in ws?ws.value:ws.textContent}function Dl(e){var t,s=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),t>=32||t===13?t:0}function Ei(){return!0}function ec(){return!1}function Xt(e){function t(s,l,f,g,b){this._reactName=s,this._targetInst=f,this.type=l,this.nativeEvent=g,this.target=b,this.currentTarget=null;for(var _ in e)if(e.hasOwnProperty(_)){var N=e[_];N?this[_]=N(g):this[_]=g[_]}var M=g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1;return M?this.isDefaultPrevented=Ei:this.isDefaultPrevented=ec,this.isPropagationStopped=ec,this}return Nt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Ei)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Ei)},persist:function(){},isPersistent:Ei}),t}var ur={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cr=Xt(ur),Zn=Nt({},ur,{view:0,detail:0}),h2=Xt(Zn),tc,nc,ac;function Cs(e){e!==ac&&(ac&&e.type==="mousemove"?(tc=e.screenX-ac.screenX,nc=e.screenY-ac.screenY):(tc=0,nc=0),ac=e)}var rc=Nt({},Zn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_m,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Cs(e),tc)},movementY:function(e){return"movementY"in e?e.movementY:nc}}),Jd=Xt(rc),Ci=Nt({},rc,{dataTransfer:0}),wm=Xt(Ci),_i=Nt({},Zn,{relatedTarget:0}),Xd=Xt(_i),g2=Nt({},ur,{animationName:0,elapsedTime:0,pseudoElement:0}),Em=Xt(g2),e1=Nt({},ur,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),z3=Xt(e1),$3=Nt({},ur,{data:0}),Cm=Xt($3),y2=Cm,Ri={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},H3={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Ul(e){if(e.key){var t=Ri[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=Dl(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?H3[e.keyCode]||"Unidentified":""}var v2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vn(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var l=v2[e];return l?!!s[l]:!1}function _m(e){return vn}var k2=Nt({},Zn,{key:Ul,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_m,charCode:function(e){return e.type==="keypress"?Dl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Dl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),G3=Xt(k2),q3=Nt({},rc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rm=Xt(q3),b2=Nt({},Zn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_m}),W3=Xt(b2),Dr=Nt({},ur,{propertyName:0,elapsedTime:0,pseudoElement:0}),Im=Xt(Dr),Q3=Nt({},rc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),_s=Xt(Q3),t1=[9,13,27,32],Rs=229,Fl=Yt&&"CompositionEvent"in window,Ii=null;Yt&&"documentMode"in document&&(Ii=document.documentMode);var Nm=Yt&&"TextEvent"in window&&!Ii,T2=Yt&&(!Fl||Ii&&Ii>8&&Ii<=11),n1=32,S2=String.fromCharCode(n1);function w2(){zt("onBeforeInput",["compositionend","keypress","textInput","paste"]),zt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),zt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),zt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Lm=!1;function a1(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function r1(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function E2(e,t){return e==="keydown"&&t.keyCode===Rs}function o1(e,t){switch(e){case"keyup":return t1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Rs;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function C2(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function xm(e){return e.locale==="ko"}var Is=!1;function s1(e,t,s,l,f){var g,b;if(Fl?g=r1(t):Is?o1(t,l)&&(g="onCompositionEnd"):E2(t,l)&&(g="onCompositionStart"),!g)return null;T2&&!xm(l)&&(!Is&&g==="onCompositionStart"?Is=Zd(f):g==="onCompositionEnd"&&Is&&(b=Xu()));var _=x2(s,g);if(_.length>0){var N=new Cm(g,t,null,l,f);if(e.push({event:N,listeners:_}),b)N.data=b;else{var M=C2(l);M!==null&&(N.data=M)}}}function Om(e,t){switch(e){case"compositionend":return C2(t);case"keypress":var s=t.which;return s!==n1?null:(Lm=!0,S2);case"textInput":var l=t.data;return l===S2&&Lm?null:l;default:return null}}function i1(e,t){if(Is){if(e==="compositionend"||!Fl&&o1(e,t)){var s=Xu();return Es(),Is=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!a1(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return T2&&!xm(t)?null:t.data;default:return null}}function _2(e,t,s,l,f){var g;if(Nm?g=Om(t,l):g=i1(t,l),!g)return null;var b=x2(s,"onBeforeInput");if(b.length>0){var _=new y2("onBeforeInput","beforeinput",null,l,f);e.push({event:_,listeners:b}),_.data=g}}function Y3(e,t,s,l,f,g,b){s1(e,t,s,l,f),_2(e,t,s,l,f)}var l1={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function R2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!l1[e.type]:t==="textarea"}/**
49
+ * Checks if an event is supported in the current execution environment.
50
+ *
51
+ * NOTE: This will not work correctly for non-generic events such as `change`,
52
+ * `reset`, `load`, `error`, and `select`.
53
+ *
54
+ * Borrows from Modernizr.
55
+ *
56
+ * @param {string} eventNameSuffix Event name, e.g. "click".
57
+ * @return {boolean} True if the event is supported.
58
+ * @internal
59
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
60
+ */function oc(e){if(!Yt)return!1;var t="on"+e,s=t in document;if(!s){var l=document.createElement("div");l.setAttribute(t,"return;"),s=typeof l[t]=="function"}return s}function K3(){zt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function sc(e,t,s,l){ld(l);var f=x2(t,"onChange");if(f.length>0){var g=new cr("onChange","change",null,s,l);e.push({event:g,listeners:f})}}var a=null,o=null;function d(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function h(e){var t=[];sc(t,o,e,id(e)),Gf(v,t)}function v(e){a5(e,0)}function w(e){var t=p1(e);if(u0(t))return e}function O(e,t){if(e==="change")return t}var j=!1;Yt&&(j=oc("input")&&(!document.documentMode||document.documentMode>9));function G(e,t){a=e,o=t,a.attachEvent("onpropertychange",Se)}function le(){a&&(a.detachEvent("onpropertychange",Se),a=null,o=null)}function Se(e){e.propertyName==="value"&&w(o)&&h(e)}function Ee(e,t,s){e==="focusin"?(le(),G(t,s)):e==="focusout"&&le()}function we(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return w(o)}function De(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function qe(e,t){if(e==="click")return w(t)}function Ye(e,t){if(e==="input"||e==="change")return w(t)}function En(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||os(e,"number",e.value)}function te(e,t,s,l,f,g,b){var _=s?p1(s):window,N,M;if(d(_)?N=O:R2(_)?j?N=Ye:(N=we,M=Ee):De(_)&&(N=qe),N){var D=N(t,s);if(D){sc(e,D,l,f);return}}M&&M(t,_,s),t==="focusout"&&En(_)}function W(){bn("onMouseEnter",["mouseout","mouseover"]),bn("onMouseLeave",["mouseout","mouseover"]),bn("onPointerEnter",["pointerout","pointerover"]),bn("onPointerLeave",["pointerout","pointerover"])}function re(e,t,s,l,f,g,b){var _=t==="mouseover"||t==="pointerover",N=t==="mouseout"||t==="pointerout";if(_&&!V0(l)){var M=l.relatedTarget||l.fromElement;if(M&&(uc(M)||qm(M)))return}if(!(!N&&!_)){var D;if(f.window===f)D=f;else{var Q=f.ownerDocument;Q?D=Q.defaultView||Q.parentWindow:D=window}var q,oe;if(N){var se=l.relatedTarget||l.toElement;if(q=s,oe=se?uc(se):null,oe!==null){var he=ar(oe);(oe!==he||oe.tag!==A&&oe.tag!==F)&&(oe=null)}}else q=null,oe=s;if(q!==oe){var Ae=Jd,Ke="onMouseLeave",nt="onMouseEnter",Ct="mouse";(t==="pointerout"||t==="pointerover")&&(Ae=Rm,Ke="onPointerLeave",nt="onPointerEnter",Ct="pointer");var bt=q==null?D:p1(q),ne=oe==null?D:p1(oe),me=new Ae(Ke,Ct+"leave",q,l,f);me.target=bt,me.relatedTarget=ne;var ae=null,Ce=uc(f);if(Ce===s){var Fe=new Ae(nt,Ct+"enter",oe,l,f);Fe.target=ne,Fe.relatedTarget=bt,ae=Fe}QE(e,me,ae,q,oe)}}}function Ie(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Me=typeof Object.is=="function"?Object.is:Ie;function Je(e,t){if(Me(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),l=Object.keys(t);if(s.length!==l.length)return!1;for(var f=0;f<s.length;f++){var g=s[f];if(!cn.call(t,g)||!Me(e[g],t[g]))return!1}return!0}function tt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ct(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function zn(e,t){for(var s=tt(e),l=0,f=0;s;){if(s.nodeType===Oo){if(f=l+s.textContent.length,l<=t&&f>=t)return{node:s,offset:t-l};l=f}s=tt(ct(s))}}function Ut(e){var t=e.ownerDocument,s=t&&t.defaultView||window,l=s.getSelection&&s.getSelection();if(!l||l.rangeCount===0)return null;var f=l.anchorNode,g=l.anchorOffset,b=l.focusNode,_=l.focusOffset;try{f.nodeType,b.nodeType}catch{return null}return Ns(e,f,g,b,_)}function Ns(e,t,s,l,f){var g=0,b=-1,_=-1,N=0,M=0,D=e,Q=null;e:for(;;){for(var q=null;D===t&&(s===0||D.nodeType===Oo)&&(b=g+s),D===l&&(f===0||D.nodeType===Oo)&&(_=g+f),D.nodeType===Oo&&(g+=D.nodeValue.length),(q=D.firstChild)!==null;)Q=D,D=q;for(;;){if(D===e)break e;if(Q===t&&++N===s&&(b=g),Q===l&&++M===f&&(_=g),(q=D.nextSibling)!==null)break;D=Q,Q=D.parentNode}D=q}return b===-1||_===-1?null:{start:b,end:_}}function Z3(e,t){var s=e.ownerDocument||document,l=s&&s.defaultView||window;if(l.getSelection){var f=l.getSelection(),g=e.textContent.length,b=Math.min(t.start,g),_=t.end===void 0?b:Math.min(t.end,g);if(!f.extend&&b>_){var N=_;_=b,b=N}var M=zn(e,b),D=zn(e,_);if(M&&D){if(f.rangeCount===1&&f.anchorNode===M.node&&f.anchorOffset===M.offset&&f.focusNode===D.node&&f.focusOffset===D.offset)return;var Q=s.createRange();Q.setStart(M.node,M.offset),f.removeAllRanges(),b>_?(f.addRange(Q),f.extend(D.node,D.offset)):(Q.setEnd(D.node,D.offset),f.addRange(Q))}}}function G9(e){return e&&e.nodeType===Oo}function q9(e,t){return!e||!t?!1:e===t?!0:G9(e)?!1:G9(t)?q9(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function LE(e){return e&&e.ownerDocument&&q9(e.ownerDocument.documentElement,e)}function xE(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function W9(){for(var e=window,t=Qc();t instanceof e.HTMLIFrameElement;){if(xE(t))e=t.contentWindow;else return t;t=Qc(e.document)}return t}function J3(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function OE(){var e=W9();return{focusedElem:e,selectionRange:J3(e)?PE(e):null}}function AE(e){var t=W9(),s=e.focusedElem,l=e.selectionRange;if(t!==s&&LE(s)){l!==null&&J3(s)&&ME(s,l);for(var f=[],g=s;g=g.parentNode;)g.nodeType===Ua&&f.push({element:g,left:g.scrollLeft,top:g.scrollTop});typeof s.focus=="function"&&s.focus();for(var b=0;b<f.length;b++){var _=f[b];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}}function PE(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Ut(e),t||{start:0,end:0}}function ME(e,t){var s=t.start,l=t.end;l===void 0&&(l=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(l,e.value.length)):Z3(e,t)}var DE=Yt&&"documentMode"in document&&document.documentMode<=11;function UE(){zt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var u1=null,X3=null,Am=null,ey=!1;function FE(e){if("selectionStart"in e&&J3(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function jE(e){return e.window===e?e.document:e.nodeType===Zr?e:e.ownerDocument}function Q9(e,t,s){var l=jE(s);if(!(ey||u1==null||u1!==Qc(l))){var f=FE(u1);if(!Am||!Je(Am,f)){Am=f;var g=x2(X3,"onSelect");if(g.length>0){var b=new cr("onSelect","select",null,t,s);e.push({event:b,listeners:g}),b.target=u1}}}}function VE(e,t,s,l,f,g,b){var _=s?p1(s):window;switch(t){case"focusin":(R2(_)||_.contentEditable==="true")&&(u1=_,X3=s,Am=null);break;case"focusout":u1=null,X3=null,Am=null;break;case"mousedown":ey=!0;break;case"contextmenu":case"mouseup":case"dragend":ey=!1,Q9(e,l,f);break;case"selectionchange":if(DE)break;case"keydown":case"keyup":Q9(e,l,f)}}function I2(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var c1={animationend:I2("Animation","AnimationEnd"),animationiteration:I2("Animation","AnimationIteration"),animationstart:I2("Animation","AnimationStart"),transitionend:I2("Transition","TransitionEnd")},ty={},Y9={};Yt&&(Y9=document.createElement("div").style,"AnimationEvent"in window||(delete c1.animationend.animation,delete c1.animationiteration.animation,delete c1.animationstart.animation),"TransitionEvent"in window||delete c1.transitionend.transition);function N2(e){if(ty[e])return ty[e];if(!c1[e])return e;var t=c1[e];for(var s in t)if(t.hasOwnProperty(s)&&s in Y9)return ty[e]=t[s];return e}var K9=N2("animationend"),Z9=N2("animationiteration"),J9=N2("animationstart"),X9=N2("transitionend"),e5=new Map,t5=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function jl(e,t){e5.set(e,t),zt(t,[e])}function BE(){for(var e=0;e<t5.length;e++){var t=t5[e],s=t.toLowerCase(),l=t[0].toUpperCase()+t.slice(1);jl(s,"on"+l)}jl(K9,"onAnimationEnd"),jl(Z9,"onAnimationIteration"),jl(J9,"onAnimationStart"),jl("dblclick","onDoubleClick"),jl("focusin","onFocus"),jl("focusout","onBlur"),jl(X9,"onTransitionEnd")}function zE(e,t,s,l,f,g,b){var _=e5.get(t);if(_!==void 0){var N=cr,M=t;switch(t){case"keypress":if(Dl(l)===0)return;case"keydown":case"keyup":N=G3;break;case"focusin":M="focus",N=Xd;break;case"focusout":M="blur",N=Xd;break;case"beforeblur":case"afterblur":N=Xd;break;case"click":if(l.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=Jd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=wm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=W3;break;case K9:case Z9:case J9:N=Em;break;case X9:N=Im;break;case"scroll":N=h2;break;case"wheel":N=_s;break;case"copy":case"cut":case"paste":N=z3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=Rm;break}var D=(g&ai)!==0;{var Q=!D&&t==="scroll",q=qE(s,_,l.type,D,Q);if(q.length>0){var oe=new N(_,M,null,l,f);e.push({event:oe,listeners:q})}}}}BE(),W(),K3(),UE(),w2();function $E(e,t,s,l,f,g,b){zE(e,t,s,l,f,g);var _=(g&L3)===0;_&&(re(e,t,s,l,f),te(e,t,s,l,f),VE(e,t,s,l,f),Y3(e,t,s,l,f))}var Pm=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],ny=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Pm));function n5(e,t,s){var l=e.type||"unknown-event";e.currentTarget=s,Do(l,t,void 0,e),e.currentTarget=null}function HE(e,t,s){var l;if(s)for(var f=t.length-1;f>=0;f--){var g=t[f],b=g.instance,_=g.currentTarget,N=g.listener;if(b!==l&&e.isPropagationStopped())return;n5(e,N,_),l=b}else for(var M=0;M<t.length;M++){var D=t[M],Q=D.instance,q=D.currentTarget,oe=D.listener;if(Q!==l&&e.isPropagationStopped())return;n5(e,oe,q),l=Q}}function a5(e,t){for(var s=(t&ai)!==0,l=0;l<e.length;l++){var f=e[l],g=f.event,b=f.listeners;HE(g,b,s)}Yf()}function GE(e,t,s,l,f){var g=id(s),b=[];$E(b,e,l,s,g,t),a5(b,t)}function pn(e,t){ny.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,l=T_(t),f=YE(e,s);l.has(f)||(r5(t,e,Iu,s),l.add(f))}function ay(e,t,s){ny.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var l=0;t&&(l|=ai),r5(s,e,l,t)}var L2="_reactListening"+Math.random().toString(36).slice(2);function Mm(e){if(!e[L2]){e[L2]=!0,ot.forEach(function(s){s!=="selectionchange"&&(ny.has(s)||ay(s,!1,e),ay(s,!0,e))});var t=e.nodeType===Zr?e:e.ownerDocument;t!==null&&(t[L2]||(t[L2]=!0,ay("selectionchange",!1,t)))}}function r5(e,t,s,l,f){var g=lr(e,t,s),b=void 0;Au&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(b=!0),e=e,l?b!==void 0?Pl(e,t,g,b):Sm(e,t,g):b!==void 0?zo(e,t,g,b):Wa(e,t,g)}function o5(e,t){return e===t||e.nodeType===xn&&e.parentNode===t}function ry(e,t,s,l,f){var g=l;if(!(t&Po)&&!(t&Iu)){var b=f;if(l!==null){var _=l;e:for(;;){if(_===null)return;var N=_.tag;if(N===x||N===P){var M=_.stateNode.containerInfo;if(o5(M,b))break;if(N===P)for(var D=_.return;D!==null;){var Q=D.tag;if(Q===x||Q===P){var q=D.stateNode.containerInfo;if(o5(q,b))return}D=D.return}for(;M!==null;){var oe=uc(M);if(oe===null)return;var se=oe.tag;if(se===A||se===F){_=g=oe;continue e}M=M.parentNode}}_=_.return}}}Gf(function(){return GE(e,t,s,g)})}function Dm(e,t,s){return{instance:e,listener:t,currentTarget:s}}function qE(e,t,s,l,f,g){for(var b=t!==null?t+"Capture":null,_=l?b:t,N=[],M=e,D=null;M!==null;){var Q=M,q=Q.stateNode,oe=Q.tag;if(oe===A&&q!==null&&(D=q,_!==null)){var se=oi(M,_);se!=null&&N.push(Dm(M,se,D))}if(f)break;M=M.return}return N}function x2(e,t){for(var s=t+"Capture",l=[],f=e;f!==null;){var g=f,b=g.stateNode,_=g.tag;if(_===A&&b!==null){var N=b,M=oi(f,s);M!=null&&l.unshift(Dm(f,M,N));var D=oi(f,t);D!=null&&l.push(Dm(f,D,N))}f=f.return}return l}function d1(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==A);return e||null}function WE(e,t){for(var s=e,l=t,f=0,g=s;g;g=d1(g))f++;for(var b=0,_=l;_;_=d1(_))b++;for(;f-b>0;)s=d1(s),f--;for(;b-f>0;)l=d1(l),b--;for(var N=f;N--;){if(s===l||l!==null&&s===l.alternate)return s;s=d1(s),l=d1(l)}return null}function s5(e,t,s,l,f){for(var g=t._reactName,b=[],_=s;_!==null&&_!==l;){var N=_,M=N.alternate,D=N.stateNode,Q=N.tag;if(M!==null&&M===l)break;if(Q===A&&D!==null){var q=D;if(f){var oe=oi(_,g);oe!=null&&b.unshift(Dm(_,oe,q))}else if(!f){var se=oi(_,g);se!=null&&b.push(Dm(_,se,q))}}_=_.return}b.length!==0&&e.push({event:t,listeners:b})}function QE(e,t,s,l,f){var g=l&&f?WE(l,f):null;l!==null&&s5(e,t,l,g,!1),f!==null&&s!==null&&s5(e,s,f,g,!0)}function YE(e,t){return e+"__"+(t?"capture":"bubble")}var Ur=!1,Um="dangerouslySetInnerHTML",O2="suppressContentEditableWarning",Vl="suppressHydrationWarning",i5="autoFocus",ic="children",lc="style",A2="__html",oy,P2,Fm,l5,M2,u5,c5;oy={dialog:!0,webview:!0},P2=function(e,t){sd(e,t),Vf(e,t),j0(e,t,{registrationNameDependencies:ft,possibleRegistrationNames:Rt})},u5=Yt&&!document.documentMode,Fm=function(e,t,s){if(!Ur){var l=D2(s),f=D2(t);f!==l&&(Ur=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(f),JSON.stringify(l)))}},l5=function(e){if(!Ur){Ur=!0;var t=[];e.forEach(function(s){t.push(s)}),m("Extra attributes from the server: %s",t)}},M2=function(e,t){t===!1?m("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},c5=function(e,t){var s=e.namespaceURI===xo?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var KE=/\r\n?/g,ZE=/\u0000|\uFFFD/g;function D2(e){Gr(e);var t=typeof e=="string"?e:""+e;return t.replace(KE,`
61
+ `).replace(ZE,"")}function U2(e,t,s,l){var f=D2(t),g=D2(e);if(g!==f&&(l&&(Ur||(Ur=!0,m('Text content did not match. Server: "%s" Client: "%s"',g,f))),s&&In))throw new Error("Text content does not match server-rendered HTML.")}function d5(e){return e.nodeType===Zr?e:e.ownerDocument}function JE(){}function F2(e){e.onclick=JE}function XE(e,t,s,l,f){for(var g in l)if(l.hasOwnProperty(g)){var b=l[g];if(g===lc)b&&Object.freeze(b),N0(t,b);else if(g===Um){var _=b?b[A2]:void 0;_!=null&&v0(t,_)}else if(g===ic)if(typeof b=="string"){var N=e!=="textarea"||b!=="";N&&nd(t,b)}else typeof b=="number"&&nd(t,""+b);else g===O2||g===Vl||g===i5||(ft.hasOwnProperty(g)?b!=null&&(typeof b!="function"&&M2(g,b),g==="onScroll"&&pn("scroll",t)):b!=null&&Zs(t,g,b,f))}}function eC(e,t,s,l){for(var f=0;f<t.length;f+=2){var g=t[f],b=t[f+1];g===lc?N0(e,b):g===Um?v0(e,b):g===ic?nd(e,b):Zs(e,g,b,l)}}function tC(e,t,s,l){var f,g=d5(s),b,_=l;if(_===xo&&(_=ed(e)),_===xo){if(f=Ao(e,t),!f&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var N=g.createElement("div");N.innerHTML="<script><\/script>";var M=N.firstChild;b=N.removeChild(M)}else if(typeof t.is=="string")b=g.createElement(e,{is:t.is});else if(b=g.createElement(e),e==="select"){var D=b;t.multiple?D.multiple=!0:t.size&&(D.size=t.size)}}else b=g.createElementNS(_,e);return _===xo&&!f&&Object.prototype.toString.call(b)==="[object HTMLUnknownElement]"&&!cn.call(oy,e)&&(oy[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),b}function nC(e,t){return d5(t).createTextNode(e)}function aC(e,t,s,l){var f=Ao(t,s);P2(t,s);var g;switch(t){case"dialog":pn("cancel",e),pn("close",e),g=s;break;case"iframe":case"object":case"embed":pn("load",e),g=s;break;case"video":case"audio":for(var b=0;b<Pm.length;b++)pn(Pm[b],e);g=s;break;case"source":pn("error",e),g=s;break;case"img":case"image":case"link":pn("error",e),pn("load",e),g=s;break;case"details":pn("toggle",e),g=s;break;case"input":Su(e,s),g=Tu(e,s),pn("invalid",e);break;case"option":Jc(e,s),g=s;break;case"select":p0(e,s),g=Nf(e,s),pn("invalid",e);break;case"textarea":h0(e,s),g=xf(e,s),pn("invalid",e);break;default:g=s}switch(rd(t,g),XE(t,e,l,g,f),t){case"input":ei(e),wu(e,s,!1);break;case"textarea":ei(e),y0(e);break;case"option":If(e,s);break;case"select":k3(e,s);break;default:typeof g.onClick=="function"&&F2(e);break}}function rC(e,t,s,l,f){P2(t,l);var g=null,b,_;switch(t){case"input":b=Tu(e,s),_=Tu(e,l),g=[];break;case"select":b=Nf(e,s),_=Nf(e,l),g=[];break;case"textarea":b=xf(e,s),_=xf(e,l),g=[];break;default:b=s,_=l,typeof b.onClick!="function"&&typeof _.onClick=="function"&&F2(e);break}rd(t,_);var N,M,D=null;for(N in b)if(!(_.hasOwnProperty(N)||!b.hasOwnProperty(N)||b[N]==null))if(N===lc){var Q=b[N];for(M in Q)Q.hasOwnProperty(M)&&(D||(D={}),D[M]="")}else N===Um||N===ic||N===O2||N===Vl||N===i5||(ft.hasOwnProperty(N)?g||(g=[]):(g=g||[]).push(N,null));for(N in _){var q=_[N],oe=b!=null?b[N]:void 0;if(!(!_.hasOwnProperty(N)||q===oe||q==null&&oe==null))if(N===lc)if(q&&Object.freeze(q),oe){for(M in oe)oe.hasOwnProperty(M)&&(!q||!q.hasOwnProperty(M))&&(D||(D={}),D[M]="");for(M in q)q.hasOwnProperty(M)&&oe[M]!==q[M]&&(D||(D={}),D[M]=q[M])}else D||(g||(g=[]),g.push(N,D)),D=q;else if(N===Um){var se=q?q[A2]:void 0,he=oe?oe[A2]:void 0;se!=null&&he!==se&&(g=g||[]).push(N,se)}else N===ic?(typeof q=="string"||typeof q=="number")&&(g=g||[]).push(N,""+q):N===O2||N===Vl||(ft.hasOwnProperty(N)?(q!=null&&(typeof q!="function"&&M2(N,q),N==="onScroll"&&pn("scroll",e)),!g&&oe!==q&&(g=[])):(g=g||[]).push(N,q))}return D&&(_u(D,_[lc]),(g=g||[]).push(lc,D)),g}function oC(e,t,s,l,f){s==="input"&&f.type==="radio"&&f.name!=null&&Rf(e,f);var g=Ao(s,l),b=Ao(s,f);switch(eC(e,t,g,b),s){case"input":dl(e,f);break;case"textarea":g0(e,f);break;case"select":b3(e,f);break}}function sC(e){{var t=e.toLowerCase();return od.hasOwnProperty(t)&&od[t]||null}}function iC(e,t,s,l,f,g,b){var _,N;switch(_=Ao(t,s),P2(t,s),t){case"dialog":pn("cancel",e),pn("close",e);break;case"iframe":case"object":case"embed":pn("load",e);break;case"video":case"audio":for(var M=0;M<Pm.length;M++)pn(Pm[M],e);break;case"source":pn("error",e);break;case"img":case"image":case"link":pn("error",e),pn("load",e);break;case"details":pn("toggle",e);break;case"input":Su(e,s),pn("invalid",e);break;case"option":Jc(e,s);break;case"select":p0(e,s),pn("invalid",e);break;case"textarea":h0(e,s),pn("invalid",e);break}rd(t,s);{N=new Set;for(var D=e.attributes,Q=0;Q<D.length;Q++){var q=D[Q].name.toLowerCase();switch(q){case"value":break;case"checked":break;case"selected":break;default:N.add(D[Q].name)}}}var oe=null;for(var se in s)if(s.hasOwnProperty(se)){var he=s[se];if(se===ic)typeof he=="string"?e.textContent!==he&&(s[Vl]!==!0&&U2(e.textContent,he,g,b),oe=[ic,he]):typeof he=="number"&&e.textContent!==""+he&&(s[Vl]!==!0&&U2(e.textContent,he,g,b),oe=[ic,""+he]);else if(ft.hasOwnProperty(se))he!=null&&(typeof he!="function"&&M2(se,he),se==="onScroll"&&pn("scroll",e));else if(b&&typeof _=="boolean"){var Ae=void 0,Ke=_&&pe?null:Dt(se);if(s[Vl]!==!0&&!(se===O2||se===Vl||se==="value"||se==="checked"||se==="selected")){if(se===Um){var nt=e.innerHTML,Ct=he?he[A2]:void 0;if(Ct!=null){var bt=c5(e,Ct);bt!==nt&&Fm(se,nt,bt)}}else if(se===lc){if(N.delete(se),u5){var ne=I3(he);Ae=e.getAttribute("style"),ne!==Ae&&Fm(se,Ae,ne)}}else if(_&&!pe)N.delete(se.toLowerCase()),Ae=$c(e,se,he),he!==Ae&&Fm(se,Ae,he);else if(!St(se,Ke,_)&&!It(se,he,Ke,_)){var me=!1;if(Ke!==null)N.delete(Ke.attributeName),Ae=du(e,se,he,Ke);else{var ae=l;if(ae===xo&&(ae=ed(t)),ae===xo)N.delete(se.toLowerCase());else{var Ce=sC(se);Ce!==null&&Ce!==se&&(me=!0,N.delete(Ce)),N.delete(se)}Ae=$c(e,se,he)}var Fe=pe;!Fe&&he!==Ae&&!me&&Fm(se,Ae,he)}}}}switch(b&&N.size>0&&s[Vl]!==!0&&l5(N),t){case"input":ei(e),wu(e,s,!0);break;case"textarea":ei(e),y0(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&F2(e);break}return oe}function lC(e,t,s){var l=e.nodeValue!==t;return l}function sy(e,t){{if(Ur)return;Ur=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function iy(e,t){{if(Ur)return;Ur=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function ly(e,t,s){{if(Ur)return;Ur=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function uy(e,t){{if(t===""||Ur)return;Ur=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function uC(e,t,s){switch(t){case"input":c0(e,s);return;case"textarea":Of(e,s);return;case"select":T3(e,s);return}}var jm=function(){},Vm=function(){};{var cC=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],f5=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],dC=f5.concat(["button"]),fC=["dd","dt","li","option","optgroup","p","rp","rt"],m5={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Vm=function(e,t){var s=Nt({},e||m5),l={tag:t};return f5.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),dC.indexOf(t)!==-1&&(s.pTagInButtonScope=null),cC.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=l,t==="form"&&(s.formTag=l),t==="a"&&(s.aTagInScope=l),t==="button"&&(s.buttonTagInScope=l),t==="nobr"&&(s.nobrTagInScope=l),t==="p"&&(s.pTagInButtonScope=l),t==="li"&&(s.listItemTagAutoclosing=l),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=l),s};var mC=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return fC.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},pC=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},p5={};jm=function(e,t,s){s=s||m5;var l=s.current,f=l&&l.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var g=mC(e,f)?null:l,b=g?null:pC(e,s),_=g||b;if(_){var N=_.tag,M=!!g+"|"+e+"|"+N;if(!p5[M]){p5[M]=!0;var D=e,Q="";if(e==="#text"?/\S/.test(t)?D="Text nodes":(D="Whitespace text nodes",Q=" Make sure you don't have any extra whitespace between tags on each line of your source code."):D="<"+e+">",g){var q="";N==="table"&&e==="tr"&&(q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",D,N,Q,q)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",D,N)}}}}var j2="suppressHydrationWarning",V2="$",B2="/$",Bm="$?",zm="$!",hC="style",cy=null,dy=null;function gC(e){var t,s,l=e.nodeType;switch(l){case Zr:case ti:{t=l===Zr?"#document":"#fragment";var f=e.documentElement;s=f?f.namespaceURI:Pf(null,"");break}default:{var g=l===xn?e.parentNode:e,b=g.namespaceURI||null;t=g.tagName,s=Pf(b,t);break}}{var _=t.toLowerCase(),N=Vm(null,_);return{namespace:s,ancestorInfo:N}}}function yC(e,t,s){{var l=e,f=Pf(l.namespace,t),g=Vm(l.ancestorInfo,t);return{namespace:f,ancestorInfo:g}}}function vC(e){cy=ra(),dy=OE();var t=null;return wn(!1),t}function kC(e){AE(dy),wn(cy),cy=null,dy=null}function bC(e,t,s,l,f){var g;{var b=l;if(jm(e,null,b.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var _=""+t.children,N=Vm(b.ancestorInfo,e);jm(null,_,N)}g=b.namespace}var M=tC(e,t,s,g);return Gm(f,M),ky(M,t),M}function TC(e,t){e.appendChild(t)}function SC(e,t,s,l,f){switch(aC(e,t,s,l),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function wC(e,t,s,l,f,g){{var b=g;if(typeof l.children!=typeof s.children&&(typeof l.children=="string"||typeof l.children=="number")){var _=""+l.children,N=Vm(b.ancestorInfo,t);jm(null,_,N)}}return rC(e,t,s,l)}function fy(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function EC(e,t,s,l){{var f=s;jm(null,e,f.ancestorInfo)}var g=nC(e,t);return Gm(l,g),g}function CC(){var e=window.event;return e===void 0?na:Al(e.type)}var my=typeof setTimeout=="function"?setTimeout:void 0,_C=typeof clearTimeout=="function"?clearTimeout:void 0,py=-1,h5=typeof Promise=="function"?Promise:void 0,RC=typeof queueMicrotask=="function"?queueMicrotask:typeof h5<"u"?function(e){return h5.resolve(null).then(e).catch(IC)}:my;function IC(e){setTimeout(function(){throw e})}function NC(e,t,s,l){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function LC(e,t,s,l,f,g){oC(e,t,s,l,f),ky(e,f)}function g5(e){nd(e,"")}function xC(e,t,s){e.nodeValue=s}function OC(e,t){e.appendChild(t)}function AC(e,t){var s;e.nodeType===xn?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var l=e._reactRootContainer;l==null&&s.onclick===null&&F2(s)}function PC(e,t,s){e.insertBefore(t,s)}function MC(e,t,s){e.nodeType===xn?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function DC(e,t){e.removeChild(t)}function UC(e,t){e.nodeType===xn?e.parentNode.removeChild(t):e.removeChild(t)}function hy(e,t){var s=t,l=0;do{var f=s.nextSibling;if(e.removeChild(s),f&&f.nodeType===xn){var g=f.data;if(g===B2)if(l===0){e.removeChild(f),ga(t);return}else l--;else(g===V2||g===Bm||g===zm)&&l++}s=f}while(s);ga(t)}function FC(e,t){e.nodeType===xn?hy(e.parentNode,t):e.nodeType===Ua&&hy(e,t),ga(e)}function jC(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function VC(e){e.nodeValue=""}function BC(e,t){e=e;var s=t[hC],l=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=ad("display",l)}function zC(e,t){e.nodeValue=t}function $C(e){e.nodeType===Ua?e.textContent="":e.nodeType===Zr&&e.documentElement&&e.removeChild(e.documentElement)}function HC(e,t,s){return e.nodeType!==Ua||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function GC(e,t){return t===""||e.nodeType!==Oo?null:e}function qC(e){return e.nodeType!==xn?null:e}function y5(e){return e.data===Bm}function gy(e){return e.data===zm}function WC(e){var t=e.nextSibling&&e.nextSibling.dataset,s,l,f;return t&&(s=t.dgst,l=t.msg,f=t.stck),{message:l,digest:s,stack:f}}function QC(e,t){e._reactRetry=t}function z2(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Ua||t===Oo)break;if(t===xn){var s=e.data;if(s===V2||s===zm||s===Bm)break;if(s===B2)return null}}return e}function $m(e){return z2(e.nextSibling)}function YC(e){return z2(e.firstChild)}function KC(e){return z2(e.firstChild)}function ZC(e){return z2(e.nextSibling)}function JC(e,t,s,l,f,g,b){Gm(g,e),ky(e,s);var _;{var N=f;_=N.namespace}var M=(g.mode&Tt)!==at;return iC(e,t,s,_,l,M,b)}function XC(e,t,s,l){return Gm(s,e),s.mode&Tt,lC(e,t)}function e_(e,t){Gm(t,e)}function t_(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===xn){var l=t.data;if(l===B2){if(s===0)return $m(t);s--}else(l===V2||l===zm||l===Bm)&&s++}t=t.nextSibling}return null}function v5(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===xn){var l=t.data;if(l===V2||l===zm||l===Bm){if(s===0)return t;s--}else l===B2&&s++}t=t.previousSibling}return null}function n_(e){ga(e)}function a_(e){ga(e)}function r_(e){return e!=="head"&&e!=="body"}function o_(e,t,s,l){var f=!0;U2(t.nodeValue,s,l,f)}function s_(e,t,s,l,f,g){if(t[j2]!==!0){var b=!0;U2(l.nodeValue,f,g,b)}}function i_(e,t){t.nodeType===Ua?sy(e,t):t.nodeType===xn||iy(e,t)}function l_(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Ua?sy(s,t):t.nodeType===xn||iy(s,t))}}function u_(e,t,s,l,f){(f||t[j2]!==!0)&&(l.nodeType===Ua?sy(s,l):l.nodeType===xn||iy(s,l))}function c_(e,t,s){ly(e,t)}function d_(e,t){uy(e,t)}function f_(e,t,s){{var l=e.parentNode;l!==null&&ly(l,t)}}function m_(e,t){{var s=e.parentNode;s!==null&&uy(s,t)}}function p_(e,t,s,l,f,g){(g||t[j2]!==!0)&&ly(s,l)}function h_(e,t,s,l,f){(f||t[j2]!==!0)&&uy(s,l)}function g_(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function y_(e){Mm(e)}var f1=Math.random().toString(36).slice(2),m1="__reactFiber$"+f1,yy="__reactProps$"+f1,Hm="__reactContainer$"+f1,vy="__reactEvents$"+f1,v_="__reactListeners$"+f1,k_="__reactHandles$"+f1;function b_(e){delete e[m1],delete e[yy],delete e[vy],delete e[v_],delete e[k_]}function Gm(e,t){t[m1]=e}function $2(e,t){t[Hm]=e}function k5(e){e[Hm]=null}function qm(e){return!!e[Hm]}function uc(e){var t=e[m1];if(t)return t;for(var s=e.parentNode;s;){if(t=s[Hm]||s[m1],t){var l=t.alternate;if(t.child!==null||l!==null&&l.child!==null)for(var f=v5(e);f!==null;){var g=f[m1];if(g)return g;f=v5(f)}return t}e=s,s=e.parentNode}return null}function Bl(e){var t=e[m1]||e[Hm];return t&&(t.tag===A||t.tag===F||t.tag===ie||t.tag===x)?t:null}function p1(e){if(e.tag===A||e.tag===F)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function H2(e){return e[yy]||null}function ky(e,t){e[yy]=t}function T_(e){var t=e[vy];return t===void 0&&(t=e[vy]=new Set),t}var b5={},T5=i.ReactDebugCurrentFrame;function G2(e){if(e){var t=e._owner,s=hu(e.type,e._source,t?t.type:null);T5.setExtraStackFrame(s)}else T5.setExtraStackFrame(null)}function $o(e,t,s,l,f){{var g=Function.call.bind(cn);for(var b in e)if(g(e,b)){var _=void 0;try{if(typeof e[b]!="function"){var N=Error((l||"React class")+": "+s+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw N.name="Invariant Violation",N}_=e[b](t,b,l,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(M){_=M}_&&!(_ instanceof Error)&&(G2(f),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",s,b,typeof _),G2(null)),_ instanceof Error&&!(_.message in b5)&&(b5[_.message]=!0,G2(f),m("Failed %s type: %s",s,_.message),G2(null))}}}var by=[],q2;q2=[];var Ni=-1;function zl(e){return{current:e}}function Qa(e,t){if(Ni<0){m("Unexpected pop.");return}t!==q2[Ni]&&m("Unexpected Fiber popped."),e.current=by[Ni],by[Ni]=null,q2[Ni]=null,Ni--}function Ya(e,t,s){Ni++,by[Ni]=e.current,q2[Ni]=s,e.current=t}var Ty;Ty={};var ao={};Object.freeze(ao);var Li=zl(ao),Ls=zl(!1),Sy=ao;function h1(e,t,s){return s&&xs(t)?Sy:Li.current}function S5(e,t,s){{var l=e.stateNode;l.__reactInternalMemoizedUnmaskedChildContext=t,l.__reactInternalMemoizedMaskedChildContext=s}}function g1(e,t){{var s=e.type,l=s.contextTypes;if(!l)return ao;var f=e.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===t)return f.__reactInternalMemoizedMaskedChildContext;var g={};for(var b in l)g[b]=t[b];{var _=pt(e)||"Unknown";$o(l,g,"context",_)}return f&&S5(e,t,g),g}}function W2(){return Ls.current}function xs(e){{var t=e.childContextTypes;return t!=null}}function Q2(e){Qa(Ls,e),Qa(Li,e)}function wy(e){Qa(Ls,e),Qa(Li,e)}function w5(e,t,s){{if(Li.current!==ao)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ya(Li,t,e),Ya(Ls,s,e)}}function E5(e,t,s){{var l=e.stateNode,f=t.childContextTypes;if(typeof l.getChildContext!="function"){{var g=pt(e)||"Unknown";Ty[g]||(Ty[g]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",g,g))}return s}var b=l.getChildContext();for(var _ in b)if(!(_ in f))throw new Error((pt(e)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var N=pt(e)||"Unknown";$o(f,b,"child context",N)}return Nt({},s,b)}}function Y2(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||ao;return Sy=Li.current,Ya(Li,s,e),Ya(Ls,Ls.current,e),!0}}function C5(e,t,s){{var l=e.stateNode;if(!l)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(s){var f=E5(e,t,Sy);l.__reactInternalMemoizedMergedChildContext=f,Qa(Ls,e),Qa(Li,e),Ya(Li,f,e),Ya(Ls,s,e)}else Qa(Ls,e),Ya(Ls,s,e)}}function S_(e){{if(!em(e)||e.tag!==I)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case x:return t.stateNode.context;case I:{var s=t.type;if(xs(s))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var $l=0,K2=1,xi=null,Ey=!1,Cy=!1;function _5(e){xi===null?xi=[e]:xi.push(e)}function w_(e){Ey=!0,_5(e)}function R5(){Ey&&Hl()}function Hl(){if(!Cy&&xi!==null){Cy=!0;var e=0,t=ir();try{var s=!0,l=xi;for(Vn(qa);e<l.length;e++){var f=l[e];do f=f(s);while(f!==null)}xi=null,Ey=!1}catch(g){throw xi!==null&&(xi=xi.slice(e+1)),pd(gd,Hl),g}finally{Vn(t),Cy=!1}}return null}var y1=[],v1=0,Z2=null,J2=0,vo=[],ko=0,cc=null,Oi=1,Ai="";function E_(e){return fc(),(e.flags&Zf)!==Xe}function C_(e){return fc(),J2}function __(){var e=Ai,t=Oi,s=t&~R_(t);return s.toString(32)+e}function dc(e,t){fc(),y1[v1++]=J2,y1[v1++]=Z2,Z2=e,J2=t}function I5(e,t,s){fc(),vo[ko++]=Oi,vo[ko++]=Ai,vo[ko++]=cc,cc=e;var l=Oi,f=Ai,g=X2(l)-1,b=l&~(1<<g),_=s+1,N=X2(t)+g;if(N>30){var M=g-g%5,D=(1<<M)-1,Q=(b&D).toString(32),q=b>>M,oe=g-M,se=X2(t)+oe,he=_<<oe,Ae=he|q,Ke=Q+f;Oi=1<<se|Ae,Ai=Ke}else{var nt=_<<g,Ct=nt|b,bt=f;Oi=1<<N|Ct,Ai=bt}}function _y(e){fc();var t=e.return;if(t!==null){var s=1,l=0;dc(e,s),I5(e,s,l)}}function X2(e){return 32-Sd(e)}function R_(e){return 1<<X2(e)-1}function Ry(e){for(;e===Z2;)Z2=y1[--v1],y1[v1]=null,J2=y1[--v1],y1[v1]=null;for(;e===cc;)cc=vo[--ko],vo[ko]=null,Ai=vo[--ko],vo[ko]=null,Oi=vo[--ko],vo[ko]=null}function I_(){return fc(),cc!==null?{id:Oi,overflow:Ai}:null}function N_(e,t){fc(),vo[ko++]=Oi,vo[ko++]=Ai,vo[ko++]=cc,Oi=t.id,Ai=t.overflow,cc=e}function fc(){_a()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Ca=null,bo=null,Ho=!1,mc=!1,Gl=null;function L_(){Ho&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function N5(){mc=!0}function x_(){return mc}function O_(e){var t=e.stateNode.containerInfo;return bo=KC(t),Ca=e,Ho=!0,Gl=null,mc=!1,!0}function A_(e,t,s){return bo=ZC(t),Ca=e,Ho=!0,Gl=null,mc=!1,s!==null&&N_(e,s),!0}function L5(e,t){switch(e.tag){case x:{i_(e.stateNode.containerInfo,t);break}case A:{var s=(e.mode&Tt)!==at;u_(e.type,e.memoizedProps,e.stateNode,t,s);break}case ie:{var l=e.memoizedState;l.dehydrated!==null&&l_(l.dehydrated,t);break}}}function x5(e,t){L5(e,t);var s=DN();s.stateNode=t,s.return=e;var l=e.deletions;l===null?(e.deletions=[s],e.flags|=Bt):l.push(s)}function Iy(e,t){{if(mc)return;switch(e.tag){case x:{var s=e.stateNode.containerInfo;switch(t.tag){case A:var l=t.type;t.pendingProps,c_(s,l);break;case F:var f=t.pendingProps;d_(s,f);break}break}case A:{var g=e.type,b=e.memoizedProps,_=e.stateNode;switch(t.tag){case A:{var N=t.type,M=t.pendingProps,D=(e.mode&Tt)!==at;p_(g,b,_,N,M,D);break}case F:{var Q=t.pendingProps,q=(e.mode&Tt)!==at;h_(g,b,_,Q,q);break}}break}case ie:{var oe=e.memoizedState,se=oe.dehydrated;if(se!==null)switch(t.tag){case A:var he=t.type;t.pendingProps,f_(se,he);break;case F:var Ae=t.pendingProps;m_(se,Ae);break}break}default:return}}}function O5(e,t){t.flags=t.flags&~Ir|tn,Iy(e,t)}function A5(e,t){switch(e.tag){case A:{var s=e.type;e.pendingProps;var l=HC(t,s);return l!==null?(e.stateNode=l,Ca=e,bo=YC(l),!0):!1}case F:{var f=e.pendingProps,g=GC(t,f);return g!==null?(e.stateNode=g,Ca=e,bo=null,!0):!1}case ie:{var b=qC(t);if(b!==null){var _={dehydrated:b,treeContext:I_(),retryLane:Ha};e.memoizedState=_;var N=UN(b);return N.return=e,e.child=N,Ca=e,bo=null,!0}return!1}default:return!1}}function Ny(e){return(e.mode&Tt)!==at&&(e.flags&ut)===Xe}function Ly(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function xy(e){if(Ho){var t=bo;if(!t){Ny(e)&&(Iy(Ca,e),Ly()),O5(Ca,e),Ho=!1,Ca=e;return}var s=t;if(!A5(e,t)){Ny(e)&&(Iy(Ca,e),Ly()),t=$m(s);var l=Ca;if(!t||!A5(e,t)){O5(Ca,e),Ho=!1,Ca=e;return}x5(l,s)}}}function P_(e,t,s){var l=e.stateNode,f=!mc,g=JC(l,e.type,e.memoizedProps,t,s,e,f);return e.updateQueue=g,g!==null}function M_(e){var t=e.stateNode,s=e.memoizedProps,l=XC(t,s,e);if(l){var f=Ca;if(f!==null)switch(f.tag){case x:{var g=f.stateNode.containerInfo,b=(f.mode&Tt)!==at;o_(g,t,s,b);break}case A:{var _=f.type,N=f.memoizedProps,M=f.stateNode,D=(f.mode&Tt)!==at;s_(_,N,M,t,s,D);break}}}return l}function D_(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");e_(s,e)}function U_(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return t_(s)}function P5(e){for(var t=e.return;t!==null&&t.tag!==A&&t.tag!==x&&t.tag!==ie;)t=t.return;Ca=t}function eh(e){if(e!==Ca)return!1;if(!Ho)return P5(e),Ho=!0,!1;if(e.tag!==x&&(e.tag!==A||r_(e.type)&&!fy(e.type,e.memoizedProps))){var t=bo;if(t)if(Ny(e))M5(e),Ly();else for(;t;)x5(e,t),t=$m(t)}return P5(e),e.tag===ie?bo=U_(e):bo=Ca?$m(e.stateNode):null,!0}function F_(){return Ho&&bo!==null}function M5(e){for(var t=bo;t;)L5(e,t),t=$m(t)}function k1(){Ca=null,bo=null,Ho=!1,mc=!1}function D5(){Gl!==null&&(L7(Gl),Gl=null)}function _a(){return Ho}function Oy(e){Gl===null?Gl=[e]:Gl.push(e)}var j_=i.ReactCurrentBatchConfig,V_=null;function B_(){return j_.transition}var Go={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var z_=function(e){for(var t=null,s=e;s!==null;)s.mode&mn&&(t=s),s=s.return;return t},pc=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},Wm=[],Qm=[],Ym=[],Km=[],Zm=[],Jm=[],hc=new Set;Go.recordUnsafeLifecycleWarnings=function(e,t){hc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Wm.push(e),e.mode&mn&&typeof t.UNSAFE_componentWillMount=="function"&&Qm.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Ym.push(e),e.mode&mn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Km.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Zm.push(e),e.mode&mn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Jm.push(e))},Go.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Wm.length>0&&(Wm.forEach(function(q){e.add(pt(q)||"Component"),hc.add(q.type)}),Wm=[]);var t=new Set;Qm.length>0&&(Qm.forEach(function(q){t.add(pt(q)||"Component"),hc.add(q.type)}),Qm=[]);var s=new Set;Ym.length>0&&(Ym.forEach(function(q){s.add(pt(q)||"Component"),hc.add(q.type)}),Ym=[]);var l=new Set;Km.length>0&&(Km.forEach(function(q){l.add(pt(q)||"Component"),hc.add(q.type)}),Km=[]);var f=new Set;Zm.length>0&&(Zm.forEach(function(q){f.add(pt(q)||"Component"),hc.add(q.type)}),Zm=[]);var g=new Set;if(Jm.length>0&&(Jm.forEach(function(q){g.add(pt(q)||"Component"),hc.add(q.type)}),Jm=[]),t.size>0){var b=pc(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
62
+
63
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
64
+
65
+ Please update the following components: %s`,b)}if(l.size>0){var _=pc(l);m(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
66
+
67
+ * Move data fetching code or side effects to componentDidUpdate.
68
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
69
+
70
+ Please update the following components: %s`,_)}if(g.size>0){var N=pc(g);m(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
71
+
72
+ * Move data fetching code or side effects to componentDidUpdate.
73
+
74
+ Please update the following components: %s`,N)}if(e.size>0){var M=pc(e);p(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
75
+
76
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
77
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
78
+
79
+ Please update the following components: %s`,M)}if(s.size>0){var D=pc(s);p(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
80
+
81
+ * Move data fetching code or side effects to componentDidUpdate.
82
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
83
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
84
+
85
+ Please update the following components: %s`,D)}if(f.size>0){var Q=pc(f);p(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
86
+
87
+ * Move data fetching code or side effects to componentDidUpdate.
88
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
89
+
90
+ Please update the following components: %s`,Q)}};var th=new Map,U5=new Set;Go.recordLegacyContextWarning=function(e,t){var s=z_(e);if(s===null){m("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!U5.has(e.type)){var l=th.get(s);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(l===void 0&&(l=[],th.set(s,l)),l.push(e))}},Go.flushLegacyContextWarning=function(){th.forEach(function(e,t){if(e.length!==0){var s=e[0],l=new Set;e.forEach(function(g){l.add(pt(g)||"Component"),U5.add(g.type)});var f=pc(l);try{qt(s),m(`Legacy context API has been detected within a strict-mode tree.
91
+
92
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
93
+
94
+ Please update the following components: %s
95
+
96
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,f)}finally{Un()}}})},Go.discardPendingWarnings=function(){Wm=[],Qm=[],Ym=[],Km=[],Zm=[],Jm=[],th=new Map}}function qo(e,t){if(e&&e.defaultProps){var s=Nt({},t),l=e.defaultProps;for(var f in l)s[f]===void 0&&(s[f]=l[f]);return s}return t}var Ay=zl(null),Py;Py={};var nh=null,b1=null,My=null,ah=!1;function rh(){nh=null,b1=null,My=null,ah=!1}function F5(){ah=!0}function j5(){ah=!1}function V5(e,t,s){Ya(Ay,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Py&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Py}function Dy(e,t){var s=Ay.current;Qa(Ay,t),e._currentValue=s}function Uy(e,t,s){for(var l=e;l!==null;){var f=l.alternate;if(vi(l.childLanes,t)?f!==null&&!vi(f.childLanes,t)&&(f.childLanes=vt(f.childLanes,t)):(l.childLanes=vt(l.childLanes,t),f!==null&&(f.childLanes=vt(f.childLanes,t))),l===s)break;l=l.return}l!==s&&m("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function $_(e,t,s){H_(e,t,s)}function H_(e,t,s){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var f=void 0,g=l.dependencies;if(g!==null){f=l.child;for(var b=g.firstContext;b!==null;){if(b.context===t){if(l.tag===I){var _=jn(s),N=Pi(Jt,_);N.tag=sh;var M=l.updateQueue;if(M!==null){var D=M.shared,Q=D.pending;Q===null?N.next=N:(N.next=Q.next,Q.next=N),D.pending=N}}l.lanes=vt(l.lanes,s);var q=l.alternate;q!==null&&(q.lanes=vt(q.lanes,s)),Uy(l.return,s,e),g.lanes=vt(g.lanes,s);break}b=b.next}}else if(l.tag===H)f=l.type===e.type?null:l.child;else if(l.tag===Qe){var oe=l.return;if(oe===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");oe.lanes=vt(oe.lanes,s);var se=oe.alternate;se!==null&&(se.lanes=vt(se.lanes,s)),Uy(oe,s,e),f=l.sibling}else f=l.child;if(f!==null)f.return=l;else for(f=l;f!==null;){if(f===e){f=null;break}var he=f.sibling;if(he!==null){he.return=f.return,f=he;break}f=f.return}l=f}}function T1(e,t){nh=e,b1=null,My=null;var s=e.dependencies;if(s!==null){var l=s.firstContext;l!==null&&(Ga(s.lanes,t)&&fp(),s.firstContext=null)}}function Jn(e){ah&&m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(My!==e){var s={context:e,memoizedValue:t,next:null};if(b1===null){if(nh===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");b1=s,nh.dependencies={lanes:ge,firstContext:s}}else b1=b1.next=s}return t}var gc=null;function Fy(e){gc===null?gc=[e]:gc.push(e)}function G_(){if(gc!==null){for(var e=0;e<gc.length;e++){var t=gc[e],s=t.interleaved;if(s!==null){t.interleaved=null;var l=s.next,f=t.pending;if(f!==null){var g=f.next;f.next=l,s.next=g}t.pending=s}}gc=null}}function B5(e,t,s,l){var f=t.interleaved;return f===null?(s.next=s,Fy(t)):(s.next=f.next,f.next=s),t.interleaved=s,oh(e,l)}function q_(e,t,s,l){var f=t.interleaved;f===null?(s.next=s,Fy(t)):(s.next=f.next,f.next=s),t.interleaved=s}function W_(e,t,s,l){var f=t.interleaved;return f===null?(s.next=s,Fy(t)):(s.next=f.next,f.next=s),t.interleaved=s,oh(e,l)}function Fr(e,t){return oh(e,t)}var Q_=oh;function oh(e,t){e.lanes=vt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=vt(s.lanes,t)),s===null&&(e.flags&(tn|Ir))!==Xe&&z7(e);for(var l=e,f=e.return;f!==null;)f.childLanes=vt(f.childLanes,t),s=f.alternate,s!==null?s.childLanes=vt(s.childLanes,t):(f.flags&(tn|Ir))!==Xe&&z7(e),l=f,f=f.return;if(l.tag===x){var g=l.stateNode;return g}else return null}var z5=0,$5=1,sh=2,jy=3,ih=!1,Vy,lh;Vy=!1,lh=null;function By(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ge},effects:null};e.updateQueue=t}function H5(e,t){var s=t.updateQueue,l=e.updateQueue;if(s===l){var f={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects};t.updateQueue=f}}function Pi(e,t){var s={eventTime:e,lane:t,tag:z5,payload:null,callback:null,next:null};return s}function ql(e,t,s){var l=e.updateQueue;if(l===null)return null;var f=l.shared;if(lh===f&&!Vy&&(m("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Vy=!0),QI()){var g=f.pending;return g===null?t.next=t:(t.next=g.next,g.next=t),f.pending=t,Q_(e,s)}else return W_(e,f,t,s)}function uh(e,t,s){var l=t.updateQueue;if(l!==null){var f=l.shared;if(mm(s)){var g=f.lanes;g=hm(g,e.pendingLanes);var b=vt(g,s);f.lanes=b,qu(e,b)}}}function zy(e,t){var s=e.updateQueue,l=e.alternate;if(l!==null){var f=l.updateQueue;if(s===f){var g=null,b=null,_=s.firstBaseUpdate;if(_!==null){var N=_;do{var M={eventTime:N.eventTime,lane:N.lane,tag:N.tag,payload:N.payload,callback:N.callback,next:null};b===null?g=b=M:(b.next=M,b=M),N=N.next}while(N!==null);b===null?g=b=t:(b.next=t,b=t)}else g=b=t;s={baseState:f.baseState,firstBaseUpdate:g,lastBaseUpdate:b,shared:f.shared,effects:f.effects},e.updateQueue=s;return}}var D=s.lastBaseUpdate;D===null?s.firstBaseUpdate=t:D.next=t,s.lastBaseUpdate=t}function Y_(e,t,s,l,f,g){switch(s.tag){case $5:{var b=s.payload;if(typeof b=="function"){F5();var _=b.call(g,l,f);{if(e.mode&mn){Fn(!0);try{b.call(g,l,f)}finally{Fn(!1)}}j5()}return _}return b}case jy:e.flags=e.flags&~Yn|ut;case z5:{var N=s.payload,M;if(typeof N=="function"){F5(),M=N.call(g,l,f);{if(e.mode&mn){Fn(!0);try{N.call(g,l,f)}finally{Fn(!1)}}j5()}}else M=N;return M==null?l:Nt({},l,M)}case sh:return ih=!0,l}return l}function ch(e,t,s,l){var f=e.updateQueue;ih=!1,lh=f.shared;var g=f.firstBaseUpdate,b=f.lastBaseUpdate,_=f.shared.pending;if(_!==null){f.shared.pending=null;var N=_,M=N.next;N.next=null,b===null?g=M:b.next=M,b=N;var D=e.alternate;if(D!==null){var Q=D.updateQueue,q=Q.lastBaseUpdate;q!==b&&(q===null?Q.firstBaseUpdate=M:q.next=M,Q.lastBaseUpdate=N)}}if(g!==null){var oe=f.baseState,se=ge,he=null,Ae=null,Ke=null,nt=g;do{var Ct=nt.lane,bt=nt.eventTime;if(vi(l,Ct)){if(Ke!==null){var ne={eventTime:bt,lane:Ot,tag:nt.tag,payload:nt.payload,callback:nt.callback,next:null};Ke=Ke.next=ne}oe=Y_(e,f,nt,oe,t,s);var me=nt.callback;if(me!==null&&nt.lane!==Ot){e.flags|=mo;var ae=f.effects;ae===null?f.effects=[nt]:ae.push(nt)}}else{var Ce={eventTime:bt,lane:Ct,tag:nt.tag,payload:nt.payload,callback:nt.callback,next:null};Ke===null?(Ae=Ke=Ce,he=oe):Ke=Ke.next=Ce,se=vt(se,Ct)}if(nt=nt.next,nt===null){if(_=f.shared.pending,_===null)break;var Fe=_,Pe=Fe.next;Fe.next=null,nt=Pe,f.lastBaseUpdate=Fe,f.shared.pending=null}}while(!0);Ke===null&&(he=oe),f.baseState=he,f.firstBaseUpdate=Ae,f.lastBaseUpdate=Ke;var lt=f.shared.interleaved;if(lt!==null){var mt=lt;do se=vt(se,mt.lane),mt=mt.next;while(mt!==lt)}else g===null&&(f.shared.lanes=ge);wp(se),e.lanes=se,e.memoizedState=oe}lh=null}function K_(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function G5(){ih=!1}function dh(){return ih}function q5(e,t,s){var l=t.effects;if(t.effects=null,l!==null)for(var f=0;f<l.length;f++){var g=l[f],b=g.callback;b!==null&&(g.callback=null,K_(b,s))}}var $y={},W5=new n.Component().refs,Hy,Gy,qy,Wy,Qy,Q5,fh,Yy,Ky,Zy;{Hy=new Set,Gy=new Set,qy=new Set,Wy=new Set,Yy=new Set,Qy=new Set,Ky=new Set,Zy=new Set;var Y5=new Set;fh=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;Y5.has(s)||(Y5.add(s),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Q5=function(e,t){if(t===void 0){var s=Kt(e)||"Component";Qy.has(s)||(Qy.add(s),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty($y,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze($y)}function Jy(e,t,s,l){var f=e.memoizedState,g=s(l,f);{if(e.mode&mn){Fn(!0);try{g=s(l,f)}finally{Fn(!1)}}Q5(t,g)}var b=g==null?f:Nt({},f,g);if(e.memoizedState=b,e.lanes===ge){var _=e.updateQueue;_.baseState=b}}var Xy={isMounted:rr,enqueueSetState:function(e,t,s){var l=_r(e),f=mr(),g=eu(l),b=Pi(f,g);b.payload=t,s!=null&&(fh(s,"setState"),b.callback=s);var _=ql(l,b,g);_!==null&&(fa(_,l,g,f),uh(_,l,g)),vs(l,g)},enqueueReplaceState:function(e,t,s){var l=_r(e),f=mr(),g=eu(l),b=Pi(f,g);b.tag=$5,b.payload=t,s!=null&&(fh(s,"replaceState"),b.callback=s);var _=ql(l,b,g);_!==null&&(fa(_,l,g,f),uh(_,l,g)),vs(l,g)},enqueueForceUpdate:function(e,t){var s=_r(e),l=mr(),f=eu(s),g=Pi(l,f);g.tag=sh,t!=null&&(fh(t,"forceUpdate"),g.callback=t);var b=ql(s,g,f);b!==null&&(fa(b,s,f,l),uh(b,s,f)),um(s,f)}};function K5(e,t,s,l,f,g,b){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){var N=_.shouldComponentUpdate(l,g,b);{if(e.mode&mn){Fn(!0);try{N=_.shouldComponentUpdate(l,g,b)}finally{Fn(!1)}}N===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Kt(t)||"Component")}return N}return t.prototype&&t.prototype.isPureReactComponent?!Je(s,l)||!Je(f,g):!0}function Z_(e,t,s){var l=e.stateNode;{var f=Kt(t)||"Component",g=l.render;g||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",f):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",f)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&m("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",f),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&m("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",f),l.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",f),l.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",f),l.contextTypes&&m("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",f),t.contextType&&t.contextTypes&&!Ky.has(t)&&(Ky.add(t),m("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",f)),typeof l.componentShouldUpdate=="function"&&m("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",f),t.prototype&&t.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&m("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Kt(t)||"A pure component"),typeof l.componentDidUnmount=="function"&&m("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",f),typeof l.componentDidReceiveProps=="function"&&m("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",f),typeof l.componentWillRecieveProps=="function"&&m("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",f),typeof l.UNSAFE_componentWillRecieveProps=="function"&&m("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",f);var b=l.props!==s;l.props!==void 0&&b&&m("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",f,f),l.defaultProps&&m("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",f,f),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!qy.has(t)&&(qy.add(t),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Kt(t))),typeof l.getDerivedStateFromProps=="function"&&m("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof l.getDerivedStateFromError=="function"&&m("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",f),typeof t.getSnapshotBeforeUpdate=="function"&&m("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",f);var _=l.state;_&&(typeof _!="object"||Wn(_))&&m("%s.state: must be set to an object or null",f),typeof l.getChildContext=="function"&&typeof t.childContextTypes!="object"&&m("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",f)}}function Z5(e,t){t.updater=Xy,e.stateNode=t,kl(t,e),t._reactInternalInstance=$y}function J5(e,t,s){var l=!1,f=ao,g=ao,b=t.contextType;if("contextType"in t){var _=b===null||b!==void 0&&b.$$typeof===yf&&b._context===void 0;if(!_&&!Zy.has(t)){Zy.add(t);var N="";b===void 0?N=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof b!="object"?N=" However, it is set to a "+typeof b+".":b.$$typeof===gf?N=" Did you accidentally pass the Context.Provider instead?":b._context!==void 0?N=" Did you accidentally pass the Context.Consumer instead?":N=" However, it is set to an object with keys {"+Object.keys(b).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Kt(t)||"Component",N)}}if(typeof b=="object"&&b!==null)g=Jn(b);else{f=h1(e,t,!0);var M=t.contextTypes;l=M!=null,g=l?g1(e,f):ao}var D=new t(s,g);if(e.mode&mn){Fn(!0);try{D=new t(s,g)}finally{Fn(!1)}}var Q=e.memoizedState=D.state!==null&&D.state!==void 0?D.state:null;Z5(e,D);{if(typeof t.getDerivedStateFromProps=="function"&&Q===null){var q=Kt(t)||"Component";Gy.has(q)||(Gy.add(q),m("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",q,D.state===null?"null":"undefined",q))}if(typeof t.getDerivedStateFromProps=="function"||typeof D.getSnapshotBeforeUpdate=="function"){var oe=null,se=null,he=null;if(typeof D.componentWillMount=="function"&&D.componentWillMount.__suppressDeprecationWarning!==!0?oe="componentWillMount":typeof D.UNSAFE_componentWillMount=="function"&&(oe="UNSAFE_componentWillMount"),typeof D.componentWillReceiveProps=="function"&&D.componentWillReceiveProps.__suppressDeprecationWarning!==!0?se="componentWillReceiveProps":typeof D.UNSAFE_componentWillReceiveProps=="function"&&(se="UNSAFE_componentWillReceiveProps"),typeof D.componentWillUpdate=="function"&&D.componentWillUpdate.__suppressDeprecationWarning!==!0?he="componentWillUpdate":typeof D.UNSAFE_componentWillUpdate=="function"&&(he="UNSAFE_componentWillUpdate"),oe!==null||se!==null||he!==null){var Ae=Kt(t)||"Component",Ke=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Wy.has(Ae)||(Wy.add(Ae),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
97
+
98
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
99
+
100
+ The above lifecycles should be removed. Learn more about this warning here:
101
+ https://reactjs.org/link/unsafe-component-lifecycles`,Ae,Ke,oe!==null?`
102
+ `+oe:"",se!==null?`
103
+ `+se:"",he!==null?`
104
+ `+he:""))}}}return l&&S5(e,f,g),D}function J_(e,t){var s=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),s!==t.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",pt(e)||"Component"),Xy.enqueueReplaceState(t,t.state,null))}function X5(e,t,s,l){var f=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(s,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(s,l),t.state!==f){{var g=pt(e)||"Component";Hy.has(g)||(Hy.add(g),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",g))}Xy.enqueueReplaceState(t,t.state,null)}}function e6(e,t,s,l){Z_(e,t,s);var f=e.stateNode;f.props=s,f.state=e.memoizedState,f.refs=W5,By(e);var g=t.contextType;if(typeof g=="object"&&g!==null)f.context=Jn(g);else{var b=h1(e,t,!0);f.context=g1(e,b)}{if(f.state===s){var _=Kt(t)||"Component";Yy.has(_)||(Yy.add(_),m("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",_))}e.mode&mn&&Go.recordLegacyContextWarning(e,f),Go.recordUnsafeLifecycleWarnings(e,f)}f.state=e.memoizedState;var N=t.getDerivedStateFromProps;if(typeof N=="function"&&(Jy(e,t,N,s),f.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function")&&(J_(e,f),ch(e,s,f,l),f.state=e.memoizedState),typeof f.componentDidMount=="function"){var M=yt;M|=ja,(e.mode&xr)!==at&&(M|=Va),e.flags|=M}}function X_(e,t,s,l){var f=e.stateNode,g=e.memoizedProps;f.props=g;var b=f.context,_=t.contextType,N=ao;if(typeof _=="object"&&_!==null)N=Jn(_);else{var M=h1(e,t,!0);N=g1(e,M)}var D=t.getDerivedStateFromProps,Q=typeof D=="function"||typeof f.getSnapshotBeforeUpdate=="function";!Q&&(typeof f.UNSAFE_componentWillReceiveProps=="function"||typeof f.componentWillReceiveProps=="function")&&(g!==s||b!==N)&&X5(e,f,s,N),G5();var q=e.memoizedState,oe=f.state=q;if(ch(e,s,f,l),oe=e.memoizedState,g===s&&q===oe&&!W2()&&!dh()){if(typeof f.componentDidMount=="function"){var se=yt;se|=ja,(e.mode&xr)!==at&&(se|=Va),e.flags|=se}return!1}typeof D=="function"&&(Jy(e,t,D,s),oe=e.memoizedState);var he=dh()||K5(e,t,g,s,q,oe,N);if(he){if(!Q&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function")&&(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"){var Ae=yt;Ae|=ja,(e.mode&xr)!==at&&(Ae|=Va),e.flags|=Ae}}else{if(typeof f.componentDidMount=="function"){var Ke=yt;Ke|=ja,(e.mode&xr)!==at&&(Ke|=Va),e.flags|=Ke}e.memoizedProps=s,e.memoizedState=oe}return f.props=s,f.state=oe,f.context=N,he}function eR(e,t,s,l,f){var g=t.stateNode;H5(e,t);var b=t.memoizedProps,_=t.type===t.elementType?b:qo(t.type,b);g.props=_;var N=t.pendingProps,M=g.context,D=s.contextType,Q=ao;if(typeof D=="object"&&D!==null)Q=Jn(D);else{var q=h1(t,s,!0);Q=g1(t,q)}var oe=s.getDerivedStateFromProps,se=typeof oe=="function"||typeof g.getSnapshotBeforeUpdate=="function";!se&&(typeof g.UNSAFE_componentWillReceiveProps=="function"||typeof g.componentWillReceiveProps=="function")&&(b!==N||M!==Q)&&X5(t,g,l,Q),G5();var he=t.memoizedState,Ae=g.state=he;if(ch(t,l,g,f),Ae=t.memoizedState,b===N&&he===Ae&&!W2()&&!dh()&&!je)return typeof g.componentDidUpdate=="function"&&(b!==e.memoizedProps||he!==e.memoizedState)&&(t.flags|=yt),typeof g.getSnapshotBeforeUpdate=="function"&&(b!==e.memoizedProps||he!==e.memoizedState)&&(t.flags|=Rr),!1;typeof oe=="function"&&(Jy(t,s,oe,l),Ae=t.memoizedState);var Ke=dh()||K5(t,s,_,l,he,Ae,Q)||je;return Ke?(!se&&(typeof g.UNSAFE_componentWillUpdate=="function"||typeof g.componentWillUpdate=="function")&&(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(l,Ae,Q),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(l,Ae,Q)),typeof g.componentDidUpdate=="function"&&(t.flags|=yt),typeof g.getSnapshotBeforeUpdate=="function"&&(t.flags|=Rr)):(typeof g.componentDidUpdate=="function"&&(b!==e.memoizedProps||he!==e.memoizedState)&&(t.flags|=yt),typeof g.getSnapshotBeforeUpdate=="function"&&(b!==e.memoizedProps||he!==e.memoizedState)&&(t.flags|=Rr),t.memoizedProps=l,t.memoizedState=Ae),g.props=l,g.state=Ae,g.context=Q,Ke}var t6,n6,a6,r6,o6,ev=function(e,t){};t6=!1,n6=!1,a6={},r6={},o6={},ev=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var s=pt(t)||"Component";r6[s]||(r6[s]=!0,m('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Xm(e,t,s){var l=s.ref;if(l!==null&&typeof l!="function"&&typeof l!="object"){if((e.mode&mn||ve)&&!(s._owner&&s._self&&s._owner.stateNode!==s._self)){var f=pt(e)||"Component";a6[f]||(m('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',l),a6[f]=!0)}if(s._owner){var g=s._owner,b;if(g){var _=g;if(_.tag!==I)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");b=_.stateNode}if(!b)throw new Error("Missing owner for string ref "+l+". This error is likely caused by a bug in React. Please file an issue.");var N=b;er(l,"ref");var M=""+l;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===M)return t.ref;var D=function(Q){var q=N.refs;q===W5&&(q=N.refs={}),Q===null?delete q[M]:q[M]=Q};return D._stringRef=M,D}else{if(typeof l!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!s._owner)throw new Error("Element ref was specified as a string ("+l+`) but no owner was set. This could happen for one of the following reasons:
105
+ 1. You may be adding a ref to a function component
106
+ 2. You may be adding a ref to a component that was not created inside a component's render method
107
+ 3. You have multiple copies of React loaded
108
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return l}function mh(e,t){var s=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function ph(e){{var t=pt(e)||"Component";if(o6[t])return;o6[t]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function tv(e){var t=e._payload,s=e._init;return s(t)}function nv(e){function t(ne,me){if(e){var ae=ne.deletions;ae===null?(ne.deletions=[me],ne.flags|=Bt):ae.push(me)}}function s(ne,me){if(!e)return null;for(var ae=me;ae!==null;)t(ne,ae),ae=ae.sibling;return null}function l(ne,me){for(var ae=new Map,Ce=me;Ce!==null;)Ce.key!==null?ae.set(Ce.key,Ce):ae.set(Ce.index,Ce),Ce=Ce.sibling;return ae}function f(ne,me){var ae=Ec(ne,me);return ae.index=0,ae.sibling=null,ae}function g(ne,me,ae){if(ne.index=ae,!e)return ne.flags|=Zf,me;var Ce=ne.alternate;if(Ce!==null){var Fe=Ce.index;return Fe<me?(ne.flags|=tn,me):Fe}else return ne.flags|=tn,me}function b(ne){return e&&ne.alternate===null&&(ne.flags|=tn),ne}function _(ne,me,ae,Ce){if(me===null||me.tag!==F){var Fe=O8(ae,ne.mode,Ce);return Fe.return=ne,Fe}else{var Pe=f(me,ae);return Pe.return=ne,Pe}}function N(ne,me,ae,Ce){var Fe=ae.type;if(Fe===Io)return D(ne,me,ae.props.children,Ce,ae.key);if(me!==null&&(me.elementType===Fe||q7(me,ae)||typeof Fe=="object"&&Fe!==null&&Fe.$$typeof===wa&&tv(Fe)===me.type)){var Pe=f(me,ae.props);return Pe.ref=Xm(ne,me,ae),Pe.return=ne,Pe._debugSource=ae._source,Pe._debugOwner=ae._owner,Pe}var lt=x8(ae,ne.mode,Ce);return lt.ref=Xm(ne,me,ae),lt.return=ne,lt}function M(ne,me,ae,Ce){if(me===null||me.tag!==P||me.stateNode.containerInfo!==ae.containerInfo||me.stateNode.implementation!==ae.implementation){var Fe=A8(ae,ne.mode,Ce);return Fe.return=ne,Fe}else{var Pe=f(me,ae.children||[]);return Pe.return=ne,Pe}}function D(ne,me,ae,Ce,Fe){if(me===null||me.tag!==V){var Pe=nu(ae,ne.mode,Ce,Fe);return Pe.return=ne,Pe}else{var lt=f(me,ae);return lt.return=ne,lt}}function Q(ne,me,ae){if(typeof me=="string"&&me!==""||typeof me=="number"){var Ce=O8(""+me,ne.mode,ae);return Ce.return=ne,Ce}if(typeof me=="object"&&me!==null){switch(me.$$typeof){case rl:{var Fe=x8(me,ne.mode,ae);return Fe.ref=Xm(ne,null,me),Fe.return=ne,Fe}case Wr:{var Pe=A8(me,ne.mode,ae);return Pe.return=ne,Pe}case wa:{var lt=me._payload,mt=me._init;return Q(ne,mt(lt),ae)}}if(Wn(me)||No(me)){var Qt=nu(me,ne.mode,ae,null);return Qt.return=ne,Qt}mh(ne,me)}return typeof me=="function"&&ph(ne),null}function q(ne,me,ae,Ce){var Fe=me!==null?me.key:null;if(typeof ae=="string"&&ae!==""||typeof ae=="number")return Fe!==null?null:_(ne,me,""+ae,Ce);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case rl:return ae.key===Fe?N(ne,me,ae,Ce):null;case Wr:return ae.key===Fe?M(ne,me,ae,Ce):null;case wa:{var Pe=ae._payload,lt=ae._init;return q(ne,me,lt(Pe),Ce)}}if(Wn(ae)||No(ae))return Fe!==null?null:D(ne,me,ae,Ce,null);mh(ne,ae)}return typeof ae=="function"&&ph(ne),null}function oe(ne,me,ae,Ce,Fe){if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number"){var Pe=ne.get(ae)||null;return _(me,Pe,""+Ce,Fe)}if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case rl:{var lt=ne.get(Ce.key===null?ae:Ce.key)||null;return N(me,lt,Ce,Fe)}case Wr:{var mt=ne.get(Ce.key===null?ae:Ce.key)||null;return M(me,mt,Ce,Fe)}case wa:var Qt=Ce._payload,Ft=Ce._init;return oe(ne,me,ae,Ft(Qt),Fe)}if(Wn(Ce)||No(Ce)){var $n=ne.get(ae)||null;return D(me,$n,Ce,Fe,null)}mh(me,Ce)}return typeof Ce=="function"&&ph(me),null}function se(ne,me,ae){{if(typeof ne!="object"||ne===null)return me;switch(ne.$$typeof){case rl:case Wr:ev(ne,ae);var Ce=ne.key;if(typeof Ce!="string")break;if(me===null){me=new Set,me.add(Ce);break}if(!me.has(Ce)){me.add(Ce);break}m("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Ce);break;case wa:var Fe=ne._payload,Pe=ne._init;se(Pe(Fe),me,ae);break}}return me}function he(ne,me,ae,Ce){for(var Fe=null,Pe=0;Pe<ae.length;Pe++){var lt=ae[Pe];Fe=se(lt,Fe,ne)}for(var mt=null,Qt=null,Ft=me,$n=0,jt=0,Pn=null;Ft!==null&&jt<ae.length;jt++){Ft.index>jt?(Pn=Ft,Ft=null):Pn=Ft.sibling;var Za=q(ne,Ft,ae[jt],Ce);if(Za===null){Ft===null&&(Ft=Pn);break}e&&Ft&&Za.alternate===null&&t(ne,Ft),$n=g(Za,$n,jt),Qt===null?mt=Za:Qt.sibling=Za,Qt=Za,Ft=Pn}if(jt===ae.length){if(s(ne,Ft),_a()){var Aa=jt;dc(ne,Aa)}return mt}if(Ft===null){for(;jt<ae.length;jt++){var oo=Q(ne,ae[jt],Ce);oo!==null&&($n=g(oo,$n,jt),Qt===null?mt=oo:Qt.sibling=oo,Qt=oo)}if(_a()){var pr=jt;dc(ne,pr)}return mt}for(var hr=l(ne,Ft);jt<ae.length;jt++){var Ja=oe(hr,ne,jt,ae[jt],Ce);Ja!==null&&(e&&Ja.alternate!==null&&hr.delete(Ja.key===null?jt:Ja.key),$n=g(Ja,$n,jt),Qt===null?mt=Ja:Qt.sibling=Ja,Qt=Ja)}if(e&&hr.forEach(function(F1){return t(ne,F1)}),_a()){var Vi=jt;dc(ne,Vi)}return mt}function Ae(ne,me,ae,Ce){var Fe=No(ae);if(typeof Fe!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&ae[Symbol.toStringTag]==="Generator"&&(n6||m("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),n6=!0),ae.entries===Fe&&(t6||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),t6=!0);var Pe=Fe.call(ae);if(Pe)for(var lt=null,mt=Pe.next();!mt.done;mt=Pe.next()){var Qt=mt.value;lt=se(Qt,lt,ne)}}var Ft=Fe.call(ae);if(Ft==null)throw new Error("An iterable object provided no iterator.");for(var $n=null,jt=null,Pn=me,Za=0,Aa=0,oo=null,pr=Ft.next();Pn!==null&&!pr.done;Aa++,pr=Ft.next()){Pn.index>Aa?(oo=Pn,Pn=null):oo=Pn.sibling;var hr=q(ne,Pn,pr.value,Ce);if(hr===null){Pn===null&&(Pn=oo);break}e&&Pn&&hr.alternate===null&&t(ne,Pn),Za=g(hr,Za,Aa),jt===null?$n=hr:jt.sibling=hr,jt=hr,Pn=oo}if(pr.done){if(s(ne,Pn),_a()){var Ja=Aa;dc(ne,Ja)}return $n}if(Pn===null){for(;!pr.done;Aa++,pr=Ft.next()){var Vi=Q(ne,pr.value,Ce);Vi!==null&&(Za=g(Vi,Za,Aa),jt===null?$n=Vi:jt.sibling=Vi,jt=Vi)}if(_a()){var F1=Aa;dc(ne,F1)}return $n}for(var Ip=l(ne,Pn);!pr.done;Aa++,pr=Ft.next()){var js=oe(Ip,ne,Aa,pr.value,Ce);js!==null&&(e&&js.alternate!==null&&Ip.delete(js.key===null?Aa:js.key),Za=g(js,Za,Aa),jt===null?$n=js:jt.sibling=js,jt=js)}if(e&&Ip.forEach(function(pL){return t(ne,pL)}),_a()){var mL=Aa;dc(ne,mL)}return $n}function Ke(ne,me,ae,Ce){if(me!==null&&me.tag===F){s(ne,me.sibling);var Fe=f(me,ae);return Fe.return=ne,Fe}s(ne,me);var Pe=O8(ae,ne.mode,Ce);return Pe.return=ne,Pe}function nt(ne,me,ae,Ce){for(var Fe=ae.key,Pe=me;Pe!==null;){if(Pe.key===Fe){var lt=ae.type;if(lt===Io){if(Pe.tag===V){s(ne,Pe.sibling);var mt=f(Pe,ae.props.children);return mt.return=ne,mt._debugSource=ae._source,mt._debugOwner=ae._owner,mt}}else if(Pe.elementType===lt||q7(Pe,ae)||typeof lt=="object"&&lt!==null&&lt.$$typeof===wa&&tv(lt)===Pe.type){s(ne,Pe.sibling);var Qt=f(Pe,ae.props);return Qt.ref=Xm(ne,Pe,ae),Qt.return=ne,Qt._debugSource=ae._source,Qt._debugOwner=ae._owner,Qt}s(ne,Pe);break}else t(ne,Pe);Pe=Pe.sibling}if(ae.type===Io){var Ft=nu(ae.props.children,ne.mode,Ce,ae.key);return Ft.return=ne,Ft}else{var $n=x8(ae,ne.mode,Ce);return $n.ref=Xm(ne,me,ae),$n.return=ne,$n}}function Ct(ne,me,ae,Ce){for(var Fe=ae.key,Pe=me;Pe!==null;){if(Pe.key===Fe)if(Pe.tag===P&&Pe.stateNode.containerInfo===ae.containerInfo&&Pe.stateNode.implementation===ae.implementation){s(ne,Pe.sibling);var lt=f(Pe,ae.children||[]);return lt.return=ne,lt}else{s(ne,Pe);break}else t(ne,Pe);Pe=Pe.sibling}var mt=A8(ae,ne.mode,Ce);return mt.return=ne,mt}function bt(ne,me,ae,Ce){var Fe=typeof ae=="object"&&ae!==null&&ae.type===Io&&ae.key===null;if(Fe&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case rl:return b(nt(ne,me,ae,Ce));case Wr:return b(Ct(ne,me,ae,Ce));case wa:var Pe=ae._payload,lt=ae._init;return bt(ne,me,lt(Pe),Ce)}if(Wn(ae))return he(ne,me,ae,Ce);if(No(ae))return Ae(ne,me,ae,Ce);mh(ne,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"?b(Ke(ne,me,""+ae,Ce)):(typeof ae=="function"&&ph(ne),s(ne,me))}return bt}var S1=nv(!0),av=nv(!1);function tR(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var s=t.child,l=Ec(s,s.pendingProps);for(t.child=l,l.return=t;s.sibling!==null;)s=s.sibling,l=l.sibling=Ec(s,s.pendingProps),l.return=t;l.sibling=null}}function nR(e,t){for(var s=e.child;s!==null;)xN(s,t),s=s.sibling}var ep={},Wl=zl(ep),tp=zl(ep),hh=zl(ep);function gh(e){if(e===ep)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function rv(){var e=gh(hh.current);return e}function s6(e,t){Ya(hh,t,e),Ya(tp,e,e),Ya(Wl,ep,e);var s=gC(t);Qa(Wl,e),Ya(Wl,s,e)}function w1(e){Qa(Wl,e),Qa(tp,e),Qa(hh,e)}function i6(){var e=gh(Wl.current);return e}function ov(e){gh(hh.current);var t=gh(Wl.current),s=yC(t,e.type);t!==s&&(Ya(tp,e,e),Ya(Wl,s,e))}function l6(e){tp.current===e&&(Qa(Wl,e),Qa(tp,e))}var aR=0,sv=1,iv=1,np=2,Wo=zl(aR);function u6(e,t){return(e&t)!==0}function E1(e){return e&sv}function c6(e,t){return e&sv|t}function rR(e,t){return e|t}function Ql(e,t){Ya(Wo,t,e)}function C1(e){Qa(Wo,e)}function oR(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function yh(e){for(var t=e;t!==null;){if(t.tag===ie){var s=t.memoizedState;if(s!==null){var l=s.dehydrated;if(l===null||y5(l)||gy(l))return t}}else if(t.tag===Be&&t.memoizedProps.revealOrder!==void 0){var f=(t.flags&ut)!==Xe;if(f)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var jr=0,oa=1,Os=2,sa=4,Ra=8,d6=[];function f6(){for(var e=0;e<d6.length;e++){var t=d6[e];t._workInProgressVersionPrimary=null}d6.length=0}function sR(e,t){var s=t._getVersion,l=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,l]:e.mutableSourceEagerHydrationData.push(t,l)}var Ue=i.ReactCurrentDispatcher,ap=i.ReactCurrentBatchConfig,m6,_1;m6=new Set;var yc=ge,Wt=null,ia=null,la=null,vh=!1,rp=!1,op=0,iR=0,lR=25,ye=null,To=null,Yl=-1,p6=!1;function Ht(){{var e=ye;To===null?To=[e]:To.push(e)}}function Oe(){{var e=ye;To!==null&&(Yl++,To[Yl]!==e&&uR(e))}}function R1(e){e!=null&&!Wn(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ye,typeof e)}function uR(e){{var t=pt(Wt);if(!m6.has(t)&&(m6.add(t),To!==null)){for(var s="",l=30,f=0;f<=Yl;f++){for(var g=To[f],b=f===Yl?e:g,_=f+1+". "+g;_.length<l;)_+=" ";_+=b+`
109
+ `,s+=_}m(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
110
+
111
+ Previous render Next render
112
+ ------------------------------------------------------
113
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
114
+ `,t,s)}}}function Ka(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
115
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
116
+ 2. You might be breaking the Rules of Hooks
117
+ 3. You might have more than one copy of React in the same app
118
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function h6(e,t){if(p6)return!1;if(t===null)return m("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ye),!1;e.length!==t.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
119
+
120
+ Previous: %s
121
+ Incoming: %s`,ye,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!Me(e[s],t[s]))return!1;return!0}function I1(e,t,s,l,f,g){yc=g,Wt=t,To=e!==null?e._debugHookTypes:null,Yl=-1,p6=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ge,e!==null&&e.memoizedState!==null?Ue.current=Nv:To!==null?Ue.current=Iv:Ue.current=Rv;var b=s(l,f);if(rp){var _=0;do{if(rp=!1,op=0,_>=lR)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,p6=!1,ia=null,la=null,t.updateQueue=null,Yl=-1,Ue.current=Lv,b=s(l,f)}while(rp)}Ue.current=xh,t._debugHookTypes=To;var N=ia!==null&&ia.next!==null;if(yc=ge,Wt=null,ia=null,la=null,ye=null,To=null,Yl=-1,e!==null&&(e.flags&ea)!==(t.flags&ea)&&(e.mode&Tt)!==at&&m("Internal React error: Expected static flag was missing. Please notify the React team."),vh=!1,N)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return b}function N1(){var e=op!==0;return op=0,e}function lv(e,t,s){t.updateQueue=e.updateQueue,(t.mode&xr)!==at?t.flags&=~(li|Va|sn|yt):t.flags&=~(sn|yt),e.lanes=Il(e.lanes,s)}function uv(){if(Ue.current=xh,vh){for(var e=Wt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}vh=!1}yc=ge,Wt=null,ia=null,la=null,To=null,Yl=-1,ye=null,Sv=!1,rp=!1,op=0}function As(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return la===null?Wt.memoizedState=la=e:la=la.next=e,la}function So(){var e;if(ia===null){var t=Wt.alternate;t!==null?e=t.memoizedState:e=null}else e=ia.next;var s;if(la===null?s=Wt.memoizedState:s=la.next,s!==null)la=s,s=la.next,ia=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");ia=e;var l={memoizedState:ia.memoizedState,baseState:ia.baseState,baseQueue:ia.baseQueue,queue:ia.queue,next:null};la===null?Wt.memoizedState=la=l:la=la.next=l}return la}function cv(){return{lastEffect:null,stores:null}}function g6(e,t){return typeof t=="function"?t(e):t}function y6(e,t,s){var l=As(),f;s!==void 0?f=s(t):f=t,l.memoizedState=l.baseState=f;var g={pending:null,interleaved:null,lanes:ge,dispatch:null,lastRenderedReducer:e,lastRenderedState:f};l.queue=g;var b=g.dispatch=mR.bind(null,Wt,g);return[l.memoizedState,b]}function v6(e,t,s){var l=So(),f=l.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var g=ia,b=g.baseQueue,_=f.pending;if(_!==null){if(b!==null){var N=b.next,M=_.next;b.next=M,_.next=N}g.baseQueue!==b&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=b=_,f.pending=null}if(b!==null){var D=b.next,Q=g.baseState,q=null,oe=null,se=null,he=D;do{var Ae=he.lane;if(vi(yc,Ae)){if(se!==null){var Ke={lane:Ot,action:he.action,hasEagerState:he.hasEagerState,eagerState:he.eagerState,next:null};se=se.next=Ke}if(he.hasEagerState)Q=he.eagerState;else{var nt=he.action;Q=e(Q,nt)}}else{var Ct={lane:Ae,action:he.action,hasEagerState:he.hasEagerState,eagerState:he.eagerState,next:null};se===null?(oe=se=Ct,q=Q):se=se.next=Ct,Wt.lanes=vt(Wt.lanes,Ae),wp(Ae)}he=he.next}while(he!==null&&he!==D);se===null?q=Q:se.next=oe,Me(Q,l.memoizedState)||fp(),l.memoizedState=Q,l.baseState=q,l.baseQueue=se,f.lastRenderedState=Q}var bt=f.interleaved;if(bt!==null){var ne=bt;do{var me=ne.lane;Wt.lanes=vt(Wt.lanes,me),wp(me),ne=ne.next}while(ne!==bt)}else b===null&&(f.lanes=ge);var ae=f.dispatch;return[l.memoizedState,ae]}function k6(e,t,s){var l=So(),f=l.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var g=f.dispatch,b=f.pending,_=l.memoizedState;if(b!==null){f.pending=null;var N=b.next,M=N;do{var D=M.action;_=e(_,D),M=M.next}while(M!==N);Me(_,l.memoizedState)||fp(),l.memoizedState=_,l.baseQueue===null&&(l.baseState=_),f.lastRenderedState=_}return[_,g]}function b6(e,t,s){var l=Wt,f=As(),g,b=_a();if(b){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");g=s(),_1||g!==s()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),_1=!0)}else{if(g=t(),!_1){var _=t();Me(g,_)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),_1=!0)}var N=Kh();if(N===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Gu(N,yc)||dv(l,t,g)}f.memoizedState=g;var M={value:g,getSnapshot:t};return f.queue=M,wh(mv.bind(null,l,M,e),[e]),l.flags|=sn,sp(oa|Ra,fv.bind(null,l,M,g,t),void 0,null),g}function kh(e,t,s){var l=Wt,f=So(),g=t();if(!_1){var b=t();Me(g,b)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),_1=!0)}var _=f.memoizedState,N=!Me(_,g);N&&(f.memoizedState=g,fp());var M=f.queue;if(lp(mv.bind(null,l,M,e),[e]),M.getSnapshot!==t||N||la!==null&&la.memoizedState.tag&oa){l.flags|=sn,sp(oa|Ra,fv.bind(null,l,M,g,t),void 0,null);var D=Kh();if(D===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Gu(D,yc)||dv(l,t,g)}return g}function dv(e,t,s){e.flags|=Du;var l={getSnapshot:t,value:s},f=Wt.updateQueue;if(f===null)f=cv(),Wt.updateQueue=f,f.stores=[l];else{var g=f.stores;g===null?f.stores=[l]:g.push(l)}}function fv(e,t,s,l){t.value=s,t.getSnapshot=l,pv(t)&&hv(e)}function mv(e,t,s){var l=function(){pv(t)&&hv(e)};return s(l)}function pv(e){var t=e.getSnapshot,s=e.value;try{var l=t();return!Me(s,l)}catch{return!0}}function hv(e){var t=Fr(e,st);t!==null&&fa(t,e,st,Jt)}function bh(e){var t=As();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:ge,dispatch:null,lastRenderedReducer:g6,lastRenderedState:e};t.queue=s;var l=s.dispatch=pR.bind(null,Wt,s);return[t.memoizedState,l]}function T6(e){return v6(g6)}function S6(e){return k6(g6)}function sp(e,t,s,l){var f={tag:e,create:t,destroy:s,deps:l,next:null},g=Wt.updateQueue;if(g===null)g=cv(),Wt.updateQueue=g,g.lastEffect=f.next=f;else{var b=g.lastEffect;if(b===null)g.lastEffect=f.next=f;else{var _=b.next;b.next=f,f.next=_,g.lastEffect=f}}return f}function w6(e){var t=As();{var s={current:e};return t.memoizedState=s,s}}function Th(e){var t=So();return t.memoizedState}function ip(e,t,s,l){var f=As(),g=l===void 0?null:l;Wt.flags|=e,f.memoizedState=sp(oa|t,s,void 0,g)}function Sh(e,t,s,l){var f=So(),g=l===void 0?null:l,b=void 0;if(ia!==null){var _=ia.memoizedState;if(b=_.destroy,g!==null){var N=_.deps;if(h6(g,N)){f.memoizedState=sp(t,s,b,g);return}}}Wt.flags|=e,f.memoizedState=sp(oa|t,s,b,g)}function wh(e,t){return(Wt.mode&xr)!==at?ip(li|sn|fs,Ra,e,t):ip(sn|fs,Ra,e,t)}function lp(e,t){return Sh(sn,Ra,e,t)}function E6(e,t){return ip(yt,Os,e,t)}function Eh(e,t){return Sh(yt,Os,e,t)}function C6(e,t){var s=yt;return s|=ja,(Wt.mode&xr)!==at&&(s|=Va),ip(s,sa,e,t)}function Ch(e,t){return Sh(yt,sa,e,t)}function gv(e,t){if(typeof t=="function"){var s=t,l=e();return s(l),function(){s(null)}}else if(t!=null){var f=t;f.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(f).join(", ")+"}");var g=e();return f.current=g,function(){f.current=null}}}function _6(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var l=s!=null?s.concat([e]):null,f=yt;return f|=ja,(Wt.mode&xr)!==at&&(f|=Va),ip(f,sa,gv.bind(null,t,e),l)}function _h(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var l=s!=null?s.concat([e]):null;return Sh(yt,sa,gv.bind(null,t,e),l)}function cR(e,t){}var Rh=cR;function R6(e,t){var s=As(),l=t===void 0?null:t;return s.memoizedState=[e,l],e}function Ih(e,t){var s=So(),l=t===void 0?null:t,f=s.memoizedState;if(f!==null&&l!==null){var g=f[1];if(h6(l,g))return f[0]}return s.memoizedState=[e,l],e}function I6(e,t){var s=As(),l=t===void 0?null:t,f=e();return s.memoizedState=[f,l],f}function Nh(e,t){var s=So(),l=t===void 0?null:t,f=s.memoizedState;if(f!==null&&l!==null){var g=f[1];if(h6(l,g))return f[0]}var b=e();return s.memoizedState=[b,l],b}function N6(e){var t=As();return t.memoizedState=e,e}function yv(e){var t=So(),s=ia,l=s.memoizedState;return kv(t,l,e)}function vv(e){var t=So();if(ia===null)return t.memoizedState=e,e;var s=ia.memoizedState;return kv(t,s,e)}function kv(e,t,s){var l=!F3(yc);if(l){if(!Me(s,t)){var f=pm();Wt.lanes=vt(Wt.lanes,f),wp(f),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,fp()),e.memoizedState=s,s}function dR(e,t,s){var l=ir();Vn(Wu(l,Ar)),e(!0);var f=ap.transition;ap.transition={};var g=ap.transition;ap.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Vn(l),ap.transition=f,f===null&&g._updatedFibers){var b=g._updatedFibers.size;b>10&&p("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),g._updatedFibers.clear()}}}function L6(){var e=bh(!1),t=e[0],s=e[1],l=dR.bind(null,s),f=As();return f.memoizedState=l,[t,l]}function bv(){var e=T6(),t=e[0],s=So(),l=s.memoizedState;return[t,l]}function Tv(){var e=S6(),t=e[0],s=So(),l=s.memoizedState;return[t,l]}var Sv=!1;function fR(){return Sv}function x6(){var e=As(),t=Kh(),s=t.identifierPrefix,l;if(_a()){var f=__();l=":"+s+"R"+f;var g=op++;g>0&&(l+="H"+g.toString(32)),l+=":"}else{var b=iR++;l=":"+s+"r"+b.toString(32)+":"}return e.memoizedState=l,l}function Lh(){var e=So(),t=e.memoizedState;return t}function mR(e,t,s){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var l=eu(e),f={lane:l,action:s,hasEagerState:!1,eagerState:null,next:null};if(wv(e))Ev(t,f);else{var g=B5(e,t,f,l);if(g!==null){var b=mr();fa(g,e,l,b),Cv(g,t,l)}}_v(e,l)}function pR(e,t,s){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var l=eu(e),f={lane:l,action:s,hasEagerState:!1,eagerState:null,next:null};if(wv(e))Ev(t,f);else{var g=e.alternate;if(e.lanes===ge&&(g===null||g.lanes===ge)){var b=t.lastRenderedReducer;if(b!==null){var _;_=Ue.current,Ue.current=Qo;try{var N=t.lastRenderedState,M=b(N,s);if(f.hasEagerState=!0,f.eagerState=M,Me(M,N)){q_(e,t,f,l);return}}catch{}finally{Ue.current=_}}}var D=B5(e,t,f,l);if(D!==null){var Q=mr();fa(D,e,l,Q),Cv(D,t,l)}}_v(e,l)}function wv(e){var t=e.alternate;return e===Wt||t!==null&&t===Wt}function Ev(e,t){rp=vh=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function Cv(e,t,s){if(mm(s)){var l=t.lanes;l=hm(l,e.pendingLanes);var f=vt(l,s);t.lanes=f,qu(e,f)}}function _v(e,t,s){vs(e,t)}var xh={readContext:Jn,useCallback:Ka,useContext:Ka,useEffect:Ka,useImperativeHandle:Ka,useInsertionEffect:Ka,useLayoutEffect:Ka,useMemo:Ka,useReducer:Ka,useRef:Ka,useState:Ka,useDebugValue:Ka,useDeferredValue:Ka,useTransition:Ka,useMutableSource:Ka,useSyncExternalStore:Ka,useId:Ka,unstable_isNewReconciler:Re},Rv=null,Iv=null,Nv=null,Lv=null,Ps=null,Qo=null,Oh=null;{var O6=function(){m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},dt=function(){m("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Rv={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ye="useCallback",Ht(),R1(t),R6(e,t)},useContext:function(e){return ye="useContext",Ht(),Jn(e)},useEffect:function(e,t){return ye="useEffect",Ht(),R1(t),wh(e,t)},useImperativeHandle:function(e,t,s){return ye="useImperativeHandle",Ht(),R1(s),_6(e,t,s)},useInsertionEffect:function(e,t){return ye="useInsertionEffect",Ht(),R1(t),E6(e,t)},useLayoutEffect:function(e,t){return ye="useLayoutEffect",Ht(),R1(t),C6(e,t)},useMemo:function(e,t){ye="useMemo",Ht(),R1(t);var s=Ue.current;Ue.current=Ps;try{return I6(e,t)}finally{Ue.current=s}},useReducer:function(e,t,s){ye="useReducer",Ht();var l=Ue.current;Ue.current=Ps;try{return y6(e,t,s)}finally{Ue.current=l}},useRef:function(e){return ye="useRef",Ht(),w6(e)},useState:function(e){ye="useState",Ht();var t=Ue.current;Ue.current=Ps;try{return bh(e)}finally{Ue.current=t}},useDebugValue:function(e,t){return ye="useDebugValue",Ht(),void 0},useDeferredValue:function(e){return ye="useDeferredValue",Ht(),N6(e)},useTransition:function(){return ye="useTransition",Ht(),L6()},useMutableSource:function(e,t,s){return ye="useMutableSource",Ht(),void 0},useSyncExternalStore:function(e,t,s){return ye="useSyncExternalStore",Ht(),b6(e,t,s)},useId:function(){return ye="useId",Ht(),x6()},unstable_isNewReconciler:Re},Iv={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ye="useCallback",Oe(),R6(e,t)},useContext:function(e){return ye="useContext",Oe(),Jn(e)},useEffect:function(e,t){return ye="useEffect",Oe(),wh(e,t)},useImperativeHandle:function(e,t,s){return ye="useImperativeHandle",Oe(),_6(e,t,s)},useInsertionEffect:function(e,t){return ye="useInsertionEffect",Oe(),E6(e,t)},useLayoutEffect:function(e,t){return ye="useLayoutEffect",Oe(),C6(e,t)},useMemo:function(e,t){ye="useMemo",Oe();var s=Ue.current;Ue.current=Ps;try{return I6(e,t)}finally{Ue.current=s}},useReducer:function(e,t,s){ye="useReducer",Oe();var l=Ue.current;Ue.current=Ps;try{return y6(e,t,s)}finally{Ue.current=l}},useRef:function(e){return ye="useRef",Oe(),w6(e)},useState:function(e){ye="useState",Oe();var t=Ue.current;Ue.current=Ps;try{return bh(e)}finally{Ue.current=t}},useDebugValue:function(e,t){return ye="useDebugValue",Oe(),void 0},useDeferredValue:function(e){return ye="useDeferredValue",Oe(),N6(e)},useTransition:function(){return ye="useTransition",Oe(),L6()},useMutableSource:function(e,t,s){return ye="useMutableSource",Oe(),void 0},useSyncExternalStore:function(e,t,s){return ye="useSyncExternalStore",Oe(),b6(e,t,s)},useId:function(){return ye="useId",Oe(),x6()},unstable_isNewReconciler:Re},Nv={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ye="useCallback",Oe(),Ih(e,t)},useContext:function(e){return ye="useContext",Oe(),Jn(e)},useEffect:function(e,t){return ye="useEffect",Oe(),lp(e,t)},useImperativeHandle:function(e,t,s){return ye="useImperativeHandle",Oe(),_h(e,t,s)},useInsertionEffect:function(e,t){return ye="useInsertionEffect",Oe(),Eh(e,t)},useLayoutEffect:function(e,t){return ye="useLayoutEffect",Oe(),Ch(e,t)},useMemo:function(e,t){ye="useMemo",Oe();var s=Ue.current;Ue.current=Qo;try{return Nh(e,t)}finally{Ue.current=s}},useReducer:function(e,t,s){ye="useReducer",Oe();var l=Ue.current;Ue.current=Qo;try{return v6(e,t,s)}finally{Ue.current=l}},useRef:function(e){return ye="useRef",Oe(),Th()},useState:function(e){ye="useState",Oe();var t=Ue.current;Ue.current=Qo;try{return T6(e)}finally{Ue.current=t}},useDebugValue:function(e,t){return ye="useDebugValue",Oe(),Rh()},useDeferredValue:function(e){return ye="useDeferredValue",Oe(),yv(e)},useTransition:function(){return ye="useTransition",Oe(),bv()},useMutableSource:function(e,t,s){return ye="useMutableSource",Oe(),void 0},useSyncExternalStore:function(e,t,s){return ye="useSyncExternalStore",Oe(),kh(e,t)},useId:function(){return ye="useId",Oe(),Lh()},unstable_isNewReconciler:Re},Lv={readContext:function(e){return Jn(e)},useCallback:function(e,t){return ye="useCallback",Oe(),Ih(e,t)},useContext:function(e){return ye="useContext",Oe(),Jn(e)},useEffect:function(e,t){return ye="useEffect",Oe(),lp(e,t)},useImperativeHandle:function(e,t,s){return ye="useImperativeHandle",Oe(),_h(e,t,s)},useInsertionEffect:function(e,t){return ye="useInsertionEffect",Oe(),Eh(e,t)},useLayoutEffect:function(e,t){return ye="useLayoutEffect",Oe(),Ch(e,t)},useMemo:function(e,t){ye="useMemo",Oe();var s=Ue.current;Ue.current=Oh;try{return Nh(e,t)}finally{Ue.current=s}},useReducer:function(e,t,s){ye="useReducer",Oe();var l=Ue.current;Ue.current=Oh;try{return k6(e,t,s)}finally{Ue.current=l}},useRef:function(e){return ye="useRef",Oe(),Th()},useState:function(e){ye="useState",Oe();var t=Ue.current;Ue.current=Oh;try{return S6(e)}finally{Ue.current=t}},useDebugValue:function(e,t){return ye="useDebugValue",Oe(),Rh()},useDeferredValue:function(e){return ye="useDeferredValue",Oe(),vv(e)},useTransition:function(){return ye="useTransition",Oe(),Tv()},useMutableSource:function(e,t,s){return ye="useMutableSource",Oe(),void 0},useSyncExternalStore:function(e,t,s){return ye="useSyncExternalStore",Oe(),kh(e,t)},useId:function(){return ye="useId",Oe(),Lh()},unstable_isNewReconciler:Re},Ps={readContext:function(e){return O6(),Jn(e)},useCallback:function(e,t){return ye="useCallback",dt(),Ht(),R6(e,t)},useContext:function(e){return ye="useContext",dt(),Ht(),Jn(e)},useEffect:function(e,t){return ye="useEffect",dt(),Ht(),wh(e,t)},useImperativeHandle:function(e,t,s){return ye="useImperativeHandle",dt(),Ht(),_6(e,t,s)},useInsertionEffect:function(e,t){return ye="useInsertionEffect",dt(),Ht(),E6(e,t)},useLayoutEffect:function(e,t){return ye="useLayoutEffect",dt(),Ht(),C6(e,t)},useMemo:function(e,t){ye="useMemo",dt(),Ht();var s=Ue.current;Ue.current=Ps;try{return I6(e,t)}finally{Ue.current=s}},useReducer:function(e,t,s){ye="useReducer",dt(),Ht();var l=Ue.current;Ue.current=Ps;try{return y6(e,t,s)}finally{Ue.current=l}},useRef:function(e){return ye="useRef",dt(),Ht(),w6(e)},useState:function(e){ye="useState",dt(),Ht();var t=Ue.current;Ue.current=Ps;try{return bh(e)}finally{Ue.current=t}},useDebugValue:function(e,t){return ye="useDebugValue",dt(),Ht(),void 0},useDeferredValue:function(e){return ye="useDeferredValue",dt(),Ht(),N6(e)},useTransition:function(){return ye="useTransition",dt(),Ht(),L6()},useMutableSource:function(e,t,s){return ye="useMutableSource",dt(),Ht(),void 0},useSyncExternalStore:function(e,t,s){return ye="useSyncExternalStore",dt(),Ht(),b6(e,t,s)},useId:function(){return ye="useId",dt(),Ht(),x6()},unstable_isNewReconciler:Re},Qo={readContext:function(e){return O6(),Jn(e)},useCallback:function(e,t){return ye="useCallback",dt(),Oe(),Ih(e,t)},useContext:function(e){return ye="useContext",dt(),Oe(),Jn(e)},useEffect:function(e,t){return ye="useEffect",dt(),Oe(),lp(e,t)},useImperativeHandle:function(e,t,s){return ye="useImperativeHandle",dt(),Oe(),_h(e,t,s)},useInsertionEffect:function(e,t){return ye="useInsertionEffect",dt(),Oe(),Eh(e,t)},useLayoutEffect:function(e,t){return ye="useLayoutEffect",dt(),Oe(),Ch(e,t)},useMemo:function(e,t){ye="useMemo",dt(),Oe();var s=Ue.current;Ue.current=Qo;try{return Nh(e,t)}finally{Ue.current=s}},useReducer:function(e,t,s){ye="useReducer",dt(),Oe();var l=Ue.current;Ue.current=Qo;try{return v6(e,t,s)}finally{Ue.current=l}},useRef:function(e){return ye="useRef",dt(),Oe(),Th()},useState:function(e){ye="useState",dt(),Oe();var t=Ue.current;Ue.current=Qo;try{return T6(e)}finally{Ue.current=t}},useDebugValue:function(e,t){return ye="useDebugValue",dt(),Oe(),Rh()},useDeferredValue:function(e){return ye="useDeferredValue",dt(),Oe(),yv(e)},useTransition:function(){return ye="useTransition",dt(),Oe(),bv()},useMutableSource:function(e,t,s){return ye="useMutableSource",dt(),Oe(),void 0},useSyncExternalStore:function(e,t,s){return ye="useSyncExternalStore",dt(),Oe(),kh(e,t)},useId:function(){return ye="useId",dt(),Oe(),Lh()},unstable_isNewReconciler:Re},Oh={readContext:function(e){return O6(),Jn(e)},useCallback:function(e,t){return ye="useCallback",dt(),Oe(),Ih(e,t)},useContext:function(e){return ye="useContext",dt(),Oe(),Jn(e)},useEffect:function(e,t){return ye="useEffect",dt(),Oe(),lp(e,t)},useImperativeHandle:function(e,t,s){return ye="useImperativeHandle",dt(),Oe(),_h(e,t,s)},useInsertionEffect:function(e,t){return ye="useInsertionEffect",dt(),Oe(),Eh(e,t)},useLayoutEffect:function(e,t){return ye="useLayoutEffect",dt(),Oe(),Ch(e,t)},useMemo:function(e,t){ye="useMemo",dt(),Oe();var s=Ue.current;Ue.current=Qo;try{return Nh(e,t)}finally{Ue.current=s}},useReducer:function(e,t,s){ye="useReducer",dt(),Oe();var l=Ue.current;Ue.current=Qo;try{return k6(e,t,s)}finally{Ue.current=l}},useRef:function(e){return ye="useRef",dt(),Oe(),Th()},useState:function(e){ye="useState",dt(),Oe();var t=Ue.current;Ue.current=Qo;try{return S6(e)}finally{Ue.current=t}},useDebugValue:function(e,t){return ye="useDebugValue",dt(),Oe(),Rh()},useDeferredValue:function(e){return ye="useDeferredValue",dt(),Oe(),vv(e)},useTransition:function(){return ye="useTransition",dt(),Oe(),Tv()},useMutableSource:function(e,t,s){return ye="useMutableSource",dt(),Oe(),void 0},useSyncExternalStore:function(e,t,s){return ye="useSyncExternalStore",dt(),Oe(),kh(e,t)},useId:function(){return ye="useId",dt(),Oe(),Lh()},unstable_isNewReconciler:Re}}var Kl=r.unstable_now,xv=0,Ah=-1,up=-1,Ph=-1,A6=!1,Mh=!1;function Ov(){return A6}function hR(){Mh=!0}function gR(){A6=!1,Mh=!1}function yR(){A6=Mh,Mh=!1}function Av(){return xv}function Pv(){xv=Kl()}function P6(e){up=Kl(),e.actualStartTime<0&&(e.actualStartTime=Kl())}function Mv(e){up=-1}function Dh(e,t){if(up>=0){var s=Kl()-up;e.actualDuration+=s,t&&(e.selfBaseDuration=s),up=-1}}function Ms(e){if(Ah>=0){var t=Kl()-Ah;Ah=-1;for(var s=e.return;s!==null;){switch(s.tag){case x:var l=s.stateNode;l.effectDuration+=t;return;case ee:var f=s.stateNode;f.effectDuration+=t;return}s=s.return}}}function M6(e){if(Ph>=0){var t=Kl()-Ph;Ph=-1;for(var s=e.return;s!==null;){switch(s.tag){case x:var l=s.stateNode;l!==null&&(l.passiveEffectDuration+=t);return;case ee:var f=s.stateNode;f!==null&&(f.passiveEffectDuration+=t);return}s=s.return}}}function Ds(){Ah=Kl()}function D6(){Ph=Kl()}function U6(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function vc(e,t){return{value:e,source:t,stack:wf(t),digest:null}}function F6(e,t,s){return{value:e,source:null,stack:s??null,digest:t??null}}function vR(e,t){return!0}function j6(e,t){try{var s=vR(e,t);if(s===!1)return;var l=t.value,f=t.source,g=t.stack,b=g!==null?g:"";if(l!=null&&l._suppressLogging){if(e.tag===I)return;console.error(l)}var _=f?pt(f):null,N=_?"The above error occurred in the <"+_+"> component:":"The above error occurred in one of your React components:",M;if(e.tag===x)M=`Consider adding an error boundary to your tree to customize error handling behavior.
122
+ Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var D=pt(e)||"Anonymous";M="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+D+".")}var Q=N+`
123
+ `+b+`
124
+
125
+ `+(""+M);console.error(Q)}catch(q){setTimeout(function(){throw q})}}var kR=typeof WeakMap=="function"?WeakMap:Map;function Dv(e,t,s){var l=Pi(Jt,s);l.tag=jy,l.payload={element:null};var f=t.value;return l.callback=function(){dN(f),j6(e,t)},l}function V6(e,t,s){var l=Pi(Jt,s);l.tag=jy;var f=e.type.getDerivedStateFromError;if(typeof f=="function"){var g=t.value;l.payload=function(){return f(g)},l.callback=function(){W7(e),j6(e,t)}}var b=e.stateNode;return b!==null&&typeof b.componentDidCatch=="function"&&(l.callback=function(){W7(e),j6(e,t),typeof f!="function"&&uN(this);var _=t.value,N=t.stack;this.componentDidCatch(_,{componentStack:N!==null?N:""}),typeof f!="function"&&(Ga(e.lanes,st)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",pt(e)||"Unknown"))}),l}function Uv(e,t,s){var l=e.pingCache,f;if(l===null?(l=e.pingCache=new kR,f=new Set,l.set(t,f)):(f=l.get(t),f===void 0&&(f=new Set,l.set(t,f))),!f.has(s)){f.add(s);var g=fN.bind(null,e,t,s);ta&&Ep(e,s),t.then(g,g)}}function bR(e,t,s,l){var f=e.updateQueue;if(f===null){var g=new Set;g.add(s),e.updateQueue=g}else f.add(s)}function TR(e,t){var s=e.tag;if((e.mode&Tt)===at&&(s===S||s===X||s===ce)){var l=e.alternate;l?(e.updateQueue=l.updateQueue,e.memoizedState=l.memoizedState,e.lanes=l.lanes):(e.updateQueue=null,e.memoizedState=null)}}function Fv(e){var t=e;do{if(t.tag===ie&&oR(t))return t;t=t.return}while(t!==null);return null}function jv(e,t,s,l,f){if((e.mode&Tt)===at){if(e===t)e.flags|=Yn;else{if(e.flags|=ut,s.flags|=Uu,s.flags&=~(dd|nr),s.tag===I){var g=s.alternate;if(g===null)s.tag=_e;else{var b=Pi(Jt,st);b.tag=sh,ql(s,b,st)}}s.lanes=vt(s.lanes,st)}return e}return e.flags|=Yn,e.lanes=f,e}function SR(e,t,s,l,f){if(s.flags|=nr,ta&&Ep(e,f),l!==null&&typeof l=="object"&&typeof l.then=="function"){var g=l;TR(s),_a()&&s.mode&Tt&&N5();var b=Fv(t);if(b!==null){b.flags&=~yn,jv(b,t,s,e,f),b.mode&Tt&&Uv(e,g,f),bR(b,e,g);return}else{if(!Rl(f)){Uv(e,g,f),k8();return}var _=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");l=_}}else if(_a()&&s.mode&Tt){N5();var N=Fv(t);if(N!==null){(N.flags&Yn)===Xe&&(N.flags|=yn),jv(N,t,s,e,f),Oy(vc(l,s));return}}l=vc(l,s),tN(l);var M=t;do{switch(M.tag){case x:{var D=l;M.flags|=Yn;var Q=jn(f);M.lanes=vt(M.lanes,Q);var q=Dv(M,D,Q);zy(M,q);return}case I:var oe=l,se=M.type,he=M.stateNode;if((M.flags&ut)===Xe&&(typeof se.getDerivedStateFromError=="function"||he!==null&&typeof he.componentDidCatch=="function"&&!F7(he))){M.flags|=Yn;var Ae=jn(f);M.lanes=vt(M.lanes,Ae);var Ke=V6(M,oe,Ae);zy(M,Ke);return}break}M=M.return}while(M!==null)}function wR(){return null}var cp=i.ReactCurrentOwner,Yo=!1,B6,dp,z6,$6,H6,kc,G6,Uh;B6={},dp={},z6={},$6={},H6={},kc=!1,G6={},Uh={};function dr(e,t,s,l){e===null?t.child=av(t,null,s,l):t.child=S1(t,e.child,s,l)}function ER(e,t,s,l){t.child=S1(t,e.child,null,l),t.child=S1(t,null,s,l)}function Vv(e,t,s,l,f){if(t.type!==t.elementType){var g=s.propTypes;g&&$o(g,l,"prop",Kt(s))}var b=s.render,_=t.ref,N,M;T1(t,f),ys(t);{if(cp.current=t,Kr(!0),N=I1(e,t,b,l,_,f),M=N1(),t.mode&mn){Fn(!0);try{N=I1(e,t,b,l,_,f),M=N1()}finally{Fn(!1)}}Kr(!1)}return ui(),e!==null&&!Yo?(lv(e,t,f),Mi(e,t,f)):(_a()&&M&&_y(t),t.flags|=cs,dr(e,t,N,f),t.child)}function Bv(e,t,s,l,f){if(e===null){var g=s.type;if(NN(g)&&s.compare===null&&s.defaultProps===void 0){var b=g;return b=U1(g),t.tag=ce,t.type=b,Q6(t,g),zv(e,t,b,l,f)}{var _=g.propTypes;_&&$o(_,l,"prop",Kt(g))}var N=L8(s.type,null,l,t,t.mode,f);return N.ref=t.ref,N.return=t,t.child=N,N}{var M=s.type,D=M.propTypes;D&&$o(D,l,"prop",Kt(M))}var Q=e.child,q=e8(e,f);if(!q){var oe=Q.memoizedProps,se=s.compare;if(se=se!==null?se:Je,se(oe,l)&&e.ref===t.ref)return Mi(e,t,f)}t.flags|=cs;var he=Ec(Q,l);return he.ref=t.ref,he.return=t,t.child=he,he}function zv(e,t,s,l,f){if(t.type!==t.elementType){var g=t.elementType;if(g.$$typeof===wa){var b=g,_=b._payload,N=b._init;try{g=N(_)}catch{g=null}var M=g&&g.propTypes;M&&$o(M,l,"prop",Kt(g))}}if(e!==null){var D=e.memoizedProps;if(Je(D,l)&&e.ref===t.ref&&t.type===e.type)if(Yo=!1,t.pendingProps=l=D,e8(e,f))(e.flags&Uu)!==Xe&&(Yo=!0);else return t.lanes=e.lanes,Mi(e,t,f)}return q6(e,t,s,l,f)}function $v(e,t,s){var l=t.pendingProps,f=l.children,g=e!==null?e.memoizedState:null;if(l.mode==="hidden"||Ne)if((t.mode&Tt)===at){var b={baseLanes:ge,cachePool:null,transitions:null};t.memoizedState=b,Zh(t,s)}else if(Ga(s,Ha)){var _={baseLanes:ge,cachePool:null,transitions:null};t.memoizedState=_;var N=g!==null?g.baseLanes:s;Zh(t,N)}else{var M=null,D;if(g!==null){var Q=g.baseLanes;D=vt(Q,s)}else D=s;t.lanes=t.childLanes=Ha;var q={baseLanes:D,cachePool:M,transitions:null};return t.memoizedState=q,t.updateQueue=null,Zh(t,D),null}else{var oe;g!==null?(oe=vt(g.baseLanes,s),t.memoizedState=null):oe=s,Zh(t,oe)}return dr(e,t,f,s),t.child}function CR(e,t,s){var l=t.pendingProps;return dr(e,t,l,s),t.child}function _R(e,t,s){var l=t.pendingProps.children;return dr(e,t,l,s),t.child}function RR(e,t,s){{t.flags|=yt;{var l=t.stateNode;l.effectDuration=0,l.passiveEffectDuration=0}}var f=t.pendingProps,g=f.children;return dr(e,t,g,s),t.child}function Hv(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=Fa,t.flags|=Jf)}function q6(e,t,s,l,f){if(t.type!==t.elementType){var g=s.propTypes;g&&$o(g,l,"prop",Kt(s))}var b;{var _=h1(t,s,!0);b=g1(t,_)}var N,M;T1(t,f),ys(t);{if(cp.current=t,Kr(!0),N=I1(e,t,s,l,b,f),M=N1(),t.mode&mn){Fn(!0);try{N=I1(e,t,s,l,b,f),M=N1()}finally{Fn(!1)}}Kr(!1)}return ui(),e!==null&&!Yo?(lv(e,t,f),Mi(e,t,f)):(_a()&&M&&_y(t),t.flags|=cs,dr(e,t,N,f),t.child)}function Gv(e,t,s,l,f){{switch(HN(t)){case!1:{var g=t.stateNode,b=t.type,_=new b(t.memoizedProps,g.context),N=_.state;g.updater.enqueueSetState(g,N,null);break}case!0:{t.flags|=ut,t.flags|=Yn;var M=new Error("Simulated error coming from DevTools"),D=jn(f);t.lanes=vt(t.lanes,D);var Q=V6(t,vc(M,t),D);zy(t,Q);break}}if(t.type!==t.elementType){var q=s.propTypes;q&&$o(q,l,"prop",Kt(s))}}var oe;xs(s)?(oe=!0,Y2(t)):oe=!1,T1(t,f);var se=t.stateNode,he;se===null?(jh(e,t),J5(t,s,l),e6(t,s,l,f),he=!0):e===null?he=X_(t,s,l,f):he=eR(e,t,s,l,f);var Ae=W6(e,t,s,he,oe,f);{var Ke=t.stateNode;he&&Ke.props!==l&&(kc||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",pt(t)||"a component"),kc=!0)}return Ae}function W6(e,t,s,l,f,g){Hv(e,t);var b=(t.flags&ut)!==Xe;if(!l&&!b)return f&&C5(t,s,!1),Mi(e,t,g);var _=t.stateNode;cp.current=t;var N;if(b&&typeof s.getDerivedStateFromError!="function")N=null,Mv();else{ys(t);{if(Kr(!0),N=_.render(),t.mode&mn){Fn(!0);try{_.render()}finally{Fn(!1)}}Kr(!1)}ui()}return t.flags|=cs,e!==null&&b?ER(e,t,N,g):dr(e,t,N,g),t.memoizedState=_.state,f&&C5(t,s,!0),t.child}function qv(e){var t=e.stateNode;t.pendingContext?w5(e,t.pendingContext,t.pendingContext!==t.context):t.context&&w5(e,t.context,!1),s6(e,t.containerInfo)}function IR(e,t,s){if(qv(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var l=t.pendingProps,f=t.memoizedState,g=f.element;H5(e,t),ch(t,l,null,s);var b=t.memoizedState;t.stateNode;var _=b.element;if(f.isDehydrated){var N={element:_,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},M=t.updateQueue;if(M.baseState=N,t.memoizedState=N,t.flags&yn){var D=vc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return Wv(e,t,_,s,D)}else if(_!==g){var Q=vc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return Wv(e,t,_,s,Q)}else{O_(t);var q=av(t,null,_,s);t.child=q;for(var oe=q;oe;)oe.flags=oe.flags&~tn|Ir,oe=oe.sibling}}else{if(k1(),_===g)return Mi(e,t,s);dr(e,t,_,s)}return t.child}function Wv(e,t,s,l,f){return k1(),Oy(f),t.flags|=yn,dr(e,t,s,l),t.child}function NR(e,t,s){ov(t),e===null&&xy(t);var l=t.type,f=t.pendingProps,g=e!==null?e.memoizedProps:null,b=f.children,_=fy(l,f);return _?b=null:g!==null&&fy(l,g)&&(t.flags|=$t),Hv(e,t),dr(e,t,b,s),t.child}function LR(e,t){return e===null&&xy(t),null}function xR(e,t,s,l){jh(e,t);var f=t.pendingProps,g=s,b=g._payload,_=g._init,N=_(b);t.type=N;var M=t.tag=LN(N),D=qo(N,f),Q;switch(M){case S:return Q6(t,N),t.type=N=U1(N),Q=q6(null,t,N,D,l),Q;case I:return t.type=N=E8(N),Q=Gv(null,t,N,D,l),Q;case X:return t.type=N=C8(N),Q=Vv(null,t,N,D,l),Q;case fe:{if(t.type!==t.elementType){var q=N.propTypes;q&&$o(q,D,"prop",Kt(N))}return Q=Bv(null,t,N,qo(N.type,D),l),Q}}var oe="";throw N!==null&&typeof N=="object"&&N.$$typeof===wa&&(oe=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+N+". "+("Lazy element type must resolve to a class or function."+oe))}function OR(e,t,s,l,f){jh(e,t),t.tag=I;var g;return xs(s)?(g=!0,Y2(t)):g=!1,T1(t,f),J5(t,s,l),e6(t,s,l,f),W6(null,t,s,!0,g,f)}function AR(e,t,s,l){jh(e,t);var f=t.pendingProps,g;{var b=h1(t,s,!1);g=g1(t,b)}T1(t,l);var _,N;ys(t);{if(s.prototype&&typeof s.prototype.render=="function"){var M=Kt(s)||"Unknown";B6[M]||(m("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",M,M),B6[M]=!0)}t.mode&mn&&Go.recordLegacyContextWarning(t,null),Kr(!0),cp.current=t,_=I1(null,t,s,f,g,l),N=N1(),Kr(!1)}if(ui(),t.flags|=cs,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var D=Kt(s)||"Unknown";dp[D]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",D,D,D),dp[D]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var Q=Kt(s)||"Unknown";dp[Q]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Q,Q,Q),dp[Q]=!0)}t.tag=I,t.memoizedState=null,t.updateQueue=null;var q=!1;return xs(s)?(q=!0,Y2(t)):q=!1,t.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,By(t),Z5(t,_),e6(t,s,f,l),W6(null,t,s,!0,q,l)}else{if(t.tag=S,t.mode&mn){Fn(!0);try{_=I1(null,t,s,f,g,l),N=N1()}finally{Fn(!1)}}return _a()&&N&&_y(t),dr(null,t,_,l),Q6(t,s),t.child}}function Q6(e,t){{if(t&&t.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",l=Er();l&&(s+=`
126
+
127
+ Check the render method of \``+l+"`.");var f=l||"",g=e._debugSource;g&&(f=g.fileName+":"+g.lineNumber),H6[f]||(H6[f]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(typeof t.getDerivedStateFromProps=="function"){var b=Kt(t)||"Unknown";$6[b]||(m("%s: Function components do not support getDerivedStateFromProps.",b),$6[b]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var _=Kt(t)||"Unknown";z6[_]||(m("%s: Function components do not support contextType.",_),z6[_]=!0)}}}var Y6={dehydrated:null,treeContext:null,retryLane:Ot};function K6(e){return{baseLanes:e,cachePool:wR(),transitions:null}}function PR(e,t){var s=null;return{baseLanes:vt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function MR(e,t,s,l){if(t!==null){var f=t.memoizedState;if(f===null)return!1}return u6(e,np)}function DR(e,t){return Il(e.childLanes,t)}function Qv(e,t,s){var l=t.pendingProps;GN(t)&&(t.flags|=ut);var f=Wo.current,g=!1,b=(t.flags&ut)!==Xe;if(b||MR(f,e)?(g=!0,t.flags&=~ut):(e===null||e.memoizedState!==null)&&(f=rR(f,iv)),f=E1(f),Ql(t,f),e===null){xy(t);var _=t.memoizedState;if(_!==null){var N=_.dehydrated;if(N!==null)return BR(t,N)}var M=l.children,D=l.fallback;if(g){var Q=UR(t,M,D,s),q=t.child;return q.memoizedState=K6(s),t.memoizedState=Y6,Q}else return Z6(t,M)}else{var oe=e.memoizedState;if(oe!==null){var se=oe.dehydrated;if(se!==null)return zR(e,t,b,l,se,oe,s)}if(g){var he=l.fallback,Ae=l.children,Ke=jR(e,t,Ae,he,s),nt=t.child,Ct=e.child.memoizedState;return nt.memoizedState=Ct===null?K6(s):PR(Ct,s),nt.childLanes=DR(e,s),t.memoizedState=Y6,Ke}else{var bt=l.children,ne=FR(e,t,bt,s);return t.memoizedState=null,ne}}}function Z6(e,t,s){var l=e.mode,f={mode:"visible",children:t},g=J6(f,l);return g.return=e,e.child=g,g}function UR(e,t,s,l){var f=e.mode,g=e.child,b={mode:"hidden",children:t},_,N;return(f&Tt)===at&&g!==null?(_=g,_.childLanes=ge,_.pendingProps=b,e.mode&rt&&(_.actualDuration=0,_.actualStartTime=-1,_.selfBaseDuration=0,_.treeBaseDuration=0),N=nu(s,f,l,null)):(_=J6(b,f),N=nu(s,f,l,null)),_.return=e,N.return=e,_.sibling=N,e.child=_,N}function J6(e,t,s){return Q7(e,t,ge,null)}function Yv(e,t){return Ec(e,t)}function FR(e,t,s,l){var f=e.child,g=f.sibling,b=Yv(f,{mode:"visible",children:s});if((t.mode&Tt)===at&&(b.lanes=l),b.return=t,b.sibling=null,g!==null){var _=t.deletions;_===null?(t.deletions=[g],t.flags|=Bt):_.push(g)}return t.child=b,b}function jR(e,t,s,l,f){var g=t.mode,b=e.child,_=b.sibling,N={mode:"hidden",children:s},M;if((g&Tt)===at&&t.child!==b){var D=t.child;M=D,M.childLanes=ge,M.pendingProps=N,t.mode&rt&&(M.actualDuration=0,M.actualStartTime=-1,M.selfBaseDuration=b.selfBaseDuration,M.treeBaseDuration=b.treeBaseDuration),t.deletions=null}else M=Yv(b,N),M.subtreeFlags=b.subtreeFlags&ea;var Q;return _!==null?Q=Ec(_,l):(Q=nu(l,g,f,null),Q.flags|=tn),Q.return=t,M.return=t,M.sibling=Q,t.child=M,Q}function Fh(e,t,s,l){l!==null&&Oy(l),S1(t,e.child,null,s);var f=t.pendingProps,g=f.children,b=Z6(t,g);return b.flags|=tn,t.memoizedState=null,b}function VR(e,t,s,l,f){var g=t.mode,b={mode:"visible",children:s},_=J6(b,g),N=nu(l,g,f,null);return N.flags|=tn,_.return=t,N.return=t,_.sibling=N,t.child=_,(t.mode&Tt)!==at&&S1(t,e.child,null,f),N}function BR(e,t,s){return(e.mode&Tt)===at?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=st):gy(t)?e.lanes=fi:e.lanes=Ha,null}function zR(e,t,s,l,f,g,b){if(s)if(t.flags&yn){t.flags&=~yn;var _=F6(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Fh(e,t,b,_)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=ut,null;var N=l.children,M=l.fallback,D=VR(e,t,N,M,b),Q=t.child;return Q.memoizedState=K6(b),t.memoizedState=Y6,D}else{if(L_(),(t.mode&Tt)===at)return Fh(e,t,b,null);if(gy(f)){var q,oe,se;{var he=WC(f);q=he.digest,oe=he.message,se=he.stack}var Ae;oe?Ae=new Error(oe):Ae=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Ke=F6(Ae,q,se);return Fh(e,t,b,Ke)}var nt=Ga(b,e.childLanes);if(Yo||nt){var Ct=Kh();if(Ct!==null){var bt=Hd(Ct,b);if(bt!==Ot&&bt!==g.retryLane){g.retryLane=bt;var ne=Jt;Fr(e,bt),fa(Ct,e,bt,ne)}}k8();var me=F6(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Fh(e,t,b,me)}else if(y5(f)){t.flags|=ut,t.child=e.child;var ae=mN.bind(null,e);return QC(f,ae),null}else{A_(t,f,g.treeContext);var Ce=l.children,Fe=Z6(t,Ce);return Fe.flags|=Ir,Fe}}}function Kv(e,t,s){e.lanes=vt(e.lanes,t);var l=e.alternate;l!==null&&(l.lanes=vt(l.lanes,t)),Uy(e.return,t,s)}function $R(e,t,s){for(var l=t;l!==null;){if(l.tag===ie){var f=l.memoizedState;f!==null&&Kv(l,s,e)}else if(l.tag===Be)Kv(l,s,e);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===e)return;for(;l.sibling===null;){if(l.return===null||l.return===e)return;l=l.return}l.sibling.return=l.return,l=l.sibling}}function HR(e){for(var t=e,s=null;t!==null;){var l=t.alternate;l!==null&&yh(l)===null&&(s=t),t=t.sibling}return s}function GR(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!G6[e])if(G6[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function qR(e,t){e!==void 0&&!Uh[e]&&(e!=="collapsed"&&e!=="hidden"?(Uh[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Uh[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function Zv(e,t){{var s=Wn(e),l=!s&&typeof No(e)=="function";if(s||l){var f=s?"array":"iterable";return m("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",f,t,f),!1}}return!0}function WR(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Wn(e)){for(var s=0;s<e.length;s++)if(!Zv(e[s],s))return}else{var l=No(e);if(typeof l=="function"){var f=l.call(e);if(f)for(var g=f.next(),b=0;!g.done;g=f.next()){if(!Zv(g.value,b))return;b++}}else m('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function X6(e,t,s,l,f){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:s,tailMode:f}:(g.isBackwards=t,g.rendering=null,g.renderingStartTime=0,g.last=l,g.tail=s,g.tailMode=f)}function Jv(e,t,s){var l=t.pendingProps,f=l.revealOrder,g=l.tail,b=l.children;GR(f),qR(g,f),WR(b,f),dr(e,t,b,s);var _=Wo.current,N=u6(_,np);if(N)_=c6(_,np),t.flags|=ut;else{var M=e!==null&&(e.flags&ut)!==Xe;M&&$R(t,t.child,s),_=E1(_)}if(Ql(t,_),(t.mode&Tt)===at)t.memoizedState=null;else switch(f){case"forwards":{var D=HR(t.child),Q;D===null?(Q=t.child,t.child=null):(Q=D.sibling,D.sibling=null),X6(t,!1,Q,D,g);break}case"backwards":{var q=null,oe=t.child;for(t.child=null;oe!==null;){var se=oe.alternate;if(se!==null&&yh(se)===null){t.child=oe;break}var he=oe.sibling;oe.sibling=q,q=oe,oe=he}X6(t,!0,q,null,g);break}case"together":{X6(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function QR(e,t,s){s6(t,t.stateNode.containerInfo);var l=t.pendingProps;return e===null?t.child=S1(t,null,l,s):dr(e,t,l,s),t.child}var Xv=!1;function YR(e,t,s){var l=t.type,f=l._context,g=t.pendingProps,b=t.memoizedProps,_=g.value;{"value"in g||Xv||(Xv=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var N=t.type.propTypes;N&&$o(N,g,"prop","Context.Provider")}if(V5(t,f,_),b!==null){var M=b.value;if(Me(M,_)){if(b.children===g.children&&!W2())return Mi(e,t,s)}else $_(t,f,s)}var D=g.children;return dr(e,t,D,s),t.child}var e7=!1;function KR(e,t,s){var l=t.type;l._context===void 0?l!==l.Consumer&&(e7||(e7=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):l=l._context;var f=t.pendingProps,g=f.children;typeof g!="function"&&m("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),T1(t,s);var b=Jn(l);ys(t);var _;return cp.current=t,Kr(!0),_=g(b),Kr(!1),ui(),t.flags|=cs,dr(e,t,_,s),t.child}function fp(){Yo=!0}function jh(e,t){(t.mode&Tt)===at&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=tn)}function Mi(e,t,s){return e!==null&&(t.dependencies=e.dependencies),Mv(),wp(t.lanes),Ga(s,t.childLanes)?(tR(e,t),t.child):null}function ZR(e,t,s){{var l=t.return;if(l===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===l.child)l.child=s;else{var f=l.child;if(f===null)throw new Error("Expected parent to have a child.");for(;f.sibling!==t;)if(f=f.sibling,f===null)throw new Error("Expected to find the previous sibling.");f.sibling=s}var g=l.deletions;return g===null?(l.deletions=[e],l.flags|=Bt):g.push(e),s.flags|=tn,s}}function e8(e,t){var s=e.lanes;return!!Ga(s,t)}function JR(e,t,s){switch(t.tag){case x:qv(t),t.stateNode,k1();break;case A:ov(t);break;case I:{var l=t.type;xs(l)&&Y2(t);break}case P:s6(t,t.stateNode.containerInfo);break;case H:{var f=t.memoizedProps.value,g=t.type._context;V5(t,g,f);break}case ee:{var b=Ga(s,t.childLanes);b&&(t.flags|=yt);{var _=t.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}}break;case ie:{var N=t.memoizedState;if(N!==null){if(N.dehydrated!==null)return Ql(t,E1(Wo.current)),t.flags|=ut,null;var M=t.child,D=M.childLanes;if(Ga(s,D))return Qv(e,t,s);Ql(t,E1(Wo.current));var Q=Mi(e,t,s);return Q!==null?Q.sibling:null}else Ql(t,E1(Wo.current));break}case Be:{var q=(e.flags&ut)!==Xe,oe=Ga(s,t.childLanes);if(q){if(oe)return Jv(e,t,s);t.flags|=ut}var se=t.memoizedState;if(se!==null&&(se.rendering=null,se.tail=null,se.lastEffect=null),Ql(t,Wo.current),oe)break;return null}case He:case et:return t.lanes=ge,$v(e,t,s)}return Mi(e,t,s)}function t7(e,t,s){if(t._debugNeedsRemount&&e!==null)return ZR(e,t,L8(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var l=e.memoizedProps,f=t.pendingProps;if(l!==f||W2()||t.type!==e.type)Yo=!0;else{var g=e8(e,s);if(!g&&(t.flags&ut)===Xe)return Yo=!1,JR(e,t,s);(e.flags&Uu)!==Xe?Yo=!0:Yo=!1}}else if(Yo=!1,_a()&&E_(t)){var b=t.index,_=C_();I5(t,_,b)}switch(t.lanes=ge,t.tag){case E:return AR(e,t,t.type,s);case Le:{var N=t.elementType;return xR(e,t,N,s)}case S:{var M=t.type,D=t.pendingProps,Q=t.elementType===M?D:qo(M,D);return q6(e,t,M,Q,s)}case I:{var q=t.type,oe=t.pendingProps,se=t.elementType===q?oe:qo(q,oe);return Gv(e,t,q,se,s)}case x:return IR(e,t,s);case A:return NR(e,t,s);case F:return LR(e,t);case ie:return Qv(e,t,s);case P:return QR(e,t,s);case X:{var he=t.type,Ae=t.pendingProps,Ke=t.elementType===he?Ae:qo(he,Ae);return Vv(e,t,he,Ke,s)}case V:return CR(e,t,s);case $:return _R(e,t,s);case ee:return RR(e,t,s);case H:return YR(e,t,s);case B:return KR(e,t,s);case fe:{var nt=t.type,Ct=t.pendingProps,bt=qo(nt,Ct);if(t.type!==t.elementType){var ne=nt.propTypes;ne&&$o(ne,bt,"prop",Kt(nt))}return bt=qo(nt.type,bt),Bv(e,t,nt,bt,s)}case ce:return zv(e,t,t.type,t.pendingProps,s);case _e:{var me=t.type,ae=t.pendingProps,Ce=t.elementType===me?ae:qo(me,ae);return OR(e,t,me,Ce,s)}case Be:return Jv(e,t,s);case it:break;case He:return $v(e,t,s)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function L1(e){e.flags|=yt}function n7(e){e.flags|=Fa,e.flags|=Jf}var a7,t8,r7,o7;a7=function(e,t,s,l){for(var f=t.child;f!==null;){if(f.tag===A||f.tag===F)TC(e,f.stateNode);else if(f.tag!==P&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)return;for(;f.sibling===null;){if(f.return===null||f.return===t)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},t8=function(e,t){},r7=function(e,t,s,l,f){var g=e.memoizedProps;if(g!==l){var b=t.stateNode,_=i6(),N=wC(b,s,g,l,f,_);t.updateQueue=N,N&&L1(t)}},o7=function(e,t,s,l){s!==l&&L1(t)};function mp(e,t){if(!_a())switch(e.tailMode){case"hidden":{for(var s=e.tail,l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?e.tail=null:l.sibling=null;break}case"collapsed":{for(var f=e.tail,g=null;f!==null;)f.alternate!==null&&(g=f),f=f.sibling;g===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:g.sibling=null;break}}}function Ia(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=ge,l=Xe;if(t){if((e.mode&rt)!==at){for(var f=e.selfBaseDuration,g=e.child;g!==null;)s=vt(s,vt(g.lanes,g.childLanes)),l|=g.subtreeFlags&ea,l|=g.flags&ea,f+=g.treeBaseDuration,g=g.sibling;e.treeBaseDuration=f}else for(var b=e.child;b!==null;)s=vt(s,vt(b.lanes,b.childLanes)),l|=b.subtreeFlags&ea,l|=b.flags&ea,b.return=e,b=b.sibling;e.subtreeFlags|=l}else{if((e.mode&rt)!==at){for(var _=e.actualDuration,N=e.selfBaseDuration,M=e.child;M!==null;)s=vt(s,vt(M.lanes,M.childLanes)),l|=M.subtreeFlags,l|=M.flags,_+=M.actualDuration,N+=M.treeBaseDuration,M=M.sibling;e.actualDuration=_,e.treeBaseDuration=N}else for(var D=e.child;D!==null;)s=vt(s,vt(D.lanes,D.childLanes)),l|=D.subtreeFlags,l|=D.flags,D.return=e,D=D.sibling;e.subtreeFlags|=l}return e.childLanes=s,t}function XR(e,t,s){if(F_()&&(t.mode&Tt)!==at&&(t.flags&ut)===Xe)return M5(t),k1(),t.flags|=yn|nr|Yn,!1;var l=eh(t);if(s!==null&&s.dehydrated!==null)if(e===null){if(!l)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(D_(t),Ia(t),(t.mode&rt)!==at){var f=s!==null;if(f){var g=t.child;g!==null&&(t.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(k1(),(t.flags&ut)===Xe&&(t.memoizedState=null),t.flags|=yt,Ia(t),(t.mode&rt)!==at){var b=s!==null;if(b){var _=t.child;_!==null&&(t.treeBaseDuration-=_.treeBaseDuration)}}return!1}else return D5(),!0}function s7(e,t,s){var l=t.pendingProps;switch(Ry(t),t.tag){case E:case Le:case ce:case S:case X:case V:case $:case ee:case B:case fe:return Ia(t),null;case I:{var f=t.type;return xs(f)&&Q2(t),Ia(t),null}case x:{var g=t.stateNode;if(w1(t),wy(t),f6(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),e===null||e.child===null){var b=eh(t);if(b)L1(t);else if(e!==null){var _=e.memoizedState;(!_.isDehydrated||(t.flags&yn)!==Xe)&&(t.flags|=Rr,D5())}}return t8(e,t),Ia(t),null}case A:{l6(t);var N=rv(),M=t.type;if(e!==null&&t.stateNode!=null)r7(e,t,M,l,N),e.ref!==t.ref&&n7(t);else{if(!l){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Ia(t),null}var D=i6(),Q=eh(t);if(Q)P_(t,N,D)&&L1(t);else{var q=bC(M,l,N,D,t);a7(q,t,!1,!1),t.stateNode=q,SC(q,M,l,N)&&L1(t)}t.ref!==null&&n7(t)}return Ia(t),null}case F:{var oe=l;if(e&&t.stateNode!=null){var se=e.memoizedProps;o7(e,t,se,oe)}else{if(typeof oe!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var he=rv(),Ae=i6(),Ke=eh(t);Ke?M_(t)&&L1(t):t.stateNode=EC(oe,he,Ae,t)}return Ia(t),null}case ie:{C1(t);var nt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Ct=XR(e,t,nt);if(!Ct)return t.flags&Yn?t:null}if((t.flags&ut)!==Xe)return t.lanes=s,(t.mode&rt)!==at&&U6(t),t;var bt=nt!==null,ne=e!==null&&e.memoizedState!==null;if(bt!==ne&&bt){var me=t.child;if(me.flags|=ds,(t.mode&Tt)!==at){var ae=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!Ge);ae||u6(Wo.current,iv)?eN():k8()}}var Ce=t.updateQueue;if(Ce!==null&&(t.flags|=yt),Ia(t),(t.mode&rt)!==at&&bt){var Fe=t.child;Fe!==null&&(t.treeBaseDuration-=Fe.treeBaseDuration)}return null}case P:return w1(t),t8(e,t),e===null&&y_(t.stateNode.containerInfo),Ia(t),null;case H:var Pe=t.type._context;return Dy(Pe,t),Ia(t),null;case _e:{var lt=t.type;return xs(lt)&&Q2(t),Ia(t),null}case Be:{C1(t);var mt=t.memoizedState;if(mt===null)return Ia(t),null;var Qt=(t.flags&ut)!==Xe,Ft=mt.rendering;if(Ft===null)if(Qt)mp(mt,!1);else{var $n=nN()&&(e===null||(e.flags&ut)===Xe);if(!$n)for(var jt=t.child;jt!==null;){var Pn=yh(jt);if(Pn!==null){Qt=!0,t.flags|=ut,mp(mt,!1);var Za=Pn.updateQueue;return Za!==null&&(t.updateQueue=Za,t.flags|=yt),t.subtreeFlags=Xe,nR(t,s),Ql(t,c6(Wo.current,np)),t.child}jt=jt.sibling}mt.tail!==null&&fn()>R7()&&(t.flags|=ut,Qt=!0,mp(mt,!1),t.lanes=dm)}else{if(!Qt){var Aa=yh(Ft);if(Aa!==null){t.flags|=ut,Qt=!0;var oo=Aa.updateQueue;if(oo!==null&&(t.updateQueue=oo,t.flags|=yt),mp(mt,!0),mt.tail===null&&mt.tailMode==="hidden"&&!Ft.alternate&&!_a())return Ia(t),null}else fn()*2-mt.renderingStartTime>R7()&&s!==Ha&&(t.flags|=ut,Qt=!0,mp(mt,!1),t.lanes=dm)}if(mt.isBackwards)Ft.sibling=t.child,t.child=Ft;else{var pr=mt.last;pr!==null?pr.sibling=Ft:t.child=Ft,mt.last=Ft}}if(mt.tail!==null){var hr=mt.tail;mt.rendering=hr,mt.tail=hr.sibling,mt.renderingStartTime=fn(),hr.sibling=null;var Ja=Wo.current;return Qt?Ja=c6(Ja,np):Ja=E1(Ja),Ql(t,Ja),hr}return Ia(t),null}case it:break;case He:case et:{v8(t);var Vi=t.memoizedState,F1=Vi!==null;if(e!==null){var Ip=e.memoizedState,js=Ip!==null;js!==F1&&!Ne&&(t.flags|=ds)}return!F1||(t.mode&Tt)===at?Ia(t):Ga(Fs,Ha)&&(Ia(t),t.subtreeFlags&(tn|yt)&&(t.flags|=ds)),null}case Lt:return null;case xt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function eI(e,t,s){switch(Ry(t),t.tag){case I:{var l=t.type;xs(l)&&Q2(t);var f=t.flags;return f&Yn?(t.flags=f&~Yn|ut,(t.mode&rt)!==at&&U6(t),t):null}case x:{t.stateNode,w1(t),wy(t),f6();var g=t.flags;return(g&Yn)!==Xe&&(g&ut)===Xe?(t.flags=g&~Yn|ut,t):null}case A:return l6(t),null;case ie:{C1(t);var b=t.memoizedState;if(b!==null&&b.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");k1()}var _=t.flags;return _&Yn?(t.flags=_&~Yn|ut,(t.mode&rt)!==at&&U6(t),t):null}case Be:return C1(t),null;case P:return w1(t),null;case H:var N=t.type._context;return Dy(N,t),null;case He:case et:return v8(t),null;case Lt:return null;default:return null}}function i7(e,t,s){switch(Ry(t),t.tag){case I:{var l=t.type.childContextTypes;l!=null&&Q2(t);break}case x:{t.stateNode,w1(t),wy(t),f6();break}case A:{l6(t);break}case P:w1(t);break;case ie:C1(t);break;case Be:C1(t);break;case H:var f=t.type._context;Dy(f,t);break;case He:case et:v8(t);break}}var l7=null;l7=new Set;var Vh=!1,Na=!1,tI=typeof WeakSet=="function"?WeakSet:Set,We=null,x1=null,O1=null;function nI(e){ii(null,function(){throw e}),Kf()}var aI=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&rt)try{Ds(),t.componentWillUnmount()}finally{Ms(e)}else t.componentWillUnmount()};function u7(e,t){try{Zl(sa,e)}catch(s){on(e,t,s)}}function n8(e,t,s){try{aI(e,s)}catch(l){on(e,t,l)}}function rI(e,t,s){try{s.componentDidMount()}catch(l){on(e,t,l)}}function c7(e,t){try{f7(e)}catch(s){on(e,t,s)}}function A1(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var l;try{if(ht&&gt&&e.mode&rt)try{Ds(),l=s(null)}finally{Ms(e)}else l=s(null)}catch(f){on(e,t,f)}typeof l=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",pt(e))}else s.current=null}function Bh(e,t,s){try{s()}catch(l){on(e,t,l)}}var d7=!1;function oI(e,t){vC(e.containerInfo),We=t,sI();var s=d7;return d7=!1,s}function sI(){for(;We!==null;){var e=We,t=e.child;(e.subtreeFlags&bl)!==Xe&&t!==null?(t.return=e,We=t):iI()}}function iI(){for(;We!==null;){var e=We;qt(e);try{lI(e)}catch(s){on(e,e.return,s)}Un();var t=e.sibling;if(t!==null){t.return=e.return,We=t;return}We=e.return}}function lI(e){var t=e.alternate,s=e.flags;if((s&Rr)!==Xe){switch(qt(e),e.tag){case S:case X:case ce:break;case I:{if(t!==null){var l=t.memoizedProps,f=t.memoizedState,g=e.stateNode;e.type===e.elementType&&!kc&&(g.props!==e.memoizedProps&&m("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",pt(e)||"instance"),g.state!==e.memoizedState&&m("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",pt(e)||"instance"));var b=g.getSnapshotBeforeUpdate(e.elementType===e.type?l:qo(e.type,l),f);{var _=l7;b===void 0&&!_.has(e.type)&&(_.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",pt(e)))}g.__reactInternalSnapshotBeforeUpdate=b}break}case x:{{var N=e.stateNode;$C(N.containerInfo)}break}case A:case F:case P:case _e:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Un()}}function Ko(e,t,s){var l=t.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var g=f.next,b=g;do{if((b.tag&e)===e){var _=b.destroy;b.destroy=void 0,_!==void 0&&((e&Ra)!==jr?kd(t):(e&sa)!==jr&&bd(t),(e&Os)!==jr&&Cp(!0),Bh(t,s,_),(e&Os)!==jr&&Cp(!1),(e&Ra)!==jr?Y0():(e&sa)!==jr&&Tl())}b=b.next}while(b!==g)}}function Zl(e,t){var s=t.updateQueue,l=s!==null?s.lastEffect:null;if(l!==null){var f=l.next,g=f;do{if((g.tag&e)===e){(e&Ra)!==jr?Q0(t):(e&sa)!==jr&&K0(t);var b=g.create;(e&Os)!==jr&&Cp(!0),g.destroy=b(),(e&Os)!==jr&&Cp(!1),(e&Ra)!==jr?lm():(e&sa)!==jr&&Z0();{var _=g.destroy;if(_!==void 0&&typeof _!="function"){var N=void 0;(g.tag&sa)!==Xe?N="useLayoutEffect":(g.tag&Os)!==Xe?N="useInsertionEffect":N="useEffect";var M=void 0;_===null?M=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof _.then=="function"?M=`
128
+
129
+ It looks like you wrote `+N+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
130
+
131
+ `+N+`(() => {
132
+ async function fetchData() {
133
+ // You can await here
134
+ const response = await MyAPI.getData(someId);
135
+ // ...
136
+ }
137
+ fetchData();
138
+ }, [someId]); // Or [] if effect doesn't need props or state
139
+
140
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:M=" You returned: "+_,m("%s must not return anything besides a function, which is used for clean-up.%s",N,M)}}}g=g.next}while(g!==f)}}function uI(e,t){if((t.flags&yt)!==Xe)switch(t.tag){case ee:{var s=t.stateNode.passiveEffectDuration,l=t.memoizedProps,f=l.id,g=l.onPostCommit,b=Av(),_=t.alternate===null?"mount":"update";Ov()&&(_="nested-update"),typeof g=="function"&&g(f,_,s,b);var N=t.return;e:for(;N!==null;){switch(N.tag){case x:var M=N.stateNode;M.passiveEffectDuration+=s;break e;case ee:var D=N.stateNode;D.passiveEffectDuration+=s;break e}N=N.return}break}}}function cI(e,t,s,l){if((s.flags&pa)!==Xe)switch(s.tag){case S:case X:case ce:{if(!Na)if(s.mode&rt)try{Ds(),Zl(sa|oa,s)}finally{Ms(s)}else Zl(sa|oa,s);break}case I:{var f=s.stateNode;if(s.flags&yt&&!Na)if(t===null)if(s.type===s.elementType&&!kc&&(f.props!==s.memoizedProps&&m("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",pt(s)||"instance"),f.state!==s.memoizedState&&m("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",pt(s)||"instance")),s.mode&rt)try{Ds(),f.componentDidMount()}finally{Ms(s)}else f.componentDidMount();else{var g=s.elementType===s.type?t.memoizedProps:qo(s.type,t.memoizedProps),b=t.memoizedState;if(s.type===s.elementType&&!kc&&(f.props!==s.memoizedProps&&m("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",pt(s)||"instance"),f.state!==s.memoizedState&&m("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",pt(s)||"instance")),s.mode&rt)try{Ds(),f.componentDidUpdate(g,b,f.__reactInternalSnapshotBeforeUpdate)}finally{Ms(s)}else f.componentDidUpdate(g,b,f.__reactInternalSnapshotBeforeUpdate)}var _=s.updateQueue;_!==null&&(s.type===s.elementType&&!kc&&(f.props!==s.memoizedProps&&m("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",pt(s)||"instance"),f.state!==s.memoizedState&&m("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",pt(s)||"instance")),q5(s,_,f));break}case x:{var N=s.updateQueue;if(N!==null){var M=null;if(s.child!==null)switch(s.child.tag){case A:M=s.child.stateNode;break;case I:M=s.child.stateNode;break}q5(s,N,M)}break}case A:{var D=s.stateNode;if(t===null&&s.flags&yt){var Q=s.type,q=s.memoizedProps;NC(D,Q,q)}break}case F:break;case P:break;case ee:{{var oe=s.memoizedProps,se=oe.onCommit,he=oe.onRender,Ae=s.stateNode.effectDuration,Ke=Av(),nt=t===null?"mount":"update";Ov()&&(nt="nested-update"),typeof he=="function"&&he(s.memoizedProps.id,nt,s.actualDuration,s.treeBaseDuration,s.actualStartTime,Ke);{typeof se=="function"&&se(s.memoizedProps.id,nt,Ae,Ke),iN(s);var Ct=s.return;e:for(;Ct!==null;){switch(Ct.tag){case x:var bt=Ct.stateNode;bt.effectDuration+=Ae;break e;case ee:var ne=Ct.stateNode;ne.effectDuration+=Ae;break e}Ct=Ct.return}}}break}case ie:{vI(e,s);break}case Be:case _e:case it:case He:case et:case xt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Na||s.flags&Fa&&f7(s)}function dI(e){switch(e.tag){case S:case X:case ce:{if(e.mode&rt)try{Ds(),u7(e,e.return)}finally{Ms(e)}else u7(e,e.return);break}case I:{var t=e.stateNode;typeof t.componentDidMount=="function"&&rI(e,e.return,t),c7(e,e.return);break}case A:{c7(e,e.return);break}}}function fI(e,t){for(var s=null,l=e;;){if(l.tag===A){if(s===null){s=l;try{var f=l.stateNode;t?jC(f):BC(l.stateNode,l.memoizedProps)}catch(b){on(e,e.return,b)}}}else if(l.tag===F){if(s===null)try{var g=l.stateNode;t?VC(g):zC(g,l.memoizedProps)}catch(b){on(e,e.return,b)}}else if(!((l.tag===He||l.tag===et)&&l.memoizedState!==null&&l!==e)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===e)return;for(;l.sibling===null;){if(l.return===null||l.return===e)return;s===l&&(s=null),l=l.return}s===l&&(s=null),l.sibling.return=l.return,l=l.sibling}}function f7(e){var t=e.ref;if(t!==null){var s=e.stateNode,l;switch(e.tag){case A:l=s;break;default:l=s}if(typeof t=="function"){var f;if(e.mode&rt)try{Ds(),f=t(l)}finally{Ms(e)}else f=t(l);typeof f=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",pt(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",pt(e)),t.current=l}}function mI(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function m7(e){var t=e.alternate;t!==null&&(e.alternate=null,m7(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===A){var s=e.stateNode;s!==null&&b_(s)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function pI(e){for(var t=e.return;t!==null;){if(p7(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function p7(e){return e.tag===A||e.tag===x||e.tag===P}function h7(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||p7(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==A&&t.tag!==F&&t.tag!==Qe;){if(t.flags&tn||t.child===null||t.tag===P)continue e;t.child.return=t,t=t.child}if(!(t.flags&tn))return t.stateNode}}function hI(e){var t=pI(e);switch(t.tag){case A:{var s=t.stateNode;t.flags&$t&&(g5(s),t.flags&=~$t);var l=h7(e);r8(e,l,s);break}case x:case P:{var f=t.stateNode.containerInfo,g=h7(e);a8(e,g,f);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function a8(e,t,s){var l=e.tag,f=l===A||l===F;if(f){var g=e.stateNode;t?MC(s,g,t):AC(s,g)}else if(l!==P){var b=e.child;if(b!==null){a8(b,t,s);for(var _=b.sibling;_!==null;)a8(_,t,s),_=_.sibling}}}function r8(e,t,s){var l=e.tag,f=l===A||l===F;if(f){var g=e.stateNode;t?PC(s,g,t):OC(s,g)}else if(l!==P){var b=e.child;if(b!==null){r8(b,t,s);for(var _=b.sibling;_!==null;)r8(_,t,s),_=_.sibling}}}var La=null,Zo=!1;function gI(e,t,s){{var l=t;e:for(;l!==null;){switch(l.tag){case A:{La=l.stateNode,Zo=!1;break e}case x:{La=l.stateNode.containerInfo,Zo=!0;break e}case P:{La=l.stateNode.containerInfo,Zo=!0;break e}}l=l.return}if(La===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");g7(e,t,s),La=null,Zo=!1}mI(s)}function Jl(e,t,s){for(var l=s.child;l!==null;)g7(e,t,l),l=l.sibling}function g7(e,t,s){switch(sm(s),s.tag){case A:Na||A1(s,t);case F:{{var l=La,f=Zo;La=null,Jl(e,t,s),La=l,Zo=f,La!==null&&(Zo?UC(La,s.stateNode):DC(La,s.stateNode))}return}case Qe:{La!==null&&(Zo?FC(La,s.stateNode):hy(La,s.stateNode));return}case P:{{var g=La,b=Zo;La=s.stateNode.containerInfo,Zo=!0,Jl(e,t,s),La=g,Zo=b}return}case S:case X:case fe:case ce:{if(!Na){var _=s.updateQueue;if(_!==null){var N=_.lastEffect;if(N!==null){var M=N.next,D=M;do{var Q=D,q=Q.destroy,oe=Q.tag;q!==void 0&&((oe&Os)!==jr?Bh(s,t,q):(oe&sa)!==jr&&(bd(s),s.mode&rt?(Ds(),Bh(s,t,q),Ms(s)):Bh(s,t,q),Tl())),D=D.next}while(D!==M)}}}Jl(e,t,s);return}case I:{if(!Na){A1(s,t);var se=s.stateNode;typeof se.componentWillUnmount=="function"&&n8(s,t,se)}Jl(e,t,s);return}case it:{Jl(e,t,s);return}case He:{if(s.mode&Tt){var he=Na;Na=he||s.memoizedState!==null,Jl(e,t,s),Na=he}else Jl(e,t,s);break}default:{Jl(e,t,s);return}}}function yI(e){e.memoizedState}function vI(e,t){var s=t.memoizedState;if(s===null){var l=t.alternate;if(l!==null){var f=l.memoizedState;if(f!==null){var g=f.dehydrated;g!==null&&a_(g)}}}}function y7(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new tI),t.forEach(function(l){var f=pN.bind(null,e,l);if(!s.has(l)){if(s.add(l),ta)if(x1!==null&&O1!==null)Ep(O1,x1);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");l.then(f,f)}})}}function kI(e,t,s){x1=s,O1=e,qt(t),v7(t,e),qt(t),x1=null,O1=null}function Jo(e,t,s){var l=t.deletions;if(l!==null)for(var f=0;f<l.length;f++){var g=l[f];try{gI(e,t,g)}catch(N){on(g,t,N)}}var b=y3();if(t.subtreeFlags&Ba)for(var _=t.child;_!==null;)qt(_),v7(_,e),_=_.sibling;qt(b)}function v7(e,t,s){var l=e.alternate,f=e.flags;switch(e.tag){case S:case X:case fe:case ce:{if(Jo(t,e),Us(e),f&yt){try{Ko(Os|oa,e,e.return),Zl(Os|oa,e)}catch(lt){on(e,e.return,lt)}if(e.mode&rt){try{Ds(),Ko(sa|oa,e,e.return)}catch(lt){on(e,e.return,lt)}Ms(e)}else try{Ko(sa|oa,e,e.return)}catch(lt){on(e,e.return,lt)}}return}case I:{Jo(t,e),Us(e),f&Fa&&l!==null&&A1(l,l.return);return}case A:{Jo(t,e),Us(e),f&Fa&&l!==null&&A1(l,l.return);{if(e.flags&$t){var g=e.stateNode;try{g5(g)}catch(lt){on(e,e.return,lt)}}if(f&yt){var b=e.stateNode;if(b!=null){var _=e.memoizedProps,N=l!==null?l.memoizedProps:_,M=e.type,D=e.updateQueue;if(e.updateQueue=null,D!==null)try{LC(b,D,M,N,_,e)}catch(lt){on(e,e.return,lt)}}}}return}case F:{if(Jo(t,e),Us(e),f&yt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var Q=e.stateNode,q=e.memoizedProps,oe=l!==null?l.memoizedProps:q;try{xC(Q,oe,q)}catch(lt){on(e,e.return,lt)}}return}case x:{if(Jo(t,e),Us(e),f&yt&&l!==null){var se=l.memoizedState;if(se.isDehydrated)try{n_(t.containerInfo)}catch(lt){on(e,e.return,lt)}}return}case P:{Jo(t,e),Us(e);return}case ie:{Jo(t,e),Us(e);var he=e.child;if(he.flags&ds){var Ae=he.stateNode,Ke=he.memoizedState,nt=Ke!==null;if(Ae.isHidden=nt,nt){var Ct=he.alternate!==null&&he.alternate.memoizedState!==null;Ct||XI()}}if(f&yt){try{yI(e)}catch(lt){on(e,e.return,lt)}y7(e)}return}case He:{var bt=l!==null&&l.memoizedState!==null;if(e.mode&Tt){var ne=Na;Na=ne||bt,Jo(t,e),Na=ne}else Jo(t,e);if(Us(e),f&ds){var me=e.stateNode,ae=e.memoizedState,Ce=ae!==null,Fe=e;if(me.isHidden=Ce,Ce&&!bt&&(Fe.mode&Tt)!==at){We=Fe;for(var Pe=Fe.child;Pe!==null;)We=Pe,TI(Pe),Pe=Pe.sibling}fI(Fe,Ce)}return}case Be:{Jo(t,e),Us(e),f&yt&&y7(e);return}case it:return;default:{Jo(t,e),Us(e);return}}}function Us(e){var t=e.flags;if(t&tn){try{hI(e)}catch(s){on(e,e.return,s)}e.flags&=~tn}t&Ir&&(e.flags&=~Ir)}function bI(e,t,s){x1=s,O1=t,We=e,k7(e,t,s),x1=null,O1=null}function k7(e,t,s){for(var l=(e.mode&Tt)!==at;We!==null;){var f=We,g=f.child;if(f.tag===He&&l){var b=f.memoizedState!==null,_=b||Vh;if(_){o8(e,t,s);continue}else{var N=f.alternate,M=N!==null&&N.memoizedState!==null,D=M||Na,Q=Vh,q=Na;Vh=_,Na=D,Na&&!q&&(We=f,SI(f));for(var oe=g;oe!==null;)We=oe,k7(oe,t,s),oe=oe.sibling;We=f,Vh=Q,Na=q,o8(e,t,s);continue}}(f.subtreeFlags&pa)!==Xe&&g!==null?(g.return=f,We=g):o8(e,t,s)}}function o8(e,t,s){for(;We!==null;){var l=We;if((l.flags&pa)!==Xe){var f=l.alternate;qt(l);try{cI(t,f,l,s)}catch(b){on(l,l.return,b)}Un()}if(l===e){We=null;return}var g=l.sibling;if(g!==null){g.return=l.return,We=g;return}We=l.return}}function TI(e){for(;We!==null;){var t=We,s=t.child;switch(t.tag){case S:case X:case fe:case ce:{if(t.mode&rt)try{Ds(),Ko(sa,t,t.return)}finally{Ms(t)}else Ko(sa,t,t.return);break}case I:{A1(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&n8(t,t.return,l);break}case A:{A1(t,t.return);break}case He:{var f=t.memoizedState!==null;if(f){b7(e);continue}break}}s!==null?(s.return=t,We=s):b7(e)}}function b7(e){for(;We!==null;){var t=We;if(t===e){We=null;return}var s=t.sibling;if(s!==null){s.return=t.return,We=s;return}We=t.return}}function SI(e){for(;We!==null;){var t=We,s=t.child;if(t.tag===He){var l=t.memoizedState!==null;if(l){T7(e);continue}}s!==null?(s.return=t,We=s):T7(e)}}function T7(e){for(;We!==null;){var t=We;qt(t);try{dI(t)}catch(l){on(t,t.return,l)}if(Un(),t===e){We=null;return}var s=t.sibling;if(s!==null){s.return=t.return,We=s;return}We=t.return}}function wI(e,t,s,l){We=t,EI(t,e,s,l)}function EI(e,t,s,l){for(;We!==null;){var f=We,g=f.child;(f.subtreeFlags&Nr)!==Xe&&g!==null?(g.return=f,We=g):CI(e,t,s,l)}}function CI(e,t,s,l){for(;We!==null;){var f=We;if((f.flags&sn)!==Xe){qt(f);try{_I(t,f,s,l)}catch(b){on(f,f.return,b)}Un()}if(f===e){We=null;return}var g=f.sibling;if(g!==null){g.return=f.return,We=g;return}We=f.return}}function _I(e,t,s,l){switch(t.tag){case S:case X:case ce:{if(t.mode&rt){D6();try{Zl(Ra|oa,t)}finally{M6(t)}}else Zl(Ra|oa,t);break}}}function RI(e){We=e,II()}function II(){for(;We!==null;){var e=We,t=e.child;if((We.flags&Bt)!==Xe){var s=e.deletions;if(s!==null){for(var l=0;l<s.length;l++){var f=s[l];We=f,xI(f,e)}{var g=e.alternate;if(g!==null){var b=g.child;if(b!==null){g.child=null;do{var _=b.sibling;b.sibling=null,b=_}while(b!==null)}}}We=e}}(e.subtreeFlags&Nr)!==Xe&&t!==null?(t.return=e,We=t):NI()}}function NI(){for(;We!==null;){var e=We;(e.flags&sn)!==Xe&&(qt(e),LI(e),Un());var t=e.sibling;if(t!==null){t.return=e.return,We=t;return}We=e.return}}function LI(e){switch(e.tag){case S:case X:case ce:{e.mode&rt?(D6(),Ko(Ra|oa,e,e.return),M6(e)):Ko(Ra|oa,e,e.return);break}}}function xI(e,t){for(;We!==null;){var s=We;qt(s),AI(s,t),Un();var l=s.child;l!==null?(l.return=s,We=l):OI(e)}}function OI(e){for(;We!==null;){var t=We,s=t.sibling,l=t.return;if(m7(t),t===e){We=null;return}if(s!==null){s.return=l,We=s;return}We=l}}function AI(e,t){switch(e.tag){case S:case X:case ce:{e.mode&rt?(D6(),Ko(Ra,e,t),M6(e)):Ko(Ra,e,t);break}}}function PI(e){switch(e.tag){case S:case X:case ce:{try{Zl(sa|oa,e)}catch(s){on(e,e.return,s)}break}case I:{var t=e.stateNode;try{t.componentDidMount()}catch(s){on(e,e.return,s)}break}}}function MI(e){switch(e.tag){case S:case X:case ce:{try{Zl(Ra|oa,e)}catch(t){on(e,e.return,t)}break}}}function DI(e){switch(e.tag){case S:case X:case ce:{try{Ko(sa|oa,e,e.return)}catch(s){on(e,e.return,s)}break}case I:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&n8(e,e.return,t);break}}}function UI(e){switch(e.tag){case S:case X:case ce:try{Ko(Ra|oa,e,e.return)}catch(t){on(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var pp=Symbol.for;pp("selector.component"),pp("selector.has_pseudo_class"),pp("selector.role"),pp("selector.test_id"),pp("selector.text")}var FI=[];function jI(){FI.forEach(function(e){return e()})}var VI=i.ReactCurrentActQueue;function BI(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function S7(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&VI.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var zI=Math.ceil,s8=i.ReactCurrentDispatcher,i8=i.ReactCurrentOwner,xa=i.ReactCurrentBatchConfig,Xo=i.ReactCurrentActQueue,ua=0,w7=1,Oa=2,wo=4,Di=0,hp=1,bc=2,zh=3,gp=4,E7=5,l8=6,At=ua,fr=null,Cn=null,ca=ge,Fs=ge,u8=zl(ge),da=Di,yp=null,$h=ge,vp=ge,Hh=ge,kp=null,Vr=null,c8=0,C7=500,_7=1/0,$I=500,Ui=null;function bp(){_7=fn()+$I}function R7(){return _7}var Gh=!1,d8=null,P1=null,Tc=!1,Xl=null,Tp=ge,f8=[],m8=null,HI=50,Sp=0,p8=null,h8=!1,qh=!1,GI=50,M1=0,Wh=null,Qh=Jt,Yh=ge,I7=!1;function Kh(){return fr}function mr(){return(At&(Oa|wo))!==ua?fn():(Qh!==Jt||(Qh=fn()),Qh)}function eu(e){var t=e.mode;if((t&Tt)===at)return st;if((At&Oa)!==ua&&ca!==ge)return jn(ca);var s=B_()!==V_;if(s){if(xa.transition!==null){var l=xa.transition;l._updatedFibers||(l._updatedFibers=new Set),l._updatedFibers.add(e)}return Yh===Ot&&(Yh=pm()),Yh}var f=ir();if(f!==Ot)return f;var g=CC();return g}function qI(e){var t=e.mode;return(t&Tt)===at?st:j3()}function fa(e,t,s,l){gN(),I7&&m("useInsertionEffect must not schedule updates."),h8&&(qh=!0),Nl(e,s,l),(At&Oa)!==ge&&e===fr?kN(t):(ta&&o2(e,t,s),bN(t),e===fr&&((At&Oa)===ua&&(vp=vt(vp,s)),da===gp&&tu(e,ca)),Br(e,l),s===st&&At===ua&&(t.mode&Tt)===at&&!Xo.isBatchingLegacy&&(bp(),R5()))}function WI(e,t,s){var l=e.current;l.lanes=t,Nl(e,t,s),Br(e,s)}function QI(e){return(At&Oa)!==ua}function Br(e,t){var s=e.callbackNode;D3(e,t);var l=$u(e,e===fr?ca:ge);if(l===ge){s!==null&&H7(s),e.callbackNode=null,e.callbackPriority=Ot;return}var f=On(l),g=e.callbackPriority;if(g===f&&!(Xo.current!==null&&s!==S8)){s==null&&g!==st&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&H7(s);var b;if(f===st)e.tag===$l?(Xo.isBatchingLegacy!==null&&(Xo.didScheduleLegacyUpdate=!0),w_(x7.bind(null,e))):_5(x7.bind(null,e)),Xo.current!==null?Xo.current.push(Hl):RC(function(){(At&(Oa|wo))===ua&&Hl()}),b=null;else{var _;switch(i2(l)){case qa:_=gd;break;case Ar:_=or;break;case na:_=po;break;case qd:_=ms;break;default:_=po;break}b=w8(_,N7.bind(null,e))}e.callbackPriority=f,e.callbackNode=b}function N7(e,t){if(gR(),Qh=Jt,Yh=ge,(At&(Oa|wo))!==ua)throw new Error("Should not already be working.");var s=e.callbackNode,l=ji();if(l&&e.callbackNode!==s)return null;var f=$u(e,e===fr?ca:ge);if(f===ge)return null;var g=!Gu(e,f)&&!a2(e,f)&&!t,b=g?rN(e,f):Jh(e,f);if(b!==Di){if(b===bc){var _=fm(e);_!==ge&&(f=_,b=g8(e,_))}if(b===hp){var N=yp;throw Sc(e,ge),tu(e,f),Br(e,fn()),N}if(b===l8)tu(e,f);else{var M=!Gu(e,f),D=e.current.alternate;if(M&&!KI(D)){if(b=Jh(e,f),b===bc){var Q=fm(e);Q!==ge&&(f=Q,b=g8(e,Q))}if(b===hp){var q=yp;throw Sc(e,ge),tu(e,f),Br(e,fn()),q}}e.finishedWork=D,e.finishedLanes=f,YI(e,b,f)}}return Br(e,fn()),e.callbackNode===s?N7.bind(null,e):null}function g8(e,t){var s=kp;if(ki(e)){var l=Sc(e,t);l.flags|=yn,g_(e.containerInfo)}var f=Jh(e,t);if(f!==bc){var g=Vr;Vr=s,g!==null&&L7(g)}return f}function L7(e){Vr===null?Vr=e:Vr.push.apply(Vr,e)}function YI(e,t,s){switch(t){case Di:case hp:throw new Error("Root did not complete. This is a bug in React.");case bc:{wc(e,Vr,Ui);break}case zh:{if(tu(e,s),Vd(s)&&!G7()){var l=c8+C7-fn();if(l>10){var f=$u(e,ge);if(f!==ge)break;var g=e.suspendedLanes;if(!vi(g,s)){mr(),$d(e,g);break}e.timeoutHandle=my(wc.bind(null,e,Vr,Ui),l);break}}wc(e,Vr,Ui);break}case gp:{if(tu(e,s),n2(s))break;if(!G7()){var b=t2(e,s),_=b,N=fn()-_,M=hN(N)-N;if(M>10){e.timeoutHandle=my(wc.bind(null,e,Vr,Ui),M);break}}wc(e,Vr,Ui);break}case E7:{wc(e,Vr,Ui);break}default:throw new Error("Unknown root exit status.")}}function KI(e){for(var t=e;;){if(t.flags&Du){var s=t.updateQueue;if(s!==null){var l=s.stores;if(l!==null)for(var f=0;f<l.length;f++){var g=l[f],b=g.getSnapshot,_=g.value;try{if(!Me(b(),_))return!1}catch{return!1}}}}var N=t.child;if(t.subtreeFlags&Du&&N!==null){N.return=t,t=N;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function tu(e,t){t=Il(t,Hh),t=Il(t,vp),ym(e,t)}function x7(e){if(yR(),(At&(Oa|wo))!==ua)throw new Error("Should not already be working.");ji();var t=$u(e,ge);if(!Ga(t,st))return Br(e,fn()),null;var s=Jh(e,t);if(e.tag!==$l&&s===bc){var l=fm(e);l!==ge&&(t=l,s=g8(e,l))}if(s===hp){var f=yp;throw Sc(e,ge),tu(e,t),Br(e,fn()),f}if(s===l8)throw new Error("Root did not complete. This is a bug in React.");var g=e.current.alternate;return e.finishedWork=g,e.finishedLanes=t,wc(e,Vr,Ui),Br(e,fn()),null}function ZI(e,t){t!==ge&&(qu(e,vt(t,st)),Br(e,fn()),(At&(Oa|wo))===ua&&(bp(),Hl()))}function y8(e,t){var s=At;At|=w7;try{return e(t)}finally{At=s,At===ua&&!Xo.isBatchingLegacy&&(bp(),R5())}}function JI(e,t,s,l,f){var g=ir(),b=xa.transition;try{return xa.transition=null,Vn(qa),e(t,s,l,f)}finally{Vn(g),xa.transition=b,At===ua&&bp()}}function Fi(e){Xl!==null&&Xl.tag===$l&&(At&(Oa|wo))===ua&&ji();var t=At;At|=w7;var s=xa.transition,l=ir();try{return xa.transition=null,Vn(qa),e?e():void 0}finally{Vn(l),xa.transition=s,At=t,(At&(Oa|wo))===ua&&Hl()}}function O7(){return(At&(Oa|wo))!==ua}function Zh(e,t){Ya(u8,Fs,e),Fs=vt(Fs,t)}function v8(e){Fs=u8.current,Qa(u8,e)}function Sc(e,t){e.finishedWork=null,e.finishedLanes=ge;var s=e.timeoutHandle;if(s!==py&&(e.timeoutHandle=py,_C(s)),Cn!==null)for(var l=Cn.return;l!==null;){var f=l.alternate;i7(f,l),l=l.return}fr=e;var g=Ec(e.current,null);return Cn=g,ca=Fs=t,da=Di,yp=null,$h=ge,vp=ge,Hh=ge,kp=null,Vr=null,G_(),Go.discardPendingWarnings(),g}function A7(e,t){do{var s=Cn;try{if(rh(),uv(),Un(),i8.current=null,s===null||s.return===null){da=hp,yp=t,Cn=null;return}if(ht&&s.mode&rt&&Dh(s,!0),Ve)if(ui(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var l=t;J0(s,l,ca)}else Td(s,t,ca);SR(e,s.return,s,t,ca),U7(s)}catch(f){t=f,Cn===s&&s!==null?(s=s.return,Cn=s):s=Cn;continue}return}while(!0)}function P7(){var e=s8.current;return s8.current=xh,e===null?xh:e}function M7(e){s8.current=e}function XI(){c8=fn()}function wp(e){$h=vt(e,$h)}function eN(){da===Di&&(da=zh)}function k8(){(da===Di||da===zh||da===bc)&&(da=gp),fr!==null&&(Hu($h)||Hu(vp))&&tu(fr,ca)}function tN(e){da!==gp&&(da=bc),kp===null?kp=[e]:kp.push(e)}function nN(){return da===Di}function Jh(e,t){var s=At;At|=Oa;var l=P7();if(fr!==e||ca!==t){if(ta){var f=e.memoizedUpdaters;f.size>0&&(Ep(e,ca),f.clear()),vm(e,t)}Ui=Gd(),Sc(e,t)}eo(t);do try{aN();break}catch(g){A7(e,g)}while(!0);if(rh(),At=s,M7(l),Cn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return wl(),fr=null,ca=ge,da}function aN(){for(;Cn!==null;)D7(Cn)}function rN(e,t){var s=At;At|=Oa;var l=P7();if(fr!==e||ca!==t){if(ta){var f=e.memoizedUpdaters;f.size>0&&(Ep(e,ca),f.clear()),vm(e,t)}Ui=Gd(),bp(),Sc(e,t)}eo(t);do try{oN();break}catch(g){A7(e,g)}while(!0);return rh(),M7(l),At=s,Cn!==null?(ju(),Di):(wl(),fr=null,ca=ge,da)}function oN(){for(;Cn!==null&&!hd();)D7(Cn)}function D7(e){var t=e.alternate;qt(e);var s;(e.mode&rt)!==at?(P6(e),s=b8(t,e,Fs),Dh(e,!0)):s=b8(t,e,Fs),Un(),e.memoizedProps=e.pendingProps,s===null?U7(e):Cn=s,i8.current=null}function U7(e){var t=e;do{var s=t.alternate,l=t.return;if((t.flags&nr)===Xe){qt(t);var f=void 0;if((t.mode&rt)===at?f=s7(s,t,Fs):(P6(t),f=s7(s,t,Fs),Dh(t,!1)),Un(),f!==null){Cn=f;return}}else{var g=eI(s,t);if(g!==null){g.flags&=$0,Cn=g;return}if((t.mode&rt)!==at){Dh(t,!1);for(var b=t.actualDuration,_=t.child;_!==null;)b+=_.actualDuration,_=_.sibling;t.actualDuration=b}if(l!==null)l.flags|=nr,l.subtreeFlags=Xe,l.deletions=null;else{da=l8,Cn=null;return}}var N=t.sibling;if(N!==null){Cn=N;return}t=l,Cn=t}while(t!==null);da===Di&&(da=E7)}function wc(e,t,s){var l=ir(),f=xa.transition;try{xa.transition=null,Vn(qa),sN(e,t,s,l)}finally{xa.transition=f,Vn(l)}return null}function sN(e,t,s,l){do ji();while(Xl!==null);if(yN(),(At&(Oa|wo))!==ua)throw new Error("Should not already be working.");var f=e.finishedWork,g=e.finishedLanes;if(vd(g),f===null)return im(),null;if(g===ge&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ge,f===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Ot;var b=vt(f.lanes,f.childLanes);r2(e,b),e===fr&&(fr=null,Cn=null,ca=ge),((f.subtreeFlags&Nr)!==Xe||(f.flags&Nr)!==Xe)&&(Tc||(Tc=!0,m8=s,w8(po,function(){return ji(),null})));var _=(f.subtreeFlags&(bl|Ba|pa|Nr))!==Xe,N=(f.flags&(bl|Ba|pa|Nr))!==Xe;if(_||N){var M=xa.transition;xa.transition=null;var D=ir();Vn(qa);var Q=At;At|=wo,i8.current=null,oI(e,f),Pv(),kI(e,f,g),kC(e.containerInfo),e.current=f,X0(g),bI(f,e,g),Sl(),q0(),At=Q,Vn(D),xa.transition=M}else e.current=f,Pv();var q=Tc;if(Tc?(Tc=!1,Xl=e,Tp=g):(M1=0,Wh=null),b=e.pendingLanes,b===ge&&(P1=null),q||B7(e.current,!1),Fo(f.stateNode,l),ta&&e.memoizedUpdaters.clear(),jI(),Br(e,fn()),t!==null)for(var oe=e.onRecoverableError,se=0;se<t.length;se++){var he=t[se],Ae=he.stack,Ke=he.digest;oe(he.value,{componentStack:Ae,digest:Ke})}if(Gh){Gh=!1;var nt=d8;throw d8=null,nt}return Ga(Tp,st)&&e.tag!==$l&&ji(),b=e.pendingLanes,Ga(b,st)?(hR(),e===p8?Sp++:(Sp=0,p8=e)):Sp=0,Hl(),im(),null}function ji(){if(Xl!==null){var e=i2(Tp),t=ha(na,e),s=xa.transition,l=ir();try{return xa.transition=null,Vn(t),lN()}finally{Vn(l),xa.transition=s}}return!1}function iN(e){f8.push(e),Tc||(Tc=!0,w8(po,function(){return ji(),null}))}function lN(){if(Xl===null)return!1;var e=m8;m8=null;var t=Xl,s=Tp;if(Xl=null,Tp=ge,(At&(Oa|wo))!==ua)throw new Error("Cannot flush passive effects while already rendering.");h8=!0,qh=!1,e2(s);var l=At;At|=wo,RI(t.current),wI(t,t.current,s,e);{var f=f8;f8=[];for(var g=0;g<f.length;g++){var b=f[g];uI(t,b)}}Fu(),B7(t.current,!0),At=l,Hl(),qh?t===Wh?M1++:(M1=0,Wh=t):M1=0,h8=!1,qh=!1,hs(t);{var _=t.current.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}return!0}function F7(e){return P1!==null&&P1.has(e)}function uN(e){P1===null?P1=new Set([e]):P1.add(e)}function cN(e){Gh||(Gh=!0,d8=e)}var dN=cN;function j7(e,t,s){var l=vc(s,t),f=Dv(e,l,st),g=ql(e,f,st),b=mr();g!==null&&(Nl(g,st,b),Br(g,b))}function on(e,t,s){if(nI(s),Cp(!1),e.tag===x){j7(e,e,s);return}var l=null;for(l=t;l!==null;){if(l.tag===x){j7(l,e,s);return}else if(l.tag===I){var f=l.type,g=l.stateNode;if(typeof f.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&!F7(g)){var b=vc(s,e),_=V6(l,b,st),N=ql(l,_,st),M=mr();N!==null&&(Nl(N,st,M),Br(N,M));return}}l=l.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
141
+
142
+ Error message:
143
+
144
+ %s`,s)}function fN(e,t,s){var l=e.pingCache;l!==null&&l.delete(t);var f=mr();$d(e,s),TN(e),fr===e&&vi(ca,s)&&(da===gp||da===zh&&Vd(ca)&&fn()-c8<C7?Sc(e,ge):Hh=vt(Hh,s)),Br(e,f)}function V7(e,t){t===Ot&&(t=qI(e));var s=mr(),l=Fr(e,t);l!==null&&(Nl(l,t,s),Br(l,s))}function mN(e){var t=e.memoizedState,s=Ot;t!==null&&(s=t.retryLane),V7(e,s)}function pN(e,t){var s=Ot,l;switch(e.tag){case ie:l=e.stateNode;var f=e.memoizedState;f!==null&&(s=f.retryLane);break;case Be:l=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}l!==null&&l.delete(t),V7(e,s)}function hN(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:zI(e/1960)*1960}function gN(){if(Sp>HI)throw Sp=0,p8=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");M1>GI&&(M1=0,Wh=null,m("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function yN(){Go.flushLegacyContextWarning(),Go.flushPendingUnsafeLifecycleWarnings()}function B7(e,t){qt(e),Xh(e,Va,DI),t&&Xh(e,li,UI),Xh(e,Va,PI),t&&Xh(e,li,MI),Un()}function Xh(e,t,s){for(var l=e,f=null;l!==null;){var g=l.subtreeFlags&t;l!==f&&l.child!==null&&g!==Xe?l=l.child:((l.flags&t)!==Xe&&s(l),l.sibling!==null?l=l.sibling:l=f=l.return)}}var eg=null;function z7(e){{if((At&Oa)!==ua||!(e.mode&Tt))return;var t=e.tag;if(t!==E&&t!==x&&t!==I&&t!==S&&t!==X&&t!==fe&&t!==ce)return;var s=pt(e)||"ReactComponent";if(eg!==null){if(eg.has(s))return;eg.add(s)}else eg=new Set([s]);var l=Ln;try{qt(e),m("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{l?qt(e):Un()}}}var b8;{var vN=null;b8=function(e,t,s){var l=Y7(vN,t);try{return t7(e,t,s)}catch(g){if(x_()||g!==null&&typeof g=="object"&&typeof g.then=="function")throw g;if(rh(),uv(),i7(e,t),Y7(t,l),t.mode&rt&&P6(t),ii(null,t7,null,e,t,s),P3()){var f=Kf();typeof f=="object"&&f!==null&&f._suppressLogging&&typeof g=="object"&&g!==null&&!g._suppressLogging&&(g._suppressLogging=!0)}throw g}}}var $7=!1,T8;T8=new Set;function kN(e){if(wr&&!fR())switch(e.tag){case S:case X:case ce:{var t=Cn&&pt(Cn)||"Unknown",s=t;if(!T8.has(s)){T8.add(s);var l=pt(e)||"Unknown";m("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",l,t,t)}break}case I:{$7||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),$7=!0);break}}}function Ep(e,t){if(ta){var s=e.memoizedUpdaters;s.forEach(function(l){o2(e,l,t)})}}var S8={};function w8(e,t){{var s=Xo.current;return s!==null?(s.push(t),S8):pd(e,t)}}function H7(e){if(e!==S8)return G0(e)}function G7(){return Xo.current!==null}function bN(e){{if(e.mode&Tt){if(!S7())return}else if(!BI()||At!==ua||e.tag!==S&&e.tag!==X&&e.tag!==ce)return;if(Xo.current===null){var t=Ln;try{qt(e),m(`An update to %s inside a test was not wrapped in act(...).
145
+
146
+ When testing, code that causes React state updates should be wrapped into act(...):
147
+
148
+ act(() => {
149
+ /* fire events that update state */
150
+ });
151
+ /* assert on the output */
152
+
153
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,pt(e))}finally{t?qt(e):Un()}}}}function TN(e){e.tag!==$l&&S7()&&Xo.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
154
+
155
+ When testing, code that resolves suspended data should be wrapped into act(...):
156
+
157
+ act(() => {
158
+ /* finish loading suspended data */
159
+ });
160
+ /* assert on the output */
161
+
162
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Cp(e){I7=e}var Eo=null,D1=null,SN=function(e){Eo=e};function U1(e){{if(Eo===null)return e;var t=Eo(e);return t===void 0?e:t.current}}function E8(e){return U1(e)}function C8(e){{if(Eo===null)return e;var t=Eo(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=U1(e.render);if(e.render!==s){var l={$$typeof:sl,render:s};return e.displayName!==void 0&&(l.displayName=e.displayName),l}}return e}return t.current}}function q7(e,t){{if(Eo===null)return!1;var s=e.elementType,l=t.type,f=!1,g=typeof l=="object"&&l!==null?l.$$typeof:null;switch(e.tag){case I:{typeof l=="function"&&(f=!0);break}case S:{(typeof l=="function"||g===wa)&&(f=!0);break}case X:{(g===sl||g===wa)&&(f=!0);break}case fe:case ce:{(g===il||g===wa)&&(f=!0);break}default:return!1}if(f){var b=Eo(s);if(b!==void 0&&b===Eo(l))return!0}return!1}}function W7(e){{if(Eo===null||typeof WeakSet!="function")return;D1===null&&(D1=new WeakSet),D1.add(e)}}var wN=function(e,t){{if(Eo===null)return;var s=t.staleFamilies,l=t.updatedFamilies;ji(),Fi(function(){_8(e.current,l,s)})}},EN=function(e,t){{if(e.context!==ao)return;ji(),Fi(function(){_p(t,e,null,null)})}};function _8(e,t,s){{var l=e.alternate,f=e.child,g=e.sibling,b=e.tag,_=e.type,N=null;switch(b){case S:case ce:case I:N=_;break;case X:N=_.render;break}if(Eo===null)throw new Error("Expected resolveFamily to be set during hot reload.");var M=!1,D=!1;if(N!==null){var Q=Eo(N);Q!==void 0&&(s.has(Q)?D=!0:t.has(Q)&&(b===I?D=!0:M=!0))}if(D1!==null&&(D1.has(e)||l!==null&&D1.has(l))&&(D=!0),D&&(e._debugNeedsRemount=!0),D||M){var q=Fr(e,st);q!==null&&fa(q,e,st,Jt)}f!==null&&!D&&_8(f,t,s),g!==null&&_8(g,t,s)}}var CN=function(e,t){{var s=new Set,l=new Set(t.map(function(f){return f.current}));return R8(e.current,l,s),s}};function R8(e,t,s){{var l=e.child,f=e.sibling,g=e.tag,b=e.type,_=null;switch(g){case S:case ce:case I:_=b;break;case X:_=b.render;break}var N=!1;_!==null&&t.has(_)&&(N=!0),N?_N(e,s):l!==null&&R8(l,t,s),f!==null&&R8(f,t,s)}}function _N(e,t){{var s=RN(e,t);if(s)return;for(var l=e;;){switch(l.tag){case A:t.add(l.stateNode);return;case P:t.add(l.stateNode.containerInfo);return;case x:t.add(l.stateNode.containerInfo);return}if(l.return===null)throw new Error("Expected to reach root first.");l=l.return}}}function RN(e,t){for(var s=e,l=!1;;){if(s.tag===A)l=!0,t.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return l;for(;s.sibling===null;){if(s.return===null||s.return===e)return l;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var I8;{I8=!1;try{var QJ=Object.preventExtensions({})}catch{I8=!0}}function IN(e,t,s,l){this.tag=e,this.key=s,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=l,this.flags=Xe,this.subtreeFlags=Xe,this.deletions=null,this.lanes=ge,this.childLanes=ge,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!I8&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var ro=function(e,t,s,l){return new IN(e,t,s,l)};function N8(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function NN(e){return typeof e=="function"&&!N8(e)&&e.defaultProps===void 0}function LN(e){if(typeof e=="function")return N8(e)?I:S;if(e!=null){var t=e.$$typeof;if(t===sl)return X;if(t===il)return fe}return E}function Ec(e,t){var s=e.alternate;s===null?(s=ro(e.tag,t,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugSource=e._debugSource,s._debugOwner=e._debugOwner,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=t,s.type=e.type,s.flags=Xe,s.subtreeFlags=Xe,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&ea,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue;var l=e.dependencies;switch(s.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case E:case S:case ce:s.type=U1(e.type);break;case I:s.type=E8(e.type);break;case X:s.type=C8(e.type);break}return s}function xN(e,t){e.flags&=ea|tn;var s=e.alternate;if(s===null)e.childLanes=ge,e.lanes=t,e.child=null,e.subtreeFlags=Xe,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=Xe,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type;var l=s.dependencies;e.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration}return e}function ON(e,t,s){var l;return e===K2?(l=Tt,t===!0&&(l|=mn,l|=xr)):l=at,ta&&(l|=rt),ro(x,null,null,l)}function L8(e,t,s,l,f,g){var b=E,_=e;if(typeof e=="function")N8(e)?(b=I,_=E8(_)):_=U1(_);else if(typeof e=="string")b=A;else e:switch(e){case Io:return nu(s.children,f,g,t);case ol:b=$,f|=mn,(f&Tt)!==at&&(f|=xr);break;case fu:return AN(s,f,g,t);case co:return PN(s,f,g,t);case mu:return MN(s,f,g,t);case vf:return Q7(s,f,g,t);case e0:case Jp:case f3:case m3:case Xp:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gf:b=H;break e;case yf:b=B;break e;case sl:b=X,_=C8(_);break e;case il:b=fe;break e;case wa:b=Le,_=null;break e}var N="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(N+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var M=l?pt(l):null;M&&(N+=`
163
+
164
+ Check the render method of \``+M+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+N))}}var D=ro(b,s,t,f);return D.elementType=e,D.type=_,D.lanes=g,D._debugOwner=l,D}function x8(e,t,s){var l=null;l=e._owner;var f=e.type,g=e.key,b=e.props,_=L8(f,g,b,l,t,s);return _._debugSource=e._source,_._debugOwner=e._owner,_}function nu(e,t,s,l){var f=ro(V,e,l,t);return f.lanes=s,f}function AN(e,t,s,l){typeof e.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var f=ro(ee,e,l,t|rt);return f.elementType=fu,f.lanes=s,f.stateNode={effectDuration:0,passiveEffectDuration:0},f}function PN(e,t,s,l){var f=ro(ie,e,l,t);return f.elementType=co,f.lanes=s,f}function MN(e,t,s,l){var f=ro(Be,e,l,t);return f.elementType=mu,f.lanes=s,f}function Q7(e,t,s,l){var f=ro(He,e,l,t);f.elementType=vf,f.lanes=s;var g={isHidden:!1};return f.stateNode=g,f}function O8(e,t,s){var l=ro(F,e,null,t);return l.lanes=s,l}function DN(){var e=ro(A,null,null,at);return e.elementType="DELETED",e}function UN(e){var t=ro(Qe,null,null,at);return t.stateNode=e,t}function A8(e,t,s){var l=e.children!==null?e.children:[],f=ro(P,l,e.key,t);return f.lanes=s,f.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},f}function Y7(e,t){return e===null&&(e=ro(E,null,null,at)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function FN(e,t,s,l,f){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=py,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Ot,this.eventTimes=zd(ge),this.expirationTimes=zd(Jt),this.pendingLanes=ge,this.suspendedLanes=ge,this.pingedLanes=ge,this.expiredLanes=ge,this.mutableReadLanes=ge,this.finishedLanes=ge,this.entangledLanes=ge,this.entanglements=zd(ge),this.identifierPrefix=l,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var g=this.pendingUpdatersLaneMap=[],b=0;b<an;b++)g.push(new Set)}switch(t){case K2:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case $l:this._debugRootType=s?"hydrate()":"render()";break}}function K7(e,t,s,l,f,g,b,_,N,M){var D=new FN(e,t,s,_,N),Q=ON(t,g);D.current=Q,Q.stateNode=D;{var q={element:l,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};Q.memoizedState=q}return By(Q),D}var P8="18.2.0";function jN(e,t,s){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return ke(l),{$$typeof:Wr,key:l==null?null:""+l,children:e,containerInfo:t,implementation:s}}var M8,D8;M8=!1,D8={};function Z7(e){if(!e)return ao;var t=_r(e),s=S_(t);if(t.tag===I){var l=t.type;if(xs(l))return E5(t,l,s)}return s}function VN(e,t){{var s=_r(e);if(s===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var l=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+l)}var f=Lr(s);if(f===null)return null;if(f.mode&mn){var g=pt(s)||"Component";if(!D8[g]){D8[g]=!0;var b=Ln;try{qt(f),s.mode&mn?m("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,g):m("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,g)}finally{b?qt(b):Un()}}}return f.stateNode}}function J7(e,t,s,l,f,g,b,_){var N=!1,M=null;return K7(e,t,N,M,s,l,f,g,b)}function X7(e,t,s,l,f,g,b,_,N,M){var D=!0,Q=K7(s,l,D,e,f,g,b,_,N);Q.context=Z7(null);var q=Q.current,oe=mr(),se=eu(q),he=Pi(oe,se);return he.callback=t??null,ql(q,he,se),WI(Q,se,oe),Q}function _p(e,t,s,l){W0(t,e);var f=t.current,g=mr(),b=eu(f);ci(b);var _=Z7(s);t.context===null?t.context=_:t.pendingContext=_,wr&&Ln!==null&&!M8&&(M8=!0,m(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
165
+
166
+ Check the render method of %s.`,pt(Ln)||"Unknown"));var N=Pi(g,b);N.payload={element:e},l=l===void 0?null:l,l!==null&&(typeof l!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",l),N.callback=l);var M=ql(f,N,b);return M!==null&&(fa(M,f,b,g),uh(M,f,b)),b}function tg(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case A:return t.child.stateNode;default:return t.child.stateNode}}function BN(e){switch(e.tag){case x:{var t=e.stateNode;if(ki(t)){var s=U3(t);ZI(t,s)}break}case ie:{Fi(function(){var f=Fr(e,st);if(f!==null){var g=mr();fa(f,e,st,g)}});var l=st;U8(e,l);break}}}function ek(e,t){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=gm(s.retryLane,t))}function U8(e,t){ek(e,t);var s=e.alternate;s&&ek(s,t)}function zN(e){if(e.tag===ie){var t=El,s=Fr(e,t);if(s!==null){var l=mr();fa(s,e,t,l)}U8(e,t)}}function $N(e){if(e.tag===ie){var t=eu(e),s=Fr(e,t);if(s!==null){var l=mr();fa(s,e,t,l)}U8(e,t)}}function tk(e){var t=H0(e);return t===null?null:t.stateNode}var nk=function(e){return null};function HN(e){return nk(e)}var ak=function(e){return!1};function GN(e){return ak(e)}var rk=null,ok=null,sk=null,ik=null,lk=null,uk=null,ck=null,dk=null,fk=null;{var mk=function(e,t,s){var l=t[s],f=Wn(e)?e.slice():Nt({},e);return s+1===t.length?(Wn(f)?f.splice(l,1):delete f[l],f):(f[l]=mk(e[l],t,s+1),f)},pk=function(e,t){return mk(e,t,0)},hk=function(e,t,s,l){var f=t[l],g=Wn(e)?e.slice():Nt({},e);if(l+1===t.length){var b=s[l];g[b]=g[f],Wn(g)?g.splice(f,1):delete g[f]}else g[f]=hk(e[f],t,s,l+1);return g},gk=function(e,t,s){if(t.length!==s.length){p("copyWithRename() expects paths of the same length");return}else for(var l=0;l<s.length-1;l++)if(t[l]!==s[l]){p("copyWithRename() expects paths to be the same except for the deepest key");return}return hk(e,t,s,0)},yk=function(e,t,s,l){if(s>=t.length)return l;var f=t[s],g=Wn(e)?e.slice():Nt({},e);return g[f]=yk(e[f],t,s+1,l),g},vk=function(e,t,s){return yk(e,t,0,s)},F8=function(e,t){for(var s=e.memoizedState;s!==null&&t>0;)s=s.next,t--;return s};rk=function(e,t,s,l){var f=F8(e,t);if(f!==null){var g=vk(f.memoizedState,s,l);f.memoizedState=g,f.baseState=g,e.memoizedProps=Nt({},e.memoizedProps);var b=Fr(e,st);b!==null&&fa(b,e,st,Jt)}},ok=function(e,t,s){var l=F8(e,t);if(l!==null){var f=pk(l.memoizedState,s);l.memoizedState=f,l.baseState=f,e.memoizedProps=Nt({},e.memoizedProps);var g=Fr(e,st);g!==null&&fa(g,e,st,Jt)}},sk=function(e,t,s,l){var f=F8(e,t);if(f!==null){var g=gk(f.memoizedState,s,l);f.memoizedState=g,f.baseState=g,e.memoizedProps=Nt({},e.memoizedProps);var b=Fr(e,st);b!==null&&fa(b,e,st,Jt)}},ik=function(e,t,s){e.pendingProps=vk(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var l=Fr(e,st);l!==null&&fa(l,e,st,Jt)},lk=function(e,t){e.pendingProps=pk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=Fr(e,st);s!==null&&fa(s,e,st,Jt)},uk=function(e,t,s){e.pendingProps=gk(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var l=Fr(e,st);l!==null&&fa(l,e,st,Jt)},ck=function(e){var t=Fr(e,st);t!==null&&fa(t,e,st,Jt)},dk=function(e){nk=e},fk=function(e){ak=e}}function qN(e){var t=Lr(e);return t===null?null:t.stateNode}function WN(e){return null}function QN(){return Ln}function YN(e){var t=e.findFiberByHostInstance,s=i.ReactCurrentDispatcher;return om({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:rk,overrideHookStateDeletePath:ok,overrideHookStateRenamePath:sk,overrideProps:ik,overridePropsDeletePath:lk,overridePropsRenamePath:uk,setErrorHandler:dk,setSuspenseHandler:fk,scheduleUpdate:ck,currentDispatcherRef:s,findHostInstanceByFiber:qN,findFiberByHostInstance:t||WN,findHostInstancesForRefresh:CN,scheduleRefresh:wN,scheduleRoot:EN,setRefreshHandler:SN,getCurrentFiber:QN,reconcilerVersion:P8})}var kk=typeof reportError=="function"?reportError:function(e){console.error(e)};function j8(e){this._internalRoot=e}ng.prototype.render=j8.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?m("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):ag(arguments[1])?m("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&m("You passed a second argument to root.render(...) but it only accepts one argument.");var s=t.containerInfo;if(s.nodeType!==xn){var l=tk(t.current);l&&l.parentNode!==s&&m("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}_p(e,t,null,null)},ng.prototype.unmount=j8.prototype.unmount=function(){typeof arguments[0]=="function"&&m("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;O7()&&m("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Fi(function(){_p(null,e,null,null)}),k5(t)}};function KN(e,t){if(!ag(e))throw new Error("createRoot(...): Target container is not a DOM element.");bk(e);var s=!1,l=!1,f="",g=kk;t!=null&&(t.hydrate?p("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===rl&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
167
+
168
+ let root = createRoot(domContainer);
169
+ root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(f=t.identifierPrefix),t.onRecoverableError!==void 0&&(g=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var b=J7(e,K2,null,s,l,f,g);$2(b.current,e);var _=e.nodeType===xn?e.parentNode:e;return Mm(_),new j8(b)}function ng(e){this._internalRoot=e}function ZN(e){e&&m2(e)}ng.prototype.unstable_scheduleHydration=ZN;function JN(e,t,s){if(!ag(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");bk(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var l=s??null,f=s!=null&&s.hydratedSources||null,g=!1,b=!1,_="",N=kk;s!=null&&(s.unstable_strictMode===!0&&(g=!0),s.identifierPrefix!==void 0&&(_=s.identifierPrefix),s.onRecoverableError!==void 0&&(N=s.onRecoverableError));var M=X7(t,null,e,K2,l,g,b,_,N);if($2(M.current,e),Mm(e),f)for(var D=0;D<f.length;D++){var Q=f[D];sR(M,Q)}return new ng(M)}function ag(e){return!!(e&&(e.nodeType===Ua||e.nodeType===Zr||e.nodeType===ti||!Y))}function Rp(e){return!!(e&&(e.nodeType===Ua||e.nodeType===Zr||e.nodeType===ti||e.nodeType===xn&&e.nodeValue===" react-mount-point-unstable "))}function bk(e){e.nodeType===Ua&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),qm(e)&&(e._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var XN=i.ReactCurrentOwner,Tk;Tk=function(e){if(e._reactRootContainer&&e.nodeType!==xn){var t=tk(e._reactRootContainer.current);t&&t.parentNode!==e&&m("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var s=!!e._reactRootContainer,l=V8(e),f=!!(l&&Bl(l));f&&!s&&m("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Ua&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function V8(e){return e?e.nodeType===Zr?e.documentElement:e.firstChild:null}function Sk(){}function eL(e,t,s,l,f){if(f){if(typeof l=="function"){var g=l;l=function(){var q=tg(b);g.call(q)}}var b=X7(t,l,e,$l,null,!1,!1,"",Sk);e._reactRootContainer=b,$2(b.current,e);var _=e.nodeType===xn?e.parentNode:e;return Mm(_),Fi(),b}else{for(var N;N=e.lastChild;)e.removeChild(N);if(typeof l=="function"){var M=l;l=function(){var q=tg(D);M.call(q)}}var D=J7(e,$l,null,!1,!1,"",Sk);e._reactRootContainer=D,$2(D.current,e);var Q=e.nodeType===xn?e.parentNode:e;return Mm(Q),Fi(function(){_p(t,D,s,l)}),D}}function tL(e,t){e!==null&&typeof e!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function rg(e,t,s,l,f){Tk(s),tL(f===void 0?null:f,"render");var g=s._reactRootContainer,b;if(!g)b=eL(s,t,e,f,l);else{if(b=g,typeof f=="function"){var _=f;f=function(){var N=tg(b);_.call(N)}}_p(t,b,e,f)}return tg(b)}function nL(e){{var t=XN.current;if(t!==null&&t.stateNode!==null){var s=t.stateNode._warnedAboutRefsInRender;s||m("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Kt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Ua?e:VN(e,"findDOMNode")}function aL(e,t,s){if(m("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Rp(t))throw new Error("Target container is not a DOM element.");{var l=qm(t)&&t._reactRootContainer===void 0;l&&m("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return rg(null,e,t,!0,s)}function rL(e,t,s){if(m("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Rp(t))throw new Error("Target container is not a DOM element.");{var l=qm(t)&&t._reactRootContainer===void 0;l&&m("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return rg(null,e,t,!1,s)}function oL(e,t,s,l){if(m("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Rp(s))throw new Error("Target container is not a DOM element.");if(e==null||!Mu(e))throw new Error("parentComponent must be a valid React Component");return rg(e,t,s,!1,l)}function sL(e){if(!Rp(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=qm(e)&&e._reactRootContainer===void 0;t&&m("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var s=V8(e),l=s&&!Bl(s);l&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Fi(function(){rg(null,null,e,!1,function(){e._reactRootContainer=null,k5(e)})}),!0}else{{var f=V8(e),g=!!(f&&Bl(f)),b=e.nodeType===Ua&&Rp(e.parentNode)&&!!e.parentNode._reactRootContainer;g&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",b?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}V3(BN),l2(zN),B3($N),Wd(ir),u2(s2),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),B0(uC),ud(y8,JI,Fi);function iL(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ag(t))throw new Error("Target container is not a DOM element.");return jN(e,t,null,s)}function lL(e,t,s,l){return oL(e,t,s,l)}var B8={usingClientEntryPoint:!1,Events:[Bl,p1,H2,ld,Ou,y8]};function uL(e,t){return B8.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),KN(e,t)}function cL(e,t,s){return B8.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),JN(e,t,s)}function dL(e){return O7()&&m("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Fi(e)}var fL=YN({findFiberByHostInstance:uc,bundleType:1,version:P8,rendererPackageName:"react-dom"});if(!fL&&Yt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var wk=window.location.protocol;/^(https?|file):$/.test(wk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(wk==="file:"?`
170
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}so.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B8,so.createPortal=iL,so.createRoot=uL,so.findDOMNode=nL,so.flushSync=dL,so.hydrate=aL,so.hydrateRoot=cL,so.render=rL,so.unmountComponentAtNode=sL,so.unstable_batchedUpdates=y8,so.unstable_renderSubtreeIntoContainer=lL,so.version=P8,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),so}function $S(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(df.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE($S)}catch(n){console.error(n)}}}df.env.NODE_ENV==="production"?($S(),O4.exports=xD()):O4.exports=OD();var Mg=O4.exports;const AD=U("div")({name:"StaticContainer",class:"svm502q",propsAsIs:!1}),PD="fd3gza8",MD=`
171
+ body {
172
+ overflow: hidden !important;
173
+ }
174
+ `,DD=`
175
+ .sl-hide-on-modal {
176
+ display: none !important;
177
+ }
178
+ `,UD=n=>{const[r,i]=ue.useState(n),u=ue.useCallback(()=>i(!1),[]);return ue.useEffect(()=>(n&&document.addEventListener("scroll",u),()=>{document.removeEventListener("scroll",u)}),[n,u]),ue.useEffect(()=>{r===!1&&document.removeEventListener("scroll",u)},[r,u]),[r]},HS=({children:n,container:r,fixedView:i,useContainer:u})=>{const[c]=UD(i);return r.current?u?Mg.createPortal(R.jsxs(AD,{className:zp(c&&PD),children:[n,c&&R.jsx("style",{children:MD}),!c&&R.jsx("style",{children:DD})]}),r.current,"modal-node"):Mg.createPortal(n,r.current,"modal-node"):null},FD=U("div")({name:"Container",class:"c1pgyo67",propsAsIs:!1}),jD="hx17qu6",Xg=({children:n,style:r,className:i,hiding:u})=>R.jsx(FD,{style:r,className:zp(i,u&&jD),children:n}),GS=ue.createContext({sdk:null}),h9=()=>ue.useContext(GS),VD=U("div")({name:"SponsorLogoWrap",class:"s8p5v5z",propsAsIs:!1}),BD=()=>Mt,zD=U(BD())({name:"SponsorLogo",class:"s755yti",propsAsIs:!0}),$D=()=>R.jsx(VD,{children:R.jsx(zD,{name:"mastersLogo"})}),HD=U("div")({name:"Container",class:"c38csyt",propsAsIs:!1}),GD=U("div")({name:"Title",class:"ty221rx",propsAsIs:!1}),qD=U("div")({name:"Description",class:"dlaj9xp",propsAsIs:!1}),WD=({title:n,description:r})=>R.jsxs(HD,{children:[R.jsx(Mt,{name:"icon-check-circle"}),R.jsx(GD,{children:n}),R.jsx(qD,{children:r})]}),QD=U("div")({name:"Container",class:"c16sbdnm",propsAsIs:!1}),YD=()=>Mt,KD=U(YD())({name:"IconPrediction",class:"ibhorgl",propsAsIs:!0}),xp=U("div")({name:"FeedbackIconWrap",class:"f1g20ja7",propsAsIs:!1}),cg=U("div")({name:"FeedbackHeader",class:"f455ozj",propsAsIs:!1}),ZD=U("span")({name:"FeedbackTitle",class:"f1913njx",propsAsIs:!1}),V1=U("span")({name:"FeedbackDescription",class:"fzfk69z",propsAsIs:!1}),Y8=U("div")({name:"FeedbackText",class:"fx87qaj",propsAsIs:!1}),JD=U("span")({name:"DynamicWrap",class:"dvek9ew",propsAsIs:!1}),XD=({feedbackMessages:n,questionVotedCorrectly:r,questionVoted:i,questionType:u,hasCorrectAnswer:c,questionStatus:p,showExpiredNotification:m,showClosedNotificationTrivia:k,votedInCurrentRender:S,votedAfterQuestionClosed:I,enteredAnActiveQuestion:E,marketClosed:x})=>{const P=i&&(u===$e.TRIVIA||u===$e.PREDICTION)&&S&&p!==Xn.RESOLVED,A=u===$e.PREDICTION&&!c,F=x&&u===$e.PREDICTION&&!i&&!E||u===$e.PREDICTION&&I&&S&&E,V=P&&A,$=P&&c,B=u===$e.PREDICTION&&i&&S&&c,H=i&&u===$e.POLL&&S;if(!m&&!k&&!V&&!$&&!F&&!H&&!B)return null;const X=r?"correct":"incorrect",ee=r?n==null?void 0:n.correctFeedback:n==null?void 0:n.incorrectFeedback;return R.jsxs(QD,{"data-isPrediction":A,children:[m&&R.jsxs(R.Fragment,{children:[R.jsx(xp,{children:R.jsx(Mt,{name:"questionExpired"})}),R.jsxs("div",{children:[R.jsx(cg,{children:R.jsx(V1,{children:"Question Expired"})}),R.jsx(Y8,{children:"You can still answer to see if you're correct, but no points are awarded for expired questions."})]})]}),k&&R.jsxs(R.Fragment,{children:[R.jsx(xp,{children:R.jsx(Mt,{name:"questionExpired"})}),R.jsxs("div",{children:[R.jsx(cg,{children:R.jsx(V1,{children:"Question Closed"})}),R.jsx(Y8,{children:"This question was answered after the moderator closed the question. So the points for this answer won’t tally."})]})]}),F&&R.jsxs(R.Fragment,{children:[R.jsx(xp,{children:R.jsx(Mt,{name:"questionExpired"})}),R.jsxs("div",{children:[R.jsx(cg,{children:R.jsx(V1,{children:"Question Closed"})}),R.jsx(Y8,{children:"This event has already taken place, so the ability to make a prediction on its outcome is no longer available."})]})]}),V&&R.jsxs(R.Fragment,{children:[R.jsx(KD,{name:"icon-prediction"}),R.jsxs(V1,{children:["Your pick has been recorded. ",R.jsx(JD,{children:"We’ll notify you of the result."})]})]}),H&&R.jsxs(R.Fragment,{children:[R.jsx(xp,{"data-feedback-type":"correct",children:R.jsx(Mt,{name:"correct"})}),R.jsx(V1,{children:"Thanks for answering. Please stay tuned for the next question."})]}),($||B)&&R.jsxs(R.Fragment,{children:[R.jsx(xp,{"data-feedback-type":X,children:R.jsx(Mt,{name:X})}),R.jsx("div",{children:R.jsxs(cg,{children:[R.jsx(ZD,{"data-feedback-type":X,children:ee==null?void 0:ee.title}),R.jsx(V1,{children:ee==null?void 0:ee.description})]})})]})]})},eU=U("div")({name:"Container",class:"c14ielyq",propsAsIs:!1}),tU=()=>AS,nU=U(tU())({name:"QuestionScrollContainer",class:"q1tlqx57",propsAsIs:!0}),aU=U("div")({name:"Content",class:"c1hq58md",propsAsIs:!1}),rU=U("div")({name:"Title",class:"t1c8nxcx",propsAsIs:!1}),oU=U("div")({name:"Options",class:"oiozuc3",propsAsIs:!1});var dg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qS(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function sU(n){if(n.__esModule)return n;var r=n.default;if(typeof r=="function"){var i=function u(){return this instanceof u?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};i.prototype=r.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(n).forEach(function(u){var c=Object.getOwnPropertyDescriptor(n,u);Object.defineProperty(i,u,c.get?c:{enumerable:!0,get:function(){return n[u]}})}),i}var g9={},Dg=function(){return Dg=Object.assign||function(n){for(var r,i=1,u=arguments.length;i<u;i++)for(var c in r=arguments[i])Object.prototype.hasOwnProperty.call(r,c)&&(n[c]=r[c]);return n},Dg.apply(this,arguments)},iU=function(){function n(r,i,u){var c=this;this.endVal=i,this.options=u,this.version="2.8.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",enableScrollSpy:!1,scrollSpyDelay:200,scrollSpyOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(p){c.startTime||(c.startTime=p);var m=p-c.startTime;c.remaining=c.duration-m,c.useEasing?c.countDown?c.frameVal=c.startVal-c.easingFn(m,0,c.startVal-c.endVal,c.duration):c.frameVal=c.easingFn(m,c.startVal,c.endVal-c.startVal,c.duration):c.frameVal=c.startVal+(c.endVal-c.startVal)*(m/c.duration);var k=c.countDown?c.frameVal<c.endVal:c.frameVal>c.endVal;c.frameVal=k?c.endVal:c.frameVal,c.frameVal=Number(c.frameVal.toFixed(c.options.decimalPlaces)),c.printValue(c.frameVal),m<c.duration?c.rAF=requestAnimationFrame(c.count):c.finalEndVal!==null?c.update(c.finalEndVal):c.options.onCompleteCallback&&c.options.onCompleteCallback()},this.formatNumber=function(p){var m,k,S,I,E=p<0?"-":"";m=Math.abs(p).toFixed(c.options.decimalPlaces);var x=(m+="").split(".");if(k=x[0],S=x.length>1?c.options.decimal+x[1]:"",c.options.useGrouping){I="";for(var P=3,A=0,F=0,V=k.length;F<V;++F)c.options.useIndianSeparators&&F===4&&(P=2,A=1),F!==0&&A%P==0&&(I=c.options.separator+I),A++,I=k[V-F-1]+I;k=I}return c.options.numerals&&c.options.numerals.length&&(k=k.replace(/[0-9]/g,function($){return c.options.numerals[+$]}),S=S.replace(/[0-9]/g,function($){return c.options.numerals[+$]})),E+c.options.prefix+k+S+c.options.suffix},this.easeOutExpo=function(p,m,k,S){return k*(1-Math.pow(2,-10*p/S))*1024/1023+m},this.options=Dg(Dg({},this.defaults),u),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(i),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,this.options.separator===""&&(this.options.useGrouping=!1),this.el=typeof r=="string"?document.getElementById(r):r,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined",typeof window<"u"&&this.options.enableScrollSpy&&(this.error?console.error(this.error,r):(window.onScrollFns=window.onScrollFns||[],window.onScrollFns.push(function(){return c.handleScroll(c)}),window.onscroll=function(){window.onScrollFns.forEach(function(p){return p()})},this.handleScroll(this)))}return n.prototype.handleScroll=function(r){if(r&&window&&!r.once){var i=window.innerHeight+window.scrollY,u=r.el.getBoundingClientRect(),c=u.top+window.pageYOffset,p=u.top+u.height+window.pageYOffset;p<i&&p>window.scrollY&&r.paused?(r.paused=!1,setTimeout(function(){return r.start()},r.options.scrollSpyDelay),r.options.scrollSpyOnce&&(r.once=!0)):(window.scrollY>p||c>i)&&!r.paused&&r.reset()}},n.prototype.determineDirectionAndSmartEasing=function(){var r=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>r;var i=r-this.startVal;if(Math.abs(i)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=r;var u=this.countDown?1:-1;this.endVal=r+u*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=r,this.finalEndVal=null;this.finalEndVal!==null?this.useEasing=!1:this.useEasing=this.options.useEasing},n.prototype.start=function(r){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),r&&(this.options.onCompleteCallback=r),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},n.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},n.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},n.prototype.update=function(r){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(r),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal==null&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},n.prototype.printValue=function(r){var i;if(this.el){var u=this.formattingFn(r);!((i=this.options.plugin)===null||i===void 0)&&i.render?this.options.plugin.render(this.el,u):this.el.tagName==="INPUT"?this.el.value=u:this.el.tagName==="text"||this.el.tagName==="tspan"?this.el.textContent=u:this.el.innerHTML=u}},n.prototype.ensureNumber=function(r){return typeof r=="number"&&!isNaN(r)},n.prototype.validateValue=function(r){var i=Number(r);return this.ensureNumber(i)?i:(this.error="[CountUp] invalid start or end value: ".concat(r),null)},n.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},n}();const lU=Object.freeze(Object.defineProperty({__proto__:null,CountUp:iU},Symbol.toStringTag,{value:"Module"})),uU=sU(lU);Object.defineProperty(g9,"__esModule",{value:!0});var va=ue,cU=uU;function dU(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var u,c,p,m,k=[],S=!0,I=!1;try{if(p=(i=i.call(n)).next,r===0){if(Object(i)!==i)return;S=!1}else for(;!(S=(u=p.call(i)).done)&&(k.push(u.value),k.length!==r);S=!0);}catch(E){I=!0,c=E}finally{try{if(!S&&i.return!=null&&(m=i.return(),Object(m)!==m))return}finally{if(I)throw c}}return k}}function eb(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);r&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(n,c).enumerable})),i.push.apply(i,u)}return i}function Ug(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?eb(Object(i),!0).forEach(function(u){fU(n,u,i[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):eb(Object(i)).forEach(function(u){Object.defineProperty(n,u,Object.getOwnPropertyDescriptor(i,u))})}return n}function fU(n,r,i){return r=kU(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function A4(){return A4=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])}return n},A4.apply(this,arguments)}function mU(n,r){if(n==null)return{};var i={},u=Object.keys(n),c,p;for(p=0;p<u.length;p++)c=u[p],!(r.indexOf(c)>=0)&&(i[c]=n[c]);return i}function WS(n,r){if(n==null)return{};var i=mU(n,r),u,c;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(n);for(c=0;c<p.length;c++)u=p[c],!(r.indexOf(u)>=0)&&Object.prototype.propertyIsEnumerable.call(n,u)&&(i[u]=n[u])}return i}function pU(n,r){return hU(n)||dU(n,r)||gU(n,r)||yU()}function hU(n){if(Array.isArray(n))return n}function gU(n,r){if(n){if(typeof n=="string")return tb(n,r);var i=Object.prototype.toString.call(n).slice(8,-1);if(i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set")return Array.from(n);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return tb(n,r)}}function tb(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,u=new Array(r);i<r;i++)u[i]=n[i];return u}function yU(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
179
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vU(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var u=i.call(n,r||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function kU(n){var r=vU(n,"string");return typeof r=="symbol"?r:String(r)}var bU=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?va.useLayoutEffect:va.useEffect;function ts(n){var r=va.useRef(n);return bU(function(){r.current=n}),va.useCallback(function(){for(var i=arguments.length,u=new Array(i),c=0;c<i;c++)u[c]=arguments[c];return r.current.apply(void 0,u)},[])}var TU=function(r,i){var u=i.decimal,c=i.decimals,p=i.duration,m=i.easingFn,k=i.end,S=i.formattingFn,I=i.numerals,E=i.prefix,x=i.separator,P=i.start,A=i.suffix,F=i.useEasing,V=i.useGrouping,$=i.useIndianSeparators,B=i.enableScrollSpy,H=i.scrollSpyDelay,X=i.scrollSpyOnce,ee=i.plugin;return new cU.CountUp(r,k,{startVal:P,duration:p,decimal:u,decimalPlaces:c,easingFn:m,formattingFn:S,numerals:I,separator:x,prefix:E,suffix:A,plugin:ee,useEasing:F,useIndianSeparators:$,useGrouping:V,enableScrollSpy:B,scrollSpyDelay:H,scrollSpyOnce:X})},SU=["ref","startOnMount","enableReinitialize","delay","onEnd","onStart","onPauseResume","onReset","onUpdate"],wU={decimal:".",separator:",",delay:null,prefix:"",suffix:"",duration:2,start:0,decimals:0,startOnMount:!0,enableReinitialize:!0,useEasing:!0,useGrouping:!0,useIndianSeparators:!1},QS=function(r){var i=Object.fromEntries(Object.entries(r).filter(function(_e){var Qe=pU(_e,2),Be=Qe[1];return Be!==void 0})),u=va.useMemo(function(){return Ug(Ug({},wU),i)},[r]),c=u.ref,p=u.startOnMount,m=u.enableReinitialize,k=u.delay,S=u.onEnd,I=u.onStart,E=u.onPauseResume,x=u.onReset,P=u.onUpdate,A=WS(u,SU),F=va.useRef(),V=va.useRef(),$=va.useRef(!1),B=ts(function(){return TU(typeof c=="string"?c:c.current,A)}),H=ts(function(_e){var Qe=F.current;if(Qe&&!_e)return Qe;var Be=B();return F.current=Be,Be}),X=ts(function(){var _e=function(){return H(!0).start(function(){S==null||S({pauseResume:ee,reset:ie,start:ce,update:fe})})};k&&k>0?V.current=setTimeout(_e,k*1e3):_e(),I==null||I({pauseResume:ee,reset:ie,update:fe})}),ee=ts(function(){H().pauseResume(),E==null||E({reset:ie,start:ce,update:fe})}),ie=ts(function(){H().el&&(V.current&&clearTimeout(V.current),H().reset(),x==null||x({pauseResume:ee,start:ce,update:fe}))}),fe=ts(function(_e){H().update(_e),P==null||P({pauseResume:ee,reset:ie,start:ce})}),ce=ts(function(){ie(),X()}),Le=ts(function(_e){p&&(_e&&ie(),X())});return va.useEffect(function(){$.current?m&&Le(!0):($.current=!0,Le())},[m,$,Le,k,r.start,r.suffix,r.prefix,r.duration,r.separator,r.decimals,r.decimal,r.formattingFn]),va.useEffect(function(){return function(){ie()}},[ie]),{start:ce,pauseResume:ee,reset:ie,update:fe,getCountUp:H}},EU=["className","redraw","containerProps","children","style"],CU=function(r){var i=r.className,u=r.redraw,c=r.containerProps,p=r.children,m=r.style,k=WS(r,EU),S=va.useRef(null),I=va.useRef(!1),E=QS(Ug(Ug({},k),{},{ref:S,startOnMount:typeof p!="function"||r.delay===0,enableReinitialize:!1})),x=E.start,P=E.reset,A=E.update,F=E.pauseResume,V=E.getCountUp,$=ts(function(){x()}),B=ts(function(ee){r.preserveValue||P(),A(ee)}),H=ts(function(){if(typeof r.children=="function"&&!(S.current instanceof Element)){console.error(`Couldn't find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.`);return}V()});va.useEffect(function(){H()},[H]),va.useEffect(function(){I.current&&B(r.end)},[r.end,B]);var X=u&&r;return va.useEffect(function(){u&&I.current&&$()},[$,u,X]),va.useEffect(function(){!u&&I.current&&$()},[$,u,r.start,r.suffix,r.prefix,r.duration,r.separator,r.decimals,r.decimal,r.className,r.formattingFn]),va.useEffect(function(){I.current=!0},[]),typeof p=="function"?p({countUpRef:S,start:x,reset:P,update:A,pauseResume:F,getCountUp:V}):va.createElement("span",A4({className:i,ref:S,style:m},c),typeof r.start<"u"?V().formattingFn(r.start):"")},_U=g9.default=CU;g9.useCountUp=QS;const e3=({value:n=0,decimals:r,duration:i=1,preserveValue:u=!0,...c})=>{const[,p]=n.toString().split("."),m=r??((p==null?void 0:p.length)||0);return R.jsx(_U,{end:n,...c,duration:i,decimals:m,enableScrollSpy:!1,preserveValue:u})},RU=U("button")({name:"ButtonContainer",class:"b1b6dl8t",propsAsIs:!1}),IU=U("div")({name:"ButtonPct",class:"b4iik8i",propsAsIs:!1}),NU=U("span")({name:"ButtonBody",class:"b1gq1lnf",propsAsIs:!1}),LU=U("div")({name:"IconContainer",class:"i1j65z51",propsAsIs:!1}),xU=U("div")({name:"IconWrap",class:"i19tpfua",propsAsIs:!1}),YS=U("img")({name:"Icon",class:"i1tubmma",propsAsIs:!1}),OU=()=>YS,AU=U(OU())({name:"IconDefault",class:"i1grrgwj",propsAsIs:!0}),PU=()=>YS,MU=U(PU())({name:"IconCircle",class:"ibemyq8",propsAsIs:!0}),DU=U("span")({name:"Title",class:"t1dceht",propsAsIs:!1}),UU=U("span")({name:"Indicators",class:"i116q4vq",propsAsIs:!1}),FU=U("span")({name:"Pts",class:"p17ajcu2",propsAsIs:!1}),jU=U("span")({name:"Percentage",class:"pu9kmlb",propsAsIs:!1}),VU=()=>Mt,BU=U(VU())({name:"CheckIcon",class:"c1j2j0s0",propsAsIs:!0}),nb={[$r.CENTERED]:n=>R.jsx(AU,{alt:"option-icon",src:n}),[$r.TRANSPARENT]:n=>R.jsx(LU,{children:R.jsx(xU,{style:{backgroundImage:`url(${n})`}})}),[$r.ROUNDED]:n=>R.jsx(MU,{alt:"option-icon",src:n}),[$r.NONE]:()=>null,[$r.UNSET]:()=>null},zU=({questionType:n,hasCorrectAnswer:r,correct:i,youVoted:u,questionVoted:c})=>{if(n===$e.POLL&&u)return"correct";if(n===$e.PREDICTION){if(r&&c)return u?i?"correct":"incorrect":"unset";if(u)return"correct"}return n===$e.TRIVIA&&c&&u?i?"correct":"incorrect":"unset"},$U=({questionType:n,questionVoted:r,correct:i,hasCorrectAnswer:u,questionStatus:c})=>n===$e.TRIVIA?r&&i:n===$e.PREDICTION?r&&i&&u||c===Xn.RESOLVED&&i:!1,HU=n=>{var r;const{id:i,icon:u,text:c,percentageDecimal:p,points:m,onVote:k,markThatVoted:S,youSelected:I,questionVoted:E,imageMode:x,answerTimeExpired:P,questionStatus:A,isLoading:F,questionType:V,correct:$,hasCorrectAnswer:B,votedAfterQuestionClosed:H,enteredAnActiveQuestion:X,marketClosed:ee}=n,[ie,fe]=ue.useState(p),ce=zU(n),Le=$U({questionType:V,questionVoted:E,correct:$,hasCorrectAnswer:B,questionStatus:A}),_e=ee&&V===$e.PREDICTION,Qe=E||_e,Be=V===$e.PREDICTION&&!E&&!ee,it=E&&!I&&ce!=="incorrect";return ue.useLayoutEffect(()=>{p>0&&(fe(0),requestAnimationFrame(()=>{fe(p)}))},[p]),R.jsxs(RU,{value:i,"data-selected":I,"data-answer-state":ce,disabled:E||F||P||_e&&!X||_e&&X&&H,"data-is-not-checked":it,onClick:He=>{S(V===$e.PREDICTION?ee:A===Xn.RESOLVED),k(He)},children:[R.jsx(IU,{"data-answer-state":ce,style:{width:`${Qe?ie:0}%`}}),R.jsxs(NU,{children:[u&&x&&((r=nb[x])==null?void 0:r.call(nb,u)),R.jsx(DU,{children:c}),Be&&R.jsxs("div",{children:[m,R.jsx(FU,{children:"pts"})]}),Qe&&R.jsxs(UU,{children:[Le&&R.jsx(BU,{name:"selected"}),R.jsx(jU,{children:R.jsx(e3,{value:p,suffix:"%"})})]})]})]})};var ab=typeof window>"u"?ue.useEffect:ue.useLayoutEffect,GU=({isPlaying:n,duration:r,startAt:i=0,updateInterval:u=0,onComplete:c,onUpdate:p})=>{let[m,k]=ue.useState(i),S=ue.useRef(0),I=ue.useRef(i),E=ue.useRef(i*-1e3),x=ue.useRef(null),P=ue.useRef(null),A=ue.useRef(null),F=B=>{let H=B/1e3;if(P.current===null){P.current=H,x.current=requestAnimationFrame(F);return}let X=H-P.current,ee=S.current+X;P.current=H,S.current=ee;let ie=I.current+(u===0?ee:(ee/u|0)*u),fe=I.current+ee,ce=typeof r=="number"&&fe>=r;k(ce?r:ie),ce||(x.current=requestAnimationFrame(F))},V=()=>{x.current&&cancelAnimationFrame(x.current),A.current&&clearTimeout(A.current),P.current=null},$=ue.useCallback(B=>{V(),S.current=0;let H=typeof B=="number"?B:i;I.current=H,k(H),n&&(x.current=requestAnimationFrame(F))},[n,i]);return ab(()=>{if(p==null||p(m),r&&m>=r){E.current+=r*1e3;let{shouldRepeat:B=!1,delay:H=0,newStartAt:X}=(c==null?void 0:c(E.current/1e3))||{};B&&(A.current=setTimeout(()=>$(X),H*1e3))}},[m,r]),ab(()=>(n&&(x.current=requestAnimationFrame(F)),V),[n,r,u]),{elapsedTime:m,reset:$}},qU=(n,r,i)=>{let u=n/2,c=r/2,p=u-c,m=2*p,k=i==="clockwise"?"1,0":"0,1",S=2*Math.PI*p;return{path:`m ${u},${c} a ${p},${p} 0 ${k} 0,${m} a ${p},${p} 0 ${k} 0,-${m}`,pathLength:S}},rb=(n,r)=>n===0||n===r?0:typeof r=="number"?n-r:0,WU=n=>({position:"relative",width:n,height:n}),QU={display:"flex",justifyContent:"center",alignItems:"center",position:"absolute",left:0,top:0,width:"100%",height:"100%"},KS=(n,r,i,u,c)=>{if(u===0)return r;let p=(c?u-n:n)/u;return r+i*p},ob=n=>{var r,i;return(i=(r=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(u,c,p,m)=>`#${c}${c}${p}${p}${m}${m}`).substring(1).match(/.{2}/g))==null?void 0:r.map(u=>parseInt(u,16)))!=null?i:[]},YU=(n,r)=>{var i;let{colors:u,colorsTime:c,isSmoothColorTransition:p=!0}=n;if(typeof u=="string")return u;let m=(i=c==null?void 0:c.findIndex((P,A)=>P>=r&&r>=c[A+1]))!=null?i:-1;if(!c||m===-1)return u[0];if(!p)return u[m];let k=c[m]-r,S=c[m]-c[m+1],I=ob(u[m]),E=ob(u[m+1]),x=!!n.isGrowing;return`rgb(${I.map((P,A)=>KS(k,P,E[A]-P,S,x)|0).join(",")})`},KU=n=>{let{duration:r,initialRemainingTime:i,updateInterval:u,size:c=180,strokeWidth:p=12,trailStrokeWidth:m,isPlaying:k=!1,isGrowing:S=!1,rotation:I="clockwise",onComplete:E,onUpdate:x}=n,P=ue.useRef(),A=Math.max(p,m??0),{path:F,pathLength:V}=qU(c,A,I),{elapsedTime:$}=GU({isPlaying:k,duration:r,startAt:rb(r,i),updateInterval:u,onUpdate:typeof x=="function"?H=>{let X=Math.ceil(r-H);X!==P.current&&(P.current=X,x(X))}:void 0,onComplete:typeof E=="function"?H=>{var X;let{shouldRepeat:ee,delay:ie,newInitialRemainingTime:fe}=(X=E(H))!=null?X:{};if(ee)return{shouldRepeat:ee,delay:ie,newStartAt:rb(r,fe)}}:void 0}),B=r-$;return{elapsedTime:$,path:F,pathLength:V,remainingTime:Math.ceil(B),rotation:I,size:c,stroke:YU(n,B),strokeDashoffset:KS($,0,V,r,S),strokeWidth:p}},ZS=n=>{let{children:r,strokeLinecap:i,trailColor:u,trailStrokeWidth:c}=n,{path:p,pathLength:m,stroke:k,strokeDashoffset:S,remainingTime:I,elapsedTime:E,size:x,strokeWidth:P}=KU(n);return ue.createElement("div",{style:WU(x)},ue.createElement("svg",{viewBox:`0 0 ${x} ${x}`,width:x,height:x,xmlns:"http://www.w3.org/2000/svg"},ue.createElement("path",{d:p,fill:"none",stroke:u??"#d9d9d9",strokeWidth:c??P}),ue.createElement("path",{d:p,fill:"none",stroke:k,strokeLinecap:i??"round",strokeWidth:P,strokeDasharray:m,strokeDashoffset:S})),typeof r=="function"&&ue.createElement("div",{style:QU},r({remainingTime:I,elapsedTime:E,color:k})))};ZS.displayName="CountdownCircleTimer";const ZU=[qi.PRIMARY_GREEN1,qi.SECONDARY_RED1,qi.SECONDARY_RED1,qi.NEUTRALS_GRAY3],JU=[10,10,1,0],XU=U("div")({name:"RemainingTime",class:"r165427",propsAsIs:!1}),eF=qi.SECONDARY_GREEN6,sb=qi.SECONDARY_RED3,tF=qi.NEUTRALS_GRAY3,nF=({isPlaying:n=!0,duration:r=30,onTimerExpired:i})=>{const[u,c]=ue.useState(r>10?eF:sb),p=({remainingTime:S})=>R.jsx(XU,{children:S}),m=ue.useCallback(()=>{i==null||i(),c(tF)},[i,c]),k=ue.useCallback(S=>{S===10&&c(sb)},[c]);return R.jsx(ZS,{isPlaying:n,duration:r,colors:ZU,colorsTime:JU,size:32,strokeWidth:2,trailStrokeWidth:2,trailColor:u,onComplete:m,onUpdate:k,children:p})},aF=U("div")({name:"WinBarContainer",class:"wie6cqo",propsAsIs:!1}),rF=U("div")({name:"Content",class:"cgizw4u",propsAsIs:!1}),oF=U("div")({name:"Title",class:"t1l3ucjp",propsAsIs:!1}),sF=()=>Mt,iF=U(sF())({name:"WinIcon",class:"wx7j799",propsAsIs:!0}),lF=U("div")({name:"Points",class:"p4lwuj0",propsAsIs:!1}),uF=U("span")({name:"PointsCount",class:"po9i64o",propsAsIs:!1}),cF=U("span")({name:"PointsUnits",class:"pe5g05h",propsAsIs:!1}),dF=({title:n,points:r,isPlayingTimer:i,isTimer:u,animatePoints:c,questionType:p,timerDuration:m,onTimerExpired:k})=>R.jsxs(aF,{style:{justifyContent:p===$e.PREDICTION?"center":"space-between"},children:[R.jsxs(rF,{children:[n&&R.jsx(oF,{children:n}),r!==void 0&&p!==$e.POLL&&R.jsxs(R.Fragment,{children:[R.jsx(iF,{name:"icon-trophy"}),R.jsxs(lF,{children:[R.jsx(uF,{children:c?R.jsx(e3,{value:r,delay:.3}):r}),R.jsx(cF,{children:"PTS"})]})]})]}),u&&p!==$e.PREDICTION&&R.jsx(nF,{isPlaying:i,onTimerExpired:k,duration:m})]}),fF=({openedQuestion:n,isLoading:r,vote:i,close:u})=>{var c,p;const m=n.subject,k=n.type,S=n.status,I=(c=n.options)==null?void 0:c.options,E=n.marketClosed,[x,P]=ue.useState(!1),[A,F]=ue.useState(!1),[V,$]=ue.useState(!0),[B,H]=ue.useState(!1),[X,ee]=ue.useState(""),ie=n==null?void 0:n.id;ue.useEffect(()=>{k===$e.PREDICTION?E&&$(!1):S===Xn.RESOLVED&&$(!1)},[]);const fe=ue.useCallback(Ge=>{F(Ge),P(!0)},[]),ce=ue.useCallback(async Ge=>{if(ie){const Y=Ge.currentTarget.value;ee(Y),await i(ie,Y)}},[ie,ee,i]),Le=ue.useCallback(()=>{H(!0),setTimeout(u,3e3)},[u]),_e=ue.useMemo(()=>n==null?void 0:n.answers.find(Ge=>Ge.youVoted===!0),[n]),Qe=ue.useMemo(()=>!!(n!=null&&n.answers.find(Ge=>Ge.correct===!0)),[n]),Be=ue.useMemo(()=>n==null?void 0:n.answers.find(Ge=>Ge.correct===!0),[n]);ue.useEffect(()=>{let Ge;return k===$e.PREDICTION&&_e&&x&&(Ge=setTimeout(u,1e4)),()=>{clearTimeout(Ge)}},[_e]);const it=ue.useMemo(()=>n?n.answers.map(Ge=>{var Y;return{...Ge,questionVoted:!!_e,youSelected:X===Ge.id,isLoading:r,hasCorrectAnswer:Qe,questionType:n.type,answerTimeExpired:B,questionStatus:S,imageMode:(Y=n.appearance)==null?void 0:Y.images,onVote:ce}}):[],[Qe,B,r,n,_e,S,ce,X]),He=I&&(I.case==="trivia"||I.case==="prediction")?I.value:void 0,et=S===Xn.RESOLVED&&k===$e.TRIVIA&&!_e&&!V,Lt=k===$e.TRIVIA&&A&&x&&V,xt=ue.useMemo(()=>k===$e.PREDICTION?!!(_e&&!Qe||_e&&Qe&&Be!=null&&Be.youVoted):!0,[k,_e,Qe,Be]),In=ue.useMemo(()=>{if(k===$e.PREDICTION&&_e&&(!Qe||Qe&&Be!=null&&Be.youVoted))return _e.points;if(!(et||B))return S===Xn.RESOLVED?0:_e?_e.correct?_e.points:0:Be==null?void 0:Be.points},[B,_e,Be,S,et,k,Qe]),Re=ue.useMemo(()=>k===$e.PREDICTION&&_e?Qe?Qe&&Be!=null&&Be.youVoted?"You won":"":"To win":et||B?"Time expired":k===$e.POLL?"Time remaining":_e?"You won":"To win",[B,k,_e,et,Qe,Be]),je=(k===$e.TRIVIA||k===$e.PREDICTION)&&_e&&Qe&&(Be==null?void 0:Be.youVoted),Ne=_e||et||Lt||k===$e.TRIVIA&&S===Xn.RESOLVED&&V;return R.jsx(nU,{children:R.jsx(eU,{children:R.jsxs(aU,{children:[R.jsx(XD,{feedbackMessages:He,questionVoted:!!_e,questionVotedCorrectly:_e==null?void 0:_e.correct,questionType:k,hasCorrectAnswer:Qe,questionStatus:S,showExpiredNotification:et,showClosedNotificationTrivia:Lt,votedInCurrentRender:x,votedAfterQuestionClosed:A,enteredAnActiveQuestion:V,marketClosed:E}),xt&&R.jsx(dF,{title:Re,points:In,onTimerExpired:Le,questionType:n.type,isTimer:!r,isPlayingTimer:!_e,animatePoints:je,timerDuration:Ne?0:Number(((p=n==null?void 0:n.appearance)==null?void 0:p.autoHideInterval)||"30")}),B?R.jsx(WD,{title:"More to come...",description:"Watch for additional enhanced stream interactive experience."}):R.jsxs(R.Fragment,{children:[R.jsx(rU,{style:xt?{}:{marginTop:0},children:m}),R.jsx(oU,{children:it.map(Ge=>R.jsx(HU,{...Ge,markThatVoted:fe,votedAfterQuestionClosed:A,enteredAnActiveQuestion:V,marketClosed:E},Ge.id))})]})]})})})},mF=U("div")({name:"Container",class:"c1bgb86j",propsAsIs:!1}),pF=U("video")({name:"Player",class:"p6703cq",propsAsIs:!1}),hF=U("img")({name:"Poster",class:"p12ow7zo",propsAsIs:!1}),gF=U("div")({name:"Control",class:"cdpal9o",propsAsIs:!1}),yF=(n,r)=>{for(const i of n)i.isIntersecting||i.target instanceof HTMLVideoElement&&!i.target.paused&&(r.unobserve(i.target),i.target.pause())},JS=new IntersectionObserver(yF,{threshold:.5}),y9=new Set,vF=n=>{JS.observe(n),y9.add(n)},Up=n=>{JS.unobserve(n),y9.delete(n)},XS=()=>{for(const n of y9)n instanceof HTMLVideoElement&&!n.paused&&(n.pause(),Up(n))},v9=({poster:n,source:r,controlVideo:i})=>{const u=ue.useRef(null),[c,p]=ue.useState(!1),[m,k]=ue.useState(!0),S=ue.useCallback(()=>{i==null||i({muted:!0})},[i]),I=ue.useCallback(()=>{i==null||i({muted:!1})},[i]),E=()=>{const P=u==null?void 0:u.current;if(P)if(c)P.pause(),u.current&&Up(u.current);else{const A=u==null?void 0:u.current;if(!A)return;XS(),vF(A),A.play().catch(F=>console.log(F)),k(!1)}},x=()=>{var P;u.current&&Up(u.current),(P=u==null?void 0:u.current)==null||P.load(),k(!0)};return ue.useEffect(()=>{u.current&&Up(u.current)},[]),ue.useEffect(()=>{const P=u==null?void 0:u.current;return()=>{P&&(P.paused||I(),Up(P))}},[I]),R.jsxs(mF,{onClick:E,children:[R.jsx(pF,{ref:u,src:r,onPlay:()=>{S(),p(!0)},onPause:()=>{I(),p(!1)},onEnded:()=>{I(),p(!1),x()},style:{visibility:m?"hidden":"visible"},playsInline:!0}),R.jsx(hF,{src:n,style:{visibility:m?"visible":"hidden"}}),R.jsx(gF,{children:!c&&R.jsx(Mt,{name:"icon-play"})})]})},kF=U("div")({name:"Container",class:"cgn5uen",propsAsIs:!1}),bF=U("div")({name:"Content",class:"c1px8nt6",propsAsIs:!1}),TF=U("h3")({name:"Title",class:"t5et2jt",propsAsIs:!1}),SF=U("div")({name:"Description",class:"d1i2kpk2",propsAsIs:!1}),wF=U("img")({name:"Image",class:"id3lh3p",propsAsIs:!1}),EF=U("div")({name:"ImageContainer",class:"i1gfjeu5",propsAsIs:!1}),ew=({instantView:n,isDetail:r,notification:i,controlVideo:u})=>{const c=n==null?void 0:n.heading,p=n==null?void 0:n.body,m=c||p,k=i==null?void 0:i.title,S=i==null?void 0:i.body;return R.jsxs(kF,{children:[(n==null?void 0:n.video)&&R.jsx(v9,{source:n.video.url,poster:n.video.thumbnailUrl,controlVideo:u}),(n==null?void 0:n.image)&&!(n!=null&&n.video)&&R.jsx(EF,{"data-rounded":n.imageMode===$r.ROUNDED,children:R.jsx(wF,{src:n==null?void 0:n.image})}),R.jsxs(bF,{children:[R.jsx(TF,{children:r&&m?c:k}),R.jsx(SF,{children:r&&m?p:S})]})]})},CF=U("div")({name:"Container",class:"c1euiow",propsAsIs:!1}),_F=U("a")({name:"WebLinkBtn",class:"w19zie3h",propsAsIs:!1}),RF=({instantView:n,...r})=>R.jsxs(CF,{children:[R.jsx(ew,{instantView:n,...r,isDetail:!0}),(n==null?void 0:n.webLink)&&R.jsxs(_F,{href:n==null?void 0:n.webLink.url,target:"_blank",children:[n==null?void 0:n.webLink.label,R.jsx(Mt,{name:"icon-external-link"})]})]}),IF=U("div")({name:"Container",class:"cjq447q",propsAsIs:!1}),NF=U("div")({name:"ImageContainer",class:"i14egogb",propsAsIs:!1}),LF=U("img")({name:"Image",class:"i2g9g4l",propsAsIs:!1}),xF=()=>Mt,OF=U(xF())({name:"TwitterIcon",class:"t1c454nm",propsAsIs:!0}),AF=U("div")({name:"Details",class:"d11nigc3",propsAsIs:!1}),PF=U("div")({name:"Name",class:"nrxa4k8",propsAsIs:!1}),MF=U("div")({name:"UserNameAndDate",class:"u1p051g3",propsAsIs:!1}),DF=({image:n,name:r,userName:i,verified:u,createdTweet:c})=>{const p=c&&eD(c);return R.jsxs(IF,{children:[n&&R.jsxs(NF,{children:[R.jsx(LF,{src:n}),R.jsx(OF,{name:"twitter"})]}),R.jsxs(AF,{children:[r&&R.jsxs(PF,{children:[r," ",u&&R.jsx(Mt,{name:"icon-twitter-verified"})]}),i&&R.jsxs(MF,{children:["@",i," ",p&&`・ ${p}`]})]})]})},UF=U("div")({name:"Container",class:"c1kzqw87",propsAsIs:!1}),FF=U("div")({name:"Details",class:"d9r1hf9",propsAsIs:!1}),jF=U("div")({name:"Body",class:"bezygt5",propsAsIs:!1}),Op=U("div")({name:"ImagesContainer",class:"i1y8f7ym",propsAsIs:!1}),K8=U("div")({name:"ImagesBlock",class:"i18gwonx",propsAsIs:!1}),tw=U("img")({name:"Image",class:"i3g0xjd",propsAsIs:!1}),VF=()=>tw,ru=U(VF())({name:"ImageFullSize",class:"io8rt7p",propsAsIs:!0}),BF=()=>tw,Z8=U(BF())({name:"ImageHalfSize",class:"i4hn3ox",propsAsIs:!0}),zF=new RegExp("\\s?https?://t.co[^\\s]+(\\s+)?$"),$F=n=>n==null?void 0:n.replace(zF,""),k9=({image:n,body:r,account:i,accountVerified:u,tweet:c,isDetail:p,controlVideo:m})=>{var k,S,I,E,x,P,A,F,V;const $=(S=(k=c==null?void 0:c.meta)==null?void 0:k.extendedEntities)==null?void 0:S.media,B=$==null?void 0:$.find(({type:X})=>X==="photo"),H=(P=(x=(E=(I=$==null?void 0:$[0])==null?void 0:I.videoInfo)==null?void 0:E.variants)==null?void 0:x.find(({contentType:X})=>X==="video/mp4"))==null?void 0:P.url;return R.jsxs(UF,{children:[R.jsxs(FF,{children:[R.jsx(DF,{image:n,name:(A=c==null?void 0:c.meta)==null?void 0:A.accountName,userName:i,verified:u,createdTweet:c==null?void 0:c.date}),R.jsx(jF,{children:$F(r)}),!p&&B&&R.jsx(Op,{children:R.jsx(ru,{src:$==null?void 0:$[0].mediaUrlHttps})}),p&&B&&R.jsxs(R.Fragment,{children:[($==null?void 0:$.length)===1&&R.jsx(Op,{children:R.jsx(ru,{src:$[0].mediaUrlHttps})}),($==null?void 0:$.length)===2&&R.jsxs(Op,{children:[R.jsx(Z8,{src:$[0].mediaUrlHttps}),R.jsx(Z8,{src:$[1].mediaUrlHttps})]}),($==null?void 0:$.length)===3&&R.jsxs(Op,{children:[R.jsx(Z8,{src:$[0].mediaUrlHttps}),R.jsxs(K8,{children:[R.jsx(ru,{src:$[1].mediaUrlHttps}),R.jsx(ru,{src:$[2].mediaUrlHttps})]})]}),($==null?void 0:$.length)===4&&R.jsxs(Op,{children:[R.jsxs(K8,{children:[R.jsx(ru,{src:$[0].mediaUrlHttps}),R.jsx(ru,{src:$[1].mediaUrlHttps})]}),R.jsxs(K8,{children:[R.jsx(ru,{src:$[2].mediaUrlHttps}),R.jsx(ru,{src:$[3].mediaUrlHttps})]})]})]})]}),!B&&(((F=$==null?void 0:$[0])==null?void 0:F.type)==="video"||((V=$==null?void 0:$[0])==null?void 0:V.type)==="animated_gif")&&H&&R.jsx(v9,{source:H,poster:$[0].mediaUrlHttps,controlVideo:m})]})},HF=U("div")({name:"Container",class:"c1dcxmvf",propsAsIs:!1}),GF=U("blockquote")({name:"Quote",class:"qb4q22c",propsAsIs:!1}),qF=n=>R.jsxs(HF,{children:[n.title&&R.jsx(GF,{children:n.title}),R.jsx(k9,{...n,isDetail:!0})]}),WF=U("div")({name:"QuestionContainer",class:"qdri6g3",propsAsIs:!1}),QF=({openedQuestion:n})=>{var r,i;const{sdk:u}=h9();return((r=n==null?void 0:n.attributes)==null?void 0:r.attributes.case)==="insight"?R.jsx(RF,{...n.attributes.attributes.value,controlVideo:u==null?void 0:u.controlVideoPlayer}):((i=n==null?void 0:n.attributes)==null?void 0:i.attributes.case)==="tweet"?R.jsx(qF,{...n.attributes.attributes.value,controlVideo:u==null?void 0:u.controlVideoPlayer}):null},YF=({extendedQuestion:n,vote:r,close:i})=>{const{loading:u,data:c}=n;return c?R.jsx(fF,{vote:r,close:i,openedQuestion:c,isLoading:!!u}):null},KF=({gamification:n})=>{var r;const i=kn(n.openedQuestion.$store),u=kn(n.openedQuestion.$extendedStore);if(!i)return null;const c=i.type;return R.jsxs(WF,{children:[R.jsx(MS,{close:n.closeQuestion,type:((r=i.attributes)==null?void 0:r.type)||$e.UNSET}),c==="question"&&R.jsx(YF,{vote:n.submitAnswer,close:n.closeQuestion,extendedQuestion:u}),c!=="question"&&R.jsx(QF,{openedQuestion:i}),R.jsx($D,{sponsorLogo:""})]})};var nw="Expected a function",ib=NaN,ZF="[object Symbol]",JF=/^\s+|\s+$/g,XF=/^[-+]0x[0-9a-f]+$/i,ej=/^0b[01]+$/i,tj=/^0o[0-7]+$/i,nj=parseInt,aj=typeof dg=="object"&&dg&&dg.Object===Object&&dg,rj=typeof self=="object"&&self&&self.Object===Object&&self,oj=aj||rj||Function("return this")(),sj=Object.prototype,ij=sj.toString,lj=Math.max,uj=Math.min,J8=function(){return oj.Date.now()};function cj(n,r,i){var u,c,p,m,k,S,I=0,E=!1,x=!1,P=!0;if(typeof n!="function")throw new TypeError(nw);r=lb(r)||0,Fg(i)&&(E=!!i.leading,x="maxWait"in i,p=x?lj(lb(i.maxWait)||0,r):p,P="trailing"in i?!!i.trailing:P);function A(fe){var ce=u,Le=c;return u=c=void 0,I=fe,m=n.apply(Le,ce),m}function F(fe){return I=fe,k=setTimeout(B,r),E?A(fe):m}function V(fe){var ce=fe-S,Le=fe-I,_e=r-ce;return x?uj(_e,p-Le):_e}function $(fe){var ce=fe-S,Le=fe-I;return S===void 0||ce>=r||ce<0||x&&Le>=p}function B(){var fe=J8();if($(fe))return H(fe);k=setTimeout(B,V(fe))}function H(fe){return k=void 0,P&&u?A(fe):(u=c=void 0,m)}function X(){k!==void 0&&clearTimeout(k),I=0,u=S=c=k=void 0}function ee(){return k===void 0?m:H(J8())}function ie(){var fe=J8(),ce=$(fe);if(u=arguments,c=this,S=fe,ce){if(k===void 0)return F(S);if(x)return k=setTimeout(B,r),A(S)}return k===void 0&&(k=setTimeout(B,r)),m}return ie.cancel=X,ie.flush=ee,ie}function dj(n,r,i){var u=!0,c=!0;if(typeof n!="function")throw new TypeError(nw);return Fg(i)&&(u="leading"in i?!!i.leading:u,c="trailing"in i?!!i.trailing:c),cj(n,r,{leading:u,maxWait:r,trailing:c})}function Fg(n){var r=typeof n;return!!n&&(r=="object"||r=="function")}function fj(n){return!!n&&typeof n=="object"}function mj(n){return typeof n=="symbol"||fj(n)&&ij.call(n)==ZF}function lb(n){if(typeof n=="number")return n;if(mj(n))return ib;if(Fg(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=Fg(r)?r+"":r}if(typeof n!="string")return n===0?n:+n;n=n.replace(JF,"");var i=ej.test(n);return i||tj.test(n)?nj(n.slice(2),i?2:8):XF.test(n)?ib:+n}var pj=dj;const P4=qS(pj);let hj=Symbol("clean"),yr=[],gj=(n,r)=>{let i=[],u={get(){return u.lc||u.listen(()=>{})(),u.value},l:r||0,lc:0,listen(c,p){return u.lc=i.push(c,p||u.l)/2,()=>{let m=i.indexOf(c);~m&&(i.splice(m,2),--u.lc||u.off())}},notify(c){let p=!yr.length;for(let m=0;m<i.length;m+=2)yr.push(i[m],i[m+1],u.value,c);if(p){for(let m=0;m<yr.length;m+=4){let k;for(let S=m+1;!k&&(S+=4)<yr.length;)yr[S]<yr[m+1]&&(k=yr.push(yr[m],yr[m+1],yr[m+2],yr[m+3]));k||yr[m](yr[m+2],yr[m+3])}yr.length=0}},off(){},set(c){u.value!==c&&(u.value=c,u.notify())},subscribe(c,p){let m=u.listen(c,p);return c(u.value),m},value:n};return df.env.NODE_ENV!=="production"&&(u[hj]=()=>{i=[],u.lc=0,u.off()}),u},aw=(n={})=>{let r=gj(n);return r.setKey=function(i,u){typeof u>"u"?i in r.value&&(r.value={...r.value},delete r.value[i],r.notify(i)):r.value[i]!==u&&(r.value={...r.value,[i]:u},r.notify(i))},r};const b9=(n,r)=>{var i;(i=n.current)==null||i.scrollIntoView(r),window.scrollBy({top:-52})},yj=(n,r)=>{const i=ue.useRef(null),u=ue.useRef(0),[c]=ue.useState(aw({scrollPosition:0,tabsShown:!0,scrollDirection:"forward"})),p=kn(r);return ue.useEffect(()=>{const m=window.innerWidth<lo.xl?window:i.current;if(!m)return()=>{};const k=P4(S=>{var I;const E=S.target;if(!E)return;let x=0;p.screen.size<lo.xl?x=((I=n.current)==null?void 0:I.getBoundingClientRect().y)||0:x=E.scrollTop;const P=u.current<x?"forward":"backward";u.current=x,c.set({scrollPosition:Math.round(x),scrollDirection:P,tabsShown:c.get().tabsShown})},200);return m.addEventListener("scroll",k),()=>{m.removeEventListener("scroll",k)}},[c,n,p.screen]),[i,c]},vj=U("div")({name:"Container",class:"c115qtkr",propsAsIs:!1}),kj=U("div")({name:"STabs",class:"sxnslc8",propsAsIs:!1}),bj=U("button")({name:"Button",class:"b1umzux0",propsAsIs:!1}),Tj=U("span")({name:"Title",class:"tspsaas",propsAsIs:!1});var Cg=(n=>(n.HOME="home",n.LEADERBOARD="leaderboard",n))(Cg||{});const ub=({title:n,active:r,onClick:i})=>R.jsx(bj,{onClick:i,"data-selected":r,children:R.jsx(Tj,{children:n})}),Sj=({activePage:n="home",toggleActivePage:r})=>R.jsx(vj,{children:R.jsxs(kj,{"data-position":n==="home"?"left":"right",children:[R.jsx(ub,{title:"Home",active:n==="home",onClick:()=>r("home")}),R.jsx(ub,{title:"Friends",active:n==="leaderboard",onClick:()=>r("leaderboard")})]})}),wj=U("button")({name:"Container",class:"cpjnajb",propsAsIs:!1}),Ej=U("div")({name:"Content",class:"c4m6kaz",propsAsIs:!1}),Cj=U("span")({name:"Title",class:"t1h8t9cc",propsAsIs:!1}),_j=()=>R.jsx(wj,{children:R.jsxs(Ej,{children:[R.jsx(Mt,{name:"iconCopySuccess"}),R.jsx(Cj,{children:"Link Copied to Clipboard"})]})}),rw=n=>{const r=ue.useRef(),[i,u]=ue.useState(null),c=ue.useCallback(async p=>{var m;if(p&&(m=navigator==null?void 0:navigator.clipboard)!=null&&m.writeText){r.current&&(clearTimeout(r.current),u(null));try{await navigator.clipboard.writeText(p),n.current&&(u(Mg.createPortal(R.jsx(_j,{}),n.current)),r.current=setTimeout(()=>{u(null)},1e3))}catch(k){console.error("Unable to copy to clipboard",k)}}},[n]);return ue.useEffect(()=>()=>{clearTimeout(r.current)},[]),[c,i]},Rj=U("div")({name:"Container",class:"c1ux29ft",propsAsIs:!1}),Ij=U("img")({name:"FriendsIcon",class:"f10ncfg2",propsAsIs:!1}),Nj=U("div")({name:"Content",class:"c1yc07bd",propsAsIs:!1}),Lj=U("div")({name:"Title",class:"tj6cq7w",propsAsIs:!1}),xj=U("div")({name:"Description",class:"d1ag78xo",propsAsIs:!1}),Oj=()=>Mt,Aj=U(Oj())({name:"ArrowInviteIcon",class:"awohrz6",propsAsIs:!0}),Pj="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='16'%20fill='white'/%3e%3cpath%20d='M10.4615%2012.6875C9.44231%2012.6875%208.61538%2013.4665%208.61538%2014.4266C8.61538%2015.3868%209.44231%2016.1658%2010.4615%2016.1658C11.4808%2016.1658%2012.3077%2015.3868%2012.3077%2014.4266C12.3077%2013.4665%2011.4808%2012.6875%2010.4615%2012.6875ZM10.4615%2016.1658C9.10817%2016.1658%208%2017.2097%208%2018.4846V19.7527C8%2019.7527%208.61538%2020.2237%2010.4615%2020.2237C12.3077%2020.2237%2012.9231%2019.7527%2012.9231%2019.7527V18.4846C12.9231%2017.2097%2011.8149%2016.1658%2010.4615%2016.1658ZM21.5385%2012.6875C20.5192%2012.6875%2019.6923%2013.4665%2019.6923%2014.4266C19.6923%2015.3868%2020.5192%2016.1658%2021.5385%2016.1658C22.5577%2016.1658%2023.3846%2015.3868%2023.3846%2014.4266C23.3846%2013.4665%2022.5577%2012.6875%2021.5385%2012.6875ZM21.5385%2016.1658C20.1851%2016.1658%2019.0769%2017.2097%2019.0769%2018.4846V19.7527C19.0769%2019.7527%2019.6923%2020.2237%2021.5385%2020.2237C23.3846%2020.2237%2024%2019.7527%2024%2019.7527V18.4846C24%2017.2097%2022.8918%2016.1658%2021.5385%2016.1658ZM16%2015.0063C14.9808%2015.0063%2014.1538%2015.7853%2014.1538%2016.7455C14.1538%2017.7056%2014.9808%2018.4846%2016%2018.4846C17.0192%2018.4846%2017.8462%2017.7056%2017.8462%2016.7455C17.8462%2015.7853%2017.0192%2015.0063%2016%2015.0063ZM16%2018.4846C14.6466%2018.4846%2013.5385%2019.5285%2013.5385%2020.8034V22.0715C13.5385%2022.0715%2014.1538%2022.5425%2016%2022.5425C17.8462%2022.5425%2018.4615%2022.0715%2018.4615%2022.0715V20.8034C18.4615%2019.5285%2017.3534%2018.4846%2016%2018.4846Z'%20fill='%23107D57'/%3e%3cpath%20opacity='0.5'%20d='M13.3908%209C12.3103%209%2011.4336%209.82584%2011.4336%2010.8437C11.4336%2011.8616%2012.3103%2012.6875%2013.3908%2012.6875C14.4713%2012.6875%2015.348%2011.8616%2015.348%2010.8437C15.348%209.82584%2014.4713%209%2013.3908%209ZM13.3908%2012.6875C13.1946%2012.6875%2012.9958%2012.6827%2012.7996%2012.7451C13.192%2013.2372%2013.3908%2013.8542%2013.3908%2014.5312C13.3908%2014.7761%2013.3296%2015.0161%2013.3296%2015.261C13.8521%2014.524%2014.6956%2014.0391%2015.6742%2013.9166C15.218%2013.1796%2014.3694%2012.6875%2013.3908%2012.6875ZM18.61%209C17.5295%209%2016.6528%209.82584%2016.6528%2010.8437C16.6528%2011.8616%2017.5295%2012.6875%2018.61%2012.6875C19.6905%2012.6875%2020.5672%2011.8616%2020.5672%2010.8437C20.5672%209.82584%2019.6905%209%2018.61%209ZM18.61%2012.6875C17.6314%2012.6875%2016.7828%2013.1796%2016.3266%2013.9166C17.3052%2014.0391%2018.1487%2014.524%2018.6712%2015.261C18.6712%2015.0161%2018.61%2014.7761%2018.61%2014.5312C18.61%2013.8542%2018.8088%2013.2372%2019.2012%2012.7451C19.005%2012.6827%2018.8062%2012.6875%2018.61%2012.6875Z'%20fill='%23107D57'/%3e%3c/svg%3e",Mj=({title:n,description:r,onClick:i,className:u})=>R.jsxs(Rj,{onClick:i,className:u,children:[R.jsx(Ij,{alt:"friends-icon",src:Pj}),R.jsxs(Nj,{children:[R.jsx(Lj,{children:n}),R.jsx(xj,{children:r})]}),R.jsx(Aj,{name:"icon-copy"})]}),M4=globalThis||void 0||self;let Ro;typeof window<"u"?Ro=window:typeof self<"u"?Ro=self:Ro=M4;let D4=null,U4=null;const cb=20,X8=Ro.clearTimeout,db=Ro.setTimeout,e4=Ro.cancelAnimationFrame||Ro.mozCancelAnimationFrame||Ro.webkitCancelAnimationFrame,fb=Ro.requestAnimationFrame||Ro.mozRequestAnimationFrame||Ro.webkitRequestAnimationFrame;e4==null||fb==null?(D4=X8,U4=function(r){return db(r,cb)}):(D4=function([r,i]){e4(r),X8(i)},U4=function(r){const i=fb(function(){X8(u),r()}),u=db(function(){e4(i),r()},cb);return[i,u]});function Dj(n){let r,i,u,c,p,m,k;const S=typeof document<"u"&&document.attachEvent;if(!S){m=function(B){const H=B.__resizeTriggers__,X=H.firstElementChild,ee=H.lastElementChild,ie=X.firstElementChild;ee.scrollLeft=ee.scrollWidth,ee.scrollTop=ee.scrollHeight,ie.style.width=X.offsetWidth+1+"px",ie.style.height=X.offsetHeight+1+"px",X.scrollLeft=X.scrollWidth,X.scrollTop=X.scrollHeight},p=function(B){return B.offsetWidth!==B.__resizeLast__.width||B.offsetHeight!==B.__resizeLast__.height},k=function(B){if(B.target.className&&typeof B.target.className.indexOf=="function"&&B.target.className.indexOf("contract-trigger")<0&&B.target.className.indexOf("expand-trigger")<0)return;const H=this;m(this),this.__resizeRAF__&&D4(this.__resizeRAF__),this.__resizeRAF__=U4(function(){p(H)&&(H.__resizeLast__.width=H.offsetWidth,H.__resizeLast__.height=H.offsetHeight,H.__resizeListeners__.forEach(function(ie){ie.call(H,B)}))})};let P=!1,A="";u="animationstart";const F="Webkit Moz O ms".split(" ");let V="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),$="";{const B=document.createElement("fakeelement");if(B.style.animationName!==void 0&&(P=!0),P===!1){for(let H=0;H<F.length;H++)if(B.style[F[H]+"AnimationName"]!==void 0){$=F[H],A="-"+$.toLowerCase()+"-",u=V[H],P=!0;break}}}i="resizeanim",r="@"+A+"keyframes "+i+" { from { opacity: 0; } to { opacity: 0; } } ",c=A+"animation: 1ms "+i+"; "}const I=function(P){if(!P.getElementById("detectElementResize")){const A=(r||"")+".resize-triggers { "+(c||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',F=P.head||P.getElementsByTagName("head")[0],V=P.createElement("style");V.id="detectElementResize",V.type="text/css",n!=null&&V.setAttribute("nonce",n),V.styleSheet?V.styleSheet.cssText=A:V.appendChild(P.createTextNode(A)),F.appendChild(V)}};return{addResizeListener:function(P,A){if(S)P.attachEvent("onresize",A);else{if(!P.__resizeTriggers__){const F=P.ownerDocument,V=Ro.getComputedStyle(P);V&&V.position==="static"&&(P.style.position="relative"),I(F),P.__resizeLast__={},P.__resizeListeners__=[],(P.__resizeTriggers__=F.createElement("div")).className="resize-triggers";const $=F.createElement("div");$.className="expand-trigger",$.appendChild(F.createElement("div"));const B=F.createElement("div");B.className="contract-trigger",P.__resizeTriggers__.appendChild($),P.__resizeTriggers__.appendChild(B),P.appendChild(P.__resizeTriggers__),m(P),P.addEventListener("scroll",k,!0),u&&(P.__resizeTriggers__.__animationListener__=function(X){X.animationName===i&&m(P)},P.__resizeTriggers__.addEventListener(u,P.__resizeTriggers__.__animationListener__))}P.__resizeListeners__.push(A)}},removeResizeListener:function(P,A){if(S)P.detachEvent("onresize",A);else if(P.__resizeListeners__.splice(P.__resizeListeners__.indexOf(A),1),!P.__resizeListeners__.length){P.removeEventListener("scroll",k,!0),P.__resizeTriggers__.__animationListener__&&(P.__resizeTriggers__.removeEventListener(u,P.__resizeTriggers__.__animationListener__),P.__resizeTriggers__.__animationListener__=null);try{P.__resizeTriggers__=!P.removeChild(P.__resizeTriggers__)}catch{}}}}}class Uj extends ue.Component{constructor(...r){super(...r),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:i,disableWidth:u,onResize:c}=this.props;if(this._parentNode){var p,m,k,S;const I=window.getComputedStyle(this._parentNode)||{},E=parseFloat((p=I.paddingLeft)!==null&&p!==void 0?p:"0"),x=parseFloat((m=I.paddingRight)!==null&&m!==void 0?m:"0"),P=parseFloat((k=I.paddingTop)!==null&&k!==void 0?k:"0"),A=parseFloat((S=I.paddingBottom)!==null&&S!==void 0?S:"0"),F=this._parentNode.getBoundingClientRect(),V=F.height-P-A,$=F.width-E-x,B=this._parentNode.offsetHeight-P-A,H=this._parentNode.offsetWidth-E-x;(!i&&(this.state.height!==B||this.state.scaledHeight!==V)||!u&&(this.state.width!==H||this.state.scaledWidth!==$))&&(this.setState({height:B,width:H,scaledHeight:V,scaledWidth:$}),typeof c=="function"&&c({height:B,scaledHeight:V,scaledWidth:$,width:H}))}},this._setRef=i=>{this._autoSizer=i}}componentDidMount(){const{nonce:r}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._parentNode!=null&&(typeof ResizeObserver<"u"?(this._resizeObserver=new ResizeObserver(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=Dj(r),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:r,defaultHeight:i,defaultWidth:u,disableHeight:c=!1,disableWidth:p=!1,nonce:m,onResize:k,style:S={},tagName:I="div",...E}=this.props,{height:x,scaledHeight:P,scaledWidth:A,width:F}=this.state,V={overflow:"visible"},$={};let B=!1;return c||(x===0&&(B=!0),V.height=0,$.height=x,$.scaledHeight=P),p||(F===0&&(B=!0),V.width=0,$.width=F,$.scaledWidth=A),ue.createElement(I,{ref:this._setRef,style:{...V,...S},...E},!B&&r($))}}function Fj(n){var r=n.lastRenderedStartIndex,i=n.lastRenderedStopIndex,u=n.startIndex,c=n.stopIndex;return!(u>i||c<r)}function jj(n){for(var r=n.isItemLoaded,i=n.itemCount,u=n.minimumBatchSize,c=n.startIndex,p=n.stopIndex,m=[],k=null,S=null,I=c;I<=p;I++){var E=r(I);E?S!==null&&(m.push(k,S),k=S=null):(S=I,k===null&&(k=I))}if(S!==null){for(var x=Math.min(Math.max(S,k+u-1),i-1),P=S+1;P<=x&&!r(P);P++)S=P;m.push(k,S)}if(m.length)for(;m[1]-m[0]+1<u&&m[0]>0;){var A=m[0]-1;if(!r(A))m[0]=A;else break}return m}var Vj=function(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")},Bj=function(){function n(r,i){for(var u=0;u<i.length;u++){var c=i[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,i,u){return i&&n(r.prototype,i),u&&n(r,u),r}}(),zj=function(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)},mb=function(n,r){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n};(function(n){zj(r,n);function r(){var i,u,c,p;Vj(this,r);for(var m=arguments.length,k=Array(m),S=0;S<m;S++)k[S]=arguments[S];return p=(u=(c=mb(this,(i=r.__proto__||Object.getPrototypeOf(r)).call.apply(i,[this].concat(k))),c),c._lastRenderedStartIndex=-1,c._lastRenderedStopIndex=-1,c._memoizedUnloadedRanges=[],c._onItemsRendered=function(I){var E=I.visibleStartIndex,x=I.visibleStopIndex;c._lastRenderedStartIndex=E,c._lastRenderedStopIndex=x,c._ensureRowsLoaded(E,x)},c._setRef=function(I){c._listRef=I},u),mb(c,p)}return Bj(r,[{key:"resetloadMoreItemsCache",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],u&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var u=this.props.children;return u({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(u,c){var p=this.props,m=p.isItemLoaded,k=p.itemCount,S=p.minimumBatchSize,I=S===void 0?10:S,E=p.threshold,x=E===void 0?15:E,P=jj({isItemLoaded:m,itemCount:k,minimumBatchSize:I,startIndex:Math.max(0,u-x),stopIndex:Math.min(k-1,c+x)});(this._memoizedUnloadedRanges.length!==P.length||this._memoizedUnloadedRanges.some(function(A,F){return P[F]!==A}))&&(this._memoizedUnloadedRanges=P,this._loadUnloadedRanges(P))}},{key:"_loadUnloadedRanges",value:function(u){for(var c=this,p=this.props.loadMoreItems||this.props.loadMoreRows,m=function(I){var E=u[I],x=u[I+1],P=p(E,x);P!=null&&P.then(function(){if(Fj({lastRenderedStartIndex:c._lastRenderedStartIndex,lastRenderedStopIndex:c._lastRenderedStopIndex,startIndex:E,stopIndex:x})){if(c._listRef==null)return;typeof c._listRef.resetAfterIndex=="function"?c._listRef.resetAfterIndex(E,!0):(typeof c._listRef._getItemStyleCache=="function"&&c._listRef._getItemStyleCache(-1),c._listRef.forceUpdate())}})},k=0;k<u.length;k+=2)m(k)}}]),r})(ue.PureComponent);const $j=U("div")({name:"Container",class:"culdu4a",propsAsIs:!1}),Hj=U("div")({name:"Position",class:"pwf8e69",propsAsIs:!1}),Gj=U("img")({name:"Avatar",class:"atf4yh4",propsAsIs:!1}),qj=U("div")({name:"AvatarPlaceholder",class:"a1dg29ja",propsAsIs:!1}),Wj=U("div")({name:"Content",class:"c10a68rc",propsAsIs:!1}),Qj=U("div")({name:"NameContainer",class:"nc4kck5",propsAsIs:!1}),Yj=U("span")({name:"Name",class:"njsrqgr",propsAsIs:!1}),Kj=()=>Mt,Zj=U(Kj())({name:"CurrentUserBadge",class:"c17uc4zr",propsAsIs:!0});var ow={exports:{}},Jj="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Xj=Jj,eV=Xj;function sw(){}function iw(){}iw.resetWarningCache=sw;var tV=function(){function n(u,c,p,m,k,S){if(S!==eV){var I=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw I.name="Invariant Violation",I}}n.isRequired=n;function r(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:iw,resetWarningCache:sw};return i.PropTypes=i,i};ow.exports=tV();var nV=ow.exports;const io=qS(nV);class F4 extends ue.Component{constructor(r){super(r),this.scrollListener=this.scrollListener.bind(this),this.eventListenerOptions=this.eventListenerOptions.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this)}componentDidMount(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}componentDidUpdate(){if(this.props.isReverse&&this.loadMore){const r=this.getParentElement(this.scrollComponent);r.scrollTop=r.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}componentWillUnmount(){this.detachScrollListener(),this.detachMousewheelListener()}isPassiveSupported(){let r=!1;const i={get passive(){r=!0}};try{document.addEventListener("test",null,i),document.removeEventListener("test",null,i)}catch{}return r}eventListenerOptions(){let r=this.props.useCapture;return this.isPassiveSupported()?r={useCapture:this.props.useCapture,passive:!0}:r={passive:!1},r}setDefaultLoader(r){this.defaultLoader=r}detachMousewheelListener(){let r=window;this.props.useWindow===!1&&(r=this.scrollComponent.parentNode),r.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}detachScrollListener(){let r=window;this.props.useWindow===!1&&(r=this.getParentElement(this.scrollComponent)),r.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),r.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}getParentElement(r){const i=this.props.getScrollParent&&this.props.getScrollParent();return i??(r&&r.parentNode)}filterProps(r){return r}attachScrollListener(){const r=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!r)return;let i=window;this.props.useWindow===!1&&(i=r),i.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),i.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),i.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}mousewheelListener(r){r.deltaY===1&&!this.isPassiveSupported()&&r.preventDefault()}scrollListener(){const r=this.scrollComponent,i=window,u=this.getParentElement(r);let c;if(this.props.useWindow){const p=document.documentElement||document.body.parentNode||document.body,m=i.pageYOffset!==void 0?i.pageYOffset:p.scrollTop;this.props.isReverse?c=m:c=this.calculateOffset(r,m)}else this.props.isReverse?c=u.scrollTop:c=r.scrollHeight-u.scrollTop-u.clientHeight;c<Number(this.props.threshold)&&r&&r.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=u.scrollHeight,this.beforeScrollTop=u.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}calculateOffset(r,i){return r?this.calculateTopPosition(r)+(r.offsetHeight-i-window.innerHeight):0}calculateTopPosition(r){return r?r.offsetTop+this.calculateTopPosition(r.offsetParent):0}render(){const r=this.filterProps(this.props),{children:i,element:u,hasMore:c,initialLoad:p,isReverse:m,loader:k,loadMore:S,pageStart:I,ref:E,threshold:x,useCapture:P,useWindow:A,getScrollParent:F,...V}=r;V.ref=B=>{this.scrollComponent=B,E&&E(B)};const $=[i];return c&&(k?m?$.unshift(k):$.push(k):this.defaultLoader&&(m?$.unshift(this.defaultLoader):$.push(this.defaultLoader))),ue.createElement(u,V,$)}}Z(F4,"propTypes",{children:io.node.isRequired,element:io.node,hasMore:io.bool,initialLoad:io.bool,isReverse:io.bool,loader:io.node,loadMore:io.func.isRequired,pageStart:io.number,ref:io.func,getScrollParent:io.func,threshold:io.number,useCapture:io.bool,useWindow:io.bool}),Z(F4,"defaultProps",{element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null});const aV=({rank:n,avatar:r,name:i,points:u,isCurrentUser:c,openItemDetail:p,style:m})=>R.jsxs($j,{onClick:p,style:m,children:[R.jsx(Hj,{children:n||0}),R.jsxs(Wj,{children:[r?R.jsx(Gj,{alt:"leaderboard-item-avatar",src:r}):R.jsx(qj,{children:p9(i||"")}),R.jsxs(Qj,{children:[R.jsx(Yj,{children:i||""}),c&&R.jsx(Zj,{name:"icon-star"})]})]}),R.jsx("div",{children:DS(u)})]}),rV=U("div")({name:"Container",class:"c16btbfp",propsAsIs:!1}),oV=({items:n,currentUserId:r,openItemDetail:i,fetchMore:u,scrollNode:c,hasMore:p})=>R.jsx(F4,{loadMore:u,initialLoad:!1,hasMore:p,useWindow:!1,getScrollParent:()=>c.current,children:R.jsx(rV,{children:n.map(m=>R.jsx(aV,{...m,openItemDetail:()=>i(m.userId),isCurrentUser:!!r&&r===m.userId},m.userId))})}),sV=U("div")({name:"Container",class:"c1itm4k7",propsAsIs:!1}),iV=U("div")({name:"IconContainer",class:"i1w4fsni",propsAsIs:!1}),lV=()=>Mt,uV=U(lV())({name:"InviteGameIcon",class:"i19m85r1",propsAsIs:!0}),cV=U("div")({name:"Content",class:"c1mbu204",propsAsIs:!1}),dV=U("div")({name:"Heading",class:"h1amdqtv",propsAsIs:!1}),fV=U("div")({name:"Subtext",class:"s1lhlj9j",propsAsIs:!1}),mV=U("div")({name:"LinkContainer",class:"l1wot35e",propsAsIs:!1}),pV=U("div")({name:"LinkInfo",class:"l1jdw39q",propsAsIs:!1}),hV=U("span")({name:"LinkTitle",class:"l1cr5mk",propsAsIs:!1}),gV=U("span")({name:"LinkAddress",class:"lvi87q4",propsAsIs:!1}),yV=()=>Mt,vV=U(yV())({name:"LinkIcon",class:"l1pqlvw3",propsAsIs:!0}),kV=U("div")({name:"SocialLinksContainer",class:"s1n7kzeh",propsAsIs:!1}),bV=U("a")({name:"SocialLink",class:"s2m9o9y",propsAsIs:!1}),TV=U("span")({name:"SocialLinkLabel",class:"sewjbbn",propsAsIs:!1}),lw=({renderToNode:n,inviteLink:r,socialLinks:i,inviteCardTitle:u,inviteCardSubtext:c,primaryColor:p,className:m})=>{const[k,S]=rw(n);return R.jsxs(sV,{className:m,children:[R.jsx(iV,{style:{backgroundColor:p},children:R.jsx(uV,{name:"invite-game-icon"})}),R.jsxs(cV,{children:[R.jsx(dV,{children:u||""}),R.jsx(fV,{children:c||""})]}),r&&R.jsxs(mV,{onClick:()=>k(r),children:[R.jsxs(pV,{children:[R.jsx(hV,{children:"Invite link"}),R.jsx(gV,{children:r})]}),R.jsx(vV,{name:"icon-copy"})]}),i&&i.length>0&&R.jsx(kV,{children:i.map(({icon:I,link:E,label:x})=>R.jsxs(bV,{href:E,target:"_blank",children:[R.jsx(Mt,{name:I}),R.jsx(TV,{children:x})]},E))}),S]})},SV=U("div")({name:"InviteFriendsContainer",class:"i1xmyxez",propsAsIs:!1}),wV=({renderClipBoardNode:n,deepLink:r})=>R.jsx(SV,{children:R.jsx(lw,{renderToNode:n,inviteLink:r,socialLinks:[{icon:"icon-facebook",link:"https://www.facebook.com/TheMasters",label:"Facebook"},{icon:"icon-twitter",link:"https://twitter.com/@TheMasters",label:"X"}],inviteCardTitle:"It’s More Fun With Friends",inviteCardSubtext:"Invite and compete against your friends for the top spot on the leaderboard."})}),EV=U("div")({name:"InviteLinkContainer",class:"i1chxfpe",propsAsIs:!1}),CV=({gamification:n,scrollNode:r,scrollStore:i,renderClipBoardNode:u})=>{const{data:c,hasMore:p,loading:m,key:k}=kn(n.leaderboardList.$store),{data:S}=kn(n.deepLink.$store),[I,E]=rw(u);return!c.length&&!m?R.jsx(wV,{renderClipBoardNode:u,deepLink:S}):R.jsxs(R.Fragment,{children:[R.jsx(oV,{items:c,scrollNode:r,scrollStore:i,fetchMore:n.leaderboardList.fetchMore,hasMore:p,openItemDetail:n.openUser,currentUserId:n.currentUserId.get()},k),S&&R.jsx(EV,{children:R.jsx(Mj,{onClick:()=>I(S),title:"Invite Friends",description:"Challenge them now!"})}),E]})},_V=U("div")({name:"QuestionItem",class:"q1w97g3p",propsAsIs:!1}),RV=U("div")({name:"QuestionCaption",class:"q2sl39u",propsAsIs:!1}),IV=U("div")({name:"QuestionBody",class:"qd5h0uc",propsAsIs:!1}),NV=U("div")({name:"QuestionAction",class:"q105uluy",propsAsIs:!1}),LV=()=>Mt,fg=U(LV())({name:"QuestionActionIcon",class:"q1fa0b9h",propsAsIs:!0}),xV=()=>Mt,OV=U(xV())({name:"QuestionTypeIcon",class:"qxlt78s",propsAsIs:!0}),AV=U("div")({name:"QuestionTypeLabel",class:"qmg0vkx",propsAsIs:!1}),PV=U("div")({name:"QuestionContent",class:"q1uz5j1g",propsAsIs:!1}),MV=U("button")({name:"PlayButton",class:"p1pba9p1",propsAsIs:!1}),DV={[Dp.LOST]:R.jsx(fg,{name:"incorrectVoted"}),[Dp.WON]:R.jsx(fg,{name:"icon-check"}),[Dp.UNSET]:R.jsx(fg,{name:"icon-arrow"}),[Dp.DNP]:R.jsx(fg,{name:"icon-arrow"})},UV=({questionId:n,questionType:r,questionStatus:i,subject:u,openForVoting:c,openQuestion:p,status:m})=>{const k=Jg[r],S=DV[m];return k?R.jsxs(_V,{onClick:()=>p==null?void 0:p(n),children:[R.jsxs(PV,{children:[R.jsxs(RV,{children:[R.jsx(OV,{"data-type-trivia":r===$e.TRIVIA,"data-type-poll":r===$e.POLL,name:k.iconName}),R.jsxs(AV,{children:[k.label,r===$e.TRIVIA&&i===Xn.RESOLVED&&" • Expired"]})]}),R.jsx(IV,{children:u||""})]}),R.jsx(NV,{children:c?R.jsx(MV,{children:"Play"}):S})]}):null},FV=U("div")({name:"Container",class:"cll3md7",propsAsIs:!1}),jV=U("button")({name:"ActionBtn",class:"a10g1iik",propsAsIs:!1}),VV=({openInsight:n,questionId:r,...i})=>R.jsxs(FV,{children:[R.jsx(ew,{questionId:r,...i}),n&&R.jsx(jV,{onClick:()=>n(r),children:"View Insight"})]}),BV=U("button")({name:"SButton",class:"s1nve60q",propsAsIs:!1}),zV=U("span")({name:"ButtonLabel",class:"b1xoswwx",propsAsIs:!1}),uw=({disabled:n,variant:r="primary",onClick:i,children:u,...c})=>R.jsx(BV,{onClick:i,disabled:n,"data-variant":r,...c,children:R.jsx(zV,{children:u})}),$V=U("div")({name:"Container",class:"cl56x6b",propsAsIs:!1}),HV=()=>uw,GV=U(HV())({name:"ActionButton",class:"a11pzf92",propsAsIs:!0}),qV=U("blockquote")({name:"Quote",class:"q1hbaleq",propsAsIs:!1}),WV=({openTweet:n,...r})=>R.jsxs($V,{children:[r.title&&R.jsx(qV,{children:r.title}),R.jsx(k9,{...r}),n&&R.jsx(GV,{onClick:()=>n(r.tweetId),children:"View Insight"})]}),QV=U("div")({name:"QuestionsContainer",class:"qvghv3l",propsAsIs:!1}),YV=({questions:n,openQuestion:r,controlVideo:i})=>{const u=c=>{XS(),r(c)};return R.jsx(QV,{children:n==null?void 0:n.map(c=>{var p,m,k;if(c.type==="question"&&((p=c.attributes)==null?void 0:p.attributes.case)==="question"){const S=c.attributes.attributes.value;return R.jsx(UV,{openQuestion:u,...S},S.questionId)}if(c.type==="insight"&&((m=c.attributes)==null?void 0:m.attributes.case)==="insight"){const S=c.attributes.attributes.value;return R.jsx(VV,{openInsight:u,controlVideo:i,...S},S.questionId)}if(c.type==="tweet"&&((k=c.attributes)==null?void 0:k.attributes.case)==="tweet"){const S=c.attributes.attributes.value,I=c.attributes.id;return R.jsx(WV,{openTweet:u,controlVideo:i,...S,tweetId:I},I)}return null})})},KV=({store:n,openQuestion:r})=>{const{sdk:i}=h9(),u=kn(n);return u!=null&&u.data?R.jsx(YV,{openQuestion:r,questions:u.data,controlVideo:i==null?void 0:i.controlVideoPlayer}):R.jsx("div",{children:"wait questions..."})},ZV=({userSummary:n})=>{var r;const[i,u]=ue.useState(void 0);return ue.useEffect(()=>{const c=n.subscribe(p=>{p!=null&&p.data&&u(p.data)});return()=>{c()}},[n]),i!=null&&i.summary?R.jsx(US,{...i.summary,successRate:(r=i.percentage)==null?void 0:r.correct}):R.jsx("div",{children:"wait user..."})},JV=({gamification:n,className:r,scrollStore:i,scrollNode:u,appNode:c,style:p,responsiveStore:m,headerNode:k})=>{const{tabsShown:S}=kn(i,{keys:["tabsShown"]}),[I,E]=ue.useState(Cg.HOME),[,x]=ue.useTransition(),{sdkInDesktopView:P}=kn(m,{keys:["sdkInDesktopView"]}),A=$=>{x(()=>{var B;E($),P===!1&&(((B=c.current)==null?void 0:B.getBoundingClientRect().y)||0)<0&&b9(c,{behavior:"instant"})})};ue.useEffect(()=>i.listen($=>{if($.scrollPosition===0){i.setKey("tabsShown",!0);return}m.get().sdkInDesktopView?i.setKey("tabsShown",$.scrollDirection==="backward"):i.setKey("tabsShown",$.scrollDirection==="forward")}),[i,m]);let F="0px";P?F=S?"0px":"calc(8px - var(--header-height) - var(--header-offset))":F=S?"calc(var(--header-height) + var(--header-offset) - 2px)":"0px";const V=P?c:k;return R.jsxs(GP,{className:r,style:p,children:[R.jsx(YP,{style:{top:F},children:R.jsx(Sj,{activePage:I,toggleActivePage:A})}),I===Cg.HOME&&R.jsxs(R.Fragment,{children:[R.jsx(Zg,{style:{paddingTop:"8px"},children:R.jsx(KP,{children:R.jsx(ZV,{userSummary:n.userSummary})})}),R.jsx(PS,{style:{flex:1},children:R.jsx(KV,{openQuestion:n.openQuestion,store:n.feedList.getStore()})})]}),I===Cg.LEADERBOARD&&R.jsx(WP,{children:R.jsx(CV,{renderClipBoardNode:V,scrollStore:i,scrollNode:u,gamification:n})})]})},XV=()=>Xg,pb=U(XV())({name:"OpenedContainer",class:"oar61gl",propsAsIs:!0}),eB=U("div")({name:"UserContainer",class:"u14zaal4",propsAsIs:!1}),tB=({correct:n,incorrect:r})=>{const i=n+r;return i===0?0:Math.round(n/i*100)},nB=({gamification:n,scrollStore:r,className:i,appNode:u,scrollNode:c,headerNode:p,responsiveStore:m})=>R.jsx(JV,{appNode:u,headerNode:p,scrollStore:r,scrollNode:c,className:i,gamification:n,responsiveStore:m}),aB=({gamification:n,className:r,appNode:i,responsiveStore:u})=>{var c;const p=kn(n.openedQuestion.$store),m=kn(n.openedUser),{sdkInDesktopView:k}=kn(u,{keys:["sdkInDesktopView"]}),S=(((c=i.current)==null?void 0:c.getBoundingClientRect().y)||0)<0;if(!i.current||!p&&!m)return null;const I=p?R.jsx(pb,{className:r,children:R.jsx(KF,{gamification:n})}):m?R.jsx(pb,{className:r,children:R.jsxs(eB,{children:[R.jsx(MS,{label:"Friend's Rank",close:n.closeUser}),R.jsx(Zg,{children:R.jsx(US,{...m,successRate:tB(m)})})]})}):null;return R.jsx(HS,{container:i,useContainer:!k,fixedView:S,children:I})},rB=ue.lazy(()=>Promise.resolve().then(()=>NE)),oB=({sdk:n,feature:r,className:i,scrollStore:u,appNode:c,scrollNode:p,headerNode:m,responsiveStore:k})=>{const S=ue.useMemo(()=>r&&r.featureConfig.get().type===Rn.GAMES?R.jsx(OS,{className:i,sdk:n,feature:r,children:R.jsx(rB,{appNode:c,scrollStore:u,scrollNode:p,headerNode:m,className:i,responsiveStore:k,gamification:r})}):null,[n,r,i,k,u,p,c,m]);return R.jsx(ue.Suspense,{fallback:R.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:"page loading..."}),children:S})},sB=({sdk:n,feature:r,className:i,appNode:u,responsiveStore:c})=>r&&r.featureConfig.get().type===Rn.GAMES?R.jsx(OS,{className:i,sdk:n,feature:r,noWait:!0,children:R.jsx(aB,{appNode:u,className:i,responsiveStore:c,gamification:r})}):null,iB=U("button")({name:"SButton",class:"sxxa0c",propsAsIs:!1}),lB=U("span")({name:"ButtonIcon",class:"b193dcyu",propsAsIs:!1}),uB=U("span")({name:"ButtonLabel",class:"b40tuix",propsAsIs:!1}),cB="s14xk0af",dB="ha3mg7c",fB="h103yr45",cw=({disabled:n,active:r,onClick:i,label:u,icon:c,id:p})=>R.jsx(iB,{onClick:i,disabled:n,className:zp(r&&cB,!r&&(p==="channels"||p==="featuredGroups")&&dB,!r&&p==="leaderboard"&&fB),children:R.jsxs(R.Fragment,{children:[c&&R.jsx(lB,{children:c}),R.jsx(uB,{children:u})]})}),mB=()=>Mt,pB=U(mB())({name:"ButtonIcon",class:"b1whzxvd",propsAsIs:!0}),su="channels",hB=n=>{var r;return R.jsx(cw,{...n,id:"channels",label:"Channels",icon:R.jsx(pB,{name:"icon-btn-channels","data-selected":(r=n.active)==null?void 0:r.toString()})})},gB=()=>Mt,yB=U(gB())({name:"ButtonIcon",class:"b11des7c",propsAsIs:!0}),$i="featuredGroups",vB=n=>{var r;return R.jsx(cw,{...n,label:n.labelFull?"Featured Groups +":"FG+",id:"featuredGroups",icon:R.jsx(yB,{name:"icon-btn-feature-groups","data-selected":(r=n.active)==null?void 0:r.toString()})})},kB="leaderboard",bB=U("div")({name:"Buttons",class:"b6tbwuy",propsAsIs:!1}),TB=({children:n,className:r})=>R.jsx(bB,{className:r,children:n}),SB=U("div")({name:"Navigation",class:"n19lpak2",propsAsIs:!1}),wB=()=>TB,EB=U(wB())({name:"NavigationItems",class:"n1w473c2",propsAsIs:!0}),CB=ue.forwardRef(({activeOverlay:n,setActiveOverlay:r,scrollToTop:i,sdkReady:u,className:c,responsiveStore:p},m)=>{const{screen:k}=kn(p,{keys:["screen"]});return R.jsxs(SB,{className:c,children:[R.jsxs(EB,{children:[R.jsx(hB,{active:n===su,onClick:()=>{r(su),n!==su&&i()}}),R.jsx(vB,{active:n===$i,disabled:!u,onClick:()=>{r($i),n!==$i&&i()},labelFull:k.size>=lo.md&&k.size<lo.xl})]}),R.jsx("div",{ref:m})]})});var T9={exports:{}};function _B(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}var RB=IB;function IB(n,r,i){var u=i&&i.stringify||_B,c=1;if(typeof n=="object"&&n!==null){var p=r.length+c;if(p===1)return n;var m=new Array(p);m[0]=u(n);for(var k=1;k<p;k++)m[k]=u(r[k]);return m.join(" ")}if(typeof n!="string")return n;var S=r.length;if(S===0)return n;for(var I="",E=1-c,x=-1,P=n&&n.length||0,A=0;A<P;){if(n.charCodeAt(A)===37&&A+1<P){switch(x=x>-1?x:0,n.charCodeAt(A+1)){case 100:case 102:if(E>=S||r[E]==null)break;x<A&&(I+=n.slice(x,A)),I+=Number(r[E]),x=A+2,A++;break;case 105:if(E>=S||r[E]==null)break;x<A&&(I+=n.slice(x,A)),I+=Math.floor(Number(r[E])),x=A+2,A++;break;case 79:case 111:case 106:if(E>=S||r[E]===void 0)break;x<A&&(I+=n.slice(x,A));var F=typeof r[E];if(F==="string"){I+="'"+r[E]+"'",x=A+2,A++;break}if(F==="function"){I+=r[E].name||"<anonymous>",x=A+2,A++;break}I+=u(r[E]),x=A+2,A++;break;case 115:if(E>=S)break;x<A&&(I+=n.slice(x,A)),I+=String(r[E]),x=A+2,A++;break;case 37:x<A&&(I+=n.slice(x,A)),I+="%",x=A+2,A++,E--;break}++E}++A}return x===-1?n:(x<P&&(I+=n.slice(x)),I)}const hb=RB;T9.exports=Ji;const $p=$B().console||{},NB={mapHttpRequest:mg,mapHttpResponse:mg,wrapRequestSerializer:t4,wrapResponseSerializer:t4,wrapErrorSerializer:t4,req:mg,res:mg,err:yb,errWithCause:yb};function jg(n,r){return n==="silent"?1/0:r.levels.values[n]}const S9=Symbol("pino.logFuncs"),j4=Symbol("pino.hierarchy"),LB={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function gb(n,r){const i={logger:r,parent:n[j4]};r[j4]=i}function xB(n,r,i){const u={};r.forEach(c=>{u[c]=i[c]?i[c]:$p[c]||$p[LB[c]||"log"]||Hp}),n[S9]=u}function OB(n,r){return Array.isArray(n)?n.filter(function(u){return u!=="!stdSerializers.err"}):n===!0?Object.keys(r):!1}function Ji(n){n=n||{},n.browser=n.browser||{};const r=n.browser.transmit;if(r&&typeof r.send!="function")throw Error("pino: transmit option must have a send function");const i=n.browser.write||$p;n.browser.write&&(n.browser.asObject=!0);const u=n.serializers||{},c=OB(n.browser.serialize,u);let p=n.browser.serialize;Array.isArray(n.browser.serialize)&&n.browser.serialize.indexOf("!stdSerializers.err")>-1&&(p=!1);const m=Object.keys(n.customLevels||{}),k=["error","fatal","warn","info","debug","trace"].concat(m);typeof i=="function"&&k.forEach(function(V){i[V]=i}),(n.enabled===!1||n.browser.disabled)&&(n.level="silent");const S=n.level||"info",I=Object.create(i);I.log||(I.log=Hp),xB(I,k,i),gb({},I),Object.defineProperty(I,"levelVal",{get:x}),Object.defineProperty(I,"level",{get:P,set:A});const E={transmit:r,serialize:c,asObject:n.browser.asObject,levels:k,timestamp:VB(n)};I.levels=AB(n),I.level=S,I.setMaxListeners=I.getMaxListeners=I.emit=I.addListener=I.on=I.prependListener=I.once=I.prependOnceListener=I.removeListener=I.removeAllListeners=I.listeners=I.listenerCount=I.eventNames=I.write=I.flush=Hp,I.serializers=u,I._serialize=c,I._stdErrSerialize=p,I.child=F,r&&(I._logEvent=V4());function x(){return jg(this.level,this)}function P(){return this._level}function A(V){if(V!=="silent"&&!this.levels.values[V])throw Error("unknown level "+V);this._level=V,Cc(this,E,I,"error"),Cc(this,E,I,"fatal"),Cc(this,E,I,"warn"),Cc(this,E,I,"info"),Cc(this,E,I,"debug"),Cc(this,E,I,"trace"),m.forEach($=>{Cc(this,E,I,$)})}function F(V,$){if(!V)throw new Error("missing bindings for child Pino");$=$||{},c&&V.serializers&&($.serializers=V.serializers);const B=$.serializers;if(c&&B){var H=Object.assign({},u,B),X=n.browser.serialize===!0?Object.keys(H):c;delete V.serializers,t3([V],X,H,this._stdErrSerialize)}function ee(fe){this._childLevel=(fe._childLevel|0)+1,this.bindings=V,H&&(this.serializers=H,this._serialize=X),r&&(this._logEvent=V4([].concat(fe._logEvent.bindings,V)))}ee.prototype=this;const ie=new ee(this);return gb(this,ie),ie.level=this.level,ie}return I}function AB(n){const r=n.customLevels||{},i=Object.assign({},Ji.levels.values,r),u=Object.assign({},Ji.levels.labels,PB(r));return{values:i,labels:u}}function PB(n){const r={};return Object.keys(n).forEach(function(i){r[n[i]]=i}),r}Ji.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};Ji.stdSerializers=NB;Ji.stdTimeFunctions=Object.assign({},{nullTime:dw,epochTime:fw,unixTime:BB,isoTime:zB});function MB(n){const r=[];n.bindings&&r.push(n.bindings);let i=n[j4];for(;i.parent;)i=i.parent,i.logger.bindings&&r.push(i.logger.bindings);return r.reverse()}function Cc(n,r,i,u){if(n[u]=jg(n.level,i)>jg(u,i)?Hp:i[S9][u],!r.transmit&&n[u]===Hp)return;n[u]=UB(n,r,i,u);const c=MB(n);c.length!==0&&(n[u]=DB(c,n[u]))}function DB(n,r){return function(){return r.apply(this,[...n,...arguments])}}function UB(n,r,i,u){return function(c){return function(){const m=r.timestamp(),k=new Array(arguments.length),S=Object.getPrototypeOf&&Object.getPrototypeOf(this)===$p?$p:this;for(var I=0;I<k.length;I++)k[I]=arguments[I];if(r.serialize&&!r.asObject&&t3(k,this._serialize,this.serializers,this._stdErrSerialize),r.asObject?c.call(S,FB(this,u,k,m)):c.apply(S,k),r.transmit){const E=r.transmit.level||n._level,x=i.levels.values[E],P=i.levels.values[u];if(P<x)return;jB(this,{ts:m,methodLevel:u,methodValue:P,transmitLevel:E,transmitValue:i.levels.values[r.transmit.level||n._level],send:r.transmit.send,val:jg(n._level,i)},k)}}}(n[S9][u])}function FB(n,r,i,u){n._serialize&&t3(i,n._serialize,n.serializers,n._stdErrSerialize);const c=i.slice();let p=c[0];const m={};u&&(m.time=u),m.level=n.levels.values[r];let k=(n._childLevel|0)+1;if(k<1&&(k=1),p!==null&&typeof p=="object"){for(;k--&&typeof c[0]=="object";)Object.assign(m,c.shift());p=c.length?hb(c.shift(),c):void 0}else typeof p=="string"&&(p=hb(c.shift(),c));return p!==void 0&&(m.msg=p),m}function t3(n,r,i,u){for(const c in n)if(u&&n[c]instanceof Error)n[c]=Ji.stdSerializers.err(n[c]);else if(typeof n[c]=="object"&&!Array.isArray(n[c]))for(const p in n[c])r&&r.indexOf(p)>-1&&p in i&&(n[c][p]=i[p](n[c][p]))}function jB(n,r,i){const u=r.send,c=r.ts,p=r.methodLevel,m=r.methodValue,k=r.val,S=n._logEvent.bindings;t3(i,n._serialize||Object.keys(n.serializers),n.serializers,n._stdErrSerialize===void 0?!0:n._stdErrSerialize),n._logEvent.ts=c,n._logEvent.messages=i.filter(function(I){return S.indexOf(I)===-1}),n._logEvent.level.label=p,n._logEvent.level.value=m,u(p,n._logEvent,k),n._logEvent=V4(S)}function V4(n){return{ts:0,messages:[],bindings:n||[],level:{label:"",value:0}}}function yb(n){const r={type:n.constructor.name,msg:n.message,stack:n.stack};for(const i in n)r[i]===void 0&&(r[i]=n[i]);return r}function VB(n){return typeof n.timestamp=="function"?n.timestamp:n.timestamp===!1?dw:fw}function mg(){return{}}function t4(n){return n}function Hp(){}function dw(){return!1}function fw(){return Date.now()}function BB(){return Math.round(Date.now()/1e3)}function zB(){return new Date(Date.now()).toISOString()}function $B(){function n(r){return typeof r<"u"&&r}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return n(self)||n(window)||n(this)||{}}}T9.exports.default=Ji;var mw=T9.exports.pino=Ji;mw({level:"trace",enabled:!!window.localStorage.getItem("SL_DEBUG"),browser:{write:n=>{console.log(n)}}});var vb;(function(n){n.OPENED="opened"})(vb||(vb={}));var ef;(function(n){n[n.ONBOARDING=1]="ONBOARDING",n[n.QUESTION=2]="QUESTION",n[n.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(ef||(ef={}));const HB=U("div")({name:"InsightContainer",class:"i1pqqgpo",propsAsIs:!1}),GB=U("img")({name:"Image",class:"igj7luu",propsAsIs:!1}),qB=U("div")({name:"ImageContainer",class:"i1qne9g6",propsAsIs:!1}),WB=U("div")({name:"InsightContent",class:"itpr98r",propsAsIs:!1}),QB=U("h3")({name:"Title",class:"t17iaqp8",propsAsIs:!1}),YB=U("div")({name:"Description",class:"d16t3y7s",propsAsIs:!1}),KB=U("button")({name:"ActionBtn",class:"a12495er",propsAsIs:!1}),ZB=({video:n,image:r,imageMode:i,heading:u,body:c,action:p,controlVideo:m})=>R.jsxs(HB,{children:[(n==null?void 0:n.url)&&R.jsx(v9,{source:n.url,poster:n.thumbnailUrl,controlVideo:m}),r&&!(n!=null&&n.url)&&R.jsx(qB,{"data-rounded":i===$r.ROUNDED,children:R.jsx(GB,{src:r,alt:u})}),R.jsxs(WB,{children:[R.jsx(QB,{children:u}),R.jsx(YB,{children:c}),p&&R.jsx(KB,{onClick:p,children:"View Insight"})]})]}),JB=U("div")({name:"Container",class:"c1eptrjd",propsAsIs:!1}),XB=U("div")({name:"CloseIconWrap",class:"crylm65",propsAsIs:!1}),ez=()=>Mt,tz=U(ez())({name:"CloseIcon",class:"c9mrcz7",propsAsIs:!0}),nz=U("div")({name:"Header",class:"hw3lzv4",propsAsIs:!1}),az=()=>Mt,rz=U(az())({name:"TypeIcon",class:"t1rrb3kf",propsAsIs:!0}),oz=U("span")({name:"TypeName",class:"t1ydnjov",propsAsIs:!1}),sz=U("div")({name:"Question",class:"qlf90cl",propsAsIs:!1}),iz=U("button")({name:"AnswerButton",class:"a1e0nhcl",propsAsIs:!1}),lz=U("div")({name:"Container",class:"c1t4f0x4",propsAsIs:!1}),uz=U("button")({name:"ActionBtn",class:"a16w1nl6",propsAsIs:!1}),cz=U("div")({name:"QuoteWrap",class:"q14u54rf",propsAsIs:!1}),dz=U("blockquote")({name:"Quote",class:"q1hxm6zo",propsAsIs:!1}),fz=({action:n,...r})=>R.jsxs(lz,{children:[r.title&&R.jsx(cz,{children:R.jsx(dz,{children:r.title})}),R.jsx(k9,{...r}),n&&R.jsx(uz,{onClick:n,children:"View Insight"})]}),kb=({close:n,action:r,controlVideo:i,data:{questionType:u,question:c,insight:p,tweet:m}})=>{const k=Jg[u];return k?R.jsxs(JB,{style:u===$e.TWEET?{paddingTop:"12px"}:{},children:[R.jsx(XB,{onClick:n,children:R.jsx(tz,{name:"icon-cross"})}),u!==$e.TWEET&&R.jsxs(nz,{children:[R.jsx(rz,{"data-type-trivia":u===$e.TRIVIA,"data-type-poll":u===$e.POLL,name:k.iconName}),R.jsx(oz,{children:k.label})]}),u===$e.FACTOID&&p&&R.jsx(ZB,{...p,action:r,controlVideo:i}),u===$e.TWEET&&m&&R.jsx(fz,{...m,action:r,controlVideo:i}),u!==$e.FACTOID&&u!==$e.TWEET&&R.jsxs(R.Fragment,{children:[R.jsx(sz,{children:c==null?void 0:c.title}),R.jsx(iz,{onClick:r,children:"Answer"})]})]}):null},B1=U("div")({name:"BGWrap",class:"b1dqe0sz",propsAsIs:!1}),Hr=U("div")({name:"BGLineBase",class:"b1v6w7ni",propsAsIs:!1}),mz=()=>Hr,pz=U(mz())({name:"BGOneLineOne",class:"b2nqb1p",propsAsIs:!0}),hz=()=>Hr,gz=U(hz())({name:"BGOneLineTwo",class:"b1xxgmbk",propsAsIs:!0}),yz=()=>Hr,vz=U(yz())({name:"BGOneLineThree",class:"b63lwcb",propsAsIs:!0}),kz=()=>Hr,bb=U(kz())({name:"BGTwoLineOne",class:"b2iah4",propsAsIs:!0}),bz=()=>Hr,Tb=U(bz())({name:"BGTwoLineTwo",class:"b1xezvf6",propsAsIs:!0}),Tz=()=>Hr,Sb=U(Tz())({name:"BGTwoLineThree",class:"b1jz1hg0",propsAsIs:!0}),Sz=()=>Hr,wb=U(Sz())({name:"BGThreeLineOne",class:"b18ho1tk",propsAsIs:!0}),wz=()=>Hr,Eb=U(wz())({name:"BGThreeLineTwo",class:"b14uvjfm",propsAsIs:!0}),Ez=()=>Hr,Cb=U(Ez())({name:"BGThreeLineThree",class:"b11c3ns7",propsAsIs:!0}),Cz=()=>Hr,_b=U(Cz())({name:"BGThreeLineFour",class:"b1bqhhet",propsAsIs:!0}),_z=()=>Hr,Rz=U(_z())({name:"BGFourLineOne",class:"b1xyzi7o",propsAsIs:!0}),Iz=()=>Hr,Nz=U(Iz())({name:"BGFourLineTwo",class:"byo0rup",propsAsIs:!0}),Lz=()=>Hr,xz=U(Lz())({name:"BGFourLineThree",class:"b1oyiqgv",propsAsIs:!0}),Oz=()=>Hr,Az=U(Oz())({name:"BGFourLineFour",class:"bx3ddqw",propsAsIs:!0}),Pz=({step:n,correct:r})=>R.jsxs(R.Fragment,{children:[R.jsxs(B1,{"data-active":n===1,"data-first-screen":"true",children:[R.jsx(pz,{}),R.jsx(gz,{}),R.jsx(vz,{})]}),R.jsxs(B1,{"data-active":n===2,children:[R.jsx(bb,{}),R.jsx(Tb,{}),R.jsx(Sb,{})]}),R.jsxs(B1,{"data-active":n===3,children:[R.jsx(bb,{}),R.jsx(Tb,{}),R.jsx(Sb,{})]}),r?R.jsxs(R.Fragment,{children:[R.jsxs(B1,{"data-active":n===4,"data-correct":"true",children:[R.jsx(wb,{}),R.jsx(Eb,{}),R.jsx(Cb,{}),R.jsx(_b,{})]}),R.jsxs(B1,{"data-active":n===5,"data-correct":"true",children:[R.jsx(wb,{}),R.jsx(Eb,{}),R.jsx(Cb,{}),R.jsx(_b,{})]})]}):R.jsxs(B1,{"data-active":n===4,"data-correct":"false",children:[R.jsx(Rz,{}),R.jsx(Nz,{}),R.jsx(xz,{}),R.jsx(Az,{})]})]}),Mz=118,Dz=()=>Xg,Uz=U(Dz())({name:"Container",class:"c10131zw",propsAsIs:!0}),Fz=U("div")({name:"InnerContainer",class:"ir6k2eo",propsAsIs:!1}),z1=U("div")({name:"Content",class:"c1hwoq9l",propsAsIs:!1}),Fp=U("div")({name:"Title",class:"t4ujo4g",propsAsIs:!1}),jz=()=>Fp,Vz=U(jz())({name:"PointsTitle",class:"p1pjil1h",propsAsIs:!0}),pg=U("div")({name:"Subtitle",class:"s1iorwr9",propsAsIs:!1}),Rb=U("div")({name:"SubtitleFG",class:"s51sv9d",propsAsIs:!1}),hg=U("div")({name:"AnswerText",class:"a1lbk2ye",propsAsIs:!1}),Bz=()=>Mt,n4=U(Bz())({name:"FeedbackIcon",class:"frcvk3t",propsAsIs:!0}),Ib=U("div")({name:"CloseIconWrap",class:"c33p82r",propsAsIs:!1}),zz=()=>Mt,Nb=U(zz())({name:"CloseIcon",class:"c12r9net",propsAsIs:!0}),$z="data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%200%20154%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M70.9776%2030.8796L74.668%2018.1381C75.0696%2016.7473%2076.1186%2015.6318%2077.4936%2015.1371L77.5928%2014.7217H72.466L63.7623%2024.9662L60.431%2014.7217H55.7389L55.6255%2015.1371C56.4288%2015.5291%2056.8683%2016.7052%2056.8683%2017.662V17.7227C56.8683%2023.1787%2052.781%2032.5598%2047.0352%2032.5598C44.8002%2032.5598%2043.6425%2031.0009%2043.6425%2029.7035C43.6425%2028.1306%2044.975%2027.0105%2046.3831%2027.0105C47.744%2027.0105%2047.9519%2027.5099%2048.741%2027.5099C49.2182%2027.5099%2049.6766%2027.2672%2049.9081%2026.8518C50.2672%2026.1984%2049.9931%2025.4049%2049.3363%2025.0922L48.9772%2024.9242C45.6271%2023.3327%2041.7383%2025.7457%2041.7383%2029.4188V29.4701C41.7383%2032.1444%2043.8646%2034.38%2046.5674%2034.4733C53.5417%2034.716%2058.2055%2025.4236%2058.9473%2018.6188L59.486%2020.4577L62.2313%2028.5927H63.2709L71.8518%2018.4741L68.2512%2030.8936C67.8401%2032.3171%2066.6966%2033.4232%2065.2412%2033.7966L65.142%2034.212H72.0408L72.1542%2033.7966C71.1383%2033.2039%2070.6516%2032.0044%2070.9776%2030.8796Z'%20fill='white'/%3e%3cpath%20d='M88.2952%2021.6521H88.2385C85.016%2021.6568%2081.5571%2021.9648%2079.7143%2027.1361C78.1692%2031.4813%2077.7487%2033.2828%2076.539%2033.2828C75.7641%2033.2828%2075.9531%2031.794%2074.7954%2031.794C74.2709%2031.794%2073.7275%2032.2094%2073.6897%2032.8068C73.6236%2033.8429%2075.0317%2034.4683%2076.0949%2034.4683C79.3316%2034.4683%2080.5696%2032.1347%2080.9759%2031.0472C81.0279%2030.9072%2081.3162%2030.1371%2081.6517%2029.2317H85.0538L84.4773%2031.3273C84.1749%2032.4334%2083.5464%2033.3388%2082.488%2033.8009L82.3982%2034.2163H87.9597L88.0637%2033.8009C87.3124%2033.1848%2086.9816%2032.2%2087.2273%2031.2853L89.3206%2023.4257C89.4812%2022.8236%2089.9018%2022.3242%2090.4783%2022.0628L90.568%2021.6475H88.7536H88.2952V21.6521ZM85.3231%2028.2189H82.0202C82.3935%2027.2108%2082.7526%2026.2493%2082.8755%2025.9366C83.7118%2023.757%2085.2995%2022.8749%2086.8399%2022.7536L86.8257%2022.7676L85.3231%2028.2189Z'%20fill='white'/%3e%3cpath%20d='M116.358%2022.5486C116.538%2022.2545%20116.708%2021.8112%20116.708%2021.5591C116.732%2021.0877%20116.297%2020.7237%20115.829%2020.8217C115.456%2020.9011%20115.187%2021.2324%20115.191%2021.6058C115.196%2021.9978%20115.12%2022.4226%20114.95%2022.6279C114.558%2023.104%20113.934%2023.062%20111.062%2022.2452V22.2405C110.797%2022.1659%20110.509%2022.0819%20110.206%2021.9978C110.187%2021.9932%20110.173%2021.9885%20110.159%2021.9838C108.723%2021.6011%20106.941%2021.2464%20105.774%2021.8205C105.765%2021.8252%20105.755%2021.8298%20105.746%2021.8345C104.602%2022.3992%20103.808%2023.4727%20103.567%2024.7142C103.53%2024.8962%20103.506%2025.0455%20103.501%2025.0969C103.468%2025.7456%20104.068%2026.2544%20104.711%2026.1143C105.235%2026.0023%20105.604%2025.5403%20105.59%2025.0129C105.58%2024.4808%20105.472%2023.7667%20105.765%2023.286C106.237%2022.6279%20106.729%2022.5812%20108.935%2023.3047L106.544%2031.323C106.214%2032.4291%20105.406%2033.3345%20104.338%2033.7966L104.238%2034.212H109.961L110.074%2033.7966C109.337%2033.1852%20109.03%2032.1957%20109.299%2031.2809L111.392%2024.0561C112.309%2024.2428%20113.24%2024.2941%20114.147%2024.0374L114.473%2023.9441C115.196%2023.7527%20115.943%2023.2347%20116.358%2022.5486Z'%20fill='white'/%3e%3cpath%20d='M118.649%2021.6523L118.536%2022.0677C119.245%2022.5531%20119.561%2023.4259%20119.335%2024.2427L117.208%2031.3228C116.877%2032.429%20116.069%2033.3344%20115.002%2033.7964L114.902%2034.2118H117.931H118.21H125.18L126.101%2030.8934H125.666L125.51%2031.2108C124.934%2032.3963%20123.72%2033.1524%20122.382%2033.1524H119.429L121.003%2027.5937H122.259C123.105%2027.5937%20123.743%2028.3545%20123.582%2029.1759H124.012L125.043%2025.4188H124.613C124.362%2026.1142%20123.696%2026.5763%20122.949%2026.5809H121.291L122.382%2022.7258L125.515%2022.7211C126.536%2022.7211%20127.301%2023.6452%20127.098%2024.6347H127.528L128.35%2021.6523H118.649Z'%20fill='white'/%3e%3cpath%20d='M138.251%2021.6582H131.333L131.22%2022.0736C131.881%2022.5263%20132.207%2023.3197%20132.056%2024.0898L129.892%2031.324C129.561%2032.4301%20128.753%2033.3356%20127.685%2033.7976L127.586%2034.213H133.303L133.417%2033.7976C132.68%2033.1862%20132.373%2032.2014%20132.637%2031.282L133.686%2027.5949H134.126C134.787%2027.5949%20135.34%2028.085%20135.416%2028.7337C135.439%2028.9437%20135.77%2031.506%20136.035%2032.3881C136.379%2033.5409%20136.833%2034.213%20137.868%2034.213H140.453L140.552%2033.7976L140.183%2033.5829C139.451%2033.1536%20138.922%2032.4908%20138.685%2031.6087C138.463%2030.7779%20138.043%2029.2284%20137.84%2028.4117C137.736%2027.9916%20137.202%2027.5996%20136.654%2027.5996H137.523C139.087%2027.5996%20140.457%2026.5681%20140.878%2025.0839C141.365%2023.3617%20140.056%2021.6582%20138.251%2021.6582ZM138.369%2024.6872C138.029%2025.812%20136.98%2026.5868%20135.789%2026.5868H133.974L135.071%2022.7317H136.89C137.925%2022.727%20138.662%2023.7118%20138.369%2024.6872Z'%20fill='white'/%3e%3cpath%20d='M100.265%2022.2961C100.081%2022.2961%2099.6794%2022.1701%2099.0651%2021.9181C98.4508%2021.6661%2097.8318%2021.54%2097.2034%2021.54C95.904%2021.54%2094.8219%2021.9554%2093.9336%2022.8422C93.1964%2023.5796%2092.8704%2024.401%2092.8704%2025.1105C92.8704%2025.8665%2093.3193%2026.7533%2094.2124%2027.4721C95.0582%2028.1488%2095.937%2028.8022%2096.8206%2029.465C97.7468%2030.1977%2098.2098%2030.8745%2098.2098%2031.4252C98.2098%2032.634%2097.416%2033.2828%2095.7669%2033.2828C94.0942%2033.2828%2092.9366%2032.074%2092.568%2029.8057H92.1144L90.8008%2034.2162H91.226C91.7694%2033.8382%2092.1569%2033.6001%2092.946%2033.6001C93.6973%2033.6001%2094.5006%2034.4729%2096.2158%2034.4729C97.5814%2034.4729%2098.6682%2034.1929%2099.5943%2033.2781C100.383%2032.4753%20100.776%2031.3552%20100.776%2030.4404C100.776%2029.591%20100.237%2028.6062%2099.2966%2027.8921C98.4886%2027.2807%2097.6286%2026.7347%2096.7923%2026.1419C95.8898%2025.4792%2095.4362%2024.9144%2095.4362%2024.2937C95.4362%2023.9483%2095.611%2023.6076%2095.9559%2023.2622C96.3954%2022.8282%2096.986%2022.7302%2097.7751%2022.7302C99.3581%2022.7302%20100.464%2023.5983%20100.558%2025.4325H100.974L102.08%2021.5447H101.664C101.215%2022.0441%20100.752%2022.2961%20100.265%2022.2961Z'%20fill='white'/%3e%3cpath%20d='M149.201%2022.7304C150.784%2022.7304%20151.89%2023.6032%20151.984%2025.4327H152.4L153.501%2021.5449H153.085C152.646%2022.049%20152.182%2022.301%20151.696%2022.301C151.512%2022.301%20151.11%2022.175%20150.496%2021.923C149.881%2021.6709%20149.262%2021.5449%20148.634%2021.5449C147.334%2021.5449%20146.252%2021.9603%20145.364%2022.8471C144.627%2023.5845%20144.296%2024.4059%20144.296%2025.1153C144.296%2025.8714%20144.745%2026.7582%20145.638%2027.477C146.484%2028.1537%20147.363%2028.8071%20148.246%2029.4699C149.173%2030.2026%20149.636%2030.8794%20149.636%2031.4301C149.636%2032.6389%20148.842%2033.2876%20147.193%2033.2876C145.52%2033.2876%20144.362%2032.0788%20143.994%2029.8106H143.54L142.227%2034.2211H142.642C143.186%2033.843%20143.573%2033.605%20144.358%2033.605C145.109%2033.605%20145.912%2034.4778%20147.627%2034.4778C148.993%2034.4778%20150.075%2034.1978%20151.006%2033.283C151.795%2032.4802%20152.187%2031.3601%20152.187%2030.4453C152.187%2029.6005%20151.649%2028.6111%20150.708%2027.897C149.9%2027.2856%20149.04%2026.7395%20148.204%2026.1468C147.301%2025.4841%20146.848%2024.9193%20146.848%2024.2986C146.848%2023.9532%20147.023%2023.6125%20147.368%2023.2671C147.826%2022.8237%20148.412%2022.7304%20149.201%2022.7304Z'%20fill='white'/%3e%3cpath%20d='M26.5433%202.60035C26.0377%202.44633%2025.5321%202.72169%2025.0265%203.00173C24.8469%203.09974%2024.7194%203.27243%2024.6768%203.46845L23.883%207.13222C23.8547%207.26757%2023.9775%207.38891%2024.1145%207.36091C24.9509%207.17422%2025.7447%206.4508%2026.5811%206.70283C27.5167%206.98753%2028.4522%205.81606%2029.3878%205.83006V1.60156C28.4475%201.60623%2027.4789%202.88505%2026.5433%202.60035Z'%20fill='white'/%3e%3cpath%20d='M38.4856%2013.8398C38.2871%2013.7044%2038.1643%2013.4851%2038.1643%2013.2471V12.5796C38.1643%2011.9822%2037.6729%2011.4922%2037.0633%2011.4922H36.6239C36.0994%2011.4922%2035.6174%2011.7536%2035.3339%2012.1876L33.9164%2014.3485C33.7746%2014.5632%2033.5383%2014.6892%2033.2832%2014.6892H32.3287C31.8562%2014.6892%2031.4215%2014.9459%2031.1947%2015.3566C30.9631%2015.7814%2030.552%2016.0754%2030.0843%2016.1734V1.1403C30.0843%200.94894%2029.9283%200.794922%2029.7346%200.794922C29.5409%200.794922%2029.3849%200.94894%2029.3849%201.1403V1.60702V5.83552V16.1827C28.9171%2016.0847%2028.506%2015.7907%2028.2745%2015.3613C28.0524%2014.9506%2027.6177%2014.6939%2027.1405%2014.6939H26.4979C25.9875%2014.6939%2025.5292%2014.9879%2025.3213%2015.45L24.7873%2016.6308C24.7023%2016.8175%2024.5133%2016.9388%2024.3054%2016.9388C24.0975%2016.9388%2023.9085%2016.8175%2023.8234%2016.6308L23.2895%2015.45C23.0816%2014.9926%2022.6232%2014.6939%2022.1129%2014.6939H4.00135C3.85487%2014.6939%203.73674%2014.8106%203.73674%2014.9553C3.73674%2015.2633%203.48158%2015.5107%203.17444%2015.5107H2.39007C2.24359%2015.5107%202.12546%2015.6273%202.12546%2015.772V16.6728C2.12546%2017.5176%201.96008%2018.339%201.62931%2019.1184L1.15207%2020.2526C0.707907%2021.3027%200.5%2022.3901%200.5%2023.4589V26.0726C0.5%2026.7773%200.603954%2027.4914%200.811861%2028.1868C1.39306%2030.1377%202.7161%2031.7339%204.53529%2032.6767L7.43182%2034.1842C7.46962%2034.2029%207.51214%2034.2122%207.55467%2034.2122L9.69517%2034.2309C10.196%2034.2355%2010.6875%2034.3616%2011.1269%2034.6043L12.2751%2035.239C12.3129%2035.2623%2012.3602%2035.2717%2012.4074%2035.2717H13.9431C14.4818%2035.2717%2015.0157%2035.4163%2015.474%2035.6917C15.474%2035.6917%2016.2253%2036.1444%2016.4805%2036.2891C16.8869%2036.5225%2017.3783%2036.7465%2018.2335%2036.7932C18.4273%2036.8025%2018.621%2036.7325%2018.7675%2036.5972C18.9092%2036.4618%2018.9943%2036.2704%2018.9943%2036.0791V35.0616C18.9943%2034.3242%2019.4337%2033.6521%2020.1189%2033.3581L22.4673%2032.3406C22.7886%2032.2006%2023.1477%2032.1773%2023.4832%2032.28L24.3621%2032.5367C24.7354%2032.644%2025.1323%2032.6487%2025.5056%2032.5367L27.5846%2031.9253C27.8587%2031.8459%2028.1517%2031.8459%2028.4304%2031.9299L29.2763%2032.1633C29.6684%2032.2706%2029.9472%2032.6347%2029.9472%2033.0361V35.071C29.9472%2036.0184%2030.7269%2036.7932%2031.6861%2036.7932C32.4043%2036.7932%2033.0328%2036.3405%2033.2501%2035.6637C33.6423%2034.4456%2033.8408%2033.1761%2033.8408%2031.8973V31.0292C33.8408%2030.4131%2034.1006%2029.8204%2034.5543%2029.3956L35.419%2028.5882C36.0002%2028.0421%2036.3356%2027.2674%2036.3356%2026.474V21.6481C36.3356%2020.9013%2036.5625%2020.1779%2036.9972%2019.5618C37.0302%2019.5198%2037.0444%2019.4638%2037.0444%2019.4125V18.2737C37.0444%2017.5316%2037.2712%2016.8128%2037.6965%2016.2014L38.5517%2014.9739C38.5848%2014.9319%2038.599%2014.8806%2038.599%2014.8246V14.0545C38.6037%2013.9098%2038.5139%2013.8585%2038.4856%2013.8398ZM30.0843%2025.2838C30.6654%2025.3725%2031.1002%2025.6665%2031.1002%2026.0212C31.1002%2026.3759%2030.6702%2026.67%2030.0843%2026.7587V25.2838ZM5.22516%2032.4433L4.78572%2032.2146C3.59026%2031.5939%202.63577%2030.6698%201.9837%2029.545V28.1355C2.73028%2029.2043%203.74619%2030.1144%204.98891%2030.7631L5.22516%2030.8845V32.4433ZM7.43654%2033.5961L6.2647%2032.9894V31.4305L7.43182%2032.0373H7.43654V33.5961ZM12.3129%2034.6556L11.3868%2034.1422C10.8812%2033.8622%2010.3142%2033.7128%209.73297%2033.7035V32.0793C10.2197%2032.0886%2010.7016%2032.2146%2011.1269%2032.448L12.2751%2033.0827C12.2846%2033.0874%2012.2987%2033.0874%2012.3129%2033.0921V34.6556ZM18.4603%2035.0616V35.8551V36.0791C18.4603%2036.1304%2018.4367%2036.1818%2018.3989%2036.2191C18.3611%2036.2564%2018.3139%2036.2705%2018.2619%2036.2705C17.52%2036.2331%2017.0948%2036.0418%2016.7498%2035.8411C16.4994%2035.6964%2015.7528%2035.2483%2015.7481%2035.2483C15.2803%2034.9683%2014.7511%2034.8143%2014.2077%2034.7723V33.1387C14.6519%2033.1808%2015.0866%2033.3114%2015.474%2033.5401L16.1214%2033.9228C16.8302%2034.3429%2017.6382%2034.5809%2018.4603%2034.6276V35.0616ZM24.8582%2032.0886C24.7448%2032.084%2024.6267%2032.0653%2024.5133%2032.0326L23.6344%2031.7713C23.4454%2031.7152%2023.2517%2031.6966%2023.0579%2031.6966V30.0677C23.1997%2030.0677%2023.3414%2030.0817%2023.4832%2030.1237L24.3621%2030.3804C24.5227%2030.4271%2024.6928%2030.4504%2024.8582%2030.4598V32.0886ZM30.363%2032.4807C30.1929%2032.0886%2029.8574%2031.7759%2029.4275%2031.6592L28.5864%2031.4259C28.3879%2031.3652%2028.18%2031.3419%2027.9721%2031.3419V29.7177C28.1328%2029.713%2028.2934%2029.7317%2028.4493%2029.783L29.1392%2029.9977C29.8716%2030.2264%2030.363%2030.8891%2030.363%2031.6452V32.4807ZM32.787%2035.365C32.7729%2035.4117%2032.7634%2035.4584%2032.7492%2035.505C32.6028%2035.9624%2032.1775%2036.2658%2031.6955%2036.2658C31.653%2036.2658%2031.6105%2036.2564%2031.568%2036.2518V34.6323C31.601%2034.6369%2031.6294%2034.6416%2031.6625%2034.6416C32.135%2034.6416%2032.565%2034.3802%2032.7918%2033.9835V35.365H32.787ZM37.3232%2015.0486C36.794%2015.8047%2036.5152%2016.6915%2036.5152%2017.6109V18.4137L36.1041%2019.0017C35.5702%2019.7625%2035.2867%2020.6539%2035.2867%2021.578V25.6245C35.2867%2026.2779%2035.0126%2026.9173%2034.5306%2027.3654L33.6659%2028.1775C33.0847%2028.7236%2032.7634%2029.489%2032.787%2030.2824L32.7918%2030.4644C32.8248%2031.5146%2032.6878%2032.56%2032.3901%2033.5681C32.2956%2033.8902%2031.9932%2034.1142%2031.6577%2034.1142C31.2372%2034.1142%2030.8923%2033.7782%2030.8923%2033.3581V31.6452C30.8923%2030.6558%2030.2496%2029.7923%2029.2952%2029.4983L28.6053%2029.2836C28.2225%2029.1669%2027.8209%2029.1623%2027.4334%2029.2743L25.3544%2029.881C25.0803%2029.9604%2024.7873%2029.9604%2024.5133%2029.881L23.6344%2029.6243C23.1808%2029.489%2022.6894%2029.5217%2022.2547%2029.7083L20.4071%2030.5111C19.2258%2031.0245%2018.4651%2032.1773%2018.4651%2033.4515V34.1095C17.7374%2034.0675%2017.0286%2033.8528%2016.4002%2033.4795L15.7528%2033.0967C15.2047%2032.7747%2014.581%2032.602%2013.9431%2032.602H12.4736L11.3868%2031.9999C10.8717%2031.7152%2010.2905%2031.5659%209.69989%2031.5612L7.62082%2031.5472L5.23461%2030.3057C1.61514%2028.4249%200.0700101%2024.1917%201.64349%2020.4579L2.12073%2019.3238C2.47512%2018.4837%202.6594%2017.5922%202.6594%2016.6775V16.0427H3.17444C3.68476%2016.0427%204.11948%2015.6927%204.2376%2015.2213H22.1176C22.4153%2015.2213%2022.6894%2015.394%2022.8075%2015.6647L23.3414%2016.8455C23.5115%2017.2235%2023.8896%2017.4662%2024.3101%2017.4662C24.7259%2017.4662%2025.1087%2017.2235%2025.2788%2016.8455L25.8127%2015.66C25.9356%2015.3893%2026.2049%2015.2166%2026.5026%2015.2166H27.1452C27.424%2015.2166%2027.6791%2015.366%2027.8114%2015.6087C28.1375%2016.2061%2028.7234%2016.6075%2029.3897%2016.7148V24.145C28.317%2024.2617%2027.4949%2024.8918%2027.4949%2025.6572C27.4949%2026.5066%2028.4966%2027.1927%2029.7346%2027.1927C30.9726%2027.1927%2031.9743%2026.5066%2031.9743%2025.6572C31.9743%2024.8918%2031.1521%2024.257%2030.0795%2024.145V16.7101C30.7458%2016.6028%2031.3317%2016.2014%2031.6577%2015.604C31.79%2015.3613%2032.0452%2015.212%2032.324%2015.212H33.2785C33.7179%2015.212%2034.1195%2014.9926%2034.3605%2014.6286L35.7781%2012.4676C35.9624%2012.1829%2036.2789%2012.0149%2036.6239%2012.0149H37.0633C37.3752%2012.0149%2037.6303%2012.2669%2037.6303%2012.575V13.2424C37.6303%2013.5644%2037.7579%2013.8725%2037.98%2014.1012L37.3232%2015.0486ZM29.3849%2025.2838V26.7587C28.8037%2026.67%2028.3737%2026.3759%2028.3737%2026.0212C28.3737%2025.6665%2028.8037%2025.3678%2029.3849%2025.2838Z'%20fill='white'/%3e%3c/svg%3e",Hz=(n,r,i)=>n===r?"translateY(0px)":n>r?`translateY(${i}px)`:"translateY(-100%)",Gz=({close:n,votedAnswer:r,correct:i,correctAnswerTitle:u,questionTitle:c,saveHeight:p,style:m,hiding:k})=>{const[S,I]=ue.useState(1),E=ue.useRef({});ue.useEffect(()=>{const A=setInterval(()=>{I(F=>i&&F>4||!i&&F>3?F:++F)},3e3);return()=>clearInterval(A)},[i]),ue.useEffect(()=>{var A,F;E.current[S]&&p(((F=(A=E.current[S])==null?void 0:A.getBoundingClientRect())==null?void 0:F.height)||Mz)},[S,p]);const x=A=>F=>{E.current&&(E.current[A]=F)},P=A=>({transform:Hz(A,S,m.height)});return R.jsx(Uz,{style:m.height?m:{...m,paddingTop:0,paddingBottom:0},hiding:k,children:R.jsxs(Fz,{style:{height:m.height,minHeight:m.height,backgroundColor:S>3?"var(--color-white)":"var(--color-primary-green2)"},children:[R.jsx(Pz,{step:S,correct:i}),R.jsxs(z1,{ref:x(1),style:P(1),children:[R.jsx("img",{alt:"sponsor-logo",src:$z}),R.jsx(Rb,{children:"Featured Groups +"})]}),R.jsxs(z1,{ref:x(2),style:P(2),children:[R.jsx(Fp,{children:"Prediction results are in!"}),R.jsx(Rb,{children:"Featured Groups +"})]}),R.jsxs(z1,{ref:x(3),style:P(3),children:[R.jsx(Fp,{children:c}),R.jsx(pg,{children:R.jsxs(hg,{children:[R.jsx("span",{children:"Your Pick:"})," ",r==null?void 0:r.title]})})]}),i?R.jsxs(R.Fragment,{children:[R.jsxs(z1,{ref:x(4),style:{...P(4),color:"var(--color-primary-green1)"},children:[R.jsx(Fp,{children:"Congratulations! You answered correctly."}),R.jsxs(pg,{children:[R.jsx(n4,{name:"selected"}),R.jsxs(hg,{children:[R.jsx("span",{children:"Your Pick:"})," ",r==null?void 0:r.title]})]})]}),R.jsxs(z1,{ref:x(5),style:{...P(5),color:"var(--color-primary-green1)"},children:[R.jsx(Vz,{children:S===5&&R.jsx(e3,{delay:.5,prefix:"+",suffix:" points",value:r==null?void 0:r.points})}),R.jsxs(pg,{children:[R.jsx(n4,{name:"selected"}),R.jsxs(hg,{children:[R.jsx("span",{children:"Your Pick:"})," ",r==null?void 0:r.title]})]}),R.jsx(Ib,{onClick:n,children:R.jsx(Nb,{name:"icon-cross"})})]})]}):R.jsxs(z1,{ref:x(4),style:P(4),children:[R.jsxs(Fp,{style:{color:"var(--color-neutrals-gray9)"},children:["Better luck next time! Correct: ",u,"."]}),R.jsxs(pg,{style:{color:"var(--color-secondary-red1)"},children:[R.jsx(n4,{name:"circleClose"}),R.jsxs(hg,{children:[R.jsx("span",{children:"Your Pick:"})," ",r==null?void 0:r.title]})]}),R.jsx(Ib,{onClick:n,children:R.jsx(Nb,{name:"icon-cross"})})]})]})})},qz=n=>{const[r,i]=ue.useState(!1),[u,c]=ue.useState(!1),p=ue.useRef(null),m=ue.useCallback(()=>{c(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{c(!1)},1e3)},[]),k=ue.useCallback(async S=>{i(!0);const I=S.map(E=>new Promise((x,P)=>{const A=new Image;A.onload=()=>x(E),A.onerror=()=>P(),A.src=E}));await Promise.allSettled(I),i(!1)},[]);return ue.useEffect(()=>{n&&(m(),k(n))},[n,m,k]),{loading:r,throttled:u}},Wz=U("div")({name:"Container",class:"cqg02m",propsAsIs:!1}),B4=({children:n,style:r,loading:i})=>i?R.jsx(Wz,{style:r,children:n}):n,Qz=U("div")({name:"Container",class:"cl51m2q",propsAsIs:!1}),Yz=U("img")({name:"Avatar",class:"a2yhhhr",propsAsIs:!1}),Kz=U("div")({name:"AvatarPlaceholder",class:"a1dtxxlr",propsAsIs:!1}),Zz=U("div")({name:"Content",class:"c12clm3w",propsAsIs:!1}),Jz=U("span")({name:"Name",class:"n14lctn7",propsAsIs:!1}),Xz=({avatar:n,name:r})=>R.jsxs(Qz,{children:[n&&R.jsx(Yz,{src:n}),!n&&R.jsx(Kz,{children:p9(r||"")}),R.jsxs(Zz,{children:[R.jsxs(Jz,{children:[r," "]}),"is waiting for you!"]})]}),e$=U("div")({name:"Container",class:"c1htq1lb",propsAsIs:!1}),t$=U("div")({name:"Graphic",class:"gjyzpp7",propsAsIs:!1}),n$=U("div")({name:"Headline",class:"h16mldgz",propsAsIs:!1}),a$=U("div")({name:"Content",class:"c69js65",propsAsIs:!1}),r$=U("div")({name:"StepsContainer",class:"smm7qmo",propsAsIs:!1}),o$=U("span")({name:"StepIndicator",class:"s17knuw2",propsAsIs:!1}),s$=U("div")({name:"InvitingUserWrap",class:"i1b74psg",propsAsIs:!1}),i$=({loading:n,graphicSrc:r,headline:i,stepsCount:u,currentStep:c,inviterName:p})=>R.jsxs(e$,{children:[R.jsxs(a$,{"data-centered":c===0,children:[R.jsx(t$,{children:R.jsx(B4,{loading:n,style:{width:"80px",height:"80px"},children:R.jsx("img",{src:r,alt:i})})}),i&&R.jsx(B4,{loading:n,children:R.jsx(n$,{children:i})})]}),p&&c===0&&R.jsx(s$,{children:R.jsx(Xz,{name:p})}),R.jsx(r$,{style:n?{visibility:"hidden"}:{},children:Array.from({length:u}).map((m,k)=>R.jsx(o$,{"data-active":c===k},k))})]}),l$=U("div")({name:"Container",class:"cm0bev",propsAsIs:!1}),u$=U("div")({name:"Content",class:"ce7x737",propsAsIs:!1}),c$=U("div")({name:"Title",class:"tc2tor6",propsAsIs:!1}),d$=U("div")({name:"RulesList",class:"r1k5klql",propsAsIs:!1}),f$=U("div")({name:"RulesItem",class:"r1tf3ft2",propsAsIs:!1}),m$=U("div")({name:"RuleIcon",class:"rwpvg1k",propsAsIs:!1}),p$=U("div")({name:"RuleText",class:"rbxiag0",propsAsIs:!1}),h$=U("button")({name:"TermsButton",class:"t6cyrry",propsAsIs:!1}),g$=({rules:n,rulesTitle:r,termsText:i,primaryColor:u,openTerms:c})=>R.jsxs(l$,{children:[R.jsxs(u$,{children:[R.jsx(c$,{children:r}),R.jsx(d$,{children:n==null?void 0:n.map(({label:p,icon:m},k)=>R.jsxs(f$,{children:[m&&R.jsx(m$,{style:{backgroundColor:u},children:R.jsx(Mt,{name:m,"data-icon":m})}),R.jsx(p$,{children:p})]},k))})]}),i&&R.jsx(h$,{onClick:c,children:"See Terms and Conditions"})]}),y$=U("div")({name:"Container",class:"cj0g35h",propsAsIs:!1}),v$=U("div")({name:"Content",class:"c1xkhrbn",propsAsIs:!1}),k$=U("div")({name:"Title",class:"tifzb8b",propsAsIs:!1}),b$=U("div")({name:"ScrollingText",class:"stduw5c",propsAsIs:!1}),T$=({termsTitle:n,termsText:r})=>R.jsx(y$,{children:R.jsxs(v$,{children:[R.jsx(k$,{children:n}),R.jsx(b$,{children:r})]})}),S$=U("div")({name:"Container",class:"c18uddbs",propsAsIs:!1}),w$=U("div")({name:"Content",class:"cvcfjf6",propsAsIs:!1}),E$=U("div")({name:"OnboardingHeader",class:"o1ie27lw",propsAsIs:!1}),C$=U("button")({name:"CloseBtn",class:"c15cjkwi",propsAsIs:!1}),_$=()=>Mt,R$=U(_$())({name:"IconClose",class:"i1mavjt2",propsAsIs:!0}),I$=U("div")({name:"OnboardingFooter",class:"o1x0dyzv",propsAsIs:!1}),N$=()=>uw,L$=U(N$())({name:"OnboardingActionBtn",class:"o1jfi9c3",propsAsIs:!0}),$1={steps:!1,rules:!1,inviteCard:!1},x$=({gamification:n,steps:r,rules:i,rulesBtnLabel:u,rulesTitle:c,termsTitle:p,termsText:m,primaryColor:k,inviteLink:S,socialLinks:I,inviteCardTitle:E,inviteCardSubtext:x,inviteCardBtnLabel:P,loading:A,renderToNode:F,inviterName:V,sdk:$,onClose:B})=>{const[H,X]=ue.useState(0),[ee,ie]=ue.useState(!1),[fe,ce]=ue.useState($1);ue.useEffect(()=>{r!=null&&r.length?ce({...$1,steps:!0}):i!=null&&i.length?ce({...$1,rules:!0}):ce({...$1,inviteCard:!0})},[]);const Le=ue.useMemo(()=>fe.steps&&H===0?"Continue":fe.rules?ee||!u?"Got it":u:fe.inviteCard?P||"Play Now":"Next",[fe,H,ee,u,P]),_e=ue.useCallback(()=>{r!=null&&r.length&&H<r.length-1?X(Be=>++Be):i!=null&&i.length&&fe.steps?ce({...$1,rules:!0}):fe.rules&&ce({...$1,inviteCard:!0})},[H,r==null?void 0:r.length,i==null?void 0:i.length,fe,X,ce]),Qe=async()=>{fe.inviteCard?await n.onboardingStatus.submitInplay():fe.rules&&ee?ie(!1):_e()};return ue.useEffect(()=>{!A&&V&&$.inviteDisplayed()},[A,V,$]),R.jsx(Uj,{children:({width:Be,height:it})=>R.jsxs(S$,{style:{width:Be,height:it,maxHeight:it},children:[R.jsx(E$,{children:R.jsx(C$,{onClick:B,children:R.jsx(R$,{name:"icon-close-btn-gray"})})}),R.jsxs(w$,{children:[fe.steps&&(r==null?void 0:r.length)&&R.jsx(i$,{loading:A,stepsCount:r.length,currentStep:H,inviterName:V,...r[H]}),fe.rules&&!ee&&R.jsx(g$,{rules:i,rulesTitle:c,termsText:m,primaryColor:k,openTerms:()=>ie(!0)}),fe.rules&&ee&&R.jsx(T$,{termsTitle:p,termsText:m}),fe.inviteCard&&R.jsx(lw,{inviteLink:S,inviteCardTitle:E,inviteCardSubtext:x,primaryColor:k,socialLinks:I,renderToNode:F})]}),R.jsx(I$,{children:R.jsx(B4,{loading:A,style:{width:"100%"},children:R.jsx(L$,{onClick:Qe,children:Le})})})]})})},O$=U("div")({name:"Container",class:"cocfo2g",propsAsIs:!1}),A$=U("div")({name:"CloseIconWrap",class:"c1pdhxdk",propsAsIs:!1}),P$=()=>Mt,M$=U(P$())({name:"CloseIcon",class:"c1funj3r",propsAsIs:!0}),D$=U("div")({name:"Title",class:"t1okg06y",propsAsIs:!1}),U$=U("img")({name:"SponsorLogo",class:"sb1n923",propsAsIs:!1}),F$=U("div")({name:"PresentsTitle",class:"p1stllxd",propsAsIs:!1}),j$=U("div")({name:"Subtitle",class:"s13kvdzw",propsAsIs:!1}),V$=U("div")({name:"Description",class:"dfvmv3t",propsAsIs:!1}),B$=U("button")({name:"ActionButton",class:"ay8e3j9",propsAsIs:!1}),Lb=({close:n,action:r,onboarding:i})=>{var u,c,p,m,k,S,I,E;return R.jsxs(O$,{children:[R.jsx(A$,{onClick:n,children:R.jsx(M$,{name:"icon-cross"})}),((c=(u=i==null?void 0:i.titleCard)==null?void 0:u.media)==null?void 0:c.sponsorLogo)&&R.jsxs(D$,{children:[R.jsx(U$,{alt:"sponsor-logo",src:(m=(p=i==null?void 0:i.titleCard)==null?void 0:p.media)==null?void 0:m.sponsorLogo}),R.jsx(F$,{children:"PRESENTS"})]}),((k=i==null?void 0:i.titleCard)==null?void 0:k.title)&&R.jsx(j$,{children:(S=i==null?void 0:i.titleCard)==null?void 0:S.title}),((I=i==null?void 0:i.titleCard)==null?void 0:I.subtitle)&&R.jsx(V$,{children:(E=i==null?void 0:i.titleCard)==null?void 0:E.subtitle}),R.jsx(B$,{onClick:r,children:"Play Now"})]})},z$="data:image/svg+xml,%3csvg%20width='92'%20height='19'%20viewBox='0%200%2092%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1701%200.953996C13.9047%200.873145%2013.6393%201.0177%2013.3739%201.1647C13.2797%201.21615%2013.2127%201.3068%2013.1904%201.4097L12.7736%203.33298C12.7588%203.40404%2012.8233%203.46774%2012.8952%203.45304C13.3342%203.35504%2013.7509%202.97528%2014.19%203.10758C14.6811%203.25703%2015.1722%202.64207%2015.6634%202.64942V0.429688C15.1698%200.432138%2014.6613%201.10345%2014.1701%200.953996Z'%20fill='%23006747'/%3e%3cpath%20d='M20.4404%206.84786C20.3362%206.77681%2020.2717%206.66166%2020.2717%206.53671V6.18635C20.2717%205.87275%2020.0138%205.61549%2019.6938%205.61549H19.4631C19.1878%205.61549%2018.9348%205.75269%2018.7859%205.98055L18.0418%207.11492C17.9674%207.22762%2017.8434%207.29377%2017.7094%207.29377H17.2084C16.9603%207.29377%2016.7321%207.42852%2016.6131%207.64412C16.4915%207.86708%2016.2757%208.02143%2016.0302%208.07288V0.181303C16.0302%200.0808513%2015.9483%200%2015.8466%200C15.7449%200%2015.663%200.0808513%2015.663%200.181303V0.426307V2.64604V8.07778C15.4175%208.02633%2015.2017%207.87198%2015.0801%207.64657C14.9636%207.43097%2014.7354%207.29622%2014.4848%207.29622H14.1475C13.8796%207.29622%2013.639%207.45057%2013.5298%207.69312L13.2496%208.31299C13.2049%208.41099%2013.1057%208.47469%2012.9965%208.47469C12.8874%208.47469%2012.7882%208.41099%2012.7435%208.31299L12.4633%207.69312C12.3541%207.45302%2012.1135%207.29622%2011.8456%207.29622H2.33802C2.26113%207.29622%202.19911%207.35747%202.19911%207.43342C2.19911%207.59512%202.06517%207.72498%201.90394%207.72498H1.49218C1.41529%207.72498%201.35328%207.78623%201.35328%207.86218V8.33504C1.35328%208.77849%201.26646%209.2097%201.09283%209.61886L0.842303%2010.2142C0.60914%2010.7655%200.5%2011.3363%200.5%2011.8974V13.2694C0.5%2013.6394%200.55457%2014.0142%200.66371%2014.3793C0.968807%2015.4034%201.66334%2016.2413%202.61831%2016.7362L4.13883%2017.5276C4.15868%2017.5374%204.181%2017.5423%204.20332%2017.5423L5.32697%2017.5521C5.5899%2017.5545%205.84787%2017.6207%206.07855%2017.7481L6.6813%2018.0813C6.70115%2018.0935%206.72595%2018.0984%206.75076%2018.0984H7.5569C7.83968%2018.0984%208.11997%2018.1744%208.36057%2018.3189C8.36057%2018.3189%208.75497%2018.5566%208.88891%2018.6326C9.10223%2018.7551%209.3602%2018.8727%209.80916%2018.8972C9.91086%2018.9021%2010.0126%2018.8653%2010.0895%2018.7943C10.1639%2018.7232%2010.2085%2018.6228%2010.2085%2018.5223V17.9882C10.2085%2017.6011%2010.4392%2017.2483%2010.7989%2017.0939L12.0317%2016.5598C12.2003%2016.4863%2012.3888%2016.4741%2012.5649%2016.528L13.0263%2016.6627C13.2223%2016.7191%2013.4306%2016.7215%2013.6266%2016.6627L14.718%2016.3418C14.8619%2016.3001%2015.0156%2016.3001%2015.162%2016.3442L15.606%2016.4667C15.8119%2016.5231%2015.9582%2016.7142%2015.9582%2016.9249V17.9931C15.9582%2018.4905%2016.3675%2018.8972%2016.871%2018.8972C17.2481%2018.8972%2017.578%2018.6595%2017.6921%2018.3042C17.8979%2017.6648%2018.0021%2016.9984%2018.0021%2016.3271V15.8714C18.0021%2015.548%2018.1385%2015.2368%2018.3767%2015.0138L18.8306%2014.59C19.1357%2014.3033%2019.3118%2013.8966%2019.3118%2013.4801V10.9468C19.3118%2010.5548%2019.4309%2010.175%2019.6591%209.85161C19.6764%209.82956%2019.6839%209.80016%2019.6839%209.77321V9.1754C19.6839%208.78584%2019.8029%208.40854%2020.0262%208.08758L20.4751%207.44322C20.4925%207.42117%2020.4999%207.39422%2020.4999%207.36482V6.96056C20.5024%206.88461%2020.4553%206.85766%2020.4404%206.84786ZM16.0302%2012.8554C16.3352%2012.9019%2016.5634%2013.0563%2016.5634%2013.2425C16.5634%2013.4287%2016.3377%2013.583%2016.0302%2013.6296V12.8554ZM2.98046%2016.6137L2.74978%2016.4937C2.12222%2016.1678%201.62117%2015.6827%201.27886%2015.0922V14.3523C1.67078%2014.9134%202.20407%2015.3912%202.85644%2015.7317L2.98046%2015.7954V16.6137ZM4.14131%2017.2189L3.52616%2016.9004V16.0821L4.13883%2016.4006H4.14131V17.2189ZM6.70115%2017.775L6.21498%2017.5055C5.94957%2017.3585%205.65191%2017.2801%205.34682%2017.2752V16.4226C5.6023%2016.4275%205.85531%2016.4937%206.07855%2016.6162L6.6813%2016.9494C6.68626%2016.9518%206.6937%2016.9518%206.70115%2016.9543V17.775ZM9.92822%2017.9882V18.4047V18.5223C9.92822%2018.5493%209.91582%2018.5762%209.89598%2018.5958C9.87613%2018.6154%209.85133%2018.6228%209.82404%2018.6228C9.43461%2018.6032%209.21137%2018.5027%209.0303%2018.3973C8.89883%2018.3214%208.50692%2018.0862%208.50444%2018.0862C8.25887%2017.9392%207.98106%2017.8583%207.69581%2017.8363V16.9788C7.92897%2017.0008%208.15718%2017.0694%208.36057%2017.1895L8.7004%2017.3904C9.07246%2017.6109%209.49662%2017.7358%209.92822%2017.7603V17.9882ZM13.2868%2016.4275C13.2272%2016.4251%2013.1652%2016.4153%2013.1057%2016.3981L12.6443%2016.2609C12.5451%2016.2315%2012.4434%2016.2217%2012.3417%2016.2217V15.3667C12.4161%2015.3667%2012.4905%2015.374%2012.5649%2015.3961L13.0263%2015.5308C13.1107%2015.5553%2013.1999%2015.5676%2013.2868%2015.5725V16.4275ZM16.1765%2016.6333C16.0872%2016.4275%2015.9111%2016.2634%2015.6854%2016.2021L15.2438%2016.0796C15.1397%2016.0478%2015.0305%2016.0355%2014.9214%2016.0355V15.1829C15.0057%2015.1804%2015.0901%2015.1902%2015.1719%2015.2172L15.5341%2015.3299C15.9185%2015.45%2016.1765%2015.7979%2016.1765%2016.1948V16.6333ZM17.449%2018.1474C17.4415%2018.1719%2017.4366%2018.1964%2017.4291%2018.2209C17.3522%2018.4611%2017.129%2018.6203%2016.876%2018.6203C16.8537%2018.6203%2016.8313%2018.6154%2016.809%2018.613V17.7628C16.8264%2017.7652%2016.8413%2017.7677%2016.8586%2017.7677C17.1067%2017.7677%2017.3324%2017.6305%2017.4515%2017.4222V18.1474H17.449ZM19.8302%207.48242C19.5524%207.87933%2019.4061%208.34484%2019.4061%208.82749V9.2489L19.1903%209.5576C18.91%209.95696%2018.7611%2010.4249%2018.7611%2010.91V13.0342C18.7611%2013.3772%2018.6173%2013.7129%2018.3643%2013.9481L17.9103%2014.3744C17.6052%2014.661%2017.4366%2015.0628%2017.449%2015.4794L17.4515%2015.5749C17.4688%2016.1262%2017.3969%2016.675%2017.2406%2017.2042C17.191%2017.3732%2017.0323%2017.4908%2016.8561%2017.4908C16.6354%2017.4908%2016.4543%2017.3144%2016.4543%2017.0939V16.1948C16.4543%2015.6754%2016.117%2015.2221%2015.6159%2015.0677L15.2538%2014.955C15.0528%2014.8938%2014.842%2014.8913%2014.6386%2014.9501L13.5472%2015.2686C13.4033%2015.3103%2013.2496%2015.3103%2013.1057%2015.2686L12.6443%2015.1339C12.4062%2015.0628%2012.1482%2015.08%2011.92%2015.178L10.9502%2015.5994C10.3301%2015.8689%209.9307%2016.4741%209.9307%2017.1429V17.4884C9.54871%2017.4663%209.17664%2017.3536%208.84674%2017.1576L8.50692%2016.9567C8.21919%2016.7877%207.89177%2016.697%207.5569%2016.697H6.78548L6.21498%2016.381C5.94461%2016.2315%205.63951%2016.1531%205.32945%2016.1507L4.23805%2016.1433L2.98542%2015.4916C1.08539%2014.5042%200.274278%2012.2821%201.10027%2010.322L1.3508%209.72666C1.53683%209.28565%201.63357%208.81769%201.63357%208.33749V8.00428H1.90394C2.17183%208.00428%202.40003%207.82053%202.46204%207.57307H11.8481C12.0044%207.57307%2012.1482%207.66372%2012.2102%207.80583L12.4905%208.42569C12.5798%208.62414%2012.7783%208.75154%2012.999%208.75154C13.2173%208.75154%2013.4182%208.62414%2013.5075%208.42569L13.7878%207.80338C13.8523%207.66127%2013.9937%207.57062%2014.15%207.57062H14.4873C14.6337%207.57062%2014.7676%207.64902%2014.837%207.77643C15.0082%208.09003%2015.3158%208.30074%2015.6655%208.35709V12.2575C15.1025%2012.3188%2014.6709%2012.6496%2014.6709%2013.0514C14.6709%2013.4973%2015.1967%2013.8574%2015.8466%2013.8574C16.4965%2013.8574%2017.0223%2013.4973%2017.0223%2013.0514C17.0223%2012.6496%2016.5907%2012.3163%2016.0277%2012.2575V8.35464C16.3774%208.29828%2016.685%208.08758%2016.8561%207.77398C16.9256%207.64657%2017.0595%207.56817%2017.2059%207.56817H17.7069C17.9376%207.56817%2018.1485%207.45302%2018.275%207.26192L19.0191%206.12755C19.1158%205.9781%2019.282%205.8899%2019.4631%205.8899H19.6938C19.8575%205.8899%2019.9914%206.0222%2019.9914%206.1839V6.53426C19.9914%206.70331%2020.0584%206.86501%2020.175%206.98506L19.8302%207.48242ZM15.663%2012.8554V13.6296C15.3579%2013.583%2015.1322%2013.4287%2015.1322%2013.2425C15.1322%2013.0563%2015.3579%2012.8995%2015.663%2012.8554Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M43.6355%2014.2212L45.783%206.63627C46.0175%205.80901%2046.629%205.14498%2047.4288%204.848L47.4874%204.60107H44.5028L39.434%2010.6989L37.4942%204.60107H34.7636L34.6978%204.848C35.1653%205.08213%2035.423%205.78176%2035.423%206.35097V6.38628C35.423%209.63469%2033.0443%2015.2183%2029.6984%2015.2183C28.3982%2015.2183%2027.7242%2014.2901%2027.7242%2013.5165C27.7242%2012.5794%2028.5003%2011.9129%2029.3191%2011.9129C30.112%2011.9129%2030.2342%2012.211%2030.6909%2012.211C30.9696%2012.211%2031.2366%2012.0667%2031.3701%2011.8195C31.5797%2011.4313%2031.4208%2010.9572%2031.0376%2010.7714L30.8283%2010.6705C28.8775%209.72228%2026.6152%2011.1582%2026.6152%2013.3453V13.3756C26.6152%2014.9675%2027.8525%2016.2989%2029.4275%2016.3545C33.4867%2016.4983%2036.2019%2010.9661%2036.6338%206.91684L36.9458%208.01243L38.5448%2012.8545H39.1504L44.1452%206.83425L42.0498%2014.229C41.8094%2015.0773%2041.1437%2015.7344%2040.2985%2015.958L40.2399%2016.2049H44.2561L44.3216%2015.958C43.7283%2015.6043%2043.4461%2014.8902%2043.6355%2014.2212Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.9847%2012.6335H50.0625C50.2808%2012.034%2050.4898%2011.4617%2050.5603%2011.2743C51.0465%209.97682%2051.971%209.45183%2052.8665%209.37842L52.8572%209.3862L51.9847%2012.6335ZM53.7159%208.72607H53.6817C51.8071%208.7283%2049.7916%208.91155%2048.719%2011.9903C47.8179%2014.5767%2047.5745%2015.6481%2046.8705%2015.6481C46.4204%2015.6481%2046.5297%2014.763%2045.8549%2014.763C45.5509%2014.763%2045.2332%2015.0093%2045.2104%2015.3661C45.1705%2015.9826%2045.9909%2016.3555%2046.6092%2016.3555C48.4929%2016.3555%2049.2148%2014.9671%2049.4505%2014.3203C49.481%2014.2358%2049.6473%2013.778%2049.8436%2013.2386H51.8231L51.4878%2014.4866C51.3107%2015.145%2050.9465%2015.6839%2050.3304%2015.9595L50.2772%2016.2062H53.5154L53.5755%2015.9595C53.1372%2015.5941%2052.9469%2015.0082%2053.089%2014.4627L54.3075%209.78302C54.4011%209.42403%2054.6472%209.12789%2054.9809%208.973L55.0338%208.72607H53.9785H53.7159Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M70.056%209.26026C70.1601%209.08619%2070.2595%208.82035%2070.2595%208.67186L70.2597%208.67103C70.2741%208.39018%2070.0208%208.17273%2069.7488%208.23196H69.7482C69.5304%208.27951%2069.373%208.47499%2069.3771%208.70023C69.3807%208.93436%2069.3341%209.18574%2069.2353%209.30836C69.0082%209.59116%2068.645%209.56697%2066.9717%209.08174V9.07896C66.8186%209.03363%2066.6504%208.98414%2066.4731%208.93492C66.4637%208.93241%2066.4549%208.92963%2066.4453%208.92657L66.4456%208.92741C65.6106%208.698%2064.5732%208.4875%2063.8929%208.82869C63.8874%208.83148%2063.8816%208.83453%2063.8764%208.83704C63.2118%209.17406%2062.7479%209.81223%2062.6086%2010.5502C62.5879%2010.6587%2062.5728%2010.7468%2062.5711%2010.7788V10.7799C62.5513%2011.1675%2062.9009%2011.4679%2063.2767%2011.3864L63.2773%2011.3858C63.5821%2011.3196%2063.7965%2011.0441%2063.7902%2010.7296C63.7836%2010.4117%2063.7205%209.98741%2063.8918%209.70267C64.1674%209.31059%2064.4537%209.28278%2065.7361%209.71462L64.3436%2014.4877C64.1514%2015.1456%2063.6812%2015.6848%2063.059%2015.9601L63.0001%2016.2073H66.3319L66.3977%2015.9601C65.9679%2015.595%2065.7906%2015.0088%2065.9453%2014.4635L67.1628%2010.1637C67.6969%2010.276%2068.2381%2010.305%2068.7651%2010.1531L68.9548%2010.0986C69.3787%209.97629%2069.8129%209.6668%2070.056%209.26026Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M71.3889%208.72607L71.3234%208.97328C71.736%209.26108%2071.9219%209.78079%2071.7886%2010.2671L70.5506%2014.4816C70.3584%2015.14%2069.8882%2015.6789%2069.2659%2015.9542L69.207%2016.2011H70.9696H71.1306H75.1868L75.7226%2014.2252H75.4709L75.3806%2014.4145C75.0447%2015.1206%2074.3372%2015.5699%2073.5614%2015.5699H71.8415L72.7572%2012.2623L73.4878%2012.2615C73.9807%2012.2612%2074.3512%2012.7153%2074.2568%2013.2036H74.5084L75.1094%2010.9679H74.8578C74.7122%2011.3814%2074.3253%2011.6578%2073.8904%2011.658L72.9243%2011.6592L73.5597%209.36341L75.3825%209.36202C75.9775%209.36146%2076.4229%209.9126%2076.304%2010.5015H76.5556L77.033%208.72607H71.3889Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M82.8655%2010.5324C82.6668%2011.2028%2082.0564%2011.6627%2081.3632%2011.6627L80.3076%2011.6636L80.9466%209.36726L82.0055%209.3667C82.6067%209.36642%2083.0379%209.9512%2082.8655%2010.5324ZM82.7978%208.72998H78.7711L78.7053%208.97691C79.0919%209.24636%2079.2791%209.71935%2079.1921%2010.1779L77.9311%2014.4846C77.739%2015.1431%2077.269%2015.682%2076.6465%2015.9573L76.5879%2016.2048H79.9164L79.9822%2015.9573C79.5524%2015.5922%2079.3754%2015.006%2079.5296%2014.4607L80.14%2012.2662H80.3944C80.7787%2012.2665%2081.1014%2012.5584%2081.1438%2012.9444C81.1578%2013.069%2081.3505%2014.5947%2081.5044%2015.1195C81.7059%2015.8052%2081.9705%2016.205%2082.5729%2016.205H84.0788L84.1375%2015.9578L83.9219%2015.8288C83.4966%2015.5738%2083.1885%2015.1773%2083.0508%2014.6531C82.9203%2014.1585%2082.677%2013.2372%2082.5578%2012.7495C82.4961%2012.4981%2082.1866%2012.2654%2081.8667%2012.2654L82.3741%2012.2651C83.284%2012.2645%2084.0827%2011.6525%2084.328%2010.7671C84.611%209.74382%2083.8495%208.72998%2082.7978%208.72998Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.6842%209.10931C60.576%209.10931%2060.3431%209.03478%2059.9858%208.88463C59.6281%208.73447%2059.2669%208.65967%2058.9027%208.65967C58.1467%208.65967%2057.5157%208.90687%2056.9997%209.4352C56.5703%209.87483%2056.3795%2010.3628%2056.3795%2010.7852C56.3795%2011.2349%2056.6399%2011.7635%2057.1616%2012.1909C57.6542%2012.5949%2058.1668%2012.982%2058.68%2013.3771C59.2196%2013.8134%2059.4897%2014.2158%2059.4897%2014.5431C59.4897%2015.2616%2059.0269%2015.6481%2058.0688%2015.6481C57.0953%2015.6481%2056.4221%2014.9276%2056.2063%2013.5782H55.9431L55.1777%2016.2045H55.4203C55.7366%2015.9807%2055.9615%2015.8366%2056.4202%2015.8366C56.858%2015.8366%2057.3257%2016.3558%2058.3229%2016.3558C59.1191%2016.3558%2059.7493%2016.189%2060.2892%2015.6434C60.7481%2015.1668%2060.9775%2014.4994%2060.9775%2013.9538C60.9775%2013.4494%2060.6644%2012.8613%2060.1174%2012.4375C59.648%2012.0741%2059.1453%2011.7496%2058.6596%2011.3948C58.1332%2010.9993%2057.87%2010.6637%2057.87%2010.2956C57.87%2010.0906%2057.9713%209.88651%2058.174%209.68213C58.43%209.42325%2058.773%209.36596%2059.232%209.36596C60.1529%209.36596%2060.7974%209.88429%2060.8516%2010.9746H61.0945L61.7368%208.65967H61.4939C61.2373%208.95971%2060.9675%209.10931%2060.6842%209.10931Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M89.1717%209.36569C90.0926%209.36569%2090.7374%209.88401%2090.7914%2010.9743H91.0345L91.6765%208.65967H91.4334C91.1771%208.95915%2090.9075%209.10903%2090.6237%209.10903C90.5158%209.10903%2090.2829%209.03423%2089.9252%208.88435C89.5676%208.73447%2089.2067%208.65967%2088.8422%208.65967C88.0864%208.65967%2087.4554%208.90687%2086.9395%209.43493C86.51%209.87455%2086.3192%2010.3628%2086.3192%2010.785C86.3192%2011.2351%2086.5796%2011.7629%2087.1014%2012.1909C87.5939%2012.5949%2088.1065%2012.9817%2088.6197%2013.3768C89.159%2013.8134%2089.4294%2014.2158%2089.4294%2014.5428C89.4294%2015.2613%2088.9666%2015.6478%2088.0085%2015.6478C87.035%2015.6478%2086.3619%2014.9274%2086.1458%2013.5782H85.8826L85.1172%2016.2045H85.3603C85.6763%2015.9807%2085.9013%2015.8366%2086.3597%2015.8366C86.7977%2015.8366%2087.2652%2016.3558%2088.2626%2016.3558C89.0588%2016.3558%2089.689%2016.1884%2090.2289%2015.6434C90.6878%2015.1662%2090.9172%2014.4991%2090.9172%2013.9538C90.9172%2013.4494%2090.6041%2012.8613%2090.0574%2012.4375C89.5877%2012.0738%2089.0853%2011.7493%2088.5996%2011.3945C88.0729%2010.9993%2087.8097%2010.6632%2087.8097%2010.295C87.8097%2010.0909%2087.911%209.88623%2088.1134%209.68185C88.3697%209.42297%2088.7128%209.36569%2089.1717%209.36569Z'%20fill='%23006747'/%3e%3c/svg%3e",z4=[{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",headline:"Welcome to Featured Groups +"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_2.png",headline:"Get real-time insights"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_3.png",headline:"Predictions, trivia & polls synced to match play"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_4.png",headline:"Win points for every answer you get right"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_5.png",headline:"Compete against friends on the leaderboard"}],$$=U("div")({name:"OnboardingContainer",class:"o9squag",propsAsIs:!1}),H$=()=>Xg,G$=U(H$())({name:"OnboardingNotificationContainer",class:"o1c8wcli",propsAsIs:!0}),xb=U("div")({name:"InnerContainer",class:"i18oyadd",propsAsIs:!1}),q$=({deepLink:n,onboardingOpts:r,notification:i,gamification:u,loading:c,renderToNode:p,sdk:m})=>{var k,S,I,E,x,P,A;const F=kn(u.friends.getStore()),[V,$]=ue.useState(void 0),B=ue.useMemo(()=>{var H,X;const ee=m.getInviter();return ee?(X=(H=F.data)==null?void 0:H.find(({slId:ie})=>ie===ee))==null?void 0:X.name:""},[F.data,m]);return ue.useEffect(()=>{const H=n.$store.subscribe(X=>{X&&$(X.data)});return()=>{H()}},[n.$store]),R.jsx($$,{children:R.jsx(x$,{loading:c,renderToNode:p,rules:[{label:"Answer as many questions as you like.",icon:"icon-btn-feature-groups"},{label:"Win points for each correct trivia or prediction answer.",icon:"icon-thumb-up"},{label:"Top the leader board and best your friends.",icon:"icon-trophy"}],rulesBtnLabel:(k=r.rules)==null?void 0:k.buttonLabel,rulesTitle:(S=r.rules)==null?void 0:S.heading,termsTitle:"Terms and Conditions",termsText:(I=r.rules)==null?void 0:I.terms,steps:z4,primaryColor:(E=r.inviteCard)==null?void 0:E.iconColor,inviteLink:V,inviteCardTitle:(x=r.inviteCard)==null?void 0:x.heading,inviteCardSubtext:(P=r.inviteCard)==null?void 0:P.subtext,inviteCardBtnLabel:(A=r.inviteCard)==null?void 0:A.buttonLabel,onClose:()=>{var H;(H=i.close)==null||H.call(i)},socialLinks:[{icon:"icon-facebook",link:"https://www.facebook.com/TheMasters",label:"Facebook"},{icon:"icon-twitter",link:"https://twitter.com/@TheMasters",label:"X"}],gamification:u,sdk:m,inviterName:B})})},W$=({sdk:n,notification:r,saveHeight:i,style:u,appNode:c,sdkInDesktopView:p})=>{var m;const k=ue.useRef(null),S=r.data.onboarding,[I,E]=ue.useState(S==null?void 0:S.instantOpen),x=n.getFeature(Rn.GAMES),P=ue.useMemo(()=>z4==null?void 0:z4.map(({graphicSrc:V})=>V),[]);(m=S==null?void 0:S.titleCard)!=null&&m.media&&(S.titleCard.media.sponsorLogo=z$),ue.useLayoutEffect(()=>{var V;i(((V=k.current)==null?void 0:V.getBoundingClientRect().height)||0)},[i]);const{loading:A,throttled:F}=qz(P);return I&&x&&S&&c.current&&!F?R.jsx(HS,{container:c,useContainer:!p,fixedView:!1,children:R.jsx(q$,{notification:r,setOpened:E,gamification:x,onboardingOpts:S,deepLink:x.deepLink,loading:A,renderToNode:c,sdk:n})}):R.jsxs(R.Fragment,{children:[R.jsx(xb,{ref:k,style:{position:"absolute",visibility:"hidden"},children:R.jsx(Lb,{close:()=>{},action:()=>{},onboarding:S})}),R.jsx(G$,{style:u,hiding:r.hiding,children:R.jsx(xb,{children:R.jsx(Lb,{close:r.close,action:()=>{var V;E(!0),(((V=c.current)==null?void 0:V.getBoundingClientRect().y)||0)<0&&b9(c,{behavior:"smooth"})},onboarding:S})})})]})},Q$=U("button")({name:"Container",class:"crkmfw1",propsAsIs:!1}),Y$=U("div")({name:"Content",class:"c11awpy4",propsAsIs:!1}),K$=U("span")({name:"Title",class:"t154z7mh",propsAsIs:!1}),Z$=({title:n,onClick:r,className:i,style:u})=>R.jsx(Q$,{onClick:r,className:i,style:u,children:R.jsxs(Y$,{children:[R.jsx(Mt,{name:"iconUp"}),n&&R.jsx(K$,{children:n})]})}),J$=()=>Xg,X$=U(J$())({name:"Container",class:"ctckejh",propsAsIs:!0}),pw=U("div")({name:"InnerContainer",class:"i1ri7tzr",propsAsIs:!1}),eH=()=>pw,tH=U(eH())({name:"HiddenContainer",class:"h1ng1qh5",propsAsIs:!0}),nH=U("div")({name:"NotificationRefreshing",class:"nruq6ik",propsAsIs:!1}),aH=()=>Z$,rH=U(aH())({name:"Pill",class:"pj6uyys",propsAsIs:!0}),oH=n=>{const[r,i]=ue.useState(0),u=ue.useRef(null),c=ue.useCallback(m=>{u.current=m},[]);ue.useEffect(()=>{var m;const k=(m=u.current)==null?void 0:m.getBoundingClientRect();k&&i(k.height)},[n]);const p=ue.useCallback(m=>{i(m)},[]);return[c,r,p]},sH=({sdk:n,notification:r,appNode:i,sdkInDesktopView:u})=>{var c,p;const{sdk:m}=h9(),[k,S,I]=oH(r.id);return r.type===ef.QUESTION?R.jsxs(R.Fragment,{children:[R.jsx(tH,{ref:k,children:R.jsx(kb,{...r})}),R.jsxs(X$,{style:{height:r.hiding?0:S},hiding:r.hiding,children:[R.jsx(pw,{style:{height:"100%"},children:R.jsx(kb,{...r,controlVideo:m==null?void 0:m.controlVideoPlayer})}),R.jsx(nH,{},r.id)]})]}):r.type===ef.QUESTION_RESOLVED&&(p=(c=r.data)==null?void 0:c.question)!=null&&p.predictionResult?R.jsx(Gz,{style:{height:r.hiding?0:S},saveHeight:I,close:r.close,hiding:r.hiding,...r.data.question}):r.type===ef.ONBOARDING?R.jsx(W$,{style:{height:r.hiding?0:S},saveHeight:I,sdk:n,notification:r,sdkInDesktopView:u,appNode:i}):null},iH=({sdk:n,headerNode:r,scrollNode:i,responsiveStore:u,appNode:c,scrollStore:p})=>{const[m]=ue.useState(n.getNotificationsStore()),k=kn(m),{tabsShown:S}=kn(p,{keys:["tabsShown"]}),{sdkInView:I,sdkInDesktopView:E}=kn(u,{keys:["sdkInView","sdkInDesktopView"]}),[x,P]=ue.useState(null),A=ue.useMemo(()=>{if(!(k!=null&&k.size))return null;for(const V of k.values())if(V.type===ef.ONBOARDING)return V;return k.values().next().value},[k]);ue.useEffect(()=>{A&&(u.get().sdkInDesktopView||u.get().sdkInView)&&(!u.get().sdkInDesktopView&&u.get().sdkInView&&P(A),u.get().sdkInDesktopView&&window.requestAnimationFrame(()=>{p.get().scrollPosition!==0&&P(A)}))},[A]),ue.useEffect(()=>{I||P(null)},[I]);const F=ue.useMemo(()=>{var V,$;const B=u.get().sdkInDesktopView?c:r;return x&&B.current&&Mg.createPortal(R.jsx(rH,{title:`New ${(($=Jg[(V=x.data)==null?void 0:V.questionType])==null?void 0:$.label)||"notification"}`,onClick:()=>{var H;u.get().sdkInDesktopView?(H=i.current)==null||H.scrollTo({top:0,behavior:"smooth"}):b9(c,{behavior:"smooth"}),P(null)},className:S?"c1d7yse1":void 0}),B.current)||null},[x,c,r,i,S,u]);return R.jsxs(R.Fragment,{children:[!x&&A&&R.jsx(sH,{sdkInDesktopView:E,headerNode:r,appNode:c,sdk:n,notification:A}),F]})},lH=n=>{const r=ue.useRef(""),[i,u]=ue.useState(!1),c=kn(n.status),p=kn(n.userId()),m=kn(n.getActiveFeature()),k=c==="ready",[S,I]=ue.useState($i),E=ue.useCallback((A,F)=>{I(F),F===$i?(A&&n.createEventSession(A),window.requestAnimationFrame(()=>{n.openFeature(Rn.GAMES)})):n.closeFeature(!1)},[n]);ue.useEffect(()=>{!k&&S===$i&&(I(su),n.closeFeature(!0))},[k,S,n]),ue.useEffect(()=>{m===Rn.GAMES?I($i):m===Rn.UNSET&&I(su)},[m]);const x=A=>{r.current=A,u(!0),n.initializeApp({skipOrganizationSettings:!0}).then(({enabled:F,err:V})=>{if(V){E(A,su);return}if(F){n.isUserAuthorized().then($=>{if($){E(A,$i);return}else n.disableApp()});return}})},P=()=>{u(!1),n.disableApp()};return ue.useEffect(()=>{if(!p){k&&(I(su),n.disableApp());return}if(p&&r.current&&i){n.initializeApp({skipOrganizationSettings:!0}).then(()=>{n.createEventSession(r.current)});return}},[p]),ue.useEffect(()=>()=>{u(!1),n.disableApp()},[u,n]),{sdkEnabled:i,sdkReady:k,activeOverlay:S,activateAndLoadOverlay:E,activateEventWithId:x,deactivate:P,isLogged:!!p}},hw=n=>{const r=kn(n.getActiveFeature()),i=kn(n.streamStore()),[u,c]=ue.useState(null);return ue.useEffect(()=>{const p=n.getFeatures();if(r)for(const[m,k]of p)m===r?(k.status.get()===Ic.Suspended&&k.enable(),c(k)):k.status.get()===Ic.Ready&&k.disable();else{for(const[,m]of p)m.status.get()===Ic.Ready&&m.disable();c(null)}return()=>{for(const[,m]of p)m.status.get()===Ic.Ready&&m.disable()}},[r,n,i]),[r,u]},Ob=Object.keys(lo),a4=()=>{const n=window.innerWidth;let r="sm";for(let i=Ob.length-1;i>0;i--){const u=Ob[i];if(!(n<lo[u])&&n>=lo[u]){r=u;break}}return{name:r,size:lo[r]}},Ab=n=>{var r;return(((r=n.current)==null?void 0:r.getBoundingClientRect().y)||0)<-68},Pb=n=>n>=lo.xl,uH=n=>{const[r]=ue.useState(()=>{const i=a4();return aw({screen:a4(),sdkInView:Ab(n),sdkInDesktopView:Pb(i.size)})});return ue.useEffect(()=>{const i=P4(()=>{r.setKey("sdkInView",Ab(n))},200),u=P4(()=>{const c=a4();r.setKey("screen",c),r.setKey("sdkInDesktopView",Pb(c.size))},200);return window.addEventListener("scroll",i),window.addEventListener("resize",u),()=>{window.removeEventListener("scroll",i),window.removeEventListener("resize",u)}},[r,n]),[r]},cH=({sdk:n,className:r,scrollStore:i,appNode:u,scrollNode:c,headerNode:p,responsiveStore:m})=>{const[,k]=hw(n);return R.jsx(oB,{className:r,scrollNode:c,appNode:u,scrollStore:i,feature:k,headerNode:p,responsiveStore:m,sdk:n})},dH=({sdk:n,className:r,appNode:i,responsiveStore:u})=>{const c=kn(n.featuresList.getStore());return c?Array.from(c,p=>{const m=n.getFeature(p);return m?R.jsx(sB,{className:r,appNode:i,feature:m,responsiveStore:u,sdk:n},p):null}):null},fH=({sdk:n,overlays:r,children:i})=>{const u=ue.useRef(null),c=ue.useRef(null),[p]=uH(u),[m,k]=yj(u,p),{sdkEnabled:S,sdkReady:I,activeOverlay:E,activateAndLoadOverlay:x,activateEventWithId:P,deactivate:A,isLogged:F}=lH(n);ue.useEffect(()=>{Promise.resolve().then(()=>NE)},[]);const V=ue.useMemo(()=>({sdk:n}),[n]);return R.jsx(GS.Provider,{value:V,children:R.jsxs($P,{ref:u,children:[S&&R.jsx(CB,{ref:c,sdkReady:I,activeOverlay:E,className:kg,setActiveOverlay:$=>x("",$),scrollToTop:()=>{var $;return($=m.current)==null?void 0:$.scrollTo(0,0)},responsiveStore:p}),R.jsxs(AS,{className:"sl-hide-on-modal",ref:m,"data-nav":S.toString(),children:[I&&R.jsx(iH,{sdk:n,scrollNode:m,headerNode:c,appNode:u,scrollStore:k,responsiveStore:p}),R.jsx("div",{style:!S||E===su?{}:{display:"none"},children:i&&i({activateEventWithId:P,deactivate:A})}),r&&E===kB&&r[E],I&&E===$i&&R.jsx(cH,{scrollStore:k,responsiveStore:p,scrollNode:m,appNode:u,headerNode:c,className:kg,sdk:n}),I&&R.jsx(dH,{responsiveStore:p,appNode:u,className:kg,sdk:n})]}),S&&!F&&R.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:"You are not logged in."})]})})};let mH=(n=21)=>crypto.getRandomValues(new Uint8Array(n)).reduce((r,i)=>(i&=63,i<36?r+=i.toString(36):i<62?r+=(i-26).toString(36).toUpperCase():i>62?r+="-":r+="_",r),"");var Vt;(function(n){n[n.Canceled=1]="Canceled",n[n.Unknown=2]="Unknown",n[n.InvalidArgument=3]="InvalidArgument",n[n.DeadlineExceeded=4]="DeadlineExceeded",n[n.NotFound=5]="NotFound",n[n.AlreadyExists=6]="AlreadyExists",n[n.PermissionDenied=7]="PermissionDenied",n[n.ResourceExhausted=8]="ResourceExhausted",n[n.FailedPrecondition=9]="FailedPrecondition",n[n.Aborted=10]="Aborted",n[n.OutOfRange=11]="OutOfRange",n[n.Unimplemented=12]="Unimplemented",n[n.Internal=13]="Internal",n[n.Unavailable=14]="Unavailable",n[n.DataLoss=15]="DataLoss",n[n.Unauthenticated=16]="Unauthenticated"})(Vt||(Vt={}));function Mb(n){const r=Vt[n];return typeof r!="string"?n.toString():r[0].toLowerCase()+r.substring(1).replace(/[A-Z]/g,i=>"_"+i.toLowerCase())}class _n extends Error{constructor(r,i=Vt.Unknown,u,c,p){super(pH(r,i)),this.name="ConnectError",Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=r,this.code=i,this.metadata=new Headers(u??{}),this.details=c??[],this.cause=p}static from(r,i=Vt.Unknown){return r instanceof _n?r:r instanceof Error?r.name=="AbortError"?new _n(r.message,Vt.Canceled):new _n(r.message,i,void 0,void 0,r):new _n(String(r),i,void 0,void 0,r)}static[Symbol.hasInstance](r){return r instanceof Error?Object.getPrototypeOf(r)===_n.prototype?!0:r.name==="ConnectError"&&"code"in r&&typeof r.code=="number"&&"metadata"in r&&"details"in r&&Array.isArray(r.details)&&"rawMessage"in r&&typeof r.rawMessage=="string"&&"cause"in r:!1}findDetails(r){const i="typeName"in r?{findMessage:c=>c===r.typeName?r:void 0}:r,u=[];for(const c of this.details){if(c instanceof Xi){i.findMessage(c.getType().typeName)&&u.push(c);continue}const p=i.findMessage(c.type);if(p)try{u.push(p.fromBinary(c.value))}catch{}}return u}}function pH(n,r){return n.length?`[${Mb(r)}] ${n}`:`[${Mb(r)}]`}function hH(n,r,i){try{const u=o9.dec(n);return r?r.fromBinary(u,i):u}catch(u){throw _n.from(u,Vt.DataLoss)}}function gH(n,r){const i={};for(const[u,c]of Object.entries(n.methods)){const p=r(Object.assign(Object.assign({},c),{localName:u,service:n}));p!=null&&(i[u]=p)}return i}function Db(n){let r,i=new Uint8Array(0);function u(c){const p=new Uint8Array(i.length+c.length);p.set(i),p.set(c,i.length),i=p}return new ReadableStream({start(){r=n.getReader()},async pull(c){let p;for(;;){if(p===void 0&&i.byteLength>=5){let S=0;for(let I=1;I<5;I++)S=(S<<8)+i[I];p={flags:i[0],length:S}}if(p!==void 0&&i.byteLength>=p.length+5)break;const k=await r.read();if(k.done)break;u(k.value)}if(p===void 0){if(i.byteLength==0){c.close();return}c.error(new _n("premature end of stream",Vt.DataLoss));return}const m=i.subarray(5,5+p.length);i=i.subarray(5+p.length),c.enqueue({flags:p.flags,data:m})}})}function Ub(n,r){const i=new Uint8Array(r.length+5);i.set(r,5);const u=new DataView(i.buffer,i.byteOffset,i.byteLength);return u.setUint8(0,n),u.setUint32(1,r.length),i}var yH=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n[Symbol.asyncIterator],i;return r?r.call(n):(n=typeof __values=="function"?__values(n):n[Symbol.iterator](),i={},u("next"),u("throw"),u("return"),i[Symbol.asyncIterator]=function(){return this},i);function u(p){i[p]=n[p]&&function(m){return new Promise(function(k,S){m=n[p](m),c(k,S,m.done,m.value)})}}function c(p,m,k,S){Promise.resolve(S).then(function(I){p({value:I,done:k})},m)}},Gp=function(n){return this instanceof Gp?(this.v=n,this):new Gp(n)},vH=function(n,r,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=i.apply(n,r||[]),c,p=[];return c={},k("next"),k("throw"),k("return",m),c[Symbol.asyncIterator]=function(){return this},c;function m(A){return function(F){return Promise.resolve(F).then(A,x)}}function k(A,F){u[A]&&(c[A]=function(V){return new Promise(function($,B){p.push([A,V,$,B])>1||S(A,V)})},F&&(c[A]=F(c[A])))}function S(A,F){try{I(u[A](F))}catch(V){P(p[0][3],V)}}function I(A){A.value instanceof Gp?Promise.resolve(A.value.v).then(E,x):P(p[0][2],A)}function E(A){S("next",A)}function x(A){S("throw",A)}function P(A,F){A(F),p.shift(),p.length&&S(p[0][0],p[0][1])}},kH=function(n){var r,i;return r={},u("next"),u("throw",function(c){throw c}),u("return"),r[Symbol.iterator]=function(){return this},r;function u(c,p){r[c]=n[c]?function(m){return(i=!i)?{value:Gp(n[c](m)),done:!1}:p?p(m):m}:p}};function bH(n){return vH(this,arguments,function*(){yield Gp(yield*kH(yH(n)))})}var gw=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n[Symbol.asyncIterator],i;return r?r.call(n):(n=typeof __values=="function"?__values(n):n[Symbol.iterator](),i={},u("next"),u("throw"),u("return"),i[Symbol.asyncIterator]=function(){return this},i);function u(p){i[p]=n[p]&&function(m){return new Promise(function(k,S){m=n[p](m),c(k,S,m.done,m.value)})}}function c(p,m,k,S){Promise.resolve(S).then(function(I){p({value:I,done:k})},m)}},sf=function(n){return this instanceof sf?(this.v=n,this):new sf(n)},TH=function(n){var r,i;return r={},u("next"),u("throw",function(c){throw c}),u("return"),r[Symbol.iterator]=function(){return this},r;function u(c,p){r[c]=n[c]?function(m){return(i=!i)?{value:sf(n[c](m)),done:!1}:p?p(m):m}:p}},SH=function(n,r,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=i.apply(n,r||[]),c,p=[];return c={},k("next"),k("throw"),k("return",m),c[Symbol.asyncIterator]=function(){return this},c;function m(A){return function(F){return Promise.resolve(F).then(A,x)}}function k(A,F){u[A]&&(c[A]=function(V){return new Promise(function($,B){p.push([A,V,$,B])>1||S(A,V)})},F&&(c[A]=F(c[A])))}function S(A,F){try{I(u[A](F))}catch(V){P(p[0][3],V)}}function I(A){A.value instanceof sf?Promise.resolve(A.value.v).then(E,x):P(p[0][2],A)}function E(A){S("next",A)}function x(A){S("throw",A)}function P(A,F){A(F),p.shift(),p.length&&S(p[0][0],p[0][1])}};function Fb(n,r){return gH(n,i=>{switch(i.kind){case Ze.Unary:return wH(r,n,i);case Ze.ServerStreaming:return EH(r,n,i);case Ze.ClientStreaming:return CH(r,n,i);case Ze.BiDiStreaming:return _H(r,n,i);default:return null}})}function wH(n,r,i){return async function(u,c){var p,m;const k=await n.unary(r,i,c==null?void 0:c.signal,c==null?void 0:c.timeoutMs,c==null?void 0:c.headers,u,c==null?void 0:c.contextValues);return(p=c==null?void 0:c.onHeader)===null||p===void 0||p.call(c,k.header),(m=c==null?void 0:c.onTrailer)===null||m===void 0||m.call(c,k.trailer),k.message}}function EH(n,r,i){return function(u,c){return yw(n.stream(r,i,c==null?void 0:c.signal,c==null?void 0:c.timeoutMs,c==null?void 0:c.headers,bH([u]),c==null?void 0:c.contextValues),c)}}function CH(n,r,i){return async function(u,c){var p,m,k,S,I,E;const x=await n.stream(r,i,c==null?void 0:c.signal,c==null?void 0:c.timeoutMs,c==null?void 0:c.headers,u,c==null?void 0:c.contextValues);(I=c==null?void 0:c.onHeader)===null||I===void 0||I.call(c,x.header);let P;try{for(var A=!0,F=gw(x.message),V;V=await F.next(),p=V.done,!p;A=!0)S=V.value,A=!1,P=S}catch($){m={error:$}}finally{try{!A&&!p&&(k=F.return)&&await k.call(F)}finally{if(m)throw m.error}}if(!P)throw new _n("protocol error: missing response message",Vt.Internal);return(E=c==null?void 0:c.onTrailer)===null||E===void 0||E.call(c,x.trailer),P}}function _H(n,r,i){return function(u,c){return yw(n.stream(r,i,c==null?void 0:c.signal,c==null?void 0:c.timeoutMs,c==null?void 0:c.headers,u,c==null?void 0:c.contextValues),c)}}function yw(n,r){const i=function(){var u,c;return SH(this,arguments,function*(){const p=yield sf(n);(u=r==null?void 0:r.onHeader)===null||u===void 0||u.call(r,p.header),yield sf(yield*TH(gw(p.message))),(c=r==null?void 0:r.onTrailer)===null||c===void 0||c.call(r,p.trailer)})}()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>i.next()})}}function RH(...n){const r=new AbortController,i=n.filter(c=>c!==void 0).concat(r.signal);for(const c of i){if(c.aborted){u.apply(c);break}c.addEventListener("abort",u)}function u(){r.signal.aborted||r.abort(vw(this));for(const c of i)c.removeEventListener("abort",u)}return r}function IH(n){const r=new AbortController,i=()=>{r.abort(new _n("the operation timed out",Vt.DeadlineExceeded))};let u;return n!==void 0&&(n<=0?i():u=setTimeout(i,n)),{signal:r.signal,cleanup:()=>clearTimeout(u)}}function vw(n){if(!n.aborted)return;if(n.reason!==void 0)return n.reason;const r=new Error("This operation was aborted");return r.name="AbortError",r}function $4(){return{get(n){return n.id in this?this[n.id]:n.defaultValue},set(n,r){return this[n.id]=r,this},delete(n){return delete this[n.id],this}}}function jb(n,r){return{id:Symbol(r==null?void 0:r.description),defaultValue:n}}const r4=128;function Vb(n){const r=new Headers,i=new TextDecoder().decode(n).split(`\r
180
+ `);for(const u of i){if(u==="")continue;const c=u.indexOf(":");if(c>0){const p=u.substring(0,c).trim(),m=u.substring(c+1).trim();r.append(p,m)}}return r}const NH="Content-Type",LH="Grpc-Timeout",kw="Grpc-Status",bw="Grpc-Message",xH="Grpc-Status-Details-Bin",OH="User-Agent",AH="X-User-Agent",PH="X-Grpc-Web",MH="application/grpc-web+proto",DH="application/grpc-web+json";class Yi extends Xi{constructor(r){super(),this.code=0,this.message="",this.details=[],T.util.initPartial(r,this)}static fromBinary(r,i){return new Yi().fromBinary(r,i)}static fromJson(r,i){return new Yi().fromJson(r,i)}static fromJsonString(r,i){return new Yi().fromJsonString(r,i)}static equals(r,i){return T.util.equals(Yi,r,i)}}Yi.runtime=T;Yi.typeName="google.rpc.Status";Yi.fields=T.util.newFieldList(()=>[{no:1,name:"code",kind:"scalar",T:5},{no:2,name:"message",kind:"scalar",T:9},{no:3,name:"details",kind:"message",T:Qs,repeated:!0}]);const UH="0";function Tw(n){var r;const i=n.get(xH);if(i!=null){const c=hH(i,Yi);if(c.code==0)return;const p=new _n(c.message,c.code,n);return p.details=c.details.map(m=>({type:m.typeUrl.substring(m.typeUrl.lastIndexOf("/")+1),value:m.value})),p}const u=n.get(kw);if(u!=null){if(u===UH)return;const c=parseInt(u,10);return c in Vt?new _n(decodeURIComponent((r=n.get(bw))!==null&&r!==void 0?r:""),c,n):new _n(`invalid grpc-status: ${u}`,Vt.Internal,n)}}function Bb(n,r,i){const u=typeof r=="string"?r:r.typeName,c=typeof i=="string"?i:i.name;return n.toString().replace(/\/?$/,`/${u}/${c}`)}function Sw(n,r){return r instanceof n?r:new n(r)}function FH(n,r){function i(u){return u.done===!0?u:{done:u.done,value:Sw(n,u.value)}}return{[Symbol.asyncIterator](){const u=r[Symbol.asyncIterator](),c={next:()=>u.next().then(i)};return u.throw!==void 0&&(c.throw=p=>u.throw(p).then(i)),u.return!==void 0&&(c.return=p=>u.return(p).then(i)),c}}}function jH(n){var r;const i=Object.assign({},n);return(r=i.ignoreUnknownFields)!==null&&r!==void 0||(i.ignoreUnknownFields=!0),i}function zb(n,r,i,u){const c=r?$b(n.I,u):Hb(n.I,i);return{parse:(r?$b(n.O,u):Hb(n.O,i)).parse,serialize:c.serialize}}function $b(n,r){return{parse(i){try{return n.fromBinary(i,r)}catch(u){const c=u instanceof Error?u.message:String(u);throw new _n(`parse binary: ${c}`,Vt.InvalidArgument)}},serialize(i){try{return i.toBinary(r)}catch(u){const c=u instanceof Error?u.message:String(u);throw new _n(`serialize binary: ${c}`,Vt.Internal)}}}}function Hb(n,r){var i,u;const c=(i=r==null?void 0:r.textEncoder)!==null&&i!==void 0?i:new TextEncoder,p=(u=r==null?void 0:r.textDecoder)!==null&&u!==void 0?u:new TextDecoder,m=jH(r);return{parse(k){try{const S=p.decode(k);return n.fromJsonString(S,m)}catch(S){throw _n.from(S,Vt.InvalidArgument)}},serialize(k){try{const S=k.toJsonString(m);return c.encode(S)}catch(S){throw _n.from(S,Vt.Internal)}}}}function VH(n){const r=Ew(n.next,n.interceptors),[i,u,c]=ww(n),p=Object.assign(Object.assign({},n.req),{message:Sw(n.req.method.I,n.req.message),signal:i});return r(p).then(m=>(c(),m),u)}function BH(n){const r=Ew(n.next,n.interceptors),[i,u,c]=ww(n),p=Object.assign(Object.assign({},n.req),{message:FH(n.req.method.I,n.req.message),signal:i});let m=!1;return i.addEventListener("abort",function(){var k,S;const I=n.req.message[Symbol.asyncIterator]();m||(k=I.throw)===null||k===void 0||k.call(I,this.reason).catch(()=>{}),(S=I.return)===null||S===void 0||S.call(I).catch(()=>{})}),r(p).then(k=>Object.assign(Object.assign({},k),{message:{[Symbol.asyncIterator](){const S=k.message[Symbol.asyncIterator]();return{next(){return S.next().then(I=>(I.done==!0&&(m=!0,c()),I),u)}}}}}),u)}function ww(n){const{signal:r,cleanup:i}=IH(n.timeoutMs),u=RH(n.signal,r);return[u.signal,function(p){const m=_n.from(r.aborted?vw(r):p);return u.abort(m),i(),Promise.reject(m)},function(){i(),u.abort()}]}function Ew(n,r){var i;return(i=r==null?void 0:r.concat().reverse().reduce((u,c)=>c(u),n))!==null&&i!==void 0?i:n}function zH(){try{new Headers}catch{throw new Error("connect-web requires the fetch API. Are you running on an old version of Node.js? Node.js is not supported in Connect for Web - please stay tuned for Connect for Node.")}}function Gb(n,r){const i=Tw(n);if(i)throw r.forEach((u,c)=>{i.metadata.append(c,u)}),i}function qb(n,r,i,u){const c=new Headers(i??{});return c.set(NH,n?MH:DH),c.set(PH,"1"),c.set(AH,"connect-es/1.3.0"),u&&c.set(OH,"connect-es/1.3.0"),r!==void 0&&c.set(LH,`${r}m`),c}function $H(n){switch(n){case 400:return Vt.Internal;case 401:return Vt.Unauthenticated;case 403:return Vt.PermissionDenied;case 404:return Vt.Unimplemented;case 429:return Vt.Unavailable;case 502:return Vt.Unavailable;case 503:return Vt.Unavailable;case 504:return Vt.Unavailable;default:return Vt.Unknown}}function Wb(n,r){var i;if(n>=200&&n<300){const u=Tw(r);if(u)throw u;return{foundStatus:r.has(kw)}}throw new _n(decodeURIComponent((i=r.get(bw))!==null&&i!==void 0?i:`HTTP ${n}`),$H(n),r)}var Lc=function(n){return this instanceof Lc?(this.v=n,this):new Lc(n)},HH=function(n,r,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=i.apply(n,r||[]),c,p=[];return c={},k("next"),k("throw"),k("return",m),c[Symbol.asyncIterator]=function(){return this},c;function m(A){return function(F){return Promise.resolve(F).then(A,x)}}function k(A,F){u[A]&&(c[A]=function(V){return new Promise(function($,B){p.push([A,V,$,B])>1||S(A,V)})},F&&(c[A]=F(c[A])))}function S(A,F){try{I(u[A](F))}catch(V){P(p[0][3],V)}}function I(A){A.value instanceof Lc?Promise.resolve(A.value.v).then(E,x):P(p[0][2],A)}function E(A){S("next",A)}function x(A){S("throw",A)}function P(A,F){A(F),p.shift(),p.length&&S(p[0][0],p[0][1])}};function Qb(n){var r;zH();const i=(r=n.useBinaryFormat)!==null&&r!==void 0?r:!0;return{async unary(u,c,p,m,k,S,I){var E;const{serialize:x,parse:P}=zb(c,i,n.jsonOptions,n.binaryOptions);return m=m===void 0?n.defaultTimeoutMs:m<=0?void 0:m,await VH({interceptors:n.interceptors,signal:p,timeoutMs:m,req:{stream:!1,service:u,method:c,url:Bb(n.baseUrl,u,c),init:{method:"POST",credentials:(E=n.credentials)!==null&&E!==void 0?E:"same-origin",redirect:"error",mode:"cors"},header:qb(i,m,k,!1),contextValues:I??$4(),message:S},next:async A=>{var F;const $=await((F=n.fetch)!==null&&F!==void 0?F:globalThis.fetch)(A.url,Object.assign(Object.assign({},A.init),{headers:A.header,signal:A.signal,body:Ub(0,x(A.message))}));if(Wb($.status,$.headers),!$.body)throw"missing response body";const B=Db($.body).getReader();let H,X;for(;;){const ee=await B.read();if(ee.done)break;const{flags:ie,data:fe}=ee.value;if(ie===r4){if(H!==void 0)throw"extra trailer";H=Vb(fe);continue}if(X!==void 0)throw"extra message";X=P(fe)}if(H===void 0)throw"missing trailer";if(Gb(H,$.headers),X===void 0)throw"missing message";return{stream:!1,header:$.headers,message:X,trailer:H}}})},async stream(u,c,p,m,k,S,I){var E;const{serialize:x,parse:P}=zb(c,i,n.jsonOptions,n.binaryOptions);function A(V,$,B,H){return HH(this,arguments,function*(){const ee=Db(V).getReader();if($){if(!(yield Lc(ee.read())).done)throw"extra data for trailers-only";return yield Lc(void 0)}let ie=!1;for(;;){const fe=yield Lc(ee.read());if(fe.done)break;const{flags:ce,data:Le}=fe.value;if((ce&r4)===r4){if(ie)throw"extra trailer";ie=!0;const _e=Vb(Le);Gb(_e,H),_e.forEach((Qe,Be)=>B.set(Be,Qe));continue}if(ie)throw"extra message";yield yield Lc(P(Le))}if(!ie)throw"missing trailer"})}async function F(V){if(c.kind!=Ze.ServerStreaming)throw"The fetch API does not support streaming request bodies";const $=await V[Symbol.asyncIterator]().next();if($.done==!0)throw"missing request message";return Ub(0,x($.value))}return m=m===void 0?n.defaultTimeoutMs:m<=0?void 0:m,BH({interceptors:n.interceptors,signal:p,timeoutMs:m,req:{stream:!0,service:u,method:c,url:Bb(n.baseUrl,u,c),init:{method:"POST",credentials:(E=n.credentials)!==null&&E!==void 0?E:"same-origin",redirect:"error",mode:"cors"},header:qb(i,m,k,!1),contextValues:I??$4(),message:S},next:async V=>{var $;const H=await(($=n.fetch)!==null&&$!==void 0?$:globalThis.fetch)(V.url,Object.assign(Object.assign({},V.init),{headers:V.header,signal:V.signal,body:await F(V.message)})),{foundStatus:X}=Wb(H.status,H.headers);if(!H.body)throw"missing response body";const ee=new Headers;return Object.assign(Object.assign({},V),{header:H.headers,trailer:ee,message:A(H.body,X,ee,H.headers)})}})}}}let GH=()=>({emit(n,...r){let i=this.events[n]||[];for(let u=0,c=i.length;u<c;u++)i[u](...r)},events:{},on(n,r){var i;return(i=this.events[n])!=null&&i.push(r)||(this.events[n]=[r]),()=>{var u;this.events[n]=(u=this.events[n])==null?void 0:u.filter(c=>r!==c)}}});const Yb=({cache:n=new Map,fetcher:r,...i}={})=>{const u=GH();let c=!0;eT("visibilitychange",()=>{c=!document.hidden,c&&u.emit(Zb)}),eT("online",()=>u.emit(Jb));const p=new Map,m=new Map,k=new Map;let S={};const I=async([B,H],X,ee,ie)=>{var fe;if(!c)return;const ce=He=>{X.key===B&&(X.set(He),u.emit(o4,B,He,!0))},Le=()=>{ce({...X.value,...nT,promise:k.get(B)})},{dedupeTime:_e=4e3,fetcher:Qe}={...ee,...S},Be=tT();if(k.has(B)){X.value.loading||Le();return}if(!ie){const He=n.get(B);He&&X.value.data!==He&&ce({data:He,...ou});const et=m.get(B);if(et&&et+_e>Be)return}const it=EL();try{const He=Qe(...H);m.set(B,Be),k.set(B,He),Le();const et=await He;n.set(B,et),ce({data:et,...ou}),m.set(B,tT())}catch(He){(fe=ee.onError)==null||fe.call(ee,He),ce({data:X.value.data,error:He,...ou})}finally{it(),k.delete(B)}},E=(B,{fetcher:H=r,...X}={})=>{const ee=_4({...ou}),ie={...i,...X,fetcher:H};ee._=Cw,ee.invalidate=()=>{const{key:et}=ee;et&&A(et)},ee.mutate=et=>{const{key:Lt}=ee;Lt&&F(Lt,et)};let fe,ce,Le,_e,Qe,Be=[];IL(ee,()=>{const et=!fe;[Qe,fe]=qH(B),_e=Qe.subscribe(Ne=>{if(Ne){const[Ge,Y]=Ne;ee.key=Ge,I([Ge,Y],ee,ie),ce=Ge,Le=Y}else ee.key=ce=Le=void 0,ee.set({...ou})});const Lt=Qe.get();Lt&&([ce,Le]=Lt,et&&it());const{refetchInterval:xt=0,refetchOnFocus:In,refetchOnReconnect:Re}=ie,je=()=>{ce&&I([ce,Le],ee,ie)};xt>0&&p.set(B,setInterval(je,xt)),In&&Be.push(u.on(Zb,je)),Re&&Be.push(u.on(Jb,je)),Be.push(u.on(Xb,Ne=>{ce&&s4(ce,Ne)&&I([ce,Le],ee,ie,!0)}),u.on(o4,(Ne,Ge,Y)=>{ce&&s4(ce,Ne)&&ee.value!==Ge&&ee.value.data!==Ge&&ee.set(Y?Ge:{data:Ge,...ou})}))});const it=()=>{ce&&Le&&I([ce,Le],ee,ie)},He=ee.listen;return ee.listen=et=>{const Lt=He(et);return et(ee.value),it(),Lt},NL(ee,()=>{ee.value={...ou},fe==null||fe(),Be.forEach(Lt=>Lt()),Be=[],_e==null||_e();const et=p.get(B);et&&clearInterval(et)}),ee},x=B=>{n.delete(B),m.delete(B)},P=(B,H)=>{for(const X of n.keys())s4(X,B)&&H(X)},A=B=>{P(B,x),u.emit(Xb,B)},F=(B,H)=>{P(B,X=>{H===void 0?x(X):n.set(X,H)}),u.emit(o4,B,H)};function V(B){const H=async ee=>{var ie;const fe=S.fetcher??B,ce=[];try{X.set({error:void 0,data:void 0,mutate:H,...nT});const Le=await fe({data:ee,invalidate:_e=>{ce.push(_e)},getCacheUpdater:(_e,Qe=!0)=>[Be=>{F(_e,Be),Qe&&ce.push(_e)},n.get(_e)]});return X.setKey("data",Le),Le}catch(Le){(ie=i==null?void 0:i.onError)==null||ie.call(i,Le),X.setKey("error",Le)}finally{X.setKey("loading",!1),ce.forEach(A)}},X=_4({mutate:H,...ou});return X.mutate=H,X}return[E,V,{__unsafeOverruleSettings:B=>{console.warn("You should only use __unsafeOverruleSettings in test environment"),S=B},invalidateKeys:A,mutateCache:F}]};function Kb(n){return typeof n=="string"||typeof n=="number"||n===!0}const qH=n=>{if(Kb(n))return[iu([""+n,[n]]),()=>{}];let r=iu(null),i=[];const u=()=>{i.some(p=>p==null||p===!1)?r.set(null):r.set([i.join(""),i])},c=[];for(let p=0;p<n.length;p++){const m=n[p];Kb(m)?i.push(m):c.push(m.subscribe(k=>{i[p]=WH(m)?m.value&&"data"in m.value?m.key:null:k,u()}))}return u(),[r,()=>c.forEach(p=>p())]};function WH(n){return n._===Cw}const Zb=1,Jb=2,Xb=3,o4=4,eT=(n,r)=>{typeof window>"u"||addEventListener(n,r)},s4=(n,r)=>Array.isArray(r)?r.includes(n):typeof r=="function"?r(n):n===r,tT=()=>new Date().getTime(),Cw=Symbol(),nT={loading:!0},ou={loading:!1},QH=T.makeEnum("streamlayer.sports.LeagueSyncStatus",[{no:0,name:"LEAGUE_SYNC_STATUS_UNSET",localName:"UNSET"},{no:1,name:"LEAGUE_SYNC_STATUS_SCHEDULED",localName:"SCHEDULED"},{no:2,name:"LEAGUE_SYNC_STATUS_IN_PROGRESS",localName:"IN_PROGRESS"},{no:3,name:"LEAGUE_SYNC_STATUS_SYNCED",localName:"SYNCED"},{no:4,name:"LEAGUE_SYNC_STATUS_ERROR",localName:"ERROR"}]),w9=T.makeEnum("streamlayer.sports.EventStatus",[{no:0,name:"EVENT_STATUS_UNSET",localName:"UNSET"},{no:1,name:"EVENT_STATUS_PREGAME",localName:"PREGAME"},{no:2,name:"EVENT_STATUS_ACTIVE",localName:"ACTIVE"},{no:3,name:"EVENT_STATUS_BREAK",localName:"BREAK"},{no:4,name:"EVENT_STATUS_OVERTIME",localName:"OVERTIME"},{no:5,name:"EVENT_STATUS_SHOOTOUTS",localName:"SHOOTOUTS"},{no:6,name:"EVENT_STATUS_POSTGAME",localName:"POSTGAME"},{no:7,name:"EVENT_STATUS_CANCELLED",localName:"CANCELLED"}]),E9=T.makeEnum("streamlayer.sports.EventEndless",[{no:0,name:"EVENT_ENDLESS_UNSET",localName:"UNSET"},{no:1,name:"EVENT_ENDLESS_ENABLED",localName:"ENABLED"},{no:2,name:"EVENT_ENDLESS_DISABLED",localName:"DISABLED"}]),n3=T.makeMessageType("streamlayer.sports.Pagination",()=>[{no:1,name:"page",kind:"scalar",T:5},{no:2,name:"page_size",kind:"scalar",T:5}]),_w=T.makeMessageType("streamlayer.sports.Sort",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"order",kind:"scalar",T:9}]),a3=T.makeMessageType("streamlayer.sports.Meta",()=>[{no:1,name:"count",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}]),r3=T.makeMessageType("streamlayer.sports.Venue",()=>[{no:1,name:"city",kind:"scalar",T:9},{no:2,name:"country",kind:"scalar",T:9},{no:3,name:"stadium",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.sports.Team",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"custom_fields",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"alias",kind:"scalar",T:9},{no:5,name:"venue",kind:"message",T:r3}]);const qp=T.makeMessageType("streamlayer.sports.EventTime",()=>[{no:1,name:"clock",kind:"scalar",T:9},{no:2,name:"period",kind:"scalar",T:5}]),Rw=T.makeMessageType("streamlayer.sports.EventPeriod",()=>[{no:1,name:"number",kind:"scalar",T:5},{no:2,name:"score_home",kind:"scalar",T:5},{no:3,name:"score_away",kind:"scalar",T:5}]);T.makeMessageType("streamlayer.sports.Event",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"custom_fields",kind:"scalar",T:9},{no:3,name:"league_id",kind:"scalar",T:4},{no:4,name:"season_id",kind:"scalar",T:4},{no:5,name:"home_team_id",kind:"scalar",T:4},{no:6,name:"away_team_id",kind:"scalar",T:4},{no:7,name:"winner_team_id",kind:"scalar",T:4},{no:8,name:"scheduled",kind:"scalar",T:9},{no:9,name:"score_home",kind:"scalar",T:5},{no:10,name:"score_away",kind:"scalar",T:5},{no:11,name:"venue",kind:"message",T:r3},{no:12,name:"event_time",kind:"message",T:qp},{no:13,name:"status",kind:"enum",T:T.getEnumType(w9)},{no:14,name:"periods",kind:"message",T:Rw,repeated:!0},{no:15,name:"start_time",kind:"scalar",T:9},{no:16,name:"end_time",kind:"scalar",T:9},{no:17,name:"endless",kind:"enum",T:T.getEnumType(E9)}]);const Iw=T.makeMessageType("streamlayer.sports.Country",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"abbreviation",kind:"scalar",T:9}]),YH=T.makeMessageType("streamlayer.sports.PlayerAttributes",()=>[{no:1,name:"display_id",kind:"scalar",T:5},{no:3,name:"full_first",kind:"scalar",T:9},{no:4,name:"full_last",kind:"scalar",T:9},{no:5,name:"uniform",kind:"scalar",T:9},{no:6,name:"height",kind:"message",T:KH},{no:7,name:"weight",kind:"message",T:ZH},{no:8,name:"birth",kind:"message",T:JH}]),KH=T.makeMessageType("streamlayer.sports.PlayerAttributes.Height",()=>[{no:1,name:"centimeters",kind:"scalar",T:5},{no:2,name:"inches",kind:"scalar",T:5}],{localName:"PlayerAttributes_Height"}),ZH=T.makeMessageType("streamlayer.sports.PlayerAttributes.Weight",()=>[{no:1,name:"kilograms",kind:"scalar",T:5},{no:2,name:"pounds",kind:"scalar",T:5}],{localName:"PlayerAttributes_Weight"}),JH=T.makeMessageType("streamlayer.sports.PlayerAttributes.Birth",()=>[{no:1,name:"city",kind:"scalar",T:9},{no:2,name:"country",kind:"message",T:Iw}],{localName:"PlayerAttributes_Birth"});T.makeMessageType("streamlayer.sports.PlayerAttributes.Birth.BirthDate",()=>[{no:1,name:"year",kind:"scalar",T:5},{no:2,name:"month",kind:"scalar",T:5},{no:3,name:"date",kind:"scalar",T:5},{no:4,name:"full",kind:"scalar",T:9}],{localName:"PlayerAttributes_Birth_BirthDate"});const XH=T.makeMessageType("streamlayer.sports.PlayerTeam",()=>[{no:1,name:"team_id",kind:"scalar",T:4},{no:2,name:"position",kind:"scalar",T:9},{no:3,name:"jersey_number",kind:"scalar",T:5}]);T.makeMessageType("streamlayer.sports.Player",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:8,name:"custom_fields",kind:"scalar",T:9},{no:9,name:"first_name",kind:"scalar",T:9},{no:10,name:"last_name",kind:"scalar",T:9},{no:14,name:"display_name",kind:"scalar",T:9},{no:11,name:"birth_date",kind:"scalar",T:9},{no:12,name:"nationality",kind:"message",T:Iw},{no:13,name:"attributes",kind:"message",T:YH},{no:15,name:"teams",kind:"message",T:XH,repeated:!0}]);const uu=T.makeMessageType("streamlayer.sports.TeamRecord",()=>[{no:1,name:"wins",kind:"scalar",T:5},{no:2,name:"losses",kind:"scalar",T:5}]);T.makeMessageType("streamlayer.sports.Season",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:4,name:"name",kind:"scalar",T:9},{no:5,name:"type",kind:"scalar",T:9},{no:6,name:"year",kind:"scalar",T:5},{no:7,name:"league_id",kind:"scalar",T:4}]);const Ap=T.makeMessageType("streamlayer.sports.SyncStatusStage",()=>[{no:1,name:"stage",kind:"scalar",T:9},{no:2,name:"timestamp",kind:"scalar",T:4},{no:3,name:"datetime",kind:"scalar",T:9},{no:4,name:"error",kind:"scalar",T:9},{no:5,name:"status",kind:"enum",T:T.getEnumType(QH)}]),eG=T.makeMessageType("streamlayer.sports.SyncStatus",()=>[{no:1,name:"teams",kind:"message",T:Ap},{no:2,name:"event",kind:"message",T:Ap},{no:3,name:"events",kind:"message",T:Ap},{no:4,name:"players",kind:"message",T:Ap},{no:5,name:"leagues",kind:"message",T:Ap}]),tG=T.makeMessageType("streamlayer.sports.SyncStatusProvider",()=>[{no:1,name:"provider",kind:"scalar",T:9},{no:2,name:"status",kind:"message",T:eG}]);T.makeMessageType("streamlayer.sports.League",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:8,name:"custom_fields",kind:"scalar",T:9},{no:9,name:"country",kind:"scalar",T:9},{no:10,name:"name",kind:"scalar",T:9},{no:11,name:"alias",kind:"scalar",T:9},{no:13,name:"sync",kind:"scalar",T:8},{no:14,name:"sport_id",kind:"scalar",T:4},{no:12,name:"sync_status",kind:"message",T:tG,repeated:!0}]);T.makeMessageType("streamlayer.sports.Sport",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"created",kind:"scalar",T:9},{no:3,name:"updated",kind:"scalar",T:9},{no:8,name:"custom_fields",kind:"scalar",T:9},{no:10,name:"name",kind:"scalar",T:9},{no:11,name:"alias",kind:"scalar",T:9}]);const nG=T.makeMessageType("streamlayer.sports.NflEventStatistics",()=>[{no:1,name:"passes",kind:"scalar",T:5},{no:2,name:"rushes",kind:"scalar",T:5},{no:3,name:"penalties",kind:"scalar",T:5},{no:4,name:"turnovers",kind:"scalar",T:5}]),aG=T.makeMessageType("streamlayer.sports.SoccerEventStatistics",()=>[{no:1,name:"ball_possession",kind:"scalar",T:5},{no:2,name:"throw_ins",kind:"scalar",T:5},{no:3,name:"fouls",kind:"scalar",T:5},{no:4,name:"goal_kicks",kind:"scalar",T:5},{no:5,name:"free_kicks",kind:"scalar",T:5},{no:6,name:"shots_on_target",kind:"scalar",T:5},{no:7,name:"corner_kicks",kind:"scalar",T:5},{no:8,name:"shots_off_target",kind:"scalar",T:5},{no:9,name:"shots_saved",kind:"scalar",T:5},{no:10,name:"offsides",kind:"scalar",T:5},{no:11,name:"shots_blocked",kind:"scalar",T:5},{no:12,name:"yellow_cards",kind:"scalar",T:5}]);T.makeMessageType("streamlayer.sports.EventTeamStatistics",()=>[{no:1,name:"football",kind:"message",T:nG,oneof:"statistics"},{no:2,name:"soccer",kind:"message",T:aG,oneof:"statistics"}]);const cu=T.makeMessageType("streamlayer.sports.EventTeam",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"is_winner",kind:"scalar",T:8}]),rG=T.makeMessageType("streamlayer.sports.EventCustomFields",()=>[{no:1,name:"preview",kind:"scalar",T:9},{no:2,name:"stream",kind:"scalar",T:9},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"event_ids",kind:"scalar",T:9,repeated:!0},{no:6,name:"subtitle",kind:"scalar",T:9},{no:7,name:"promotitle",kind:"scalar",T:9},{no:8,name:"slate",kind:"scalar",T:9},{no:9,name:"horizontal_preview",kind:"scalar",T:9},{no:10,name:"small_logo",kind:"scalar",T:9},{no:11,name:"description",kind:"scalar",T:9}]),oG=T.makeMessageType("streamlayer.sports.EventProgram",()=>[{no:1,name:"id",kind:"scalar",T:9,opt:!0},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"start_time",kind:"scalar",T:9},{no:4,name:"end_time",kind:"scalar",T:9},{no:5,name:"thumbnail_url",kind:"scalar",T:9},{no:6,name:"square_thumbnail_url",kind:"scalar",T:9}]),sG=T.makeMessageType("streamlayer.sports.EventData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"sport",kind:"scalar",T:9},{no:3,name:"league",kind:"scalar",T:9},{no:4,name:"scheduled",kind:"scalar",T:9},{no:5,name:"home",kind:"message",T:cu},{no:6,name:"away",kind:"message",T:cu},{no:7,name:"status",kind:"enum",T:T.getEnumType(w9)},{no:8,name:"custom_fields",kind:"message",T:rG},{no:9,name:"start_time",kind:"scalar",T:9},{no:10,name:"end_time",kind:"scalar",T:9},{no:11,name:"venue",kind:"message",T:r3},{no:12,name:"schedule",kind:"message",T:oG,repeated:!0},{no:13,name:"endless",kind:"enum",T:T.getEnumType(E9)},{no:14,name:"provider_id",kind:"scalar",T:9}]),Fc=T.makeMessageType("streamlayer.sports.EventSummary",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"scheduled",kind:"scalar",T:9},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"venue",kind:"message",T:r3},{no:6,name:"event_time",kind:"message",T:qp},{no:7,name:"home_team",kind:"message",T:cu},{no:8,name:"away_team",kind:"message",T:cu},{no:9,name:"status",kind:"enum",T:T.getEnumType(w9)},{no:10,name:"periods",kind:"message",T:Rw,repeated:!0},{no:11,name:"league",kind:"scalar",T:9},{no:12,name:"start_time",kind:"scalar",T:9},{no:13,name:"end_time",kind:"scalar",T:9},{no:14,name:"name",kind:"scalar",T:9},{no:15,name:"logo",kind:"scalar",T:9},{no:16,name:"stream",kind:"scalar",T:9}]),gg=T.makeMessageType("streamlayer.sports.QueryOption",()=>[{no:1,name:"key",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:9}]),aT=T.makeMessageType("streamlayer.sports.ArrayQueryOption",()=>[{no:1,name:"key",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:9,repeated:!0}]);T.makeMessageType("streamlayer.sports.Query",()=>[{no:1,name:"provider",kind:"scalar",T:9},{no:2,name:"match",kind:"message",T:gg,repeated:!0},{no:3,name:"ne",kind:"message",T:gg,repeated:!0},{no:4,name:"eq",kind:"message",T:gg,repeated:!0},{no:5,name:"between",kind:"message",T:aT,repeated:!0},{no:6,name:"includes",kind:"message",T:aT,repeated:!0},{no:7,name:"is",kind:"message",T:gg,repeated:!0}]);const iG=T.makeEnum("streamlayer.sports.baseball.PitcherStatus",[{no:0,name:"PITCHER_STATUS_UNSET",localName:"UNSET"},{no:1,name:"PITCHER_STATUS_WIN",localName:"WIN"},{no:2,name:"PITCHER_STATUS_LOSS",localName:"LOSS"}]),lG=T.makeEnum("streamlayer.sports.baseball.BaseballBase",[{no:0,name:"BASEBALL_BASE_UNSET",localName:"UNSET"},{no:1,name:"BASEBALL_BASE_FIRST",localName:"FIRST"},{no:2,name:"BASEBALL_BASE_SECOND",localName:"SECOND"},{no:3,name:"BASEBALL_BASE_THIRD",localName:"THIRD"}]),rT=T.makeMessageType("streamlayer.sports.baseball.PitcherSummary",()=>[{no:1,name:"statistics",kind:"message",T:Nw},{no:2,name:"status",kind:"enum",T:T.getEnumType(iG)},{no:3,name:"win_rate",kind:"scalar",T:5},{no:4,name:"loss_rate",kind:"scalar",T:5}]),uG=T.makeMessageType("streamlayer.sports.baseball.Runner",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"jersey_number",kind:"scalar",T:9}]),cG=T.makeMessageType("streamlayer.sports.baseball.RunnerOnBase",()=>[{no:1,name:"base_number",kind:"enum",T:T.getEnumType(lG)},{no:2,name:"player",kind:"message",T:uG}]),dG=T.makeMessageType("streamlayer.sports.baseball.Hitting",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"hits_per_bat",kind:"scalar",T:9},{no:3,name:"runs",kind:"scalar",T:9},{no:4,name:"run_batted_in",kind:"scalar",T:9},{no:5,name:"walks",kind:"scalar",T:9},{no:6,name:"batting_average",kind:"scalar",T:9}]),fG=T.makeMessageType("streamlayer.sports.baseball.Batting",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"at_bat",kind:"scalar",T:9},{no:3,name:"runs",kind:"scalar",T:9},{no:4,name:"hits",kind:"scalar",T:9},{no:5,name:"batting_average",kind:"scalar",T:9}]),Nw=T.makeMessageType("streamlayer.sports.baseball.Pitching",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"innings_pitched",kind:"scalar",T:9},{no:3,name:"hits_by_pitch",kind:"scalar",T:9},{no:4,name:"earned_runs",kind:"scalar",T:9},{no:5,name:"walks",kind:"scalar",T:9},{no:6,name:"strikeouts",kind:"scalar",T:9}]),oT=T.makeMessageType("streamlayer.sports.baseball.BaseballTeamSummary",()=>[{no:1,name:"hitting",kind:"message",T:dG,repeated:!0},{no:2,name:"batting",kind:"message",T:fG,repeated:!0},{no:3,name:"pitching",kind:"message",T:Nw,repeated:!0}]),mG=T.makeMessageType("streamlayer.sports.baseball.BaseballSummary",()=>[{no:1,name:"home_pitcher",kind:"message",T:rT},{no:2,name:"away_pitcher",kind:"message",T:rT},{no:3,name:"home_statistics",kind:"message",T:oT},{no:4,name:"away_statistics",kind:"message",T:oT}]),pG=T.makeMessageType("streamlayer.sports.baseball.BaseballPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:cu},{no:2,name:"inning",kind:"scalar",T:9},{no:3,name:"play_text",kind:"scalar",T:9},{no:4,name:"detail",kind:"message",T:hG,repeated:!0},{no:5,name:"runs",kind:"scalar",T:5},{no:6,name:"hits",kind:"scalar",T:5},{no:7,name:"errors",kind:"scalar",T:5}]),hG=T.makeMessageType("streamlayer.sports.baseball.BaseballPlayByPlayStatistics.BaseballPlayByPlayDetailStatistics",()=>[{no:1,name:"score_home",kind:"scalar",T:5},{no:2,name:"score_away",kind:"scalar",T:5},{no:3,name:"play_text",kind:"scalar",T:9},{no:4,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5}],{localName:"BaseballPlayByPlayStatistics_BaseballPlayByPlayDetailStatistics"}),gG=T.makeMessageType("streamlayer.sports.baseball.EventScore",()=>[{no:1,name:"outs",kind:"scalar",T:5},{no:2,name:"inning",kind:"scalar",T:5},{no:3,name:"inning_division",kind:"scalar",T:9},{no:4,name:"is_delayed",kind:"scalar",T:8},{no:5,name:"reason_for_delay",kind:"scalar",T:9},{no:6,name:"runners_on_base",kind:"message",T:cG,repeated:!0},{no:7,name:"taken_bases",kind:"scalar",T:5},{no:8,name:"home_team_record",kind:"message",T:uu},{no:9,name:"away_team_record",kind:"message",T:uu}]),yG=T.makeMessageType("streamlayer.sports.baseball.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:pG,repeated:!0}]),vG=T.makeMessageType("streamlayer.sports.baseball.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:mG}]),kG=T.makeMessageType("streamlayer.sports.baseball.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"pct",kind:"scalar",T:1},{no:9,name:"games_behind",kind:"scalar",T:5},{no:10,name:"streak",kind:"message",T:bG},{no:11,name:"rank",kind:"message",T:TG},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),bG=T.makeMessageType("streamlayer.sports.baseball.TeamStanding.Streak",()=>[{no:1,name:"losses",kind:"scalar",T:5},{no:2,name:"wins",kind:"scalar",T:5}],{localName:"TeamStanding_Streak"}),TG=T.makeMessageType("streamlayer.sports.baseball.TeamStanding.Rank",()=>[{no:1,name:"division",kind:"scalar",T:5},{no:2,name:"conference",kind:"scalar",T:5}],{localName:"TeamStanding_Rank"}),SG=T.makeMessageType("streamlayer.sports.baseball.Standings",()=>[{no:1,name:"standings",kind:"message",T:kG,repeated:!0}]),wG=T.makeEnum("streamlayer.sports.basketball.BasketballPerformerCategory",[{no:0,name:"BASKETBALL_PERFORMER_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"BASKETBALL_PERFORMER_CATEGORY_POINTS",localName:"POINTS"},{no:2,name:"BASKETBALL_PERFORMER_CATEGORY_REBOUNDS",localName:"REBOUNDS"},{no:3,name:"BASKETBALL_PERFORMER_CATEGORY_ASSISTS",localName:"ASSISTS"}]),EG=T.makeMessageType("streamlayer.sports.basketball.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:uu},{no:9,name:"away_team_record",kind:"message",T:uu}]),sT=T.makeMessageType("streamlayer.sports.basketball.BasketballTeamSummary",()=>[{no:1,name:"field_goal_percentage",kind:"scalar",T:1},{no:2,name:"three_pts_percentage",kind:"scalar",T:1},{no:3,name:"free_throw_percentage",kind:"scalar",T:1},{no:4,name:"assists",kind:"scalar",T:5},{no:5,name:"rebounds",kind:"scalar",T:5}]),iT=T.makeMessageType("streamlayer.sports.basketball.BasketballPerformer",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"photo",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:9}]),CG=T.makeMessageType("streamlayer.sports.basketball.BasketballPerformers",()=>[{no:1,name:"category",kind:"enum",T:T.getEnumType(wG)},{no:2,name:"home_player",kind:"message",T:iT},{no:3,name:"away_player",kind:"message",T:iT}]),_G=T.makeMessageType("streamlayer.sports.basketball.BasketballSummary",()=>[{no:1,name:"home_statistics",kind:"message",T:sT},{no:2,name:"away_statistics",kind:"message",T:sT}]),RG=T.makeMessageType("streamlayer.sports.basketball.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:_G},{no:2,name:"top_performers",kind:"message",T:CG,repeated:!0},{no:3,name:"last_games",kind:"message",T:Lw}]),IG=T.makeMessageType("streamlayer.sports.basketball.BasketballPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:cu},{no:2,name:"event_time",kind:"message",T:qp},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"play_text",kind:"scalar",T:9},{no:6,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5}]),NG=T.makeMessageType("streamlayer.sports.basketball.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:IG,repeated:!0}]),lT=T.makeMessageType("streamlayer.sports.basketball.PlayerScores",()=>[{no:1,name:"jersey",kind:"scalar",T:5},{no:2,name:"full_name",kind:"scalar",T:9},{no:3,name:"points",kind:"scalar",T:5},{no:4,name:"assists",kind:"scalar",T:5},{no:5,name:"rebounds",kind:"scalar",T:5},{no:6,name:"minutes",kind:"scalar",T:1},{no:7,name:"starter",kind:"scalar",T:8}]),LG=T.makeMessageType("streamlayer.sports.basketball.Boxscore",()=>[{no:1,name:"home_players",kind:"message",T:lT,repeated:!0},{no:2,name:"away_players",kind:"message",T:lT,repeated:!0}]),xG=T.makeMessageType("streamlayer.sports.basketball.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"pct",kind:"scalar",T:1},{no:9,name:"games_behind",kind:"scalar",T:5},{no:10,name:"streak",kind:"message",T:OG},{no:11,name:"rank",kind:"message",T:AG},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),OG=T.makeMessageType("streamlayer.sports.basketball.TeamStanding.Streak",()=>[{no:1,name:"kind",kind:"scalar",T:9},{no:2,name:"length",kind:"scalar",T:5}],{localName:"TeamStanding_Streak"}),AG=T.makeMessageType("streamlayer.sports.basketball.TeamStanding.Rank",()=>[{no:1,name:"division",kind:"scalar",T:5},{no:2,name:"conference",kind:"scalar",T:5}],{localName:"TeamStanding_Rank"}),PG=T.makeMessageType("streamlayer.sports.basketball.Standings",()=>[{no:1,name:"standings",kind:"message",T:xG,repeated:!0}]),uT=T.makeMessageType("streamlayer.sports.basketball.BasketballMatchPlayer",()=>[{no:1,name:"first_name",kind:"scalar",T:9},{no:2,name:"last_name",kind:"scalar",T:9},{no:3,name:"display_name",kind:"scalar",T:9},{no:4,name:"photo",kind:"scalar",T:9},{no:5,name:"position",kind:"scalar",T:9},{no:6,name:"jersey",kind:"scalar",T:5}]),cT=T.makeMessageType("streamlayer.sports.basketball.BasketballMatchLineup",()=>[{no:3,name:"start_players",kind:"message",T:uT,repeated:!0},{no:4,name:"substitutes",kind:"message",T:uT,repeated:!0}]),MG=T.makeMessageType("streamlayer.sports.basketball.BasketballMatchLineups",()=>[{no:1,name:"home_team",kind:"message",T:cT},{no:2,name:"away_team",kind:"message",T:cT}]),i4=T.makeMessageType("streamlayer.sports.basketball.BasketballLastGame",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:DG}]),DG=T.makeMessageType("streamlayer.sports.basketball.BasketballLastGame.BasketballLastGameAttributes",()=>[{no:1,name:"league",kind:"scalar",T:9},{no:2,name:"home_team",kind:"scalar",T:9},{no:3,name:"away_team",kind:"scalar",T:9},{no:5,name:"home_score",kind:"scalar",T:5},{no:6,name:"away_score",kind:"scalar",T:5},{no:7,name:"date",kind:"scalar",T:9}],{localName:"BasketballLastGame_BasketballLastGameAttributes"}),Lw=T.makeMessageType("streamlayer.sports.basketball.BasketballLastGames",()=>[{no:1,name:"home",kind:"message",T:i4,repeated:!0},{no:2,name:"away",kind:"message",T:i4,repeated:!0},{no:3,name:"head_to_head",kind:"message",T:i4,repeated:!0}]),UG=T.makeEnum("streamlayer.sports.hockey.HockeyPerformerCategory",[{no:0,name:"HOCKEY_PERFORMER_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"HOCKEY_PERFORMER_CATEGORY_GOALS",localName:"GOALS"},{no:2,name:"HOCKEY_PERFORMER_CATEGORY_SHOTS",localName:"SHOTS"},{no:3,name:"HOCKEY_PERFORMER_CATEGORY_HITS",localName:"HITS"},{no:4,name:"HOCKEY_PERFORMER_CATEGORY_SAVES",localName:"SAVES"}]),xw=T.makeEnum("streamlayer.sports.hockey.HockeyPlayerPosition",[{no:0,name:"HOCKEY_PLAYER_POSITION_UNSET",localName:"UNSET"},{no:1,name:"HOCKEY_PLAYER_POSITION_CENTER",localName:"CENTER"},{no:2,name:"HOCKEY_PLAYER_POSITION_LEFT_WIND",localName:"LEFT_WIND"},{no:3,name:"HOCKEY_PLAYER_POSITION_RIGHT_WING",localName:"RIGHT_WING"},{no:4,name:"HOCKEY_PLAYER_POSITION_DEFENSE",localName:"DEFENSE"},{no:5,name:"HOCKEY_PLAYER_POSITION_GOALTENDER",localName:"GOALTENDER"}]),FG=T.makeMessageType("streamlayer.sports.hockey.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:uu},{no:9,name:"away_team_record",kind:"message",T:uu}]),dT=T.makeMessageType("streamlayer.sports.hockey.HockeyPerformer",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"photo",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:5}]),jG=T.makeMessageType("streamlayer.sports.hockey.HockeyPerformers",()=>[{no:1,name:"category",kind:"enum",T:T.getEnumType(UG)},{no:2,name:"home_player",kind:"message",T:dT,repeated:!0},{no:3,name:"away_player",kind:"message",T:dT,repeated:!0}]),fT=T.makeMessageType("streamlayer.sports.hockey.HockeyTeamSummary",()=>[{no:1,name:"shots_on_goal",kind:"scalar",T:5},{no:2,name:"faceoff",kind:"scalar",T:1},{no:3,name:"powerplay",kind:"scalar",T:5},{no:4,name:"penalty_minutes",kind:"scalar",T:5},{no:5,name:"hits",kind:"scalar",T:5},{no:6,name:"blocks",kind:"scalar",T:5},{no:7,name:"giveaways",kind:"scalar",T:5},{no:8,name:"takeaways",kind:"scalar",T:5}]),VG=T.makeMessageType("streamlayer.sports.hockey.HockeySummary",()=>[{no:1,name:"home_statistics",kind:"message",T:fT},{no:2,name:"away_statistics",kind:"message",T:fT}]),BG=T.makeMessageType("streamlayer.sports.hockey.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:VG},{no:2,name:"top_performers",kind:"message",T:jG,repeated:!0}]),zG=T.makeMessageType("streamlayer.sports.hockey.HockeyPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:cu},{no:2,name:"event_time",kind:"message",T:qp},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"play_text",kind:"scalar",T:9},{no:6,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5}]),$G=T.makeMessageType("streamlayer.sports.hockey.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:zG,repeated:!0}]),l4=T.makeMessageType("streamlayer.sports.hockey.PlayerScore",()=>[{no:1,name:"jersey",kind:"scalar",T:5},{no:2,name:"full_name",kind:"scalar",T:9},{no:3,name:"goals",kind:"scalar",T:5},{no:4,name:"assists",kind:"scalar",T:5},{no:5,name:"shots",kind:"scalar",T:5},{no:6,name:"penalty_minutes",kind:"scalar",T:1},{no:7,name:"minutes",kind:"scalar",T:9},{no:8,name:"position",kind:"enum",T:T.getEnumType(xw)}]),mT=T.makeMessageType("streamlayer.sports.hockey.GoaltenderScore",()=>[{no:1,name:"jersey",kind:"scalar",T:5},{no:2,name:"full_name",kind:"scalar",T:9},{no:3,name:"shots_againts",kind:"scalar",T:5},{no:4,name:"goals_againts",kind:"scalar",T:5},{no:5,name:"saves",kind:"scalar",T:5},{no:6,name:"saves_pct",kind:"scalar",T:5},{no:7,name:"minutes",kind:"scalar",T:9},{no:8,name:"position",kind:"enum",T:T.getEnumType(xw)}]),pT=T.makeMessageType("streamlayer.sports.hockey.PlayerScores",()=>[{no:1,name:"skaters",kind:"message",T:l4,repeated:!0},{no:2,name:"goaltender",kind:"message",T:mT},{no:3,name:"forwards",kind:"message",T:l4,repeated:!0},{no:4,name:"defensemen",kind:"message",T:l4,repeated:!0},{no:5,name:"goaltenders",kind:"message",T:mT,repeated:!0}]),HG=T.makeMessageType("streamlayer.sports.hockey.Boxscore",()=>[{no:1,name:"home_players",kind:"message",T:pT},{no:2,name:"away_players",kind:"message",T:pT}]),GG=T.makeMessageType("streamlayer.sports.hockey.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"pct",kind:"scalar",T:1},{no:9,name:"games_behind",kind:"scalar",T:5},{no:10,name:"streak",kind:"message",T:qG},{no:11,name:"rank",kind:"message",T:WG},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),qG=T.makeMessageType("streamlayer.sports.hockey.TeamStanding.Streak",()=>[{no:1,name:"kind",kind:"scalar",T:9},{no:2,name:"length",kind:"scalar",T:5}],{localName:"TeamStanding_Streak"}),WG=T.makeMessageType("streamlayer.sports.hockey.TeamStanding.Rank",()=>[{no:1,name:"division",kind:"scalar",T:5},{no:2,name:"conference",kind:"scalar",T:5}],{localName:"TeamStanding_Rank"}),QG=T.makeMessageType("streamlayer.sports.hockey.Standings",()=>[{no:1,name:"standings",kind:"message",T:GG,repeated:!0}]),YG=T.makeEnum("streamlayer.sports.soccer.SoccerPerformerCategory",[{no:0,name:"SOCCER_PERFORMER_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"SOCCER_PERFORMER_CATEGORY_ATTACK",localName:"ATTACK"},{no:2,name:"SOCCER_PERFORMER_CATEGORY_MIDFIELD",localName:"MIDFIELD"},{no:3,name:"SOCCER_PERFORMER_CATEGORY_DEFENSE",localName:"DEFENSE"}]),KG=T.makeEnum("streamlayer.sports.soccer.SoccerMatchActivityType",[{no:0,name:"SOCCER_MATCH_ACTIVITY_UNSET"},{no:1,name:"SOCCER_MATCH_ACTIVITY_GOAL"},{no:2,name:"SOCCER_MATCH_ACTIVITY_YELLOW_CARD"},{no:3,name:"SOCCER_MATCH_ACTIVITY_RED_CARD"},{no:4,name:"SOCCER_MATCH_ACTIVITY_SUBSTITUTION"},{no:5,name:"SOCCER_MATCH_ACTIVITY_HALF_TIME"},{no:6,name:"SOCCER_MATCH_ACTIVITY_FULL_TIME"}]),ZG=T.makeMessageType("streamlayer.sports.soccer.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:uu},{no:9,name:"away_team_record",kind:"message",T:uu}]),C9=T.makeMessageType("streamlayer.sports.soccer.SoccerPerformer",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"photo",kind:"scalar",T:9},{no:3,name:"score",kind:"scalar",T:5}]),JG=T.makeMessageType("streamlayer.sports.soccer.SoccerAttackPerfomer",()=>[{no:1,name:"perfomer",kind:"message",T:C9},{no:2,name:"attack_stats",kind:"message",T:iq}]),XG=T.makeMessageType("streamlayer.sports.soccer.SoccerMidfieldPerformer",()=>[{no:1,name:"perfomer",kind:"message",T:C9},{no:2,name:"midfield_stats",kind:"message",T:lq}]),eq=T.makeMessageType("streamlayer.sports.soccer.SoccerDefensePerfomer",()=>[{no:1,name:"perfomer",kind:"message",T:C9},{no:2,name:"defense_stats",kind:"message",T:uq}]),tq=T.makeMessageType("streamlayer.sports.soccer.SoccerPerformers",()=>[{no:1,name:"category",kind:"enum",T:T.getEnumType(YG)},{no:2,name:"attack_performer",kind:"message",T:JG},{no:3,name:"midfield_performer",kind:"message",T:XG},{no:4,name:"defense_performer",kind:"message",T:eq}]),nq=T.makeMessageType("streamlayer.sports.soccer.SoccerTeamTopMatchStats",()=>[{no:1,name:"possession",kind:"scalar",T:1},{no:2,name:"shots",kind:"scalar",T:5},{no:3,name:"shots_on_target",kind:"scalar",T:5},{no:4,name:"passes",kind:"scalar",T:5},{no:5,name:"offsides",kind:"scalar",T:5},{no:6,name:"yellow_cards",kind:"scalar",T:5},{no:7,name:"corner_kicks",kind:"scalar",T:5},{no:8,name:"free_kicks",kind:"scalar",T:5},{no:9,name:"red_cards",kind:"scalar",T:5}]),aq=T.makeMessageType("streamlayer.sports.soccer.SoccerTeamAttackingStats",()=>[{no:1,name:"possession",kind:"scalar",T:1},{no:2,name:"passing_accuracy",kind:"scalar",T:1},{no:3,name:"chances_created",kind:"scalar",T:5},{no:4,name:"successful_crosses",kind:"scalar",T:1}]),rq=T.makeMessageType("streamlayer.sports.soccer.SoccerTeamDefenseStats",()=>[{no:1,name:"tackles_made",kind:"scalar",T:5},{no:2,name:"interceptions",kind:"scalar",T:5},{no:3,name:"blocked_shots",kind:"scalar",T:5},{no:4,name:"clearances",kind:"scalar",T:5},{no:5,name:"duels_won",kind:"scalar",T:5}]),hT=T.makeMessageType("streamlayer.sports.soccer.SoccerTeamSummary",()=>[{no:1,name:"top_match_stats",kind:"message",T:nq},{no:2,name:"attacking_stats",kind:"message",T:aq},{no:3,name:"defense_stats",kind:"message",T:rq}]),oq=T.makeMessageType("streamlayer.sports.soccer.SoccerSummary",()=>[{no:1,name:"home_statistics",kind:"message",T:hT},{no:2,name:"away_statistics",kind:"message",T:hT},{no:3,name:"perfomers",kind:"message",T:tq}]),sq=T.makeMessageType("streamlayer.sports.soccer.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:oq},{no:2,name:"last_games",kind:"message",T:Ow}]),iq=T.makeMessageType("streamlayer.sports.soccer.SoccerPlayerAttackingStats",()=>[{no:1,name:"goals",kind:"scalar",T:5},{no:2,name:"assists",kind:"scalar",T:5},{no:3,name:"shots",kind:"scalar",T:5},{no:4,name:"shots_on_goal",kind:"scalar",T:5},{no:5,name:"penalty_kick_goals",kind:"scalar",T:5}]),lq=T.makeMessageType("streamlayer.sports.soccer.SoccerPlayerMidfieldStats",()=>[{no:1,name:"goals",kind:"scalar",T:5},{no:2,name:"assists",kind:"scalar",T:5},{no:3,name:"key_passes",kind:"scalar",T:5},{no:4,name:"crosses",kind:"scalar",T:5},{no:5,name:"corners",kind:"scalar",T:5}]),uq=T.makeMessageType("streamlayer.sports.soccer.SoccerPlayerDefenseStats",()=>[{no:1,name:"goals",kind:"scalar",T:5},{no:2,name:"assists",kind:"scalar",T:5},{no:3,name:"tackles_made",kind:"scalar",T:5},{no:4,name:"interceptions",kind:"scalar",T:5},{no:5,name:"blocked_shots",kind:"scalar",T:5}]);T.makeMessageType("streamlayer.sports.soccer.SoccerMatchOdds",()=>[{no:1,name:"home_team_win",kind:"scalar",T:1},{no:2,name:"draw",kind:"scalar",T:1},{no:3,name:"away_team_win",kind:"scalar",T:1}]);const cq=T.makeMessageType("streamlayer.sports.soccer.SoccerMatchFormationMatrixPlayer",()=>[{no:1,name:"jersey_number",kind:"scalar",T:5},{no:2,name:"player_name",kind:"scalar",T:9},{no:3,name:"photo",kind:"scalar",T:9}]),dq=T.makeMessageType("streamlayer.sports.soccer.SoccerMatchFormationMatrix",()=>[{no:1,name:"row_players",kind:"message",T:cq,repeated:!0}]),gT=T.makeMessageType("streamlayer.sports.soccer.SoccerMatchPlayer",()=>[{no:1,name:"first_name",kind:"scalar",T:9},{no:2,name:"last_name",kind:"scalar",T:9},{no:3,name:"display_name",kind:"scalar",T:9},{no:4,name:"photo",kind:"scalar",T:9},{no:5,name:"position",kind:"scalar",T:9},{no:6,name:"jersey",kind:"scalar",T:5}]),yT=T.makeMessageType("streamlayer.sports.soccer.SoccerMatchLineup",()=>[{no:1,name:"formation_string",kind:"scalar",T:9},{no:2,name:"formation_matrix",kind:"message",T:dq,repeated:!0},{no:3,name:"start_players",kind:"message",T:gT,repeated:!0},{no:4,name:"substitutes",kind:"message",T:gT,repeated:!0}]),fq=T.makeMessageType("streamlayer.sports.soccer.SoccerMatchLineups",()=>[{no:1,name:"home_team",kind:"message",T:yT},{no:2,name:"away_team",kind:"message",T:yT}]);T.makeMessageType("streamlayer.sports.soccer.SoccerMatchScore",()=>[{no:1,name:"event_id",kind:"scalar",T:4},{no:2,name:"mil",kind:"scalar",T:1},{no:3,name:"round",kind:"scalar",T:9},{no:4,name:"live_url",kind:"scalar",T:9}]);const mq=T.makeMessageType("streamlayer.sports.soccer.SoccerPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:cu},{no:2,name:"event_time",kind:"message",T:qp},{no:3,name:"score_home",kind:"scalar",T:5},{no:4,name:"score_away",kind:"scalar",T:5},{no:5,name:"play_text",kind:"scalar",T:9},{no:6,name:"scoring",kind:"scalar",T:8},{no:7,name:"play_id",kind:"scalar",T:5},{no:8,name:"type",kind:"enum",T:T.getEnumType(KG)}]),pq=T.makeMessageType("streamlayer.sports.soccer.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:mq,repeated:!0}]),hq=T.makeMessageType("streamlayer.sports.soccer.TeamStanding",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"logo",kind:"scalar",T:9},{no:5,name:"colors",kind:"scalar",T:9,repeated:!0},{no:6,name:"wins",kind:"scalar",T:5},{no:7,name:"losses",kind:"scalar",T:5},{no:8,name:"draws",kind:"scalar",T:5},{no:9,name:"games_behind",kind:"scalar",T:5},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"points",kind:"scalar",T:5},{no:14,name:"position",kind:"scalar",T:5},{no:15,name:"total_goals",kind:"scalar",T:5},{no:16,name:"total_goals_received",kind:"scalar",T:5}]),gq=T.makeMessageType("streamlayer.sports.soccer.Standings",()=>[{no:1,name:"standings",kind:"message",T:hq,repeated:!0}]),u4=T.makeMessageType("streamlayer.sports.soccer.SoccerLastGame",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:yq}]),yq=T.makeMessageType("streamlayer.sports.soccer.SoccerLastGame.SoccerLastGameAttributes",()=>[{no:1,name:"league",kind:"scalar",T:9},{no:2,name:"home_team",kind:"scalar",T:9},{no:3,name:"away_team",kind:"scalar",T:9},{no:5,name:"home_score",kind:"scalar",T:5},{no:6,name:"away_score",kind:"scalar",T:5},{no:7,name:"date",kind:"scalar",T:9}],{localName:"SoccerLastGame_SoccerLastGameAttributes"}),Ow=T.makeMessageType("streamlayer.sports.soccer.SoccerLastGames",()=>[{no:1,name:"home",kind:"message",T:u4,repeated:!0},{no:2,name:"away",kind:"message",T:u4,repeated:!0},{no:3,name:"head_to_head",kind:"message",T:u4,repeated:!0}]),jc=T.makeEnum("streamlayer.sports.events.EventType",[{no:0,name:"EVENT_TYPE_UNSET",localName:"UNSET"},{no:1,name:"EVENT_TYPE_BASEBALL",localName:"BASEBALL"},{no:2,name:"EVENT_TYPE_BASKETBALL",localName:"BASKETBALL"},{no:3,name:"EVENT_TYPE_HOCKEY",localName:"HOCKEY"},{no:4,name:"EVENT_TYPE_SOCCER",localName:"SOCCER"},{no:5,name:"EVENT_TYPE_GOLF",localName:"GOLF"}]),vq=T.makeMessageType("streamlayer.sports.events.ScheduleAttributes",()=>[{no:1,name:"summary",kind:"message",T:Fc},{no:2,name:"baseball",kind:"message",T:gG,oneof:"sport"},{no:3,name:"basketball",kind:"message",T:EG,oneof:"sport"},{no:4,name:"hockey",kind:"message",T:FG,oneof:"sport"},{no:5,name:"soccer",kind:"message",T:ZG,oneof:"sport"}]),kq=T.makeMessageType("streamlayer.sports.events.ScheduleResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:T.getEnumType(jc)},{no:3,name:"attributes",kind:"message",T:vq}]),bq=T.makeMessageType("streamlayer.sports.events.ListResponseAttributes",()=>[{no:1,name:"common",kind:"message",T:sG}]),Aw=T.makeMessageType("streamlayer.sports.events.ListResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:bq}]),Tq=T.makeMessageType("streamlayer.sports.events.ListRequest",()=>[{no:1,name:"filter",kind:"message",T:Sq},{no:2,name:"pagination",kind:"message",T:n3},{no:3,name:"sort",kind:"message",T:_w},{no:4,name:"ids",kind:"scalar",T:4,repeated:!0},{no:5,name:"organization_id",kind:"scalar",T:9}]),Sq=T.makeMessageType("streamlayer.sports.events.ListRequest.Filter",()=>[{no:1,name:"date",kind:"scalar",T:9},{no:2,name:"league",kind:"scalar",T:9},{no:3,name:"start_date_time",kind:"scalar",T:9},{no:4,name:"end_date_time",kind:"scalar",T:9},{no:5,name:"sport",kind:"scalar",T:9},{no:6,name:"name",kind:"scalar",T:9},{no:7,name:"endless",kind:"enum",T:T.getEnumType(E9)}],{localName:"ListRequest_Filter"}),wq=T.makeMessageType("streamlayer.sports.events.DemoListRequest",()=>[{no:1,name:"filter",kind:"message",T:Eq},{no:2,name:"pagination",kind:"message",T:n3},{no:3,name:"sort",kind:"message",T:_w}]),Eq=T.makeMessageType("streamlayer.sports.events.DemoListRequest.Filter",()=>[{no:1,name:"date",kind:"scalar",T:9},{no:2,name:"league",kind:"scalar",T:9}],{localName:"DemoListRequest_Filter"}),Cq=T.makeMessageType("streamlayer.sports.events.DemoListResponse",()=>[{no:1,name:"meta",kind:"message",T:a3},{no:2,name:"data",kind:"message",T:Aw,repeated:!0}]),_q=T.makeMessageType("streamlayer.sports.events.ListResponse",()=>[{no:1,name:"meta",kind:"message",T:a3},{no:2,name:"data",kind:"message",T:Aw,repeated:!0}]),vT=T.makeMessageType("streamlayer.sports.events.SummaryRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"organization_id",kind:"scalar",T:9}]),kT=T.makeMessageType("streamlayer.sports.events.SummaryResponse",()=>[{no:1,name:"data",kind:"message",T:Rq}]),Rq=T.makeMessageType("streamlayer.sports.events.SummaryResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:T.getEnumType(jc)},{no:3,name:"attributes",kind:"message",T:Iq}],{localName:"SummaryResponse_ResponseData"}),Iq=T.makeMessageType("streamlayer.sports.events.SummaryResponse.ResponseData.SummaryResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Fc},{no:2,name:"baseball",kind:"message",T:vG,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:RG,oneof:"sports"},{no:4,name:"hockey",kind:"message",T:BG,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:sq,oneof:"sports"}],{localName:"SummaryResponse_ResponseData_SummaryResponseAttributes"}),Nq=T.makeMessageType("streamlayer.sports.events.AdminSummaryRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"organization_id",kind:"scalar",T:9}]),Lq=T.makeMessageType("streamlayer.sports.events.AdminSummaryResponse",()=>[{no:1,name:"data",kind:"message",T:xq}]),xq=T.makeMessageType("streamlayer.sports.events.AdminSummaryResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:Oq}],{localName:"AdminSummaryResponse_ResponseData"}),Oq=T.makeMessageType("streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Fc},{no:2,name:"provider_id",kind:"scalar",T:9}],{localName:"AdminSummaryResponse_ResponseData_SummaryResponseAttributes"}),Aq=T.makeMessageType("streamlayer.sports.events.PlayByPlayRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"pagination",kind:"message",T:n3},{no:3,name:"order",kind:"scalar",T:9}]),Pq=T.makeMessageType("streamlayer.sports.events.PlayByPlayResponse",()=>[{no:1,name:"data",kind:"message",T:Mq},{no:2,name:"meta",kind:"message",T:a3}]),Mq=T.makeMessageType("streamlayer.sports.events.PlayByPlayResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:T.getEnumType(jc)},{no:3,name:"attributes",kind:"message",T:Dq}],{localName:"PlayByPlayResponse_ResponseData"}),Dq=T.makeMessageType("streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Fc},{no:2,name:"baseball",kind:"message",T:yG,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:NG,oneof:"sports"},{no:4,name:"hockey",kind:"message",T:$G,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:pq,oneof:"sports"}],{localName:"PlayByPlayResponse_ResponseData_PlayByPlayResponseAttributes"}),Uq=T.makeMessageType("streamlayer.sports.events.ScheduleRequest",()=>[{no:1,name:"filter",kind:"message",T:Fq},{no:2,name:"pagination",kind:"message",T:n3}]),Fq=T.makeMessageType("streamlayer.sports.events.ScheduleRequest.Filter",()=>[{no:1,name:"date",kind:"scalar",T:9},{no:2,name:"league",kind:"scalar",T:9}],{localName:"ScheduleRequest_Filter"}),jq=T.makeMessageType("streamlayer.sports.events.ScheduleResponse",()=>[{no:1,name:"data",kind:"message",T:kq,repeated:!0},{no:2,name:"meta",kind:"message",T:a3}]),Vq=T.makeMessageType("streamlayer.sports.events.ScheduleDatesRequest",()=>[{no:1,name:"filter",kind:"message",T:Bq}]),Bq=T.makeMessageType("streamlayer.sports.events.ScheduleDatesRequest.Filter",()=>[{no:2,name:"league",kind:"scalar",T:9}],{localName:"ScheduleDatesRequest_Filter"}),zq=T.makeMessageType("streamlayer.sports.events.ScheduleDatesResponse",()=>[{no:1,name:"data",kind:"scalar",T:9,repeated:!0}]),$q=T.makeMessageType("streamlayer.sports.events.BoxscoreRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),Hq=T.makeMessageType("streamlayer.sports.events.BoxscoreResponse",()=>[{no:1,name:"data",kind:"message",T:Gq}]),Gq=T.makeMessageType("streamlayer.sports.events.BoxscoreResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:T.getEnumType(jc)},{no:3,name:"attributes",kind:"message",T:qq}],{localName:"BoxscoreResponse_ResponseData"}),qq=T.makeMessageType("streamlayer.sports.events.BoxscoreResponse.ResponseData.BoxscoreResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Fc},{no:2,name:"basketball",kind:"message",T:LG,oneof:"sports"},{no:3,name:"hockey",kind:"message",T:HG,oneof:"sports"}],{localName:"BoxscoreResponse_ResponseData_BoxscoreResponseAttributes"}),Wq=T.makeMessageType("streamlayer.sports.events.StandingsRequest",()=>[{no:1,name:"league",kind:"scalar",T:9}]),Qq=T.makeMessageType("streamlayer.sports.events.StandingsResponse",()=>[{no:1,name:"data",kind:"message",T:Yq}]),Yq=T.makeMessageType("streamlayer.sports.events.StandingsResponse.ResponseData",()=>[{no:1,name:"type",kind:"enum",T:T.getEnumType(jc)},{no:2,name:"attributes",kind:"message",T:Kq}],{localName:"StandingsResponse_ResponseData"}),Kq=T.makeMessageType("streamlayer.sports.events.StandingsResponse.ResponseData.StandingsResponseAttributes",()=>[{no:2,name:"basketball",kind:"message",T:PG,oneof:"sports"},{no:3,name:"hockey",kind:"message",T:QG,oneof:"sports"},{no:4,name:"baseball",kind:"message",T:SG,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:gq,oneof:"sports"}],{localName:"StandingsResponse_ResponseData_StandingsResponseAttributes"}),Zq=T.makeMessageType("streamlayer.sports.events.LineupRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),Jq=T.makeMessageType("streamlayer.sports.events.LineupResponse",()=>[{no:1,name:"data",kind:"message",T:Xq}]),Xq=T.makeMessageType("streamlayer.sports.events.LineupResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:T.getEnumType(jc)},{no:3,name:"attributes",kind:"message",T:eW}],{localName:"LineupResponse_ResponseData"}),eW=T.makeMessageType("streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Fc},{no:2,name:"soccer",kind:"message",T:fq,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:MG,oneof:"sports"}],{localName:"LineupResponse_ResponseData_LineupResponseAttributes"}),tW=T.makeMessageType("streamlayer.sports.events.LastGamesRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),nW=T.makeMessageType("streamlayer.sports.events.LastGamesResponse",()=>[{no:1,name:"data",kind:"message",T:aW}]),aW=T.makeMessageType("streamlayer.sports.events.LastGamesResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:T.getEnumType(jc)},{no:3,name:"attributes",kind:"message",T:rW}],{localName:"LastGamesResponse_ResponseData"}),rW=T.makeMessageType("streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Fc},{no:2,name:"soccer",kind:"message",T:Ow,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:Lw,oneof:"sports"}],{localName:"LastGamesResponse_ResponseData_LastGamesResponseAttributes"}),oW=T.makeMessageType("streamlayer.sports.events.RetrieveEventIdRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),sW=T.makeMessageType("streamlayer.sports.events.RetrieveEventIdResponse",()=>[{no:1,name:"data",kind:"message",T:iW}]),iW=T.makeMessageType("streamlayer.sports.events.RetrieveEventIdResponse.RetrieveEventIdResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4}],{localName:"RetrieveEventIdResponse_RetrieveEventIdResponseData"}),lW={typeName:"streamlayer.sports.events.Events",methods:{list:{name:"List",I:Tq,O:_q,kind:Ze.Unary},demoList:{name:"DemoList",I:wq,O:Cq,kind:Ze.Unary},summary:{name:"Summary",I:vT,O:kT,kind:Ze.Unary},adminSummary:{name:"AdminSummary",I:Nq,O:Lq,kind:Ze.Unary},boxscore:{name:"Boxscore",I:$q,O:Hq,kind:Ze.Unary},standings:{name:"Standings",I:Wq,O:Qq,kind:Ze.Unary},playByPlay:{name:"PlayByPlay",I:Aq,O:Pq,kind:Ze.Unary},schedule:{name:"Schedule",I:Uq,O:jq,kind:Ze.Unary},scheduleDates:{name:"ScheduleDates",I:Vq,O:zq,kind:Ze.Unary},lineup:{name:"Lineup",I:Zq,O:Jq,kind:Ze.Unary},retrieveEventId:{name:"RetrieveEventId",I:oW,O:sW,kind:Ze.Unary},lastGames:{name:"LastGames",I:tW,O:nW,kind:Ze.Unary},summarySubscription:{name:"SummarySubscription",I:vT,O:kT,kind:Ze.ServerStreaming}}},uW=T.makeEnum("streamlayer.sdkSettings.client.VisibleStatus",[{no:0,name:"VISIBLE_STATUS_UNSET",localName:"UNSET"},{no:1,name:"VISIBLE_STATUS_INCOGNITO",localName:"INCOGNITO"},{no:2,name:"VISIBLE_STATUS_VISIBLE",localName:"VISIBLE"}]),cW=T.makeEnum("streamlayer.sdkSettings.client.MessagesNotify",[{no:0,name:"MESSAGES_NOTIFY_UNSET",localName:"UNSET"},{no:1,name:"MESSAGES_NOTIFY_DISALLOW",localName:"DISALLOW"},{no:2,name:"MESSAGES_NOTIFY_ALLOW",localName:"ALLOW"}]),dW=T.makeEnum("streamlayer.sdkSettings.client.FriendsNotify",[{no:0,name:"FRIENDS_NOTIFY_UNSET",localName:"UNSET"},{no:1,name:"FRIENDS_NOTIFY_DISALLOW",localName:"DISALLOW"},{no:2,name:"FRIENDS_NOTIFY_ALLOW",localName:"ALLOW"}]),fW=T.makeEnum("streamlayer.sdkSettings.client.TwitterNotify",[{no:0,name:"TWITTER_NOTIFY_UNSET",localName:"UNSET"},{no:1,name:"TWITTER_NOTIFY_DISALLOW",localName:"DISALLOW"},{no:2,name:"TWITTER_NOTIFY_ALLOW",localName:"ALLOW"}]),mW=T.makeEnum("streamlayer.sdkSettings.client.CallsSound",[{no:0,name:"CALLS_SOUND_UNSET",localName:"UNSET"},{no:1,name:"CALLS_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"CALLS_SOUND_ALLOW",localName:"ALLOW"}]),pW=T.makeEnum("streamlayer.sdkSettings.client.MessagesSound",[{no:0,name:"MESSAGES_SOUND_UNSET",localName:"UNSET"},{no:1,name:"MESSAGES_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"MESSAGES_SOUND_ALLOW",localName:"ALLOW"}]),hW=T.makeEnum("streamlayer.sdkSettings.client.FriendsSound",[{no:0,name:"FRIENDS_SOUND_UNSET",localName:"UNSET"},{no:1,name:"FRIENDS_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"FRIENDS_SOUND_ALLOW",localName:"ALLOW"}]),gW=T.makeEnum("streamlayer.sdkSettings.client.TwitterSound",[{no:0,name:"TWITTER_SOUND_UNSET",localName:"UNSET"},{no:1,name:"TWITTER_SOUND_DISALLOW",localName:"DISALLOW"},{no:2,name:"TWITTER_SOUND_ALLOW",localName:"ALLOW"}]),Pw=T.makeEnum("streamlayer.sdkSettings.client.SettingsAllow",[{no:0,name:"SETTINGS_ALLOW_UNSET",localName:"UNSET"},{no:1,name:"SETTINGS_ALLOW_DISALLOW",localName:"DISALLOW"},{no:2,name:"SETTINGS_ALLOW_ALLOW",localName:"ALLOW"}]),yW=T.makeEnum("streamlayer.sdkSettings.client.ManagedGroupType",[{no:0,name:"MANAGED_GROUP_TYPE_UNSET",localName:"UNSET"},{no:1,name:"MANAGED_GROUP_TYPE_CHAT",localName:"CHAT"},{no:2,name:"MANAGED_GROUP_TYPE_WP",localName:"WP"}]),vW=T.makeEnum("streamlayer.sdkSettings.client.GroupType",[{no:0,name:"GROUP_TYPE_UNSET",localName:"UNSET"},{no:1,name:"GROUP_TYPE_CHAT",localName:"CHAT"},{no:2,name:"GROUP_TYPE_WP",localName:"WP"}]),kW=T.makeMessageType("streamlayer.sdkSettings.client.NotifySettings",()=>[{no:1,name:"allow",kind:"enum",T:T.getEnumType(Pw)}]),bW=T.makeMessageType("streamlayer.sdkSettings.client.SoundSettings",()=>[{no:1,name:"allow",kind:"enum",T:T.getEnumType(Pw)}]),c4=T.makeMessageType("streamlayer.sdkSettings.client.ClientSettingsNotifications",()=>[{no:1,name:"notify",kind:"message",T:kW},{no:2,name:"sound",kind:"message",T:bW}]),_9=T.makeMessageType("streamlayer.sdkSettings.client.ClientSettings",()=>[{no:1,name:"visible_status",kind:"enum",T:T.getEnumType(uW)},{no:2,name:"messages_notify",kind:"enum",T:T.getEnumType(cW)},{no:3,name:"friends_notify",kind:"enum",T:T.getEnumType(dW)},{no:4,name:"calls_sound",kind:"enum",T:T.getEnumType(mW)},{no:5,name:"messages_sound",kind:"enum",T:T.getEnumType(pW)},{no:6,name:"friends_sound",kind:"enum",T:T.getEnumType(hW)},{no:7,name:"twitter_notify",kind:"enum",T:T.getEnumType(fW)},{no:8,name:"twitter_sound",kind:"enum",T:T.getEnumType(gW)},{no:9,name:"gamification",kind:"message",T:c4},{no:10,name:"watch_party_invitation",kind:"message",T:c4},{no:11,name:"twitter_question",kind:"message",T:c4}]),TW=T.makeMessageType("streamlayer.sdkSettings.client.GetRequest",[]),SW=T.makeMessageType("streamlayer.sdkSettings.client.GetResponse",()=>[{no:1,name:"data",kind:"message",T:wW}]),wW=T.makeMessageType("streamlayer.sdkSettings.client.GetResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:_9}],{localName:"GetResponse_GetResponseData"}),EW=T.makeMessageType("streamlayer.sdkSettings.client.UpdateRequest",()=>[{no:2,name:"settings",kind:"message",T:_9}]),CW=T.makeMessageType("streamlayer.sdkSettings.client.UpdateResponse",()=>[{no:1,name:"data",kind:"message",T:_W}]),_W=T.makeMessageType("streamlayer.sdkSettings.client.UpdateResponse.UpdateResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:_9}],{localName:"UpdateResponse_UpdateResponseData"}),RW=T.makeMessageType("streamlayer.sdkSettings.client.GetStreamRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),IW=T.makeMessageType("streamlayer.sdkSettings.client.GetStreamResponse",()=>[{no:1,name:"data",kind:"message",T:NW}]),NW=T.makeMessageType("streamlayer.sdkSettings.client.GetStreamResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:IS}],{localName:"GetStreamResponse_GetResponseData"}),LW=T.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationRequest",[]),xW=T.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationResponse",()=>[{no:1,name:"data",kind:"message",T:OW}]),OW=T.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationResponse.GetResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:NS}],{localName:"GetOrganizationResponse_GetResponseData"}),AW=T.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9,opt:!0}]),PW=T.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingResponse",()=>[{no:1,name:"data",kind:"message",T:MW}]),MW=T.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingResponse.GetOrganizationAdvertisingResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:LS}],{localName:"GetOrganizationAdvertisingResponse_GetOrganizationAdvertisingResponseData"}),DW=T.makeMessageType("streamlayer.sdkSettings.client.ManagedGroup",()=>[{no:1,name:"group_id",kind:"scalar",T:9},{no:2,name:"fantasy_group_id",kind:"scalar",T:9},{no:3,name:"group_type",kind:"enum",T:T.getEnumType(yW)}]),Mw=T.makeMessageType("streamlayer.sdkSettings.client.DeepLinkData",()=>[{no:1,name:"group_id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9},{no:3,name:"gamification",kind:"scalar",T:8},{no:4,name:"managed_group",kind:"message",T:DW},{no:5,name:"external_event_id",kind:"scalar",T:9},{no:6,name:"external_group_id",kind:"scalar",T:9},{no:7,name:"group_type",kind:"enum",T:T.getEnumType(vW)}]),UW=T.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkRequest",()=>[{no:1,name:"data",kind:"message",T:Mw}]),FW=T.makeMessageType("streamlayer.sdkSettings.client.DeepLink",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"link_id",kind:"scalar",T:9}]),jW=T.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkResponse",()=>[{no:1,name:"data",kind:"message",T:VW}]),VW=T.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkResponse.GenerateDeepLinkResponseData",()=>[{no:1,name:"attributes",kind:"message",T:FW}],{localName:"GenerateDeepLinkResponse_GenerateDeepLinkResponseData"});T.makeMessageType("streamlayer.sdkSettings.client.RetreiveDeepLinkRequest",()=>[{no:1,name:"url",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.sdkSettings.client.RetreiveDeepLinkResponse",()=>[{no:1,name:"data",kind:"message",T:BW}]);const BW=T.makeMessageType("streamlayer.sdkSettings.client.RetreiveDeepLinkResponse.RetreiveDeepLinkResponseData",()=>[{no:1,name:"attributes",kind:"message",T:Mw}],{localName:"RetreiveDeepLinkResponse_RetreiveDeepLinkResponseData"}),zW=T.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),$W=T.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionRequest",[]),HW=T.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:GW}]),GW=T.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:IS}],{localName:"StreamSubscriptionResponse_ResponseData"}),qW=T.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:WW}]),WW=T.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:NS}],{localName:"OrganizationSubscriptionResponse_ResponseData"}),Wp={typeName:"streamlayer.sdkSettings.client.Client",methods:{get:{name:"Get",I:TW,O:SW,kind:Ze.Unary},update:{name:"Update",I:EW,O:CW,kind:Ze.Unary},getStream:{name:"GetStream",I:RW,O:IW,kind:Ze.Unary},getOrganization:{name:"GetOrganization",I:LW,O:xW,kind:Ze.Unary},getOrganizationAdvertising:{name:"GetOrganizationAdvertising",I:AW,O:PW,kind:Ze.Unary},generateDeepLink:{name:"GenerateDeepLink",I:UW,O:jW,kind:Ze.Unary},streamSubscription:{name:"StreamSubscription",I:zW,O:HW,kind:Ze.ServerStreaming},organizationSubscription:{name:"OrganizationSubscription",I:$W,O:qW,kind:Ze.ServerStreaming}}},QW=T.makeEnum("streamlayer.users.UserNotificationPreference",[{no:0,name:"USER_NOTIFICATION_PREFERENCE_UNSET",localName:"UNSET"},{no:1,name:"USER_NOTIFICATION_PREFERENCE_ALL_EVENTS",localName:"ALL_EVENTS"},{no:2,name:"USER_NOTIFICATION_PREFERENCE_IMPORTANT_EVENTS_ONLY",localName:"IMPORTANT_EVENTS_ONLY"},{no:3,name:"USER_NOTIFICATION_PREFERENCE_DAILY_SUMMARY_AND_MENTIONS",localName:"DAILY_SUMMARY_AND_MENTIONS"}]),YW=T.makeMessageType("streamlayer.users.PublicChatUser",()=>[{no:1,name:"name",kind:"scalar",T:9}]),KW=T.makeMessageType("streamlayer.users.UserAttributes",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:5,name:"avatar",kind:"scalar",T:9},{no:6,name:"public_chat",kind:"message",T:YW},{no:7,name:"public_name",kind:"scalar",T:9}]);T.makeMessageType("streamlayer.users.UserOrganization",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"permissions",kind:"scalar",T:9,repeated:!0}]);const ZW=T.makeMessageType("streamlayer.users.UserMetadata",()=>[{no:2,name:"avatar",kind:"scalar",T:9},{no:3,name:"avatar_background_colour",kind:"scalar",T:9},{no:4,name:"timezone",kind:"scalar",T:9},{no:5,name:"notification_preference",kind:"enum",T:T.getEnumType(QW)},{no:6,name:"active",kind:"scalar",T:8},{no:7,name:"first_name",kind:"scalar",T:9},{no:8,name:"last_name",kind:"scalar",T:9},{no:9,name:"roles",kind:"scalar",T:9,repeated:!0}]),JW=T.makeMessageType("streamlayer.users.ExtendedUserAttributes",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"alias",kind:"scalar",T:9},{no:4,name:"metadata",kind:"message",T:ZW}]),R9=T.makeMessageType("streamlayer.users.User",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:KW}]);T.makeMessageType("streamlayer.users.ExtendedUser",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:JW}]);const XW=T.makeMessageType("streamlayer.users.LoginRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"password",kind:"scalar",T:9}]),eQ=T.makeMessageType("streamlayer.users.AuthResponse",()=>[{no:1,name:"meta",kind:"message",T:tQ},{no:2,name:"data",kind:"message",T:R9}]),tQ=T.makeMessageType("streamlayer.users.AuthResponse.AuthResponseMetadata",()=>[{no:1,name:"jwt",kind:"scalar",T:9},{no:3,name:"getstream",kind:"scalar",T:9}],{localName:"AuthResponse_AuthResponseMetadata"}),nQ=T.makeMessageType("streamlayer.users.RegisterRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),aQ=T.makeMessageType("streamlayer.users.Referral",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"watching_game",kind:"scalar",T:9}]),rQ=T.makeMessageType("streamlayer.users.RegisterResponse",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"requires_activation",kind:"scalar",T:8},{no:3,name:"referral",kind:"message",T:aQ}]),oQ=T.makeMessageType("streamlayer.users.RequestPasswordRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),sQ=T.makeMessageType("streamlayer.users.RequestPasswordResponse",()=>[{no:1,name:"requested",kind:"scalar",T:8},{no:2,name:"uid",kind:"scalar",T:9}]),iQ=T.makeMessageType("streamlayer.users.MeRequest",[]),lQ=T.makeMessageType("streamlayer.users.MeResponse",()=>[{no:1,name:"data",kind:"message",T:R9}]),uQ=T.makeMessageType("streamlayer.users.UpdateMetadataRequest",()=>[{no:1,name:"set_name",kind:"scalar",T:9,oneof:"name"},{no:2,name:"del_name",kind:"scalar",T:9,oneof:"name"}]),cQ=T.makeMessageType("streamlayer.users.UpdateAvatarRequest",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"set_avatar",kind:"scalar",T:9,oneof:"avatar"},{no:3,name:"del_avatar",kind:"scalar",T:9,oneof:"avatar"}]),dQ=T.makeMessageType("streamlayer.users.UpdateAvatarResponse",[]),fQ=T.makeMessageType("streamlayer.users.UpdatePublicChatNameRequest",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"set_name",kind:"scalar",T:9,oneof:"name"},{no:3,name:"del_name",kind:"scalar",T:9,oneof:"name"}]),mQ=T.makeMessageType("streamlayer.users.UpdatePublicChatNameResponse",[]),pQ=T.makeMessageType("streamlayer.users.UpdatePublicNameRequest",()=>[{no:1,name:"username",kind:"scalar",T:9},{no:2,name:"set_name",kind:"scalar",T:9,oneof:"name"},{no:3,name:"del_name",kind:"scalar",T:9,oneof:"name"}]),hQ=T.makeMessageType("streamlayer.users.UpdatePublicNameResponse",[]),gQ=T.makeMessageType("streamlayer.users.UpdateMetadataResponse",[]),yQ=T.makeMessageType("streamlayer.users.InviteRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"referral",kind:"message",T:vQ}]),vQ=T.makeMessageType("streamlayer.users.InviteRequest.InviteReferral",()=>[{no:1,name:"watching_game",kind:"scalar",T:9}],{localName:"InviteRequest_InviteReferral"}),kQ=T.makeMessageType("streamlayer.users.InviteResponse",[]),bQ=T.makeMessageType("streamlayer.users.BypassAuthRequest",()=>[{no:1,name:"user_key",kind:"scalar",T:9},{no:2,name:"schema",kind:"scalar",T:9},{no:3,name:"init",kind:"scalar",T:8},{no:4,name:"inviter_key",kind:"scalar",T:9,opt:!0}]),TQ=T.makeMessageType("streamlayer.users.BypassAuthResponse",()=>[{no:1,name:"meta",kind:"message",T:SQ},{no:2,name:"data",kind:"message",T:R9,opt:!0}]),SQ=T.makeMessageType("streamlayer.users.BypassAuthResponse.AuthResponseMetadata",()=>[{no:1,name:"jwt",kind:"scalar",T:9,opt:!0},{no:3,name:"token",kind:"scalar",T:9,opt:!0},{no:4,name:"getstream",kind:"scalar",T:9},{no:5,name:"inviter_key",kind:"scalar",T:9,opt:!0}],{localName:"BypassAuthResponse_AuthResponseMetadata"}),wQ=T.makeMessageType("streamlayer.users.GetFriendsRequest",()=>[{no:1,name:"last_created_at",kind:"scalar",T:9,opt:!0},{no:2,name:"limit",kind:"scalar",T:5,opt:!0}]),EQ=T.makeMessageType("streamlayer.users.GetFriendsResponse",()=>[{no:1,name:"data",kind:"message",T:_Q,repeated:!0},{no:2,name:"metadata",kind:"message",T:CQ}]),CQ=T.makeMessageType("streamlayer.users.GetFriendsResponse.ResponseMeta",()=>[{no:1,name:"last_created_at",kind:"scalar",T:9}],{localName:"GetFriendsResponse_ResponseMeta"}),_Q=T.makeMessageType("streamlayer.users.GetFriendsResponse.FriendData",()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"tinode_id",kind:"scalar",T:9},{no:3,name:"sl_id",kind:"scalar",T:9}],{localName:"GetFriendsResponse_FriendData"}),I9={typeName:"streamlayer.users.Users",methods:{login:{name:"Login",I:XW,O:eQ,kind:Ze.Unary},register:{name:"Register",I:nQ,O:rQ,kind:Ze.Unary},requestPassword:{name:"RequestPassword",I:oQ,O:sQ,kind:Ze.Unary},me:{name:"Me",I:iQ,O:lQ,kind:Ze.Unary},invite:{name:"Invite",I:yQ,O:kQ,kind:Ze.Unary},bypassAuth:{name:"BypassAuth",I:bQ,O:TQ,kind:Ze.Unary},updateMetadata:{name:"UpdateMetadata",I:uQ,O:gQ,kind:Ze.Unary},updateAvatar:{name:"UpdateAvatar",I:cQ,O:dQ,kind:Ze.Unary},updatePublicChatName:{name:"UpdatePublicChatName",I:fQ,O:mQ,kind:Ze.Unary},updatePublicName:{name:"UpdatePublicName",I:pQ,O:hQ,kind:Ze.Unary},getFriends:{name:"GetFriends",I:wQ,O:EQ,kind:Ze.Unary}}},nl={typeName:"streamlayer.interactive.feed.Feed",methods:{get:{name:"Get",I:CA,O:_A,kind:Ze.Unary},subscription:{name:"Subscription",I:LO,O:xO,kind:Ze.ServerStreaming},votingSubscription:{name:"VotingSubscription",I:AO,O:PO,kind:Ze.ServerStreaming},questionSubscription:{name:"QuestionSubscription",I:UO,O:FO,kind:Ze.ServerStreaming},questionByUser:{name:"QuestionByUser",I:BO,O:zO,kind:Ze.Unary},syncQuestion:{name:"SyncQuestion",I:HO,O:qO,kind:Ze.Unary},getQuestion:{name:"GetQuestion",I:QO,O:YO,kind:Ze.Unary},questionDetail:{name:"QuestionDetail",I:ZO,O:JO,kind:Ze.Unary},submitAnswer:{name:"SubmitAnswer",I:eA,O:nA,kind:Ze.Unary},submitInplay:{name:"SubmitInplay",I:rA,O:sA,kind:Ze.Unary},skipQuestion:{name:"SkipQuestion",I:iA,O:uA,kind:Ze.Unary},pickHistory:{name:"PickHistory",I:dA,O:fA,kind:Ze.Unary},insightHistory:{name:"InsightHistory",I:hA,O:vA,kind:Ze.Unary},tweetHistory:{name:"TweetHistory",I:bA,O:TA,kind:Ze.Unary},promotionHistory:{name:"PromotionHistory",I:IA,O:NA,kind:Ze.Unary},list:{name:"List",I:OA,O:PA,kind:Ze.Unary},feedSubscription:{name:"FeedSubscription",I:DA,O:UA,kind:Ze.ServerStreaming}}},RQ=T.makeEnum("streamlayer.interactive.leaderboard.LeaderboardType",[{no:0,name:"LEADERBOARD_TYPE_UNSET",localName:"UNSET"},{no:1,name:"LEADERBOARD_TYPE_TOURNAMENT",localName:"TOURNAMENT"},{no:2,name:"LEADERBOARD_TYPE_EVENT",localName:"EVENT"}]),Dw=T.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:T.getEnumType(RQ)},{no:3,name:"name",kind:"scalar",T:9},{no:4,name:"event_ids",kind:"scalar",T:3,repeated:!0},{no:5,name:"leaderboards",kind:"message",T:Dw,repeated:!0},{no:6,name:"created_at",kind:"scalar",T:3}]),N9=T.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardItem",()=>[{no:1,name:"streak",kind:"scalar",T:5},{no:2,name:"correct",kind:"scalar",T:5},{no:3,name:"incorrect",kind:"scalar",T:5},{no:4,name:"points",kind:"scalar",T:5},{no:5,name:"rank",kind:"scalar",T:5},{no:6,name:"name",kind:"scalar",T:9},{no:7,name:"avatar",kind:"scalar",T:9},{no:8,name:"user_id",kind:"scalar",T:9},{no:9,name:"recent_correct",kind:"scalar",T:5},{no:10,name:"streak_loss",kind:"scalar",T:5},{no:11,name:"friends_rank",kind:"scalar",T:5},{no:12,name:"in_top",kind:"scalar",T:5}]),IQ=T.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardSummaryItem",()=>[{no:1,name:"summary",kind:"message",T:N9},{no:2,name:"percentage",kind:"message",T:NQ}]),NQ=T.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardSummaryItem.SummaryPercentage",()=>[{no:1,name:"correct",kind:"scalar",T:5},{no:2,name:"average",kind:"scalar",T:5}],{localName:"LeaderboardSummaryItem_SummaryPercentage"}),LQ=T.makeMessageType("streamlayer.interactive.leaderboard.ListRequest",()=>[{no:1,name:"pagination",kind:"message",T:Yg},{no:2,name:"users_ids",kind:"scalar",T:9,repeated:!0},{no:3,name:"event_id",kind:"scalar",T:4},{no:4,name:"leaderboard_id",kind:"scalar",T:9}]),xQ=T.makeMessageType("streamlayer.interactive.leaderboard.ListResponse",()=>[{no:1,name:"data",kind:"message",T:OQ,repeated:!0},{no:2,name:"meta",kind:"message",T:AQ}]),OQ=T.makeMessageType("streamlayer.interactive.leaderboard.ListResponse.ListResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:N9}],{localName:"ListResponse_ListResponseData"}),AQ=T.makeMessageType("streamlayer.interactive.leaderboard.ListResponse.ListResponseMeta",()=>[{no:1,name:"count",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"ListResponse_ListResponseMeta"}),PQ=T.makeMessageType("streamlayer.interactive.leaderboard.SummaryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:4},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"leaderboard_id",kind:"scalar",T:9},{no:4,name:"users_ids",kind:"scalar",T:9,repeated:!0}]),MQ=T.makeMessageType("streamlayer.interactive.leaderboard.SummaryResponse",()=>[{no:1,name:"data",kind:"message",T:DQ}]),DQ=T.makeMessageType("streamlayer.interactive.leaderboard.SummaryResponse.SummaryResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:IQ}],{localName:"SummaryResponse_SummaryResponseData"}),UQ=T.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9}]),FQ=T.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsResponse",()=>[{no:2,name:"data",kind:"message",T:jQ}]),jQ=T.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsResponse.EventLeaderboardsResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:Dw}],{localName:"EventLeaderboardsResponse_EventLeaderboardsResponseData"}),VQ=T.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"organization_id",kind:"scalar",T:9},{no:3,name:"pagination",kind:"message",T:Yg},{no:4,name:"sort",kind:"message",T:SO}]),BQ=T.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardResponse",()=>[{no:1,name:"data",kind:"message",T:zQ,repeated:!0},{no:2,name:"meta",kind:"message",T:$Q}]),zQ=T.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardResponse.ListResponseData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"attributes",kind:"message",T:N9}],{localName:"EventLeaderboardResponse_ListResponseData"}),$Q=T.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardResponse.ListResponseMeta",()=>[{no:1,name:"count",kind:"scalar",T:5},{no:2,name:"page",kind:"scalar",T:5},{no:3,name:"page_size",kind:"scalar",T:5}],{localName:"EventLeaderboardResponse_ListResponseMeta"}),Uw={typeName:"streamlayer.interactive.leaderboard.Leaderboard",methods:{list:{name:"List",I:LQ,O:xQ,kind:Ze.Unary},summary:{name:"Summary",I:PQ,O:MQ,kind:Ze.Unary},eventLeaderboards:{name:"EventLeaderboards",I:UQ,O:FQ,kind:Ze.Unary},eventLeaderboard:{name:"EventLeaderboard",I:VQ,O:BQ,kind:Ze.Unary}}},HQ=T.makeMessageType("streamlayer.shortLinks.GenerateRequest",()=>[{no:1,name:"web",kind:"scalar",T:9},{no:2,name:"mobile",kind:"scalar",T:9}]),GQ=T.makeMessageType("streamlayer.shortLinks.GenerateResponse",()=>[{no:1,name:"data",kind:"message",T:qQ}]),qQ=T.makeMessageType("streamlayer.shortLinks.GenerateResponse.GenerateResponseData",()=>[{no:1,name:"link",kind:"scalar",T:9}],{localName:"GenerateResponse_GenerateResponseData"}),WQ={typeName:"streamlayer.shortLinks.LinksClient",methods:{generate:{name:"Generate",I:HQ,O:GQ,kind:Ze.Unary}}};function QQ(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Fw={exports:{}},qn=Fw.exports={},Gs,qs;function H4(){throw new Error("setTimeout has not been defined")}function G4(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Gs=setTimeout:Gs=H4}catch{Gs=H4}try{typeof clearTimeout=="function"?qs=clearTimeout:qs=G4}catch{qs=G4}})();function jw(n){if(Gs===setTimeout)return setTimeout(n,0);if((Gs===H4||!Gs)&&setTimeout)return Gs=setTimeout,setTimeout(n,0);try{return Gs(n,0)}catch{try{return Gs.call(null,n,0)}catch{return Gs.call(this,n,0)}}}function YQ(n){if(qs===clearTimeout)return clearTimeout(n);if((qs===G4||!qs)&&clearTimeout)return qs=clearTimeout,clearTimeout(n);try{return qs(n)}catch{try{return qs.call(null,n)}catch{return qs.call(this,n)}}}var Ki=[],tf=!1,xc,_g=-1;function KQ(){!tf||!xc||(tf=!1,xc.length?Ki=xc.concat(Ki):_g=-1,Ki.length&&Vw())}function Vw(){if(!tf){var n=jw(KQ);tf=!0;for(var r=Ki.length;r;){for(xc=Ki,Ki=[];++_g<r;)xc&&xc[_g].run();_g=-1,r=Ki.length}xc=null,tf=!1,YQ(n)}}qn.nextTick=function(n){var r=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)r[i-1]=arguments[i];Ki.push(new Bw(n,r)),Ki.length===1&&!tf&&jw(Vw)};function Bw(n,r){this.fun=n,this.array=r}Bw.prototype.run=function(){this.fun.apply(null,this.array)};qn.title="browser";qn.browser=!0;qn.env={};qn.argv=[];qn.version="";qn.versions={};function al(){}qn.on=al;qn.addListener=al;qn.once=al;qn.off=al;qn.removeListener=al;qn.removeAllListeners=al;qn.emit=al;qn.prependListener=al;qn.prependOnceListener=al;qn.listeners=function(n){return[]};qn.binding=function(n){throw new Error("process.binding is not supported")};qn.cwd=function(){return"/"};qn.chdir=function(n){throw new Error("process.chdir is not supported")};qn.umask=function(){return 0};var ZQ=Fw.exports;const _t=QQ(ZQ);class JQ{}window.slStore=Object.create(null);class o3{constructor(r,i){Z(this,"store");Z(this,"name");this.store=r,this.name=i}getStore(){return this.store}}const XQ=n=>{const r=Object.keys(n);return xL(r.map(i=>n[i].getStore()),(...i)=>Object.fromEntries(r.map((u,c)=>[u,i[c]])))};class nf extends o3{constructor(){super(...arguments);Z(this,"getValues",()=>this.getStore().get());Z(this,"getValue",i=>this.getStore().get()[i]);Z(this,"setValue",(i,u)=>this.getStore().setKey(i,u));Z(this,"subscribe",(...i)=>this.getStore().subscribe(...i));Z(this,"unsubscribe",()=>this.getStore().off())}}const Zi=n=>_4(n);var Hi;(function(n){n.ORGANIZATION="ORGANIZATION",n.STREAM="STREAM"})(Hi||(Hi={}));const eY={[Rn.BETTING]:"betting",[Rn.GAMES]:"games",[Rn.PUBLIC_CHAT]:"publicChat",[Rn.TWITTER]:"twitter"};var af;(function(n){n.Ready="ready",n.Suspended="suspended"})(af||(af={}));class zw{constructor({settings:r,...i},u){Z(this,"status");Z(this,"source");Z(this,"config");Z(this,"settings");Z(this,"listeners",new Set);Z(this,"settingsKey");Z(this,"enable",()=>{this.status.set(af.Ready)});Z(this,"disable",()=>{this.status.set(af.Suspended)});Z(this,"setFeatureConfig",({settings:r,...i})=>{var c;let u;for(u in i)this.config.setValue(u,i[u]);if(((c=r==null?void 0:r.overlaySettings)==null?void 0:c.case)!==void 0&&(r==null?void 0:r.overlaySettings.case)===this.settingsKey){const p=r.overlaySettings.value;if(p!==void 0){let m;for(m in p)p[m]!==0&&p[m]!==""&&this.settings.setValue(m,p[m])}}});Z(this,"update",(r,i)=>{this.source===Hi.STREAM&&i===Hi.ORGANIZATION||(this.setFeatureConfig(r),this.source=i)});this.settingsKey=eY[i.type],this.status=iu(af.Suspended),this.config=new nf(Zi(i),`feature:config:${this.settingsKey}`),this.settingsKey!==void 0&&(r==null?void 0:r.overlaySettings.case)===this.settingsKey?this.settings=new nf(Zi(r.overlaySettings.value),`feature:settings:${this.settingsKey}`):this.settings=new nf(Zi({}),`feature:settings:${this.settingsKey}`),this.source=u}get featureConfig(){return this.config.getStore()}get featureSettings(){return this.settings.getStore()}registerEventListener(r){this.listeners.add(r)}fireEvent(r){for(const i of this.listeners.values())try{i.onEvent(r)}catch(u){console.error(u)}}}class uo extends o3{constructor(){super(...arguments);Z(this,"getValue",()=>this.getStore().get());Z(this,"setValue",i=>this.getStore().set(i));Z(this,"subscribe",i=>this.getStore().subscribe(i));Z(this,"unsubscribe",()=>this.getStore().off())}getValues(){throw new Error("not implemented")}listen(i){return this.getStore().listen(i)}get(){return this.getStore().get()}}const Da=n=>iu(n);class ns extends o3{constructor(i,u,c){super(i,`api:${u}`);Z(this,"atomStore");Z(this,"getAtomStore",()=>this.atomStore);Z(this,"getValue",async()=>{const i=this.getStore();if(i.value===void 0)throw new Error("no store");return await i.value.promise,i.get().data});Z(this,"getValues",()=>this.getStore().get());Z(this,"setValue",i=>this.getStore().set({loading:!1,data:i==null?void 0:i.data}));Z(this,"subscribe",i=>this.getStore().subscribe(i));Z(this,"unsubscribe",()=>{throw new Error("not implemented")});Z(this,"invalidate",()=>{this.store.invalidate()});Z(this,"listen",i=>this.getStore().listen(i));Z(this,"key",()=>this.getStore().key);Z(this,"off",()=>this.getStore().off());this.atomStore=iu(),c&&i.subscribe(p=>{const m=this.atomStore.get(),k=c(p,m);m!==k&&this.atomStore.set(k)})}get(){throw new Error("not implemented")}}async function*tY(n,r){for await(const i of r){n.response.message=i,n.received_at=Date.now();const u={type:"__GRPC_DEVTOOLS_EXTENSION__",data:n};window.postMessage(u),yield i}}const nY=()=>n=>async r=>{const i={name:r.url,stream:r.stream,sent_at:Date.now(),request:{header:Object.fromEntries(r.header.entries())},response:{}};try{const u=await n(r);if(i.received_at=Date.now(),i.response.header=Object.fromEntries(u.header.entries()),i.response.trailer=Object.fromEntries(u.trailer.entries()),r.stream){i.request.message=r.message;const c={type:"__GRPC_DEVTOOLS_EXTENSION__",data:{...i,stream:!1}};return window.postMessage(c),{...u,message:tY(i,u.message)}}else{i.request.message=r.message,i.response.message=u.message,i.latency=i.received_at-i.sent_at;const c={type:"__GRPC_DEVTOOLS_EXTENSION__",data:i};window.postMessage(c)}return u}catch(u){i.received_at=Date.now(),i.request.message=r.message,i.response.trailer={"grpc-status":u.code,"grpc-message":u.rawMessage},i.response.message=u.rawMessage,i.latency=i.received_at-i.sent_at;const c={type:"__GRPC_DEVTOOLS_EXTENSION__",data:i};throw window.postMessage(c),u}};window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));var es;(function(n){n.Init="init",n.Ready="ready",n.Connecting="connecting",n.Connected="connected",n.Disconnected="disconnected",n.Failed="failed",n.Reconnect="reconnect",n.Reconnecting="reconnecting"})(es||(es={}));class aY{constructor(r,i,u,c){Z(this,"params");Z(this,"streamCancel");Z(this,"method");Z(this,"options");Z(this,"headers");Z(this,"listeners");Z(this,"state");Z(this,"store");Z(this,"paramsListener");Z(this,"reconnectTimeout");Z(this,"attempt",0);Z(this,"updateState",r=>{this.state.setValue("status",r),this.state.setValue("ts",new Date),this.addStateLog(`status => ${r}`)});Z(this,"addStateLog",r=>{const i=this.state.getStore().get().log,u=`${this.options.name} ${new Date().toISOString()}: ${r}`;i.push(u),this.state.setValue("log",i),window.sessionStorage.setItem("slstreamlogs",window.sessionStorage.getItem("slstreamlogs")+`
181
+ `+u)});Z(this,"addListener",(r,i)=>this.listeners.has(r)?(this.addStateLog(`listener '${r}' not added, already exists`),!1):(this.listeners.set(r,i),this.addStateLog(`listener '${r}' added`),!0));Z(this,"removeListener",r=>{this.listeners.delete(r),this.addStateLog(`listener '${r}' removed`)});Z(this,"connect",()=>{this.updateState(es.Connecting),this.streamCancel&&(this.addStateLog("disconnect prev connection"),this.streamCancel.abort(),this.streamCancel=void 0);const r="get"in this.params&&typeof this.params.get=="function"?this.params.get():this.params;(async()=>{this.streamCancel=new AbortController;try{const i={headers:this.headers.getValues(),signal:this.streamCancel.signal},u=this.method(r,i);for await(const c of u)this.attempt=0,this.onData(c)}catch(i){i instanceof _n&&i.code!=Vt.Canceled&&this.onStreamError(i)}})(),this.updateState(es.Connected)});Z(this,"disconnect",()=>{var r;this.streamCancel&&this.streamCancel.abort(),this.listeners.clear(),(r=this.paramsListener)==null||r.call(this),clearTimeout(this.reconnectTimeout),this.reconnectTimeout=void 0,this.updateState(es.Disconnected)});Z(this,"reconnect",()=>{if(this.reconnectTimeout)this.addStateLog("already reconnecting");else if(this.attempt<this.options.reconnectMaxAttempts){this.updateState(es.Reconnect);const r=Math.min(this.options.reconnectMaxDelay,Math.pow(2,this.attempt)*this.options.reconnectDelay),i=Math.round(r*(1+Math.random())/2);this.reconnectTimeout=setTimeout(()=>{this.attempt++,this.updateState(es.Reconnecting),this.addStateLog(`reconnect attempt ${this.attempt} after ${i}ms`),this.connect(),this.reconnectTimeout=void 0},i)}else this.addStateLog("max reconnect attempts reached"),this.disconnect()});Z(this,"getStore",()=>{var r;return(r=this.store)==null?void 0:r.getStore()});Z(this,"onData",r=>{try{this.addStateLog(`received data => ${JSON.stringify(r)}`),this.store&&this.store.setValue(r);for(const[,i]of this.listeners)i(r);this.addStateLog(`data routed to ${this.listeners.size} listeners`)}catch(i){this.addStateLog(`error process data => ${i}`)}});Z(this,"onStreamError",r=>{if(this.addStateLog(`error => ${r?JSON.stringify(r):"undefined"}}`),r!==void 0){if(r instanceof _n&&r.code!==Vt.Canceled){this.updateState(es.Failed),this.state.setValue("error",r),this.reconnect();return}this.disconnect()}});const p={status:es.Init,ts:new Date,log:[]};this.state=new nf(Zi(p),`subscription:${c.name}:state`),this.options={...c,reconnectDelay:c.reconnectDelay??1e3,reconnectMaxDelay:c.reconnectMaxDelay??3e4,reconnectMaxAttempts:c.reconnectMaxAttempts??10,withStore:c.withStore??!1},this.headers=r,this.listeners=new Map,this.params=u,this.method=i,c.withStore&&(this.store=new uo(Da(null),`subscription:${c.name}:store`)),"subscribe"in u&&typeof u.subscribe=="function"&&(this.paramsListener=u.subscribe(m=>{this.state.getValue("status")===es.Connected&&(this.addStateLog(`params updated, reconnect => ${JSON.stringify(m)}`),this.reconnect())})),this.updateState(es.Ready)}}const rY=mw({level:"trace",enabled:!!window.localStorage.getItem("SL_DEBUG"),browser:{write:n=>{console.log(n)}}}),ff=(n,r)=>rY.child({name:n},r),oY=new Set([Vt.Unknown,Vt.Internal,Vt.DeadlineExceeded,Vt.ResourceExhausted,Vt.FailedPrecondition,Vt.Unavailable,Vt.DataLoss]),bT=ff("grpc:retry"),sY=n=>async r=>{const i=r.contextValues.get(q4.retryAttempts),u=300,c=r.contextValues.get(q4.retryDelay);if(r.stream||i===0)return n(r);bT.trace({url:r.url,attempts:i,maxDelay:c},"retry options");for(let p=0;;p++)try{return await n(r)}catch(m){bT.trace({attempt:p,error:m},"retry attempt");const k=_n.from(m);if(p>=i||!(k instanceof _n)||!oY.has(k.code))throw m;const S=Math.min(c,Math.pow(2,p)*u),I=Math.round(S*(1+Math.random())/2);await new Promise(E=>setTimeout(E,I))}},q4={retryAttempts:jb(5,{description:"Number of attempts to retry"}),retryDelay:jb(3e4,{description:"Max delay between retries in milliseconds"})},iY=()=>{const n=localStorage.getItem("sl-device-id");if(n)return n;const r=mH();return localStorage.setItem("sl-device-id",r),r};class lY{constructor(r){Z(this,"toJsonOptions",{emitDefaultValues:!1,enumAsInteger:!0,useProtoFieldName:!1});Z(this,"transport");Z(this,"streamTransport");Z(this,"nanoquery");Z(this,"host");Z(this,"interceptors",[]);Z(this,"$headers");Z(this,"clients");Z(this,"callbackClients");Z(this,"subscriptions");Z(this,"addSubscription",(r,i,u)=>{const c=this.subscriptions.get(i);if(c)return c;const p=new aY(this.$headers,r,i,u);return this.subscriptions.set(i,p),p});Z(this,"removeSubscription",r=>{r.disconnect(),this.subscriptions.delete(r.params)});Z(this,"disconnect",()=>{for(const[c,p]of this.subscriptions)p.disconnect(),this.subscriptions.delete(c);this.clients.clear(),this.callbackClients.clear(),this.subscriptions.clear();const[r,i,u]=Yb();this.nanoquery={createFetcherStore:r,createMutatorStore:i,utils:u}});Z(this,"registerInterceptor",r=>{this.interceptors.push(r)});Z(this,"removeInterceptor",r=>{this.interceptors=this.interceptors.filter(i=>i!==r)});Z(this,"getClient",r=>{const i=r.typeName;if(this.clients.has(i))return this.clients.get(i);const u=Fb(r,this.transport);return this.clients.set(i,u),u});Z(this,"getStreamClient",r=>{const i=`stream-${r.typeName}`;if(this.clients.has(i))return this.clients.get(i);const u=Fb(r,this.streamTransport);return this.clients.set(i,u),u});Z(this,"createPromiseClient",(r,{params:i=[],method:u})=>{const c=this.getClient(r),p=r.methods[u].name,m=[r.typeName,p.charAt(0).toLowerCase()+p.slice(1),...Array.isArray(i)?i:[i]],k=[r.typeName,p.charAt(0).toLowerCase()+p.slice(1)];return{client:c,createRequestOptions:S=>{const I=$4();for(const E in S){const x=q4[E];I.set(x,S[E])}return I},queryKey:m,queryKeyStr:k.join("")}});Z(this,"createStreamClient",r=>({client:this.getStreamClient(r)}));Z(this,"setSdkKey",r=>{this.$headers.setValue("sdk",r)});Z(this,"setAuth",(r,i)=>{this.$headers.setValue("authorization",r),this.$headers.setValue("sl-user-id",i)});Z(this,"setHeader",(r,i)=>this.$headers.setValue(r,i));Z(this,"getHeader",r=>this.$headers.getValue(r));Z(this,"getHeaders",()=>this.$headers.getValues());Z(this,"initInterceptors",()=>{if(this.interceptors.length!==0)return;const r=i=>u=>{const c=this.$headers.getValues();for(const p in c)u.header.set(p,c[p]);return i(u)};this.interceptors.push(r),this.interceptors.push(nY()),this.interceptors.push(sY)});this.host=r,this.$headers=new nf(Zi({"sl-device-id":iY()}),"transport:headers"),this.initInterceptors(),this.clients=new Map,this.callbackClients=new Map,this.subscriptions=new Map;const[i,u,c]=Yb();this.nanoquery={createFetcherStore:i,createMutatorStore:u,utils:c},this.transport=Qb({baseUrl:r,defaultTimeoutMs:1e4,interceptors:this.interceptors,useBinaryFormat:!0}),this.streamTransport=Qb({baseUrl:r,interceptors:this.interceptors,useBinaryFormat:!0})}}const uY=(n,r)=>{const{client:i,queryKey:u}=r.createPromiseClient(lW,{method:"retrieveEventId",params:[n]});return r.nanoquery.createFetcherStore(u,{fetcher:async(c,p,m)=>{var k;if(!m||typeof m!="string")return"";try{return((k=(await i.retrieveEventId({id:m})).data)==null?void 0:k.id)||""}catch{return""}}})},cY=(n,r)=>{const{client:i,queryKey:u}=r.createPromiseClient(Wp,{method:"getStream",params:[n]});return r.nanoquery.createFetcherStore(u,{fetcher:async(c,p,m)=>{var k;return m?(k=(await i.getStream({id:m})).data)==null?void 0:k.attributes:void 0}})},dY=(n,r)=>{const{queryKey:i,client:u}=r.createPromiseClient(I9,{method:"me",params:[n]});return r.nanoquery.createFetcherStore(i,{fetcher:()=>u.me({})})},fY=n=>{const{client:r,createRequestOptions:i}=n.createPromiseClient(I9,{method:"bypassAuth"}),u=i({retryAttempts:0});return async({userKey:c,schema:p,init:m,inviterKey:k})=>{const S=await r.bypassAuth({userKey:c,schema:p,init:m},{contextValues:u});return S.meta&&(S.meta.inviterKey=k),S}},mY=(n,r)=>{const{client:i,queryKey:u}=r.createPromiseClient(Wp,{method:"get",params:[n]});return r.nanoquery.createFetcherStore(u,{fetcher:async()=>{var c;return(c=(await i.get({})).data)==null?void 0:c.attributes}})},pY=(n,r)=>{const{client:i,queryKey:u}=r.createPromiseClient(Wp,{method:"getOrganization",params:[n]});return r.nanoquery.createFetcherStore(u,{fetcher:async()=>{const c=await i.getOrganization({});return c.data?{...c.data.attributes,id:c.data.id}:void 0}})},hY=(n,r)=>{const{client:i,queryKey:u}=r.createPromiseClient(Wp,{method:"getOrganizationAdvertising",params:[n]});return r.nanoquery.createFetcherStore(u,{fetcher:async()=>{var c;return(c=(await i.getOrganizationAdvertising({})).data)==null?void 0:c.attributes}})},gY=(n,r,i)=>{n.transport=new lY(r.host),n.sdk.host=n.transport.host,n.transport.setSdkKey(r.sdkKey),n.transport.setHeader("sl-sdk-version",r.version||"-"),i()};class s3{constructor(r="main",i=window.localStorage){Z(this,"delimiter",":");Z(this,"prefix");Z(this,"storage");Z(this,"clear",()=>{for(const r in window.localStorage)r.startsWith(this.prefix)&&this.storage.removeItem(r)});Z(this,"generateKey",r=>`${this.prefix}${this.delimiter}${r.join(this.delimiter)}`);Z(this,"write",(...r)=>{const i=r.pop()||"";this.storage.setItem(this.generateKey(r),i)});Z(this,"read",(...r)=>{const i=this.storage.getItem(this.generateKey(r));return i===null?void 0:i});Z(this,"remove",(...r)=>{this.storage.removeItem(this.generateKey(r))});this.prefix=`sl-sdk${this.delimiter}${r}`,this.storage=i}}var Bi;(function(n){n.SCHEMA="schema",n.EXTERNAL_TOKEN="eToken",n.TOKEN="token"})(Bi||(Bi={}));class Y1 extends s3{constructor(){super("user");Z(this,"setSchema",i=>{this.write(Bi.SCHEMA,i)});Z(this,"getSchema",()=>this.read(Bi.SCHEMA));Z(this,"setToken",i=>{this.write(Bi.TOKEN,i)});Z(this,"getToken",()=>this.read(Bi.TOKEN));Z(this,"setExternalToken",i=>{this.write(Bi.EXTERNAL_TOKEN,i)});Z(this,"getExternalToken",()=>this.read(Bi.EXTERNAL_TOKEN));Z(this,"removeToken",()=>{this.remove(Bi.TOKEN)})}}var Gi;(function(n){n.DISABLED="disabled",n.INITIALIZATION="initialization",n.READY="ready",n.FAILED="failed",n.SUSPENDED="suspended"})(Gi||(Gi={}));const yY=n=>{const r=new Y1,i=new uo(Da(r.getExternalToken()),"userKey"),u=new uo(Da(r.getToken()),"userToken"),c=new ns(dY(u.getStore(),n),"user",({data:m,error:k,loading:S},I)=>{var E;if(!k)return(E=m==null?void 0:m.data)!=null&&E.id?m.data.id:S===!1?void 0:I}),p=new ns(mY(u.getStore(),n),"userSettings");return{userKey:i,userToken:u,user:c,userSettings:p}},vY=n=>{const r=new uo(Da(void 0),"providerStreamId"),i=new ns(uY(r.getStore(),n),"slStreamId",c=>c==null?void 0:c.data),u=new ns(cY(i.getAtomStore(),n),"streamSettings");return i.getAtomStore().listen(c=>{(c===""||c===void 0)&&u.getStore().mutate(void 0)}),{providerStreamId:r,slStreamId:i,streamSettings:u}},kY=n=>{const r=new uo(Da(void 0),"enabled"),i=new uo(Da(Gi.DISABLED),"status"),u=new ns(pY(r.getStore(),n),"organizationSettings",k=>{var S;return(S=k==null?void 0:k.data)==null?void 0:S.id}),c=new ns(hY(u.getAtomStore(),n),"organizationAdvertising"),p=yY(n),m=vY(n);return{enabled:r,status:i,providerStreamId:m.providerStreamId,slStreamId:m.slStreamId,streamSettings:m.streamSettings,user:p.user,userKey:p.userKey,userToken:p.userToken,userSettings:p.userSettings,organizationSettings:u,organizationAdvertising:c}};class bY extends o3{constructor(i){const u=kY(i),c=XQ(u);super(c,"core");Z(this,"stores");Z(this,"subscribe",i=>{let u;for(u in this.stores){const c=i[u];u in i&&c!==void 0&&this.stores[u].subscribe(i[u])}});Z(this,"unsubscribe",()=>this.getStore().off());this.stores=u}getValue(){throw new Error("Not implemented")}getValues(){return this.stores}setValue(){throw new Error("Not implemented")}}class TY extends s3{constructor(){super("deep-link-context",window.sessionStorage);Z(this,"get",this.read);Z(this,"set",this.write);Z(this,"del",this.remove)}}const TT="sldl",i3="sldl_uid",$w="sldl_eid",Hw="sldl_e_eid",SY=new Set([i3,$w,Hw]),ST=n=>{const r={},i={};for(const[u,c]of n)SY.has(u)?r[u]=c:i[u]=c;return{result:r,remain:i}},wY=({hash:n,search:r})=>{if(n&&n.includes(TT)){const i=new URLSearchParams(n.substr(1));return{hash:ST(i)}}if(r&&r.includes(TT)){const i=new URLSearchParams(r);return{search:ST(i)}}return null},wT=ff("deep_link"),Ws={debug:(...n)=>{wT.debug(...n),console.log(...n)},trace:(...n)=>{wT.trace(...n),console.log(...n)}},EY=(n,r)=>{const{hash:i,search:u}=window.location;if(Ws.debug({hash:i,search:u},"get deep link data from"),i||u){const c=wY({hash:i,search:u});if(Ws.debug(c,"parse deep link result"),c){const{hash:p,search:m}=c,{result:k,remain:S}=p||m;if(Object.keys(k).length!==0){n.setValue("data",k);const I=Object.keys(S).length!==0;if(p){let E="";I&&(E=`#${new URLSearchParams(S).toString()}`,Ws.debug({updatedHash:E},"update hash")),window.history.replaceState(null,"",window.location.pathname+window.location.search+E)}if(m){let E="";I&&(E=`?${new URLSearchParams(S).toString()}`,Ws.debug({updatedSearch:E},"update search")),window.history.replaceState(null,"",window.location.pathname+E+window.location.hash)}r(k)}}}n.setValue("parsed",!0)},CY=(n,r,i)=>{const u=new TY,c=u.get("sl-deep-link-store");let p={};if(c)try{p=JSON.parse(c)}catch(k){Ws.debug(k)}n.deepLink={$store:new nf(Zi(p),"deep-link-context"),getDeepLinkData:()=>{const{data:k,used:S}=n.deepLink.$store.getValues();return{data:k,used:S}},deepLinkUsed:k=>{Ws.debug(`logged in with inviterId: ${k}`),n.deepLink.$store.setValue("used",!0)},onDeepLinkHandlers:new Set},n.sdk.getInviter=()=>{const{data:k,used:S}=n.deepLink.getDeepLinkData();return S?k==null?void 0:k[i3]:void 0},n.sdk.inviteDisplayed=()=>{n.deepLink.$store.getStore().set({}),n.deepLink.$store.getStore().off(),u.del("sl-deep-link-store")},n.deepLink.$store.subscribe(k=>u.set("sl-deep-link-store",JSON.stringify(k))),n.sdk.addDeepLinkHandler=k=>{Ws.trace("adding deep link handler"),n.deepLink.onDeepLinkHandlers.add(k)},r.onDeepLinkHandled&&n.sdk.addDeepLinkHandler(r.onDeepLinkHandled),n.sdk.removeDeepLinkHandler=k=>{Ws.trace("removing deep link handler"),n.deepLink.onDeepLinkHandlers.delete(k)};const m=k=>{n.deepLink.$store.setValue("handled",!0),Ws.trace({size:n.deepLink.onDeepLinkHandlers.size},"deep link handled, call callbacks");for(const S of n.deepLink.onDeepLinkHandlers)try{Ws.trace("called handler"),S(k)}catch(I){console.error(I)}};EY(n.deepLink.$store,m),i()},_Y=ff("bypass");class RY extends JQ{constructor(i,u,c){super();Z(this,"$coreStore");Z(this,"deepLink");Z(this,"transport");Z(this,"bypassLogin");Z(this,"me",async()=>{var i;return this.$coreStore.getValues().user.invalidate(),(i=await this.$coreStore.getValues().user.getValue())==null?void 0:i.data});Z(this,"login",async(i,u)=>{var E,x,P;this.$coreStore.getValues().userKey.setValue(u);const{used:c,data:p}=this.deepLink.getDeepLinkData(),m=c?"":p==null?void 0:p[i3];_Y.debug({inviterKey:m},"login with inviterKey");const k=await this.bypassLogin({schema:i,userKey:u,inviterKey:m,init:!1}),S=(E=k.meta)==null?void 0:E.jwt,I=(x=k.data)==null?void 0:x.id;if(!S||!I)throw new Error("internal: token missing");return(P=k.meta)!=null&&P.inviterKey&&this.deepLink.deepLinkUsed(k.meta.inviterKey),this.$coreStore.getValues().user.getStore().mutate(k),this.saveUser(S,I),S});Z(this,"isAuthenticated",()=>this.me());Z(this,"logout",()=>{this.$coreStore.getValues().user.setValue(),this.$coreStore.getValues().userKey.setValue(),this.$coreStore.getValues().userToken.setValue(),this.transport.setAuth("",""),new Y1().clear()});Z(this,"softLogout",()=>{const i=new Y1;this.transport.setAuth("",""),i.setToken(""),this.reLogin()});Z(this,"reLogin",()=>{const i=new Y1,u=i.getToken(),c=i.getExternalToken();if(this.$coreStore.getValues().userKey.setValue(c),u)return this.saveUser(u,""),this.me().then(p=>{if(p!=null&&p.id){const m=p.id;this.saveUser(u,m)}});if(c&&!u){const p=i.getSchema();p&&c&&this.login(p,c).catch(()=>{this.logout()})}});Z(this,"saveUser",(i,u)=>{this.transport.setAuth(i,u),this.$coreStore.getValues().userToken.setValue(i),new Y1().setToken(i)});Z(this,"connect",()=>{this.transport.registerInterceptor(i=>async u=>{try{return await i(u)}catch(c){throw c.code&&(c.code===7||c.code===16)&&this.transport.getHeader("authorization")&&this.softLogout(),c}})});this.$coreStore=i,this.deepLink=c,this.transport=u,this.bypassLogin=fY(this.transport),this.connect()}}const Pp=new Y1,IY=(n,r,i)=>{n.auth=new RY(n.store,n.transport,n.deepLink),n.stores.status.listen(u=>{u===Gi.READY&&n.auth.reLogin()}),n.sdk.userId=n.stores.user.getAtomStore,n.sdk.authorizationBypass=async(u,c)=>{if(!(Pp.getSchema()===u&&Pp.getExternalToken()===c&&n.transport.getHeader("authorization")))try{await n.auth.login(u,c),Pp.setSchema(u),Pp.setExternalToken(c)}catch{n.sdk.logout()}},n.sdk.logout=()=>{n.auth.logout(),Pp.clear()},n.sdk.getUserStore=()=>n.stores.user.getStore(),n.sdk.isUserAuthorized=()=>n.auth.isAuthenticated(),i()},NY=(n,r,i)=>{n.store=new bY(n.transport),n.stores=n.store.getValues(),n.sdk.enabled=n.stores.enabled.getStore(),n.sdk.status=n.stores.status.getStore(),n.sdk.sdkStore=Object.fromEntries(Object.entries(n.stores).map(([u,c])=>[u,c.getStore()])),n.sdk.organizationStore=()=>n.stores.organizationSettings.getStore(),n.sdk.streamStore=()=>n.stores.streamSettings.getStore(),n.storeUnsubscribe=()=>{n.store.unsubscribe()},i()},ET=ff("video_player"),yg={debug:(...n)=>{ET.debug(...n),console.log(...n)},trace:(...n)=>{ET.trace(...n),console.log(...n)}},LY=(n,r,i)=>{n.videoPlayer={controllers:new Set},n.sdk.addVideoPlayerController=u=>{yg.trace("adding video player controller"),n.videoPlayer.controllers.add(u)},r.videoPlayerController&&n.sdk.addVideoPlayerController(r.videoPlayerController),n.sdk.removeVideoPlayerController=u=>{yg.trace("removing video player controller"),n.videoPlayer.controllers.delete(u)},n.sdk.controlVideoPlayer=u=>{yg.trace("controlling video player");for(const c of n.videoPlayer.controllers){yg.trace("calling video player controller");try{c(u)}catch(p){console.error(p)}}},i()},xY=(n,r,i)=>{n.sdk=Object.create(null),n.sdk.initializeApp=async u=>{if(n.contextConfig=u,n.stores.enabled.get()==="on")return{enabled:!0};n.storeSubscribe(),n.stores.enabled.setValue("on"),n.stores.status.setValue(Gi.INITIALIZATION);try{const c=await n.stores.organizationSettings.getValue();return c?(n.stores.status.setValue(Gi.READY),{enabled:!!c}):(n.stores.status.setValue(Gi.FAILED),{err:"failed"})}catch(c){return n.stores.enabled.setValue(),n.stores.status.setValue(Gi.FAILED),{err:`${c}`}}},n.sdk.disableApp=()=>{n.stores.enabled.get()==="on"&&(n.stores.enabled.setValue(),n.stores.status.setValue(Gi.DISABLED),n.stores.slStreamId.setValue(),n.stores.providerStreamId.setValue(),n.sdk.closeFeature(!0),n.storeUnsubscribe(),n.transport.disconnect())},n.sdk.createEventSession=u=>{n.stores.providerStreamId.setValue(u)},i()},OY=(n,r,i)=>{const{client:u,queryKey:c}=i.createPromiseClient(Uw,{method:"summary",params:[n,r]});return i.nanoquery.createFetcherStore(c,{fetcher:async(p,m,k,S)=>{var I;return(I=(await u.summary({eventId:k,userId:S})).data)==null?void 0:I.attributes}})},AY=n=>{const{client:r}=n.createPromiseClient(Uw,{method:"list"});return i=>r.list(i)},PY=(n,r)=>{const{client:i,queryKey:u}=r.createPromiseClient(I9,{method:"getFriends",params:[n]});return r.nanoquery.createFetcherStore(u,{fetcher:async(c,p,m)=>m?(await i.getFriends({})).data:[]})},MY=(n,r)=>{const{client:i,queryKey:u}=r.createPromiseClient(nl,{method:"get",params:[n]});return r.nanoquery.createFetcherStore(u,{fetcher:async(c,p,m)=>{var k;return(k=(await i.get({eventId:m})).data)==null?void 0:k.attributes}})},DY=(n,r)=>{const{client:i,queryKey:u}=r.createPromiseClient(nl,{method:"syncQuestion",params:[n]});return r.nanoquery.createFetcherStore(u,{fetcher:async(c,p,m)=>{var k;return m?(k=(await i.syncQuestion({filter:{eventId:m}})).data)==null?void 0:k.attributes:void 0}})},UY=(n,r)=>{const{client:i}=r.createStreamClient(nl),u=iu({eventId:n.get()||"",feedId:""});return n.subscribe((c="")=>{u.set({eventId:c,feedId:""})}),r.addSubscription(i.subscription,u,{name:"feedSubscription"})},FY=(n,r)=>{const{client:i}=r.createStreamClient(nl);return r.addSubscription(i.questionSubscription,{questionId:n},{name:"questionSubscription"})},Gw=async(n,r)=>{var u,c;const{client:i}=r.createPromiseClient(nl,{method:"questionByUser",params:[n]});return(c=(u=(await i.questionByUser({questionId:n})).data)==null?void 0:u.attributes)==null?void 0:c.question},jY=(n,r,i)=>{const{client:u,queryKey:c}=i.createPromiseClient(nl,{method:"list",params:[n,r]});return i.nanoquery.createFetcherStore(c,{fetcher:async(p,m,k,S)=>k?(await u.list({eventId:k,filter:{types:S===Ac.ALLOWED?[]:[$e.FACTOID,$e.PROMOTION,$e.TWEET],statuses:[Xn.ACTIVE,Xn.RESOLVED]}})).data:[]})};var qw={},l3={};l3.byteLength=zY;l3.toByteArray=HY;l3.fromByteArray=WY;var Ys=[],Co=[],VY=typeof Uint8Array<"u"?Uint8Array:Array,d4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var H1=0,BY=d4.length;H1<BY;++H1)Ys[H1]=d4[H1],Co[d4.charCodeAt(H1)]=H1;Co[45]=62;Co[95]=63;function Ww(n){var r=n.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=n.indexOf("=");i===-1&&(i=r);var u=i===r?0:4-i%4;return[i,u]}function zY(n){var r=Ww(n),i=r[0],u=r[1];return(i+u)*3/4-u}function $Y(n,r,i){return(r+i)*3/4-i}function HY(n){var r,i=Ww(n),u=i[0],c=i[1],p=new VY($Y(n,u,c)),m=0,k=c>0?u-4:u,S;for(S=0;S<k;S+=4)r=Co[n.charCodeAt(S)]<<18|Co[n.charCodeAt(S+1)]<<12|Co[n.charCodeAt(S+2)]<<6|Co[n.charCodeAt(S+3)],p[m++]=r>>16&255,p[m++]=r>>8&255,p[m++]=r&255;return c===2&&(r=Co[n.charCodeAt(S)]<<2|Co[n.charCodeAt(S+1)]>>4,p[m++]=r&255),c===1&&(r=Co[n.charCodeAt(S)]<<10|Co[n.charCodeAt(S+1)]<<4|Co[n.charCodeAt(S+2)]>>2,p[m++]=r>>8&255,p[m++]=r&255),p}function GY(n){return Ys[n>>18&63]+Ys[n>>12&63]+Ys[n>>6&63]+Ys[n&63]}function qY(n,r,i){for(var u,c=[],p=r;p<i;p+=3)u=(n[p]<<16&16711680)+(n[p+1]<<8&65280)+(n[p+2]&255),c.push(GY(u));return c.join("")}function WY(n){for(var r,i=n.length,u=i%3,c=[],p=16383,m=0,k=i-u;m<k;m+=p)c.push(qY(n,m,m+p>k?k:m+p));return u===1?(r=n[i-1],c.push(Ys[r>>2]+Ys[r<<4&63]+"==")):u===2&&(r=(n[i-2]<<8)+n[i-1],c.push(Ys[r>>10]+Ys[r>>4&63]+Ys[r<<2&63]+"=")),c.join("")}var L9={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */L9.read=function(n,r,i,u,c){var p,m,k=c*8-u-1,S=(1<<k)-1,I=S>>1,E=-7,x=i?c-1:0,P=i?-1:1,A=n[r+x];for(x+=P,p=A&(1<<-E)-1,A>>=-E,E+=k;E>0;p=p*256+n[r+x],x+=P,E-=8);for(m=p&(1<<-E)-1,p>>=-E,E+=u;E>0;m=m*256+n[r+x],x+=P,E-=8);if(p===0)p=1-I;else{if(p===S)return m?NaN:(A?-1:1)*(1/0);m=m+Math.pow(2,u),p=p-I}return(A?-1:1)*m*Math.pow(2,p-u)};L9.write=function(n,r,i,u,c,p){var m,k,S,I=p*8-c-1,E=(1<<I)-1,x=E>>1,P=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,A=u?0:p-1,F=u?1:-1,V=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(k=isNaN(r)?1:0,m=E):(m=Math.floor(Math.log(r)/Math.LN2),r*(S=Math.pow(2,-m))<1&&(m--,S*=2),m+x>=1?r+=P/S:r+=P*Math.pow(2,1-x),r*S>=2&&(m++,S/=2),m+x>=E?(k=0,m=E):m+x>=1?(k=(r*S-1)*Math.pow(2,c),m=m+x):(k=r*Math.pow(2,x-1)*Math.pow(2,c),m=0));c>=8;n[i+A]=k&255,A+=F,k/=256,c-=8);for(m=m<<c|k,I+=c;I>0;n[i+A]=m&255,A+=F,m/=256,I-=8);n[i+A-F]|=V*128};/*!
182
+ * The buffer module from node.js, for the browser.
183
+ *
184
+ * @author Feross Aboukhadijeh <https://feross.org>
185
+ * @license MIT
186
+ */(function(n){const r=l3,i=L9,u=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=E,n.SlowBuffer=ie,n.INSPECT_MAX_BYTES=50;const c=2147483647;n.kMaxLength=c;const{Uint8Array:p,ArrayBuffer:m,SharedArrayBuffer:k}=globalThis;E.TYPED_ARRAY_SUPPORT=S(),!E.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function S(){try{const y=new p(1),C={foo:function(){return 42}};return Object.setPrototypeOf(C,p.prototype),Object.setPrototypeOf(y,C),y.foo()===42}catch{return!1}}Object.defineProperty(E.prototype,"parent",{enumerable:!0,get:function(){if(E.isBuffer(this))return this.buffer}}),Object.defineProperty(E.prototype,"offset",{enumerable:!0,get:function(){if(E.isBuffer(this))return this.byteOffset}});function I(y){if(y>c)throw new RangeError('The value "'+y+'" is invalid for option "size"');const C=new p(y);return Object.setPrototypeOf(C,E.prototype),C}function E(y,C,L){if(typeof y=="number"){if(typeof C=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return F(y)}return x(y,C,L)}E.poolSize=8192;function x(y,C,L){if(typeof y=="string")return V(y,C);if(m.isView(y))return B(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(dn(y,m)||y&&dn(y.buffer,m)||typeof k<"u"&&(dn(y,k)||y&&dn(y.buffer,k)))return H(y,C,L);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const z=y.valueOf&&y.valueOf();if(z!=null&&z!==y)return E.from(z,C,L);const K=X(y);if(K)return K;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return E.from(y[Symbol.toPrimitive]("string"),C,L);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}E.from=function(y,C,L){return x(y,C,L)},Object.setPrototypeOf(E.prototype,p.prototype),Object.setPrototypeOf(E,p);function P(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}function A(y,C,L){return P(y),y<=0?I(y):C!==void 0?typeof L=="string"?I(y).fill(C,L):I(y).fill(C):I(y)}E.alloc=function(y,C,L){return A(y,C,L)};function F(y){return P(y),I(y<0?0:ee(y)|0)}E.allocUnsafe=function(y){return F(y)},E.allocUnsafeSlow=function(y){return F(y)};function V(y,C){if((typeof C!="string"||C==="")&&(C="utf8"),!E.isEncoding(C))throw new TypeError("Unknown encoding: "+C);const L=fe(y,C)|0;let z=I(L);const K=z.write(y,C);return K!==L&&(z=z.slice(0,K)),z}function $(y){const C=y.length<0?0:ee(y.length)|0,L=I(C);for(let z=0;z<C;z+=1)L[z]=y[z]&255;return L}function B(y){if(dn(y,p)){const C=new p(y);return H(C.buffer,C.byteOffset,C.byteLength)}return $(y)}function H(y,C,L){if(C<0||y.byteLength<C)throw new RangeError('"offset" is outside of buffer bounds');if(y.byteLength<C+(L||0))throw new RangeError('"length" is outside of buffer bounds');let z;return C===void 0&&L===void 0?z=new p(y):L===void 0?z=new p(y,C):z=new p(y,C,L),Object.setPrototypeOf(z,E.prototype),z}function X(y){if(E.isBuffer(y)){const C=ee(y.length)|0,L=I(C);return L.length===0||y.copy(L,0,0,C),L}if(y.length!==void 0)return typeof y.length!="number"||Tr(y.length)?I(0):$(y);if(y.type==="Buffer"&&Array.isArray(y.data))return $(y.data)}function ee(y){if(y>=c)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c.toString(16)+" bytes");return y|0}function ie(y){return+y!=y&&(y=0),E.alloc(+y)}E.isBuffer=function(y){return y!=null&&y._isBuffer===!0&&y!==E.prototype},E.compare=function(y,C){if(dn(y,p)&&(y=E.from(y,y.offset,y.byteLength)),dn(C,p)&&(C=E.from(C,C.offset,C.byteLength)),!E.isBuffer(y)||!E.isBuffer(C))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(y===C)return 0;let L=y.length,z=C.length;for(let K=0,de=Math.min(L,z);K<de;++K)if(y[K]!==C[K]){L=y[K],z=C[K];break}return L<z?-1:z<L?1:0},E.isEncoding=function(y){switch(String(y).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},E.concat=function(y,C){if(!Array.isArray(y))throw new TypeError('"list" argument must be an Array of Buffers');if(y.length===0)return E.alloc(0);let L;if(C===void 0)for(C=0,L=0;L<y.length;++L)C+=y[L].length;const z=E.allocUnsafe(C);let K=0;for(L=0;L<y.length;++L){let de=y[L];if(dn(de,p))K+de.length>z.length?(E.isBuffer(de)||(de=E.from(de)),de.copy(z,K)):p.prototype.set.call(z,de,K);else if(E.isBuffer(de))de.copy(z,K);else throw new TypeError('"list" argument must be an Array of Buffers');K+=de.length}return z};function fe(y,C){if(E.isBuffer(y))return y.length;if(m.isView(y)||dn(y,m))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);const L=y.length,z=arguments.length>2&&arguments[2]===!0;if(!z&&L===0)return 0;let K=!1;for(;;)switch(C){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":return er(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L*2;case"hex":return L>>>1;case"base64":return qr(y).length;default:if(K)return z?-1:er(y).length;C=(""+C).toLowerCase(),K=!0}}E.byteLength=fe;function ce(y,C,L){let z=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0,C>>>=0,L<=C))return"";for(y||(y="utf8");;)switch(y){case"hex":return Y(this,C,L);case"utf8":case"utf-8":return In(this,C,L);case"ascii":return Ne(this,C,L);case"latin1":case"binary":return Ge(this,C,L);case"base64":return xt(this,C,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pe(this,C,L);default:if(z)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),z=!0}}E.prototype._isBuffer=!0;function Le(y,C,L){const z=y[C];y[C]=y[L],y[L]=z}E.prototype.swap16=function(){const y=this.length;if(y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let C=0;C<y;C+=2)Le(this,C,C+1);return this},E.prototype.swap32=function(){const y=this.length;if(y%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let C=0;C<y;C+=4)Le(this,C,C+3),Le(this,C+1,C+2);return this},E.prototype.swap64=function(){const y=this.length;if(y%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let C=0;C<y;C+=8)Le(this,C,C+7),Le(this,C+1,C+6),Le(this,C+2,C+5),Le(this,C+3,C+4);return this},E.prototype.toString=function(){const y=this.length;return y===0?"":arguments.length===0?In(this,0,y):ce.apply(this,arguments)},E.prototype.toLocaleString=E.prototype.toString,E.prototype.equals=function(y){if(!E.isBuffer(y))throw new TypeError("Argument must be a Buffer");return this===y?!0:E.compare(this,y)===0},E.prototype.inspect=function(){let y="";const C=n.INSPECT_MAX_BYTES;return y=this.toString("hex",0,C).replace(/(.{2})/g,"$1 ").trim(),this.length>C&&(y+=" ... "),"<Buffer "+y+">"},u&&(E.prototype[u]=E.prototype.inspect),E.prototype.compare=function(y,C,L,z,K){if(dn(y,p)&&(y=E.from(y,y.offset,y.byteLength)),!E.isBuffer(y))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof y);if(C===void 0&&(C=0),L===void 0&&(L=y?y.length:0),z===void 0&&(z=0),K===void 0&&(K=this.length),C<0||L>y.length||z<0||K>this.length)throw new RangeError("out of range index");if(z>=K&&C>=L)return 0;if(z>=K)return-1;if(C>=L)return 1;if(C>>>=0,L>>>=0,z>>>=0,K>>>=0,this===y)return 0;let de=K-z,Te=L-C;const St=Math.min(de,Te),wt=this.slice(z,K),It=y.slice(C,L);for(let Dt=0;Dt<St;++Dt)if(wt[Dt]!==It[Dt]){de=wt[Dt],Te=It[Dt];break}return de<Te?-1:Te<de?1:0};function _e(y,C,L,z,K){if(y.length===0)return-1;if(typeof L=="string"?(z=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,Tr(L)&&(L=K?0:y.length-1),L<0&&(L=y.length+L),L>=y.length){if(K)return-1;L=y.length-1}else if(L<0)if(K)L=0;else return-1;if(typeof C=="string"&&(C=E.from(C,z)),E.isBuffer(C))return C.length===0?-1:Qe(y,C,L,z,K);if(typeof C=="number")return C=C&255,typeof p.prototype.indexOf=="function"?K?p.prototype.indexOf.call(y,C,L):p.prototype.lastIndexOf.call(y,C,L):Qe(y,[C],L,z,K);throw new TypeError("val must be string, number or Buffer")}function Qe(y,C,L,z,K){let de=1,Te=y.length,St=C.length;if(z!==void 0&&(z=String(z).toLowerCase(),z==="ucs2"||z==="ucs-2"||z==="utf16le"||z==="utf-16le")){if(y.length<2||C.length<2)return-1;de=2,Te/=2,St/=2,L/=2}function wt(Dt,kt){return de===1?Dt[kt]:Dt.readUInt16BE(kt*de)}let It;if(K){let Dt=-1;for(It=L;It<Te;It++)if(wt(y,It)===wt(C,Dt===-1?0:It-Dt)){if(Dt===-1&&(Dt=It),It-Dt+1===St)return Dt*de}else Dt!==-1&&(It-=It-Dt),Dt=-1}else for(L+St>Te&&(L=Te-St),It=L;It>=0;It--){let Dt=!0;for(let kt=0;kt<St;kt++)if(wt(y,It+kt)!==wt(C,kt)){Dt=!1;break}if(Dt)return It}return-1}E.prototype.includes=function(y,C,L){return this.indexOf(y,C,L)!==-1},E.prototype.indexOf=function(y,C,L){return _e(this,y,C,L,!0)},E.prototype.lastIndexOf=function(y,C,L){return _e(this,y,C,L,!1)};function Be(y,C,L,z){L=Number(L)||0;const K=y.length-L;z?(z=Number(z),z>K&&(z=K)):z=K;const de=C.length;z>de/2&&(z=de/2);let Te;for(Te=0;Te<z;++Te){const St=parseInt(C.substr(Te*2,2),16);if(Tr(St))return Te;y[L+Te]=St}return Te}function it(y,C,L,z){return br(er(C,y.length-L),y,L,z)}function He(y,C,L,z){return br(kr(C),y,L,z)}function et(y,C,L,z){return br(qr(C),y,L,z)}function Lt(y,C,L,z){return br(Gr(C,y.length-L),y,L,z)}E.prototype.write=function(y,C,L,z){if(C===void 0)z="utf8",L=this.length,C=0;else if(L===void 0&&typeof C=="string")z=C,L=this.length,C=0;else if(isFinite(C))C=C>>>0,isFinite(L)?(L=L>>>0,z===void 0&&(z="utf8")):(z=L,L=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const K=this.length-C;if((L===void 0||L>K)&&(L=K),y.length>0&&(L<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");z||(z="utf8");let de=!1;for(;;)switch(z){case"hex":return Be(this,y,C,L);case"utf8":case"utf-8":return it(this,y,C,L);case"ascii":case"latin1":case"binary":return He(this,y,C,L);case"base64":return et(this,y,C,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lt(this,y,C,L);default:if(de)throw new TypeError("Unknown encoding: "+z);z=(""+z).toLowerCase(),de=!0}},E.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xt(y,C,L){return C===0&&L===y.length?r.fromByteArray(y):r.fromByteArray(y.slice(C,L))}function In(y,C,L){L=Math.min(y.length,L);const z=[];let K=C;for(;K<L;){const de=y[K];let Te=null,St=de>239?4:de>223?3:de>191?2:1;if(K+St<=L){let wt,It,Dt,kt;switch(St){case 1:de<128&&(Te=de);break;case 2:wt=y[K+1],(wt&192)===128&&(kt=(de&31)<<6|wt&63,kt>127&&(Te=kt));break;case 3:wt=y[K+1],It=y[K+2],(wt&192)===128&&(It&192)===128&&(kt=(de&15)<<12|(wt&63)<<6|It&63,kt>2047&&(kt<55296||kt>57343)&&(Te=kt));break;case 4:wt=y[K+1],It=y[K+2],Dt=y[K+3],(wt&192)===128&&(It&192)===128&&(Dt&192)===128&&(kt=(de&15)<<18|(wt&63)<<12|(It&63)<<6|Dt&63,kt>65535&&kt<1114112&&(Te=kt))}}Te===null?(Te=65533,St=1):Te>65535&&(Te-=65536,z.push(Te>>>10&1023|55296),Te=56320|Te&1023),z.push(Te),K+=St}return je(z)}const Re=4096;function je(y){const C=y.length;if(C<=Re)return String.fromCharCode.apply(String,y);let L="",z=0;for(;z<C;)L+=String.fromCharCode.apply(String,y.slice(z,z+=Re));return L}function Ne(y,C,L){let z="";L=Math.min(y.length,L);for(let K=C;K<L;++K)z+=String.fromCharCode(y[K]&127);return z}function Ge(y,C,L){let z="";L=Math.min(y.length,L);for(let K=C;K<L;++K)z+=String.fromCharCode(y[K]);return z}function Y(y,C,L){const z=y.length;(!C||C<0)&&(C=0),(!L||L<0||L>z)&&(L=z);let K="";for(let de=C;de<L;++de)K+=Sa[y[de]];return K}function pe(y,C,L){const z=y.slice(C,L);let K="";for(let de=0;de<z.length-1;de+=2)K+=String.fromCharCode(z[de]+z[de+1]*256);return K}E.prototype.slice=function(y,C){const L=this.length;y=~~y,C=C===void 0?L:~~C,y<0?(y+=L,y<0&&(y=0)):y>L&&(y=L),C<0?(C+=L,C<0&&(C=0)):C>L&&(C=L),C<y&&(C=y);const z=this.subarray(y,C);return Object.setPrototypeOf(z,E.prototype),z};function ve(y,C,L){if(y%1!==0||y<0)throw new RangeError("offset is not uint");if(y+C>L)throw new RangeError("Trying to access beyond buffer length")}E.prototype.readUintLE=E.prototype.readUIntLE=function(y,C,L){y=y>>>0,C=C>>>0,L||ve(y,C,this.length);let z=this[y],K=1,de=0;for(;++de<C&&(K*=256);)z+=this[y+de]*K;return z},E.prototype.readUintBE=E.prototype.readUIntBE=function(y,C,L){y=y>>>0,C=C>>>0,L||ve(y,C,this.length);let z=this[y+--C],K=1;for(;C>0&&(K*=256);)z+=this[y+--C]*K;return z},E.prototype.readUint8=E.prototype.readUInt8=function(y,C){return y=y>>>0,C||ve(y,1,this.length),this[y]},E.prototype.readUint16LE=E.prototype.readUInt16LE=function(y,C){return y=y>>>0,C||ve(y,2,this.length),this[y]|this[y+1]<<8},E.prototype.readUint16BE=E.prototype.readUInt16BE=function(y,C){return y=y>>>0,C||ve(y,2,this.length),this[y]<<8|this[y+1]},E.prototype.readUint32LE=E.prototype.readUInt32LE=function(y,C){return y=y>>>0,C||ve(y,4,this.length),(this[y]|this[y+1]<<8|this[y+2]<<16)+this[y+3]*16777216},E.prototype.readUint32BE=E.prototype.readUInt32BE=function(y,C){return y=y>>>0,C||ve(y,4,this.length),this[y]*16777216+(this[y+1]<<16|this[y+2]<<8|this[y+3])},E.prototype.readBigUInt64LE=Dn(function(y){y=y>>>0,Tn(y,"offset");const C=this[y],L=this[y+7];(C===void 0||L===void 0)&&Nn(y,this.length-8);const z=C+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24,K=this[++y]+this[++y]*2**8+this[++y]*2**16+L*2**24;return BigInt(z)+(BigInt(K)<<BigInt(32))}),E.prototype.readBigUInt64BE=Dn(function(y){y=y>>>0,Tn(y,"offset");const C=this[y],L=this[y+7];(C===void 0||L===void 0)&&Nn(y,this.length-8);const z=C*2**24+this[++y]*2**16+this[++y]*2**8+this[++y],K=this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+L;return(BigInt(z)<<BigInt(32))+BigInt(K)}),E.prototype.readIntLE=function(y,C,L){y=y>>>0,C=C>>>0,L||ve(y,C,this.length);let z=this[y],K=1,de=0;for(;++de<C&&(K*=256);)z+=this[y+de]*K;return K*=128,z>=K&&(z-=Math.pow(2,8*C)),z},E.prototype.readIntBE=function(y,C,L){y=y>>>0,C=C>>>0,L||ve(y,C,this.length);let z=C,K=1,de=this[y+--z];for(;z>0&&(K*=256);)de+=this[y+--z]*K;return K*=128,de>=K&&(de-=Math.pow(2,8*C)),de},E.prototype.readInt8=function(y,C){return y=y>>>0,C||ve(y,1,this.length),this[y]&128?(255-this[y]+1)*-1:this[y]},E.prototype.readInt16LE=function(y,C){y=y>>>0,C||ve(y,2,this.length);const L=this[y]|this[y+1]<<8;return L&32768?L|4294901760:L},E.prototype.readInt16BE=function(y,C){y=y>>>0,C||ve(y,2,this.length);const L=this[y+1]|this[y]<<8;return L&32768?L|4294901760:L},E.prototype.readInt32LE=function(y,C){return y=y>>>0,C||ve(y,4,this.length),this[y]|this[y+1]<<8|this[y+2]<<16|this[y+3]<<24},E.prototype.readInt32BE=function(y,C){return y=y>>>0,C||ve(y,4,this.length),this[y]<<24|this[y+1]<<16|this[y+2]<<8|this[y+3]},E.prototype.readBigInt64LE=Dn(function(y){y=y>>>0,Tn(y,"offset");const C=this[y],L=this[y+7];(C===void 0||L===void 0)&&Nn(y,this.length-8);const z=this[y+4]+this[y+5]*2**8+this[y+6]*2**16+(L<<24);return(BigInt(z)<<BigInt(32))+BigInt(C+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24)}),E.prototype.readBigInt64BE=Dn(function(y){y=y>>>0,Tn(y,"offset");const C=this[y],L=this[y+7];(C===void 0||L===void 0)&&Nn(y,this.length-8);const z=(C<<24)+this[++y]*2**16+this[++y]*2**8+this[++y];return(BigInt(z)<<BigInt(32))+BigInt(this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+L)}),E.prototype.readFloatLE=function(y,C){return y=y>>>0,C||ve(y,4,this.length),i.read(this,y,!0,23,4)},E.prototype.readFloatBE=function(y,C){return y=y>>>0,C||ve(y,4,this.length),i.read(this,y,!1,23,4)},E.prototype.readDoubleLE=function(y,C){return y=y>>>0,C||ve(y,8,this.length),i.read(this,y,!0,52,8)},E.prototype.readDoubleBE=function(y,C){return y=y>>>0,C||ve(y,8,this.length),i.read(this,y,!1,52,8)};function Ve(y,C,L,z,K,de){if(!E.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>K||C<de)throw new RangeError('"value" argument is out of bounds');if(L+z>y.length)throw new RangeError("Index out of range")}E.prototype.writeUintLE=E.prototype.writeUIntLE=function(y,C,L,z){if(y=+y,C=C>>>0,L=L>>>0,!z){const Te=Math.pow(2,8*L)-1;Ve(this,y,C,L,Te,0)}let K=1,de=0;for(this[C]=y&255;++de<L&&(K*=256);)this[C+de]=y/K&255;return C+L},E.prototype.writeUintBE=E.prototype.writeUIntBE=function(y,C,L,z){if(y=+y,C=C>>>0,L=L>>>0,!z){const Te=Math.pow(2,8*L)-1;Ve(this,y,C,L,Te,0)}let K=L-1,de=1;for(this[C+K]=y&255;--K>=0&&(de*=256);)this[C+K]=y/de&255;return C+L},E.prototype.writeUint8=E.prototype.writeUInt8=function(y,C,L){return y=+y,C=C>>>0,L||Ve(this,y,C,1,255,0),this[C]=y&255,C+1},E.prototype.writeUint16LE=E.prototype.writeUInt16LE=function(y,C,L){return y=+y,C=C>>>0,L||Ve(this,y,C,2,65535,0),this[C]=y&255,this[C+1]=y>>>8,C+2},E.prototype.writeUint16BE=E.prototype.writeUInt16BE=function(y,C,L){return y=+y,C=C>>>0,L||Ve(this,y,C,2,65535,0),this[C]=y>>>8,this[C+1]=y&255,C+2},E.prototype.writeUint32LE=E.prototype.writeUInt32LE=function(y,C,L){return y=+y,C=C>>>0,L||Ve(this,y,C,4,4294967295,0),this[C+3]=y>>>24,this[C+2]=y>>>16,this[C+1]=y>>>8,this[C]=y&255,C+4},E.prototype.writeUint32BE=E.prototype.writeUInt32BE=function(y,C,L){return y=+y,C=C>>>0,L||Ve(this,y,C,4,4294967295,0),this[C]=y>>>24,this[C+1]=y>>>16,this[C+2]=y>>>8,this[C+3]=y&255,C+4};function ht(y,C,L,z,K){Mn(C,z,K,y,L,7);let de=Number(C&BigInt(4294967295));y[L++]=de,de=de>>8,y[L++]=de,de=de>>8,y[L++]=de,de=de>>8,y[L++]=de;let Te=Number(C>>BigInt(32)&BigInt(4294967295));return y[L++]=Te,Te=Te>>8,y[L++]=Te,Te=Te>>8,y[L++]=Te,Te=Te>>8,y[L++]=Te,L}function gt(y,C,L,z,K){Mn(C,z,K,y,L,7);let de=Number(C&BigInt(4294967295));y[L+7]=de,de=de>>8,y[L+6]=de,de=de>>8,y[L+5]=de,de=de>>8,y[L+4]=de;let Te=Number(C>>BigInt(32)&BigInt(4294967295));return y[L+3]=Te,Te=Te>>8,y[L+2]=Te,Te=Te>>8,y[L+1]=Te,Te=Te>>8,y[L]=Te,L+8}E.prototype.writeBigUInt64LE=Dn(function(y,C=0){return ht(this,y,C,BigInt(0),BigInt("0xffffffffffffffff"))}),E.prototype.writeBigUInt64BE=Dn(function(y,C=0){return gt(this,y,C,BigInt(0),BigInt("0xffffffffffffffff"))}),E.prototype.writeIntLE=function(y,C,L,z){if(y=+y,C=C>>>0,!z){const St=Math.pow(2,8*L-1);Ve(this,y,C,L,St-1,-St)}let K=0,de=1,Te=0;for(this[C]=y&255;++K<L&&(de*=256);)y<0&&Te===0&&this[C+K-1]!==0&&(Te=1),this[C+K]=(y/de>>0)-Te&255;return C+L},E.prototype.writeIntBE=function(y,C,L,z){if(y=+y,C=C>>>0,!z){const St=Math.pow(2,8*L-1);Ve(this,y,C,L,St-1,-St)}let K=L-1,de=1,Te=0;for(this[C+K]=y&255;--K>=0&&(de*=256);)y<0&&Te===0&&this[C+K+1]!==0&&(Te=1),this[C+K]=(y/de>>0)-Te&255;return C+L},E.prototype.writeInt8=function(y,C,L){return y=+y,C=C>>>0,L||Ve(this,y,C,1,127,-128),y<0&&(y=255+y+1),this[C]=y&255,C+1},E.prototype.writeInt16LE=function(y,C,L){return y=+y,C=C>>>0,L||Ve(this,y,C,2,32767,-32768),this[C]=y&255,this[C+1]=y>>>8,C+2},E.prototype.writeInt16BE=function(y,C,L){return y=+y,C=C>>>0,L||Ve(this,y,C,2,32767,-32768),this[C]=y>>>8,this[C+1]=y&255,C+2},E.prototype.writeInt32LE=function(y,C,L){return y=+y,C=C>>>0,L||Ve(this,y,C,4,2147483647,-2147483648),this[C]=y&255,this[C+1]=y>>>8,this[C+2]=y>>>16,this[C+3]=y>>>24,C+4},E.prototype.writeInt32BE=function(y,C,L){return y=+y,C=C>>>0,L||Ve(this,y,C,4,2147483647,-2147483648),y<0&&(y=4294967295+y+1),this[C]=y>>>24,this[C+1]=y>>>16,this[C+2]=y>>>8,this[C+3]=y&255,C+4},E.prototype.writeBigInt64LE=Dn(function(y,C=0){return ht(this,y,C,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),E.prototype.writeBigInt64BE=Dn(function(y,C=0){return gt(this,y,C,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ot(y,C,L,z,K,de){if(L+z>y.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function ft(y,C,L,z,K){return C=+C,L=L>>>0,K||ot(y,C,L,4),i.write(y,C,L,z,23,4),L+4}E.prototype.writeFloatLE=function(y,C,L){return ft(this,y,C,!0,L)},E.prototype.writeFloatBE=function(y,C,L){return ft(this,y,C,!1,L)};function Rt(y,C,L,z,K){return C=+C,L=L>>>0,K||ot(y,C,L,8),i.write(y,C,L,z,52,8),L+8}E.prototype.writeDoubleLE=function(y,C,L){return Rt(this,y,C,!0,L)},E.prototype.writeDoubleBE=function(y,C,L){return Rt(this,y,C,!1,L)},E.prototype.copy=function(y,C,L,z){if(!E.isBuffer(y))throw new TypeError("argument should be a Buffer");if(L||(L=0),!z&&z!==0&&(z=this.length),C>=y.length&&(C=y.length),C||(C=0),z>0&&z<L&&(z=L),z===L||y.length===0||this.length===0)return 0;if(C<0)throw new RangeError("targetStart out of bounds");if(L<0||L>=this.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("sourceEnd out of bounds");z>this.length&&(z=this.length),y.length-C<z-L&&(z=y.length-C+L);const K=z-L;return this===y&&typeof p.prototype.copyWithin=="function"?this.copyWithin(C,L,z):p.prototype.set.call(y,this.subarray(L,z),C),K},E.prototype.fill=function(y,C,L,z){if(typeof y=="string"){if(typeof C=="string"?(z=C,C=0,L=this.length):typeof L=="string"&&(z=L,L=this.length),z!==void 0&&typeof z!="string")throw new TypeError("encoding must be a string");if(typeof z=="string"&&!E.isEncoding(z))throw new TypeError("Unknown encoding: "+z);if(y.length===1){const de=y.charCodeAt(0);(z==="utf8"&&de<128||z==="latin1")&&(y=de)}}else typeof y=="number"?y=y&255:typeof y=="boolean"&&(y=Number(y));if(C<0||this.length<C||this.length<L)throw new RangeError("Out of range index");if(L<=C)return this;C=C>>>0,L=L===void 0?this.length:L>>>0,y||(y=0);let K;if(typeof y=="number")for(K=C;K<L;++K)this[K]=y;else{const de=E.isBuffer(y)?y:E.from(y,z),Te=de.length;if(Te===0)throw new TypeError('The value "'+y+'" is invalid for argument "value"');for(K=0;K<L-C;++K)this[K+C]=de[K%Te]}return this};const zt={};function bn(y,C,L){zt[y]=class extends L{constructor(){super(),Object.defineProperty(this,"message",{value:C.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${y}]`,this.stack,delete this.name}get code(){return y}set code(z){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:z,writable:!0})}toString(){return`${this.name} [${y}]: ${this.message}`}}}bn("ERR_BUFFER_OUT_OF_BOUNDS",function(y){return y?`${y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),bn("ERR_INVALID_ARG_TYPE",function(y,C){return`The "${y}" argument must be of type number. Received type ${typeof C}`},TypeError),bn("ERR_OUT_OF_RANGE",function(y,C,L){let z=`The value of "${y}" is out of range.`,K=L;return Number.isInteger(L)&&Math.abs(L)>2**32?K=Yt(String(L)):typeof L=="bigint"&&(K=String(L),(L>BigInt(2)**BigInt(32)||L<-(BigInt(2)**BigInt(32)))&&(K=Yt(K)),K+="n"),z+=` It must be ${C}. Received ${K}`,z},RangeError);function Yt(y){let C="",L=y.length;const z=y[0]==="-"?1:0;for(;L>=z+4;L-=3)C=`_${y.slice(L-3,L)}${C}`;return`${y.slice(0,L)}${C}`}function cn(y,C,L){Tn(C,"offset"),(y[C]===void 0||y[C+L]===void 0)&&Nn(C,y.length-(L+1))}function Mn(y,C,L,z,K,de){if(y>L||y<C){const Te=typeof C=="bigint"?"n":"";let St;throw de>3?C===0||C===BigInt(0)?St=`>= 0${Te} and < 2${Te} ** ${(de+1)*8}${Te}`:St=`>= -(2${Te} ** ${(de+1)*8-1}${Te}) and < 2 ** ${(de+1)*8-1}${Te}`:St=`>= ${C}${Te} and <= ${L}${Te}`,new zt.ERR_OUT_OF_RANGE("value",St,y)}cn(z,K,de)}function Tn(y,C){if(typeof y!="number")throw new zt.ERR_INVALID_ARG_TYPE(C,"number",y)}function Nn(y,C,L){throw Math.floor(y)!==y?(Tn(y,L),new zt.ERR_OUT_OF_RANGE(L||"offset","an integer",y)):C<0?new zt.ERR_BUFFER_OUT_OF_BOUNDS:new zt.ERR_OUT_OF_RANGE(L||"offset",`>= ${L?1:0} and <= ${C}`,y)}const Xa=/[^+/0-9A-Za-z-_]/g;function ke(y){if(y=y.split("=")[0],y=y.trim().replace(Xa,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}function er(y,C){C=C||1/0;let L;const z=y.length;let K=null;const de=[];for(let Te=0;Te<z;++Te){if(L=y.charCodeAt(Te),L>55295&&L<57344){if(!K){if(L>56319){(C-=3)>-1&&de.push(239,191,189);continue}else if(Te+1===z){(C-=3)>-1&&de.push(239,191,189);continue}K=L;continue}if(L<56320){(C-=3)>-1&&de.push(239,191,189),K=L;continue}L=(K-55296<<10|L-56320)+65536}else K&&(C-=3)>-1&&de.push(239,191,189);if(K=null,L<128){if((C-=1)<0)break;de.push(L)}else if(L<2048){if((C-=2)<0)break;de.push(L>>6|192,L&63|128)}else if(L<65536){if((C-=3)<0)break;de.push(L>>12|224,L>>6&63|128,L&63|128)}else if(L<1114112){if((C-=4)<0)break;de.push(L>>18|240,L>>12&63|128,L>>6&63|128,L&63|128)}else throw new Error("Invalid code point")}return de}function kr(y){const C=[];for(let L=0;L<y.length;++L)C.push(y.charCodeAt(L)&255);return C}function Gr(y,C){let L,z,K;const de=[];for(let Te=0;Te<y.length&&!((C-=2)<0);++Te)L=y.charCodeAt(Te),z=L>>8,K=L%256,de.push(K),de.push(z);return de}function qr(y){return r.toByteArray(ke(y))}function br(y,C,L,z){let K;for(K=0;K<z&&!(K+L>=C.length||K>=y.length);++K)C[K+L]=y[K];return K}function dn(y,C){return y instanceof C||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===C.name}function Tr(y){return y!==y}const Sa=function(){const y="0123456789abcdef",C=new Array(256);for(let L=0;L<16;++L){const z=L*16;for(let K=0;K<16;++K)C[z+K]=y[L]+y[K]}return C}();function Dn(y){return typeof BigInt>"u"?Ks:y}function Ks(){throw new Error("BigInt not supported")}})(qw);const CT=qw.Buffer;var Qw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof M4<"u"?M4:typeof self<"u"?self:{};function QY(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var x9={exports:{}};const YY=Object.getPrototypeOf({});function O9(n){function r(B){return B!=="constructor"&&B!=="prototype"&&B!=="__proto__"}function i(B){let H=0;const X=B.length,ee=new Array(X);for(H=0;H<X;++H)ee[H]=A(B[H]);return ee}function u(B){const H={};if(S&&Object.getPrototypeOf(B)!==YY)return S(B);const X=k(B);let ee,ie,fe;for(ee=0,ie=X.length;ee<ie;++ee)r(fe=X[ee])&&(H[fe]=A(B[fe]));return H}function c(B,H){const X=B.length,ee=H.length;let ie=0;const fe=new Array(X+ee);for(ie=0;ie<X;++ie)fe[ie]=A(B[ie]);for(ie=0;ie<ee;++ie)fe[ie+X]=A(H[ie]);return fe}const p=Object.prototype.propertyIsEnumerable;function m(B){const H=Object.keys(B),X=Object.getOwnPropertySymbols(B);for(let ee=0,ie=X.length;ee<ie;++ee)p.call(B,X[ee])&&H.push(X[ee]);return H}const k=n&&n.symbols?m:Object.keys,S=typeof(n==null?void 0:n.cloneProtoObject)=="function"?n.cloneProtoObject:void 0;function I(B){return typeof B=="object"&&B!==null&&!(B instanceof RegExp)&&!(B instanceof Date)}function E(B){return typeof B!="object"||B===null}const x=typeof CT<"u"?B=>typeof B!="object"||B===null||B instanceof RegExp||B instanceof Date||B instanceof CT:B=>typeof B!="object"||B===null||B instanceof RegExp||B instanceof Date,P=n&&typeof n.mergeArray=="function"?n.mergeArray({clone:A,deepmerge:V,getKeys:k,isMergeableObject:I}):c;function A(B){return I(B)?Array.isArray(B)?i(B):u(B):B}function F(B,H){const X={},ee=k(B),ie=k(H);let fe,ce,Le;for(fe=0,ce=ee.length;fe<ce;++fe)r(Le=ee[fe])&&ie.indexOf(Le)===-1&&(X[Le]=A(B[Le]));for(fe=0,ce=ie.length;fe<ce;++fe)r(Le=ie[fe])&&(Le in B&&(ee.indexOf(Le)!==-1&&(X[Le]=V(B[Le],H[Le])),!0)||(X[Le]=A(H[Le])));return X}function V(B,H){const X=Array.isArray(H),ee=Array.isArray(B);return E(H)?H:x(B)?A(H):X&&ee?P(B,H):X!==ee?A(H):F(B,H)}function $(){switch(arguments.length){case 0:return{};case 1:return A(arguments[0]);case 2:return V(arguments[0],arguments[1])}let B;for(let H=0,X=arguments.length;H<X;++H)B=V(B,arguments[H]);return B}return n&&n.all?$:V}x9.exports=O9;x9.exports.default=O9;var KY=x9.exports.deepmerge=O9;const ZY=n=>(r,i)=>{let u=0;const c=r.length,p=i.length,m=Math.max(c,p),k=new Array(m);for(u=0;u<m;++u)u<p?k[u]=n.deepmerge(r[u],i[u]):k[u]=n.clone(r[u]);return k},JY=KY({mergeArray:ZY}),XY=(n,r,i)=>{const u=Da(void 0);qg(u,()=>{const p=r.subscribe(k=>{var S;if(k){if(k.question){u.set(k.question);return}const I=(S=i.get().data)==null?void 0:S.find(E=>E.id===k.questionId);I?u.set(I):console.error("Feed list is not loaded yet. Issue with the opened question.")}else u.set(void 0)}),m=i.subscribe(k=>{var I;const S=r.get();if(k.data&&S){const E=(I=i.get().data)==null?void 0:I.find(x=>x.id===S.questionId);E?u.set(E):console.error("Feed list is not loaded yet. Issue with the opened question.")}});return()=>{p(),m()}});const c=Zi({data:void 0,loading:void 0,error:void 0});return u.subscribe(async p=>{if(p&&p.type==="question"){c.setKey("loading",!0);const m=await Gw(p.id,n);c.set({data:m,loading:!1});return}c.set({data:void 0,loading:!1})}),{$store:u,$extendedStore:c,updateExtendedQuestion:p=>{const m=c.get().data;if(m&&(p!=null&&p.answers))for(const k of p.answers)k.youVoted!==!0&&delete k.youVoted;c.set({data:JY(m,p)})}}};var Ac;(function(n){n.ALLOWED="allowed",n.DISALLOWED="disallowed"})(Ac||(Ac={}));class eK{constructor(r){Z(this,"slStreamId");Z(this,"organizationId");Z(this,"userId");Z(this,"interactiveAllowed");Z(this,"openedQuestionId");Z(this,"openedQuestion");Z(this,"activeQuestionId");Z(this,"feedList");Z(this,"moderationId");Z(this,"moderation");Z(this,"feedSubscription");Z(this,"questionSubscription");Z(this,"notifications");Z(this,"log");Z(this,"getCurrentSessionId",r=>{const i=r.eventId||this.slStreamId.get()||"",u=r.userId||this.userId.get()||"",c=r.organizationId||this.organizationId.get()||"",p=r.entity||"",m=r.prefix||"";return[c,i,u,m,p].join(":")});Z(this,"disconnect",()=>{var r;(r=this.feedSubscription)==null||r.disconnect()});Z(this,"openQuestion",(r,i)=>{this.openedQuestionId.set({questionId:r,question:i}),this.notifications.markAsViewed(this.getCurrentSessionId({prefix:"notification",entity:r}))});Z(this,"closeQuestion",r=>{this.openedQuestionId.set(void 0),r&&this.notifications.markAsViewed(this.getCurrentSessionId({prefix:"notification",entity:r}))});this.log=ff("gamification-background"),this.slStreamId=r.stores.slStreamId.getAtomStore(),this.organizationId=r.stores.organizationSettings.getAtomStore(),this.userId=r.stores.user.getAtomStore(),this.moderationId=new uo(Da(void 0),"moderationId").getStore(),this.interactiveAllowed=new uo(Da(Ac.DISALLOWED),"interactiveAllowed").getStore(),this.openedQuestionId=new uo(Da(void 0),"openedQuestionId").getStore(),this.notifications=r.notifications,this.moderation=new ns(MY(this.slStreamId,r.transport),"gamification:moderation"),this.feedList=new ns(jY(this.slStreamId,this.interactiveAllowed,r.transport),"gamification:feedList"),this.activeQuestionId=new ns(DY(this.slStreamId,r.transport),"gamification:activeQuestionId"),this.openedQuestion=XY(r.transport,this.openedQuestionId,this.feedList.getStore()),this.openedQuestionId.listen(i=>{this.log.debug({item:i},"received question"),i!=null&&i.questionId?(this.questionSubscription=FY(i.questionId,r.transport),this.questionSubscription.addListener("feed-subscription-opened-question",u=>{window.requestAnimationFrame(()=>{var c,p;this.openedQuestion.updateExtendedQuestion((p=(c=u.data)==null?void 0:c.attributes)==null?void 0:p.question)})}),this.questionSubscription.connect()):(this.log.info("cleanup on close question"),this.questionSubscription!==void 0&&(r.transport.removeSubscription(this.questionSubscription),this.questionSubscription=void 0))}),this.feedSubscription=UY(this.slStreamId,r.transport),this.feedSubscription.addListener("feed-subscription-active-question",i=>{var c;const u=this.activeQuestionId.getStore();u&&(this.activeQuestionId,u.mutate((c=i.data)==null?void 0:c.attributes))}),this.feedSubscription.addListener("moderation update",i=>{window.requestAnimationFrame(()=>{var u,c,p,m;((c=(u=i.data)==null?void 0:u.attributes)==null?void 0:c.question)===void 0&&((m=(p=i.data)==null?void 0:p.attributes)!=null&&m.moderation)&&this.moderation.invalidate()})}),this.feedSubscription.connect(),this.interactiveAllowed.listen(()=>{window.requestAnimationFrame(()=>{this.activeQuestionId.invalidate()})})}}class tK{constructor(r){Z(this,"notificationsList");Z(this,"notifications");Z(this,"store");Z(this,"timeouts");Z(this,"waitingQueue");Z(this,"activeQueue");Z(this,"options");Z(this,"logger");Z(this,"addToQueue",r=>{var c;if(this.store.has(r.id)){this.logger.debug({notification:r},"skip existed notification: %o");return}const i=r.close,u=r.action;if(this.store.set(r.id,{...r,close:(...p)=>{i&&i(...p),this.closeNotification(r.id)},action:(...p)=>{u&&u(...p),this.closeNotification(r.id)}}),this.waitingQueue.add(r.id),this.activeQueue.size===this.options.concurrency){const[p]=this.activeQueue;if(((c=this.store.get(p))==null?void 0:c.persistent)!==!0)this.closeNotification(p);else{const[m]=this.waitingQueue;this.waitingQueue.size>1&&this.closeNotification(m),this.tickWaitingQueue()}}else this.tickWaitingQueue()});Z(this,"tickWaitingQueue",()=>{if(this.activeQueue.size<this.options.concurrency){const[r]=this.waitingQueue;if(!r)return;this.activeQueue.add(r),this.waitingQueue.delete(r),this.logger.debug({job:r},"waiting queue tick"),this.tickActiveQueue(r)}else this.logger.debug({queueSize:this.activeQueue.size,concurrency:this.options.concurrency},"waiting queue tick skipped")});Z(this,"tickActiveQueue",r=>{if(!r)return;const i=this.store.get(r);if(!i){this.logger.debug({notificationId:r},"active queue tick skipped, notification not exist");return}const u=setTimeout(()=>{const c=r,p=new Map(this.notifications.getValue());p.set(i.id,i),this.notifications.setValue(p);const m=setTimeout(()=>{this.logger.debug({notificationId:c,delay:i.autoHideDuration||5e3},"notification hiding by autoHideDuration"),this.closeNotification(c)},i.autoHideDuration||5e3);this.timeouts.set(c,m),this.logger.debug({notificationId:c,queue:[...p.values()]},"notification displayed")},i.delay||0);this.timeouts.set(r,u),this.logger.debug({notificationId:r},"active queue tick completed"),this.tickWaitingQueue()});Z(this,"closeNotification",r=>{const i=new Map(this.notifications.getValue()),u=i.get(r);if(u){u.hiding=!(this.waitingQueue.size>=this.options.concurrency),this.notifications.setValue(i);const c=setTimeout(()=>{const p=new Map(this.notifications.getValue());p.delete(r),this.notifications.setValue(p);const m=this.timeouts.get(r);m!==void 0&&(clearTimeout(m),this.timeouts.delete(r)),this.logger.debug({notificationId:r},"notification hidden")},this.options.animationDelay||0);this.timeouts.set(r,c)}this.store.delete(r),this.activeQueue.delete(r),this.waitingQueue.delete(r),this.tickWaitingQueue(),this.logger.debug({notificationId:r},"notification hiding")});this.options=r,this.logger=ff("notifications"),this.store=new Map,this.timeouts=new Map,this.waitingQueue=new Set,this.activeQueue=new Set,this.notifications=new uo(Da(new Map),"notifications-queue"),this.notificationsList=this.notifications.getStore()}}var Vg;(function(n){n.OPENED="opened"})(Vg||(Vg={}));class nK extends s3{constructor(){super("notification");Z(this,"setOpened",i=>{this.write(Vg.OPENED,i,"true")});Z(this,"isOpened",i=>this.read(Vg.OPENED,i));Z(this,"clearNotification",()=>{this.clear()})}}var Oc;(function(n){n[n.ONBOARDING=1]="ONBOARDING",n[n.QUESTION=2]="QUESTION",n[n.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(Oc||(Oc={}));class aK{constructor(r={}){Z(this,"queue");Z(this,"storage");Z(this,"add",r=>{this.storage.isOpened(r.id)||this.queue.addToQueue(r)});Z(this,"close",(r,i=!0)=>{this.queue.closeNotification(r),i&&this.markAsViewed(r)});Z(this,"getQueueStore",()=>this.queue.notificationsList);Z(this,"markAsViewed",r=>{this.storage.setOpened(r)});this.storage=new nK,this.queue=new tK({concurrency:1,animationDelay:1600,...r})}}const rK=(n,r,i)=>{n.notifications=new aK,n.addNotification=n.notifications.add,n.sdk.getNotificationsStore=()=>n.notifications.getQueueStore(),i()},oK=(n,r)=>{const{client:i,createRequestOptions:u}=n.createPromiseClient(nl,{method:"submitAnswer"}),c=u({retryAttempts:0});return i.submitAnswer({data:r},{contextValues:c})},sK=(n,r)=>{const{client:i,createRequestOptions:u}=n.createPromiseClient(nl,{method:"submitInplay"}),c=u({retryAttempts:0});return i.submitInplay({data:{eventId:+r}},{contextValues:c})},iK=(n,r)=>{const{client:i,createRequestOptions:u}=n.createPromiseClient(nl,{method:"skipQuestion"}),c=u({retryAttempts:0});return i.skipQuestion({data:{id:r}},{contextValues:c})};var K1;(function(n){n.ONBOARDING="onboarding",n.ONBOARDING_IO="onboarding_io"})(K1||(K1={}));class Yw extends s3{constructor(){super("gamification");Z(this,"saveOnboardingStatus",({userId:i,eventId:u,organizationId:c},p)=>{this.write(K1.ONBOARDING,c,i,u,p)});Z(this,"getOnboardingStatus",({userId:i,eventId:u,organizationId:c})=>this.read(K1.ONBOARDING,c,i,u));Z(this,"setOnboardingInstantOpen",({userId:i,eventId:u,organizationId:c})=>{const p=this.generateKey([K1.ONBOARDING_IO,c,i,u]);window.sessionStorage.setItem(p,"1")});Z(this,"getOnboardingInstantOpen",({userId:i,eventId:u,organizationId:c})=>{const p=this.generateKey([K1.ONBOARDING_IO,c,i,u]);return window.sessionStorage.getItem(p)})}}const _T={pageSize:10},lK=(n,r,i,u,c)=>{let p=0;const m=Da({pageSize:(c==null?void 0:c.pageSize)||_T.pageSize,page:0}),k=Zi({data:[],key:Date.now(),hasMore:!0,loading:void 0,error:void 0}),S=AY(n),I=async()=>{var F;const P=r.get(),A=((F=u.getStore().get().data)==null?void 0:F.map(V=>V.slId))||[];if(P&&(A!=null&&A.length)){const V=i.get();V&&A.push(V),k.setKey("loading",!0),k.setKey("data",[]);const $={eventId:P,usersIds:A,pagination:{page:0,pageSize:(c==null?void 0:c.pageSize)||_T.pageSize}},B=await S($);k.set({data:B.data.map(H=>H.attributes),hasMore:!0,key:Date.now(),loading:!1}),B.meta&&(p=Math.round(B.meta.count/B.meta.pageSize)),m.set($.pagination)}},E=()=>{I()},x=P=>{const A=m.get(),F=P||A.page+1;F<=p&&m.set({...A,page:F})};return qg(k,()=>{const P=r.listen(I),A=u.listen(I),F=m.listen(async V=>{const $=r.get();if(V.page>0&&$)if(V.page<p){k.setKey("loading",!0);const B=await S({eventId:$,pagination:V}),H=k.get().data||[];k.set({data:[...H,...B.data.map(X=>X.attributes)],key:k.get().key,loading:!1,hasMore:!0})}else k.setKey("hasMore",!1)});return()=>{P(),A(),F()}}),{$store:k,fetchMore:x,invalidate:E}},uK=(n,r)=>{const{client:i,queryKey:u}=n.createPromiseClient(Wp,{method:"generateDeepLink",params:r});return n.nanoquery.createFetcherStore(u,{fetcher:async(c,p,m,k)=>{var S;return m?(S=(await i.generateDeepLink({data:{gamification:!0,externalEventId:k,eventId:m}})).data)==null?void 0:S.attributes:{}}})},cK=(n,{web:r,mobile:i})=>{const{client:u}=n.createPromiseClient(WQ,{method:"generate"});return u.generate({web:r,mobile:i})},RT=(n,r)=>{const i=new URLSearchParams(n);for(const[u,c]of Object.entries(r))i.append(u,c);return i.toString()},dK=(n,r,i,u)=>{const c=Zi({});return qg(c,()=>uK(n,[r,i]).subscribe(async({data:p,error:m,loading:k})=>{var A;const S=m?"https://masters.com":p==null?void 0:p.url,I=u.get()||"",E=r.get()||"",x=i.get()||"",P={[i3]:I,[$w]:E,[Hw]:x};if(!k&&S){c.setKey("loading",!0);let F=window.location.search,V=window.location.hash;F&&V||V?F=`?${RT(F,P)}`:V=`#${RT("",P)}`;const $=window.location.origin+window.location.pathname+F+V,B=await cK(n,{web:$,mobile:S});c.set({data:(A=B.data)==null?void 0:A.link,loading:!1})}else c.setKey("loading",!0)})),{$store:c,fetch}};var ka;(function(n){n.Unset="unset",n.Required="required",n.Optional="optional",n.Completed="completed",n.Disabled="disabled",n.Unavailable="unavailable"})(ka||(ka={}));const fK=(n,r,i,u)=>{const{inplayGame:c}=n.featureSettings.get(),p=r.getCurrentSessionId({prefix:"onboarding"});c&&i.add({type:Oc.ONBOARDING,id:p,action:n.openFeature,persistent:!0,autoHideDuration:1e6,data:{questionType:$e.UNSET,onboarding:{...c,instantOpen:!u.getOnboardingInstantOpen({userId:r.userId.get()||"",organizationId:r.organizationId.get()||"",eventId:r.slStreamId.get()||""})}}})},vg=(n,r,i,u,c,p)=>{var m,k,S;try{const I=r.userId.get();if(!I)return;if(c.getOnboardingStatus({userId:I,organizationId:r.organizationId.get()||"",eventId:r.slStreamId.get()||""})===ka.Completed){n.set(ka.Completed);for(const F of p)F();return}const E=(m=r.moderation.getStore().value)==null?void 0:m.data,x=i.featureSettings.get().inplayGame;if(E===void 0||x===void 0)return;const P=(k=E==null?void 0:E.options)==null?void 0:k.onboardingEnabled,A=(S=x==null?void 0:x.titleCard)==null?void 0:S.optIn;P?A?n.set(ka.Required):n.set(ka.Optional):(A?n.set(ka.Unavailable):n.set(ka.Disabled),u.close(r.getCurrentSessionId({prefix:"onboarding"}),!1))}catch(I){console.error(I)}},mK=(n,r,i,u)=>{let c=!1;const p=new Yw,m=Da(ka.Unset);m.subscribe(S=>{S!==ka.Unset&&((S===ka.Optional||S===ka.Required)&&c===!1&&(fK(n,r,u,p),c=!0),S===ka.Completed&&r.activeQuestionId.invalidate(),p.setOnboardingInstantOpen({userId:r.userId.get()||"",organizationId:r.organizationId.get()||"",eventId:r.slStreamId.get()||""}))});const k=[];return vg(m,r,n,u,p,k),m.get()!==ka.Completed&&(k.push(r.userId.listen(S=>{S&&vg(m,r,n,u,p,k)})),k.push(r.moderation.listen(S=>{S.data&&vg(m,r,n,u,p,k)})),k.push(n.featureSettings.listen(S=>{S&&vg(m,r,n,u,p,k)}))),{$store:m,submitInplay:async()=>{const S=r.slStreamId.get();if(S){await sK(i,S),m.set(ka.Completed),p.saveOnboardingStatus({organizationId:r.organizationId.get()||"",userId:r.userId.get()||"",eventId:S},ka.Completed);const I=r.getCurrentSessionId({prefix:"onboarding"});u.close(I)}}}},pK=new Set([$e.POLL,$e.PREDICTION,$e.TRIVIA]);class hK extends zw{constructor(i,u,c){super(i,u);Z(this,"userSummary");Z(this,"feedList");Z(this,"friends");Z(this,"leaderboardId");Z(this,"leaderboardList");Z(this,"deepLink");Z(this,"onboardingStatus");Z(this,"openedQuestion");Z(this,"currentUserId");Z(this,"openedUser");Z(this,"closeFeature");Z(this,"openFeature");Z(this,"notifications");Z(this,"transport");Z(this,"background");Z(this,"storage");Z(this,"checkInteractiveFlag",()=>{var k,S,I,E,x;const i=this.onboardingStatus.$store.get(),u=(I=(S=(k=this.background.moderation.getStore().value)==null?void 0:k.data)==null?void 0:S.options)==null?void 0:I.onboardingEnabled,c=(x=(E=this.settings.getValues().inplayGame)==null?void 0:E.titleCard)==null?void 0:x.optIn,p=i===ka.Completed,m=!u||p||c!==!0;this.background.interactiveAllowed.set(m?Ac.ALLOWED:Ac.DISALLOWED)});Z(this,"connect",i=>{this.userSummary.invalidate(),this.leaderboardList.invalidate(),this.feedList.invalidate(),this.friends.invalidate(),this.background.feedSubscription.addListener("feed-subscription-prediction-close",u=>{this.isInteractiveAllowed&&window.requestAnimationFrame(async()=>{var I,E,x,P;const c=(E=(I=u.data)==null?void 0:I.attributes)==null?void 0:E.question,p=(P=(x=u.data)==null?void 0:x.attributes)==null?void 0:P.feedItem;if(!c)return;const{status:m,type:k,id:S}=c;if(m===Xn.RESOLVED&&k===$e.PREDICTION){const A=this.background.getCurrentSessionId({prefix:`notification-id:${S}`}),F=await Gw(S,i),V=F==null?void 0:F.answers.find(({correct:B})=>B),$=F==null?void 0:F.answers.find(({youVoted:B})=>B);if(!$||!F)return;this.notifications.add({type:Oc.QUESTION_RESOLVED,action:()=>this.openQuestion(F.id,p),close:()=>this.closeQuestion(S),autoHideDuration:V!=null&&V.youVoted?15e3:12e3,id:A,data:{questionType:$e.PREDICTION,question:{title:V!=null&&V.youVoted?`Congratulations! You answered correctly! You won ${V.points} pts!`:`Better luck next time! Correct: ${V==null?void 0:V.text}!`,votedAnswer:{title:$==null?void 0:$.text,points:$==null?void 0:$.points},correctAnswerTitle:V==null?void 0:V.text,correct:V==null?void 0:V.youVoted,predictionResult:m===Xn.RESOLVED,questionTitle:F==null?void 0:F.subject}}}),this.userSummary.invalidate()}})}),this.background.feedSubscription.addListener("feed-subscription-questions-list",()=>{window.requestAnimationFrame(()=>{var u;(u=this.feedList)==null||u.invalidate()})})});Z(this,"disconnect",()=>{this.background.feedSubscription.removeListener("feed-subscription-questions-list")});Z(this,"submitAnswer",async(i,u)=>{await oK(this.transport,{questionId:i,answerId:u}),this.feedList.invalidate(),this.userSummary.invalidate()});Z(this,"skipQuestion",async i=>{await iK(this.transport,i),this.feedList.invalidate(),this.userSummary.invalidate()});Z(this,"openQuestion",(i,u)=>(this.notifications.close(this.background.getCurrentSessionId({prefix:"notification",entity:i})),this.background.openQuestion(i,u)));Z(this,"closeQuestion",i=>this.background.closeQuestion(i));Z(this,"openUser",i=>{var c;const u=(c=this.leaderboardList.$store.get().data)==null?void 0:c.find(p=>p.userId===i);this.openedUser.set(u)});Z(this,"closeUser",()=>{this.openedUser.set(void 0)});Z(this,"showInApp",i=>{var c,p,m,k,S,I,E,x,P,A,F,V,$,B;const u=this.onboardingStatus.$store.get();if(i&&i.data&&u&&u!==ka.Unset&&((c=i.data.question)==null?void 0:c.id)!==void 0&&i.data.question.notification!==void 0&&((m=(p=i.data.question)==null?void 0:p.bypassNotifications)==null?void 0:m.inAppSilence)!==yS.ON&&i.data.question.status===Xn.ACTIVE&&!i.data.question.marketClosed){if(pK.has(i.data.question.type))this.isInteractiveAllowed&&this.notifications.add({type:Oc.QUESTION,action:()=>{var H;return((H=i.data)==null?void 0:H.question)&&this.openQuestion(i.data.question.id,i.data.feedItem)},close:()=>{var H;return((H=i.data)==null?void 0:H.question)&&this.closeQuestion(i.data.question.id)},autoHideDuration:1e3*60,id:this.background.getCurrentSessionId({prefix:"notification",entity:i.data.question.id}),data:{questionType:i.data.question.type,question:{title:i.data.question.notification.title}}});else if(i.data.question.type===$e.FACTOID){const H=(k=i.data.question.options)==null?void 0:k.options.value,X={heading:i.data.question.notification.title,body:i.data.question.notification.body,imageMode:H.imageMode,image:H==null?void 0:H.image,video:{id:((S=H==null?void 0:H.video)==null?void 0:S.id)||"",url:((I=H==null?void 0:H.video)==null?void 0:I.url)||"",thumbnailUrl:((E=H==null?void 0:H.video)==null?void 0:E.thumbnailUrl)||""},webLink:{label:"",url:""}};this.notifications.add({type:Oc.QUESTION,action:()=>{var ee;return((ee=i.data)==null?void 0:ee.question)&&this.openQuestion(i.data.question.id,i.data.feedItem)},close:()=>{var ee;return((ee=i.data)==null?void 0:ee.question)&&this.closeQuestion(i.data.question.id)},autoHideDuration:1e3*120,id:this.background.getCurrentSessionId({prefix:"notification",entity:i.data.question.id}),data:{questionType:i.data.question.type,insight:X}})}else if(i.data.question.type===$e.TWEET){const H=(x=i.data.question.options)==null?void 0:x.options.value,X={title:(P=i.data.question.notification)==null?void 0:P.title,body:(A=i.data.question.notification)==null?void 0:A.body,image:(F=i.data.question.notification)==null?void 0:F.image,account:((V=H==null?void 0:H.tweetMeta)==null?void 0:V.account)||"",accountVerified:!!(($=H==null?void 0:H.tweetMeta)!=null&&$.accountVerified),tweet:(B=H==null?void 0:H.tweetMeta)==null?void 0:B.tweet,tweetId:i.data.question.id};this.notifications.add({type:Oc.QUESTION,action:()=>{var ee;return((ee=i.data)==null?void 0:ee.question)&&this.openQuestion(i.data.question.id,i.data.feedItem)},close:()=>{var ee;return((ee=i.data)==null?void 0:ee.question)&&this.closeQuestion(i.data.question.id)},autoHideDuration:1e3*120,id:this.background.getCurrentSessionId({prefix:"notification",entity:i.data.question.id}),data:{questionType:i.data.question.type,tweet:X}})}}});this.background=new eK(c),this.storage=new Yw,this.userSummary=new ns(OY(this.background.slStreamId,this.background.userId,c.transport),"gamification:userSummary"),this.feedList=this.background.feedList,this.friends=new ns(PY(this.background.userId,c.transport),"gamification:friends"),this.currentUserId=this.background.userId,this.openedUser=Da(void 0),this.leaderboardId=new uo(Da(this.settings.getValue("pinnedLeaderboardId")),"pinnedLeaderboardId").getStore(),this.onboardingStatus=mK(this,this.background,c.transport,c.notifications),this.notifications=c.notifications,this.transport=c.transport,this.closeFeature=()=>c.sdk.closeFeature(!0),this.openFeature=()=>c.sdk.openFeature(Rn.GAMES),this.openedQuestion=this.background.openedQuestion,this.deepLink=dK(this.transport,this.background.slStreamId,c.stores.providerStreamId.getStore(),this.background.userId),this.leaderboardList=lK(this.transport,this.background.slStreamId,this.background.userId,this.friends),this.status.subscribe(p=>{p===af.Ready?this.connect(c.transport):this.disconnect()}),this.userSummary.listen(p=>{var m;this.leaderboardList.$store.lc!==0&&((m=p==null?void 0:p.data)!=null&&m.summary)&&window.requestAnimationFrame(()=>{this.leaderboardList.invalidate()})}),this.background.activeQuestionId.listen(this.showInApp),this.onboardingStatus.$store.listen(this.checkInteractiveFlag),this.background.moderation.getStore().listen(this.checkInteractiveFlag),this.settings.subscribe(this.checkInteractiveFlag)}get isInteractiveAllowed(){return this.background.interactiveAllowed.get()===Ac.ALLOWED}}const gK={[Rn.GAMES]:!0};class yK extends zw{constructor(r,i){super(r,i)}}const vK=(n,r,i)=>n.type===Rn.GAMES?new hK(n,r,i):new yK(n,r),kK=(n,r,i)=>{n.features=new Map,n.sdk.featuresList=new uo(Da(new Set),"features-list"),n.activeFeature=new uo(Da(Rn.UNSET),"activeFeature"),n.sdk.getFeatures=()=>n.features,n.sdk.getFeature=u=>n.features.get(u),n.sdk.getActiveFeature=()=>n.activeFeature.getStore(),n.sdk.openFeature=u=>{n.activeFeature.setValue(u)},n.sdk.closeFeature=(u=!1)=>{const c=n.activeFeature.getValue();if(n.activeFeature.setValue(Rn.UNSET),u&&c){n.features.delete(c);const p=n.sdk.featuresList.getValue();p&&p.delete(c),n.sdk.featuresList.setValue(p)}},n.initFeature=(u,c=Hi.ORGANIZATION)=>{if(u.type in gK&&!n.features.has(u.type)){const p=vK(u,c,n);n.features.set(u.type,p);let m=n.sdk.featuresList.getValue();m?m.add(u.type):m=new Set([u.type]),n.sdk.featuresList.setValue(new Set(m))}},n.updateFeature=(u,c)=>{var p;(p=n.features.get(u.type))==null||p.update(u,c)},n.destroyFeature=u=>{n.features.delete(u.type);const c=n.sdk.featuresList.getValue();c&&c.delete(u.type),n.sdk.featuresList.setValue(new Set(c))},n.reinitializeFeatures=async()=>{const u=await n.stores.organizationSettings.getValue();n.features.clear(),n.sdk.featuresList.setValue(new Set);for(const c of(u==null?void 0:u.overlays)||[])n.initFeature(c,Hi.ORGANIZATION)},n.stores.providerStreamId.listen(u=>{u||n.reinitializeFeatures()}),n.storeSubscribe=()=>{const u=(p,m)=>{var k;if(m!=null&&m.overlays&&!((k=n.contextConfig)!=null&&k.skipOrganizationSettings&&p===Hi.ORGANIZATION))for(const S of m.overlays)S.sdkEnable===!0&&(n.features.has(S.type)?n.updateFeature(S,p):n.initFeature(S,p))},c={organizationSettings:p=>{if(p.data)try{u(Hi.ORGANIZATION,p.data)}catch(m){console.log(m)}},streamSettings:p=>{if(p.data)try{u(Hi.STREAM,p.data)}catch(m){console.log(m)}}};n.store.subscribe(c)},i()};var A9={exports:{}},P9={exports:{}};function bK(n){var r=new n,i=r;function u(){var p=r;return p.next?r=p.next:(r=new n,i=r),p.next=null,p}function c(p){i.next=p,i=p}return{get:u,release:c}}var TK=bK,SK=TK;function Kw(n,r,i){if(typeof n=="function"&&(i=r,r=n,n=null),i<1)throw new Error("fastqueue concurrency must be greater than 1");var u=SK(wK),c=null,p=null,m=0,k=null,S={push:V,drain:_o,saturated:_o,pause:E,paused:!1,concurrency:i,running:I,resume:A,idle:F,length:x,getQueue:P,unshift:$,empty:_o,kill:H,killAndDrain:X,error:ee};return S;function I(){return m}function E(){S.paused=!0}function x(){for(var ie=c,fe=0;ie;)ie=ie.next,fe++;return fe}function P(){for(var ie=c,fe=[];ie;)fe.push(ie.value),ie=ie.next;return fe}function A(){if(S.paused){S.paused=!1;for(var ie=0;ie<S.concurrency;ie++)m++,B()}}function F(){return m===0&&S.length()===0}function V(ie,fe){var ce=u.get();ce.context=n,ce.release=B,ce.value=ie,ce.callback=fe||_o,ce.errorHandler=k,m===S.concurrency||S.paused?p?(p.next=ce,p=ce):(c=ce,p=ce,S.saturated()):(m++,r.call(n,ce.value,ce.worked))}function $(ie,fe){var ce=u.get();ce.context=n,ce.release=B,ce.value=ie,ce.callback=fe||_o,ce.errorHandler=k,m===S.concurrency||S.paused?c?(ce.next=c,c=ce):(c=ce,p=ce,S.saturated()):(m++,r.call(n,ce.value,ce.worked))}function B(ie){ie&&u.release(ie);var fe=c;fe?S.paused?m--:(p===c&&(p=null),c=fe.next,fe.next=null,r.call(n,fe.value,fe.worked),p===null&&S.empty()):--m===0&&S.drain()}function H(){c=null,p=null,S.drain=_o}function X(){c=null,p=null,S.drain(),S.drain=_o}function ee(ie){k=ie}}function _o(){}function wK(){this.value=null,this.callback=_o,this.next=null,this.release=_o,this.context=null,this.errorHandler=null;var n=this;this.worked=function(r,i){var u=n.callback,c=n.errorHandler,p=n.value;n.value=null,n.callback=_o,n.errorHandler&&c(r,p),u.call(n.context,r,i),n.release(n)}}function EK(n,r,i){typeof n=="function"&&(i=r,r=n,n=null);function u(E,x){r.call(this,E).then(function(P){x(null,P)},x)}var c=Kw(n,u,i),p=c.push,m=c.unshift;return c.push=k,c.unshift=S,c.drained=I,c;function k(E){var x=new Promise(function(P,A){p(E,function(F,V){if(F){A(F);return}P(V)})});return x.catch(_o),x}function S(E){var x=new Promise(function(P,A){m(E,function(F,V){if(F){A(F);return}P(V)})});return x.catch(_o),x}function I(){if(c.idle())return new Promise(function(P){P()});var E=c.drain,x=new Promise(function(P){c.drain=function(){E(),P()}});return x}}P9.exports=Kw;P9.exports.promise=EK;var Zw=P9.exports,M9={exports:{}},rf=typeof Reflect=="object"?Reflect:null,IT=rf&&typeof rf.apply=="function"?rf.apply:function(n,r,i){return Function.prototype.apply.call(n,r,i)},Rg;rf&&typeof rf.ownKeys=="function"?Rg=rf.ownKeys:Object.getOwnPropertySymbols?Rg=function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:Rg=function(n){return Object.getOwnPropertyNames(n)};function CK(n){console&&console.warn&&console.warn(n)}var Jw=Number.isNaN||function(n){return n!==n};function en(){en.init.call(this)}M9.exports=en;M9.exports.once=NK;en.EventEmitter=en;en.prototype._events=void 0;en.prototype._eventsCount=0;en.prototype._maxListeners=void 0;var NT=10;function u3(n){if(typeof n!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n)}Object.defineProperty(en,"defaultMaxListeners",{enumerable:!0,get:function(){return NT},set:function(n){if(typeof n!="number"||n<0||Jw(n))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+n+".");NT=n}});en.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};en.prototype.setMaxListeners=function(n){if(typeof n!="number"||n<0||Jw(n))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+n+".");return this._maxListeners=n,this};function Xw(n){return n._maxListeners===void 0?en.defaultMaxListeners:n._maxListeners}en.prototype.getMaxListeners=function(){return Xw(this)};en.prototype.emit=function(n){for(var r=[],i=1;i<arguments.length;i++)r.push(arguments[i]);var u=n==="error",c=this._events;if(c!==void 0)u=u&&c.error===void 0;else if(!u)return!1;if(u){var p;if(r.length>0&&(p=r[0]),p instanceof Error)throw p;var m=new Error("Unhandled error."+(p?" ("+p.message+")":""));throw m.context=p,m}var k=c[n];if(k===void 0)return!1;if(typeof k=="function")IT(k,this,r);else for(var S=k.length,I=rE(k,S),i=0;i<S;++i)IT(I[i],this,r);return!0};function eE(n,r,i,u){var c,p,m;if(u3(i),p=n._events,p===void 0?(p=n._events=Object.create(null),n._eventsCount=0):(p.newListener!==void 0&&(n.emit("newListener",r,i.listener?i.listener:i),p=n._events),m=p[r]),m===void 0)m=p[r]=i,++n._eventsCount;else if(typeof m=="function"?m=p[r]=u?[i,m]:[m,i]:u?m.unshift(i):m.push(i),c=Xw(n),c>0&&m.length>c&&!m.warned){m.warned=!0;var k=new Error("Possible EventEmitter memory leak detected. "+m.length+" "+String(r)+" listeners added. Use emitter.setMaxListeners() to increase limit");k.name="MaxListenersExceededWarning",k.emitter=n,k.type=r,k.count=m.length,CK(k)}return n}en.prototype.addListener=function(n,r){return eE(this,n,r,!1)};en.prototype.on=en.prototype.addListener;en.prototype.prependListener=function(n,r){return eE(this,n,r,!0)};function _K(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function tE(n,r,i){var u={fired:!1,wrapFn:void 0,target:n,type:r,listener:i},c=_K.bind(u);return c.listener=i,u.wrapFn=c,c}en.prototype.once=function(n,r){return u3(r),this.on(n,tE(this,n,r)),this};en.prototype.prependOnceListener=function(n,r){return u3(r),this.prependListener(n,tE(this,n,r)),this};en.prototype.removeListener=function(n,r){var i,u,c,p,m;if(u3(r),u=this._events,u===void 0)return this;if(i=u[n],i===void 0)return this;if(i===r||i.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete u[n],u.removeListener&&this.emit("removeListener",n,i.listener||r));else if(typeof i!="function"){for(c=-1,p=i.length-1;p>=0;p--)if(i[p]===r||i[p].listener===r){m=i[p].listener,c=p;break}if(c<0)return this;c===0?i.shift():RK(i,c),i.length===1&&(u[n]=i[0]),u.removeListener!==void 0&&this.emit("removeListener",n,m||r)}return this};en.prototype.off=en.prototype.removeListener;en.prototype.removeAllListeners=function(n){var r,i,u;if(i=this._events,i===void 0)return this;if(i.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):i[n]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete i[n]),this;if(arguments.length===0){var c=Object.keys(i),p;for(u=0;u<c.length;++u)p=c[u],p!=="removeListener"&&this.removeAllListeners(p);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=i[n],typeof r=="function")this.removeListener(n,r);else if(r!==void 0)for(u=r.length-1;u>=0;u--)this.removeListener(n,r[u]);return this};function nE(n,r,i){var u=n._events;if(u===void 0)return[];var c=u[r];return c===void 0?[]:typeof c=="function"?i?[c.listener||c]:[c]:i?IK(c):rE(c,c.length)}en.prototype.listeners=function(n){return nE(this,n,!0)};en.prototype.rawListeners=function(n){return nE(this,n,!1)};en.listenerCount=function(n,r){return typeof n.listenerCount=="function"?n.listenerCount(r):aE.call(n,r)};en.prototype.listenerCount=aE;function aE(n){var r=this._events;if(r!==void 0){var i=r[n];if(typeof i=="function")return 1;if(i!==void 0)return i.length}return 0}en.prototype.eventNames=function(){return this._eventsCount>0?Rg(this._events):[]};function rE(n,r){for(var i=new Array(r),u=0;u<r;++u)i[u]=n[u];return i}function RK(n,r){for(;r+1<n.length;r++)n[r]=n[r+1];n.pop()}function IK(n){for(var r=new Array(n.length),i=0;i<r.length;++i)r[i]=n[i].listener||n[i];return r}function NK(n,r){return new Promise(function(i,u){function c(m){n.removeListener(r,p),u(m)}function p(){typeof n.removeListener=="function"&&n.removeListener("error",c),i([].slice.call(arguments))}oE(n,r,p,{once:!0}),r!=="error"&&LK(n,c,{once:!0})})}function LK(n,r,i){typeof n.on=="function"&&oE(n,"error",r,i)}function oE(n,r,i,u){if(typeof n.on=="function")u.once?n.once(r,i):n.on(r,i);else if(typeof n.addEventListener=="function")n.addEventListener(r,function c(p){u.once&&n.removeEventListener(r,c),i(p)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof n)}var sE=M9.exports,c3={},iE={},lE=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},r=Symbol("test"),i=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var u=42;n[r]=u;for(r in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var c=Object.getOwnPropertySymbols(n);if(c.length!==1||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(n,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var p=Object.getOwnPropertyDescriptor(n,r);if(p.value!==u||p.enumerable!==!0)return!1}return!0},xK=lE,D9=function(){return xK()&&!!Symbol.toStringTag},LT=typeof Symbol<"u"&&Symbol,OK=lE,AK=function(){return typeof LT!="function"||typeof Symbol!="function"||typeof LT("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:OK()},xT={foo:{}},PK=Object,MK=function(){return{__proto__:xT}.foo===xT.foo&&!({__proto__:null}instanceof PK)},DK="Function.prototype.bind called on incompatible ",UK=Object.prototype.toString,FK=Math.max,jK="[object Function]",OT=function(n,r){for(var i=[],u=0;u<n.length;u+=1)i[u]=n[u];for(var c=0;c<r.length;c+=1)i[c+n.length]=r[c];return i},VK=function(n,r){for(var i=[],u=r||0,c=0;u<n.length;u+=1,c+=1)i[c]=n[u];return i},BK=function(n,r){for(var i="",u=0;u<n.length;u+=1)i+=n[u],u+1<n.length&&(i+=r);return i},zK=function(n){var r=this;if(typeof r!="function"||UK.apply(r)!==jK)throw new TypeError(DK+r);for(var i=VK(arguments,1),u,c=function(){if(this instanceof u){var I=r.apply(this,OT(i,arguments));return Object(I)===I?I:this}return r.apply(n,OT(i,arguments))},p=FK(0,r.length-i.length),m=[],k=0;k<p;k++)m[k]="$"+k;if(u=Function("binder","return function ("+BK(m,",")+"){ return binder.apply(this,arguments); }")(c),r.prototype){var S=function(){};S.prototype=r.prototype,u.prototype=new S,S.prototype=null}return u},$K=zK,U9=Function.prototype.bind||$K,HK=Function.prototype.call,GK=Object.prototype.hasOwnProperty,qK=U9,WK=qK.call(HK,GK),Pt,lf=SyntaxError,uE=Function,of=TypeError,f4=function(n){try{return uE('"use strict"; return ('+n+").constructor;")()}catch{}},Pc=Object.getOwnPropertyDescriptor;if(Pc)try{Pc({},"")}catch{Pc=null}var m4=function(){throw new of},QK=Pc?function(){try{return arguments.callee,m4}catch{try{return Pc(arguments,"callee").get}catch{return m4}}}():m4,G1=AK(),YK=MK(),ya=Object.getPrototypeOf||(YK?function(n){return n.__proto__}:null),W1={},KK=typeof Uint8Array>"u"||!ya?Pt:ya(Uint8Array),Mc={"%AggregateError%":typeof AggregateError>"u"?Pt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Pt:ArrayBuffer,"%ArrayIteratorPrototype%":G1&&ya?ya([][Symbol.iterator]()):Pt,"%AsyncFromSyncIteratorPrototype%":Pt,"%AsyncFunction%":W1,"%AsyncGenerator%":W1,"%AsyncGeneratorFunction%":W1,"%AsyncIteratorPrototype%":W1,"%Atomics%":typeof Atomics>"u"?Pt:Atomics,"%BigInt%":typeof BigInt>"u"?Pt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Pt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Pt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Pt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Pt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Pt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Pt:FinalizationRegistry,"%Function%":uE,"%GeneratorFunction%":W1,"%Int8Array%":typeof Int8Array>"u"?Pt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Pt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Pt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":G1&&ya?ya(ya([][Symbol.iterator]())):Pt,"%JSON%":typeof JSON=="object"?JSON:Pt,"%Map%":typeof Map>"u"?Pt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!G1||!ya?Pt:ya(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Pt:Promise,"%Proxy%":typeof Proxy>"u"?Pt:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Pt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Pt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!G1||!ya?Pt:ya(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Pt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":G1&&ya?ya(""[Symbol.iterator]()):Pt,"%Symbol%":G1?Symbol:Pt,"%SyntaxError%":lf,"%ThrowTypeError%":QK,"%TypedArray%":KK,"%TypeError%":of,"%Uint8Array%":typeof Uint8Array>"u"?Pt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Pt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Pt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Pt:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Pt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Pt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Pt:WeakSet};if(ya)try{null.error}catch(n){var ZK=ya(ya(n));Mc["%Error.prototype%"]=ZK}var JK=function n(r){var i;if(r==="%AsyncFunction%")i=f4("async function () {}");else if(r==="%GeneratorFunction%")i=f4("function* () {}");else if(r==="%AsyncGeneratorFunction%")i=f4("async function* () {}");else if(r==="%AsyncGenerator%"){var u=n("%AsyncGeneratorFunction%");u&&(i=u.prototype)}else if(r==="%AsyncIteratorPrototype%"){var c=n("%AsyncGenerator%");c&&ya&&(i=ya(c.prototype))}return Mc[r]=i,i},AT={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Qp=U9,Bg=WK,XK=Qp.call(Function.call,Array.prototype.concat),eZ=Qp.call(Function.apply,Array.prototype.splice),PT=Qp.call(Function.call,String.prototype.replace),zg=Qp.call(Function.call,String.prototype.slice),tZ=Qp.call(Function.call,RegExp.prototype.exec),nZ=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,aZ=/\\(\\)?/g,rZ=function(n){var r=zg(n,0,1),i=zg(n,-1);if(r==="%"&&i!=="%")throw new lf("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&r!=="%")throw new lf("invalid intrinsic syntax, expected opening `%`");var u=[];return PT(n,nZ,function(c,p,m,k){u[u.length]=m?PT(k,aZ,"$1"):p||c}),u},oZ=function(n,r){var i=n,u;if(Bg(AT,i)&&(u=AT[i],i="%"+u[0]+"%"),Bg(Mc,i)){var c=Mc[i];if(c===W1&&(c=JK(i)),typeof c>"u"&&!r)throw new of("intrinsic "+n+" exists, but is not available. Please file an issue!");return{alias:u,name:i,value:c}}throw new lf("intrinsic "+n+" does not exist!")},mf=function(n,r){if(typeof n!="string"||n.length===0)throw new of("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new of('"allowMissing" argument must be a boolean');if(tZ(/^%?[^%]*%?$/,n)===null)throw new lf("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=rZ(n),u=i.length>0?i[0]:"",c=oZ("%"+u+"%",r),p=c.name,m=c.value,k=!1,S=c.alias;S&&(u=S[0],eZ(i,XK([0,1],S)));for(var I=1,E=!0;I<i.length;I+=1){var x=i[I],P=zg(x,0,1),A=zg(x,-1);if((P==='"'||P==="'"||P==="`"||A==='"'||A==="'"||A==="`")&&P!==A)throw new lf("property names with quotes must have matching quotes");if((x==="constructor"||!E)&&(k=!0),u+="."+x,p="%"+u+"%",Bg(Mc,p))m=Mc[p];else if(m!=null){if(!(x in m)){if(!r)throw new of("base intrinsic for "+n+" exists, but the property is not available.");return}if(Pc&&I+1>=i.length){var F=Pc(m,x);E=!!F,E&&"get"in F&&!("originalValue"in F.get)?m=F.get:m=m[x]}else E=Bg(m,x),m=m[x];E&&!k&&(Mc[p]=m)}}return m},cE={exports:{}},sZ=mf,W4=sZ("%Object.defineProperty%",!0),Q4=function(){if(W4)try{return W4({},"a",{value:1}),!0}catch{return!1}return!1};Q4.hasArrayLengthDefineBug=function(){if(!Q4())return null;try{return W4([],"length",{value:1}).length!==1}catch{return!0}};var dE=Q4,iZ=mf,Ig=iZ("%Object.getOwnPropertyDescriptor%",!0);if(Ig)try{Ig([],"length")}catch{Ig=null}var F9=Ig,lZ=dE(),j9=mf,Vp=lZ&&j9("%Object.defineProperty%",!0);if(Vp)try{Vp({},"a",{value:1})}catch{Vp=!1}var uZ=j9("%SyntaxError%"),q1=j9("%TypeError%"),MT=F9,cZ=function(n,r,i){if(!n||typeof n!="object"&&typeof n!="function")throw new q1("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new q1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new q1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new q1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new q1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new q1("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,p=arguments.length>5?arguments[5]:null,m=arguments.length>6?arguments[6]:!1,k=!!MT&&MT(n,r);if(Vp)Vp(n,r,{configurable:p===null&&k?k.configurable:!p,enumerable:u===null&&k?k.enumerable:!u,value:i,writable:c===null&&k?k.writable:!c});else if(m||!u&&!c&&!p)n[r]=i;else throw new uZ("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},fE=mf,DT=cZ,dZ=dE(),UT=F9,FT=fE("%TypeError%"),fZ=fE("%Math.floor%"),mZ=function(n,r){if(typeof n!="function")throw new FT("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||fZ(r)!==r)throw new FT("`length` must be a positive 32-bit integer");var i=arguments.length>2&&!!arguments[2],u=!0,c=!0;if("length"in n&&UT){var p=UT(n,"length");p&&!p.configurable&&(u=!1),p&&!p.writable&&(c=!1)}return(u||c||!i)&&(dZ?DT(n,"length",r,!0,!0):DT(n,"length",r)),n};(function(n){var r=U9,i=mf,u=mZ,c=i("%TypeError%"),p=i("%Function.prototype.apply%"),m=i("%Function.prototype.call%"),k=i("%Reflect.apply%",!0)||r.call(m,p),S=i("%Object.defineProperty%",!0),I=i("%Math.max%");if(S)try{S({},"a",{value:1})}catch{S=null}n.exports=function(x){if(typeof x!="function")throw new c("a function is required");var P=k(r,m,arguments);return u(P,1+I(0,x.length-(arguments.length-1)),!0)};var E=function(){return k(r,p,arguments)};S?S(n.exports,"apply",{value:E}):n.exports.apply=E})(cE);var mE=cE.exports,pE=mf,hE=mE,pZ=hE(pE("String.prototype.indexOf")),gE=function(n,r){var i=pE(n,!!r);return typeof i=="function"&&pZ(n,".prototype.")>-1?hE(i):i},hZ=D9(),gZ=gE,Y4=gZ("Object.prototype.toString"),d3=function(n){return hZ&&n&&typeof n=="object"&&Symbol.toStringTag in n?!1:Y4(n)==="[object Arguments]"},yE=function(n){return d3(n)?!0:n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&Y4(n)!=="[object Array]"&&Y4(n.callee)==="[object Function]"},yZ=function(){return d3(arguments)}();d3.isLegacyArguments=yE;var vZ=yZ?d3:yE,kZ=Object.prototype.toString,bZ=Function.prototype.toString,TZ=/^\s*(?:function)?\*/,vE=D9(),p4=Object.getPrototypeOf,SZ=function(){if(!vE)return!1;try{return Function("return function*() {}")()}catch{}},h4,wZ=function(n){if(typeof n!="function")return!1;if(TZ.test(bZ.call(n)))return!0;if(!vE){var r=kZ.call(n);return r==="[object GeneratorFunction]"}if(!p4)return!1;if(typeof h4>"u"){var i=SZ();h4=i?p4(i):!1}return p4(n)===h4},kE=Function.prototype.toString,Z1=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,K4,Ng;if(typeof Z1=="function"&&typeof Object.defineProperty=="function")try{K4=Object.defineProperty({},"length",{get:function(){throw Ng}}),Ng={},Z1(function(){throw 42},null,K4)}catch(n){n!==Ng&&(Z1=null)}else Z1=null;var EZ=/^\s*class\b/,Z4=function(n){try{var r=kE.call(n);return EZ.test(r)}catch{return!1}},g4=function(n){try{return Z4(n)?!1:(kE.call(n),!0)}catch{return!1}},Lg=Object.prototype.toString,CZ="[object Object]",_Z="[object Function]",RZ="[object GeneratorFunction]",IZ="[object HTMLAllCollection]",NZ="[object HTML document.all class]",LZ="[object HTMLCollection]",xZ=typeof Symbol=="function"&&!!Symbol.toStringTag,OZ=!(0 in[,]),J4=function(){return!1};if(typeof document=="object"){var AZ=document.all;Lg.call(AZ)===Lg.call(document.all)&&(J4=function(n){if((OZ||!n)&&(typeof n>"u"||typeof n=="object"))try{var r=Lg.call(n);return(r===IZ||r===NZ||r===LZ||r===CZ)&&n("")==null}catch{}return!1})}var PZ=Z1?function(n){if(J4(n))return!0;if(!n||typeof n!="function"&&typeof n!="object")return!1;try{Z1(n,null,K4)}catch(r){if(r!==Ng)return!1}return!Z4(n)&&g4(n)}:function(n){if(J4(n))return!0;if(!n||typeof n!="function"&&typeof n!="object")return!1;if(xZ)return g4(n);if(Z4(n))return!1;var r=Lg.call(n);return r!==_Z&&r!==RZ&&!/^\[object HTML/.test(r)?!1:g4(n)},MZ=PZ,DZ=Object.prototype.toString,bE=Object.prototype.hasOwnProperty,UZ=function(n,r,i){for(var u=0,c=n.length;u<c;u++)bE.call(n,u)&&(i==null?r(n[u],u,n):r.call(i,n[u],u,n))},FZ=function(n,r,i){for(var u=0,c=n.length;u<c;u++)i==null?r(n.charAt(u),u,n):r.call(i,n.charAt(u),u,n)},jZ=function(n,r,i){for(var u in n)bE.call(n,u)&&(i==null?r(n[u],u,n):r.call(i,n[u],u,n))},VZ=function(n,r,i){if(!MZ(r))throw new TypeError("iterator must be a function");var u;arguments.length>=3&&(u=i),DZ.call(n)==="[object Array]"?UZ(n,r,u):typeof n=="string"?FZ(n,r,u):jZ(n,r,u)},BZ=VZ,y4=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],zZ=typeof globalThis>"u"?Qw:globalThis,$Z=function(){for(var n=[],r=0;r<y4.length;r++)typeof zZ[y4[r]]=="function"&&(n[n.length]=y4[r]);return n},$g=BZ,HZ=$Z,jT=mE,V9=gE,xg=F9,GZ=V9("Object.prototype.toString"),TE=D9(),VT=typeof globalThis>"u"?Qw:globalThis,X4=HZ(),B9=V9("String.prototype.slice"),v4=Object.getPrototypeOf,qZ=V9("Array.prototype.indexOf",!0)||function(n,r){for(var i=0;i<n.length;i+=1)if(n[i]===r)return i;return-1},Hg={__proto__:null};TE&&xg&&v4?$g(X4,function(n){var r=new VT[n];if(Symbol.toStringTag in r){var i=v4(r),u=xg(i,Symbol.toStringTag);if(!u){var c=v4(i);u=xg(c,Symbol.toStringTag)}Hg["$"+n]=jT(u.get)}}):$g(X4,function(n){var r=new VT[n],i=r.slice||r.set;i&&(Hg["$"+n]=jT(i))});var WZ=function(n){var r=!1;return $g(Hg,function(i,u){if(!r)try{"$"+i(n)===u&&(r=B9(u,1))}catch{}}),r},QZ=function(n){var r=!1;return $g(Hg,function(i,u){if(!r)try{i(n),r=B9(u,1)}catch{}}),r},SE=function(n){if(!n||typeof n!="object")return!1;if(!TE){var r=B9(GZ(n),8,-1);return qZ(X4,r)>-1?r:r!=="Object"?!1:QZ(n)}return xg?WZ(n):null},YZ=SE,KZ=function(n){return!!YZ(n)};(function(n){var r=vZ,i=wZ,u=SE,c=KZ;function p(ke){return ke.call.bind(ke)}var m=typeof BigInt<"u",k=typeof Symbol<"u",S=p(Object.prototype.toString),I=p(Number.prototype.valueOf),E=p(String.prototype.valueOf),x=p(Boolean.prototype.valueOf);if(m)var P=p(BigInt.prototype.valueOf);if(k)var A=p(Symbol.prototype.valueOf);function F(ke,er){if(typeof ke!="object")return!1;try{return er(ke),!0}catch{return!1}}n.isArgumentsObject=r,n.isGeneratorFunction=i,n.isTypedArray=c;function V(ke){return typeof Promise<"u"&&ke instanceof Promise||ke!==null&&typeof ke=="object"&&typeof ke.then=="function"&&typeof ke.catch=="function"}n.isPromise=V;function $(ke){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(ke):c(ke)||pe(ke)}n.isArrayBufferView=$;function B(ke){return u(ke)==="Uint8Array"}n.isUint8Array=B;function H(ke){return u(ke)==="Uint8ClampedArray"}n.isUint8ClampedArray=H;function X(ke){return u(ke)==="Uint16Array"}n.isUint16Array=X;function ee(ke){return u(ke)==="Uint32Array"}n.isUint32Array=ee;function ie(ke){return u(ke)==="Int8Array"}n.isInt8Array=ie;function fe(ke){return u(ke)==="Int16Array"}n.isInt16Array=fe;function ce(ke){return u(ke)==="Int32Array"}n.isInt32Array=ce;function Le(ke){return u(ke)==="Float32Array"}n.isFloat32Array=Le;function _e(ke){return u(ke)==="Float64Array"}n.isFloat64Array=_e;function Qe(ke){return u(ke)==="BigInt64Array"}n.isBigInt64Array=Qe;function Be(ke){return u(ke)==="BigUint64Array"}n.isBigUint64Array=Be;function it(ke){return S(ke)==="[object Map]"}it.working=typeof Map<"u"&&it(new Map);function He(ke){return typeof Map>"u"?!1:it.working?it(ke):ke instanceof Map}n.isMap=He;function et(ke){return S(ke)==="[object Set]"}et.working=typeof Set<"u"&&et(new Set);function Lt(ke){return typeof Set>"u"?!1:et.working?et(ke):ke instanceof Set}n.isSet=Lt;function xt(ke){return S(ke)==="[object WeakMap]"}xt.working=typeof WeakMap<"u"&&xt(new WeakMap);function In(ke){return typeof WeakMap>"u"?!1:xt.working?xt(ke):ke instanceof WeakMap}n.isWeakMap=In;function Re(ke){return S(ke)==="[object WeakSet]"}Re.working=typeof WeakSet<"u"&&Re(new WeakSet);function je(ke){return Re(ke)}n.isWeakSet=je;function Ne(ke){return S(ke)==="[object ArrayBuffer]"}Ne.working=typeof ArrayBuffer<"u"&&Ne(new ArrayBuffer);function Ge(ke){return typeof ArrayBuffer>"u"?!1:Ne.working?Ne(ke):ke instanceof ArrayBuffer}n.isArrayBuffer=Ge;function Y(ke){return S(ke)==="[object DataView]"}Y.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Y(new DataView(new ArrayBuffer(1),0,1));function pe(ke){return typeof DataView>"u"?!1:Y.working?Y(ke):ke instanceof DataView}n.isDataView=pe;var ve=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Ve(ke){return S(ke)==="[object SharedArrayBuffer]"}function ht(ke){return typeof ve>"u"?!1:(typeof Ve.working>"u"&&(Ve.working=Ve(new ve)),Ve.working?Ve(ke):ke instanceof ve)}n.isSharedArrayBuffer=ht;function gt(ke){return S(ke)==="[object AsyncFunction]"}n.isAsyncFunction=gt;function ot(ke){return S(ke)==="[object Map Iterator]"}n.isMapIterator=ot;function ft(ke){return S(ke)==="[object Set Iterator]"}n.isSetIterator=ft;function Rt(ke){return S(ke)==="[object Generator]"}n.isGeneratorObject=Rt;function zt(ke){return S(ke)==="[object WebAssembly.Module]"}n.isWebAssemblyCompiledModule=zt;function bn(ke){return F(ke,I)}n.isNumberObject=bn;function Yt(ke){return F(ke,E)}n.isStringObject=Yt;function cn(ke){return F(ke,x)}n.isBooleanObject=cn;function Mn(ke){return m&&F(ke,P)}n.isBigIntObject=Mn;function Tn(ke){return k&&F(ke,A)}n.isSymbolObject=Tn;function Nn(ke){return bn(ke)||Yt(ke)||cn(ke)||Mn(ke)||Tn(ke)}n.isBoxedPrimitive=Nn;function Xa(ke){return typeof Uint8Array<"u"&&(Ge(ke)||ht(ke))}n.isAnyArrayBuffer=Xa,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ke){Object.defineProperty(n,ke,{enumerable:!1,value:function(){throw new Error(ke+" is not supported in userland")}})})})(iE);var ZZ=function(n){return n&&typeof n=="object"&&typeof n.copy=="function"&&typeof n.fill=="function"&&typeof n.readUInt8=="function"},e9={exports:{}};typeof Object.create=="function"?e9.exports=function(n,r){r&&(n.super_=r,n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:e9.exports=function(n,r){if(r){n.super_=r;var i=function(){};i.prototype=r.prototype,n.prototype=new i,n.prototype.constructor=n}};var JZ=e9.exports;(function(n){var r=Object.getOwnPropertyDescriptors||function(Y){for(var pe=Object.keys(Y),ve={},Ve=0;Ve<pe.length;Ve++)ve[pe[Ve]]=Object.getOwnPropertyDescriptor(Y,pe[Ve]);return ve},i=/%[sdj%]/g;n.format=function(Y){if(!ie(Y)){for(var pe=[],ve=0;ve<arguments.length;ve++)pe.push(m(arguments[ve]));return pe.join(" ")}for(var ve=1,Ve=arguments,ht=Ve.length,gt=String(Y).replace(i,function(Rt){if(Rt==="%%")return"%";if(ve>=ht)return Rt;switch(Rt){case"%s":return String(Ve[ve++]);case"%d":return Number(Ve[ve++]);case"%j":try{return JSON.stringify(Ve[ve++])}catch{return"[Circular]"}default:return Rt}}),ot=Ve[ve];ve<ht;ot=Ve[++ve])H(ot)||!_e(ot)?gt+=" "+ot:gt+=" "+m(ot);return gt},n.deprecate=function(Y,pe){if(typeof _t<"u"&&_t.noDeprecation===!0)return Y;if(typeof _t>"u")return function(){return n.deprecate(Y,pe).apply(this,arguments)};var ve=!1;function Ve(){if(!ve){if(_t.throwDeprecation)throw new Error(pe);_t.traceDeprecation?console.trace(pe):console.error(pe),ve=!0}return Y.apply(this,arguments)}return Ve};var u={},c=/^$/;if(_t.env.NODE_DEBUG){var p=_t.env.NODE_DEBUG;p=p.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),c=new RegExp("^"+p+"$","i")}n.debuglog=function(Y){if(Y=Y.toUpperCase(),!u[Y])if(c.test(Y)){var pe=_t.pid;u[Y]=function(){var ve=n.format.apply(n,arguments);console.error("%s %d: %s",Y,pe,ve)}}else u[Y]=function(){};return u[Y]};function m(Y,pe){var ve={seen:[],stylize:S};return arguments.length>=3&&(ve.depth=arguments[2]),arguments.length>=4&&(ve.colors=arguments[3]),B(pe)?ve.showHidden=pe:pe&&n._extend(ve,pe),ce(ve.showHidden)&&(ve.showHidden=!1),ce(ve.depth)&&(ve.depth=2),ce(ve.colors)&&(ve.colors=!1),ce(ve.customInspect)&&(ve.customInspect=!0),ve.colors&&(ve.stylize=k),E(ve,Y,ve.depth)}n.inspect=m,m.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},m.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function k(Y,pe){var ve=m.styles[pe];return ve?"\x1B["+m.colors[ve][0]+"m"+Y+"\x1B["+m.colors[ve][1]+"m":Y}function S(Y,pe){return Y}function I(Y){var pe={};return Y.forEach(function(ve,Ve){pe[ve]=!0}),pe}function E(Y,pe,ve){if(Y.customInspect&&pe&&it(pe.inspect)&&pe.inspect!==n.inspect&&!(pe.constructor&&pe.constructor.prototype===pe)){var Ve=pe.inspect(ve,Y);return ie(Ve)||(Ve=E(Y,Ve,ve)),Ve}var ht=x(Y,pe);if(ht)return ht;var gt=Object.keys(pe),ot=I(gt);if(Y.showHidden&&(gt=Object.getOwnPropertyNames(pe)),Be(pe)&&(gt.indexOf("message")>=0||gt.indexOf("description")>=0))return P(pe);if(gt.length===0){if(it(pe)){var ft=pe.name?": "+pe.name:"";return Y.stylize("[Function"+ft+"]","special")}if(Le(pe))return Y.stylize(RegExp.prototype.toString.call(pe),"regexp");if(Qe(pe))return Y.stylize(Date.prototype.toString.call(pe),"date");if(Be(pe))return P(pe)}var Rt="",zt=!1,bn=["{","}"];if($(pe)&&(zt=!0,bn=["[","]"]),it(pe)){var Yt=pe.name?": "+pe.name:"";Rt=" [Function"+Yt+"]"}if(Le(pe)&&(Rt=" "+RegExp.prototype.toString.call(pe)),Qe(pe)&&(Rt=" "+Date.prototype.toUTCString.call(pe)),Be(pe)&&(Rt=" "+P(pe)),gt.length===0&&(!zt||pe.length==0))return bn[0]+Rt+bn[1];if(ve<0)return Le(pe)?Y.stylize(RegExp.prototype.toString.call(pe),"regexp"):Y.stylize("[Object]","special");Y.seen.push(pe);var cn;return zt?cn=A(Y,pe,ve,ot,gt):cn=gt.map(function(Mn){return F(Y,pe,ve,ot,Mn,zt)}),Y.seen.pop(),V(cn,Rt,bn)}function x(Y,pe){if(ce(pe))return Y.stylize("undefined","undefined");if(ie(pe)){var ve="'"+JSON.stringify(pe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Y.stylize(ve,"string")}if(ee(pe))return Y.stylize(""+pe,"number");if(B(pe))return Y.stylize(""+pe,"boolean");if(H(pe))return Y.stylize("null","null")}function P(Y){return"["+Error.prototype.toString.call(Y)+"]"}function A(Y,pe,ve,Ve,ht){for(var gt=[],ot=0,ft=pe.length;ot<ft;++ot)Re(pe,String(ot))?gt.push(F(Y,pe,ve,Ve,String(ot),!0)):gt.push("");return ht.forEach(function(Rt){Rt.match(/^\d+$/)||gt.push(F(Y,pe,ve,Ve,Rt,!0))}),gt}function F(Y,pe,ve,Ve,ht,gt){var ot,ft,Rt;if(Rt=Object.getOwnPropertyDescriptor(pe,ht)||{value:pe[ht]},Rt.get?Rt.set?ft=Y.stylize("[Getter/Setter]","special"):ft=Y.stylize("[Getter]","special"):Rt.set&&(ft=Y.stylize("[Setter]","special")),Re(Ve,ht)||(ot="["+ht+"]"),ft||(Y.seen.indexOf(Rt.value)<0?(H(ve)?ft=E(Y,Rt.value,null):ft=E(Y,Rt.value,ve-1),ft.indexOf(`
187
+ `)>-1&&(gt?ft=ft.split(`
188
+ `).map(function(zt){return" "+zt}).join(`
189
+ `).slice(2):ft=`
190
+ `+ft.split(`
191
+ `).map(function(zt){return" "+zt}).join(`
192
+ `))):ft=Y.stylize("[Circular]","special")),ce(ot)){if(gt&&ht.match(/^\d+$/))return ft;ot=JSON.stringify(""+ht),ot.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ot=ot.slice(1,-1),ot=Y.stylize(ot,"name")):(ot=ot.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ot=Y.stylize(ot,"string"))}return ot+": "+ft}function V(Y,pe,ve){var Ve=Y.reduce(function(ht,gt){return gt.indexOf(`
193
+ `)>=0,ht+gt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ve>60?ve[0]+(pe===""?"":pe+`
194
+ `)+" "+Y.join(`,
195
+ `)+" "+ve[1]:ve[0]+pe+" "+Y.join(", ")+" "+ve[1]}n.types=iE;function $(Y){return Array.isArray(Y)}n.isArray=$;function B(Y){return typeof Y=="boolean"}n.isBoolean=B;function H(Y){return Y===null}n.isNull=H;function X(Y){return Y==null}n.isNullOrUndefined=X;function ee(Y){return typeof Y=="number"}n.isNumber=ee;function ie(Y){return typeof Y=="string"}n.isString=ie;function fe(Y){return typeof Y=="symbol"}n.isSymbol=fe;function ce(Y){return Y===void 0}n.isUndefined=ce;function Le(Y){return _e(Y)&&et(Y)==="[object RegExp]"}n.isRegExp=Le,n.types.isRegExp=Le;function _e(Y){return typeof Y=="object"&&Y!==null}n.isObject=_e;function Qe(Y){return _e(Y)&&et(Y)==="[object Date]"}n.isDate=Qe,n.types.isDate=Qe;function Be(Y){return _e(Y)&&(et(Y)==="[object Error]"||Y instanceof Error)}n.isError=Be,n.types.isNativeError=Be;function it(Y){return typeof Y=="function"}n.isFunction=it;function He(Y){return Y===null||typeof Y=="boolean"||typeof Y=="number"||typeof Y=="string"||typeof Y=="symbol"||typeof Y>"u"}n.isPrimitive=He,n.isBuffer=ZZ;function et(Y){return Object.prototype.toString.call(Y)}function Lt(Y){return Y<10?"0"+Y.toString(10):Y.toString(10)}var xt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function In(){var Y=new Date,pe=[Lt(Y.getHours()),Lt(Y.getMinutes()),Lt(Y.getSeconds())].join(":");return[Y.getDate(),xt[Y.getMonth()],pe].join(" ")}n.log=function(){console.log("%s - %s",In(),n.format.apply(n,arguments))},n.inherits=JZ,n._extend=function(Y,pe){if(!pe||!_e(pe))return Y;for(var ve=Object.keys(pe),Ve=ve.length;Ve--;)Y[ve[Ve]]=pe[ve[Ve]];return Y};function Re(Y,pe){return Object.prototype.hasOwnProperty.call(Y,pe)}var je=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;n.promisify=function(Y){if(typeof Y!="function")throw new TypeError('The "original" argument must be of type Function');if(je&&Y[je]){var pe=Y[je];if(typeof pe!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(pe,je,{value:pe,enumerable:!1,writable:!1,configurable:!0}),pe}function pe(){for(var ve,Ve,ht=new Promise(function(ft,Rt){ve=ft,Ve=Rt}),gt=[],ot=0;ot<arguments.length;ot++)gt.push(arguments[ot]);gt.push(function(ft,Rt){ft?Ve(ft):ve(Rt)});try{Y.apply(this,gt)}catch(ft){Ve(ft)}return ht}return Object.setPrototypeOf(pe,Object.getPrototypeOf(Y)),je&&Object.defineProperty(pe,je,{value:pe,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(pe,r(Y))},n.promisify.custom=je;function Ne(Y,pe){if(!Y){var ve=new Error("Promise was rejected with a falsy value");ve.reason=Y,Y=ve}return pe(Y)}function Ge(Y){if(typeof Y!="function")throw new TypeError('The "original" argument must be of type Function');function pe(){for(var ve=[],Ve=0;Ve<arguments.length;Ve++)ve.push(arguments[Ve]);var ht=ve.pop();if(typeof ht!="function")throw new TypeError("The last argument must be of type Function");var gt=this,ot=function(){return ht.apply(gt,arguments)};Y.apply(this,ve).then(function(ft){_t.nextTick(ot.bind(null,null,ft))},function(ft){_t.nextTick(Ne.bind(null,ft,ot))})}return Object.setPrototypeOf(pe,Object.getPrototypeOf(Y)),Object.defineProperties(pe,r(Y)),pe}n.callbackify=Ge})(c3);const{inherits:XZ,format:k4}=c3;function _c(n,r,i=Error){if(!n)throw new Error("Avvio error code must not be empty");if(!r)throw new Error("Avvio base error message must not be empty");function u(c,p,m){if(!new.target)return new u(c,p,m);Error.captureStackTrace(this,u),this.code=n,this.message=r,this.name="AvvioError",c&&p&&m?this.message=k4(r,c,p,m):c&&p?this.message=k4(r,c,p):c?this.message=k4(r,c):this.message=r}return u.prototype[Symbol.toStringTag]="Error",u.prototype.toString=function(){return`${this.name} [${this.code}]: ${this.message}`},XZ(u,i),u}var wE={createError:_c,AVV_ERR_EXPOSE_ALREADY_DEFINED:_c("AVV_ERR_EXPOSE_ALREADY_DEFINED","'%s' () is already defined, specify an expose option"),AVV_ERR_CALLBACK_NOT_FN:_c("AVV_ERR_CALLBACK_NOT_FN","Callback for '%s' hook is not a function. Received: '%s'"),AVV_ERR_PLUGIN_NOT_VALID:_c("AVV_ERR_PLUGIN_NOT_VALID","Plugin must be a function or a promise. Received: '%s'"),AVV_ERR_ROOT_PLG_BOOTED:_c("AVV_ERR_PLUGIN_NOT_VALID","Root plugin has already booted"),AVV_ERR_PARENT_PLG_LOADED:_c("AVV_ERR_PARENT_PLG_LOADED","Impossible to load '%s' plugin because the parent '%s' was already loaded"),AVV_ERR_READY_TIMEOUT:_c("AVV_ERR_READY_TIMEOUT","Plugin did not start in time: '%s'. You may have forgotten to call 'done' function or to resolve a Promise")},eJ=function n(r,i,u){i===void 0&&(i=""),u||(u={});var c=function(S){var I={"│":"|","└":"`","├":"+","─":"-","┬":"-"};return u.unicode===!1?I[S]:S};typeof r=="string"&&(r={label:r});var p=r.nodes||[],m=(r.label||"").split(`
196
+ `),k=`
197
+ `+i+(p.length?c("│"):" ")+" ";return i+m.join(k)+`
198
+ `+p.map(function(S,I){var E=I===p.length-1,x=S.nodes&&S.nodes.length,P=i+(E?" ":c("│"))+" ";return i+c(E?"└":"├")+c("─")+c(x?"┬":"─")+" "+n(S,P,u).slice(i.length+2)}).join("")};const tJ=eJ,BT=Symbol("avvio.TimeTree.untrackNode"),b4=Symbol("avvio.TimeTree.trackNode"),zT=Symbol("avvio.TimeTree.getParent"),$T=Symbol("avvio.TimeTree.getNode"),HT=Symbol("avvio.TimeTree.addNode");let nJ=class{constructor(){this.root=null,this.tableId=new Map,this.tableLabel=new Map}[b4](n){this.tableId.set(n.id,n),this.tableLabel.has(n.label)?this.tableLabel.get(n.label).push(n):this.tableLabel.set(n.label,[n])}[BT](n){this.tableId.delete(n.id);const r=this.tableLabel.get(n.label);if(r.id){this.tableLabel.delete(n.label);return}r.pop(),r.length===0&&this.tableLabel.delete(n.label)}[zT](n){if(n===null)return this.root;const r=this.tableLabel.get(n);return r.id?r:r[r.length-1]}[$T](n){return this.tableId.get(n)}[HT](n,r,i){if(n===null)return this.root={id:"root",label:r,start:i,nodes:[]},this[b4](this.root),this.root.id;const u=this[zT](n),c=`${r}-${Math.random()}`,p={id:c,parent:n,start:i,label:r,nodes:[]};return u.nodes.push(p),this[b4](p),c}start(n,r,i=Date.now()){return this[HT](n,r,i)}stop(n,r=Date.now()){const i=this[$T](n);i&&(i.stop=r,i.diff=i.stop-i.start||0,this[BT](i))}toJSON(){return Object.assign({},this.root)}prittyPrint(){const n=i=>(i.label=`${i.label} ${i.diff} ms`,i.nodes.length>0&&(i.nodes=i.nodes.map(u=>n(u))),i),r=n(this.toJSON());return tJ(r)}};var aJ=nJ,z9={exports:{}},t9={exports:{}},T4,GT;function rJ(){if(GT)return T4;GT=1;var n=1e3,r=n*60,i=r*60,u=i*24,c=u*7,p=u*365.25;T4=function(E,x){x=x||{};var P=typeof E;if(P==="string"&&E.length>0)return m(E);if(P==="number"&&isFinite(E))return x.long?S(E):k(E);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(E))};function m(E){if(E=String(E),!(E.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(E);if(x){var P=parseFloat(x[1]),A=(x[2]||"ms").toLowerCase();switch(A){case"years":case"year":case"yrs":case"yr":case"y":return P*p;case"weeks":case"week":case"w":return P*c;case"days":case"day":case"d":return P*u;case"hours":case"hour":case"hrs":case"hr":case"h":return P*i;case"minutes":case"minute":case"mins":case"min":case"m":return P*r;case"seconds":case"second":case"secs":case"sec":case"s":return P*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return P;default:return}}}}function k(E){var x=Math.abs(E);return x>=u?Math.round(E/u)+"d":x>=i?Math.round(E/i)+"h":x>=r?Math.round(E/r)+"m":x>=n?Math.round(E/n)+"s":E+"ms"}function S(E){var x=Math.abs(E);return x>=u?I(E,x,u,"day"):x>=i?I(E,x,i,"hour"):x>=r?I(E,x,r,"minute"):x>=n?I(E,x,n,"second"):E+" ms"}function I(E,x,P,A){var F=x>=P*1.5;return Math.round(E/P)+" "+A+(F?"s":"")}return T4}function oJ(n){i.debug=i,i.default=i,i.coerce=S,i.disable=p,i.enable=c,i.enabled=m,i.humanize=rJ(),i.destroy=I,Object.keys(n).forEach(E=>{i[E]=n[E]}),i.names=[],i.skips=[],i.formatters={};function r(E){let x=0;for(let P=0;P<E.length;P++)x=(x<<5)-x+E.charCodeAt(P),x|=0;return i.colors[Math.abs(x)%i.colors.length]}i.selectColor=r;function i(E){let x,P=null,A,F;function V(...$){if(!V.enabled)return;const B=V,H=Number(new Date),X=H-(x||H);B.diff=X,B.prev=x,B.curr=H,x=H,$[0]=i.coerce($[0]),typeof $[0]!="string"&&$.unshift("%O");let ee=0;$[0]=$[0].replace(/%([a-zA-Z%])/g,(ie,fe)=>{if(ie==="%%")return"%";ee++;const ce=i.formatters[fe];if(typeof ce=="function"){const Le=$[ee];ie=ce.call(B,Le),$.splice(ee,1),ee--}return ie}),i.formatArgs.call(B,$),(B.log||i.log).apply(B,$)}return V.namespace=E,V.useColors=i.useColors(),V.color=i.selectColor(E),V.extend=u,V.destroy=i.destroy,Object.defineProperty(V,"enabled",{enumerable:!0,configurable:!1,get:()=>P!==null?P:(A!==i.namespaces&&(A=i.namespaces,F=i.enabled(E)),F),set:$=>{P=$}}),typeof i.init=="function"&&i.init(V),V}function u(E,x){const P=i(this.namespace+(typeof x>"u"?":":x)+E);return P.log=this.log,P}function c(E){i.save(E),i.namespaces=E,i.names=[],i.skips=[];let x;const P=(typeof E=="string"?E:"").split(/[\s,]+/),A=P.length;for(x=0;x<A;x++)P[x]&&(E=P[x].replace(/\*/g,".*?"),E[0]==="-"?i.skips.push(new RegExp("^"+E.slice(1)+"$")):i.names.push(new RegExp("^"+E+"$")))}function p(){const E=[...i.names.map(k),...i.skips.map(k).map(x=>"-"+x)].join(",");return i.enable(""),E}function m(E){if(E[E.length-1]==="*")return!0;let x,P;for(x=0,P=i.skips.length;x<P;x++)if(i.skips[x].test(E))return!1;for(x=0,P=i.names.length;x<P;x++)if(i.names[x].test(E))return!0;return!1}function k(E){return E.toString().substring(2,E.toString().length-2).replace(/\.\*\?$/,"*")}function S(E){return E instanceof Error?E.stack||E.message:E}function I(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return i.enable(i.load()),i}var sJ=oJ;(function(n,r){r.formatArgs=u,r.save=c,r.load=p,r.useColors=i,r.storage=m(),r.destroy=(()=>{let S=!1;return()=>{S||(S=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function i(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function u(S){if(S[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+S[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;const I="color: "+this.color;S.splice(1,0,I,"color: inherit");let E=0,x=0;S[0].replace(/%[a-zA-Z%]/g,P=>{P!=="%%"&&(E++,P==="%c"&&(x=E))}),S.splice(x,0,I)}r.log=console.debug||console.log||(()=>{});function c(S){try{S?r.storage.setItem("debug",S):r.storage.removeItem("debug")}catch{}}function p(){let S;try{S=r.storage.getItem("debug")}catch{}return!S&&typeof _t<"u"&&"env"in _t&&(S=_t.env.DEBUG),S}function m(){try{return localStorage}catch{}}n.exports=sJ(r);const{formatters:k}=n.exports;k.j=function(S){try{return JSON.stringify(S)}catch(I){return"[UnexpectedJSONParseError]: "+I.message}}})(t9,t9.exports);var EE=t9.exports;const iJ=Zw,lJ=sE.EventEmitter,uJ=c3.inherits,Pa=EE("avvio"),{AVV_ERR_READY_TIMEOUT:cJ}=wE,S4=Symbol.for("plugin-meta");function dJ(n,r){return n[S4]&&n[S4].name?n[S4].name:typeof r<"u"&&typeof r!="function"&&r.name?r.name:n.name?n.name:n.toString().split(`
199
+ `).slice(0,2).map(i=>i.trim()).join(" -- ")}function fJ(){const n={};return n.promise=new Promise((r,i)=>{n.resolve=r,n.reject=i}),n}function pf(n,r,i,u,c){this.started=!1,this.func=r,this.opts=i,this.onFinish=null,this.parent=n,this.timeout=c===void 0?n._timeout:c,this.name=dJ(r,i),this.isAfter=u,this.q=iJ(n,mJ,1),this.q.pause(),this._error=null,this.loaded=!1,this._promise=null}uJ(pf,lJ);pf.prototype.exec=function(n,r){const i=this.func;let u=!1;const c=this.name;if(this.parent._error&&!this.isAfter){Pa("skipping loading of plugin as parent errored and it is not an after",c),_t.nextTick(r);return}if(this.isAfter)this.server=n;else try{this.server=this.parent.override(n,i,this.opts)}catch(S){return Pa("override errored",c),r(S)}this.opts=typeof this.opts=="function"?this.opts(this.server):this.opts,Pa("exec",c);let p;const m=S=>{if(u){Pa("loading complete",c);return}this._error=S,Pa(S?"exec errored":"exec completed",c),u=!0,p&&clearTimeout(p),r(S)};this.timeout>0&&(Pa("setting up timeout",c,this.timeout),p=setTimeout(function(){Pa("timed out",c),p=null;const S=new cJ(c);S.fn=i,m(S)},this.timeout)),this.started=!0,this.emit("start",this.server?this.server.name:null,this.name,Date.now());const k=i(this.server,this.opts,m);k&&typeof k.then=="function"&&(Pa("exec: resolving promise",c),k.then(()=>_t.nextTick(m),S=>_t.nextTick(m,S)))};pf.prototype.loadedSoFar=function(){if(this.loaded)return Promise.resolve();const n=()=>{this.server.after((i,u)=>{this._error=i,this.q.pause(),i?(Pa("rejecting promise",this.name,i),this._promise.reject(i)):(Pa("resolving promise",this.name),this._promise.resolve()),this._promise=null,_t.nextTick(u,i)}),this.q.resume()};let r;return this._promise?r=Promise.resolve():(this._promise=fJ(),r=this._promise.promise,this.server?n():this.on("start",n)),r};pf.prototype.enqueue=function(n,r){Pa("enqueue",this.name,n.name),this.emit("enqueue",this.server?this.server.name:null,this.name,Date.now()),this.q.push(n,r)};pf.prototype.finish=function(n,r){Pa("finish",this.name,n);const i=()=>{this.loaded||(Pa("loaded",this.name),this.emit("loaded",this.server?this.server.name:null,this.name,Date.now()),this.loaded=!0,r(n))};if(n){this._promise&&(this._promise.reject(n),this._promise=null),i();return}const u=()=>{if(Pa("check",this.name,this.q.length(),this.q.running(),this._promise),this.q.length()===0&&this.q.running()===0)if(this._promise){const c=()=>{Pa("wrap"),queueMicrotask(u)};this._promise.resolve(),this._promise.promise.then(c,c),this._promise=null}else i();else Pa("delayed",this.name),this.q.drain=()=>{Pa("drain",this.name),this.q.drain=pJ,queueMicrotask(u)}};queueMicrotask(u),this.q.resume()};function mJ(n,r){const i=this;_t.nextTick($9.bind(i),n,r)}function $9(n,r){if(typeof n.func.then=="function"){n.func.then(u=>{typeof u.default=="function"&&(u=u.default),n.func=u,$9.call(this,n,r)},r);return}const i=this._current[0];this._current.unshift(n),n.exec(i&&i.server||this._server,u=>{n.finish(u,c=>{this._current.shift(),r(c)})})}function pJ(){}z9.exports=pf;z9.exports.loadPlugin=$9;var hJ=z9.exports;const qT=Zw,gJ=sE.EventEmitter,yJ=c3.inherits,{AVV_ERR_EXPOSE_ALREADY_DEFINED:w4,AVV_ERR_CALLBACK_NOT_FN:Bp,AVV_ERR_PLUGIN_NOT_VALID:vJ,AVV_ERR_ROOT_PLG_BOOTED:kJ,AVV_ERR_READY_TIMEOUT:bJ}=wE,TJ=aJ,n9=hJ,uf=EE("avvio"),Gg=Symbol("kAvvio"),E4=Symbol("kThenifyDoNotWrap");function SJ(n,r,i){const u=r.expose||{},c=u.use||"use",p=u.after||"after",m=u.ready||"ready",k=u.onClose||"onClose",S=u.close||"close";if(n[c])throw new w4(c);if(n[p])throw new w4(p);if(n[m])throw new w4(m);n[c]=function(I,E){return i.use(I,E),this},Object.defineProperty(n,"then",{get:CE.bind(i)}),n[Gg]=!0,n[p]=function(I){return typeof I!="function"?i._loadRegistered():(i.after(C4(I,this)),this)},n[m]=function(I){if(I&&typeof I!="function")throw new Bp(m,typeof I);return i.ready(I?C4(I,this):void 0)},n[k]=function(I){if(typeof I!="function")throw new Bp(k,typeof I);return i.onClose(RJ(I,this)),this},n[S]=function(I){if(I&&typeof I!="function")throw new Bp(S,typeof I);return I?(i.close(C4(I,this)),this):i.close()}}function Ta(n,r,i){if(typeof n=="function"&&arguments.length===1&&(i=n,r={},n=null),typeof r=="function"&&(i=r,r={}),r=r||{},!(this instanceof Ta)){const u=new Ta(n,r,i);return n&&SJ(n,r,u),u}r.autostart!==!1&&(r.autostart=!0),n=n||this,this._timeout=Number(r.timeout)||0,this._server=n,this._current=[],this._error=null,this._isOnCloseHandlerKey=Symbol("isOnCloseHandler"),this._lastUsed=null,this.setMaxListeners(0),i&&this.once("start",i),this.started=!1,this.booted=!1,this.pluginTree=new TJ,this._readyQ=qT(this,_E,1),this._readyQ.pause(),this._readyQ.drain=()=>{this.emit("start"),this._readyQ.drain=WT},this._closeQ=qT(this,_J,1),this._closeQ.pause(),this._closeQ.drain=()=>{this.emit("close"),this._closeQ.drain=WT},this._doStart=null,this._root=new n9(this,wJ.bind(this),r,!1,0),this._root.once("start",(u,c,p)=>{const m=this.pluginTree.start(null,c,p);this._root.once("loaded",(k,S,I)=>{this.pluginTree.stop(m,I)})}),n9.loadPlugin.call(this,this._root,u=>{uf("root plugin ready");try{this.emit("preReady"),this._root=null}catch(c){u=u||this._error||c}if(u){if(this._error=u,this._readyQ.length()===0)throw u}else this.booted=!0;this._readyQ.resume()})}function wJ(n,r,i){this._doStart=i,r.autostart&&this.start()}yJ(Ta,gJ);Ta.prototype.start=function(){return this.started=!0,_t.nextTick(this._doStart),this};Ta.prototype.override=function(n,r,i){return n};function EJ(n){if(n&&typeof n=="object"&&typeof n.default=="function"&&(n=n.default),!(n&&(typeof n=="function"||typeof n.then=="function")))throw new vJ(typeof n);return n}Ta.prototype[Gg]=!0;Ta.prototype.use=function(n,r){return this._lastUsed=this._addPlugin(n,r,!1),this};Ta.prototype._loadRegistered=function(){const n=this._current[0];return!this.started&&!this.booted&&_t.nextTick(()=>this._root.q.resume()),n?n.loadedSoFar():Promise.resolve()};Object.defineProperty(Ta.prototype,"then",{get:CE});Ta.prototype._addPlugin=function(n,r,i){if(n=EJ(n),r=r||{},this.booted)throw new kJ;const u=this._current[0],c=new n9(this,n,r,i);if(c.once("start",(p,m,k)=>{const S=this.pluginTree.start(u.name,m,k);c.once("loaded",(I,E,x)=>{this.pluginTree.stop(S,x)})}),u.loaded)throw new Error(c.name,u.name);return u.enqueue(c,p=>{p&&(this._error=p)}),c};Ta.prototype.after=function(n){if(!n)return this._loadRegistered();this._addPlugin(r.bind(this),{},!0);function r(i,u,c){_E.call(this,n,c)}return this};Ta.prototype.onClose=function(n){if(typeof n!="function")throw new Error("not a function");n[this._isOnCloseHandlerKey]=!0,this._closeQ.unshift(n,r.bind(this));function r(i){i&&(this._error=i)}return this};Ta.prototype.close=function(n){let r;if(n){if(typeof n!="function")throw new Bp("close",typeof n)}else r=new Promise(function(i,u){n=function(c){if(c)return u(c);i()}});return this.ready(()=>{this._error=null,this._closeQ.push(n),_t.nextTick(this._closeQ.resume.bind(this._closeQ))}),r};Ta.prototype.ready=function(n){if(n){if(typeof n!="function")throw new Bp("ready",typeof n);this._readyQ.push(n),queueMicrotask(this.start.bind(this));return}return new Promise((r,i)=>{this._readyQ.push(c),this.start();const u=this._current[0].server;function c(p,m,k){p?i(p):r(u),_t.nextTick(k)}})};Ta.prototype.prettyPrint=function(){return this.pluginTree.prittyPrint()};Ta.prototype.toJSON=function(){return this.pluginTree.toJSON()};function WT(){}function CE(){if(this.booted){uf("thenify returning null because we are already booted");return}if(this[E4]){this[E4]=!1;return}return uf("thenify"),(n,r)=>this._loadRegistered().then(()=>(this[E4]=!0,n(this._server)),r)}function _E(n,r){const i=this._server,u=this._error;let c;if(this._error=null,n.length===0)this._error=u,c=n(),c&&!c[Gg]&&typeof c.then=="function"?c.then(()=>_t.nextTick(r),p=>_t.nextTick(r,p)):_t.nextTick(r);else if(n.length===1)c=n(u),c&&!c[Gg]&&typeof c.then=="function"?c.then(()=>_t.nextTick(r),p=>_t.nextTick(r,p)):_t.nextTick(r);else if(this._timeout===0){const p=m=>{this._error=m,r(this._error)};n.length===2?n(u,p):n(u,i,p)}else CJ.call(this,n,u,i,r)}function CJ(n,r,i,u){const c=n.name;uf("setting up ready timeout",c,this._timeout);let p=setTimeout(()=>{uf("timed out",c),p=null;const k=new bJ(c);k.fn=n,this._error=k,u(k)},this._timeout);n.length===2?n(r,m.bind(this)):n(r,i,m.bind(this));function m(k){p&&(clearTimeout(p),this._error=k,u(this._error))}}function _J(n,r){const i=this._server,u=n[this._isOnCloseHandlerKey];if(n.length===0||n.length===1){let c;u?c=n(i):c=n(this._error),c&&typeof c.then=="function"?(uf("resolving close/onClose promise"),c.then(()=>_t.nextTick(r),p=>_t.nextTick(r,p))):_t.nextTick(r)}else n.length===2?n(u?i:this._error,r):u?n(i,r):n(this._error,i,r)}function RJ(n,r){return i.bind(r);function i(u,c){let p;n.length===0?(p=n(),p&&p.then?p.then(function(){_t.nextTick(c)},c):_t.nextTick(c)):n.length===1?(p=n(this),p&&p.then?p.then(function(){_t.nextTick(c)},c):_t.nextTick(c)):n(this,c)}}function C4(n,r){return i.bind(r);function i(u,c){let p;n?n.length===0?(p=n(),p&&p.then?p.then(function(){_t.nextTick(c,u)},c):_t.nextTick(c,u)):n.length===1?(p=n(u),p&&p.then?p.then(function(){_t.nextTick(c)},c):_t.nextTick(c)):n.length===2?n(u,c):n(u,this,c):_t.nextTick(c)}}A9.exports=Ta;A9.exports.express=function(n){return Ta(n,{expose:{use:"load"}})};var IJ=A9.exports;const NJ=QY(IJ);(function(){if(window.requestAnimationFrame&&window.cancelAnimationFrame)return;const n=["webkit","moz","ms","o"];for(const r of n)window.requestAnimationFrame=window.requestAnimationFrame||window[`${r}RequestAnimationFrame`],window.cancelAnimationFrame=window.cancelAnimationFrame||window[`${r}CancelAnimationFrame`]||window[`${r}CancelRequestAnimationFrame`];if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){let r=0;const i=!!(window.performance&&window.performance.now);window.requestAnimationFrame=function(u){const c=i?window.performance.now():new Date().getTime(),p=Math.max(0,16-(c-r)),m=window.setTimeout(function(){u(c+p)},p);return r=c+p,m},window.cancelAnimationFrame=clearTimeout}})();function LJ(n,r=!0,i=!0,u){console.log("start sdk");const c=r?"https://grpc-sdk.streamlayer.io:443":"https://grpc-sdk.next.streamlayer.io:443",p=NJ(Object.create({}),{autostart:!1});return p.use(xY),p.use(CY,{onDeepLinkHandled:u==null?void 0:u.onDeepLinkHandled}),p.use(LY,{videoPlayerController:u==null?void 0:u.videoPlayerController}),p.use(gY,{sdkKey:n,host:c,version:u==null?void 0:u.version}),p.use(NY),p.use(IY),p.use(kK),p.use(rK),i&&p.after(async(m,k,S)=>{if(m)throw m;await k.sdk.initializeApp(),S()}),p.onClose(()=>{console.log("close")}),p}const xJ=({sdkKey:n,plugins:r,production:i,autoEnable:u,onDeepLinkHandled:c,videoPlayerController:p})=>{const[m,k]=ue.useState(null);return ue.useEffect(()=>{let S=!1;if(!n)return console.error("streamlayer sdk key should be provided"),k(E=>(E!==null&&typeof E.disableApp=="function"&&E.disableApp(),null)),()=>{S=!0};const I=LJ(n,i,u,{version:"0.40.3",onDeepLinkHandled:c,videoPlayerController:p});if(r)for(const E of r)I.use(E);return I.ready().then(E=>{S||k(E.sdk)}).catch(E=>console.log(E)),()=>{S=!0,I.close(function(E){if(E)throw E})}},[n,i]),m};var RE=(n=>(n[n.UNSET=0]="UNSET",n[n.CONNECTED=1]="CONNECTED",n[n.READY=2]="READY",n))(RE||{});const H9=ue.createContext({status:0,sdk:null}),OJ=({sdkKey:n,plugins:r,children:i,production:u=!0,autoEnable:c=!0,onDeepLinkHandled:p,videoPlayerController:m})=>{const k=xJ({sdkKey:n,plugins:r,production:u,autoEnable:c,onDeepLinkHandled:p,videoPlayerController:m}),S=ue.useMemo(()=>k?{sdk:k,status:2}:{status:1,sdk:null},[k]);return ue.useEffect(()=>()=>{p&&(k==null||k.removeDeepLinkHandler(p)),m&&(k==null||k.removeVideoPlayerController(m))},[k]),ue.useEffect(()=>{console.log("StreamLayerProvider mounted with props:",{sdkKey:!!n,onDeepLinkHandled:!!p,videoPlayerController:!!m})},[n,p,m]),R.jsx(H9.Provider,{value:S,children:i})},AJ=({sdkKey:n,plugins:r,children:i,onDeepLinkHandled:u,videoPlayerController:c,production:p=!0})=>R.jsx(OJ,{sdkKey:n,plugins:r,production:p,autoEnable:!1,onDeepLinkHandled:u,videoPlayerController:c,children:i}),PJ=({children:n,overlays:r})=>{const{sdk:i,status:u}=ue.useContext(H9);return u===RE.UNSET?(console.error("Wrap app in `StreamLayerProvider`"),n({})):i?R.jsx("div",{className:"StreamLayerSDK",children:R.jsx(QT,{style:{height:"100%"},children:R.jsx(fH,{sdk:i,overlays:r,children:n})})}):n({})};class MJ extends ue.Component{constructor(r){super(r),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(r,i){console.error(r,i.componentStack)}render(){return this.state.hasError?this.props.children({}):R.jsx(PJ,{...this.props})}}const IE=()=>{const{sdk:n}=ue.useContext(H9);return n},DJ=({token:n,schema:r})=>{const i=IE();return ue.useEffect(()=>{n&&r&&i&&i.authorizationBypass(r,n)},[n,r,i]),null},UJ=U("div")({name:"PointsContainer",class:"psiob9b",propsAsIs:!1}),FJ=U("div")({name:"PointsIcon",class:"p1gqe4lh",propsAsIs:!1}),jJ=()=>Mt,VJ=U(jJ())({name:"PointsSvg",class:"p15syg2y",propsAsIs:!0}),BJ=U("div")({name:"PointsBody",class:"p12n4f2h",propsAsIs:!1}),zJ=U("div")({name:"PointsTitle",class:"poqmx89",propsAsIs:!1}),$J=U("div")({name:"PointsValue",class:"prj9b3v",propsAsIs:!1}),HJ=({points:n})=>R.jsxs(UJ,{className:kg,children:[R.jsx(FJ,{children:R.jsx(VJ,{name:"icon-trophy"})}),R.jsxs(BJ,{children:[R.jsx(zJ,{children:"Total points"}),R.jsx($J,{children:R.jsx(e3,{value:n})})]})]}),GJ=({userSummary:n})=>{const[r,i]=ue.useState(0);return ue.useEffect(()=>{const u=n.subscribe(c=>{var p,m;(m=(p=c.data)==null?void 0:p.summary)!=null&&m.points&&i(c.data.summary.points)});return()=>{u()}},[n]),R.jsx(HJ,{points:r})},qJ=({sdk:n})=>{const[r,i]=hw(n);return r!==Rn.GAMES||!i?null:R.jsx(GJ,{userSummary:i.userSummary.getStore()})},WJ=()=>{const n=IE();return n?R.jsx("div",{className:"StreamLayerSDK",children:R.jsx(QT,{children:R.jsx(qJ,{sdk:n})})}):null},NE=Object.freeze(Object.defineProperty({__proto__:null,default:nB},Symbol.toStringTag,{value:"Module"}));exports.MastersStreamLayerProvider=AJ;exports.MastersStreamLayerSDKReact=MJ;exports.StreamLayerLogin=DJ;exports.StreamLayerSDKPoints=WJ;