Files
neo 932ec3ac8f KPI cards: Bloomberg stock ticker style
- Redesign KPI cards to look like stock tickers
- Add ticker ID (e.g. ВЫРУЧК:KPI, AOV:KPI)
- Arrow up/down SVG indicators for change direction
- Mini trend-line (50px) inside each card
- Change color: green (#16a34a) for up, red (#e21d1d) for down
- Remove sparkline background area, keep only line
- Fix duplicate arrowUp variable naming (bArrowUp/bArrowDown/bArrowNeutral)
2026-06-21 18:14:08 +05:00

2 lines
227 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):((e="undefined"!=typeof globalThis?globalThis:e||self).__bloomberg__=e.__bloomberg__||{},e.__bloomberg__._abbaClientClass=t())}(this,(function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}function r(e){var t={exports:{}};return e(t,t.exports),t.exports}var n,i,o=function(e){return e&&e.Math==Math&&e},a=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof e&&e)||function(){return this}()||Function("return this")(),u=function(e){try{return!!e()}catch(e){return!0}},s=!u((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),c=s,f=Function.prototype,l=f.apply,p=f.call,h="object"==typeof Reflect&&Reflect.apply||(c?p.bind(l):function(){return p.apply(l,arguments)}),d=Function.prototype,v=d.call,g=c&&d.bind.bind(v,v),b=c?g:function(e){return function(){return v.apply(e,arguments)}},m=b,y=m({}.toString),w=m("".slice),E=function(e){return w(y(e),8,-1)},x="object"==typeof document&&document.all,k={all:x,IS_HTMLDDA:void 0===x&&void 0!==x},_=k.all,S=k.IS_HTMLDDA?function(e){return"function"==typeof e||e===_}:function(e){return"function"==typeof e},I=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),A=Function.prototype.call,O=c?A.bind(A):function(){return A.apply(A,arguments)},T={}.propertyIsEnumerable,P=Object.getOwnPropertyDescriptor,R={f:P&&!T.call({1:2},1)?function(e){var t=P(this,e);return!!t&&t.enumerable}:T},C=Object,L=m("".split),j=u((function(){return!C("z").propertyIsEnumerable(0)}))?function(e){return"String"==E(e)?L(e,""):C(e)}:C,N=function(e){return null==e},D=TypeError,U=j,M=function(e){if(N(e))throw D("Can't call method on "+e);return e},F=S,B=k.all,z=k.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:F(e)||e===B}:function(e){return"object"==typeof e?null!==e:F(e)},$={},G=a,V=function(e){return F(e)?e:void 0},H=m({}.isPrototypeOf),q="undefined"!=typeof navigator&&String(navigator.userAgent)||"",W=G.process,Y=G.Deno,J=W&&W.versions||Y&&Y.version,X=J&&J.v8;X&&(i=(n=X.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&q&&(!(n=q.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=q.match(/Chrome\/(\d+)/))&&(i=+n[1]);var K=i,Q=!!Object.getOwnPropertySymbols&&!u((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&K&&K<41})),Z=Q,ee=Z&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,te=function(e,t){return arguments.length<2?V($[e])||V(G[e]):$[e]&&$[e][t]||G[e]&&G[e][t]},re=H,ne=ee,ie=Object,oe=ne?function(e){return"symbol"==typeof e}:function(e){var t=te("Symbol");return F(t)&&re(t.prototype,ie(e))},ae=String,ue=function(e){try{return ae(e)}catch(e){return"Object"}},se=TypeError,ce=function(e){if(F(e))return e;throw se(ue(e)+" is not a function")},fe=O,le=z,pe=TypeError,he=Object.defineProperty,de=function(e,t){try{he(G,e,{value:t,configurable:!0,writable:!0})}catch(r){G[e]=t}return t},ve="__core-js_shared__",ge=G[ve]||de(ve,{}),be=!0,me=ge,ye=r((function(e){(e.exports=function(e,t){return me[e]||(me[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.1",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),we=Object,Ee=function(e){return we(M(e))},xe=m({}.hasOwnProperty),ke=Object.hasOwn||function(e,t){return xe(Ee(e),t)},_e=0,Se=Math.random(),Ie=m(1..toString),Ae=ye,Oe=ke,Te=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ie(++_e+Se,36)},Pe=G.Symbol,Re=Ae("wks"),Ce=ne?Pe.for||Pe:Pe&&Pe.withoutSetter||Te,Le=oe,je=function(e,t){var r=e[t];return N(r)?void 0:ce(r)},Ne=function(e,t){var r,n;if("string"===t&&F(r=e.toString)&&!le(n=fe(r,e)))return n;if(F(r=e.valueOf)&&!le(n=fe(r,e)))return n;if("string"!==t&&F(r=e.toString)&&!le(n=fe(r,e)))return n;throw pe("Can't convert object to primitive value")},De=function(e){return Oe(Re,e)||(Re[e]=Z&&Oe(Pe,e)?Pe[e]:Ce("Symbol."+e)),Re[e]},Ue=TypeError,Me=De("toPrimitive"),Fe=function(e,t){if(!le(e)||Le(e))return e;var r,n=je(e,Me);if(n){if(void 0===t&&(t="default"),r=fe(n,e,t),!le(r)||Le(r))return r;throw Ue("Can't convert object to primitive value")}return void 0===t&&(t="number"),Ne(e,t)},Be=G.document,ze=le(Be)&&le(Be.createElement),$e=I,Ge=function(e){return ze?Be.createElement(e):{}},Ve=!$e&&!u((function(){return 7!=Object.defineProperty(Ge("div"),"a",{get:function(){return 7}}).a})),He=R,qe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},We=function(e){return U(M(e))},Ye=function(e){var t=Fe(e,"string");return Le(t)?t:t+""},Je=Ve,Xe=Object.getOwnPropertyDescriptor,Ke={f:$e?Xe:function(e,t){if(e=We(e),t=Ye(t),Je)try{return Xe(e,t)}catch(e){}if(Oe(e,t))return qe(!fe(He.f,e,t),e[t])}},Qe=/#|\.prototype\./,Ze=function(e,t){var r=tt[et(e)];return r==nt||r!=rt&&(F(t)?u(t):!!t)},et=Ze.normalize=function(e){return String(e).replace(Qe,".").toLowerCase()},tt=Ze.data={},rt=Ze.NATIVE="N",nt=Ze.POLYFILL="P",it=Ze,ot=function(e){if("Function"===E(e))return m(e)},at=ot(ot.bind),ut=$e&&u((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),st=String,ct=TypeError,ft=ut,lt=function(e){if(le(e))return e;throw ct(st(e)+" is not an object")},pt=TypeError,ht=Object.defineProperty,dt=Object.getOwnPropertyDescriptor,vt="enumerable",gt="configurable",bt="writable",mt={f:$e?ft?function(e,t,r){if(lt(e),t=Ye(t),lt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&bt in r&&!r[bt]){var n=dt(e,t);n&&n[bt]&&(e[t]=r.value,r={configurable:gt in r?r[gt]:n[gt],enumerable:vt in r?r[vt]:n[vt],writable:!1})}return ht(e,t,r)}:ht:function(e,t,r){if(lt(e),t=Ye(t),lt(r),Je)try{return ht(e,t,r)}catch(e){}if("get"in r||"set"in r)throw pt("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},yt=h,wt=Ke,Et=it,xt=function(e,t){return ce(e),void 0===t?e:c?at(e,t):function(){return e.apply(t,arguments)}},kt=$e?function(e,t,r){return mt.f(e,t,qe(1,r))}:function(e,t,r){return e[t]=r,e},_t=wt.f,St=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return yt(e,this,arguments)};return t.prototype=e.prototype,t},It=Array.isArray||function(e){return"Array"==E(e)},At=function(e,t){var r,n,i,o,a,u,s,c,f,l=e.target,p=e.global,h=e.stat,d=e.proto,v=p?G:h?G[l]:(G[l]||{}).prototype,g=p?$:$[l]||kt($,l,{})[l],b=g.prototype;for(o in t)n=!(r=Et(p?o:l+(h?".":"#")+o,e.forced))&&v&&Oe(v,o),u=g[o],n&&(s=e.dontCallGetSet?(f=_t(v,o))&&f.value:v[o]),a=n&&s?s:t[o],n&&typeof u==typeof a||(c=e.bind&&n?xt(a,G):e.wrap&&n?St(a):d&&F(a)?ot(a):a,(e.sham||a&&a.sham||u&&u.sham)&&kt(c,"sham",!0),kt(g,o,c),d&&(Oe($,i=l+"Prototype")||kt($,i,{}),kt($[i],o,a),e.real&&b&&(r||!b[o])&&kt(b,o,a)))},Ot=It;At({target:"Array",stat:!0},{isArray:Ot});var Tt=$.Array.isArray;var Pt=Math.ceil,Rt=Math.floor,Ct=Math.trunc||function(e){var t=+e;return(t>0?Rt:Pt)(t)},Lt=function(e){var t=+e;return t!=t||0===t?0:Ct(t)},jt=Math.min,Nt=function(e){return e>0?jt(Lt(e),9007199254740991):0},Dt=TypeError,Ut={};Ut[De("toStringTag")]="z";var Mt="[object z]"===String(Ut),Ft=De("toStringTag"),Bt=Object,zt="Arguments"==E(function(){return arguments}()),$t=Mt?E:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Bt(e),Ft))?r:zt?E(t):"Object"==(n=E(t))&&F(t.callee)?"Arguments":n},Gt=m(Function.toString);F(me.inspectSource)||(me.inspectSource=function(e){return Gt(e)});var Vt=me.inspectSource,Ht=$t,qt=Vt,Wt=function(){},Yt=[],Jt=te("Reflect","construct"),Xt=/^\s*(?:class|function)\b/,Kt=m(Xt.exec),Qt=!Xt.exec(Wt),Zt=function(e){if(!F(e))return!1;try{return Jt(Wt,Yt,e),!0}catch(e){return!1}},er=function(e){if(!F(e))return!1;switch(Ht(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qt||!!Kt(Xt,qt(e))}catch(e){return!0}};er.sham=!0;var tr=!Jt||u((function(){var e;return Zt(Zt.call)||!Zt(Object)||!Zt((function(){e=!0}))||e}))?er:Zt,rr=tr,nr=De("species"),ir=Array,or=function(e){var t;return Ot(e)&&(t=e.constructor,(rr(t)&&(t===ir||Ot(t.prototype))||le(t)&&null===(t=t[nr]))&&(t=void 0)),void 0===t?ir:t},ar=De("species"),ur=function(e){return Nt(e.length)},sr=function(e){if(e>9007199254740991)throw Dt("Maximum allowed index exceeded");return e},cr=function(e,t,r){var n=Ye(t);n in e?mt.f(e,n,qe(0,r)):e[n]=r},fr=function(e,t){return new(or(e))(0===t?0:t)},lr=function(e){return K>=51||!u((function(){var t=[];return(t.constructor={})[ar]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},pr=De("isConcatSpreadable"),hr=K>=51||!u((function(){var e=[];return e[pr]=!1,e.concat()[0]!==e})),dr=function(e){if(!le(e))return!1;var t=e[pr];return void 0!==t?!!t:Ot(e)},vr=!hr||!lr("concat");At({target:"Array",proto:!0,arity:1,forced:vr},{concat:function(e){var t,r,n,i,o,a=Ee(this),u=fr(a,0),s=0;for(t=-1,n=arguments.length;t<n;t++)if(dr(o=-1===t?a:arguments[t]))for(i=ur(o),sr(s+i),r=0;r<i;r++,s++)r in o&&cr(u,s,o[r]);else sr(s+1),cr(u,s++,o);return u.length=s,u}});var gr,br=String,mr=Math.max,yr=Math.min,wr=function(e,t){var r=Lt(e);return r<0?mr(r+t,0):yr(r,t)},Er=function(e){return function(t,r,n){var i,o=We(t),a=ur(o),u=wr(n,a);if(e&&r!=r){for(;a>u;)if((i=o[u++])!=i)return!0}else for(;a>u;u++)if((e||u in o)&&o[u]===r)return e||u||0;return!e&&-1}},xr={includes:Er(!0),indexOf:Er(!1)},kr={},_r=xr.indexOf,Sr=m([].push),Ir=function(e,t){var r,n=We(e),i=0,o=[];for(r in n)!Oe(kr,r)&&Oe(n,r)&&Sr(o,r);for(;t.length>i;)Oe(n,r=t[i++])&&(~_r(o,r)||Sr(o,r));return o},Ar=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Or=Object.keys||function(e){return Ir(e,Ar)},Tr=$e&&!ft?Object.defineProperties:function(e,t){lt(e);for(var r,n=We(t),i=Or(t),o=i.length,a=0;o>a;)mt.f(e,r=i[a++],n[r]);return e},Pr={f:Tr},Rr=te("document","documentElement"),Cr=Ae("keys"),Lr=Pr,jr=Rr,Nr=function(e){return Cr[e]||(Cr[e]=Te(e))},Dr="prototype",Ur="script",Mr=Nr("IE_PROTO"),Fr=function(){},Br=function(e){return"<"+Ur+">"+e+"</"+Ur+">"},zr=function(e){e.write(Br("")),e.close();var t=e.parentWindow.Object;return e=null,t},$r=function(){try{gr=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;$r="undefined"!=typeof document?document.domain&&gr?zr(gr):(t=Ge("iframe"),r="java"+Ur+":",t.style.display="none",jr.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Br("document.F=Object")),e.close(),e.F):zr(gr);for(var n=Ar.length;n--;)delete $r[Dr][Ar[n]];return $r()};kr[Mr]=!0;var Gr,Vr,Hr,qr=Object.create||function(e,t){var r;return null!==e?(Fr[Dr]=lt(e),r=new Fr,Fr[Dr]=null,r[Mr]=e):r=$r(),void 0===t?r:Lr.f(r,t)},Wr=Ar.concat("length","prototype"),Yr={f:Object.getOwnPropertyNames||function(e){return Ir(e,Wr)}},Jr=Array,Xr=Math.max,Kr=Yr,Qr=function(e,t,r){for(var n=ur(e),i=wr(t,n),o=wr(void 0===r?n:r,n),a=Jr(Xr(o-i,0)),u=0;i<o;i++,u++)cr(a,u,e[i]);return a.length=u,a},Zr=Kr.f,en="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],tn={f:function(e){return en&&"Window"==E(e)?function(e){try{return Zr(e)}catch(e){return Qr(en)}}(e):Zr(We(e))}},rn={f:Object.getOwnPropertySymbols},nn={f:De},on=mt.f,an=function(e,t,r,n){return n&&n.enumerable?e[t]=r:kt(e,t,r),e},un=Mt?{}.toString:function(){return"[object "+Ht(this)+"]"},sn=mt.f,cn=De("toStringTag"),fn=G.WeakMap,ln=F(fn)&&/native code/.test(String(fn)),pn="Object already initialized",hn=G.TypeError,dn=G.WeakMap;if(ln||me.state){var vn=me.state||(me.state=new dn);vn.get=vn.get,vn.has=vn.has,vn.set=vn.set,Gr=function(e,t){if(vn.has(e))throw hn(pn);return t.facade=e,vn.set(e,t),t},Vr=function(e){return vn.get(e)||{}},Hr=function(e){return vn.has(e)}}else{var gn=Nr("state");kr[gn]=!0,Gr=function(e,t){if(Oe(e,gn))throw hn(pn);return t.facade=e,kt(e,gn,t),t},Vr=function(e){return Oe(e,gn)?e[gn]:{}},Hr=function(e){return Oe(e,gn)}}var bn={set:Gr,get:Vr,has:Hr,enforce:function(e){return Hr(e)?Vr(e):Gr(e,{})},getterFor:function(e){return function(t){var r;if(!le(t)||(r=Vr(t)).type!==e)throw hn("Incompatible receiver, "+e+" required");return r}}},mn=m([].push),yn=function(e){var t=1==e,r=2==e,n=3==e,i=4==e,o=6==e,a=7==e,u=5==e||o;return function(s,c,f,l){for(var p,h,d=Ee(s),v=U(d),g=xt(c,f),b=ur(v),m=0,y=l||fr,w=t?y(s,b):r||a?y(s,0):void 0;b>m;m++)if((u||m in v)&&(h=g(p=v[m],m,d),e))if(t)w[m]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return m;case 2:mn(w,p)}else switch(e){case 4:return!1;case 7:mn(w,p)}return o?-1:n||i?i:w}},wn={forEach:yn(0),map:yn(1),filter:yn(2),some:yn(3),every:yn(4),find:yn(5),findIndex:yn(6),filterReject:yn(7)},En=function(e){if("Symbol"===Ht(e))throw TypeError("Cannot convert a Symbol value to a string");return br(e)},xn=qr,kn=tn,_n=rn,Sn=function(e,t,r){return mt.f(e,t,r)},In=function(e){var t=$.Symbol||($.Symbol={});Oe(t,e)||on(t,e,{value:nn.f(e)})},An=function(){var e=te("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,n=De("toPrimitive");t&&!t[n]&&an(t,n,(function(e){return fe(r,this)}),{arity:1})},On=function(e,t,r,n){if(e){var i=r?e:e.prototype;Oe(i,cn)||sn(i,cn,{configurable:!0,value:t}),n&&!Mt&&kt(i,"toString",un)}},Tn=bn,Pn=wn,Rn=Pn.forEach,Cn=Nr("hidden"),Ln="Symbol",jn="prototype",Nn=Tn.set,Dn=Tn.getterFor(Ln),Un=Object[jn],Mn=G.Symbol,Fn=Mn&&Mn[jn],Bn=G.TypeError,zn=G.QObject,$n=wt.f,Gn=mt.f,Vn=kn.f,Hn=He.f,qn=m([].push),Wn=Ae("symbols"),Yn=Ae("op-symbols"),Jn=Ae("wks"),Xn=!zn||!zn[jn]||!zn[jn].findChild,Kn=$e&&u((function(){return 7!=xn(Gn({},"a",{get:function(){return Gn(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=$n(Un,t);n&&delete Un[t],Gn(e,t,r),n&&e!==Un&&Gn(Un,t,n)}:Gn,Qn=function(e,t){var r=Wn[e]=xn(Fn);return Nn(r,{type:Ln,tag:e,description:t}),$e||(r.description=t),r},Zn=function(e,t,r){e===Un&&Zn(Yn,t,r),lt(e);var n=Ye(t);return lt(r),Oe(Wn,n)?(r.enumerable?(Oe(e,Cn)&&e[Cn][n]&&(e[Cn][n]=!1),r=xn(r,{enumerable:qe(0,!1)})):(Oe(e,Cn)||Gn(e,Cn,qe(1,{})),e[Cn][n]=!0),Kn(e,n,r)):Gn(e,n,r)},ei=function(e,t){lt(e);var r=We(t),n=Or(r).concat(ii(r));return Rn(n,(function(t){$e&&!fe(ti,r,t)||Zn(e,t,r[t])})),e},ti=function(e){var t=Ye(e),r=fe(Hn,this,t);return!(this===Un&&Oe(Wn,t)&&!Oe(Yn,t))&&(!(r||!Oe(this,t)||!Oe(Wn,t)||Oe(this,Cn)&&this[Cn][t])||r)},ri=function(e,t){var r=We(e),n=Ye(t);if(r!==Un||!Oe(Wn,n)||Oe(Yn,n)){var i=$n(r,n);return!i||!Oe(Wn,n)||Oe(r,Cn)&&r[Cn][n]||(i.enumerable=!0),i}},ni=function(e){var t=Vn(We(e)),r=[];return Rn(t,(function(e){Oe(Wn,e)||Oe(kr,e)||qn(r,e)})),r},ii=function(e){var t=e===Un,r=Vn(t?Yn:We(e)),n=[];return Rn(r,(function(e){!Oe(Wn,e)||t&&!Oe(Un,e)||qn(n,Wn[e])})),n};Z||(Mn=function(){if(re(Fn,this))throw Bn("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?En(arguments[0]):void 0,t=Te(e),r=function(e){this===Un&&fe(r,Yn,e),Oe(this,Cn)&&Oe(this[Cn],t)&&(this[Cn][t]=!1),Kn(this,t,qe(1,e))};return $e&&Xn&&Kn(Un,t,{configurable:!0,set:r}),Qn(t,e)},Fn=Mn[jn],an(Fn,"toString",(function(){return Dn(this).tag})),an(Mn,"withoutSetter",(function(e){return Qn(Te(e),e)})),He.f=ti,mt.f=Zn,Lr.f=ei,wt.f=ri,Kr.f=kn.f=ni,_n.f=ii,nn.f=function(e){return Qn(De(e),e)},$e&&Sn(Fn,"description",{configurable:!0,get:function(){return Dn(this).description}})),At({global:!0,constructor:!0,wrap:!0,forced:!Z,sham:!Z},{Symbol:Mn}),Rn(Or(Jn),(function(e){In(e)})),At({target:Ln,stat:!0,forced:!Z},{useSetter:function(){Xn=!0},useSimple:function(){Xn=!1}}),At({target:"Object",stat:!0,forced:!Z,sham:!$e},{create:function(e,t){return void 0===t?xn(e):ei(xn(e),t)},defineProperty:Zn,defineProperties:ei,getOwnPropertyDescriptor:ri}),At({target:"Object",stat:!0,forced:!Z},{getOwnPropertyNames:ni}),An(),On(Mn,Ln),kr[Cn]=!0;var oi=Z&&!!Symbol.for&&!!Symbol.keyFor,ai=Ae("string-to-symbol-registry"),ui=Ae("symbol-to-string-registry");At({target:"Symbol",stat:!0,forced:!oi},{for:function(e){var t=En(e);if(Oe(ai,t))return ai[t];var r=te("Symbol")(t);return ai[t]=r,ui[r]=t,r}});var si=Ae("symbol-to-string-registry");At({target:"Symbol",stat:!0,forced:!oi},{keyFor:function(e){if(!Le(e))throw TypeError(ue(e)+" is not a symbol");if(Oe(si,e))return si[e]}});var ci=m([].slice),fi=m([].push),li=ci,pi=function(e){if(F(e))return e;if(Ot(e)){for(var t=e.length,r=[],n=0;n<t;n++){var i=e[n];"string"==typeof i?fi(r,i):"number"!=typeof i&&"Number"!=E(i)&&"String"!=E(i)||fi(r,En(i))}var o=r.length,a=!0;return function(e,t){if(a)return a=!1,t;if(Ot(this))return t;for(var n=0;n<o;n++)if(r[n]===e)return t}}},hi=String,di=te("JSON","stringify"),vi=m(/./.exec),gi=m("".charAt),bi=m("".charCodeAt),mi=m("".replace),yi=m(1..toString),wi=/[\uD800-\uDFFF]/g,Ei=/^[\uD800-\uDBFF]$/,xi=/^[\uDC00-\uDFFF]$/,ki=!Z||u((function(){var e=te("Symbol")();return"[null]"!=di([e])||"{}"!=di({a:e})||"{}"!=di(Object(e))})),_i=u((function(){return'"\\udf06\\ud834"'!==di("\udf06\ud834")||'"\\udead"'!==di("\udead")})),Si=function(e,t){var r=li(arguments),n=pi(t);if(F(n)||void 0!==e&&!Le(e))return r[1]=function(e,t){if(F(n)&&(t=fe(n,this,hi(e),t)),!Le(t))return t},yt(di,null,r)},Ii=function(e,t,r){var n=gi(r,t-1),i=gi(r,t+1);return vi(Ei,e)&&!vi(xi,i)||vi(xi,e)&&!vi(Ei,n)?"\\u"+yi(bi(e,0),16):e};di&&At({target:"JSON",stat:!0,arity:3,forced:ki||_i},{stringify:function(e,t,r){var n=li(arguments),i=yt(ki?Si:di,null,n);return _i&&"string"==typeof i?mi(i,wi,Ii):i}});var Ai=!Z||u((function(){_n.f(1)}));At({target:"Object",stat:!0,forced:Ai},{getOwnPropertySymbols:function(e){var t=_n.f;return t?t(Ee(e)):[]}}),In("asyncIterator"),In("hasInstance"),In("isConcatSpreadable"),In("iterator"),In("match"),In("matchAll"),In("replace"),In("search"),In("species"),In("split"),In("toPrimitive"),An(),In("toStringTag"),On(te("Symbol"),"Symbol"),In("unscopables"),On(G.JSON,"JSON",!0);var Oi,Ti,Pi,Ri=$.Symbol,Ci=Function.prototype,Li=$e&&Object.getOwnPropertyDescriptor,ji=Oe(Ci,"name"),Ni={EXISTS:ji,PROPER:ji&&"something"===function(){}.name,CONFIGURABLE:ji&&(!$e||$e&&Li(Ci,"name").configurable)},Di=!u((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Ui=Nr("IE_PROTO"),Mi=Object,Fi=Mi.prototype,Bi=Di?Mi.getPrototypeOf:function(e){var t=Ee(e);if(Oe(t,Ui))return t[Ui];var r=t.constructor;return F(r)&&t instanceof r?r.prototype:t instanceof Mi?Fi:null},zi=De("iterator"),$i=!1;[].keys&&("next"in(Pi=[].keys())?(Ti=Bi(Bi(Pi)))!==Object.prototype&&(Oi=Ti):$i=!0);var Gi=!le(Oi)||u((function(){var e={};return Oi[zi].call(e)!==e}));Oi=Gi?{}:xn(Oi),F(Oi[zi])||an(Oi,zi,(function(){return this}));var Vi={IteratorPrototype:Oi,BUGGY_SAFARI_ITERATORS:$i},Hi={},qi=Vi.IteratorPrototype,Wi=function(){return this},Yi=String,Ji=TypeError,Xi=function(e,t,r){try{return m(ce(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},Ki=function(e){if("object"==typeof e||F(e))return e;throw Ji("Can't set "+Yi(e)+" as a prototype")},Qi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Xi(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return lt(r),Ki(n),t?e(r,n):r.__proto__=n,r}}():void 0),Zi=function(e,t,r,n){var i=t+" Iterator";return e.prototype=xn(qi,{next:qe(+!n,r)}),On(e,i,!1,!0),Hi[i]=Wi,e},eo=Qi,to=Ni.PROPER,ro=Vi.BUGGY_SAFARI_ITERATORS,no=De("iterator"),io="keys",oo="values",ao="entries",uo=function(){return this},so=function(){},co=function(e,t,r,n,i,o,a){Zi(r,t,n);var u,s,c,f=function(e){if(e===i&&v)return v;if(!ro&&e in h)return h[e];switch(e){case io:case oo:case ao:return function(){return new r(this,e)}}return function(){return new r(this)}},l=t+" Iterator",p=!1,h=e.prototype,d=h[no]||h["@@iterator"]||i&&h[i],v=!ro&&d||f(i),g="Array"==t&&h.entries||d;if(g&&(u=Bi(g.call(new e)))!==Object.prototype&&u.next&&(On(u,l,!0,!0),Hi[l]=uo),to&&i==oo&&d&&d.name!==oo&&(p=!0,v=function(){return fe(d,this)}),i)if(s={values:f(oo),keys:o?v:f(io),entries:f(ao)},a)for(c in s)(ro||p||!(c in h))&&an(h,c,s[c]);else At({target:t,proto:!0,forced:ro||p},s);return a&&h[no]!==v&&an(h,no,v,{name:i}),Hi[t]=v,s},fo=function(e,t){return{value:e,done:t}},lo=(mt.f,"Array Iterator"),po=Tn.set,ho=Tn.getterFor(lo);co(Array,"Array",(function(e,t){po(this,{type:lo,target:We(e),index:0,kind:t})}),(function(){var e=ho(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,fo(void 0,!0)):fo("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");Hi.Arguments=Hi.Array;so(),so(),so();var vo={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},go=De("toStringTag");for(var bo in vo){var mo=G[bo],yo=mo&&mo.prototype;yo&&Ht(yo)!==go&&kt(yo,go,bo),Hi[bo]=Hi.Array}var wo=Ri;In("dispose");var Eo=wo,xo=Eo;In("asyncDispose");var ko=te("Symbol"),_o=ko.keyFor,So=m(ko.prototype.valueOf);At({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==_o(So(e))}catch(e){return!1}}});for(var Io=te("Symbol"),Ao=Io.isWellKnown,Oo=te("Object","getOwnPropertyNames"),To=m(Io.prototype.valueOf),Po=Ae("wks"),Ro=0,Co=Oo(Io),Lo=Co.length;Ro<Lo;Ro++)try{var jo=Co[Ro];Le(Io[jo])&&De(jo)}catch(e){}At({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if(Ao&&Ao(e))return!0;try{for(var t=To(e),r=0,n=Oo(Po),i=n.length;r<i;r++)if(Po[n[r]]==t)return!0}catch(e){}return!1}}),In("matcher"),In("metadataKey"),In("observable"),In("metadata"),In("patternMatch"),In("replaceAll");var No=xo,Do=m("".charAt),Uo=m("".charCodeAt),Mo=m("".slice),Fo=function(e){return function(t,r){var n,i,o=En(M(t)),a=Lt(r),u=o.length;return a<0||a>=u?e?"":void 0:(n=Uo(o,a))<55296||n>56319||a+1===u||(i=Uo(o,a+1))<56320||i>57343?e?Do(o,a):n:e?Mo(o,a,a+2):i-56320+(n-55296<<10)+65536}},Bo={codeAt:Fo(!1),charAt:Fo(!0)},zo=Bo.charAt,$o="String Iterator",Go=Tn.set,Vo=Tn.getterFor($o);co(String,"String",(function(e){Go(this,{type:$o,string:En(e),index:0})}),(function(){var e,t=Vo(this),r=t.string,n=t.index;return n>=r.length?fo(void 0,!0):(e=zo(r,n),t.index+=e.length,fo(e,!1))}));var Ho=De("iterator"),qo=function(e){if(!N(e))return je(e,Ho)||je(e,"@@iterator")||Hi[Ht(e)]},Wo=qo;var Yo=lr("slice"),Jo=De("species"),Xo=Array,Ko=Math.max;At({target:"Array",proto:!0,forced:!Yo},{slice:function(e,t){var r,n,i,o=We(this),a=ur(o),u=wr(e,a),s=wr(void 0===t?a:t,a);if(Ot(o)&&(r=o.constructor,(rr(r)&&(r===Xo||Ot(r.prototype))||le(r)&&null===(r=r[Jo]))&&(r=void 0),r===Xo||void 0===r))return li(o,u,s);for(n=new(void 0===r?Xo:r)(Ko(s-u,0)),i=0;u<s;u++,i++)u in o&&cr(n,i,o[u]);return n.length=i,n}});var Qo=function(e){return $[e+"Prototype"]},Zo=Qo("Array").slice,ea=Array.prototype,ta=function(e){var t=e.slice;return e===ea||re(ea,e)&&t===ea.slice?Zo:t},ra=ta,na=function(e,t,r){var n,i;lt(e);try{if(!(n=je(e,"return"))){if("throw"===t)throw r;return r}n=fe(n,e)}catch(e){i=!0,n=e}if("throw"===t)throw r;if(i)throw n;return lt(n),r},ia=De("iterator"),oa=Array.prototype,aa=TypeError,ua=function(e,t,r,n){try{return n?t(lt(r)[0],r[1]):t(r)}catch(t){na(e,"throw",t)}},sa=function(e){return void 0!==e&&(Hi.Array===e||oa[ia]===e)},ca=function(e,t){var r=arguments.length<2?qo(e):t;if(ce(r))return lt(fe(r,e));throw aa(ue(e)+" is not iterable")},fa=Array,la=De("iterator"),pa=!1;try{var ha=0,da={next:function(){return{done:!!ha++}},return:function(){pa=!0}};da[la]=function(){return this},Array.from(da,(function(){throw 2}))}catch(e){}var va=function(e){var t=Ee(e),r=rr(this),n=arguments.length,i=n>1?arguments[1]:void 0,o=void 0!==i;o&&(i=xt(i,n>2?arguments[2]:void 0));var a,u,s,c,f,l,p=qo(t),h=0;if(!p||this===fa&&sa(p))for(a=ur(t),u=r?new this(a):fa(a);a>h;h++)l=o?i(t[h],h):t[h],cr(u,h,l);else for(f=(c=ca(t,p)).next,u=r?new this:[];!(s=fe(f,c)).done;h++)l=o?ua(c,i,[s.value,h],!0):s.value,cr(u,h,l);return u.length=h,u},ga=function(e,t){if(!t&&!pa)return!1;var r=!1;try{var n={};n[la]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r},ba=!ga((function(e){Array.from(e)}));At({target:"Array",stat:!0,forced:ba},{from:va});var ma=$.Array.from,ya=ma;function wa(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ea(e,t){var r;if(e){if("string"==typeof e)return wa(e,t);var n=ra(r=Object.prototype.toString.call(e)).call(r,8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?ya(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wa(e,t):void 0}}function xa(e,t){return function(e){if(Tt(e))return e}(e)||function(e,t){var r=null==e?null:void 0!==No&&Wo(e)||e["@@iterator"];if(null!=r){var n,i,o,a,u=[],s=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||Ea(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ka=m([].concat),_a=te("Reflect","ownKeys")||function(e){var t=Kr.f(lt(e)),r=_n.f;return r?ka(t,r(e)):t},Sa=_a,Ia=Error,Aa=m("".replace),Oa=String(Ia("zxcasd").stack),Ta=/\n\s*at [^:]*:[^\n]*/,Pa=Ta.test(Oa),Ra=!u((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",qe(1,7)),7!==e.stack)})),Ca=function(e,t){if(Pa&&"string"==typeof e&&!Ia.prepareStackTrace)for(;t--;)e=Aa(e,Ta,"");return e},La=Ra,ja=Error.captureStackTrace,Na=TypeError,Da=function(e,t){this.stopped=e,this.result=t},Ua=Da.prototype,Ma=function(e,t,r){for(var n=Sa(t),i=mt.f,o=wt.f,a=0;a<n.length;a++){var u=n[a];Oe(e,u)||r&&Oe(r,u)||i(e,u,o(t,u))}},Fa=function(e,t){le(t)&&"cause"in t&&kt(e,"cause",t.cause)},Ba=function(e,t,r,n){La&&(ja?ja(e,t):kt(e,"stack",Ca(r,n)))},za=function(e,t,r){var n,i,o,a,u,s,c,f=r&&r.that,l=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_RECORD),h=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),v=xt(t,f),g=function(e){return n&&na(n,"normal",e),new Da(!0,e)},b=function(e){return l?(lt(e),d?v(e[0],e[1],g):v(e[0],e[1])):d?v(e,g):v(e)};if(p)n=e.iterator;else if(h)n=e;else{if(!(i=qo(e)))throw Na(ue(e)+" is not iterable");if(sa(i)){for(o=0,a=ur(e);a>o;o++)if((u=b(e[o]))&&re(Ua,u))return u;return new Da(!1)}n=ca(e,i)}for(s=p?e.next:n.next;!(c=fe(s,n)).done;){try{u=b(c.value)}catch(e){na(n,"throw",e)}if("object"==typeof u&&u&&re(Ua,u))return u}return new Da(!1)},$a=function(e,t){return void 0===e?arguments.length<2?"":t:En(e)},Ga=De("toStringTag"),Va=Error,Ha=[].push,qa=function(e,t){var r,n=re(Wa,this);eo?r=eo(Va(),n?Bi(this):Wa):(r=n?this:xn(Wa),kt(r,Ga,"Error")),void 0!==t&&kt(r,"message",$a(t)),Ba(r,qa,r.stack,1),arguments.length>2&&Fa(r,arguments[2]);var i=[];return za(e,Ha,{that:i}),kt(r,"errors",i),r};eo?eo(qa,Va):Ma(qa,Va,{name:!0});var Wa=qa.prototype=xn(Va.prototype,{constructor:qe(1,qa),message:qe(1,""),name:qe(1,"AggregateError")});At({global:!0,constructor:!0,arity:2},{AggregateError:qa});var Ya="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Ja(){throw new Error("setTimeout has not been defined")}function Xa(){throw new Error("clearTimeout has not been defined")}var Ka=Ja,Qa=Xa;function Za(e){if(Ka===setTimeout)return setTimeout(e,0);if((Ka===Ja||!Ka)&&setTimeout)return Ka=setTimeout,setTimeout(e,0);try{return Ka(e,0)}catch(t){try{return Ka.call(null,e,0)}catch(t){return Ka.call(this,e,0)}}}"function"==typeof Ya.setTimeout&&(Ka=setTimeout),"function"==typeof Ya.clearTimeout&&(Qa=clearTimeout);var eu,tu=[],ru=!1,nu=-1;function iu(){ru&&eu&&(ru=!1,eu.length?tu=eu.concat(tu):nu=-1,tu.length&&ou())}function ou(){if(!ru){var e=Za(iu);ru=!0;for(var t=tu.length;t;){for(eu=tu,tu=[];++nu<t;)eu&&eu[nu].run();nu=-1,t=tu.length}eu=null,ru=!1,function(e){if(Qa===clearTimeout)return clearTimeout(e);if((Qa===Xa||!Qa)&&clearTimeout)return Qa=clearTimeout,clearTimeout(e);try{return Qa(e)}catch(t){try{return Qa.call(null,e)}catch(t){return Qa.call(this,e)}}}(e)}}function au(e,t){this.fun=e,this.array=t}au.prototype.run=function(){this.fun.apply(null,this.array)};function uu(){}var su=uu,cu=uu,fu=uu,lu=uu,pu=uu,hu=uu,du=uu;var vu=Ya.performance||{},gu=vu.now||vu.mozNow||vu.msNow||vu.oNow||vu.webkitNow||function(){return(new Date).getTime()};var bu=new Date;var mu,yu,wu,Eu,xu={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];tu.push(new au(e,t)),1!==tu.length||ru||Za(ou)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:su,addListener:cu,once:fu,off:lu,removeListener:pu,removeAllListeners:hu,emit:du,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*gu.call(vu),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-bu)/1e3}},ku=void 0!==xu&&"process"==E(xu),_u=De("species"),Su=TypeError,Iu=TypeError,Au=function(e){if(rr(e))return e;throw Iu(ue(e)+" is not a constructor")},Ou=De("species"),Tu=TypeError,Pu=/(?:ipad|iphone|ipod).*applewebkit/i.test(q),Ru=function(e,t){if(e<t)throw Tu("Not enough arguments");return e},Cu=Pu,Lu=ku,ju=G.setImmediate,Nu=G.clearImmediate,Du=G.process,Uu=G.Dispatch,Mu=G.Function,Fu=G.MessageChannel,Bu=G.String,zu=0,$u={},Gu="onreadystatechange";u((function(){mu=G.location}));var Vu=function(e){if(Oe($u,e)){var t=$u[e];delete $u[e],t()}},Hu=function(e){return function(){Vu(e)}},qu=function(e){Vu(e.data)},Wu=function(e){G.postMessage(Bu(e),mu.protocol+"//"+mu.host)};ju&&Nu||(ju=function(e){Ru(arguments.length,1);var t=F(e)?e:Mu(e),r=li(arguments,1);return $u[++zu]=function(){yt(t,void 0,r)},yu(zu),zu},Nu=function(e){delete $u[e]},Lu?yu=function(e){Du.nextTick(Hu(e))}:Uu&&Uu.now?yu=function(e){Uu.now(Hu(e))}:Fu&&!Cu?(Eu=(wu=new Fu).port2,wu.port1.onmessage=qu,yu=xt(Eu.postMessage,Eu)):G.addEventListener&&F(G.postMessage)&&!G.importScripts&&mu&&"file:"!==mu.protocol&&!u(Wu)?(yu=Wu,G.addEventListener("message",qu,!1)):yu=Gu in Ge("script")?function(e){jr.appendChild(Ge("script"))[Gu]=function(){jr.removeChild(this),Vu(e)}}:function(e){setTimeout(Hu(e),0)});var Yu={set:ju,clear:Nu},Ju=function(){this.head=null,this.tail=null};Ju.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var Xu,Ku,Qu,Zu,es,ts=Ju,rs=/ipad|iphone|ipod/i.test(q)&&"undefined"!=typeof Pebble,ns=/web0s(?!.*chrome)/i.test(q),is=Yu,os=ts,as=rs,us=ns,ss=wt.f,cs=is.set,fs=G.MutationObserver||G.WebKitMutationObserver,ls=G.document,ps=G.process,hs=G.Promise,ds=ss(G,"queueMicrotask"),vs=ds&&ds.value;if(!vs){var gs=new os,bs=function(){var e,t;for(Lu&&(e=ps.domain)&&e.exit();t=gs.get();)try{t()}catch(e){throw gs.head&&Xu(),e}e&&e.enter()};Cu||Lu||us||!fs||!ls?!as&&hs&&hs.resolve?((Zu=hs.resolve(void 0)).constructor=hs,es=xt(Zu.then,Zu),Xu=function(){es(bs)}):Lu?Xu=function(){ps.nextTick(bs)}:(cs=xt(cs,G),Xu=function(){cs(bs)}):(Ku=!0,Qu=ls.createTextNode(""),new fs(bs).observe(Qu,{characterData:!0}),Xu=function(){Qu.data=Ku=!Ku}),vs=function(e){gs.head||Xu(),gs.add(e)}}var ms,ys,ws=vs,Es=G.Promise,xs="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ks=!xs&&!Lu&&"object"==typeof window&&"object"==typeof document,_s=Es,Ss=ks,Is=_s&&_s.prototype,As=De("species"),Os=!1,Ts=F(G.PromiseRejectionEvent),Ps=Et("Promise",(function(){var e=qt(_s),t=e!==String(_s);if(!t&&66===K)return!0;if(!Is.catch||!Is.finally)return!0;if(!K||K<51||!/native code/.test(e)){var r=new _s((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[As]=n,!(Os=r.then((function(){}))instanceof n))return!0}return!t&&(Ss||xs)&&!Ts})),Rs=TypeError,Cs=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw Rs("Bad Promise constructor");t=e,r=n})),this.resolve=ce(t),this.reject=ce(r)},Ls=function(e){var t=te(e);$e&&t&&!t[_u]&&Sn(t,_u,{configurable:!0,get:function(){return this}})},js=function(e,t){if(re(t,e))return e;throw Su("Incorrect invocation")},Ns=function(e,t){var r,n=lt(e).constructor;return void 0===n||N(r=lt(n)[Ou])?t:Au(r)},Ds=ws,Us=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}},Ms=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Fs={CONSTRUCTOR:Ps,REJECTION_EVENT:Ts,SUBCLASSING:Os},Bs={f:function(e){return new Cs(e)}},zs=is.set,$s="Promise",Gs=Fs.CONSTRUCTOR,Vs=Fs.REJECTION_EVENT,Hs=Tn.getterFor($s),qs=Tn.set,Ws=_s&&_s.prototype,Ys=_s,Js=Ws,Xs=G.TypeError,Ks=G.document,Qs=G.process,Zs=Bs.f,ec=Zs,tc=!!(Ks&&Ks.createEvent&&G.dispatchEvent),rc="unhandledrejection",nc=function(e){var t;return!(!le(e)||!F(t=e.then))&&t},ic=function(e,t){var r,n,i,o=t.value,a=1==t.state,u=a?e.ok:e.fail,s=e.resolve,c=e.reject,f=e.domain;try{u?(a||(2===t.rejection&&cc(t),t.rejection=1),!0===u?r=o:(f&&f.enter(),r=u(o),f&&(f.exit(),i=!0)),r===e.promise?c(Xs("Promise-chain cycle")):(n=nc(r))?fe(n,r,s,c):s(r)):c(o)}catch(e){f&&!i&&f.exit(),c(e)}},oc=function(e,t){e.notified||(e.notified=!0,Ds((function(){for(var r,n=e.reactions;r=n.get();)ic(r,e);e.notified=!1,t&&!e.rejection&&uc(e)})))},ac=function(e,t,r){var n,i;tc?((n=Ks.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),G.dispatchEvent(n)):n={promise:t,reason:r},!Vs&&(i=G["on"+e])?i(n):e===rc&&Us("Unhandled promise rejection",r)},uc=function(e){fe(zs,G,(function(){var t,r=e.facade,n=e.value;if(sc(e)&&(t=Ms((function(){Lu?Qs.emit("unhandledRejection",n,r):ac(rc,r,n)})),e.rejection=Lu||sc(e)?2:1,t.error))throw t.value}))},sc=function(e){return 1!==e.rejection&&!e.parent},cc=function(e){fe(zs,G,(function(){var t=e.facade;Lu?Qs.emit("rejectionHandled",t):ac("rejectionhandled",t,e.value)}))},fc=function(e,t,r){return function(n){e(t,n,r)}},lc=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,oc(e,!0))},pc=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw Xs("Promise can't be resolved itself");var n=nc(t);n?Ds((function(){var r={done:!1};try{fe(n,t,fc(pc,r,e),fc(lc,r,e))}catch(t){lc(r,t,e)}})):(e.value=t,e.state=1,oc(e,!1))}catch(t){lc({done:!1},t,e)}}};Gs&&(Js=(Ys=function(e){js(this,Js),ce(e),fe(ms,this);var t=Hs(this);try{e(fc(pc,t),fc(lc,t))}catch(e){lc(t,e)}}).prototype,(ms=function(e){qs(this,{type:$s,done:!1,notified:!1,parent:!1,reactions:new os,rejection:!1,state:0,value:void 0})}).prototype=an(Js,"then",(function(e,t){var r=Hs(this),n=Zs(Ns(this,Ys));return r.parent=!0,n.ok=!F(e)||e,n.fail=F(t)&&t,n.domain=Lu?Qs.domain:void 0,0==r.state?r.reactions.add(n):Ds((function(){ic(n,r)})),n.promise})),ys=function(){var e=new ms,t=Hs(e);this.promise=e,this.resolve=fc(pc,t),this.reject=fc(lc,t)},Bs.f=Zs=function(e){return e===Ys||undefined===e?new ys(e):ec(e)}),At({global:!0,constructor:!0,wrap:!0,forced:Gs},{Promise:Ys}),On(Ys,$s,!1,!0),Ls($s);var hc=Fs.CONSTRUCTOR||!ga((function(e){_s.all(e).then(void 0,(function(){}))}));At({target:"Promise",stat:!0,forced:hc},{all:function(e){var t=this,r=Bs.f(t),n=r.resolve,i=r.reject,o=Ms((function(){var r=ce(t.resolve),o=[],a=0,u=1;za(e,(function(e){var s=a++,c=!1;u++,fe(r,t,e).then((function(e){c||(c=!0,o[s]=e,--u||n(o))}),i)})),--u||n(o)}));return o.error&&i(o.value),r.promise}});var dc=Fs.CONSTRUCTOR;_s&&_s.prototype;At({target:"Promise",proto:!0,forced:dc,real:!0},{catch:function(e){return this.then(void 0,e)}}),At({target:"Promise",stat:!0,forced:hc},{race:function(e){var t=this,r=Bs.f(t),n=r.reject,i=Ms((function(){var i=ce(t.resolve);za(e,(function(e){fe(i,t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}}),At({target:"Promise",stat:!0,forced:Fs.CONSTRUCTOR},{reject:function(e){var t=Bs.f(this);return fe(t.reject,void 0,e),t.promise}});var vc=function(e,t){if(lt(e),le(t)&&t.constructor===e)return t;var r=Bs.f(e);return(0,r.resolve)(t),r.promise},gc=Fs.CONSTRUCTOR,bc=te("Promise"),mc=!gc;At({target:"Promise",stat:!0,forced:be},{resolve:function(e){return vc(mc&&this===bc?_s:this,e)}}),At({target:"Promise",stat:!0,forced:hc},{allSettled:function(e){var t=this,r=Bs.f(t),n=r.resolve,i=r.reject,o=Ms((function(){var r=ce(t.resolve),i=[],o=0,a=1;za(e,(function(e){var u=o++,s=!1;a++,fe(r,t,e).then((function(e){s||(s=!0,i[u]={status:"fulfilled",value:e},--a||n(i))}),(function(e){s||(s=!0,i[u]={status:"rejected",reason:e},--a||n(i))}))})),--a||n(i)}));return o.error&&i(o.value),r.promise}});var yc="No one promise resolved";At({target:"Promise",stat:!0,forced:hc},{any:function(e){var t=this,r=te("AggregateError"),n=Bs.f(t),i=n.resolve,o=n.reject,a=Ms((function(){var n=ce(t.resolve),a=[],u=0,s=1,c=!1;za(e,(function(e){var f=u++,l=!1;s++,fe(n,t,e).then((function(e){l||c||(c=!0,i(e))}),(function(e){l||c||(l=!0,a[f]=e,--s||o(new r(a,yc)))}))})),--s||o(new r(a,yc))}));return a.error&&o(a.value),n.promise}});var wc=_s&&_s.prototype,Ec=!!_s&&u((function(){wc.finally.call({then:function(){}},(function(){}))}));At({target:"Promise",proto:!0,real:!0,forced:Ec},{finally:function(e){var t=Ns(this,te("Promise")),r=F(e);return this.then(r?function(r){return vc(t,e()).then((function(){return r}))}:e,r?function(r){return vc(t,e()).then((function(){throw r}))}:e)}});var xc=$.Promise,kc=xc;At({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=Bs.f(this),r=Ms(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}});var _c=kc;function Sc(e,t,r,n,i,o,a){try{var u=e[o](a),s=u.value}catch(e){return void r(e)}u.done?t(s):_c.resolve(s).then(n,i)}function Ic(e){return function(){var t=this,r=arguments;return new _c((function(n,i){var o=e.apply(t,r);function a(e){Sc(o,n,i,a,u,"next",e)}function u(e){Sc(o,n,i,a,u,"throw",e)}a(void 0)}))}}function Ac(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Oc=mt.f;At({target:"Object",stat:!0,forced:Object.defineProperty!==Oc,sham:!$e},{defineProperty:Oc});var Tc=r((function(e){var t=$.Object,r=e.exports=function(e,r,n){return t.defineProperty(e,r,n)};t.defineProperty.sham&&(r.sham=!0)})),Pc=Tc,Rc=nn.f("iterator");function Cc(e){return Cc="function"==typeof No&&"symbol"==typeof Rc?function(e){return typeof e}:function(e){return e&&"function"==typeof No&&e.constructor===No&&e!==No.prototype?"symbol":typeof e},Cc(e)}var Lc=nn.f("toPrimitive");function jc(e){var t=function(e,t){if("object"!==Cc(e)||null===e)return e;var r=e[Lc];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Cc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Cc(t)?t:String(t)}function Nc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Pc(e,jc(n.key),n)}}function Dc(e,t,r){return t&&Nc(e.prototype,t),r&&Nc(e,r),Pc(e,"prototype",{writable:!1}),e}function Uc(e,t,r){return(t=jc(t))in e?Pc(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Mc=r((function(e){function t(r){return e.exports=t="function"==typeof No&&"symbol"==typeof Rc?function(e){return typeof e}:function(e){return e&&"function"==typeof No&&e.constructor===No&&e!==No.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}));At({target:"Object",stat:!0,sham:!$e},{create:xn});var Fc=$.Object,Bc=function(e,t){return Fc.create(e,t)},zc=u((function(){Bi(1)}));At({target:"Object",stat:!0,forced:zc,sham:!Di},{getPrototypeOf:function(e){return Bi(Ee(e))}});var $c=$.Object.getPrototypeOf,Gc=function(e,t){var r=[][e];return!!r&&u((function(){r.call(null,t||function(){return 1},1)}))},Vc=Pn.forEach,Hc=Gc("forEach")?[].forEach:function(e){return Vc(this,e,arguments.length>1?arguments[1]:void 0)};At({target:"Array",proto:!0,forced:[].forEach!=Hc},{forEach:Hc});var qc=Qo("Array").forEach,Wc=Array.prototype,Yc={DOMTokenList:!0,NodeList:!0},Jc=function(e){var t=e.forEach;return e===Wc||re(Wc,e)&&t===Wc.forEach||Oe(Yc,Ht(e))?qc:t};At({target:"Object",stat:!0},{setPrototypeOf:eo});var Xc=$.Object.setPrototypeOf,Kc=m([].reverse),Qc=[1,2];At({target:"Array",proto:!0,forced:String(Qc)===String(Qc.reverse())},{reverse:function(){return Ot(this)&&(this.length=this.length),Kc(this)}});var Zc=Qo("Array").reverse,ef=Array.prototype,tf=function(e){var t=e.reverse;return e===ef||re(ef,e)&&t===ef.reverse?Zc:t},rf=r((function(e){var t=Mc.default;function r(){e.exports=r=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var n={},i=Object.prototype,o=i.hasOwnProperty,a=Pc||function(e,t,r){e[t]=r.value},u="function"==typeof No?No:{},s=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function l(e,t,r){return Pc(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var i=t&&t.prototype instanceof v?t:v,o=Bc(i.prototype),u=new A(n||[]);return a(o,"_invoke",{value:k(e,r,u)}),o}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var d={};function v(){}function g(){}function b(){}var m={};l(m,s,(function(){return this}));var y=$c&&$c($c(O([])));y&&y!==i&&o.call(y,s)&&(m=y);var w=b.prototype=v.prototype=Bc(m);function E(e){var t;Jc(t=["next","throw","return"]).call(t,(function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,r){function n(i,a,u,s){var c=h(e[i],e,a);if("throw"!==c.type){var f=c.arg,l=f.value;return l&&"object"==t(l)&&o.call(l,"__await")?r.resolve(l.__await).then((function(e){n("next",e,u,s)}),(function(e){n("throw",e,u,s)})):r.resolve(l).then((function(e){f.value=e,u(f)}),(function(e){return n("throw",e,u,s)}))}s(c.arg)}var i;a(this,"_invoke",{value:function(e,t){function o(){return new r((function(r,i){n(e,t,r,i)}))}return i=i?i.then(o,o):o()}})}function k(e,t,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return T()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var u=_(a,r);if(u){if(u===d)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=h(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function _(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var i=h(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],Jc(e).call(e,S,this),this.reset(!0)}function O(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(o.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:T}}function T(){return{value:void 0,done:!0}}return g.prototype=b,a(w,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=l(b,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Xc?Xc(e,b):(e.__proto__=b,l(e,f,"GeneratorFunction")),e.prototype=Bc(w),e},n.awrap=function(e){return{__await:e}},E(x.prototype),l(x.prototype,c,(function(){return this})),n.AsyncIterator=x,n.async=function(e,t,r,i,o){void 0===o&&(o=_c);var a=new x(p(e,t,r,i),o);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(w),l(w,f,"Generator"),l(w,s,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return tf(r).call(r),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},n.values=O,A.prototype={constructor:A,reset:function(e){var t;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,Jc(t=this.tryEntries).call(t,I),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+ra(r).call(r,1))&&(this[r]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;I(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:O(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},n}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})),nf=rf(),of=nf;try{regeneratorRuntime=nf}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=nf:Function("r","regeneratorRuntime = r")(nf)}var af=u((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),uf=Object.isExtensible,sf=u((function(){uf(1)}))||af?function(e){return!!le(e)&&((!af||"ArrayBuffer"!=E(e))&&(!uf||uf(e)))}:uf,cf=!u((function(){return Object.isExtensible(Object.preventExtensions({}))})),ff=sf,lf=cf,pf=r((function(e){var t=mt.f,r=!1,n=Te("meta"),i=0,o=function(e){t(e,n,{value:{objectID:"O"+i++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},r=!0;var e=Kr.f,t=m([].splice),i={};i[n]=1,e(i).length&&(Kr.f=function(r){for(var i=e(r),o=0,a=i.length;o<a;o++)if(i[o]===n){t(i,o,1);break}return i},At({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:kn.f}))},fastKey:function(e,t){if(!le(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!Oe(e,n)){if(!ff(e))return"F";if(!t)return"E";o(e)}return e[n].objectID},getWeakData:function(e,t){if(!Oe(e,n)){if(!ff(e))return!0;if(!t)return!1;o(e)}return e[n].weakData},onFreeze:function(e){return lf&&r&&ff(e)&&!Oe(e,n)&&o(e),e}};kr[n]=!0})),hf=pf,df=mt.f,vf=Pn.forEach,gf=Tn.set,bf=Tn.getterFor,mf=function(e,t,r){for(var n in t)r&&r.unsafe&&e[n]?e[n]=t[n]:an(e,n,t[n],r);return e},yf=hf.fastKey,wf=Tn.set,Ef=Tn.getterFor,xf={getConstructor:function(e,t,r,n){var i=e((function(e,i){js(e,o),wf(e,{type:t,index:xn(null),first:void 0,last:void 0,size:0}),$e||(e.size=0),N(i)||za(i,e[n],{that:e,AS_ENTRIES:r})})),o=i.prototype,a=Ef(t),u=function(e,t,r){var n,i,o=a(e),u=s(e,t);return u?u.value=r:(o.last=u={index:i=yf(t,!0),key:t,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=u),n&&(n.next=u),$e?o.size++:e.size++,"F"!==i&&(o.index[i]=u)),e},s=function(e,t){var r,n=a(e),i=yf(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==t)return r};return mf(o,{clear:function(){for(var e=a(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,$e?e.size=0:this.size=0},delete:function(e){var t=this,r=a(t),n=s(t,e);if(n){var i=n.next,o=n.previous;delete r.index[n.index],n.removed=!0,o&&(o.next=i),i&&(i.previous=o),r.first==n&&(r.first=i),r.last==n&&(r.last=o),$e?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=a(this),n=xt(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),mf(o,r?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return u(this,0===e?0:e,t)}}:{add:function(e){return u(this,e=0===e?0:e,e)}}),$e&&Sn(o,"size",{configurable:!0,get:function(){return a(this).size}}),i},setStrong:function(e,t,r){var n=t+" Iterator",i=Ef(t),o=Ef(n);co(e,t,(function(e,t){wf(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?fo("keys"==t?r.key:"values"==t?r.value:[r.key,r.value],!1):(e.target=void 0,fo(void 0,!0))}),r?"entries":"values",!r,!0),Ls(t)}},kf=function(e,t,r){var n,i=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),a=i?"set":"add",s=G[e],c=s&&s.prototype,f={};if($e&&F(s)&&(o||c.forEach&&!u((function(){(new s).entries().next()})))){var l=(n=t((function(t,r){gf(js(t,l),{type:e,collection:new s}),null!=r&&za(r,t[a],{that:t,AS_ENTRIES:i})}))).prototype,p=bf(e);vf(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in c)||o&&"clear"==e||kt(l,e,(function(r,n){var i=p(this).collection;if(!t&&o&&!le(r))return"get"==e&&void 0;var a=i[e](0===r?0:r,n);return t?this:a}))})),o||df(l,"size",{configurable:!0,get:function(){return p(this).collection.size}})}else n=r.getConstructor(t,e,i,a),hf.enable();return On(n,e,!1,!0),f[e]=n,At({global:!0,forced:!0},f),o||r.setStrong(n,e,i),n};kf("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),xf);var _f=$.Set,Sf=xc,If=Qo("Array").concat,Af=Array.prototype,Of=function(e){var t=e.concat;return e===Af||re(Af,e)&&t===Af.concat?If:t},Tf=Object.assign,Pf=Object.defineProperty,Rf=m([].concat),Cf=!Tf||u((function(){if($e&&1!==Tf({b:1},Tf(Pf({},"a",{enumerable:!0,get:function(){Pf(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=Tf({},e)[r]||Or(Tf({},t)).join("")!=n}))?function(e,t){for(var r=Ee(e),n=arguments.length,i=1,o=_n.f,a=He.f;n>i;)for(var u,s=U(arguments[i++]),c=o?Rf(Or(s),o(s)):Or(s),f=c.length,l=0;f>l;)u=c[l++],$e&&!fe(a,s,u)||(r[u]=s[u]);return r}:Tf,Lf=Cf;At({target:"Object",stat:!0,arity:2,forced:Object.assign!==Lf},{assign:Lf});var jf=$.Object.assign,Nf=ma,Df=Pn.find,Uf="find",Mf=!0;Uf in[]&&Array(1)[Uf]((function(){Mf=!1})),At({target:"Array",proto:!0,forced:Mf},{find:function(e){return Df(this,e,arguments.length>1?arguments[1]:void 0)}}),so();var Ff=Qo("Array").find,Bf=Array.prototype,zf=function(e){var t=e.find;return e===Bf||re(Bf,e)&&t===Bf.find?Ff:t},$f=u((function(){Or(1)}));At({target:"Object",stat:!0,forced:$f},{keys:function(e){return Or(Ee(e))}});var Gf=$.Object.keys,Vf=$.Object.getOwnPropertySymbols,Hf=Pn.filter,qf=lr("filter");At({target:"Array",proto:!0,forced:!qf},{filter:function(e){return Hf(this,e,arguments.length>1?arguments[1]:void 0)}});var Wf=Qo("Array").filter,Yf=Array.prototype,Jf=function(e){var t=e.filter;return e===Yf||re(Yf,e)&&t===Yf.filter?Wf:t},Xf=wt.f,Kf=!$e||u((function(){Xf(1)}));At({target:"Object",stat:!0,forced:Kf,sham:!$e},{getOwnPropertyDescriptor:function(e,t){return Xf(We(e),t)}});var Qf=r((function(e){var t=$.Object,r=e.exports=function(e,r){return t.getOwnPropertyDescriptor(e,r)};t.getOwnPropertyDescriptor.sham&&(r.sham=!0)})),Zf=Qf;At({target:"Object",stat:!0,sham:!$e},{getOwnPropertyDescriptors:function(e){for(var t,r,n=We(e),i=wt.f,o=Sa(n),a={},u=0;o.length>u;)void 0!==(r=i(n,t=o[u++]))&&cr(a,t,r);return a}});var el=$.Object.getOwnPropertyDescriptors,tl=De("iterator"),rl=!u((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!e.toJSON||!t.size&&be||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[tl]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),nl=Math.floor,il=function(e,t){var r=e.length,n=nl(r/2);return r<8?ol(e,t):al(e,il(Qr(e,0,n),t),il(Qr(e,n),t),t)},ol=function(e,t){for(var r,n,i=e.length,o=1;o<i;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},al=function(e,t,r,n){for(var i=t.length,o=r.length,a=0,u=0;a<i||u<o;)e[a+u]=a<i&&u<o?n(t[a],r[u])<=0?t[a++]:r[u++]:a<i?t[a++]:r[u++];return e},ul=rl,sl=il,cl=De("iterator"),fl="URLSearchParams",ll=fl+"Iterator",pl=Tn.set,hl=Tn.getterFor(fl),dl=Tn.getterFor(ll),vl=Object.getOwnPropertyDescriptor,gl=function(e){if(!$e)return G[e];var t=vl(G,e);return t&&t.value},bl=gl("fetch"),ml=gl("Request"),yl=gl("Headers"),wl=ml&&ml.prototype,El=yl&&yl.prototype,xl=G.RegExp,kl=G.TypeError,_l=G.decodeURIComponent,Sl=G.encodeURIComponent,Il=m("".charAt),Al=m([].join),Ol=m([].push),Tl=m("".replace),Pl=m([].shift),Rl=m([].splice),Cl=m("".split),Ll=m("".slice),jl=/\+/g,Nl=Array(4),Dl=function(e){return Nl[e-1]||(Nl[e-1]=xl("((?:%[\\da-f]{2}){"+e+"})","gi"))},Ul=function(e){try{return _l(e)}catch(t){return e}},Ml=function(e){var t=Tl(e,jl," "),r=4;try{return _l(t)}catch(e){for(;r;)t=Tl(t,Dl(r--),Ul);return t}},Fl=/[!'()~]|%20/g,Bl={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},zl=function(e){return Bl[e]},$l=function(e){return Tl(Sl(e),Fl,zl)},Gl=Zi((function(e,t){pl(this,{type:ll,iterator:ca(hl(e).entries),kind:t})}),"Iterator",(function(){var e=dl(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),Vl=function(e){this.entries=[],this.url=null,void 0!==e&&(le(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Il(e,0)?Ll(e,1):e:En(e)))};Vl.prototype={type:fl,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,o,a,u,s=qo(e);if(s)for(r=(t=ca(e,s)).next;!(n=fe(r,t)).done;){if(o=(i=ca(lt(n.value))).next,(a=fe(o,i)).done||(u=fe(o,i)).done||!fe(o,i).done)throw kl("Expected sequence with length 2");Ol(this.entries,{key:En(a.value),value:En(u.value)})}else for(var c in e)Oe(e,c)&&Ol(this.entries,{key:c,value:En(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=Cl(e,"&"),i=0;i<n.length;)(t=n[i++]).length&&(r=Cl(t,"="),Ol(this.entries,{key:Ml(Pl(r)),value:Ml(Al(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Ol(r,$l(e.key)+"="+$l(e.value));return Al(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Hl=function(){js(this,ql);var e=pl(this,new Vl(arguments.length>0?arguments[0]:void 0));$e||(this.length=e.entries.length)},ql=Hl.prototype;if(mf(ql,{append:function(e,t){Ru(arguments.length,2);var r=hl(this);Ol(r.entries,{key:En(e),value:En(t)}),$e||this.length++,r.updateURL()},delete:function(e){Ru(arguments.length,1);for(var t=hl(this),r=t.entries,n=En(e),i=0;i<r.length;)r[i].key===n?Rl(r,i,1):i++;$e||(this.length=r.length),t.updateURL()},get:function(e){Ru(arguments.length,1);for(var t=hl(this).entries,r=En(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){Ru(arguments.length,1);for(var t=hl(this).entries,r=En(e),n=[],i=0;i<t.length;i++)t[i].key===r&&Ol(n,t[i].value);return n},has:function(e){Ru(arguments.length,1);for(var t=hl(this).entries,r=En(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){Ru(arguments.length,1);for(var r,n=hl(this),i=n.entries,o=!1,a=En(e),u=En(t),s=0;s<i.length;s++)(r=i[s]).key===a&&(o?Rl(i,s--,1):(o=!0,r.value=u));o||Ol(i,{key:a,value:u}),$e||(this.length=i.length),n.updateURL()},sort:function(){var e=hl(this);sl(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=hl(this).entries,n=xt(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new Gl(this,"keys")},values:function(){return new Gl(this,"values")},entries:function(){return new Gl(this,"entries")}},{enumerable:!0}),an(ql,cl,ql.entries,{name:"entries"}),an(ql,"toString",(function(){return hl(this).serialize()}),{enumerable:!0}),$e&&Sn(ql,"size",{get:function(){return hl(this).entries.length},configurable:!0,enumerable:!0}),On(Hl,fl),At({global:!0,constructor:!0,forced:!ul},{URLSearchParams:Hl}),!ul&&F(yl)){var Wl=m(El.has),Yl=m(El.set),Jl=function(e){if(le(e)){var t,r=e.body;if(Ht(r)===fl)return t=e.headers?new yl(e.headers):new yl,Wl(t,"content-type")||Yl(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),xn(e,{body:qe(0,En(r)),headers:qe(0,t)})}return e};if(F(bl)&&At({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return bl(e,arguments.length>1?Jl(arguments[1]):{})}}),F(ml)){var Xl=function(e){return js(this,wl),new ml(e,arguments.length>1?Jl(arguments[1]):{})};wl.constructor=Xl,Xl.prototype=wl,At({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Xl})}}var Kl={URLSearchParams:Hl,getState:hl},Ql=$.URLSearchParams,Zl={error:0,info:1,debug:2},ep=function(){return console.warn("No function to clear abba storage specified. Storage may not have been flushed correctly")},tp=function(){function e(){Ac(this,e),Uc(this,"enabled",!1),Uc(this,"usePopup",!0)}return Dc(e,[{key:"_init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{if(this.enabled)throw new Error("DebugTools already initialized and enabled. Initialization aborted.");if(e?this.loggerLevel=e:this._getLoggerLevel(),null==Zl[this.loggerLevel]){if(this.loggerLevel&&!this.loggedError){var r,n=Of(r="Invalid logger level provided to query param: ".concat(this.loggerLevel,".\n Valid logger levels: ")).call(r,Gf(Zl).join(", "));throw new Error(n)}return}t?this.usePopup=!1:this._createLoggerPopup(),this.enabled=!0}catch(e){console.error(e),this.loggedError=!0}}},{key:"_getLoggerLevel",value:function(){var e,t,r,n=new Ql(null!==(e=null===(t=window)||void 0===t||null===(r=t.location)||void 0===r?void 0:r.search)&&void 0!==e?e:"");this.loggerLevel=n.get("abbaLog")}},{key:"_createLoggerPopup",value:function(){var e,t=this;if(null===(e=document)||void 0===e||!e.body)throw new Error("Document not ready for popup. Failed to init DebugTools.");this.abbaPopout=document.createElement("div"),this.abbaPopout.setAttribute("style","all:unset;position:fixed;top:40px;left:0;width:300px;max-height:500px;overflow:auto;background-color:white;border:2px solid black;z-index:999999;overflow-wrap:break-word;font-family:monospace;font-size:11px"),document.body.appendChild(this.abbaPopout);var r=document.createElement("button");r.appendChild(document.createTextNode("Abba Debug - Click here to Show/Hide")),r.setAttribute("style","all:unset;position:fixed;top:0;left:0;height:20px;background-color:black;color:white;font-family:monospace;cursor:pointer;padding:2px;width:300px;font-size:13px;z-index:999999;"),r.onclick=function(){this.abbaPopout.style.display="none"===this.abbaPopout.style.display?"block":"none"}.bind(this);var n=document.createElement("button");n.appendChild(document.createTextNode("Click here to clear ABBA storage")),n.setAttribute("style","all:unset;position:fixed;top:20px;left:0;height:20px;background-color:white;color:black;font-family:monospace;cursor:pointer;border:2px inset black;width:300px;font-size:13px;z-index:999999;"),n.onclick=function(){var e,r;return null!==(e=null===(r=t.clearAbbaStorage)||void 0===r?void 0:r.call(t))&&void 0!==e?e:ep()},document.body.appendChild(n),document.body.appendChild(r)}},{key:"setClearAbbaStorage",value:function(e){this.clearAbbaStorage="function"==typeof e?e:ep}},{key:"info",value:function(e,t){this._log("info",e,t)}},{key:"debug",value:function(e,t){this._log("debug",e,t)}},{key:"error",value:function(e,t){this._log("error",e,t)}},{key:"_log",value:function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"info",n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;(this.enabled||this._init(),this.enabled&&this.loggerLevel&&Zl[this.loggerLevel]>=Zl[r])&&(console.log("[ABBA] ".concat(n),i),this.addMessage(Of(e=Of(t="[".concat(r.toUpperCase(),"] ")).call(t,n," ")).call(e,i?"(check console)":""),r))}},{key:"addMessage",value:function(e,t){if(this.enabled){if(this.usePopup){var r=document.createElement("div"),n=document.createTextNode(e);"error"===t?r.setAttribute("style","background-color:red;color:white"):"info"===t&&r.setAttribute("style","background-color:blue;color:white"),r.appendChild(n),this.abbaPopout.appendChild(r)}}else console.error("DebugTools not enabled. Cannot add message.")}}]),e}(),rp=new tp,np=null,ip=function(){if(null===np)throw new Error("Bridge is not set.")},op="abbaTargets",ap="abbaExperiments",up="abbaPreview",sp=function(){var e=Ic(of.mark((function e(){var t,r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ip(),e.next=3,np.getItem(op);case 3:if(null==(t=e.sent)){e.next=8;break}return e.abrupt("return",t);case 8:return r={},e.next=11,np.setItem(op,r);case 11:return e.abrupt("return",r);case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),cp=function(){var e=Ic(of.mark((function e(){var t,r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,np.getItem(ap);case 2:if(null==(t=e.sent)){e.next=7;break}return e.abrupt("return",t);case 7:return r={},e.next=10,np.setItem(ap,r);case 10:return e.abrupt("return",r);case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),fp=function(){var e=Ic(of.mark((function e(t){var r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,sp();case 2:return r=e.sent,e.abrupt("return",r[t]);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),lp=function(){var e=Ic(of.mark((function e(t){var r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,cp();case 2:return r=e.sent,e.abrupt("return",r[t]);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pp=function(){var e=Ic(of.mark((function e(){var t,r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(ip(),null==(t=np.getItem(up))){e.next=11;break}if(r=new Date(t.setAt),!(new Date-r>=18e5)){e.next=10;break}rp.info("Preset preview has expired. Removing preview."),np.setItem(up,"undefined"),e.next=11;break;case 10:return e.abrupt("return",t.config);case 11:return e.abrupt("return",!1);case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),hp=function(){var e=Ic(of.mark((function e(t){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ip(),rp.info("Setting detected preview",t),e.next=4,np.setItem(up,{config:t,setAt:(new Date).toISOString()});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),dp=function(){var e=Ic(of.mark((function e(t,r,n){var i,o,a;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,sp();case 2:return o=e.sent,a=null===(i=o[t])||void 0===i?void 0:i.assignedDate,o[t]={experimentId:r,bucketId:n,assignedDate:null!=a?a:new Date},e.next=7,np.setItem(op,o);case 7:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}(),vp=function(){var e=Ic(of.mark((function e(t,r,n,i){var o,a,u;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,cp();case 2:return(a=e.sent)[t]&&a[t].bucketId===r&&(u=a[t].assignedDate),a[t]={bucketId:r,assignedDate:null!==(o=u)&&void 0!==o?o:new Date,endTime:n,locked:i},e.next=7,np.setItem(ap,a);case 7:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}(),gp=function(){var e=Ic(of.mark((function e(t){var r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,sp();case 2:if(!(r=e.sent)[t]){e.next=7;break}return delete r[t],e.next=7,np.setItem(op,r);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),bp=function(){var e=Ic(of.mark((function e(t){var r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,cp();case 2:if(!(r=e.sent)[t]){e.next=7;break}return delete r[t],e.next=7,np.setItem(ap,r);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),mp=function(){var e=Ic(of.mark((function e(t){var r,n,i;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t&&t.experiments&&t.experiments.length)){e.next=13;break}n=0;case 2:if(!(n<t.experiments.length)){e.next=13;break}return r=t.experiments[n],e.next=6,lp(r.experimentId);case 6:if(!(i=e.sent)||i.endTime===r.endTime){e.next=10;break}return e.next=10,vp(r.experimentId,i.bucketId,r.endTime,r.locked);case 10:n++,e.next=2;break;case 13:return e.next=15,yp(t);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),yp=function(){var e=Ic(of.mark((function e(t){var r,n,i,o,a,u;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,cp();case 2:r=e.sent,n=Gf(r),o=0;case 5:if(!(o<n.length)){e.next=23;break}if(i=n[o],a=r[i],u=new Date(a.endTime),e.t0=u<new Date,e.t0){e.next=14;break}return e.next=13,wp(i,t);case 13:e.t0=!e.sent;case 14:if(!e.t0){e.next=20;break}if(null===a.bucketId){e.next=18;break}return e.next=18,gp(t.targetId);case 18:return e.next=20,bp(i);case 20:o++,e.next=5;break;case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),wp=function(){var e=Ic(of.mark((function e(t,r){var n;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fp(r.targetId);case 2:if(!(n=e.sent)||n.experimentId!==t){e.next=6;break}if(Ep(t,r)){e.next=6;break}return e.abrupt("return",!1);case 6:return e.abrupt("return",!0);case 7:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),Ep=function(e,t){var r;return!!Jf(r=t.experiments).call(r,(function(t){return t.experimentId===e})).length},xp=function(){var e=Ic(of.mark((function e(t){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.geoIP);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),kp=function(){var e=Ic(of.mark((function e(t){var r,n;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fp(t.targetId);case 2:if(!(r=e.sent)||!r.experimentId){e.next=9;break}return e.next=6,lp(r.experimentId);case 6:if(!(n=e.sent)||!n.locked){e.next=9;break}return e.abrupt("return",!0);case 9:return e.abrupt("return",!1);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_p=function(){var e=Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ip(),e.next=3,np.setItem(op,{});case 3:return e.next=5,np.setItem(ap,{});case 5:rp.info("Abba storage cleared. Refresh to be rebucketed.");case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();rp.setClearAbbaStorage(_p);var Sp={geoIP:xp,checkBridge:ip,setBridge:function(e){np=e},getTargetPlacement:fp,setTargetPlacement:dp,removeTargetPlacement:gp,getExperimentPlacement:lp,setExperimentPlacement:vp,removeExperimentPlacement:bp,updateExperimentEndTimes:mp,lockedInExperiment:kp,getPreview:pp,setPreview:hp,clearAbbaStorage:_p};function Ip(e,t){var r=Gf(e);if(Vf){var n=Vf(e);t&&(n=Jf(n).call(n,(function(t){return Zf(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ap(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ip(Object(r),!0).forEach((function(t){Uc(e,t,r[t])})):el?Object.defineProperties(e,el(r)):Ip(Object(r)).forEach((function(t){Object.defineProperty(e,t,Zf(r,t))}))}return e}var Op=function(){var e=Ic(of.mark((function e(t){var r,n,i,o,a,u,s,c,f,l,p;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.experiments&&t.experiments.length){e.next=2;break}return e.abrupt("return",!1);case 2:return e.next=4,Sp.updateExperimentEndTimes(t);case 4:return e.next=6,Sp.getTargetPlacement(t.targetId);case 6:if(!(n=e.sent)){e.next=16;break}if(!(r=zf(i=t.experiments).call(i,(function(e){return e.experimentId===n.experimentId})))){e.next=13;break}return e.abrupt("return",Tp(r,n.bucketId,t.config));case 13:return e.next=15,Sp.removeTargetPlacement(t.targetId);case 15:r=null;case 16:o=Math.random(),a=0,s=0;case 19:if(!(s<t.experiments.length)){e.next=47;break}return u=t.experiments[s],e.next=23,Sp.getExperimentPlacement(u.experimentId);case 23:if(f=e.sent,l=new Date(null===(c=u)||void 0===c?void 0:c.enrollmentEndDate),!f||null===f.bucketId){e.next=29;break}return e.abrupt("return",Tp(u,f.bucketId,t.config));case 29:if(isNaN(l)||!(new Date>=l)){e.next=35;break}return rp.info("User did not fall into experiment because they are not currently in experiment and past the enrollmentEndDate"),a+=u.population,e.abrupt("continue",44);case 35:if(!f||null!==f.bucketId){e.next=38;break}return a+=u.population,e.abrupt("continue",44);case 38:if(!(o>=a&&o<a+u.population)){e.next=41;break}return r=u,e.abrupt("break",47);case 41:return e.next=43,Sp.setExperimentPlacement(u.experimentId,null,u.endTime,u.locked);case 43:a+=u.population;case 44:s++,e.next=19;break;case 47:if(r){e.next=49;break}return e.abrupt("return",!1);case 49:return p=Tp(r,null,t.config),e.next=52,Sp.setExperimentPlacement(p.experimentId,p.bucketId,r.endTime,r.locked);case 52:return e.next=54,Sp.setTargetPlacement(t.targetId,p.experimentId,p.bucketId);case 54:return rp.info("Selected bucket:",p),e.abrupt("return",p);case 56:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Tp=function(e,t,r){var n,i;null!==t?n=zf(i=e.buckets).call(i,(function(e){return e.bucketId===t})):n=Pp(e);return{experimentId:e.experimentId,bucketId:n.bucketId,endTime:e.endTime,config:Ap(Ap({},r),n.config),buckets:e.buckets}},Pp=function(e){var t=Math.floor(Math.random()*e.buckets.length);return e.buckets[t]},Rp="abbaPreview",Cp="mockUserInfo",Lp="mockContextInfo",jp="mockTagsInfo",Np="mockUrlInfo",Dp="mockContentMetadata";function Up(e,t){var r=Gf(e);if(Vf){var n=Vf(e);t&&(n=Jf(n).call(n,(function(t){return Zf(e,t).enumerable}))),r.push.apply(r,n)}return r}function Mp(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Up(Object(r),!0).forEach((function(t){Uc(e,t,r[t])})):el?Object.defineProperties(e,el(r)):Up(Object(r)).forEach((function(t){Object.defineProperty(e,t,Zf(r,t))}))}return e}var Fp=function(e){try{return null!==new Ql(window.location.search).get(e)}catch(e){return!1}},Bp=function(){var e=Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",!!Sp.getPreview());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),zp=function(){var e=Ic(of.mark((function e(t){var r,n,i;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Fp(Rp)){e.next=9;break}return r=new Ql(window.location.search),n=JSON.parse(r.get(Rp)),e.next=5,Sp.setPreview(n);case 5:return rp.info("Preview param detected and applying",n),e.abrupt("return",Mp(Mp({},t),n));case 9:if(!Bp()){e.next=17;break}return e.next=12,Sp.getPreview();case 12:return i=e.sent,rp.info("Saved preview detected and applying",i),e.abrupt("return",Mp(Mp({},t),i));case 17:return rp.debug("No preview detected."),e.abrupt("return",t);case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$p=function(e){if(!Fp(e))return rp.debug("No mock info detected for key: ".concat(e)),null;var t=new Ql(window.location.search),r=JSON.parse(decodeURIComponent(t.get(e)));return rp.info("Found and applying mock info",r),r};function Gp(e,t){var r=Gf(e);if(Vf){var n=Vf(e);t&&(n=Jf(n).call(n,(function(t){return Zf(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vp(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gp(Object(r),!0).forEach((function(t){Uc(e,t,r[t])})):el?Object.defineProperties(e,el(r)):Gp(Object(r)).forEach((function(t){Object.defineProperty(e,t,Zf(r,t))}))}return e}var Hp=function(){function e(){Ac(this,e),this.config={},this.tracking={targets:new _f,experiments:new _f,sources:{}},this.reserveKeys=new _f}return Dc(e,[{key:"addTargetConfig",value:function(e,t,r){var n=this,i=Gf(e),o=Jf(i).call(i,(function(e){return n.reserveKeys.has(e)}));return o.length?(rp.debug("Tried to add target config for ".concat(t," but some keys already existed"),{targetConfig:e,overlapKeys:o}),!1):(jf(this.config,e),i.forEach((function(e){var i;n.reserveKeys.add(e),n.tracking.sources[e]={targetId:t,experimentId:null,bucketId:null,assignedDate:null!==(i=null==r?void 0:r.assignedDate)&&void 0!==i?i:new Date,assignedEndDate:null}})),this.tracking.targets.add(t),!0)}},{key:"addExperimentConfig",value:function(e,t,r,n){var i,o,a=this,u=Gf(e),s=t.split(".")[0],c=t.split(".")[1].split("=")[0],f=t.split("=")[1],l=Jf(u).call(u,(function(e){return a.reserveKeys.has(e)}));return l.length?(rp.debug(Of(i=Of(o="Tried to add experiment config for targetId ".concat(s,",\n experimentId ")).call(o,c," bucketId ")).call(i,f," but some keys already existed"),{experimentConfig:e,overlapKeys:l}),!1):(jf(this.config,e),u.forEach((function(e){a.reserveKeys.add(e)})),u.forEach((function(e){var t;a.tracking.sources[e]={targetId:s,experimentId:c,bucketId:f,assignedDate:null!==(t=null==n?void 0:n.assignedDate)&&void 0!==t?t:new Date,assignedEndDate:r}})),this.tracking.targets.add(s),this.tracking.experiments.add(t),!0)}},{key:"getConfig",value:function(){return Vp(Vp({},this.config),this.formatTracking())}},{key:"formatTracking",value:function(){return{tracking:{targets:Nf(this.tracking.targets).join(","),experiment:Nf(this.tracking.experiments).join(","),sources:this.tracking.sources}}}}]),e}(),qp=He.f,Wp=m(qp),Yp=m([].push),Jp=function(e){return function(t){for(var r,n=We(t),i=Or(n),o=i.length,a=0,u=[];o>a;)r=i[a++],$e&&!Wp(n,r)||Yp(u,e?[r,n[r]]:n[r]);return u}},Xp={entries:Jp(!0),values:Jp(!1)}.entries;At({target:"Object",stat:!0},{entries:function(e){return Xp(e)}});var Kp=$.Object.entries,Qp=Pn.map,Zp=lr("map");At({target:"Array",proto:!0,forced:!Zp},{map:function(e){return Qp(this,e,arguments.length>1?arguments[1]:void 0)}});var eh=Qo("Array").map,th=Array.prototype,rh=function(e){var t=e.map;return e===th||re(th,e)&&t===th.map?eh:t};function nh(e,t){var r=Gf(e);if(Vf){var n=Vf(e);t&&(n=Jf(n).call(n,(function(t){return Zf(e,t).enumerable}))),r.push.apply(r,n)}return r}var ih=100,oh={Author:!0,City:!0,Classification:!0,Commodity:!0,Company:!0,Country:!0,Currency:!0,Dataarticle:!0,Event:!0,Feature:!0,Fund:!0,Index:!0,Interactive:!0,Location:!0,Organization:!0,Person:!0,Region:!0,Series:!0,Slideshow:!0,Story:!0,Topic:!0,Video:!0,Storythread:!0},ah={deviceInfo:"metadata.paywall.device",referrerSource:"metadata.paywall.referrer",consent:"metadata.consent"};function uh(e){var t,r=e.baseUrl,n=function(e){var t=function(e){var t=e.id,r=e.contentType;if(void 0!==t&&Object.prototype.hasOwnProperty.call(oh,r)){var n;return{currentResource:Of(n="".concat(r,"|")).call(n,t)}}}(e),r=sh(e),n=jf({},t,{deviceInfo:r},{consent:e.personalizationAllowed},{referrerSource:e.referrerSource},{limit:null!==e.limit?ih:null},function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nh(Object(r),!0).forEach((function(t){Uc(e,t,r[t])})):el?Object.defineProperties(e,el(r)):nh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Zf(r,t))}))}return e}({},null==e?void 0:e.coordinatorQueryParams));return i=n,rh(o=Jf(a=Gf(i)).call(a,(function(e){var t=i[e];return!(null==t||""===t)}))).call(o,(function(e){var t,r=i[e],n=void 0===ah[e]?encodeURIComponent(e):encodeURIComponent(ah[e]),o=encodeURIComponent(r);return Of(t="".concat(n,"=")).call(t,o)})).join("&");var i,o,a}(e);return n?Of(t="".concat(r,"?")).call(t,n):r}function sh(e){var t,r;if(e.deviceInfo)return Of(t=Of(r="".concat(e.deviceInfo.platform,"|")).call(r,e.deviceInfo.OS,"|")).call(t,e.deviceInfo.browserName)}$.JSON||($.JSON={stringify:JSON.stringify});var ch=function(e,t,r){return yt($.JSON.stringify,null,arguments)},fh=ch,lh={thresholds:{Person:3,Company:3,Index:1,Topic:1,Commodity:1.5,City:2,Fund:1,Organization:1,Country:2,Currency:2,Region:3,Classification:2,Location:1,Event:1},targetingParamLimit:20,contextTagTypesLimit:1,confidenceThreshold:.25},ph=ta,hh=TypeError,dh=q.match(/firefox\/(\d+)/i),vh=!!dh&&+dh[1],gh=/MSIE|Trident/.test(q),bh=q.match(/AppleWebKit\/(\d+)\./),mh=!!bh&&+bh[1],yh=function(e,t){if(!delete e[t])throw hh("Cannot delete property "+ue(t)+" of "+ue(e))},wh=vh,Eh=gh,xh=mh,kh=[],_h=m(kh.sort),Sh=m(kh.push),Ih=u((function(){kh.sort(void 0)})),Ah=u((function(){kh.sort(null)})),Oh=Gc("sort"),Th=!u((function(){if(K)return K<70;if(!(wh&&wh>3)){if(Eh)return!0;if(xh)return xh<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)kh.push({k:t+n,v:r})}for(kh.sort((function(e,t){return t.v-e.v})),n=0;n<kh.length;n++)t=kh[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));At({target:"Array",proto:!0,forced:Ih||!Ah||!Oh||!Th},{sort:function(e){void 0!==e&&ce(e);var t=Ee(this);if(Th)return void 0===e?_h(t):_h(t,e);var r,n,i=[],o=ur(t);for(n=0;n<o;n++)n in t&&Sh(i,t[n]);for(sl(i,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:En(t)>En(r)?1:-1}}(e)),r=ur(i),n=0;n<r;)t[n]=i[n++];for(;n<o;)yh(t,n++);return t}});var Ph=Qo("Array").sort,Rh=Array.prototype,Ch=function(e){var t=e.sort;return e===Rh||re(Rh,e)&&t===Rh.sort?Ph:t};function Lh(e,t){var r,n;return void 0===t||t<=0?[]:ph(r=Ch(n=ph(e).call(e)).call(n,(function(e,t){return e.derivedScore<t.derivedScore?-1:e.derivedScore>t.derivedScore?1:0}))).call(r,-t).reverse()}var jh="1y";function Nh(e,t){var r;if(Object.prototype.hasOwnProperty.call(e,"assetType")&&Object.prototype.hasOwnProperty.call(e,"assetID")&&(e.statsInfo&&e.statsInfo[jh]&&(r=e.statsInfo[jh].score),r))return{id:e.assetID,derivedScore:r*t,type:e.assetType}}var Dh=lh.thresholds,Uh={Bond:!0,City:!0,Classification:!0,Commodity:!0,Company:!0,Country:!0,Currency:!0,Event:!0,Fund:!0,Index:!0,Location:!0,Organization:!0,Person:!0,Region:!0,Topic:!0},Mh={Person:"People",Company:"Tickers",Index:"Indexes",Topic:"Topics",Resourcetype:"Resourcetypes"};function Fh(e){return Jf(e).call(e,(function(e){var t=e.type;return Object.prototype.hasOwnProperty.call(Uh,t)}))}function Bh(e){return Jf(e).call(e,(function(e){var t=e.type;return e.derivedScore>=Dh[t]}))}function zh(e){return rh(e).call(e,(function(e){var t=e.derivedScore,r=e.type;return void 0===t&&(t=Dh[r]||0),jf({},e,{derivedScore:t})}))}function $h(e){return Lh(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:lh.targetingParamLimit)}function Gh(e){return Lh(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:lh.contextTagTypesLimit)}function Vh(e){return Gf(e).forEach((function(t){e[t]=e[t].join(",")})),e}function Hh(e){return e.reduce((function(e,t){var r=t.id,n=t.type;return e[n]=e[n]||[],e[n].push(r),e}),{})}function qh(e){return Gf(e).reduce((function(t,r){var n=function(e){return Mh[e]||e}(r);return t[n]=e[r],t}),{})}function Wh(e){var t,r=e.type,n=e.id;return Of(t="".concat(r,"|")).call(t,n)}function Yh(e){var t,r=e.reduce((function(e,t){return Object.prototype.hasOwnProperty.call(e,t.type)?e[t.type]+=t.derivedScore:e[t.type]=t.derivedScore,e}),{});return rh(t=Gf(r)).call(t,(function(e){return{id:e,type:"contextTagTypes",derivedScore:r[e]}}))}var Jh={targetingParamLimit:20,confidenceThreshold:0};function Xh(e){return Lh(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Jh.targetingParamLimit)}var Kh={targetingParamLimit:1,confidenceThreshold:.25},Qh={Commodity:"Quote",Company:"Quote",Currency:"Quote",Dataarticle:"Story",Feature:"Story",Fund:"Quote",Index:"Quote",Interactive:"Story",Quicktake:"Story",Slideshow:"Story",Story:"Story",Video:"Video",Storythread:"Storythread"},Zh="1y";function ed(e){return Lh(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kh.targetingParamLimit)}var td={"m.facebook.com":"FACEBOOK","www.facebook.com":"FACEBOOK","lm.facebook.com":"FACEBOOK","l.facebook.com":"FACEBOOK","t.co":"TWITTER","www.twitter.com":"TWITTER","www.linkedin.com":"LINKEDIN","lnkd.in":"LINKEDIN","touch.www.linkedin.com":"LINKEDIN","plus.url.google.com":"GOOGLE_PLUS","www.reddit.com":"REDDIT","www.bloomberg.com":"BLOOMBERG"},rd=/https?:\/\/([^ /]+)/;var nd={deepestPaywallStage:"ua_dps"};function id(e){var t,r,n=e.userInfo,i=void 0===n?{}:n,o=e.contextInfo,a=(void 0===o?{}:o).referrer,u=od(e),s=u.contextTagsTypeMap,c=u.preferredTagsTypeMap,f=u.preferredResourceTypesMap,l=u.cumulativeScoredContentTagsMap,p=ad(s,[qh,Vh]),h=ad(l,[qh,Vh]),d=ad(jf({},c,f),[qh,Vh]),v=jf({},ud(p,"context"),ud(d,"preferred"),h),g=a?{referrer:(t=a,r=rd.exec(t),null===r||""===r?t:td[r[1]]||r[1])}:{},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};null===e&&(e={});var t=e.Metadata,r=(void 0===t?{}:t).attribute,n=void 0===r?{}:r;return Gf(n).reduce((function(e,t){var r=nd[t];return r&&(e[r]=n[t]),e}),{})}(i);return jf({},g,v,b)}function od(e){var t=e.userInfo,r=e.contextInfo;t=t||{};var n=(void 0===r?{}:r).contentTags,i=void 0===n?[]:n,o=ad(i,[Fh,zh,Bh]),a=ad(o,[$h,Hh]),u=ad(i,[Yh,Gh,Hh]),s=function(e){var t=[],r=e.Tag,n=void 0===r?{}:r,i=n.Confidence,o=void 0===i?0:i,a=n.Preferences,u=void 0===a?{}:a;return o<lh.confidenceThreshold||Gf(Uh).forEach((function(e){var r=u[e];Array.isArray(r)&&r.forEach((function(e){var r=Nh(e,o);r&&t.push(r)}))})),t}(t),c=function(e){var t=e.contextTags,r=e.preferredTags,n=JSON.parse(fh(t)),i={};n.forEach((function(e){var t=Wh(e);i[t]=e}));var o=[];return r.forEach((function(e){var t=Wh(e);Object.prototype.hasOwnProperty.call(i,t)?i[t].derivedScore+=e.derivedScore:o.push(e)})),Of(n).call(n,o)}({contextTags:Jf(o).call(o,(function(e){return"Topic"!==e.type})),preferredTags:s}),f=ad(c,[$h,Hh]),l=function(e){var t=[],r=e.Author,n=void 0===r?{}:r,i=n.Confidence,o=void 0===i?0:i,a=n.Preferences,u=void 0===a?[]:a;return o<Jh.confidenceThreshold?t:Array.isArray(u)?(u.forEach((function(e){var r=Nh(e,o);r&&t.push(r)})),t):t}(t),p=ad(l,[Xh,Hh]),h=function(e){var t,r=[],n={},i=e.Resourcetype,o=void 0===i?{}:i,a=o.Confidence,u=void 0===a?0:a,s=o.Preferences,c=void 0===s?[]:s;return u<Kh.confidenceThreshold?r:Array.isArray(c)?(c.forEach((function(e){if(Object.prototype.hasOwnProperty.call(e,"assetType")){var t,r=Qh[e.assetType];r&&(e.statsInfo&&e.statsInfo[Zh]&&(t=e.statsInfo[Zh].score),n[r]=(n[r]||0)+t)}})),r=rh(t=Gf(n)).call(t,(function(e){return{id:e,type:"Resourcetype",derivedScore:n[e]}}))):r}(t);return{contextTagsTypeMap:a,preferredTagsTypeMap:f,preferredAuthorsMap:p,preferredResourceTypesMap:ad(h,[ed,Hh]),cumulativeScoredContentTagsMap:u}}function ad(e,t){return t.reduce((function(e,t){return t(e)}),e)}function ud(e,t){var r={};for(var n in e){if(e[n])r[t+n]=e[n]}return r}var sd,cd=2147483647,fd=/[^\0-\u007E]/,ld=/[.\u3002\uFF0E\uFF61]/g,pd="Overflow: input needs wider integers to process",hd=RangeError,dd=m(ld.exec),vd=Math.floor,gd=String.fromCharCode,bd=m("".charCodeAt),md=m([].join),yd=m([].push),wd=m("".replace),Ed=m("".split),xd=m("".toLowerCase),kd=function(e){return e+22+75*(e<26)},_d=function(e,t,r){var n=0;for(e=r?vd(e/700):e>>1,e+=vd(e/t);e>455;)e=vd(e/35),n+=36;return vd(n+36*e/(e+38))},Sd=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=bd(e,r++);if(i>=55296&&i<=56319&&r<n){var o=bd(e,r++);56320==(64512&o)?yd(t,((1023&i)<<10)+(1023&o)+65536):(yd(t,i),r--)}else yd(t,i)}return t}(e);var r,n,i=e.length,o=128,a=0,u=72;for(r=0;r<e.length;r++)(n=e[r])<128&&yd(t,gd(n));var s=t.length,c=s;for(s&&yd(t,"-");c<i;){var f=cd;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<f&&(f=n);var l=c+1;if(f-o>vd((cd-a)/l))throw hd(pd);for(a+=(f-o)*l,o=f,r=0;r<e.length;r++){if((n=e[r])<o&&++a>cd)throw hd(pd);if(n==o){for(var p=a,h=36;;){var d=h<=u?1:h>=u+26?26:h-u;if(p<d)break;var v=p-d,g=36-d;yd(t,gd(kd(d+v%g))),p=vd(v/g),h+=36}yd(t,gd(kd(p))),u=_d(a,l,c==s),a=0,c++}}a++,o++}return md(t,"")},Id=function(e){var t,r,n=[],i=Ed(wd(xd(e),ld,"."),".");for(t=0;t<i.length;t++)r=i[t],yd(n,dd(fd,r)?"xn--"+Sd(r):r);return md(n,".")},Ad=Bo.codeAt,Od=Tn.set,Td=Tn.getterFor("URL"),Pd=Kl.URLSearchParams,Rd=Kl.getState,Cd=G.URL,Ld=G.TypeError,jd=G.parseInt,Nd=Math.floor,Dd=Math.pow,Ud=m("".charAt),Md=m(/./.exec),Fd=m([].join),Bd=m(1..toString),zd=m([].pop),$d=m([].push),Gd=m("".replace),Vd=m([].shift),Hd=m("".split),qd=m("".slice),Wd=m("".toLowerCase),Yd=m([].unshift),Jd="Invalid scheme",Xd="Invalid host",Kd="Invalid port",Qd=/[a-z]/i,Zd=/[\d+-.a-z]/i,ev=/\d/,tv=/^0x/i,rv=/^[0-7]+$/,nv=/^\d+$/,iv=/^[\da-f]+$/i,ov=/[\0\t\n\r #%/:<>?@[\\\]^|]/,av=/[\0\t\n\r #/:<>?@[\\\]^|]/,uv=/^[\u0000-\u0020]+/,sv=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,cv=/[\t\n\r]/g,fv=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)Yd(t,e%256),e=Nd(e/256);return Fd(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(t=n,r=i),t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=Bd(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},lv={},pv=Lf({},lv,{" ":1,'"':1,"<":1,">":1,"`":1}),hv=Lf({},pv,{"#":1,"?":1,"{":1,"}":1}),dv=Lf({},hv,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),vv=function(e,t){var r=Ad(e,0);return r>32&&r<127&&!Oe(t,e)?e:encodeURIComponent(e)},gv={ftp:21,file:null,http:80,https:443,ws:80,wss:443},bv=function(e,t){var r;return 2==e.length&&Md(Qd,Ud(e,0))&&(":"==(r=Ud(e,1))||!t&&"|"==r)},mv=function(e){var t;return e.length>1&&bv(qd(e,0,2))&&(2==e.length||"/"===(t=Ud(e,2))||"\\"===t||"?"===t||"#"===t)},yv=function(e){return"."===e||"%2e"===Wd(e)},wv={},Ev={},xv={},kv={},_v={},Sv={},Iv={},Av={},Ov={},Tv={},Pv={},Rv={},Cv={},Lv={},jv={},Nv={},Dv={},Uv={},Mv={},Fv={},Bv={},zv=function(e,t,r){var n,i,o,a=En(e);if(t){if(i=this.parse(a))throw Ld(i);this.searchParams=null}else{if(void 0!==r&&(n=new zv(r,!0)),i=this.parse(a,null,n))throw Ld(i);(o=Rd(new Pd)).bindURL(this),this.searchParams=o}};zv.prototype={type:"URL",parse:function(e,t,r){var n,i,o,a,u,s=this,c=t||wv,f=0,l="",p=!1,h=!1,d=!1;for(e=En(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=Gd(e,uv,""),e=Gd(e,sv,"$1")),e=Gd(e,cv,""),n=va(e);f<=n.length;){switch(i=n[f],c){case wv:if(!i||!Md(Qd,i)){if(t)return Jd;c=xv;continue}l+=Wd(i),c=Ev;break;case Ev:if(i&&(Md(Zd,i)||"+"==i||"-"==i||"."==i))l+=Wd(i);else{if(":"!=i){if(t)return Jd;l="",c=xv,f=0;continue}if(t&&(s.isSpecial()!=Oe(gv,l)||"file"==l&&(s.includesCredentials()||null!==s.port)||"file"==s.scheme&&!s.host))return;if(s.scheme=l,t)return void(s.isSpecial()&&gv[s.scheme]==s.port&&(s.port=null));l="","file"==s.scheme?c=Lv:s.isSpecial()&&r&&r.scheme==s.scheme?c=kv:s.isSpecial()?c=Av:"/"==n[f+1]?(c=_v,f++):(s.cannotBeABaseURL=!0,$d(s.path,""),c=Mv)}break;case xv:if(!r||r.cannotBeABaseURL&&"#"!=i)return Jd;if(r.cannotBeABaseURL&&"#"==i){s.scheme=r.scheme,s.path=Qr(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,c=Bv;break}c="file"==r.scheme?Lv:Sv;continue;case kv:if("/"!=i||"/"!=n[f+1]){c=Sv;continue}c=Ov,f++;break;case _v:if("/"==i){c=Tv;break}c=Uv;continue;case Sv:if(s.scheme=r.scheme,i==sd)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=Qr(r.path),s.query=r.query;else if("/"==i||"\\"==i&&s.isSpecial())c=Iv;else if("?"==i)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=Qr(r.path),s.query="",c=Fv;else{if("#"!=i){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=Qr(r.path),s.path.length--,c=Uv;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=Qr(r.path),s.query=r.query,s.fragment="",c=Bv}break;case Iv:if(!s.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,c=Uv;continue}c=Tv}else c=Ov;break;case Av:if(c=Ov,"/"!=i||"/"!=Ud(l,f+1))continue;f++;break;case Ov:if("/"!=i&&"\\"!=i){c=Tv;continue}break;case Tv:if("@"==i){p&&(l="%40"+l),p=!0,o=va(l);for(var v=0;v<o.length;v++){var g=o[v];if(":"!=g||d){var b=vv(g,dv);d?s.password+=b:s.username+=b}else d=!0}l=""}else if(i==sd||"/"==i||"?"==i||"#"==i||"\\"==i&&s.isSpecial()){if(p&&""==l)return"Invalid authority";f-=va(l).length+1,l="",c=Pv}else l+=i;break;case Pv:case Rv:if(t&&"file"==s.scheme){c=Nv;continue}if(":"!=i||h){if(i==sd||"/"==i||"?"==i||"#"==i||"\\"==i&&s.isSpecial()){if(s.isSpecial()&&""==l)return Xd;if(t&&""==l&&(s.includesCredentials()||null!==s.port))return;if(a=s.parseHost(l))return a;if(l="",c=Dv,t)return;continue}"["==i?h=!0:"]"==i&&(h=!1),l+=i}else{if(""==l)return Xd;if(a=s.parseHost(l))return a;if(l="",c=Cv,t==Rv)return}break;case Cv:if(!Md(ev,i)){if(i==sd||"/"==i||"?"==i||"#"==i||"\\"==i&&s.isSpecial()||t){if(""!=l){var m=jd(l,10);if(m>65535)return Kd;s.port=s.isSpecial()&&m===gv[s.scheme]?null:m,l=""}if(t)return;c=Dv;continue}return Kd}l+=i;break;case Lv:if(s.scheme="file","/"==i||"\\"==i)c=jv;else{if(!r||"file"!=r.scheme){c=Uv;continue}if(i==sd)s.host=r.host,s.path=Qr(r.path),s.query=r.query;else if("?"==i)s.host=r.host,s.path=Qr(r.path),s.query="",c=Fv;else{if("#"!=i){mv(Fd(Qr(n,f),""))||(s.host=r.host,s.path=Qr(r.path),s.shortenPath()),c=Uv;continue}s.host=r.host,s.path=Qr(r.path),s.query=r.query,s.fragment="",c=Bv}}break;case jv:if("/"==i||"\\"==i){c=Nv;break}r&&"file"==r.scheme&&!mv(Fd(Qr(n,f),""))&&(bv(r.path[0],!0)?$d(s.path,r.path[0]):s.host=r.host),c=Uv;continue;case Nv:if(i==sd||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&bv(l))c=Uv;else if(""==l){if(s.host="",t)return;c=Dv}else{if(a=s.parseHost(l))return a;if("localhost"==s.host&&(s.host=""),t)return;l="",c=Dv}continue}l+=i;break;case Dv:if(s.isSpecial()){if(c=Uv,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=sd&&(c=Uv,"/"!=i))continue}else s.fragment="",c=Bv;else s.query="",c=Fv;break;case Uv:if(i==sd||"/"==i||"\\"==i&&s.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(u=Wd(u=l))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(s.shortenPath(),"/"==i||"\\"==i&&s.isSpecial()||$d(s.path,"")):yv(l)?"/"==i||"\\"==i&&s.isSpecial()||$d(s.path,""):("file"==s.scheme&&!s.path.length&&bv(l)&&(s.host&&(s.host=""),l=Ud(l,0)+":"),$d(s.path,l)),l="","file"==s.scheme&&(i==sd||"?"==i||"#"==i))for(;s.path.length>1&&""===s.path[0];)Vd(s.path);"?"==i?(s.query="",c=Fv):"#"==i&&(s.fragment="",c=Bv)}else l+=vv(i,hv);break;case Mv:"?"==i?(s.query="",c=Fv):"#"==i?(s.fragment="",c=Bv):i!=sd&&(s.path[0]+=vv(i,lv));break;case Fv:t||"#"!=i?i!=sd&&("'"==i&&s.isSpecial()?s.query+="%27":s.query+="#"==i?"%23":vv(i,lv)):(s.fragment="",c=Bv);break;case Bv:i!=sd&&(s.fragment+=vv(i,pv))}f++}},parseHost:function(e){var t,r,n;if("["==Ud(e,0)){if("]"!=Ud(e,e.length-1))return Xd;if(t=function(e){var t,r,n,i,o,a,u,s=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,p=function(){return Ud(e,l)};if(":"==p()){if(":"!=Ud(e,1))return;l+=2,f=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=r=0;r<4&&Md(iv,p());)t=16*t+jd(p(),16),l++,r++;if("."==p()){if(0==r)return;if(l-=r,c>6)return;for(n=0;p();){if(i=null,n>0){if(!("."==p()&&n<4))return;l++}if(!Md(ev,p()))return;for(;Md(ev,p());){if(o=jd(p(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;l++}s[c]=256*s[c]+i,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==p()){if(l++,!p())return}else if(p())return;s[c++]=t}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(a=c-f,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[f+a-1],s[f+--a]=u;else if(8!=c)return;return s}(qd(e,1,-1)),!t)return Xd;this.host=t}else if(this.isSpecial()){if(e=Id(e),Md(ov,e))return Xd;if(t=function(e){var t,r,n,i,o,a,u,s=Hd(e,".");if(s.length&&""==s[s.length-1]&&s.length--,(t=s.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(i=s[n]))return e;if(o=10,i.length>1&&"0"==Ud(i,0)&&(o=Md(tv,i)?16:8,i=qd(i,8==o?1:2)),""===i)a=0;else{if(!Md(10==o?nv:8==o?rv:iv,i))return e;a=jd(i,o)}$d(r,a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=Dd(256,5-t))return null}else if(a>255)return null;for(u=zd(r),n=0;n<r.length;n++)u+=r[n]*Dd(256,3-n);return u}(e),null===t)return Xd;this.host=t}else{if(Md(av,e))return Xd;for(t="",r=va(e),n=0;n<r.length;n++)t+=vv(r[n],lv);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return Oe(gv,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&bv(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,a=e.path,u=e.query,s=e.fragment,c=t+":";return null!==i?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=fv(i),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+Fd(a,"/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},setHref:function(e){var t=this.parse(e);if(t)throw Ld(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new $v(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+fv(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(En(e)+":",wv)},getUsername:function(){return this.username},setUsername:function(e){var t=va(En(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=vv(t[r],dv)}},getPassword:function(){return this.password},setPassword:function(e){var t=va(En(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=vv(t[r],dv)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?fv(e):fv(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Pv)},getHostname:function(){var e=this.host;return null===e?"":fv(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Rv)},getPort:function(){var e=this.port;return null===e?"":En(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=En(e))?this.port=null:this.parse(e,Cv))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+Fd(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Dv))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=En(e))?this.query=null:("?"==Ud(e,0)&&(e=qd(e,1)),this.query="",this.parse(e,Fv)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=En(e))?("#"==Ud(e,0)&&(e=qd(e,1)),this.fragment="",this.parse(e,Bv)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var $v=function(e){var t=js(this,Gv),r=Ru(arguments.length,1)>1?arguments[1]:void 0,n=Od(t,new zv(e,!1,r));$e||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Gv=$v.prototype,Vv=function(e,t){return{get:function(){return Td(this)[e]()},set:t&&function(e){return Td(this)[t](e)},configurable:!0,enumerable:!0}};if($e&&(Sn(Gv,"href",Vv("serialize","setHref")),Sn(Gv,"origin",Vv("getOrigin")),Sn(Gv,"protocol",Vv("getProtocol","setProtocol")),Sn(Gv,"username",Vv("getUsername","setUsername")),Sn(Gv,"password",Vv("getPassword","setPassword")),Sn(Gv,"host",Vv("getHost","setHost")),Sn(Gv,"hostname",Vv("getHostname","setHostname")),Sn(Gv,"port",Vv("getPort","setPort")),Sn(Gv,"pathname",Vv("getPathname","setPathname")),Sn(Gv,"search",Vv("getSearch","setSearch")),Sn(Gv,"searchParams",Vv("getSearchParams")),Sn(Gv,"hash",Vv("getHash","setHash"))),an(Gv,"toJSON",(function(){return Td(this).serialize()}),{enumerable:!0}),an(Gv,"toString",(function(){return Td(this).serialize()}),{enumerable:!0}),Cd){var Hv=Cd.createObjectURL,qv=Cd.revokeObjectURL;Hv&&an($v,"createObjectURL",xt(Hv,Cd)),qv&&an($v,"revokeObjectURL",xt(qv,Cd))}On($v,"URL"),At({global:!0,constructor:!0,forced:!ul,sham:!$e},{URL:$v});var Wv=te("URL"),Yv=ul&&u((function(){Wv.canParse()}));At({target:"URL",stat:!0,forced:!Yv},{canParse:function(e){var t=Ru(arguments.length,1),r=En(e),n=t<2||void 0===arguments[1]?void 0:En(arguments[1]);try{return!!new Wv(r,n)}catch(e){return!1}}});var Jv,Xv=$.URL,Kv=rh(Jv=["com","co.jp","co.uk","es","ca","de","it","fr","com.au","com.br","com.gr","co.in","co.id","com.mx","dk","com.ar","ch","cl","at","co.kr","ie","com.co","pl","pt","com.pk"]).call(Jv,(function(e){return"www.google.".concat(e)})),Qv=["","us","ca","uk","in","au","nl","nz","sg","de","es","ln","fr"],Zv=function(e){return Jf(e).call(e,(function(e){return e})).join(".")},eg=rh(Qv).call(Qv,(function(e){return Zv([e,"search.yahoo.com"])})),tg=rh(Qv).call(Qv,(function(e){return Zv([e,"video.search.yahoo.com"])})),rg={"drudgereport.com":"DRUDGEREPORT","www.drudgereport.com":"DRUDGEREPORT","m.facebook.com":"FACEBOOK","www.facebook.com":"FACEBOOK","lm.facebook.com":"FACEBOOK","l.facebook.com":"FACEBOOK","t.co":"TWITTER","www.twitter.com":"TWITTER","www.linkedin.com":"LINKEDIN","lnkd.in":"LINKEDIN","touch.www.linkedin.com":"LINKEDIN","plus.url.google.com":"GOOGLE_PLUS","www.reddit.com":"REDDIT","www.bing.com":"BING_SEARCH","bing.com":"BING_SEARCH"};Kv.forEach((function(e){return rg[e]="GOOGLE_SEARCH"})),tg.forEach((function(e){return rg[e]="YAHOO_SEARCH"})),eg.forEach((function(e){return rg[e]="YAHOO_SEARCH"}));var ng={INTERNAL_WEB:"INTERNAL",INTERNAL_MOBILE:"INTERNAL",FACEBOOK:"SOCIAL",LINKEDIN:"SOCIAL",TWITTER:"SOCIAL",GOOGLE_PLUS:"SOCIAL",REDDIT:"SOCIAL",DRUDGEREPORT:"NEWS_PORTALS",GOOGLE_SEARCH:"SEARCH",BING_SEARCH:"SEARCH",YAHOO_SEARCH:"SEARCH",OTHERS:"OTHERS"},ig="INTERNAL_WEB",og="INTERNAL_MOBILE",ag="GOOGLE_SEARCH",ug="OTHERS",sg=function(e){var t=pg(e);if(null!==t)return t;var r=lg(e);if(null===r)return ug;if(cg(r)||fg(r))return ag;var n=r.host,i=rg[n];return i||(i=ug),i},cg=function(e){var t=e.pathname,r=e.hostname;return t&&0===t.indexOf("//com.google.android.googlequicksearchbox")&&"android-app"===r},fg=function(e){var t=e.pathname,r=e.hostname;return t&&0===t.indexOf("/auth/chrome-content-suggestions")&&"googleapis.com"===r},lg=function(e){var t=null,r=RegExp("^(http|https)://.*$");if(e&&e.length>0){var n=decodeURI(e);n=hg(n),n=r.test(n)?n:"http://".concat(n),t=new Xv(n)}return t},pg=function(e){var t=null;if(e&&e.length>0){var r=hg(e);-1!==r.indexOf(".bloomberg.com")&&(t=ig),-1!==r.indexOf("mobile://")&&(t=og)}return t},hg=function(e){return e.split("\\?",2)[0]},dg=function(e,t){if(t){var r="Direct",n=t.get("utm_source")||e,i=t.get("utm_medium")||"",o=["google","bing","yahoo"],a=Of(o).call(o,["duckduckgo"]),u=["offer","nurture"],s=/.*newsletter.*/;try{if("display"===i)return"Display";if("webpush"===n)return"Web_Push";if(-1!==a.indexOf(n))return"cpc"===i?"Paid_Search":"Organic_Search";if(-1===o.indexOf(n)&&"cpc"===i)return"Paid_Social";var c=u.indexOf(n);if(-1===c&&"email"===i||s.test(n)||s.test(i))return"Newsletter";if(-1!==c&&"email"===i){var f,l=u[c];return Of(f="Email_".concat(l.charAt(0).toUpperCase())).call(f,ph(l).call(l,1))}if(new RegExp(["fb","t.co",".*facebook.*",".*twitter.*",".*instagram.*",".*likeshop.*",".*reddit.*",".*linkedin.*",".*snapchat.*"].join("|"),"i").test(n)&&"cpc"!==i)return"Organic_Social";if(""!==n)return"Referral"}catch(e){r="Direct"}return r}};var vg={v1:function(e,t,r){var n={};try{e.forEach((function(e){var i="/"===e.charAt(0)?e:"/".concat(e);if(void 0!==r[i]&&void 0!==r[i][t]){var o=r[i][t];Gf(o).forEach((function(e){var o=r[i][t][e];Object.prototype.hasOwnProperty.call(n,e)?n[e]=Math.max(n[e],o[0]/o[1]):n[e]=o[0]/o[1]}))}}))}catch(e){n={}}return{values:n}}},gg="contentMetadata",bg="mostRecentResource",mg="coordinatorServiceData",yg="abbaPlatformFeed-",wg="-expiration",Eg=/(local\.bloomberg\.com)|(localhost)/,xg=/abba-client/,kg=/4321/,_g=/(origin\.(?!(www)).*|.*staging.*|.*-stg.*|.*stg-.*|.*\.cm.*)\.bloomberg\.(com|co\.[a-zA-Z]{2})/,Sg=/.*blue\.bloomberg\.com/,Ig=/bazaar-production\.cm\.bloomberg\.com/;function Ag(){var e,t,r=null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.host;return(Eg.test(r)||_g.test(r))&&!Sg.test(r)&&!Ig.test(r)}var Og,Tg={STR_FILE_URL:"https://assets.bwbx.io/s3/mediaservices/superelastic/data.json",COORDINATOR_SERVICE_URL:Ag()?"https://coordinator-stg.cm.bloomberg.com/coordination":"https://coordinator.cm.bloomberg.com/coordination",ABBA_FEED_S3_URL_BASE:function(){var e,t,r,n,i,o,a=null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.host,u=null===(r=window)||void 0===r||null===(n=r.location)||void 0===n?void 0:n.pathname,s=null===(i=window)||void 0===i||null===(o=i.location)||void 0===o?void 0:o.port;return Eg.test(a)&&xg.test(u)||Eg.test(a)&&kg.test(s)}()?"http://local.bloomberg.com:3400/feed":Ag()?"https://assets-dev.bwbx.io/s3/abba/feed":"https://assets.bwbx.io/s3/abba/feed"},Pg=r((function(t,r){!function(e,n){var i="function",o="undefined",a="object",u="string",s="major",c="model",f="name",l="type",p="vendor",h="version",d="architecture",v="console",g="mobile",b="tablet",m="smarttv",y="wearable",w="embedded",E="Amazon",x="Apple",k="ASUS",_="BlackBerry",S="Browser",I="Chrome",A="Firefox",O="Google",T="Huawei",P="LG",R="Microsoft",C="Motorola",L="Opera",j="Samsung",N="Sharp",D="Sony",U="Xiaomi",M="Zebra",F="Facebook",B="Chromium OS",z="Mac OS",$=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},G=function(e,t){return typeof e===u&&-1!==V(t).indexOf(V(e))},V=function(e){return e.toLowerCase()},H=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===o?e:e.substring(0,350)},q=function(e,t){for(var r,o,u,s,c,f,l=0;l<t.length&&!c;){var p=t[l],h=t[l+1];for(r=o=0;r<p.length&&!c&&p[r];)if(c=p[r++].exec(e))for(u=0;u<h.length;u++)f=c[++o],typeof(s=h[u])===a&&s.length>0?2===s.length?typeof s[1]==i?this[s[0]]=s[1].call(this,f):this[s[0]]=s[1]:3===s.length?typeof s[1]!==i||s[1].exec&&s[1].test?this[s[0]]=f?f.replace(s[1],s[2]):n:this[s[0]]=f?s[1].call(this,f,s[2]):n:4===s.length&&(this[s[0]]=f?s[3].call(this,f.replace(s[1],s[2])):n):this[s]=f||n;l+=2}},W=function(e,t){for(var r in t)if(typeof t[r]===a&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(G(t[r][i],e))return"?"===r?n:r}else if(G(t[r],e))return"?"===r?n:r;return e},Y={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},J={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,h],[/opios[\/ ]+([\w\.]+)/i],[h,[f,L+" Mini"]],[/\bopr\/([\w\.]+)/i],[h,[f,L]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[f,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[h,[f,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[f,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+S],h],[/\bfocus\/([\w\.]+)/i],[h,[f,A+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[f,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[f,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[f,"MIUI "+S]],[/fxios\/([-\w\.]+)/i],[h,[f,A]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+S]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+S],h],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[f,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,F],h],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[f,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[f,I+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,I+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[f,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[h,W,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[f,A+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,h],[/(cobalt)\/([\w\.]+)/i],[f,[h,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[d,"amd64"]],[/(ia32(?=;))/i],[[d,V]],[/((?:i[346]|x)86)[;\)]/i],[[d,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[d,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[d,"armhf"]],[/windows (ce|mobile); ppc;/i],[[d,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[d,/ower/,"",V]],[/(sun4\w)[;\)]/i],[[d,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[d,V]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[p,j],[l,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[p,j],[l,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[p,x],[l,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[p,x],[l,b]],[/(macintosh);/i],[c,[p,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[p,N],[l,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[p,T],[l,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[p,T],[l,g]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[c,/_/g," "],[p,U],[l,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[p,U],[l,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[p,"OPPO"],[l,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[p,"Vivo"],[l,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[c,[p,"Realme"],[l,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[p,C],[l,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[p,C],[l,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[p,P],[l,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[p,P],[l,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[p,"Lenovo"],[l,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[p,"Nokia"],[l,g]],[/(pixel c)\b/i],[c,[p,O],[l,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[p,O],[l,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[p,D],[l,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[p,D],[l,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[p,"OnePlus"],[l,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[p,E],[l,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[p,E],[l,g]],[/(playbook);[-\w\),; ]+(rim)/i],[c,p,[l,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[p,_],[l,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[p,k],[l,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[p,k],[l,g]],[/(nexus 9)/i],[c,[p,"HTC"],[l,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[c,/_/g," "],[l,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[p,"Acer"],[l,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[p,"Meizu"],[l,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,c,[l,g]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,c,[l,b]],[/(surface duo)/i],[c,[p,R],[l,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[p,"Fairphone"],[l,g]],[/(u304aa)/i],[c,[p,"AT&T"],[l,g]],[/\bsie-(\w*)/i],[c,[p,"Siemens"],[l,g]],[/\b(rct\w+) b/i],[c,[p,"RCA"],[l,b]],[/\b(venue[\d ]{2,7}) b/i],[c,[p,"Dell"],[l,b]],[/\b(q(?:mv|ta)\w+) b/i],[c,[p,"Verizon"],[l,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[p,"Barnes & Noble"],[l,b]],[/\b(tm\d{3}\w+) b/i],[c,[p,"NuVision"],[l,b]],[/\b(k88) b/i],[c,[p,"ZTE"],[l,b]],[/\b(nx\d{3}j) b/i],[c,[p,"ZTE"],[l,g]],[/\b(gen\d{3}) b.+49h/i],[c,[p,"Swiss"],[l,g]],[/\b(zur\d{3}) b/i],[c,[p,"Swiss"],[l,b]],[/\b((zeki)?tb.*\b) b/i],[c,[p,"Zeki"],[l,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],c,[l,b]],[/\b(ns-?\w{0,9}) b/i],[c,[p,"Insignia"],[l,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[p,"NextBook"],[l,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],c,[l,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],c,[l,g]],[/\b(ph-1) /i],[c,[p,"Essential"],[l,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[p,"Envizen"],[l,b]],[/\b(trio[-\w\. ]+) b/i],[c,[p,"MachSpeed"],[l,b]],[/\btu_(1491) b/i],[c,[p,"Rotor"],[l,b]],[/(shield[\w ]+) b/i],[c,[p,"Nvidia"],[l,b]],[/(sprint) (\w+)/i],[p,c,[l,g]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[p,R],[l,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[p,M],[l,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[p,M],[l,g]],[/smart-tv.+(samsung)/i],[p,[l,m]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[p,j],[l,m]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,P],[l,m]],[/(apple) ?tv/i],[p,[c,x+" TV"],[l,m]],[/crkey/i],[[c,I+"cast"],[p,O],[l,m]],[/droid.+aft(\w)( bui|\))/i],[c,[p,E],[l,m]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[p,N],[l,m]],[/(bravia[\w ]+)( bui|\))/i],[c,[p,D],[l,m]],[/(mitv-\w{5}) bui/i],[c,[p,U],[l,m]],[/Hbbtv.*(technisat) (.*);/i],[p,c,[l,m]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,H],[c,H],[l,m]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,c,[l,v]],[/droid.+; (shield) bui/i],[c,[p,"Nvidia"],[l,v]],[/(playstation [345portablevi]+)/i],[c,[p,D],[l,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[p,R],[l,v]],[/((pebble))app/i],[p,c,[l,y]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[p,x],[l,y]],[/droid.+; (glass) \d/i],[c,[p,O],[l,y]],[/droid.+; (wt63?0{2,3})\)/i],[c,[p,M],[l,y]],[/(quest( 2| pro)?)/i],[c,[p,F],[l,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[l,w]],[/(aeobc)\b/i],[c,[p,E],[l,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[c,[l,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[l,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[l,g]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[f,[h,W,Y]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[f,"Windows"],[h,W,Y]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,z],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,h],[/\(bb(10);/i],[h,[f,_]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[f,A+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[f,I+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,B],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,h],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,h]]},X=function(t,r){if(typeof t===a&&(r=t,t=n),!(this instanceof X))return new X(t,r).getResult();var v=typeof e!==o&&e.navigator?e.navigator:n,m=t||(v&&v.userAgent?v.userAgent:""),y=v&&v.userAgentData?v.userAgentData:n,w=r?function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r}(J,r):J,E=v&&v.userAgent==m;return this.getBrowser=function(){var e={};return e[f]=n,e[h]=n,q.call(e,m,w.browser),e[s]=function(e){return typeof e===u?e.replace(/[^\d\.]/g,"").split(".")[0]:n}(e[h]),E&&v&&v.brave&&typeof v.brave.isBrave==i&&(e[f]="Brave"),e},this.getCPU=function(){var e={};return e[d]=n,q.call(e,m,w.cpu),e},this.getDevice=function(){var e={};return e[p]=n,e[c]=n,e[l]=n,q.call(e,m,w.device),E&&!e[l]&&y&&y.mobile&&(e[l]=g),E&&"Macintosh"==e[c]&&v&&typeof v.standalone!==o&&v.maxTouchPoints&&v.maxTouchPoints>2&&(e[c]="iPad",e[l]=b),e},this.getEngine=function(){var e={};return e[f]=n,e[h]=n,q.call(e,m,w.engine),e},this.getOS=function(){var e={};return e[f]=n,e[h]=n,q.call(e,m,w.os),E&&!e[f]&&y&&"Unknown"!=y.platform&&(e[f]=y.platform.replace(/chrome os/i,B).replace(/macos/i,z)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return m},this.setUA=function(e){return m=typeof e===u&&e.length>350?H(e,350):e,this},this.setUA(m),this};X.VERSION="1.0.35",X.BROWSER=$([f,h,s]),X.CPU=$([d]),X.DEVICE=$([c,p,l,v,g,m,b,y,w]),X.ENGINE=X.OS=$([f,h]),t.exports&&(r=t.exports=X),r.UAParser=X;var K=typeof e!==o&&(e.jQuery||e.Zepto);if(K&&!K.ua){var Q=new X;K.ua=Q.getResult(),K.ua.get=function(){return Q.getUA()},K.ua.set=function(e){Q.setUA(e);var t=Q.getResult();for(var r in t)K.ua[r]=t[r]}}}("object"==typeof window?window:e)})),Rg=(new Pg).getDevice(),Cg="mobile"===Rg.type,Lg="tablet"===Rg.type||(Og=!("undefined"==typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator))&&Og.platform&&(-1!==Og.platform.indexOf("iPad")||"MacIntel"===Og.platform&&Og.maxTouchPoints>1&&!window.MSStream),jg=window&&window.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},Ng=function(e,t,r){this.name=e,this.version=t,this.os=r,this.type="browser"},Dg=function(e){this.version=e,this.type="node",this.name="node",this.os=xu.platform},Ug=function(e,t,r,n){this.name=e,this.version=t,this.os=r,this.bot=n,this.type="bot-device"},Mg=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},Fg=function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},Bg=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,zg=3,$g=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],Gg=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function Vg(e){return e?Hg(e):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new Fg:"undefined"!=typeof navigator?Hg(navigator.userAgent):void 0!==xu&&xu.version?new Dg(xu.version.slice(1)):null}function Hg(e){var t=function(e){return""!==e&&$g.reduce((function(t,r){var n=r[0],i=r[1];if(t)return t;var o=i.exec(e);return!!o&&[n,o]}),!1)}(e);if(!t)return null;var r=t[0],n=t[1];if("searchbot"===r)return new Mg;var i=n[1]&&n[1].split(".").join("_").split("_").slice(0,3);i?i.length<zg&&(i=jg(jg([],i,!0),function(e){for(var t=[],r=0;r<e;r++)t.push("0");return t}(zg-i.length),!0)):i=[];var o=i.join("."),a=function(e){for(var t=0,r=Gg.length;t<r;t++){var n=Gg[t],i=n[0];if(n[1].exec(e))return i}return null}(e),u=Bg.exec(e);return u&&u[1]?new Ug(r,o,a,u[1]):new Ng(r,o,a)}var qg,Wg,Yg=function(){var e=void 0;try{var t,r,n=Vg(),i="React_Native";null!==(t=window)&&void 0!==t&&null!==(r=t.navigator)&&void 0!==r&&r.userAgent&&(i="Desktop",Cg?i="Mobile":Lg&&(i="Tablet")),e={platform:i,OS:n.os?n.os.replace(/\s/g,"_"):n.os,browserName:n.name}}catch(t){e=void 0}return e};function Jg(e,t){var r=Gf(e);if(Vf){var n=Vf(e);t&&(n=Jf(n).call(n,(function(t){return Zf(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xg(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Jg(Object(r),!0).forEach((function(t){Uc(e,t,r[t])})):el?Object.defineProperties(e,el(r)):Jg(Object(r)).forEach((function(t){Object.defineProperty(e,t,Zf(r,t))}))}return e}var Kg=null!==(qg=window)&&void 0!==qg&&null!==(Wg=qg.performance)&&void 0!==Wg&&Wg.mark?window.performance:{mark:function(){return{}},measure:function(){return{}}},Qg=gg,Zg=mg,eb=yg,tb=Tg.STR_FILE_URL,rb=Tg.COORDINATOR_SERVICE_URL,nb=Tg.ABBA_FEED_S3_URL_BASE,ib=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.strFileUrl,i=void 0===n?tb:n,o=r.coordinatorServiceUrl,a=void 0===o?rb:o,u=r.useCachedCoordinatorData,s=void 0===u||u;Ac(this,e),this._bindClassFunctions(this),this._bridge=t,this.strFileUrl=i,this.coordinatorServiceUrl=a,this.useCachedCoordinatorData=s}var t,r,n,i,o,a,u,s,c,f,l,p,h,d,v,g,b,m,y,w;return Dc(e,[{key:"_bindClassFunctions",value:function(e){e.getTags=e.getTags.bind(e),e.getUserInfo=e.getUserInfo.bind(e),e.getExtendedAccessUserState=e.getExtendedAccessUserState.bind(e),e.injectIFrame=e.injectIFrame.bind(e),e.setContentMetadata=e.setContentMetadata.bind(e),e.getContentMetadata=e.getContentMetadata.bind(e),e.getSTRValues=e.getSTRValues.bind(e),e.getUrlValues=e.getUrlValues.bind(e),e.getTargetingMetadata=e.getTargetingMetadata.bind(e),e.getAdRecommendations=e.getAdRecommendations.bind(e),e.refreshCoordinatorServiceData=e.refreshCoordinatorServiceData.bind(e),e.fetchCoordinatorServiceData=e.fetchCoordinatorServiceData.bind(e),e.refreshFeeds=e.refreshFeeds.bind(e),e._fetchAbbaFeeds=e._fetchAbbaFeeds.bind(e)}},{key:"_withUserInfo",value:(w=Ic(of.mark((function e(t){var r,n,i,o=arguments;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>1&&void 0!==o[1]?o[1]:{},e.next=3,this.getUserInfo();case 3:return n=e.sent,i=jf({},r,{userInfo:n}),e.abrupt("return",t(i));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return w.apply(this,arguments)})},{key:"refreshCoordinatorServiceData",value:(y=Ic(of.mark((function e(){var t,r,n,i,o,a,u,s,c,f,l,p,h,d,v,g,b,m,y,w,E=arguments;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(i=E.length>0&&void 0!==E[0]?E[0]:{}).forceCoordinatorFetch,a=void 0!==o&&o,u=i.coordinatorQueryParams,s=void 0===u?{}:u,Kg.mark("AbbaClient-refreshCoordinatorServiceData-Start"),c=[this._bridge.getCurrentResource(),this._bridge.getPersonalizationAllowed(),this._bridge.getReferrer(),this._bridge.getQueryParams(),this._bridge.needsPersonalizationRefresh()],e.next=5,Sf.all(c);case 5:return f=e.sent,l=f[0],p=l.id,h=l.contentType,d=f[1]||!1,v=dg(f[2],f[3]),g=f[4]||!1,e.next=12,this._bridge.getItem(Zg,!1,!0);case 12:if(b=e.sent,m={},y=!1,g||a||!b){e.next=19;break}m=b,e.next=28;break;case 19:if(!this.useCachedCoordinatorData||!b){e.next=24;break}m=b,this.fetchCoordinatorServiceData({baseUrl:this.coordinatorServiceUrl,id:p,contentType:h,deviceInfo:Yg(),referrerSource:v,personalizationAllowed:d,coordinatorQueryParams:s}),e.next=28;break;case 24:return y=!0,e.next=27,this.fetchCoordinatorServiceData({baseUrl:this.coordinatorServiceUrl,id:p,contentType:h,deviceInfo:Yg(),referrerSource:v,personalizationAllowed:d,coordinatorQueryParams:s});case 27:m=e.sent;case 28:return Kg.mark("AbbaClient-refreshCoordinatorServiceData-End"),w=Kg.measure("AbbaClient-refreshCoordinatorServiceData","AbbaClient-refreshCoordinatorServiceData-Start","AbbaClient-refreshCoordinatorServiceData-End"),rp.debug(Of(t="Resolved refreshCoordinatorServiceData in ".concat(w.duration,"ms, wasBlockingCall: ")).call(t,y,".")),null===(r=window)||void 0===r||null===(n=r.newrelic)||void 0===n||n.addPageAction("AbbaClient-refreshCoordinatorServiceData",{duration:w.duration,wasBlockingCall:y}),e.abrupt("return",{data:m,wasBlockingCall:y});case 33:case"end":return e.stop()}}),e,this)}))),function(){return y.apply(this,arguments)})},{key:"fetchCoordinatorServiceData",value:(m=Ic(of.mark((function e(t){var r,n;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Kg.mark("AbbaClient-fetchCoordinatorServiceData-Start"),e.next=3,ab(t);case 3:if(null===(r=e.sent)){e.next=8;break}return n=vb().getTime(),e.next=8,this._bridge.setItem(Zg,r,!1,n);case 8:return Kg.mark("AbbaClient-fetchCoordinatorServiceData-End"),Kg.measure("AbbaClient-fetchCoordinatorServiceData","AbbaClient-fetchCoordinatorServiceData-Start","AbbaClient-fetchCoordinatorServiceData-End"),e.abrupt("return",null!=r?r:{});case 11:case"end":return e.stop()}}),e,this)}))),function(e){return m.apply(this,arguments)})},{key:"refreshFeeds",value:(b=Ic(of.mark((function e(t){var r,n,i,o,a,u,s,c;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Kg.mark("AbbaClient-refreshFeeds-Start"),e.next=3,this._bridge.getItem(Of(r="".concat(eb)).call(r,t),!1,!0);case 3:if(u=e.sent,s=!1,u){e.next=12;break}return e.next=8,this._fetchAbbaFeeds(t);case 8:u=e.sent,s=!0,e.next=13;break;case 12:this._fetchAbbaFeeds(t);case 13:return Kg.mark("AbbaClient-refreshFeeds-End"),c=Kg.measure("AbbaClient-refreshFeeds","AbbaClient-refreshFeeds-Start","AbbaClient-refreshFeeds-End"),rp.debug(Of(n=Of(i="Resolved refreshFeeds for platform ".concat(t," in ")).call(i,c.duration,"ms, wasBlockingCall: ")).call(n,s,".")),null===(o=window)||void 0===o||null===(a=o.newrelic)||void 0===a||a.addPageAction("AbbaClient-refreshFeeds",{duration:c.duration,wasBlockingCall:s}),e.abrupt("return",{data:u,wasBlockingCall:s});case 18:case"end":return e.stop()}}),e,this)}))),function(e){return b.apply(this,arguments)})},{key:"_fetchAbbaFeeds",value:(g=Ic(of.mark((function e(t){var r,n,i,o;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Kg.mark("AbbaClient-_fetchAbbaFeeds-Start"),e.next=3,ab({baseUrl:Of(r="".concat(nb,"/")).call(r,t,".json"),limit:null},{includeCredentials:!1});case 3:if(null===(n=e.sent)){e.next=8;break}return o=(new Date).getTime()+3e5,e.next=8,this._bridge.setItem(Of(i="".concat(eb)).call(i,t),n,!1,o);case 8:return Kg.mark("AbbaClient-_fetchAbbaFeeds-End"),Kg.measure("AbbaClient-_fetchAbbaFeeds","AbbaClient-_fetchAbbaFeeds-Start","AbbaClient-_fetchAbbaFeeds-End"),e.abrupt("return",null!=n?n:{});case 11:case"end":return e.stop()}}),e,this)}))),function(e){return g.apply(this,arguments)})},{key:"getAdParams",value:function(e){return this._withUserInfo(sb,e)}},{key:"getTags",value:(v=Ic(of.mark((function e(){var t,r,n,i,o,a,u=arguments;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=u.length>0&&void 0!==u[0]?u[0]:{},o=u.length>1&&void 0!==u[1]?u[1]:{},a={},e.t0=sb,e.next=6,this.getUserInfo();case 6:return e.t1=e.sent,e.next=9,this._bridge.getReferrer();case 9:if(e.t2=e.sent,null===(r=null==o?void 0:o.contentTags)||void 0===r){e.next=14;break}e.t4=r,e.next=26;break;case 14:return e.next=16,this._bridge.getItem(Qg,!0);case 16:if(e.t6=n=e.sent,e.t5=null===e.t6,e.t5){e.next=20;break}e.t5=void 0===n;case 20:if(!e.t5){e.next=24;break}e.t7=void 0,e.next=25;break;case 24:e.t7=n.contentTags;case 25:e.t4=e.t7;case 26:if(e.t8=t=e.t4,e.t3=null!==e.t8,!e.t3){e.next=30;break}e.t3=void 0!==t;case 30:if(!e.t3){e.next=34;break}e.t9=t,e.next=35;break;case 34:e.t9=[];case 35:return e.t10=e.t9,e.t11={userInfo:e.t1,referrer:e.t2,contentTags:e.t10},a=(0,e.t0)(e.t11),e.abrupt("return",jf({},i,a));case 39:case"end":return e.stop()}}),e,this)}))),function(){return v.apply(this,arguments)})},{key:"getAdRecommendations",value:(d=Ic(of.mark((function e(){var t,r,n,i,o,a,u,s,c,f,l,p=arguments;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=p.length>0&&void 0!==p[0]?p[0]:{},(p.length>1&&void 0!==p[1]?p[1]:{}).targetingParamLimit,e.next=4,this.getUserInfo();case 4:if(i=e.sent,o={},a={HIGH:"recsh",MEDIUM:"recsm",LOW:"recsl"},null!=i&&null!==(t=i.Metadata)&&void 0!==t&&null!==(r=t.prediction)&&void 0!==r&&r.adPropensity)for(u=0,s=Kp(i.Metadata.prediction.adPropensity);u<s.length;u++)c=xa(s[u],2),f=c[0],l=c[1],o[a[f]]=l;return e.abrupt("return",jf({},n,o));case 9:case"end":return e.stop()}}),e,this)}))),function(){return d.apply(this,arguments)})},{key:"injectIFrame",value:function(e,t,r){"function"==typeof this._bridge.injectIFrame&&this._bridge.injectIFrame(e,t,r)}},{key:"getPreferredTags",value:function(e){return this._withUserInfo(cb,e)}},{key:"getPreferredResourceTypes",value:function(){return this._withUserInfo(fb)}},{key:"getPreferredAuthors",value:function(){return this._withUserInfo(lb)}},{key:"getUserSegments",value:function(){return this._withUserInfo(pb)}},{key:"getUserActions",value:function(){return this._withUserInfo(hb)}},{key:"getUserMetadata",value:(h=Ic(of.mark((function e(){var t,r,n,i,o;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getUserInfo();case 2:return t=e.sent,r=t.Metadata,i=ob((n=void 0===r?{}:r).attribute),o=jf({},n,{attribute:i}),e.abrupt("return",{Metadata:o});case 8:case"end":return e.stop()}}),e,this)}))),function(){return h.apply(this,arguments)})},{key:"getGeoIPData",value:(p=Ic(of.mark((function e(){var t;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._bridge.getItem(Zg);case 2:return t=e.sent,e.abrupt("return",(null==t?void 0:t.geoIP)||{});case 4:case"end":return e.stop()}}),e,this)}))),function(){return p.apply(this,arguments)})},{key:"getUserInfo",value:(l=Ic(of.mark((function e(){var t;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._bridge.getPersonalizationAllowed();case 2:if(e.sent){e.next=5;break}return e.abrupt("return",{});case 5:return e.next=7,this._bridge.getItem(Zg);case 7:return t=e.sent,e.abrupt("return",(null==t?void 0:t.personalization)||{});case 9:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"getExtendedAccessUserState",value:(f=Ic(of.mark((function e(){var t;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._bridge.getPersonalizationAllowed();case 2:if(e.sent){e.next=5;break}return e.abrupt("return",{});case 5:return e.next=7,this._bridge.getItem(Zg);case 7:return t=e.sent,e.abrupt("return",(null==t?void 0:t.extendedAccessUserState)||{});case 9:case"end":return e.stop()}}),e,this)}))),function(){return f.apply(this,arguments)})},{key:"getContextMetadata",value:(c=Ic(of.mark((function e(){var t;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._bridge.getReferrer();case 3:return t=e.sent,e.abrupt("return",{Metadata:{attribute:{referrer:t,domainCategory:(r=t,n=void 0,i=void 0,n=sg(r),i=ng[n],i||(i=ng.OTHERS),i)}}});case 7:return e.prev=7,e.t0=e.catch(0),console.error(e.t0),e.abrupt("return",{});case 11:case"end":return e.stop()}var r,n,i}),e,this,[[0,7]])}))),function(){return c.apply(this,arguments)})},{key:"setContentMetadata",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.adCodes,r=void 0===t?[]:t,n=e.archived,i=void 0!==n&&n,o=e.brand,a=void 0===o?"":o,u=e.contentTags,s=void 0===u?[]:u,c=e.contentType,f=void 0===c?"":c,l=e.franchise,p=void 0===l?"":l,h=e.id,d=void 0===h?"":h,v=e.metadata,g=void 0===v?{}:v,b=e.editorialPillar,m=void 0===b?"":b,y=e.recordSlug,w=void 0===y?"":y;return this._bridge.setItem(Qg,{adCodes:r,archived:i,brand:a,contentTags:s,contentType:f,franchise:p,id:d,articleMetadata:g,pillar:m,recordSlug:w},!0)}},{key:"getContentMetadata",value:(s=Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._bridge.getItem(Qg,!0);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"getSTRValues",value:(u=Ic(of.mark((function e(){var t,r,n,i,o,a,u,s;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={},r=[this._bridge.getItem(Qg,!0),this._bridge.getItem(Zg),this._fetchSTRFile(this.strFileUrl)],e.prev=2,e.next=5,Sf.all(r);case 5:return o=e.sent,a=o[0]&&o[0].adCodes||[],u=(null===(n=o[1])||void 0===n||null===(i=n.geoIP)||void 0===i?void 0:i.country)||"",s=o[2],Gf(vg).forEach((function(e){var r=vg[e];t[e]=r(a,u,s)})),e.abrupt("return",t);case 13:return e.prev=13,e.t0=e.catch(2),console.error(e.t0),e.abrupt("return",{});case 17:case"end":return e.stop()}}),e,this,[[2,13]])}))),function(){return u.apply(this,arguments)})},{key:"_fetchSTRFile",value:(a=Ic(of.mark((function e(t){var r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:if((r=e.sent).ok){e.next=5;break}throw new Error(r.statusText);case 5:return e.abrupt("return",r.json());case 6:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})},{key:"getUrlValues",value:(o=Ic(of.mark((function e(){var t,r,n;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={url:"",utmValues:void 0,queryParams:void 0},r=[this._bridge.getUrl(),this._bridge.getQueryParams("utm_.*"),this._bridge.getQueryParams()],e.prev=2,e.next=5,Sf.all(r);case 5:n=e.sent,t.url=n[0]||"",t.utmValues=n[1]||new Ql,t.queryParams=n[2]||new Ql,e.next=14;break;case 11:e.prev=11,e.t0=e.catch(2),console.log(e.t0);case 14:return e.abrupt("return",t);case 15:case"end":return e.stop()}}),e,this,[[2,11]])}))),function(){return o.apply(this,arguments)})},{key:"getTargetingMetadata",value:(i=Ic(of.mark((function e(){var t,r,n,i,o,a,u,s,c;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.getContentMetadata();case 3:if(e.t0=e.sent,e.t0){e.next=6;break}e.t0={};case 6:return t=e.t0,r=[this.getContextMetadata(),this.getAdParams(t.contentTags),this.getUrlValues(),this.getUserMetadata(),this.getGeoIPData()],e.next=10,Sf.all(r);case 10:return n=e.sent,i=xa(n,5),o=i[0],a=i[1],u=i[2],s=i[3],c=i[4],e.abrupt("return",{contextInfo:o,tagsInfo:a,urlUtmValues:u,contentMetadata:t,byzantium:s,geoIP:c});case 20:throw e.prev=20,e.t1=e.catch(0),console.error(e.t1),e.t1;case 24:case"end":return e.stop()}}),e,this,[[0,20]])}))),function(){return i.apply(this,arguments)})},{key:"getDeviceInfo",value:function(){var e=Yg();return Xg(Xg({},e),{},{deviceInfoString:sh({deviceInfo:e})})}},{key:"getReferrerSource",value:(n=Ic(of.mark((function e(){var t,r,n;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=[this._bridge.getReferrer(),this._bridge.getQueryParams()],e.next=3,Sf.all(t);case 3:return r=e.sent,n=dg(r[0],r[1]),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"getAccesslistMembership",value:(r=Ic(of.mark((function e(){var t,r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._bridge.getItem(Zg);case 2:return r=e.sent,e.abrupt("return",null!==(t=null==r?void 0:r.accesslistMembership)&&void 0!==t?t:"");case 4:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"getUserCredentials",value:(t=Ic(of.mark((function e(){var t,r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._bridge.getItem(Zg);case 2:return r=e.sent,e.abrupt("return",null!==(t=null==r?void 0:r.userCredentials)&&void 0!==t?t:{});case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}();function ob(e){var t,r,n,i,o,a=new Date,u=e&&e.firstVisitedDate?(t=a,r=e.firstVisitedDate,n=xa(r.split("-"),2),i=n[0],o=n[1],12*(t.getFullYear()-parseInt(i))+(t.getMonth()+1-parseInt(o))+1):1;return jf({},e,{calendarMonthSinceFirstVisit:u})}function ab(e){return ub.apply(this,arguments)}function ub(){return ub=Ic(of.mark((function e(t){var r,n,i,o,a,u,s,c,f,l=arguments;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(l.length>1&&void 0!==l[1]?l[1]:{}).includeCredentials,n=void 0===r||r,Kg.mark("AbbaClient-_fetchWrapper-".concat(t.baseUrl,"-Start")),i=t.fetchApi,o=void 0===i?fetch:i,a=uh(t),e.prev=4,e.next=7,o(a,{credentials:n?"include":void 0});case 7:return u=e.sent,s=u.json(),Kg.mark("AbbaClient-_fetchWrapper-".concat(t.baseUrl,"-End")),Kg.measure("AbbaClient-_fetchWrapper-".concat(t.baseUrl),"AbbaClient-_fetchWrapper-".concat(t.baseUrl,"-Start"),"AbbaClient-_fetchWrapper-".concat(t.baseUrl,"-End")),e.abrupt("return",s);case 14:return e.prev=14,e.t0=e.catch(4),console.error("Failed to fetch data from url: ".concat(a,"."),e.t0),null===(c=window)||void 0===c||null===(f=c.newrelic)||void 0===f||f.addPageAction("AbbaClient-_fetchWrapper-error",{url:a,error:e.t0}),e.abrupt("return",null);case 19:case"end":return e.stop()}}),e,null,[[4,14]])}))),ub.apply(this,arguments)}function sb(e){var t=e.userInfo,r=e.contentTags;return id({userInfo:t,contextInfo:{referrer:e.referrer,contentTags:r}})}function cb(e){return od({userInfo:e.userInfo,contextInfo:{contentTags:e.contentTags}}).preferredTagsTypeMap}function fb(e){return od({userInfo:e.userInfo}).preferredResourceTypesMap}function lb(e){return od({userInfo:e.userInfo}).preferredAuthorsMap}function pb(e){return db({userInfo:e.userInfo,targetField:"segment",outputField:"userSegments"})}function hb(e){return db({userInfo:e.userInfo,targetField:"action",outputField:"userActions"})}function db(e){var t=e.userInfo,r=e.targetField,n=e.outputField,i=(t||{}).Metadata,o=(void 0===i?{}:i)[r],a=void 0===o?[]:o;return Uc({},n,rh(a).call(a,(function(e){return e["".concat(r,"Id")]})))}function vb(){var e=new Date;return e.setUTCHours(19,0,0,0),Date.now()>e.getTime()&&e.setDate(e.getDate()+1),e}var gb=Eo,bb=Qo("Array").entries,mb=Array.prototype,yb={DOMTokenList:!0,NodeList:!0},wb=function(e){var t=e.entries;return e===mb||re(mb,e)&&t===mb.entries||Oe(yb,Ht(e))?bb:t};const Eb="bbgconsentstring";function xb(e){const t=document.cookie.match(`(^|;) ?${e}=([^;$]*)`);return t?t[2]:""}function kb(e){const t=e.split("bloomberg.");return t?.length<=1?e:`.bloomberg.${t[1]}`}function _b(e,t){return-1!==e.indexOf(t)}function Sb(){return _b(xb(Eb),"req1")}function Ib(){return _b(xb(Eb),"fun1")}function Ab(){return _b(xb(Eb),"pad1")}var Ob,Tb={includes:_b,reqAllowed:Sb,reqAllowedAsync:()=>Promise.resolve(Sb()),funAllowed:Ib,funAllowedAsync:()=>Promise.resolve(Ib()),padAllowed:Ab,padAllowedAsync:()=>Promise.resolve(Ab()),getDomain:kb,getCookieValue:xb,setCookieValue:function(e,t,r){const n=new Date;n.setTime(n.getTime()+864e5*r),document.cookie=`${e}=${t};path=/;domain=${kb(window.location.hostname)};expires=${n.toUTCString()}`}};!function(e){e.GDPR='\n <script id="gdpr-stub-script">\n !function () { var e = function () { var e, t = "__tcfapiLocator", a = [], n = window; for (; n;) { try { if (n.frames[t]) { e = n; break } } catch (e) { } if (n === window.top) break; n = n.parent } e || (!function e() { var a = n.document, r = !!n.frames[t]; if (!r) if (a.body) { var i = a.createElement("iframe"); i.style.cssText = "display:none", i.name = t, a.body.appendChild(i) } else setTimeout(e, 5); return !r }(), n.__tcfapi = function () { for (var e, t = arguments.length, n = new Array(t), r = 0; r < t; r++)n[r] = arguments[r]; if (!n.length) return a; if ("setGdprApplies" === n[0]) n.length > 3 && 2 === parseInt(n[1], 10) && "boolean" == typeof n[3] && (e = n[3], "function" == typeof n[2] && n[2]("set", !0)); else if ("ping" === n[0]) { var i = { gdprApplies: e, cmpLoaded: !1, cmpStatus: "stub" }; "function" == typeof n[2] && n[2](i) } else a.push(n) }, n.addEventListener("message", (function (e) { var t = "string" == typeof e.data, a = {}; try { a = t ? JSON.parse(e.data) : e.data } catch (e) { } var n = a.__tcfapiCall; n && window.__tcfapi(n.command, n.version, (function (a, r) { var i = { __tcfapiReturn: { returnValue: a, success: r, callId: n.callId } }; t && (i = JSON.stringify(i)), e.source.postMessage(i, "*") }), n.parameter) }), !1)) }; "undefined" != typeof module ? module.exports = e : e() }();\n <\/script>\n ',e.CCPA='\n <script id="ccpa-stub-script">\n (function () { var e = false; var c = window; var t = document; function r() { if (!c.frames["__uspapiLocator"]) { if (t.body) { var a = t.body; var e = t.createElement("iframe"); e.style.cssText = "display:none"; e.name = "__uspapiLocator"; a.appendChild(e) } else { setTimeout(r, 5) } } } r(); function p() { var a = arguments; __uspapi.a = __uspapi.a || []; if (!a.length) { return __uspapi.a } else if (a[0] === "ping") { a[2]({ gdprAppliesGlobally: e, cmpLoaded: false }, true) } else { __uspapi.a.push([].slice.apply(a)) } } function l(t) { var r = typeof t.data === "string"; try { var a = r ? JSON.parse(t.data) : t.data; if (a.__cmpCall) { var n = a.__cmpCall; c.__uspapi(n.command, n.parameter, function (a, e) { var c = { __cmpReturn: { returnValue: a, success: e, callId: n.callId } }; t.source.postMessage(r ? JSON.stringify(c) : c, "*") }) } } catch (a) { } } if (typeof __uspapi !== "function") { c.__uspapi = p; __uspapi.msgHandler = l; c.addEventListener("message", l, false) } })();\n <\/script>\n ',e.GDPR_V2='\n <script id="gdpr-stub-script">\n function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){for(var t,e,o=[],n=window,r=n;r;){try{if(r.frames.__tcfapiLocator){t=r;break}}catch(t){}if(r===n.top)break;r=n.parent}t||(function t(){var e=n.document,o=!!n.frames.__tcfapiLocator;if(!o)if(e.body){var r=e.createElement("iframe");r.style.cssText="display:none",r.name="__tcfapiLocator",e.body.appendChild(r)}else setTimeout(t,5);return!o}(),n.__tcfapi=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return o;"setGdprApplies"===n[0]?n.length>3&&2===parseInt(n[1],10)&&"boolean"==typeof n[3]&&(e=n[3],"function"==typeof n[2]&&n[2]("set",!0)):"ping"===n[0]?"function"==typeof n[2]&&n[2]({gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub"}):o.push(n)},n.addEventListener("message",(function(t){var e="string"==typeof t.data,o={};if(e)try{o=JSON.parse(t.data)}catch(t){}else o=t.data;var n="object"===_typeof(o)?o.__tcfapiCall:null;n&&window.__tcfapi(n.command,n.version,(function(o,r){var a={__tcfapiReturn:{returnValue:o,success:r,callId:n.callId}};t&&t.source&&t.source.postMessage&&t.source.postMessage(e?JSON.stringify(a):a,"*")}),n.parameter)}),!1))}();\n <\/script>\n ',e.MSPS='\n <script id="msps-stub-script">\n window.__gpp_addFrame=function(e){if(!window.frames[e])if(document.body){var t=document.createElement("iframe");t.style.cssText="display:none",t.name=e,document.body.appendChild(t)}else window.setTimeout(window.__gpp_addFrame,10,e)},window.__gpp_stub=function(){var e=arguments;if(__gpp.queue=__gpp.queue||[],__gpp.events=__gpp.events||[],!e.length||1==e.length&&"queue"==e[0])return __gpp.queue;if(1==e.length&&"events"==e[0])return __gpp.events;var t=e[0],p=e.length>1?e[1]:null,s=e.length>2?e[2]:null;if("ping"===t)p({gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:["2:tcfeuv2","5:tcfcav1","6:uspv1","7:usnatv1","8:uscav1","9:usvav1","10:uscov1","11:usutv1","12:usctv1"],cmpId:0,sectionList:[],applicableSections:[],gppString:"",parsedSections:{}},!0);else if("addEventListener"===t){"lastId"in __gpp||(__gpp.lastId=0),__gpp.lastId++;var n=__gpp.lastId;__gpp.events.push({id:n,callback:p,parameter:s}),p({eventName:"listenerRegistered",listenerId:n,data:!0,pingData:{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:["2:tcfeuv2","5:tcfcav1","6:uspv1","7:usnatv1","8:uscav1","9:usvav1","10:uscov1","11:usutv1","12:usctv1"],cmpId:0,sectionList:[],applicableSections:[],gppString:"",parsedSections:{}}},!0)}else if("removeEventListener"===t){for(var a=!1,i=0;i<__gpp.events.length;i++)if(__gpp.events[i].id==s){__gpp.events.splice(i,1),a=!0;break}p({eventName:"listenerRemoved",listenerId:s,data:a,pingData:{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:["2:tcfeuv2","5:tcfcav1","6:uspv1","7:usnatv1","8:uscav1","9:usvav1","10:uscov1","11:usutv1","12:usctv1"],cmpId:0,sectionList:[],applicableSections:[],gppString:"",parsedSections:{}}},!0)}else"hasSection"===t?p(!1,!0):"getSection"===t||"getField"===t?p(null,!0):__gpp.queue.push([].slice.apply(e))},window.__gpp_msghandler=function(e){var t="string"==typeof e.data;try{var p=t?JSON.parse(e.data):e.data}catch(e){p=null}if("object"==typeof p&&null!==p&&"__gppCall"in p){var s=p.__gppCall;window.__gpp(s.command,(function(p,n){var a={__gppReturn:{returnValue:p,success:n,callId:s.callId}};e.source.postMessage(t?JSON.stringify(a):a,"*")}),"parameter"in s?s.parameter:null,"version"in s?s.version:"1.1")}},"__gpp"in window&&"function"==typeof window.__gpp||(window.__gpp=window.__gpp_stub,window.addEventListener("message",window.__gpp_msghandler,!1),window.__gpp_addFrame("__gppLocator"));\n <\/script>\n '}(Ob||(Ob={}));var Pb={get:function(e,t){if(e&&e.cookie){var r=e.cookie.match("(^|;) ?"+t+"=([^;$]*)");if(r)return r[2]}return null}},Rb="reg-user-info-ready",Cb="session_id",Lb="session_key",jb="agent_id",Nb="_breg-uid";function Db(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=Pb.get(document,Cb),r=Pb.get(document,Lb),n=Pb.get(document,jb),i=Pb.get(document,Nb);return t&&r&&n&&i||e?{sessionId:t,sessionKey:r,agentId:n,userId:i}:null}function Ub(e){var t=null!=e?e:{},r=t.sessionId,n=t.sessionKey,i=t.agentId,o=t.userId,a={};return r&&(a.session_id=r),n&&(a.session_key=n),i&&(a.agent_id=i),o&&(a.breg=o),a}function Mb(e,t){var r=void 0!==gb&&Wo(e)||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){var r;if(!e)return;if("string"==typeof e)return Fb(e,t);var n=ph(r=Object.prototype.toString.call(e)).call(r,8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Nf(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fb(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}function Fb(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Bb=function(){function e(){Ac(this,e),window.addEventListener("beforeunload",(function(){try{window.sessionStorage.removeItem(gg),window.sessionStorage.removeItem(bg)}catch(e){}}))}return Dc(e,[{key:"setItem",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return new Sf((function(i,o){try{r?window.sessionStorage.setItem(e,fh(t)):window.localStorage.setItem(e,fh(t)),null!==n&&(r?window.sessionStorage.setItem(e+wg,fh(n)):window.localStorage.setItem(e+wg,fh(n))),i()}catch(e){o(e)}}))}},{key:"getItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return new Sf((function(n){try{if(r)if(function(e){if(!e)return!0;var t=new Date(e);return isNaN(t.getTime())&&(t=new Date(parseInt(e))),!!isNaN(t.getTime())||Date.now()>t}(t?JSON.parse(window.sessionStorage.getItem(e+wg)):JSON.parse(window.localStorage.getItem(e+wg))))return n(null);n(t?JSON.parse(window.sessionStorage.getItem(e)):JSON.parse(window.localStorage.getItem(e)))}catch(e){n(null)}}))}},{key:"getReferrer",value:function(){var e="";try{var t,r,n;e=null!==(t=null===(r=window)||void 0===r||null===(n=r.__bloomberg__)||void 0===n?void 0:n.referrer)&&void 0!==t?t:document.referrer}catch(e){}return Sf.resolve(e)}},{key:"getUrl",value:function(){var e="";try{e=window.location.href}catch(e){}return Sf.resolve(e)}},{key:"getQueryParams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=new Ql;try{var r=new Ql(window.location.search);if(e){var n,i=new RegExp(e,"i"),o=Mb(wb(r).call(r));try{for(o.s();!(n=o.n()).done;){var a=xa(n.value,2),u=a[0],s=a[1];u.match(i)&&t.append(u,s)}}catch(e){o.e(e)}finally{o.f()}}else t=r}catch(e){}return Sf.resolve(t)}},{key:"getCurrentResource",value:function(){return this.getItem(gg,!0).then((function(e){var t=null!=e?e:{},r=t.id,n=t.contentType;return r&&n?{id:r,contentType:n}:{}}))}},{key:"needsPersonalizationRefresh",value:function(){var e=this,t=!0;return this.getCurrentResource().then((function(r){var n,i=r.id,o=r.contentType,a=Of(n="".concat(o,"|")).call(n,i);return e.getItem(bg,!0).then((function(r){return t=void 0===o&&void 0===i||r!==a,e.setItem(bg,a,!0)})).then((function(){return t}))}))}},{key:"getPersonalizationAllowed",value:function(){return Sf.resolve(Tb.padAllowed())}},{key:"setPersonalizationAllowed",value:function(e){return Sf.resolve(void 0)}},{key:"getSessionInfo",value:function(){return(e=window._regUserInfo||Db())?Sf.resolve(Ub(e)):new Sf((function(t,r){var n;try{n=function(i){var o=i.detail;window.removeEventListener(Rb,n),e=o;try{t(Ub(e))}catch(e){return r("exception in _formatUserInfo")}},window.addEventListener(Rb,n),setTimeout((function(){window.removeEventListener(Rb,n),e=Db(!0),t(Ub(e))}),2e3)}catch(e){return window.removeEventListener(Rb,n),r("exception in getSessionInfo")}}));var e}},{key:"injectIFrame",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(e&&e.getElementsByTagName("iframe").length>0||""===r)return e=null,!1;var n=document.createElement("iframe");return n.setAttribute("src",r),n.setAttribute("style","width: 100%; height: "+t.height),e.appendChild(n),e=null,n=null,!0}},{key:"getCookie",value:function(e){var t=decodeURIComponent(Pb.get(document,e));try{return JSON.parse(t)}catch(e){return t}}}]),e}(),zb="Feed was null or undefined.",$b="Feed targets was null or undefined.",Gb="Feed targets was not passed as an array.",Vb="Feed targets was empty.",Hb=function(e){if(!e)throw rp.error(zb),new Error(zb);if(!e.targets)throw rp.error($b),new Error($b);if(!Array.isArray(e.targets))throw rp.error(Gb),new Error(Gb);if(0===e.targets.length)throw rp.error(Vb),new Error(Vb);return!0},qb="1.13.2",Wb=function(){function e(){Ac(this,e),this.jobQueue=[],this.running=!1}var t,r,n;return Dc(e,[{key:"push",value:(n=Ic(of.mark((function e(t){var r,n,i,o;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=new Sf((function(e,t){r=e,n=t})),o={fn:t,resolve:r,reject:n},this.jobQueue.push(o),this.runNextJob(),e.abrupt("return",i);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"runNextJob",value:(r=Ic(of.mark((function e(){var t,r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this.jobQueue.length>0)||this.running){e.next=15;break}return this.running=!0,t=this.jobQueue.shift(),e.prev=3,e.next=6,t.fn.call();case 6:r=e.sent,t.resolve(r),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),t.reject(e.t0);case 13:return this.running=!1,e.abrupt("return",this.runNextJob());case 15:case"end":return e.stop()}}),e,this,[[3,10]])}))),function(){return r.apply(this,arguments)})},{key:"flushQueue",value:(t=Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.push((function(){}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}(),Yb=new Wb,Jb=function(e){return rp.debug("Sanitizing feed"),e=e.data||e,Array.isArray(e)&&(e={targets:e}),e.targets.forEach((function(e){"string"==typeof e.config&&(e.config=JSON.parse(e.config)),"string"==typeof e.condition&&(e.condition=JSON.parse(e.condition)),e.experiments&&e.experiments.forEach((function(e){e.buckets.forEach((function(e){"string"==typeof e.config&&(e.config=JSON.parse(e.config))}))})),e.globalExperiments&&e.globalExperiments.forEach((function(e){e.buckets.forEach((function(e){"string"==typeof e.config&&(e.config=JSON.parse(e.config))}))}))})),rp.debug("Successfully sanitized feed"),e};function Xb(e){return function(e){if(Tt(e))return wa(e)}(e)||function(e){if(void 0!==No&&null!=Wo(e)||null!=e["@@iterator"])return ya(e)}(e)||Ea(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Kb=Qo("Array").values,Qb=Array.prototype,Zb={DOMTokenList:!0,NodeList:!0},em=function(e){var t=e.values;return e===Qb||re(Qb,e)&&t===Qb.values||Oe(Zb,Ht(e))?Kb:t},tm=Qo("Array").keys,rm=Array.prototype,nm={DOMTokenList:!0,NodeList:!0},im=function(e){var t=e.keys;return e===rm||re(rm,e)&&t===rm.keys||Oe(nm,Ht(e))?tm:t},om=function(){var e,t;return!(null===(e=window)||void 0===e||null===(t=e.navigator)||void 0===t||!t.userAgent)&&(Cg?"mobile":Lg?"tablet":"desktop")},am=function(){if(window&&window.navigator){var e=Vg();return e&&e.name}return!1},um=function(){if(window&&window.navigator){var e=Vg();return e&&e.os}return!1};var sm="object"==typeof xu&&xu.env&&xu.env.NODE_DEBUG&&/\bsemver\b/i.test(xu.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var cm={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},fm=r((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r}=cm,n=(t=e.exports={}).re=[],i=t.src=[],o=t.t={};let a=0;const u=(e,t,r)=>{const u=a++;sm(e,u,t),o[e]=u,i[u]=t,n[u]=new RegExp(t,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${i[o.NUMERICIDENTIFIER]})\\.(${i[o.NUMERICIDENTIFIER]})\\.(${i[o.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${i[o.NUMERICIDENTIFIERLOOSE]})\\.(${i[o.NUMERICIDENTIFIERLOOSE]})\\.(${i[o.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${i[o.NUMERICIDENTIFIER]}|${i[o.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${i[o.NUMERICIDENTIFIERLOOSE]}|${i[o.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${i[o.PRERELEASEIDENTIFIER]}(?:\\.${i[o.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${i[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[o.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${i[o.BUILDIDENTIFIER]}(?:\\.${i[o.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${i[o.MAINVERSION]}${i[o.PRERELEASE]}?${i[o.BUILD]}?`),u("FULL",`^${i[o.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${i[o.MAINVERSIONLOOSE]}${i[o.PRERELEASELOOSE]}?${i[o.BUILD]}?`),u("LOOSE",`^${i[o.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${i[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${i[o.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${i[o.XRANGEIDENTIFIER]})(?:\\.(${i[o.XRANGEIDENTIFIER]})(?:\\.(${i[o.XRANGEIDENTIFIER]})(?:${i[o.PRERELEASE]})?${i[o.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${i[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[o.XRANGEIDENTIFIERLOOSE]})(?:${i[o.PRERELEASELOOSE]})?${i[o.BUILD]}?)?)?`),u("XRANGE",`^${i[o.GTLT]}\\s*${i[o.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${i[o.GTLT]}\\s*${i[o.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),u("COERCERTL",i[o.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${i[o.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",u("TILDE",`^${i[o.LONETILDE]}${i[o.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${i[o.LONETILDE]}${i[o.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${i[o.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",u("CARET",`^${i[o.LONECARET]}${i[o.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${i[o.LONECARET]}${i[o.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${i[o.GTLT]}\\s*(${i[o.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${i[o.GTLT]}\\s*(${i[o.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${i[o.GTLT]}\\s*(${i[o.LOOSEPLAIN]}|${i[o.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${i[o.XRANGEPLAIN]})\\s+-\\s+(${i[o.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${i[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[o.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}));const lm=Object.freeze({loose:!0}),pm=Object.freeze({});var hm=e=>e?"object"!=typeof e?lm:e:pm;const dm=/^[0-9]+$/,vm=(e,t)=>{const r=dm.test(e),n=dm.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1};var gm={compareIdentifiers:vm,rcompareIdentifiers:(e,t)=>vm(t,e)},bm=[],mm=[],ym="undefined"!=typeof Uint8Array?Uint8Array:Array,wm=!1;function Em(){wm=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)bm[t]=e[t],mm[e.charCodeAt(t)]=t;mm["-".charCodeAt(0)]=62,mm["_".charCodeAt(0)]=63}function xm(e,t,r){for(var n,i,o=[],a=t;a<r;a+=3)n=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(bm[(i=n)>>18&63]+bm[i>>12&63]+bm[i>>6&63]+bm[63&i]);return o.join("")}function km(e){var t;wm||Em();for(var r=e.length,n=r%3,i="",o=[],a=16383,u=0,s=r-n;u<s;u+=a)o.push(xm(e,u,u+a>s?s:u+a));return 1===n?(t=e[r-1],i+=bm[t>>2],i+=bm[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=bm[t>>10],i+=bm[t>>4&63],i+=bm[t<<2&63],i+="="),o.push(i),o.join("")}function _m(e,t,r,n,i){var o,a,u=8*i-n-1,s=(1<<u)-1,c=s>>1,f=-7,l=r?i-1:0,p=r?-1:1,h=e[t+l];for(l+=p,o=h&(1<<-f)-1,h>>=-f,f+=u;f>0;o=256*o+e[t+l],l+=p,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=256*a+e[t+l],l+=p,f-=8);if(0===o)o=1-c;else{if(o===s)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=c}return(h?-1:1)*a*Math.pow(2,o-n)}function Sm(e,t,r,n,i,o){var a,u,s,c=8*o-i-1,f=(1<<c)-1,l=f>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:o-1,d=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=f):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+l>=1?p/s:p*Math.pow(2,1-l))*s>=2&&(a++,s/=2),a+l>=f?(u=0,a=f):a+l>=1?(u=(t*s-1)*Math.pow(2,i),a+=l):(u=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&u,h+=d,u/=256,i-=8);for(a=a<<i|u,c+=i;c>0;e[r+h]=255&a,h+=d,a/=256,c-=8);e[r+h-d]|=128*v}var Im={}.toString,Am=Array.isArray||function(e){return"[object Array]"==Im.call(e)};function Om(){return Pm.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Tm(e,t){if(Om()<t)throw new RangeError("Invalid typed array length");return Pm.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Pm.prototype:(null===e&&(e=new Pm(t)),e.length=t),e}function Pm(e,t,r){if(!(Pm.TYPED_ARRAY_SUPPORT||this instanceof Pm))return new Pm(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Lm(this,e)}return Rm(this,e,t,r)}function Rm(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);Pm.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Pm.prototype:e=jm(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!Pm.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|Um(t,r);e=Tm(e,n);var i=e.write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(Dm(t)){var r=0|Nm(t.length);return 0===(e=Tm(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?Tm(e,0):jm(e,t);if("Buffer"===t.type&&Am(t.data))return jm(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Cm(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function Lm(e,t){if(Cm(t),e=Tm(e,t<0?0:0|Nm(t)),!Pm.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function jm(e,t){var r=t.length<0?0:0|Nm(t.length);e=Tm(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function Nm(e){if(e>=Om())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Om().toString(16)+" bytes");return 0|e}function Dm(e){return!(null==e||!e._isBuffer)}function Um(e,t){if(Dm(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return fy(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ly(e).length;default:if(n)return fy(e).length;t=(""+t).toLowerCase(),n=!0}}function Mm(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Zm(this,t,r);case"utf8":case"utf-8":return Jm(this,t,r);case"ascii":return Km(this,t,r);case"latin1":case"binary":return Qm(this,t,r);case"base64":return Ym(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ey(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function Fm(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Bm(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=Pm.from(t,n)),Dm(t))return 0===t.length?-1:zm(e,t,r,n,i);if("number"==typeof t)return t&=255,Pm.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):zm(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function zm(e,t,r,n,i){var o,a=1,u=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,u/=2,s/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var f=-1;for(o=r;o<u;o++)if(c(e,o)===c(t,-1===f?0:o-f)){if(-1===f&&(f=o),o-f+1===s)return f*a}else-1!==f&&(o-=o-f),f=-1}else for(r+s>u&&(r=u-s),o=r;o>=0;o--){for(var l=!0,p=0;p<s;p++)if(c(e,o+p)!==c(t,p)){l=!1;break}if(l)return o}return-1}function $m(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(t.substr(2*a,2),16);if(isNaN(u))return a;e[r+a]=u}return a}function Gm(e,t,r,n){return py(fy(t,e.length-r),e,r,n)}function Vm(e,t,r,n){return py(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function Hm(e,t,r,n){return Vm(e,t,r,n)}function qm(e,t,r,n){return py(ly(t),e,r,n)}function Wm(e,t,r,n){return py(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function Ym(e,t,r){return 0===t&&r===e.length?km(e):km(e.slice(t,r))}function Jm(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,u,s,c=e[i],f=null,l=c>239?4:c>223?3:c>191?2:1;if(i+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128==(192&(o=e[i+1]))&&(s=(31&c)<<6|63&o)>127&&(f=s);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(s=(15&c)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(f=s);break;case 4:o=e[i+1],a=e[i+2],u=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&u)&&(s=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(f=s)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=l}return function(e){var t=e.length;if(t<=Xm)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Xm));return r}(n)}Pm.TYPED_ARRAY_SUPPORT=void 0===Ya.TYPED_ARRAY_SUPPORT||Ya.TYPED_ARRAY_SUPPORT,Om(),Pm.poolSize=8192,Pm._augment=function(e){return e.__proto__=Pm.prototype,e},Pm.from=function(e,t,r){return Rm(null,e,t,r)},Pm.TYPED_ARRAY_SUPPORT&&(Pm.prototype.__proto__=Uint8Array.prototype,Pm.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Pm[Symbol.species]),Pm.alloc=function(e,t,r){return function(e,t,r,n){return Cm(t),t<=0?Tm(e,t):void 0!==r?"string"==typeof n?Tm(e,t).fill(r,n):Tm(e,t).fill(r):Tm(e,t)}(null,e,t,r)},Pm.allocUnsafe=function(e){return Lm(null,e)},Pm.allocUnsafeSlow=function(e){return Lm(null,e)},Pm.isBuffer=function(e){return null!=e&&(!!e._isBuffer||hy(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&hy(e.slice(0,0))}(e))},Pm.compare=function(e,t){if(!Dm(e)||!Dm(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},Pm.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Pm.concat=function(e,t){if(!Am(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Pm.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=Pm.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!Dm(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},Pm.byteLength=Um,Pm.prototype._isBuffer=!0,Pm.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Fm(this,t,t+1);return this},Pm.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Fm(this,t,t+3),Fm(this,t+1,t+2);return this},Pm.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Fm(this,t,t+7),Fm(this,t+1,t+6),Fm(this,t+2,t+5),Fm(this,t+3,t+4);return this},Pm.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Jm(this,0,e):Mm.apply(this,arguments)},Pm.prototype.equals=function(e){if(!Dm(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Pm.compare(this,e)},Pm.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},Pm.prototype.compare=function(e,t,r,n,i){if(!Dm(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),u=Math.min(o,a),s=this.slice(n,i),c=e.slice(t,r),f=0;f<u;++f)if(s[f]!==c[f]){o=s[f],a=c[f];break}return o<a?-1:a<o?1:0},Pm.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Pm.prototype.indexOf=function(e,t,r){return Bm(this,e,t,r,!0)},Pm.prototype.lastIndexOf=function(e,t,r){return Bm(this,e,t,r,!1)},Pm.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return $m(this,e,t,r);case"utf8":case"utf-8":return Gm(this,e,t,r);case"ascii":return Vm(this,e,t,r);case"latin1":case"binary":return Hm(this,e,t,r);case"base64":return qm(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Wm(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},Pm.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Xm=4096;function Km(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function Qm(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function Zm(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=cy(e[o]);return i}function ey(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function ty(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function ry(e,t,r,n,i,o){if(!Dm(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function ny(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function iy(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function oy(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ay(e,t,r,n,i){return i||oy(e,0,r,4),Sm(e,t,r,n,23,4),r+4}function uy(e,t,r,n,i){return i||oy(e,0,r,8),Sm(e,t,r,n,52,8),r+8}Pm.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),Pm.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=Pm.prototype;else{var i=t-e;r=new Pm(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},Pm.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||ty(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},Pm.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||ty(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},Pm.prototype.readUInt8=function(e,t){return t||ty(e,1,this.length),this[e]},Pm.prototype.readUInt16LE=function(e,t){return t||ty(e,2,this.length),this[e]|this[e+1]<<8},Pm.prototype.readUInt16BE=function(e,t){return t||ty(e,2,this.length),this[e]<<8|this[e+1]},Pm.prototype.readUInt32LE=function(e,t){return t||ty(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Pm.prototype.readUInt32BE=function(e,t){return t||ty(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Pm.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||ty(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},Pm.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||ty(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},Pm.prototype.readInt8=function(e,t){return t||ty(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Pm.prototype.readInt16LE=function(e,t){t||ty(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Pm.prototype.readInt16BE=function(e,t){t||ty(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Pm.prototype.readInt32LE=function(e,t){return t||ty(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Pm.prototype.readInt32BE=function(e,t){return t||ty(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Pm.prototype.readFloatLE=function(e,t){return t||ty(e,4,this.length),_m(this,e,!0,23,4)},Pm.prototype.readFloatBE=function(e,t){return t||ty(e,4,this.length),_m(this,e,!1,23,4)},Pm.prototype.readDoubleLE=function(e,t){return t||ty(e,8,this.length),_m(this,e,!0,52,8)},Pm.prototype.readDoubleBE=function(e,t){return t||ty(e,8,this.length),_m(this,e,!1,52,8)},Pm.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||ry(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},Pm.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||ry(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},Pm.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||ry(this,e,t,1,255,0),Pm.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Pm.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||ry(this,e,t,2,65535,0),Pm.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ny(this,e,t,!0),t+2},Pm.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||ry(this,e,t,2,65535,0),Pm.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ny(this,e,t,!1),t+2},Pm.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||ry(this,e,t,4,4294967295,0),Pm.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):iy(this,e,t,!0),t+4},Pm.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||ry(this,e,t,4,4294967295,0),Pm.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):iy(this,e,t,!1),t+4},Pm.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);ry(this,e,t,r,i-1,-i)}var o=0,a=1,u=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===u&&0!==this[t+o-1]&&(u=1),this[t+o]=(e/a>>0)-u&255;return t+r},Pm.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);ry(this,e,t,r,i-1,-i)}var o=r-1,a=1,u=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===u&&0!==this[t+o+1]&&(u=1),this[t+o]=(e/a>>0)-u&255;return t+r},Pm.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||ry(this,e,t,1,127,-128),Pm.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Pm.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||ry(this,e,t,2,32767,-32768),Pm.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ny(this,e,t,!0),t+2},Pm.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||ry(this,e,t,2,32767,-32768),Pm.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ny(this,e,t,!1),t+2},Pm.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||ry(this,e,t,4,2147483647,-2147483648),Pm.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):iy(this,e,t,!0),t+4},Pm.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||ry(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Pm.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):iy(this,e,t,!1),t+4},Pm.prototype.writeFloatLE=function(e,t,r){return ay(this,e,t,!0,r)},Pm.prototype.writeFloatBE=function(e,t,r){return ay(this,e,t,!1,r)},Pm.prototype.writeDoubleLE=function(e,t,r){return uy(this,e,t,!0,r)},Pm.prototype.writeDoubleBE=function(e,t,r){return uy(this,e,t,!1,r)},Pm.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!Pm.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},Pm.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!Pm.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=Dm(e)?e:fy(new Pm(e,n).toString()),u=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%u]}return this};var sy=/[^+\/0-9A-Za-z-_]/g;function cy(e){return e<16?"0"+e.toString(16):e.toString(16)}function fy(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function ly(e){return function(e){var t,r,n,i,o,a;wm||Em();var u=e.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[u-2]?2:"="===e[u-1]?1:0,a=new ym(3*u/4-o),n=o>0?u-4:u;var s=0;for(t=0,r=0;t<n;t+=4,r+=3)i=mm[e.charCodeAt(t)]<<18|mm[e.charCodeAt(t+1)]<<12|mm[e.charCodeAt(t+2)]<<6|mm[e.charCodeAt(t+3)],a[s++]=i>>16&255,a[s++]=i>>8&255,a[s++]=255&i;return 2===o?(i=mm[e.charCodeAt(t)]<<2|mm[e.charCodeAt(t+1)]>>4,a[s++]=255&i):1===o&&(i=mm[e.charCodeAt(t)]<<10|mm[e.charCodeAt(t+1)]<<4|mm[e.charCodeAt(t+2)]>>2,a[s++]=i>>8&255,a[s++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(sy,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function py(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function hy(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var dy="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e},vy=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},gy=/%[sdj%]/g;function by(e){if(!Ly(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(xy(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(e).replace(gy,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),a=n[r];r<i;a=n[++r])Py(a)||!Uy(a)?o+=" "+a:o+=" "+xy(a);return o}function my(e,t){if(Ny(Ya.process))return function(){return my(e,t).apply(this,arguments)};if(!0===xu.noDeprecation)return e;var r=!1;return function(){if(!r){if(xu.throwDeprecation)throw new Error(t);xu.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}}var yy,wy={};function Ey(e){if(Ny(yy)&&(yy=xu.env.NODE_DEBUG||""),e=e.toUpperCase(),!wy[e])if(new RegExp("\\b"+e+"\\b","i").test(yy)){wy[e]=function(){var t=by.apply(null,arguments);console.error("%s %d: %s",e,0,t)}}else wy[e]=function(){};return wy[e]}function xy(e,t){var r={seen:[],stylize:_y};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Ty(t)?r.showHidden=t:t&&Wy(r,t),Ny(r.showHidden)&&(r.showHidden=!1),Ny(r.depth)&&(r.depth=2),Ny(r.colors)&&(r.colors=!1),Ny(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=ky),Sy(r,e,r.depth)}function ky(e,t){var r=xy.styles[t];return r?"["+xy.colors[r][0]+"m"+e+"["+xy.colors[r][1]+"m":e}function _y(e,t){return e}function Sy(e,t,r){if(e.customInspect&&t&&By(t.inspect)&&t.inspect!==xy&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return Ly(n)||(n=Sy(e,n,r)),n}var i=function(e,t){if(Ny(t))return e.stylize("undefined","undefined");if(Ly(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(Cy(t))return e.stylize(""+t,"number");if(Ty(t))return e.stylize(""+t,"boolean");if(Py(t))return e.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),a=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),Fy(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return Iy(t);if(0===o.length){if(By(t)){var u=t.name?": "+t.name:"";return e.stylize("[Function"+u+"]","special")}if(Dy(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(My(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Fy(t))return Iy(t)}var s,c="",f=!1,l=["{","}"];(Oy(t)&&(f=!0,l=["[","]"]),By(t))&&(c=" [Function"+(t.name?": "+t.name:"")+"]");return Dy(t)&&(c=" "+RegExp.prototype.toString.call(t)),My(t)&&(c=" "+Date.prototype.toUTCString.call(t)),Fy(t)&&(c=" "+Iy(t)),0!==o.length||f&&0!=t.length?r<0?Dy(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),s=f?function(e,t,r,n,i){for(var o=[],a=0,u=t.length;a<u;++a)Yy(t,String(a))?o.push(Ay(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(Ay(e,t,r,n,i,!0))})),o}(e,t,r,a,o):o.map((function(n){return Ay(e,t,r,a,n,f)})),e.seen.pop(),function(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(s,c,l)):l[0]+c+l[1]}function Iy(e){return"["+Error.prototype.toString.call(e)+"]"}function Ay(e,t,r,n,i,o){var a,u,s;if((s=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?u=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(u=e.stylize("[Setter]","special")),Yy(n,i)||(a="["+i+"]"),u||(e.seen.indexOf(s.value)<0?(u=Py(r)?Sy(e,s.value,null):Sy(e,s.value,r-1)).indexOf("\n")>-1&&(u=o?u.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+u.split("\n").map((function(e){return" "+e})).join("\n")):u=e.stylize("[Circular]","special")),Ny(a)){if(o&&i.match(/^\d+$/))return u;(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+": "+u}function Oy(e){return Array.isArray(e)}function Ty(e){return"boolean"==typeof e}function Py(e){return null===e}function Ry(e){return null==e}function Cy(e){return"number"==typeof e}function Ly(e){return"string"==typeof e}function jy(e){return"symbol"==typeof e}function Ny(e){return void 0===e}function Dy(e){return Uy(e)&&"[object RegExp]"===Gy(e)}function Uy(e){return"object"==typeof e&&null!==e}function My(e){return Uy(e)&&"[object Date]"===Gy(e)}function Fy(e){return Uy(e)&&("[object Error]"===Gy(e)||e instanceof Error)}function By(e){return"function"==typeof e}function zy(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function $y(e){return Pm.isBuffer(e)}function Gy(e){return Object.prototype.toString.call(e)}function Vy(e){return e<10?"0"+e.toString(10):e.toString(10)}xy.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]},xy.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Hy=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function qy(){var e,t;console.log("%s - %s",(e=new Date,t=[Vy(e.getHours()),Vy(e.getMinutes()),Vy(e.getSeconds())].join(":"),[e.getDate(),Hy[e.getMonth()],t].join(" ")),by.apply(null,arguments))}function Wy(e,t){if(!t||!Uy(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}function Yy(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Jy="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function Xy(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(Jy&&e[Jy]){var t;if("function"!=typeof(t=e[Jy]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,Jy,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Jy&&Object.defineProperty(t,Jy,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,vy(e))}function Ky(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function Qy(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!=typeof n)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return n.apply(i,arguments)};e.apply(this,t).then((function(e){xu.nextTick(o.bind(null,null,e))}),(function(e){xu.nextTick(Ky.bind(null,e,o))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,vy(e)),t}Xy.custom=Jy;var Zy={inherits:dy,_extend:Wy,log:qy,isBuffer:$y,isPrimitive:zy,isFunction:By,isError:Fy,isDate:My,isObject:Uy,isRegExp:Dy,isUndefined:Ny,isSymbol:jy,isString:Ly,isNumber:Cy,isNullOrUndefined:Ry,isNull:Py,isBoolean:Ty,isArray:Oy,inspect:xy,deprecate:my,format:by,debuglog:Ey,promisify:Xy,callbackify:Qy},ew=t(Object.freeze({__proto__:null,format:by,deprecate:my,debuglog:Ey,inspect:xy,isArray:Oy,isBoolean:Ty,isNull:Py,isNullOrUndefined:Ry,isNumber:Cy,isString:Ly,isSymbol:jy,isUndefined:Ny,isRegExp:Dy,isObject:Uy,isDate:My,isError:Fy,isFunction:By,isPrimitive:zy,isBuffer:$y,log:qy,inherits:dy,_extend:Wy,promisify:Xy,callbackify:Qy,default:Zy}));const{MAX_LENGTH:tw,MAX_SAFE_INTEGER:rw}=cm,{re:nw,t:iw}=fm,{compareIdentifiers:ow}=gm;class aw{constructor(e,t){if(t=hm(t),e instanceof aw){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${ew.inspect(e)}`);if(e.length>tw)throw new TypeError(`version is longer than ${tw} characters`);sm("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?nw[iw.LOOSE]:nw[iw.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>rw||this.major<0)throw new TypeError("Invalid major version");if(this.minor>rw||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>rw||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<rw)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(sm("SemVer.compare",this.version,this.options,e),!(e instanceof aw)){if("string"==typeof e&&e===this.version)return 0;e=new aw(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof aw||(e=new aw(e,this.options)),ow(this.major,e.major)||ow(this.minor,e.minor)||ow(this.patch,e.patch)}comparePre(e){if(e instanceof aw||(e=new aw(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],n=e.prerelease[t];if(sm("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return ow(r,n)}while(++t)}compareBuild(e){e instanceof aw||(e=new aw(e,this.options));let t=0;do{const r=this.build[t],n=e.build[t];if(sm("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(r!==n)return ow(r,n)}while(++t)}inc(e,t,r){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===ow(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}var uw=aw;var sw=(e,t,r)=>new uw(e,r).compare(new uw(t,r));var cw=(e,t,r)=>sw(e,t,r)>0;var fw=(e,t,r)=>sw(e,t,r)<0;var lw=(e,t,r)=>0===sw(e,t,r);var pw=(e,t,r)=>0!==sw(e,t,r);var hw=(e,t,r)=>sw(e,t,r)>=0;var dw=(e,t,r)=>sw(e,t,r)<=0,vw=function(){var e=Ic(of.mark((function e(t,r){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,e.t0=t.store,e.next="byzantium"===e.t0?4:"userInfo"===e.t0?5:"geo"===e.t0?6:"device"===e.t0?7:"userAgent"===e.t0?8:"os"===e.t0?9:"contextInfo"===e.t0?10:"tagsInfo"===e.t0?11:"contentMetadata"===e.t0?12:"url"===e.t0?13:"semver"===e.t0?14:15;break;case 4:return e.abrupt("return",Iw(t,r.byzantium));case 5:return e.abrupt("return",Iw(t,r));case 6:return e.abrupt("return",gw(t,r));case 7:return e.abrupt("return",bw(t));case 8:return e.abrupt("return",mw(t));case 9:return e.abrupt("return",yw(t));case 10:return e.abrupt("return",Aw(t,r.contextInfo));case 11:return e.abrupt("return",Aw(t,r.tagsInfo));case 12:return e.abrupt("return",Aw(t,r.contentMetadata));case 13:return e.abrupt("return",Ow(t,r.urlUtmValues));case 14:return e.abrupt("return",Rw(t,r.appVersion));case 15:return e.abrupt("return",!1);case 16:e.next=21;break;case 18:return e.prev=18,e.t1=e.catch(0),e.abrupt("return",!1);case 21:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(t,r){return e.apply(this,arguments)}}(),gw=function(){var e=Ic(of.mark((function e(t,r){var n,i;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Sp.geoIP(r);case 2:if(e.t1=n=e.sent,e.t0=null===e.t1,e.t0){e.next=6;break}e.t0=void 0===n;case 6:if(!e.t0){e.next=10;break}e.t2=void 0,e.next=11;break;case 10:e.t2=n.country;case 11:return i=e.t2,e.abrupt("return",Ew(i,t.value,t.comparator,t.type));case 13:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),bw=function(){var e=Ic(of.mark((function e(t){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Ew(om(),t.value,t.comparator,t.type));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),mw=function(){var e=Ic(of.mark((function e(t){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Ew(am(),t.value,t.comparator,t.type));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),yw=function(){var e=Ic(of.mark((function e(t){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Ew(um(),t.value,t.comparator,t.type));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ww=function(e,t,r){if(!t)return!1;var n=Jf(t).call(t,(function(t){return"object"!==Cc(t)?Ew(t,e.value,e.comparator,e.type):t["".concat(r,"Id")]?Ew(t["".concat(r,"Id")],e.value,e.comparator,e.type):Ew(t.id,e.value,e.comparator,e.type)}));return"not"===e.comparator?n.length===t.length:1===n.length};function Ew(e,t,r,n){var i,o,a,u,s,c,f;if("boolean"===n)return function(e,t,r){switch(r){case"eq":return e===t;case"not":return e!==t;default:return!1}}(e,t,r);"rgx"===r||"string"!==n&&"enumeration"!==n||(e=null!==(o=null===(a=e)||void 0===a||null===(u=a.toUpperCase)||void 0===u?void 0:u.call(a))&&void 0!==o?o:e,t=null!==(s=null===(c=t)||void 0===c||null===(f=c.toUpperCase)||void 0===f?void 0:f.call(c))&&void 0!==s?s:e);if(void 0===e)return!1;switch(r){case"gt":return e>t;case"lt":return e<t;case"eq":return e===t;case"not":return e!==t;case"gte":return e>=t;case"lte":return e<=t;case"ct":return-1!==e.indexOf(t);case"nct":return-1===e.indexOf(t);case"rgx":return i=new RegExp(t),null!==e.match(i);default:return!1}}var xw,kw,_w,Sw,Iw=function(e,t){var r=e.path.split("."),n=r[r.length-1],i=Cw(r,t);return Array.isArray(i)?"numeric"===e.type?function(e,t,r){if(!t)return!1;var n=zf(t).call(t,(function(t){return t["".concat(r,"Id")]===e.id}));return!!n&&Ew(n.confidence,e.value,e.comparator,e.type)}(e,i,n):ww(e,i,n):Ew(i,e.value,e.comparator,e.type)},Aw=function(e,t){var r=e.path.split("."),n=Cw(r,t);return Array.isArray(n)?ww(e,n,r[r.length-1]):Ew(n,e.value,e.comparator,e.type)},Ow=function(e,t){switch(e.id){case"utmCode":return Tw(e,t.utmValues);case"queryParameters":return Pw(e,t.queryParams);case"url":return Aw(e,t)}},Tw=function(e,t){return Xb(em(t).call(t)).some((function(t){return Ew(t,e.value,e.comparator,e.type)}))},Pw=function(e,t){var r;return Jf(r=Xb(im(t).call(t))).call(r,(function(t){return Ew(t,e.indicator_value,e.indicator_comparator,e.type)})).some((function(r){return Ew(t.get(r),e.value,e.comparator,e.type)}))},Rw=function(e,t){switch(e.comparator){case"gt":return cw(t,e.value);case"lt":return fw(t,e.value);case"eq":return lw(t,e.value);case"not":return pw(t,e.value);case"gte":return hw(t,e.value);case"lte":return dw(t,e.value);default:return!1}},Cw=function(e,t){return e.reduce((function(e,t){return void 0!==e&&void 0!==e[t]?e[t]:void 0}),t)},Lw=function(){var e=Ic(of.mark((function e(t,r){var n,i,o;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t.or){e.next=15;break}i=0;case 2:if(!(i<t.or.length)){e.next=12;break}return n=t.or[i],e.next=6,Lw(n,r);case 6:if(!e.sent){e.next=9;break}return e.abrupt("return",!0);case 9:i++,e.next=2;break;case 12:return e.abrupt("return",!1);case 15:if(void 0===t.and){e.next=30;break}o=0;case 17:if(!(o<t.and.length)){e.next=27;break}return n=t.and[o],e.next=21,Lw(n,r);case 21:if(e.sent){e.next=24;break}return e.abrupt("return",!1);case 24:o++,e.next=17;break;case 27:return e.abrupt("return",!0);case 30:return e.abrupt("return",vw(t,r));case 31:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),jw=function(){var e=Ic(of.mark((function e(t){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Sf((function(e,r){var n,i;null===(n=chrome)||void 0===n||null===(i=n.runtime)||void 0===i||i.sendMessage(t,{message:{readyForMockValues:!0}},(function(t){t.mockValues?rp.info("Received mock values from Impersonator of ".concat(fh(t.mockValues))):rp.error("Failed to receive mock values from Impersonator"),e(t.mockValues)}))})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Nw=r((function(t,r){var n="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object AsyncFunction]",u="[object Function]",s="[object GeneratorFunction]",c="[object Null]",f="[object Object]",l="[object Proxy]",p="[object Undefined]",h=/^\[object .+?Constructor\]$/,d=/^(?:0|[1-9]\d*)$/,v={};v["[object Float32Array]"]=v["[object Float64Array]"]=v["[object Int8Array]"]=v["[object Int16Array]"]=v["[object Int32Array]"]=v["[object Uint8Array]"]=v["[object Uint8ClampedArray]"]=v["[object Uint16Array]"]=v["[object Uint32Array]"]=!0,v[o]=v["[object Array]"]=v["[object ArrayBuffer]"]=v["[object Boolean]"]=v["[object DataView]"]=v["[object Date]"]=v["[object Error]"]=v[u]=v["[object Map]"]=v["[object Number]"]=v[f]=v["[object RegExp]"]=v["[object Set]"]=v["[object String]"]=v["[object WeakMap]"]=!1;var g="object"==typeof e&&e&&e.Object===Object&&e,b="object"==typeof self&&self&&self.Object===Object&&self,m=g||b||Function("return this")(),y=r&&!r.nodeType&&r,w=y&&t&&!t.nodeType&&t,E=w&&w.exports===y,x=E&&g.process,k=function(){try{var e=w&&w.require&&w.require("util").types;return e||x&&x.binding&&x.binding("util")}catch(e){}}(),_=k&&k.isTypedArray;var S,I,A=Array.prototype,O=Function.prototype,T=Object.prototype,P=m["__core-js_shared__"],R=O.toString,C=T.hasOwnProperty,L=function(){var e=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),j=T.toString,N=R.call(Object),D=RegExp("^"+R.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=E?m.Buffer:void 0,M=m.Symbol,F=m.Uint8Array,B=U?U.allocUnsafe:void 0,z=(S=Object.getPrototypeOf,I=Object,function(e){return S(I(e))}),$=Object.create,G=T.propertyIsEnumerable,V=A.splice,H=M?M.toStringTag:void 0,q=function(){try{var e=me(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),W=U?U.isBuffer:void 0,Y=Math.max,J=Date.now,X=me(m,"Map"),K=me(Object,"create"),Q=function(){function e(){}return function(t){if(!Pe(t))return{};if($)return $(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function Z(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ee(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function te(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function re(e){var t=this.__data__=new ee(e);this.size=t.size}function ne(e,t){var r=Se(e),n=!r&&_e(e),i=!r&&!n&&Ae(e),o=!r&&!n&&!i&&Ce(e),a=r||n||i||o,u=a?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],s=u.length;for(var c in e)!t&&!C.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ye(c,s))||u.push(c);return u}function ie(e,t,r){(void 0!==r&&!ke(e[t],r)||void 0===r&&!(t in e))&&ue(e,t,r)}function oe(e,t,r){var n=e[t];C.call(e,t)&&ke(n,r)&&(void 0!==r||t in e)||ue(e,t,r)}function ae(e,t){for(var r=e.length;r--;)if(ke(e[r][0],t))return r;return-1}function ue(e,t,r){"__proto__"==t&&q?q(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}Z.prototype.clear=function(){this.__data__=K?K(null):{},this.size=0},Z.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Z.prototype.get=function(e){var t=this.__data__;if(K){var r=t[e];return r===n?void 0:r}return C.call(t,e)?t[e]:void 0},Z.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:C.call(t,e)},Z.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=K&&void 0===t?n:t,this},ee.prototype.clear=function(){this.__data__=[],this.size=0},ee.prototype.delete=function(e){var t=this.__data__,r=ae(t,e);return!(r<0)&&(r==t.length-1?t.pop():V.call(t,r,1),--this.size,!0)},ee.prototype.get=function(e){var t=this.__data__,r=ae(t,e);return r<0?void 0:t[r][1]},ee.prototype.has=function(e){return ae(this.__data__,e)>-1},ee.prototype.set=function(e,t){var r=this.__data__,n=ae(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},te.prototype.clear=function(){this.size=0,this.__data__={hash:new Z,map:new(X||ee),string:new Z}},te.prototype.delete=function(e){var t=be(this,e).delete(e);return this.size-=t?1:0,t},te.prototype.get=function(e){return be(this,e).get(e)},te.prototype.has=function(e){return be(this,e).has(e)},te.prototype.set=function(e,t){var r=be(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},re.prototype.clear=function(){this.__data__=new ee,this.size=0},re.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},re.prototype.get=function(e){return this.__data__.get(e)},re.prototype.has=function(e){return this.__data__.has(e)},re.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ee){var n=r.__data__;if(!X||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new te(n)}return r.set(e,t),this.size=r.size,this};var se,ce=function(e,t,r){for(var n=-1,i=Object(e),o=r(e),a=o.length;a--;){var u=o[se?a:++n];if(!1===t(i[u],u,i))break}return e};function fe(e){return null==e?void 0===e?p:c:H&&H in Object(e)?function(e){var t=C.call(e,H),r=e[H];try{e[H]=void 0;var n=!0}catch(e){}var i=j.call(e);n&&(t?e[H]=r:delete e[H]);return i}(e):function(e){return j.call(e)}(e)}function le(e){return Re(e)&&fe(e)==o}function pe(e){return!(!Pe(e)||function(e){return!!L&&L in e}(e))&&(Oe(e)?D:h).test(function(e){if(null!=e){try{return R.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function he(e){if(!Pe(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=we(e),r=[];for(var n in e)("constructor"!=n||!t&&C.call(e,n))&&r.push(n);return r}function de(e,t,r,n,i){e!==t&&ce(t,(function(o,a){if(i||(i=new re),Pe(o))!function(e,t,r,n,i,o,a){var u=Ee(e,r),s=Ee(t,r),c=a.get(s);if(c)return void ie(e,r,c);var l=o?o(u,s,r+"",e,t,a):void 0,p=void 0===l;if(p){var h=Se(s),d=!h&&Ae(s),v=!h&&!d&&Ce(s);l=s,h||d||v?Se(u)?l=u:Re(w=u)&&Ie(w)?l=function(e,t){var r=-1,n=e.length;t||(t=Array(n));for(;++r<n;)t[r]=e[r];return t}(u):d?(p=!1,l=function(e,t){if(t)return e.slice();var r=e.length,n=B?B(r):new e.constructor(r);return e.copy(n),n}(s,!0)):v?(p=!1,g=s,b=!0?(m=g.buffer,y=new m.constructor(m.byteLength),new F(y).set(new F(m)),y):g.buffer,l=new g.constructor(b,g.byteOffset,g.length)):l=[]:function(e){if(!Re(e)||fe(e)!=f)return!1;var t=z(e);if(null===t)return!0;var r=C.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&R.call(r)==N}(s)||_e(s)?(l=u,_e(u)?l=function(e){return function(e,t,r,n){var i=!r;r||(r={});var o=-1,a=t.length;for(;++o<a;){var u=t[o],s=n?n(r[u],e[u],u,r,e):void 0;void 0===s&&(s=e[u]),i?ue(r,u,s):oe(r,u,s)}return r}(e,Le(e))}(u):Pe(u)&&!Oe(u)||(l=function(e){return"function"!=typeof e.constructor||we(e)?{}:Q(z(e))}(s))):p=!1}var g,b,m,y;var w;p&&(a.set(s,l),i(l,s,n,o,a),a.delete(s));ie(e,r,l)}(e,t,a,r,de,n,i);else{var u=n?n(Ee(e,a),o,a+"",e,t,i):void 0;void 0===u&&(u=o),ie(e,a,u)}}),Le)}function ve(e,t){return xe(function(e,t,r){return t=Y(void 0===t?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=Y(n.length-t,0),a=Array(o);++i<o;)a[i]=n[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=n[i];return u[t]=r(a),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(e,this,u)}}(e,t,De),e+"")}var ge=q?function(e,t){return q(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:De;function be(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function me(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return pe(r)?r:void 0}function ye(e,t){var r=typeof e;return!!(t=null==t?i:t)&&("number"==r||"symbol"!=r&&d.test(e))&&e>-1&&e%1==0&&e<t}function we(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||T)}function Ee(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var xe=function(e){var t=0,r=0;return function(){var n=J(),i=16-(n-r);if(r=n,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ge);function ke(e,t){return e===t||e!=e&&t!=t}var _e=le(function(){return arguments}())?le:function(e){return Re(e)&&C.call(e,"callee")&&!G.call(e,"callee")},Se=Array.isArray;function Ie(e){return null!=e&&Te(e.length)&&!Oe(e)}var Ae=W||function(){return!1};function Oe(e){if(!Pe(e))return!1;var t=fe(e);return t==u||t==s||t==a||t==l}function Te(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Pe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Re(e){return null!=e&&"object"==typeof e}var Ce=_?function(e){return function(t){return e(t)}}(_):function(e){return Re(e)&&Te(e.length)&&!!v[fe(e)]};function Le(e){return Ie(e)?ne(e,!0):he(e)}var je,Ne=(je=function(e,t,r){de(e,t,r)},ve((function(e,t){var r=-1,n=t.length,i=n>1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(i=je.length>3&&"function"==typeof i?(n--,i):void 0,o&&function(e,t,r){if(!Pe(r))return!1;var n=typeof t;return!!("number"==n?Ie(r)&&ye(t,r.length):"string"==n&&t in r)&&ke(r[t],e)}(t[0],t[1],o)&&(i=n<3?void 0:i,n=1),e=Object(e);++r<n;){var a=t[r];a&&je(e,a,r,i)}return e})));function De(e){return e}t.exports=Ne})),Dw="reg-user-info-ready",Uw=null!==(xw=window)&&void 0!==xw&&null!==(kw=xw.performance)&&void 0!==kw&&kw.mark?window.performance:{mark:function(){return{}},measure:function(){return{}}},Mw=function(){function e(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.platform,i=void 0===n?"frontend":n,o=r.bridge,a=void 0===o?null:o,u=r.options,s=void 0===u?{useCachedCoordinatorData:!0,forceDebugLogLevel:null,suppressDebugPopup:!1}:u;Ac(this,e),Uc(this,"refresh",this._init),Uc(this,"evaluateUrlInfo",Ow),this._bindClassFunctions(this),rp._init(s.forceDebugLogLevel,s.suppressDebugPopup),rp.info("Abba-Client version ".concat(qb)),this._platform=i,this._assignedTargetIds=new _f,this._assignedExperimentIds=new _f,this._bridge=null!=a?a:new Bb,Sp.setBridge(this._bridge),rp.debug("Bridge set"),this._byzantium=new ib(this._bridge,{useCachedCoordinatorData:null===(t=s.useCachedCoordinatorData)||void 0===t||t}),rp.debug("Byzantium initialized")}var t,r,n,i,o,a,u,s,c,f,l,p,h,d,v,g,b,m,y,w,E;return Dc(e,[{key:"_bindClassFunctions",value:function(e){e._init=e._init.bind(e),e.getConfig=e.getConfig.bind(e),e._getConfig=e._getConfig.bind(e),e.getAccesslistMembership=e.getAccesslistMembership.bind(e),e.getAdParams=e.getAdParams.bind(e),e.getAdRecommendations=e.getAdRecommendations.bind(e),e.getDeviceInfo=e.getDeviceInfo.bind(e),e.getGeoIPData=e.getGeoIPData.bind(e),e.getPreferredAuthors=e.getPreferredAuthors.bind(e),e.getReferrerSource=e.getReferrerSource.bind(e),e.getSTRValues=e.getSTRValues.bind(e),e.getTags=e.getTags.bind(e),e.getPreferredTags=e.getPreferredTags.bind(e),e.getUserCredentials=e.getUserCredentials.bind(e),e.getUserInfo=e.getUserInfo.bind(e),e.setPersonalizationAllowedForMobileApp=e.setPersonalizationAllowedForMobileApp.bind(e),e._getRegSubUserInfo=e._getRegSubUserInfo.bind(e),e.getExperiencePreferenceFromCookie=e.getExperiencePreferenceFromCookie.bind(e)}},{key:"_init",value:(E=Ic(of.mark((function e(){var t,r,n,i,o,a,u,s,c,f,l,p=this,h=arguments;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(t=h.length>0&&void 0!==h[0]?h[0]:{}).contentMetadata,n=void 0===r?{}:r,i=t.abbaFeeds,o=void 0===i?null:i,a=t.coordinatorQueryParams,u=void 0===a?{}:a,s=t.options,c=void 0===s?{forceCoordinatorFetch:!1}:s,Uw.mark("AbbaClient-_init-Start"),e.next=4,this._bridge.getItem("inImpersonatorMode",!0);case 4:return e.t0=e.sent,f=!0===e.t0,e.next=8,this._bridge.getItem("impersonatorExtensionId",!0);case 8:if(l=e.sent,!f||!l){e.next=15;break}return e.next=12,jw(l);case 12:this._impersonatorMockData=e.sent,e.next=16;break;case 15:f&&!l&&rp.error("In impersonator mode but missing extension id. Value was: ".concat(l));case 16:rp.debug("Queueing Byzantium setContentMetadata and refreshCoordinatorServiceData calls"),Yb.push(Ic(of.mark((function e(){var t,r,i,a,s,f,l,h,d,v;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=function(){var e=Ic(of.mark((function e(){var t;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p._byzantium.setContentMetadata(n);case 2:return e.next=4,p._byzantium.refreshCoordinatorServiceData({forceCoordinatorFetch:null!==(t=c.forceCoordinatorFetch)&&void 0!==t&&t,coordinatorQueryParams:u});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),a=function(){var e=Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!o){e.next=2;break}return e.abrupt("return",{data:o,wasBlockingCall:!1});case 2:return e.abrupt("return",p._byzantium.refreshFeeds(p._platform));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),s=[i(),a()],e.next=5,Sf.all(s);case 5:f=e.sent,l=xa(f,2),h=l[0],d=l[1],p._feeds=d.data,Uw.mark("AbbaClient-_init-End"),v=Uw.measure("AbbaClient-_init","AbbaClient-_init-Start","AbbaClient-_init-End"),null===(t=window)||void 0===t||null===(r=t.newrelic)||void 0===r||r.addPageAction("AbbaClient-_init",{duration:v.duration,neededBlockingCalls:h.wasBlockingCall||d.wasBlockingCall,blockedByCoordinator:h.wasBlockingCall,blockedByFeeds:d.wasBlockingCall}),rp.debug("Resolved Byzantium getAbbaFeeds, setContentMetadata and refreshCoordinatorServiceData calls");case 14:case"end":return e.stop()}}),e)}))));case 18:case"end":return e.stop()}}),e,this)}))),function(){return E.apply(this,arguments)})},{key:"getConfig",value:(w=Ic(of.mark((function e(t){var r,n,i=this,o=arguments;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},t){e.next=3;break}throw new Error("You must provide a platformObject name for getConfig to obtain its abba target/experiment feed.");case 3:return rp.info("Queueing getConfig call for platformObject: ".concat(t)),e.next=6,Yb.push(Ic(of.mark((function e(){var n,o,a,u;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=null!==(n=null==i?void 0:i._feeds[t])&&void 0!==n?n:null){e.next=3;break}throw new Error(Of(a="The feed for platform object ".concat(t," is not present in the ")).call(a,i._platform," feeds object"));case 3:return e.next=5,i._getConfig(o,r);case 5:return u=e.sent,rp.info("Resolved getConfig call for platformObject: ".concat(t)),e.abrupt("return",u);case 8:case"end":return e.stop()}}),e)}))));case 6:return n=e.sent,e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)}))),function(e){return w.apply(this,arguments)})},{key:"_getConfig",value:(y=Ic(of.mark((function e(t){var r,n,i,o,a,u,s,c,f,l,p,h,d,v,g,b,m,y,w,E,x,k,_,S,I,A,O,T,P,R,C,L,j,N,D,U,M,F=this,B=arguments;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=B.length>1&&void 0!==B[1]?B[1]:{},e.prev=1,t=Jb(t),Hb(t),rp.info("Received valid feed",t),rp.info("Provided user info",r),e.next=8,this._byzantium.getTargetingMetadata();case 8:n=e.sent,i=n.contextInfo,o=void 0===i?$p(Lp):i,a=n.tagsInfo,u=void 0===a?$p(jp):a,s=n.urlUtmValues,c=void 0===s?$p(Np):s,f=n.contentMetadata,l=void 0===f?$p(Dp):f,p=n.byzantium,h=n.geoIP,$p(Cp)?r=$p(Cp):(r=jf({},r,{byzantium:p},{contextInfo:o},{tagsInfo:u},{urlUtmValues:c},{contentMetadata:l},{geoIP:h}),this._impersonatorMockData&&(r=Nw(r,null!==(d=this._impersonatorMockData)&&void 0!==d?d:{}))),rp.info("Final user info set",r),v=new Hp,rp.debug("Evaluating experiments..."),g=t.targets.length-1;case 16:if(!(g>=0)){e.next=62;break}return b=t.targets[g],e.next=20,Sp.lockedInExperiment(b);case 20:return m=e.sent,e.next=23,Lw(b.condition,r);case 23:if(y=e.sent,!m&&!y){e.next=58;break}return rp.info(Of(w=Of(E="Experiment evaluation met the condition for target ".concat(b.targetId,"\n the user is locked into bucked value is ")).call(E,m,"\n the target's rule evaluation result is ")).call(w,y,")"),b),x=void 0,e.prev=28,e.next=31,Op(b);case 31:x=e.sent,e.next=38;break;case 34:return e.prev=34,e.t0=e.catch(28),rp.error("Attempted to evaluate experiments for the target ".concat(b.targetId," but an error occurred."),{target:b,error:e.t0}),e.abrupt("continue",59);case 38:if(!x){e.next=55;break}return S=Of(k=Of(_="".concat(b.targetId,".")).call(_,x.experimentId,"=")).call(k,x.bucketId),I=void 0,A=void 0,e.prev=41,e.next=44,Sp.getExperimentPlacement(x.experimentId);case 44:A=e.sent,I=v.addExperimentConfig(x.config,S,x.endTime,A),e.next=52;break;case 48:return e.prev=48,e.t1=e.catch(41),rp.error("Attempted to get the previous placement for experiment ".concat(x.experimentId,"\n and add it to the config object but an error occurred."),{experimentPlacement:A,error:e.t1}),e.abrupt("continue",59);case 52:I?rp.info(Of(O=Of(T="Placed into experiment ".concat(x.experimentId,"\n in bucket ")).call(T,x.bucketId,"\n of target ")).call(O,b.targetId),x):rp.info(Of(P=Of(R="Attempted to place into experiment ".concat(x.experimentId,"\n in bucket ")).call(R,x.bucketId,"\n of target ")).call(P,b.targetId,", but there were overlapping configurations."),x),e.next=56;break;case 55:rp.info("User did not fall into any experiment in ".concat(b.targetId));case 56:e.next=59;break;case 58:rp.info(Of(C=Of(L="Experiment evaluation did not meet the condition for target ".concat(b.targetId,"\n the user is locked into bucked value is (")).call(L,m,")\n the target's rule evaluation is ")).call(C,y),b);case 59:g--,e.next=16;break;case 62:rp.debug("Evaluating targets..."),j=t.targets.length-1;case 64:if(!(j>=0)){e.next=92;break}return N=t.targets[j],e.next=68,Lw(N.condition,r);case 68:if(!e.sent){e.next=89;break}return D=void 0,U=void 0,e.prev=71,e.next=74,Sp.getTargetPlacement(N.targetId);case 74:U=e.sent,D=v.addTargetConfig(N.config,N.targetId,U),e.next=82;break;case 78:return e.prev=78,e.t2=e.catch(71),rp.error("Attempted to get the previous placement for target\n ".concat(N.targetId," and add it to the config object but an error occurred."),{targetPlacement:U,error:e.t2}),e.abrupt("continue",89);case 82:if(!D){e.next=88;break}return e.next=85,Sp.setTargetPlacement(N.targetId,null,null);case 85:rp.info("Target ".concat(N.targetId," configuration applied"),N),e.next=89;break;case 88:rp.info("Attempted to apply target ".concat(N.targetId," but there were overlapping configurations."),N);case 89:j--,e.next=64;break;case 92:return rp.debug("Updating Tracking History"),v.tracking.targets.forEach((function(e){return F._assignedTargetIds.add(e)})),v.tracking.experiments.forEach((function(e){return F._assignedExperimentIds.add(e)})),rp.debug("Applying preview configs"),e.next=98,zp(v.getConfig());case 98:return M=e.sent,rp.info("Final configuration",M),e.abrupt("return",M);case 103:throw e.prev=103,e.t3=e.catch(1),console.error(e.t3),rp.error("Error in processing",e.t3),e.t3;case 108:case"end":return e.stop()}}),e,this,[[1,103],[28,34],[41,48],[71,78]])}))),function(e){return y.apply(this,arguments)})},{key:"_getRegSubUserInfo",value:(m=Ic(of.mark((function e(){var t,r;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==window){e.next=2;break}return e.abrupt("return",void 0);case 2:if(null===(t=window)||void 0===t||!t._regUserInfo){e.next=6;break}return e.abrupt("return",null===(r=window)||void 0===r?void 0:r._regUserInfo);case 6:return e.abrupt("return",new Sf((function(e,t){var r=function t(r){window.removeEventListener(Dw,t),e(window._regUserInfo)};window.addEventListener(Dw,r),setTimeout((function(){window.removeEventListener(Dw,r),e(void 0)}),2e3)})));case 7:case"end":return e.stop()}}),e)}))),function(){return m.apply(this,arguments)})},{key:"getPageTracking",value:function(){return{targets:Nf(this._assignedTargetIds),experiments:Nf(this._assignedExperimentIds)}}},{key:"getExperiencePreferenceFromCookie",value:function(){var e;try{e=this._bridge.getCookie("exp_pref")}catch(e){rp.error("Error in getting exp_pref cookie",e)}return e||"AMER"}},{key:"getFortressData",value:(b=Ic(of.mark((function e(){var t,r,n,i,o,a,u,s,c;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=[this.getUserCredentials(),this.getGeoIPData(),this.getUserInfo(),this.getAccesslistMembership(),this.getExtendedAccessUserState(),this.getPersonalizationAllowed()],e.next=3,Sf.all(t);case 3:return r=e.sent,n=xa(r,6),i=n[0],o=n[1],a=n[2],u=n[3],s=n[4],c=n[5],e.abrupt("return",{userCredentials:i,geoIPData:o,userInfo:a,accesslistMembership:u,extendedAccessUserState:s,personalizationAllowed:c});case 12:case"end":return e.stop()}}),e,this)}))),function(){return b.apply(this,arguments)})},{key:"getAccesslistMembership",value:(g=Ic(of.mark((function e(){var t=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t._byzantium.getAccesslistMembership());case 1:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(){return g.apply(this,arguments)})},{key:"getAdParams",value:function(){var e=Ic(of.mark((function e(t){var r=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r._byzantium.getAdParams(t));case 1:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"getAdRecommendations",value:(v=Ic(of.mark((function e(t,r){var n=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n._byzantium.getAdRecommendations(t,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(e,t){return v.apply(this,arguments)})},{key:"getAdRecommendationsPotentiallyStale",value:(d=Ic(of.mark((function e(t,r){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._byzantium.getAdRecommendations(t,r));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t){return d.apply(this,arguments)})},{key:"getContextMetadata",value:(h=Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._byzantium.getContextMetadata());case 1:case"end":return e.stop()}}),e,this)}))),function(){return h.apply(this,arguments)})},{key:"getDeviceInfo",value:function(){return this._byzantium.getDeviceInfo()}},{key:"getExtendedAccessUserState",value:(p=Ic(of.mark((function e(){var t=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t._byzantium.getExtendedAccessUserState();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(){return p.apply(this,arguments)})},{key:"getGeoIPData",value:(l=Ic(of.mark((function e(){var t=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t._byzantium.getGeoIPData();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(){return l.apply(this,arguments)})},{key:"getPersonalizationAllowed",value:(f=Ic(of.mark((function e(){var t=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t._bridge.getPersonalizationAllowed());case 1:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(){return f.apply(this,arguments)})},{key:"getPreferredAuthors",value:function(){var e=Ic(of.mark((function e(){var t=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t._byzantium.getPreferredAuthors());case 1:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"getReferrerSource",value:(c=Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._byzantium.getReferrerSource();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return c.apply(this,arguments)})},{key:"getSTRValues",value:(s=Ic(of.mark((function e(){var t=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t._byzantium.getSTRValues();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(){return s.apply(this,arguments)})},{key:"getTags",value:(u=Ic(of.mark((function e(t,r){var n=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n._byzantium.getTags(t,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(e,t){return u.apply(this,arguments)})},{key:"getTagsPotentiallyStale",value:(a=Ic(of.mark((function e(t,r){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._byzantium.getTags(t,r));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t){return a.apply(this,arguments)})},{key:"getPreferredTags",value:function(){var e=Ic(of.mark((function e(t){var r=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r._byzantium.getPreferredTags(t));case 1:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"getUserCredentials",value:(o=Ic(of.mark((function e(){var t=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t._byzantium.getUserCredentials();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)})},{key:"getUserInfo",value:(i=Ic(of.mark((function e(){var t=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t._byzantium.getUserInfo();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},{key:"getUserInfoPotentiallyStale",value:(n=Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._byzantium.getUserInfo());case 1:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"setPersonalizationAllowedForMobileApp",value:(r=Ic(of.mark((function e(t){var r=this;return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yb.push(Ic(of.mark((function e(){return of.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r._bridge.setPersonalizationAllowed(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)})}],[{key:"build",value:(t=Ic(of.mark((function t(){var r,n,i,o,a,u,s,c,f,l,p,h,d,v,g=arguments;return of.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(r=g.length>0&&void 0!==g[0]?g[0]:{}).platform,i=void 0===n?"frontend":n,o=r.bridge,a=void 0===o?null:o,u=r.contentMetadata,s=void 0===u?{}:u,c=r.abbaFeeds,f=void 0===c?null:c,l=r.coordinatorQueryParams,p=void 0===l?{}:l,h=r.options,v=new e({platform:i,bridge:a,options:d=void 0===h?{useCachedCoordinatorData:!0,forceCoordinatorFetch:!0,forceDebugLogLevel:null,suppressDebugPopup:!1}:h}),t.next=4,v._init({contentMetadata:s,abbaFeeds:f,coordinatorQueryParams:p,options:d});case 4:return t.abrupt("return",v);case 5:case"end":return t.stop()}}),t)}))),function(){return t.apply(this,arguments)})}]),e}();return null===(_w=window)||void 0===_w||null===(Sw=_w.document)||void 0===Sw||Sw.dispatchEvent(new CustomEvent("abbaClient:loaded")),Mw}));