@streamlayer/react 1.23.2 → 1.24.1
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/app/masters.d.ts +0 -1
- package/lib/cjs/Question.js +1 -1
- package/lib/cjs/advertisement.js +203 -28
- package/lib/cjs/analytics.js +1 -1
- package/lib/cjs/auth.js +1 -1
- package/lib/cjs/bet-pack.js +1 -1
- package/lib/cjs/feature.js +1 -1
- package/lib/cjs/gamification-feature.js +1 -1
- package/lib/cjs/gamification-feature2.js +1 -1
- package/lib/cjs/hooks-n9ax4LRT.js +1 -0
- package/lib/cjs/index-ByUNFvMk.js +5 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/index10.js +1 -1
- package/lib/cjs/index11.js +1 -3
- package/lib/cjs/index12.js +1 -1
- package/lib/cjs/index13.js +1 -3
- package/lib/cjs/index14.js +4 -1
- package/lib/cjs/index15.js +1 -1
- package/lib/cjs/index16.js +5 -3
- package/lib/cjs/index2.js +1 -1
- package/lib/cjs/index3.js +1 -1
- package/lib/cjs/index4.js +5 -3
- package/lib/cjs/index5.js +1 -1
- package/lib/cjs/index6.js +1 -1
- package/lib/cjs/index7.js +1 -1
- package/lib/cjs/index8.js +1 -1
- package/lib/cjs/index9.js +7 -1
- package/lib/cjs/insight.js +1 -1
- package/lib/cjs/masters.js +1 -1
- package/lib/cjs/masters2.js +8 -1
- 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/polymarket.js +14 -9
- package/lib/cjs/sl-types.js +1 -1
- package/lib/cjs/storage.js +1 -1
- package/lib/cjs/theme.js +1 -1
- package/lib/cjs/useStreamLayerApp.js +1 -1
- package/lib/cjs/useStreamLayerApp2.js +17 -3
- package/lib/cjs/utils.js +47 -1
- package/lib/classic/app/masters.d.ts +0 -1
- package/lib/classic/cjs/Question.js +1 -1
- package/lib/classic/cjs/advertisement.js +203 -28
- package/lib/classic/cjs/analytics.js +1 -1
- package/lib/classic/cjs/auth.js +1 -1
- package/lib/classic/cjs/bet-pack.js +5 -3
- package/lib/classic/cjs/feature.js +1 -1
- package/lib/classic/cjs/gamification-feature.js +1 -1
- package/lib/classic/cjs/hooks-n9ax4LRT.js +1 -0
- package/lib/classic/cjs/index-ByUNFvMk.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 +1 -1
- package/lib/classic/cjs/index13.js +4 -3
- package/lib/classic/cjs/index2.js +5 -3
- 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 -1
- package/lib/classic/cjs/index7.js +7 -1
- package/lib/classic/cjs/index8.js +1 -1
- package/lib/classic/cjs/index9.js +1 -3
- 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/polymarket.js +14 -9
- package/lib/classic/cjs/sl-types.js +1 -1
- package/lib/classic/cjs/useStreamLayerApp.js +1 -1
- package/lib/classic/cjs/useStreamLayerApp2.js +17 -3
- package/lib/classic/cjs/utils.js +47 -1
- package/lib/classic/es/Question.js +258 -275
- package/lib/classic/es/advertisement.js +22128 -38694
- package/lib/classic/es/analytics.js +55 -57
- package/lib/classic/es/auth.js +8 -14
- package/lib/classic/es/bet-pack.js +2413 -2455
- package/lib/classic/es/feature.js +46 -95
- package/lib/classic/es/gamification-feature.js +2 -2
- package/lib/classic/es/hooks-n9ax4LRT.js +97 -0
- package/lib/classic/es/index-ByUNFvMk.js +3775 -0
- package/lib/classic/es/index.js +13 -16
- package/lib/classic/es/index10.js +2587 -83
- package/lib/classic/es/index11.js +305 -3087
- package/lib/classic/es/index12.js +121 -124
- package/lib/classic/es/index13.js +559 -589
- package/lib/classic/es/index2.js +1755 -2114
- package/lib/classic/es/index3.js +13 -13
- package/lib/classic/es/index4.js +4 -283
- package/lib/classic/es/index5.js +5 -5
- package/lib/classic/es/index6.js +285 -10
- package/lib/classic/es/index7.js +179 -6
- package/lib/classic/es/index8.js +5 -10
- package/lib/classic/es/index9.js +8 -318
- package/lib/classic/es/insight.js +54 -61
- package/lib/classic/es/notification.js +5 -5
- package/lib/classic/es/notification2.js +730 -787
- package/lib/classic/es/pause-ad.js +168 -191
- package/lib/classic/es/points.js +47 -55
- package/lib/classic/es/polymarket.js +4058 -4289
- package/lib/classic/es/sl-types.js +128 -298
- package/lib/classic/es/useStreamLayerApp.js +2 -2
- package/lib/classic/es/useStreamLayerApp2.js +9090 -11121
- package/lib/classic/es/utils.js +28 -28
- package/lib/classic/index.d.ts +0 -1
- package/lib/classic/source.css +110 -0
- package/lib/dist/cjs/gamification-feature.js +1 -1
- package/lib/dist/cjs/index-ByUNFvMk.js +5 -0
- package/lib/dist/cjs/index.js +1 -1
- package/lib/dist/cjs/masters.js +69 -3
- package/lib/dist/es/gamification-feature.js +2 -2
- package/lib/dist/es/index-ByUNFvMk.js +3775 -0
- package/lib/dist/es/index.js +7 -10
- package/lib/dist/es/masters.js +16944 -19645
- package/lib/dist/index.d.ts +7 -17
- package/lib/dist/source.css +64 -0
- package/lib/es/Question.js +101 -105
- package/lib/es/advertisement.js +22128 -38694
- package/lib/es/analytics.js +55 -57
- package/lib/es/auth.js +8 -14
- package/lib/es/bet-pack.js +18 -29
- package/lib/es/feature.js +46 -95
- package/lib/es/gamification-feature.js +2 -2
- package/lib/es/gamification-feature2.js +2 -2
- package/lib/es/hooks-n9ax4LRT.js +97 -0
- package/lib/es/index-ByUNFvMk.js +3775 -0
- package/lib/es/index.js +13 -17
- package/lib/es/index10.js +8 -274
- package/lib/es/index11.js +172 -837
- package/lib/es/index12.js +2587 -183
- package/lib/es/index13.js +258 -314
- package/lib/es/index14.js +813 -81
- package/lib/es/index15.js +305 -3087
- package/lib/es/index16.js +803 -1005
- package/lib/es/index2.js +980 -1133
- package/lib/es/index3.js +4 -3
- package/lib/es/index4.js +2401 -2431
- package/lib/es/index5.js +13 -13
- package/lib/es/index6.js +5 -285
- package/lib/es/index7.js +7 -10
- package/lib/es/index8.js +283 -5
- package/lib/es/index9.js +180 -10
- package/lib/es/insight.js +54 -61
- package/lib/es/masters.js +5 -7
- package/lib/es/masters2.js +538 -708
- package/lib/es/notification.js +663 -719
- package/lib/es/pause-ad.js +168 -191
- package/lib/es/points.js +48 -56
- package/lib/es/polymarket.js +4058 -4289
- package/lib/es/sl-types.js +128 -317
- package/lib/es/storage.js +74 -75
- package/lib/es/theme.js +3 -190
- package/lib/es/useStreamLayerApp.js +2 -2
- package/lib/es/useStreamLayerApp2.js +9090 -11121
- package/lib/es/utils.js +28 -28
- package/lib/index.d.ts +0 -1
- package/lib/source.css +120 -0
- package/lib/style.css +1 -1
- package/package.json +23 -26
- package/lib/cjs/hooks-WfHlJH12.js +0 -1
- package/lib/cjs/index-eShKGO10.js +0 -1
- package/lib/cjs/style.css +0 -1
- package/lib/classic/cjs/hooks-WfHlJH12.js +0 -1
- package/lib/classic/cjs/index-eShKGO10.js +0 -1
- package/lib/classic/cjs/style.css +0 -1
- package/lib/classic/es/hooks-WfHlJH12.js +0 -98
- package/lib/classic/es/index-eShKGO10.js +0 -3757
- package/lib/classic/style.css +0 -1
- package/lib/dist/cjs/index-eShKGO10.js +0 -1
- package/lib/dist/es/index-eShKGO10.js +0 -3757
- package/lib/dist/style.css +0 -1
- package/lib/es/hooks-WfHlJH12.js +0 -98
- package/lib/es/index-eShKGO10.js +0 -3757
package/lib/cjs/analytics.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const v=require("react"),s=require("./index3.js"),d=require("./index9.js");let u=[],a=0;const o=4,c=i=>{let e=[],t={get(){return t.lc||t.listen(()=>{})(),t.value},lc:0,listen(n){return t.lc=e.push(n),()=>{for(let r=a+o;r<u.length;)u[r]===n?u.splice(r,o):r+=o;let l=e.indexOf(n);~l&&(e.splice(l,1),--t.lc||t.off())}},notify(n,l){let r=!u.length;for(let f of e)u.push(f,t.value,n,l);if(r){for(a=0;a<u.length;a+=o)u[a](u[a+1],u[a+2],u[a+3]);u.length=0}},off(){},set(n){let l=t.value;l!==n&&(t.value=n,t.notify(l))},subscribe(n){let l=t.listen(n);return n(t.value),l},value:i};return t},g=(i={})=>{let e=c(i);return e.setKey=function(t,n){let l=e.value;typeof n>"u"&&t in e.value?(e.value={...e.value},delete e.value[t],e.notify(l,t)):e.value[t]!==n&&(e.value={...e.value,[t]:n},e.notify(l,t))},e},p=i=>[e=>(...t)=>(i&&s.eventBus.emit(i?.type,i),e?e(t):null)],y=i=>{const e=i.target;e instanceof HTMLAnchorElement&&e.target==="_blank"&&e.getAttribute("data-a")==="web-link"&&s.eventBus.emit("poll",{action:"navigated",payload:{}}),e instanceof Element&&e.getAttribute("data-a")==="intr"&&s.eventBus.emit("interactions",{action:"tap",payload:{}})},b=(i,e)=>{const t=window.innerWidth<d.A.xl;v.useEffect(()=>{const n=t&&e.useDomNode?document:i.current,l=r=>{e.listener(r,i)};return e.enabled&&n?.addEventListener(e.event,l),()=>{n?.removeEventListener(e.event,l)}},[t,e.enabled,e.listener])};exports.A=b;exports.a=c;exports.f=g;exports.f$1=y;exports.u=p;
|
package/lib/cjs/auth.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),o=require("./hooks-n9ax4LRT.js"),u=({token:e,schema:r})=>{const t=o.Y();return i.useEffect(()=>{e&&r&&t&&t.authorizationBypass(r,e),t&&(t.withAuth=!0)},[e,r,t]),null};exports.StreamLayerLogin=u;
|
package/lib/cjs/bet-pack.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),i=require("./index3.js"),c=require("react");require("./sl-types.js");const o=require("./index4.js"),s=require("./hooks-n9ax4LRT.js"),r=e=>{const t=e.target;t instanceof Element&&t.getAttribute("data-a")==="intr"&&i.eventBus.emit("interactions",{action:"tap",payload:{}})},u=()=>{const e=s.Y();return c.useEffect(()=>(document?.addEventListener("click",r),()=>{document?.removeEventListener("click",r)}),[]),e?n.jsx(o.D,{sdk:e}):null};exports.BetPackProvider=u;
|
package/lib/cjs/feature.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("
|
|
1
|
+
"use strict";const a=require("pino");require("./sl-types.js");require("nanostores");const s=require("./useStreamLayerApp2.js"),d=a.pino({level:"trace",enabled:typeof window<"u"&&!!window.localStorage.getItem("SL_DEBUG"),browser:{write:t=>{console.log(t)}}}),o=(t,e)=>d.child({name:t},e);class l extends Event{slEventBus;constructor(e,n){super(e),this.slEventBus=n}}const u=o("event-bus");class c{name;listeners;constructor(e="sl-event-bus"){this.name=e,this.listeners=new Set}emit=(e,n)=>{const r=new l(this.name,{...n,type:e});u.debug(r,"Emitting event"),window.dispatchEvent(r)};listen(e){return window.addEventListener(this.name,e),this.listeners.add(e),()=>{this.off(e)}}off(e){window.removeEventListener(this.name,e),this.listeners.delete(e)}destroy=()=>{this.listeners.forEach(e=>{window.removeEventListener(this.name,e),this.listeners.delete(e)}),this.listeners.clear()}}window.slStore=Object.create(null);var i;(function(t){t.ORGANIZATION="ORGANIZATION",t.STREAM="STREAM"})(i||(i={}));s.SdkOverlayType.BETTING+"",s.SdkOverlayType.GAMES+"",s.SdkOverlayType.PUBLIC_CHAT+"",s.SdkOverlayType.TWITTER+"";exports.FeatureStatus=void 0;(function(t){t.Ready="ready",t.Suspended="suspended"})(exports.FeatureStatus||(exports.FeatureStatus={}));exports.EventBus=c;exports.createLogger=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index2.js");exports.default=e.B;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./masters2.js");exports.default=e.C;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react"),f=require("react/jsx-runtime"),x=require("./useStreamLayerApp2.js"),b=({event:e,internal:i})=>{const s=E(),o=O();return t.useEffect(()=>{s&&(e&&(s.createEventSession(e,i),o&&(o.current=e)),!e&&o?.current&&(s.createEventSession("",i),o.current=""))},[e,i,o,s]),null};var h=(e=>(e[e.UNSET=0]="UNSET",e[e.CONNECTED=1]="CONNECTED",e[e.READY=2]="READY",e))(h||{});const N={status:0,sdk:null},r=t.createContext(N),L=({sdkKey:e,theme:i,themeMode:s,plugins:o,children:m,event:p,production:y=!0,autoEnable:C=!0,withAdNotification:S,withAd:g=!0,betPack:u=!1,hideFriends:D,skipOnboarding:c,friendsTab:l="enabled",onDeepLinkHandled:a,videoPlayerController:d,onContentActivate:A,containerId:v,webOS:K,gamification:P})=>{const n=x.z({sdkKey:e,plugins:o,production:y,autoEnable:C,onDeepLinkHandled:a,videoPlayerController:d,onContentActivate:A,hideFriends:D,skipOnboarding:c,withAdNotification:S,withAd:g,friendsTab:l,betPack:u,webOS:K,gamification:P}),k=t.useRef(""),w=t.useMemo(()=>n?{sdk:n,status:2,event:k}:{status:1,sdk:null,event:k},[n]);return t.useEffect(()=>{n&&(n.options.setKey("friendsTab",l),n.options.setKey("theme",i),n.options.setKey("themeMode",s),n.options.setKey("skipOnboarding",c),n.options.setKey("betPack",u),n.options.setKey("containerId",v))},[n,l,i,s,c,u,v]),t.useEffect(()=>()=>{a&&n?.removeDeepLinkHandler(a),d&&n?.removeVideoPlayerController(d)},[n]),t.useEffect(()=>{localStorage.getItem("SL_DEBUG")&&console.log("StreamLayerProvider mounted with props:",{sdkKey:!!e,onDeepLinkHandled:!!a,videoPlayerController:!!d})},[e,a,d]),f.jsxs(r.Provider,{value:w,children:[p!==void 0&&f.jsx(b,{event:p}),m]})},E=()=>{const{sdk:e}=t.useContext(r);return e},O=()=>{const{event:e}=t.useContext(r);return e},T=()=>{const{sdk:e}=t.useContext(r),[i,s]=t.useState({});return t.useEffect(()=>e?.options?e?.options?.subscribe(o=>{s({theme:o.theme,themeMode:o.themeMode})}):()=>{},[e?.options]),i},j=()=>{const{sdk:e}=t.useContext(r),[i,s]=t.useState({});return t.useEffect(()=>e?.uiState?e?.uiState.subscribe(o=>{s({...o})}):()=>{},[e?.uiState]),i};exports.V=L;exports.Y=E;exports._=T;exports.g=b;exports.i=r;exports.j=h;exports.q=j;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ir=require("./useStreamLayerApp2.js");function sr(A,S){for(var G=0;G<S.length;G++){const X=S[G];if(typeof X!="string"&&!Array.isArray(X)){for(const V in X)if(V!=="default"&&!(V in A)){const g=Object.getOwnPropertyDescriptor(X,V);g&&Object.defineProperty(A,V,g.get?g:{enumerable:!0,get:()=>X[V]})}}}return Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}var xe={},ie={},he={},Ke;function Ie(){if(Ke)return he;Ke=1;function A(g,O,H){if(H===void 0&&(H=Array.prototype),g&&typeof H.find=="function")return H.find.call(g,O);for(var M=0;M<g.length;M++)if(Object.prototype.hasOwnProperty.call(g,M)){var q=g[M];if(O.call(void 0,q,M,g))return q}}function S(g,O){return O===void 0&&(O=Object),O&&typeof O.freeze=="function"?O.freeze(g):g}function G(g,O){if(g===null||typeof g!="object")throw new TypeError("target is not an object");for(var H in O)Object.prototype.hasOwnProperty.call(O,H)&&(g[H]=O[H]);return g}var X=S({HTML:"text/html",isHTML:function(g){return g===X.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),V=S({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(g){return g===V.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});return he.assign=G,he.find=A,he.freeze=S,he.MIME_TYPE=X,he.NAMESPACE=V,he}var Ze;function ar(){if(Ze)return ie;Ze=1;var A=Ie(),S=A.find,G=A.NAMESPACE;function X(e){return e!==""}function V(e){return e?e.split(/[\t\n\f\r ]+/).filter(X):[]}function g(e,r){return e.hasOwnProperty(r)||(e[r]=!0),e}function O(e){if(!e)return[];var r=V(e);return Object.keys(r.reduce(g,{}))}function H(e){return function(r){return e&&e.indexOf(r)!==-1}}function M(e,r){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}function q(e,r){var t=e.prototype;if(!(t instanceof r)){let n=function(){};n.prototype=r.prototype,n=new n,M(t,n),e.prototype=t=n}t.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),t.constructor=e)}var k={},C=k.ELEMENT_NODE=1,_=k.ATTRIBUTE_NODE=2,J=k.TEXT_NODE=3,ue=k.CDATA_SECTION_NODE=4,re=k.ENTITY_REFERENCE_NODE=5,s=k.ENTITY_NODE=6,N=k.PROCESSING_INSTRUCTION_NODE=7,T=k.COMMENT_NODE=8,y=k.DOCUMENT_NODE=9,B=k.DOCUMENT_TYPE_NODE=10,I=k.DOCUMENT_FRAGMENT_NODE=11,W=k.NOTATION_NODE=12,b={},D={};b.INDEX_SIZE_ERR=(D[1]="Index size error",1),b.DOMSTRING_SIZE_ERR=(D[2]="DOMString size error",2);var a=b.HIERARCHY_REQUEST_ERR=(D[3]="Hierarchy request error",3);b.WRONG_DOCUMENT_ERR=(D[4]="Wrong document",4),b.INVALID_CHARACTER_ERR=(D[5]="Invalid character",5),b.NO_DATA_ALLOWED_ERR=(D[6]="No data allowed",6),b.NO_MODIFICATION_ALLOWED_ERR=(D[7]="No modification allowed",7);var i=b.NOT_FOUND_ERR=(D[8]="Not found",8);b.NOT_SUPPORTED_ERR=(D[9]="Not supported",9);var c=b.INUSE_ATTRIBUTE_ERR=(D[10]="Attribute in use",10);b.INVALID_STATE_ERR=(D[11]="Invalid state",11),b.SYNTAX_ERR=(D[12]="Syntax error",12),b.INVALID_MODIFICATION_ERR=(D[13]="Invalid modification",13),b.NAMESPACE_ERR=(D[14]="Invalid namespace",14),b.INVALID_ACCESS_ERR=(D[15]="Invalid access",15);function l(e,r){if(r instanceof Error)var t=r;else t=this,Error.call(this,D[e]),this.message=D[e],Error.captureStackTrace&&Error.captureStackTrace(this,l);return t.code=e,r&&(this.message=this.message+": "+r),t}l.prototype=Error.prototype,M(b,l);function p(){}p.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,r){for(var t=[],n=0;n<this.length;n++)Ne(this[n],t,e,r);return t.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};function v(e,r){this._node=e,this._refresh=r,m(this)}function m(e){var r=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==r){var t=e._refresh(e._node);if(Qe(e,"length",t.length),!e.$$length||t.length<e.$$length)for(var n=t.length;n in e;n++)Object.prototype.hasOwnProperty.call(e,n)&&delete e[n];M(t,e),e._inc=r}}v.prototype.item=function(e){return m(this),this[e]||null},q(v,p);function w(){}function E(e,r){for(var t=e.length;t--;)if(e[t]===r)return t}function f(e,r,t,n){if(n?r[E(r,n)]=t:r[r.length++]=t,e){t.ownerElement=e;var o=e.ownerDocument;o&&(n&&Ee(o,e,n),z(o,e,t))}}function h(e,r,t){var n=E(r,t);if(n>=0){for(var o=r.length-1;n<o;)r[n]=r[++n];if(r.length=o,e){var d=e.ownerDocument;d&&(Ee(d,e,t),t.ownerElement=null)}}else throw new l(i,new Error(e.tagName+"@"+t))}w.prototype={length:0,item:p.prototype.item,getNamedItem:function(e){for(var r=this.length;r--;){var t=this[r];if(t.nodeName==e)return t}},setNamedItem:function(e){var r=e.ownerElement;if(r&&r!=this._ownerElement)throw new l(c);var t=this.getNamedItem(e.nodeName);return f(this._ownerElement,this,e,t),t},setNamedItemNS:function(e){var r=e.ownerElement,t;if(r&&r!=this._ownerElement)throw new l(c);return t=this.getNamedItemNS(e.namespaceURI,e.localName),f(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var r=this.getNamedItem(e);return h(this._ownerElement,this,r),r},removeNamedItemNS:function(e,r){var t=this.getNamedItemNS(e,r);return h(this._ownerElement,this,t),t},getNamedItemNS:function(e,r){for(var t=this.length;t--;){var n=this[t];if(n.localName==r&&n.namespaceURI==e)return n}return null}};function U(){}U.prototype={hasFeature:function(e,r){return!0},createDocument:function(e,r,t){var n=new F;if(n.implementation=this,n.childNodes=new p,n.doctype=t||null,t&&n.appendChild(t),r){var o=n.createElementNS(e,r);n.appendChild(o)}return n},createDocumentType:function(e,r,t){var n=new Oe;return n.name=e,n.nodeName=e,n.publicId=r||"",n.systemId=t||"",n}};function u(){}u.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(e,r){return se(this,e,r)},replaceChild:function(e,r){se(this,e,r,Ae),r&&this.removeChild(r)},removeChild:function(e){return Q(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return He(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var r=e.nextSibling;r&&r.nodeType==J&&e.nodeType==J?(this.removeChild(r),e.appendData(r.data)):(e.normalize(),e=r)}},isSupported:function(e,r){return this.ownerDocument.implementation.hasFeature(e,r)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var r=this;r;){var t=r._nsMap;if(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&t[n]===e)return n}r=r.nodeType==_?r.ownerDocument:r.parentNode}return null},lookupNamespaceURI:function(e){for(var r=this;r;){var t=r._nsMap;if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e];r=r.nodeType==_?r.ownerDocument:r.parentNode}return null},isDefaultNamespace:function(e){var r=this.lookupPrefix(e);return r==null}};function Y(e){return e=="<"&&"<"||e==">"&&">"||e=="&"&&"&"||e=='"'&&"""||"&#"+e.charCodeAt()+";"}M(k,u),M(k,u.prototype);function ne(e,r){if(r(e))return!0;if(e=e.firstChild)do if(ne(e,r))return!0;while(e=e.nextSibling)}function F(){this.ownerDocument=this}function z(e,r,t){e&&e._inc++;var n=t.namespaceURI;n===G.XMLNS&&(r._nsMap[t.prefix?t.localName:""]=t.value)}function Ee(e,r,t,n){e&&e._inc++;var o=t.namespaceURI;o===G.XMLNS&&delete r._nsMap[t.prefix?t.localName:""]}function ge(e,r,t){if(e&&e._inc){e._inc++;var n=r.childNodes;if(t)n[n.length++]=t;else{for(var o=r.firstChild,d=0;o;)n[d++]=o,o=o.nextSibling;n.length=d,delete n[n.length]}}}function Q(e,r){var t=r.previousSibling,n=r.nextSibling;return t?t.nextSibling=n:e.firstChild=n,n?n.previousSibling=t:e.lastChild=t,r.parentNode=null,r.previousSibling=null,r.nextSibling=null,ge(e.ownerDocument,e),r}function ee(e){return e&&(e.nodeType===u.DOCUMENT_NODE||e.nodeType===u.DOCUMENT_FRAGMENT_NODE||e.nodeType===u.ELEMENT_NODE)}function Te(e){return e&&(Z(e)||be(e)||K(e)||e.nodeType===u.DOCUMENT_FRAGMENT_NODE||e.nodeType===u.COMMENT_NODE||e.nodeType===u.PROCESSING_INSTRUCTION_NODE)}function K(e){return e&&e.nodeType===u.DOCUMENT_TYPE_NODE}function Z(e){return e&&e.nodeType===u.ELEMENT_NODE}function be(e){return e&&e.nodeType===u.TEXT_NODE}function $(e,r){var t=e.childNodes||[];if(S(t,Z)||K(r))return!1;var n=S(t,K);return!(r&&n&&t.indexOf(n)>t.indexOf(r))}function ve(e,r){var t=e.childNodes||[];function n(d){return Z(d)&&d!==r}if(S(t,n))return!1;var o=S(t,K);return!(r&&o&&t.indexOf(o)>t.indexOf(r))}function j(e,r,t){if(!ee(e))throw new l(a,"Unexpected parent node type "+e.nodeType);if(t&&t.parentNode!==e)throw new l(i,"child not in parent");if(!Te(r)||K(r)&&e.nodeType!==u.DOCUMENT_NODE)throw new l(a,"Unexpected node type "+r.nodeType+" for parent node type "+e.nodeType)}function Le(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===u.DOCUMENT_FRAGMENT_NODE){var d=o.filter(Z);if(d.length>1||S(o,be))throw new l(a,"More than one element or text in fragment");if(d.length===1&&!$(e,t))throw new l(a,"Element in fragment can not be inserted before doctype")}if(Z(r)&&!$(e,t))throw new l(a,"Only one element can be added and only after doctype");if(K(r)){if(S(n,K))throw new l(a,"Only one doctype is allowed");var L=S(n,Z);if(t&&n.indexOf(L)<n.indexOf(t))throw new l(a,"Doctype can only be inserted before an element");if(!t&&L)throw new l(a,"Doctype can not be appended since element is present")}}function Ae(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===u.DOCUMENT_FRAGMENT_NODE){var d=o.filter(Z);if(d.length>1||S(o,be))throw new l(a,"More than one element or text in fragment");if(d.length===1&&!ve(e,t))throw new l(a,"Element in fragment can not be inserted before doctype")}if(Z(r)&&!ve(e,t))throw new l(a,"Only one element can be added and only after doctype");if(K(r)){if(S(n,function(x){return K(x)&&x!==t}))throw new l(a,"Only one doctype is allowed");var L=S(n,Z);if(t&&n.indexOf(L)<n.indexOf(t))throw new l(a,"Doctype can only be inserted before an element")}}function se(e,r,t,n){j(e,r,t),e.nodeType===u.DOCUMENT_NODE&&(n||Le)(e,r,t);var o=r.parentNode;if(o&&o.removeChild(r),r.nodeType===I){var d=r.firstChild;if(d==null)return r;var L=r.lastChild}else d=L=r;var x=t?t.previousSibling:e.lastChild;d.previousSibling=x,L.nextSibling=t,x?x.nextSibling=d:e.firstChild=d,t==null?e.lastChild=L:t.previousSibling=L;do{d.parentNode=e;var ae=e.ownerDocument||e;le(d,ae)}while(d!==L&&(d=d.nextSibling));return ge(e.ownerDocument||e,e),r.nodeType==I&&(r.firstChild=r.lastChild=null),r}function le(e,r){if(e.ownerDocument!==r){if(e.ownerDocument=r,e.nodeType===C&&e.attributes)for(var t=0;t<e.attributes.length;t++){var n=e.attributes.item(t);n&&(n.ownerDocument=r)}for(var o=e.firstChild;o;)le(o,r),o=o.nextSibling}}function R(e,r){r.parentNode&&r.parentNode.removeChild(r),r.parentNode=e,r.previousSibling=e.lastChild,r.nextSibling=null,r.previousSibling?r.previousSibling.nextSibling=r:e.firstChild=r,e.lastChild=r,ge(e.ownerDocument,e,r);var t=e.ownerDocument||e;return le(r,t),r}F.prototype={nodeName:"#document",nodeType:y,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,r){if(e.nodeType==I){for(var t=e.firstChild;t;){var n=t.nextSibling;this.insertBefore(t,r),t=n}return e}return se(this,e,r),le(e,this),this.documentElement===null&&e.nodeType===C&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),Q(this,e)},replaceChild:function(e,r){se(this,e,r,Ae),le(e,this),r&&this.removeChild(r),Z(e)&&(this.documentElement=e)},importNode:function(e,r){return $e(this,e,r)},getElementById:function(e){var r=null;return ne(this.documentElement,function(t){if(t.nodeType==C&&t.getAttribute("id")==e)return r=t,!0}),r},getElementsByClassName:function(e){var r=O(e);return new v(this,function(t){var n=[];return r.length>0&&ne(t.documentElement,function(o){if(o!==t&&o.nodeType===C){var d=o.getAttribute("class");if(d){var L=e===d;if(!L){var x=O(d);L=r.every(H(x))}L&&n.push(o)}}}),n})},createElement:function(e){var r=new P;r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.localName=e,r.childNodes=new p;var t=r.attributes=new w;return t._ownerElement=r,r},createDocumentFragment:function(){var e=new Ce;return e.ownerDocument=this,e.childNodes=new p,e},createTextNode:function(e){var r=new Me;return r.ownerDocument=this,r.appendData(e),r},createComment:function(e){var r=new _e;return r.ownerDocument=this,r.appendData(e),r},createCDATASection:function(e){var r=new Ue;return r.ownerDocument=this,r.appendData(e),r},createProcessingInstruction:function(e,r){var t=new Be;return t.ownerDocument=this,t.tagName=t.nodeName=t.target=e,t.nodeValue=t.data=r,t},createAttribute:function(e){var r=new we;return r.ownerDocument=this,r.name=e,r.nodeName=e,r.localName=e,r.specified=!0,r},createEntityReference:function(e){var r=new Pe;return r.ownerDocument=this,r.nodeName=e,r},createElementNS:function(e,r){var t=new P,n=r.split(":"),o=t.attributes=new w;return t.childNodes=new p,t.ownerDocument=this,t.nodeName=r,t.tagName=r,t.namespaceURI=e,n.length==2?(t.prefix=n[0],t.localName=n[1]):t.localName=r,o._ownerElement=t,t},createAttributeNS:function(e,r){var t=new we,n=r.split(":");return t.ownerDocument=this,t.nodeName=r,t.name=r,t.namespaceURI=e,t.specified=!0,n.length==2?(t.prefix=n[0],t.localName=n[1]):t.localName=r,t}},q(F,u);function P(){this._nsMap={}}P.prototype={nodeType:C,hasAttribute:function(e){return this.getAttributeNode(e)!=null},getAttribute:function(e){var r=this.getAttributeNode(e);return r&&r.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,r){var t=this.ownerDocument.createAttribute(e);t.value=t.nodeValue=""+r,this.setAttributeNode(t)},removeAttribute:function(e){var r=this.getAttributeNode(e);r&&this.removeAttributeNode(r)},appendChild:function(e){return e.nodeType===I?this.insertBefore(e,null):R(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);t&&this.removeAttributeNode(t)},hasAttributeNS:function(e,r){return this.getAttributeNodeNS(e,r)!=null},getAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);return t&&t.value||""},setAttributeNS:function(e,r,t){var n=this.ownerDocument.createAttributeNS(e,r);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},getAttributeNodeNS:function(e,r){return this.attributes.getNamedItemNS(e,r)},getElementsByTagName:function(e){return new v(this,function(r){var t=[];return ne(r,function(n){n!==r&&n.nodeType==C&&(e==="*"||n.tagName==e)&&t.push(n)}),t})},getElementsByTagNameNS:function(e,r){return new v(this,function(t){var n=[];return ne(t,function(o){o!==t&&o.nodeType===C&&(e==="*"||o.namespaceURI===e)&&(r==="*"||o.localName==r)&&n.push(o)}),n})}},F.prototype.getElementsByTagName=P.prototype.getElementsByTagName,F.prototype.getElementsByTagNameNS=P.prototype.getElementsByTagNameNS,q(P,u);function we(){}we.prototype.nodeType=_,q(we,u);function De(){}De.prototype={data:"",substringData:function(e,r){return this.data.substring(e,e+r)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,r){this.replaceData(e,0,r)},appendChild:function(e){throw new Error(D[a])},deleteData:function(e,r){this.replaceData(e,r,"")},replaceData:function(e,r,t){var n=this.data.substring(0,e),o=this.data.substring(e+r);t=n+t+o,this.nodeValue=this.data=t,this.length=t.length}},q(De,u);function Me(){}Me.prototype={nodeName:"#text",nodeType:J,splitText:function(e){var r=this.data,t=r.substring(e);r=r.substring(0,e),this.data=this.nodeValue=r,this.length=r.length;var n=this.ownerDocument.createTextNode(t);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},q(Me,De);function _e(){}_e.prototype={nodeName:"#comment",nodeType:T},q(_e,De);function Ue(){}Ue.prototype={nodeName:"#cdata-section",nodeType:ue},q(Ue,De);function Oe(){}Oe.prototype.nodeType=B,q(Oe,u);function Fe(){}Fe.prototype.nodeType=W,q(Fe,u);function ze(){}ze.prototype.nodeType=s,q(ze,u);function Pe(){}Pe.prototype.nodeType=re,q(Pe,u);function Ce(){}Ce.prototype.nodeName="#document-fragment",Ce.prototype.nodeType=I,q(Ce,u);function Be(){}Be.prototype.nodeType=N,q(Be,u);function Ge(){}Ge.prototype.serializeToString=function(e,r,t){return je.call(e,r,t)},u.prototype.toString=je;function je(e,r){var t=[],n=this.nodeType==9&&this.documentElement||this,o=n.prefix,d=n.namespaceURI;if(d&&o==null){var o=n.lookupPrefix(d);if(o==null)var L=[{namespace:d,prefix:null}]}return Ne(this,t,e,r,L),t.join("")}function Xe(e,r,t){var n=e.prefix||"",o=e.namespaceURI;if(!o||n==="xml"&&o===G.XML||o===G.XMLNS)return!1;for(var d=t.length;d--;){var L=t[d];if(L.prefix===n)return L.namespace!==o}return!0}function Ve(e,r,t){e.push(" ",r,'="',t.replace(/[<>&"\t\n\r]/g,Y),'"')}function Ne(e,r,t,n,o){if(o||(o=[]),n)if(e=n(e),e){if(typeof e=="string"){r.push(e);return}}else return;switch(e.nodeType){case C:var d=e.attributes,L=d.length,x=e.firstChild,ae=e.tagName;t=G.isHTML(e.namespaceURI)||t;var ce=ae;if(!t&&!e.prefix&&e.namespaceURI){for(var oe,Re=0;Re<d.length;Re++)if(d.item(Re).name==="xmlns"){oe=d.item(Re).value;break}if(!oe)for(var pe=o.length-1;pe>=0;pe--){var de=o[pe];if(de.prefix===""&&de.namespace===e.namespaceURI){oe=de.namespace;break}}if(oe!==e.namespaceURI)for(var pe=o.length-1;pe>=0;pe--){var de=o[pe];if(de.namespace===e.namespaceURI){de.prefix&&(ce=de.prefix+":"+ae);break}}}r.push("<",ce);for(var fe=0;fe<L;fe++){var te=d.item(fe);te.prefix=="xmlns"?o.push({prefix:te.localName,namespace:te.value}):te.nodeName=="xmlns"&&o.push({prefix:"",namespace:te.value})}for(var fe=0;fe<L;fe++){var te=d.item(fe);if(Xe(te,t,o)){var me=te.prefix||"",qe=te.namespaceURI;Ve(r,me?"xmlns:"+me:"xmlns",qe),o.push({prefix:me,namespace:qe})}Ne(te,r,t,n,o)}if(ae===ce&&Xe(e,t,o)){var me=e.prefix||"",qe=e.namespaceURI;Ve(r,me?"xmlns:"+me:"xmlns",qe),o.push({prefix:me,namespace:qe})}if(x||t&&!/^(?:meta|link|img|br|hr|input)$/i.test(ae)){if(r.push(">"),t&&/^script$/i.test(ae))for(;x;)x.data?r.push(x.data):Ne(x,r,t,n,o.slice()),x=x.nextSibling;else for(;x;)Ne(x,r,t,n,o.slice()),x=x.nextSibling;r.push("</",ce,">")}else r.push("/>");return;case y:case I:for(var x=e.firstChild;x;)Ne(x,r,t,n,o.slice()),x=x.nextSibling;return;case _:return Ve(r,e.name,e.value);case J:return r.push(e.data.replace(/[<&>]/g,Y));case ue:return r.push("<![CDATA[",e.data,"]]>");case T:return r.push("<!--",e.data,"-->");case B:var We=e.publicId,ye=e.systemId;if(r.push("<!DOCTYPE ",e.name),We)r.push(" PUBLIC ",We),ye&&ye!="."&&r.push(" ",ye),r.push(">");else if(ye&&ye!=".")r.push(" SYSTEM ",ye,">");else{var Ye=e.internalSubset;Ye&&r.push(" [",Ye,"]"),r.push(">")}return;case N:return r.push("<?",e.target," ",e.data,"?>");case re:return r.push("&",e.nodeName,";");default:r.push("??",e.nodeName)}}function $e(e,r,t){var n;switch(r.nodeType){case C:n=r.cloneNode(!1),n.ownerDocument=e;case I:break;case _:t=!0;break}if(n||(n=r.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,t)for(var o=r.firstChild;o;)n.appendChild($e(e,o,t)),o=o.nextSibling;return n}function He(e,r,t){var n=new r.constructor;for(var o in r)if(Object.prototype.hasOwnProperty.call(r,o)){var d=r[o];typeof d!="object"&&d!=n[o]&&(n[o]=d)}switch(r.childNodes&&(n.childNodes=new p),n.ownerDocument=e,n.nodeType){case C:var L=r.attributes,x=n.attributes=new w,ae=L.length;x._ownerElement=n;for(var ce=0;ce<ae;ce++)n.setAttributeNode(He(e,L.item(ce),!0));break;case _:t=!0}if(t)for(var oe=r.firstChild;oe;)n.appendChild(He(e,oe,t)),oe=oe.nextSibling;return n}function Qe(e,r,t){e[r]=t}try{if(Object.defineProperty){let e=function(r){switch(r.nodeType){case C:case I:var t=[];for(r=r.firstChild;r;)r.nodeType!==7&&r.nodeType!==8&&t.push(e(r)),r=r.nextSibling;return t.join("");default:return r.nodeValue}};Object.defineProperty(v.prototype,"length",{get:function(){return m(this),this.$$length}}),Object.defineProperty(u.prototype,"textContent",{get:function(){return e(this)},set:function(r){switch(this.nodeType){case C:case I:for(;this.firstChild;)this.removeChild(this.firstChild);(r||String(r))&&this.appendChild(this.ownerDocument.createTextNode(r));break;default:this.data=r,this.value=r,this.nodeValue=r}}}),Qe=function(r,t,n){r["$$"+t]=n}}}catch{}return ie.DocumentType=Oe,ie.DOMException=l,ie.DOMImplementation=U,ie.Element=P,ie.Node=u,ie.NodeList=p,ie.XMLSerializer=Ge,ie}var Se={},Je={},er;function lr(){return er||(er=1,(function(A){var S=Ie().freeze;A.XML_ENTITIES=S({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),A.HTML_ENTITIES=S({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:""}),A.entityMap=A.HTML_ENTITIES})(Je)),Je}var ke={},rr;function cr(){if(rr)return ke;rr=1;var A=Ie().NAMESPACE,S=/[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]/,G=new RegExp("[\\-\\.0-9"+S.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),X=new RegExp("^"+S.source+G.source+"*(?::"+S.source+G.source+"*)?$"),V=0,g=1,O=2,H=3,M=4,q=5,k=6,C=7;function _(a,i){this.message=a,this.locator=i,Error.captureStackTrace&&Error.captureStackTrace(this,_)}_.prototype=new Error,_.prototype.name=_.name;function J(){}J.prototype={parse:function(a,i,c){var l=this.domBuilder;l.startDocument(),B(i,i={}),ue(a,i,c,l,this.errorHandler),l.endDocument()}};function ue(a,i,c,l,p){function v(R){if(R>65535){R-=65536;var P=55296+(R>>10),we=56320+(R&1023);return String.fromCharCode(P,we)}else return String.fromCharCode(R)}function m(R){var P=R.slice(1,-1);return Object.hasOwnProperty.call(c,P)?c[P]:P.charAt(0)==="#"?v(parseInt(P.substr(1).replace("x","0x"))):(p.error("entity not found:"+R),R)}function w(R){if(R>F){var P=a.substring(F,R).replace(/&#?\w+;/g,m);u&&E(F),l.characters(P,0,R-F),F=R}}function E(R,P){for(;R>=h&&(P=U.exec(a));)f=P.index,h=f+P[0].length,u.lineNumber++;u.columnNumber=R-f+1}for(var f=0,h=0,U=/.*(?:\r\n?|\n)|.*$/g,u=l.locator,Y=[{currentNSMap:i}],ne={},F=0;;){try{var z=a.indexOf("<",F);if(z<0){if(!a.substr(F).match(/^\s*$/)){var Ee=l.doc,ge=Ee.createTextNode(a.substr(F));Ee.appendChild(ge),l.currentElement=ge}return}switch(z>F&&w(z),a.charAt(z+1)){case"/":var j=a.indexOf(">",z+3),Q=a.substring(z+2,j).replace(/[ \t\n\r]+$/g,""),ee=Y.pop();j<0?(Q=a.substring(z+2).replace(/[\s<].*/,""),p.error("end tag name: "+Q+" is not complete:"+ee.tagName),j=z+1+Q.length):Q.match(/\s</)&&(Q=Q.replace(/[\s<].*/,""),p.error("end tag name: "+Q+" maybe not complete"),j=z+1+Q.length);var Te=ee.localNSMap,K=ee.tagName==Q,Z=K||ee.tagName&&ee.tagName.toLowerCase()==Q.toLowerCase();if(Z){if(l.endElement(ee.uri,ee.localName,Q),Te)for(var be in Te)Object.prototype.hasOwnProperty.call(Te,be)&&l.endPrefixMapping(be);K||p.fatalError("end tag name: "+Q+" is not match the current start tagName:"+ee.tagName)}else Y.push(ee);j++;break;case"?":u&&E(z),j=W(a,z,l);break;case"!":u&&E(z),j=I(a,z,l,p);break;default:u&&E(z);var $=new b,ve=Y[Y.length-1].currentNSMap,j=s(a,z,$,ve,m,p),Le=$.length;if(!$.closed&&y(a,j,$.tagName,ne)&&($.closed=!0,c.nbsp||p.warning("unclosed xml attribute")),u&&Le){for(var Ae=re(u,{}),se=0;se<Le;se++){var le=$[se];E(le.offset),le.locator=re(u,{})}l.locator=Ae,N($,l,ve)&&Y.push($),l.locator=u}else N($,l,ve)&&Y.push($);A.isHTML($.uri)&&!$.closed?j=T(a,j,$.tagName,m,l):j++}}catch(R){if(R instanceof _)throw R;p.error("element parse error: "+R),j=-1}j>F?F=j:w(Math.max(z,F)+1)}}function re(a,i){return i.lineNumber=a.lineNumber,i.columnNumber=a.columnNumber,i}function s(a,i,c,l,p,v){function m(u,Y,ne){c.attributeNames.hasOwnProperty(u)&&v.fatalError("Attribute "+u+" redefined"),c.addValue(u,Y.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,p),ne)}for(var w,E,f=++i,h=V;;){var U=a.charAt(f);switch(U){case"=":if(h===g)w=a.slice(i,f),h=H;else if(h===O)h=H;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(h===H||h===g)if(h===g&&(v.warning('attribute value must after "="'),w=a.slice(i,f)),i=f+1,f=a.indexOf(U,i),f>0)E=a.slice(i,f),m(w,E,i-1),h=q;else throw new Error("attribute value no end '"+U+"' match");else if(h==M)E=a.slice(i,f),m(w,E,i),v.warning('attribute "'+w+'" missed start quot('+U+")!!"),i=f+1,h=q;else throw new Error('attribute value must after "="');break;case"/":switch(h){case V:c.setTagName(a.slice(i,f));case q:case k:case C:h=C,c.closed=!0;case M:case g:break;case O:c.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return v.error("unexpected end of input"),h==V&&c.setTagName(a.slice(i,f)),f;case">":switch(h){case V:c.setTagName(a.slice(i,f));case q:case k:case C:break;case M:case g:E=a.slice(i,f),E.slice(-1)==="/"&&(c.closed=!0,E=E.slice(0,-1));case O:h===O&&(E=w),h==M?(v.warning('attribute "'+E+'" missed quot(")!'),m(w,E,i)):((!A.isHTML(l[""])||!E.match(/^(?:disabled|checked|selected)$/i))&&v.warning('attribute "'+E+'" missed value!! "'+E+'" instead!!'),m(E,E,i));break;case H:throw new Error("attribute value missed!!")}return f;case"":U=" ";default:if(U<=" ")switch(h){case V:c.setTagName(a.slice(i,f)),h=k;break;case g:w=a.slice(i,f),h=O;break;case M:var E=a.slice(i,f);v.warning('attribute "'+E+'" missed quot(")!!'),m(w,E,i);case q:h=k;break}else switch(h){case O:c.tagName,(!A.isHTML(l[""])||!w.match(/^(?:disabled|checked|selected)$/i))&&v.warning('attribute "'+w+'" missed value!! "'+w+'" instead2!!'),m(w,w,i),i=f,h=g;break;case q:v.warning('attribute space is required"'+w+'"!!');case k:h=g,i=f;break;case H:h=M,i=f;break;case C:throw new Error("elements closed character '/' and '>' must be connected to")}}f++}}function N(a,i,c){for(var l=a.tagName,p=null,v=a.length;v--;){var m=a[v],w=m.qName,E=m.value,u=w.indexOf(":");if(u>0)var f=m.prefix=w.slice(0,u),h=w.slice(u+1),U=f==="xmlns"&&h;else h=w,f=null,U=w==="xmlns"&&"";m.localName=h,U!==!1&&(p==null&&(p={},B(c,c={})),c[U]=p[U]=E,m.uri=A.XMLNS,i.startPrefixMapping(U,E))}for(var v=a.length;v--;){m=a[v];var f=m.prefix;f&&(f==="xml"&&(m.uri=A.XML),f!=="xmlns"&&(m.uri=c[f||""]))}var u=l.indexOf(":");u>0?(f=a.prefix=l.slice(0,u),h=a.localName=l.slice(u+1)):(f=null,h=a.localName=l);var Y=a.uri=c[f||""];if(i.startElement(Y,h,l,a),a.closed){if(i.endElement(Y,h,l),p)for(f in p)Object.prototype.hasOwnProperty.call(p,f)&&i.endPrefixMapping(f)}else return a.currentNSMap=c,a.localNSMap=p,!0}function T(a,i,c,l,p){if(/^(?:script|textarea)$/i.test(c)){var v=a.indexOf("</"+c+">",i),m=a.substring(i+1,v);if(/[&<]/.test(m))return/^script$/i.test(c)?(p.characters(m,0,m.length),v):(m=m.replace(/&#?\w+;/g,l),p.characters(m,0,m.length),v)}return i+1}function y(a,i,c,l){var p=l[c];return p==null&&(p=a.lastIndexOf("</"+c+">"),p<i&&(p=a.lastIndexOf("</"+c)),l[c]=p),p<i}function B(a,i){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(i[c]=a[c])}function I(a,i,c,l){var p=a.charAt(i+2);switch(p){case"-":if(a.charAt(i+3)==="-"){var v=a.indexOf("-->",i+4);return v>i?(c.comment(a,i+4,v-i-4),v+3):(l.error("Unclosed comment"),-1)}else return-1;default:if(a.substr(i+3,6)=="CDATA["){var v=a.indexOf("]]>",i+9);return c.startCDATA(),c.characters(a,i+9,v-i-9),c.endCDATA(),v+3}var m=D(a,i),w=m.length;if(w>1&&/!doctype/i.test(m[0][0])){var E=m[1][0],f=!1,h=!1;w>3&&(/^public$/i.test(m[2][0])?(f=m[3][0],h=w>4&&m[4][0]):/^system$/i.test(m[2][0])&&(h=m[3][0]));var U=m[w-1];return c.startDTD(E,f,h),c.endDTD(),U.index+U[0].length}}return-1}function W(a,i,c){var l=a.indexOf("?>",i);if(l){var p=a.substring(i,l).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return p?(p[0].length,c.processingInstruction(p[1],p[2]),l+2):-1}return-1}function b(){this.attributeNames={}}b.prototype={setTagName:function(a){if(!X.test(a))throw new Error("invalid tagName:"+a);this.tagName=a},addValue:function(a,i,c){if(!X.test(a))throw new Error("invalid attribute:"+a);this.attributeNames[a]=this.length,this[this.length++]={qName:a,value:i,offset:c}},length:0,getLocalName:function(a){return this[a].localName},getLocator:function(a){return this[a].locator},getQName:function(a){return this[a].qName},getURI:function(a){return this[a].uri},getValue:function(a){return this[a].value}};function D(a,i){var c,l=[],p=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(p.lastIndex=i,p.exec(a);c=p.exec(a);)if(l.push(c),c[1])return l}return ke.XMLReader=J,ke.ParseError=_,ke}var tr;function ur(){if(tr)return Se;tr=1;var A=Ie(),S=ar(),G=lr(),X=cr(),V=S.DOMImplementation,g=A.NAMESPACE,O=X.ParseError,H=X.XMLReader;function M(s){return s.replace(/\r[\n\u0085]/g,`
|
|
3
|
+
`).replace(/[\r\u0085\u2028]/g,`
|
|
4
|
+
`)}function q(s){this.options=s||{locator:{}}}q.prototype.parseFromString=function(s,N){var T=this.options,y=new H,B=T.domBuilder||new C,I=T.errorHandler,W=T.locator,b=T.xmlns||{},D=/\/x?html?$/.test(N),a=D?G.HTML_ENTITIES:G.XML_ENTITIES;W&&B.setDocumentLocator(W),y.errorHandler=k(I,B,W),y.domBuilder=T.domBuilder||B,D&&(b[""]=g.HTML),b.xml=b.xml||g.XML;var i=T.normalizeLineEndings||M;return s&&typeof s=="string"?y.parse(i(s),b,a):y.errorHandler.error("invalid doc source"),B.doc};function k(s,N,T){if(!s){if(N instanceof C)return N;s=N}var y={},B=s instanceof Function;T=T||{};function I(W){var b=s[W];!b&&B&&(b=s.length==2?function(D){s(W,D)}:s),y[W]=b&&function(D){b("[xmldom "+W+"] "+D+J(T))}||function(){}}return I("warning"),I("error"),I("fatalError"),y}function C(){this.cdata=!1}function _(s,N){N.lineNumber=s.lineNumber,N.columnNumber=s.columnNumber}C.prototype={startDocument:function(){this.doc=new V().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(s,N,T,y){var B=this.doc,I=B.createElementNS(s,T||N),W=y.length;re(this,I),this.currentElement=I,this.locator&&_(this.locator,I);for(var b=0;b<W;b++){var s=y.getURI(b),D=y.getValue(b),T=y.getQName(b),a=B.createAttributeNS(s,T);this.locator&&_(y.getLocator(b),a),a.value=a.nodeValue=D,I.setAttributeNode(a)}},endElement:function(s,N,T){var y=this.currentElement;y.tagName,this.currentElement=y.parentNode},startPrefixMapping:function(s,N){},endPrefixMapping:function(s){},processingInstruction:function(s,N){var T=this.doc.createProcessingInstruction(s,N);this.locator&&_(this.locator,T),re(this,T)},ignorableWhitespace:function(s,N,T){},characters:function(s,N,T){if(s=ue.apply(this,arguments),s){if(this.cdata)var y=this.doc.createCDATASection(s);else var y=this.doc.createTextNode(s);this.currentElement?this.currentElement.appendChild(y):/^\s*$/.test(s)&&this.doc.appendChild(y),this.locator&&_(this.locator,y)}},skippedEntity:function(s){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(s){(this.locator=s)&&(s.lineNumber=0)},comment:function(s,N,T){s=ue.apply(this,arguments);var y=this.doc.createComment(s);this.locator&&_(this.locator,y),re(this,y)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(s,N,T){var y=this.doc.implementation;if(y&&y.createDocumentType){var B=y.createDocumentType(s,N,T);this.locator&&_(this.locator,B),re(this,B),this.doc.doctype=B}},warning:function(s){console.warn("[xmldom warning] "+s,J(this.locator))},error:function(s){console.error("[xmldom error] "+s,J(this.locator))},fatalError:function(s){throw new O(s,this.locator)}};function J(s){if(s)return`
|
|
5
|
+
@`+(s.systemId||"")+"#[line:"+s.lineNumber+",col:"+s.columnNumber+"]"}function ue(s,N,T){return typeof s=="string"?s.substr(N,T):s.length>=N+T||N?new java.lang.String(s,N,T)+"":s}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(s){C.prototype[s]=function(){return null}});function re(s,N){s.currentElement?s.currentElement.appendChild(N):s.doc.appendChild(N)}return Se.__DOMHandler=C,Se.normalizeLineEndings=M,Se.DOMParser=q,Se}var nr;function pr(){if(nr)return xe;nr=1;var A=ar();return xe.DOMImplementation=A.DOMImplementation,xe.XMLSerializer=A.XMLSerializer,xe.DOMParser=ur().DOMParser,xe}var or=pr();const dr=ir.ta(or),fr=sr({__proto__:null,default:dr},[or]);exports.i=fr;
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index7.js"),a=require("./index2.js"),r=require("./notification.js"),e=require("./hooks-n9ax4LRT.js");exports.StreamLayerThemeProvider=t.h;exports.StreamLayerSDKReact=a.D;exports.StreamLayerSDKNotification=r.StreamLayerSDKNotification;exports.StreamLayerSDKNotificationUI=r.StreamLayerSDKNotificationUI;exports.StreamLayerProvider=e.V;exports.StreamLayerSDKEvent=e.g;exports.useStreamLayer=e.Y;exports.useStreamLayerTheme=e._;exports.useStreamLayerUI=e.q;
|
package/lib/cjs/index10.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("core-js/modules/es.symbol.js"),require("core-js/modules/es.symbol.description.js"),require("core-js/modules/es.symbol.iterator.js"),require("core-js/modules/es.symbol.to-primitive.js"),require("core-js/modules/es.array.filter.js"),require("core-js/modules/es.array.from.js"),require("core-js/modules/es.array.index-of.js"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.array.slice.js"),require("core-js/modules/es.date.to-primitive.js"),require("core-js/modules/es.number.constructor.js"),require("core-js/modules/es.object.define-properties.js"),require("core-js/modules/es.object.define-property.js"),require("core-js/modules/es.object.get-own-property-descriptor.js"),require("core-js/modules/es.object.get-own-property-descriptors.js"),require("core-js/modules/es.object.keys.js"),require("core-js/modules/es.object.to-string.js"),require("core-js/modules/es.regexp.exec.js"),require("core-js/modules/es.regexp.to-string.js"),require("core-js/modules/es.string.iterator.js"),require("core-js/modules/web.dom-collections.for-each.js"),require("core-js/modules/web.dom-collections.iterator.js");function e(l){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(l)}var l=["instantView"];function s(e,l){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);l&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),s.push.apply(s,t)}return s}function t(e){for(var l=1;l<arguments.length;l++){var t=null!=arguments[l]?arguments[l]:{};l%2?s(Object(t),!0).forEach(function(l){r(e,l,t[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach(function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(t,l))})}return e}function r(l,s,t){return(s=function(l){var s=function(l,s){if("object"!=e(l)||!l)return l;var t=l[Symbol.toPrimitive];if(void 0!==t){var r=t.call(l,s||"default");if("object"!=e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(l)}(l,"string");return"symbol"==e(s)?s:s+""}(s))in l?Object.defineProperty(l,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):l[s]=t,l}function o(e,l){return function(e){if(Array.isArray(e))return e}(e)||function(e,l){var s=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=s){var t,r,o,i,n=[],a=!0,c=!1;try{if(o=(s=s.call(e)).next,0===l){if(Object(s)!==s)return;a=!1}else for(;!(a=(t=o.call(s)).done)&&(n.push(t.value),n.length!==l);a=!0);}catch(d){c=!0,r=d}finally{try{if(!a&&null!=s.return&&(i=s.return(),Object(i)!==i))return}finally{if(c)throw r}}return n}}(e,l)||function(e,l){if(e){if("string"==typeof e)return i(e,l);var s={}.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?i(e,l):void 0}}(e,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,l){(null==l||l>e.length)&&(l=e.length);for(var s=0,t=Array(l);s<l;s++)t[s]=e[s];return t}var n=require("react/jsx-runtime"),a=require("./index14.js"),c=require("./sl-types.js"),d=require("./index13.js"),C=require("./index12.js"),u=require("./index6.js"),p=require("./useStreamLayerApp2.js"),y=require("react"),f=c.styled_default("div")({name:"Container",class:"c1vwopgc",propsAsIs:!1}),m=c.styled_default("div")({name:"QuestionTypeWrap",class:"qyktpt0",propsAsIs:!1}),j=c.styled_default(u.B1)({name:"QuestionTypeIcon",class:"q951jdx",propsAsIs:!0}),v=c.styled_default("span")({name:"QuestionTypeTitle",class:"qss5f0e",propsAsIs:!1}),b=c.styled_default("button")({name:"CloseIconWrap",class:"c1ao1jtv",propsAsIs:!1}),h=c.styled_default(u.B1)({name:"CloseIcon",class:"cvsl7l3",propsAsIs:!0}),g=a.O(b,{}),x=c.styled_default("div")({name:"SponsorLogoWrap",class:"s8p5v5z",propsAsIs:!1}),V=c.styled_default(u.B1)({name:"SponsorLogo",class:"s755yti",propsAsIs:!0}),L=c.styled_default("img")({name:"AdSponsorLogo",class:"a1dflj8e",propsAsIs:!1}),A=c.styled_default("div")({name:"Container",class:"cq8qxhy",propsAsIs:!1}),w=c.styled_default("div")({name:"VideoWrapper",class:"v18kj6dc",propsAsIs:!1}),I=c.styled_default(d.Et)({name:"FocusableVideo",class:"fv2nwib",propsAsIs:!0}),H=c.styled_default("div")({name:"VideoStatus",class:"v8ptucg",propsAsIs:!1}),_="caip8y5",q=c.styled_default("div")({name:"Content",class:"ccgc65e",propsAsIs:!1}),B=c.styled_default("h3")({name:"Title",class:"t1q3iml2",propsAsIs:!1}),O=c.styled_default("div")({name:"Description",class:"d1y2pxs8",propsAsIs:!1}),M=c.styled_default("img")({name:"Image",class:"ig2j4fc",propsAsIs:!1}),P=c.styled_default("div")({name:"ImageContainer",class:"i3dd6iy",propsAsIs:!1}),E=function(e){var l,s,t=e.instantView,r=e.isDetail,i=e.notification,a=e.controlVideo,c=e.muted,d=y.useRef(null),C=o(y.useState(!1),2),f=C[0],m=C[1],j=o(y.useState(void 0),2),v=j[0],b=j[1],h=(null==t?void 0:t.playVideoMuted)===p.PlayVideoMuted.ENABLED,g=r&&(null==t?void 0:t.autoPlayVideo)===p.AutoPlayVideo.ENABLED,x=h&&g,V=null==t?void 0:t.heading,L=null==t?void 0:t.body,E=V||L,S=o(y.useState(!0),2),D=S[0],Z=S[1],k=null==i?void 0:i.title,N=null==i?void 0:i.body;return n.jsxs(A,{children:[(null==(l=null==t?void 0:t.video)?void 0:l.url)&&n.jsxs(w,{children:[n.jsx(I,{className:_,source:t.video.url,poster:t.video.thumbnailUrl,controlVideo:a,muted:c,autoPlay:r&&t.autoPlayVideo===p.AutoPlayVideo.ENABLED,ref:d,onPause:function(){null==m||m(!0),Z(!1)},onMute:function(e){b(e)},onPlay:function(){null==m||m(!1)},playMuted:h,hasNotPausedVideo:D,webos:!0}),f&&!D&&n.jsxs(H,{children:[n.jsx(u.B1,{name:"icon-pause"}),"PAUSED"]}),v&&x&&n.jsxs(H,{children:[n.jsx(u.B1,{name:"iconMute"}),"MUTED"]})]}),(null==t?void 0:t.image)&&!(null!=(s=null==t?void 0:t.video)&&s.url)&&n.jsx(P,{className:_,"data-rounded":t.imageMode===p.QuestionImages.ROUNDED,children:n.jsx(M,{src:null==t?void 0:t.image})}),n.jsxs(q,{children:[n.jsx(B,{children:r&&E?V:k}),n.jsx(O,{children:r&&E?L:N})]})]})},S=c.styled_default("div")({name:"Container",class:"cgn5uen",propsAsIs:!1}),D="c1px8nt6",Z=c.styled_default("div")({name:"Content",class:"c5et2jt",propsAsIs:!1}),k=c.styled_default("h3")({name:"Title",class:"t1i2kpk2",propsAsIs:!1}),N=c.styled_default("div")({name:"Description",class:"dd3lh3p",propsAsIs:!1}),T=c.styled_default("img")({name:"Image",class:"i1gfjeu5",propsAsIs:!1}),Q=c.styled_default("div")({name:"ImageContainer",class:"i58y999",propsAsIs:!1}),U=function(e){var l,s,t=e.instantView,r=e.isDetail,o=e.notification,i=e.controlVideo,a=e.muted,c=null==t?void 0:t.heading,C=null==t?void 0:t.body,u=c||C,y=null==o?void 0:o.title,f=null==o?void 0:o.body;return n.jsxs(S,{children:[(null==(l=null==t?void 0:t.video)?void 0:l.url)&&n.jsx(d.Et,{className:D,source:t.video.url,poster:t.video.thumbnailUrl,controlVideo:i,muted:a,autoPlay:r&&t.autoPlayVideo===p.AutoPlayVideo.ENABLED}),(null==t?void 0:t.image)&&!(null!=(s=null==t?void 0:t.video)&&s.url)&&n.jsx(Q,{className:D,"data-rounded":t.imageMode===p.QuestionImages.ROUNDED,children:n.jsx(T,{src:null==t?void 0:t.image})}),n.jsxs(Z,{children:[n.jsx(k,{children:r&&u?c:y}),n.jsx(N,{children:r&&u?C:f})]})]})},W=c.styled_default("div")({name:"Container",class:"c1euiow",propsAsIs:!1}),F=c.styled_default("a")({name:"WebLinkBtn",class:"w19zie3h",propsAsIs:!1}),R=c.styled_default(u.B1)({name:"WebLinkIcon",class:"wyg5v7z",propsAsIs:!0}),z=c.styled_default("div")({name:"Container",class:"c1dcxmvf",propsAsIs:!1}),G=c.styled_default("blockquote")({name:"Quote",class:"qb4q22c",propsAsIs:!1});exports.O=U,exports.a=function(e){return n.jsxs(z,{children:[e.title&&n.jsx(G,{children:e.title}),n.jsx(C.b,t(t({},e),{},{isDetail:!0}))]})},exports.d=function(e){var l=e.mastersApp,s=e.sponsorLogo;return l?n.jsx(x,{children:n.jsx(V,{name:"mastersLogo"})}):s?n.jsx(x,{children:n.jsx(L,{src:s,alt:"ad-sponsor-logo"})}):n.jsx(x,{children:n.jsx("img",{src:"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",alt:"stream-layer-logo"})})},exports.x=function(e){var s=e.instantView,r=function(e,l){if(null==e)return{};var s,t,r=function(e,l){if(null==e)return{};var s={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(-1!==l.indexOf(t))continue;s[t]=e[t]}return s}(e,l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t<o.length;t++)s=o[t],-1===l.indexOf(s)&&{}.propertyIsEnumerable.call(e,s)&&(r[s]=e[s])}return r}(e,l);return n.jsxs(W,{children:[r.webos?n.jsx(E,t(t({instantView:s},r),{},{isDetail:!0})):n.jsx(U,t(t({instantView:s},r),{},{isDetail:!0})),(null==s?void 0:s.webLink)&&n.jsxs(F,{href:null==s?void 0:s.webLink.url,target:"_blank","data-a":"web-link",children:[null==s?void 0:s.webLink.label,n.jsx(R,{name:"icon-external-link"})]})]})},exports.y=function(e){var l=e.webos,s=e.type,t=e.closeTimer,r=e.close,o=e.label,i=e.mastersApp,a=s?C.e[s]:{label:o,iconName:void 0};return n.jsxs(f,{children:[n.jsxs(m,{children:[(null==a?void 0:a.iconName)&&n.jsx(j,{"data-type-trivia":s===p.QuestionType.TRIVIA,"data-type-poll":s===p.QuestionType.POLL,"data-type-prediction":s===p.QuestionType.PREDICTION,"data-masters-app":!!i,name:a.iconName}),(null==a?void 0:a.label)&&n.jsx(v,{children:a.label})]}),null!=t&&t.seconds?n.jsx(d.y,{close:r,autoClose:t.auto,duration:t.seconds}):n.jsx(g,{webos:l,"data-a":"intr",onClick:r,type:"button","data-close-btn":"true",children:n.jsx(h,{"data-a":"intr",name:"icon-cross"})})]})};
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),l=require("./sl-types.js"),e=l.styled_default("div")({name:"Container",class:"cqg02m",propsAsIs:!1}),c=({children:s,style:t,loading:i})=>i?n.jsx(e,{style:t,children:s}):s;exports.e=e;exports.i=c;
|
package/lib/cjs/index11.js
CHANGED
|
@@ -1,3 +1 @@
|
|
|
1
|
-
"use strict";require("
|
|
2
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
3
|
-
var e,t,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function a(s,r,o,i){var a=r&&r.prototype instanceof l?r:l,u=Object.create(a.prototype);return n(u,"_invoke",function(s,n,r){var o,i,a,l=0,u=r||[],d=!1,p={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,s){return o=t,i=0,a=e,p.n=s,c}};function f(s,n){for(i=s,a=n,t=0;!d&&l&&!r&&t<u.length;t++){var r,o=u[t],f=p.p,y=o[2];s>3?(r=y===n)&&(a=o[(i=o[4])?5:(i=3,3)],o[4]=o[5]=e):o[0]<=f&&((r=s<2&&f<o[1])?(i=0,p.v=n,p.n=o[1]):f<y&&(r=s<3||o[0]>n||n>y)&&(o[4]=s,o[5]=n,p.n=y,i=0))}if(r||s>1)return c;throw d=!0,n}return function(r,u,y){if(l>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,y),i=u,a=y;(t=i<2?e:a)||!d;){o||(i?i<3?(i>1&&(p.n=-1),f(i,a)):p.n=a:p.v=a);try{if(l=2,o){if(i||(r="next"),t=o[r]){if(!(t=t.call(o,a)))throw TypeError("iterator result is not an object");if(!t.done)return t;a=t.value,i<2&&(i=0)}else 1===i&&(t=o.return)&&t.call(o),i<2&&(a=TypeError("The iterator does not provide a '"+r+"' method"),i=1);o=e}else if((t=(d=p.n<0)?a:s.call(n,p))!==c)break}catch(m){o=e,i=1,a=m}finally{l=1}}return{value:t,done:d}}}(s,o,i),!0),u}var c={};function l(){}function u(){}function d(){}t=Object.getPrototypeOf;var p=[][o]?t(t([][o]())):(n(t={},o,function(){return this}),t),f=d.prototype=l.prototype=Object.create(p);function y(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,n(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=d,n(f,"constructor",d),n(d,"constructor",u),u.displayName="GeneratorFunction",n(d,i,"GeneratorFunction"),n(f),n(f,i,"Generator"),n(f,o,function(){return this}),n(f,"toString",function(){return"[object Generator]"}),(s=function(){return{w:a,m:y}})()}function n(e,t,s,r){var o=Object.defineProperty;try{o({},"",{})}catch(i){o=0}(n=function(e,t,s,r){function i(t,s){n(e,t,function(e){return this._invoke(t,s,e)})}t?o?o(e,t,{value:s,enumerable:!r,configurable:!r,writable:!r}):e[t]=s:(i("next",0),i("throw",1),i("return",2))})(e,t,s,r)}function r(e,t,s,n,r,o,i){try{var a=e[o](i),c=a.value}catch(l){return void s(l)}a.done?t(c):Promise.resolve(c).then(n,r)}function o(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,n)}return s}function i(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?o(Object(s),!0).forEach(function(t){a(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):o(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function a(e,t,s){return(t=d(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var s=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=s){var n,r,o,i,a=[],c=!0,l=!1;try{if(o=(s=s.call(e)).next,0===t){if(Object(s)!==s)return;c=!1}else for(;!(c=(n=o.call(s)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(u){l=!0,r=u}finally{try{if(!c&&null!=s.return&&(i=s.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var s={}.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=Array(t);s<t;s++)n[s]=e[s];return n}function u(e,t){for(var s=0;s<t.length;s++){var n=t[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function d(t){var s=function(t,s){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,s||"default");if("object"!=e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(t)}(t,"string");return"symbol"==e(s)?s:s+""}var p=require("react/jsx-runtime"),f=require("react"),y=require("./sl-types.js"),m=require("./index9.js"),j=require("./index6.js"),h=require("./useStreamLayerApp2.js"),v=require("./index14.js"),x=require("./index5.js"),I=y.styled_default("div")({name:"SDKContainer",class:"sopqfe6",propsAsIs:!1}),b=y.styled_default("div")({name:"SDKScrollContainer",class:"s102vcph",propsAsIs:!1}),T=y.styled_default("div")({name:"SDKContentContainer",class:"s1meqjjv",propsAsIs:!1}),A=y.styled_default(T)({name:"SDKWhiteContainer",class:"s1burm22",propsAsIs:!0}),g=y.styled_default(A)({name:"SDKSummaryContainer",class:"sm5r3j5",propsAsIs:!0}),w=y.styled_default("div")({name:"TabsContainer",class:"tysxwr6",propsAsIs:!1}),C=y.styled_default(T)({name:"LeaderboardContainer",class:"l9er3b1",propsAsIs:!0}),E=y.styled_default(A)({name:"TabsNavContainer",class:"t19dtrb3",propsAsIs:!0}),q=y.styled_default("div")({name:"UserSummaryContainer",class:"u1552n3j",propsAsIs:!1}),P=Object.defineProperty,O=function(e,t,s){return function(e,t,s){return t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s}(e,t+"",s)},_=new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),O(this,"observers",new Set)},t=[{key:"subscribe",value:function(e){this.observers.add(e)}},{key:"unsubscribe",value:function(e){this.observers.delete(e)}},{key:"notify",value:function(e){this.observers.forEach(function(t){return t(e)})}}],t&&u(e.prototype,t),s&&u(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,s}()),S={hiding:!1,finished:!1},k=function(){var e=c(f.useState(S),2),t=e[0],s=e[1],n=f.useRef(null);f.useEffect(function(){var e=function(e){s(e)};return _.subscribe(e),function(){_.unsubscribe(e)}},[]);var r=f.useCallback(function(e){var t={hiding:!0,finished:!1};n.current&&clearTimeout(n.current),null!=e&&e.delay?n.current=setTimeout(function(){_.notify(t)},null==e?void 0:e.delay):_.notify(t)},[]),o=f.useCallback(function(){t.hiding&&(n.current=null,_.notify({hiding:!1,finished:!0}))},[t.hiding]);return i(i({},t),{},{runAnimation:r,onAnimationEnd:o})},Q=y.styled_default("div")({name:"Container",class:"c1pgyo67",propsAsIs:!1}),D=function(e){var t=e.children,s=e.style,n=e.className,r=e.enabled,o=void 0===r||r,i=e.hiding,a=e.onAnimationEnd;return p.jsx(Q,{style:s,className:y.cx_default(n,o&&"sx17qu6",o&&i&&"h1692c5m"),onAnimationEnd:a,children:t})},R=y.styled_default(D)({name:"GrowingContainer",class:"gck55ev",propsAsIs:!0}),N=function(e){var s,n,r,o=e.children,a=e.style,c=e.enabled,l=e.animate,u=function(e,t){if(null==e)return{};var s,n,r=function(e,t){if(null==e)return{};var s={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;s[n]=e[n]}return s}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)s=o[n],-1===t.indexOf(s)&&{}.propertyIsEnumerable.call(e,s)&&(r[s]=e[s])}return r}(e,t),d=f.useRef(null);return p.jsx(R,i(i({},u),{},{enabled:c&&l,style:i(i({},a),(s=null==d?void 0:d.current,n=s&&window.getComputedStyle(s),r=null==n?void 0:n.getPropertyValue("height"),c?{height:l?r:0}:{})),children:p.jsx("div",{ref:d,children:o})}))},V=y.styled_default("div")({name:"Container",class:"c1gcvmcj",propsAsIs:!1}),L=y.styled_default("div")({name:"Title",class:"tnr592a",propsAsIs:!1}),F=y.styled_default("div")({name:"Description",class:"d1e8jqpv",propsAsIs:!1}),B=y.styled_default(j.B1)({name:"Icon",class:"i1vs651k",propsAsIs:!0}),M=function(e){var t=e.icon,s=e.title,n=e.description;return p.jsxs(V,{children:[p.jsx(B,{name:t}),p.jsx(L,{children:s}),p.jsx(F,{children:n})]})},W=y.styled_default(N)({name:"ShowInContainer",class:"s16sbdnm",propsAsIs:!0}),Y=y.styled_default("div")({name:"FeedbackContainer",class:"fbhorgl",propsAsIs:!1}),z="s1g20ja7",G=y.styled_default("div")({name:"Container",class:"c455ozj",propsAsIs:!1}),U=y.styled_default(j.B1)({name:"IconPrediction",class:"i1913njx",propsAsIs:!0}),K=y.styled_default("div")({name:"FeedbackIconWrap",class:"fzfk69z",propsAsIs:!1}),H=y.styled_default("div")({name:"FeedbackHeader",class:"fx87qaj",propsAsIs:!1}),$=y.styled_default("span")({name:"FeedbackTitle",class:"fvek9ew",propsAsIs:!1}),J=y.styled_default("span")({name:"FeedbackDescription",class:"f1kbtp09",propsAsIs:!1}),X=y.styled_default("div")({name:"FeedbackTitleWrap",class:"f4i8rro",propsAsIs:!1}),Z=y.styled_default("div")({name:"FeedbackResultDescriptionWrap",class:"fqyssr",propsAsIs:!1}),ee=y.styled_default(J)({name:"FeedbackDynamicDescription",class:"fyv794i",propsAsIs:!0}),te=y.styled_default(J)({name:"FeedbackResultDescription",class:"f1jkj9vx",propsAsIs:!0}),se=y.styled_default("div")({name:"FeedbackText",class:"f1pxh3a6",propsAsIs:!1}),ne=y.styled_default("span")({name:"DynamicWrap",class:"d1afvufn",propsAsIs:!1}),re=y.styled_default("div")({name:"EarlyFeedbackDescription",class:"eq8u24d",propsAsIs:!1}),oe=function(e){var t=e.feedbackMessages,s=e.questionVotedCorrectly,n=e.questionVoted,r=e.questionType,o=e.hasCorrectAnswer,i=e.showExpiredNotification,a=e.showClosedNotificationTrivia,c=e.votedInCurrentRender,l=e.votedAfterQuestionClosed,u=e.voteErrorMessage,d=e.enteredAnActiveQuestion,f=e.marketClosed,m=e.percentsAnimated,v=e.votedAnswer,x=e.isEarlyPrediction,I=e.correctAnswer,b=e.onAnimationEnd,T=n&&(r===h.QuestionType.TRIVIA||r===h.QuestionType.PREDICTION),A=r===h.QuestionType.PREDICTION&&!o,g=f&&r===h.QuestionType.PREDICTION&&!n||r===h.QuestionType.PREDICTION&&l&&c&&d,w=T&&A,C=T&&o,E=r===h.QuestionType.PREDICTION&&n&&c&&o,q=n&&r===h.QuestionType.POLL&&c,P=s?"correct":"incorrect",O=s?null==t?void 0:t.correctFeedback:null==t?void 0:t.incorrectFeedback;return i||a||w||C||g||q||E||u?p.jsx(W,{enabled:c,animate:!(u||!i)||m,onAnimationEnd:b,children:p.jsxs(G,{"data-prediction":A,children:[u&&!g&&p.jsxs(Y,{children:[!x&&p.jsx(U,{name:"questionExpired"}),p.jsx(J,{children:u})]}),!u&&i&&p.jsxs(Y,{children:[!x&&p.jsx(K,{children:p.jsx(j.B1,{name:"questionExpired"})}),p.jsxs("div",{children:[p.jsx(H,{children:p.jsx(J,{children:"Question Expired"})}),p.jsx(se,{children:"You can still answer to see if you're correct, but no points are awarded for expired questions."})]})]}),!u&&a&&p.jsxs(Y,{className:y.cx_default(z),children:[p.jsx(K,{children:p.jsx(j.B1,{name:"questionExpired"})}),p.jsxs("div",{children:[p.jsx(H,{children:p.jsx(J,{children:"Question Closed"})}),p.jsx(se,{children:"This question was answered after the moderator closed the question. So the points for this answer won’t tally."})]})]}),g&&p.jsxs(Y,{children:[!x&&p.jsx(K,{children:p.jsx(j.B1,{name:"questionExpired"})}),p.jsxs("div",{children:[p.jsx(H,{children:p.jsx(J,{children:x?o?"The results are already in!":"Question is Closed":"Question Closed"})}),p.jsx(se,{children:x?p.jsx(re,{children:o?"Correct: ".concat(null==I?void 0:I.text):"Event affecting the outcome has occurred."}):"This event has already taken place, so the ability to make a prediction on its outcome is no longer available."})]})]}),!u&&w&&p.jsxs(Y,{children:[!x&&p.jsx(U,{name:"icon-prediction"}),p.jsxs(ee,{children:["Your pick has been recorded. ",p.jsx(ne,{children:"We’ll notify you of the result."})]})]}),!u&&q&&p.jsxs(Y,{children:[!x&&p.jsx(K,{"data-feedback-type":"correct",children:p.jsx(j.B1,{name:"correct"})}),p.jsx(J,{children:"Thanks for answering. Please stay tuned for the next question."})]}),!u&&(C||E)&&p.jsxs(Y,{className:y.cx_default(a&&z),children:[!x&&p.jsx(K,{"data-feedback-type":P,children:p.jsx(j.B1,{name:P})}),p.jsx("div",{children:p.jsxs(H,{children:[x?p.jsx(X,{children:"incorrect"===P?p.jsxs(p.Fragment,{children:[p.jsx("div",{children:"So close!"}),p.jsx("div",{children:"Better luck next time"})]}):p.jsxs(p.Fragment,{children:[p.jsx("div",{children:"That’s correct!"}),p.jsx("div",{children:"You chose wisely."})]})}):p.jsx($,{"data-feedback-type":P,children:null==O?void 0:O.title}),x?p.jsxs(Z,{children:[p.jsxs("div",{children:["Your pick: ",null==v?void 0:v.text]}),p.jsx("div",{children:"incorrect"===P?"Correct: ".concat(null==I?void 0:I.text):""})]}):p.jsx(te,{children:null==O?void 0:O.description})]})})]})]})}):null},ie=y.styled_default("div")({name:"Container",class:"c1hygj0s",propsAsIs:!1}),ae=y.styled_default("div")({name:"Title",class:"t1r84tez",propsAsIs:!1}),ce=y.styled_default("div")({name:"Description",class:"d1aj1a7k",propsAsIs:!1}),le=y.styled_default("div")({name:"AdditionalDescription",class:"ax09ezs",propsAsIs:!1}),ue=y.styled_default(j.B1)({name:"Icon",class:"inkrac",propsAsIs:!0}),de=function(e){var t=e.icon,s=e.title,n=e.description,r=e.additionalDescription;return p.jsxs(ie,{children:[t&&p.jsx(ue,{name:t}),p.jsx(ae,{children:s}),p.jsx(ce,{children:n}),r&&p.jsx(le,{children:r})]})},pe=y.styled_default("div")({name:"Container",class:"c14ielyq",propsAsIs:!1}),fe=y.styled_default(b)({name:"QuestionScrollContainer",class:"q1tlqx57",propsAsIs:!0}),ye=y.styled_default("div")({name:"TopShadow",class:"t1hq58md",propsAsIs:!1}),me=y.styled_default("div")({name:"BottomShadow",class:"b1c8nxcx",propsAsIs:!1}),je=y.styled_default("div")({name:"SponsorLogo",class:"siozuc3",propsAsIs:!1}),he=y.styled_default("div")({name:"Content",class:"cpnc44r",propsAsIs:!1}),ve=y.styled_default("div")({name:"Title",class:"tq7p3w0",propsAsIs:!1}),xe=y.styled_default("div")({name:"OptionsWrap",class:"o1jlfj9g",propsAsIs:!1}),Ie=y.styled_default("div")({name:"Options",class:"o84pmnd",propsAsIs:!1}),be=y.styled_default(D)({name:"AlertContainer",class:"a1dybjw9",propsAsIs:!0}),Te=y.styled_default("div")({name:"EarlyPrediction",class:"e1l05ict",propsAsIs:!1}),Ae=y.styled_default(j.B1)({name:"EarlyPredictionIcon",class:"ez9juex",propsAsIs:!0}),ge=y.styled_default(j.B1)({name:"SponsorIcon",class:"s8p4aob",propsAsIs:!0}),we=y.styled_default("button")({name:"ButtonContainer",class:"b1b6dl8t",propsAsIs:!1}),Ce=y.styled_default("div")({name:"ButtonPctWrap",class:"b4iik8i",propsAsIs:!1}),Ee=y.styled_default("div")({name:"ButtonPct",class:"b1gq1lnf",propsAsIs:!1}),qe=y.styled_default("span")({name:"ButtonBody",class:"b1j65z51",propsAsIs:!1}),Pe=y.styled_default("div")({name:"IconContainer",class:"i19tpfua",propsAsIs:!1}),Oe=y.styled_default("div")({name:"IconWrap",class:"i1tubmma",propsAsIs:!1}),_e=y.styled_default("img")({name:"Icon",class:"i1grrgwj",propsAsIs:!1}),Se=y.styled_default(_e)({name:"IconDefault",class:"ibemyq8",propsAsIs:!0}),ke=y.styled_default(_e)({name:"IconCircle",class:"i1dceht",propsAsIs:!0}),Qe=y.styled_default("span")({name:"Title",class:"t116q4vq",propsAsIs:!1}),De=y.styled_default("span")({name:"Indicators",class:"i17ajcu2",propsAsIs:!1}),Re=y.styled_default("div")({name:"PtsWrap",class:"pu9kmlb",propsAsIs:!1}),Ne=y.styled_default("span")({name:"Pts",class:"p1j2j0s0",propsAsIs:!1}),Ve=y.styled_default("span")({name:"Percentage",class:"p1mzj1sj",propsAsIs:!1}),Le=y.styled_default(j.B1)({name:"CheckIcon",class:"cichgz8",propsAsIs:!0}),Fe=a(a(a(a(a({},h.QuestionImages.CENTERED,function(e){return p.jsx(Se,{"data-testid":"vote-icon",alt:"option-icon",src:e})}),h.QuestionImages.TRANSPARENT,function(e){return p.jsx(Pe,{"data-testid":"vote-icon",children:p.jsx(Oe,{style:{backgroundImage:"url(".concat(e,")")}})})}),h.QuestionImages.ROUNDED,function(e){return p.jsx(ke,{"data-testid":"vote-icon",alt:"option-icon",src:e})}),h.QuestionImages.NONE,function(){return null}),h.QuestionImages.UNSET,function(){return null}),Be=v.O(we),Me=function(e){var t,s=e.id,n=e.icon,r=e.text,o=e.percentageDecimal,i=e.points,a=e.onVote,l=e.markThatVoted,u=e.firstOption,d=e.onPercentsAnimated,y=e.youSelected,m=e.youVoted,j=e.questionVoted,v=e.imageMode,I=e.answerTimeExpired,b=e.questionStatus,T=e.isLoading,A=e.questionType,g=e.correct,w=e.hasCorrectAnswer,C=e.marketClosed,E=e.isEarlyPrediction,q=e.isAd,P=e.webos,O=c(f.useState(0),2),_=O[0],S=O[1],k=function(e){var t=e.questionType,s=e.hasCorrectAnswer,n=e.correct,r=e.youVoted,o=e.questionVoted;if(t===h.QuestionType.POLL&&r)return"voted";if(t===h.QuestionType.PREDICTION){if(!s&&o)return r?"voted":"unset";if(s&&o)return r?n?"correct":"incorrect":"unset";if(r)return"correct"}return t===h.QuestionType.TRIVIA&&o&&r?n?"correct":"incorrect":"unset"}(e),Q=function(e){var t=e.questionType,s=e.questionVoted,n=e.correct,r=e.hasCorrectAnswer,o=e.questionStatus;return t===h.QuestionType.TRIVIA?s&&n:t===h.QuestionType.PREDICTION&&(s&&n&&r||o===h.QuestionStatus.RESOLVED&&n)}({questionType:A,questionVoted:j,correct:g,hasCorrectAnswer:w,questionStatus:b}),D=C&&A===h.QuestionType.PREDICTION,R=j||D,N=A===h.QuestionType.PREDICTION&&!j&&!C&&!q,V=j&&!y&&"incorrect"!==k&&!m;return f.useLayoutEffect(function(){S(0),requestAnimationFrame(function(){S(o)})},[o]),p.jsxs(Be,{value:s,webos:P,autoFocus:u,"data-selected":y,"data-answer-state":k,disabled:j||T||I||D,"data-is-not-checked":V,"data-a":"intr",onClick:function(e){l(A===h.QuestionType.PREDICTION?C:b===h.QuestionStatus.RESOLVED),a(e)},"data-is-ad":q,children:[p.jsx(Ce,{children:p.jsx(Ee,{"data-answer-state":k,"data-is-not-checked":V,style:{width:"".concat(R?_:0,"%")},onTransitionEnd:function(){D||null==d||d()},"data-is-ad":q})}),p.jsxs(qe,{"data-a":"intr",children:[n&&v&&(null==(t=Fe[v])?void 0:t.call(Fe,n)),p.jsx(Qe,{"data-a":"intr",children:r}),N&&p.jsxs(Re,{children:[i,p.jsx(Ne,{children:"pts"})]}),R&&p.jsxs(De,{children:[Q&&p.jsx(Le,{name:E?"selectedBetPack":"selected"}),p.jsx(Ve,{children:p.jsx(x.d,{value:o,suffix:"%"})})]})]})]})},We=y.styled_default(N)({name:"ShowInContainer",class:"sie6cqo",propsAsIs:!0}),Ye=y.styled_default("div")({name:"WinBarContainer",class:"wgizw4u",propsAsIs:!1}),ze=y.styled_default("div")({name:"Content",class:"c1l3ucjp",propsAsIs:!1}),Ge=y.styled_default("div")({name:"Title",class:"tx7j799",propsAsIs:!1}),Ue=y.styled_default(j.B1)({name:"WinIcon",class:"w4lwuj0",propsAsIs:!0}),Ke=y.styled_default("div")({name:"Points",class:"po9i64o",propsAsIs:!1}),He=y.styled_default("span")({name:"PointsCount",class:"pe5g05h",propsAsIs:!1}),$e=y.styled_default("span")({name:"PointsUnits",class:"p1hdtpmb",propsAsIs:!1}),Je=function(e){var t=e.title,s=e.points,n=e.isPlayingTimer,r=e.isTimer,o=e.animatePoints,i=e.questionType,a=e.timerDuration,c=e.votedInCurrentRender,l=e.percentsAnimated,u=e.onTimerExpired;return p.jsx(We,{enabled:i===h.QuestionType.PREDICTION&&c,animate:l,children:p.jsxs(Ye,{style:{justifyContent:i===h.QuestionType.PREDICTION?"center":"space-between"},children:[p.jsxs(ze,{children:[t&&p.jsx(Ge,{children:t}),void 0!==s&&i!==h.QuestionType.POLL&&p.jsxs(p.Fragment,{children:[p.jsx(Ue,{name:"icon-trophy"}),p.jsxs(Ke,{children:[p.jsx(He,{children:o?p.jsx(x.d,{value:s,delay:.3}):s}),p.jsx($e,{children:"PTS"})]})]})]}),r&&i!==h.QuestionType.PREDICTION&&p.jsx(v.L,{isPlaying:n,onTimerExpired:u,duration:a})]})})},Xe=function(e,t){return"already_voted"===e?t===h.QuestionType.POLL?"You’ve already answered this question on another device.":"You’ve already answered this question on another device. So the points for this answer won't tally.":"Something went wrong, please try again"};exports.C=C,exports.S=k,exports.S$1=E,exports.a=A,exports.c=b,exports.d=q,exports.ee=function(e){var t,n,o=e.openedQuestion,a=e.isLoading,l=e.vote,u=e.close,d=e.isEarlyPrediction,y=e.mastersApp,m=e.webos,j=o.subject,v=o.type,x=o.status,I=null==(t=o.options)?void 0:t.options,b=o.marketClosed,T=o.id,A=f.useRef(),g=f.useRef(),w=!y&&(null==o?void 0:o.adUnit)===h.AdUnit.STANDART,C=c(f.useState(!1),2),E=C[0],q=C[1],P=c(f.useState(!1),2),O=P[0],_=P[1],S=c(f.useState(!0),2),Q=S[0],D=S[1],R=c(f.useState(!1),2),N=R[0],V=R[1],L=c(f.useState(!1),2),F=L[0],B=L[1],W=c(f.useState(""),2),Y=W[0],z=W[1],G=c(f.useState(""),2),U=G[0],K=G[1],H=c(f.useState(!1),2),$=H[0],J=H[1],X=c(f.useState(!1),2),Z=X[0],ee=X[1],te=c(f.useState(!1),2),se=te[0],ne=te[1],re=k(),ie=re.runAnimation,ae=re.finished;f.useEffect(function(){ae&&u(T)},[u,ae]),f.useEffect(function(){v===h.QuestionType.PREDICTION?b&&D(!1):x===h.QuestionStatus.RESOLVED&&D(!1)},[]);var ce=f.useCallback(function(e){_(e),q(!0)},[]),le=f.useCallback(function(){d&&q(!1)},[d]),ue=f.useRef(!1),we=f.useCallback(function(){g.current&&clearTimeout(g.current),g.current=setTimeout(function(){ne(!0),ie({delay:5500})},4e3)},[ie]),Ce=f.useCallback(function(){var e,t=(e=s().m(function e(t){var n,r;return s().w(function(e){for(;;)switch(e.p=e.n){case 0:if(ue.current||(ue.current=!0,!T)){e.n=4;break}return n=t.currentTarget.value,z(n),e.p=1,e.n=2,l(T,n);case 2:w&&we(),e.n=4;break;case 3:e.p=3,r=e.v,K(Xe(r.message,v)),z(""),console.error("Error while voting",r),ue.current=!1;case 4:return e.a(2)}},e,null,[[1,3]])}),function(){var t=this,s=arguments;return new Promise(function(n,o){var i=e.apply(t,s);function a(e){r(i,n,o,a,c,"next",e)}function c(e){r(i,n,o,a,c,"throw",e)}a(void 0)})});return function(e){return t.apply(this,arguments)}}(),[v,T,z,l,w,we]),Ee=f.useCallback(function(){V(!0),ie({delay:3500})},[ie]),qe=f.useCallback(function(){B(!0),ie({delay:3500})},[ie]),Pe=null==o?void 0:o.answers.find(function(e){return!0===e.youVoted}),Oe=f.useMemo(function(){return!(null==o||!o.answers.find(function(e){return!0===e.correct}))},[o]),_e=f.useMemo(function(){return null==o?void 0:o.answers.find(function(e){return!0===e.correct})},[o]);f.useEffect(function(){Pe&&E&&!Z&&(A.current=setTimeout(qe,1e4),ee(!0))},[Pe]),f.useEffect(function(){return function(){clearTimeout(A.current),clearTimeout(g.current)}},[]);var Se=f.useMemo(function(){return o?o.answers.map(function(e){var t;return i(i({},e),{},{questionVoted:!!Pe,youSelected:Y===e.id,isLoading:a,hasCorrectAnswer:Oe,questionType:o.type,answerTimeExpired:N,questionStatus:x,imageMode:null==(t=o.appearance)?void 0:t.images,onVote:Ce})}):[]},[Oe,N,a,o,Pe,x,Ce,Y]);f.useEffect(function(){var e=Se.some(function(e){return 0!==e.percentageDecimal}),t=Pe&&v===h.QuestionType.PREDICTION;U&&(d||!e||b&&t)&&J(!0)},[Se,U,d,b,v,Pe]);var ke=!I||"trivia"!==I.case&&"prediction"!==I.case?void 0:I.value,Qe=x===h.QuestionStatus.RESOLVED&&v===h.QuestionType.TRIVIA&&!Pe&&!Q,De=v===h.QuestionType.TRIVIA&&O,Re=f.useMemo(function(){return!w&&(v!==h.QuestionType.PREDICTION||!d&&!!(Pe&&!Oe||Pe&&Oe&&null!=_e&&_e.youVoted))},[v,Pe,Oe,_e,d,w]),Ne=f.useMemo(function(){return v===h.QuestionType.PREDICTION&&Pe&&(!Oe||Oe&&null!=_e&&_e.youVoted)?Pe.points:Qe||N?void 0:Pe?Pe.correct?Pe.pointsEarned:0:null==_e?void 0:_e.points},[N,Pe,_e,Qe,v,Oe]),Ve=f.useMemo(function(){return v===h.QuestionType.PREDICTION&&Pe?Oe?Oe&&null!=_e&&_e.youVoted?"You won":"":"To win":Qe||N?"Time expired":v===h.QuestionType.POLL?"Time remaining":Pe?"You won":"To win"},[N,v,Pe,Qe,Oe,_e]),Le=!Re||Re&&v===h.QuestionType.PREDICTION&&E&&!$,Fe=(v===h.QuestionType.TRIVIA||v===h.QuestionType.PREDICTION)&&Pe&&Oe&&(null==_e?void 0:_e.youVoted),Be=Pe||Qe||De||v===h.QuestionType.TRIVIA&&x===h.QuestionStatus.RESOLVED&&Q,We=!d&&(N||F)||se;return p.jsxs(fe,{children:[d&&p.jsx(ye,{}),p.jsx(pe,{style:d?{marginTop:"-40px"}:{},children:p.jsxs(he,{children:[!d&&!w&&p.jsx(oe,{feedbackMessages:ke,questionVoted:!!Pe,questionVotedCorrectly:null==Pe?void 0:Pe.correct,questionType:v,hasCorrectAnswer:Oe,showExpiredNotification:Qe,showClosedNotificationTrivia:De,votedInCurrentRender:E,votedAfterQuestionClosed:O,enteredAnActiveQuestion:Q,marketClosed:b,percentsAnimated:$,voteErrorMessage:U,votedAnswer:Pe}),Re&&p.jsx(Je,{title:Ve,points:Ne,onTimerExpired:Ee,questionType:o.type,isTimer:!a,isPlayingTimer:!Pe,animatePoints:Fe,timerDuration:Be?0:Number((null==(n=null==o?void 0:o.appearance)?void 0:n.autoHideInterval)||"30"),votedInCurrentRender:E,percentsAnimated:$}),We?se?p.jsx(be,{children:p.jsx(de,i(i({title:v===h.QuestionType.TRIVIA?null!=Pe&&Pe.correct?"That's correct!\nYou chose wisely.":"So close!\nBetter luck next time.":v===h.QuestionType.POLL?"Thanks for answering.\nPlease stay tuned for the next question.":v===h.QuestionType.PREDICTION?"Stay tuned to see if your prediction was correct.":"",description:v===h.QuestionType.TRIVIA?"Your Pick: ".concat(null==_e?void 0:_e.text):v===h.QuestionType.POLL||v===h.QuestionType.PREDICTION?"Your Pick: ".concat(null==Pe?void 0:Pe.text):""},null!=Pe&&Pe.correct||v===h.QuestionType.POLL||v===h.QuestionType.PREDICTION?{icon:"icon-correct"}:{}),v===h.QuestionType.TRIVIA||v===h.QuestionType.PREDICTION?{additionalDescription:v===h.QuestionType.TRIVIA&&"trivia"===(null==I?void 0:I.case)?null==I?void 0:I.value.explanation:v===h.QuestionType.PREDICTION?j:""}:{}))}):d||!N&&!F?null:p.jsx(be,{children:p.jsx(M,{icon:"icon-check-circle",title:"More to come...",description:F?p.jsxs(p.Fragment,{children:["Stay tuned for more questions ",p.jsx("br",{})," and insights."]}):p.jsxs(p.Fragment,{children:["Watch for additional enhanced stream ",p.jsx("br",{})," interactive experience."]})})}):p.jsxs(p.Fragment,{children:[d&&p.jsxs(Te,{children:[p.jsx(Ae,{name:"iconEarlyPrediction"}),"EARLY PREDICTION"]}),p.jsx(ve,{style:Le?{marginTop:0}:{},children:j}),d&&p.jsx(oe,{feedbackMessages:ke,questionVoted:!!Pe,questionVotedCorrectly:null==Pe?void 0:Pe.correct,questionType:v,hasCorrectAnswer:Oe,showExpiredNotification:Qe,showClosedNotificationTrivia:De,votedInCurrentRender:E,votedAfterQuestionClosed:O,enteredAnActiveQuestion:Q,marketClosed:b,percentsAnimated:$,voteErrorMessage:U,isEarlyPrediction:d,correctAnswer:_e,votedAnswer:Pe,onAnimationEnd:le}),p.jsxs(xe,{children:[p.jsx(Ie,{children:Se.sort(function(e,t){return e.id>t.id?1:-1}).map(function(e,t){return p.jsx(Me,i(i({},e),{},{firstOption:0===t,markThatVoted:ce,onPercentsAnimated:function(){return J(!0)},votedAfterQuestionClosed:O,enteredAnActiveQuestion:Q,marketClosed:b,isEarlyPrediction:d,isAd:w,webos:m}),e.id)})}),d&&p.jsxs(p.Fragment,{children:[p.jsx(me,{}),p.jsx(je,{children:p.jsx(ge,{name:"mastersLogoWhite"})})]})]})]})]})})]})},exports.f=D,exports.l=w,exports.m=g,exports.n=T,exports.p=I,exports.te=function(){return p.jsx(pe,{children:p.jsxs(he,{children:[p.jsx(m.i,{loading:!0,style:{height:"40px",borderRadius:"100px"}}),p.jsx(m.i,{loading:!0,style:{height:"24px",margin:"16px 0"}}),p.jsx(Ie,{children:Array.from({length:5}).map(function(e,t){return p.jsx(m.i,{loading:!0,style:{height:"44px"}},t)})})]})})};
|
|
1
|
+
"use strict";const t=require("./sl-types.js"),a=require("./useStreamLayerApp2.js"),e=require("react/jsx-runtime"),I=require("react"),v=require("./index15.js"),h=require("./index8.js"),U={[a.QuestionType.TWEET]:{label:"Insight",iconName:"icon-insight"},[a.QuestionType.PROMOTION]:{label:"Insight",iconName:"icon-insight"},[a.QuestionType.UNSET]:void 0,[a.QuestionType.FACTOID]:{label:"Insight",iconName:"icon-insight"},[a.QuestionType.POLL]:{label:"Poll",iconName:"icon-poll"},[a.QuestionType.TRIVIA]:{label:"Trivia",iconName:"icon-trivia"},[a.QuestionType.PREDICTION]:{label:"Prediction",iconName:"icon-prediction"}},_={[a.QuestionType.TWEET]:"Learn more",[a.QuestionType.FACTOID]:"Learn more",[a.QuestionType.POLL]:"Answer",[a.QuestionType.TRIVIA]:"Answer",[a.QuestionType.PREDICTION]:"Answer",[a.QuestionType.PROMOTION]:"",[a.QuestionType.UNSET]:""},$=i=>i.split(/\s+/).map(n=>n[0]).join("").toUpperCase(),w=i=>i?i.toLocaleString("en-US"):"0",L=i=>{const n=new Date(i);if(!n)return"";const o=new Date,r=Math.floor(o.getTime()-n.getTime());return r<6e4?`${Math.floor(r/1e3)}s`:r<36e5?`${Math.floor(r/6e4)}m`:r<864e5?`${Math.floor(r/36e5)}h`:n.getFullYear()===o.getFullYear()?`${n.toLocaleDateString("en-US",{month:"short",day:"numeric"})}`:`${n.toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"2-digit"})}`},D=t.styled_default("div")({name:"Container",class:"cjq447q",propsAsIs:!1}),Q=t.styled_default("div")({name:"ImageContainer",class:"i14egogb",propsAsIs:!1}),S=t.styled_default("img")({name:"Image",class:"i2g9g4l",propsAsIs:!1}),H=()=>h.B1,O=t.styled_default(H())({name:"TwitterIcon",class:"t1c454nm",propsAsIs:!0}),E=t.styled_default("div")({name:"Details",class:"d11nigc3",propsAsIs:!1}),b=t.styled_default("div")({name:"Name",class:"nrxa4k8",propsAsIs:!1}),q=t.styled_default("div")({name:"UserNameAndDate",class:"u1p051g3",propsAsIs:!1}),j=({image:i,name:n,userName:o,verified:r,createdTweet:m})=>{const c=m&&L(m);return e.jsxs(D,{children:[i&&e.jsxs(Q,{children:[e.jsx(S,{className:"SL_AccountImage",src:i}),e.jsx(O,{name:"twitter"})]}),e.jsxs(E,{children:[n&&e.jsxs(b,{className:"SL_TweetAccountName",children:[n," ",r&&e.jsx(h.B1,{name:"icon-twitter-verified"})]}),o&&e.jsxs(q,{className:"SL_TweetAccountUserName",children:["@",o," ",c&&`・ ${c}`]})]})]})},C=t.styled_default("div")({name:"Container",class:"c1kzqw87",propsAsIs:!1}),R=t.styled_default("div")({name:"Details",class:"d9r1hf9",propsAsIs:!1}),P=t.styled_default("div")({name:"Body",class:"bezygt5",propsAsIs:!1}),d=t.styled_default("div")({name:"ImagesContainer",class:"i1y8f7ym",propsAsIs:!1}),g=t.styled_default("div")({name:"ImagesBlock",class:"i18gwonx",propsAsIs:!1}),T=t.styled_default("img")({name:"Image",class:"i3g0xjd",propsAsIs:!1}),F=()=>T,l=t.styled_default(F())({name:"ImageFullSize",class:"io8rt7p",propsAsIs:!0}),M=()=>T,f=t.styled_default(M())({name:"ImageHalfSize",class:"i4hn3ox",propsAsIs:!0}),V=new RegExp("\\s?https?://t.co[^\\s]+(\\s+)?$"),A=i=>i?.replace(V,""),z=I.memo(({image:i,body:n,muted:o,account:r,accountVerified:m,tweet:c,isDetail:y,controlVideo:N})=>{const s=c?.meta?.extendedEntities?.media,p=s?.find(({type:u})=>u==="photo"),x=I.useMemo(()=>s?.[0]?.videoInfo?.variants?.findLast(({contentType:u})=>u==="video/mp4")?.url,[s]);return e.jsxs(C,{children:[e.jsxs(R,{children:[e.jsx(j,{image:i,name:c?.meta?.accountName,userName:r,verified:m,createdTweet:c?.date}),e.jsx(P,{children:A(n)}),!y&&p&&e.jsx(d,{children:e.jsx(l,{src:s?.[0].mediaUrlHttps})}),y&&p&&e.jsxs(e.Fragment,{children:[s?.length===1&&e.jsx(d,{children:e.jsx(l,{src:s[0].mediaUrlHttps})}),s?.length===2&&e.jsxs(d,{children:[e.jsx(f,{src:s[0].mediaUrlHttps}),e.jsx(f,{src:s[1].mediaUrlHttps})]}),s?.length===3&&e.jsxs(d,{children:[e.jsx(f,{src:s[0].mediaUrlHttps}),e.jsxs(g,{children:[e.jsx(l,{src:s[1].mediaUrlHttps}),e.jsx(l,{src:s[2].mediaUrlHttps})]})]}),s?.length===4&&e.jsxs(d,{children:[e.jsxs(g,{children:[e.jsx(l,{src:s[0].mediaUrlHttps}),e.jsx(l,{src:s[1].mediaUrlHttps})]}),e.jsxs(g,{children:[e.jsx(l,{src:s[2].mediaUrlHttps}),e.jsx(l,{src:s[3].mediaUrlHttps})]})]})]})]}),!p&&(s?.[0]?.type==="video"||s?.[0]?.type==="animated_gif")&&x&&e.jsx(v.Fe,{muted:o,source:x,poster:s[0].mediaUrlHttps,controlVideo:N})]})});exports.D=j;exports.I=$;exports.N=z;exports.e=U;exports.j=A;exports.o=_;exports.s=w;
|