forked from microsoft/azurelinux
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSSR-extension.ac1a1952646c2381504c.js.download
2 lines (2 loc) · 400 KB
/
SSR-extension.ac1a1952646c2381504c.js.download
1
2
/*! For license information please see SSR-extension.ac1a1952646c2381504c.js.LICENSE.txt */
!function(){var e={1852:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(n,r)};var n=/[-\s]+(.)?/g;function r(e,t){return t?t.toUpperCase():""}},24893:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportedValue=t.supportedProperty=t.prefix=void 0;var r=a(n(80811)),i=a(n(50965)),o=a(n(83537));function a(e){return e&&e.__esModule?e:{default:e}}t.default={prefix:r.default,supportedProperty:i.default,supportedValue:o.default},t.prefix=r.default,t.supportedProperty=i.default,t.supportedValue=o.default},80811:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(60307);var o="",a="";if(((r=i)&&r.__esModule?r:{default:r}).default){var s={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},u=document.createElement("p").style;for(var l in s)if(l+"Transform"in u){o=l,a=s[l];break}}t.default={js:o,css:a}},50965:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!s)return e;if(null!=u[e])return u[e];(0,o.default)(e)in s.style?u[e]=e:i.default.js+(0,o.default)("-"+e)in s.style?u[e]=i.default.css+e:u[e]=!1;return u[e]};var r=a(n(60307)),i=a(n(80811)),o=a(n(1852));function a(e){return e&&e.__esModule?e:{default:e}}var s=void 0,u={};if(r.default){s=document.createElement("p");var l=window.getComputedStyle(document.documentElement,"");for(var c in l)isNaN(c)||(u[l[c]]=l[c])}},83537:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!s)return t;if("string"!=typeof t||!isNaN(parseInt(t,10)))return t;var n=e+t;if(null!=a[n])return a[n];try{s.style[e]=t}catch(e){return a[n]=!1,!1}""!==s.style[e]?a[n]=t:("-ms-flex"===(t=i.default.css+t)&&(t="-ms-flexbox"),s.style[e]=t,""!==s.style[e]&&(a[n]=t));a[n]||(a[n]=!1);return s.style[e]="",a[n]};var r=o(n(60307)),i=o(n(80811));function o(e){return e&&e.__esModule?e:{default:e}}var a={},s=void 0;r.default&&(s=document.createElement("p"))},87322:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="day",o="week",a="month",s="quarter",u="year",l="date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},p=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},h={s:p,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+p(r,2,"0")+":"+p(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,a),o=n-i<0,s=t.clone().add(r+(o?-1:1),a);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return{M:a,y:u,w:o,d:i,D:l,h:r,m:n,s:t,ms:e,Q:s}[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},g="en",m={};m[g]=f;var v=function(e){return e instanceof S},y=function(e,t,n){var r;if(!e)return g;if("string"==typeof e)m[e]&&(r=e),t&&(m[e]=t,r=e);else{var i=e.name;m[i]=e,r=i}return!n&&r&&(g=r),r||!n&&g},w=function(e,t){if(v(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new S(n)},b=h;b.l=y,b.i=v,b.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function f(e){this.$L=y(e.locale,null,!0),this.parse(e)}var p=f.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(b.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(c);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return b},p.isValid=function(){return!("Invalid Date"===this.$d.toString())},p.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},p.isAfter=function(e,t){return w(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<w(e)},p.$g=function(e,t,n){return b.u(e)?this[t]:this.set(n,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,s){var c=this,d=!!b.u(s)||s,f=b.p(e),p=function(e,t){var n=b.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return d?n:n.endOf(i)},h=function(e,t){return b.w(c.toDate()[e].apply(c.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},g=this.$W,m=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(f){case u:return d?p(1,0):p(31,11);case a:return d?p(1,m):p(0,m+1);case o:var w=this.$locale().weekStart||0,S=(g<w?g+7:g)-w;return p(d?v-S:v+(6-S),m);case i:case l:return h(y+"Hours",0);case r:return h(y+"Minutes",1);case n:return h(y+"Seconds",2);case t:return h(y+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(o,s){var c,d=b.p(o),f="set"+(this.$u?"UTC":""),p=(c={},c[i]=f+"Date",c[l]=f+"Date",c[a]=f+"Month",c[u]=f+"FullYear",c[r]=f+"Hours",c[n]=f+"Minutes",c[t]=f+"Seconds",c[e]=f+"Milliseconds",c)[d],h=d===i?this.$D+(s-this.$W):s;if(d===a||d===u){var g=this.clone().set(l,1);g.$d[p](h),g.init(),this.$d=g.set(l,Math.min(this.$D,g.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[b.p(e)]()},p.add=function(e,s){var l,c=this;e=Number(e);var d=b.p(s),f=function(t){var n=w(c);return b.w(n.date(n.date()+Math.round(t*e)),c)};if(d===a)return this.set(a,this.$M+e);if(d===u)return this.set(u,this.$y+e);if(d===i)return f(1);if(d===o)return f(7);var p=(l={},l[n]=6e4,l[r]=36e5,l[t]=1e3,l)[d]||1,h=this.$d.getTime()+e*p;return b.w(h,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this;if(!this.isValid())return"Invalid Date";var n=e||"YYYY-MM-DDTHH:mm:ssZ",r=b.z(this),i=this.$locale(),o=this.$H,a=this.$m,s=this.$M,u=i.weekdays,l=i.months,c=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].substr(0,o)},f=function(e){return b.s(o%12||12,e,"0")},p=i.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:b.s(s+1,2,"0"),MMM:c(i.monthsShort,s,l,3),MMMM:c(l,s),D:this.$D,DD:b.s(this.$D,2,"0"),d:String(this.$W),dd:c(i.weekdaysMin,this.$W,u,2),ddd:c(i.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(o),HH:b.s(o,2,"0"),h:f(1),hh:f(2),a:p(o,a,!0),A:p(o,a,!1),m:String(a),mm:b.s(a,2,"0"),s:String(this.$s),ss:b.s(this.$s,2,"0"),SSS:b.s(this.$ms,3,"0"),Z:r};return n.replace(d,(function(e,t){return t||h[e]||r.replace(":","")}))},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(e,l,c){var d,f=b.p(l),p=w(e),h=6e4*(p.utcOffset()-this.utcOffset()),g=this-p,m=b.m(this,p);return m=(d={},d[u]=m/12,d[a]=m,d[s]=m/3,d[o]=(g-h)/6048e5,d[i]=(g-h)/864e5,d[r]=g/36e5,d[n]=g/6e4,d[t]=g/1e3,d)[f]||g,c?m:b.a(m)},p.daysInMonth=function(){return this.endOf(a).$D},p.$locale=function(){return m[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=y(e,t,!0);return r&&(n.$L=r),n},p.clone=function(){return b.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},f}(),k=S.prototype;return w.prototype=k,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W",i],["$M",a],["$y",u],["$D",l]].forEach((function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||(e(t,S,w),e.$i=!0),w},w.locale=y,w.isDayjs=v,w.unix=function(e){return w(1e3*e)},w.en=m[g],w.Ls=m,w.p={},w}()},14074:function(e,t,n){"use strict";var r=n(338),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=u(t),g=u(n),m=0;m<a.length;++m){var v=a[m];if(!(o[v]||r&&r[v]||g&&g[v]||s&&s[v])){var y=f(n,v);try{l(t,v,y)}catch(e){}}}}return t}},75029:function(e,t,n){"use strict";n.r(t);var r=/[A-Z]/g,i=/^ms-/,o={};function a(e){return"-"+e.toLowerCase()}t.default=function(e){if(o.hasOwnProperty(e))return o[e];var t=e.replace(r,a);return o[e]=i.test(t)?"-"+t:t}},48575:function(e){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},77166:function(e){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,s],c=0;(u=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},60307:function(e,t,n){"use strict";n.r(t),n.d(t,{isBrowser:function(){return i}});var r="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},i="object"===("undefined"==typeof window?"undefined":r(window))&&"object"===("undefined"==typeof document?"undefined":r(document))&&9===document.nodeType;t.default=i},54943:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=a(e[t]);return e}return a(e)},onChangeValue:function(e,t,n){var r=(0,o.default)(t);return t===r?e:(n.prop(r,e),null)}}};var r,i=n(75029),o=(r=i)&&r.__esModule?r:{default:r};function a(e){var t={};for(var n in e)t[(0,o.default)(n)]=e[n];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(a):t.fallbacks=a(e.fallbacks)),t}},41837:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{onProcessStyle:function(e,t){return e.composes?(a(t,e.composes),delete e.composes,e):e}}};var r,i=n(89198),o=(r=i)&&r.__esModule?r:{default:r};function a(e,t){if(!t)return!0;if(Array.isArray(t)){for(var n=0;n<t.length;n++){if(!a(e,t[n]))return!1}return!0}if(t.indexOf(" ")>-1)return a(e,t.split(" "));var r=e.options.parent;if("$"===t[0]){var i=r.getRule(t.substr(1));return i?i===e?((0,o.default)(!1,"[JSS] Cyclic composition detected. \r\n%s",e),!1):(r.classes[e.key]+=" "+r.classes[i.key],!0):((0,o.default)(!1,"[JSS] Referenced rule is not defined. \r\n%s",e),!1)}return e.options.parent.classes[e.key]+=" "+t,!0}},7277:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"animation-delay":"ms","animation-duration":"ms","background-position":"px","background-position-x":"px","background-position-y":"px","background-size":"px",border:"px","border-bottom":"px","border-bottom-left-radius":"px","border-bottom-right-radius":"px","border-bottom-width":"px","border-left":"px","border-left-width":"px","border-radius":"px","border-right":"px","border-right-width":"px","border-spacing":"px","border-top":"px","border-top-left-radius":"px","border-top-right-radius":"px","border-top-width":"px","border-width":"px","border-after-width":"px","border-before-width":"px","border-end-width":"px","border-horizontal-spacing":"px","border-start-width":"px","border-vertical-spacing":"px",bottom:"px","box-shadow":"px","column-gap":"px","column-rule":"px","column-rule-width":"px","column-width":"px","flex-basis":"px","font-size":"px","font-size-delta":"px",height:"px",left:"px","letter-spacing":"px","logical-height":"px","logical-width":"px",margin:"px","margin-after":"px","margin-before":"px","margin-bottom":"px","margin-left":"px","margin-right":"px","margin-top":"px","max-height":"px","max-width":"px","margin-end":"px","margin-start":"px","mask-position-x":"px","mask-position-y":"px","mask-size":"px","max-logical-height":"px","max-logical-width":"px","min-height":"px","min-width":"px","min-logical-height":"px","min-logical-width":"px",motion:"px","motion-offset":"px",outline:"px","outline-offset":"px","outline-width":"px",padding:"px","padding-bottom":"px","padding-left":"px","padding-right":"px","padding-top":"px","padding-after":"px","padding-before":"px","padding-end":"px","padding-start":"px","perspective-origin-x":"%","perspective-origin-y":"%",perspective:"px",right:"px","shape-margin":"px",size:"px","text-indent":"px","text-stroke":"px","text-stroke-width":"px",top:"px","transform-origin":"%","transform-origin-x":"%","transform-origin-y":"%","transform-origin-z":"%","transition-delay":"ms","transition-duration":"ms","vertical-align":"px",width:"px","word-spacing":"px","box-shadow-x":"px","box-shadow-y":"px","box-shadow-blur":"px","box-shadow-spread":"px","font-line-height":"px","text-shadow-x":"px","text-shadow-y":"px","text-shadow-blur":"px"}},44525:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=u(r,e[r],t);return e},onChangeValue:function(e,n){return u(n,e,t)}}};var i,o=n(7277);function a(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}var s=a(((i=o)&&i.__esModule?i:{default:i}).default);function u(e,t,n){if(!t)return t;var i=t,o=void 0===t?"undefined":r(t);switch("object"===o&&Array.isArray(t)&&(o="array"),o){case"object":if("fallbacks"===e){for(var a in t)t[a]=u(a,t[a],n);break}for(var l in t)t[l]=u(e+"-"+l,t[l],n);break;case"array":for(var c=0;c<t.length;c++)t[c]=u(e,t[c],n);break;case"number":0!==t&&(i=t+(n[e]||s[e]||""))}return i}},69930:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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};t.default=function(){return{onProcessStyle:function(e,t){if(!e||"style"!==t.type)return e;if(Array.isArray(e)){for(var n=0;n<e.length;n++)e[n]=u(e[n],t);return e}return u(e,t)}}};var i=n(67152);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t,n,i){return null==n[t]?e:0===e.length?[]:Array.isArray(e[0])?a(e[0],t,n):"object"===r(e[0])?function(e,t,n){return e.map((function(e){return s(e,t,n,!1,!0)}))}(e,t,i):[e]}function s(e,t,n,r,a){if(!i.propObj[t]&&!i.customPropObj[t])return[];var s=[];if(i.customPropObj[t]&&(e=function(e,t,n,r){for(var i in n){var a=n[i];if(void 0!==e[i]&&(r||!t.prop(a))){var s=u(o({},a,e[i]),t)[a];r?t.style.fallbacks[a]=s:t.style[a]=s}delete e[i]}return e}(e,n,i.customPropObj[t],r)),Object.keys(e).length)for(var l in i.propObj[t])e[l]?Array.isArray(e[l])?s.push(null===i.propArrayInObj[l]?e[l]:e[l].join(" ")):s.push(e[l]):null!=i.propObj[t][l]&&s.push(i.propObj[t][l]);return!s.length||a?s:[s]}function u(e,t,n){for(var o in e){var l=e[o];if(Array.isArray(l)){if(!Array.isArray(l[0])){if("fallbacks"===o){for(var c=0;c<e.fallbacks.length;c++)e.fallbacks[c]=u(e.fallbacks[c],t,!0);continue}e[o]=a(l,o,i.propArray),e[o].length||delete e[o]}}else if("object"===(void 0===l?"undefined":r(l))){if("fallbacks"===o){e.fallbacks=u(e.fallbacks,t,!0);continue}e[o]=s(l,o,t,n),e[o].length||delete e[o]}else""===e[o]&&delete e[o]}return e}},67152:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.propArray={"background-size":!0,"background-position":!0,border:!0,"border-bottom":!0,"border-left":!0,"border-top":!0,"border-right":!0,"border-radius":!0,"border-image":!0,"border-width":!0,"border-style":!0,"border-color":!0,"box-shadow":!0,flex:!0,margin:!0,padding:!0,outline:!0,"transform-origin":!0,transform:!0,transition:!0},t.propArrayInObj={position:!0,size:!0},t.propObj={padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},background:{attachment:null,color:null,image:null,position:null,repeat:null},border:{width:null,style:null,color:null},"border-top":{width:null,style:null,color:null},"border-right":{width:null,style:null,color:null},"border-bottom":{width:null,style:null,color:null},"border-left":{width:null,style:null,color:null},outline:{width:null,style:null,color:null},"list-style":{type:null,position:null,image:null},transition:{property:null,duration:null,"timing-function":null,timingFunction:null,delay:null},animation:{name:null,duration:null,"timing-function":null,timingFunction:null,delay:null,"iteration-count":null,iterationCount:null,direction:null,"fill-mode":null,fillMode:null,"play-state":null,playState:null},"box-shadow":{x:0,y:0,blur:0,spread:0,color:null,inset:null},"text-shadow":{x:0,y:0,blur:null,color:null}},t.customPropObj={border:{radius:"border-radius",image:"border-image",width:"border-width",style:"border-style",color:"border-color"},background:{size:"background-size",image:"background-image"},font:{style:"font-style",variant:"font-variant",weight:"font-weight",stretch:"font-stretch",size:"font-size",family:"font-family",lineHeight:"line-height","line-height":"line-height"},flex:{grow:"flex-grow",basis:"flex-basis",direction:"flex-direction",wrap:"flex-wrap",flow:"flex-flow",shrink:"flex-shrink"},align:{self:"align-self",items:"align-items",content:"align-content"},grid:{"template-columns":"grid-template-columns",templateColumns:"grid-template-columns","template-rows":"grid-template-rows",templateRows:"grid-template-rows","template-areas":"grid-template-areas",templateAreas:"grid-template-areas",template:"grid-template","auto-columns":"grid-auto-columns",autoColumns:"grid-auto-columns","auto-rows":"grid-auto-rows",autoRows:"grid-auto-rows","auto-flow":"grid-auto-flow",autoFlow:"grid-auto-flow",row:"grid-row",column:"grid-column","row-start":"grid-row-start",rowStart:"grid-row-start","row-end":"grid-row-end",rowEnd:"grid-row-end","column-start":"grid-column-start",columnStart:"grid-column-start","column-end":"grid-column-end",columnEnd:"grid-column-end",area:"grid-area",gap:"grid-gap","row-gap":"grid-row-gap",rowGap:"grid-row-gap","column-gap":"grid-column-gap",columnGap:"grid-column-gap"}}},57421:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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};t.default=function(){return{onProcessStyle:function(e,t,n){return"extend"in e?l(e,t,n):e},onChangeValue:function(e,t,n){if("extend"!==t)return e;if(null==e||!1===e){for(var r in n[u])n.prop(r,null);return n[u]=null,null}for(var i in e)n.prop(i,e[i]);return n[u]=e,null}}};var i,o=n(89198),a=(i=o)&&i.__esModule?i:{default:i};var s=function(e){return e&&"object"===(void 0===e?"undefined":r(e))&&!Array.isArray(e)},u="extendCurrValue"+Date.now();function l(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return function(e,t,n,i){if("string"!==r(e.extend))if(Array.isArray(e.extend))for(var o=0;o<e.extend.length;o++)l(e.extend[o],t,n,i);else for(var u in e.extend)"extend"!==u?s(e.extend[u])?(u in i||(i[u]={}),l(e.extend[u],t,n,i[u])):i[u]=e.extend[u]:l(e.extend.extend,t,n,i);else{if(!n)return;var c=n.getRule(e.extend);if(!c)return;if(c===t)return void(0,a.default)(!1,"[JSS] A rule tries to extend itself \r\n%s",t);var d=c.options.parent;d&&l(d.rules.raw[e.extend],t,n,i)}}(e,t,n,i),function(e,t,n,r){for(var i in e)"extend"!==i&&(s(r[i])&&s(e[i])?l(e[i],t,n,r[i]):s(e[i])?r[i]=l(e[i],t,n):r[i]=e[i])}(e,t,n,i),i}},80179:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(){return{onCreateRule:function(e,t,n){if(e===s)return new l(e,t,n);if("@"===e[0]&&e.substr(0,u.length)===u)return new c(e,t,n);var r=n.parent;return r&&("global"!==r.type&&"global"!==r.options.parent.type||(n.global=!0)),n.global&&(n.selector=e),null},onProcessRule:function(e){"style"===e.type&&(function(e){var t=e.options,n=e.style,i=n[s];if(i){for(var o in i)t.sheet.addRule(o,i[o],r({},t,{selector:f(o,e.selector)}));delete n[s]}}(e),function(e){var t=e.options,n=e.style;for(var i in n)if(i.substr(0,s.length)===s){var o=f(i.substr(s.length),e.selector);t.sheet.addRule(o,n[i],r({},t,{selector:o})),delete n[i]}}(e))}}};var o=n(67514);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s="@global",u="@global ",l=function(){function e(t,n,i){for(var s in a(this,e),this.type="global",this.key=t,this.options=i,this.rules=new o.RuleList(r({},i,{parent:this})),n)this.rules.add(s,n[s],{selector:s});this.rules.process()}return i(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"addRule",value:function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"toString",value:function(){return this.rules.toString()}}]),e}(),c=function(){function e(t,n,i){a(this,e),this.name=t,this.options=i;var o=t.substr(u.length);this.rule=i.jss.createRule(o,n,r({},i,{parent:this,selector:o}))}return i(e,[{key:"toString",value:function(e){return this.rule.toString(e)}}]),e}(),d=/\s*,\s*/g;function f(e,t){for(var n=e.split(d),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}},41116:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){function e(e){return function(t,n){var r=e.getRule(n);return r?r.selector:((0,a.default)(!1,"[JSS] Could not find the referenced rule %s in %s.",n,e.options.meta||e),n)}}var t=function(e){return-1!==e.indexOf("&")};function n(e,n){for(var r=n.split(s),i=e.split(s),o="",a=0;a<r.length;a++)for(var l=r[a],c=0;c<i.length;c++){var d=i[c];o&&(o+=", "),o+=t(d)?d.replace(u,l):l+" "+d}return o}function i(e,t,n){if(n)return r({},n,{index:n.index+1});var i=e.options.nestingLevel;return i=void 0===i?1:i+1,r({},e.options,{nestingLevel:i,index:t.indexOf(e)+1})}return{onProcessStyle:function(o,a){if("style"!==a.type)return o;var s=a.options.parent,u=void 0,c=void 0;for(var d in o){var f=t(d),p="@"===d[0];if(f||p){if(u=i(a,s,u),f){var h=n(d,a.selector);c||(c=e(s)),h=h.replace(l,c),s.addRule(h,o[d],r({},u,{selector:h}))}else p&&s.addRule(d,null,u).addRule(a.key,o[d],{selector:a.selector});delete o[d]}}return o}}};var i,o=n(89198),a=(i=o)&&i.__esModule?i:{default:i};var s=/\s*,\s*/g,u=/&/g,l=/\$([\w-]+)/g},54716:function(e,t,n){"use strict";var r=p(n(65194)),i=p(n(80179)),o=p(n(57421)),a=p(n(41116)),s=p(n(41837)),u=p(n(54943)),l=p(n(44525)),c=p(n(69930)),d=p(n(55154)),f=p(n(24847));function p(e){return e&&e.__esModule?e:{default:e}}t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{plugins:[(0,r.default)(e.template),(0,i.default)(e.global),(0,o.default)(e.extend),(0,a.default)(e.nested),(0,s.default)(e.compose),(0,u.default)(e.camelCase),(0,l.default)(e.defaultUnit),(0,c.default)(e.expand),(0,d.default)(e.vendorPrefixer),(0,f.default)(e.propsSort)]}}},24847:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e,t){return e.length-t.length}return{onProcessStyle:function(t,n){if("style"!==n.type)return t;var r={},i=Object.keys(t).sort(e);for(var o in i)r[i[o]]=t[i[o]];return r}}}},65194:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(99341),o=(r=i)&&r.__esModule?r:{default:r};var a=function(e){"string"==typeof e.style&&(e.style=(0,o.default)(e.style))};t.default=function(){return{onProcessRule:a}}},99341:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(89198),o=(r=i)&&r.__esModule?r:{default:r};var a=/;\n/;t.default=function(e){for(var t={},n=e.split(a),r=0;r<n.length;r++){var i=(n[r]||"").trim();if(i){var s=i.indexOf(":");if(-1!==s){var u=i.substr(0,s).trim(),l=i.substr(s+1).trim();t[u]=l}else(0,o.default)(!1,'Malformed CSS string "%s"',i)}}return t}},55154:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{onProcessRule:function(e){"keyframes"===e.type&&(e.key="@"+r.prefix.css+e.key.substr(1))},onProcessStyle:function(e,t){if("style"!==t.type)return e;for(var n in e){var i=e[n],o=!1,a=r.supportedProperty(n);a&&a!==n&&(o=!0);var s=!1,u=r.supportedValue(a,i);u&&u!==i&&(s=!0),(o||s)&&(o&&delete e[n],e[a||n]=u||i)}return e},onChangeValue:function(e,t){return r.supportedValue(t,e)}}};var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(24893))},74009:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=y(n(60307)),s=y(n(83103)),u=y(n(56763)),l=y(n(60623)),c=y(n(90282)),d=y(n(88151)),f=y(n(96913)),p=y(n(84546)),h=y(n(75347)),g=y(n(76558)),m=y(n(30418)),v=y(n(31510));function y(e){return e&&e.__esModule?e:{default:e}}var w=l.default.concat([c.default,d.default]),b=0,S=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=b++,this.version="9.8.7",this.plugins=new u.default,this.options={createGenerateClassName:h.default,Renderer:a.default?m.default:v.default,plugins:[]},this.generateClassName=(0,h.default)(),this.use.apply(this,w),this.setup(t)}return o(e,[{key:"setup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?v.default:m.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index;"number"!=typeof n&&(n=0===f.default.index?0:f.default.index+1);var r=new s.default(e,i({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r}},{key:"removeStyleSheet",value:function(e){return e.detach(),f.default.remove(e),this}},{key:"createRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===(void 0===e?"undefined":r(e))&&(n=t,t=e,e=void 0);var i=n;i.jss=this,i.Renderer=this.options.Renderer,i.generateClassName||(i.generateClassName=this.generateClassName),i.classes||(i.classes={});var o=(0,g.default)(e,t,i);return!i.selector&&o instanceof p.default&&(o.selector="."+i.generateClassName(o)),this.plugins.onProcessRule(o),o}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){-1===e.options.plugins.indexOf(t)&&(e.options.plugins.push(t),e.plugins.use(t))})),this}}]),e}();t.default=S},56763:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(89198),a=(r=o)&&r.__esModule?r:{default:r};var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.hooks={onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}}return i(e,[{key:"onCreateRule",value:function(e,t,n){for(var r=0;r<this.hooks.onCreateRule.length;r++){var i=this.hooks.onCreateRule[r](e,t,n);if(i)return i}return null}},{key:"onProcessRule",value:function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.hooks.onProcessRule.length;n++)this.hooks.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}}},{key:"onProcessStyle",value:function(e,t,n){for(var r=e,i=0;i<this.hooks.onProcessStyle.length;i++)r=this.hooks.onProcessStyle[i](r,t,n),t.style=r}},{key:"onProcessSheet",value:function(e){for(var t=0;t<this.hooks.onProcessSheet.length;t++)this.hooks.onProcessSheet[t](e)}},{key:"onUpdate",value:function(e,t,n){for(var r=0;r<this.hooks.onUpdate.length;r++)this.hooks.onUpdate[r](e,t,n)}},{key:"onChangeValue",value:function(e,t,n){for(var r=e,i=0;i<this.hooks.onChangeValue.length;i++)r=this.hooks.onChangeValue[i](r,t,n);return r}},{key:"use",value:function(e){for(var t in e)this.hooks[t]?this.hooks[t].push(e[t]):(0,a.default)(!1,'[JSS] Unknown hook "%s".',t)}}]),e}();t.default=s},37009:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(76558)),a=l(n(24906)),s=l(n(84546)),u=l(n(15653));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map={},this.raw={},this.index=[],this.update=function(e,t){var r=n.options,i=r.jss.plugins,o=r.sheet;if("string"==typeof e)i.onUpdate(t,n.get(e),o);else for(var a=0;a<n.index.length;a++)i.onUpdate(e,n.index[a],o)},this.options=t,this.classes=t.classes}return i(e,[{key:"add",value:function(e,t,n){var i=this.options,a=i.parent,l=i.sheet,c=i.jss,d=i.Renderer,f=i.generateClassName;!(n=r({classes:this.classes,parent:a,sheet:l,jss:c,Renderer:d,generateClassName:f},n)).selector&&this.classes[e]&&(n.selector="."+(0,u.default)(this.classes[e])),this.raw[e]=t;var p=(0,o.default)(e,t,n),h=void 0;!n.selector&&p instanceof s.default&&(h=f(p,l),p.selector="."+(0,u.default)(h)),this.register(p,h);var g=void 0===n.index?this.index.length:n.index;return this.index.splice(g,0,p),p}},{key:"get",value:function(e){return this.map[e]}},{key:"remove",value:function(e){this.unregister(e),this.index.splice(this.indexOf(e),1)}},{key:"indexOf",value:function(e){return this.index.indexOf(e)}},{key:"process",value:function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)}},{key:"register",value:function(e,t){this.map[e.key]=e,e instanceof s.default&&(this.map[e.selector]=e,t&&(this.classes[e.key]=t))}},{key:"unregister",value:function(e){delete this.map[e.key],e instanceof s.default&&(delete this.map[e.selector],delete this.classes[e.key])}},{key:"link",value:function(e){for(var t=this.options.sheet.renderer.getUnescapedKeysMap(this.index),n=0;n<e.length;n++){var r=e[n],i=this.options.sheet.renderer.getKey(r);t[i]&&(i=t[i]);var o=this.map[i];o&&(0,a.default)(o,r)}}},{key:"toString",value:function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(e);(o||r)&&(t&&(t+="\n"),t+=o)}return t}}]),e}();t.default=c},11749:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(89198),a=(r=o)&&r.__esModule?r:{default:r};var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sheets=[],this.refs=[],this.keys=[]}return i(e,[{key:"get",value:function(e){var t=this.keys.indexOf(e);return this.sheets[t]}},{key:"add",value:function(e,t){var n=this.sheets,r=this.refs,i=this.keys,o=n.indexOf(t);return-1!==o?o:(n.push(t),r.push(0),i.push(e),n.length-1)}},{key:"manage",value:function(e){var t=this.keys.indexOf(e),n=this.sheets[t];return 0===this.refs[t]&&n.attach(),this.refs[t]++,this.keys[t]||this.keys.splice(t,0,e),n}},{key:"unmanage",value:function(e){var t=this.keys.indexOf(e);-1!==t?this.refs[t]>0&&(this.refs[t]--,0===this.refs[t]&&this.sheets[t].detach()):(0,a.default)(!1,"SheetsManager: can't find sheet to unmanage")}},{key:"size",get:function(){return this.keys.length}}]),e}();t.default=s},28665:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.registry=[]}return n(e,[{key:"add",value:function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)}},{key:"reset",value:function(){this.registry=[]}},{key:"remove",value:function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function(e){return this.registry.filter((function(e){return e.attached})).map((function(t){return t.toString(e)})).join("\n")}},{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}();t.default=r},83103:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=s(n(24906)),a=s(n(37009));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t,n){var i=this;for(var o in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.update=function(e,t){return"string"==typeof e?i.rules.update(e,t):i.rules.update(e),i},this.attached=!1,this.deployed=!1,this.linked=!1,this.classes={},this.options=r({},n,{sheet:this,parent:this,classes:this.classes}),this.renderer=new n.Renderer(this),this.rules=new a.default(this.options),t)this.rules.add(o,t[o]);this.rules.process()}return i(e,[{key:"attach",value:function(){return this.attached||(this.deployed||this.deploy(),this.renderer.attach(),!this.linked&&this.options.link&&this.link(),this.attached=!0),this}},{key:"detach",value:function(){return this.attached?(this.renderer.detach(),this.attached=!1,this):this}},{key:"addRule",value:function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)}},{key:"insertRule",value:function(e){var t=this.renderer.insertRule(e);t&&this.options.link&&(0,o.default)(e,t)}},{key:"addRules",value:function(e,t){var n=[];for(var r in e)n.push(this.addRule(r,e[r],t));return n}},{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"deleteRule",value:function(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!this.attached||!t.renderable||this.renderer.deleteRule(t.renderable))}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"deploy",value:function(){return this.renderer.deploy(),this.deployed=!0,this}},{key:"link",value:function(){var e=this.renderer.getRules();return e&&this.rules.link(e),this.linked=!0,this}},{key:"toString",value:function(e){return this.rules.toString(e)}}]),e}();t.default=u},67514:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.createGenerateClassName=t.sheets=t.RuleList=t.SheetsManager=t.SheetsRegistry=t.toCssValue=t.getDynamicStyles=void 0;var r=n(3558);Object.defineProperty(t,"getDynamicStyles",{enumerable:!0,get:function(){return d(r).default}});var i=n(44396);Object.defineProperty(t,"toCssValue",{enumerable:!0,get:function(){return d(i).default}});var o=n(28665);Object.defineProperty(t,"SheetsRegistry",{enumerable:!0,get:function(){return d(o).default}});var a=n(11749);Object.defineProperty(t,"SheetsManager",{enumerable:!0,get:function(){return d(a).default}});var s=n(37009);Object.defineProperty(t,"RuleList",{enumerable:!0,get:function(){return d(s).default}});var u=n(96913);Object.defineProperty(t,"sheets",{enumerable:!0,get:function(){return d(u).default}});var l=n(75347);Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function(){return d(l).default}});var c=d(n(74009));function d(e){return e&&e.__esModule?e:{default:e}}var f=t.create=function(e){return new c.default(e)};t.default=f()},88151:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(37009)),i=a(n(84546)),o=a(n(76558));function a(e){return e&&e.__esModule?e:{default:e}}var s=Date.now(),u="fnValues"+s,l="fnStyle"+ ++s;t.default={onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=(0,o.default)(e,{},n);return r[l]=t,r},onProcessStyle:function(e,t){var n={};for(var r in e){var i=e[r];"function"==typeof i&&(delete e[r],n[r]=i)}return t[u]=n,e},onUpdate:function(e,t){if(t.rules instanceof r.default)t.rules.update(e);else if(t instanceof i.default){if(t[u])for(var n in t[u])t.prop(n,t[u][n](e));var o=t[l];if(o){var a=o(e);for(var s in a)t.prop(s,a[s])}}}}},90282:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(84546)),i=a(n(76558)),o=a(n(78021));function a(e){return e&&e.__esModule?e:{default:e}}t.default={onCreateRule:function(e,t,n){if(!(0,o.default)(t))return null;var r=t,a=(0,i.default)(e,{},n);return r.subscribe((function(e){for(var t in e)a.prop(t,e[t])})),a},onProcessRule:function(e){if(e instanceof r.default){var t=e,n=t.style,i=function(e){var r=n[e];if(!(0,o.default)(r))return"continue";delete n[e],r.subscribe({next:function(n){t.prop(e,n)}})};for(var a in n)i(a)}}}},60623:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(83524)),i=u(n(2824)),o=u(n(27836)),a=u(n(39134)),s=u(n(76444));function u(e){return e&&e.__esModule?e:{default:e}}var l={"@charset":r.default,"@import":r.default,"@namespace":r.default,"@keyframes":i.default,"@media":o.default,"@supports":o.default,"@font-face":a.default,"@viewport":s.default,"@-ms-viewport":s.default},c=Object.keys(l).map((function(e){var t=new RegExp("^"+e),n=l[e];return{onCreateRule:function(e,r,i){return t.test(e)?new n(e,r,i):null}}}));t.default=c},30418:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=u(n(89198)),o=u(n(96913)),a=u(n(84546)),s=u(n(44396));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=void 0;return function(){return t||(t=e()),t}};function c(e,t){try{return e.style.getPropertyValue(t)}catch(e){return""}}function d(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=(0,s.default)(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.style.setProperty(t,r)}catch(e){return!1}return!0}function f(e,t){try{e.style.removeProperty(t)}catch(e){(0,i.default)(!1,'[JSS] DOMException "%s" was thrown. Tried to remove property "%s".',e.message,t)}}var p,h=1,g=7,m=(p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)},function(e){if(e.type===h)return e.selectorText;if(e.type===g){var t=e.name;if(t)return"@keyframes "+t;var n=e.cssText;return"@"+p(n,n.indexOf("keyframes"))}return p(e.cssText)});function v(e,t){return e.selectorText=t,e.selectorText===t}var y,w,b=l((function(){return document.head||document.getElementsByTagName("head")[0]})),S=(y=void 0,w=!1,function(e){var t={};y||(y=document.createElement("style"));for(var n=0;n<e.length;n++){var r=e[n];if(r instanceof a.default){var i=r.selector;if(i&&-1!==i.indexOf("\\")){w||(b().appendChild(y),w=!0),y.textContent=i+" {}";var o=y.sheet;if(o){var s=o.cssRules;s&&(t[s[0].selectorText]=r.key)}}}}return w&&(b().removeChild(y),w=!1),t});function k(e){var t=o.default.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n)return n.renderer.element;if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n)return n.renderer.element.nextElementSibling}var r=e.insertionPoint;if(r&&"string"==typeof r){var a=function(e){for(var t=b(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(a)return a.nextSibling;(0,i.default)("jss"===r,'[JSS] Insertion point "%s" not found.',r)}return null}var C=l((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),T=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.getPropertyValue=c,this.setProperty=d,this.removeProperty=f,this.setSelector=v,this.getKey=m,this.getUnescapedKeysMap=S,this.hasInsertedRules=!1,t&&o.default.add(t),this.sheet=t;var n=this.sheet?this.sheet.options:{},r=n.media,i=n.meta,a=n.element;this.element=a||document.createElement("style"),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),i&&this.element.setAttribute("data-meta",i);var s=C();s&&this.element.setAttribute("nonce",s)}return r(e,[{key:"attach",value:function(){!this.element.parentNode&&this.sheet&&(this.hasInsertedRules&&(this.deploy(),this.hasInsertedRules=!1),function(e,t){var n=t.insertionPoint,r=k(t);if(r){var o=r.parentNode;o&&o.insertBefore(e,r)}else if(n&&"number"==typeof n.nodeType){var a=n,s=a.parentNode;s?s.insertBefore(e,a.nextSibling):(0,i.default)(!1,"[JSS] Insertion point is not in the DOM.")}else b().insertBefore(e,r)}(this.element,this.sheet.options))}},{key:"detach",value:function(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function(){this.sheet&&(this.element.textContent="\n"+this.sheet.toString()+"\n")}},{key:"insertRule",value:function(e,t){var n=this.element.sheet,r=n.cssRules,o=e.toString();if(t||(t=r.length),!o)return!1;try{n.insertRule(o,t)}catch(t){return(0,i.default)(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e),!1}return this.hasInsertedRules=!0,r[t]}},{key:"deleteRule",value:function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)}},{key:"indexOf",value:function(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1}},{key:"replaceRule",value:function(e,t){var n=this.indexOf(e),r=this.insertRule(t,n);return this.element.sheet.deleteRule(n),r}},{key:"getRules",value:function(){return this.element.sheet.cssRules}}]),e}();t.default=T},31510:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"setProperty",value:function(){return!0}},{key:"getPropertyValue",value:function(){return""}},{key:"removeProperty",value:function(){}},{key:"setSelector",value:function(){return!0}},{key:"getKey",value:function(){return""}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"deploy",value:function(){}},{key:"insertRule",value:function(){return!1}},{key:"deleteRule",value:function(){return!0}},{key:"replaceRule",value:function(){return!1}},{key:"getRules",value:function(){}},{key:"indexOf",value:function(){return-1}}]),e}();t.default=r},27836:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(37009),s=(r=a)&&r.__esModule?r:{default:r};var u=function(){function e(t,n,r){for(var o in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="conditional",this.isProcessed=!1,this.key=t,this.options=r,this.rules=new s.default(i({},r,{parent:this})),n)this.rules.add(o,n[o]);this.rules.process()}return o(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"addRule",value:function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""}}]),e}();t.default=u},39134:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(76139),a=(r=o)&&r.__esModule?r:{default:r};var s=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="font-face",this.isProcessed=!1,this.key=t,this.style=n,this.options=r}return i(e,[{key:"toString",value:function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=(0,a.default)(this.key,this.style[n]),this.style[n+1]&&(t+="\n");return t}return(0,a.default)(this.key,this.style,e)}}]),e}();t.default=s},2824:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(37009),s=(r=a)&&r.__esModule?r:{default:r};var u=function(){function e(t,n,r){for(var o in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="keyframes",this.isProcessed=!1,this.key=t,this.options=r,this.rules=new s.default(i({},r,{parent:this})),n)this.rules.add(o,n[o],i({},this.options,{parent:this,selector:o}));this.rules.process()}return o(e,[{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),e}();t.default=u},83524:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var r=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="simple",this.isProcessed=!1,this.key=t,this.value=n,this.options=r}return n(e,[{key:"toString",value:function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"}}]),e}();t.default=r},84546:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="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},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=l(n(89198)),s=l(n(76139)),u=l(n(44396));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="style",this.isProcessed=!1;var i=r.sheet,o=r.Renderer,a=r.selector;this.key=t,this.options=r,this.style=n,a&&(this.selectorText=a),this.renderer=i?i.renderer:new o}return o(e,[{key:"prop",value:function(e,t){if(void 0===t)return this.style[e];if(this.style[e]===t)return this;var n=null==(t=this.options.jss.plugins.onChangeValue(t,e,this))||!1===t,r=e in this.style;if(n&&!r)return this;var i=n&&r;if(i?delete this.style[e]:this.style[e]=t,this.renderable)return i?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,t),this;var o=this.options.sheet;return o&&o.attached&&(0,a.default)(!1,'Rule is not linked. Missing sheet option "link: true".'),this}},{key:"applyTo",value:function(e){var t=this.toJSON();for(var n in t)this.renderer.setProperty(e,n,t[n]);return this}},{key:"toJSON",value:function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==(void 0===n?"undefined":i(n))?e[t]=n:Array.isArray(n)&&(e[t]=(0,u.default)(n))}return e}},{key:"toString",value:function(e){var t=this.options.sheet,n=!!t&&t.options.link?r({},e,{allowEmpty:!0}):e;return(0,s.default)(this.selector,this.style,n)}},{key:"selector",set:function(e){if(e!==this.selectorText&&(this.selectorText=e,this.renderable&&!this.renderer.setSelector(this.renderable,e)&&this.renderable)){var t=this.renderer.replaceRule(this.renderable,this);t&&(this.renderable=t)}},get:function(){return this.selectorText}}]),e}();t.default=c},76444:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(76139),a=(r=o)&&r.__esModule?r:{default:r};var s=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="viewport",this.isProcessed=!1,this.key=t,this.style=n,this.options=r}return i(e,[{key:"toString",value:function(e){return(0,a.default)(this.key,this.style,e)}}]),e}();t.default=s},96913:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(28665),o=(r=i)&&r.__esModule?r:{default:r};t.default=new o.default},37281:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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};t.default=function e(t){if(null==t)return t;var n=void 0===t?"undefined":r(t);if("string"===n||"number"===n||"function"===n)return t;if(s(t))return t.map(e);if((0,a.default)(t))return t;var i={};for(var o in t){var u=t[o];"object"!==(void 0===u?"undefined":r(u))?i[o]=u:i[o]=e(u)}return i};var i,o=n(78021),a=(i=o)&&i.__esModule?i:{default:i};var s=Array.isArray},75347:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(89198)),i=(o(n(83103)),o(n(6166)));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=0;return function(t,n){(e+=1)>1e10&&(0,r.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var o="c",a="";return n&&(o=n.options.classNamePrefix||"c",null!=n.options.jss.id&&(a+=n.options.jss.id)),""+o+i.default+a+e}}},76558:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],n=arguments[2],a=n.jss,s=(0,o.default)(t),u=a.plugins.onCreateRule(e,s,n);if(u)return u;"@"===e[0]&&(0,r.default)(!1,"[JSS] Unknown at-rule %s",e);return new i.default(e,s,n)};var r=a(n(89198)),i=a(n(84546)),o=a(n(37281));function a(e){return e&&e.__esModule?e:{default:e}}},15653:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n.g.CSS;t.default=function(e){return e}},3558:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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};t.default=function e(t){var r=null;for(var i in t){var o=t[i],a=void 0===o?"undefined":n(o);if("function"===a)r||(r={}),r[i]=o;else if("object"===a&&null!==o&&!Array.isArray(o)){var s=e(o);s&&(r||(r={}),r[i]=s)}}return r}},78021:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(35934),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return e&&e[o.default]&&e===e[o.default]()}},24906:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}},6166:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="2f1acc6c3a606b082e5eef5e54414ffb";null==n.g[r]&&(n.g[r]=0),t.default=n.g[r]++},76139:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";if(!t)return r;var i=n.indent,s=void 0===i?0:i,u=t.fallbacks;if(s++,u)if(Array.isArray(u))for(var l=0;l<u.length;l++){var c=u[l];for(var d in c){var f=c[d];null!=f&&(r+="\n"+a(d+": "+(0,o.default)(f)+";",s))}}else for(var p in u){var h=u[p];null!=h&&(r+="\n"+a(p+": "+(0,o.default)(h)+";",s))}for(var g in t){var m=t[g];null!=m&&"fallbacks"!==g&&(r+="\n"+a(g+": "+(0,o.default)(m)+";",s))}return r||n.allowEmpty?(s--,r=a(e+" {"+r+"\n",s)+a("}",s)):r};var r,i=n(44396),o=(r=i)&&r.__esModule?r:{default:r};function a(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}},44396:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var r="";if(Array.isArray(e[0]))for(var i=0;i<e.length&&"!important"!==e[i];i++)r&&(r+=", "),r+=n(e[i]," ");else r=n(e,", ");t||"!important"!==e[e.length-1]||(r+=" !important");return r};var n=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n}},99813:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var l in o=Object(arguments[u]))n.call(o,l)&&(s[l]=o[l]);if(t){a=t(o);for(var c=0;c<a.length;c++)r.call(o,a[c])&&(s[a[c]]=o[a[c]])}}return s}},82530:function(e){var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,u=[],l=!1,c=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length&&f())}function f(){if(!l){var e=a(d);l=!0;for(var t=u.length;t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||l||a(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},5372:function(e,t,n){"use strict";var r=n(49567);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},2652:function(e,t,n){e.exports=n(5372)()},49567:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},57799:function(e,t,n){"use strict";var r=n(89526),i=n(99813),o=n(72851);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function s(e,t,n,r,i,o,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var u=!1,l=null,c=!1,d=null,f={onError:function(e){u=!0,l=e}};function p(e,t,n,r,i,o,a,c,d){u=!1,l=null,s.apply(f,arguments)}var h=null,g=null,m=null;function v(e,t,n){var r=e.type||"unknown-event";e.currentTarget=m(n),function(e,t,n,r,i,o,s,f,h){if(p.apply(this,arguments),u){if(!u)throw Error(a(198));var g=l;u=!1,l=null,c||(c=!0,d=g)}}(r,t,void 0,e),e.currentTarget=null}var y=null,w={};function b(){if(y)for(var e in w){var t=w[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!k[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in k[n]=t,n=t.eventTypes){var i=void 0,o=n[r],s=t,u=r;if(C.hasOwnProperty(u))throw Error(a(99,u));C[u]=o;var l=o.phasedRegistrationNames;if(l){for(i in l)l.hasOwnProperty(i)&&S(l[i],s,u);i=!0}else o.registrationName?(S(o.registrationName,s,u),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function S(e,t,n){if(T[e])throw Error(a(100,e));T[e]=t,x[e]=t.eventTypes[n].dependencies}var k=[],C={},T={},x={};function E(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!w.hasOwnProperty(t)||w[t]!==r){if(w[t])throw Error(a(102,t));w[t]=r,n=!0}}n&&b()}var P=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),_=null,O=null,I=null;function A(e){if(e=g(e)){if("function"!=typeof _)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),_(e.stateNode,e.type,t))}}function D(e){O?I?I.push(e):I=[e]:O=e}function N(){if(O){var e=O,t=I;if(I=O=null,A(e),t)for(e=0;e<t.length;e++)A(t[e])}}function M(e,t){return e(t)}function R(e,t,n,r,i){return e(t,n,r,i)}function j(){}var L=M,F=!1,U=!1;function $(){null===O&&null===I||(j(),N())}function H(e,t,n){if(U)return e(t,n);U=!0;try{return L(e,t,n)}finally{U=!1,$()}}var W=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,z=Object.prototype.hasOwnProperty,B={},V={};function q(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var Q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Q[e]=new q(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Q[t]=new q(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Q[e]=new q(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Q[e]=new q(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Q[e]=new q(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Q[e]=new q(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){Q[e]=new q(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){Q[e]=new q(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){Q[e]=new q(e,5,!1,e.toLowerCase(),null,!1)}));var G=/[\-:]([a-z])/g;function K(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(G,K);Q[t]=new q(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(G,K);Q[t]=new q(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(G,K);Q[t]=new q(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){Q[e]=new q(e,1,!1,e.toLowerCase(),null,!1)})),Q.xlinkHref=new q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){Q[e]=new q(e,1,!1,e.toLowerCase(),null,!0)}));var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Y(e,t,n,r){var i=Q.hasOwnProperty(t)?Q[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!z.call(V,e)||!z.call(B,e)&&(W.test(e)?V[e]=!0:(B[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}J.hasOwnProperty("ReactCurrentDispatcher")||(J.ReactCurrentDispatcher={current:null}),J.hasOwnProperty("ReactCurrentBatchConfig")||(J.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\/]/,Z="function"==typeof Symbol&&Symbol.for,ee=Z?Symbol.for("react.element"):60103,te=Z?Symbol.for("react.portal"):60106,ne=Z?Symbol.for("react.fragment"):60107,re=Z?Symbol.for("react.strict_mode"):60108,ie=Z?Symbol.for("react.profiler"):60114,oe=Z?Symbol.for("react.provider"):60109,ae=Z?Symbol.for("react.context"):60110,se=Z?Symbol.for("react.concurrent_mode"):60111,ue=Z?Symbol.for("react.forward_ref"):60112,le=Z?Symbol.for("react.suspense"):60113,ce=Z?Symbol.for("react.suspense_list"):60120,de=Z?Symbol.for("react.memo"):60115,fe=Z?Symbol.for("react.lazy"):60116,pe=Z?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function ge(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function me(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ie:return"Profiler";case re:return"StrictMode";case le:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case oe:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return me(e.type);case pe:return me(e.render);case fe:if(e=1===e._status?e._result:null)return me(e)}return null}function ve(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=me(e.type);n=null,r&&(n=me(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(X,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function we(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function be(e){e._valueTracker||(e._valueTracker=function(e){var t=we(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Se(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=we(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ke(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Ce(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Te(e,t){null!=(t=t.checked)&&Y(e,"checked",t,!1)}function xe(e,t){Te(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Pe(e,t.type,n):t.hasOwnProperty("defaultValue")&&Pe(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ee(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Pe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function _e(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Oe(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Ie(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function De(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Ne(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Me="http://www.w3.org/1999/xhtml",Re="http://www.w3.org/2000/svg";function je(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?je(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Fe,Ue,$e=(Ue=function(e,t){if(e.namespaceURI!==Re||"innerHTML"in e)e.innerHTML=t;else{for((Fe=Fe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Fe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Ue(e,t)}))}:Ue);function He(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function We(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ze={animationend:We("Animation","AnimationEnd"),animationiteration:We("Animation","AnimationIteration"),animationstart:We("Animation","AnimationStart"),transitionend:We("Transition","TransitionEnd")},Be={},Ve={};function qe(e){if(Be[e])return Be[e];if(!ze[e])return e;var t,n=ze[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ve)return Be[e]=n[t];return e}P&&(Ve=document.createElement("div").style,"AnimationEvent"in window||(delete ze.animationend.animation,delete ze.animationiteration.animation,delete ze.animationstart.animation),"TransitionEvent"in window||delete ze.transitionend.transition);var Qe=qe("animationend"),Ge=qe("animationiteration"),Ke=qe("animationstart"),Je=qe("transitionend"),Ye="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xe=new("function"==typeof WeakMap?WeakMap:Map);function Ze(e){var t=Xe.get(e);return void 0===t&&(t=new Map,Xe.set(e,t)),t}function et(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function tt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function nt(e){if(et(e)!==e)throw Error(a(188))}function rt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=et(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return nt(i),e;if(o===r)return nt(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function it(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var at=null;function st(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)v(e,t[r],n[r]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ut(e){if(null!==e&&(at=it(at,e)),e=at,at=null,e){if(ot(e,st),at)throw Error(a(95));if(c)throw e=d,c=!1,d=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!P)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var dt=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>dt.length&&dt.push(e)}function pt(e,t,n,r){if(dt.length){var i=dt.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function ht(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Nn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=lt(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,u=0;u<k.length;u++){var l=k[u];l&&(l=l.extractEvents(r,t,o,i,a))&&(s=it(s,l))}ut(s)}}function gt(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ye.indexOf(e)&&Gt(e,t)}n.set(e,null)}}var mt,vt,yt,wt=!1,bt=[],St=null,kt=null,Ct=null,Tt=new Map,xt=new Map,Et=[],Pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),_t="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ot(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function It(e,t){switch(e){case"focus":case"blur":St=null;break;case"dragenter":case"dragleave":kt=null;break;case"mouseover":case"mouseout":Ct=null;break;case"pointerover":case"pointerout":Tt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xt.delete(t.pointerId)}}function At(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=Ot(t,n,r,i,o),null!==t&&(null!==(t=Mn(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function Dt(e){var t=Nn(e.target);if(null!==t){var n=et(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tt(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){yt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Nt(e){if(null!==e.blockedOn)return!1;var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Mn(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function Mt(e,t,n){Nt(e)&&n.delete(t)}function Rt(){for(wt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=Mn(e.blockedOn))&&mt(e);break}var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==St&&Nt(St)&&(St=null),null!==kt&&Nt(kt)&&(kt=null),null!==Ct&&Nt(Ct)&&(Ct=null),Tt.forEach(Mt),xt.forEach(Mt)}function jt(e,t){e.blockedOn===t&&(e.blockedOn=null,wt||(wt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Rt)))}function Lt(e){function t(t){return jt(t,e)}if(0<bt.length){jt(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==St&&jt(St,e),null!==kt&&jt(kt,e),null!==Ct&&jt(Ct,e),Tt.forEach(t),xt.forEach(t),n=0;n<Et.length;n++)(r=Et[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Et.length&&null===(n=Et[0]).blockedOn;)Dt(n),null===n.blockedOn&&Et.shift()}var Ft={},Ut=new Map,$t=new Map,Ht=["abort","abort",Qe,"animationEnd",Ge,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Je,"transitionEnd","waiting","waiting"];function Wt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},$t.set(r,t),Ut.set(r,o),Ft[i]=o}}Wt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Wt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Wt(Ht,2);for(var zt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Bt=0;Bt<zt.length;Bt++)$t.set(zt[Bt],0);var Vt=o.unstable_UserBlockingPriority,qt=o.unstable_runWithPriority,Qt=!0;function Gt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=$t.get(t);switch(void 0===r?2:r){case 0:r=Jt.bind(null,t,1,e);break;case 1:r=Yt.bind(null,t,1,e);break;default:r=Xt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Jt(e,t,n,r){F||j();var i=Xt,o=F;F=!0;try{R(i,e,t,n,r)}finally{(F=o)||$()}}function Yt(e,t,n,r){qt(Vt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){if(Qt)if(0<bt.length&&-1<Pt.indexOf(e))e=Ot(null,e,t,n,r),bt.push(e);else{var i=Zt(e,t,n,r);if(null===i)It(e,r);else if(-1<Pt.indexOf(e))e=Ot(i,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return St=At(St,e,t,n,r,i),!0;case"dragenter":return kt=At(kt,e,t,n,r,i),!0;case"mouseover":return Ct=At(Ct,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Tt.set(o,At(Tt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,xt.set(o,At(xt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){It(e,r),e=pt(e,r,null,t);try{H(ht,e)}finally{ft(e)}}}}function Zt(e,t,n,r){if(null!==(n=Nn(n=lt(r)))){var i=et(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=tt(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=pt(e,r,n,t);try{H(ht,e)}finally{ft(e)}return null}var en={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tn=["Webkit","ms","Moz","O"];function nn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||en.hasOwnProperty(e)&&en[e]?(""+t).trim():t+"px"}function rn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=nn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(en).forEach((function(e){tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),en[t]=en[e]}))}));var on=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function an(e,t){if(t){if(on[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function sn(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var un=Me;function ln(e,t){var n=Ze(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=x[t];for(var r=0;r<t.length;r++)gt(t[r],e,n)}function cn(){}function dn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function hn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function gn(){for(var e=window,t=dn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=dn((e=t.contentWindow).document)}return t}function mn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vn="$",yn="/$",wn="$?",bn="$!",Sn=null,kn=null;function Cn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Tn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var xn="function"==typeof setTimeout?setTimeout:void 0,En="function"==typeof clearTimeout?clearTimeout:void 0;function Pn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function _n(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===vn||n===bn||n===wn){if(0===t)return e;t--}else n===yn&&t++}e=e.previousSibling}return null}var On=Math.random().toString(36).slice(2),In="__reactInternalInstance$"+On,An="__reactEventHandlers$"+On,Dn="__reactContainere$"+On;function Nn(e){var t=e[In];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Dn]||n[In]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=_n(e);null!==e;){if(n=e[In])return n;e=_n(e)}return t}n=(e=n).parentNode}return null}function Mn(e){return!(e=e[In]||e[Dn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Rn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function jn(e){return e[An]||null}function Ln(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Fn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function Un(e,t,n){(t=Fn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=it(n._dispatchListeners,t),n._dispatchInstances=it(n._dispatchInstances,e))}function $n(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Ln(t);for(t=n.length;0<t--;)Un(n[t],"captured",e);for(t=0;t<n.length;t++)Un(n[t],"bubbled",e)}}function Hn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Fn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=it(n._dispatchListeners,t),n._dispatchInstances=it(n._dispatchInstances,e))}function Wn(e){e&&e.dispatchConfig.registrationName&&Hn(e._targetInst,null,e)}function zn(e){ot(e,$n)}var Bn=null,Vn=null,qn=null;function Qn(){if(qn)return qn;var e,t,n=Vn,r=n.length,i="value"in Bn?Bn.value:Bn.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return qn=i.slice(e,1<t?1-t:void 0)}function Gn(){return!0}function Kn(){return!1}function Jn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Gn:Kn,this.isPropagationStopped=Kn,this}function Yn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Xn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Zn(e){e.eventPool=[],e.getPooled=Yn,e.release=Xn}i(Jn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Gn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Gn)},persist:function(){this.isPersistent=Gn},isPersistent:Kn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Kn,this._dispatchInstances=this._dispatchListeners=null}}),Jn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Jn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,Zn(n),n},Zn(Jn);var er=Jn.extend({data:null}),tr=Jn.extend({data:null}),nr=[9,13,27,32],rr=P&&"CompositionEvent"in window,ir=null;P&&"documentMode"in document&&(ir=document.documentMode);var or=P&&"TextEvent"in window&&!ir,ar=P&&(!rr||ir&&8<ir&&11>=ir),sr=String.fromCharCode(32),ur={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},lr=!1;function cr(e,t){switch(e){case"keyup":return-1!==nr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function dr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var fr=!1;var pr={eventTypes:ur,extractEvents:function(e,t,n,r){var i;if(rr)e:{switch(e){case"compositionstart":var o=ur.compositionStart;break e;case"compositionend":o=ur.compositionEnd;break e;case"compositionupdate":o=ur.compositionUpdate;break e}o=void 0}else fr?cr(e,n)&&(o=ur.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ur.compositionStart);return o?(ar&&"ko"!==n.locale&&(fr||o!==ur.compositionStart?o===ur.compositionEnd&&fr&&(i=Qn()):(Vn="value"in(Bn=r)?Bn.value:Bn.textContent,fr=!0)),o=er.getPooled(o,t,n,r),i?o.data=i:null!==(i=dr(n))&&(o.data=i),zn(o),i=o):i=null,(e=or?function(e,t){switch(e){case"compositionend":return dr(t);case"keypress":return 32!==t.which?null:(lr=!0,sr);case"textInput":return(e=t.data)===sr&&lr?null:e;default:return null}}(e,n):function(e,t){if(fr)return"compositionend"===e||!rr&&cr(e,t)?(e=Qn(),qn=Vn=Bn=null,fr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ar&&"ko"!==t.locale?null:t.data}}(e,n))?((t=tr.getPooled(ur.beforeInput,t,n,r)).data=e,zn(t)):t=null,null===i?t:null===t?i:[i,t]}},hr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!hr[e.type]:"textarea"===t}var mr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function vr(e,t,n){return(e=Jn.getPooled(mr.change,e,t,n)).type="change",D(n),zn(e),e}var yr=null,wr=null;function br(e){ut(e)}function Sr(e){if(Se(Rn(e)))return e}function kr(e,t){if("change"===e)return t}var Cr=!1;function Tr(){yr&&(yr.detachEvent("onpropertychange",xr),wr=yr=null)}function xr(e){if("value"===e.propertyName&&Sr(wr))if(e=vr(wr,e,lt(e)),F)ut(e);else{F=!0;try{M(br,e)}finally{F=!1,$()}}}function Er(e,t,n){"focus"===e?(Tr(),wr=n,(yr=t).attachEvent("onpropertychange",xr)):"blur"===e&&Tr()}function Pr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Sr(wr)}function _r(e,t){if("click"===e)return Sr(t)}function Or(e,t){if("input"===e||"change"===e)return Sr(t)}P&&(Cr=ct("input")&&(!document.documentMode||9<document.documentMode));var Ir={eventTypes:mr,_isInputEventSupported:Cr,extractEvents:function(e,t,n,r){var i=t?Rn(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=kr;else if(gr(i))if(Cr)a=Or;else{a=Pr;var s=Er}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=_r);if(a&&(a=a(e,t)))return vr(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Pe(i,"number",i.value)}},Ar=Jn.extend({view:null,detail:null}),Dr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Nr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Dr[e])&&!!t[e]}function Mr(){return Nr}var Rr=0,jr=0,Lr=!1,Fr=!1,Ur=Ar.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Mr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Rr;return Rr=e.screenX,Lr?"mousemove"===e.type?e.screenX-t:0:(Lr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=jr;return jr=e.screenY,Fr?"mousemove"===e.type?e.screenY-t:0:(Fr=!0,0)}}),$r=Ur.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Hr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Wr={eventTypes:Hr,extractEvents:function(e,t,n,r,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Nn(t):null)&&(t!==et(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=Ur,u=Hr.mouseLeave,l=Hr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=$r,u=Hr.pointerLeave,l=Hr.pointerEnter,c="pointer");if(e=null==a?o:Rn(a),o=null==t?o:Rn(t),(u=s.getPooled(u,a,n,r)).type=c+"leave",u.target=e,u.relatedTarget=o,(n=s.getPooled(l,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(l=c,a=0,e=s=r;e;e=Ln(e))a++;for(e=0,t=l;t;t=Ln(t))e++;for(;0<a-e;)s=Ln(s),a--;for(;0<e-a;)l=Ln(l),e--;for(;a--;){if(s===l||s===l.alternate)break e;s=Ln(s),l=Ln(l)}s=null}else s=null;for(l=s,s=[];r&&r!==l&&(null===(a=r.alternate)||a!==l);)s.push(r),r=Ln(r);for(r=[];c&&c!==l&&(null===(a=c.alternate)||a!==l);)r.push(c),c=Ln(c);for(c=0;c<s.length;c++)Hn(s[c],"bubbled",u);for(c=r.length;0<c--;)Hn(r[c],"captured",n);return 0==(64&i)?[u]:[u,n]}};var zr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Br=Object.prototype.hasOwnProperty;function Vr(e,t){if(zr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Br.call(t,n[r])||!zr(e[n[r]],t[n[r]]))return!1;return!0}var qr=P&&"documentMode"in document&&11>=document.documentMode,Qr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Gr=null,Kr=null,Jr=null,Yr=!1;function Xr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Yr||null==Gr||Gr!==dn(n)?null:("selectionStart"in(n=Gr)&&mn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Jr&&Vr(Jr,n)?null:(Jr=n,(e=Jn.getPooled(Qr.select,Kr,e,t)).type="select",e.target=Gr,zn(e),e))}var Zr={eventTypes:Qr,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Ze(i),o=x.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?Rn(t):window,e){case"focus":(gr(i)||"true"===i.contentEditable)&&(Gr=i,Kr=t,Jr=null);break;case"blur":Jr=Kr=Gr=null;break;case"mousedown":Yr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Yr=!1,Xr(n,r);case"selectionchange":if(qr)break;case"keydown":case"keyup":return Xr(n,r)}return null}},ei=Jn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),ti=Jn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ni=Ar.extend({relatedTarget:null});function ri(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var ii={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oi={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ai=Ar.extend({key:function(e){if(e.key){var t=ii[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ri(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?oi[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Mr,charCode:function(e){return"keypress"===e.type?ri(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ri(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),si=Ur.extend({dataTransfer:null}),ui=Ar.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Mr}),li=Jn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ci=Ur.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),di={eventTypes:Ft,extractEvents:function(e,t,n,r){var i=Ut.get(e);if(!i)return null;switch(e){case"keypress":if(0===ri(n))return null;case"keydown":case"keyup":e=ai;break;case"blur":case"focus":e=ni;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Ur;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=si;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ui;break;case Qe:case Ge:case Ke:e=ei;break;case Je:e=li;break;case"scroll":e=Ar;break;case"wheel":e=ci;break;case"copy":case"cut":case"paste":e=ti;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=$r;break;default:e=Jn}return zn(t=e.getPooled(i,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),b(),h=jn,g=Mn,m=Rn,E({SimpleEventPlugin:di,EnterLeaveEventPlugin:Wr,ChangeEventPlugin:Ir,SelectEventPlugin:Zr,BeforeInputEventPlugin:pr});var fi=[],pi=-1;function hi(e){0>pi||(e.current=fi[pi],fi[pi]=null,pi--)}function gi(e,t){pi++,fi[pi]=e.current,e.current=t}var mi={},vi={current:mi},yi={current:!1},wi=mi;function bi(e,t){var n=e.type.contextTypes;if(!n)return mi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Si(e){return null!=(e=e.childContextTypes)}function ki(){hi(yi),hi(vi)}function Ci(e,t,n){if(vi.current!==mi)throw Error(a(168));gi(vi,t),gi(yi,n)}function Ti(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,me(t)||"Unknown",o));return i({},n,{},r)}function xi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mi,wi=vi.current,gi(vi,e),gi(yi,yi.current),!0}function Ei(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Ti(e,t,wi),r.__reactInternalMemoizedMergedChildContext=e,hi(yi),hi(vi),gi(vi,e)):hi(yi),gi(yi,n)}var Pi=o.unstable_runWithPriority,_i=o.unstable_scheduleCallback,Oi=o.unstable_cancelCallback,Ii=o.unstable_requestPaint,Ai=o.unstable_now,Di=o.unstable_getCurrentPriorityLevel,Ni=o.unstable_ImmediatePriority,Mi=o.unstable_UserBlockingPriority,Ri=o.unstable_NormalPriority,ji=o.unstable_LowPriority,Li=o.unstable_IdlePriority,Fi={},Ui=o.unstable_shouldYield,$i=void 0!==Ii?Ii:function(){},Hi=null,Wi=null,zi=!1,Bi=Ai(),Vi=1e4>Bi?Ai:function(){return Ai()-Bi};function qi(){switch(Di()){case Ni:return 99;case Mi:return 98;case Ri:return 97;case ji:return 96;case Li:return 95;default:throw Error(a(332))}}function Qi(e){switch(e){case 99:return Ni;case 98:return Mi;case 97:return Ri;case 96:return ji;case 95:return Li;default:throw Error(a(332))}}function Gi(e,t){return e=Qi(e),Pi(e,t)}function Ki(e,t,n){return e=Qi(e),_i(e,t,n)}function Ji(e){return null===Hi?(Hi=[e],Wi=_i(Ni,Xi)):Hi.push(e),Fi}function Yi(){if(null!==Wi){var e=Wi;Wi=null,Oi(e)}Xi()}function Xi(){if(!zi&&null!==Hi){zi=!0;var e=0;try{var t=Hi;Gi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Hi=null}catch(t){throw null!==Hi&&(Hi=Hi.slice(e+1)),_i(Ni,Yi),t}finally{zi=!1}}}function Zi(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function eo(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var to={current:null},no=null,ro=null,io=null;function oo(){io=ro=no=null}function ao(e){var t=to.current;hi(to),e.type._context._currentValue=t}function so(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function uo(e,t){no=e,io=ro=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(ja=!0),e.firstContext=null)}function lo(e,t){if(io!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(io=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ro){if(null===no)throw Error(a(308));ro=t,no.dependencies={expirationTime:0,firstContext:t,responders:null}}else ro=ro.next=t;return e._currentValue}var co=!1;function fo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function po(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ho(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function go(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function mo(e,t){var n=e.alternate;null!==n&&po(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function vo(e,t,n,r){var o=e.updateQueue;co=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var u=a.next;a.next=s.next,s.next=u}a=s,o.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=s))}if(null!==a){u=a.next;var l=o.baseState,c=0,d=null,f=null,p=null;if(null!==u)for(var h=u;;){if((s=h.expirationTime)<r){var g={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(f=p=g,d=l):p=p.next=g,s>c&&(c=s)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ku(s,h.suspenseConfig);e:{var m=e,v=h;switch(s=t,g=n,v.tag){case 1:if("function"==typeof(m=v.payload)){l=m.call(g,l,s);break e}l=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null==(s="function"==typeof(m=v.payload)?m.call(g,l,s):m))break e;l=i({},l,s);break e;case 2:co=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[h]:s.push(h))}if(null===(h=h.next)||h===u){if(null===(s=o.shared.pending))break;h=a.next=s.next,s.next=u,o.baseQueue=a=s,o.shared.pending=null}}null===p?d=l:p.next=f,o.baseState=d,o.baseQueue=p,Cu(c),e.expirationTime=c,e.memoizedState=l}}function yo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!=typeof r)throw Error(a(191,r));r.call(i)}}}var wo=J.ReactCurrentBatchConfig,bo=(new r.Component).refs;function So(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var ko={isMounted:function(e){return!!(e=e._reactInternalFiber)&&et(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=lu(),i=wo.suspense;(i=ho(r=cu(r,e,i),i)).payload=t,null!=n&&(i.callback=n),go(e,i),du(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=lu(),i=wo.suspense;(i=ho(r=cu(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),go(e,i),du(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=lu(),r=wo.suspense;(r=ho(n=cu(n,e,r),r)).tag=2,null!=t&&(r.callback=t),go(e,r),du(e,n)}};function Co(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!Vr(n,r)||!Vr(i,o))}function To(e,t,n){var r=!1,i=mi,o=t.contextType;return"object"==typeof o&&null!==o?o=lo(o):(i=Si(t)?wi:vi.current,o=(r=null!=(r=t.contextTypes))?bi(e,i):mi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ko,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function xo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ko.enqueueReplaceState(t,t.state,null)}function Eo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=bo,fo(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=lo(o):(o=Si(t)?wi:vi.current,i.context=bi(e,o)),vo(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(So(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ko.enqueueReplaceState(i,i.state,null),vo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var Po=Array.isArray;function _o(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===bo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Oo(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Io(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=zu(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=qu(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=_o(e,t,n),r.return=e,r):((r=Bu(n.type,n.key,n.props,null,e.mode,r)).ref=_o(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Qu(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Vu(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=qu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Bu(t.type,t.key,t.props,null,e.mode,n)).ref=_o(e,null,t),n.return=e,n;case te:return(t=Qu(t,e.mode,n)).return=e,t}if(Po(t)||ge(t))return(t=Vu(t,e.mode,n,null)).return=e,t;Oo(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?d(e,t,n.props.children,r,i):l(e,t,n,r):null;case te:return n.key===i?c(e,t,n,r):null}if(Po(n)||ge(n))return null!==i?null:d(e,t,n,r,null);Oo(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?d(t,e,r.props.children,i,r.key):l(t,e,r,i);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Po(r)||ge(r))return d(t,e=e.get(n)||null,r,i,null);Oo(t,r)}return null}function g(i,a,s,u){for(var l=null,c=null,d=a,g=a=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var v=p(i,d,s[g],u);if(null===v){null===d&&(d=m);break}e&&d&&null===v.alternate&&t(i,d),a=o(v,a,g),null===c?l=v:c.sibling=v,c=v,d=m}if(g===s.length)return n(i,d),l;if(null===d){for(;g<s.length;g++)null!==(d=f(i,s[g],u))&&(a=o(d,a,g),null===c?l=d:c.sibling=d,c=d);return l}for(d=r(i,d);g<s.length;g++)null!==(m=h(d,i,g,s[g],u))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),a=o(m,a,g),null===c?l=m:c.sibling=m,c=m);return e&&d.forEach((function(e){return t(i,e)})),l}function m(i,s,u,l){var c=ge(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var d=c=null,g=s,m=s=0,v=null,y=u.next();null!==g&&!y.done;m++,y=u.next()){g.index>m?(v=g,g=null):v=g.sibling;var w=p(i,g,y.value,l);if(null===w){null===g&&(g=v);break}e&&g&&null===w.alternate&&t(i,g),s=o(w,s,m),null===d?c=w:d.sibling=w,d=w,g=v}if(y.done)return n(i,g),c;if(null===g){for(;!y.done;m++,y=u.next())null!==(y=f(i,y.value,l))&&(s=o(y,s,m),null===d?c=y:d.sibling=y,d=y);return c}for(g=r(i,g);!y.done;m++,y=u.next())null!==(y=h(g,i,m,y.value,l))&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),s=o(y,s,m),null===d?c=y:d.sibling=y,d=y);return e&&g.forEach((function(e){return t(i,e)})),c}return function(e,r,o,u){var l="object"==typeof o&&null!==o&&o.type===ne&&null===o.key;l&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case ee:e:{for(c=o.key,l=r;null!==l;){if(l.key===c){if(7===l.tag){if(o.type===ne){n(e,l.sibling),(r=i(l,o.props.children)).return=e,e=r;break e}}else if(l.elementType===o.type){n(e,l.sibling),(r=i(l,o.props)).ref=_o(e,l,o),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}o.type===ne?((r=Vu(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=Bu(o.type,o.key,o.props,null,e.mode,u)).ref=_o(e,r,o),u.return=e,e=u)}return s(e);case te:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Qu(o,e.mode,u)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=qu(o,e.mode,u)).return=e,e=r),s(e);if(Po(o))return g(e,r,o,u);if(ge(o))return m(e,r,o,u);if(c&&Oo(e,o),void 0===o&&!l)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Ao=Io(!0),Do=Io(!1),No={},Mo={current:No},Ro={current:No},jo={current:No};function Lo(e){if(e===No)throw Error(a(174));return e}function Fo(e,t){switch(gi(jo,t),gi(Ro,e),gi(Mo,No),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Le(null,"");break;default:t=Le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}hi(Mo),gi(Mo,t)}function Uo(){hi(Mo),hi(Ro),hi(jo)}function $o(e){Lo(jo.current);var t=Lo(Mo.current),n=Le(t,e.type);t!==n&&(gi(Ro,e),gi(Mo,n))}function Ho(e){Ro.current===e&&(hi(Mo),hi(Ro))}var Wo={current:0};function zo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===wn||n.data===bn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Bo(e,t){return{responder:e,props:t}}var Vo=J.ReactCurrentDispatcher,qo=J.ReactCurrentBatchConfig,Qo=0,Go=null,Ko=null,Jo=null,Yo=!1;function Xo(){throw Error(a(321))}function Zo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!zr(e[n],t[n]))return!1;return!0}function ea(e,t,n,r,i,o){if(Qo=o,Go=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Vo.current=null===e||null===e.memoizedState?Ca:Ta,e=n(r,i),t.expirationTime===Qo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Jo=Ko=null,t.updateQueue=null,Vo.current=xa,e=n(r,i)}while(t.expirationTime===Qo)}if(Vo.current=ka,t=null!==Ko&&null!==Ko.next,Qo=0,Jo=Ko=Go=null,Yo=!1,t)throw Error(a(300));return e}function ta(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Jo?Go.memoizedState=Jo=e:Jo=Jo.next=e,Jo}function na(){if(null===Ko){var e=Go.alternate;e=null!==e?e.memoizedState:null}else e=Ko.next;var t=null===Jo?Go.memoizedState:Jo.next;if(null!==t)Jo=t,Ko=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Ko=e).memoizedState,baseState:Ko.baseState,baseQueue:Ko.baseQueue,queue:Ko.queue,next:null},null===Jo?Go.memoizedState=Jo=e:Jo=Jo.next=e}return Jo}function ra(e,t){return"function"==typeof t?t(e):t}function ia(e){var t=na(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Ko,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var u=s=o=null,l=i;do{var c=l.expirationTime;if(c<Qo){var d={expirationTime:l.expirationTime,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===u?(s=u=d,o=r):u=u.next=d,c>Go.expirationTime&&(Go.expirationTime=c,Cu(c))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),ku(c,l.suspenseConfig),r=l.eagerReducer===e?l.eagerState:e(r,l.action);l=l.next}while(null!==l&&l!==i);null===u?o=r:u.next=s,zr(r,t.memoizedState)||(ja=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function oa(e){var t=na(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);zr(o,t.memoizedState)||(ja=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function aa(e){var t=ta();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ra,lastRenderedState:e}).dispatch=Sa.bind(null,Go,e),[t.memoizedState,e]}function sa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Go.updateQueue)?(t={lastEffect:null},Go.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ua(){return na().memoizedState}function la(e,t,n,r){var i=ta();Go.effectTag|=e,i.memoizedState=sa(1|t,n,void 0,void 0===r?null:r)}function ca(e,t,n,r){var i=na();r=void 0===r?null:r;var o=void 0;if(null!==Ko){var a=Ko.memoizedState;if(o=a.destroy,null!==r&&Zo(r,a.deps))return void sa(t,n,o,r)}Go.effectTag|=e,i.memoizedState=sa(1|t,n,o,r)}function da(e,t){return la(516,4,e,t)}function fa(e,t){return ca(516,4,e,t)}function pa(e,t){return ca(4,2,e,t)}function ha(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ga(e,t,n){return n=null!=n?n.concat([e]):null,ca(4,2,ha.bind(null,t,e),n)}function ma(){}function va(e,t){return ta().memoizedState=[e,void 0===t?null:t],e}function ya(e,t){var n=na();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function wa(e,t){var n=na();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ba(e,t,n){var r=qi();Gi(98>r?98:r,(function(){e(!0)})),Gi(97<r?97:r,(function(){var r=qo.suspense;qo.suspense=void 0===t?null:t;try{e(!1),n()}finally{qo.suspense=r}}))}function Sa(e,t,n){var r=lu(),i=wo.suspense;i={expirationTime:r=cu(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Go||null!==o&&o===Go)Yo=!0,i.expirationTime=Qo,Go.expirationTime=Qo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,zr(s,a))return}catch(e){}du(e,r)}}var ka={readContext:lo,useCallback:Xo,useContext:Xo,useEffect:Xo,useImperativeHandle:Xo,useLayoutEffect:Xo,useMemo:Xo,useReducer:Xo,useRef:Xo,useState:Xo,useDebugValue:Xo,useResponder:Xo,useDeferredValue:Xo,useTransition:Xo},Ca={readContext:lo,useCallback:va,useContext:lo,useEffect:da,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,la(4,2,ha.bind(null,t,e),n)},useLayoutEffect:function(e,t){return la(4,2,e,t)},useMemo:function(e,t){var n=ta();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ta();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Sa.bind(null,Go,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ta().memoizedState=e},useState:aa,useDebugValue:ma,useResponder:Bo,useDeferredValue:function(e,t){var n=aa(e),r=n[0],i=n[1];return da((function(){var n=qo.suspense;qo.suspense=void 0===t?null:t;try{i(e)}finally{qo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=aa(!1),n=t[0];return t=t[1],[va(ba.bind(null,t,e),[t,e]),n]}},Ta={readContext:lo,useCallback:ya,useContext:lo,useEffect:fa,useImperativeHandle:ga,useLayoutEffect:pa,useMemo:wa,useReducer:ia,useRef:ua,useState:function(){return ia(ra)},useDebugValue:ma,useResponder:Bo,useDeferredValue:function(e,t){var n=ia(ra),r=n[0],i=n[1];return fa((function(){var n=qo.suspense;qo.suspense=void 0===t?null:t;try{i(e)}finally{qo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ia(ra),n=t[0];return t=t[1],[ya(ba.bind(null,t,e),[t,e]),n]}},xa={readContext:lo,useCallback:ya,useContext:lo,useEffect:fa,useImperativeHandle:ga,useLayoutEffect:pa,useMemo:wa,useReducer:oa,useRef:ua,useState:function(){return oa(ra)},useDebugValue:ma,useResponder:Bo,useDeferredValue:function(e,t){var n=oa(ra),r=n[0],i=n[1];return fa((function(){var n=qo.suspense;qo.suspense=void 0===t?null:t;try{i(e)}finally{qo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=oa(ra),n=t[0];return t=t[1],[ya(ba.bind(null,t,e),[t,e]),n]}},Ea=null,Pa=null,_a=!1;function Oa(e,t){var n=Hu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ia(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Aa(e){if(_a){var t=Pa;if(t){var n=t;if(!Ia(e,t)){if(!(t=Pn(n.nextSibling))||!Ia(e,t))return e.effectTag=-1025&e.effectTag|2,_a=!1,void(Ea=e);Oa(Ea,n)}Ea=e,Pa=Pn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,_a=!1,Ea=e}}function Da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ea=e}function Na(e){if(e!==Ea)return!1;if(!_a)return Da(e),_a=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Tn(t,e.memoizedProps))for(t=Pa;t;)Oa(e,t),t=Pn(t.nextSibling);if(Da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===yn){if(0===t){Pa=Pn(e.nextSibling);break e}t--}else n!==vn&&n!==bn&&n!==wn||t++}e=e.nextSibling}Pa=null}}else Pa=Ea?Pn(e.stateNode.nextSibling):null;return!0}function Ma(){Pa=Ea=null,_a=!1}var Ra=J.ReactCurrentOwner,ja=!1;function La(e,t,n,r){t.child=null===e?Do(t,null,n,r):Ao(t,e.child,n,r)}function Fa(e,t,n,r,i){n=n.render;var o=t.ref;return uo(t,i),r=ea(e,t,n,r,o,i),null===e||ja?(t.effectTag|=1,La(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),ts(e,t,i))}function Ua(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Wu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Bu(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,$a(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Vr)(i,r)&&e.ref===t.ref)?ts(e,t,o):(t.effectTag|=1,(e=zu(a,r)).ref=t.ref,e.return=t,t.child=e)}function $a(e,t,n,r,i,o){return null!==e&&Vr(e.memoizedProps,r)&&e.ref===t.ref&&(ja=!1,i<o)?(t.expirationTime=e.expirationTime,ts(e,t,o)):Wa(e,t,n,r,o)}function Ha(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Wa(e,t,n,r,i){var o=Si(n)?wi:vi.current;return o=bi(t,o),uo(t,i),n=ea(e,t,n,r,o,i),null===e||ja?(t.effectTag|=1,La(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),ts(e,t,i))}function za(e,t,n,r,i){if(Si(n)){var o=!0;xi(t)}else o=!1;if(uo(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),To(t,n,r),Eo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=lo(l):l=bi(t,l=Si(n)?wi:vi.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&xo(t,a,r,l),co=!1;var f=t.memoizedState;a.state=f,vo(t,r,a,i),u=t.memoizedState,s!==r||f!==u||yi.current||co?("function"==typeof c&&(So(t,n,c,r),u=t.memoizedState),(s=co||Co(t,n,s,r,f,u,l))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,po(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:eo(t.type,s),u=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=lo(l):l=bi(t,l=Si(n)?wi:vi.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&xo(t,a,r,l),co=!1,u=t.memoizedState,a.state=u,vo(t,r,a,i),f=t.memoizedState,s!==r||u!==f||yi.current||co?("function"==typeof c&&(So(t,n,c,r),f=t.memoizedState),(c=co||Co(t,n,s,r,u,f,l))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Ba(e,t,n,r,o,i)}function Ba(e,t,n,r,i,o){Ha(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&Ei(t,n,!1),ts(e,t,o);r=t.stateNode,Ra.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Ao(t,e.child,null,o),t.child=Ao(t,null,s,o)):La(e,t,s,o),t.memoizedState=r.state,i&&Ei(t,n,!0),t.child}function Va(e){var t=e.stateNode;t.pendingContext?Ci(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ci(0,t.context,!1),Fo(e,t.containerInfo)}var qa,Qa,Ga,Ka,Ja={dehydrated:null,retryTime:0};function Ya(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Wo.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),gi(Wo,1&a),null===e){if(void 0!==o.fallback&&Aa(t),s){if(s=o.fallback,(o=Vu(null,i,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Vu(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=Ja,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=Do(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=zu(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=zu(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=Ja,t.child=n,i}return n=Ao(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Vu(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Vu(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Ja,t.child=o,n}return t.memoizedState=null,t.child=Ao(t,e,o.children,n)}function Xa(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),so(e.return,t)}function Za(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function es(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(La(e,t,r.children,n),0!=(2&(r=Wo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xa(e,n);else if(19===e.tag)Xa(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(gi(Wo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===zo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Za(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===zo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Za(t,!0,n,null,o,t.lastEffect);break;case"together":Za(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ts(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&Cu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=zu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=zu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ns(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function rs(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return Si(t.type)&&ki(),null;case 3:return Uo(),hi(yi),hi(vi),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Na(t)||(t.effectTag|=4),Qa(t),null;case 5:Ho(t),n=Lo(jo.current);var o=t.type;if(null!==e&&null!=t.stateNode)Ga(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Lo(Mo.current),Na(t)){r=t.stateNode,o=t.type;var s=t.memoizedProps;switch(r[In]=t,r[An]=s,o){case"iframe":case"object":case"embed":Gt("load",r);break;case"video":case"audio":for(e=0;e<Ye.length;e++)Gt(Ye[e],r);break;case"source":Gt("error",r);break;case"img":case"image":case"link":Gt("error",r),Gt("load",r);break;case"form":Gt("reset",r),Gt("submit",r);break;case"details":Gt("toggle",r);break;case"input":Ce(r,s),Gt("invalid",r),ln(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Gt("invalid",r),ln(n,"onChange");break;case"textarea":Ae(r,s),Gt("invalid",r),ln(n,"onChange")}for(var u in an(o,s),e=null,s)if(s.hasOwnProperty(u)){var l=s[u];"children"===u?"string"==typeof l?r.textContent!==l&&(e=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(e=["children",""+l]):T.hasOwnProperty(u)&&null!=l&&ln(n,u)}switch(o){case"input":be(r),Ee(r,s,!0);break;case"textarea":be(r),Ne(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===un&&(e=je(o)),e===un?"script"===o?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(o,{is:r.is}):(e=u.createElement(o),"select"===o&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,o),e[In]=t,e[An]=r,qa(e,t,!1,!1),t.stateNode=e,u=sn(o,r),o){case"iframe":case"object":case"embed":Gt("load",e),l=r;break;case"video":case"audio":for(l=0;l<Ye.length;l++)Gt(Ye[l],e);l=r;break;case"source":Gt("error",e),l=r;break;case"img":case"image":case"link":Gt("error",e),Gt("load",e),l=r;break;case"form":Gt("reset",e),Gt("submit",e),l=r;break;case"details":Gt("toggle",e),l=r;break;case"input":Ce(e,r),l=ke(e,r),Gt("invalid",e),ln(n,"onChange");break;case"option":l=_e(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=i({},r,{value:void 0}),Gt("invalid",e),ln(n,"onChange");break;case"textarea":Ae(e,r),l=Ie(e,r),Gt("invalid",e),ln(n,"onChange");break;default:l=r}an(o,l);var c=l;for(s in c)if(c.hasOwnProperty(s)){var d=c[s];"style"===s?rn(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&$e(e,d):"children"===s?"string"==typeof d?("textarea"!==o||""!==d)&&He(e,d):"number"==typeof d&&He(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(T.hasOwnProperty(s)?null!=d&&ln(n,s):null!=d&&Y(e,s,d,u))}switch(o){case"input":be(e),Ee(e,r,!1);break;case"textarea":be(e),Ne(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Oe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Oe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=cn)}Cn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ka(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Lo(jo.current),Lo(Mo.current),Na(t)?(n=t.stateNode,r=t.memoizedProps,n[In]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[In]=t,t.stateNode=n)}return null;case 13:return hi(Wo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Na(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Wo.current)?zs===Ns&&(zs=js):(zs!==Ns&&zs!==js||(zs=Ls),0!==Gs&&null!==$s&&(Ju($s,Ws),Yu($s,Gs)))),(n||r)&&(t.effectTag|=4),null);case 4:return Uo(),Qa(t),null;case 10:return ao(t),null;case 19:if(hi(Wo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(s=r.rendering)){if(o)ns(r,!1);else if(zs!==Ns||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=zo(s))){for(t.effectTag|=64,ns(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,s=e.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return gi(Wo,1&Wo.current|2),t.child}s=s.sibling}}else{if(!o)if(null!==(e=zo(s))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),ns(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Vi()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,ns(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Vi()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Vi(),n.sibling=null,t=Wo.current,gi(Wo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function is(e){switch(e.tag){case 1:Si(e.type)&&ki();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Uo(),hi(yi),hi(vi),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Ho(e),null;case 13:return hi(Wo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return hi(Wo),null;case 4:return Uo(),null;case 10:return ao(e),null;default:return null}}function os(e,t){return{value:e,source:t,stack:ve(t)}}qa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Qa=function(){},Ga=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,u,l=t.stateNode;switch(Lo(Mo.current),e=null,n){case"input":a=ke(l,a),r=ke(l,r),e=[];break;case"option":a=_e(l,a),r=_e(l,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=Ie(l,a),r=Ie(l,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(l.onclick=cn)}for(s in an(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(u in l=a[s])l.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(T.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var c=r[s];if(l=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&c!==l&&(null!=c||null!=l))if("style"===s)if(l){for(u in l)!l.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&l[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(s,n)),n=c;else"dangerouslySetInnerHTML"===s?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(e=e||[]).push(s,c)):"children"===s?l===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(T.hasOwnProperty(s)?(null!=c&&ln(o,s),e||l===c||(e=[])):(e=e||[]).push(s,c))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},Ka=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var as="function"==typeof WeakSet?WeakSet:Set;function ss(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ve(n)),null!==n&&me(n.type),t=t.value,null!==e&&1===e.tag&&me(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function us(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ru(e,t)}else t.current=null}function ls(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:eo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return}throw Error(a(163))}function cs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ds(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function fs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ds(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:eo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&yo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}yo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&Cn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Lt(n)))))}throw Error(a(163))}function ps(e,t,n){switch("function"==typeof Uu&&Uu(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Gi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){Ru(i,e)}}e=e.next}while(e!==r)}))}break;case 1:us(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Ru(e,t)}}(t,n);break;case 5:us(t);break;case 4:ws(e,t,n)}}function hs(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&hs(t)}function gs(e){return 5===e.tag||3===e.tag||4===e.tag}function ms(e){e:{for(var t=e.return;null!==t;){if(gs(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(He(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||gs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?vs(e,n,t):ys(e,n,t)}function vs(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=cn));else if(4!==r&&null!==(e=e.child))for(vs(e,t,n),e=e.sibling;null!==e;)vs(e,t,n),e=e.sibling}function ys(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ys(e,t,n),e=e.sibling;null!==e;)ys(e,t,n),e=e.sibling}function ws(e,t,n){for(var r,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){e:for(var u=e,l=o,c=n,d=l;;)if(ps(u,d,c),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===l)break e;for(;null===d.sibling;){if(null===d.return||d.return===l)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}i?(u=r,l=o.stateNode,8===u.nodeType?u.parentNode.removeChild(l):u.removeChild(l)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(ps(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function bs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void cs(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[An]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Te(n,r),sn(e,i),t=sn(e,r),i=0;i<o.length;i+=2){var s=o[i],u=o[i+1];"style"===s?rn(n,u):"dangerouslySetInnerHTML"===s?$e(n,u):"children"===s?He(n,u):Y(n,s,u,t)}switch(e){case"input":xe(n,r);break;case"textarea":De(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Oe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Oe(n,!!r.multiple,r.defaultValue,!0):Oe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Lt(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Js=Vi()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=nn("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void Ss(t);case 19:return void Ss(t)}throw Error(a(163))}function Ss(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new as),t.forEach((function(t){var r=Lu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ks="function"==typeof WeakMap?WeakMap:Map;function Cs(e,t,n){(n=ho(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zs||(Zs=!0,eu=r),ss(e,t)},n}function Ts(e,t,n){(n=ho(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return ss(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===tu?tu=new Set([this]):tu.add(this),ss(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var xs,Es=Math.ceil,Ps=J.ReactCurrentDispatcher,_s=J.ReactCurrentOwner,Os=0,Is=8,As=16,Ds=32,Ns=0,Ms=1,Rs=2,js=3,Ls=4,Fs=5,Us=Os,$s=null,Hs=null,Ws=0,zs=Ns,Bs=null,Vs=1073741823,qs=1073741823,Qs=null,Gs=0,Ks=!1,Js=0,Ys=500,Xs=null,Zs=!1,eu=null,tu=null,nu=!1,ru=null,iu=90,ou=null,au=0,su=null,uu=0;function lu(){return(Us&(As|Ds))!==Os?1073741821-(Vi()/10|0):0!==uu?uu:uu=1073741821-(Vi()/10|0)}function cu(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=qi();if(0==(4&t))return 99===r?1073741823:1073741822;if((Us&As)!==Os)return Ws;if(null!==n)e=Zi(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Zi(e,150,100);break;case 97:case 96:e=Zi(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==$s&&e===Ws&&--e,e}function du(e,t){if(50<au)throw au=0,su=null,Error(a(185));if(null!==(e=fu(e,t))){var n=qi();1073741823===t?(Us&Is)!==Os&&(Us&(As|Ds))===Os?mu(e):(hu(e),Us===Os&&Yi()):hu(e),(4&Us)===Os||98!==n&&99!==n||(null===ou?ou=new Map([[e,t]]):(void 0===(n=ou.get(e))||n>t)&&ou.set(e,t))}}function fu(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&($s===i&&(Cu(t),zs===Ls&&Ju(i,Ws)),Yu(i,t)),i}function pu(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Ku(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function hu(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ji(mu.bind(null,e));else{var t=pu(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=lu();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Fi&&Oi(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ji(mu.bind(null,e)):Ki(r,gu.bind(null,e),{timeout:10*(1073741821-t)-Vi()}),e.callbackNode=t}}}function gu(e,t){if(uu=0,t)return Xu(e,t=lu()),hu(e),null;var n=pu(e);if(0!==n){if(t=e.callbackNode,(Us&(As|Ds))!==Os)throw Error(a(327));if(Du(),e===$s&&n===Ws||wu(e,n),null!==Hs){var r=Us;Us|=As;for(var i=Su();;)try{xu();break}catch(t){bu(e,t)}if(oo(),Us=r,Ps.current=i,zs===Ms)throw t=Bs,wu(e,n),Ju(e,n),hu(e),t;if(null===Hs)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=zs,$s=null,r){case Ns:case Ms:throw Error(a(345));case Rs:Xu(e,2<n?2:n);break;case js:if(Ju(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=_u(i)),1073741823===Vs&&10<(i=Js+Ys-Vi())){if(Ks){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,wu(e,n);break}}if(0!==(o=pu(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=xn(Ou.bind(null,e),i);break}Ou(e);break;case Ls:if(Ju(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=_u(i)),Ks&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,wu(e,n);break}if(0!==(i=pu(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==qs?r=10*(1073741821-qs)-Vi():1073741823===Vs?r=0:(r=10*(1073741821-Vs)-5e3,0>(r=(i=Vi())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Es(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=xn(Ou.bind(null,e),r);break}Ou(e);break;case Fs:if(1073741823!==Vs&&null!==Qs){o=Vs;var s=Qs;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=Vi()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Ju(e,n),e.timeoutHandle=xn(Ou.bind(null,e),r);break}}Ou(e);break;default:throw Error(a(329))}if(hu(e),e.callbackNode===t)return gu.bind(null,e)}}return null}function mu(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(Us&(As|Ds))!==Os)throw Error(a(327));if(Du(),e===$s&&t===Ws||wu(e,t),null!==Hs){var n=Us;Us|=As;for(var r=Su();;)try{Tu();break}catch(t){bu(e,t)}if(oo(),Us=n,Ps.current=r,zs===Ms)throw n=Bs,wu(e,t),Ju(e,t),hu(e),n;if(null!==Hs)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,$s=null,Ou(e),hu(e)}return null}function vu(e,t){var n=Us;Us|=1;try{return e(t)}finally{(Us=n)===Os&&Yi()}}function yu(e,t){var n=Us;Us&=-2,Us|=Is;try{return e(t)}finally{(Us=n)===Os&&Yi()}}function wu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,En(n)),null!==Hs)for(n=Hs.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ki();break;case 3:Uo(),hi(yi),hi(vi);break;case 5:Ho(r);break;case 4:Uo();break;case 13:case 19:hi(Wo);break;case 10:ao(r)}n=n.return}$s=e,Hs=zu(e.current,null),Ws=t,zs=Ns,Bs=null,qs=Vs=1073741823,Qs=null,Gs=0,Ks=!1}function bu(e,t){for(;;){try{if(oo(),Vo.current=ka,Yo)for(var n=Go.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Qo=0,Jo=Ko=Go=null,Yo=!1,null===Hs||null===Hs.return)return zs=Ms,Bs=t,Hs=null;e:{var i=e,o=Hs.return,a=Hs,s=t;if(t=Ws,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&a.mode)){var l=a.alternate;l?(a.updateQueue=l.updateQueue,a.memoizedState=l.memoizedState,a.expirationTime=l.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&Wo.current),d=o;do{var f;if(f=13===d.tag){var p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var h=d.memoizedProps;f=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(f){var g=d.updateQueue;if(null===g){var m=new Set;m.add(u),d.updateQueue=m}else g.add(u);if(0==(2&d.mode)){if(d.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=ho(1073741823,null);v.tag=2,go(a,v)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new ks,s=new Set,y.set(u,s)):void 0===(s=y.get(u))&&(s=new Set,y.set(u,s)),!s.has(a)){s.add(a);var w=ju.bind(null,i,u,a);u.then(w,w)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((me(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ve(a))}zs!==Fs&&(zs=Rs),s=os(s,a),d=o;do{switch(d.tag){case 3:u=s,d.effectTag|=4096,d.expirationTime=t,mo(d,Cs(d,u,t));break e;case 1:u=s;var b=d.type,S=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof b.getDerivedStateFromError||null!==S&&"function"==typeof S.componentDidCatch&&(null===tu||!tu.has(S)))){d.effectTag|=4096,d.expirationTime=t,mo(d,Ts(d,u,t));break e}}d=d.return}while(null!==d)}Hs=Pu(Hs)}catch(e){t=e;continue}break}}function Su(){var e=Ps.current;return Ps.current=ka,null===e?ka:e}function ku(e,t){e<Vs&&2<e&&(Vs=e),null!==t&&e<qs&&2<e&&(qs=e,Qs=t)}function Cu(e){e>Gs&&(Gs=e)}function Tu(){for(;null!==Hs;)Hs=Eu(Hs)}function xu(){for(;null!==Hs&&!Ui();)Hs=Eu(Hs)}function Eu(e){var t=xs(e.alternate,e,Ws);return e.memoizedProps=e.pendingProps,null===t&&(t=Pu(e)),_s.current=null,t}function Pu(e){Hs=e;do{var t=Hs.alternate;if(e=Hs.return,0==(2048&Hs.effectTag)){if(t=rs(t,Hs,Ws),1===Ws||1!==Hs.childExpirationTime){for(var n=0,r=Hs.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Hs.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Hs.firstEffect),null!==Hs.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Hs.firstEffect),e.lastEffect=Hs.lastEffect),1<Hs.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Hs:e.firstEffect=Hs,e.lastEffect=Hs))}else{if(null!==(t=is(Hs)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Hs.sibling))return t;Hs=e}while(null!==Hs);return zs===Ns&&(zs=Fs),null}function _u(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function Ou(e){var t=qi();return Gi(99,Iu.bind(null,e,t)),null}function Iu(e,t){do{Du()}while(null!==ru);if((Us&(As|Ds))!==Os)throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=_u(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===$s&&(Hs=$s=null,Ws=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=Us;Us|=Ds,_s.current=null,Sn=Qt;var s=gn();if(mn(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else e:{var l=(u=(u=s.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(l&&0!==l.rangeCount){u=l.anchorNode;var c=l.anchorOffset,d=l.focusNode;l=l.focusOffset;try{u.nodeType,d.nodeType}catch(e){u=null;break e}var f=0,p=-1,h=-1,g=0,m=0,v=s,y=null;t:for(;;){for(var w;v!==u||0!==c&&3!==v.nodeType||(p=f+c),v!==d||0!==l&&3!==v.nodeType||(h=f+l),3===v.nodeType&&(f+=v.nodeValue.length),null!==(w=v.firstChild);)y=v,v=w;for(;;){if(v===s)break t;if(y===u&&++g===c&&(p=f),y===d&&++m===l&&(h=f),null!==(w=v.nextSibling))break;y=(v=y).parentNode}v=w}u=-1===p||-1===h?null:{start:p,end:h}}else u=null}u=u||{start:0,end:0}}else u=null;kn={activeElementDetached:null,focusedElem:s,selectionRange:u},Qt=!1,Xs=i;do{try{Au()}catch(e){if(null===Xs)throw Error(a(330));Ru(Xs,e),Xs=Xs.nextEffect}}while(null!==Xs);Xs=i;do{try{for(s=e,u=t;null!==Xs;){var b=Xs.effectTag;if(16&b&&He(Xs.stateNode,""),128&b){var S=Xs.alternate;if(null!==S){var k=S.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&b){case 2:ms(Xs),Xs.effectTag&=-3;break;case 6:ms(Xs),Xs.effectTag&=-3,bs(Xs.alternate,Xs);break;case 1024:Xs.effectTag&=-1025;break;case 1028:Xs.effectTag&=-1025,bs(Xs.alternate,Xs);break;case 4:bs(Xs.alternate,Xs);break;case 8:ws(s,c=Xs,u),hs(c)}Xs=Xs.nextEffect}}catch(e){if(null===Xs)throw Error(a(330));Ru(Xs,e),Xs=Xs.nextEffect}}while(null!==Xs);if(k=kn,S=gn(),b=k.focusedElem,u=k.selectionRange,S!==b&&b&&b.ownerDocument&&hn(b.ownerDocument.documentElement,b)){null!==u&&mn(b)&&(S=u.start,void 0===(k=u.end)&&(k=S),"selectionStart"in b?(b.selectionStart=S,b.selectionEnd=Math.min(k,b.value.length)):(k=(S=b.ownerDocument||document)&&S.defaultView||window).getSelection&&(k=k.getSelection(),c=b.textContent.length,s=Math.min(u.start,c),u=void 0===u.end?s:Math.min(u.end,c),!k.extend&&s>u&&(c=u,u=s,s=c),c=pn(b,s),d=pn(b,u),c&&d&&(1!==k.rangeCount||k.anchorNode!==c.node||k.anchorOffset!==c.offset||k.focusNode!==d.node||k.focusOffset!==d.offset)&&((S=S.createRange()).setStart(c.node,c.offset),k.removeAllRanges(),s>u?(k.addRange(S),k.extend(d.node,d.offset)):(S.setEnd(d.node,d.offset),k.addRange(S))))),S=[];for(k=b;k=k.parentNode;)1===k.nodeType&&S.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<S.length;b++)(k=S[b]).element.scrollLeft=k.left,k.element.scrollTop=k.top}Qt=!!Sn,kn=Sn=null,e.current=n,Xs=i;do{try{for(b=e;null!==Xs;){var C=Xs.effectTag;if(36&C&&fs(b,Xs.alternate,Xs),128&C){S=void 0;var T=Xs.ref;if(null!==T){var x=Xs.stateNode;Xs.tag,S=x,"function"==typeof T?T(S):T.current=S}}Xs=Xs.nextEffect}}catch(e){if(null===Xs)throw Error(a(330));Ru(Xs,e),Xs=Xs.nextEffect}}while(null!==Xs);Xs=null,$i(),Us=o}else e.current=n;if(nu)nu=!1,ru=e,iu=t;else for(Xs=i;null!==Xs;)t=Xs.nextEffect,Xs.nextEffect=null,Xs=t;if(0===(t=e.firstPendingTime)&&(tu=null),1073741823===t?e===su?au++:(au=0,su=e):au=0,"function"==typeof Fu&&Fu(n.stateNode,r),hu(e),Zs)throw Zs=!1,e=eu,eu=null,e;return(Us&Is)!==Os||Yi(),null}function Au(){for(;null!==Xs;){var e=Xs.effectTag;0!=(256&e)&&ls(Xs.alternate,Xs),0==(512&e)||nu||(nu=!0,Ki(97,(function(){return Du(),null}))),Xs=Xs.nextEffect}}function Du(){if(90!==iu){var e=97<iu?97:iu;return iu=90,Gi(e,Nu)}}function Nu(){if(null===ru)return!1;var e=ru;if(ru=null,(Us&(As|Ds))!==Os)throw Error(a(331));var t=Us;for(Us|=Ds,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:cs(5,n),ds(5,n)}}catch(t){if(null===e)throw Error(a(330));Ru(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Us=t,Yi(),!0}function Mu(e,t,n){go(e,t=Cs(e,t=os(n,t),1073741823)),null!==(e=fu(e,1073741823))&&hu(e)}function Ru(e,t){if(3===e.tag)Mu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Mu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===tu||!tu.has(r))){go(n,e=Ts(n,e=os(t,e),1073741823)),null!==(n=fu(n,1073741823))&&hu(n);break}}n=n.return}}function ju(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),$s===e&&Ws===n?zs===Ls||zs===js&&1073741823===Vs&&Vi()-Js<Ys?wu(e,Ws):Ks=!0:Ku(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,hu(e)))}function Lu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=cu(t=lu(),e,null)),null!==(e=fu(e,t))&&hu(e)}xs=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||yi.current)ja=!0;else{if(r<n){switch(ja=!1,t.tag){case 3:Va(t),Ma();break;case 5:if($o(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:Si(t.type)&&xi(t);break;case 4:Fo(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,gi(to,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ya(e,t,n):(gi(Wo,1&Wo.current),null!==(t=ts(e,t,n))?t.sibling:null);gi(Wo,1&Wo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return es(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),gi(Wo,Wo.current),!r)return null}return ts(e,t,n)}ja=!1}}else ja=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=bi(t,vi.current),uo(t,n),i=ea(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Si(r)){var o=!0;xi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,fo(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&So(t,r,s,e),i.updater=ko,t.stateNode=i,i._reactInternalFiber=t,Eo(t,r,e,n),t=Ba(null,t,r,!0,o,n)}else t.tag=0,La(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=function(e){if("function"==typeof e)return Wu(e)?1:0;if(null!=e){if((e=e.$$typeof)===ue)return 11;if(e===de)return 14}return 2}(i),e=eo(i,e),o){case 0:t=Wa(null,t,i,e,n);break e;case 1:t=za(null,t,i,e,n);break e;case 11:t=Fa(null,t,i,e,n);break e;case 14:t=Ua(null,t,i,eo(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Wa(e,t,r,i=t.elementType===r?i:eo(r,i),n);case 1:return r=t.type,i=t.pendingProps,za(e,t,r,i=t.elementType===r?i:eo(r,i),n);case 3:if(Va(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,po(e,t),vo(t,r,null,n),(r=t.memoizedState.element)===i)Ma(),t=ts(e,t,n);else{if((i=t.stateNode.hydrate)&&(Pa=Pn(t.stateNode.containerInfo.firstChild),Ea=t,i=_a=!0),i)for(n=Do(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else La(e,t,r,n),Ma();t=t.child}return t;case 5:return $o(t),null===e&&Aa(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,Tn(r,i)?s=null:null!==o&&Tn(r,o)&&(t.effectTag|=16),Ha(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(La(e,t,s,n),t=t.child),t;case 6:return null===e&&Aa(t),null;case 13:return Ya(e,t,n);case 4:return Fo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ao(t,null,r,n):La(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Fa(e,t,r,i=t.elementType===r?i:eo(r,i),n);case 7:return La(e,t,t.pendingProps,n),t.child;case 8:case 12:return La(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var u=t.type._context;if(gi(to,u._currentValue),u._currentValue=o,null!==s)if(u=s.value,0===(o=zr(u,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,o):1073741823))){if(s.children===i.children&&!yi.current){t=ts(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var l=u.dependencies;if(null!==l){s=u.child;for(var c=l.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===u.tag&&((c=ho(n,null)).tag=2,go(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),so(u.return,n),l.expirationTime<n&&(l.expirationTime=n);break}c=c.next}}else s=10===u.tag&&u.type===t.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===t){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}La(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,uo(t,n),r=r(i=lo(i,o.unstable_observedBits)),t.effectTag|=1,La(e,t,r,n),t.child;case 14:return o=eo(i=t.type,t.pendingProps),Ua(e,t,i,o=eo(i.type,o),r,n);case 15:return $a(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:eo(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Si(r)?(e=!0,xi(t)):e=!1,uo(t,n),To(t,r,i),Eo(t,r,i,n),Ba(null,t,r,!0,e,n);case 19:return es(e,t,n)}throw Error(a(156,t.tag))};var Fu=null,Uu=null;function $u(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Hu(e,t,n,r){return new $u(e,t,n,r)}function Wu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zu(e,t){var n=e.alternate;return null===n?((n=Hu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Bu(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Wu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case ne:return Vu(n.children,i,o,t);case se:s=8,i|=7;break;case re:s=8,i|=1;break;case ie:return(e=Hu(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=o,e;case le:return(e=Hu(13,n,t,i)).type=le,e.elementType=le,e.expirationTime=o,e;case ce:return(e=Hu(19,n,t,i)).elementType=ce,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:s=10;break e;case ae:s=9;break e;case ue:s=11;break e;case de:s=14;break e;case fe:s=16,r=null;break e;case pe:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Hu(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Vu(e,t,n,r){return(e=Hu(7,e,r,t)).expirationTime=n,e}function qu(e,t,n){return(e=Hu(6,e,null,t)).expirationTime=n,e}function Qu(e,t,n){return(t=Hu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gu(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Ku(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ju(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Yu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Xu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Zu(e,t,n,r){var i=t.current,o=lu(),s=wo.suspense;o=cu(o,i,s);e:if(n){t:{if(et(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Si(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var l=n.type;if(Si(l)){n=Ti(n,l,u);break e}}n=u}else n=mi;return null===t.context?t.context=n:t.pendingContext=n,(t=ho(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),go(i,t),du(i,o),o}function el(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function tl(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function nl(e,t){tl(e,t),(e=e.alternate)&&tl(e,t)}function rl(e,t,n){var r=new Gu(e,t,n=null!=n&&!0===n.hydrate),i=Hu(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,fo(i),e[Dn]=r.current,n&&0!==t&&function(e,t){var n=Ze(t);Pt.forEach((function(e){gt(e,t,n)})),_t.forEach((function(e){gt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function il(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ol(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=el(a);s.call(e)}}Zu(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new rl(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var u=i;i=function(){var e=el(a);u.call(e)}}yu((function(){Zu(t,a,e,i)}))}return el(a)}function al(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!il(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}rl.prototype.render=function(e){Zu(e,this._internalRoot,null,null)},rl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Zu(null,e,null,(function(){t[Dn]=null}))},mt=function(e){if(13===e.tag){var t=Zi(lu(),150,100);du(e,t),nl(e,t)}},vt=function(e){13===e.tag&&(du(e,3),nl(e,3))},yt=function(e){if(13===e.tag){var t=lu();du(e,t=cu(t,e,null)),nl(e,t)}},_=function(e,t,n){switch(t){case"input":if(xe(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=jn(r);if(!i)throw Error(a(90));Se(r),xe(r,i)}}}break;case"textarea":De(e,n);break;case"select":null!=(t=n.value)&&Oe(e,!!n.multiple,t,!1)}},M=vu,R=function(e,t,n,r,i){var o=Us;Us|=4;try{return Gi(98,e.bind(null,t,n,r,i))}finally{(Us=o)===Os&&Yi()}},j=function(){(Us&(1|As|Ds))===Os&&(function(){if(null!==ou){var e=ou;ou=null,e.forEach((function(e,t){Xu(t,e),hu(t)})),Yi()}}(),Du())},L=function(e,t){var n=Us;Us|=2;try{return e(t)}finally{(Us=n)===Os&&Yi()}};var sl={Events:[Mn,Rn,jn,E,C,zn,function(e){ot(e,Wn)},D,N,Xt,ut,Du,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Fu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Uu=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}})(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Nn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sl,t.createPortal=al,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=rt(t))?null:e.stateNode},t.flushSync=function(e,t){if((Us&(As|Ds))!==Os)throw Error(a(187));var n=Us;Us|=1;try{return Gi(99,e.bind(null,t))}finally{Us=n,Yi()}},t.hydrate=function(e,t,n){if(!il(t))throw Error(a(200));return ol(null,e,t,!0,n)},t.render=function(e,t,n){if(!il(t))throw Error(a(200));return ol(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!il(e))throw Error(a(40));return!!e._reactRootContainer&&(yu((function(){ol(null,null,e,!1,(function(){e._reactRootContainer=null,e[Dn]=null}))})),!0)},t.unstable_batchedUpdates=vu,t.unstable_createPortal=function(e,t){return al(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!il(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return ol(e,t,n,!1,r)},t.version="16.14.0"},73961:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(57799)},24821:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case l:case f:case m:case g:case u:return e;default:return t}}case i:return t}}}function k(e){return S(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||S(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===o},t.isLazy=function(e){return S(e)===m},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===i},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===u||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y||e.$$typeof===w||e.$$typeof===b||e.$$typeof===v)},t.typeOf=S},338:function(e,t,n){"use strict";e.exports=n(24821)},13218:function(e,t,n){"use strict";var r=n(99813),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,g=i?Symbol.for("react.lazy"):60116,m="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w={};function b(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||y}function S(){}function k(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||y}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},S.prototype=b.prototype;var C=k.prototype=new S;C.constructor=k,r(C,b.prototype),C.isPureReactComponent=!0;var T={current:null},x=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,r)&&!E.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:T.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var O=/\/+/g,I=[];function A(e,t,n,r){if(I.length){var i=I.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function D(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function N(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var s=!1;if(null===e)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return n(r,e,""===t?"."+R(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){var l=t+R(i=e[u],u);s+=N(i,l,n,r)}else if(null===e||"object"!=typeof e?l=null:l="function"==typeof(l=m&&e[m]||e["@@iterator"])?l:null,"function"==typeof l)for(e=l.call(e),u=0;!(i=e.next()).done;)s+=N(i=i.value,l=t+R(i,u++),n,r);else if("object"===i)throw n=""+e,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return s}function M(e,t,n){return null==e?0:N(e,"",t,n)}function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function j(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?F(e,r,n,(function(e){return e})):null!=e&&(_(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(O,"$&/")+"/")+n)),r.push(e))}function F(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(O,"$&/")+"/"),M(e,L,t=A(t,o,r,i)),D(t)}var U={current:null};function $(){var e=U.current;if(null===e)throw Error(v(321));return e}var H={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:T,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return F(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;M(e,j,t=A(null,null,t,n)),D(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return F(e,t,null,(function(e){return e})),t},only:function(e){if(!_(e))throw Error(v(143));return e}},t.Component=b,t.Fragment=s,t.Profiler=l,t.PureComponent=k,t.StrictMode=u,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,t.cloneElement=function(e,t,n){if(null==e)throw Error(v(267,e));var i=r({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=T.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)x.call(t,c)&&!E.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];i.children=l}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=P,t.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return $().useCallback(e,t)},t.useContext=function(e,t){return $().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return $().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return $().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return $().useLayoutEffect(e,t)},t.useMemo=function(e,t){return $().useMemo(e,t)},t.useReducer=function(e,t,n){return $().useReducer(e,t,n)},t.useRef=function(e){return $().useRef(e)},t.useState=function(e){return $().useState(e)},t.version="16.14.0"},89526:function(e,t,n){"use strict";e.exports=n(13218)},41196:function(e,t){"use strict";var n,r,i,o,a;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,u=null,l=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(l,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(l,0))},r=function(e,t){u=setTimeout(e,t)},i=function(){clearTimeout(u)},o=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var m=f.now();t.unstable_now=function(){return f.now()-m}}var v=!1,y=null,w=-1,b=5,S=0;o=function(){return t.unstable_now()>=S},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):b=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,C=k.port2;k.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();S=e+b;try{y(!0,e)?C.postMessage(null):(v=!1,y=null)}catch(e){throw C.postMessage(null),e}}else v=!1},n=function(e){y=e,v||(v=!0,C.postMessage(null))},r=function(e,n){w=p((function(){e(t.unstable_now())}),n)},i=function(){h(w),w=-1}}function T(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<P(i,t)))break e;e[r]=t,e[n]=i,n=r}}function x(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,u=e[s];if(void 0!==a&&0>P(a,n))void 0!==u&&0>P(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==u&&0>P(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var _=[],O=[],I=1,A=null,D=3,N=!1,M=!1,R=!1;function j(e){for(var t=x(O);null!==t;){if(null===t.callback)E(O);else{if(!(t.startTime<=e))break;E(O),t.sortIndex=t.expirationTime,T(_,t)}t=x(O)}}function L(e){if(R=!1,j(e),!M)if(null!==x(_))M=!0,n(F);else{var t=x(O);null!==t&&r(L,t.startTime-e)}}function F(e,n){M=!1,R&&(R=!1,i()),N=!0;var a=D;try{for(j(n),A=x(_);null!==A&&(!(A.expirationTime>n)||e&&!o());){var s=A.callback;if(null!==s){A.callback=null,D=A.priorityLevel;var u=s(A.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?A.callback=u:A===x(_)&&E(_),j(n)}else E(_);A=x(_)}if(null!==A)var l=!0;else{var c=x(O);null!==c&&r(L,c.startTime-n),l=!1}return l}finally{A=null,D=a,N=!1}}function U(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var $=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){M||N||(M=!0,n(F))},t.unstable_getCurrentPriorityLevel=function(){return D},t.unstable_getFirstCallbackNode=function(){return x(_)},t.unstable_next=function(e){switch(D){case 1:case 2:case 3:var t=3;break;default:t=D}var n=D;D=t;try{return e()}finally{D=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=$,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=D;D=e;try{return t()}finally{D=n}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?s+u:s,a="number"==typeof a.timeout?a.timeout:U(e)}else a=U(e),u=s;return e={id:I++,callback:o,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,T(O,e),null===x(_)&&e===x(O)&&(R?i():R=!0,r(L,u-s))):(e.sortIndex=a,T(_,e),M||N||(M=!0,n(F))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();j(e);var n=x(_);return n!==A&&null!==A&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<A.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=D;return function(){var n=D;D=t;try{return e.apply(this,arguments)}finally{D=n}}}},72851:function(e,t,n){"use strict";e.exports=n(41196)},35934:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}}),e=n.hmd(e);var r=function(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:e)},79397:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},85663:function(e,t,n){var r=n(82530),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},o=/%[sdj%]/g;t.format=function(e){if(!y(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(u(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,a=String(e).replace(o,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),s=r[n];n<i;s=r[++n])m(s)||!S(s)?a+=" "+s:a+=" "+u(s);return a},t.deprecate=function(e,n){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?console.trace(n):console.error(n),i=!0}return e.apply(this,arguments)}};var a,s={};function u(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),g(n)?r.showHidden=n:n&&t._extend(r,n),w(r.showHidden)&&(r.showHidden=!1),w(r.depth)&&(r.depth=2),w(r.colors)&&(r.colors=!1),w(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),d(r,e,r.depth)}function l(e,t){var n=u.styles[t];return n?"["+u.colors[n][0]+"m"+e+"["+u.colors[n][1]+"m":e}function c(e,t){return e}function d(e,n,r){if(e.customInspect&&n&&T(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return y(i)||(i=d(e,i,r)),i}var o=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(y(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(v(t))return e.stylize(""+t,"number");if(g(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),C(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(T(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(k(n))return e.stylize(Date.prototype.toString.call(n),"date");if(C(n))return f(n)}var l,c="",S=!1,x=["{","}"];(h(n)&&(S=!0,x=["[","]"]),T(n))&&(c=" [Function"+(n.name?": "+n.name:"")+"]");return b(n)&&(c=" "+RegExp.prototype.toString.call(n)),k(n)&&(c=" "+Date.prototype.toUTCString.call(n)),C(n)&&(c=" "+f(n)),0!==a.length||S&&0!=n.length?r<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=S?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)_(t,String(a))?o.push(p(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(p(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return p(e,n,r,s,t,S)})),e.seen.pop(),function(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,c,x)):x[0]+c+x[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),_(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=m(n)?d(e,u.value,null):d(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),w(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function m(e){return null===e}function v(e){return"number"==typeof e}function y(e){return"string"==typeof e}function w(e){return void 0===e}function b(e){return S(e)&&"[object RegExp]"===x(e)}function S(e){return"object"==typeof e&&null!==e}function k(e){return S(e)&&"[object Date]"===x(e)}function C(e){return S(e)&&("[object Error]"===x(e)||e instanceof Error)}function T(e){return"function"==typeof e}function x(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(w(a)&&(a=r.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(a)){var n=r.pid;s[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else s[e]=function(){};return s[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=g,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=y,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=w,t.isRegExp=b,t.isObject=S,t.isDate=k,t.isError=C,t.isFunction=T,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(79397);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(e=new Date,n=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":"),[e.getDate(),P[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(48575),t._extend=function(e,t){if(!t||!S(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var O="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(O&&e[O]){var t;if("function"!=typeof(t=e[O]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),O&&Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=O,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,t).then((function(e){r.nextTick(a,null,e)}),(function(e){r.nextTick(I,e,a)}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},89198:function(e){"use strict";e.exports=function(){}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){if(void 0!==n){const t=n.e,r={};var e;document.head.getAttribute("data-info");n.e=function(i){return t(i).catch((function(t){const o=r.hasOwnProperty(i)?r[i]:2;if(void 0===e&&(e=!1),e&&2===o&&(n.p=n.p.replace("/assets.","/assets2.")),o<1)throw t;return new Promise((function(e){setTimeout((function(){r[i]=o-1,e(n.e(i))}),100)}))}))}}}(),function(){"use strict";var e,t,r,i,o,a,s,u,l,c,d,f,p,h;!function(e){e.msnews="msnews",e.entnewsntp="entnewsntp",e.msedgdhp="msedgdhp",e.msedgntp="msedgntp",e.chromentpnews="chromentpnews"}(e||(e={})),function(e){e.Stock="Stock",e.L3_Ownership="L3_Ownership",e.L3_Earnings="L3_Earnings",e.L3_Sentiment="L3_Sentiment",e.Index_L3_Sentiment="Index_L3_Sentiment",e.Crypto_L3_Sentiment="Crypto_L3_Sentiment",e.L3_Grades="L3_Grades",e.L3_Financials="L3_Financials",e.L3_History="L3_History",e.L3_Options="L3_Options",e.L3_Related="L3_Related",e.Index_L3_Related="Index_L3_Related",e.L3_Company="L3_Company",e.L3_Analysis="L3_Analysis",e.L3_Events="L3_Events",e.Index="Index",e.ETF="ETF",e.ETF_L3_Ownership="ETF_L3_Ownership",e.ETF_L3_Holdings="ETF_L3_Holdings",e.Fund="Fund",e.Fund_L3_Ownership="Fund_L3_Ownership",e.Fund_L3_Holdings="Fund_L3_Holdings",e.Commodity="Commodity",e.Commodity_L3_Ownership="Commodity_L3_Ownership",e.Currency="Currency",e.CryptocurrencyLanding="CryptocurrencyLanding",e.Cryptocurrency="Cryptocurrency",e.Watchlist="Watchlist",e.WatchlistSummary="WatchlistSummary",e.WatchlistJourney="WatchlistJourney",e.Markets="Markets",e.MarketsOfFunds="Markets_Funds",e.MarketsOfETFs="Markets_ETFs",e.DetailOfCollection="DetailOfCollection",e.Landing="Landing",e.Learn_Cryptocurrencies="Learn_Cryptocurrencies",e.Discover="Discover",e.InvestorDetails="InvestorDetails",e.ListDetails="ListDetails",e.ListOverview="ListOverview",e.MyLists="MyLists",e.InvestingNews="InvestingNews",e.CompaniesNews="CompaniesNews",e.CompanyNews="CompanyNews",e.TopStocksNews="TopStocksNews",e.PersonalFinanceNews="PersonalFinanceNews",e.SpendingNews="SpendingNews",e.RetirementNews="RetirementNews",e.CreditNews="CreditNews",e.TaxesNews="TaxesNews",e.InsuranceNews="InsuranceNews",e.RealEstateNews="RealEstateNews",e.CareersNews="CareersNews",e.EducationNews="EducationNews",e.SmallBusinessNews="SmallBusinessNews",e.BusinessNews="BusinessNews",e.BusinessClassNews="BusinessClassNews",e.TechnologyNews="TechnologyNews",e.EconomyNews="EconomyNews",e.CareerEducationNews="CareerEducationNews",e.VideoNews="VideoNews",e.FinanceNews="FinanceNews",e.ConsolidatedCreditNews="ConsolidatedCreditNews",e.GadgetsNews="GadgetsNews",e.IndepthNews="IndepthNews",e.IncometaxNews="IncometaxNews",e.EntrepreneurNews="EntrepreneurNews",e.MarketexpressNews="MarketexpressNews",e.PropertyNews="PropertyNews",e.SavingInvestingNews="SavingInvestingNews",e.BeursNews="BeursNews",e.LuxuryNews="LuxuryNews",e.StartupNews="StartupNews",e.TarimNews="TarimNews",e.FgtsNews="FgtsNews",e.Events="Events",e.ExploreCenter="ExploreCenter",e.Compare="Compare",e.Ask="Ask",e.Widget="Widget",e.Chart="Chart",e.EntityDetail="EntityDetail",e.Unknown="Unknown"}(t||(t={})),function(e){e.ManagementView="management",e.QuoteId="id",e.DefaultTab="tab",e.Noti="noti",e.Ocid="ocid",e.L3="l3",e.QnAId="qnaid",e.CollapsibleQuotesActiveIndex="cqai",e.CrashCourseID="crcoid",e.RelatedQuoteId="relatedQuoteId",e.RelatedSource="relatedSource",e.NewWatchlist="isNew",e.TraceId="tid",e.VideoContentID="vdcnid",e.SkipAuth="skipAuth",e.IntEnv="intEnv",e.NoHeader="noheader",e.ScrollTo="scrollTo",e.Sector="sector",e.AddedIds="addedIds",e.MiddleLayerId="miid",e.EventId="eventId",e.EventLevel="eventLevel",e.EntityIdentifier="entityIdentifier",e.Comparison="comps",e.ComparePageView="view",e.SMSImage="smsimg",e.PostId="postId",e.P1src="p1src",e.Scenario="scenario",e.Watchlist="watchlist",e.IndicatorId="indicator",e.IframeId="iframeid"}(r||(r={})),function(e){e.Undefined="Undefined",e.Watchlist_Management="Watchlist_Management",e.Watchlist_Browsing="Watchlist_Browsing",e.CurrencyL1="CurrencyL1",e.CurrencyDetail="CurrencyDetail"}(i||(i={})),function(e){e.Summary="Summary",e.Financials="Financials",e.Analysis="Analysis",e.Options="Options",e.Earnings="Earnings",e.Ownership="Ownership",e.Company="Company",e.History="History",e.Related="Related",e.Sentiment="Sentiment",e.Grades="Grades",e.Holdings="Holdings",e.Events="Events"}(o||(o={})),function(e){e.KeyRatios="KeyRatios",e.IncomeStatement="IncomeStatement",e.BalanceSheet="BalanceSheet",e.CashFlow="CashFlow",e.Unknown="Unknown"}(a||(a={})),function(e){e.Landing="Landing",e.Learn_Cryptocurrencies="Learn_Cryptocurrencies",e.Detail="Detail",e.Cryptocurrencies="Cryptocurrencies",e.CryptocurrencyDetails="CryptocurrencyDetails",e.CryptocurrenciesLanding="CryptocurrenciesLanding",e.CurrencyConverter="CurrencyConverter",e.Detail_L3="Detail_L3",e.Watchlist="Watchlist",e.Markets="Markets",e.Discover="Discover",e.InvestorDetails="InvestorDetails",e.ListDetails="ListDetails",e.InvestingNews="InvestingNews",e.CompaniesNews="CompaniesNews",e.CompanyNews="CompanyNews",e.TopStocksNews="TopStocksNews",e.PersonalFinanceNews="PersonalFinanceNews",e.SpendingNews="SpendingNews",e.RetirementNews="RetirementNews",e.CreditNews="CreditNews",e.TaxesNews="TaxesNews",e.InsuranceNews="InsuranceNews",e.RealEstateNews="RealEstateNews",e.CareersNews="CareersNews",e.EducationNews="EducationNews",e.SmallBusinessNews="SmallBusinessNews",e.BusinessNews="BusinessNews",e.BusinessClassNews="BusinessClassNews",e.TechnologyNews="TechnologyNews",e.EconomyNews="EconomyNews",e.CareerEducationNews="CareerEducationNews",e.VideoNews="VideoNews",e.FinanceNews="FinanceNews",e.ConsolidatedCreditNews="ConsolidatedCreditNews",e.GadgetsNews="GadgetsNews",e.IndepthNews="IndepthNews",e.IncometaxNews="IncometaxNews",e.EntrepreneurNews="EntrepreneurNews",e.MarketexpressNews="MarketexpressNews",e.PropertyNews="PropertyNews",e.SavingInvestingNews="SavingInvestingNews",e.BeursNews="BeursNews",e.LuxuryNews="LuxuryNews",e.StartupNews="StartupNews",e.TarimNews="TarimNews",e.FgtsNews="FgtsNews",e.Events="Events",e.ExploreCenter="ExploreCenter",e.Compare="Compare",e.Ask="Ask",e.Chart="Chart",e.Unknown="Unknown"}(s||(s={})),function(e){e.RecentViewed="Recent",e.TopGainers="TopGainers",e.TopLosers="TopLosers",e.MostActives="MostActives",e.Currency="Currency",e.Bond="Bond",e.Crypto="Crypto",e.PopularSearch="PopularSearch",e.PeopleAlsoWatch="peopleAlsoWatch",e.Markets="Markets",e.LargestComponents="largestComponents",e.RelatedIndices="relatedIndices",e.TopHoldings="TopHoldings",e.UpComingEarnings="UpComingEarnings",e.EarningsSurpeise="EarningsSurprise",e.SentimentBullish="SentimentBullish",e.SentimentBearish="SentimentBearish",e.RelatedQuotes="Related",e.TopGradedStocks="TopGradedStocks",e.RecentlyUpgradedStocks="RecentlyUpgradedStocks",e.ListDetails="ListDetails",e.ETFMarkets="ETFMarkets",e.FundMarkets="FundMarkets",e.Projection="Projection"}(u||(u={})),function(e){e.CryptoInsights="CryptoInsights",e.CryptoVideos="CryptoVideos",e.TrendingArticles="TrendingArticles",e.CryptoTutorials="CryptoTutorials",e.TrendingQuestions="TrendingQuestions",e.CryptoPortfolio="CryptoPortfolio",e.CryptoLists="CryptoLists",e.TrendingNews="TrendingNews"}(l||(l={})),function(e){e.CryptoInsights="fdc_cryptoInsights",e.CryptoVideos="fdc_videosFeed",e.CryptoTutorials="fdc_learnCryptoHeader",e.CryptoTutorialsDT="fdc_learnCryptoHeaderDT",e.CryptoTutorialsFromInsights="fdc_learnCryptoHeaderIns",e.CryptoLists="fdc_cryptoLists",e.TrendingQuestions="fdc_financeCryptoQnA",e.TrendingNews="fdc_financeFeeds_cryptol1",e.TrendingNewsGeoPolitical="fdc_financeFeeds_crypto"}(c||(c={})),function(e){e.PriceIncrement="Price_Increase",e.PriceDecrement="Price_Decrease",e.EarningRelease="EarningRelease",e.InstitutionalHolding="InstitutionalHolding",e.TechnicalIndicator="TechnicalIndicator",e.Sentiment="Sentiment"}(d||(d={})),function(e){e.Msn="Msn",e.Windows="Windows",e.WindowsApp="WindowsApp"}(f||(f={})),function(e){e.MlAl="MlAl",e.DomainAl="DomainAl"}(p||(p={}));!function(e){e.Normal="Normal",e.Regex="Regex",e.SEO="SEO",e.END="END"}(h||(h={}));var g,m;function v(){return!("undefined"==typeof window||!window.document||!window.document.createElement||window.isRenderServiceEnv)}!function(e){e.InstitutionalHolding="InstitutionalHolding",e.IndividualHolding="IndividualHolding",e.PriceIncrease="Price_Increase",e.PriceDecrease="Price_Decrease",e.Sentiment="Sentiment",e.StockGrade="StockGrade",e.EarningRelease="EarningRelease",e.TechnicalIndicator="TechnicalIndicator"}(g||(g={})),function(e){e.down="down",e.up="up"}(m||(m={}));let y=new Map;const w=Object.freeze({set(e,t){return y.set(e,t),this},get:function(e,t){let n=y.get(e);return void 0===n&&t&&(n=t(),y.set(e,n)),n},clear(){y.clear()},delete:e=>y.delete(e),has:e=>y.has(e)});const b=[0,656,980,1304],S="rd",k={ver:"0.1.0",spec:{innerWidth:{clientValue:()=>window.innerWidth},innerHeight:{clientValue:()=>window.innerHeight},outerWidth:{clientValue:()=>window.outerWidth},breakpoint:{clientValue:()=>function(e,t){for(let n=t.length-1;n>=0;n--)if(e>=t[n])return n}(window.innerWidth,b)},locationHash:{clientValue:()=>window.location.hash},locationHref:{clientValue:()=>window.location.href},locationHost:{clientValue:()=>window.location.host},locationHostName:{clientValue:()=>window.location.hostname},locationOrigin:{clientValue:()=>window.location.origin},locationPathName:{clientValue:()=>window.location.pathname},locationProtocol:{clientValue:()=>window.location.protocol},locationSearch:{clientValue:()=>window.location.search},screenTop:{clientValue:()=>window.screenTop},screenY:{clientValue:()=>window.screenY},canUseCssGrid:{clientValue:()=>window.CSS&&window.CSS.supports&&CSS.supports("display","grid")||!1},devicePixelRatio:{clientValue:()=>window.devicePixelRatio},language:{clientValue:()=>document.documentElement.lang},direction:{clientValue:()=>document.documentElement.dir}}};const C="__RequestDataInstance__";class T{constructor(e,t){if(this.url=new URL(e.href),this.innerHeight=e.innerHeight,this.devicePixelRatio=e.devicePixelRatio,this.canUseCssGrid=e.canUseCssGrid,this.requestId=e.requestId,this.cookie=e.cookie,this.referer=e.referer,this.userAgent=e.userAgent,this.clientData=e.clientData,this.oneServiceHeaders=function(e){try{if(e)return JSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){const e=x("OSATE",this.cookie),t=!!e&&"1"===e,n=x("OSAT",this.cookie);if(t&&n||!e&&!n)return this.msalAuthReady=!0,void(n&&(this.oneServiceHeaders.Authorization=`Bearer ${n}`));this.msalAuthReady=!1,this.pssrRejectedReason=e&&!t?"interactiveLogin":e&&!n?"missOSAT":"missOSATE"}}static getInstance(){const e=w.get(C);return e||(n.g.TEST_ENV?E({href:"http://localhost:8080/",innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:"0",cookie:"",userAgent:"",referer:"",oneServiceHeaders:""}):E({href:"http://localhost:8080/",innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:"0",cookie:"",userAgent:"",referer:"",oneServiceHeaders:""}))}static resetInstance(e){const t=new T(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1]);return w.set(C,t),t}}function x(e,t){if(t&&e){const n=new RegExp("\\b"+e+"\\s*=\\s*([^;]*)","i").exec(t);return n&&n.length>1?n[1]:null}return null}const E=T.resetInstance,P=()=>T.getInstance();function _(){return v()?window.location.href:P().url.href}function O(){return v()?window.location.hostname:P().url.hostname}function I(){return v()?window.location.host:P().url.host}function A(){return v()?window.location.origin:P().url.origin}function D(){return v()?window.location.search:P().url.search}function N(){return v()?window.document.cookie:P().cookie}function M(e){if(!v())throw new Error("getDocumentElementsByTagName is unsupported server side. This call should be wrapped in canUseDOM().");return window.document.getElementsByTagName(e)}let R;const j=new Promise((e=>{R=e}));let L=()=>j,F=null;var U;!function(e){e.Stocks="stock",e.Funds="fund",e.Commodity="future",e.Indices="index",e.ETF="etf",e.Currency="currencyPair",e.Cryptocurrency="cryptocurrency"}(U||(U={}));n(87322);function $(e,t){!function(e){if(!v()||!e)return;const t=new URL(_());Object.entries(e).forEach((e=>{let[n,r]=e;r?t.searchParams.set(n,r):t.searchParams.delete(n)}));const n=t.toString().replace("%3A",":");window.history.replaceState(window.history.state,"",n),null==F||F.updatePageMetadata({page:{url:_()}})}({[e]:t})}var H,W;!function(e){e.RisingFast="rising fast",e.DroppingFast="dropping fast",e.RoseQuickly="rose quickly",e.DroppedQuickly="dropped quickly",e.EarningsBeat="earnings beat",e.EarningsMiss="earnings miss",e.InvestorSells="investor sells",e.InvestorBuys="investor buys",e.InvestorHolds="investor holds",e.InvestorNew="new investor",e.InvestorsNew="new Investors",e.InvestorExits="investor exits",e.InvestorsExit="investors exit",e.SentimentReinforced="sentiment reinforced",e.SentimentVulnerable="sentiment vulnerable",e.SentimentMentionsIncrease="mentions increase",e.SentimentMentionsDecrease="mentions decrease",e.TechnicalNewHigh="new 52wk high",e.TechnicalNewLow="new 52wk low",e.TechnicalPriceAboveMA="price above ma",e.TechnicalPriceBelowMA="price below ma",e.TechnicalPriceAbove200DMA="above 200 dma",e.TechnicalPriceBelow200DMA="below 200 dma",e.TechnicalPriceAbove50DMA="above 50 dma",e.TechnicalPriceBelow50DMA="below 50 dma",e.Technical200DayMA="200 day ma",e.Technical50DayMA="50 day ma",e.Technical50WeekMA="50 week ma",e.Technical20WeekMA="20 week ma",e.Technical20MonthMA="20 month ma",e.Technical10MonthMA="10 month ma",e.TechnicalOversoldRSI="oversold rsi",e.TechnicalOverboughtRSI="overbought rsi",e.MarketDown="market down",e.MarketUp="market up"}(H||(H={})),function(e){e.overrideByNoti="overrideByNoti",e.moreTI="moreTI",e.ti="ti",e.chartWidth="chartWidth",e.duration="duration",e.projection="projection"}(W||(W={}));new Map([[g.EarningRelease.toLowerCase(),t.L3_Earnings],[g.IndividualHolding.toLowerCase()+U.Commodity,t.Commodity_L3_Ownership],[g.IndividualHolding.toLowerCase()+U.ETF,t.ETF_L3_Ownership],[g.IndividualHolding.toLowerCase()+U.Funds,t.Fund_L3_Ownership],[g.IndividualHolding.toLowerCase(),t.L3_Ownership],[g.InstitutionalHolding.toLowerCase()+U.Commodity,t.Commodity_L3_Ownership],[g.InstitutionalHolding.toLowerCase()+U.ETF,t.ETF_L3_Ownership],[g.InstitutionalHolding.toLowerCase()+U.Funds,t.Fund_L3_Ownership],[g.InstitutionalHolding.toLowerCase(),t.L3_Ownership],[g.Sentiment.toLowerCase()+U.Stocks,t.L3_Sentiment],[g.Sentiment.toLowerCase()+U.Indices,t.Index_L3_Sentiment],[g.TechnicalIndicator.toLowerCase()+U.Indices,t.Index],[g.TechnicalIndicator.toLowerCase()+U.ETF,t.ETF],[g.TechnicalIndicator.toLowerCase()+U.Funds,t.Fund],[g.TechnicalIndicator.toLowerCase()+U.Commodity,t.Commodity],[g.TechnicalIndicator.toLowerCase()+U.Cryptocurrency,t.Cryptocurrency],[g.TechnicalIndicator.toLowerCase()+U.Currency,t.Currency],[g.TechnicalIndicator.toLowerCase()+U.Stocks,t.Stock],[g.TechnicalIndicator.toLowerCase(),t.Stock]]);function z(e){try{if(e)return JSON.parse(e)}catch(e){}return null}const B="html",V="head",q="data-client-settings",Q="data-service-url",G="aace",K="ace",J="OSATE",Y="child",X="AL_STATE",Z="WID",ee="APP_WID",te={activityId:"x-client-activityid",adsReferer:"ads-referer",authorization:"Authorization",entAuthorization:"Ent-Authorization",muid:"MUID",rpsToken:"UserAuthToken",taboolaSessionId:"taboola-sessionId",xboxToken:"s-xbox-token",traceParent:"traceparent",uniFeatTun:"OneSvc-Uni-Feat-Tun"};var ne,re;!function(e){e.Presentation="presentation"}(ne||(ne={})),function(e){e.Unknown="Unknown",e.Portrait="Portrait",e.Landscape="Landscape"}(re||(re={}));const ie="pageVersions";var oe,ae;!function(e){e[e.Undefined=0]="Undefined",e[e.Basic=1]="Basic",e[e.Advanced=2]="Advanced",e[e.Premium=3]="Premium"}(oe||(oe={})),function(e){e.Init="init",e.Config="config",e.Targeted="targeted",e.Sticky="sticky",e.NoSticky="no_sticky",e.Admin="admin",e.Forced="forced",e.Manual="manual"}(ae||(ae={}));new Set(["winp0dash","winp1taskbar","winp1taskbarent","winp1taskbardirect","winp1taskbardirectent","winp1taskbarent","winp2juntaskbar","winp2juntaskbarent","winp2","winp2ent","winp2fp","winp2fpent","winp2fptaskbar","winp2fptaskbarent","winp2fptaskbarhover","winp2fptaskbarhoverent","winp2widget","winp2widgetent"]);const se=new Set(["finance-app-win","weather-app-win","winpstoreapp"]),ue=(new Set(["msedgdhp","msedgdhphdr","msedgntphdr","msedgntp","msedgdhp","entnewsntp"]),new Set(["hpmsn"])),le="peregrine-widget-settings";function ce(){var e;return v()?z(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName(le)[0])||void 0===e?void 0:e.getAttribute(q))):null}class de{constructor(e){this.searchParams=Object.create(null),this.parseQueryString(e)}set(e,t){return null!=t&&(this.searchParams[e]=t),this}get(e){return this.searchParams[e]}getAllSearchParams(){return this.searchParams}delete(e){delete this.searchParams[e]}toString(){const e=Object.keys(this.searchParams);return e.length?e.sort().map((e=>`${e}=${this.searchParams[e]}`)).join("&"):""}parseQueryString(e){if(!e)return;const t=e.indexOf("?");t>-1&&(e=e.substring(t+1)),e.split("&").forEach((e=>{const t=e.split("="),n=t[0];this.get(n)||(this.searchParams[n]=t[1])}))}}const fe="feed/personalize/settings";function pe(e,t){const n=t.replace(/[[\]]/g,"\\$&"),r=new RegExp("[?&]"+n+"(=([^&#]*)|&|#|$)").exec(e);if(!r)return null;const i=r[2];return decodeURIComponent(i.replace(/\+/g," "))||""}let he=new class{constructor(){v()?(this.isDebugEnabled=(pe(window.location.href,"debug")||"").toLowerCase()in{1:1,true:1}||"vp"===(pe(window.location.href,"reqsrc")||"").toLowerCase(),this.isDebugEnabled&&!n.g.TEST_ENV&&(window.webpackRequire=n)):this.isDebugEnabled=!1}getLoggingService(){return null}isDebug(){return this.isDebugEnabled}setDebug(e){this.isDebugEnabled=e}setTags(e){}log(e,t){this.isDebug()&&console.info(e)}logError(e){console.error(e)}logCallback(e){this.isDebug()&&console.info(e())}logObjects(){this.isDebug()&&console.log(...arguments)}logSingleObject(e,t){this.isDebug()&&console.log(e)}};class ge{get supported(){return!!this.storage}constructor(e){this.storage=e}getItem(e){if(this.supported)return this.storage.getItem(e)}getObject(e,t){const n=this.getItem(e);if(null!=n){const e=z(n);if(null!=e)return e}return t}key(e){if(this.supported&&e>=0)return this.storage.key(e)}keys(){return this.supported?Object.keys(this.storage):[]}setObject(e,t){void 0!==t?this.setItem(e,JSON.stringify(t)):this.removeItem(e)}removeObject(e){const t=this.removeItem(e);if(null!=t)return z(t)}setItem(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.supported)try{if(!t)throw"Attempted to store null/undefined value: "+t;this.storage.setItem(e,t)}catch(e){if(!n)throw e;he.logError(e)}else if(!n)throw new Error("WebStorage not supported")}get length(){if(this.supported)return this.storage.length}removeItem(e){if(this.supported){const t=this.getItem(e);return this.storage.removeItem(e),t}}clear(){this.supported&&this.storage.clear()}removeSubstringKeys(e){if(!this.supported||!e)return;const t=[];for(let n=0;n<this.storage.length;n++){const r=this.key(n);r&&r.includes(e)&&t.push(r)}for(let e=0;e<t.length;e++)this.removeItem(t[e])}}function me(){return ve}let ve=new class extends ge{constructor(){let e=null;if(v())try{e=localStorage}catch(e){}super(e)}};const ye="1s-tokens";var we;let be,Se,ke;function Ce(){return be=xe(),be&&be.accessToken?be:void 0}function Te(){if(be=xe(),!be)return"notAvailable";const e=be.expiresOn,t=new Date(e),n="expired";if(!t.getTime())return n;return t>new Date?"valid":n}function xe(){return be=be||void 0===be&&me().getObject(ye)||null,be}function Ee(e){be=void 0,Se=e;const{accessToken:t,expiresOn:n}=e||{};t&&n?me().setObject(ye,{accessToken:t,expiresOn:n}):me().removeItem(ye)}function Pe(e){try{return decodeURIComponent(e)}catch(e){}}function _e(e,t){if(!e)return null;if(t)return function(e){var t;const n=null===(t=document.cookie)||void 0===t?void 0:t.match(`\\b${e}=([^;]*)`);return n?Pe(n[1]):null}(e);if(!ke){const e="undefined"!=typeof document&&document.cookie.split("; ");ke={};const t=e&&e.length;for(let n=0;n<t;n++){const t=e[n].indexOf("=");ke[e[n].slice(0,t).toLocaleLowerCase()]=Pe(e[n].slice(t+1))}}const n=e.toLocaleLowerCase();return ke[n]||null}function Oe(e){let t,n=!1;const r=function(){return n||(n=!0,t=e()),t};return r.cache={clear:()=>{n=!1,t=void 0}},r}!function(e){e.NotAvailable="notAvailable",e.Expired="expired",e.Valid="valid"}(we||(we={}));const Ie="currentaccount",Ae=365,De=Oe((()=>{const e=_e(Ie,!0),t=e&&z(e),{login_hint:n}=t||{};return n&&t})),Ne=Oe((()=>!!_e(Ie)));function Me(){try{return localStorage}catch(e){return null}}function Re(){try{return sessionStorage}catch(e){return null}}const je="__PageExperimentInstance__";function Le(e){w.set(je,e)}function Fe(e){if(!w.has(je)&&v()){var t;Le(Ue(document.head.dataset.info||(null===(t=window.document.getElementsByClassName("peregrine-widget-settings")[0])||void 0===t||null===(t=t.dataset)||void 0===t?void 0:t.info)||""))}const n=w.get(je);return n&&n.has(e)}function Ue(e){const t=(e||"").replace(/(^f:|;.*$)/g,"").split(",");return new Set(t)}const $e="uxlogin",He="uxlogout",We="uxedit",ze="useRedirect",Be="uxswitch",Ve=Oe((()=>{const e=Me();return e&&"1"===e.getItem($e)||v()&&location.search&&location.search.includes(`${$e}=1`)}));function qe(){const e=Me();e&&Ve()&&(e.removeItem($e),Ve.cache.clear())}const Qe=Oe((()=>{const e=Re();return e&&!!e.getItem(He)}));function Ge(){const e=Re();e&&Qe()&&(e.removeItem(He),Qe.cache.clear())}const Ke=Oe((()=>{const e=Me();return e&&"1"===e.getItem(We)}));function Je(){const e=Me();e&&Ke()&&(e.removeItem(We),Ke.cache.clear())}const Ye=Oe((()=>{const e=Me(),t=!Fe("prg-noredirect")&&e&&"1"===e.getItem(ze)&&function(){const e=document.head.dataset.clientSettings||"",{browser:t}=z(e)||{},{browserType:n=""}=t||{};return!!/safari/i.test(n)}();return t}));const Xe=Oe((()=>{const e=Me();return e&&"1"===e.getItem(Be)}));const Ze={outlookMobile:"OnOOutlookMobile",officeMobile:"OnOOfficeMobile",sapphire:"OnOStartApp",skype:"OnOSkype",winWeatherApp:"weather-app-win",xiaomiApp:"xmweather-",launcher:"launcherntp",launcherInterests:"launcherInterests",moto:"moto",swiftKey:"swiftKey",winMoneyApp:"finance-app-win"},et="superappdhp",tt=["ios","android","ipados"];let nt=mt("ocid").toLowerCase(),rt=mt("chpltfm"),[it,ot]=rt.toLowerCase().split("-");function at(){if(!v())return!1;const e=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.send,r=t&&t.messageHandlers&&t.messageHandlers.send&&t.messageHandlers.send.postMessage;return!(!n&&!r)}function st(){const e=rt&&"outlook"===it&&tt.includes(ot),t=nt===Ze.outlookMobile.toLowerCase();return e||t}function ut(){const e=rt&&["office","union"].includes(it)&&tt.includes(ot),t=nt===Ze.officeMobile.toLowerCase();return e||t}function lt(){const e=nt===Ze.skype.toLowerCase()||"skype"===it;return v()&&(null===(t=window.skypeWebviewBridge)||void 0===t?void 0:t.isSkype)||e;var t}function ct(){return at()||nt===Ze.sapphire.toLowerCase()||nt===et.toLowerCase()}function dt(){const e=mt("edge");return("emmx"===it||"1"===e)&&ct()||"mmx"===nt}function ft(){return"3rdp"===it||nt.startsWith(Ze.xiaomiApp)||nt===Ze.moto.toLowerCase()||pt()}function pt(){return nt.toLowerCase()===Ze.swiftKey.toLowerCase()||"swiftkey"==it.toLowerCase()}function ht(){return-1!==location.href.indexOf("huawei")||-1!==location.href.indexOf("airfind")||-1!==location.href.indexOf("aloha")||"vivo"===nt&&ft()}const gt=Oe((()=>at()||lt()||ut()||st()||ct()||nt===Ze.winWeatherApp.toLowerCase()||nt===Ze.winMoneyApp.toLowerCase()||dt()||ft()||[Ze.launcher.toLowerCase(),Ze.launcherInterests.toLowerCase()].includes(nt)&&ct()||pt()||ht()||-1!==location.href.indexOf("metaos=true")));function mt(e){try{return new URL(location.href).searchParams.get(e)||""}catch(e){return""}}const vt=ce()||{},yt={newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,distribution:1,superApp:1,channeldesktop:1,channelmobile:1,edgeMobile:1},wt={edgeChromium:1},bt={winWidgets:1},St={edgeChromium:1,shopping:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1},kt={edgeChromium:1,channeldesktop:1,channelmobile:1,cgHomePage:1,distribution:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,superApp:1,edgeMobile:1},Ct=Oe((()=>vt&&vt.apptype)),Tt=(Oe((()=>v()&&Ct()in bt)),Oe((()=>v()&&!gt()&&!(Ct()in yt)&&!_t()&&!Ot()))),xt=Oe((()=>Tt()&&!(Ct()in wt))),Et=(Oe((()=>Tt()&&(!(Ct()in wt)||!Ne()))),Oe((()=>Tt()&&!Nt()&&!Mt())));function Pt(){return Mt()||Nt()}const _t=Oe((()=>{const e=!(Ct()in St)&&jt()&&function(){const e=new URLSearchParams(D()).get("ocid")||(null==vt?void 0:vt.ocid),t=null==e?void 0:e.toLowerCase(),n=!ue.has(t)&&"homePage"!==Ct()&&!se.has(t);return n}()&&!function(){const e="windows"==Ct()&&"windowshp"==(vt&&vt.pagetype)&&_().includes(`${fe}`);return e}();return e})),Ot=()=>v()&&document&&document.body&&document.body.getElementsByClassName("peregrine-widgets").length>0,It=Oe((()=>Fe("prg-1s-workid")||Fe("prg-1s-sm-workid")||Fe("prg-1s-twid")||Fe("prg-1s-mm-wid-t")));Oe((()=>Ct()in kt||_t()));function At(){const e=Se;if(e)return he.log("dual-auth: tryGet1SAuthToken returned live tokens"),e;const t=Ce();if(t)return he.log(`dual-auth: tryGet1SAuthToken returned cached tokens that are ${Te()}`),t;he.log("dual-auth: tryGet1SAuthToken returned empty tokens")}function Dt(e){const t={};return e&&(t[te.authorization]=`Bearer ${e}`),t}function Nt(){return xt()&&Ve()||function(){const e=xt()&&!Ve()&&De()&&("expired"==Te()||Ke());return e}()||Qe()||Ye()}function Mt(){return xt()&&!De()&&Xe()}function Rt(){Ne.cache.clear(),De.cache.clear(),xt.cache.clear()}const jt=Oe((()=>{const{browser:e}=vt,{browserType:t="",detected:n={}}=e||{},{browserType:r=""}=n||{};return/edgeChromium/i.test(t)||/edgeAndroid/i.test(t)||/edgeiOS/i.test(t)||/edge/i.test(r)}));Oe((()=>xt()&&!_t()));const Lt=Object.freeze({AIDRequestHeaderName:"pcs-aid",Product:Object.freeze({edge:"spartan",edgeChromium:"anaheim",hybrid:"spartan",hub:"prime",microsoftNews:"msnews",office:"entnews",weather:"prime",views:"prime"}),PageTimings:Object.freeze({inlineStart:"page.inlineStart",fragmentFetchStart:"ssr.fragmentFetching",fragmentFetchEnd:"ssr.fragmentFetched",fragmentFetchStatusCode:"ssr.fragmentFetchStatusCode",fragmentBrowserCached:"ssr.fragmentBrowserCached",fragmentCDNCached:"ssr.fragmentCDNCached",injectingDOM:"ssr.injectingDOM",awaitingRAF:"ssr.awaitingRAF",markersSet:"ssr.markersSet",completed:"ssr.completed",CSRTimeout:"ssr.CSRTimeout",CSROnly:"ssr.csrOnly",didSSR:"ssr.isSSRPagePresent",riverEnabled:"ssr.riverEnabled",ssrState:"ssr.state",pageTTVR:"TTVR",fetchDelayReason:"ssr.fetchDelayReason",awaitingInnerWidthTime:"ssr.awaitingInnerWidthTime",skipDueToHiddenReason:"ssr.skipDueToHiddenReason",pssrRejectedReason:"ssr.pssrRejected",ssrResponseSize:"ssr.responseSize",inlineBodyStart:"ssr.inlineBodyStart",pcsEnv:"pcsEnv"}),pauseThresholdMS:1200,oneServiceHeaders:"1s-headers",edgeNTPHeader:"sec-edge-ntp",defaultSSRFeedLayout:"multi"});var Ft,Ut,$t,Ht;!function(e){e[e.Hub=0]="Hub",e[e.Homepage=1]="Homepage",e[e.Edge=2]="Edge",e[e.Weather=3]="Weather",e[e.Finance=4]="Finance",e[e.Community=5]="Community",e[e.Views=6]="Views",e[e.Gaming=7]="Gaming",e[e.Sports=8]="Sports",e[e.Health=9]="Health",e[e.Shopping=10]="Shopping",e[e.CgHomePage=11]="CgHomePage"}(Ft||(Ft={})),function(e){e[e.documentHidden=0]="documentHidden",e[e.hasPaused=1]="hasPaused",e[e.invalidInnerWidth=2]="invalidInnerWidth",e[e.slowFetchStart=3]="slowFetchStart"}(Ut||(Ut={})),function(e){e.NotStarted="NotStarted",e.Fetching="Fetching",e.InsertingDOM="InsertingDOM",e.Completed="Completed",e.HasFetchError="HasFetchError",e.HasError="HasError",e.SkipDueToCSROnly="SkipDueToCSROnly",e.SkipDueToHidden="SkipDueToHidden",e.SkipForEarlyAuth="SkipForEarlyAuth",e.PssrRejected="PssrRejected"}($t||($t={})),function(e){e.PureSSR="pssr",e.DSSR="dssr"}(Ht||(Ht={}));function Wt(e){const t=e;return void 0!==t.clientValue?t.clientValue:Object.keys(e).reduce(((t,n)=>Object.assign(Object.assign({},t),{[n]:Wt(e[n])})),{})}class zt{constructor(e,t){this.spec=e,this.qspPrefix=t||"rd"}get verParam(){return`${this.qspPrefix}.ver`}get data(){return void 0===this.memo&&(this.memo=Wt(this.spec.spec)),this.memo}loadQueryParams(e){if(void 0!==this.memo)throw"overwriting existing query string parameters.";const t=e.get([this.qspPrefix,"ver"].join("."));if(t!==this.spec.ver)throw`unmatched spec version: expected "${this.spec.ver}" but got ${t}.`;this.memo={},e.forEach(((e,t)=>{if(!t.startsWith(this.qspPrefix))return;if(t===this.verParam)return;const n=t.split(".").slice(1);let r=this.memo;n.forEach(((t,i)=>{let o={};if(i===n.length-1)try{o=()=>JSON.parse(e)}catch(e){throw this.memo=void 0,e}Object.prototype.hasOwnProperty.call(r,t)||(r[t]=o),"object"!=typeof o||(r=r[t])}))}))}getURLSearchParams(){const e=new URLSearchParams,t=(n,r)=>{Object.keys(n).forEach((i=>{const o=n[i],a=[...r,i];"object"!=typeof o?e.append(a.join("."),JSON.stringify(o())):t(o,a)}))};return t(this.data,[this.qspPrefix]),e.sort(),e.append(this.verParam,this.spec.ver),e}getSerializedData(){return this.getURLSearchParams().toString()}}var Bt;let Vt,qt,Qt;function Gt(){if(qt)return qt;const e=document.head.getAttribute("data-info");return qt=((/f:\s*([^;]+)/i.exec(e)||{})[1]||"").toLowerCase(),qt}!function(e){e.JSON="application/json;charset=UTF-8",e.HTML="text/html;charset=UTF-8"}(Bt=Bt||(Bt={}));var Kt;!function(e){e[e.Alert=0]="Alert",e[e.NoAlert=1]="NoAlert",e[e.HighImpact=2]="HighImpact",e[e.Critical=3]="Critical"}(Kt||(Kt={}));const Jt=new class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;this.maxLength=20,this.list=[],this.maxLength=e}push(e){this.list.push(e),this.list.length>this.maxLength&&this.list.shift()}get data(){return this.list}};function Yt(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Kt.Alert,i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0;try{const a=function(){if(!Vt){const e=document.head.getAttribute("data-client-settings");e&&(Vt=JSON.parse(e))}return Vt}(),s=Gt(),u=function(e){if(e){const{pcsInfo:t,pageGenTime:n}=e,r=new Date(n).getTime(),i=!t||["prod","prod-ssr","prod-ssrntp"].includes(t.env);Qt=i?"browser.events.data.msn.com":"events-sandbox.data.msn.com";return{cors:"true","content-type":"application/x-json-stream","client-id":"NO_AUTH","client-version":"1DS-Web-JS-2.2.2",apikey:i?"0ded60c75e44443aa3484c42c1c43fe8-9fc57d3f-fdac-4bcf-b927-75eafe60192e-7279":"f8857dedc6f54ca8962cfb713e01e7d7-e9250191-fe0b-446f-95ae-07516262f98c-7028","upload-time":r,w:"0",anoncknm:"app_anon"}}return null}(a);let l="";u&&u.apikey&&""!==u.apikey&&(l=function(e){if(e){const t=e.indexOf("-");if(t>0)return e.substring(0,t)}return""}(u.apikey));const c=function(e,t,n,r,i,o){let a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:Kt.Alert;if(n){i=i||{};const{apptype:u,audienceMode:l,pagetype:c,pageGenTime:d,bundleInfo:f,deviceFormFactor:p="",fd_muid:h,os:g}=n;i.pageGenTime=d,i.build=f&&f.v,i.appType=u;const m=function(e,t,n){const r=n&&"phone"===n.toLowerCase(),i=t&&"enterprise"===t;return{bingHomepage:"binghomepage",mmx:"emmx",edge:"spartan",edgeChromium:i?"entnews":"anaheim",hybrid:"spartan",hub:r?"prime_mobile":"prime",microsoftNews:"msnews",office:"entnews",views:r?"prime_mobile":"prime",windowsShell:"windowsshell"}[e]}(u,l,p),v=m||u,y=document.getElementsByTagName("html")[0].getAttribute("lang");let w,b="",S="muid";try{if("edgeChromium"===u&&"object"==typeof window&&window.location&&window.location.search){const e=new URLSearchParams(window.location.search);w=e.has("startpage")?"msedgdhp":"msedgntp","enterprise"===l?w="entnewsntp":"xbox"===g&&(w="xboxntp")}window&&window.getCookieConsentRequired&&"function"==typeof window.getCookieConsentRequired&&window.getCookieConsentRequired()||(b=_e("muid"))}catch{}b||(b=n.aid,S="aid");const k={name:"MS.News.Web.AppError",time:d,ver:"4.0",iKey:`o:${r}`,data:{baseData:{},baseType:"MS.News.Web.Base",page:{name:"default",product:v,type:Xt(c),content:{category:"standaloneError"},ocid:w},browser:{clientId:b,clientIdType:S},flight:{id:o},request:{activityId:n.aid,requestId:n.aid,afdMuid:h},locale:{mkt:y},extSchema:{id:e,severity:a,pb:i,message:t}}};var s;if(b&&"muid"===S)k.ext={...null==k?void 0:k.ext,user:{...null==k||null===(s=k.ext)||void 0===s?void 0:s.user,localId:`t:${b}`}};return k.data.flight.tmpl="","object"==typeof window&&(window.isSSREnabled&&(k.data.flight.tmpl+=";ssr-enabled:1"),window.isSSRCompleted&&(k.data.flight.tmpl+=";ssr-completed:1")),k?JSON.stringify(k):null}return null}(t,e,a,l,n,s,r);if(o&&!function(e){if(null==e)return!1;return e.startsWith("2")||e.startsWith("3")}(null==a?void 0:a.aid))return console.error(c),void console.error(`This App error Id: ${t} will not be sent due to app error sampling!`);if(u&&c){console.error(c),Jt.push(c);const e="https://"+Qt+"/OneCollector/1.0"+function(e){return"?"+Object.keys(e).map((function(t){return t+"="+encodeURIComponent(e[t])})).join("&")}(u);if(i&&!performance.getEntriesByType("visibility-state").some((e=>"visible"===e.name))){const t=()=>{"visible"===document.visibilityState&&navigator.sendBeacon(e,c)};document.addEventListener("visibilitychange",t,{once:!0})}else navigator.sendBeacon(e,c)}}catch{}}function Xt(e){let t=e;switch(e){case"windowsshellhp":t="dhp";break;case"video":t="watch"}return t}function Zt(e){Yt("Click event occurred before hydration",35800,{})}function en(){return v()?window._pageTimings||(window._pageTimings={}):w.get("__diagnostics_pageTimings",(()=>({})))}const tn="prg-";const nn="undefined",rn="ssrOnly",on="rsorigin",an="https://int.msn.com";function sn(){return"hidden"===document.visibilityState}function un(e,t,n){return e?t+"="+(n||e)+"&":""}function ln(e,t,n,r,i,o){let a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";return t+function(e){return typeof e!==nn?un(encodeURIComponent(e),"entry"):""}(i)+(0===(s=r).length?"":un(encodeURIComponent("f:"+s.join(",")+";"),"dataInfo"))+(un(window.CSS&&window.CSS.supports&&CSS.supports("display","grid")||"false","grid")+un(document.documentElement.dir,"dir")+un(document.documentElement.lang,"lang")+un(window.innerHeight,"innerHeight")+un(window.devicePixelRatio,"devicePixelRatio")+un(encodeURIComponent(window.location.href),"href"))+function(e){let t="";if(e)for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"aid"!==n&&"pageGenTime"!==n){let r=e[n];"object"==typeof r&&(r=JSON.stringify(r)),t+=un(encodeURIComponent(r),n)}return t}(n)+function(e){const t="true"===mn(rn,e),n=mn("csrDelay",e);let r="";return t&&(r+=un("true",rn)),n&&(r+=un(n,"csrDelay")),r}(e)+o()+a;var s}function cn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:performance.now(),n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=en();e in r||(r[e]=n?Math.round(t):t)}function dn(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(null!==(n=e)&&"object"==typeof n&&!1===Array.isArray(n))for(const[n,r]of Object.entries(e||{}))"number"==typeof r&&cn(n,r,t);var n}function fn(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];window.performance.mark(e),t&&cn(e)}function pn(e){for(let t=0;t<e.ttvrFlags.length;t++)e.ttvrFlags[t]===Lt.PageTimings.pageTTVR?fn(e.ttvrFlags[t],!0):fn(e.ttvrFlags[t]);fn(Lt.PageTimings.markersSet,!0)}function hn(e){fn(Lt.PageTimings.awaitingRAF,!0),e.ttvrFlags&&(typeof document.hidden!==nn==!1||sn()?pn(e):(window.requestAnimationFrame((function(){setTimeout((function(){pn(e)}),0)})),document.addEventListener("visibilitychange",(function(){pn(e)}),{once:!0})))}async function gn(e){const t=await(n="#root",new Promise((e=>{const t=document.querySelector(n);if(t)return e(t);const r=new MutationObserver((t=>{const r=document.querySelector(n);if(r)return e(r)}));r.observe(document.body,{childList:!0,subtree:!0})})));var n;if(t.innerHTML="",!window.RENDER){e.headInjectionString&&document.head.insertAdjacentHTML("beforeend",e.headInjectionString),t.insertAdjacentHTML("afterbegin",e.html),document.head.insertAdjacentHTML("beforeend",'<style id="ssr-style">'+e.css+"</style>"),e.pageTitle&&(document.title=e.pageTitle),hn(e),window.REDUX_DATA=e.state,window.SSR=$t.Completed,fn(Lt.PageTimings.completed,!0),"undefined"!=typeof globalThis?document.addEventListener("click",globalThis.untrackedClickHandler):document.addEventListener("click",window.untrackedClickHandler);const n=e.ssrTimings||{};dn(n),dn(n.configTimings),dn(n.pageTimings)}}function mn(e,t){return t.get(e)||t.get(e.toLowerCase())}function vn(e){window.SSR=e,window.RENDER=!0}function yn(e){vn($t.HasError),window.SSR_ERROR=e}function wn(){let e=!1;const t=en()[Lt.PageTimings.inlineStart],{responseStart:n}=function(){if(!v())return;const e=(performance.getEntriesByType("navigation")||[])[0],t={};for(const n in e){const r=e[n];t[n]="number"==typeof r?Math.round(r):r}return t}()||{};if(void 0!==n&&t){e=t-n>Lt.pauseThresholdMS}return e}function bn(e,t){window.SSR=$t.NotStarted,window.RENDER=!1,window.SSRONLY=e,window.RIVER=t}function Sn(e){let t=window.location.origin;return function(e,t){const n=e.indexOf("item=spalink")>=0&&-1===e.indexOf("item=spalink:latest")&&-1===e.indexOf("item=spalink%3Alatest");return!(t.get(on)&&"true"===t.get(on))&&n}(window.location.search,e)&&(t=an),t}function kn(e,t,n,r,i){var o;let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:k,s=arguments.length>6?arguments[6]:void 0,u=arguments.length>7?arguments[7]:void 0;if(window.RENDER||window.SSR!==$t.NotStarted)return;const l=null==u||null===(o=u.skipAuth)||void 0===o?void 0:o.call(u);if(!l&&Pt())return void vn($t.SkipForEarlyAuth);const c=new zt(a,S),d=function(e,t){const n="true"===mn("ssrCdn",e);return(t||(n?"https://assets.msn.com":window.location.origin))+"/render/?fragment=true&"}(e,s),f=ln(e,d,t,n,r,i,c.getSerializedData()),p=new XMLHttpRequest,h=e=>{const t=`Fragment fetch for ${f} failed. Status code: ${p.status}. ${e}`;Yt(t,34002,{}),window.SSR=$t.HasFetchError,window.SSR_ERROR=new Error(t)};p.onabort=function(){h("XMLHttpRequest.onabort called.")},p.onerror=function(){h("XMLHttpRequest.onerror called.")},p.onreadystatechange=function(){try{if(4!==p.readyState)return;if(fn(Lt.PageTimings.fragmentFetchEnd,!0),cn(Lt.PageTimings.fragmentFetchStatusCode,p.status,!1),p.status>=200&&p.status<300){if(!window.RENDER){window.SSR=$t.InsertingDOM;const e=JSON.parse(p.responseText);if(e.html)fn(Lt.PageTimings.injectingDOM,!0),gn(e);else{const e=`Fragment fetch for ${f} succeeded but returned empty html.`;Yt(e,34002,{}),window.SSR=$t.HasFetchError,window.SSR_ERROR=new Error(e)}}const e=p.getResponseHeader("Date"),t=p.getResponseHeader("x-cache");!function(e,t,n){const r=function(e){const t=performance.getEntriesByType("resource").filter((t=>"xmlhttprequest"===t.initiatorType&&t.name===e));return t.length>0?t[0]:null}(e);let i=!1;o=r,i=o&&("transferSize"in o||"nextHopProtocol"in o)?function(e){return void 0!==e.transferSize?0===e.transferSize:void 0!==e.nextHopProtocol?""===e.nextHopProtocol:(Yt("didUseBrowserCache was called without supporting transferSize or nextHopProtocol",34003,{perfResourceTimingKeys:Object.keys(e||{})}),!1)}(r):function(e){const t=Me();if(!e||!t)return Yt("dateResponseHeader was empty or localStorage is not supported",34004,{dateResponseHeader:e}),!1;const n="SSRDateResponseHeader";let r=!1;const i=t.getItem(n);i&&(r=i===e);r||t.setItem(n,e);return r}(t);var o;const a=function(e,t){return!e&&"TCP_HIT"===t}(i,n);cn(Lt.PageTimings.fragmentBrowserCached,i?1:0,!1),cn(Lt.PageTimings.fragmentCDNCached,a?1:0,!1)}(f,e,t)}else{const e="x-msedge-ref",t=p.getResponseHeader(e)||"";h(`Response is not OK. Header: ${e}: ${t}`)}}catch(e){h(`Exception occured on XMLHttpRequest.onreadystatechange.\n${e.stack||e}`)}},p.open("GET",f),p.withCredentials=!l;const g=t.aid;if(p.setRequestHeader(Lt.AIDRequestHeaderName,g),!l&&xt()){const{accessToken:e}=At()||{},t=Dt(e);p.setRequestHeader(Lt.oneServiceHeaders,JSON.stringify(t))}window.SSR=$t.Fetching,fn(Lt.PageTimings.fragmentFetchStart,!0),p.send()}function Cn(e){Yt("Error when loading bundle: "+e,20202,{})}function Tn(e,t,n,r,i){Yt("JS Exception",20203,{source:t,customMessage:e,line:n,column:r,stack:i&&i.stack})}const xn={ver:`${k.ver}`,spec:{...k.spec,isDarkModeEnabled:{clientValue:()=>!0===window.matchMedia("(prefers-color-scheme:dark)").matches}}};var En,Pn;!function(e){e[e.Exceptional=0]="Exceptional",e[e.Fallback=1]="Fallback"}(En||(En={})),function(e){e[e.Alert=0]="Alert",e[e.NoAlert=1]="NoAlert",e[e.HighImpact=2]="HighImpact",e[e.Critical=3]="Critical"}(Pn||(Pn={}));Pn.Alert;const _n=Pn.NoAlert,On=Pn.HighImpact,In=Pn.Critical,An=(En.Fallback,En.Exceptional,{build:""});function Dn(e){Object.assign(An,e)}function Nn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Pn.Alert,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;const o={id:e,severity:t,pb:void 0===n?An:n};return void 0!==r&&(o.message=r),void 0!==i&&(o.source=i),o}function Mn(e,t){return{build:"",userImpacting:e,errorBehavior:t}}const Rn=Nn(8841,On),jn=Nn(8842,In),Ln=Nn(8843),Fn=Nn(8844),Un=Nn(8845,In),$n=Nn(8846,In),Hn=Nn(8847),Wn=Nn(8848,On),zn=(Pn.NoAlert,Pn.NoAlert,Nn(33100)),Bn=Nn(33102),Vn=Nn(33105),qn=Nn(33110),Qn=Nn(33113,_n),Gn=Nn(33130,In,Mn(!0)),Kn=Nn(33151),Jn=Nn(33160,In,Mn(!0)),Yn=(Pn.NoAlert,Nn(44300)),Xn=(Pn.NoAlert,Pn.NoAlert,Pn.NoAlert,Pn.NoAlert,Pn.NoAlert,Pn.HighImpact,Pn.HighImpact,Pn.HighImpact,Pn.HighImpact,Nn(112001,_n));Pn.NoAlert,Pn.NoAlert,Pn.NoAlert,Pn.NoAlert;function Zn(e,t){if(e instanceof Error){const n=e.toString();return t&&e.stack?`${n}, Stack: ${e.stack}`:n}return"string"==typeof e?e:function(e){try{return void 0===e?"undefined":JSON.stringify(e)}catch{return""}}(e)}function er(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];F&&F.sendAppErrorEvent(tr(e,t,n,r),i)}function tr(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=An;return{...e,message:t||e.message,pb:n?{...i,...e.pb,customMessage:n,...r,w:1}:{...i,...e.pb,...r,w:1}}}var nr,rr;!function(e){e.AfterHours="afterHours",e.PreHours="preHours",e.Regular="regular",e.Closed="closed",e.Extended="extended",e.Break="break",e.Unknown="unknown"}(nr||(nr={})),function(e){e.GLOBAL="GLOBAL",e.GCC_MODERATE="GCC_MODERATE"}(rr||(rr={}));var ir,or,ar,sr,ur;!function(e){e.Article="article",e.ArticleFullScreen="articlefullscreen",e.CasualGames="casualgames",e.CasualGamesPlay="casualgamesplay",e.Channel="channel",e.ChannelSource="channel::source",e.ChannelTopic="channel::topic",e.CmsExperience="shopping::cms",e.CmsBaseExperience="shopping::cmsbase",e.DHP="dhp",e.EdgeWelcome="edgewelcome",e.ForumDealsPage="shopping::buydirect::superdeals",e.Gallery="gallery",e.GalleryFullScreen="galleryfullscreen",e.Homepage="hp",e.Launcher="launcher",e.Lenovo="lenovo",e.NewsAndInterests="newsandinterestshp",e.Newsbar="newsbar",e.NewsbarUpsell="newsbarupsell",e.NewsCoronavirus="news::coronavirus",e.NewsVLP="news",e.NTP="ntp",e.RichCalendarLandingPage="lifestyle::calendar",e.Sidebar="sidebar",e.Story="story",e.Shopping="shopping",e.ShoppingDealsCategory="shopping::deals-category",e.ShoppingProductDetails="shopping::product",e.ShoppingExpressCheckout="shopping::express-checkout",e.ShoppingForumCheckout="shopping::buydirect::checkout",e.ShoppingForumProductPage="shopping::buydirect::product",e.ShoppingForumcheckoutWidget="shopping::buydirect::checkout::widget",e.ShoppingForumProductDetails="shopping::buydirect::product1",e.ShoppingForumCancelOrder="shopping::buydirect::cancel-order",e.ShoppingForumReturnDetails="shopping::buydirect::return-details",e.ShoppingForumReturnOrder="shopping::buydirect::return-orders",e.ShoppingForumRefundDetails="shopping::buydirect::refund-details",e.ShoppingForumRefundOrder="shopping::buydirect::refund-orders",e.ShoppingLiveDetails="shoppinglivedetails",e.ShoppingLiveInmobiDetails="shoppingliveinmobidetails",e.ShoppingLiveEmbed="shopping::live::embed",e.ShoppingMomentInTime="shopping::mit",e.ShoppingExplore="shopping::explore",e.ShoppingExploreHalloween="shopping::explore::halloween",e.ShoppingCouponsPage="shopping::coupons",e.ShoppingDealsHomePage="shopping::deals::coupons",e.ShoppingStoreCouponsPage="shopping::store-coupons",e.ShoppingStyles="shopping::styles",e.ShoppingStylesHomePage="shopping::style-ideas",e.ShoppingLanding="shopping::buydirect",e.ShoppingSearchResult="shopping::buydirect::search",e.ShoppingCart="shopping::buydirect::cart",e.ShoppingOrders="shopping::buydirect::orders",e.ShoppingForumOrderConfirmation="shopping::buydirect::order-confirmation",e.ShoppingForumOrderDetails="shopping::buydirect::order-details",e.ShoppingForumHome="shopping::buydirect::home",e.Source="source",e.Sports="sports",e.StartFeed="startfeed",e.Topic="topic",e.Travel="travel",e.TravelPlaces="travel::places",e.TravelCollections="travel::collections",e.Video="video",e.VideoInf="videoinf",e.VideoWidget="video-widget",e.WebContent="webcontent",e.Widget="widget",e.Windows="windowshp",e.WindowsShellHP="windowsshellhp",e.ShoppingAllStoresPage="shopping::stores::popular",e.ShoppingLiveProductDetailsPage="shopping::live::product",e.ShoppingForumSellerPage="shopping::buydirect::stores",e.ShoppingForumFavorites="shopping::buydirect::favorites",e.ShoppingBlackjackPage="shopping::deals",e.ShoppingBlackjackDealPage="shopping::deals::product",e.ShoppingSearch="shopping::search",e.ShoppingBingProductDetails="shopping::product-details",e.ShoppingInspiration="shopping::inspire",e.ShoppingBuyingGuide="shopping::buying-guide",e.ShoppingAssistant="shopping::ai",e.ShoppingShopDeals="shopping::shopdeals",e.ShoppingArticlePage="shopping::shop-article",e.ShoppingGuidesPage="shopping::shop-guides",e.ShoppingDebugPage="shopping::debug",e.ShorelineArticle="shorelinearticle"}(ir||(ir={})),function(e){e.Adult="adult",e.Enterprise="enterprise",e.Kids="kids"}(or||(or={})),function(e){e[e.Unknown=0]="Unknown",e[e.NotSignedIn=1]="NotSignedIn",e[e.SignedIn=2]="SignedIn"}(ar||(ar={})),function(e){e.MSA="MSA",e.AAD="AAD",e.UNSUPPORTED_SOVEREIGNTY="UNSUPPORTED_SOVEREIGNTY"}(sr||(sr={})),function(e){e[e.NonAadAccount=0]="NonAadAccount",e[e.AadAccount=1]="AadAccount",e[e.Unknown=2]="Unknown"}(ur||(ur={}));const lr="https://assets.msn.com",cr="https://assets.msn.cn";var dr,fr,pr,hr,gr,mr;function vr(e){switch(e){case gr.prod:case gr.staging:return gr.prod;case gr.int1:return gr.int1;case gr.int:case gr.intpr:case gr.intperf:return gr.int;default:return null}}function yr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{bindMethod:!0};return"object"==typeof n.g&&n.g.TEST_ENV&&!n.g.TEST_SINGLETONPROXY||v()?e.getInstance():new Proxy(e,{get(e,n,r){const i=e.getInstance(),o=Reflect.get(i,n,i);return t.bindMethod&&"function"==typeof o?o.bind(i):o},set(e,t,n,r){const i=e.getInstance();return Reflect.set(i,t,n,i)}})}!function(e){e[e.Production=0]="Production",e[e.Local=1]="Local"}(dr||(dr={})),function(e){e.WWW="www",e.MicrosoftStart="microsoftstart",e.INT="int",e.INT1="int1",e.MicrosoftStartINT="microsoftstart-int",e.MicrosoftStartINT1="microsoftstart-int1"}(fr||(fr={})),function(e){e.MSN="msn",e.MicrosoftStart="microsoftstart"}(pr||(pr={})),function(e){e.COM="com",e.CN="cn"}(hr||(hr={})),function(e){e.prod="prod",e.staging="staging",e.int1="int1",e.int="int",e.intpr="intPR",e.intperf="intPerf"}(gr||(gr={})),function(e){e.getHostPageFromUrl=function(e){if(!e)return;const t=new URL(e),n=t.hostname,r=t.pathname.split("/"),i=(n.match(/[^.]+\.[^.\d]+$/)||{})[0]||"";if(r.length<=2)return{originalUrl:e,categoryKey:null,verticalKey:null,hostName:n,topDomain:i};const o=5===r[1].length&&2===r[1].split("-").length?1:0,a={originalUrl:e,categoryKey:r[2+o],verticalKey:r[1+o],hostName:n,topDomain:i};return r.length>=2&&(a.subcategoryKey=r[3+o]),a}}(mr||(mr={}));var wr,br,Sr;!function(e){e.MSCCBanner="mscc",e.OneTrustBanner="onetrust",e.WidgetHost="widgethost",e.None="none"}(wr||(wr={})),function(e){e[e.Unknown=0]="Unknown",e[e.Required=1]="Required",e[e.NotRequired=2]="NotRequired"}(br||(br={})),function(e){e.Essential="ES",e.Advertising="AD",e.SocialMedia="SM",e.ThirdPartyAnalytics="AL"}(Sr||(Sr={}));const kr={[Sr.Essential]:["AL","ALS","AL_ANON","AL_APP_ANNON","AL_STATE","ANON","ANONCKNM","APP_ANON","APP_TWID","APP_WID","BFB","BFBUSR","DefaultLocation","Edgecac","FreWv","GalleryMode","MC1","MS0","MSCC","MSFPC","MSPRequ","MUID","MUIDB","MicrosoftApplicationsTelemetryDeviceId","OSAT","OSATE","OptanonAlertBoxClosed","OptanonConsent","OvrlyTrf","PreferencesMsn","RC","RUM","RecentStocks","SRCHD","SRCHHPGUSR","SRCHUID","SRCHUSR","Sample","TOptOut","TWID","UMH2E","WID","WLMMAC","_EDGE_S","_EDGE_V","_SS","_U","_cb","_cb_ls","_cb_svref","aace","ace","ahs-dismissed","ahs-installed","ahs-showings","ai_session","akmprotocol","aqp","at-bing","bcookie","bingimage","bwssoc","cac","cb","cbypass","cfrecnt","cg_new_visit_timestamp","cgusc","child","cmdisp","cmwr","currentaccount","ddlcur","df","ecasession","elt","eub","eupubconsent","eupubconsent-v2","gfrecnt","hidebn","i18next","ipt","ipv6","isdomainmigrated","lt","marketPref","mktreset","mniotd","mnmarket","msaOptout","msaoptout","nactk","no_read_more","ntps","numac","orfc_feeds","pbmi","pglt-edgeChromium-dhp","pglt-edgeChromium-ntp","pglt-microsoftNews-msnews","pglt-microsoftNews-startpage","pop","refresh-reason","sbc-dismissed","sbc-installed","sbc-showings","smd","sptmarket","theme","timeZoneOffsetInMins","uaid","videoCookiesLastCategory","videoerrorcount","vjsusrpref","w10rp","w10rpls"],[Sr.Advertising]:["BizoID","adslrid","dub_downlevel","eAPID","ecadprovider","ecisession","ecmsession","ecsession"],[Sr.SocialMedia]:["promptDisplayCount"],[Sr.ThirdPartyAnalytics]:[]};var Cr,Tr;!function(e){e.Lax="lax",e.Strict="strict",e.None="none"}(Cr||(Cr={}));class xr extends Map{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),this.identifier=e,this.subscriptions=new Map,t.initialState&&Object.keys(t.initialState).forEach((e=>{super.set(e,t.initialState[e])}))}set(e,t){super.set(e,t);const n=this.subscriptions.get(e);return n&&n.size?(n.forEach((n=>{try{n&&n(t)}catch(t){F.sendAppErrorEvent({...Yn,message:"Failed to execute subscription callback",pb:{...Yn.pb,customMessage:`Error executing subscription callback for key [${e}]`,instanceId:this.identifier,errorMessage:t&&t.message}})}})),this):this}subscribe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||"function"!=typeof t)return;let r=this.subscriptions.get(e);r||(this.subscriptions.set(e,new Set),r=this.subscriptions.get(e)),r.add(t),this.has(e)&&!1!==n.fireImmediately&&t(this.get(e)),n.signal&&n.signal.addEventListener("abort",(()=>{this.unsubscribe(e,t)}))}unsubscribe(e,t){const n=this.subscriptions.get(e);n&&n.delete(t)}reset(){this.clear(),this.subscriptions.clear()}}!function(e){e[e.Initialized=1]="Initialized",e[e.CookieConsentProvider=2]="CookieConsentProvider",e[e.CookieConsentStatus=3]="CookieConsentStatus",e[e.ActiveCookieCategories=4]="ActiveCookieCategories"}(Tr||(Tr={}));const Er=Symbol("cookieManagementState"),Pr=yr({getInstance:()=>w.get(Er,(()=>{const e=new xr("CookieManagementStateKey");return e.set(Tr.Initialized,!1),e.set(Tr.CookieConsentStatus,br.Unknown),e}))}),_r=["at-bing","elt","eupubconsent-v2","lt","AL","ALS","MSNRPSSecAuth","OSAT"],Or=[";",","," "];function Ir(e,t){if(e){const n=new RegExp("\\b"+t+"\\s*=\\s*([^;]*)","i").exec(e);return n&&n.length>1?n[1]:null}return null}function Ar(e){return Ir(N(),e)}function Dr(e,t,n,r,i,o,a){try{if(!Pr.get(Tr.Initialized))return v()&&er(Un,""),!1;if(void 0===n||n>0){if(!function(e){if(!v())return!1;const t=Pr.get(Tr.CookieConsentStatus),n=Pr.get(Tr.CookieConsentProvider),r=Pr.get(Tr.ActiveCookieCategories);let i=!1;switch(n){case wr.MSCCBanner:case wr.OneTrustBanner:case wr.WidgetHost:return function(e,t){for(const n of t){if(kr[n].includes(e))return!0}let n=!1;const r=Object.keys(kr).filter((e=>!t.includes(Sr[e])));for(const t of r){if(kr[t].includes(e)){n=!0;break}}n||er(Rn,`Attempting to write a cookie: "${e}" not present in the cookie category mapping.`);return!1}(e,r);default:i=t===br.NotRequired,i||er($n,`Consent status should be '2' (NotRequired), but is set to '${t}'`)}return i}(e))return!1;if(null==t)return er(jn,`Cookie value is being set to either 'undefined' or 'null'. cookie name: "${e}", cookie value: "${t}"`),!1;const r=typeof t;"string"!==r&&(t=JSON.stringify(t),er(Hn,`Cookie value is not of string type. observed type: "${r}". cookie name: "${e}"`));for(const n of Or)if(e.includes(n)||t.includes(n))return er(jn,`Cookie name and/or value contains invalid character: '${n}'. cookie name: "${e}"`),!1;n>365&&er(Fn,`Cookie expiration time: ${n} days is greater than suggested max duration of 365 days (1 year). cookie name: "${e}"`);const i=e.length+(t&&t.length||0);i>1e3&&!_r.includes(e)&&er(Ln,`Cookie size: "${i} Bytes" is too big (> 1000 Bytes). cookie name: "${e}"`)}return function(e,t,n,r,i,o,a){let s;const u=[e,"=",t];if(n<0)s="Fri, 31 Dec 1999 23:59:59 GMT";else if(n){const e=new Date;e.setTime(e.getTime()+864e5*n),s=e.toUTCString()}s&&u.push(";expires=",s);r&&u.push(";domain=",r);i&&u.push(";path=",i);o&&u.push(";secure");a&&a!==Cr.Lax&&(u.push(";samesite=",a.toString()),a!==Cr.None||o||u.push(";secure"));document&&(document.cookie=u.join(""))}(e,t,n,r,i,o,a),!0}catch(t){return er(Wn,`trySetCookie() failed with error: "${t.message}". cookie name: "${e}"`),!1}}var Nr,Mr;!function(e){e.Anon="ANON",e.AppAnon="APP_ANON",e.Unknown=""}(Nr||(Nr={})),function(e){e.AnonCookieExists="ace",e.AppAnonCookieExists="aace"}(Mr||(Mr={}));var Rr;function jr(e){if(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&e.display)return e.display;if(e.content)return e.content}return e}function Lr(e){return e.language&&e.market&&(e.language+"-"+(e.script?e.script+"-":"")+e.market).toLowerCase()||""}let Fr,Ur;var $r;!function(e){e.Adult="adult",e.Enterprise="enterprise",e.Kids="kids"}(Rr||(Rr={})),function(e){e.prod="prod",e.prodssr="prod-ssr",e.staging="staging",e.int1="int1",e.int="int",e.intpr="intpr",e.intperf="intperf"}($r||($r={}));var Hr="object"==typeof global&&global&&global.Object===Object&&global,Wr="object"==typeof self&&self&&self.Object===Object&&self,zr=Hr||Wr||Function("return this")(),Br=zr.Symbol,Vr=Object.prototype,qr=Vr.hasOwnProperty,Qr=Vr.toString,Gr=Br?Br.toStringTag:void 0;var Kr=function(e){var t=qr.call(e,Gr),n=e[Gr];try{e[Gr]=void 0;var r=!0}catch(e){}var i=Qr.call(e);return r&&(t?e[Gr]=n:delete e[Gr]),i},Jr=Object.prototype.toString;var Yr=function(e){return Jr.call(e)},Xr=Br?Br.toStringTag:void 0;var Zr=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Xr&&Xr in Object(e)?Kr(e):Yr(e)},ei=Array.isArray;var ti=function(e){return null!=e&&"object"==typeof e};var ni=function(e){return"string"==typeof e||!ei(e)&&ti(e)&&"[object String]"==Zr(e)},ri=/\s/;var ii=function(e){for(var t=e.length;t--&&ri.test(e.charAt(t)););return t},oi=/^\s+/;var ai=function(e){return e?e.slice(0,ii(e)+1).replace(oi,""):e};var si=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var ui=function(e){return"symbol"==typeof e||ti(e)&&"[object Symbol]"==Zr(e)},li=/^[-+]0x[0-9a-f]+$/i,ci=/^0b[01]+$/i,di=/^0o[0-7]+$/i,fi=parseInt;var pi,hi=function(e){if("number"==typeof e)return e;if(ui(e))return NaN;if(si(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=si(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=ai(e);var n=ci.test(e);return n||di.test(e)?fi(e.slice(2),n?2:8):li.test(e)?NaN:+e};!function(e){function t(e){return null!=e}e.isNotNullOrUndefined=t,e.isDefined=function(e){return void 0!==e},e.isKeyValuePair=function(t,n,r){return e.isNonNullObject(t)&&n(t.key)&&r(t.value)},e.isNonNullObject=function(e){return e&&"object"==typeof e},e.isNotNull=function(e){return null!==e},e.isNullOrWhiteSpace=function(e){return!ni(e)||""===e.trim()},e.toNumber=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(!e)return t;const n=hi(e);return isNaN(n)?t:n},e.arrayHasData=function(e){return!!t(e)&&(e.constructor===Array&&e.length>0)},e.stringHasData=function(e){return ni(e)&&e.trim().length>0},e.objectToString=function e(t){let n="",r=!0;if("object"!=typeof t)return n;for(const i in t)"object"==typeof t[i]?n+=r?`${e(t[i])}`:`-${e(t[i])}`:n+=r?`${t[i]}`:`-${t[i]}`,r=!1;return n},e.removeHyphens=function(e){if(e)return e.replace(/-/g,"")}}(pi||(pi={}));var gi=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1};var mi=function(){this.__data__=[],this.size=0};var vi=function(e,t){return e===t||e!=e&&t!=t};var yi=function(e,t){for(var n=e.length;n--;)if(vi(e[n][0],t))return n;return-1},wi=Array.prototype.splice;var bi=function(e){var t=this.__data__,n=yi(t,e);return!(n<0)&&(n==t.length-1?t.pop():wi.call(t,n,1),--this.size,!0)};var Si=function(e){var t=this.__data__,n=yi(t,e);return n<0?void 0:t[n][1]};var ki=function(e){return yi(this.__data__,e)>-1};var Ci=function(e,t){var n=this.__data__,r=yi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function Ti(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ti.prototype.clear=mi,Ti.prototype.delete=bi,Ti.prototype.get=Si,Ti.prototype.has=ki,Ti.prototype.set=Ci;var xi=Ti;var Ei=function(){this.__data__=new xi,this.size=0};var Pi=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var _i=function(e){return this.__data__.get(e)};var Oi=function(e){return this.__data__.has(e)};var Ii,Ai=function(e){if(!si(e))return!1;var t=Zr(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Di=zr["__core-js_shared__"],Ni=(Ii=/[^.]+$/.exec(Di&&Di.keys&&Di.keys.IE_PROTO||""))?"Symbol(src)_1."+Ii:"";var Mi=function(e){return!!Ni&&Ni in e},Ri=Function.prototype.toString;var ji=function(e){if(null!=e){try{return Ri.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Li=/^\[object .+?Constructor\]$/,Fi=Function.prototype,Ui=Object.prototype,$i=Fi.toString,Hi=Ui.hasOwnProperty,Wi=RegExp("^"+$i.call(Hi).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var zi=function(e){return!(!si(e)||Mi(e))&&(Ai(e)?Wi:Li).test(ji(e))};var Bi=function(e,t){return null==e?void 0:e[t]};var Vi=function(e,t){var n=Bi(e,t);return zi(n)?n:void 0},qi=Vi(zr,"Map"),Qi=Vi(Object,"create");var Gi=function(){this.__data__=Qi?Qi(null):{},this.size=0};var Ki=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ji=Object.prototype.hasOwnProperty;var Yi=function(e){var t=this.__data__;if(Qi){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Ji.call(t,e)?t[e]:void 0},Xi=Object.prototype.hasOwnProperty;var Zi=function(e){var t=this.__data__;return Qi?void 0!==t[e]:Xi.call(t,e)};var eo=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Qi&&void 0===t?"__lodash_hash_undefined__":t,this};function to(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}to.prototype.clear=Gi,to.prototype.delete=Ki,to.prototype.get=Yi,to.prototype.has=Zi,to.prototype.set=eo;var no=to;var ro=function(){this.size=0,this.__data__={hash:new no,map:new(qi||xi),string:new no}};var io=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var oo=function(e,t){var n=e.__data__;return io(t)?n["string"==typeof t?"string":"hash"]:n.map};var ao=function(e){var t=oo(this,e).delete(e);return this.size-=t?1:0,t};var so=function(e){return oo(this,e).get(e)};var uo=function(e){return oo(this,e).has(e)};var lo=function(e,t){var n=oo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function co(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}co.prototype.clear=ro,co.prototype.delete=ao,co.prototype.get=so,co.prototype.has=uo,co.prototype.set=lo;var fo=co;var po=function(e,t){var n=this.__data__;if(n instanceof xi){var r=n.__data__;if(!qi||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new fo(r)}return n.set(e,t),this.size=n.size,this};function ho(e){var t=this.__data__=new xi(e);this.size=t.size}ho.prototype.clear=Ei,ho.prototype.delete=Pi,ho.prototype.get=_i,ho.prototype.has=Oi,ho.prototype.set=po;var go=ho;var mo=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var vo=function(e){return this.__data__.has(e)};function yo(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new fo;++t<n;)this.add(e[t])}yo.prototype.add=yo.prototype.push=mo,yo.prototype.has=vo;var wo=yo;var bo=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var So=function(e,t){return e.has(t)};var ko=function(e,t,n,r,i,o){var a=1&n,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var l=o.get(e),c=o.get(t);if(l&&c)return l==t&&c==e;var d=-1,f=!0,p=2&n?new wo:void 0;for(o.set(e,t),o.set(t,e);++d<s;){var h=e[d],g=t[d];if(r)var m=a?r(g,h,d,t,e,o):r(h,g,d,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(p){if(!bo(t,(function(e,t){if(!So(p,t)&&(h===e||i(h,e,n,r,o)))return p.push(t)}))){f=!1;break}}else if(h!==g&&!i(h,g,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f},Co=zr.Uint8Array;var To=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var xo=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Eo=Br?Br.prototype:void 0,Po=Eo?Eo.valueOf:void 0;var _o=function(e,t,n,r,i,o,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new Co(e),new Co(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return vi(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=To;case"[object Set]":var u=1&r;if(s||(s=xo),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;r|=2,a.set(e,t);var c=ko(s(e),s(t),r,i,o,a);return a.delete(e),c;case"[object Symbol]":if(Po)return Po.call(e)==Po.call(t)}return!1};var Oo=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e};var Io=function(e,t,n){var r=t(e);return ei(e)?r:Oo(r,n(e))};var Ao=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o};var Do=function(){return[]},No=Object.prototype.propertyIsEnumerable,Mo=Object.getOwnPropertySymbols,Ro=Mo?function(e){return null==e?[]:(e=Object(e),Ao(Mo(e),(function(t){return No.call(e,t)})))}:Do;var jo=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var Lo=function(e){return ti(e)&&"[object Arguments]"==Zr(e)},Fo=Object.prototype,Uo=Fo.hasOwnProperty,$o=Fo.propertyIsEnumerable,Ho=Lo(function(){return arguments}())?Lo:function(e){return ti(e)&&Uo.call(e,"callee")&&!$o.call(e,"callee")},Wo=Ho;var zo=function(){return!1},Bo="object"==typeof exports&&exports&&!exports.nodeType&&exports,Vo=Bo&&"object"==typeof module&&module&&!module.nodeType&&module,qo=Vo&&Vo.exports===Bo?zr.Buffer:void 0,Qo=(qo?qo.isBuffer:void 0)||zo,Go=/^(?:0|[1-9]\d*)$/;var Ko=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Go.test(e))&&e>-1&&e%1==0&&e<t};var Jo=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Yo={};Yo["[object Float32Array]"]=Yo["[object Float64Array]"]=Yo["[object Int8Array]"]=Yo["[object Int16Array]"]=Yo["[object Int32Array]"]=Yo["[object Uint8Array]"]=Yo["[object Uint8ClampedArray]"]=Yo["[object Uint16Array]"]=Yo["[object Uint32Array]"]=!0,Yo["[object Arguments]"]=Yo["[object Array]"]=Yo["[object ArrayBuffer]"]=Yo["[object Boolean]"]=Yo["[object DataView]"]=Yo["[object Date]"]=Yo["[object Error]"]=Yo["[object Function]"]=Yo["[object Map]"]=Yo["[object Number]"]=Yo["[object Object]"]=Yo["[object RegExp]"]=Yo["[object Set]"]=Yo["[object String]"]=Yo["[object WeakMap]"]=!1;var Xo=function(e){return ti(e)&&Jo(e.length)&&!!Yo[Zr(e)]};var Zo=function(e){return function(t){return e(t)}},ea="object"==typeof exports&&exports&&!exports.nodeType&&exports,ta=ea&&"object"==typeof module&&module&&!module.nodeType&&module,na=ta&&ta.exports===ea&&Hr.process,ra=function(){try{var e=ta&&ta.require&&ta.require("util").types;return e||na&&na.binding&&na.binding("util")}catch(e){}}(),ia=ra&&ra.isTypedArray,oa=ia?Zo(ia):Xo,aa=Object.prototype.hasOwnProperty;var sa=function(e,t){var n=ei(e),r=!n&&Wo(e),i=!n&&!r&&Qo(e),o=!n&&!r&&!i&&oa(e),a=n||r||i||o,s=a?jo(e.length,String):[],u=s.length;for(var l in e)!t&&!aa.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Ko(l,u))||s.push(l);return s},ua=Object.prototype;var la=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ua)};var ca=function(e,t){return function(n){return e(t(n))}},da=ca(Object.keys,Object),fa=Object.prototype.hasOwnProperty;var pa=function(e){if(!la(e))return da(e);var t=[];for(var n in Object(e))fa.call(e,n)&&"constructor"!=n&&t.push(n);return t};var ha=function(e){return null!=e&&Jo(e.length)&&!Ai(e)};var ga=function(e){return ha(e)?sa(e):pa(e)};var ma=function(e){return Io(e,ga,Ro)},va=Object.prototype.hasOwnProperty;var ya=function(e,t,n,r,i,o){var a=1&n,s=ma(e),u=s.length;if(u!=ma(t).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in t:va.call(t,c)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var p=!0;o.set(e,t),o.set(t,e);for(var h=a;++l<u;){var g=e[c=s[l]],m=t[c];if(r)var v=a?r(m,g,c,t,e,o):r(g,m,c,e,t,o);if(!(void 0===v?g===m||i(g,m,n,r,o):v)){p=!1;break}h||(h="constructor"==c)}if(p&&!h){var y=e.constructor,w=t.constructor;y==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w||(p=!1)}return o.delete(e),o.delete(t),p},wa=Vi(zr,"DataView"),ba=Vi(zr,"Promise"),Sa=Vi(zr,"Set"),ka=Vi(zr,"WeakMap"),Ca="[object Map]",Ta="[object Promise]",xa="[object Set]",Ea="[object WeakMap]",Pa="[object DataView]",_a=ji(wa),Oa=ji(qi),Ia=ji(ba),Aa=ji(Sa),Da=ji(ka),Na=Zr;(wa&&Na(new wa(new ArrayBuffer(1)))!=Pa||qi&&Na(new qi)!=Ca||ba&&Na(ba.resolve())!=Ta||Sa&&Na(new Sa)!=xa||ka&&Na(new ka)!=Ea)&&(Na=function(e){var t=Zr(e),n="[object Object]"==t?e.constructor:void 0,r=n?ji(n):"";if(r)switch(r){case _a:return Pa;case Oa:return Ca;case Ia:return Ta;case Aa:return xa;case Da:return Ea}return t});var Ma=Na,Ra="[object Arguments]",ja="[object Array]",La="[object Object]",Fa=Object.prototype.hasOwnProperty;var Ua=function(e,t,n,r,i,o){var a=ei(e),s=ei(t),u=a?ja:Ma(e),l=s?ja:Ma(t),c=(u=u==Ra?La:u)==La,d=(l=l==Ra?La:l)==La,f=u==l;if(f&&Qo(e)){if(!Qo(t))return!1;a=!0,c=!1}if(f&&!c)return o||(o=new go),a||oa(e)?ko(e,t,n,r,i,o):_o(e,t,u,n,r,i,o);if(!(1&n)){var p=c&&Fa.call(e,"__wrapped__"),h=d&&Fa.call(t,"__wrapped__");if(p||h){var g=p?e.value():e,m=h?t.value():t;return o||(o=new go),i(g,m,n,r,o)}}return!!f&&(o||(o=new go),ya(e,t,n,r,i,o))};var $a=function e(t,n,r,i,o){return t===n||(null==t||null==n||!ti(t)&&!ti(n)?t!=t&&n!=n:Ua(t,n,r,i,e,o))};var Ha=function(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var u=(s=n[i])[0],l=e[u],c=s[1];if(a&&s[2]){if(void 0===l&&!(u in e))return!1}else{var d=new go;if(r)var f=r(l,c,u,e,t,d);if(!(void 0===f?$a(c,l,3,r,d):f))return!1}}return!0};var Wa=function(e){return e==e&&!si(e)};var za=function(e){for(var t=ga(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Wa(i)]}return t};var Ba=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}};var Va=function(e){var t=za(e);return 1==t.length&&t[0][2]?Ba(t[0][0],t[0][1]):function(n){return n===e||Ha(n,e,t)}},qa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qa=/^\w*$/;var Ga=function(e,t){if(ei(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ui(e))||(Qa.test(e)||!qa.test(e)||null!=t&&e in Object(t))};function Ka(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ka.Cache||fo),n}Ka.Cache=fo;var Ja=Ka;var Ya=function(e){var t=Ja(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t},Xa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Za=/\\(\\)?/g,es=Ya((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Xa,(function(e,n,r,i){t.push(r?i.replace(Za,"$1"):n||e)})),t})),ts=es;var ns=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},rs=Br?Br.prototype:void 0,is=rs?rs.toString:void 0;var os=function e(t){if("string"==typeof t)return t;if(ei(t))return ns(t,e)+"";if(ui(t))return is?is.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n};var as=function(e){return null==e?"":os(e)};var ss=function(e,t){return ei(e)?e:Ga(e,t)?[e]:ts(as(e))};var us=function(e){if("string"==typeof e||ui(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var ls=function(e,t){for(var n=0,r=(t=ss(t,e)).length;null!=e&&n<r;)e=e[us(t[n++])];return n&&n==r?e:void 0};var cs=function(e,t,n){var r=null==e?void 0:ls(e,t);return void 0===r?n:r};var ds=function(e,t){return null!=e&&t in Object(e)};var fs=function(e,t,n){for(var r=-1,i=(t=ss(t,e)).length,o=!1;++r<i;){var a=us(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Jo(i)&&Ko(a,i)&&(ei(e)||Wo(e))};var ps=function(e,t){return null!=e&&fs(e,t,ds)};var hs=function(e,t){return Ga(e)&&Wa(t)?Ba(us(e),t):function(n){var r=cs(n,e);return void 0===r&&r===t?ps(n,e):$a(t,r,3)}};var gs=function(e){return e};var ms=function(e){return function(t){return null==t?void 0:t[e]}};var vs=function(e){return function(t){return ls(t,e)}};var ys=function(e){return Ga(e)?ms(us(e)):vs(e)};var ws=function(e){return"function"==typeof e?e:null==e?gs:"object"==typeof e?ei(e)?hs(e[0],e[1]):Va(e):ys(e)},bs=1/0;var Ss=function(e){return e?(e=hi(e))===bs||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var ks=function(e){var t=Ss(e),n=t%1;return t==t?n?t-n:t:0},Cs=Math.max;var Ts=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ks(n);return i<0&&(i=Cs(r+i,0)),gi(e,ws(t,3),i)},xs=Object.prototype.hasOwnProperty;var Es=function(e){if(null==e)return!0;if(ha(e)&&(ei(e)||"string"==typeof e||"function"==typeof e.splice||Qo(e)||oa(e)||Wo(e)))return!e.length;var t=Ma(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(la(e))return!pa(e).length;for(var n in e)if(xs.call(e,n))return!1;return!0};var Ps=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o};var _s=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Ps(e,t,n)};var Os=function(e){return e!=e};var Is=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1};var As=function(e,t,n){return t==t?Is(e,t,n):gi(e,Os,n)};var Ds=function(e,t){for(var n=e.length;n--&&As(t,e[n],0)>-1;);return n};var Ns=function(e){return e.split("")},Ms=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Rs=function(e){return Ms.test(e)},js="\\ud800-\\udfff",Ls="["+js+"]",Fs="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Us="\\ud83c[\\udffb-\\udfff]",$s="[^"+js+"]",Hs="(?:\\ud83c[\\udde6-\\uddff]){2}",Ws="[\\ud800-\\udbff][\\udc00-\\udfff]",zs="(?:"+Fs+"|"+Us+")"+"?",Bs="[\\ufe0e\\ufe0f]?",Vs=Bs+zs+("(?:\\u200d(?:"+[$s,Hs,Ws].join("|")+")"+Bs+zs+")*"),qs="(?:"+[$s+Fs+"?",Fs,Hs,Ws,Ls].join("|")+")",Qs=RegExp(Us+"(?="+Us+")|"+qs+Vs,"g");var Gs=function(e){return e.match(Qs)||[]};var Ks=function(e){return Rs(e)?Gs(e):Ns(e)};var Js=function(e,t,n){if((e=as(e))&&(n||void 0===t))return e.slice(0,ii(e)+1);if(!e||!(t=os(t)))return e;var r=Ks(e),i=Ds(r,Ks(t))+1;return _s(r,0,i).join("")};var Ys=function(e,t){for(var n=-1,r=e.length;++n<r&&As(t,e[n],0)>-1;);return n},Xs=/^\s+/;var Zs,eu=function(e,t,n){if((e=as(e))&&(n||void 0===t))return e.replace(Xs,"");if(!e||!(t=os(t)))return e;var r=Ks(e),i=Ys(r,Ks(t));return _s(r,i).join("")};!function(e){const t=/[^A-Za-z0-9]+/g;function n(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!ni(e))return null;return i((e||"").split("?")[1],t)}function r(e){return e=e.replace(/\+/g," "),e=decodeURIComponent(e)}function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=[];if(e&&e.startsWith("?")&&(e=e.substring(1)),e){const i=(e=e.split("#")[0]).split("&");for(let e=0;e<i.length;e++){const o=i[e].split("=");let a=o[0],s=o[1];t&&(a=r(a),s&&(s=r(s)));const u={key:a,value:s},l=Ts(n,(e=>e.key===u.key));-1===l?n.push(u):n[l]=u}}return n}e.getParamsFromUrl=n,e.encodeURIComponentForPrime=function(e){return encodeURIComponent(e.replace(t,"-"))},e.getParams=i,e.getParamsWithItems=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"item";const i=[];if(e){e.startsWith("?")&&(e=e.substring(1));const o=(e=e.split("#")[0]).split("&");for(let e=0;e<o.length;e++){const a=o[e].split("=");let s=a[0],u=a[1];if(t&&(s=r(s),u&&(u=r(u))),s.toLowerCase()===n){u=u.replace("::::",";;;;");const e=u.split(":");if(2===e.length){s=e[0],u=e[1].replace(";;;;","::::");const t={key:s,value:u};-1===i.findIndex((e=>e.key===t.key))&&i.push(t)}}}}return i};const o={};function a(e){const t={},r=n(e,!0);return r&&r.length&&r.forEach((e=>t[e.key]=e.value)),t}e.getQueryParameterByName=function(e,t){o[t]||(o[t]=a(t));const n=o[t][e];return void 0!==n?n:null},e.isValidUrl=function(e,t){return ni(e)&&e.length>0&&(!t||t&&0===e.indexOf("http"))},e.keyValueArrayToQueryString=function(e){return!ei(e)||Es(e)?"":e.filter((e=>pi.isKeyValuePair(e,(e=>"string"==typeof e),(e=>"string"==typeof e)))).map((e=>e.key+"="+e.value)).join("&")},e.getParamsObj=a,e.joinSubpathToURL=function(e,t){const n=e.href,r=Js(n,"/"),i=eu(t,"/");return new URL(`${r}/${i}`)},e.updateSearchParam=function(e,t,n){return e&&e.searchParams&&e.searchParams.get(t)&&e.searchParams.set(t,n),e},e.appendSearchParam=function(e,t,n,r){return e&&(e.searchParams||r?e.searchParams.append(t,n):e=new URL(e.href+(e.search.indexOf("?")>=0?"&":"?")+t+"="+n)),e},e.getAbsoluteUrl=function(e){return e.indexOf("://")>0||0===e.indexOf("//")?e:A()+e};const s=new Set(["/","$","^","+",".","(",")","=","!","|"]);e.urlPatternToRegExp=function(e){if(0==e.indexOf("/")&&e.lastIndexOf("/")>0){const t=e.slice(1,e.lastIndexOf("/")),n=e.substring(e.lastIndexOf("/")+1)||void 0;return new RegExp(t,n)}return function(e){const t=["^"];let n;for(let r=0;r<e.length;++r){const i=e[r];if(s.has(i))t.push("\\"+i);else if("*"!==i)switch(i){case"?":t.push(".");break;case"{":n=!0,t.push("(");break;case"}":n=!1,t.push(")");break;case",":if(n){t.push("|");break}t.push("\\"+i);break;default:t.push(i)}else{const n=e[r-1];let i=1;for(;"*"===e[r+1];)i++,r++;const o=e[r+1];!(i>1)||"/"!==n&&void 0!==n||"/"!==o&&void 0!==o?t.push("([^/]*)"):(t.push("((?:[^/]*(?:/|$))*)"),r++)}}return t.push("$"),new RegExp(t.join(""))}(e)},e.compareURLs=function(e,t){try{const n=new URL(e),r=new URL(t),i=n.searchParams,o=r.searchParams,a=[],s=[],u=[];return i.forEach(((e,t)=>{o.has(t)?o.get(t)!==i.get(t)&&u.push(t):s.push(t)})),o.forEach(((e,t)=>{i.has(t)||a.push(t)})),{hostMismatch:n.hostname!==r.hostname,pathMismatch:n.pathname!==r.pathname,paramsMissingLeft:a.join(","),paramsMissingRight:s.join(","),paramsDiff:u.join(",")}}catch(e){return{}}}}(Zs||(Zs={}));const tu=()=>{const e=_e("elt",!0),t=e&&z(e),{access_token:n,account_type:r,login_hint:i,region_scope:o}=t||{};return(n||r||i||o)&&t},nu=()=>{const e=tu();return e&&e.region_scope};var ru;!function(e){e.Click="click",e.Ready="ready",e.Play="play",e.Pause="pause",e.Ended="ended",e.Telemetry="telemetry",e.VolumeChange="volumechange",e.TimeUpdate="timeupdate",e.Error="error",e.CanPlay="canplay",e.CanPlayThrough="canplaythrough"}(ru||(ru={}));const iu="x-ms-flightId";var ou;!function(e){e[e.AdBuffering=1]="AdBuffering",e[e.ContentBuffering=2]="ContentBuffering",e[e.AdError=10]="AdError",e[e.AdPlayStarted=11]="AdPlayStarted",e[e.AdPlayCompleted=13]="AdPlayCompleted",e[e.AdSkipped=15]="AdSkipped",e[e.AdTimeout=16]="AdTimeout",e[e.AdPause=17]="AdPause",e[e.AdResume=18]="AdResume",e[e.ContentError=20]="ContentError",e[e.ContentStart=21]="ContentStart",e[e.ContentContinue=22]="ContentContinue",e[e.ContentComplete=23]="ContentComplete",e[e.CC=30]="CC",e[e.Pause=31]="Pause",e[e.Seek=32]="Seek",e[e.Mute=33]="Mute",e[e.FullScreenEnter=34]="FullScreenEnter",e[e.Info=35]="Info",e[e.VideoQuality=36]="VideoQuality",e[e.Resume=37]="Resume",e[e.FullScreenExit=38]="FullScreenExit",e[e.Replay=39]="Replay",e[e.Unmute=40]="Unmute",e[e.ContentImpression3PP=41]="ContentImpression3PP",e[e.Facebook=51]="Facebook",e[e.Twitter=52]="Twitter",e[e.Email=53]="Email",e[e.CommonPlayerImpression=61]="CommonPlayerImpression",e[e.EndslateVideos=64]="EndslateVideos",e[e.EndslateContinuous=65]="EndslateContinuous",e[e.EndslateCancelCountdown=66]="EndslateCancelCountdown",e[e.EndslateShown=67]="EndslateShown",e[e.PlayerStarting=90]="PlayerStarting",e[e.AdLoading=91]="AdLoading",e[e.AdLoaded=92]="AdLoaded",e[e.VideoLoading=93]="VideoLoading",e[e.ContentOpen=101]="ContentOpen",e[e.Content25Percent=102]="Content25Percent",e[e.Content50Percent=103]="Content50Percent",e[e.Content75Percent=104]="Content75Percent",e[e.Canplay=105]="Canplay",e[e.Canplaythrough=106]="Canplaythrough"}(ou||(ou={}));let au=new class extends ge{constructor(){let e=null;if(v())try{e="sessionStorage"in window&&window.sessionStorage}catch(e){}super(e)}};Math.pow(10,8);var su=6e4,uu=36e5;function lu(e,t){var n;!function(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}(1,arguments);var r=function(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}(null!==(n=null==t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var i,o=function(e){var t,n={},r=e.split(cu.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],cu.timeZoneDelimiter.test(n.date)&&(n.date=e.split(cu.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length)));if(t){var i=cu.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}(e);if(o.date){var a=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(o.date,r);i=function(e,t){if(null===t)return new Date(NaN);var n=e.match(du);if(!n)return new Date(NaN);var r=!!n[4],i=hu(n[1]),o=hu(n[2])-1,a=hu(n[3]),s=hu(n[4]),u=hu(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,u)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,o=7*(t-1)+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}(t,s,u):new Date(NaN);var l=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(mu[t]||(vu(e)?29:28))}(t,o,a)&&function(e,t){return t>=1&&t<=(vu(e)?366:365)}(t,i)?(l.setUTCFullYear(t,o,Math.max(i,a)),l):new Date(NaN)}(a.restDateString,a.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);var s,u=i.getTime(),l=0;if(o.time&&(l=function(e){var t=e.match(fu);if(!t)return NaN;var n=gu(t[1]),r=gu(t[2]),i=gu(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,i))return NaN;return n*uu+r*su+1e3*i}(o.time),isNaN(l)))return new Date(NaN);if(!o.timezone){var c=new Date(u+l),d=new Date(0);return d.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),d.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),d}return s=function(e){if("Z"===e)return 0;var t=e.match(pu);if(!t)return 0;var n="+"===t[1]?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,i))return NaN;return n*(r*uu+i*su)}(o.timezone),isNaN(s)?new Date(NaN):new Date(u+l+s)}var cu={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},du=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,fu=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,pu=/^([+-])(\d{2})(?::?(\d{2}))?$/;function hu(e){return e?parseInt(e):1}function gu(e){return e&&parseFloat(e.replace(",","."))||0}var mu=[31,null,31,30,31,30,31,31,30,31,30,31];function vu(e){return e%400==0||e%4==0&&e%100!=0}function yu(e){return"shd_"+e}const wu="__HeadDataInstance__";class bu{get Locale(){return this.locale}get MarketDir(){return this.marketDir}set MarketDir(e){this.marketDir=e}get CurrentFlights(){return this.currentFlights||""}set CurrentFlights(e){this.currentFlights=e,this.currentFlightSet=new Set((e||"").split(",")),this.setSweeperStoredHeadData(iu,this.currentFlights)}get CurrentFlightSet(){return this.currentFlightSet}get ClientSettings(){return this.clientSettings}set ClientSettings(e){this.clientSettings=e}get Diagnostics(){return this.diagnostics}set Diagnostics(e){this.diagnostics=e}get EnableCMSPPEConfigs(){return this.enableCMSPPEConfigs}get EdgeNTPHeader(){return this.edgeNTPHeader}set EdgeNTPHeader(e){this.edgeNTPHeader=e}get UserIsSignedIn(){return this.userIsSignedIn}get IsPreload(){return this.isPreload}set IsPreload(e){this.isPreload=e}get IsPrerender(){return this.isPrerender}set IsPrerender(e){this.isPrerender=e}get IsBlendedEnterprise(){return this.isBlendedEnterprise}set IsBlendedEnterprise(e){this.isBlendedEnterprise=e}get IsServiceWorkerCache(){return this.isServiceWorkerCache}get LastKnownAppVersion(){return this.lastKnownAppVersion}get AnonCookieName(){return this.anonCookieName}set AnonCookieName(e){this.anonCookieName=e}get SsoComplete(){return this.ssoComplete}get AadState(){return this.aadState}set AadState(e){this.aadState=e}set LocaleName(e){this.locale=e}get SelectedFeedPivot(){return this.selectedFeedPivot}set SelectedFeedPivot(e){this.selectedFeedPivot=e}get LastSelectedPivot(){return this.lastSelectedPivot}set LastSelectedPivot(e){this.lastSelectedPivot=e}get SwitchedPivot(){return this.switchedPivot}set SwitchedPivot(e){this.switchedPivot=e}constructor(e){this.enableCMSPPEConfigs=!1,this.initializeHeadData(e)}static getInstance(){return w.get(wu,(()=>new bu))}static resetInstance(e){const t=new bu(e);return w.set(wu,t),ku=yr(bu),ku}initializeHeadData(e){if(e)return void this.initializeFromData(e);if(this.newRidNeeded=void 0,this.lastUsedActivityIdBacking=void 0,this.locationSearch=D(),this.htmlElement=v()?M(B)[0]:null,this.headElement=v()?M(V)[0]:null,this.applicationCache=v()?window.applicationCache:null,this.selectedFeedPivot="",this.widgetSettingsElement=v()?function(e){if(!v())throw new Error("getDocumentElementsByClassName is unsupported server side. This call should be wrapped in canUseDOM().");return window.document.getElementsByClassName(e)}(le)[0]:null,!this.htmlElement||!this.headElement)return;this.initializeFromDom(),window&&window.navigator&&window.navigator.serviceWorker&&window.navigator.serviceWorker.controller&&(this.isServiceWorkerCache=!0),this.isServiceWorkerCache&&(this.initializeFromStorage(),this.initializeLastUsedActivityId());const t=jr(this.clientSettings&&this.clientSettings.locale),n=this.clientSettings&&t&&t.language&&t.market;this.locale=n?Lr(t):"";const r=this.htmlElement.getAttribute("dir");this.marketDir=r&&r.toLocaleLowerCase()||"",this.setQueryItemProvidedValues();const i=(this.widgetSettingsElement||this.headElement).getAttribute("data-js");if(i){const e=z(i);this.anonCookieName=e.anonckname,this.userIsSignedIn=1===e.signedin}Zs.getQueryParameterByName("backgroundpreload",this.locationSearch)&&"hidden"===document.visibilityState&&(this.isPreload=!0,this.logDocumentVisibility()),Zs.getQueryParameterByName("prerender",this.locationSearch)&&"hidden"===document.visibilityState&&(this.isPrerender=!0,this.logDocumentVisibility()),v()&&window.ShellFeedsApp&&window.ShellFeedsApp.shellFeedsExperienceInfo&&!window.ShellFeedsApp.shellFeedsExperienceInfo.isWebviewVisible&&0===window.ShellFeedsApp.shellFeedsExperienceInfo.buttonInteraction&&(this.isPreload=!0),this.setIsBlendedEnterprise()}get lastUsedActivityId(){if(this.lastUsedActivityIdBacking)return this.lastUsedActivityIdBacking;const e=this.getStoredActivityIdKey(),t=me().getItem(e);return t&&(this.lastUsedActivityIdBacking=z(t)),this.lastUsedActivityIdBacking}set lastUsedActivityId(e){const t=this.getStoredActivityIdKey();if(e){if(e.id&&e.ts){try{me().setItem(t,JSON.stringify(e),!1)}catch(e){const t=e&&e.message;L().then((()=>{er(Xn,t)}))}this.lastUsedActivityIdBacking=e}}else me().removeItem(t)}get storedHeadData(){return function(e){const t=yu(e),n=me().getItem(t);return n?z(n):null}(this.clientSettings.pagetype)}set storedHeadData(e){!function(e,t){const n=yu(e);t?me().setItem(n,JSON.stringify(t)):me().removeItem(n)}(this.clientSettings.pagetype,e)}initializeFromData(e){var t,n;this.clientSettings=e.clientSettings,this.edgeNTPHeader=e.edgeNTPHeader,this.selectedFeedPivot=null===(t=e.edgeNTPHeader)||void 0===t?void 0:t.selectedFeedPivot,this.setFlights(e.clientInfo),this.setQueryItemProvidedValues();const r=jr(this.clientSettings&&(null===(n=this.clientSettings)||void 0===n?void 0:n.locale)),i=this.clientSettings&&r&&r.language&&r.market;this.locale=i?Lr(r):"",this.marketDir=e.marketDir&&e.marketDir.toLocaleLowerCase()||"",this.setIsBlendedEnterprise()}initializeFromDom(){this.setFlights((this.widgetSettingsElement||this.headElement).getAttribute("data-info"));const e=(this.widgetSettingsElement||this.headElement).getAttribute("data-diagnostics");this.diagnostics=z(e);const t=(this.widgetSettingsElement||this.headElement).getAttribute(q);if(!t)return;if(this.clientSettings=z(t),!this.clientSettings)return;this.calculateForwardableParams();const{pagetype:n}=this.clientSettings;if(!n){const e=(this.widgetSettingsElement||this.headElement).getAttribute("data-pagetype");this.clientSettings.pagetype=null==e?void 0:e}if(n)try{const e=me().getObject(ie)||{};this.lastKnownAppVersion=e[n];const{bundleInfo:t}=this.clientSettings;t&&this.lastKnownAppVersion!==t.v&&(e[n]=t.v,me().setObject(ie,e))}catch{he.log(`${this.logPrefix()} couldn't complete local storage related operation.`)}}initializeFromStorage(){const e=this.storedHeadData;e&&this.populateFromApiResponse(e)}populateFromApiResponse(e){if(!e)return;const t=e.clientSettings,n=e.info;if(!t||!n)return;if(this.clientSettings.pageGenTime>=t.pageGenTime)return void(this.storedHeadData=null);const r=this.clientSettings.queryparams,i=this.clientSettings&&this.clientSettings.bundleInfo&&this.clientSettings.bundleInfo.v;this.clientSettings=t,this.clientSettings.bundleInfo=Object.assign(this.clientSettings.bundleInfo||{},{v:i}),this.clientSettings.queryparams=r,this.calculateForwardableParams(),this.setFlights(n)}calculateForwardableParams(){const e=this.clientSettings?this.clientSettings.queryparams:"";if(!e)return;const t=e.toLocaleLowerCase(),n=["fdhead","item"].map((e=>{const n=Zs.getQueryParameterByName(e,t);return n?`${e}=${encodeURIComponent(n)}`:null})).filter((e=>e));this.clientSettings.forwardablequeryparams=n.join("&")}initializeLastUsedActivityId(){const e=this.lastUsedActivityId,t=this.clientSettings.aid,n=lu(this.clientSettings.pageGenTime).getTime();this.newRidNeeded=!(!e||!n||e.id!==t),n&&(!e||n>e.ts)&&(this.lastUsedActivityId={id:t,ts:n})}setFlights(e){this.CurrentFlights=((/f:\s*([^;]+)/i.exec(e)||{})[1]||"").toLowerCase(),this.currentFlightSet=new Set(this.currentFlights.split(","))}setSweeperStoredHeadData(e,t){if(!e)return;const n=yu("sweeper"),r=au.getObject(n)||{};t?r[e]=t:delete r[e],au.setObject(n,r)}setIsBlendedEnterprise(){this.IsBlendedEnterprise=this.clientSettings&&this.clientSettings.audienceMode===or.Enterprise&&this.clientSettings.browser&&"edgeChromium"===this.clientSettings.browser.browserType&&parseInt(this.clientSettings.browser.version)>=87}setQueryItemProvidedValues(){const e=Zs.getParamsWithItems(D(),!0),t=e.find((e=>"cms"===e.key));this.enableCMSPPEConfigs=t&&"ppe"===t.value,this.setCurrentFlightsTestOverride(e)}setCurrentFlightsTestOverride(e){if(O().toLowerCase().includes("localhost")&&e){const t=e.find((e=>"flights"===e.key));t&&(this.currentFlights=t.value,this.currentFlightSet=new Set(this.currentFlights.split(",")))}}getStoredActivityIdKey(){return"sai_"+this.clientSettings.pagetype}logPrefix(){return"HeadData:"+(v()?"":` [Head:${this.widgetSettingsElement||this.headElement}] and [Html:${this.htmlElement}]`)}logDocumentVisibility(){v()&&(Dn({isVisible:"visible"===document.visibilityState}),document.addEventListener("visibilitychange",(()=>{Dn({isVisible:"visible"===document.visibilityState})})))}}const Su=bu.getInstance;let ku=yr(bu);Pn.Alert;const Cu={build:""};Pn.Critical,Pn.NoAlert,Pn.NoAlert,Pn.NoAlert,Pn.NoAlert,Pn.NoAlert,Pn.NoAlert,Pn.Critical,Pn.Critical,Pn.Critical,Pn.NoAlert,Pn.NoAlert,Pn.NoAlert,Pn.HighImpact;const Tu="__AppEnvironmentInstance__";class xu{get ShouldUseFdheadQsp(){return this.shouldUseFdheadQsp}set ShouldUseFdheadQsp(e){this.shouldUseFdheadQsp=e}get DisableInMemoryCache(){return!!this.disableInMemoryCache}set DisableInMemoryCache(e){this.disableInMemoryCache=e}get OneServiceContentMarketQspKey(){return this.oneServiceContentMarketQspKey}get Ecasession(){return void 0===this.ecasession&&(this.ecasession=Ar("ecasession")||"init"),this.ecasession}get BrowserOptOut(){return void 0===this.browserOptOut&&(this.browserOptOut="1"===Ar("TOptOut")),this.browserOptOut}get MachineId(){return this.machineId}set MachineId(e){this.machineId=e}get isMobile(){var e,t;const n=(null==ku||null===(e=ku.ClientSettings)||void 0===e?void 0:e.ocid)||"",r=(null==ku||null===(t=ku.ClientSettings)||void 0===t?void 0:t.deviceFormFactor)||"";return n.startsWith("msnaroverlay")||"phone"===r}get isMiniProgram(){var e;const t=ku.ClientSettings||{ocid:"",deviceFormFactor:""},n=v()?"weatherminiprogram"===t.ocid||((null===(e=navigator)||void 0===e?void 0:e.userAgent)||"").indexOf("miniProgram")>-1:"weatherminiprogram"===t.ocid;return"phone"===t.deviceFormFactor&&n}get isOverlayFrame(){var e;return((null==ku||null===(e=ku.ClientSettings)||void 0===e?void 0:e.ocid)||"").startsWith("msnaroverlay")}get ActivityId(){return this.activityId}set ActivityId(e){this.activityId=e,ku.ClientSettings={...ku.ClientSettings,aid:e}}get FrontDoorMuid(){return this.frontDoorMuid}get EnvironmentConfigUrl(){const e=new URL("",this.environmentConfigUrl);"dev"===new URLSearchParams(D()).get("env")&&e.searchParams.set("env.config","dev");const t=new URLSearchParams(D()).get("env.config");return t&&e.searchParams.set("env.config",t),e}get ContentServiceUrlBase(){const e=new URL("",this.contentServiceUrlBase);"dev"===new URLSearchParams(D()).get("env")&&e.searchParams.set("env.content","dev");const t=new URLSearchParams(D()).get("env.content");return t&&e.searchParams.set("env.content",t),e}get CurrentRequestTargetScope(){return this.currentRequestTargetScope}set CurrentRequestTargetScope(e){this.currentRequestTargetScope=e}get LocaleContentMarket(){var e,t;return jr(ku.ClientSettings&&ku.ClientSettings.locale)||(null===(e=this.currentRequestTargetScope)||void 0===e||null===(e=e.locale)||void 0===e?void 0:e.content)||(null===(t=this.currentRequestTargetScope)||void 0===t?void 0:t.locale)}get LocaleDisplayLanguage(){return jr(ku.ClientSettings&&ku.ClientSettings.locale,!0)||this.LocaleContentMarket}get LocaleContentMarketString(){const e=this.LocaleContentMarket;return e&&e.language&&e.market?Lr(e):""}get LocaleDisplayLanguageString(){const e=this.LocaleDisplayLanguage;return e&&e.language&&e.market?Lr(e):""}get SourceUrl(){let e=Pu.HostPage.originalUrl;const t=Pu.CurrentRequestTargetScope.pageType,n=Pu.HostPage.verticalKey;if("localhost.msn.com"===Pu.HostPage.hostName&&"ntp"===t)return e="https://ntp.msn.com/edge/ntp",e;if(t&&n){const r=t.toLowerCase();(r.indexOf("dhp")>-1||r.indexOf("ntp")>-1)&&(e="https://"+Pu.HostPage.hostName+"/"+n+"/"+t)}return e}get CurrentMarket(){return this.currentMarket}set CurrentMarket(e){this.currentMarket=e}get EnableFiveColLayout(){return this.enableFiveColLayout}set EnableFiveColLayout(e){this.enableFiveColLayout=e}get Environment(){return this.environment}set Environment(e){this.environment=e}get StaticDomain(){return this.staticDomain}get HostPage(){return this.hostPage}set HostPage(e){this.hostPage=e}get AppType(){return this.appType}get AuthCookieName(){return this.authCookieName}set AuthCookieName(e){this.authCookieName=e}get UseAuthFetch(){return this.useAuthFetch}set UseAuthFetch(e){this.useAuthFetch=e}get AccountInfoPromise(){return this.accountInfoPromise}set AccountInfoPromise(e){this.accountInfoPromise=e}get ResolvedAccountInfo(){return this.resolvedAccountInfo}set ResolvedAccountInfo(e){this.resolvedAccountInfo=e}get BuildVersion(){return this.buildVersion||""}get ClarityEnabled(){return this.clarityEnabled}set ClarityEnabled(e){this.clarityEnabled=e}get IsWinAADUser(){return this.isWinAADUser}set IsWinAADUser(e){this.isWinAADUser=e}get RootTelemetryId(){return this.rootTelemetryId}set RootTelemetryId(e){this.rootTelemetryId=e}get TrackInfo(){return this.trackInfo}set TrackInfo(e){this.trackInfo=e}get UserId(){return this.getUserMuid()||this.userId}set UserId(e){this.userId=e}get OneServiceApiKey(){return this.oneServiceApiKey}set OneServiceApiKey(e){this.oneServiceApiKey=e}get OneServiceOverride(){return this.oneServiceOverride}set OneServiceOverride(e){this.oneServiceOverride=e}get EnvInstanceOverride(){return this.envInstanceOverride}get IsDebug(){return this.isDebug}get ShowMnsCreatorDashboard(){return this.showMnsCreatorDashboard}get NavTargetHostName(){return this.navTargetHost}get UseCachedApp(){return v()&&!!window.__useCachedApp}get NavTargetUrlWithLocale(){return`https://${this.NavTargetHostName}/${this.CurrentMarket}`}get IsChinaCompliance(){return this.isChinaCompliance}get IsCaliforniaRegion(){return this.isCaliforniaRegion}get AssetsUrl(){return this.staticAssetsUrl}set AssetsUrl(e){this.staticAssetsUrl=e}get StaticsUrl(){return this.staticsUrl}get topDomain(){return this.isChinaCompliance?hr.CN:hr.COM}get isGccModUser(){if(_t()){const e=nu();Promise.resolve(e===rr.GCC_MODERATE)}if(this.AccountInfoPromise)return this.AccountInfoPromise.then((e=>(null==e?void 0:e.region_scope)===rr.GCC_MODERATE))}get unsupportedEnterpriseCloud(){if(_t()){const e=nu();Promise.resolve(!(e===rr.GLOBAL))}if(this.AccountInfoPromise)return this.AccountInfoPromise.then((e=>!((null==e?void 0:e.region_scope)===rr.GLOBAL)))}get WidgetAttributes(){return this.widgetAttributes}get ServiceUrlBase(){const e=new URL("",this.serviceUrlBase);"dev"===new URLSearchParams(D()).get("env")&&e.searchParams.set("env.service","dev");const t=new URLSearchParams(D()).get("env.service");return t&&e.searchParams.set("env.service",t),e}get FeedServiceUrlBase(){if(!this.feedServiceUrlBase)return null;const e=new URL("",this.feedServiceUrlBase);"dev"===new URLSearchParams(D()).get("env")&&e.searchParams.set("env.service","dev");const t=new URLSearchParams(D()).get("env.service");return t&&e.searchParams.set("env.service",t),e}get EnterpriseServiceUrlBase(){if(!this.enterpriseServiceDomainUrl)return;const e=new URL("",this.enterpriseServiceDomainUrl);"dev"===new URLSearchParams(D()).get("env")&&e.searchParams.set("env.service","dev");const t=new URLSearchParams(D()).get("env.service");return t&&e.searchParams.set("env.service",t),e}get isAadAccountUser(){return this.CurrentRequestTargetScope&&this.CurrentRequestTargetScope.audienceMode===or.Enterprise&&this.ResolvedAccountInfo&&this.ResolvedAccountInfo.account_type&&this.ResolvedAccountInfo.account_type===sr.AAD}get IsFrePage(){return this.isFrePage}get DisableCachingConfigs(){return this.disableCachingConfigs}get EnableConfigService(){const e=Zs.getQueryParameterByName("enableConfigService",D());return e?"true"===e.toLocaleLowerCase():this.enableConfigService}get EnableCMSPPEConfigs(){return ku&&ku.EnableCMSPPEConfigs}get IsMultiConfigRetrievalEnabled(){return this.isMultiConfigRetrievalEnabled}get SendFeedCallActivityIdInHeader(){return this.sendFeedCallActivityIdInHeader}get SendUserIdInHeader(){return this.sendUserIdInHeader}set SendUserIdInHeader(e){this.sendUserIdInHeader=e}get ConfigServiceBaseUrl(){return this.configServiceBaseUrl}get CrsRetryBaseUrl(){return this.crsRetryBaseUrl}get FeatureFlags(){return this.featureFlags}get HostHeaderOverride(){return this.hostHeaderOverride}get ConfigRootUrl(){if(!this.configRootUrl)return null;const e=new URL("",this.configRootUrl);"dev"===new URLSearchParams(D()).get("env")&&e.searchParams.set("env.config","dev");const t=new URLSearchParams(D()).get("env.config");return t&&e.searchParams.set("env.config",t),e}get CacheBustingIdentifier(){return this.cacheBustingIdentifier}get IsGitConfigs(){return this.isGitConfigs}get CountryCode(){return this.countryCode}set CountryCode(e){this.countryCode=e}get ActivityIdLowerCaseNoHypens(){return(ku&&ku.ClientSettings&&ku.ClientSettings.aid||"").toLowerCase()}get Latitude(){return this.latitude}get Longitude(){return this.longitude}get ConfigOrigins(){return this.configOrigins}get CrsVersion(){return this.crsVersion}get CrsPath(){return this.crsPath}get CrsDisableServerCache(){return this.crsDisableServerCache}set CrsDisableServerCache(e){this.crsDisableServerCache=e}get LanguageRegionMismatch(){return this.findLanguageRegionMismatch()?"marketmismatch":""}get isWindowsDashboard(){return"newsAndInterests"===Pu.AppType||"windowsNewsPlus"===Pu.AppType||"winWidgets"===Pu.AppType}get LanguageRegionMismatchExplicit(){return this.findLanguageRegionMismatchExplicit()?"marketmismatch":""}get MarketRequestInputLanguage(){return this.marketRequestInputLanguage}get MarketRequestInputRegion(){return this.marketRequestInputRegion}get MarketRequestInputGeoCountry(){return this.marketRequestInputGeoCountry}get MarketDetectionType(){return this.marketDetectionType}get EnableAppErrorBatching(){return ku&&ku.CurrentFlights&&ku.CurrentFlights.includes("batcherrors")}get ConfigStaticFallbackBaseUrl(){return`${this.IsChinaCompliance?cr:lr}/periconfigs/`}findLanguageRegionMismatch(){var e,t,n,r,i,o;if(ku.ClientSettings&&"true"===ku.ClientSettings.static_page)return!1;const a=ku.ClientSettings&&(null===(e=ku.ClientSettings)||void 0===e?void 0:e.market)&&(null===(t=ku.ClientSettings)||void 0===t||null===(t=t.market)||void 0===t?void 0:t.detection),s=ku.ClientSettings&&(null===(n=ku.ClientSettings)||void 0===n?void 0:n.market)&&(null===(r=ku.ClientSettings)||void 0===r||null===(r=r.market)||void 0===r?void 0:r.requestInput),u=jr(ku.ClientSettings&&(null===(i=ku.ClientSettings)||void 0===i?void 0:i.locale)&&(null===(o=ku.ClientSettings)||void 0===o||null===(o=o.locale)||void 0===o?void 0:o.content));if(a&&("implicitExisting"===a.type||"implicitNew"===a.type||"cm"===a.type||"implicitReset"===a.type)&&s){if(u){if(s.language.toLowerCase()!==u.language.toLowerCase())return this.marketMismatchDetails.type="language",this.marketMismatchDetails.mismatchItem1=s.language.toLowerCase(),this.marketMismatchDetails.mismatchItem2=u.language.toLowerCase(),!0;if(s.region&&s.region.toLowerCase()!==u.market.toLowerCase())return this.marketMismatchDetails.type="region",this.marketMismatchDetails.mismatchItem1=s.region.toLowerCase(),this.marketMismatchDetails.mismatchItem2=u.market.toLowerCase(),!0}if("implicitExisting"===a.type&&s.geo_country.toLowerCase()!==a.geo_country.toLowerCase())return this.marketMismatchDetails.type="geo_country",this.marketMismatchDetails.mismatchItem1=s.geo_country.toLowerCase(),this.marketMismatchDetails.mismatchItem2=a.geo_country.toLowerCase(),!0}return!1}get MarketMismatchDetail(){return this.findLanguageRegionMismatch()||this.findLanguageRegionMismatchExplicit()?this.marketMismatchDetails:null}findLanguageRegionMismatchExplicit(){var e,t,n,r,i,o;if(ku.ClientSettings&&"true"===ku.ClientSettings.static_page)return!1;const a=ku.ClientSettings&&(null===(e=ku.ClientSettings)||void 0===e?void 0:e.market)&&(null===(t=ku.ClientSettings)||void 0===t||null===(t=t.market)||void 0===t?void 0:t.detection),s=ku.ClientSettings&&(null===(n=ku.ClientSettings)||void 0===n?void 0:n.market)&&(null===(r=ku.ClientSettings)||void 0===r||null===(r=r.market)||void 0===r?void 0:r.requestInput),u=jr(ku.ClientSettings&&(null===(i=ku.ClientSettings)||void 0===i?void 0:i.locale)&&(null===(o=ku.ClientSettings)||void 0===o||null===(o=o.locale)||void 0===o?void 0:o.content));if(a&&"compliance"!==a.type&&"url"!==a.type&&s){if(u){if(s.language.toLowerCase()!==u.language.toLowerCase())return this.marketMismatchDetails.type="language",this.marketMismatchDetails.mismatchItem1=s.language.toLowerCase(),this.marketMismatchDetails.mismatchItem2=u.language.toLowerCase(),!0;if(s.region&&s.region.toLowerCase()!==u.market.toLowerCase())return this.marketMismatchDetails.type="region",this.marketMismatchDetails.mismatchItem1=s.region.toLowerCase(),this.marketMismatchDetails.mismatchItem2=u.market.toLowerCase(),!0}if(s.geo_country.toLowerCase()!==a.geo_country.toLowerCase())return this.marketMismatchDetails.type="geo_country",this.marketMismatchDetails.mismatchItem1=s.geo_country.toLowerCase(),this.marketMismatchDetails.mismatchItem2=a.geo_country.toLowerCase(),!0}return!1}setConfigOrigin(){const e={feature:dr.Production,loc:dr.Production};return this.IsGitConfigs&&!this.EnableConfigService||(e.feature=dr.Production,e.loc=dr.Production),e}constructor(e,t,n,r,i){this.assetsGlobalUrl="https://assets.msn.com",this.assetsCNUrl="https://assets.msn.cn",this.marketMismatchDetails={type:"",mismatchItem1:"",mismatchItem2:""},this.initializeAppEnvironment(e,t,n,r,i)}static getInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;return w.get(Tu,(()=>new xu(e,t,n,r,i)))}static resetInstance(){const e=new xu(arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,arguments.length>4&&void 0!==arguments[4]?arguments[4]:null);return w.set(Tu,e),Pu=yr(xu),Pu}initializeAppEnvironment(e,t,n,r,i){const o=O(),a=v()?function(e){if(!v())throw new Error("getDocumentElementById is unsupported server side. This call should be wrapped in canUseDOM().");return window.document.getElementById(e)}("msnewsroot"):null,s=_(),u=A(),l=D();let c=null;const d=ku&&ku.ClientSettings,f=Zs.getParamsWithItems(l,!0);let p=!1;if(d){this.isCaliforniaRegion=d.geo_subdivision&&"california"==d.geo_subdivision.toLocaleLowerCase(),this.isChinaCompliance=function(e,t){return!!(e.hostname.toLowerCase().endsWith(".cn")||t.isChinaCompliance||t.useCnDomain||e.search.match(/item=revip:cn/))}({hostname:o,search:l},d),g=this.isChinaCompliance,Fr=g,this.activityId=this.tryReformatGuid(d.aid),this.currentMarket=this.LocaleContentMarketString||d.apps_locale,this.countryCode=d.geo_country,this.frontDoorMuid=d.fd_muid,this.latitude=d.geo_lat,this.longitude=d.geo_long,this.configRootUrl=d.configRootUrl?new URL("",d.configRootUrl):null,c=vr(d.pcsInfo&&d.pcsInfo.env||"prod"),this.setAccountInfoPromise(),this.appType=d.apptype||"",this.authCookieName=this.getAuthCookieName(),this.useAuthFetch=!1;const{featureFlags:e}=d;this.featureFlags=e,p=e&&"true"===e.disableCachingConfigs,this.enableConfigService=!e||!e.enableConfigService||"true"===e.enableConfigService,this.sendFeedCallActivityIdInHeader=(!e||!e.disableActivityIdInHeader||"true"!==e.disableActivityIdInHeader)&&"hub"===this.appType,this.cacheBustingIdentifier=d.cbid;const{bundleInfo:t,pcsInfo:n}=d||{},r=this.getRunTimePropertyBag(t,n);Dn(r),h=r,Object.assign(Cu,h),this.configIndexDocId=d.configIndexDocId,this.widgetAttributes=d.widgetAttributes}var h,g;const m=vr(Zs.getQueryParameterByName("env",s));this.environment=m||c||gr.prod,this.envInstanceOverride=Zs.getQueryParameterByName("instance",s);const y=d&&d.servicesEndpoints,w=y&&y.feedService&&y.feedService.domain||u;this.serviceDomainUrl=n||w,this.oneServiceOverride=i,this.staticDomain=new URL(w).host,this.staticAssetsUrl=y&&y.staticConfig&&y.staticConfig.domain||(this.isChinaCompliance?"https://assets.msn.cn":"https://assets.msn.com"),this.staticsUrl=`${this.staticAssetsUrl}/staticsb/statics/`,this.enterpriseServiceDomainUrl=y&&y.enterpriseFeedService&&y.enterpriseFeedService.domain;const{crs:b={}}=y||{},{v:S,domain:k,path:C}=b;this.crsVersion=S,this.crsDomain=k,this.crsPath=C||"/resolver/api/resolve/";const{requestInput:T={},detection:x={}}=d&&d.market||{},{language:E="",region:P="",geo_country:I=""}=T||{},{type:N=""}=x||{};this.marketRequestInputLanguage=E,this.marketRequestInputRegion=P,this.marketRequestInputGeoCountry=I,this.marketDetectionType=N,this.serviceUrlBase=e||a&&a.getAttribute(Q)&&new URL("",a.getAttribute(Q))||new URL("/service/",this.serviceDomainUrl),this.feedServiceUrlBase=this.serviceDomainUrl&&new URL("/service/",this.serviceDomainUrl)||void 0,this.hostPage=mr.getHostPageFromUrl(s),this.isFrePage="1"===Zs.getQueryParameterByName("fre",s),this.userId=this.getUserMuid(),this.rootTelemetryId=a?Number(a.getAttribute("data-telemetry-id")):0;const M=a&&a.getAttribute("data-page-product"),R=a&&a.getAttribute("data-page-type");this.trackInfo={sitePage:{page_product:M,page_type:R}},this.setNavTargetHostName(),this.setTargetScope();const j=this.currentRequestTargetScope&&this.currentRequestTargetScope.pageExperiments||[];this.disableCachingConfigs=p||v()&&j.includes("inlincrscall"),this.crsVersion=function(e,t,n){try{return e&&t&&t.includes("prg-crsfdheadrem")&&"weather"!==n&&"finance"!==n?"v3.1":e}catch(e){}return e}(this.crsVersion||"",j,this.appType||""),this.isGitConfigs=this.useGitConfigs(),this.configOrigins=this.setConfigOrigin(),this.contentServiceUrlBase=this.serviceDomainUrl?new URL("/content/",this.serviceDomainUrl):void 0,this.isMultiConfigRetrievalEnabled=this.useMultiConfigsRetrieval();const L=this.getConfigServiceBaseUrl(this.isMultiConfigRetrievalEnabled,t);this.configServiceBaseUrl=L?new URL("",L):null,this.environmentConfigUrl=this.serviceDomainUrl?new URL("/config/v1/",this.serviceDomainUrl):void 0,this.isDebug=(Zs.getQueryParameterByName("debug",s)||"").toLowerCase()in{1:1,true:1}||(Zs.getQueryParameterByName("item",s)||"").toLowerCase().indexOf("/debug")>0||o.includes("localhost"),this.showMnsCreatorDashboard=null!=Zs.getQueryParameterByName("mnsDash",s),this.oneServiceApiKey=this.getOneServiceApiKey(),this.enableFiveColLayout=!1,r&&(this.hostHeaderOverride=r);const F={appType:this.appType,flights:ku.CurrentFlights,itemOverrides:f},U=l&&(l.includes("vptest=1")||l.includes("reqsrc=vp")),$="edgeChromium"===this.appType&&!v();this.shouldUseFdheadQsp=U||function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{itemOverrides:n}=e||{},r=n&&n.find((e=>"should1sUseFdheadQsp"===e.key));if(r&&r.value)return"true"===r.value;if(t)return!1;const i=n&&n.find((e=>"flights"===e.key||"appendflights"===e.key.toLowerCase()));return!!(i&&i.value&&i.value.length>0)}(F,$),this.oneServiceContentMarketQspKey=this.shouldUseFdheadQsp?"market":"cm"}getOneServiceApiKey(){var e,t,n;if(this.widgetAttributes&&this.widgetAttributes.feed&&this.widgetAttributes.feed.apiKey)return this.widgetAttributes.feed.apiKey;const r="0QfOX3Vn51YCzitbLaRkTTBadtWpgTN8NZLW0C1SEM";let i;switch(this.appType){case"windowsShell":case"windowsShellV2":i="pWw5OmQehOA0XNfgcgrTrwEJZJJJzE83ovtTQx6JRG";break;case"newsAndInterests":case"windowsNewsPlus":i="AEbyVYqTQAPvg4lWwMSFHaLkDzl3weRKKIDDInLQUj";break;case"winWidgets":i="sidebar"===(null===(e=this.currentRequestTargetScope)||void 0===e?void 0:e.pageType)?r:"AEbyVYqTQAPvg4lWwMSFHaLkDzl3weRKKIDDInLQUj";break;case"edgeChromium":i="1hYoJsIRvPEnSkk0hlnJF2092mHqiz7xFenIFKa9uc";break;case"bingHomepage":case"distribution":i="lenovo"===ku.ClientSettings.pagetype?"OrorOEMX3w4Hsk49OXMM6YayCYQw3OHcpzqiXEk9xd":"edgewelcome"===ku.ClientSettings.pagetype?"oPFhbDSAghltCuG6UvQCcxmngSVye65eXQHHu3voxZ":"QMmdky7jrTlM4mWJmMYQTi71lp678KyZJBKHCAyKCg";break;case"sharedWidgets":i="hFWgtnoLG1BXruRRhEVJo5ACP8414XUG0Ric6JbyND";break;case"gaming":i="play"===(null===(t=this.currentRequestTargetScope)||void 0===t?void 0:t.pageType)?r:"gaming"===(null===(n=this.currentRequestTargetScope)||void 0===n?void 0:n.pageType)?"1hYoJsIRvPEnSkk0hlnJF2092mHqiz7xFenIFKa9uc":"Uj7u7bqBgMhDGBUVPSbcHUe0pU7X8TbVRviCO2fojo";break;case"travel":i="8RwD77wJgNQmmVBdGmZsK6vvPCrG58iRCQRoPsE4JJ";break;case"health":i="FywQv6H345wNCU4yKWraF2esI9qiMQFx90v53mMHrm";break;default:i=r}return i}getUserMuid(){let e;const t=Ar("MUID");return ni(t)&&(e="m-"+t),e}getConfigServiceBaseUrl(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];switch(t){case $r.prod:case $r.prodssr:case $r.staging:return e;default:return n?location.origin||null:A()||null}}(this.crsDomain||(this.isChinaCompliance?cr:lr),this.environment),r=this.isGitConfigs?`${this.crsPath}${this.crsVersion||"v3"}/config/`:`${this.crsPath}${e?"v2/":""}configindex/`,i=A();if(this.crsRetryBaseUrl=i?i+r:null,t)return t+r;if(v()&&(this.renderWidgets()||"sharedWidgets"===this.appType||"bingHomepage"===this.appType||"distribution"===this.appType||"gaming"===this.appType||("sports"===this.appType||"finance"===this.appType||"weather"===this.appType)&&this.widgetAttributes)){const e=(this.crsDomain||"https://www.msn."+(this.IsChinaCompliance?"cn":"com"))+r;return this.crsRetryBaseUrl=e,n?`${n}`+r:e}return n||A()?(n||A())+r:null}useMultiConfigsRetrieval(){const e=D();if(e){const t=Zs.getQueryParameterByName("isMultiConfigRetrievalEnabled",e);if(t)return"true"===t.toLocaleLowerCase()}return!this.featureFlags||!this.featureFlags.isMultiConfigRetrievalEnabled||"true"===this.featureFlags.isMultiConfigRetrievalEnabled}useGitConfigs(){const e=D();if(e){const t=Zs.getQueryParameterByName("isGitConfig",e);if(t)return"true"===t.toLocaleLowerCase()}return function(e,t,n){return!(!n||!e||e<"v3"||t)}(this.crsVersion,this.configIndexDocId,this.appType)}renderWidgets(){const e=D();if(e){const t=Zs.getQueryParameterByName("renderWidget",e);if(t)return"true"===t.toLocaleLowerCase()}return!1}getAuthCookieName(){if(this.authCookieName)return this.authCookieName;let e;switch((ku&&ku.ClientSettings).apptype||""){case"windows":e="windowshp"===ku.ClientSettings.pagetype?"anon":"app_anon";break;case"aicharacter":case"bingHomepage":case"community":case"contentTools":case"finance":case"gaming":case"health":case"homePage":case"hub":case"personalize":case"sharedWidgets":case"shopping":case"sports":case"traffic":case"travel":case"ugc":case"views":case"weather":default:e="anon";break;case"edgeChromium":case"edgeMobile":case"distribution":case"newsAndInterests":case"windowsNewsbar":case"windowsNewsPlus":case"winWidgets":case"windowsShell":case"windowsShellV2":case"office":case"channeldesktop":case"channelmobile":case"superApp":e="app_anon"}return e}setAccountInfoPromise(){this.ResolvedAccountInfo=null,this.AccountInfoPromise=new Promise((e=>{if(!(v()&&window.chrome&&window.chrome.authPrivate&&window.chrome.authPrivate.getPrimaryAccountInfo))return e(null);const t=Math.round(performance.now());window.chrome.authPrivate.getPrimaryAccountInfo((n=>{const r=Math.round(performance.now());return en()["Auth.GetPrimaryAccountInfo"]=r-t,this.ResolvedAccountInfo=n,e(n)}))})),this.AccountInfoPromise}tryReformatGuid(e){if(e&&32===e.length){const t=e.match(/(\w{8})(\w{4})(\w{4})(\w{4})(\w{12})/i);t&&(e=t.slice(1).join("-"))}return e}setTargetScope(){if(!ku||!ku.ClientSettings)return;const e=function(e,t){let n;const r=decodeURIComponent(Ir(e,"aace")),{child:i}=r&&z(r)||{},o=Ir(e,"child");return n=r&&(1===i||o)?Rr.Kids:t.audienceMode||Rr.Adult,n}(N(),ku.ClientSettings),{browser:t,deviceFormFactor:n,domain:r,ocid:i,os:o,pagetype:a}=ku.ClientSettings,s=ku.CurrentFlights.split(",");if(this.currentRequestTargetScope={audienceMode:e,browser:t,deviceFormFactor:n,domain:r,locale:{content:this.LocaleContentMarket,display:this.LocaleDisplayLanguage},ocid:i,os:o,platform:"web",pageType:a,pageExperiments:s},!this.currentRequestTargetScope.locale&&pi.stringHasData(this.LocaleContentMarketString)){const e=this.LocaleContentMarketString.split("-");e.length>1&&(this.currentRequestTargetScope.locale={language:e[0],market:e[e.length-1],content:{language:e[0],market:e[e.length-1]},display:{language:e[0],market:e[e.length-1]}})}}setNavTargetHostName(){let{subDomain:e,domainName:t,topLevelDomain:n}={subDomain:fr.WWW,domainName:pr.MSN,topLevelDomain:hr.COM};const r="homePage"!==this.appType&&ku&&ku.CurrentFlightSet&&ku.CurrentFlightSet.has("1s-viewurldomain");switch(this.environment){case gr.prod:case gr.staging:e=r?fr.MicrosoftStart:fr.WWW;break;case gr.int1:e=r?fr.MicrosoftStartINT1:fr.INT1;break;case gr.int:case gr.intpr:case gr.intperf:e=r?fr.MicrosoftStartINT:fr.INT}this.isChinaCompliance&&(n=hr.CN),this.navTargetHost=`${e}.${t}.${n}`}getRunTimePropertyBag(e,t){const n={appType:this.appType};t&&(n.pcsVersion=t.v,n.pcsEnv=t.env);const{alias:r,v:i}=e||{};this.buildVersion=i||"",n.build=this.buildVersion,r&&(n.buildAlias=r);const o=ku.CurrentFlights;return o&&(n.shouldDelayUntilLoadTime="edgeChromium"===this.appType&&ku.IsPrerender,n.shouldSupressWarnings=o.includes("warningsremoved"),n.shouldSampleErrorsForTreatement1=o.includes("errorsamplingb"),n.shouldSampleErrorsForTreatement2=o.includes("errorsamplingc")),n}getStaticUrls(e){return{com:`${this.assetsGlobalUrl}/staticsb/statics/${e}`,cn:`${this.assetsCNUrl}/staticsb/statics/${e}`}}}const Eu=xu.getInstance;let Pu=yr(xu);function _u(e){const t=e||Ur||"al_app_anon",n=Ou();return!!(n&&(["anon","al_anon"].includes(t)&&n.AL_ANON||["app_anon","al_app_anon"].includes(t)&&n.AL_APP_ANON))}const Ou=Oe((()=>z(_e(X,!0))));function Iu(){Ou.cache.clear()}var Au;!function(e){e.App="app",e.EdgeId="edgeid",e.Web="web"}(Au||(Au={}));const Du=Oe((()=>_t()?Au.EdgeId:xt()?Au.Web:Au.App));var Nu;class Mu{constructor(){this._signInState=ar.Unknown,this.initOverrides=()=>{}}getSignInState(){return this._signInState}setSignInState(e){this._signInState=e}useEnterpriseCompliance(){return!1}}(Nu=Mu)._instance=new Nu;let Ru=Mu._instance;function ju(e){if(Ru!==Mu._instance||!e)return Ru;e()}function Lu(){return ju().useEnterpriseCompliance()}setTimeout;let Fu=setTimeout;async function Uu(e){return new Promise(((t,n)=>{Fu(t,e)}))}const $u=Oe((async()=>{let e;const t=v()&&window.__pw_options,n=t&&t.auth&&t.auth.serviceToken;if("object"==typeof n&&n.then){const t=3e3;e=await Promise.race([n,Uu(t).then((()=>null))])}return e||{tokenValue:void 0,accountType:void 0}}));const Hu=()=>{const e=(()=>{const e=_e("els",!0),t=e&&z(e);return t&&Object.prototype.hasOwnProperty.call(t,"account_type")&&t})();if(e){if("MSA"===e.account_type)return sr.MSA;if("AAD"===e.account_type)return sr.AAD}},Wu=Oe((()=>{let e,t;return _e("elt")?(e=ar.SignedIn,t=(()=>{const e=tu();if(e){if("MSA"===e.account_type)return sr.MSA;if("AAD"===e.account_type)return sr.AAD}})()):_e("els")?(t=Hu(),e=t?ar.SignedIn:ar.NotSignedIn):_e("lt")||_e("aace")?(t=sr.MSA,e=ar.SignedIn):e=ar.NotSignedIn,{isSignedIn:e,accountType:t}}));const zu={};function Bu(){var e,t;if(!v())return!1;const n=null===(e=window.sapphireWebViewBridge)||void 0===e?void 0:e.send,r=null===(t=window.webkit)||void 0===t||null===(t=t.messageHandlers)||void 0===t||null===(t=t.send)||void 0===t?void 0:t.postMessage;return n||r}let Vu;function qu(e,t){var n,r,i,o;console.log(e,t);const a="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})),s={scenario:e,data:{data:t},id:a};Vu&&!s.data.data.appId&&(s.data.data.appId=Vu);const u=JSON.stringify(s);return(null===(n=window.webkit)||void 0===n||null===(n=n.messageHandlers)||void 0===n||null===(n=n.send)||void 0===n?void 0:n.postMessage)&&(null===(r=window.webkit)||void 0===r||null===(r=r.messageHandlers)||void 0===r||null===(r=r.send)||void 0===r||r.postMessage(u)),(null===(i=window.sapphireWebViewBridge)||void 0===i?void 0:i.send)&&window.sapphireWebViewBridge.send(u),(null===(o=window.VPsapphireWebViewBridge)||void 0===o?void 0:o.send)&&window.VPsapphireWebViewBridge.send(u),a}function Qu(e,t,n){if(!v())return;const r=qu(e,t);n&&function(e,t){zu[e]?zu[e].push(t):zu[e]=[t]}(r,n)}const Gu="__SapphireUserInformation__",Ku=()=>w.get(Gu,(()=>null)),Ju=e=>{w.set(Gu,e)},Yu="__SapphireSSRUserConfig__",Xu="__SapphireUserConfig__",Zu=e=>v()?w.get(Xu,(()=>e)):v()?null:w.get(Yu,(()=>null)),el="__SapphireUserConfigReady__",tl=()=>w.get(el,(()=>!1));let nl=0;function rl(){return nl>1e8&&(nl=0),"__mlv-"+nl++}const{get:il,set:ol,delete:al}=w;function sl(){const e=rl();return{get:()=>il(e),set:t=>(ol(e,t),t),unset:()=>{al(e)}}}function ul(e,t){return Object.freeze(t?Object.assign(e,t):e)}const ll=function(){const e=sl();return ul(e,{call:function(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return null===(t=e.get())||void 0===t?void 0:t(...r)}})}();function cl(e,t,n){return n?n.instrumentPromise(t,e):e()}function dl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:performance.now(),n=arguments.length>2?arguments[2]:void 0;const r=en();return n&&void 0!==r[e]?r[e]:(r[e]=Math.round(10*t)/10,t)}const fl=Oe((()=>{return e="auth",t="auth",ll.call(e,t,n);var e,t,n})),pl=e=>function(e,t){const n=performance.now(),r=t&&t.firstTimeOnly;t&&t.logStart&&dl(`${e}-start`,n,r);const i=t&&t.perfTimeline,o=i&&i.startMeasure(e).endMeasure;return function(){const i=performance.now();t&&t.logEnd&&dl(`${e}-end`,i,r),t&&!t.logDuration||dl(e,i-n,r),o&&o()}}(`Auth.${e}`,{logStart:!0,logDuration:!0,firstTimeOnly:!0}),hl=(e,t)=>dl(`Auth.${e}`,t,!0),gl="login_hint",ml=300,vl=3600,yl="authRecordTrail",wl=10,bl="InteractionRequiredAuthError",Sl="no_tokens_found",kl="9188040d-6c67-4c5b-b112-36a304b66dad";var Cl,Tl;!function(e){e.tryAcquire1STokenLite="ATL",e.acquireTokenSilent="ATS",e.tryAcquire1STokenProfileSwitch="ATP",e.clearAccountLinkingCookies="CAL",e.jwtSSOService="JWT",e.interactiveLogin="ILO",e.loginRedirect="LRD",e.loginPopup="LPP",e.logout="LGT",e.ssoSilent="SSL",e.singleSignOn="SSO",e.waitFor1SToken="W1S"}(Cl||(Cl={})),function(e){e[e.NotAttempted=0]="NotAttempted",e[e.Fail=1]="Fail",e[e.FailTrySSO=2]="FailTrySSO",e[e.Success=3]="Success"}(Tl||(Tl={}));class xl{constructor(e){this.promise=new Promise(((e,t)=>{this.resolver=e,this.reject=t})),e&&setTimeout((()=>this.set(void 0)),e)}set(e){this.resolver(e),this.valueSet=!0}setError(e){this.reject(e)}wasSet(){return this.valueSet}getResultAsync(){return this.promise}}const El="TTVR";var Pl;let _l,Ol;!function(e){e.Primary="primary",e.Secondary="secondary"}(Pl||(Pl={}));const Il=new Map,Al=new Map;new Map;let Dl,Nl,Ml=new Map;new Map;const Rl="TTVR.";let jl="";let Ll;function Fl(){return v()?Dl||(_l&&0===_l.size?Promise.resolve(Ul()):(Dl=new Promise((e=>{Nl=e})),Dl)):Promise.resolve([])}function Ul(){return(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&!1!==Ll?$l(Rl,El,!0):$l(Rl)}function $l(e,t,n){const r=[];let i=0;if(Ml.forEach(((t,n)=>{if(n.startsWith(e)){var o,a;r.push([n,t]);const e=n.startsWith("TTVR");t>i&&(!e||null!==(o=Ol)&&void 0!==o&&null!==(a=o.has)&&void 0!==a&&a.call(o,n))&&(i=t,e&&(jl=n));const s=Il.get(n);null!=s&&s.name&&(Al.get(s.name)<t&&Al.set(s.name,t),s.preserve||r.pop())}})),Al.forEach(((t,n)=>{n.startsWith(e)&&r.push([n,t])})),t&&r.push([t,i]),n&&t===El){const e=en().refreshDelay||0;r.push(["TTVR.WithRefreshDelay",i+e])}return r}var Hl=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};var Wl=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++i];if(!1===n(o[u],u,o))break}return t}}();var zl=function(e,t){return function(n,r){if(null==n)return n;if(!ha(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}((function(e,t){return e&&Wl(e,t,ga)}));var Bl=function(e){return"function"==typeof e?e:gs};var Vl=function(e,t){return(ei(e)?Hl:zl)(e,Bl(t))};const ql="2.18.0",Ql="2.24.0",Gl="1p-2.24.0",Kl="2.16";let Jl,Yl,Xl,Zl;function ec(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t={scopes:["User.Read"],loginHint:"",redirectUri:rc(e)};return e||Object.assign(t,{...oc(),extraQueryParameters:{edge_suppress_profile_switch:"1"}}),t}function tc(e){return{scopes:e,forceRefresh:!1,redirectUri:rc(!0)}}Jl="localhost.msn.com"===O(),Zl=I().toLowerCase().endsWith(".cn"),Xl=(D().match(/\bpr=([\d]+)\b/)||{})[1];const nc=Ja((async e=>{await async function(){if(!v())return;let e;Et()&&(await Promise.race([ic.getResultAsync(),Fl(),Uu(1e4).then((()=>e=!0))]),e&&er(Qn,"Loading MSAL before TTVR in delay load"));const t=fl(),n=t&&t.startMeasure("loadMsalScript").endMeasure;let r;const i=new Promise((e=>{r=e})),o=e=>{n&&n({customSuffix:e}),r()},a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"anonymous",i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0;if(!v())throw new Error("createScriptTag is unsupported server side. This call should be wrapped in canUseDOM().");const a=document.createElement("script");return t&&(a.id=t),i&&a.setAttribute("class",i),o&&(a.onload=o),a.type="text/javascript",e&&(window&&window.trustedTypesURLValidation?a.src=window.trustedTypesURLValidation(e,"scriptSrcUrlPolicy"):a.src=e,a.async=n,a.crossOrigin=r),window&&window.NONCE_ID&&(a.nonce=window.NONCE_ID),a}(cc(`auth/msal-browser-${ac()}.min.js`));return a.onload=()=>o(),a.onerror=e=>{er(qn,"Error in loading MSAL script",Zn(e)),o("error")},document.head.appendChild(a),await i}();const t=window.msal;Yl=!!t,t&&!sc()&&function(e){const t=me();t.keys().forEach((e=>{const n=e.match(/-[-]+/),r=n&&n[0].length;r>=2&&(2===r&&e.includes("accesstoken")||3===r&&e.includes("idtoken")||4===r&&e.includes("refreshtoken"))&&t.removeItem(e)}))}();const n=lc()?{performanceTelemetryConfiguration:{samplingPrecentage:1}}:void 0;if(t&&t.PublicClientApplication){const r=new t.PublicClientApplication(function(e){const{tenantScope:t="Dual",tenantId:n}=e||{};let r;return r=n||("MSA"===t?"consumers":"AAD"===t?"organizations":"common"),{auth:{clientId:"d7b530a4-7680-4c23-a8bf-c52c121d2e87",authority:`https://login.microsoftonline.com/${r}`,redirectUri:rc(),navigateToLoginRequestUrl:!0},cache:{cacheLocation:"localStorage",storeAuthStateInCookie:!1},system:{loggerOptions:{loggerCallback:(e,t,n)=>{if(!n)switch(e){case"Error":return void he.logError("dual-auth: "+t.toString());case"Info":case"Verbose":case"Warning":return void he.log("dual-auth: "+t.toString())}}},tokenRenewalOffsetSeconds:ml}}}(e),n);return function(e){if(!sc()||!ku.CurrentFlightSet.has("prg-msal224-ts")&&!Pu.IsDebug)return;let t=1;const n=en(),r=(e,r)=>n[`MSAL.${t}.${e}`]=r,i=e=>Math.round(10*e)/10;e.addPerformanceCallback((e=>{e.forEach((e=>{const n=e.name;r(`${n}-start`,i(e.startTimeMs-performance.timeOrigin)),r(n,i(e.durationMs)),r("meta",`c:${e.fromCache?1:0}-v:${e.startPageVisibility}-ok:${e.success?1:0}`),r("cv",e.correlationId);const o="DurationMs";Vl(e,((e,t)=>{if(t.endsWith(o)){const n=t.substring(0,t.length-o.length);r(`fn.${n}`,e)}})),t++}))}))}(r),r}}));function rc(e){return cc(e?"auth/auth-redirect-blank.html":"0/auth/auth-redirect.html","https://"+(!!O().match(/\.msn\.(com|cn)$/i)?I():"www.msn."+(Zl?"cn":"com")),!1)}const ic=new xl;function oc(){const e={appType:Pu.AppType,authRedirJsVer:Kl,buildVersion:Pu.BuildVersion,debug:Pu.IsDebug?1:void 0,msalJsVer:ac(),pr:Xl,returnUrl:_()};return{state:encodeURIComponent(JSON.stringify(e))}}function ac(){return lc()?Gl:uc()?Ql:ql}function sc(){return uc()||lc()}function uc(){return ku.CurrentFlightSet.has("prg-msal224-b")}function lc(){return ku.CurrentFlightSet.has("prg-msal224-1p")}function cc(e){let t="/latest",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"https://assets.msn."+(Zl?"cn":"com");Xl&&(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])?t=`/pr-${Xl}`:Jl&&(t="",n=`https://${I()}`);return`${n}/staticsb/statics${t}/${e}`}function dc(e){const t=encodeURIComponent(JSON.stringify(e||{}));Dr(Ie,t,Ae,Pu.HostPage.topDomain,"/",!1,Cr.Strict),Rt()}function fc(e){if(e)return function(e){return e&&e.tenantId===kl}(e)?sr.MSA:sr.AAD}async function pc(e){let t;if(e){t=(await hc()).find((t=>t.username===e))}else{const e=function(){const e=De();return e&&e.login_hint}();if(e){t=(await hc()).find((t=>gc(t)===e))}}return t}async function hc(){const e=await nc();return await e.handleRedirectPromise(),e.getAllAccounts()}function gc(e){return e&&e.idTokenClaims&&e.idTokenClaims[gl]}function mc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n=0;for(let t=0,r=e&&e.length;t<r;t++){n=(n<<5)-n+e.charCodeAt(t),n&=n}return n<0&&(n+=2147483647),n%t}var vc=function(e,t){return!!(null==e?0:e.length)&&As(e,t,0)>-1};var yc=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1};var wc=function(e,t,n,r){var i=-1,o=vc,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=ns(t,Zo(n))),r?(o=yc,a=!1):t.length>=200&&(o=So,a=!1,t=new wo(t));e:for(;++i<s;){var c=e[i],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d==d){for(var f=l;f--;)if(t[f]===d)continue e;u.push(c)}else o(t,d,r)||u.push(c)}return u},bc=Br?Br.isConcatSpreadable:void 0;var Sc=function(e){return ei(e)||Wo(e)||!!(bc&&e&&e[bc])};var kc=function e(t,n,r,i,o){var a=-1,s=t.length;for(r||(r=Sc),o||(o=[]);++a<s;){var u=t[a];n>0&&r(u)?n>1?e(u,n-1,r,i,o):Oo(o,u):i||(o[o.length]=u)}return o};var Cc=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},Tc=Math.max;var xc=function(e,t,n){return t=Tc(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Tc(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),Cc(e,this,s)}};var Ec=function(e){return function(){return e}},Pc=function(){try{var e=Vi(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),_c=Pc?function(e,t){return Pc(e,"toString",{configurable:!0,enumerable:!1,value:Ec(t),writable:!0})}:gs,Oc=Date.now;var Ic=function(e){var t=0,n=0;return function(){var r=Oc(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}},Ac=Ic(_c);var Dc=function(e,t){return Ac(xc(e,t,gs),e+"")};var Nc=function(e){return ti(e)&&ha(e)};var Mc=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},Rc=Dc((function(e,t){var n=Mc(t);return Nc(n)&&(n=void 0),Nc(e)?wc(e,kc(t,1,Nc,!0),void 0,n):[]}));var jc=function(e,t){return ns(t,(function(t){return[t,e[t]]}))};var Lc=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n};var Fc=function(e){return function(t){var n=Ma(t);return"[object Map]"==n?To(t):"[object Set]"==n?Lc(t):jc(t,e(t))}}(ga);var Uc=function(e,t){return $a(e,t)};var $c=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r};let Hc;const Wc=me();async function zc(e,t){const n={time:(new Date).toISOString(),action:e.toString(),result:t,state:await Qc()};he.log(`dual-auth: authRecord entry - ${e}: ${t}`),function(e){if(!e)return void he.logError("dual-auth: authRecord is null or undefined");Hc||(Hc=qc());Hc.push(e),Vc.cache.clear();const t=Hc.slice(-wl);Wc.setItem(yl,JSON.stringify(t))}(n)}function Bc(){return function(){if(Hc)return Hc;return Hc=qc(),Hc}().slice(-wl)}const Vc=Oe((()=>(Hc||(Hc=qc()),function(e){const t=";";let n={};if(!e)return n;return n={a:"",r:"",s:[],t:[]},e.forEach(((r,i)=>{n.a+=r.action+t,n.r+=function(e){if(!e)return null;if(e.match(/\bsuccess\b/i))return"S";if(e.match(/\bfailure\b/i))return"F";{let t=e.match(/tryInitiateEarlyAuth: Finalized sign in state (\w+) from auth-(\w+)/);return t?`EarlyAuth: ${t[1]} from ${t[2]}`:(t=e.match(/initiateSSOCore: (\w+) - SSO data from the (\w+) auth flow[^]*/),t?`SSO: ${t[1]} from ${t[2]}`:e.toString())}}(r.result)+t,n.s.push(function(e,t){if(!e)return{};if(e===t)return e;const n=Rc(Fc(e),Fc(t),Uc);return $c(n)}(r.state,i>0?e[i-1].state:r.state)),n.t.push(function(e,t){if(!e)return;if(e===t)return e;const n=new Date(e),r=n&&n.getTime(),i=t&&new Date(t),o=i&&i.getTime();if(r&&o)return(r-o).toString()}(r.time,i>0?e[i-1].time:r.time))})),n}(Hc))));function qc(){if(!Wc.supported)return void he.log("dual-auth: Local storage access is not supported");return z(Wc.getItem(yl))||[]}async function Qc(){var e;const t=ku.ClientSettings,n=Yl,r=n&&fc(await pc())||(null===(e=De())||void 0===e?void 0:e.account_type)||void 0,i=_e(Ie),{login_hint:o}=i&&z(i)||{},a=o&&0!==Object.keys(o).length;return{isSignedIn:ju().getSignInState()===ar.SignedIn,accountType:r,signedInAccounts:n?await Gc():void 0,storage:{aace:_e(G),ace:_e(K),als:_e(X,!0),child:_e(Y),currentAccount:a,loginFlowMarker:Ve(),logoutFlowMarker:Qe(),editFlowMarker:Ke(),osate:_e(J)},appType:t&&t.apptype,pageType:t&&t.pagetype}}async function Gc(){if(!await nc())return[-1];return(await hc()).map((e=>mc(e.username)))}const Kc="authconstants-peregrine",Jc=Oe((()=>mc(_e("MUID"),100)<2));function Yc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;F.sendAppErrorEvent({...e,message:t,pb:{...e.pb,customMessage:Zn(n),authRecordTrail:Jc()&&Bc()||void 0,tokenCacheState:Te()}})}var Xc,Zc;async function ed(e,t){const n=t&&t.accessToken,r="Acquire"===e;if(!n&&r){const e="Invalid access token in jwtSSOCore";return zc(Cl.jwtSSOService,e),void Yc(Vn,e)}let i,o;try{i=await fetch(`https://api.msn.${Pu.IsChinaCompliance?"cn":"com"}/auth/token/v2/jwtsso?apikey=${Pu.OneServiceApiKey}&ocid=${Kc}&activityId=${Pu.ActivityId}`,{method:r?"POST":"DELETE",credentials:"include",body:JSON.stringify({userAccessToken:n})||void 0,headers:Dt(n)||void 0});r!==!!Ar(J)&&(o=new Error(`${r?"Expected":"Unexpected"} cookie ${J} is ${r?"missing":"still present"} after ${e} JwtSSO call`))}catch(e){o=e}const a=!o&&i&&i.ok?null:`Error in ${e} mode in jwtSSO call. ${o||""}`;a&&Yc(Vn,a),zc(Cl.jwtSSOService,`${a||"Success"}`)}async function td(e,t){if(!It())return void he.log("Auth: WorkId work flow is not enabled in this environment");const n="Acquire"===e,r="Reset"===e,i=n||r?"GET":"DELETE",o=Du(),a=`https://api.msn.${Pu.IsChinaCompliance?"cn":"com"}/auth/cookie/${r?"wid":"AAD"}`;let s,u,l;try{var c;const d=new URL(a);d.searchParams.append("apikey",Pu.OneServiceApiKey),d.searchParams.append("ocid",Kc),d.searchParams.append("activityId",Pu.ActivityId),d.searchParams.append("it",o),r&&d.searchParams.append("reset","true");const f={method:i,credentials:"include",headers:Dt(t)||void 0};if(s=await fetch(d.toString(),f),(Fe("prg-1s-sm-workid")||Fe("prg-1s-mm-wid-t"))&&s.ok){const e=n&&await s.json(),{consent:t,migrated:r,userType:i}=e||{};l={consent:null==t?void 0:t.toLowerCase(),migrated:"yes"===(null==r?void 0:r.toLowerCase()),userType:null==i?void 0:i.toLowerCase()}}const p=o===Au.Web?Z:ee,h=!!Ar(p),g=n&&(null===(c=l)||void 0===c?void 0:c.migrated)||r;g!==h&&(u=new Error(`${g?"Expected":"Unexpected"} cookie ${p} is ${g?"missing":"still present"} after ${e} 1S call to ${a} with status ${s.status}`))}catch(e){u=e}const d=!u&&s&&s.ok?null:`Error in ${e} mode in ${a} call. ${u||""}`;return d&&er(Jn,d,u&&(u.message||Zn(u))),l&&Promise.resolve(l)}!function(e){e.Acquire="Acquire",e.Delete="Delete"}(Xc||(Xc={})),function(e){e.Acquire="Acquire",e.Delete="Delete",e.Reset="Reset"}(Zc||(Zc={}));const nd=`apikey=${Pu.OneServiceApiKey}&ocid=Peregrine&it=${Du()}&activityId=${Pu.ActivityId}`;function rd(){return cl((()=>async function(){let e,t;try{e=await fetch(`https://api.msn.${Pu.IsChinaCompliance?"cn":"com"}/auth/cookie/clearALCookies?${nd}`,{method:"DELETE",credentials:"include"}),Iu();if(_u()){const e=decodeURIComponent(Ar(X));t=new Error(`Account linking cookie ${e} indicates account is still linked after clearALCookies call`)}}catch(e){t=e}const n=!t&&e&&e.ok&&200===e.status?null:`Error in clearALCookies call. ${t||""}`;n&&Yc(Kn,n),zc(Cl.clearAccountLinkingCookies,`${n||"Success"}`)}()),"tryDelete1SAcctLnkCookies",fl())}const id=7e3;let od,ad=!1;const sd={acquireTokenStatus:0,accessTokenResult1S:null,currentAccountInfo:null};let ud=new xl;Oe((async()=>{const e=od||await nc(),t=await cl((()=>null==e?void 0:e.handleRedirectPromise()),"handleRedirect",fl());if(t)return he.log("dual-auth: Signing in through interactive login loginResponse: "+JSON.stringify(t,null,4)),ld(t).finally((()=>{qe()})),zc(Cl.interactiveLogin,"Success"),t;qe()}));Ja((async e=>{var t;let n;e||he.log("dual-auth: login_hint is not available. ssoSilent may not work!");const r=od||await nc(),i=pl("SSOSilentCoreAndToken"),o=fl(),a=o&&o.startMeasure("ssoSilentCore").endMeasure,s={...ec(!0),loginHint:e},u=v()&&(null===(t=history)||void 0===t?void 0:t.length);try{n=await r.ssoSilent(s)}catch(t){he.log(`dual-auth: ssoSilent failed! : ${t}`),zc(Cl.ssoSilent,Zn(t));const n=De();if(t.name===bl&&n){if(function(){const e=Me();e&&e.setItem(ze,"1"),Ye.cache.clear()}(),!Ye()||!xt())return void await cd(null,!0);{const t={...ec(),loginHint:e};r.acquireTokenRedirect(t)}}(n||_e(K))&&t.name!==bl&&"BrowserAuthError"!==t.name&&Yc(zn,"Error in ssoSilent call",t)}finally{he.log(`dual-auth: getAllAccounts AFTER ${n?"SUCCESSFUL":"UNSUCCESSFUL"} ssoSilent: ${JSON.stringify(hc(),null,4)}`),n&&(he.log(`dual-auth: loginResponse AFTER SUCCESSFUL ssoSilent: ${JSON.stringify(n,null,4)}`),zc(Cl.ssoSilent,"Success. User: "+mc(n.account.username))),ld(n).finally((()=>{i(),Ge(),Je()})),a&&a({customSuffix:(n?n.fromCache&&"cache":"error")||void 0})}return u&&history.length===u+1&&dispatchEvent(new CustomEvent("ssoSilentHistChanged")),n}));async function ld(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=await cd(e,t);await dd(n)}async function cd(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){const t=sd.currentAccountInfo=e.account;return dc({login_hint:gc(t),account_type:fc(t)}),t}t&&(dc(),Ee(null),Ge(),Je(),function(){const e=Me();e&&"1"===e.getItem(ze)&&(e.removeItem(ze),Ye.cache.clear())}(),await Promise.all([cl((()=>ed("Delete")),"tryDelete1SJwtCookies",fl()),rd()]),Dr(J,null,-1,Pu.HostPage.topDomain,"/"))}async function dd(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=sd.accessTokenResult1S;const o=new Date(i&&i.expiresOn),a=o&&o.getTime()&&o>new Date;if(i&&3===sd.acquireTokenStatus&&a)return void he.log(`dual-auth: tryAcquire1STokenSilently: token is still valid - expiry: ${new Date(i&&i.extExpiresOn)}`);const s=fc(e)===sr.AAD,u=s?["https://enterprisenews.microsoft.com/User.Read"]:["https://oneservice.microsoft.com/OneService.Read"];try{if(i=await async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t)return void he.log("dual-auth: tryAcquireTokenSilently received empty account -- API calls may not be authenticated!");const i=od||await nc(),o={...tc(e),forceRefresh:r,account:t};let a;const s=fl(),u=s&&s.startMeasure("tryAcquireTokenSilently").endMeasure;try{a=await fd((()=>i.acquireTokenSilent(o)),"acquireTokenSilent",n?id:-1)}catch(e){throw he.log(`dual-auth: acquireTokenSilent failed! : ${e}`),zc(Cl.acquireTokenSilent,Zn(e)),Yc(Bn,"acquireTokenSilent call failed",e),e.name===bl&&Ye()&&i.acquireTokenRedirect(o),a=null,e}finally{u&&u({customSuffix:(a?a.fromCache&&"cache":"error")||void 0}),a&&zc(Cl.acquireTokenSilent,"Success"),he.log(`dual-auth: acquireTokenSilent for scopes: ${e} was ${a?"SUCCESSFUL":"UNSUCCESSFUL"} accessTokenResult: ${JSON.stringify(a,null,4)}`)}return a}(u,e,n,r),i){if(sd.acquireTokenStatus=3,sd.accessTokenResult1S=i,Ee(i),!i.fromCache){const e=+new Date;hl("OSATExpMins",Math.floor((+i.expiresOn-e)/6e4))}c=i,cl((()=>ed("Acquire",c)),"tryAcquire1SJwtCookies",fl()),s&&(l=i.accessToken,cl((()=>td("Acquire",l)),"tryAcquire1SWorkIdCookies",fl()))}}catch(e){if(i=sd.accessTokenResult1S=null,e.name===bl&&e.errorCode===Sl&&t)return void(sd.acquireTokenStatus=2);sd.acquireTokenStatus=1}var l,c;ud.set(i);const d=function(e){if(!e)return null;const t=e&&e.extExpiresOn,n=t&&new Date(t),r=n&&n.getTime(),i=(new Date).getTime();let o;const a=1e3*(vl-ml),s=1e3*ml;r&&r>i?(o=r-i,o<=s&&(o=0)):o=a;return o+6e4}(i);d&&setTimeout((()=>dd(e)),d)}async function fd(e,t,n){let r,i=n,o=!1;return v()&&(location.search.includes(`${t}NoTimeout`)?i=999999999:location.search.includes(`${t}ForceDelay`)?(e=()=>Uu(1e4).then(e),i+=2e4):location.search.includes(`${t}ForceTimeout`)?(i=0,o=!0):n<0&&(i=-1)),i<0?await e():(await Promise.race([e().then((e=>r=e)),Uu(i).then((()=>Promise.reject(new Error(`Operation ${t} timed out after ${i}ms`))))]),o?void 0:r)}const pd="__SignInStateIsValid__",hd="__SignInStatePromiseResolver__",gd=()=>{w.set(pd,new Promise((e=>{w.set(hd,e)})))};gd();const md=()=>w.get(pd);async function vd(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t={signedInStatus:ar.NotSignedIn,accountType:null};if(Bu()&&e){await async function(){let e=0;return new Promise(((t,n)=>{if(tl())t();else{const r=setInterval((async function(){tl()?(clearInterval(r),t()):e>30?(clearInterval(r),n()):e++}),50)}}))}();const e=Zu();e&&(t.signedInStatus=e.isSignedIn?ar.SignedIn:ar.NotSignedIn,t.accountType=wd(e.accountType))}else if(Pu.WidgetAttributes&&"shopping"==Pu.AppType){const e=await $u();t.accountType=wd(e.accountType),t.signedInStatus=e.tokenValue?ar.SignedIn:ar.NotSignedIn}else t.signedInStatus=await yd("waitForSignInState",!0),t.accountType=function(){if(_t()){const e=Wu();return e.isSignedIn===ar.SignedIn&&e.accountType}if(xt())return function(){const{currentAccountInfo:e}=sd;if(e)return fc(e);const t=De();return t?t.account_type:void 0}()}();return t}async function yd(e,t){const n=Su().UserIsSignedIn;if(null!=n)return n?ar.SignedIn:ar.NotSignedIn;const r=fl(),i=r&&r.startMeasure(e).endMeasure;let o;t&&(o=pl("GetSignInStateAsync"),ju().initOverrides(),await md());const a=ju().getSignInState();return i&&i(),o&&o(),a}function wd(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return"MSA"===e?sr.MSA:"AAD"===e?sr.AAD:void 0}const bd="0067acd6d05f4168b92f510d33b9ed74",Sd="service::api.msn.com::MBI_SSL",kd="service::www.msn.com::MBI_SSL",Cd="api://www.msn.com/OneService.Read";function Td(e){return new Promise(((t,n)=>{!function(e,t){Qu("getUserInfo",e,t)}(e,(e=>{t(e)}))}))}function xd(e){return new Promise(((t,n)=>{!function(e,t){Qu("logEvent",e,t)}(e,(e=>{t(e)}))}))}function Ed(e){return new Promise(((t,n)=>{!function(e,t){Qu("logError",e,t)}(e,(e=>{t(e)}))}))}function Pd(e,t){Ed({type:"Failure",name:"HP_WEBVIEW_APP_ERROR",error:t,data:{error:e,customMessage:t}})}async function _d(e){let t=Ku();if(t||await async function(){const e=await Td({});try{const t=JSON.parse(e);Ju(t)}catch(e){Pd(e,"SapphireUserConfig.getUserInformationInternal: Failed to parse response")}}(),t=Ku()??{},t.isSignedIn){if(t.accessToken)return t.accessToken;{const n=await Td({refresh:!0,accountType:t.accountType,type:"AccessToken",scope:e});try{const e=JSON.parse(n);if(!e||!1===e.succeed)return null;if(e.succeed){const n=e.accessToken.startsWith("t=")?e.accessToken.substring(2):e.accessToken;return t.accessToken=n,n}if(Object.keys(e).length>0){return Object.values(e).find((e=>e&&"boolean"!=typeof e&&"AAD"!==e))||null}}catch(e){Pd(e,`SapphireUserConfig.getAccessTokenByOAuth: Failed to parse ${t.accountType} access token`)}}}return null}let Od;async function Id(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(void 0===Od&&(Od="edgeMobile"===(null==Pu?void 0:Pu.AppType)),Od)return await async function(){var e;const t={};t.SiteName="www.msn."+(null!=Pu&&Pu.IsChinaCompliance?"cn":"com");const n=await _d(Cd);return n&&(t.Authorization="Bearer "+n),null!=Pu&&Pu.UserId&&null!=Pu&&null!==(e=Pu.CurrentRequestTargetScope)&&void 0!==e&&null!==(e=e.pageExperiments)&&void 0!==e&&e.includes("1s-r-user-qsp")&&(t.Muid=Pu.UserId),t}();const n=await async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n={},r=e&&t,i=await async function(e){const t=Zu();if(!v()){const{accountType:e,ssrAccessToken:n}=t||{};return e===sr.AAD&&n?`Bearer ${n}`:e===sr.MSA&&n?n:null}const n=Ku()??{};if(n.isSignedIn&&"AAD"===n.accountType){const e=await Td({refresh:!0,accountType:"AAD",type:"AccessToken"});try{const t=JSON.parse(e);if(t.accessToken&&t.accessToken.length>0)return`Bearer ${t.accessToken}`}catch(e){Pd(e,"SapphireUserConfig.getAccessToken: Failed to parse AAD access token")}}if(n.isSignedIn&&"MSA"===n.accountType){const t=await Td({refresh:!0,accountType:"MSA",type:"AccessToken",scope:e});try{const e=JSON.parse(t);if(e.succeed)return e.accessToken}catch(e){Pd(e,"SapphireUserConfig.getAccessToken: Failed to parse MSA access token")}}return null}(function(e){return e?kd:Sd}(r));if(!i)return n;if(r)n.Authorization=i;else{const{accountType:e}=Zu()??{};"MSA"===e?n.UserAuthToken=i:"AAD"===e&&(n.Authorization=i)}return n}(e,t),{muid:r}=Zu()??{};return r&&(n.MUID=r),n}function Ad(e){if(!Bu())return;const t=Zu();null!=t&&t.isProd||xd({appId:bd,type:"Debug",name:"HP_WEBVIEW_SERVER_LOG",data:{message:e}})}var Dd="function",Nd="object",Md="undefined",Rd="prototype",jd=Object,Ld=jd[Rd],Fd=(jd.assign,jd.create,jd.defineProperty),Ud=Ld.hasOwnProperty,$d=null;var Hd,Wd="name",zd="push",Bd="length",Vd="messageId",qd="message",Qd="diagLog",Gd="indexOf",Kd="userAgent",Jd="substr",Yd="nodeType",Xd="replace",Zd="enableDebugExceptions",ef="toLowerCase",tf="call",nf="undefined",rf="constructor",of="prototype",af="function",sf="_dynInstFuncs",uf="_isDynProxy",lf="_dynClass",cf="_dynInstChk",df=cf,ff="_dfOpts",pf="_unknown_",hf="__proto__",gf="_dyn"+hf,mf="__dynProto$Gbl",vf="_dynInstProto",yf="useBaseInst",wf="setInstFuncs",bf=Object,Sf=bf.getPrototypeOf,kf=bf.getOwnPropertyNames;var Cf,Tf=(typeof globalThis!==nf&&(Cf=globalThis),Cf||typeof self===nf||(Cf=self),Cf||typeof window===nf||(Cf=window),Cf||typeof n.g===nf||(Cf=n.g),Cf||{}),xf=Tf[mf]||(Tf[mf]={o:(Hd={},Hd[wf]=!0,Hd[yf]=!0,Hd),n:1e3});function Ef(e,t){return e&&bf[of].hasOwnProperty.call(e,t)}function Pf(e){return e&&(e===bf[of]||e===Array[of])}function _f(e){return Pf(e)||e===Function[of]}function Of(e){var t;if(e){if(Sf)return Sf(e);var n=e[hf]||e[of]||(e[rf]?e[rf][of]:null);t=e[gf]||n,Ef(e,gf)||(delete e[vf],t=e[gf]=e[vf]||e[gf],e[vf]=n)}return t}function If(e,t){var n=[];if(kf)n=kf(e);else for(var r in e)"string"==typeof r&&Ef(e,r)&&n.push(r);if(n&&n.length>0)for(var i=0;i<n.length;i++)t(n[i])}function Af(e,t,n){return t!==rf&&typeof e[t]===af&&(n||Ef(e,t))}function Df(e){throw new TypeError("DynamicProto: "+e)}function Nf(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function Mf(e,t,n,r,i){function o(e,t){var n=function(){var r=function(e,t,n,r){var i=null;if(e&&Ef(n,lf)){var o=e[sf]||{};if((i=(o[n[lf]]||{})[t])||Df("Missing ["+t+"] "+af),!i[cf]&&!1!==o[df]){for(var a=!Ef(e,t),s=Of(e),u=[];a&&s&&!_f(s)&&!Nf(u,s);){var l=s[t];if(l){a=l===r;break}u.push(s),s=Of(s)}try{a&&(e[t]=i),i[cf]=1}catch(e){o[df]=!1}}}return i}(this,t,e,n)||function(e,t,n){var r=t[e];return r===n&&(r=Of(t)[e]),typeof r!==af&&Df("["+e+"] is not a "+af),r}(t,e,n);return r.apply(this,arguments)};return n[uf]=1,n}if(!Pf(e)){var a=n[sf]=n[sf]||{},s=a[t]=a[t]||{};!1!==a[df]&&(a[df]=!!i),If(n,(function(t){Af(n,t,!1)&&n[t]!==r[t]&&(s[t]=n[t],delete n[t],(!Ef(e,t)||e[t]&&!e[t][uf])&&(e[t]=o(e,t)))}))}}function Rf(e,t){return Ef(e,of)?e.name||t||pf:((e||{})[rf]||{}).name||t||pf}function jf(e,t,n,r){Ef(e,of)||Df("theClass is an invalid class definition.");var i=e[of];(function(e,t){if(Sf){for(var n=[],r=Of(t);r&&!_f(r)&&!Nf(n,r);){if(r===e)return!0;n.push(r),r=Of(r)}return!1}return!0})(i,t)||Df("["+Rf(e)+"] not in hierarchy of ["+Rf(t)+"]");var o=null;Ef(i,lf)?o=i[lf]:(o="_dynCls$"+Rf(e,"_")+"$"+xf.n,xf.n++,i[lf]=o);var a=jf[ff],s=!!a[yf];s&&r&&void 0!==r[yf]&&(s=!!r[yf]);var u=function(e){var t={};return If(e,(function(n){!t[n]&&Af(e,n,!1)&&(t[n]=e[n])})),t}(t),l=function(e,t,n,r){function i(e,t,n){var i=t[n];if(i[uf]&&r){var o=e[sf]||{};!1!==o[df]&&(i=(o[t[lf]]||{})[n]||i)}return function(){return i.apply(e,arguments)}}var o={};If(n,(function(e){o[e]=i(t,n,e)}));for(var a=Of(e),s=[];a&&!_f(a)&&!Nf(s,a);)If(a,(function(e){!o[e]&&Af(a,e,!Sf)&&(o[e]=i(t,a,e))})),s.push(a),a=Of(a);return o}(i,t,u,s);n(t,l);var c=!!Sf&&!!a[wf];c&&r&&(c=!!r[wf]),Mf(i,o,t,u,!1!==c)}jf[ff]=xf.o;var Lf="",Ff="errorToConsole",Uf="warnToConsole",$f="toISOString",Hf="endsWith",Wf="startsWith",zf="trim",Bf="toString",Vf=(jd.freeze,jd.seal,jd.keys,String[Rd]),qf=(Vf[zf],Vf[Hf],Vf[Wf],Date[Rd][$f],Array.isArray,Ld[Bf],Ud[Bf]),Qf=(qf[tf](jd),/-([a-z])/g),Gf=/([^\w\d_$])/g,Kf=/^(\d+[\w\d_$])/;Object.getPrototypeOf;function Jf(e){return void 0===e||typeof e===Md}function Yf(e){return null===e||Jf(e)}function Xf(e){return!(!e||typeof e!==Dd)}function Zf(e){var t=e;return t&&tp(t)&&(t=(t=(t=t[Xd](Qf,(function(e,t){return t.toUpperCase()})))[Xd](Gf,"_"))[Xd](Kf,(function(e,t){return"_"+t}))),t}function ep(e,t){return!(!e||!t)&&-1!==e[Gd](t)}function tp(e){return"string"==typeof e}({toString:null}).propertyIsEnumerable("toString");function np(){var e=Date;return e.now?e.now():(new e).getTime()}function rp(e,t){return Yf(e)?t:e}var ip="window",op="document",ap="navigator",sp="console",up="JSON",lp="crypto",cp="msCrypto",dp="msie",fp="trident/",pp=null,hp=null;function gp(e){var t=function(e){void 0===e&&(e=!0);var t=!1===e?null:$d;return t||(typeof globalThis!==Md&&(t=globalThis),t||typeof self===Md||(t=self),t||typeof window===Md||(t=window),t||typeof n.g===Md||(t=n.g),$d=t),t}();return t&&t[e]?t[e]:e===ip&&mp()?window:null}function mp(){return Boolean(typeof window===Nd&&window)}function vp(){return Boolean(typeof document===Nd&&document)?document:gp(op)}function yp(){return Boolean(typeof navigator===Nd&&navigator)}function wp(){return yp()?navigator:gp(ap)}function bp(){return Boolean(typeof JSON===Nd&&JSON||null!==gp(up))}function Sp(){return bp()?JSON||gp(up):null}function kp(){var e=wp();if(e&&(e[Kd]!==hp||null===pp)){var t=((hp=e[Kd])||Lf)[ef]();pp=ep(t,dp)||ep(t,fp)}return pp}function Cp(e){var t=Object[Rd].toString[tf](e),n=Lf;return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e[Wd]+"'":bp()&&(n=Sp().stringify(e)),t+n}var Tp=null;function xp(e){var t,n=Tp;return n||!0===e.disableDbgExt||(n=Tp||((t=gp("Microsoft"))&&(Tp=t.ApplicationInsights),Tp)),n?n.ChromeDbgExt:null}function Ep(e){return e?'"'+e[Xd](/\"/g,Lf)+'"':Lf}function Pp(e,t){var n=typeof console!==Md?console:gp(sp);if(n){var r="log";n[e]&&(r=e),Xf(n[r])&&n[r](t)}}var _p=function(){function e(e,t,n,r){void 0===n&&(n=!1);var i=this;i[Vd]=e,i[qd]=(n?"AI: ":"AI (Internal): ")+e;var o=Lf;bp()&&(o=Sp().stringify(r));var a=(t?" message:"+Ep(t):Lf)+(r?" props:"+Ep(o):Lf);i[qd]+=a}return e.dataType="MessageData",e}();!function(){function e(t){this.identifier="DiagnosticLogger",this.queue=[];var n,r,i,o,a=0,s={};jf(e,this,(function(e){function u(t,n){if(!(a>=i)){var o=!0,u="AITR_"+n[Vd];if(s[u]?o=!1:s[u]=!0,o&&(t<=r&&(e.queue[zd](n),a++,l(1===t?"error":"warn",n)),a===i)){var c="Internal events throttle limit per PageView reached for this app.",d=new _p(23,c,!1);e.queue[zd](d),1===t?e[Ff](c):e[Uf](c)}}}function l(e,n){var r=xp(t||{});r&&r[Qd]&&r[Qd](e,n)}!function(e){n=rp(e.loggingLevelConsole,0),r=rp(e.loggingLevelTelemetry,1),i=rp(e.maxMessageLimit,25),o=rp(e[Zd],!1)}(t||{}),e.consoleLoggingLevel=function(){return n},e.telemetryLoggingLevel=function(){return r},e.maxInternalMessageLimit=function(){return i},e[Zd]=function(){return o},e.throwInternal=function(t,r,i,a,c){void 0===c&&(c=!1);var d=new _p(r,i,c,a);if(o)throw Cp(d);var f=1===t?Ff:Uf;if(Jf(d[qd]))l("throw"+(1===t?"Critical":"Warning"),d);else{if(c){var p=+d[Vd];!s[p]&&n>=t&&(e[f](d[qd]),s[p]=!0)}else n>=t&&e[f](d[qd]);u(t,d)}},e[Uf]=function(e){Pp("warn",e),l("warning",e)},e[Ff]=function(e){Pp("error",e),l("error",e)},e.resetInternalMessageCount=function(){a=0,s={}},e.logInternalMessage=u}))}e.__ieDyn=1}();vp();var Op=4294967296,Ip=4294967295,Ap=!1,Dp=123456789,Np=987654321;function Mp(e){e<0&&(e>>>=0),Dp=123456789+e&Ip,Np=987654321-e&Ip,Ap=!0}function Rp(){try{var e=2147483647&np();Mp((Math.random()*Op^e)+e)}catch(e){}}function jp(e){var t=0,n=gp(lp)||gp(cp);return n&&n.getRandomValues&&(t=n.getRandomValues(new Uint32Array(1))[0]&Ip),0===t&&kp()&&(Ap||Rp(),t=Lp()&Ip),0===t&&(t=Math.floor(Op*Math.random()|0)),e||(t>>>=0),t}function Lp(e){var t=((Np=36969*(65535&Np)+(Np>>16)&Ip)<<16)+(65535&(Dp=18e3*(65535&Dp)+(Dp>>16)&Ip))>>>0&Ip|0;return e||(t>>>=0),t}function Fp(e){void 0===e&&(e=22);for(var t=jp()>>>0,n=0,r=Lf;r[Bd]<e;)n++,r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&t),t>>>=6,5===n&&(t=(jp()<<2&4294967295|3&t)>>>0,n=0);return r}var Up=Fd,$p="2.8.9",Hp="."+Fp(6),Wp=0;function zp(e){return 1===e[Yd]||9===e[Yd]||!+e[Yd]}function Bp(e,t){var n=t[e.id];if(!n){n={};try{zp(t)&&(function(e,t,n){if(Up)try{return Up(e,t,{value:n,enumerable:!1,configurable:!0}),!0}catch(e){}return!1}(t,e.id,n)||(t[e.id]=n))}catch(e){}}return n}function Vp(e,t){return void 0===t&&(t=!1),Zf(e+Wp+++(t?"."+$p:Lf)+Hp)}var qp;Vp("aiEvtPageHide"),Vp("aiEvtPageShow"),qp={id:Vp("_aiData-"+("events"||Lf)+"."+$p),accept:function(e){return zp(e)},get:function(e,t,n,r){var i=e[qp.id];return i?i[Zf(t)]:(r&&((i=Bp(qp,e))[Zf(t)]=n),n)},kill:function(e,t){if(e&&e[t])try{delete e[t]}catch(e){}}};function Qp(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n=Lf,r=0;r<4;r++)n+=t[15&(e=jp())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var i=t[8+(3&jp())|0];return n[Jd](0,8)+n[Jd](9,4)+"4"+n[Jd](13,3)+i+n[Jd](16,3)+n[Jd](19,12)}var Gp,Kp;class Jp{constructor(){this.getSpanId=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(Jp.traceCtrxObj&&!e)return Jp.traceCtrxObj.getSpanId();const t=Qp().substring(0,16);return L().then((()=>{Jp.setSpanIdFunc(t)}),(()=>{})),t},this.getTraceId=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(Jp.traceCtrxObj&&!e)return Jp.traceCtrxObj.getTraceId();const t=Qp();return L().then((()=>{Jp.setTraceIdFunc(t)}),(()=>{})),t}}setTraceObj(e){Jp.traceCtrxObj=e&&e.getTraceCtx()}}(Gp=Jp).getTraceInstance=()=>(Gp.traceInstance||(Gp.traceInstance=new Gp),Gp.traceInstance),Gp.setSpanIdFunc=e=>{const t=e||Qp().substring(0,16);try{Gp.traceCtrxObj.setSpanId(t)}catch(e){}},Gp.setTraceIdFunc=e=>{const t=e||Qp();try{Gp.traceCtrxObj.setTraceId(t)}catch(e){}},function(e){e.InteractionRequired="userInteractionRequired",e.AuthProviderNotSupported="authProviderNotSupported",e.MaySucceedOnRetry="fetchRetryableError",e.AuthPrivateNotSupportedForMAM="authPrivateNotSupportedForMAM",e.OtherError="authFetchError"}(Kp||(Kp={}));let Yp={getAuthData:async e=>({resource:e,error:{message:"Auth manager is not initialized",status:Kp.OtherError}})};const Xp="prg-telemetry-trace",Zp="traceparent";var eh;function th(e){if(e)return new Date(nh(e))}function nh(e){if(e)return e.toLowerCase().endsWith("z")||(e+="Z"),Date.parse(e)}!function(e){function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Lu(),s=arguments.length>6&&void 0!==arguments[6]&&arguments[6];const u=Eu(),l=[{key:"apikey",value:u.OneServiceApiKey},{key:"activityId",value:u.ActivityId},{key:"ocid",value:n?r(u.TrackInfo,t):t},{key:u.OneServiceContentMarketQspKey,value:u.CurrentMarket},{key:"it",value:Du()}],c=Su().CurrentFlights;if(u.SendUserIdInHeader||!e||null!=c&&c.includes("1s-r-user-qsp")||l.push({key:"user",value:e}),a&&l.push({key:"stn",value:"aad"}),ku.IsBlendedEnterprise&&l.push({key:"audienceMode",value:"enterprise"}),u.ShouldUseFdheadQsp){let e=c;if(i){e=e?`${e},${i}`:i;const t="prg-bngimg-t";-1===e.indexOf(t)&&(e+=","+t),!0===o&&(e=i)}l.push({key:"fdhead",value:e})}if(null!=c&&c.includes(Xp)){const e=Jp.getTraceInstance(),t="00-"+e.getTraceId(!0)+"-"+e.getSpanId(!0)+"-00";l.push({key:"traceparent",value:t})}if(!s){const e=u.AuthCookieName;e&&l.push({key:"scn",value:e.toUpperCase()})}return l}async function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lu(),t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;const o={};let a;const s=Eu()||{};if(Su().CurrentFlights&&Su().CurrentFlights.includes("prg-tracingheader")){const e=Jp.getTraceInstance(),t=e.getTraceId(!0),n=e.getSpanId(!0);o[te.traceParent]="00-"+t+"-"+n+"-00"}if("windowsShell"===s.AppType||"windowsShellV2"===s.AppType)s.IsWinAADUser&&(a=await i(),Object.assign(o,function(e){const t={};return e&&(t[te.entAuthorization]=e),t}(a)));else if("winWidgets"===s.AppType){if(v()&&"function"==typeof window.createWindowsWidget1SAuthHeaders){const e=await window.createWindowsWidget1SAuthHeaders();Object.assign(o,e)}}else{if(s.WidgetAttributes){a=(await $u()).tokenValue}if(("shopping"==s.AppType||"views"==s.AppType)&&Bu()){if((await vd()).accountType==sr.MSA){Object.assign(o,await Id());for(const e in o)0===e.indexOf("X-MSEdge")&&delete o[e];return o.SiteName=`api.msn.${s.topDomain}`,Ad(o),o}}if(!a)if(e&&!await s.isGccModUser){var u;const e={id:"https://enterprisenews.microsoft.com",friendlyName:"EnterpriseOneService"},t=await(null===(u=Yp)||void 0===u?void 0:u.getAuthData(e));a=null==t?void 0:t.authToken}else if("gaming"===n&&r&&v()){const e=me().getObject("xboxXTokenId");e&&e.notAfter&&new Date(e.notAfter)>new Date&&(o[te.xboxToken]=JSON.stringify(e))}else if((null==t||!t.skipDualAuthHeader)&&xt()&&!_t()){const e=Pt()?await async function(){if(sd.accessTokenResult1S)return sd.accessTokenResult1S;if(!ad){const e="Wait for 1SToken failed because auth flow was not started";return he.logError(`dual-auth: ${e} -- so returning early without the 1S access token`),zc(Cl.waitFor1SToken,e),Yc(Gn,e),void ud.set(null)}const e=pl("Wait1SToken"),t=await cl((()=>ud.getResultAsync()),"waitFor1SToken",fl());return e(),t}():At();a=null==e?void 0:e.accessToken}Object.assign(o,Dt(a))}if(s.SendUserIdInHeader&&Object.assign(o,function(){var e;const t={},n=document.head.hasAttribute("data-client-settings")?document.head:window.document.getElementsByClassName("peregrine-widget-settings")[0],r=n&&n.getAttribute("data-client-settings"),i=r?null===(e=JSON.parse(r))||void 0===e?void 0:e.fd_muid:void 0;return i&&(t.MUID=`m-${i}`),t}()),!v()){var l;const{oneServiceHeaders:e,cookie:t,referer:n,clientData:r,userAgent:i}=P();e&&Object.assign(o,e),r&&(o["X-Client-Data"]=r),t&&(o.Cookie=t),n&&(o.Referer=n),i&&(o["User-Agent"]=i);const a=null===(l=Su().ClientSettings)||void 0===l||null===(l=l.detection)||void 0===l?void 0:l.ip;a&&(o["X-FD-ClientIP"]=a,o["X-MSEdge-ClientIP"]=a)}return o}function r(e,t){return pi.isNonNullObject(e)&&pi.isNonNullObject(e.sitePage)&&ni(e.sitePage.page_product)&&ni(e.sitePage.page_type)?e.sitePage.page_product+"-"+e.sitePage.page_type+(t?"-"+t:""):t}e.serviceRequestOnComplete=async function(e,t){try{const n=await e();return t(),n}catch(e){throw t(),e}},e.getOneServiceParamsWithoutAuth=t,e.getOneServiceNonDynamicParamsWithoutAuth=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=Eu(),i=[{key:"apikey",value:n.OneServiceApiKey},{key:"ocid",value:t?r(n.TrackInfo,e):e},{key:n.OneServiceContentMarketQspKey,value:n.CurrentMarket}];return Lu()&&i.push({key:"stn",value:"aad"}),i},e.getOneServiceParamsWithAuth=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return Eu(),[...t(e,n,r,i,o)]},e.getOneServiceHeaders=n,e.getOneServiceFeedCallHeaders=async function(e,t,r){const i=await n(e,null,t,r),o=Eu(),a=o.ActivityId;return o.SendFeedCallActivityIdInHeader&&a&&(i[te.activityId]=a),i},e.getLocationParams=function(e,t){const n=Eu(),r=e||n.Latitude,i=t||n.Longitude;return r&&i?{key:"location",value:`${r}|${i}`}:null},e.getOneServiceOCID=r,e.getBaseRequestData=async function(t,n){return{headers:await e.getOneServiceHeaders(Lu(),n),method:t}},e.getCommonParams=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Su().UserIsSignedIn?this.getOneServiceParamsWithAuth(Eu().UserId,e,t):this.getOneServiceParamsWithoutAuth(Eu().UserId,e,t)},e.getCommonParams2=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return ju().getSignInState()===ar.SignedIn?this.getOneServiceParamsWithAuth(Eu().UserId,e,t,n):this.getOneServiceParamsWithoutAuth(Eu().UserId,e,t,n)},e.urlContainsOcidParam=function(e){if(!e)return!1;const t=e.split("?");if(t.length<2)return!1;const n=t[1].split("#")[0];return!!new de(n).get("ocid")},e.removeOcidFromUrl=function(e){if(!e)return e;const t=e.split("?");if(t.length<2)return e;const n=t[1].split("#")[0],r=new de(n);if(r.get("ocid")){r.delete("ocid");let t=e.replace(n,r.toString());return"?"===t.charAt(t.length-1)&&(t=t.substring(0,t.length-1)),t}return e},e.removeOcidFromRiverCardProviderResponse=function(t){t&&t.cardMetadata&&t.cardMetadata.length&&t.cardMetadata.forEach((t=>{t.cardContent&&t.cardContent.destinationUrl?t.cardContent.destinationUrl=e.removeOcidFromUrl(t.cardContent.destinationUrl):t.subItems&&t.subItems.length&&t.subItems.forEach((t=>{t.cardContent&&t.cardContent.destinationUrl&&(t.cardContent.destinationUrl=e.removeOcidFromUrl(t.cardContent.destinationUrl))})),t.metadata&&t.metadata.relatedCards&&t.metadata.relatedCards.forEach((t=>{t.url=e.removeOcidFromUrl(t.url)}))}))},e.removeOcidFromWindowsOneServiceResponse=function(t){t&&t.cards&&t.cards.forEach((t=>{t.subCards.forEach((t=>{t.url?t.url=e.removeOcidFromUrl(t.url):t.subCards&&t.subCards.forEach((t=>{t.url&&(t.url=e.removeOcidFromUrl(t.url))}))}))}))};const i=Oe((async()=>{if(!(v()&&window&&window.ShellFeedsApp&&window.ShellFeedsApp.getQueryHeadersAsync))return;const e=await Promise.race([window.ShellFeedsApp.getQueryHeadersAsync(),Uu(3e3).then((()=>null))]),t=e&&e[te.entAuthorization]||null;return t&&setTimeout((()=>i.cache.clear()),36e5),t}));e.getUniFeatTunHeader=async function(){const e={},t=Eu()||{};v()&&"edgeChromium"===t.AppType&&(e.EdgeInterestTier1Ids=me().getItem("userTopics"));const n=F.getPageMetadata(),r=null==n?void 0:n.combinedContract;var i,o,a,s,u,l,c;return r&&(e.LoginState=null===(i=r.user)||void 0===i?void 0:i.loginState,e.Product=null===(o=r.page)||void 0===o?void 0:o.product,e.PageName=null===(a=r.page)||void 0===a?void 0:a.name,e.PageType=null===(s=r.page)||void 0===s?void 0:s.type,e.OCID=null===(u=r.page)||void 0===u?void 0:u.ocid,e.ViewPortWidth=null===(l=r.browser)||void 0===l?void 0:l.width,e.ViewPortHeight=null===(c=r.browser)||void 0===c?void 0:c.height),function(e){let t="";return Object.keys(e).forEach((n=>{t+=`${n}:${Array.isArray(e[n])?e[n].join(","):e[n]};`})),t}(e)},e._reset=function(){i.cache.clear()},e.addTelemetryTracingQueryParam=function(e){if(ku&&ku.CurrentFlightSet&&ku.CurrentFlightSet.has(Xp)){const t=Jp.getTraceInstance(),n="00-"+t.getTraceId(!0)+"-"+t.getSpanId(!0)+"-00";e.searchParams.set(Zp,n)}}}(eh||(eh={}));const rh={"mr-in":"r6dwoq","es-xl":"r6dwrs","ar-eg":"r6dwo2","pl-pl":"r6dwpf","tr-tr":"r6dwoe","nl-nl":"r6dwnt","cs-cz":"r6dwok","fr-fr":"r6dwov","en-ie":"r6dwo7","de-de":"r6dwo8","es-cl":"r6dwoz","fr-be":"r6dwny","nb-no":"r6dwot","fi-fi":"r6dwoa","el-gr":"r6dwnv","nl-be":"r6dwny","en-au":"r6dwnu","en-sa":"r6dwpd","th-th":"r6dwnw","en-sg":"r6dwoy","en-nz":"r6dwos","en-us":"r6dwrs","de-at":"r6dwpg","hu-hu":"r6dwok","es-mx":"r6dwon","en-za":"r6dwof","da-dk":"r6dwo4","he-il":"r6dwp7","it-it":"r6dwoo","fr-ch":"r6dwp6","fr-ca":"r6dwpb","es-es":"r6dwnm","es-pe":"r6dwrs","es-co":"r6dwrs","ar-sa":"r6dwpd","id-id":"r6dwod","zh-cn":"r6dwp2","hi-in":"r6dwoq","zh-tw":"r6dwp8","ru-ru":"r6dwnp","ru-xl":"r6dwnp","ja-jp":"r6dwpa","pt-pt":"r6dwoi","en-ae":"r6dwns","pt-br":"r6dwnn","en-gb":"r6dwok","vi-vn":"r6dwp3","es-ve":"r6dwrs","bn-in":"r6dwoq","en-ca":"r6dwpb","zh-hk":"r6dwob","es-us":"r6dwrs","ar-xl":"r6dwpd","en-ph":"r6dwow","de-ch":"r6dwp6","en-xl":"r6dwoq","es-ar":"r6dwo1","ar-ae":"r6dwns","en-my":"r6dwog","sv-se":"r6dwp4","ko-kr":"r6dwoh","en-in":"r6dwoq","te-in":"r6dwoq"};var ih;function oh(e,t){return oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oh(e,t)}function ah(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,oh(e,t)}!function(e){e.AdminPortalData="AdminPortalData",e.AdService="AdService",e.AdsManager="AdsManager",e.BackgroundData="BackgroundData",e.BingAdsManager="BingAdsManager",e.BingAdsService="BingAdsService",e.BingImageData="BingImageData",e.CasualGamesData="CasualGamesData",e.CategoryData="CategoryData",e.ChannelData="ChannelData",e.StoryData="StoryData",e.ChromiumPageSettings="ChromiumPageSettings",e.CoachmarkData="CoachmarkData",e.ConditionalBannerData="ConditionalBannerData",e.DailyBriefServiceClient="DailyBriefServiceClient",e.DisplayAdsManager="DisplayAdsManager",e.Esports="Esports",e.ExperienceLoadedData="ExperienceLoadedData",e.ExperienceLoadedDataConnector="ExperienceLoadedDataConnector",e.ExperienceTrackerCasualGamesLandingData="ExperienceTrackerCasualGamesLandingData",e.ExperienceTrackerChannelData="ExperienceTrackerChannelData",e.ExperienceTrackerCommunityData="ExperienceTrackerCommunityData",e.ExperienceTrackerContentToolsData="ExperienceTrackerContentToolsData",e.ExperienceTrackerData="ExperienceTrackerData",e.ExperienceTrackerEdgeData="ExperienceTrackerEdgeData",e.ExperienceTrackerEdgeNextData="ExperienceTrackerEdgeNextData",e.ExperienceTrackerFinanceData="ExperienceTrackerFinanceData",e.ExperienceTrackerFirstPartyData="ExperienceTrackerFirstPartyData",e.ExperienceTrackerGamingFeedData="ExperienceTrackerGamingFeedData",e.ExperienceTrackerHomePageData="ExperienceTrackerHomePageData",e.ExperienceTrackerHubData="ExperienceTrackerHubData",e.ExperienceTrackerMicrosoftNewsData="ExperienceTrackerMicrosoftNewsData",e.ExperienceTrackerMMXData="ExperienceTrackerMMXData",e.ExperienceTrackerEdgeMobileData="ExperienceTrackerEdgeMobileData",e.ExperienceTrackerPrismData="ExperienceTrackerPrismData",e.ExperienceTrackerQnaData="ExperienceTrackerQnaData",e.ExperienceTrackerRecipesData="ExperienceTrackerRecipesData",e.ExperienceTrackerWidgets="ExperienceTrackerWidgets",e.ExperienceTrackerShoppingData="ExperienceTrackerShoppingData",e.ExperienceTrackerSportsData="ExperienceTrackerSportsData",e.ExperienceTrackerSuperAppData="ExperienceTrackerSuperAppData",e.ExperienceTrackerTrafficData="ExperienceTrackerTrafficData",e.ExperienceTrackerTravelData="ExperienceTrackerTravelData",e.ExperienceTrackerHealthData="ExperienceTrackerHealthData",e.ExperienceTrackerUgcData="ExperienceTrackerUgcData",e.ExperienceTrackerViewsData="ExperienceTrackerViewsData",e.ExperienceTrackerWeatherData="ExperienceTrackerWeatherData",e.ExperienceTrackerWeatherMobileData="ExperienceTrackerWeatherMobileData",e.ExperienceTrackerWindowsNewsAndInterestsData="ExperienceTrackerWindowsNewsAndInterestsData",e.ExperienceTrackerWindowsData="ExperienceTrackerWindowsData",e.ExperienceTrackerSuperWindowsData="ExperienceTrackerSuperWindowsData",e.ExperienceTrackerWindowsShellData="ExperienceTrackerWindowsShellData",e.ExperienceTrackerWindowsShellV2Data="ExperienceTrackerWindowsShellV2Data",e.ExperienceTrackerWindowsWidgetsData="ExperienceTrackerWindowsWidgetsData",e.FeedbackData="FeedbackData",e.GamingChannelData="GamingChannelData",e.HubPageSettings="HubPageSettings",e.IrisData="IrisData",e.LayoutPreferenceData="LayoutPreferenceData",e.LocationFeed="LocationFeed",e.MarketSelector="MarketSelector",e.MilestoneData="MilestoneData",e.MsccCookieBannerData="MsccCookieBannerData",e.MsNewsPageSettings="MsNewsPageSettings",e.NavigationData="NavigationData",e.NurturingPlacementManager="NurturingPlacementManager",e.OfficeSharedData="OfficeSharedData",e.OneTrustCookieConsentData="OneTrustCookieConsentData",e.PageClickTrackerData="PageClickTrackerData",e.PageLayout="PageLayout",e.PageSettingsData="PageSettingsData",e.PlacementManager="PlacementManager",e.PollsService="PollsService",e.PoweredByData="PoweredByData",e.Preload="Preload",e.QnaFeedService="QnaFeedService",e.RewardsData="RewardsData",e.RewardsCoachmarkData="RewardsCoachmarkData",e.SearchHistoryEdgenextData="SearchHistoryEdgenextData",e.SharedState="SharedState",e.SharedTimestampUtil="SharedTimestampUtil",e.SharedStringsUtil="SharedStringsUtil",e.SignInData="SignInData",e.SocialEditorData="SocialEditorData",e.SocialPostData="SocialPostData",e.SportsAroundTheLeagueData="SportsAroundTheLeagueData",e.SportsData="SportsData",e.SportsDataUtils="SportsDataUtils",e.SportsGameSummaryData="SportsGameSummaryData",e.SportsInfoSharedState="SportsInfoSharedState",e.SportsOlympicData="SportsOlympicData",e.SportsPersonalizationData="SportsPersonalizationData",e.SportsPreviousMatchupsData="SportsPreviousMatchupsData",e.SportsWorldCupData="SportsWorldCupData",e.SuperComponentData="SuperComponentData",e.SuperMobileComponentData="SuperMobileComponentData",e.Telemetry="Telemetry",e.ShellNewTabData="ShellNewTabData",e.SmartListSharedData="SmartListSharedData",e.TelemetryData="TelemetryData",e.TelemetryDataEdgeChromium="TelemetryDataEdgeChromium",e.TelemetryEdgeChromium="TelemetryEdgeChromium",e.TopicData="TopicData",e.TopSitesLayoutData="TopSitesLayoutData",e.TravelData="TravelData",e.VerticalPropertyData="VerticalPropertyData",e.VideoDataManager="VideoDataManager",e.ViewsNativeAd="ViewsNativeAdConnector",e.ViewsFullPage="ViewsFullPage",e.WeatherActivityWatchlistData="WeatherActivityWatchlistData",e.WeatherData="WeatherData",e.WeatherCardData="WeatherCardData",e.WeatherFeedbackData="WeatherFeedbackData",e.WeatherLocationMapData="WeatherLocationMapData",e.WeatherPageMeta="WeatherPageMeta",e.WeatherPersonaData="WeatherPersonaData",e.WeatherMapData="WeatherMapData",e.WeatherWinAppHeader="WeatherWinAppHeader",e.WeatherWinAppHeader1w="WeatherWinAppHeader1w",e.FinanceData="FinanceData",e.MoneyInfoSharedState="MoneyInfoSharedState",e.SocialData="SocialData",e.WindowsNewsAndInterestsData="WindowsNewsAndInterestsData",e.WindowsShellData="WindowsShellData",e.WindowsPageSettings="WindowsPageSettings",e.HyperLocalPromotionCardClosedKey="weather-map-hyper-local-promotion-card-closed"}(ih||(ih={}));var sh=n(89526),uh=n(2652),lh=n.n(uh),ch=lh().shape({trySubscribe:lh().func.isRequired,tryUnsubscribe:lh().func.isRequired,notifyNestedSubs:lh().func.isRequired,isSubscribed:lh().func.isRequired}),dh=lh().shape({subscribe:lh().func.isRequired,dispatch:lh().func.isRequired,getState:lh().func.isRequired});var fh=function(e){var t;void 0===e&&(e="store");var n=e+"Subscription",r=function(t){ah(i,t);var r=i.prototype;function i(n,r){var i;return(i=t.call(this,n,r)||this)[e]=n.store,i}return r.getChildContext=function(){var t;return(t={})[e]=this[e],t[n]=null,t},r.render=function(){return sh.Children.only(this.props.children)},i}(sh.Component);return r.propTypes={store:dh.isRequired,children:lh().element.isRequired},r.childContextTypes=((t={})[e]=dh.isRequired,t[n]=ch,t),r}();function ph(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hh(){return hh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hh.apply(this,arguments)}function gh(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var mh=n(14074),vh=n.n(mh),yh=n(77166),wh=n.n(yh),bh=n(338),Sh=null,kh={notify:function(){}};var Ch=function(){function e(e,t,n){this.store=e,this.parentSub=t,this.onStateChange=n,this.unsubscribe=null,this.listeners=kh}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){var e,t;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=(e=[],t=[],{clear:function(){t=Sh,e=Sh},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==Sh&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}))},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=kh)},e}(),Th=0,xh={};function Eh(){}function Ph(e,t){var n,r;void 0===t&&(t={});var i=t,o=i.getDisplayName,a=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,s=i.methodName,u=void 0===s?"connectAdvanced":s,l=i.renderCountProp,c=void 0===l?void 0:l,d=i.shouldHandleStateChanges,f=void 0===d||d,p=i.storeKey,h=void 0===p?"store":p,g=i.withRef,m=void 0!==g&&g,v=gh(i,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),y=h+"Subscription",w=Th++,b=((n={})[h]=dh,n[y]=ch,n),S=((r={})[y]=ch,r);return function(t){wh()((0,bh.isValidElementType)(t),"You must pass a component to the function returned by "+u+". Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",r=a(n),i=hh({},v,{getDisplayName:a,methodName:u,renderCountProp:c,shouldHandleStateChanges:f,storeKey:h,withRef:m,displayName:r,wrappedComponentName:n,WrappedComponent:t}),o=function(n){function o(e,t){var i;return(i=n.call(this,e,t)||this).version=w,i.state={},i.renderCount=0,i.store=e[h]||t[h],i.propsMode=Boolean(e[h]),i.setWrappedInstance=i.setWrappedInstance.bind(ph(ph(i))),wh()(i.store,'Could not find "'+h+'" in either the context or props of "'+r+'". Either wrap the root component in a <Provider>, or explicitly pass "'+h+'" as a prop to "'+r+'".'),i.initSelector(),i.initSubscription(),i}ah(o,n);var a=o.prototype;return a.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[y]=t||this.context[y],e},a.componentDidMount=function(){f&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.componentWillReceiveProps=function(e){this.selector.run(e)},a.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=Eh,this.store=null,this.selector.run=Eh,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return wh()(m,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+u+"() call."),this.wrappedInstance},a.setWrappedInstance=function(e){this.wrappedInstance=e},a.initSelector=function(){var t=e(this.store.dispatch,i);this.selector=function(e,t){var n={run:function(r){try{var i=e(t.getState(),r);(i!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=i,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(t,this.store),this.selector.run(this.props)},a.initSubscription=function(){if(f){var e=(this.propsMode?this.props:this.context)[y];this.subscription=new Ch(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(xh)):this.notifyNestedSubs()},a.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.addExtraProps=function(e){if(!(m||c||this.propsMode&&this.subscription))return e;var t=hh({},e);return m&&(t.ref=this.setWrappedInstance),c&&(t[c]=this.renderCount++),this.propsMode&&this.subscription&&(t[y]=this.subscription),t},a.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return(0,sh.createElement)(t,this.addExtraProps(e.props))},o}(sh.Component);return o.WrappedComponent=t,o.displayName=r,o.childContextTypes=S,o.contextTypes=b,o.propTypes=b,vh()(o,t)}}var _h=Object.prototype.hasOwnProperty;function Oh(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Ih(e,t){if(Oh(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!_h.call(t,n[i])||!Oh(e[n[i]],t[n[i]]))return!1;return!0}var Ah=n(35934),Dh=function(){return Math.random().toString(36).substring(7).split("").join(".")},Nh={INIT:"@@redux/INIT"+Dh(),REPLACE:"@@redux/REPLACE"+Dh(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Dh()}};function Mh(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Rh(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(Rh)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],s=a,u=!1;function l(){s===a&&(s=a.slice())}function c(){if(u)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function d(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(u)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return l(),s.push(e),function(){if(t){if(u)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,l();var n=s.indexOf(e);s.splice(n,1)}}}function f(e){if(!Mh(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,o=i(o,e)}finally{u=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return f({type:Nh.INIT}),(r={dispatch:f,subscribe:d,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,f({type:Nh.REPLACE})}})[Ah.default]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(c())}return n(),{unsubscribe:t(n)}}})[Ah.default]=function(){return this},e},r}function jh(e,t){return function(){return t(e.apply(this,arguments))}}function Lh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function Fh(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function Uh(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function $h(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=Uh(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=Uh(i),i=r(t,n)),i},r}}var Hh=[function(e){return"function"==typeof e?$h(e):void 0},function(e){return e?void 0:Fh((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?Fh((function(t){return function(e,t){if("function"==typeof e)return jh(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),r={},i=0;i<n.length;i++){var o=n[i],a=e[o];"function"==typeof a&&(r[o]=jh(a,t))}return r}(e,t)})):void 0}];var Wh=[function(e){return"function"==typeof e?$h(e):void 0},function(e){return e?void 0:Fh((function(){return{}}))}];function zh(e,t,n){return hh({},n,e,t)}var Bh=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var u=e(t,n,s);return a?i&&o(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return zh}}];function Vh(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function qh(e,t,n,r,i){var o,a,s,u,l,c=i.areStatesEqual,d=i.areOwnPropsEqual,f=i.areStatePropsEqual,p=!1;function h(i,p){var h,g,m=!d(p,a),v=!c(i,o);return o=i,a=p,m&&v?(s=e(o,a),t.dependsOnOwnProps&&(u=t(r,a)),l=n(s,u,a)):m?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(r,a)),l=n(s,u,a)):v?(h=e(o,a),g=!f(h,s),s=h,g&&(l=n(s,u,a)),l):l}return function(i,c){return p?h(i,c):(s=e(o=i,a=c),u=t(r,a),l=n(s,u,a),p=!0,l)}}function Qh(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=gh(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),u=i(e,o);return(o.pure?qh:Vh)(a,s,u,e,o)}function Gh(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function Kh(e,t){return e===t}var Jh,Yh,Xh,Zh,eg,tg,ng,rg,ig,og,ag,sg;Xh=(Yh=void 0===Jh?{}:Jh).connectHOC,Zh=void 0===Xh?Ph:Xh,eg=Yh.mapStateToPropsFactories,tg=void 0===eg?Wh:eg,ng=Yh.mapDispatchToPropsFactories,rg=void 0===ng?Hh:ng,ig=Yh.mergePropsFactories,og=void 0===ig?Bh:ig,ag=Yh.selectorFactory,sg=void 0===ag?Qh:ag;const ug="-start";class lg{constructor(){this.endMarkSuffix="-end","undefined"!=typeof window&&this.initialize(window.performance)}static getInstance(){return lg.instance||(lg.instance=new lg),lg.instance}initialize(e){this.performance=e}startMark(e){this.singleMark(e+ug)}endMark(e){this.singleMark(e+this.endMarkSuffix),this.measureStartEnd(e)}singleMark(e){const t=this.performance;t&&t.mark&&(t.mark(e),he.log(`[PerfMarker] ${e}`))}clearMark(e){const t=this.performance;t&&t.clearMarks&&t.clearMarks(e)}clearMeasures(e){const t=this.performance;t&&t.clearMeasures&&t.clearMeasures(e)}async measurePromise(e,t){this.startMark(e);const n=await t();return this.endMark(e),n}measurePerfMarker(e){if(!this.performance)return;const t={},n=this.performance.getEntriesByType("mark");if(!n)return t;for(let r=0;r<n.length;r++){let i=n[r].name;if(!i||null==n[r].startTime)continue;if(i=i.replace(/-(end|start)$/i,""),!i.startsWith(e))continue;const o=t[i]||new dg(i);o.processPerfEntry(n[r]),o.isValid&&(t[i]=o)}return t}measureStartEnd(e){const t=this.performance;if(t&&t.measure)try{t.measure(e,e+ug,e+this.endMarkSuffix)}catch(t){he.logError(`Error while attempting to measure start/end of '${e}'. Error: ${t}`)}}}const cg=lg.getInstance();class dg{constructor(e){this.duration=0,this.markerName=e}get isValid(){return null!=this.startTime}processPerfEntry(e){e.name.endsWith(ug)?(this.firstStartTime||(this.firstStartTime=e.startTime),this.startTime=e.startTime):null!=this.startTime&&(this.duration+=e.startTime-this.startTime,this.startTime=null)}}var fg;!function(e){e.connectorStateKey="_@STATE@_",e.renderAction="@@connector-view/RENDER",e.dataConnectorMergeInitAction="@@data-connector/MERGE-INIT"}(fg||(fg={}));var pg=function(e,t,n){"__proto__"==t&&Pc?Pc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},hg=Object.prototype.hasOwnProperty;var gg=function(e,t,n){var r=e[t];hg.call(e,t)&&vi(r,n)&&(void 0!==n||t in e)||pg(e,t,n)};var mg=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),i?pg(n,s,u):gg(n,s,u)}return n};var vg=function(e,t,n){if(!si(n))return!1;var r=typeof t;return!!("number"==r?ha(n)&&Ko(t,n.length):"string"==r&&t in n)&&vi(n[t],e)};var yg=function(e){return Dc((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&vg(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t}))},wg=Object.prototype.hasOwnProperty,bg=yg((function(e,t){if(la(t)||ha(t))mg(t,ga(t),e);else for(var n in t)wg.call(t,n)&&gg(e,n,t[n])}));var Sg=function(e,t,n,r){if(!si(e))return e;for(var i=-1,o=(t=ss(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var u=us(t[i]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=a){var c=s[u];void 0===(l=r?r(c,u,s):void 0)&&(l=si(c)?c:Ko(t[i+1])?[]:{})}gg(s,u,l),s=s[u]}return e};var kg=function(e,t,n){return null==e?e:Sg(e,t,n)};var Cg=function(e,t,n){(void 0!==n&&!vi(e[t],n)||void 0===n&&!(t in e))&&pg(e,t,n)},Tg="object"==typeof exports&&exports&&!exports.nodeType&&exports,xg=Tg&&"object"==typeof module&&module&&!module.nodeType&&module,Eg=xg&&xg.exports===Tg?zr.Buffer:void 0,Pg=Eg?Eg.allocUnsafe:void 0;var _g=function(e,t){if(t)return e.slice();var n=e.length,r=Pg?Pg(n):new e.constructor(n);return e.copy(r),r};var Og=function(e){var t=new e.constructor(e.byteLength);return new Co(t).set(new Co(e)),t};var Ig=function(e,t){var n=t?Og(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var Ag=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},Dg=Object.create,Ng=function(){function e(){}return function(t){if(!si(t))return{};if(Dg)return Dg(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Mg=Ng,Rg=ca(Object.getPrototypeOf,Object);var jg=function(e){return"function"!=typeof e.constructor||la(e)?{}:Mg(Rg(e))},Lg=Function.prototype,Fg=Object.prototype,Ug=Lg.toString,$g=Fg.hasOwnProperty,Hg=Ug.call(Object);var Wg=function(e){if(!ti(e)||"[object Object]"!=Zr(e))return!1;var t=Rg(e);if(null===t)return!0;var n=$g.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ug.call(n)==Hg};var zg=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var Bg=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},Vg=Object.prototype.hasOwnProperty;var qg=function(e){if(!si(e))return Bg(e);var t=la(e),n=[];for(var r in e)("constructor"!=r||!t&&Vg.call(e,r))&&n.push(r);return n};var Qg=function(e){return ha(e)?sa(e,!0):qg(e)};var Gg=function(e){return mg(e,Qg(e))};var Kg=function(e,t,n,r,i,o,a){var s=zg(e,n),u=zg(t,n),l=a.get(u);if(l)Cg(e,n,l);else{var c=o?o(s,u,n+"",e,t,a):void 0,d=void 0===c;if(d){var f=ei(u),p=!f&&Qo(u),h=!f&&!p&&oa(u);c=u,f||p||h?ei(s)?c=s:Nc(s)?c=Ag(s):p?(d=!1,c=_g(u,!0)):h?(d=!1,c=Ig(u,!0)):c=[]:Wg(u)||Wo(u)?(c=s,Wo(s)?c=Gg(s):si(s)&&!Ai(s)||(c=jg(u))):d=!1}d&&(a.set(u,c),i(c,u,r,o,a),a.delete(u)),Cg(e,n,c)}};var Jg=function e(t,n,r,i,o){t!==n&&Wl(n,(function(a,s){if(o||(o=new go),si(a))Kg(t,n,s,r,e,i,o);else{var u=i?i(zg(t,s),a,s+"",t,n,o):void 0;void 0===u&&(u=a),Cg(t,s,u)}}),Qg)},Yg=yg((function(e,t,n){Jg(e,t,n)}));const Xg=new Map;function Zg(e){return e+"."+fg.connectorStateKey}const em={registerInjection:function(e,t){let n=Xg.get(t);n||(n=new Set,Xg.set(t,n)),n.add(Zg(e))},initializeExperience:function(e,t,n){const r=Zg(t),i={...cs(e,r,void 0),[n]:cs(e,Zg(n),void 0)};kg(e,r,i)},reportStateChange:function(e,t,n){const r=Xg.get(t);if(r)for(const i of r){const r=cs(e,i,void 0);r&&kg(e,i,{...r,[t]:n})}}};var tm=n(85663);function nm(){return w.get("reducers__callbackMap",(()=>({})))}class rm{constructor(){this._connectorMap={},this._globalConnectors=[],this._allConnectors=[],this._getDataConnectorPendingPromises=new Map,this.reduce=this.reduce.bind(this)}connectors(){return this._allConnectors}connector(e){return this._connectorMap[e]}globalConnectors(){return this._globalConnectors}getDataConnector(e){const t=this.connector(e);if(t)return Promise.resolve(t);const n=this._getDataConnectorPendingPromises.get(e);if(n)return n.promise;let r,i;const o=new Promise(((e,t)=>{r=e,i=t}));return this._getDataConnectorPendingPromises.set(e,{promise:o,resolve:r,reject:i}),o}reduce(e,t){(0,tm.isNullOrUndefined)(e)&&(e={});let n={...e},r=!1;const i=t.key;if(void 0!==t&&void 0!==i){const o="string"==typeof t.type;if(o&&t.type.endsWith(fg.renderAction)){const t=i+"."+fg.connectorStateKey,o=bg({},cs(e,t,void 0));kg(n,t,o),r=!0}else if(o&&t.type.endsWith(fg.dataConnectorMergeInitAction)){const e=i,o=t.params[0];o&&(em.initializeExperience(n,e,o),r=!0)}else{const e=this._connectorMap[i];if(e){e.isGlobal&&(n=Yg({},n));const o=this.computeNextStateForConnector(n,i,t);r=o.stateChanged,r&&(em.reportStateChange(n,i,o.newState),v()&&function(e,t){const n=nm()[e];if(n&&t)for(const e of n)e(t)}(i,o.newState))}else if(!v())throw new Error("Reducer for: "+i+" must not return undefined.")}}else Object.keys(this._connectorMap).forEach((e=>{this.computeNextStateForConnector(n,e,t).stateChanged&&(r=!0)}));return r?n:e}addSubReducerForConnector(e){if(!e)throw new Error("The parameter 'connector' cannot be null.");const t=e.fullNamespace;if(this._connectorMap[t]=e,this._allConnectors.push(e),e.isGlobal&&this._globalConnectors.push(e),this._getDataConnectorPendingPromises.has(e.namespace)){const t=this._getDataConnectorPendingPromises.get(e.namespace);try{t.resolve(e)}catch(e){t.reject(e)}this._getDataConnectorPendingPromises.delete(e.namespace)}e.store.dispatch({key:t,type:"@@connector-view/INIT"})}computeNextStateForConnector(e,t,n){const r=this._connectorMap[t],i=t+"."+fg.connectorStateKey,o=cs(e,i,void 0),a=this.subReduce(r.reducer,o,n);if(void 0===a)throw new Error("Reducer for: "+t+" must not return undefined.");const s=a!==o;return s&&kg(e,i,a),{newState:a,stateChanged:s}}subReduce(e,t,n){const r=e.reduce(t,n);return r!==t?r:t}}var im=yg((function(e,t,n,r){Jg(e,t,n,r)}));const om=sh.createContext({}),{Provider:am,Consumer:sm}=om;var um=n(67514),lm=n(54716);const cm=(0,um.create)((0,lm.Z)()),dm=(new um.SheetsManager,new um.SheetsRegistry);function fm(e,t){return"string"==typeof e&&"string"==typeof t?e.concat(" ",t):"string"==typeof e?e:"string"==typeof t?t:void 0}class pm extends sh.Component{constructor(e,t){super(e,t),this.hasCreatedIntialStyleSheets=!1,this.index=pm.index-=1,this.designSystem=t}static set jss(e){pm.sheetManager.jss=e}static get jss(){return pm.sheetManager.jss}static subscribe(e){return pm.sheetManager.subscribe(e)}static unsubscribe(e){pm.sheetManager.unsubscribe(e)}render(){if(!this.hasCreatedIntialStyleSheets){if(this.styles){const e={meta:this.managedComponent.displayName||this.managedComponent.name,index:this.index};"function"==typeof pm.createGenerateClassName&&(e.generateClassName=pm.createGenerateClassName(this.designSystem)),pm.sheetManager.add(this.styles,this.designSystem,e)}this.props.jssStyleSheet&&this.createPropStyleSheet(),this.hasCreatedIntialStyleSheets=!0}return sh.createElement(this.managedComponent,this.managedComponentProps())}componentDidUpdate(e){const t=!!this.props.jssStyleSheet,n=!!e.jssStyleSheet;this.designSystem!==this.context?(this.styles&&(pm.sheetManager.update(this.styles,this.designSystem,this.context),this.forceUpdate()),n&&t?(e.jssStyleSheet===this.props.jssStyleSheet?pm.sheetManager.update(this.props.jssStyleSheet,this.designSystem,this.context):(pm.sheetManager.remove(e.jssStyleSheet,this.designSystem),this.createPropStyleSheet(this.context)),this.forceUpdate()):n&&!t?pm.sheetManager.remove(e.jssStyleSheet,this.designSystem):!n&&t&&(this.createPropStyleSheet(this.context),this.forceUpdate()),this.designSystem=this.context):n&&t&&e.jssStyleSheet!==this.props.jssStyleSheet&&(pm.sheetManager.remove(e.jssStyleSheet,this.designSystem),this.createPropStyleSheet(),this.forceUpdate()),n&&!t?pm.sheetManager.remove(e.jssStyleSheet,this.designSystem):!n&&t&&(this.createPropStyleSheet(),this.forceUpdate())}componentWillUnmount(){this.styles&&pm.sheetManager.remove(this.styles,this.designSystem),this.props.jssStyleSheet&&pm.sheetManager.remove(this.props.jssStyleSheet,this.designSystem),pm.index++,this.hasCreatedIntialStyleSheets=!1}primaryStyleSheet(){if(this.styles)return pm.sheetManager.get(this.styles,this.designSystem)}secondaryStyleSheet(){if(this.props.jssStyleSheet)return pm.sheetManager.get(this.props.jssStyleSheet,this.designSystem)}managedComponentProps(){const e=Object.assign(Object.assign({},this.props),{managedClasses:this.getManagedClassNames(),ref:this.props.innerRef});return delete e.jssStyleSheet,delete e.innerRef,e}getManagedClassNames(){let e={},t={};const n=this.primaryStyleSheet(),r=this.secondaryStyleSheet();return n&&n.hasOwnProperty("classes")&&(e=Object.assign({},n.classes)),r&&r.hasOwnProperty("classes")&&(t=Object.assign({},r.classes)),im(e,t,fm)}createPropStyleSheet(e=this.designSystem){const t=this.primaryStyleSheet(),n={meta:`${this.managedComponent.displayName||this.managedComponent.name} - jssStyleSheet`,index:t?t.options.index+1:this.index+1};"function"==typeof pm.createGenerateClassName&&(n.generateClassName=pm.createGenerateClassName(e)),pm.sheetManager.add(this.props.jssStyleSheet,e,n)}}pm.contextType=om,pm.index=-1e3,pm.sheetManager=new class{constructor(){this.jss=cm,this.registry=new WeakMap}add(e,t,n){const r=this.getTracker(e,t);if(Array.isArray(r))return void r[1]++;let i=this.registry.get(e);void 0===i&&(i=new WeakMap,this.registry.set(e,i)),this.registry.get(e).set(t,[this.createStyleSheet(e,t,n),1])}get(e,t){const n=this.getTracker(e,t);if(Array.isArray(n)&&n[0])return n[0]}update(e,t,n){const r=this.getTracker(e,t);if(r)if(1===r[1]&&!this.get(e,n)&&e&&"object"==typeof e){const i=r[0];i.update(n),this.notify("update",i),this.registry.get(e).delete(t),this.registry.get(e).set(n,r)}else this.remove(e,t),this.add(e,n,r[0].options)}remove(e,t){const n=this.getTracker(e,t);if(Array.isArray(n)&&(n[1]--,0===n[1])){const r=n[0];this.jss.removeStyleSheet(r),dm.remove(r),this.notify("remove",r),this.registry.get(e).delete(t)}}count(e,t){const n=this.getTracker(e,t);return Array.isArray(n)?n[1]:-1}clean(){this.registry=new WeakMap}getTracker(e,t){const n=this.registry.get(e);if(n instanceof WeakMap){const e=n.get(t);if(Array.isArray(e))return e}}createStyleSheet(e,t,n={}){const r="function"==typeof e?e(t):e,i=this.jss.createStyleSheet(r,Object.assign({link:!0},n));return i.update(t).attach(),dm.add(i),this.notify("add",i),i}notify(e,t){Array.isArray(this.subscribers)&&this.subscribers.forEach((n=>n({type:e,sheet:t})))}subscribe(e){return Array.isArray(this.subscribers)||(this.subscribers=[]),-1===this.subscribers.indexOf(e)&&this.subscribers.push(e),()=>{this.unsubscribe(e)}}unsubscribe(e){if(Array.isArray(this.subscribers)){const t=this.subscribers.indexOf(e);-1!==t&&this.subscribers.splice(t,1)}}};var hm=n(73961);function gm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){gm(e,t,n[t])}))}return e}var vm=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n){var r=e(n),i=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o=r.getState,a=(r.subscribe,r.replaceReducer,mm({},function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(r,["getState","subscribe","replaceReducer"]),{getState:function(){return o.apply(void 0,arguments)},dispatch:function(){return i.apply(void 0,arguments)}})),s=t.map((function(e){return e(a)})).map((function(e){return"function"==typeof e?{dispatch:e}:e})),u=s.map((function(e){return e.getState})).filter((function(e){return e})),l=s.map((function(e){return e.dispatch})).filter((function(e){return e}));return o=Lh.apply(void 0,u)(r.getState),i=Lh.apply(void 0,l)(r.dispatch),mm({},r,{getState:o,dispatch:i})}}},ym=function(e){return!e.type||!0===e.globalAction||e.type.startsWith("@@redux/")},wm=function(e,t){return Object.keys(e).forEach((function(n){return t[n]=e[n]}))},bm=function(e,t){var n=function n(r){if(t(r)){var i=e(r);return wm(e,n),i}return{}};return wm(e,n),n},Sm="ROOT",km="NAMESPACE_ROOT",Cm="CHILD",Tm=function(e){return e.subspaceTypes&&e.subspaceTypes.indexOf(Cm)>=0},xm=function(e,t){return vm((n=function(n){return{getState:function(t){return function(){return e(t(),n.rootStore.getState())}},dispatch:function(e){return function(n){return e(function(e){return function(t){return e&&!ym(t)?mm({},t,{type:e+"/"+t.type}):t}}(t)(n))}}}},bm(n,Tm)));var n},Em=function(e){return function(t){return mm({},e(t),{rootStore:t.rootStore||t})}},Pm=function(e){return function(t,n,r){return!e||ym(t)?n(t):function(e,t){return e&&e.type&&0===e.type.indexOf(t+"/")}(t,e)?n(mm({},t,{type:t.type.substring(e.length+1)})):r}},_m={enhancer:function(e){return e}},Om=function e(t,n){return void 0!==n?n(e)(t):t},Im=function(e,t,n){var r=Lh(xm(e,t),function(e){return function(t){return function(n){var r=t(n),i=n.namespace||"";return mm({},r,{namespace:e?i?i+"/"+e:e:i})}}}(t),function(e,t){return function(n){return function(r){var i=n(r),o=[];return e?(o.push(Sm),o.push(km)):t?(o.push(km),o.push(Cm)):o.push(Cm),mm({},i,{subspaceTypes:o})}}}(n,t),function(e){return function(t){return function(n){return mm({},t(n),{processAction:Pm(e)})}}}(t),Em);return function(e){return Om(e,Lh(function(e){var t=(void 0===e?_m:e).enhancer,n=void 0===t?_m.enhancer:t;return"function"!=typeof n?_m.enhancer:n}(e.subspaceOptions),r))}},Am=function(e,t){return Im(void 0,void 0,!0)(mm({},e,{subspaceOptions:t}))},Dm=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments);return n.subspaceOptions&&"function"==typeof n.subspaceOptions.enhancer?Am(n,{enhancer:Lh(vm.apply(void 0,t),n.subspaceOptions.enhancer)}):Am(n,{enhancer:vm.apply(void 0,t)})}}};const Nm="undefined"!=typeof window?window.location.href:"",Mm="rcqsp";let Rm;const jm=()=>!("undefined"==typeof window||!window);function Lm(){const e=function(){if(Rm)return Rm;const e=Me();if(!e)return null;let t;const n=e.getItem(Fm);try{t=n&&JSON.parse(n)}catch(e){return null}if(!(t&&t.keyn&&t.expn&&t.frcn&&t.jssn))return null;const r=e.getItem(t.expn);if(!r)return null;const i=parseInt(r);if(!i)return null;if((new Date).getTime()>=i)return null;const o=e.getItem(t.keyn);if(!o)return null;try{Rm=JSON.parse(o)}catch(e){return null}return Rm&&Rm.dom&&Rm.batch_css||(Rm=null),Rm}();if(!e||!e.state)return null;let t;try{t=JSON.parse(e.state,Um)}catch(e){}return t}const Fm=`keys_${"undefined"!=typeof window?function(e){const t=e||function(){if(!v())return null;const e=Me();if(!e)return null;const t=e.getItem(Mm);return t?t.split(","):null}();if(!t||!t.length)return Nm;const n=new URLSearchParams(location.search);if(!n)return Nm;const r=[];n.forEach(((e,n)=>{t.includes(n)||r.push({key:n,value:e})}));const i=r.map((e=>e.key+"="+e.value)).join("&");return(Nm||"").split("?")[0]+(i?"?"+i:"")}():""}`;function Um(e,t){return"object"==typeof t&&null!==t&&"Map"===t.dataType?new Map(t.value):t}const $m={};let Hm=!1;const Wm=[];let zm=new Map,Bm=new Map;var Vm;function qm(e){if(!e)return;const t=JSON.stringify(e);let n=zm.get(t);if(!n){const r=e.name||"unknown",i=Bm.get(r)+1||1,o={};n=(e,t)=>{const n=e.key;o[n]?o[n]++:o[n]=1;const a=`DS-${r}${i}-${o[n]}`;return function(e,t){!Hm&&jm()&&window.renderCacheEnabled&&($m[e]?$m[e].push(t):$m[e]=[t])}(n,a),`${n}-${a}`},zm.set(t,n),Bm.set(r,i)}return n}Vm=()=>{zm=new Map,Bm=new Map},Wm.push(Vm);var Qm=n(80179),Gm=n(41116);class Km{constructor(e){let t;const n=[];if(v()&&void 0!==he&&he&&he.isDebug()){t=(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({trace:!0,traceLimit:25})||Lh)(Dm(...n))}else t=Dm(...n);this._rootReducer=new rm,e=e||v()&&window.needsHydrate&&Lm()||{},v()&&(window.hasPreHydrateState=!(!e||0===Object.keys(e).length)),this._store=Rh(this.rootReducer.reduce,e,t)}static resetPageBaseInstance(e){this._instance=new Km(e)}get store(){return this._store}get rootReducer(){return this._rootReducer}static getInstance(e){return this._instance||(this._instance=new this(e))}start(){this.rootReducer.connectors().forEach((e=>e.onApplicationStart()))}renderRootElement(e,t,n,r,i){!0!==r&&this.updateJssManagerInstance();const o=sh.createElement(fh,{store:this._store},e),a=en();i?(a.isRenderCachePresent=0,cg.startMark("SSR.Hydrate"),hm.hydrate(o,t,n),cg.endMark("SSR.Hydrate"),window.needsHydrate=!1):window.needsHydrate?(hm.hydrate(o,t),a.isRenderCachePresent=1,window.needsHydrate=!1):(cg.startMark("CSR.Render"),a.isRenderCachePresent=0,hm.render(o,t),cg.endMark("CSR.Render"))}renderWidget(e,t){const n=sh.createElement(fh,{store:this._store},e);hm.render(n,t)}updateJssManagerInstance(e){const t=(0,um.create)({plugins:[(0,Gm.default)(),(0,Qm.default)()]});pm.createGenerateClassName=e||qm,pm.jss=t}}var Jm;function Ym(){return Km.getInstance().rootReducer.connector(ih.MilestoneData)}class Xm{static get defaultOcid(){return w.get(this.defaultOcidKey,(()=>"finance-utils-peregrine"))}static set defaultOcid(e){w.set(this.defaultOcidKey,e)}static get milestoneDataConnector(){return w.get(this.milestoneDataConnectorKey,(()=>null))}static set milestoneDataConnector(e){w.set(this.milestoneDataConnectorKey,e)}static get cryptocurrencyIDRegex(){return w.get(this.cryptocurrencyIDRegexKey,(()=>/^c[1-9a-z]{4}$/))}static set cryptocurrencyIDRegex(e){w.set(this.cryptocurrencyIDRegexKey,e)}static getMarketExchangeId(){const e=Pu.CurrentMarket;return rh[e]||"r6dwop"}static getMarketOpenCloseStatus(e,t){if(null==e||!pi.arrayHasData(e.tradingDays))return null;const n=t.getTime();let r=null;for(const t of e.tradingDays){const e=t.tradingSessions.find((e=>e.marketStatus===nr.Regular));if(!(n<nh(e.start))){if(n<=nh(e.end))return{open:!0,nextChangeTime:th(e.end)};break}r=e}return r?{open:!1,nextChangeTime:th(r.start)}:null}static getMarketTradingStatus(e,t){if(null==e||!pi.arrayHasData(e.tradingDays))return null;const n=t.getTime(),r=[],i=[];let o;const a=e.tradingDays.sort(((e,t)=>nh(e.start)-nh(t.start)));for(const e of a){if(r.length>9)break;for(const t of e.tradingSessions){const e=ev(t,n);e>0&&i.push(t),0==e&&(o=t),e<0&&r.push(t)}}const s=r.sort(((e,t)=>nh(e.start)-nh(t.start))),u=i.sort(((e,t)=>nh(e.start)-nh(t.start))),l=new Zm;return l.currentSession=o,l.futureSessions=s,l.historySessions=u,l.countryCode=e.countryCode,{currentSession:l.currentSession,futureSessions:l.futureSessions,historySessions:l.historySessions,countryCode:l.countryCode,nextChangeTime:l.nextChangeTime,lastCloseTime:l.lastCloseTime,open:l.open,timeZone:e.timeZone,utcOffset:e.utcOffset}}static isCryptocurrency(e){return e&&this.cryptocurrencyIDRegex.test(e)}static isAboveTheFoldVisuallyReady(){if(!this.getMilestoneConnector())return!1;const{aboveTheFoldVisuallyReady:e}=this.getMilestoneConnector().getCurrentState();return Boolean(e&&-1!==e.endTime)}static getMilestoneConnector(){return null===this.milestoneDataConnector&&(this.milestoneDataConnector=Ym()),this.milestoneDataConnector}static logVisuallyError(e,t,n){v()&&!this.isAboveTheFoldVisuallyReady()&&er(e,t,n)}static logVisuallyException(e,t,n,r){v()&&!this.isAboveTheFoldVisuallyReady()&&function(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const o=tr(t,n,r||Zn(e),i);o.pb.stack=e&&e.stack||void 0,F&&F.sendAppErrorEvent(o)}(e,t,n,r)}static async initOneServiceRequest(e){const t=await eh.getBaseRequestData(e,{skipDualAuthHeader:!0});return v()?_u(Pu.AuthCookieName)&&(t.credentials="include"):t.credentials="include",t}static async initFalconServiceRequest(e){const t=await this.initOneServiceRequest(e);return t.credentials="omit",t}static getOneServiceParams(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?eh.getOneServiceParamsWithAuth(Eu().UserId,Xm.defaultOcid,!1):eh.getOneServiceParamsWithoutAuth(null,Xm.defaultOcid,!1)}}(Jm=Xm).defaultOcidKey=Symbol("defaultOcid"),Jm.milestoneDataConnectorKey=Symbol("milestoneDataConnector"),Jm.cryptocurrencyIDRegexKey=Symbol("cryptocurrencyIDRegex");class Zm{get currentStatus(){return this.currentSession&&this.currentSession.marketStatus||nr.Closed}get open(){return this.currentSession&&this.currentSession.marketStatus===nr.Regular}get nextChangeTime(){if(this.open)return th(this.currentSession.end);{const e=this.futureSessions.filter((e=>e.marketStatus===nr.Regular));return e.length>0?th(e[0].start):null}}get lastCloseTime(){if(this.historySessions.length<=0)return null;if(!this.currentSession||this.currentSession&&this.currentSession.marketStatus!==nr.AfterHours){const e=this.historySessions.filter((e=>e.marketStatus===nr.AfterHours));if(e.length>0)return th(e[e.length-1].start);{const e=this.historySessions.filter((e=>e.marketStatus===nr.Regular));return e.length>0?th(e[e.length-1].end):null}}return th(this.currentSession.start)}}function ev(e,t){return t<nh(e.start)?-1:t>=nh(e.end)?1:0}function tv(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v()?window.navigator.userAgent:P().userAgent;return!!e&&(-1!==e.indexOf("Applebot")||-1!==e.indexOf("Googlebot")||-1!==e.indexOf("msnbot"))}const nv={shouldEnableSSR:(e,t,n,r,i)=>{const o={hasSsr:!1,isSSRRiver:!1};if("undefined"!=typeof window&&window.navigator.userAgent&&window.navigator.userAgent.includes("Applebot"))return o;if("true"===e.get("csronly"))return o;if(r.some((e=>e.startsWith("prg-fi-csr")||e.startsWith("prg-fi-csrrf"))))return o;switch(n){case"finance":case"financestockdetails":case"financecryptocurrencydetails":case"finance::cryptocurrencies":case"finance::portfolio":case"finance::markets":case"finance::FinanceTools::FinanceCurrencyConverter":case"finance::compare":case"finance::events":case"money::watchlist":return{hasSsr:!0,isSSRRiver:!1};case"finance::explorecenter":case"finance::discover":case"finance::chart":return tv()?{hasSsr:!0,isSSRRiver:!1}:o;default:return o}},shouldInsistSSRWhenHidden:(e,t,n)=>n===Ut.documentHidden};window.onErrorHandler=Cn,window.onerror=Tn,"undefined"!=typeof globalThis?globalThis.untrackedClickHandler=Zt:window.untrackedClickHandler=Zt;const rv=ce(),iv=function(e){return t=e&&e.queryparams,n=window.location.search,t=(t||"").substring(1),n=(n||"").substring(1),new de(t+"&"+n);var t,n}(rv),ov=function(e,t){const n=document.head.dataset.info;let r=((/f:\s*([^;]+)/i.exec(n)||{})[1]||"").toLowerCase().split(",");return r=function(e){const t=tn.length,n=[];return e&&e.length&&(e.forEach((e=>{const r=e&&e.trim();r&&r.length>=t&&r.substring(0,t).toLowerCase()===tn&&n.push(r.toLowerCase())})),n.sort()),n}(r),r}();function av(){const e=function(e){return e.locale&&e.locale.language&&e.locale.market?`${e.locale.language}-${e.locale.market}`.toLowerCase():void 0}(rv);(function(e,t,n,r,i,o){if(void 0===window.SSR){let a=!1;const{hasSsr:s,isSSRRiver:u}=e.shouldEnableSSR(t,n,r,i,o);if(s){a="true"===mn(rn,t);const i=wn(),o=sn();if(!o&&!i||a)bn(a,u);else{const t=o?Ut.documentHidden:Ut.hasPaused;cn(Lt.PageTimings.skipDueToHiddenReason,t),e.shouldInsistSSRWhenHidden&&e.shouldInsistSSRWhenHidden(n,r,t)?bn(a,u):(window.SSR=$t.SkipDueToHidden,window.RENDER=!0)}}else vn($t.SkipDueToCSROnly)}return!window.RENDER})(nv,iv,Ft.Finance,rv.pagetype,ov,e)&&function(e,t,n){const i=()=>"",o=()=>{let e=!1;return t.get(r.SkipAuth)&&(e=!0,$(r.SkipAuth,void 0)),e};try{const r=Sn(t);kn(t,e,n,window._ssrServiceEntryUrl,i,xn,r,{skipAuth:o})}catch(e){yn(e),Yt(`Exception occured on fetchSSRPage.\n${e.stack||e}`,34007,{})}}(rv,iv,ov)}window._clientSettings=rv,window.flights=ov,async function(){try{if(fn(Lt.PageTimings.inlineStart,!0),!window.RENDER)if(rv&&window._ssrServiceEntryUrl)window.SSR_Mode=window.SSR_Mode||Ht.DSSR,window.SSR_Mode===Ht.DSSR&&av();else{const e="Failed SSR inline script due to missing client settings or SSR service entry.";Yt(e,34007,{}),yn(new Error(e))}}catch(e){yn(e),Yt(`Exception occured on SSR inline script.\n${e.stack||e}`,34007,{})}}()}()}();