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