@vkontakte/videoplayer-shared 1.0.40-dev.53bf33a7.0 → 1.0.40-dev.76d1fbf0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015.cjs.js +3 -3
- package/es2015.esm.js +3 -3
- package/es2018.cjs.js +3 -3
- package/es2018.esm.js +3 -3
- package/esnext.cjs.js +3 -3
- package/esnext.esm.js +3 -3
- package/evergreen.esm.js +3 -3
- package/package.json +20 -3
- package/types/Tracer/index.d.ts +0 -1
- package/types/types/index.d.ts +3 -0
- package/types/utils/flattenObject.d.ts +2 -1
package/es2015.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vkontakte/videoplayer-shared v1.0.40-dev.
|
|
3
|
-
* Mon,
|
|
2
|
+
* @vkontakte/videoplayer-shared v1.0.40-dev.76d1fbf0.0
|
|
3
|
+
* Mon, 09 Sep 2024 07:09:05 GMT
|
|
4
4
|
* https://st.mycdn.me/static/vkontakte-videoplayer/1-0-40/doc/
|
|
5
5
|
*/
|
|
6
|
-
var Os=Object.create;var Pe=Object.defineProperty,Ss=Object.defineProperties,ws=Object.getOwnPropertyDescriptor,Es=Object.getOwnPropertyDescriptors,_s=Object.getOwnPropertyNames,$t=Object.getOwnPropertySymbols,Rs=Object.getPrototypeOf,zt=Object.prototype.hasOwnProperty,Ps=Object.prototype.propertyIsEnumerable;var Ht=Math.pow,Yt=(e,r,t)=>r in e?Pe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,A=(e,r)=>{for(var t in r||(r={}))zt.call(r,t)&&Yt(e,t,r[t]);if($t)for(var t of $t(r))Ps.call(r,t)&&Yt(e,t,r[t]);return e},B=(e,r)=>Ss(e,Es(r));var u=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),qs=(e,r)=>{for(var t in r)Pe(e,t,{get:r[t],enumerable:!0})},As=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of _s(r))!zt.call(e,o)&&o!==t&&Pe(e,o,{get:()=>r[o],enumerable:!(n=ws(r,o))||n.enumerable});return e};var Cs=(e,r,t)=>(t=e!=null?Os(Rs(e)):{},As(r||!e||!e.__esModule?Pe(t,"default",{value:e,enumerable:!0}):t,e));var qe=(e,r,t)=>new Promise((n,o)=>{var i=c=>{try{a(t.next(c))}catch(l){o(l)}},s=c=>{try{a(t.throw(c))}catch(l){o(l)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,s);a((t=t.apply(e,r)).next())});var C=u((WT,Cn)=>{"use strict";Cn.exports=function(e){try{return!!e()}catch(r){return!0}}});var Te=u((KT,Nn)=>{"use strict";var Gu=C();Nn.exports=!Gu(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var V=u(($T,jn)=>{"use strict";var Ln=Te(),Mn=Function.prototype,Br=Mn.call,Bu=Ln&&Mn.bind.bind(Br,Br);jn.exports=Ln?Bu:function(e){return function(){return Br.apply(e,arguments)}}});var Be=u((YT,kn)=>{"use strict";var Vn=V(),Uu=Vn({}.toString),Qu=Vn("".slice);kn.exports=function(e){return Qu(Uu(e),8,-1)}});var Fn=u((zT,Dn)=>{"use strict";var Wu=V(),Ku=C(),$u=Be(),Ur=Object,Yu=Wu("".split);Dn.exports=Ku(function(){return!Ur("z").propertyIsEnumerable(0)})?function(e){return $u(e)==="String"?Yu(e,""):Ur(e)}:Ur});var Ue=u((HT,Gn)=>{"use strict";Gn.exports=function(e){return e==null}});var Qe=u((XT,Bn)=>{"use strict";var zu=Ue(),Hu=TypeError;Bn.exports=function(e){if(zu(e))throw new Hu("Can't call method on "+e);return e}});var ie=u((JT,Un)=>{"use strict";var Xu=Fn(),Ju=Qe();Un.exports=function(e){return Xu(Ju(e))}});var Wn=u((ZT,Qn)=>{"use strict";Qn.exports=function(){}});var z=u((eh,Kn)=>{"use strict";Kn.exports={}});var S=u((Qr,$n)=>{"use strict";var he=function(e){return e&&e.Math===Math&&e};$n.exports=he(typeof globalThis=="object"&&globalThis)||he(typeof window=="object"&&window)||he(typeof self=="object"&&self)||he(typeof global=="object"&&global)||he(typeof Qr=="object"&&Qr)||function(){return this}()||Function("return this")()});var w=u((rh,Yn)=>{"use strict";var Wr=typeof document=="object"&&document.all;Yn.exports=typeof Wr=="undefined"&&Wr!==void 0?function(e){return typeof e=="function"||e===Wr}:function(e){return typeof e=="function"}});var Xn=u((th,Hn)=>{"use strict";var Zu=S(),ec=w(),zn=Zu.WeakMap;Hn.exports=ec(zn)&&/native code/.test(String(zn))});var k=u((nh,Jn)=>{"use strict";var rc=w();Jn.exports=function(e){return typeof e=="object"?e!==null:rc(e)}});var N=u((oh,Zn)=>{"use strict";var tc=C();Zn.exports=!tc(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var $r=u((ih,ro)=>{"use strict";var nc=S(),eo=k(),Kr=nc.document,oc=eo(Kr)&&eo(Kr.createElement);ro.exports=function(e){return oc?Kr.createElement(e):{}}});var Yr=u((ah,to)=>{"use strict";var ic=N(),ac=C(),sc=$r();to.exports=!ic&&!ac(function(){return Object.defineProperty(sc("div"),"a",{get:function(){return 7}}).a!==7})});var zr=u((sh,no)=>{"use strict";var uc=N(),cc=C();no.exports=uc&&cc(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var H=u((uh,oo)=>{"use strict";var lc=k(),pc=String,fc=TypeError;oo.exports=function(e){if(lc(e))return e;throw new fc(pc(e)+" is not an object")}});var W=u((ch,io)=>{"use strict";var vc=Te(),We=Function.prototype.call;io.exports=vc?We.bind(We):function(){return We.apply(We,arguments)}});var Ke=u((lh,ao)=>{"use strict";ao.exports={}});var Jr=u((ph,uo)=>{"use strict";var Hr=Ke(),Xr=S(),dc=w(),so=function(e){return dc(e)?e:void 0};uo.exports=function(e,r){return arguments.length<2?so(Hr[e])||so(Xr[e]):Hr[e]&&Hr[e][r]||Xr[e]&&Xr[e][r]}});var Zr=u((fh,co)=>{"use strict";var bc=V();co.exports=bc({}.isPrototypeOf)});var vo=u((vh,fo)=>{"use strict";var mc=S(),lo=mc.navigator,po=lo&&lo.userAgent;fo.exports=po?String(po):""});var xo=u((dh,go)=>{"use strict";var yo=S(),et=vo(),bo=yo.process,mo=yo.Deno,To=bo&&bo.versions||mo&&mo.version,ho=To&&To.v8,P,$e;ho&&(P=ho.split("."),$e=P[0]>0&&P[0]<4?1:+(P[0]+P[1]));!$e&&et&&(P=et.match(/Edge\/(\d+)/),(!P||P[1]>=74)&&(P=et.match(/Chrome\/(\d+)/),P&&($e=+P[1])));go.exports=$e});var rt=u((bh,Oo)=>{"use strict";var Io=xo(),Tc=C(),hc=S(),yc=hc.String;Oo.exports=!!Object.getOwnPropertySymbols&&!Tc(function(){var e=Symbol("symbol detection");return!yc(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Io&&Io<41})});var tt=u((mh,So)=>{"use strict";var gc=rt();So.exports=gc&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var nt=u((Th,wo)=>{"use strict";var xc=Jr(),Ic=w(),Oc=Zr(),Sc=tt(),wc=Object;wo.exports=Sc?function(e){return typeof e=="symbol"}:function(e){var r=xc("Symbol");return Ic(r)&&Oc(r.prototype,wc(e))}});var Ye=u((hh,Eo)=>{"use strict";var Ec=String;Eo.exports=function(e){try{return Ec(e)}catch(r){return"Object"}}});var ye=u((yh,_o)=>{"use strict";var _c=w(),Rc=Ye(),Pc=TypeError;_o.exports=function(e){if(_c(e))return e;throw new Pc(Rc(e)+" is not a function")}});var ze=u((gh,Ro)=>{"use strict";var qc=ye(),Ac=Ue();Ro.exports=function(e,r){var t=e[r];return Ac(t)?void 0:qc(t)}});var qo=u((xh,Po)=>{"use strict";var ot=W(),it=w(),at=k(),Cc=TypeError;Po.exports=function(e,r){var t,n;if(r==="string"&&it(t=e.toString)&&!at(n=ot(t,e))||it(t=e.valueOf)&&!at(n=ot(t,e))||r!=="string"&&it(t=e.toString)&&!at(n=ot(t,e)))return n;throw new Cc("Can't convert object to primitive value")}});var ge=u((Ih,Ao)=>{"use strict";Ao.exports=!0});var Lo=u((Oh,No)=>{"use strict";var Co=S(),Nc=Object.defineProperty;No.exports=function(e,r){try{Nc(Co,e,{value:r,configurable:!0,writable:!0})}catch(t){Co[e]=r}return r}});var He=u((Sh,Vo)=>{"use strict";var Lc=ge(),Mc=S(),jc=Lo(),Mo="__core-js_shared__",jo=Vo.exports=Mc[Mo]||jc(Mo,{});(jo.versions||(jo.versions=[])).push({version:"3.38.0",mode:Lc?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var st=u((wh,Do)=>{"use strict";var ko=He();Do.exports=function(e,r){return ko[e]||(ko[e]=r||{})}});var ut=u((Eh,Fo)=>{"use strict";var Vc=Qe(),kc=Object;Fo.exports=function(e){return kc(Vc(e))}});var D=u((_h,Go)=>{"use strict";var Dc=V(),Fc=ut(),Gc=Dc({}.hasOwnProperty);Go.exports=Object.hasOwn||function(r,t){return Gc(Fc(r),t)}});var ct=u((Rh,Bo)=>{"use strict";var Bc=V(),Uc=0,Qc=Math.random(),Wc=Bc(1 .toString);Bo.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Wc(++Uc+Qc,36)}});var F=u((Ph,Qo)=>{"use strict";var Kc=S(),$c=st(),Uo=D(),Yc=ct(),zc=rt(),Hc=tt(),ae=Kc.Symbol,lt=$c("wks"),Xc=Hc?ae.for||ae:ae&&ae.withoutSetter||Yc;Qo.exports=function(e){return Uo(lt,e)||(lt[e]=zc&&Uo(ae,e)?ae[e]:Xc("Symbol."+e)),lt[e]}});var Yo=u((qh,$o)=>{"use strict";var Jc=W(),Wo=k(),Ko=nt(),Zc=ze(),el=qo(),rl=F(),tl=TypeError,nl=rl("toPrimitive");$o.exports=function(e,r){if(!Wo(e)||Ko(e))return e;var t=Zc(e,nl),n;if(t){if(r===void 0&&(r="default"),n=Jc(t,e,r),!Wo(n)||Ko(n))return n;throw new tl("Can't convert object to primitive value")}return r===void 0&&(r="number"),el(e,r)}});var pt=u((Ah,zo)=>{"use strict";var ol=Yo(),il=nt();zo.exports=function(e){var r=ol(e,"string");return il(r)?r:r+""}});var se=u(Xo=>{"use strict";var al=N(),sl=Yr(),ul=zr(),Xe=H(),Ho=pt(),cl=TypeError,ft=Object.defineProperty,ll=Object.getOwnPropertyDescriptor,vt="enumerable",dt="configurable",bt="writable";Xo.f=al?ul?function(r,t,n){if(Xe(r),t=Ho(t),Xe(n),typeof r=="function"&&t==="prototype"&&"value"in n&&bt in n&&!n[bt]){var o=ll(r,t);o&&o[bt]&&(r[t]=n.value,n={configurable:dt in n?n[dt]:o[dt],enumerable:vt in n?n[vt]:o[vt],writable:!1})}return ft(r,t,n)}:ft:function(r,t,n){if(Xe(r),t=Ho(t),Xe(n),sl)try{return ft(r,t,n)}catch(o){}if("get"in n||"set"in n)throw new cl("Accessors not supported");return"value"in n&&(r[t]=n.value),r}});var xe=u((Nh,Jo)=>{"use strict";Jo.exports=function(e,r){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r}}});var ue=u((Lh,Zo)=>{"use strict";var pl=N(),fl=se(),vl=xe();Zo.exports=pl?function(e,r,t){return fl.f(e,r,vl(1,t))}:function(e,r,t){return e[r]=t,e}});var Je=u((Mh,ri)=>{"use strict";var dl=st(),bl=ct(),ei=dl("keys");ri.exports=function(e){return ei[e]||(ei[e]=bl(e))}});var Ze=u((jh,ti)=>{"use strict";ti.exports={}});var ai=u((Vh,ii)=>{"use strict";var ml=Xn(),oi=S(),Tl=k(),hl=ue(),mt=D(),Tt=He(),yl=Je(),gl=Ze(),ni="Object already initialized",ht=oi.TypeError,xl=oi.WeakMap,er,Ie,rr,Il=function(e){return rr(e)?Ie(e):er(e,{})},Ol=function(e){return function(r){var t;if(!Tl(r)||(t=Ie(r)).type!==e)throw new ht("Incompatible receiver, "+e+" required");return t}};ml||Tt.state?(q=Tt.state||(Tt.state=new xl),q.get=q.get,q.has=q.has,q.set=q.set,er=function(e,r){if(q.has(e))throw new ht(ni);return r.facade=e,q.set(e,r),r},Ie=function(e){return q.get(e)||{}},rr=function(e){return q.has(e)}):(X=yl("state"),gl[X]=!0,er=function(e,r){if(mt(e,X))throw new ht(ni);return r.facade=e,hl(e,X,r),r},Ie=function(e){return mt(e,X)?e[X]:{}},rr=function(e){return mt(e,X)});var q,X;ii.exports={set:er,get:Ie,has:rr,enforce:Il,getterFor:Ol}});var pi=u((kh,li)=>{"use strict";var Sl=Te(),ci=Function.prototype,si=ci.apply,ui=ci.call;li.exports=typeof Reflect=="object"&&Reflect.apply||(Sl?ui.bind(si):function(){return ui.apply(si,arguments)})});var yt=u((Dh,fi)=>{"use strict";var wl=Be(),El=V();fi.exports=function(e){if(wl(e)==="Function")return El(e)}});var mi=u(bi=>{"use strict";var vi={}.propertyIsEnumerable,di=Object.getOwnPropertyDescriptor,_l=di&&!vi.call({1:2},1);bi.f=_l?function(r){var t=di(this,r);return!!t&&t.enumerable}:vi});var yi=u(hi=>{"use strict";var Rl=N(),Pl=W(),ql=mi(),Al=xe(),Cl=ie(),Nl=pt(),Ll=D(),Ml=Yr(),Ti=Object.getOwnPropertyDescriptor;hi.f=Rl?Ti:function(r,t){if(r=Cl(r),t=Nl(t),Ml)try{return Ti(r,t)}catch(n){}if(Ll(r,t))return Al(!Pl(ql.f,r,t),r[t])}});var xi=u((Bh,gi)=>{"use strict";var jl=C(),Vl=w(),kl=/#|\.prototype\./,Oe=function(e,r){var t=Fl[Dl(e)];return t===Bl?!0:t===Gl?!1:Vl(r)?jl(r):!!r},Dl=Oe.normalize=function(e){return String(e).replace(kl,".").toLowerCase()},Fl=Oe.data={},Gl=Oe.NATIVE="N",Bl=Oe.POLYFILL="P";gi.exports=Oe});var gt=u((Uh,Oi)=>{"use strict";var Ii=yt(),Ul=ye(),Ql=Te(),Wl=Ii(Ii.bind);Oi.exports=function(e,r){return Ul(e),r===void 0?e:Ql?Wl(e,r):function(){return e.apply(r,arguments)}}});var xt=u((Qh,wi)=>{"use strict";var Se=S(),Kl=pi(),$l=yt(),Yl=w(),zl=yi().f,Hl=xi(),ce=Ke(),Xl=gt(),le=ue(),Si=D();He();var Jl=function(e){var r=function(t,n,o){if(this instanceof r){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return Kl(e,this,arguments)};return r.prototype=e.prototype,r};wi.exports=function(e,r){var t=e.target,n=e.global,o=e.stat,i=e.proto,s=n?Se:o?Se[t]:Se[t]&&Se[t].prototype,a=n?ce:ce[t]||le(ce,t,{})[t],c=a.prototype,l,p,f,d,b,T,h,x,y;for(d in r)l=Hl(n?d:t+(o?".":"#")+d,e.forced),p=!l&&s&&Si(s,d),T=a[d],p&&(e.dontCallGetSet?(y=zl(s,d),h=y&&y.value):h=s[d]),b=p&&h?h:r[d],!(!l&&!i&&typeof T==typeof b)&&(e.bind&&p?x=Xl(b,Se):e.wrap&&p?x=Jl(b):i&&Yl(b)?x=$l(b):x=b,(e.sham||b&&b.sham||T&&T.sham)&&le(x,"sham",!0),le(a,d,x),i&&(f=t+"Prototype",Si(ce,f)||le(ce,f,{}),le(ce[f],d,b),e.real&&c&&(l||!c[d])&&le(c,d,b)))}});var Ri=u((Wh,_i)=>{"use strict";var It=N(),Zl=D(),Ei=Function.prototype,ep=It&&Object.getOwnPropertyDescriptor,Ot=Zl(Ei,"name"),rp=Ot&&function(){}.name==="something",tp=Ot&&(!It||It&&ep(Ei,"name").configurable);_i.exports={EXISTS:Ot,PROPER:rp,CONFIGURABLE:tp}});var qi=u((Kh,Pi)=>{"use strict";var np=Math.ceil,op=Math.floor;Pi.exports=Math.trunc||function(r){var t=+r;return(t>0?op:np)(t)}});var St=u(($h,Ai)=>{"use strict";var ip=qi();Ai.exports=function(e){var r=+e;return r!==r||r===0?0:ip(r)}});var Ni=u((Yh,Ci)=>{"use strict";var ap=St(),sp=Math.max,up=Math.min;Ci.exports=function(e,r){var t=ap(e);return t<0?sp(t+r,0):up(t,r)}});var Mi=u((zh,Li)=>{"use strict";var cp=St(),lp=Math.min;Li.exports=function(e){var r=cp(e);return r>0?lp(r,9007199254740991):0}});var wt=u((Hh,ji)=>{"use strict";var pp=Mi();ji.exports=function(e){return pp(e.length)}});var Di=u((Xh,ki)=>{"use strict";var fp=ie(),vp=Ni(),dp=wt(),Vi=function(e){return function(r,t,n){var o=fp(r),i=dp(o);if(i===0)return!e&&-1;var s=vp(n,i),a;if(e&&t!==t){for(;i>s;)if(a=o[s++],a!==a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===t)return e||s||0;return!e&&-1}};ki.exports={includes:Vi(!0),indexOf:Vi(!1)}});var Bi=u((Jh,Gi)=>{"use strict";var bp=V(),Et=D(),mp=ie(),Tp=Di().indexOf,hp=Ze(),Fi=bp([].push);Gi.exports=function(e,r){var t=mp(e),n=0,o=[],i;for(i in t)!Et(hp,i)&&Et(t,i)&&Fi(o,i);for(;r.length>n;)Et(t,i=r[n++])&&(~Tp(o,i)||Fi(o,i));return o}});var _t=u((Zh,Ui)=>{"use strict";Ui.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Wi=u((ey,Qi)=>{"use strict";var yp=Bi(),gp=_t();Qi.exports=Object.keys||function(r){return yp(r,gp)}});var $i=u(Ki=>{"use strict";var xp=N(),Ip=zr(),Op=se(),Sp=H(),wp=ie(),Ep=Wi();Ki.f=xp&&!Ip?Object.defineProperties:function(r,t){Sp(r);for(var n=wp(t),o=Ep(t),i=o.length,s=0,a;i>s;)Op.f(r,a=o[s++],n[a]);return r}});var zi=u((ty,Yi)=>{"use strict";var _p=Jr();Yi.exports=_p("document","documentElement")});var At=u((ny,ta)=>{"use strict";var Rp=H(),Pp=$i(),Hi=_t(),qp=Ze(),Ap=zi(),Cp=$r(),Np=Je(),Xi=">",Ji="<",Pt="prototype",qt="script",ea=Np("IE_PROTO"),Rt=function(){},ra=function(e){return Ji+qt+Xi+e+Ji+"/"+qt+Xi},Zi=function(e){e.write(ra("")),e.close();var r=e.parentWindow.Object;return e=null,r},Lp=function(){var e=Cp("iframe"),r="java"+qt+":",t;return e.style.display="none",Ap.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(ra("document.F=Object")),t.close(),t.F},tr,nr=function(){try{tr=new ActiveXObject("htmlfile")}catch(r){}nr=typeof document!="undefined"?document.domain&&tr?Zi(tr):Lp():Zi(tr);for(var e=Hi.length;e--;)delete nr[Pt][Hi[e]];return nr()};qp[ea]=!0;ta.exports=Object.create||function(r,t){var n;return r!==null?(Rt[Pt]=Rp(r),n=new Rt,Rt[Pt]=null,n[ea]=r):n=nr(),t===void 0?n:Pp.f(n,t)}});var oa=u((oy,na)=>{"use strict";var Mp=C();na.exports=!Mp(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})});var Nt=u((iy,aa)=>{"use strict";var jp=D(),Vp=w(),kp=ut(),Dp=Je(),Fp=oa(),ia=Dp("IE_PROTO"),Ct=Object,Gp=Ct.prototype;aa.exports=Fp?Ct.getPrototypeOf:function(e){var r=kp(e);if(jp(r,ia))return r[ia];var t=r.constructor;return Vp(t)&&r instanceof t?t.prototype:r instanceof Ct?Gp:null}});var Lt=u((ay,sa)=>{"use strict";var Bp=ue();sa.exports=function(e,r,t,n){return n&&n.enumerable?e[r]=t:Bp(e,r,t),e}});var kt=u((sy,la)=>{"use strict";var Up=C(),Qp=w(),Wp=k(),Kp=At(),ua=Nt(),$p=Lt(),Yp=F(),zp=ge(),Vt=Yp("iterator"),ca=!1,G,Mt,jt;[].keys&&(jt=[].keys(),"next"in jt?(Mt=ua(ua(jt)),Mt!==Object.prototype&&(G=Mt)):ca=!0);var Hp=!Wp(G)||Up(function(){var e={};return G[Vt].call(e)!==e});Hp?G={}:zp&&(G=Kp(G));Qp(G[Vt])||$p(G,Vt,function(){return this});la.exports={IteratorPrototype:G,BUGGY_SAFARI_ITERATORS:ca}});var or=u((uy,fa)=>{"use strict";var Xp=F(),Jp=Xp("toStringTag"),pa={};pa[Jp]="z";fa.exports=String(pa)==="[object z]"});var Dt=u((cy,va)=>{"use strict";var Zp=or(),ef=w(),ir=Be(),rf=F(),tf=rf("toStringTag"),nf=Object,of=ir(function(){return arguments}())==="Arguments",af=function(e,r){try{return e[r]}catch(t){}};va.exports=Zp?ir:function(e){var r,t,n;return e===void 0?"Undefined":e===null?"Null":typeof(t=af(r=nf(e),tf))=="string"?t:of?ir(r):(n=ir(r))==="Object"&&ef(r.callee)?"Arguments":n}});var ba=u((ly,da)=>{"use strict";var sf=or(),uf=Dt();da.exports=sf?{}.toString:function(){return"[object "+uf(this)+"]"}});var ar=u((py,Ta)=>{"use strict";var cf=or(),lf=se().f,pf=ue(),ff=D(),vf=ba(),df=F(),ma=df("toStringTag");Ta.exports=function(e,r,t,n){var o=t?e:e&&e.prototype;o&&(ff(o,ma)||lf(o,ma,{configurable:!0,value:r}),n&&!cf&&pf(o,"toString",vf))}});var ya=u((fy,ha)=>{"use strict";var bf=kt().IteratorPrototype,mf=At(),Tf=xe(),hf=ar(),yf=z(),gf=function(){return this};ha.exports=function(e,r,t,n){var o=r+" Iterator";return e.prototype=mf(bf,{next:Tf(+!n,t)}),hf(e,o,!1,!0),yf[o]=gf,e}});var xa=u((vy,ga)=>{"use strict";var xf=V(),If=ye();ga.exports=function(e,r,t){try{return xf(If(Object.getOwnPropertyDescriptor(e,r)[t]))}catch(n){}}});var Oa=u((dy,Ia)=>{"use strict";var Of=k();Ia.exports=function(e){return Of(e)||e===null}});var wa=u((by,Sa)=>{"use strict";var Sf=Oa(),wf=String,Ef=TypeError;Sa.exports=function(e){if(Sf(e))return e;throw new Ef("Can't set "+wf(e)+" as a prototype")}});var _a=u((my,Ea)=>{"use strict";var _f=xa(),Rf=k(),Pf=Qe(),qf=wa();Ea.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,r={},t;try{t=_f(Object.prototype,"__proto__","set"),t(r,[]),e=r instanceof Array}catch(n){}return function(o,i){return Pf(o),qf(i),Rf(o)&&(e?t(o,i):o.__proto__=i),o}}():void 0)});var ka=u((Ty,Va)=>{"use strict";var Af=xt(),Cf=W(),sr=ge(),Ma=Ri(),Nf=w(),Lf=ya(),Ra=Nt(),Pa=_a(),Mf=ar(),jf=ue(),Ft=Lt(),Vf=F(),qa=z(),ja=kt(),kf=Ma.PROPER,Df=Ma.CONFIGURABLE,Aa=ja.IteratorPrototype,ur=ja.BUGGY_SAFARI_ITERATORS,we=Vf("iterator"),Ca="keys",Ee="values",Na="entries",La=function(){return this};Va.exports=function(e,r,t,n,o,i,s){Lf(t,r,n);var a=function(y){if(y===o&&d)return d;if(!ur&&y&&y in p)return p[y];switch(y){case Ca:return function(){return new t(this,y)};case Ee:return function(){return new t(this,y)};case Na:return function(){return new t(this,y)}}return function(){return new t(this)}},c=r+" Iterator",l=!1,p=e.prototype,f=p[we]||p["@@iterator"]||o&&p[o],d=!ur&&f||a(o),b=r==="Array"&&p.entries||f,T,h,x;if(b&&(T=Ra(b.call(new e)),T!==Object.prototype&&T.next&&(!sr&&Ra(T)!==Aa&&(Pa?Pa(T,Aa):Nf(T[we])||Ft(T,we,La)),Mf(T,c,!0,!0),sr&&(qa[c]=La))),kf&&o===Ee&&f&&f.name!==Ee&&(!sr&&Df?jf(p,"name",Ee):(l=!0,d=function(){return Cf(f,this)})),o)if(h={values:a(Ee),keys:i?d:a(Ca),entries:a(Na)},s)for(x in h)(ur||l||!(x in p))&&Ft(p,x,h[x]);else Af({target:r,proto:!0,forced:ur||l},h);return(!sr||s)&&p[we]!==d&&Ft(p,we,d,{name:o}),qa[r]=d,h}});var Fa=u((hy,Da)=>{"use strict";Da.exports=function(e,r){return{value:e,done:r}}});var Bt=u((yy,Wa)=>{"use strict";var Ff=ie(),Gt=Wn(),Ga=z(),Ua=ai(),Gf=se().f,Bf=ka(),cr=Fa(),Uf=ge(),Qf=N(),Qa="Array Iterator",Wf=Ua.set,Kf=Ua.getterFor(Qa);Wa.exports=Bf(Array,"Array",function(e,r){Wf(this,{type:Qa,target:Ff(e),index:0,kind:r})},function(){var e=Kf(this),r=e.target,t=e.index++;if(!r||t>=r.length)return e.target=void 0,cr(void 0,!0);switch(e.kind){case"keys":return cr(t,!1);case"values":return cr(r[t],!1)}return cr([t,r[t]],!1)},"values");var Ba=Ga.Arguments=Ga.Array;Gt("keys");Gt("values");Gt("entries");if(!Uf&&Qf&&Ba.name!=="values")try{Gf(Ba,"name",{value:"values"})}catch(e){}});var $a=u((gy,Ka)=>{"use strict";var $f=F(),Yf=z(),zf=$f("iterator"),Hf=Array.prototype;Ka.exports=function(e){return e!==void 0&&(Yf.Array===e||Hf[zf]===e)}});var Ut=u((xy,za)=>{"use strict";var Xf=Dt(),Ya=ze(),Jf=Ue(),Zf=z(),ev=F(),rv=ev("iterator");za.exports=function(e){if(!Jf(e))return Ya(e,rv)||Ya(e,"@@iterator")||Zf[Xf(e)]}});var Xa=u((Iy,Ha)=>{"use strict";var tv=W(),nv=ye(),ov=H(),iv=Ye(),av=Ut(),sv=TypeError;Ha.exports=function(e,r){var t=arguments.length<2?av(e):r;if(nv(t))return ov(tv(t,e));throw new sv(iv(e)+" is not iterable")}});var es=u((Oy,Za)=>{"use strict";var uv=W(),Ja=H(),cv=ze();Za.exports=function(e,r,t){var n,o;Ja(e);try{if(n=cv(e,"return"),!n){if(r==="throw")throw t;return t}n=uv(n,e)}catch(i){o=!0,n=i}if(r==="throw")throw t;if(o)throw n;return Ja(n),t}});var is=u((Sy,os)=>{"use strict";var lv=gt(),pv=W(),fv=H(),vv=Ye(),dv=$a(),bv=wt(),rs=Zr(),mv=Xa(),Tv=Ut(),ts=es(),hv=TypeError,lr=function(e,r){this.stopped=e,this.result=r},ns=lr.prototype;os.exports=function(e,r,t){var n=t&&t.that,o=!!(t&&t.AS_ENTRIES),i=!!(t&&t.IS_RECORD),s=!!(t&&t.IS_ITERATOR),a=!!(t&&t.INTERRUPTED),c=lv(r,n),l,p,f,d,b,T,h,x=function(g){return l&&ts(l,"normal",g),new lr(!0,g)},y=function(g){return o?(fv(g),a?c(g[0],g[1],x):c(g[0],g[1])):a?c(g,x):c(g)};if(i)l=e.iterator;else if(s)l=e;else{if(p=Tv(e),!p)throw new hv(vv(e)+" is not iterable");if(dv(p)){for(f=0,d=bv(e);d>f;f++)if(b=y(e[f]),b&&rs(ns,b))return b;return new lr(!1)}l=mv(e,p)}for(T=i?e.next:l.next;!(h=pv(T,l)).done;){try{b=y(h.value)}catch(g){ts(l,"throw",g)}if(typeof b=="object"&&b&&rs(ns,b))return b}return new lr(!1)}});var ss=u((wy,as)=>{"use strict";var yv=N(),gv=se(),xv=xe();as.exports=function(e,r,t){yv?gv.f(e,r,xv(0,t)):e[r]=t}});var us=u(()=>{"use strict";var Iv=xt(),Ov=is(),Sv=ss();Iv({target:"Object",stat:!0},{fromEntries:function(r){var t={};return Ov(r,function(n,o){Sv(t,n,o)},{AS_ENTRIES:!0}),t}})});var ls=u((Ry,cs)=>{"use strict";Bt();us();var wv=Ke();cs.exports=wv.Object.fromEntries});var fs=u((Py,ps)=>{"use strict";ps.exports={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}});var ds=u(()=>{"use strict";Bt();var Ev=fs(),_v=S(),Rv=ar(),vs=z();for(pr in Ev)Rv(_v[pr],pr),vs[pr]=vs.Array;var pr});var ms=u((Cy,bs)=>{"use strict";var Pv=ls();ds();bs.exports=Pv});var hs=u((Ny,Ts)=>{"use strict";var qv=ms();Ts.exports=qv});var Ns="1.0.40-dev.53bf33a7.0";var E=class{constructor(){this.subscriptions=[]}unsubscribe(){let r=this.subscriptions;this.subscriptions=[],r.forEach(t=>typeof t=="function"?t():t.unsubscribe())}add(r){return this.subscriptions.push(r),this}};var L=e=>{throw new Error(`${e} is value of unexpected type`)},Ls=e=>{};var $=()=>{};var v=class{constructor(r){r&&(this._subscribe=r)}subscribe(r,t){var s;let n;t?typeof t=="function"?n={next:t,error:$}:n={next:a=>t.next(a),error:a=>{var c;return(c=t.error)==null?void 0:c.call(t,a)}}:n={next:$,error:$};let o=typeof r=="function"?{next:a=>{try{r(a)}catch(c){n.next(c)}},error:a=>n.next(a)}:{next:a=>r.next(a),error:a=>r.error?r.error(a):n.next(a)},i;try{i=this._subscribe(o)}catch(a){(s=o.error)==null||s.call(o,a)}return new E().add(()=>{switch(o.next=$,o.error=$,typeof i){case"function":i();return;case"object":i.unsubscribe();return;case"undefined":return;default:return L(i)}})}pipe(...r){return r.reduce((t,n)=>n(t),this)}_subscribe(r){}};var U=class extends v{constructor(){super();this.keyCounter=0;this.subscribers=new Map}next(t){this.subscribers.forEach(n=>n.next(t))}error(t){this.subscribers.forEach(n=>{var o;return(o=n.error)==null?void 0:o.call(n,t)})}_subscribe(t){let n=this.keyCounter++;return this.subscribers.set(n,t),new E().add(()=>this.subscribers.delete(n))}};var fr=class{constructor(){this.log$=new U;this.logs=[];this.log=r=>{let t=B(A({},r),{timestamp:Date.now()});this.logs.push(t),this.log$.next(t)};this.getAllLogs=()=>this.logs}createCustomLog(r){return(...t)=>{let n;try{n=r(...t)}catch(o){n={message:"error in `createCustomLog`",component:"Logger"}}this.log(n)}}createComponentLog(r){return this.createCustomLog(t=>A({component:r},t))}};var Xt=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{};var M="1.8.0";var Jt=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function Ms(e){var r=new Set([e]),t=new Set,n=e.match(Jt);if(!n)return function(){return!1};var o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(o.prerelease!=null)return function(c){return c===e};function i(a){return t.add(a),!1}function s(a){return r.add(a),!0}return function(c){if(r.has(c))return!0;if(t.has(c))return!1;var l=c.match(Jt);if(!l)return i(c);var p={major:+l[1],minor:+l[2],patch:+l[3],prerelease:l[4]};return p.prerelease!=null||o.major!==p.major?i(c):o.major===0?o.minor===p.minor&&o.patch<=p.patch?s(c):i(c):o.minor<=p.minor?s(c):i(c)}}var Zt=Ms(M);var js=M.split(".")[0],pe=Symbol.for("opentelemetry.js.api."+js),fe=Xt;function J(e,r,t,n){var o;n===void 0&&(n=!1);var i=fe[pe]=(o=fe[pe])!==null&&o!==void 0?o:{version:M};if(!n&&i[e]){var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return t.error(s.stack||s.message),!1}if(i.version!==M){var s=new Error("@opentelemetry/api: Registration of version v"+i.version+" for "+e+" does not match previously registered API v"+M);return t.error(s.stack||s.message),!1}return i[e]=r,t.debug("@opentelemetry/api: Registered a global for "+e+" v"+M+"."),!0}function j(e){var r,t,n=(r=fe[pe])===null||r===void 0?void 0:r.version;if(!(!n||!Zt(n)))return(t=fe[pe])===null||t===void 0?void 0:t[e]}function Z(e,r){r.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+M+".");var t=fe[pe];t&&delete t[e]}var Vs=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),o,i=[],s;try{for(;(r===void 0||r-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(s)throw s.error}}return i},ks=function(e,r,t){if(t||arguments.length===2)for(var n=0,o=r.length,i;n<o;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},en=function(){function e(r){this._namespace=r.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return ve("debug",this._namespace,r)},e.prototype.error=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return ve("error",this._namespace,r)},e.prototype.info=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return ve("info",this._namespace,r)},e.prototype.warn=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return ve("warn",this._namespace,r)},e.prototype.verbose=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return ve("verbose",this._namespace,r)},e}();function ve(e,r,t){var n=j("diag");if(n)return t.unshift(r),n[e].apply(n,ks([],Vs(t),!1))}var O;(function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"})(O||(O={}));function rn(e,r){e<O.NONE?e=O.NONE:e>O.ALL&&(e=O.ALL),r=r||{};function t(n,o){var i=r[n];return typeof i=="function"&&e>=o?i.bind(r):function(){}}return{error:t("error",O.ERROR),warn:t("warn",O.WARN),info:t("info",O.INFO),debug:t("debug",O.DEBUG),verbose:t("verbose",O.VERBOSE)}}var Ds=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),o,i=[],s;try{for(;(r===void 0||r-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(s)throw s.error}}return i},Fs=function(e,r,t){if(t||arguments.length===2)for(var n=0,o=r.length,i;n<o;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},Gs="diag",ee=function(){function e(){function r(o){return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];var a=j("diag");if(a)return a[o].apply(a,Fs([],Ds(i),!1))}}var t=this,n=function(o,i){var s,a,c;if(i===void 0&&(i={logLevel:O.INFO}),o===t){var l=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error((s=l.stack)!==null&&s!==void 0?s:l.message),!1}typeof i=="number"&&(i={logLevel:i});var p=j("diag"),f=rn((a=i.logLevel)!==null&&a!==void 0?a:O.INFO,o);if(p&&!i.suppressOverrideMessage){var d=(c=new Error().stack)!==null&&c!==void 0?c:"<failed to generate stacktrace>";p.warn("Current logger will be overwritten from "+d),f.warn("Current logger will overwrite one already registered from "+d)}return J("diag",f,t,!0)};t.setLogger=n,t.disable=function(){Z(Gs,t)},t.createComponentLogger=function(o){return new en(o)},t.verbose=r("verbose"),t.debug=r("debug"),t.info=r("info"),t.warn=r("warn"),t.error=r("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}();function tn(e){return Symbol.for(e)}var Bs=function(){function e(r){var t=this;t._currentContext=r?new Map(r):new Map,t.getValue=function(n){return t._currentContext.get(n)},t.setValue=function(n,o){var i=new e(t._currentContext);return i._currentContext.set(n,o),i},t.deleteValue=function(n){var o=new e(t._currentContext);return o._currentContext.delete(n),o}}return e}(),nn=new Bs;var Us=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),o,i=[],s;try{for(;(r===void 0||r-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(s)throw s.error}}return i},Qs=function(e,r,t){if(t||arguments.length===2)for(var n=0,o=r.length,i;n<o;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},on=function(){function e(){}return e.prototype.active=function(){return nn},e.prototype.with=function(r,t,n){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];return t.call.apply(t,Qs([n],Us(o),!1))},e.prototype.bind=function(r,t){return t},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}();var Ws=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),o,i=[],s;try{for(;(r===void 0||r-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(s)throw s.error}}return i},Ks=function(e,r,t){if(t||arguments.length===2)for(var n=0,o=r.length,i;n<o;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},vr="context",$s=new on,re=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(r){return J(vr,r,ee.instance())},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(r,t,n){for(var o,i=[],s=3;s<arguments.length;s++)i[s-3]=arguments[s];return(o=this._getContextManager()).with.apply(o,Ks([r,t,n],Ws(i),!1))},e.prototype.bind=function(r,t){return this._getContextManager().bind(r,t)},e.prototype._getContextManager=function(){return j(vr)||$s},e.prototype.disable=function(){this._getContextManager().disable(),Z(vr,ee.instance())},e}();var Ae;(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(Ae||(Ae={}));var dr="0000000000000000",br="00000000000000000000000000000000",an={traceId:br,spanId:dr,traceFlags:Ae.NONE};var Q=function(){function e(r){r===void 0&&(r=an),this._spanContext=r}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(r,t){return this},e.prototype.setAttributes=function(r){return this},e.prototype.addEvent=function(r,t){return this},e.prototype.setStatus=function(r){return this},e.prototype.updateName=function(r){return this},e.prototype.end=function(r){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(r,t){},e}();var mr=tn("OpenTelemetry Context Key SPAN");function Ce(e){return e.getValue(mr)||void 0}function sn(){return Ce(re.getInstance().active())}function de(e,r){return e.setValue(mr,r)}function un(e){return e.deleteValue(mr)}function cn(e,r){return de(e,new Q(r))}function Ne(e){var r;return(r=Ce(e))===null||r===void 0?void 0:r.spanContext()}var Ys=/^([0-9a-f]{32})$/i,zs=/^[0-9a-f]{16}$/i;function Hs(e){return Ys.test(e)&&e!==br}function Xs(e){return zs.test(e)&&e!==dr}function Le(e){return Hs(e.traceId)&&Xs(e.spanId)}function ln(e){return new Q(e)}var Tr=re.getInstance(),Me=function(){function e(){}return e.prototype.startSpan=function(r,t,n){n===void 0&&(n=Tr.active());var o=!!(t!=null&&t.root);if(o)return new Q;var i=n&&Ne(n);return Js(i)&&Le(i)?new Q(i):new Q},e.prototype.startActiveSpan=function(r,t,n,o){var i,s,a;if(!(arguments.length<2)){arguments.length===2?a=t:arguments.length===3?(i=t,a=n):(i=t,s=n,a=o);var c=s!=null?s:Tr.active(),l=this.startSpan(r,i,c),p=de(c,l);return Tr.with(p,a,void 0,l)}},e}();function Js(e){return typeof e=="object"&&typeof e.spanId=="string"&&typeof e.traceId=="string"&&typeof e.traceFlags=="number"}var Zs=new Me,pn=function(){function e(r,t,n,o){this._provider=r,this.name=t,this.version=n,this.options=o}return e.prototype.startSpan=function(r,t,n){return this._getTracer().startSpan(r,t,n)},e.prototype.startActiveSpan=function(r,t,n,o){var i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var r=this._provider.getDelegateTracer(this.name,this.version,this.options);return r?(this._delegate=r,this._delegate):Zs},e}();var fn=function(){function e(){}return e.prototype.getTracer=function(r,t,n){return new Me},e}();var eu=new fn,hr=function(){function e(){}return e.prototype.getTracer=function(r,t,n){var o;return(o=this.getDelegateTracer(r,t,n))!==null&&o!==void 0?o:new pn(this,r,t,n)},e.prototype.getDelegate=function(){var r;return(r=this._delegate)!==null&&r!==void 0?r:eu},e.prototype.setDelegate=function(r){this._delegate=r},e.prototype.getDelegateTracer=function(r,t,n){var o;return(o=this._delegate)===null||o===void 0?void 0:o.getTracer(r,t,n)},e}();var yr=re.getInstance();var gr="trace",vn=function(){function e(){this._proxyTracerProvider=new hr,this.wrapSpanContext=ln,this.isSpanContextValid=Le,this.deleteSpan=un,this.getSpan=Ce,this.getActiveSpan=sn,this.getSpanContext=Ne,this.setSpan=de,this.setSpanContext=cn}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(r){var t=J(gr,this._proxyTracerProvider,ee.instance());return t&&this._proxyTracerProvider.setDelegate(r),t},e.prototype.getTracerProvider=function(){return j(gr)||this._proxyTracerProvider},e.prototype.getTracer=function(r,t){return this.getTracerProvider().getTracer(r,t)},e.prototype.disable=function(){Z(gr,ee.instance()),this._proxyTracerProvider=new hr},e}();var xr=vn.getInstance();import{TracerAllSpansProcessor as ru,TracerMemorySpanExporter as dn,initTracerOpenTelemetry as tu}from"@tracer/opentelemetry";var Ir=class e{constructor({name:r}){}log(r,t){}error(r,t){}critical(r,t){}createComponentTracer(r){return new e({name:r})}end(){}getFinishedSpans(){}getTraceId(){return this.fakeTraceId}},Or=class e{constructor({name:r,parentContext:t,tracer:n}){this.childTracers=[];let o=!n;if(o){let s=tu({serviceName:"videoplayer-sdk-web",appToken:"L9SBoka6ZWk4xPjaK7tmfSfYvMhcge7nvGDjpdMmscb",spanLimits:{attributeCountLimit:1/0,eventCountLimit:1/0,attributePerEventCountLimit:1/0}}).getProvider(),a=new dn,c=new dn;this.spanExporter=a,s.addSpanProcessor(new ru({startedSpansExporter:a,endedSpansExporter:c})),this.tracer=s.getTracer("sdk-videoplayer-tracer")}else this.tracer=n;this.span=this.tracer.startSpan(r,{root:o},t),this.context=xr.setSpan(yr.active(),this.span)}log(r,t){this.span.addEvent(r,B(A({},t),{type:"log"}))}error(r,t){this.span.addEvent(r,B(A({},t),{type:"error"}))}critical(r,t){this.span.addEvent(r,B(A({},t),{type:"critical"}))}static createRootTracer(r=!1){return r?new e({name:"Root"}):new Ir({name:"Root"})}createComponentTracer(r){let t=new e({name:r,parentContext:this.context,tracer:this.tracer});return this.childTracers.push(t),t}end(){this.childTracers.forEach(r=>r.end()),this.span.end()}getFinishedSpans(){var r;return(r=this.spanExporter)==null?void 0:r.getJsonData()}getTraceId(){return this.span.spanContext().traceId}};function nu(e,r='Assertion "value is not nullable" failed'){if(e==null)throw new Error(r)}function ou(e,r='Assertion "value is nullable" failed'){if(e!=null)throw new Error(r)}function te(e){return typeof e!="undefined"&&e!==null}function Sr(e){return e==null}function iu(e,r){if(!(e!=null&&e.length))throw new Error(r)}function au(e,r){if(e!=null&&e.length)throw new Error(r)}var su=(e,r,t)=>new Promise((n,o)=>{r.addEventListener("abort",()=>{a(),l.remove()});let i=()=>{a(),o()},s=()=>{a(),n()},a=()=>{c&&clearTimeout(c),l.removeEventListener("load",s),l.removeEventListener("error",i)},c;t&&(c=window.setTimeout(i,t));let l=document.createElement("script");l.addEventListener("load",s),l.addEventListener("error",i),l.src=e,document.head.appendChild(l)});var bn,uu=typeof((bn=window.performance)==null?void 0:bn.now)=="function"?()=>window.performance.now():()=>Date.now();var cu=(e,r)=>(...t)=>qe(void 0,null,function*(){var s;let n=r(...t),o=e.aborted,i;for(;!o&&!e.aborted;)try{let a=yield n.next(i);o=(s=a.done)!=null?s:!1,i=a.value}catch(a){yield n.throw(a)}return i});var mn=()=>{var e,r;return/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test((e=navigator.appVersion)!=null?e:navigator.userAgent)||((r=navigator==null?void 0:navigator.userAgentData)==null?void 0:r.mobile)},wr=class{constructor(){this.detect()}get browser(){return this._currentBrowser}get device(){return this._currentDevice}get isTouch(){return this._maxTouchPoints>0}get isIOS(){return["iPhone","iPad","iPod"].includes(this.device)}get isMac(){return this.device==="Mac"}get isApple(){return this.isIOS||this.isMac}get isIphoneOrOldIpad(){if(!this.isApple||!this.isTouch)return!1;let r=this.device==="iPad"||(window==null?void 0:window.screen.width)>700,t=this._iosVersion;return!r||r&&!!t&&t<16}get isAndroid(){return this.device==="Android"}get isMobile(){return this._isMobile}get iOSVersion(){return this._iosVersion}get macVersion(){return this._macVersion}get isYandex(){return this.browser==="Yandex"}get isSafari(){return this.browser==="Safari"}get isSamsungBrowser(){return this.browser==="SamsungBrowser"}get isHDR(){return this._isHdr}detect(){var n;let{userAgent:r,maxTouchPoints:t}=navigator;try{this._maxTouchPoints=t,this._isHdr=!!((n=matchMedia("(dynamic-range: high)"))!=null&&n.matches)}catch(o){console.error(o)}try{this._isMobile=mn()}catch(o){console.error(o)}this.detectBrowser(r),this.detectDevice(r),this.isIOS&&this.detectIOSVersion(),this.isMac&&this.detectMacVersion()}detectBrowser(r){try{let t=/yabrowser/i.test(r)?"Yandex":void 0,n=/samsungbrowser/i.test(r)?"SamsungBrowser":void 0,o=/chrome|crios/i.test(r)?"Chrome":void 0,i=/chromium/i.test(r)?"Chromium":void 0,s=/firefox|fxios/i.test(r)?"Firefox":void 0,a=/webkit|safari|khtml/i.test(r)?"Safari":void 0,c=/opr\//i.test(r)?"Opera":void 0,l=/edg/i.test(r)?"Edge":void 0;this._currentBrowser=t||n||s||c||l||o||i||a||"Rest"}catch(t){console.error(t)}}detectDevice(r){try{let t=/android/i.test(r)?"Android":void 0,n=/iphone/i.test(r)?"iPhone":void 0,o=/ipad/i.test(r)?"iPad":void 0,i=/ipod/i.test(r)?"iPod":void 0,s=/mac/i.test(r)?"Mac":void 0,a=/webOS|BlackBerry|IEMobile|Opera Mini/i.test(r)?"RestMobile":void 0;this._currentDevice=t||n||o||i||a||s||"Desktop"}catch(t){console.error(t)}}detectIOSVersion(){try{let{userAgent:r}=window.navigator,t=r.match(/Version\/(\d+(\.\d+)?)/i);if(!t)return;let n=t[1],o=parseFloat(n);if(isNaN(o))return;this._iosVersion=o}catch(r){console.error(r)}}detectMacVersion(){try{let{userAgent:r}=window.navigator,t=r.match(/Version\/(\d+)/);if(!t)return;let n=t[1],o=parseInt(n,10);if(isNaN(o))return;this._macVersion=o}catch(r){console.error(r)}}},lu=new wr;var pu=(e,{start:r=0,factor:t=2,max:n=1/0,min:o=r,random:i=0}={})=>{let s=r;return s*=Ht(t,e),s*=1+(Math.random()*i*2-i),s=Math.round(s),s=Math.min(s,n),s=Math.max(s,o),s};var _r={};qs(_r,{clear:()=>Tu,get:()=>vu,has:()=>bu,isPersistent:()=>fu,remove:()=>mu,set:()=>du});var I,Y,Er=`vk-videoplayer-dummy-key-${Math.random()}`,ne=()=>{if(Y!==void 0)return Y;try{localStorage.setItem(Er,"test"),localStorage.removeItem(Er),Y=0}catch(e){if(e instanceof DOMException||e instanceof TypeError)try{sessionStorage.getItem(Er),Y=1}catch(r){if(r instanceof DOMException||r instanceof TypeError)Y=2;else throw r}else throw e}return Y===2&&(I=new Map),Y},fu=()=>ne()===0,vu=e=>{var t,n;let r=ne();switch(r){case 0:return(t=localStorage.getItem(e))!=null?t:void 0;case 1:return(n=sessionStorage.getItem(e))!=null?n:void 0;case 2:return I==null?void 0:I.get(e);default:L(r)}},du=(e,r)=>{let t=ne();switch(t){case 0:try{localStorage.setItem(e,r)}catch(n){if(n instanceof DOMException)console.error(n);else throw n}break;case 1:try{sessionStorage.setItem(e,r)}catch(n){if(n instanceof DOMException)console.error(n);else throw n}break;case 2:return void(I==null?void 0:I.set(e,r));default:L(t)}},bu=e=>{var t;let r=ne();switch(r){case 0:return e in localStorage;case 1:return e in sessionStorage;case 2:return(t=I==null?void 0:I.has(e))!=null?t:!1;default:return L(r),!1}},mu=e=>{let r=ne();switch(r){case 0:return localStorage.removeItem(e);case 1:return sessionStorage.removeItem(e);case 2:return void(I==null?void 0:I.delete(e));default:L(r)}},Tu=()=>{let e=ne();switch(e){case 0:return localStorage.clear();case 1:return sessionStorage.clear();case 2:return I==null?void 0:I.clear();default:L(e)}};var hu=()=>{let e,r;try{e=window.self!==window.top}catch(n){n instanceof DOMException&&n.name==="SecurityError"?e=!0:(e=!1,console.error(n))}try{window.location.ancestorOrigins&&(r=window.location.ancestorOrigins[window.location.ancestorOrigins.length-1])}catch(n){console.error(n)}try{!r&&document.referrer&&(r=document.referrer)}catch(n){console.error(n)}let t=r?new URL(r).hostname:void 0;return{isEmbed:e,host:t}};var Rr=(p=>(p.INVARIANT="Invariant quality",p.Q_144P="144p",p.Q_240P="240p",p.Q_360P="360p",p.Q_480P="480p",p.Q_720P="720p",p.Q_1080P="1080p",p.Q_1440P="1440p",p.Q_2160P="2160p",p.Q_4320P="4320p",p))(Rr||{});var _={"144p":{width:256,height:144},"240p":{width:428,height:240},"360p":{width:640,height:360},"480p":{width:856,height:480},"720p":{width:1280,height:720},"1080p":{width:1920,height:1080},"1440p":{width:2560,height:1440},"2160p":{width:3840,height:2160},"4320p":{width:7680,height:4320}},yu=(e,r)=>_[e].height>_[r].height,gu=(e,r)=>_[e].height>=_[r].height,Pr=(e,r)=>_[e].height<_[r].height,xu=(e,r)=>_[e].height<=_[r].height,Iu=e=>e.sort((r,t)=>r===t?0:r==="Invariant quality"?1:t==="Invariant quality"?-1:Pr(r,t)?1:-1)[0],Tn=Object.keys(_).sort((e,r)=>Pr(e,r)?-1:1),Ou=(e,r=.02)=>[...Tn].find(n=>_[n].height*(1+r)>=e),Su=({width:e,height:r})=>{let t=Math.min(e,r),n=Math.max(e,r);return Tn.find(o=>{let i=_[o];return i.width>=n&&i.height>=t})},wu=e=>_[e].height,qr=e=>e==="Invariant quality",Eu=e=>e.every(r=>!qr(r));function _u(e){if(qr(e))throw new Error("Expected exact quality")}var Ru=(e,r)=>{let t={};for(let n of Object.keys(r)){let o=r[n],i=e[n];Array.isArray(o)&&Array.isArray(i)?t[n]=i:typeof o=="object"&&typeof i=="object"?t[n]=Ru(i,o):t[n]=n in e?i:o}return t};var Lb=e=>{let r="";return e>=3600&&(r+=Math.floor(e/3600)+"h",e=e%3600),e>=60&&(r+=Math.floor(e/60)+"m",e=e%60),e>0&&(r+=Math.floor(e)+"s"),r};function Ar(e,r=0,t){let n,o,i,s,a,c,l=0,p=!1,f=!1,d=!0,b=!r&&r!==0&&typeof window.requestAnimationFrame=="function";t&&(p=!!t.leading,f="maxWait"in t,i=t!=null&&t.maxWait?Math.max(+(t==null?void 0:t.maxWait)||0,r):i,d="trailing"in t?!!t.trailing:d);function T(m){let R=n,K=o;return n=o=void 0,l=m,s=e.apply(K,R),s}function h(m,R){return b?(a&&window.cancelAnimationFrame(a),window.requestAnimationFrame(m)):setTimeout(m,R)}function x(m){if(b){window.cancelAnimationFrame(m);return}clearTimeout(m)}function y(m){return l=m,a=h(_e,r),p?T(m):s}function g(m){let R=m-c,K=m-l,Kt=r-R;return f?Math.min(Kt,i-K):Kt}function Qt(m){let R=m-c,K=m-l;return c===void 0||R>=r||R<0||f&&K>=i}function _e(){let m=Date.now();if(Qt(m))return Wt(m);a=h(_e,g(m))}function Wt(m){return a=void 0,d&&n?T(m):(n=o=void 0,s)}function gs(){a!==void 0&&x(a),l=0,n=c=o=a=void 0}function xs(){return a===void 0?s:Wt(Date.now())}function Is(){return a!==void 0}function Re(...m){let R=Date.now(),K=Qt(R);if(n=m,o=this,c=R,K){if(a===void 0)return y(c);if(f)return a=h(_e,r),T(c)}return a===void 0&&(a=h(_e,r)),s}return Re.cancel=gs,Re.flush=xs,Re.pending=Is,Re}var Cr=(e,r=0,t)=>Ar(e,r,B(A(A({},{leading:!0,trailing:!0}),t),{maxWait:r}));var je=(e,r)=>{if(e===null||typeof e!="object")return e;let t=Array.isArray(e)?[]:{};for(let n in e){if(typeof r=="function"){let o=r(e[n],n,e,t);if(o!==void 0){t[n]=o;continue}}typeof e[n]=="object"?t[n]=je(e[n],r):t[n]=e[n]}return t};var Pu=e=>je(e);var qu=300,Au=(e,r=qu)=>new v(t=>{let{width:n,height:o}=e.getBoundingClientRect();if(t.next({width:n,height:o}),!window.ResizeObserver)return;let i=new ResizeObserver(Cr(s=>{let a=s[0];if(!a)return;let c,l;a.contentBoxSize&&a.contentBoxSize[0]?(l=a.contentBoxSize[0].blockSize,c=a.contentBoxSize[0].inlineSize):a.contentRect&&(c=a.contentRect.width,l=a.contentRect.height),te(c)&&te(l)&&t.next({width:c,height:l})},r));return i.observe(e),()=>i.disconnect()});var Ve=(e,r=".")=>{let t={};for(let n in e)if(e.hasOwnProperty(n))if(typeof e[n]=="object"&&e[n]!==null){let o=Ve(e[n]);for(let i in o)o.hasOwnProperty(i)&&(t[n+r+i]=o[i])}else t[n]=e[n];return t};var Cu=e=>{e.removeAttribute("src"),e.load()};var Nu=e=>r=>t=>{let n=typeof t=="object";t==null||n&&!Object.keys(t).length||e(r,n?Ve(t):{value:t})};var ke=class extends U{constructor(r){super(),this.value=r}next(r){super.next(this.value=r)}error(r){super.error(this.value=r)}getValue(){return this.value}_subscribe(r){let t=super._subscribe(r);return r.next(this.value),t}};function hn(e){return new v(r=>{let t={},n=Object.keys(e).length,o=i=>s=>{i in t||n--,t[i]=s,n===0&&r.next(t)};return Object.entries(e).reduce((i,[s,a])=>i.add(a.subscribe(o(s))),new E)})}function yn(...e){return new v(r=>e.reduce((t,n)=>t.add(n.subscribe(r)),new E))}var Lu=e=>new v(r=>{let t=window.setTimeout(()=>{try{r.next()}catch(n){if(r.error)r.error(n);else throw n}},e);return()=>window.clearTimeout(t)});var Mu=e=>new v(r=>{let t=window.setInterval(()=>r.next(),e);return()=>{t&&(window.clearInterval(t),t=void 0)}});var ju=e=>new v(r=>{e.forEach(t=>r.next(t))});var Vu=(e,r)=>new v(t=>{let n=o=>t.next(o);return e.addEventListener(r,n),()=>e.removeEventListener(r,n)});function gn(e){return r=>new v(t=>r.subscribe(new Nr(t,e)))}var Nr=class{constructor(r,t){this.destination=r;this.size=t;this.lastValues=[]}next(r){this.lastValues.length===this.size&&this.lastValues.shift(),this.lastValues.push(r),this.destination.next(this.lastValues)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};var ku={leading:!1,trailing:!0};function xn(e,r=ku){return t=>new v(n=>t.subscribe(new Lr(n,e,r)))}var Lr=class{constructor(r,t,n){this.destination=r;this.time=t;this.config=n}next(r){this.lastValue=r,te(this.timeout)?window.clearTimeout(this.timeout):this.config.leading&&this.destination.next(r),this.timeout=window.setTimeout(()=>{if(this.config.trailing)try{this.destination.next(this.lastValue)}catch(t){if(this.destination.error)this.destination.error(t);else throw t}this.timeout=void 0},this.time)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};var Du={leading:!0,trailing:!1};function In(e,r=Du){return t=>new v(n=>t.subscribe(new Mr(n,e,r)))}var Mr=class{constructor(r,t,n){this.destination=r;this.time=t;this.config=n}next(r){this.lastValue=r,Sr(this.timeout)&&(this.config.leading&&this.destination.next(r),this.timeout=window.setTimeout(()=>{this.config.trailing&&this.destination.next(this.lastValue),this.timeout=void 0},this.time))}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};function On(e){return r=>new v(t=>r.subscribe(new jr(t,e)))}var jr=class{constructor(r,t){this.destination=r;this.predicate=t}next(r){let t;try{t=this.predicate(r)}catch(n){throw this.error(n),n}t&&this.destination.next(r)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};function wn(e=(r,t)=>r===t){return r=>new v(t=>r.subscribe(new Vr(t,e)))}var Sn={},Vr=class{constructor(r,t){this.destination=r;this.predicate=t;this.lastValue=Sn}next(r){let t;try{t=this.lastValue===Sn||!this.predicate(this.lastValue,r),this.lastValue=r}catch(n){throw this.error(n),n}t&&this.destination.next(r)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};function De(e){return r=>new v(t=>r.subscribe(new kr(t,e)))}var kr=class{constructor(r,t){this.destination=r;this.mapper=t}next(r){let t;try{t=this.mapper(r)}catch(n){throw this.error(n),n}this.destination.next(t)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};function En(e){return De(()=>e)}function _n(){return e=>new v(r=>{let t=!1,n=!1,o=e.subscribe(i=>{t||(t=!0,r.next(i)),n&&o.unsubscribe()},i=>{var s;t=!0,(s=r.error)==null||s.call(r,i),n&&o.unsubscribe()});return n=!0,t&&o.unsubscribe(),o})}function Rn(){return e=>new v(r=>e.subscribe(new Dr(r)))}var Dr=class{constructor(r){this.destination=r;this.hasLast=!1}next(r){let t=this.last;if(this.last=r,!this.hasLast){this.hasLast=!0;return}this.destination.next([t,r])}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};function Pn(e){return r=>new v(t=>r.subscribe(new Fr(t,e)))}var Fr=class{constructor(r,t){this.destination=r;this.effect=t}next(r){try{this.effect(r)}catch(t){throw this.error(t),t}this.destination.next(r)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};var Fu=(a=>(a.NETWORK="network",a.VIDEO_PIPELINE="video_pipeline",a.EXTERNAL_API="external_api",a.PARSER="parser",a.DOM="dom",a.WTF="wtf",a.FATAL="fatal",a))(Fu||{});var Fe=class{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(r,t,n){r in this.listeners||(this.listeners[r]=[]),this.listeners[r].push({callback:t,options:n})}removeEventListener(r,t){if(!(r in this.listeners))return;let n=this.listeners[r];for(let o=0,i=n.length;o<i;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(r){if(!(r.type in this.listeners))return;let n=this.listeners[r.type].slice();for(let o=0,i=n.length;o<i;o++){let s=n[o];try{s.callback.call(this,r)}catch(a){Promise.resolve().then(()=>{throw a})}s.options&&s.options.once&&this.removeEventListener(r.type,s.callback)}return!r.defaultPrevented}},oe=class extends Fe{constructor(){super(),this.listeners||Fe.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(r){r.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,r)),super.dispatchEvent(r)}},be=class{constructor(){Object.defineProperty(this,"signal",{value:new oe,writable:!0,configurable:!0})}abort(r){let t;try{t=new Event("abort")}catch(o){typeof document!="undefined"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=r;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(o){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(be.prototype[Symbol.toStringTag]="AbortController",oe.prototype[Symbol.toStringTag]="AbortSignal");function Ge(e){return e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof e.Request=="function"&&!e.Request.prototype.hasOwnProperty("signal")||!e.AbortController}function Gr(e){typeof e=="function"&&(e={fetch:e});let{fetch:r,Request:t=r.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=e;if(!Ge({fetch:r,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:r,Request:i};let i=t;(i&&!i.prototype.hasOwnProperty("signal")||o)&&(i=function(l,p){let f;p&&p.signal&&(f=p.signal,delete p.signal);let d=new t(l,p);return f&&Object.defineProperty(d,"signal",{writable:!1,enumerable:!1,configurable:!0,value:f}),d},i.prototype=t.prototype);let s=r;return{fetch:(c,l)=>{let p=i&&i.prototype.isPrototypeOf(c)?c.signal:l?l.signal:void 0;if(p){let f;try{f=new DOMException("Aborted","AbortError")}catch(b){f=new Error("Aborted"),f.name="AbortError"}if(p.aborted)return Promise.reject(f);let d=new Promise((b,T)=>{p.addEventListener("abort",()=>T(f),{once:!0})});return l&&l.signal&&delete l.signal,Promise.race([d,s(c,l)])}return s(c,l)},Request:i}}var me=Ge({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),qn=me?Gr({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,An=me?qn.fetch:window.fetch,GT=me?qn.Request:window.Request,BT=me?be:window.AbortController,UT=me?oe:window.AbortSignal;var ys=Cs(hs(),1);var Av=(f=>(f.Armenian="58",f.Azerbaijani="57",f.Belarusian="114",f.English="3",f.Kazakh="97",f.Portuguese="73",f.Russian="0",f.Spanish="4",f.Ukrainian="1",f.Uzbek="65",f.Vietnamese="75",f))(Av||{}),Cv="vk.com",My=(e,r,t)=>qe(void 0,null,function*(){let n=new URL(`https://${Cv}/js/lang-pack.js`);n.searchParams.set("format","json"),n.searchParams.set("name",r),e!==void 0&&n.searchParams.set("lang",e);let i=yield(yield An(n.toString())).json();return Nv(i,t)}),Nv=(e,r)=>(0,ys.default)(Object.entries(e.keys).map(([t,n])=>[t.substring(`${r}_`.length),Lv(n)])),Lv=e=>Array.isArray(e)?e[0]:e;var Mv=(t=>(t.RU="ru",t.EN="en",t))(Mv||{});export{Fu as ErrorCategory,Mv as InterfaceLanguage,fr as Logger,v as Observable,U as Subject,E as Subscription,Or as Tracer,Ns as VERSION,Av as VKNumericLanguage,ke as ValueSubject,Rr as VideoQuality,cu as abortable,su as addScript,Eu as areQualitiesExact,au as assertEmptyArray,L as assertNever,nu as assertNonNullable,iu as assertNotEmptyArray,ou as assertNullable,_u as assertQualityIsExact,gn as buffer,Ls as checkNever,Cu as clearVideoElement,lu as clientChecker,Pu as cloneDeep,je as cloneDeepWith,hn as combine,xn as debounce,Ar as debounceFn,hu as detectEmbed,Ru as fillWithDefault,On as filter,wn as filterChanged,Ve as flattenObject,Vu as fromEvent,pu as getExponentialDelay,Iu as getHighestQuality,Nu as getTraceSubscriptionMethod,Mu as interval,yu as isHigher,gu as isHigherOrEqual,qr as isInvariantQuality,Pr as isLower,xu as isLowerOrEqual,mn as isMobile,te as isNonNullable,Sr as isNullable,My as loadVKLangPack,De as map,En as mapTo,yn as merge,$ as noop,uu as now,ju as observableFrom,Au as observeElementSize,_n as once,Rn as pairwise,_r as safeStorage,Pn as tap,In as throttle,Cr as throttleFn,Lb as timeCodeToString,Lu as timeout,Ou as videoHeightToQuality,wu as videoQualityToHeight,Su as videoSizeToQuality};
|
|
6
|
+
var eR=Object.create;var fr=Object.defineProperty,rR=Object.defineProperties,tR=Object.getOwnPropertyDescriptor,nR=Object.getOwnPropertyDescriptors,aR=Object.getOwnPropertyNames,ai=Object.getOwnPropertySymbols,iR=Object.getPrototypeOf,oi=Object.prototype.hasOwnProperty,oR=Object.prototype.propertyIsEnumerable;var Ei=Math.pow,ii=(e,r,t)=>r in e?fr(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,H=(e,r)=>{for(var t in r||(r={}))oi.call(r,t)&&ii(e,t,r[t]);if(ai)for(var t of ai(r))oR.call(r,t)&&ii(e,t,r[t]);return e},ee=(e,r)=>rR(e,nR(r));var _=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),ER=(e,r)=>{for(var t in r)fr(e,t,{get:r[t],enumerable:!0})},sR=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of aR(r))!oi.call(e,a)&&a!==t&&fr(e,a,{get:()=>r[a],enumerable:!(n=tR(r,a))||n.enumerable});return e};var TR=(e,r,t)=>(t=e!=null?eR(iR(e)):{},sR(r||!e||!e.__esModule?fr(t,"default",{value:e,enumerable:!0}):t,e));var Re=(e,r,t)=>new Promise((n,a)=>{var i=s=>{try{E(t.next(s))}catch(T){a(T)}},o=s=>{try{E(t.throw(s))}catch(T){a(T)}},E=s=>s.done?n(s.value):Promise.resolve(s.value).then(i,o);E((t=t.apply(e,r)).next())});var q=_((hG,_c)=>{"use strict";_c.exports=function(e){try{return!!e()}catch(r){return!0}}});var ir=_((CG,Sc)=>{"use strict";var DD=q();Sc.exports=!DD(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var Q=_((mG,cc)=>{"use strict";var uc=ir(),Ac=Function.prototype,ra=Ac.call,bD=uc&&Ac.bind.bind(ra,ra);cc.exports=uc?bD:function(e){return function(){return ra.apply(e,arguments)}}});var Et=_((DG,Oc)=>{"use strict";var lc=Q(),yD=lc({}.toString),gD=lc("".slice);Oc.exports=function(e){return gD(yD(e),8,-1)}});var Rc=_((bG,fc)=>{"use strict";var UD=Q(),VD=q(),BD=Et(),ta=Object,wD=UD("".split);fc.exports=VD(function(){return!ta("z").propertyIsEnumerable(0)})?function(e){return BD(e)==="String"?wD(e,""):ta(e)}:ta});var st=_((yG,pc)=>{"use strict";pc.exports=function(e){return e==null}});var Tt=_((gG,vc)=>{"use strict";var GD=st(),xD=TypeError;vc.exports=function(e){if(GD(e))throw new xD("Can't call method on "+e);return e}});var Ue=_((UG,dc)=>{"use strict";var YD=Rc(),HD=Tt();dc.exports=function(e){return YD(HD(e))}});var Pc=_((VG,Nc)=>{"use strict";Nc.exports=function(){}});var le=_((BG,Mc)=>{"use strict";Mc.exports={}});var b=_((na,Lc)=>{"use strict";var or=function(e){return e&&e.Math===Math&&e};Lc.exports=or(typeof globalThis=="object"&&globalThis)||or(typeof window=="object"&&window)||or(typeof self=="object"&&self)||or(typeof global=="object"&&global)||or(typeof na=="object"&&na)||function(){return this}()||Function("return this")()});var y=_((wG,Ic)=>{"use strict";var aa=typeof document=="object"&&document.all;Ic.exports=typeof aa=="undefined"&&aa!==void 0?function(e){return typeof e=="function"||e===aa}:function(e){return typeof e=="function"}});var mc=_((GG,Cc)=>{"use strict";var FD=b(),KD=y(),hc=FD.WeakMap;Cc.exports=KD(hc)&&/native code/.test(String(hc))});var $=_((xG,Dc)=>{"use strict";var qD=y();Dc.exports=function(e){return typeof e=="object"?e!==null:qD(e)}});var j=_((YG,bc)=>{"use strict";var jD=q();bc.exports=!jD(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var oa=_((HG,gc)=>{"use strict";var XD=b(),yc=$(),ia=XD.document,WD=yc(ia)&&yc(ia.createElement);gc.exports=function(e){return WD?ia.createElement(e):{}}});var Ea=_((FG,Uc)=>{"use strict";var kD=j(),QD=q(),$D=oa();Uc.exports=!kD&&!QD(function(){return Object.defineProperty($D("div"),"a",{get:function(){return 7}}).a!==7})});var sa=_((KG,Vc)=>{"use strict";var zD=j(),ZD=q();Vc.exports=zD&&ZD(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var Oe=_((qG,Bc)=>{"use strict";var JD=$(),eb=String,rb=TypeError;Bc.exports=function(e){if(JD(e))return e;throw new rb(eb(e)+" is not an object")}});var ne=_((jG,wc)=>{"use strict";var tb=ir(),_t=Function.prototype.call;wc.exports=tb?_t.bind(_t):function(){return _t.apply(_t,arguments)}});var St=_((XG,Gc)=>{"use strict";Gc.exports={}});var Sa=_((WG,Yc)=>{"use strict";var Ta=St(),_a=b(),nb=y(),xc=function(e){return nb(e)?e:void 0};Yc.exports=function(e,r){return arguments.length<2?xc(Ta[e])||xc(_a[e]):Ta[e]&&Ta[e][r]||_a[e]&&_a[e][r]}});var ua=_((kG,Hc)=>{"use strict";var ab=Q();Hc.exports=ab({}.isPrototypeOf)});var jc=_((QG,qc)=>{"use strict";var ib=b(),Fc=ib.navigator,Kc=Fc&&Fc.userAgent;qc.exports=Kc?String(Kc):""});var Zc=_(($G,zc)=>{"use strict";var $c=b(),Aa=jc(),Xc=$c.process,Wc=$c.Deno,kc=Xc&&Xc.versions||Wc&&Wc.version,Qc=kc&&kc.v8,x,ut;Qc&&(x=Qc.split("."),ut=x[0]>0&&x[0]<4?1:+(x[0]+x[1]));!ut&&Aa&&(x=Aa.match(/Edge\/(\d+)/),(!x||x[1]>=74)&&(x=Aa.match(/Chrome\/(\d+)/),x&&(ut=+x[1])));zc.exports=ut});var ca=_((zG,el)=>{"use strict";var Jc=Zc(),ob=q(),Eb=b(),sb=Eb.String;el.exports=!!Object.getOwnPropertySymbols&&!ob(function(){var e=Symbol("symbol detection");return!sb(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Jc&&Jc<41})});var la=_((ZG,rl)=>{"use strict";var Tb=ca();rl.exports=Tb&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Oa=_((JG,tl)=>{"use strict";var _b=Sa(),Sb=y(),ub=ua(),Ab=la(),cb=Object;tl.exports=Ab?function(e){return typeof e=="symbol"}:function(e){var r=_b("Symbol");return Sb(r)&&ub(r.prototype,cb(e))}});var At=_((ex,nl)=>{"use strict";var lb=String;nl.exports=function(e){try{return lb(e)}catch(r){return"Object"}}});var Er=_((rx,al)=>{"use strict";var Ob=y(),fb=At(),Rb=TypeError;al.exports=function(e){if(Ob(e))return e;throw new Rb(fb(e)+" is not a function")}});var ct=_((tx,il)=>{"use strict";var pb=Er(),vb=st();il.exports=function(e,r){var t=e[r];return vb(t)?void 0:pb(t)}});var El=_((nx,ol)=>{"use strict";var fa=ne(),Ra=y(),pa=$(),db=TypeError;ol.exports=function(e,r){var t,n;if(r==="string"&&Ra(t=e.toString)&&!pa(n=fa(t,e))||Ra(t=e.valueOf)&&!pa(n=fa(t,e))||r!=="string"&&Ra(t=e.toString)&&!pa(n=fa(t,e)))return n;throw new db("Can't convert object to primitive value")}});var sr=_((ax,sl)=>{"use strict";sl.exports=!0});var Sl=_((ix,_l)=>{"use strict";var Tl=b(),Nb=Object.defineProperty;_l.exports=function(e,r){try{Nb(Tl,e,{value:r,configurable:!0,writable:!0})}catch(t){Tl[e]=r}return r}});var lt=_((ox,cl)=>{"use strict";var Pb=sr(),Mb=b(),Lb=Sl(),ul="__core-js_shared__",Al=cl.exports=Mb[ul]||Lb(ul,{});(Al.versions||(Al.versions=[])).push({version:"3.38.0",mode:Pb?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var va=_((Ex,Ol)=>{"use strict";var ll=lt();Ol.exports=function(e,r){return ll[e]||(ll[e]=r||{})}});var da=_((sx,fl)=>{"use strict";var Ib=Tt(),hb=Object;fl.exports=function(e){return hb(Ib(e))}});var z=_((Tx,Rl)=>{"use strict";var Cb=Q(),mb=da(),Db=Cb({}.hasOwnProperty);Rl.exports=Object.hasOwn||function(r,t){return Db(mb(r),t)}});var Na=_((_x,pl)=>{"use strict";var bb=Q(),yb=0,gb=Math.random(),Ub=bb(1 .toString);pl.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Ub(++yb+gb,36)}});var Z=_((Sx,dl)=>{"use strict";var Vb=b(),Bb=va(),vl=z(),wb=Na(),Gb=ca(),xb=la(),Ve=Vb.Symbol,Pa=Bb("wks"),Yb=xb?Ve.for||Ve:Ve&&Ve.withoutSetter||wb;dl.exports=function(e){return vl(Pa,e)||(Pa[e]=Gb&&vl(Ve,e)?Ve[e]:Yb("Symbol."+e)),Pa[e]}});var Ll=_((ux,Ml)=>{"use strict";var Hb=ne(),Nl=$(),Pl=Oa(),Fb=ct(),Kb=El(),qb=Z(),jb=TypeError,Xb=qb("toPrimitive");Ml.exports=function(e,r){if(!Nl(e)||Pl(e))return e;var t=Fb(e,Xb),n;if(t){if(r===void 0&&(r="default"),n=Hb(t,e,r),!Nl(n)||Pl(n))return n;throw new jb("Can't convert object to primitive value")}return r===void 0&&(r="number"),Kb(e,r)}});var Ma=_((Ax,Il)=>{"use strict";var Wb=Ll(),kb=Oa();Il.exports=function(e){var r=Wb(e,"string");return kb(r)?r:r+""}});var Be=_(Cl=>{"use strict";var Qb=j(),$b=Ea(),zb=sa(),Ot=Oe(),hl=Ma(),Zb=TypeError,La=Object.defineProperty,Jb=Object.getOwnPropertyDescriptor,Ia="enumerable",ha="configurable",Ca="writable";Cl.f=Qb?zb?function(r,t,n){if(Ot(r),t=hl(t),Ot(n),typeof r=="function"&&t==="prototype"&&"value"in n&&Ca in n&&!n[Ca]){var a=Jb(r,t);a&&a[Ca]&&(r[t]=n.value,n={configurable:ha in n?n[ha]:a[ha],enumerable:Ia in n?n[Ia]:a[Ia],writable:!1})}return La(r,t,n)}:La:function(r,t,n){if(Ot(r),t=hl(t),Ot(n),$b)try{return La(r,t,n)}catch(a){}if("get"in n||"set"in n)throw new Zb("Accessors not supported");return"value"in n&&(r[t]=n.value),r}});var Tr=_((lx,ml)=>{"use strict";ml.exports=function(e,r){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r}}});var we=_((Ox,Dl)=>{"use strict";var ey=j(),ry=Be(),ty=Tr();Dl.exports=ey?function(e,r,t){return ry.f(e,r,ty(1,t))}:function(e,r,t){return e[r]=t,e}});var ft=_((fx,yl)=>{"use strict";var ny=va(),ay=Na(),bl=ny("keys");yl.exports=function(e){return bl[e]||(bl[e]=ay(e))}});var Rt=_((Rx,gl)=>{"use strict";gl.exports={}});var wl=_((px,Bl)=>{"use strict";var iy=mc(),Vl=b(),oy=$(),Ey=we(),ma=z(),Da=lt(),sy=ft(),Ty=Rt(),Ul="Object already initialized",ba=Vl.TypeError,_y=Vl.WeakMap,pt,_r,vt,Sy=function(e){return vt(e)?_r(e):pt(e,{})},uy=function(e){return function(r){var t;if(!oy(r)||(t=_r(r)).type!==e)throw new ba("Incompatible receiver, "+e+" required");return t}};iy||Da.state?(Y=Da.state||(Da.state=new _y),Y.get=Y.get,Y.has=Y.has,Y.set=Y.set,pt=function(e,r){if(Y.has(e))throw new ba(Ul);return r.facade=e,Y.set(e,r),r},_r=function(e){return Y.get(e)||{}},vt=function(e){return Y.has(e)}):(fe=sy("state"),Ty[fe]=!0,pt=function(e,r){if(ma(e,fe))throw new ba(Ul);return r.facade=e,Ey(e,fe,r),r},_r=function(e){return ma(e,fe)?e[fe]:{}},vt=function(e){return ma(e,fe)});var Y,fe;Bl.exports={set:pt,get:_r,has:vt,enforce:Sy,getterFor:uy}});var Fl=_((vx,Hl)=>{"use strict";var Ay=ir(),Yl=Function.prototype,Gl=Yl.apply,xl=Yl.call;Hl.exports=typeof Reflect=="object"&&Reflect.apply||(Ay?xl.bind(Gl):function(){return xl.apply(Gl,arguments)})});var ya=_((dx,Kl)=>{"use strict";var cy=Et(),ly=Q();Kl.exports=function(e){if(cy(e)==="Function")return ly(e)}});var Wl=_(Xl=>{"use strict";var ql={}.propertyIsEnumerable,jl=Object.getOwnPropertyDescriptor,Oy=jl&&!ql.call({1:2},1);Xl.f=Oy?function(r){var t=jl(this,r);return!!t&&t.enumerable}:ql});var $l=_(Ql=>{"use strict";var fy=j(),Ry=ne(),py=Wl(),vy=Tr(),dy=Ue(),Ny=Ma(),Py=z(),My=Ea(),kl=Object.getOwnPropertyDescriptor;Ql.f=fy?kl:function(r,t){if(r=dy(r),t=Ny(t),My)try{return kl(r,t)}catch(n){}if(Py(r,t))return vy(!Ry(py.f,r,t),r[t])}});var Zl=_((Mx,zl)=>{"use strict";var Ly=q(),Iy=y(),hy=/#|\.prototype\./,Sr=function(e,r){var t=my[Cy(e)];return t===by?!0:t===Dy?!1:Iy(r)?Ly(r):!!r},Cy=Sr.normalize=function(e){return String(e).replace(hy,".").toLowerCase()},my=Sr.data={},Dy=Sr.NATIVE="N",by=Sr.POLYFILL="P";zl.exports=Sr});var ga=_((Lx,eO)=>{"use strict";var Jl=ya(),yy=Er(),gy=ir(),Uy=Jl(Jl.bind);eO.exports=function(e,r){return yy(e),r===void 0?e:gy?Uy(e,r):function(){return e.apply(r,arguments)}}});var Ua=_((Ix,tO)=>{"use strict";var ur=b(),Vy=Fl(),By=ya(),wy=y(),Gy=$l().f,xy=Zl(),Ge=St(),Yy=ga(),xe=we(),rO=z();lt();var Hy=function(e){var r=function(t,n,a){if(this instanceof r){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,a)}return Vy(e,this,arguments)};return r.prototype=e.prototype,r};tO.exports=function(e,r){var t=e.target,n=e.global,a=e.stat,i=e.proto,o=n?ur:a?ur[t]:ur[t]&&ur[t].prototype,E=n?Ge:Ge[t]||xe(Ge,t,{})[t],s=E.prototype,T,S,u,A,l,R,M,c,O;for(A in r)T=xy(n?A:t+(a?".":"#")+A,e.forced),S=!T&&o&&rO(o,A),R=E[A],S&&(e.dontCallGetSet?(O=Gy(o,A),M=O&&O.value):M=o[A]),l=S&&M?M:r[A],!(!T&&!i&&typeof R==typeof l)&&(e.bind&&S?c=Yy(l,ur):e.wrap&&S?c=Hy(l):i&&wy(l)?c=By(l):c=l,(e.sham||l&&l.sham||R&&R.sham)&&xe(c,"sham",!0),xe(E,A,c),i&&(u=t+"Prototype",rO(Ge,u)||xe(Ge,u,{}),xe(Ge[u],A,l),e.real&&s&&(T||!s[A])&&xe(s,A,l)))}});var iO=_((hx,aO)=>{"use strict";var Va=j(),Fy=z(),nO=Function.prototype,Ky=Va&&Object.getOwnPropertyDescriptor,Ba=Fy(nO,"name"),qy=Ba&&function(){}.name==="something",jy=Ba&&(!Va||Va&&Ky(nO,"name").configurable);aO.exports={EXISTS:Ba,PROPER:qy,CONFIGURABLE:jy}});var EO=_((Cx,oO)=>{"use strict";var Xy=Math.ceil,Wy=Math.floor;oO.exports=Math.trunc||function(r){var t=+r;return(t>0?Wy:Xy)(t)}});var wa=_((mx,sO)=>{"use strict";var ky=EO();sO.exports=function(e){var r=+e;return r!==r||r===0?0:ky(r)}});var _O=_((Dx,TO)=>{"use strict";var Qy=wa(),$y=Math.max,zy=Math.min;TO.exports=function(e,r){var t=Qy(e);return t<0?$y(t+r,0):zy(t,r)}});var uO=_((bx,SO)=>{"use strict";var Zy=wa(),Jy=Math.min;SO.exports=function(e){var r=Zy(e);return r>0?Jy(r,9007199254740991):0}});var Ga=_((yx,AO)=>{"use strict";var eg=uO();AO.exports=function(e){return eg(e.length)}});var OO=_((gx,lO)=>{"use strict";var rg=Ue(),tg=_O(),ng=Ga(),cO=function(e){return function(r,t,n){var a=rg(r),i=ng(a);if(i===0)return!e&&-1;var o=tg(n,i),E;if(e&&t!==t){for(;i>o;)if(E=a[o++],E!==E)return!0}else for(;i>o;o++)if((e||o in a)&&a[o]===t)return e||o||0;return!e&&-1}};lO.exports={includes:cO(!0),indexOf:cO(!1)}});var pO=_((Ux,RO)=>{"use strict";var ag=Q(),xa=z(),ig=Ue(),og=OO().indexOf,Eg=Rt(),fO=ag([].push);RO.exports=function(e,r){var t=ig(e),n=0,a=[],i;for(i in t)!xa(Eg,i)&&xa(t,i)&&fO(a,i);for(;r.length>n;)xa(t,i=r[n++])&&(~og(a,i)||fO(a,i));return a}});var Ya=_((Vx,vO)=>{"use strict";vO.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var NO=_((Bx,dO)=>{"use strict";var sg=pO(),Tg=Ya();dO.exports=Object.keys||function(r){return sg(r,Tg)}});var MO=_(PO=>{"use strict";var _g=j(),Sg=sa(),ug=Be(),Ag=Oe(),cg=Ue(),lg=NO();PO.f=_g&&!Sg?Object.defineProperties:function(r,t){Ag(r);for(var n=cg(t),a=lg(t),i=a.length,o=0,E;i>o;)ug.f(r,E=a[o++],n[E]);return r}});var IO=_((Gx,LO)=>{"use strict";var Og=Sa();LO.exports=Og("document","documentElement")});var qa=_((xx,gO)=>{"use strict";var fg=Oe(),Rg=MO(),hO=Ya(),pg=Rt(),vg=IO(),dg=oa(),Ng=ft(),CO=">",mO="<",Fa="prototype",Ka="script",bO=Ng("IE_PROTO"),Ha=function(){},yO=function(e){return mO+Ka+CO+e+mO+"/"+Ka+CO},DO=function(e){e.write(yO("")),e.close();var r=e.parentWindow.Object;return e=null,r},Pg=function(){var e=dg("iframe"),r="java"+Ka+":",t;return e.style.display="none",vg.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(yO("document.F=Object")),t.close(),t.F},dt,Nt=function(){try{dt=new ActiveXObject("htmlfile")}catch(r){}Nt=typeof document!="undefined"?document.domain&&dt?DO(dt):Pg():DO(dt);for(var e=hO.length;e--;)delete Nt[Fa][hO[e]];return Nt()};pg[bO]=!0;gO.exports=Object.create||function(r,t){var n;return r!==null?(Ha[Fa]=fg(r),n=new Ha,Ha[Fa]=null,n[bO]=r):n=Nt(),t===void 0?n:Rg.f(n,t)}});var VO=_((Yx,UO)=>{"use strict";var Mg=q();UO.exports=!Mg(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})});var Xa=_((Hx,wO)=>{"use strict";var Lg=z(),Ig=y(),hg=da(),Cg=ft(),mg=VO(),BO=Cg("IE_PROTO"),ja=Object,Dg=ja.prototype;wO.exports=mg?ja.getPrototypeOf:function(e){var r=hg(e);if(Lg(r,BO))return r[BO];var t=r.constructor;return Ig(t)&&r instanceof t?t.prototype:r instanceof ja?Dg:null}});var Wa=_((Fx,GO)=>{"use strict";var bg=we();GO.exports=function(e,r,t,n){return n&&n.enumerable?e[r]=t:bg(e,r,t),e}});var za=_((Kx,HO)=>{"use strict";var yg=q(),gg=y(),Ug=$(),Vg=qa(),xO=Xa(),Bg=Wa(),wg=Z(),Gg=sr(),$a=wg("iterator"),YO=!1,J,ka,Qa;[].keys&&(Qa=[].keys(),"next"in Qa?(ka=xO(xO(Qa)),ka!==Object.prototype&&(J=ka)):YO=!0);var xg=!Ug(J)||yg(function(){var e={};return J[$a].call(e)!==e});xg?J={}:Gg&&(J=Vg(J));gg(J[$a])||Bg(J,$a,function(){return this});HO.exports={IteratorPrototype:J,BUGGY_SAFARI_ITERATORS:YO}});var Pt=_((qx,KO)=>{"use strict";var Yg=Z(),Hg=Yg("toStringTag"),FO={};FO[Hg]="z";KO.exports=String(FO)==="[object z]"});var Za=_((jx,qO)=>{"use strict";var Fg=Pt(),Kg=y(),Mt=Et(),qg=Z(),jg=qg("toStringTag"),Xg=Object,Wg=Mt(function(){return arguments}())==="Arguments",kg=function(e,r){try{return e[r]}catch(t){}};qO.exports=Fg?Mt:function(e){var r,t,n;return e===void 0?"Undefined":e===null?"Null":typeof(t=kg(r=Xg(e),jg))=="string"?t:Wg?Mt(r):(n=Mt(r))==="Object"&&Kg(r.callee)?"Arguments":n}});var XO=_((Xx,jO)=>{"use strict";var Qg=Pt(),$g=Za();jO.exports=Qg?{}.toString:function(){return"[object "+$g(this)+"]"}});var Lt=_((Wx,kO)=>{"use strict";var zg=Pt(),Zg=Be().f,Jg=we(),eU=z(),rU=XO(),tU=Z(),WO=tU("toStringTag");kO.exports=function(e,r,t,n){var a=t?e:e&&e.prototype;a&&(eU(a,WO)||Zg(a,WO,{configurable:!0,value:r}),n&&!zg&&Jg(a,"toString",rU))}});var $O=_((kx,QO)=>{"use strict";var nU=za().IteratorPrototype,aU=qa(),iU=Tr(),oU=Lt(),EU=le(),sU=function(){return this};QO.exports=function(e,r,t,n){var a=r+" Iterator";return e.prototype=aU(nU,{next:iU(+!n,t)}),oU(e,a,!1,!0),EU[a]=sU,e}});var ZO=_((Qx,zO)=>{"use strict";var TU=Q(),_U=Er();zO.exports=function(e,r,t){try{return TU(_U(Object.getOwnPropertyDescriptor(e,r)[t]))}catch(n){}}});var ef=_(($x,JO)=>{"use strict";var SU=$();JO.exports=function(e){return SU(e)||e===null}});var tf=_((zx,rf)=>{"use strict";var uU=ef(),AU=String,cU=TypeError;rf.exports=function(e){if(uU(e))return e;throw new cU("Can't set "+AU(e)+" as a prototype")}});var af=_((Zx,nf)=>{"use strict";var lU=ZO(),OU=$(),fU=Tt(),RU=tf();nf.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,r={},t;try{t=lU(Object.prototype,"__proto__","set"),t(r,[]),e=r instanceof Array}catch(n){}return function(a,i){return fU(a),RU(i),OU(a)&&(e?t(a,i):a.__proto__=i),a}}():void 0)});var Of=_((Jx,lf)=>{"use strict";var pU=Ua(),vU=ne(),It=sr(),Af=iO(),dU=y(),NU=$O(),of=Xa(),Ef=af(),PU=Lt(),MU=we(),Ja=Wa(),LU=Z(),sf=le(),cf=za(),IU=Af.PROPER,hU=Af.CONFIGURABLE,Tf=cf.IteratorPrototype,ht=cf.BUGGY_SAFARI_ITERATORS,Ar=LU("iterator"),_f="keys",cr="values",Sf="entries",uf=function(){return this};lf.exports=function(e,r,t,n,a,i,o){NU(t,r,n);var E=function(O){if(O===a&&A)return A;if(!ht&&O&&O in S)return S[O];switch(O){case _f:return function(){return new t(this,O)};case cr:return function(){return new t(this,O)};case Sf:return function(){return new t(this,O)}}return function(){return new t(this)}},s=r+" Iterator",T=!1,S=e.prototype,u=S[Ar]||S["@@iterator"]||a&&S[a],A=!ht&&u||E(a),l=r==="Array"&&S.entries||u,R,M,c;if(l&&(R=of(l.call(new e)),R!==Object.prototype&&R.next&&(!It&&of(R)!==Tf&&(Ef?Ef(R,Tf):dU(R[Ar])||Ja(R,Ar,uf)),PU(R,s,!0,!0),It&&(sf[s]=uf))),IU&&a===cr&&u&&u.name!==cr&&(!It&&hU?MU(S,"name",cr):(T=!0,A=function(){return vU(u,this)})),a)if(M={values:E(cr),keys:i?A:E(_f),entries:E(Sf)},o)for(c in M)(ht||T||!(c in S))&&Ja(S,c,M[c]);else pU({target:r,proto:!0,forced:ht||T},M);return(!It||o)&&S[Ar]!==A&&Ja(S,Ar,A,{name:a}),sf[r]=A,M}});var Rf=_((e0,ff)=>{"use strict";ff.exports=function(e,r){return{value:e,done:r}}});var ri=_((r0,Pf)=>{"use strict";var CU=Ue(),ei=Pc(),pf=le(),df=wl(),mU=Be().f,DU=Of(),Ct=Rf(),bU=sr(),yU=j(),Nf="Array Iterator",gU=df.set,UU=df.getterFor(Nf);Pf.exports=DU(Array,"Array",function(e,r){gU(this,{type:Nf,target:CU(e),index:0,kind:r})},function(){var e=UU(this),r=e.target,t=e.index++;if(!r||t>=r.length)return e.target=void 0,Ct(void 0,!0);switch(e.kind){case"keys":return Ct(t,!1);case"values":return Ct(r[t],!1)}return Ct([t,r[t]],!1)},"values");var vf=pf.Arguments=pf.Array;ei("keys");ei("values");ei("entries");if(!bU&&yU&&vf.name!=="values")try{mU(vf,"name",{value:"values"})}catch(e){}});var Lf=_((t0,Mf)=>{"use strict";var VU=Z(),BU=le(),wU=VU("iterator"),GU=Array.prototype;Mf.exports=function(e){return e!==void 0&&(BU.Array===e||GU[wU]===e)}});var ti=_((n0,hf)=>{"use strict";var xU=Za(),If=ct(),YU=st(),HU=le(),FU=Z(),KU=FU("iterator");hf.exports=function(e){if(!YU(e))return If(e,KU)||If(e,"@@iterator")||HU[xU(e)]}});var mf=_((a0,Cf)=>{"use strict";var qU=ne(),jU=Er(),XU=Oe(),WU=At(),kU=ti(),QU=TypeError;Cf.exports=function(e,r){var t=arguments.length<2?kU(e):r;if(jU(t))return XU(qU(t,e));throw new QU(WU(e)+" is not iterable")}});var yf=_((i0,bf)=>{"use strict";var $U=ne(),Df=Oe(),zU=ct();bf.exports=function(e,r,t){var n,a;Df(e);try{if(n=zU(e,"return"),!n){if(r==="throw")throw t;return t}n=$U(n,e)}catch(i){a=!0,n=i}if(r==="throw")throw t;if(a)throw n;return Df(n),t}});var wf=_((o0,Bf)=>{"use strict";var ZU=ga(),JU=ne(),eV=Oe(),rV=At(),tV=Lf(),nV=Ga(),gf=ua(),aV=mf(),iV=ti(),Uf=yf(),oV=TypeError,mt=function(e,r){this.stopped=e,this.result=r},Vf=mt.prototype;Bf.exports=function(e,r,t){var n=t&&t.that,a=!!(t&&t.AS_ENTRIES),i=!!(t&&t.IS_RECORD),o=!!(t&&t.IS_ITERATOR),E=!!(t&&t.INTERRUPTED),s=ZU(r,n),T,S,u,A,l,R,M,c=function(p){return T&&Uf(T,"normal",p),new mt(!0,p)},O=function(p){return a?(eV(p),E?s(p[0],p[1],c):s(p[0],p[1])):E?s(p,c):s(p)};if(i)T=e.iterator;else if(o)T=e;else{if(S=iV(e),!S)throw new oV(rV(e)+" is not iterable");if(tV(S)){for(u=0,A=nV(e);A>u;u++)if(l=O(e[u]),l&&gf(Vf,l))return l;return new mt(!1)}T=aV(e,S)}for(R=i?e.next:T.next;!(M=JU(R,T)).done;){try{l=O(M.value)}catch(p){Uf(T,"throw",p)}if(typeof l=="object"&&l&&gf(Vf,l))return l}return new mt(!1)}});var xf=_((E0,Gf)=>{"use strict";var EV=j(),sV=Be(),TV=Tr();Gf.exports=function(e,r,t){EV?sV.f(e,r,TV(0,t)):e[r]=t}});var Yf=_(()=>{"use strict";var _V=Ua(),SV=wf(),uV=xf();_V({target:"Object",stat:!0},{fromEntries:function(r){var t={};return SV(r,function(n,a){uV(t,n,a)},{AS_ENTRIES:!0}),t}})});var Ff=_((_0,Hf)=>{"use strict";ri();Yf();var AV=St();Hf.exports=AV.Object.fromEntries});var qf=_((S0,Kf)=>{"use strict";Kf.exports={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}});var Xf=_(()=>{"use strict";ri();var cV=qf(),lV=b(),OV=Lt(),jf=le();for(Dt in cV)OV(lV[Dt],Dt),jf[Dt]=jf.Array;var Dt});var kf=_((c0,Wf)=>{"use strict";var fV=Ff();Xf();Wf.exports=fV});var $f=_((l0,Qf)=>{"use strict";var RV=kf();Qf.exports=RV});var _R="1.0.40-dev.76d1fbf0.0";var g=class{constructor(){this.subscriptions=[]}unsubscribe(){let r=this.subscriptions;this.subscriptions=[],r.forEach(t=>typeof t=="function"?t():t.unsubscribe())}add(r){return this.subscriptions.push(r),this}};var X=e=>{throw new Error(`${e} is value of unexpected type`)},SR=e=>{};var ie=()=>{};var f=class{constructor(r){r&&(this._subscribe=r)}subscribe(r,t){var o;let n;t?typeof t=="function"?n={next:t,error:ie}:n={next:E=>t.next(E),error:E=>{var s;return(s=t.error)==null?void 0:s.call(t,E)}}:n={next:ie,error:ie};let a=typeof r=="function"?{next:E=>{try{r(E)}catch(s){n.next(s)}},error:E=>n.next(E)}:{next:E=>r.next(E),error:E=>r.error?r.error(E):n.next(E)},i;try{i=this._subscribe(a)}catch(E){(o=a.error)==null||o.call(a,E)}return new g().add(()=>{switch(a.next=ie,a.error=ie,typeof i){case"function":i();return;case"object":i.unsubscribe();return;case"undefined":return;default:return X(i)}})}pipe(...r){return r.reduce((t,n)=>n(t),this)}_subscribe(r){}};var re=class extends f{constructor(){super();this.keyCounter=0;this.subscribers=new Map}next(t){this.subscribers.forEach(n=>n.next(t))}error(t){this.subscribers.forEach(n=>{var a;return(a=n.error)==null?void 0:a.call(n,t)})}_subscribe(t){let n=this.keyCounter++;return this.subscribers.set(n,t),new g().add(()=>this.subscribers.delete(n))}};var bt=class{constructor(){this.log$=new re;this.logs=[];this.log=r=>{let t=ee(H({},r),{timestamp:Date.now()});this.logs.push(t),this.log$.next(t)};this.getAllLogs=()=>this.logs}createCustomLog(r){return(...t)=>{let n;try{n=r(...t)}catch(a){n={message:"error in `createCustomLog`",component:"Logger"}}this.log(n)}}createComponentLog(r){return this.createCustomLog(t=>H({component:r},t))}};import{trace as qm,context as jm}from"@opentelemetry/api";var uR=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},Se="1.8.0",si=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function AR(e){var r=new Set([e]),t=new Set,n=e.match(si);if(!n)return function(){return!1};var a={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(a.prerelease!=null)return function(s){return s===e};function i(E){return t.add(E),!1}function o(E){return r.add(E),!0}return function(s){if(r.has(s))return!0;if(t.has(s))return!1;var T=s.match(si);if(!T)return i(s);var S={major:+T[1],minor:+T[2],patch:+T[3],prerelease:T[4]};return S.prerelease!=null||a.major!==S.major?i(s):a.major===0?a.minor===S.minor&&a.patch<=S.patch?o(s):i(s):a.minor<=S.minor?o(s):i(s)}}var cR=AR(Se),lR=Se.split(".")[0],ke=Symbol.for("opentelemetry.js.api."+lR),Qe=uR;function Je(e,r,t,n){var a;n===void 0&&(n=!1);var i=Qe[ke]=(a=Qe[ke])!==null&&a!==void 0?a:{version:Se};if(!n&&i[e]){var o=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return t.error(o.stack||o.message),!1}if(i.version!==Se){var o=new Error("@opentelemetry/api: Registration of version v"+i.version+" for "+e+" does not match previously registered API v"+Se);return t.error(o.stack||o.message),!1}return i[e]=r,t.debug("@opentelemetry/api: Registered a global for "+e+" v"+Se+"."),!0}function Ae(e){var r,t,n=(r=Qe[ke])===null||r===void 0?void 0:r.version;if(!(!n||!cR(n)))return(t=Qe[ke])===null||t===void 0?void 0:t[e]}function er(e,r){r.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+Se+".");var t=Qe[ke];t&&delete t[e]}var OR=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},fR=function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},RR=function(){function e(r){this._namespace=r.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return Ye("debug",this._namespace,r)},e.prototype.error=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return Ye("error",this._namespace,r)},e.prototype.info=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return Ye("info",this._namespace,r)},e.prototype.warn=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return Ye("warn",this._namespace,r)},e.prototype.verbose=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return Ye("verbose",this._namespace,r)},e}();function Ye(e,r,t){var n=Ae("diag");if(n)return t.unshift(r),n[e].apply(n,fR([],OR(t),!1))}var L;(function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"})(L||(L={}));function pR(e,r){e<L.NONE?e=L.NONE:e>L.ALL&&(e=L.ALL),r=r||{};function t(n,a){var i=r[n];return typeof i=="function"&&e>=a?i.bind(r):function(){}}return{error:t("error",L.ERROR),warn:t("warn",L.WARN),info:t("info",L.INFO),debug:t("debug",L.DEBUG),verbose:t("verbose",L.VERBOSE)}}var vR=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},dR=function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},NR="diag",K=function(){function e(){function r(a){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var E=Ae("diag");if(E)return E[a].apply(E,dR([],vR(i),!1))}}var t=this,n=function(a,i){var o,E,s;if(i===void 0&&(i={logLevel:L.INFO}),a===t){var T=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error((o=T.stack)!==null&&o!==void 0?o:T.message),!1}typeof i=="number"&&(i={logLevel:i});var S=Ae("diag"),u=pR((E=i.logLevel)!==null&&E!==void 0?E:L.INFO,a);if(S&&!i.suppressOverrideMessage){var A=(s=new Error().stack)!==null&&s!==void 0?s:"<failed to generate stacktrace>";S.warn("Current logger will be overwritten from "+A),u.warn("Current logger will overwrite one already registered from "+A)}return Je("diag",u,t,!0)};t.setLogger=n,t.disable=function(){er(NR,t)},t.createComponentLogger=function(a){return new RR(a)},t.verbose=r("verbose"),t.debug=r("debug"),t.info=r("info"),t.warn=r("warn"),t.error=r("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}(),PR=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},MR=function(e){var r=typeof Symbol=="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},LR=function(){function e(r){this._entries=r?new Map(r):new Map}return e.prototype.getEntry=function(r){var t=this._entries.get(r);if(t)return Object.assign({},t)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(r){var t=PR(r,2),n=t[0],a=t[1];return[n,a]})},e.prototype.setEntry=function(r,t){var n=new e(this._entries);return n._entries.set(r,t),n},e.prototype.removeEntry=function(r){var t=new e(this._entries);return t._entries.delete(r),t},e.prototype.removeEntries=function(){for(var r,t,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=new e(this._entries);try{for(var o=MR(n),E=o.next();!E.done;E=o.next()){var s=E.value;i._entries.delete(s)}}catch(T){r={error:T}}finally{try{E&&!E.done&&(t=o.return)&&t.call(o)}finally{if(r)throw r.error}}return i},e.prototype.clear=function(){return new e},e}(),IR=Symbol("BaggageEntryMetadata"),hR=K.instance();function CR(e){return e===void 0&&(e={}),new LR(new Map(Object.entries(e)))}function mi(e){return typeof e!="string"&&(hR.error("Cannot create baggage metadata from unknown type: "+typeof e),e=""),{__TYPE__:IR,toString:function(){return e}}}function rr(e){return Symbol.for(e)}var mR=function(){function e(r){var t=this;t._currentContext=r?new Map(r):new Map,t.getValue=function(n){return t._currentContext.get(n)},t.setValue=function(n,a){var i=new e(t._currentContext);return i._currentContext.set(n,a),i},t.deleteValue=function(n){var a=new e(t._currentContext);return a._currentContext.delete(n),a}}return e}(),se=new mR,yt=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],DR=function(){function e(){function r(n){return function(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(console){var o=console[n];if(typeof o!="function"&&(o=console.log),typeof o=="function")return o.apply(console,a)}}}for(var t=0;t<yt.length;t++)this[yt[t].n]=r(yt[t].c)}return e}(),me=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),bR=function(){function e(){}return e.prototype.createHistogram=function(r,t){return xR},e.prototype.createCounter=function(r,t){return GR},e.prototype.createUpDownCounter=function(r,t){return YR},e.prototype.createObservableGauge=function(r,t){return FR},e.prototype.createObservableCounter=function(r,t){return HR},e.prototype.createObservableUpDownCounter=function(r,t){return KR},e.prototype.addBatchObservableCallback=function(r,t){},e.prototype.removeBatchObservableCallback=function(r){},e}(),En=function(){function e(){}return e}(),yR=function(e){me(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.add=function(t,n){},r}(En),gR=function(e){me(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.add=function(t,n){},r}(En),UR=function(e){me(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.record=function(t,n){},r}(En),sn=function(){function e(){}return e.prototype.addCallback=function(r){},e.prototype.removeCallback=function(r){},e}(),VR=function(e){me(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(sn),BR=function(e){me(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(sn),wR=function(e){me(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(sn),Di=new bR,GR=new yR,xR=new UR,YR=new gR,HR=new VR,FR=new BR,KR=new wR;function qR(){return Di}var Kt;(function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"})(Kt||(Kt={}));var bi={get:function(e,r){if(e!=null)return e[r]},keys:function(e){return e==null?[]:Object.keys(e)}},yi={set:function(e,r,t){e!=null&&(e[r]=t)}},jR=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},XR=function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},WR=function(){function e(){}return e.prototype.active=function(){return se},e.prototype.with=function(r,t,n){for(var a=[],i=3;i<arguments.length;i++)a[i-3]=arguments[i];return t.call.apply(t,XR([n],jR(a),!1))},e.prototype.bind=function(r,t){return t},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}(),kR=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},QR=function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},gt="context",$R=new WR,Fr=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(r){return Je(gt,r,K.instance())},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(r,t,n){for(var a,i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];return(a=this._getContextManager()).with.apply(a,QR([r,t,n],kR(i),!1))},e.prototype.bind=function(r,t){return this._getContextManager().bind(r,t)},e.prototype._getContextManager=function(){return Ae(gt)||$R},e.prototype.disable=function(){this._getContextManager().disable(),er(gt,K.instance())},e}(),U;(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(U||(U={}));var Tn="0000000000000000",_n="00000000000000000000000000000000",Sn={traceId:_n,spanId:Tn,traceFlags:U.NONE},qe=function(){function e(r){r===void 0&&(r=Sn),this._spanContext=r}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(r,t){return this},e.prototype.setAttributes=function(r){return this},e.prototype.addEvent=function(r,t){return this},e.prototype.setStatus=function(r){return this},e.prototype.updateName=function(r){return this},e.prototype.end=function(r){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(r,t){},e}(),un=rr("OpenTelemetry Context Key SPAN");function An(e){return e.getValue(un)||void 0}function zR(){return An(Fr.getInstance().active())}function cn(e,r){return e.setValue(un,r)}function ZR(e){return e.deleteValue(un)}function JR(e,r){return cn(e,new qe(r))}function gi(e){var r;return(r=An(e))===null||r===void 0?void 0:r.spanContext()}var ep=/^([0-9a-f]{32})$/i,rp=/^[0-9a-f]{16}$/i;function Kr(e){return ep.test(e)&&e!==_n}function Ui(e){return rp.test(e)&&e!==Tn}function De(e){return Kr(e.traceId)&&Ui(e.spanId)}function tp(e){return new qe(e)}var Ut=Fr.getInstance(),Vi=function(){function e(){}return e.prototype.startSpan=function(r,t,n){n===void 0&&(n=Ut.active());var a=!!(t!=null&&t.root);if(a)return new qe;var i=n&&gi(n);return np(i)&&De(i)?new qe(i):new qe},e.prototype.startActiveSpan=function(r,t,n,a){var i,o,E;if(!(arguments.length<2)){arguments.length===2?E=t:arguments.length===3?(i=t,E=n):(i=t,o=n,E=a);var s=o!=null?o:Ut.active(),T=this.startSpan(r,i,s),S=cn(s,T);return Ut.with(S,E,void 0,T)}},e}();function np(e){return typeof e=="object"&&typeof e.spanId=="string"&&typeof e.traceId=="string"&&typeof e.traceFlags=="number"}var ap=new Vi,Bi=function(){function e(r,t,n,a){this._provider=r,this.name=t,this.version=n,this.options=a}return e.prototype.startSpan=function(r,t,n){return this._getTracer().startSpan(r,t,n)},e.prototype.startActiveSpan=function(r,t,n,a){var i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var r=this._provider.getDelegateTracer(this.name,this.version,this.options);return r?(this._delegate=r,this._delegate):ap},e}(),ip=function(){function e(){}return e.prototype.getTracer=function(r,t,n){return new Vi},e}(),op=new ip,qt=function(){function e(){}return e.prototype.getTracer=function(r,t,n){var a;return(a=this.getDelegateTracer(r,t,n))!==null&&a!==void 0?a:new Bi(this,r,t,n)},e.prototype.getDelegate=function(){var r;return(r=this._delegate)!==null&&r!==void 0?r:op},e.prototype.setDelegate=function(r){this._delegate=r},e.prototype.getDelegateTracer=function(r,t,n){var a;return(a=this._delegate)===null||a===void 0?void 0:a.getTracer(r,t,n)},e}(),k;(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(k||(k={}));var Dr;(function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"})(Dr||(Dr={}));var br;(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(br||(br={}));var jt="[_0-9a-z-*/]",Ep="[a-z]"+jt+"{0,255}",sp="[a-z0-9]"+jt+"{0,240}@[a-z]"+jt+"{0,13}",Tp=new RegExp("^(?:"+Ep+"|"+sp+")$"),_p=/^[ -~]{0,255}[!-~]$/,Sp=/,|=/;function up(e){return Tp.test(e)}function Ap(e){return _p.test(e)&&!Sp.test(e)}var Ti=32,cp=512,_i=",",Si="=",lp=function(){function e(r){this._internalState=new Map,r&&this._parse(r)}return e.prototype.set=function(r,t){var n=this._clone();return n._internalState.has(r)&&n._internalState.delete(r),n._internalState.set(r,t),n},e.prototype.unset=function(r){var t=this._clone();return t._internalState.delete(r),t},e.prototype.get=function(r){return this._internalState.get(r)},e.prototype.serialize=function(){var r=this;return this._keys().reduce(function(t,n){return t.push(n+Si+r.get(n)),t},[]).join(_i)},e.prototype._parse=function(r){r.length>cp||(this._internalState=r.split(_i).reverse().reduce(function(t,n){var a=n.trim(),i=a.indexOf(Si);if(i!==-1){var o=a.slice(0,i),E=a.slice(i+1,n.length);up(o)&&Ap(E)&&t.set(o,E)}return t},new Map),this._internalState.size>Ti&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,Ti))))},e.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},e.prototype._clone=function(){var r=new e;return r._internalState=new Map(this._internalState),r},e}();function Op(e){return new lp(e)}var F=Fr.getInstance(),v=K.instance(),fp=function(){function e(){}return e.prototype.getMeter=function(r,t,n){return Di},e}(),Rp=new fp,Vt="metrics",pp=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalMeterProvider=function(r){return Je(Vt,r,K.instance())},e.prototype.getMeterProvider=function(){return Ae(Vt)||Rp},e.prototype.getMeter=function(r,t,n){return this.getMeterProvider().getMeter(r,t,n)},e.prototype.disable=function(){er(Vt,K.instance())},e}(),ln=pp.getInstance(),vp=function(){function e(){}return e.prototype.inject=function(r,t){},e.prototype.extract=function(r,t){return r},e.prototype.fields=function(){return[]},e}(),On=rr("OpenTelemetry Baggage Key");function wi(e){return e.getValue(On)||void 0}function dp(){return wi(Fr.getInstance().active())}function Np(e,r){return e.setValue(On,r)}function Pp(e){return e.deleteValue(On)}var Bt="propagation",Mp=new vp,Lp=function(){function e(){this.createBaggage=CR,this.getBaggage=wi,this.getActiveBaggage=dp,this.setBaggage=Np,this.deleteBaggage=Pp}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(r){return Je(Bt,r,K.instance())},e.prototype.inject=function(r,t,n){return n===void 0&&(n=yi),this._getGlobalPropagator().inject(r,t,n)},e.prototype.extract=function(r,t,n){return n===void 0&&(n=bi),this._getGlobalPropagator().extract(r,t,n)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){er(Bt,K.instance())},e.prototype._getGlobalPropagator=function(){return Ae(Bt)||Mp},e}(),Pe=Lp.getInstance(),wt="trace",Ip=function(){function e(){this._proxyTracerProvider=new qt,this.wrapSpanContext=tp,this.isSpanContextValid=De,this.deleteSpan=ZR,this.getSpan=An,this.getActiveSpan=zR,this.getSpanContext=gi,this.setSpan=cn,this.setSpanContext=JR}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(r){var t=Je(wt,this._proxyTracerProvider,K.instance());return t&&this._proxyTracerProvider.setDelegate(r),t},e.prototype.getTracerProvider=function(){return Ae(wt)||this._proxyTracerProvider},e.prototype.getTracer=function(r,t){return this.getTracerProvider().getTracer(r,t)},e.prototype.disable=function(){er(wt,K.instance()),this._proxyTracerProvider=new qt},e}(),D=Ip.getInstance(),hp={context:F,diag:v,metrics:ln,propagation:Pe,trace:D},Cp=Object.freeze({__proto__:null,DiagConsoleLogger:DR,get DiagLogLevel(){return L},INVALID_SPANID:Tn,INVALID_SPAN_CONTEXT:Sn,INVALID_TRACEID:_n,ProxyTracer:Bi,ProxyTracerProvider:qt,ROOT_CONTEXT:se,get SamplingDecision(){return k},get SpanKind(){return Dr},get SpanStatusCode(){return br},get TraceFlags(){return U},get ValueType(){return Kt},baggageEntryMetadataFromString:mi,context:F,createContextKey:rr,createNoopMeter:qR,createTraceState:Op,default:hp,defaultTextMapGetter:bi,defaultTextMapSetter:yi,diag:v,isSpanContextValid:De,isValidSpanId:Ui,isValidTraceId:Kr,metrics:ln,propagation:Pe,trace:D}),fn=rr("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function Rn(e){return e.setValue(fn,!0)}function mp(e){return e.deleteValue(fn)}function qr(e){return e.getValue(fn)===!0}var Dp="=",Xt=";",yr=",",Gt="baggage",bp=180,yp=4096,gp=8192,Up=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i};function Gi(e){return e.reduce(function(r,t){var n=""+r+(r!==""?yr:"")+t;return n.length>gp?r:n},"")}function xi(e){return e.getAllEntries().map(function(r){var t=Up(r,2),n=t[0],a=t[1],i=encodeURIComponent(n)+"="+encodeURIComponent(a.value);return a.metadata!==void 0&&(i+=Xt+a.metadata.toString()),i})}function pn(e){var r=e.split(Xt);if(!(r.length<=0)){var t=r.shift();if(t){var n=t.indexOf(Dp);if(!(n<=0)){var a=decodeURIComponent(t.substring(0,n).trim()),i=decodeURIComponent(t.substring(n+1).trim()),o;return r.length>0&&(o=mi(r.join(Xt))),{key:a,value:i,metadata:o}}}}}function Vp(e){return typeof e!="string"||e.length===0?{}:e.split(yr).map(function(r){return pn(r)}).filter(function(r){return r!==void 0&&r.value.length>0}).reduce(function(r,t){return r[t.key]=t.value,r},{})}var Bp=Object.freeze({__proto__:null,getKeyPairs:xi,parseKeyPairsIntoRecord:Vp,parsePairKeyValue:pn,serializeKeyPairs:Gi}),Yi=function(){function e(){}return e.prototype.inject=function(r,t,n){var a=Pe.getBaggage(r);if(!(!a||qr(r))){var i=xi(a).filter(function(E){return E.length<=yp}).slice(0,bp),o=Gi(i);o.length>0&&n.set(t,Gt,o)}},e.prototype.extract=function(r,t,n){var a=n.get(t,Gt),i=Array.isArray(a)?a.join(yr):a;if(!i)return r;var o={};if(i.length===0)return r;var E=i.split(yr);return E.forEach(function(s){var T=pn(s);if(T){var S={value:T.value};T.metadata&&(S.metadata=T.metadata),o[T.key]=S}}),Object.entries(o).length===0?r:Pe.setBaggage(r,Pe.createBaggage(o))},e.prototype.fields=function(){return[Gt]},e}(),wp=function(){function e(r,t){this._monotonicClock=t,this._epochMillis=r.now(),this._performanceMillis=t.now()}return e.prototype.now=function(){var r=this._monotonicClock.now()-this._performanceMillis;return this._epochMillis+r},e}(),Hi=function(e){var r=typeof Symbol=="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},Gp=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i};function je(e){var r,t,n={};if(typeof e!="object"||e==null)return n;try{for(var a=Hi(Object.entries(e)),i=a.next();!i.done;i=a.next()){var o=Gp(i.value,2),E=o[0],s=o[1];if(!Fi(E)){v.warn("Invalid attribute key: "+E);continue}if(!vn(s)){v.warn("Invalid attribute value set for key: "+E);continue}Array.isArray(s)?n[E]=s.slice():n[E]=s}}catch(T){r={error:T}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return n}function Fi(e){return typeof e=="string"&&e.length>0}function vn(e){return e==null?!0:Array.isArray(e)?xp(e):Ki(e)}function xp(e){var r,t,n;try{for(var a=Hi(e),i=a.next();!i.done;i=a.next()){var o=i.value;if(o!=null){if(!n){if(Ki(o)){n=typeof o;continue}return!1}if(typeof o!==n)return!1}}}catch(E){r={error:E}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return!0}function Ki(e){switch(typeof e){case"number":case"boolean":case"string":return!0}return!1}function qi(){return function(e){v.error(Yp(e))}}function Yp(e){return typeof e=="string"?e:JSON.stringify(Hp(e))}function Hp(e){for(var r={},t=e;t!==null;)Object.getOwnPropertyNames(t).forEach(function(n){if(!r[n]){var a=t[n];a&&(r[n]=String(a))}}),t=Object.getPrototypeOf(t);return r}var ji=qi();function Fp(e){ji=e}function Le(e){try{ji(e)}catch(r){}}var G;(function(e){e.AlwaysOff="always_off",e.AlwaysOn="always_on",e.ParentBasedAlwaysOff="parentbased_always_off",e.ParentBasedAlwaysOn="parentbased_always_on",e.ParentBasedTraceIdRatio="parentbased_traceidratio",e.TraceIdRatio="traceidratio"})(G||(G={}));var Kp=",",qp=["OTEL_SDK_DISABLED"];function jp(e){return qp.indexOf(e)>-1}var Xp=["OTEL_BSP_EXPORT_TIMEOUT","OTEL_BSP_MAX_EXPORT_BATCH_SIZE","OTEL_BSP_MAX_QUEUE_SIZE","OTEL_BSP_SCHEDULE_DELAY","OTEL_BLRP_EXPORT_TIMEOUT","OTEL_BLRP_MAX_EXPORT_BATCH_SIZE","OTEL_BLRP_MAX_QUEUE_SIZE","OTEL_BLRP_SCHEDULE_DELAY","OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_EVENT_COUNT_LIMIT","OTEL_SPAN_LINK_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT","OTEL_EXPORTER_OTLP_TIMEOUT","OTEL_EXPORTER_OTLP_TRACES_TIMEOUT","OTEL_EXPORTER_OTLP_METRICS_TIMEOUT","OTEL_EXPORTER_OTLP_LOGS_TIMEOUT","OTEL_EXPORTER_JAEGER_AGENT_PORT"];function Wp(e){return Xp.indexOf(e)>-1}var kp=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS"];function Qp(e){return kp.indexOf(e)>-1}var Xe=1/0,We=128,Xi=128,Wi=128,dn={OTEL_SDK_DISABLED:!1,CONTAINER_NAME:"",ECS_CONTAINER_METADATA_URI_V4:"",ECS_CONTAINER_METADATA_URI:"",HOSTNAME:"",KUBERNETES_SERVICE_HOST:"",NAMESPACE:"",OTEL_BSP_EXPORT_TIMEOUT:3e4,OTEL_BSP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BSP_MAX_QUEUE_SIZE:2048,OTEL_BSP_SCHEDULE_DELAY:5e3,OTEL_BLRP_EXPORT_TIMEOUT:3e4,OTEL_BLRP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BLRP_MAX_QUEUE_SIZE:2048,OTEL_BLRP_SCHEDULE_DELAY:5e3,OTEL_EXPORTER_JAEGER_AGENT_HOST:"",OTEL_EXPORTER_JAEGER_AGENT_PORT:6832,OTEL_EXPORTER_JAEGER_ENDPOINT:"",OTEL_EXPORTER_JAEGER_PASSWORD:"",OTEL_EXPORTER_JAEGER_USER:"",OTEL_EXPORTER_OTLP_ENDPOINT:"",OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:"",OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:"",OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:"",OTEL_EXPORTER_OTLP_HEADERS:"",OTEL_EXPORTER_OTLP_TRACES_HEADERS:"",OTEL_EXPORTER_OTLP_METRICS_HEADERS:"",OTEL_EXPORTER_OTLP_LOGS_HEADERS:"",OTEL_EXPORTER_OTLP_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_TRACES_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_METRICS_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_LOGS_TIMEOUT:1e4,OTEL_EXPORTER_ZIPKIN_ENDPOINT:"http://localhost:9411/api/v2/spans",OTEL_LOG_LEVEL:L.INFO,OTEL_NO_PATCH_MODULES:[],OTEL_PROPAGATORS:["tracecontext","baggage"],OTEL_RESOURCE_ATTRIBUTES:"",OTEL_SERVICE_NAME:"",OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT:Xe,OTEL_ATTRIBUTE_COUNT_LIMIT:We,OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT:Xe,OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT:We,OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT:Xe,OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT:We,OTEL_SPAN_EVENT_COUNT_LIMIT:128,OTEL_SPAN_LINK_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:Xi,OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:Wi,OTEL_TRACES_EXPORTER:"",OTEL_TRACES_SAMPLER:G.ParentBasedAlwaysOn,OTEL_TRACES_SAMPLER_ARG:"",OTEL_LOGS_EXPORTER:"",OTEL_EXPORTER_OTLP_INSECURE:"",OTEL_EXPORTER_OTLP_TRACES_INSECURE:"",OTEL_EXPORTER_OTLP_METRICS_INSECURE:"",OTEL_EXPORTER_OTLP_LOGS_INSECURE:"",OTEL_EXPORTER_OTLP_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_COMPRESSION:"",OTEL_EXPORTER_OTLP_TRACES_COMPRESSION:"",OTEL_EXPORTER_OTLP_METRICS_COMPRESSION:"",OTEL_EXPORTER_OTLP_LOGS_COMPRESSION:"",OTEL_EXPORTER_OTLP_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_LOGS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:"cumulative"};function $p(e,r,t){if(typeof t[e]!="undefined"){var n=String(t[e]);r[e]=n.toLowerCase()==="true"}}function zp(e,r,t,n,a){if(n===void 0&&(n=-1/0),a===void 0&&(a=1/0),typeof t[e]!="undefined"){var i=Number(t[e]);isNaN(i)||(i<n?r[e]=n:i>a?r[e]=a:r[e]=i)}}function Zp(e,r,t,n){n===void 0&&(n=Kp);var a=t[e];typeof a=="string"&&(r[e]=a.split(n).map(function(i){return i.trim()}))}var Jp={ALL:L.ALL,VERBOSE:L.VERBOSE,DEBUG:L.DEBUG,INFO:L.INFO,WARN:L.WARN,ERROR:L.ERROR,NONE:L.NONE};function ev(e,r,t){var n=t[e];if(typeof n=="string"){var a=Jp[n.toUpperCase()];a!=null&&(r[e]=a)}}function Nn(e){var r={};for(var t in dn){var n=t;switch(n){case"OTEL_LOG_LEVEL":ev(n,r,e);break;default:if(jp(n))$p(n,r,e);else if(Wp(n))zp(n,r,e);else if(Qp(n))Zp(n,r,e);else{var a=e[n];typeof a!="undefined"&&a!==null&&(r[n]=String(a))}}}return r}var Pn=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{};function m(){var e=Nn(Pn);return Object.assign({},dn,e)}function ki(){return Nn(Pn)}function ui(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-87:e-55}function Qi(e){for(var r=new Uint8Array(e.length/2),t=0,n=0;n<e.length;n+=2){var a=ui(e.charCodeAt(n)),i=ui(e.charCodeAt(n+1));r[t++]=a<<4|i}return r}var rv=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},tv=function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))};function nv(e){return btoa(String.fromCharCode.apply(String,tv([],rv(Qi(e)),!1)))}var av=8,iv=16,ov=function(){function e(){this.generateTraceId=Ai(iv),this.generateSpanId=Ai(av)}return e}(),Rr=Array(32);function Ai(e){return function(){for(var t=0;t<e*2;t++)Rr[t]=Math.floor(Math.random()*16)+48,Rr[t]>=58&&(Rr[t]+=39);return String.fromCharCode.apply(null,Rr.slice(0,e*2))}}var ue=performance,$i="1.25.1";function h(e){for(var r={},t=e.length,n=0;n<t;n++){var a=e[n];a&&(r[String(a).toUpperCase().replace(/[-.]/g,"_")]=a)}return r}var zi="aws.lambda.invoked_arn",Zi="db.system",Ji="db.connection_string",eo="db.user",ro="db.jdbc.driver_classname",to="db.name",no="db.statement",ao="db.operation",io="db.mssql.instance_name",oo="db.cassandra.keyspace",Eo="db.cassandra.page_size",so="db.cassandra.consistency_level",To="db.cassandra.table",_o="db.cassandra.idempotence",So="db.cassandra.speculative_execution_count",uo="db.cassandra.coordinator.id",Ao="db.cassandra.coordinator.dc",co="db.hbase.namespace",lo="db.redis.database_index",Oo="db.mongodb.collection",fo="db.sql.table",Ro="exception.type",po="exception.message",vo="exception.stacktrace",No="exception.escaped",Po="faas.trigger",Mo="faas.execution",Lo="faas.document.collection",Io="faas.document.operation",ho="faas.document.time",Co="faas.document.name",mo="faas.time",Do="faas.cron",bo="faas.coldstart",yo="faas.invoked_name",go="faas.invoked_provider",Uo="faas.invoked_region",Vo="net.transport",Bo="net.peer.ip",wo="net.peer.port",Go="net.peer.name",xo="net.host.ip",Yo="net.host.port",Ho="net.host.name",Fo="net.host.connection.type",Ko="net.host.connection.subtype",qo="net.host.carrier.name",jo="net.host.carrier.mcc",Xo="net.host.carrier.mnc",Wo="net.host.carrier.icc",ko="peer.service",Qo="enduser.id",$o="enduser.role",zo="enduser.scope",Zo="thread.id",Jo="thread.name",eE="code.function",rE="code.namespace",tE="code.filepath",nE="code.lineno",aE="http.method",iE="http.url",oE="http.target",EE="http.host",sE="http.scheme",TE="http.status_code",_E="http.flavor",SE="http.user_agent",uE="http.request_content_length",AE="http.request_content_length_uncompressed",cE="http.response_content_length",lE="http.response_content_length_uncompressed",OE="http.server_name",fE="http.route",RE="http.client_ip",pE="aws.dynamodb.table_names",vE="aws.dynamodb.consumed_capacity",dE="aws.dynamodb.item_collection_metrics",NE="aws.dynamodb.provisioned_read_capacity",PE="aws.dynamodb.provisioned_write_capacity",ME="aws.dynamodb.consistent_read",LE="aws.dynamodb.projection",IE="aws.dynamodb.limit",hE="aws.dynamodb.attributes_to_get",CE="aws.dynamodb.index_name",mE="aws.dynamodb.select",DE="aws.dynamodb.global_secondary_indexes",bE="aws.dynamodb.local_secondary_indexes",yE="aws.dynamodb.exclusive_start_table",gE="aws.dynamodb.table_count",UE="aws.dynamodb.scan_forward",VE="aws.dynamodb.segment",BE="aws.dynamodb.total_segments",wE="aws.dynamodb.count",GE="aws.dynamodb.scanned_count",xE="aws.dynamodb.attribute_definitions",YE="aws.dynamodb.global_secondary_index_updates",HE="messaging.system",FE="messaging.destination",KE="messaging.destination_kind",qE="messaging.temp_destination",jE="messaging.protocol",XE="messaging.protocol_version",WE="messaging.url",kE="messaging.message_id",QE="messaging.conversation_id",$E="messaging.message_payload_size_bytes",zE="messaging.message_payload_compressed_size_bytes",ZE="messaging.operation",JE="messaging.consumer_id",es="messaging.rabbitmq.routing_key",rs="messaging.kafka.message_key",ts="messaging.kafka.consumer_group",ns="messaging.kafka.client_id",as="messaging.kafka.partition",is="messaging.kafka.tombstone",os="rpc.system",Es="rpc.service",ss="rpc.method",Ts="rpc.grpc.status_code",_s="rpc.jsonrpc.version",Ss="rpc.jsonrpc.request_id",us="rpc.jsonrpc.error_code",As="rpc.jsonrpc.error_message",cs="message.type",ls="message.id",Os="message.compressed_size",fs="message.uncompressed_size",Ev=zi,sv=Zi,Tv=Ji,_v=eo,Sv=ro,uv=to,Av=no,cv=ao,lv=io,Ov=oo,fv=Eo,Rv=so,pv=To,vv=_o,dv=So,Nv=uo,Pv=Ao,Mv=co,Lv=lo,Iv=Oo,hv=fo,Pr=Ro,Mr=po,Rs=vo,Cv=No,mv=Po,Dv=Mo,bv=Lo,yv=Io,gv=ho,Uv=Co,Vv=mo,Bv=Do,wv=bo,Gv=yo,xv=go,Yv=Uo,Hv=Vo,Fv=Bo,Kv=wo,qv=Go,jv=xo,Xv=Yo,Wv=Ho,kv=Fo,Qv=Ko,$v=qo,zv=jo,Zv=Xo,Jv=Wo,ed=ko,rd=Qo,td=$o,nd=zo,ad=Zo,id=Jo,od=eE,Ed=rE,sd=tE,Td=nE,_d=aE,Sd=iE,ud=oE,Ad=EE,cd=sE,ld=TE,Od=_E,fd=SE,Rd=uE,pd=AE,vd=cE,dd=lE,Nd=OE,Pd=fE,Md=RE,Ld=pE,Id=vE,hd=dE,Cd=NE,md=PE,Dd=ME,bd=LE,yd=IE,gd=hE,Ud=CE,Vd=mE,Bd=DE,wd=bE,Gd=yE,xd=gE,Yd=UE,Hd=VE,Fd=BE,Kd=wE,qd=GE,jd=xE,Xd=YE,Wd=HE,kd=FE,Qd=KE,$d=qE,zd=jE,Zd=XE,Jd=WE,eN=kE,rN=QE,tN=$E,nN=zE,aN=ZE,iN=JE,oN=es,EN=rs,sN=ts,TN=ns,_N=as,SN=is,uN=os,AN=Es,cN=ss,lN=Ts,ON=_s,fN=Ss,RN=us,pN=As,vN=cs,dN=ls,NN=Os,PN=fs,MN=h([zi,Zi,Ji,eo,ro,to,no,ao,io,oo,Eo,so,To,_o,So,uo,Ao,co,lo,Oo,fo,Ro,po,vo,No,Po,Mo,Lo,Io,ho,Co,mo,Do,bo,yo,go,Uo,Vo,Bo,wo,Go,xo,Yo,Ho,Fo,Ko,qo,jo,Xo,Wo,ko,Qo,$o,zo,Zo,Jo,eE,rE,tE,nE,aE,iE,oE,EE,sE,TE,_E,SE,uE,AE,cE,lE,OE,fE,RE,pE,vE,dE,NE,PE,ME,LE,IE,hE,CE,mE,DE,bE,yE,gE,UE,VE,BE,wE,GE,xE,YE,HE,FE,KE,qE,jE,XE,WE,kE,QE,$E,zE,ZE,JE,es,rs,ts,ns,as,is,os,Es,ss,Ts,_s,Ss,us,As,cs,ls,Os,fs]),ps="other_sql",vs="mssql",ds="mysql",Ns="oracle",Ps="db2",Ms="postgresql",Ls="redshift",Is="hive",hs="cloudscape",Cs="hsqldb",ms="progress",Ds="maxdb",bs="hanadb",ys="ingres",gs="firstsql",Us="edb",Vs="cache",Bs="adabas",ws="firebird",Gs="derby",xs="filemaker",Ys="informix",Hs="instantdb",Fs="interbase",Ks="mariadb",qs="netezza",js="pervasive",Xs="pointbase",Ws="sqlite",ks="sybase",Qs="teradata",$s="vertica",zs="h2",Zs="coldfusion",Js="cassandra",eT="hbase",rT="mongodb",tT="redis",nT="couchbase",aT="couchdb",iT="cosmosdb",oT="dynamodb",ET="neo4j",sT="geode",TT="elasticsearch",_T="memcached",ST="cockroachdb",LN=ps,IN=vs,hN=ds,CN=Ns,mN=Ps,DN=Ms,bN=Ls,yN=Is,gN=hs,UN=Cs,VN=ms,BN=Ds,wN=bs,GN=ys,xN=gs,YN=Us,HN=Vs,FN=Bs,KN=ws,qN=Gs,jN=xs,XN=Ys,WN=Hs,kN=Fs,QN=Ks,$N=qs,zN=js,ZN=Xs,JN=Ws,eP=ks,rP=Qs,tP=$s,nP=zs,aP=Zs,iP=Js,oP=eT,EP=rT,sP=tT,TP=nT,_P=aT,SP=iT,uP=oT,AP=ET,cP=sT,lP=TT,OP=_T,fP=ST,RP=h([ps,vs,ds,Ns,Ps,Ms,Ls,Is,hs,Cs,ms,Ds,bs,ys,gs,Us,Vs,Bs,ws,Gs,xs,Ys,Hs,Fs,Ks,qs,js,Xs,Ws,ks,Qs,$s,zs,Zs,Js,eT,rT,tT,nT,aT,iT,oT,ET,sT,TT,_T,ST]),uT="all",AT="each_quorum",cT="quorum",lT="local_quorum",OT="one",fT="two",RT="three",pT="local_one",vT="any",dT="serial",NT="local_serial",pP=uT,vP=AT,dP=cT,NP=lT,PP=OT,MP=fT,LP=RT,IP=pT,hP=vT,CP=dT,mP=NT,DP=h([uT,AT,cT,lT,OT,fT,RT,pT,vT,dT,NT]),PT="datasource",MT="http",LT="pubsub",IT="timer",hT="other",bP=PT,yP=MT,gP=LT,UP=IT,VP=hT,BP=h([PT,MT,LT,IT,hT]),CT="insert",mT="edit",DT="delete",wP=CT,GP=mT,xP=DT,YP=h([CT,mT,DT]),bT="alibaba_cloud",yT="aws",gT="azure",UT="gcp",HP=bT,FP=yT,KP=gT,qP=UT,jP=h([bT,yT,gT,UT]),VT="ip_tcp",BT="ip_udp",wT="ip",GT="unix",xT="pipe",YT="inproc",HT="other",XP=VT,WP=BT,kP=wT,QP=GT,$P=xT,zP=YT,ZP=HT,JP=h([VT,BT,wT,GT,xT,YT,HT]),FT="wifi",KT="wired",qT="cell",jT="unavailable",XT="unknown",eM=FT,rM=KT,tM=qT,nM=jT,aM=XT,iM=h([FT,KT,qT,jT,XT]),WT="gprs",kT="edge",QT="umts",$T="cdma",zT="evdo_0",ZT="evdo_a",JT="cdma2000_1xrtt",e_="hsdpa",r_="hsupa",t_="hspa",n_="iden",a_="evdo_b",i_="lte",o_="ehrpd",E_="hspap",s_="gsm",T_="td_scdma",__="iwlan",S_="nr",u_="nrnsa",A_="lte_ca",oM=WT,EM=kT,sM=QT,TM=$T,_M=zT,SM=ZT,uM=JT,AM=e_,cM=r_,lM=t_,OM=n_,fM=a_,RM=i_,pM=o_,vM=E_,dM=s_,NM=T_,PM=__,MM=S_,LM=u_,IM=A_,hM=h([WT,kT,QT,$T,zT,ZT,JT,e_,r_,t_,n_,a_,i_,o_,E_,s_,T_,__,S_,u_,A_]),c_="1.0",l_="1.1",O_="2.0",f_="SPDY",R_="QUIC",CM=c_,mM=l_,DM=O_,bM=f_,yM=R_,gM={HTTP_1_0:c_,HTTP_1_1:l_,HTTP_2_0:O_,SPDY:f_,QUIC:R_},p_="queue",v_="topic",UM=p_,VM=v_,BM=h([p_,v_]),d_="receive",N_="process",wM=d_,GM=N_,xM=h([d_,N_]),P_=0,M_=1,L_=2,I_=3,h_=4,C_=5,m_=6,D_=7,b_=8,y_=9,g_=10,U_=11,V_=12,B_=13,w_=14,G_=15,x_=16,YM=P_,HM=M_,FM=L_,KM=I_,qM=h_,jM=C_,XM=m_,WM=D_,kM=b_,QM=y_,$M=g_,zM=U_,ZM=V_,JM=B_,eL=w_,rL=G_,tL=x_,nL={OK:P_,CANCELLED:M_,UNKNOWN:L_,INVALID_ARGUMENT:I_,DEADLINE_EXCEEDED:h_,NOT_FOUND:C_,ALREADY_EXISTS:m_,PERMISSION_DENIED:D_,RESOURCE_EXHAUSTED:b_,FAILED_PRECONDITION:y_,ABORTED:g_,OUT_OF_RANGE:U_,UNIMPLEMENTED:V_,INTERNAL:B_,UNAVAILABLE:w_,DATA_LOSS:G_,UNAUTHENTICATED:x_},Y_="SENT",H_="RECEIVED",aL=Y_,iL=H_,oL=h([Y_,H_]),F_="cloud.provider",K_="cloud.account.id",q_="cloud.region",j_="cloud.availability_zone",X_="cloud.platform",W_="aws.ecs.container.arn",k_="aws.ecs.cluster.arn",Q_="aws.ecs.launchtype",$_="aws.ecs.task.arn",z_="aws.ecs.task.family",Z_="aws.ecs.task.revision",J_="aws.eks.cluster.arn",eS="aws.log.group.names",rS="aws.log.group.arns",tS="aws.log.stream.names",nS="aws.log.stream.arns",aS="container.name",iS="container.id",oS="container.runtime",ES="container.image.name",sS="container.image.tag",TS="deployment.environment",_S="device.id",SS="device.model.identifier",uS="device.model.name",AS="faas.name",cS="faas.id",lS="faas.version",OS="faas.instance",fS="faas.max_memory",RS="host.id",pS="host.name",vS="host.type",dS="host.arch",NS="host.image.name",PS="host.image.id",MS="host.image.version",LS="k8s.cluster.name",IS="k8s.node.name",hS="k8s.node.uid",CS="k8s.namespace.name",mS="k8s.pod.uid",DS="k8s.pod.name",bS="k8s.container.name",yS="k8s.replicaset.uid",gS="k8s.replicaset.name",US="k8s.deployment.uid",VS="k8s.deployment.name",BS="k8s.statefulset.uid",wS="k8s.statefulset.name",GS="k8s.daemonset.uid",xS="k8s.daemonset.name",YS="k8s.job.uid",HS="k8s.job.name",FS="k8s.cronjob.uid",KS="k8s.cronjob.name",qS="os.type",jS="os.description",XS="os.name",WS="os.version",kS="process.pid",QS="process.executable.name",$S="process.executable.path",zS="process.command",ZS="process.command_line",JS="process.command_args",eu="process.owner",ru="process.runtime.name",tu="process.runtime.version",nu="process.runtime.description",au="service.name",iu="service.namespace",ou="service.instance.id",Eu="service.version",su="telemetry.sdk.name",Tu="telemetry.sdk.language",_u="telemetry.sdk.version",Su="telemetry.auto.version",uu="webengine.name",Au="webengine.version",cu="webengine.description",EL=F_,sL=K_,TL=q_,_L=j_,SL=X_,uL=W_,AL=k_,cL=Q_,lL=$_,OL=z_,fL=Z_,RL=J_,pL=eS,vL=rS,dL=tS,NL=nS,PL=aS,ML=iS,LL=oS,IL=ES,hL=sS,CL=TS,mL=_S,DL=SS,bL=uS,yL=AS,gL=cS,UL=lS,VL=OS,BL=fS,wL=RS,GL=pS,xL=vS,YL=dS,HL=NS,FL=PS,KL=MS,qL=LS,jL=IS,XL=hS,WL=CS,kL=mS,QL=DS,$L=bS,zL=yS,ZL=gS,JL=US,eI=VS,rI=BS,tI=wS,nI=GS,aI=xS,iI=YS,oI=HS,EI=FS,sI=KS,TI=qS,_I=jS,SI=XS,uI=WS,AI=kS,cI=QS,lI=$S,OI=zS,fI=ZS,RI=JS,pI=eu,lu=ru,vI=tu,dI=nu,Mn=au,NI=iu,PI=ou,MI=Eu,gr=su,Ur=Tu,Vr=_u,LI=Su,II=uu,hI=Au,CI=cu,mI=h([F_,K_,q_,j_,X_,W_,k_,Q_,$_,z_,Z_,J_,eS,rS,tS,nS,aS,iS,oS,ES,sS,TS,_S,SS,uS,AS,cS,lS,OS,fS,RS,pS,vS,dS,NS,PS,MS,LS,IS,hS,CS,mS,DS,bS,yS,gS,US,VS,BS,wS,GS,xS,YS,HS,FS,KS,qS,jS,XS,WS,kS,QS,$S,zS,ZS,JS,eu,ru,tu,nu,au,iu,ou,Eu,su,Tu,_u,Su,uu,Au,cu]),Ou="alibaba_cloud",fu="aws",Ru="azure",pu="gcp",DI=Ou,bI=fu,yI=Ru,gI=pu,UI=h([Ou,fu,Ru,pu]),vu="alibaba_cloud_ecs",du="alibaba_cloud_fc",Nu="aws_ec2",Pu="aws_ecs",Mu="aws_eks",Lu="aws_lambda",Iu="aws_elastic_beanstalk",hu="azure_vm",Cu="azure_container_instances",mu="azure_aks",Du="azure_functions",bu="azure_app_service",yu="gcp_compute_engine",gu="gcp_cloud_run",Uu="gcp_kubernetes_engine",Vu="gcp_cloud_functions",Bu="gcp_app_engine",VI=vu,BI=du,wI=Nu,GI=Pu,xI=Mu,YI=Lu,HI=Iu,FI=hu,KI=Cu,qI=mu,jI=Du,XI=bu,WI=yu,kI=gu,QI=Uu,$I=Vu,zI=Bu,ZI=h([vu,du,Nu,Pu,Mu,Lu,Iu,hu,Cu,mu,Du,bu,yu,gu,Uu,Vu,Bu]),wu="ec2",Gu="fargate",JI=wu,eh=Gu,rh=h([wu,Gu]),xu="amd64",Yu="arm32",Hu="arm64",Fu="ia64",Ku="ppc32",qu="ppc64",ju="x86",th=xu,nh=Yu,ah=Hu,ih=Fu,oh=Ku,Eh=qu,sh=ju,Th=h([xu,Yu,Hu,Fu,Ku,qu,ju]),Xu="windows",Wu="linux",ku="darwin",Qu="freebsd",$u="netbsd",zu="openbsd",Zu="dragonflybsd",Ju="hpux",eA="aix",rA="solaris",tA="z_os",_h=Xu,Sh=Wu,uh=ku,Ah=Qu,ch=$u,lh=zu,Oh=Zu,fh=Ju,Rh=eA,ph=rA,vh=tA,dh=h([Xu,Wu,ku,Qu,$u,zu,Zu,Ju,eA,rA,tA]),nA="cpp",aA="dotnet",iA="erlang",oA="go",EA="java",sA="nodejs",TA="php",_A="python",SA="ruby",uA="webjs",Nh=nA,Ph=aA,Mh=iA,Lh=oA,Ih=EA,hh=sA,Ch=TA,mh=_A,Dh=SA,AA=uA,bh=h([nA,aA,iA,oA,EA,sA,TA,_A,SA,uA]),yh=Object.freeze({__proto__:null,AWSECSLAUNCHTYPEVALUES_EC2:JI,AWSECSLAUNCHTYPEVALUES_FARGATE:eh,AwsEcsLaunchtypeValues:rh,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS:VI,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC:BI,CLOUDPLATFORMVALUES_AWS_EC2:wI,CLOUDPLATFORMVALUES_AWS_ECS:GI,CLOUDPLATFORMVALUES_AWS_EKS:xI,CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK:HI,CLOUDPLATFORMVALUES_AWS_LAMBDA:YI,CLOUDPLATFORMVALUES_AZURE_AKS:qI,CLOUDPLATFORMVALUES_AZURE_APP_SERVICE:XI,CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES:KI,CLOUDPLATFORMVALUES_AZURE_FUNCTIONS:jI,CLOUDPLATFORMVALUES_AZURE_VM:FI,CLOUDPLATFORMVALUES_GCP_APP_ENGINE:zI,CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS:$I,CLOUDPLATFORMVALUES_GCP_CLOUD_RUN:kI,CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE:WI,CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE:QI,CLOUDPROVIDERVALUES_ALIBABA_CLOUD:DI,CLOUDPROVIDERVALUES_AWS:bI,CLOUDPROVIDERVALUES_AZURE:yI,CLOUDPROVIDERVALUES_GCP:gI,CloudPlatformValues:ZI,CloudProviderValues:UI,DBCASSANDRACONSISTENCYLEVELVALUES_ALL:pP,DBCASSANDRACONSISTENCYLEVELVALUES_ANY:hP,DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM:vP,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE:IP,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM:NP,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL:mP,DBCASSANDRACONSISTENCYLEVELVALUES_ONE:PP,DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM:dP,DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL:CP,DBCASSANDRACONSISTENCYLEVELVALUES_THREE:LP,DBCASSANDRACONSISTENCYLEVELVALUES_TWO:MP,DBSYSTEMVALUES_ADABAS:FN,DBSYSTEMVALUES_CACHE:HN,DBSYSTEMVALUES_CASSANDRA:iP,DBSYSTEMVALUES_CLOUDSCAPE:gN,DBSYSTEMVALUES_COCKROACHDB:fP,DBSYSTEMVALUES_COLDFUSION:aP,DBSYSTEMVALUES_COSMOSDB:SP,DBSYSTEMVALUES_COUCHBASE:TP,DBSYSTEMVALUES_COUCHDB:_P,DBSYSTEMVALUES_DB2:mN,DBSYSTEMVALUES_DERBY:qN,DBSYSTEMVALUES_DYNAMODB:uP,DBSYSTEMVALUES_EDB:YN,DBSYSTEMVALUES_ELASTICSEARCH:lP,DBSYSTEMVALUES_FILEMAKER:jN,DBSYSTEMVALUES_FIREBIRD:KN,DBSYSTEMVALUES_FIRSTSQL:xN,DBSYSTEMVALUES_GEODE:cP,DBSYSTEMVALUES_H2:nP,DBSYSTEMVALUES_HANADB:wN,DBSYSTEMVALUES_HBASE:oP,DBSYSTEMVALUES_HIVE:yN,DBSYSTEMVALUES_HSQLDB:UN,DBSYSTEMVALUES_INFORMIX:XN,DBSYSTEMVALUES_INGRES:GN,DBSYSTEMVALUES_INSTANTDB:WN,DBSYSTEMVALUES_INTERBASE:kN,DBSYSTEMVALUES_MARIADB:QN,DBSYSTEMVALUES_MAXDB:BN,DBSYSTEMVALUES_MEMCACHED:OP,DBSYSTEMVALUES_MONGODB:EP,DBSYSTEMVALUES_MSSQL:IN,DBSYSTEMVALUES_MYSQL:hN,DBSYSTEMVALUES_NEO4J:AP,DBSYSTEMVALUES_NETEZZA:$N,DBSYSTEMVALUES_ORACLE:CN,DBSYSTEMVALUES_OTHER_SQL:LN,DBSYSTEMVALUES_PERVASIVE:zN,DBSYSTEMVALUES_POINTBASE:ZN,DBSYSTEMVALUES_POSTGRESQL:DN,DBSYSTEMVALUES_PROGRESS:VN,DBSYSTEMVALUES_REDIS:sP,DBSYSTEMVALUES_REDSHIFT:bN,DBSYSTEMVALUES_SQLITE:JN,DBSYSTEMVALUES_SYBASE:eP,DBSYSTEMVALUES_TERADATA:rP,DBSYSTEMVALUES_VERTICA:tP,DbCassandraConsistencyLevelValues:DP,DbSystemValues:RP,FAASDOCUMENTOPERATIONVALUES_DELETE:xP,FAASDOCUMENTOPERATIONVALUES_EDIT:GP,FAASDOCUMENTOPERATIONVALUES_INSERT:wP,FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD:HP,FAASINVOKEDPROVIDERVALUES_AWS:FP,FAASINVOKEDPROVIDERVALUES_AZURE:KP,FAASINVOKEDPROVIDERVALUES_GCP:qP,FAASTRIGGERVALUES_DATASOURCE:bP,FAASTRIGGERVALUES_HTTP:yP,FAASTRIGGERVALUES_OTHER:VP,FAASTRIGGERVALUES_PUBSUB:gP,FAASTRIGGERVALUES_TIMER:UP,FaasDocumentOperationValues:YP,FaasInvokedProviderValues:jP,FaasTriggerValues:BP,HOSTARCHVALUES_AMD64:th,HOSTARCHVALUES_ARM32:nh,HOSTARCHVALUES_ARM64:ah,HOSTARCHVALUES_IA64:ih,HOSTARCHVALUES_PPC32:oh,HOSTARCHVALUES_PPC64:Eh,HOSTARCHVALUES_X86:sh,HTTPFLAVORVALUES_HTTP_1_0:CM,HTTPFLAVORVALUES_HTTP_1_1:mM,HTTPFLAVORVALUES_HTTP_2_0:DM,HTTPFLAVORVALUES_QUIC:yM,HTTPFLAVORVALUES_SPDY:bM,HostArchValues:Th,HttpFlavorValues:gM,MESSAGETYPEVALUES_RECEIVED:iL,MESSAGETYPEVALUES_SENT:aL,MESSAGINGDESTINATIONKINDVALUES_QUEUE:UM,MESSAGINGDESTINATIONKINDVALUES_TOPIC:VM,MESSAGINGOPERATIONVALUES_PROCESS:GM,MESSAGINGOPERATIONVALUES_RECEIVE:wM,MessageTypeValues:oL,MessagingDestinationKindValues:BM,MessagingOperationValues:xM,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA:TM,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT:uM,NETHOSTCONNECTIONSUBTYPEVALUES_EDGE:EM,NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD:pM,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0:_M,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A:SM,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B:fM,NETHOSTCONNECTIONSUBTYPEVALUES_GPRS:oM,NETHOSTCONNECTIONSUBTYPEVALUES_GSM:dM,NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA:AM,NETHOSTCONNECTIONSUBTYPEVALUES_HSPA:lM,NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP:vM,NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA:cM,NETHOSTCONNECTIONSUBTYPEVALUES_IDEN:OM,NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN:PM,NETHOSTCONNECTIONSUBTYPEVALUES_LTE:RM,NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA:IM,NETHOSTCONNECTIONSUBTYPEVALUES_NR:MM,NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA:LM,NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA:NM,NETHOSTCONNECTIONSUBTYPEVALUES_UMTS:sM,NETHOSTCONNECTIONTYPEVALUES_CELL:tM,NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE:nM,NETHOSTCONNECTIONTYPEVALUES_UNKNOWN:aM,NETHOSTCONNECTIONTYPEVALUES_WIFI:eM,NETHOSTCONNECTIONTYPEVALUES_WIRED:rM,NETTRANSPORTVALUES_INPROC:zP,NETTRANSPORTVALUES_IP:kP,NETTRANSPORTVALUES_IP_TCP:XP,NETTRANSPORTVALUES_IP_UDP:WP,NETTRANSPORTVALUES_OTHER:ZP,NETTRANSPORTVALUES_PIPE:$P,NETTRANSPORTVALUES_UNIX:QP,NetHostConnectionSubtypeValues:hM,NetHostConnectionTypeValues:iM,NetTransportValues:JP,OSTYPEVALUES_AIX:Rh,OSTYPEVALUES_DARWIN:uh,OSTYPEVALUES_DRAGONFLYBSD:Oh,OSTYPEVALUES_FREEBSD:Ah,OSTYPEVALUES_HPUX:fh,OSTYPEVALUES_LINUX:Sh,OSTYPEVALUES_NETBSD:ch,OSTYPEVALUES_OPENBSD:lh,OSTYPEVALUES_SOLARIS:ph,OSTYPEVALUES_WINDOWS:_h,OSTYPEVALUES_Z_OS:vh,OsTypeValues:dh,RPCGRPCSTATUSCODEVALUES_ABORTED:$M,RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS:XM,RPCGRPCSTATUSCODEVALUES_CANCELLED:HM,RPCGRPCSTATUSCODEVALUES_DATA_LOSS:rL,RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED:qM,RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION:QM,RPCGRPCSTATUSCODEVALUES_INTERNAL:JM,RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT:KM,RPCGRPCSTATUSCODEVALUES_NOT_FOUND:jM,RPCGRPCSTATUSCODEVALUES_OK:YM,RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE:zM,RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED:WM,RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED:kM,RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED:tL,RPCGRPCSTATUSCODEVALUES_UNAVAILABLE:eL,RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED:ZM,RPCGRPCSTATUSCODEVALUES_UNKNOWN:FM,RpcGrpcStatusCodeValues:nL,SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET:gd,SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS:jd,SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ:Dd,SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY:Id,SEMATTRS_AWS_DYNAMODB_COUNT:Kd,SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE:Gd,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES:Bd,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES:Xd,SEMATTRS_AWS_DYNAMODB_INDEX_NAME:Ud,SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS:hd,SEMATTRS_AWS_DYNAMODB_LIMIT:yd,SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES:wd,SEMATTRS_AWS_DYNAMODB_PROJECTION:bd,SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY:Cd,SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY:md,SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT:qd,SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD:Yd,SEMATTRS_AWS_DYNAMODB_SEGMENT:Hd,SEMATTRS_AWS_DYNAMODB_SELECT:Vd,SEMATTRS_AWS_DYNAMODB_TABLE_COUNT:xd,SEMATTRS_AWS_DYNAMODB_TABLE_NAMES:Ld,SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS:Fd,SEMATTRS_AWS_LAMBDA_INVOKED_ARN:Ev,SEMATTRS_CODE_FILEPATH:sd,SEMATTRS_CODE_FUNCTION:od,SEMATTRS_CODE_LINENO:Td,SEMATTRS_CODE_NAMESPACE:Ed,SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL:Rv,SEMATTRS_DB_CASSANDRA_COORDINATOR_DC:Pv,SEMATTRS_DB_CASSANDRA_COORDINATOR_ID:Nv,SEMATTRS_DB_CASSANDRA_IDEMPOTENCE:vv,SEMATTRS_DB_CASSANDRA_KEYSPACE:Ov,SEMATTRS_DB_CASSANDRA_PAGE_SIZE:fv,SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT:dv,SEMATTRS_DB_CASSANDRA_TABLE:pv,SEMATTRS_DB_CONNECTION_STRING:Tv,SEMATTRS_DB_HBASE_NAMESPACE:Mv,SEMATTRS_DB_JDBC_DRIVER_CLASSNAME:Sv,SEMATTRS_DB_MONGODB_COLLECTION:Iv,SEMATTRS_DB_MSSQL_INSTANCE_NAME:lv,SEMATTRS_DB_NAME:uv,SEMATTRS_DB_OPERATION:cv,SEMATTRS_DB_REDIS_DATABASE_INDEX:Lv,SEMATTRS_DB_SQL_TABLE:hv,SEMATTRS_DB_STATEMENT:Av,SEMATTRS_DB_SYSTEM:sv,SEMATTRS_DB_USER:_v,SEMATTRS_ENDUSER_ID:rd,SEMATTRS_ENDUSER_ROLE:td,SEMATTRS_ENDUSER_SCOPE:nd,SEMATTRS_EXCEPTION_ESCAPED:Cv,SEMATTRS_EXCEPTION_MESSAGE:Mr,SEMATTRS_EXCEPTION_STACKTRACE:Rs,SEMATTRS_EXCEPTION_TYPE:Pr,SEMATTRS_FAAS_COLDSTART:wv,SEMATTRS_FAAS_CRON:Bv,SEMATTRS_FAAS_DOCUMENT_COLLECTION:bv,SEMATTRS_FAAS_DOCUMENT_NAME:Uv,SEMATTRS_FAAS_DOCUMENT_OPERATION:yv,SEMATTRS_FAAS_DOCUMENT_TIME:gv,SEMATTRS_FAAS_EXECUTION:Dv,SEMATTRS_FAAS_INVOKED_NAME:Gv,SEMATTRS_FAAS_INVOKED_PROVIDER:xv,SEMATTRS_FAAS_INVOKED_REGION:Yv,SEMATTRS_FAAS_TIME:Vv,SEMATTRS_FAAS_TRIGGER:mv,SEMATTRS_HTTP_CLIENT_IP:Md,SEMATTRS_HTTP_FLAVOR:Od,SEMATTRS_HTTP_HOST:Ad,SEMATTRS_HTTP_METHOD:_d,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH:Rd,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED:pd,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH:vd,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED:dd,SEMATTRS_HTTP_ROUTE:Pd,SEMATTRS_HTTP_SCHEME:cd,SEMATTRS_HTTP_SERVER_NAME:Nd,SEMATTRS_HTTP_STATUS_CODE:ld,SEMATTRS_HTTP_TARGET:ud,SEMATTRS_HTTP_URL:Sd,SEMATTRS_HTTP_USER_AGENT:fd,SEMATTRS_MESSAGE_COMPRESSED_SIZE:NN,SEMATTRS_MESSAGE_ID:dN,SEMATTRS_MESSAGE_TYPE:vN,SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE:PN,SEMATTRS_MESSAGING_CONSUMER_ID:iN,SEMATTRS_MESSAGING_CONVERSATION_ID:rN,SEMATTRS_MESSAGING_DESTINATION:kd,SEMATTRS_MESSAGING_DESTINATION_KIND:Qd,SEMATTRS_MESSAGING_KAFKA_CLIENT_ID:TN,SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP:sN,SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY:EN,SEMATTRS_MESSAGING_KAFKA_PARTITION:_N,SEMATTRS_MESSAGING_KAFKA_TOMBSTONE:SN,SEMATTRS_MESSAGING_MESSAGE_ID:eN,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES:nN,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES:tN,SEMATTRS_MESSAGING_OPERATION:aN,SEMATTRS_MESSAGING_PROTOCOL:zd,SEMATTRS_MESSAGING_PROTOCOL_VERSION:Zd,SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY:oN,SEMATTRS_MESSAGING_SYSTEM:Wd,SEMATTRS_MESSAGING_TEMP_DESTINATION:$d,SEMATTRS_MESSAGING_URL:Jd,SEMATTRS_NET_HOST_CARRIER_ICC:Jv,SEMATTRS_NET_HOST_CARRIER_MCC:zv,SEMATTRS_NET_HOST_CARRIER_MNC:Zv,SEMATTRS_NET_HOST_CARRIER_NAME:$v,SEMATTRS_NET_HOST_CONNECTION_SUBTYPE:Qv,SEMATTRS_NET_HOST_CONNECTION_TYPE:kv,SEMATTRS_NET_HOST_IP:jv,SEMATTRS_NET_HOST_NAME:Wv,SEMATTRS_NET_HOST_PORT:Xv,SEMATTRS_NET_PEER_IP:Fv,SEMATTRS_NET_PEER_NAME:qv,SEMATTRS_NET_PEER_PORT:Kv,SEMATTRS_NET_TRANSPORT:Hv,SEMATTRS_PEER_SERVICE:ed,SEMATTRS_RPC_GRPC_STATUS_CODE:lN,SEMATTRS_RPC_JSONRPC_ERROR_CODE:RN,SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE:pN,SEMATTRS_RPC_JSONRPC_REQUEST_ID:fN,SEMATTRS_RPC_JSONRPC_VERSION:ON,SEMATTRS_RPC_METHOD:cN,SEMATTRS_RPC_SERVICE:AN,SEMATTRS_RPC_SYSTEM:uN,SEMATTRS_THREAD_ID:ad,SEMATTRS_THREAD_NAME:id,SEMRESATTRS_AWS_ECS_CLUSTER_ARN:AL,SEMRESATTRS_AWS_ECS_CONTAINER_ARN:uL,SEMRESATTRS_AWS_ECS_LAUNCHTYPE:cL,SEMRESATTRS_AWS_ECS_TASK_ARN:lL,SEMRESATTRS_AWS_ECS_TASK_FAMILY:OL,SEMRESATTRS_AWS_ECS_TASK_REVISION:fL,SEMRESATTRS_AWS_EKS_CLUSTER_ARN:RL,SEMRESATTRS_AWS_LOG_GROUP_ARNS:vL,SEMRESATTRS_AWS_LOG_GROUP_NAMES:pL,SEMRESATTRS_AWS_LOG_STREAM_ARNS:NL,SEMRESATTRS_AWS_LOG_STREAM_NAMES:dL,SEMRESATTRS_CLOUD_ACCOUNT_ID:sL,SEMRESATTRS_CLOUD_AVAILABILITY_ZONE:_L,SEMRESATTRS_CLOUD_PLATFORM:SL,SEMRESATTRS_CLOUD_PROVIDER:EL,SEMRESATTRS_CLOUD_REGION:TL,SEMRESATTRS_CONTAINER_ID:ML,SEMRESATTRS_CONTAINER_IMAGE_NAME:IL,SEMRESATTRS_CONTAINER_IMAGE_TAG:hL,SEMRESATTRS_CONTAINER_NAME:PL,SEMRESATTRS_CONTAINER_RUNTIME:LL,SEMRESATTRS_DEPLOYMENT_ENVIRONMENT:CL,SEMRESATTRS_DEVICE_ID:mL,SEMRESATTRS_DEVICE_MODEL_IDENTIFIER:DL,SEMRESATTRS_DEVICE_MODEL_NAME:bL,SEMRESATTRS_FAAS_ID:gL,SEMRESATTRS_FAAS_INSTANCE:VL,SEMRESATTRS_FAAS_MAX_MEMORY:BL,SEMRESATTRS_FAAS_NAME:yL,SEMRESATTRS_FAAS_VERSION:UL,SEMRESATTRS_HOST_ARCH:YL,SEMRESATTRS_HOST_ID:wL,SEMRESATTRS_HOST_IMAGE_ID:FL,SEMRESATTRS_HOST_IMAGE_NAME:HL,SEMRESATTRS_HOST_IMAGE_VERSION:KL,SEMRESATTRS_HOST_NAME:GL,SEMRESATTRS_HOST_TYPE:xL,SEMRESATTRS_K8S_CLUSTER_NAME:qL,SEMRESATTRS_K8S_CONTAINER_NAME:$L,SEMRESATTRS_K8S_CRONJOB_NAME:sI,SEMRESATTRS_K8S_CRONJOB_UID:EI,SEMRESATTRS_K8S_DAEMONSET_NAME:aI,SEMRESATTRS_K8S_DAEMONSET_UID:nI,SEMRESATTRS_K8S_DEPLOYMENT_NAME:eI,SEMRESATTRS_K8S_DEPLOYMENT_UID:JL,SEMRESATTRS_K8S_JOB_NAME:oI,SEMRESATTRS_K8S_JOB_UID:iI,SEMRESATTRS_K8S_NAMESPACE_NAME:WL,SEMRESATTRS_K8S_NODE_NAME:jL,SEMRESATTRS_K8S_NODE_UID:XL,SEMRESATTRS_K8S_POD_NAME:QL,SEMRESATTRS_K8S_POD_UID:kL,SEMRESATTRS_K8S_REPLICASET_NAME:ZL,SEMRESATTRS_K8S_REPLICASET_UID:zL,SEMRESATTRS_K8S_STATEFULSET_NAME:tI,SEMRESATTRS_K8S_STATEFULSET_UID:rI,SEMRESATTRS_OS_DESCRIPTION:_I,SEMRESATTRS_OS_NAME:SI,SEMRESATTRS_OS_TYPE:TI,SEMRESATTRS_OS_VERSION:uI,SEMRESATTRS_PROCESS_COMMAND:OI,SEMRESATTRS_PROCESS_COMMAND_ARGS:RI,SEMRESATTRS_PROCESS_COMMAND_LINE:fI,SEMRESATTRS_PROCESS_EXECUTABLE_NAME:cI,SEMRESATTRS_PROCESS_EXECUTABLE_PATH:lI,SEMRESATTRS_PROCESS_OWNER:pI,SEMRESATTRS_PROCESS_PID:AI,SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION:dI,SEMRESATTRS_PROCESS_RUNTIME_NAME:lu,SEMRESATTRS_PROCESS_RUNTIME_VERSION:vI,SEMRESATTRS_SERVICE_INSTANCE_ID:PI,SEMRESATTRS_SERVICE_NAME:Mn,SEMRESATTRS_SERVICE_NAMESPACE:NI,SEMRESATTRS_SERVICE_VERSION:MI,SEMRESATTRS_TELEMETRY_AUTO_VERSION:LI,SEMRESATTRS_TELEMETRY_SDK_LANGUAGE:Ur,SEMRESATTRS_TELEMETRY_SDK_NAME:gr,SEMRESATTRS_TELEMETRY_SDK_VERSION:Vr,SEMRESATTRS_WEBENGINE_DESCRIPTION:CI,SEMRESATTRS_WEBENGINE_NAME:II,SEMRESATTRS_WEBENGINE_VERSION:hI,SemanticAttributes:MN,SemanticResourceAttributes:mI,TELEMETRYSDKLANGUAGEVALUES_CPP:Nh,TELEMETRYSDKLANGUAGEVALUES_DOTNET:Ph,TELEMETRYSDKLANGUAGEVALUES_ERLANG:Mh,TELEMETRYSDKLANGUAGEVALUES_GO:Lh,TELEMETRYSDKLANGUAGEVALUES_JAVA:Ih,TELEMETRYSDKLANGUAGEVALUES_NODEJS:hh,TELEMETRYSDKLANGUAGEVALUES_PHP:Ch,TELEMETRYSDKLANGUAGEVALUES_PYTHON:mh,TELEMETRYSDKLANGUAGEVALUES_RUBY:Dh,TELEMETRYSDKLANGUAGEVALUES_WEBJS:AA,TelemetrySdkLanguageValues:bh}),pe,Lr=(pe={},pe[gr]="opentelemetry",pe[lu]="browser",pe[Ur]=AA,pe[Vr]=$i,pe);function gh(e){}var cA=9,Uh=6,Vh=Math.pow(10,Uh),Br=Math.pow(10,cA);function W(e){var r=e/1e3,t=Math.trunc(r),n=Math.round(e%1e3*Vh);return[t,n]}function jr(){var e=ue.timeOrigin;if(typeof e!="number"){var r=ue;e=r.timing&&r.timing.fetchStart}return e}function Ln(e){var r=W(jr()),t=W(typeof e=="number"?e:ue.now());return In(r,t)}function Bh(e){if(Xr(e))return e;if(typeof e=="number")return e<jr()?Ln(e):W(e);if(e instanceof Date)return W(e.getTime());throw TypeError("Invalid input type")}function lA(e,r){var t=r[0]-e[0],n=r[1]-e[1];return n<0&&(t-=1,n+=Br),[t,n]}function wh(e){var r=cA,t=""+"0".repeat(r)+e[1]+"Z",n=t.substr(t.length-r-1),a=new Date(e[0]*1e3).toISOString();return a.replace("000Z",n)}function Gh(e){return e[0]*Br+e[1]}function xh(e){return e[0]*1e3+e[1]/1e6}function Yh(e){return e[0]*1e6+e[1]/1e3}function Xr(e){return Array.isArray(e)&&e.length===2&&typeof e[0]=="number"&&typeof e[1]=="number"}function Wt(e){return Xr(e)||typeof e=="number"||e instanceof Date}function In(e,r){var t=[e[0]+r[0],e[1]+r[1]];return t[1]>=Br&&(t[1]-=Br,t[0]+=1),t}var Ie;(function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"})(Ie||(Ie={}));var Hh=function(e){var r=typeof Symbol=="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},OA=function(){function e(r){r===void 0&&(r={});var t;this._propagators=(t=r.propagators)!==null&&t!==void 0?t:[],this._fields=Array.from(new Set(this._propagators.map(function(n){return typeof n.fields=="function"?n.fields():[]}).reduce(function(n,a){return n.concat(a)},[])))}return e.prototype.inject=function(r,t,n){var a,i;try{for(var o=Hh(this._propagators),E=o.next();!E.done;E=o.next()){var s=E.value;try{s.inject(r,t,n)}catch(T){v.warn("Failed to inject with "+s.constructor.name+". Err: "+T.message)}}}catch(T){a={error:T}}finally{try{E&&!E.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}},e.prototype.extract=function(r,t,n){return this._propagators.reduce(function(a,i){try{return i.extract(a,t,n)}catch(o){v.warn("Failed to inject with "+i.constructor.name+". Err: "+o.message)}return a},r)},e.prototype.fields=function(){return this._fields.slice()},e}(),kt="[_0-9a-z-*/]",Fh="[a-z]"+kt+"{0,255}",Kh="[a-z0-9]"+kt+"{0,240}@[a-z]"+kt+"{0,13}",qh=new RegExp("^(?:"+Fh+"|"+Kh+")$"),jh=/^[ -~]{0,255}[!-~]$/,Xh=/,|=/;function Wh(e){return qh.test(e)}function kh(e){return jh.test(e)&&!Xh.test(e)}var ci=32,Qh=512,li=",",Oi="=",fA=function(){function e(r){this._internalState=new Map,r&&this._parse(r)}return e.prototype.set=function(r,t){var n=this._clone();return n._internalState.has(r)&&n._internalState.delete(r),n._internalState.set(r,t),n},e.prototype.unset=function(r){var t=this._clone();return t._internalState.delete(r),t},e.prototype.get=function(r){return this._internalState.get(r)},e.prototype.serialize=function(){var r=this;return this._keys().reduce(function(t,n){return t.push(n+Oi+r.get(n)),t},[]).join(li)},e.prototype._parse=function(r){r.length>Qh||(this._internalState=r.split(li).reverse().reduce(function(t,n){var a=n.trim(),i=a.indexOf(Oi);if(i!==-1){var o=a.slice(0,i),E=a.slice(i+1,n.length);Wh(o)&&kh(E)&&t.set(o,E)}return t},new Map),this._internalState.size>ci&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,ci))))},e.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},e.prototype._clone=function(){var r=new e;return r._internalState=new Map(this._internalState),r},e}(),Ir="traceparent",hr="tracestate",$h="00",zh="(?!ff)[\\da-f]{2}",Zh="(?![0]{32})[\\da-f]{32}",Jh="(?![0]{16})[\\da-f]{16}",eC="[\\da-f]{2}",rC=new RegExp("^\\s?("+zh+")-("+Zh+")-("+Jh+")-("+eC+")(-.*)?\\s?$");function RA(e){var r=rC.exec(e);return!r||r[1]==="00"&&r[5]?null:{traceId:r[2],spanId:r[3],traceFlags:parseInt(r[4],16)}}var pA=function(){function e(){}return e.prototype.inject=function(r,t,n){var a=D.getSpanContext(r);if(!(!a||qr(r)||!De(a))){var i=$h+"-"+a.traceId+"-"+a.spanId+"-0"+Number(a.traceFlags||U.NONE).toString(16);n.set(t,Ir,i),a.traceState&&n.set(t,hr,a.traceState.serialize())}},e.prototype.extract=function(r,t,n){var a=n.get(t,Ir);if(!a)return r;var i=Array.isArray(a)?a[0]:a;if(typeof i!="string")return r;var o=RA(i);if(!o)return r;o.isRemote=!0;var E=n.get(t,hr);if(E){var s=Array.isArray(E)?E.join(","):E;o.traceState=new fA(typeof s=="string"?s:void 0)}return D.setSpanContext(r,o)},e.prototype.fields=function(){return[Ir,hr]},e}(),hn=rr("OpenTelemetry SDK Context Key RPC_METADATA"),Qt;(function(e){e.HTTP="http"})(Qt||(Qt={}));function tC(e,r){return e.setValue(hn,r)}function nC(e){return e.deleteValue(hn)}function aC(e){return e.getValue(hn)}var $t=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:k.NOT_RECORD}},e.prototype.toString=function(){return"AlwaysOffSampler"},e}(),Cr=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:k.RECORD_AND_SAMPLED}},e.prototype.toString=function(){return"AlwaysOnSampler"},e}(),iC=function(){function e(r){var t,n,a,i;this._root=r.root,this._root||(Le(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new Cr),this._remoteParentSampled=(t=r.remoteParentSampled)!==null&&t!==void 0?t:new Cr,this._remoteParentNotSampled=(n=r.remoteParentNotSampled)!==null&&n!==void 0?n:new $t,this._localParentSampled=(a=r.localParentSampled)!==null&&a!==void 0?a:new Cr,this._localParentNotSampled=(i=r.localParentNotSampled)!==null&&i!==void 0?i:new $t}return e.prototype.shouldSample=function(r,t,n,a,i,o){var E=D.getSpanContext(r);return!E||!De(E)?this._root.shouldSample(r,t,n,a,i,o):E.isRemote?E.traceFlags&U.SAMPLED?this._remoteParentSampled.shouldSample(r,t,n,a,i,o):this._remoteParentNotSampled.shouldSample(r,t,n,a,i,o):E.traceFlags&U.SAMPLED?this._localParentSampled.shouldSample(r,t,n,a,i,o):this._localParentNotSampled.shouldSample(r,t,n,a,i,o)},e.prototype.toString=function(){return"ParentBased{root="+this._root.toString()+", remoteParentSampled="+this._remoteParentSampled.toString()+", remoteParentNotSampled="+this._remoteParentNotSampled.toString()+", localParentSampled="+this._localParentSampled.toString()+", localParentNotSampled="+this._localParentNotSampled.toString()+"}"},e}(),oC=function(){function e(r){r===void 0&&(r=0),this._ratio=r,this._ratio=this._normalize(r),this._upperBound=Math.floor(this._ratio*4294967295)}return e.prototype.shouldSample=function(r,t){return{decision:Kr(t)&&this._accumulate(t)<this._upperBound?k.RECORD_AND_SAMPLED:k.NOT_RECORD}},e.prototype.toString=function(){return"TraceIdRatioBased{"+this._ratio+"}"},e.prototype._normalize=function(r){return typeof r!="number"||isNaN(r)?0:r>=1?1:r<=0?0:r},e.prototype._accumulate=function(r){for(var t=0,n=0;n<r.length/8;n++){var a=n*8,i=parseInt(r.slice(a,a+8),16);t=(t^i)>>>0}return t},e}(),EC="[object Object]",sC="[object Null]",TC="[object Undefined]",_C=Function.prototype,vA=_C.toString,SC=vA.call(Object),uC=AC(Object.getPrototypeOf,Object),dA=Object.prototype,NA=dA.hasOwnProperty,Te=Symbol?Symbol.toStringTag:void 0,PA=dA.toString;function AC(e,r){return function(t){return e(r(t))}}function fi(e){if(!cC(e)||lC(e)!==EC)return!1;var r=uC(e);if(r===null)return!0;var t=NA.call(r,"constructor")&&r.constructor;return typeof t=="function"&&t instanceof t&&vA.call(t)===SC}function cC(e){return e!=null&&typeof e=="object"}function lC(e){return e==null?e===void 0?TC:sC:Te&&Te in Object(e)?OC(e):fC(e)}function OC(e){var r=NA.call(e,Te),t=e[Te],n=!1;try{e[Te]=void 0,n=!0}catch(i){}var a=PA.call(e);return n&&(r?e[Te]=t:delete e[Te]),a}function fC(e){return PA.call(e)}var RC=20;function MA(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var t=e.shift(),n=new WeakMap;e.length>0;)t=LA(t,e.shift(),0,n);return t}function xt(e){return wr(e)?e.slice():e}function LA(e,r,t,n){t===void 0&&(t=0);var a;if(!(t>RC)){if(t++,mr(e)||mr(r)||IA(r))a=xt(r);else if(wr(e)){if(a=e.slice(),wr(r))for(var i=0,o=r.length;i<o;i++)a.push(xt(r[i]));else if(He(r))for(var E=Object.keys(r),i=0,o=E.length;i<o;i++){var s=E[i];a[s]=xt(r[s])}}else if(He(e))if(He(r)){if(!pC(e,r))return r;a=Object.assign({},e);for(var E=Object.keys(r),i=0,o=E.length;i<o;i++){var s=E[i],T=r[s];if(mr(T))typeof T=="undefined"?delete a[s]:a[s]=T;else{var S=a[s],u=T;if(Ri(e,s,n)||Ri(r,s,n))delete a[s];else{if(He(S)&&He(u)){var A=n.get(S)||[],l=n.get(u)||[];A.push({obj:e,key:s}),l.push({obj:r,key:s}),n.set(S,A),n.set(u,l)}a[s]=LA(a[s],T,t,n)}}}}else a=r;return a}}function Ri(e,r,t){for(var n=t.get(e[r])||[],a=0,i=n.length;a<i;a++){var o=n[a];if(o.key===r&&o.obj===e)return!0}return!1}function wr(e){return Array.isArray(e)}function IA(e){return typeof e=="function"}function He(e){return!mr(e)&&!wr(e)&&!IA(e)&&typeof e=="object"}function mr(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="undefined"||e instanceof Date||e instanceof RegExp||e===null}function pC(e,r){return!(!fi(e)||!fi(r))}var vC=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),hA=function(e){vC(r,e);function r(t){var n=e.call(this,t)||this;return Object.setPrototypeOf(n,r.prototype),n}return r}(Error);function dC(e,r){var t,n=new Promise(function(i,o){t=setTimeout(function(){o(new hA("Operation timed out."))},r)});return Promise.race([e,n]).then(function(a){return clearTimeout(t),a},function(a){throw clearTimeout(t),a})}var NC=function(e){var r=typeof Symbol=="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};function CA(e,r){return typeof r=="string"?e===r:!!e.match(r)}function PC(e,r){var t,n;if(!r)return!1;try{for(var a=NC(r),i=a.next();!i.done;i=a.next()){var o=i.value;if(CA(e,o))return!0}}catch(E){t={error:E}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return!1}function MC(e){return typeof e=="function"&&typeof e.__original=="function"&&typeof e.__unwrap=="function"&&e.__wrapped===!0}var LC=function(){function e(){var r=this;this._promise=new Promise(function(t,n){r._resolve=t,r._reject=n})}return Object.defineProperty(e.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),e.prototype.resolve=function(r){this._resolve(r)},e.prototype.reject=function(r){this._reject(r)},e}(),IC=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},hC=function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},mA=function(){function e(r,t){this._callback=r,this._that=t,this._isCalled=!1,this._deferred=new LC}return Object.defineProperty(e.prototype,"isCalled",{get:function(){return this._isCalled},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"promise",{get:function(){return this._deferred.promise},enumerable:!1,configurable:!0}),e.prototype.call=function(){for(var r,t=this,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(!this._isCalled){this._isCalled=!0;try{Promise.resolve((r=this._callback).call.apply(r,hC([this._that],IC(n),!1))).then(function(i){return t._deferred.resolve(i)},function(i){return t._deferred.reject(i)})}catch(i){this._deferred.reject(i)}}return this._deferred.promise},e}();function CC(e,r){return new Promise(function(t){F.with(Rn(F.active()),function(){e.export(r,function(n){t(n)})})})}var mC={_export:CC},DC=Object.freeze({__proto__:null,AlwaysOffSampler:$t,AlwaysOnSampler:Cr,AnchoredClock:wp,BindOnceFuture:mA,CompositePropagator:OA,DEFAULT_ATTRIBUTE_COUNT_LIMIT:We,DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT:Xe,DEFAULT_ENVIRONMENT:dn,DEFAULT_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:Xi,DEFAULT_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:Wi,get ExportResultCode(){return Ie},ParentBasedSampler:iC,get RPCType(){return Qt},RandomIdGenerator:ov,SDK_INFO:Lr,TRACE_PARENT_HEADER:Ir,TRACE_STATE_HEADER:hr,TimeoutError:hA,TraceIdRatioBasedSampler:oC,TraceState:fA,get TracesSamplerValues(){return G},VERSION:$i,W3CBaggagePropagator:Yi,W3CTraceContextPropagator:pA,_globalThis:Pn,addHrTimes:In,baggageUtils:Bp,callWithTimeout:dC,deleteRPCMetadata:nC,getEnv:m,getEnvWithoutDefaults:ki,getRPCMetadata:aC,getTimeOrigin:jr,globalErrorHandler:Le,hexToBase64:nv,hexToBinary:Qi,hrTime:Ln,hrTimeDuration:lA,hrTimeToMicroseconds:Yh,hrTimeToMilliseconds:xh,hrTimeToNanoseconds:Gh,hrTimeToTimeStamp:wh,internal:mC,isAttributeKey:Fi,isAttributeValue:vn,isTimeInput:Wt,isTimeInputHrTime:Xr,isTracingSuppressed:qr,isUrlIgnored:PC,isWrapped:MC,loggingErrorHandler:qi,merge:MA,millisToHrTime:W,otperformance:ue,parseEnvironment:Nn,parseTraceParent:RA,sanitizeAttributes:je,setGlobalErrorHandler:Fp,setRPCMetadata:tC,suppressTracing:Rn,timeInputToHrTime:Bh,unrefTimer:gh,unsuppressTracing:mp,urlMatches:CA}),bC="exception",yC=function(e){var r=typeof Symbol=="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},pi=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},gC=function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},UC=function(){function e(r,t,n,a,i,o,E,s,T,S){E===void 0&&(E=[]),this.attributes={},this.links=[],this.events=[],this._droppedAttributesCount=0,this._droppedEventsCount=0,this._droppedLinksCount=0,this.status={code:br.UNSET},this.endTime=[0,0],this._ended=!1,this._duration=[-1,-1],this.name=n,this._spanContext=a,this.parentSpanId=o,this.kind=i,this.links=E;var u=Date.now();this._performanceStartTime=ue.now(),this._performanceOffset=u-(this._performanceStartTime+jr()),this._startTimeProvided=s!=null,this.startTime=this._getTime(s!=null?s:u),this.resource=r.resource,this.instrumentationLibrary=r.instrumentationLibrary,this._spanLimits=r.getSpanLimits(),this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0,S!=null&&this.setAttributes(S),this._spanProcessor=r.getActiveSpanProcessor(),this._spanProcessor.onStart(this,t)}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(r,t){return t==null||this._isSpanEnded()?this:r.length===0?(v.warn("Invalid attribute key: "+r),this):vn(t)?Object.keys(this.attributes).length>=this._spanLimits.attributeCountLimit&&!Object.prototype.hasOwnProperty.call(this.attributes,r)?(this._droppedAttributesCount++,this):(this.attributes[r]=this._truncateToSize(t),this):(v.warn("Invalid attribute value set for key: "+r),this)},e.prototype.setAttributes=function(r){var t,n;try{for(var a=yC(Object.entries(r)),i=a.next();!i.done;i=a.next()){var o=pi(i.value,2),E=o[0],s=o[1];this.setAttribute(E,s)}}catch(T){t={error:T}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return this},e.prototype.addEvent=function(r,t,n){if(this._isSpanEnded())return this;if(this._spanLimits.eventCountLimit===0)return v.warn("No events allowed."),this._droppedEventsCount++,this;this.events.length>=this._spanLimits.eventCountLimit&&(this._droppedEventsCount===0&&v.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),Wt(t)&&(Wt(n)||(n=t),t=void 0);var a=je(t);return this.events.push({name:r,attributes:a,time:this._getTime(n),droppedAttributesCount:0}),this},e.prototype.addLink=function(r){return this.links.push(r),this},e.prototype.addLinks=function(r){var t;return(t=this.links).push.apply(t,gC([],pi(r),!1)),this},e.prototype.setStatus=function(r){return this._isSpanEnded()?this:(this.status=r,this)},e.prototype.updateName=function(r){return this._isSpanEnded()?this:(this.name=r,this)},e.prototype.end=function(r){if(this._isSpanEnded()){v.error(this.name+" "+this._spanContext.traceId+"-"+this._spanContext.spanId+" - You can only call end() on a span once.");return}this._ended=!0,this.endTime=this._getTime(r),this._duration=lA(this.startTime,this.endTime),this._duration[0]<0&&(v.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&v.warn("Dropped "+this._droppedEventsCount+" events because eventCountLimit reached"),this._spanProcessor.onEnd(this)},e.prototype._getTime=function(r){if(typeof r=="number"&&r<ue.now())return Ln(r+this._performanceOffset);if(typeof r=="number")return W(r);if(r instanceof Date)return W(r.getTime());if(Xr(r))return r;if(this._startTimeProvided)return W(Date.now());var t=ue.now()-this._performanceStartTime;return In(this.startTime,W(t))},e.prototype.isRecording=function(){return this._ended===!1},e.prototype.recordException=function(r,t){var n={};typeof r=="string"?n[Mr]=r:r&&(r.code?n[Pr]=r.code.toString():r.name&&(n[Pr]=r.name),r.message&&(n[Mr]=r.message),r.stack&&(n[Rs]=r.stack)),n[Pr]||n[Mr]?this.addEvent(bC,n,t):v.warn("Failed to record an exception "+r)},Object.defineProperty(e.prototype,"duration",{get:function(){return this._duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ended",{get:function(){return this._ended},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"droppedAttributesCount",{get:function(){return this._droppedAttributesCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"droppedEventsCount",{get:function(){return this._droppedEventsCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"droppedLinksCount",{get:function(){return this._droppedLinksCount},enumerable:!1,configurable:!0}),e.prototype._isSpanEnded=function(){return this._ended&&v.warn("Can not execute the operation on ended Span {traceId: "+this._spanContext.traceId+", spanId: "+this._spanContext.spanId+"}"),this._ended},e.prototype._truncateToLimitUtil=function(r,t){return r.length<=t?r:r.substr(0,t)},e.prototype._truncateToSize=function(r){var t=this,n=this._attributeValueLengthLimit;return n<=0?(v.warn("Attribute value limit must be positive, got "+n),r):typeof r=="string"?this._truncateToLimitUtil(r,n):Array.isArray(r)?r.map(function(a){return typeof a=="string"?t._truncateToLimitUtil(a,n):a}):r},e}(),he;(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(he||(he={}));var Gr=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:he.NOT_RECORD}},e.prototype.toString=function(){return"AlwaysOffSampler"},e}(),Me=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:he.RECORD_AND_SAMPLED}},e.prototype.toString=function(){return"AlwaysOnSampler"},e}(),Yt=function(){function e(r){var t,n,a,i;this._root=r.root,this._root||(Le(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new Me),this._remoteParentSampled=(t=r.remoteParentSampled)!==null&&t!==void 0?t:new Me,this._remoteParentNotSampled=(n=r.remoteParentNotSampled)!==null&&n!==void 0?n:new Gr,this._localParentSampled=(a=r.localParentSampled)!==null&&a!==void 0?a:new Me,this._localParentNotSampled=(i=r.localParentNotSampled)!==null&&i!==void 0?i:new Gr}return e.prototype.shouldSample=function(r,t,n,a,i,o){var E=D.getSpanContext(r);return!E||!De(E)?this._root.shouldSample(r,t,n,a,i,o):E.isRemote?E.traceFlags&U.SAMPLED?this._remoteParentSampled.shouldSample(r,t,n,a,i,o):this._remoteParentNotSampled.shouldSample(r,t,n,a,i,o):E.traceFlags&U.SAMPLED?this._localParentSampled.shouldSample(r,t,n,a,i,o):this._localParentNotSampled.shouldSample(r,t,n,a,i,o)},e.prototype.toString=function(){return"ParentBased{root="+this._root.toString()+", remoteParentSampled="+this._remoteParentSampled.toString()+", remoteParentNotSampled="+this._remoteParentNotSampled.toString()+", localParentSampled="+this._localParentSampled.toString()+", localParentNotSampled="+this._localParentNotSampled.toString()+"}"},e}(),vi=function(){function e(r){r===void 0&&(r=0),this._ratio=r,this._ratio=this._normalize(r),this._upperBound=Math.floor(this._ratio*4294967295)}return e.prototype.shouldSample=function(r,t){return{decision:Kr(t)&&this._accumulate(t)<this._upperBound?he.RECORD_AND_SAMPLED:he.NOT_RECORD}},e.prototype.toString=function(){return"TraceIdRatioBased{"+this._ratio+"}"},e.prototype._normalize=function(r){return typeof r!="number"||isNaN(r)?0:r>=1?1:r<=0?0:r},e.prototype._accumulate=function(r){for(var t=0,n=0;n<r.length/8;n++){var a=n*8,i=parseInt(r.slice(a,a+8),16);t=(t^i)>>>0}return t},e}(),VC=m(),BC=G.AlwaysOn,ve=1;function DA(){return{sampler:bA(VC),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:m().OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:m().OTEL_ATTRIBUTE_COUNT_LIMIT},spanLimits:{attributeValueLengthLimit:m().OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:m().OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT,linkCountLimit:m().OTEL_SPAN_LINK_COUNT_LIMIT,eventCountLimit:m().OTEL_SPAN_EVENT_COUNT_LIMIT,attributePerEventCountLimit:m().OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT,attributePerLinkCountLimit:m().OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT}}}function bA(e){switch(e===void 0&&(e=m()),e.OTEL_TRACES_SAMPLER){case G.AlwaysOn:return new Me;case G.AlwaysOff:return new Gr;case G.ParentBasedAlwaysOn:return new Yt({root:new Me});case G.ParentBasedAlwaysOff:return new Yt({root:new Gr});case G.TraceIdRatio:return new vi(di(e));case G.ParentBasedTraceIdRatio:return new Yt({root:new vi(di(e))});default:return v.error('OTEL_TRACES_SAMPLER value "'+e.OTEL_TRACES_SAMPLER+" invalid, defaulting to "+BC+'".'),new Me}}function di(e){if(e.OTEL_TRACES_SAMPLER_ARG===void 0||e.OTEL_TRACES_SAMPLER_ARG==="")return v.error("OTEL_TRACES_SAMPLER_ARG is blank, defaulting to "+ve+"."),ve;var r=Number(e.OTEL_TRACES_SAMPLER_ARG);return isNaN(r)?(v.error("OTEL_TRACES_SAMPLER_ARG="+e.OTEL_TRACES_SAMPLER_ARG+" was given, but it is invalid, defaulting to "+ve+"."),ve):r<0||r>1?(v.error("OTEL_TRACES_SAMPLER_ARG="+e.OTEL_TRACES_SAMPLER_ARG+" was given, but it is out of range ([0..1]), defaulting to "+ve+"."),ve):r}function wC(e){var r={sampler:bA()},t=DA(),n=Object.assign({},t,r,e);return n.generalLimits=Object.assign({},t.generalLimits,e.generalLimits||{}),n.spanLimits=Object.assign({},t.spanLimits,e.spanLimits||{}),n}function GC(e){var r,t,n,a,i,o,E,s,T,S,u,A,l=Object.assign({},e.spanLimits),R=ki();return l.attributeCountLimit=(o=(i=(a=(t=(r=e.spanLimits)===null||r===void 0?void 0:r.attributeCountLimit)!==null&&t!==void 0?t:(n=e.generalLimits)===null||n===void 0?void 0:n.attributeCountLimit)!==null&&a!==void 0?a:R.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT)!==null&&i!==void 0?i:R.OTEL_ATTRIBUTE_COUNT_LIMIT)!==null&&o!==void 0?o:We,l.attributeValueLengthLimit=(A=(u=(S=(s=(E=e.spanLimits)===null||E===void 0?void 0:E.attributeValueLengthLimit)!==null&&s!==void 0?s:(T=e.generalLimits)===null||T===void 0?void 0:T.attributeValueLengthLimit)!==null&&S!==void 0?S:R.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT)!==null&&u!==void 0?u:R.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT)!==null&&A!==void 0?A:Xe,Object.assign({},e,{spanLimits:l})}var xC=function(){function e(r,t){this._exporter=r,this._isExporting=!1,this._finishedSpans=[],this._droppedSpansCount=0;var n=m();this._maxExportBatchSize=typeof(t==null?void 0:t.maxExportBatchSize)=="number"?t.maxExportBatchSize:n.OTEL_BSP_MAX_EXPORT_BATCH_SIZE,this._maxQueueSize=typeof(t==null?void 0:t.maxQueueSize)=="number"?t.maxQueueSize:n.OTEL_BSP_MAX_QUEUE_SIZE,this._scheduledDelayMillis=typeof(t==null?void 0:t.scheduledDelayMillis)=="number"?t.scheduledDelayMillis:n.OTEL_BSP_SCHEDULE_DELAY,this._exportTimeoutMillis=typeof(t==null?void 0:t.exportTimeoutMillis)=="number"?t.exportTimeoutMillis:n.OTEL_BSP_EXPORT_TIMEOUT,this._shutdownOnce=new mA(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(v.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}return e.prototype.forceFlush=function(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()},e.prototype.onStart=function(r,t){},e.prototype.onEnd=function(r){this._shutdownOnce.isCalled||r.spanContext().traceFlags&U.SAMPLED&&this._addToBuffer(r)},e.prototype.shutdown=function(){return this._shutdownOnce.call()},e.prototype._shutdown=function(){var r=this;return Promise.resolve().then(function(){return r.onShutdown()}).then(function(){return r._flushAll()}).then(function(){return r._exporter.shutdown()})},e.prototype._addToBuffer=function(r){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&v.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(v.warn("Dropped "+this._droppedSpansCount+" spans because maxQueueSize reached"),this._droppedSpansCount=0),this._finishedSpans.push(r),this._maybeStartTimer()},e.prototype._flushAll=function(){var r=this;return new Promise(function(t,n){for(var a=[],i=Math.ceil(r._finishedSpans.length/r._maxExportBatchSize),o=0,E=i;o<E;o++)a.push(r._flushOneBatch());Promise.all(a).then(function(){t()}).catch(n)})},e.prototype._flushOneBatch=function(){var r=this;return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise(function(t,n){var a=setTimeout(function(){n(new Error("Timeout"))},r._exportTimeoutMillis);F.with(Rn(F.active()),function(){var i;r._finishedSpans.length<=r._maxExportBatchSize?(i=r._finishedSpans,r._finishedSpans=[]):i=r._finishedSpans.splice(0,r._maxExportBatchSize);for(var o=function(){return r._exporter.export(i,function(u){var A;clearTimeout(a),u.code===Ie.SUCCESS?t():n((A=u.error)!==null&&A!==void 0?A:new Error("BatchSpanProcessor: span export failed"))})},E=null,s=0,T=i.length;s<T;s++){var S=i[s];S.resource.asyncAttributesPending&&S.resource.waitForAsyncAttributes&&(E!=null||(E=[]),E.push(S.resource.waitForAsyncAttributes()))}E===null?o():Promise.all(E).then(o,function(u){Le(u),n(u)})})})},e.prototype._maybeStartTimer=function(){var r=this;if(!this._isExporting){var t=function(){r._isExporting=!0,r._flushOneBatch().finally(function(){r._isExporting=!1,r._finishedSpans.length>0&&(r._clearTimer(),r._maybeStartTimer())}).catch(function(n){r._isExporting=!1,Le(n)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return t();this._timer===void 0&&(this._timer=setTimeout(function(){return t()},this._scheduledDelayMillis))}},e.prototype._clearTimer=function(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)},e}(),YC=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),HC=function(e){YC(r,e);function r(t,n){var a=e.call(this,t,n)||this;return a.onInit(n),a}return r.prototype.onInit=function(t){var n=this;(t==null?void 0:t.disableAutoFlushOnDocumentHide)!==!0&&typeof document!="undefined"&&(this._visibilityChangeListener=function(){document.visibilityState==="hidden"&&n.forceFlush()},this._pageHideListener=function(){n.forceFlush()},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))},r.prototype.onShutdown=function(){typeof document!="undefined"&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))},r}(xC),FC=8,KC=16,qC=function(){function e(){this.generateTraceId=Ni(KC),this.generateSpanId=Ni(FC)}return e}(),pr=Array(32);function Ni(e){return function(){for(var t=0;t<e*2;t++)pr[t]=Math.floor(Math.random()*16)+48,pr[t]>=58&&(pr[t]+=39);return String.fromCharCode.apply(null,pr.slice(0,e*2))}}var jC=function(){function e(r,t,n){this._tracerProvider=n;var a=wC(t);this._sampler=a.sampler,this._generalLimits=a.generalLimits,this._spanLimits=a.spanLimits,this._idGenerator=t.idGenerator||new qC,this.resource=n.resource,this.instrumentationLibrary=r}return e.prototype.startSpan=function(r,t,n){var a,i,o;t===void 0&&(t={}),n===void 0&&(n=F.active()),t.root&&(n=D.deleteSpan(n));var E=D.getSpan(n);if(qr(n)){v.debug("Instrumentation suppressed, returning Noop Span");var s=D.wrapSpanContext(Sn);return s}var T=E==null?void 0:E.spanContext(),S=this._idGenerator.generateSpanId(),u,A,l;!T||!D.isSpanContextValid(T)?u=this._idGenerator.generateTraceId():(u=T.traceId,A=T.traceState,l=T.spanId);var R=(a=t.kind)!==null&&a!==void 0?a:Dr.INTERNAL,M=((i=t.links)!==null&&i!==void 0?i:[]).map(function(lr){return{context:lr.context,attributes:je(lr.attributes)}}),c=je(t.attributes),O=this._sampler.shouldSample(n,u,r,R,c,M);A=(o=O.traceState)!==null&&o!==void 0?o:A;var p=O.decision===k.RECORD_AND_SAMPLED?U.SAMPLED:U.NONE,d={traceId:u,spanId:S,traceFlags:p,traceState:A};if(O.decision===k.NOT_RECORD){v.debug("Recording is off, propagating context in a non-recording span");var s=D.wrapSpanContext(d);return s}var I=je(Object.assign(c,O.attributes)),B=new UC(this,n,r,d,R,l,M,t.startTime,void 0,I);return B},e.prototype.startActiveSpan=function(r,t,n,a){var i,o,E;if(!(arguments.length<2)){arguments.length===2?E=t:arguments.length===3?(i=t,E=n):(i=t,o=n,E=a);var s=o!=null?o:F.active(),T=this.startSpan(r,i,s),S=D.setSpan(s,T);return F.with(S,E,void 0,T)}},e.prototype.getGeneralLimits=function(){return this._generalLimits},e.prototype.getSpanLimits=function(){return this._spanLimits},e.prototype.getActiveSpanProcessor=function(){return this._tracerProvider.getActiveSpanProcessor()},e}();function XC(){return"unknown_service"}var te=function(){return te=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},te.apply(this,arguments)},WC=function(e,r,t,n){function a(i){return i instanceof t?i:new t(function(o){o(i)})}return new(t||(t=Promise))(function(i,o){function E(S){try{T(n.next(S))}catch(u){o(u)}}function s(S){try{T(n.throw(S))}catch(u){o(u)}}function T(S){S.done?i(S.value):a(S.value).then(E,s)}T((n=n.apply(e,r||[])).next())})},kC=function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:E(0),throw:E(1),return:E(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function E(T){return function(S){return s([T,S])}}function s(T){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(i=T[0]&2?a.return:T[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,T[1])).done)return i;switch(a=0,i&&(T=[T[0]&2,i.value]),T[0]){case 0:case 1:i=T;break;case 4:return t.label++,{value:T[1],done:!1};case 5:t.label++,a=T[1],T=[0];continue;case 7:T=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(T[0]===6||T[0]===2)){t=0;continue}if(T[0]===3&&(!i||T[1]>i[0]&&T[1]<i[3])){t.label=T[1];break}if(T[0]===6&&t.label<i[1]){t.label=i[1],i=T;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(T);break}i[2]&&t.ops.pop(),t.trys.pop();continue}T=r.call(e,t)}catch(S){T=[6,S],a=0}finally{n=i=0}if(T[0]&5)throw T[1];return{value:T[0]?T[1]:void 0,done:!0}}},QC=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},Pi=function(){function e(r,t){var n=this,a;this._attributes=r,this.asyncAttributesPending=t!=null,this._syncAttributes=(a=this._attributes)!==null&&a!==void 0?a:{},this._asyncAttributesPromise=t==null?void 0:t.then(function(i){return n._attributes=Object.assign({},n._attributes,i),n.asyncAttributesPending=!1,i},function(i){return v.debug("a resource's async attributes promise rejected: %s",i),n.asyncAttributesPending=!1,{}})}return e.empty=function(){return e.EMPTY},e.default=function(){var r;return new e((r={},r[Mn]=XC(),r[Ur]=Lr[Ur],r[gr]=Lr[gr],r[Vr]=Lr[Vr],r))},Object.defineProperty(e.prototype,"attributes",{get:function(){var r;return this.asyncAttributesPending&&v.error("Accessing resource attributes before async attributes settled"),(r=this._attributes)!==null&&r!==void 0?r:{}},enumerable:!1,configurable:!0}),e.prototype.waitForAsyncAttributes=function(){return WC(this,void 0,void 0,function(){return kC(this,function(r){switch(r.label){case 0:return this.asyncAttributesPending?[4,this._asyncAttributesPromise]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}})})},e.prototype.merge=function(r){var t=this,n;if(!r)return this;var a=te(te({},this._syncAttributes),(n=r._syncAttributes)!==null&&n!==void 0?n:r.attributes);if(!this._asyncAttributesPromise&&!r._asyncAttributesPromise)return new e(a);var i=Promise.all([this._asyncAttributesPromise,r._asyncAttributesPromise]).then(function(o){var E,s=QC(o,2),T=s[0],S=s[1];return te(te(te(te({},t._syncAttributes),T),(E=r._syncAttributes)!==null&&E!==void 0?E:r.attributes),S)});return new e(a,i)},e.EMPTY=new e({}),e}(),vr=function(e){var r=typeof Symbol=="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},$C=function(){function e(r){this._spanProcessors=r}return e.prototype.forceFlush=function(){var r,t,n=[];try{for(var a=vr(this._spanProcessors),i=a.next();!i.done;i=a.next()){var o=i.value;n.push(o.forceFlush())}}catch(E){r={error:E}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return new Promise(function(E){Promise.all(n).then(function(){E()}).catch(function(s){Le(s||new Error("MultiSpanProcessor: forceFlush failed")),E()})})},e.prototype.onStart=function(r,t){var n,a;try{for(var i=vr(this._spanProcessors),o=i.next();!o.done;o=i.next()){var E=o.value;E.onStart(r,t)}}catch(s){n={error:s}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}},e.prototype.onEnd=function(r){var t,n;try{for(var a=vr(this._spanProcessors),i=a.next();!i.done;i=a.next()){var o=i.value;o.onEnd(r)}}catch(E){t={error:E}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}},e.prototype.shutdown=function(){var r,t,n=[];try{for(var a=vr(this._spanProcessors),i=a.next();!i.done;i=a.next()){var o=i.value;n.push(o.shutdown())}}catch(E){r={error:E}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return new Promise(function(E,s){Promise.all(n).then(function(){E()},s)})},e}(),zC=function(){function e(){}return e.prototype.onStart=function(r,t){},e.prototype.onEnd=function(r){},e.prototype.shutdown=function(){return Promise.resolve()},e.prototype.forceFlush=function(){return Promise.resolve()},e}(),_e;(function(e){e[e.resolved=0]="resolved",e[e.timeout=1]="timeout",e[e.error=2]="error",e[e.unresolved=3]="unresolved"})(_e||(_e={}));var ZC=function(){function e(r){r===void 0&&(r={});var t;this._registeredSpanProcessors=[],this._tracers=new Map;var n=MA({},DA(),GC(r));this.resource=(t=n.resource)!==null&&t!==void 0?t:Pi.empty(),this.resource=Pi.default().merge(this.resource),this._config=Object.assign({},n,{resource:this.resource});var a=this._buildExporterFromEnv();if(a!==void 0){var i=new HC(a);this.activeSpanProcessor=i}else this.activeSpanProcessor=new zC}return e.prototype.getTracer=function(r,t,n){var a=r+"@"+(t||"")+":"+((n==null?void 0:n.schemaUrl)||"");return this._tracers.has(a)||this._tracers.set(a,new jC({name:r,version:t,schemaUrl:n==null?void 0:n.schemaUrl},this._config,this)),this._tracers.get(a)},e.prototype.addSpanProcessor=function(r){this._registeredSpanProcessors.length===0&&this.activeSpanProcessor.shutdown().catch(function(t){return v.error("Error while trying to shutdown current span processor",t)}),this._registeredSpanProcessors.push(r),this.activeSpanProcessor=new $C(this._registeredSpanProcessors)},e.prototype.getActiveSpanProcessor=function(){return this.activeSpanProcessor},e.prototype.register=function(r){r===void 0&&(r={}),D.setGlobalTracerProvider(this),r.propagator===void 0&&(r.propagator=this._buildPropagatorFromEnv()),r.contextManager&&F.setGlobalContextManager(r.contextManager),r.propagator&&Pe.setGlobalPropagator(r.propagator)},e.prototype.forceFlush=function(){var r=this._config.forceFlushTimeoutMillis,t=this._registeredSpanProcessors.map(function(n){return new Promise(function(a){var i,o=setTimeout(function(){a(new Error("Span processor did not completed within timeout period of "+r+" ms")),i=_e.timeout},r);n.forceFlush().then(function(){clearTimeout(o),i!==_e.timeout&&(i=_e.resolved,a(i))}).catch(function(E){clearTimeout(o),i=_e.error,a(E)})})});return new Promise(function(n,a){Promise.all(t).then(function(i){var o=i.filter(function(E){return E!==_e.resolved});o.length>0?a(o):n()}).catch(function(i){return a([i])})})},e.prototype.shutdown=function(){return this.activeSpanProcessor.shutdown()},e.prototype._getPropagator=function(r){var t;return(t=this.constructor._registeredPropagators.get(r))===null||t===void 0?void 0:t()},e.prototype._getSpanExporter=function(r){var t;return(t=this.constructor._registeredExporters.get(r))===null||t===void 0?void 0:t()},e.prototype._buildPropagatorFromEnv=function(){var r=this,t=Array.from(new Set(m().OTEL_PROPAGATORS)),n=t.map(function(i){var o=r._getPropagator(i);return o||v.warn('Propagator "'+i+'" requested through environment variable is unavailable.'),o}),a=n.reduce(function(i,o){return o&&i.push(o),i},[]);if(a.length!==0)return t.length===1?a[0]:new OA({propagators:a})},e.prototype._buildExporterFromEnv=function(){var r=m().OTEL_TRACES_EXPORTER;if(!(r==="none"||r==="")){var t=this._getSpanExporter(r);return t||v.error('Exporter "'+r+'" requested through environment variable is unavailable.'),t}},e._registeredPropagators=new Map([["tracecontext",function(){return new pA}],["baggage",function(){return new Yi}]]),e._registeredExporters=new Map,e}(),JC=function(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),a,i=[],o;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(E){o={error:E}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return i},em=function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++)(i||!(n in r))&&(i||(i=Array.prototype.slice.call(r,0,n)),i[n]=r[n]);return e.concat(i||Array.prototype.slice.call(r))},rm=function(){function e(){this._enabled=!1,this._currentContext=se}return e.prototype._bindFunction=function(r,t){r===void 0&&(r=se);var n=this,a=function(){for(var i=this,o=[],E=0;E<arguments.length;E++)o[E]=arguments[E];return n.with(r,function(){return t.apply(i,o)})};return Object.defineProperty(a,"length",{enumerable:!1,configurable:!0,writable:!1,value:t.length}),a},e.prototype.active=function(){return this._currentContext},e.prototype.bind=function(r,t){return r===void 0&&(r=this.active()),typeof t=="function"?this._bindFunction(r,t):t},e.prototype.disable=function(){return this._currentContext=se,this._enabled=!1,this},e.prototype.enable=function(){return this._enabled?this:(this._enabled=!0,this._currentContext=se,this)},e.prototype.with=function(r,t,n){for(var a=[],i=3;i<arguments.length;i++)a[i-3]=arguments[i];var o=this._currentContext;this._currentContext=r||se;try{return t.call.apply(t,em([n],JC(a),!1))}finally{this._currentContext=o}},e}(),tm=function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),nm=function(e){tm(r,e);function r(t){t===void 0&&(t={});var n=e.call(this,t)||this;if(t.contextManager)throw"contextManager should be defined in register method not in constructor";if(t.propagator)throw"propagator should be defined in register method not in constructor";return n}return r.prototype.register=function(t){t===void 0&&(t={}),t.contextManager===void 0&&(t.contextManager=new rm),t.contextManager&&t.contextManager.enable(),e.prototype.register.call(this,t)},r}(ZC),am=function(){function e(){}return e.prototype.emit=function(r){},e}(),im=function(){function e(){}return e.prototype.getLogger=function(r,t,n){return new am},e}(),Mi=new im,om=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},dr=Symbol.for("io.opentelemetry.js.api.logs"),Fe=om;function Em(e,r,t){return function(n){return n===e?r:t}}var Li=1,sm=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalLoggerProvider=function(r){return Fe[dr]?this.getLoggerProvider():(Fe[dr]=Em(Li,r,Mi),r)},e.prototype.getLoggerProvider=function(){var r,t;return(t=(r=Fe[dr])===null||r===void 0?void 0:r.call(Fe,Li))!==null&&t!==void 0?t:Mi},e.prototype.getLogger=function(r,t,n){return this.getLoggerProvider().getLogger(r,t,n)},e.prototype.disable=function(){delete Fe[dr]},e}(),Tm=sm.getInstance();function _m(e,r,t,n){for(var a=0,i=e.length;a<i;a++){var o=e[a];r&&o.setTracerProvider(r),t&&o.setMeterProvider(t),n&&o.setLoggerProvider&&o.setLoggerProvider(n),o.getConfig().enabled||o.enable()}}function Sm(e){e.forEach(function(r){return r.disable()})}function um(e){var r,t,n=e.tracerProvider||D.getTracerProvider(),a=e.meterProvider||ln.getMeterProvider(),i=e.loggerProvider||Tm.getLoggerProvider(),o=(t=(r=e.instrumentations)===null||r===void 0?void 0:r.flat())!==null&&t!==void 0?t:[];return _m(o,n,a,i),function(){Sm(o)}}var Ne=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Cn(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function n(){return this instanceof n?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),t}var mn={},Dn=Cn(Cp),yA=Cn(yh),gA=Cn(DC),UA={},Wr={};Object.defineProperty(Wr,"__esModule",{value:!0});Wr.defaultServiceName=void 0;function Am(){return"unknown_service"}Wr.defaultServiceName=Am;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultServiceName=void 0;var r=Wr;Object.defineProperty(e,"defaultServiceName",{enumerable:!0,get:function(){return r.defaultServiceName}})})(UA);Object.defineProperty(mn,"__esModule",{value:!0});var VA=mn.Resource=void 0,Ii=Dn,oe=yA,Ht=gA,cm=UA,$e=class e{constructor(r,t){var n;this._attributes=r,this.asyncAttributesPending=t!=null,this._syncAttributes=(n=this._attributes)!==null&&n!==void 0?n:{},this._asyncAttributesPromise=t==null?void 0:t.then(a=>(this._attributes=Object.assign({},this._attributes,a),this.asyncAttributesPending=!1,a),a=>(Ii.diag.debug("a resource's async attributes promise rejected: %s",a),this.asyncAttributesPending=!1,{}))}static empty(){return e.EMPTY}static default(){return new e({[oe.SEMRESATTRS_SERVICE_NAME]:(0,cm.defaultServiceName)(),[oe.SEMRESATTRS_TELEMETRY_SDK_LANGUAGE]:Ht.SDK_INFO[oe.SEMRESATTRS_TELEMETRY_SDK_LANGUAGE],[oe.SEMRESATTRS_TELEMETRY_SDK_NAME]:Ht.SDK_INFO[oe.SEMRESATTRS_TELEMETRY_SDK_NAME],[oe.SEMRESATTRS_TELEMETRY_SDK_VERSION]:Ht.SDK_INFO[oe.SEMRESATTRS_TELEMETRY_SDK_VERSION]})}get attributes(){var r;return this.asyncAttributesPending&&Ii.diag.error("Accessing resource attributes before async attributes settled"),(r=this._attributes)!==null&&r!==void 0?r:{}}waitForAsyncAttributes(){return Re(this,null,function*(){this.asyncAttributesPending&&(yield this._asyncAttributesPromise)})}merge(r){var t;if(!r)return this;let n=Object.assign(Object.assign({},this._syncAttributes),(t=r._syncAttributes)!==null&&t!==void 0?t:r.attributes);if(!this._asyncAttributesPromise&&!r._asyncAttributesPromise)return new e(n);let a=Promise.all([this._asyncAttributesPromise,r._asyncAttributesPromise]).then(([i,o])=>{var E;return Object.assign(Object.assign(Object.assign(Object.assign({},this._syncAttributes),i),(E=r._syncAttributes)!==null&&E!==void 0?E:r.attributes),o)});return new e(n,a)}};VA=mn.Resource=$e;$e.EMPTY=new $e({});var lm=typeof performance!="undefined";function Om(){let e;return!lm||!performance.now?e=Date.now():performance.timeOrigin?e=performance.timeOrigin+performance.now():performance.timing&&performance.timing.navigationStart?e=performance.timing.navigationStart+performance.now():e=Date.now()+performance.now(),e}function fm(e){return Math.round(e*1e6)}function Rm(){return fm(Om())}var Ft;function pm(){return Ft===void 0&&(Ft="keepalive"in new Request("")),Ft}var zt=class{constructor(r){this.maxRetryInterval=1e3*60*5,this.headers={},this.retryInterval=1e4,this.retryCount=5,this.onBeforeUnload=this.onBeforeUnload.bind(this),this.xhrHandler=this.xhrHandler.bind(this),this.retry=this.retry.bind(this),this.dataType=r.dataType,this.data=this.initData(r),this.url=(r.apiHost||"https://api-hprof.odkl.ru")+r.apiUrl+this.initQueryParams(r),this.dataType==="json"&&(this.headers["Content-Type"]="application/json;charset=utf-8"),r.beforeUnload?this.onBeforeUnload():(typeof window!="undefined"&&window.addEventListener("beforeunload",this.onBeforeUnload),this.onRequestEnd=r.onRequestEnd,this.xhr=this.doRequest())}initData(r){if(r.dataType==="form"){let t=new FormData;for(let n in r.data)if(Object.prototype.hasOwnProperty.call(r.data,n)){let a=r.data[n];typeof a=="object"&&!(a instanceof Blob)&&(a=JSON.stringify(a)),t.append(n,a)}return t}else return JSON.stringify(r.data)}initQueryParams(r){let t=r.queryParams||{},n=[];r.sdkVersion&&(t.sdkVersion=r.sdkVersion);for(let a in t)Object.prototype.hasOwnProperty.call(t,a)&&t[a]&&n.push(a+"="+t[a]);return n.length?"?"+n.join("&"):""}doRequest(){let r=new XMLHttpRequest;r.open("POST",this.url);for(let t in this.headers)Object.prototype.hasOwnProperty.call(this.headers,t)&&r.setRequestHeader(t,this.headers[t]);return r.responseType="json",r.onload=this.xhrHandler,r.onerror=this.xhrHandler,r.onabort=this.xhrHandler,r.ontimeout=this.xhrHandler,r.send(this.data),r}retry(){this.retryInterval=Math.min(this.retryInterval*2,this.maxRetryInterval),this.retryCount--,this.xhr=this.doRequest()}xhrHandler(r){let t=this.xhr;if(!t)return;if((r.type==="timeout"||r.type==="error"&&t.readyState===XMLHttpRequest.DONE&&t.status===0)&&this.retryCount>0){setTimeout(this.retry,this.retryInterval);return}typeof window!="undefined"&&window.removeEventListener("beforeunload",this.onBeforeUnload),this.onRequestEnd&&this.onRequestEnd()}onBeforeUnload(){pm()&&(this.xhr&&this.xhr.abort(),fetch(this.url,{headers:this.headers,method:"POST",body:this.data,keepalive:!0}))}};function vm(e){typeof window!="undefined"&&new zt(e)}var N={},BA={},Ce={},wA={},GA={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TracesSamplerValues=void 0,function(r){r.AlwaysOff="always_off",r.AlwaysOn="always_on",r.ParentBasedAlwaysOff="parentbased_always_off",r.ParentBasedAlwaysOn="parentbased_always_on",r.ParentBasedTraceIdRatio="parentbased_traceidratio",r.TraceIdRatio="traceidratio"}(e.TracesSamplerValues||(e.TracesSamplerValues={}))})(GA);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.parseEnvironment=e.DEFAULT_ENVIRONMENT=e.DEFAULT_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT=e.DEFAULT_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT=e.DEFAULT_ATTRIBUTE_COUNT_LIMIT=e.DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT=void 0;let r=Dn,t=GA,n=",",a=["OTEL_SDK_DISABLED"];function i(c){return a.indexOf(c)>-1}let o=["OTEL_BSP_EXPORT_TIMEOUT","OTEL_BSP_MAX_EXPORT_BATCH_SIZE","OTEL_BSP_MAX_QUEUE_SIZE","OTEL_BSP_SCHEDULE_DELAY","OTEL_BLRP_EXPORT_TIMEOUT","OTEL_BLRP_MAX_EXPORT_BATCH_SIZE","OTEL_BLRP_MAX_QUEUE_SIZE","OTEL_BLRP_SCHEDULE_DELAY","OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_EVENT_COUNT_LIMIT","OTEL_SPAN_LINK_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT","OTEL_EXPORTER_OTLP_TIMEOUT","OTEL_EXPORTER_OTLP_TRACES_TIMEOUT","OTEL_EXPORTER_OTLP_METRICS_TIMEOUT","OTEL_EXPORTER_OTLP_LOGS_TIMEOUT","OTEL_EXPORTER_JAEGER_AGENT_PORT"];function E(c){return o.indexOf(c)>-1}let s=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS"];function T(c){return s.indexOf(c)>-1}e.DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT=1/0,e.DEFAULT_ATTRIBUTE_COUNT_LIMIT=128,e.DEFAULT_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT=128,e.DEFAULT_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT=128,e.DEFAULT_ENVIRONMENT={OTEL_SDK_DISABLED:!1,CONTAINER_NAME:"",ECS_CONTAINER_METADATA_URI_V4:"",ECS_CONTAINER_METADATA_URI:"",HOSTNAME:"",KUBERNETES_SERVICE_HOST:"",NAMESPACE:"",OTEL_BSP_EXPORT_TIMEOUT:3e4,OTEL_BSP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BSP_MAX_QUEUE_SIZE:2048,OTEL_BSP_SCHEDULE_DELAY:5e3,OTEL_BLRP_EXPORT_TIMEOUT:3e4,OTEL_BLRP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BLRP_MAX_QUEUE_SIZE:2048,OTEL_BLRP_SCHEDULE_DELAY:5e3,OTEL_EXPORTER_JAEGER_AGENT_HOST:"",OTEL_EXPORTER_JAEGER_AGENT_PORT:6832,OTEL_EXPORTER_JAEGER_ENDPOINT:"",OTEL_EXPORTER_JAEGER_PASSWORD:"",OTEL_EXPORTER_JAEGER_USER:"",OTEL_EXPORTER_OTLP_ENDPOINT:"",OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:"",OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:"",OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:"",OTEL_EXPORTER_OTLP_HEADERS:"",OTEL_EXPORTER_OTLP_TRACES_HEADERS:"",OTEL_EXPORTER_OTLP_METRICS_HEADERS:"",OTEL_EXPORTER_OTLP_LOGS_HEADERS:"",OTEL_EXPORTER_OTLP_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_TRACES_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_METRICS_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_LOGS_TIMEOUT:1e4,OTEL_EXPORTER_ZIPKIN_ENDPOINT:"http://localhost:9411/api/v2/spans",OTEL_LOG_LEVEL:r.DiagLogLevel.INFO,OTEL_NO_PATCH_MODULES:[],OTEL_PROPAGATORS:["tracecontext","baggage"],OTEL_RESOURCE_ATTRIBUTES:"",OTEL_SERVICE_NAME:"",OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT:e.DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT,OTEL_ATTRIBUTE_COUNT_LIMIT:e.DEFAULT_ATTRIBUTE_COUNT_LIMIT,OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT:e.DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT,OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT:e.DEFAULT_ATTRIBUTE_COUNT_LIMIT,OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT:e.DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT,OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT:e.DEFAULT_ATTRIBUTE_COUNT_LIMIT,OTEL_SPAN_EVENT_COUNT_LIMIT:128,OTEL_SPAN_LINK_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:e.DEFAULT_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT,OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:e.DEFAULT_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT,OTEL_TRACES_EXPORTER:"",OTEL_TRACES_SAMPLER:t.TracesSamplerValues.ParentBasedAlwaysOn,OTEL_TRACES_SAMPLER_ARG:"",OTEL_LOGS_EXPORTER:"",OTEL_EXPORTER_OTLP_INSECURE:"",OTEL_EXPORTER_OTLP_TRACES_INSECURE:"",OTEL_EXPORTER_OTLP_METRICS_INSECURE:"",OTEL_EXPORTER_OTLP_LOGS_INSECURE:"",OTEL_EXPORTER_OTLP_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_COMPRESSION:"",OTEL_EXPORTER_OTLP_TRACES_COMPRESSION:"",OTEL_EXPORTER_OTLP_METRICS_COMPRESSION:"",OTEL_EXPORTER_OTLP_LOGS_COMPRESSION:"",OTEL_EXPORTER_OTLP_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_LOGS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:"cumulative"};function S(c,O,p){if(typeof p[c]=="undefined")return;let d=String(p[c]);O[c]=d.toLowerCase()==="true"}function u(c,O,p,d=-1/0,I=1/0){if(typeof p[c]!="undefined"){let B=Number(p[c]);isNaN(B)||(B<d?O[c]=d:B>I?O[c]=I:O[c]=B)}}function A(c,O,p,d=n){let I=p[c];typeof I=="string"&&(O[c]=I.split(d).map(B=>B.trim()))}let l={ALL:r.DiagLogLevel.ALL,VERBOSE:r.DiagLogLevel.VERBOSE,DEBUG:r.DiagLogLevel.DEBUG,INFO:r.DiagLogLevel.INFO,WARN:r.DiagLogLevel.WARN,ERROR:r.DiagLogLevel.ERROR,NONE:r.DiagLogLevel.NONE};function R(c,O,p){let d=p[c];if(typeof d=="string"){let I=l[d.toUpperCase()];I!=null&&(O[c]=I)}}function M(c){let O={};for(let p in e.DEFAULT_ENVIRONMENT){let d=p;switch(d){case"OTEL_LOG_LEVEL":R(d,O,c);break;default:if(i(d))S(d,O,c);else if(E(d))u(d,O,c);else if(T(d))A(d,O,c);else{let I=c[d];typeof I!="undefined"&&I!==null&&(O[d]=String(I))}}}return O}e.parseEnvironment=M})(wA);var tr={};Object.defineProperty(tr,"__esModule",{value:!0});tr._globalThis=void 0;tr._globalThis=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Ne=="object"?Ne:{};Object.defineProperty(Ce,"__esModule",{value:!0});Ce.getEnvWithoutDefaults=Ce.getEnv=void 0;var Zt=wA,xA=tr;function dm(){let e=(0,Zt.parseEnvironment)(xA._globalThis);return Object.assign({},Zt.DEFAULT_ENVIRONMENT,e)}Ce.getEnv=dm;function Nm(){return(0,Zt.parseEnvironment)(xA._globalThis)}Ce.getEnvWithoutDefaults=Nm;var kr={},Qr={};Object.defineProperty(Qr,"__esModule",{value:!0});Qr.hexToBinary=void 0;function hi(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-87:e-55}function Pm(e){let r=new Uint8Array(e.length/2),t=0;for(let n=0;n<e.length;n+=2){let a=hi(e.charCodeAt(n)),i=hi(e.charCodeAt(n+1));r[t++]=a<<4|i}return r}Qr.hexToBinary=Pm;Object.defineProperty(kr,"__esModule",{value:!0});kr.hexToBase64=void 0;var Mm=Qr;function Lm(e){return btoa(String.fromCharCode(...(0,Mm.hexToBinary)(e)))}kr.hexToBase64=Lm;var $r={};Object.defineProperty($r,"__esModule",{value:!0});$r.RandomIdGenerator=void 0;var Im=8,hm=16,Jt=class{constructor(){this.generateTraceId=Ci(hm),this.generateSpanId=Ci(Im)}};$r.RandomIdGenerator=Jt;var Nr=Array(32);function Ci(e){return function(){for(let t=0;t<e*2;t++)Nr[t]=Math.floor(Math.random()*16)+48,Nr[t]>=58&&(Nr[t]+=39);return String.fromCharCode.apply(null,Nr.slice(0,e*2))}}var zr={};Object.defineProperty(zr,"__esModule",{value:!0});zr.otperformance=void 0;zr.otperformance=performance;var Zr={},Jr={};Object.defineProperty(Jr,"__esModule",{value:!0});Jr.VERSION=void 0;Jr.VERSION="1.25.1";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.SDK_INFO=void 0;var Cm=Jr,Ke=yA;Zr.SDK_INFO={[Ke.SEMRESATTRS_TELEMETRY_SDK_NAME]:"opentelemetry",[Ke.SEMRESATTRS_PROCESS_RUNTIME_NAME]:"browser",[Ke.SEMRESATTRS_TELEMETRY_SDK_LANGUAGE]:Ke.TELEMETRYSDKLANGUAGEVALUES_WEBJS,[Ke.SEMRESATTRS_TELEMETRY_SDK_VERSION]:Cm.VERSION};var et={};Object.defineProperty(et,"__esModule",{value:!0});et.unrefTimer=void 0;function mm(e){}et.unrefTimer=mm;(function(e){var r=Ne&&Ne.__createBinding||(Object.create?function(a,i,o,E){E===void 0&&(E=o),Object.defineProperty(a,E,{enumerable:!0,get:function(){return i[o]}})}:function(a,i,o,E){E===void 0&&(E=o),a[E]=i[o]}),t=Ne&&Ne.__exportStar||function(a,i){for(var o in a)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&r(i,a,o)};Object.defineProperty(e,"__esModule",{value:!0}),e.getEnv=e.getEnvWithoutDefaults=void 0;var n=Ce;Object.defineProperty(e,"getEnvWithoutDefaults",{enumerable:!0,get:function(){return n.getEnvWithoutDefaults}}),Object.defineProperty(e,"getEnv",{enumerable:!0,get:function(){return n.getEnv}}),t(tr,e),t(kr,e),t($r,e),t(zr,e),t(Zr,e),t(et,e)})(BA);Object.defineProperty(N,"__esModule",{value:!0});N.addHrTimes=N.isTimeInput=N.isTimeInputHrTime=N.hrTimeToMicroseconds=N.hrTimeToMilliseconds=Yr=N.hrTimeToNanoseconds=N.hrTimeToTimeStamp=N.hrTimeDuration=N.timeInputToHrTime=N.hrTime=N.getTimeOrigin=N.millisToHrTime=void 0;var en=BA,YA=9,Dm=6,bm=Math.pow(10,Dm),xr=Math.pow(10,YA);function ze(e){let r=e/1e3,t=Math.trunc(r),n=Math.round(e%1e3*bm);return[t,n]}N.millisToHrTime=ze;function bn(){let e=en.otperformance.timeOrigin;if(typeof e!="number"){let r=en.otperformance;e=r.timing&&r.timing.fetchStart}return e}N.getTimeOrigin=bn;function HA(e){let r=ze(bn()),t=ze(typeof e=="number"?e:en.otperformance.now());return FA(r,t)}N.hrTime=HA;function ym(e){if(yn(e))return e;if(typeof e=="number")return e<bn()?HA(e):ze(e);if(e instanceof Date)return ze(e.getTime());throw TypeError("Invalid input type")}N.timeInputToHrTime=ym;function gm(e,r){let t=r[0]-e[0],n=r[1]-e[1];return n<0&&(t-=1,n+=xr),[t,n]}N.hrTimeDuration=gm;function Um(e){let r=YA,t=`${"0".repeat(r)}${e[1]}Z`,n=t.substr(t.length-r-1);return new Date(e[0]*1e3).toISOString().replace("000Z",n)}N.hrTimeToTimeStamp=Um;function Vm(e){return e[0]*xr+e[1]}var Yr=N.hrTimeToNanoseconds=Vm;function Bm(e){return e[0]*1e3+e[1]/1e6}N.hrTimeToMilliseconds=Bm;function wm(e){return e[0]*1e6+e[1]/1e3}N.hrTimeToMicroseconds=wm;function yn(e){return Array.isArray(e)&&e.length===2&&typeof e[0]=="number"&&typeof e[1]=="number"}N.isTimeInputHrTime=yn;function Gm(e){return yn(e)||typeof e=="number"||e instanceof Date}N.isTimeInput=Gm;function FA(e,r){let t=[e[0]+r[0],e[1]+r[1]];return t[1]>=xr&&(t[1]-=xr,t[0]+=1),t}N.addHrTimes=FA;var rn=class{constructor(r){this.data={resourceSpans:[]},this.scopeSpansByResource=new Map,this.spansByResourceAndInstrumentation=new Map,r&&this.addSpans(r)}clear(){this.data={resourceSpans:[]},this.scopeSpansByResource.clear(),this.spansByResourceAndInstrumentation.forEach(function(r){r.clear()}),this.spansByResourceAndInstrumentation.clear()}getData(){return this.data}addSpan(r){this.getSpansFromMap(r).push(xm(r))}addSpans(r){for(let t=0,n=r.length;t<n;t++)this.addSpan(r[t])}getSpansFromMap(r){let t=this.spansByResourceAndInstrumentation.get(r.resource);t||(t=new Map,this.spansByResourceAndInstrumentation.set(r.resource,t));let n=t.get(r.instrumentationLibrary);return n||(n=[],t.set(r.instrumentationLibrary,n),this.getScopeSpansFormMap(r).push({scope:Object.assign({},r.instrumentationLibrary),spans:n})),n}getScopeSpansFormMap(r){let t=this.scopeSpansByResource.get(r.resource);if(!t){let n=gn(r.resource.attributes),a={};n&&n.length&&(a.attributes=n),t=[],this.scopeSpansByResource.set(r.resource,t),this.data.resourceSpans.push({resource:a,scopeSpans:t})}return t}};function gn(e){if(!e)return;let r=[];for(let t in e){let n=e[t];r.push({key:t,value:KA(n)})}return r}function KA(e){return e==null?{anyValue:e}:typeof e=="string"?{stringValue:e}:typeof e=="number"?{doubleValue:e}:typeof e=="boolean"?{booleanValue:e}:{arrayValue:{values:e.map(KA)}}}function xm(e){return{traceId:e.spanContext().traceId,spanId:e.spanContext().spanId,parentSpanId:e.parentSpanId,name:e.name,startTimeUnixNano:String(Yr(e.startTime)),endTimeUnixNano:e.ended?String(Yr(e.endTime)):void 0,ended:e.ended,kind:e.kind,events:e.events.map(Ym),links:e.links,status:e.status,droppedEventsCount:e.droppedEventsCount,droppedLinksCount:e.droppedLinksCount,attributes:gn(e.attributes)}}function Ym(e){return{timeUnixNano:Yr(e.time),name:e.name,attributes:gn(e.attributes),droppedAttributesCount:e.droppedAttributesCount}}function qA(e){let r=new rn(e),t=r.getData();return r.clear(),t}var tn=class{constructor(r){this.apiHost=r.apiHost,this.appToken=r.appToken}export(r,t){vm({apiHost:this.apiHost,apiUrl:"/api/otel/trace",queryParams:{crashToken:this.appToken,clientTimeUnixNano:Rm()},dataType:"json",data:qA(r)}),t({code:Ie.SUCCESS})}shutdown(){return this.forceFlush()}forceFlush(){return Promise.resolve()}},Un={};Object.defineProperty(Un,"__esModule",{value:!0});var jA=Un.BatchSpanProcessorBase=void 0,de=Dn,Ee=gA,nn=class{constructor(r,t){this._exporter=r,this._isExporting=!1,this._finishedSpans=[],this._droppedSpansCount=0;let n=(0,Ee.getEnv)();this._maxExportBatchSize=typeof(t==null?void 0:t.maxExportBatchSize)=="number"?t.maxExportBatchSize:n.OTEL_BSP_MAX_EXPORT_BATCH_SIZE,this._maxQueueSize=typeof(t==null?void 0:t.maxQueueSize)=="number"?t.maxQueueSize:n.OTEL_BSP_MAX_QUEUE_SIZE,this._scheduledDelayMillis=typeof(t==null?void 0:t.scheduledDelayMillis)=="number"?t.scheduledDelayMillis:n.OTEL_BSP_SCHEDULE_DELAY,this._exportTimeoutMillis=typeof(t==null?void 0:t.exportTimeoutMillis)=="number"?t.exportTimeoutMillis:n.OTEL_BSP_EXPORT_TIMEOUT,this._shutdownOnce=new Ee.BindOnceFuture(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(de.diag.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(r,t){}onEnd(r){this._shutdownOnce.isCalled||r.spanContext().traceFlags&de.TraceFlags.SAMPLED&&this._addToBuffer(r)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>this._exporter.shutdown())}_addToBuffer(r){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&de.diag.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(de.diag.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(r),this._maybeStartTimer()}_flushAll(){return new Promise((r,t)=>{let n=[],a=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let i=0,o=a;i<o;i++)n.push(this._flushOneBatch());Promise.all(n).then(()=>{r()}).catch(t)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((r,t)=>{let n=setTimeout(()=>{t(new Error("Timeout"))},this._exportTimeoutMillis);de.context.with((0,Ee.suppressTracing)(de.context.active()),()=>{let a;this._finishedSpans.length<=this._maxExportBatchSize?(a=this._finishedSpans,this._finishedSpans=[]):a=this._finishedSpans.splice(0,this._maxExportBatchSize);let i=()=>this._exporter.export(a,E=>{var s;clearTimeout(n),E.code===Ee.ExportResultCode.SUCCESS?r():t((s=E.error)!==null&&s!==void 0?s:new Error("BatchSpanProcessor: span export failed"))}),o=null;for(let E=0,s=a.length;E<s;E++){let T=a[E];T.resource.asyncAttributesPending&&T.resource.waitForAsyncAttributes&&(o!=null||(o=[]),o.push(T.resource.waitForAsyncAttributes()))}o===null?i():Promise.all(o).then(i,E=>{(0,Ee.globalErrorHandler)(E),t(E)})})})}_maybeStartTimer(){if(this._isExporting)return;let r=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(t=>{this._isExporting=!1,(0,Ee.globalErrorHandler)(t)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return r();this._timer===void 0&&(this._timer=setTimeout(()=>r(),this._scheduledDelayMillis),(0,Ee.unrefTimer)(this._timer))}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}};jA=Un.BatchSpanProcessorBase=nn;var an=class extends jA{onShutdown(){}},on=class{constructor(r){this.serviceName=r.serviceName||"tracer-js-sdk";let t=new nm({resource:new VA({[Mn]:this.serviceName}),spanLimits:r.spanLimits});t.addSpanProcessor(new an(new tn(r),{scheduledDelayMillis:5e3,exportTimeoutMillis:3e4,maxQueueSize:2048,maxExportBatchSize:512})),t.register({}),um({instrumentations:r.instrumentations}),this.provider=t}getProvider(){return this.provider}getTracer(){return this.provider.getTracer(this.serviceName)}destroy(){this.provider.forceFlush(),this.provider.shutdown()}};function Hm(){if(typeof window=="undefined")return{data:{},modules:{},version:"1.1.2"};let e="TracerSDK";return window[e]||(window[e]={data:{},modules:{},version:"1.1.2"}),window[e]}function Fm(e){let r=Hm().data;return r[e]||(r[e]={}),r[e]}function Km(e,r,t){let n=Fm(e);return n[r]||(n[r]=t()),n[r]}function XA(e){return Km(e.appToken,8,function(){return new on(e)})}var Ze=class{constructor(){this.spans=[]}getJsonData(){return qA(this.spans)}clear(){this.spans=[]}export(r,t){this.spans=this.spans.concat(r),t({code:Ie.SUCCESS})}shutdown(){return this.forceFlush()}forceFlush(){return Promise.resolve()}},Hr=class{constructor(r={}){this.disabled=!1,this.endedSpansExporter=r.endedSpansExporter,this.startedSpansExporter=r.startedSpansExporter}onStart(r,t){this.disabled||!this.startedSpansExporter||this.startedSpansExporter.export([r],this.onExport)}onEnd(r){this.disabled||!this.endedSpansExporter||this.endedSpansExporter.export([r],this.onExport)}onExport(r){}forceFlush(){return Promise.resolve()}shutdown(){return this.disabled=!0,Promise.resolve()}};var Vn=class e{constructor({name:r}){}log(r,t){}error(r,t){}critical(r,t){}createComponentTracer(r){return new e({name:r})}end(){}getFinishedSpans(){}getTraceId(){return this.fakeTraceId}},Bn=class e{constructor({name:r,parentContext:t,tracer:n}){this.childTracers=[];let a=!n;if(a){let o=XA({serviceName:"videoplayer-sdk-web",appToken:"L9SBoka6ZWk4xPjaK7tmfSfYvMhcge7nvGDjpdMmscb",spanLimits:{attributeCountLimit:1/0,eventCountLimit:1/0,attributePerEventCountLimit:1/0}}).getProvider(),E=new Ze,s=new Ze;this.spanExporter=E,o.addSpanProcessor(new Hr({startedSpansExporter:E,endedSpansExporter:s})),this.tracer=o.getTracer("sdk-videoplayer-tracer")}else this.tracer=n;this.span=this.tracer.startSpan(r,{root:a},t),this.context=qm.setSpan(jm.active(),this.span)}log(r,t){this.span.addEvent(r,ee(H({},t),{type:"log"}))}error(r,t){this.span.addEvent(r,ee(H({},t),{type:"error"}))}critical(r,t){this.span.addEvent(r,ee(H({},t),{type:"critical"}))}static createRootTracer(r=!1){return r?new e({name:"Root"}):new Vn({name:"Root"})}createComponentTracer(r){let t=new e({name:r,parentContext:this.context,tracer:this.tracer});return this.childTracers.push(t),t}end(){this.childTracers.forEach(r=>r.end()),this.span.end()}getFinishedSpans(){var r;return(r=this.spanExporter)==null?void 0:r.getJsonData()}getTraceId(){return this.span.spanContext().traceId}};function Xm(e,r='Assertion "value is not nullable" failed'){if(e==null)throw new Error(r)}function Wm(e,r='Assertion "value is nullable" failed'){if(e!=null)throw new Error(r)}function be(e){return typeof e!="undefined"&&e!==null}function wn(e){return e==null}function km(e,r){if(!(e!=null&&e.length))throw new Error(r)}function Qm(e,r){if(e!=null&&e.length)throw new Error(r)}var $m=(e,r,t)=>new Promise((n,a)=>{r.addEventListener("abort",()=>{E(),T.remove()});let i=()=>{E(),a()},o=()=>{E(),n()},E=()=>{s&&clearTimeout(s),T.removeEventListener("load",o),T.removeEventListener("error",i)},s;t&&(s=window.setTimeout(i,t));let T=document.createElement("script");T.addEventListener("load",o),T.addEventListener("error",i),T.src=e,document.head.appendChild(T)});var WA,zm=typeof((WA=window.performance)==null?void 0:WA.now)=="function"?()=>window.performance.now():()=>Date.now();var Zm=(e,r)=>(...t)=>Re(void 0,null,function*(){var o;let n=r(...t),a=e.aborted,i;for(;!a&&!e.aborted;)try{let E=yield n.next(i);a=(o=E.done)!=null?o:!1,i=E.value}catch(E){yield n.throw(E)}return i});var kA=()=>{var e,r;return/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test((e=navigator.appVersion)!=null?e:navigator.userAgent)||((r=navigator==null?void 0:navigator.userAgentData)==null?void 0:r.mobile)},Gn=class{constructor(){this.detect()}get browser(){return this._currentBrowser}get device(){return this._currentDevice}get isTouch(){return this._maxTouchPoints>0}get isIOS(){return["iPhone","iPad","iPod"].includes(this.device)}get isMac(){return this.device==="Mac"}get isApple(){return this.isIOS||this.isMac}get isIphoneOrOldIpad(){if(!this.isApple||!this.isTouch)return!1;let r=this.device==="iPad"||(window==null?void 0:window.screen.width)>700,t=this._iosVersion;return!r||r&&!!t&&t<16}get isAndroid(){return this.device==="Android"}get isMobile(){return this._isMobile}get iOSVersion(){return this._iosVersion}get macVersion(){return this._macVersion}get isYandex(){return this.browser==="Yandex"}get isSafari(){return this.browser==="Safari"}get isSamsungBrowser(){return this.browser==="SamsungBrowser"}get isHDR(){return this._isHdr}detect(){var n;let{userAgent:r,maxTouchPoints:t}=navigator;try{this._maxTouchPoints=t,this._isHdr=!!((n=matchMedia("(dynamic-range: high)"))!=null&&n.matches)}catch(a){console.error(a)}try{this._isMobile=kA()}catch(a){console.error(a)}this.detectBrowser(r),this.detectDevice(r),this.isIOS&&this.detectIOSVersion(),this.isMac&&this.detectMacVersion()}detectBrowser(r){try{let t=/yabrowser/i.test(r)?"Yandex":void 0,n=/samsungbrowser/i.test(r)?"SamsungBrowser":void 0,a=/chrome|crios/i.test(r)?"Chrome":void 0,i=/chromium/i.test(r)?"Chromium":void 0,o=/firefox|fxios/i.test(r)?"Firefox":void 0,E=/webkit|safari|khtml/i.test(r)?"Safari":void 0,s=/opr\//i.test(r)?"Opera":void 0,T=/edg/i.test(r)?"Edge":void 0;this._currentBrowser=t||n||o||s||T||a||i||E||"Rest"}catch(t){console.error(t)}}detectDevice(r){try{let t=/android/i.test(r)?"Android":void 0,n=/iphone/i.test(r)?"iPhone":void 0,a=/ipad/i.test(r)?"iPad":void 0,i=/ipod/i.test(r)?"iPod":void 0,o=/mac/i.test(r)?"Mac":void 0,E=/webOS|BlackBerry|IEMobile|Opera Mini/i.test(r)?"RestMobile":void 0;this._currentDevice=t||n||a||i||E||o||"Desktop"}catch(t){console.error(t)}}detectIOSVersion(){try{let{userAgent:r}=window.navigator,t=r.match(/Version\/(\d+(\.\d+)?)/i);if(!t)return;let n=t[1],a=parseFloat(n);if(isNaN(a))return;this._iosVersion=a}catch(r){console.error(r)}}detectMacVersion(){try{let{userAgent:r}=window.navigator,t=r.match(/Version\/(\d+)/);if(!t)return;let n=t[1],a=parseInt(n,10);if(isNaN(a))return;this._macVersion=a}catch(r){console.error(r)}}},Jm=new Gn;var eD=(e,{start:r=0,factor:t=2,max:n=1/0,min:a=r,random:i=0}={})=>{let o=r;return o*=Ei(t,e),o*=1+(Math.random()*i*2-i),o=Math.round(o),o=Math.min(o,n),o=Math.max(o,a),o};var Yn={};ER(Yn,{clear:()=>oD,get:()=>tD,has:()=>aD,isPersistent:()=>rD,remove:()=>iD,set:()=>nD});var C,ce,xn=`vk-videoplayer-dummy-key-${Math.random()}`,ye=()=>{if(ce!==void 0)return ce;try{localStorage.setItem(xn,"test"),localStorage.removeItem(xn),ce=0}catch(e){if(e instanceof DOMException||e instanceof TypeError)try{sessionStorage.getItem(xn),ce=1}catch(r){if(r instanceof DOMException||r instanceof TypeError)ce=2;else throw r}else throw e}return ce===2&&(C=new Map),ce},rD=()=>ye()===0,tD=e=>{var t,n;let r=ye();switch(r){case 0:return(t=localStorage.getItem(e))!=null?t:void 0;case 1:return(n=sessionStorage.getItem(e))!=null?n:void 0;case 2:return C==null?void 0:C.get(e);default:X(r)}},nD=(e,r)=>{let t=ye();switch(t){case 0:try{localStorage.setItem(e,r)}catch(n){if(n instanceof DOMException)console.error(n);else throw n}break;case 1:try{sessionStorage.setItem(e,r)}catch(n){if(n instanceof DOMException)console.error(n);else throw n}break;case 2:return void(C==null?void 0:C.set(e,r));default:X(t)}},aD=e=>{var t;let r=ye();switch(r){case 0:return e in localStorage;case 1:return e in sessionStorage;case 2:return(t=C==null?void 0:C.has(e))!=null?t:!1;default:return X(r),!1}},iD=e=>{let r=ye();switch(r){case 0:return localStorage.removeItem(e);case 1:return sessionStorage.removeItem(e);case 2:return void(C==null?void 0:C.delete(e));default:X(r)}},oD=()=>{let e=ye();switch(e){case 0:return localStorage.clear();case 1:return sessionStorage.clear();case 2:return C==null?void 0:C.clear();default:X(e)}};var ED=()=>{let e,r;try{e=window.self!==window.top}catch(n){n instanceof DOMException&&n.name==="SecurityError"?e=!0:(e=!1,console.error(n))}try{window.location.ancestorOrigins&&(r=window.location.ancestorOrigins[window.location.ancestorOrigins.length-1])}catch(n){console.error(n)}try{!r&&document.referrer&&(r=document.referrer)}catch(n){console.error(n)}let t=r?new URL(r).hostname:void 0;return{isEmbed:e,host:t}};var Hn=(S=>(S.INVARIANT="Invariant quality",S.Q_144P="144p",S.Q_240P="240p",S.Q_360P="360p",S.Q_480P="480p",S.Q_720P="720p",S.Q_1080P="1080p",S.Q_1440P="1440p",S.Q_2160P="2160p",S.Q_4320P="4320p",S))(Hn||{});var V={"144p":{width:256,height:144},"240p":{width:428,height:240},"360p":{width:640,height:360},"480p":{width:856,height:480},"720p":{width:1280,height:720},"1080p":{width:1920,height:1080},"1440p":{width:2560,height:1440},"2160p":{width:3840,height:2160},"4320p":{width:7680,height:4320}},sD=(e,r)=>V[e].height>V[r].height,TD=(e,r)=>V[e].height>=V[r].height,Fn=(e,r)=>V[e].height<V[r].height,_D=(e,r)=>V[e].height<=V[r].height,SD=e=>e.sort((r,t)=>r===t?0:r==="Invariant quality"?1:t==="Invariant quality"?-1:Fn(r,t)?1:-1)[0],QA=Object.keys(V).sort((e,r)=>Fn(e,r)?-1:1),uD=(e,r=.02)=>[...QA].find(n=>V[n].height*(1+r)>=e),AD=({width:e,height:r})=>{let t=Math.min(e,r),n=Math.max(e,r);return QA.find(a=>{let i=V[a];return i.width>=n&&i.height>=t})},cD=e=>V[e].height,Kn=e=>e==="Invariant quality",lD=e=>e.every(r=>!Kn(r));function OD(e){if(Kn(e))throw new Error("Expected exact quality")}var fD=(e,r)=>{let t={};for(let n of Object.keys(r)){let a=r[n],i=e[n];Array.isArray(a)&&Array.isArray(i)?t[n]=i:typeof a=="object"&&typeof i=="object"?t[n]=fD(i,a):t[n]=n in e?i:a}return t};var OB=e=>{let r="";return e>=3600&&(r+=Math.floor(e/3600)+"h",e=e%3600),e>=60&&(r+=Math.floor(e/60)+"m",e=e%60),e>0&&(r+=Math.floor(e)+"s"),r};function qn(e,r=0,t){let n,a,i,o,E,s,T=0,S=!1,u=!1,A=!0,l=!r&&r!==0&&typeof window.requestAnimationFrame=="function";t&&(S=!!t.leading,u="maxWait"in t,i=t!=null&&t.maxWait?Math.max(+(t==null?void 0:t.maxWait)||0,r):i,A="trailing"in t?!!t.trailing:A);function R(P){let w=n,ae=a;return n=a=void 0,T=P,o=e.apply(ae,w),o}function M(P,w){return l?(E&&window.cancelAnimationFrame(E),window.requestAnimationFrame(P)):setTimeout(P,w)}function c(P){if(l){window.cancelAnimationFrame(P);return}clearTimeout(P)}function O(P){return T=P,E=M(I,r),S?R(P):o}function p(P){let w=P-s,ae=P-T,ni=r-w;return u?Math.min(ni,i-ae):ni}function d(P){let w=P-s,ae=P-T;return s===void 0||w>=r||w<0||u&&ae>=i}function I(){let P=Date.now();if(d(P))return B(P);E=M(I,p(P))}function B(P){return E=void 0,A&&n?R(P):(n=a=void 0,o)}function lr(){E!==void 0&&c(E),T=0,n=s=a=E=void 0}function Zf(){return E===void 0?o:B(Date.now())}function Jf(){return E!==void 0}function Or(...P){let w=Date.now(),ae=d(w);if(n=P,a=this,s=w,ae){if(E===void 0)return O(s);if(u)return E=M(I,r),R(s)}return E===void 0&&(E=M(I,r)),o}return Or.cancel=lr,Or.flush=Zf,Or.pending=Jf,Or}var jn=(e,r=0,t)=>qn(e,r,ee(H(H({},{leading:!0,trailing:!0}),t),{maxWait:r}));var rt=(e,r)=>{if(e===null||typeof e!="object")return e;let t=Array.isArray(e)?[]:{};for(let n in e){if(typeof r=="function"){let a=r(e[n],n,e,t);if(a!==void 0){t[n]=a;continue}}typeof e[n]=="object"?t[n]=rt(e[n],r):t[n]=e[n]}return t};var RD=e=>rt(e);var pD=300,vD=(e,r=pD)=>new f(t=>{let{width:n,height:a}=e.getBoundingClientRect();if(t.next({width:n,height:a}),!window.ResizeObserver)return;let i=new ResizeObserver(jn(o=>{let E=o[0];if(!E)return;let s,T;E.contentBoxSize&&E.contentBoxSize[0]?(T=E.contentBoxSize[0].blockSize,s=E.contentBoxSize[0].inlineSize):E.contentRect&&(s=E.contentRect.width,T=E.contentRect.height),be(s)&&be(T)&&t.next({width:s,height:T})},r));return i.observe(e),()=>i.disconnect()});var tt=(e,r=6,t=".")=>{let n={};for(let a in e)if(e.hasOwnProperty(a))if(typeof e[a]=="object"&&e[a]!==null&&r){let i=tt(e[a],r-1);for(let o in i)i.hasOwnProperty(o)&&(n[a+t+o]=i[o])}else n[a]=e[a];return n};var dD=e=>{e.removeAttribute("src"),e.load()};var ND=e=>r=>t=>{let n=typeof t=="object";t==null||n&&!Object.keys(t).length||e(r,n?tt(t):{value:t})};var nt=class extends re{constructor(r){super(),this.value=r}next(r){super.next(this.value=r)}error(r){super.error(this.value=r)}getValue(){return this.value}_subscribe(r){let t=super._subscribe(r);return r.next(this.value),t}};function $A(e){return new f(r=>{let t={},n=Object.keys(e).length,a=i=>o=>{i in t||n--,t[i]=o,n===0&&r.next(t)};return Object.entries(e).reduce((i,[o,E])=>i.add(E.subscribe(a(o))),new g)})}function zA(...e){return new f(r=>e.reduce((t,n)=>t.add(n.subscribe(r)),new g))}var PD=e=>new f(r=>{let t=window.setTimeout(()=>{try{r.next()}catch(n){if(r.error)r.error(n);else throw n}},e);return()=>window.clearTimeout(t)});var MD=e=>new f(r=>{let t=window.setInterval(()=>r.next(),e);return()=>{t&&(window.clearInterval(t),t=void 0)}});var LD=e=>new f(r=>{e.forEach(t=>r.next(t))});var ID=(e,r)=>new f(t=>{let n=a=>t.next(a);return e.addEventListener(r,n),()=>e.removeEventListener(r,n)});function ZA(e){return r=>new f(t=>r.subscribe(new Xn(t,e)))}var Xn=class{constructor(r,t){this.destination=r;this.size=t;this.lastValues=[]}next(r){this.lastValues.length===this.size&&this.lastValues.shift(),this.lastValues.push(r),this.destination.next(this.lastValues)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};var hD={leading:!1,trailing:!0};function JA(e,r=hD){return t=>new f(n=>t.subscribe(new Wn(n,e,r)))}var Wn=class{constructor(r,t,n){this.destination=r;this.time=t;this.config=n}next(r){this.lastValue=r,be(this.timeout)?window.clearTimeout(this.timeout):this.config.leading&&this.destination.next(r),this.timeout=window.setTimeout(()=>{if(this.config.trailing)try{this.destination.next(this.lastValue)}catch(t){if(this.destination.error)this.destination.error(t);else throw t}this.timeout=void 0},this.time)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};var CD={leading:!0,trailing:!1};function ec(e,r=CD){return t=>new f(n=>t.subscribe(new kn(n,e,r)))}var kn=class{constructor(r,t,n){this.destination=r;this.time=t;this.config=n}next(r){this.lastValue=r,wn(this.timeout)&&(this.config.leading&&this.destination.next(r),this.timeout=window.setTimeout(()=>{this.config.trailing&&this.destination.next(this.lastValue),this.timeout=void 0},this.time))}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};function rc(e){return r=>new f(t=>r.subscribe(new Qn(t,e)))}var Qn=class{constructor(r,t){this.destination=r;this.predicate=t}next(r){let t;try{t=this.predicate(r)}catch(n){throw this.error(n),n}t&&this.destination.next(r)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};function nc(e=(r,t)=>r===t){return r=>new f(t=>r.subscribe(new $n(t,e)))}var tc={},$n=class{constructor(r,t){this.destination=r;this.predicate=t;this.lastValue=tc}next(r){let t;try{t=this.lastValue===tc||!this.predicate(this.lastValue,r),this.lastValue=r}catch(n){throw this.error(n),n}t&&this.destination.next(r)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};function at(e){return r=>new f(t=>r.subscribe(new zn(t,e)))}var zn=class{constructor(r,t){this.destination=r;this.mapper=t}next(r){let t;try{t=this.mapper(r)}catch(n){throw this.error(n),n}this.destination.next(t)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};function ac(e){return at(()=>e)}function ic(){return e=>new f(r=>{let t=!1,n=!1,a=e.subscribe(i=>{t||(t=!0,r.next(i)),n&&a.unsubscribe()},i=>{var o;t=!0,(o=r.error)==null||o.call(r,i),n&&a.unsubscribe()});return n=!0,t&&a.unsubscribe(),a})}function oc(){return e=>new f(r=>e.subscribe(new Zn(r)))}var Zn=class{constructor(r){this.destination=r;this.hasLast=!1}next(r){let t=this.last;if(this.last=r,!this.hasLast){this.hasLast=!0;return}this.destination.next([t,r])}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};function Ec(e){return r=>new f(t=>r.subscribe(new Jn(t,e)))}var Jn=class{constructor(r,t){this.destination=r;this.effect=t}next(r){try{this.effect(r)}catch(t){throw this.error(t),t}this.destination.next(r)}error(r){var t,n;(n=(t=this.destination).error)==null||n.call(t,r)}};var mD=(E=>(E.NETWORK="network",E.VIDEO_PIPELINE="video_pipeline",E.EXTERNAL_API="external_api",E.PARSER="parser",E.DOM="dom",E.WTF="wtf",E.FATAL="fatal",E))(mD||{});var it=class{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(r,t,n){r in this.listeners||(this.listeners[r]=[]),this.listeners[r].push({callback:t,options:n})}removeEventListener(r,t){if(!(r in this.listeners))return;let n=this.listeners[r];for(let a=0,i=n.length;a<i;a++)if(n[a].callback===t){n.splice(a,1);return}}dispatchEvent(r){if(!(r.type in this.listeners))return;let n=this.listeners[r.type].slice();for(let a=0,i=n.length;a<i;a++){let o=n[a];try{o.callback.call(this,r)}catch(E){Promise.resolve().then(()=>{throw E})}o.options&&o.options.once&&this.removeEventListener(r.type,o.callback)}return!r.defaultPrevented}},ge=class extends it{constructor(){super(),this.listeners||it.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(r){r.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,r)),super.dispatchEvent(r)}},nr=class{constructor(){Object.defineProperty(this,"signal",{value:new ge,writable:!0,configurable:!0})}abort(r){let t;try{t=new Event("abort")}catch(a){typeof document!="undefined"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=r;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(a){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(nr.prototype[Symbol.toStringTag]="AbortController",ge.prototype[Symbol.toStringTag]="AbortSignal");function ot(e){return e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof e.Request=="function"&&!e.Request.prototype.hasOwnProperty("signal")||!e.AbortController}function ea(e){typeof e=="function"&&(e={fetch:e});let{fetch:r,Request:t=r.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:a=!1}=e;if(!ot({fetch:r,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:a}))return{fetch:r,Request:i};let i=t;(i&&!i.prototype.hasOwnProperty("signal")||a)&&(i=function(T,S){let u;S&&S.signal&&(u=S.signal,delete S.signal);let A=new t(T,S);return u&&Object.defineProperty(A,"signal",{writable:!1,enumerable:!1,configurable:!0,value:u}),A},i.prototype=t.prototype);let o=r;return{fetch:(s,T)=>{let S=i&&i.prototype.isPrototypeOf(s)?s.signal:T?T.signal:void 0;if(S){let u;try{u=new DOMException("Aborted","AbortError")}catch(l){u=new Error("Aborted"),u.name="AbortError"}if(S.aborted)return Promise.reject(u);let A=new Promise((l,R)=>{S.addEventListener("abort",()=>R(u),{once:!0})});return T&&T.signal&&delete T.signal,Promise.race([A,o(s,T)])}return o(s,T)},Request:i}}var ar=ot({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),sc=ar?ea({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,Tc=ar?sc.fetch:window.fetch,PG=ar?sc.Request:window.Request,MG=ar?nr:window.AbortController,LG=ar?ge:window.AbortSignal;var zf=TR($f(),1);var pV=(u=>(u.Armenian="58",u.Azerbaijani="57",u.Belarusian="114",u.English="3",u.Kazakh="97",u.Portuguese="73",u.Russian="0",u.Spanish="4",u.Ukrainian="1",u.Uzbek="65",u.Vietnamese="75",u))(pV||{}),vV="vk.com",f0=(e,r,t)=>Re(void 0,null,function*(){let n=new URL(`https://${vV}/js/lang-pack.js`);n.searchParams.set("format","json"),n.searchParams.set("name",r),e!==void 0&&n.searchParams.set("lang",e);let i=yield(yield Tc(n.toString())).json();return dV(i,t)}),dV=(e,r)=>(0,zf.default)(Object.entries(e.keys).map(([t,n])=>[t.substring(`${r}_`.length),NV(n)])),NV=e=>Array.isArray(e)?e[0]:e;var PV=(t=>(t.RU="ru",t.EN="en",t))(PV||{});export{mD as ErrorCategory,PV as InterfaceLanguage,bt as Logger,f as Observable,re as Subject,g as Subscription,Bn as Tracer,_R as VERSION,pV as VKNumericLanguage,nt as ValueSubject,Hn as VideoQuality,Zm as abortable,$m as addScript,lD as areQualitiesExact,Qm as assertEmptyArray,X as assertNever,Xm as assertNonNullable,km as assertNotEmptyArray,Wm as assertNullable,OD as assertQualityIsExact,ZA as buffer,SR as checkNever,dD as clearVideoElement,Jm as clientChecker,RD as cloneDeep,rt as cloneDeepWith,$A as combine,JA as debounce,qn as debounceFn,ED as detectEmbed,fD as fillWithDefault,rc as filter,nc as filterChanged,tt as flattenObject,ID as fromEvent,eD as getExponentialDelay,SD as getHighestQuality,ND as getTraceSubscriptionMethod,MD as interval,sD as isHigher,TD as isHigherOrEqual,Kn as isInvariantQuality,Fn as isLower,_D as isLowerOrEqual,kA as isMobile,be as isNonNullable,wn as isNullable,f0 as loadVKLangPack,at as map,ac as mapTo,zA as merge,ie as noop,zm as now,LD as observableFrom,vD as observeElementSize,ic as once,oc as pairwise,Yn as safeStorage,Ec as tap,ec as throttle,jn as throttleFn,OB as timeCodeToString,PD as timeout,uD as videoHeightToQuality,cD as videoQualityToHeight,AD as videoSizeToQuality};
|