@webitel/ui-sdk 25.10.64 → 25.10.66

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/dist/ui-sdk.js CHANGED
@@ -1,4 +1,4 @@
1
- import { W as f } from "./install-BsLZwXoY.js";
1
+ import { W as f } from "./install-CW8oHjb5.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3151,7 +3151,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3151
3151
  data-part="track-fill"
3152
3152
  ></circle>
3153
3153
  </svg>
3154
- `}}F(eL,"tagName","media-spinner");class tL extends ct{}F(tL,"props",{when:!1});class oL extends dt(HTMLElement,tL){constructor(){super(...arguments);P(this,Y4);P(this,em)}onSetup(){N(this,em,Et())}onConnect(){ue(C(this,Y4,nK).bind(this))}}em=new WeakMap,Y4=new WeakSet,nK=function(){const n=this.firstElementChild,a=(n==null?void 0:n.localName)==="template",l=this.$props.when();if(!(WR(l)?l:Pa(()=>l(b(this,em).player.state))())){a?(this.textContent="",this.appendChild(n)):qd(n)&&(n.style.display="none");return}a?this.append(n.content.cloneNode(!0)):qd(n)&&(n.style.display="")},F(oL,"tagName","media-layout");class iL extends dt(HTMLElement,sB){}F(iL,"tagName","media-google-cast-button");class nL extends dt(HTMLElement,lB){}F(nL,"tagName","media-toggle-button");class aL extends dt(HTMLElement,L8e){}F(aL,"tagName","media-tooltip");class rL extends dt(HTMLElement,P8e){onConnect(){this.style.display="contents"}}F(rL,"tagName","media-tooltip-trigger");class lL extends dt(HTMLElement,rB){}F(lL,"tagName","media-tooltip-content");class F7 extends dt(HTMLElement,iB){}F(F7,"tagName","media-menu-portal"),F(F7,"attrs",{disabled:{converter(o){return Qe(o)?o:o!==null}}});class sL extends dt(HTMLElement,z1){onConnect(){eu(this,(o,n)=>{const{cue:a,startTime:l,duration:s}=n,d=o.querySelector(".vds-thumbnail,media-thumbnail"),p=o.querySelector('[data-part="start-time"]'),h=o.querySelector('[data-part="duration"]');p&&(p.textContent=l),h&&(h.textContent=s),d&&(d.setAttribute("time",a.startTime+""),ue(()=>{const m=this.$props.thumbnails();"src"in d?d.src=m:Qe(m)&&d.setAttribute("src",m)}))})}}F(sL,"tagName","media-chapters-radio-group");class cL extends dt(HTMLElement,L7){onConnect(){eu(this)}}F(cL,"tagName","media-audio-gain-radio-group");class dL extends dt(HTMLElement,_7){}F(dL,"tagName","media-radio-group");class pL extends dt(HTMLElement,zd){}F(pL,"tagName","media-slider");const o7e=Z8('<video muted playsinline preload="none" style="max-width: unset;"></video>');class uL extends dt(HTMLElement,Ob){constructor(){super(...arguments);P(this,X4);P(this,tm);P(this,fs,C(this,X4,aK).call(this))}onSetup(){N(this,tm,Et()),this.$state.video.set(b(this,fs))}onConnect(){const{canLoad:n}=b(this,tm).$state,{src:a,crossOrigin:l}=this.$state;b(this,fs).parentNode!==this&&this.prepend(b(this,fs)),ue(()=>{Ke(b(this,fs),"crossorigin",l()),Ke(b(this,fs),"preload",n()?"auto":"none"),Ke(b(this,fs),"src",a())})}}tm=new WeakMap,fs=new WeakMap,X4=new WeakSet,aK=function(){return Y8(o7e)},F(uL,"tagName","media-slider-video");class hL extends dt(HTMLElement,A7){}F(hL,"tagName","media-audio-gain-slider");class fL extends dt(HTMLElement,O7){}F(fL,"tagName","media-speed-slider");class mL extends dt(HTMLElement,D7){}F(mL,"tagName","media-quality-slider");class bL extends dt(HTMLElement,R7){constructor(){super(...arguments);P(this,Q4);P(this,y2,null)}onConnect(){Dl(()=>{if(!this.connectScope)return;const n=this.querySelector("template");n&&(N(this,y2,n),ue(C(this,Q4,rK).bind(this)))})}}y2=new WeakMap,Q4=new WeakSet,rK=function(){if(!b(this,y2))return;const n=G8(b(this,y2),this.cues.length||1);this.setRefs(n)},F(bL,"tagName","media-slider-chapters");class i7e extends ct{}class gL extends dt(HTMLElement,i7e){constructor(){super(...arguments);P(this,J4);P(this,Zp,null)}onConnect(n){Dl(()=>{this.connectScope&&(N(this,Zp,n.querySelector("template")),b(this,Zp)&&ue(C(this,J4,lK).bind(this)))})}}Zp=new WeakMap,J4=new WeakSet,lK=function(){if(!b(this,Zp))return;const{min:n,max:a,step:l}=W0(Vd),s=(a()-n())/l();G8(b(this,Zp),Math.floor(s)+1)},F(gL,"tagName","media-slider-steps");class V7 extends ct{constructor(){super(...arguments);P(this,ho);P(this,xa);P(this,om,"")}onSetup(){N(this,xa,Et()),C(this,ho,bk).call(this),C(this,ho,gk).call(this),C(this,ho,yk).call(this),C(this,ho,mk).call(this)}onAttach(n){n.style.setProperty("pointer-events","none"),ue(C(this,ho,dK).bind(this)),ue(C(this,ho,bk).bind(this)),ue(C(this,ho,gk).bind(this)),ue(C(this,ho,yk).bind(this)),ue(C(this,ho,mk).bind(this));const{started:a}=b(this,xa).$state;this.setAttributes({"data-visible":()=>!a()&&!this.$state.hidden(),"data-loading":C(this,ho,cK).bind(this),"data-error":C(this,ho,fk).bind(this),"data-hidden":this.$state.hidden})}onConnect(n){ue(C(this,ho,sK).bind(this)),ue(C(this,ho,pK).bind(this))}}xa=new WeakMap,ho=new WeakSet,fk=function(){const{error:n}=this.$state;return!Ir(n())},sK=function(){const{canLoadPoster:n,poster:a}=b(this,xa).$state;!n()&&a()&&Al(a(),"preconnect")},mk=function(){const{src:n}=this.$props,{poster:a,nativeControls:l}=b(this,xa).$state;this.el&&Ke(this.el,"display",l()?"none":null),this.$state.hidden.set(C(this,ho,fk).call(this)||!(n()||a())||l())},cK=function(){const{loading:n,hidden:a}=this.$state;return!a()&&n()},dK=function(){const n=this.$state.img();n&&(new po(n).add("load",C(this,ho,wk).bind(this)).add("error",C(this,ho,uK).bind(this)),n.complete&&C(this,ho,wk).call(this))},om=new WeakMap,bk=function(){const{poster:n}=b(this,xa).$props,{canLoadPoster:a,providedPoster:l,inferredPoster:s}=b(this,xa).$state,d=this.$props.src()||"",p=d||n()||s();b(this,om)===l()&&l.set(d),this.$state.src.set(a()&&p.length?p:null),N(this,om,d)},gk=function(){const{src:n}=this.$props,{alt:a}=this.$state,{poster:l}=b(this,xa).$state;a.set(n()||l()?this.$props.alt():null)},yk=function(){const{crossOrigin:n}=this.$props,{crossOrigin:a}=this.$state,{crossOrigin:l,poster:s}=b(this,xa).$state,d=n()!==null?n():l();a.set(/ytimg\.com|vimeo/.test(s()||"")?null:d===!0?"anonymous":d)},pK=function(){const{loading:n,error:a}=this.$state,{canLoadPoster:l,poster:s}=b(this,xa).$state;n.set(l()&&!!s()),a.set(null)},wk=function(){const{loading:n,error:a}=this.$state;n.set(!1),a.set(null)},uK=function(n){const{loading:a,error:l}=this.$state;a.set(!1),l.set(n)},F(V7,"props",{src:null,alt:null,crossOrigin:null}),F(V7,"state",new Ps({img:null,src:null,alt:null,crossOrigin:null,loading:!0,error:null,hidden:!1}));class z7 extends dt(HTMLElement,V7){constructor(){super(...arguments);P(this,nl,document.createElement("img"))}onSetup(){this.$state.img.set(b(this,nl))}onConnect(){const{src:n,alt:a,crossOrigin:l}=this.$state;ue(()=>{const{loading:s,hidden:d}=this.$state;b(this,nl).style.display=s()||d()?"none":""}),ue(()=>{Ke(b(this,nl),"alt",a()),Ke(b(this,nl),"crossorigin",l()),Ke(b(this,nl),"src",n())}),b(this,nl).parentNode!==this&&this.prepend(b(this,nl))}}nl=new WeakMap,F(z7,"tagName","media-poster"),F(z7,"attrs",{crossOrigin:"crossorigin"}),rt(oL),rt(GB),rt(ZB),rt(z7),rt(WB),rt(aL),rt(rL),rt(lL),rt(DB),rt(AB),rt(IB),rt(TB),rt(OB),rt(RB),rt(SB),rt(iL),rt(nL),rt(pL),rt(hL),rt(UB),rt(VB),rt(fL),rt(mL),rt(bL),rt(gL),rt(zB),rt(q7),rt(FB),rt(uL),rt(LB),rt(PB),rt(F7),rt(MB),rt($B),rt(_B),rt(BB),rt(NB),rt(cL),rt(jB),rt(sL),rt(dL),rt(qB),rt(KB),rt(Bb),rt(HB),rt(EB),rt(xB),rt(YB),rt(QB),rt(eL);const n7e={class:"screen-sharing-control-panel__actions"},a7e={key:0,class:"screen-sharing-control-panel__indicator"},r7e={class:"screen-sharing-control-panel__time"},l7e=Me(c.defineComponent({__name:"screen-sharing-control-panel",props:{session:{}},emits:["close-session"],setup(i,{emit:o}){const n=i,a=o,{size:l}=c.inject("size"),s=c.ref(null),d=c.computed(()=>n.session.recordings?"record-stop":"record-start"),p=x=>{switch(x){case"done":return"screenshot-done";case"error":return"screenshot-false";default:return"screenshot"}},h=c.computed(()=>p(s.value)),m=c.computed(()=>n.session.recordings),y=c.ref(0),w=c.ref(null);function v(){y.value=0,k(),w.value=window.setInterval(()=>{y.value++},1e3)}function k(){w.value!==null&&(clearInterval(w.value),w.value=null)}const A=()=>{m.value?n.session.stopRecord():n.session.startRecord()},E=async()=>{try{await n.session.screenshot(),T("done")}catch{T("error")}},T=x=>{s.value=x,setTimeout(()=>{s.value=null},2e3)},I=()=>{n.session.close(),a("close-session")};return c.onUnmounted(()=>{k()}),c.watch(m,x=>{x?v():k()}),(x,R)=>{const D=c.resolveComponent("wt-button"),_=c.resolveComponent("wt-indicator");return c.openBlock(),c.createElementBlock("media-controls-group",{class:c.normalizeClass(["screen-sharing-control-panel",`screen-sharing-control-panel--${c.unref(l)}`])},[c.createElementVNode("div",n7e,[c.createVNode(D,{rounded:"","contains-icon":"",variant:"outlined",color:"secondary",size:c.unref(l),icon:h.value,onClick:E},null,8,["size","icon"]),c.createVNode(D,{rounded:"","contains-icon":"",variant:"outlined",color:"secondary",size:c.unref(l),icon:d.value,onClick:A},null,8,["size","icon"]),c.createVNode(D,{icon:"sharing-end",class:"screen-sharing-control-panel__sharing-end",color:"error",variant:"outlined",size:c.unref(l),rounded:"","contains-icon":"",onClick:I},null,8,["size"])]),m.value?(c.openBlock(),c.createElementBlock("div",a7e,[c.createVNode(_,{color:"error",size:"md"}),c.createElementVNode("span",r7e,c.toDisplayString(c.unref(KO)(y.value)),1)])):c.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-5fe4e281"]]),s7e=["disabled"],c7e=Me(c.defineComponent({__name:"toggle-button",props:{primaryIcon:{},secondaryIcon:{},color:{},disabled:{type:Boolean}},emits:["toggle"],setup(i,{emit:o}){const n=i,a=c.useTemplateRef("toggleButton"),l=o,s=()=>{n.disabled||l("toggle",a.value.pressed)};return(d,p)=>(c.openBlock(),c.createElementBlock("media-toggle-button",{ref_key:"toggleButton",ref:a,class:"toggle-button",disabled:n.disabled,onClick:s},[c.createVNode(Ad,{icon:n.primaryIcon,color:n.color,disabled:n.disabled,class:"toggle-button__primary"},null,8,["icon","color","disabled"]),c.createVNode(Ad,{icon:n.secondaryIcon,color:n.color,disabled:n.disabled,class:"toggle-button__secondary"},null,8,["icon","color","disabled"])],8,s7e))}}),[["__scopeId","data-v-f1a807ee"]]),d7e=Me(c.defineComponent({__name:"fullscreen-button",emits:["toggle"],setup(i,{emit:o}){const n=o;return(a,l)=>(c.openBlock(),c.createElementBlock("media-fullscreen-button",{class:"fullscreen-button",onMediaEnterFullscreenRequest:l[0]||(l[0]=s=>n("toggle",!0)),onMediaExitFullscreenRequest:l[1]||(l[1]=s=>n("toggle",!1))},[c.createVNode(Ad,{icon:"player-enter-fullscreen",color:"on-dark",class:"fullscreen-button__enter"}),c.createVNode(Ad,{icon:"player-exit-fullscreen",color:"on-dark",class:"fullscreen-button__exit"})],32))}}),[["__scopeId","data-v-969523ca"]]),p7e={class:"video-display-panel__title"},u7e={class:"video-display-panel__controls"},h7e=Me(c.defineComponent({__name:"video-display-panel",props:{title:{},username:{},closable:{type:Boolean}},emits:["close"],setup(i,{emit:o}){const{size:n,changeSize:a}=c.inject("size"),l=i,s=o,d=h=>{a(h?Kt.LG:Kt.SM)},p=h=>{a(h?Kt.MD:Kt.SM)};return(h,m)=>(c.openBlock(),c.createElementBlock("media-controls-group",{class:c.normalizeClass(["video-display-panel controls-group",`video-display-panel--${c.unref(n)}`])},[c.createElementVNode("div",p7e,[l.username?(c.openBlock(),c.createBlock(bA,{key:0,username:l.username,size:"sm"},null,8,["username"])):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(l.title||l.username),1)]),c.createElementVNode("div",u7e,[c.unref(n)!==c.unref(Kt).LG?(c.openBlock(),c.createBlock(c7e,{key:0,"primary-icon":"collapse","secondary-icon":"expand",color:"on-dark",onToggle:p})):c.createCommentVNode("",!0),c.createVNode(d7e,{onToggle:d}),l.closable?(c.openBlock(),c.createBlock(Ad,{key:1,icon:"close",color:"on-dark",onClick:m[0]||(m[0]=y=>s("close"))})):c.createCommentVNode("",!0)])],2))}}),[["__scopeId","data-v-d21a18a1"]]),f7e={key:0},m7e=Me(c.defineComponent({__name:"video-layout",props:{title:{},username:{},closable:{type:Boolean},mode:{},session:{}},emits:["close-player","close-session"],setup(i,{emit:o}){const{size:n}=c.inject("size"),a=i,l=o;return(s,d)=>(c.openBlock(),c.createElementBlock("media-controls",{class:c.normalizeClass(["video-layout controls",`video-layout--${c.unref(n)}`])},[c.createVNode(h7e,{title:a.title,username:a.username,closable:a.closable,onClose:d[0]||(d[0]=p=>l("close-player"))},null,8,["title","username","closable"]),c.createVNode(TO,{size:"sm",color:"on-dark"}),a.mode==="media"?(c.openBlock(),c.createElementBlock("media-control-panel",f7e)):c.createCommentVNode("",!0),a.mode==="stream"?(c.openBlock(),c.createBlock(l7e,{key:1,session:a.session,onCloseSession:d[1]||(d[1]=p=>l("close-session"))},null,8,["session"])):c.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-e0267b09"]]),b7e=["src","autoplay","muted"],yL={WtActionBar:m0e,WtImage:xO,WtEmpty:Sme,WtLogo:I3e,WtAvatar:bA,WtBadge:pue,WtIcon:SO,WtIndicator:n3e,WtInputInfo:wO,WtButton:fue,WtChip:gA,WtConfirmDialog:Cue,WtDivider:tme,WtTooltip:Cye,WtLabel:IO,WtLoader:TO,WtRoundedAction:u4e,WtReplaceTransition:d0e,WtCheckbox:I9,WtDatepicker:eme,WtIconBtn:Ad,WtInput:l3e,WtIntersectionObserver:s3e,WtHint:Jme,WtNotification:ibe,WtPopup:a4e,WtProgressBar:s4e,WtRadio:p4e,WtSearchBar:g4e,WtSelect:age,WtSlider:rge,WtSwitcher:yge,WtTabs:Nge,WtTagsInput:k5e,WtTimeInput:B5e,WtTimepicker:M5e,WtTextarea:A5e,WtAppHeader:w0e,WtHeadline:Yme,WtBreadcrumb:uue,WtNavigationBar:J3e,WtAppNavigator:F0e,WtFiltersPanelWrapper:Ume,WtHeaderActions:tue,WtErrorPage:Lme,WtNotificationsBar:hbe,WtPageWrapper:Cbe,WtDualPanel:lme,WtPagination:Pbe,WtPlayer:Nbe,WtPopover:BO,WtStatusSelect:dge,WtTable:kge,WtTree:Dye,WtTreeTable:Wye,WtTableActions:Tge,WtTableColumnSelect:_ge,WtButtonSelect:mue,WtContextMenu:Sue,WtCopyAction:Due,WtLoadBar:h3e,WtIconAction:fA,WtPageHeader:fbe,WtItemLink:c3e,WtDummy:fme,WtStepper:bge,WtExpansionPanel:jme,WtNavigationMenu:Rre,WtStartPage:tce,WtSelectionPopup:Fse,WtDisplayChipItems:Sre,WtVidstackPlayer:Me(c.defineComponent({__name:"wt-vidstack-player",props:{src:{},mime:{default:"video/mp4"},autoplay:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},title:{default:""},username:{default:""},closable:{type:Boolean,default:!1},stream:{},mode:{default:"media"},session:{}},emits:["close","close-session"],setup(i,{emit:o}){const n=i,a=o,l=c.useTemplateRef("player"),s=c.ref(Kt.SM),d=m=>{s.value=m};c.provide("size",{size:s,changeSize:d});const p=c.computed(()=>n.mime?n.mime:n.src.includes("media")||n.src.includes("mp3")?"audio/mp3":n.src.includes("ogg")||n.src.includes("oga")?"audio/ogg":"video/mp4"),h=c.computed(()=>{var m,y;return typeof n.src=="string"?{src:n.src,type:p.value}:{src:((m=n.src)==null?void 0:m.src)||"",type:((y=n.src)==null?void 0:y.type)||p.value}});return c.onMounted(()=>{if(l.value&&n.mode==="stream"&&n.stream){const m=l.value.querySelector("video");m.addEventListener("loadedmetadata",async()=>{await m.play().catch(y=>console.error("play error:",y))}),m.srcObject!==n.stream&&setTimeout(()=>{m.srcObject=n.stream??null},100)}}),c.onBeforeUnmount(()=>{const m=l.value.querySelector("video");m&&m.srcObject&&(m.srcObject.getTracks().forEach(y=>y.stop()),m.srcObject=null)}),(m,y)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["wt-vidstack-player",[`wt-vidstack-player--${s.value}`]])},[c.createElementVNode("media-player",{ref_key:"player",ref:l,src:h.value,autoplay:n.autoplay,muted:n.muted,class:"wt-vidstack-player__player","cross-origin":"","plays-inline":"",onClose:y[2]||(y[2]=w=>a("close")),onChangeSize:d},[y[3]||(y[3]=c.createElementVNode("media-provider",{class:"wt-vidstack-player__provider"},null,-1)),c.createVNode(m7e,{closable:n.closable,autoplay:n.autoplay,title:n.title,username:n.username,session:n.session,mode:m.mode,onClosePlayer:y[0]||(y[0]=w=>a("close")),onCloseSession:y[1]||(y[1]=w=>a("close-session"))},null,8,["closable","autoplay","title","username","session","mode"])],40,b7e)],2))}}),[["__scopeId","data-v-44ecfa70"]]),WtChatEmoji:wre},wL=a6?window:void 0;function Y1(i){var o;const n=c.toValue(i);return(o=n==null?void 0:n.$el)!=null?o:n}function tu(...i){const o=[],n=()=>{o.forEach(p=>p()),o.length=0},a=(p,h,m,y)=>(p.addEventListener(h,m,y),()=>p.removeEventListener(h,m,y)),l=c.computed(()=>{const p=Ed(c.toValue(i[0])).filter(h=>h!=null);return p.every(h=>typeof h!="string")?p:void 0}),s=gO(()=>{var p,h;return[(h=(p=l.value)==null?void 0:p.map(m=>Y1(m)))!=null?h:[wL].filter(m=>m!=null),Ed(c.toValue(l.value?i[1]:i[0])),Ed(c.unref(l.value?i[2]:i[1])),c.toValue(l.value?i[3]:i[2])]},([p,h,m,y])=>{if(n(),!(p!=null&&p.length)||!(h!=null&&h.length)||!(m!=null&&m.length))return;const w=bO(y)?{...y}:y;o.push(...p.flatMap(v=>h.flatMap(k=>m.map(A=>a(v,k,A,w)))))},{flush:"post"}),d=()=>{s(),n()};return $3(n),d}let vL=!1;function CL(i,o,n={}){const{window:a=wL,ignore:l=[],capture:s=!0,detectIframe:d=!1,controls:p=!1}=n;if(!a)return p?{stop:vr,cancel:vr,trigger:vr}:vr;if(r6&&!vL){vL=!0;const T={passive:!0};Array.from(a.document.body.children).forEach(I=>tu(I,"click",vr,T)),tu(a.document.documentElement,"click",vr,T)}let h=!0;const m=T=>c.toValue(l).some(I=>{if(typeof I=="string")return Array.from(a.document.querySelectorAll(I)).some(x=>x===T.target||T.composedPath().includes(x));{const x=Y1(I);return x&&(T.target===x||T.composedPath().includes(x))}});function y(T){const I=c.toValue(T);return I&&I.$.subTree.shapeFlag===16}function w(T,I){const x=c.toValue(T),R=x.$.subTree&&x.$.subTree.children;return R==null||!Array.isArray(R)?!1:R.some(D=>D.el===I.target||I.composedPath().includes(D.el))}const v=T=>{const I=Y1(i);if(T.target!=null&&!(!(I instanceof Element)&&y(i)&&w(i,T))&&!(!I||I===T.target||T.composedPath().includes(I))){if("detail"in T&&T.detail===0&&(h=!m(T)),!h){h=!0;return}o(T)}};let k=!1;const A=[tu(a,"click",T=>{k||(k=!0,setTimeout(()=>{k=!1},0),v(T))},{passive:!0,capture:s}),tu(a,"pointerdown",T=>{const I=Y1(i);h=!m(T)&&!!(I&&!T.composedPath().includes(I))},{passive:!0}),d&&tu(a,"blur",T=>{setTimeout(()=>{var I;const x=Y1(i);((I=a.document.activeElement)==null?void 0:I.tagName)==="IFRAME"&&!(x!=null&&x.contains(a.document.activeElement))&&o(T)},0)},{passive:!0})].filter(Boolean),E=()=>A.forEach(T=>T());return p?{stop:E,cancel:()=>{h=!1},trigger:T=>{h=!0,v(T),h=!1}}:E}const g7e={mounted(i,o){const n=!o.modifiers.bubble;if(typeof o.value=="function")i.__onClickOutside_stop=CL(i,o.value,{capture:n});else{const[a,l]=o.value;i.__onClickOutside_stop=CL(i,a,Object.assign({capture:n},l))}},unmounted(i){i.__onClickOutside_stop()}};function U7(i){return typeof Window<"u"&&i instanceof Window?i.document.documentElement:typeof Document<"u"&&i instanceof Document?i.documentElement:i}function kL(i){const o=window.getComputedStyle(i);if(o.overflowX==="scroll"||o.overflowY==="scroll"||o.overflowX==="auto"&&i.clientWidth<i.scrollWidth||o.overflowY==="auto"&&i.clientHeight<i.scrollHeight)return!0;{const n=i.parentNode;return!n||n.tagName==="BODY"?!1:kL(n)}}function y7e(i){const o=i||window.event,n=o.target;return kL(n)?!1:o.touches.length>1?!0:(o.preventDefault&&o.preventDefault(),!1)}const H7=new WeakMap;function w7e(i,o=!1){const n=c.shallowRef(o);let a=null,l="";c.watch(Ufe(i),p=>{const h=U7(c.toValue(p));if(h){const m=h;if(H7.get(m)||H7.set(m,m.style.overflow),m.style.overflow!=="hidden"&&(l=m.style.overflow),m.style.overflow==="hidden")return n.value=!0;if(n.value)return m.style.overflow="hidden"}},{immediate:!0});const s=()=>{const p=U7(c.toValue(i));!p||n.value||(r6&&(a=tu(p,"touchmove",h=>{y7e(h)},{passive:!1})),p.style.overflow="hidden",n.value=!0)},d=()=>{const p=U7(c.toValue(i));!p||!n.value||(r6&&(a==null||a()),p.style.overflow=l,H7.delete(p),n.value=!1)};return $3(d),c.computed({get(){return n.value},set(p){p?s():d()}})}function v7e(){let i=!1;const o=c.shallowRef(!1);return(n,a)=>{if(o.value=a.value,i)return;i=!0;const l=w7e(n,a.value);c.watch(o,s=>l.value=s)}}v7e();const xL={clickaway:g7e};function Wo(...i){if(i){let o=[];for(let n=0;n<i.length;n++){const a=i[n];if(!a)continue;const l=typeof a;if(l==="string"||l==="number")o.push(a);else if(l==="object"){const s=Array.isArray(a)?[Wo(...a)]:Object.entries(a).map(([d,p])=>p?d:void 0);o=s.length?o.concat(s.filter(d=>!!d)):o}}return o.join(" ").trim()}}function SL(i,o){return i?i.classList?i.classList.contains(o):new RegExp("(^| )"+o+"( |$)","gi").test(i.className):!1}function Tr(i,o){if(i&&o){const n=a=>{SL(i,a)||(i.classList?i.classList.add(a):i.className+=" "+a)};[o].flat().filter(Boolean).forEach(a=>a.split(" ").forEach(n))}}function C7e(){return window.innerWidth-document.documentElement.offsetWidth}function k7e(i){typeof i=="string"?Tr(document.body,i||"p-overflow-hidden"):(i!=null&&i.variableName&&document.body.style.setProperty(i.variableName,C7e()+"px"),Tr(document.body,(i==null?void 0:i.className)||"p-overflow-hidden"))}function x7e(i){if(i){const o=document.createElement("a");if(o.download!==void 0){const{name:n,src:a}=i;return o.setAttribute("href",a),o.setAttribute("download",n),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o),!0}}return!1}function S7e(i,o){const n=new Blob([i],{type:"application/csv;charset=utf-8;"});window.navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(n,o+".csv"):x7e({name:o+".csv",src:URL.createObjectURL(n)})||(i="data:text/csv;charset=utf-8,"+i,window.open(encodeURI(i)))}function Ma(i,o){if(i&&o){const n=a=>{i.classList?i.classList.remove(a):i.className=i.className.replace(new RegExp("(^|\\b)"+a.split(" ").join("|")+"(\\b|$)","gi")," ")};[o].flat().filter(Boolean).forEach(a=>a.split(" ").forEach(n))}}function I7e(i){typeof i=="string"?Ma(document.body,i||"p-overflow-hidden"):(i!=null&&i.variableName&&document.body.style.removeProperty(i.variableName),Ma(document.body,(i==null?void 0:i.className)||"p-overflow-hidden"))}function Lb(i){for(const o of document==null?void 0:document.styleSheets)try{for(const n of o==null?void 0:o.cssRules)for(const a of n==null?void 0:n.style)if(i.test(a))return{name:a,value:n.style.getPropertyValue(a).trim()}}catch{}return null}function IL(i){const o={width:0,height:0};return i&&(i.style.visibility="hidden",i.style.display="block",o.width=i.offsetWidth,o.height=i.offsetHeight,i.style.display="none",i.style.visibility="visible"),o}function X1(){const i=window,o=document,n=o.documentElement,a=o.getElementsByTagName("body")[0],l=i.innerWidth||n.clientWidth||a.clientWidth,s=i.innerHeight||n.clientHeight||a.clientHeight;return{width:l,height:s}}function K7(i){return i?Math.abs(i.scrollLeft):0}function W7(){const i=document.documentElement;return(window.pageXOffset||K7(i))-(i.clientLeft||0)}function G7(){const i=document.documentElement;return(window.pageYOffset||i.scrollTop)-(i.clientTop||0)}function Z7(i){return i?getComputedStyle(i).direction==="rtl":!1}function Pb(i,o,n=!0){var a,l,s,d;if(i){const p=i.offsetParent?{width:i.offsetWidth,height:i.offsetHeight}:IL(i),h=p.height,m=p.width,y=o.offsetHeight,w=o.offsetWidth,v=o.getBoundingClientRect(),k=G7(),A=W7(),E=X1();let T,I,x="top";v.top+y+h>E.height?(T=v.top+k-h,x="bottom",T<0&&(T=k)):T=y+v.top+k,v.left+m>E.width?I=Math.max(0,v.left+A+w-m):I=v.left+A,Z7(i)?i.style.insetInlineEnd=I+"px":i.style.insetInlineStart=I+"px",i.style.top=T+"px",i.style.transformOrigin=x,n&&(i.style.marginTop=x==="bottom"?`calc(${(l=(a=Lb(/-anchor-gutter$/))==null?void 0:a.value)!=null?l:"2px"} * -1)`:(d=(s=Lb(/-anchor-gutter$/))==null?void 0:s.value)!=null?d:"")}}function ou(i,o){i&&(typeof o=="string"?i.style.cssText=o:Object.entries(o||{}).forEach(([n,a])=>i.style[n]=a))}function Jo(i,o){return i instanceof HTMLElement?i.offsetWidth:0}function TL(i,o,n=!0){var a,l,s,d;if(i){const p=i.offsetParent?{width:i.offsetWidth,height:i.offsetHeight}:IL(i),h=o.offsetHeight,m=o.getBoundingClientRect(),y=X1();let w,v,k="top";m.top+h+p.height>y.height?(w=-1*p.height,k="bottom",m.top+w<0&&(w=-1*m.top)):w=h,p.width>y.width?v=m.left*-1:m.left+p.width>y.width?v=(m.left+p.width-y.width)*-1:v=0,i.style.top=w+"px",i.style.insetInlineStart=v+"px",i.style.transformOrigin=k,n&&(i.style.marginTop=k==="bottom"?`calc(${(l=(a=Lb(/-anchor-gutter$/))==null?void 0:a.value)!=null?l:"2px"} * -1)`:(d=(s=Lb(/-anchor-gutter$/))==null?void 0:s.value)!=null?d:"")}}function Y7(i){if(i){let o=i.parentNode;return o&&o instanceof ShadowRoot&&o.host&&(o=o.host),o}return null}function EL(i){return!!(i!==null&&typeof i<"u"&&i.nodeName&&Y7(i))}function Fs(i){return typeof Element<"u"?i instanceof Element:i!==null&&typeof i=="object"&&i.nodeType===1&&typeof i.nodeName=="string"}function $b(){if(window.getSelection){const i=window.getSelection()||{};i.empty?i.empty():i.removeAllRanges&&i.rangeCount>0&&i.getRangeAt(0).getClientRects().length>0&&i.removeAllRanges()}}function Mb(i,o={}){if(Fs(i)){const n=(a,l)=>{var s,d;const p=(s=i==null?void 0:i.$attrs)!=null&&s[a]?[(d=i==null?void 0:i.$attrs)==null?void 0:d[a]]:[];return[l].flat().reduce((h,m)=>{if(m!=null){const y=typeof m;if(y==="string"||y==="number")h.push(m);else if(y==="object"){const w=Array.isArray(m)?n(a,m):Object.entries(m).map(([v,k])=>a==="style"&&(k||k===0)?`${v.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${k}`:k?v:void 0);h=w.length?h.concat(w.filter(v=>!!v)):h}}return h},p)};Object.entries(o).forEach(([a,l])=>{if(l!=null){const s=a.match(/^on(.+)/);s?i.addEventListener(s[1].toLowerCase(),l):a==="p-bind"||a==="pBind"?Mb(i,l):(l=a==="class"?[...new Set(n("class",l))].join(" ").trim():a==="style"?n("style",l).join(";").trim():l,(i.$attrs=i.$attrs||{})&&(i.$attrs[a]=l),i.setAttribute(a,l))}})}}function Q1(i,o={},...n){if(i){const a=document.createElement(i);return Mb(a,o),a.append(...n),a}}function T7e(i,o){if(i){i.style.opacity="0";let n=+new Date,a="0";const l=function(){a=`${+i.style.opacity+(new Date().getTime()-n)/o}`,i.style.opacity=a,n=+new Date,+a<1&&("requestAnimationFrame"in window?requestAnimationFrame(l):setTimeout(l,16))};l()}}function iu(i,o){return Fs(i)?Array.from(i.querySelectorAll(o)):[]}function Bn(i,o){return Fs(i)?i.matches(o)?i:i.querySelector(o):null}function bo(i,o){i&&document.activeElement!==i&&i.focus(o)}function Ro(i,o){if(Fs(i)){const n=i.getAttribute(o);return isNaN(n)?n==="true"||n==="false"?n==="true":n:+n}}function X7(i,o=""){const n=iu(i,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o},
3154
+ `}}F(eL,"tagName","media-spinner");class tL extends ct{}F(tL,"props",{when:!1});class oL extends dt(HTMLElement,tL){constructor(){super(...arguments);P(this,Y4);P(this,em)}onSetup(){N(this,em,Et())}onConnect(){ue(C(this,Y4,nK).bind(this))}}em=new WeakMap,Y4=new WeakSet,nK=function(){const n=this.firstElementChild,a=(n==null?void 0:n.localName)==="template",l=this.$props.when();if(!(WR(l)?l:Pa(()=>l(b(this,em).player.state))())){a?(this.textContent="",this.appendChild(n)):qd(n)&&(n.style.display="none");return}a?this.append(n.content.cloneNode(!0)):qd(n)&&(n.style.display="")},F(oL,"tagName","media-layout");class iL extends dt(HTMLElement,sB){}F(iL,"tagName","media-google-cast-button");class nL extends dt(HTMLElement,lB){}F(nL,"tagName","media-toggle-button");class aL extends dt(HTMLElement,L8e){}F(aL,"tagName","media-tooltip");class rL extends dt(HTMLElement,P8e){onConnect(){this.style.display="contents"}}F(rL,"tagName","media-tooltip-trigger");class lL extends dt(HTMLElement,rB){}F(lL,"tagName","media-tooltip-content");class F7 extends dt(HTMLElement,iB){}F(F7,"tagName","media-menu-portal"),F(F7,"attrs",{disabled:{converter(o){return Qe(o)?o:o!==null}}});class sL extends dt(HTMLElement,z1){onConnect(){eu(this,(o,n)=>{const{cue:a,startTime:l,duration:s}=n,d=o.querySelector(".vds-thumbnail,media-thumbnail"),p=o.querySelector('[data-part="start-time"]'),h=o.querySelector('[data-part="duration"]');p&&(p.textContent=l),h&&(h.textContent=s),d&&(d.setAttribute("time",a.startTime+""),ue(()=>{const m=this.$props.thumbnails();"src"in d?d.src=m:Qe(m)&&d.setAttribute("src",m)}))})}}F(sL,"tagName","media-chapters-radio-group");class cL extends dt(HTMLElement,L7){onConnect(){eu(this)}}F(cL,"tagName","media-audio-gain-radio-group");class dL extends dt(HTMLElement,_7){}F(dL,"tagName","media-radio-group");class pL extends dt(HTMLElement,zd){}F(pL,"tagName","media-slider");const o7e=Z8('<video muted playsinline preload="none" style="max-width: unset;"></video>');class uL extends dt(HTMLElement,Ob){constructor(){super(...arguments);P(this,X4);P(this,tm);P(this,fs,C(this,X4,aK).call(this))}onSetup(){N(this,tm,Et()),this.$state.video.set(b(this,fs))}onConnect(){const{canLoad:n}=b(this,tm).$state,{src:a,crossOrigin:l}=this.$state;b(this,fs).parentNode!==this&&this.prepend(b(this,fs)),ue(()=>{Ke(b(this,fs),"crossorigin",l()),Ke(b(this,fs),"preload",n()?"auto":"none"),Ke(b(this,fs),"src",a())})}}tm=new WeakMap,fs=new WeakMap,X4=new WeakSet,aK=function(){return Y8(o7e)},F(uL,"tagName","media-slider-video");class hL extends dt(HTMLElement,A7){}F(hL,"tagName","media-audio-gain-slider");class fL extends dt(HTMLElement,O7){}F(fL,"tagName","media-speed-slider");class mL extends dt(HTMLElement,D7){}F(mL,"tagName","media-quality-slider");class bL extends dt(HTMLElement,R7){constructor(){super(...arguments);P(this,Q4);P(this,y2,null)}onConnect(){Dl(()=>{if(!this.connectScope)return;const n=this.querySelector("template");n&&(N(this,y2,n),ue(C(this,Q4,rK).bind(this)))})}}y2=new WeakMap,Q4=new WeakSet,rK=function(){if(!b(this,y2))return;const n=G8(b(this,y2),this.cues.length||1);this.setRefs(n)},F(bL,"tagName","media-slider-chapters");class i7e extends ct{}class gL extends dt(HTMLElement,i7e){constructor(){super(...arguments);P(this,J4);P(this,Zp,null)}onConnect(n){Dl(()=>{this.connectScope&&(N(this,Zp,n.querySelector("template")),b(this,Zp)&&ue(C(this,J4,lK).bind(this)))})}}Zp=new WeakMap,J4=new WeakSet,lK=function(){if(!b(this,Zp))return;const{min:n,max:a,step:l}=W0(Vd),s=(a()-n())/l();G8(b(this,Zp),Math.floor(s)+1)},F(gL,"tagName","media-slider-steps");class V7 extends ct{constructor(){super(...arguments);P(this,ho);P(this,xa);P(this,om,"")}onSetup(){N(this,xa,Et()),C(this,ho,bk).call(this),C(this,ho,gk).call(this),C(this,ho,yk).call(this),C(this,ho,mk).call(this)}onAttach(n){n.style.setProperty("pointer-events","none"),ue(C(this,ho,dK).bind(this)),ue(C(this,ho,bk).bind(this)),ue(C(this,ho,gk).bind(this)),ue(C(this,ho,yk).bind(this)),ue(C(this,ho,mk).bind(this));const{started:a}=b(this,xa).$state;this.setAttributes({"data-visible":()=>!a()&&!this.$state.hidden(),"data-loading":C(this,ho,cK).bind(this),"data-error":C(this,ho,fk).bind(this),"data-hidden":this.$state.hidden})}onConnect(n){ue(C(this,ho,sK).bind(this)),ue(C(this,ho,pK).bind(this))}}xa=new WeakMap,ho=new WeakSet,fk=function(){const{error:n}=this.$state;return!Ir(n())},sK=function(){const{canLoadPoster:n,poster:a}=b(this,xa).$state;!n()&&a()&&Al(a(),"preconnect")},mk=function(){const{src:n}=this.$props,{poster:a,nativeControls:l}=b(this,xa).$state;this.el&&Ke(this.el,"display",l()?"none":null),this.$state.hidden.set(C(this,ho,fk).call(this)||!(n()||a())||l())},cK=function(){const{loading:n,hidden:a}=this.$state;return!a()&&n()},dK=function(){const n=this.$state.img();n&&(new po(n).add("load",C(this,ho,wk).bind(this)).add("error",C(this,ho,uK).bind(this)),n.complete&&C(this,ho,wk).call(this))},om=new WeakMap,bk=function(){const{poster:n}=b(this,xa).$props,{canLoadPoster:a,providedPoster:l,inferredPoster:s}=b(this,xa).$state,d=this.$props.src()||"",p=d||n()||s();b(this,om)===l()&&l.set(d),this.$state.src.set(a()&&p.length?p:null),N(this,om,d)},gk=function(){const{src:n}=this.$props,{alt:a}=this.$state,{poster:l}=b(this,xa).$state;a.set(n()||l()?this.$props.alt():null)},yk=function(){const{crossOrigin:n}=this.$props,{crossOrigin:a}=this.$state,{crossOrigin:l,poster:s}=b(this,xa).$state,d=n()!==null?n():l();a.set(/ytimg\.com|vimeo/.test(s()||"")?null:d===!0?"anonymous":d)},pK=function(){const{loading:n,error:a}=this.$state,{canLoadPoster:l,poster:s}=b(this,xa).$state;n.set(l()&&!!s()),a.set(null)},wk=function(){const{loading:n,error:a}=this.$state;n.set(!1),a.set(null)},uK=function(n){const{loading:a,error:l}=this.$state;a.set(!1),l.set(n)},F(V7,"props",{src:null,alt:null,crossOrigin:null}),F(V7,"state",new Ps({img:null,src:null,alt:null,crossOrigin:null,loading:!0,error:null,hidden:!1}));class z7 extends dt(HTMLElement,V7){constructor(){super(...arguments);P(this,nl,document.createElement("img"))}onSetup(){this.$state.img.set(b(this,nl))}onConnect(){const{src:n,alt:a,crossOrigin:l}=this.$state;ue(()=>{const{loading:s,hidden:d}=this.$state;b(this,nl).style.display=s()||d()?"none":""}),ue(()=>{Ke(b(this,nl),"alt",a()),Ke(b(this,nl),"crossorigin",l()),Ke(b(this,nl),"src",n())}),b(this,nl).parentNode!==this&&this.prepend(b(this,nl))}}nl=new WeakMap,F(z7,"tagName","media-poster"),F(z7,"attrs",{crossOrigin:"crossorigin"}),rt(oL),rt(GB),rt(ZB),rt(z7),rt(WB),rt(aL),rt(rL),rt(lL),rt(DB),rt(AB),rt(IB),rt(TB),rt(OB),rt(RB),rt(SB),rt(iL),rt(nL),rt(pL),rt(hL),rt(UB),rt(VB),rt(fL),rt(mL),rt(bL),rt(gL),rt(zB),rt(q7),rt(FB),rt(uL),rt(LB),rt(PB),rt(F7),rt(MB),rt($B),rt(_B),rt(BB),rt(NB),rt(cL),rt(jB),rt(sL),rt(dL),rt(qB),rt(KB),rt(Bb),rt(HB),rt(EB),rt(xB),rt(YB),rt(QB),rt(eL);const n7e={class:"screen-sharing-control-panel__actions"},a7e={key:0,class:"screen-sharing-control-panel__indicator"},r7e={class:"screen-sharing-control-panel__time"},l7e=Me(c.defineComponent({__name:"screen-sharing-control-panel",props:{session:{}},emits:["close-session"],setup(i,{emit:o}){const n=i,a=o,{size:l}=c.inject("size"),s=c.ref(null),d=c.computed(()=>n.session.recordings?"record-stop":"record-start"),p=x=>{switch(x){case"done":return"screenshot-done";case"error":return"screenshot-false";default:return"screenshot"}},h=c.computed(()=>p(s.value)),m=c.computed(()=>n.session.recordings),y=c.ref(0),w=c.ref(null);function v(){y.value=0,k(),w.value=window.setInterval(()=>{y.value++},1e3)}function k(){w.value!==null&&(clearInterval(w.value),w.value=null)}const A=()=>{m.value?n.session.stopRecord():n.session.startRecord()},E=async()=>{try{await n.session.screenshot(),T("done")}catch{T("error")}},T=x=>{s.value=x,setTimeout(()=>{s.value=null},2e3)},I=()=>{n.session.close(),a("close-session")};return c.onUnmounted(()=>{k()}),c.watch(m,x=>{x?v():k()}),(x,R)=>{const D=c.resolveComponent("wt-button"),_=c.resolveComponent("wt-indicator");return c.openBlock(),c.createElementBlock("media-controls-group",{class:c.normalizeClass(["screen-sharing-control-panel",`screen-sharing-control-panel--${c.unref(l)}`])},[c.createElementVNode("div",n7e,[c.createVNode(D,{rounded:"","contains-icon":"",variant:"outlined",color:"secondary",size:c.unref(l),icon:h.value,onClick:E},null,8,["size","icon"]),c.createVNode(D,{rounded:"","contains-icon":"",variant:"outlined",color:"secondary",size:c.unref(l),icon:d.value,onClick:A},null,8,["size","icon"]),c.createVNode(D,{icon:"sharing-end",class:"screen-sharing-control-panel__sharing-end",color:"error",variant:"outlined",size:c.unref(l),rounded:"","contains-icon":"",onClick:I},null,8,["size"])]),m.value?(c.openBlock(),c.createElementBlock("div",a7e,[c.createVNode(_,{color:"error",size:"md"}),c.createElementVNode("span",r7e,c.toDisplayString(c.unref(KO)(y.value)),1)])):c.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-5fe4e281"]]),s7e=["disabled"],c7e=Me(c.defineComponent({__name:"toggle-button",props:{primaryIcon:{},secondaryIcon:{},color:{},disabled:{type:Boolean}},emits:["toggle"],setup(i,{emit:o}){const n=i,a=c.useTemplateRef("toggleButton"),l=o,s=()=>{n.disabled||l("toggle",a.value.pressed)};return(d,p)=>(c.openBlock(),c.createElementBlock("media-toggle-button",{ref_key:"toggleButton",ref:a,class:"toggle-button",disabled:n.disabled,onClick:s},[c.createVNode(Ad,{icon:n.primaryIcon,color:n.color,disabled:n.disabled,class:"toggle-button__primary"},null,8,["icon","color","disabled"]),c.createVNode(Ad,{icon:n.secondaryIcon,color:n.color,disabled:n.disabled,class:"toggle-button__secondary"},null,8,["icon","color","disabled"])],8,s7e))}}),[["__scopeId","data-v-f1a807ee"]]),d7e=Me(c.defineComponent({__name:"fullscreen-button",emits:["toggle"],setup(i,{emit:o}){const n=o;return(a,l)=>(c.openBlock(),c.createElementBlock("media-fullscreen-button",{class:"fullscreen-button",onMediaEnterFullscreenRequest:l[0]||(l[0]=s=>n("toggle",!0)),onMediaExitFullscreenRequest:l[1]||(l[1]=s=>n("toggle",!1))},[c.createVNode(Ad,{icon:"player-enter-fullscreen",color:"on-dark",class:"fullscreen-button__enter"}),c.createVNode(Ad,{icon:"player-exit-fullscreen",color:"on-dark",class:"fullscreen-button__exit"})],32))}}),[["__scopeId","data-v-969523ca"]]),p7e={class:"video-display-panel__title"},u7e={class:"video-display-panel__controls"},h7e=Me(c.defineComponent({__name:"video-display-panel",props:{title:{},username:{},closable:{type:Boolean}},emits:["close"],setup(i,{emit:o}){const{size:n,changeSize:a}=c.inject("size"),l=i,s=o,d=h=>{a(h?Kt.LG:Kt.SM)},p=h=>{a(h?Kt.MD:Kt.SM)};return(h,m)=>(c.openBlock(),c.createElementBlock("media-controls-group",{class:c.normalizeClass(["video-display-panel controls-group",`video-display-panel--${c.unref(n)}`])},[c.createElementVNode("div",p7e,[l.username?(c.openBlock(),c.createBlock(bA,{key:0,username:l.username,size:"sm"},null,8,["username"])):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(l.title||l.username),1)]),c.createElementVNode("div",u7e,[c.unref(n)!==c.unref(Kt).LG?(c.openBlock(),c.createBlock(c7e,{key:0,"primary-icon":"collapse","secondary-icon":"expand",color:"on-dark",onToggle:p})):c.createCommentVNode("",!0),c.createVNode(d7e,{onToggle:d}),l.closable?(c.openBlock(),c.createBlock(Ad,{key:1,icon:"close",color:"on-dark",onClick:m[0]||(m[0]=y=>s("close"))})):c.createCommentVNode("",!0)])],2))}}),[["__scopeId","data-v-d21a18a1"]]),f7e={key:0},m7e=Me(c.defineComponent({__name:"video-layout",props:{title:{},username:{},closable:{type:Boolean},mode:{},session:{}},emits:["close-player","close-session"],setup(i,{emit:o}){const{size:n}=c.inject("size"),a=i,l=o;return(s,d)=>(c.openBlock(),c.createElementBlock("media-controls",{class:c.normalizeClass(["video-layout controls",`video-layout--${c.unref(n)}`])},[c.createVNode(h7e,{title:a.title,username:a.username,closable:a.closable,onClose:d[0]||(d[0]=p=>l("close-player"))},null,8,["title","username","closable"]),c.createVNode(TO,{size:"sm",color:"on-dark"}),a.mode==="media"?(c.openBlock(),c.createElementBlock("media-control-panel",f7e)):c.createCommentVNode("",!0),a.mode==="stream"?(c.openBlock(),c.createBlock(l7e,{key:1,session:a.session,onCloseSession:d[1]||(d[1]=p=>l("close-session"))},null,8,["session"])):c.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-e0267b09"]]),b7e=["src","autoplay","muted"],yL={WtActionBar:m0e,WtImage:xO,WtEmpty:Sme,WtLogo:I3e,WtAvatar:bA,WtBadge:pue,WtIcon:SO,WtIndicator:n3e,WtInputInfo:wO,WtButton:fue,WtChip:gA,WtConfirmDialog:Cue,WtDivider:tme,WtTooltip:Cye,WtLabel:IO,WtLoader:TO,WtRoundedAction:u4e,WtReplaceTransition:d0e,WtCheckbox:I9,WtDatepicker:eme,WtIconBtn:Ad,WtInput:l3e,WtIntersectionObserver:s3e,WtHint:Jme,WtNotification:ibe,WtPopup:a4e,WtProgressBar:s4e,WtRadio:p4e,WtSearchBar:g4e,WtSelect:age,WtSlider:rge,WtSwitcher:yge,WtTabs:Nge,WtTagsInput:k5e,WtTimeInput:B5e,WtTimepicker:M5e,WtTextarea:A5e,WtAppHeader:w0e,WtHeadline:Yme,WtBreadcrumb:uue,WtNavigationBar:J3e,WtAppNavigator:F0e,WtFiltersPanelWrapper:Ume,WtHeaderActions:tue,WtErrorPage:Lme,WtNotificationsBar:hbe,WtPageWrapper:Cbe,WtDualPanel:lme,WtPagination:Pbe,WtPlayer:Nbe,WtPopover:BO,WtStatusSelect:dge,WtTable:kge,WtTree:Dye,WtTreeTable:Wye,WtTableActions:Tge,WtTableColumnSelect:_ge,WtButtonSelect:mue,WtContextMenu:Sue,WtCopyAction:Due,WtLoadBar:h3e,WtIconAction:fA,WtPageHeader:fbe,WtItemLink:c3e,WtDummy:fme,WtStepper:bge,WtExpansionPanel:jme,WtNavigationMenu:Rre,WtStartPage:tce,WtSelectionPopup:Fse,WtDisplayChipItems:Sre,WtVidstackPlayer:Me(c.defineComponent({__name:"wt-vidstack-player",props:{src:{},mime:{default:"video/mp4"},autoplay:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},title:{default:""},username:{default:""},closable:{type:Boolean,default:!1},stream:{},mode:{default:"media"},session:{}},emits:["close","close-session"],setup(i,{emit:o}){const n=i,a=o,l=c.useTemplateRef("player"),s=c.ref(Kt.SM),d=m=>{s.value=m};c.provide("size",{size:s,changeSize:d});const p=c.computed(()=>n.mime?n.mime:n.src.includes("media")||n.src.includes("mp3")?"audio/mp3":n.src.includes("ogg")||n.src.includes("oga")?"audio/ogg":"video/mp4"),h=c.computed(()=>{var m,y;return typeof n.src=="string"?{src:n.src,type:p.value}:{src:((m=n.src)==null?void 0:m.src)||"",type:((y=n.src)==null?void 0:y.type)||p.value}});return c.onMounted(()=>{if(l.value&&n.mode==="stream"&&n.stream){const m=l.value.querySelector("video");m.addEventListener("loadedmetadata",async()=>{await m.play().catch(y=>console.error("play error:",y))}),m.srcObject!==n.stream&&setTimeout(()=>{m.srcObject=n.stream??null},100)}}),c.onBeforeUnmount(()=>{const m=l.value.querySelector("video");m&&m.srcObject&&(m.srcObject.getTracks().forEach(y=>y.stop()),m.srcObject=null)}),(m,y)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["wt-vidstack-player",[`wt-vidstack-player--${s.value}`]])},[c.createElementVNode("media-player",{ref_key:"player",ref:l,src:h.value,autoplay:n.autoplay,muted:n.muted,class:"wt-vidstack-player__player","cross-origin":"","plays-inline":"",onClose:y[2]||(y[2]=w=>a("close")),onChangeSize:d},[y[3]||(y[3]=c.createElementVNode("media-provider",{class:"wt-vidstack-player__provider"},null,-1)),c.createVNode(m7e,{closable:n.closable,autoplay:n.autoplay,title:n.title,username:n.username,session:n.session,mode:m.mode,onClosePlayer:y[0]||(y[0]=w=>a("close")),onCloseSession:y[1]||(y[1]=w=>a("close-session"))},null,8,["closable","autoplay","title","username","session","mode"])],40,b7e)],2))}}),[["__scopeId","data-v-1ee8fe00"]]),WtChatEmoji:wre},wL=a6?window:void 0;function Y1(i){var o;const n=c.toValue(i);return(o=n==null?void 0:n.$el)!=null?o:n}function tu(...i){const o=[],n=()=>{o.forEach(p=>p()),o.length=0},a=(p,h,m,y)=>(p.addEventListener(h,m,y),()=>p.removeEventListener(h,m,y)),l=c.computed(()=>{const p=Ed(c.toValue(i[0])).filter(h=>h!=null);return p.every(h=>typeof h!="string")?p:void 0}),s=gO(()=>{var p,h;return[(h=(p=l.value)==null?void 0:p.map(m=>Y1(m)))!=null?h:[wL].filter(m=>m!=null),Ed(c.toValue(l.value?i[1]:i[0])),Ed(c.unref(l.value?i[2]:i[1])),c.toValue(l.value?i[3]:i[2])]},([p,h,m,y])=>{if(n(),!(p!=null&&p.length)||!(h!=null&&h.length)||!(m!=null&&m.length))return;const w=bO(y)?{...y}:y;o.push(...p.flatMap(v=>h.flatMap(k=>m.map(A=>a(v,k,A,w)))))},{flush:"post"}),d=()=>{s(),n()};return $3(n),d}let vL=!1;function CL(i,o,n={}){const{window:a=wL,ignore:l=[],capture:s=!0,detectIframe:d=!1,controls:p=!1}=n;if(!a)return p?{stop:vr,cancel:vr,trigger:vr}:vr;if(r6&&!vL){vL=!0;const T={passive:!0};Array.from(a.document.body.children).forEach(I=>tu(I,"click",vr,T)),tu(a.document.documentElement,"click",vr,T)}let h=!0;const m=T=>c.toValue(l).some(I=>{if(typeof I=="string")return Array.from(a.document.querySelectorAll(I)).some(x=>x===T.target||T.composedPath().includes(x));{const x=Y1(I);return x&&(T.target===x||T.composedPath().includes(x))}});function y(T){const I=c.toValue(T);return I&&I.$.subTree.shapeFlag===16}function w(T,I){const x=c.toValue(T),R=x.$.subTree&&x.$.subTree.children;return R==null||!Array.isArray(R)?!1:R.some(D=>D.el===I.target||I.composedPath().includes(D.el))}const v=T=>{const I=Y1(i);if(T.target!=null&&!(!(I instanceof Element)&&y(i)&&w(i,T))&&!(!I||I===T.target||T.composedPath().includes(I))){if("detail"in T&&T.detail===0&&(h=!m(T)),!h){h=!0;return}o(T)}};let k=!1;const A=[tu(a,"click",T=>{k||(k=!0,setTimeout(()=>{k=!1},0),v(T))},{passive:!0,capture:s}),tu(a,"pointerdown",T=>{const I=Y1(i);h=!m(T)&&!!(I&&!T.composedPath().includes(I))},{passive:!0}),d&&tu(a,"blur",T=>{setTimeout(()=>{var I;const x=Y1(i);((I=a.document.activeElement)==null?void 0:I.tagName)==="IFRAME"&&!(x!=null&&x.contains(a.document.activeElement))&&o(T)},0)},{passive:!0})].filter(Boolean),E=()=>A.forEach(T=>T());return p?{stop:E,cancel:()=>{h=!1},trigger:T=>{h=!0,v(T),h=!1}}:E}const g7e={mounted(i,o){const n=!o.modifiers.bubble;if(typeof o.value=="function")i.__onClickOutside_stop=CL(i,o.value,{capture:n});else{const[a,l]=o.value;i.__onClickOutside_stop=CL(i,a,Object.assign({capture:n},l))}},unmounted(i){i.__onClickOutside_stop()}};function U7(i){return typeof Window<"u"&&i instanceof Window?i.document.documentElement:typeof Document<"u"&&i instanceof Document?i.documentElement:i}function kL(i){const o=window.getComputedStyle(i);if(o.overflowX==="scroll"||o.overflowY==="scroll"||o.overflowX==="auto"&&i.clientWidth<i.scrollWidth||o.overflowY==="auto"&&i.clientHeight<i.scrollHeight)return!0;{const n=i.parentNode;return!n||n.tagName==="BODY"?!1:kL(n)}}function y7e(i){const o=i||window.event,n=o.target;return kL(n)?!1:o.touches.length>1?!0:(o.preventDefault&&o.preventDefault(),!1)}const H7=new WeakMap;function w7e(i,o=!1){const n=c.shallowRef(o);let a=null,l="";c.watch(Ufe(i),p=>{const h=U7(c.toValue(p));if(h){const m=h;if(H7.get(m)||H7.set(m,m.style.overflow),m.style.overflow!=="hidden"&&(l=m.style.overflow),m.style.overflow==="hidden")return n.value=!0;if(n.value)return m.style.overflow="hidden"}},{immediate:!0});const s=()=>{const p=U7(c.toValue(i));!p||n.value||(r6&&(a=tu(p,"touchmove",h=>{y7e(h)},{passive:!1})),p.style.overflow="hidden",n.value=!0)},d=()=>{const p=U7(c.toValue(i));!p||!n.value||(r6&&(a==null||a()),p.style.overflow=l,H7.delete(p),n.value=!1)};return $3(d),c.computed({get(){return n.value},set(p){p?s():d()}})}function v7e(){let i=!1;const o=c.shallowRef(!1);return(n,a)=>{if(o.value=a.value,i)return;i=!0;const l=w7e(n,a.value);c.watch(o,s=>l.value=s)}}v7e();const xL={clickaway:g7e};function Wo(...i){if(i){let o=[];for(let n=0;n<i.length;n++){const a=i[n];if(!a)continue;const l=typeof a;if(l==="string"||l==="number")o.push(a);else if(l==="object"){const s=Array.isArray(a)?[Wo(...a)]:Object.entries(a).map(([d,p])=>p?d:void 0);o=s.length?o.concat(s.filter(d=>!!d)):o}}return o.join(" ").trim()}}function SL(i,o){return i?i.classList?i.classList.contains(o):new RegExp("(^| )"+o+"( |$)","gi").test(i.className):!1}function Tr(i,o){if(i&&o){const n=a=>{SL(i,a)||(i.classList?i.classList.add(a):i.className+=" "+a)};[o].flat().filter(Boolean).forEach(a=>a.split(" ").forEach(n))}}function C7e(){return window.innerWidth-document.documentElement.offsetWidth}function k7e(i){typeof i=="string"?Tr(document.body,i||"p-overflow-hidden"):(i!=null&&i.variableName&&document.body.style.setProperty(i.variableName,C7e()+"px"),Tr(document.body,(i==null?void 0:i.className)||"p-overflow-hidden"))}function x7e(i){if(i){const o=document.createElement("a");if(o.download!==void 0){const{name:n,src:a}=i;return o.setAttribute("href",a),o.setAttribute("download",n),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o),!0}}return!1}function S7e(i,o){const n=new Blob([i],{type:"application/csv;charset=utf-8;"});window.navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(n,o+".csv"):x7e({name:o+".csv",src:URL.createObjectURL(n)})||(i="data:text/csv;charset=utf-8,"+i,window.open(encodeURI(i)))}function Ma(i,o){if(i&&o){const n=a=>{i.classList?i.classList.remove(a):i.className=i.className.replace(new RegExp("(^|\\b)"+a.split(" ").join("|")+"(\\b|$)","gi")," ")};[o].flat().filter(Boolean).forEach(a=>a.split(" ").forEach(n))}}function I7e(i){typeof i=="string"?Ma(document.body,i||"p-overflow-hidden"):(i!=null&&i.variableName&&document.body.style.removeProperty(i.variableName),Ma(document.body,(i==null?void 0:i.className)||"p-overflow-hidden"))}function Lb(i){for(const o of document==null?void 0:document.styleSheets)try{for(const n of o==null?void 0:o.cssRules)for(const a of n==null?void 0:n.style)if(i.test(a))return{name:a,value:n.style.getPropertyValue(a).trim()}}catch{}return null}function IL(i){const o={width:0,height:0};return i&&(i.style.visibility="hidden",i.style.display="block",o.width=i.offsetWidth,o.height=i.offsetHeight,i.style.display="none",i.style.visibility="visible"),o}function X1(){const i=window,o=document,n=o.documentElement,a=o.getElementsByTagName("body")[0],l=i.innerWidth||n.clientWidth||a.clientWidth,s=i.innerHeight||n.clientHeight||a.clientHeight;return{width:l,height:s}}function K7(i){return i?Math.abs(i.scrollLeft):0}function W7(){const i=document.documentElement;return(window.pageXOffset||K7(i))-(i.clientLeft||0)}function G7(){const i=document.documentElement;return(window.pageYOffset||i.scrollTop)-(i.clientTop||0)}function Z7(i){return i?getComputedStyle(i).direction==="rtl":!1}function Pb(i,o,n=!0){var a,l,s,d;if(i){const p=i.offsetParent?{width:i.offsetWidth,height:i.offsetHeight}:IL(i),h=p.height,m=p.width,y=o.offsetHeight,w=o.offsetWidth,v=o.getBoundingClientRect(),k=G7(),A=W7(),E=X1();let T,I,x="top";v.top+y+h>E.height?(T=v.top+k-h,x="bottom",T<0&&(T=k)):T=y+v.top+k,v.left+m>E.width?I=Math.max(0,v.left+A+w-m):I=v.left+A,Z7(i)?i.style.insetInlineEnd=I+"px":i.style.insetInlineStart=I+"px",i.style.top=T+"px",i.style.transformOrigin=x,n&&(i.style.marginTop=x==="bottom"?`calc(${(l=(a=Lb(/-anchor-gutter$/))==null?void 0:a.value)!=null?l:"2px"} * -1)`:(d=(s=Lb(/-anchor-gutter$/))==null?void 0:s.value)!=null?d:"")}}function ou(i,o){i&&(typeof o=="string"?i.style.cssText=o:Object.entries(o||{}).forEach(([n,a])=>i.style[n]=a))}function Jo(i,o){return i instanceof HTMLElement?i.offsetWidth:0}function TL(i,o,n=!0){var a,l,s,d;if(i){const p=i.offsetParent?{width:i.offsetWidth,height:i.offsetHeight}:IL(i),h=o.offsetHeight,m=o.getBoundingClientRect(),y=X1();let w,v,k="top";m.top+h+p.height>y.height?(w=-1*p.height,k="bottom",m.top+w<0&&(w=-1*m.top)):w=h,p.width>y.width?v=m.left*-1:m.left+p.width>y.width?v=(m.left+p.width-y.width)*-1:v=0,i.style.top=w+"px",i.style.insetInlineStart=v+"px",i.style.transformOrigin=k,n&&(i.style.marginTop=k==="bottom"?`calc(${(l=(a=Lb(/-anchor-gutter$/))==null?void 0:a.value)!=null?l:"2px"} * -1)`:(d=(s=Lb(/-anchor-gutter$/))==null?void 0:s.value)!=null?d:"")}}function Y7(i){if(i){let o=i.parentNode;return o&&o instanceof ShadowRoot&&o.host&&(o=o.host),o}return null}function EL(i){return!!(i!==null&&typeof i<"u"&&i.nodeName&&Y7(i))}function Fs(i){return typeof Element<"u"?i instanceof Element:i!==null&&typeof i=="object"&&i.nodeType===1&&typeof i.nodeName=="string"}function $b(){if(window.getSelection){const i=window.getSelection()||{};i.empty?i.empty():i.removeAllRanges&&i.rangeCount>0&&i.getRangeAt(0).getClientRects().length>0&&i.removeAllRanges()}}function Mb(i,o={}){if(Fs(i)){const n=(a,l)=>{var s,d;const p=(s=i==null?void 0:i.$attrs)!=null&&s[a]?[(d=i==null?void 0:i.$attrs)==null?void 0:d[a]]:[];return[l].flat().reduce((h,m)=>{if(m!=null){const y=typeof m;if(y==="string"||y==="number")h.push(m);else if(y==="object"){const w=Array.isArray(m)?n(a,m):Object.entries(m).map(([v,k])=>a==="style"&&(k||k===0)?`${v.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${k}`:k?v:void 0);h=w.length?h.concat(w.filter(v=>!!v)):h}}return h},p)};Object.entries(o).forEach(([a,l])=>{if(l!=null){const s=a.match(/^on(.+)/);s?i.addEventListener(s[1].toLowerCase(),l):a==="p-bind"||a==="pBind"?Mb(i,l):(l=a==="class"?[...new Set(n("class",l))].join(" ").trim():a==="style"?n("style",l).join(";").trim():l,(i.$attrs=i.$attrs||{})&&(i.$attrs[a]=l),i.setAttribute(a,l))}})}}function Q1(i,o={},...n){if(i){const a=document.createElement(i);return Mb(a,o),a.append(...n),a}}function T7e(i,o){if(i){i.style.opacity="0";let n=+new Date,a="0";const l=function(){a=`${+i.style.opacity+(new Date().getTime()-n)/o}`,i.style.opacity=a,n=+new Date,+a<1&&("requestAnimationFrame"in window?requestAnimationFrame(l):setTimeout(l,16))};l()}}function iu(i,o){return Fs(i)?Array.from(i.querySelectorAll(o)):[]}function Bn(i,o){return Fs(i)?i.matches(o)?i:i.querySelector(o):null}function bo(i,o){i&&document.activeElement!==i&&i.focus(o)}function Ro(i,o){if(Fs(i)){const n=i.getAttribute(o);return isNaN(n)?n==="true"||n==="false"?n==="true":n:+n}}function X7(i,o=""){const n=iu(i,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o},
3155
3155
  [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o},
3156
3156
  input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o},
3157
3157
  select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${o},
@@ -5,8 +5,8 @@ var ot = (n) => {
5
5
  var Xt = (n, t, s) => t in n ? Qt(n, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : n[t] = s;
6
6
  var M = (n, t, s) => Xt(n, typeof t != "symbol" ? t + "" : t, s), X = (n, t, s) => t.has(n) || ot("Cannot " + s);
7
7
  var i = (n, t, s) => (X(n, t, "read from private field"), s ? s.call(n) : t.get(n)), d = (n, t, s) => t.has(n) ? ot("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, s), c = (n, t, s, r) => (X(n, t, "write to private field"), r ? r.call(n, s) : t.set(n, s), s), a = (n, t, s) => (X(n, t, "access private method"), s);
8
- import { y as Yt, x as ut, z as j, A as Zt, b as ti, E as nt, e as lt, B as _, C as ii, F as ei, d as si, G as ai, l as rt, H as dt, D as ni, L as Y, J as Z } from "./install-BsLZwXoY.js";
9
- import { R as ri } from "./vidstack-DqAw8m9J-KGsxHqJp.js";
8
+ import { y as Yt, x as ut, z as j, A as Zt, b as ti, E as nt, e as lt, B as _, C as ii, F as ei, d as si, G as ai, l as rt, H as dt, D as ni, L as Y, J as Z } from "./install-CW8oHjb5.js";
9
+ import { R as ri } from "./vidstack-DqAw8m9J-CfsZRUOX.js";
10
10
  let q = null, z = [], J = [];
11
11
  function ht() {
12
12
  return q ?? (q = new AudioContext());
@@ -5,7 +5,7 @@ var w = (t) => {
5
5
  var P = (t, e, a) => e in t ? _(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
6
6
  var u = (t, e, a) => P(t, typeof e != "symbol" ? e + "" : e, a), C = (t, e, a) => e.has(t) || w("Cannot " + a);
7
7
  var c = (t, e, a) => (C(t, e, "read from private field"), a ? a.call(t) : e.get(t)), m = (t, e, a) => e.has(t) ? w("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, a), y = (t, e, a, o) => (C(t, e, "write to private field"), o ? o.call(t, a) : e.set(t, a), a), s = (t, e, a) => (C(t, e, "access private method"), a);
8
- import { l as b, h as A, S as O, C as D, d as R, m as M } from "./install-BsLZwXoY.js";
8
+ import { l as b, h as A, S as O, C as D, d as R, m as M } from "./install-CW8oHjb5.js";
9
9
  function G() {
10
10
  return "https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1";
11
11
  }
@@ -94,7 +94,7 @@ class F {
94
94
  async load(e) {
95
95
  if (!c(this, n))
96
96
  throw Error("[vidstack] google cast player was not initialized");
97
- return new (await import("./vidstack-google-cast-BIJwLT0g.js")).GoogleCastProvider(c(this, n), e);
97
+ return new (await import("./vidstack-google-cast-C7wR4EmH.js")).GoogleCastProvider(c(this, n), e);
98
98
  }
99
99
  }
100
100
  n = new WeakMap(), r = new WeakSet(), S = async function(e) {
@@ -5,7 +5,7 @@ var g = (s) => {
5
5
  var w = (s, t, i) => t in s ? y(s, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[t] = i;
6
6
  var c = (s, t, i) => w(s, typeof t != "symbol" ? t + "" : t, i), h = (s, t, i) => t.has(s) || g("Cannot " + i);
7
7
  var e = (s, t, i) => (h(s, t, "read from private field"), i ? i.call(s) : t.get(s)), l = (s, t, i) => t.has(s) ? g("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(s) : t.set(s, i), p = (s, t, i, a) => (h(s, t, "write to private field"), a ? a.call(s, i) : t.set(s, i), i), u = (s, t, i) => (h(s, t, "access private method"), i);
8
- import { J as M, l as f, e as A, d as P, R as O, b as S } from "./install-BsLZwXoY.js";
8
+ import { J as M, l as f, e as A, d as P, R as O, b as S } from "./install-CW8oHjb5.js";
9
9
  var r, o, b, m;
10
10
  class W {
11
11
  constructor(t) {
@@ -1,4 +1,4 @@
1
- import { c as d, a as i, I as l, e as m } from "./install-BsLZwXoY.js";
1
+ import { c as d, a as i, I as l, e as m } from "./install-CW8oHjb5.js";
2
2
  const p = /* @__PURE__ */ i(
3
3
  '<svg viewBox="0 0 32 32" fill="none" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"></svg>'
4
4
  );
@@ -3,7 +3,7 @@ var l = (i) => {
3
3
  };
4
4
  var c = (i, t, s) => t.has(i) || l("Cannot " + s);
5
5
  var r = (i, t, s) => (c(i, t, "read from private field"), s ? s.call(i) : t.get(i)), e = (i, t, s) => t.has(i) ? l("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, s), h = (i, t, s, f) => (c(i, t, "write to private field"), f ? f.call(i, s) : t.set(i, s), s), m = (i, t, s) => (c(i, t, "access private method"), s);
6
- import { j as p, t as u } from "./install-BsLZwXoY.js";
6
+ import { j as p, t as u } from "./install-CW8oHjb5.js";
7
7
  var o, a, n, d;
8
8
  class F {
9
9
  constructor(t) {
@@ -1,8 +1,8 @@
1
1
  var a = Object.defineProperty;
2
2
  var o = (i, e, t) => e in i ? a(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
3
  var r = (i, e, t) => o(i, typeof e != "symbol" ? e + "" : e, t);
4
- import { s as p } from "./install-BsLZwXoY.js";
5
- import { H as d, a as u } from "./vidstack-Bq6c3Bam-DZbYZF-M.js";
4
+ import { s as p } from "./install-CW8oHjb5.js";
5
+ import { H as d, a as u } from "./vidstack-Bq6c3Bam-LsSTFDin.js";
6
6
  class n extends d {
7
7
  constructor(t, s) {
8
8
  super(t, s);
@@ -5,9 +5,9 @@ var Y = (n) => {
5
5
  var wt = (n, t, e) => t in n ? vt(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
6
6
  var I = (n, t, e) => wt(n, typeof t != "symbol" ? t + "" : t, e), b = (n, t, e) => t.has(n) || Y("Cannot " + e);
7
7
  var i = (n, t, e) => (b(n, t, "read from private field"), e ? e.call(n) : t.get(n)), f = (n, t, e) => t.has(n) ? Y("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, e), p = (n, t, e, r) => (b(n, t, "write to private field"), r ? r.call(n, e) : t.set(n, e), e), h = (n, t, e) => (b(n, t, "access private method"), e);
8
- import { o as Et, b as _, p as Lt, d as At, Q as z, l as J, e as Dt, D as N, f as xt, g as O, T as Mt, L as q, q as Ct, r as Nt, t as Rt, h as Ft, j as Z, k as Pt, m as qt, n as _t } from "./install-BsLZwXoY.js";
9
- import { VideoProvider as $t } from "./vidstack-video-Cz3sGCA1.js";
10
- import { R as jt } from "./vidstack-DqAw8m9J-KGsxHqJp.js";
8
+ import { o as Et, b as _, p as Lt, d as At, Q as z, l as J, e as Dt, D as N, f as xt, g as O, T as Mt, L as q, q as Ct, r as Nt, t as Rt, h as Ft, j as Z, k as Pt, m as qt, n as _t } from "./install-CW8oHjb5.js";
9
+ import { VideoProvider as $t } from "./vidstack-video-CdqnqAr9.js";
10
+ import { R as jt } from "./vidstack-DqAw8m9J-CfsZRUOX.js";
11
11
  function W(n) {
12
12
  try {
13
13
  return new Intl.DisplayNames(navigator.languages, { type: "language" }).of(n) ?? null;
@@ -5,9 +5,9 @@ var W = (d) => {
5
5
  var vt = (d, t, s) => t in d ? Lt(d, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : d[t] = s;
6
6
  var G = (d, t, s) => vt(d, typeof t != "symbol" ? t + "" : t, s), O = (d, t, s) => t.has(d) || W("Cannot " + s);
7
7
  var e = (d, t, s) => (O(d, t, "read from private field"), s ? s.call(d) : t.get(d)), T = (d, t, s) => t.has(d) ? W("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(d) : t.set(d, s), l = (d, t, s, i) => (O(d, t, "write to private field"), i ? i.call(d, s) : t.set(d, s), s), r = (d, t, s) => (O(d, t, "access private method"), s);
8
- import { y as St, K as L, U as Z, x as At, D as tt, d as V, l as et, e as It, V as bt, L as Rt } from "./install-BsLZwXoY.js";
9
- import { R as wt } from "./vidstack-DqAw8m9J-KGsxHqJp.js";
10
- import { g as Mt, a as Dt, b as it, h as st, l as Nt, c as Pt } from "./vidstack-D2pY00kU-CGaaa7oi.js";
8
+ import { y as St, K as L, U as Z, x as At, D as tt, d as V, l as et, e as It, V as bt, L as Rt } from "./install-CW8oHjb5.js";
9
+ import { R as wt } from "./vidstack-DqAw8m9J-CfsZRUOX.js";
10
+ import { g as Mt, a as Dt, b as it, h as st, l as Nt, c as Pt } from "./vidstack-D2pY00kU-BwJtWNq2.js";
11
11
  var g, _, at;
12
12
  class _t {
13
13
  constructor(t) {
@@ -5,9 +5,9 @@ var N = (n) => {
5
5
  var ot = (n, t, i) => t in n ? rt(n, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : n[t] = i;
6
6
  var _ = (n, t, i) => ot(n, typeof t != "symbol" ? t + "" : t, i), R = (n, t, i) => t.has(n) || N("Cannot " + i);
7
7
  var e = (n, t, i) => (R(n, t, "read from private field"), i ? i.call(n) : t.get(n)), p = (n, t, i) => t.has(n) ? N("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, i), f = (n, t, i, s) => (R(n, t, "write to private field"), s ? s.call(n, i) : t.set(n, i), i), a = (n, t, i) => (R(n, t, "access private method"), i);
8
- import { i as ht, b as C, p as at, d as O, Q as V, l as j, e as dt, D as x, f as ut, T as ct, g as k, L as $, h as lt, j as q, k as pt, m as ft, n as vt } from "./install-BsLZwXoY.js";
9
- import { VideoProvider as yt } from "./vidstack-video-Cz3sGCA1.js";
10
- import { R as gt } from "./vidstack-DqAw8m9J-KGsxHqJp.js";
8
+ import { i as ht, b as C, p as at, d as O, Q as V, l as j, e as dt, D as x, f as ut, T as ct, g as k, L as $, h as lt, j as q, k as pt, m as ft, n as vt } from "./install-CW8oHjb5.js";
9
+ import { VideoProvider as yt } from "./vidstack-video-CdqnqAr9.js";
10
+ import { R as gt } from "./vidstack-DqAw8m9J-CfsZRUOX.js";
11
11
  const Lt = (n) => ut(n);
12
12
  var T, h, o, D, b, r, E, M, U, F, Q, K, W, B, J, X, Y, z, G, Z, tt;
13
13
  class St {
@@ -5,8 +5,8 @@ var b = (i) => {
5
5
  var N = (i, t, e) => t in i ? $(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
6
6
  var m = (i, t, e) => N(i, typeof t != "symbol" ? t + "" : t, e), E = (i, t, e) => t.has(i) || b("Cannot " + e);
7
7
  var s = (i, t, e) => (E(i, t, "read from private field"), e ? e.call(i) : t.get(i)), r = (i, t, e) => t.has(i) ? b("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, e), c = (i, t, e, n) => (E(i, t, "write to private field"), n ? n.call(i, e) : t.set(i, e), e), p = (i, t, e) => (E(i, t, "access private method"), e);
8
- import { s as U, u as V, v as A, w as q, x as C, l as F, D as Y, E as _, T as j, g as v } from "./install-BsLZwXoY.js";
9
- import { H as z, a as B } from "./vidstack-Bq6c3Bam-DZbYZF-M.js";
8
+ import { s as U, u as V, v as A, w as q, x as C, l as F, D as Y, E as _, T as j, g as v } from "./install-CW8oHjb5.js";
9
+ import { H as z, a as B } from "./vidstack-Bq6c3Bam-LsSTFDin.js";
10
10
  var P, f, k, D, H;
11
11
  class G {
12
12
  constructor(t, e) {
@@ -5,9 +5,9 @@ var N = (r) => {
5
5
  var de = (r, c, e) => c in r ? ue(r, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[c] = e;
6
6
  var b = (r, c, e) => de(r, typeof c != "symbol" ? c + "" : c, e), S = (r, c, e) => c.has(r) || N("Cannot " + e);
7
7
  var t = (r, c, e) => (S(r, c, "read from private field"), e ? e.call(r) : c.get(r)), f = (r, c, e) => c.has(r) ? N("Cannot add the same private member more than once") : c instanceof WeakSet ? c.add(r) : c.set(r, e), u = (r, c, e, i) => (S(r, c, "write to private field"), i ? i.call(r, e) : c.set(r, e), e), o = (r, c, e) => (S(r, c, "access private method"), e);
8
- import { y as fe, J as U, K as C, p as pe, e as q, d as Q, b as ye, M as _, L as R, l as be, N as ke, T as ve, Q as J } from "./install-BsLZwXoY.js";
9
- import { R as me } from "./vidstack-DqAw8m9J-KGsxHqJp.js";
10
- import { E as we } from "./vidstack-DDXt6fpN-DZzfn5Lr.js";
8
+ import { y as fe, J as U, K as C, p as pe, e as q, d as Q, b as ye, M as _, L as R, l as be, N as ke, T as ve, Q as J } from "./install-CW8oHjb5.js";
9
+ import { R as me } from "./vidstack-DqAw8m9J-CfsZRUOX.js";
10
+ import { E as we } from "./vidstack-DDXt6fpN-CA2iLYFD.js";
11
11
  import { resolveVimeoVideoId as Pe, getVimeoVideoInfo as Te } from "./vidstack-krOAtKMi-B4IZWKdc.js";
12
12
  const Ce = [
13
13
  "bufferend",
@@ -5,8 +5,8 @@ var B = (r) => {
5
5
  var N = (r, n, e) => n in r ? K(r, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[n] = e;
6
6
  var T = (r, n, e) => N(r, typeof n != "symbol" ? n + "" : n, e), R = (r, n, e) => n.has(r) || B("Cannot " + e);
7
7
  var s = (r, n, e) => (R(r, n, "read from private field"), e ? e.call(r) : n.get(r)), p = (r, n, e) => n.has(r) ? B("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(r) : n.set(r, e), l = (r, n, e, t) => (R(r, n, "write to private field"), t ? t.call(r, e) : n.set(r, e), e), o = (r, n, e) => (R(r, n, "access private method"), e);
8
- import { y as q, J as z, p as A, e as G, b as H, M as Q, K as C, O as W, t as $, P as X } from "./install-BsLZwXoY.js";
9
- import { E as Z } from "./vidstack-DDXt6fpN-DZzfn5Lr.js";
8
+ import { y as q, J as z, p as A, e as G, b as H, M as Q, K as C, O as W, t as $, P as X } from "./install-CW8oHjb5.js";
9
+ import { E as Z } from "./vidstack-DDXt6fpN-CA2iLYFD.js";
10
10
  import { resolveYouTubeVideoId as ee } from "./vidstack-Dm1xEU9Q-qSXq3AI-.js";
11
11
  const b = {
12
12
  Ended: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "25.10.64",
3
+ "version": "25.10.66",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
@@ -34,6 +34,7 @@ const fieldsToSend = [
34
34
  'email',
35
35
  'contact',
36
36
  'chatName',
37
+ 'forcePasswordChange',
37
38
  ];
38
39
 
39
40
  const getUsersList = async (params) => {
@@ -193,9 +193,15 @@ onBeforeUnmount(() => {
193
193
  }
194
194
 
195
195
  &--lg {
196
- .wt-vidstack-player__player {
197
- display: flex;
198
- align-items: center;
196
+ .wt-vidstack-player {
197
+ &__player {
198
+ display: flex;
199
+ align-items: center;
200
+ }
201
+ &__provider {
202
+ width: 100%;
203
+ min-width: 0;
204
+ }
199
205
  }
200
206
  }
201
207
  }
@@ -219,7 +225,9 @@ media-player[data-hocus] { // hover or focus within https://vidstack.io/docs/wc/
219
225
  .wt-vidstack-player {
220
226
  video {
221
227
  height: 100%;
222
- object-fit: fill;
228
+ object-fit: fill;width: 100%;
229
+ min-width: 0;
230
+
223
231
  }
224
232
  }
225
233
  </style>