diff --git a/docs/assets/index-BUR3lksB.js b/docs/assets/index-BUR3lksB.js new file mode 100644 index 0000000..b873434 --- /dev/null +++ b/docs/assets/index-BUR3lksB.js @@ -0,0 +1,660 @@ +function bW(t,e){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function wW(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var IP={exports:{}},_4={},_P={exports:{}},Ut={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Dv=Symbol.for("react.element"),CW=Symbol.for("react.portal"),xW=Symbol.for("react.fragment"),IW=Symbol.for("react.strict_mode"),_W=Symbol.for("react.profiler"),LW=Symbol.for("react.provider"),AW=Symbol.for("react.context"),RW=Symbol.for("react.forward_ref"),OW=Symbol.for("react.suspense"),NW=Symbol.for("react.memo"),PW=Symbol.for("react.lazy"),GL=Symbol.iterator;function DW(t){return t===null||typeof t!="object"?null:(t=GL&&t[GL]||t["@@iterator"],typeof t=="function"?t:null)}var LP={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},AP=Object.assign,RP={};function t0(t,e,n){this.props=t,this.context=e,this.refs=RP,this.updater=n||LP}t0.prototype.isReactComponent={};t0.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};t0.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function OP(){}OP.prototype=t0.prototype;function s7(t,e,n){this.props=t,this.context=e,this.refs=RP,this.updater=n||LP}var o7=s7.prototype=new OP;o7.constructor=s7;AP(o7,t0.prototype);o7.isPureReactComponent=!0;var zL=Array.isArray,NP=Object.prototype.hasOwnProperty,l7={current:null},PP={key:!0,ref:!0,__self:!0,__source:!0};function DP(t,e,n){var r,i={},o=null,l=null;if(e!=null)for(r in e.ref!==void 0&&(l=e.ref),e.key!==void 0&&(o=""+e.key),e)NP.call(e,r)&&!PP.hasOwnProperty(r)&&(i[r]=e[r]);var c=arguments.length-2;if(c===1)i.children=n;else if(1>>1,Y=ne[Oe];if(0>>1;Oei(Ve,ee))Kei(ot,Ve)?(ne[Oe]=ot,ne[Ke]=ee,Oe=Ke):(ne[Oe]=Ve,ne[Ee]=ee,Oe=Ee);else if(Kei(ot,ee))ne[Oe]=ot,ne[Ke]=ee,Oe=Ke;else break e}}return re}function i(ne,re){var ee=ne.sortIndex-re.sortIndex;return ee!==0?ee:ne.id-re.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var l=Date,c=l.now();t.unstable_now=function(){return l.now()-c}}var h=[],m=[],y=1,T=null,E=3,b=!1,w=!1,x=!1,A=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function P(ne){for(var re=n(m);re!==null;){if(re.callback===null)r(m);else if(re.startTime<=ne)r(m),re.sortIndex=re.expirationTime,e(h,re);else break;re=n(m)}}function $(ne){if(x=!1,P(ne),!w)if(n(h)!==null)w=!0,De(U);else{var re=n(m);re!==null&&nt($,re.startTime-ne)}}function U(ne,re){w=!1,x&&(x=!1,R(q),q=-1),b=!0;var ee=E;try{for(P(re),T=n(h);T!==null&&(!(T.expirationTime>re)||ne&&!me());){var Oe=T.callback;if(typeof Oe=="function"){T.callback=null,E=T.priorityLevel;var Y=Oe(T.expirationTime<=re);re=t.unstable_now(),typeof Y=="function"?T.callback=Y:T===n(h)&&r(h),P(re)}else r(h);T=n(h)}if(T!==null)var oe=!0;else{var Ee=n(m);Ee!==null&&nt($,Ee.startTime-re),oe=!1}return oe}finally{T=null,E=ee,b=!1}}var G=!1,B=null,q=-1,le=5,X=-1;function me(){return!(t.unstable_now()-Xne||125Oe?(ne.sortIndex=ee,e(m,ne),n(h)===null&&ne===n(m)&&(x?(R(q),q=-1):x=!0,nt($,ee-Oe))):(ne.sortIndex=Y,e(h,ne),w||b||(w=!0,De(U))),ne},t.unstable_shouldYield=me,t.unstable_wrapCallback=function(ne){var re=E;return function(){var ee=E;E=re;try{return ne.apply(this,arguments)}finally{E=ee}}}})($P);BP.exports=$P;var WW=BP.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var KW=H,vs=WW;function Pe(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g9=Object.prototype.hasOwnProperty,YW=/^[: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]*$/,WL={},KL={};function qW(t){return g9.call(KL,t)?!0:g9.call(WL,t)?!1:YW.test(t)?KL[t]=!0:(WL[t]=!0,!1)}function QW(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function XW(t,e,n,r){if(e===null||typeof e>"u"||QW(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function ya(t,e,n,r,i,o,l){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=l}var wi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){wi[t]=new ya(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];wi[e]=new ya(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){wi[t]=new ya(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){wi[t]=new ya(t,2,!1,t,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(t){wi[t]=new ya(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){wi[t]=new ya(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){wi[t]=new ya(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){wi[t]=new ya(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){wi[t]=new ya(t,5,!1,t.toLowerCase(),null,!1,!1)});var c7=/[\-:]([a-z])/g;function d7(t){return t[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(t){var e=t.replace(c7,d7);wi[e]=new ya(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(c7,d7);wi[e]=new ya(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(c7,d7);wi[e]=new ya(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){wi[t]=new ya(t,1,!1,t.toLowerCase(),null,!1,!1)});wi.xlinkHref=new ya("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){wi[t]=new ya(t,1,!1,t.toLowerCase(),null,!0,!0)});function f7(t,e,n,r){var i=wi.hasOwnProperty(e)?wi[e]:null;(i!==null?i.type!==0:r||!(2c||i[l]!==o[c]){var h=` +`+i[l].replace(" at new "," at ");return t.displayName&&h.includes("")&&(h=h.replace("",t.displayName)),h}while(1<=l&&0<=c);break}}}finally{Gb=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?By(t):""}function ZW(t){switch(t.tag){case 5:return By(t.type);case 16:return By("Lazy");case 13:return By("Suspense");case 19:return By("SuspenseList");case 0:case 2:case 15:return t=zb(t.type,!1),t;case 11:return t=zb(t.type.render,!1),t;case 1:return t=zb(t.type,!0),t;default:return""}}function S9(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case s1:return"Fragment";case a1:return"Portal";case y9:return"Profiler";case h7:return"StrictMode";case v9:return"Suspense";case T9:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case zP:return(t.displayName||"Context")+".Consumer";case GP:return(t._context.displayName||"Context")+".Provider";case m7:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case p7:return e=t.displayName||null,e!==null?e:S9(t.type)||"Memo";case Ad:e=t._payload,t=t._init;try{return S9(t(e))}catch{}}return null}function JW(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return S9(e);case 8:return e===h7?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Wd(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function HP(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function eK(t){var e=HP(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function aS(t){t._valueTracker||(t._valueTracker=eK(t))}function WP(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=HP(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function _E(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function E9(t,e){var n=e.checked;return Gn({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function qL(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=Wd(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function KP(t,e){e=e.checked,e!=null&&f7(t,"checked",e,!1)}function k9(t,e){KP(t,e);var n=Wd(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?b9(t,e.type,n):e.hasOwnProperty("defaultValue")&&b9(t,e.type,Wd(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function QL(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function b9(t,e,n){(e!=="number"||_E(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var $y=Array.isArray;function k1(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i"+e.valueOf().toString()+"",e=sS.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function uv(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Ky={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},tK=["Webkit","ms","Moz","O"];Object.keys(Ky).forEach(function(t){tK.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Ky[e]=Ky[t]})});function XP(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||Ky.hasOwnProperty(t)&&Ky[t]?(""+e).trim():e+"px"}function ZP(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=XP(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var nK=Gn({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 x9(t,e){if(e){if(nK[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(Pe(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(Pe(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(Pe(61))}if(e.style!=null&&typeof e.style!="object")throw Error(Pe(62))}}function I9(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){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 _9=null;function g7(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var L9=null,b1=null,w1=null;function JL(t){if(t=Uv(t)){if(typeof L9!="function")throw Error(Pe(280));var e=t.stateNode;e&&(e=N4(e),L9(t.stateNode,t.type,e))}}function JP(t){b1?w1?w1.push(t):w1=[t]:b1=t}function eD(){if(b1){var t=b1,e=w1;if(w1=b1=null,JL(t),e)for(t=0;t>>=0,t===0?32:31-(hK(t)/mK|0)|0}var oS=64,lS=4194304;function Vy(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function OE(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,i=t.suspendedLanes,o=t.pingedLanes,l=n&268435455;if(l!==0){var c=l&~i;c!==0?r=Vy(c):(o&=l,o!==0&&(r=Vy(o)))}else l=n&~i,l!==0?r=Vy(l):o!==0&&(r=Vy(o));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0n;n++)e.push(t);return e}function Mv(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Uo(e),t[e]=n}function vK(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0=qy),lA=" ",uA=!1;function SD(t,e){switch(t){case"keyup":return WK.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ED(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var o1=!1;function YK(t,e){switch(t){case"compositionend":return ED(e);case"keypress":return e.which!==32?null:(uA=!0,lA);case"textInput":return t=e.data,t===lA&&uA?null:t;default:return null}}function qK(t,e){if(o1)return t==="compositionend"||!w7&&SD(t,e)?(t=vD(),WS=E7=Dd=null,o1=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=hA(n)}}function CD(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?CD(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function xD(){for(var t=window,e=_E();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=_E(t.document)}return e}function C7(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function iY(t){var e=xD(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&CD(n.ownerDocument.documentElement,n)){if(r!==null&&C7(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!t.extend&&o>r&&(i=r,r=o,o=i),i=mA(n,o);var l=mA(n,r);i&&l&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==l.node||t.focusOffset!==l.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),o>r?(t.addRange(e),t.extend(l.node,l.offset)):(e.setEnd(l.node,l.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,l1=null,D9=null,Xy=null,M9=!1;function pA(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;M9||l1==null||l1!==_E(r)||(r=l1,"selectionStart"in r&&C7(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Xy&&pv(Xy,r)||(Xy=r,r=DE(D9,"onSelect"),0d1||(t.current=G9[d1],G9[d1]=null,d1--)}function Sn(t,e){d1++,G9[d1]=t.current,t.current=e}var Kd={},Qi=tf(Kd),Ka=tf(!1),Gh=Kd;function U1(t,e){var n=t.type.contextTypes;if(!n)return Kd;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=e[o];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Ya(t){return t=t.childContextTypes,t!=null}function FE(){xn(Ka),xn(Qi)}function kA(t,e,n){if(Qi.current!==Kd)throw Error(Pe(168));Sn(Qi,e),Sn(Ka,n)}function DD(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(Pe(108,JW(t)||"Unknown",i));return Gn({},n,r)}function UE(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Kd,Gh=Qi.current,Sn(Qi,t),Sn(Ka,Ka.current),!0}function bA(t,e,n){var r=t.stateNode;if(!r)throw Error(Pe(169));n?(t=DD(t,e,Gh),r.__reactInternalMemoizedMergedChildContext=t,xn(Ka),xn(Qi),Sn(Qi,t)):xn(Ka),Sn(Ka,n)}var Ku=null,P4=!1,r5=!1;function MD(t){Ku===null?Ku=[t]:Ku.push(t)}function gY(t){P4=!0,MD(t)}function nf(){if(!r5&&Ku!==null){r5=!0;var t=0,e=on;try{var n=Ku;for(on=1;t>=l,i-=l,Ju=1<<32-Uo(e)+i|n<q?(le=B,B=null):le=B.sibling;var X=E(R,B,P[q],$);if(X===null){B===null&&(B=le);break}t&&B&&X.alternate===null&&e(R,B),N=o(X,N,q),G===null?U=X:G.sibling=X,G=X,B=le}if(q===P.length)return n(R,B),Nn&&kh(R,q),U;if(B===null){for(;qq?(le=B,B=null):le=B.sibling;var me=E(R,B,X.value,$);if(me===null){B===null&&(B=le);break}t&&B&&me.alternate===null&&e(R,B),N=o(me,N,q),G===null?U=me:G.sibling=me,G=me,B=le}if(X.done)return n(R,B),Nn&&kh(R,q),U;if(B===null){for(;!X.done;q++,X=P.next())X=T(R,X.value,$),X!==null&&(N=o(X,N,q),G===null?U=X:G.sibling=X,G=X);return Nn&&kh(R,q),U}for(B=r(R,B);!X.done;q++,X=P.next())X=b(B,R,q,X.value,$),X!==null&&(t&&X.alternate!==null&&B.delete(X.key===null?q:X.key),N=o(X,N,q),G===null?U=X:G.sibling=X,G=X);return t&&B.forEach(function(we){return e(R,we)}),Nn&&kh(R,q),U}function A(R,N,P,$){if(typeof P=="object"&&P!==null&&P.type===s1&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case iS:e:{for(var U=P.key,G=N;G!==null;){if(G.key===U){if(U=P.type,U===s1){if(G.tag===7){n(R,G.sibling),N=i(G,P.props.children),N.return=R,R=N;break e}}else if(G.elementType===U||typeof U=="object"&&U!==null&&U.$$typeof===Ad&&xA(U)===G.type){n(R,G.sibling),N=i(G,P.props),N.ref=Ry(R,G,P),N.return=R,R=N;break e}n(R,G);break}else e(R,G);G=G.sibling}P.type===s1?(N=Dh(P.props.children,R.mode,$,P.key),N.return=R,R=N):($=eE(P.type,P.key,P.props,null,R.mode,$),$.ref=Ry(R,N,P),$.return=R,R=$)}return l(R);case a1:e:{for(G=P.key;N!==null;){if(N.key===G)if(N.tag===4&&N.stateNode.containerInfo===P.containerInfo&&N.stateNode.implementation===P.implementation){n(R,N.sibling),N=i(N,P.children||[]),N.return=R,R=N;break e}else{n(R,N);break}else e(R,N);N=N.sibling}N=d5(P,R.mode,$),N.return=R,R=N}return l(R);case Ad:return G=P._init,A(R,N,G(P._payload),$)}if($y(P))return w(R,N,P,$);if(xy(P))return x(R,N,P,$);pS(R,P)}return typeof P=="string"&&P!==""||typeof P=="number"?(P=""+P,N!==null&&N.tag===6?(n(R,N.sibling),N=i(N,P),N.return=R,R=N):(n(R,N),N=c5(P,R.mode,$),N.return=R,R=N),l(R)):n(R,N)}return A}var $1=$D(!0),VD=$D(!1),VE=tf(null),GE=null,m1=null,L7=null;function A7(){L7=m1=GE=null}function R7(t){var e=VE.current;xn(VE),t._currentValue=e}function H9(t,e,n){for(;t!==null;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,r!==null&&(r.childLanes|=e)):r!==null&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function x1(t,e){GE=t,L7=m1=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(Wa=!0),t.firstContext=null)}function Ks(t){var e=t._currentValue;if(L7!==t)if(t={context:t,memoizedValue:e,next:null},m1===null){if(GE===null)throw Error(Pe(308));m1=t,GE.dependencies={lanes:0,firstContext:t}}else m1=m1.next=t;return e}var Ih=null;function O7(t){Ih===null?Ih=[t]:Ih.push(t)}function GD(t,e,n,r){var i=e.interleaved;return i===null?(n.next=n,O7(e)):(n.next=i.next,i.next=n),e.interleaved=n,cc(t,r)}function cc(t,e){t.lanes|=e;var n=t.alternate;for(n!==null&&(n.lanes|=e),n=t,t=t.return;t!==null;)t.childLanes|=e,n=t.alternate,n!==null&&(n.childLanes|=e),n=t,t=t.return;return n.tag===3?n.stateNode:null}var Rd=!1;function N7(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zD(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function oc(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function Gd(t,e,n){var r=t.updateQueue;if(r===null)return null;if(r=r.shared,Kt&2){var i=r.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),r.pending=e,cc(t,n)}return i=r.interleaved,i===null?(e.next=e,O7(r)):(e.next=i.next,i.next=e),r.interleaved=e,cc(t,n)}function YS(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194240)!==0)){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,v7(t,n)}}function IA(t,e){var n=t.updateQueue,r=t.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=e:o=o.next=e}else i=o=e;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function zE(t,e,n,r){var i=t.updateQueue;Rd=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,c=i.shared.pending;if(c!==null){i.shared.pending=null;var h=c,m=h.next;h.next=null,l===null?o=m:l.next=m,l=h;var y=t.alternate;y!==null&&(y=y.updateQueue,c=y.lastBaseUpdate,c!==l&&(c===null?y.firstBaseUpdate=m:c.next=m,y.lastBaseUpdate=h))}if(o!==null){var T=i.baseState;l=0,y=m=h=null,c=o;do{var E=c.lane,b=c.eventTime;if((r&E)===E){y!==null&&(y=y.next={eventTime:b,lane:0,tag:c.tag,payload:c.payload,callback:c.callback,next:null});e:{var w=t,x=c;switch(E=e,b=n,x.tag){case 1:if(w=x.payload,typeof w=="function"){T=w.call(b,T,E);break e}T=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=x.payload,E=typeof w=="function"?w.call(b,T,E):w,E==null)break e;T=Gn({},T,E);break e;case 2:Rd=!0}}c.callback!==null&&c.lane!==0&&(t.flags|=64,E=i.effects,E===null?i.effects=[c]:E.push(c))}else b={eventTime:b,lane:E,tag:c.tag,payload:c.payload,callback:c.callback,next:null},y===null?(m=y=b,h=T):y=y.next=b,l|=E;if(c=c.next,c===null){if(c=i.shared.pending,c===null)break;E=c,c=E.next,E.next=null,i.lastBaseUpdate=E,i.shared.pending=null}}while(!0);if(y===null&&(h=T),i.baseState=h,i.firstBaseUpdate=m,i.lastBaseUpdate=y,e=i.shared.interleaved,e!==null){i=e;do l|=i.lane,i=i.next;while(i!==e)}else o===null&&(i.shared.lanes=0);Hh|=l,t.lanes=l,t.memoizedState=T}}function _A(t,e,n){if(t=e.effects,e.effects=null,t!==null)for(e=0;en?n:4,t(!0);var r=a5.transition;a5.transition={};try{t(!1),e()}finally{on=n,a5.transition=r}}function sM(){return Ys().memoizedState}function SY(t,e,n){var r=jd(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oM(t))lM(e,n);else if(n=GD(t,e,n,r),n!==null){var i=ma();Bo(n,t,r,i),uM(n,e,r)}}function EY(t,e,n){var r=jd(t),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oM(t))lM(e,i);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var l=e.lastRenderedState,c=o(l,n);if(i.hasEagerState=!0,i.eagerState=c,Go(c,l)){var h=e.interleaved;h===null?(i.next=i,O7(e)):(i.next=h.next,h.next=i),e.interleaved=i;return}}catch{}finally{}n=GD(t,e,i,r),n!==null&&(i=ma(),Bo(n,t,r,i),uM(n,e,r))}}function oM(t){var e=t.alternate;return t===Vn||e!==null&&e===Vn}function lM(t,e){Zy=HE=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function uM(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,v7(t,n)}}var WE={readContext:Ks,useCallback:zi,useContext:zi,useEffect:zi,useImperativeHandle:zi,useInsertionEffect:zi,useLayoutEffect:zi,useMemo:zi,useReducer:zi,useRef:zi,useState:zi,useDebugValue:zi,useDeferredValue:zi,useTransition:zi,useMutableSource:zi,useSyncExternalStore:zi,useId:zi,unstable_isNewReconciler:!1},kY={readContext:Ks,useCallback:function(t,e){return wl().memoizedState=[t,e===void 0?null:e],t},useContext:Ks,useEffect:AA,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,QS(4194308,4,tM.bind(null,e,t),n)},useLayoutEffect:function(t,e){return QS(4194308,4,t,e)},useInsertionEffect:function(t,e){return QS(4,2,t,e)},useMemo:function(t,e){var n=wl();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=wl();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=SY.bind(null,Vn,t),[r.memoizedState,t]},useRef:function(t){var e=wl();return t={current:t},e.memoizedState=t},useState:LA,useDebugValue:V7,useDeferredValue:function(t){return wl().memoizedState=t},useTransition:function(){var t=LA(!1),e=t[0];return t=TY.bind(null,t[1]),wl().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=Vn,i=wl();if(Nn){if(n===void 0)throw Error(Pe(407));n=n()}else{if(n=e(),ni===null)throw Error(Pe(349));jh&30||KD(r,e,n)}i.memoizedState=n;var o={value:n,getSnapshot:e};return i.queue=o,AA(qD.bind(null,r,o,t),[t]),r.flags|=2048,bv(9,YD.bind(null,r,o,n,e),void 0,null),n},useId:function(){var t=wl(),e=ni.identifierPrefix;if(Nn){var n=ec,r=Ju;n=(r&~(1<<32-Uo(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=Ev++,0<\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=l.createElement(n,{is:r.is}):(t=l.createElement(n),n==="select"&&(l=t,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):t=l.createElementNS(t,n),t[Bl]=e,t[vv]=r,TM(t,e,!1,!1),e.stateNode=t;e:{switch(l=I9(n,r),n){case"dialog":Cn("cancel",t),Cn("close",t),i=r;break;case"iframe":case"object":case"embed":Cn("load",t),i=r;break;case"video":case"audio":for(i=0;iz1&&(e.flags|=128,r=!0,Oy(o,!1),e.lanes=4194304)}else{if(!r)if(t=jE(l),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Oy(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!Nn)return ji(e),null}else 2*or()-o.renderingStartTime>z1&&n!==1073741824&&(e.flags|=128,r=!0,Oy(o,!1),e.lanes=4194304);o.isBackwards?(l.sibling=e.child,e.child=l):(n=o.last,n!==null?n.sibling=l:e.child=l,o.last=l)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=or(),e.sibling=null,n=$n.current,Sn($n,r?n&1|2:n&1),e):(ji(e),null);case 22:case 23:return K7(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?hs&1073741824&&(ji(e),e.subtreeFlags&6&&(e.flags|=8192)):ji(e),null;case 24:return null;case 25:return null}throw Error(Pe(156,e.tag))}function AY(t,e){switch(I7(e),e.tag){case 1:return Ya(e.type)&&FE(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return V1(),xn(Ka),xn(Qi),M7(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return D7(e),null;case 13:if(xn($n),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(Pe(340));B1()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return xn($n),null;case 4:return V1(),null;case 10:return R7(e.type._context),null;case 22:case 23:return K7(),null;case 24:return null;default:return null}}var yS=!1,Yi=!1,RY=typeof WeakSet=="function"?WeakSet:Set,Ze=null;function p1(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Xn(t,e,r)}else n.current=null}function ew(t,e,n){try{n()}catch(r){Xn(t,e,r)}}var VA=!1;function OY(t,e){if(F9=NE,t=xD(),C7(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,c=-1,h=-1,m=0,y=0,T=t,E=null;t:for(;;){for(var b;T!==n||i!==0&&T.nodeType!==3||(c=l+i),T!==o||r!==0&&T.nodeType!==3||(h=l+r),T.nodeType===3&&(l+=T.nodeValue.length),(b=T.firstChild)!==null;)E=T,T=b;for(;;){if(T===t)break t;if(E===n&&++m===i&&(c=l),E===o&&++y===r&&(h=l),(b=T.nextSibling)!==null)break;T=E,E=T.parentNode}T=b}n=c===-1||h===-1?null:{start:c,end:h}}else n=null}n=n||{start:0,end:0}}else n=null;for(U9={focusedElem:t,selectionRange:n},NE=!1,Ze=e;Ze!==null;)if(e=Ze,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Ze=t;else for(;Ze!==null;){e=Ze;try{var w=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,A=w.memoizedState,R=e.stateNode,N=R.getSnapshotBeforeUpdate(e.elementType===e.type?x:No(e.type,x),A);R.__reactInternalSnapshotBeforeUpdate=N}break;case 3:var P=e.stateNode.containerInfo;P.nodeType===1?P.textContent="":P.nodeType===9&&P.documentElement&&P.removeChild(P.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Pe(163))}}catch($){Xn(e,e.return,$)}if(t=e.sibling,t!==null){t.return=e.return,Ze=t;break}Ze=e.return}return w=VA,VA=!1,w}function Jy(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&ew(e,n,o)}i=i.next}while(i!==r)}}function F4(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function tw(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function kM(t){var e=t.alternate;e!==null&&(t.alternate=null,kM(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Bl],delete e[vv],delete e[V9],delete e[mY],delete e[pY])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function bM(t){return t.tag===5||t.tag===3||t.tag===4}function GA(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||bM(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function nw(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=ME));else if(r!==4&&(t=t.child,t!==null))for(nw(t,e,n),t=t.sibling;t!==null;)nw(t,e,n),t=t.sibling}function rw(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(rw(t,e,n),t=t.sibling;t!==null;)rw(t,e,n),t=t.sibling}var vi=null,Do=!1;function Cd(t,e,n){for(n=n.child;n!==null;)wM(t,e,n),n=n.sibling}function wM(t,e,n){if(zl&&typeof zl.onCommitFiberUnmount=="function")try{zl.onCommitFiberUnmount(L4,n)}catch{}switch(n.tag){case 5:Yi||p1(n,e);case 6:var r=vi,i=Do;vi=null,Cd(t,e,n),vi=r,Do=i,vi!==null&&(Do?(t=vi,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):vi.removeChild(n.stateNode));break;case 18:vi!==null&&(Do?(t=vi,n=n.stateNode,t.nodeType===8?n5(t.parentNode,n):t.nodeType===1&&n5(t,n),hv(t)):n5(vi,n.stateNode));break;case 4:r=vi,i=Do,vi=n.stateNode.containerInfo,Do=!0,Cd(t,e,n),vi=r,Do=i;break;case 0:case 11:case 14:case 15:if(!Yi&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&ew(n,e,l),i=i.next}while(i!==r)}Cd(t,e,n);break;case 1:if(!Yi&&(p1(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(c){Xn(n,e,c)}Cd(t,e,n);break;case 21:Cd(t,e,n);break;case 22:n.mode&1?(Yi=(r=Yi)||n.memoizedState!==null,Cd(t,e,n),Yi=r):Cd(t,e,n);break;default:Cd(t,e,n)}}function zA(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new RY),e.forEach(function(r){var i=VY.bind(null,t,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Lo(t,e){var n=e.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=or()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*PY(r/1960))-r,10t?16:t,Md===null)var r=!1;else{if(t=Md,Md=null,qE=0,Kt&6)throw Error(Pe(331));var i=Kt;for(Kt|=4,Ze=t.current;Ze!==null;){var o=Ze,l=o.child;if(Ze.flags&16){var c=o.deletions;if(c!==null){for(var h=0;hor()-H7?Ph(t,0):j7|=n),qa(t,e)}function OM(t,e){e===0&&(t.mode&1?(e=lS,lS<<=1,!(lS&130023424)&&(lS=4194304)):e=1);var n=ma();t=cc(t,e),t!==null&&(Mv(t,e,n),qa(t,n))}function $Y(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),OM(t,n)}function VY(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(Pe(314))}r!==null&&r.delete(e),OM(t,n)}var NM;NM=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||Ka.current)Wa=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return Wa=!1,_Y(t,e,n);Wa=!!(t.flags&131072)}else Wa=!1,Nn&&e.flags&1048576&&FD(e,$E,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;XS(t,e),t=e.pendingProps;var i=U1(e,Qi.current);x1(e,n),i=U7(null,e,r,t,i,n);var o=B7();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Ya(r)?(o=!0,UE(e)):o=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,N7(e),i.updater=M4,e.stateNode=i,i._reactInternals=e,K9(e,r,t,n),e=Q9(null,e,r,!0,o,n)):(e.tag=0,Nn&&o&&x7(e),da(null,e,i,n),e=e.child),e;case 16:r=e.elementType;e:{switch(XS(t,e),t=e.pendingProps,i=r._init,r=i(r._payload),e.type=r,i=e.tag=zY(r),t=No(r,t),i){case 0:e=q9(null,e,r,t,n);break e;case 1:e=UA(null,e,r,t,n);break e;case 11:e=MA(null,e,r,t,n);break e;case 14:e=FA(null,e,r,No(r.type,t),n);break e}throw Error(Pe(306,r,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:No(r,i),q9(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:No(r,i),UA(t,e,r,i,n);case 3:e:{if(gM(e),t===null)throw Error(Pe(387));r=e.pendingProps,o=e.memoizedState,i=o.element,zD(t,e),zE(e,r,null,n);var l=e.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){i=G1(Error(Pe(423)),e),e=BA(t,e,r,n,i);break e}else if(r!==i){i=G1(Error(Pe(424)),e),e=BA(t,e,r,n,i);break e}else for(ps=Vd(e.stateNode.containerInfo.firstChild),gs=e,Nn=!0,Mo=null,n=VD(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(B1(),r===i){e=dc(t,e,n);break e}da(t,e,r,n)}e=e.child}return e;case 5:return jD(e),t===null&&j9(e),r=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,l=i.children,B9(r,i)?l=null:o!==null&&B9(r,o)&&(e.flags|=32),pM(t,e),da(t,e,l,n),e.child;case 6:return t===null&&j9(e),null;case 13:return yM(t,e,n);case 4:return P7(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=$1(e,null,r,n):da(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:No(r,i),MA(t,e,r,i,n);case 7:return da(t,e,e.pendingProps,n),e.child;case 8:return da(t,e,e.pendingProps.children,n),e.child;case 12:return da(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,i=e.pendingProps,o=e.memoizedProps,l=i.value,Sn(VE,r._currentValue),r._currentValue=l,o!==null)if(Go(o.value,l)){if(o.children===i.children&&!Ka.current){e=dc(t,e,n);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var c=o.dependencies;if(c!==null){l=o.child;for(var h=c.firstContext;h!==null;){if(h.context===r){if(o.tag===1){h=oc(-1,n&-n),h.tag=2;var m=o.updateQueue;if(m!==null){m=m.shared;var y=m.pending;y===null?h.next=h:(h.next=y.next,y.next=h),m.pending=h}}o.lanes|=n,h=o.alternate,h!==null&&(h.lanes|=n),H9(o.return,n,e),c.lanes|=n;break}h=h.next}}else if(o.tag===10)l=o.type===e.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(Pe(341));l.lanes|=n,c=l.alternate,c!==null&&(c.lanes|=n),H9(l,n,e),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===e){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}da(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,x1(e,n),i=Ks(i),r=r(i),e.flags|=1,da(t,e,r,n),e.child;case 14:return r=e.type,i=No(r,e.pendingProps),i=No(r.type,i),FA(t,e,r,i,n);case 15:return hM(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:No(r,i),XS(t,e),e.tag=1,Ya(r)?(t=!0,UE(e)):t=!1,x1(e,n),cM(e,r,i),K9(e,r,i,n),Q9(null,e,r,!0,t,n);case 19:return vM(t,e,n);case 22:return mM(t,e,n)}throw Error(Pe(156,e.tag))};function PM(t,e){return oD(t,e)}function GY(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zs(t,e,n,r){return new GY(t,e,n,r)}function q7(t){return t=t.prototype,!(!t||!t.isReactComponent)}function zY(t){if(typeof t=="function")return q7(t)?1:0;if(t!=null){if(t=t.$$typeof,t===m7)return 11;if(t===p7)return 14}return 2}function Hd(t,e){var n=t.alternate;return n===null?(n=zs(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function eE(t,e,n,r,i,o){var l=2;if(r=t,typeof t=="function")q7(t)&&(l=1);else if(typeof t=="string")l=5;else e:switch(t){case s1:return Dh(n.children,i,o,e);case h7:l=8,i|=8;break;case y9:return t=zs(12,n,e,i|2),t.elementType=y9,t.lanes=o,t;case v9:return t=zs(13,n,e,i),t.elementType=v9,t.lanes=o,t;case T9:return t=zs(19,n,e,i),t.elementType=T9,t.lanes=o,t;case jP:return B4(n,i,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case GP:l=10;break e;case zP:l=9;break e;case m7:l=11;break e;case p7:l=14;break e;case Ad:l=16,r=null;break e}throw Error(Pe(130,t==null?t:typeof t,""))}return e=zs(l,n,e,i),e.elementType=t,e.type=r,e.lanes=o,e}function Dh(t,e,n,r){return t=zs(7,t,r,e),t.lanes=n,t}function B4(t,e,n,r){return t=zs(22,t,r,e),t.elementType=jP,t.lanes=n,t.stateNode={isHidden:!1},t}function c5(t,e,n){return t=zs(6,t,null,e),t.lanes=n,t}function d5(t,e,n){return e=zs(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function jY(t,e,n,r,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Hb(0),this.expirationTimes=Hb(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hb(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Q7(t,e,n,r,i,o,l,c,h){return t=new jY(t,e,n,c,h),e===1?(e=1,o===!0&&(e|=8)):e=0,o=zs(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},N7(o),t}function HY(t,e,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(UM)}catch(t){console.error(t)}}UM(),UP.exports=Ts;var QY=UP.exports,XA=QY;p9.createRoot=XA.createRoot,p9.hydrateRoot=XA.hydrateRoot;const XY="modulepreload",ZY=function(t){return"/"+t},ZA={},JY=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.all(n.map(c=>{if(c=ZY(c),c in ZA)return;ZA[c]=!0;const h=c.endsWith(".css"),m=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${m}`))return;const y=document.createElement("link");if(y.rel=h?"stylesheet":XY,h||(y.as="script",y.crossOrigin=""),y.href=c,l&&y.setAttribute("nonce",l),document.head.appendChild(y),h)return new Promise((T,E)=>{y.addEventListener("load",T),y.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${c}`)))})}))}return i.then(()=>e()).catch(o=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o})};var eq=Object.defineProperty,tq=(t,e,n)=>e in t?eq(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,K=(t,e,n)=>tq(t,typeof e!="symbol"?e+"":e,n);function nq(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var BM={exports:{}},ur=BM.exports={},Cl,xl;function lw(){throw new Error("setTimeout has not been defined")}function uw(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Cl=setTimeout:Cl=lw}catch{Cl=lw}try{typeof clearTimeout=="function"?xl=clearTimeout:xl=uw}catch{xl=uw}})();function $M(t){if(Cl===setTimeout)return setTimeout(t,0);if((Cl===lw||!Cl)&&setTimeout)return Cl=setTimeout,setTimeout(t,0);try{return Cl(t,0)}catch{try{return Cl.call(null,t,0)}catch{return Cl.call(this,t,0)}}}function rq(t){if(xl===clearTimeout)return clearTimeout(t);if((xl===uw||!xl)&&clearTimeout)return xl=clearTimeout,clearTimeout(t);try{return xl(t)}catch{try{return xl.call(null,t)}catch{return xl.call(this,t)}}}var tc=[],_1=!1,Lh,tE=-1;function iq(){!_1||!Lh||(_1=!1,Lh.length?tc=Lh.concat(tc):tE=-1,tc.length&&VM())}function VM(){if(!_1){var t=$M(iq);_1=!0;for(var e=tc.length;e;){for(Lh=tc,tc=[];++tE1)for(var n=1;n-1?T:0,t.charCodeAt(b+1)){case 100:case 102:if(y>=h||e[y]==null)break;T=h||e[y]==null)break;T=h||e[y]===void 0)break;T",T=b+2,b++;break}m+=r(e[y]),T=b+2,b++;break;case 115:if(y>=h)break;T{r[i]=n[i]?n[i]:Cv[i]||Cv[cq[i]||"log"]||L1}),t[tC]=r}function fq(t,e){return Array.isArray(t)?t.filter(function(n){return n!=="!stdSerializers.err"}):t===!0?Object.keys(e):!1}function fc(t){t=t||{},t.browser=t.browser||{};const e=t.browser.transmit;if(e&&typeof e.send!="function")throw Error("pino: transmit option must have a send function");const n=t.browser.write||Cv;t.browser.write&&(t.browser.asObject=!0);const r=t.serializers||{},i=fq(t.browser.serialize,r);let o=t.browser.serialize;Array.isArray(t.browser.serialize)&&t.browser.serialize.indexOf("!stdSerializers.err")>-1&&(o=!1);const l=Object.keys(t.customLevels||{}),c=["error","fatal","warn","info","debug","trace"].concat(l);typeof n=="function"&&c.forEach(function(x){n[x]=n}),(t.enabled===!1||t.browser.disabled)&&(t.level="silent");const h=t.level||"info",m=Object.create(n);m.log||(m.log=L1),dq(m,c,n),tR({},m),Object.defineProperty(m,"levelVal",{get:T}),Object.defineProperty(m,"level",{get:E,set:b});const y={transmit:e,serialize:i,asObject:t.browser.asObject,formatters:t.browser.formatters,levels:c,timestamp:Sq(t),messageKey:t.messageKey||"msg",onChild:t.onChild||L1};m.levels=hq(t),m.level=h,m.setMaxListeners=m.getMaxListeners=m.emit=m.addListener=m.on=m.prependListener=m.once=m.prependOnceListener=m.removeListener=m.removeAllListeners=m.listeners=m.listenerCount=m.eventNames=m.write=m.flush=L1,m.serializers=r,m._serialize=i,m._stdErrSerialize=o,m.child=function(...x){return w.call(this,y,...x)},e&&(m._logEvent=dw());function T(){return ZE(this.level,this)}function E(){return this._level}function b(x){if(x!=="silent"&&!this.levels.values[x])throw Error("unknown level "+x);this._level=x,Th(this,y,m,"error"),Th(this,y,m,"fatal"),Th(this,y,m,"warn"),Th(this,y,m,"info"),Th(this,y,m,"debug"),Th(this,y,m,"trace"),l.forEach(A=>{Th(this,y,m,A)})}function w(x,A,R){if(!A)throw new Error("missing bindings for child Pino");R=R||{},i&&A.serializers&&(R.serializers=A.serializers);const N=R.serializers;if(i&&N){var P=Object.assign({},r,N),$=t.browser.serialize===!0?Object.keys(P):i;delete A.serializers,nC([A],$,P,this._stdErrSerialize)}function U(B){this._childLevel=(B._childLevel|0)+1,this.bindings=A,P&&(this.serializers=P,this._serialize=$),e&&(this._logEvent=dw([].concat(B._logEvent.bindings,A)))}U.prototype=this;const G=new U(this);return tR(this,G),G.child=function(...B){return w.call(this,x,...B)},G.level=R.level||this.level,x.onChild(G),G}return m}function hq(t){const e=t.customLevels||{},n=Object.assign({},fc.levels.values,e),r=Object.assign({},fc.levels.labels,mq(e));return{values:n,labels:r}}function mq(t){const e={};return Object.keys(t).forEach(function(n){e[t[n]]=n}),e}fc.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"}};fc.stdSerializers=uq;fc.stdTimeFunctions=Object.assign({},{nullTime:zM,epochTime:jM,unixTime:Eq,isoTime:kq});function pq(t){const e=[];t.bindings&&e.push(t.bindings);let n=t[cw];for(;n.parent;)n=n.parent,n.logger.bindings&&e.push(n.logger.bindings);return e.reverse()}function Th(t,e,n,r){if(Object.defineProperty(t,r,{value:ZE(t.level,n)>ZE(r,n)?L1:n[tC][r],writable:!0,enumerable:!0,configurable:!0}),t[r]===L1){if(!e.transmit)return;const o=e.transmit.level||t.level,l=n.levels.values[o];if(n.levels.values[r]T}=i.formatters||{},c=n.slice();let h=c[0];const m={};if(r&&(m.time=r),o){const T=o(e,t.levels.values[e]);Object.assign(m,T)}else m.level=t.levels.values[e];let y=(t._childLevel|0)+1;if(y<1&&(y=1),h!==null&&typeof h=="object"){for(;y--&&typeof c[0]=="object";)Object.assign(m,c.shift());h=c.length?eR(c.shift(),c):void 0}else typeof h=="string"&&(h=eR(c.shift(),c));return h!==void 0&&(m[i.messageKey]=h),l(m)}function nC(t,e,n,r){for(const i in t)if(r&&t[i]instanceof Error)t[i]=fc.stdSerializers.err(t[i]);else if(typeof t[i]=="object"&&!Array.isArray(t[i])&&e)for(const o in t[i])e.indexOf(o)>-1&&o in n&&(t[i][o]=n[o](t[i][o]))}function Tq(t,e,n,r=!1){const i=e.send,o=e.ts,l=e.methodLevel,c=e.methodValue,h=e.val,m=t._logEvent.bindings;r||nC(n,t._serialize||Object.keys(t.serializers),t.serializers,t._stdErrSerialize===void 0?!0:t._stdErrSerialize),t._logEvent.ts=o,t._logEvent.messages=n.filter(function(y){return m.indexOf(y)===-1}),t._logEvent.level.label=l,t._logEvent.level.value=c,i(l,t._logEvent,h),t._logEvent=dw(m)}function dw(t){return{ts:0,messages:[],bindings:t||[],level:{label:"",value:0}}}function nR(t){const e={type:t.constructor.name,msg:t.message,stack:t.stack};for(const n in t)e[n]===void 0&&(e[n]=t[n]);return e}function Sq(t){return typeof t.timestamp=="function"?t.timestamp:t.timestamp===!1?zM:jM}function SS(){return{}}function f5(t){return t}function L1(){}function zM(){return!1}function jM(){return Date.now()}function Eq(){return Math.round(Date.now()/1e3)}function kq(){return new Date(Date.now()).toISOString()}function bq(){function t(e){return typeof e<"u"&&e}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 t(self)||t(window)||t(this)||{}}}eC.exports.default=fc;var HM=eC.exports.pino=fc;function Jn(t,e){if(!t)throw new Error(e)}const wq=34028234663852886e22,Cq=-34028234663852886e22,xq=4294967295,Iq=2147483647,_q=-2147483648;function nE(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>Iq||t<_q)throw new Error("invalid int 32: "+t)}function fw(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>xq||t<0)throw new Error("invalid uint 32: "+t)}function WM(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>wq||t({no:i.no,name:i.name,localName:t[i.no]})))}function qM(t,e,n){const r=Object.create(null),i=Object.create(null),o=[];for(const l of e){const c=QM(l);o.push(c),r[l.name]=c,i[l.no]=c}return{typeName:t,values:o,findName(l){return r[l]},findNumber(l){return i[l]}}}function Aq(t,e,n){const r={};for(const i of e){const o=QM(i);r[o.localName]=o.no,r[o.no]=o.localName}return YM(r,t,e),r}function QM(t){return"localName"in t?t:Object.assign(Object.assign({},t),{localName:t.name})}let $v=class{equals(e){return this.getType().runtime.util.equals(this.getType(),this,e)}clone(){return this.getType().runtime.util.clone(this)}fromBinary(e,n){const r=this.getType(),i=r.runtime.bin,o=i.makeReadOptions(n);return i.readMessage(this,o.readerFactory(e),e.byteLength,o),this}fromJson(e,n){const r=this.getType(),i=r.runtime.json,o=i.makeReadOptions(n);return i.readMessage(r,e,o,this),this}fromJsonString(e,n){let r;try{r=JSON.parse(e)}catch(i){throw new Error(`cannot decode ${this.getType().typeName} from JSON: ${i instanceof Error?i.message:String(i)}`)}return this.fromJson(r,n)}toBinary(e){const n=this.getType(),r=n.runtime.bin,i=r.makeWriteOptions(e),o=i.writerFactory();return r.writeMessage(this,o,i),o.finish()}toJson(e){const n=this.getType(),r=n.runtime.json,i=r.makeWriteOptions(e);return r.writeMessage(this,i)}toJsonString(e){var n;const r=this.toJson(e);return JSON.stringify(r,null,(n=e==null?void 0:e.prettySpaces)!==null&&n!==void 0?n:0)}toJSON(){return this.toJson({emitDefaultValues:!0})}getType(){return Object.getPrototypeOf(this).constructor}};function Rq(t,e,n,r){var i;const o=(i=r==null?void 0:r.localName)!==null&&i!==void 0?i:e.substring(e.lastIndexOf(".")+1),l={[o]:function(c){t.util.initFields(this),t.util.initPartial(c,this)}}[o];return Object.setPrototypeOf(l.prototype,new $v),Object.assign(l,{runtime:t,typeName:e,fields:t.util.newFieldList(n),fromBinary(c,h){return new l().fromBinary(c,h)},fromJson(c,h){return new l().fromJson(c,h)},fromJsonString(c,h){return new l().fromJsonString(c,h)},equals(c,h){return t.util.equals(l,c,h)}}),l}function Oq(){let t=0,e=0;for(let r=0;r<28;r+=7){let i=this.buf[this.pos++];if(t|=(i&127)<>4,!(n&128))return this.assertBounds(),[t,e];for(let r=3;r<=31;r+=7){let i=this.buf[this.pos++];if(e|=(i&127)<>>o,c=!(!(l>>>7)&&e==0),h=(c?l|128:l)&255;if(n.push(h),!c)return}const r=t>>>28&15|(e&7)<<4,i=!!(e>>3);if(n.push((i?r|128:r)&255),!!i){for(let o=3;o<31;o=o+7){const l=e>>>o,c=!!(l>>>7),h=(c?l|128:l)&255;if(n.push(h),!c)return}n.push(e>>>31&1)}}const rE=4294967296;function rR(t){const e=t[0]==="-";e&&(t=t.slice(1));const n=1e6;let r=0,i=0;function o(l,c){const h=Number(t.slice(l,c));i*=n,r=r*n+h,r>=rE&&(i=i+(r/rE|0),r=r%rE)}return o(-24,-18),o(-18,-12),o(-12,-6),o(-6),e?ZM(r,i):rC(r,i)}function Nq(t,e){let n=rC(t,e);const r=n.hi&2147483648;r&&(n=ZM(n.lo,n.hi));const i=XM(n.lo,n.hi);return r?"-"+i:i}function XM(t,e){if({lo:t,hi:e}=Pq(t,e),e<=2097151)return String(rE*e+t);const n=t&16777215,r=(t>>>24|e<<8)&16777215,i=e>>16&65535;let o=n+r*6777216+i*6710656,l=r+i*8147497,c=i*2;const h=1e7;return o>=h&&(l+=Math.floor(o/h),o%=h),l>=h&&(c+=Math.floor(l/h),l%=h),c.toString()+iR(l)+iR(o)}function Pq(t,e){return{lo:t>>>0,hi:e>>>0}}function rC(t,e){return{lo:t|0,hi:e|0}}function ZM(t,e){return e=~e,t?t=~t+1:e+=1,rC(t,e)}const iR=t=>{const e=String(t);return"0000000".slice(e.length)+e};function aR(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let n=0;n<9;n++)e.push(t&127|128),t=t>>7;e.push(1)}}function Dq(){let t=this.buf[this.pos++],e=t&127;if(!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,!(t&128))return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let n=5;t&128&&n<10;n++)t=this.buf[this.pos++];if(t&128)throw new Error("invalid varint");return this.assertBounds(),e>>>0}function Mq(){const t=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"&&(typeof JA!="object"||typeof JA.env!="object")){const r=BigInt("-9223372036854775808"),i=BigInt("9223372036854775807"),o=BigInt("0"),l=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(c){const h=typeof c=="bigint"?c:BigInt(c);if(h>i||hl||hJn(/^-?[0-9]+$/.test(r),`int64 invalid: ${r}`),n=r=>Jn(/^[0-9]+$/.test(r),`uint64 invalid: ${r}`);return{zero:"0",supported:!1,parse(r){return typeof r!="string"&&(r=r.toString()),e(r),r},uParse(r){return typeof r!="string"&&(r=r.toString()),n(r),r},enc(r){return typeof r!="string"&&(r=r.toString()),e(r),rR(r)},uEnc(r){return typeof r!="string"&&(r=r.toString()),n(r),rR(r)},dec(r,i){return Nq(r,i)},uDec(r,i){return XM(r,i)}}}const qi=Mq();var xe;(function(t){t[t.DOUBLE=1]="DOUBLE",t[t.FLOAT=2]="FLOAT",t[t.INT64=3]="INT64",t[t.UINT64=4]="UINT64",t[t.INT32=5]="INT32",t[t.FIXED64=6]="FIXED64",t[t.FIXED32=7]="FIXED32",t[t.BOOL=8]="BOOL",t[t.STRING=9]="STRING",t[t.BYTES=12]="BYTES",t[t.UINT32=13]="UINT32",t[t.SFIXED32=15]="SFIXED32",t[t.SFIXED64=16]="SFIXED64",t[t.SINT32=17]="SINT32",t[t.SINT64=18]="SINT64"})(xe||(xe={}));var Yd;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING"})(Yd||(Yd={}));function xd(t,e,n){if(e===n)return!0;if(t==xe.BYTES){if(!(e instanceof Uint8Array)||!(n instanceof Uint8Array)||e.length!==n.length)return!1;for(let r=0;r>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(fw(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return nE(e),aR(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let n=this.textEncoder.encode(e);return this.uint32(n.byteLength),this.raw(n)}float(e){WM(e);let n=new Uint8Array(4);return new DataView(n.buffer).setFloat32(0,e,!0),this.raw(n)}double(e){let n=new Uint8Array(8);return new DataView(n.buffer).setFloat64(0,e,!0),this.raw(n)}fixed32(e){fw(e);let n=new Uint8Array(4);return new DataView(n.buffer).setUint32(0,e,!0),this.raw(n)}sfixed32(e){nE(e);let n=new Uint8Array(4);return new DataView(n.buffer).setInt32(0,e,!0),this.raw(n)}sint32(e){return nE(e),e=(e<<1^e>>31)>>>0,aR(e,this.buf),this}sfixed64(e){let n=new Uint8Array(8),r=new DataView(n.buffer),i=qi.enc(e);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(n)}fixed64(e){let n=new Uint8Array(8),r=new DataView(n.buffer),i=qi.uEnc(e);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(n)}int64(e){let n=qi.enc(e);return h5(n.lo,n.hi,this.buf),this}sint64(e){let n=qi.enc(e),r=n.hi>>31,i=n.lo<<1^r,o=(n.hi<<1|n.lo>>>31)^r;return h5(i,o,this.buf),this}uint64(e){let n=qi.uEnc(e);return h5(n.lo,n.hi,this.buf),this}}class Uq{constructor(e,n){this.varint64=Oq,this.uint32=Dq,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=n??new TextDecoder}tag(){let e=this.uint32(),n=e>>>3,r=e&7;if(n<=0||r<0||r>5)throw new Error("illegal tag: field no "+n+" wire type "+r);return[n,r]}skip(e,n){let r=this.pos;switch(e){case lr.Varint:for(;this.buf[this.pos++]&128;);break;case lr.Bit64:this.pos+=4;case lr.Bit32:this.pos+=4;break;case lr.LengthDelimited:let i=this.uint32();this.pos+=i;break;case lr.StartGroup:for(;;){const[o,l]=this.tag();if(l===lr.EndGroup){if(n!==void 0&&o!==n)throw new Error("invalid end group tag");break}this.skip(l,o)}break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return qi.dec(...this.varint64())}uint64(){return qi.uDec(...this.varint64())}sint64(){let[e,n]=this.varint64(),r=-(e&1);return e=(e>>>1|(n&1)<<31)^r,n=n>>>1^r,qi.dec(e,n)}bool(){let[e,n]=this.varint64();return e!==0||n!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return qi.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return qi.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 e=this.uint32(),n=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(n,n+e)}string(){return this.textDecoder.decode(this.bytes())}}function Bq(t,e,n,r){let i;return{typeName:e,extendee:n,get field(){if(!i){const o=typeof r=="function"?r():r;o.name=e.split(".").pop(),o.jsonName=`[${e}]`,i=t.util.newFieldList([o]).list()[0]}return i},runtime:t}}function eF(t){const e=t.field.localName,n=Object.create(null);return n[e]=$q(t),[n,()=>n[e]]}function $q(t){const e=t.field;if(e.repeated)return[];if(e.default!==void 0)return e.default;switch(e.kind){case"enum":return e.T.values[0].no;case"scalar":return j1(e.T,e.L);case"message":const n=e.T,r=new n;return n.fieldWrapper?n.fieldWrapper.unwrapField(r):r;case"map":throw"map fields are not allowed to be extensions"}}function Vq(t,e){if(!e.repeated&&(e.kind=="enum"||e.kind=="scalar")){for(let n=t.length-1;n>=0;--n)if(t[n].no==e.no)return[t[n]];return[]}return t.filter(n=>n.no===e.no)}let Yu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),j4=[];for(let t=0;t>4,l=o,i=2;break;case 2:n[r++]=(l&15)<<4|(o&60)>>2,l=o,i=3;break;case 3:n[r++]=(l&3)<<6|o,i=0;break}}if(i==1)throw Error("invalid base64 string.");return n.subarray(0,r)},enc(t){let e="",n=0,r,i=0;for(let o=0;o>2],i=(r&3)<<4,n=1;break;case 1:e+=Yu[i|r>>4],i=(r&15)<<2,n=2;break;case 2:e+=Yu[i|r>>6],e+=Yu[r&63],n=0;break}return n&&(e+=Yu[i],e+="=",n==1&&(e+="=")),e}};function Gq(t,e,n){nF(e,t);const r=e.runtime.bin.makeReadOptions(n),i=Vq(t.getType().runtime.bin.listUnknownFields(t),e.field),[o,l]=eF(e);for(const c of i)e.runtime.bin.readField(o,r.readerFactory(c.data),e.field,c.wireType,r);return l()}function zq(t,e,n,r){nF(e,t);const i=e.runtime.bin.makeReadOptions(r),o=e.runtime.bin.makeWriteOptions(r);if(tF(t,e)){const m=t.getType().runtime.bin.listUnknownFields(t).filter(y=>y.no!=e.field.no);t.getType().runtime.bin.discardUnknownFields(t);for(const y of m)t.getType().runtime.bin.onUnknownField(t,y.no,y.wireType,y.data)}const l=o.writerFactory();let c=e.field;!c.opt&&!c.repeated&&(c.kind=="enum"||c.kind=="scalar")&&(c=Object.assign(Object.assign({},e.field),{opt:!0})),e.runtime.bin.writeField(c,n,l,o);const h=i.readerFactory(l.finish());for(;h.posr.no==e.field.no)}function nF(t,e){Jn(t.extendee.typeName==e.getType().typeName,`extension ${t.typeName} can only be applied to message ${t.extendee.typeName}`)}function rF(t,e){const n=t.localName;if(t.repeated)return e[n].length>0;if(t.oneof)return e[t.oneof.localName].case===n;switch(t.kind){case"enum":case"scalar":return t.opt||t.req?e[n]!==void 0:t.kind=="enum"?e[n]!==t.T.values[0].no:!JM(t.T,e[n]);case"message":return e[n]!==void 0;case"map":return Object.keys(e[n]).length>0}}function sR(t,e){const n=t.localName,r=!t.opt&&!t.req;if(t.repeated)e[n]=[];else if(t.oneof)e[t.oneof.localName]={case:void 0};else switch(t.kind){case"map":e[n]={};break;case"enum":e[n]=r?t.T.values[0].no:void 0;break;case"scalar":e[n]=r?j1(t.T,t.L):void 0;break;case"message":e[n]=void 0;break}}function Mh(t,e){if(t===null||typeof t!="object"||!Object.getOwnPropertyNames($v.prototype).every(r=>r in t&&typeof t[r]=="function"))return!1;const n=t.getType();return n===null||typeof n!="function"||!("typeName"in n)||typeof n.typeName!="string"?!1:e===void 0?!0:n.typeName==e.typeName}function iF(t,e){return Mh(e)||!t.fieldWrapper?e:t.fieldWrapper.wrapField(e)}xe.DOUBLE,xe.FLOAT,xe.INT64,xe.UINT64,xe.INT32,xe.UINT32,xe.BOOL,xe.STRING,xe.BYTES;const oR={ignoreUnknownFields:!1},lR={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0};function jq(t){return t?Object.assign(Object.assign({},oR),t):oR}function Hq(t){return t?Object.assign(Object.assign({},lR),t):lR}const JE=Symbol(),iE=Symbol();function Wq(){return{makeReadOptions:jq,makeWriteOptions:Hq,readMessage(t,e,n,r){if(e==null||Array.isArray(e)||typeof e!="object")throw new Error(`cannot decode message ${t.typeName} from JSON: ${Il(e)}`);r=r??new t;const i=new Map,o=n.typeRegistry;for(const[l,c]of Object.entries(e)){const h=t.fields.findJsonName(l);if(h){if(h.oneof){if(c===null&&h.kind=="scalar")continue;const m=i.get(h.oneof);if(m!==void 0)throw new Error(`cannot decode message ${t.typeName} from JSON: multiple keys for oneof "${h.oneof.name}" present: "${m}", "${l}"`);i.set(h.oneof,l)}uR(r,c,h,n,t)}else{let m=!1;if(o!=null&&o.findExtension&&l.startsWith("[")&&l.endsWith("]")){const y=o.findExtension(l.substring(1,l.length-1));if(y&&y.extendee.typeName==t.typeName){m=!0;const[T,E]=eF(y);uR(T,c,y.field,n,y),zq(r,y,E(),n)}}if(!m&&!n.ignoreUnknownFields)throw new Error(`cannot decode message ${t.typeName} from JSON: key "${l}" is unknown`)}}return r},writeMessage(t,e){const n=t.getType(),r={};let i;try{for(i of n.fields.byNumber()){if(!rF(i,t)){if(i.req)throw"required field not set";if(!e.emitDefaultValues||!Yq(i))continue}const l=i.oneof?t[i.oneof.localName].value:t[i.localName],c=cR(i,l,e);c!==void 0&&(r[e.useProtoFieldName?i.name:i.jsonName]=c)}const o=e.typeRegistry;if(o!=null&&o.findExtensionFor)for(const l of n.runtime.bin.listUnknownFields(t)){const c=o.findExtensionFor(n.typeName,l.no);if(c&&tF(t,c)){const h=Gq(t,c,e),m=cR(c.field,h,e);m!==void 0&&(r[c.field.jsonName]=m)}}}catch(o){const l=i?`cannot encode field ${n.typeName}.${i.name} to JSON`:`cannot encode message ${n.typeName} to JSON`,c=o instanceof Error?o.message:String(o);throw new Error(l+(c.length>0?`: ${c}`:""))}return r},readScalar(t,e,n){return nv(t,e,n??Yd.BIGINT,!0)},writeScalar(t,e,n){if(e!==void 0&&(n||JM(t,e)))return aE(t,e)},debug:Il}}function Il(t){if(t===null)return"null";switch(typeof t){case"object":return Array.isArray(t)?"array":"object";case"string":return t.length>100?"string":`"${t.split('"').join('\\"')}"`;default:return String(t)}}function uR(t,e,n,r,i){let o=n.localName;if(n.repeated){if(Jn(n.kind!="map"),e===null)return;if(!Array.isArray(e))throw new Error(`cannot decode field ${i.typeName}.${n.name} from JSON: ${Il(e)}`);const l=t[o];for(const c of e){if(c===null)throw new Error(`cannot decode field ${i.typeName}.${n.name} from JSON: ${Il(c)}`);switch(n.kind){case"message":l.push(n.T.fromJson(c,r));break;case"enum":const h=m5(n.T,c,r.ignoreUnknownFields,!0);h!==iE&&l.push(h);break;case"scalar":try{l.push(nv(n.T,c,n.L,!0))}catch(m){let y=`cannot decode field ${i.typeName}.${n.name} from JSON: ${Il(c)}`;throw m instanceof Error&&m.message.length>0&&(y+=`: ${m.message}`),new Error(y)}break}}}else if(n.kind=="map"){if(e===null)return;if(typeof e!="object"||Array.isArray(e))throw new Error(`cannot decode field ${i.typeName}.${n.name} from JSON: ${Il(e)}`);const l=t[o];for(const[c,h]of Object.entries(e)){if(h===null)throw new Error(`cannot decode field ${i.typeName}.${n.name} from JSON: map value null`);let m;try{m=Kq(n.K,c)}catch(y){let T=`cannot decode map key for field ${i.typeName}.${n.name} from JSON: ${Il(e)}`;throw y instanceof Error&&y.message.length>0&&(T+=`: ${y.message}`),new Error(T)}switch(n.V.kind){case"message":l[m]=n.V.T.fromJson(h,r);break;case"enum":const y=m5(n.V.T,h,r.ignoreUnknownFields,!0);y!==iE&&(l[m]=y);break;case"scalar":try{l[m]=nv(n.V.T,h,Yd.BIGINT,!0)}catch(T){let E=`cannot decode map value for field ${i.typeName}.${n.name} from JSON: ${Il(e)}`;throw T instanceof Error&&T.message.length>0&&(E+=`: ${T.message}`),new Error(E)}break}}}else switch(n.oneof&&(t=t[n.oneof.localName]={case:o},o="value"),n.kind){case"message":const l=n.T;if(e===null&&l.typeName!="google.protobuf.Value")return;let c=t[o];Mh(c)?c.fromJson(e,r):(t[o]=c=l.fromJson(e,r),l.fieldWrapper&&!n.oneof&&(t[o]=l.fieldWrapper.unwrapField(c)));break;case"enum":const h=m5(n.T,e,r.ignoreUnknownFields,!1);switch(h){case JE:sR(n,t);break;case iE:break;default:t[o]=h;break}break;case"scalar":try{const m=nv(n.T,e,n.L,!1);switch(m){case JE:sR(n,t);break;default:t[o]=m;break}}catch(m){let y=`cannot decode field ${i.typeName}.${n.name} from JSON: ${Il(e)}`;throw m instanceof Error&&m.message.length>0&&(y+=`: ${m.message}`),new Error(y)}break}}function Kq(t,e){if(t===xe.BOOL)switch(e){case"true":e=!0;break;case"false":e=!1;break}return nv(t,e,Yd.BIGINT,!0).toString()}function nv(t,e,n,r){if(e===null)return r?j1(t,n):JE;switch(t){case xe.DOUBLE:case xe.FLOAT:if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""||typeof e=="string"&&e.trim().length!==e.length||typeof e!="string"&&typeof e!="number")break;const i=Number(e);if(Number.isNaN(i)||!Number.isFinite(i))break;return t==xe.FLOAT&&WM(i),i;case xe.INT32:case xe.FIXED32:case xe.SFIXED32:case xe.SINT32:case xe.UINT32:let o;if(typeof e=="number"?o=e:typeof e=="string"&&e.length>0&&e.trim().length===e.length&&(o=Number(e)),o===void 0)break;return t==xe.UINT32||t==xe.FIXED32?fw(o):nE(o),o;case xe.INT64:case xe.SFIXED64:case xe.SINT64:if(typeof e!="number"&&typeof e!="string")break;const l=qi.parse(e);return n?l.toString():l;case xe.FIXED64:case xe.UINT64:if(typeof e!="number"&&typeof e!="string")break;const c=qi.uParse(e);return n?c.toString():c;case xe.BOOL:if(typeof e!="boolean")break;return e;case xe.STRING:if(typeof e!="string")break;try{encodeURIComponent(e)}catch{throw new Error("invalid UTF8")}return e;case xe.BYTES:if(e==="")return new Uint8Array(0);if(typeof e!="string")break;return iC.dec(e)}throw new Error}function m5(t,e,n,r){if(e===null)return t.typeName=="google.protobuf.NullValue"?0:r?t.values[0].no:JE;switch(typeof e){case"number":if(Number.isInteger(e))return e;break;case"string":const i=t.findName(e);if(i!==void 0)return i.no;if(n)return iE;break}throw new Error(`cannot decode enum ${t.typeName} from JSON: ${Il(e)}`)}function Yq(t){return t.repeated||t.kind=="map"?!0:!(t.oneof||t.kind=="message"||t.opt||t.req)}function cR(t,e,n){if(t.kind=="map"){Jn(typeof e=="object"&&e!=null);const r={},i=Object.entries(e);switch(t.V.kind){case"scalar":for(const[l,c]of i)r[l.toString()]=aE(t.V.T,c);break;case"message":for(const[l,c]of i)r[l.toString()]=c.toJson(n);break;case"enum":const o=t.V.T;for(const[l,c]of i)r[l.toString()]=p5(o,c,n.enumAsInteger);break}return n.emitDefaultValues||i.length>0?r:void 0}if(t.repeated){Jn(Array.isArray(e));const r=[];switch(t.kind){case"scalar":for(let i=0;i0?r:void 0}switch(t.kind){case"scalar":return aE(t.T,e);case"enum":return p5(t.T,e,n.enumAsInteger);case"message":return iF(t.T,e).toJson(n)}}function p5(t,e,n){var r;if(Jn(typeof e=="number"),t.typeName=="google.protobuf.NullValue")return null;if(n)return e;const i=t.findNumber(e);return(r=i==null?void 0:i.name)!==null&&r!==void 0?r:e}function aE(t,e){switch(t){case xe.INT32:case xe.SFIXED32:case xe.SINT32:case xe.FIXED32:case xe.UINT32:return Jn(typeof e=="number"),e;case xe.FLOAT:case xe.DOUBLE:return Jn(typeof e=="number"),Number.isNaN(e)?"NaN":e===Number.POSITIVE_INFINITY?"Infinity":e===Number.NEGATIVE_INFINITY?"-Infinity":e;case xe.STRING:return Jn(typeof e=="string"),e;case xe.BOOL:return Jn(typeof e=="boolean"),e;case xe.UINT64:case xe.FIXED64:case xe.INT64:case xe.SFIXED64:case xe.SINT64:return Jn(typeof e=="bigint"||typeof e=="string"||typeof e=="number"),e.toString();case xe.BYTES:return Jn(e instanceof Uint8Array),iC.enc(e)}}const Qp=Symbol("@bufbuild/protobuf/unknown-fields"),dR={readUnknownFields:!0,readerFactory:t=>new Uq(t)},fR={writeUnknownFields:!0,writerFactory:()=>new Fq};function qq(t){return t?Object.assign(Object.assign({},dR),t):dR}function Qq(t){return t?Object.assign(Object.assign({},fR),t):fR}function Xq(){return{makeReadOptions:qq,makeWriteOptions:Qq,listUnknownFields(t){var e;return(e=t[Qp])!==null&&e!==void 0?e:[]},discardUnknownFields(t){delete t[Qp]},writeUnknownFields(t,e){const n=t[Qp];if(n)for(const r of n)e.tag(r.no,r.wireType).raw(r.data)},onUnknownField(t,e,n,r){const i=t;Array.isArray(i[Qp])||(i[Qp]=[]),i[Qp].push({no:e,wireType:n,data:r})},readMessage(t,e,n,r,i){const o=t.getType(),l=i?e.len:e.pos+n;let c,h;for(;e.pos0&&(h=Jq),o){let E=t[l];if(r==lr.LengthDelimited&&c!=xe.STRING&&c!=xe.BYTES){let b=e.uint32()+e.pos;for(;e.posMh(E,T)?E:new T(E));else{const E=l[i];T.fieldWrapper?T.typeName==="google.protobuf.BytesValue"?o[i]=Py(E):o[i]=E:o[i]=Mh(E,T)?E:new T(E)}break}}},equals(t,e,n){return e===n?!0:!e||!n?!1:t.fields.byMember().every(r=>{const i=e[r.localName],o=n[r.localName];if(r.repeated){if(i.length!==o.length)return!1;switch(r.kind){case"message":return i.every((l,c)=>r.T.equals(l,o[c]));case"scalar":return i.every((l,c)=>xd(r.T,l,o[c]));case"enum":return i.every((l,c)=>xd(xe.INT32,l,o[c]))}throw new Error(`repeated cannot contain ${r.kind}`)}switch(r.kind){case"message":return r.T.equals(i,o);case"enum":return xd(xe.INT32,i,o);case"scalar":return xd(r.T,i,o);case"oneof":if(i.case!==o.case)return!1;const l=r.findField(i.case);if(l===void 0)return!0;switch(l.kind){case"message":return l.T.equals(i.value,o.value);case"enum":return xd(xe.INT32,i.value,o.value);case"scalar":return xd(l.T,i.value,o.value)}throw new Error(`oneof cannot contain ${l.kind}`);case"map":const c=Object.keys(i).concat(Object.keys(o));switch(r.V.kind){case"message":const h=r.V.T;return c.every(y=>h.equals(i[y],o[y]));case"enum":return c.every(y=>xd(xe.INT32,i[y],o[y]));case"scalar":const m=r.V.T;return c.every(y=>xd(m,i[y],o[y]))}break}})},clone(t){const e=t.getType(),n=new e,r=n;for(const i of e.fields.byMember()){const o=t[i.localName];let l;if(i.repeated)l=o.map(ES);else if(i.kind=="map"){l=r[i.localName];for(const[c,h]of Object.entries(o))l[c]=ES(h)}else i.kind=="oneof"?l=i.findField(o.case)?{case:o.case,value:ES(o.value)}:{case:void 0}:l=ES(o);r[i.localName]=l}for(const i of e.runtime.bin.listUnknownFields(t))e.runtime.bin.onUnknownField(r,i.no,i.wireType,i.data);return n}}}function ES(t){if(t===void 0)return t;if(Mh(t))return t.clone();if(t instanceof Uint8Array){const e=new Uint8Array(t.byteLength);return e.set(t),e}return t}function Py(t){return t instanceof Uint8Array?t:new Uint8Array(t)}function rQ(t,e,n){return{syntax:t,json:Wq(),bin:Xq(),util:Object.assign(Object.assign({},nQ()),{newFieldList:e,initFields:n}),makeMessageType(r,i,o){return Rq(this,r,i,o)},makeEnum:Aq,makeEnumType:qM,getEnumType:Lq,makeExtension(r,i,o){return Bq(this,r,i,o)}}}class iQ{constructor(e,n){this._fields=e,this._normalizer=n}findJsonName(e){if(!this.jsonNames){const n={};for(const r of this.list())n[r.jsonName]=n[r.name]=r;this.jsonNames=n}return this.jsonNames[e]}find(e){if(!this.numbers){const n={};for(const r of this.list())n[r.no]=r;this.numbers=n}return this.numbers[e]}list(){return this.all||(this.all=this._normalizer(this._fields)),this.all}byNumber(){return this.numbersAsc||(this.numbersAsc=this.list().concat().sort((e,n)=>e.no-n.no)),this.numbersAsc}byMember(){if(!this.members){this.members=[];const e=this.members;let n;for(const r of this.list())r.oneof?r.oneof!==n&&(n=r.oneof,e.push(n)):e.push(r)}return this.members}}function sF(t,e){const n=oF(t);return e?n:cQ(uQ(n))}function aQ(t){return sF(t,!1)}const sQ=oF;function oF(t){let e=!1;const n=[];for(let r=0;r`${t}$`,uQ=t=>lQ.has(t)?lF(t):t,cQ=t=>oQ.has(t)?lF(t):t;class dQ{constructor(e){this.kind="oneof",this.repeated=!1,this.packed=!1,this.opt=!1,this.req=!1,this.default=void 0,this.fields=[],this.name=e,this.localName=aQ(e)}addField(e){Jn(e.oneof===this,`field ${e.name} not one of ${this.name}`),this.fields.push(e)}findField(e){if(!this._lookup){this._lookup=Object.create(null);for(let n=0;nnew iQ(t,e=>fQ(e)),t=>{for(const e of t.getType().fields.byMember()){if(e.opt)continue;const n=e.localName,r=t;if(e.repeated){r[n]=[];continue}switch(e.kind){case"oneof":r[n]={case:void 0};break;case"enum":r[n]=0;break;case"map":r[n]={};break;case"scalar":r[n]=j1(e.T,e.L);break}}});var tt;(function(t){t[t.Unary=0]="Unary",t[t.ServerStreaming=1]="ServerStreaming",t[t.ClientStreaming=2]="ClientStreaming",t[t.BiDiStreaming=3]="BiDiStreaming"})(tt||(tt={}));var gR;(function(t){t[t.NoSideEffects=1]="NoSideEffects",t[t.Idempotent=2]="Idempotent"})(gR||(gR={}));class ha extends $v{constructor(e){super(),this.seconds=qi.zero,this.nanos=0,L.util.initPartial(e,this)}fromJson(e,n){if(typeof e!="string")throw new Error(`cannot decode google.protobuf.Timestamp from JSON: ${L.json.debug(e)}`);const r=e.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(!r)throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");const i=Date.parse(r[1]+"-"+r[2]+"-"+r[3]+"T"+r[4]+":"+r[5]+":"+r[6]+(r[8]?r[8]:"Z"));if(Number.isNaN(i))throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");if(iDate.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=qi.parse(i/1e3),this.nanos=0,r[7]&&(this.nanos=parseInt("1"+r[7]+"0".repeat(9-r[7].length))-1e9),this}toJson(e){const n=Number(this.seconds)*1e3;if(nDate.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 r="Z";if(this.nanos>0){const i=(this.nanos+1e9).toString().substring(1);i.substring(3)==="000000"?r="."+i.substring(0,3)+"Z":i.substring(6)==="000"?r="."+i.substring(0,6)+"Z":r="."+i+"Z"}return new Date(n).toISOString().replace(".000Z",r)}toDate(){return new Date(Number(this.seconds)*1e3+Math.ceil(this.nanos/1e6))}static now(){return ha.fromDate(new Date)}static fromDate(e){const n=e.getTime();return new ha({seconds:qi.parse(Math.floor(n/1e3)),nanos:n%1e3*1e6})}static fromBinary(e,n){return new ha().fromBinary(e,n)}static fromJson(e,n){return new ha().fromJson(e,n)}static fromJsonString(e,n){return new ha().fromJsonString(e,n)}static equals(e,n){return L.util.equals(ha,e,n)}}ha.runtime=L;ha.typeName="google.protobuf.Timestamp";ha.fields=L.util.newFieldList(()=>[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}]);class $l extends $v{constructor(e){super(),this.typeUrl="",this.value=new Uint8Array(0),L.util.initPartial(e,this)}toJson(e){var n;if(this.typeUrl==="")return{};const r=this.typeUrlToName(this.typeUrl),i=(n=e==null?void 0:e.typeRegistry)===null||n===void 0?void 0:n.findMessage(r);if(!i)throw new Error(`cannot encode message google.protobuf.Any to JSON: "${this.typeUrl}" is not in the type registry`);let o=i.fromBinary(this.value).toJson(e);return(r.startsWith("google.protobuf.")||o===null||Array.isArray(o)||typeof o!="object")&&(o={value:o}),o["@type"]=this.typeUrl,o}fromJson(e,n){var r;if(e===null||Array.isArray(e)||typeof e!="object")throw new Error(`cannot decode message google.protobuf.Any from JSON: expected object but got ${e===null?"null":Array.isArray(e)?"array":typeof e}`);if(Object.keys(e).length==0)return this;const i=e["@type"];if(typeof i!="string"||i=="")throw new Error('cannot decode message google.protobuf.Any from JSON: "@type" is empty');const o=this.typeUrlToName(i),l=(r=n==null?void 0:n.typeRegistry)===null||r===void 0?void 0:r.findMessage(o);if(!l)throw new Error(`cannot decode message google.protobuf.Any from JSON: ${i} is not in the type registry`);let c;if(o.startsWith("google.protobuf.")&&Object.prototype.hasOwnProperty.call(e,"value"))c=l.fromJson(e.value,n);else{const h=Object.assign({},e);delete h["@type"],c=l.fromJson(h,n)}return this.packFrom(c),this}packFrom(e){this.value=e.toBinary(),this.typeUrl=this.typeNameToUrl(e.getType().typeName)}unpackTo(e){return this.is(e.getType())?(e.fromBinary(this.value),!0):!1}unpack(e){if(this.typeUrl==="")return;const n=e.findMessage(this.typeUrlToName(this.typeUrl));if(n)return n.fromBinary(this.value)}is(e){if(this.typeUrl==="")return!1;const n=this.typeUrlToName(this.typeUrl);let r="";return typeof e=="string"?r=e:r=e.typeName,n===r}typeNameToUrl(e){return`type.googleapis.com/${e}`}typeUrlToName(e){if(!e.length)throw new Error(`invalid type url: ${e}`);const n=e.lastIndexOf("/"),r=n>=0?e.substring(n+1):e;if(!r.length)throw new Error(`invalid type url: ${e}`);return r}static pack(e){const n=new $l;return n.packFrom(e),n}static fromBinary(e,n){return new $l().fromBinary(e,n)}static fromJson(e,n){return new $l().fromJson(e,n)}static fromJsonString(e,n){return new $l().fromJsonString(e,n)}static equals(e,n){return L.util.equals($l,e,n)}}$l.runtime=L;$l.typeName="google.protobuf.Any";$l.fields=L.util.newFieldList(()=>[{no:1,name:"type_url",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:12}]);const hQ=L.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"}]),ti=L.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"},{no:31,name:"KIND_AD_VIDEO_PLAYED",localName:"AD_VIDEO_PLAYED"},{no:32,name:"KIND_AD_BUTTON_NAVIGATED",localName:"AD_BUTTON_NAVIGATED"},{no:33,name:"KIND_AD_BANNER_NAVIGATED",localName:"AD_BANNER_NAVIGATED"}]),yi=L.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"}]),hw=L.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"}]),Ki=L.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"}]),_l=L.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"},{no:8,name:"TOPIC_SUB_TYPE_PROMOTION_GAM",localName:"PROMOTION_GAM"}]),Gs=L.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"}]),mQ=L.makeMessageType("streamlayer.social.TweetHashtags",()=>[{no:1,name:"text",kind:"scalar",T:9},{no:2,name:"indices",kind:"scalar",T:5,repeated:!0}]),pQ=L.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}]),gQ=L.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:uF},{no:14,name:"indices",kind:"scalar",T:5,repeated:!0}]),yQ=L.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:uF},{no:10,name:"indices",kind:"scalar",T:5,repeated:!0},{no:11,name:"video_info",kind:"message",T:TQ},{no:12,name:"additional_media_info",kind:"message",T:vQ}]),vQ=L.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"}),TQ=L.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:SQ,repeated:!0}]),SQ=L.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"}),uF=L.makeMessageType("streamlayer.social.TweetMediaSizes",()=>[{no:1,name:"thumb",kind:"message",T:kS},{no:2,name:"large",kind:"message",T:kS},{no:3,name:"medium",kind:"message",T:kS},{no:4,name:"small",kind:"message",T:kS}]),kS=L.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}]),EQ=L.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}]),kQ=L.makeMessageType("streamlayer.social.TweetSymbol",()=>[{no:1,name:"text",kind:"scalar",T:9},{no:2,name:"indices",kind:"scalar",T:5,repeated:!0}]),bQ=L.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:wQ,repeated:!0}]),wQ=L.makeMessageType("streamlayer.social.TweetPoll.TweetPollOption",()=>[{no:1,name:"position",kind:"scalar",T:5},{no:2,name:"text",kind:"scalar",T:9}],{localName:"TweetPoll_TweetPollOption"}),CQ=L.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:aC},{no:6,name:"entities",kind:"message",T:xQ},{no:7,name:"extended_entities",kind:"message",T:IQ},{no:10,name:"retweet_count",kind:"scalar",T:4},{no:11,name:"favorite_count",kind:"scalar",T:4}]),xQ=L.makeMessageType("streamlayer.social.TweetMetadata.TweetEntities",()=>[{no:1,name:"urls",kind:"message",T:pQ,repeated:!0},{no:2,name:"hashtags",kind:"message",T:mQ,repeated:!0},{no:3,name:"media",kind:"message",T:gQ,repeated:!0},{no:4,name:"user_mentions",kind:"message",T:EQ,repeated:!0},{no:5,name:"symbols",kind:"message",T:kQ,repeated:!0},{no:6,name:"polls",kind:"message",T:bQ,repeated:!0}],{localName:"TweetMetadata_TweetEntities"}),IQ=L.makeMessageType("streamlayer.social.TweetMetadata.TweetExtendedEntities",()=>[{no:1,name:"media",kind:"message",T:yQ,repeated:!0}],{localName:"TweetMetadata_TweetExtendedEntities"}),aC=L.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:CQ}]),ft=L.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"}]),_Q=L.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"}]),ei=L.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"}]),LQ=L.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"}]),AQ=L.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"}]),ms=L.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"}]),RQ=L.makeEnum("streamlayer.interactive.NotificationPromotionMode",[{no:0,name:"NOTIFICATION_PROMOTION_MODE_UNSET",localName:"UNSET"},{no:1,name:"NOTIFICATION_PROMOTION_MODE_CLASSIC",localName:"CLASSIC"},{no:2,name:"NOTIFICATION_PROMOTION_MODE_LOWER_THIRD",localName:"LOWER_THIRD"},{no:3,name:"NOTIFICATION_PROMOTION_MODE_RICH_NOTIFICATION",localName:"RICH_NOTIFICATION"}]),wh=L.makeEnum("streamlayer.interactive.NotificationPromotionImagePosition",[{no:0,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_UNSET",localName:"UNSET"},{no:1,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_FIT",localName:"FIT"},{no:2,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_CENTERED",localName:"CENTERED"},{no:3,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_BOTTOM",localName:"BOTTOM"},{no:4,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_SOLID",localName:"SOLID"},{no:5,name:"NOTIFICATION_PROMOTION_IMAGE_POSITION_MIDDLE",localName:"MIDDLE"}]),cF=L.makeEnum("streamlayer.interactive.NotificationSponsorLogoMode",[{no:0,name:"NOTIFICATION_SPONSOR_LOGO_UNSET"},{no:1,name:"NOTIFICATION_SPONSOR_LOGO_NONE"},{no:2,name:"NOTIFICATION_SPONSOR_LOGO_TRANSPARENT"}]),dF=L.makeEnum("streamlayer.interactive.CtaIconMode",[{no:0,name:"CTA_ICON_UNSET"},{no:1,name:"CTA_ICON_NONE"},{no:2,name:"CTA_ICON_TRANSPARENT"}]),fF=L.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"}]),fa=L.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"},{no:6,name:"PROMOTION_TYPE_EXTERNAL_AD",localName:"EXTERNAL_AD"}]),OQ=L.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"}]),hF=L.makeEnum("streamlayer.interactive.PromotionButtonType",[{no:0,name:"PROMOTION_BUTTON_TYPE_UNSET",localName:"UNSET"},{no:1,name:"PROMOTION_BUTTON_TYPE_BASIC",localName:"BASIC"},{no:3,name:"PROMOTION_BUTTON_TYPE_ADD_TO_WALLET",localName:"ADD_TO_WALLET"},{no:4,name:"PROMOTION_BUTTON_TYPE_RETURN_TO_VIDEO",localName:"RETURN_TO_VIDEO"},{no:5,name:"PROMOTION_BUTTON_TYPE_NO_BUTTON",localName:"NO_BUTTON"}]),zy=L.makeEnum("streamlayer.interactive.PromotionLogoMode",[{no:0,name:"PROMOTION_LOGO_MODE_UNSET",localName:"UNSET"},{no:1,name:"PROMOTION_LOGO_MODE_LEFT",localName:"LEFT"},{no:2,name:"PROMOTION_LOGO_MODE_CENTER",localName:"CENTER"},{no:3,name:"PROMOTION_LOGO_MODE_MINMAL",localName:"MINMAL"}]),mF=L.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"}]),sC=L.makeEnum("streamlayer.interactive.NotificationEnabled",[{no:0,name:"NOTIFICATION_ENABLED_UNSET"},{no:1,name:"NOTIFICATION_ENABLED"},{no:2,name:"NOTIFICATION_DISABLED"}]),NQ=L.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"}]),PQ=L.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"}]),DQ=L.makeEnum("streamlayer.interactive.QuestionSkipReason",[{no:0,name:"QUESTION_SKIP_REASON_UNSET",localName:"UNSET"},{no:1,name:"QUESTION_SKIP_REASON_OVERDUE",localName:"OVERDUE"}]),pF=L.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"}]),MQ=L.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"}]),oC=L.makeMessageType("streamlayer.interactive.QuestionAppearance",()=>[{no:1,name:"layout",kind:"enum",T:L.getEnumType(AQ)},{no:2,name:"images",kind:"enum",T:L.getEnumType(ms)},{no:3,name:"primary_color",kind:"scalar",T:9},{no:4,name:"position",kind:"enum",T:L.getEnumType(LQ)},{no:5,name:"auto_hide_interval",kind:"scalar",T:4}]),i0=L.makeMessageType("streamlayer.interactive.Sponsorship",()=>[{no:1,name:"logo",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9}]),FQ=L.makeMessageType("streamlayer.interactive.PromotionNotification",()=>[{no:1,name:"sponsor_logo",kind:"scalar",T:9},{no:2,name:"sponsor_logo_mode",kind:"enum",T:L.getEnumType(cF)},{no:3,name:"cta_button",kind:"message",T:yF},{no:4,name:"image_position",kind:"enum",T:L.getEnumType(wh)},{no:5,name:"mode",kind:"enum",T:L.getEnumType(RQ)}]),lC=L.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:L.getEnumType(fF)},{no:5,name:"body",kind:"scalar",T:9},{no:6,name:"image_mode",kind:"enum",T:L.getEnumType(ms)},{no:7,name:"promotion",kind:"message",T:FQ},{no:8,name:"enabled",kind:"enum",T:L.getEnumType(sC)}]),UQ=L.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}]),BQ=L.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},{no:9,name:"points_earned",kind:"scalar",T:13}]),qd=L.makeMessageType("streamlayer.interactive.AnswerFeedback",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9}]),uC=L.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}]),gF=L.makeMessageType("streamlayer.interactive.WebLink",()=>[{no:1,name:"label",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9}]),yF=L.makeMessageType("streamlayer.interactive.CTAButton",()=>[{no:1,name:"label",kind:"scalar",T:9},{no:2,name:"color",kind:"scalar",T:9},{no:3,name:"text_color",kind:"scalar",T:9,opt:!0},{no:4,name:"cta_icon",kind:"scalar",T:9},{no:5,name:"cta_icon_mode",kind:"enum",T:L.getEnumType(dF)}]),yR=L.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:yF},{no:4,name:"video",kind:"message",T:uC},{no:5,name:"body",kind:"scalar",T:9,opt:!0},{no:6,name:"analytics_topic_sub_type",kind:"enum",T:L.getEnumType(_l),opt:!0},{no:7,name:"title",kind:"scalar",T:9,opt:!0}]),$Q=L.makeMessageType("streamlayer.interactive.AdLoop",()=>[{no:1,name:"interval",kind:"scalar",T:5,opt:!0}]),vF=L.makeMessageType("streamlayer.interactive.QuestionOptions",()=>[{no:1,name:"poll",kind:"message",T:VQ,oneof:"options"},{no:2,name:"trivia",kind:"message",T:GQ,oneof:"options"},{no:3,name:"prediction",kind:"message",T:zQ,oneof:"options"},{no:4,name:"factoid",kind:"message",T:jQ,oneof:"options"},{no:5,name:"tweet",kind:"message",T:HQ,oneof:"options"},{no:6,name:"promotion",kind:"message",T:qQ,oneof:"options"}]),VQ=L.makeMessageType("streamlayer.interactive.QuestionOptions.PollOptions",[],{localName:"QuestionOptions_PollOptions"}),GQ=L.makeMessageType("streamlayer.interactive.QuestionOptions.TriviaOptions",()=>[{no:1,name:"correct_feedback",kind:"message",T:qd},{no:2,name:"incorrect_feedback",kind:"message",T:qd},{no:3,name:"points",kind:"scalar",T:4}],{localName:"QuestionOptions_TriviaOptions"}),zQ=L.makeMessageType("streamlayer.interactive.QuestionOptions.PredictionOptions",()=>[{no:1,name:"correct_feedback",kind:"message",T:qd},{no:2,name:"incorrect_feedback",kind:"message",T:qd}],{localName:"QuestionOptions_PredictionOptions"}),jQ=L.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:uC},{no:4,name:"web_link",kind:"message",T:gF},{no:5,name:"image_mode",kind:"enum",T:L.getEnumType(ms)},{no:6,name:"use_as_notification",kind:"enum",T:L.getEnumType(mF)}],{localName:"QuestionOptions_FactoidOptions"}),HQ=L.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:WQ}],{localName:"QuestionOptions_TweetOptions"}),WQ=L.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:aC}],{localName:"QuestionOptions_TweetOptions_TweetMetadata"}),KQ=L.makeMessageType("streamlayer.interactive.QuestionOptions.GamOptions",()=>[{no:1,name:"env",kind:"scalar",T:9,opt:!0},{no:2,name:"gdfp_req",kind:"scalar",T:9,opt:!0},{no:3,name:"iu",kind:"scalar",T:9,opt:!0},{no:4,name:"output",kind:"scalar",T:9,opt:!0},{no:5,name:"sz",kind:"scalar",T:9,opt:!0},{no:6,name:"unviewed_position_start",kind:"scalar",T:9,opt:!0},{no:7,name:"ciu_szs",kind:"scalar",T:9,repeated:!0},{no:8,name:"url",kind:"scalar",T:9,opt:!0},{no:9,name:"description_url",kind:"scalar",T:9,opt:!0},{no:10,name:"correlator",kind:"scalar",T:9,opt:!0},{no:11,name:"cust_params",kind:"map",K:9,V:{kind:"scalar",T:9}},{no:12,name:"plcmt",kind:"scalar",T:9,opt:!0},{no:13,name:"vpa",kind:"scalar",T:9,opt:!0},{no:14,name:"vpmute",kind:"scalar",T:9,opt:!0},{no:15,name:"wta",kind:"scalar",T:9,opt:!0},{no:16,name:"aconp",kind:"scalar",T:9,opt:!0},{no:17,name:"ad_rule",kind:"scalar",T:9,opt:!0},{no:18,name:"ad_type",kind:"scalar",T:9,opt:!0},{no:19,name:"hl",kind:"scalar",T:9,opt:!0},{no:20,name:"dth",kind:"scalar",T:9,opt:!0},{no:21,name:"gdpr",kind:"scalar",T:9,opt:!0},{no:22,name:"gdpr_consent",kind:"scalar",T:9,opt:!0},{no:23,name:"iabexcl",kind:"scalar",T:9,opt:!0},{no:24,name:"lip",kind:"scalar",T:8,opt:!0},{no:25,name:"ltd",kind:"scalar",T:9,opt:!0},{no:26,name:"nofb",kind:"scalar",T:9,opt:!0},{no:27,name:"npa",kind:"scalar",T:9,opt:!0},{no:28,name:"omid_p",kind:"scalar",T:9,opt:!0},{no:29,name:"ppt",kind:"scalar",T:9,opt:!0},{no:30,name:"ppos",kind:"scalar",T:9,opt:!0},{no:31,name:"ppid",kind:"scalar",T:9,opt:!0},{no:32,name:"scor",kind:"scalar",T:9,opt:!0},{no:33,name:"sdk_apis",kind:"scalar",T:9,opt:!0},{no:34,name:"ssss",kind:"scalar",T:9,opt:!0},{no:35,name:"sdmax",kind:"scalar",T:9,opt:!0},{no:36,name:"sid",kind:"scalar",T:9,opt:!0},{no:37,name:"rdp",kind:"scalar",T:9,opt:!0},{no:38,name:"addtl_consent",kind:"scalar",T:9,opt:!0},{no:39,name:"afvsz",kind:"scalar",T:9,opt:!0},{no:40,name:"allcues",kind:"scalar",T:9,opt:!0},{no:41,name:"cmsid",kind:"scalar",T:9,opt:!0},{no:42,name:"vid",kind:"scalar",T:9,opt:!0},{no:43,name:"excl_cat",kind:"scalar",T:9,opt:!0},{no:44,name:"ipd",kind:"scalar",T:9,opt:!0},{no:45,name:"ipe",kind:"scalar",T:9,opt:!0},{no:46,name:"max_ad_duration",kind:"scalar",T:9,opt:!0},{no:47,name:"min_ad_duration",kind:"scalar",T:9,opt:!0},{no:48,name:"mridx",kind:"scalar",T:9,opt:!0},{no:49,name:"msid",kind:"scalar",T:9,opt:!0},{no:50,name:"an",kind:"scalar",T:9,opt:!0},{no:51,name:"pmad",kind:"scalar",T:9,opt:!0},{no:52,name:"pmnd",kind:"scalar",T:9,opt:!0},{no:53,name:"pmxd",kind:"scalar",T:9,opt:!0},{no:54,name:"pod",kind:"scalar",T:9,opt:!0},{no:55,name:"pp",kind:"scalar",T:9,opt:!0},{no:56,name:"ppsj",kind:"scalar",T:9,opt:!0},{no:57,name:"ptpl",kind:"scalar",T:9,opt:!0},{no:58,name:"ptpln",kind:"scalar",T:9,opt:!0},{no:59,name:"pubf",kind:"scalar",T:9,opt:!0},{no:60,name:"pvtf",kind:"scalar",T:9,opt:!0},{no:61,name:"pvid",kind:"scalar",T:9,opt:!0},{no:62,name:"pvid_s",kind:"scalar",T:9,opt:!0},{no:63,name:"rdid",kind:"scalar",T:9,opt:!0},{no:64,name:"idtype",kind:"scalar",T:9,opt:!0},{no:65,name:"is_lat",kind:"scalar",T:9,opt:!0},{no:66,name:"tfcd",kind:"scalar",T:9,opt:!0},{no:67,name:"trt",kind:"scalar",T:9,opt:!0},{no:68,name:"vad_type",kind:"scalar",T:9,opt:!0},{no:69,name:"vid_d",kind:"scalar",T:9,opt:!0},{no:70,name:"vconp",kind:"scalar",T:9,opt:!0},{no:71,name:"vpi",kind:"scalar",T:9,opt:!0},{no:72,name:"vpos",kind:"scalar",T:9,opt:!0},{no:73,name:"impl",kind:"scalar",T:9,opt:!0},{no:74,name:"vad_format",kind:"scalar",T:9,opt:!0}],{localName:"QuestionOptions_GamOptions"}),YQ=L.makeMessageType("streamlayer.interactive.QuestionOptions.AdCampaigns",()=>[{no:1,name:"gam_options",kind:"message",T:KQ,opt:!0},{no:2,name:"gam_base_url",kind:"scalar",T:9,opt:!0},{no:3,name:"ad_loop",kind:"message",T:$Q}],{localName:"QuestionOptions_AdCampaigns"}),qQ=L.makeMessageType("streamlayer.interactive.QuestionOptions.PromotionOptions",()=>[{no:1,name:"type",kind:"enum",T:L.getEnumType(fa)},{no:2,name:"sponsor",kind:"message",T:i0},{no:3,name:"banner",kind:"message",T:yR},{no:4,name:"enable_wallet",kind:"enum",T:L.getEnumType(OQ)},{no:5,name:"additional_banner",kind:"message",T:yR},{no:6,name:"coupon",kind:"scalar",T:9},{no:7,name:"logo_mode",kind:"enum",T:L.getEnumType(zy)},{no:8,name:"coupon_zip",kind:"scalar",T:9},{no:9,name:"coupon_barcode_url",kind:"scalar",T:9},{no:10,name:"button_type",kind:"enum",T:L.getEnumType(hF),opt:!0},{no:11,name:"ad_campaigns",kind:"message",T:YQ,opt:!0}],{localName:"QuestionOptions_PromotionOptions"}),QQ=L.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}]),XQ=L.makeMessageType("streamlayer.interactive.QuestionAi",()=>[{no:1,name:"verified",kind:"scalar",T:8}]),TF=L.makeMessageType("streamlayer.interactive.Question",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:L.getEnumType(ft)},{no:3,name:"subject",kind:"scalar",T:9,opt:!0},{no:4,name:"options",kind:"message",T:vF},{no:5,name:"appearance",kind:"message",T:oC},{no:6,name:"sponsorship",kind:"message",T:i0},{no:7,name:"notification",kind:"message",T:lC},{no:8,name:"answers",kind:"message",T:UQ,repeated:!0},{no:9,name:"status",kind:"enum",T:L.getEnumType(ei)},{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:ha},{no:17,name:"tags",kind:"message",T:QQ,repeated:!0},{no:18,name:"bypass_notifications",kind:"message",T:dC},{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:L.getEnumType(_Q)},{no:22,name:"ai",kind:"message",T:XQ},{no:23,name:"has_triggers",kind:"scalar",T:8,opt:!0}]),cC=L.makeMessageType("streamlayer.interactive.ExtendedQuestion",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:L.getEnumType(ft)},{no:3,name:"subject",kind:"scalar",T:9},{no:4,name:"options",kind:"message",T:vF},{no:5,name:"appearance",kind:"message",T:oC},{no:6,name:"sponsorship",kind:"message",T:i0},{no:7,name:"notification",kind:"message",T:lC},{no:8,name:"answers",kind:"message",T:BQ,repeated:!0},{no:9,name:"status",kind:"enum",T:L.getEnumType(ei)},{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:dC}]),SF=L.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:i0},{no:4,name:"onboarding_enabled",kind:"scalar",T:8},{no:5,name:"question",kind:"message",T:ZQ},{no:6,name:"sponsors",kind:"message",T:tX},{no:7,name:"notification",kind:"message",T:nX},{no:8,name:"activated_at",kind:"message",T:ha},{no:9,name:"deactivated_at",kind:"message",T:ha},{no:10,name:"question_auto_post",kind:"message",T:rX},{no:11,name:"bypass_notifications",kind:"message",T:dC},{no:12,name:"importer_collaboration",kind:"message",T:uX}]),ZQ=L.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings",()=>[{no:1,name:"appearance",kind:"message",T:oC},{no:2,name:"trivia",kind:"message",T:JQ},{no:3,name:"prediction",kind:"message",T:eX},{no:4,name:"correct_feedbacks",kind:"message",T:qd,repeated:!0},{no:5,name:"incorrect_feedbacks",kind:"message",T:qd,repeated:!0}],{localName:"EventModeration_QuestionSettings"}),JQ=L.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings.TriviaCardSettings",()=>[{no:1,name:"points",kind:"scalar",T:13}],{localName:"EventModeration_QuestionSettings_TriviaCardSettings"}),eX=L.makeMessageType("streamlayer.interactive.EventModeration.QuestionSettings.PredictionCardSettings",()=>[{no:1,name:"max_points",kind:"scalar",T:13}],{localName:"EventModeration_QuestionSettings_PredictionCardSettings"}),tX=L.makeMessageType("streamlayer.interactive.EventModeration.SponsorshipSettings",()=>[{no:1,name:"sponsors",kind:"message",T:i0,repeated:!0}],{localName:"EventModeration_SponsorshipSettings"}),nX=L.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:L.getEnumType(fF)},{no:4,name:"image_mode",kind:"enum",T:L.getEnumType(ms)}],{localName:"EventModeration_NotificationSettings"}),rX=L.makeMessageType("streamlayer.interactive.QuestionAutoPost",()=>[{no:1,name:"state",kind:"enum",T:L.getEnumType(NQ)},{no:2,name:"interval",kind:"scalar",T:13},{no:3,name:"next_post_time",kind:"message",T:ha},{no:4,name:"start_mode",kind:"enum",T:L.getEnumType(PQ)},{no:5,name:"start_options",kind:"message",T:iX}]),iX=L.makeMessageType("streamlayer.interactive.QuestionAutoPostStartOptions",()=>[{no:1,name:"schedule",kind:"message",T:aX,oneof:"options"}]),aX=L.makeMessageType("streamlayer.interactive.QuestionAutoPostStartOptions.ScheduleOptions",()=>[{no:1,name:"timestamp",kind:"scalar",T:4}],{localName:"QuestionAutoPostStartOptions_ScheduleOptions"}),H4=L.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}]),sX=L.makeMessageType("streamlayer.interactive.Sort",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"order",kind:"scalar",T:9}]),dC=L.makeMessageType("streamlayer.interactive.BypassNotifications",()=>[{no:1,name:"in_app_silence",kind:"enum",T:L.getEnumType(pF)}]),oX=L.makeMessageType("streamlayer.interactive.ImportError",()=>[{no:1,name:"row_id",kind:"scalar",T:9},{no:2,name:"message",kind:"scalar",T:9}]),lX=L.makeMessageType("streamlayer.interactive.ImportProgress",()=>[{no:1,name:"import_id",kind:"scalar",T:9},{no:2,name:"status",kind:"enum",T:L.getEnumType(MQ)},{no:3,name:"errors",kind:"message",T:oX,repeated:!0},{no:4,name:"last_updated",kind:"message",T:ha}]),uX=L.makeMessageType("streamlayer.interactive.ImporterCollaboration",()=>[{no:1,name:"imports",kind:"map",K:9,V:{kind:"message",T:lX}}]),nc=L.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"}]),cX=L.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"}]),EF=L.makeMessageType("streamlayer.interactive.feed.FeedQuestion",()=>[{no:1,name:"question",kind:"message",T:TF},{no:2,name:"notification",kind:"message",T:lC},{no:3,name:"moderation",kind:"message",T:SF},{no:4,name:"feed_item",kind:"message",T:W4}]),dX=L.makeMessageType("streamlayer.interactive.feed.SubscriptionRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9},{no:2,name:"feed_id",kind:"scalar",T:9}]),fX=L.makeMessageType("streamlayer.interactive.feed.SubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:hX}]),hX=L.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:EF}],{localName:"SubscriptionResponse_SubscriptionResponseData"}),mX=L.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionRequest",()=>[{no:1,name:"feed_id",kind:"scalar",T:9},{no:2,name:"question_id",kind:"scalar",T:9}]),pX=L.makeMessageType("streamlayer.interactive.feed.VotingSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:gX}]),gX=L.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:fC,repeated:!0}],{localName:"VotingSubscriptionResponse_VotingSubscriptionResponseData"}),yX=L.makeMessageType("streamlayer.interactive.feed.QuestionSubscription",()=>[{no:1,name:"question",kind:"message",T:cC}]),vX=L.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionRequest",()=>[{no:1,name:"question_id",kind:"scalar",T:9}]),TX=L.makeMessageType("streamlayer.interactive.feed.QuestionSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:SX}]),SX=L.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:yX}],{localName:"QuestionSubscriptionResponse_QuestionSubscriptionResponseData"}),EX=L.makeMessageType("streamlayer.interactive.feed.QuestionByUser",()=>[{no:1,name:"question",kind:"message",T:cC}]),kX=L.makeMessageType("streamlayer.interactive.feed.QuestionByUserRequest",()=>[{no:1,name:"question_id",kind:"scalar",T:9}]),bX=L.makeMessageType("streamlayer.interactive.feed.QuestionByUserResponse",()=>[{no:1,name:"data",kind:"message",T:wX}]),wX=L.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:EX}],{localName:"QuestionByUserResponse_QuestionByUserResponseData"}),CX=L.makeMessageType("streamlayer.interactive.feed.SyncQuestionRequest",()=>[{no:1,name:"filter",kind:"message",T:xX}]),xX=L.makeMessageType("streamlayer.interactive.feed.SyncQuestionRequest.SyncQuestionRequestFilter",()=>[{no:1,name:"event_id",kind:"scalar",T:9}],{localName:"SyncQuestionRequest_SyncQuestionRequestFilter"}),IX=L.makeMessageType("streamlayer.interactive.feed.SyncQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:_X}]),_X=L.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:EF}],{localName:"SyncQuestionResponse_SyncQuestionResponseData"}),LX=L.makeMessageType("streamlayer.interactive.feed.GetQuestionRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),AX=L.makeMessageType("streamlayer.interactive.feed.GetQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:RX}]),RX=L.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:TF}],{localName:"GetQuestionResponse_GetQuestionResponseData"}),OX=L.makeMessageType("streamlayer.interactive.feed.QuestionDetailRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),NX=L.makeMessageType("streamlayer.interactive.feed.QuestionDetailResponse",()=>[{no:1,name:"data",kind:"message",T:PX}]),PX=L.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:cC}],{localName:"QuestionDetailResponse_QuestionDetailResponseData"}),fC=L.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}]),DX=L.makeMessageType("streamlayer.interactive.feed.SubmitAnswerRequest",()=>[{no:1,name:"data",kind:"message",T:MX}]),MX=L.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"}),FX=L.makeMessageType("streamlayer.interactive.feed.SubmitAnswerResponse",()=>[{no:1,name:"data",kind:"message",T:UX}]),UX=L.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:fC,repeated:!0}],{localName:"SubmitAnswerResponse_SubmitAnswerResponseData"}),BX=L.makeMessageType("streamlayer.interactive.feed.SubmitInplayRequest",()=>[{no:1,name:"data",kind:"message",T:$X}]),$X=L.makeMessageType("streamlayer.interactive.feed.SubmitInplayRequest.SubmitRequestData",()=>[{no:1,name:"event_id",kind:"scalar",T:13}],{localName:"SubmitInplayRequest_SubmitRequestData"}),VX=L.makeMessageType("streamlayer.interactive.feed.SubmitInplayResponse",[]),GX=L.makeMessageType("streamlayer.interactive.feed.SkipQuestionRequest",()=>[{no:1,name:"data",kind:"message",T:zX}]),zX=L.makeMessageType("streamlayer.interactive.feed.SkipQuestionRequest.SkipQuestionRequestData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"reason",kind:"enum",T:L.getEnumType(DQ)}],{localName:"SkipQuestionRequest_SkipQuestionRequestData"}),jX=L.makeMessageType("streamlayer.interactive.feed.SkipQuestionResponse",()=>[{no:1,name:"data",kind:"message",T:HX}]),HX=L.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:fC,repeated:!0}],{localName:"SkipQuestionResponse_SkipQuestionResponseData"}),WX=L.makeMessageType("streamlayer.interactive.feed.PickHistoryRequest",()=>[{no:1,name:"question_type",kind:"enum",T:L.getEnumType(ft),repeated:!0},{no:3,name:"event_id",kind:"scalar",T:9},{no:2,name:"pagination",kind:"message",T:H4}]),kF=L.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:L.getEnumType(nc)},{no:4,name:"question_type",kind:"enum",T:L.getEnumType(ft)},{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:L.getEnumType(ei)}]),KX=L.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:YX,repeated:!0},{no:2,name:"meta",kind:"message",T:qX}]),YX=L.makeMessageType("streamlayer.interactive.feed.PickHistoryResponse.PickHistoryResponseData",()=>[{no:1,name:"attributes",kind:"message",T:kF}],{localName:"PickHistoryResponse_PickHistoryResponseData"}),qX=L.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"}),QX=L.makeMessageType("streamlayer.interactive.feed.InsightHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),XX=L.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:uC,opt:!0},{no:5,name:"web_link",kind:"message",T:gF,opt:!0},{no:6,name:"image_mode",kind:"enum",T:L.getEnumType(ms)}]),ZX=L.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}]),bF=L.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:L.getEnumType(ms)},{no:5,name:"instant_view",kind:"message",T:XX,opt:!0},{no:6,name:"notification",kind:"message",T:ZX,opt:!0},{no:7,name:"use_as_notification",kind:"enum",T:L.getEnumType(mF)}]),JX=L.makeMessageType("streamlayer.interactive.feed.InsightHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:eZ,repeated:!0}]),eZ=L.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:bF}],{localName:"InsightHistoryResponse_InsightHistoryResponseData"}),tZ=L.makeMessageType("streamlayer.interactive.feed.TweetHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),wF=L.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:aC}]),nZ=L.makeMessageType("streamlayer.interactive.feed.TweetHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:rZ,repeated:!0}]),rZ=L.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:wF}],{localName:"TweetHistoryResponse_TweetHistoryResponseData"}),iZ=L.makeMessageType("streamlayer.interactive.feed.InteractiveFeed",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"options",kind:"message",T:aZ},{no:3,name:"moderation",kind:"message",T:SF}]),aZ=L.makeMessageType("streamlayer.interactive.feed.FeedOptions",()=>[{no:1,name:"onboarding_enabled",kind:"scalar",T:8}]),sZ=L.makeMessageType("streamlayer.interactive.feed.GetRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),oZ=L.makeMessageType("streamlayer.interactive.feed.GetResponse",()=>[{no:1,name:"data",kind:"message",T:lZ}]),lZ=L.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:iZ}],{localName:"GetResponse_GetResponseData"}),uZ=L.makeMessageType("streamlayer.interactive.feed.PromotionHistoryRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),CF=L.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}]),cZ=L.makeMessageType("streamlayer.interactive.feed.PromotionHistoryResponse",()=>[{no:1,name:"data",kind:"message",T:dZ,repeated:!0}]),dZ=L.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:CF}],{localName:"PromotionHistoryResponse_PromotionHistoryResponseData"}),fZ=L.makeMessageType("streamlayer.interactive.feed.FeedItemAttributes",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:L.getEnumType(ft)},{no:3,name:"status",kind:"enum",T:L.getEnumType(ei)},{no:8,name:"created",kind:"scalar",T:9},{no:4,name:"question",kind:"message",T:kF,oneof:"attributes"},{no:5,name:"tweet",kind:"message",T:wF,oneof:"attributes"},{no:6,name:"insight",kind:"message",T:bF,oneof:"attributes"},{no:7,name:"promotion",kind:"message",T:CF,oneof:"attributes"}]),W4=L.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:fZ}]),hZ=L.makeMessageType("streamlayer.interactive.feed.FeedListRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9},{no:2,name:"filter",kind:"message",T:mZ},{no:3,name:"pagination",kind:"message",T:H4}]),mZ=L.makeMessageType("streamlayer.interactive.feed.FeedListRequest.FeedListFilter",()=>[{no:1,name:"types",kind:"enum",T:L.getEnumType(ft),repeated:!0},{no:2,name:"statuses",kind:"enum",T:L.getEnumType(ei),repeated:!0}],{localName:"FeedListRequest_FeedListFilter"}),pZ=L.makeMessageType("streamlayer.interactive.feed.FeedListResponse",()=>[{no:1,name:"data",kind:"message",T:W4,repeated:!0},{no:2,name:"meta",kind:"message",T:gZ}]),gZ=L.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"}),yZ=L.makeMessageType("streamlayer.interactive.feed.FeedItemRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),vZ=L.makeMessageType("streamlayer.interactive.feed.FeedItemResponse",()=>[{no:1,name:"data",kind:"message",T:W4}]),TZ=L.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9}]),SZ=L.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:W4},{no:2,name:"meta",kind:"message",T:EZ}]),EZ=L.makeMessageType("streamlayer.interactive.feed.FeedSubscriptionResponse.FeedSubscriptionMeta",()=>[{no:1,name:"type",kind:"enum",T:L.getEnumType(cX)}],{localName:"FeedSubscriptionResponse_FeedSubscriptionMeta"}),kZ=L.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}]),bZ=L.makeMessageType("streamlayer.sdkSettings.game.common.GameMedia",()=>[{no:1,name:"game_icon",kind:"scalar",T:9},{no:2,name:"sponsor_logo",kind:"scalar",T:9}]),wZ=L.makeMessageType("streamlayer.sdkSettings.game.common.GamePrize",()=>[{no:1,name:"title",kind:"scalar",T:9},{no:2,name:"image",kind:"scalar",T:9}]),CZ=L.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:bZ},{no:6,name:"appearance",kind:"message",T:kZ},{no:7,name:"prizes",kind:"message",T:wZ,repeated:!0},{no:8,name:"completed",kind:"scalar",T:8}]),xZ=L.makeMessageType("streamlayer.sdkSettings.game.common.TitleCardMedia",()=>[{no:1,name:"icon",kind:"scalar",T:9},{no:2,name:"sponsor_logo",kind:"scalar",T:9}]),IZ=L.makeMessageType("streamlayer.sdkSettings.game.common.TitleCardAppearance",()=>[{no:1,name:"graphic",kind:"scalar",T:9}]),_Z=L.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:xZ},{no:7,name:"appearance",kind:"message",T:IZ},{no:8,name:"completed",kind:"scalar",T:8}]),LZ=L.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}]),AZ=L.makeMessageType("streamlayer.sdkSettings.game.common.GameOnboarding",()=>[{no:1,name:"steps",kind:"message",T:LZ,repeated:!0},{no:2,name:"completed",kind:"scalar",T:8}]),RZ=L.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}]),OZ=L.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}]),NZ=L.makeMessageType("streamlayer.sdkSettings.game.common.GameSettings",()=>[{no:1,name:"overview",kind:"message",T:CZ},{no:2,name:"title_card",kind:"message",T:_Z},{no:3,name:"onboarding",kind:"message",T:AZ},{no:4,name:"rules",kind:"message",T:RZ},{no:5,name:"invite_card",kind:"message",T:OZ},{no:6,name:"completed",kind:"scalar",T:8},{no:7,name:"enable",kind:"scalar",T:8}]),PZ=L.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:qd,repeated:!0},{no:7,name:"incorrect_feedbacks",kind:"message",T:qd,repeated:!0}]),DZ=L.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationNotifications",()=>[{no:1,name:"default_image",kind:"scalar",T:9},{no:2,name:"image_mode",kind:"enum",T:L.getEnumType(ms)}]),MZ=L.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:i0,repeated:!0}]),FZ=L.makeMessageType("streamlayer.sdkSettings.moderation.common.ModerationSettings",()=>[{no:1,name:"general",kind:"message",T:PZ},{no:2,name:"notifications",kind:"message",T:DZ},{no:3,name:"sponsorships",kind:"message",T:MZ}]),$t=L.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"}]),UZ=L.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"}]),BZ=L.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"}]),hC=L.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"}]),$Z=L.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"}]),xF=L.makeEnum("streamlayer.sdkSettings.GetStreamEnabled",[{no:0,name:"GETSTREAM_ENABLED_UNSET"},{no:1,name:"GETSTREAM_ENABLED_TRUE"},{no:2,name:"GETSTREAM_ENABLED_FALSE"}]),VZ=L.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"}]),GZ=L.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"}]),zZ=L.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"}]),jZ=L.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"}]),HZ=L.makeMessageType("streamlayer.sdkSettings.TwitterOverlaySettings",()=>[{no:1,name:"accounts",kind:"scalar",T:9,repeated:!0}]),WZ=L.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:L.getEnumType(UZ)}]),KZ=L.makeMessageType("streamlayer.sdkSettings.CtaImage",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9}]),IF=L.makeMessageType("streamlayer.sdkSettings.BrandDefaults",()=>[{no:1,name:"appearance",kind:"message",T:YZ}]),YZ=L.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"}),vR=L.makeMessageType("streamlayer.sdkSettings.BettingOverlaySettings",()=>[{no:1,name:"favorites",kind:"message",T:WZ,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:L.getEnumType(BZ)},{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:KZ}]),qZ=L.makeMessageType("streamlayer.sdkSettings.GetStreamSettingsClient",()=>[{no:1,name:"enabled",kind:"enum",T:L.getEnumType(xF)},{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:L.getEnumType(hC)}]),t4=L.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:L.getEnumType(hC)},{no:5,name:"is_default",kind:"enum",T:L.getEnumType($Z)}]),QZ=L.makeMessageType("streamlayer.sdkSettings.GetStreamChannels",()=>[{no:1,name:"enabled",kind:"enum",T:L.getEnumType(xF)},{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:L.getEnumType(hC)},{no:5,name:"default_channel",kind:"message",T:t4},{no:6,name:"channels",kind:"message",T:t4,repeated:!0}]),_F=L.makeMessageType("streamlayer.sdkSettings.StreamSettings",()=>[{no:1,name:"overlays",kind:"message",T:AF,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:IF},{no:10,name:"getstream",kind:"message",T:QZ}]),XZ=L.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:ZZ,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}]),ZZ=L.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"}),LF=L.makeMessageType("streamlayer.sdkSettings.OrganizationSettings",()=>[{no:1,name:"overlays",kind:"message",T:AF,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:IF},{no:13,name:"pub",kind:"message",T:XZ},{no:14,name:"getstream",kind:"message",T:qZ},{no:15,name:"public_name",kind:"enum",T:L.getEnumType(VZ)},{no:16,name:"analytics_version",kind:"enum",T:L.getEnumType(GZ)}]),JZ=L.makeMessageType("streamlayer.sdkSettings.GamesOverlaySettings",()=>[{no:1,name:"inplay_game",kind:"message",T:NZ},{no:2,name:"moderation",kind:"message",T:FZ},{no:3,name:"pinned_leaderboard_id",kind:"scalar",T:9},{no:4,name:"leaderboard_kind",kind:"enum",T:L.getEnumType(zZ)}]),TR=L.makeMessageType("streamlayer.sdkSettings.GetStreamOverlaySettings",()=>[{no:1,name:"default_channel",kind:"message",T:t4},{no:2,name:"channels",kind:"message",T:t4,repeated:!0}]),jy=L.makeMessageType("streamlayer.sdkSettings.SdkOverlaySettings",()=>[{no:4,name:"twitter",kind:"message",T:HZ,oneof:"overlay_settings"},{no:5,name:"betting",kind:"message",T:vR,oneof:"overlay_settings"},{no:6,name:"inplay",kind:"message",T:vR,oneof:"overlay_settings"},{no:7,name:"games",kind:"message",T:JZ,oneof:"overlay_settings"},{no:8,name:"getstream",kind:"message",T:TR,oneof:"overlay_settings"},{no:9,name:"public_chat",kind:"message",T:TR,oneof:"overlay_settings"}]),eJ=L.makeMessageType("streamlayer.sdkSettings.SdkOverlayMeta",()=>[{no:1,name:"organization",kind:"message",T:jy},{no:2,name:"global_preset",kind:"message",T:jy},{no:3,name:"preset",kind:"message",T:jy},{no:4,name:"stream",kind:"message",T:jy}]),AF=L.makeMessageType("streamlayer.sdkSettings.SdkOverlay",()=>[{no:1,name:"type",kind:"enum",T:L.getEnumType($t)},{no:3,name:"position",kind:"scalar",T:5},{no:4,name:"overwrite",kind:"scalar",T:8},{no:5,name:"settings",kind:"message",T:jy},{no:6,name:"meta",kind:"message",T:eJ},{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}]),tJ=L.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:L.getEnumType(jZ)}]),nJ=L.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}]),rJ=L.makeMessageType("streamlayer.sdkSettings.AdvertisingSettings",()=>[{no:1,name:"frequency",kind:"scalar",T:5},{no:2,name:"images",kind:"message",T:tJ,repeated:!0},{no:3,name:"videos",kind:"message",T:nJ,repeated:!0}]),iJ=L.makeMessageType("streamlayer.sdkSettings.AdvertisingOverlaySettings",()=>[{no:1,name:"overlay_type",kind:"enum",T:L.getEnumType($t)},{no:2,name:"settings",kind:"map",K:9,V:{kind:"message",T:rJ}},{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}]),aJ=L.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:iJ}}]),mw=L.makeEnum("streamlayer.analytics.v1.invitations.InvitationCategory",[{no:0,name:"INVITATION_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"INVITATION_CATEGORY_WATCHING",localName:"WATCHING"},{no:2,name:"INVITATION_CATEGORY_MESSAGING",localName:"MESSAGING"},{no:3,name:"INVITATION_CATEGORY_VOICING",localName:"VOICING"},{no:4,name:"INVITATION_CATEGORY_GAMES",localName:"GAMES"}]),xv=L.makeEnum("streamlayer.analytics.v1.invitations.InvitationFrom",[{no:0,name:"INVITATION_FROM_UNSET",localName:"UNSET"},{no:1,name:"INVITATION_FROM_TITLE_CARD",localName:"TITLE_CARD"},{no:2,name:"INVITATION_FROM_MENU",localName:"MENU"}]);let g5=0,SR=[];function sJ(){return g5+=1,()=>{if(g5-=1,g5===0){let t=SR;SR=[];for(let e of t)e()}}}let gi=[],Qd=(t,e)=>{let n=[],r={get(){return r.lc||r.listen(()=>{})(),r.value},l:e||0,lc:0,listen(i,o){return r.lc=n.push(i,o||r.l)/2,()=>{let l=n.indexOf(i);~l&&(n.splice(l,2),--r.lc||r.off())}},notify(i,o){let l=!gi.length;for(let c=0;c(t.events=t.events||{},t.events[n+wS]||(t.events[n+wS]=r(i=>{t.events[n].reduceRight((o,l)=>(l(o),o),{shared:{},...i})})),t.events[n]=t.events[n]||[],t.events[n].push(e),()=>{let i=t.events[n],o=i.indexOf(e);i.splice(o,1),i.length||(delete t.events[n],t.events[n+wS](),delete t.events[n+wS])}),cJ=(t,e)=>mC(t,e,oJ,n=>{let r=t.listen;return t.listen=i=>(!t.lc&&!t.starting&&(t.starting=!0,n(),delete t.starting),r(i)),()=>{t.listen=r}}),dJ=(t,e)=>mC(t,e,lJ,n=>{let r=t.off;return t.off=()=>{n(),r()},()=>{t.off=r}}),fJ=1e3,Vv=(t,e)=>mC(t,n=>{let r=e(n);r&&t.events[bS].push(r)},uJ,n=>{let r=t.listen;t.listen=(...o)=>(!t.lc&&!t.active&&(t.active=!0,n()),r(...o));let i=t.off;return t.events[bS]=[],t.off=()=>{i(),setTimeout(()=>{if(t.active&&!t.lc){t.active=!1;for(let o of t.events[bS])o();t.events[bS]=[]}},fJ)},()=>{t.listen=r,t.off=i}}),RF=(t,e,n)=>{Array.isArray(t)||(t=[t]);let r,i=0,o=()=>{let m=t.map(y=>y.get());if(r===void 0||m.some((y,T)=>y!==r[T])){let y=++i;r=m;let T=e(...m);T&&T.then&&T.t?T.then(E=>{y===i&&l.set(E)}):l.set(T)}},l=Qd(void 0,Math.max(...t.map(m=>m.l))+1),c,h=n?()=>{clearTimeout(c),c=setTimeout(o)}:o;return Vv(l,()=>{let m=t.map(y=>y.listen(h,-1/l.l));return o(),()=>{for(let y of m)y()}}),l},hJ=(t,e)=>RF(t,e),ER=(t,e)=>RF(t,e,!0),pw=(t={})=>{let e=Qd(t);return e.setKey=function(n,r){let i=e.value;typeof r>"u"&&n in e.value?(e.value={...e.value},delete e.value[n],e.notify(i,n)):e.value[n]!==r&&(e.value={...e.value,[n]:r},e.notify(i,n))},e},gw=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((e,n)=>(n&=63,n<36?e+=n.toString(36):n<62?e+=(n-26).toString(36).toUpperCase():n>62?e+="-":e+="_",e),"");var Et;(function(t){t[t.Canceled=1]="Canceled",t[t.Unknown=2]="Unknown",t[t.InvalidArgument=3]="InvalidArgument",t[t.DeadlineExceeded=4]="DeadlineExceeded",t[t.NotFound=5]="NotFound",t[t.AlreadyExists=6]="AlreadyExists",t[t.PermissionDenied=7]="PermissionDenied",t[t.ResourceExhausted=8]="ResourceExhausted",t[t.FailedPrecondition=9]="FailedPrecondition",t[t.Aborted=10]="Aborted",t[t.OutOfRange=11]="OutOfRange",t[t.Unimplemented=12]="Unimplemented",t[t.Internal=13]="Internal",t[t.Unavailable=14]="Unavailable",t[t.DataLoss=15]="DataLoss",t[t.Unauthenticated=16]="Unauthenticated"})(Et||(Et={}));function kR(t){const e=Et[t];return typeof e!="string"?t.toString():e[0].toLowerCase()+e.substring(1).replace(/[A-Z]/g,n=>"_"+n.toLowerCase())}class rn extends Error{constructor(e,n=Et.Unknown,r,i,o){super(mJ(e,n)),this.name="ConnectError",Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=e,this.code=n,this.metadata=new Headers(r??{}),this.details=i??[],this.cause=o}static from(e,n=Et.Unknown){return e instanceof rn?e:e instanceof Error?e.name=="AbortError"?new rn(e.message,Et.Canceled):new rn(e.message,n,void 0,void 0,e):new rn(String(e),n,void 0,void 0,e)}static[Symbol.hasInstance](e){return e instanceof Error?Object.getPrototypeOf(e)===rn.prototype?!0:e.name==="ConnectError"&&"code"in e&&typeof e.code=="number"&&"metadata"in e&&"details"in e&&Array.isArray(e.details)&&"rawMessage"in e&&typeof e.rawMessage=="string"&&"cause"in e:!1}findDetails(e){const n="typeName"in e?{findMessage:i=>i===e.typeName?e:void 0}:e,r=[];for(const i of this.details){if("getType"in i){n.findMessage(i.getType().typeName)&&r.push(i);continue}const o=n.findMessage(i.type);if(o)try{r.push(o.fromBinary(i.value))}catch{}}return r}}function mJ(t,e){return t.length?`[${kR(e)}] ${t}`:`[${kR(e)}]`}function pJ(t,e,n){try{const r=iC.dec(t);return e?e.fromBinary(r,n):r}catch(r){throw rn.from(r,Et.DataLoss)}}function gJ(t,e){const n={};for(const[r,i]of Object.entries(t.methods)){const o=e(Object.assign(Object.assign({},i),{localName:r,service:t}));o!=null&&(n[r]=o)}return n}const bR=1;function wR(t){let e,n=new Uint8Array(0);function r(i){const o=new Uint8Array(n.length+i.length);o.set(n),o.set(i,n.length),n=o}return new ReadableStream({start(){e=t.getReader()},async pull(i){let o;for(;;){if(o===void 0&&n.byteLength>=5){let h=0;for(let m=1;m<5;m++)h=(h<<8)+n[m];o={flags:n[0],length:h}}if(o!==void 0&&n.byteLength>=o.length+5)break;const c=await e.read();if(c.done)break;r(c.value)}if(o===void 0){if(n.byteLength==0){i.close();return}i.error(new rn("premature end of stream",Et.DataLoss));return}const l=n.subarray(5,5+o.length);n=n.subarray(5+o.length),i.enqueue({flags:o.flags,data:l})}})}function CR(t,e){const n=new Uint8Array(e.length+5);n.set(e,5);const r=new DataView(n.buffer,n.byteOffset,n.byteLength);return r.setUint8(0,t),r.setUint32(1,e.length),n}var yJ=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=t[o]&&function(l){return new Promise(function(c,h){l=t[o](l),i(c,h,l.done,l.value)})}}function i(o,l,c,h){Promise.resolve(h).then(function(m){o({value:m,done:c})},l)}},Iv=function(t){return this instanceof Iv?(this.v=t,this):new Iv(t)},vJ=function(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,o=[];return i={},c("next"),c("throw"),c("return",l),i[Symbol.asyncIterator]=function(){return this},i;function l(b){return function(w){return Promise.resolve(w).then(b,T)}}function c(b,w){r[b]&&(i[b]=function(x){return new Promise(function(A,R){o.push([b,x,A,R])>1||h(b,x)})},w&&(i[b]=w(i[b])))}function h(b,w){try{m(r[b](w))}catch(x){E(o[0][3],x)}}function m(b){b.value instanceof Iv?Promise.resolve(b.value.v).then(y,T):E(o[0][2],b)}function y(b){h("next",b)}function T(b){h("throw",b)}function E(b,w){b(w),o.shift(),o.length&&h(o[0][0],o[0][1])}},TJ=function(t){var e,n;return e={},r("next"),r("throw",function(i){throw i}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(i,o){e[i]=t[i]?function(l){return(n=!n)?{value:Iv(t[i](l)),done:!1}:o?o(l):l}:o}};function SJ(t){return vJ(this,arguments,function*(){yield Iv(yield*TJ(yJ(t)))})}var OF=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=t[o]&&function(l){return new Promise(function(c,h){l=t[o](l),i(c,h,l.done,l.value)})}}function i(o,l,c,h){Promise.resolve(h).then(function(m){o({value:m,done:c})},l)}},H1=function(t){return this instanceof H1?(this.v=t,this):new H1(t)},EJ=function(t){var e,n;return e={},r("next"),r("throw",function(i){throw i}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(i,o){e[i]=t[i]?function(l){return(n=!n)?{value:H1(t[i](l)),done:!1}:o?o(l):l}:o}},kJ=function(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,o=[];return i={},c("next"),c("throw"),c("return",l),i[Symbol.asyncIterator]=function(){return this},i;function l(b){return function(w){return Promise.resolve(w).then(b,T)}}function c(b,w){r[b]&&(i[b]=function(x){return new Promise(function(A,R){o.push([b,x,A,R])>1||h(b,x)})},w&&(i[b]=w(i[b])))}function h(b,w){try{m(r[b](w))}catch(x){E(o[0][3],x)}}function m(b){b.value instanceof H1?Promise.resolve(b.value.v).then(y,T):E(o[0][2],b)}function y(b){h("next",b)}function T(b){h("throw",b)}function E(b,w){b(w),o.shift(),o.length&&h(o[0][0],o[0][1])}};function xR(t,e){return gJ(t,n=>{switch(n.kind){case tt.Unary:return bJ(e,t,n);case tt.ServerStreaming:return wJ(e,t,n);case tt.ClientStreaming:return CJ(e,t,n);case tt.BiDiStreaming:return xJ(e,t,n);default:return null}})}function bJ(t,e,n){return async function(r,i){var o,l;const c=await t.unary(e,n,i==null?void 0:i.signal,i==null?void 0:i.timeoutMs,i==null?void 0:i.headers,r,i==null?void 0:i.contextValues);return(o=i==null?void 0:i.onHeader)===null||o===void 0||o.call(i,c.header),(l=i==null?void 0:i.onTrailer)===null||l===void 0||l.call(i,c.trailer),c.message}}function wJ(t,e,n){return function(r,i){return NF(t.stream(e,n,i==null?void 0:i.signal,i==null?void 0:i.timeoutMs,i==null?void 0:i.headers,SJ([r]),i==null?void 0:i.contextValues),i)}}function CJ(t,e,n){return async function(r,i){var o,l,c,h,m,y;const T=await t.stream(e,n,i==null?void 0:i.signal,i==null?void 0:i.timeoutMs,i==null?void 0:i.headers,r,i==null?void 0:i.contextValues);(m=i==null?void 0:i.onHeader)===null||m===void 0||m.call(i,T.header);let E,b=0;try{for(var w=!0,x=OF(T.message),A;A=await x.next(),o=A.done,!o;w=!0)h=A.value,w=!1,E=h,b++}catch(R){l={error:R}}finally{try{!w&&!o&&(c=x.return)&&await c.call(x)}finally{if(l)throw l.error}}if(!E)throw new rn("protocol error: missing response message",Et.Unimplemented);if(b>1)throw new rn("protocol error: received extra messages for client streaming method",Et.Unimplemented);return(y=i==null?void 0:i.onTrailer)===null||y===void 0||y.call(i,T.trailer),E}}function xJ(t,e,n){return function(r,i){return NF(t.stream(e,n,i==null?void 0:i.signal,i==null?void 0:i.timeoutMs,i==null?void 0:i.headers,r,i==null?void 0:i.contextValues),i)}}function NF(t,e){const n=function(){return kJ(this,arguments,function*(){var r,i;const o=yield H1(t);(r=e==null?void 0:e.onHeader)===null||r===void 0||r.call(e,o.header),yield H1(yield*EJ(OF(o.message))),(i=e==null?void 0:e.onTrailer)===null||i===void 0||i.call(e,o.trailer)})}()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>n.next()})}}function IJ(...t){const e=new AbortController,n=t.filter(i=>i!==void 0).concat(e.signal);for(const i of n){if(i.aborted){r.apply(i);break}i.addEventListener("abort",r)}function r(){e.signal.aborted||e.abort(PF(this));for(const i of n)i.removeEventListener("abort",r)}return e}function _J(t){const e=new AbortController,n=()=>{e.abort(new rn("the operation timed out",Et.DeadlineExceeded))};let r;return t!==void 0&&(t<=0?n():r=setTimeout(n,t)),{signal:e.signal,cleanup:()=>clearTimeout(r)}}function PF(t){if(!t.aborted)return;if(t.reason!==void 0)return t.reason;const e=new Error("This operation was aborted");return e.name="AbortError",e}function yw(){return{get(t){return t.id in this?this[t.id]:t.defaultValue},set(t,e){return this[t.id]=e,this},delete(t){return delete this[t.id],this}}}function n4(t,e){return{id:Symbol(e==null?void 0:e.description),defaultValue:t}}const y5=128;function IR(t){const e=new Headers,n=new TextDecoder().decode(t).split(`\r +`);for(const r of n){if(r==="")continue;const i=r.indexOf(":");if(i>0){const o=r.substring(0,i).trim(),l=r.substring(i+1).trim();e.append(o,l)}}return e}const LJ="Content-Type",AJ="Grpc-Timeout",W1="Grpc-Status",DF="Grpc-Message",RJ="Grpc-Status-Details-Bin",OJ="X-User-Agent",NJ="X-Grpc-Web",PJ="application/grpc-web+proto",DJ="application/grpc-web+json";class rc extends $v{constructor(e){super(),this.code=0,this.message="",this.details=[],L.util.initPartial(e,this)}static fromBinary(e,n){return new rc().fromBinary(e,n)}static fromJson(e,n){return new rc().fromJson(e,n)}static fromJsonString(e,n){return new rc().fromJsonString(e,n)}static equals(e,n){return L.util.equals(rc,e,n)}}rc.runtime=L;rc.typeName="google.rpc.Status";rc.fields=L.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:$l,repeated:!0}]);const MJ="0";function MF(t){var e;const n=t.get(RJ);if(n!=null){const i=pJ(n,rc);if(i.code==0)return;const o=new rn(i.message,i.code,t);return o.details=i.details.map(l=>({type:l.typeUrl.substring(l.typeUrl.lastIndexOf("/")+1),value:l.value})),o}const r=t.get(W1);if(r!=null){if(r===MJ)return;const i=parseInt(r,10);return i in Et?new rn(decodeURIComponent((e=t.get(DF))!==null&&e!==void 0?e:""),i,t):new rn(`invalid grpc-status: ${r}`,Et.Internal,t)}}function _R(t,e,n){const r=typeof e=="string"?e:e.typeName,i=typeof n=="string"?n:n.name;return t.toString().replace(/\/?$/,`/${r}/${i}`)}function FF(t,e){return e instanceof t?e:new t(e)}function FJ(t,e){function n(r){return r.done===!0?r:{done:r.done,value:FF(t,r.value)}}return{[Symbol.asyncIterator](){const r=e[Symbol.asyncIterator](),i={next:()=>r.next().then(n)};return r.throw!==void 0&&(i.throw=o=>r.throw(o).then(n)),r.return!==void 0&&(i.return=o=>r.return(o).then(n)),i}}}function UF(t,e){var n;return(n=e==null?void 0:e.concat().reverse().reduce((r,i)=>i(r),t))!==null&&n!==void 0?n:t}function UJ(t){var e;const n=Object.assign({},t);return(e=n.ignoreUnknownFields)!==null&&e!==void 0||(n.ignoreUnknownFields=!0),n}function LR(t,e,n,r){const i=e?AR(t.I,r):RR(t.I,n);return{parse:(e?AR(t.O,r):RR(t.O,n)).parse,serialize:i.serialize}}function AR(t,e){return{parse(n){try{return t.fromBinary(n,e)}catch(r){const i=r instanceof Error?r.message:String(r);throw new rn(`parse binary: ${i}`,Et.Internal)}},serialize(n){try{return n.toBinary(e)}catch(r){const i=r instanceof Error?r.message:String(r);throw new rn(`serialize binary: ${i}`,Et.Internal)}}}}function RR(t,e){var n,r;const i=(n=e==null?void 0:e.textEncoder)!==null&&n!==void 0?n:new TextEncoder,o=(r=e==null?void 0:e.textDecoder)!==null&&r!==void 0?r:new TextDecoder,l=UJ(e);return{parse(c){try{const h=o.decode(c);return t.fromJsonString(h,l)}catch(h){throw rn.from(h,Et.InvalidArgument)}},serialize(c){try{const h=c.toJsonString(l);return i.encode(h)}catch(h){throw rn.from(h,Et.Internal)}}}}function BJ(t){const e=UF(t.next,t.interceptors),[n,r,i]=BF(t),o=Object.assign(Object.assign({},t.req),{message:FF(t.req.method.I,t.req.message),signal:n});return e(o).then(l=>(i(),l),r)}function $J(t){const e=UF(t.next,t.interceptors),[n,r,i]=BF(t),o=Object.assign(Object.assign({},t.req),{message:FJ(t.req.method.I,t.req.message),signal:n});let l=!1;return n.addEventListener("abort",function(){var c,h;const m=t.req.message[Symbol.asyncIterator]();l||(c=m.throw)===null||c===void 0||c.call(m,this.reason).catch(()=>{}),(h=m.return)===null||h===void 0||h.call(m).catch(()=>{})}),e(o).then(c=>Object.assign(Object.assign({},c),{message:{[Symbol.asyncIterator](){const h=c.message[Symbol.asyncIterator]();return{next(){return h.next().then(m=>(m.done==!0&&(l=!0,i()),m),r)}}}}}),r)}function BF(t){const{signal:e,cleanup:n}=_J(t.timeoutMs),r=IJ(t.signal,e);return[r.signal,function(i){const o=rn.from(e.aborted?PF(e):i);return r.abort(o),n(),Promise.reject(o)},function(){n(),r.abort()}]}function VJ(){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 OR(t,e){const n=MF(t);if(n)throw e.forEach((r,i)=>{n.metadata.append(i,r)}),n;if(!e.has(W1)&&!t.has(W1))throw new rn("protocol error: missing status",Et.Internal)}function NR(t,e,n,r){const i=new Headers(n??{});return i.set(LJ,t?PJ:DJ),i.set(NJ,"1"),i.set(OJ,"connect-es/1.5.0"),e!==void 0&&i.set(AJ,`${e}m`),i}function GJ(t){switch(t){case 400:return Et.Internal;case 401:return Et.Unauthenticated;case 403:return Et.PermissionDenied;case 404:return Et.Unimplemented;case 429:return Et.Unavailable;case 502:return Et.Unavailable;case 503:return Et.Unavailable;case 504:return Et.Unavailable;default:return Et.Unknown}}function PR(t,e){var n;if(t>=200&&t<300)return{foundStatus:e.has(W1),headerError:MF(e)};throw new rn(decodeURIComponent((n=e.get(DF))!==null&&n!==void 0?n:`HTTP ${t}`),GJ(t),e)}var Ah=function(t){return this instanceof Ah?(this.v=t,this):new Ah(t)},zJ=function(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,o=[];return i={},c("next"),c("throw"),c("return",l),i[Symbol.asyncIterator]=function(){return this},i;function l(b){return function(w){return Promise.resolve(w).then(b,T)}}function c(b,w){r[b]&&(i[b]=function(x){return new Promise(function(A,R){o.push([b,x,A,R])>1||h(b,x)})},w&&(i[b]=w(i[b])))}function h(b,w){try{m(r[b](w))}catch(x){E(o[0][3],x)}}function m(b){b.value instanceof Ah?Promise.resolve(b.value.v).then(y,T):E(o[0][2],b)}function y(b){h("next",b)}function T(b){h("throw",b)}function E(b,w){b(w),o.shift(),o.length&&h(o[0][0],o[0][1])}};function DR(t){var e;VJ();const n=(e=t.useBinaryFormat)!==null&&e!==void 0?e:!0;return{async unary(r,i,o,l,c,h,m){var y;const{serialize:T,parse:E}=LR(i,n,t.jsonOptions,t.binaryOptions);return l=l===void 0?t.defaultTimeoutMs:l<=0?void 0:l,await BJ({interceptors:t.interceptors,signal:o,timeoutMs:l,req:{stream:!1,service:r,method:i,url:_R(t.baseUrl,r,i),init:{method:"POST",credentials:(y=t.credentials)!==null&&y!==void 0?y:"same-origin",redirect:"error",mode:"cors"},header:NR(n,l,c),contextValues:m??yw(),message:h},next:async b=>{var w;const x=await((w=t.fetch)!==null&&w!==void 0?w:globalThis.fetch)(b.url,Object.assign(Object.assign({},b.init),{headers:b.header,signal:b.signal,body:CR(0,T(b.message))})),{headerError:A}=PR(x.status,x.headers);if(!x.body)throw A!==void 0?A:"missing response body";const R=wR(x.body).getReader();let N,P;for(;;){const $=await R.read();if($.done)break;const{flags:U,data:G}=$.value;if((U&bR)===bR)throw new rn("protocol error: received unsupported compressed output",Et.Internal);if(U===y5){if(N!==void 0)throw"extra trailer";N=IR(G);continue}if(P!==void 0)throw new rn("extra message",Et.Unimplemented);P=E(G)}if(N===void 0)throw A!==void 0?A:new rn("missing trailer",x.headers.has(W1)?Et.Unimplemented:Et.Unknown);if(OR(N,x.headers),P===void 0)throw new rn("missing message",N.has(W1)?Et.Unimplemented:Et.Unknown);return{stream:!1,service:r,method:i,header:x.headers,message:P,trailer:N}}})},async stream(r,i,o,l,c,h,m){var y;const{serialize:T,parse:E}=LR(i,n,t.jsonOptions,t.binaryOptions);function b(x,A,R,N,P,$){return zJ(this,arguments,function*(){const U=wR(x).getReader();if(A){if(!(yield Ah(U.read())).done)throw"extra data for trailers-only";return yield Ah(void 0)}let G=!1;for(;;){const B=yield Ah(U.read());if(B.done)break;const{flags:q,data:le}=B.value;if((q&y5)===y5){if(G)throw"extra trailer";G=!0;const X=IR(le);OR(X,N),X.forEach((me,we)=>R.set(we,me));continue}if(G)throw"extra message";yield yield Ah(E(le))}if("throwIfAborted"in $&&$.throwIfAborted(),!G)throw P||"missing trailer"})}async function w(x){if(i.kind!=tt.ServerStreaming)throw"The fetch API does not support streaming request bodies";const A=await x[Symbol.asyncIterator]().next();if(A.done==!0)throw"missing request message";return CR(0,T(A.value))}return l=l===void 0?t.defaultTimeoutMs:l<=0?void 0:l,$J({interceptors:t.interceptors,signal:o,timeoutMs:l,req:{stream:!0,service:r,method:i,url:_R(t.baseUrl,r,i),init:{method:"POST",credentials:(y=t.credentials)!==null&&y!==void 0?y:"same-origin",redirect:"error",mode:"cors"},header:NR(n,l,c),contextValues:m??yw(),message:h},next:async x=>{var A;const R=await((A=t.fetch)!==null&&A!==void 0?A:globalThis.fetch)(x.url,Object.assign(Object.assign({},x.init),{headers:x.header,signal:x.signal,body:await w(x.message)})),{foundStatus:N,headerError:P}=PR(R.status,R.headers);if(!R.body)throw P??"missing response body";const $=new Headers;return Object.assign(Object.assign({},x),{header:R.headers,trailer:$,message:b(R.body,N,$,R.headers,P,x.signal)})}})}}}let jJ=()=>({emit(t,...e){let n=this.events[t]||[];for(let r=0,i=n.length;r{var r;this.events[t]=(r=this.events[t])==null?void 0:r.filter(i=>e!==i)}}});const MR=({cache:t=new Map,fetcher:e,...n}={})=>{const r=jJ();let i=!0;VR("visibilitychange",()=>{i=!document.hidden,i&&r.emit(UR)}),VR("online",()=>r.emit(BR));const o=new Map,l=new Map,c=new Map;let h={};const m=async([A,R],N,P,$)=>{var U;if(!i)return;const G=we=>{N.key===A&&(N.set(we),r.emit(v5,A,we,!0))},B=()=>{G({...N.value,...zR,promise:c.get(A)})},{dedupeTime:q=4e3,fetcher:le}={...P,...h},X=GR();if(c.has(A)){N.value.loading||B();return}if(!$){const we=t.get(A);we&&N.value.data!==we&&G({data:we,...Id});const ye=l.get(A);if(ye&&ye+q>X)return}const me=sJ();try{const we=le(...R);l.set(A,X),c.set(A,we),B();const ye=await we;t.set(A,ye),G({data:ye,...Id}),l.set(A,GR())}catch(we){(U=P.onError)==null||U.call(P,we),G({data:N.value.data,error:we,...Id})}finally{me(),c.delete(A)}},y=(A,{fetcher:R=e,...N}={})=>{const P=pw({...Id}),$={...n,...N,fetcher:R};P._=$F,P.invalidate=()=>{const{key:ye}=P;ye&&b(ye)},P.mutate=ye=>{const{key:Ne}=P;Ne&&w(Ne,ye)};let U,G,B,q,le,X=[];cJ(P,()=>{const ye=!U;[le,U]=HJ(A),q=le.subscribe(re=>{if(re){const[ee,Oe]=re;P.key=ee,m([ee,Oe],P,$),G=ee,B=Oe}else P.key=G=B=void 0,P.set({...Id})});const Ne=le.get();Ne&&([G,B]=Ne,ye&&me());const{refetchInterval:Fe=0,refetchOnFocus:De,refetchOnReconnect:nt}=$,ne=()=>{G&&m([G,B],P,$)};Fe>0&&o.set(A,setInterval(ne,Fe)),De&&X.push(r.on(UR,ne)),nt&&X.push(r.on(BR,ne)),X.push(r.on($R,re=>{G&&T5(G,re)&&m([G,B],P,$,!0)}),r.on(v5,(re,ee,Oe)=>{G&&T5(G,re)&&P.value!==ee&&P.value.data!==ee&&P.set(Oe?ee:{data:ee,...Id})}))});const me=()=>{G&&B&&m([G,B],P,$)},we=P.listen;return P.listen=ye=>{const Ne=we(ye);return ye(P.value),me(),Ne},dJ(P,()=>{P.value={...Id},U==null||U(),X.forEach(ye=>ye()),X=[],q==null||q(),clearInterval(o.get(A))}),P},T=A=>{t.delete(A),l.delete(A)},E=(A,R)=>{for(const N of t.keys())T5(N,A)&&R(N)},b=A=>{E(A,T),r.emit($R,A)},w=(A,R)=>{E(A,N=>{R===void 0?T(N):t.set(N,R)}),r.emit(v5,A,R)};function x(A){const R=async P=>{var $;const U=h.fetcher??A,G=[];try{N.set({error:void 0,data:void 0,mutate:R,...zR});const B=await U({data:P,invalidate:q=>{G.push(q)},getCacheUpdater:(q,le=!0)=>[X=>{w(q,X),le&&G.push(q)},t.get(q)]});return N.setKey("data",B),B}catch(B){($=n==null?void 0:n.onError)==null||$.call(n,B),N.setKey("error",B)}finally{N.setKey("loading",!1),G.forEach(b)}},N=pw({mutate:R,...Id});return N.mutate=R,N}return[y,x,{__unsafeOverruleSettings:A=>{console.warn("You should only use __unsafeOverruleSettings in test environment"),h=A},invalidateKeys:b,mutateCache:w}]};function FR(t){return typeof t=="string"||typeof t=="number"||t===!0}const HJ=t=>{if(FR(t))return[Qd([""+t,[t]]),()=>{}];let e=Qd(null),n=[];const r=()=>{n.some(o=>o==null||o===!1)?e.set(null):e.set([n.join(""),n])},i=[];for(let o=0;o{n[o]=WJ(l)?l.value&&"data"in l.value?l.key:null:c,r()}))}return r(),[e,()=>i.forEach(o=>o())]};function WJ(t){return t._===$F}const UR=1,BR=2,$R=3,v5=4,VR=(t,e)=>{typeof window>"u"||addEventListener(t,e)},T5=(t,e)=>Array.isArray(e)?e.includes(t):typeof e=="function"?e(t):t===e,GR=()=>new Date().getTime(),$F=Symbol(),zR={loading:!0},Id={loading:!1},VF=L.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"}]),GF=L.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"}]),K4=L.makeMessageType("streamlayer.sports.Pagination",()=>[{no:1,name:"page",kind:"scalar",T:5},{no:2,name:"page_size",kind:"scalar",T:5}]),zF=L.makeMessageType("streamlayer.sports.Sort",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"order",kind:"scalar",T:9}]),Y4=L.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}]),jF=L.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}]),q4=L.makeMessageType("streamlayer.sports.EventTime",()=>[{no:1,name:"clock",kind:"scalar",T:9},{no:2,name:"period",kind:"scalar",T:5}]),KJ=L.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}]),Xd=L.makeMessageType("streamlayer.sports.TeamRecord",()=>[{no:1,name:"wins",kind:"scalar",T:5},{no:2,name:"losses",kind:"scalar",T:5}]),Zd=L.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}]),YJ=L.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}]),qJ=L.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}]),QJ=L.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:Zd},{no:6,name:"away",kind:"message",T:Zd},{no:7,name:"status",kind:"enum",T:L.getEnumType(VF)},{no:8,name:"custom_fields",kind:"message",T:YJ},{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:jF},{no:12,name:"schedule",kind:"message",T:qJ,repeated:!0},{no:13,name:"endless",kind:"enum",T:L.getEnumType(GF)},{no:14,name:"provider_id",kind:"scalar",T:9}]),Xh=L.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:jF},{no:6,name:"event_time",kind:"message",T:q4},{no:7,name:"home_team",kind:"message",T:Zd},{no:8,name:"away_team",kind:"message",T:Zd},{no:9,name:"status",kind:"enum",T:L.getEnumType(VF)},{no:10,name:"periods",kind:"message",T:KJ,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}]),XJ=L.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"}]),ZJ=L.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"}]),jR=L.makeMessageType("streamlayer.sports.baseball.PitcherSummary",()=>[{no:1,name:"statistics",kind:"message",T:HF},{no:2,name:"status",kind:"enum",T:L.getEnumType(XJ)},{no:3,name:"win_rate",kind:"scalar",T:5},{no:4,name:"loss_rate",kind:"scalar",T:5}]),JJ=L.makeMessageType("streamlayer.sports.baseball.Runner",()=>[{no:1,name:"player_name",kind:"scalar",T:9},{no:2,name:"jersey_number",kind:"scalar",T:9}]),eee=L.makeMessageType("streamlayer.sports.baseball.RunnerOnBase",()=>[{no:1,name:"base_number",kind:"enum",T:L.getEnumType(ZJ)},{no:2,name:"player",kind:"message",T:JJ}]),tee=L.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}]),nee=L.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}]),HF=L.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}]),HR=L.makeMessageType("streamlayer.sports.baseball.BaseballTeamSummary",()=>[{no:1,name:"hitting",kind:"message",T:tee,repeated:!0},{no:2,name:"batting",kind:"message",T:nee,repeated:!0},{no:3,name:"pitching",kind:"message",T:HF,repeated:!0}]),ree=L.makeMessageType("streamlayer.sports.baseball.BaseballSummary",()=>[{no:1,name:"home_pitcher",kind:"message",T:jR},{no:2,name:"away_pitcher",kind:"message",T:jR},{no:3,name:"home_statistics",kind:"message",T:HR},{no:4,name:"away_statistics",kind:"message",T:HR}]),iee=L.makeMessageType("streamlayer.sports.baseball.BaseballPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:Zd},{no:2,name:"inning",kind:"scalar",T:9},{no:3,name:"play_text",kind:"scalar",T:9},{no:4,name:"detail",kind:"message",T:aee,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}]),aee=L.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"}),see=L.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:eee,repeated:!0},{no:7,name:"taken_bases",kind:"scalar",T:5},{no:8,name:"home_team_record",kind:"message",T:Xd},{no:9,name:"away_team_record",kind:"message",T:Xd}]),oee=L.makeMessageType("streamlayer.sports.baseball.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:iee,repeated:!0}]),lee=L.makeMessageType("streamlayer.sports.baseball.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:ree}]),uee=L.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:cee},{no:11,name:"rank",kind:"message",T:dee},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),cee=L.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"}),dee=L.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"}),fee=L.makeMessageType("streamlayer.sports.baseball.Standings",()=>[{no:1,name:"standings",kind:"message",T:uee,repeated:!0}]),hee=L.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"}]),mee=L.makeMessageType("streamlayer.sports.basketball.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:Xd},{no:9,name:"away_team_record",kind:"message",T:Xd}]),WR=L.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}]),KR=L.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}]),pee=L.makeMessageType("streamlayer.sports.basketball.BasketballPerformers",()=>[{no:1,name:"category",kind:"enum",T:L.getEnumType(hee)},{no:2,name:"home_player",kind:"message",T:KR},{no:3,name:"away_player",kind:"message",T:KR}]),gee=L.makeMessageType("streamlayer.sports.basketball.BasketballSummary",()=>[{no:1,name:"home_statistics",kind:"message",T:WR},{no:2,name:"away_statistics",kind:"message",T:WR}]),yee=L.makeMessageType("streamlayer.sports.basketball.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:gee},{no:2,name:"top_performers",kind:"message",T:pee,repeated:!0},{no:3,name:"last_games",kind:"message",T:WF}]),vee=L.makeMessageType("streamlayer.sports.basketball.BasketballPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:Zd},{no:2,name:"event_time",kind:"message",T:q4},{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}]),Tee=L.makeMessageType("streamlayer.sports.basketball.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:vee,repeated:!0}]),YR=L.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}]),See=L.makeMessageType("streamlayer.sports.basketball.Boxscore",()=>[{no:1,name:"home_players",kind:"message",T:YR,repeated:!0},{no:2,name:"away_players",kind:"message",T:YR,repeated:!0}]),Eee=L.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:kee},{no:11,name:"rank",kind:"message",T:bee},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),kee=L.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"}),bee=L.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"}),wee=L.makeMessageType("streamlayer.sports.basketball.Standings",()=>[{no:1,name:"standings",kind:"message",T:Eee,repeated:!0}]),qR=L.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}]),QR=L.makeMessageType("streamlayer.sports.basketball.BasketballMatchLineup",()=>[{no:3,name:"start_players",kind:"message",T:qR,repeated:!0},{no:4,name:"substitutes",kind:"message",T:qR,repeated:!0}]),Cee=L.makeMessageType("streamlayer.sports.basketball.BasketballMatchLineups",()=>[{no:1,name:"home_team",kind:"message",T:QR},{no:2,name:"away_team",kind:"message",T:QR}]),S5=L.makeMessageType("streamlayer.sports.basketball.BasketballLastGame",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:xee}]),xee=L.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"}),WF=L.makeMessageType("streamlayer.sports.basketball.BasketballLastGames",()=>[{no:1,name:"home",kind:"message",T:S5,repeated:!0},{no:2,name:"away",kind:"message",T:S5,repeated:!0},{no:3,name:"head_to_head",kind:"message",T:S5,repeated:!0}]),Iee=L.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"}]),KF=L.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"}]),_ee=L.makeMessageType("streamlayer.sports.hockey.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:Xd},{no:9,name:"away_team_record",kind:"message",T:Xd}]),XR=L.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}]),Lee=L.makeMessageType("streamlayer.sports.hockey.HockeyPerformers",()=>[{no:1,name:"category",kind:"enum",T:L.getEnumType(Iee)},{no:2,name:"home_player",kind:"message",T:XR,repeated:!0},{no:3,name:"away_player",kind:"message",T:XR,repeated:!0}]),ZR=L.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}]),Aee=L.makeMessageType("streamlayer.sports.hockey.HockeySummary",()=>[{no:1,name:"home_statistics",kind:"message",T:ZR},{no:2,name:"away_statistics",kind:"message",T:ZR}]),Ree=L.makeMessageType("streamlayer.sports.hockey.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:Aee},{no:2,name:"top_performers",kind:"message",T:Lee,repeated:!0}]),Oee=L.makeMessageType("streamlayer.sports.hockey.HockeyPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:Zd},{no:2,name:"event_time",kind:"message",T:q4},{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}]),Nee=L.makeMessageType("streamlayer.sports.hockey.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:Oee,repeated:!0}]),E5=L.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:L.getEnumType(KF)}]),JR=L.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:L.getEnumType(KF)}]),eO=L.makeMessageType("streamlayer.sports.hockey.PlayerScores",()=>[{no:1,name:"skaters",kind:"message",T:E5,repeated:!0},{no:2,name:"goaltender",kind:"message",T:JR},{no:3,name:"forwards",kind:"message",T:E5,repeated:!0},{no:4,name:"defensemen",kind:"message",T:E5,repeated:!0},{no:5,name:"goaltenders",kind:"message",T:JR,repeated:!0}]),Pee=L.makeMessageType("streamlayer.sports.hockey.Boxscore",()=>[{no:1,name:"home_players",kind:"message",T:eO},{no:2,name:"away_players",kind:"message",T:eO}]),Dee=L.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:Mee},{no:11,name:"rank",kind:"message",T:Fee},{no:12,name:"division",kind:"scalar",T:9},{no:13,name:"conference",kind:"scalar",T:9}]),Mee=L.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"}),Fee=L.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"}),Uee=L.makeMessageType("streamlayer.sports.hockey.Standings",()=>[{no:1,name:"standings",kind:"message",T:Dee,repeated:!0}]),Bee=L.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"}]),$ee=L.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"}]),Vee=L.makeMessageType("streamlayer.sports.soccer.EventScore",()=>[{no:8,name:"home_team_record",kind:"message",T:Xd},{no:9,name:"away_team_record",kind:"message",T:Xd}]),pC=L.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}]),Gee=L.makeMessageType("streamlayer.sports.soccer.SoccerAttackPerfomer",()=>[{no:1,name:"perfomer",kind:"message",T:pC},{no:2,name:"attack_stats",kind:"message",T:Xee}]),zee=L.makeMessageType("streamlayer.sports.soccer.SoccerMidfieldPerformer",()=>[{no:1,name:"perfomer",kind:"message",T:pC},{no:2,name:"midfield_stats",kind:"message",T:Zee}]),jee=L.makeMessageType("streamlayer.sports.soccer.SoccerDefensePerfomer",()=>[{no:1,name:"perfomer",kind:"message",T:pC},{no:2,name:"defense_stats",kind:"message",T:Jee}]),Hee=L.makeMessageType("streamlayer.sports.soccer.SoccerPerformers",()=>[{no:1,name:"category",kind:"enum",T:L.getEnumType(Bee)},{no:2,name:"attack_performer",kind:"message",T:Gee},{no:3,name:"midfield_performer",kind:"message",T:zee},{no:4,name:"defense_performer",kind:"message",T:jee}]),Wee=L.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}]),Kee=L.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}]),Yee=L.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}]),tO=L.makeMessageType("streamlayer.sports.soccer.SoccerTeamSummary",()=>[{no:1,name:"top_match_stats",kind:"message",T:Wee},{no:2,name:"attacking_stats",kind:"message",T:Kee},{no:3,name:"defense_stats",kind:"message",T:Yee}]),qee=L.makeMessageType("streamlayer.sports.soccer.SoccerSummary",()=>[{no:1,name:"home_statistics",kind:"message",T:tO},{no:2,name:"away_statistics",kind:"message",T:tO},{no:3,name:"perfomers",kind:"message",T:Hee}]),Qee=L.makeMessageType("streamlayer.sports.soccer.EventSummary",()=>[{no:1,name:"statistics",kind:"message",T:qee},{no:2,name:"last_games",kind:"message",T:YF}]),Xee=L.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}]),Zee=L.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}]),Jee=L.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}]),ete=L.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}]),tte=L.makeMessageType("streamlayer.sports.soccer.SoccerMatchFormationMatrix",()=>[{no:1,name:"row_players",kind:"message",T:ete,repeated:!0}]),nO=L.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}]),rO=L.makeMessageType("streamlayer.sports.soccer.SoccerMatchLineup",()=>[{no:1,name:"formation_string",kind:"scalar",T:9},{no:2,name:"formation_matrix",kind:"message",T:tte,repeated:!0},{no:3,name:"start_players",kind:"message",T:nO,repeated:!0},{no:4,name:"substitutes",kind:"message",T:nO,repeated:!0}]),nte=L.makeMessageType("streamlayer.sports.soccer.SoccerMatchLineups",()=>[{no:1,name:"home_team",kind:"message",T:rO},{no:2,name:"away_team",kind:"message",T:rO}]),rte=L.makeMessageType("streamlayer.sports.soccer.SoccerPlayByPlayStatistics",()=>[{no:1,name:"team",kind:"message",T:Zd},{no:2,name:"event_time",kind:"message",T:q4},{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:L.getEnumType($ee)}]),ite=L.makeMessageType("streamlayer.sports.soccer.PlayByPlay",()=>[{no:1,name:"statistics",kind:"message",T:rte,repeated:!0}]),ate=L.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}]),ste=L.makeMessageType("streamlayer.sports.soccer.Standings",()=>[{no:1,name:"standings",kind:"message",T:ate,repeated:!0}]),k5=L.makeMessageType("streamlayer.sports.soccer.SoccerLastGame",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:ote}]),ote=L.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"}),YF=L.makeMessageType("streamlayer.sports.soccer.SoccerLastGames",()=>[{no:1,name:"home",kind:"message",T:k5,repeated:!0},{no:2,name:"away",kind:"message",T:k5,repeated:!0},{no:3,name:"head_to_head",kind:"message",T:k5,repeated:!0}]),Zh=L.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"}]),lte=L.makeMessageType("streamlayer.sports.events.ScheduleAttributes",()=>[{no:1,name:"summary",kind:"message",T:Xh},{no:2,name:"baseball",kind:"message",T:see,oneof:"sport"},{no:3,name:"basketball",kind:"message",T:mee,oneof:"sport"},{no:4,name:"hockey",kind:"message",T:_ee,oneof:"sport"},{no:5,name:"soccer",kind:"message",T:Vee,oneof:"sport"}]),ute=L.makeMessageType("streamlayer.sports.events.ScheduleResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:L.getEnumType(Zh)},{no:3,name:"attributes",kind:"message",T:lte}]),cte=L.makeMessageType("streamlayer.sports.events.ListResponseAttributes",()=>[{no:1,name:"common",kind:"message",T:QJ}]),qF=L.makeMessageType("streamlayer.sports.events.ListResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:cte}]),dte=L.makeMessageType("streamlayer.sports.events.ListRequest",()=>[{no:1,name:"filter",kind:"message",T:fte},{no:2,name:"pagination",kind:"message",T:K4},{no:3,name:"sort",kind:"message",T:zF},{no:4,name:"ids",kind:"scalar",T:4,repeated:!0},{no:5,name:"organization_id",kind:"scalar",T:9}]),fte=L.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:L.getEnumType(GF)}],{localName:"ListRequest_Filter"}),hte=L.makeMessageType("streamlayer.sports.events.DemoListRequest",()=>[{no:1,name:"filter",kind:"message",T:mte},{no:2,name:"pagination",kind:"message",T:K4},{no:3,name:"sort",kind:"message",T:zF}]),mte=L.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"}),pte=L.makeMessageType("streamlayer.sports.events.DemoListResponse",()=>[{no:1,name:"meta",kind:"message",T:Y4},{no:2,name:"data",kind:"message",T:qF,repeated:!0}]),gte=L.makeMessageType("streamlayer.sports.events.ListResponse",()=>[{no:1,name:"meta",kind:"message",T:Y4},{no:2,name:"data",kind:"message",T:qF,repeated:!0}]),iO=L.makeMessageType("streamlayer.sports.events.SummaryRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"organization_id",kind:"scalar",T:9}]),aO=L.makeMessageType("streamlayer.sports.events.SummaryResponse",()=>[{no:1,name:"data",kind:"message",T:yte}]),yte=L.makeMessageType("streamlayer.sports.events.SummaryResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:L.getEnumType(Zh)},{no:3,name:"attributes",kind:"message",T:vte}],{localName:"SummaryResponse_ResponseData"}),vte=L.makeMessageType("streamlayer.sports.events.SummaryResponse.ResponseData.SummaryResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Xh},{no:2,name:"baseball",kind:"message",T:lee,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:yee,oneof:"sports"},{no:4,name:"hockey",kind:"message",T:Ree,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:Qee,oneof:"sports"}],{localName:"SummaryResponse_ResponseData_SummaryResponseAttributes"}),Tte=L.makeMessageType("streamlayer.sports.events.AdminSummaryRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"organization_id",kind:"scalar",T:9}]),Ste=L.makeMessageType("streamlayer.sports.events.AdminSummaryResponse",()=>[{no:1,name:"data",kind:"message",T:Ete}]),Ete=L.makeMessageType("streamlayer.sports.events.AdminSummaryResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"attributes",kind:"message",T:kte}],{localName:"AdminSummaryResponse_ResponseData"}),kte=L.makeMessageType("streamlayer.sports.events.AdminSummaryResponse.ResponseData.SummaryResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Xh},{no:2,name:"provider_id",kind:"scalar",T:9}],{localName:"AdminSummaryResponse_ResponseData_SummaryResponseAttributes"}),bte=L.makeMessageType("streamlayer.sports.events.PlayByPlayRequest",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"pagination",kind:"message",T:K4},{no:3,name:"order",kind:"scalar",T:9}]),wte=L.makeMessageType("streamlayer.sports.events.PlayByPlayResponse",()=>[{no:1,name:"data",kind:"message",T:Cte},{no:2,name:"meta",kind:"message",T:Y4}]),Cte=L.makeMessageType("streamlayer.sports.events.PlayByPlayResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:L.getEnumType(Zh)},{no:3,name:"attributes",kind:"message",T:xte}],{localName:"PlayByPlayResponse_ResponseData"}),xte=L.makeMessageType("streamlayer.sports.events.PlayByPlayResponse.ResponseData.PlayByPlayResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Xh},{no:2,name:"baseball",kind:"message",T:oee,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:Tee,oneof:"sports"},{no:4,name:"hockey",kind:"message",T:Nee,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:ite,oneof:"sports"}],{localName:"PlayByPlayResponse_ResponseData_PlayByPlayResponseAttributes"}),Ite=L.makeMessageType("streamlayer.sports.events.ScheduleRequest",()=>[{no:1,name:"filter",kind:"message",T:_te},{no:2,name:"pagination",kind:"message",T:K4}]),_te=L.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"}),Lte=L.makeMessageType("streamlayer.sports.events.ScheduleResponse",()=>[{no:1,name:"data",kind:"message",T:ute,repeated:!0},{no:2,name:"meta",kind:"message",T:Y4}]),Ate=L.makeMessageType("streamlayer.sports.events.ScheduleDatesRequest",()=>[{no:1,name:"filter",kind:"message",T:Rte}]),Rte=L.makeMessageType("streamlayer.sports.events.ScheduleDatesRequest.Filter",()=>[{no:2,name:"league",kind:"scalar",T:9}],{localName:"ScheduleDatesRequest_Filter"}),Ote=L.makeMessageType("streamlayer.sports.events.ScheduleDatesResponse",()=>[{no:1,name:"data",kind:"scalar",T:9,repeated:!0}]),Nte=L.makeMessageType("streamlayer.sports.events.BoxscoreRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),Pte=L.makeMessageType("streamlayer.sports.events.BoxscoreResponse",()=>[{no:1,name:"data",kind:"message",T:Dte}]),Dte=L.makeMessageType("streamlayer.sports.events.BoxscoreResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:L.getEnumType(Zh)},{no:3,name:"attributes",kind:"message",T:Mte}],{localName:"BoxscoreResponse_ResponseData"}),Mte=L.makeMessageType("streamlayer.sports.events.BoxscoreResponse.ResponseData.BoxscoreResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Xh},{no:2,name:"basketball",kind:"message",T:See,oneof:"sports"},{no:3,name:"hockey",kind:"message",T:Pee,oneof:"sports"}],{localName:"BoxscoreResponse_ResponseData_BoxscoreResponseAttributes"}),Fte=L.makeMessageType("streamlayer.sports.events.StandingsRequest",()=>[{no:1,name:"league",kind:"scalar",T:9}]),Ute=L.makeMessageType("streamlayer.sports.events.StandingsResponse",()=>[{no:1,name:"data",kind:"message",T:Bte}]),Bte=L.makeMessageType("streamlayer.sports.events.StandingsResponse.ResponseData",()=>[{no:1,name:"type",kind:"enum",T:L.getEnumType(Zh)},{no:2,name:"attributes",kind:"message",T:$te}],{localName:"StandingsResponse_ResponseData"}),$te=L.makeMessageType("streamlayer.sports.events.StandingsResponse.ResponseData.StandingsResponseAttributes",()=>[{no:2,name:"basketball",kind:"message",T:wee,oneof:"sports"},{no:3,name:"hockey",kind:"message",T:Uee,oneof:"sports"},{no:4,name:"baseball",kind:"message",T:fee,oneof:"sports"},{no:5,name:"soccer",kind:"message",T:ste,oneof:"sports"}],{localName:"StandingsResponse_ResponseData_StandingsResponseAttributes"}),Vte=L.makeMessageType("streamlayer.sports.events.LineupRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),Gte=L.makeMessageType("streamlayer.sports.events.LineupResponse",()=>[{no:1,name:"data",kind:"message",T:zte}]),zte=L.makeMessageType("streamlayer.sports.events.LineupResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:L.getEnumType(Zh)},{no:3,name:"attributes",kind:"message",T:jte}],{localName:"LineupResponse_ResponseData"}),jte=L.makeMessageType("streamlayer.sports.events.LineupResponse.ResponseData.LineupResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Xh},{no:2,name:"soccer",kind:"message",T:nte,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:Cee,oneof:"sports"}],{localName:"LineupResponse_ResponseData_LineupResponseAttributes"}),Hte=L.makeMessageType("streamlayer.sports.events.LastGamesRequest",()=>[{no:1,name:"id",kind:"scalar",T:4}]),Wte=L.makeMessageType("streamlayer.sports.events.LastGamesResponse",()=>[{no:1,name:"data",kind:"message",T:Kte}]),Kte=L.makeMessageType("streamlayer.sports.events.LastGamesResponse.ResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4},{no:2,name:"type",kind:"enum",T:L.getEnumType(Zh)},{no:3,name:"attributes",kind:"message",T:Yte}],{localName:"LastGamesResponse_ResponseData"}),Yte=L.makeMessageType("streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes",()=>[{no:1,name:"summary",kind:"message",T:Xh},{no:2,name:"soccer",kind:"message",T:YF,oneof:"sports"},{no:3,name:"basketball",kind:"message",T:WF,oneof:"sports"}],{localName:"LastGamesResponse_ResponseData_LastGamesResponseAttributes"}),qte=L.makeMessageType("streamlayer.sports.events.RetrieveEventIdRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),Qte=L.makeMessageType("streamlayer.sports.events.RetrieveEventIdResponse",()=>[{no:1,name:"data",kind:"message",T:Xte}]),Xte=L.makeMessageType("streamlayer.sports.events.RetrieveEventIdResponse.RetrieveEventIdResponseData",()=>[{no:1,name:"id",kind:"scalar",T:4}],{localName:"RetrieveEventIdResponse_RetrieveEventIdResponseData"}),QF={typeName:"streamlayer.sports.events.Events",methods:{list:{name:"List",I:dte,O:gte,kind:tt.Unary},demoList:{name:"DemoList",I:hte,O:pte,kind:tt.Unary},summary:{name:"Summary",I:iO,O:aO,kind:tt.Unary},adminSummary:{name:"AdminSummary",I:Tte,O:Ste,kind:tt.Unary},boxscore:{name:"Boxscore",I:Nte,O:Pte,kind:tt.Unary},standings:{name:"Standings",I:Fte,O:Ute,kind:tt.Unary},playByPlay:{name:"PlayByPlay",I:bte,O:wte,kind:tt.Unary},schedule:{name:"Schedule",I:Ite,O:Lte,kind:tt.Unary},scheduleDates:{name:"ScheduleDates",I:Ate,O:Ote,kind:tt.Unary},lineup:{name:"Lineup",I:Vte,O:Gte,kind:tt.Unary},retrieveEventId:{name:"RetrieveEventId",I:qte,O:Qte,kind:tt.Unary},lastGames:{name:"LastGames",I:Hte,O:Wte,kind:tt.Unary},summarySubscription:{name:"SummarySubscription",I:iO,O:aO,kind:tt.ServerStreaming}}},Zte=L.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"}]),Jte=L.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"}]),ene=L.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"}]),tne=L.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"}]),nne=L.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"}]),rne=L.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"}]),ine=L.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"}]),ane=L.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"}]),XF=L.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"}]),sne=L.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"}]),one=L.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"}]),lne=L.makeMessageType("streamlayer.sdkSettings.client.NotifySettings",()=>[{no:1,name:"allow",kind:"enum",T:L.getEnumType(XF)}]),une=L.makeMessageType("streamlayer.sdkSettings.client.SoundSettings",()=>[{no:1,name:"allow",kind:"enum",T:L.getEnumType(XF)}]),b5=L.makeMessageType("streamlayer.sdkSettings.client.ClientSettingsNotifications",()=>[{no:1,name:"notify",kind:"message",T:lne},{no:2,name:"sound",kind:"message",T:une}]),gC=L.makeMessageType("streamlayer.sdkSettings.client.ClientSettings",()=>[{no:1,name:"visible_status",kind:"enum",T:L.getEnumType(Zte)},{no:2,name:"messages_notify",kind:"enum",T:L.getEnumType(Jte)},{no:3,name:"friends_notify",kind:"enum",T:L.getEnumType(ene)},{no:4,name:"calls_sound",kind:"enum",T:L.getEnumType(nne)},{no:5,name:"messages_sound",kind:"enum",T:L.getEnumType(rne)},{no:6,name:"friends_sound",kind:"enum",T:L.getEnumType(ine)},{no:7,name:"twitter_notify",kind:"enum",T:L.getEnumType(tne)},{no:8,name:"twitter_sound",kind:"enum",T:L.getEnumType(ane)},{no:9,name:"gamification",kind:"message",T:b5},{no:10,name:"watch_party_invitation",kind:"message",T:b5},{no:11,name:"twitter_question",kind:"message",T:b5}]),cne=L.makeMessageType("streamlayer.sdkSettings.client.GetRequest",[]),dne=L.makeMessageType("streamlayer.sdkSettings.client.GetResponse",()=>[{no:1,name:"data",kind:"message",T:fne}]),fne=L.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:gC}],{localName:"GetResponse_GetResponseData"}),hne=L.makeMessageType("streamlayer.sdkSettings.client.UpdateRequest",()=>[{no:2,name:"settings",kind:"message",T:gC}]),mne=L.makeMessageType("streamlayer.sdkSettings.client.UpdateResponse",()=>[{no:1,name:"data",kind:"message",T:pne}]),pne=L.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:gC}],{localName:"UpdateResponse_UpdateResponseData"}),gne=L.makeMessageType("streamlayer.sdkSettings.client.GetStreamRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),yne=L.makeMessageType("streamlayer.sdkSettings.client.GetStreamResponse",()=>[{no:1,name:"data",kind:"message",T:vne}]),vne=L.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:_F}],{localName:"GetStreamResponse_GetResponseData"}),Tne=L.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationRequest",[]),Sne=L.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationResponse",()=>[{no:1,name:"data",kind:"message",T:Ene}]),Ene=L.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:LF}],{localName:"GetOrganizationResponse_GetResponseData"}),kne=L.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingRequest",()=>[{no:1,name:"event_id",kind:"scalar",T:9,opt:!0}]),bne=L.makeMessageType("streamlayer.sdkSettings.client.GetOrganizationAdvertisingResponse",()=>[{no:1,name:"data",kind:"message",T:wne}]),wne=L.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:aJ}],{localName:"GetOrganizationAdvertisingResponse_GetOrganizationAdvertisingResponseData"}),Cne=L.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:L.getEnumType(sne)}]),xne=L.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:Cne},{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:L.getEnumType(one)}]),Ine=L.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkRequest",()=>[{no:1,name:"data",kind:"message",T:xne}]),_ne=L.makeMessageType("streamlayer.sdkSettings.client.DeepLink",()=>[{no:1,name:"url",kind:"scalar",T:9},{no:2,name:"link_id",kind:"scalar",T:9}]),Lne=L.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkResponse",()=>[{no:1,name:"data",kind:"message",T:Ane}]),Ane=L.makeMessageType("streamlayer.sdkSettings.client.GenerateDeepLinkResponse.GenerateDeepLinkResponseData",()=>[{no:1,name:"attributes",kind:"message",T:_ne}],{localName:"GenerateDeepLinkResponse_GenerateDeepLinkResponseData"}),Rne=L.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),One=L.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionRequest",[]),Nne=L.makeMessageType("streamlayer.sdkSettings.client.StreamSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:Pne}]),Pne=L.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:_F}],{localName:"StreamSubscriptionResponse_ResponseData"}),Dne=L.makeMessageType("streamlayer.sdkSettings.client.OrganizationSubscriptionResponse",()=>[{no:1,name:"data",kind:"message",T:Mne}]),Mne=L.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:LF}],{localName:"OrganizationSubscriptionResponse_ResponseData"}),Gv={typeName:"streamlayer.sdkSettings.client.Client",methods:{get:{name:"Get",I:cne,O:dne,kind:tt.Unary},update:{name:"Update",I:hne,O:mne,kind:tt.Unary},getStream:{name:"GetStream",I:gne,O:yne,kind:tt.Unary},getOrganization:{name:"GetOrganization",I:Tne,O:Sne,kind:tt.Unary},getOrganizationAdvertising:{name:"GetOrganizationAdvertising",I:kne,O:bne,kind:tt.Unary},generateDeepLink:{name:"GenerateDeepLink",I:Ine,O:Lne,kind:tt.Unary},streamSubscription:{name:"StreamSubscription",I:Rne,O:Nne,kind:tt.ServerStreaming},organizationSubscription:{name:"OrganizationSubscription",I:One,O:Dne,kind:tt.ServerStreaming}}},Fne=L.makeMessageType("streamlayer.users.PublicChatUser",()=>[{no:1,name:"name",kind:"scalar",T:9}]),Une=L.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:Fne},{no:7,name:"public_name",kind:"scalar",T:9}]),yC=L.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:Une}]),Bne=L.makeMessageType("streamlayer.users.LoginRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"password",kind:"scalar",T:9}]),$ne=L.makeMessageType("streamlayer.users.AuthResponse",()=>[{no:1,name:"meta",kind:"message",T:Vne},{no:2,name:"data",kind:"message",T:yC}]),Vne=L.makeMessageType("streamlayer.users.AuthResponse.AuthResponseMetadata",()=>[{no:1,name:"jwt",kind:"scalar",T:9},{no:3,name:"getstream",kind:"scalar",T:9}],{localName:"AuthResponse_AuthResponseMetadata"}),Gne=L.makeMessageType("streamlayer.users.RegisterRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),zne=L.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}]),jne=L.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:zne}]),Hne=L.makeMessageType("streamlayer.users.RequestPasswordRequest",()=>[{no:1,name:"id",kind:"scalar",T:9}]),Wne=L.makeMessageType("streamlayer.users.RequestPasswordResponse",()=>[{no:1,name:"requested",kind:"scalar",T:8},{no:2,name:"uid",kind:"scalar",T:9}]),Kne=L.makeMessageType("streamlayer.users.MeRequest",[]),Yne=L.makeMessageType("streamlayer.users.MeResponse",()=>[{no:1,name:"data",kind:"message",T:yC}]),qne=L.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"}]),Qne=L.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"}]),Xne=L.makeMessageType("streamlayer.users.UpdateAvatarResponse",[]),Zne=L.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"}]),Jne=L.makeMessageType("streamlayer.users.UpdatePublicChatNameResponse",[]),ere=L.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"}]),tre=L.makeMessageType("streamlayer.users.UpdatePublicNameResponse",[]),nre=L.makeMessageType("streamlayer.users.UpdateMetadataResponse",[]),rre=L.makeMessageType("streamlayer.users.InviteRequest",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"referral",kind:"message",T:ire}]),ire=L.makeMessageType("streamlayer.users.InviteRequest.InviteReferral",()=>[{no:1,name:"watching_game",kind:"scalar",T:9}],{localName:"InviteRequest_InviteReferral"}),are=L.makeMessageType("streamlayer.users.InviteResponse",[]),sre=L.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}]),ore=L.makeMessageType("streamlayer.users.BypassAuthResponse",()=>[{no:1,name:"meta",kind:"message",T:lre},{no:2,name:"data",kind:"message",T:yC,opt:!0}]),lre=L.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"}),ure=L.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}]),cre=L.makeMessageType("streamlayer.users.GetFriendsResponse",()=>[{no:1,name:"data",kind:"message",T:fre,repeated:!0},{no:2,name:"metadata",kind:"message",T:dre}]),dre=L.makeMessageType("streamlayer.users.GetFriendsResponse.ResponseMeta",()=>[{no:1,name:"last_created_at",kind:"scalar",T:9}],{localName:"GetFriendsResponse_ResponseMeta"}),fre=L.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"}),vC={typeName:"streamlayer.users.Users",methods:{login:{name:"Login",I:Bne,O:$ne,kind:tt.Unary},register:{name:"Register",I:Gne,O:jne,kind:tt.Unary},requestPassword:{name:"RequestPassword",I:Hne,O:Wne,kind:tt.Unary},me:{name:"Me",I:Kne,O:Yne,kind:tt.Unary},invite:{name:"Invite",I:rre,O:are,kind:tt.Unary},bypassAuth:{name:"BypassAuth",I:sre,O:ore,kind:tt.Unary},updateMetadata:{name:"UpdateMetadata",I:qne,O:nre,kind:tt.Unary},updateAvatar:{name:"UpdateAvatar",I:Qne,O:Xne,kind:tt.Unary},updatePublicChatName:{name:"UpdatePublicChatName",I:Zne,O:Jne,kind:tt.Unary},updatePublicName:{name:"UpdatePublicName",I:ere,O:tre,kind:tt.Unary},getFriends:{name:"GetFriends",I:ure,O:cre,kind:tt.Unary}}},zo={typeName:"streamlayer.interactive.feed.Feed",methods:{get:{name:"Get",I:sZ,O:oZ,kind:tt.Unary},subscription:{name:"Subscription",I:dX,O:fX,kind:tt.ServerStreaming},votingSubscription:{name:"VotingSubscription",I:mX,O:pX,kind:tt.ServerStreaming},questionSubscription:{name:"QuestionSubscription",I:vX,O:TX,kind:tt.ServerStreaming},questionByUser:{name:"QuestionByUser",I:kX,O:bX,kind:tt.Unary},syncQuestion:{name:"SyncQuestion",I:CX,O:IX,kind:tt.Unary},getQuestion:{name:"GetQuestion",I:LX,O:AX,kind:tt.Unary},questionDetail:{name:"QuestionDetail",I:OX,O:NX,kind:tt.Unary},submitAnswer:{name:"SubmitAnswer",I:DX,O:FX,kind:tt.Unary},submitInplay:{name:"SubmitInplay",I:BX,O:VX,kind:tt.Unary},skipQuestion:{name:"SkipQuestion",I:GX,O:jX,kind:tt.Unary},pickHistory:{name:"PickHistory",I:WX,O:KX,kind:tt.Unary},insightHistory:{name:"InsightHistory",I:QX,O:JX,kind:tt.Unary},tweetHistory:{name:"TweetHistory",I:tZ,O:nZ,kind:tt.Unary},promotionHistory:{name:"PromotionHistory",I:uZ,O:cZ,kind:tt.Unary},list:{name:"List",I:hZ,O:pZ,kind:tt.Unary},item:{name:"Item",I:yZ,O:vZ,kind:tt.Unary},feedSubscription:{name:"FeedSubscription",I:TZ,O:SZ,kind:tt.ServerStreaming}}},hre=L.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"}]),ZF=L.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardData",()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"type",kind:"enum",T:L.getEnumType(hre)},{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:ZF,repeated:!0},{no:6,name:"created_at",kind:"scalar",T:3}]),TC=L.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}]),mre=L.makeMessageType("streamlayer.interactive.leaderboard.LeaderboardSummaryItem",()=>[{no:1,name:"summary",kind:"message",T:TC},{no:2,name:"percentage",kind:"message",T:pre}]),pre=L.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"}),gre=L.makeMessageType("streamlayer.interactive.leaderboard.ListRequest",()=>[{no:1,name:"pagination",kind:"message",T:H4},{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}]),yre=L.makeMessageType("streamlayer.interactive.leaderboard.ListResponse",()=>[{no:1,name:"data",kind:"message",T:vre,repeated:!0},{no:2,name:"meta",kind:"message",T:Tre}]),vre=L.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:TC}],{localName:"ListResponse_ListResponseData"}),Tre=L.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"}),Sre=L.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}]),Ere=L.makeMessageType("streamlayer.interactive.leaderboard.SummaryResponse",()=>[{no:1,name:"data",kind:"message",T:kre}]),kre=L.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:mre}],{localName:"SummaryResponse_SummaryResponseData"}),bre=L.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsRequest",()=>[{no:1,name:"organization_id",kind:"scalar",T:9},{no:2,name:"event_id",kind:"scalar",T:9}]),wre=L.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardsResponse",()=>[{no:2,name:"data",kind:"message",T:Cre}]),Cre=L.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:ZF}],{localName:"EventLeaderboardsResponse_EventLeaderboardsResponseData"}),xre=L.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:H4},{no:4,name:"sort",kind:"message",T:sX}]),Ire=L.makeMessageType("streamlayer.interactive.leaderboard.EventLeaderboardResponse",()=>[{no:1,name:"data",kind:"message",T:_re,repeated:!0},{no:2,name:"meta",kind:"message",T:Lre}]),_re=L.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:TC}],{localName:"EventLeaderboardResponse_ListResponseData"}),Lre=L.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"}),JF={typeName:"streamlayer.interactive.leaderboard.Leaderboard",methods:{list:{name:"List",I:gre,O:yre,kind:tt.Unary},summary:{name:"Summary",I:Sre,O:Ere,kind:tt.Unary},eventLeaderboards:{name:"EventLeaderboards",I:bre,O:wre,kind:tt.Unary},eventLeaderboard:{name:"EventLeaderboard",I:xre,O:Ire,kind:tt.Unary}}},Are=L.makeMessageType("streamlayer.shortLinks.GenerateRequest",()=>[{no:1,name:"web",kind:"scalar",T:9},{no:2,name:"mobile",kind:"scalar",T:9}]),Rre=L.makeMessageType("streamlayer.shortLinks.GenerateResponse",()=>[{no:1,name:"data",kind:"message",T:Ore}]),Ore=L.makeMessageType("streamlayer.shortLinks.GenerateResponse.GenerateResponseData",()=>[{no:1,name:"link",kind:"scalar",T:9}],{localName:"GenerateResponse_GenerateResponseData"}),Nre={typeName:"streamlayer.shortLinks.LinksClient",methods:{generate:{name:"Generate",I:Are,O:Rre,kind:tt.Unary}}},vw=globalThis||void 0||self,Tw=L.makeEnum("streamlayer.analytics.v1.interactions.InteractionActionType",[{no:0,name:"INTERACTION_ACTION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"INTERACTION_ACTION_TYPE_TAP",localName:"TAP"},{no:2,name:"INTERACTION_ACTION_TYPE_CALL",localName:"CALL"},{no:3,name:"INTERACTION_ACTION_TYPE_MESSAGE",localName:"MESSAGE"},{no:4,name:"INTERACTION_ACTION_TYPE_SCROLL",localName:"SCROLL"}]),Ll=L.makeEnum("streamlayer.analytics.v1.notifications.NotificationKind",[{no:0,name:"NOTIFICATION_KIND_UNSET",localName:"UNSET"},{no:1,name:"NOTIFICATION_KIND_MESSAGE",localName:"MESSAGE"},{no:2,name:"NOTIFICATION_KIND_CALL",localName:"CALL"},{no:3,name:"NOTIFICATION_KIND_TWITTER",localName:"TWITTER"},{no:4,name:"NOTIFICATION_KIND_WAVE",localName:"WAVE"},{no:5,name:"NOTIFICATION_KIND_INPLAY",localName:"INPLAY"},{no:6,name:"NOTIFICATION_KIND_GROUP_CALL",localName:"GROUP_CALL"},{no:7,name:"NOTIFICATION_KIND_MISSED_CALL",localName:"MISSED_CALL"},{no:8,name:"NOTIFICATION_KIND_MISSED_GROUP_CALL",localName:"MISSED_GROUP_CALL"},{no:9,name:"NOTIFICATION_KIND_WATCH_PARTY",localName:"WATCH_PARTY"},{no:10,name:"NOTIFICATION_KIND_POLLS",localName:"POLLS"}]),Sw=L.makeEnum("streamlayer.analytics.v1.notifications.NotificationType",[{no:0,name:"NOTIFICATION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"NOTIFICATION_TYPE_IN_APP",localName:"IN_APP"},{no:2,name:"NOTIFICATION_TYPE_PUSH",localName:"PUSH"}]),Pre=L.makeEnum("streamlayer.analytics.v1.permissions.PermissionType",[{no:0,name:"PERMISSION_TYPE_UNSET",localName:"UNSET"},{no:1,name:"PERMISSION_TYPE_ADDRESS_BOOK",localName:"ADDRESS_BOOK"},{no:2,name:"PERMISSION_TYPE_CALLING",localName:"CALLING"},{no:3,name:"PERMISSION_TYPE_CAMERA",localName:"CAMERA"}]),Dre=L.makeEnum("streamlayer.analytics.v1.waves.WaveCategory",[{no:0,name:"WAVE_CATEGORY_UNSET",localName:"UNSET"},{no:1,name:"WAVE_CATEGORY_WATCHING",localName:"WATCHING"},{no:2,name:"WAVE_CATEGORY_MESSAGING",localName:"MESSAGING"},{no:3,name:"WAVE_CATEGORY_VOICING",localName:"VOICING"}]),sO=L.makeMessageType("streamlayer.analytics.v2.streaming.SendResponse",()=>[{no:1,name:"result",kind:"enum",T:L.getEnumType(hQ)}]),Mre=L.makeMessageType("streamlayer.analytics.v2.streaming.SendExtra",[]),va=L.makeMessageType("streamlayer.analytics.v2.streaming.CommonData",()=>[{no:1,name:"event_id",kind:"scalar",T:4,opt:!0},{no:2,name:"category",kind:"enum",T:L.getEnumType(yi),opt:!0},{no:3,name:"kind",kind:"enum",T:L.getEnumType(ti),opt:!0},{no:4,name:"screen_orientation",kind:"enum",T:L.getEnumType(hw),opt:!0},{no:5,name:"session_id",kind:"scalar",T:9,opt:!0},{no:6,name:"overlay_session_id",kind:"scalar",T:9,opt:!0},{no:7,name:"topic_id",kind:"scalar",T:9,opt:!0},{no:8,name:"topic_type",kind:"enum",T:L.getEnumType(Ki),opt:!0},{no:9,name:"parent_topic_id",kind:"scalar",T:9,opt:!0},{no:10,name:"parent_topic_type",kind:"enum",T:L.getEnumType(Ki),opt:!0},{no:11,name:"participants_count",kind:"scalar",T:13,opt:!0},{no:12,name:"route_map",kind:"scalar",T:9,opt:!0},{no:13,name:"track_timestamp",kind:"scalar",T:4,opt:!0},{no:14,name:"topic_sub_type",kind:"enum",T:L.getEnumType(_l),opt:!0},{no:15,name:"country",kind:"scalar",T:9,opt:!0}]),Fre=L.makeMessageType("streamlayer.analytics.v2.streaming.SendAuthenticationsMessage",()=>[{no:1,name:"common",kind:"message",T:va}]),Ure=L.makeMessageType("streamlayer.analytics.v2.streaming.SendCallsMessage",()=>[{no:1,name:"common",kind:"message",T:va}]),Bre=L.makeMessageType("streamlayer.analytics.v2.streaming.SendConversationsMessage",()=>[{no:1,name:"common",kind:"message",T:va}]),$re=L.makeMessageType("streamlayer.analytics.v2.streaming.SendInteractionsMessage",()=>[{no:1,name:"common",kind:"message",T:va},{no:2,name:"action_type",kind:"enum",T:L.getEnumType(Tw)}]),Vre=L.makeMessageType("streamlayer.analytics.v2.streaming.EventOpenedMessage",()=>[{no:1,name:"common",kind:"message",T:va}]),Gre=L.makeMessageType("streamlayer.analytics.v2.streaming.SendInvitationsMessage",()=>[{no:1,name:"common",kind:"message",T:va},{no:2,name:"category",kind:"enum",T:L.getEnumType(mw)},{no:3,name:"from",kind:"enum",T:L.getEnumType(xv)}]),zre=L.makeMessageType("streamlayer.analytics.v2.streaming.LaunchButtonMessage",()=>[{no:1,name:"common",kind:"message",T:va}]),jre=L.makeMessageType("streamlayer.analytics.v2.streaming.NotificationMessage",()=>[{no:1,name:"common",kind:"message",T:va},{no:2,name:"notification_kind",kind:"enum",T:L.getEnumType(Ll)},{no:3,name:"notification_type",kind:"enum",T:L.getEnumType(Sw)}]),Hre=L.makeMessageType("streamlayer.analytics.v2.streaming.PermissionMessage",()=>[{no:1,name:"common",kind:"message",T:va},{no:2,name:"permission",kind:"enum",T:L.getEnumType(Pre)}]),Wre=L.makeMessageType("streamlayer.analytics.v2.streaming.ButtonInitializedMessage",()=>[{no:1,name:"common",kind:"message",T:va}]),Kre=L.makeMessageType("streamlayer.analytics.v2.streaming.WavesMessage",()=>[{no:1,name:"common",kind:"message",T:va},{no:2,name:"category",kind:"enum",T:L.getEnumType(Dre)}]),Yre=L.makeMessageType("streamlayer.analytics.v2.streaming.HeartbeatMessage",()=>[{no:1,name:"common",kind:"message",T:va}]),qre=L.makeMessageType("streamlayer.analytics.v2.streaming.GamesMessage",()=>[{no:1,name:"common",kind:"message",T:va},{no:2,name:"poll_opened_from",kind:"enum",T:L.getEnumType(Gs)}]),Qre=L.makeMessageType("streamlayer.analytics.v2.streaming.Login",()=>[{no:1,name:"common",kind:"message",T:va},{no:2,name:"token",kind:"scalar",T:9}]),Xre=L.makeMessageType("streamlayer.analytics.v2.streaming.Logout",()=>[{no:1,name:"common",kind:"message",T:va}]),oO=L.makeMessageType("streamlayer.analytics.v2.streaming.SendRequest",()=>[{no:1,name:"auth",kind:"message",T:Fre,oneof:"message"},{no:2,name:"call",kind:"message",T:Ure,oneof:"message"},{no:3,name:"conversations",kind:"message",T:Bre,oneof:"message"},{no:4,name:"interactions",kind:"message",T:$re,oneof:"message"},{no:5,name:"event_opened",kind:"message",T:Vre,oneof:"message"},{no:6,name:"invitation",kind:"message",T:Gre,oneof:"message"},{no:7,name:"launch_button",kind:"message",T:zre,oneof:"message"},{no:8,name:"notification",kind:"message",T:jre,oneof:"message"},{no:9,name:"permission",kind:"message",T:Hre,oneof:"message"},{no:10,name:"button_init",kind:"message",T:Wre,oneof:"message"},{no:11,name:"waves",kind:"message",T:Kre,oneof:"message"},{no:12,name:"heartbeat",kind:"message",T:Yre,oneof:"message"},{no:13,name:"games",kind:"message",T:qre,oneof:"message"},{no:14,name:"login",kind:"message",T:Qre,oneof:"message"},{no:15,name:"logout",kind:"message",T:Xre,oneof:"message"},{no:100,name:"extra",kind:"message",T:Mre}]),eU={typeName:"streamlayer.analytics.v2.streaming.AnalyticsService",methods:{send:{name:"Send",I:oO,O:sO,kind:tt.ClientStreaming},unary:{name:"Unary",I:oO,O:sO,kind:tt.Unary}}};function Zre(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var tU={exports:{}},cr=tU.exports={},Al,Rl;function Ew(){throw new Error("setTimeout has not been defined")}function kw(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Al=setTimeout:Al=Ew}catch{Al=Ew}try{typeof clearTimeout=="function"?Rl=clearTimeout:Rl=kw}catch{Rl=kw}})();function nU(t){if(Al===setTimeout)return setTimeout(t,0);if((Al===Ew||!Al)&&setTimeout)return Al=setTimeout,setTimeout(t,0);try{return Al(t,0)}catch{try{return Al.call(null,t,0)}catch{return Al.call(this,t,0)}}}function Jre(t){if(Rl===clearTimeout)return clearTimeout(t);if((Rl===kw||!Rl)&&clearTimeout)return Rl=clearTimeout,clearTimeout(t);try{return Rl(t)}catch{try{return Rl.call(null,t)}catch{return Rl.call(this,t)}}}var ic=[],A1=!1,Rh,oE=-1;function eie(){!A1||!Rh||(A1=!1,Rh.length?ic=Rh.concat(ic):oE=-1,ic.length&&rU())}function rU(){if(!A1){var t=nU(eie);A1=!0;for(var e=ic.length;e;){for(Rh=ic,ic=[];++oE1)for(var n=1;n{console.log(t)}}}),gc=(t,e)=>nie.child({name:t},e);class rie extends Event{constructor(e,n){super(e),K(this,"slEventBus"),this.slEventBus=n}}const iie=gc("event-bus");class aie{constructor(e="sl-event-bus"){K(this,"name"),K(this,"listeners"),K(this,"emit",(n,r)=>{const i=new rie(this.name,{...r,type:n});iie.debug(i,"Emitting event"),window.dispatchEvent(i)}),K(this,"destroy",()=>{this.listeners.forEach(n=>{window.removeEventListener(this.name,n),this.listeners.delete(n)}),this.listeners.clear()}),this.name=e,this.listeners=new Set}listen(e){return window.addEventListener(this.name,e),this.listeners.add(e),()=>{this.off(e)}}off(e){window.removeEventListener(this.name,e),this.listeners.delete(e)}}class sie{}window.slStore=Object.create(null);class Q4{constructor(e,n){K(this,"store"),K(this,"name"),this.store=e,this.name=n}getStore(){return this.store}}const oie=t=>{const e=Object.keys(t);return hJ(e.map(n=>t[n].getStore()),(...n)=>Object.fromEntries(e.map((r,i)=>[r,n[i]])))};class Fh extends Q4{constructor(){super(...arguments),K(this,"getValues",()=>this.getStore().get()),K(this,"getValue",e=>this.getStore().get()[e]),K(this,"setValue",(e,n)=>this.getStore().setKey(e,n)),K(this,"subscribe",(...e)=>this.getStore().subscribe(...e)),K(this,"unsubscribe",()=>this.getStore().off())}}const $o=t=>pw(t);var qu;(function(t){t.ORGANIZATION="ORGANIZATION",t.STREAM="STREAM"})(qu||(qu={}));const lie={[$t.BETTING]:"betting",[$t.GAMES]:"games",[$t.PUBLIC_CHAT]:"publicChat",[$t.TWITTER]:"twitter"};var iv;(function(t){t.Ready="ready",t.Suspended="suspended"})(iv||(iv={}));class aU{constructor({settings:e,...n},r){K(this,"status"),K(this,"source"),K(this,"config"),K(this,"settings"),K(this,"listeners",new Set),K(this,"settingsKey"),K(this,"enable",()=>{this.status.set(iv.Ready)}),K(this,"disable",()=>{this.status.set(iv.Suspended)}),K(this,"setFeatureConfig",({settings:i,...o})=>{var l;let c;for(c in o)this.config.setValue(c,o[c]);if(((l=i==null?void 0:i.overlaySettings)==null?void 0:l.case)!==void 0&&(i==null?void 0:i.overlaySettings.case)===this.settingsKey){const h=i.overlaySettings.value;if(h!==void 0){let m;for(m in h)h[m]!==0&&h[m]!==""&&this.settings.setValue(m,h[m])}}}),K(this,"update",(i,o)=>{this.source===qu.STREAM&&o===qu.ORGANIZATION||(this.setFeatureConfig(i),this.source=o)}),this.settingsKey=lie[n.type],this.status=Qd(iv.Suspended),this.config=new Fh($o(n),`feature:config:${this.settingsKey}`),this.settingsKey!==void 0&&(e==null?void 0:e.overlaySettings.case)===this.settingsKey?this.settings=new Fh($o(e.overlaySettings.value),`feature:settings:${this.settingsKey}`):this.settings=new Fh($o({}),`feature:settings:${this.settingsKey}`),this.source=r}get featureConfig(){return this.config.getStore()}get featureSettings(){return this.settings.getStore()}registerEventListener(e){this.listeners.add(e)}fireEvent(e){for(const n of this.listeners.values())try{n.onEvent(e)}catch(r){console.error(r)}}}class Hs extends Q4{constructor(){super(...arguments),K(this,"getValue",()=>this.getStore().get()),K(this,"setValue",e=>this.getStore().set(e)),K(this,"subscribe",e=>this.getStore().subscribe(e)),K(this,"unsubscribe",()=>this.getStore().off())}getValues(){throw new Error("not implemented")}listen(e){return this.getStore().listen(e)}get(){return this.getStore().get()}}const bi=t=>Qd(t);class Hl extends Q4{constructor(e,n,r){super(e,`api:${n}`),K(this,"atomStore"),K(this,"getAtomStore",()=>this.atomStore),K(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}),K(this,"getValues",()=>this.getStore().get()),K(this,"setValue",i=>this.getStore().set({loading:!1,data:i==null?void 0:i.data})),K(this,"subscribe",i=>this.getStore().subscribe(i)),K(this,"unsubscribe",()=>{throw new Error("not implemented")}),K(this,"invalidate",()=>{this.store.invalidate()}),K(this,"listen",i=>this.getStore().listen(i)),K(this,"key",()=>this.getStore().key),K(this,"off",()=>this.getStore().off()),this.atomStore=Qd(),r&&e.subscribe(i=>{const o=this.atomStore.get(),l=r(i,o);o!==l&&this.atomStore.set(l)})}get(){throw new Error("not implemented")}}const Ws=new aie;async function*uie(t,e){for await(const n of e){t.response.message=n,t.received_at=Date.now(),t.id=sU++;const r={type:"__GRPC_DEVTOOLS_EXTENSION__",data:t};window.postMessage(r),yield n}}let sU=0;const cie=()=>t=>async e=>{const n={id:sU++,name:e.url,stream:e.stream,sent_at:Date.now(),request:{header:Object.fromEntries(e.header.entries()),message:e.message},response:{}};window.postMessage({type:"__GRPC_DEVTOOLS_EXTENSION__",data:n});try{const r=await t(e);if(n.received_at=Date.now(),n.response.header=Object.fromEntries(r.header.entries()),n.response.trailer=Object.fromEntries(r.trailer.entries()),e.stream){const i={type:"__GRPC_DEVTOOLS_EXTENSION__",data:{...n,stream:!1}};return window.postMessage(i),{...r,message:uie(n,r.message)}}else{n.response.message=r.message,n.latency=n.received_at-n.sent_at;const i={type:"__GRPC_DEVTOOLS_EXTENSION__",data:n};window.postMessage(i)}return r}catch(r){n.received_at=Date.now(),n.response.trailer={"grpc-status":r.code,"grpc-message":r.rawMessage},n.response.message=r.rawMessage,n.latency=n.received_at-n.sent_at;const i={type:"__GRPC_DEVTOOLS_EXTENSION__",data:n};throw window.postMessage(i),r}};window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));function oU(t){return t instanceof DOMException&&(t.code===22||t.code===1014||t.name==="QuotaExceededError"||t.name==="NS_ERROR_DOM_QUOTA_REACHED")}class a0{constructor(e="main",n=window.localStorage){K(this,"delimiter",":"),K(this,"prefix"),K(this,"storage"),K(this,"clear",()=>{for(const r in window.localStorage)r.startsWith(this.prefix)&&this.storage.removeItem(r)}),K(this,"generateKey",r=>`${this.prefix}${this.delimiter}${r.join(this.delimiter)}`),K(this,"write",(...r)=>{const i=r.pop()||"",o=this.generateKey(r);try{this.storage.setItem(o,i)}catch(l){oU(l)&&this.storage===window.sessionStorage&&(window.sessionStorage.removeItem("slstreamlogs"),this.storage.setItem(o,i))}}),K(this,"read",(...r)=>{const i=this.storage.getItem(this.generateKey(r));return i===null?void 0:i}),K(this,"remove",(...r)=>{this.storage.removeItem(this.generateKey(r))}),this.prefix=`sl-sdk${this.delimiter}${e}`,this.storage=n}}var Ro;(function(t){t.Init="init",t.Ready="ready",t.Connecting="connecting",t.Connected="connected",t.Disconnected="disconnected",t.Failed="failed",t.Reconnect="reconnect",t.Reconnecting="reconnecting"})(Ro||(Ro={}));class die{constructor(e,n,r,i){K(this,"params"),K(this,"streamCancel"),K(this,"method"),K(this,"options"),K(this,"headers"),K(this,"listeners"),K(this,"state"),K(this,"store"),K(this,"paramsListener"),K(this,"reconnectTimeout"),K(this,"attempt",0),K(this,"updateState",l=>{this.state.setValue("status",l),this.state.setValue("ts",new Date),this.addStateLog(`status => ${l}`)}),K(this,"addStateLog",l=>{const c=this.state.getStore().get().log,h=`${this.options.name} ${new Date().toISOString()}: ${l}`;if(c.push(h),this.state.setValue("log",c),localStorage.getItem("SL_DEBUG"))try{window.sessionStorage.setItem("slstreamlogs",window.sessionStorage.getItem("slstreamlogs")+` +`+h)}catch(m){oU(m)&&window.sessionStorage.removeItem("slstreamlogs"),window.sessionStorage.setItem("slstreamlogs",h)}}),K(this,"addListener",(l,c)=>this.listeners.has(l)?(this.addStateLog(`listener '${l}' not added, already exists`),()=>{}):(this.listeners.set(l,c),this.addStateLog(`listener '${l}' added`),()=>this.removeListener(l))),K(this,"removeListener",l=>{this.listeners.delete(l),this.addStateLog(`listener '${l}' removed`)}),K(this,"connect",()=>{this.updateState(Ro.Connecting),this.streamCancel&&(this.addStateLog("disconnect prev connection"),this.streamCancel.abort(),this.streamCancel=void 0);const l="get"in this.params&&typeof this.params.get=="function"?this.params.get():this.params;(async()=>{this.streamCancel=new AbortController;try{const c={headers:this.headers.getValues(),signal:this.streamCancel.signal},h=this.method(l,c);for await(const m of h)this.attempt=0,this.onData(m)}catch(c){c instanceof rn&&c.code!=Et.Canceled&&this.onStreamError(c)}})(),this.updateState(Ro.Connected)}),K(this,"disconnect",()=>{var l;this.streamCancel&&this.streamCancel.abort(),this.listeners.clear(),(l=this.paramsListener)==null||l.call(this),clearTimeout(this.reconnectTimeout),this.reconnectTimeout=void 0,this.updateState(Ro.Disconnected)}),K(this,"reconnect",()=>{if(this.reconnectTimeout)this.addStateLog("already reconnecting");else if(this.attempt{this.attempt++,this.updateState(Ro.Reconnecting),this.addStateLog(`reconnect attempt ${this.attempt} after ${c}ms`),this.connect(),this.reconnectTimeout=void 0},c)}else this.addStateLog("max reconnect attempts reached"),this.disconnect()}),K(this,"getStore",()=>{var l;return(l=this.store)==null?void 0:l.getStore()}),K(this,"onData",l=>{try{this.addStateLog(`received data => ${JSON.stringify(l)}`),this.store&&this.store.setValue(l);for(const[,c]of this.listeners)c(l);this.addStateLog(`data routed to ${this.listeners.size} listeners`)}catch(c){this.addStateLog(`error process data => ${c}`)}}),K(this,"onStreamError",l=>{if(this.addStateLog(`error => ${l?JSON.stringify(l):"undefined"}}`),l!==void 0){if(l instanceof rn&&l.code!==Et.Canceled){this.updateState(Ro.Failed),this.state.setValue("error",l),this.reconnect();return}this.disconnect()}});const o={status:Ro.Init,ts:new Date,log:[]};this.state=new Fh($o(o),`subscription:${i.name}:state`),this.options={...i,reconnectDelay:i.reconnectDelay??1e3,reconnectMaxDelay:i.reconnectMaxDelay??3e4,reconnectMaxAttempts:i.reconnectMaxAttempts??10,withStore:i.withStore??!1},this.headers=e,this.listeners=new Map,this.params=r,this.method=n,i.withStore&&(this.store=new Hs(bi(null),`subscription:${i.name}:store`)),"subscribe"in r&&typeof r.subscribe=="function"&&(this.paramsListener=r.subscribe(l=>{this.state.getValue("status")===Ro.Connected&&(this.addStateLog(`params updated, reconnect => ${JSON.stringify(l)}`),this.reconnect())})),this.updateState(Ro.Ready)}}const fie=new Set([Et.Unknown,Et.Internal,Et.DeadlineExceeded,Et.ResourceExhausted,Et.FailedPrecondition,Et.Unavailable,Et.DataLoss]),lO=gc("grpc:retry"),hie=t=>async e=>{const n=e.contextValues.get(bw.retryAttempts),r=300,i=e.contextValues.get(bw.retryDelay);if(e.stream||n===0)return t(e);lO.trace({url:e.url,attempts:n,maxDelay:i},"retry options");for(let o=0;;o++)try{return await t(e)}catch(l){lO.trace({attempt:o,error:l},"retry attempt");const c=rn.from(l);if(o>=n||!(c instanceof rn)||!fie.has(c.code))throw l;const h=Math.min(i,Math.pow(2,o)*r),m=Math.round(h*(1+Math.random())/2);await new Promise(y=>setTimeout(y,m))}},bw={retryAttempts:n4(10,{description:"Number of attempts to retry"}),retryDelay:n4(3e4,{description:"Max delay between retries in milliseconds"})},mie=()=>{const t=localStorage.getItem("sl-device-id");if(t)return t;const e=gw();return localStorage.setItem("sl-device-id",e),e},pie=()=>{var t;return((t=navigator.userAgentData)==null?void 0:t.platform)||navigator.platform};class uO{constructor(e,n){K(this,"toJsonOptions",{emitDefaultValues:!1,enumAsInteger:!0,useProtoFieldName:!1}),K(this,"transport"),K(this,"streamTransport"),K(this,"nanoquery"),K(this,"host"),K(this,"$headers"),K(this,"interceptors",[]),K(this,"clients"),K(this,"streamClients"),K(this,"subscriptions"),K(this,"opts"),K(this,"addSubscription",(l,c,h)=>{const m=this.subscriptions.get(c);if(m)return m;const y=new die(this.$headers,l,c,h);return this.subscriptions.set(c,y),y}),K(this,"removeSubscription",l=>{l.disconnect(),this.subscriptions.delete(l.params)}),K(this,"disconnect",()=>{var l,c;for(const[T,E]of this.subscriptions)E.disconnect(),this.subscriptions.delete(T);this.clients.clear(),this.streamClients.clear(),this.subscriptions.clear();const[h,m,y]=MR({dedupeTime:(l=this.opts)==null?void 0:l.dedupeTime,refetchInterval:(c=this.opts)==null?void 0:c.refetchInterval});this.nanoquery={createFetcherStore:h,createMutatorStore:m,utils:y}}),K(this,"registerInterceptor",l=>{this.interceptors.push(l)}),K(this,"removeInterceptor",l=>{this.interceptors=this.interceptors.filter(c=>c!==l)}),K(this,"getClient",l=>{const c=l.typeName;if(this.clients.has(c))return this.clients.get(c);const h=xR(l,this.transport);return this.clients.set(c,h),h}),K(this,"getStreamClient",l=>{const c=`stream-${l.typeName}`;if(this.clients.has(c))return this.clients.get(c);const h=xR(l,this.streamTransport);return this.clients.set(c,h),h}),K(this,"createPromiseClient",(l,{params:c=[],method:h})=>{const m=this.getClient(l),y=l.methods[h].name,T=[l.typeName,y.charAt(0).toLowerCase()+y.slice(1),...Array.isArray(c)?c:[c]],E=[l.typeName,y.charAt(0).toLowerCase()+y.slice(1)];return{client:m,createRequestOptions:b=>{const w=yw();for(const x in b){const A=bw[x];w.set(A,b[x])}return w},queryKey:T,queryKeyStr:E.join("")}}),K(this,"createStreamClient",l=>({client:this.getStreamClient(l)})),K(this,"setSdkKey",l=>{this.$headers.setValue("sdk",l)}),K(this,"setAuth",(l,c)=>{this.$headers.setValue("authorization",l),this.$headers.setValue("sl-user-id",c)}),K(this,"setHeader",(l,c)=>this.$headers.setValue(l,c)),K(this,"getHeader",l=>this.$headers.getValue(l)),K(this,"getHeaders",()=>this.$headers.getValues()),K(this,"initInterceptors",()=>{var l;if(this.interceptors.length!==0)return;const c=h=>m=>{const y=this.$headers.getValues();for(const T in y)m.header.set(T,y[T]);return h(m)};this.interceptors.push(c),this.interceptors.push(cie()),(l=this.opts)!=null&&l.retryable&&this.interceptors.push(hie)}),this.host=e,this.opts=n,this.$headers=new Fh($o({"sl-device-id":mie(),"sl-device-os":pie()}),"transport:headers"),this.initInterceptors(),this.clients=new Map,this.streamClients=new Map,this.subscriptions=new Map;const[r,i,o]=MR({dedupeTime:n==null?void 0:n.dedupeTime,refetchInterval:n==null?void 0:n.refetchInterval});this.nanoquery={createFetcherStore:r,createMutatorStore:i,utils:o},this.transport=DR({baseUrl:e,defaultTimeoutMs:1e4,interceptors:this.interceptors}),this.streamTransport=DR({baseUrl:e,interceptors:this.interceptors})}}const gie=(t,e)=>{const{client:n,queryKey:r}=e.createPromiseClient(QF,{method:"retrieveEventId",params:[t]});return e.nanoquery.createFetcherStore(r,{fetcher:async(i,o,l)=>{var c;if(!l||typeof l!="string")return"";try{return((c=(await n.retrieveEventId({id:l})).data)==null?void 0:c.id)||""}catch{return""}}})},yie=(t,e)=>{const{client:n,queryKey:r}=e.createPromiseClient(Gv,{method:"getStream",params:[t]});return e.nanoquery.createFetcherStore(r,{fetcher:async(i,o,l)=>{var c;return l?(c=(await n.getStream({id:l})).data)==null?void 0:c.attributes:void 0}})},vie=(t,e)=>{const{client:n,queryKey:r}=e.createPromiseClient(QF,{method:"summary",params:[t]});return e.nanoquery.createFetcherStore(r,{fetcher:async(i,o,l)=>{var c;return l?(c=(await n.summary({id:l})).data)==null?void 0:c.attributes:void 0}})},Tie=(t,e)=>{const{queryKey:n,client:r}=e.createPromiseClient(vC,{method:"me",params:[t]});return e.nanoquery.createFetcherStore(n,{fetcher:async()=>{const{data:i}=await r.me({});return{data:i}}})},Sie=t=>{const{client:e,createRequestOptions:n}=t.createPromiseClient(vC,{method:"bypassAuth"}),r=n({retryAttempts:0});return({userKey:i,schema:o,init:l,inviterKey:c})=>e.bypassAuth({userKey:i,schema:o,init:l,inviterKey:c},{contextValues:r})},Eie=(t,e)=>{const{client:n,queryKey:r}=e.createPromiseClient(Gv,{method:"get",params:[t]});return e.nanoquery.createFetcherStore(r,{fetcher:async()=>{var i;return(i=(await n.get({})).data)==null?void 0:i.attributes}})},kie=(t,e)=>{const{client:n,queryKey:r}=e.createPromiseClient(Gv,{method:"getOrganization",params:[t]});return e.nanoquery.createFetcherStore(r,{fetcher:async()=>{const i=await n.getOrganization({});return i.data?{...i.data.attributes,id:i.data.id}:void 0}})},bie=(t,e)=>{const{client:n,queryKey:r}=e.createPromiseClient(Gv,{method:"getOrganizationAdvertising",params:[t]});return e.nanoquery.createFetcherStore(r,{fetcher:async()=>{var i;return(i=(await n.getOrganizationAdvertising({})).data)==null?void 0:i.attributes}})},wie=(t,e,n)=>{t.transport=new uO(e.host,{dedupeTime:1e3*60*5,refetchInterval:1e3*60*5,retryable:!0}),t.analyticsTransport=new uO(e.analyticsHost),t.sdk.host=t.transport.host,t.transport.setSdkKey(e.sdkKey),t.transport.setHeader("sl-sdk-version",e.version||"-"),t.transport.$headers.subscribe(r=>{t.analyticsTransport.$headers.getStore().set(r)}),t.sdk.onMount({name:"transport"},()=>()=>{t.transport.disconnect(),t.analyticsTransport.disconnect()}),n()};var zu;(function(t){t.SCHEMA="schema",t.EXTERNAL_TOKEN="eToken",t.TOKEN="token"})(zu||(zu={}));class y1 extends a0{constructor(){super("user"),K(this,"setSchema",e=>{this.write(zu.SCHEMA,e)}),K(this,"getSchema",()=>this.read(zu.SCHEMA)),K(this,"setToken",e=>{this.write(zu.TOKEN,e)}),K(this,"getToken",()=>this.read(zu.TOKEN)),K(this,"setExternalToken",e=>{this.write(zu.EXTERNAL_TOKEN,e)}),K(this,"getExternalToken",()=>this.read(zu.EXTERNAL_TOKEN)),K(this,"removeToken",()=>{this.remove(zu.TOKEN)})}}var Qu;(function(t){t.DISABLED="disabled",t.INITIALIZATION="initialization",t.READY="ready",t.FAILED="failed",t.SUSPENDED="suspended"})(Qu||(Qu={}));const Cie=t=>{const e=new y1,n=new Hs(bi(e.getExternalToken()),"userKey"),r=new Hs(bi(e.getToken()),"userToken"),i=new Hl(Tie(r.getStore(),t),"user",({data:l,error:c,loading:h},m)=>{var y;if(!c)return(y=l==null?void 0:l.data)!=null&&y.id?l.data.id:h===!1?void 0:m}),o=new Hl(Eie(r.getStore(),t),"userSettings");return{userKey:n,userToken:r,user:i,userSettings:o}},xie=t=>{const e=new Hs(bi(void 0),"providerStreamId"),n=new Hl(gie(e.getStore(),t),"slStreamId",o=>o==null?void 0:o.data),r=new Hl(yie(n.getAtomStore(),t),"streamSettings"),i=new Hl(vie(n.getAtomStore(),t),"streamSettings");return n.getAtomStore().listen(o=>{(o===""||o===void 0)&&(r.getStore().mutate(void 0),i.getStore().mutate(void 0))}),{providerStreamId:e,slStreamId:n,streamSettings:r,streamSummary:i}},Iie=t=>{const e=new Hs(bi(void 0),"enabled"),n=new Hs(bi(Qu.DISABLED),"status"),r=new Hl(kie(e.getStore(),t),"organizationSettings",c=>{var h;return(h=c==null?void 0:c.data)==null?void 0:h.id}),i=new Hl(bie(r.getAtomStore(),t),"organizationAdvertising"),o=Cie(t),l=xie(t);return{enabled:e,status:n,providerStreamId:l.providerStreamId,slStreamId:l.slStreamId,streamSettings:l.streamSettings,streamSummary:l.streamSummary,user:o.user,userKey:o.userKey,userToken:o.userToken,userSettings:o.userSettings,organizationSettings:r,organizationAdvertising:i}};class _ie extends Q4{constructor(e){const n=Iie(e),r=oie(n);super(r,"core"),K(this,"stores"),K(this,"subscribe",i=>{let o;for(o in this.stores){const l=i[o];o in i&&l!==void 0&&this.stores[o].subscribe(i[o])}}),K(this,"unsubscribe",()=>this.getStore().off()),this.stores=n}getValue(){throw new Error("Not implemented")}getValues(){return this.stores}setValue(){throw new Error("Not implemented")}}const Lie=(t,e,n)=>{t.store=new _ie(t.transport),t.stores=t.store.getValues(),t.sdk.enabled=t.stores.enabled.getStore(),t.sdk.status=t.stores.status.getStore(),t.sdk.sdkStore=Object.fromEntries(Object.entries(t.stores).map(([r,i])=>[r,i.getStore()])),t.sdk.organizationStore=()=>t.stores.organizationSettings.getStore(),t.sdk.streamStore=()=>t.stores.streamSettings.getStore(),t.sdk.streamSummary=()=>t.stores.streamSummary.getStore(),t.storeUnsubscribe=()=>{t.store.unsubscribe()},n()},Aie=t=>{const{client:e}=t.createPromiseClient(JF,{method:"list"});return n=>e.list(n)},lU=t=>{const{client:e}=t.createPromiseClient(JF,{method:"summary"});return n=>e.summary(n)},Rie=(t,e)=>{const{client:n,queryKey:r}=e.createPromiseClient(vC,{method:"getFriends",params:[t]});return e.nanoquery.createFetcherStore(r,{fetcher:async(i,o,l)=>{if(!l)return[];try{return(await n.getFriends({})).data}catch{return[]}}})},Oie=(t,e)=>{const{client:n,queryKey:r}=e.createPromiseClient(zo,{method:"get",params:[t]});return e.nanoquery.createFetcherStore(r,{fetcher:async(i,o,l)=>{var c;return(c=(await n.get({eventId:l})).data)==null?void 0:c.attributes},refetchInterval:0,dedupeTime:1e3*60*60})},Nie=(t,e)=>{const{client:n,queryKey:r}=e.createPromiseClient(zo,{method:"syncQuestion",params:[t]});return e.nanoquery.createFetcherStore(r,{fetcher:async(i,o,l)=>{var c;return l?(c=(await n.syncQuestion({filter:{eventId:l}})).data)==null?void 0:c.attributes:void 0},dedupeTime:1e3*60*10,refetchInterval:0})},Pie=async(t,e)=>{const{client:n}=e.createPromiseClient(zo,{method:"item",params:[t]});return(await n.item({id:t})).data},Die=(t,e)=>{const{client:n}=e.createStreamClient(zo),r=Qd({eventId:t.get()||"",feedId:""});return t.subscribe((i="")=>{r.set({eventId:i,feedId:""})}),e.addSubscription(n.subscription,r,{name:"feedSubscription"})},Mie=(t,e)=>{const{client:n}=e.createStreamClient(zo);return e.addSubscription(n.questionSubscription,{questionId:t},{name:"questionSubscription"})},ww=(t,e)=>{const{client:n,queryKey:r}=e.createPromiseClient(zo,{method:"questionByUser",params:[t]});return e.nanoquery.createFetcherStore(r,{fetcher:async(i,o,l)=>{var c,h;return(h=(c=(await n.questionByUser({questionId:l})).data)==null?void 0:c.attributes)==null?void 0:h.question},dedupeTime:1e3*60*5})},uU=async(t,e)=>{var n;if(!t)return;const{client:r}=e.createPromiseClient(zo,{method:"getQuestion",params:[t]}),i=await r.getQuestion({id:t});if(!((n=i.data)!=null&&n.attributes))return;const{options:o,notification:l,...c}=i.data.attributes,h=(o==null?void 0:o.options.case)==="promotion"?o==null?void 0:o.options.value:void 0;return{id:c.id,question:c,promotion:h,notification:l}},Fie=(t,e,n)=>{const{client:r,queryKey:i}=n.createPromiseClient(zo,{method:"list",params:[t,e]});return n.nanoquery.createFetcherStore(i,{fetcher:async(o,l,c,h)=>c?(await r.list({eventId:c,filter:{types:h===Uh.ALLOWED?[]:[ft.FACTOID,ft.PROMOTION,ft.TWEET],statuses:[ei.ACTIVE,ei.RESOLVED]}})).data:[],dedupeTime:0,refetchInterval:0})},Uie=(t,e)=>{const{client:n,queryKey:r}=e.createPromiseClient(zo,{method:"list",params:[t]});return e.nanoquery.createFetcherStore(r,{fetcher:async(i,o,l)=>{var c;if(!l)return;const h=(c=(await n.list({eventId:l,filter:{types:[ft.PROMOTION],statuses:[ei.ACTIVE]},pagination:{page:0,pageSize:1}})).data)==null?void 0:c[0];if(h.type==="promotion")return uU(h.id,e)},dedupeTime:0,refetchInterval:0})},Bie=(t,e,n)=>{const r=ER([e,n],()=>{var l,c;const h=e.get();if(!h)return;const m=(l=n.get().data)==null?void 0:l.find(T=>T.id===(h==null?void 0:h.questionId)),y=(c=h==null?void 0:h.question)==null?void 0:c.openedFrom;return m?(m.openedFrom=y,m):h.question}),i=ER(r,l=>l&&l.type==="question"?l.id:void 0),o=ww(i,t);return{$store:r,$extendedStore:o,updateExtendedQuestion:l=>{const c=o.get().data,h=(m,y)=>{if(!m||!y)return m||y||[];const T=[];for(let E=0;E{this.write(r4.SHOWED,e,"true")}),K(this,"isViewed",e=>this.read(r4.SHOWED,e))}}const Vie=t=>{var e,n,r,i,o;const l=(n=(e=t.data)==null?void 0:e.attributes)==null?void 0:n.question;if((((o=(i=(r=t.data)==null?void 0:r.attributes)==null?void 0:i.feedItem)==null?void 0:o.type)==="promotion"?t.data.attributes.feedItem:void 0)===void 0||!l)return;const{options:c,notification:h,...m}=l,y=(c==null?void 0:c.options.case)==="promotion"?c.options.value:void 0;return{id:m.id,question:m,notification:h,promotion:y}},Gie=(t,e,n)=>{const r=n.transport,i=gc("advertisement"),o=new $ie,l=$o({}),c=Uie(t,r),h=(T,E)=>{E?l.set({loading:!1,error:void 0,data:E,close:()=>y(E.question.id),isViewed:!!o.isViewed(E.question.id)}):(l.setKey("loading",!0),uU(T,r).then(b=>l.set({loading:!1,error:void 0,data:b,close:()=>y(b==null?void 0:b.question.id),isViewed:b&&!!o.isViewed(b.question.id)})).catch(b=>l.set({loading:!1,error:b,data:void 0})))};c.subscribe((T,E)=>{var b,w;T.data&&(Ws.emit("advertisement",{action:"received",payload:{advertisementId:T.data.question.id,advertisementType:(w=(b=T.data)==null?void 0:b.promotion)==null?void 0:w.type}}),(!(E!=null&&E.data)||T.data.id!==E.data.id)&&h(T.data.question.id,T.data))}),l.subscribe((T,E)=>{var b,w,x;T.data&&(n.sdk.onAdvertisementActivate({stage:"activate",id:T.data.question.id,hasNotification:((b=T.data.notification)==null?void 0:b.enabled)===sC.NOTIFICATION_ENABLED,isViewed:!!o.isViewed(T.data.question.id)}),Ws.emit("advertisement",{action:"opened",payload:{advertisementId:T.data.question.id,advertisementType:(x=(w=T.data)==null?void 0:w.promotion)==null?void 0:x.type}})),!(T!=null&&T.data)&&E!=null&&E.data&&n.sdk.onAdvertisementActivate({stage:"deactivate",id:E.data.question.id,isViewed:!!o.isViewed(E.data.question.id)})});const m=T=>{i.debug({notificationId:T},"markAsViewed: %o"),o.setShowed(T)},y=T=>{var E,b;(!T||((b=(E=l.get())==null?void 0:E.data)==null?void 0:b.question.id)===T)&&l.set({}),T&&m(T)};return e.addListener("promotion",T=>{const E=Vie(T);if(E){if(E.question.status===ei.RESOLVED){y(E.question.id),i.debug({promotion:E},"resolved: %o");return}if(E.question.status===ei.ACTIVE){i.debug({promotion:E},"active: %o"),h(E.question.id,E);return}i.debug({promotion:E},"skip: %o")}}),{hide:y,show:h,$store:l}};var Uh;(function(t){t.ALLOWED="allowed",t.DISALLOWED="disallowed"})(Uh||(Uh={}));class zie{constructor(e){K(this,"slStreamId"),K(this,"organizationId"),K(this,"userId"),K(this,"interactiveAllowed"),K(this,"openedQuestionId"),K(this,"openedQuestion"),K(this,"activeQuestionId"),K(this,"feedList"),K(this,"moderationId"),K(this,"moderation"),K(this,"feedSubscription"),K(this,"questionSubscription"),K(this,"advertisement"),K(this,"notifications"),K(this,"log"),K(this,"transport"),K(this,"cancels",new Set),K(this,"getCurrentSessionId",n=>{const r=n.eventId||this.slStreamId.get()||"",i=n.userId||this.userId.get()||"",o=n.organizationId||this.organizationId.get()||"",l=n.entity||"",c=n.prefix||"";return[o,r,i,c,l].join(":")}),K(this,"disconnect",()=>{var n;(n=this.feedSubscription)==null||n.disconnect(),this.questionSubscription!==void 0&&(this.transport.removeSubscription(this.questionSubscription),this.questionSubscription=void 0)}),K(this,"openQuestion",(n,r)=>{this.openedQuestionId.set({questionId:n,question:r}),this.notifications.markAsViewed(this.getCurrentSessionId({prefix:"notification",entity:n}))}),K(this,"closeQuestion",n=>{this.openedQuestionId.set(void 0),n&&this.notifications.markAsViewed(this.getCurrentSessionId({prefix:"notification",entity:n}))}),this.transport=e.transport,this.log=gc("gamification-background"),this.slStreamId=e.stores.slStreamId.getAtomStore(),this.organizationId=e.stores.organizationSettings.getAtomStore(),this.userId=e.stores.user.getAtomStore(),this.moderationId=new Hs(bi(void 0),"moderationId").getStore(),this.interactiveAllowed=new Hs(bi(Uh.DISALLOWED),"interactiveAllowed").getStore(),this.openedQuestionId=new Hs(bi(void 0),"openedQuestionId").getStore(),this.notifications=e.notifications,this.moderation=new Hl(Oie(this.slStreamId,e.transport),"gamification:moderation"),this.feedList=new Hl(Fie(this.slStreamId,this.interactiveAllowed,e.transport),"gamification:feedList"),this.activeQuestionId=Nie(this.slStreamId,e.transport),this.openedQuestion=Bie(e.transport,this.openedQuestionId,this.feedList.getStore()),this.cancels.add(this.openedQuestionId.listen(n=>{this.log.debug({item:n},"received question"),n!=null&&n.questionId?(this.questionSubscription=Mie(n.questionId,e.transport),this.questionSubscription.addListener("feed-subscription-opened-question",r=>{var i,o;this.openedQuestion.updateExtendedQuestion((o=(i=r.data)==null?void 0:i.attributes)==null?void 0:o.question)}),this.questionSubscription.connect()):(this.log.info("cleanup on close question"),this.questionSubscription!==void 0&&(e.transport.removeSubscription(this.questionSubscription),this.questionSubscription=void 0))})),this.feedSubscription=Die(this.slStreamId,e.transport),this.cancels.add(this.feedSubscription.addListener("feed-subscription-active-question",n=>{var r,i,o,l,c;const h=(i=(r=this.activeQuestionId.get().data)==null?void 0:r.question)==null?void 0:i.id,m=(l=(o=n.data)==null?void 0:o.attributes)==null?void 0:l.question;if(!(!m||m.type===ft.PROMOTION)){if(m.status===ei.RESOLVED){h===m.id&&this.activeQuestionId.mutate(void 0);return}this.activeQuestionId.mutate((c=n.data)==null?void 0:c.attributes)}})),this.cancels.add(this.feedSubscription.addListener("moderation update",n=>{window.requestAnimationFrame(()=>{var r,i,o,l;((i=(r=n.data)==null?void 0:r.attributes)==null?void 0:i.question)===void 0&&(l=(o=n.data)==null?void 0:o.attributes)!=null&&l.moderation&&this.moderation.invalidate()})})),this.cancels.add(this.activeQuestionId.subscribe((n,r)=>{var i,o,l;(i=n.data)!=null&&i.feedItem&&e.sdk.onQuestionActivate({stage:"activate",id:n.data.feedItem.id,isViewed:!!this.notifications.isViewed(n.data.feedItem.id),hasNotification:!0,type:n.data.feedItem.type}),!((o=n.data)!=null&&o.feedItem)&&(l=r==null?void 0:r.data)!=null&&l.feedItem&&e.sdk.onQuestionActivate({stage:"deactivate",id:r.data.feedItem.id,isViewed:!!this.notifications.isViewed(r.data.feedItem.id),hasNotification:!0,type:r.data.feedItem.type})})),this.feedSubscription.connect(),this.cancels.add(this.interactiveAllowed.listen(()=>{window.requestAnimationFrame(()=>{this.activeQuestionId.invalidate()})})),e.sdk.onMount({name:"gamification-background"},()=>()=>{this.activeQuestionId.off();for(const n of this.cancels)n(),this.cancels.delete(n)}),this.advertisement=Gie(this.slStreamId,this.feedSubscription,e)}}class jie{constructor(e){K(this,"notificationsList"),K(this,"store"),K(this,"timeouts"),K(this,"waitingQueue"),K(this,"activeQueue"),K(this,"options"),K(this,"logger"),K(this,"addToQueue",n=>{var r;if(this.store.has(n.id)){this.logger.debug({notification:n},"skip existed notification: %o");return}const i=n.close,o=n.action;if(this.store.set(n.id,{...n,close:(...l)=>{i&&i(...l),this.closeNotification(n.id)},action:(...l)=>{o&&o(...l),this.closeNotification(n.id,{animateHiding:!1})}}),this.waitingQueue.add(n.id),this.activeQueue.size===this.options.concurrency){const[l]=this.activeQueue;if(((r=this.store.get(l))==null?void 0:r.persistent)!==!0)this.closeNotification(l);else{const[c]=this.waitingQueue;this.waitingQueue.size>1&&this.closeNotification(c),this.tickWaitingQueue()}}else this.tickWaitingQueue()}),K(this,"tickWaitingQueue",()=>{if(this.activeQueue.size{if(!n)return;const r=this.store.get(n);if(!r){this.logger.debug({notificationId:n},"active queue tick skipped, notification not exist");return}const i=setTimeout(()=>{const o=n,l=new Map(this.notificationsList.get());l.set(r.id,r),this.notificationsList.set(l);const c=setTimeout(()=>{this.logger.debug({notificationId:o,delay:r.autoHideDuration||5e3},"notification hiding by autoHideDuration"),this.closeNotification(o)},r.autoHideDuration||5e3);this.timeouts.set(o,c),this.logger.debug({notificationId:o,queue:[...l.values()]},"notification displayed")},r.delay||0);this.timeouts.set(n,i),this.logger.debug({notificationId:n},"active queue tick completed"),this.tickWaitingQueue()}),K(this,"closeNotification",(n,{animateHiding:r=!0}={})=>{const i=new Map(this.notificationsList.get()),o=i.get(n);if(o){o.hiding=!(this.waitingQueue.size>=this.options.concurrency)&&r,this.notificationsList.set(i);const l=setTimeout(()=>{const c=new Map(this.notificationsList.get());c.delete(n),this.notificationsList.set(c);const h=this.timeouts.get(n);h!==void 0&&(clearTimeout(h),this.timeouts.delete(n)),this.logger.debug({notificationId:n},"notification hidden")},this.options.animationDelay||0);this.timeouts.set(n,l)}return this.store.delete(n),this.activeQueue.delete(n),this.waitingQueue.delete(n),this.tickWaitingQueue(),this.logger.debug({notificationId:n},"notification hiding"),o}),K(this,"drain",()=>{this.store.clear(),this.timeouts.clear(),this.waitingQueue.clear(),this.activeQueue.clear(),this.notificationsList.off(),this.notificationsList.set(new Map)}),this.options=e,this.logger=gc("notifications"),this.store=new Map,this.timeouts=new Map,this.waitingQueue=new Set,this.activeQueue=new Set,this.notificationsList=bi(new Map)}}var i4;(function(t){t.OPENED="opened"})(i4||(i4={}));class Hie extends a0{constructor(){super("notification"),K(this,"setOpened",e=>{this.write(i4.OPENED,e,"true")}),K(this,"isOpened",e=>this.read(i4.OPENED,e)),K(this,"clearNotification",()=>{this.clear()})}}var Fd;(function(t){t[t.ONBOARDING=1]="ONBOARDING",t[t.QUESTION=2]="QUESTION",t[t.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(Fd||(Fd={}));class Wie{constructor(e={}){K(this,"queue"),K(this,"storage"),K(this,"isViewed",n=>this.storage.isOpened(n)),K(this,"add",n=>{if(!this.isViewed(n.id)){if(n.data&&n.emitEvent){const r=n.action;n.action=(...i)=>{r&&r(...i),Ws.emit("notification",{action:"opened",payload:{questionId:n.data.questionId,questionType:n.data.questionType}})}}this.queue.addToQueue(n)}}),K(this,"close",(n,{markAsViewed:r=!0,animateHiding:i}={})=>{this.queue.closeNotification(n,{animateHiding:i}),r&&this.markAsViewed(n)}),K(this,"getActiveNotification",()=>{const n=this.queue.notificationsList.get();if(!(n!=null&&n.size))return null;for(const r of n.values())if(r.type===Fd.ONBOARDING)return r;return n.values().next().value}),K(this,"getQueueStore",()=>this.queue.notificationsList),K(this,"markAsViewed",n=>{this.storage.setOpened(n)}),this.storage=new Hie,this.queue=new jie({concurrency:1,animationDelay:1600,...e})}}const Kie=(t,e,n)=>{t.notifications=new Wie(void 0),t.addNotification=t.notifications.add,t.sdk.getNotificationsStore=()=>t.notifications.getQueueStore(),t.sdk.getActiveNotification=()=>t.notifications.getActiveNotification(),t.sdk.onMount({name:"notifications"},()=>()=>{t.notifications.queue.drain()}),n()};var _v;(function(t){t.UNKNOWN="unknown",t.ALREADY_VOTED="already_voted"})(_v||(_v={}));const Yie=async(t,e)=>{var n;const{client:r,createRequestOptions:i}=t.createPromiseClient(zo,{method:"submitAnswer"}),o=i({retryAttempts:0});try{return await r.submitAnswer({data:e},{contextValues:o})}catch(l){throw((n=rn.from(l))==null?void 0:n.code)===Et.AlreadyExists?new Error(_v.ALREADY_VOTED):new Error(_v.UNKNOWN)}},qie=(t,e)=>{const{client:n,createRequestOptions:r}=t.createPromiseClient(zo,{method:"submitInplay"}),i=r({retryAttempts:0});return n.submitInplay({data:{eventId:+e}},{contextValues:i})};var v1;(function(t){t.ONBOARDING="onboarding",t.ONBOARDING_IO="onboarding_io"})(v1||(v1={}));class Qie extends a0{constructor(){super("gamification-session",window.sessionStorage),K(this,"writeValue",(e,n)=>{this.write(...e,n)}),K(this,"readValue",e=>this.read(...e))}}class cU extends a0{constructor(){super("gamification"),K(this,"sessionStorage"),K(this,"saveOnboardingStatus",({userId:e,eventId:n,organizationId:r},i)=>{this.write(v1.ONBOARDING,r,e,n,i)}),K(this,"getOnboardingStatus",({userId:e,eventId:n,organizationId:r})=>this.read(v1.ONBOARDING,r,e,n)),K(this,"setOnboardingInstantOpen",({userId:e,eventId:n,organizationId:r})=>{this.sessionStorage.writeValue([v1.ONBOARDING_IO,r,e,n],"1")}),K(this,"getOnboardingInstantOpen",({userId:e,eventId:n,organizationId:r})=>this.sessionStorage.readValue([v1.ONBOARDING_IO,r,e,n])),this.sessionStorage=new Qie}}const Xie={pageSize:10},Zie=(t,e,n,r,i)=>{let o=0;const l=bi({pageSize:Xie.pageSize,page:0}),c=$o({data:[],key:Date.now(),hasMore:!0,loading:void 0,error:void 0}),h=Aie(t),m=async()=>{var E;const b=e.get(),w=((E=r.getStore().get().data)==null?void 0:E.map(x=>x.slId))||[];if(b&&w!=null&&w.length){const x=n.get();x&&w.push(x),c.setKey("loading",!0),c.setKey("data",[]);const A=await h({eventId:b,usersIds:w});c.set({data:A.data.map((R,N)=>({...R.attributes,friendsRank:N+1})),hasMore:!1,key:Date.now(),loading:!1}),A.meta&&(o=Math.round(A.meta.count/A.meta.pageSize))}},y=()=>{m()},T=E=>{const b=l.get(),w=E||b.page+1;w<=o&&l.set({...b,page:w})};return Vv(c,()=>{const E=e.listen(m),b=r.listen(m);return()=>{E(),b()}}),{$store:c,fetchMore:T,invalidate:y}};class Jie extends a0{constructor(){super("deep-link-context",window.sessionStorage),K(this,"get",this.read),K(this,"set",this.write),K(this,"del",this.remove)}}const cO="sldl",X4="sldl_uid",dU="sldl_eid",fU="sldl_e_eid",eae=new Set([X4,dU,fU]),dO=t=>{const e={},n={};for(const[r,i]of t)eae.has(r)?e[r]=i:n[r]=i;return{result:e,remain:n}},tae=({hash:t,search:e})=>{if(t&&t.includes(cO)){const n=new URLSearchParams(t.substr(1));return{hash:dO(n)}}if(e&&e.includes(cO)){const n=new URLSearchParams(e);return{search:dO(n)}}return null},fO=gc("deep_link"),Dl={debug:(...t)=>{fO.debug(...t),localStorage.getItem("SL_DEBUG")&&console.log(...t)},trace:(...t)=>{fO.trace(...t),localStorage.getItem("SL_DEBUG")&&console.log(...t)}},nae=(t,e)=>{const{hash:n,search:r}=window.location;if(Dl.debug({hash:n,search:r},"get deep link data from"),n||r){const i=tae({hash:n,search:r});if(Dl.debug(i,"parse deep link result"),i){const{hash:o,search:l}=i,{result:c,remain:h}=o||l;if(Object.keys(c).length!==0){t.setValue("data",c);const m=Object.keys(h).length!==0;if(o){let y="";m&&(y=`#${new URLSearchParams(h).toString()}`,Dl.debug({updatedHash:y},"update hash")),window.history.replaceState(null,"",window.location.pathname+window.location.search+y)}if(l){let y="";m&&(y=`?${new URLSearchParams(h).toString()}`,Dl.debug({updatedSearch:y},"update search")),window.history.replaceState(null,"",window.location.pathname+y+window.location.hash)}e(c)}}}t.setValue("parsed",!0)},rae=(t,e,n)=>{const r=new Jie,i=r.get("sl-deep-link-store");let o={};if(i)try{o=JSON.parse(i)}catch(c){Dl.debug(c)}t.deepLink={$store:new Fh($o(o),"deep-link-context"),getDeepLinkData:()=>{const{data:c,used:h}=t.deepLink.$store.getValues();return{data:c,used:h}},deepLinkUsed:c=>{Dl.debug(`logged in with inviterId: ${c}`),t.deepLink.$store.setValue("used",!0)},onDeepLinkHandlers:new Set},t.sdk.getInviter=()=>{const{data:c,used:h}=t.deepLink.getDeepLinkData();return h?c==null?void 0:c[X4]:void 0},t.sdk.inviteDisplayed=()=>{t.deepLink.$store.getStore().set({}),t.deepLink.$store.getStore().off(),r.del("sl-deep-link-store")},t.deepLink.$store.subscribe(c=>r.set("sl-deep-link-store",JSON.stringify(c))),t.sdk.addDeepLinkHandler=c=>{localStorage.getItem("SL_DEBUG")&&Dl.trace("adding deep link handler"),t.deepLink.onDeepLinkHandlers.add(c)},e.onDeepLinkHandled&&t.sdk.addDeepLinkHandler(e.onDeepLinkHandled),t.sdk.removeDeepLinkHandler=c=>{Dl.trace("removing deep link handler"),t.deepLink.onDeepLinkHandlers.delete(c)};const l=c=>{t.deepLink.$store.setValue("handled",!0),Dl.trace({size:t.deepLink.onDeepLinkHandlers.size},"deep link handled, call callbacks");for(const h of t.deepLink.onDeepLinkHandlers)try{Dl.trace("called handler"),h(c)}catch(m){console.error(m)}};nae(t.deepLink.$store,l),n()},iae=gc("bypass");class aae extends sie{constructor(e,n,r){super(),K(this,"$coreStore"),K(this,"deepLink"),K(this,"transport"),K(this,"bypassLogin"),K(this,"me",async()=>{var i;return this.$coreStore.getValues().user.invalidate(),(i=await this.$coreStore.getValues().user.getValue())==null?void 0:i.data}),K(this,"login",async(i,o)=>{var l,c,h;this.$coreStore.getValues().userKey.setValue(o);const{used:m,data:y}=this.deepLink.getDeepLinkData(),T=m?"":y==null?void 0:y[X4];iae.debug({inviterKey:T},"login with inviterKey");const E=await this.bypassLogin({schema:i,userKey:o,inviterKey:T,init:!1}),b=(l=E.meta)==null?void 0:l.jwt,w=(c=E.data)==null?void 0:c.id;if(!b||!w)throw new Error("internal: token missing");return(h=E.meta)!=null&&h.inviterKey&&this.deepLink.deepLinkUsed(E.meta.inviterKey),this.$coreStore.getValues().user.getStore().mutate({data:E.data}),this.saveUser(b,w),b}),K(this,"isAuthenticated",()=>this.me()),K(this,"logout",()=>{this.$coreStore.getValues().user.setValue(),this.$coreStore.getValues().userKey.setValue(),this.$coreStore.getValues().userToken.setValue(),this.transport.setAuth("",""),new y1().clear()}),K(this,"softLogout",()=>{const i=new y1;this.transport.setAuth("",""),i.setToken(""),this.reLogin()}),K(this,"reLogin",()=>{const i=new y1,o=i.getToken(),l=i.getExternalToken();if(this.$coreStore.getValues().userKey.setValue(l),o)return this.saveUser(o,""),this.me().then(c=>{if(c!=null&&c.id){const h=c.id;this.saveUser(o,h)}});if(l&&!o){const c=i.getSchema();c&&l&&this.login(c,l).catch(()=>{this.logout()})}}),K(this,"saveUser",(i,o)=>{this.transport.setAuth(i,o),this.$coreStore.getValues().userToken.setValue(i),new y1().setToken(i)}),K(this,"connect",()=>{this.transport.registerInterceptor(i=>async o=>{try{return await i(o)}catch(l){throw l.code&&(l.code===7||l.code===16)&&this.transport.getHeader("authorization")&&this.softLogout(),l}})}),this.$coreStore=e,this.deepLink=r,this.transport=n,this.bypassLogin=Sie(this.transport),this.connect()}}const Dy=new y1,sae=(t,e,n)=>{t.auth=new aae(t.store,t.transport,t.deepLink),t.stores.status.listen(r=>{r===Qu.READY&&t.auth.reLogin()}),t.sdk.userId=t.stores.user.getAtomStore,t.sdk.authorizationBypass=async(r,i)=>{if(!(Dy.getSchema()===r&&Dy.getExternalToken()===i&&t.transport.getHeader("authorization")))try{await t.auth.login(r,i),Dy.setSchema(r),Dy.setExternalToken(i)}catch{t.sdk.logout()}},t.sdk.logout=()=>{t.auth.logout(),Dy.clear()},t.sdk.getUserStore=()=>t.stores.user.getStore(),t.sdk.isUserAuthorized=()=>t.auth.isAuthenticated(),n()},hO=gc("video_player"),CS={debug:(...t)=>{hO.debug(...t),localStorage.getItem("SL_DEBUG")&&console.log(...t)},trace:(...t)=>{hO.trace(...t),localStorage.getItem("SL_DEBUG")&&console.log(...t)}},oae=(t,e,n)=>{t.videoPlayer={controllers:new Set},t.sdk.addVideoPlayerController=r=>{CS.trace("adding video player controller"),t.videoPlayer.controllers.add(r)},e.videoPlayerController&&t.sdk.addVideoPlayerController(e.videoPlayerController),t.sdk.removeVideoPlayerController=r=>{CS.trace("removing video player controller"),t.videoPlayer.controllers.delete(r)},t.sdk.controlVideoPlayer=r=>{CS.trace("controlling video player");for(const i of t.videoPlayer.controllers){CS.trace("calling video player controller");try{i(r)}catch(o){console.error(o)}}},n()},lae={[ft.FACTOID]:"insight",[ft.POLL]:"poll",[ft.TRIVIA]:"trivia",[ft.PREDICTION]:"prediction",[ft.TWEET]:"tweet"},uae=(t,e,n)=>{t.ui={state:new Set},e.onContentActivate&&(t.ui.onContentActivate=e.onContentActivate),t.sdk.onAdvertisementActivate=r=>{t.ui.onContentActivate&&t.ui.onContentActivate({...r,type:"advertisement"})},t.sdk.onQuestionActivate=({questionType:r,...i})=>{if(t.ui.onContentActivate){const o=i.type||r&&lae[r]||"question";o==="insight"&&t.ui.onContentActivate({...i,type:o})}},n()},cae=(t,e,n)=>{const r={onMountedFired:!1},i=new Map,o=new Map;t.sdk=Object.create(null),t.sdk.onMount=({name:l,clear:c},h)=>{var m,y;if(i.has(l)){const T=o.get(l);T&&T(),i.delete(l),o.delete(l)}i.set(l,{cb:h,clear:c}),((y=(m=t==null?void 0:t.stores)==null?void 0:m.enabled)==null?void 0:y.get())==="on"&&o.set(l,h())},t.ready=()=>{t.stores.enabled.subscribe(l=>{l==="on"&&r.onMountedFired===!1&&(i.forEach(({cb:c},h)=>o.set(h,c())),r.onMountedFired=!0),l!=="on"&&r.onMountedFired===!0&&(o.forEach(c=>c()),o.clear(),i.forEach(({clear:c},h)=>c&&i.delete(h)),r.onMountedFired=!1)})},t.sdk.initializeApp=async l=>{if(t.contextConfig=l,t.stores.enabled.get()==="on")return{enabled:!0};t.storeSubscribe(),t.stores.enabled.setValue("on"),t.stores.status.setValue(Qu.INITIALIZATION);try{const c=await t.stores.organizationSettings.getValue();return c?(t.stores.status.setValue(Qu.READY),{enabled:!!c}):(t.stores.status.setValue(Qu.FAILED),{err:"failed"})}catch(c){return t.stores.enabled.setValue(),t.stores.status.setValue(Qu.FAILED),{err:`${c}`}}},t.sdk.disableApp=()=>{t.stores.enabled.get()==="on"&&(t.stores.enabled.setValue(),t.stores.status.setValue(Qu.DISABLED),t.stores.slStreamId.setValue(),t.stores.providerStreamId.setValue(),t.sdk.closeFeature(!0),t.storeUnsubscribe(),t.transport.disconnect())},t.sdk.createEventSession=l=>{t.stores.providerStreamId.setValue(l)},n()},dae=(t,e)=>{const{client:n,queryKey:r}=t.createPromiseClient(Gv,{method:"generateDeepLink",params:e});return t.nanoquery.createFetcherStore(r,{fetcher:async(i,o,l,c)=>{var h;if(!l)return{};try{return(h=(await n.generateDeepLink({data:{gamification:!0,externalEventId:c,eventId:l}})).data)==null?void 0:h.attributes}catch{return}},dedupeTime:1e3*60*60*24,refetchInterval:0})},fae=(t,{web:e,mobile:n})=>{const{client:r}=t.createPromiseClient(Nre,{method:"generate"});return r.generate({web:e,mobile:n})},mO=(t,e)=>{const n=new URLSearchParams(t);for(const[r,i]of Object.entries(e))n.append(r,i);return n.toString()},hae=(t,e,n,r)=>{const i=$o({});return Vv(i,()=>dae(t,[e,n]).subscribe(async({data:o,error:l,loading:c})=>{var h;const m=l?"https://masters.com":o==null?void 0:o.url,y=r.get()||"",T=e.get()||"",E=n.get()||"",b={[X4]:y,[dU]:T,[fU]:E};if(!c&&m){i.setKey("loading",!0);let w=window.location.search,x=window.location.hash;w&&x||x?w=`?${mO(w,b)}`:x=`#${mO("",b)}`;const A=window.location.origin+window.location.pathname+w+x;try{const R=await fae(t,{web:A,mobile:m});i.set({data:(h=R.data)==null?void 0:h.link,loading:!1})}catch{i.set({loading:!1,error:"Failed to generate short link",data:void 0})}}else i.setKey("loading",!0)})),{$store:i,fetch}};var Xr;(function(t){t.Unset="unset",t.Required="required",t.Optional="optional",t.Completed="completed",t.Disabled="disabled",t.Unavailable="unavailable"})(Xr||(Xr={}));const mae=(t,e,n,r)=>{const{inplayGame:i}=t.featureSettings.get(),o=e.getCurrentSessionId({prefix:"onboarding"});i&&n.add({type:Fd.ONBOARDING,id:o,action:t.openFeature,persistent:!0,autoHideDuration:1e6,data:{questionId:"onboarding",questionType:ft.UNSET,onboarding:{...i,instantOpen:!r.getOnboardingInstantOpen({userId:e.userId.get()||"",organizationId:e.organizationId.get()||"",eventId:e.slStreamId.get()||""})}}})},xS=(t,e,n,r,i,o)=>{var l,c,h;try{const m=e.userId.get();if(!m)return;if(i.getOnboardingStatus({userId:m,organizationId:e.organizationId.get()||"",eventId:e.slStreamId.get()||""})===Xr.Completed){t.set(Xr.Completed);for(const w of o)w();return}const y=(l=e.moderation.getStore().value)==null?void 0:l.data,T=n.featureSettings.get().inplayGame;if(y===void 0||T===void 0)return;const E=(c=y==null?void 0:y.options)==null?void 0:c.onboardingEnabled,b=(h=T==null?void 0:T.titleCard)==null?void 0:h.optIn;E?b?t.set(Xr.Required):t.set(Xr.Optional):(b?t.set(Xr.Unavailable):t.set(Xr.Disabled),r.close(e.getCurrentSessionId({prefix:"onboarding"}),{markAsViewed:!1}))}catch(m){console.error(m)}},pae=(t,e,n,r)=>{let i=!1;const o=new cU,l=bi(Xr.Unset);l.subscribe(h=>{h!==Xr.Unset&&((h===Xr.Optional||h===Xr.Required)&&i===!1&&(mae(t,e,r,o),i=!0),h===Xr.Completed&&e.activeQuestionId.invalidate(),o.setOnboardingInstantOpen({userId:e.userId.get()||"",organizationId:e.organizationId.get()||"",eventId:e.slStreamId.get()||""}))});const c=[];return xS(l,e,t,r,o,c),l.get()!==Xr.Completed&&(c.push(e.userId.listen(h=>{h&&xS(l,e,t,r,o,c)})),c.push(e.moderation.listen(h=>{h.data&&xS(l,e,t,r,o,c)})),c.push(t.featureSettings.listen(h=>{h&&xS(l,e,t,r,o,c)}))),{$store:l,submitInplay:async()=>{const h=e.slStreamId.get();if(h){await qie(n,h),l.set(Xr.Completed),o.saveOnboardingStatus({organizationId:e.organizationId.get()||"",userId:e.userId.get()||"",eventId:h},Xr.Completed),Ws.emit("poll",{action:"onboardingPassed",payload:{}}),t.openFeature();const m=e.getCurrentSessionId({prefix:"onboarding"});r.close(m)}}}},gae=(t,e,n,r)=>{const i=$o(void 0),o=lU(r),l=async()=>{var h,m;const y=t.get(),T=e.get(),E=(h=n.getStore().get().data)==null?void 0:h.map(x=>x.slId);if(!E)return;const b={eventId:y,userId:T,usersIds:[...E,T]},w=await o(b);i.set((m=w.data)==null?void 0:m.attributes)},c=()=>{l()};return Vv(i,()=>{const h=t.listen(l),m=n.listen(l),y=e.listen(l);return()=>{h(),m(),y()}}),{$store:i,invalidate:c}},yae=async(t,e,n,r,i)=>{var o,l,c;const h=lU(i),m=t.get(),y=e.get(),T=((o=n.getStore().get().data)==null?void 0:o.map(b=>b.slId))||[],E={eventId:m,userId:r,usersIds:[...T,y]};return(c=(l=(await h(E)).data)==null?void 0:l.attributes)==null?void 0:c.summary},vae=new Set([ft.POLL,ft.PREDICTION,ft.TRIVIA]);class Tae extends aU{constructor(e,n,r){super(e,n),K(this,"userSummary"),K(this,"feedList"),K(this,"friends"),K(this,"leaderboardId"),K(this,"leaderboardList"),K(this,"deepLink"),K(this,"onboardingStatus"),K(this,"openedQuestion"),K(this,"currentUserId"),K(this,"openedUser"),K(this,"closeFeature"),K(this,"openFeature"),K(this,"feedSubscription"),K(this,"activeQuestionId"),K(this,"openedQuestionId"),K(this,"advertisement"),K(this,"notifications"),K(this,"transport"),K(this,"background"),K(this,"storage"),K(this,"submitAnswerTimeout"),K(this,"cancels",new Set),K(this,"checkInteractiveFlag",()=>{var i,o,l,c,h;const m=this.onboardingStatus.$store.get(),y=(l=(o=(i=this.background.moderation.getStore().value)==null?void 0:i.data)==null?void 0:o.options)==null?void 0:l.onboardingEnabled,T=(h=(c=this.settings.getValues().inplayGame)==null?void 0:c.titleCard)==null?void 0:h.optIn,E=m===Xr.Completed,b=!y||E||T!==!0;this.background.interactiveAllowed.set(b?Uh.ALLOWED:Uh.DISALLOWED)}),K(this,"connect",()=>{this.cancels.add(this.background.feedSubscription.addListener("feed-subscription-prediction-close",async i=>{var o,l,c,h,m,y,T,E,b,w,x;if(!this.isInteractiveAllowed)return;const A=(l=(o=i.data)==null?void 0:o.attributes)==null?void 0:l.question,R=(h=(c=i.data)==null?void 0:c.attributes)==null?void 0:h.feedItem;if(!A||!(R!=null&&R.attributes))return;const{status:N,type:P,id:$,answers:U}=A;if(N===ei.RESOLVED&&P===ft.PREDICTION){const G=this.background.getCurrentSessionId({prefix:`notification-id:${$}`}),B=[...this.feedList.getValues().data||[]],q=B.findIndex(nt=>nt.id===$),le=B[q];let X=(T=(y=(m=le==null?void 0:le.attributes)==null?void 0:m.attributes)==null?void 0:y.value)==null?void 0:T.answerId;const me=ww($,this.transport),we=me.subscribe(()=>{});await me.get().promise;const ye=me.get().data;we(),window.requestAnimationFrame(()=>{me.invalidate()}),X||(X=(E=ye==null?void 0:ye.answers.find(({youVoted:nt})=>nt))==null?void 0:E.id);const Ne=U.find(({correct:nt})=>nt),Fe=X?U.find(({id:nt})=>nt===X):void 0,De=!!(Fe!=null&&Fe.correct);if(le&&((w=(b=B[q])==null?void 0:b.attributes)==null?void 0:w.attributes.case)==="question"){try{B[q].attributes.attributes.value.answerId=X,B[q].attributes.attributes.value.openForVoting=!1,X&&(B[q].attributes.attributes.value.status=De?nc.WON:nc.LOST)}catch{}this.feedList.getStore().mutate(B)}if(!Fe||!Ne)return;((x=this.openedQuestionId.get())==null?void 0:x.questionId)!==A.id&&this.notifications.add({type:Fd.QUESTION_RESOLVED,action:()=>this.openQuestion(A.id,R),close:()=>this.closeQuestion($),autoHideDuration:De?15e3:12e3,id:G,emitEvent:!1,data:{questionId:$,questionType:ft.PREDICTION,question:{title:De?`Congratulations! You answered correctly! You won ${Ne.points} pts!`:`Better luck next time! Correct: ${Ne==null?void 0:Ne.text}!`,votedAnswer:{title:Fe==null?void 0:Fe.text,points:Fe==null?void 0:Fe.points},correctAnswerTitle:Ne==null?void 0:Ne.text,correct:!!De,predictionResult:N===ei.RESOLVED,questionTitle:A==null?void 0:A.subject}}}),this.userSummary.invalidate()}})),this.cancels.add(this.background.feedSubscription.addListener("feed-subscription-questions-list",i=>{var o,l,c,h,m;const y=[...((o=this.feedList.getStore().value)==null?void 0:o.data)||[]],T=(c=(l=i.data)==null?void 0:l.attributes)==null?void 0:c.feedItem,E=y.findIndex(b=>b.id===(T==null?void 0:T.id));if(T!=null&&T.attributes&&T.attributes.attributes.case!=="promotion"&&!(T.attributes.status!==ei.ACTIVE&&T.attributes.status!==ei.RESOLVED)){if(E!==-1)if(T.attributes.attributes.case==="question"&&((h=y[E].attributes)==null?void 0:h.attributes.case)==="question"){const b=y[E];b.attributes&&(y[E]={...y[E],attributes:{...b.attributes,attributes:{...b.attributes.attributes,value:{...b.attributes.attributes.value,...T.attributes.attributes.value,answerId:b.attributes.attributes.value.answerId,status:b.attributes.attributes.value.status,openForVoting:b.attributes.attributes.value.openForVoting}}}})}else{const b=y[E];b.attributes&&T.attributes&&(y[E]={...y[E],attributes:{...b.attributes,attributes:{...b.attributes.attributes,value:{...b.attributes.attributes.value,...T.attributes.attributes.value}}}})}E===-1&&(y.unshift(T),Ws.emit("poll",{action:"received",payload:{questionId:T.id,questionType:(m=T.attributes)==null?void 0:m.type}})),this.feedList.getStore().mutate(y)}}))}),K(this,"disconnect",()=>{this.background.feedSubscription.removeListener("feed-subscription-prediction-close"),this.background.feedSubscription.removeListener("feed-subscription-questions-list")}),K(this,"submitAnswer",async(i,o)=>{const l=ww(i,this.transport),c=l.subscribe(()=>{}),h={...l.get().data||{}},m=()=>{var y;const T=this.feedList.getValues().data;if(!T)return;const E=T.findIndex(x=>x.id===i),b=T[E],w=((y=b==null?void 0:b.attributes)==null?void 0:y.attributes.case)==="question"&&b.attributes.attributes.value;if(w){Ws.emit("poll",{action:"voted",payload:{questionId:i,questionType:w.questionType}});const x=l.get().data;if(c(),x){const A=x.answers.find($=>$.correct===!0),R=x.answers.findIndex($=>$.id===o),N=x.answers[R],P=x.answers.every(({percentageDecimal:$},U)=>$===(h==null?void 0:h.answers[U].percentageDecimal));T[E].attributes.attributes.value.answerId=o,T[E].attributes.attributes.value.openForVoting=!1,T[E].attributes.attributes.value.text=(N==null?void 0:N.text)||"",A&&(T[E].attributes.attributes.value.status=A.id===o?nc.WON:nc.LOST),this.feedList.getStore().mutate([...T]),x.answers[R].correct=(A==null?void 0:A.id)===o,x.answers[R].youVoted=!0,P&&x.answers.forEach($=>{$.percentageDecimal=0}),(A==null?void 0:A.id)===o&&(x.answers[R].pointsEarned=x.status===ei.RESOLVED?0:A.points),l.mutate({...x})}this.submitAnswerTimeout&&clearTimeout(this.submitAnswerTimeout),this.submitAnswerTimeout=setTimeout(()=>{this.userSummary.invalidate()},1e3)}};try{await Yie(this.transport,{questionId:i,answerId:o}),m()}catch(y){if(y.message===_v.ALREADY_VOTED){this.userSummary.invalidate();const T=l.subscribe(()=>{});l.invalidate(),T()}throw y}}),K(this,"openQuestion",(i,o)=>{var l,c,h,m;if(!i)return()=>{};this.notifications.close(this.background.getCurrentSessionId({prefix:"notification",entity:i}),{animateHiding:!1});let y=(l=o==null?void 0:o.attributes)==null?void 0:l.type;return y||(y=(m=(h=(((c=this.feedList.getStore().value)==null?void 0:c.data)||[]).find(T=>T.id===i))==null?void 0:h.attributes)==null?void 0:m.type),Ws.emit("poll",{action:"opened",payload:{questionId:i,questionType:y,questionOpenedFrom:o==null?void 0:o.openedFrom}}),this.background.openQuestion(i,o)}),K(this,"getFeedItem",i=>Pie(i,this.transport)),K(this,"isOpenedQuestion",i=>!!this.notifications.isViewed(i)),K(this,"closeQuestion",i=>this.background.closeQuestion(i)),K(this,"openUser",async i=>{var o,l;const c=(o=this.leaderboardList.$store.get().data)==null?void 0:o.find(m=>m.userId===i);if(!c){this.openedUser.set(c);return}if(c.summaryLoaded){this.openedUser.set(c);return}const h={...c};try{const m=await yae(this.background.slStreamId,this.background.userId,this.friends,i,this.transport);(m==null?void 0:m.inTop)!==void 0&&(this.leaderboardList.$store.setKey("data",(l=this.leaderboardList.$store.get().data)==null?void 0:l.map(y=>(y.userId===i&&(y.inTop=m.inTop),y))),h.inTop=m.inTop)}catch(m){console.error(m)}this.openedUser.set(h)}),K(this,"closeUser",()=>{this.openedUser.set(void 0)}),K(this,"showInApp",i=>{var o,l,c,h,m,y,T,E,b,w,x,A,R,N;const P=this.onboardingStatus.$store.get();if(i&&i.data&&P&&P!==Xr.Unset&&((o=i.data.question)==null?void 0:o.id)!==void 0&&i.data.question.notification!==void 0&&((c=(l=i.data.question)==null?void 0:l.bypassNotifications)==null?void 0:c.inAppSilence)!==pF.ON&&i.data.question.status===ei.ACTIVE&&!i.data.question.marketClosed){if(vae.has(i.data.question.type))this.isInteractiveAllowed&&this.notifications.add({type:Fd.QUESTION,action:()=>{var $,U,G;return this.openQuestion((U=($=i.data)==null?void 0:$.question)==null?void 0:U.id,(G=i.data)==null?void 0:G.feedItem)},close:()=>{var $,U;return this.closeQuestion((U=($=i.data)==null?void 0:$.question)==null?void 0:U.id)},autoHideDuration:1e3*60,id:this.background.getCurrentSessionId({prefix:"notification",entity:i.data.question.id}),emitEvent:!0,data:{questionId:i.data.question.id,questionType:i.data.question.type,question:{title:i.data.question.notification.title}}});else if(i.data.question.type===ft.FACTOID){const $=(h=i.data.question.options)==null?void 0:h.options.value,U={heading:i.data.question.notification.title,body:i.data.question.notification.body,imageMode:$==null?void 0:$.imageMode,image:$==null?void 0:$.image,video:{id:((m=$==null?void 0:$.video)==null?void 0:m.id)||"",url:((y=$==null?void 0:$.video)==null?void 0:y.url)||"",thumbnailUrl:((T=$==null?void 0:$.video)==null?void 0:T.thumbnailUrl)||""},webLink:{label:"",url:""}};this.notifications.add({type:Fd.QUESTION,action:()=>{var G,B,q;return this.openQuestion((B=(G=i==null?void 0:i.data)==null?void 0:G.question)==null?void 0:B.id,(q=i==null?void 0:i.data)==null?void 0:q.feedItem)},close:()=>{var G,B;return this.closeQuestion((B=(G=i==null?void 0:i.data)==null?void 0:G.question)==null?void 0:B.id)},autoHideDuration:1e3*120,emitEvent:!0,id:this.background.getCurrentSessionId({prefix:"notification",entity:i.data.question.id}),data:{questionId:i.data.question.id,questionType:i.data.question.type,insight:U}})}else if(i.data.question.type===ft.TWEET){const $=(E=i.data.question.options)==null?void 0:E.options.value,U={title:(b=i.data.question.notification)==null?void 0:b.title,body:(w=i.data.question.notification)==null?void 0:w.body,image:(x=i.data.question.notification)==null?void 0:x.image,account:((A=$==null?void 0:$.tweetMeta)==null?void 0:A.account)||"",accountVerified:!!((R=$==null?void 0:$.tweetMeta)!=null&&R.accountVerified),tweet:(N=$==null?void 0:$.tweetMeta)==null?void 0:N.tweet,tweetId:i.data.question.id};this.notifications.add({type:Fd.QUESTION,action:()=>{var G,B,q;return this.openQuestion((B=(G=i.data)==null?void 0:G.question)==null?void 0:B.id,(q=i.data)==null?void 0:q.feedItem)},close:()=>{var G,B;return this.closeQuestion((B=(G=i.data)==null?void 0:G.question)==null?void 0:B.id)},autoHideDuration:1e3*120,emitEvent:!0,id:this.background.getCurrentSessionId({prefix:"notification",entity:i.data.question.id}),data:{questionId:i.data.question.id,questionType:i.data.question.type,tweet:U}})}}}),this.background=new zie(r),this.advertisement=this.background.advertisement,this.feedSubscription=this.background.feedSubscription,this.activeQuestionId=this.background.activeQuestionId,this.openedQuestionId=this.background.openedQuestionId,this.storage=new cU,this.feedList=this.background.feedList,this.friends=new Hl(Rie(this.background.userId,r.transport),"gamification:friends"),this.currentUserId=this.background.userId,this.openedUser=bi(void 0),this.leaderboardId=new Hs(bi(this.settings.getValue("pinnedLeaderboardId")),"pinnedLeaderboardId").getStore(),this.onboardingStatus=pae(this,this.background,r.transport,r.notifications),this.notifications=r.notifications,this.transport=r.transport,this.closeFeature=()=>r.sdk.closeFeature(!0),this.openFeature=()=>r.sdk.openFeature($t.GAMES),this.openedQuestion=this.background.openedQuestion,this.deepLink=hae(this.transport,this.background.slStreamId,r.stores.providerStreamId.getStore(),this.background.userId),this.userSummary=gae(this.background.slStreamId,this.background.userId,this.friends,this.transport),this.leaderboardList=Zie(this.transport,this.background.slStreamId,this.background.userId,this.friends),this.connect(),this.cancels.add(this.userSummary.$store.listen((i,o)=>{o!=null&&o.summary&&i!=null&&i.summary&&this.leaderboardList.invalidate()})),this.cancels.add(this.onboardingStatus.$store.listen(this.checkInteractiveFlag)),this.cancels.add(this.background.moderation.getStore().listen(this.checkInteractiveFlag)),this.cancels.add(this.settings.subscribe(this.checkInteractiveFlag)),Vv(this.background.activeQuestionId,()=>{this.background.activeQuestionId.listen(this.showInApp)}),r.sdk.onMount({name:"gamification",clear:!0},()=>()=>{for(const i of this.cancels)i(),this.cancels.delete(i)})}get isInteractiveAllowed(){return this.background.interactiveAllowed.get()===Uh.ALLOWED}}const Sae={[$t.GAMES]:!0};class Eae extends aU{constructor(e,n){super(e,n)}}const kae=(t,e,n)=>t.type===$t.GAMES?new Tae(t,e,n):new Eae(t,e),bae=(t,e,n)=>{t.features=new Map,t.sdk.featuresList=new Hs(bi(new Set),"features-list"),t.activeFeature=new Hs(bi($t.UNSET),"activeFeature"),t.sdk.getFeatures=()=>t.features,t.sdk.getFeature=r=>t.features.get(r),t.sdk.getActiveFeature=()=>t.activeFeature.getStore(),t.sdk.openFeature=r=>{t.activeFeature.setValue(r)},t.sdk.closeFeature=(r=!1)=>{const i=t.activeFeature.getValue();if(t.activeFeature.setValue($t.UNSET),r&&i){t.features.delete(i);const o=t.sdk.featuresList.getValue();o&&o.delete(i),t.sdk.featuresList.setValue(o)}},t.initFeature=(r,i=qu.ORGANIZATION)=>{if(r.type in Sae&&!t.features.has(r.type)){const o=kae(r,i,t);t.features.set(r.type,o);let l=t.sdk.featuresList.getValue();l?l.add(r.type):l=new Set([r.type]),t.sdk.featuresList.setValue(new Set(l))}},t.updateFeature=(r,i)=>{var o;(o=t.features.get(r.type))==null||o.update(r,i)},t.destroyFeature=r=>{t.features.delete(r.type);const i=t.sdk.featuresList.getValue();i&&i.delete(r.type),t.sdk.featuresList.setValue(new Set(i))},t.reinitializeFeatures=async()=>{const r=await t.stores.organizationSettings.getValue();t.features.clear(),t.sdk.featuresList.setValue(new Set);for(const i of(r==null?void 0:r.overlays)||[])t.initFeature(i,qu.ORGANIZATION)},t.stores.providerStreamId.listen(r=>{r||t.reinitializeFeatures()}),t.storeSubscribe=()=>{const r=(o,l)=>{var c;if(l!=null&&l.overlays&&!((c=t.contextConfig)!=null&&c.skipOrganizationSettings&&o===qu.ORGANIZATION))for(const h of l.overlays)h.sdkEnable===!0&&(t.features.has(h.type)?t.updateFeature(h,o):t.initFeature(h,o))},i={organizationSettings:o=>{if(o.data)try{r(qu.ORGANIZATION,o.data)}catch(l){console.log(l)}},streamSettings:o=>{if(o.data)try{r(qu.STREAM,o.data)}catch(l){console.log(l)}}};t.store.subscribe(i)},n()};class wae{constructor(e){K(this,"analytics"),K(this,"accepted",()=>{this.analytics.write("invitation",{common:{...this.analytics.commonStore.getValues(),kind:ti.INVITATION_ACCEPTED},category:mw.GAMES,from:xv.UNSET})}),K(this,"sent",({from:n})=>{this.analytics.write("invitation",{common:{...this.analytics.commonStore.getValues(),kind:ti.INVITATION_SENT},category:mw.GAMES,from:n||xv.UNSET})}),this.analytics=e,this.analytics.onConnect(()=>{const n=r=>{var i;if(((i=r.slEventBus)==null?void 0:i.type)==="invitation")switch(r.slEventBus.action){case"sent":this.sent(r.slEventBus.payload);break}};return Ws.listen(n)})}}class Cae{constructor(e){K(this,"analytics"),K(this,"tap",()=>{this.analytics.write("interactions",{common:{...this.analytics.commonStore.getValues(),kind:ti.INTERACTIONS},actionType:Tw.TAP})}),K(this,"scroll",()=>{this.analytics.write("interactions",{common:{...this.analytics.commonStore.getValues(),kind:ti.INTERACTIONS},actionType:Tw.SCROLL})}),this.analytics=e,this.analytics.onConnect(()=>{const n=r=>{var i;if(((i=r.slEventBus)==null?void 0:i.type)==="interactions")switch(r.slEventBus.action){case"tap":this.tap();break;case"scroll":this.scroll();break}};return Ws.listen(n)})}}const xae={[fa.UNSET]:_l.UNSET,[fa.INGAME_IAB21]:_l.PROMOTION_INGAME_IAB21,[fa.INGAME_IAB11_LBAR]:_l.PROMOTION_INGAME_IAB11_LBAR,[fa.INGAME_IAB11]:_l.PROMOTION_INGAME_IAB11,[fa.INGAME_IAB21_LBAR]:_l.PROMOTION_INGAME_IAB21_LBAR,[fa.INGAME_IAB61]:_l.PROMOTION_INGAME_IAB61,[fa.EXTERNAL_AD]:_l.PROMOTION_GAM};class Iae{constructor(e){K(this,"analytics"),K(this,"received",({advertisementId:n},{topicSubType:r})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:ti.POLLS_RECEIVED,topicId:n,topicType:Ki.POLLS_PROMOTION,topicSubType:r},pollOpenedFrom:Gs.UNSET})}),K(this,"opened",({advertisementId:n},{topicSubType:r})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:ti.POLLS_OPENED,topicId:n,topicType:Ki.POLLS_PROMOTION,topicSubType:r},pollOpenedFrom:Gs.UNSET})}),K(this,"videoPlay",({advertisementId:n},{topicSubType:r})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),topicId:n,kind:ti.AD_VIDEO_PLAYED,topicSubType:r},pollOpenedFrom:Gs.UNSET})}),K(this,"buttonSelect",({advertisementId:n},{topicSubType:r})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),topicId:n,kind:ti.AD_BUTTON_NAVIGATED,topicSubType:r},pollOpenedFrom:Gs.UNSET})}),K(this,"bannerSelect",({advertisementId:n},{topicSubType:r})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),topicId:n,kind:ti.AD_BANNER_NAVIGATED,topicSubType:r},pollOpenedFrom:Gs.UNSET})}),this.analytics=e,this.analytics.onConnect(()=>{const n=r=>{var i;if(((i=r.slEventBus)==null?void 0:i.type)==="advertisement"){const o=r.slEventBus.payload.advertisementType?xae[r.slEventBus.payload.advertisementType]:_l.UNSET;switch(r.slEventBus.action){case"videoPlay":this.videoPlay(r.slEventBus.payload,{topicSubType:o});break;case"buttonSelect":this.buttonSelect(r.slEventBus.payload,{topicSubType:o});break;case"bannerSelect":this.bannerSelect(r.slEventBus.payload,{topicSubType:o});break;case"received":this.received(r.slEventBus.payload,{topicSubType:o});break;case"opened":this.opened(r.slEventBus.payload,{topicSubType:o});break}}};return Ws.listen(n)})}}const av={[ft.UNSET]:Ki.UNSET,[ft.FACTOID]:Ki.POLLS_INSIGHT,[ft.POLL]:Ki.POLLS_POLL,[ft.PREDICTION]:Ki.POLLS_PREDICTION,[ft.PROMOTION]:Ki.POLLS_PROMOTION,[ft.TRIVIA]:Ki.POLLS_TRIVIA,[ft.TWEET]:Ki.POLLS_TWITTER};ft.UNSET+"",Ll.UNSET,ft.FACTOID+"",Ll.POLLS,ft.POLL+"",Ll.POLLS,ft.PREDICTION+"",Ll.POLLS,ft.PROMOTION+"",Ll.POLLS,ft.TRIVIA+"",Ll.POLLS,ft.TWEET+"",Ll.POLLS;const _ae={[$t.UNSET]:yi.UNSET,[$t.INPLAY]:yi.INPLAY,[$t.MESSAGING]:yi.MESSAGING,[$t.STATISTICS]:yi.STATS,[$t.BETTING]:yi.BETTING,[$t.TWITTER]:yi.TWITTER,[$t.MERCHANDISE]:yi.MERCHANDISE,[$t.CONTESTS]:yi.CONTESTS,[$t.VOICE_CHAT]:yi.CALLING,[$t.TICKETS]:yi.TICKETS,[$t.WHOIS_WATCHING]:yi.WHOISWATCHING,[$t.PROFILE]:yi.PROFILE,[$t.GAMES]:yi.POLLS,[$t.GOLF_STATISTICS]:yi.STATS,[$t.HIGHLIGHTS]:yi.HIGHLIGHTS,[$t.PUBLIC_CHAT]:yi.PUBLIC_CHAT};class Lae{constructor(e){K(this,"analytics"),K(this,"received",({questionId:n,questionType:r})=>{this.analytics.write("notification",{common:{...this.analytics.commonStore.getValues(),kind:ti.NOTIFICATION_RECEIVED,topicId:n,topicType:r?av[r]:Ki.UNSET},notificationKind:Ll.POLLS,notificationType:Sw.IN_APP})}),K(this,"opened",({questionId:n,questionType:r})=>{this.analytics.write("notification",{common:{...this.analytics.commonStore.getValues(),kind:ti.NOTIFICATION_OPENED,topicId:n,topicType:r?av[r]:Ki.UNSET},notificationKind:Ll.POLLS,notificationType:Sw.IN_APP})}),this.analytics=e,this.analytics.onConnect(()=>{const n=r=>{var i;if(((i=r.slEventBus)==null?void 0:i.type)==="notification")switch(r.slEventBus.action){case"rendered":this.received(r.slEventBus.payload);break;case"opened":this.opened(r.slEventBus.payload);break}};return Ws.listen(n)})}}class Aae{constructor(e){K(this,"analytics"),K(this,"received",({questionId:n,questionType:r})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:ti.POLLS_RECEIVED,topicId:n,topicType:r?av[r]:Ki.UNSET},pollOpenedFrom:Gs.UNSET})}),K(this,"opened",({questionId:n,questionType:r,questionOpenedFrom:i})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:ti.POLLS_OPENED,topicId:n,topicType:r?av[r]:Ki.UNSET},pollOpenedFrom:i==="list"?Gs.PICK_HISTORY:Gs.IN_APP})}),K(this,"voted",({questionId:n,questionType:r})=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:ti.POLLS_VOTE,topicId:n,topicType:r?av[r]:Ki.UNSET},pollOpenedFrom:Gs.UNSET})}),K(this,"onboardingPassed",()=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:ti.GAMES_JOINED},pollOpenedFrom:Gs.UNSET})}),K(this,"navigated",()=>{this.analytics.write("games",{common:{...this.analytics.commonStore.getValues(),kind:ti.POLLS_NAVIGATED},pollOpenedFrom:Gs.UNSET})}),this.analytics=e,this.analytics.onConnect(()=>{const n=r=>{var i;if(((i=r.slEventBus)==null?void 0:i.type)==="poll")switch(r.slEventBus.action){case"voted":this.voted(r.slEventBus.payload);break;case"navigated":this.navigated();break;case"onboardingPassed":this.onboardingPassed();break;case"received":this.received(r.slEventBus.payload);break;case"opened":this.opened(r.slEventBus.payload);break}};return Ws.listen(n)})}}const Rae=({transport:t,$commonStore:e})=>{let n;const r=bi(!1),i=5e3,{client:o,queryKey:l}=t.createPromiseClient(eU,{method:"send",params:[r]}),c=t.nanoquery.createFetcherStore(l,{fetcher:async()=>{const T=e.getStore().get();try{await o.unary({message:{case:"heartbeat",value:{common:{...T,kind:ti.SESSION_HEARTBEAT}}}})}catch(E){Xu.error(E,"send heartbeat failed")}return Date.now()},refetchInterval:i}),h=()=>{Xu.debug("mounted heartbeat"),n=c.subscribe(()=>{})},m=()=>{Xu.debug("enabled heartbeat"),r.set(!0),c.lc===0&&h()},y=()=>{Xu.debug("disabled heartbeat"),r.set(!1)};return{enable:m,disable:y,mount:h,unmount:()=>{Xu.debug("unmounted heartbeat"),c.off(),n==null||n(),n=void 0,y()}}},Xu=gc("analytics");class Oae{constructor(e){K(this,"commonStore"),K(this,"notifications"),K(this,"polls"),K(this,"invitation"),K(this,"interactions"),K(this,"advertisement"),K(this,"heartbeat"),K(this,"analyticsClient"),K(this,"listeners"),K(this,"listenersCancels"),K(this,"connected",!1),K(this,"connect",()=>{this.writeCommon("sessionId",gw()),this.heartbeat.enable(),this.listeners.forEach(r=>this.listenersCancels.add(r())),this.connected=!0,Xu.debug("analytics connected")}),K(this,"disconnect",()=>{this.writeCommon("sessionId",""),this.writeCommon("overlaySessionId",""),this.heartbeat.unmount(),this.listenersCancels.forEach(r=>r()),this.connected=!1,Xu.debug("analytics disconnected")}),K(this,"write",(r,i)=>{i&&this.analyticsClient.unary({message:{case:r,value:i}}).then(()=>{Xu.trace("send analytics success",r,i)}).catch(o=>{Xu.error(o,"send analytics failed")})}),K(this,"writeCommon",(r,i)=>{this.commonStore.setValue(r,i)}),K(this,"onConnect",r=>{this.listeners.add(r),this.connected&&this.listenersCancels.add(r())}),K(this,"connectToSDK",r=>{this.onConnect(()=>r.stores.slStreamId.getAtomStore().subscribe(i=>{this.writeCommon("eventId",i)})),this.onConnect(()=>r.sdk.getActiveFeature().subscribe(i=>{i&&this.writeCommon("category",_ae[i]),i!==$t.UNSET?this.writeCommon("overlaySessionId",gw()):this.writeCommon("overlaySessionId","")})),this.onConnect(()=>{const i=window.matchMedia("(orientation: portrait)"),o=l=>{this.writeCommon("screenOrientation",l.matches?hw.PORTRAIT:hw.LANDSCAPE)};return i.addEventListener("change",o),()=>{i.removeEventListener("change",o)}}),this.onConnect(()=>r.deepLink.$store.subscribe(i=>{i!=null&&i.handled&&this.invitation.accepted()}))}),this.listeners=new Set,this.listenersCancels=new Set,this.commonStore=new Fh($o({}),"common-analytics"),this.connectToSDK(e),this.heartbeat=Rae({transport:e.analyticsTransport,$commonStore:this.commonStore}),this.notifications=new Lae(this),this.polls=new Aae(this),this.invitation=new wae(this),this.interactions=new Cae(this),this.advertisement=new Iae(this);const{client:n}=e.analyticsTransport.createPromiseClient(eU,{method:"send"});this.analyticsClient=n}}const Nae=(t,e,n)=>{t.analytics=new Oae(t),t.sdk.onMount({name:"analytics"},()=>(t.analytics.connect(),()=>{t.analytics.disconnect()})),n()};var SC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof vw<"u"?vw:typeof self<"u"?self:{};function Pae(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var EC={exports:{}},kC={exports:{}};function Dae(t){var e=new t,n=e;function r(){var o=e;return o.next?e=o.next:(e=new t,n=e),o.next=null,o}function i(o){n.next=o,n=o}return{get:r,release:i}}var Mae=Dae,Fae=Mae;function hU(t,e,n){if(typeof t=="function"&&(n=e,e=t,t=null),!(n>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var r=Fae(Uae),i=null,o=null,l=0,c=null,h={push:x,drain:Bs,saturated:Bs,pause:y,paused:!1,get concurrency(){return n},set concurrency(U){if(!(U>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(n=U,!h.paused)for(;i&&l=n||h.paused?o?(o.next=B,o=B):(i=B,o=B,h.saturated()):(l++,e.call(t,B.value,B.worked))}function A(U,G){var B=r.get();B.context=t,B.release=R,B.value=U,B.callback=G||Bs,B.errorHandler=c,l>=n||h.paused?i?(B.next=i,i=B):(i=B,o=B,h.saturated()):(l++,e.call(t,B.value,B.worked))}function R(U){U&&r.release(U);var G=i;G&&l<=n?h.paused?l--:(o===i&&(o=null),i=G.next,G.next=null,e.call(t,G.value,G.worked),o===null&&h.empty()):--l===0&&h.drain()}function N(){i=null,o=null,h.drain=Bs}function P(){i=null,o=null,h.drain(),h.drain=Bs}function $(U){c=U}}function Bs(){}function Uae(){this.value=null,this.callback=Bs,this.next=null,this.release=Bs,this.context=null,this.errorHandler=null;var t=this;this.worked=function(e,n){var r=t.callback,i=t.errorHandler,o=t.value;t.value=null,t.callback=Bs,t.errorHandler&&i(e,o),r.call(t.context,e,n),t.release(t)}}function Bae(t,e,n){typeof t=="function"&&(n=e,e=t,t=null);function r(y,T){e.call(this,y).then(function(E){T(null,E)},T)}var i=hU(t,r,n),o=i.push,l=i.unshift;return i.push=c,i.unshift=h,i.drained=m,i;function c(y){var T=new Promise(function(E,b){o(y,function(w,x){if(w){b(w);return}E(x)})});return T.catch(Bs),T}function h(y){var T=new Promise(function(E,b){l(y,function(w,x){if(w){b(w);return}E(x)})});return T.catch(Bs),T}function m(){if(i.idle())return new Promise(function(E){E()});var y=i.drain,T=new Promise(function(E){i.drain=function(){y(),E()}});return T}}kC.exports=hU;kC.exports.promise=Bae;var mU=kC.exports,bC={exports:{}},R1=typeof Reflect=="object"?Reflect:null,pO=R1&&typeof R1.apply=="function"?R1.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)},lE;R1&&typeof R1.ownKeys=="function"?lE=R1.ownKeys:Object.getOwnPropertySymbols?lE=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:lE=function(t){return Object.getOwnPropertyNames(t)};function $ae(t){console&&console.warn&&console.warn(t)}var pU=Number.isNaN||function(t){return t!==t};function cn(){cn.init.call(this)}bC.exports=cn;bC.exports.once=jae;cn.EventEmitter=cn;cn.prototype._events=void 0;cn.prototype._eventsCount=0;cn.prototype._maxListeners=void 0;var gO=10;function Z4(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(cn,"defaultMaxListeners",{enumerable:!0,get:function(){return gO},set:function(t){if(typeof t!="number"||t<0||pU(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");gO=t}});cn.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};cn.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||pU(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function gU(t){return t._maxListeners===void 0?cn.defaultMaxListeners:t._maxListeners}cn.prototype.getMaxListeners=function(){return gU(this)};cn.prototype.emit=function(t){for(var e=[],n=1;n0&&(o=e[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var c=i[t];if(c===void 0)return!1;if(typeof c=="function")pO(c,this,e);else for(var h=c.length,m=EU(c,h),n=0;n0&&l.length>i&&!l.warned){l.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=l.length,$ae(c)}return t}cn.prototype.addListener=function(t,e){return yU(this,t,e,!1)};cn.prototype.on=cn.prototype.addListener;cn.prototype.prependListener=function(t,e){return yU(this,t,e,!0)};function Vae(){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 vU(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=Vae.bind(r);return i.listener=n,r.wrapFn=i,i}cn.prototype.once=function(t,e){return Z4(e),this.on(t,vU(this,t,e)),this};cn.prototype.prependOnceListener=function(t,e){return Z4(e),this.prependListener(t,vU(this,t,e)),this};cn.prototype.removeListener=function(t,e){var n,r,i,o,l;if(Z4(e),r=this._events,r===void 0)return this;if(n=r[t],n===void 0)return this;if(n===e||n.listener===e)--this._eventsCount===0?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if(typeof n!="function"){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===e||n[o].listener===e){l=n[o].listener,i=o;break}if(i<0)return this;i===0?n.shift():Gae(n,i),n.length===1&&(r[t]=n[0]),r.removeListener!==void 0&&this.emit("removeListener",t,l||e)}return this};cn.prototype.off=cn.prototype.removeListener;cn.prototype.removeAllListeners=function(t){var e,n,r;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var i=Object.keys(n),o;for(r=0;r=0;r--)this.removeListener(t,e[r]);return this};function TU(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?zae(i):EU(i,i.length)}cn.prototype.listeners=function(t){return TU(this,t,!0)};cn.prototype.rawListeners=function(t){return TU(this,t,!1)};cn.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):SU.call(t,e)};cn.prototype.listenerCount=SU;function SU(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}cn.prototype.eventNames=function(){return this._eventsCount>0?lE(this._events):[]};function EU(t,e){for(var n=new Array(e),r=0;r"u"||!qr?Gt:qr(Uint8Array),$h={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Gt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Gt:ArrayBuffer,"%ArrayIteratorPrototype%":Xp&&qr?qr([][Symbol.iterator]()):Gt,"%AsyncFromSyncIteratorPrototype%":Gt,"%AsyncFunction%":i1,"%AsyncGenerator%":i1,"%AsyncGeneratorFunction%":i1,"%AsyncIteratorPrototype%":i1,"%Atomics%":typeof Atomics>"u"?Gt:Atomics,"%BigInt%":typeof BigInt>"u"?Gt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Gt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Gt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Gt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":mse,"%eval%":eval,"%EvalError%":pse,"%Float32Array%":typeof Float32Array>"u"?Gt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Gt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Gt:FinalizationRegistry,"%Function%":IU,"%GeneratorFunction%":i1,"%Int8Array%":typeof Int8Array>"u"?Gt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Gt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Gt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Xp&&qr?qr(qr([][Symbol.iterator]())):Gt,"%JSON%":typeof JSON=="object"?JSON:Gt,"%Map%":typeof Map>"u"?Gt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Xp||!qr?Gt:qr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Gt:Promise,"%Proxy%":typeof Proxy>"u"?Gt:Proxy,"%RangeError%":gse,"%ReferenceError%":yse,"%Reflect%":typeof Reflect>"u"?Gt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Gt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Xp||!qr?Gt:qr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Gt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Xp&&qr?qr(""[Symbol.iterator]()):Gt,"%Symbol%":Xp?Symbol:Gt,"%SyntaxError%":K1,"%ThrowTypeError%":Tse,"%TypedArray%":Ese,"%TypeError%":O1,"%Uint8Array%":typeof Uint8Array>"u"?Gt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Gt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Gt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Gt:Uint32Array,"%URIError%":vse,"%WeakMap%":typeof WeakMap>"u"?Gt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Gt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Gt:WeakSet};if(qr)try{null.error}catch(t){var kse=qr(qr(t));$h["%Error.prototype%"]=kse}var bse=function t(e){var n;if(e==="%AsyncFunction%")n=C5("async function () {}");else if(e==="%GeneratorFunction%")n=C5("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=C5("async function* () {}");else if(e==="%AsyncGenerator%"){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&qr&&(n=qr(i.prototype))}return $h[e]=n,n},TO={__proto__:null,"%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"]},zv=wC,a4=hse,wse=zv.call(Function.call,Array.prototype.concat),Cse=zv.call(Function.apply,Array.prototype.splice),SO=zv.call(Function.call,String.prototype.replace),s4=zv.call(Function.call,String.prototype.slice),xse=zv.call(Function.call,RegExp.prototype.exec),Ise=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_se=/\\(\\)?/g,Lse=function(t){var e=s4(t,0,1),n=s4(t,-1);if(e==="%"&&n!=="%")throw new K1("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&e!=="%")throw new K1("invalid intrinsic syntax, expected opening `%`");var r=[];return SO(t,Ise,function(i,o,l,c){r[r.length]=l?SO(c,_se,"$1"):o||i}),r},Ase=function(t,e){var n=t,r;if(a4(TO,n)&&(r=TO[n],n="%"+r[0]+"%"),a4($h,n)){var i=$h[n];if(i===i1&&(i=bse(n)),typeof i>"u"&&!e)throw new O1("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new K1("intrinsic "+t+" does not exist!")},jv=function(t,e){if(typeof t!="string"||t.length===0)throw new O1("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof e!="boolean")throw new O1('"allowMissing" argument must be a boolean');if(xse(/^%?[^%]*%?$/,t)===null)throw new K1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Lse(t),r=n.length>0?n[0]:"",i=Ase("%"+r+"%",e),o=i.name,l=i.value,c=!1,h=i.alias;h&&(r=h[0],Cse(n,wse([0,1],h)));for(var m=1,y=!0;m=n.length){var w=Bh(l,T);y=!!w,y&&"get"in w&&!("originalValue"in w.get)?l=w.get:l=l[T]}else y=a4(l,T),l=l[T];y&&!c&&($h[o]=l)}}return l},_U={exports:{}},I5,EO;function CC(){if(EO)return I5;EO=1;var t=jv,e=t("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return I5=e,I5}var Rse=jv,uE=Rse("%Object.getOwnPropertyDescriptor%",!0);if(uE)try{uE([],"length")}catch{uE=null}var n8=uE,kO=CC(),Ose=xU,Zp=t8,bO=n8,Nse=function(t,e,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Zp("`obj` must be an object or a function`");if(typeof e!="string"&&typeof e!="symbol")throw new Zp("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Zp("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Zp("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Zp("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Zp("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,c=!!bO&&bO(t,e);if(kO)kO(t,e,{configurable:o===null&&c?c.configurable:!o,enumerable:r===null&&c?c.enumerable:!r,value:n,writable:i===null&&c?c.writable:!i});else if(l||!r&&!i&&!o)t[e]=n;else throw new Ose("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Cw=CC(),LU=function(){return!!Cw};LU.hasArrayLengthDefineBug=function(){if(!Cw)return null;try{return Cw([],"length",{value:1}).length!==1}catch{return!0}};var Pse=LU,Dse=jv,wO=Nse,Mse=Pse(),CO=n8,xO=t8,Fse=Dse("%Math.floor%"),Use=function(t,e){if(typeof t!="function")throw new xO("`fn` is not a function");if(typeof e!="number"||e<0||e>4294967295||Fse(e)!==e)throw new xO("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,i=!0;if("length"in t&&CO){var o=CO(t,"length");o&&!o.configurable&&(r=!1),o&&!o.writable&&(i=!1)}return(r||i||!n)&&(Mse?wO(t,"length",e,!0,!0):wO(t,"length",e)),t};(function(t){var e=wC,n=jv,r=Use,i=t8,o=n("%Function.prototype.apply%"),l=n("%Function.prototype.call%"),c=n("%Reflect.apply%",!0)||e.call(l,o),h=CC(),m=n("%Math.max%");t.exports=function(T){if(typeof T!="function")throw new i("a function is required");var E=c(e,l,arguments);return r(E,1+m(0,T.length-(arguments.length-1)),!0)};var y=function(){return c(e,o,arguments)};h?h(t.exports,"apply",{value:y}):t.exports.apply=y})(_U);var xC=_U.exports,AU=jv,RU=xC,Bse=RU(AU("String.prototype.indexOf")),IC=function(t,e){var n=AU(t,!!e);return typeof n=="function"&&Bse(t,".prototype.")>-1?RU(n):n},$se=e8(),Vse=IC,xw=Vse("Object.prototype.toString"),r8=function(t){return $se&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:xw(t)==="[object Arguments]"},OU=function(t){return r8(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&xw(t)!=="[object Array]"&&xw(t.callee)==="[object Function]"},Gse=function(){return r8(arguments)}();r8.isLegacyArguments=OU;var zse=Gse?r8:OU,jse=Object.prototype.toString,Hse=Function.prototype.toString,Wse=/^\s*(?:function)?\*/,NU=e8(),_5=Object.getPrototypeOf,Kse=function(){if(!NU)return!1;try{return Function("return function*() {}")()}catch{}},L5,Yse=function(t){if(typeof t!="function")return!1;if(Wse.test(Hse.call(t)))return!0;if(!NU){var e=jse.call(t);return e==="[object GeneratorFunction]"}if(!_5)return!1;if(typeof L5>"u"){var n=Kse();L5=n?_5(n):!1}return _5(t)===L5},PU=Function.prototype.toString,T1=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Iw,cE;if(typeof T1=="function"&&typeof Object.defineProperty=="function")try{Iw=Object.defineProperty({},"length",{get:function(){throw cE}}),cE={},T1(function(){throw 42},null,Iw)}catch(t){t!==cE&&(T1=null)}else T1=null;var qse=/^\s*class\b/,_w=function(t){try{var e=PU.call(t);return qse.test(e)}catch{return!1}},A5=function(t){try{return _w(t)?!1:(PU.call(t),!0)}catch{return!1}},dE=Object.prototype.toString,Qse="[object Object]",Xse="[object Function]",Zse="[object GeneratorFunction]",Jse="[object HTMLAllCollection]",eoe="[object HTML document.all class]",toe="[object HTMLCollection]",noe=typeof Symbol=="function"&&!!Symbol.toStringTag,roe=!(0 in[,]),Lw=function(){return!1};if(typeof document=="object"){var ioe=document.all;dE.call(ioe)===dE.call(document.all)&&(Lw=function(t){if((roe||!t)&&(typeof t>"u"||typeof t=="object"))try{var e=dE.call(t);return(e===Jse||e===eoe||e===toe||e===Qse)&&t("")==null}catch{}return!1})}var aoe=T1?function(t){if(Lw(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{T1(t,null,Iw)}catch(e){if(e!==cE)return!1}return!_w(t)&&A5(t)}:function(t){if(Lw(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(noe)return A5(t);if(_w(t))return!1;var e=dE.call(t);return e!==Xse&&e!==Zse&&!/^\[object HTML/.test(e)?!1:A5(t)},soe=aoe,ooe=Object.prototype.toString,DU=Object.prototype.hasOwnProperty,loe=function(t,e,n){for(var r=0,i=t.length;r=3&&(r=n),ooe.call(t)==="[object Array]"?loe(t,e,r):typeof t=="string"?uoe(t,e,r):coe(t,e,r)},MU=doe,foe=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],R5=foe,hoe=typeof globalThis>"u"?SC:globalThis,FU=function(){for(var t=[],e=0;e"u"?SC:globalThis,Aw=moe(),LC=_C("String.prototype.slice"),O5=Object.getPrototypeOf,goe=_C("Array.prototype.indexOf",!0)||function(t,e){for(var n=0;n-1?e:e!=="Object"?!1:voe(t)}return fE?yoe(t):null},u4=MU,Soe=FU,LO=xC,AC=IC,hE=n8,Eoe=AC("Object.prototype.toString"),BU=e8(),AO=typeof globalThis>"u"?SC:globalThis,Rw=Soe(),RC=AC("String.prototype.slice"),N5=Object.getPrototypeOf,koe=AC("Array.prototype.indexOf",!0)||function(t,e){for(var n=0;n-1?e:e!=="Object"?!1:woe(t)}return hE?boe(t):null},xoe=Coe,Ioe=function(t){return!!xoe(t)};(function(t){var e=zse,n=Yse,r=Toe,i=Ioe;function o(be){return be.call.bind(be)}var l=typeof BigInt<"u",c=typeof Symbol<"u",h=o(Object.prototype.toString),m=o(Number.prototype.valueOf),y=o(String.prototype.valueOf),T=o(Boolean.prototype.valueOf);if(l)var E=o(BigInt.prototype.valueOf);if(c)var b=o(Symbol.prototype.valueOf);function w(be,Xs){if(typeof be!="object")return!1;try{return Xs(be),!0}catch{return!1}}t.isArgumentsObject=e,t.isGeneratorFunction=n,t.isTypedArray=i;function x(be){return typeof Promise<"u"&&be instanceof Promise||be!==null&&typeof be=="object"&&typeof be.then=="function"&&typeof be.catch=="function"}t.isPromise=x;function A(be){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(be):i(be)||oe(be)}t.isArrayBufferView=A;function R(be){return r(be)==="Uint8Array"}t.isUint8Array=R;function N(be){return r(be)==="Uint8ClampedArray"}t.isUint8ClampedArray=N;function P(be){return r(be)==="Uint16Array"}t.isUint16Array=P;function $(be){return r(be)==="Uint32Array"}t.isUint32Array=$;function U(be){return r(be)==="Int8Array"}t.isInt8Array=U;function G(be){return r(be)==="Int16Array"}t.isInt16Array=G;function B(be){return r(be)==="Int32Array"}t.isInt32Array=B;function q(be){return r(be)==="Float32Array"}t.isFloat32Array=q;function le(be){return r(be)==="Float64Array"}t.isFloat64Array=le;function X(be){return r(be)==="BigInt64Array"}t.isBigInt64Array=X;function me(be){return r(be)==="BigUint64Array"}t.isBigUint64Array=me;function we(be){return h(be)==="[object Map]"}we.working=typeof Map<"u"&&we(new Map);function ye(be){return typeof Map>"u"?!1:we.working?we(be):be instanceof Map}t.isMap=ye;function Ne(be){return h(be)==="[object Set]"}Ne.working=typeof Set<"u"&&Ne(new Set);function Fe(be){return typeof Set>"u"?!1:Ne.working?Ne(be):be instanceof Set}t.isSet=Fe;function De(be){return h(be)==="[object WeakMap]"}De.working=typeof WeakMap<"u"&&De(new WeakMap);function nt(be){return typeof WeakMap>"u"?!1:De.working?De(be):be instanceof WeakMap}t.isWeakMap=nt;function ne(be){return h(be)==="[object WeakSet]"}ne.working=typeof WeakSet<"u"&&ne(new WeakSet);function re(be){return ne(be)}t.isWeakSet=re;function ee(be){return h(be)==="[object ArrayBuffer]"}ee.working=typeof ArrayBuffer<"u"&&ee(new ArrayBuffer);function Oe(be){return typeof ArrayBuffer>"u"?!1:ee.working?ee(be):be instanceof ArrayBuffer}t.isArrayBuffer=Oe;function Y(be){return h(be)==="[object DataView]"}Y.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Y(new DataView(new ArrayBuffer(1),0,1));function oe(be){return typeof DataView>"u"?!1:Y.working?Y(be):be instanceof DataView}t.isDataView=oe;var Ee=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Ve(be){return h(be)==="[object SharedArrayBuffer]"}function Ke(be){return typeof Ee>"u"?!1:(typeof Ve.working>"u"&&(Ve.working=Ve(new Ee)),Ve.working?Ve(be):be instanceof Ee)}t.isSharedArrayBuffer=Ke;function ot(be){return h(be)==="[object AsyncFunction]"}t.isAsyncFunction=ot;function dt(be){return h(be)==="[object Map Iterator]"}t.isMapIterator=dt;function bt(be){return h(be)==="[object Set Iterator]"}t.isSetIterator=bt;function Bt(be){return h(be)==="[object Generator]"}t.isGeneratorObject=Bt;function En(be){return h(be)==="[object WebAssembly.Module]"}t.isWebAssemblyCompiledModule=En;function kr(be){return w(be,m)}t.isNumberObject=kr;function mn(be){return w(be,y)}t.isStringObject=mn;function Dn(be){return w(be,T)}t.isBooleanObject=Dn;function Fr(be){return l&&w(be,E)}t.isBigIntObject=Fr;function Ci(be){return c&&w(be,b)}t.isSymbolObject=Ci;function xi(be){return kr(be)||mn(be)||Dn(be)||Fr(be)||Ci(be)}t.isBoxedPrimitive=xi;function Xa(be){return typeof Uint8Array<"u"&&(Oe(be)||Ke(be))}t.isAnyArrayBuffer=Xa,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(be){Object.defineProperty(t,be,{enumerable:!1,value:function(){throw new Error(be+" is not supported in userland")}})})})(wU);var _oe=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"},Ow={exports:{}};typeof Object.create=="function"?Ow.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Ow.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}};var Loe=Ow.exports;(function(t){var e=Object.getOwnPropertyDescriptors||function(Y){for(var oe=Object.keys(Y),Ee={},Ve=0;Ve=Ke)return Bt;switch(Bt){case"%s":return String(Ve[Ee++]);case"%d":return Number(Ve[Ee++]);case"%j":try{return JSON.stringify(Ve[Ee++])}catch{return"[Circular]"}default:return Bt}}),dt=Ve[Ee];Ee"u")return function(){return t.deprecate(Y,oe).apply(this,arguments)};var Ee=!1;function Ve(){if(!Ee){if(Pt.throwDeprecation)throw new Error(oe);Pt.traceDeprecation?console.trace(oe):console.error(oe),Ee=!0}return Y.apply(this,arguments)}return Ve};var r={},i=/^$/;if(Pt.env.NODE_DEBUG){var o=Pt.env.NODE_DEBUG;o=o.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+o+"$","i")}t.debuglog=function(Y){if(Y=Y.toUpperCase(),!r[Y])if(i.test(Y)){var oe=Pt.pid;r[Y]=function(){var Ee=t.format.apply(t,arguments);console.error("%s %d: %s",Y,oe,Ee)}}else r[Y]=function(){};return r[Y]};function l(Y,oe){var Ee={seen:[],stylize:h};return arguments.length>=3&&(Ee.depth=arguments[2]),arguments.length>=4&&(Ee.colors=arguments[3]),R(oe)?Ee.showHidden=oe:oe&&t._extend(Ee,oe),B(Ee.showHidden)&&(Ee.showHidden=!1),B(Ee.depth)&&(Ee.depth=2),B(Ee.colors)&&(Ee.colors=!1),B(Ee.customInspect)&&(Ee.customInspect=!0),Ee.colors&&(Ee.stylize=c),y(Ee,Y,Ee.depth)}t.inspect=l,l.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]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(Y,oe){var Ee=l.styles[oe];return Ee?"\x1B["+l.colors[Ee][0]+"m"+Y+"\x1B["+l.colors[Ee][1]+"m":Y}function h(Y,oe){return Y}function m(Y){var oe={};return Y.forEach(function(Ee,Ve){oe[Ee]=!0}),oe}function y(Y,oe,Ee){if(Y.customInspect&&oe&&we(oe.inspect)&&oe.inspect!==t.inspect&&!(oe.constructor&&oe.constructor.prototype===oe)){var Ve=oe.inspect(Ee,Y);return U(Ve)||(Ve=y(Y,Ve,Ee)),Ve}var Ke=T(Y,oe);if(Ke)return Ke;var ot=Object.keys(oe),dt=m(ot);if(Y.showHidden&&(ot=Object.getOwnPropertyNames(oe)),me(oe)&&(ot.indexOf("message")>=0||ot.indexOf("description")>=0))return E(oe);if(ot.length===0){if(we(oe)){var bt=oe.name?": "+oe.name:"";return Y.stylize("[Function"+bt+"]","special")}if(q(oe))return Y.stylize(RegExp.prototype.toString.call(oe),"regexp");if(X(oe))return Y.stylize(Date.prototype.toString.call(oe),"date");if(me(oe))return E(oe)}var Bt="",En=!1,kr=["{","}"];if(A(oe)&&(En=!0,kr=["[","]"]),we(oe)){var mn=oe.name?": "+oe.name:"";Bt=" [Function"+mn+"]"}if(q(oe)&&(Bt=" "+RegExp.prototype.toString.call(oe)),X(oe)&&(Bt=" "+Date.prototype.toUTCString.call(oe)),me(oe)&&(Bt=" "+E(oe)),ot.length===0&&(!En||oe.length==0))return kr[0]+Bt+kr[1];if(Ee<0)return q(oe)?Y.stylize(RegExp.prototype.toString.call(oe),"regexp"):Y.stylize("[Object]","special");Y.seen.push(oe);var Dn;return En?Dn=b(Y,oe,Ee,dt,ot):Dn=ot.map(function(Fr){return w(Y,oe,Ee,dt,Fr,En)}),Y.seen.pop(),x(Dn,Bt,kr)}function T(Y,oe){if(B(oe))return Y.stylize("undefined","undefined");if(U(oe)){var Ee="'"+JSON.stringify(oe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Y.stylize(Ee,"string")}if($(oe))return Y.stylize(""+oe,"number");if(R(oe))return Y.stylize(""+oe,"boolean");if(N(oe))return Y.stylize("null","null")}function E(Y){return"["+Error.prototype.toString.call(Y)+"]"}function b(Y,oe,Ee,Ve,Ke){for(var ot=[],dt=0,bt=oe.length;dt-1&&(ot?bt=bt.split(` +`).map(function(En){return" "+En}).join(` +`).slice(2):bt=` +`+bt.split(` +`).map(function(En){return" "+En}).join(` +`))):bt=Y.stylize("[Circular]","special")),B(dt)){if(ot&&Ke.match(/^\d+$/))return bt;dt=JSON.stringify(""+Ke),dt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(dt=dt.slice(1,-1),dt=Y.stylize(dt,"name")):(dt=dt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),dt=Y.stylize(dt,"string"))}return dt+": "+bt}function x(Y,oe,Ee){var Ve=Y.reduce(function(Ke,ot){return ot.indexOf(` +`)>=0,Ke+ot.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ve>60?Ee[0]+(oe===""?"":oe+` + `)+" "+Y.join(`, + `)+" "+Ee[1]:Ee[0]+oe+" "+Y.join(", ")+" "+Ee[1]}t.types=wU;function A(Y){return Array.isArray(Y)}t.isArray=A;function R(Y){return typeof Y=="boolean"}t.isBoolean=R;function N(Y){return Y===null}t.isNull=N;function P(Y){return Y==null}t.isNullOrUndefined=P;function $(Y){return typeof Y=="number"}t.isNumber=$;function U(Y){return typeof Y=="string"}t.isString=U;function G(Y){return typeof Y=="symbol"}t.isSymbol=G;function B(Y){return Y===void 0}t.isUndefined=B;function q(Y){return le(Y)&&Ne(Y)==="[object RegExp]"}t.isRegExp=q,t.types.isRegExp=q;function le(Y){return typeof Y=="object"&&Y!==null}t.isObject=le;function X(Y){return le(Y)&&Ne(Y)==="[object Date]"}t.isDate=X,t.types.isDate=X;function me(Y){return le(Y)&&(Ne(Y)==="[object Error]"||Y instanceof Error)}t.isError=me,t.types.isNativeError=me;function we(Y){return typeof Y=="function"}t.isFunction=we;function ye(Y){return Y===null||typeof Y=="boolean"||typeof Y=="number"||typeof Y=="string"||typeof Y=="symbol"||typeof Y>"u"}t.isPrimitive=ye,t.isBuffer=_oe;function Ne(Y){return Object.prototype.toString.call(Y)}function Fe(Y){return Y<10?"0"+Y.toString(10):Y.toString(10)}var De=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function nt(){var Y=new Date,oe=[Fe(Y.getHours()),Fe(Y.getMinutes()),Fe(Y.getSeconds())].join(":");return[Y.getDate(),De[Y.getMonth()],oe].join(" ")}t.log=function(){console.log("%s - %s",nt(),t.format.apply(t,arguments))},t.inherits=Loe,t._extend=function(Y,oe){if(!oe||!le(oe))return Y;for(var Ee=Object.keys(oe),Ve=Ee.length;Ve--;)Y[Ee[Ve]]=oe[Ee[Ve]];return Y};function ne(Y,oe){return Object.prototype.hasOwnProperty.call(Y,oe)}var re=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;t.promisify=function(Y){if(typeof Y!="function")throw new TypeError('The "original" argument must be of type Function');if(re&&Y[re]){var oe=Y[re];if(typeof oe!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(oe,re,{value:oe,enumerable:!1,writable:!1,configurable:!0}),oe}function oe(){for(var Ee,Ve,Ke=new Promise(function(bt,Bt){Ee=bt,Ve=Bt}),ot=[],dt=0;dt(r.label=`${r.label} ${r.diff} ms`,r.nodes.length>0&&(r.nodes=r.nodes.map(i=>e(i))),r),n=e(this.toJSON());return Ooe(n)}};var Poe=Noe,OC={exports:{}},Nw={exports:{}},M5,DO;function Doe(){if(DO)return M5;DO=1;var t=1e3,e=t*60,n=e*60,r=n*24,i=r*7,o=r*365.25;M5=function(y,T){T=T||{};var E=typeof y;if(E==="string"&&y.length>0)return l(y);if(E==="number"&&isFinite(y))return T.long?h(y):c(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function l(y){if(y=String(y),!(y.length>100)){var T=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(T){var E=parseFloat(T[1]),b=(T[2]||"ms").toLowerCase();switch(b){case"years":case"year":case"yrs":case"yr":case"y":return E*o;case"weeks":case"week":case"w":return E*i;case"days":case"day":case"d":return E*r;case"hours":case"hour":case"hrs":case"hr":case"h":return E*n;case"minutes":case"minute":case"mins":case"min":case"m":return E*e;case"seconds":case"second":case"secs":case"sec":case"s":return E*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return E;default:return}}}}function c(y){var T=Math.abs(y);return T>=r?Math.round(y/r)+"d":T>=n?Math.round(y/n)+"h":T>=e?Math.round(y/e)+"m":T>=t?Math.round(y/t)+"s":y+"ms"}function h(y){var T=Math.abs(y);return T>=r?m(y,T,r,"day"):T>=n?m(y,T,n,"hour"):T>=e?m(y,T,e,"minute"):T>=t?m(y,T,t,"second"):y+" ms"}function m(y,T,E,b){var w=T>=E*1.5;return Math.round(y/E)+" "+b+(w?"s":"")}return M5}function Moe(t){n.debug=n,n.default=n,n.coerce=h,n.disable=o,n.enable=i,n.enabled=l,n.humanize=Doe(),n.destroy=m,Object.keys(t).forEach(y=>{n[y]=t[y]}),n.names=[],n.skips=[],n.formatters={};function e(y){let T=0;for(let E=0;E{if(U==="%%")return"%";$++;const B=n.formatters[G];if(typeof B=="function"){const q=A[$];U=B.call(R,q),A.splice($,1),$--}return U}),n.formatArgs.call(R,A),(R.log||n.log).apply(R,A)}return x.namespace=y,x.useColors=n.useColors(),x.color=n.selectColor(y),x.extend=r,x.destroy=n.destroy,Object.defineProperty(x,"enabled",{enumerable:!0,configurable:!1,get:()=>E!==null?E:(b!==n.namespaces&&(b=n.namespaces,w=n.enabled(y)),w),set:A=>{E=A}}),typeof n.init=="function"&&n.init(x),x}function r(y,T){const E=n(this.namespace+(typeof T>"u"?":":T)+y);return E.log=this.log,E}function i(y){n.save(y),n.namespaces=y,n.names=[],n.skips=[];let T;const E=(typeof y=="string"?y:"").split(/[\s,]+/),b=E.length;for(T=0;T"-"+T)].join(",");return n.enable(""),y}function l(y){if(y[y.length-1]==="*")return!0;let T,E;for(T=0,E=n.skips.length;T{let h=!1;return()=>{h||(h=!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`."))}})(),e.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 n(){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 r(h){if(h[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+h[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const m="color: "+this.color;h.splice(1,0,m,"color: inherit");let y=0,T=0;h[0].replace(/%[a-zA-Z%]/g,E=>{E!=="%%"&&(y++,E==="%c"&&(T=y))}),h.splice(T,0,m)}e.log=console.debug||console.log||(()=>{});function i(h){try{h?e.storage.setItem("debug",h):e.storage.removeItem("debug")}catch{}}function o(){let h;try{h=e.storage.getItem("debug")}catch{}return!h&&typeof Pt<"u"&&"env"in Pt&&(h=Pt.env.DEBUG),h}function l(){try{return localStorage}catch{}}t.exports=Foe(e);const{formatters:c}=t.exports;c.j=function(h){try{return JSON.stringify(h)}catch(m){return"[UnexpectedJSONParseError]: "+m.message}}})(Nw,Nw.exports);var VU=Nw.exports;const Uoe=mU,Boe=bU.EventEmitter,$oe=J4.inherits,Si=VU("avvio"),{AVV_ERR_READY_TIMEOUT:Voe}=$U,F5=Symbol.for("plugin-meta");function Goe(t,e){return t[F5]&&t[F5].name?t[F5].name:typeof e<"u"&&typeof e!="function"&&e.name?e.name:t.name?t.name:t.toString().split(` +`).slice(0,2).map(n=>n.trim()).join(" -- ")}function zoe(){const t={};return t.promise=new Promise((e,n)=>{t.resolve=e,t.reject=n}),t}function s0(t,e,n,r,i){this.started=!1,this.func=e,this.opts=n,this.onFinish=null,this.parent=t,this.timeout=i===void 0?t._timeout:i,this.name=Goe(e,n),this.isAfter=r,this.q=Uoe(t,joe,1),this.q.pause(),this._error=null,this.loaded=!1,this._promise=null}$oe(s0,Boe);s0.prototype.exec=function(t,e){const n=this.func;let r=!1;const i=this.name;if(this.parent._error&&!this.isAfter){Si("skipping loading of plugin as parent errored and it is not an after",i),Pt.nextTick(e);return}if(this.isAfter)this.server=t;else try{this.server=this.parent.override(t,n,this.opts)}catch(h){return Si("override errored",i),e(h)}this.opts=typeof this.opts=="function"?this.opts(this.server):this.opts,Si("exec",i);let o;const l=h=>{if(r){Si("loading complete",i);return}this._error=h,Si(h?"exec errored":"exec completed",i),r=!0,o&&clearTimeout(o),e(h)};this.timeout>0&&(Si("setting up timeout",i,this.timeout),o=setTimeout(function(){Si("timed out",i),o=null;const h=new Voe(i);h.fn=n,l(h)},this.timeout)),this.started=!0,this.emit("start",this.server?this.server.name:null,this.name,Date.now());const c=n(this.server,this.opts,l);c&&typeof c.then=="function"&&(Si("exec: resolving promise",i),c.then(()=>Pt.nextTick(l),h=>Pt.nextTick(l,h)))};s0.prototype.loadedSoFar=function(){if(this.loaded)return Promise.resolve();const t=()=>{this.server.after((n,r)=>{this._error=n,this.q.pause(),n?(Si("rejecting promise",this.name,n),this._promise.reject(n)):(Si("resolving promise",this.name),this._promise.resolve()),this._promise=null,Pt.nextTick(r,n)}),this.q.resume()};let e;return this._promise?e=Promise.resolve():(this._promise=zoe(),e=this._promise.promise,this.server?t():this.on("start",t)),e};s0.prototype.enqueue=function(t,e){Si("enqueue",this.name,t.name),this.emit("enqueue",this.server?this.server.name:null,this.name,Date.now()),this.q.push(t,e)};s0.prototype.finish=function(t,e){Si("finish",this.name,t);const n=()=>{this.loaded||(Si("loaded",this.name),this.emit("loaded",this.server?this.server.name:null,this.name,Date.now()),this.loaded=!0,e(t))};if(t){this._promise&&(this._promise.reject(t),this._promise=null),n();return}const r=()=>{if(Si("check",this.name,this.q.length(),this.q.running(),this._promise),this.q.length()===0&&this.q.running()===0)if(this._promise){const i=()=>{Si("wrap"),queueMicrotask(r)};this._promise.resolve(),this._promise.promise.then(i,i),this._promise=null}else n();else Si("delayed",this.name),this.q.drain=()=>{Si("drain",this.name),this.q.drain=Hoe,queueMicrotask(r)}};queueMicrotask(r),this.q.resume()};function joe(t,e){const n=this;Pt.nextTick(NC.bind(n),t,e)}function NC(t,e){if(typeof t.func.then=="function"){t.func.then(r=>{typeof r.default=="function"&&(r=r.default),t.func=r,NC.call(this,t,e)},e);return}const n=this._current[0];this._current.unshift(t),t.exec(n&&n.server||this._server,r=>{t.finish(r,i=>{this._current.shift(),e(i)})})}function Hoe(){}OC.exports=s0;OC.exports.loadPlugin=NC;var Woe=OC.exports;const MO=mU,Koe=bU.EventEmitter,Yoe=J4.inherits,{AVV_ERR_EXPOSE_ALREADY_DEFINED:U5,AVV_ERR_CALLBACK_NOT_FN:sv,AVV_ERR_PLUGIN_NOT_VALID:qoe,AVV_ERR_ROOT_PLG_BOOTED:Qoe,AVV_ERR_READY_TIMEOUT:Xoe}=$U,Zoe=Poe,Pw=Woe,Y1=VU("avvio"),d4=Symbol("kAvvio"),B5=Symbol("kThenifyDoNotWrap");function Joe(t,e,n){const r=e.expose||{},i=r.use||"use",o=r.after||"after",l=r.ready||"ready",c=r.onClose||"onClose",h=r.close||"close";if(t[i])throw new U5(i);if(t[o])throw new U5(o);if(t[l])throw new U5(l);t[i]=function(m,y){return n.use(m,y),this},Object.defineProperty(t,"then",{get:GU.bind(n)}),t[d4]=!0,t[o]=function(m){return typeof m!="function"?n._loadRegistered():(n.after($5(m,this)),this)},t[l]=function(m){if(m&&typeof m!="function")throw new sv(l,typeof m);return n.ready(m?$5(m,this):void 0)},t[c]=function(m){if(typeof m!="function")throw new sv(c,typeof m);return n.onClose(ile(m,this)),this},t[h]=function(m){if(m&&typeof m!="function")throw new sv(h,typeof m);return m?(n.close($5(m,this)),this):n.close()}}function ri(t,e,n){if(typeof t=="function"&&arguments.length===1&&(n=t,e={},t=null),typeof e=="function"&&(n=e,e={}),e=e||{},!(this instanceof ri)){const r=new ri(t,e,n);return t&&Joe(t,e,r),r}e.autostart!==!1&&(e.autostart=!0),t=t||this,this._timeout=Number(e.timeout)||0,this._server=t,this._current=[],this._error=null,this._isOnCloseHandlerKey=Symbol("isOnCloseHandler"),this._lastUsed=null,this.setMaxListeners(0),n&&this.once("start",n),this.started=!1,this.booted=!1,this.pluginTree=new Zoe,this._readyQ=MO(this,zU,1),this._readyQ.pause(),this._readyQ.drain=()=>{this.emit("start"),this._readyQ.drain=FO},this._closeQ=MO(this,rle,1),this._closeQ.pause(),this._closeQ.drain=()=>{this.emit("close"),this._closeQ.drain=FO},this._doStart=null,this._root=new Pw(this,ele.bind(this),e,!1,0),this._root.once("start",(r,i,o)=>{const l=this.pluginTree.start(null,i,o);this._root.once("loaded",(c,h,m)=>{this.pluginTree.stop(l,m)})}),Pw.loadPlugin.call(this,this._root,r=>{Y1("root plugin ready");try{this.emit("preReady"),this._root=null}catch(i){r=r||this._error||i}if(r){if(this._error=r,this._readyQ.length()===0)throw r}else this.booted=!0;this._readyQ.resume()})}function ele(t,e,n){this._doStart=n,e.autostart&&this.start()}Yoe(ri,Koe);ri.prototype.start=function(){return this.started=!0,Pt.nextTick(this._doStart),this};ri.prototype.override=function(t,e,n){return t};function tle(t){if(t&&typeof t=="object"&&typeof t.default=="function"&&(t=t.default),!(t&&(typeof t=="function"||typeof t.then=="function")))throw new qoe(typeof t);return t}ri.prototype[d4]=!0;ri.prototype.use=function(t,e){return this._lastUsed=this._addPlugin(t,e,!1),this};ri.prototype._loadRegistered=function(){const t=this._current[0];return!this.started&&!this.booted&&Pt.nextTick(()=>this._root.q.resume()),t?t.loadedSoFar():Promise.resolve()};Object.defineProperty(ri.prototype,"then",{get:GU});ri.prototype._addPlugin=function(t,e,n){if(t=tle(t),e=e||{},this.booted)throw new Qoe;const r=this._current[0],i=new Pw(this,t,e,n);if(i.once("start",(o,l,c)=>{const h=this.pluginTree.start(r.name,l,c);i.once("loaded",(m,y,T)=>{this.pluginTree.stop(h,T)})}),r.loaded)throw new Error(i.name,r.name);return r.enqueue(i,o=>{o&&(this._error=o)}),i};ri.prototype.after=function(t){if(!t)return this._loadRegistered();this._addPlugin(e.bind(this),{},!0);function e(n,r,i){zU.call(this,t,i)}return this};ri.prototype.onClose=function(t){if(typeof t!="function")throw new Error("not a function");t[this._isOnCloseHandlerKey]=!0,this._closeQ.unshift(t,e.bind(this));function e(n){n&&(this._error=n)}return this};ri.prototype.close=function(t){let e;if(t){if(typeof t!="function")throw new sv("close",typeof t)}else e=new Promise(function(n,r){t=function(i){if(i)return r(i);n()}});return this.ready(()=>{this._error=null,this._closeQ.push(t),Pt.nextTick(this._closeQ.resume.bind(this._closeQ))}),e};ri.prototype.ready=function(t){if(t){if(typeof t!="function")throw new sv("ready",typeof t);this._readyQ.push(t),queueMicrotask(this.start.bind(this));return}return new Promise((e,n)=>{this._readyQ.push(i),this.start();const r=this._current[0].server;function i(o,l,c){o?n(o):e(r),Pt.nextTick(c)}})};ri.prototype.prettyPrint=function(){return this.pluginTree.prittyPrint()};ri.prototype.toJSON=function(){return this.pluginTree.toJSON()};function FO(){}function GU(){if(this.booted){Y1("thenify returning null because we are already booted");return}if(this[B5]){this[B5]=!1;return}return Y1("thenify"),(t,e)=>this._loadRegistered().then(()=>(this[B5]=!0,t(this._server)),e)}function zU(t,e){const n=this._server,r=this._error;let i;if(this._error=null,t.length===0)this._error=r,i=t(),i&&!i[d4]&&typeof i.then=="function"?i.then(()=>Pt.nextTick(e),o=>Pt.nextTick(e,o)):Pt.nextTick(e);else if(t.length===1)i=t(r),i&&!i[d4]&&typeof i.then=="function"?i.then(()=>Pt.nextTick(e),o=>Pt.nextTick(e,o)):Pt.nextTick(e);else if(this._timeout===0){const o=l=>{this._error=l,e(this._error)};t.length===2?t(r,o):t(r,n,o)}else nle.call(this,t,r,n,e)}function nle(t,e,n,r){const i=t.name;Y1("setting up ready timeout",i,this._timeout);let o=setTimeout(()=>{Y1("timed out",i),o=null;const c=new Xoe(i);c.fn=t,this._error=c,r(c)},this._timeout);t.length===2?t(e,l.bind(this)):t(e,n,l.bind(this));function l(c){o&&(clearTimeout(o),this._error=c,r(this._error))}}function rle(t,e){const n=this._server,r=t[this._isOnCloseHandlerKey];if(t.length===0||t.length===1){let i;r?i=t(n):i=t(this._error),i&&typeof i.then=="function"?(Y1("resolving close/onClose promise"),i.then(()=>Pt.nextTick(e),o=>Pt.nextTick(e,o))):Pt.nextTick(e)}else t.length===2?t(r?n:this._error,e):r?t(n,e):t(this._error,n,e)}function ile(t,e){return n.bind(e);function n(r,i){let o;t.length===0?(o=t(),o&&o.then?o.then(function(){Pt.nextTick(i)},i):Pt.nextTick(i)):t.length===1?(o=t(this),o&&o.then?o.then(function(){Pt.nextTick(i)},i):Pt.nextTick(i)):t(this,i)}}function $5(t,e){return n.bind(e);function n(r,i){let o;t?t.length===0?(o=t(),o&&o.then?o.then(function(){Pt.nextTick(i,r)},i):Pt.nextTick(i,r)):t.length===1?(o=t(r),o&&o.then?o.then(function(){Pt.nextTick(i)},i):Pt.nextTick(i)):t.length===2?t(r,i):t(r,this,i):Pt.nextTick(i)}}EC.exports=ri;EC.exports.express=function(t){return ri(t,{expose:{use:"load"}})};var ale=EC.exports;const sle=Pae(ale);(function(){if(window.requestAnimationFrame&&window.cancelAnimationFrame)return;const t=["webkit","moz","ms","o"];for(const e of t)window.requestAnimationFrame=window.requestAnimationFrame||window[`${e}RequestAnimationFrame`],window.cancelAnimationFrame=window.cancelAnimationFrame||window[`${e}CancelAnimationFrame`]||window[`${e}CancelRequestAnimationFrame`];if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){let e=0;const n=!!(window.performance&&window.performance.now);window.requestAnimationFrame=function(r){const i=n?window.performance.now():new Date().getTime(),o=Math.max(0,16-(i-e)),l=window.setTimeout(function(){r(i+o)},o);return e=i+o,l},window.cancelAnimationFrame=clearTimeout}})();function ole(t,e=!0,n=!0,r){const i=e?"https://grpc-sdk.streamlayer.io:443":"https://grpc-sdk.next.streamlayer.io:443",o=e?"https://grpc.streamlayer.io:443":"https://grpc.next.streamlayer.io:443",l=sle(Object.create({}),{autostart:!1});return l.use(cae),l.use(rae,{onDeepLinkHandled:r==null?void 0:r.onDeepLinkHandled}),l.use(oae,{videoPlayerController:r==null?void 0:r.videoPlayerController}),l.use(uae,{onContentActivate:r==null?void 0:r.onContentActivate}),l.use(wie,{sdkKey:t,host:i,analyticsHost:o,version:r==null?void 0:r.version}),l.use(Lie),l.use(sae),l.use(bae),l.use(Kie),l.use(Nae),l.after((c,h,m)=>{if(c)throw c;h.ready(),m()}),n&&l.after(async(c,h,m)=>{if(c)throw c;await h.sdk.initializeApp(),m()}),l.onClose(()=>{console.log("close")}),l}const lle=({sdkKey:t,plugins:e,production:n,autoEnable:r,onDeepLinkHandled:i,videoPlayerController:o,onContentActivate:l})=>{const[c,h]=H.useState(null);return H.useEffect(()=>{let m=!1;if(!t)return console.error("streamlayer sdk key should be provided"),h(T=>(T!==null&&typeof T.disableApp=="function"&&T.disableApp(),null)),()=>{m=!0};const y=ole(t,n,r,{version:"1.5.1",onDeepLinkHandled:i,videoPlayerController:o,onContentActivate:l});if(e)for(const T of e)y.use(T);return y.ready().then(T=>{m||(h(T.sdk),typeof window<"u")}).catch(T=>console.log(T)),()=>{m=!0,y.close(function(T){if(T)throw T})}},[t,n]),c};var ule=Object.defineProperty,cle=(t,e,n)=>e in t?ule(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Zn=(t,e,n)=>cle(t,typeof e!="symbol"?e+"":e,n),IS=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jU(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function dle(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}const fle=HM({level:"trace",enabled:typeof window<"u"&&!!window.localStorage.getItem("SL_DEBUG"),browser:{write:t=>{console.log(t)}}}),Hv=(t,e)=>fle.child({name:t},e);class hle extends Event{constructor(e,n){super(e),Zn(this,"slEventBus"),this.slEventBus=n}}const mle=Hv("event-bus");class ple{constructor(e="sl-event-bus"){Zn(this,"name"),Zn(this,"listeners"),Zn(this,"emit",(n,r)=>{const i=new hle(this.name,{...r,type:n});mle.debug(i,"Emitting event"),window.dispatchEvent(i)}),Zn(this,"destroy",()=>{this.listeners.forEach(n=>{window.removeEventListener(this.name,n),this.listeners.delete(n)}),this.listeners.clear()}),this.name=e,this.listeners=new Set}listen(e){return window.addEventListener(this.name,e),this.listeners.add(e),()=>{this.off(e)}}off(e){window.removeEventListener(this.name,e),this.listeners.delete(e)}}function gle(t,e,n){let r=new Set([...e,void 0]);return t.listen((i,o,l)=>{r.has(l)&&n(i,o,l)})}window.slStore=Object.create(null);var UO;(function(t){t.ORGANIZATION="ORGANIZATION",t.STREAM="STREAM"})(UO||(UO={}));$t.BETTING+"",$t.GAMES+"",$t.PUBLIC_CHAT+"",$t.TWITTER+"";var BO;(function(t){t.Ready="ready",t.Suspended="suspended"})(BO||(BO={}));const Kh=new ple;window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));function yle(t){return t instanceof DOMException&&(t.code===22||t.code===1014||t.name==="QuotaExceededError"||t.name==="NS_ERROR_DOM_QUOTA_REACHED")}class vle{constructor(e="main",n=window.localStorage){Zn(this,"delimiter",":"),Zn(this,"prefix"),Zn(this,"storage"),Zn(this,"clear",()=>{for(const r in window.localStorage)r.startsWith(this.prefix)&&this.storage.removeItem(r)}),Zn(this,"generateKey",r=>`${this.prefix}${this.delimiter}${r.join(this.delimiter)}`),Zn(this,"write",(...r)=>{const i=r.pop()||"",o=this.generateKey(r);try{this.storage.setItem(o,i)}catch(l){yle(l)&&this.storage===window.sessionStorage&&(window.sessionStorage.removeItem("slstreamlogs"),this.storage.setItem(o,i))}}),Zn(this,"read",(...r)=>{const i=this.storage.getItem(this.generateKey(r));return i===null?void 0:i}),Zn(this,"remove",(...r)=>{this.storage.removeItem(this.generateKey(r))}),this.prefix=`sl-sdk${this.delimiter}${e}`,this.storage=n}}var $O;(function(t){t.Init="init",t.Ready="ready",t.Connecting="connecting",t.Connected="connected",t.Disconnected="disconnected",t.Failed="failed",t.Reconnect="reconnect",t.Reconnecting="reconnecting"})($O||($O={}));Et.Unknown,Et.Internal,Et.DeadlineExceeded,Et.ResourceExhausted,Et.FailedPrecondition,Et.Unavailable,Et.DataLoss;Hv("grpc:retry");n4(10,{description:"Number of attempts to retry"}),n4(3e4,{description:"Max delay between retries in milliseconds"});var ju;(function(t){t.SCHEMA="schema",t.EXTERNAL_TOKEN="eToken",t.TOKEN="token"})(ju||(ju={}));class Tle extends vle{constructor(){super("user"),Zn(this,"setSchema",e=>{this.write(ju.SCHEMA,e)}),Zn(this,"getSchema",()=>this.read(ju.SCHEMA)),Zn(this,"setToken",e=>{this.write(ju.TOKEN,e)}),Zn(this,"getToken",()=>this.read(ju.TOKEN)),Zn(this,"setExternalToken",e=>{this.write(ju.EXTERNAL_TOKEN,e)}),Zn(this,"getExternalToken",()=>this.read(ju.EXTERNAL_TOKEN)),Zn(this,"removeToken",()=>{this.remove(ju.TOKEN)})}}var VO;(function(t){t.DISABLED="disabled",t.INITIALIZATION="initialization",t.READY="ready",t.FAILED="failed",t.SUSPENDED="suspended"})(VO||(VO={}));Hv("deep_link");Hv("bypass");new Tle;Hv("video_player");ft.FACTOID+"",ft.POLL+"",ft.TRIVIA+"",ft.PREDICTION+"",ft.TWEET+"";var GO;(function(t){t.SHOWED="showed"})(GO||(GO={}));var zO;(function(t){t.ALLOWED="allowed",t.DISALLOWED="disallowed"})(zO||(zO={}));var jO;(function(t){t.OPENED="opened"})(jO||(jO={}));var HO;(function(t){t[t.ONBOARDING=1]="ONBOARDING",t[t.QUESTION=2]="QUESTION",t[t.QUESTION_RESOLVED=3]="QUESTION_RESOLVED"})(HO||(HO={}));var WO;(function(t){t.UNKNOWN="unknown",t.ALREADY_VOTED="already_voted"})(WO||(WO={}));var KO;(function(t){t.ONBOARDING="onboarding",t.ONBOARDING_IO="onboarding_io"})(KO||(KO={}));var YO;(function(t){t.Unset="unset",t.Required="required",t.Optional="optional",t.Completed="completed",t.Disabled="disabled",t.Unavailable="unavailable"})(YO||(YO={}));ft.POLL,ft.PREDICTION,ft.TRIVIA;const Sle={[$t.GAMES]:!0};function Wl(t,e={}){let n=H.useCallback(i=>e.keys?gle(t,e.keys,i):t.listen(i),[e.keys,t]),r=t.get.bind(t);return H.useSyncExternalStore(n,r,r)}function Ele(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var kle=/^((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|disableRemotePlayback|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)-.*))$/,V5=Ele(function(t){return kle.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),ble=function(){const t=Array.prototype.slice.call(arguments).filter(Boolean),e={},n=[];t.forEach(i=>{(i?i.split(" "):[]).forEach(o=>{if(o.startsWith("atm_")){const[,l]=o.split("_");e[l]=o}else n.push(o)})});const r=[];for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&r.push(e[i]);return r.push(...n),r.join(" ")},Jd=ble,wle=t=>t.toUpperCase()===t,Cle=t=>e=>t.indexOf(e)===-1,HU=(t,e)=>{const n={};return Object.keys(t).filter(Cle(e)).forEach(r=>{n[r]=t[r]}),n};function xle(t,e,n){const r=HU(e,n);if(!t){const i=typeof V5=="function"?{default:V5}:V5;Object.keys(r).forEach(o=>{i.default(o)||delete r[o]})}return r}var Ile=(t,e)=>{};function _le(t){let e="";return n=>{const r=(o,l)=>{const{as:c=t,class:h=e}=o,m=n.propsAsIs===void 0?!(typeof c=="string"&&c.indexOf("-")===-1&&!wle(c[0])):n.propsAsIs,y=xle(m,o,["as","class"]);y.ref=l,y.className=n.atomic?Jd(n.class,y.className||h):Jd(y.className||h,n.class);const{vars:T}=n;if(T){const E={};for(const x in T){const A=T[x],R=A[0],N=A[1]||"",P=typeof R=="function"?R(o):R;Ile(P,n.name),E[`--${x}`]=`${P}${N}`}const b=y.style||{},w=Object.keys(b);w.length>0&&w.forEach(x=>{E[x]=b[x]}),y.style=E}return t.__wyw_meta&&t!==c?(y.as=c,Zu.createElement(t,y)):Zu.createElement(c,y)},i=Zu.forwardRef?Zu.forwardRef(r):o=>{const l=HU(o,["innerRef"]);return r(l,o.innerRef)};return i.displayName=n.name,i.__wyw_meta={className:n.class||e,extends:t},i}}var ue=_le;const WU=ue("div")({name:"SDKContentContainer",class:"s6rlym7",propsAsIs:!1}),Lle=()=>WU,PC=ue(Lle())({name:"SDKWhiteContainer",class:"s1trfff0",propsAsIs:!0}),Ale=ue("div")({name:"TabsContainer",class:"t87r8je",propsAsIs:!1}),Rle=()=>PC,Ole=ue(Rle())({name:"LeaderboardContainer",class:"l1aiq1lq",propsAsIs:!0}),Nle=()=>PC,Ple=ue(Nle())({name:"TabsNavContainer",class:"t1o5m8d1",propsAsIs:!0}),Dle=ue("div")({name:"UserSummaryContainer",class:"uqh0y7s",propsAsIs:!1});var KU="Expected a function",qO=NaN,Mle="[object Symbol]",Fle=/^\s+|\s+$/g,Ule=/^[-+]0x[0-9a-f]+$/i,Ble=/^0b[01]+$/i,$le=/^0o[0-7]+$/i,Vle=parseInt,Gle=typeof IS=="object"&&IS&&IS.Object===Object&&IS,zle=typeof self=="object"&&self&&self.Object===Object&&self,jle=Gle||zle||Function("return this")(),Hle=Object.prototype,Wle=Hle.toString,Kle=Math.max,Yle=Math.min,G5=function(){return jle.Date.now()};function qle(t,e,n){var r,i,o,l,c,h,m=0,y=!1,T=!1,E=!0;if(typeof t!="function")throw new TypeError(KU);e=QO(e)||0,f4(n)&&(y=!!n.leading,T="maxWait"in n,o=T?Kle(QO(n.maxWait)||0,e):o,E="trailing"in n?!!n.trailing:E);function b(G){var B=r,q=i;return r=i=void 0,m=G,l=t.apply(q,B),l}function w(G){return m=G,c=setTimeout(R,e),y?b(G):l}function x(G){var B=G-h,q=G-m,le=e-B;return T?Yle(le,o-q):le}function A(G){var B=G-h,q=G-m;return h===void 0||B>=e||B<0||T&&q>=o}function R(){var G=G5();if(A(G))return N(G);c=setTimeout(R,x(G))}function N(G){return c=void 0,E&&r?b(G):(r=i=void 0,l)}function P(){c!==void 0&&clearTimeout(c),m=0,r=h=i=c=void 0}function $(){return c===void 0?l:N(G5())}function U(){var G=G5(),B=A(G);if(r=arguments,i=this,h=G,B){if(c===void 0)return w(h);if(T)return c=setTimeout(R,e),b(h)}return c===void 0&&(c=setTimeout(R,e)),l}return U.cancel=P,U.flush=$,U}function Qle(t,e,n){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(KU);return f4(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),qle(t,e,{leading:r,maxWait:e,trailing:i})}function f4(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Xle(t){return!!t&&typeof t=="object"}function Zle(t){return typeof t=="symbol"||Xle(t)&&Wle.call(t)==Mle}function QO(t){if(typeof t=="number")return t;if(Zle(t))return qO;if(f4(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=f4(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(Fle,"");var n=Ble.test(t);return n||$le.test(t)?Vle(t.slice(2),n?2:8):Ule.test(t)?qO:+t}var Jle=Qle;const YU=jU(Jle),eue={BG_TRANSPARENT:"rgba(0,0,0, .8)",BLUE_QUESTION_ACTION_BTN:"#1589ee",WHITE:"#FFFFFF",BLUE:"#2d6ffd",GREY_PRIMARY:"#909395",GREY_PRIMARY_ONBOARDING_INAPP:"#B5B7B8",PRIMARY_1:"#1D7BFF",PRIMARY_2:"#095CD1",PRIMARY_TEXT:"#090E13",SUCCESS:"#107D57",UNSUCCESS:"#DF2F3B",SECONDARY_RED1:"#DF2F3B",NEUTRALS_WHITE:"#FFFFFF",NEUTRALS_WHITE1:"#FFFFFF",NEUTRALS_GRAY1:"#F7F7F7",NEUTRALS_GRAY2:"#F2F2F1",NEUTRALS_GRAY3:"#E8E8E8",NEUTRALS_GRAY4:"#D9D9D6",NEUTRALS_GRAY5:"#B1B3B3",NEUTRALS_GRAY6:"#888B8D",NEUTRALS_GRAY7:"#6B6F73",NEUTRALS_GRAY9:"#25282A"},tue={BG_PRIMARY:"#13212b",BG_SECONDARY:"#152430",BG_SECONDARY1:"#435059",BORDER_PRIMARY:"rgba(255, 255, 255, 0.1)",TEXT_PRIMARY:"#f9f9f9",TEXT_PRIMARY1:"#f9f9f9",TEXT_SECONDARY:"rgba(255, 255, 255, 0.8)",TEXT_SECONDARY1:"#878787",WHITE:"#fff"},Dw={xs:324,sm:576,md:768,lg:992,xl:1200,xxl:1440};Object.entries(eue).reduce((t,[e,n])=>` + ${t} + --color-${e.toLowerCase().replaceAll("_","-")}: ${n}; + `,"");Object.entries(tue).reduce((t,[e,n])=>` + ${t} + --color-adv-${e.toLowerCase().replaceAll("_","-")}: ${n}; + `,"");function nue(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var qU={exports:{}},dr=qU.exports={},Ol,Nl;function Mw(){throw new Error("setTimeout has not been defined")}function Fw(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ol=setTimeout:Ol=Mw}catch{Ol=Mw}try{typeof clearTimeout=="function"?Nl=clearTimeout:Nl=Fw}catch{Nl=Fw}})();function QU(t){if(Ol===setTimeout)return setTimeout(t,0);if((Ol===Mw||!Ol)&&setTimeout)return Ol=setTimeout,setTimeout(t,0);try{return Ol(t,0)}catch{try{return Ol.call(null,t,0)}catch{return Ol.call(this,t,0)}}}function rue(t){if(Nl===clearTimeout)return clearTimeout(t);if((Nl===Fw||!Nl)&&clearTimeout)return Nl=clearTimeout,clearTimeout(t);try{return Nl(t)}catch{try{return Nl.call(null,t)}catch{return Nl.call(this,t)}}}var ac=[],N1=!1,Oh,mE=-1;function iue(){!N1||!Oh||(N1=!1,Oh.length?ac=Oh.concat(ac):mE=-1,ac.length&&XU())}function XU(){if(!N1){var t=QU(iue);N1=!0;for(var e=ac.length;e;){for(Oh=ac,ac=[];++mE1)for(var n=1;n{const r=e>=Dw.lg&&e[e=>(...n)=>(t&&Kh.emit(t==null?void 0:t.type,t),e?e(n):null)];YU((t,e)=>{var n;if(t.target instanceof Document){const r=(n=e.current)==null?void 0:n.getBoundingClientRect(),i=r&&r.top<0&&r.bottom>window.innerHeight;if(r&&!i)return}Kh.emit("interactions",{action:"scroll",payload:{}})},5e3);YU((t,e)=>{var n;if(t.target instanceof Document){const r=(n=e.current)==null?void 0:n.getBoundingClientRect(),i=r&&r.top<0&&r.bottom>window.innerHeight;if(r&&!i)return}Kh.emit("interactions",{action:"tap",payload:{}})},5e3);const oue=(t,e)=>{const n=window.innerWidth{const r=n&&e.useDomNode?document:t.current,i=o=>{e.listener(o,t)};return e.enabled&&(r==null||r.addEventListener(e.event,i)),()=>{r==null||r.removeEventListener(e.event,i)}},[n,e.enabled,e.listener])},lue="ttkj0ah";var uue=Object.defineProperty,cue=(t,e,n)=>e in t?uue(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,due=(t,e,n)=>cue(t,e+"",n);let fue=class{constructor(){due(this,"observers",new Set)}subscribe(t){this.observers.add(t)}unsubscribe(t){this.observers.delete(t)}notify(t){this.observers.forEach(e=>e(t))}};new fue;const hue={[ft.TWEET]:{label:"Insight",iconName:"icon-insight"},[ft.PROMOTION]:{label:"Insight",iconName:"icon-insight"},[ft.UNSET]:void 0,[ft.FACTOID]:{label:"Insight",iconName:"icon-insight"},[ft.POLL]:{label:"Poll",iconName:"icon-poll"},[ft.TRIVIA]:{label:"Trivia",iconName:"icon-trivia"},[ft.PREDICTION]:{label:"Prediction",iconName:"icon-prediction"}},mue=t=>H.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("path",{d:"M8 4L16 12L8 20",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pue=t=>H.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"check"},H.createElement("path",{id:"Vector",d:"M4 13L9 18L20 6",stroke:"#107D57",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),gue=t=>H.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("path",{d:"M10 6L16 12L10 18",stroke:"white",style:{stroke:"white",strokeOpacity:1},strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),yue=t=>H.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("rect",{width:16,height:16,rx:8,fill:"#CD2525"}),H.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"}),H.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"})),vue=t=>H.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Frame 3469478"},H.createElement("path",{id:"Vector 4",d:"M1.62695 1.62598L10.3742 10.3745",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}),H.createElement("path",{id:"Vector 5",d:"M1.62695 10.376L10.3742 1.62746",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}))),Tue=t=>H.createElement("svg",{width:64,height:65,viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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"})),Sue=t=>H.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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"})),Eue=t=>H.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Checkmark"},H.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"}))),kue=t=>H.createElement("svg",{width:12,height:20,viewBox:"0 0 12 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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})),bue=t=>H.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Chevron"},H.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"}))),wue=t=>H.createElement("svg",{width:16,height:17,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Chevron"},H.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"}))),Cue=t=>H.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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"}),H.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"})),xue=t=>H.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("path",{d:"M1.62695 1.62598L10.3742 10.3745",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"}),H.createElement("path",{d:"M1.62695 10.376L10.3742 1.62746",stroke:"#6B6F73",strokeWidth:1.5,strokeLinecap:"round"})),Iue=t=>H.createElement("svg",{width:10,height:10,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Group 465"},H.createElement("rect",{id:"Rectangle 368",x:1.25,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 1.25 0)",fill:"white"}),H.createElement("rect",{id:"Rectangle 369",y:8.75,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 0 8.75)",fill:"white"}))),_ue=t=>H.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("rect",{y:.00195312,width:24,height:24,rx:12,fill:"#F80022"}),H.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"}),H.createElement("rect",{x:7,y:15.752,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 7 15.752)",fill:"white"})),Lue=t=>H.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Frame"},H.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"}))),Aue=t=>H.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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"}),H.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"})),Rue=t=>H.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"CarbonUserAvatar 1"},H.createElement("g",{id:"Group 232"},H.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"}),H.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"})))),Oue=t=>H.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("rect",{width:24,height:24,rx:12,fill:"white",fillOpacity:.1}),H.createElement("rect",{x:8.25,y:7,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(45 8.25 7)",fill:"white"}),H.createElement("rect",{x:7,y:15.75,width:12.3744,height:1.76777,rx:.883884,transform:"rotate(-45 7 15.75)",fill:"white"})),Nue=t=>H.createElement("svg",{width:17,height:17,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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"})),Pue=t=>H.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("rect",{width:32,height:32,rx:16,fill:"white"}),H.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"}),H.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"})),Due=t=>H.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Share"},H.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"}))),Mue=t=>H.createElement("svg",{width:17,height:16,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"sc-ANdsN kTVWJE",...t},H.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"}),H.createElement("path",{d:"M13.3335 6.16669V3.16669H10.3335",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),H.createElement("path",{d:"M13.1668 3.33331L8.3335 8.16665",stroke:"#ffffff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Fue=t=>H.createElement("svg",{width:17,height:18,viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Group"},H.createElement("path",{id:"Vector",d:"M12.5396 12.431L15.8603 9.00169L12.5396 5.57239",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),H.createElement("path",{id:"Vector_2",d:"M15.8602 9.00159H5.57227",stroke:"#EB5757",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),H.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"}))),Uue=t=>H.createElement("svg",{width:99,height:96,viewBox:"0 0 99 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Masters Logo Big"},H.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"}),H.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"}))),Bue=t=>H.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("circle",{opacity:.5,cx:24,cy:24,r:24,fill:"black",style:{fill:"black",fillOpacity:1}}),H.createElement("rect",{x:18,y:13.999,width:4,height:20,rx:1,fill:"white",style:{fill:"white",fillOpacity:1}}),H.createElement("rect",{x:26,y:13.999,width:4,height:20,rx:1,fill:"white",style:{fill:"white",fillOpacity:1}})),$ue=t=>H.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("circle",{opacity:.5,cx:24,cy:24.001,r:24,fill:"black"}),H.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"})),Vue=t=>H.createElement("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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"})),Gue=t=>H.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:22,height:22,viewBox:"0 0 22 22",fill:"none",...t},H.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"})),zue=t=>H.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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"}),H.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"})),jue=t=>H.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Trophy"},H.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"}))),Hue=t=>H.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Trophy"},H.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"}))),Wue=t=>H.createElement("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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"})),Kue=t=>H.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Chevron Up"},H.createElement("path",{id:"Vector",d:"M4 9.6001L8 5.6001L12 9.6001",stroke:"#107D57",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}))),Yue=t=>H.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"cross"},H.createElement("path",{id:"Vector",d:"M6 18L18 6M6 6L18 18",stroke:"#BA0C2F",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),que=t=>H.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Friends"},H.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"}),H.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}))),Que=t=>H.createElement("svg",{width:86,height:21,viewBox:"0 0 86 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}}),H.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}})),Xue=t=>H.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Group 483737"},H.createElement("g",{id:"Icon / Live"},H.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"}),H.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"})))),Zue=t=>H.createElement("svg",{width:14,height:17,viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Icon / Games"},H.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}),H.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"}))),Jue=t=>H.createElement("svg",{width:19,height:14,viewBox:"0 0 19 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Icon / LeaderBoard"},H.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"}))),ece=t=>H.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{clipPath:"url(#clip0_1664_3009)"},H.createElement("path",{d:"M21 19V5C21 3.9 20.1 3 19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19ZM8.5 13.5L11 16.51L14.5 12L19 18H5L8.5 13.5Z",fill:"#B6B9C6"})),H.createElement("defs",null,H.createElement("clipPath",{id:"clip0_1664_3009"},H.createElement("rect",{width:24,height:24,fill:"white"})))),tce=t=>H.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"check"},H.createElement("path",{id:"Vector",d:"M3.59985 10.8L7.59985 14.8L16.3999 5.20001",stroke:"white",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}))),nce=t=>H.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"cross"},H.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"}))),rce=t=>H.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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"}),H.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"}),H.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"})),ice=t=>H.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Icon/Insight"},H.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"}),H.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"}),H.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"}),H.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"}),H.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"}),H.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"}),H.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"}),H.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"}),H.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"}))),ace=t=>H.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Poll"},H.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}))),sce=t=>H.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Icon/Notification/Prediciton"},H.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}))),oce=t=>H.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Icon/Notification/Trivia"},H.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}))),lce=t=>H.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.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"})),uce=t=>H.createElement("svg",{width:103,height:18,viewBox:"0 0 103 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{clipPath:"url(#clip0_6919_104497)"},H.createElement("path",{d:"M9.89618 3.45801C9.91951 3.45801 9.94451 3.46134 9.96784 3.46134C9.97618 3.46134 9.98284 3.46134 9.99118 3.46467H9.99784C10.0095 3.46467 10.0212 3.46801 10.0312 3.46801C10.0412 3.46801 10.0462 3.46801 10.0545 3.47134C10.0762 3.47467 10.0962 3.47467 10.1178 3.47634C10.1412 3.47967 10.1662 3.48134 10.1895 3.48467H10.2012C10.2462 3.48967 10.2945 3.49634 10.3395 3.50467C10.4512 3.52467 10.5595 3.54801 10.6662 3.57801C10.6928 3.58301 10.7178 3.59301 10.7445 3.60134H10.7478C10.7745 3.60967 10.7995 3.61801 10.8262 3.62467C10.8528 3.63301 10.8778 3.64134 10.9045 3.65134C10.9312 3.65967 10.9562 3.66801 10.9795 3.67967C11.0012 3.68801 11.0212 3.69634 11.0428 3.70634C11.0495 3.70967 11.0578 3.71134 11.0645 3.71467C11.0828 3.72301 11.1012 3.72967 11.1195 3.73801C11.1262 3.74134 11.1312 3.74301 11.1378 3.74634C11.1562 3.75467 11.1712 3.76134 11.1895 3.76967C11.1962 3.77301 11.2045 3.77467 11.2128 3.78134C11.2345 3.78967 11.2528 3.79801 11.2728 3.80967C11.2762 3.80967 11.2795 3.81301 11.2812 3.81301C11.3045 3.82467 11.3295 3.83634 11.3512 3.84801C11.3695 3.85634 11.3878 3.86801 11.4062 3.87634C11.4212 3.88134 11.4328 3.89134 11.4462 3.89967C11.4645 3.91134 11.4828 3.91967 11.5012 3.93134C11.5045 3.93467 11.5078 3.93467 11.5095 3.93634L11.5728 3.97467H11.5762L15.2178 6.18801L15.4412 6.32467C16.3228 6.90801 16.9028 7.88467 16.9028 8.99301C16.9028 10.1013 16.3262 11.0763 15.4445 11.6613L15.2095 11.803L11.5745 14.0113H11.5712L11.5078 14.0497C11.5078 14.0497 11.5012 14.053 11.4995 14.0547C11.4812 14.0663 11.4628 14.0747 11.4445 14.0863C11.4595 14.078 11.4745 14.0697 11.4895 14.0597L5.94951 17.433C5.94951 17.433 5.94618 17.433 5.94618 17.4363L5.74451 17.558H5.74118C5.19784 17.863 4.55784 18.0247 3.87784 17.993C2.73618 17.938 1.75784 17.3463 1.19284 16.4847C0.837844 15.9413 0.64451 15.2913 0.681177 14.6013C0.71451 13.983 0.922844 13.4147 1.26118 12.9397L1.26951 12.9247L4.04451 8.99634L6.77784 5.12634C6.81118 5.07967 6.84784 5.03301 6.87784 4.98467C6.87451 4.98967 6.86951 4.99967 6.86284 5.00467C6.87118 4.98967 6.88118 4.97634 6.88951 4.96134C6.88951 4.95801 6.89284 4.95801 6.89284 4.95634C6.89618 4.95301 6.89951 4.94801 6.90118 4.94467C6.90118 4.94467 6.90118 4.94134 6.90451 4.94134C6.91951 4.92134 6.93451 4.90134 6.94618 4.87801C6.96118 4.85801 6.97618 4.83801 6.99118 4.81634C7.00618 4.79634 7.02118 4.77634 7.03618 4.75467C7.03951 4.75134 7.03951 4.74967 7.04284 4.74634C7.04618 4.74301 7.04618 4.74134 7.04951 4.74134C7.06451 4.72134 7.07951 4.70134 7.09784 4.67967C7.10951 4.66467 7.12118 4.65134 7.13451 4.63634C7.16784 4.59801 7.20118 4.56134 7.23784 4.52301C7.25284 4.50801 7.26451 4.49467 7.27951 4.47967C7.30118 4.45634 7.32118 4.43634 7.34618 4.41634C7.36451 4.39967 7.38284 4.38134 7.40118 4.36467C7.41951 4.34801 7.43451 4.33301 7.45284 4.31801C7.45618 4.31467 7.45951 4.31301 7.45951 4.31301C7.47118 4.30134 7.48118 4.29301 7.49284 4.28467C7.50451 4.27301 7.51951 4.26134 7.53284 4.25301C7.53618 4.24967 7.53951 4.24801 7.54118 4.24801C7.55951 4.23301 7.57451 4.21967 7.59284 4.20467C7.60784 4.18967 7.62618 4.17801 7.64118 4.16634C7.65618 4.15467 7.66784 4.14634 7.68284 4.13467C7.70118 4.11967 7.71951 4.10801 7.73784 4.09467C7.75284 4.08634 7.76451 4.07467 7.77951 4.06634C7.78618 4.06134 7.79451 4.05467 7.80284 4.05134C7.81784 4.03967 7.83284 4.03134 7.84784 4.02301C7.85118 4.01967 7.85618 4.01801 7.85951 4.01467C7.87784 4.00301 7.89618 3.99134 7.91118 3.98301C7.91784 3.97801 7.92618 3.97467 7.93284 3.96801C7.94784 3.95967 7.95951 3.95134 7.97451 3.94134C7.98284 3.93634 7.99284 3.92967 8.00118 3.92467C8.01618 3.91634 8.03451 3.90801 8.04951 3.89634C8.05284 3.89301 8.05784 3.89134 8.06451 3.88801C8.08618 3.87634 8.10451 3.86467 8.12451 3.85634C8.12784 3.85301 8.13118 3.85301 8.13618 3.85134C8.15784 3.83967 8.17784 3.82801 8.19951 3.81967C8.19951 3.81967 8.20284 3.81967 8.20284 3.81634C8.22618 3.80467 8.24784 3.79301 8.27284 3.78134C8.27284 3.78134 8.27618 3.78134 8.27618 3.77801C8.29451 3.76967 8.31284 3.76134 8.33284 3.75134C8.34118 3.74801 8.35118 3.74301 8.35951 3.73967C8.37118 3.73467 8.38284 3.72801 8.39618 3.72467C8.41118 3.71967 8.42284 3.71301 8.43784 3.70801C8.46118 3.69967 8.48284 3.69134 8.50784 3.68134C8.52284 3.67634 8.53451 3.66967 8.54951 3.66634C8.57118 3.65801 8.59118 3.65134 8.61284 3.64301C8.63118 3.63801 8.65284 3.63134 8.66951 3.62301C8.75451 3.59634 8.83784 3.57134 8.92284 3.54967C8.94118 3.54467 8.96284 3.54134 8.97951 3.53801C9.08451 3.51467 9.19451 3.49467 9.30284 3.48301C9.32951 3.47967 9.35784 3.47801 9.38451 3.47467C9.42118 3.47134 9.45951 3.46967 9.49618 3.46634C9.51118 3.46634 9.52284 3.46301 9.53784 3.46301H9.55951C9.58951 3.46301 9.61618 3.45967 9.64784 3.45967H9.73784C9.79451 3.45967 9.84284 3.45967 9.89451 3.46301L9.89618 3.45801ZM10.6662 14.413C10.5612 14.4413 10.4512 14.4647 10.3395 14.4863C10.4512 14.4663 10.5595 14.443 10.6662 14.413ZM9.56118 14.5313H9.56951C9.56118 14.5313 9.54784 14.5313 9.53951 14.528C9.54618 14.528 9.55451 14.5313 9.56118 14.5313ZM7.08784 13.293C7.05451 13.253 7.02451 13.2147 6.99451 13.1747C7.02451 13.2147 7.05784 13.253 7.08784 13.293ZM6.90284 13.043C6.90284 13.043 6.90618 13.0463 6.90618 13.048C6.90284 13.0447 6.90284 13.043 6.89951 13.0363C6.89618 13.033 6.89618 13.0297 6.89284 13.0247C6.86951 12.9897 6.84784 12.953 6.82284 12.918C6.84451 12.953 6.86784 12.9913 6.88951 13.0247C6.89618 13.0297 6.89784 13.0363 6.90118 13.0413L6.90284 13.043ZM6.89451 13.0263C6.85784 12.968 6.81951 12.913 6.77618 12.858L6.89451 13.0263Z",fill:"#1652A8",style:{fill:"#1652A8",fill:"color(display-p3 0.0863 0.3216 0.6588)",fillOpacity:1}}),H.createElement("g",{opacity:.85},H.createElement("path",{d:"M5.77088 0.453306L5.97588 0.578306L5.97921 0.581639L11.5225 3.94997C11.5075 3.94164 11.4925 3.93331 11.4775 3.92331C11.4959 3.93497 11.5142 3.94331 11.5325 3.95497C11.5359 3.95831 11.5392 3.95831 11.5409 3.95997L11.6042 3.99831H11.6075L15.2492 6.21164L15.4725 6.34831C16.3542 6.93164 16.9342 7.9083 16.9342 9.01664C16.9342 10.125 16.3575 11.1 15.4759 11.685L15.2409 11.8266L11.6059 14.035H11.6025L11.5392 14.0733C11.5392 14.0733 11.5325 14.0766 11.5309 14.0783C11.5125 14.09 11.4942 14.0983 11.4759 14.11C11.4642 14.1183 11.4492 14.125 11.4359 14.1333C11.4175 14.145 11.3992 14.1533 11.3809 14.1616C11.3575 14.1733 11.3359 14.185 11.3109 14.1966C11.3075 14.2 11.3042 14.2 11.3025 14.2C11.2842 14.2116 11.2625 14.22 11.2425 14.2283C11.2359 14.2316 11.2275 14.2333 11.2192 14.24C11.2009 14.2483 11.1859 14.255 11.1675 14.2633C11.1609 14.2666 11.1592 14.2683 11.1525 14.2683C11.1309 14.2766 11.1109 14.285 11.0859 14.2966C11.0625 14.3083 11.0342 14.3166 11.0109 14.325C10.9875 14.3333 10.9592 14.345 10.9359 14.3533C10.9092 14.3616 10.8842 14.37 10.8575 14.38C10.8309 14.3883 10.8059 14.3966 10.7792 14.4033H10.7759C10.7492 14.4116 10.7242 14.4183 10.6975 14.4266C10.5925 14.455 10.4825 14.4783 10.3709 14.4983C10.3259 14.5066 10.2775 14.5133 10.2325 14.5183C10.2259 14.5183 10.2242 14.5183 10.2209 14.5216C10.1975 14.525 10.1725 14.5283 10.1492 14.53C10.1009 14.5366 10.0525 14.5383 10.0042 14.5416C9.92921 14.5483 9.85254 14.5483 9.77754 14.5483H9.68088C9.65421 14.5483 9.62921 14.545 9.60254 14.545C9.59421 14.545 9.58088 14.545 9.57254 14.5416C9.53254 14.5383 9.49088 14.5366 9.45254 14.5333C9.27421 14.5166 9.09588 14.4866 8.92754 14.4466C8.90421 14.44 8.87921 14.435 8.85254 14.4266C8.81921 14.4183 8.78588 14.41 8.74921 14.3983C8.73088 14.3933 8.70921 14.3866 8.69254 14.3816C8.66588 14.3733 8.64088 14.365 8.61421 14.355C8.58754 14.3466 8.56254 14.3383 8.53921 14.3266C8.51588 14.3183 8.48754 14.3066 8.46421 14.2983C8.44088 14.29 8.41921 14.2816 8.39754 14.27C8.38921 14.2666 8.38254 14.265 8.37421 14.2583C8.35588 14.25 8.33754 14.2416 8.31754 14.2316C8.31754 14.2316 8.31421 14.2316 8.31421 14.2283C8.29088 14.2166 8.26588 14.205 8.24254 14.1933C8.21921 14.1816 8.19421 14.17 8.17088 14.155C8.14754 14.1433 8.12254 14.1283 8.10088 14.1166C8.07754 14.105 8.05254 14.09 8.03088 14.0766C8.00754 14.0616 7.98588 14.0483 7.96088 14.0366C7.93754 14.0216 7.91588 14.0083 7.89421 13.9933C7.87254 13.9783 7.85254 13.965 7.83088 13.95C7.82754 13.95 7.82754 13.9466 7.82421 13.945C7.80588 13.9333 7.78754 13.9183 7.76754 13.905C7.76421 13.9016 7.76088 13.9016 7.75921 13.9C7.74088 13.885 7.72254 13.8733 7.70421 13.86C7.70088 13.8566 7.69588 13.855 7.69254 13.8483C7.67421 13.8333 7.65588 13.82 7.63754 13.805C7.63754 13.805 7.63421 13.805 7.63421 13.8016C7.61588 13.7866 7.59754 13.7733 7.57754 13.755C7.57421 13.7516 7.57088 13.7516 7.56921 13.7483C7.55421 13.7366 7.53921 13.7216 7.52421 13.71C7.51754 13.705 7.51254 13.6983 7.50588 13.695C7.49421 13.6833 7.47921 13.6716 7.46588 13.66C7.43921 13.6366 7.41421 13.6133 7.39088 13.5866C7.37254 13.57 7.35754 13.5516 7.33921 13.535C7.32754 13.5233 7.31754 13.5116 7.30588 13.5C7.29421 13.4883 7.28421 13.48 7.27588 13.4683C7.25754 13.4516 7.24254 13.43 7.22421 13.4133C7.19088 13.375 7.15754 13.3383 7.12421 13.2966C7.09088 13.2566 7.06088 13.2183 7.03088 13.1783C7.01588 13.1583 7.00088 13.1383 6.98588 13.1166C6.97088 13.0966 6.95588 13.0766 6.94421 13.0533C6.94088 13.05 6.94088 13.0483 6.93754 13.0416C6.93421 13.0383 6.93421 13.0366 6.93088 13.03C6.90754 12.995 6.88588 12.9583 6.86088 12.9233C6.88254 12.9583 6.90588 12.995 6.92754 13.03C6.89088 12.9716 6.85254 12.9166 6.80921 12.8616L4.07921 8.99664L1.34088 5.12997L1.23254 4.97664L1.22921 4.97164C0.92421 4.51164 0.737543 3.97497 0.707543 3.39497C0.670877 2.70497 0.86421 2.05164 1.22088 1.50997C1.78588 0.648306 2.76588 0.0566391 3.90421 -2.75556e-05C4.58421 -0.0150276 5.22421 0.148306 5.77088 0.453306Z",fill:"url(#paint0_linear_6919_104497)",style:{}})),H.createElement("path",{d:"M32.4132 12.862C31.2015 12.862 30.4482 12.0503 30.4482 10.7203V8.4453H32.6632V7.02697H30.4482V4.72363L28.8548 5.9053V7.0253H27.9648V8.44363H28.8548V10.7053C28.8548 12.9953 30.1982 14.412 32.4282 14.412H32.7682V12.862H32.4132Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),H.createElement("path",{d:"M19.9812 12.5767L21.4028 11.4651C22.0395 12.4867 22.8995 13.0351 23.9962 13.0351C25.1962 13.0351 25.9512 12.2651 25.9512 11.3017C25.9512 10.1901 24.7662 9.83506 23.5212 9.43506C22.0545 8.96172 20.4695 8.36839 20.4695 6.38339C20.4695 4.73839 21.9362 3.43506 23.9362 3.43506C25.5812 3.43506 26.6028 4.07172 27.4328 5.03506L26.1145 6.01339C25.6262 5.25839 24.8995 4.85839 23.9362 4.85839C22.8395 4.85839 22.1278 5.51006 22.1278 6.35506C22.1278 7.39172 23.2695 7.73339 24.5128 8.14839C25.9945 8.65172 27.6095 9.29006 27.6095 11.3051C27.6095 12.9651 26.2462 14.5501 24.0095 14.5501C22.1578 14.5501 20.8978 13.7651 19.9795 12.5801L19.9812 12.5767Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),H.createElement("path",{d:"M38.2695 10.7367C38.2695 8.56503 39.9379 6.8667 42.1095 6.8667C44.2812 6.8667 45.9062 8.4467 45.9062 10.6334V11.2534H39.7912C39.9979 12.39 40.8845 13.1434 42.1695 13.1434C43.1745 13.1434 43.9429 12.6117 44.3262 11.8134L45.6262 12.5367C44.9762 13.7484 43.8095 14.545 42.1695 14.545C39.8362 14.545 38.2695 12.8767 38.2695 10.735V10.7367ZM39.8645 9.91003H44.2962C44.0595 8.8467 43.2479 8.25503 42.1095 8.25503C40.9712 8.25503 40.1595 8.93503 39.8645 9.91003Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),H.createElement("path",{d:"M33.7549 10.72C33.7549 8.42999 35.0982 7.02832 37.3282 7.02832H38.0366V8.56499H37.3132C36.1016 8.56499 35.3199 9.40665 35.3349 10.7367V14.415H33.7549V10.7233V10.72Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),H.createElement("path",{d:"M46.6882 10.7218C46.6882 8.56517 48.3865 6.88184 50.5132 6.88184C52.6399 6.88184 54.3082 8.56517 54.3082 10.7218V14.4135H52.7582V13.4535C52.2415 14.1468 51.4432 14.5468 50.4682 14.5468C48.3565 14.5468 46.6865 12.8935 46.6865 10.7218H46.6882ZM52.7882 10.7218C52.7882 9.40684 51.7832 8.3585 50.5132 8.3585C49.2432 8.3585 48.2382 9.40684 48.2382 10.7218C48.2382 12.0368 49.2282 13.0852 50.5132 13.0852C51.7982 13.0852 52.7882 12.0218 52.7882 10.7218Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),H.createElement("path",{d:"M55.3027 10.2717C55.3027 8.30667 56.6461 6.875 58.6411 6.875C59.7777 6.875 60.6944 7.33333 61.2694 8.10167C61.8161 7.33333 62.7027 6.875 63.8394 6.875C65.8477 6.875 67.2511 8.27833 67.2511 10.2717V14.4067H65.6711V10.2867C65.6711 9.165 64.9177 8.38167 63.8394 8.38167C62.7611 8.38167 62.0527 9.18 62.0677 10.2433V14.4083H60.4877V10.2883C60.4877 9.16667 59.7194 8.38333 58.6411 8.38333C57.5627 8.38333 56.8694 9.18167 56.8827 10.245V14.41H55.3027V10.275V10.2717Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),H.createElement("path",{d:"M68.2646 3.62695H69.8746V12.872H74.2313V14.4086H68.2646V3.62695Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),H.createElement("path",{d:"M89.418 10.7367C89.418 8.56503 91.0863 6.8667 93.258 6.8667C95.4296 6.8667 97.0546 8.4467 97.0546 10.6334V11.2534H90.9396C91.1463 12.39 92.033 13.1434 93.318 13.1434C94.323 13.1434 95.0913 12.6117 95.4746 11.8134L96.7746 12.5367C96.1246 13.7484 94.958 14.545 93.318 14.545C90.9846 14.545 89.418 12.8767 89.418 10.735V10.7367ZM91.013 9.91003H95.4446C95.208 8.8467 94.3963 8.25503 93.258 8.25503C92.1196 8.25503 91.308 8.93503 91.013 9.91003Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),H.createElement("path",{d:"M74.4948 10.7218C74.4948 8.56517 76.1932 6.88184 78.3198 6.88184C80.4465 6.88184 82.1148 8.56517 82.1148 10.7218V14.4135H80.5648V13.4535C80.0482 14.1468 79.2498 14.5468 78.2748 14.5468C76.1632 14.5468 74.4932 12.8935 74.4932 10.7218H74.4948ZM80.5948 10.7218C80.5948 9.40684 79.5898 8.3585 78.3198 8.3585C77.0498 8.3585 76.0448 9.40684 76.0448 10.7218C76.0448 12.0368 77.0348 13.0852 78.3198 13.0852C79.6048 13.0852 80.5948 12.0218 80.5948 10.7218Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),H.createElement("path",{d:"M85.0381 14.0498L81.9814 7.0498H83.6798L85.8364 12.1748L87.8748 7.0498H89.5431L85.0831 17.8465H83.4581L85.0381 14.0515V14.0498Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}}),H.createElement("path",{d:"M98.041 10.7151C98.041 8.4251 99.3843 7.02344 101.614 7.02344H102.323V8.5601H101.599C100.388 8.5601 99.606 9.40177 99.621 10.7318V14.4101H98.041V10.7184V10.7151Z",fill:"#687C8B",style:{fill:"#687C8B",fill:"color(display-p3 0.4078 0.4863 0.5451)",fillOpacity:1}})),H.createElement("defs",null,H.createElement("linearGradient",{id:"paint0_linear_6919_104497",x1:4.31754,y1:8.70664,x2:13.6359,y2:3.59497,gradientUnits:"userSpaceOnUse"},H.createElement("stop",{offset:.2,stopColor:"#1589EE",style:{stopColor:"#1589EE",stopColor:"color(display-p3 0.0824 0.5373 0.9333)",stopOpacity:1}}),H.createElement("stop",{offset:1,stopColor:"#5EB4FF",style:{stopColor:"#5EB4FF",stopColor:"color(display-p3 0.3686 0.7059 1.0000)",stopOpacity:1}})),H.createElement("clipPath",{id:"clip0_6919_104497"},H.createElement("rect",{width:101.648,height:18,fill:"white",style:{fill:"white",fillOpacity:1},transform:"translate(0.675781)"})))),cce=t=>H.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},H.createElement("g",{id:"Frame 3469523"},H.createElement("rect",{x:.5,y:.5,width:17,height:17,rx:8.5,fill:"black"}),H.createElement("rect",{x:.5,y:.5,width:17,height:17,rx:8.5,stroke:"#F2F2F1"}),H.createElement("g",{id:"layer1"},H.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"})))),XO={"invite-game-icon":que,"icon-trophy":Hue,"icon-trophy-green":jue,"icon-trivia":oce,"icon-thumb-down":Gue,"icon-thumb-up":zue,"icon-star":Vue,"icon-prediction":sce,"icon-insight":ice,"icon-poll":ace,"icon-play":$ue,"icon-pause":Bue,"icon-masters-logo":Uue,"icon-logout":Fue,"icon-link":Mue,"icon-external-link":Nue,"icon-invite-arrow":Due,"icon-friends":Pue,"icon-exit":Oue,"icon-default-user-avatar":Rue,"icon-copy":Aue,"icon-cross":vue,"icon-close":_ue,"icon-close-btn-white":Iue,"icon-close-btn-gray":xue,"icon-circle-arrow-right":Cue,"icon-chevron":wue,"icon-chevron-white-left":bue,"icon-chevron-left":kue,"icon-check":pue,"icon-check-white":Eue,"icon-check-green":Sue,"icon-check-circle":Tue,"icon-btn-channels":Xue,"icon-btn-feature-groups":Zue,"icon-btn-leaderboard":Jue,"icon-arrow":mue,"icon-twitter-verified":Wue,correct:tce,incorrect:nce,questionExpired:rce,selected:lce,circleClose:yue,incorrectVoted:Yue,mastersLogo:Que,streamLayerLogo:uce,twitter:cce,iconUp:Kue,iconCopySuccess:Lue,chevronRight:gue,noImageIcon:ece},pa=({name:t,style:e,className:n,...r})=>{if(!XO[t])return j.jsx("span",{children:t});const i=XO[t];return j.jsx(i,{"data-testid":"svg-icon",style:e,className:n,...r})},eB=ue("div")({name:"Container",class:"cqg02m",propsAsIs:!1}),S1=({children:t,style:e,loading:n})=>n?j.jsx(eB,{style:e,children:t}):t,tB=t=>t.split(/\s+/).map(e=>e[0]).join("").toUpperCase(),nB=t=>t?t.toLocaleString("en-US"):"0",dce=t=>{const e=new Date(t);if(!e)return"";const n=new Date,r=Math.floor(n.getTime()-e.getTime());return r<6e4?`${Math.floor(r/1e3)}s`:r<36e5?`${Math.floor(r/6e4)}m`:r<864e5?`${Math.floor(r/36e5)}h`:e.getFullYear()===n.getFullYear()?`${e.toLocaleDateString("en-US",{month:"short",day:"numeric"})}`:`${e.toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"2-digit"})}`},fce=ue("div")({name:"Container",class:"c1zy8a",propsAsIs:!1}),hce=ue("div")({name:"Title",class:"t1vih9p5",propsAsIs:!1}),mce=ue("div")({name:"Indicator",class:"i1fbnvpb",propsAsIs:!1}),ZO=({indicator:t,title:e})=>j.jsxs(fce,{children:[j.jsx(hce,{children:e}),j.jsx(mce,{children:t})]}),pce=ue("div")({name:"Container",class:"ctmhwyc",propsAsIs:!1}),gce=ue("div")({name:"Indicator",class:"i1jri200",propsAsIs:!1}),yce=ue("div")({name:"Title",class:"t8s05oq",propsAsIs:!1}),_S=({indicator:t,title:e})=>j.jsxs(pce,{children:[j.jsx(gce,{children:t}),j.jsx(yce,{children:e})]}),vce=ue("div")({name:"Container",class:"c1yrpn9o",propsAsIs:!1}),Tce=ue("div")({name:"TopInfo",class:"t17fwahh",propsAsIs:!1}),Sce=ue("div")({name:"BottomInfo",class:"by6w7e9",propsAsIs:!1}),Ece=ue("div")({name:"User",class:"u1g7arbm",propsAsIs:!1}),kce=ue("img")({name:"Avatar",class:"a1ldeata",propsAsIs:!1}),bce=ue("div")({name:"UserInfo",class:"u10d4koz",propsAsIs:!1}),wce=ue("div")({name:"UserName",class:"u1q6roj0",propsAsIs:!1}),Cce=ue("div")({name:"UserRating",class:"ui0m425",propsAsIs:!1}),xce=ue("img")({name:"TrophyIcon",class:"t1el3mrn",propsAsIs:!1}),Ice=ue("div")({name:"Rts",class:"r2vgnxv",propsAsIs:!1}),_ce=ue("div")({name:"RtsIndicator",class:"roqn06j",propsAsIs:!1}),Lce=ue("div")({name:"RtsLabel",class:"r15adx7c",propsAsIs:!1}),Ace=ue("div")({name:"Divider",class:"dv59lta",propsAsIs:!1}),Rce=ue("div")({name:"Ranks",class:"r55lotb",propsAsIs:!1}),Oce=ue("div")({name:"Statistics",class:"s1knfgqt",propsAsIs:!1}),Nce=ue("div")({name:"AvatarPlaceholder",class:"a1mqo824",propsAsIs:!1}),Pce=ue("button")({name:"UserAccountBtn",class:"uxareh6",propsAsIs:!1}),Dce="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",Mce=({loading:t,avatar:e,name:n,points:r,friendsRank:i,rank:o,streak:l,correct:c,incorrect:h,inTop:m,successRate:y})=>j.jsxs(vce,{"data-loading":t,children:[j.jsx(Tce,{children:j.jsx(S1,{loading:t,children:j.jsxs(Ece,{children:[j.jsxs(Pce,{children:[e&&j.jsx(kce,{alt:"avatar",src:e}),!e&&j.jsx(Nce,{children:tB(n||"")})]}),j.jsxs(bce,{children:[j.jsx(wce,{children:n}),j.jsxs(Cce,{children:[j.jsxs(Ice,{children:[j.jsx(xce,{alt:"rank-icon",src:Dce}),j.jsxs(_ce,{children:[nB(r),j.jsx(Lce,{children:"PTS"})]})]}),j.jsx(Ace,{}),j.jsxs("div",{children:["TOP ",m||0,"%"]})]})]})]})})}),j.jsxs(Sce,{children:[j.jsxs(Rce,{children:[j.jsx(S1,{loading:t,style:{width:"100%"},children:j.jsx(ZO,{indicator:i||0,title:"Friends rank"})}),j.jsx(S1,{loading:t,style:{width:"100%"},children:j.jsx(ZO,{indicator:o||0,title:"Global rank"})})]}),j.jsx(S1,{loading:t,children:j.jsxs(Oce,{children:[j.jsx(_S,{indicator:l||0,title:"Win streak"}),j.jsx(_S,{indicator:c||0,title:"Correct"}),j.jsx(_S,{indicator:h||0,title:"Incorrect"}),j.jsx(_S,{indicator:`${y||0}%`,title:"Succ. rate"})]})})]})]});var Uw={exports:{}},Ga={},z5={exports:{}},JO={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var eN;function Fce(){return eN||(eN=1,function(t){function e(ne,re){var ee=ne.length;ne.push(re);e:for(;0>>1,Y=ne[Oe];if(0>>1;Oei(Ve,ee))Kei(ot,Ve)?(ne[Oe]=ot,ne[Ke]=ee,Oe=Ke):(ne[Oe]=Ve,ne[Ee]=ee,Oe=Ee);else if(Kei(ot,ee))ne[Oe]=ot,ne[Ke]=ee,Oe=Ke;else break e}}return re}function i(ne,re){var ee=ne.sortIndex-re.sortIndex;return ee!==0?ee:ne.id-re.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var l=Date,c=l.now();t.unstable_now=function(){return l.now()-c}}var h=[],m=[],y=1,T=null,E=3,b=!1,w=!1,x=!1,A=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function P(ne){for(var re=n(m);re!==null;){if(re.callback===null)r(m);else if(re.startTime<=ne)r(m),re.sortIndex=re.expirationTime,e(h,re);else break;re=n(m)}}function $(ne){if(x=!1,P(ne),!w)if(n(h)!==null)w=!0,De(U);else{var re=n(m);re!==null&&nt($,re.startTime-ne)}}function U(ne,re){w=!1,x&&(x=!1,R(q),q=-1),b=!0;var ee=E;try{for(P(re),T=n(h);T!==null&&(!(T.expirationTime>re)||ne&&!me());){var Oe=T.callback;if(typeof Oe=="function"){T.callback=null,E=T.priorityLevel;var Y=Oe(T.expirationTime<=re);re=t.unstable_now(),typeof Y=="function"?T.callback=Y:T===n(h)&&r(h),P(re)}else r(h);T=n(h)}if(T!==null)var oe=!0;else{var Ee=n(m);Ee!==null&&nt($,Ee.startTime-re),oe=!1}return oe}finally{T=null,E=ee,b=!1}}var G=!1,B=null,q=-1,le=5,X=-1;function me(){return!(t.unstable_now()-Xne||125Oe?(ne.sortIndex=ee,e(m,ne),n(h)===null&&ne===n(m)&&(x?(R(q),q=-1):x=!0,nt($,ee-Oe))):(ne.sortIndex=Y,e(h,ne),w||b||(w=!0,De(U))),ne},t.unstable_shouldYield=me,t.unstable_wrapCallback=function(ne){var re=E;return function(){var ee=E;E=re;try{return ne.apply(this,arguments)}finally{E=ee}}}}(JO)),JO}var tN={},nN;function Uce(){return nN||(nN=1,function(t){Wv.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 e=!1,n=!1,r=5;function i(Ge,ht){var At=Ge.length;Ge.push(ht),c(Ge,ht,At)}function o(Ge){return Ge.length===0?null:Ge[0]}function l(Ge){if(Ge.length===0)return null;var ht=Ge[0],At=Ge.pop();return At!==ht&&(Ge[0]=At,h(Ge,At,0)),ht}function c(Ge,ht,At){for(var ln=At;ln>0;){var In=ln-1>>>1,Ii=Ge[In];if(m(Ii,ht)>0)Ge[In]=ht,Ge[ln]=Ii,ln=In;else return}}function h(Ge,ht,At){for(var ln=At,In=Ge.length,Ii=In>>>1;lnAt&&(!Ge||Xa()));){var ln=we.callback;if(typeof ln=="function"){we.callback=null,ye=we.priorityLevel;var In=we.expirationTime<=At,Ii=ln(In);At=t.unstable_now(),typeof Ii=="function"?we.callback=Ii:we===o(le)&&l(le),ee(At)}else l(le);we=o(le)}if(we!==null)return!0;var er=o(X);return er!==null&&Ho(Oe,er.startTime-At),!1}function Ee(Ge,ht){switch(Ge){case y:case T:case E:case b:case w:break;default:Ge=E}var At=ye;ye=Ge;try{return ht()}finally{ye=At}}function Ve(Ge){var ht;switch(ye){case y:case T:case E:ht=E;break;default:ht=ye;break}var At=ye;ye=ht;try{return Ge()}finally{ye=At}}function Ke(Ge){var ht=ye;return function(){var At=ye;ye=ht;try{return Ge.apply(this,arguments)}finally{ye=At}}}function ot(Ge,ht,At){var ln=t.unstable_now(),In;if(typeof At=="object"&&At!==null){var Ii=At.delay;typeof Ii=="number"&&Ii>0?In=ln+Ii:In=ln}else In=ln;var er;switch(Ge){case y:er=$;break;case T:er=U;break;case w:er=q;break;case b:er=B;break;case E:default:er=G;break}var Za=In+er,zn={id:me++,callback:ht,priorityLevel:Ge,startTime:In,expirationTime:Za,sortIndex:-1};return In>ln?(zn.sortIndex=In,i(X,zn),o(le)===null&&zn===o(X)&&(De?Xi():De=!0,Ho(Oe,In-ln))):(zn.sortIndex=Za,i(le,zn),!Fe&&!Ne&&(Fe=!0,Ta(Y))),zn}function dt(){}function bt(){!Fe&&!Ne&&(Fe=!0,Ta(Y))}function Bt(){return o(le)}function En(Ge){Ge.callback=null}function kr(){return ye}var mn=!1,Dn=null,Fr=-1,Ci=r,xi=-1;function Xa(){var Ge=t.unstable_now()-xi;return!(Ge125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Ge>0?Ci=Math.floor(1e3/Ge):Ci=r}var Es=function(){if(Dn!==null){var Ge=t.unstable_now();xi=Ge;var ht=!0,At=!0;try{At=Dn(ht,Ge)}finally{At?Zs():(mn=!1,Dn=null)}}else mn=!1},Zs;if(typeof re=="function")Zs=function(){re(Es)};else if(typeof MessageChannel<"u"){var jo=new MessageChannel,Ql=jo.port2;jo.port1.onmessage=Es,Zs=function(){Ql.postMessage(null)}}else Zs=function(){nt(Es,0)};function Ta(Ge){Dn=Ge,mn||(mn=!0,Zs())}function Ho(Ge,ht){Fr=nt(function(){Ge(t.unstable_now())},ht)}function Xi(){ne(Fr),Fr=-1}var ks=be,af=null;t.unstable_IdlePriority=w,t.unstable_ImmediatePriority=y,t.unstable_LowPriority=b,t.unstable_NormalPriority=E,t.unstable_Profiling=af,t.unstable_UserBlockingPriority=T,t.unstable_cancelCallback=En,t.unstable_continueExecution=bt,t.unstable_forceFrameRate=Xs,t.unstable_getCurrentPriorityLevel=kr,t.unstable_getFirstCallbackNode=Bt,t.unstable_next=Ve,t.unstable_pauseExecution=dt,t.unstable_requestPaint=ks,t.unstable_runWithPriority=Ee,t.unstable_scheduleCallback=ot,t.unstable_shouldYield=Xa,t.unstable_wrapCallback=Ke,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(tN)),tN}var rN;function rB(){return rN||(rN=1,Wv.env.NODE_ENV==="production"?z5.exports=Fce():z5.exports=Uce()),z5.exports}/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var iN;function Bce(){if(iN)return Ga;iN=1;var t=Zu,e=rB();function n(u){for(var d="https://reactjs.org/docs/error-decoder.html?invariant="+u,g=1;g"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,m=/^[: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]*$/,y={},T={};function E(u){return h.call(T,u)?!0:h.call(y,u)?!1:m.test(u)?T[u]=!0:(y[u]=!0,!1)}function b(u,d,g,S){if(g!==null&&g.type===0)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":return S?!1:g!==null?!g.acceptsBooleans:(u=u.toLowerCase().slice(0,5),u!=="data-"&&u!=="aria-");default:return!1}}function w(u,d,g,S){if(d===null||typeof d>"u"||b(u,d,g,S))return!0;if(S)return!1;if(g!==null)switch(g.type){case 3:return!d;case 4:return d===!1;case 5:return isNaN(d);case 6:return isNaN(d)||1>d}return!1}function x(u,d,g,S,C,_,F){this.acceptsBooleans=d===2||d===3||d===4,this.attributeName=S,this.attributeNamespace=C,this.mustUseProperty=g,this.propertyName=u,this.type=d,this.sanitizeURL=_,this.removeEmptyString=F}var A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(u){A[u]=new x(u,0,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var d=u[0];A[d]=new x(d,1,!1,u[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){A[u]=new x(u,2,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){A[u]=new x(u,2,!1,u,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(u){A[u]=new x(u,3,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){A[u]=new x(u,3,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){A[u]=new x(u,4,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){A[u]=new x(u,6,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){A[u]=new x(u,5,!1,u.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function N(u){return u[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(u){var d=u.replace(R,N);A[d]=new x(d,1,!1,u,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(u){var d=u.replace(R,N);A[d]=new x(d,1,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var d=u.replace(R,N);A[d]=new x(d,1,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){A[u]=new x(u,1,!1,u.toLowerCase(),null,!1,!1)}),A.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){A[u]=new x(u,1,!1,u.toLowerCase(),null,!0,!0)});function P(u,d,g,S){var C=A.hasOwnProperty(d)?A[d]:null;(C!==null?C.type!==0:S||!(2W||C[F]!==_[W]){var Q=` +`+C[F].replace(" at new "," at ");return u.displayName&&Q.includes("")&&(Q=Q.replace("",u.displayName)),Q}while(1<=F&&0<=W);break}}}finally{oe=!1,Error.prepareStackTrace=g}return(u=u?u.displayName||u.name:"")?Y(u):""}function Ve(u){switch(u.tag){case 5:return Y(u.type);case 16:return Y("Lazy");case 13:return Y("Suspense");case 19:return Y("SuspenseList");case 0:case 2:case 15:return u=Ee(u.type,!1),u;case 11:return u=Ee(u.type.render,!1),u;case 1:return u=Ee(u.type,!0),u;default:return""}}function Ke(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case B:return"Fragment";case G:return"Portal";case le:return"Profiler";case q:return"StrictMode";case ye:return"Suspense";case Ne:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case me:return(u.displayName||"Context")+".Consumer";case X:return(u._context.displayName||"Context")+".Provider";case we:var d=u.render;return u=u.displayName,u||(u=d.displayName||d.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case Fe:return d=u.displayName||null,d!==null?d:Ke(u.type)||"Memo";case De:d=u._payload,u=u._init;try{return Ke(u(d))}catch{}}return null}function ot(u){var d=u.type;switch(u.tag){case 24:return"Cache";case 9:return(d.displayName||"Context")+".Consumer";case 10:return(d._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return u=d.render,u=u.displayName||u.name||"",d.displayName||(u!==""?"ForwardRef("+u+")":"ForwardRef");case 7:return"Fragment";case 5:return d;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ke(d);case 8:return d===q?"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 d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d}return null}function dt(u){switch(typeof u){case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function bt(u){var d=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(d==="checkbox"||d==="radio")}function Bt(u){var d=bt(u)?"checked":"value",g=Object.getOwnPropertyDescriptor(u.constructor.prototype,d),S=""+u[d];if(!u.hasOwnProperty(d)&&typeof g<"u"&&typeof g.get=="function"&&typeof g.set=="function"){var C=g.get,_=g.set;return Object.defineProperty(u,d,{configurable:!0,get:function(){return C.call(this)},set:function(F){S=""+F,_.call(this,F)}}),Object.defineProperty(u,d,{enumerable:g.enumerable}),{getValue:function(){return S},setValue:function(F){S=""+F},stopTracking:function(){u._valueTracker=null,delete u[d]}}}}function En(u){u._valueTracker||(u._valueTracker=Bt(u))}function kr(u){if(!u)return!1;var d=u._valueTracker;if(!d)return!0;var g=d.getValue(),S="";return u&&(S=bt(u)?u.checked?"true":"false":u.value),u=S,u!==g?(d.setValue(u),!0):!1}function mn(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}function Dn(u,d){var g=d.checked;return ee({},d,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:g??u._wrapperState.initialChecked})}function Fr(u,d){var g=d.defaultValue==null?"":d.defaultValue,S=d.checked!=null?d.checked:d.defaultChecked;g=dt(d.value!=null?d.value:g),u._wrapperState={initialChecked:S,initialValue:g,controlled:d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null}}function Ci(u,d){d=d.checked,d!=null&&P(u,"checked",d,!1)}function xi(u,d){Ci(u,d);var g=dt(d.value),S=d.type;if(g!=null)S==="number"?(g===0&&u.value===""||u.value!=g)&&(u.value=""+g):u.value!==""+g&&(u.value=""+g);else if(S==="submit"||S==="reset"){u.removeAttribute("value");return}d.hasOwnProperty("value")?be(u,d.type,g):d.hasOwnProperty("defaultValue")&&be(u,d.type,dt(d.defaultValue)),d.checked==null&&d.defaultChecked!=null&&(u.defaultChecked=!!d.defaultChecked)}function Xa(u,d,g){if(d.hasOwnProperty("value")||d.hasOwnProperty("defaultValue")){var S=d.type;if(!(S!=="submit"&&S!=="reset"||d.value!==void 0&&d.value!==null))return;d=""+u._wrapperState.initialValue,g||d===u.value||(u.value=d),u.defaultValue=d}g=u.name,g!==""&&(u.name=""),u.defaultChecked=!!u._wrapperState.initialChecked,g!==""&&(u.name=g)}function be(u,d,g){(d!=="number"||mn(u.ownerDocument)!==u)&&(g==null?u.defaultValue=""+u._wrapperState.initialValue:u.defaultValue!==""+g&&(u.defaultValue=""+g))}var Xs=Array.isArray;function Es(u,d,g,S){if(u=u.options,d){d={};for(var C=0;C"+d.valueOf().toString()+"",d=ks.firstChild;u.firstChild;)u.removeChild(u.firstChild);for(;d.firstChild;)u.appendChild(d.firstChild)}});function Ge(u,d){if(d){var g=u.firstChild;if(g&&g===u.lastChild&&g.nodeType===3){g.nodeValue=d;return}}u.textContent=d}var ht={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},At=["Webkit","ms","Moz","O"];Object.keys(ht).forEach(function(u){At.forEach(function(d){d=d+u.charAt(0).toUpperCase()+u.substring(1),ht[d]=ht[u]})});function ln(u,d,g){return d==null||typeof d=="boolean"||d===""?"":g||typeof d!="number"||d===0||ht.hasOwnProperty(u)&&ht[u]?(""+d).trim():d+"px"}function In(u,d){u=u.style;for(var g in d)if(d.hasOwnProperty(g)){var S=g.indexOf("--")===0,C=ln(g,d[g],S);g==="float"&&(g="cssFloat"),S?u.setProperty(g,C):u[g]=C}}var Ii=ee({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 er(u,d){if(d){if(Ii[u]&&(d.children!=null||d.dangerouslySetInnerHTML!=null))throw Error(n(137,u));if(d.dangerouslySetInnerHTML!=null){if(d.children!=null)throw Error(n(60));if(typeof d.dangerouslySetInnerHTML!="object"||!("__html"in d.dangerouslySetInnerHTML))throw Error(n(61))}if(d.style!=null&&typeof d.style!="object")throw Error(n(62))}}function Za(u,d){if(u.indexOf("-")===-1)return typeof d.is=="string";switch(u){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 zn=null;function Sa(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var sf=null,jn=null,_n=null;function Yv(u){if(u=Rf(u)){if(typeof sf!="function")throw Error(n(280));var d=u.stateNode;d&&(d=ct(d),sf(u.stateNode,u.type,d))}}function Jh(u){jn?_n?_n.push(u):_n=[u]:jn=u}function em(){if(jn){var u=jn,d=_n;if(_n=jn=null,Yv(u),d)for(u=0;u>>=0,u===0?32:31-(n2(u)/r2|0)|0}var rm=64,kc=4194304;function Zl(u){switch(u&-u){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 u&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return u&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return u}}function ts(u,d){var g=u.pendingLanes;if(g===0)return 0;var S=0,C=u.suspendedLanes,_=u.pingedLanes,F=g&268435455;if(F!==0){var W=F&~C;W!==0?S=Zl(W):(_&=F,_!==0&&(S=Zl(_)))}else F=g&~C,F!==0?S=Zl(F):_!==0&&(S=Zl(_));if(S===0)return 0;if(d!==0&&d!==S&&!(d&C)&&(C=S&-S,_=d&-d,C>=_||C===16&&(_&4194240)!==0))return d;if(S&4&&(S|=g&16),d=u.entangledLanes,d!==0)for(u=u.entanglements,d&=S;0g;g++)d.push(u);return d}function Jl(u,d,g){u.pendingLanes|=d,d!==536870912&&(u.suspendedLanes=0,u.pingedLanes=0),u=u.eventTimes,d=31-Ea(d),u[d]=g}function m8(u,d){var g=u.pendingLanes&~d;u.pendingLanes=d,u.suspendedLanes=0,u.pingedLanes=0,u.expiredLanes&=d,u.mutableReadLanes&=d,u.entangledLanes&=d,d=u.entanglements;var S=u.eventTimes;for(u=u.expirationTimes;0=tu),Ic=" ",T2=!1;function S2(u,d){switch(u){case"keyup":return Wn.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gm(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var _c=!1;function k8(u,d){switch(u){case"compositionend":return gm(d);case"keypress":return d.which!==32?null:(T2=!0,Ic);case"textInput":return u=d.data,u===Ic&&T2?null:u;default:return null}}function b8(u,d){if(_c)return u==="compositionend"||!rs&&S2(u,d)?(u=S0(),vf=yf=to=null,_c=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1=d)return{node:g,offset:d-u};u=S}e:{for(;g;){if(g.nextSibling){g=g.nextSibling;break e}g=g.parentNode}g=void 0}g=L2(g)}}function R2(u,d){return u&&d?u===d?!0:u&&u.nodeType===3?!1:d&&d.nodeType===3?R2(u,d.parentNode):"contains"in u?u.contains(d):u.compareDocumentPosition?!!(u.compareDocumentPosition(d)&16):!1:!1}function ym(){for(var u=window,d=mn();d instanceof u.HTMLIFrameElement;){try{var g=typeof d.contentWindow.location.href=="string"}catch{g=!1}if(g)u=d.contentWindow;else break;d=mn(u.document)}return d}function io(u){var d=u&&u.nodeName&&u.nodeName.toLowerCase();return d&&(d==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||d==="textarea"||u.contentEditable==="true")}function vm(u){var d=ym(),g=u.focusedElem,S=u.selectionRange;if(d!==g&&g&&g.ownerDocument&&R2(g.ownerDocument.documentElement,g)){if(S!==null&&io(g)){if(d=S.start,u=S.end,u===void 0&&(u=d),"selectionStart"in g)g.selectionStart=d,g.selectionEnd=Math.min(u,g.value.length);else if(u=(d=g.ownerDocument||document)&&d.defaultView||window,u.getSelection){u=u.getSelection();var C=g.textContent.length,_=Math.min(S.start,C);S=S.end===void 0?_:Math.min(S.end,C),!u.extend&&_>S&&(C=S,S=_,_=C),C=A2(g,_);var F=A2(g,S);C&&F&&(u.rangeCount!==1||u.anchorNode!==C.node||u.anchorOffset!==C.offset||u.focusNode!==F.node||u.focusOffset!==F.offset)&&(d=d.createRange(),d.setStart(C.node,C.offset),u.removeAllRanges(),_>S?(u.addRange(d),u.extend(F.node,F.offset)):(d.setEnd(F.node,F.offset),u.addRange(d)))}}for(d=[],u=g;u=u.parentNode;)u.nodeType===1&&d.push({element:u,left:u.scrollLeft,top:u.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g=document.documentMode,is=null,R0=null,bf=null,O0=!1;function N2(u,d,g){var S=g.window===g?g.document:g.nodeType===9?g:g.ownerDocument;O0||is==null||is!==mn(S)||(S=is,"selectionStart"in S&&io(S)?S={start:S.selectionStart,end:S.selectionEnd}:(S=(S.ownerDocument&&S.ownerDocument.defaultView||window).getSelection(),S={anchorNode:S.anchorNode,anchorOffset:S.anchorOffset,focusNode:S.focusNode,focusOffset:S.focusOffset}),bf&&kf(bf,S)||(bf=S,S=_f(R0,"onSelect"),0dn||(u.current=Jo[dn],Jo[dn]=null,dn--)}function Yt(u,d){dn++,Jo[dn]=u.current,u.current=d}var Cs={},vt=_t(Cs),An=_t(!1),Li=Cs;function xa(u,d){var g=u.type.contextTypes;if(!g)return Cs;var S=u.stateNode;if(S&&S.__reactInternalMemoizedUnmaskedChildContext===d)return S.__reactInternalMemoizedMaskedChildContext;var C={},_;for(_ in g)C[_]=d[_];return S&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=d,u.__reactInternalMemoizedMaskedChildContext=C),C}function pn(u){return u=u.childContextTypes,u!=null}function Ia(){Wt(An),Wt(vt)}function el(u,d,g){if(vt.current!==Cs)throw Error(n(168));Yt(vt,d),Yt(An,g)}function Of(u,d,g){var S=u.stateNode;if(d=d.childContextTypes,typeof S.getChildContext!="function")return g;S=S.getChildContext();for(var C in S)if(!(C in d))throw Error(n(108,ot(u)||"Unknown",C));return ee({},g,S)}function wm(u){return u=(u=u.stateNode)&&u.__reactInternalMemoizedMergedChildContext||Cs,Li=vt.current,Yt(vt,u),Yt(An,An.current),!0}function G2(u,d,g){var S=u.stateNode;if(!S)throw Error(n(169));g?(u=Of(u,d,Li),S.__reactInternalMemoizedMergedChildContext=u,Wt(An),Wt(vt),Yt(vt,u)):Wt(An),Yt(An,g)}var Ji=null,mr=!1,Nf=!1;function j0(u){Ji===null?Ji=[u]:Ji.push(u)}function H0(u){mr=!0,j0(u)}function Ai(){if(!Nf&&Ji!==null){Nf=!0;var u=0,d=Qt;try{var g=Ji;for(Qt=1;u>=F,C-=F,br=1<<32-Ea(d)+C|g<St?(yr=ut,ut=null):yr=ut.sibling;var Vt=Le(ie,ut,de[St],Me);if(Vt===null){ut===null&&(ut=yr);break}u&&ut&&Vt.alternate===null&&d(ie,ut),J=_(Vt,J,St),Qe===null?at=Vt:Qe.sibling=Vt,Qe=Vt,ut=yr}if(St===de.length)return g(ie,ut),fn&&ea(ie,St),at;if(ut===null){for(;StSt?(yr=ut,ut=null):yr=ut.sibling;var dl=Le(ie,ut,Vt.value,Me);if(dl===null){ut===null&&(ut=yr);break}u&&ut&&dl.alternate===null&&d(ie,ut),J=_(dl,J,St),Qe===null?at=dl:Qe.sibling=dl,Qe=dl,ut=yr}if(Vt.done)return g(ie,ut),fn&&ea(ie,St),at;if(ut===null){for(;!Vt.done;St++,Vt=de.next())Vt=Ae(ie,Vt.value,Me),Vt!==null&&(J=_(Vt,J,St),Qe===null?at=Vt:Qe.sibling=Vt,Qe=Vt);return fn&&ea(ie,St),at}for(ut=S(ie,ut);!Vt.done;St++,Vt=de.next())Vt=je(ut,ie,St,Vt.value,Me),Vt!==null&&(u&&Vt.alternate!==null&&ut.delete(Vt.key===null?St:Vt.key),J=_(Vt,J,St),Qe===null?at=Vt:Qe.sibling=Vt,Qe=Vt);return u&&ut.forEach(function(q8){return d(ie,q8)}),fn&&ea(ie,St),at}function Fn(ie,J,de,Me){if(typeof de=="object"&&de!==null&&de.type===B&&de.key===null&&(de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case U:e:{for(var at=de.key,Qe=J;Qe!==null;){if(Qe.key===at){if(at=de.type,at===B){if(Qe.tag===7){g(ie,Qe.sibling),J=C(Qe,de.props.children),J.return=ie,ie=J;break e}}else if(Qe.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===De&&W2(at)===Qe.type){g(ie,Qe.sibling),J=C(Qe,de.props),J.ref=uu(ie,Qe,de),J.return=ie,ie=J;break e}g(ie,Qe);break}else d(ie,Qe);Qe=Qe.sibling}de.type===B?(J=xu(de.props.children,ie.mode,Me,de.key),J.return=ie,ie=J):(Me=fp(de.type,de.key,de.props,null,ie.mode,Me),Me.ref=uu(ie,J,de),Me.return=ie,ie=Me)}return F(ie);case G:e:{for(Qe=de.key;J!==null;){if(J.key===Qe)if(J.tag===4&&J.stateNode.containerInfo===de.containerInfo&&J.stateNode.implementation===de.implementation){g(ie,J.sibling),J=C(J,de.children||[]),J.return=ie,ie=J;break e}else{g(ie,J);break}else d(ie,J);J=J.sibling}J=Iu(de,ie.mode,Me),J.return=ie,ie=J}return F(ie);case De:return Qe=de._init,Fn(ie,J,Qe(de._payload),Me)}if(Xs(de))return qe(ie,J,de,Me);if(re(de))return et(ie,J,de,Me);xs(ie,de)}return typeof de=="string"&&de!==""||typeof de=="number"?(de=""+de,J!==null&&J.tag===6?(g(ie,J.sibling),J=C(J,de),J.return=ie,ie=J):(g(ie,J),J=Jf(de,ie.mode,Me),J.return=ie,ie=J),F(ie)):g(ie,J)}return Fn}var Dc=Am(!0),K2=Am(!1),uo=_t(null),nr=null,Ue=null,Aa=null;function na(){Aa=Ue=nr=null}function Q0(u){var d=uo.current;Wt(uo),u._currentValue=d}function X0(u,d,g){for(;u!==null;){var S=u.alternate;if((u.childLanes&d)!==d?(u.childLanes|=d,S!==null&&(S.childLanes|=d)):S!==null&&(S.childLanes&d)!==d&&(S.childLanes|=d),u===g)break;u=u.return}}function Mc(u,d){nr=u,Aa=Ue=null,u=u.dependencies,u!==null&&u.firstContext!==null&&(u.lanes&d&&(Mi=!0),u.firstContext=null)}function Ra(u){var d=u._currentValue;if(Aa!==u)if(u={context:u,memoizedValue:d,next:null},Ue===null){if(nr===null)throw Error(n(308));Ue=u,nr.dependencies={lanes:0,firstContext:u}}else Ue=Ue.next=u;return d}var cu=null;function Kn(u){cu===null?cu=[u]:cu.push(u)}function Y2(u,d,g,S){var C=d.interleaved;return C===null?(g.next=g,Kn(d)):(g.next=C.next,C.next=g),d.interleaved=g,co(u,S)}function co(u,d){u.lanes|=d;var g=u.alternate;for(g!==null&&(g.lanes|=d),g=u,u=u.return;u!==null;)u.childLanes|=d,g=u.alternate,g!==null&&(g.childLanes|=d),g=u,u=u.return;return g.tag===3?g.stateNode:null}var nl=!1;function Rm(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fc(u,d){u=u.updateQueue,d.updateQueue===u&&(d.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects})}function Pi(u,d){return{eventTime:u,lane:d,tag:0,payload:null,callback:null,next:null}}function rl(u,d,g){var S=u.updateQueue;if(S===null)return null;if(S=S.shared,Mt&2){var C=S.pending;return C===null?d.next=d:(d.next=C.next,C.next=d),S.pending=d,co(u,g)}return C=S.interleaved,C===null?(d.next=d,Kn(S)):(d.next=C.next,C.next=d),S.interleaved=d,co(u,g)}function Om(u,d,g){if(d=d.updateQueue,d!==null&&(d=d.shared,(g&4194240)!==0)){var S=d.lanes;S&=u.pendingLanes,g|=S,d.lanes=g,df(u,g)}}function q2(u,d){var g=u.updateQueue,S=u.alternate;if(S!==null&&(S=S.updateQueue,g===S)){var C=null,_=null;if(g=g.firstBaseUpdate,g!==null){do{var F={eventTime:g.eventTime,lane:g.lane,tag:g.tag,payload:g.payload,callback:g.callback,next:null};_===null?C=_=F:_=_.next=F,g=g.next}while(g!==null);_===null?C=_=d:_=_.next=d}else C=_=d;g={baseState:S.baseState,firstBaseUpdate:C,lastBaseUpdate:_,shared:S.shared,effects:S.effects},u.updateQueue=g;return}u=g.lastBaseUpdate,u===null?g.firstBaseUpdate=d:u.next=d,g.lastBaseUpdate=d}function Nm(u,d,g,S){var C=u.updateQueue;nl=!1;var _=C.firstBaseUpdate,F=C.lastBaseUpdate,W=C.shared.pending;if(W!==null){C.shared.pending=null;var Q=W,pe=Q.next;Q.next=null,F===null?_=pe:F.next=pe,F=Q;var _e=u.alternate;_e!==null&&(_e=_e.updateQueue,W=_e.lastBaseUpdate,W!==F&&(W===null?_e.firstBaseUpdate=pe:W.next=pe,_e.lastBaseUpdate=Q))}if(_!==null){var Ae=C.baseState;F=0,_e=pe=Q=null,W=_;do{var Le=W.lane,je=W.eventTime;if((S&Le)===Le){_e!==null&&(_e=_e.next={eventTime:je,lane:0,tag:W.tag,payload:W.payload,callback:W.callback,next:null});e:{var qe=u,et=W;switch(Le=d,je=g,et.tag){case 1:if(qe=et.payload,typeof qe=="function"){Ae=qe.call(je,Ae,Le);break e}Ae=qe;break e;case 3:qe.flags=qe.flags&-65537|128;case 0:if(qe=et.payload,Le=typeof qe=="function"?qe.call(je,Ae,Le):qe,Le==null)break e;Ae=ee({},Ae,Le);break e;case 2:nl=!0}}W.callback!==null&&W.lane!==0&&(u.flags|=64,Le=C.effects,Le===null?C.effects=[W]:Le.push(W))}else je={eventTime:je,lane:Le,tag:W.tag,payload:W.payload,callback:W.callback,next:null},_e===null?(pe=_e=je,Q=Ae):_e=_e.next=je,F|=Le;if(W=W.next,W===null){if(W=C.shared.pending,W===null)break;Le=W,W=Le.next,Le.next=null,C.lastBaseUpdate=Le,C.shared.pending=null}}while(!0);if(_e===null&&(Q=Ae),C.baseState=Q,C.firstBaseUpdate=pe,C.lastBaseUpdate=_e,d=C.shared.interleaved,d!==null){C=d;do F|=C.lane,C=C.next;while(C!==d)}else _===null&&(C.shared.lanes=0);po|=F,u.lanes=F,u.memoizedState=Ae}}function Q2(u,d,g){if(u=d.effects,d.effects=null,u!==null)for(d=0;dg?g:4,u(!0);var S=Mf.transition;Mf.transition={};try{u(!1),d()}finally{Qt=g,Mf.transition=S}}function Qm(){return wr().memoizedState}function Z2(u,d,g){var S=qn(u);if(g={lane:S,action:g,hasEagerState:!1,eagerState:null,next:null},ng(u))Wc(d,g);else if(g=Y2(u,d,g,S),g!==null){var C=Hr();Wr(g,u,S,C),il(g,d,S)}}function $f(u,d,g){var S=qn(u),C={lane:S,action:g,hasEagerState:!1,eagerState:null,next:null};if(ng(u))Wc(d,C);else{var _=u.alternate;if(u.lanes===0&&(_===null||_.lanes===0)&&(_=d.lastRenderedReducer,_!==null))try{var F=d.lastRenderedState,W=_(F,g);if(C.hasEagerState=!0,C.eagerState=W,wa(W,F)){var Q=d.interleaved;Q===null?(C.next=C,Kn(d)):(C.next=Q.next,Q.next=C),d.interleaved=C;return}}catch{}finally{}g=Y2(u,d,C,S),g!==null&&(C=Hr(),Wr(g,u,S,C),il(g,d,S))}}function ng(u){var d=u.alternate;return u===it||d!==null&&d===it}function Wc(u,d){$c=ra=!0;var g=u.pending;g===null?d.next=d:(d.next=g.next,g.next=d),u.pending=d}function il(u,d,g){if(g&4194240){var S=d.lanes;S&=u.pendingLanes,g|=S,d.lanes=g,df(u,g)}}var Vr={readContext:Ra,useCallback:$r,useContext:$r,useEffect:$r,useImperativeHandle:$r,useInsertionEffect:$r,useLayoutEffect:$r,useMemo:$r,useReducer:$r,useRef:$r,useState:$r,useDebugValue:$r,useDeferredValue:$r,useTransition:$r,useMutableSource:$r,useSyncExternalStore:$r,useId:$r,unstable_isNewReconciler:!1},P8={readContext:Ra,useCallback:function(u,d){return lt().memoizedState=[u,d===void 0?null:d],u},useContext:Ra,useEffect:zm,useImperativeHandle:function(u,d,g){return g=g!=null?g.concat([u]):null,zc(4194308,4,Wm.bind(null,d,u),g)},useLayoutEffect:function(u,d){return zc(4194308,4,u,d)},useInsertionEffect:function(u,d){return zc(4,2,u,d)},useMemo:function(u,d){var g=lt();return d=d===void 0?null:d,u=u(),g.memoizedState=[u,d],u},useReducer:function(u,d,g){var S=lt();return d=g!==void 0?g(d):d,S.memoizedState=S.baseState=d,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:d},S.queue=u,u=u.dispatch=Z2.bind(null,it,u),[S.memoizedState,u]},useRef:function(u){var d=lt();return u={current:u},d.memoizedState=u},useState:Vm,useDebugValue:Hc,useDeferredValue:function(u){return lt().memoizedState=u},useTransition:function(){var u=Vm(!1),d=u[0];return u=tg.bind(null,u[1]),lt().memoizedState=u,[d,u]},useMutableSource:function(){},useSyncExternalStore:function(u,d,g){var S=it,C=lt();if(fn){if(g===void 0)throw Error(n(407));g=g()}else{if(g=d(),bn===null)throw Error(n(349));rt&30||Gc(S,d,g)}C.memoizedState=g;var _={value:g,getSnapshot:d};return C.queue=_,zm(Um.bind(null,S,_,u),[u]),S.flags|=2048,hu(9,Fm.bind(null,S,_,g,d),void 0,null),g},useId:function(){var u=lt(),d=bn.identifierPrefix;if(fn){var g=lo,S=br;g=(S&~(1<<32-Ea(S)-1)).toString(32)+g,d=":"+d+"R"+g,g=Ff++,0<\/script>",u=u.removeChild(u.firstChild)):typeof S.is=="string"?u=F.createElement(g,{is:S.is}):(u=F.createElement(g),g==="select"&&(F=u,S.multiple?F.multiple=!0:S.size&&(F.size=S.size))):u=F.createElementNS(u,g),u[ws]=d,u[ou]=S,jf(u,d,!1,!1),d.stateNode=u;e:{switch(F=Za(g,S),g){case"dialog":an("cancel",u),an("close",u),C=S;break;case"iframe":case"object":case"embed":an("load",u),C=S;break;case"video":case"audio":for(C=0;Ctd&&(d.flags|=128,S=!0,Hf(_,!1),d.lanes=4194304)}else{if(!S)if(u=Pm(F),u!==null){if(d.flags|=128,S=!0,g=u.updateQueue,g!==null&&(d.updateQueue=g,d.flags|=4),Hf(_,!0),_.tail===null&&_.tailMode==="hidden"&&!F.alternate&&!fn)return zr(d),null}else 2*Ln()-_.renderingStartTime>td&&g!==1073741824&&(d.flags|=128,S=!0,Hf(_,!1),d.lanes=4194304);_.isBackwards?(F.sibling=d.child,d.child=F):(g=_.last,g!==null?g.sibling=F:d.child=F,_.last=F)}return _.tail!==null?(d=_.tail,_.rendering=d,_.tail=d.sibling,_.renderingStartTime=Ln(),d.sibling=null,g=gn.current,Yt(gn,S?g&1|2:g&1),d):(zr(d),null);case 22:case 23:return Tg(),S=d.memoizedState!==null,u!==null&&u.memoizedState!==null!==S&&(d.flags|=8192),S&&d.mode&1?aa&1073741824&&(zr(d),d.subtreeFlags&6&&(d.flags|=8192)):zr(d),null;case 24:return null;case 25:return null}throw Error(n(156,d.tag))}function dg(u,d){switch(K0(d),d.tag){case 1:return pn(d.type)&&Ia(),u=d.flags,u&65536?(d.flags=u&-65537|128,d):null;case 3:return Bc(),Wt(An),Wt(vt),eg(),u=d.flags,u&65536&&!(u&128)?(d.flags=u&-65537|128,d):null;case 5:return J0(d),null;case 13:if(Wt(gn),u=d.memoizedState,u!==null&&u.dehydrated!==null){if(d.alternate===null)throw Error(n(340));kn()}return u=d.flags,u&65536?(d.flags=u&-65537|128,d):null;case 19:return Wt(gn),null;case 4:return Bc(),null;case 10:return Q0(d.type._context),null;case 22:case 23:return Tg(),null;case 24:return null;default:return null}}var Wf=!1,ir=!1,lT=typeof WeakSet=="function"?WeakSet:Set,Ye=null;function qc(u,d){var g=u.ref;if(g!==null)if(typeof g=="function")try{g(null)}catch(S){On(u,d,S)}else g.current=null}function np(u,d,g){try{g()}catch(S){On(u,d,S)}}var uT=!1;function cT(u,d){if(B0=eu,u=ym(),io(u)){if("selectionStart"in u)var g={start:u.selectionStart,end:u.selectionEnd};else e:{g=(g=u.ownerDocument)&&g.defaultView||window;var S=g.getSelection&&g.getSelection();if(S&&S.rangeCount!==0){g=S.anchorNode;var C=S.anchorOffset,_=S.focusNode;S=S.focusOffset;try{g.nodeType,_.nodeType}catch{g=null;break e}var F=0,W=-1,Q=-1,pe=0,_e=0,Ae=u,Le=null;t:for(;;){for(var je;Ae!==g||C!==0&&Ae.nodeType!==3||(W=F+C),Ae!==_||S!==0&&Ae.nodeType!==3||(Q=F+S),Ae.nodeType===3&&(F+=Ae.nodeValue.length),(je=Ae.firstChild)!==null;)Le=Ae,Ae=je;for(;;){if(Ae===u)break t;if(Le===g&&++pe===C&&(W=F),Le===_&&++_e===S&&(Q=F),(je=Ae.nextSibling)!==null)break;Ae=Le,Le=Ae.parentNode}Ae=je}g=W===-1||Q===-1?null:{start:W,end:Q}}else g=null}g=g||{start:0,end:0}}else g=null;for(au={focusedElem:u,selectionRange:g},eu=!1,Ye=d;Ye!==null;)if(d=Ye,u=d.child,(d.subtreeFlags&1028)!==0&&u!==null)u.return=d,Ye=u;else for(;Ye!==null;){d=Ye;try{var qe=d.alternate;if(d.flags&1024)switch(d.tag){case 0:case 11:case 15:break;case 1:if(qe!==null){var et=qe.memoizedProps,Fn=qe.memoizedState,ie=d.stateNode,J=ie.getSnapshotBeforeUpdate(d.elementType===d.type?et:Di(d.type,et),Fn);ie.__reactInternalSnapshotBeforeUpdate=J}break;case 3:var de=d.stateNode.containerInfo;de.nodeType===1?de.textContent="":de.nodeType===9&&de.documentElement&&de.removeChild(de.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Me){On(d,d.return,Me)}if(u=d.sibling,u!==null){u.return=d.return,Ye=u;break}Ye=d.return}return qe=uT,uT=!1,qe}function Kf(u,d,g){var S=d.updateQueue;if(S=S!==null?S.lastEffect:null,S!==null){var C=S=S.next;do{if((C.tag&u)===u){var _=C.destroy;C.destroy=void 0,_!==void 0&&np(d,g,_)}C=C.next}while(C!==S)}}function Yf(u,d){if(d=d.updateQueue,d=d!==null?d.lastEffect:null,d!==null){var g=d=d.next;do{if((g.tag&u)===u){var S=g.create;g.destroy=S()}g=g.next}while(g!==d)}}function fg(u){var d=u.ref;if(d!==null){var g=u.stateNode;switch(u.tag){case 5:u=g;break;default:u=g}typeof d=="function"?d(u):d.current=u}}function hg(u){var d=u.alternate;d!==null&&(u.alternate=null,hg(d)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(d=u.stateNode,d!==null&&(delete d[ws],delete d[ou],delete d[G0],delete d[O8],delete d[z0])),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}function dT(u){return u.tag===5||u.tag===3||u.tag===4}function rp(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||dT(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function Qc(u,d,g){var S=u.tag;if(S===5||S===6)u=u.stateNode,d?g.nodeType===8?g.parentNode.insertBefore(u,d):g.insertBefore(u,d):(g.nodeType===8?(d=g.parentNode,d.insertBefore(u,g)):(d=g,d.appendChild(u)),g=g._reactRootContainer,g!=null||d.onclick!==null||(d.onclick=bm));else if(S!==4&&(u=u.child,u!==null))for(Qc(u,d,g),u=u.sibling;u!==null;)Qc(u,d,g),u=u.sibling}function Is(u,d,g){var S=u.tag;if(S===5||S===6)u=u.stateNode,d?g.insertBefore(u,d):g.appendChild(u);else if(S!==4&&(u=u.child,u!==null))for(Is(u,d,g),u=u.sibling;u!==null;)Is(u,d,g),u=u.sibling}var yn=null,pr=!1;function Pa(u,d,g){for(g=g.child;g!==null;)Xc(u,d,g),g=g.sibling}function Xc(u,d,g){if(es&&typeof es.onCommitFiberUnmount=="function")try{es.onCommitFiberUnmount(cf,g)}catch{}switch(g.tag){case 5:ir||qc(g,d);case 6:var S=yn,C=pr;yn=null,Pa(u,d,g),yn=S,pr=C,yn!==null&&(pr?(u=yn,g=g.stateNode,u.nodeType===8?u.parentNode.removeChild(g):u.removeChild(g)):yn.removeChild(g.stateNode));break;case 18:yn!==null&&(pr?(u=yn,g=g.stateNode,u.nodeType===8?Xo(u.parentNode,g):u.nodeType===1&&Xo(u,g),pf(u)):Xo(yn,g.stateNode));break;case 4:S=yn,C=pr,yn=g.stateNode.containerInfo,pr=!0,Pa(u,d,g),yn=S,pr=C;break;case 0:case 11:case 14:case 15:if(!ir&&(S=g.updateQueue,S!==null&&(S=S.lastEffect,S!==null))){C=S=S.next;do{var _=C,F=_.destroy;_=_.tag,F!==void 0&&(_&2||_&4)&&np(g,d,F),C=C.next}while(C!==S)}Pa(u,d,g);break;case 1:if(!ir&&(qc(g,d),S=g.stateNode,typeof S.componentWillUnmount=="function"))try{S.props=g.memoizedProps,S.state=g.memoizedState,S.componentWillUnmount()}catch(W){On(g,d,W)}Pa(u,d,g);break;case 21:Pa(u,d,g);break;case 22:g.mode&1?(ir=(S=ir)||g.memoizedState!==null,Pa(u,d,g),ir=S):Pa(u,d,g);break;default:Pa(u,d,g)}}function mo(u){var d=u.updateQueue;if(d!==null){u.updateQueue=null;var g=u.stateNode;g===null&&(g=u.stateNode=new lT),d.forEach(function(S){var C=G8.bind(null,u,S);g.has(S)||(g.add(S),S.then(C,C))})}}function os(u,d){var g=d.deletions;if(g!==null)for(var S=0;SC&&(C=F),S&=~_}if(S=C,S=Ln()-S,S=(120>S?120:480>S?480:1080>S?1080:1920>S?1920:3e3>S?3e3:4320>S?4320:1960*ip(S/1960))-S,10u?16:u,ll===null)var S=!1;else{if(u=ll,ll=null,op=0,Mt&6)throw Error(n(331));var C=Mt;for(Mt|=4,Ye=u.current;Ye!==null;){var _=Ye,F=_.child;if(Ye.flags&16){var W=_.deletions;if(W!==null){for(var Q=0;QLn()-gg?wu(u,0):ed|=g),Kr(u,d)}function dp(u,d){d===0&&(u.mode&1?(d=kc,kc<<=1,!(kc&130023424)&&(kc=4194304)):d=1);var g=Hr();u=co(u,d),u!==null&&(Jl(u,d,g),Kr(u,g))}function V8(u){var d=u.memoizedState,g=0;d!==null&&(g=d.retryLane),dp(u,g)}function G8(u,d){var g=0;switch(u.tag){case 13:var S=u.stateNode,C=u.memoizedState;C!==null&&(g=C.retryLane);break;case 19:S=u.stateNode;break;default:throw Error(n(314))}S!==null&&S.delete(d),dp(u,g)}var ST;ST=function(u,d,g){if(u!==null)if(u.memoizedProps!==d.pendingProps||An.current)Mi=!0;else{if(!(u.lanes&g)&&!(d.flags&128))return Mi=!1,ho(u,d,g);Mi=!!(u.flags&131072)}else Mi=!1,fn&&d.flags&1048576&&W0(d,Pc,d.index);switch(d.lanes=0,d.tag){case 2:var S=d.type;Gr(u,d),u=d.pendingProps;var C=xa(d,vt.current);Mc(d,g),C=Ce(null,d,S,u,C,g);var _=Yn();return d.flags|=1,typeof C=="object"&&C!==null&&typeof C.render=="function"&&C.$$typeof===void 0?(d.tag=1,d.memoizedState=null,d.updateQueue=null,pn(S)?(_=!0,wm(d)):_=!1,d.memoizedState=C.state!==null&&C.state!==void 0?C.state:null,Rm(d),C.updater=gu,d.stateNode=C,C._reactInternals=d,rg(d,S,u,g),d=Jm(null,d,S,!0,_,g)):(d.tag=0,fn&&_&&Cm(d),Mn(null,d,C,g),d=d.child),d;case 16:S=d.elementType;e:{switch(Gr(u,d),u=d.pendingProps,C=S._init,S=C(S._payload),d.type=S,C=d.tag=j8(S),u=Di(S,u),C){case 0:d=It(null,d,S,u,g);break e;case 1:d=zf(null,d,S,u,g);break e;case 11:d=Kc(null,d,S,u,g);break e;case 14:d=sl(null,d,S,Di(S.type,u),g);break e}throw Error(n(306,S,""))}return d;case 0:return S=d.type,C=d.pendingProps,C=d.elementType===S?C:Di(S,C),It(u,d,S,C,g);case 1:return S=d.type,C=d.pendingProps,C=d.elementType===S?C:Di(S,C),zf(u,d,S,C,g);case 3:e:{if(oT(d),u===null)throw Error(n(387));S=d.pendingProps,_=d.memoizedState,C=_.element,Fc(u,d),Nm(d,S,null,g);var F=d.memoizedState;if(S=F.element,_.isDehydrated)if(_={element:S,isDehydrated:!1,cache:F.cache,pendingSuspenseBoundaries:F.pendingSuspenseBoundaries,transitions:F.transitions},d.updateQueue.baseState=_,d.memoizedState=_,d.flags&256){C=al(Error(n(423)),d),d=ep(u,d,S,g,C);break e}else if(S!==C){C=al(Error(n(424)),d),d=ep(u,d,S,g,C);break e}else for(Ni=as(d.stateNode.containerInfo.firstChild),ta=d,fn=!0,La=null,g=K2(d,null,S,g),d.child=g;g;)g.flags=g.flags&-3|4096,g=g.sibling;else{if(kn(),S===C){d=Cr(u,d,g);break e}Mn(u,d,S,g)}d=d.child}return d;case 5:return X2(d),u===null&&Im(d),S=d.type,C=d.pendingProps,_=u!==null?u.memoizedProps:null,F=C.children,Lf(S,C)?F=null:_!==null&&Lf(S,_)&&(d.flags|=32),yu(u,d),Mn(u,d,F,g),d.child;case 6:return u===null&&Im(d),null;case 13:return og(u,d,g);case 4:return Z0(d,d.stateNode.containerInfo),S=d.pendingProps,u===null?d.child=Dc(d,null,S,g):Mn(u,d,S,g),d.child;case 11:return S=d.type,C=d.pendingProps,C=d.elementType===S?C:Di(S,C),Kc(u,d,S,C,g);case 7:return Mn(u,d,d.pendingProps,g),d.child;case 8:return Mn(u,d,d.pendingProps.children,g),d.child;case 12:return Mn(u,d,d.pendingProps.children,g),d.child;case 10:e:{if(S=d.type._context,C=d.pendingProps,_=d.memoizedProps,F=C.value,Yt(uo,S._currentValue),S._currentValue=F,_!==null)if(wa(_.value,F)){if(_.children===C.children&&!An.current){d=Cr(u,d,g);break e}}else for(_=d.child,_!==null&&(_.return=d);_!==null;){var W=_.dependencies;if(W!==null){F=_.child;for(var Q=W.firstContext;Q!==null;){if(Q.context===S){if(_.tag===1){Q=Pi(-1,g&-g),Q.tag=2;var pe=_.updateQueue;if(pe!==null){pe=pe.shared;var _e=pe.pending;_e===null?Q.next=Q:(Q.next=_e.next,_e.next=Q),pe.pending=Q}}_.lanes|=g,Q=_.alternate,Q!==null&&(Q.lanes|=g),X0(_.return,g,d),W.lanes|=g;break}Q=Q.next}}else if(_.tag===10)F=_.type===d.type?null:_.child;else if(_.tag===18){if(F=_.return,F===null)throw Error(n(341));F.lanes|=g,W=F.alternate,W!==null&&(W.lanes|=g),X0(F,g,d),F=_.sibling}else F=_.child;if(F!==null)F.return=_;else for(F=_;F!==null;){if(F===d){F=null;break}if(_=F.sibling,_!==null){_.return=F.return,F=_;break}F=F.return}_=F}Mn(u,d,C.children,g),d=d.child}return d;case 9:return C=d.type,S=d.pendingProps.children,Mc(d,g),C=Ra(C),S=S(C),d.flags|=1,Mn(u,d,S,g),d.child;case 14:return S=d.type,C=Di(S,d.pendingProps),C=Di(S.type,C),sl(u,d,S,C,g);case 15:return Zm(u,d,d.type,d.pendingProps,g);case 17:return S=d.type,C=d.pendingProps,C=d.elementType===S?C:Di(S,C),Gr(u,d),d.tag=1,pn(S)?(u=!0,wm(d)):u=!1,Mc(d,g),eT(d,S,C),rg(d,S,C,g),Jm(null,d,S,!0,u,g);case 19:return cg(u,d,g);case 22:return Fi(u,d,g)}throw Error(n(156,d.tag))};function kg(u,d){return d0(u,d)}function z8(u,d,g,S){this.tag=u,this.key=g,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=d,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=S,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ma(u,d,g,S){return new z8(u,d,g,S)}function bg(u){return u=u.prototype,!(!u||!u.isReactComponent)}function j8(u){if(typeof u=="function")return bg(u)?1:0;if(u!=null){if(u=u.$$typeof,u===we)return 11;if(u===Fe)return 14}return 2}function cl(u,d){var g=u.alternate;return g===null?(g=Ma(u.tag,d,u.key,u.mode),g.elementType=u.elementType,g.type=u.type,g.stateNode=u.stateNode,g.alternate=u,u.alternate=g):(g.pendingProps=d,g.type=u.type,g.flags=0,g.subtreeFlags=0,g.deletions=null),g.flags=u.flags&14680064,g.childLanes=u.childLanes,g.lanes=u.lanes,g.child=u.child,g.memoizedProps=u.memoizedProps,g.memoizedState=u.memoizedState,g.updateQueue=u.updateQueue,d=u.dependencies,g.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext},g.sibling=u.sibling,g.index=u.index,g.ref=u.ref,g}function fp(u,d,g,S,C,_){var F=2;if(S=u,typeof u=="function")bg(u)&&(F=1);else if(typeof u=="string")F=5;else e:switch(u){case B:return xu(g.children,C,_,d);case q:F=8,C|=8;break;case le:return u=Ma(12,g,d,C|2),u.elementType=le,u.lanes=_,u;case ye:return u=Ma(13,g,d,C),u.elementType=ye,u.lanes=_,u;case Ne:return u=Ma(19,g,d,C),u.elementType=Ne,u.lanes=_,u;case nt:return Zf(g,C,_,d);default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case X:F=10;break e;case me:F=9;break e;case we:F=11;break e;case Fe:F=14;break e;case De:F=16,S=null;break e}throw Error(n(130,u==null?u:typeof u,""))}return d=Ma(F,g,d,C),d.elementType=u,d.type=S,d.lanes=_,d}function xu(u,d,g,S){return u=Ma(7,u,S,d),u.lanes=g,u}function Zf(u,d,g,S){return u=Ma(22,u,S,d),u.elementType=nt,u.lanes=g,u.stateNode={isHidden:!1},u}function Jf(u,d,g){return u=Ma(6,u,null,d),u.lanes=g,u}function Iu(u,d,g){return d=Ma(4,u.children!==null?u.children:[],u.key,d),d.lanes=g,d.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},d}function H8(u,d,g,S,C){this.tag=d,this.containerInfo=u,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=p0(0),this.expirationTimes=p0(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=p0(0),this.identifierPrefix=S,this.onRecoverableError=C,this.mutableSourceEagerHydrationData=null}function hp(u,d,g,S,C,_,F,W,Q){return u=new H8(u,d,g,W,Q),d===1?(d=1,_===!0&&(d|=8)):d=0,_=Ma(3,null,null,d),u.current=_,_.stateNode=u,_.memoizedState={element:S,isDehydrated:g,cache:null,transitions:null,pendingSuspenseBoundaries:null},Rm(_),u}function ET(u,d,g){var S=31?s-1:0),p=1;p1?s-1:0),p=1;p2&&(a[0]==="o"||a[0]==="O")&&(a[1]==="n"||a[1]==="N")}function zn(a,s,f,p){if(f!==null&&f.type===Ql)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":{if(p)return!1;if(f!==null)return!f.acceptsBooleans;var v=a.toLowerCase().slice(0,5);return v!=="data-"&&v!=="aria-"}default:return!1}}function Sa(a,s,f,p){if(s===null||typeof s>"u"||zn(a,s,f,p))return!0;if(p)return!1;if(f!==null)switch(f.type){case Xi:return!s;case ks:return s===!1;case af:return isNaN(s);case Ge:return isNaN(s)||s<1}return!1}function sf(a){return _n.hasOwnProperty(a)?_n[a]:null}function jn(a,s,f,p,v,k,I){this.acceptsBooleans=s===Ho||s===Xi||s===ks,this.attributeName=p,this.attributeNamespace=v,this.mustUseProperty=f,this.propertyName=a,this.type=s,this.sanitizeURL=k,this.removeEmptyString=I}var _n={},Yv=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Yv.forEach(function(a){_n[a]=new jn(a,Ql,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var s=a[0],f=a[1];_n[s]=new jn(s,Ta,!1,f,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){_n[a]=new jn(a,Ho,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){_n[a]=new jn(a,Ho,!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"].forEach(function(a){_n[a]=new jn(a,Xi,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){_n[a]=new jn(a,Xi,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){_n[a]=new jn(a,ks,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){_n[a]=new jn(a,Ge,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){_n[a]=new jn(a,af,!1,a.toLowerCase(),null,!1,!1)});var Jh=/[\-\:]([a-z])/g,em=function(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"].forEach(function(a){var s=a.replace(Jh,em);_n[s]=new jn(s,Ta,!1,a,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(a){var s=a.replace(Jh,em);_n[s]=new jn(s,Ta,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var s=a.replace(Jh,em);_n[s]=new jn(s,Ta,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){_n[a]=new jn(a,Ta,!1,a.toLowerCase(),null,!1,!1)});var qv="xlinkHref";_n[qv]=new jn("xlinkHref",Ta,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){_n[a]=new jn(a,Ta,!1,a.toLowerCase(),null,!0,!0)});var Qv=/^[\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,tm=!1;function l0(a){!tm&&Qv.test(a)&&(tm=!0,l("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(a)))}function of(a,s,f,p){if(p.mustUseProperty){var v=p.propertyName;return a[v]}else{Xa(f,s),p.sanitizeURL&&l0(""+f);var k=p.attributeName,I=null;if(p.type===ks){if(a.hasAttribute(k)){var O=a.getAttribute(k);return O===""?!0:Sa(s,f,p,!1)?O:O===""+f?f:O}}else if(a.hasAttribute(k)){if(Sa(s,f,p,!1))return a.getAttribute(k);if(p.type===Xi)return f;I=a.getAttribute(k)}return Sa(s,f,p,!1)?I===null?f:I:I===""+f?f:I}}function nm(a,s,f,p){{if(!er(s))return;if(!a.hasAttribute(s))return f===void 0?void 0:null;var v=a.getAttribute(s);return Xa(f,s),v===""+f?f:v}}function Xl(a,s,f,p){var v=sf(s);if(!Za(s,v,p)){if(Sa(s,f,v,p)&&(f=null),p||v===null){if(er(s)){var k=s;f===null?a.removeAttribute(k):(Xa(f,s),a.setAttribute(k,""+f))}return}var I=v.mustUseProperty;if(I){var O=v.propertyName;if(f===null){var D=v.type;a[O]=D===Xi?!1:""}else a[O]=f;return}var V=v.attributeName,z=v.attributeNamespace;if(f===null)a.removeAttribute(V);else{var te=v.type,Z;te===Xi||te===ks&&f===!0?Z="":(Xa(f,V),Z=""+f,v.sanitizeURL&&l0(Z.toString())),z?a.setAttributeNS(z,V,Z):a.setAttribute(V,Z)}}}var vc=Symbol.for("react.element"),Ja=Symbol.for("react.portal"),Js=Symbol.for("react.fragment"),Tc=Symbol.for("react.strict_mode"),lf=Symbol.for("react.profiler"),u0=Symbol.for("react.provider"),c0=Symbol.for("react.context"),Sc=Symbol.for("react.forward_ref"),bs=Symbol.for("react.suspense"),uf=Symbol.for("react.suspense_list"),Ec=Symbol.for("react.memo"),ai=Symbol.for("react.lazy"),Xv=Symbol.for("react.scope"),Zv=Symbol.for("react.debug_trace_mode"),d0=Symbol.for("react.offscreen"),Jv=Symbol.for("react.legacy_hidden"),c8=Symbol.for("react.cache"),d8=Symbol.for("react.tracing_marker"),Ln=Symbol.iterator,f8="@@iterator";function eo(a){if(a===null||typeof a!="object")return null;var s=Ln&&a[Ln]||a[f8];return typeof s=="function"?s:null}var Dt=Object.assign,Wo=0,e2,f0,cf,es,t2,Ea,n2;function r2(){}r2.__reactDisabledLog=!0;function h8(){{if(Wo===0){e2=console.log,f0=console.info,cf=console.warn,es=console.error,t2=console.group,Ea=console.groupCollapsed,n2=console.groupEnd;var a={configurable:!0,enumerable:!0,value:r2,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}Wo++}}function rm(){{if(Wo--,Wo===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Dt({},a,{value:e2}),info:Dt({},a,{value:f0}),warn:Dt({},a,{value:cf}),error:Dt({},a,{value:es}),group:Dt({},a,{value:t2}),groupCollapsed:Dt({},a,{value:Ea}),groupEnd:Dt({},a,{value:n2})})}Wo<0&&l("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var kc=n.ReactCurrentDispatcher,Zl;function ts(a,s,f){{if(Zl===void 0)try{throw Error()}catch(v){var p=v.stack.trim().match(/\n( *(at )?)/);Zl=p&&p[1]||""}return` +`+Zl+a}}var h0=!1,im;{var m0=typeof WeakMap=="function"?WeakMap:Map;im=new m0}function am(a,s){if(!a||h0)return"";{var f=im.get(a);if(f!==void 0)return f}var p;h0=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var k;k=kc.current,kc.current=null,h8();try{if(s){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(ge){p=ge}Reflect.construct(a,[],I)}else{try{I.call()}catch(ge){p=ge}a.call(I.prototype)}}else{try{throw Error()}catch(ge){p=ge}a()}}catch(ge){if(ge&&p&&typeof ge.stack=="string"){for(var O=ge.stack.split(` +`),D=p.stack.split(` +`),V=O.length-1,z=D.length-1;V>=1&&z>=0&&O[V]!==D[z];)z--;for(;V>=1&&z>=0;V--,z--)if(O[V]!==D[z]){if(V!==1||z!==1)do if(V--,z--,z<0||O[V]!==D[z]){var te=` +`+O[V].replace(" at new "," at ");return a.displayName&&te.includes("")&&(te=te.replace("",a.displayName)),typeof a=="function"&&im.set(a,te),te}while(V>=1&&z>=0);break}}}finally{h0=!1,kc.current=k,rm(),Error.prepareStackTrace=v}var Z=a?a.displayName||a.name:"",he=Z?ts(Z):"";return typeof a=="function"&&im.set(a,he),he}function p0(a,s,f){return am(a,!0)}function Jl(a,s,f){return am(a,!1)}function m8(a){var s=a.prototype;return!!(s&&s.isReactComponent)}function df(a,s,f){if(a==null)return"";if(typeof a=="function")return am(a,m8(a));if(typeof a=="string")return ts(a);switch(a){case bs:return ts("Suspense");case uf:return ts("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case Sc:return Jl(a.render);case Ec:return df(a.type,s,f);case ai:{var p=a,v=p._payload,k=p._init;try{return df(k(v),s,f)}catch{}}}return""}function Qt(a){switch(a._debugOwner&&a._debugOwner.type,a._debugSource,a.tag){case b:return ts(a.type);case q:return ts("Lazy");case U:return ts("Suspense");case me:return ts("SuspenseList");case h:case y:case B:return Jl(a.type);case P:return Jl(a.type.render);case m:return p0(a.type);default:return""}}function g0(a){try{var s="",f=a;do s+=Qt(f),f=f.return;while(f);return s}catch(p){return` +Error generating stack: `+p.message+` +`+p.stack}}function i2(a,s,f){var p=a.displayName;if(p)return p;var v=s.displayName||s.name||"";return v!==""?f+"("+v+")":f}function sm(a){return a.displayName||"Context"}function Xt(a){if(a==null)return null;if(typeof a.tag=="number"&&l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case Js:return"Fragment";case Ja:return"Portal";case lf:return"Profiler";case Tc:return"StrictMode";case bs:return"Suspense";case uf:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case c0:var s=a;return sm(s)+".Consumer";case u0:var f=a;return sm(f._context)+".Provider";case Sc:return i2(a,a.render,"ForwardRef");case Ec:var p=a.displayName||null;return p!==null?p:Xt(a.type)||"Memo";case ai:{var v=a,k=v._payload,I=v._init;try{return Xt(I(k))}catch{return null}}}return null}function a2(a,s,f){var p=s.displayName||s.name||"";return a.displayName||(p!==""?f+"("+p+")":f)}function y0(a){return a.displayName||"Context"}function xt(a){var s=a.tag,f=a.type;switch(s){case Fe:return"Cache";case R:var p=f;return y0(p)+".Consumer";case N:var v=f;return y0(v._context)+".Provider";case X:return"DehydratedFragment";case P:return a2(f,f.render,"ForwardRef");case x:return"Fragment";case b:return f;case E:return"Portal";case T:return"Root";case w:return"Text";case q:return Xt(f);case A:return f===Tc?"StrictMode":"Mode";case ye:return"Offscreen";case $:return"Profiler";case we:return"Scope";case U:return"Suspense";case me:return"SuspenseList";case De:return"TracingMarker";case m:case h:case le:case y:case G:case B:if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;break}return null}var ff=n.ReactDebugCurrentFrame,Hn=null,ka=!1;function ba(){{if(Hn===null)return null;var a=Hn._debugOwner;if(a!==null&&typeof a<"u")return xt(a)}return null}function hf(){return Hn===null?"":g0(Hn)}function tr(){ff.getCurrentStack=null,Hn=null,ka=!1}function en(a){ff.getCurrentStack=a===null?null:hf,Hn=a,ka=!1}function p8(){return Hn}function ns(a){ka=a}function Ur(a){return""+a}function Ko(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return jo(a),a;default:return""}}var s2={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function bc(a,s){s2[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||l("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`."),s.onChange||s.readOnly||s.disabled||s.checked==null||l("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 v0(a){var s=a.type,f=a.nodeName;return f&&f.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function o2(a){return a._valueTracker}function mf(a){a._valueTracker=null}function pf(a){var s="";return a&&(v0(a)?s=a.checked?"true":"false":s=a.value),s}function wc(a){var s=v0(a)?"checked":"value",f=Object.getOwnPropertyDescriptor(a.constructor.prototype,s);jo(a[s]);var p=""+a[s];if(!(a.hasOwnProperty(s)||typeof f>"u"||typeof f.get!="function"||typeof f.set!="function")){var v=f.get,k=f.set;Object.defineProperty(a,s,{configurable:!0,get:function(){return v.call(this)},set:function(O){jo(O),p=""+O,k.call(this,O)}}),Object.defineProperty(a,s,{enumerable:f.enumerable});var I={getValue:function(){return p},setValue:function(O){jo(O),p=""+O},stopTracking:function(){mf(a),delete a[s]}};return I}}function eu(a){o2(a)||(a._valueTracker=wc(a))}function l2(a){if(!a)return!1;var s=o2(a);if(!s)return!0;var f=s.getValue(),p=pf(a);return p!==f?(s.setValue(p),!0):!1}function om(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}}var lm=!1,gf=!1,um=!1,T0=!1;function to(a){var s=a.type==="checkbox"||a.type==="radio";return s?a.checked!=null:a.value!=null}function yf(a,s){var f=a,p=s.checked,v=Dt({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:p??f._wrapperState.initialChecked});return v}function vf(a,s){bc("input",s),s.checked!==void 0&&s.defaultChecked!==void 0&&!gf&&(l("%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",ba()||"A component",s.type),gf=!0),s.value!==void 0&&s.defaultValue!==void 0&&!lm&&(l("%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",ba()||"A component",s.type),lm=!0);var f=a,p=s.defaultValue==null?"":s.defaultValue;f._wrapperState={initialChecked:s.checked!=null?s.checked:s.defaultChecked,initialValue:Ko(s.value!=null?s.value:p),controlled:to(s)}}function S0(a,s){var f=a,p=s.checked;p!=null&&Xl(f,"checked",p,!1)}function Cc(a,s){var f=a;{var p=to(s);!f._wrapperState.controlled&&p&&!T0&&(l("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"),T0=!0),f._wrapperState.controlled&&!p&&!um&&(l("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"),um=!0)}S0(a,s);var v=Ko(s.value),k=s.type;if(v!=null)k==="number"?(v===0&&f.value===""||f.value!=v)&&(f.value=Ur(v)):f.value!==Ur(v)&&(f.value=Ur(v));else if(k==="submit"||k==="reset"){f.removeAttribute("value");return}s.hasOwnProperty("value")?Yo(f,s.type,v):s.hasOwnProperty("defaultValue")&&Yo(f,s.type,Ko(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(f.defaultChecked=!!s.defaultChecked)}function Tf(a,s,f){var p=a;if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var v=s.type,k=v==="submit"||v==="reset";if(k&&(s.value===void 0||s.value===null))return;var I=Ur(p._wrapperState.initialValue);f||I!==p.value&&(p.value=I),p.defaultValue=I}var O=p.name;O!==""&&(p.name=""),p.defaultChecked=!p.defaultChecked,p.defaultChecked=!!p._wrapperState.initialChecked,O!==""&&(p.name=O)}function u2(a,s){var f=a;Cc(f,s),Zi(f,s)}function Zi(a,s){var f=s.name;if(s.type==="radio"&&f!=null){for(var p=a;p.parentNode;)p=p.parentNode;Xa(f,"name");for(var v=p.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),k=0;k.")))}):s.dangerouslySetInnerHTML!=null&&(c2||(c2=!0,l("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),s.selected!=null&&!cm&&(l("Use the `defaultValue` or `value` props on must be a scalar value if `multiple` is false.%s",f,d2())}}}}function qo(a,s,f,p){var v=a.options;if(s){for(var k=f,I={},O=0;O.");var p=Dt({},s,{value:void 0,defaultValue:void 0,children:Ur(f._wrapperState.initialValue)});return p}function m2(a,s){var f=a;bc("textarea",s),s.value!==void 0&&s.defaultValue!==void 0&&!b0&&(l("%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",ba()||"A component"),b0=!0);var p=s.value;if(p==null){var v=s.children,k=s.defaultValue;if(v!=null){l("Use the `defaultValue` or `value` props instead of setting children on