@streamlayer/react 1.22.2 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/Question.js +1 -1
- package/lib/cjs/advertisement.js +44 -40
- package/lib/cjs/analytics.js +1 -1
- package/lib/cjs/index-eShKGO10.js +5 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/index10.js +4 -1
- package/lib/cjs/index11.js +1 -4
- package/lib/cjs/index12.js +1 -1
- package/lib/cjs/index13.js +1 -1
- package/lib/cjs/index14.js +1 -1
- package/lib/cjs/index15.js +5 -1
- package/lib/cjs/index2.js +1 -1
- package/lib/cjs/index4.js +1 -1
- package/lib/cjs/index7.js +1 -5
- package/lib/cjs/index8.js +1 -1
- package/lib/cjs/index9.js +1 -1
- package/lib/cjs/insight.js +1 -1
- package/lib/cjs/masters2.js +5 -5
- package/lib/cjs/notification.js +1 -1
- package/lib/cjs/pause-ad.js +1 -1
- package/lib/cjs/points.js +1 -1
- package/lib/cjs/storage.js +1 -1
- package/lib/cjs/useStreamLayerApp2.js +17 -17
- package/lib/classic/cjs/Question.js +1 -1
- package/lib/classic/cjs/advertisement.js +44 -40
- package/lib/classic/cjs/analytics.js +1 -1
- package/lib/classic/cjs/bet-pack.js +1 -1
- package/lib/classic/cjs/index-eShKGO10.js +5 -0
- package/lib/classic/cjs/index.js +1 -1
- package/lib/classic/cjs/index10.js +1 -1
- package/lib/classic/cjs/index11.js +1 -1
- package/lib/classic/cjs/index12.js +4 -1
- package/lib/classic/cjs/index2.js +2 -2
- package/lib/classic/cjs/index3.js +1 -1
- package/lib/classic/cjs/index4.js +1 -1
- package/lib/classic/cjs/index5.js +1 -1
- package/lib/classic/cjs/index6.js +1 -5
- package/lib/classic/cjs/index7.js +1 -1
- package/lib/classic/cjs/index8.js +1 -1
- package/lib/classic/cjs/index9.js +1 -1
- package/lib/classic/cjs/insight.js +1 -1
- package/lib/classic/cjs/notification.js +1 -1
- package/lib/classic/cjs/notification2.js +1 -1
- package/lib/classic/cjs/pause-ad.js +1 -1
- package/lib/classic/cjs/points.js +1 -1
- package/lib/classic/cjs/useStreamLayerApp2.js +17 -17
- package/lib/classic/es/Question.js +53 -53
- package/lib/classic/es/advertisement.js +15547 -10742
- package/lib/classic/es/analytics.js +74 -18
- package/lib/classic/es/bet-pack.js +4 -4
- package/lib/classic/es/index-eShKGO10.js +3757 -0
- package/lib/classic/es/index.js +1 -1
- package/lib/classic/es/index10.js +2295 -82
- package/lib/classic/es/index11.js +179 -2357
- package/lib/classic/es/index12.js +822 -170
- package/lib/classic/es/index2.js +13 -14
- package/lib/classic/es/index3.js +16 -61
- package/lib/classic/es/index4.js +282 -16
- package/lib/classic/es/index5.js +5 -283
- package/lib/classic/es/index6.js +9 -3756
- package/lib/classic/es/index7.js +62 -5
- package/lib/classic/es/index8.js +315 -7
- package/lib/classic/es/index9.js +81 -313
- package/lib/classic/es/insight.js +1 -1
- package/lib/classic/es/notification.js +1 -1
- package/lib/classic/es/notification2.js +476 -452
- package/lib/classic/es/pause-ad.js +174 -208
- package/lib/classic/es/points.js +4 -4
- package/lib/classic/es/useStreamLayerApp2.js +5062 -4028
- package/lib/dist/cjs/index-eShKGO10.js +5 -0
- package/lib/dist/cjs/masters.js +35 -35
- package/lib/dist/es/index-eShKGO10.js +3757 -0
- package/lib/dist/es/masters.js +9267 -8240
- package/lib/dist/index.d.ts +13 -1
- package/lib/dist/style.css +1 -1
- package/lib/es/Question.js +4 -4
- package/lib/es/advertisement.js +15547 -10742
- package/lib/es/analytics.js +74 -18
- package/lib/es/index-eShKGO10.js +3757 -0
- package/lib/es/index.js +1 -1
- package/lib/es/index10.js +804 -236
- package/lib/es/index11.js +170 -822
- package/lib/es/index12.js +302 -166
- package/lib/es/index13.js +81 -313
- package/lib/es/index14.js +2350 -82
- package/lib/es/index15.js +1229 -2330
- package/lib/es/index2.js +10 -11
- package/lib/es/index4.js +2 -2
- package/lib/es/index7.js +5 -3756
- package/lib/es/index8.js +9 -5
- package/lib/es/index9.js +263 -7
- package/lib/es/insight.js +1 -1
- package/lib/es/masters2.js +15 -16
- package/lib/es/notification.js +449 -425
- package/lib/es/pause-ad.js +174 -208
- package/lib/es/points.js +1 -1
- package/lib/es/storage.js +2 -2
- package/lib/es/useStreamLayerApp2.js +5062 -4028
- package/lib/style.css +1 -1
- package/package.json +17 -16
- package/lib/cjs/index-DSi8Qgfs.js +0 -1
- package/lib/cjs/index16.js +0 -5
- package/lib/cjs/vast-client.min.js +0 -1
- package/lib/classic/cjs/index-DSi8Qgfs.js +0 -1
- package/lib/classic/cjs/index13.js +0 -4
- package/lib/classic/cjs/vast-client.min.js +0 -1
- package/lib/classic/es/index-DSi8Qgfs.js +0 -65
- package/lib/classic/es/index13.js +0 -835
- package/lib/classic/es/vast-client.min.js +0 -1060
- package/lib/es/index-DSi8Qgfs.js +0 -65
- package/lib/es/index16.js +0 -1254
- package/lib/es/vast-client.min.js +0 -1060
package/lib/cjs/index7.js
CHANGED
|
@@ -1,5 +1 @@
|
|
|
1
|
-
"use strict";var M={},k={};function Se(u,e,r){if(r===void 0&&(r=Array.prototype),u&&typeof r.find=="function")return r.find.call(u,e);for(var t=0;t<u.length;t++)if(Object.prototype.hasOwnProperty.call(u,t)){var n=u[t];if(e.call(void 0,n,t,u))return n}}function wu(u,e){return e===void 0&&(e=Object),e&&typeof e.freeze=="function"?e.freeze(u):u}function qe(u,e){if(u===null||typeof u!="object")throw new TypeError("target is not an object");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(u[r]=e[r]);return u}var Ju=wu({HTML:"text/html",isHTML:function(u){return u===Ju.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),Wu=wu({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(u){return u===Wu.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});k.assign=qe;k.find=Se;k.freeze=wu;k.MIME_TYPE=Ju;k.NAMESPACE=Wu;var Ku=k,O=Ku.find,K=Ku.NAMESPACE;function Oe(u){return u!==""}function Re(u){return u?u.split(/[\t\n\f\r ]+/).filter(Oe):[]}function _e(u,e){return u.hasOwnProperty(e)||(u[e]=!0),u}function ku(u){if(!u)return[];var e=Re(u);return Object.keys(e.reduce(_e,{}))}function Le(u){return function(e){return u&&u.indexOf(e)!==-1}}function tu(u,e){for(var r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r])}function y(u,e){var r=u.prototype;if(!(r instanceof e)){let t=function(){};t.prototype=e.prototype,t=new t,tu(r,t),u.prototype=r=t}r.constructor!=u&&(typeof u!="function"&&console.error("unknown Class:"+u),r.constructor=u)}var T={},q=T.ELEMENT_NODE=1,$=T.ATTRIBUTE_NODE=2,lu=T.TEXT_NODE=3,ue=T.CDATA_SECTION_NODE=4,ee=T.ENTITY_REFERENCE_NODE=5,Ie=T.ENTITY_NODE=6,re=T.PROCESSING_INSTRUCTION_NODE=7,te=T.COMMENT_NODE=8,ne=T.DOCUMENT_NODE=9,ae=T.DOCUMENT_TYPE_NODE=10,L=T.DOCUMENT_FRAGMENT_NODE=11,ke=T.NOTATION_NODE=12,b={},v={};b.INDEX_SIZE_ERR=(v[1]="Index size error",1);b.DOMSTRING_SIZE_ERR=(v[2]="DOMString size error",2);var N=b.HIERARCHY_REQUEST_ERR=(v[3]="Hierarchy request error",3);b.WRONG_DOCUMENT_ERR=(v[4]="Wrong document",4);b.INVALID_CHARACTER_ERR=(v[5]="Invalid character",5);b.NO_DATA_ALLOWED_ERR=(v[6]="No data allowed",6);b.NO_MODIFICATION_ALLOWED_ERR=(v[7]="No modification allowed",7);var ie=b.NOT_FOUND_ERR=(v[8]="Not found",8);b.NOT_SUPPORTED_ERR=(v[9]="Not supported",9);var Uu=b.INUSE_ATTRIBUTE_ERR=(v[10]="Attribute in use",10);b.INVALID_STATE_ERR=(v[11]="Invalid state",11);b.SYNTAX_ERR=(v[12]="Syntax error",12);b.INVALID_MODIFICATION_ERR=(v[13]="Invalid modification",13);b.NAMESPACE_ERR=(v[14]="Invalid namespace",14);b.INVALID_ACCESS_ERR=(v[15]="Invalid access",15);function m(u,e){if(e instanceof Error)var r=e;else r=this,Error.call(this,v[u]),this.message=v[u],Error.captureStackTrace&&Error.captureStackTrace(this,m);return r.code=u,e&&(this.message=this.message+": "+e),r}m.prototype=Error.prototype;tu(b,m);function _(){}_.prototype={length:0,item:function(u){return u>=0&&u<this.length?this[u]:null},toString:function(u,e){for(var r=[],t=0;t<this.length;t++)j(this[t],r,u,e);return r.join("")},filter:function(u){return Array.prototype.filter.call(this,u)},indexOf:function(u){return Array.prototype.indexOf.call(this,u)}};function X(u,e){this._node=u,this._refresh=e,Bu(this)}function Bu(u){var e=u._node._inc||u._node.ownerDocument._inc;if(u._inc!==e){var r=u._refresh(u._node);if(ge(u,"length",r.length),!u.$$length||r.length<u.$$length)for(var t=r.length;t in u;t++)Object.prototype.hasOwnProperty.call(u,t)&&delete u[t];tu(r,u),u._inc=e}}X.prototype.item=function(u){return Bu(this),this[u]||null};y(X,_);function cu(){}function oe(u,e){for(var r=u.length;r--;)if(u[r]===e)return r}function Mu(u,e,r,t){if(t?e[oe(e,t)]=r:e[e.length++]=r,u){r.ownerElement=u;var n=u.ownerDocument;n&&(t&&ce(n,u,t),Ue(n,u,r))}}function Pu(u,e,r){var t=oe(e,r);if(t>=0){for(var n=e.length-1;t<n;)e[t]=e[++t];if(e.length=n,u){var a=u.ownerDocument;a&&(ce(a,u,r),r.ownerElement=null)}}else throw new m(ie,new Error(u.tagName+"@"+r))}cu.prototype={length:0,item:_.prototype.item,getNamedItem:function(u){for(var e=this.length;e--;){var r=this[e];if(r.nodeName==u)return r}},setNamedItem:function(u){var e=u.ownerElement;if(e&&e!=this._ownerElement)throw new m(Uu);var r=this.getNamedItem(u.nodeName);return Mu(this._ownerElement,this,u,r),r},setNamedItemNS:function(u){var e=u.ownerElement,r;if(e&&e!=this._ownerElement)throw new m(Uu);return r=this.getNamedItemNS(u.namespaceURI,u.localName),Mu(this._ownerElement,this,u,r),r},removeNamedItem:function(u){var e=this.getNamedItem(u);return Pu(this._ownerElement,this,e),e},removeNamedItemNS:function(u,e){var r=this.getNamedItemNS(u,e);return Pu(this._ownerElement,this,r),r},getNamedItemNS:function(u,e){for(var r=this.length;r--;){var t=this[r];if(t.localName==e&&t.namespaceURI==u)return t}return null}};function se(){}se.prototype={hasFeature:function(u,e){return!0},createDocument:function(u,e,r){var t=new nu;if(t.implementation=this,t.childNodes=new _,t.doctype=r||null,r&&t.appendChild(r),e){var n=t.createElementNS(u,e);t.appendChild(n)}return t},createDocumentType:function(u,e,r){var t=new fu;return t.name=u,t.nodeName=u,t.publicId=e||"",t.systemId=r||"",t}};function D(){}D.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(u,e){return pu(this,u,e)},replaceChild:function(u,e){pu(this,u,e,De),e&&this.removeChild(e)},removeChild:function(u){return pe(this,u)},appendChild:function(u){return this.insertBefore(u,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(u){return Cu(this.ownerDocument||this,this,u)},normalize:function(){for(var u=this.firstChild;u;){var e=u.nextSibling;e&&e.nodeType==lu&&u.nodeType==lu?(this.removeChild(e),u.appendData(e.data)):(u.normalize(),u=e)}},isSupported:function(u,e){return this.ownerDocument.implementation.hasFeature(u,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(u){for(var e=this;e;){var r=e._nsMap;if(r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&r[t]===u)return t}e=e.nodeType==$?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(u){for(var e=this;e;){var r=e._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,u))return r[u];e=e.nodeType==$?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(u){var e=this.lookupPrefix(u);return e==null}};function le(u){return u=="<"&&"<"||u==">"&&">"||u=="&"&&"&"||u=='"'&&"""||"&#"+u.charCodeAt()+";"}tu(T,D);tu(T,D.prototype);function uu(u,e){if(e(u))return!0;if(u=u.firstChild)do if(uu(u,e))return!0;while(u=u.nextSibling)}function nu(){this.ownerDocument=this}function Ue(u,e,r){u&&u._inc++;var t=r.namespaceURI;t===K.XMLNS&&(e._nsMap[r.prefix?r.localName:""]=r.value)}function ce(u,e,r,t){u&&u._inc++;var n=r.namespaceURI;n===K.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function Nu(u,e,r){if(u&&u._inc){u._inc++;var t=e.childNodes;if(r)t[t.length++]=r;else{for(var n=e.firstChild,a=0;n;)t[a++]=n,n=n.nextSibling;t.length=a,delete t[t.length]}}}function pe(u,e){var r=e.previousSibling,t=e.nextSibling;return r?r.nextSibling=t:u.firstChild=t,t?t.previousSibling=r:u.lastChild=r,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,Nu(u.ownerDocument,u),e}function Me(u){return u&&(u.nodeType===D.DOCUMENT_NODE||u.nodeType===D.DOCUMENT_FRAGMENT_NODE||u.nodeType===D.ELEMENT_NODE)}function Pe(u){return u&&(R(u)||yu(u)||I(u)||u.nodeType===D.DOCUMENT_FRAGMENT_NODE||u.nodeType===D.COMMENT_NODE||u.nodeType===D.PROCESSING_INSTRUCTION_NODE)}function I(u){return u&&u.nodeType===D.DOCUMENT_TYPE_NODE}function R(u){return u&&u.nodeType===D.ELEMENT_NODE}function yu(u){return u&&u.nodeType===D.TEXT_NODE}function Vu(u,e){var r=u.childNodes||[];if(O(r,R)||I(e))return!1;var t=O(r,I);return!(e&&t&&r.indexOf(t)>r.indexOf(e))}function Gu(u,e){var r=u.childNodes||[];function t(a){return R(a)&&a!==e}if(O(r,t))return!1;var n=O(r,I);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function Ve(u,e,r){if(!Me(u))throw new m(N,"Unexpected parent node type "+u.nodeType);if(r&&r.parentNode!==u)throw new m(ie,"child not in parent");if(!Pe(e)||I(e)&&u.nodeType!==D.DOCUMENT_NODE)throw new m(N,"Unexpected node type "+e.nodeType+" for parent node type "+u.nodeType)}function Ge(u,e,r){var t=u.childNodes||[],n=e.childNodes||[];if(e.nodeType===D.DOCUMENT_FRAGMENT_NODE){var a=n.filter(R);if(a.length>1||O(n,yu))throw new m(N,"More than one element or text in fragment");if(a.length===1&&!Vu(u,r))throw new m(N,"Element in fragment can not be inserted before doctype")}if(R(e)&&!Vu(u,r))throw new m(N,"Only one element can be added and only after doctype");if(I(e)){if(O(t,I))throw new m(N,"Only one doctype is allowed");var i=O(t,R);if(r&&t.indexOf(i)<t.indexOf(r))throw new m(N,"Doctype can only be inserted before an element");if(!r&&i)throw new m(N,"Doctype can not be appended since element is present")}}function De(u,e,r){var t=u.childNodes||[],n=e.childNodes||[];if(e.nodeType===D.DOCUMENT_FRAGMENT_NODE){var a=n.filter(R);if(a.length>1||O(n,yu))throw new m(N,"More than one element or text in fragment");if(a.length===1&&!Gu(u,r))throw new m(N,"Element in fragment can not be inserted before doctype")}if(R(e)&&!Gu(u,r))throw new m(N,"Only one element can be added and only after doctype");if(I(e)){if(O(t,function(o){return I(o)&&o!==r}))throw new m(N,"Only one doctype is allowed");var i=O(t,R);if(r&&t.indexOf(i)<t.indexOf(r))throw new m(N,"Doctype can only be inserted before an element")}}function pu(u,e,r,t){Ve(u,e,r),u.nodeType===D.DOCUMENT_NODE&&(t||Ge)(u,e,r);var n=e.parentNode;if(n&&n.removeChild(e),e.nodeType===L){var a=e.firstChild;if(a==null)return e;var i=e.lastChild}else a=i=e;var s=r?r.previousSibling:u.lastChild;a.previousSibling=s,i.nextSibling=r,s?s.nextSibling=a:u.firstChild=a,r==null?u.lastChild=i:r.previousSibling=i;do{a.parentNode=u;var o=u.ownerDocument||u;eu(a,o)}while(a!==i&&(a=a.nextSibling));return Nu(u.ownerDocument||u,u),e.nodeType==L&&(e.firstChild=e.lastChild=null),e}function eu(u,e){if(u.ownerDocument!==e){if(u.ownerDocument=e,u.nodeType===q&&u.attributes)for(var r=0;r<u.attributes.length;r++){var t=u.attributes.item(r);t&&(t.ownerDocument=e)}for(var n=u.firstChild;n;)eu(n,e),n=n.nextSibling}}function ze(u,e){e.parentNode&&e.parentNode.removeChild(e),e.parentNode=u,e.previousSibling=u.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:u.firstChild=e,u.lastChild=e,Nu(u.ownerDocument,u,e);var r=u.ownerDocument||u;return eu(e,r),e}nu.prototype={nodeName:"#document",nodeType:ne,doctype:null,documentElement:null,_inc:1,insertBefore:function(u,e){if(u.nodeType==L){for(var r=u.firstChild;r;){var t=r.nextSibling;this.insertBefore(r,e),r=t}return u}return pu(this,u,e),eu(u,this),this.documentElement===null&&u.nodeType===q&&(this.documentElement=u),u},removeChild:function(u){return this.documentElement==u&&(this.documentElement=null),pe(this,u)},replaceChild:function(u,e){pu(this,u,e,De),eu(u,this),e&&this.removeChild(e),R(u)&&(this.documentElement=u)},importNode:function(u,e){return Ee(this,u,e)},getElementById:function(u){var e=null;return uu(this.documentElement,function(r){if(r.nodeType==q&&r.getAttribute("id")==u)return e=r,!0}),e},getElementsByClassName:function(u){var e=ku(u);return new X(this,function(r){var t=[];return e.length>0&&uu(r.documentElement,function(n){if(n!==r&&n.nodeType===q){var a=n.getAttribute("class");if(a){var i=u===a;if(!i){var s=ku(a);i=e.every(Le(s))}i&&t.push(n)}}}),t})},createElement:function(u){var e=new P;e.ownerDocument=this,e.nodeName=u,e.tagName=u,e.localName=u,e.childNodes=new _;var r=e.attributes=new cu;return r._ownerElement=e,e},createDocumentFragment:function(){var u=new Au;return u.ownerDocument=this,u.childNodes=new _,u},createTextNode:function(u){var e=new Tu;return e.ownerDocument=this,e.appendData(u),e},createComment:function(u){var e=new Fu;return e.ownerDocument=this,e.appendData(u),e},createCDATASection:function(u){var e=new xu;return e.ownerDocument=this,e.appendData(u),e},createProcessingInstruction:function(u,e){var r=new qu;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=u,r.nodeValue=r.data=e,r},createAttribute:function(u){var e=new Du;return e.ownerDocument=this,e.name=u,e.nodeName=u,e.localName=u,e.specified=!0,e},createEntityReference:function(u){var e=new Su;return e.ownerDocument=this,e.nodeName=u,e},createElementNS:function(u,e){var r=new P,t=e.split(":"),n=r.attributes=new cu;return r.childNodes=new _,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=u,t.length==2?(r.prefix=t[0],r.localName=t[1]):r.localName=e,n._ownerElement=r,r},createAttributeNS:function(u,e){var r=new Du,t=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=u,r.specified=!0,t.length==2?(r.prefix=t[0],r.localName=t[1]):r.localName=e,r}};y(nu,D);function P(){this._nsMap={}}P.prototype={nodeType:q,hasAttribute:function(u){return this.getAttributeNode(u)!=null},getAttribute:function(u){var e=this.getAttributeNode(u);return e&&e.value||""},getAttributeNode:function(u){return this.attributes.getNamedItem(u)},setAttribute:function(u,e){var r=this.ownerDocument.createAttribute(u);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(u){var e=this.getAttributeNode(u);e&&this.removeAttributeNode(e)},appendChild:function(u){return u.nodeType===L?this.insertBefore(u,null):ze(this,u)},setAttributeNode:function(u){return this.attributes.setNamedItem(u)},setAttributeNodeNS:function(u){return this.attributes.setNamedItemNS(u)},removeAttributeNode:function(u){return this.attributes.removeNamedItem(u.nodeName)},removeAttributeNS:function(u,e){var r=this.getAttributeNodeNS(u,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(u,e){return this.getAttributeNodeNS(u,e)!=null},getAttributeNS:function(u,e){var r=this.getAttributeNodeNS(u,e);return r&&r.value||""},setAttributeNS:function(u,e,r){var t=this.ownerDocument.createAttributeNS(u,e);t.value=t.nodeValue=""+r,this.setAttributeNode(t)},getAttributeNodeNS:function(u,e){return this.attributes.getNamedItemNS(u,e)},getElementsByTagName:function(u){return new X(this,function(e){var r=[];return uu(e,function(t){t!==e&&t.nodeType==q&&(u==="*"||t.tagName==u)&&r.push(t)}),r})},getElementsByTagNameNS:function(u,e){return new X(this,function(r){var t=[];return uu(r,function(n){n!==r&&n.nodeType===q&&(u==="*"||n.namespaceURI===u)&&(e==="*"||n.localName==e)&&t.push(n)}),t})}};nu.prototype.getElementsByTagName=P.prototype.getElementsByTagName;nu.prototype.getElementsByTagNameNS=P.prototype.getElementsByTagNameNS;y(P,D);function Du(){}Du.prototype.nodeType=$;y(Du,D);function au(){}au.prototype={data:"",substringData:function(u,e){return this.data.substring(u,u+e)},appendData:function(u){u=this.data+u,this.nodeValue=this.data=u,this.length=u.length},insertData:function(u,e){this.replaceData(u,0,e)},appendChild:function(u){throw new Error(v[N])},deleteData:function(u,e){this.replaceData(u,e,"")},replaceData:function(u,e,r){var t=this.data.substring(0,u),n=this.data.substring(u+e);r=t+r+n,this.nodeValue=this.data=r,this.length=r.length}};y(au,D);function Tu(){}Tu.prototype={nodeName:"#text",nodeType:lu,splitText:function(u){var e=this.data,r=e.substring(u);e=e.substring(0,u),this.data=this.nodeValue=e,this.length=e.length;var t=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling),t}};y(Tu,au);function Fu(){}Fu.prototype={nodeName:"#comment",nodeType:te};y(Fu,au);function xu(){}xu.prototype={nodeName:"#cdata-section",nodeType:ue};y(xu,au);function fu(){}fu.prototype.nodeType=ae;y(fu,D);function fe(){}fe.prototype.nodeType=ke;y(fe,D);function Ae(){}Ae.prototype.nodeType=Ie;y(Ae,D);function Su(){}Su.prototype.nodeType=ee;y(Su,D);function Au(){}Au.prototype.nodeName="#document-fragment";Au.prototype.nodeType=L;y(Au,D);function qu(){}qu.prototype.nodeType=re;y(qu,D);function he(){}he.prototype.serializeToString=function(u,e,r){return me.call(u,e,r)};D.prototype.toString=me;function me(u,e){var r=[],t=this.nodeType==9&&this.documentElement||this,n=t.prefix,a=t.namespaceURI;if(a&&n==null){var n=t.lookupPrefix(a);if(n==null)var i=[{namespace:a,prefix:null}]}return j(this,r,u,e,i),r.join("")}function zu(u,e,r){var t=u.prefix||"",n=u.namespaceURI;if(!n||t==="xml"&&n===K.XML||n===K.XMLNS)return!1;for(var a=r.length;a--;){var i=r[a];if(i.prefix===t)return i.namespace!==n}return!0}function du(u,e,r){u.push(" ",e,'="',r.replace(/[<>&"\t\n\r]/g,le),'"')}function j(u,e,r,t,n){if(n||(n=[]),t)if(u=t(u),u){if(typeof u=="string"){e.push(u);return}}else return;switch(u.nodeType){case q:var a=u.attributes,i=a.length,d=u.firstChild,s=u.tagName;r=K.isHTML(u.namespaceURI)||r;var o=s;if(!r&&!u.prefix&&u.namespaceURI){for(var l,c=0;c<a.length;c++)if(a.item(c).name==="xmlns"){l=a.item(c).value;break}if(!l)for(var f=n.length-1;f>=0;f--){var p=n[f];if(p.prefix===""&&p.namespace===u.namespaceURI){l=p.namespace;break}}if(l!==u.namespaceURI)for(var f=n.length-1;f>=0;f--){var p=n[f];if(p.namespace===u.namespaceURI){p.prefix&&(o=p.prefix+":"+s);break}}}e.push("<",o);for(var g=0;g<i;g++){var B=a.item(g);B.prefix=="xmlns"?n.push({prefix:B.localName,namespace:B.value}):B.nodeName=="xmlns"&&n.push({prefix:"",namespace:B.value})}for(var g=0;g<i;g++){var B=a.item(g);if(zu(B,r,n)){var E=B.prefix||"",A=B.namespaceURI;du(e,E?"xmlns:"+E:"xmlns",A),n.push({prefix:E,namespace:A})}j(B,e,r,t,n)}if(s===o&&zu(u,r,n)){var E=u.prefix||"",A=u.namespaceURI;du(e,E?"xmlns:"+E:"xmlns",A),n.push({prefix:E,namespace:A})}if(d||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(s)){if(e.push(">"),r&&/^script$/i.test(s))for(;d;)d.data?e.push(d.data):j(d,e,r,t,n.slice()),d=d.nextSibling;else for(;d;)j(d,e,r,t,n.slice()),d=d.nextSibling;e.push("</",o,">")}else e.push("/>");return;case ne:case L:for(var d=u.firstChild;d;)j(d,e,r,t,n.slice()),d=d.nextSibling;return;case $:return du(e,u.name,u.value);case lu:return e.push(u.data.replace(/[<&>]/g,le));case ue:return e.push("<![CDATA[",u.data,"]]>");case te:return e.push("<!--",u.data,"-->");case ae:var Q=u.publicId,C=u.systemId;if(e.push("<!DOCTYPE ",u.name),Q)e.push(" PUBLIC ",Q),C&&C!="."&&e.push(" ",C),e.push(">");else if(C&&C!=".")e.push(" SYSTEM ",C,">");else{var x=u.internalSubset;x&&e.push(" [",x,"]"),e.push(">")}return;case re:return e.push("<?",u.target," ",u.data,"?>");case ee:return e.push("&",u.nodeName,";");default:e.push("??",u.nodeName)}}function Ee(u,e,r){var t;switch(e.nodeType){case q:t=e.cloneNode(!1),t.ownerDocument=u;case L:break;case $:r=!0;break}if(t||(t=e.cloneNode(!1)),t.ownerDocument=u,t.parentNode=null,r)for(var n=e.firstChild;n;)t.appendChild(Ee(u,n,r)),n=n.nextSibling;return t}function Cu(u,e,r){var t=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=e[n];typeof a!="object"&&a!=t[n]&&(t[n]=a)}switch(e.childNodes&&(t.childNodes=new _),t.ownerDocument=u,t.nodeType){case q:var i=e.attributes,s=t.attributes=new cu,o=i.length;s._ownerElement=t;for(var l=0;l<o;l++)t.setAttributeNode(Cu(u,i.item(l),!0));break;case $:r=!0}if(r)for(var c=e.firstChild;c;)t.appendChild(Cu(u,c,r)),c=c.nextSibling;return t}function ge(u,e,r){u[e]=r}try{if(Object.defineProperty){let u=function(e){switch(e.nodeType){case q:case L:var r=[];for(e=e.firstChild;e;)e.nodeType!==7&&e.nodeType!==8&&r.push(u(e)),e=e.nextSibling;return r.join("");default:return e.nodeValue}};Object.defineProperty(X.prototype,"length",{get:function(){return Bu(this),this.$$length}}),Object.defineProperty(D.prototype,"textContent",{get:function(){return u(this)},set:function(e){switch(this.nodeType){case q:case L:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),ge=function(e,r,t){e["$$"+r]=t}}}catch{}M.DocumentType=fu;M.DOMException=m;M.DOMImplementation=se;M.Element=P;M.Node=D;M.NodeList=_;M.XMLSerializer=he;var hu={},de={};(function(u){var e=k.freeze;u.XML_ENTITIES=e({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),u.HTML_ENTITIES=e({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
2
|
-
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}),u.entityMap=u.HTML_ENTITIES})(de);var Ou={},ru=k.NAMESPACE,vu=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Hu=new RegExp("[\\-\\.0-9"+vu.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),ju=new RegExp("^"+vu.source+Hu.source+"*(?::"+vu.source+Hu.source+"*)?$"),Z=0,U=1,V=2,J=3,G=4,z=5,W=6,ou=7;function Y(u,e){this.message=u,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,Y)}Y.prototype=new Error;Y.prototype.name=Y.name;function Ce(){}Ce.prototype={parse:function(u,e,r){var t=this.domBuilder;t.startDocument(),ve(e,e={}),He(u,e,r,t,this.errorHandler),t.endDocument()}};function He(u,e,r,t,n){function a(h){if(h>65535){h-=65536;var S=55296+(h>>10),xe=56320+(h&1023);return String.fromCharCode(S,xe)}else return String.fromCharCode(h)}function i(h){var S=h.slice(1,-1);return Object.hasOwnProperty.call(r,S)?r[S]:S.charAt(0)==="#"?a(parseInt(S.substr(1).replace("x","0x"))):(n.error("entity not found:"+h),h)}function s(h){if(h>E){var S=u.substring(E,h).replace(/&#?\w+;/g,i);p&&o(E),t.characters(S,0,h-E),E=h}}function o(h,S){for(;h>=c&&(S=f.exec(u));)l=S.index,c=l+S[0].length,p.lineNumber++;p.columnNumber=h-l+1}for(var l=0,c=0,f=/.*(?:\r\n?|\n)|.*$/g,p=t.locator,g=[{currentNSMap:e}],B={},E=0;;){try{var A=u.indexOf("<",E);if(A<0){if(!u.substr(E).match(/^\s*$/)){var d=t.doc,Q=d.createTextNode(u.substr(E));d.appendChild(Q),t.currentElement=Q}return}switch(A>E&&s(A),u.charAt(A+1)){case"/":var w=u.indexOf(">",A+3),C=u.substring(A+2,w).replace(/[ \t\n\r]+$/g,""),x=g.pop();w<0?(C=u.substring(A+2).replace(/[\s<].*/,""),n.error("end tag name: "+C+" is not complete:"+x.tagName),w=A+1+C.length):C.match(/\s</)&&(C=C.replace(/[\s<].*/,""),n.error("end tag name: "+C+" maybe not complete"),w=A+1+C.length);var mu=x.localNSMap,Ru=x.tagName==C,Te=Ru||x.tagName&&x.tagName.toLowerCase()==C.toLowerCase();if(Te){if(t.endElement(x.uri,x.localName,C),mu)for(var _u in mu)Object.prototype.hasOwnProperty.call(mu,_u)&&t.endPrefixMapping(_u);Ru||n.fatalError("end tag name: "+C+" is not match the current start tagName:"+x.tagName)}else g.push(x);w++;break;case"?":p&&o(A),w=Qe(u,A,t);break;case"!":p&&o(A),w=Ye(u,A,t,n);break;default:p&&o(A);var F=new be,Eu=g[g.length-1].currentNSMap,w=je(u,A,F,Eu,i,n),Lu=F.length;if(!F.closed&&Xe(u,w,F.tagName,B)&&(F.closed=!0,r.nbsp||n.warning("unclosed xml attribute")),p&&Lu){for(var Fe=$u(p,{}),gu=0;gu<Lu;gu++){var Iu=F[gu];o(Iu.offset),Iu.locator=$u(p,{})}t.locator=Fe,Xu(F,t,Eu)&&g.push(F),t.locator=p}else Xu(F,t,Eu)&&g.push(F);ru.isHTML(F.uri)&&!F.closed?w=$e(u,w,F.tagName,i,t):w++}}catch(h){if(h instanceof Y)throw h;n.error("element parse error: "+h),w=-1}w>E?E=w:s(Math.max(A,E)+1)}}function $u(u,e){return e.lineNumber=u.lineNumber,e.columnNumber=u.columnNumber,e}function je(u,e,r,t,n,a){function i(p,g,B){r.attributeNames.hasOwnProperty(p)&&a.fatalError("Attribute "+p+" redefined"),r.addValue(p,g.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,n),B)}for(var s,o,l=++e,c=Z;;){var f=u.charAt(l);switch(f){case"=":if(c===U)s=u.slice(e,l),c=J;else if(c===V)c=J;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(c===J||c===U)if(c===U&&(a.warning('attribute value must after "="'),s=u.slice(e,l)),e=l+1,l=u.indexOf(f,e),l>0)o=u.slice(e,l),i(s,o,e-1),c=z;else throw new Error("attribute value no end '"+f+"' match");else if(c==G)o=u.slice(e,l),i(s,o,e),a.warning('attribute "'+s+'" missed start quot('+f+")!!"),e=l+1,c=z;else throw new Error('attribute value must after "="');break;case"/":switch(c){case Z:r.setTagName(u.slice(e,l));case z:case W:case ou:c=ou,r.closed=!0;case G:case U:break;case V:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),c==Z&&r.setTagName(u.slice(e,l)),l;case">":switch(c){case Z:r.setTagName(u.slice(e,l));case z:case W:case ou:break;case G:case U:o=u.slice(e,l),o.slice(-1)==="/"&&(r.closed=!0,o=o.slice(0,-1));case V:c===V&&(o=s),c==G?(a.warning('attribute "'+o+'" missed quot(")!'),i(s,o,e)):((!ru.isHTML(t[""])||!o.match(/^(?:disabled|checked|selected)$/i))&&a.warning('attribute "'+o+'" missed value!! "'+o+'" instead!!'),i(o,o,e));break;case J:throw new Error("attribute value missed!!")}return l;case"":f=" ";default:if(f<=" ")switch(c){case Z:r.setTagName(u.slice(e,l)),c=W;break;case U:s=u.slice(e,l),c=V;break;case G:var o=u.slice(e,l);a.warning('attribute "'+o+'" missed quot(")!!'),i(s,o,e);case z:c=W;break}else switch(c){case V:r.tagName,(!ru.isHTML(t[""])||!s.match(/^(?:disabled|checked|selected)$/i))&&a.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),i(s,s,e),e=l,c=U;break;case z:a.warning('attribute space is required"'+s+'"!!');case W:c=U,e=l;break;case J:c=G,e=l;break;case ou:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function Xu(u,e,r){for(var t=u.tagName,n=null,f=u.length;f--;){var a=u[f],i=a.qName,s=a.value,p=i.indexOf(":");if(p>0)var o=a.prefix=i.slice(0,p),l=i.slice(p+1),c=o==="xmlns"&&l;else l=i,o=null,c=i==="xmlns"&&"";a.localName=l,c!==!1&&(n==null&&(n={},ve(r,r={})),r[c]=n[c]=s,a.uri=ru.XMLNS,e.startPrefixMapping(c,s))}for(var f=u.length;f--;){a=u[f];var o=a.prefix;o&&(o==="xml"&&(a.uri=ru.XML),o!=="xmlns"&&(a.uri=r[o||""]))}var p=t.indexOf(":");p>0?(o=u.prefix=t.slice(0,p),l=u.localName=t.slice(p+1)):(o=null,l=u.localName=t);var g=u.uri=r[o||""];if(e.startElement(g,l,t,u),u.closed){if(e.endElement(g,l,t),n)for(o in n)Object.prototype.hasOwnProperty.call(n,o)&&e.endPrefixMapping(o)}else return u.currentNSMap=r,u.localNSMap=n,!0}function $e(u,e,r,t,n){if(/^(?:script|textarea)$/i.test(r)){var a=u.indexOf("</"+r+">",e),i=u.substring(e+1,a);if(/[&<]/.test(i))return/^script$/i.test(r)?(n.characters(i,0,i.length),a):(i=i.replace(/&#?\w+;/g,t),n.characters(i,0,i.length),a)}return e+1}function Xe(u,e,r,t){var n=t[r];return n==null&&(n=u.lastIndexOf("</"+r+">"),n<e&&(n=u.lastIndexOf("</"+r)),t[r]=n),n<e}function ve(u,e){for(var r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r])}function Ye(u,e,r,t){var n=u.charAt(e+2);switch(n){case"-":if(u.charAt(e+3)==="-"){var a=u.indexOf("-->",e+4);return a>e?(r.comment(u,e+4,a-e-4),a+3):(t.error("Unclosed comment"),-1)}else return-1;default:if(u.substr(e+3,6)=="CDATA["){var a=u.indexOf("]]>",e+9);return r.startCDATA(),r.characters(u,e+9,a-e-9),r.endCDATA(),a+3}var i=Ze(u,e),s=i.length;if(s>1&&/!doctype/i.test(i[0][0])){var o=i[1][0],l=!1,c=!1;s>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],c=s>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var f=i[s-1];return r.startDTD(o,l,c),r.endDTD(),f.index+f[0].length}}return-1}function Qe(u,e,r){var t=u.indexOf("?>",e);if(t){var n=u.substring(e,t).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return n?(n[0].length,r.processingInstruction(n[1],n[2]),t+2):-1}return-1}function be(){this.attributeNames={}}be.prototype={setTagName:function(u){if(!ju.test(u))throw new Error("invalid tagName:"+u);this.tagName=u},addValue:function(u,e,r){if(!ju.test(u))throw new Error("invalid attribute:"+u);this.attributeNames[u]=this.length,this[this.length++]={qName:u,value:e,offset:r}},length:0,getLocalName:function(u){return this[u].localName},getLocator:function(u){return this[u].locator},getQName:function(u){return this[u].qName},getURI:function(u){return this[u].uri},getValue:function(u){return this[u].value}};function Ze(u,e){var r,t=[],n=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(n.lastIndex=e,n.exec(u);r=n.exec(u);)if(t.push(r),r[1])return t}Ou.XMLReader=Ce;Ou.ParseError=Y;var Je=k,We=M,Yu=de,we=Ou,Ke=We.DOMImplementation,Qu=Je.NAMESPACE,ur=we.ParseError,er=we.XMLReader;function Be(u){return u.replace(/\r[\n\u0085]/g,`
|
|
3
|
-
`).replace(/[\r\u0085\u2028]/g,`
|
|
4
|
-
`)}function Ne(u){this.options=u||{locator:{}}}Ne.prototype.parseFromString=function(u,e){var r=this.options,t=new er,n=r.domBuilder||new iu,a=r.errorHandler,i=r.locator,s=r.xmlns||{},o=/\/x?html?$/.test(e),l=o?Yu.HTML_ENTITIES:Yu.XML_ENTITIES;i&&n.setDocumentLocator(i),t.errorHandler=rr(a,n,i),t.domBuilder=r.domBuilder||n,o&&(s[""]=Qu.HTML),s.xml=s.xml||Qu.XML;var c=r.normalizeLineEndings||Be;return u&&typeof u=="string"?t.parse(c(u),s,l):t.errorHandler.error("invalid doc source"),n.doc};function rr(u,e,r){if(!u){if(e instanceof iu)return e;u=e}var t={},n=u instanceof Function;r=r||{};function a(i){var s=u[i];!s&&n&&(s=u.length==2?function(o){u(i,o)}:u),t[i]=s&&function(o){s("[xmldom "+i+"] "+o+bu(r))}||function(){}}return a("warning"),a("error"),a("fatalError"),t}function iu(){this.cdata=!1}function H(u,e){e.lineNumber=u.lineNumber,e.columnNumber=u.columnNumber}iu.prototype={startDocument:function(){this.doc=new Ke().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(u,e,r,t){var n=this.doc,a=n.createElementNS(u,r||e),i=t.length;su(this,a),this.currentElement=a,this.locator&&H(this.locator,a);for(var s=0;s<i;s++){var u=t.getURI(s),o=t.getValue(s),r=t.getQName(s),l=n.createAttributeNS(u,r);this.locator&&H(t.getLocator(s),l),l.value=l.nodeValue=o,a.setAttributeNode(l)}},endElement:function(u,e,r){var t=this.currentElement;t.tagName,this.currentElement=t.parentNode},startPrefixMapping:function(u,e){},endPrefixMapping:function(u){},processingInstruction:function(u,e){var r=this.doc.createProcessingInstruction(u,e);this.locator&&H(this.locator,r),su(this,r)},ignorableWhitespace:function(u,e,r){},characters:function(u,e,r){if(u=Zu.apply(this,arguments),u){if(this.cdata)var t=this.doc.createCDATASection(u);else var t=this.doc.createTextNode(u);this.currentElement?this.currentElement.appendChild(t):/^\s*$/.test(u)&&this.doc.appendChild(t),this.locator&&H(this.locator,t)}},skippedEntity:function(u){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(u){(this.locator=u)&&(u.lineNumber=0)},comment:function(u,e,r){u=Zu.apply(this,arguments);var t=this.doc.createComment(u);this.locator&&H(this.locator,t),su(this,t)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(u,e,r){var t=this.doc.implementation;if(t&&t.createDocumentType){var n=t.createDocumentType(u,e,r);this.locator&&H(this.locator,n),su(this,n),this.doc.doctype=n}},warning:function(u){console.warn("[xmldom warning] "+u,bu(this.locator))},error:function(u){console.error("[xmldom error] "+u,bu(this.locator))},fatalError:function(u){throw new ur(u,this.locator)}};function bu(u){if(u)return`
|
|
5
|
-
@`+(u.systemId||"")+"#[line:"+u.lineNumber+",col:"+u.columnNumber+"]"}function Zu(u,e,r){return typeof u=="string"?u.substr(e,r):u.length>=e+r||e?new java.lang.String(u,e,r)+"":u}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(u){iu.prototype[u]=function(){return null}});function su(u,e){u.currentElement?u.currentElement.appendChild(e):u.doc.appendChild(e)}hu.__DOMHandler=iu;hu.normalizeLineEndings=Be;hu.DOMParser=Ne;var ye=hu.DOMParser;const tr=Object.freeze(Object.defineProperty({__proto__:null,DOMParser:ye},Symbol.toStringTag,{value:"Module"}));exports.DOMParser=ye;exports.index=tr;
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),h=require("./sl-types.js"),i=require("./theme.js"),l=({children:s,customTheme:t,themeMode:c,style:r})=>e.jsx("div",{className:"StreamLayerSDKTheme",children:e.jsx("div",{className:h.cx_default(i.h,c,t),style:r,children:s})});exports.h=l;
|
package/lib/cjs/index8.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),c=require("./sl-types.js"),e=c.styled_default("div")({name:"Container",class:"cqg02m",propsAsIs:!1}),l=({children:s,style:t,loading:i})=>i?n.jsx(e,{style:t,children:s}):s;exports.e=e;exports.i=l;
|
package/lib/cjs/index9.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),c=require("./sl-types.js"),e=c.styled_default("div")({name:"Container",class:"cqg02m",propsAsIs:!1}),l=({children:s,style:t,loading:i})=>i?n.jsx(e,{style:t,children:s}):s;exports.e=e;exports.i=l;
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),D=require("./index13.js"),e=require("./sl-types.js"),h=require("./index12.js"),_=require("./index11.js"),c=require("./index6.js"),C=require("./useStreamLayerApp2.js"),y=require("react"),q=e.styled_default("div")({name:"Container",class:"c1vwopgc",propsAsIs:!1}),N=e.styled_default("div")({name:"QuestionTypeWrap",class:"qyktpt0",propsAsIs:!1}),P=()=>c.B1,T=e.styled_default(P())({name:"QuestionTypeIcon",class:"q951jdx",propsAsIs:!0}),k=e.styled_default("span")({name:"QuestionTypeTitle",class:"qss5f0e",propsAsIs:!1}),S=e.styled_default("button")({name:"CloseIconWrap",class:"c1ao1jtv",propsAsIs:!1}),Q=()=>c.B1,O=e.styled_default(Q())({name:"CloseIcon",class:"cvsl7l3",propsAsIs:!0}),U=D.O(S,{}),R=({webos:l,type:i,closeTimer:t,close:n,label:p,mastersApp:o})=>{const a=i?_.e[i]:{label:p,iconName:void 0};return s.jsxs(q,{children:[s.jsxs(N,{children:[(a==null?void 0:a.iconName)&&s.jsx(T,{"data-type-trivia":i===C.QuestionType.TRIVIA,"data-type-poll":i===C.QuestionType.POLL,"data-type-prediction":i===C.QuestionType.PREDICTION,"data-masters-app":!!o,name:a.iconName}),(a==null?void 0:a.label)&&s.jsx(k,{children:a.label})]}),t!=null&&t.seconds?s.jsx(h.y,{close:n,autoClose:t.auto,duration:t.seconds}):s.jsx(U,{webos:l,"data-a":"intr",onClick:n,type:"button","data-close-btn":"true",children:s.jsx(O,{"data-a":"intr",name:"icon-cross"})})]})},W="data:image/svg+xml,%3csvg%20width='103'%20height='18'%20viewBox='0%200%20103%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6919_104497)'%3e%3cpath%20d='M9.89618%203.45801C9.91951%203.45801%209.94451%203.46134%209.96784%203.46134C9.97618%203.46134%209.98284%203.46134%209.99118%203.46467H9.99784C10.0095%203.46467%2010.0212%203.46801%2010.0312%203.46801C10.0412%203.46801%2010.0462%203.46801%2010.0545%203.47134C10.0762%203.47467%2010.0962%203.47467%2010.1178%203.47634C10.1412%203.47967%2010.1662%203.48134%2010.1895%203.48467H10.2012C10.2462%203.48967%2010.2945%203.49634%2010.3395%203.50467C10.4512%203.52467%2010.5595%203.54801%2010.6662%203.57801C10.6928%203.58301%2010.7178%203.59301%2010.7445%203.60134H10.7478C10.7745%203.60967%2010.7995%203.61801%2010.8262%203.62467C10.8528%203.63301%2010.8778%203.64134%2010.9045%203.65134C10.9312%203.65967%2010.9562%203.66801%2010.9795%203.67967C11.0012%203.68801%2011.0212%203.69634%2011.0428%203.70634C11.0495%203.70967%2011.0578%203.71134%2011.0645%203.71467C11.0828%203.72301%2011.1012%203.72967%2011.1195%203.73801C11.1262%203.74134%2011.1312%203.74301%2011.1378%203.74634C11.1562%203.75467%2011.1712%203.76134%2011.1895%203.76967C11.1962%203.77301%2011.2045%203.77467%2011.2128%203.78134C11.2345%203.78967%2011.2528%203.79801%2011.2728%203.80967C11.2762%203.80967%2011.2795%203.81301%2011.2812%203.81301C11.3045%203.82467%2011.3295%203.83634%2011.3512%203.84801C11.3695%203.85634%2011.3878%203.86801%2011.4062%203.87634C11.4212%203.88134%2011.4328%203.89134%2011.4462%203.89967C11.4645%203.91134%2011.4828%203.91967%2011.5012%203.93134C11.5045%203.93467%2011.5078%203.93467%2011.5095%203.93634L11.5728%203.97467H11.5762L15.2178%206.18801L15.4412%206.32467C16.3228%206.90801%2016.9028%207.88467%2016.9028%208.99301C16.9028%2010.1013%2016.3262%2011.0763%2015.4445%2011.6613L15.2095%2011.803L11.5745%2014.0113H11.5712L11.5078%2014.0497C11.5078%2014.0497%2011.5012%2014.053%2011.4995%2014.0547C11.4812%2014.0663%2011.4628%2014.0747%2011.4445%2014.0863C11.4595%2014.078%2011.4745%2014.0697%2011.4895%2014.0597L5.94951%2017.433C5.94951%2017.433%205.94618%2017.433%205.94618%2017.4363L5.74451%2017.558H5.74118C5.19784%2017.863%204.55784%2018.0247%203.87784%2017.993C2.73618%2017.938%201.75784%2017.3463%201.19284%2016.4847C0.837844%2015.9413%200.64451%2015.2913%200.681177%2014.6013C0.71451%2013.983%200.922844%2013.4147%201.26118%2012.9397L1.26951%2012.9247L4.04451%208.99634L6.77784%205.12634C6.81118%205.07967%206.84784%205.03301%206.87784%204.98467C6.87451%204.98967%206.86951%204.99967%206.86284%205.00467C6.87118%204.98967%206.88118%204.97634%206.88951%204.96134C6.88951%204.95801%206.89284%204.95801%206.89284%204.95634C6.89618%204.95301%206.89951%204.94801%206.90118%204.94467C6.90118%204.94467%206.90118%204.94134%206.90451%204.94134C6.91951%204.92134%206.93451%204.90134%206.94618%204.87801C6.96118%204.85801%206.97618%204.83801%206.99118%204.81634C7.00618%204.79634%207.02118%204.77634%207.03618%204.75467C7.03951%204.75134%207.03951%204.74967%207.04284%204.74634C7.04618%204.74301%207.04618%204.74134%207.04951%204.74134C7.06451%204.72134%207.07951%204.70134%207.09784%204.67967C7.10951%204.66467%207.12118%204.65134%207.13451%204.63634C7.16784%204.59801%207.20118%204.56134%207.23784%204.52301C7.25284%204.50801%207.26451%204.49467%207.27951%204.47967C7.30118%204.45634%207.32118%204.43634%207.34618%204.41634C7.36451%204.39967%207.38284%204.38134%207.40118%204.36467C7.41951%204.34801%207.43451%204.33301%207.45284%204.31801C7.45618%204.31467%207.45951%204.31301%207.45951%204.31301C7.47118%204.30134%207.48118%204.29301%207.49284%204.28467C7.50451%204.27301%207.51951%204.26134%207.53284%204.25301C7.53618%204.24967%207.53951%204.24801%207.54118%204.24801C7.55951%204.23301%207.57451%204.21967%207.59284%204.20467C7.60784%204.18967%207.62618%204.17801%207.64118%204.16634C7.65618%204.15467%207.66784%204.14634%207.68284%204.13467C7.70118%204.11967%207.71951%204.10801%207.73784%204.09467C7.75284%204.08634%207.76451%204.07467%207.77951%204.06634C7.78618%204.06134%207.79451%204.05467%207.80284%204.05134C7.81784%204.03967%207.83284%204.03134%207.84784%204.02301C7.85118%204.01967%207.85618%204.01801%207.85951%204.01467C7.87784%204.00301%207.89618%203.99134%207.91118%203.98301C7.91784%203.97801%207.92618%203.97467%207.93284%203.96801C7.94784%203.95967%207.95951%203.95134%207.97451%203.94134C7.98284%203.93634%207.99284%203.92967%208.00118%203.92467C8.01618%203.91634%208.03451%203.90801%208.04951%203.89634C8.05284%203.89301%208.05784%203.89134%208.06451%203.88801C8.08618%203.87634%208.10451%203.86467%208.12451%203.85634C8.12784%203.85301%208.13118%203.85301%208.13618%203.85134C8.15784%203.83967%208.17784%203.82801%208.19951%203.81967C8.19951%203.81967%208.20284%203.81967%208.20284%203.81634C8.22618%203.80467%208.24784%203.79301%208.27284%203.78134C8.27284%203.78134%208.27618%203.78134%208.27618%203.77801C8.29451%203.76967%208.31284%203.76134%208.33284%203.75134C8.34118%203.74801%208.35118%203.74301%208.35951%203.73967C8.37118%203.73467%208.38284%203.72801%208.39618%203.72467C8.41118%203.71967%208.42284%203.71301%208.43784%203.70801C8.46118%203.69967%208.48284%203.69134%208.50784%203.68134C8.52284%203.67634%208.53451%203.66967%208.54951%203.66634C8.57118%203.65801%208.59118%203.65134%208.61284%203.64301C8.63118%203.63801%208.65284%203.63134%208.66951%203.62301C8.75451%203.59634%208.83784%203.57134%208.92284%203.54967C8.94118%203.54467%208.96284%203.54134%208.97951%203.53801C9.08451%203.51467%209.19451%203.49467%209.30284%203.48301C9.32951%203.47967%209.35784%203.47801%209.38451%203.47467C9.42118%203.47134%209.45951%203.46967%209.49618%203.46634C9.51118%203.46634%209.52284%203.46301%209.53784%203.46301H9.55951C9.58951%203.46301%209.61618%203.45967%209.64784%203.45967H9.73784C9.79451%203.45967%209.84284%203.45967%209.89451%203.46301L9.89618%203.45801ZM10.6662%2014.413C10.5612%2014.4413%2010.4512%2014.4647%2010.3395%2014.4863C10.4512%2014.4663%2010.5595%2014.443%2010.6662%2014.413ZM9.56118%2014.5313H9.56951C9.56118%2014.5313%209.54784%2014.5313%209.53951%2014.528C9.54618%2014.528%209.55451%2014.5313%209.56118%2014.5313ZM7.08784%2013.293C7.05451%2013.253%207.02451%2013.2147%206.99451%2013.1747C7.02451%2013.2147%207.05784%2013.253%207.08784%2013.293ZM6.90284%2013.043C6.90284%2013.043%206.90618%2013.0463%206.90618%2013.048C6.90284%2013.0447%206.90284%2013.043%206.89951%2013.0363C6.89618%2013.033%206.89618%2013.0297%206.89284%2013.0247C6.86951%2012.9897%206.84784%2012.953%206.82284%2012.918C6.84451%2012.953%206.86784%2012.9913%206.88951%2013.0247C6.89618%2013.0297%206.89784%2013.0363%206.90118%2013.0413L6.90284%2013.043ZM6.89451%2013.0263C6.85784%2012.968%206.81951%2012.913%206.77618%2012.858L6.89451%2013.0263Z'%20fill='%231652A8'%20style='fill:%231652A8;fill:color(display-p3%200.0863%200.3216%200.6588);fill-opacity:1;'/%3e%3cg%20opacity='0.85'%3e%3cpath%20d='M5.77088%200.453306L5.97588%200.578306L5.97921%200.581639L11.5225%203.94997C11.5075%203.94164%2011.4925%203.93331%2011.4775%203.92331C11.4959%203.93497%2011.5142%203.94331%2011.5325%203.95497C11.5359%203.95831%2011.5392%203.95831%2011.5409%203.95997L11.6042%203.99831H11.6075L15.2492%206.21164L15.4725%206.34831C16.3542%206.93164%2016.9342%207.9083%2016.9342%209.01664C16.9342%2010.125%2016.3575%2011.1%2015.4759%2011.685L15.2409%2011.8266L11.6059%2014.035H11.6025L11.5392%2014.0733C11.5392%2014.0733%2011.5325%2014.0766%2011.5309%2014.0783C11.5125%2014.09%2011.4942%2014.0983%2011.4759%2014.11C11.4642%2014.1183%2011.4492%2014.125%2011.4359%2014.1333C11.4175%2014.145%2011.3992%2014.1533%2011.3809%2014.1616C11.3575%2014.1733%2011.3359%2014.185%2011.3109%2014.1966C11.3075%2014.2%2011.3042%2014.2%2011.3025%2014.2C11.2842%2014.2116%2011.2625%2014.22%2011.2425%2014.2283C11.2359%2014.2316%2011.2275%2014.2333%2011.2192%2014.24C11.2009%2014.2483%2011.1859%2014.255%2011.1675%2014.2633C11.1609%2014.2666%2011.1592%2014.2683%2011.1525%2014.2683C11.1309%2014.2766%2011.1109%2014.285%2011.0859%2014.2966C11.0625%2014.3083%2011.0342%2014.3166%2011.0109%2014.325C10.9875%2014.3333%2010.9592%2014.345%2010.9359%2014.3533C10.9092%2014.3616%2010.8842%2014.37%2010.8575%2014.38C10.8309%2014.3883%2010.8059%2014.3966%2010.7792%2014.4033H10.7759C10.7492%2014.4116%2010.7242%2014.4183%2010.6975%2014.4266C10.5925%2014.455%2010.4825%2014.4783%2010.3709%2014.4983C10.3259%2014.5066%2010.2775%2014.5133%2010.2325%2014.5183C10.2259%2014.5183%2010.2242%2014.5183%2010.2209%2014.5216C10.1975%2014.525%2010.1725%2014.5283%2010.1492%2014.53C10.1009%2014.5366%2010.0525%2014.5383%2010.0042%2014.5416C9.92921%2014.5483%209.85254%2014.5483%209.77754%2014.5483H9.68088C9.65421%2014.5483%209.62921%2014.545%209.60254%2014.545C9.59421%2014.545%209.58088%2014.545%209.57254%2014.5416C9.53254%2014.5383%209.49088%2014.5366%209.45254%2014.5333C9.27421%2014.5166%209.09588%2014.4866%208.92754%2014.4466C8.90421%2014.44%208.87921%2014.435%208.85254%2014.4266C8.81921%2014.4183%208.78588%2014.41%208.74921%2014.3983C8.73088%2014.3933%208.70921%2014.3866%208.69254%2014.3816C8.66588%2014.3733%208.64088%2014.365%208.61421%2014.355C8.58754%2014.3466%208.56254%2014.3383%208.53921%2014.3266C8.51588%2014.3183%208.48754%2014.3066%208.46421%2014.2983C8.44088%2014.29%208.41921%2014.2816%208.39754%2014.27C8.38921%2014.2666%208.38254%2014.265%208.37421%2014.2583C8.35588%2014.25%208.33754%2014.2416%208.31754%2014.2316C8.31754%2014.2316%208.31421%2014.2316%208.31421%2014.2283C8.29088%2014.2166%208.26588%2014.205%208.24254%2014.1933C8.21921%2014.1816%208.19421%2014.17%208.17088%2014.155C8.14754%2014.1433%208.12254%2014.1283%208.10088%2014.1166C8.07754%2014.105%208.05254%2014.09%208.03088%2014.0766C8.00754%2014.0616%207.98588%2014.0483%207.96088%2014.0366C7.93754%2014.0216%207.91588%2014.0083%207.89421%2013.9933C7.87254%2013.9783%207.85254%2013.965%207.83088%2013.95C7.82754%2013.95%207.82754%2013.9466%207.82421%2013.945C7.80588%2013.9333%207.78754%2013.9183%207.76754%2013.905C7.76421%2013.9016%207.76088%2013.9016%207.75921%2013.9C7.74088%2013.885%207.72254%2013.8733%207.70421%2013.86C7.70088%2013.8566%207.69588%2013.855%207.69254%2013.8483C7.67421%2013.8333%207.65588%2013.82%207.63754%2013.805C7.63754%2013.805%207.63421%2013.805%207.63421%2013.8016C7.61588%2013.7866%207.59754%2013.7733%207.57754%2013.755C7.57421%2013.7516%207.57088%2013.7516%207.56921%2013.7483C7.55421%2013.7366%207.53921%2013.7216%207.52421%2013.71C7.51754%2013.705%207.51254%2013.6983%207.50588%2013.695C7.49421%2013.6833%207.47921%2013.6716%207.46588%2013.66C7.43921%2013.6366%207.41421%2013.6133%207.39088%2013.5866C7.37254%2013.57%207.35754%2013.5516%207.33921%2013.535C7.32754%2013.5233%207.31754%2013.5116%207.30588%2013.5C7.29421%2013.4883%207.28421%2013.48%207.27588%2013.4683C7.25754%2013.4516%207.24254%2013.43%207.22421%2013.4133C7.19088%2013.375%207.15754%2013.3383%207.12421%2013.2966C7.09088%2013.2566%207.06088%2013.2183%207.03088%2013.1783C7.01588%2013.1583%207.00088%2013.1383%206.98588%2013.1166C6.97088%2013.0966%206.95588%2013.0766%206.94421%2013.0533C6.94088%2013.05%206.94088%2013.0483%206.93754%2013.0416C6.93421%2013.0383%206.93421%2013.0366%206.93088%2013.03C6.90754%2012.995%206.88588%2012.9583%206.86088%2012.9233C6.88254%2012.9583%206.90588%2012.995%206.92754%2013.03C6.89088%2012.9716%206.85254%2012.9166%206.80921%2012.8616L4.07921%208.99664L1.34088%205.12997L1.23254%204.97664L1.22921%204.97164C0.92421%204.51164%200.737543%203.97497%200.707543%203.39497C0.670877%202.70497%200.86421%202.05164%201.22088%201.50997C1.78588%200.648306%202.76588%200.0566391%203.90421%20-2.75556e-05C4.58421%20-0.0150276%205.22421%200.148306%205.77088%200.453306Z'%20fill='url(%23paint0_linear_6919_104497)'%20style=''/%3e%3c/g%3e%3cpath%20d='M32.4132%2012.862C31.2015%2012.862%2030.4482%2012.0503%2030.4482%2010.7203V8.4453H32.6632V7.02697H30.4482V4.72363L28.8548%205.9053V7.0253H27.9648V8.44363H28.8548V10.7053C28.8548%2012.9953%2030.1982%2014.412%2032.4282%2014.412H32.7682V12.862H32.4132Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M19.9812%2012.5767L21.4028%2011.4651C22.0395%2012.4867%2022.8995%2013.0351%2023.9962%2013.0351C25.1962%2013.0351%2025.9512%2012.2651%2025.9512%2011.3017C25.9512%2010.1901%2024.7662%209.83506%2023.5212%209.43506C22.0545%208.96172%2020.4695%208.36839%2020.4695%206.38339C20.4695%204.73839%2021.9362%203.43506%2023.9362%203.43506C25.5812%203.43506%2026.6028%204.07172%2027.4328%205.03506L26.1145%206.01339C25.6262%205.25839%2024.8995%204.85839%2023.9362%204.85839C22.8395%204.85839%2022.1278%205.51006%2022.1278%206.35506C22.1278%207.39172%2023.2695%207.73339%2024.5128%208.14839C25.9945%208.65172%2027.6095%209.29006%2027.6095%2011.3051C27.6095%2012.9651%2026.2462%2014.5501%2024.0095%2014.5501C22.1578%2014.5501%2020.8978%2013.7651%2019.9795%2012.5801L19.9812%2012.5767Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M38.2695%2010.7367C38.2695%208.56503%2039.9379%206.8667%2042.1095%206.8667C44.2812%206.8667%2045.9062%208.4467%2045.9062%2010.6334V11.2534H39.7912C39.9979%2012.39%2040.8845%2013.1434%2042.1695%2013.1434C43.1745%2013.1434%2043.9429%2012.6117%2044.3262%2011.8134L45.6262%2012.5367C44.9762%2013.7484%2043.8095%2014.545%2042.1695%2014.545C39.8362%2014.545%2038.2695%2012.8767%2038.2695%2010.735V10.7367ZM39.8645%209.91003H44.2962C44.0595%208.8467%2043.2479%208.25503%2042.1095%208.25503C40.9712%208.25503%2040.1595%208.93503%2039.8645%209.91003Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M33.7549%2010.72C33.7549%208.42999%2035.0982%207.02832%2037.3282%207.02832H38.0366V8.56499H37.3132C36.1016%208.56499%2035.3199%209.40665%2035.3349%2010.7367V14.415H33.7549V10.7233V10.72Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M46.6882%2010.7218C46.6882%208.56517%2048.3865%206.88184%2050.5132%206.88184C52.6399%206.88184%2054.3082%208.56517%2054.3082%2010.7218V14.4135H52.7582V13.4535C52.2415%2014.1468%2051.4432%2014.5468%2050.4682%2014.5468C48.3565%2014.5468%2046.6865%2012.8935%2046.6865%2010.7218H46.6882ZM52.7882%2010.7218C52.7882%209.40684%2051.7832%208.3585%2050.5132%208.3585C49.2432%208.3585%2048.2382%209.40684%2048.2382%2010.7218C48.2382%2012.0368%2049.2282%2013.0852%2050.5132%2013.0852C51.7982%2013.0852%2052.7882%2012.0218%2052.7882%2010.7218Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M55.3027%2010.2717C55.3027%208.30667%2056.6461%206.875%2058.6411%206.875C59.7777%206.875%2060.6944%207.33333%2061.2694%208.10167C61.8161%207.33333%2062.7027%206.875%2063.8394%206.875C65.8477%206.875%2067.2511%208.27833%2067.2511%2010.2717V14.4067H65.6711V10.2867C65.6711%209.165%2064.9177%208.38167%2063.8394%208.38167C62.7611%208.38167%2062.0527%209.18%2062.0677%2010.2433V14.4083H60.4877V10.2883C60.4877%209.16667%2059.7194%208.38333%2058.6411%208.38333C57.5627%208.38333%2056.8694%209.18167%2056.8827%2010.245V14.41H55.3027V10.275V10.2717Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M68.2646%203.62695H69.8746V12.872H74.2313V14.4086H68.2646V3.62695Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M89.418%2010.7367C89.418%208.56503%2091.0863%206.8667%2093.258%206.8667C95.4296%206.8667%2097.0546%208.4467%2097.0546%2010.6334V11.2534H90.9396C91.1463%2012.39%2092.033%2013.1434%2093.318%2013.1434C94.323%2013.1434%2095.0913%2012.6117%2095.4746%2011.8134L96.7746%2012.5367C96.1246%2013.7484%2094.958%2014.545%2093.318%2014.545C90.9846%2014.545%2089.418%2012.8767%2089.418%2010.735V10.7367ZM91.013%209.91003H95.4446C95.208%208.8467%2094.3963%208.25503%2093.258%208.25503C92.1196%208.25503%2091.308%208.93503%2091.013%209.91003Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M74.4948%2010.7218C74.4948%208.56517%2076.1932%206.88184%2078.3198%206.88184C80.4465%206.88184%2082.1148%208.56517%2082.1148%2010.7218V14.4135H80.5648V13.4535C80.0482%2014.1468%2079.2498%2014.5468%2078.2748%2014.5468C76.1632%2014.5468%2074.4932%2012.8935%2074.4932%2010.7218H74.4948ZM80.5948%2010.7218C80.5948%209.40684%2079.5898%208.3585%2078.3198%208.3585C77.0498%208.3585%2076.0448%209.40684%2076.0448%2010.7218C76.0448%2012.0368%2077.0348%2013.0852%2078.3198%2013.0852C79.6048%2013.0852%2080.5948%2012.0218%2080.5948%2010.7218Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M85.0381%2014.0498L81.9814%207.0498H83.6798L85.8364%2012.1748L87.8748%207.0498H89.5431L85.0831%2017.8465H83.4581L85.0381%2014.0515V14.0498Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M98.041%2010.7151C98.041%208.4251%2099.3843%207.02344%20101.614%207.02344H102.323V8.5601H101.599C100.388%208.5601%2099.606%209.40177%2099.621%2010.7318V14.4101H98.041V10.7184V10.7151Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_6919_104497'%20x1='4.31754'%20y1='8.70664'%20x2='13.6359'%20y2='3.59497'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.2'%20stop-color='%231589EE'%20style='stop-color:%231589EE;stop-color:color(display-p3%200.0824%200.5373%200.9333);stop-opacity:1;'/%3e%3cstop%20offset='1'%20stop-color='%235EB4FF'%20style='stop-color:%235EB4FF;stop-color:color(display-p3%200.3686%200.7059%201.0000);stop-opacity:1;'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_6919_104497'%3e%3crect%20width='101.648'%20height='18'%20fill='white'%20style='fill:white;fill-opacity:1;'%20transform='translate(0.675781)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",v=e.styled_default("div")({name:"SponsorLogoWrap",class:"s8p5v5z",propsAsIs:!1}),F=()=>c.B1,z=e.styled_default(F())({name:"SponsorLogo",class:"s755yti",propsAsIs:!0}),G=e.styled_default("img")({name:"AdSponsorLogo",class:"a1dflj8e",propsAsIs:!1}),J=({mastersApp:l,sponsorLogo:i})=>l?s.jsx(v,{children:s.jsx(z,{name:"mastersLogo"})}):i?s.jsx(v,{children:s.jsx(G,{src:i,alt:"ad-sponsor-logo"})}):s.jsx(v,{children:s.jsx("img",{src:W,alt:"stream-layer-logo"})}),K=e.styled_default("div")({name:"Container",class:"cq8qxhy",propsAsIs:!1}),X=e.styled_default("div")({name:"VideoWrapper",class:"v18kj6dc",propsAsIs:!1}),Y=()=>h.Et,l2=e.styled_default(Y())({name:"FocusableVideo",class:"fv2nwib",propsAsIs:!0}),I=e.styled_default("div")({name:"VideoStatus",class:"v8ptucg",propsAsIs:!1}),A="caip8y5",s2=e.styled_default("div")({name:"Content",class:"ccgc65e",propsAsIs:!1}),e2=e.styled_default("h3")({name:"Title",class:"t1q3iml2",propsAsIs:!1}),i2=e.styled_default("div")({name:"Description",class:"d1y2pxs8",propsAsIs:!1}),t2=e.styled_default("img")({name:"Image",class:"ig2j4fc",propsAsIs:!1}),a2=e.styled_default("div")({name:"ImageContainer",class:"i3dd6iy",propsAsIs:!1}),C2=({instantView:l,isDetail:i,notification:t,controlVideo:n,muted:p})=>{var o,a;const r=y.useRef(null),[u,d]=y.useState(!1),[f,m]=y.useState(void 0),x=(l==null?void 0:l.playVideoMuted)===C.PlayVideoMuted.ENABLED,b=i&&(l==null?void 0:l.autoPlayVideo)===C.AutoPlayVideo.ENABLED,M=x&&b,L=l==null?void 0:l.heading,V=l==null?void 0:l.body,j=L||V,[g,w]=y.useState(!0),$=t==null?void 0:t.title,E=t==null?void 0:t.body;return s.jsxs(K,{children:[((o=l==null?void 0:l.video)==null?void 0:o.url)&&s.jsxs(X,{children:[s.jsx(l2,{className:A,source:l.video.url,poster:l.video.thumbnailUrl,controlVideo:n,muted:p,autoPlay:i&&l.autoPlayVideo===C.AutoPlayVideo.ENABLED,ref:r,onPause:()=>{d==null||d(!0),w(!1)},onMute:Z=>{m(Z)},onPlay:()=>{d==null||d(!1)},playMuted:x,hasNotPausedVideo:g,webos:!0}),u&&!g&&s.jsxs(I,{children:[s.jsx(c.B1,{name:"icon-pause"}),"PAUSED"]}),f&&M&&s.jsxs(I,{children:[s.jsx(c.B1,{name:"iconMute"}),"MUTED"]})]}),(l==null?void 0:l.image)&&!((a=l==null?void 0:l.video)!=null&&a.url)&&s.jsx(a2,{className:A,"data-rounded":l.imageMode===C.QuestionImages.ROUNDED,children:s.jsx(t2,{src:l==null?void 0:l.image})}),s.jsxs(s2,{children:[s.jsx(e2,{children:i&&j?L:$}),s.jsx(i2,{children:i&&j?V:E})]})]})},o2=e.styled_default("div")({name:"Container",class:"cgn5uen",propsAsIs:!1}),H="c1px8nt6",d2=e.styled_default("div")({name:"Content",class:"c5et2jt",propsAsIs:!1}),n2=e.styled_default("h3")({name:"Title",class:"t1i2kpk2",propsAsIs:!1}),c2=e.styled_default("div")({name:"Description",class:"dd3lh3p",propsAsIs:!1}),p2=e.styled_default("img")({name:"Image",class:"i1gfjeu5",propsAsIs:!1}),r2=e.styled_default("div")({name:"ImageContainer",class:"i58y999",propsAsIs:!1}),B=({instantView:l,isDetail:i,notification:t,controlVideo:n,muted:p})=>{var o,a;const r=l==null?void 0:l.heading,u=l==null?void 0:l.body,d=r||u,f=t==null?void 0:t.title,m=t==null?void 0:t.body;return s.jsxs(o2,{children:[((o=l==null?void 0:l.video)==null?void 0:o.url)&&s.jsx(h.Et,{className:H,source:l.video.url,poster:l.video.thumbnailUrl,controlVideo:n,muted:p,autoPlay:i&&l.autoPlayVideo===C.AutoPlayVideo.ENABLED}),(l==null?void 0:l.image)&&!((a=l==null?void 0:l.video)!=null&&a.url)&&s.jsx(r2,{className:H,"data-rounded":l.imageMode===C.QuestionImages.ROUNDED,children:s.jsx(p2,{src:l==null?void 0:l.image})}),s.jsxs(d2,{children:[s.jsx(n2,{children:i&&d?r:f}),s.jsx(c2,{children:i&&d?u:m})]})]})},u2=e.styled_default("div")({name:"Container",class:"c1euiow",propsAsIs:!1}),y2=e.styled_default("a")({name:"WebLinkBtn",class:"w19zie3h",propsAsIs:!1}),f2=()=>c.B1,m2=e.styled_default(f2())({name:"WebLinkIcon",class:"wyg5v7z",propsAsIs:!0}),v2=({instantView:l,...i})=>s.jsxs(u2,{children:[i.SL-CardWebOs?s.jsx(C2,{instantView:l,...i,isDetail:!0}):s.jsx(B,{instantView:l,...i,isDetail:!0}),(l==null?void 0:l.webLink)&&s.jsxs(y2,{href:l==null?void 0:l.webLink.url,target:"_blank","data-a":"web-link",children:[l==null?void 0:l.webLink.label,s.jsx(m2,{name:"icon-external-link"})]})]}),h2=e.styled_default("div")({name:"Container",class:"c1dcxmvf",propsAsIs:!1}),x2=e.styled_default("blockquote")({name:"Quote",class:"qb4q22c",propsAsIs:!1}),L2=l=>s.jsxs(h2,{children:[l.title&&s.jsx(x2,{children:l.title}),s.jsx(_.b,{...l,isDetail:!0})]});exports.O=B;exports.a=L2;exports.d=J;exports.u=v2;exports.y=R;
|
package/lib/cjs/insight.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),g=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),g=require("./index7.js"),l=require("./sl-types.js"),h=require("react"),S=require("./Question.js"),f=require("./useStreamLayerApp2.js"),c=require("./hooks-B0Qttldg.js"),I=()=>S.ht,y=l.styled_default(I())({name:"QuestionWrap",class:"q10hhsxv",propsAsIs:!0}),k=({gamification:e,sdk:o,persistent:i,skipAutoClose:u,hideHeader:d,insightId:t})=>{const r=h.useRef(""),p=l.useStore(e.openedQuestion.$store);return h.useEffect(()=>t?(!i||e.isOpenedQuestion(t)||(r.current=t,e.getFeedItem(t).then(s=>{var a;r.current===t&&((a=s==null?void 0:s.attributes)==null?void 0:a.attributes.case)==="insight"&&e.openQuestion(t,s)})),()=>{r.current=""}):(e.activeQuestionId.subscribe(({data:s})=>{var a;s&&((a=s.feedItem)==null?void 0:a.type)==="insight"&&(!i||e.isOpenedQuestion(s.feedItem.id)||(r.current=s.feedItem.id,e.openQuestion(s.feedItem.id,s.feedItem))),!s&&r.current&&(e.closeQuestion(r.current),r.current="")}),()=>{}),[e,i,t]),p?n.jsx(y,{sdk:o,skipAutoClose:u,hideHeader:d,gamification:e,hideSponsor:!0}):null},m=({sdk:e,persistent:o,skipAutoClose:i,insightId:u,hideHeader:d})=>{if(!l.useStore(e.featuresList.getStore()))return null;const t=e.getFeature(f.SdkOverlayType.GAMES);return t?n.jsx(k,{insightId:u,sdk:e,persistent:o,hideHeader:d,gamification:t,skipAutoClose:i}):null},v=({event:e,theme:o,hideHeader:i,skipAutoClose:u,persistent:d})=>{const t=c.B(),r=c.z();return t?n.jsxs("div",{className:"StreamLayerSDK",children:[n.jsx(g.h,{customTheme:o??r.theme,themeMode:r.themeMode,children:n.jsx(m,{skipAutoClose:u,sdk:t,hideHeader:i,persistent:d})}),e!==void 0&&n.jsx(c.j,{event:e})]}):null};exports.StreamLayerSDKInsight=v;exports.StreamLayerSDKInsightUI=m;
|
package/lib/cjs/masters2.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),i=require("./sl-types.js"),D=require("lodash.throttle"),d=require("react"),
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),i=require("./sl-types.js"),D=require("lodash.throttle"),d=require("react"),_=require("./analytics.js"),g=require("./index15.js"),N=require("./theme.js"),Q=require("./index4.js"),P=require("./index3.js");require("nanostores");const L=require("./index10.js"),I=require("./index9.js"),T=require("./useStreamLayerApp2.js"),U=require("./index6.js"),Z=require("react-dom");require("./storage.js");const W=require("./index11.js"),R=require("./hooks-B0Qttldg.js"),Y=i.styled_default("div")({name:"SDKContainer",class:"s8zgqze",propsAsIs:!1}),X="m6t897k",J=i.styled_default("div")({name:"SDKScrollContainer",class:"sw7pkvp",propsAsIs:!1}),G=i.styled_default("div")({name:"SDKContentContainer",class:"s14gkn7u",propsAsIs:!1}),e2=()=>G,t2=i.styled_default(e2())({name:"SDKWhiteContainer",class:"s1yxstm9",propsAsIs:!0}),s2=i.styled_default("div")({name:"TabsContainer",class:"tdpty1s",propsAsIs:!1}),n2=i.styled_default("div")({name:"UserSummaryContainer",class:"u136a59y",propsAsIs:!1}),q=(t,e,s)=>{var o;(o=t.current)==null||o.scrollTo({top:0,...s})},i2=15,o2=(t,e,s)=>{const o=d.useRef(null),r=d.useRef(0),[l]=d.useState(_.f({scrollPosition:0,tabsShown:!1,scrollDirection:"forward"})),a=i.useStore(e);return d.useEffect(()=>{const u=window.innerWidth<i.A.lg&&!s?window:o.current;if(!u)return()=>{};const c=D(C=>{var f;const p=C.target;if(!p)return;let m=0;a.screen.size<i.A.lg&&!s?m=((f=t.current)==null?void 0:f.getBoundingClientRect().y)||0:m=p.scrollTop;const v=r.current-m;if(i2>Math.abs(v))return;const x=r.current<m?"forward":"backward";r.current=m,l.set({scrollPosition:Math.round(m),scrollDirection:x,tabsShown:l.get().tabsShown})},200);return c({target:u}),u.addEventListener("scroll",c),()=>{u.removeEventListener("scroll",c)}},[l,t,a.screen,s]),[o,l]},A=i.styled_default("div")({name:"LoadingContainer",class:"l7wseip",propsAsIs:!1}),r2=({feature:t,sdk:e,children:s,className:o,noWait:r})=>{const l=i.useStore(t.status),a=i.useStore(e.sdkStore.slStreamId);if(!r){if(a!=null&&a.loading&&!a.data)return n.jsx(A,{className:o,children:"Event is loading..."});if(!(a!=null&&a.data))return n.jsx(A,{className:o,children:"Event is forbidden..."});if(l!==P.FeatureStatus.Ready)return n.jsx(A,{className:o,children:"Wait feature..."})}return s},M=d.createContext({sdk:null}),F=()=>d.useContext(M),a2=i.styled_default("div")({name:"QuestionContainer",class:"qwgkhsv",propsAsIs:!1}),l2=({openedQuestion:t})=>{var e,s;const{sdk:o}=F();return((e=t==null?void 0:t.attributes)==null?void 0:e.attributes.case)==="insight"?n.jsx(I.u,{...t.attributes.attributes.value,controlVideo:o==null?void 0:o.controlVideoPlayer}):((s=t==null?void 0:t.attributes)==null?void 0:s.attributes.case)==="tweet"?n.jsx(I.a,{...t.attributes.attributes.value,controlVideo:o==null?void 0:o.controlVideoPlayer}):null},d2=({extendedQuestion:t,vote:e,close:s})=>{const{loading:o,data:r}=t;return r?n.jsx(L.ee,{vote:e,close:s,openedQuestion:r,isLoading:!!o,mastersApp:!0}):n.jsx(L.te,{})},c2=({gamification:t})=>{var e;const s=i.useStore(t.openedQuestion.$store),o=i.useStore(t.openedQuestion.$extendedStore);if(!s)return null;const r=s.type;return n.jsxs(a2,{children:[n.jsx(I.y,{close:t.closeQuestion,type:((e=s.attributes)==null?void 0:e.type)||T.QuestionType.UNSET,mastersApp:!0}),r==="question"&&n.jsx(d2,{vote:t.submitAnswer,close:t.closeQuestion,extendedQuestion:o}),r!=="question"&&n.jsx(l2,{openedQuestion:s}),n.jsx(I.d,{mastersApp:!0})]})},u2=({store:t,openQuestion:e})=>{const{sdk:s}=F(),o=i.useStore(t);return n.jsx(g.k,{openQuestion:e,questions:o.data,controlVideo:s==null?void 0:s.controlVideoPlayer})},p2=({userSummary:t})=>{var e;const s=i.useStore(t.$store);return n.jsx(g.z,{hideFriendsRank:!0,loading:!(s!=null&&s.summary),...s==null?void 0:s.summary,successRate:(e=s==null?void 0:s.percentage)==null?void 0:e.correct})},C2=({gamification:t,className:e,style:s})=>n.jsxs(s2,{className:e,style:s,children:[n.jsx(t2,{style:{paddingTop:"16px"},children:n.jsx(n2,{children:n.jsx(p2,{userSummary:t.userSummary})})}),n.jsx(G,{style:{flex:1},children:n.jsx(u2,{openQuestion:t.openQuestion,store:t.feedList.getStore()})})]}),f2=()=>L.f,m2=i.styled_default(f2())({name:"OpenedContainer",class:"o1seszvt",propsAsIs:!0}),g2=({gamification:t,className:e})=>n.jsx(C2,{className:e,gamification:t}),h2=`
|
|
2
2
|
.SDKContainer {
|
|
3
3
|
position: static !important;
|
|
4
4
|
}
|
|
5
|
-
`,E2=({gamification:t,responsiveStore:e,useContainer:s,className:o,appNode:r})=>{const l=i.useStore(t.openedQuestion.$store),{sdkInDesktopView:a}=i.useStore(e,{keys:["sdkInDesktopView"]}),{hiding:u,onAnimationEnd:c}=_.S();return!r.current||!l?null:n.jsx(g.T,{container:r,useContainer:typeof s=="boolean"?!s:!a,staticStyles:typeof s=="boolean"?v2:"",children:n.jsx(g2,{className:o,hiding:u,onAnimationEnd:c,children:n.jsx(u2,{gamification:t})})})},x2=d.lazy(()=>Promise.resolve().then(()=>require("./gamification-feature2.js"))),S2=({sdk:t,feature:e,className:s})=>{const o=d.useMemo(()=>e&&e.featureConfig.get().type===L.SdkOverlayType.GAMES?n.jsx(a2,{className:s,sdk:t,feature:e,children:n.jsx(x2,{className:s,gamification:e})}):null,[t,e,s]);return n.jsx(d.Suspense,{fallback:n.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:"page loading..."}),children:o})},_2=({feature:t,className:e,useContainer:s,appNode:o,responsiveStore:r})=>t&&t.featureConfig.get().type===L.SdkOverlayType.GAMES?n.jsx(E2,{responsiveStore:r,className:e,appNode:o,useContainer:s,gamification:t}):null,L2=i.styled_default("div")({name:"Navigation",class:"n1o1tw60",propsAsIs:!1}),T2=i.styled_default("div")({name:"Container",class:"co2rstw",propsAsIs:!1}),y2=i.styled_default("div")({name:"Title",class:"t1bqnx9c",propsAsIs:!1}),N2="hlc2pcy",I2=d.forwardRef(({className:t},e)=>n.jsxs(L2,{className:i.cx_default(t,N2),children:[n.jsx(T2,{children:n.jsxs(y2,{children:[n.jsx(G.B1,{name:"fgIcon"}),"FG+ Game Center"," "]})}),n.jsx("div",{ref:e})]})),R2=i.styled_default("div")({name:"Container",class:"czz4rjk",propsAsIs:!1}),b2=i.styled_default("div")({name:"CloseIconWrap",class:"cxmojsy",propsAsIs:!1}),A2=()=>G.B1,k2=i.styled_default(A2())({name:"CloseIcon",class:"c1urm3yx",propsAsIs:!0}),D2=i.styled_default("div")({name:"Title",class:"tme976v",propsAsIs:!1}),w2=i.styled_default("img")({name:"SponsorLogo",class:"s1lal9yz",propsAsIs:!1}),F2=i.styled_default("div")({name:"PresentsTitle",class:"pnn1sv1",propsAsIs:!1}),j2=i.styled_default("div")({name:"Subtitle",class:"s1hjj1y8",propsAsIs:!1}),O2=i.styled_default("div")({name:"Description",class:"dz7yjzw",propsAsIs:!1}),B2=i.styled_default("button")({name:"ActionButton",class:"avpowqk",propsAsIs:!1}),O=({close:t,action:e,onboarding:s})=>{var o,r,l,a,u,c,C,f;return n.jsxs(R2,{children:[n.jsx(b2,{onClick:t,children:n.jsx(k2,{name:"icon-cross"})}),((r=(o=s==null?void 0:s.titleCard)==null?void 0:o.media)==null?void 0:r.sponsorLogo)&&n.jsxs(D2,{children:[n.jsx(w2,{alt:"sponsor-logo",src:(a=(l=s==null?void 0:s.titleCard)==null?void 0:l.media)==null?void 0:a.sponsorLogo}),n.jsx(F2,{children:"PRESENTS"})]}),((u=s==null?void 0:s.titleCard)==null?void 0:u.title)&&n.jsx(j2,{children:(c=s==null?void 0:s.titleCard)==null?void 0:c.title}),((C=s==null?void 0:s.titleCard)==null?void 0:C.subtitle)&&n.jsx(O2,{children:(f=s==null?void 0:s.titleCard)==null?void 0:f.subtitle}),n.jsx(B2,{onClick:e,children:"Play Now"})]})},V2="data:image/svg+xml,%3csvg%20width='92'%20height='19'%20viewBox='0%200%2092%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1701%200.953996C13.9047%200.873145%2013.6393%201.0177%2013.3739%201.1647C13.2797%201.21615%2013.2127%201.3068%2013.1904%201.4097L12.7736%203.33298C12.7588%203.40404%2012.8233%203.46774%2012.8952%203.45304C13.3342%203.35504%2013.7509%202.97528%2014.19%203.10758C14.6811%203.25703%2015.1722%202.64207%2015.6634%202.64942V0.429688C15.1698%200.432138%2014.6613%201.10345%2014.1701%200.953996Z'%20fill='%23006747'/%3e%3cpath%20d='M20.4404%206.84786C20.3362%206.77681%2020.2717%206.66166%2020.2717%206.53671V6.18635C20.2717%205.87275%2020.0138%205.61549%2019.6938%205.61549H19.4631C19.1878%205.61549%2018.9348%205.75269%2018.7859%205.98055L18.0418%207.11492C17.9674%207.22762%2017.8434%207.29377%2017.7094%207.29377H17.2084C16.9603%207.29377%2016.7321%207.42852%2016.6131%207.64412C16.4915%207.86708%2016.2757%208.02143%2016.0302%208.07288V0.181303C16.0302%200.0808513%2015.9483%200%2015.8466%200C15.7449%200%2015.663%200.0808513%2015.663%200.181303V0.426307V2.64604V8.07778C15.4175%208.02633%2015.2017%207.87198%2015.0801%207.64657C14.9636%207.43097%2014.7354%207.29622%2014.4848%207.29622H14.1475C13.8796%207.29622%2013.639%207.45057%2013.5298%207.69312L13.2496%208.31299C13.2049%208.41099%2013.1057%208.47469%2012.9965%208.47469C12.8874%208.47469%2012.7882%208.41099%2012.7435%208.31299L12.4633%207.69312C12.3541%207.45302%2012.1135%207.29622%2011.8456%207.29622H2.33802C2.26113%207.29622%202.19911%207.35747%202.19911%207.43342C2.19911%207.59512%202.06517%207.72498%201.90394%207.72498H1.49218C1.41529%207.72498%201.35328%207.78623%201.35328%207.86218V8.33504C1.35328%208.77849%201.26646%209.2097%201.09283%209.61886L0.842303%2010.2142C0.60914%2010.7655%200.5%2011.3363%200.5%2011.8974V13.2694C0.5%2013.6394%200.55457%2014.0142%200.66371%2014.3793C0.968807%2015.4034%201.66334%2016.2413%202.61831%2016.7362L4.13883%2017.5276C4.15868%2017.5374%204.181%2017.5423%204.20332%2017.5423L5.32697%2017.5521C5.5899%2017.5545%205.84787%2017.6207%206.07855%2017.7481L6.6813%2018.0813C6.70115%2018.0935%206.72595%2018.0984%206.75076%2018.0984H7.5569C7.83968%2018.0984%208.11997%2018.1744%208.36057%2018.3189C8.36057%2018.3189%208.75497%2018.5566%208.88891%2018.6326C9.10223%2018.7551%209.3602%2018.8727%209.80916%2018.8972C9.91086%2018.9021%2010.0126%2018.8653%2010.0895%2018.7943C10.1639%2018.7232%2010.2085%2018.6228%2010.2085%2018.5223V17.9882C10.2085%2017.6011%2010.4392%2017.2483%2010.7989%2017.0939L12.0317%2016.5598C12.2003%2016.4863%2012.3888%2016.4741%2012.5649%2016.528L13.0263%2016.6627C13.2223%2016.7191%2013.4306%2016.7215%2013.6266%2016.6627L14.718%2016.3418C14.8619%2016.3001%2015.0156%2016.3001%2015.162%2016.3442L15.606%2016.4667C15.8119%2016.5231%2015.9582%2016.7142%2015.9582%2016.9249V17.9931C15.9582%2018.4905%2016.3675%2018.8972%2016.871%2018.8972C17.2481%2018.8972%2017.578%2018.6595%2017.6921%2018.3042C17.8979%2017.6648%2018.0021%2016.9984%2018.0021%2016.3271V15.8714C18.0021%2015.548%2018.1385%2015.2368%2018.3767%2015.0138L18.8306%2014.59C19.1357%2014.3033%2019.3118%2013.8966%2019.3118%2013.4801V10.9468C19.3118%2010.5548%2019.4309%2010.175%2019.6591%209.85161C19.6764%209.82956%2019.6839%209.80016%2019.6839%209.77321V9.1754C19.6839%208.78584%2019.8029%208.40854%2020.0262%208.08758L20.4751%207.44322C20.4925%207.42117%2020.4999%207.39422%2020.4999%207.36482V6.96056C20.5024%206.88461%2020.4553%206.85766%2020.4404%206.84786ZM16.0302%2012.8554C16.3352%2012.9019%2016.5634%2013.0563%2016.5634%2013.2425C16.5634%2013.4287%2016.3377%2013.583%2016.0302%2013.6296V12.8554ZM2.98046%2016.6137L2.74978%2016.4937C2.12222%2016.1678%201.62117%2015.6827%201.27886%2015.0922V14.3523C1.67078%2014.9134%202.20407%2015.3912%202.85644%2015.7317L2.98046%2015.7954V16.6137ZM4.14131%2017.2189L3.52616%2016.9004V16.0821L4.13883%2016.4006H4.14131V17.2189ZM6.70115%2017.775L6.21498%2017.5055C5.94957%2017.3585%205.65191%2017.2801%205.34682%2017.2752V16.4226C5.6023%2016.4275%205.85531%2016.4937%206.07855%2016.6162L6.6813%2016.9494C6.68626%2016.9518%206.6937%2016.9518%206.70115%2016.9543V17.775ZM9.92822%2017.9882V18.4047V18.5223C9.92822%2018.5493%209.91582%2018.5762%209.89598%2018.5958C9.87613%2018.6154%209.85133%2018.6228%209.82404%2018.6228C9.43461%2018.6032%209.21137%2018.5027%209.0303%2018.3973C8.89883%2018.3214%208.50692%2018.0862%208.50444%2018.0862C8.25887%2017.9392%207.98106%2017.8583%207.69581%2017.8363V16.9788C7.92897%2017.0008%208.15718%2017.0694%208.36057%2017.1895L8.7004%2017.3904C9.07246%2017.6109%209.49662%2017.7358%209.92822%2017.7603V17.9882ZM13.2868%2016.4275C13.2272%2016.4251%2013.1652%2016.4153%2013.1057%2016.3981L12.6443%2016.2609C12.5451%2016.2315%2012.4434%2016.2217%2012.3417%2016.2217V15.3667C12.4161%2015.3667%2012.4905%2015.374%2012.5649%2015.3961L13.0263%2015.5308C13.1107%2015.5553%2013.1999%2015.5676%2013.2868%2015.5725V16.4275ZM16.1765%2016.6333C16.0872%2016.4275%2015.9111%2016.2634%2015.6854%2016.2021L15.2438%2016.0796C15.1397%2016.0478%2015.0305%2016.0355%2014.9214%2016.0355V15.1829C15.0057%2015.1804%2015.0901%2015.1902%2015.1719%2015.2172L15.5341%2015.3299C15.9185%2015.45%2016.1765%2015.7979%2016.1765%2016.1948V16.6333ZM17.449%2018.1474C17.4415%2018.1719%2017.4366%2018.1964%2017.4291%2018.2209C17.3522%2018.4611%2017.129%2018.6203%2016.876%2018.6203C16.8537%2018.6203%2016.8313%2018.6154%2016.809%2018.613V17.7628C16.8264%2017.7652%2016.8413%2017.7677%2016.8586%2017.7677C17.1067%2017.7677%2017.3324%2017.6305%2017.4515%2017.4222V18.1474H17.449ZM19.8302%207.48242C19.5524%207.87933%2019.4061%208.34484%2019.4061%208.82749V9.2489L19.1903%209.5576C18.91%209.95696%2018.7611%2010.4249%2018.7611%2010.91V13.0342C18.7611%2013.3772%2018.6173%2013.7129%2018.3643%2013.9481L17.9103%2014.3744C17.6052%2014.661%2017.4366%2015.0628%2017.449%2015.4794L17.4515%2015.5749C17.4688%2016.1262%2017.3969%2016.675%2017.2406%2017.2042C17.191%2017.3732%2017.0323%2017.4908%2016.8561%2017.4908C16.6354%2017.4908%2016.4543%2017.3144%2016.4543%2017.0939V16.1948C16.4543%2015.6754%2016.117%2015.2221%2015.6159%2015.0677L15.2538%2014.955C15.0528%2014.8938%2014.842%2014.8913%2014.6386%2014.9501L13.5472%2015.2686C13.4033%2015.3103%2013.2496%2015.3103%2013.1057%2015.2686L12.6443%2015.1339C12.4062%2015.0628%2012.1482%2015.08%2011.92%2015.178L10.9502%2015.5994C10.3301%2015.8689%209.9307%2016.4741%209.9307%2017.1429V17.4884C9.54871%2017.4663%209.17664%2017.3536%208.84674%2017.1576L8.50692%2016.9567C8.21919%2016.7877%207.89177%2016.697%207.5569%2016.697H6.78548L6.21498%2016.381C5.94461%2016.2315%205.63951%2016.1531%205.32945%2016.1507L4.23805%2016.1433L2.98542%2015.4916C1.08539%2014.5042%200.274278%2012.2821%201.10027%2010.322L1.3508%209.72666C1.53683%209.28565%201.63357%208.81769%201.63357%208.33749V8.00428H1.90394C2.17183%208.00428%202.40003%207.82053%202.46204%207.57307H11.8481C12.0044%207.57307%2012.1482%207.66372%2012.2102%207.80583L12.4905%208.42569C12.5798%208.62414%2012.7783%208.75154%2012.999%208.75154C13.2173%208.75154%2013.4182%208.62414%2013.5075%208.42569L13.7878%207.80338C13.8523%207.66127%2013.9937%207.57062%2014.15%207.57062H14.4873C14.6337%207.57062%2014.7676%207.64902%2014.837%207.77643C15.0082%208.09003%2015.3158%208.30074%2015.6655%208.35709V12.2575C15.1025%2012.3188%2014.6709%2012.6496%2014.6709%2013.0514C14.6709%2013.4973%2015.1967%2013.8574%2015.8466%2013.8574C16.4965%2013.8574%2017.0223%2013.4973%2017.0223%2013.0514C17.0223%2012.6496%2016.5907%2012.3163%2016.0277%2012.2575V8.35464C16.3774%208.29828%2016.685%208.08758%2016.8561%207.77398C16.9256%207.64657%2017.0595%207.56817%2017.2059%207.56817H17.7069C17.9376%207.56817%2018.1485%207.45302%2018.275%207.26192L19.0191%206.12755C19.1158%205.9781%2019.282%205.8899%2019.4631%205.8899H19.6938C19.8575%205.8899%2019.9914%206.0222%2019.9914%206.1839V6.53426C19.9914%206.70331%2020.0584%206.86501%2020.175%206.98506L19.8302%207.48242ZM15.663%2012.8554V13.6296C15.3579%2013.583%2015.1322%2013.4287%2015.1322%2013.2425C15.1322%2013.0563%2015.3579%2012.8995%2015.663%2012.8554Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M43.6355%2014.2212L45.783%206.63627C46.0175%205.80901%2046.629%205.14498%2047.4288%204.848L47.4874%204.60107H44.5028L39.434%2010.6989L37.4942%204.60107H34.7636L34.6978%204.848C35.1653%205.08213%2035.423%205.78176%2035.423%206.35097V6.38628C35.423%209.63469%2033.0443%2015.2183%2029.6984%2015.2183C28.3982%2015.2183%2027.7242%2014.2901%2027.7242%2013.5165C27.7242%2012.5794%2028.5003%2011.9129%2029.3191%2011.9129C30.112%2011.9129%2030.2342%2012.211%2030.6909%2012.211C30.9696%2012.211%2031.2366%2012.0667%2031.3701%2011.8195C31.5797%2011.4313%2031.4208%2010.9572%2031.0376%2010.7714L30.8283%2010.6705C28.8775%209.72228%2026.6152%2011.1582%2026.6152%2013.3453V13.3756C26.6152%2014.9675%2027.8525%2016.2989%2029.4275%2016.3545C33.4867%2016.4983%2036.2019%2010.9661%2036.6338%206.91684L36.9458%208.01243L38.5448%2012.8545H39.1504L44.1452%206.83425L42.0498%2014.229C41.8094%2015.0773%2041.1437%2015.7344%2040.2985%2015.958L40.2399%2016.2049H44.2561L44.3216%2015.958C43.7283%2015.6043%2043.4461%2014.8902%2043.6355%2014.2212Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.9847%2012.6335H50.0625C50.2808%2012.034%2050.4898%2011.4617%2050.5603%2011.2743C51.0465%209.97682%2051.971%209.45183%2052.8665%209.37842L52.8572%209.3862L51.9847%2012.6335ZM53.7159%208.72607H53.6817C51.8071%208.7283%2049.7916%208.91155%2048.719%2011.9903C47.8179%2014.5767%2047.5745%2015.6481%2046.8705%2015.6481C46.4204%2015.6481%2046.5297%2014.763%2045.8549%2014.763C45.5509%2014.763%2045.2332%2015.0093%2045.2104%2015.3661C45.1705%2015.9826%2045.9909%2016.3555%2046.6092%2016.3555C48.4929%2016.3555%2049.2148%2014.9671%2049.4505%2014.3203C49.481%2014.2358%2049.6473%2013.778%2049.8436%2013.2386H51.8231L51.4878%2014.4866C51.3107%2015.145%2050.9465%2015.6839%2050.3304%2015.9595L50.2772%2016.2062H53.5154L53.5755%2015.9595C53.1372%2015.5941%2052.9469%2015.0082%2053.089%2014.4627L54.3075%209.78302C54.4011%209.42403%2054.6472%209.12789%2054.9809%208.973L55.0338%208.72607H53.9785H53.7159Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M70.056%209.26026C70.1601%209.08619%2070.2595%208.82035%2070.2595%208.67186L70.2597%208.67103C70.2741%208.39018%2070.0208%208.17273%2069.7488%208.23196H69.7482C69.5304%208.27951%2069.373%208.47499%2069.3771%208.70023C69.3807%208.93436%2069.3341%209.18574%2069.2353%209.30836C69.0082%209.59116%2068.645%209.56697%2066.9717%209.08174V9.07896C66.8186%209.03363%2066.6504%208.98414%2066.4731%208.93492C66.4637%208.93241%2066.4549%208.92963%2066.4453%208.92657L66.4456%208.92741C65.6106%208.698%2064.5732%208.4875%2063.8929%208.82869C63.8874%208.83148%2063.8816%208.83453%2063.8764%208.83704C63.2118%209.17406%2062.7479%209.81223%2062.6086%2010.5502C62.5879%2010.6587%2062.5728%2010.7468%2062.5711%2010.7788V10.7799C62.5513%2011.1675%2062.9009%2011.4679%2063.2767%2011.3864L63.2773%2011.3858C63.5821%2011.3196%2063.7965%2011.0441%2063.7902%2010.7296C63.7836%2010.4117%2063.7205%209.98741%2063.8918%209.70267C64.1674%209.31059%2064.4537%209.28278%2065.7361%209.71462L64.3436%2014.4877C64.1514%2015.1456%2063.6812%2015.6848%2063.059%2015.9601L63.0001%2016.2073H66.3319L66.3977%2015.9601C65.9679%2015.595%2065.7906%2015.0088%2065.9453%2014.4635L67.1628%2010.1637C67.6969%2010.276%2068.2381%2010.305%2068.7651%2010.1531L68.9548%2010.0986C69.3787%209.97629%2069.8129%209.6668%2070.056%209.26026Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M71.3889%208.72607L71.3234%208.97328C71.736%209.26108%2071.9219%209.78079%2071.7886%2010.2671L70.5506%2014.4816C70.3584%2015.14%2069.8882%2015.6789%2069.2659%2015.9542L69.207%2016.2011H70.9696H71.1306H75.1868L75.7226%2014.2252H75.4709L75.3806%2014.4145C75.0447%2015.1206%2074.3372%2015.5699%2073.5614%2015.5699H71.8415L72.7572%2012.2623L73.4878%2012.2615C73.9807%2012.2612%2074.3512%2012.7153%2074.2568%2013.2036H74.5084L75.1094%2010.9679H74.8578C74.7122%2011.3814%2074.3253%2011.6578%2073.8904%2011.658L72.9243%2011.6592L73.5597%209.36341L75.3825%209.36202C75.9775%209.36146%2076.4229%209.9126%2076.304%2010.5015H76.5556L77.033%208.72607H71.3889Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M82.8655%2010.5324C82.6668%2011.2028%2082.0564%2011.6627%2081.3632%2011.6627L80.3076%2011.6636L80.9466%209.36726L82.0055%209.3667C82.6067%209.36642%2083.0379%209.9512%2082.8655%2010.5324ZM82.7978%208.72998H78.7711L78.7053%208.97691C79.0919%209.24636%2079.2791%209.71935%2079.1921%2010.1779L77.9311%2014.4846C77.739%2015.1431%2077.269%2015.682%2076.6465%2015.9573L76.5879%2016.2048H79.9164L79.9822%2015.9573C79.5524%2015.5922%2079.3754%2015.006%2079.5296%2014.4607L80.14%2012.2662H80.3944C80.7787%2012.2665%2081.1014%2012.5584%2081.1438%2012.9444C81.1578%2013.069%2081.3505%2014.5947%2081.5044%2015.1195C81.7059%2015.8052%2081.9705%2016.205%2082.5729%2016.205H84.0788L84.1375%2015.9578L83.9219%2015.8288C83.4966%2015.5738%2083.1885%2015.1773%2083.0508%2014.6531C82.9203%2014.1585%2082.677%2013.2372%2082.5578%2012.7495C82.4961%2012.4981%2082.1866%2012.2654%2081.8667%2012.2654L82.3741%2012.2651C83.284%2012.2645%2084.0827%2011.6525%2084.328%2010.7671C84.611%209.74382%2083.8495%208.72998%2082.7978%208.72998Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.6842%209.10931C60.576%209.10931%2060.3431%209.03478%2059.9858%208.88463C59.6281%208.73447%2059.2669%208.65967%2058.9027%208.65967C58.1467%208.65967%2057.5157%208.90687%2056.9997%209.4352C56.5703%209.87483%2056.3795%2010.3628%2056.3795%2010.7852C56.3795%2011.2349%2056.6399%2011.7635%2057.1616%2012.1909C57.6542%2012.5949%2058.1668%2012.982%2058.68%2013.3771C59.2196%2013.8134%2059.4897%2014.2158%2059.4897%2014.5431C59.4897%2015.2616%2059.0269%2015.6481%2058.0688%2015.6481C57.0953%2015.6481%2056.4221%2014.9276%2056.2063%2013.5782H55.9431L55.1777%2016.2045H55.4203C55.7366%2015.9807%2055.9615%2015.8366%2056.4202%2015.8366C56.858%2015.8366%2057.3257%2016.3558%2058.3229%2016.3558C59.1191%2016.3558%2059.7493%2016.189%2060.2892%2015.6434C60.7481%2015.1668%2060.9775%2014.4994%2060.9775%2013.9538C60.9775%2013.4494%2060.6644%2012.8613%2060.1174%2012.4375C59.648%2012.0741%2059.1453%2011.7496%2058.6596%2011.3948C58.1332%2010.9993%2057.87%2010.6637%2057.87%2010.2956C57.87%2010.0906%2057.9713%209.88651%2058.174%209.68213C58.43%209.42325%2058.773%209.36596%2059.232%209.36596C60.1529%209.36596%2060.7974%209.88429%2060.8516%2010.9746H61.0945L61.7368%208.65967H61.4939C61.2373%208.95971%2060.9675%209.10931%2060.6842%209.10931Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M89.1717%209.36569C90.0926%209.36569%2090.7374%209.88401%2090.7914%2010.9743H91.0345L91.6765%208.65967H91.4334C91.1771%208.95915%2090.9075%209.10903%2090.6237%209.10903C90.5158%209.10903%2090.2829%209.03423%2089.9252%208.88435C89.5676%208.73447%2089.2067%208.65967%2088.8422%208.65967C88.0864%208.65967%2087.4554%208.90687%2086.9395%209.43493C86.51%209.87455%2086.3192%2010.3628%2086.3192%2010.785C86.3192%2011.2351%2086.5796%2011.7629%2087.1014%2012.1909C87.5939%2012.5949%2088.1065%2012.9817%2088.6197%2013.3768C89.159%2013.8134%2089.4294%2014.2158%2089.4294%2014.5428C89.4294%2015.2613%2088.9666%2015.6478%2088.0085%2015.6478C87.035%2015.6478%2086.3619%2014.9274%2086.1458%2013.5782H85.8826L85.1172%2016.2045H85.3603C85.6763%2015.9807%2085.9013%2015.8366%2086.3597%2015.8366C86.7977%2015.8366%2087.2652%2016.3558%2088.2626%2016.3558C89.0588%2016.3558%2089.689%2016.1884%2090.2289%2015.6434C90.6878%2015.1662%2090.9172%2014.4991%2090.9172%2013.9538C90.9172%2013.4494%2090.6041%2012.8613%2090.0574%2012.4375C89.5877%2012.0738%2089.0853%2011.7493%2088.5996%2011.3945C88.0729%2010.9993%2087.8097%2010.6632%2087.8097%2010.295C87.8097%2010.0909%2087.911%209.88623%2088.1134%209.68185C88.3697%209.42297%2088.7128%209.36569%2089.1717%209.36569Z'%20fill='%23006747'/%3e%3c/svg%3e",w=[{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",tagline:"Featured groups+ experience",headline:n.jsxs(n.Fragment,{children:["Welcome to ",n.jsx("br",{})," Featured Groups +"]})},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_2.png",headline:"Get real-time insights"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_3.png",headline:"Predictions, trivia & polls synced to match play"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_4.png",headline:"Win points for every answer you get right"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_5.png",headline:"Compete against friends on the leaderboard"}],H2=i.styled_default("div")({name:"OnboardingContainer",class:"on59ra",propsAsIs:!1}),$2=()=>_.f,P2=i.styled_default($2())({name:"OnboardingNotificationContainer",class:"op1wk5d",propsAsIs:!0}),B=i.styled_default("div")({name:"InnerContainer",class:"i1i1g2vj",propsAsIs:!1}),U2=({deepLink:t,onboardingOpts:e,notification:s,gamification:o,loading:r,sdk:l})=>{var a,u,c,C,f,p,m;const v=i.useStore(o.friends?o.friends.getStore():g.createSingleStore({data:[]})),[x,b]=d.useState(void 0),E=d.useMemo(()=>{var S,T;const j=l.getInviter();return j?(T=(S=v.data)==null?void 0:S.find(({slId:Q})=>Q===j))==null?void 0:T.name:""},[v.data,l]);return d.useEffect(()=>{const S=t.$store.subscribe(T=>{T&&b(T.data)});return()=>{S()}},[t.$store]),n.jsx(H2,{children:n.jsx(g.tn,{loading:r,rules:[{label:"Answer as many questions as you like.",icon:"icon-btn-feature-groups"},{label:"Win points for each correct trivia or prediction answer.",icon:"icon-thumb-up"},{label:"Top the leader board and best your friends.",icon:"icon-trophy"}],rulesBtnLabel:(a=e.rules)==null?void 0:a.buttonLabel,rulesTitle:(u=e.rules)==null?void 0:u.heading,termsTitle:"Terms and Conditions",termsText:(c=e.rules)==null?void 0:c.terms,steps:w,primaryColor:(C=e.inviteCard)==null?void 0:C.iconColor,inviteLink:x,inviteCardTitle:(f=e.inviteCard)==null?void 0:f.heading,inviteCardSubtext:(p=e.inviteCard)==null?void 0:p.subtext,inviteCardBtnLabel:(m=e.inviteCard)==null?void 0:m.buttonLabel,onClose:()=>{var S;(S=s.close)==null||S.call(s)},gamification:o,sdk:l,inviterName:E})})},G2=({sdk:t,notification:e,saveHeight:s,style:o,appNode:r,responsiveStore:l})=>{var a;const u=d.useRef(null),c=e.data.onboarding,[C,f]=d.useState(c==null?void 0:c.instantOpen),p=t.getFeature(L.SdkOverlayType.GAMES),m=d.useMemo(()=>w==null?void 0:w.map(({graphicSrc:E})=>E),[]),{screen:v}=i.useStore(l,{keys:["screen"]});(a=c==null?void 0:c.titleCard)!=null&&a.media&&(c.titleCard.media.sponsorLogo=V2),d.useLayoutEffect(()=>{var E;s(((E=u.current)==null?void 0:E.getBoundingClientRect().height)||0)},[s]);const{loading:x,throttled:b}=g.I(m);return C&&p&&c&&r.current&&!b?n.jsx(g.T,{container:r,useContainer:!1,children:n.jsx(U2,{notification:e,setOpened:f,gamification:p,onboardingOpts:c,deepLink:p.deepLink,loading:x,sdk:t})}):n.jsxs(n.Fragment,{children:[n.jsx(B,{ref:u,style:{position:"absolute",visibility:"hidden"},children:n.jsx(O,{close:()=>{},action:()=>{},onboarding:c})}),n.jsx(P2,{style:o,hiding:e.hiding,children:n.jsx(B,{children:n.jsx(O,{close:e.close,action:()=>{var E;f(!0),(((E=r.current)==null?void 0:E.getBoundingClientRect().y)||0)<0&&M(r,v.size,{behavior:"smooth"})},onboarding:c})})})]})},q2=()=>_.f,M2=i.styled_default(q2())({name:"Container",class:"c1f0y7nw",propsAsIs:!0}),K=i.styled_default("div")({name:"InnerContainer",class:"i1qa3p7a",propsAsIs:!1}),z2=()=>K,K2=i.styled_default(z2())({name:"HiddenContainer",class:"hrthymv",propsAsIs:!0}),Q2=i.styled_default("div")({name:"NotificationRefreshing",class:"n13rok4i",propsAsIs:!1}),Z2=()=>g.f,W2=i.styled_default(Z2())({name:"Pill",class:"pht79xf",propsAsIs:!0}),Y2=t=>{const[e,s]=d.useState(0),o=d.useRef(null),r=d.useCallback(a=>{o.current=a},[]);d.useEffect(()=>{var a;const u=(a=o.current)==null?void 0:a.getBoundingClientRect();u&&s(u.height)},[t]);const l=d.useCallback(a=>{s(a)},[]);return[r,e,l]},X2=({sdk:t,notification:e,appNode:s,responsiveStore:o})=>{var r,l;const{sdk:a}=F(),[u,c,C]=Y2(e.id);return e.type===i.NotificationType.QUESTION?n.jsxs(n.Fragment,{children:[n.jsx(K2,{ref:u,children:n.jsx(g.w,{...e})}),n.jsxs(M2,{style:{height:e.hiding?0:c},hiding:e.hiding,children:[n.jsx(K,{style:{height:"100%"},children:n.jsx(g.w,{...e,controlVideo:a==null?void 0:a.controlVideoPlayer})}),n.jsx(Q2,{},e.id)]})]}):e.type===i.NotificationType.QUESTION_RESOLVED&&(l=(r=e.data)==null?void 0:r.question)!=null&&l.predictionResult?n.jsx(g.D,{style:{height:e.hiding?0:c},saveHeight:C,close:e.close,hiding:e.hiding,...e.data.question,mastersApp:!0}):e.type===i.NotificationType.ONBOARDING?n.jsx(G2,{style:{height:e.hiding?0:c},saveHeight:C,sdk:t,notification:e,appNode:s,responsiveStore:o}):null},J2="p1co32q0",e0=({pill:t,setPill:e,appNode:s,headerNode:o,scrollNode:r,responsiveStore:l,scrollStore:a,useContainer:u})=>{var c,C;const{screen:f}=i.useStore(l,{keys:["screen"]}),{tabsShown:p,scrollPosition:m}=i.useStore(a,{keys:["tabsShown","scrollPosition"]});d.useEffect(()=>{l.get().sdkInDesktopView||u?m<50&&e(null):m>-50&&e(null)},[m,l,e,u]);const v=l.get().sdkInDesktopView?s:o;return!t||!v.current?null:W.createPortal(n.jsx(W2,{title:t.type===i.NotificationType.QUESTION_RESOLVED?"Prediction result":`New ${((C=Y.e[(c=t.data)==null?void 0:c.questionType])==null?void 0:C.label)||"notification"}`,onClick:()=>{var x;l.get().sdkInDesktopView?(x=r.current)==null||x.scrollTo({top:0,behavior:"smooth"}):M(r,f.size,{behavior:"smooth"}),e(null)},className:i.cx_default(p&&J2,"sl-pill-button")}),v.current)},t0=({sdk:t,headerNode:e,scrollNode:s,useContainer:o,responsiveStore:r,appNode:l,scrollStore:a})=>{const[u]=d.useState(t.getNotificationsStore()),c=i.useStore(u),[C,f]=d.useState(null),p=d.useMemo(()=>t.getActiveNotification(),[t,c]);return d.useEffect(()=>{p&&U.eventBus.emit("notification",{action:"rendered",payload:{questionId:p.data.questionId,questionType:p.data.questionType}})},[p]),d.useEffect(()=>{p&&(r.get().sdkInDesktopView||r.get().sdkInView)&&(!r.get().sdkInDesktopView&&r.get().sdkInView&&f(p),r.get().sdkInDesktopView&&window.requestAnimationFrame(()=>{a.get().scrollPosition!==0&&f(p)}))},[p]),d.useEffect(()=>{p||f(null)},[p]),n.jsxs(n.Fragment,{children:[!C&&p&&n.jsx(X2,{headerNode:e,appNode:l,sdk:t,notification:p,responsiveStore:r}),C&&n.jsx(e0,{pill:C,setPill:f,appNode:l,notification:p,headerNode:e,scrollNode:s,scrollStore:a,useContainer:o,responsiveStore:r})]})},V=Object.keys(i.A),k=()=>{const t=window.innerWidth;let e="sm";for(let s=V.length-1;s>0;s--){const o=V[s];if(!(t<i.A[o])&&t>=i.A[o]){e=o;break}}return{name:e,size:i.A[e]}},H=t=>{var e;const s=(e=t.current)==null?void 0:e.getBoundingClientRect();return s?s.y>-s.height&&s.y<window.innerHeight:!1},$=t=>t>=i.A.lg,s0=t=>{const[e]=d.useState(()=>{const s=k();return P.i({screen:k(),sdkInView:H(t),sdkInDesktopView:$(s.size)})});return d.useEffect(()=>{const s=D(()=>{e.setKey("sdkInView",H(t))},200),o=D(()=>{const r=k();e.setKey("screen",r),e.setKey("sdkInDesktopView",$(r.size))},200);return s(),o(),window.addEventListener("scroll",s),window.addEventListener("resize",o),()=>{window.removeEventListener("scroll",s),window.removeEventListener("resize",o)}},[e,t]),[e]},n0={...i.R,BG_TRANSPARENT:"rgba(0,0,0, .8)",BLUE_QUESTION_ACTION_BTN:"#1589ee",WHITE:"#FFFFFF",BLUE:"#2d6ffd",GREY_PRIMARY_ONBOARDING_INAPP:"#B5B7B8",GREY_PRIMARY:"#909395",PRIMARY_1:"#107D57",PRIMARY_2:"#006747",PRIMARY_TEXT:"#25282A",QUESTION_TYPE_ICON:"#107D57",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",SDK_CONTAINER_BG:"#F7F7F7",SDK_WHITE_CONTAINER_BG:"#fff",SDK_DARK_CONTAINER_BG:"#fff",SDK_PREDICTION_RESULT_SUCCESS_BG:"#fff",SDK_PREDICTION_RESULT_INCORRECT_BG:"#fff",SDK_PREDICTION_RESULT_SUCCESS_TEXT:"#107D57",SDK_PREDICTION_RESULT_ERROR_TITLE:"#090E13",SDK_PREDICTION_RESULT_ERROR_SUBTITLE:"#DF2F3B",SDK_PREDICTION_RESULT_CLOSE_ICON:"#6B6F73",SDK_PREDICTION_FEEDBACK_SUCCESS_ICON:"#107D57",SDK_PREDICTION_FEEDBACK_INCORRECT_RECT1:"#CD2525",SDK_PREDICTION_FEEDBACK_INCORRECT_RECT2:"#fff",PREDICTION_BG_LINES_CORRECT:"#01AB58",PREDICTION_BG_LINES_INCORRECT:"#888B8D",SKELETON_COLOR_1:"#f1efef",SKELETON_COLOR_2:"#f9f8f8",TABS_CONTAINER_BG:"#F2F2F1",TABS_ACTIVE_BG:"#FFFFFF",TABS_COLOR:"#6B6F73",TABS_ACTIVE_COLOR:"#107D57",CARD_BG:"#FFFFFF",CARD_BORDER:"#fff",BORDER:"#E8E8E8",VOTE_BTN_BG:"#F7F7F7",VOTE_BTN_BORDER:"rgb(232, 232, 232)",VOTE_BTN_DISABLED_BORDER:"#B1B3B3",VOTE_BTN_SELECTED_BORDER:"#25282A",VOTE_BTN_NOT_SELECTED_BORDER:"#E8E8E8",VOTE_BTN_SELECTED_BG:"#FFFFFF",VOTE_BTN_NOT_SELECTED_BG:"#FFFFFF",VOTE_BTN_NOT_SELECTED_BG_UNSET:"rgb(196, 196, 196)",VOTED_ANSWER_BG:"rgba(16, 125, 87, 0.10)",VOTED_BTN_RCT_BG:"rgba(16, 125, 87, 0.30)",IN_APP_BG:"rgba(255, 255, 255, 0.90)",IN_APP_QUESTION_TYPE_ICON:"#1D7BFF",IN_APP_QUESTION_TYPE_LABEL:"#82899E",IN_APP_QUESTION_QUOTE:"rgba(10, 14, 19, 0.70)",IN_APP_QUESTION_RESULT_SUBTITLE_BG:"#1D7BFF",IN_APP_QUESTION_RESULT_LINE:"#babfc5",QUOTE_TEXT:"#006944"},h={...i.D,REGULAR:"'Benton Sans', BentonSans, Arial, Helvetica, sans-serif",REGULAR1:i.D.REGULAR,SERIF:"'Tiempos', 'Tiempos Text', Times New Roman, serif",SERIF1:"'Tiempos', 'Tiempos Headline', Times New Roman, serif",COLOR:"#fff",WEIGHT_DEFAULT:"500"},i0=Object.entries(n0).reduce((t,[e,s])=>`
|
|
5
|
+
`,v2=({gamification:t,responsiveStore:e,useContainer:s,className:o,appNode:r})=>{const l=i.useStore(t.openedQuestion.$store),{sdkInDesktopView:a}=i.useStore(e,{keys:["sdkInDesktopView"]}),{hiding:u,onAnimationEnd:c}=L.S();return!r.current||!l?null:n.jsx(g.T,{container:r,useContainer:typeof s=="boolean"?!s:!a,staticStyles:typeof s=="boolean"?h2:"",children:n.jsx(m2,{className:o,hiding:u,onAnimationEnd:c,children:n.jsx(c2,{gamification:t})})})},E2=d.lazy(()=>Promise.resolve().then(()=>require("./gamification-feature2.js"))),x2=({sdk:t,feature:e,className:s})=>{const o=d.useMemo(()=>e&&e.featureConfig.get().type===T.SdkOverlayType.GAMES?n.jsx(r2,{className:s,sdk:t,feature:e,children:n.jsx(E2,{className:s,gamification:e})}):null,[t,e,s]);return n.jsx(d.Suspense,{fallback:n.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"},children:"page loading..."}),children:o})},S2=({feature:t,className:e,useContainer:s,appNode:o,responsiveStore:r})=>t&&t.featureConfig.get().type===T.SdkOverlayType.GAMES?n.jsx(v2,{responsiveStore:r,className:e,appNode:o,useContainer:s,gamification:t}):null,_2=i.styled_default("div")({name:"Navigation",class:"n1o1tw60",propsAsIs:!1}),L2=i.styled_default("div")({name:"Container",class:"co2rstw",propsAsIs:!1}),T2=i.styled_default("div")({name:"Title",class:"t1bqnx9c",propsAsIs:!1}),y2="hlc2pcy",N2=d.forwardRef(({className:t},e)=>n.jsxs(_2,{className:i.cx_default(t,y2),children:[n.jsx(L2,{children:n.jsxs(T2,{children:[n.jsx(U.B1,{name:"fgIcon"}),"FG+ Game Center"," "]})}),n.jsx("div",{ref:e})]})),I2=i.styled_default("div")({name:"Container",class:"czz4rjk",propsAsIs:!1}),R2=i.styled_default("div")({name:"CloseIconWrap",class:"cxmojsy",propsAsIs:!1}),b2=()=>U.B1,A2=i.styled_default(b2())({name:"CloseIcon",class:"c1urm3yx",propsAsIs:!0}),k2=i.styled_default("div")({name:"Title",class:"tme976v",propsAsIs:!1}),D2=i.styled_default("img")({name:"SponsorLogo",class:"s1lal9yz",propsAsIs:!1}),w2=i.styled_default("div")({name:"PresentsTitle",class:"pnn1sv1",propsAsIs:!1}),F2=i.styled_default("div")({name:"Subtitle",class:"s1hjj1y8",propsAsIs:!1}),j2=i.styled_default("div")({name:"Description",class:"dz7yjzw",propsAsIs:!1}),O2=i.styled_default("button")({name:"ActionButton",class:"avpowqk",propsAsIs:!1}),O=({close:t,action:e,onboarding:s})=>{var o,r,l,a,u,c,C,f;return n.jsxs(I2,{children:[n.jsx(R2,{onClick:t,children:n.jsx(A2,{name:"icon-cross"})}),((r=(o=s==null?void 0:s.titleCard)==null?void 0:o.media)==null?void 0:r.sponsorLogo)&&n.jsxs(k2,{children:[n.jsx(D2,{alt:"sponsor-logo",src:(a=(l=s==null?void 0:s.titleCard)==null?void 0:l.media)==null?void 0:a.sponsorLogo}),n.jsx(w2,{children:"PRESENTS"})]}),((u=s==null?void 0:s.titleCard)==null?void 0:u.title)&&n.jsx(F2,{children:(c=s==null?void 0:s.titleCard)==null?void 0:c.title}),((C=s==null?void 0:s.titleCard)==null?void 0:C.subtitle)&&n.jsx(j2,{children:(f=s==null?void 0:s.titleCard)==null?void 0:f.subtitle}),n.jsx(O2,{onClick:e,children:"Play Now"})]})},B2="data:image/svg+xml,%3csvg%20width='92'%20height='19'%20viewBox='0%200%2092%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.1701%200.953996C13.9047%200.873145%2013.6393%201.0177%2013.3739%201.1647C13.2797%201.21615%2013.2127%201.3068%2013.1904%201.4097L12.7736%203.33298C12.7588%203.40404%2012.8233%203.46774%2012.8952%203.45304C13.3342%203.35504%2013.7509%202.97528%2014.19%203.10758C14.6811%203.25703%2015.1722%202.64207%2015.6634%202.64942V0.429688C15.1698%200.432138%2014.6613%201.10345%2014.1701%200.953996Z'%20fill='%23006747'/%3e%3cpath%20d='M20.4404%206.84786C20.3362%206.77681%2020.2717%206.66166%2020.2717%206.53671V6.18635C20.2717%205.87275%2020.0138%205.61549%2019.6938%205.61549H19.4631C19.1878%205.61549%2018.9348%205.75269%2018.7859%205.98055L18.0418%207.11492C17.9674%207.22762%2017.8434%207.29377%2017.7094%207.29377H17.2084C16.9603%207.29377%2016.7321%207.42852%2016.6131%207.64412C16.4915%207.86708%2016.2757%208.02143%2016.0302%208.07288V0.181303C16.0302%200.0808513%2015.9483%200%2015.8466%200C15.7449%200%2015.663%200.0808513%2015.663%200.181303V0.426307V2.64604V8.07778C15.4175%208.02633%2015.2017%207.87198%2015.0801%207.64657C14.9636%207.43097%2014.7354%207.29622%2014.4848%207.29622H14.1475C13.8796%207.29622%2013.639%207.45057%2013.5298%207.69312L13.2496%208.31299C13.2049%208.41099%2013.1057%208.47469%2012.9965%208.47469C12.8874%208.47469%2012.7882%208.41099%2012.7435%208.31299L12.4633%207.69312C12.3541%207.45302%2012.1135%207.29622%2011.8456%207.29622H2.33802C2.26113%207.29622%202.19911%207.35747%202.19911%207.43342C2.19911%207.59512%202.06517%207.72498%201.90394%207.72498H1.49218C1.41529%207.72498%201.35328%207.78623%201.35328%207.86218V8.33504C1.35328%208.77849%201.26646%209.2097%201.09283%209.61886L0.842303%2010.2142C0.60914%2010.7655%200.5%2011.3363%200.5%2011.8974V13.2694C0.5%2013.6394%200.55457%2014.0142%200.66371%2014.3793C0.968807%2015.4034%201.66334%2016.2413%202.61831%2016.7362L4.13883%2017.5276C4.15868%2017.5374%204.181%2017.5423%204.20332%2017.5423L5.32697%2017.5521C5.5899%2017.5545%205.84787%2017.6207%206.07855%2017.7481L6.6813%2018.0813C6.70115%2018.0935%206.72595%2018.0984%206.75076%2018.0984H7.5569C7.83968%2018.0984%208.11997%2018.1744%208.36057%2018.3189C8.36057%2018.3189%208.75497%2018.5566%208.88891%2018.6326C9.10223%2018.7551%209.3602%2018.8727%209.80916%2018.8972C9.91086%2018.9021%2010.0126%2018.8653%2010.0895%2018.7943C10.1639%2018.7232%2010.2085%2018.6228%2010.2085%2018.5223V17.9882C10.2085%2017.6011%2010.4392%2017.2483%2010.7989%2017.0939L12.0317%2016.5598C12.2003%2016.4863%2012.3888%2016.4741%2012.5649%2016.528L13.0263%2016.6627C13.2223%2016.7191%2013.4306%2016.7215%2013.6266%2016.6627L14.718%2016.3418C14.8619%2016.3001%2015.0156%2016.3001%2015.162%2016.3442L15.606%2016.4667C15.8119%2016.5231%2015.9582%2016.7142%2015.9582%2016.9249V17.9931C15.9582%2018.4905%2016.3675%2018.8972%2016.871%2018.8972C17.2481%2018.8972%2017.578%2018.6595%2017.6921%2018.3042C17.8979%2017.6648%2018.0021%2016.9984%2018.0021%2016.3271V15.8714C18.0021%2015.548%2018.1385%2015.2368%2018.3767%2015.0138L18.8306%2014.59C19.1357%2014.3033%2019.3118%2013.8966%2019.3118%2013.4801V10.9468C19.3118%2010.5548%2019.4309%2010.175%2019.6591%209.85161C19.6764%209.82956%2019.6839%209.80016%2019.6839%209.77321V9.1754C19.6839%208.78584%2019.8029%208.40854%2020.0262%208.08758L20.4751%207.44322C20.4925%207.42117%2020.4999%207.39422%2020.4999%207.36482V6.96056C20.5024%206.88461%2020.4553%206.85766%2020.4404%206.84786ZM16.0302%2012.8554C16.3352%2012.9019%2016.5634%2013.0563%2016.5634%2013.2425C16.5634%2013.4287%2016.3377%2013.583%2016.0302%2013.6296V12.8554ZM2.98046%2016.6137L2.74978%2016.4937C2.12222%2016.1678%201.62117%2015.6827%201.27886%2015.0922V14.3523C1.67078%2014.9134%202.20407%2015.3912%202.85644%2015.7317L2.98046%2015.7954V16.6137ZM4.14131%2017.2189L3.52616%2016.9004V16.0821L4.13883%2016.4006H4.14131V17.2189ZM6.70115%2017.775L6.21498%2017.5055C5.94957%2017.3585%205.65191%2017.2801%205.34682%2017.2752V16.4226C5.6023%2016.4275%205.85531%2016.4937%206.07855%2016.6162L6.6813%2016.9494C6.68626%2016.9518%206.6937%2016.9518%206.70115%2016.9543V17.775ZM9.92822%2017.9882V18.4047V18.5223C9.92822%2018.5493%209.91582%2018.5762%209.89598%2018.5958C9.87613%2018.6154%209.85133%2018.6228%209.82404%2018.6228C9.43461%2018.6032%209.21137%2018.5027%209.0303%2018.3973C8.89883%2018.3214%208.50692%2018.0862%208.50444%2018.0862C8.25887%2017.9392%207.98106%2017.8583%207.69581%2017.8363V16.9788C7.92897%2017.0008%208.15718%2017.0694%208.36057%2017.1895L8.7004%2017.3904C9.07246%2017.6109%209.49662%2017.7358%209.92822%2017.7603V17.9882ZM13.2868%2016.4275C13.2272%2016.4251%2013.1652%2016.4153%2013.1057%2016.3981L12.6443%2016.2609C12.5451%2016.2315%2012.4434%2016.2217%2012.3417%2016.2217V15.3667C12.4161%2015.3667%2012.4905%2015.374%2012.5649%2015.3961L13.0263%2015.5308C13.1107%2015.5553%2013.1999%2015.5676%2013.2868%2015.5725V16.4275ZM16.1765%2016.6333C16.0872%2016.4275%2015.9111%2016.2634%2015.6854%2016.2021L15.2438%2016.0796C15.1397%2016.0478%2015.0305%2016.0355%2014.9214%2016.0355V15.1829C15.0057%2015.1804%2015.0901%2015.1902%2015.1719%2015.2172L15.5341%2015.3299C15.9185%2015.45%2016.1765%2015.7979%2016.1765%2016.1948V16.6333ZM17.449%2018.1474C17.4415%2018.1719%2017.4366%2018.1964%2017.4291%2018.2209C17.3522%2018.4611%2017.129%2018.6203%2016.876%2018.6203C16.8537%2018.6203%2016.8313%2018.6154%2016.809%2018.613V17.7628C16.8264%2017.7652%2016.8413%2017.7677%2016.8586%2017.7677C17.1067%2017.7677%2017.3324%2017.6305%2017.4515%2017.4222V18.1474H17.449ZM19.8302%207.48242C19.5524%207.87933%2019.4061%208.34484%2019.4061%208.82749V9.2489L19.1903%209.5576C18.91%209.95696%2018.7611%2010.4249%2018.7611%2010.91V13.0342C18.7611%2013.3772%2018.6173%2013.7129%2018.3643%2013.9481L17.9103%2014.3744C17.6052%2014.661%2017.4366%2015.0628%2017.449%2015.4794L17.4515%2015.5749C17.4688%2016.1262%2017.3969%2016.675%2017.2406%2017.2042C17.191%2017.3732%2017.0323%2017.4908%2016.8561%2017.4908C16.6354%2017.4908%2016.4543%2017.3144%2016.4543%2017.0939V16.1948C16.4543%2015.6754%2016.117%2015.2221%2015.6159%2015.0677L15.2538%2014.955C15.0528%2014.8938%2014.842%2014.8913%2014.6386%2014.9501L13.5472%2015.2686C13.4033%2015.3103%2013.2496%2015.3103%2013.1057%2015.2686L12.6443%2015.1339C12.4062%2015.0628%2012.1482%2015.08%2011.92%2015.178L10.9502%2015.5994C10.3301%2015.8689%209.9307%2016.4741%209.9307%2017.1429V17.4884C9.54871%2017.4663%209.17664%2017.3536%208.84674%2017.1576L8.50692%2016.9567C8.21919%2016.7877%207.89177%2016.697%207.5569%2016.697H6.78548L6.21498%2016.381C5.94461%2016.2315%205.63951%2016.1531%205.32945%2016.1507L4.23805%2016.1433L2.98542%2015.4916C1.08539%2014.5042%200.274278%2012.2821%201.10027%2010.322L1.3508%209.72666C1.53683%209.28565%201.63357%208.81769%201.63357%208.33749V8.00428H1.90394C2.17183%208.00428%202.40003%207.82053%202.46204%207.57307H11.8481C12.0044%207.57307%2012.1482%207.66372%2012.2102%207.80583L12.4905%208.42569C12.5798%208.62414%2012.7783%208.75154%2012.999%208.75154C13.2173%208.75154%2013.4182%208.62414%2013.5075%208.42569L13.7878%207.80338C13.8523%207.66127%2013.9937%207.57062%2014.15%207.57062H14.4873C14.6337%207.57062%2014.7676%207.64902%2014.837%207.77643C15.0082%208.09003%2015.3158%208.30074%2015.6655%208.35709V12.2575C15.1025%2012.3188%2014.6709%2012.6496%2014.6709%2013.0514C14.6709%2013.4973%2015.1967%2013.8574%2015.8466%2013.8574C16.4965%2013.8574%2017.0223%2013.4973%2017.0223%2013.0514C17.0223%2012.6496%2016.5907%2012.3163%2016.0277%2012.2575V8.35464C16.3774%208.29828%2016.685%208.08758%2016.8561%207.77398C16.9256%207.64657%2017.0595%207.56817%2017.2059%207.56817H17.7069C17.9376%207.56817%2018.1485%207.45302%2018.275%207.26192L19.0191%206.12755C19.1158%205.9781%2019.282%205.8899%2019.4631%205.8899H19.6938C19.8575%205.8899%2019.9914%206.0222%2019.9914%206.1839V6.53426C19.9914%206.70331%2020.0584%206.86501%2020.175%206.98506L19.8302%207.48242ZM15.663%2012.8554V13.6296C15.3579%2013.583%2015.1322%2013.4287%2015.1322%2013.2425C15.1322%2013.0563%2015.3579%2012.8995%2015.663%2012.8554Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M43.6355%2014.2212L45.783%206.63627C46.0175%205.80901%2046.629%205.14498%2047.4288%204.848L47.4874%204.60107H44.5028L39.434%2010.6989L37.4942%204.60107H34.7636L34.6978%204.848C35.1653%205.08213%2035.423%205.78176%2035.423%206.35097V6.38628C35.423%209.63469%2033.0443%2015.2183%2029.6984%2015.2183C28.3982%2015.2183%2027.7242%2014.2901%2027.7242%2013.5165C27.7242%2012.5794%2028.5003%2011.9129%2029.3191%2011.9129C30.112%2011.9129%2030.2342%2012.211%2030.6909%2012.211C30.9696%2012.211%2031.2366%2012.0667%2031.3701%2011.8195C31.5797%2011.4313%2031.4208%2010.9572%2031.0376%2010.7714L30.8283%2010.6705C28.8775%209.72228%2026.6152%2011.1582%2026.6152%2013.3453V13.3756C26.6152%2014.9675%2027.8525%2016.2989%2029.4275%2016.3545C33.4867%2016.4983%2036.2019%2010.9661%2036.6338%206.91684L36.9458%208.01243L38.5448%2012.8545H39.1504L44.1452%206.83425L42.0498%2014.229C41.8094%2015.0773%2041.1437%2015.7344%2040.2985%2015.958L40.2399%2016.2049H44.2561L44.3216%2015.958C43.7283%2015.6043%2043.4461%2014.8902%2043.6355%2014.2212Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.9847%2012.6335H50.0625C50.2808%2012.034%2050.4898%2011.4617%2050.5603%2011.2743C51.0465%209.97682%2051.971%209.45183%2052.8665%209.37842L52.8572%209.3862L51.9847%2012.6335ZM53.7159%208.72607H53.6817C51.8071%208.7283%2049.7916%208.91155%2048.719%2011.9903C47.8179%2014.5767%2047.5745%2015.6481%2046.8705%2015.6481C46.4204%2015.6481%2046.5297%2014.763%2045.8549%2014.763C45.5509%2014.763%2045.2332%2015.0093%2045.2104%2015.3661C45.1705%2015.9826%2045.9909%2016.3555%2046.6092%2016.3555C48.4929%2016.3555%2049.2148%2014.9671%2049.4505%2014.3203C49.481%2014.2358%2049.6473%2013.778%2049.8436%2013.2386H51.8231L51.4878%2014.4866C51.3107%2015.145%2050.9465%2015.6839%2050.3304%2015.9595L50.2772%2016.2062H53.5154L53.5755%2015.9595C53.1372%2015.5941%2052.9469%2015.0082%2053.089%2014.4627L54.3075%209.78302C54.4011%209.42403%2054.6472%209.12789%2054.9809%208.973L55.0338%208.72607H53.9785H53.7159Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M70.056%209.26026C70.1601%209.08619%2070.2595%208.82035%2070.2595%208.67186L70.2597%208.67103C70.2741%208.39018%2070.0208%208.17273%2069.7488%208.23196H69.7482C69.5304%208.27951%2069.373%208.47499%2069.3771%208.70023C69.3807%208.93436%2069.3341%209.18574%2069.2353%209.30836C69.0082%209.59116%2068.645%209.56697%2066.9717%209.08174V9.07896C66.8186%209.03363%2066.6504%208.98414%2066.4731%208.93492C66.4637%208.93241%2066.4549%208.92963%2066.4453%208.92657L66.4456%208.92741C65.6106%208.698%2064.5732%208.4875%2063.8929%208.82869C63.8874%208.83148%2063.8816%208.83453%2063.8764%208.83704C63.2118%209.17406%2062.7479%209.81223%2062.6086%2010.5502C62.5879%2010.6587%2062.5728%2010.7468%2062.5711%2010.7788V10.7799C62.5513%2011.1675%2062.9009%2011.4679%2063.2767%2011.3864L63.2773%2011.3858C63.5821%2011.3196%2063.7965%2011.0441%2063.7902%2010.7296C63.7836%2010.4117%2063.7205%209.98741%2063.8918%209.70267C64.1674%209.31059%2064.4537%209.28278%2065.7361%209.71462L64.3436%2014.4877C64.1514%2015.1456%2063.6812%2015.6848%2063.059%2015.9601L63.0001%2016.2073H66.3319L66.3977%2015.9601C65.9679%2015.595%2065.7906%2015.0088%2065.9453%2014.4635L67.1628%2010.1637C67.6969%2010.276%2068.2381%2010.305%2068.7651%2010.1531L68.9548%2010.0986C69.3787%209.97629%2069.8129%209.6668%2070.056%209.26026Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M71.3889%208.72607L71.3234%208.97328C71.736%209.26108%2071.9219%209.78079%2071.7886%2010.2671L70.5506%2014.4816C70.3584%2015.14%2069.8882%2015.6789%2069.2659%2015.9542L69.207%2016.2011H70.9696H71.1306H75.1868L75.7226%2014.2252H75.4709L75.3806%2014.4145C75.0447%2015.1206%2074.3372%2015.5699%2073.5614%2015.5699H71.8415L72.7572%2012.2623L73.4878%2012.2615C73.9807%2012.2612%2074.3512%2012.7153%2074.2568%2013.2036H74.5084L75.1094%2010.9679H74.8578C74.7122%2011.3814%2074.3253%2011.6578%2073.8904%2011.658L72.9243%2011.6592L73.5597%209.36341L75.3825%209.36202C75.9775%209.36146%2076.4229%209.9126%2076.304%2010.5015H76.5556L77.033%208.72607H71.3889Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M82.8655%2010.5324C82.6668%2011.2028%2082.0564%2011.6627%2081.3632%2011.6627L80.3076%2011.6636L80.9466%209.36726L82.0055%209.3667C82.6067%209.36642%2083.0379%209.9512%2082.8655%2010.5324ZM82.7978%208.72998H78.7711L78.7053%208.97691C79.0919%209.24636%2079.2791%209.71935%2079.1921%2010.1779L77.9311%2014.4846C77.739%2015.1431%2077.269%2015.682%2076.6465%2015.9573L76.5879%2016.2048H79.9164L79.9822%2015.9573C79.5524%2015.5922%2079.3754%2015.006%2079.5296%2014.4607L80.14%2012.2662H80.3944C80.7787%2012.2665%2081.1014%2012.5584%2081.1438%2012.9444C81.1578%2013.069%2081.3505%2014.5947%2081.5044%2015.1195C81.7059%2015.8052%2081.9705%2016.205%2082.5729%2016.205H84.0788L84.1375%2015.9578L83.9219%2015.8288C83.4966%2015.5738%2083.1885%2015.1773%2083.0508%2014.6531C82.9203%2014.1585%2082.677%2013.2372%2082.5578%2012.7495C82.4961%2012.4981%2082.1866%2012.2654%2081.8667%2012.2654L82.3741%2012.2651C83.284%2012.2645%2084.0827%2011.6525%2084.328%2010.7671C84.611%209.74382%2083.8495%208.72998%2082.7978%208.72998Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.6842%209.10931C60.576%209.10931%2060.3431%209.03478%2059.9858%208.88463C59.6281%208.73447%2059.2669%208.65967%2058.9027%208.65967C58.1467%208.65967%2057.5157%208.90687%2056.9997%209.4352C56.5703%209.87483%2056.3795%2010.3628%2056.3795%2010.7852C56.3795%2011.2349%2056.6399%2011.7635%2057.1616%2012.1909C57.6542%2012.5949%2058.1668%2012.982%2058.68%2013.3771C59.2196%2013.8134%2059.4897%2014.2158%2059.4897%2014.5431C59.4897%2015.2616%2059.0269%2015.6481%2058.0688%2015.6481C57.0953%2015.6481%2056.4221%2014.9276%2056.2063%2013.5782H55.9431L55.1777%2016.2045H55.4203C55.7366%2015.9807%2055.9615%2015.8366%2056.4202%2015.8366C56.858%2015.8366%2057.3257%2016.3558%2058.3229%2016.3558C59.1191%2016.3558%2059.7493%2016.189%2060.2892%2015.6434C60.7481%2015.1668%2060.9775%2014.4994%2060.9775%2013.9538C60.9775%2013.4494%2060.6644%2012.8613%2060.1174%2012.4375C59.648%2012.0741%2059.1453%2011.7496%2058.6596%2011.3948C58.1332%2010.9993%2057.87%2010.6637%2057.87%2010.2956C57.87%2010.0906%2057.9713%209.88651%2058.174%209.68213C58.43%209.42325%2058.773%209.36596%2059.232%209.36596C60.1529%209.36596%2060.7974%209.88429%2060.8516%2010.9746H61.0945L61.7368%208.65967H61.4939C61.2373%208.95971%2060.9675%209.10931%2060.6842%209.10931Z'%20fill='%23006747'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M89.1717%209.36569C90.0926%209.36569%2090.7374%209.88401%2090.7914%2010.9743H91.0345L91.6765%208.65967H91.4334C91.1771%208.95915%2090.9075%209.10903%2090.6237%209.10903C90.5158%209.10903%2090.2829%209.03423%2089.9252%208.88435C89.5676%208.73447%2089.2067%208.65967%2088.8422%208.65967C88.0864%208.65967%2087.4554%208.90687%2086.9395%209.43493C86.51%209.87455%2086.3192%2010.3628%2086.3192%2010.785C86.3192%2011.2351%2086.5796%2011.7629%2087.1014%2012.1909C87.5939%2012.5949%2088.1065%2012.9817%2088.6197%2013.3768C89.159%2013.8134%2089.4294%2014.2158%2089.4294%2014.5428C89.4294%2015.2613%2088.9666%2015.6478%2088.0085%2015.6478C87.035%2015.6478%2086.3619%2014.9274%2086.1458%2013.5782H85.8826L85.1172%2016.2045H85.3603C85.6763%2015.9807%2085.9013%2015.8366%2086.3597%2015.8366C86.7977%2015.8366%2087.2652%2016.3558%2088.2626%2016.3558C89.0588%2016.3558%2089.689%2016.1884%2090.2289%2015.6434C90.6878%2015.1662%2090.9172%2014.4991%2090.9172%2013.9538C90.9172%2013.4494%2090.6041%2012.8613%2090.0574%2012.4375C89.5877%2012.0738%2089.0853%2011.7493%2088.5996%2011.3945C88.0729%2010.9993%2087.8097%2010.6632%2087.8097%2010.295C87.8097%2010.0909%2087.911%209.88623%2088.1134%209.68185C88.3697%209.42297%2088.7128%209.36569%2089.1717%209.36569Z'%20fill='%23006747'/%3e%3c/svg%3e",w=[{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_1.png",tagline:"Featured groups+ experience",headline:n.jsxs(n.Fragment,{children:["Welcome to ",n.jsx("br",{})," Featured Groups +"]})},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_2.png",headline:"Get real-time insights"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_3.png",headline:"Predictions, trivia & polls synced to match play"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_4.png",headline:"Win points for every answer you get right"},{graphicSrc:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/step_5.png",headline:"Compete against friends on the leaderboard"}],V2=i.styled_default("div")({name:"OnboardingContainer",class:"on59ra",propsAsIs:!1}),H2=()=>L.f,$2=i.styled_default(H2())({name:"OnboardingNotificationContainer",class:"op1wk5d",propsAsIs:!0}),B=i.styled_default("div")({name:"InnerContainer",class:"i1i1g2vj",propsAsIs:!1}),P2=({deepLink:t,onboardingOpts:e,notification:s,gamification:o,loading:r,sdk:l})=>{var a,u,c,C,f,p,m;const v=i.useStore(o.friends?o.friends.getStore():g.createSingleStore({data:[]})),[x,b]=d.useState(void 0),E=d.useMemo(()=>{var S,y;const j=l.getInviter();return j?(y=(S=v.data)==null?void 0:S.find(({slId:K})=>K===j))==null?void 0:y.name:""},[v.data,l]);return d.useEffect(()=>{const S=t.$store.subscribe(y=>{y&&b(y.data)});return()=>{S()}},[t.$store]),n.jsx(V2,{children:n.jsx(g.tn,{loading:r,rules:[{label:"Answer as many questions as you like.",icon:"icon-btn-feature-groups"},{label:"Win points for each correct trivia or prediction answer.",icon:"icon-thumb-up"},{label:"Top the leader board and best your friends.",icon:"icon-trophy"}],rulesBtnLabel:(a=e.rules)==null?void 0:a.buttonLabel,rulesTitle:(u=e.rules)==null?void 0:u.heading,termsTitle:"Terms and Conditions",termsText:(c=e.rules)==null?void 0:c.terms,steps:w,primaryColor:(C=e.inviteCard)==null?void 0:C.iconColor,inviteLink:x,inviteCardTitle:(f=e.inviteCard)==null?void 0:f.heading,inviteCardSubtext:(p=e.inviteCard)==null?void 0:p.subtext,inviteCardBtnLabel:(m=e.inviteCard)==null?void 0:m.buttonLabel,onClose:()=>{var S;(S=s.close)==null||S.call(s)},gamification:o,sdk:l,inviterName:E})})},U2=({sdk:t,notification:e,saveHeight:s,style:o,appNode:r,responsiveStore:l})=>{var a;const u=d.useRef(null),c=e.data.onboarding,[C,f]=d.useState(c==null?void 0:c.instantOpen),p=t.getFeature(T.SdkOverlayType.GAMES),m=d.useMemo(()=>w==null?void 0:w.map(({graphicSrc:E})=>E),[]),{screen:v}=i.useStore(l,{keys:["screen"]});(a=c==null?void 0:c.titleCard)!=null&&a.media&&(c.titleCard.media.sponsorLogo=B2),d.useLayoutEffect(()=>{var E;s(((E=u.current)==null?void 0:E.getBoundingClientRect().height)||0)},[s]);const{loading:x,throttled:b}=g.I(m);return C&&p&&c&&r.current&&!b?n.jsx(g.T,{container:r,useContainer:!1,children:n.jsx(P2,{notification:e,setOpened:f,gamification:p,onboardingOpts:c,deepLink:p.deepLink,loading:x,sdk:t})}):n.jsxs(n.Fragment,{children:[n.jsx(B,{ref:u,style:{position:"absolute",visibility:"hidden"},children:n.jsx(O,{close:()=>{},action:()=>{},onboarding:c})}),n.jsx($2,{style:o,hiding:e.hiding,children:n.jsx(B,{children:n.jsx(O,{close:e.close,action:()=>{var E;f(!0),(((E=r.current)==null?void 0:E.getBoundingClientRect().y)||0)<0&&q(r,v.size,{behavior:"smooth"})},onboarding:c})})})]})},G2=()=>L.f,q2=i.styled_default(G2())({name:"Container",class:"c1f0y7nw",propsAsIs:!0}),z=i.styled_default("div")({name:"InnerContainer",class:"i1qa3p7a",propsAsIs:!1}),M2=()=>z,z2=i.styled_default(M2())({name:"HiddenContainer",class:"hrthymv",propsAsIs:!0}),K2=i.styled_default("div")({name:"NotificationRefreshing",class:"n13rok4i",propsAsIs:!1}),Q2=()=>g.f,Z2=i.styled_default(Q2())({name:"Pill",class:"pht79xf",propsAsIs:!0}),W2=t=>{const[e,s]=d.useState(0),o=d.useRef(null),r=d.useCallback(a=>{o.current=a},[]);d.useEffect(()=>{var a;const u=(a=o.current)==null?void 0:a.getBoundingClientRect();u&&s(u.height)},[t]);const l=d.useCallback(a=>{s(a)},[]);return[r,e,l]},Y2=({sdk:t,notification:e,appNode:s,responsiveStore:o})=>{var r,l;const{sdk:a}=F(),[u,c,C]=W2(e.id);return e.type===i.NotificationType.QUESTION?n.jsxs(n.Fragment,{children:[n.jsx(z2,{ref:u,children:n.jsx(g.w,{...e})}),n.jsxs(q2,{style:{height:e.hiding?0:c},hiding:e.hiding,children:[n.jsx(z,{style:{height:"100%"},children:n.jsx(g.w,{...e,controlVideo:a==null?void 0:a.controlVideoPlayer})}),n.jsx(K2,{},e.id)]})]}):e.type===i.NotificationType.QUESTION_RESOLVED&&(l=(r=e.data)==null?void 0:r.question)!=null&&l.predictionResult?n.jsx(g.D,{style:{height:e.hiding?0:c},saveHeight:C,close:e.close,hiding:e.hiding,...e.data.question,mastersApp:!0}):e.type===i.NotificationType.ONBOARDING?n.jsx(U2,{style:{height:e.hiding?0:c},saveHeight:C,sdk:t,notification:e,appNode:s,responsiveStore:o}):null},X2="p1co32q0",J2=({pill:t,setPill:e,appNode:s,headerNode:o,scrollNode:r,responsiveStore:l,scrollStore:a,useContainer:u})=>{var c,C;const{screen:f}=i.useStore(l,{keys:["screen"]}),{tabsShown:p,scrollPosition:m}=i.useStore(a,{keys:["tabsShown","scrollPosition"]});d.useEffect(()=>{l.get().sdkInDesktopView||u?m<50&&e(null):m>-50&&e(null)},[m,l,e,u]);const v=l.get().sdkInDesktopView?s:o;return!t||!v.current?null:Z.createPortal(n.jsx(Z2,{title:t.type===i.NotificationType.QUESTION_RESOLVED?"Prediction result":`New ${((C=W.e[(c=t.data)==null?void 0:c.questionType])==null?void 0:C.label)||"notification"}`,onClick:()=>{var x;l.get().sdkInDesktopView?(x=r.current)==null||x.scrollTo({top:0,behavior:"smooth"}):q(r,f.size,{behavior:"smooth"}),e(null)},className:i.cx_default(p&&X2,"sl-pill-button")}),v.current)},e0=({sdk:t,headerNode:e,scrollNode:s,useContainer:o,responsiveStore:r,appNode:l,scrollStore:a})=>{const[u]=d.useState(t.getNotificationsStore()),c=i.useStore(u),[C,f]=d.useState(null),p=d.useMemo(()=>t.getActiveNotification(),[t,c]);return d.useEffect(()=>{p&&P.eventBus.emit("notification",{action:"rendered",payload:{questionId:p.data.questionId,questionType:p.data.questionType}})},[p]),d.useEffect(()=>{p&&(r.get().sdkInDesktopView||r.get().sdkInView)&&(!r.get().sdkInDesktopView&&r.get().sdkInView&&f(p),r.get().sdkInDesktopView&&window.requestAnimationFrame(()=>{a.get().scrollPosition!==0&&f(p)}))},[p]),d.useEffect(()=>{p||f(null)},[p]),n.jsxs(n.Fragment,{children:[!C&&p&&n.jsx(Y2,{headerNode:e,appNode:l,sdk:t,notification:p,responsiveStore:r}),C&&n.jsx(J2,{pill:C,setPill:f,appNode:l,notification:p,headerNode:e,scrollNode:s,scrollStore:a,useContainer:o,responsiveStore:r})]})},V=Object.keys(i.A),k=()=>{const t=window.innerWidth;let e="sm";for(let s=V.length-1;s>0;s--){const o=V[s];if(!(t<i.A[o])&&t>=i.A[o]){e=o;break}}return{name:e,size:i.A[e]}},H=t=>{var e;const s=(e=t.current)==null?void 0:e.getBoundingClientRect();return s?s.y>-s.height&&s.y<window.innerHeight:!1},$=t=>t>=i.A.lg,t0=t=>{const[e]=d.useState(()=>{const s=k();return _.f({screen:k(),sdkInView:H(t),sdkInDesktopView:$(s.size)})});return d.useEffect(()=>{const s=D(()=>{e.setKey("sdkInView",H(t))},200),o=D(()=>{const r=k();e.setKey("screen",r),e.setKey("sdkInDesktopView",$(r.size))},200);return s(),o(),window.addEventListener("scroll",s),window.addEventListener("resize",o),()=>{window.removeEventListener("scroll",s),window.removeEventListener("resize",o)}},[e,t]),[e]},s0={...i.R,BG_TRANSPARENT:"rgba(0,0,0, .8)",BLUE_QUESTION_ACTION_BTN:"#1589ee",WHITE:"#FFFFFF",BLUE:"#2d6ffd",GREY_PRIMARY_ONBOARDING_INAPP:"#B5B7B8",GREY_PRIMARY:"#909395",PRIMARY_1:"#107D57",PRIMARY_2:"#006747",PRIMARY_TEXT:"#25282A",QUESTION_TYPE_ICON:"#107D57",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",SDK_CONTAINER_BG:"#F7F7F7",SDK_WHITE_CONTAINER_BG:"#fff",SDK_DARK_CONTAINER_BG:"#fff",SDK_PREDICTION_RESULT_SUCCESS_BG:"#fff",SDK_PREDICTION_RESULT_INCORRECT_BG:"#fff",SDK_PREDICTION_RESULT_SUCCESS_TEXT:"#107D57",SDK_PREDICTION_RESULT_ERROR_TITLE:"#090E13",SDK_PREDICTION_RESULT_ERROR_SUBTITLE:"#DF2F3B",SDK_PREDICTION_RESULT_CLOSE_ICON:"#6B6F73",SDK_PREDICTION_FEEDBACK_SUCCESS_ICON:"#107D57",SDK_PREDICTION_FEEDBACK_INCORRECT_RECT1:"#CD2525",SDK_PREDICTION_FEEDBACK_INCORRECT_RECT2:"#fff",PREDICTION_BG_LINES_CORRECT:"#01AB58",PREDICTION_BG_LINES_INCORRECT:"#888B8D",SKELETON_COLOR_1:"#f1efef",SKELETON_COLOR_2:"#f9f8f8",TABS_CONTAINER_BG:"#F2F2F1",TABS_ACTIVE_BG:"#FFFFFF",TABS_COLOR:"#6B6F73",TABS_ACTIVE_COLOR:"#107D57",CARD_BG:"#FFFFFF",CARD_BORDER:"#fff",BORDER:"#E8E8E8",VOTE_BTN_BG:"#F7F7F7",VOTE_BTN_BORDER:"rgb(232, 232, 232)",VOTE_BTN_DISABLED_BORDER:"#B1B3B3",VOTE_BTN_SELECTED_BORDER:"#25282A",VOTE_BTN_NOT_SELECTED_BORDER:"#E8E8E8",VOTE_BTN_SELECTED_BG:"#FFFFFF",VOTE_BTN_NOT_SELECTED_BG:"#FFFFFF",VOTE_BTN_NOT_SELECTED_BG_UNSET:"rgb(196, 196, 196)",VOTED_ANSWER_BG:"rgba(16, 125, 87, 0.10)",VOTED_BTN_RCT_BG:"rgba(16, 125, 87, 0.30)",IN_APP_BG:"rgba(255, 255, 255, 0.90)",IN_APP_QUESTION_TYPE_ICON:"#1D7BFF",IN_APP_QUESTION_TYPE_LABEL:"#82899E",IN_APP_QUESTION_QUOTE:"rgba(10, 14, 19, 0.70)",IN_APP_QUESTION_RESULT_SUBTITLE_BG:"#1D7BFF",IN_APP_QUESTION_RESULT_LINE:"#babfc5",QUOTE_TEXT:"#006944"},h={...i.D,REGULAR:"'Benton Sans', BentonSans, Arial, Helvetica, sans-serif",REGULAR1:i.D.REGULAR,SERIF:"'Tiempos', 'Tiempos Text', Times New Roman, serif",SERIF1:"'Tiempos', 'Tiempos Headline', Times New Roman, serif",COLOR:"#fff",WEIGHT_DEFAULT:"500"},n0=Object.entries(s0).reduce((t,[e,s])=>`
|
|
6
6
|
${t}
|
|
7
7
|
--color-${e.toLowerCase().replaceAll("_","-")}: ${s};
|
|
8
|
-
`,"");`${
|
|
8
|
+
`,"");`${n0}${h.REGULAR}${h.REGULAR}${h.REGULAR1}${h.COLOR}${h.SERIF}${h.SERIF1}${h.WEIGHT_DEFAULT}${h.WEIGHT_DEFAULT1}${h.WEIGHT_DEFAULT2}${h.WEIGHT_DEFAULT3}${i.D.SIZE_DEFAULT}${i.D.SIZE_DEFAULT1}${i.D.SIZE_DEFAULT2}${i.D.LINE_HEIGHT}${N.c.down("xl")`
|
|
9
9
|
--header-offset: 0px;
|
|
10
10
|
--watch-live-header: 0px;
|
|
11
|
-
`}${
|
|
11
|
+
`}${N.c.intermediate("xl","lg")`
|
|
12
12
|
--header-offset: 0px;
|
|
13
|
-
`}`;const
|
|
13
|
+
`}`;const i0="m1ojpy2l",o0=({children:t,style:e})=>n.jsx("div",{className:"StreamLayerSDKTheme",children:n.jsx("div",{className:i.cx_default("masters-theme",i0),style:e,children:t})}),r0=({sdkKey:t,plugins:e,children:s,event:o,onDeepLinkHandled:r,videoPlayerController:l,production:a=!0})=>n.jsxs(R.q,{sdkKey:t,plugins:e,production:a,autoEnable:!0,onDeepLinkHandled:r,videoPlayerController:l,friendsTab:"disabled",skipOnboarding:!0,hideFriends:!0,children:[n.jsx(R.j,{event:o}),s]}),a0=({sdk:t,className:e})=>{const[,s]=g.p(t);return n.jsx(x2,{className:e,feature:s,sdk:t})},l0=({sdk:t,className:e,appNode:s,responsiveStore:o,useContainer:r})=>{const l=i.useStore(t.featuresList.getStore());return l?Array.from(l,a=>{const u=t.getFeature(a);return u?n.jsx(S2,{useContainer:r,responsiveStore:o,className:e,appNode:s,feature:u,sdk:t},a):null}):null},d0=t=>{const e=d.useRef(null);return _.b(e,{enabled:!0,event:"click",listener:_.A}),n.jsx(Q.nr,{ref:e,...t})},c0=({sdk:t,useContainer:e})=>{const s=d.useRef(null),o=i.useStore(t.status),r=i.useStore(t.sdkStore.slStreamId),l=d.useRef(null),[a]=t0(s),[u,c]=o2(s,a,e),C=o==="ready"&&!!r.data;return d.useEffect(()=>{window.requestAnimationFrame(()=>{t.initializeApp().then(()=>{t.openFeature(T.SdkOverlayType.GAMES)})})},[t]),_.b(s,{enabled:!0,event:"click",listener:_.A}),d.useEffect(()=>{Promise.resolve().then(()=>require("./gamification-feature2.js"))},[]),n.jsxs(Y,{className:i.cx_default("SDKContainer",!e&&X),ref:s,children:[n.jsx(N2,{className:i.cx_default(N.m),ref:l}),n.jsxs(J,{className:"sl-hide-on-modal",ref:u,children:[C&&n.jsx(e0,{sdk:t,scrollNode:u,headerNode:l,appNode:s,scrollStore:c,responsiveStore:a,useContainer:e}),C&&n.jsx(a0,{className:N.m,sdk:t}),C&&n.jsx(l0,{responsiveStore:a,appNode:s,className:N.m,sdk:t,useContainer:e})]})]})},u0=({sdk:t,betPack:e,useContainer:s})=>{const[o,r]=d.useState(e),l=!!i.useStore(t.userId()),a=d.useMemo(()=>({sdk:t}),[t]),u=d.useCallback(()=>{r(!1);const c=t==null?void 0:t.getFeature(T.SdkOverlayType.GAMES);c==null||c.closeQuestion()},[t]);return n.jsxs(M.Provider,{value:a,children:[o&&l&&n.jsx(d0,{sdk:t,onEvent:({type:c})=>c==="slOpenGameCenter"?u():()=>{},close:()=>u()}),!o&&n.jsx(c0,{sdk:t,useContainer:s})]})},p0=({betPack:t,useContainer:e})=>{const{sdk:s,status:o}=d.useContext(R.c);return o===R.Y.UNSET?(console.error("Wrap app in `StreamLayerProvider`"),null):s?n.jsx("div",{className:"StreamLayerSDK",children:n.jsx(o0,{style:{height:"100%"},children:n.jsx(u0,{sdk:s,betPack:t,useContainer:e})})}):null};class C0 extends d.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,s){console.error(e,s.componentStack)}render(){return this.state.hasError?null:n.jsx(p0,{...this.props})}}exports.C=g2;exports.MastersStreamLayerSDKReact=C0;exports.S=r0;
|