cobrowse-sdk-js 3.24.0 → 3.24.1

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.
@@ -1,3 +1,3 @@
1
1
  /*! For license information please see CobrowseIO.js.LICENSE.txt */
2
- (()=>{var e,t,r,n,i={20949(e,t,r){"use strict";r.r(t),r.d(t,{arrow:()=>De,autoPlacement:()=>Te,autoUpdate:()=>Ae,computePosition:()=>Ge,detectOverflow:()=>Oe,flip:()=>Re,getOverflowAncestors:()=>ce,hide:()=>ke,inline:()=>xe,limitShift:()=>je,offset:()=>Ne,platform:()=>Se,shift:()=>Pe,size:()=>Me});const n=["top","right","bottom","left"],i=["start","end"],o=n.reduce((e,t)=>e.concat(t,t+"-"+i[0],t+"-"+i[1]),[]),s=Math.min,a=Math.max,c=Math.round,l=Math.floor,u=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function h(e,t,r){return a(e,s(t,r))}function p(e,t){return"function"==typeof e?e(t):e}function _(e){return e.split("-")[0]}function v(e){return e.split("-")[1]}function E(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}const g=new Set(["top","bottom"]);function y(e){return g.has(_(e))?"y":"x"}function I(e){return E(y(e))}function w(e,t,r){void 0===r&&(r=!1);const n=v(e),i=I(e),o=m(i);let s="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=O(s)),[s,O(s)]}function b(e){return e.replace(/start|end/g,e=>f[e])}const L=["left","right"],S=["right","left"],C=["top","bottom"],A=["bottom","top"];function O(e){return e.replace(/left|right|bottom|top/g,e=>d[e])}function N(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function T(e){const{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function P(e,t,r){let{reference:n,floating:i}=e;const o=y(t),s=I(t),a=m(s),c=_(t),l="y"===o,u=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,f=n[a]/2-i[a]/2;let h;switch(c){case"top":h={x:u,y:n.y-i.height};break;case"bottom":h={x:u,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:d};break;case"left":h={x:n.x-i.width,y:d};break;default:h={x:n.x,y:n.y}}switch(v(t)){case"start":h[s]-=f*(r&&l?-1:1);break;case"end":h[s]+=f*(r&&l?-1:1)}return h}async function R(e,t){var r;void 0===t&&(t={});const{x:n,y:i,platform:o,rects:s,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=p(t,e),_=N(h),v=a[f?"floating"===d?"reference":"floating":d],E=T(await o.getClippingRect({element:null==(r=await(null==o.isElement?void 0:o.isElement(v)))||r?v:v.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:u,strategy:c})),m="floating"===d?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,g=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),y=await(null==o.isElement?void 0:o.isElement(g))&&await(null==o.getScale?void 0:o.getScale(g))||{x:1,y:1},I=T(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:g,strategy:c}):m);return{top:(E.top-I.top+_.top)/y.y,bottom:(I.bottom-E.bottom+_.bottom)/y.y,left:(E.left-I.left+_.left)/y.x,right:(I.right-E.right+_.right)/y.x}}function M(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function k(e){return n.some(t=>e[t]>=0)}function D(e){const t=s(...e.map(e=>e.left)),r=s(...e.map(e=>e.top));return{x:t,y:r,width:a(...e.map(e=>e.right))-t,height:a(...e.map(e=>e.bottom))-r}}const x=new Set(["left","top"]);function j(){return"undefined"!=typeof window}function G(e){return V(e)?(e.nodeName||"").toLowerCase():"#document"}function U(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function W(e){var t;return null==(t=(V(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function V(e){return!!j()&&(e instanceof Node||e instanceof U(e).Node)}function z(e){return!!j()&&(e instanceof Element||e instanceof U(e).Element)}function F(e){return!!j()&&(e instanceof HTMLElement||e instanceof U(e).HTMLElement)}function B(e){return!(!j()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof U(e).ShadowRoot)}const H=new Set(["inline","contents"]);function Y(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=ie(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!H.has(i)}const Q=new Set(["table","td","th"]);function J(e){return Q.has(G(e))}const K=[":popover-open",":modal"];function X(e){return K.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const q=["transform","translate","scale","rotate","perspective"],Z=["transform","translate","scale","rotate","perspective","filter"],$=["paint","layout","strict","content"];function ee(e){const t=te(),r=z(e)?ie(e):e;return q.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||Z.some(e=>(r.willChange||"").includes(e))||$.some(e=>(r.contain||"").includes(e))}function te(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const re=new Set(["html","body","#document"]);function ne(e){return re.has(G(e))}function ie(e){return U(e).getComputedStyle(e)}function oe(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function se(e){if("html"===G(e))return e;const t=e.assignedSlot||e.parentNode||B(e)&&e.host||W(e);return B(t)?t.host:t}function ae(e){const t=se(e);return ne(t)?e.ownerDocument?e.ownerDocument.body:e.body:F(t)&&Y(t)?t:ae(t)}function ce(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=ae(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),s=U(i);if(o){const e=le(s);return t.concat(s,s.visualViewport||[],Y(i)?i:[],e&&r?ce(e):[])}return t.concat(i,ce(i,[],r))}function le(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ue(e){const t=ie(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=F(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=c(r)!==o||c(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function de(e){return z(e)?e:e.contextElement}function fe(e){const t=de(e);if(!F(t))return u(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:o}=ue(t);let s=(o?c(r.width):r.width)/n,a=(o?c(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const he=u(0);function pe(e){const t=U(e);return te()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:he}function _e(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),o=de(e);let s=u(1);t&&(n?z(n)&&(s=fe(n)):s=fe(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==U(e))&&t}(o,r,n)?pe(o):u(0);let c=(i.left+a.x)/s.x,l=(i.top+a.y)/s.y,d=i.width/s.x,f=i.height/s.y;if(o){const e=U(o),t=n&&z(n)?U(n):n;let r=e,i=le(r);for(;i&&n&&t!==r;){const e=fe(i),t=i.getBoundingClientRect(),n=ie(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,l*=e.y,d*=e.x,f*=e.y,c+=o,l+=s,r=U(i),i=le(r)}}return T({width:d,height:f,x:c,y:l})}function ve(e,t){const r=oe(e).scrollLeft;return t?t.left+r:_e(W(e)).left+r}function Ee(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ve(e,r),y:r.top+t.scrollTop}}const me=new Set(["absolute","fixed"]);function ge(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=U(e),n=W(e),i=r.visualViewport;let o=n.clientWidth,s=n.clientHeight,a=0,c=0;if(i){o=i.width,s=i.height;const e=te();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,c=i.offsetTop)}const l=ve(n);if(l<=0){const e=n.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,s=Math.abs(n.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else l<=25&&(o+=l);return{width:o,height:s,x:a,y:c}}(e,r);else if("document"===t)n=function(e){const t=W(e),r=oe(e),n=e.ownerDocument.body,i=a(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=a(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+ve(e);const c=-r.scrollTop;return"rtl"===ie(n).direction&&(s+=a(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:c}}(W(e));else if(z(t))n=function(e,t){const r=_e(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=F(e)?fe(e):u(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:n*o.y}}(t,r);else{const r=pe(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return T(n)}function ye(e,t){const r=se(e);return!(r===t||!z(r)||ne(r))&&("fixed"===ie(r).position||ye(r,t))}function Ie(e,t,r){const n=F(t),i=W(t),o="fixed"===r,s=_e(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const c=u(0);function l(){c.x=ve(i)}if(n||!n&&!o)if(("body"!==G(t)||Y(i))&&(a=oe(t)),n){const e=_e(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();o&&!n&&i&&l();const d=!i||n||o?u(0):Ee(i,a);return{x:s.left+a.scrollLeft-c.x-d.x,y:s.top+a.scrollTop-c.y-d.y,width:s.width,height:s.height}}function we(e){return"static"===ie(e).position}function be(e,t){if(!F(e)||"fixed"===ie(e).position)return null;if(t)return t(e);let r=e.offsetParent;return W(e)===r&&(r=r.ownerDocument.body),r}function Le(e,t){const r=U(e);if(X(e))return r;if(!F(e)){let t=se(e);for(;t&&!ne(t);){if(z(t)&&!we(t))return t;t=se(t)}return r}let n=be(e,t);for(;n&&J(n)&&we(n);)n=be(n,t);return n&&ne(n)&&we(n)&&!ee(n)?r:n||function(e){let t=se(e);for(;F(t)&&!ne(t);){if(ee(t))return t;if(X(t))return null;t=se(t)}return null}(e)||r}const Se={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const o="fixed"===i,s=W(n),a=!!t&&X(t.floating);if(n===s||a&&o)return r;let c={scrollLeft:0,scrollTop:0},l=u(1);const d=u(0),f=F(n);if((f||!f&&!o)&&(("body"!==G(n)||Y(s))&&(c=oe(n)),F(n))){const e=_e(n);l=fe(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}const h=!s||f||o?u(0):Ee(s,c);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-c.scrollLeft*l.x+d.x+h.x,y:r.y*l.y-c.scrollTop*l.y+d.y+h.y}},getDocumentElement:W,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const o=[..."clippingAncestors"===r?X(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=ce(e,[],!1).filter(e=>z(e)&&"body"!==G(e)),i=null;const o="fixed"===ie(e).position;let s=o?se(e):e;for(;z(s)&&!ne(s);){const t=ie(s),r=ee(s);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&i&&me.has(i.position)||Y(s)&&!r&&ye(e,s))?n=n.filter(e=>e!==s):i=t,s=se(s)}return t.set(e,n),n}(t,this._c):[].concat(r),n],c=o[0],l=o.reduce((e,r)=>{const n=ge(t,r,i);return e.top=a(n.top,e.top),e.right=s(n.right,e.right),e.bottom=s(n.bottom,e.bottom),e.left=a(n.left,e.left),e},ge(t,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Le,getElementRects:async function(e){const t=this.getOffsetParent||Le,r=this.getDimensions,n=await r(e.floating);return{reference:Ie(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=ue(e);return{width:t,height:r}},getScale:fe,isElement:z,isRTL:function(e){return"rtl"===ie(e).direction}};function Ce(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ae(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=n,f=de(e),h=i||o?[...f?ce(f):[],...ce(t)]:[];h.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),o&&e.addEventListener("resize",r)});const p=f&&u?function(e,t){let r,n=null;const i=W(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function c(u,d){void 0===u&&(u=!1),void 0===d&&(d=1),o();const f=e.getBoundingClientRect(),{left:h,top:p,width:_,height:v}=f;if(u||t(),!_||!v)return;const E={rootMargin:-l(p)+"px "+-l(i.clientWidth-(h+_))+"px "+-l(i.clientHeight-(p+v))+"px "+-l(h)+"px",threshold:a(0,s(1,d))||1};let m=!0;function g(t){const n=t[0].intersectionRatio;if(n!==d){if(!m)return c();n?c(!1,n):r=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==n||Ce(f,e.getBoundingClientRect())||c(),m=!1}try{n=new IntersectionObserver(g,{...E,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(g,E)}n.observe(e)}(!0),o}(f,r):null;let _,v=-1,E=null;c&&(E=new ResizeObserver(e=>{let[n]=e;n&&n.target===f&&E&&(E.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=E)||e.observe(t)})),r()}),f&&!d&&E.observe(f),E.observe(t));let m=d?_e(e):null;return d&&function t(){const n=_e(e);m&&!Ce(m,n)&&r(),m=n,_=requestAnimationFrame(t)}(),r(),()=>{var e;h.forEach(e=>{i&&e.removeEventListener("scroll",r),o&&e.removeEventListener("resize",r)}),null==p||p(),null==(e=E)||e.disconnect(),E=null,d&&cancelAnimationFrame(_)}}const Oe=R,Ne=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:i,y:o,placement:s,middlewareData:a}=t,c=await async function(e,t){const{placement:r,platform:n,elements:i}=e,o=await(null==n.isRTL?void 0:n.isRTL(i.floating)),s=_(r),a=v(r),c="y"===y(r),l=x.has(s)?-1:1,u=o&&c?-1:1,d=p(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:E}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof E&&(h="end"===a?-1*E:E),c?{x:h*u,y:f*l}:{x:f*l,y:h*u}}(t,e);return s===(null==(r=a.offset)?void 0:r.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:s}}}}},Te=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;const{rects:s,middlewareData:a,placement:c,platform:l,elements:u}=t,{crossAxis:d=!1,alignment:f,allowedPlacements:h=o,autoAlignment:E=!0,...m}=p(e,t),g=void 0!==f||h===o?function(e,t,r){return(e?[...r.filter(t=>v(t)===e),...r.filter(t=>v(t)!==e)]:r.filter(e=>_(e)===e)).filter(r=>!e||v(r)===e||!!t&&b(r)!==r)}(f||null,E,h):h,y=await R(t,m),I=(null==(r=a.autoPlacement)?void 0:r.index)||0,L=g[I];if(null==L)return{};const S=w(L,s,await(null==l.isRTL?void 0:l.isRTL(u.floating)));if(c!==L)return{reset:{placement:g[0]}};const C=[y[_(L)],y[S[0]],y[S[1]]],A=[...(null==(n=a.autoPlacement)?void 0:n.overflows)||[],{placement:L,overflows:C}],O=g[I+1];if(O)return{data:{index:I+1,overflows:A},reset:{placement:O}};const N=A.map(e=>{const t=v(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),T=(null==(i=N.filter(e=>e[2].slice(0,v(e[0])?2:3).every(e=>e<=0))[0])?void 0:i[0])||N[0][0];return T!==c?{data:{index:I+1,overflows:A},reset:{placement:T}}:{}}}},Pe=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=p(e,t),l={x:r,y:n},u=await R(t,c),d=y(_(i)),f=E(d);let v=l[f],m=l[d];if(o){const e="y"===f?"bottom":"right";v=h(v+u["y"===f?"top":"left"],v,v-u[e])}if(s){const e="y"===d?"bottom":"right";m=h(m+u["y"===d?"top":"left"],m,m-u[e])}const g=a.fn({...t,[f]:v,[d]:m});return{...g,data:{x:g.x-r,y:g.y-n,enabled:{[f]:o,[d]:s}}}}}},Re=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:c,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:m=!0,...g}=p(e,t);if(null!=(r=o.arrow)&&r.alignmentOffset)return{};const I=_(i),N=y(a),T=_(a)===a,P=await(null==c.isRTL?void 0:c.isRTL(l.floating)),M=f||(T||!m?[O(a)]:function(e){const t=O(e);return[b(e),t,b(t)]}(a)),k="none"!==E;!f&&k&&M.push(...function(e,t,r,n){const i=v(e);let o=function(e,t,r){switch(e){case"top":case"bottom":return r?t?S:L:t?L:S;case"left":case"right":return t?C:A;default:return[]}}(_(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(b)))),o}(a,m,E,P));const D=[a,...M],x=await R(t,g),j=[];let G=(null==(n=o.flip)?void 0:n.overflows)||[];if(u&&j.push(x[I]),d){const e=w(i,s,P);j.push(x[e[0]],x[e[1]])}if(G=[...G,{placement:i,overflows:j}],!j.every(e=>e<=0)){var U,W;const e=((null==(U=o.flip)?void 0:U.index)||0)+1,t=D[e];if(t&&("alignment"!==d||N===y(t)||G.every(e=>y(e.placement)!==N||e.overflows[0]>0)))return{data:{index:e,overflows:G},reset:{placement:t}};let r=null==(W=G.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:W.placement;if(!r)switch(h){case"bestFit":{var V;const e=null==(V=G.filter(e=>{if(k){const t=y(e.placement);return t===N||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:V[0];e&&(r=e);break}case"initialPlacement":r=a}if(i!==r)return{reset:{placement:r}}}return{}}}},Me=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:i,rects:o,platform:c,elements:l}=t,{apply:u=()=>{},...d}=p(e,t),f=await R(t,d),h=_(i),E=v(i),m="y"===y(i),{width:g,height:I}=o.floating;let w,b;"top"===h||"bottom"===h?(w=h,b=E===(await(null==c.isRTL?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(b=h,w="end"===E?"top":"bottom");const L=I-f.top-f.bottom,S=g-f.left-f.right,C=s(I-f[w],L),A=s(g-f[b],S),O=!t.middlewareData.shift;let N=C,T=A;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(T=S),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(N=L),O&&!E){const e=a(f.left,0),t=a(f.right,0),r=a(f.top,0),n=a(f.bottom,0);m?T=g-2*(0!==e||0!==t?e+t:a(f.left,f.right)):N=I-2*(0!==r||0!==n?r+n:a(f.top,f.bottom))}await u({...t,availableWidth:T,availableHeight:N});const P=await c.getDimensions(l.floating);return g!==P.width||I!==P.height?{reset:{rects:!0}}:{}}}},ke=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...i}=p(e,t);switch(n){case"referenceHidden":{const e=M(await R(t,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:k(e)}}}case"escaped":{const e=M(await R(t,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:k(e)}}}default:return{}}}}},De=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:i,rects:o,platform:a,elements:c,middlewareData:l}=t,{element:u,padding:d=0}=p(e,t)||{};if(null==u)return{};const f=N(d),_={x:r,y:n},E=I(i),g=m(E),y=await a.getDimensions(u),w="y"===E,b=w?"top":"left",L=w?"bottom":"right",S=w?"clientHeight":"clientWidth",C=o.reference[g]+o.reference[E]-_[E]-o.floating[g],A=_[E]-o.reference[E],O=await(null==a.getOffsetParent?void 0:a.getOffsetParent(u));let T=O?O[S]:0;T&&await(null==a.isElement?void 0:a.isElement(O))||(T=c.floating[S]||o.floating[g]);const P=C/2-A/2,R=T/2-y[g]/2-1,M=s(f[b],R),k=s(f[L],R),D=M,x=T-y[g]-k,j=T/2-y[g]/2+P,G=h(D,j,x),U=!l.arrow&&null!=v(i)&&j!==G&&o.reference[g]/2-(j<D?M:k)-y[g]/2<0,W=U?j<D?j-D:j-x:0;return{[E]:_[E]+W,data:{[E]:G,centerOffset:j-G-W,...U&&{alignmentOffset:W}},reset:U}}}),xe=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:i,platform:o,strategy:c}=t,{padding:l=2,x:u,y:d}=p(e,t),f=Array.from(await(null==o.getClientRects?void 0:o.getClientRects(n.reference))||[]),h=function(e){const t=e.slice().sort((e,t)=>e.y-t.y),r=[];let n=null;for(let e=0;e<t.length;e++){const i=t[e];!n||i.y-n.y>n.height/2?r.push([i]):r[r.length-1].push(i),n=i}return r.map(e=>T(D(e)))}(f),v=T(D(f)),E=N(l),m=await o.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=u&&null!=d)return h.find(e=>u>e.left-E.left&&u<e.right+E.right&&d>e.top-E.top&&d<e.bottom+E.bottom)||v;if(h.length>=2){if("y"===y(r)){const e=h[0],t=h[h.length-1],n="top"===_(r),i=e.top,o=t.bottom,s=n?e.left:t.left,a=n?e.right:t.right;return{top:i,bottom:o,left:s,right:a,width:a-s,height:o-i,x:s,y:i}}const e="left"===_(r),t=a(...h.map(e=>e.right)),n=s(...h.map(e=>e.left)),i=h.filter(r=>e?r.left===n:r.right===t),o=i[0].top,c=i[i.length-1].bottom;return{top:o,bottom:c,left:n,right:t,width:t-n,height:c-o,x:n,y:o}}return v}},floating:n.floating,strategy:c});return i.reference.x!==m.reference.x||i.reference.y!==m.reference.y||i.reference.width!==m.reference.width||i.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}},je=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=p(e,t),u={x:r,y:n},d=y(i),f=E(d);let h=u[f],v=u[d];const m=p(a,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+g.mainAxis,r=o.reference[f]+o.reference[e]-g.mainAxis;h<t?h=t:h>r&&(h=r)}if(l){var I,w;const e="y"===f?"width":"height",t=x.has(_(i)),r=o.reference[d]-o.floating[e]+(t&&(null==(I=s.offset)?void 0:I[d])||0)+(t?0:g.crossAxis),n=o.reference[d]+o.reference[e]+(t?0:(null==(w=s.offset)?void 0:w[d])||0)-(t?g.crossAxis:0);v<r?v=r:v>n&&(v=n)}return{[f]:h,[d]:v}}}},Ge=(e,t,r)=>{const n=new Map,i={platform:Se,...r},o={...i.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,a=o.filter(Boolean),c=await(null==s.isRTL?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=P(l,n,c),f=n,h={},p=0;for(let r=0;r<a.length;r++){const{name:o,fn:_}=a[r],{x:v,y:E,data:m,reset:g}=await _({x:u,y:d,initialPlacement:n,placement:f,strategy:i,middlewareData:h,rects:l,platform:s,elements:{reference:e,floating:t}});u=null!=v?v:u,d=null!=E?E:d,h={...h,[o]:{...h[o],...m}},g&&p<=50&&(p++,"object"==typeof g&&(g.placement&&(f=g.placement),g.rects&&(l=!0===g.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):g.rects),({x:u,y:d}=P(l,f,c))),r=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})}},60565(e,t,r){"use strict";function n(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.EbmlElementId=void 0,t.getEbmlElementIdLength=o,t.getEbmlElementLevel=function(e){switch(e){case i.Ebml:case i.Segment:return 0;case i.Cluster:case i.Cues:case i.DocType:case i.DocTypeReadVersion:case i.DocTypeVersion:case i.EbmlMaxIdLength:case i.EbmlMaxSizeLength:case i.EbmlReadVersion:case i.EbmlVersion:case i.Info:case i.SeekHead:case i.Tracks:return 1;case i.CuePoint:case i.DateUTC:case i.Duration:case i.MuxingApp:case i.Position:case i.SegmentUID:case i.Seek:case i.SimpleBlock:case i.Timestamp:case i.TimestampScale:case i.Title:case i.TrackEntry:case i.WritingApp:return 2;case i.Audio:case i.CodecDecodeAll:case i.CodecID:case i.CodecName:case i.CodecPrivate:case i.CueTime:case i.CueTrackPositions:case i.DefaultDuration:case i.FlagDefault:case i.FlagEnabled:case i.FlagForced:case i.FlagLacing:case i.MaxBlockAdditionID:case i.MinCache:case i.SeekID:case i.SeekPosition:case i.SeekPreRoll:case i.TrackNumber:case i.TrackTimestampScale:case i.TrackType:case i.TrackUID:case i.Video:return 3;case i.Channels:case i.CueBlockNumber:case i.CueClusterPosition:case i.CueTrack:case i.FlagInterlaced:case i.PixelHeight:case i.PixelWidth:case i.SamplingFrequency:case i.Colour:return 4;case i.CueRefTime:return 5;case i.Void:return-1;default:throw Error("cannot determine level of unknown ebml element with id ".concat(e))}},t.getEbmlElementName=function(e){switch(e){case i.Ebml:return"EBML";case i.EbmlVersion:return"EBMLVersion";case i.EbmlReadVersion:return"EBMLReadVersion";case i.EbmlMaxIdLength:return"EBMLMaxIDLength";case i.EbmlMaxSizeLength:return"EBMLMaxSizeLength";case i.DocType:return"DocType";case i.DocTypeVersion:return"DocTypeVersion";case i.DocTypeReadVersion:return"DocTypeReadVersion";case i.Void:return"Void";case i.Segment:return"Segment";case i.SeekHead:return"SeekHead";case i.Seek:return"Seek";case i.SeekID:return"SeekID";case i.SeekPosition:return"SeekPosition";case i.Info:return"Info";case i.TimestampScale:return"TimestampScale";case i.Duration:return"Duration";case i.DateUTC:return"DateUTC";case i.Title:return"Title";case i.MuxingApp:return"MuxingApp";case i.WritingApp:return"WritinApp";case i.Cluster:return"Cluster";case i.Timestamp:return"Timestamp";case i.SimpleBlock:return"SimpleBlock";case i.SegmentUID:return"SegmentUID (unsupported by WebM)";case i.Tracks:return"Tracks";case i.TrackEntry:return"TrackEntry";case i.TrackNumber:return"TrackNumber";case i.TrackUID:return"TrackUID";case i.TrackType:return"TrackType";case i.FlagEnabled:return"FlagEnabled";case i.FlagDefault:return"FlagDefault";case i.FlagForced:return"FlagForced";case i.FlagLacing:return"FlagLacing";case i.MinCache:return"MinCache";case i.MaxBlockAdditionID:return"MaxBlockAdditionID";case i.CodecID:return"CodecID";case i.CodecDecodeAll:return"CodecDecodeAll";case i.SeekPreRoll:return"SeekPreRoll";case i.Video:return"Video";case i.FlagInterlaced:return"FlagInterlaced";case i.PixelWidth:return"PixelWidth";case i.PixelHeight:return"PixelHeight";case i.DefaultDuration:return"DefaultDuration";case i.TrackTimestampScale:return"TrackTimestampScale";case i.CodecName:return"CodecName";case i.CodecPrivate:return"CodecPrivate";case i.Audio:return"Audio";case i.SamplingFrequency:return"SamplingFrequency";case i.Channels:return"Channels";case i.Cues:return"Cues";case i.CuePoint:return"CuePoint";case i.CueTime:return"CueTime";case i.CueTrackPositions:return"CueTrackPositions";case i.CueTrack:return"CueTrack";case i.CueClusterPosition:return"CueClusterPosition";case i.CueRefTime:return"CueRefTime";case i.CueBlockNumber:return"CueBlockNumber";case i.Position:return"Position";case i.Colour:return"Colour";default:return""}},t.readEbmlElementId=function(e,t){const r=o(e.current);if(r>e.bytesAvailable)return!1;let n=e.current;for(var i=0;i<r-1;++i)n=n<<8|e.nextUnsafe();return e.nextUnsafe(),e.checkBounds(),t.id=n,t.idLength=r,!0},r(16280);class i{}function o(e){for(var t=7;t>3;t--)if(e&1<<t)return 8-t;throw Error("invalid ebml element id")}t.EbmlElementId=i,n(i,"Ebml",440786851),n(i,"EbmlVersion",17030),n(i,"EbmlReadVersion",17143),n(i,"EbmlMaxIdLength",17138),n(i,"EbmlMaxSizeLength",17139),n(i,"DocType",17026),n(i,"DocTypeVersion",17031),n(i,"DocTypeReadVersion",17029),n(i,"Void",236),n(i,"Segment",408125543),n(i,"SeekHead",290298740),n(i,"Seek",19899),n(i,"SeekID",21419),n(i,"SeekPosition",21420),n(i,"Info",357149030),n(i,"TimestampScale",2807729),n(i,"Duration",17545),n(i,"DateUTC",17505),n(i,"Title",31657),n(i,"MuxingApp",19840),n(i,"WritingApp",22337),n(i,"Cluster",524531317),n(i,"Timestamp",231),n(i,"SimpleBlock",163),n(i,"SegmentUID",29604),n(i,"Tracks",374648427),n(i,"TrackEntry",174),n(i,"TrackNumber",215),n(i,"TrackUID",29637),n(i,"TrackType",131),n(i,"FlagEnabled",185),n(i,"FlagDefault",136),n(i,"FlagForced",21930),n(i,"FlagLacing",156),n(i,"MinCache",28135),n(i,"MaxBlockAdditionID",21998),n(i,"CodecID",134),n(i,"CodecDecodeAll",170),n(i,"SeekPreRoll",22203),n(i,"Video",224),n(i,"FlagInterlaced",154),n(i,"PixelWidth",176),n(i,"PixelHeight",186),n(i,"DefaultDuration",2352003),n(i,"TrackTimestampScale",2306383),n(i,"CodecName",2459272),n(i,"CodecPrivate",25506),n(i,"Audio",225),n(i,"SamplingFrequency",181),n(i,"Channels",159),n(i,"Cues",475249515),n(i,"CuePoint",187),n(i,"CueTime",179),n(i,"CueTrackPositions",183),n(i,"CueTrack",247),n(i,"CueClusterPosition",241),n(i,"CueRefTime",150),n(i,"CueBlockNumber",21368),n(i,"Position",167),n(i,"Colour",21936)},65260(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EbmlElementType=void 0,t.getEbmlElementType=function(e){switch(e){case n.EbmlElementId.Segment:case n.EbmlElementId.Ebml:case n.EbmlElementId.SeekHead:case n.EbmlElementId.Seek:case n.EbmlElementId.Cluster:case n.EbmlElementId.Info:case n.EbmlElementId.Tracks:case n.EbmlElementId.TrackEntry:case n.EbmlElementId.Video:case n.EbmlElementId.Audio:case n.EbmlElementId.Cues:case n.EbmlElementId.CuePoint:case n.EbmlElementId.CueTrackPositions:case n.EbmlElementId.Colour:return o.Master;case n.EbmlElementId.EbmlVersion:case n.EbmlElementId.EbmlReadVersion:case n.EbmlElementId.EbmlMaxIdLength:case n.EbmlElementId.EbmlMaxSizeLength:case n.EbmlElementId.DocTypeVersion:case n.EbmlElementId.DocTypeReadVersion:case n.EbmlElementId.SeekPosition:case n.EbmlElementId.TimestampScale:case n.EbmlElementId.Timestamp:case n.EbmlElementId.TrackNumber:case n.EbmlElementId.TrackUID:case n.EbmlElementId.TrackType:case n.EbmlElementId.FlagEnabled:case n.EbmlElementId.FlagDefault:case n.EbmlElementId.FlagForced:case n.EbmlElementId.FlagLacing:case n.EbmlElementId.MinCache:case n.EbmlElementId.MaxBlockAdditionID:case n.EbmlElementId.CodecDecodeAll:case n.EbmlElementId.SeekPreRoll:case n.EbmlElementId.FlagInterlaced:case n.EbmlElementId.PixelWidth:case n.EbmlElementId.PixelHeight:case n.EbmlElementId.DefaultDuration:case n.EbmlElementId.Channels:case n.EbmlElementId.CueTime:case n.EbmlElementId.CueTrack:case n.EbmlElementId.CueClusterPosition:case n.EbmlElementId.CueRefTime:case n.EbmlElementId.CueBlockNumber:case n.EbmlElementId.Position:return o.UnsignedInteger;case n.EbmlElementId.DocType:case n.EbmlElementId.CodecID:return o.String;case n.EbmlElementId.Void:case n.EbmlElementId.SeekID:case n.EbmlElementId.SimpleBlock:case n.EbmlElementId.SegmentUID:case n.EbmlElementId.CodecPrivate:return o.Binary;case n.EbmlElementId.Duration:case n.EbmlElementId.TrackTimestampScale:case n.EbmlElementId.SamplingFrequency:return o.Float;case n.EbmlElementId.DateUTC:return o.Date;case n.EbmlElementId.Title:case n.EbmlElementId.MuxingApp:case n.EbmlElementId.WritingApp:case n.EbmlElementId.CodecName:return o.Utf8String;default:throw Error("cannot determine type of unknown ebml element with id ".concat(e))}},r(16280);var n=r(60565);function i(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class o{}t.EbmlElementType=o,i(o,"Unknown",0),i(o,"Master",1),i(o,"UnsignedInteger",2),i(o,"SignedInteger",3),i(o,"String",4),i(o,"Utf8String",5),i(o,"Binary",6),i(o,"Float",7),i(o,"Date",8)},415(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.epochTimestampOffset=t.EbmlElement=void 0,t.getEbmlElementSizeLength=a,t.getEbmlElementValue=function(e,t){switch(e){case i.EbmlElementType.UnsignedInteger:case i.EbmlElementType.SignedInteger:return(0,o.readBigEndianNumber)(t);case i.EbmlElementType.String:return String.fromCharCode.apply(null,t);case i.EbmlElementType.Utf8String:case i.EbmlElementType.Float:throw new Error("cannot read value of element with type ".concat(e));case i.EbmlElementType.Date:return s+(0,o.readBigEndianNumber)(t);case i.EbmlElementType.Binary:return t}},t.readEbmlLementSize=function(e,t){const r=a(e.current);if(r>e.bytesAvailable)return!1;let n=e.current-(1<<8-r);for(var i=0;i<r-1;++i)n=n<<8|e.nextUnsafe();return e.nextUnsafe(),e.checkBounds(),t.sizeLength=r,t.size=n===1<<8*r-1?-1:n,!0},r(16280);var n=r(60565),i=r(65260),o=r(12087);const s=t.epochTimestampOffset=978307200;function a(e){if(1==e)return 8;for(var t=7;t>0;t--)if(e&1<<t)return 8-t;throw Error("invalid ebml element size")}t.EbmlElement=class{get elementSize(){return this.idLength+this.sizeLength+this.size}get id(){return this._id}set id(e){this._id=e,this.name=(0,n.getEbmlElementName)(this._id),this.type=(0,i.getEbmlElementType)(this._id)}}},62343(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MediaInfo",{enumerable:!0,get:function(){return a.MediaInfo}}),Object.defineProperty(t,"MediaPacket",{enumerable:!0,get:function(){return s.MediaPacket}}),Object.defineProperty(t,"MediaRecorderDemuxer",{enumerable:!0,get:function(){return n.MediaRecorderDemuxer}}),Object.defineProperty(t,"MediaRecorderDemuxerEvents",{enumerable:!0,get:function(){return i.MediaRecorderDemuxerEvents}}),Object.defineProperty(t,"createMediaRecorderDemuxer",{enumerable:!0,get:function(){return o.createMediaRecorderDemuxer}});var n=r(53142),i=r(28538),o=r(75457),s=r(30440),a=r(47472)},47472(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaInfo=void 0,t.MediaInfo=class{constructor(){this.videoTrack={},this.audioTrack={}}}},30440(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaPacket=void 0,t.MediaPacket=class{constructor(e,t){this.data=e,this.ptsMs=t}}},28538(e,t,r){"use strict";function n(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.MediaRecorderDemuxerEvents=void 0,r(16280);class i{}t.MediaRecorderDemuxerEvents=i,n(i,"Error","error"),n(i,"MediaInfo","media-info"),n(i,"MediaPacket","media-packet")},75457(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMediaRecorderDemuxer=function(e,t){let r;if("undefined"!=typeof MediaRecorder==0)return null;if("function"==typeof MediaRecorder.isTypeSupported==0||MediaRecorder.isTypeSupported("video/webm;codecs=h264")){const i={mimeType:"video/webm;codecs=h264"};r=new n.WebmMediaRecorderDemuxer(new MediaRecorder(e,i),t)}return r};var n=r(44112);r(28538)},53142(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMediaRecorderOptions=t.MediaRecorderDemuxer=void 0,r(16280);var n=r(47472),i=r(28538);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=r(37007),l=t.defaultMediaRecorderOptions={timerInterval:100,logCallback:null};t.MediaRecorderDemuxer=class extends c{constructor(e,t){super(),this.options=t?s(s({},l),t):l,this.mediaRecorder=e,this.mediaInfo=new n.MediaInfo,this.mediaRecorder.addEventListener("dataavailable",async e=>{this.addBlob(e.data)}),this.mediaRecorder.addEventListener("error",e=>{this.emit(i.MediaRecorderDemuxerEvents.Error,e.error)})}start(){this.mediaRecorder.start(),"function"==typeof this.mediaRecorder.requestData?this.timer=window.setInterval(()=>{this.mediaRecorder.requestData()},this.options.timerInterval):this.timer=window.setTimeout(()=>{this.mediaRecorder.stop()},this.options.timerInterval)}stop(){"recording"===this.mediaRecorder.state&&this.mediaRecorder.stop(),this.timer&&(clearInterval(this.timer),this.timer=null)}static isSupported(e){return"undefined"!=typeof MediaRecorder&&"function"==typeof MediaRecorder.prototype.requestData&&"function"==typeof MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported(e)}}},44112(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.webmVideoTrackType=t.webmAudioTrackType=t.WebmMediaRecorderDemuxer=void 0,r(16280),r(44114),r(54743),r(11745),r(16573),r(78100),r(77936),r(42762),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623);var n=r(53142),i=r(60565),o=r(415),s=r(12087),a=r(65260),c=r(28538),l=r(30440);function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=t.webmVideoTrackType=1,f=t.webmAudioTrackType=2;function h(){return new Promise(e=>{let t=new FileReader;t.onload=()=>{e(t.result)},t.readAsArrayBuffer(this)})}class p extends n.MediaRecorderDemuxer{constructor(e,t){super(e,t),this.state=p.stateParseElementId,this.currentEbmlElement=new o.EbmlElement,this.uint8ArrayAggregator=new s.Uint8ArrayAggregator,this.clusterTimestamp=0,this.timestampMsScale=1,this.ebmlElementStack=[],Blob.prototype.arrayBuffer=Blob.prototype.arrayBuffer||h}async addBlob(e){try{for(this.uint8ArrayAggregator.addArray(new Uint8Array(await e.arrayBuffer()));this.uint8ArrayAggregator.bytesAvailable;)switch(this.state){case p.stateParseElementId:if(!(0,i.readEbmlElementId)(this.uint8ArrayAggregator,this.currentEbmlElement))break;null==this.options.logCallback||this.options.logCallback("got new current ebml element (id: ".concat(this.currentEbmlElement.id,", name: ").concat(this.currentEbmlElement.name,")")),this.state=p.stateParseElementLength;break;case p.stateParseElementLength:if(!(0,o.readEbmlLementSize)(this.uint8ArrayAggregator,this.currentEbmlElement))break;null==this.options.logCallback||this.options.logCallback("got size ".concat(this.currentEbmlElement.size," for current ebml element (id: ").concat(this.currentEbmlElement.id,", name: ").concat(this.currentEbmlElement.name,")")),this.ebmlElementStack.length&&-1==this.currentEbmlElement.size&&(this.ebmlElementStack=[]),this.state=p.stateParseElementValue;break;case p.stateParseElementValue:const e=(0,a.getEbmlElementType)(this.currentEbmlElement.id);let r=e!==a.EbmlElementType.Master||this.currentEbmlElement.id===i.EbmlElementId.Colour;if(e===a.EbmlElementType.Master&&-1!==this.currentEbmlElement.size&&this.ebmlElementStack.push({element:Object.assign(new o.EbmlElement,this.currentEbmlElement),bytesRemaining:this.currentEbmlElement.size}),this.currentEbmlElement.id===i.EbmlElementId.CodecID){r=!1;let e=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size);if(null==e)break;const t=(0,o.getEbmlElementValue)(this.currentEbmlElement.type,e);this.currentTrackType===d?this.mediaInfo.videoTrack.codecName=t:this.currentTrackType===f&&(this.mediaInfo.audioTrack.codecName=t),null==this.options.logCallback||this.options.logCallback("got codec id ".concat(t))}else if(this.currentEbmlElement.id===i.EbmlElementId.CodecPrivate){if(r=!1,null==this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))break}else if(this.currentEbmlElement.id===i.EbmlElementId.TimestampScale){r=!1;let e=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size);if(null==e)break;this.mediaInfo.timestampScale=(0,o.getEbmlElementValue)(this.currentEbmlElement.type,e),this.timestampMsScale=this.mediaInfo.timestampScale/1e6,null==this.options.logCallback||this.options.logCallback("got timestamp scale ".concat(this.mediaInfo.timestampScale))}else if(this.currentEbmlElement.id===i.EbmlElementId.Timestamp){r=!1;let e=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size);if(null==e)break;this.clusterTimestamp=(0,o.getEbmlElementValue)(this.currentEbmlElement.type,e),null==this.options.logCallback||this.options.logCallback("got cluser timestamp ".concat(this.clusterTimestamp))}else if(this.currentEbmlElement.id===i.EbmlElementId.TrackType){r=!1;let e=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size);if(null==e)break;this.currentTrackType=(0,o.getEbmlElementValue)(this.currentEbmlElement.type,e),null==this.options.logCallback||this.options.logCallback("got track with type ".concat(this.currentTrackType))}else if(this.currentEbmlElement.id===i.EbmlElementId.SimpleBlock){r=!1;let e=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size);if(null==e)break;let t=new s.Uint8ArrayAggregator;t.addArray(e);let n={};(0,o.readEbmlLementSize)(t,n),n.size;let i=(0,s.readBigEndianNumber)(t.extract(2));t.current,t.next(),t.trim();let a=(this.clusterTimestamp+i)*this.timestampMsScale;this.emit(c.MediaRecorderDemuxerEvents.MediaPacket,new l.MediaPacket(t.array,a))}if(r&&this.uint8ArrayAggregator.skip(this.currentEbmlElement.size),e!==a.EbmlElementType.Master&&this.ebmlElementStack.length){this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining-=this.currentEbmlElement.elementSize;do{if(0!==this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining)break;var t=this.ebmlElementStack.pop();this.ebmlElementStack.length&&(this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining-=t.element.elementSize),t.element.id===i.EbmlElementId.Tracks&&this.emit(c.MediaRecorderDemuxerEvents.MediaInfo,this.mediaInfo)}while(this.ebmlElementStack.length)}this.state=p.stateParseElementId}this.uint8ArrayAggregator.trim()}catch(e){this.stop(),this.emit(c.MediaRecorderDemuxerEvents.Error,e)}}}t.WebmMediaRecorderDemuxer=p,u(p,"stateParseElementId",1),u(p,"stateParseElementLength",2),u(p,"stateParseElementValue",3)},12087(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uint8ArrayAggregator=void 0,t.readBigEndianNumber=function(e){let t=0;return e.forEach(e=>{t=t<<8|e}),t},r(16280),r(54743),r(11745),r(16573),r(78100),r(77936),r(18111),r(7588),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623),t.Uint8ArrayAggregator=class{constructor(){this.array=null,this.current=null,this.offset=0}addArray(e){if(null!=e&&0!=e.length)if(this.bytesToSkip>=e.length)this.bytesToSkip-=e.length;else{if(this.bytesToSkip&&(e=e.slice(this.bytesToSkip)),this.array){let t=new Uint8Array(this.array.length-this.offset+e.length);t.set(this.offset?this.array.slice(this.offset):this.array,0),t.set(e,this.array.length-this.offset),this.array=t,this.offset=0}else this.array=e;this.current=this.array[0]}}checkBounds(){if(this.offset===this.array.length)this.offset=0,this.current=null,this.array=null;else{if(!(this.offset<this.array.length))throw Error("invalid Uint8ArrayAggregator state, offset (".concat(this.offset,") is larger than bytes in the current array (").concat(this.array.length,")"));this.current=this.array[this.offset]}}next(){return this.array?(this.offset++,this.checkBounds(),this.current):null}nextUnsafe(){return this.offset++,this.current=this.array[this.offset],this.current}get bytesAvailable(){return this.array?this.array.length-this.offset:0}trim(){if(this.array)if(this.offset<this.array.length)this.array=this.array.slice(this.offset),this.offset=0,this.current=this.array[0];else{if(this.offset>this.array.length)throw Error("invalid Uint8ArrayAggregator state, offset (".concat(this.offset,") is larger than bytes in the current array (").concat(this.array.length,")"));this.array=null,this.offset=0,this.current=null}}extract(e){if(this.bytesAvailable>=e){const t=this.offset;let r=this.array.slice(t,t+e);return this.offset+=e,this.current=this.array[this.offset],this.checkBounds(),r}return null}skip(e){if(this.bytesAvailable>=e)return this.offset+=e,this.current=this.array[this.offset],void this.checkBounds();e-=this.bytesAvailable,this.array=null,this.offset=0,this.current=null,this.bytesToSkip=e}}},51227(e,t,r){"use strict";r(33110),r(27495),r(25440),t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(18630)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},18630(e,t,r){"use strict";r(16280),r(44114),r(13609),r(18111),r(22489),r(7588),r(61701),r(27495),r(25440),r(42762),r(62953),e.exports=function(e){function t(e){let r,i,o,s=null;function a(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(!a.enabled)return;const o=a,s=Number(new Date),c=s-(r||s);o.diff=c,o.prev=r,o.curr=s,r=s,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");let l=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,(e,r)=>{if("%%"===e)return"%";l++;const i=t.formatters[r];if("function"==typeof i){const t=n[l];e=i.call(o,t),n.splice(l,1),l--}return e}),t.formatArgs.call(o,n),(o.log||t.log).apply(o,n)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e,t){let r=0,n=0,i=-1,o=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(i=n,o=r,n++):(r++,n++);else{if(-1===i)return!1;n=i+1,o++,r=o}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of r)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const r of t.skips)if(i(e,r))return!1;for(const r of t.names)if(i(e,r))return!0;return!1},t.humanize=r(6585),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},85620(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CobrowseIO=void 0,r(16280),r(44114),r(18111),r(22489),r(20116),r(7588),r(61701),r(84864),r(57465),r(27495),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=S(r(7350)),i=r(86780),o=r(37007),s=r(45264),a=r(42074),c=r(40492),l=r(21667),u=r(72176),d=r(33035),f=S(r(75160)),h=S(r(40923)),p=L(r(77966)),_=S(r(58973)),v=r(73531),E=S(r(77988)),m=S(r(51227)),g=L(r(58325)),y=S(r(198)),I=r(44661),w=r(82117),b=r(13177);function L(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(L=function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?i(s,t,o):s[t]=e[t]);return s})(e,t)}function S(e){return e&&e.__esModule?e:{default:e}}function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(Object(r),!0).forEach(function(t){O(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function O(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N(e,t,r){T(e,t),t.set(e,r)}function T(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function P(e,t){return e.get(M(e,t))}function R(e,t,r){return e.set(M(e,t),r),r}function M(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const k=(0,m.default)("cbio.CobrowseIO");var D=new WeakMap,x=new WeakMap,j=new WeakMap,G=new WeakMap,U=new WeakMap,W=new WeakMap,V=new WeakMap,z=new WeakMap,F=new WeakMap,B=new WeakMap,H=new WeakMap,Y=new WeakMap,Q=new WeakMap,J=new WeakMap,K=new WeakMap,X=new WeakMap,q=new WeakMap,Z=new WeakMap,$=new WeakMap,ee=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,ie=new WeakMap,oe=new WeakMap,se=new WeakMap,ae=new WeakMap,ce=new WeakMap,le=new WeakMap,ue=new WeakSet,de=new WeakMap,fe=new WeakMap,he=new WeakMap;class pe extends o.EventEmitter{constructor(){var e;let{sessionStorage:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var r;super(),e=this,T(this,r=ue),r.add(this),N(this,D,new a.ActivityDetection),N(this,x,void 0),N(this,j,!1),N(this,G,!0),N(this,U,v.SessionStorage.create(this)),N(this,W,{}),N(this,V,l.Device.info.capabilities),N(this,z,new l.Device(this)),N(this,F,new d.ConsentDialog),N(this,B,new d.ConsentDialog),N(this,H,new d.ConsentDialog),N(this,Y,new d.ConsentDialog),N(this,Q,void 0),N(this,J,void 0),N(this,K,void 0),N(this,X,void 0),N(this,q,void 0),N(this,Z,void 0),N(this,$,void 0),N(this,ee,void 0),N(this,te,void 0),N(this,re,void 0),O(this,"start",async function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(k("start()",t,"in",document),!_.default.isHeadless()||t.allowHeadless){if(window.self!==window.top){if(!t.allowIFrameStart)return(0,i.isxdoc)(window.parent)?(P(te,e)&&P(te,e).call(e),R(te,e,(0,p.initIframeBridgeAsChild)(e)),void k("Starting Cobrowse in Iframe bridge mode with trusted origins:",p.default.trustedOrigins,"for",document)):void k("Not starting Cobrowse for same-origin iframe",document);s.WindowTracking.setTracksIframes(!0)}var r,n;P(te,e)&&P(te,e).call(e),R(te,e,(0,p.initIframeBridgeAsParent)(e,{open:P(ne,e)})),e.license?P(j,e)||(f.default.initialize(),s.WindowTracking.start(),(0,h.default)(pe.version).catch(()=>{}),console.log("CobrowseIO started",pe.version,null===(r=document.timeline)||void 0===r?void 0:r.currentTime),R(j,e,!0),"boolean"==typeof t.register&&R(G,e,t.register),e.registration&&M(ue,e,_e).call(e),k("attempting to restore session after start"),await P(ie,e).call(e),null!==(n=e.currentSession)&&void 0!==n&&n.isActive()||e.hideSessionControls(),g.mark("start"),await P(he,e).call(e)):console.error("CobrowseIO.license must be set before calling start")}else console.warn("CobrowseIO: Not starting Cobrowse in a headless browser")}),O(this,"stop",async()=>(this.currentSession&&!this.currentSession.isEnded()&&await this.currentSession.end().catch(e=>{console.warn("CobrowseIO: Failed to end session on stop",e)}),P(oe,this).call(this,null),s.WindowTracking.stop(),P(D,this).stop(),await P(z,this).destroy(),await P(U,this).reset(),R(j,this,!1),P(te,this)&&(P(te,this).call(this),R(te,this,null)),this)),O(this,"open",function(t,r,n){let{type:i}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return P(ne,e).call(e,t,r,n,{type:i})}),N(this,ne,(e,t,r,n)=>{const i=()=>window.open(e,t,r);if(!P(x,this))return i();const{target:o,name:s}=(0,w.splitNameFromTarget)(t,"_blank"),a=A(A({},n),{},{name:s,go:i}),{rewrittenUrl:c,windowProxy:l}=P(x,this).handleNavigation(e,o,r,a);return c?window.open(c,t,r):l}),N(this,ie,async()=>{try{const e=await P(U,this).load(this);e&&P(oe,this).call(this,e,{invalidateFrames:!0})}catch(e){console.warn("CobrowseIO: Failed to fetch restored session",e),P(oe,this).call(this,null)}return null}),N(this,oe,function(t){let{invalidateFrames:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(k("setting current session",t),t&&P(x,e)&&P(x,e).session.id()===t.id())return;P(F,e).hide(),P(B,e).hide(),P(H,e).hide(),P(Y,e).hide();const n=(e,t)=>p.default.broadcastToChildren("control",[e,t]),i=e=>p.default.broadcastToChildren("remote-error",e);P(x,e)&&(P(x,e).session.off("updated",P(se,e)),P(x,e).session.off("ended",P(ae,e)),P(x,e).session.off("control",n),P(x,e).session.off("remote-error",i),P(x,e).session.off("metrics.updated",P(ce,e)),P(x,e).destroy(),R(x,e,null)),P(U,e).store(t),t&&(R(x,e,new u.SessionContext(t,e)),t.state()&&P(se,e).call(e,t),t.on("updated",P(se,e)),t.once("ended",P(ae,e)),t.on("sync",()=>e.emit("session.sync")),t.on("control",n),t.on("remote-error",i),t.on("metrics.updated",P(ce,e)),r&&P(x,e).invalidateFrames())}),N(this,se,e=>{P(U,this).store(e),e.fullDevice()||P(H,this).hide(),"requested"!==e.remoteControl()&&P(B,this).hide(),e.isAuthorizing()||P(F,this).hide(),this.emit("session.updated",e)}),N(this,ae,e=>{this.emit("session.ended",e),P(oe,this).call(this,null),R(ee,this,!1)}),N(this,ce,e=>{this.emit("session.metrics.updated",e)}),N(this,le,void 0),O(this,"hideSessionControls",()=>{d.SessionStateOverlay.hideSessionControls()}),N(this,de,(0,n.default)(()=>{P(z,this).hasPendingUpdates()&&P(j,this)&&this.registration&&P(z,this).updateRegistration().catch(e=>{console.warn("CobrowseIO: updating customData failed",e)})},8e3,{leading:!0,trailing:!0})),O(this,"confirmRemoteControl",async()=>P(B,this).show(E.default.tr("REMOTE_CONTROL_REQUEST_TITLE"),E.default.tr("REMOTE_CONTROL_REQUEST_DESCRIPTION"))),O(this,"confirmFullDevice",async()=>P(H,this).show(E.default.tr("FULL_DEVICE_REQUEST_TITLE"),E.default.tr("FULL_DEVICE_REQUEST_DESCRIPTION"))),O(this,"confirmSession",async()=>P(F,this).show(E.default.tr("SESSION_REQUEST_TITLE"),E.default.tr("SESSION_REQUEST_DESCRIPTION"))),O(this,"confirmOpen",(e,t)=>{if(t!==I.NAVIGATION_TYPE.UNIVERSAL)return!0;if(P(ee,this))return!0;const r=P(Y,this).show(E.default.tr("UNIVERSAL_PROXY_REQUEST_TITLE"),E.default.tr("UNIVERSAL_PROXY_REQUEST_DESCRIPTION"));return r.then(e=>{e&&R(ee,this,!0)}),r}),O(this,"showDocument",e=>{"_blank"!==e.target&&0===y.default.getTabCount()?y.default.enterFullScreen():y.default.exitFullScreen();const t=e.type===I.NAVIGATION_TYPE.UNIVERSAL,r=y.default.newTab(e.element,"",e.url,e.isLoading,e.close,t);e.isBlocked&&r.showBanner(E.default.tr("UNIVERSAL_PROXY_BLOCKED"));const n=()=>{r.setIcon(e.icon),r.setTitle(e.title||e.url),r.setIsLoading(e.isLoading),r.setContent(e.element),e.isBlocked?r.showBanner(E.default.tr("UNIVERSAL_PROXY_BLOCKED")):r.hideBanner()};e.on("updated",n),e.once("closed",()=>{e.off("updated",n),r.close()})}),O(this,"getSession",async e=>{if(!P(j,this))throw new Error("CobrowseIO not started. Call CobrowseIO.start()");if(this.currentSession&&(this.currentSession.id()===e||this.currentSession.code()===e))return this.currentSession.fetch();const t=new u.Session(this).updateResource({id:e});return P(oe,this).call(this,t),await t.fetch(),this.emit("session.loaded",t),t}),O(this,"createSession",async()=>{if(!P(j,this))throw new Error("CobrowseIO not started. Call CobrowseIO.start()");if(this.currentSession&&(this.currentSession.isActive()||this.currentSession.isAuthorizing()))throw new Error("Already in a session");g.delta("load")<8e3&&console.warn("Six digit codes have a short expiry time. You should wait to generate a code until it is required! Do not generate codes on page load.");const e=new u.Session(this);return P(oe,this).call(this,e),await e.update({custom_data:this.customData,device:l.Device.info}),this.emit("session.loaded",e),e}),O(this,"createSessionCode",async()=>(await this.createSession()).code()),O(this,"client",async()=>this),N(this,fe,e=>{e&&["license","api","registration","customData","showSessionControls","hideSessionControls","confirmSession","confirmRemoteControl","confirmFullDevice","trustedOrigins","redactedViews","unredactedViews","ignoredViews","disabledViews","enabledViews","capabilities","pdfLinks","universalLinks","confirmOpen","showDocument","highlightElement","virtualAgent"].forEach(t=>{void 0!==e[t]&&(this[t]=e[t])})}),N(this,he,async()=>{P(re,this)&&await(0,b.initializeVirtualAgent)(P(re,this),this)}),k("interface constructed in",document),t&&R(U,this,t),this.api="https://api.cobrowse.io",P(fe,this).call(this,window&&window.CobrowseIO),P(z,this).on("notification",e=>{const t=e["cobrowseio-code"];t&&this.getSession(t).catch(e=>{console.warn("CobrowseIO: session fetch failed:",e)})})}deviceId(){return l.Device.deviceId()}get currentSession(){return P(x,this)?P(x,this).session:P(U,this).peek()}set showSessionControls(e){var t;R(le,this,e),d.SessionStateOverlay.hideSessionControls(),null!==(t=P(x,this))&&void 0!==t&&t.session.isActive()&&P(le,this).call(this)}get showSessionControls(){return P(le,this)?P(le,this):d.SessionStateOverlay.showSessionControls}set license(e){if(P(j,this)&&this.license!==e)throw new Error("Cannot change license once Cobrowse is started");c.RESTResource.setHeader("X-CobrowseLicense",e)}get license(){return c.RESTResource.getHeader("X-CobrowseLicense")}set api(e){if(P(j,this)&&c.RESTResource.api!==e)throw new Error("Cannot change API once Cobrowse is started");c.RESTResource.api=e}get api(){return c.RESTResource.api}set registration(e){const t=!!e;t!==P(G,this)&&M(ue,this,Ee).call(this,t)}get registration(){return!!P(G,this)}set redactedViews(e){if(P(j,this))throw new Error("Cannot set redacted views after Cobrowse is started");R(Q,this,e)}get redactedViews(){return P(Q,this)}set unredactedViews(e){if(P(j,this))throw new Error("Cannot set unredacted views after Cobrowse is started");R(J,this,e)}get unredactedViews(){return P(J,this)}set ignoredViews(e){if(P(j,this))throw new Error("Cannot set ignored views after Cobrowse is started");R(K,this,e)}get ignoredViews(){return P(K,this)}set disabledViews(e){if(P(j,this))throw new Error("Cannot set disabled views after Cobrowse is started");R(X,this,e)}get disabledViews(){return P(X,this)}set enabledViews(e){if(P(j,this))throw new Error("Cannot set enabled views after Cobrowse is started");R(q,this,e)}get enabledViews(){return P(q,this)}set capabilities(e){if(P(j,this))throw new Error("Cannot set capabilities after Cobrowse is started");if(!Array.isArray(e))throw new Error("Capabilities should be an array");R(V,this,e.filter(e=>!!l.Device.info.capabilities.includes(e)||(console.warn("Capability '".concat(e,"' not supported. Ignoring...")),!1)))}get capabilities(){return P(V,this)}set customData(e){if("object"!=typeof e)throw new Error("Custom data must be an object");if(R(W,this,A(A({},P(W,this)),e)),P(j,this)&&setTimeout(P(de,this),0),this.currentSession&&this.currentSession.isActive()){const t=this.currentSession.resource.custom_data;if(!Object.keys(e).find(r=>t[r]!==e[r]))return void k("no changes to session custom data");this.currentSession.update({custom_data:e}).catch(()=>{console.warn("CobrowseIO: failed to update custom data on active session")})}}get customData(){return A(A({},P(z,this).customData),P(W,this))}set trustedOrigins(e){const t=[];e.forEach(e=>{try{const r=new URL(e).origin,n=decodeURIComponent(r);return t.push(n)}catch(e){}if((0,a.isValidPattern)(e))return t.push(e);console.warn("CobrowseIO: Invalid URL in trustedOrigins:",e)}),p.default.trustedOrigins=t}get trustedOrigins(){return[...p.default.trustedOrigins]}set pdfLinks(e){if(P(j,this))throw new Error("Cannot set pdfLinks after Cobrowse is started");const t=e.map(e=>e instanceof RegExp||"string"==typeof e?e:(console.warn("CobrowseIO: Invalid link in pdfLinks:",e),null)).filter(e=>e);R(Z,this,t)}get pdfLinks(){return P(Z,this)}set universalLinks(e){if(P(j,this))throw new Error("Cannot set universalLinks after Cobrowse is started");const t=e.map(e=>e instanceof RegExp||"string"==typeof e?e:(console.warn("CobrowseIO: Invalid link in universalLinks:",e),null)).filter(e=>e);R($,this,t)}get universalLinks(){return P($,this)}set virtualAgent(e){if(P(j,this))throw new Error("Cannot set virtualAgent after Cobrowse is started");R(re,this,e)}get virtualAgent(){return P(re,this)}static get version(){return l.Device.info.sdk_version}get version(){return pe.version}}function _e(){k("starting registration"),P(D,this).on("active",P(z,this).runRegistrationLoop),P(D,this).on("inactive",P(z,this).pauseRegistrationLoop),P(D,this).start()}async function ve(){k("stopping registration"),P(D,this).stop(),P(D,this).off("active",P(z,this).runRegistrationLoop),P(D,this).off("inactive",P(z,this).pauseRegistrationLoop);try{await P(z,this).destroy()}catch(e){console.log("Failed to deregister device",e)}}function Ee(e){R(G,this,e),P(j,this)&&(e?M(ue,this,_e).call(this):M(ue,this,ve).call(this))}t.CobrowseIO=pe,c.RESTResource.setHeader("Content-Type","application/json"),c.RESTResource.setHeader("X-CobrowsePlatform","web"),c.RESTResource.setHeader("X-CobrowseSDKVersion",pe.version),c.RESTResource.setHeader("X-CobrowseDevice",l.Device.deviceId()),c.RESTResource.setHeader("X-CobrowseAPIVersion","1.63.3"),t.default=new pe},97833(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=s;var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.AmazonConnect");function s(){const e=n.default.deviceId();n.default.customData={cobrowse_device_id:e},o("AmazonConnect initialized")}t.default={swizzle:s}},53147(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=s;var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Dynamics");function s(){const e=n.default.deviceId();let t=!1;function r(e){window.Microsoft.Omnichannel.LiveChatWidget.SDK.setContextProvider(()=>({"cobrowse-device":{value:e,isDisplayable:!0}})),t=!0,o("Dynamics initialized")}n.default.customData={cobrowse_device_id:e},window.addEventListener("lcw:ready",()=>{t||r(e)});try{r(e)}catch(e){}}t.default={swizzle:s}},30961(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=a;var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Freshchat");async function s(){const e=n.default.deviceId();window.fcWidget.user.setProperties({cobrowse_device_id:e});const t=await window.fcWidget.user.get();if(t.success){o("Freshchat initialized");const r=t.data,i={freshchat_numeric_user_id:r.id+"",freshchat_user_id:r.alias,cobrowse_device_id:e};r.isNameGenerated||(i.freshchat_user_first_name=r.firstName,i.freshchat_user_last_name=r.lastName),r.email&&(i.freshchat_user_email=r.email),n.default.customData=i}}async function a(){window.fcWidget?(window.fcWidget.on("user:created",e=>{e.success&&s()}),window.fcWidget.on("widget:opened",async()=>{!0===(await window.fcWidget.user.isExists()).data&&await s()})):o("Freshchat not found")}t.default={swizzle:a}},81809(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chat=a,t.default=void 0,t.messaging=c,r(16280);var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Genesys");let s;function a(){if(!s)try{var e;const t=window.CXBus||(null===(e=window)||void 0===e||null===(e=e._genesys)||void 0===e||null===(e=e.widgets)||void 0===e?void 0:e.bus);if(!t)throw new Error("Genesys bus not found");s=t.registerPlugin("CobrowseIOExtension"),window.oCobrowseIOExtension=s,o("CobrowseIOExtension",s),s.subscribe("WebChat.opened",function(e){o("CobrowseIOExtension.WebChat.opened",e),function(e){document.querySelector(".cx-menu .cx-cobrowseio")||(document.getElementsByClassName("cx-menu")[0].insertAdjacentHTML("beforeend",'<li role="none"><div class="cx-menu-item cx-cobrowseio cx-icon" role="button" data-icon="cobrowseio" tabindex="0" aria-label="Start Co-browse Opens the Co-browse session" title="Start Co-browse" style="display: block/;"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" viewBox="0 0 100 100" focusable="false" role="img" aria-hidden="true" alt="" data-gcb-service-node="true"><g class="cx-svg-icon-tone1" data-gcb-service-node="true"><path d="M11.5000001,3 L85.4166665,3 L87.6666668,3 C90.2624998,3 97,3.75367965 97,8.36940835 L97,30.4776335 L4.16666671,30.4776335 L4.16666671,70.4963922 C4.16666671,78.8021647 9.0333332,80.6810966 11.3333336,80.6810966 L88.6666664,80.6810966 C90.9625002,80.6810966 92.8333333,78.8021647 92.8333333,76.4963922 L92.8333333,41.8470419 L97,41.8470419 L97,79.5093796 C97,84.1251081 93.2624998,84.8787879 91.6666668,84.8787879 L8.3333332,84.8787879 C3.73750015,84.8787879 1,81.1251081 0,75.5093796 L0,8.36940835 C3,3.75367965 2.73750015,3 8.3333332,3 L8.5000001,3 Z M18.0297398,7.03030303 L5.9962825,7.03030303 C5.79033476,7.03030303 3.99999999,8.59607987 3.99999999,10.5175565 L3.999999,26.1125541 L93,26.1125541 L93,10.5175565 C93,8.59607987 91.2056692,7.03030303 89.0037175,7.03030303 L81.9702602,7.03030303 L18.0297398,7.03030303 Z M42.3451929,54.7727663 L42.3451929,68.6904309 L35,68.6904309 L35,47.7138693 C35,44.657411 37.4676761,42.1818182 40.5082059,42.1818182 L61.3971055,42.1818182 L61.3971055,49.5560425 L47.5394308,49.5560425 L66.3971054,67.9373646 L61.202867,73.154089 L42.3451929,54.7727663 Z" id="Fill-1-Copy""></path></g></svg></div></li>'),document.getElementsByClassName("cx-cobrowseio")[0].onclick=()=>async function(e){o("Requesting cobrowse");const t=await n.default.createSessionCode();o("Generated session code: ".concat(t)),e.command("WebChatService.sendFilteredMessage",{message:"Customer requests Cobrowse session with code: ".concat(t.substr(0,3)," ").concat(t.substr(3)),regex:/Customer requests Cobrowse session with code:.*/}).done(function(e){o("CobrowseIOExtension.WebChatService sent filtered message successfully",e)}).fail(function(e){o("CobrowseIOExtension.WebChatService failed to send filtered message",e)})}(e))}(s),function(e){e.command("WebChatService.updateUserData",{cobrowse_device_id:n.default.deviceId()}).done(function(e){o("CobrowseIOExtension.WebChatService.updateUserData succeeded",e)}).fail(function(e){o("CobrowseIOExtension.WebChatService.updateUserData failed",e)})}(s)}),s.subscribe("WebChatService.started",function(e){try{o("CobrowseIOExtension.WebChatService.started",e);const t={cobrowse_device_id:n.default.deviceId()};e&&e.data&&(e.data.data&&e.data.data.conversationId&&(t.genesys_conversation_id=e.data.data.conversationId),e.data.userId&&"deprecated"!==e.data.userId&&(t.genesys_user_id=e.data.userId),e.data.sessionID&&"deprecated"!==e.data.sessionID&&(t.genesys_session_id=e.data.sessionID)),n.default.customData=t}catch(e){o("Error during CobrowseIOExtension.WebChatService.started",e)}}),s.subscribe("WebChatService.agentConnected",function(e){o("CobrowseIOExtension.WebChatService.agentConnected",e)}),s.subscribe("WebChatService.clientConnected",function(e){o("CobrowseIOExtension.WebChatService.clientConnected",e)}),s.subscribe("WebChatService.restored",function(e){o("CobrowseIOExtension.WebChatService.restored",e)}),s.subscribe("WebChatService.ended",function(e){o("CobrowseIOExtension.WebChatService.ended",e),n.default.currentSession&&!n.default.currentSession.isEnded()&&n.default.currentSession.end()}),s.subscribe("WebChat.started",function(e){try{if(o("CobrowseIOExtension.WebChat.started",e),e&&e.data&&e.data.form){o("e.data.form",e.data.form);const t=e.data.form||{};t.device_name=e.data.form.firstname?"".concat(e.data.form.firstname,"'s device"):"WebChat User's Device",n.default.customData=t}}catch(e){o("Error during CobrowseIOExtension.WebChat.started",e)}}),s.republish("ready"),s.ready()}catch(e){console.error("Error syncing Cobrowse.io with Genesys, please contact hello@cobrowse.io for help!"),console.warn(e)}}function c(){try{window.Genesys("subscribe","Database.ready",()=>{const e=n.default.deviceId();n.default.customData={cobrowse_device_id:e},window.Genesys("command","Database.set",{messaging:{customAttributes:{cobrowse_device_id:e}}})}),window.Genesys("subscribe","MessagingService.ready",()=>{window.Genesys("subscribe","MessagingService.conversationDisconnected",e=>{let{data:t}=e;o("MessagingService.conversationDisconnected triggered",t),n.default.currentSession&&!n.default.currentSession.isEnded()&&(o("Ending Cobrowse session after conversation disconnected"),n.default.currentSession.end())})})}catch(e){console.error("Error syncing Cobrowse.io with Genesys, please contact hello@cobrowse.io for help!"),console.warn(e)}}t.default={messaging:c,chat:a}},75160(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=p(r(51227)),i=p(r(83110)),o=r(77319),s=r(39278),a=r(81809),c=r(30961),l=r(32532),u=r(53147),d=r(24244),f=r(76726),h=r(97833);function p(e){return e&&e.__esModule?e:{default:e}}const _=(0,n.default)("cbio.Integrations");t.default=class{static watchProperty(e,t,r){let n=e[t];const i=()=>{_("monitoring changes to ".concat(t),e),Object.defineProperty(e,t,{configurable:!0,set:o=>{_("CobrowseIO detected",t,"as",o),n=o,Object.defineProperty(e,t,{configurable:!0,writable:!0,value:o}),setTimeout(()=>r(i),0)},get:()=>n})};n?(_("".concat(t," already exists as"),e[t]),r(i)):i()}static initialize(){_("Initializing integrations"),this.watchProperty(window,"Intercom",()=>(0,i.default)()),this.watchProperty(window,"$zopim",()=>(0,o.zopim)()),this.initializeSalesforce(()=>(0,s.embeddedSVC)(),()=>(0,s.embeddedserviceBootstrap)()),this.initializeGenesys(()=>(0,a.messaging)(),()=>(0,a.chat)()),this.initializeZendesk(()=>(0,o.messenger)(),()=>(0,o.classic)(),()=>(0,o.sunshine)()),this.initializeFreshchat(()=>(0,c.swizzle)()),this.initializeNice(()=>(0,l.swizzle)()),this.initializeDynamics(()=>(0,u.swizzle)()),this.initializeServiceNow(()=>(0,d.swizzle)()),this.initializeTalkdesk(()=>(0,f.swizzle)()),this.initializeAmazonConnect(()=>(0,h.swizzle)())}static initializeGenesys(e,t){this.watchProperty(window,"Genesys",()=>e()),this.watchProperty(window,"CXBus",()=>t()),this.watchProperty(window,"_genesys",()=>this.watchProperty(window._genesys,"widgets",()=>this.watchProperty(window._genesys.widgets,"bus",()=>{setTimeout(()=>{t()},0)})))}static initializeSalesforce(e,t){this.watchProperty(window,"embedded_svc",()=>this.watchProperty(window.embedded_svc,"liveAgentAPI",()=>{e()})),this.watchProperty(window,"embeddedservice_bootstrap",()=>t())}static initializeFreshchat(e){this.watchProperty(window,"fcWidget",()=>e())}static initializeTalkdesk(e){this.watchProperty(window,"TalkdeskChatSDK",()=>this.watchProperty(window,"webchat",()=>this.watchProperty(window.webchat,"setContextParam",()=>e())))}static initializeZendesk(e,t,r){this.watchProperty(window,"zE",r=>{if(!window.zE.widget)return r();"messenger"===window.zE.widget?e():t()}),this.watchProperty(window,"Smooch",()=>r())}static initializeNice(e){this.watchProperty(window,"cxone",t=>{if(!window.cxone.guide)return this.watchProperty(window.cxone,"guide",()=>e()),t();e()})}static initializeDynamics(e){this.watchProperty(window,"Microsoft",()=>this.watchProperty(window.Microsoft,"Omnichannel",()=>this.watchProperty(window.Microsoft.Omnichannel,"LiveChatWidget",()=>this.watchProperty(window.Microsoft.Omnichannel.LiveChatWidget,"SDK",()=>{e()}))))}static initializeServiceNow(e){this.watchProperty(window,"ServiceNowChat",()=>e())}static initializeAmazonConnect(e){this.watchProperty(window,"amazon_connect",()=>e())}}},83110(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){try{if(!window.Intercom||"function"!=typeof window.Intercom)throw new Error("expected window.Intercom to be a function");s("Initializing intercom integration"),a(),window.Intercom("onShow",(0,n.default)(a,12e4,{trailing:!1}))}catch(e){console.error("Error syncing Cobrowse.io with Intercom, please contact hello@cobrowse.io for help!"),console.warn(e)}},r(16280);var n=o(r(7350)),i=o(r(85620));function o(e){return e&&e.__esModule?e:{default:e}}const s=(0,o(r(51227)).default)("cbio.Integrations.Intercom");function a(){s("Updating intercom integration"),window.intercomSettings||(window.intercomSettings={}),window.intercomSettings.CobrowseID=i.default.deviceId(),window.Intercom("update",{CobrowseID:i.default.deviceId()}),i.default.on("session.loaded",function(e){window.Intercom("update",{CobrowseSessionID:e.id()})})}},32532(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=s,r(42762);var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Nice");async function s(){o("Swizzling started");const e=n.default.deviceId();try{window.cxone("chat","setCustomerCustomField","cobrowse_device_id",e)}catch(e){console.log("Error setting Nice CX custom field",e)}window.cxone("chat","onAnyPushUpdate",t=>{var r;let{data:i,eventType:s}=t;if("CaseCreated"===s){var a;o("Nice case created");const{case:t}=i,r=t.id+"",s=null===(a=t.authorEndUserIdentity.fullName)||void 0===a?void 0:a.trim(),c=t.authorEndUserIdentity.idOnExternalPlatform;n.default.customData={nice_case_id:r,nice_external_contact_id:c,cobrowse_device_id:e,user_name:s}}else"CaseStatusChanged"===s&&"closed"===i.case.status&&null!==(r=n.default.currentSession)&&void 0!==r&&r.isActive()&&(o("Nice case closed"),n.default.currentSession.end())})}t.default={swizzle:s}},39278(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.embeddedSVC=l,t.embeddedserviceBootstrap=d,r(16280),r(58335);var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Salesforce");function s(e){console.error("Error syncing Cobrowse.io with Salesforce Chat, please contact hello@cobrowse.io for help!"),console.warn(e)}function a(){n.default.currentSession&&n.default.currentSession.end()}function c(e){if(!e)throw new Error("No messaging Session Id found");n.default.customData={salesforce_MessagingSessionId:u(e)}}function l(){try{if("object"!=typeof window.embedded_svc)throw new Error("expected window.embedded_svc to a be an object");if(window.embedded_svc&&!window.embedded_svc.liveAgentAPI)throw new Error("expected liveAgentAPI on embedded_svc");o("Initializing Salesforce legacy integration"),window.embedded_svc.addEventHandler("onChatRequestSuccess",function(e){e&&e.liveAgentSessionKey&&(n.default.customData={salesforce_liveAgentSessionKey:e.liveAgentSessionKey})}),window.embedded_svc.addEventHandler("onChatEndedByAgent",a),window.embedded_svc.addEventHandler("onChatEndedByChasitor",a)}catch(e){s(e)}}function u(e){if(18===e.length)return e;if(15!==e.length)throw Error("Invalid salesforce id: ".concat(e));let t="";for(let r=0;r<3;r++){let n=0;for(let t=0;t<5;t++){const i=e.charAt(5*r+t);i>="A"&&i<="Z"&&(n+=1<<t)}t+="ABCDEFGHIJKLMNOPQRSTUVWXYZ012345".charAt(n)}return e+t}function d(){try{var e;if("object"!=typeof window.embeddedservice_bootstrap)throw new Error("expected window.embeddedservice_bootstrap to a be an object");o("Initializing Salesforce Enhanced Chat integration"),(null!==(e=window.embeddedservice_bootstrap)&&void 0!==e&&null!==(e=e.settings)&&void 0!==e&&e.orgId?f:h)(),window.addEventListener("onEmbeddedMessagingConversationClosed",a),window.addEventListener("onEmbeddedMessagingWindowClosed",a)}catch(e){s(e)}}function f(){o("Detected Salesforce Enhanced Chat v1"),window.addEventListener("onEmbeddedMessagingConversationRouted",e=>{var t;const r=null==e||null===(t=e.detail)||void 0===t||null===(t=t.conversationEntry)||void 0===t?void 0:t.entryPayload;if(!r)throw new Error("No entry payload found");const n=JSON.parse(r);c(null==n?void 0:n.recordId)})}function h(){o("Detected Salesforce Enhanced Chat v2"),window.addEventListener("onEmbeddedMessageSent",e=>{var t;const r=null==e||null===(t=e.detail)||void 0===t||null===(t=t.conversationEntry)||void 0===t?void 0:t.relatedRecords;if(!r)throw new Error("No related records found");c(r[0])})}t.default={embeddedSVC:l,embeddedserviceBootstrap:d}},24244(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=s;var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.ServiceNow");function s(){const e=n.default.deviceId();n.default.customData={cobrowse_device_id:e},o("ServiceNow initialized")}t.default={swizzle:s}},76726(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=a;var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Talkdesk");let s=!1;function a(){if("function"==typeof TalkdeskChatSDK){if(!window.webchat)return console.warn('Talkdesk not found in variable "webchat". Please load Talkdesk using:'),void console.warn("window.webchat = TalkdeskChatSDK(node, props)");if("function"!=typeof window.webchat.setContextParam)return console.warn("window.webchat.setContextParam is missing or of an unexpected value. Please load Talkdesk using:"),void console.warn("window.webchat = TalkdeskChatSDK(node, props)");if(!s){const e={cobrowse_device_id:n.default.deviceId()};n.default.customData=e,window.webchat.setContextParam(e),s=!0,o("Talkdesk initialized")}}else console.warn("TalkdeskChatSDK is not a function, ignoring as Talkdesk widget might not be present.")}t.default={swizzle:a}},71907(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classic=function(){try{!function(){if(!window.zE||!window.zE.identify)throw new Error("missing window.zE or window.zE.identify");{(0,n.swizzlezE)();const e=window.zE.identify;window.zE.identify=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const[o]=r;return i("identify",o),e(...r)}}}()}catch(e){console.error("Error syncing Cobrowse.io with Zendesk (classic), please contact hello@cobrowse.io for help!"),console.warn(e)}},t.updateCustomData=i,r(16280),r(62953);var n=r(77319);function i(e,t){let r={};"identify"===e&&t?(t.name&&(r.user_name=t.name),t.email&&(r.user_email=t.email),t.organization&&(r.user_organization=t.organization)):"prefill"===e&&t?(t.name&&t.name.value&&(r.user_name=t.name.value),t.email&&t.email.value&&(r.user_email=t.email.value),t.phone&&t.phone.value&&(r.user_phone=t.phone.value)):"logout"===e&&(r={user_name:null,user_email:null,user_organization:null,user_phone:null}),(0,n.fillCustomData)(r)}},77319(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.POLLING_INTERVAL=void 0,Object.defineProperty(t,"classic",{enumerable:!0,get:function(){return s.classic}}),t.default=void 0,t.fillCustomData=function(e){Object.keys(e).length&&(i.default.customData=e)},Object.defineProperty(t,"messenger",{enumerable:!0,get:function(){return a.messenger}}),Object.defineProperty(t,"sunshine",{enumerable:!0,get:function(){return c.sunshine}}),t.swizzlezE=function(){const e=window.zE;window.zE=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const[o,c,l]=r;if("webWidget"===o&&(0,s.updateCustomData)(c,l),"messenger"===o&&(0,a.updateCustomData)(c,l),"messenger:set"===o&&"conversationTags"===c){let e=l;if(e&&e.length){const t=i.default.deviceId();e=[...e,"cobrowseio_deviceid_".concat(t)],r[2]=e,window.zE.__cobrowseio_zendesk_tags_set=!0}}return e(...r)};for(const t in e)window.zE[t]=e[t]},Object.defineProperty(t,"zopim",{enumerable:!0,get:function(){return o.zopim}}),r(62953);var n,i=(n=r(85620))&&n.__esModule?n:{default:n},o=r(34808),s=r(71907),a=r(96040),c=r(70);t.POLLING_INTERVAL=2e3,t.default={messenger:a.messenger,classic:s.classic,sunshine:c.sunshine,zopim:o.zopim}},96040(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.messenger=function(){(0,o.swizzlezE)();try{"true"===sessionStorage.getItem("ZD-widgetOpen")?f().then(c):window.zE("messenger:on","open",()=>{f().then(c)})}catch(e){console.error("Error syncing Cobrowse.io with Zendesk (messenger), please contact hello@cobrowse.io for help!"),console.warn(e)}},t.updateCustomData=a,r(16280),r(18111),r(20116),r(27495);var n,i=(n=r(85620))&&n.__esModule?n:{default:n},o=r(77319);let s=window.localStorage;function a(e,t){let r={};"identify"===e&&t?r={zendesk_web_user_id:t.appUserId,cobrowseio_deviceid:t.deviceId}:"logoutUser"===e&&(r={user_name:null,user_email:null,user_organization:null,user_phone:null,zendesk_web_user_id:null,zendesk_user_id:null,zendesk_ticket_id:null}),(0,o.fillCustomData)(r)}function c(){const e=l();if(!e)throw new Error("Missing client ID (ZD-buid)");const t=u(e);if(!t)throw new Error("Instance ID could not be found");const r=d(t);window.zE.__cobrowseio_zendesk_tags_set||window.zE("messenger:set","conversationTags",["cobrowseio_deviceid_".concat(i.default.deviceId())]),a("identify",{appUserId:r,deviceId:i.default.deviceId()})}function l(){return s.getItem("ZD-buid")}function u(e){var t;return null===(t=Object.keys(s).find(t=>t.match(/\w+\.clientId/)&&s[t]===e))||void 0===t||null===(t=t.split("."))||void 0===t?void 0:t[0]}function d(e){return s.getItem("".concat(e,".appUserId"))}function f(){const e=(t,r)=>{s=sessionStorage.getItem("ZD-buid")?window.sessionStorage:window.localStorage;const n=d(u(l()));n?t(n):setTimeout(e,o.POLLING_INTERVAL,t,r)};return new Promise(e)}},70(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sunshine=function(){try{window.Smooch.on("widget:opened",()=>{(function(){const e=(t,r)=>{const i=o();i?t(i):setTimeout(e,n.POLLING_INTERVAL,t,r)};return new Promise(e)})().then(i)})}catch(e){console.error("Error syncing Cobrowse.io with Zendesk (Sunshine Conversations), please contact hello@cobrowse.io for help!"),console.warn(e)}};var n=r(77319);function i(){!function(e){const t={zendesk_web_user_id:e.appUserId};(0,n.fillCustomData)(t)}({appUserId:o()})}function o(){var e;return null===(e=window.Smooch.getUser())||void 0===e?void 0:e.id}},34808(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zopim=function(){try{if("function"!=typeof window.$zopim)throw new Error("expected window.$zopim to a be a function");window.$zopim(function(){o("Initializing zendesk integration"),window.$zopim.livechat.addTags("cobrowseio_deviceid_".concat(n.default.deviceId())),n.default.customData={cobrowseio_deviceid:n.default.deviceId()}})}catch(e){console.error("Error syncing Cobrowse.io with Zendesk Chat, please contact hello@cobrowse.io for help!"),console.warn(e)}},r(16280);var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Zendesk")},64033(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=o(r(44153)),i=o(r(11191));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t){return e.get(l(e,t))}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var u=new WeakMap,d=new WeakMap;t.default=class{constructor(e){var t,r;a(this,u,void 0),a(this,d,()=>{const e=i.default.unproxify(window.location.href),t=new URL((()=>{const e=document.querySelectorAll('link[rel="icon"]');return e.length>0?e[0].href:"/favicon.ico"})(),e).href;c(u,this).call(this,{url:e,icon:i.default.proxify(t),title:document.title,isLoading:"complete"!==document.readyState,isBlocked:!1})}),s(this,"sendLoading",e=>{c(u,this).call(this,{url:e,icon:"",title:"",isLoading:!0,isBlocked:!1})}),s(this,"sendBlocked",e=>{c(u,this).call(this,{url:e,icon:"",title:"",isLoading:!1,isBlocked:!0})}),s(this,"destroy",()=>{n.default.off("navigate",c(d,this)),window.removeEventListener("popstate",c(d,this),{capture:!0}),document.removeEventListener("readystatechange",c(d,this),{capture:!0})}),r=e,(t=u).set(l(t,this),r),n.default.on("navigate",c(d,this)),window.addEventListener("popstate",c(d,this),{capture:!0}),document.addEventListener("readystatechange",c(d,this),{capture:!0}),c(d,this).call(this)}}},3133(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(61701),r(13579),r(62953);var n=d(r(51227)),i=d(r(37007)),o=r(42074),s=d(r(26356)),a=d(r(80207)),c=d(r(86542)),l=d(r(76575)),u=d(r(77966));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function h(e,t){return e.get(p(e,t))}function p(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const _="_cobrowse_active_highlight",v=(0,n.default)("cbio.HighlightTracking");var E=new WeakMap,m=new WeakSet;class g extends i.default{constructor(){var e;super(...arguments),f(this,e=m),e.add(this),function(e,t,r){f(e,t),t.set(e,r)}(this,E,new a.default),function(e,t,r){(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(this,"highlightAndWait",async(e,t)=>{const r=t.id;(0,c.default)().setItem(_,r),h(E,this).monitor();try{if(!await this.highlight(e,t))return v("highlight did not run"),void p(m,this,y).call(this,{id:r,state:"not-found"});await s.default.ensureNoNavigation(),await h(E,this).waitUntilStable(),p(m,this,y).call(this,{id:r,state:"resolved"})}finally{h(E,this).destroy()}})}async highlight(e,t){return!!await l.default.highlight(e,t)||(await Promise.all(u.default.trustedIframes.map(async e=>{const r=new o.IFrameRPC(u.default,e.contentWindow);try{return await r.send("highlight",t)}finally{r.destroy()}}))).some(Boolean)}resolvePendingHighlight(){const e=(0,c.default)().getItem(_);e&&(v("resolving pending highlight",e),p(m,this,y).call(this,{id:e,state:"resolved"}))}}function y(e){(0,c.default)().removeItem(_),this.emit("end",e)}t.default=new g},56913(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=r(37007),i=c(r(44383)),o=c(r(7350)),s=r(66938);const a=["id","redaction"];function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){return e.get(function(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}(e,t))}var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap;class m extends n.EventEmitter{constructor(){var e;super(...arguments),e=this,d(this,"track",e=>{e.addEventListener("click",f(_,this),{capture:!0,passive:!0}),e.addEventListener("change",f(v,this),{capture:!0,passive:!0}),e.addEventListener("input",f(E,this),{capture:!0,passive:!0})}),d(this,"untrack",e=>{e.removeEventListener("click",f(_,this),{capture:!0,passive:!0}),e.removeEventListener("change",f(v,this),{capture:!0,passive:!0}),e.removeEventListener("input",f(E,this),{capture:!0,passive:!0})}),u(this,h,e=>{const t=s.NodeTracker.get(e);if(!t)return;return s.NodeSerializer.serialize(e,void 0,{skipChildren:!0})||{id:t,redaction:!0}}),u(this,p,function(t){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=f(h,e).call(e,t);if(!n)return n;const{id:o,redaction:s}=n,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(n,a);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:o,redacted:Boolean(s)},r&&(0,i.default)(c,["value","checked"]))}),u(this,_,e=>{if(!e.isTrusted)return;const t=f(p,this).call(this,e.target);t&&this.emit("click",t)}),u(this,v,e=>{const t=f(p,this).call(this,e.target,!0);t&&this.emit("change",t)}),u(this,E,(0,o.default)(e=>{const t=f(p,this).call(this,e.target,!0);t&&this.emit("input",t)},250))}}t.default=new m},86350(e,t,r){"use strict";r(44114),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(22489),r(18237),r(62953);var n,i=(n=r(7350))&&n.__esModule?n:{default:n},o=r(86780);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=new class{constructor(){c(this,"_mousePosition",{x:-1,y:-1}),c(this,"_mouseIsDown",!1),c(this,"_mouseIsIn",!1),c(this,"track",e=>{e.addEventListener("mousedown",this._onMouseDown,{capture:!0,passive:!0}),e.addEventListener("mouseup",this._onMouseUp,{capture:!0,passive:!0}),e.addEventListener("mouseenter",this._onMouseEnter,{capture:!0,passive:!0}),e.addEventListener("mouseleave",this._onMouseLeave,{capture:!0,passive:!0}),e.addEventListener("mousemove",this._onMouseMove,{capture:!0,passive:!0})}),c(this,"untrack",e=>{e.removeEventListener("mousedown",this._onMouseDown,{capture:!0,passive:!0}),e.removeEventListener("mouseup",this._onMouseUp,{capture:!0,passive:!0}),e.removeEventListener("mouseenter",this._onMouseEnter,{capture:!0,passive:!0}),e.removeEventListener("mouseleave",this._onMouseLeave,{capture:!0,passive:!0}),e.removeEventListener("mousemove",this._onMouseMove,{capture:!0,passive:!0})}),c(this,"isDown",()=>this._mouseIsDown),c(this,"setDown",e=>{this._mouseIsDown=e,this.onChange&&this.onChange(this.state())}),c(this,"isIn",()=>this._mouseIsIn>0),c(this,"position",()=>this._mousePosition),c(this,"setPosition",(e,t,r)=>{if(r){const n=[r,...(0,o.parents)(r).filter(e=>{var t;return null===(t=e.matches)||void 0===t?void 0:t.call(e,"iframe")})].map(e=>e.getBoundingClientRect()).reduce((e,t)=>({x:e.x+t.x,y:e.y+t.y}),{x:0,y:0});e+=Math.round(n.x),t+=Math.round(n.y)}this._mousePosition={x:e,y:t},this.onChange&&this.onChange(this.state())}),c(this,"state",()=>a(a({},this.position()),{},{down:this.isDown(),in:this.isIn()})),c(this,"_onMouseDown",e=>{e.isTrusted&&this.setDown(!0)}),c(this,"_onMouseUp",e=>{e.isTrusted&&this.setDown(!1)}),c(this,"_onMouseEnter",e=>{e.isTrusted&&(this._mouseIsIn+=1)}),c(this,"_onMouseLeave",e=>{e.isTrusted&&e.target===e.currentTarget&&(this._mouseIsIn-=1)}),c(this,"_onMouseMove",(0,i.default)(e=>{if(!e.isTrusted)return;const{clientX:t,clientY:r}=e,n=e.view&&e.view.frameElement;this.setPosition(t,r,n)},100))}}},27771(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=r(37007),i=r(80608),o=s(r(86542));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t,r){return e.set(d(e,t),r),r}function u(e,t){return e.get(d(e,t))}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const f=(0,s(r(51227)).default)("cbio.WindowTracking"),h="_cobrowse_window_id";var p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap;class m extends n.EventEmitter{constructor(){super(...arguments),c(this,p,g._.call(m)),c(this,_,!1),c(this,v,!1),a(this,"start",()=>{u(v,this)||(l(v,this,!0),f("started"),u(E,this).call(this),document.addEventListener("visibilitychange",u(E,this),{capture:!0}),document.addEventListener("mouseover",u(E,this),{capture:!0}))}),a(this,"stop",()=>{f("stopped"),this.removeAllListeners(),l(v,this,!1),document.removeEventListener("visibilitychange",u(E,this),{capture:!0}),document.removeEventListener("mouseover",u(E,this),{capture:!0})}),a(this,"isActive",()=>(0,o.default)().getItem(h)===this.id),a(this,"setTracksIframes",e=>{l(_,this,e),u(E,this).call(this)}),a(this,"shouldTrack",()=>!document.hidden&&(!(window.self!==window.top)||u(_,this))),a(this,"makeActive",()=>{this.isActive()||(f("making active",window),(0,o.default)().setItem(h,this.id),this.emit("activate",window))}),a(this,"resignActive",()=>{this.isActive()&&(f("resigning active",window),(0,o.default)().setItem(h,null))}),c(this,E,()=>{this.shouldTrack()&&this.makeActive(),this.emit("updated")})}get id(){return u(p,this)}}var g={_:()=>(document.__cobrowse_window_id=document.__cobrowse_window_id||(0,i.v4)(),document.__cobrowse_window_id)};t.default=new m},45264(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HighlightTracking",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"InteractionTracking",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"MouseTracking",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"WindowTracking",{enumerable:!0,get:function(){return i.default}});var n=a(r(86350)),i=a(r(27771)),o=a(r(56913)),s=a(r(3133));function a(e){return e&&e.__esModule?e:{default:e}}},11771(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CALL_STATES=void 0,r(16280),r(62953);var n,i=(n=r(37007))&&n.__esModule?n:{default:n},o=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(37609));function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t){return e.get(u(e,t))}function l(e,t,r){return e.set(u(e,t),r),r}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const d="_cobrowse_calling_joined",f=t.CALL_STATES={OFF:"off",REQUESTED:"requested",REJECTED:"rejected",ON:"on"};var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap;class L extends i.default{constructor(e){super(),a(this,h,void 0),a(this,p,void 0),a(this,_,void 0),a(this,v,void 0),a(this,E,void 0),a(this,m,void 0),a(this,g,void 0),s(this,"getTracks",()=>c(p,this).stream.getTracks()),s(this,"addTrack",e=>{c(p,this)[o.default].addTrack(e)}),s(this,"removeTrack",e=>{c(p,this)[o.default].removeTrack(e)}),s(this,"request",()=>{c(y,this).call(this),c(E,this).call(this,f.REQUESTED)}),s(this,"reject",()=>{c(E,this).call(this,f.REJECTED)}),s(this,"answer",()=>{c(y,this).call(this),c(E,this).call(this,f.ON)}),s(this,"end",()=>{c(E,this).call(this,f.OFF)}),a(this,y,()=>{const e=this.hasJoined;c(v,this).setItem(d,c(_,this)),e!==this.hasJoined&&c(I,this).call(this)}),a(this,I,async()=>{this.emit("updated",this)}),a(this,w,(0,o.protect)(this,"receiveSessionUpdate",(e,t)=>{var r,n,i;const o=c(m,this)!==e,s=(null!==(r=null===(n=c(g,this))||void 0===n?void 0:n.id)&&void 0!==r?r:null)!==(null!==(i=null==t?void 0:t.id)&&void 0!==i?i:null);l(m,this,e),l(g,this,t),(o||s)&&c(I,this).call(this)})),a(this,b,(0,o.protect)(this,"destroy",()=>{c(v,this).removeItem(d)})),l(h,this,e.getParticipants),l(p,this,e.localParticipant),l(_,this,e.sessionId),l(v,this,e.storage),l(E,this,e.updateCalling)}get state(){return c(m,this)}get caller(){return c(g,this)}get hasJoined(){return c(v,this).getItem(d)===c(_,this)}get participants(){return c(h,this).call(this)}}t.default=L},86420(e,t,r){"use strict";r(44114),r(22489),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(62953);var n=u(r(2404)),i=u(r(77988)),o=r(33035),s=u(r(86542)),a=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(93646)),c=r(45264),l=r(11771);function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){h(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function h(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function _(e,t){return e.get(E(e,t))}function v(e,t,r){return e.set(E(e,t),r),r}function E(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap,T=new WeakMap,P=new WeakMap;t.default=class{constructor(e){p(this,m,void 0),p(this,g,void 0),p(this,y,void 0),p(this,I,void 0),p(this,w,void 0),p(this,b,void 0),p(this,L,async()=>{v(g,this,new a.default((0,s.default)()));const e={call:_(m,this),mediaSettings:_(g,this),showSettingsDialog:_(A,this)};v(y,this,new o.CallDialog(e)),!_(S,this).call(this)||await _(C,this).call(this)?(v(I,this,new o.CallParticipants(e)),_(g,this).on("updated",_(O,this)),c.WindowTracking.on("activate",_(T,this)),_(m,this).on("updated",_(N,this)),_(N,this).call(this,_(m,this))):_(m,this).end()}),p(this,S,()=>{const{state:e,hasJoined:t}=_(m,this);if(e===l.CALL_STATES.ON&&t&&c.WindowTracking.isActive()){const{audioEnabled:e,videoEnabled:t}=_(g,this).settings;return!e&&!t&&!navigator.userActivation.hasBeenActive}return!1}),p(this,C,async()=>{const{action:e,settings:t}=await _(y,this).show({title:i.default.tr("CALLING_JOIN"),description:i.default.tr("CALLING_REJOIN_PROMPT"),primaryTitle:i.default.tr("CALLING_JOIN"),secondaryTitle:i.default.tr("CALLING_END")}),r="primary"===e;return r&&_(g,this).update(t),_(y,this).hide(),r}),p(this,A,async()=>{const{action:e,settings:t}=await _(y,this).show({title:null,description:null,primaryTitle:i.default.tr("CALLING_SAVE"),secondaryTitle:i.default.tr("CALLING_CANCEL")});"primary"===e&&_(g,this).update(t),_(y,this).hide()}),p(this,O,()=>{_(P,this).call(this,_(g,this).settings)}),p(this,N,e=>{let{state:t,hasJoined:r}=e;t===l.CALL_STATES.ON&&r&&c.WindowTracking.isActive()&&_(P,this).call(this,_(g,this).settings)}),p(this,T,()=>{const{state:e,hasJoined:t}=_(m,this);e===l.CALL_STATES.ON&&t&&(_(g,this).reloadFromStorage(),_(P,this).call(this,_(g,this).settings))}),p(this,P,async e=>{const{audioEnabled:t,videoEnabled:r}=e;if(t||v(w,this,null),r||v(b,this,null),_(m,this).getTracks().forEach(e=>{t||"audio"!==e.kind||_(m,this).removeTrack(e),r||"video"!==e.kind||_(m,this).removeTrack(e)}),!t&&!r)return;if(!navigator.mediaDevices)return console.warn("CobrowseIO: Failed to start, mediaDevices is not available"),void _(g,this).update({audioEnabled:!1,videoEnabled:!1});const i=(0,a.createAudioConstraints)(e),o=(0,a.createVideoConstraints)(e),s=t&&!(0,n.default)(_(w,this),i),c=r&&!(0,n.default)(_(b,this),o);if(!s&&!c)return;const l=f(f({},s?i:{}),c?o:{});try{(await navigator.mediaDevices.getUserMedia(l)).getTracks().forEach(e=>{const t="audio"===e.kind&&_(g,this).settings.audioEnabled,r="video"===e.kind&&_(g,this).settings.videoEnabled;t||r?(_(m,this).addTrack(e),t&&v(w,this,i),r&&v(b,this,o)):e.stop()})}catch(e){console.warn("CobrowseIO: Failed to get media",e),_(g,this).update({videoEnabled:!1,audioEnabled:!1})}}),h(this,"destroy",()=>{var e,t,r;null===(e=_(g,this))||void 0===e||e.off("updated",_(O,this)),v(g,this,null),null===(t=_(y,this))||void 0===t||t.destroy(),v(y,this,null),null===(r=_(I,this))||void 0===r||r.destroy(),v(I,this,null),c.WindowTracking.off("activate",_(T,this)),_(m,this).off("updated",_(N,this))}),v(m,this,e),_(L,this).call(this)}}},67427(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(22489),r(7588),r(61701),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=d(r(51227)),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(11771)),o=r(45264),s=d(r(86420)),a=d(r(16667)),c=d(r(37609)),l=r(30310),u=r(13778);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t,r){p(e,t),t.set(e,r)}function p(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _(e,t,r){return r(m(e,t))}function v(e,t){return e.get(m(e,t))}function E(e,t,r){return e.set(m(e,t),r),r}function m(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const g=(0,n.default)("cbio.Calling.Calling");var y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap,T=new WeakMap,P=new WeakMap,R=new WeakMap,M=new WeakMap,k=new WeakMap,D=new WeakMap,x=new WeakSet,j=new WeakMap,G=new WeakMap,U=new WeakMap,W=new WeakMap,V=new WeakMap,z=new WeakMap,F=new WeakMap,B=new WeakMap,H=new WeakMap;function Y(e){const t=v(M,e).values().filter(t=>v(k,e).has(t.id));return[v(R,e),...t]}t.default=class{constructor(e){var t;p(this,t=x),t.add(this),h(this,y,void 0),h(this,I,void 0),h(this,w,void 0),h(this,b,void 0),h(this,L,void 0),h(this,S,void 0),h(this,C,void 0),h(this,A,void 0),h(this,O,void 0),h(this,N,void 0),h(this,T,void 0),h(this,P,void 0),h(this,R,void 0),h(this,M,new Map),h(this,k,new Set),h(this,D,void 0),f(this,"handleSessionUpdate",(e,t)=>{e!==i.CALL_STATES.OFF?(v(T,this)||(E(R,this,new u.LocalCallParticipant({id:v(A,this),agentId:v(C,this)})),E(T,this,new i.default({getParticipants:()=>_(x,this,Y),localParticipant:v(R,this),sessionId:v(y,this),storage:(0,a.default)(),updateCalling:v(I,this)})),v(T,this).on("updated",v(j,this)),v(j,this).call(this,v(T,this))),v(T,this)[c.default].receiveSessionUpdate(e,t),v(P,this)||E(P,this,new s.default(v(T,this)))):v(U,this).call(this)}),h(this,j,e=>{let{state:t,hasJoined:r}=e;t===i.CALL_STATES.ON&&r&&v(G,this).call(this)}),h(this,G,async()=>{if(!v(D,this)&&!v(N,this))try{E(D,this,!0);const e=await v(w,this).call(this);E(N,this,new l.PeerManager(v(O,this),e)),v(b,this).on("join",v(W,this)),v(b,this).on("leave",v(V,this)),await Promise.all(v(b,this).all().map(e=>{let{id:t,agent:r}=e;return v(N,this).createPeer(v(A,this),t,r)})),v(N,this).on("peer.created",v(z,this)),v(N,this).on("peer.removed",v(F,this)),v(N,this).on("peer.connection.updated",v(B,this)),await Promise.all(v(N,this).peers.map(v(z,this)))}finally{E(D,this,!1)}}),h(this,U,()=>{var e,t,r,n,i,o,s,a;v(b,this).off("join",v(W,this)),v(b,this).off("leave",v(V,this)),v(M,this).forEach((e,t)=>{e[c.default].destroy(),v(M,this).delete(t)}),null===(e=v(R,this))||void 0===e||e[c.default].destroy(),E(R,this,null),null===(t=v(N,this))||void 0===t||t.off("peer.created",v(z,this)),null===(r=v(N,this))||void 0===r||r.off("peer.removed",v(F,this)),null===(n=v(N,this))||void 0===n||n.off("peer.connection.updated",v(B,this)),null===(i=v(N,this))||void 0===i||i.destroy(),E(N,this,null),null===(o=v(P,this))||void 0===o||o.destroy(),E(P,this,null),null===(s=v(T,this))||void 0===s||s.off("updated",v(j,this)),null===(a=v(T,this))||void 0===a||a[c.default].destroy(),E(T,this,null)}),h(this,W,e=>{var t;let{id:r,agent:n}=e;const i=null!=n?n:null;null===(t=v(N,this))||void 0===t||t.createPeer(v(b,this).id,r,i)}),h(this,V,e=>{var t;null===(t=v(N,this))||void 0===t||t.removePeer(e)}),h(this,z,e=>{if(v(M,this).has(e.id))return;const t=new u.RemoteCallParticipant({id:e.id,agentId:e.agentId,peer:e,localParticipant:v(R,this)});var r;v(M,this).set(e.id,t),e.isConnected&&(v(k,this).add(e.id),null===(r=v(T,this))||void 0===r||r.emit("participants.updated",_(x,this,Y)))}),h(this,F,e=>{const t=v(M,this).get(e);if(!t)return g("unknown participant",e);var r;t[c.default].destroy(),v(M,this).delete(e),v(k,this).has(e)&&(v(k,this).delete(e),null===(r=v(T,this))||void 0===r||r.emit("participants.updated",_(x,this,Y)))}),h(this,B,e=>{var t;e.isConnected?v(k,this).add(e.id):v(k,this).delete(e.id),null===(t=v(T,this))||void 0===t||t.emit("participants.updated",_(x,this,Y))}),h(this,H,()=>{const{state:e,hasJoined:t}=v(T,this)||{};var r;e===i.CALL_STATES.ON&&t&&(null===(r=v(N,this))||void 0===r||r.reconnectPeers())}),f(this,"destroy",()=>{var e;v(U,this).call(this),null===(e=v(O,this))||void 0===e||e.destroy(),E(O,this,null),o.WindowTracking.off("activate",v(H,this))}),E(y,this,e.sessionId),E(I,this,e.updateCalling),E(w,this,e.fetchIceServers),E(b,this,e.clientTracker),E(L,this,e.socket),E(C,this,e.agentId),E(A,this,e.clientTracker.id),E(O,this,new l.Signalling(v(L,this),e=>{let{clientId:t}=e;return v(A,this)===t&&o.WindowTracking.isActive()})),o.WindowTracking.on("activate",v(H,this))}get call(){return v(T,this)}}},93646(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.createVideoConstraints=t.createAudioConstraints=void 0,r(16280),r(62953);var n,i=(n=r(37007))&&n.__esModule?n:{default:n};function o(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function s(e,t){return e.get(c(e,t))}function a(e,t,r){return e.set(c(e,t),r),r}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f="_cobrowse_media_settings",h={videoEnabled:!1,videoInputDeviceId:"default",audioEnabled:!1,audioInputDeviceId:"default",audioOutputDeviceId:"default"},p={width:{ideal:1280},height:{ideal:720}};t.createAudioConstraints=e=>{let{audioEnabled:t,audioInputDeviceId:r}=e;const n="default"===(r||"default")?"ideal":"exact";return{audio:!!t&&{deviceId:{[n]:r}}}},t.createVideoConstraints=e=>{let{videoEnabled:t,videoInputDeviceId:r}=e;const n="default"===(r||"default")?"ideal":"exact";return{video:!!t&&u(u({},p),{},{deviceId:{[n]:r}})}};var _=new WeakMap,v=new WeakMap,E=new WeakMap;class m extends i.default{constructor(e){super(),o(this,_,null),o(this,v,void 0),o(this,E,void 0),a(_,this,u(u({},h),e.getItem(f))),a(v,this,t=>e.setItem(f,t)),a(E,this,()=>this.update(e.getItem(f)))}get settings(){return u({},s(_,this))}update(e){var t;let r=!1;for(const[t,n]of Object.entries(e))void 0!==n&&t in s(_,this)&&s(_,this)[t]!==n&&(s(_,this)[t]=n,r=!0);r&&(null===(t=s(v,this))||void 0===t||t.call(this,s(_,this)),this.emit("updated",this))}toggleAudio(){this.update({audioEnabled:!s(_,this).audioEnabled})}toggleVideo(){this.update({videoEnabled:!s(_,this).videoEnabled})}reloadFromStorage(){s(E,this).call(this)}}t.default=m},24719(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Calling",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(67427))&&n.__esModule?n:{default:n}},44411(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(13579),r(62953);var n=r(37007),i=r(37609);function o(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function s(e,t){return e.get(c(e,t))}function a(e,t,r){return e.set(c(e,t),r),r}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap;class _ extends n.EventEmitter{constructor(e){let{id:t,agentId:r}=e;super(),o(this,l,void 0),o(this,u,void 0),o(this,d,void 0),o(this,f,(0,i.protect)(this,"_addTrack",e=>{s(d,this).getTrackById(e.id)||(s(d,this).getTracks().forEach(t=>{t.kind===e.kind&&s(d,this).removeTrack(t)}),s(d,this).addTrack(e),this.emit("track.added",e))})),o(this,h,(0,i.protect)(this,"_removeTrack",e=>{s(d,this).getTracks().some(t=>t.id===e.id)&&(e.stop(),s(d,this).removeTrack(e),this.emit("track.removed",e))})),o(this,p,(0,i.protect)(this,"_destroy",()=>{s(d,this).getTracks().forEach(e=>{e.stop(),s(d,this).removeTrack(e)})})),a(l,this,t),a(u,this,r),a(d,this,new MediaStream)}get id(){return s(l,this)}get agentId(){return s(u,this)}get stream(){return s(d,this)}get hasAudio(){return s(d,this).getAudioTracks().some(e=>"live"===e.readyState)}get hasVideo(){return s(d,this).getVideoTracks().some(e=>"live"===e.readyState)}}t.default=_},32656(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=s(r(51227)),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(37609)),o=s(r(44411));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}const c=(0,n.default)("cbio.Calling.LocalCallParticipant");var l=new WeakMap,u=new WeakMap,d=new WeakMap;class f extends o.default{constructor(e){let{id:t,agentId:r}=e;super({id:t,agentId:r}),a(this,l,(0,i.protect)(this,"addTrack",e=>{c("adding track with kind",e.kind,"to local participant",this.id),this[i.default]._addTrack(e)})),a(this,u,(0,i.protect)(this,"removeTrack",e=>{c("removing track with kind",e.kind,"from local participant",this.id),this[i.default]._removeTrack(e)})),a(this,d,(0,i.protect)(this,"destroy",()=>{this[i.default]._destroy()}))}}t.default=f},81849(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(13579),r(62953);var n=s(r(51227)),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(37609)),o=s(r(44411));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t){return e.get(u(e,t))}function l(e,t,r){return e.set(u(e,t),r),r}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const d=(0,n.default)("cbio.Calling.RemoteCallParticipant");var f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap;class b extends o.default{constructor(e){var t;let{id:r,agentId:n,peer:o,localParticipant:s}=e;super({id:r,agentId:n}),t=this,a(this,f,void 0),a(this,h,void 0),a(this,p,()=>{const{stream:e,hasAudio:t,hasVideo:r}=c(h,this);(t||r)&&e.getTracks().forEach(t=>{c(y,this).call(this,t,e)})}),a(this,_,()=>{c(p,this).call(this)}),a(this,v,e=>{c(y,this).call(this,e,c(h,this).stream)}),a(this,E,e=>{c(I,this).call(this,e)}),a(this,m,e=>{this[i.default]._addTrack(e)}),a(this,g,e=>{this[i.default]._removeTrack(e)}),a(this,y,function(e){d("adding track with kind",e.kind,"to remote participant",t.id);const{connection:r}=c(f,t);if(r.getSenders().some(t=>{var r;return(null===(r=t.track)||void 0===r?void 0:r.id)===e.id}))return d("track already exists");for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r.addTrack(e,...i)}),a(this,I,e=>{d("removing track with kind",e.kind,"from remote participant",this.id);const{connection:t}=c(f,this);t.getSenders().forEach(r=>{var n;(null===(n=r.track)||void 0===n?void 0:n.id)===e.id&&t.removeTrack(r)})}),a(this,w,(0,i.protect)(this,"destroy",()=>{this[i.default]._destroy(),c(f,this).off("connection.created",c(_,this)),c(f,this).off("track.added",c(m,this)),c(f,this).off("track.removed",c(g,this)),c(h,this).off("track.added",c(v,this)),c(h,this).off("track.removed",c(E,this))})),l(f,this,o),l(h,this,s),c(f,this).on("connection.created",c(_,this)),c(f,this).on("track.added",c(m,this)),c(f,this).on("track.removed",c(g,this));const{connection:u}=c(f,this);u.getReceivers().forEach(e=>{e.track&&c(m,this).call(this,e.track)}),c(h,this).on("track.added",c(v,this)),c(h,this).on("track.removed",c(E,this)),c(p,this).call(this)}}t.default=b},13778(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LocalCallParticipant",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"RemoteCallParticipant",{enumerable:!0,get:function(){return i.default}});var n=o(r(32656)),i=o(r(81849));function o(e){return e&&e.__esModule?e:{default:e}}},61789(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RegistrationPath=t.DeviceIdPath=void 0,r(16280),r(44114),r(18111),r(20116),r(27495),r(25440),r(79978),r(62953),r(55815),r(64979),r(79739),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(80608),i=r(40492),o=r(42074),s=u(r(86542)),a=u(r(56851)),c=u(r(18781)),l=r(57089);function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function h(e,t){return e.get(_(e,t))}function p(e,t,r){return e.set(_(e,t),r),r}function _(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const v=(0,u(r(51227)).default)("cbio.Device"),E=t.DeviceIdPath="_cobrowse_device_id",m=t.RegistrationPath="_cobrowse_device_registration";var g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap,T=new WeakMap;class P extends i.RESTResource{constructor(e){var t;if(super(),t=this,f(this,g,void 0),f(this,y,void 0),f(this,I,void 0),f(this,w,!1),f(this,b,void 0),d(this,"url",()=>new URL("api/1/devices/".concat(this.id()),P.api).toString()),d(this,"reset",function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];v("resetting device"),clearTimeout(h(I,t)),p(I,t,null),e||(0,s.default)().removeItem(m),h(g,t)&&(h(g,t).close(),p(g,t,null))}),d(this,"destroy",async()=>(v("destroying device"),this.reset(),super.destroy())),d(this,"hasPendingUpdates",()=>{const e=this.field("custom_data")||{},t=h(b,this).customData||{};return!!Object.keys(t).find(r=>e[r]!==t[r])}),f(this,L,()=>{if(!h(b,this).license)throw new Error("License required to generate storage key");return"".concat(h(b,this).license,":").concat(P.api)}),d(this,"_saveRegistration",()=>{const e=this.field("next_registration")||3600,t=(new Date).getTime();"number"!=typeof Date.now()&&console.error("Unexpected type returned for Date.now(), expecting number got ".concat(typeof Date.now())),"number"!=typeof t&&console.error("Unexpected type for getTime() of Date, expecting number got ".concat(typeof t));const r={notification_url:this.field("notification_url"),notification_token:this.field("notification_token"),custom_data:this.field("custom_data"),next_registration_time:t+1e3*e};return this.cache({next_registration_time:r.next_registration_time}),(0,s.default)(h(L,this).call(this)).setItem(m,r),this}),d(this,"_loadRegistration",()=>{if(h(w,this))return;p(w,this,!0);const e=(0,s.default)(h(L,this).call(this)).getItem(m);e&&(v("restoring registration",e),this.cache(e))}),d(this,"updateRegistration",async e=>{if(h(y,this).limit())throw new Error("Cobrowse update rate limit exceeded. Maybe you're updating custom data too often?");return v("updating registration"),await this.update({device:P.info,custom_data:h(b,this).customData},e),h(T,this).call(this),this._saveRegistration(),this.emit("register"),this}),d(this,"runRegistrationLoop",async()=>{v("starting registrations"),this._loadRegistration(),this.reset(!0),(this.hasPendingUpdates()||this.nextRegistration()<=0)&&await this.updateRegistration().catch(()=>{}),h(T,this).call(this),h(S,this).call(this)}),d(this,"pauseRegistrationLoop",async()=>{v("pausing registrations"),this.reset(!0)}),d(this,"nextRegistration",()=>(this.field("next_registration_time")||0)-(new Date).getTime()),d(this,"clone",()=>{const e=new P(h(b,this));return super.clone(e),e}),d(this,"_nextUpdate",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Math.max(Math.min(6e4*e,36e5),t.nextRegistration())}),f(this,S,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(h(I,t))return void console.error("CobrowseIO: tried to schedule registration while already scheduled");const r=t._nextUpdate(e);p(I,t,setTimeout(async()=>{if(!h(I,t))return console.error("Registration loop cancelled");try{return await t.updateRegistration(),p(I,t,!1),h(S,t).call(t)}catch(r){return console.warn("CobrowseIO: registration failed",r),p(I,t,!1),h(S,t).call(t,e+1)}},Math.max(1e3,r)))}),f(this,C,()=>{const e=this.field("notification_url");return(0,a.default)(e)}),f(this,A,()=>{const e=this.field("notification_token");return["cbio.http.headers.authorization.bearer.".concat(window.btoa(e).replaceAll("=",""))]}),f(this,O,()=>{h(g,this)||(p(g,this,new o.CBORSocket({getUrl:h(C,this),getProtocols:h(A,this)})),h(g,this).setMaxReconnectDelay(6e4),h(g,this).on("error",e=>{e&&console.warn("CobrowseIO notification socket error:",e)}),h(g,this).on("event",(e,t)=>{"notification"===e?this.emit("notification",t):"probe"===e&&h(g,this).send("alive",t)}),h(g,this).on("open",()=>{h(g,this).send("filter",{events:["probe","notification"]})}))}),f(this,N,()=>{h(g,this)&&(console.log("CobrowseIO: Closing socket"),h(g,this).close(),p(g,this,null))}),f(this,T,()=>{const e=this.field("notification_url"),t=this.field("notification_token");e&&t?h(O,this).call(this):h(N,this).call(this)}),v("constructed"),!e)throw new Error("Device delegate is required");p(b,this,e),p(y,this,new c.default(10,12e4))}id(){return P.deviceId()}get customData(){return this.field("custom_data")||{}}static deviceCredentials(){let e=(0,s.default)().getItem(E)||{};return"string"==typeof e&&(e={id:e}),"object"!=typeof e&&(e={}),e.id||(e.id=(0,n.v4)()),e.token||(e.token=(0,n.v4)()),(0,s.default)().setItem(E,e),e}static deviceId(){return this.deviceCredentials().id}static deviceToken(){return this.deviceCredentials().token}static get info(){const e=[l.SESSION_CAPABILITY_TYPE_POINTER,l.SESSION_CAPABILITY_TYPE_SCROLL,l.SESSION_CAPABILITY_TYPE_SELECT,l.SESSION_CAPABILITY_TYPE_KEYPRESS,l.SESSION_CAPABILITY_TYPE_DRAWING,l.SESSION_CAPABILITY_TYPE_ARROWS,l.SESSION_CAPABILITY_TYPE_RECTANGLES,l.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK,l.SESSION_CAPABILITY_TYPE_LASER,l.SESSION_CAPABILITY_TYPE_CURSOR,l.SESSION_CAPABILITY_TYPE_UNIVERSAL,l.SESSION_CAPABILITY_TYPE_HIGHLIGHT,l.SESSION_CAPABILITY_TYPE_CALLING];return/Android|webOS|iPhone|iPad|iPod|Opera Mini/i.test(window.navigator.userAgent)||e.push(l.SESSION_CAPABILITY_TYPE_FULL_DEVICE),{platform:"web",device:window.navigator.userAgent,device_locale:window.navigator.language,device_timezone:window.Intl.DateTimeFormat().resolvedOptions().timeZone,os_version:window.navigator.platform,app_id:window.location.origin,app_name:window.document.title,app_build_configuration:"release",sdk_version:"3.24.0",capabilities:e}}}t.default=P},21667(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Device",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(61789))&&n.__esModule?n:{default:n}},20539(e,t,r){"use strict";var n;function i(e,t){return e.get(o(e,t))}function o(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);const s=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.DisabledViews");var a=new WeakMap;t.default=new class{constructor(){!function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(this,a,void 0)}init(e){var t,r;r=e,(t=a).set(o(t,this),r),s("initialising with new nodeIndex")}getDisabledBy(e){var t,r;return null!==(t=null===(r=i(a,this))||void 0===r?void 0:r.getIncludedBy(e))&&void 0!==t?t:null}isDisabled(e){var t,r;return null!==(t=null===(r=i(a,this))||void 0===r?void 0:r.isIncluded(e))&&void 0!==t&&t}notifyChanges(e,t,r,n){var o,s;return null!==(o=null===(s=i(a,this))||void 0===s?void 0:s.notifyChanges(e,t,r,n))&&void 0!==o?o:new Set}}},67501(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DisabledViews",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(20539))&&n.__esModule?n:{default:n}},71260(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=s(r(37007)),i=r(18567),o=s(r(34669));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap;class w extends n.default{constructor(){var e;super(...arguments),e=this,c(this,f,void 0),c(this,h,void 0),c(this,p,void 0),c(this,_,void 0),c(this,v,void 0),c(this,E,void 0),c(this,m,void 0),c(this,g,void 0),c(this,y,!1),c(this,I,void 0),a(this,"load",function(t,r,n){let{element:o,type:s}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};u(h,e,t);const a=(0,i.parseWindowFeatures)(n);u(f,e,a.popup?"_blank":r),u(p,e,o),u(_,e,s),u(v,e,""),u(E,e,""),u(m,e,!0),u(g,e,!1),e.emit("updated",e)}),a(this,"close",()=>{l(y,this)||(u(y,this,!0),this.emit("closed",this))}),a(this,"serialize",()=>({url:this.url,icon:this.icon,title:this.title,isLoading:this.isLoading,isBlocked:this.isBlocked,isClosed:this.isClosed}))}get target(){return l(f,this)}get url(){return l(h,this)}set url(e){this.url!==e&&(u(h,this,e),this.emit("updated",this))}get element(){return l(p,this)}get type(){return l(_,this)}get icon(){return l(v,this)}set icon(e){l(v,this)!==e&&(u(v,this,e),this.emit("updated",this))}get title(){return l(E,this)}set title(e){l(E,this)!==e&&(u(E,this,e),this.emit("updated",this))}get isLoading(){return l(m,this)}set isLoading(e){l(m,this)!==e&&(u(m,this,e),this.emit("updated",this))}get isBlocked(){return l(g,this)}set isBlocked(e){l(g,this)!==e&&(u(g,this,e),this.emit("updated",this))}get isClosed(){return l(y,this)}get windowProxy(){return l(I,this)||u(I,this,new o.default(this)),l(I,this)}}t.default=w},68756(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=r(80608),i=s(r(77966)),o=s(r(71260));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(u(e,t))}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap;t.default=class{constructor(e){let{onDocumentAdded:t}=e;var r,s;c(this,d,new Map),c(this,f,new Map),c(this,h,new Map),c(this,p,new Map),c(this,_,void 0),c(this,v,(e,t)=>{let{handle:r,document:n}=e,{trusted:i}=t;if(!i)return;const o=this.getDocumentByHandle(r);o&&!o.isClosed&&n.isClosed&&o.close(!0)}),c(this,E,e=>{const t=l(f,this).get(e);l(d,this).delete(t),l(f,this).delete(e);const r=l(p,this).get(t);l(p,this).delete(t),r&&l(h,this).delete(r)}),c(this,m,(e,t)=>{const r=()=>{const r={handle:e,document:t.serialize()};t.element?i.default.broadcastToChildren("document",r):i.default.sendToParent("document",r)};t.on("updated",r),r(),t.once("closed",()=>{t.off("updated",r),r(),l(E,this).call(this,t)})}),a(this,"addDocument",(e,t,r)=>{var n;l(d,this).has(e)||r.isClosed||(l(d,this).set(e,r),l(f,this).set(r,e),t&&(l(h,this).set(t,e),l(p,this).set(e,t)),l(m,this).call(this,e,r),null===(n=l(_,this))||void 0===n||n.call(this,r))}),a(this,"closeAllDocuments",()=>{for(const[,e]of l(d,this))e.close(),l(E,this).call(this,e)}),a(this,"getDocumentByHandle",e=>l(d,this).get(e)),a(this,"resolveDocumentHandle",e=>l(h,this).get(e)||(0,n.v4)()),a(this,"resolveDocument",(e,t)=>{const r=e||this.resolveDocumentHandle(t);return{handle:r,document:this.getDocumentByHandle(r)||new o.default}}),a(this,"destroy",()=>{i.default.off("document",l(v,this))}),s=t,(r=_).set(u(r,this),s),i.default.on("document",l(v,this))}}},34669(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=(n=r(37007))&&n.__esModule?n:{default:n};function o(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function s(e,t){return e.get(c(e,t))}function a(e,t,r){return e.set(c(e,t),r),r}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var l=new WeakMap,u=new WeakMap,d=new WeakMap;class f extends i.default{constructor(e){super(),o(this,l,void 0),o(this,u,void 0),o(this,d,e=>{e.url!==s(u,this)&&(a(u,this,e.url),this.emit("load",new Event("load")))}),a(l,this,e),s(l,this).on("updated",s(d,this))}get closed(){return s(l,this).isClosed}get location(){return new URL(s(l,this).url)}close(){s(l,this).close()}addEventListener(e,t,r){null!=r&&r.once?this.once(e,t):this.on(e,t)}removeEventListener(e,t){this.off(e,t)}}t.default=f},89689(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Document",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"DocumentCollection",{enumerable:!0,get:function(){return i.default}});var n=o(r(71260)),i=o(r(68756));function o(e){return e&&e.__esModule?e:{default:e}}},48374(e,t,r){"use strict";r(44114),r(22489),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n,i=r(86780),o=r(45264),s=(n=r(44153))&&n.__esModule?n:{default:n},a=r(79883),c=r(49715);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=class{constructor(e){var t=this;d(this,"_init",()=>{this._propertyWatcher||(this._propertyWatcher=new i.PropertyObserver(this._onPropertySet),s.default.on("stylechange",this._onStyleSheetChange),s.default.on("navigate",this._onNavigation),s.default.on("canvaschange",this._onCanvasChange),s.default.on("selectchange",this._onSelectChange))}),d(this,"observe",e=>{if(this._observing.has(e))return;this._init();const{value:t=e.addEventListener}=Object.getOwnPropertyDescriptor(a.EventTarget.prototype,"addEventListener");t.call(e,"scroll",this._onEvent,{capture:!0,passive:!0}),t.call(e,"focus",this._onFocusChange,{capture:!0,passive:!0}),t.call(e,"blur",this._onFocusChange,{capture:!0,passive:!0}),t.call(e,"change",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keydown",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keyup",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keypress",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"selectionchange",this._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"select",this._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"mouseenter",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseleave",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mousedown",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseup",this._onEvent,{capture:!0,passive:!0}),o.MouseTracking.track(e),o.InteractionTracking.track(e),c.NavigationTracking.track(e),this._observing.add(e);const r=(e.ownerDocument||e).defaultView;r&&!this._windows.has(r)&&(this._windows.add(r),s.default.tap(r),c.NavigationTracking.tap(r),this._propertyWatcher.observe(r.HTMLInputElement,"value"),this._propertyWatcher.observe(r.HTMLInputElement,"checked"),this._propertyWatcher.observe(r.HTMLTextAreaElement,"value"),this._propertyWatcher.observe(r.ShadowRoot,"adoptedStyleSheets"),this._propertyWatcher.observe(r.Document,"adoptedStyleSheets"),r.addEventListener&&(r.addEventListener("hashchange",this._onEvent,{capture:!0,passive:!0}),r.addEventListener("resize",this._onEvent,{capture:!0,passive:!0})))}),d(this,"disconnect",()=>{this._observing.forEach(e=>{const{value:t=e.removeEventListener}=Object.getOwnPropertyDescriptor(a.EventTarget.prototype,"removeEventListener");t.call(e,"scroll",this._onEvent,{capture:!0,passive:!0}),t.call(e,"focus",this._onFocusChange,{capture:!0,passive:!0}),t.call(e,"blur",this._onFocusChange,{capture:!0,passive:!0}),t.call(e,"change",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keydown",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keyup",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keypress",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"selectionchange",this._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"select",this._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"mouseenter",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseleave",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mousedown",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseup",this._onEvent,{capture:!0,passive:!0}),o.MouseTracking.untrack(e),o.InteractionTracking.untrack(e),c.NavigationTracking.untrack(e)}),this._observing.clear(),this._windows.forEach(e=>{s.default.untap(e),c.NavigationTracking.untap(e),e&&!(0,i.isxdoc)(e)&&e.removeEventListener&&(e.removeEventListener("hashchange",this._onEvent,{capture:!0,passive:!0}),e.removeEventListener("resize",this._onEvent,{capture:!0,passive:!0}))}),this._windows.clear(),this._propertyWatcher&&(this._propertyWatcher.disconnect(),this._propertyWatcher=null,s.default.off("stylechange",this._onStyleSheetChange),s.default.off("navigate",this._onNavigation),s.default.off("canvaschange",this._onCanvasChange),s.default.off("selectchange",this._onSelectChange))}),d(this,"_getActualTarget",e=>{const{get:t}=Object.getOwnPropertyDescriptor(a.Event.prototype,"target");return t.apply(e)}),d(this,"_target",e=>{const t=this._getActualTarget(e);return t&&t.document||t}),d(this,"_onEvent",function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t._onModification(t._target(e),u(u({},r),{},{type:e.type}))}),d(this,"_onSelectionEvent",e=>{var t;const r=this._getActualTarget(e),n=null!==(t=r.ownerDocument)&&void 0!==t?t:r;var i;n.__last_agent_selection_ts>Date.now()-100||("selectionchange"===e.type&&(["INPUT","TEXTAREA"].includes(null===(i=n.activeElement)||void 0===i?void 0:i.tagName)?(n.activeElement.__cobrowse_user_selection_timestamp=Date.now(),this._onModification(n.activeElement,{type:e.type})):(r.__cobrowse_user_selection_timestamp=Date.now(),this._onModification(r,{type:e.type}))),"select"===e.type&&(r.__cobrowse_user_selection_timestamp=Date.now(),this._onModification(r,{type:e.type})))}),d(this,"_onStyleSheetChange",e=>{e.ownerNode&&this._onModification(e.ownerNode,{type:"stylesheet"});for(const r of this._observing){var t;null!==(t=r.adoptedStyleSheets)&&void 0!==t&&t.includes(e)&&this._onModification(r,{type:"adoptedstylesheet"})}}),d(this,"_onNavigation",e=>{this._onModification(e.document,{type:"navigation"})}),d(this,"_onCanvasChange",e=>{this._onModification(e,{type:"canvas"})}),d(this,"_onSelectChange",e=>{this._onModification(e,{type:"select",recursive:!0})}),d(this,"_onFocusChange",e=>{const t=this._getActualTarget(e);null!=t&&(this._onModification(t,{type:e.type}),t.ownerDocument&&this._onModification(t.ownerDocument,{type:e.type}))}),d(this,"_onInputEvent",e=>{const t=this._getActualTarget(e);"SELECT"===t.tagName||"TEXTAREA"===t.tagName?this._onModification(this._target(e),{recursive:!0,type:e.type}):"INPUT"===t.tagName&&("radio"===t.type&&t.name?(t.closest("form")||t.ownerDocument).querySelectorAll('input[type=radio][name="'.concat(t.name,'"]')).forEach(t=>this._onModification(t,{type:e.type})):this._onModification(this._target(e),{recursive:!0,type:e.type}))}),d(this,"_onPropertySet",e=>{this._onModification(e,{type:"property"})}),this._onModification=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return setTimeout(()=>e(...r),0)},this._observing=new Set,this._windows=new Set}}},25596(e,t,r){"use strict";r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(18111),r(61701),r(62953);var n,i=(n=r(32017))&&n.__esModule?n:{default:n},o=r(86780);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=class{constructor(e){this._id=e,this.reset()}_difference(e,t){if(!t)return a({},e);const r={};for(const[n,o]of Object.entries(e))(0,i.default)(o,t[n])||(r[n]=o);return r}compress(){const e=[],t=Object.values(this.modified);for(let r=0;r<t.length;r++){const n=t[r],i=this.state.node(n.id),o=this._difference(n,this._flatten(i||{}));Object.keys(o).length>0&&(o.id=n.id,e.push(o))}return e}mark(){return this.state.applyPatch(Object.values(this.modified)),this.modified={},this}_flatten(e){return e.childNodes?a(a({},e),{},{childNodes:e.childNodes.map(e=>({id:e.id}))}):e}push(e){if(!e||!e.modified)return console.error("invalid patch",e),this;for(const t of e.modified)t&&(0,o.depthFirstPreOrder)(t,e=>{this.modified[e.id]=a(a({},this.modified[e.id]),this._flatten(e))});return this}reset(e){return this.state=new o.VirtualDOM(this._id),this.modified={},e&&this.push({_t:"reset",modified:[e]}),this}}},23221(e,t,r){"use strict";r(22489),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(18111),r(7588),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(37007),i=r(86780),o=r(66938),s=_(r(48374)),a=r(79883),c=_(r(77966)),l=_(r(51227)),u=r(38091),d=_(r(44153)),f=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(62063)),h=r(16566),p=r(67501);function _(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach(function(t){m(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){return e.get(function(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}(e,t))}const y=(0,l.default)("cbio.PatchStream");var I=new WeakMap;class w extends n.EventEmitter{constructor(e){var t,r;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var l,_,v;super(),t=this,v={includeVisibility:!1},function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(l=this,_=I),_.set(l,v),m(this,"start",()=>{y("starting patch stream for",this._root),this._documents=new Set,this._iframeBridge.on("patch",this._onXDocIframeUpdate),performance.mark("cb:patch-stream-observe-start"),this._observe(this._root),performance.mark("cb:patch-stream-observe-end"),performance.measure("cb:patch-stream-observe","cb:patch-stream-observe-start","cb:patch-stream-observe-end"),d.default.on("attachshadow",this._onAttachShadow)}),m(this,"_serializeWithScheduling",(e,t,r)=>{if(!(0,f.isElementWithChildren)(e)||(0,f.isVisibleCheck)(e)||!(0,f.isLargeElement)(e))return o.NodeSerializer.serialize(e,t,r);if(!this._nodeScheduler.tryScheduleElement(e,f.isVisibleCheck,r))return o.NodeSerializer.serialize(e,t,r);const n=E(E({},r),{},{skipChildren:!0,forceHidden:!0});return t([]),o.NodeSerializer.serialize(e,t,n)}),m(this,"partialSync",e=>{const t=o.NodeTracker.getById(e);t&&this.emit("patch",{_t:"partialsync",modified:[o.NodeSerializer.serialize(t,void 0,g(I,this))]})}),m(this,"stop",()=>{y("stopping patch stream for",this._root),this._eventObserver.disconnect(),this._mutationObserver.disconnect(),this._iframeBridge.removeListener("patch",this._onXDocIframeUpdate),this._documents&&this._documents.clear(),this._documents=null,d.default.off("attachshadow",this._onAttachShadow)}),m(this,"destroy",()=>{y("destroying patch stream for",this._root),this.stop(),this.removeAllListeners(),o.NodeTree.depthFirst(this._root,this._untrack),this._mutationObserver=null,this._eventObserver=null,this._iframeBridge=null,this._root=null,this._nodeScheduler.destroy(),this._nodeScheduler=null}),m(this,"_track",e=>{o.NodeUtils.isDOMNode(e)&&(o.NodeTracker.track(e),e.nodeType===window.Node.DOCUMENT_NODE&&this._observe(e),e.nodeType===window.Node.DOCUMENT_FRAGMENT_NODE&&this._observe(e),"IFRAME"===e.tagName&&(this._iframeBridge.track(e),e.removeEventListener("load",this._onIframeLoad,{capture:!0}),e.addEventListener("load",this._onIframeLoad,{capture:!0})))}),m(this,"_untrack",e=>{o.NodeTracker.forget(e),o.NodeUtils.isDOMNode(e)&&"IFRAME"===e.tagName&&(e.removeEventListener("load",this._onIframeLoad,{capture:!0}),this._iframeBridge.remove(e))}),m(this,"_onAttachShadow",e=>{const t=e.host;o.NodeTracker.get(t)&&(h.Redaction.isRedacted(t)||(this._observe(e),o.NodeTree.isIgnored(t)||this.emit("patch",{_t:"attachshadow",modified:[o.NodeSerializer.serialize(t,void 0,g(I,this)),o.NodeTree.depthFirstMapped(e,(e,t)=>o.NodeSerializer.serialize(e,t,g(I,this)))]})))}),m(this,"_onXDocIframeUpdate",(e,t)=>{let{iframe:r}=t;y("xdoc iframe updated",r,e),r&&(h.Redaction.isRedacted(r)||o.NodeTree.isIgnored(r)||(r.__document_id=e.document_id,this.emit("patch",{_t:"xdociframeupdate",modified:[o.NodeSerializer.serialize(r,void 0,g(I,this)),...e.patch]})))}),m(this,"_onIframeLoad",e=>{let{target:t}=e;y("iframe loaded",t),h.Redaction.isRedacted(t)||((0,i.isxdoc)(t)||this._observe(t.contentWindow.document),this._iframeBridge.track(t),o.NodeTree.isIgnored(t)||this.emit("patch",{_t:"iframeupdate",modified:[o.NodeTree.depthFirstMapped(t,(e,t)=>o.NodeSerializer.serialize(e,t,g(I,this)))]}))}),m(this,"_onEventMutation",function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t._eventObserver)return;if(t._mutationObserver&&t._onDOMChange(t._mutationObserver.takeRecords()),"TEXTAREA"===e.tagName&&o.NodeTree.depthFirst(e,t._track),!o.NodeTracker.get(e))return;if(h.Redaction.isRedacted(e))return;if(o.NodeTree.isIgnored(e))return;const n=E(E({},g(I,t)),{},{rasterizeCanvas:"canvas"===r.type});t.emit("patch",{_t:"eventmutation:".concat(r.type),modified:[(()=>{var i;const s=null===(i=t._nodeScheduler)||void 0===i?void 0:i.getScheduledAncestor(e);s&&t._nodeScheduler.unscheduleElement(s);const a=s||e,c=Boolean(s),l=c||r.recursive?o.NodeTree.depthFirstMapped(a,(e,r)=>t._serializeWithScheduling(e,r,n)):o.NodeSerializer.serialize(a,void 0,n);return c&&l.attributes&&void 0===l.attributes.style&&(l.attributes.style=""),l})()]})}),m(this,"_getModifications",e=>{const t=new Set,r=new Set,n=new Set;return e.forEach(e=>{("characterData"===e.type||r.has(e.target)||o.NodeTracker.get(e.target))&&(0,u.discoverNodes)(e,r,n,t)}),t.forEach(e=>this._untrack(e)),r.forEach(e=>this._track(e)),{added:n,modified:r,removed:t}}),m(this,"_onDOMChange",e=>{const{added:t,modified:r,removed:n}=this._getModifications(e),i=h.Redaction.notifyChanges(e,t,r,n),s=p.DisabledViews.notifyChanges(e,t,r,n),a=new Map,c=[...r,...i,...s];for(const e of c){var l;const t=null===(l=this._nodeScheduler)||void 0===l?void 0:l.getScheduledAncestor(e);t&&this._nodeScheduler.unscheduleElement(t);const r=t||e,n=Boolean(t)||s.has(e),i=a.get(r);(void 0===i||!i&&n)&&a.set(r,n)}if(0===a.size)return;y("DOM changed",a);const u=[];for(const[e,t]of a){const r=t?o.NodeTree.depthFirstMapped(e,(e,t)=>this._serializeWithScheduling(e,t,g(I,this))):o.NodeSerializer.serialize(e,void 0,g(I,this));r&&(t&&r.attributes&&void 0===r.attributes.style&&(r.attributes.style=""),u.push(r))}y("DOM changes serialized",u),this.emit("patch",{_t:"domchange",modified:u})}),m(this,"_onScheduledNodeReady",(e,t)=>{y("scheduled element ready",e);const r=o.NodeTree.depthFirstMapped(e,(e,r)=>o.NodeSerializer.serialize(e,r,t));this.emit("patch",{_t:"scheduled",modified:[r]})}),this._root=e,g(I,this).includeVisibility=null!==(r=n.includeVisibility)&&void 0!==r&&r,this._mutationObserver=new a.MutationObserver(this._onDOMChange),this._eventObserver=new s.default(this._onEventMutation),this._nodeScheduler=new f.default(this._onScheduledNodeReady),this._iframeBridge=c.default}forceUpdate(){y("forcing entire state update from",this._root);const e=E(E({},g(I,this)),{},{rasterizeCanvas:!0});performance.mark("cb:serialize-head-start");const t=E(E({},o.NodeSerializer.serialize(this._root,void 0,g(I,this))),{},{scroll:void 0,childNodes:[E(E({},o.NodeSerializer.serialize(this._root.documentElement,void 0,g(I,this))),{},{childNodes:[o.NodeTree.depthFirstMapped(this._root.head,(e,t)=>o.NodeSerializer.serialize(e,t,g(I,this)))]})]});performance.mark("cb:serialize-head-end"),performance.measure("cb:serialize-head","cb:serialize-head-start","cb:serialize-head-end"),this.emit("patch",{_t:"pre-force",flush:!0,modified:[t]}),performance.mark("cb:serialize-body-start");const r=o.NodeTree.depthFirstMapped(this._root,(t,r)=>this._serializeWithScheduling(t,r,e));performance.mark("cb:serialize-body-end"),performance.measure("cb:serialize-body","cb:serialize-body-start","cb:serialize-body-end"),this.emit("patch",{_t:"forced",flush:!0,modified:[r]})}_observe(e){if(e.nodeType!==window.Node.DOCUMENT_NODE&&e.nodeType!==window.Node.DOCUMENT_FRAGMENT_NODE)throw new Error("CobrowseIO: observed a non-document or fragment node (type=".concat(e.nodeType,")"));if(!this._documents.has(e)){y("starting observation of",e),this._documents.add(e),y("doing initial node tracking on observe for",e),o.NodeTree.depthFirst(e,this._track),this._eventObserver.observe(e);try{this._mutationObserver.observe(e,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}catch(t){console.error("CobrowseIO failed to start mutation observer for",e)}}}}t.default=w},72847(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PatchCompressor",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"PatchStream",{enumerable:!0,get:function(){return n.default}});var n=o(r(23221)),i=o(r(25596));function o(e){return e&&e.__esModule?e:{default:e}}},53071(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(62953);var n=a(r(7350)),i=r(72847),o=r(66938),s=r(45264);function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return e.set(u(e,t),r),r}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const d=(0,a(r(51227)).default)("cbio.DOMFrameSource");var f=new WeakMap;t.default=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,a,h;h={},function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(r=this,a=f),a.set(r,h),c(this,"_throttleCompressAndEmitFrame",(0,n.default)(()=>this._compressAndEmitFrame(),110)),c(this,"capturingWillStart",()=>{if(d("capturingWillStart for DOMFrameSource in",document),this._sendInterval)throw new Error("DOMFrameSource already running");var e;this._compression||(this._compression=new i.PatchCompressor(o.NodeTracker.track(document))),this._patchStream||(this._patchStream=new i.PatchStream(document,(e=f).get(u(e,this)))),s.WindowTracking.on("activate",this.reset),this._patchStream.on("patch",e=>{this._compression.push(e),e.flush?this._compressAndEmitFrame():this._throttleCompressAndEmitFrame()}),this._sendInterval=setInterval(()=>this._compressAndEmitFrame(),500),this._patchStream.start()}),c(this,"capturingWillStop",()=>{d("capturingWillStop for DOMFrameSource in",document),s.WindowTracking.removeListener("activate",this.reset),this._sendInterval&&(clearInterval(this._sendInterval),this._sendInterval=null),this._patchStream&&(this._patchStream.destroy(),this._patchStream=null),this._compression&&(this._compression.reset(),this._compression=null)}),c(this,"setCodecs",e=>{}),c(this,"reset",()=>{d("resetting DOMFrameSource in",document),setTimeout(()=>{var e,t;null===(e=this._compression)||void 0===e||e.reset(),null===(t=this._patchStream)||void 0===t||t.forceUpdate()},0)}),c(this,"destroy",()=>{d("destroying DOMFrameSource in",document),this.capturingWillStop(),this._onUpdate=null}),c(this,"partialSync",e=>{var t;null===(t=this._patchStream)||void 0===t||t.partialSync(e)}),d("DOMFrameSource constructed in",document),this._onUpdate=e,l(f,this,t)}setOptions(e){l(f,this,e)}_compressAndEmitFrame(){if(!this._compression)return;if(!document||!o.NodeTracker.get(document))return;const e=this._compression.compress();e.length&&this._onUpdate({document_id:o.NodeTracker.get(document),patch:e})&&this._compression.mark()}}},42668(e,t,r){"use strict";var n;function i(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280);const o=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.FrameLoop");t.default=class{constructor(){i(this,"isRunning",()=>this._running),i(this,"setSource",async e=>{if(e.constructor!==(this.source&&this.source.constructor))if(this.isRunning()){this.source&&this.source.capturingWillStop(),this.source=e;try{await this.source.capturingWillStart(),this.invalidateFrame()}catch(e){console.error(e)}}else this.source=e;else o("frame source type not changed")}),i(this,"getSource",()=>this.source),i(this,"start",async()=>{o("starting frame loop in",document),this.isRunning()||(this._running=!0,this.source.capturingWillStart())}),i(this,"stop",()=>{this.isRunning()&&(this.source.capturingWillStop(),this._running=!1)}),i(this,"invalidateFrame",()=>{if(!this.isRunning())throw new Error("FrameLoop was destroyed");o("invalidate frame in",document),this.source&&this.source.reset()}),i(this,"destroy",()=>{o("destroying frame loop in",document),this.stop(),this.source&&(this.source.destroy(),this.source=null)}),o("FrameLoop constructed in",document),this._running=!1}}},16999(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(18111),r(7588),r(62953);var n,i=r(62343);function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const u=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.H264Encoder");var d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap;class _{constructor(e,t){if(s(this,d,void 0),s(this,f,void 0),s(this,h,void 0),s(this,p,[]),o(this,"reset",()=>{u("resetting H264Encoder"),a(p,this).forEach(e=>{a(d,this).handleFrame(e,_.MIME_TYPE,1/0)})}),o(this,"destroy",()=>{u("destroy H264Encoder"),a(h,this)&&(a(h,this).stop(),c(h,this,null)),c(p,this,null)}),u("H264Encoder constructed"),c(d,this,t),c(f,this,e),c(h,this,(0,i.createMediaRecorderDemuxer)(e)),!a(h,this))throw new Error("Failed to create MediaRecorderDemuxer");return a(h,this).on("media-packet",e=>{let t,{data:r}=e;null!==a(h,this)&&(0===r[0]&&0===r[1]&&0===r[2]&&1===r[3]?t=r[4]:0===r[0]&&0===r[1]&&1===r[2]&&(t=r[3]),7==(31&t)&&c(p,this,[]),a(p,this).push(r),a(d,this).handleFrame(r,_.MIME_TYPE,1/0))}),a(h,this).start()}static isSupported(){return i.MediaRecorderDemuxer.isSupported("video/webm;codecs=h264")}}t.default=_,o(_,"MIME_TYPE","video/avc")},77601(e,t,r){"use strict";var n;function i(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function s(e,t){return e.get(c(e,t))}function a(e,t,r){return e.set(c(e,t),r),r}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(54743),r(11745),r(16573),r(78100),r(77936),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623),r(62953);const l=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.JPEGEncoder");var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap;class _{constructor(e,t){o(this,u,void 0),o(this,d,void 0),o(this,f,void 0),o(this,h,void 0),o(this,p,()=>{if(!s(f,this))return;const e=s(f,this).scale();s(d,this).width=s(u,this).videoWidth*e,s(d,this).height=s(u,this).videoHeight*e,s(d,this).getContext("2d").drawImage(s(u,this),0,0,s(d,this).width,s(d,this).height),s(d,this).toBlob(async e=>{if(!s(f,this))return;const t=new Uint8Array(await new Response(e).arrayBuffer());s(f,this).handleFrame(t,_.MIME_TYPE,1)},_.MIME_TYPE,.5)}),i(this,"reset",()=>{}),i(this,"destroy",()=>{l("destroy JPEGEncoder"),s(h,this)&&(clearInterval(s(h,this)),a(h,this,null)),a(f,this,null),a(u,this,null),a(d,this,null)}),l("JPEGEncoder constructed"),a(f,this,t),a(u,this,document.createElement("video")),a(d,this,document.createElement("canvas")),s(u,this).srcObject=e,s(u,this).play(),a(h,this,setInterval(s(p,this),100))}}t.default=_,i(_,"MIME_TYPE","image/jpeg")},94911(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=o(r(16999)),i=o(r(77601));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t,r){t||(t=[]);var n=t.length++;return Object.defineProperty({},"_",{set:function(i){t[n]=i,e.apply(r,t)}})}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const f=(0,o(r(51227)).default)("cbio.MediaStreamFrameSource");var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap;t.default=class{constructor(e){a(this,h,void 0),a(this,p,void 0),a(this,_,void 0),a(this,v,null),a(this,E,[]),a(this,m,()=>l(E,this).length&&!l(E,this).includes(n.default.MIME_TYPE)||!n.default.isSupported()?i.default:n.default),a(this,g,async e=>{const t=l(m,this).call(this);var r;return l(v,this)instanceof t||(f("Changing encoder to",t),null===(r=l(v,this))||void 0===r||r.destroy(),u(v,this,new t(e,l(_,this)))),l(v,this)}),s(this,"setCodecs",e=>{u(E,this,e||[]),l(p,this)&&l(g,this).call(this,l(p,this))}),s(this,"capturingWillStart",async()=>{f("capturingWillStart for MediaStreamFrameSource");const e=await l(_,this).requestPermission();if(e)try{if(e instanceof MediaStream?u(p,this,e):u(p,this,await navigator.mediaDevices.getDisplayMedia({video:{cursor:"always",width:{ideal:1400},height:{ideal:1e3},frameRate:{max:10}},audio:!1,selfBrowserSurface:"include"})),[c(u,[h,this])._]=l(p,this).getVideoTracks(),!l(h,this))throw new Error("failed to get display media track");l(h,this).onended=()=>{f("track ended"),u(h,this,null),l(_,this).captureEnded(),this.destroy()},l(g,this).call(this,l(p,this)),l(_,this).captureStarted(l(p,this))}catch(e){l(_,this).captureEnded(e)}}),s(this,"capturingWillStop",()=>{var e;f("capturingWillStop for MediaStreamFrameSource"),null===(e=l(v,this))||void 0===e||e.destroy(),u(v,this,null),u(p,this,null),l(h,this)&&(l(h,this).stop(),u(h,this,null),l(_,this).captureEnded())}),s(this,"reset",()=>{var e;f("resetting MediaStreamFrameSource"),null===(e=l(v,this))||void 0===e||e.reset()}),s(this,"destroy",()=>{var e;f("destroying MediaStreamFrameSource"),this.capturingWillStop(),u(_,this,null),null===(e=l(v,this))||void 0===e||e.destroy(),u(v,this,null)}),f("MediaStreamFrameSource constructed"),u(_,this,e)}}},8647(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DOMFrameSource",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"FrameLoop",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"MediaStreamFrameSource",{enumerable:!0,get:function(){return o.default}});var n=s(r(42668)),i=s(r(53071)),o=s(r(94911));function s(e){return e&&e.__esModule?e:{default:e}}},1149(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IFrameContext=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(49715),i=r(11065),o=r(91834),s=g(r(6900)),a=r(8647),c=g(r(37609)),l=r(44661),u=g(r(11191)),d=r(89689),f=g(r(64033)),h=g(r(56913)),p=g(r(44153)),_=r(66938),v=r(67501),E=r(16566),m=r(75632);function g(e){return e&&e.__esModule?e:{default:e}}function y(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function w(e,t){return e.get(L(e,t))}function b(e,t,r){return e.set(L(e,t),r),r}function L(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap,T=new WeakMap,P=new WeakMap,R=new WeakMap,M=new WeakMap,k=new WeakMap,D=new WeakMap,x=new WeakMap,j=new WeakMap,G=new WeakMap,U=new WeakMap,W=new WeakMap,V=new WeakMap,z=new WeakMap,F=new WeakMap,B=new WeakMap;t.IFrameContext=class{constructor(e,t,r){I(this,S,void 0),I(this,C,void 0),I(this,A,void 0),I(this,O,void 0),I(this,N,void 0),I(this,T,void 0),I(this,P,void 0),I(this,R,e=>{var t;return!(null===(t=w(S,this))||void 0===t||!t.isActive()||!w(S,this)[c.default].proxyToken())}),y(this,"handleNavigation",(e,t,r,n)=>{const{name:i,go:o,e:s,type:a,block:c}=n,{handle:l,document:d}=w(N,this).resolveDocument(n.handle,i),{windowProxy:f}=d,h=(s.view||window)!==window,p=!t||"_self"===t,_={url:e,target:t,windowFeatures:r,type:a,nav:{block:()=>(s.eventPhase===Event.CAPTURING_PHASE||(c(),h||w(T,this).sendBlocked(e)),{windowProxy:f}),parent:n=>(d.load(e,t,r,{type:n||a}),s.eventPhase===Event.CAPTURING_PHASE||(w(N,this).addDocument(l,i,d),w(C,this).open(e,t,r,{type:n||a,handle:l})),{windowProxy:f}),continue:()=>{const n=w(P,this).runHandler(e,t,r,{type:a,document:d});return n.rewrittenUrl?{rewrittenUrl:n.rewrittenUrl}:(n.document&&w(N,this).addDocument(l,i,n.document),{windowProxy:f})},replay:()=>o()},getConsent:()=>w(C,this).confirmOpen(e,a),windowProxy:f,setLoading:()=>!h&&p&&w(T,this).sendLoading(e)};return(u.default.inUniversalProxy?w(k,this):w(M,this))(_)}),I(this,M,e=>{let{target:t,type:r,nav:n,getConsent:i,windowProxy:o}=e;return r?r===l.NAVIGATION_TYPE.XDOC?n.continue():w(R,this).call(this,r)?(i().then(e=>{let{accepted:r}=e;return r?"_blank"===t?n.parent():void n.continue():n.replay()}),{windowProxy:o}):n.continue():n.continue()}),I(this,k,e=>{let{url:t,target:r,type:n,nav:i,getConsent:o,windowProxy:s,setLoading:a}=e;const c=new URL(u.default.unproxify(window.location.href)).origin,d=c!==new URL(t,c).origin;return n?d?w(R,this).call(this,n)?(o().then(e=>{let{accepted:t}=e;return t?"_blank"===r?i.parent():n===l.NAVIGATION_TYPE.PDF?i.continue():(a(),void i.replay()):i.block()}),{windowProxy:s}):i.continue():"_blank"===r?i.parent():n===l.NAVIGATION_TYPE.PDF?i.continue():(a(),{rewrittenUrl:t}):"_blank"===r?i.parent(l.NAVIGATION_TYPE.UNIVERSAL):i.block()}),I(this,D,e=>{w(W,this).call(this,e),e.isActive()&&!w(O,this)&&w(j,this).call(this)}),I(this,x,()=>{w(G,this).call(this),w(N,this)&&w(N,this).closeAllDocuments()}),I(this,j,()=>{var e;null!==(e=w(O,this))&&void 0!==e&&e.isRunning()||(b(O,this,new a.FrameLoop),w(O,this).setSource(new a.DOMFrameSource(e=>(w(A,this).call(this,"patch",e),!0))),w(O,this).start(),w(O,this).invalidateFrame())}),I(this,G,()=>{w(O,this)&&w(O,this).destroy(),b(O,this,null)}),I(this,U,(e,t)=>{w(W,this).call(this,w(S,this)),w(V,this).call(this),w(z,this).call(this),((0,m.didSelectorsChange)(w(C,this).redactedViews,t)||(0,m.didSelectorsChange)(w(C,this).unredactedViews,t)||(0,m.didSelectorsChange)(w(S,this).redactionSelectors(),t)||(0,m.didSelectorsChange)(w(S,this).unredactionSelectors(),t))&&setTimeout(()=>{this.invalidateFrame()},0)}),y(this,"invalidateFrame",()=>{var e;null!==(e=w(O,this))&&void 0!==e&&e.isRunning()&&w(O,this).invalidateFrame()}),y(this,"partialSync",async e=>{var t;if(null===(t=w(O,this))||void 0===t||!t.isRunning())return;const r=w(O,this).getSource();r instanceof a.DOMFrameSource&&(await(0,_.applyContentCache)(e),r.partialSync(e))}),I(this,W,e=>{var t,r;const n=null!==(t=w(C,this).redactedViews)&&void 0!==t?t:[],i=null!==(r=w(C,this).unredactedViews)&&void 0!==r?r:[],o=[...n,...e.redactionSelectors()],s=[...i,...e.unredactionSelectors()];E.Redaction.init(new _.NodeIndex((0,m.resolveSelectorsForCurrentUrl)(o),(0,m.resolveSelectorsForCurrentUrl)(s)))}),I(this,V,()=>{_.NodeTree.setIgnoredViews((0,m.resolveSelectorsForCurrentUrl)(w(C,this).ignoredViews))}),I(this,z,()=>{v.DisabledViews.init(new _.NodeIndex((0,m.resolveSelectorsForCurrentUrl)(w(C,this).disabledViews),(0,m.resolveSelectorsForCurrentUrl)(w(C,this).enabledViews)))}),I(this,F,e=>w(A,this).call(this,"click",e)),I(this,B,e=>w(A,this).call(this,"change",e)),y(this,"destroy",()=>{w(S,this)&&(w(S,this).removeListener("update",w(D,this)),w(S,this).removeListener("ended",w(x,this))),b(S,this,null),w(P,this)&&w(P,this).destroy(),b(P,this,null),p.default.off("navigate",w(U,this)),h.default.off("click",w(F,this)),h.default.off("change",w(B,this)),w(T,this)&&w(T,this).destroy(),b(T,this,null),w(N,this)&&w(N,this).destroy(),b(N,this,null)}),b(S,this,e),b(C,this,t),b(A,this,r),w(D,this).call(this,e),e.on("updated",w(D,this)),e.on("ended",w(x,this)),u.default.inUniversalProxy&&b(T,this,new f.default(e=>w(A,this).call(this,"document",{document:e}))),b(N,this,new d.DocumentCollection({onDocumentAdded:e=>{e.element&&w(C,this).showDocument(e)}}));const g=new i.PDFHandler(e,t),L=new o.UniversalHandler(e,t),H=new s.default(e,t);b(P,this,new n.Navigation({shouldNavigate:w(R,this),handlers:[g,L,H],handleNavigation:this.handleNavigation})),p.default.on("navigate",w(U,this)),h.default.on("click",w(F,this)),h.default.on("change",w(B,this)),w(V,this).call(this),w(z,this).call(this)}navigate(e,t,r){let{type:n}=r;const i=w(P,this).navigate(e,t,{type:n});if("string"==typeof i)return window.open(i,t)}}},20342(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e){e.on("sync",(t,r)=>{let{trusted:n}=r;if(!n)return s("Ignoring untrusted sync event");i.MouseTracking.onChange=t=>e.sendToParent("mouse",t),i.MouseTracking.track(window)}),e.on("mouse",(e,t)=>{let{iframe:r}=t;s("Received mouse event in",e,document,"from",r),r&&(i.MouseTracking.setPosition(e.x,e.y,r),i.MouseTracking.setDown(e.down))}),e.on("control",(t,r)=>{let{trusted:n,trustedOnly:i}=r;if(s("Received control event in",document),!n)return s("Ignoring untrusted control event");o.ControlEvents.applyEvent(...t),e.broadcastToChildren("control",t,{trustedOnly:i})})},r(62953);var n,i=r(45264),o=r(83672);const s=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.iframes.control")},73350(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e,t){function r(t){const r=t[i.default].serializeSanitized();if(e.broadcastToChildren("session",r,{trustedOnly:!1}),t.id()){const r=t[i.default].serialize();e.broadcastToChildren("session",r,{trustedOnly:!0})}}function n(r,n){let{iframe:o,trusted:s}=n;if(!o)return;const a=t.currentSession;if(a){const t=s?a[i.default].serialize():a[i.default].serializeSanitized();e.send(o.contentWindow,"session",t,{trustedOnly:s})}}function o(e,n){let{trusted:o,fromParent:a}=n;if(!o)return s("Ignoring untrusted session event");a&&(t.currentSession[i.default].deserialize(e),r(t.currentSession))}return e.on("trust",n),e.on("session",o),{publish:r,unsubscribe:()=>{e.off("trust",n),e.off("session",o)}}};var n=o(r(51227)),i=o(r(37609));function o(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("cbio.iframes.sessions")},78232(e,t,r){"use strict";r(16280),r(44114),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e,t){let r,{waitForParentSync:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=!n||new o.Deferred;function s(e){return{redactedViews:[...(null==e?void 0:e.redactedViews)||[],...t.redactedViews||[]],unredactedViews:[...(null==e?void 0:e.unredactedViews)||[],...t.unredactedViews||[]],ignoredViews:[...(null==e?void 0:e.ignoredViews)||[],...t.ignoredViews||[]],disabledViews:[...(null==e?void 0:e.disabledViews)||[],...t.disabledViews||[]],enabledViews:[...(null==e?void 0:e.enabledViews)||[],...t.enabledViews||[]],universalLinks:(null==e?void 0:e.universalLinks)||t.universalLinks||[],pdfLinks:(null==e?void 0:e.pdfLinks)||t.pdfLinks||[],api:(null==e?void 0:e.api)||t.api}}function c(e){const t=s(e);return a(a({},t),{},{redactedViews:t.redactedViews.filter(e=>"string"!=typeof e),unredactedViews:t.unredactedViews.filter(e=>"string"!=typeof e),ignoredViews:t.ignoredViews.filter(e=>"string"!=typeof e),disabledViews:t.disabledViews.filter(e=>"string"!=typeof e),enabledViews:t.enabledViews.filter(e=>"string"!=typeof e)})}async function u(t,n){let{iframe:o}=n;o&&(await i.promise,e.send(o.contentWindow,"sync",c(r),{trustedOnly:!1}))}function d(e){l("iframe available",e,"issuing sync"),e&&u(0,{iframe:e})}function f(t,n){let{source:o,origin:s,trusted:a}=n;if(!a)return l("Ignoring untrusted sync event");r=t,i.resolve(),e.broadcastToChildren("sync",c(t),{trustedOnly:!1})}return e.on("init",u),e.on("iframe_discovered",d),e.on("sync",f),{getSyncedConfig:async()=>(await i.promise,s(r)),unsubscribe:()=>{r=null,i=!n||new o.Deferred,e.off("init",u),e.off("iframe_discovered",d),e.off("sync",f)},sendSync:async()=>{await i.promise,e.broadcastToChildren("sync",c(r),{trustedOnly:!1})}}},r(18111),r(22489),r(62953);var n,i=(n=r(51227))&&n.__esModule?n:{default:n},o=r(63976);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=(0,i.default)("cbio.iframes.sync")},38109(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e){e.on("sync",(t,r)=>{let{trusted:n}=r;if(!n)return i("Ignoring untrusted sync event");e.sendToParent("trust",null,{trustedOnly:!1}),"complete"!==document.readyState&&window.addEventListener("load",()=>{e.sendToParent("trust",null,{trustedOnly:!1})},{once:!0,capture:!0})});const t=t=>{let{target:r}=t;e.breakTrust(r.contentWindow)};e.on("trust",(r,n)=>{let{iframe:i,origin:o}=n;i&&(i.removeEventListener("load",t,{capture:!0}),i.addEventListener("load",t,{capture:!0}),e.establishTrust(i.contentWindow,o))})};const i=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.iframes.trust")},77966(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.initIframeBridgeAsChild=async function(e){const t=new o.default(e),r=c.configure(y,{currentSession:t}),n=l.configure(y,e,{waitForParentSync:!0});y.start();const s=await n.getSyncedConfig();let a;m("synced config",s);const u=()=>{t.isActive()&&!a&&(m("creating iframe context",a),w(s.api)(t),a=new i.IFrameContext(t,v(v({},s),{},{trustedOrigins:e.trustedOrigins,version:e.version,showDocument:e.showDocument,confirmOpen:(e,t)=>I.send("confirmOpen",{url:e,type:t}),open:(e,t,r,n)=>I.send("open",{url:e,target:t,windowFeatures:r,options:n})}),y.sendToParent),t.once("ended",()=>{m("destroying iframe context",a),a.destroy(),a=null}))};y.on("session",u);const d=(e,t)=>{let{trustedOnly:r,fromParent:n}=t;n?y.broadcastToChildren("rpc:request",e,{trustedOnly:r}):y.sendToParent("rpc:request",e,{trustedOnly:r})};y.on("rpc:request",d);const h=(e,t)=>{let{trustedOnly:r,fromParent:n}=t;n?y.broadcastToChildren("rpc:response",e,{trustedOnly:r}):y.sendToParent("rpc:response",e,{trustedOnly:r})};y.on("rpc:response",h);const p=()=>{var e;return null===(e=a)||void 0===e?void 0:e.invalidateFrame()};y.on("sync",p);const _=(e,t)=>{var r;let{trustedOnly:n}=t;const{target:i,error:{cause:o}}=e,s="string"==typeof i?i:i.id;"load-error"===o&&(null===(r=a)||void 0===r||r.partialSync(s)),y.broadcastToChildren("remote-error",e,{trustedOnly:n})};y.on("remote-error",_);const E=async t=>f.default.highlight(e,t);return I.on("highlight",E),()=>{n.unsubscribe(),r.unsubscribe(),y.off("remote-error",_),y.off("sync",p),y.off("session",u),y.off("rpc:request",d),y.off("rpc:response",h),I.off("highlight",E)}},t.initIframeBridgeAsParent=function(e,t){let{open:r}=t;const n=c.configure(y,e);e.on("session.loaded",n.publish),e.on("session.updated",n.publish);const i=w(e.api);e.on("session.loaded",i),e.on("session.updated",i);const o=l.configure(y,e);e.on("session.sync",o.sendSync);const s=async t=>{let{url:r,type:n}=t;return{accepted:await e.confirmOpen(r,n)}};I.on("confirmOpen",s);const a=e=>{let{url:t,target:n,windowFeatures:i,options:o}=e;r(t,n,i,o)};return I.on("open",a),y.start(),()=>{n.unsubscribe(),o.unsubscribe(),e.off("session.loaded",n.publish),e.off("session.updated",n.publish),e.off("session.loaded",i),e.off("session.updated",i),e.off("session.sync",o.sendSync),I.off("confirmOpen",s),I.off("open",a)}},r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(42074),i=r(1149),o=p(r(52404)),s=h(r(38109)),a=h(r(20342)),c=h(r(73350)),l=h(r(78232)),u=p(r(37609)),d=p(r(51227)),f=p(r(3133));function h(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(h=function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?i(s,t,o):s[t]=e[t]);return s})(e,t)}function p(e){return e&&e.__esModule?e:{default:e}}function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach(function(t){E(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=(0,d.default)("cbio.iframes"),g=(0,n.closestXdocParent)(),y=new n.IFrameBridge(g),I=new n.IFrameRPC(y,g);s.configure(y),a.configure(y);const w=e=>t=>{const r=t[u.default].proxyUrl(),n=new URL(r,e);m("trusting",n.origin),y.automaticTrustedOrigins=[n.origin]};t.default=y},77988(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(62953);var n=x(r(75120)),i=x(r(97337)),o=x(r(81088)),s=x(r(30428)),a=x(r(45448)),c=x(r(70831)),l=x(r(49467)),u=x(r(93202)),d=x(r(34818)),f=x(r(99867)),h=x(r(87876)),p=x(r(28038)),_=x(r(16582)),v=x(r(61753)),E=x(r(45613)),m=x(r(32391)),g=x(r(59396)),y=x(r(8439)),I=x(r(19121)),w=x(r(85443)),b=x(r(63851)),L=x(r(26770)),S=x(r(17304)),C=x(r(86146)),A=x(r(35537)),O=x(r(41224)),N=x(r(88978)),T=x(r(3128)),P=x(r(29250)),R=x(r(31559)),M=x(r(87762)),k=x(r(59225)),D=x(r(84181));function x(e){return e&&e.__esModule?e:{default:e}}const j={ar:n.default,cs:i.default,da:o.default,de:s.default,en:a.default,es:c.default,"es-MX":l.default,et:u.default,fi:d.default,fr:f.default,hi:h.default,it:p.default,ja:_.default,kk:v.default,ko:E.default,lt:m.default,mr:g.default,ms:y.default,nl:I.default,pl:w.default,pt:b.default,"pt-BR":L.default,ro:S.default,ru:C.default,sk:A.default,sl:O.default,sv:N.default,th:T.default,"th-TH":P.default,uk:R.default,vi:M.default,zh:k.default,"zh-Hant":D.default},G=["ar","he","fa","ur"];class U{static getLocale(){for(const e of navigator.languages){if(j[e])return new U(e);if(e.includes("-")){const t=e.split("-")[0].toLowerCase();if(j[t])return new U(t)}}return new U("en")}static tr(e){return this.getLocale().translate(e)}static direction(){return this.getLocale().direction}constructor(e){this.language=e,this.direction=G.includes(e)?"rtl":"ltr"}translate(e){return j[this.language][e]||j.en[e]||e}}t.default=U},44661(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NAVIGATION_TYPE=void 0,r(16280),r(18111),r(20116),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=(n=r(26356))&&n.__esModule?n:{default:n};function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}t.NAVIGATION_TYPE={PDF:"pdf",XDOC:"xdoc",UNIVERSAL:"universal"};var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap;t.default=class{constructor(e){s(this,u,void 0),s(this,d,void 0),s(this,f,void 0),o(this,"findHandlerByUrl",e=>{if(!e)return null;try{const t=new URL(e,window.location.origin);return a(d,this).find(e=>e.shouldHandle(t))}catch(e){return console.warn("CobrowseIO: Failed to infer navigation type",e),null}}),o(this,"findHandlerByType",e=>a(d,this).find(t=>t.type===e)),s(this,h,(e,t,r,n)=>{let{name:i,go:o,e:s}=n;const c=this.findHandlerByUrl(e);if(c&&!c.shouldHandleEvent(s))return s.eventPhase===Event.BUBBLING_PHASE&&console.warn("CobrowseIO: Inferred navigation type but event is already handled"),{rewrittenUrl:e};const l=s.view||window;return a(f,this).call(this,e,t,r,{name:i,go:o,e:s,type:null==c?void 0:c.type,block:()=>a(p,this).call(this,l,s)})}),s(this,p,(e,t)=>{if(t.eventPhase===Event.CAPTURING_PHASE)return;const r=e.document,n=r.createElement("div");n.style.position="fixed",n.style.top=0,n.style.left=0,n.style.width="100vw",n.style.height="100vh",n.style.backgroundColor="black",n.style.zIndex="2147483647",n.style.margin=0,n.style.padding=0,n.style.border=0,n.style.borderRadius=0;const i=r.body.style.overflow;r.body.style.overflow="hidden",r.body.appendChild(n);const o=()=>{r.body.contains(n)&&r.body.removeChild(n),r.body.style.overflow=i,e.removeEventListener("popstate",o)};e.addEventListener("popstate",o),e.history.pushState({},"")}),o(this,"destroy",()=>{i.default.beforeNavigate=null}),c(u,this,e.shouldNavigate),c(d,this,e.handlers),c(f,this,e.handleNavigation),i.default.beforeNavigate=a(h,this)}runHandler(e,t,r,n){if(!e)return{rewrittenUrl:e};const i=null!=n.type?this.findHandlerByType(n.type):this.findHandlerByUrl(e);return i&&a(u,this).call(this,i.type)?i.handle(e,t,r,n):{rewrittenUrl:e}}}},79301(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),t.default=class{get type(){throw new Error("Getter 'type' must be implemented.")}shouldHandleEvent(e){throw new Error("Method 'shouldHandleEvent()' must be implemented.")}shouldHandle(e){throw new Error("Method 'shouldHandle()' must be implemented.")}handle(e,t,r,n){throw new Error("Method 'handle()' must be implemented.")}}},26356(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(82117),i=r(1e4);function o(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){return e.get(c(e,t))}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}class l extends Event{constructor(e,t){super(e,t),this._view=t.view}get view(){return this._view}}var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap;t.default=new class{constructor(){var e=this;s(this,"beforeNavigate",void 0),o(this,u,!1),o(this,d,new Set),s(this,"track",e=>{e.addEventListener("click",a(f,this),{capture:!0}),e.addEventListener("click",a(f,this)),e.addEventListener("submit",a(h,this))}),s(this,"untrack",e=>{e.removeEventListener("click",a(f,this),{capture:!0}),e.removeEventListener("click",a(f,this)),e.removeEventListener("submit",a(h,this))}),s(this,"tap",e=>{if(a(d,this).has(e))return;const t=this,{open:r}=e;e.open=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return a(p,t).call(t,this,r,...n)};const{submit:n}=e.HTMLFormElement.prototype;e.HTMLFormElement.prototype.submit=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return a(_,t).call(t,this,n,...r)},a(d,this).add(e)}),s(this,"untap",e=>{}),o(this,f,e=>{var t;if(!this.beforeNavigate)return;const r=null==e||null===(t=e.target)||void 0===t?void 0:t.closest("a");if(!r)return;if(!r.href)return;if(r.__cbio_forceDefaultNavigation)return;const{target:i,name:o}=(0,n.splitNameFromTarget)(r.target,"_self"),{rewrittenUrl:s,windowProxy:a}=this.beforeNavigate(r.href,i,"",{name:o,go:()=>{r.__cbio_forceDefaultNavigation=!0,r.click(),delete r.__cbio_forceDefaultNavigation},e});s&&s!==r.href&&(r.href=s),a&&e.preventDefault()}),o(this,h,e=>{var t;if(!this.beforeNavigate)return;const r=null==e||null===(t=e.target)||void 0===t?void 0:t.closest("form");if(!r)return;if(!(0,i.getFormAttribute)(r,"action"))return;if(r.__cbio_forceDefaultNavigation)return;const{target:o,name:s}=(0,n.splitNameFromTarget)((0,i.getFormAttribute)(r,"target"),"_self"),{rewrittenUrl:a,windowProxy:c}=this.beforeNavigate((0,i.getFormAttribute)(r,"action"),o,"",{name:s,go:()=>{r.__cbio_forceDefaultNavigation=!0,r.submit(),delete r.__cbio_forceDefaultNavigation},e});a&&(0,i.setFormAttribute)(r,"action",a),c&&e.preventDefault()}),o(this,p,(e,t,r,i,o)=>{if(!this.beforeNavigate)return t.call(e,r,i,o);const s=new l("WindowOpen",{view:e}),{target:a,name:c}=(0,n.splitNameFromTarget)(i,"_blank"),{rewrittenUrl:u,windowProxy:d}=this.beforeNavigate(r,a,o,{name:c,go:()=>t.call(e,r,i,o),e:s});return u?t.call(e,u,i,o):d||void 0}),o(this,_,function(t,r){for(var o=arguments.length,s=new Array(o>2?o-2:0),a=2;a<o;a++)s[a-2]=arguments[a];if(!e.beforeNavigate)return r.call(t,...s);const c=t.parentElement,u=new l("FormSubmit",{view:t.ownerDocument.defaultView}),{target:d,name:f}=(0,n.splitNameFromTarget)((0,i.getFormAttribute)(t,"target"),"_self"),{rewrittenUrl:h,windowProxy:p}=e.beforeNavigate((0,i.getFormAttribute)(t,"action"),d,"",{name:f,go:()=>{const e=document.contains(c)&&!document.contains(t);e&&c.appendChild(t);const n=r.call(t,...s);return e&&t.remove(),n},e:u});return h&&(0,i.setFormAttribute)(t,"action",h),p?null:r.call(t,...s)}),o(this,v,()=>{var e;(e=u).set(c(e,this),true)}),window.addEventListener("pagehide",a(v,this),{capture:!0,once:!0,passive:!0})}ensureNoNavigation(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return new Promise(t=>{setTimeout(()=>{a(u,this)||t()},e)})}}},80207(e,t,r){"use strict";var n;function i(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(9391),r(62953);const o=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.RequestTracking");var s=new WeakSet;function a(){if(this.originalFetch)return;this.originalFetch=window.fetch;const e=this;window.fetch=function(){e.inFlightRequests++;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.originalFetch.apply(this,r).finally(()=>e.inFlightRequests--)}}function c(){if(this.originalXHROpen)return;this.originalXHROpen=XMLHttpRequest.prototype.open,this.originalXHRSend=XMLHttpRequest.prototype.send;const e=this;XMLHttpRequest.prototype.open=function(){this.__cbio_decrementCounter&&(this.removeEventListener("load",this.__cbio_decrementCounter),this.removeEventListener("error",this.__cbio_decrementCounter),this.removeEventListener("abort",this.__cbio_decrementCounter),this.removeEventListener("timeout",this.__cbio_decrementCounter)),this.__cbio_needsTracking=!0;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.originalXHROpen.apply(this,r)},XMLHttpRequest.prototype.send=function(){if(this.__cbio_needsTracking){this.__cbio_needsTracking=!1,e.inFlightRequests++;const t=()=>e.inFlightRequests--;this.__cbio_decrementCounter=t,this.addEventListener("load",t,{once:!0}),this.addEventListener("error",t,{once:!0}),this.addEventListener("abort",t,{once:!0}),this.addEventListener("timeout",t,{once:!0})}for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.originalXHRSend.apply(this,r)}}t.default=class{constructor(){(function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)})(this,s),this.inFlightRequests=0,this.originalFetch=null,this.originalXHROpen=null,this.originalXHRSend=null}monitor(){this.originalFetch||(o("monitoring network"),i(s,this,a).call(this),i(s,this,c).call(this))}destroy(){this.inFlightRequests=0}waitUntilStable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{timeout:t=5e3,intervalMs:r=200}=e;o("waitUntilStable");const n=Date.now();return new Promise(e=>{const i=setInterval(()=>Date.now()>n+t?(clearInterval(i),o("network did not stabilise after %d millis",t),e(!1)):0===this.inFlightRequests?(clearInterval(i),o("network stabilised"),e(!0)):void 0,r)})}}},49715(e,t,r){"use strict";r(62953),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NAVIGATION_TYPE",{enumerable:!0,get:function(){return n.NAVIGATION_TYPE}}),Object.defineProperty(t,"Navigation",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"NavigationHandler",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NavigationTracking",{enumerable:!0,get:function(){return i.default}});var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(44661)),i=s(r(26356)),o=s(r(79301));function s(e){return e&&e.__esModule?e:{default:e}}},49931(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCacheContent=t.applyContentCache=void 0;var n=s(r(34822)),i=r(37387),o=s(r(31762));function s(e){return e&&e.__esModule?e:{default:e}}const a=e=>"IMG"===e.tagName?e.currentSrc:"LINK"===e.tagName?e.href:null,c=(e,t)=>{const r=a(e);e.__cbio_content_cache=e.__cbio_content_cache||{},e.__cbio_content_cache[r]=t},l=e=>{var t;const r=a(e);return null===(t=e.__cbio_content_cache)||void 0===t?void 0:t[r]};t.getCacheContent=l,t.applyContentCache=async e=>{const t=n.default.getById(e);if(t)return"IMG"===t.tagName?(async e=>{if(l(e))return;const t=a(e),r=await(async()=>{try{await(r=e,new Promise(e=>{if(r.complete)return e();const t=()=>{clearTimeout(n),r.removeEventListener("load",t),r.removeEventListener("error",t),e()};r.addEventListener("load",t,{once:!0}),r.addEventListener("error",t,{once:!0});const n=setTimeout(t,5e3)}));const t=o.default.fromImage(e);if("data:,"!==t)return t}catch(e){}var r;try{return await(e=>new Promise((t,r)=>{const n=new Image;n.crossOrigin="anonymous",n.src=e,n.onload=()=>{try{const e=o.default.fromImage(n);t(e)}catch(e){r(e)}},n.onerror=r}))(t)}catch(e){}})();r&&c(e,r)})(t):"LINK"===t.tagName&&"stylesheet"===t.rel?(async e=>{if(l(e))return;const t=a(e),r=await(async()=>{try{if(e.sheet)return(0,i.getCssText)(e.sheet)}catch(e){}try{return await(e=>new Promise((t,r)=>{const n=document.createElement("link");n.crossOrigin="anonymous",n.rel="stylesheet",n.href=e,n.setAttribute("class","__cbio_ignored"),n.onload=()=>{try{const e=(0,i.getCssText)(n.sheet);t(e)}catch(e){r(e)}finally{n.remove()}},n.onerror=e=>{n.remove(),r(e)},document.head.appendChild(n)}))(t)}catch(e){}})();r&&c(e,r)})(t):void 0}},38458(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeIndex=void 0,r(16280),r(78350),r(30237),r(18111),r(22489),r(20116),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(86780),i=a(r(32588)),o=a(r(18571)),s=r(79883);function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){l(e,t),t.set(e,r)}function l(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return e.get(f(e,t))}function d(e,t,r){return e.set(f(e,t),r),r}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakSet;function m(e){const t=[...e];return t.find(e=>!i.default.isIgnored(e)&&f(E,this,C).call(this,e))||t.find(e=>f(E,this,T).call(this,e).length>0)}function g(e,t,r){f(E,this,y).call(this,e,t,r),f(E,this,I).call(this,t,r)}function y(e,t,r){for(const e of f(E,this,w).call(this,r))u(v,this).delete(e);for(const t of f(E,this,w).call(this,e))u(v,this).add(t);for(const r of t)e.has(r)||(f(E,this,C).call(this,r)?u(v,this).add(r):u(v,this).delete(r))}function I(e,t){for(const e of t)u(_,this).delete(e);for(const t of e)f(E,this,b).call(this,t)}function*w(e){for(const t of e)f(E,this,C).call(this,t)&&(yield t)}function b(e){const t=u(_,this).has(e);t&&this.getIncludedBy(e)!==e?u(_,this).delete(e):t||this.getIncludedBy(e)!==e||u(_,this).add(e)}function L(e){return[...new Set([...e].flatMap(e=>[e,...(0,n.parents)(e)]))].flatMap(e=>[...e.childNodes||[]])}function S(e){return f(E,this,R).call(this,e,u(h,this))}function C(e){return f(E,this,R).call(this,e,u(p,this))}function A(e){const t=f(E,this,O).call(this,e);return t?(0,n.parents)(e,t).find(e=>f(E,this,N).call(this,e.parentNode))||t:null}function O(e){if(!o.default.isDOMNode(e))return null;const{get:t}=Object.getOwnPropertyDescriptor(s.Node.prototype,"parentNode"),r=f(E,this,M).call(this,u(h,this),u(p,this)),n=e&&e.nodeType===s.Node.ELEMENT_NODE&&t.call(e),i=n&&n.nodeType===s.Node.ELEMENT_NODE&&r&&n.closest(r);return f(E,this,R).call(this,i,u(h,this))?f(E,this,C).call(this,i)?null:i:null}function N(e){return u(p,this)&&e&&"HTML"!==e.tagName&&e.querySelector&&e.querySelector(u(p,this))}function T(e){return f(E,this,P).call(this,e,u(p,this))}function P(e,t){return t&&e.querySelectorAll?e.querySelectorAll(t):[]}function R(e,t){return e&&t&&e.matches&&e.matches(t)}function M(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(",")}t.NodeIndex=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{document:r=window.document}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var n;l(this,n=E),n.add(this),c(this,h,void 0),c(this,p,void 0),c(this,_,new Set),c(this,v,new Set),d(h,this,f(E,this,M).call(this,...e)),d(p,this,f(E,this,M).call(this,...t));for(const e of f(E,this,P).call(this,r,u(h,this)))u(_,this).add(e);for(const e of f(E,this,P).call(this,r,u(p,this)))u(v,this).add(e)}getIncludedBy(e){if(f(E,this,C).call(this,e)||f(E,this,N).call(this,e))return null;const t=f(E,this,A).call(this,e);return t?f(E,this,N).call(this,e.parentNode)?e:t:f(E,this,S).call(this,e)?e:null}notifyChanges(e,t,r,n){const o=new Set,s=new Set,a=new Set([...u(_,this)]);for(const t of e){if(i.default.isIgnored(t.target)||n.has(t.target))continue;const e=this.getIncludedBy(t.target);if(e&&e!==t.target&&o.add(e),"attributes"===t.type){const e=f(E,this,T).call(this,t.target);for(const t of e)s.add(t);const r=f(E,this,C).call(this,t.target);u(v,this).has(t.target)!==!!r&&s.add(t.target.parentNode)}else if("childList"===t.type){const e=f(E,this,m).call(this,t.removedNodes),r=f(E,this,m).call(this,t.addedNodes);if(!s.has(t.target)){const n=f(E,this,T).call(this,t.target).length>0;(n&&r||!n&&e)&&s.add(t.target)}}}const c=f(E,this,L).call(this,s);for(const e of c)i.default.isIgnored(e)||o.add(e);f(E,this,g).call(this,t,new Set([...o,...r]),n);for(const e of r)for(const t of u(_,this))e.contains(t)&&o.add(t);for(const e of a)u(_,this).has(e)||n.has(e)||i.default.depthFirst(e,e=>o.add(e));return o}isIncluded(e){return Boolean(this.getIncludedBy(e))}}},62063(e,t,r){"use strict";var n;function i(e,t,r){o(e,t),t.set(e,r)}function o(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function s(e,t){return e.get(c(e,t))}function a(e,t,r){return e.set(c(e,t),r),r}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.isElementWithChildren=function(e){return!(!e||1!==e.nodeType||!e.isConnected||e.ownerDocument.head.contains(e)||null===e.firstElementChild)},t.isLargeElement=function(e){var t;let r=0;const n=null===(t=e.ownerDocument)||void 0===t?void 0:t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);if(!n)return!1;for(;n.nextNode();)if(r++,r>5)return!0;return!1},t.isVisibleCheck=function(e){return"none"!==getComputedStyle(e).display},r(16280),r(62953);const l=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.NodeScheduler");var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakSet,g=new WeakMap;function y(){l("start()"),a(v,this,!0),a(u,this,requestAnimationFrame(s(g,this)))}function I(){l("stop()"),a(v,this,!1),s(u,this)&&cancelAnimationFrame(s(u,this)),a(u,this,null),s(d,this)&&clearTimeout(s(d,this)),a(d,this,null),a(f,this,null),a(h,this,0),a(p,this,null)}function w(e,t,r){var n;e.isConnected?t(e)&&(l("scheduling node to be sent",e),this.unscheduleElement(e),null===(n=s(E,this))||void 0===n||n.call(this,e,r)):s(_,this).delete(e)}t.default=class{constructor(e){!function(e,t){o(e,t),t.add(e)}(this,m),i(this,u,null),i(this,d,null),i(this,f,null),i(this,h,0),i(this,p,null),i(this,_,new Map),i(this,v,!1),i(this,E,null),i(this,g,()=>{if(!s(v,this))return;if(!s(_,this).size)return void a(d,this,setTimeout(s(g,this),1e3));s(f,this)||(a(f,this,s(_,this).entries()),a(h,this,s(_,this).size),a(p,this,performance.now()));let e=0,t=!1;for(;e<50;){var r;const n=null===(r=s(f,this))||void 0===r?void 0:r.next();if(!n||null!=n&&n.done){t=!0;break}const[i,{checkReady:o,serializerOptions:a}]=n.value;c(m,this,w).call(this,i,o,a),e++}if(!t)return void a(u,this,requestAnimationFrame(s(g,this)));const n=Math.round(performance.now()-s(p,this));l("Took ".concat(n,"ms to process queue with size of ").concat(s(h,this))),a(f,this,null),a(h,this,0),a(p,this,null),a(d,this,setTimeout(s(g,this),Math.max(1e3-n,0)))}),a(E,this,e)}getScheduledAncestor(e){if(s(_,this).has(e))return e;for(const t of s(_,this).keys())if(t.contains(e))return t;return null}tryScheduleElement(e,t,r){return!!s(_,this).has(e)||(s(_,this).size>1e3?(l("reached queue size limit, skipping scheduling of node"),!1):(s(_,this).set(e,{checkReady:t,serializerOptions:r}),s(v,this)||c(m,this,y).call(this),!0))}unscheduleElement(e){s(_,this).delete(e),s(_,this).size||c(m,this,I).call(this)}destroy(){l("destroy()"),c(m,this,I).call(this),s(_,this).clear()}}},48708(e,t,r){"use strict";r(22489),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(18111),r(7588),r(61701),r(27495),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(86780),i=r(16566),o=r(67501),s=h(r(34822)),a=h(r(18571)),c=h(r(32588)),l=h(r(31762)),u=r(97384),d=r(37387),f=r(49931);function h(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const E={OBJECT:!0,EMBED:!0},m=new Set(["A","AREA","AUDIO","BUTTON","DETAILS","DIALOG","EMBED","IFRAME","IMG","INPUT","LABEL","MENU","OBJECT","OPTGROUP","OPTION","SELECT","SUMMARY","TEXTAREA","VIDEO"]),g=new Set(["button","link","menuitem","menuitemcheckbox","menuitemradio","checkbox","radio","switch","textbox","searchbox","spinbutton","slider","combobox","listbox","option"]);t.default=new class{constructor(){v(this,"isLocalResource",e=>!!(/^https?:\/\/localhost/.test(e)||/^https?:\/\/127.0.0.1/.test(e)||/^file:\/\//.test(e)||/^blob:/.test(e)||/^ionic:/.test(e))),v(this,"serializeAdoptedStyleSheets",e=>{try{let t=[];return[...e.adoptedStyleSheets||[]].forEach(e=>{t=t.concat([].slice.call(e.cssRules))}),(0,d.getCssText)({cssRules:t})}catch(t){return console.warn("CobrowseIO: AdoptedStyleSheets serialize failed:",t.message,"for",e),""}})}_serializeAttributes(e,t){if(e.nodeType===window.Node.ELEMENT_NODE&&e.attributes){const r={};Array.from(e.attributes||[]).forEach(t=>{t.nodeName.startsWith("@")||("href"===t.nodeName||"src"===t.nodeName?r[t.nodeName]="string"==typeof e[t.nodeName]?e[t.nodeName]:t.nodeValue:r[t.nodeName]=t.nodeValue)}),t.attributes=r}}_serializeSelection(e,t){var r;let n=null;const o=e.getSelection();if(o&&"Range"===o.type&&!o.isCollapsed&&o.rangeCount>0)try{n=[...Array(o.rangeCount)].reduce((e,t,r)=>{const n=o.getRangeAt(r),{startOffset:a,endOffset:c}=n,l=i.Redaction.getRedactedBy(n.startContainer),u=i.Redaction.getRedactedBy(n.endContainer),d=s.default.get(null!=l?l:n.startContainer),f=s.default.get(null!=u?u:n.endContainer);return e.push({start:d,end:f,startOffset:l?0:a,endOffset:u?0:c}),e},[])}catch(e){console.warn("CobrowseIO: Could not serialize text selection",e)}else["INPUT","TEXTAREA"].includes(null===(r=e.activeElement)||void 0===r?void 0:r.tagName)&&e.activeElement.selectionStart!==e.activeElement.selectionEnd&&(n=!1);t.selection=n}_serializeDocument(e,t){if(e.nodeType===window.Node.DOCUMENT_NODE){var r,n,i,o,a,c;t.url=e.location&&e.location.href;const l=1===(null!==(r=null===(n=e.defaultView)||void 0===n||null===(n=n.visualViewport)||void 0===n?void 0:n.scale)&&void 0!==r?r:1),d=0===(0,u.getScrollBarSize)()&&l,f=d?null===(i=e.defaultView)||void 0===i?void 0:i.innerWidth:null===(o=e.documentElement)||void 0===o?void 0:o.clientWidth,h=d?null===(a=e.defaultView)||void 0===a?void 0:a.innerHeight:null===(c=e.documentElement)||void 0===c?void 0:c.clientHeight;t.size={width:f,height:h},t.focus=s.default.get(e.activeElement);const p=e=>({name:e.name,publicId:e.publicId,systemId:e.systemId});t.doctype=null!=e.doctype?p(e.doctype):null,t.css=this.serializeAdoptedStyleSheets(e),this._serializeSelection(e,t)}}_serializeInput(e,t){if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||"OPTION"===e.tagName){t.value=e.value,"radio"!==e.type&&"checkbox"!==e.type||void 0===e.checked||(t.checked=e.checked),t.selection=null;try{const{selectionStart:r,selectionEnd:n,selectionDirection:i}=e;r!==n&&e===e.ownerDocument.activeElement&&(t.selection={start:r,end:n,direction:i})}catch(t){console.warn("Failed to serialise text selection for the input",e)}}}_serializeSelect(e,t){"SELECT"!==e.tagName||e.size&&1!==e.size||e.multiple||(t.preventDefault=!0)}_serializeOption(e,t){"OPTION"===e.tagName&&(t.selected=e.selected)}_serializeShadowRoot(e,t){e.nodeType===window.Node.DOCUMENT_FRAGMENT_NODE&&(t.css=this.serializeAdoptedStyleSheets(e))}_serializeStyle(e,t){var r;if("STYLE"===(null===(r=e.tagName)||void 0===r?void 0:r.toUpperCase()))try{e.sheet&&(t.css=(0,d.getCssText)(e.sheet))}catch(t){console.warn("CobrowseIO: CSS serialize failed:",t.message,"for",e)}}_serializeLinkStyleSheet(e,t){if("LINK"===e.tagName&&"stylesheet"===e.rel){const r=(0,f.getCacheContent)(e);if(r)return void(t.css=r);if(this.isLocalResource(e.href))try{e.sheet&&(t.css=(0,d.getCssText)(e.sheet))}catch(t){console.warn("CobrowseIO: CSS serialize failed:",t.message,"for",e)}}}_serializeCanvas(e,t,r){if("CANVAS"===e.tagName&&!r.isRedacted&&r.rasterizeCanvas)try{var n;const r=parseFloat(null===(n=e.attributes)||void 0===n||null===(n=n["data-cbio-quality"])||void 0===n?void 0:n.value)||.8;t.data=l.default.fromCanvas(e,r)}catch(t){e._cb_serialize_warned||(console.warn("Cobrowse failed to serialize canvas",e,"due to error",t),e._cb_serialize_warned=!0)}}_serializeImage(e,t,r){if("IMG"===e.tagName&&!r.isRedacted){const r=(0,f.getCacheContent)(e);if(r)return t.attributes.src=r,void delete t.attributes.srcset;if(this.isLocalResource(e.src))try{t.attributes.src=l.default.fromImage(e),delete t.attributes.srcset}catch(t){console.warn("CobrowseIO: Failed to serialize image",e)}}}_serializeScroll(e,t){var r,i;(0,n.isxdoc)(e)||(e.nodeType===window.Node.DOCUMENT_NODE?t.scroll={x:(null===(r=e.defaultView)||void 0===r?void 0:r.pageXOffset)||0,y:(null===(i=e.defaultView)||void 0===i?void 0:i.pageYOffset)||0}:"HTML"!==e.tagName&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)&&(t.scroll={x:e.scrollLeft||0,y:e.scrollTop||0}))}_serializeRedaction(e,t,r){if(r.isRedacted){delete t.value;const r=this._getSize(e);if(1===e.nodeType){const n=window.getComputedStyle(e),i="inline"===n.display&&r.height>0?"inline-block":n.display;t.attributes=t.attributes&&_({id:t.attributes.id,class:t.attributes.class,style:"".concat(t.attributes.style||"","; display: ").concat(i," !important;flex-basis: unset !important;flex-shrink: 0;z-index:").concat(n.zIndex,";")},"EMBED"===e.nodeName?{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}:{})}else 3===e.nodeType&&(t.nodeType=1,t.tagName="SPAN",t.attributes={style:r.height>0?"display: inline-block !important":void 0});t.redaction={height:"".concat(r.height,"px"),width:"".concat(r.width,"px")}}else t.redaction=void 0}_serializePseudoSelectors(e,t){var r,n,i;"function"==typeof e.matches&&(null===(r=t.attributes)||void 0===r||delete r.__cbio_pseudo_hover,null===(n=t.attributes)||void 0===n||delete n.__cbio_pseudo_active,null===(i=t.attributes)||void 0===i||delete i.__cbio_pseudo_focus,t.attributes=_(_(_(_({},t.attributes),e.matches(":hover")?{__cbio_pseudo_hover:""}:{}),e.matches(":active")?{__cbio_pseudo_active:""}:{}),e.matches(":focus")?{__cbio_pseudo_focus:""}:{}))}_serializeVisibility(e,t,r){e.tagName&&(r.forceHidden&&(t.attributes=_(_({},t.attributes),{},{style:"display: none !important;"})),null!=r&&r.includeVisibility&&(t.hidden=r.forceHidden||this._isExplicitlyHidden(e)||this._isHidden(e)&&e.parentElement&&!this._isHidden(e.parentElement),this._serializeInteractive(e,t)))}_isHidden(e){return this._isExplicitlyHidden(e)||this._isVisiblyHidden(e)}_isExplicitlyHidden(e){var t;return!0===e.hidden||"none"===(null===(t=e.style)||void 0===t?void 0:t.display)}_isVisiblyHidden(e){return"contents"!==getComputedStyle(e).display&&!this._checkVisibility(e)}_checkVisibility(e){return!e.checkVisibility||e.checkVisibility({visibilityProperty:!0})}_serializeInteractive(e,t){if(m.has(e.tagName)||g.has(e.getAttribute("role"))||e.hasAttribute("tabindex")&&Number(e.getAttribute("tabindex"))>=0)return void(t.interactive="semantic");if(e.hasAttribute("onclick"))return void(t.interactive="scripted");const r=this._getCustomCursor(e.parentElement),n=this._getCustomCursor(e);n&&r!==n&&(t.interactive="styled")}_getCustomCursor(e){if(!e)return;const t=getComputedStyle(e);return t.cursor&&"auto"!==t.cursor&&"default"!==t.cursor?t.cursor:void 0}_getSize(e){const t=null==e?void 0:e.nodeType;if(null==t)return{height:0,width:0};if(t===Node.ELEMENT_NODE)return e.getBoundingClientRect();{const t=document.createRange();return t.selectNodeContents(e),t.getBoundingClientRect()}}_serializeDisabledView(e,t){t.disabled=o.DisabledViews.isDisabled(e)}_serialize(e,t){if(!s.default.get(e))throw console.error("node missing id",e,e.parentNode),new Error("node missing id",e);if(!a.default.isDOMNode(e))return e;if(!e.nodeType)throw new Error("node missing type",e);const r={id:s.default.get(e),nodeType:e.nodeType};return this._serializeShadowRoot(e,r),this._serializeAttributes(e,r),this._serializeImage(e,r,t),this._serializeDocument(e,r),this._serializeScroll(e,r),this._serializeInput(e,r),this._serializeSelect(e,r),this._serializeOption(e,r),this._serializeStyle(e,r),this._serializeLinkStyleSheet(e,r),this._serializeCanvas(e,r,t),this._serializeRedaction(e,r,t),this._serializePseudoSelectors(e,r),this._serializeVisibility(e,r,t),this._serializeDisabledView(e,r),e.tagName&&(r.tagName=e.tagName),e.nodeValue&&(r.content=e.nodeValue),r}serialize(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=i.Redaction.getRedactedBy(e);if(n&&n!==e)return null;if(c.default.isIgnored(e))return t([]),null;const o=Boolean(E[e.tagName]),l=this._serialize(e,_({isRedacted:Boolean(n)||o},r));if(r.skipChildren||o)return l;if(n)return t([]),_(_({},l),{},{childNodes:[]});const u=c.default.children(e);if(u){const e=u.map(e=>{if(!a.default.isDOMNode(e))return _({},e);const t=s.default.get(e);return t||console.warn("child node missing id",e),{id:t}});return _(_({},l),{},{childNodes:e})}return l}}},34822(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=o(r(78981)),i=o(r(18571));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=new class{constructor(){s(this,"_idMap",new Map),s(this,"_nodeMap",new Map),s(this,"_currentId",0),s(this,"_nextId",()=>(this._currentId+=1,this._currentId)),s(this,"track",e=>{if(!e)return null;if(!i.default.isDOMNode(e))return e.id;if(!this.get(e)){const t=e.nodeType===window.Node.DOCUMENT_NODE?(0,n.default)(5):"".concat(this.track(document),"-").concat(this._nextId());this._idMap.set(t,e),this._nodeMap.set(e,t)}return this._nodeMap.get(e)}),s(this,"get",e=>e?i.default.isDOMNode(e)?this._nodeMap.get(e)||null:e.id:null),s(this,"getById",e=>e&&this._idMap.get(e)||null),s(this,"forget",e=>{this._idMap.delete(this.get(e)),this._nodeMap.delete(e)})}}},32588(e,t,r){"use strict";r(16280),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(18111),r(22489),r(27495),r(42762),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(86780),i=s(r(18571)),o=r(79883);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return e.get(l(e,t))}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const u=(0,s(r(51227)).default)("cbio.NodeTree"),d={[window.Node.COMMENT_NODE]:!0,[window.Node.CDATA_SECTION_NODE]:!0,[window.Node.ENTITY_REFERENCE_NODE]:!0,[window.Node.ENTITY_NODE]:!0,[window.Node.PROCESSING_INSTRUCTION_NODE]:!0,[window.Node.NOTATION_NODE]:!0,[window.Node.DOCUMENT_TYPE_NODE]:!0},f=e=>{try{return e&&/\.(mjs|cjs|js)$/i.test(new URL(e,window.location.href).pathname)}catch(e){return!1}};var h=new WeakMap;t.default=new class{constructor(){var e,t,r;r=".__cbio_ignored",function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e=this,t=h),t.set(e,r),a(this,"isIgnored",e=>{var t,r;if(d[e.nodeType])return u("ignoring",e,"because of nodeType"),!0;if("SCRIPT"===e.tagName)return u("ignoring",e,"because of SCRIPT"),!0;if("LINK"===e.tagName&&(e=>{var t,r,n;const i=null!==(t=null===(r=e.rel)||void 0===r?void 0:r.toUpperCase().split(/\s+/))&&void 0!==t?t:[],o=null===(n=e.as)||void 0===n?void 0:n.trim().toUpperCase();for(const t of i){if("MODULEPRELOAD"===t)return!0;if("PRELOAD"===t&&"SCRIPT"===o)return!0;if("PREFETCH"===t&&f(e.href))return!0}return!1})(e))return u("ignoring",e,"because it preloads a script"),!0;if(null!==(t=e.closest)&&void 0!==t&&t.call(e,c(h,this)))return u("ignoring",e,"because child of classes"),!0;const n=e.parentNode||e.defaultView&&e.defaultView.frameElement;return"STYLE"===(null==n||null===(r=n.tagName)||void 0===r?void 0:r.toUpperCase())&&(u("ignoring",e,"because child of STYLE"),!0)}),a(this,"children",e=>{const{get:t}=Object.getOwnPropertyDescriptor(o.Node.prototype,"childNodes"),{get:r}=Object.getOwnPropertyDescriptor(o.Element.prototype,"shadowRoot");return i.default.isDOMNode(e)?"IFRAME"===e.tagName&&(0,n.isxdoc)(e)?e.__document_id?[{id:e.__document_id,nodeType:9}]:[]:"IFRAME"!==e.tagName||(0,n.isxdoc)(e)?e.nodeType===window.Node.ELEMENT_NODE&&r.apply(e)?[r.apply(e),...Array.from(t.apply(e))].filter(e=>!this.isIgnored(e)):Array.from(t.apply(e)).filter(e=>!this.isIgnored(e)):"complete"!==e.contentWindow.document.readyState?[]:[e.contentWindow.document].filter(e=>!this.isIgnored(e)):e.childNodes})}setIgnoredViews(e){if(Array.isArray(e))return t=h,r=[".__cbio_ignored",...e].filter(Boolean).join(","),t.set(l(t,this),r),void u("set ignored view selectors",c(h,this));var t,r;u("not updating #ignoredViews due to arg to being an array",e)}depthFirst(e,t){(0,n.depthFirstPreOrder)(e,(e,r)=>{r(this.children(e)),t(e,r)})}depthFirstMapped(e,t){return(0,n.depthFirstPreOrderMap)(e,(e,r)=>(r(this.children(e)),t(e,r)))}}},18571(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=new class{isDOMNode(e){return!!e&&!(!e.childNodes||"function"!=typeof e.appendChild||void 0===e.nodeType)}}},66938(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NodeIndex",{enumerable:!0,get:function(){return c.NodeIndex}}),Object.defineProperty(t,"NodeSerializer",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"NodeTracker",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"NodeTree",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NodeUtils",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"applyContentCache",{enumerable:!0,get:function(){return a.applyContentCache}}),Object.defineProperty(t,"getCacheContent",{enumerable:!0,get:function(){return a.getCacheContent}});var n=l(r(34822)),i=l(r(18571)),o=l(r(32588)),s=l(r(48708)),a=r(49931),c=r(38458);function l(e){return e&&e.__esModule?e:{default:e}}},51099(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(27495),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=r(42074),o=r(49715),s=r(44661),a=(n=r(97005))&&n.__esModule?n:{default:n};function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap;class v extends o.NavigationHandler{constructor(e,t){super(),c(this,f,void 0),c(this,h,void 0),c(this,p,e=>new URL(e,window.location.href).pathname.split("/").pop()),c(this,_,(e,t,r,n)=>{const{document:i}=n,o=document.createElement("div");o.style.width="100%",o.style.height="100%",i.load(e,t,r,{element:o,type:this.type}),l(h,this).openPdfViewer(e,o,()=>{const t=l(p,this).call(this,e);i.icon="",i.title=t,i.isLoading=!1})}),u(f,this,(0,i.createPatternMatcher)(t.pdfLinks)),u(h,this,new a.default(e,t.api))}get type(){return s.NAVIGATION_TYPE.PDF}shouldHandleEvent(e){return e.eventPhase!==Event.CAPTURING_PHASE&&!e.defaultPrevented}shouldHandle(e){const t=new URL(e,window.location.origin);return t.search="",l(f,this).call(this,t)}handle(e,t,r,n){return l(_,this).call(this,e,t,r,n),{document:n.document}}}t.default=v},97005(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GLOBAL_OPEN_PDF_KEY=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=(n=r(37609))&&n.__esModule?n:{default:n},o=r(9147);function s(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const u=t.GLOBAL_OPEN_PDF_KEY="__cobrowse_io_openPdf";var d=new WeakMap,f=new WeakMap,h=new WeakMap;t.default=class{constructor(e,t){s(this,d,void 0),s(this,f,void 0),s(this,h,e=>{const t=e[i.default].proxyToken(),r=e[i.default].proxyUrl(),n=new URL(r,a(f,this));return new o.URLRewriter(n,o.PROXY_PREFIX.UNIVERSAL,t,window.location)}),function(e,t,r){(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(this,"openPdfViewer",(e,t,n)=>{const i=window[u],o=r=>{const{setPdfUrl:i}=r(e,{container:t,onLoadError:t=>{const r=a(h,this).call(this,a(d,this)).proxify(e);t!==r?(console.warn("CobrowseIO: Failed to fetch PDF document, attempting to proxy it"),i(r)):n()},onLoadSuccess:n,preventClose:!0})};"function"!=typeof i?r.e(246).then(r.t.bind(r,70825,23)).then(e=>{o(e.open)}):o(i)}),c(d,this,e),c(f,this,t)}}},11065(e,t,r){"use strict";r(62953),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GLOBAL_OPEN_PDF_KEY",{enumerable:!0,get:function(){return i.GLOBAL_OPEN_PDF_KEY}}),Object.defineProperty(t,"PDFHandler",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"PDFViewer",{enumerable:!0,get:function(){return i.default}});var n,i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(97005)),o=(n=r(51099))&&n.__esModule?n:{default:n}},86245(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchIceServers=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(40492);function i(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var o=new WeakMap;class s extends n.RESTResource{constructor(e){var t,r;super(),function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(this,o,void 0),t=o,r=e.id(),t.set(i(t,this),r),this.setHeader("X-CobrowseDeviceToken",e.getHeader("X-CobrowseDeviceToken"))}url(){return new URL("api/1/sessions/".concat((e=o,e.get(i(e,this))),"/ice"),s.api).toString();var e}}t.fetchIceServers=async e=>{try{const t=new s(e);return await t.create(),t.resource.iceServers}catch(e){return console.warn("failed to fetch ice servers",e),[]}}},18684(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(26910),r(18111),r(7588),r(61701),r(96167),r(62953);var n=s(r(51227)),i=s(r(37007)),o=r(80608);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const f=(0,n.default)("cbio.Calling.Peer");var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap,T=new WeakMap,P=new WeakMap,R=new WeakMap,M=new WeakMap;class k extends i.default{constructor(e){super(),c(this,h,void 0),c(this,p,void 0),c(this,_,void 0),c(this,v,void 0),c(this,E,void 0),c(this,m,void 0),c(this,g,!1),c(this,y,!1),c(this,I,!1),c(this,w,[]),c(this,b,void 0),c(this,L,void 0),c(this,S,void 0),c(this,C,!1),c(this,A,void 0),a(this,"createConnection",e=>{f("creating RTCPeerConnection for peer",this.id,"with connection id",e),l(S,this).connectionId=null!=e?e:null,u(b,this,new RTCPeerConnection({iceServers:l(_,this)})),u(A,this,l(b,this).createDataChannel("priming")),l(b,this).addEventListener("negotiationneeded",l(O,this)),l(b,this).addEventListener("icecandidate",l(N,this)),l(b,this).addEventListener("iceconnectionstatechange",l(T,this)),l(b,this).addEventListener("connectionstatechange",l(P,this)),l(b,this).addEventListener("track",l(R,this)),this.emit("connection.created",this)}),a(this,"closeConnection",()=>{var e;f("closing RTCPeerConnection for peer",this.id),null===(e=l(A,this))||void 0===e||e.close(),u(A,this,null),l(b,this).getSenders().forEach(e=>l(b,this).removeTrack(e)),l(b,this).removeEventListener("negotiationneeded",l(O,this)),l(b,this).removeEventListener("icecandidate",l(N,this)),l(b,this).removeEventListener("iceconnectionstatechange",l(T,this)),l(b,this).removeEventListener("connectionstatechange",l(P,this)),l(b,this).removeEventListener("track",l(R,this)),l(b,this).close(),u(b,this,null)}),c(this,O,async()=>{try{u(g,this,!0),await l(b,this).setLocalDescription(),l(v,this).call(this,l(L,this),l(S,this),l(b,this).localDescription)}finally{u(g,this,!1)}}),c(this,N,e=>{e.candidate&&l(E,this).call(this,l(L,this),l(S,this),e.candidate)}),c(this,T,()=>{"failed"===l(b,this).iceConnectionState&&(f("ice connection failed for peer",this.id,"restarting ice"),l(b,this).restartIce())}),c(this,P,()=>{var e;"connected"===l(b,this).connectionState&&(f("connected to peer",this.id),u(C,this,!0),null===(e=l(A,this))||void 0===e||e.close(),u(A,this,null),this.emit("connection.updated",this)),"disconnected"===l(b,this).connectionState&&(f("disconnected from peer",this.id),u(C,this,!1),this.emit("connection.updated",this))}),c(this,R,e=>{const t=e.streams[0];t?(t.removeEventListener("removetrack",l(M,this)),t.addEventListener("removetrack",l(M,this)),this.emit("track.added",e.track)):console.warn("CobrowseIO: Failed to add track, expected stream")}),c(this,M,e=>{this.emit("track.removed",e.track)}),a(this,"handleOffer",async(e,t,r)=>{if(l(L,this).connectionId!==t.connectionId&&t.connectionId)return f("offer intended for different connection");if(l(S,this).connectionId||(l(S,this).connectionId=e.connectionId),l(S,this).connectionId!==e.connectionId)return f("offer from",e,"has a different connection id"),this.closeConnection(),this.createConnection(e.connectionId),this.handleOffer(e,t,r);const n=!l(g,this)&&("stable"===l(b,this).signalingState||l(I,this));if(u(y,this,!n&&!l(m,this)),l(y,this))return f("offer collision, ignoring as the impolite peer");await l(b,this).setRemoteDescription(r);const i=l(w,this).length;i>0&&(f("adding ice candidates from queue",i),await Promise.allSettled(l(w,this).map(e=>l(b,this).addIceCandidate(e))),l(w,this).length=0),await l(b,this).setLocalDescription(),l(v,this).call(this,l(L,this),l(S,this),l(b,this).localDescription)}),a(this,"handleAnswer",async(e,t,r)=>{if(l(L,this).connectionId!==t.connectionId)return f("answer intended for different connection");if(l(S,this).connectionId||(l(S,this).connectionId=e.connectionId),l(S,this).connectionId!==e.connectionId)return f("answer from different connection ignored");try{u(I,this,!0),await l(b,this).setRemoteDescription(r)}finally{u(I,this,!1)}const n=l(w,this).length;n>0&&(f("adding ice candidates from queue",n),await Promise.allSettled(l(w,this).map(e=>l(b,this).addIceCandidate(e))),l(w,this).length=0)}),a(this,"handleIceCandidate",async(e,t,r)=>{if(l(L,this).connectionId!==t.connectionId)return f("ice candidate intended for different connection");if(l(S,this).connectionId!==e.connectionId)return f("ice candidate from different connection ignored");if(l(b,this).remoteDescription)try{await l(b,this).addIceCandidate(r)}catch(e){if(!l(y,this))throw e}else l(w,this).push(r)});const t=e.localClientId;u(h,this,e.remoteClientId),u(p,this,e.agentId),u(_,this,e.iceServers),u(v,this,e.sendSDP),u(E,this,e.sendCandidate),u(m,this,[t,l(h,this)].sort()[0]===t),u(w,this,[]),u(L,this,{clientId:t,connectionId:(0,o.v4)()}),u(S,this,{clientId:l(h,this),connectionId:null})}get id(){return l(h,this)}get agentId(){return l(p,this)}get isConnected(){return l(C,this)}get connection(){return l(b,this)}}t.default=k},74953(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(62953);var n=a(r(51227)),i=r(37007),o=r(67052),s=a(r(18684));function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function u(e,t){return e.get(f(e,t))}function d(e,t,r){return e.set(f(e,t),r),r}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const h=(0,n.default)("cbio.Calling.PeerManager");var p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap;class I extends i.EventEmitter{constructor(e,t){super(),l(this,p,void 0),l(this,_,void 0),l(this,v,new Map),c(this,"createPeer",async(e,t,r)=>{if(u(v,this).has(t))return;h("creating peer",t);const n=new s.default({localClientId:e,remoteClientId:t,agentId:r,iceServers:u(_,this),sendSDP:(e,t,r)=>u(p,this).sendSDP(e,t,r),sendCandidate:(e,t,r)=>u(p,this).sendCandidate(e,t,r)});n.on("connection.updated",u(E,this)),u(v,this).set(t,n);const i=u(p,this).takeLastOffer(t);if(i){const e=i.from.connectionId;h("using last offer with connection id",e),n.createConnection(e),await n.handleOffer(i.from,i.to,i.sdp)}else n.createConnection(null);h("peer created"),this.emit("peer.created",n)}),l(this,E,e=>{this.emit("peer.connection.updated",e)}),c(this,"removePeer",e=>{h("removing peer",e);const t=u(v,this).get(e);if(!t)return h("unknown peer",e);u(m,this).call(this,t),this.emit("peer.removed",e)}),c(this,"reconnectPeers",()=>{this.peers.forEach(e=>{e.closeConnection(),e.createConnection(null)})}),l(this,m,e=>{e.off("connection.updated",u(E,this)),e.closeConnection(),u(v,this).delete(e.id)}),l(this,g,(e,t,r)=>{h("receiving sdp",r.type,"from",e);const n=u(v,this).get(e.clientId);if(!n)return h("unknown peer",e.clientId);"offer"===r.type&&(u(p,this).takeLastOffer(e.clientId),n.handleOffer(e,t,r)),"answer"===r.type&&n.handleAnswer(e,t,r)}),l(this,y,async(e,t,r)=>{h("receiving ice candidate from",e);const n=u(v,this).get(e.clientId);if(!n)return h("unknown peer",e.clientId);n.handleIceCandidate(e,t,r)}),c(this,"destroy",()=>{u(p,this).flushLastOfferCache(),u(p,this).off(o.SIGNAL.CANDIDATE,u(y,this)),u(p,this).off(o.SIGNAL.SDP,u(g,this)),u(v,this).forEach(u(m,this)),u(v,this).clear()}),d(p,this,e),d(_,this,t),u(p,this).on(o.SIGNAL.SDP,u(g,this)),u(p,this).on(o.SIGNAL.CANDIDATE,u(y,this))}get peers(){return[...u(v,this).values()]}}t.default=I},67052(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SIGNAL=void 0,r(16280),r(33110),r(58335),r(62953);var n,i=(n=r(51227))&&n.__esModule?n:{default:n},o=r(37007);function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t){return e.get(u(e,t))}function l(e,t,r){return e.set(u(e,t),r),r}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const d=(0,i.default)("cbio.Calling.Signalling"),f=t.SIGNAL={SDP:"sdp",CANDIDATE:"icecandidate"};var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap;class g extends o.EventEmitter{constructor(e,t){super(),a(this,h,void 0),a(this,p,void 0),a(this,_,new Map),s(this,"sendSDP",(e,t,r)=>{d("sending sdp with type",r.type,"to",t),c(h,this).send(f.SDP,{from:e,to:t,sdp:JSON.stringify(r)})}),s(this,"sendCandidate",(e,t,r)=>{d("sending ice candidate","to",t),c(h,this).send(f.CANDIDATE,{from:e,to:t,candidate:JSON.stringify(r)})}),s(this,"takeLastOffer",e=>{const t=c(_,this).get(e);return c(_,this).delete(e),t}),s(this,"flushLastOfferCache",()=>{c(_,this).clear()}),a(this,v,(e,t)=>{e===f.SDP&&c(E,this).call(this,t),e===f.CANDIDATE&&c(m,this).call(this,t)}),a(this,E,e=>{let{from:t,to:r,sdp:n}=e;if(!c(p,this).call(this,r))return;const i=JSON.parse(n);d("receiving sdp with type",i.type,"from",t),"offer"===i.type&&c(_,this).set(t.clientId,{from:t,to:r,sdp:i}),this.emit(f.SDP,t,r,i)}),a(this,m,e=>{let{from:t,to:r,candidate:n}=e;c(p,this).call(this,r)&&(d("receiving ice candidate","from",t),this.emit(f.CANDIDATE,t,r,JSON.parse(n)))}),s(this,"destroy",()=>{c(h,this).off("event",c(v,this)),this.flushLastOfferCache()}),l(h,this,e),l(p,this,t),c(h,this).on("event",c(v,this))}}t.default=g},30310(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Peer",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"PeerManager",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Signalling",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"fetchIceServers",{enumerable:!0,get:function(){return n.fetchIceServers}});var n=r(86245),i=a(r(18684)),o=a(r(74953)),s=a(r(67052));function a(e){return e&&e.__esModule?e:{default:e}}},168(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.isProtocolAllowed=t.URLRewriter=void 0,r(16280),r(27495),r(25440),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(79444),i=r(76925);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(function(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}(e,t))}const u=["http:","https:"],d=e=>u.includes(e);t.isProtocolAllowed=d;var f=new WeakMap,h=new WeakMap,p=new WeakMap;t.URLRewriter=class{constructor(e,t,r,o,u,_){var v=this;c(this,f,e=>e.startsWith("#")),c(this,h,e=>e.hostname===this.proxyApiUrl.hostname),c(this,p,e=>"".concat(e.pathname).concat(e.search).concat(e.hash).replace(/^.*?\/proxy\/1\/[^/]+/i,"")),a(this,"proxify",function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return e;if(l(f,v).call(v,e.toString()))return e;const r=s(s(s({},v.queryParams),v.getOrigin?{origin:v.getOrigin()}:{}),t);try{const t=new URL(e,v.baseUrl);if(!d(t.protocol))return e;const n=l(h,v).call(v,t)?v.unproxify(t.toString()):t.toString(),o=(0,i.proxifyUrl)(n,r);return new URL(".".concat(o),v.proxyApiUrl).toString()}catch(t){return e}}),a(this,"unproxify",e=>{if(!e)return e;if(l(f,this).call(this,e.toString()))return e;try{const t=new URL(e,this.baseUrl);if(!d(t.protocol))return e;if(!l(h,this).call(this,t))return e;const r=l(p,this).call(this,t);return(0,n.unproxifyPath)(r).toString()}catch(t){return e}}),this.proxyApiUrl=new URL(t,e),this.queryParams=u?s({},u):{},r&&(this.queryParams.access_token=r),this.baseUrl=o,this.getOrigin=_}}},9147(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PROXY_PREFIX",{enumerable:!0,get:function(){return i.PROXY_PREFIX}}),Object.defineProperty(t,"URLRewriter",{enumerable:!0,get:function(){return n.URLRewriter}}),Object.defineProperty(t,"isProtocolAllowed",{enumerable:!0,get:function(){return n.isProtocolAllowed}});var n=r(168),i=r(42859)},76925(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reverseHost=t.proxifyUrl=void 0,r(94490),r(18111),r(61701),r(27495),r(25440),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);const n=e=>e.split(".").reverse().map(encodeURIComponent).join("/");t.reverseHost=n,t.proxifyUrl=(e,t)=>{const{hostname:r,protocol:i,pathname:o,search:s,port:a,username:c,password:l,hash:u}=new URL(e),d=n(r),f="".concat(d,"/").concat(i).concat(o).concat(u),h=new URL(f,"http://placeholder.base");s&&h.searchParams.set("search",s.replace("?","")),a&&h.searchParams.set("port",a),c&&h.searchParams.set("username",c),l&&h.searchParams.set("password",l);for(const[e,r]of Object.entries(t||{}))h.searchParams.set(e,r);return"".concat(h.pathname).concat(h.search).concat(h.hash)}},42859(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PROXY_PREFIX=void 0,t.PROXY_PREFIX={UNIVERSAL:"./proxy/1/universal/"}},79444(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unproxifyPath=void 0,r(94490),r(18111),r(61701),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721),t.unproxifyPath=e=>{const{pathname:t,hash:r,searchParams:n}=new URL(e,"http://placeholder.base"),i=t.split("/"),o=i.findIndex(e=>"http:"===e||"https:"===e),s=i[o],a=i.slice(1,o).reverse().map(decodeURIComponent),c=i.slice(o+1,i.length),l=n.get("search"),u=n.get("port"),d=n.get("username"),f=n.get("password"),h=a.join("."),p=c.join("/"),_=l?"?".concat(l):"",v=u?":".concat(u):"",E=d&&f?"".concat(d,":").concat(f,"@"):"";return new URL("".concat(s,"//").concat(E).concat(h).concat(v,"/").concat(p).concat(_).concat(r))}},90083(e,t,r){"use strict";var n;function i(e,t){return e.get(o(e,t))}function o(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);const s=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.Redaction");var a=new WeakMap;t.default=new class{constructor(){!function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(this,a,void 0)}init(e){var t,r;r=e,(t=a).set(o(t,this),r),s("initialising with new nodeIndex")}getRedactedBy(e){var t,r;return null!==(t=null===(r=i(a,this))||void 0===r?void 0:r.getIncludedBy(e))&&void 0!==t?t:null}isRedacted(e){var t,r;return null!==(t=null===(r=i(a,this))||void 0===r?void 0:r.isIncluded(e))&&void 0!==t&&t}notifyChanges(e,t,r,n){var o,s;return null!==(o=null===(s=i(a,this))||void 0===s?void 0:s.notifyChanges(e,t,r,n))&&void 0!==o?o:new Set}}},16566(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Redaction",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(90083))&&n.__esModule?n:{default:n}},32976(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=c(r(25454)),i=c(r(51227)),o=r(66938),s=r(16566),a=r(67501);function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=(0,i.default)("cbio.ControlEvents");t.default=new class{constructor(){l(this,"_applyScroll",(e,t)=>{const r=e.defaultView||e;r.scrollTo?r.scrollTo(t.x,t.y):(r.scrollTop=t.y,r.scrollLeft=t.x)}),l(this,"_updateCheckbox",(e,t)=>{let{checked:r}=t;if(void 0!==r&&"INPUT"===e.tagName&&void 0!==e.checked){const t=Object.getOwnPropertyDescriptor(e.constructor.prototype,"checked");t&&t.set.call(e,r)}}),l(this,"_updateInnerHTML",(e,t)=>{let{innerHTML:r}=t;if(void 0!==r){const t=(new DOMParser).parseFromString(n.default.sanitize(r),"text/html");e.replaceChildren(...t.body.children)}}),l(this,"_updateValue",(e,t,r)=>{let{value:n,selectedOptions:i}=t;if(void 0!==n&&"input"===r){const t=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value");t&&t.set.call(e,n)}"TEXTAREA"===e.tagName&&o.NodeTracker.track(e.childNodes[0]),"SELECT"===e.tagName&&null!=i&&[...e.options].forEach(e=>{e.selected=i.includes(e.value)})}),l(this,"_updateTarget",(e,t)=>{this._updateValue(e,t.target,t.state),this._updateCheckbox(e,t.target),this._updateInnerHTML(e,t.target)}),l(this,"_generateMouse",(e,t)=>new MouseEvent(t.state,{clientX:t.x*window.innerWidth,clientY:t.y*window.innerHeight,bubbles:!0,cancelable:!0,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})),l(this,"_generatePointer",(e,t)=>new PointerEvent(t.state,{clientX:t.x*window.innerWidth,clientY:t.y*window.innerHeight,pointerId:t.pointerId,width:t.width,height:t.height,pressure:t.pressure,tangentialPressure:t.tangentialPressure,tiltX:t.tiltX,tiltY:t.tiltY,twist:t.twist,pointerType:t.pointerType,isPrimary:t.isPrimary,bubbles:!0,cancelable:!0,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})),l(this,"_generateKeypress",(e,t)=>new KeyboardEvent(t.state,{key:t.key,code:t.code,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey,charCode:t.charCode,keyCode:t.keyCode,which:t.which,bubbles:!0,cancelable:!0,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})),l(this,"_generateFocus",(e,t)=>new FocusEvent(t.state,{bubbles:["focusin","focusout"].includes(t.state),cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})),l(this,"_generateChange",(e,t)=>new CustomEvent(t.state,{bubbles:!0,cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})),l(this,"_generateInput",(e,t)=>new CustomEvent(t.state,{bubbles:!0,cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window,inputType:t.inputType,data:t.data})),l(this,"_generateSelection",(e,t)=>new CustomEvent("selection",{bubbles:!0,cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window,selection:t.selection})),l(this,"_generateEvent",(e,t,r)=>{switch(r.state.includes("move")&&u("generate",r,"on",t),e){case"keypress":return this._generateKeypress(t,r);case"mouse":return this._generateMouse(t,r);case"pointer":return this._generatePointer(t,r);case"change":return this._generateChange(t,r);case"input":return this._generateInput(t,r);case"focus":return this._generateFocus(t,r);case"select":return this._generateSelection(t,r);default:return console.warn("CobrowseIO: unknown event type",e,r),null}}),l(this,"_setSelection",(e,t)=>{let{selection:r}=t;if(!(e.__cobrowse_user_selection_timestamp>Date.now()-100)&&e.getSelection&&e.getSelection())try{r?(e.__last_agent_selection_ts=Date.now(),e.getSelection().removeAllRanges(),r.forEach(t=>{const{start:r,startOffset:n,end:i,endOffset:s}=t,a=document.createRange(),c=o.NodeTracker.getById(r),l=o.NodeTracker.getById(i);a.setStart(c,n),a.setEnd(l,s),e.getSelection().addRange(a)})):e.getSelection().removeAllRanges()}catch(e){console.warn("Failed to apply selection",r,e)}}),l(this,"_setInputSelection",(e,t)=>{let{selection:r}=t;if(!(e.ownerDocument.__cobrowse_user_selection_timestamp>Date.now()-100)&&["text","textarea","search","url"].includes(e.type))try{if(e.ownerDocument.__last_agent_selection_ts=Date.now(),r){const{start:t,end:n,direction:i}=r;e.focus(),e.setSelectionRange(t,n,i)}else e.getRootNode({composed:!0}).activeElement===e&&e.setSelectionRange(null,null)}catch(e){console.warn("Failed to select text",e)}}),l(this,"applyEvent",(e,t)=>{if(!t.target)return null;const r=o.NodeTracker.getById(t.target.id);if(!r)return null;if(s.Redaction.isRedacted(r))return null;if(a.DisabledViews.isDisabled(r))return null;try{var n;if("scroll"===e)return this._applyScroll(r,t);if(null!==(n=r._cobrowse_suppress_events)&&void 0!==n&&n.has(t.state))return r._cobrowse_suppress_events.delete(t.state),0===r._cobrowse_suppress_events.size&&delete r._cobrowse_suppress_events.size,null;const i=this._generateEvent(e,r,t);return i&&(r.dispatchEvent(i)?(["keydown","keypress","input"].includes(t.state)&&this._updateTarget(r,t),["selectionchange"].includes(t.state)&&this._setSelection(r,t),["select"].includes(t.state)&&this._setInputSelection(r,t)):"keydown"===t.state?r._cobrowse_suppress_events=new Set(["keypress","input"]):"keypress"===t.state&&(r._cobrowse_suppress_events=new Set(["input"]))),i}catch(t){return console.warn("Error while injecting event",e,t),null}})}isTypingInput(e){if(e.target){const t=o.NodeTracker.getById(e.target.id);if(["text","email","number","password","search","tel","url","datetime","textarea"].includes(null==t?void 0:t.type))return!0}return!1}}},83672(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ControlEvents",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(32976))&&n.__esModule?n:{default:n}},42109(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(82701))&&n.__esModule?n:{default:n};class o extends i.default{constructor(e,t,r){super(t,r),this.id=e,this.name="APIError"}}t.default=o},82701(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280);class n extends Error{constructor(e,t){super(t),this.status=e,this.name="HTTPError"}}t.default=n},53469(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(33110),r(96167),r(62953);var n=r(37007),i=c(r(1045)),o=c(r(90179)),s=c(r(2404)),a=c(r(42109));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function h(e,t,r){return e.set(_(e,t),r),r}function p(e,t){return e.get(_(e,t))}function _(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap;class w extends n.EventEmitter{constructor(){super(...arguments),f(this,v,{}),f(this,E,{}),f(this,m,null),f(this,g,null),f(this,y,null),f(this,I,async e=>{if(e.status>=400){const t=await e.json();throw new a.default(t.id,e.status,t.message)}if(!e.ok)throw new Error("Failed to parse response, response not ok");return 204===e.status?null:await e.json()})}get _resource(){return console.warn("The _resource property is private and should not be accessed directly. It will soon be removed entirely. Please update your implementation to use only the public APIs."),p(E,this)}get resource(){return p(E,this)}url(){throw new Error("url() must be implemented")}id(){return this.field("id")}field(e){return(p(E,this)||{})[e]}cache(e){h(E,this,u(u({},p(E,this)),e))}async fetch(){await Promise.allSettled([p(m,this),p(g,this),p(y,this)]);const e=await fetch(this.url(),{headers:(0,o.default)(this.headers(),["Content-Type"])});return this.updateResource(await p(I,this).call(this,e))}async create(){h(m,this,(async()=>{const e=await fetch(this.url(),{method:"POST",headers:this.headers()});return this.updateResource(await p(I,this).call(this,e))})());try{return await p(m,this)}finally{h(m,this,null)}}async update(e){await Promise.allSettled([p(g,this)]),h(g,this,(async e=>{if(e&&Object.keys(e).length>0&&(0,i.default)(p(E,this),e,s.default))return this;const t=await fetch(this.url(),{method:this.id()?"PUT":"POST",headers:this.headers(),body:JSON.stringify(e)});return this.updateResource(await p(I,this).call(this,t))})(e));try{return await p(g,this)}finally{h(g,this,null)}}async destroy(){h(y,this,(async()=>{const e=await fetch(this.url(),{method:"DELETE",headers:this.headers()});return this.updateResource(await p(I,this).call(this,e))})());try{return await p(y,this)}finally{h(y,this,null)}}updateResource(e){const t=this.clone();return h(E,this,e||{}),this.emit("updated",this,t),this}clone(e){e&&h(E,e,u({},p(E,this)))}headers(){return u(u({},w.headers()),p(v,this))}setHeader(e,t){p(v,this)[e]=t}getHeader(e){return this.headers()[e]}static headers(){return _(w,this,b)._}static setHeader(e,t){b._[e]=t}static getHeader(e){return b._[e]}static set api(e){L._=e}static get api(){return L._}}t.default=w;var b={_:{}},L={_:void 0}},40492(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RESTResource",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(53469))&&n.__esModule?n:{default:n}},52404(e,t,r){"use strict";r(44114),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(22489),r(61806),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(80608),i=r(37609),o=c(r(60086)),s=r(40492),a=r(21667);function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function h(e,t){return e.get(_(e,t))}function p(e,t,r){return e.set(_(e,t),r),r}function _(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const v=(0,c(r(51227)).default)("cbio.Session");var E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap;class T extends s.RESTResource{constructor(e){var t;if(super(),t=this,f(this,E,void 0),f(this,m,void 0),f(this,g,{}),f(this,y,e=>{this.setHeader("X-CobrowseDeviceToken",e)}),f(this,I,()=>this.getHeader("X-CobrowseDeviceToken")),d(this,"activate",()=>(v("activate session"),this.update({state:"active",device:a.Device.info,custom_data:h(E,this).customData}))),d(this,"end",()=>(v("end session"),this.update({state:"ended"}))),d(this,"code",()=>this.field("code")),d(this,"state",()=>this.field("state")),d(this,"isActive",()=>"active"===this.state()),d(this,"isAuthorizing",()=>"authorizing"===this.state()),d(this,"isPending",()=>"pending"===this.state()),d(this,"isEnded",()=>"ended"===this.state()),d(this,"isVirtual",()=>!!this.field("virtual")),d(this,"redactionSelectors",()=>{const e=this.field("redaction_selectors");return Array.isArray(e)?e:[]}),d(this,"unredactionSelectors",()=>{const e=this.field("unredaction_selectors");return Array.isArray(e)?e:[]}),d(this,"agent",()=>this.field("agent")||!1),d(this,"agents",()=>this.field("agents")||[]),d(this,"requireConsent",()=>this.field("require_consent")),d(this,"endedReason",()=>this.field("ended_reason")),d(this,"fullDevice",()=>!0===this.field("full_device")||"on"===this.field("full_device")||"requested"===this.field("full_device")),d(this,"setFullDevice",e=>(h(m,this).toggle(["laser","drawing","disappearing_ink","arrows","rectangles","pointer","scroll","select","keypress","cursor"],"on"!==e),this.update({full_device:e}))),d(this,"update",e=>super.update(u({capabilities:h(m,this).toArray()},e))),d(this,"scale",()=>this.field("scale")||.5),d(this,"remoteControl",()=>this.field("remote_control")||"on"),d(this,"setRemoteControl",e=>this.update({remote_control:e})),d(this,"allowRemoteControl",()=>"on"===this.remoteControl()),d(this,"calling",()=>this.field("calling")),d(this,"setCalling",e=>this.update({calling:e})),d(this,"caller",()=>this.field("caller")),d(this,"updateResource",e=>{const t=this.isEnded();return super.updateResource(e),this.isEnded()&&!t&&(this.emit("ended",this),this.removeAllListeners()),this}),d(this,"clone",()=>{const e=new T(h(E,this));return super.clone(e),e}),f(this,w,(0,i.protect)(this,"setMetrics",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p(g,t,u(u({},h(g,t)),e)),t.emit("metrics.updated",t)})),f(this,b,(0,i.protect)(this,"serialize",()=>u(u({},this.resource),{},{_locals:{token:h(I,this).call(this)}}))),f(this,L,(0,i.protect)(this,"serializeSanitized",()=>({state:this.resource.state,redaction_selectors:this.resource.redaction_selectors}))),f(this,S,(0,i.protect)(this,"deserialize",e=>{const t=e._locals||{};return delete e._locals,t.token&&h(y,this).call(this,t.token),this.updateResource(e),this})),f(this,C,(0,i.protect)(this,"compress",()=>"".concat(this.resource.id,":").concat(h(I,this).call(this)))),f(this,A,(0,i.protect)(this,"decompress",e=>{const t=e.split(":");return h(S,this).call(this,{_locals:{token:t[t.length-1]},id:t.slice(0,-1).join(":")}),this})),f(this,O,(0,i.protect)(this,"proxyToken",()=>this.field("proxy_token"))),f(this,N,(0,i.protect)(this,"proxyUrl",()=>this.field("proxy_url"))),!e)throw new Error("Session delegate is required");p(E,this,e),p(m,this,new o.default(e.capabilities));const r=Math.ceil(Date.now()/36e5);h(y,this).call(this,(0,n.v5)(r+"",a.Device.deviceToken()))}get capabilities(){const e=this.field("capabilities");return null==e?h(m,this).toArray():h(m,this).toArray().filter(t=>null==e?void 0:e.includes(t))}url(){const e=this.id()||this.code();return new URL("api/1/sessions".concat(e?"/".concat(e):""),T.api).toString()}get created(){return new Date(this.field("created"))}get expires(){return new Date(this.field("expires"))}get activated(){return this.field("activated")?new Date(this.field("activated")):null}get updated(){return this.field("updated")?new Date(this.field("updated")):null}get ended(){return this.field("ended")?new Date(this.field("ended")):null}get metrics(){return h(g,this)}}t.default=T},60086(e,t,r){"use strict";function n(e,t){return e.get(i(e,t))}function i(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(22489),r(7588),r(18237),r(62953);var o=new WeakMap;t.default=class{constructor(e){var t,r,n;n={},function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t=this,r=o),r.set(t,n),this.fill(e)}fill(e){var t,r;return t=o,r=e.reduce((e,t)=>(e[t]=!0,e),{}),t.set(i(t,this),r),this}all(){return n(o,this)}toArray(){return Object.keys(n(o,this)).filter(e=>n(o,this)[e])}toggle(e,t){return Array.isArray(e)||(e=[e]),e.filter(e=>e in n(o,this)).forEach(e=>{n(o,this)[e]=t}),this}}},57089(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SESSION_CAPABILITY_TYPE_UNIVERSAL=t.SESSION_CAPABILITY_TYPE_SELECT=t.SESSION_CAPABILITY_TYPE_SCROLL=t.SESSION_CAPABILITY_TYPE_RECTANGLES=t.SESSION_CAPABILITY_TYPE_POINTER=t.SESSION_CAPABILITY_TYPE_LASER=t.SESSION_CAPABILITY_TYPE_KEYPRESS=t.SESSION_CAPABILITY_TYPE_HIGHLIGHT=t.SESSION_CAPABILITY_TYPE_FULL_DEVICE=t.SESSION_CAPABILITY_TYPE_DRAWING=t.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK=t.SESSION_CAPABILITY_TYPE_CURSOR=t.SESSION_CAPABILITY_TYPE_CALLING=t.SESSION_CAPABILITY_TYPE_ARROWS=void 0;const r=t.SESSION_CAPABILITY_TYPE_POINTER="pointer",n=t.SESSION_CAPABILITY_TYPE_SCROLL="scroll",i=t.SESSION_CAPABILITY_TYPE_SELECT="select",o=t.SESSION_CAPABILITY_TYPE_KEYPRESS="keypress",s=t.SESSION_CAPABILITY_TYPE_DRAWING="drawing",a=t.SESSION_CAPABILITY_TYPE_ARROWS="arrows",c=t.SESSION_CAPABILITY_TYPE_RECTANGLES="rectangles",l=t.SESSION_CAPABILITY_TYPE_LASER="laser",u=t.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK="disappearing_ink",d=t.SESSION_CAPABILITY_TYPE_FULL_DEVICE="full_device",f=t.SESSION_CAPABILITY_TYPE_CURSOR="cursor",h=t.SESSION_CAPABILITY_TYPE_UNIVERSAL="universal",p=t.SESSION_CAPABILITY_TYPE_HIGHLIGHT="highlight",_=t.SESSION_CAPABILITY_TYPE_CALLING="calling";t.default=[r,n,i,o,s,a,c,u,l,d,f,h,p,_]},30729(e,t,r){"use strict";r(44114),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(13579),r(62953);var n=N(r(2404)),i=r(80608),o=N(r(90324)),s=r(8647),a=r(45264),c=r(33035),l=r(83672),u=r(67501),d=r(16566),f=r(66938),h=r(75632),p=N(r(51227)),_=r(57089),v=r(68325),E=r(49715),m=r(11065),g=r(91834),y=N(r(6900)),I=r(44661),w=r(89689),b=N(r(44153)),L=N(r(94340)),S=r(14162),C=r(24719),A=N(r(77966)),O=r(30310);function N(e){return e&&e.__esModule?e:{default:e}}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){R(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function R(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e,t,r){k(e,t),t.set(e,r)}function k(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function D(e,t){return e.get(j(e,t))}function x(e,t,r){return e.set(j(e,t),r),r}function j(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const G=(0,p.default)("cbio.SessionContext"),U=(0,p.default)("cbio.SessionContext.events");var W=new WeakMap,V=new WeakMap,z=new WeakMap,F=new WeakMap,B=new WeakMap,H=new WeakMap,Y=new WeakMap,Q=new WeakMap,J=new WeakMap,K=new WeakMap,X=new WeakMap,q=new WeakMap,Z=new WeakMap,$=new WeakSet,ee=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,ie=new WeakMap,oe=new WeakMap,se=new WeakMap,ae=new WeakMap,ce=new WeakMap,le=new WeakMap,ue=new WeakMap,de=new WeakMap,fe=new WeakMap,he=new WeakMap,pe=new WeakMap,_e=new WeakMap,ve=new WeakMap,Ee=new WeakMap,me=new WeakMap,ge=new WeakMap,ye=new WeakMap,Ie=new WeakMap,we=new WeakMap,be=new WeakMap,Le=new WeakMap,Se=new WeakMap,Ce=new WeakMap,Ae=new WeakMap,Oe=new WeakMap,Ne=new WeakMap;function Te(e){return{[v.SESSION_EVENT_TYPE_MOUSE]:[_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_TOUCH]:[_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_POINTER]:[_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_FOCUS]:[_.SESSION_CAPABILITY_TYPE_KEYPRESS,_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_KEYPRESS]:[_.SESSION_CAPABILITY_TYPE_KEYPRESS],[v.SESSION_EVENT_TYPE_SCROLL]:[_.SESSION_CAPABILITY_TYPE_SCROLL],[v.SESSION_EVENT_TYPE_CHANGE]:l.ControlEvents.isTypingInput(e)?[_.SESSION_CAPABILITY_TYPE_KEYPRESS]:[_.SESSION_CAPABILITY_TYPE_KEYPRESS,_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_INPUT]:l.ControlEvents.isTypingInput(e)?[_.SESSION_CAPABILITY_TYPE_KEYPRESS]:[_.SESSION_CAPABILITY_TYPE_KEYPRESS,_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_LASER]:[_.SESSION_CAPABILITY_TYPE_LASER],[v.SESSION_EVENT_TYPE_HIGHLIGHT]:[_.SESSION_CAPABILITY_TYPE_HIGHLIGHT],[v.SESSION_EVENT_TYPE_DRAWING]:null!=e.disappears_in?[_.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK]:[_.SESSION_CAPABILITY_TYPE_DRAWING,_.SESSION_CAPABILITY_TYPE_RECTANGLES,_.SESSION_CAPABILITY_TYPE_ARROWS],[v.SESSION_EVENT_TYPE_SELECT]:[_.SESSION_CAPABILITY_TYPE_SELECT]}[e.type].some(e=>this.session.capabilities.includes(e))}t.default=class{constructor(e,t){var r;k(this,r=$),r.add(this),M(this,W,void 0),M(this,V,void 0),M(this,z,new s.FrameLoop),M(this,F,void 0),M(this,B,void 0),M(this,H,void 0),M(this,Y,void 0),M(this,Q,void 0),M(this,J,void 0),M(this,K,void 0),M(this,X,()=>{D(Ie,this).call(this),D(Q,this)||(x(Q,this,new S.ClientTracker(this.delegate.deviceId(),(0,i.v4)())),D(Q,this).on("ping",e=>D(W,this).stream.send("client",e)),this.session.on("client",D(ce,this))),D(J,this)||(x(J,this,new C.Calling({sessionId:this.session.id(),updateCalling:e=>this.session.update({calling:e}),fetchIceServers:()=>(0,O.fetchIceServers)(this.session),clientTracker:D(Q,this),socket:D(W,this).stream,agentId:null})),D(J,this).handleSessionUpdate(this.session.calling(),this.session.caller())),D(Q,this).ping(),x(K,this,()=>{x(K,this,null),a.HighlightTracking.resolvePendingHighlight()})}),M(this,q,e=>{var t;"session-end"===e&&null!==(t=this.session)&&void 0!==t&&t.isActive()&&this.session.end()}),M(this,Z,e=>{var t;return!(null===(t=this.session)||void 0===t||!t.isActive()||e===I.NAVIGATION_TYPE.UNIVERSAL&&!this.session.capabilities.includes(_.SESSION_CAPABILITY_TYPE_UNIVERSAL))}),R(this,"handleNavigation",(e,t,r,n)=>{var i;const{name:o,go:s,type:a}=n,{handle:c,document:l}=D(H,this).resolveDocument(n.handle,o),{windowProxy:u}=l,d=i=>{const s=D(Y,this).runHandler(e,i||t,r,P(P({},n),{},{document:l}));return s.rewrittenUrl?{rewrittenUrl:s.rewrittenUrl}:(s.document&&D(H,this).addDocument(c,o,s.document),{windowProxy:u})};if(!a)return d();if(a===I.NAVIGATION_TYPE.XDOC)return d();const f=this.delegate.confirmOpen(e,a);return f?!0===f?d("_blank"):(null===(i=f.then)||void 0===i||i.call(f,e=>{if(!e)return s(),{windowProxy:u};d("_blank")}),{windowProxy:u}):{rewrittenUrl:e}}),R(this,"invalidateFrames",()=>{D(z,this).isRunning()&&D(z,this).invalidateFrame()}),R(this,"destroy",()=>{G("destroy session context"),D(ge,this).call(this),L.default.off("click",D(q,this)),D(Y,this)&&D(Y,this).destroy(),x(Y,this,null),b.default.off("navigate",D(ee,this)),D(W,this)&&D(W,this).close(),x(W,this,null),D(z,this)&&D(z,this).destroy(),x(z,this,null),D(J,this)&&D(J,this).destroy(),x(J,this,null),D(H,this)&&D(H,this).destroy(),x(H,this,null),D(Q,this)&&D(Q,this).destroy(),x(Q,this,null),a.WindowTracking.off("activate",D(Ie,this)),window.removeEventListener("focus",D(Ie,this),{capture:!0,passive:!0}),window.removeEventListener("hashchange",D(we,this),{capture:!0,passive:!0}),a.MouseTracking.onChange===D(Oe,this)&&(a.MouseTracking.onChange=null),a.InteractionTracking.off("click",D(Se,this)),a.InteractionTracking.off("change",D(Ce,this)),a.InteractionTracking.off("input",D(Ae,this)),A.default.off("click",D(Se,this)),A.default.off("change",D(Ce,this)),A.default.off("input",D(Ae,this)),a.HighlightTracking.off("end",D(oe,this)),this.session&&(this.session.removeListener("update",D(me,this)),this.session.removeListener("ended",D(ge,this)),this.session.removeListener("sync",D(re,this)),this.session.removeListener("drawing",D(se,this)),this.session.removeListener("laser",D(ne,this)),this.session.removeListener("control",D(ae,this)),this.session.removeListener("remote-error",D(te,this)),this.session.removeListener("client",D(ce,this))),document.removeEventListener("DOMContentLoaded",D(le,this),{once:!0}),this.session=null}),M(this,ee,(e,t)=>{D(ue,this).call(this,this.session),D(de,this).call(this),D(fe,this).call(this),c.Highlight.hide(),((0,h.didSelectorsChange)(this.delegate.redactedViews,t)||(0,h.didSelectorsChange)(this.delegate.unredactedViews,t)||(0,h.didSelectorsChange)(this.session.redactionSelectors(),t)||(0,h.didSelectorsChange)(this.session.unredactionSelectors(),t))&&this.invalidateFrames()}),M(this,te,async e=>{const t=D(z,this).getSource();if(!(t instanceof s.DOMFrameSource))return;const{target:r,error:{cause:n}}=e;if("load-error"!==n)return;const i="string"==typeof r?r:r.id;await(0,f.applyContentCache)(i),t.partialSync(i)}),M(this,re,e=>{let{id:t}=e;t&&D(F,this)===t||(x(F,this,t),D(z,this).invalidateFrame())}),M(this,ne,e=>{j($,this,Te).call(this,e)&&a.WindowTracking.isActive()&&(this.session.fullDevice()||c.LaserOverlay.update(e))}),M(this,ie,async e=>{U("on(highlight)",e),j($,this,Te).call(this,e)&&a.WindowTracking.isActive()&&(this.session.fullDevice()||await a.HighlightTracking.highlightAndWait(this.delegate,e))}),M(this,oe,e=>{let{id:t,state:r}=e;D(ye,this).call(this,"highlight",{type:v.SESSION_EVENT_TYPE_HIGHLIGHT,id:t,state:r,timestamp:new Date})}),M(this,se,e=>{j($,this,Te).call(this,e)&&(e.image||c.AnnotationOverlay.hide(e.agent),a.WindowTracking.isActive()&&(this.session.fullDevice()||c.AnnotationOverlay.update(e)))}),M(this,ae,(e,t)=>{"focus"!==e||t.agent||a.WindowTracking.resignActive(),t.agent&&a.WindowTracking.isActive()&&(this.session.fullDevice()||this.session.allowRemoteControl()&&(this.session.capabilities.includes(_.SESSION_CAPABILITY_TYPE_CURSOR)&&c.RemoteCursor.update(e,t),j($,this,Te).call(this,t)&&l.ControlEvents.applyEvent(e,t)))}),M(this,ce,e=>{D(Q,this).track(e)}),M(this,le,e=>{this.session&&(e.isActive()?document.body?this.delegate.showSessionControls(e):document.addEventListener("DOMContentLoaded",D(le,this),{once:!0}):this.delegate.hideSessionControls(e))}),M(this,ue,e=>{var t,r;const n=null!==(t=this.delegate.redactedViews)&&void 0!==t?t:[],i=null!==(r=this.delegate.unredactedViews)&&void 0!==r?r:[],o=[...n,...e.redactionSelectors()],s=[...i,...e.unredactionSelectors()];d.Redaction.init(new f.NodeIndex((0,h.resolveSelectorsForCurrentUrl)(o),(0,h.resolveSelectorsForCurrentUrl)(s)))}),M(this,de,()=>{f.NodeTree.setIgnoredViews((0,h.resolveSelectorsForCurrentUrl)(this.delegate.ignoredViews))}),M(this,fe,()=>{u.DisabledViews.init(new f.NodeIndex((0,h.resolveSelectorsForCurrentUrl)(this.delegate.disabledViews),(0,h.resolveSelectorsForCurrentUrl)(this.delegate.enabledViews)))}),M(this,he,(e,t)=>{const r=!(0,n.default)(e.redactionSelectors(),(null==t?void 0:t.redactionSelectors())||[]),i=!(0,n.default)(e.unredactionSelectors(),(null==t?void 0:t.unredactionSelectors())||[]);return r||i}),M(this,pe,async e=>{if(!e.agent()||e.isActive()||e.isEnded())return null;if(D(B,this))return null;if(x(B,this,!0),!e.requireConsent())return e.activate();try{if(G("authorizing session"),await e.update({state:"authorizing"}),!this.session||!e.isAuthorizing())return null;const t=await this.delegate.confirmSession(e);return this.session?!1===t?(G("user rejected session request"),e.end()):(G("session accepted"),e.activate()):null}catch(t){return t&&console.warn("CobrowseIO: error caught during confirmation",t),this.session?e.end():null}}),M(this,_e,async e=>{if("requested"!==e.remoteControl())return null;try{return!1===await this.delegate.confirmRemoteControl()?(G("user rejeted remote control"),e.update({remote_control:"rejected"})):(G("user accepted remote control"),e.update({remote_control:"on"}))}catch(t){return t&&console.warn("CobrowseIO: error caught during confirmation",t),e.update({remote_control:"rejected"})}}),M(this,ve,async()=>{const e=this.session.resource.full_device;if(!0!==e&&"requested"!==e)return!1;if(!a.WindowTracking.isActive())return!1;if(this.session.capabilities.includes(_.SESSION_CAPABILITY_TYPE_FULL_DEVICE))try{const e=await this.delegate.confirmFullDevice();return G("full device request",e),e||await this.session.setFullDevice("rejected"),e}catch(e){return await this.session.setFullDevice("off"),!1}}),M(this,Ee,async e=>{if(e.isEnded()||!D(z,this))return null;const t=D(z,this).getSource();e.fullDevice()?t instanceof s.MediaStreamFrameSource||await D(z,this).setSource(new s.MediaStreamFrameSource({handleFrame:D(Le,this),scale:e.scale,captureStarted:t=>{e.setFullDevice("on"),e.emit("media",t)},captureEnded:t=>{t&&console.warn("Full device mode failed: ",t),e.setFullDevice(t?"rejected":"off")},requestPermission:D(ve,this)})):t instanceof s.DOMFrameSource?e.isVirtual()&&D(z,this).getSource().setOptions({includeVisibility:e.isVirtual()}):D(z,this).setSource(new s.DOMFrameSource(D(be,this),{includeVisibility:e.isVirtual()})),D(z,this).getSource().setCodecs(e.resource.video_codecs)}),M(this,me,(e,t)=>{if(this.session){if(D(pe,this).call(this,e),D(le,this).call(this,e),D(ue,this).call(this,e),D(he,this).call(this,e,t)&&this.invalidateFrames(),D(_e,this).call(this,e),D(Ee,this).call(this,e),e.isActive()&&D(Ne,this).call(this),D(J,this)){const e=this.session.calling();if(e!==(null==t?void 0:t.calling())){const t=this.session.caller();D(J,this).handleSessionUpdate(e,t)}}}else G("onSessionUpdated called after destroy()")}),M(this,ge,()=>{c.AnnotationOverlay.hide(),c.RemoteCursor.hide(),c.LaserOverlay.hide(),c.Highlight.hide(),this.delegate.hideSessionControls(this.session),D(H,this)&&D(H,this).closeAllDocuments()}),M(this,ye,(e,t)=>!(!this.session||!this.session.isActive()||!this.session.fullDevice()&&!a.WindowTracking.isActive()||!D(W,this)||!D(W,this).stream||!D(W,this).stream.connected||!D(W,this).stream.bufferedAmount>100||(D(W,this).stream.send(e,t),0))),M(this,Ie,()=>D(ye,this).call(this,"focus",{type:"Focus",timestamp:new Date})),M(this,we,()=>D(ye,this).call(this,"screen",{type:"Screen",timestamp:new Date,url:window.location.href,title:document.title})),M(this,be,e=>{x(V,this,(D(V,this)||0)+1);const t=D(ye,this).call(this,"frame",{type:"Frame",id:D(V,this),data:e,timestamp:new Date,mime_type:"application/x-cbio-vdom-patch"});return t&&D(K,this)&&D(K,this).call(this),t}),M(this,Le,(e,t,r)=>{D(W,this).stream.messageLag()>=r?G("dropped frame due to message lag",D(W,this).stream.messageLag()):(x(V,this,(D(V,this)||0)+1),D(ye,this).call(this,"frame",{type:"Frame",id:D(V,this),data:e,timestamp:new Date,mime_type:t}))}),M(this,Se,e=>{const t=a.MouseTracking.position();D(ye,this).call(this,"mouse",{type:v.SESSION_EVENT_TYPE_MOUSE,x:t.x/window.innerWidth,y:t.y/window.innerHeight,target:e,state:"click",timestamp:new Date})}),M(this,Ce,e=>{D(ye,this).call(this,"change",{type:v.SESSION_EVENT_TYPE_CHANGE,target:e,state:"change",timestamp:new Date})}),M(this,Ae,e=>{D(ye,this).call(this,"input",{type:v.SESSION_EVENT_TYPE_INPUT,target:e,state:"input",timestamp:new Date})}),M(this,Oe,e=>{let t="mouseout";return e.in&&(t=e.down?"mousedown":"mouseup"),D(ye,this).call(this,"mouse",{type:v.SESSION_EVENT_TYPE_MOUSE,x:e.x/window.innerWidth,y:e.y/window.innerHeight,state:t,timestamp:new Date})}),M(this,Ne,()=>(D(z,this).isRunning()||(G("start frames"),D(z,this).start()),this)),G("session context constructed"),this.session=e,this.delegate=t,x(W,this,new o.default(e)),a.WindowTracking.on("activate",D(Ie,this)),window.addEventListener("focus",D(Ie,this),{capture:!0,passive:!0}),window.addEventListener("hashchange",D(we,this),{capture:!0,passive:!0}),a.MouseTracking.onChange=D(Oe,this),a.InteractionTracking.on("click",D(Se,this)),a.InteractionTracking.on("change",D(Ce,this)),a.InteractionTracking.on("input",D(Ae,this)),A.default.on("click",D(Se,this)),A.default.on("change",D(Ce,this)),A.default.on("input",D(Ae,this)),a.HighlightTracking.on("end",D(oe,this)),D(me,this).call(this,e),e.on("updated",D(me,this)),e.on("ended",D(ge,this)),e.on("sync",D(re,this)),e.on("highlight",D(ie,this)),e.on("drawing",D(se,this)),e.on("laser",D(ne,this)),e.on("control",D(ae,this)),e.on("remote-error",D(te,this)),e.once("stream-open",D(X,this)),x(H,this,new w.DocumentCollection({onDocumentAdded:e=>this.delegate.showDocument(e)}));const p=new m.PDFHandler(e,t),N=new g.UniversalHandler(e,t),T=new y.default(e,t);x(Y,this,new E.Navigation({shouldNavigate:D(Z,this),handlers:[p,N,T],handleNavigation:this.handleNavigation})),b.default.on("navigate",D(ee,this)),L.default.on("click",D(q,this)),D(de,this).call(this),D(fe,this).call(this)}}},68325(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_EVENT_TYPE_TOUCH=t.SESSION_EVENT_TYPE_SELECT=t.SESSION_EVENT_TYPE_SCROLL=t.SESSION_EVENT_TYPE_POINTER=t.SESSION_EVENT_TYPE_MOUSE=t.SESSION_EVENT_TYPE_LASER=t.SESSION_EVENT_TYPE_KEYPRESS=t.SESSION_EVENT_TYPE_INPUT=t.SESSION_EVENT_TYPE_HIGHLIGHT=t.SESSION_EVENT_TYPE_FOCUS=t.SESSION_EVENT_TYPE_DRAWING=t.SESSION_EVENT_TYPE_CHANGE=void 0,t.SESSION_EVENT_TYPE_MOUSE="Mouse",t.SESSION_EVENT_TYPE_TOUCH="Touch",t.SESSION_EVENT_TYPE_POINTER="Pointer",t.SESSION_EVENT_TYPE_FOCUS="Focus",t.SESSION_EVENT_TYPE_KEYPRESS="KeyPress",t.SESSION_EVENT_TYPE_SCROLL="Scroll",t.SESSION_EVENT_TYPE_CHANGE="Change",t.SESSION_EVENT_TYPE_INPUT="Input",t.SESSION_EVENT_TYPE_LASER="Laser",t.SESSION_EVENT_TYPE_HIGHLIGHT="Highlight",t.SESSION_EVENT_TYPE_DRAWING="Drawing",t.SESSION_EVENT_TYPE_SELECT="Select"},90324(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(27495),r(25440),r(79978),r(62953),r(55815),r(64979),r(79739);var n=r(42074),i=s(r(56851)),o=s(r(37609));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap;t.default=class{constructor(e){c(this,f,void 0),c(this,h,void 0),c(this,p,void 0),c(this,_,void 0),a(this,"open",()=>{l(f,this).isEnded()||(l(E,this).call(this),l(m,this).call(this))}),a(this,"close",()=>{window.removeEventListener("visibilitychange",this.onVisibilityChange),l(_,this)&&(clearInterval(l(_,this)),u(_,this,null)),l(f,this)&&(l(f,this).removeListener("updated",this.open),u(f,this,null)),l(p,this)&&(l(p,this).close(),u(p,this,null)),l(h,this)&&(l(h,this).close(),u(h,this,null))}),c(this,v,(e,t)=>{const r=new n.CBORSocket({getUrl:()=>(0,i.default)(e),getProtocols:()=>["cbio.http.headers.authorization.bearer.".concat(window.btoa(l(f,this).field(t)).replaceAll("=",""))]});return r.on("error",e=>{console.warn("CobrowseIO session socket error:",e)}),r}),c(this,E,()=>{const e=l(f,this).field("control_url"),t=l(f,this).field("control_token");e&&t&&!l(h,this)&&(u(h,this,l(v,this).call(this,e,"control_token")),l(h,this).on("open",()=>{l(h,this).send("filter",{events:["session"]}),l(f,this).fetch().catch(e=>{console.warn("CobrowseIO failed fetching session state",e)})}),l(h,this).on("event",(e,t)=>{"session"===e&&l(f,this).updateResource(t)}))}),c(this,m,()=>{const e=l(f,this).field("stream_url"),t=l(f,this).field("stream_token");if(e&&t&&!l(p,this)){u(p,this,l(v,this).call(this,e,"stream_token")),u(_,this,setInterval(()=>{const e=Math.round(l(p,this).metrics.latency());l(f,this)[o.default].setMetrics({latency:e})},1e3));const t=["highlight","drawing","laser","url"],r=["touch","mouse","pointer","keypress","scroll","focus","input","change","select"];l(p,this).on("event",(e,n)=>{"sync"===e&&l(f,this).emit("sync",n),"remote-error"===e&&l(f,this).emit("remote-error",n),"client"===e?l(f,this).emit("client",n):"probe"===e?l(p,this).send("alive",n):t.includes(e)?l(f,this).emit(e,n):r.includes(e)&&l(f,this).emit("control",e,n),l(f,this)[o.default].setMetrics({last_alive:new Date})}),l(p,this).on("open",()=>{l(p,this).send("filter",{events:[...r,...t,"sync","probe","remote-error","client","sdp","icecandidate"]}),l(f,this).emit("stream-open")})}}),u(f,this,e),e.on("updated",this.open),e[o.default].setMetrics({last_alive:null,latency:null}),this.open()}get stream(){return l(p,this)}}},73531(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionStorage=void 0,r(16280),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n,i=r(51312),o=r(99070),s=r(62475);function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t){return e.get(u(e,t))}function l(e,t,r){return e.set(u(e,t),r),r}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const d=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.sessionStorage");var f=new WeakMap,h=new WeakMap,p=new WeakMap;class _{static create(e){const t=new i.LocalSessionStorage,r=new o.ForwardingSessionStorage,n=new s.CookieSessionStorage;return new _(e,{load:[r,n,t],store:[t,n,r]})}constructor(e,t){let{load:r=[],store:n=[]}=t;a(this,f,void 0),a(this,h,void 0),a(this,p,void 0),l(p,this,e),l(f,this,r),l(h,this,n)}peek(){d("peeking session");for(const e of c(f,this)){if(!e.isSupported(c(p,this)))continue;const t=e.load(c(p,this));if(t)return t}return null}async load(){d("loading session");for(const e of c(f,this)){if(!e.isSupported(c(p,this)))continue;const t=e.load(c(p,this)),r=await(null==t?void 0:t.fetch());if(r){if(r.isActive())return r;await e.store(c(p,this),null)}}return null}async store(e){d("storing session");for(const t of c(h,this))if(t.isSupported(c(p,this)))try{await t.store(c(p,this),e)}catch(e){console.error("Unexpected error storing session: ".concat(t.constructor.name),e)}}reset(){const e=new Set([...c(f,this),...c(h,this)]);for(const t of e)t.reset(c(p,this))}}t.SessionStorage=_},72176(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Session",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"SessionCapabilities",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"SessionContext",{enumerable:!0,get:function(){return i.default}});var n=s(r(52404)),i=s(r(30729)),o=s(r(60086));function s(e){return e&&e.__esModule?e:{default:e}}},43443(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActiveSessionPath=void 0,t.ActiveSessionPath="_cobrowse_active_session"},62475(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.CookieSessionStorage=void 0,t.resolveShortestTrustedHostname=p,r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(42074),i=c(r(2733)),o=c(r(37609)),s=c(r(52404)),a=r(43443);function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=(0,c(r(51227)).default)("cbio.sessionStorage.CookieSessionStorage");function h(e,t,r){return r?"".concat(e,"//").concat(t,":").concat(r):"".concat(e,"//").concat(t)}function p(e,t){const r=function(e){try{return new URL(e)}catch(e){return null}}(e);if(!r)return null;const{hostname:i,protocol:o,port:s}=r,a=(0,n.createPatternMatcher)(t),c=i.split(".");for(let e=c.length-1;e>=0;e--){const t=c.slice(e).join("."),r=h(o,t,s),n=h(o,".".concat(t),s);if(a(r)&&a(n))return t}return null}t.CookieSessionStorage=class{isSupported(e){if(!e.trustedOrigins.length)return f("isSupported?",!1,"no trusted origins"),!1;const t=p(window.location.href,e.trustedOrigins);return f("isSupported?",!!t,"domain",t),!!t}load(e){const t=i.default.get(a.ActiveSessionPath,{path:"/"});return t?(f("loading session from cookie"),new s.default(e)[o.default].decompress(t)):(f("no session to load from cookies"),null)}store(e,t){if(!this.isSupported(e))return;const r={path:"/",domain:p(window.location.href,e.trustedOrigins),secure:!0,sameSite:"strict"};null!=t&&t.isActive()?(f("storing active session to cookies"),i.default.set(a.ActiveSessionPath,t[o.default].compress(),u(u({},r),{},{expires:1}))):(f("removing inactive session from cookies"),i.default.remove(a.ActiveSessionPath,r))}reset(e){this.store(e,null)}}},99070(e,t,r){"use strict";r(16280),Object.defineProperty(t,"__esModule",{value:!0}),t.ForwardingSessionStorage=void 0,t.extractActiveSession=f,t.rewriteUrlIfNecessary=function(e,t){let{window:r=window}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{const n=new URL(e);return n.origin===r.location.origin?(u("not rewriting url because we are not changing origin",n.toString()),e):(n.searchParams.set(o.ActiveSessionPath,t),u("rewriting trusted url for an active session",{from:e,to:n.toString()}),"string"==typeof e?n.toString():n)}catch(t){return u("failed rewriting url",t),e}},r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=s(r(37609)),i=s(r(52404)),o=r(43443);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const u=(0,s(r(51227)).default)("cbio.sessionStorage.ForwardingSessionStorage"),d=f();function f(){let{window:e=window}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{const t=new URL(e.location.href),r=t.searchParams.get(o.ActiveSessionPath);return r?(u("found forwarded session that can be loaded",r),t.searchParams.delete(o.ActiveSessionPath),e.history.replaceState({},"",t)):u("no forwarded session to load",t),r}catch(e){console.warn("Failed to attempt to extract forwarded session",e)}}var h=new WeakMap;t.ForwardingSessionStorage=class{constructor(){let{activeSessionData:e=d}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t,r,n;n=void 0,function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t=this,r=h),r.set(t,n),c(h,this,e)}isSupported(e){const t=!!e.trustedOrigins.length;return u("isSupported?",t),t}load(e){try{if(a(h,this))return u("loading session",a(h,this)),new i.default(e)[n.default].decompress(a(h,this));u("no session to load")}catch(e){u("failed to load forwarded session",e)}return null}store(e,t){t||c(h,this,null)}reset(e){c(h,this,null)}}},51312(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocalSessionStorage=void 0,r(16280),r(62953);var n=a(r(37609)),i=a(r(86542)),o=a(r(52404)),s=r(43443);function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return e.get(function(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}(e,t))}const l=(0,a(r(51227)).default)("cbio.sessionStorage.LocalSessionStorage");var u=new WeakMap;t.LocalSessionStorage=class{constructor(){var e,t,r;e=this,t=u,r=(0,i.default)(),function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,r)}isSupported(e){return l("isSupported?",!0),!0}load(e){const t=c(u,this).getItem(s.ActiveSessionPath);return t?(l("loading session"),new o.default(e)[n.default].deserialize(t)):(l("no session to load"),null)}store(e,t){null!=t&&t.isActive()?(l("storing active session"),c(u,this).setItem(s.ActiveSessionPath,t[n.default].serialize())):(l("removing inactive session"),c(u,this).removeItem(s.ActiveSessionPath))}reset(e){c(u,this).removeItem(s.ActiveSessionPath)}}},6900(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=r(42074),o=r(44661),s=r(49715),a=r(99070),c=(n=r(37609))&&n.__esModule?n:{default:n};function l(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function u(e,t){return e.get(f(e,t))}function d(e,t,r){return e.set(f(e,t),r),r}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,p=new WeakMap;class _ extends s.NavigationHandler{constructor(e,t){super(),l(this,h,void 0),l(this,p,void 0),d(h,this,(0,i.createPatternMatcher)(t.trustedOrigins)),d(p,this,()=>e[c.default].compress())}get type(){return o.NAVIGATION_TYPE.XDOC}shouldHandleEvent(e){return!0}shouldHandle(e){const t=new URL(e,window.location.origin);return u(h,this).call(this,t.origin)}handle(e){const t=u(p,this).call(this);return{rewrittenUrl:(0,a.rewriteUrlIfNecessary)(e,t)}}}t.default=_},86542(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(16667))&&n.__esModule?n:{default:n}},16667(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{setItem(t,r){a();const n=JSON.stringify({value:r,group:e});s()?window.localStorage.setItem(t,n):i.default.set(t,n),o[t]=n},getItem(t){try{let r;r=s()?window.localStorage&&window.localStorage.getItem(t):i.default.get(t),r||(r=o[t]);const{value:n,group:a}=JSON.parse(r);return e&&e!==a?null:n}catch(e){return null}},removeItem(e){s()&&window.localStorage.removeItem(e),i.default.remove(e),o[e]=void 0}}},r(33110),r(58335);var n,i=(n=r(2733))&&n.__esModule?n:{default:n};const o={};function s(){try{const e="_cobrowse_test_item";return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}function a(){s()||a.done||(a.done=!0,console.warn("Warning: localStorage is not supported. Cobrowse falling back to cookie or in-memory storage and may not function as expected."))}},63024(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(54743),r(11745),r(16573),r(78100),r(77936),r(18111),r(7588),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623),r(55815),r(64979),r(79739);var n=r(45264);function i(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=new class{constructor(){i(this,"el",()=>(this._el||(this._el=document.createElement("img"),this._el.className="cbio_session_overlay",this._el.style.pointerEvents="none",this._el.style.visibility="visible",this._el.style.width="10vw",this._el.style.height="100vh",this._el.style.position="fixed",this._el.style.zIndex="2147483647",this._el.style.display="none",this._el.style.top="0",this._el.style.left="0"),this._el)),i(this,"_arrayBufferToBase64",e=>{let t="";const r=new Uint8Array(e),n=r.byteLength;for(let e=0;e<n;e+=1)t+=String.fromCharCode(r[e]);return window.btoa(t)}),i(this,"remove",function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;e.style.transition="opacity ".concat(t,"ms ease-in-out"),e.style.opacity=1,e.addEventListener("transitionend",function(){e.remove()}),e.style.opacity=0}),i(this,"update",e=>{if(n.WindowTracking.isActive())if(e.image){const t=this.el().cloneNode(),r="data:".concat(e.mime_type,";base64,").concat(this._arrayBufferToBase64(e.image)),{id:n="cb_io_drawing"}=e;t.style.left="".concat(100*e.x,"%"),t.style.top="".concat(100*e.y,"%"),t.style.height="".concat(100*e.height,"%"),t.style.width="".concat(100*e.width,"%"),t.style.display="block",t.src=r,t.id=n,t.dataset.agent=e.agent,t.decode().then(()=>{const r=document.getElementById(n);r?r.replaceWith(t):document.body.appendChild(t),null!=e.disappears_in&&setTimeout(()=>{this.remove(t,e.fade_duration)},e.disappears_in)}).catch(e=>{console.error(e)})}else this.hide(e.agent)}),i(this,"hide",e=>{(null!=e?document.querySelectorAll('.cbio_session_overlay[data-agent="'.concat(e,'"]')):document.querySelectorAll(".cbio_session_overlay")).forEach(function(e){e.remove()})})}}},94871(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(62953);var n=r(45994),i=r(22292),o=l(r(77988)),s=r(12996),a=l(r(53484)),c=r(10201);function l(e){return e&&e.__esModule?e:{default:e}}t.default=e=>{let{call:t,mediaSettings:r,showSettingsDialog:l}=e;const[u,d]=(0,n.useState)(r.settings.audioEnabled),[f,h]=(0,n.useState)(r.settings.videoEnabled);return(0,n.useEffect)(()=>{r.on("updated",e=>{let{settings:t}=e;d(t.audioEnabled),h(t.videoEnabled)})},[r]),(0,c.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,c.jsxs)("div",{className:a.default.container,children:[(0,c.jsxs)("div",{className:a.default.toggleContainer,children:[(0,c.jsx)(s.IconButton,{className:(0,i.clsx)(a.default.toggle,u?a.default.toggleOn:a.default.toggleOff),ariaLabel:u?o.default.tr("CALLING_DISABLE_AUDIO"):o.default.tr("CALLING_ENABLE_AUDIO"),onClick:()=>r.toggleAudio(),children:(0,c.jsx)(s.Icon,{name:u?"Microphone":"MicrophoneOff",className:a.default.icon})}),(0,c.jsx)(s.IconButton,{className:(0,i.clsx)(a.default.toggle,f?a.default.toggleOn:a.default.toggleOff),ariaLabel:f?o.default.tr("CALLING_DISABLE_VIDEO"):o.default.tr("CALLING_ENABLE_VIDEO"),onClick:()=>r.toggleVideo(),children:(0,c.jsx)(s.Icon,{name:f?"Video":"VideoOff",className:a.default.icon})}),(0,c.jsx)(s.IconButton,{className:(0,i.clsx)(a.default.toggle,a.default.toggleOn),ariaLabel:o.default.tr("CALLING_SHOW_CALL_SETTINGS"),onClick:()=>l(),children:(0,c.jsx)(s.Icon,{name:"DotsVertical",className:a.default.icon})})]}),(0,c.jsx)(s.IconButton,{className:a.default.end,ariaLabel:o.default.tr("CALLING_END"),onClick:()=>t.end(),children:(0,c.jsx)(s.Icon,{name:"Phone",className:a.default.icon})})]})})}},83031(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(89463),r(62953);var n=u(r(77988)),i=r(12996),o=u(r(90958)),s=u(r(94037)),a=r(11771),c=r(89103),l=r(10201);function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function p(e,t){return e.get(v(e,t))}function _(e,t,r){return e.set(v(e,t),r),r}function v(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const E="primary",m="secondary",g=e=>{let{title:t,description:r,primaryTitle:n,onPrimaryClick:a,secondaryTitle:c,onSecondaryClick:u,isDisabled:d,settings:f,handlePreviewSettingsChange:h}=e;return(0,l.jsxs)(i.Modal,{className:o.default.content,"aria-labelledby":"title","aria-describedby":"description",children:[(0,l.jsxs)("header",{className:o.default.header,children:[(0,l.jsx)("section",{className:o.default.media,children:(0,l.jsx)(s.default,{initialSettings:f,onSettingsChange:h})}),t?(0,l.jsx)("h2",{id:"title",className:o.default.title,children:t}):null]}),r?(0,l.jsx)("div",{className:o.default.body,children:(0,l.jsx)("p",{id:"description",className:o.default.description,children:r})}):null,(0,l.jsxs)("footer",{className:o.default.buttonContainer,children:[(0,l.jsx)(i.Button,{variant:"secondary",onClick:u,children:c}),(0,l.jsx)(i.Button,{variant:"primary",onClick:a,disabled:d,children:n})]})]})};var y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap;t.default=class{constructor(e){let{call:t,mediaSettings:r}=e;h(this,y,void 0),h(this,I,void 0),h(this,w,void 0),h(this,b,null),f(this,"show",e=>{_(w,this,p(I,this).settings);const t=e=>{_(w,this,e)};return new Promise(r=>{p(S,this).call(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({onPrimaryClick:()=>r({action:E,settings:p(w,this)}),onSecondaryClick:()=>r({action:m,settings:p(w,this)}),settings:p(I,this).settings,handlePreviewSettingsChange:t},e))})}),f(this,"hide",()=>{_(w,this,null),p(C,this).call(this)}),h(this,L,async e=>{let{state:t,caller:r,hasJoined:i}=e;const o=!r;if(t===a.CALL_STATES.REQUESTED&&!o){const{action:e}=await this.show({title:n.default.tr("CALLING_REQUEST"),description:n.default.tr("CALLING_JOIN_PROMPT"),primaryTitle:n.default.tr("CALLING_ACCEPT"),secondaryTitle:n.default.tr("CALLING_REJECT")});return e===E?(p(I,this).update(p(w,this)),p(y,this).answer()):p(y,this).reject(),void this.hide()}if(t===a.CALL_STATES.REQUESTED&&o&&!i){const{action:e}=await this.show({title:null,description:null,primaryTitle:n.default.tr("CALLING_JOIN"),secondaryTitle:n.default.tr("CALLING_CANCEL")});return void(e===E?(p(I,this).update(p(w,this)),p(y,this).request()):(p(y,this).end(),this.hide()))}if(t===a.CALL_STATES.REQUESTED&&o&&i){const{action:e}=await this.show({title:n.default.tr("CALLING_IN_PROGRESS"),description:n.default.tr("CALLING_AGENT_WAITING"),primaryTitle:n.default.tr("CALLING_JOIN"),secondaryTitle:n.default.tr("CALLING_CANCEL"),isDisabled:!0});return e===m&&p(y,this).end(),void this.hide()}if(t===a.CALL_STATES.REJECTED&&o){const{action:e}=await this.show({title:n.default.tr("CALLING_IN_PROGRESS"),description:n.default.tr("CALLING_AGENT_DECLINED"),primaryTitle:n.default.tr("CALLING_BACK"),secondaryTitle:n.default.tr("CALLING_RETRY")});return void(e===E?(p(y,this).end(),this.hide()):(p(I,this).update(p(w,this)),p(y,this).request()))}if(t===a.CALL_STATES.ON&&!i){const{action:e}=await this.show({title:null,description:null,primaryTitle:n.default.tr("CALLING_JOIN"),secondaryTitle:n.default.tr("CALLING_CANCEL")});return e===E?(p(I,this).update(p(w,this)),p(y,this).answer()):o&&p(y,this).end(),void this.hide()}t===a.CALL_STATES.ON&&p(w,this)&&p(I,this).update(p(w,this)),this.hide()}),h(this,S,e=>{p(b,this)?p(b,this).rerender(e):_(b,this,(0,c.mountComponent)(g,e,{hideFromAgent:!0}))}),h(this,C,()=>{var e;null===(e=p(b,this))||void 0===e||e.unmount(),_(b,this,null)}),f(this,"destroy",()=>{p(y,this).off("updated",p(L,this)),p(C,this).call(this)}),_(y,this,t),_(I,this,r),p(y,this).on("updated",p(L,this)),p(L,this).call(this,p(y,this))}}},24189(e,t,r){"use strict";r(16280),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(26910),r(18111),r(61701),r(62953);var n=r(45994),i=r(22292),o=p(r(77988)),s=r(12996),a=r(94909),c=p(r(86542)),l=p(r(90396)),u=r(11771),d=r(89103),f=p(r(94871)),h=r(10201);function p(e){return e&&e.__esModule?e:{default:e}}function _(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function v(e,t){return e.get(m(e,t))}function E(e,t,r){return e.set(m(e,t),r),r}function m(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const g="_cobrowse_participants_position",y=e=>(0,c.default)().setItem(g,e),I=e=>{let{call:t,mediaSettings:r,showSettingsDialog:i}=e;const[o,a]=(0,n.useState)(t.participants),[u,d]=(0,n.useState)(r.settings.audioOutputDeviceId);(0,n.useEffect)(()=>{const e=e=>{let{settings:t}=e;d(t.audioOutputDeviceId)};return r.on("updated",e),()=>{r.off("updated",e)}},[r]),(0,n.useEffect)(()=>{const e=e=>{a(e)};return t.on("participants.updated",e),()=>{t.off("participants.updated",e)}},[t]);const p=(0,n.useMemo)(()=>[...o].sort((e,t)=>{const r=!e.agentId,n=!t.agentId;return r&&!n?-1:!r&&n?1:0}),[o]);return(0,h.jsx)(s.Draggable,{style:{zIndex:"2147483646"},corner:(0,c.default)().getItem(g)||"top-right",onCornerChange:y,footer:(0,h.jsx)("div",{className:l.default.callControlsContainer,children:(0,h.jsx)(f.default,{call:t,mediaSettings:r,showSettingsDialog:i})}),children:(0,h.jsx)("div",{className:l.default.container,children:p.map(e=>(0,h.jsx)(w,{participant:e,audioOutputDeviceId:u},e.id))})})},w=e=>{let{participant:t,audioOutputDeviceId:r}=e;const c=(0,n.useRef)(null),[u,d]=(0,n.useState)(t.hasVideo),[f,p]=(0,n.useState)(t.hasAudio),_=(0,a.useSpeaking)(t),v=!t.agentId;return(0,n.useEffect)(()=>{const e=()=>{const{hasVideo:e,hasAudio:r}=t;d(e),p(r)};return t.on("track.added",e),t.on("track.removed",e),e(),()=>{t.off("track.added",e),t.off("track.removed",e)}},[t]),(0,n.useEffect)(()=>{c.current.srcObject=t.stream},[t]),(0,n.useEffect)(()=>{c.current&&f&&r&&c.current.setSinkId(r)},[r,f]),(0,h.jsxs)("div",{className:(0,i.clsx)(l.default.participantContainer,_&&l.default.participantSpeaking),children:[(0,h.jsxs)("div",{className:l.default.videoContainer,children:[(0,h.jsx)("video",{className:l.default.video,ref:c,autoPlay:!0,playsInline:!0,muted:v}),u?null:(0,h.jsxs)("div",{className:l.default.videoOverlay,children:[(0,h.jsx)("span",{className:"cbio-sr-only",children:o.default.tr("CALLING_CAMERA_OFF")}),(0,h.jsx)(s.Icon,{name:"VideoOff",className:l.default.videoOverlayIcon})]})]}),(0,h.jsxs)("div",{className:l.default.statusContainer,children:[(0,h.jsx)(s.Icon,{className:l.default.statusIcon,name:f?"Microphone":"MicrophoneOff"}),(0,h.jsx)("span",{className:l.default.statusTitle,children:v?o.default.tr("CALLING_LOCAL_PARTICIPANT_DESCRIPTION"):o.default.tr("CALLING_REMOTE_PARTICIPANT_DESCRIPTION")})]})]})};var b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap;t.default=class{constructor(e){let{call:t,mediaSettings:r,showSettingsDialog:n}=e;var i,o,s;_(this,b,void 0),_(this,L,void 0),_(this,S,void 0),_(this,C,null),_(this,A,e=>{let{state:t,hasJoined:r}=e;t===u.CALL_STATES.ON&&r&&v(O,this).call(this),t===u.CALL_STATES.OFF&&v(N,this).call(this)}),_(this,O,()=>{if(v(C,this))return;const e={call:v(b,this),mediaSettings:v(L,this),showSettingsDialog:v(S,this)};E(C,this,(0,d.mountComponent)(I,e,{hideFromAgent:!0}))}),_(this,N,()=>{var e;null===(e=v(C,this))||void 0===e||e.unmount(),E(C,this,null)}),i=this,s=()=>{v(N,this).call(this)},(o=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(o="destroy"))in i?Object.defineProperty(i,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[o]=s,E(b,this,t),E(L,this,r),E(S,this,n),v(b,this).on("updated",v(A,this)),v(A,this).call(this,v(b,this))}}},65573(e,t,r){"use strict";r(16280),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(89463),r(62953);var n=c(r(77988)),i=r(89103),o=r(12996),s=c(r(91398)),a=r(10201);function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t,r){return e.set(f(e,t),r),r}function d(e,t){return e.get(f(e,t))}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const h=e=>{let{title:t,description:r,onDeny:i,onAllow:c}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(o.Modal,{className:s.default.content,"aria-labelledby":"title","aria-describedby":"description",children:[(0,a.jsx)("header",{children:(0,a.jsx)("h2",{id:"title",className:s.default.title,children:t})}),(0,a.jsx)("div",{className:s.default.body,children:(0,a.jsx)("p",{id:"description",className:s.default.description,children:r})}),(0,a.jsxs)("footer",{className:s.default.buttons,children:[(0,a.jsx)(o.Button,{variant:"secondary",onClick:i,children:n.default.tr("DENY")}),(0,a.jsx)(o.Button,{variant:"primary",onClick:c,children:n.default.tr("ALLOW")})]})]})})};var p=new WeakMap;t.default=class{constructor(){var e,t,r;r=void 0,function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e=this,t=p),t.set(e,r),l(this,"show",async(e,t)=>{var r;return null===(r=d(p,this))||void 0===r||r.unmount(),new Promise(r=>{const n={title:e,description:t,onDeny:e=>{e.isTrusted&&(r(!1),this.hide())},onAllow:e=>{e.isTrusted&&(r(!0),this.hide())}};u(p,this,(0,i.mountComponent)(h,n,{hideFromAgent:!0}))})}),l(this,"hide",()=>{var e;null===(e=d(p,this))||void 0===e||e.unmount(),u(p,this,null)})}}},76575(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=a(r(51227)),i=a(r(96438)),o=a(r(27527)),s=a(r(34822));function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function u(e,t,r){return e.set(f(e,t),r),r}function d(e,t){return e.get(f(e,t))}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const h=(0,n.default)("cbio.Highlight");var p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap;t.default=new class{constructor(){l(this,p,void 0),c(this,"highlight",async(e,t)=>{var r;const n=s.default.getById(t.target.id);if(!n)return!1;const i=this.getNonEmpyElement(n);if(!i)return!1;const o=(null!==(r=e.highlightElement)&&void 0!==r?r:d(_,this))(i,t.title);return e.emit("highlight.updated",{target:i,visible:!0}),await o,e.emit("highlight.updated",{target:i,visible:!1}),!0}),c(this,"hide",()=>{var e;h("hide","resolve?=".concat(!!d(p,this))),d(g,this).call(this),d(E,this).call(this),null===(e=d(p,this))||void 0===e||e.call(this),u(p,this,void 0)}),l(this,_,(e,t)=>new Promise(r=>{h("update",e,t),u(p,this,r),d(v,this).call(this,e,t),d(m,this).call(this)})),l(this,v,(e,t)=>{i.default.update(e),o.default.update(e,t)}),l(this,E,()=>{o.default.hide(),i.default.hide()}),l(this,m,()=>{d(g,this).call(this),document.addEventListener("click",d(y,this),{capture:!0})}),l(this,g,()=>{document.removeEventListener("click",d(y,this),!0)}),l(this,y,e=>{e.isTrusted&&this.hide()})}getNonEmpyElement(e){let t=e;for(;t;){const e=t.getBoundingClientRect();if(e.width>0&&e.height>0)return t;h("element is zero-width/height, trying parent",t),t=t.parentElement}}}},86162(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280);var n=r(42777),i=r(45264),o=r(2630);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c="#e94435";class l{constructor(){a(this,"el",()=>(this._el||(this._el=document.createElement("div"),this._el.className="cbio_session_overlay",Object.assign(this._el.style,{position:"fixed",zIndex:"2147483647",width:"8px",height:"8px",background:c,marginLeft:"-4px",marginTop:"-4px",borderRadius:"50%",border:"border: 1px solid white",pointerEvents:"none"})),this._el)),a(this,"hasChangedPosition",()=>null!=this.previousPosition&&(Math.abs(this.previousPosition.x-this.currentPosition.x)>1||Math.abs(this.previousPosition.y-this.currentPosition.y)>1)),a(this,"startAnimation",e=>{this._intervalId||(this._intervalId=setInterval(()=>this._createRipple(e),this.rippleInterval),this._createRipple(e))}),a(this,"stopAnimation",()=>{this._intervalId&&clearInterval(this._intervalId),this._el&&this._el.replaceChildren(),this.resetState()}),a(this,"update",e=>{i.WindowTracking.isActive()&&(document.body&&!this.el().parentNode&&document.body.appendChild(this.el()),"touchend"===e.state?this.hide():null!=e.x&&null!=e.y&&(this.currentPosition.x=100*e.x,this.currentPosition.y=100*e.y,this.el().style.background=e.colour,this.el().style.left="".concat(this.currentPosition.x,"%"),this.el().style.top="".concat(this.currentPosition.y,"%"),this.startAnimation(e.colour)))}),a(this,"hide",()=>{var e;null===(e=this._el)||void 0===e||null===(e=e.parentNode)||void 0===e||e.removeChild(this._el),this.stopAnimation()}),this.rippleDuration=3e3,this.rippleInterval=750,this._el=null,this.resetState()}resetState(){this._intervalId=null,this.currentPosition={x:0,y:0},this.previousPosition=null,this.resetRippleScale()}resetRippleScale(){this.rippleScale=16}_createRipple(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;this.hasChangedPosition()?this.rippleScale=6:this.rippleScale=Math.min(this.rippleScale+5,16),this.previousPosition=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},this.currentPosition);const t=(0,n.createRipple)(e,this.rippleDuration,this.rippleScale);this.el().appendChild(t)}}class u extends o.MultiAgentManager{constructor(){super(l)}update(e){this.getInstanceForAgent(e.agent).update(e)}}t.default=new u},94037(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(18111),r(22489),r(7588),r(61701),r(13579),r(9391),r(62953);var n=r(45994),i=r(22292),o=p(r(77988)),s=r(12996),a=r(93646),c=r(24364),l=p(r(49020)),u=p(r(9978)),d=p(r(64053)),f=p(r(97294)),h=r(10201);function p(e){return e&&e.__esModule?e:{default:e}}const _="default",v=(e,t)=>e.some(e=>e.deviceId===t),E=e=>{let{audioEnabled:t,toggleAudio:r,videoEnabled:n,toggleVideo:a,disabled:c}=e;return(0,h.jsxs)("div",{className:f.default.voiceVideoControls,children:[(0,h.jsx)(s.IconButton,{onClick:r,ariaLabel:t?o.default.tr("CALLING_DISABLE_AUDIO"):o.default.tr("CALLING_ENABLE_AUDIO"),className:(0,i.clsx)(f.default.voiceVideoControlsToggle,t?f.default.voiceVideoControlsToggleOn:f.default.voiceVideoControlsToggleOff),disabled:c,children:(0,h.jsx)(s.Icon,{className:f.default.voiceVideoControlsIcon,name:t?"Microphone":"MicrophoneOff"})}),(0,h.jsx)(s.IconButton,{onClick:a,ariaLabel:n?o.default.tr("CALLING_DISABLE_VIDEO"):o.default.tr("CALLING_ENABLE_VIDEO"),className:(0,i.clsx)(f.default.voiceVideoControlsToggle,n?f.default.voiceVideoControlsToggleOn:f.default.voiceVideoControlsToggleOff),disabled:c,style:{marginLeft:"-4px"},children:(0,h.jsx)(s.Icon,{className:f.default.voiceVideoControlsIcon,name:n?"Video":"VideoOff"})})]})};t.default=e=>{let{initialSettings:t,onSettingsChange:r,disabled:p}=e;const m=(0,n.useRef)(null),g=(0,n.useRef)(new MediaStream),{audioInputDevices:y,audioOutputDevices:I,videoInputDevices:w,audioPermission:b,videoPermission:L,updateDeviceLists:S,updatePermissions:C}=(0,c.useMediaDevices)(),[A,O]=(0,n.useState)(!1),[N,T]=(0,n.useState)(t.videoEnabled),[P,R]=(0,n.useState)(t.videoInputDeviceId),[M,k]=(0,n.useState)(t.audioEnabled),[D,x]=(0,n.useState)(t.audioInputDeviceId),[j,G]=(0,n.useState)(t.audioOutputDeviceId);(0,n.useEffect)(()=>{null==r||r({videoEnabled:N,videoInputDeviceId:P,audioEnabled:M,audioInputDeviceId:D,audioOutputDeviceId:j})},[r,N,P,M,D,j]);const U=(0,n.useCallback)(e=>{g.current.getTracks().filter(t=>t.kind===e).forEach(e=>{e.stop(),g.current.removeTrack(e)})},[]);(0,n.useEffect)(()=>{m.current&&(m.current.srcObject=g.current)},[]),(0,n.useEffect)(()=>{if(!v(y,D))return v(y,_)?x(_):void(y.length&&x(y[0].deviceId))},[y,D]),(0,n.useEffect)(()=>{if(!v(I,j))return v(I,_)?G(_):void(I.length&&G(I[0].deviceId))},[I,j]),(0,n.useEffect)(()=>{if(!v(w,P))return v(w,_)?R(_):void(w.length&&R(w[0].deviceId))},[w,P]),(0,n.useEffect)(()=>{if(!N)return;if(!navigator.mediaDevices)return console.warn("CobrowseIO: Failed to start video, mediaDevices is not available"),void T(!1);O(!0);const e=(0,a.createVideoConstraints)({videoEnabled:N,videoInputDeviceId:P});return navigator.mediaDevices.getUserMedia(e).then(e=>{e.getTracks().forEach(e=>g.current.addTrack(e)),S()}).catch(e=>{console.warn("CobrowseIO: Failed to get video",e),L.prompt&&T(!1)}).finally(()=>{C(),O(!1)}),()=>U("video")},[S,C,L,N,P,U]),(0,n.useEffect)(()=>{if(!M)return;if(!navigator.mediaDevices)return console.warn("CobrowseIO: Failed to start audio, mediaDevices is not available"),void k(!1);const e=(0,a.createAudioConstraints)({audioEnabled:M,audioInputDeviceId:D});return navigator.mediaDevices.getUserMedia(e).then(e=>{e.getTracks().forEach(e=>g.current.addTrack(e)),S()}).catch(e=>{console.warn("CobrowseIO: Failed to get audio",e),b.prompt&&k(!1)}).finally(()=>{C()}),()=>U("audio")},[S,C,b,M,D,U]);const W=(e,t)=>(0,h.jsx)("div",{className:(0,i.clsx)(f.default.videoOverlay,t?f.default.videoOverlayTransparent:f.default.videoOverlaySolid),children:(0,h.jsx)("p",{className:f.default.videoOverlayText,children:e})}),V=(e,t)=>e?t.length?t.map(e=>(0,h.jsx)(s.SelectOption,{value:e.deviceId,children:e.label},e.deviceId)):(0,h.jsx)(s.SelectOption,{value:"",disabled:!0,selected:!0,children:o.default.tr("CALLING_NO_DEVICES")}):(0,h.jsx)(s.SelectOption,{value:"",disabled:!0,selected:!0,children:o.default.tr("CALLING_PERMISSION_NEEDED")});return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:f.default.previewContainer,children:[(0,h.jsxs)("div",{className:f.default.videoContainer,children:[(0,h.jsx)("video",{ref:m,className:f.default.video,autoPlay:!0,playsInline:!0,muted:!0}),(()=>{const e=N&&L.granted;if(M){if(b.denied)return W(o.default.tr("CALLING_MICROPHONE_PERMISSION_DENIED"),e);if(b.prompt)return W(o.default.tr("CALLING_MICROPHONE_PERMISSION_PROMPT"),e)}return N?L.denied?W(o.default.tr("CALLING_CAMERA_PERMISSION_DENIED"),e):L.prompt?W(o.default.tr("CALLING_CAMERA_PERMISSION_PROMPT"),e):A?W(o.default.tr("CALLING_CAMERA_STARTING"),e):null:W(o.default.tr("CALLING_CAMERA_OFF"),e)})()]}),(0,h.jsx)(E,{audioEnabled:M,toggleAudio:()=>k(e=>!e),videoEnabled:N,toggleVideo:()=>T(e=>!e),disabled:p})]}),(0,h.jsxs)("div",{className:f.default.deviceContainer,children:[(0,h.jsx)(s.Select,{iconUrl:l.default,ariaLabel:o.default.tr("CALLING_SELECT_MICROPHONE"),value:b.granted&&y.length?D:"",onChange:e=>x(e.target.value),disabled:p||!b.granted||!y.length,children:V(b.granted,y)}),(0,h.jsx)(s.Select,{iconUrl:u.default,ariaLabel:o.default.tr("CALLING_SELECT_SPEAKER"),value:b.granted&&I.length?j:"",onChange:e=>G(e.target.value),disabled:p||!b.granted||!I.length,children:V(b.granted,I)}),(0,h.jsx)(s.Select,{iconUrl:d.default,ariaLabel:o.default.tr("CALLING_SELECT_CAMERA"),value:L.granted&&w.length?P:"",onChange:e=>R(e.target.value),disabled:p||!L.granted||!w.length,children:V(L.granted,w)})]})]})}},2630(e,t,r){"use strict";function n(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function i(e,t){return e.get(o(e,t))}function o(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.MultiAgentManager=void 0,r(16280),r(18111),r(7588),r(62953);var s=new WeakMap,a=new WeakMap;t.MultiAgentManager=class{constructor(e){var t,r;n(this,s,new Map),n(this,a,null),r=e,(t=a).set(o(t,this),r)}getInstanceForAgent(e){return i(s,this).has(e)||i(s,this).set(e,new(i(a,this))),i(s,this).get(e)}hide(){i(s,this).forEach((e,t)=>{e.hide(),i(s,this).delete(t)})}}},51112(e,t,r){"use strict";r(16280),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(44114),r(18111),r(61701),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n,i=r(45994),o=r(20949),s=r(22292),a=r(79883),c=r(89103),l=(n=r(35161))&&n.__esModule?n:{default:n},u=r(10201);function d(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function f(e,t){return e.get(p(e,t))}function h(e,t,r){return e.set(p(e,t),r),r}function p(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const _=e=>{let{target:t,items:r,initialHighlightedIndex:n,onSelect:a,onClose:c}=e;const d=(0,i.useRef)(null),f=(0,i.useRef)([]),h=(0,i.useRef)(!1),p=(0,i.useRef)(!1),[_,v]=(0,i.useState)(n);(0,i.useEffect)(()=>(0,o.autoUpdate)(t,d.current,((e,t)=>{let r=!1,n=!1;return()=>{(0,o.computePosition)(e,t,{placement:"bottom-start",strategy:"fixed",middleware:[(0,o.flip)(),(0,o.size)({apply(){n&&Object.assign(t.style,{width:"".concat(e.offsetWidth,"px"),maxWidth:"800px"})}})]}).then(i=>{let{x:o,y:s}=i;Object.assign(t.style,{top:"".concat(s,"px"),left:"".concat(o,"px"),position:"fixed"}),r||(n=t.offsetWidth<e.offsetWidth,t.focus()),r=!0})}})(t,d.current)),[t]),(0,i.useEffect)(()=>{var e;p.current?_<0||null===(e=f.current[_])||void 0===e||e.scrollIntoView({block:"nearest",inline:"nearest"}):p.current=!0},[_]);const E=e=>"OPTION"===e.tagName&&!e.disabled;return(0,u.jsx)("div",{ref:d,className:l.default.select,role:"combobox","aria-expanded":"true",tabIndex:0,onKeyDown:e=>{switch(h.current=!1,e.code){case"ArrowUp":e.preventDefault(),(()=>{if(_<=0)return;let e=_-1;for(;e>=0;){if(E(r[e]))return v(e);e--}})();break;case"ArrowDown":e.preventDefault(),(()=>{if(_<0)return;if(_>=r.length-1)return;let e=_+1;for(;e<r.length;){if(E(r[e]))return v(e);e++}})();break;case"Space":case"Enter":e.preventDefault(),_>=0&&a(_);break;case"Escape":e.preventDefault(),c()}},onMouseEnter:()=>v(-1),onMouseMove:()=>{h.current=!0},children:r.map((e,t)=>"HR"===e.tagName?(0,u.jsx)("hr",{className:l.default.divider},t):"OPTGROUP"===e.tagName?(0,u.jsx)("div",{className:(0,s.clsx)(l.default.group,e.disabled&&l.default.optionDisable),children:e.text},t):(0,u.jsxs)("div",{ref:e=>{f.current[t]=e},className:(0,s.clsx)(l.default.option,e.inGroup&&l.default.optionInGroup,e.disabled&&l.default.optionDisable,e.selected&&l.default.optionSelect,_===t&&l.default.optionHighlight),role:"option","aria-disabled":e.disabled,"aria-selected":e.selected,onMouseUp:()=>a(t),onMouseEnter:()=>{h.current&&v(t)},children:[(0,u.jsx)("img",{className:l.default.optionIcon,src:'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l5 5l10 -10" /></svg>'}),(0,u.jsx)("span",{children:e.text})]},t))})};var v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap;t.default=class{constructor(e){d(this,v,void 0),d(this,E,void 0),d(this,m,void 0),d(this,g,void 0),d(this,y,void 0),function(e,t,r){(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(this,"track",e=>{f(E,this).has(e)||(f(E,this).add(e),e.addEventListener("mousedown",f(L,this)),e.addEventListener("keydown",f(S,this)),e.addEventListener("click",f(C,this),{capture:!0,passive:!0}))}),d(this,I,()=>{var e;null===(e=f(g,this))||void 0===e||e.unmount(),h(g,this,null),h(m,this,null)}),d(this,w,e=>{if(f(g,this))return void f(I,this).call(this);h(y,this,!1),setTimeout(()=>{h(y,this,!0)},200);const{items:t,options:r}=(e=>{const t=Array.from(e.options),r=[],n=(e,i)=>{switch(e.tagName){case"HR":r.push({tagName:e.tagName});break;case"OPTGROUP":r.push({tagName:e.tagName,text:e.label,disabled:e.disabled}),i=e;break;case"OPTION":{var o;const n=e.disabled||Boolean(null===(o=i)||void 0===o?void 0:o.disabled);r.push({tagName:e.tagName,text:e.text,disabled:n,selected:!n&&e.selected,targetIndex:t.indexOf(e),inGroup:Boolean(i)});break}}for(const t of e.children)n(t,i)};return n(e),{options:t,items:r}})(e),n=t.findIndex(e=>e.selected);h(m,this,e),h(g,this,(0,c.mountComponent)(_,{target:e,items:t,initialHighlightedIndex:n,onSelect:n=>{if(!f(y,this))return;const i=t[n],o=r[i.targetIndex];e.value=o.value,o.selected=!0,e.dispatchEvent(new a.Event("input",{bubbles:!0})),e.dispatchEvent(new a.Event("change",{bubbles:!0})),f(I,this).call(this)},onClose:f(I,this)},{hideFromAgent:f(v,this).isRedacted(e),document:e.ownerDocument}))}),d(this,b,e=>{var t;if(!f(v,this).shouldShowSelect())return!1;if("SELECT"!==(null===(t=e.target)||void 0===t?void 0:t.tagName))return!1;if(e.target.size>1)return!1;if(e.defaultPrevented)return!1;const r=e.target;return 0!==r.options.length&&!r.multiple}),d(this,L,e=>{f(b,this).call(this,e)&&0===e.button&&(e.preventDefault(),f(w,this).call(this,e.target))}),d(this,S,e=>{f(b,this).call(this,e)&&["Space","ArrowDown","ArrowUp"].includes(e.code)&&(e.preventDefault(),f(w,this).call(this,e.target))}),d(this,C,e=>{f(g,this)&&f(y,this)&&e.target!==f(m,this)&&(f(g,this).container.contains(e.target)||f(I,this).call(this))}),h(v,this,e),h(E,this,new Set)}}},53291(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280);var n=r(42777),i=r(45264),o=r(66938),s=r(2630);function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class c{constructor(){var e=this;a(this,"el",()=>{if(!this._el){const e="http://www.w3.org/2000/svg";this._el=document.createElementNS(e,"svg"),this._el.setAttribute("class","__cbio_ignored"),this._el.setAttribute("viewBox","0 0 35 35"),this._el.setAttribute("fill","none"),this._el.style.position="fixed",this._el.style.zIndex="2147483647",this._el.style.height="32px",this._el.style.width="32px",this._el.style.marginLeft="-16px",this._el.style.marginTop="0px",this._el.style.color="red",this._el.style.transition="opacity 0.5s",this._el.style.opacity=1,this._el.style.pointerEvents="none";const t=document.createElementNS(e,"path");t.setAttribute("d","M26.5148 15.8441V17.0941C26.5148 17.7541 26.9798 17.2891 26.3198 17.2891C25.6598 17.2891 26.1248 17.7541 26.1248 17.0941V14.5108C26.1248 13.8361 24.5779 12.2891 23.9032 12.2891C23.2285 12.2891 21.6815 13.8361 21.6815 14.5108V17.0941C21.6815 17.7541 22.1465 17.2891 21.4865 17.2891C20.8265 17.2891 21.2915 17.7541 21.2915 17.0941V13.0108C21.2915 12.3361 19.7445 10.7891 19.0698 10.7891C18.3951 10.7891 16.8482 12.3361 16.8482 13.0108V17.0941C16.8482 17.7541 17.3131 17.2891 16.6532 17.2891C15.9932 17.2891 16.4582 17.7541 16.4582 17.0941V5.01073C16.4582 4.33602 14.9112 2.78906 14.2365 2.78906C13.5618 2.78906 12.0148 4.33602 12.0148 5.01073V18.5941C12.0148 19.0774 12.7237 18.5132 12.2771 18.6981C11.8306 18.8831 11.3166 18.7809 10.9748 18.4391L8.262 15.7263C7.85703 15.3213 6.23834 15.2209 5.72608 15.477C5.04602 15.8171 4.78867 17.6568 5.16142 18.3195L11.0678 28.0419C12.5818 30.7334 15.4298 32.3991 18.518 32.3991H21.3198C25.9066 32.3991 30.6248 27.6808 30.6248 23.0941V15.8441C30.6248 15.2614 29.1525 13.7891 28.5698 13.7891C27.9872 13.7891 26.5148 15.2614 26.5148 15.8441Z"),t.setAttribute("fill","currentColor"),t.setAttribute("fill-rule","evenodd"),t.setAttribute("clip-rule","evenodd");const r=document.createElementNS(e,"path");r.setAttribute("d","M10.6247 5.01011C10.6247 3.01544 12.2417 1.39844 14.2364 1.39844C16.2311 1.39844 17.8481 3.01544 17.8481 5.01011V9.61029C18.2296 9.47316 18.641 9.39844 19.0697 9.39844C20.4448 9.39844 21.6404 10.1669 22.2505 11.2978C22.7457 11.0425 23.3076 10.8984 23.9031 10.8984C25.2578 10.8984 26.4383 11.6443 27.0563 12.7478C27.5131 12.524 28.0268 12.3984 28.5697 12.3984C30.4724 12.3984 32.0147 13.9408 32.0147 15.8434V23.0934C32.0147 29.0001 27.2264 33.7884 21.3197 33.7884H18.5179C14.5663 33.7884 10.9219 31.657 8.98462 28.2129L4.07828 19.4905C3.03598 17.6375 3.7556 15.2894 5.65716 14.3386C7.08954 13.6225 8.81951 13.9032 9.95191 15.0356L10.6247 15.7084V5.01011ZM27.5147 15.8434V17.0934C27.5147 17.7534 26.9797 18.2884 26.3197 18.2884C25.6597 18.2884 25.1247 17.7534 25.1247 17.0934V14.5101C25.1247 13.8354 24.5778 13.2884 23.9031 13.2884C23.2284 13.2884 22.6814 13.8354 22.6814 14.5101V17.0934C22.6814 17.7534 22.1464 18.2884 21.4864 18.2884C20.8264 18.2884 20.2914 17.7534 20.2914 17.0934V13.0101C20.2914 12.3354 19.7444 11.7884 19.0697 11.7884C18.395 11.7884 17.8481 12.3354 17.8481 13.0101V17.0934C17.8481 17.7534 17.313 18.2884 16.6531 18.2884C15.9931 18.2884 15.4581 17.7534 15.4581 17.0934V5.01011C15.4581 4.3354 14.9111 3.78844 14.2364 3.78844C13.5617 3.78844 13.0147 4.3354 13.0147 5.01011V18.5934C13.0147 19.0767 12.7236 19.5125 12.277 19.6974C11.8305 19.8824 11.3165 19.7802 10.9747 19.4384L8.26192 16.7256C7.85695 16.3206 7.23826 16.2202 6.726 16.4763C6.04594 16.8164 5.78859 17.6561 6.16134 18.3188L11.0677 27.0412C12.5817 29.7327 15.4297 31.3984 18.5179 31.3984H21.3197C25.9065 31.3984 29.6247 27.6801 29.6247 23.0934V15.8434C29.6247 15.2607 29.1524 14.7884 28.5697 14.7884C27.9871 14.7884 27.5147 15.2607 27.5147 15.8434Z"),r.setAttribute("fill","white"),r.setAttribute("fill-rule","evenodd"),r.setAttribute("clip-rule","evenodd"),this._el.appendChild(t),this._el.appendChild(r)}return this._el}),a(this,"calculateOffset",e=>{var t;const r=o.NodeTracker.getById(e.target.id),n=null==r||null===(t=r.ownerDocument)||void 0===t||null===(t=t.defaultView)||void 0===t?void 0:t.frameElement;if(!n)return{offsetX:0,offsetY:0};const i=n.getBoundingClientRect();return{offsetX:Math.round(i.left),offsetY:Math.round(i.top)}}),a(this,"getOffset",e=>{var t,r;const{offsetX:n,offsetY:i}=e;return void 0!==n&&void 0!==i?{offsetX:n*(null===(t=window.document)||void 0===t||null===(t=t.documentElement)||void 0===t?void 0:t.clientWidth),offsetY:i*(null===(r=window.document)||void 0===r||null===(r=r.documentElement)||void 0===r?void 0:r.clientHeight)}:this.calculateOffset(e)}),a(this,"_updatePosition",e=>{var t,r;let{x:n,y:i}=e;if(!1===n||!1===i)return;n*=null===(t=window.document)||void 0===t||null===(t=t.documentElement)||void 0===t?void 0:t.clientWidth,i*=null===(r=window.document)||void 0===r||null===(r=r.documentElement)||void 0===r?void 0:r.clientHeight;const o=this.getOffset(e);n+=o.offsetX,i+=o.offsetY,this.el().style.top="".concat(i,"px"),this.el().style.left="".concat(n,"px"),this._lastPosition={x:n,y:i}}),a(this,"_getRippleStyle",()=>({position:"fixed",left:"".concat(this._lastPosition.x-4,"px"),top:"".concat(this._lastPosition.y+4,"px")})),a(this,"_createRipple",function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#e94435";const r=(0,n.createRipple)(t,1e3,12,e._getRippleStyle());document.body.appendChild(r)}),a(this,"update",(e,t)=>{if("mouse"===e&&i.WindowTracking.isActive())switch(document.body&&!this.el().parentNode&&document.body.appendChild(this.el()),t.colour&&(this.el().style.color=t.colour),t.state){case"mousedown":this._hideAfterTimeout(),this._createRipple(t.colour),this.interval||(this.interval=setInterval(()=>{this._createRipple(t.colour)},500));break;case"mouseup":this._hideAfterTimeout(),clearInterval(this.interval),this.interval=null;break;case"mousemove":this._hideAfterTimeout(),this._updatePosition(t)}}),a(this,"hide",()=>{clearTimeout(this.fadeTimeOut),this.el().parentNode&&this.el().parentNode.removeChild(this.el())})}_hideAfterTimeout(){clearTimeout(this.fadeTimeOut),this.el().style.opacity=1,this.fadeTimeOut=setTimeout(()=>{this.el().style.opacity=0},5e3)}}class l extends s.MultiAgentManager{constructor(){super(c)}update(e,t){this.getInstanceForAgent(t.agent).update(e,t)}}t.default=new l},94340(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=l(r(37007)),i=l(r(77988)),o=r(89103),s=r(12996),a=l(r(53983)),c=r(10201);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t,r){return e.set(f(e,t),r),r}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const h=e=>{let{onClick:t}=e;return(0,c.jsx)("div",{className:a.default.sessionStateOverlay,children:(0,c.jsxs)(s.Button,{className:a.default.endSessionButton,onClick:()=>t("session-end"),children:[i.default.tr("END_SESSION"),(0,c.jsx)(s.Icon,{className:a.default.endSessionIcon,name:"EndSession"})]})})};var p=new WeakMap;class _ extends n.default{constructor(){var e,t,r;super(...arguments),r=null,function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e=this,t=p),t.set(e,r),u(this,"showSessionControls",()=>{this.hideSessionControls();const e={onClick:e=>this.emit("click",e)};d(p,this,(0,o.mountComponent)(h,e,{hideFromAgent:!0}))}),u(this,"hideSessionControls",()=>{var e,t;null===(e=(t=p).get(f(t,this)))||void 0===e||e.unmount(),d(p,this,null)})}}t.default=new _},198(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}r(22489),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(18111),r(7588),r(13579),r(62953);var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap;t.default=new class{constructor(){s(this,u,void 0),s(this,d,void 0),s(this,f,[]),s(this,h,window.matchMedia("(min-width: 768px)")),o(this,"singleTabFullScreen",!1),o(this,"enterFullScreen",()=>a(d,this).enterFullScreen()),o(this,"exitFullScreen",()=>a(d,this).exitFullScreen()),o(this,"getTabCount",()=>a(f,this).length),o(this,"newTab",(e,t,r,n,o,s)=>{const c=a(d,this).createTab({onTabClick:e=>{a(E,this).call(this,c)},onClose:o,confirmUnload:s});return c.setIcon(t),c.setTitle(r),c.setIsLoading(n),c.setContent(e),a(f,this).push(c),a(E,this).call(this,c),a(d,this).showModal(),1===a(f,this).length&&history.pushState({universalProxyOpen:!0},""),i(i({},c),{},{close:()=>a(v,this).call(this,c)})}),s(this,p,()=>{1===a(f,this).length&&a(v,this).call(this,a(f,this)[0])}),s(this,_,e=>{a(f,this).some(e=>e.confirmUnload)&&e.preventDefault()}),o(this,"closeAllTabs",()=>{a(f,this).forEach(a(v,this))}),s(this,v,e=>{const t=a(f,this).indexOf(e);if(-1===t)return;if(e.removeTab(),a(f,this).splice(t,1),!a(f,this).length)return a(d,this).hideModal();const r=a(f,this).length-1;e.isActive()&&(t<=r?a(f,this)[t].show():a(f,this)[r].show())}),s(this,E,e=>{a(f,this).forEach(e=>e.hide()),e.show()}),s(this,m,()=>{const e=document.createElement("div"),t=e.attachShadow({mode:"open"}),r=document.createElement("div");r.style.background="rgba(50, 50, 50, 0.4)",r.style.position="fixed",r.style.zIndex="2147483645",r.style.bottom="0",r.style.top="0",r.style.left="0",r.style.right="0",r.style.display="flex",r.style.flexDirection="column",r.style.padding=a(h,this).matches?"25px":"0",t.appendChild(r);const n=a(g,this).call(this);r.appendChild(n.element);const i=a(y,this).call(this);r.appendChild(i.element);let o=null;return{element:r,showModal:()=>{this.isVisible||(document.body.appendChild(e),o=document.body.style.overflow,document.body.style.overflow="hidden",this.isVisible=!0,c(u,this,history.length))},hideModal:()=>{document.body.removeChild(e),document.body.style.overflow=o,this.isVisible=!1;const t=history.length-a(u,this);t>0&&history.go(-t)},createTab:e=>{let{onTabClick:t,onClose:r,confirmUnload:o}=e;const s=a(I,this).call(this,{onTabClick:t,onCloseClick:e=>{e.stopPropagation(),r()}});n.addButton(s.element);const c=a(w,this).call(this);return i.addPanel(c.element),{setIcon:s.setIcon,setTitle:s.setTitle,setIsLoading:s.setIsLoading,showBanner:c.showBanner,hideBanner:c.hideBanner,show:()=>{s.setIsActive(!0),c.showPanel()},hide:()=>{s.setIsActive(!1),c.hidePanel()},removeTab:()=>{n.removeButton(s.element),i.removePanel(c.element)},isActive:()=>s.isActive,onClose:r,confirmUnload:o,setContent:c.setContent}},enterFullScreen:()=>{n.hide(),r.style.padding="0"},exitFullScreen:()=>{n.show(),r.style.padding=a(h,this).matches?"25px":"0"}}}),s(this,g,()=>{const e=document.createElement("div");return e.style.display="flex",e.style.backgroundColor="#d6e2fb",e.style.borderBottom="1px solid #d8d8d8",e.style.paddingTop="6px",e.style.paddingLeft="6px",e.style.paddingBottom="5px",e.style.borderRadius="10px 10px 0 0",this.fullScreen&&(e.style.display="none"),{element:e,addButton:t=>e.appendChild(t),removeButton:t=>e.removeChild(t),show:()=>{e.style.display="flex"},hide:()=>{e.style.display="none "}}}),s(this,y,()=>{const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e.style.backgroundColor="white",e.style.borderRadius="0 0 10px 10px",e.style.overflow="hidden",{element:e,addPanel:t=>e.appendChild(t),removePanel:t=>e.removeChild(t)}}),s(this,I,e=>{let{onTabClick:t,onCloseClick:r}=e;const n=document.createElement("div");n.style.display="flex",n.style.alignItems="center",n.style.justifyContent="end",n.style.flex="1 1 0",n.style.backgroundColor="#ffffff66",n.style.padding="4px",n.style.maxWidth="200px",n.style.minWidth="0",n.style.overflow="hidden",n.style.cursor="pointer",n.style.borderRadius="9px",n.style.marginRight="6px";const i=document.createElement("img");i.style.flex="0 0 auto",i.style.width="16px",i.style.height="16px",i.style.marginRight="4px";const o=document.createElement("span");o.style.flex="1 1 auto",o.style.display="block",o.style.fontFamily="sans-serif",o.style.fontSize="13px",o.style.overflow="hidden",o.style.whiteSpace="nowrap",o.style.textOverflow="ellipsis";const s=document.createElement("button");s.style.flex="0 0 auto",s.style.width="24px",s.style.height="24px",s.style.border="none",s.style.background="none",s.style.padding="4px",s.style.cursor="pointer";const a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttribute("fill","none"),a.setAttribute("viewBox","0 0 24 24"),a.setAttribute("stroke-width","1.5"),a.setAttribute("stroke","currentColor"),a.style.width="16px",a.style.height="16px";const c=document.createElementNS("http://www.w3.org/2000/svg","path");return c.setAttribute("stroke-linecap","round"),c.setAttribute("stroke-linejoin","round"),c.setAttribute("d","M6 18 18 6M6 6l12 12"),a.appendChild(c),s.appendChild(a),n.appendChild(i),n.appendChild(o),n.appendChild(s),n.addEventListener("click",t),s.addEventListener("click",r),i.onerror=function(){this.src='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="gray"><path stroke-linecap="round" stroke-linejoin="round" d="M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418" /></svg>'},{element:n,icon:"",title:"",isActive:!1,isLoading:!1,setIcon:function(e){this.icon=e,i.src=e},setTitle:function(e){this.title=e,o.textContent=e},setIsActive:function(e){this.isActive=e,this.isActive?(n.style.backgroundColor="white",n.style.borderColor="#d8d8d8"):(n.style.backgroundColor="#ffffff66",n.style.borderColor="#efefef")},setIsLoading:function(e){this.isLoading=e,i.src=this.isLoading?'data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z"><animateTransform attributeName="transform" type="rotate" dur="0.75s" values="0 12 12;360 12 12" repeatCount="indefinite"/></path></svg>':this.icon}}}),s(this,w,()=>{const e=document.createElement("div");e.style.width="100%",e.style.height="100%",e.style.backgroundColor="white",e.style.display="flex",e.style.flexDirection="column";const t=document.createElement("div");t.style.height="30px",t.style.width="100%",t.style.display="flex",t.style.alignItems="center",t.style.justifyContent="center",t.style.backgroundColor="white",t.style.color="black",t.style.fontFamily="sans-serif",t.style.fontSize="13px",t.style.borderBottom="1px solid #d8d8d8";const r=document.createElement("div");return r.style.flex="1",e.appendChild(r),{element:e,showPanel:()=>{e.style.display="flex"},hidePanel:()=>{e.style.display="none"},showBanner:r=>{t.innerText=r,e.contains(t)||e.prepend(t)},hideBanner:()=>{e.contains(t)&&e.removeChild(t)},setContent:e=>{r.contains(e)||r.replaceChildren(e)}}}),c(d,this,a(m,this).call(this)),a(h,this).addEventListener("change",e=>{a(d,this).element.style.padding=e.matches?"25px":"0"}),window.addEventListener("popstate",a(p,this)),window.addEventListener("beforeunload",a(_,this))}}},7410(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=r(22292),o=(n=r(2989))&&n.__esModule?n:{default:n},s=r(10201);const a=["children","className","variant","disabled"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t,className:r,variant:n,disabled:c}=e,u=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,a);return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("button",l(l({className:(0,i.clsx)(o.default.base,o.default[n],r),disabled:c},u),{},{children:t}))})}},25029(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(62953);var n=r(45994),i=r(10201);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t,footer:r,style:o,corner:a="top-left",onCornerChange:c}=e;const[l,u]=(0,n.useState)({x:0,y:0}),[d,f]=(0,n.useState)(!1),[h,p]=(0,n.useState)(!1),_=(0,n.useRef)(l),v=(0,n.useRef)(null),E=(0,n.useRef)({x:0,y:0}),m=(0,n.useRef)(null),g=(0,n.useRef)(a);(0,n.useEffect)(()=>{_.current=l},[l]),(0,n.useEffect)(()=>{var e,t;if(!v.current)return;const r=(null===(e=window.visualViewport)||void 0===e?void 0:e.width)||window.innerWidth,n=(null===(t=window.visualViewport)||void 0===t?void 0:t.height)||window.innerHeight,{offsetWidth:i,offsetHeight:o}=v.current,s={"top-left":{x:0,y:0,dx:0,dy:0},"top-right":{x:r-i,y:0,dx:1,dy:0},"bottom-left":{x:0,y:n-o,dx:0,dy:1},"bottom-right":{x:r-i,y:n-o,dx:1,dy:1}},{x:c,y:l,dx:d,dy:f}=s[a];u({x:c,y:l}),m.current={dx:d,dy:f},g.current=a},[a]);const y=(e,t)=>{f(!0),p(!1),E.current={x:e-l.x,y:t-l.y}};(0,n.useEffect)(()=>{const e=e=>{var t,r;if(!d)return;const n=(null===(t=window.visualViewport)||void 0===t?void 0:t.width)||window.innerWidth,i=(null===(r=window.visualViewport)||void 0===r?void 0:r.height)||window.innerHeight;let o=e.clientX-E.current.x,s=e.clientY-E.current.y;if(v.current){const{offsetWidth:e,offsetHeight:t}=v.current;o=Math.max(0,Math.min(o,n-e)),s=Math.max(0,Math.min(s,i-t))}u({x:o,y:s}),_.current={x:o,y:s}},t=e=>{var t,r;if(!d)return;e.preventDefault();const n=e.touches[0];if(!n)return;const i=(null===(t=window.visualViewport)||void 0===t?void 0:t.width)||window.innerWidth,o=(null===(r=window.visualViewport)||void 0===r?void 0:r.height)||window.innerHeight;let s=n.clientX-E.current.x,a=n.clientY-E.current.y;if(v.current){const{offsetWidth:e,offsetHeight:t}=v.current;s=Math.max(0,Math.min(s,i-e)),a=Math.max(0,Math.min(a,o-t))}u({x:s,y:a}),_.current={x:s,y:a}},r=()=>{f(!1),window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",r),window.removeEventListener("touchmove",t),window.removeEventListener("touchend",r),setTimeout(w,0)};return d&&(window.addEventListener("mousemove",e),window.addEventListener("mouseup",r),window.addEventListener("touchmove",t,{passive:!1}),window.addEventListener("touchend",r)),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",r),window.removeEventListener("touchmove",t),window.removeEventListener("touchend",r)}},[d]);const I=(0,n.useCallback)(()=>{var e,t;if(!v.current||!m.current)return;const r=(null===(e=window.visualViewport)||void 0===e?void 0:e.width)||window.innerWidth,n=(null===(t=window.visualViewport)||void 0===t?void 0:t.height)||window.innerHeight,{offsetWidth:i,offsetHeight:o}=v.current,{dx:s,dy:a}=m.current;u({x:0===s?0:r-i,y:0===a?0:n-o})},[]);(0,n.useEffect)(()=>(window.addEventListener("resize",I),()=>window.removeEventListener("resize",I)),[I]),(0,n.useEffect)(()=>{const e=new ResizeObserver(()=>{p(!0),I(),setTimeout(()=>p(!1),300)});return v.current&&e.observe(v.current),()=>e.disconnect()},[I]);const w=()=>{var e,t;if(!v.current)return;const r=(null===(e=window.visualViewport)||void 0===e?void 0:e.width)||window.innerWidth,n=(null===(t=window.visualViewport)||void 0===t?void 0:t.height)||window.innerHeight,{offsetWidth:i,offsetHeight:o}=v.current,s=[{name:"top-left",x:0,y:0,dx:0,dy:0},{name:"top-right",x:r-i,y:0,dx:1,dy:0},{name:"bottom-left",x:0,y:n-o,dx:0,dy:1},{name:"bottom-right",x:r-i,y:n-o,dx:1,dy:1}],a=_.current,l=(e,t)=>Math.hypot(e.x-t.x,e.y-t.y),d=s.reduce((e,t)=>l(a,t)<l(a,e)?t:e);p(!0),u({x:d.x,y:d.y}),m.current={dx:d.dx,dy:d.dy},g.current!==d.name&&(null==c||c(d.name),g.current=d.name),setTimeout(()=>p(!1),300)};return(0,i.jsxs)("div",{ref:v,style:s(s({},o),{},{position:"fixed",left:l.x,top:l.y,transition:h?"left 0.3s ease, top 0.3s ease, transform 0.2s ease":"transform 0.2s ease"}),children:[(0,i.jsx)("div",{style:{cursor:d?"grabbing":"grab",transform:d?"scale(1.02)":"scale(1)",transition:"transform 0.2s ease"},onMouseDown:e=>{e.preventDefault(),y(e.clientX,e.clientY)},onTouchStart:e=>{const t=e.touches[0];t&&y(t.clientX,t.clientY)},children:t}),null!=r?r:null]})}},66497(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(66746)),i=r(10201);const o=["name"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{name:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,o);return(0,i.jsx)("div",a(a({"aria-hidden":"true",style:{display:"inline-block"}},r),{},{children:n[t]}))}},50341(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=r(22292),o=(n=r(64556))&&n.__esModule?n:{default:n},s=r(10201);const a=["children","className","ariaLabel","title"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t,className:r,ariaLabel:n,title:c}=e,u=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,a);return(0,s.jsx)("button",l(l({className:(0,i.clsx)(o.default.base,r),"aria-label":n,title:null!=n?n:c},u),{},{children:t}))}},4287(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(22292),i=c(r(77988)),o=c(r(32704)),s=r(10201);const a=["children","className"];function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t,className:r}=e,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,a);return(0,s.jsx)("div",u(u({className:o.default.container,role:"dialog","aria-modal":"true"},c),{},{children:(0,s.jsx)("section",{className:(0,n.clsx)(o.default.content,r),dir:i.default.direction(),children:t})}))}},88670(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(22292),i=c(r(52098)),o=c(r(9417)),s=r(10201);const a=["children","iconUrl","className","ariaLabel","style"];function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t,iconUrl:r,className:c,ariaLabel:l,style:d}=e,f=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,a);const h=u(u({},r?{backgroundImage:'url("'.concat(r,'"),url("').concat(i.default,'")'),backgroundPosition:"left 4px center,right 4px center",padding:"8px 24px 8px 24px"}:{backgroundImage:'url("'.concat(i.default,'")')}),d);return(0,s.jsx)("select",u(u({className:(0,n.clsx)(o.default.base,!r&&o.default.noIcon,c),"aria-label":l,style:h},f),{},{children:t}))}},82973(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);const i=["children"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,i);return(0,n.jsx)("option",s(s({},r),{},{children:t}))}},12996(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"IconButton",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Modal",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Select",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"SelectOption",{enumerable:!0,get:function(){return l.default}});var n=u(r(7410)),i=u(r(25029)),o=u(r(66497)),s=u(r(50341)),a=u(r(4287)),c=u(r(88670)),l=u(r(82973));function u(e){return e&&e.__esModule?e:{default:e}}},96438(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n,i=r(45994),o=r(89103),s=(n=r(59887))&&n.__esModule?n:{default:n},a=r(10201);function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return e.set(d(e,t),r),r}function u(e,t){return e.get(d(e,t))}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const f=e=>{let{targetElement:t}=e;const r=(0,i.useRef)(),n=(0,i.useRef)(!1),o=(0,i.useCallback)(()=>{if(!t)return;const e=(e=>{const t=e.getBoundingClientRect(),r=document.documentElement.scrollTop,n=document.documentElement.scrollLeft,i=t.top+r,o=t.left+n,s=t.width,a=t.height;if(!s||!a)return null;const c=window.getComputedStyle(e);let l=c.borderRadius||c.borderTopLeftRadius;return"0px"===l&&(l="4px"),{top:i,left:o,width:s,height:a,borderRadius:l,paddedX:(s+6)/s,paddedY:(a+6)/a}})(t);if(!e||!r.current)return;const{top:n,left:i,width:o,height:s,borderRadius:a,paddedX:c,paddedY:l}=e;requestAnimationFrame(()=>{r.current.style.width="".concat(o,"px"),r.current.style.height="".concat(s,"px"),r.current.style.top="".concat(n,"px"),r.current.style.left="".concat(i,"px"),r.current.style.borderRadius=a,r.current.style.setProperty("--cbio-padded-x",c),r.current.style.setProperty("--cbio-padded-y",l)})},[t]),c=(0,i.useCallback)(()=>{t&&(n.current=!0,t.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}),setTimeout(()=>{n.current=!1,o()},100))},[t,o]);return(0,i.useEffect)(()=>{c()},[c]),(0,i.useEffect)(()=>{o()},[o]),(0,i.useEffect)(()=>{const e=()=>{n.current||r.current&&(requestAnimationFrame(()=>{r.current.classList.add(s.default.disableAnimations)}),o(),requestAnimationFrame(()=>{r.current.classList.remove(s.default.disableAnimations)}))};return window.addEventListener("resize",e),window.addEventListener("scroll",e,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,{passive:!0,capture:!0}),clearTimeout(void 0)}},[o,t]),(0,i.useEffect)(()=>{let e;return t&&(e=new MutationObserver(()=>{const e=t.isConnected,n=!t.checkVisibility||t.checkVisibility();r.current.style.display=e&&n?"block":"none"}),e.observe(t,{attributes:!0,attributeFilter:["style","class"]}),e.observe(document.body,{childList:!0,subtree:!0})),()=>{var t;null===(t=e)||void 0===t||t.disconnect()}},[t]),(0,a.jsx)("div",{className:s.default.overlay,"data-test-id":"highlight-overlay",ref:r})};var h=new WeakMap;t.default=new class{constructor(){(function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)})(this,h,null),c(this,"update",e=>{u(h,this)?u(h,this).rerender({targetElement:e}):l(h,this,(0,o.mountComponent)(f,{targetElement:e},{hideFromVirtualAgent:!0}))}),c(this,"hide",()=>{var e;null===(e=u(h,this))||void 0===e||e.unmount(),l(h,this,null)})}}},27527(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n,i=r(20949),o=r(45994),s=r(89103),a=(n=r(36e3))&&n.__esModule?n:{default:n},c=r(10201);function l(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t,r){return e.set(f(e,t),r),r}function d(e,t){return e.get(f(e,t))}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const h=e=>{let{title:t}=e;return(0,c.jsx)("div",{className:a.default.tooltipTitle,children:t})},p=e=>{let{arrowRef:t}=e;return(0,c.jsx)("div",{className:a.default.tooltipArrow,ref:t})},_=e=>{let{targetElement:t,title:r}=e;const n=(0,o.useRef)(),s=(0,o.useRef)();return(0,o.useEffect)(()=>{var e;let r;return t&&(r=(0,i.autoUpdate)(t,n.current,async()=>{const e=await(async(e,t,r)=>{if(!e||!t||!r)return null;const{x:n,y:o,placement:s,middlewareData:a}=await(0,i.computePosition)(e,t,{placement:"top",middleware:[(0,i.offset)(12),(0,i.flip)(),(0,i.shift)({padding:8}),(0,i.arrow)({element:r}),(0,i.hide)()]}),{x:c,y:l}=a.arrow,u=!a.hide.referenceHidden;return{tooltip:{x:n,y:o},arrow:{x:c,y:l,staticSide:{top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]]},isVisible:u}})(t,n.current,s.current);e&&(n.current.style.left="".concat(e.tooltip.x,"px"),n.current.style.top="".concat(e.tooltip.y,"px"),n.current.style.display=e.isVisible?"block":"none",s.current.style.left=e.arrow.x?"".concat(e.arrow.x,"px"):"",s.current.style.top=e.arrow.y?"".concat(e.arrow.y,"px"):"",s.current.style[e.arrow.staticSide]="-4px")})),null===(e=n.current)||void 0===e||e.classList.add(a.default.tooltipVisible),()=>{var e;null===(e=r)||void 0===e||e()}},[t]),(0,c.jsxs)("div",{className:a.default.tooltip,role:"tooltip","aria-live":"polite",ref:n,children:[(0,c.jsx)(h,{title:r}),(0,c.jsx)(p,{arrowRef:s})]})};var v=new WeakMap;t.default=new class{constructor(){(function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)})(this,v,null),l(this,"update",(e,t)=>{d(v,this)?d(v,this).rerender({targetElement:e,title:t}):u(v,this,(0,s.mountComponent)(_,{targetElement:e,title:t},{hideFromVirtualAgent:!0}))}),l(this,"hide",()=>{var e;null===(e=d(v,this))||void 0===e||e.unmount(),u(v,this,null)})}}},39771(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(54743),r(11745),r(16573),r(78100),r(77936),r(18111),r(18237),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623),r(62953);var n=r(37007);function i(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function o(e,t){return e.get(a(e,t))}function s(e,t,r){return e.set(a(e,t),r),r}function a(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var c=new WeakMap,l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap;class p extends n.EventEmitter{constructor(e,t){if(super(),i(this,c,void 0),i(this,l,void 0),i(this,u,void 0),i(this,d,void 0),i(this,f,void 0),i(this,h,!1),!window.AudioContext)return;if(!e||!e.getAudioTracks().length)return;s(c,this,new window.AudioContext),s(l,this,o(c,this).createMediaStreamSource(e)),s(u,this,o(c,this).createAnalyser()),o(u,this).fftSize=256,o(l,this).connect(o(u,this));const r=()=>{if(o(h,this))return;const e=new Uint8Array(o(u,this).frequencyBinCount);o(u,this).getByteFrequencyData(e);const n=e.reduce((e,t)=>e+t,0)/o(u,this).frequencyBinCount>t;o(d,this)!==n&&(s(d,this,n),this.emit("updated",this)),o(d,this)?setTimeout(()=>{s(f,this,requestAnimationFrame(r))},250):s(f,this,requestAnimationFrame(r))};r()}get hasNoise(){return o(d,this)||!1}destroy(){var e,t,r;s(h,this,!0),cancelAnimationFrame(o(f,this)),null===(e=o(l,this))||void 0===e||e.disconnect(),s(l,this,null),null===(t=o(u,this))||void 0===t||t.disconnect(),s(u,this,null),null===(r=o(c,this))||void 0===r||r.close(),s(c,this,null)}}t.default=p},24364(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useMediaDevices=void 0,r(44114),r(18111),r(7588),r(62953);var n=r(45994);const i="prompt",o=e=>({granted:"granted"===e,denied:"denied"===e,prompt:e===i});t.useMediaDevices=()=>{const[e,t]=(0,n.useState)([]),[r,s]=(0,n.useState)([]),[a,c]=(0,n.useState)([]),[l,u]=(0,n.useState)(i),[d,f]=(0,n.useState)(i),h=(0,n.useMemo)(()=>o(l),[l]),p=(0,n.useMemo)(()=>o(d),[d]),_=(0,n.useRef)(null),v=(0,n.useRef)(null),E=(0,n.useCallback)(async()=>{if(!navigator.mediaDevices)return;const e=await navigator.mediaDevices.enumerateDevices(),r=[],n=[],i=[];e.forEach(e=>{e.deviceId&&("audioinput"===e.kind&&r.push(e),"audiooutput"===e.kind&&n.push(e),"videoinput"===e.kind&&i.push(e))}),t(r),s(n),c(i)},[]),m=()=>u(_.current.state),g=()=>f(v.current.state),y=(0,n.useCallback)(async()=>{try{var e,t;null===(e=_.current)||void 0===e||e.removeEventListener("change",m),_.current=await navigator.permissions.query({name:"microphone"}),_.current.addEventListener("change",m),null===(t=v.current)||void 0===t||t.removeEventListener("change",g),v.current=await navigator.permissions.query({name:"camera"}),v.current.addEventListener("change",g),u(_.current.state),f(v.current.state)}catch(e){console.warn("CobrowseIO: Failed to get permissions",e),u(i),f(i)}},[]);return(0,n.useEffect)(()=>{y()},[y]),(0,n.useEffect)(()=>{var e;return null===(e=navigator.mediaDevices)||void 0===e||e.addEventListener("devicechange",E),E(),()=>{var e;null===(e=navigator.mediaDevices)||void 0===e||e.removeEventListener("devicechange",E)}},[E]),(0,n.useEffect)(()=>{E()},[l,d,E]),{audioInputDevices:e,audioOutputDevices:r,videoInputDevices:a,audioPermission:h,videoPermission:p,updateDeviceLists:E,updatePermissions:y}}},94909(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSpeaking=void 0,r(62953);var n,i=r(45994),o=(n=r(39771))&&n.__esModule?n:{default:n};t.useSpeaking=e=>{const[t,r]=(0,i.useState)(!1),[n,s]=(0,i.useState)(e.hasAudio);return(0,i.useEffect)(()=>{const t=()=>{s(e.hasAudio)};return e.on("track.added",t),e.on("track.removed",t),()=>{e.off("track.added",t),e.off("track.removed",t)}},[e]),(0,i.useEffect)(()=>{if(!n)return void r(!1);const t=e=>{let{hasNoise:t}=e;return r(t)},i=new o.default(e.stream,15);return i.on("updated",t),t(i),()=>{i.off("updated",t),i.destroy()}},[n,e.stream]),t}},78898(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),(0,n.jsx)("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),(0,n.jsx)("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]})},29515(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsx)("svg",{height:"100%",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M21.5 12V15C21.5 15.2652 21.3946 15.5196 21.2071 15.7071C21.0196 15.8946 20.7652 16 20.5 16H4.5C4.23478 16 3.98043 15.8946 3.79289 15.7071C3.60536 15.5196 3.5 15.2652 3.5 15L3.5 5C3.5 4.73478 3.60536 4.48043 3.79289 4.29289C3.98043 4.10536 4.23478 4 4.5 4L13.5 4M7.5 20H17.5M9.5 16V20M15.5 16V20M17.5 8L21.5 4M17.5 4L21.5 8",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})})},27008(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M9 2m0 3a3 3 0 0 1 3 -3h0a3 3 0 0 1 3 3v5a3 3 0 0 1 -3 3h0a3 3 0 0 1 -3 -3z"}),(0,n.jsx)("path",{d:"M5 10a7 7 0 0 0 14 0"}),(0,n.jsx)("path",{d:"M8 21l8 0"}),(0,n.jsx)("path",{d:"M12 17l0 4"})]})},25239(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M3 3l18 18"}),(0,n.jsx)("path",{d:"M9 5a3 3 0 0 1 6 0v5a3 3 0 0 1 -.13 .874m-2 2a3 3 0 0 1 -3.87 -2.872v-1"}),(0,n.jsx)("path",{d:"M5 10a7 7 0 0 0 10.846 5.85m2 -2a6.967 6.967 0 0 0 1.152 -3.85"}),(0,n.jsx)("path",{d:"M8 21l8 0"}),(0,n.jsx)("path",{d:"M12 17l0 4"})]})},98930(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsx)("svg",{height:"100%",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M23.1068 13.9142L20.2784 16.7426L15.3286 14.6213L16.0357 11.7929C13.7429 11.0147 11.2574 11.0147 8.96465 11.7929L9.67175 14.6213L4.72201 16.7426L1.89358 13.9142C1.51851 13.5391 1.30779 13.0304 1.30779 12.5C1.30779 11.9696 1.51851 11.4609 1.89358 11.0858C4.81944 8.49517 8.59225 7.06493 12.5002 7.06493C16.4081 7.06493 20.1809 8.49517 23.1068 11.0858C23.4819 11.4609 23.6926 11.9696 23.6926 12.5C23.6926 13.0304 23.4819 13.5391 23.1068 13.9142Z",stroke:"#F5F6FB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})})},50505(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M15 10l4.553 -2.276a1 1 0 0 1 1.447 .894v6.764a1 1 0 0 1 -1.447 .894l-4.553 -2.276v-4z"}),(0,n.jsx)("path",{d:"M3 6m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"})]})},84032(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M3 3l18 18"}),(0,n.jsx)("path",{d:"M15 11v-1l4.553 -2.276a1 1 0 0 1 1.447 .894v6.764a1 1 0 0 1 -.675 .946"}),(0,n.jsx)("path",{d:"M10 6h3a2 2 0 0 1 2 2v3m0 4v1a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2v-8a2 2 0 0 1 2 -2h1"})]})},63894(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M15 8a5 5 0 0 1 0 8"}),(0,n.jsx)("path",{d:"M17.7 5a9 9 0 0 1 0 14"}),(0,n.jsx)("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"})]})},66746(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DotsVertical",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"EndSession",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Microphone",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"MicrophoneOff",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Phone",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Video",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"VideoOff",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Volume",{enumerable:!0,get:function(){return u.default}});var n=d(r(78898)),i=d(r(29515)),o=d(r(27008)),s=d(r(25239)),a=d(r(98930)),c=d(r(50505)),l=d(r(84032)),u=d(r(63894));function d(e){return e&&e.__esModule?e:{default:e}}},33035(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnnotationOverlay",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"CallDialog",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"CallParticipants",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"ConsentDialog",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Highlight",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"LaserOverlay",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"RemoteCursor",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"SessionStateOverlay",{enumerable:!0,get:function(){return s.default}}),r(2143);var n=d(r(63024)),i=d(r(86162)),o=d(r(53291)),s=d(r(94340)),a=d(r(65573)),c=d(r(76575)),l=d(r(83031)),u=d(r(24189));function d(e){return e&&e.__esModule?e:{default:e}}},37487(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(27495),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(42074),i=r(49715),o=r(44661),s=l(r(88619)),a=l(r(77966)),c=r(9147);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function d(e,t){return e.get(h(e,t))}function f(e,t,r){return e.set(h(e,t),r),r}function h(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap;class m extends i.NavigationHandler{constructor(e,t){super(),u(this,p,void 0),u(this,_,void 0),u(this,v,(e,t,r,n)=>{const{document:i}=n,o=d(_,this).createUniversalProxyFrameName(),s=d(_,this).createUniversalProxyUrl(e,o),c=d(_,this).createUniversalProxyIFrame(s,o);i.load(s,t,r,{element:c,type:this.type});const l=(e,t)=>{let{handle:r,document:{url:n,icon:o,title:s,isLoading:a,isBlocked:l}}=e,{trusted:u,iframe:d}=t;r||u&&d===c&&(i.url=n,i.icon=o,i.title=s,i.isLoading=a,i.isBlocked=l)};a.default.on("document",l),i.once("closed",()=>{a.default.off("document",l)})}),u(this,E,(e,t,r,n)=>{const{document:i}=n,o=document.createElement("div");o.style.width="100%",o.style.height="100%",o.style.backgroundColor="black",i.load(e,t,r,{element:o,type:this.type}),i.isLoading=!1,i.isBlocked=!0}),f(p,this,(0,n.createPatternMatcher)(t.universalLinks)),f(_,this,new s.default(e,t.api,t.version))}get type(){return o.NAVIGATION_TYPE.UNIVERSAL}shouldHandleEvent(e){return e.eventPhase!==Event.CAPTURING_PHASE&&!e.defaultPrevented}shouldHandle(e){const t=new URL(e,window.location.origin);return t.search="",!!(0,c.isProtocolAllowed)(t.protocol)&&d(p,this).call(this,t)}handle(e,t,r,n){return(this.shouldHandle(e)?d(v,this):d(E,this))(e,t,r,n),{document:n.document}}}t.default=m},11191(e,t,r){"use strict";function n(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),t.default=new class{constructor(){n(this,"proxify",e=>e),n(this,"unproxify",e=>e),n(this,"inUniversalProxy",!1)}}},88619(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=s(r(37609)),i=r(9147),o=s(r(78981));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,h=new WeakMap,p=new WeakMap;t.default=class{constructor(e,t,r){c(this,f,void 0),c(this,h,void 0),c(this,p,void 0),a(this,"createUniversalProxyFrameName",()=>"cbioUniversalFrame-".concat((0,o.default)(5))),a(this,"createUniversalProxyUrl",(e,t)=>{const r=l(f,this)[n.default].proxyToken(),o=l(f,this)[n.default].proxyUrl(),s=new URL(o,l(h,this)),a={parent_origin:window.location.origin,proxy_path:s.pathname,sdk_version:l(p,this),frame_name:t};return new i.URLRewriter(s,i.PROXY_PREFIX.UNIVERSAL,r,window.location,a).proxify(e)}),a(this,"createUniversalProxyIFrame",(e,t)=>{const r=document.createElement("iframe");return r.allow="publickey-credentials-get *",r.style.width="100%",r.style.height="100%",r.style.backgroundColor="white",r.style.border="none",r.src=e,r.name=t,r}),u(f,this,e),u(h,this,t),u(p,this,r)}}},91834(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UniversalHandler",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"UniversalProxy",{enumerable:!0,get:function(){return n.default}});var n=o(r(88619)),i=o(r(37487));function o(e){return e&&e.__esModule?e:{default:e}}},29516(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=s(r(51227)),i=s(r(86542)),o=r(40492);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=(0,n.default)("cbio.VirtualAgent.VirtualAgentEmbed");class l extends o.RESTResource{constructor(){super(),a(this,"url",()=>new URL("api/1/virtualagents/".concat(encodeURIComponent(this.slug()),"/embed"),l.api).toString()),a(this,"slug",()=>this.field("slug")),a(this,"type",()=>this.field("type")),a(this,"data",()=>this.field("data")),c("constructed")}static async load(e,t){var r;const n=new l,o=(0,i.default)(e.license),s="".concat("_cobrowse_va_conversation_").concat(t),{iat:a,resource:d,attempts:f=0}=null!==(r=o.getItem(s))&&void 0!==r?r:{};if(d&&a&&a>Date.now()-78e4)return c("loaded agent embed data from storage"),n.updateResource(d),n;if(!d&&f){const e=u(a,f);if(e>Date.now())return void console.warn("Not loading virtual agent embed data, next retry at: ".concat(new Date(e)))}try{c("loading agent embed data from the API"),n.updateResource({slug:t}),await n.fetch()}catch(e){const t=u(Date.now(),f);return console.error("Unable to resolve virtual agent embed data. Next retry at ".concat(new Date(t)),e),void o.setItem(s,{iat:Date.now(),attempts:f+1})}return o.setItem(s,{resource:n.resource,iat:Date.now()}),n}}function u(e,t){return e+1e3*Math.min(Math.pow(2,t),900)}t.default=l},13177(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initializeVirtualAgent=async function(e,t){o("Loading virtual agent %s",e);const i=await n.default.load(t,e);if("elevenlabs"===(null==i?void 0:i.type())){const{loadElevenLabsWidget:e}=await r.e(660).then(r.bind(r,31475));await e(i,t)}},r(62953);var n=i(r(29516));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.VirtualAgent")},14162(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClientTracker=void 0,r(16280),r(18111),r(61701),r(62953);var n,i=(n=r(37007))&&n.__esModule?n:{default:n};function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap;class v extends i.default{constructor(e,t){let{interval:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{interval:3e3};super(),s(this,u,void 0),s(this,d,void 0),s(this,f,void 0),s(this,h,void 0),s(this,p,new Map),o(this,"ping",()=>{this.emit("ping",{id:a(u,this),instanceId:a(d,this),timeout:2*a(f,this)})}),o(this,"track",e=>{let{id:t,instanceId:r,timeout:n,agent:i}=e;if(this.id===t)return;const o=a(p,this).has(t);o||a(p,this).set(t,{instances:new Map,agent:i});const s=a(p,this).get(t),c=s.instances.get(r),l=setTimeout(()=>a(_,this).call(this,t,r),n||2*a(f,this));c&&clearTimeout(c.timeout),s.instances.set(r,{timestamp:new Date,timeout:l}),o||this.emit("join",{id:t,agent:i}),c||this.ping()}),s(this,_,(e,t)=>{const r=a(p,this).get(e);r.instances.delete(t),0===r.instances.size&&(a(p,this).delete(e),this.emit("leave",e))}),o(this,"all",()=>Array.from(a(p,this)).map(e=>{let[t,{agent:r}]=e;return{id:t,agent:r}})),o(this,"destroy",()=>{for(const e of a(p,this).values()){for(const t of e.instances.values())clearTimeout(t.timeout);e.instances.clear()}a(p,this).clear(),clearInterval(a(h,this)),this.removeAllListeners()}),c(u,this,e),c(d,this,t),c(f,this,r),c(h,this,setInterval(this.ping,r))}get id(){return a(u,this)}}t.ClientTracker=v},31762(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{static fromImage(e){const t=document.createElement("canvas");return t.width=e.width,t.height=e.height,t.getContext("2d").drawImage(e,0,0,t.width,t.height),this.fromCanvas(t)}static fromCanvas(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.3;if(1===t)return e.toDataURL?e.toDataURL("image/webp",r):null;const n=document.createElement("canvas"),i=n.getContext("2d");return n.width=e.width*t,n.height=e.height*t,i.drawImage(e,0,0,n.width,n.height),n.toDataURL("image/webp",r)}}},63976(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=void 0,t.Deferred=class{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}},18781(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(44114),r(18111),r(22489),t.default=class{constructor(e,t){this.rate=e,this.period=t,this._tracked=[]}limit(){const e=Date.now()-this.period;return this._tracked=this._tracked.filter(t=>t>e),!(this._tracked.length<this.rate&&(this._tracked.push(Date.now()),1))}}},44153(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(27495),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(25440),r(62953);var n,i=r(37007),o=(n=r(7350))&&n.__esModule?n:{default:n},s=r(42903);function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=(e,t)=>{try{t()}catch(t){console.warn("CobrowseIO: failed to apply tap",e,t)}};class l extends i.EventEmitter{constructor(){super(),a(this,"windows",new Set),a(this,"tap",e=>{if(this.windows.has(e))return;this.windows.add(e);const t=this;c("history.pushState",()=>{const r=e.history.pushState.bind(e.history);e.history.pushState=function(){const n=e.location.href;r(...arguments),t.emit("navigate",e,n)}}),c("history.replaceState",()=>{const r=e.history.replaceState.bind(e.history);e.history.replaceState=function(){const n=e.location.href;r(...arguments),t.emit("navigate",e,n)}}),c("CSSStyleSheet.insertRule",()=>{const{insertRule:r}=e.CSSStyleSheet.prototype;e.CSSStyleSheet.prototype.insertRule=function(){const e=r.bind(this)(...arguments);return t.emit("stylechange",this),e}}),c("CSSStyleSheet.deleteRule",()=>{const{deleteRule:r}=e.CSSStyleSheet.prototype;e.CSSStyleSheet.prototype.deleteRule=function(){const e=r.bind(this)(...arguments);return t.emit("stylechange",this),e}}),c("CSSStyleSheet.replace",()=>{const{replace:r}=e.CSSStyleSheet.prototype;e.CSSStyleSheet.prototype.replace=function(){const e=r.bind(this)(...arguments);return t.emit("stylechange",this),e}}),c("CSSStyleSheet.replaceSync",()=>{const{replaceSync:r}=e.CSSStyleSheet.prototype;e.CSSStyleSheet.prototype.replaceSync=function(){const e=r.bind(this)(...arguments);return t.emit("stylechange",this),e}}),c("Element.attachShadow",()=>{const{attachShadow:r}=e.Element.prototype;e.Element.prototype.attachShadow=function(e){const n=r.bind(this)(e);return t.emit("attachshadow",n),n}});const r=e=>{Object.getOwnPropertyNames(e.prototype).forEach(r=>{try{if("function"!=typeof e.prototype[r])return}catch(e){return}const n=e.prototype[r];e.prototype[r]=function(){return this.canvas.__cbio_emit_change||(this.canvas.__cbio_emit_change=(0,o.default)(e=>t.emit("canvaschange",e),500,{leading:!1,trailing:!0})),this.canvas.__cbio_emit_change(this.canvas),n.apply(this,arguments)}})};c("CanvasRenderingContext2D",()=>r(e.CanvasRenderingContext2D)),c("WebGLRenderingContext",()=>r(e.WebGLRenderingContext)),e.WebGL2RenderingContext&&c("WebGL2RenderingContext",()=>r(e.WebGL2RenderingContext)),c("HTMLSelectElement.value",()=>{(0,s.tapProperty)(e.HTMLSelectElement.prototype,"value",void 0,(e,r)=>(t.emit("selectchange",e),r))}),c("HTMLSelectElement.selectedIndex",()=>{(0,s.tapProperty)(e.HTMLSelectElement.prototype,"selectedIndex",void 0,(e,r)=>(t.emit("selectchange",e),r))}),c("HTMLOptionElement.selected",()=>{(0,s.tapProperty)(e.HTMLOptionElement.prototype,"selected",void 0,(e,r)=>{const n=e.closest("select");return n&&t.emit("selectchange",n),r})})}),a(this,"untap",()=>{}),this.setMaxListeners(200)}}t.default=new l},40923(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=async function(){n.NodeSerializer.isLocalResource(window.location.href)&&console.warn("CobrowseIO: This page was loaded from a local address, Cobrowse may not work as expected due to inaccessible resources. We recommend using ngrok for testing development versions.")};var n=r(66938)},42777(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRipple=function(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};!function(e,t){const r="".concat(e,"-").concat(t);if(i.has(r))return;const n=document.createElement("style");n.id="cbio_session_ripple_stylesheet_".concat(r),n.textContent="\n @keyframes cbio_session_ripple_effect-".concat(r," {\n 0% {\n transform: translate(-50%, -50%) scale(2);\n opacity: 1;\n }\n 100% {\n transform: translate(-50%, -50%) scale(").concat(t,");\n opacity: 0;\n }\n }\n .cbio_session_ripple-").concat(r," {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n position: absolute;\n z-index: 2147483647;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(").concat(t,");\n pointer-events: none;\n animation: cbio_session_ripple_effect-").concat(r," ").concat(e,"ms ease-out forwards;\n }\n "),document.head.appendChild(n),i.add(r)}(t,r);const s=(0,n.hexToRGB)(e,.25),a=document.createElement("div");return a.classList.add("cbio_session_ripple-".concat(t,"-").concat(r)),Object.assign(a.style,{backgroundColor:s},o),setTimeout(()=>{a.remove()},t),a},r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(98276);const i=new Set},38091(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.discoverNodes=function(e,t,r,i){const o=new Set(e.addedNodes?[].slice.call(e.addedNodes):[]);i.has(e.target)||t.add(e.target);for(const e of o)n.NodeTree.depthFirst(e,e=>{t.add(e),i.delete(e),r.add(e)});e.removedNodes&&[].slice.call(e.removedNodes).forEach(e=>{n.NodeTree.depthFirst(e,e=>{t.delete(e),r.delete(e),i.add(e)})})},r(18111),r(7588),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(66938)},1e4(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setFormAttribute=t.getFormAttribute=void 0,t.getFormAttribute=(e,t)=>Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,t).get.call(e),t.setFormAttribute=(e,t,r)=>Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,t).set.call(e,r)},37387(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCssText=void 0,r(18111),r(18237),t.getCssText=e=>{try{if(e.media&&e.media.length&&!window.matchMedia(e.media).matches)return""}catch(t){console.warn("CobrowseIO: Media detection for sheet failed:",t,"sheet",e)}return[].slice.call(e.cssRules).reduce((e,t)=>{try{return e+t.cssText}catch(t){return e}},"")}},97384(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollBarSize=function(){if(null==r){var e,t;const n=document.createElement("div");n.style.cssText="width: 100px; height: 100px; overflow: scroll; position: absolute; top: -500px; left: -500px; margin: 0px; padding: 0px; border: none;",null===(e=document.body)||void 0===e||e.appendChild(n),r=n.offsetWidth-n.clientWidth,null===(t=document.body)||void 0===t||t.removeChild(n)}return r};let r=null},98276(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToRGB=function(e,t){const r=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),i=parseInt(e.slice(5,7),16);return t?"rgba("+r+", "+n+", "+i+", "+t+")":"rgb("+r+", "+n+", "+i+")"}},56851(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.default;const n=[t?"access_token=".concat(t):null,"X-CobrowseSDKVersion=".concat(r.version),"X-CobrowsePlatform=web","X-CobrowseDevice=".concat(r.deviceId()),"X-CobrowseLicense=".concat(r.license)].filter(Boolean).join("&"),o=new URL(e,r.api).toString().replace("https://","wss://").replace("http://","ws://");return new URL("sockets/1/ws?".concat(n),o).toString()},r(27495),r(25440),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=(n=r(85620))&&n.__esModule?n:{default:n}},89103(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.mountComponent=void 0,r(16280);var n=r(50172);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.mountComponent=function(e,t){let{hideFromAgent:r=!1,hideFromVirtualAgent:i=!1,document:s=window.document}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=s.createElement("div");r&&a.classList.add("__cbio_ignored"),i&&a.classList.add("__cbio_virtual_agent_ignored");const c=a.attachShadow({mode:"open"}),l=()=>{(0,n.render)(null,c),s.body.contains(a)&&s.body.removeChild(a)},u=t=>{(0,n.render)((0,n.h)(e,o(o({},t),{},{unmount:l})),c)};u(t),s.body.appendChild(a);const d=s.createElement("style");return d.textContent=window.__cbio_sdk_styles,c.prepend(d),{container:a,unmount:l,rerender:u}}},18567(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseWindowFeatures=void 0,r(18111),r(18237),r(62953);const n=["true","yes",void 0],i=["false","no"];t.parseWindowFeatures=e=>"string"!=typeof e?{}:e.toLowerCase().split(",").reduce((e,t)=>{const[r,o]=t.split("=");return e[r]=n.indexOf(o)>=0||!(i.indexOf(o)>=0)&&o,e},{})},37609(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.protect=function(e,t,r){e[n]||Object.defineProperty(e,n,{enumerable:!1,value:{}});const i=e[n][t];return Object.getPrototypeOf(Object.getPrototypeOf(e))[t]=i,Object.defineProperty(e[n],t,{enumerable:!1,value:r,configurable:!0}),r},r(89463);const n=Symbol("protected");t.default=n},78981(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r="";for(let n=e;n>0;n-=1)r+=t[Math.floor(Math.random()*t.length)];return r};const r="abcdefghijklmnopqrstuvwxyz",n="".concat("0123456789").concat(r.toLowerCase()).concat(r.toUpperCase())},75632(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSelectorsForCurrentUrl=t.didSelectorsChange=void 0,r(46449),r(26910),r(93514),r(18111),r(81148),r(22489),r(61701),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n,i=r(42074),o=(n=r(11191))&&n.__esModule?n:{default:n};const s=()=>o.default.unproxify(window.location.href),a=(e,t)=>{if(!e)return e;const r=e.map(e=>"string"==typeof e?e:"object"==typeof e?Object.entries(e).filter(e=>{let[r]=e;return(0,i.createPatternMatcher)([r])(t)}).map(e=>{let[t,r]=e;return r}):null).filter(Boolean).flat(2);return[...new Set(r)]};t.resolveSelectorsForCurrentUrl=e=>{const t=s();return a(e,t)},t.didSelectorsChange=(e,t)=>{if(!e)return!1;if(!t)return!0;const r=a(e,t),n=a(e,s());if(r.length!==n.length)return!0;const i=[...r].sort(),o=[...n].sort();return!i.every((e,t)=>e===o[t])}},82117(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitNameFromTarget=void 0;const r=["_blank","_self","_parent","_top","_unfencedTop"];t.splitNameFromTarget=(e,t)=>e?r.includes(e)?{name:"",target:e}:{name:e,target:t}:{name:"",target:t}},42903(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tapProperty=void 0,r(18111),r(61701),t.tapProperty=(e,t,r,n)=>{const i=(e=>e.includes("-")?e.split("-").map((e,t)=>0===t?e.toLowerCase():(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())(e)).join(""):e)(t),o=Object.getOwnPropertyDescriptor(e,i).get,s=Object.getOwnPropertyDescriptor(e,i).set;Object.defineProperty(e,i,{get:function(){const e=o.call(this);return r?r(this,e):e},set:function(e){const t=n?n(this,null==e?void 0:e.toString()):null==e?void 0:e.toString();return s.call(this,t)}});const{getAttribute:a,setAttribute:c}=e;a&&(e.getAttribute=function(e){if((null==e?void 0:e.toLowerCase())===t.toLowerCase()){const t=a.apply(this,[e]);return r?r(this,t):t}return a.apply(this,[e])}),c&&(e.setAttribute=function(e,r){if(e.toLowerCase()===t.toLowerCase()){const t=n?n(this,null==r?void 0:r.toString()):null==r?void 0:r.toString();return c.apply(this,[e,t])}return c.apply(this,[e,r])})}},58325(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delta=function(e,t){return r[e]?e&&t?r[t]-r[e]:Date.now()-r[e]:NaN},t.mark=function(e){r[e]=Date.now()};const r={load:Date.now()}},58973(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{static isHeadless(){return navigator.userAgent.toLowerCase().includes("headless")}}},79883(e,t){"use strict";var r,n;let i;Object.defineProperty(t,"__esModule",{value:!0}),t.Node=t.MutationObserver=t.EventTarget=t.Event=t.Element=void 0;try{i=document.createElement("iframe"),document.documentElement.appendChild(i),i.style.display="none",i.className="__cbio_ignored",i.width=0,i.height=0}catch(e){console.warn("Failed to create unpolyfill iframe",e)}const{Node:o,Element:s,MutationObserver:a,Event:c,EventTarget:l}=null!==(r=null===(n=i)||void 0===n?void 0:n.contentWindow)&&void 0!==r?r:window;t.EventTarget=l,t.Event=c,t.MutationObserver=a,t.Element=s,t.Node=o},22292(e){function t(){for(var e,t=0,r="",n=arguments.length;t<n;t++)(e=arguments[t])&&"string"==typeof e&&(r+=(r&&" ")+e);return r}e.exports=t,e.exports.clsx=t},25454(e){"use strict";const{entries:t,setPrototypeOf:r,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:o}=Object;let{freeze:s,seal:a,create:c}=Object,{apply:l,construct:u}="undefined"!=typeof Reflect&&Reflect;s||(s=function(e){return e}),a||(a=function(e){return e}),l||(l=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return e.apply(t,n)}),u||(u=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});const d=C(Array.prototype.forEach),f=C(Array.prototype.lastIndexOf),h=C(Array.prototype.pop),p=C(Array.prototype.push),_=C(Array.prototype.splice),v=C(String.prototype.toLowerCase),E=C(String.prototype.toString),m=C(String.prototype.match),g=C(String.prototype.replace),y=C(String.prototype.indexOf),I=C(String.prototype.trim),w=C(Object.prototype.hasOwnProperty),b=C(RegExp.prototype.test),L=(S=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return u(S,t)});var S;function C(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return l(e,t,n)}}function A(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;r&&r(e,null);let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=i(r);e!==r&&(n(t)||(t[o]=e),r=e)}e[r]=!0}return e}function O(e){for(let t=0;t<e.length;t++)w(e,t)||(e[t]=null);return e}function N(e){const r=c(null);for(const[n,i]of t(e))w(e,n)&&(Array.isArray(i)?r[n]=O(i):i&&"object"==typeof i&&i.constructor===Object?r[n]=N(i):r[n]=i);return r}function T(e,t){for(;null!==e;){const r=o(e,t);if(r){if(r.get)return C(r.get);if("function"==typeof r.value)return C(r.value)}e=i(e)}return function(){return null}}const P=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),M=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),k=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),D=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),x=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),j=s(["#text"]),G=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),W=s(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),V=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),F=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\$\{[\w\W]*/gm),H=a(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=a(/^aria-[\-\w]+$/),Q=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=a(/^(?:\w+script|data):/i),K=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=a(/^html$/i),q=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:K,CUSTOM_ELEMENT:q,DATA_ATTR:H,DOCTYPE_NAME:X,ERB_EXPR:F,IS_ALLOWED_URI:Q,IS_SCRIPT_OR_DATA:J,MUSTACHE_EXPR:z,TMPLIT_EXPR:B});const $=function(){return"undefined"==typeof window?null:window};var ee=function e(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$();const n=t=>e(t);if(n.version="3.4.0",n.removed=[],!r||!r.document||9!==r.document.nodeType||!r.Element)return n.isSupported=!1,n;let{document:i}=r;const o=i,a=o.currentScript,{DocumentFragment:l,HTMLTemplateElement:u,Node:S,Element:C,NodeFilter:O,NamedNodeMap:z=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:F,DOMParser:B,trustedTypes:H}=r,Y=C.prototype,J=T(Y,"cloneNode"),K=T(Y,"remove"),q=T(Y,"nextSibling"),ee=T(Y,"childNodes"),te=T(Y,"parentNode");if("function"==typeof u){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let re,ne="";const{implementation:ie,createNodeIterator:oe,createDocumentFragment:se,getElementsByTagName:ae}=i,{importNode:ce}=o;let le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof t&&"function"==typeof te&&ie&&void 0!==ie.createHTMLDocument;const{MUSTACHE_EXPR:ue,ERB_EXPR:de,TMPLIT_EXPR:fe,DATA_ATTR:he,ARIA_ATTR:pe,IS_SCRIPT_OR_DATA:_e,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Ee}=Z;let{IS_ALLOWED_URI:me}=Z,ge=null;const ye=A({},[...P,...R,...M,...D,...j]);let Ie=null;const we=A({},[...G,...U,...W,...V]);let be=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Le=null,Se=null;const Ce=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ae=!0,Oe=!0,Ne=!1,Te=!0,Pe=!1,Re=!0,Me=!1,ke=!1,De=!1,xe=!1,je=!1,Ge=!1,Ue=!0,We=!1,Ve=!0,ze=!1,Fe={},Be=null;const He=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ye=null;const Qe=A({},["audio","video","img","source","image","track"]);let Je=null;const Ke=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xe="http://www.w3.org/1998/Math/MathML",qe="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml";let $e=Ze,et=!1,tt=null;const rt=A({},[Xe,qe,Ze],E);let nt=A({},["mi","mo","mn","ms","mtext"]),it=A({},["annotation-xml"]);const ot=A({},["title","style","font","a","script"]);let st=null;const at=["application/xhtml+xml","text/html"];let ct=null,lt=null;const ut=i.createElement("form"),dt=function(e){return e instanceof RegExp||e instanceof Function},ft=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!lt||lt!==e){if(e&&"object"==typeof e||(e={}),e=N(e),st=-1===at.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ct="application/xhtml+xml"===st?E:v,ge=w(e,"ALLOWED_TAGS")?A({},e.ALLOWED_TAGS,ct):ye,Ie=w(e,"ALLOWED_ATTR")?A({},e.ALLOWED_ATTR,ct):we,tt=w(e,"ALLOWED_NAMESPACES")?A({},e.ALLOWED_NAMESPACES,E):rt,Je=w(e,"ADD_URI_SAFE_ATTR")?A(N(Ke),e.ADD_URI_SAFE_ATTR,ct):Ke,Ye=w(e,"ADD_DATA_URI_TAGS")?A(N(Qe),e.ADD_DATA_URI_TAGS,ct):Qe,Be=w(e,"FORBID_CONTENTS")?A({},e.FORBID_CONTENTS,ct):He,Le=w(e,"FORBID_TAGS")?A({},e.FORBID_TAGS,ct):N({}),Se=w(e,"FORBID_ATTR")?A({},e.FORBID_ATTR,ct):N({}),Fe=!!w(e,"USE_PROFILES")&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Te=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Pe=e.SAFE_FOR_TEMPLATES||!1,Re=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,xe=e.RETURN_DOM||!1,je=e.RETURN_DOM_FRAGMENT||!1,Ge=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,Ue=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ve=!1!==e.KEEP_CONTENT,ze=e.IN_PLACE||!1,me=e.ALLOWED_URI_REGEXP||Q,$e=e.NAMESPACE||Ze,nt=e.MATHML_TEXT_INTEGRATION_POINTS||nt,it=e.HTML_INTEGRATION_POINTS||it,be=e.CUSTOM_ELEMENT_HANDLING||c(null),e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(be.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(be.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(be.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pe&&(Oe=!1),je&&(xe=!0),Fe&&(ge=A({},j),Ie=c(null),!0===Fe.html&&(A(ge,P),A(Ie,G)),!0===Fe.svg&&(A(ge,R),A(Ie,U),A(Ie,V)),!0===Fe.svgFilters&&(A(ge,M),A(Ie,U),A(Ie,V)),!0===Fe.mathMl&&(A(ge,D),A(Ie,W),A(Ie,V))),Ce.tagCheck=null,Ce.attributeCheck=null,e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Ce.tagCheck=e.ADD_TAGS:(ge===ye&&(ge=N(ge)),A(ge,e.ADD_TAGS,ct))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Ce.attributeCheck=e.ADD_ATTR:(Ie===we&&(Ie=N(Ie)),A(Ie,e.ADD_ATTR,ct))),e.ADD_URI_SAFE_ATTR&&A(Je,e.ADD_URI_SAFE_ATTR,ct),e.FORBID_CONTENTS&&(Be===He&&(Be=N(Be)),A(Be,e.FORBID_CONTENTS,ct)),e.ADD_FORBID_CONTENTS&&(Be===He&&(Be=N(Be)),A(Be,e.ADD_FORBID_CONTENTS,ct)),Ve&&(ge["#text"]=!0),Me&&A(ge,["html","head","body"]),ge.table&&(A(ge,["tbody"]),delete Le.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');re=e.TRUSTED_TYPES_POLICY,ne=re.createHTML("")}else void 0===re&&(re=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(H,a)),null!==re&&"string"==typeof ne&&(ne=re.createHTML(""));s&&s(e),lt=e}},ht=A({},[...R,...M,...k]),pt=A({},[...D,...x]),_t=function(e){p(n.removed,{element:e});try{te(e).removeChild(e)}catch(t){K(e)}},vt=function(e,t){try{p(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(xe||je)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Et=function(e){let t=null,r=null;if(De)e="<remove></remove>"+e;else{const t=m(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===st&&$e===Ze&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const n=re?re.createHTML(e):e;if($e===Ze)try{t=(new B).parseFromString(n,st)}catch(e){}if(!t||!t.documentElement){t=ie.createDocument($e,"template",null);try{t.documentElement.innerHTML=et?ne:n}catch(e){}}const o=t.body||t.documentElement;return e&&r&&o.insertBefore(i.createTextNode(r),o.childNodes[0]||null),$e===Ze?ae.call(t,Me?"html":"body")[0]:Me?t.documentElement:o},mt=function(e){return oe.call(e.ownerDocument||e,e,O.SHOW_ELEMENT|O.SHOW_COMMENT|O.SHOW_TEXT|O.SHOW_PROCESSING_INSTRUCTION|O.SHOW_CDATA_SECTION,null)},gt=function(e){return e instanceof F&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},yt=function(e){return"function"==typeof S&&e instanceof S};function It(e,t,r){d(e,e=>{e.call(n,t,r,lt)})}const wt=function(e){let t=null;if(It(le.beforeSanitizeElements,e,null),gt(e))return _t(e),!0;const r=ct(e.nodeName);if(It(le.uponSanitizeElement,e,{tagName:r,allowedTags:ge}),Re&&e.hasChildNodes()&&!yt(e.firstElementChild)&&b(/<[/\w!]/g,e.innerHTML)&&b(/<[/\w!]/g,e.textContent))return _t(e),!0;if(Re&&e.namespaceURI===Ze&&"style"===r&&yt(e.firstElementChild))return _t(e),!0;if(7===e.nodeType)return _t(e),!0;if(Re&&8===e.nodeType&&b(/<[/\w]/g,e.data))return _t(e),!0;if(Le[r]||!(Ce.tagCheck instanceof Function&&Ce.tagCheck(r))&&!ge[r]){if(!Le[r]&&Lt(r)){if(be.tagNameCheck instanceof RegExp&&b(be.tagNameCheck,r))return!1;if(be.tagNameCheck instanceof Function&&be.tagNameCheck(r))return!1}if(Ve&&!Be[r]){const t=te(e)||e.parentNode,r=ee(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const i=J(r[n],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,q(e))}}return _t(e),!0}return e instanceof C&&!function(e){let t=te(e);t&&t.tagName||(t={namespaceURI:$e,tagName:"template"});const r=v(e.tagName),n=v(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===qe?t.namespaceURI===Ze?"svg"===r:t.namespaceURI===Xe?"svg"===r&&("annotation-xml"===n||nt[n]):Boolean(ht[r]):e.namespaceURI===Xe?t.namespaceURI===Ze?"math"===r:t.namespaceURI===qe?"math"===r&&it[n]:Boolean(pt[r]):e.namespaceURI===Ze?!(t.namespaceURI===qe&&!it[n])&&!(t.namespaceURI===Xe&&!nt[n])&&!pt[r]&&(ot[r]||!ht[r]):!("application/xhtml+xml"!==st||!tt[e.namespaceURI]))}(e)?(_t(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(Pe&&3===e.nodeType&&(t=e.textContent,d([ue,de,fe],e=>{t=g(t,e," ")}),e.textContent!==t&&(p(n.removed,{element:e.cloneNode()}),e.textContent=t)),It(le.afterSanitizeElements,e,null),!1):(_t(e),!0)},bt=function(e,t,r){if(Se[t])return!1;if(Ue&&("id"===t||"name"===t)&&(r in i||r in ut))return!1;if(Oe&&!Se[t]&&b(he,t));else if(Ae&&b(pe,t));else if(Ce.attributeCheck instanceof Function&&Ce.attributeCheck(t,e));else if(!Ie[t]||Se[t]){if(!(Lt(e)&&(be.tagNameCheck instanceof RegExp&&b(be.tagNameCheck,e)||be.tagNameCheck instanceof Function&&be.tagNameCheck(e))&&(be.attributeNameCheck instanceof RegExp&&b(be.attributeNameCheck,t)||be.attributeNameCheck instanceof Function&&be.attributeNameCheck(t,e))||"is"===t&&be.allowCustomizedBuiltInElements&&(be.tagNameCheck instanceof RegExp&&b(be.tagNameCheck,r)||be.tagNameCheck instanceof Function&&be.tagNameCheck(r))))return!1}else if(Je[t]);else if(b(me,g(r,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(r,"data:")||!Ye[e])if(Ne&&!b(_e,g(r,ve,"")));else if(r)return!1;return!0},Lt=function(e){return"annotation-xml"!==e&&m(e,Ee)},St=function(e){It(le.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||gt(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ie,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:s,namespaceURI:a,value:c}=o,l=ct(s),u=c;let f="value"===s?u:I(u);if(r.attrName=l,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,It(le.uponSanitizeAttribute,e,r),f=r.attrValue,!We||"id"!==l&&"name"!==l||(vt(s,e),f="user-content-"+f),Re&&b(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){vt(s,e);continue}if("attributename"===l&&m(f,"href")){vt(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){vt(s,e);continue}if(!Te&&b(/\/>/i,f)){vt(s,e);continue}Pe&&d([ue,de,fe],e=>{f=g(f,e," ")});const p=ct(e.nodeName);if(bt(p,l,f)){if(re&&"object"==typeof H&&"function"==typeof H.getAttributeType)if(a);else switch(H.getAttributeType(p,l)){case"TrustedHTML":f=re.createHTML(f);break;case"TrustedScriptURL":f=re.createScriptURL(f)}if(f!==u)try{a?e.setAttributeNS(a,s,f):e.setAttribute(s,f),gt(e)?_t(e):h(n.removed)}catch(t){vt(s,e)}}else vt(s,e)}It(le.afterSanitizeAttributes,e,null)},Ct=function(e){let t=null;const r=mt(e);for(It(le.beforeSanitizeShadowDOM,e,null);t=r.nextNode();)It(le.uponSanitizeShadowNode,t,null),wt(t),St(t),t.content instanceof l&&Ct(t.content);It(le.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,a=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!yt(e)){if("function"!=typeof e.toString)throw L("toString is not a function");if("string"!=typeof(e=e.toString()))throw L("dirty is not a string, aborting")}if(!n.isSupported)return e;if(ke||ft(t),n.removed=[],"string"==typeof e&&(ze=!1),ze){if(e.nodeName){const t=ct(e.nodeName);if(!ge[t]||Le[t])throw L("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof S)r=Et("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!xe&&!Pe&&!Me&&-1===e.indexOf("<"))return re&&Ge?re.createHTML(e):e;if(r=Et(e),!r)return xe?null:Ge?ne:""}r&&De&&_t(r.firstChild);const c=mt(ze?e:r);for(;s=c.nextNode();)wt(s),St(s),s.content instanceof l&&Ct(s.content);if(ze)return e;if(xe){if(Pe){r.normalize();let e=r.innerHTML;d([ue,de,fe],t=>{e=g(e,t," ")}),r.innerHTML=e}if(je)for(a=se.call(r.ownerDocument);r.firstChild;)a.appendChild(r.firstChild);else a=r;return(Ie.shadowroot||Ie.shadowrootmode)&&(a=ce.call(o,a,!0)),a}let u=Me?r.outerHTML:r.innerHTML;return Me&&ge["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&b(X,r.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+u),Pe&&d([ue,de,fe],e=>{u=g(u,e," ")}),re&&Ge?re.createHTML(u):u},n.setConfig=function(){ft(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ke=!0},n.clearConfig=function(){lt=null,ke=!1},n.isValidAttribute=function(e,t,r){lt||ft({});const n=ct(e),i=ct(t);return bt(n,i,r)},n.addHook=function(e,t){"function"==typeof t&&p(le[e],t)},n.removeHook=function(e,t){if(void 0!==t){const r=f(le[e],t);return-1===r?void 0:_(le[e],r,1)[0]}return h(le[e])},n.removeHooks=function(e){le[e]=[]},n.removeAllHooks=function(){le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();e.exports=ee},37007(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}_(e,t,o,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&_(e,"error",t,{once:!0})}(e,i)})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var i,o,s,l;if(a(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"==typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(i=c(e))>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,l=u,console&&console.warn&&console.warn(l)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=u.bind(n);return i.listener=r,n.wrapFn=i,i}function f(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):p(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function _(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function i(o){n.once&&e.removeEventListener(t,i),r(o)})}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return c(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)n(c,this,t);else{var l=c.length,u=p(c,l);for(r=0;r<l;++r)n(u[r],this,t)}return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return a(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,o,s;if(a(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,s||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return f(this,e,!0)},o.prototype.rawListeners=function(e){return f(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},32017(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!==i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!==i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!==i--;){var s=o[i];if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}},37047(e){e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Expected a string");for(var r,n=String(e),i="",o=!!t&&!!t.extended,s=!!t&&!!t.globstar,a=!1,c=t&&"string"==typeof t.flags?t.flags:"",l=0,u=n.length;l<u;l++)switch(r=n[l]){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":i+="\\"+r;break;case"?":if(o){i+=".";break}case"[":case"]":if(o){i+=r;break}case"{":if(o){a=!0,i+="(";break}case"}":if(o){a=!1,i+=")";break}case",":if(a){i+="|";break}i+="\\"+r;break;case"*":for(var d=n[l-1],f=1;"*"===n[l+1];)f++,l++;var h=n[l+1];s?!(f>1)||"/"!==d&&void 0!==d||"/"!==h&&void 0!==h?i+="([^/]*)":(i+="((?:[^/]*(?:/|$))*)",l++):i+=".*";break;default:i+=r}return c&&~c.indexOf("g")||(i="^"+i+"$"),new RegExp(i,c)}},2733(e){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}return function t(r,n){function i(t,i,o){if("undefined"!=typeof document){"number"==typeof(o=e({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in o)o[a]&&(s+="; "+a,!0!==o[a]&&(s+="="+o[a].split(";")[0]));return document.cookie=t+"="+r.write(i,t)+s}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},i=0;i<t.length;i++){var o=t[i].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(n[a]=r.read(s,a),e===a)break}catch(e){}}return e?n[e]:n}},remove:function(t,r){i(t,"",e({},r,{expires:-1}))},withAttributes:function(r){return t(this.converter,e({},this.attributes,r))},withConverter:function(r){return t(e({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},55580(e,t,r){var n=r(56110)(r(9325),"DataView");e.exports=n},21549(e,t,r){var n=r(22032),i=r(63862),o=r(66721),s=r(12749),a=r(35749);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},80079(e,t,r){var n=r(63702),i=r(70080),o=r(24739),s=r(48655),a=r(31175);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},68223(e,t,r){var n=r(56110)(r(9325),"Map");e.exports=n},53661(e,t,r){var n=r(63040),i=r(17670),o=r(90289),s=r(4509),a=r(72949);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},32804(e,t,r){var n=r(56110)(r(9325),"Promise");e.exports=n},76545(e,t,r){var n=r(56110)(r(9325),"Set");e.exports=n},38859(e,t,r){var n=r(53661),i=r(31380),o=r(51459);function s(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=o,e.exports=s},37217(e,t,r){var n=r(80079),i=r(51420),o=r(90938),s=r(63605),a=r(29817),c=r(80945);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=s,l.prototype.has=a,l.prototype.set=c,e.exports=l},51873(e,t,r){var n=r(9325).Symbol;e.exports=n},37828(e,t,r){var n=r(9325).Uint8Array;e.exports=n},28303(e,t,r){var n=r(56110)(r(9325),"WeakMap");e.exports=n},91033(e){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},83729(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},79770(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}},70695(e,t,r){var n=r(78096),i=r(72428),o=r(56449),s=r(3656),a=r(30361),c=r(37167),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),u=!r&&i(e),d=!r&&!u&&s(e),f=!r&&!u&&!d&&c(e),h=r||u||d||f,p=h?n(e.length,String):[],_=p.length;for(var v in e)!t&&!l.call(e,v)||h&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,_))||p.push(v);return p}},34932(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},14528(e){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},14248(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},16547(e,t,r){var n=r(43360),i=r(75288),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];o.call(e,t)&&i(s,r)&&(void 0!==r||t in e)||n(e,t,r)}},26025(e,t,r){var n=r(75288);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},74733(e,t,r){var n=r(21791),i=r(95950);e.exports=function(e,t){return e&&n(t,i(t),e)}},43838(e,t,r){var n=r(21791),i=r(37241);e.exports=function(e,t){return e&&n(t,i(t),e)}},43360(e,t,r){var n=r(93243);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},9999(e,t,r){var n=r(37217),i=r(83729),o=r(16547),s=r(74733),a=r(43838),c=r(93290),l=r(23007),u=r(92271),d=r(48948),f=r(50002),h=r(83349),p=r(5861),_=r(76189),v=r(77199),E=r(35529),m=r(56449),g=r(3656),y=r(87730),I=r(23805),w=r(38440),b=r(95950),L=r(37241),S="[object Arguments]",C="[object Function]",A="[object Object]",O={};O[S]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[A]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[C]=O["[object WeakMap]"]=!1,e.exports=function e(t,r,N,T,P,R){var M,k=1&r,D=2&r,x=4&r;if(N&&(M=P?N(t,T,P,R):N(t)),void 0!==M)return M;if(!I(t))return t;var j=m(t);if(j){if(M=_(t),!k)return l(t,M)}else{var G=p(t),U=G==C||"[object GeneratorFunction]"==G;if(g(t))return c(t,k);if(G==A||G==S||U&&!P){if(M=D||U?{}:E(t),!k)return D?d(t,a(M,t)):u(t,s(M,t))}else{if(!O[G])return P?t:{};M=v(t,G,k)}}R||(R=new n);var W=R.get(t);if(W)return W;R.set(t,M),w(t)?t.forEach(function(n){M.add(e(n,r,N,n,t,R))}):y(t)&&t.forEach(function(n,i){M.set(i,e(n,r,N,i,t,R))});var V=j?void 0:(x?D?h:f:D?L:b)(t);return i(V||t,function(n,i){V&&(n=t[i=n]),o(M,i,e(n,r,N,i,t,R))}),M}},39344(e,t,r){var n=r(23805),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},83120(e,t,r){var n=r(14528),i=r(45891);e.exports=function e(t,r,o,s,a){var c=-1,l=t.length;for(o||(o=i),a||(a=[]);++c<l;){var u=t[c];r>0&&o(u)?r>1?e(u,r-1,o,s,a):n(a,u):s||(a[a.length]=u)}return a}},47422(e,t,r){var n=r(31769),i=r(77797);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},82199(e,t,r){var n=r(14528),i=r(56449);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},72552(e,t,r){var n=r(51873),i=r(659),o=r(59350),s=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},28077(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},27534(e,t,r){var n=r(72552),i=r(40346);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},60270(e,t,r){var n=r(87068),i=r(40346);e.exports=function e(t,r,o,s,a){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,s,e,a))}},87068(e,t,r){var n=r(37217),i=r(25911),o=r(21986),s=r(50689),a=r(5861),c=r(56449),l=r(3656),u=r(37167),d="[object Arguments]",f="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,_,v,E){var m=c(e),g=c(t),y=m?f:a(e),I=g?f:a(t),w=(y=y==d?h:y)==h,b=(I=I==d?h:I)==h,L=y==I;if(L&&l(e)){if(!l(t))return!1;m=!0,w=!1}if(L&&!w)return E||(E=new n),m||u(e)?i(e,t,r,_,v,E):o(e,t,y,r,_,v,E);if(!(1&r)){var S=w&&p.call(e,"__wrapped__"),C=b&&p.call(t,"__wrapped__");if(S||C){var A=S?e.value():e,O=C?t.value():t;return E||(E=new n),v(A,O,r,_,E)}}return!!L&&(E||(E=new n),s(e,t,r,_,v,E))}},29172(e,t,r){var n=r(5861),i=r(40346);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},41799(e,t,r){var n=r(37217),i=r(60270);e.exports=function(e,t,r,o){var s=r.length,a=s,c=!o;if(null==e)return!a;for(e=Object(e);s--;){var l=r[s];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++s<a;){var u=(l=r[s])[0],d=e[u],f=l[1];if(c&&l[2]){if(void 0===d&&!(u in e))return!1}else{var h=new n;if(o)var p=o(d,f,u,e,t,h);if(!(void 0===p?i(f,d,3,o,h):p))return!1}}return!0}},45083(e,t,r){var n=r(1882),i=r(87296),o=r(23805),s=r(47473),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?f:a).test(s(e))}},16038(e,t,r){var n=r(5861),i=r(40346);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},4901(e,t,r){var n=r(72552),i=r(30294),o=r(40346),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!s[n(e)]}},88984(e,t,r){var n=r(55527),i=r(3650),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},72903(e,t,r){var n=r(23805),i=r(55527),o=r(90181),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=i(e),r=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&r.push(a);return r}},76001(e,t,r){var n=r(97420),i=r(80631);e.exports=function(e,t){return n(e,t,function(t,r){return i(e,r)})}},97420(e,t,r){var n=r(47422),i=r(73170),o=r(31769);e.exports=function(e,t,r){for(var s=-1,a=t.length,c={};++s<a;){var l=t[s],u=n(e,l);r(u,l)&&i(c,o(l,e),u)}return c}},73170(e,t,r){var n=r(16547),i=r(31769),o=r(30361),s=r(23805),a=r(77797);e.exports=function(e,t,r,c){if(!s(e))return e;for(var l=-1,u=(t=i(t,e)).length,d=u-1,f=e;null!=f&&++l<u;){var h=a(t[l]),p=r;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(l!=d){var _=f[h];void 0===(p=c?c(_,h,f):void 0)&&(p=s(_)?_:o(t[l+1])?[]:{})}n(f,h,p),f=f[h]}return e}},19570(e,t,r){var n=r(37334),i=r(93243),o=r(83488),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=s},25160(e){e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},78096(e){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},77556(e,t,r){var n=r(51873),i=r(34932),o=r(56449),s=r(44394),a=n?n.prototype:void 0,c=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(s(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},54128(e,t,r){var n=r(31800),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},27301(e){e.exports=function(e){return function(t){return e(t)}}},19931(e,t,r){var n=r(31769),i=r(68090),o=r(68969),s=r(77797),a=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=-1,c=(t=n(t,e)).length;if(!c)return!0;for(;++r<c;){var l=s(t[r]);if("__proto__"===l&&!a.call(e,"__proto__"))return!1;if(("constructor"===l||"prototype"===l)&&r<c-1)return!1}var u=o(e,t);return null==u||delete u[s(i(t))]}},19219(e){e.exports=function(e,t){return e.has(t)}},31769(e,t,r){var n=r(56449),i=r(28586),o=r(61802),s=r(13222);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(s(e))}},49653(e,t,r){var n=r(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},93290(e,t,r){e=r.nmd(e);var n=r(9325),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?n.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}},76169(e,t,r){var n=r(49653);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},73201(e){var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},93736(e,t,r){var n=r(51873),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},71961(e,t,r){var n=r(49653);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},23007(e){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},21791(e,t,r){var n=r(16547),i=r(43360);e.exports=function(e,t,r,o){var s=!r;r||(r={});for(var a=-1,c=t.length;++a<c;){var l=t[a],u=o?o(r[l],e[l],l,r,e):void 0;void 0===u&&(u=e[l]),s?i(r,l,u):n(r,l,u)}return r}},92271(e,t,r){var n=r(21791),i=r(4664);e.exports=function(e,t){return n(e,i(e),t)}},48948(e,t,r){var n=r(21791),i=r(86375);e.exports=function(e,t){return n(e,i(e),t)}},55481(e,t,r){var n=r(9325)["__core-js_shared__"];e.exports=n},53138(e,t,r){var n=r(11331);e.exports=function(e){return n(e)?void 0:e}},93243(e,t,r){var n=r(56110),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},25911(e,t,r){var n=r(38859),i=r(14248),o=r(19219);e.exports=function(e,t,r,s,a,c){var l=1&r,u=e.length,d=t.length;if(u!=d&&!(l&&d>u))return!1;var f=c.get(e),h=c.get(t);if(f&&h)return f==t&&h==e;var p=-1,_=!0,v=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++p<u;){var E=e[p],m=t[p];if(s)var g=l?s(m,E,p,t,e,c):s(E,m,p,e,t,c);if(void 0!==g){if(g)continue;_=!1;break}if(v){if(!i(t,function(e,t){if(!o(v,t)&&(E===e||a(E,e,r,s,c)))return v.push(t)})){_=!1;break}}else if(E!==m&&!a(E,m,r,s,c)){_=!1;break}}return c.delete(e),c.delete(t),_}},21986(e,t,r){var n=r(51873),i=r(37828),o=r(75288),s=r(25911),a=r(20317),c=r(84247),l=n?n.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,r,n,l,d,f){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var p=1&n;if(h||(h=c),e.size!=t.size&&!p)return!1;var _=f.get(e);if(_)return _==t;n|=2,f.set(e,t);var v=s(h(e),h(t),n,l,d,f);return f.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},50689(e,t,r){var n=r(50002),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,s,a){var c=1&r,l=n(e),u=l.length;if(u!=n(t).length&&!c)return!1;for(var d=u;d--;){var f=l[d];if(!(c?f in t:i.call(t,f)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var _=!0;a.set(e,t),a.set(t,e);for(var v=c;++d<u;){var E=e[f=l[d]],m=t[f];if(o)var g=c?o(m,E,f,t,e,a):o(E,m,f,e,t,a);if(!(void 0===g?E===m||s(E,m,r,o,a):g)){_=!1;break}v||(v="constructor"==f)}if(_&&!v){var y=e.constructor,I=t.constructor;y==I||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof I&&I instanceof I||(_=!1)}return a.delete(e),a.delete(t),_}},38816(e,t,r){var n=r(35970),i=r(56757),o=r(32865);e.exports=function(e){return o(i(e,void 0,n),e+"")}},34840(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},50002(e,t,r){var n=r(82199),i=r(4664),o=r(95950);e.exports=function(e){return n(e,o,i)}},83349(e,t,r){var n=r(82199),i=r(86375),o=r(37241);e.exports=function(e){return n(e,o,i)}},12651(e,t,r){var n=r(74218);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},10776(e,t,r){var n=r(30756),i=r(95950);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],s=e[o];t[r]=[o,s,n(s)]}return t}},56110(e,t,r){var n=r(45083),i=r(10392);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},28879(e,t,r){var n=r(74335)(Object.getPrototypeOf,Object);e.exports=n},659(e,t,r){var n=r(51873),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var i=s.call(e);return n&&(t?e[a]=r:delete e[a]),i}},4664(e,t,r){var n=r(79770),i=r(63345),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),n(s(e),function(t){return o.call(e,t)}))}:i;e.exports=a},86375(e,t,r){var n=r(14528),i=r(28879),o=r(4664),s=r(63345),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:s;e.exports=a},5861(e,t,r){var n=r(55580),i=r(68223),o=r(32804),s=r(76545),a=r(28303),c=r(72552),l=r(47473),u="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",_=l(n),v=l(i),E=l(o),m=l(s),g=l(a),y=c;(n&&y(new n(new ArrayBuffer(1)))!=p||i&&y(new i)!=u||o&&y(o.resolve())!=d||s&&y(new s)!=f||a&&y(new a)!=h)&&(y=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?l(r):"";if(n)switch(n){case _:return p;case v:return u;case E:return d;case m:return f;case g:return h}return t}),e.exports=y},10392(e){e.exports=function(e,t){return null==e?void 0:e[t]}},49326(e,t,r){var n=r(31769),i=r(72428),o=r(56449),s=r(30361),a=r(30294),c=r(77797);e.exports=function(e,t,r){for(var l=-1,u=(t=n(t,e)).length,d=!1;++l<u;){var f=c(t[l]);if(!(d=null!=e&&r(e,f)))break;e=e[f]}return d||++l!=u?d:!!(u=null==e?0:e.length)&&a(u)&&s(f,u)&&(o(e)||i(e))}},22032(e,t,r){var n=r(81042);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},63862(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721(e,t,r){var n=r(81042),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},12749(e,t,r){var n=r(81042),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},35749(e,t,r){var n=r(81042);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},76189(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},77199(e,t,r){var n=r(49653),i=r(76169),o=r(73201),s=r(93736),a=r(71961);e.exports=function(e,t,r){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return i(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(e,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return o(e);case"[object Symbol]":return s(e)}}},35529(e,t,r){var n=r(39344),i=r(28879),o=r(55527);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},45891(e,t,r){var n=r(51873),i=r(72428),o=r(56449),s=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(s&&e&&e[s])}},30361(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},28586(e,t,r){var n=r(56449),i=r(44394),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}},74218(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296(e,t,r){var n,i=r(55481),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},55527(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},30756(e,t,r){var n=r(23805);e.exports=function(e){return e==e&&!n(e)}},63702(e){e.exports=function(){this.__data__=[],this.size=0}},70080(e,t,r){var n=r(26025),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():i.call(t,r,1),--this.size,0))}},24739(e,t,r){var n=r(26025);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},48655(e,t,r){var n=r(26025);e.exports=function(e){return n(this.__data__,e)>-1}},31175(e,t,r){var n=r(26025);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},63040(e,t,r){var n=r(21549),i=r(80079),o=r(68223);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},17670(e,t,r){var n=r(12651);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},90289(e,t,r){var n=r(12651);e.exports=function(e){return n(this,e).get(e)}},4509(e,t,r){var n=r(12651);e.exports=function(e){return n(this,e).has(e)}},72949(e,t,r){var n=r(12651);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},20317(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},62224(e,t,r){var n=r(50104);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},81042(e,t,r){var n=r(56110)(Object,"create");e.exports=n},3650(e,t,r){var n=r(74335)(Object.keys,Object);e.exports=n},90181(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},86009(e,t,r){e=r.nmd(e);var n=r(34840),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i&&n.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},59350(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335(e){e.exports=function(e,t){return function(r){return e(t(r))}}},56757(e,t,r){var n=r(91033),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),c=Array(a);++s<a;)c[s]=o[t+s];s=-1;for(var l=Array(t+1);++s<t;)l[s]=o[s];return l[t]=r(c),n(e,this,l)}}},68969(e,t,r){var n=r(47422),i=r(25160);e.exports=function(e,t){return t.length<2?e:n(e,i(t,0,-1))}},9325(e,t,r){var n=r(34840),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},31380(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459(e){e.exports=function(e){return this.__data__.has(e)}},84247(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},32865(e,t,r){var n=r(19570),i=r(51811)(n);e.exports=i},51811(e){var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},51420(e,t,r){var n=r(80079);e.exports=function(){this.__data__=new n,this.size=0}},90938(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},63605(e){e.exports=function(e){return this.__data__.get(e)}},29817(e){e.exports=function(e){return this.__data__.has(e)}},80945(e,t,r){var n=r(80079),i=r(68223),o=r(53661);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(s)}return r.set(e,t),this.size=r.size,this}},61802(e,t,r){var n=r(62224),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)}),t});e.exports=s},77797(e,t,r){var n=r(44394);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},47473(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31800(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},37334(e){e.exports=function(e){return function(){return e}}},38221(e,t,r){var n=r(23805),i=r(10124),o=r(99374),s=Math.max,a=Math.min;e.exports=function(e,t,r){var c,l,u,d,f,h,p=0,_=!1,v=!1,E=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var r=c,n=l;return c=l=void 0,p=t,d=e.apply(n,r)}function g(e){var r=e-h;return void 0===h||r>=t||r<0||v&&e-p>=u}function y(){var e=i();if(g(e))return I(e);f=setTimeout(y,function(e){var r=t-(e-h);return v?a(r,u-(e-p)):r}(e))}function I(e){return f=void 0,E&&c?m(e):(c=l=void 0,d)}function w(){var e=i(),r=g(e);if(c=arguments,l=this,h=e,r){if(void 0===f)return function(e){return p=e,f=setTimeout(y,t),_?m(e):d}(h);if(v)return clearTimeout(f),f=setTimeout(y,t),m(h)}return void 0===f&&(f=setTimeout(y,t)),d}return t=o(t)||0,n(r)&&(_=!!r.leading,u=(v="maxWait"in r)?s(o(r.maxWait)||0,t):u,E="trailing"in r?!!r.trailing:E),w.cancel=function(){void 0!==f&&clearTimeout(f),p=0,c=h=l=f=void 0},w.flush=function(){return void 0===f?d:I(i())},w}},75288(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970(e,t,r){var n=r(83120);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},80631(e,t,r){var n=r(28077),i=r(49326);e.exports=function(e,t){return null!=e&&i(e,t,n)}},83488(e){e.exports=function(e){return e}},72428(e,t,r){var n=r(27534),i=r(40346),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},56449(e){var t=Array.isArray;e.exports=t},64894(e,t,r){var n=r(1882),i=r(30294);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},3656(e,t,r){e=r.nmd(e);var n=r(9325),i=r(89935),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;e.exports=c},2404(e,t,r){var n=r(60270);e.exports=function(e,t){return n(e,t)}},1882(e,t,r){var n=r(72552),i=r(23805);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},87730(e,t,r){var n=r(29172),i=r(27301),o=r(86009),s=o&&o.isMap,a=s?i(s):n;e.exports=a},1045(e,t,r){var n=r(41799),i=r(10776);e.exports=function(e,t,r){return r="function"==typeof r?r:void 0,n(e,t,i(t),r)}},23805(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346(e){e.exports=function(e){return null!=e&&"object"==typeof e}},11331(e,t,r){var n=r(72552),i=r(28879),o=r(40346),s=Function.prototype,a=Object.prototype,c=s.toString,l=a.hasOwnProperty,u=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=l.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==u}},38440(e,t,r){var n=r(16038),i=r(27301),o=r(86009),s=o&&o.isSet,a=s?i(s):n;e.exports=a},44394(e,t,r){var n=r(72552),i=r(40346);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},37167(e,t,r){var n=r(4901),i=r(27301),o=r(86009),s=o&&o.isTypedArray,a=s?i(s):n;e.exports=a},95950(e,t,r){var n=r(70695),i=r(88984),o=r(64894);e.exports=function(e){return o(e)?n(e):i(e)}},37241(e,t,r){var n=r(70695),i=r(72903),o=r(64894);e.exports=function(e){return o(e)?n(e,!0):i(e)}},68090(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},50104(e,t,r){var n=r(53661);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},10124(e,t,r){var n=r(9325);e.exports=function(){return n.Date.now()}},90179(e,t,r){var n=r(34932),i=r(9999),o=r(19931),s=r(31769),a=r(21791),c=r(53138),l=r(38816),u=r(83349),d=l(function(e,t){var r={};if(null==e)return r;var l=!1;t=n(t,function(t){return t=s(t,e),l||(l=t.length>1),t}),a(e,u(e),r),l&&(r=i(r,7,c));for(var d=t.length;d--;)o(r,t[d]);return r});e.exports=d},44383(e,t,r){var n=r(76001),i=r(38816)(function(e,t){return null==e?{}:n(e,t)});e.exports=i},63345(e){e.exports=function(){return[]}},89935(e){e.exports=function(){return!1}},7350(e,t,r){var n=r(38221),i=r(23805);e.exports=function(e,t,r){var o=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,s="trailing"in r?!!r.trailing:s),n(e,t,{leading:o,maxWait:t,trailing:s})}},99374(e,t,r){var n=r(54128),i=r(23805),o=r(44394),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=a.test(e);return r||c.test(e)?l(e.slice(2),r?2:8):s.test(e)?NaN:+e}},13222(e,t,r){var n=r(77556);e.exports=function(e){return null==e?"":n(e)}},2143(e,t,r){"use strict";r.r(t)},53484(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={container:"CallControls-module__container___wUFxd",toggleContainer:"CallControls-module__toggleContainer___RRBVx",toggle:"CallControls-module__toggle___VVZ8_",toggleOff:"CallControls-module__toggleOff___ZmAQX",toggleOn:"CallControls-module__toggleOn___N0F_C",icon:"CallControls-module__icon___MMd56",end:"CallControls-module__end___tqUk1"}},90958(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={content:"CallDialog-module__content___s6HK_",header:"CallDialog-module__header___VRuIx",media:"CallDialog-module__media___oMk0K",body:"CallDialog-module__body___udSXs",title:"CallDialog-module__title___ZCk6c",description:"CallDialog-module__description___IrOYd",buttonContainer:"CallDialog-module__buttonContainer___qeBlR"}},90396(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={container:"CallParticipants-module__container___JHyh3",callControlsContainer:"CallParticipants-module__callControlsContainer___TBmXB",participantContainer:"CallParticipants-module__participantContainer___WEeET",participantSpeaking:"CallParticipants-module__participantSpeaking___aovg8",videoContainer:"CallParticipants-module__videoContainer___cuUmK",video:"CallParticipants-module__video___osVRK",videoOverlay:"CallParticipants-module__videoOverlay___x1yb0",statusContainer:"CallParticipants-module__statusContainer___Vrvvr",statusTitle:"CallParticipants-module__statusTitle___puKch",statusIcon:"CallParticipants-module__statusIcon____w42b",videoOverlayIcon:"CallParticipants-module__videoOverlayIcon___Fph1m"}},91398(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={content:"ConsentDialog-module__content___fUfL3",title:"ConsentDialog-module__title___MTrAq",body:"ConsentDialog-module__body___FtS5W",confirmation:"ConsentDialog-module__confirmation___v7fj3",description:"ConsentDialog-module__description___eSwUl",buttons:"ConsentDialog-module__buttons___nToO7"}},97294(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={previewContainer:"MediaPreview-module__previewContainer___hZF98",videoContainer:"MediaPreview-module__videoContainer____O8KD",video:"MediaPreview-module__video___DnVpX",videoOverlay:"MediaPreview-module__videoOverlay___Wy27K",videoOverlaySolid:"MediaPreview-module__videoOverlaySolid___Ifi1O",videoOverlayTransparent:"MediaPreview-module__videoOverlayTransparent___vPzQr",videoOverlayText:"MediaPreview-module__videoOverlayText___kzAHr",deviceContainer:"MediaPreview-module__deviceContainer___MEdwh",voiceVideoControls:"MediaPreview-module__voiceVideoControls___qTsRx",voiceVideoControlsToggle:"MediaPreview-module__voiceVideoControlsToggle___prGk3",voiceVideoControlsToggleOff:"MediaPreview-module__voiceVideoControlsToggleOff___ql_2k",voiceVideoControlsToggleOn:"MediaPreview-module__voiceVideoControlsToggleOn___URkye",voiceVideoControlsIcon:"MediaPreview-module__voiceVideoControlsIcon___yrQoV"}},35161(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={select:"NativeSelect-module__select___D4rUq",option:"NativeSelect-module__option___V2cMF",optionInGroup:"NativeSelect-module__optionInGroup___iIR0y",group:"NativeSelect-module__group___VI7JW",divider:"NativeSelect-module__divider___vxiJQ",optionIcon:"NativeSelect-module__optionIcon___hPiVP",optionSelect:"NativeSelect-module__optionSelect___iaamZ",optionDisable:"NativeSelect-module__optionDisable___wLnYC",optionHighlight:"NativeSelect-module__optionHighlight___huxZL"}},53983(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={sessionStateOverlay:"SessionStateOverlay-module__sessionStateOverlay___pCowu",endSessionButton:"SessionStateOverlay-module__endSessionButton___pUtd7",endSessionIcon:"SessionStateOverlay-module__endSessionIcon___vLhgE"}},2989(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={base:"Button-module__base___PvaYv",primary:"Button-module__primary___jyGbF",secondary:"Button-module__secondary___V1ksJ"}},64556(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={base:"IconButton-module__base___wAyLz"}},32704(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={container:"Modal-module__container___G4Twz",content:"Modal-module__content___tkuQp"}},9417(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={base:"Select-module__base___YM7TJ",noIcon:"Select-module__noIcon___nzh9A"}},59887(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={overlay:"HighlightOverlay-module__overlay___IwXTu",highlightOverlayFadeIn:"HighlightOverlay-module__highlightOverlayFadeIn___gxAX9",highlightOverlayPulse:"HighlightOverlay-module__highlightOverlayPulse___fW7eg",disableAnimations:"HighlightOverlay-module__disableAnimations___vQPvb"}},36e3(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={tooltip:"Tooltip-module__tooltip___IL4dx",tooltipVisible:"Tooltip-module__tooltipVisible___a7Zvs",tooltipTitle:"Tooltip-module__tooltipTitle___gG75M",tooltipArrow:"Tooltip-module__tooltipArrow___kPSXv"}},6585(e){var t=1e3,r=60*t,n=60*r,i=24*n,o=7*i;function s(e,t,r,n){var i=t>=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,a){a=a||{};var c,l,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(s){var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*o;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===u&&isFinite(e))return a.long?(c=e,(l=Math.abs(c))>=i?s(c,l,i,"day"):l>=n?s(c,l,n,"hour"):l>=r?s(c,l,r,"minute"):l>=t?s(c,l,t,"second"):c+" ms"):function(e){var o=Math.abs(e);return o>=i?Math.round(e/i)+"d":o>=n?Math.round(e/n)+"h":o>=r?Math.round(e/r)+"m":o>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},50172(e,t,r){"use strict";r.r(t),r.d(t,{Component:()=>N,Fragment:()=>O,cloneElement:()=>$,createContext:()=>ee,createElement:()=>S,createRef:()=>A,h:()=>S,hydrate:()=>Z,isValidElement:()=>s,options:()=>i,render:()=>q,toChildArray:()=>G});var n,i,o,s,a,c,l,u,d,f,h,p,_,v,E,m,g={},y=[],I=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w=Array.isArray;function b(e,t){for(var r in t)e[r]=t[r];return e}function L(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function S(e,t,r){var i,o,s,a={};for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];if(arguments.length>2&&(a.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===a[s]&&(a[s]=e.defaultProps[s]);return C(e,a,i,o,null)}function C(e,t,r,n,s){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==s?++o:s,__i:-1,__u:0};return null==s&&null!=i.vnode&&i.vnode(a),a}function A(){return{current:null}}function O(e){return e.children}function N(e,t){this.props=e,this.context=t}function T(e,t){if(null==t)return e.__?T(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?T(e):null}function P(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,n=[],o=[],s=b({},t);s.__v=t.__v+1,i.vnode&&i.vnode(s),F(e.__P,s,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,n,null==r?T(t):r,!!(32&t.__u),o),s.__v=t.__v,s.__.__k[s.__i]=s,H(n,s,o),t.__e=t.__=null,s.__e!=r&&R(s)}}function R(e){if(null!=(e=e.__)&&null!=e.__c)return e.__e=e.__c.base=null,e.__k.some(function(t){if(null!=t&&null!=t.__e)return e.__e=e.__c.base=t.__e}),R(e)}function M(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!k.__r++||c!=i.debounceRendering)&&((c=i.debounceRendering)||l)(k)}function k(){try{for(var e,t=1;a.length;)a.length>t&&a.sort(u),e=a.shift(),t=a.length,P(e)}finally{a.length=k.__r=0}}function D(e,t,r,n,i,o,s,a,c,l,u){var d,f,h,p,_,v,E,m=n&&n.__k||y,I=t.length;for(c=x(r,t,m,c,I),d=0;d<I;d++)null!=(h=r.__k[d])&&(f=-1!=h.__i&&m[h.__i]||g,h.__i=d,v=F(e,h,f,i,o,s,a,c,l,u),p=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&J(f.ref,null,h),u.push(h.ref,h.__c||p,h)),null==_&&null!=p&&(_=p),(E=!!(4&h.__u))||f.__k===h.__k?(c=j(h,c,e,E),E&&f.__e&&(f.__e=null)):"function"==typeof h.type&&void 0!==v?c=v:p&&(c=p.nextSibling),h.__u&=-7);return r.__e=_,c}function x(e,t,r,n,i){var o,s,a,c,l,u=r.length,d=u,f=0;for(e.__k=new Array(i),o=0;o<i;o++)null!=(s=t[o])&&"boolean"!=typeof s&&"function"!=typeof s?("string"==typeof s||"number"==typeof s||"bigint"==typeof s||s.constructor==String?s=e.__k[o]=C(null,s,null,null,null):w(s)?s=e.__k[o]=C(O,{children:s},null,null,null):void 0===s.constructor&&s.__b>0?s=e.__k[o]=C(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):e.__k[o]=s,c=o+f,s.__=e,s.__b=e.__b+1,a=null,-1!=(l=s.__i=U(s,r,c,d))&&(d--,(a=r[l])&&(a.__u|=2)),null==a||null==a.__v?(-1==l&&(i>u?f--:i<u&&f++),"function"!=typeof s.type&&(s.__u|=4)):l!=c&&(l==c-1?f--:l==c+1?f++:(l>c?f--:f++,s.__u|=4))):e.__k[o]=null;if(d)for(o=0;o<u;o++)null!=(a=r[o])&&!(2&a.__u)&&(a.__e==n&&(n=T(a)),K(a,a));return n}function j(e,t,r,n){var i,o;if("function"==typeof e.type){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=j(i[o],t,r,n));return t}e.__e!=t&&(n&&(t&&e.type&&!t.parentNode&&(t=T(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function G(e,t){return t=t||[],null==e||"boolean"==typeof e||(w(e)?e.some(function(e){G(e,t)}):t.push(e)),t}function U(e,t,r,n){var i,o,s,a=e.key,c=e.type,l=t[r],u=null!=l&&!(2&l.__u);if(null===l&&null==a||u&&a==l.key&&c==l.type)return r;if(n>(u?1:0))for(i=r-1,o=r+1;i>=0||o<t.length;)if(null!=(l=t[s=i>=0?i--:o++])&&!(2&l.__u)&&a==l.key&&c==l.type)return s;return-1}function W(e,t,r){"-"==t[0]?e.setProperty(t,null==r?"":r):e[t]=null==r?"":"number"!=typeof r||I.test(t)?r:r+"px"}function V(e,t,r,n,i){var o,s;e:if("style"==t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||W(e.style,t,"");if(r)for(t in r)n&&r[t]==n[t]||W(e.style,t,r[t])}else if("o"==t[0]&&"n"==t[1])o=t!=(t=t.replace(p,"$1")),s=t.toLowerCase(),t=s in e||"onFocusOut"==t||"onFocusIn"==t?s.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r[h]=n[h]:(r[h]=_,e.addEventListener(t,o?E:v,o)):e.removeEventListener(t,o?E:v,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==r?"":r;break e}catch(e){}"function"==typeof r||(null==r||!1===r&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==r?"":r))}}function z(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t[f])t[f]=_++;else if(t[f]<r[h])return;return r(i.event?i.event(t):t)}}}function F(e,t,r,n,o,s,a,c,l,u){var d,f,h,p,_,v,E,m,g,I,S,C,A,T,P,R=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(l=!!(32&r.__u),s=[c=t.__e=r.__e]),(d=i.__b)&&d(t);e:if("function"==typeof R)try{if(m=t.props,g=R.prototype&&R.prototype.render,I=(d=R.contextType)&&n[d.__c],S=d?I?I.props.value:d.__:n,r.__c?E=(f=t.__c=r.__c).__=f.__E:(g?t.__c=f=new R(m,S):(t.__c=f=new N(m,S),f.constructor=R,f.render=X),I&&I.sub(f),f.state||(f.state={}),f.__n=n,h=f.__d=!0,f.__h=[],f._sb=[]),g&&null==f.__s&&(f.__s=f.state),g&&null!=R.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=b({},f.__s)),b(f.__s,R.getDerivedStateFromProps(m,f.__s))),p=f.props,_=f.state,f.__v=t,h)g&&null==R.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),g&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(g&&null==R.getDerivedStateFromProps&&m!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(m,S),t.__v==r.__v||!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(m,f.__s,S)){t.__v!=r.__v&&(f.props=m,f.state=f.__s,f.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(e){e&&(e.__=t)}),y.push.apply(f.__h,f._sb),f._sb=[],f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(m,f.__s,S),g&&null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(p,_,v)})}if(f.context=S,f.props=m,f.__P=e,f.__e=!1,C=i.__r,A=0,g)f.state=f.__s,f.__d=!1,C&&C(t),d=f.render(f.props,f.state,f.context),y.push.apply(f.__h,f._sb),f._sb=[];else do{f.__d=!1,C&&C(t),d=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++A<25);f.state=f.__s,null!=f.getChildContext&&(n=b(b({},n),f.getChildContext())),g&&!h&&null!=f.getSnapshotBeforeUpdate&&(v=f.getSnapshotBeforeUpdate(p,_)),T=null!=d&&d.type===O&&null==d.key?Y(d.props.children):d,c=D(e,w(T)?T:[T],t,r,n,o,s,a,c,l,u),f.base=t.__e,t.__u&=-161,f.__h.length&&a.push(f),E&&(f.__E=f.__=null)}catch(e){if(t.__v=null,l||null!=s)if(e.then){for(t.__u|=l?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;s[s.indexOf(c)]=null,t.__e=c}else{for(P=s.length;P--;)L(s[P]);B(t)}else t.__e=r.__e,t.__k=r.__k,e.then||B(t);i.__e(e,t,r)}else null==s&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):c=t.__e=Q(r.__e,t,r,n,o,s,a,l,u);return(d=i.diffed)&&d(t),128&t.__u?void 0:c}function B(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(B))}function H(e,t,r){for(var n=0;n<r.length;n++)J(r[n],r[++n],r[++n]);i.__c&&i.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){i.__e(e,t.__v)}})}function Y(e){return"object"!=typeof e||null==e||e.__b>0?e:w(e)?e.map(Y):b({},e)}function Q(e,t,r,o,s,a,c,l,u){var d,f,h,p,_,v,E,m=r.props||g,y=t.props,I=t.type;if("svg"==I?s="http://www.w3.org/2000/svg":"math"==I?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),null!=a)for(d=0;d<a.length;d++)if((_=a[d])&&"setAttribute"in _==!!I&&(I?_.localName==I:3==_.nodeType)){e=_,a[d]=null;break}if(null==e){if(null==I)return document.createTextNode(y);e=document.createElementNS(s,I,y.is&&y),l&&(i.__m&&i.__m(t,a),l=!1),a=null}if(null==I)m===y||l&&e.data==y||(e.data=y);else{if(a=a&&n.call(e.childNodes),!l&&null!=a)for(m={},d=0;d<e.attributes.length;d++)m[(_=e.attributes[d]).name]=_.value;for(d in m)_=m[d],"dangerouslySetInnerHTML"==d?h=_:"children"==d||d in y||"value"==d&&"defaultValue"in y||"checked"==d&&"defaultChecked"in y||V(e,d,null,_,s);for(d in y)_=y[d],"children"==d?p=_:"dangerouslySetInnerHTML"==d?f=_:"value"==d?v=_:"checked"==d?E=_:l&&"function"!=typeof _||m[d]===_||V(e,d,_,m[d],s);if(f)l||h&&(f.__html==h.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(h&&(e.innerHTML=""),D("template"==t.type?e.content:e,w(p)?p:[p],t,r,o,"foreignObject"==I?"http://www.w3.org/1999/xhtml":s,a,c,a?a[0]:r.__k&&T(r,0),l,u),null!=a)for(d=a.length;d--;)L(a[d]);l||(d="value","progress"==I&&null==v?e.removeAttribute("value"):null!=v&&(v!==e[d]||"progress"==I&&!v||"option"==I&&v!=m[d])&&V(e,d,v,m[d],s),d="checked",null!=E&&E!=e[d]&&V(e,d,E,m[d],s))}return e}function J(e,t,r){try{if("function"==typeof e){var n="function"==typeof e.__u;n&&e.__u(),n&&null==t||(e.__u=e(t))}else e.current=t}catch(e){i.__e(e,r)}}function K(e,t,r){var n,o;if(i.unmount&&i.unmount(e),(n=e.ref)&&(n.current&&n.current!=e.__e||J(n,null,t)),null!=(n=e.__c)){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(e){i.__e(e,t)}n.base=n.__P=null}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&K(n[o],t,r||"function"!=typeof e.type);r||L(e.__e),e.__c=e.__=e.__e=void 0}function X(e,t,r){return this.constructor(e,r)}function q(e,t,r){var o,s,a,c;t==document&&(t=document.documentElement),i.__&&i.__(e,t),s=(o="function"==typeof r)?null:r&&r.__k||t.__k,a=[],c=[],F(t,e=(!o&&r||t).__k=S(O,null,[e]),s||g,g,t.namespaceURI,!o&&r?[r]:s?null:t.firstChild?n.call(t.childNodes):null,a,!o&&r?r:s?s.__e:t.firstChild,o,c),H(a,e,c)}function Z(e,t){q(e,t,Z)}function $(e,t,r){var i,o,s,a,c=b({},e.props);for(s in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==s?i=t[s]:"ref"==s?o=t[s]:c[s]=void 0===t[s]&&null!=a?a[s]:t[s];return arguments.length>2&&(c.children=arguments.length>3?n.call(arguments,2):r),C(e.type,c,i||e.key,o||e.ref,null)}function ee(e){function t(e){var r,n;return this.getChildContext||(r=new Set,(n={})[t.__c]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&r.forEach(function(e){e.__e=!0,M(e)})},this.sub=function(e){r.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){r&&r.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+m++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}n=y.slice,i={__e:function(e,t,r,n){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,n||{}),s=i.__d),s)return i.__E=i}catch(t){e=t}throw e}},o=0,s=function(e){return null!=e&&void 0===e.constructor},N.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=b({},this.state),"function"==typeof e&&(e=e(b({},r),this.props)),e&&b(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),M(this))},N.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),M(this))},N.prototype.render=O,a=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},k.__r=0,d=Math.random().toString(8),f="__d"+d,h="__a"+d,p=/(PointerCapture)$|Capture$/i,_=0,v=z(!1),E=z(!0),m=0},45994(e,t,r){"use strict";r.r(t),r.d(t,{useCallback:()=>S,useContext:()=>C,useDebugValue:()=>A,useEffect:()=>y,useErrorBoundary:()=>O,useId:()=>N,useImperativeHandle:()=>b,useLayoutEffect:()=>I,useMemo:()=>L,useReducer:()=>g,useRef:()=>w,useState:()=>m});var n,i,o,s,a=r(50172),c=0,l=[],u=a.options,d=u.__b,f=u.__r,h=u.diffed,p=u.__c,_=u.unmount,v=u.__;function E(e,t){u.__h&&u.__h(i,e,c||t),c=0;var r=i.__H||(i.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function m(e){return c=1,g(x,e)}function g(e,t,r){var o=E(n++,2);if(o.t=e,!o.__c&&(o.__=[r?r(t):x(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,e);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=i,!i.__f)){var s=function(e,t,r){if(!o.__c.__H)return!0;var n=o.__c.__H.__.filter(function(e){return e.__c});if(n.every(function(e){return!e.__N}))return!a||a.call(this,e,t,r);var i=o.__c.props!==e;return n.some(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),a&&a.call(this,e,t,r)||i};i.__f=!0;var a=i.shouldComponentUpdate,c=i.componentWillUpdate;i.componentWillUpdate=function(e,t,r){if(this.__e){var n=a;a=void 0,s(e,t,r),a=n}c&&c.call(this,e,t,r)},i.shouldComponentUpdate=s}return o.__N||o.__}function y(e,t){var r=E(n++,3);!u.__s&&D(r.__H,t)&&(r.__=e,r.u=t,i.__H.__h.push(r))}function I(e,t){var r=E(n++,4);!u.__s&&D(r.__H,t)&&(r.__=e,r.u=t,i.__h.push(r))}function w(e){return c=5,L(function(){return{current:e}},[])}function b(e,t,r){c=6,I(function(){if("function"==typeof e){var r=e(t());return function(){e(null),r&&"function"==typeof r&&r()}}if(e)return e.current=t(),function(){return e.current=null}},null==r?r:r.concat(e))}function L(e,t){var r=E(n++,7);return D(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function S(e,t){return c=8,L(function(){return e},t)}function C(e){var t=i.context[e.__c],r=E(n++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(i)),t.props.value):e.__}function A(e,t){u.useDebugValue&&u.useDebugValue(t?t(e):e)}function O(e){var t=E(n++,10),r=m();return t.__=e,i.componentDidCatch||(i.componentDidCatch=function(e,n){t.__&&t.__(e,n),r[1](e)}),[r[0],function(){r[1](void 0)}]}function N(){var e=E(n++,11);if(!e.__){for(var t=i.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function T(){for(var e;e=l.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(M),t.__h.some(k),t.__h=[]}catch(r){t.__h=[],u.__e(r,e.__v)}}}u.__b=function(e){i=null,d&&d(e)},u.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),v&&v(e,t)},u.__r=function(e){f&&f(e),n=0;var t=(i=e.__c).__H;t&&(o===i?(t.__h=[],i.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(M),t.__h.some(k),t.__h=[],n=0)),o=i},u.diffed=function(e){h&&h(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==l.push(t)&&s===u.requestAnimationFrame||((s=u.requestAnimationFrame)||R)(T)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),o=i=null},u.__c=function(e,t){t.some(function(e){try{e.__h.some(M),e.__h=e.__h.filter(function(e){return!e.__||k(e)})}catch(r){t.some(function(e){e.__h&&(e.__h=[])}),t=[],u.__e(r,e.__v)}}),p&&p(e,t)},u.unmount=function(e){_&&_(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(e){try{M(e)}catch(e){t=e}}),r.__H=void 0,t&&u.__e(t,r.__v))};var P="function"==typeof requestAnimationFrame;function R(e){var t,r=function(){clearTimeout(n),P&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);P&&(t=requestAnimationFrame(r))}function M(e){var t=i,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),i=t}function k(e){var t=i;e.__c=e.__(),i=t}function D(e,t){return!e||e.length!==t.length||t.some(function(t,r){return t!==e[r]})}function x(e,t){return"function"==typeof t?t(e):t}},10201(e,t,r){"use strict";r.r(t),r.d(t,{Fragment:()=>n.Fragment,jsx:()=>l,jsxAttr:()=>h,jsxDEV:()=>l,jsxEscape:()=>p,jsxTemplate:()=>u,jsxs:()=>l});var n=r(50172),i=/["&<]/;function o(e){if(0===e.length||!1===i.test(e))return e;for(var t=0,r=0,n="",o="";r<e.length;r++){switch(e.charCodeAt(r)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}r!==t&&(n+=e.slice(t,r)),n+=o,t=r+1}return r!==t&&(n+=e.slice(t,r)),n}var s=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,a=0,c=Array.isArray;function l(e,t,r,i,o,s){t||(t={});var c,l,u=t;if("ref"in u)for(l in u={},t)"ref"==l?c=t[l]:u[l]=t[l];var d={type:e,props:u,key:r,ref:c,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--a,__i:-1,__u:0,__source:o,__self:s};if("function"==typeof e&&(c=e.defaultProps))for(l in c)void 0===u[l]&&(u[l]=c[l]);return n.options.vnode&&n.options.vnode(d),d}function u(e){var t=l(n.Fragment,{tpl:e,exprs:[].slice.call(arguments,1)});return t.key=t.__v,t}var d={},f=/[A-Z]/g;function h(e,t){if(n.options.attr){var r=n.options.attr(e,t);if("string"==typeof r)return r}if(t=null!==(i=t)&&"object"==typeof i&&"function"==typeof i.valueOf?i.valueOf():i,"ref"===e||"key"===e)return"";var i;if("style"===e&&"object"==typeof t){var a="";for(var c in t){var l=t[c];if(null!=l&&""!==l){var u="-"==c[0]?c:d[c]||(d[c]=c.replace(f,"-$&").toLowerCase()),h=";";"number"!=typeof l||u.startsWith("--")||s.test(u)||(h="px;"),a=a+u+":"+l+h}}return e+'="'+o(a)+'"'}return null==t||!1===t||"function"==typeof t||"object"==typeof t?"":!0===t?e:e+'="'+o(""+t)+'"'}function p(e){if(null==e||"boolean"==typeof e||"function"==typeof e)return null;if("object"==typeof e){if(void 0===e.constructor)return e;if(c(e)){for(var t=0;t<e.length;t++)e[t]=p(e[t]);return e}}return o(""+e)}},52098(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNCcgaGVpZ2h0PScyNCcgdmlld0JveD0nMCAwIDI0IDI0JyBmaWxsPSdub25lJyBzdHJva2U9J2N1cnJlbnRDb2xvcicgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPgogIDxwYXRoIHN0cm9rZT0nbm9uZScgZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScvPjxwYXRoIGQ9J002IDlsNiA2bDYgLTYnIC8+Cjwvc3ZnPg=="},49020(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNCcgaGVpZ2h0PScyNCcgdmlld0JveD0nMCAwIDI0IDI0JyBmaWxsPSdub25lJyBzdHJva2U9J2N1cnJlbnRDb2xvcicgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPgogIDxwYXRoIHN0cm9rZT0nbm9uZScgZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScgLz48cGF0aCBkPSdNOSAybTAgM2EzIDMgMCAwIDEgMyAtM2gwYTMgMyAwIDAgMSAzIDN2NWEzIDMgMCAwIDEgLTMgM2gwYTMgMyAwIDAgMSAtMyAtM3onIC8+PHBhdGggZD0nTTUgMTBhNyA3IDAgMCAwIDE0IDAnIC8+PHBhdGggZD0nTTggMjFsOCAwJyAvPjxwYXRoIGQ9J00xMiAxN2wwIDQnIC8+Cjwvc3ZnPg=="},64053(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNCcgaGVpZ2h0PScyNCcgdmlld0JveD0nMCAwIDI0IDI0JyBmaWxsPSdub25lJyBzdHJva2U9J2N1cnJlbnRDb2xvcicgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPgogIDxwYXRoIHN0cm9rZT0nbm9uZScgZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScgLz48cGF0aCBkPSdNMTUgMTBsNC41NTMgLTIuMjc2YTEgMSAwIDAgMSAxLjQ0NyAuODk0djYuNzY0YTEgMSAwIDAgMSAtMS40NDcgLjg5NGwtNC41NTMgLTIuMjc2di00eicgLz48cGF0aCBkPSdNMyA2bTAgMmEyIDIgMCAwIDEgMiAtMmg4YTIgMiAwIDAgMSAyIDJ2OGEyIDIgMCAwIDEgLTIgMmgtOGEyIDIgMCAwIDEgLTIgLTJ6JyAvPgo8L3N2Zz4="},9978(e){"use strict";e.exports="data:image/svg+xml;base64,ICA8c3ZnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zycgd2lkdGg9JzI0JyBoZWlnaHQ9JzI0JyB2aWV3Qm94PScwIDAgMjQgMjQnIGZpbGw9J25vbmUnIHN0cm9rZT0nY3VycmVudENvbG9yJyBzdHJva2Utd2lkdGg9JzInIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCc+PHBhdGggc3Ryb2tlPSdub25lJyBkPSdNMCAwaDI0djI0SDB6JyBmaWxsPSdub25lJyAvPgogICAgPHBhdGggZD0nTTE1IDhhNSA1IDAgMCAxIDAgOCcgLz48cGF0aCBkPSdNMTcuNyA1YTkgOSAwIDAgMSAwIDE0JyAvPjxwYXRoIGQ9J002IDE1aC0yYTEgMSAwIDAgMSAtMSAtMXYtNGExIDEgMCAwIDEgMSAtMWgybDMuNSAtNC41YS44IC44IDAgMCAxIDEuNSAuNXYxNGEuOCAuOCAwIDAgMSAtMS41IC41bC0zLjUgLTQuNScgLz4KICA8L3N2Zz4="},79306(e,t,r){"use strict";var n=r(94901),i=r(16823),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},35548(e,t,r){"use strict";var n=r(33517),i=r(16823),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a constructor")}},73506(e,t,r){"use strict";var n=r(13925),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},97080(e,t,r){"use strict";var n=r(94402).has;e.exports=function(e){return n(e),e}},63463(e){"use strict";var t=TypeError;e.exports=function(e){if("string"==typeof e)return e;throw new t("Argument is not a string")}},6469(e,t,r){"use strict";var n=r(78227),i=r(2360),o=r(24913).f,s=n("unscopables"),a=Array.prototype;void 0===a[s]&&o(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},57829(e,t,r){"use strict";var n=r(68183).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},90679(e,t,r){"use strict";var n=r(1625),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},83972(e,t,r){"use strict";var n=r(20034),i=String,o=TypeError;e.exports=function(e){if(void 0===e||n(e))return e;throw new o(i(e)+" is not an object or undefined")}},28551(e,t,r){"use strict";var n=r(20034),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},34154(e,t,r){"use strict";var n=r(36955),i=TypeError;e.exports=function(e){if("Uint8Array"===n(e))return e;throw new i("Argument is not an Uint8Array")}},77811(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},67394(e,t,r){"use strict";var n=r(44576),i=r(46706),o=r(22195),s=n.ArrayBuffer,a=n.TypeError;e.exports=s&&i(s.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==o(e))throw new a("ArrayBuffer expected");return e.byteLength}},3238(e,t,r){"use strict";var n=r(44576),i=r(77811),o=r(67394),s=n.DataView;e.exports=function(e){if(!i||0!==o(e))return!1;try{return new s(e),!1}catch(e){return!0}}},55169(e,t,r){"use strict";var n=r(3238),i=TypeError;e.exports=function(e){if(n(e))throw new i("ArrayBuffer is detached");return e}},95636(e,t,r){"use strict";var n=r(44576),i=r(79504),o=r(46706),s=r(57696),a=r(55169),c=r(67394),l=r(94483),u=r(1548),d=n.structuredClone,f=n.ArrayBuffer,h=n.DataView,p=Math.min,_=f.prototype,v=h.prototype,E=i(_.slice),m=o(_,"resizable","get"),g=o(_,"maxByteLength","get"),y=i(v.getInt8),I=i(v.setInt8);e.exports=(u||l)&&function(e,t,r){var n,i=c(e),o=void 0===t?i:s(t),_=!m||!m(e);if(a(e),u&&(e=d(e,{transfer:[e]}),i===o&&(r||_)))return e;if(i>=o&&(!r||_))n=E(e,0,o);else{var v=r&&!_&&g?{maxByteLength:g(e)}:void 0;n=new f(o,v);for(var w=new h(e),b=new h(n),L=p(o,i),S=0;S<L;S++)I(b,S,y(w,S))}return u||l(e),n}},94644(e,t,r){"use strict";var n,i,o,s=r(77811),a=r(43724),c=r(44576),l=r(94901),u=r(20034),d=r(39297),f=r(36955),h=r(16823),p=r(66699),_=r(36840),v=r(62106),E=r(1625),m=r(42787),g=r(52967),y=r(78227),I=r(33392),w=r(91181),b=w.enforce,L=w.get,S=c.Int8Array,C=S&&S.prototype,A=c.Uint8ClampedArray,O=A&&A.prototype,N=S&&m(S),T=C&&m(C),P=Object.prototype,R=c.TypeError,M=y("toStringTag"),k=I("TYPED_ARRAY_TAG"),D="TypedArrayConstructor",x=s&&!!g&&"Opera"!==f(c.opera),j=!1,G={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},W=function(e){var t=m(e);if(u(t)){var r=L(t);return r&&d(r,D)?r[D]:W(t)}},V=function(e){if(!u(e))return!1;var t=f(e);return d(G,t)||d(U,t)};for(n in G)(o=(i=c[n])&&i.prototype)?b(o)[D]=i:x=!1;for(n in U)(o=(i=c[n])&&i.prototype)&&(b(o)[D]=i);if((!x||!l(N)||N===Function.prototype)&&(N=function(){throw new R("Incorrect invocation")},x))for(n in G)c[n]&&g(c[n],N);if((!x||!T||T===P)&&(T=N.prototype,x))for(n in G)c[n]&&g(c[n].prototype,T);if(x&&m(O)!==T&&g(O,T),a&&!d(T,M))for(n in j=!0,v(T,M,{configurable:!0,get:function(){return u(this)?this[k]:void 0}}),G)c[n]&&p(c[n],k,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:x,TYPED_ARRAY_TAG:j&&k,aTypedArray:function(e){if(V(e))return e;throw new R("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!g||E(N,e)))return e;throw new R(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(a){if(r)for(var i in G){var o=c[i];if(o&&d(o.prototype,e))try{delete o.prototype[e]}catch(r){try{o.prototype[e]=t}catch(e){}}}T[e]&&!r||_(T,e,r?t:x&&C[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(a){if(g){if(r)for(n in G)if((i=c[n])&&d(i,e))try{delete i[e]}catch(e){}if(N[e]&&!r)return;try{return _(N,e,r?t:x&&N[e]||t)}catch(e){}}for(n in G)!(i=c[n])||i[e]&&!r||_(i,e,t)}},getTypedArrayConstructor:W,isView:function(e){if(!u(e))return!1;var t=f(e);return"DataView"===t||d(G,t)||d(U,t)},isTypedArray:V,TypedArray:N,TypedArrayPrototype:T}},66346(e,t,r){"use strict";var n=r(44576),i=r(79504),o=r(43724),s=r(77811),a=r(10350),c=r(66699),l=r(62106),u=r(56279),d=r(79039),f=r(90679),h=r(91291),p=r(18014),_=r(57696),v=r(15617),E=r(88490),m=r(42787),g=r(52967),y=r(84373),I=r(67680),w=r(23167),b=r(77740),L=r(10687),S=r(91181),C=a.PROPER,A=a.CONFIGURABLE,O="ArrayBuffer",N="DataView",T="prototype",P="Wrong index",R=S.getterFor(O),M=S.getterFor(N),k=S.set,D=n[O],x=D,j=x&&x[T],G=n[N],U=G&&G[T],W=Object.prototype,V=n.Array,z=n.RangeError,F=i(y),B=i([].reverse),H=E.pack,Y=E.unpack,Q=function(e){return[255&e]},J=function(e){return[255&e,e>>8&255]},K=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},X=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},q=function(e){return H(v(e),23,4)},Z=function(e){return H(e,52,8)},$=function(e,t,r){l(e[T],t,{configurable:!0,get:function(){return r(this)[t]}})},ee=function(e,t,r,n){var i=M(e),o=_(r),s=!!n;if(o+t>i.byteLength)throw new z(P);var a=i.bytes,c=o+i.byteOffset,l=I(a,c,c+t);return s?l:B(l)},te=function(e,t,r,n,i,o){var s=M(e),a=_(r),c=n(+i),l=!!o;if(a+t>s.byteLength)throw new z(P);for(var u=s.bytes,d=a+s.byteOffset,f=0;f<t;f++)u[d+f]=c[l?f:t-f-1]};if(s){var re=C&&D.name!==O;d(function(){D(1)})&&d(function(){new D(-1)})&&!d(function(){return new D,new D(1.5),new D(NaN),1!==D.length||re&&!A})?re&&A&&c(D,"name",O):((x=function(e){return f(this,j),w(new D(_(e)),this,x)})[T]=j,j.constructor=x,b(x,D)),g&&m(U)!==W&&g(U,W);var ne=new G(new x(2)),ie=i(U.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||u(U,{setInt8:function(e,t){ie(this,e,t<<24>>24)},setUint8:function(e,t){ie(this,e,t<<24>>24)}},{unsafe:!0})}else j=(x=function(e){f(this,j);var t=_(e);k(this,{type:O,bytes:F(V(t),0),byteLength:t}),o||(this.byteLength=t,this.detached=!1)})[T],U=(G=function(e,t,r){f(this,U),f(e,j);var n=R(e),i=n.byteLength,s=h(t);if(s<0||s>i)throw new z("Wrong offset");if(s+(r=void 0===r?i-s:p(r))>i)throw new z("Wrong length");k(this,{type:N,buffer:e,byteLength:r,byteOffset:s,bytes:n.bytes}),o||(this.buffer=e,this.byteLength=r,this.byteOffset=s)})[T],o&&($(x,"byteLength",R),$(G,"buffer",M),$(G,"byteLength",M),$(G,"byteOffset",M)),u(U,{getInt8:function(e){return ee(this,1,e)[0]<<24>>24},getUint8:function(e){return ee(this,1,e)[0]},getInt16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return X(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return X(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return Y(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return Y(ee(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){te(this,1,e,Q,t)},setUint8:function(e,t){te(this,1,e,Q,t)},setInt16:function(e,t){te(this,2,e,J,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){te(this,2,e,J,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){te(this,4,e,K,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){te(this,4,e,K,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){te(this,4,e,q,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){te(this,8,e,Z,t,arguments.length>2&&arguments[2])}});L(x,O),L(G,N),e.exports={ArrayBuffer:x,DataView:G}},84373(e,t,r){"use strict";var n=r(48981),i=r(35610),o=r(26198);e.exports=function(e){for(var t=n(this),r=o(t),s=arguments.length,a=i(s>1?arguments[1]:void 0,r),c=s>2?arguments[2]:void 0,l=void 0===c?r:i(c,r);l>a;)t[a++]=e;return t}},35370(e,t,r){"use strict";var n=r(26198);e.exports=function(e,t,r){for(var i=0,o=arguments.length>2?r:n(t),s=new e(o);o>i;)s[i]=t[i++];return s}},97916(e,t,r){"use strict";var n=r(76080),i=r(69565),o=r(48981),s=r(96319),a=r(44209),c=r(33517),l=r(26198),u=r(97040),d=r(70081),f=r(50851),h=Array;e.exports=function(e){var t=o(e),r=c(this),p=arguments.length,_=p>1?arguments[1]:void 0,v=void 0!==_;v&&(_=n(_,p>2?arguments[2]:void 0));var E,m,g,y,I,w,b=f(t),L=0;if(!b||this===h&&a(b))for(E=l(t),m=r?new this(E):h(E);E>L;L++)w=v?_(t[L],L):t[L],u(m,L,w);else for(m=r?new this:[],I=(y=d(t,b)).next;!(g=i(I,y)).done;L++)w=v?s(y,_,[g.value,L],!0):g.value,u(m,L,w);return m.length=L,m}},19617(e,t,r){"use strict";var n=r(25397),i=r(35610),o=r(26198),s=function(e){return function(t,r,s){var a=n(t),c=o(a);if(0===c)return!e&&-1;var l,u=i(s,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},43839(e,t,r){"use strict";var n=r(76080),i=r(47055),o=r(48981),s=r(26198),a=function(e){var t=1===e;return function(r,a,c){for(var l,u=o(r),d=i(u),f=s(d),h=n(a,c);f-- >0;)if(h(l=d[f],f,u))switch(e){case 0:return l;case 1:return f}return t?-1:void 0}};e.exports={findLast:a(0),findLastIndex:a(1)}},59213(e,t,r){"use strict";var n=r(76080),i=r(79504),o=r(47055),s=r(48981),a=r(26198),c=r(1469),l=i([].push),u=function(e){var t=1===e,r=2===e,i=3===e,u=4===e,d=6===e,f=7===e,h=5===e||d;return function(p,_,v,E){for(var m,g,y=s(p),I=o(y),w=a(I),b=n(_,v),L=0,S=E||c,C=t?S(p,w):r||f?S(p,0):void 0;w>L;L++)if((h||L in I)&&(g=b(m=I[L],L,y),e))if(t)C[L]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return L;case 2:l(C,m)}else switch(e){case 4:return!1;case 7:l(C,m)}return d?-1:i||u?u:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},34598(e,t,r){"use strict";var n=r(79039);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},34527(e,t,r){"use strict";var n=r(43724),i=r(34376),o=TypeError,s=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!s(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},67680(e,t,r){"use strict";var n=r(79504);e.exports=n([].slice)},74488(e,t,r){"use strict";var n=r(67680),i=Math.floor,o=function(e,t){var r=e.length;if(r<8)for(var s,a,c=1;c<r;){for(a=c,s=e[c];a&&t(e[a-1],s)>0;)e[a]=e[--a];a!==c++&&(e[a]=s)}else for(var l=i(r/2),u=o(n(e,0,l),t),d=o(n(e,l),t),f=u.length,h=d.length,p=0,_=0;p<f||_<h;)e[p+_]=p<f&&_<h?t(u[p],d[_])<=0?u[p++]:d[_++]:p<f?u[p++]:d[_++];return e};e.exports=o},87433(e,t,r){"use strict";var n=r(34376),i=r(33517),o=r(20034),s=r(78227)("species"),a=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===a||n(t.prototype))||o(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?a:t}},1469(e,t,r){"use strict";var n=r(87433);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},37628(e,t,r){"use strict";var n=r(26198);e.exports=function(e,t){for(var r=n(e),i=new t(r),o=0;o<r;o++)i[o]=e[r-o-1];return i}},39928(e,t,r){"use strict";var n=r(26198),i=r(91291),o=RangeError;e.exports=function(e,t,r,s){var a=n(e),c=i(r),l=c<0?a+c:c;if(l>=a||l<0)throw new o("Incorrect index");for(var u=new t(a),d=0;d<a;d++)u[d]=d===l?s:e[d];return u}},92804(e){"use strict";var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t+"+/",n=t+"-_",i=function(e){for(var t={},r=0;r<64;r++)t[e.charAt(r)]=r;return t};e.exports={i2c:r,c2i:i(r),i2cUrl:n,c2iUrl:i(n)}},96319(e,t,r){"use strict";var n=r(28551),i=r(9539);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},84428(e,t,r){"use strict";var n=r(78227)("iterator"),i=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){i=!0}};s[n]=function(){return this},Array.from(s,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(e){}return r}},22195(e,t,r){"use strict";var n=r(79504),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},36955(e,t,r){"use strict";var n=r(92140),i=r(94901),o=r(22195),s=r(78227)("toStringTag"),a=Object,c="Arguments"===o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?r:c?o(t):"Object"===(n=o(t))&&i(t.callee)?"Arguments":n}},77740(e,t,r){"use strict";var n=r(39297),i=r(35031),o=r(77347),s=r(24913);e.exports=function(e,t,r){for(var a=i(t),c=s.f,l=o.f,u=0;u<a.length;u++){var d=a[u];n(e,d)||r&&n(r,d)||c(e,d,l(t,d))}}},12211(e,t,r){"use strict";var n=r(79039);e.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},62529(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},66699(e,t,r){"use strict";var n=r(43724),i=r(24913),o=r(6980);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},6980(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},97040(e,t,r){"use strict";var n=r(43724),i=r(24913),o=r(6980);e.exports=function(e,t,r){n?i.f(e,t,o(0,r)):e[t]=r}},62106(e,t,r){"use strict";var n=r(50283),i=r(24913);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},36840(e,t,r){"use strict";var n=r(94901),i=r(24913),o=r(50283),s=r(39433);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&o(r,l,a),a.global)c?e[t]=r:s(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},56279(e,t,r){"use strict";var n=r(36840);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},39433(e,t,r){"use strict";var n=r(44576),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},84606(e,t,r){"use strict";var n=r(16823),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+n(t)+" of "+n(e))}},43724(e,t,r){"use strict";var n=r(79039);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},94483(e,t,r){"use strict";var n,i,o,s,a=r(44576),c=r(89429),l=r(1548),u=a.structuredClone,d=a.ArrayBuffer,f=a.MessageChannel,h=!1;if(l)h=function(e){u(e,{transfer:[e]})};else if(d)try{f||(n=c("worker_threads"))&&(f=n.MessageChannel),f&&(i=new f,o=new d(2),s=function(e){i.port1.postMessage(null,[e])},2===o.byteLength&&(s(o),0===o.byteLength&&(h=s)))}catch(e){}e.exports=h},4055(e,t,r){"use strict";var n=r(44576),i=r(20034),o=n.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},96837(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},55002(e){"use strict";e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},67400(e){"use strict";e.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}},79296(e,t,r){"use strict";var n=r(4055)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},88727(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},13709(e,t,r){"use strict";var n=r(82839).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},13763(e,t,r){"use strict";var n=r(82839);e.exports=/MSIE|Trident/.test(n)},38574(e,t,r){"use strict";var n=r(84215);e.exports="NODE"===n},82839(e,t,r){"use strict";var n=r(44576).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},39519(e,t,r){"use strict";var n,i,o=r(44576),s=r(82839),a=o.process,c=o.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},3607(e,t,r){"use strict";var n=r(82839).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},84215(e,t,r){"use strict";var n=r(44576),i=r(82839),o=r(22195),s=function(e){return i.slice(0,e.length)===e};e.exports=s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},16193(e,t,r){"use strict";var n=r(79504),i=Error,o=n("".replace),s=String(new i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(s);e.exports=function(e,t){if(c&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,a,"");return e}},80747(e,t,r){"use strict";var n=r(66699),i=r(16193),o=r(24659),s=Error.captureStackTrace;e.exports=function(e,t,r,a){o&&(s?s(e,t):n(e,"stack",i(r,a)))}},24659(e,t,r){"use strict";var n=r(79039),i=r(6980);e.exports=!n(function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)})},77536(e,t,r){"use strict";var n=r(43724),i=r(79039),o=r(28551),s=r(32603),a=Error.prototype.toString,c=i(function(){if(n){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==a.call(e))return!0}return"2: 1"!==a.call({message:1,name:2})||"Error"!==a.call({})});e.exports=c?function(){var e=o(this),t=s(e.name,"Error"),r=s(e.message);return t?r?t+": "+r:t:r}:a},46518(e,t,r){"use strict";var n=r(44576),i=r(77347).f,o=r(66699),s=r(36840),a=r(39433),c=r(77740),l=r(92796);e.exports=function(e,t){var r,u,d,f,h,p=e.target,_=e.global,v=e.stat;if(r=_?n:v?n[p]||a(p,{}):n[p]&&n[p].prototype)for(u in t){if(f=t[u],d=e.dontCallGetSet?(h=i(r,u))&&h.value:r[u],!l(_?u:p+(v?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),s(r,u,f,e)}}},79039(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},89228(e,t,r){"use strict";r(27495);var n=r(69565),i=r(36840),o=r(57323),s=r(79039),a=r(78227),c=r(66699),l=a("species"),u=RegExp.prototype;e.exports=function(e,t,r,d){var f=a(e),h=!s(function(){var t={};return t[f]=function(){return 7},7!==""[e](t)}),p=h&&!s(function(){var t=!1,r=/a/;if("split"===e){var n={};n[l]=function(){return r},(r={constructor:n,flags:""})[f]=/./[f]}return r.exec=function(){return t=!0,null},r[f](""),!t});if(!h||!p||r){var _=/./[f],v=t(f,""[e],function(e,t,r,i,s){var a=t.exec;return a===o||a===u.exec?h&&!s?{done:!0,value:n(_,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}});i(String.prototype,e,v[0]),i(u,f,v[1])}d&&c(u[f],"sham",!0)}},70259(e,t,r){"use strict";var n=r(34376),i=r(26198),o=r(96837),s=r(76080),a=function(e,t,r,c,l,u,d,f){for(var h,p,_=l,v=0,E=!!d&&s(d,f);v<c;)v in r&&(h=E?E(r[v],v,t):r[v],u>0&&n(h)?(p=i(h),_=a(e,t,h,p,_,u-1)-1):(o(_+1),e[_]=h),_++),v++;return _};e.exports=a},18745(e,t,r){"use strict";var n=r(40616),i=Function.prototype,o=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},76080(e,t,r){"use strict";var n=r(27476),i=r(79306),o=r(40616),s=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},40616(e,t,r){"use strict";var n=r(79039);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},69565(e,t,r){"use strict";var n=r(40616),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},10350(e,t,r){"use strict";var n=r(43724),i=r(39297),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},46706(e,t,r){"use strict";var n=r(79504),i=r(79306);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},27476(e,t,r){"use strict";var n=r(22195),i=r(79504);e.exports=function(e){if("Function"===n(e))return i(e)}},79504(e,t,r){"use strict";var n=r(40616),i=Function.prototype,o=i.call,s=n&&i.bind.bind(o,o);e.exports=n?s:function(e){return function(){return o.apply(e,arguments)}}},944(e){"use strict";var t=TypeError;e.exports=function(e){var r=e&&e.alphabet;if(void 0===r||"base64"===r||"base64url"===r)return r||"base64";throw new t("Incorrect `alphabet` option")}},89429(e,t,r){"use strict";var n=r(44576),i=r(38574);e.exports=function(e){if(i){try{return n.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},97751(e,t,r){"use strict";var n=r(44576),i=r(94901);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},1767(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},50851(e,t,r){"use strict";var n=r(36955),i=r(55966),o=r(64117),s=r(26269),a=r(78227)("iterator");e.exports=function(e){if(!o(e))return i(e,a)||i(e,"@@iterator")||s[n(e)]}},70081(e,t,r){"use strict";var n=r(69565),i=r(79306),o=r(28551),s=r(16823),a=r(50851),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return o(n(r,e));throw new c(s(e)+" is not iterable")}},55966(e,t,r){"use strict";var n=r(79306),i=r(64117);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},83789(e,t,r){"use strict";var n=r(79306),i=r(28551),o=r(69565),s=r(91291),a=r(1767),c="Invalid size",l=RangeError,u=TypeError,d=Math.max,f=function(e,t){this.set=e,this.size=d(t,0),this.has=n(e.has),this.keys=n(e.keys)};f.prototype={getIterator:function(){return a(i(o(this.keys,this.set)))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw new u(c);var r=s(t);if(r<0)throw new l(c);return new f(e,r)}},2478(e,t,r){"use strict";var n=r(79504),i=r(48981),o=Math.floor,s=n("".charAt),a=n("".replace),c=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,d,f){var h=r+e.length,p=n.length,_=u;return void 0!==d&&(d=i(d),_=l),a(f,_,function(i,a){var l;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,h);case"<":l=d[c(a,1,-1)];break;default:var u=+a;if(0===u)return i;if(u>p){var f=o(u/10);return 0===f?i:f<=p?void 0===n[f-1]?s(a,1):n[f-1]+s(a,1):i}l=n[u-1]}return void 0===l?"":l})}},44576(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39297(e,t,r){"use strict";var n=r(79504),i=r(48981),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},30421(e){"use strict";e.exports={}},20397(e,t,r){"use strict";var n=r(97751);e.exports=n("document","documentElement")},35917(e,t,r){"use strict";var n=r(43724),i=r(79039),o=r(4055);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},88490(e){"use strict";var t=Array,r=Math.abs,n=Math.pow,i=Math.floor,o=Math.log,s=Math.LN2;e.exports={pack:function(e,a,c){var l,u,d,f=t(c),h=8*c-a-1,p=(1<<h)-1,_=p>>1,v=23===a?n(2,-24)-n(2,-77):0,E=e<0||0===e&&1/e<0?1:0,m=0;for((e=r(e))!=e||e===1/0?(u=e!=e?1:0,l=p):(l=i(o(e)/s),e*(d=n(2,-l))<1&&(l--,d*=2),(e+=l+_>=1?v/d:v*n(2,1-_))*d>=2&&(l++,d/=2),l+_>=p?(u=0,l=p):l+_>=1?(u=(e*d-1)*n(2,a),l+=_):(u=e*n(2,_-1)*n(2,a),l=0));a>=8;)f[m++]=255&u,u/=256,a-=8;for(l=l<<a|u,h+=a;h>0;)f[m++]=255&l,l/=256,h-=8;return f[m-1]|=128*E,f},unpack:function(e,t){var r,i=e.length,o=8*i-t-1,s=(1<<o)-1,a=s>>1,c=o-7,l=i-1,u=e[l--],d=127&u;for(u>>=7;c>0;)d=256*d+e[l--],c-=8;for(r=d&(1<<-c)-1,d>>=-c,c+=t;c>0;)r=256*r+e[l--],c-=8;if(0===d)d=1-a;else{if(d===s)return r?NaN:u?-1/0:1/0;r+=n(2,t),d-=a}return(u?-1:1)*r*n(2,d-t)}}},47055(e,t,r){"use strict";var n=r(79504),i=r(79039),o=r(22195),s=Object,a=n("".split);e.exports=i(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"===o(e)?a(e,""):s(e)}:s},23167(e,t,r){"use strict";var n=r(94901),i=r(20034),o=r(52967);e.exports=function(e,t,r){var s,a;return o&&n(s=t.constructor)&&s!==r&&i(a=s.prototype)&&a!==r.prototype&&o(e,a),e}},33706(e,t,r){"use strict";var n=r(79504),i=r(94901),o=r(77629),s=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},77584(e,t,r){"use strict";var n=r(20034),i=r(66699);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},91181(e,t,r){"use strict";var n,i,o,s=r(58622),a=r(44576),c=r(20034),l=r(66699),u=r(39297),d=r(77629),f=r(66119),h=r(30421),p="Object already initialized",_=a.TypeError,v=a.WeakMap;if(s||d.state){var E=d.state||(d.state=new v);E.get=E.get,E.has=E.has,E.set=E.set,n=function(e,t){if(E.has(e))throw new _(p);return t.facade=e,E.set(e,t),t},i=function(e){return E.get(e)||{}},o=function(e){return E.has(e)}}else{var m=f("state");h[m]=!0,n=function(e,t){if(u(e,m))throw new _(p);return t.facade=e,l(e,m,t),t},i=function(e){return u(e,m)?e[m]:{}},o=function(e){return u(e,m)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw new _("Incompatible receiver, "+e+" required");return r}}}},44209(e,t,r){"use strict";var n=r(78227),i=r(26269),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},34376(e,t,r){"use strict";var n=r(22195);e.exports=Array.isArray||function(e){return"Array"===n(e)}},18727(e,t,r){"use strict";var n=r(36955);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},94901(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},33517(e,t,r){"use strict";var n=r(79504),i=r(79039),o=r(94901),s=r(36955),a=r(97751),c=r(33706),l=function(){},u=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=n(d.exec),h=!d.test(l),p=function(e){if(!o(e))return!1;try{return u(l,[],e),!0}catch(e){return!1}},_=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(d,c(e))}catch(e){return!0}};_.sham=!0,e.exports=!u||i(function(){var e;return p(p.call)||!p(Object)||!p(function(){e=!0})||e})?_:p},92796(e,t,r){"use strict";var n=r(79039),i=r(94901),o=/#|\.prototype\./,s=function(e,t){var r=c[a(e)];return r===u||r!==l&&(i(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},2087(e,t,r){"use strict";var n=r(20034),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},64117(e){"use strict";e.exports=function(e){return null==e}},20034(e,t,r){"use strict";var n=r(94901);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},13925(e,t,r){"use strict";var n=r(20034);e.exports=function(e){return n(e)||null===e}},96395(e){"use strict";e.exports=!1},65810(e,t,r){"use strict";var n=r(20034),i=r(91181).get;e.exports=function(e){if(!n(e))return!1;var t=i(e);return!!t&&"RawJSON"===t.type}},60788(e,t,r){"use strict";var n=r(20034),i=r(22195),o=r(78227)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},10757(e,t,r){"use strict";var n=r(97751),i=r(94901),o=r(1625),s=r(7040),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,a(e))}},40507(e,t,r){"use strict";var n=r(69565);e.exports=function(e,t,r){for(var i,o,s=r?e:e.iterator,a=e.next;!(i=n(a,s)).done;)if(void 0!==(o=t(i.value)))return o}},72652(e,t,r){"use strict";var n=r(76080),i=r(69565),o=r(28551),s=r(16823),a=r(44209),c=r(26198),l=r(1625),u=r(70081),d=r(50851),f=r(9539),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},_=p.prototype;e.exports=function(e,t,r){var v,E,m,g,y,I,w,b=r&&r.that,L=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),C=!(!r||!r.IS_ITERATOR),A=!(!r||!r.INTERRUPTED),O=n(t,b),N=function(e){return v&&f(v,"normal"),new p(!0,e)},T=function(e){return L?(o(e),A?O(e[0],e[1],N):O(e[0],e[1])):A?O(e,N):O(e)};if(S)v=e.iterator;else if(C)v=e;else{if(!(E=d(e)))throw new h(s(e)+" is not iterable");if(a(E)){for(m=0,g=c(e);g>m;m++)if((y=T(e[m]))&&l(_,y))return y;return new p(!1)}v=u(e,E)}for(I=S?e.next:v.next;!(w=i(I,v)).done;){try{y=T(w.value)}catch(e){f(v,"throw",e)}if("object"==typeof y&&y&&l(_,y))return y}return new p(!1)}},91385(e,t,r){"use strict";var n=r(9539);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},9539(e,t,r){"use strict";var n=r(69565),i=r(28551),o=r(55966);e.exports=function(e,t,r){var s,a;i(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return i(s),r}},33994(e,t,r){"use strict";var n=r(57657).IteratorPrototype,i=r(2360),o=r(6980),s=r(10687),a=r(26269),c=function(){return this};e.exports=function(e,t,r,l){var u=t+" Iterator";return e.prototype=i(n,{next:o(+!l,r)}),s(e,u,!1,!0),a[u]=c,e}},19462(e,t,r){"use strict";var n=r(69565),i=r(2360),o=r(66699),s=r(56279),a=r(78227),c=r(91181),l=r(55966),u=r(57657).IteratorPrototype,d=r(62529),f=r(9539),h=r(91385),p=a("toStringTag"),_="IteratorHelper",v="WrapForValidIterator",E="normal",m="throw",g=c.set,y=function(e){var t=c.getterFor(e?v:_);return s(i(u),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return d(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:d(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var o=l(i,"return");return o?n(o,i):d(void 0,!0)}if(r.inner)try{f(r.inner.iterator,E)}catch(e){return f(i,m,e)}if(r.openIters)try{h(r.openIters,E)}catch(e){return f(i,m,e)}return i&&f(i,E),d(void 0,!0)}})},I=y(!0),w=y(!1);o(w,p,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?v:_,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,g(this,i)};return n.prototype=t?I:w,n}},51088(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(96395),s=r(10350),a=r(94901),c=r(33994),l=r(42787),u=r(52967),d=r(10687),f=r(66699),h=r(36840),p=r(78227),_=r(26269),v=r(57657),E=s.PROPER,m=s.CONFIGURABLE,g=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,I=p("iterator"),w="keys",b="values",L="entries",S=function(){return this};e.exports=function(e,t,r,s,p,v,C){c(r,t,s);var A,O,N,T=function(e){if(e===p&&D)return D;if(!y&&e&&e in M)return M[e];switch(e){case w:case b:case L:return function(){return new r(this,e)}}return function(){return new r(this)}},P=t+" Iterator",R=!1,M=e.prototype,k=M[I]||M["@@iterator"]||p&&M[p],D=!y&&k||T(p),x="Array"===t&&M.entries||k;if(x&&(A=l(x.call(new e)))!==Object.prototype&&A.next&&(o||l(A)===g||(u?u(A,g):a(A[I])||h(A,I,S)),d(A,P,!0,!0),o&&(_[P]=S)),E&&p===b&&k&&k.name!==b&&(!o&&m?f(M,"name",b):(R=!0,D=function(){return i(k,this)})),p)if(O={values:T(b),keys:v?D:T(w),entries:T(L)},C)for(N in O)(y||R||!(N in M))&&h(M,N,O[N]);else n({target:t,proto:!0,forced:y||R},O);return o&&!C||M[I]===D||h(M,I,D,{name:p}),_[t]=D,O}},30684(e){"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},84549(e,t,r){"use strict";var n=r(44576);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,o=i&&i[e],s=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return o}},57657(e,t,r){"use strict";var n,i,o,s=r(79039),a=r(94901),c=r(20034),l=r(2360),u=r(42787),d=r(36840),f=r(78227),h=r(96395),p=f("iterator"),_=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(n=i):_=!0),!c(n)||s(function(){var e={};return n[p].call(e)!==e})?n={}:h&&(n=l(n)),a(n[p])||d(n,p,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:_}},26269(e){"use strict";e.exports={}},26198(e,t,r){"use strict";var n=r(18014);e.exports=function(e){return n(e.length)}},50283(e,t,r){"use strict";var n=r(79504),i=r(79039),o=r(94901),s=r(39297),a=r(43724),c=r(10350).CONFIGURABLE,l=r(33706),u=r(91181),d=u.enforce,f=u.get,h=String,p=Object.defineProperty,_=n("".slice),v=n("".replace),E=n([].join),m=a&&!i(function(){return 8!==p(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=e.exports=function(e,t,r){"Symbol("===_(h(t),0,7)&&(t="["+v(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),m&&r&&s(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return s(n,"source")||(n.source=E(g,"string"==typeof t?t:"")),e};Function.prototype.toString=y(function(){return o(this)&&f(this).source||l(this)},"toString")},33164(e,t,r){"use strict";var n=r(77782),i=r(53602),o=Math.abs;e.exports=function(e,t,r,s){var a=+e,c=o(a),l=n(a);if(c<s)return l*i(c/s/t)*s*t;var u=(1+t/2220446049250313e-31)*c,d=u-(u-c);return d>r||d!=d?l*(1/0):l*d}},15617(e,t,r){"use strict";var n=r(33164);e.exports=Math.fround||function(e){return n(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},53602(e){"use strict";var t=4503599627370496;e.exports=function(e){return e+t-t}},77782(e){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},80741(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},27819(e,t,r){"use strict";var n=r(79039);e.exports=!n(function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e})},36043(e,t,r){"use strict";var n=r(79306),i=TypeError,o=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},32603(e,t,r){"use strict";var n=r(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},44213(e,t,r){"use strict";var n=r(43724),i=r(79504),o=r(69565),s=r(79039),a=r(71072),c=r(33717),l=r(48773),u=r(48981),d=r(47055),f=Object.assign,h=Object.defineProperty,p=i([].concat);e.exports=!f||s(function(){if(n&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e}),7!==f({},e)[r]||a(f({},t)).join("")!==i})?function(e,t){for(var r=u(e),i=arguments.length,s=1,f=c.f,h=l.f;i>s;)for(var _,v=d(arguments[s++]),E=f?p(a(v),f(v)):a(v),m=E.length,g=0;m>g;)_=E[g++],n&&!o(h,v,_)||(r[_]=v[_]);return r}:f},2360(e,t,r){"use strict";var n,i=r(28551),o=r(96801),s=r(88727),a=r(30421),c=r(20397),l=r(4055),u=r(66119),d="prototype",f="script",h=u("IE_PROTO"),p=function(){},_=function(e){return"<"+f+">"+e+"</"+f+">"},v=function(e){e.write(_("")),e.close();var t=e.parentWindow.Object;return e=null,t},E=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;E="undefined"!=typeof document?document.domain&&n?v(n):(t=l("iframe"),r="java"+f+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(_("document.F=Object")),e.close(),e.F):v(n);for(var i=s.length;i--;)delete E[d][s[i]];return E()};a[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[d]=i(e),r=new p,p[d]=null,r[h]=e):r=E(),void 0===t?r:o.f(r,t)}},96801(e,t,r){"use strict";var n=r(43724),i=r(48686),o=r(24913),s=r(28551),a=r(25397),c=r(71072);t.f=n&&!i?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),i=c(t),l=i.length,u=0;l>u;)o.f(e,r=i[u++],n[r]);return e}},24913(e,t,r){"use strict";var n=r(43724),i=r(35917),o=r(48686),s=r(28551),a=r(56969),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=n?o?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=a(t),s(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},77347(e,t,r){"use strict";var n=r(43724),i=r(69565),o=r(48773),s=r(6980),a=r(25397),c=r(56969),l=r(39297),u=r(35917),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return s(!i(o.f,e,t),e[t])}},38480(e,t,r){"use strict";var n=r(61828),i=r(88727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},33717(e,t){"use strict";t.f=Object.getOwnPropertySymbols},42787(e,t,r){"use strict";var n=r(39297),i=r(94901),o=r(48981),s=r(66119),a=r(12211),c=s("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=o(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},1625(e,t,r){"use strict";var n=r(79504);e.exports=n({}.isPrototypeOf)},61828(e,t,r){"use strict";var n=r(79504),i=r(39297),o=r(25397),s=r(19617).indexOf,a=r(30421),c=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,u=[];for(r in n)!i(a,r)&&i(n,r)&&c(u,r);for(;t.length>l;)i(n,r=t[l++])&&(~s(u,r)||c(u,r));return u}},71072(e,t,r){"use strict";var n=r(61828),i=r(88727);e.exports=Object.keys||function(e){return n(e,i)}},48773(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},52967(e,t,r){"use strict";var n=r(46706),i=r(20034),o=r(67750),s=r(73506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),s(n),i(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},84270(e,t,r){"use strict";var n=r(69565),i=r(94901),o=r(20034),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!o(a=n(r,e)))return a;if(i(r=e.valueOf)&&!o(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!o(a=n(r,e)))return a;throw new s("Can't convert object to primitive value")}},35031(e,t,r){"use strict";var n=r(97751),i=r(79504),o=r(38480),s=r(33717),a=r(28551),c=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=s.f;return r?c(t,r(e)):t}},616(e,t,r){"use strict";var n=r(79504),i=r(39297),o=SyntaxError,s=parseInt,a=String.fromCharCode,c=n("".charAt),l=n("".slice),u=n(/./.exec),d={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},f=/^[\da-f]{4}$/i,h=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var r=!0,n="";t<e.length;){var p=c(e,t);if("\\"===p){var _=l(e,t,t+2);if(i(d,_))n+=d[_],t+=2;else{if("\\u"!==_)throw new o('Unknown escape sequence: "'+_+'"');var v=l(e,t+=2,t+4);if(!u(f,v))throw new o("Bad Unicode escape at: "+t);n+=a(s(v,16)),t+=4}}else{if('"'===p){r=!1,t++;break}if(u(h,p))throw new o("Bad control character in string literal at: "+t);n+=p,t++}}if(r)throw new o("Unterminated string at: "+t);return{value:n,end:t}}},19167(e,t,r){"use strict";var n=r(44576);e.exports=n},1103(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},10916(e,t,r){"use strict";var n=r(44576),i=r(80550),o=r(94901),s=r(92796),a=r(33706),c=r(78227),l=r(84215),u=r(96395),d=r(39519),f=i&&i.prototype,h=c("species"),p=!1,_=o(n.PromiseRejectionEvent),v=s("Promise",function(){var e=a(i),t=e!==String(i);if(!t&&66===d)return!0;if(u&&(!f.catch||!f.finally))return!0;if(!d||d<51||!/native code/.test(e)){var r=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[h]=n,!(p=r.then(function(){})instanceof n))return!0}return!(t||"BROWSER"!==l&&"DENO"!==l||_)});e.exports={CONSTRUCTOR:v,REJECTION_EVENT:_,SUBCLASSING:p}},80550(e,t,r){"use strict";var n=r(44576);e.exports=n.Promise},93438(e,t,r){"use strict";var n=r(28551),i=r(20034),o=r(36043);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},90537(e,t,r){"use strict";var n=r(80550),i=r(84428),o=r(10916).CONSTRUCTOR;e.exports=o||!i(function(e){n.all(e).then(void 0,function(){})})},11056(e,t,r){"use strict";var n=r(24913).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},56682(e,t,r){"use strict";var n=r(69565),i=r(28551),o=r(94901),s=r(22195),a=r(57323),c=TypeError;e.exports=function(e,t){var r=e.exec;if(o(r)){var l=n(r,e,t);return null!==l&&i(l),l}if("RegExp"===s(e))return n(a,e,t);throw new c("RegExp#exec called on incompatible receiver")}},57323(e,t,r){"use strict";var n,i,o=r(69565),s=r(79504),a=r(655),c=r(67979),l=r(58429),u=r(25745),d=r(2360),f=r(91181).get,h=r(83635),p=r(18814),_=u("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,E=v,m=s("".charAt),g=s("".indexOf),y=s("".replace),I=s("".slice),w=(i=/b*/g,o(v,n=/a/,"a"),o(v,i,"a"),0!==n.lastIndex||0!==i.lastIndex),b=l.BROKEN_CARET,L=void 0!==/()??/.exec("")[1];(w||L||b||h||p)&&(E=function(e){var t,r,n,i,s,l,u,h=this,p=f(h),S=a(e),C=p.raw;if(C)return C.lastIndex=h.lastIndex,t=o(E,C,S),h.lastIndex=C.lastIndex,t;var A=p.groups,O=b&&h.sticky,N=o(c,h),T=h.source,P=0,R=S;if(O&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),R=I(S,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==m(S,h.lastIndex-1))&&(T="(?: "+T+")",R=" "+R,P++),r=new RegExp("^(?:"+T+")",N)),L&&(r=new RegExp("^"+T+"$(?!\\s)",N)),w&&(n=h.lastIndex),i=o(v,O?r:h,R),O?i?(i.input=I(i.input,P),i[0]=I(i[0],P),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:w&&i&&(h.lastIndex=h.global?i.index+i[0].length:n),L&&i&&i.length>1&&o(_,i[0],r,function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)}),i&&A)for(i.groups=l=d(null),s=0;s<A.length;s++)l[(u=A[s])[0]]=i[u[1]];return i}),e.exports=E},65213(e,t,r){"use strict";var n=r(44576),i=r(79039),o=n.RegExp,s=!i(function(){var e=!0;try{o(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(s.hasIndices="d"),s)i(a,s[a]);return Object.getOwnPropertyDescriptor(o.prototype,"flags").get.call(t)!==n||r!==n});e.exports={correct:s}},67979(e,t,r){"use strict";var n=r(28551);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},61034(e,t,r){"use strict";var n=r(69565),i=r(39297),o=r(1625),s=r(65213),a=r(67979),c=RegExp.prototype;e.exports=s.correct?function(e){return e.flags}:function(e){return s.correct||!o(c,e)||i(e,"flags")?e.flags:n(a,e)}},58429(e,t,r){"use strict";var n=r(79039),i=r(44576).RegExp,o=n(function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),s=o||n(function(){return!i("a","y").sticky}),a=o||n(function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")});e.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:o}},83635(e,t,r){"use strict";var n=r(79039),i=r(44576).RegExp;e.exports=n(function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},18814(e,t,r){"use strict";var n=r(79039),i=r(44576).RegExp;e.exports=n(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},67750(e,t,r){"use strict";var n=r(64117),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},93389(e,t,r){"use strict";var n=r(44576),i=r(43724),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=o(n,e);return t&&t.value}},89286(e,t,r){"use strict";var n=r(94402),i=r(38469),o=n.Set,s=n.add;e.exports=function(e){var t=new o;return i(e,function(e){s(t,e)}),t}},83440(e,t,r){"use strict";var n=r(97080),i=r(94402),o=r(89286),s=r(25170),a=r(83789),c=r(38469),l=r(40507),u=i.has,d=i.remove;e.exports=function(e){var t=n(this),r=a(e),i=o(t);return s(t)<=r.size?c(t,function(e){r.includes(e)&&d(i,e)}):l(r.getIterator(),function(e){u(i,e)&&d(i,e)}),i}},94402(e,t,r){"use strict";var n=r(79504),i=Set.prototype;e.exports={Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},68750(e,t,r){"use strict";var n=r(97080),i=r(94402),o=r(25170),s=r(83789),a=r(38469),c=r(40507),l=i.Set,u=i.add,d=i.has;e.exports=function(e){var t=n(this),r=s(e),i=new l;return o(t)>r.size?c(r.getIterator(),function(e){d(t,e)&&u(i,e)}):a(t,function(e){r.includes(e)&&u(i,e)}),i}},64449(e,t,r){"use strict";var n=r(97080),i=r(94402).has,o=r(25170),s=r(83789),a=r(38469),c=r(40507),l=r(9539);e.exports=function(e){var t=n(this),r=s(e);if(o(t)<=r.size)return!1!==a(t,function(e){if(r.includes(e))return!1},!0);var u=r.getIterator();return!1!==c(u,function(e){if(i(t,e))return l(u,"normal",!1)})}},53838(e,t,r){"use strict";var n=r(97080),i=r(25170),o=r(38469),s=r(83789);e.exports=function(e){var t=n(this),r=s(e);return!(i(t)>r.size)&&!1!==o(t,function(e){if(!r.includes(e))return!1},!0)}},28527(e,t,r){"use strict";var n=r(97080),i=r(94402).has,o=r(25170),s=r(83789),a=r(40507),c=r(9539);e.exports=function(e){var t=n(this),r=s(e);if(o(t)<r.size)return!1;var l=r.getIterator();return!1!==a(l,function(e){if(!i(t,e))return c(l,"normal",!1)})}},38469(e,t,r){"use strict";var n=r(79504),i=r(40507),o=r(94402),s=o.Set,a=o.proto,c=n(a.forEach),l=n(a.keys),u=l(new s).next;e.exports=function(e,t,r){return r?i({iterator:l(e),next:u},t):c(e,t)}},84916(e,t,r){"use strict";var n=r(97751),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},o=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var r=n("Set");try{(new r)[e](i(0));try{return(new r)[e](i(-1)),!1}catch(n){if(!t)return!0;try{return(new r)[e](o(-1/0)),!1}catch(n){return t(new r([1,2])[e](o(1/0)))}}}catch(e){return!1}}},39835(e){"use strict";e.exports=function(e){try{var t=new Set,r={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},n=t[e](r);return 1===n.size&&4===n.values().next().value}catch(e){return!1}}},25170(e,t,r){"use strict";var n=r(46706),i=r(94402);e.exports=n(i.proto,"size","get")||function(e){return e.size}},87633(e,t,r){"use strict";var n=r(97751),i=r(62106),o=r(78227),s=r(43724),a=o("species");e.exports=function(e){var t=n(e);s&&t&&!t[a]&&i(t,a,{configurable:!0,get:function(){return this}})}},83650(e,t,r){"use strict";var n=r(97080),i=r(94402),o=r(89286),s=r(83789),a=r(40507),c=i.add,l=i.has,u=i.remove;e.exports=function(e){var t=n(this),r=s(e).getIterator(),i=o(t);return a(r,function(e){l(t,e)?u(i,e):c(i,e)}),i}},10687(e,t,r){"use strict";var n=r(24913).f,i=r(39297),o=r(78227)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},44204(e,t,r){"use strict";var n=r(97080),i=r(94402).add,o=r(89286),s=r(83789),a=r(40507);e.exports=function(e){var t=n(this),r=s(e).getIterator(),c=o(t);return a(r,function(e){i(c,e)}),c}},66119(e,t,r){"use strict";var n=r(25745),i=r(33392),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},77629(e,t,r){"use strict";var n=r(96395),i=r(44576),o=r(39433),s="__core-js_shared__",a=e.exports=i[s]||o(s,{});(a.versions||(a.versions=[])).push({version:"3.47.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},25745(e,t,r){"use strict";var n=r(77629);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},2293(e,t,r){"use strict";var n=r(28551),i=r(35548),o=r(64117),s=r(78227)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||o(r=n(a)[s])?t:i(r)}},68183(e,t,r){"use strict";var n=r(79504),i=r(91291),o=r(655),s=r(67750),a=n("".charAt),c=n("".charCodeAt),l=n("".slice),u=function(e){return function(t,r){var n,u,d=o(s(t)),f=i(r),h=d.length;return f<0||f>=h?e?"":void 0:(n=c(d,f))<55296||n>56319||f+1===h||(u=c(d,f+1))<56320||u>57343?e?a(d,f):n:e?l(d,f,f+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},3717(e,t,r){"use strict";var n=r(79504),i=2147483647,o=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",c=RangeError,l=n(s.exec),u=Math.floor,d=String.fromCharCode,f=n("".charCodeAt),h=n([].join),p=n([].push),_=n("".replace),v=n("".split),E=n("".toLowerCase),m=function(e){return e+22+75*(e<26)},g=function(e,t,r){var n=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),n+=36;return u(n+36*e/(e+38))},y=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=f(e,r++);if(i>=55296&&i<=56319&&r<n){var o=f(e,r++);56320==(64512&o)?p(t,((1023&i)<<10)+(1023&o)+65536):(p(t,i),r--)}else p(t,i)}return t}(e);var r,n,o=e.length,s=128,l=0,_=72;for(r=0;r<e.length;r++)(n=e[r])<128&&p(t,d(n));var v=t.length,E=v;for(v&&p(t,"-");E<o;){var y=i;for(r=0;r<e.length;r++)(n=e[r])>=s&&n<y&&(y=n);var I=E+1;if(y-s>u((i-l)/I))throw new c(a);for(l+=(y-s)*I,s=y,r=0;r<e.length;r++){if((n=e[r])<s&&++l>i)throw new c(a);if(n===s){for(var w=l,b=36;;){var L=b<=_?1:b>=_+26?26:b-_;if(w<L)break;var S=w-L,C=36-L;p(t,d(m(L+S%C))),w=u(S/C),b+=36}p(t,d(m(w))),_=g(l,I,E===v),l=0,E++}}l++,s++}return h(t,"")};e.exports=function(e){var t,r,n=[],i=v(_(E(e),s,"."),".");for(t=0;t<i.length;t++)r=i[t],p(n,l(o,r)?"xn--"+y(r):r);return h(n,".")}},60706(e,t,r){"use strict";var n=r(10350).PROPER,i=r(79039),o=r(47452);e.exports=function(e){return i(function(){return!!o[e]()||"​…᠎"!=="​…᠎"[e]()||n&&o[e].name!==e})}},43802(e,t,r){"use strict";var n=r(79504),i=r(67750),o=r(655),s=r(47452),a=n("".replace),c=RegExp("^["+s+"]+"),l=RegExp("(^|[^"+s+"])["+s+"]+$"),u=function(e){return function(t){var r=o(i(t));return 1&e&&(r=a(r,c,"")),2&e&&(r=a(r,l,"$1")),r}};e.exports={start:u(1),end:u(2),trim:u(3)}},1548(e,t,r){"use strict";var n=r(44576),i=r(79039),o=r(39519),s=r(84215),a=n.structuredClone;e.exports=!!a&&!i(function(){if("DENO"===s&&o>92||"NODE"===s&&o>94||"BROWSER"===s&&o>97)return!1;var e=new ArrayBuffer(8),t=a(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})},4495(e,t,r){"use strict";var n=r(39519),i=r(79039),o=r(44576).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},35610(e,t,r){"use strict";var n=r(91291),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},75854(e,t,r){"use strict";var n=r(72777),i=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},57696(e,t,r){"use strict";var n=r(91291),i=r(18014),o=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw new o("Wrong length or index");return r}},25397(e,t,r){"use strict";var n=r(47055),i=r(67750);e.exports=function(e){return n(i(e))}},91291(e,t,r){"use strict";var n=r(80741);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},18014(e,t,r){"use strict";var n=r(91291),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},48981(e,t,r){"use strict";var n=r(67750),i=Object;e.exports=function(e){return i(n(e))}},58229(e,t,r){"use strict";var n=r(99590),i=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new i("Wrong offset");return r}},99590(e,t,r){"use strict";var n=r(91291),i=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new i("The argument can't be less than 0");return t}},72777(e,t,r){"use strict";var n=r(69565),i=r(20034),o=r(10757),s=r(55966),a=r(84270),c=r(78227),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,c=s(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},56969(e,t,r){"use strict";var n=r(72777),i=r(10757);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},92140(e,t,r){"use strict";var n={};n[r(78227)("toStringTag")]="z",e.exports="[object z]"===String(n)},655(e,t,r){"use strict";var n=r(36955),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},58319(e){"use strict";var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},16823(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},15823(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(69565),s=r(43724),a=r(72805),c=r(94644),l=r(66346),u=r(90679),d=r(6980),f=r(66699),h=r(2087),p=r(18014),_=r(57696),v=r(58229),E=r(58319),m=r(56969),g=r(39297),y=r(36955),I=r(20034),w=r(10757),b=r(2360),L=r(1625),S=r(52967),C=r(38480).f,A=r(43251),O=r(59213).forEach,N=r(87633),T=r(62106),P=r(24913),R=r(77347),M=r(35370),k=r(91181),D=r(23167),x=k.get,j=k.set,G=k.enforce,U=P.f,W=R.f,V=i.RangeError,z=l.ArrayBuffer,F=z.prototype,B=l.DataView,H=c.NATIVE_ARRAY_BUFFER_VIEWS,Y=c.TYPED_ARRAY_TAG,Q=c.TypedArray,J=c.TypedArrayPrototype,K=c.isTypedArray,X="BYTES_PER_ELEMENT",q="Wrong length",Z=function(e,t){T(e,t,{configurable:!0,get:function(){return x(this)[t]}})},$=function(e){var t;return L(F,e)||"ArrayBuffer"===(t=y(e))||"SharedArrayBuffer"===t},ee=function(e,t){return K(e)&&!w(t)&&t in e&&h(+t)&&t>=0},te=function(e,t){return t=m(t),ee(e,t)?d(2,e[t]):W(e,t)},re=function(e,t,r){return t=m(t),!(ee(e,t)&&I(r)&&g(r,"value"))||g(r,"get")||g(r,"set")||r.configurable||g(r,"writable")&&!r.writable||g(r,"enumerable")&&!r.enumerable?U(e,t,r):(e[t]=r.value,e)};s?(H||(R.f=te,P.f=re,Z(J,"buffer"),Z(J,"byteOffset"),Z(J,"byteLength"),Z(J,"length")),n({target:"Object",stat:!0,forced:!H},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var s=e.match(/\d+/)[0]/8,c=e+(r?"Clamped":"")+"Array",l="get"+e,d="set"+e,h=i[c],m=h,g=m&&m.prototype,y={},w=function(e,t){U(e,t,{get:function(){return function(e,t){var r=x(e);return r.view[l](t*s+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var i=x(e);i.view[d](t*s+i.byteOffset,r?E(n):n,!0)}(this,t,e)},enumerable:!0})};H?a&&(m=t(function(e,t,r,n){return u(e,g),D(I(t)?$(t)?void 0!==n?new h(t,v(r,s),n):void 0!==r?new h(t,v(r,s)):new h(t):K(t)?M(m,t):o(A,m,t):new h(_(t)),e,m)}),S&&S(m,Q),O(C(h),function(e){e in m||f(m,e,h[e])}),m.prototype=g):(m=t(function(e,t,r,n){u(e,g);var i,a,c,l=0,d=0;if(I(t)){if(!$(t))return K(t)?M(m,t):o(A,m,t);i=t,d=v(r,s);var f=t.byteLength;if(void 0===n){if(f%s)throw new V(q);if((a=f-d)<0)throw new V(q)}else if((a=p(n)*s)+d>f)throw new V(q);c=a/s}else c=_(t),i=new z(a=c*s);for(j(e,{buffer:i,byteOffset:d,byteLength:a,length:c,view:new B(i)});l<c;)w(e,l++)}),S&&S(m,Q),g=m.prototype=b(J)),g.constructor!==m&&f(g,"constructor",m),G(g).TypedArrayConstructor=m,Y&&f(g,Y,c);var L=m!==h;y[c]=m,n({global:!0,constructor:!0,forced:L,sham:!H},y),X in m||f(m,X,s),X in g||f(g,X,s),N(c)}):e.exports=function(){}},72805(e,t,r){"use strict";var n=r(44576),i=r(79039),o=r(84428),s=r(94644).NATIVE_ARRAY_BUFFER_VIEWS,a=n.ArrayBuffer,c=n.Int8Array;e.exports=!s||!i(function(){c(1)})||!i(function(){new c(-1)})||!o(function(e){new c,new c(null),new c(1.5),new c(e)},!0)||i(function(){return 1!==new c(new a(2),1,void 0).length})},43251(e,t,r){"use strict";var n=r(76080),i=r(69565),o=r(35548),s=r(48981),a=r(26198),c=r(70081),l=r(50851),u=r(44209),d=r(18727),f=r(94644).aTypedArrayConstructor,h=r(75854);e.exports=function(e){var t,r,p,_,v,E,m,g,y=o(this),I=s(e),w=arguments.length,b=w>1?arguments[1]:void 0,L=void 0!==b,S=l(I);if(S&&!u(S))for(g=(m=c(I,S)).next,I=[];!(E=i(g,m)).done;)I.push(E.value);for(L&&w>2&&(b=n(b,arguments[2])),r=a(I),p=new(f(y))(r),_=d(p),t=0;r>t;t++)v=L?b(I[t],t):I[t],p[t]=_?h(v):+v;return p}},33392(e,t,r){"use strict";var n=r(79504),i=0,o=Math.random(),s=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},59143(e,t,r){"use strict";var n=r(44576),i=r(79504),o=r(83972),s=r(63463),a=r(39297),c=r(92804),l=r(944),u=r(55169),d=c.c2i,f=c.c2iUrl,h=n.SyntaxError,p=n.TypeError,_=i("".charAt),v=function(e,t){for(var r=e.length;t<r;t++){var n=_(e,t);if(" "!==n&&"\t"!==n&&"\n"!==n&&"\f"!==n&&"\r"!==n)break}return t},E=function(e,t,r){var n=e.length;n<4&&(e+=2===n?"AA":"A");var i=(t[_(e,0)]<<18)+(t[_(e,1)]<<12)+(t[_(e,2)]<<6)+t[_(e,3)],o=[i>>16&255,i>>8&255,255&i];if(2===n){if(r&&0!==o[1])throw new h("Extra bits");return[o[0]]}if(3===n){if(r&&0!==o[2])throw new h("Extra bits");return[o[0],o[1]]}return o},m=function(e,t,r){for(var n=t.length,i=0;i<n;i++)e[r+i]=t[i];return r+n};e.exports=function(e,t,r,n){s(e),o(t);var i="base64"===l(t)?d:f,c=t?t.lastChunkHandling:void 0;if(void 0===c&&(c="loose"),"loose"!==c&&"strict"!==c&&"stop-before-partial"!==c)throw new p("Incorrect `lastChunkHandling` option");r&&u(r.buffer);var g=e.length,y=r||[],I=0,w=0,b="",L=0;if(n)for(;;){if((L=v(e,L))===g){if(b.length>0){if("stop-before-partial"===c)break;if("loose"!==c)throw new h("Missing padding");if(1===b.length)throw new h("Malformed padding: exactly one additional character");I=m(y,E(b,i,!1),I)}w=g;break}var S=_(e,L);if(++L,"="===S){if(b.length<2)throw new h("Padding is too early");if(L=v(e,L),2===b.length){if(L===g){if("stop-before-partial"===c)break;throw new h("Malformed padding: only one =")}"="===_(e,L)&&(++L,L=v(e,L))}if(L<g)throw new h("Unexpected character after padding");I=m(y,E(b,i,"strict"===c),I),w=g;break}if(!a(i,S))throw new h("Unexpected character");var C=n-I;if(1===C&&2===b.length||2===C&&3===b.length)break;if(4===(b+=S).length&&(I=m(y,E(b,i,!1),I),b="",w=L,I===n))break}return{bytes:y,read:w,written:I}}},42303(e,t,r){"use strict";var n=r(44576),i=r(79504),o=n.Uint8Array,s=n.SyntaxError,a=n.parseInt,c=Math.min,l=/[^\da-f]/i,u=i(l.exec),d=i("".slice);e.exports=function(e,t){var r=e.length;if(r%2!=0)throw new s("String should be an even number of characters");for(var n=t?c(t.length,r/2):r/2,i=t||new o(n),f=0,h=0;h<n;){var p=d(e,f,f+=2);if(u(l,p))throw new s("String should only contain hex characters");i[h++]=a(p,16)}return{bytes:i,read:f}}},67416(e,t,r){"use strict";var n=r(79039),i=r(78227),o=r(43724),s=r(96395),a=i("iterator");e.exports=!n(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),s&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(s||!o)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})},7040(e,t,r){"use strict";var n=r(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686(e,t,r){"use strict";var n=r(43724),i=r(79039);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},22812(e){"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},58622(e,t,r){"use strict";var n=r(44576),i=r(94901),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},70511(e,t,r){"use strict";var n=r(19167),i=r(39297),o=r(1951),s=r(24913).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||s(t,e,{value:o.f(e)})}},1951(e,t,r){"use strict";var n=r(78227);t.f=n},78227(e,t,r){"use strict";var n=r(44576),i=r(25745),o=r(39297),s=r(33392),a=r(4495),c=r(7040),l=n.Symbol,u=i("wks"),d=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){return o(u,e)||(u[e]=a&&o(l,e)?l[e]:d("Symbol."+e)),u[e]}},47452(e){"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},14601(e,t,r){"use strict";var n=r(97751),i=r(39297),o=r(66699),s=r(1625),a=r(52967),c=r(77740),l=r(11056),u=r(23167),d=r(32603),f=r(77584),h=r(80747),p=r(43724),_=r(96395);e.exports=function(e,t,r,v){var E="stackTraceLimit",m=v?2:1,g=e.split("."),y=g[g.length-1],I=n.apply(null,g);if(I){var w=I.prototype;if(!_&&i(w,"cause")&&delete w.cause,!r)return I;var b=n("Error"),L=t(function(e,t){var r=d(v?t:e,void 0),n=v?new I(e):new I;return void 0!==r&&o(n,"message",r),h(n,L,n.stack,2),this&&s(w,this)&&u(n,this,L),arguments.length>m&&f(n,arguments[m]),n});if(L.prototype=w,"Error"!==y?a?a(L,b):c(L,b,{name:!0}):p&&E in I&&(l(L,I,E),l(L,I,"prepareStackTrace")),c(L,I),!_)try{w.name!==y&&o(w,"name",y),w.constructor=L}catch(e){}return L}}},54743(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(66346),s=r(87633),a="ArrayBuffer",c=o[a];n({global:!0,constructor:!0,forced:i[a]!==c},{ArrayBuffer:c}),s(a)},16573(e,t,r){"use strict";var n=r(43724),i=r(62106),o=r(3238),s=ArrayBuffer.prototype;n&&!("detached"in s)&&i(s,"detached",{configurable:!0,get:function(){return o(this)}})},11745(e,t,r){"use strict";var n=r(46518),i=r(27476),o=r(79039),s=r(66346),a=r(28551),c=r(35610),l=r(18014),u=s.ArrayBuffer,d=s.DataView,f=d.prototype,h=i(u.prototype.slice),p=i(f.getUint8),_=i(f.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o(function(){return!new u(2).slice(1,void 0).byteLength})},{slice:function(e,t){if(h&&void 0===t)return h(a(this),e);for(var r=a(this).byteLength,n=c(e,r),i=c(void 0===t?r:t,r),o=new u(l(i-n)),s=new d(this),f=new d(o),v=0;n<i;)_(f,v++,p(s,n++));return o}})},77936(e,t,r){"use strict";var n=r(46518),i=r(95636);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},78100(e,t,r){"use strict";var n=r(46518),i=r(95636);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},78350(e,t,r){"use strict";var n=r(46518),i=r(70259),o=r(79306),s=r(48981),a=r(26198),c=r(1469);n({target:"Array",proto:!0},{flatMap:function(e){var t,r=s(this),n=a(r);return o(e),(t=c(r,0)).length=i(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},46449(e,t,r){"use strict";var n=r(46518),i=r(70259),o=r(48981),s=r(26198),a=r(91291),c=r(1469);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=o(this),r=s(t),n=c(t,0);return n.length=i(n,t,t,r,0,void 0===e?1:a(e)),n}})},23792(e,t,r){"use strict";var n=r(25397),i=r(6469),o=r(26269),s=r(91181),a=r(24913).f,c=r(51088),l=r(62529),u=r(96395),d=r(43724),f="Array Iterator",h=s.set,p=s.getterFor(f);e.exports=c(Array,"Array",function(e,t){h(this,{type:f,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,l(void 0,!0);switch(e.kind){case"keys":return l(r,!1);case"values":return l(t[r],!1)}return l([r,t[r]],!1)},"values");var _=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!u&&d&&"values"!==_.name)try{a(_,"name",{value:"values"})}catch(e){}},44114(e,t,r){"use strict";var n=r(46518),i=r(48981),o=r(26198),s=r(34527),a=r(96837);n({target:"Array",proto:!0,arity:1,forced:r(79039)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),r=o(t),n=arguments.length;a(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return s(t,r),r}})},94490(e,t,r){"use strict";var n=r(46518),i=r(79504),o=r(34376),s=i([].reverse),a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),s(this)}})},26910(e,t,r){"use strict";var n=r(46518),i=r(79504),o=r(79306),s=r(48981),a=r(26198),c=r(84606),l=r(655),u=r(79039),d=r(74488),f=r(34598),h=r(13709),p=r(13763),_=r(39519),v=r(3607),E=[],m=i(E.sort),g=i(E.push),y=u(function(){E.sort(void 0)}),I=u(function(){E.sort(null)}),w=f("sort"),b=!u(function(){if(_)return _<70;if(!(h&&h>3)){if(p)return!0;if(v)return v<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)E.push({k:t+n,v:r})}for(E.sort(function(e,t){return t.v-e.v}),n=0;n<E.length;n++)t=E[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}});n({target:"Array",proto:!0,forced:y||!I||!w||!b},{sort:function(e){void 0!==e&&o(e);var t=s(this);if(b)return void 0===e?m(t):m(t,e);var r,n,i=[],u=a(t);for(n=0;n<u;n++)n in t&&g(i,t[n]);for(d(i,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:l(t)>l(r)?1:-1}}(e)),r=a(i),n=0;n<r;)t[n]=i[n++];for(;n<u;)c(t,n++);return t}})},30237(e,t,r){"use strict";r(6469)("flatMap")},93514(e,t,r){"use strict";r(6469)("flat")},13609(e,t,r){"use strict";var n=r(46518),i=r(48981),o=r(26198),s=r(34527),a=r(84606),c=r(96837);n({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=i(this),r=o(t),n=arguments.length;if(n){c(r+n);for(var l=r;l--;){var u=l+n;l in t?t[u]=t[l]:a(t,u)}for(var d=0;d<n;d++)t[d]=arguments[d]}return s(t,r+n)}})},16280(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(18745),s=r(14601),a="WebAssembly",c=i[a],l=7!==new Error("e",{cause:7}).cause,u=function(e,t){var r={};r[e]=s(e,t,l),n({global:!0,constructor:!0,arity:1,forced:l},r)},d=function(e,t){if(c&&c[e]){var r={};r[e]=s(a+"."+e,t,l),n({target:a,stat:!0,constructor:!0,arity:1,forced:l},r)}};u("Error",function(e){return function(t){return o(e,this,arguments)}}),u("EvalError",function(e){return function(t){return o(e,this,arguments)}}),u("RangeError",function(e){return function(t){return o(e,this,arguments)}}),u("ReferenceError",function(e){return function(t){return o(e,this,arguments)}}),u("SyntaxError",function(e){return function(t){return o(e,this,arguments)}}),u("TypeError",function(e){return function(t){return o(e,this,arguments)}}),u("URIError",function(e){return function(t){return o(e,this,arguments)}}),d("CompileError",function(e){return function(t){return o(e,this,arguments)}}),d("LinkError",function(e){return function(t){return o(e,this,arguments)}}),d("RuntimeError",function(e){return function(t){return o(e,this,arguments)}})},55081(e,t,r){"use strict";var n=r(46518),i=r(44576);n({global:!0,forced:i.globalThis!==i},{globalThis:i})},18111(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(90679),s=r(28551),a=r(94901),c=r(42787),l=r(62106),u=r(97040),d=r(79039),f=r(39297),h=r(78227),p=r(57657).IteratorPrototype,_=r(43724),v=r(96395),E="constructor",m="Iterator",g=h("toStringTag"),y=TypeError,I=i[m],w=v||!a(I)||I.prototype!==p||!d(function(){I({})}),b=function(){if(o(this,p),c(this)===p)throw new y("Abstract class Iterator not directly constructable")},L=function(e,t){_?l(p,e,{configurable:!0,get:function(){return t},set:function(t){if(s(this),this===p)throw new y("You can't redefine this property");f(this,e)?this[e]=t:u(this,e,t)}}):p[e]=t};f(p,g)||L(g,m),!w&&f(p,E)&&p[E]!==Object||L(E,b),b.prototype=p,n({global:!0,constructor:!0,forced:w},{Iterator:b})},81148(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(72652),s=r(79306),a=r(28551),c=r(1767),l=r(9539),u=r(84549)("every",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{every:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;return!o(t,function(t,n){if(!e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},22489(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(79306),s=r(28551),a=r(1767),c=r(19462),l=r(96319),u=r(96395),d=r(9539),f=r(30684),h=r(84549),p=!u&&!f("filter",function(){}),_=!u&&!p&&h("filter",TypeError),v=u||p||_,E=c(function(){for(var e,t,r=this.iterator,n=this.predicate,o=this.next;;){if(e=s(i(o,r)),this.done=!!e.done)return;if(t=e.value,l(r,n,[t,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:v},{filter:function(e){s(this);try{o(e)}catch(e){d(this,"throw",e)}return _?i(_,this,e):new E(a(this),{predicate:e})}})},20116(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(72652),s=r(79306),a=r(28551),c=r(1767),l=r(9539),u=r(84549)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{find:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;return o(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},7588(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(72652),s=r(79306),a=r(28551),c=r(1767),l=r(9539),u=r(84549)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;o(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},61701(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(79306),s=r(28551),a=r(1767),c=r(19462),l=r(96319),u=r(9539),d=r(30684),f=r(84549),h=r(96395),p=!h&&!d("map",function(){}),_=!h&&!p&&f("map",TypeError),v=h||p||_,E=c(function(){var e=this.iterator,t=s(i(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:v},{map:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}return _?i(_,this,e):new E(a(this),{mapper:e})}})},18237(e,t,r){"use strict";var n=r(46518),i=r(72652),o=r(79306),s=r(28551),a=r(1767),c=r(9539),l=r(84549),u=r(18745),d=r(79039),f=TypeError,h=d(function(){[].keys().reduce(function(){},void 0)}),p=!h&&l("reduce",f);n({target:"Iterator",proto:!0,real:!0,forced:h||p},{reduce:function(e){s(this);try{o(e)}catch(e){c(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(p)return u(p,this,t?[e]:[e,r]);var n=a(this),l=0;if(i(n,function(n){t?(t=!1,r=n):r=e(r,n,l),l++},{IS_RECORD:!0}),t)throw new f("Reduce of empty iterator with no initial value");return r}})},13579(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(72652),s=r(79306),a=r(28551),c=r(1767),l=r(9539),u=r(84549)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{some:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;return o(t,function(t,n){if(e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},61806(e,t,r){"use strict";var n=r(46518),i=r(28551),o=r(72652),s=r(1767),a=[].push;n({target:"Iterator",proto:!0,real:!0},{toArray:function(){var e=[];return o(s(i(this)),a,{that:e,IS_RECORD:!0}),e}})},69112(e,t,r){"use strict";var n=r(46518),i=r(43724),o=r(44576),s=r(97751),a=r(79504),c=r(69565),l=r(94901),u=r(20034),d=r(34376),f=r(39297),h=r(655),p=r(26198),_=r(97040),v=r(79039),E=r(616),m=r(4495),g=o.JSON,y=o.Number,I=o.SyntaxError,w=g&&g.parse,b=s("Object","keys"),L=Object.getOwnPropertyDescriptor,S=a("".charAt),C=a("".slice),A=a(/./.exec),O=a([].push),N=/^\d$/,T=/^[1-9]$/,P=/^[\d-]$/,R=/^[\t\n\r ]$/,M=function(e,t,r,n){var i,o,s,a,l,h=e[t],_=n&&h===n.value,v=_&&"string"==typeof n.source?{source:n.source}:{};if(u(h)){var E=d(h),m=_?n.nodes:E?[]:{};if(E)for(i=m.length,s=p(h),a=0;a<s;a++)k(h,a,M(h,""+a,r,a<i?m[a]:void 0));else for(o=b(h),s=p(o),a=0;a<s;a++)l=o[a],k(h,l,M(h,l,r,f(m,l)?m[l]:void 0))}return c(r,e,t,h,v)},k=function(e,t,r){if(i){var n=L(e,t);if(n&&!n.configurable)return}void 0===r?delete e[t]:_(e,t,r)},D=function(e,t,r,n){this.value=e,this.end=t,this.source=r,this.nodes=n},x=function(e,t){this.source=e,this.index=t};x.prototype={fork:function(e){return new x(this.source,e)},parse:function(){var e=this.source,t=this.skip(R,this.index),r=this.fork(t),n=S(e,t);if(A(P,n))return r.number();switch(n){case"{":return r.object();case"[":return r.array();case'"':return r.string();case"t":return r.keyword(!0);case"f":return r.keyword(!1);case"n":return r.keyword(null)}throw new I('Unexpected character: "'+n+'" at: '+t)},node:function(e,t,r,n,i){return new D(t,n,e?null:C(this.source,r,n),i)},object:function(){for(var e=this.source,t=this.index+1,r=!1,n={},i={};t<e.length;){if(t=this.until(['"',"}"],t),"}"===S(e,t)&&!r){t++;break}var o=this.fork(t).string(),s=o.value;t=o.end,t=this.until([":"],t)+1,t=this.skip(R,t),o=this.fork(t).parse(),_(i,s,o),_(n,s,o.value),t=this.until([",","}"],o.end);var a=S(e,t);if(","===a)r=!0,t++;else if("}"===a){t++;break}}return this.node(1,n,this.index,t,i)},array:function(){for(var e=this.source,t=this.index+1,r=!1,n=[],i=[];t<e.length;){if(t=this.skip(R,t),"]"===S(e,t)&&!r){t++;break}var o=this.fork(t).parse();if(O(i,o),O(n,o.value),t=this.until([",","]"],o.end),","===S(e,t))r=!0,t++;else if("]"===S(e,t)){t++;break}}return this.node(1,n,this.index,t,i)},string:function(){var e=this.index,t=E(this.source,this.index+1);return this.node(0,t.value,e,t.end)},number:function(){var e=this.source,t=this.index,r=t;if("-"===S(e,r)&&r++,"0"===S(e,r))r++;else{if(!A(T,S(e,r)))throw new I("Failed to parse number at: "+r);r=this.skip(N,r+1)}if(!("."===S(e,r)&&(r=this.skip(N,r+1)),"e"!==S(e,r)&&"E"!==S(e,r)||(r++,"+"!==S(e,r)&&"-"!==S(e,r)||r++,r!==(r=this.skip(N,r)))))throw new I("Failed to parse number's exponent value at: "+r);return this.node(0,y(C(e,t,r)),t,r)},keyword:function(e){var t=""+e,r=this.index,n=r+t.length;if(C(this.source,r,n)!==t)throw new I("Failed to parse value at: "+r);return this.node(0,e,r,n)},skip:function(e,t){for(var r=this.source;t<r.length&&A(e,S(r,t));t++);return t},until:function(e,t){t=this.skip(R,t);for(var r=S(this.source,t),n=0;n<e.length;n++)if(e[n]===r)return t;throw new I('Unexpected character: "'+r+'" at: '+t)}};var j=v(function(){var e,t="9007199254740993";return w(t,function(t,r,n){e=n.source}),e!==t}),G=m&&!v(function(){return 1/w("-0 \t")!=-1/0});n({target:"JSON",stat:!0,forced:j},{parse:function(e,t){return G&&!l(t)?w(e):function(e,t){e=h(e);var r=new x(e,0,""),n=r.parse(),i=n.value,o=r.skip(R,n.end);if(o<e.length)throw new I('Unexpected extra character: "'+S(e,o)+'" after the parsed data at: '+o);return l(t)?M({"":i},"",t,n):i}(e,t)}})},33110(e,t,r){"use strict";var n=r(46518),i=r(97751),o=r(18745),s=r(69565),a=r(79504),c=r(79039),l=r(34376),u=r(94901),d=r(65810),f=r(10757),h=r(22195),p=r(655),_=r(67680),v=r(616),E=r(33392),m=r(4495),g=r(27819),y=String,I=i("JSON","stringify"),w=a(/./.exec),b=a("".charAt),L=a("".charCodeAt),S=a("".replace),C=a("".slice),A=a([].push),O=a(1.1.toString),N=/[\uD800-\uDFFF]/g,T=/^[\uD800-\uDBFF]$/,P=/^[\uDC00-\uDFFF]$/,R=E(),M=R.length,k=!m||c(function(){var e=i("Symbol")("stringify detection");return"[null]"!==I([e])||"{}"!==I({a:e})||"{}"!==I(Object(e))}),D=c(function(){return'"\\udf06\\ud834"'!==I("\udf06\ud834")||'"\\udead"'!==I("\udead")}),x=k?function(e,t){var r=_(arguments),n=G(t);if(u(n)||void 0!==e&&!f(e))return r[1]=function(e,t){if(u(n)&&(t=s(n,this,y(e),t)),!f(t))return t},o(I,null,r)}:I,j=function(e,t,r){var n=b(r,t-1),i=b(r,t+1);return w(T,e)&&!w(P,i)||w(P,e)&&!w(T,n)?"\\u"+O(L(e,0),16):e},G=function(e){if(u(e))return e;if(l(e)){for(var t=e.length,r=[],n=0;n<t;n++){var i=e[n];"string"==typeof i?A(r,i):"number"!=typeof i&&"Number"!==h(i)&&"String"!==h(i)||A(r,p(i))}var o=r.length,s=!0;return function(e,t){if(s)return s=!1,t;if(l(this))return t;for(var n=0;n<o;n++)if(r[n]===e)return t}}};I&&n({target:"JSON",stat:!0,arity:3,forced:k||D||!g},{stringify:function(e,t,r){var n=G(t),i=[],o=x(e,function(e,t){var r=u(n)?s(n,this,y(e),t):t;return!g&&d(r)?R+(A(i,r.rawJSON)-1):r},r);if("string"!=typeof o)return o;if(D&&(o=S(o,N,j)),g)return o;for(var a="",c=o.length,l=0;l<c;l++){var f=b(o,l);if('"'===f){var h=v(o,++l).end-1,p=C(o,l,h);a+=C(p,0,M)===R?i[C(p,M)]:'"'+p+'"',l=h}else a+=f}return a}})},96167(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(79306),s=r(36043),a=r(1103),c=r(72652);n({target:"Promise",stat:!0,forced:r(90537)},{allSettled:function(e){var t=this,r=s.f(t),n=r.resolve,l=r.reject,u=a(function(){var r=o(t.resolve),s=[],a=0,l=1;c(e,function(e){var o=a++,c=!1;l++,i(r,t,e).then(function(e){c||(c=!0,s[o]={status:"fulfilled",value:e},--l||n(s))},function(e){c||(c=!0,s[o]={status:"rejected",reason:e},--l||n(s))})}),--l||n(s)});return u.error&&l(u.value),r.promise}})},9391(e,t,r){"use strict";var n=r(46518),i=r(96395),o=r(80550),s=r(79039),a=r(97751),c=r(94901),l=r(2293),u=r(93438),d=r(36840),f=o&&o.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!o&&s(function(){f.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=l(this,a("Promise")),r=c(e);return this.then(r?function(r){return u(t,e()).then(function(){return r})}:e,r?function(r){return u(t,e()).then(function(){throw r})}:e)}}),!i&&c(o)){var h=a("Promise").prototype.finally;f.finally!==h&&d(f,"finally",h,{unsafe:!0})}},84864(e,t,r){"use strict";var n=r(43724),i=r(44576),o=r(79504),s=r(92796),a=r(23167),c=r(66699),l=r(2360),u=r(38480).f,d=r(1625),f=r(60788),h=r(655),p=r(61034),_=r(58429),v=r(11056),E=r(36840),m=r(79039),g=r(39297),y=r(91181).enforce,I=r(87633),w=r(78227),b=r(83635),L=r(18814),S=w("match"),C=i.RegExp,A=C.prototype,O=i.SyntaxError,N=o(A.exec),T=o("".charAt),P=o("".replace),R=o("".indexOf),M=o("".slice),k=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,D=/a/g,x=/a/g,j=new C(D)!==D,G=_.MISSED_STICKY,U=_.UNSUPPORTED_Y;if(s("RegExp",n&&(!j||G||b||L||m(function(){return x[S]=!1,C(D)!==D||C(x)===x||"/a/i"!==String(C(D,"i"))})))){for(var W=function(e,t){var r,n,i,o,s,u,_=d(A,this),v=f(e),E=void 0===t,m=[],I=e;if(!_&&v&&E&&e.constructor===W)return e;if((v||d(A,e))&&(e=e.source,E&&(t=p(I))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),I=e,b&&"dotAll"in D&&(n=!!t&&R(t,"s")>-1)&&(t=P(t,/s/g,"")),r=t,G&&"sticky"in D&&(i=!!t&&R(t,"y")>-1)&&U&&(t=P(t,/y/g,"")),L&&(o=function(e){for(var t,r=e.length,n=0,i="",o=[],s=l(null),a=!1,c=!1,u=0,d="";n<=r;n++){if("\\"===(t=T(e,n)))t+=T(e,++n);else if("]"===t)a=!1;else if(!a)switch(!0){case"["===t:a=!0;break;case"("===t:if(i+=t,"?:"===M(e,n+1,n+3))continue;N(k,M(e,n+1))&&(n+=2,c=!0),u++;continue;case">"===t&&c:if(""===d||g(s,d))throw new O("Invalid capture group name");s[d]=!0,o[o.length]=[d,u],c=!1,d="";continue}c?d+=t:i+=t}return[i,o]}(e),e=o[0],m=o[1]),s=a(C(e,t),_?this:A,W),(n||i||m.length)&&(u=y(s),n&&(u.dotAll=!0,u.raw=W(function(e){for(var t,r=e.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(t=T(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+T(e,++n);return i}(e),r)),i&&(u.sticky=!0),m.length&&(u.groups=m)),e!==I)try{c(s,"source",""===I?"(?:)":I)}catch(e){}return s},V=u(C),z=0;V.length>z;)v(W,C,V[z++]);A.constructor=W,W.prototype=A,E(i,"RegExp",W,{constructor:!0})}I("RegExp")},57465(e,t,r){"use strict";var n=r(43724),i=r(83635),o=r(22195),s=r(62106),a=r(91181).get,c=RegExp.prototype,l=TypeError;n&&i&&s(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===o(this))return!!a(this).dotAll;throw new l("Incompatible receiver, RegExp required")}}})},27495(e,t,r){"use strict";var n=r(46518),i=r(57323);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},69479(e,t,r){"use strict";var n=r(43724),i=r(62106),o=r(65213),s=r(67979);n&&!o.correct&&(i(RegExp.prototype,"flags",{configurable:!0,get:s}),o.correct=!0)},17642(e,t,r){"use strict";var n=r(46518),i=r(83440),o=r(79039);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("difference",function(e){return 0===e.size})||o(function(){var e={size:1,has:function(){return!0},keys:function(){var e=0;return{next:function(){var r=e++>1;return t.has(1)&&t.clear(),{done:r,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(e).size})},{difference:i})},58004(e,t,r){"use strict";var n=r(46518),i=r(79039),o=r(68750);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||i(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:o})},33853(e,t,r){"use strict";var n=r(46518),i=r(64449);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("isDisjointFrom",function(e){return!e})},{isDisjointFrom:i})},45876(e,t,r){"use strict";var n=r(46518),i=r(53838);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("isSubsetOf",function(e){return e})},{isSubsetOf:i})},32475(e,t,r){"use strict";var n=r(46518),i=r(28527);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("isSupersetOf",function(e){return!e})},{isSupersetOf:i})},15024(e,t,r){"use strict";var n=r(46518),i=r(83650),o=r(39835);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("symmetricDifference")||!o("symmetricDifference")},{symmetricDifference:i})},31698(e,t,r){"use strict";var n=r(46518),i=r(44204),o=r(39835);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("union")||!o("union")},{union:i})},27337(e,t,r){"use strict";var n=r(46518),i=r(79504),o=r(35610),s=RangeError,a=String.fromCharCode,c=String.fromCodePoint,l=i([].join);n({target:"String",stat:!0,arity:1,forced:!!c&&1!==c.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],o(t,1114111)!==t)throw new s(t+" is not a valid code point");r[i]=t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320)}return l(r,"")}})},47764(e,t,r){"use strict";var n=r(68183).charAt,i=r(655),o=r(91181),s=r(51088),a=r(62529),c="String Iterator",l=o.set,u=o.getterFor(c);s(String,"String",function(e){l(this,{type:c,string:i(e),index:0})},function(){var e,t=u(this),r=t.string,i=t.index;return i>=r.length?a(void 0,!0):(e=n(r,i),t.index+=e.length,a(e,!1))})},79978(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(79504),s=r(67750),a=r(94901),c=r(20034),l=r(60788),u=r(655),d=r(55966),f=r(61034),h=r(2478),p=r(78227),_=r(96395),v=p("replace"),E=TypeError,m=o("".indexOf),g=o("".replace),y=o("".slice),I=Math.max;n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,o,p,w,b,L,S,C,A,O=s(this),N=0,T="";if(c(e)){if((r=l(e))&&(n=u(s(f(e))),!~m(n,"g")))throw new E("`.replaceAll` does not allow non-global regexes");if(o=d(e,v))return i(o,e,O,t);if(_&&r)return g(u(O),e,t)}for(p=u(O),w=u(e),(b=a(t))||(t=u(t)),L=w.length,S=I(1,L),C=m(p,w);-1!==C;)A=b?u(t(w,C,p)):h(w,p,C,[],void 0,t),T+=y(p,N,C)+A,N=C+L,C=C+S>p.length?-1:m(p,w,C+S);return N<p.length&&(T+=y(p,N)),T}})},25440(e,t,r){"use strict";var n=r(18745),i=r(69565),o=r(79504),s=r(89228),a=r(79039),c=r(28551),l=r(94901),u=r(20034),d=r(91291),f=r(18014),h=r(655),p=r(67750),_=r(57829),v=r(55966),E=r(2478),m=r(61034),g=r(56682),y=r(78227)("replace"),I=Math.max,w=Math.min,b=o([].concat),L=o([].push),S=o("".indexOf),C=o("".slice),A=function(e){return void 0===e?e:String(e)},O="$0"==="a".replace(/./,"$0"),N=!!/./[y]&&""===/./[y]("a","$0");s("replace",function(e,t,r){var o=N?"$":"$0";return[function(e,r){var n=p(this),o=u(e)?v(e,y):void 0;return o?i(o,e,n,r):i(t,h(n),e,r)},function(e,i){var s=c(this),a=h(e);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var u=r(t,s,a,i);if(u.done)return u.value}var p=l(i);p||(i=h(i));var v,y=h(m(s)),O=-1!==S(y,"g");O&&(v=-1!==S(y,"u"),s.lastIndex=0);for(var N,T=[];null!==(N=g(s,a))&&(L(T,N),O);)""===h(N[0])&&(s.lastIndex=_(a,f(s.lastIndex),v));for(var P="",R=0,M=0;M<T.length;M++){for(var k,D=h((N=T[M])[0]),x=I(w(d(N.index),a.length),0),j=[],G=1;G<N.length;G++)L(j,A(N[G]));var U=N.groups;if(p){var W=b([D],j,x,a);void 0!==U&&L(W,U),k=h(n(i,void 0,W))}else k=E(D,a,x,j,U,i);x>=R&&(P+=C(a,R,x)+k,R=x+D.length)}return P+C(a,R)}]},!!a(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!O||N)},42762(e,t,r){"use strict";var n=r(46518),i=r(43802).trim;n({target:"String",proto:!0,forced:r(60706)("trim")},{trim:function(){return i(this)}})},66412(e,t,r){"use strict";r(70511)("asyncIterator")},89463(e,t,r){"use strict";var n=r(46518),i=r(43724),o=r(44576),s=r(79504),a=r(39297),c=r(94901),l=r(1625),u=r(655),d=r(62106),f=r(77740),h=o.Symbol,p=h&&h.prototype;if(i&&c(h)&&(!("description"in p)||void 0!==h().description)){var _={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=l(p,this)?new h(e):void 0===e?h():h(e);return""===e&&(_[t]=!0),t};f(v,h),v.prototype=p,p.constructor=v;var E="Symbol(description detection)"===String(h("description detection")),m=s(p.valueOf),g=s(p.toString),y=/^Symbol\((.*)\)[^)]+$/,I=s("".replace),w=s("".slice);d(p,"description",{configurable:!0,get:function(){var e=m(this);if(a(_,e))return"";var t=g(e),r=E?w(t,7,-1):I(t,y,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:v})}},48140(e,t,r){"use strict";var n=r(94644),i=r(26198),o=r(91291),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",function(e){var t=s(this),r=i(t),n=o(e),a=n>=0?n:r+n;return a<0||a>=r?void 0:t[a]})},75044(e,t,r){"use strict";var n=r(94644),i=r(84373),o=r(75854),s=r(36955),a=r(69565),c=r(79504),l=r(79039),u=n.aTypedArray,d=n.exportTypedArrayMethod,f=c("".slice);d("fill",function(e){var t=arguments.length;u(this);var r="Big"===f(s(this),0,3)?o(e):+e;return a(i,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)},l(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}))},91134(e,t,r){"use strict";var n=r(94644),i=r(43839).findLastIndex,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)})},21903(e,t,r){"use strict";var n=r(94644),i=r(43839).findLast,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)})},34594(e,t,r){"use strict";r(15823)("Float32",function(e){return function(t,r,n){return e(this,t,r,n)}})},29833(e,t,r){"use strict";r(15823)("Float64",function(e){return function(t,r,n){return e(this,t,r,n)}})},72107(e,t,r){"use strict";r(15823)("Int16",function(e){return function(t,r,n){return e(this,t,r,n)}})},95477(e,t,r){"use strict";r(15823)("Int32",function(e){return function(t,r,n){return e(this,t,r,n)}})},46594(e,t,r){"use strict";r(15823)("Int8",function(e){return function(t,r,n){return e(this,t,r,n)}})},52568(e,t,r){"use strict";var n=r(94644),i=r(72805),o=n.aTypedArrayConstructor;(0,n.exportTypedArrayStaticMethod)("of",function(){for(var e=0,t=arguments.length,r=new(o(this))(t);t>e;)r[e]=arguments[e++];return r},i)},28845(e,t,r){"use strict";var n=r(44576),i=r(69565),o=r(94644),s=r(26198),a=r(58229),c=r(48981),l=r(79039),u=n.RangeError,d=n.Int8Array,f=d&&d.prototype,h=f&&f.set,p=o.aTypedArray,_=o.exportTypedArrayMethod,v=!l(function(){var e=new Uint8ClampedArray(2);return i(h,e,{length:1,0:3},1),3!==e[1]}),E=v&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]});_("set",function(e){p(this);var t=a(arguments.length>1?arguments[1]:void 0,1),r=c(e);if(v)return i(h,this,r,t);var n=this.length,o=s(r),l=0;if(o+t>n)throw new u("Wrong length");for(;l<o;)this[t+l]=r[l++]},!v||E)},373(e,t,r){"use strict";var n=r(44576),i=r(27476),o=r(79039),s=r(79306),a=r(74488),c=r(94644),l=r(13709),u=r(13763),d=r(39519),f=r(3607),h=c.aTypedArray,p=c.exportTypedArrayMethod,_=n.Uint16Array,v=_&&i(_.prototype.sort),E=!(!v||o(function(){v(new _(2),null)})&&o(function(){v(new _(2),{})})),m=!!v&&!o(function(){if(d)return d<74;if(l)return l<67;if(u)return!0;if(f)return f<602;var e,t,r=new _(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(v(r,function(e,t){return(e/4|0)-(t/4|0)}),e=0;e<516;e++)if(r[e]!==n[e])return!0});p("sort",function(e){return void 0!==e&&s(e),m?v(this,e):a(h(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))},!m||E)},37467(e,t,r){"use strict";var n=r(37628),i=r(94644),o=i.aTypedArray,s=i.exportTypedArrayMethod,a=i.getTypedArrayConstructor;s("toReversed",function(){return n(o(this),a(this))})},44732(e,t,r){"use strict";var n=r(94644),i=r(79504),o=r(79306),s=r(35370),a=n.aTypedArray,c=n.getTypedArrayConstructor,l=n.exportTypedArrayMethod,u=i(n.TypedArrayPrototype.sort);l("toSorted",function(e){void 0!==e&&o(e);var t=a(this),r=s(c(t),t);return u(r,e)})},3690(e,t,r){"use strict";r(15823)("Uint16",function(e){return function(t,r,n){return e(this,t,r,n)}})},61740(e,t,r){"use strict";r(15823)("Uint32",function(e){return function(t,r,n){return e(this,t,r,n)}})},21489(e,t,r){"use strict";r(15823)("Uint8",function(e){return function(t,r,n){return e(this,t,r,n)}})},22134(e,t,r){"use strict";r(15823)("Uint8",function(e){return function(t,r,n){return e(this,t,r,n)}},!0)},79577(e,t,r){"use strict";var n=r(39928),i=r(94644),o=r(18727),s=r(91291),a=r(75854),c=i.aTypedArray,l=i.getTypedArrayConstructor,u=i.exportTypedArrayMethod,d=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}(),f=d&&function(){try{new Int8Array(1).with(-.5,1)}catch(e){return!0}}();u("with",{with:function(e,t){var r=c(this),i=s(e),u=o(r)?a(t):+t;return n(r,l(r),i,u)}}.with,!d||f)},16632(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(59143),s=r(34154),a=i.Uint8Array,c=!a||!a.prototype.setFromBase64||!function(){var e=new a([255,255,255,255,255]);try{return void e.setFromBase64("",null)}catch(e){}try{return void e.setFromBase64("a")}catch(e){}try{e.setFromBase64("MjYyZg===")}catch(t){return 50===e[0]&&54===e[1]&&50===e[2]&&255===e[3]&&255===e[4]}}();a&&n({target:"Uint8Array",proto:!0,forced:c},{setFromBase64:function(e){s(this);var t=o(e,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})},34226(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(63463),s=r(34154),a=r(55169),c=r(42303);i.Uint8Array&&n({target:"Uint8Array",proto:!0},{setFromHex:function(e){s(this),o(e),a(this.buffer);var t=c(e,this).read;return{read:t,written:t/2}}})},9486(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(79504),s=r(83972),a=r(34154),c=r(55169),l=r(92804),u=r(944),d=l.i2c,f=l.i2cUrl,h=o("".charAt),p=i.Uint8Array,_=!p||!p.prototype.toBase64||!function(){try{(new p).toBase64(null)}catch(e){return!0}}();p&&n({target:"Uint8Array",proto:!0,forced:_},{toBase64:function(){var e=a(this),t=arguments.length?s(arguments[0]):void 0,r="base64"===u(t)?d:f,n=!!t&&!!t.omitPadding;c(this.buffer);for(var i,o="",l=0,p=e.length,_=function(e){return h(r,i>>6*e&63)};l+2<p;l+=3)i=(e[l]<<16)+(e[l+1]<<8)+e[l+2],o+=_(3)+_(2)+_(1)+_(0);return l+2===p?(i=(e[l]<<16)+(e[l+1]<<8),o+=_(3)+_(2)+_(1)+(n?"":"=")):l+1===p&&(i=e[l]<<16,o+=_(3)+_(2)+(n?"":"==")),o}})},20456(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(79504),s=r(34154),a=r(55169),c=o(1.1.toString),l=i.Uint8Array,u=!l||!l.prototype.toHex||!function(){try{return"ffffffffffffffff"===new l([255,255,255,255,255,255,255,255]).toHex()}catch(e){return!1}}();l&&n({target:"Uint8Array",proto:!0,forced:u},{toHex:function(){s(this),a(this.buffer);for(var e="",t=0,r=this.length;t<r;t++){var n=c(this[t],16);e+=1===n.length?"0"+n:n}return e}})},58335(e,t,r){"use strict";r(69112)},41549(e,t,r){"use strict";r(16632)},49797(e,t,r){"use strict";r(34226)},49631(e,t,r){"use strict";r(9486)},35623(e,t,r){"use strict";r(20456)},62953(e,t,r){"use strict";var n=r(44576),i=r(67400),o=r(79296),s=r(23792),a=r(66699),c=r(10687),l=r(78227)("iterator"),u=s.values,d=function(e,t){if(e){if(e[l]!==u)try{a(e,l,u)}catch(t){e[l]=u}if(c(e,t,!0),i[t])for(var r in s)if(e[r]!==s[r])try{a(e,r,s[r])}catch(t){e[r]=s[r]}}};for(var f in i)d(n[f]&&n[f].prototype,f);d(o,"DOMTokenList")},55815(e,t,r){"use strict";var n=r(46518),i=r(97751),o=r(89429),s=r(79039),a=r(2360),c=r(6980),l=r(24913).f,u=r(36840),d=r(62106),f=r(39297),h=r(90679),p=r(28551),_=r(77536),v=r(32603),E=r(55002),m=r(16193),g=r(91181),y=r(43724),I=r(96395),w="DOMException",b="DATA_CLONE_ERR",L=i("Error"),S=i(w)||function(){try{(new(i("MessageChannel")||o("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(e){if(e.name===b&&25===e.code)return e.constructor}}(),C=S&&S.prototype,A=L.prototype,O=g.set,N=g.getterFor(w),T="stack"in new L(w),P=function(e){return f(E,e)&&E[e].m?E[e].c:0},R=function(){h(this,M);var e=arguments.length,t=v(e<1?void 0:arguments[0]),r=v(e<2?void 0:arguments[1],"Error"),n=P(r);if(O(this,{type:w,name:r,message:t,code:n}),y||(this.name=r,this.message=t,this.code=n),T){var i=new L(t);i.name=w,l(this,"stack",c(1,m(i.stack,1)))}},M=R.prototype=a(A),k=function(e){return{enumerable:!0,configurable:!0,get:e}},D=function(e){return k(function(){return N(this)[e]})};y&&(d(M,"code",D("code")),d(M,"message",D("message")),d(M,"name",D("name"))),l(M,"constructor",c(1,R));var x=s(function(){return!(new S instanceof L)}),j=x||s(function(){return A.toString!==_||"2: 1"!==String(new S(1,2))}),G=x||s(function(){return 25!==new S(1,"DataCloneError").code}),U=x||25!==S[b]||25!==C[b],W=I?j||G||U:x;n({global:!0,constructor:!0,forced:W},{DOMException:W?R:S});var V=i(w),z=V.prototype;for(var F in j&&(I||S===V)&&u(z,"toString",_),G&&y&&S===V&&d(z,"code",k(function(){return P(p(this).name)})),E)if(f(E,F)){var B=E[F],H=B.s,Y=c(6,B.c);f(V,H)||l(V,H,Y),f(z,H)||l(z,H,Y)}},64979(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(97751),s=r(6980),a=r(24913).f,c=r(39297),l=r(90679),u=r(23167),d=r(32603),f=r(55002),h=r(16193),p=r(43724),_=r(96395),v="DOMException",E=o("Error"),m=o(v),g=function(){l(this,y);var e=arguments.length,t=d(e<1?void 0:arguments[0]),r=d(e<2?void 0:arguments[1],"Error"),n=new m(t,r),i=new E(t);return i.name=v,a(n,"stack",s(1,h(i.stack,1))),u(n,this,g),n},y=g.prototype=m.prototype,I="stack"in new E(v),w="stack"in new m(1,2),b=m&&p&&Object.getOwnPropertyDescriptor(i,v),L=!(!b||b.writable&&b.configurable),S=I&&!L&&!w;n({global:!0,constructor:!0,forced:_||S},{DOMException:S?g:m});var C=o(v),A=C.prototype;if(A.constructor!==C)for(var O in _||a(A,"constructor",s(1,C)),f)if(c(f,O)){var N=f[O],T=N.s;c(C,T)||a(C,T,s(6,N.c))}},79739(e,t,r){"use strict";var n=r(97751),i="DOMException";r(10687)(n(i),i)},98406(e,t,r){"use strict";r(23792),r(27337);var n=r(46518),i=r(44576),o=r(93389),s=r(97751),a=r(69565),c=r(79504),l=r(43724),u=r(67416),d=r(36840),f=r(62106),h=r(56279),p=r(10687),_=r(33994),v=r(91181),E=r(90679),m=r(94901),g=r(39297),y=r(76080),I=r(36955),w=r(28551),b=r(20034),L=r(655),S=r(2360),C=r(6980),A=r(70081),O=r(50851),N=r(62529),T=r(22812),P=r(78227),R=r(74488),M=P("iterator"),k="URLSearchParams",D=k+"Iterator",x=v.set,j=v.getterFor(k),G=v.getterFor(D),U=o("fetch"),W=o("Request"),V=o("Headers"),z=W&&W.prototype,F=V&&V.prototype,B=i.TypeError,H=i.encodeURIComponent,Y=String.fromCharCode,Q=s("String","fromCodePoint"),J=parseInt,K=c("".charAt),X=c([].join),q=c([].push),Z=c("".replace),$=c([].shift),ee=c([].splice),te=c("".split),re=c("".slice),ne=c(/./.exec),ie=/\+/g,oe=/^[0-9a-f]+$/i,se=function(e,t){var r=re(e,t,t+2);return ne(oe,r)?J(r,16):NaN},ae=function(e){for(var t=0,r=128;r>0&&0!==(e&r);r>>=1)t++;return t},ce=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},le=function(e){for(var t=(e=Z(e,ie," ")).length,r="",n=0;n<t;){var i=K(e,n);if("%"===i){if("%"===K(e,n+1)||n+3>t){r+="%",n++;continue}var o=se(e,n+1);if(o!=o){r+=i,n++;continue}n+=2;var s=ae(o);if(0===s)i=Y(o);else{if(1===s||s>4){r+="�",n++;continue}for(var a=[o],c=1;c<s&&!(3+ ++n>t||"%"!==K(e,n));){var l=se(e,n+1);if(l!=l){n+=3;break}if(l>191||l<128)break;q(a,l),n+=2,c++}if(a.length!==s){r+="�";continue}var u=ce(a);null===u?r+="�":i=Q(u)}}r+=i,n++}return r},ue=/[!'()~]|%20/g,de={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},fe=function(e){return de[e]},he=function(e){return Z(H(e),ue,fe)},pe=_(function(e,t){x(this,{type:D,target:j(e).entries,index:0,kind:t})},k,function(){var e=G(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,N(void 0,!0);var n=t[r];switch(e.kind){case"keys":return N(n.key,!1);case"values":return N(n.value,!1)}return N([n.key,n.value],!1)},!0),_e=function(e){this.entries=[],this.url=null,void 0!==e&&(b(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===K(e,0)?re(e,1):e:L(e)))};_e.prototype={type:k,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,o,s,c,l=this.entries,u=O(e);if(u)for(r=(t=A(e,u)).next;!(n=a(r,t)).done;){if(o=(i=A(w(n.value))).next,(s=a(o,i)).done||(c=a(o,i)).done||!a(o,i).done)throw new B("Expected sequence with length 2");q(l,{key:L(s.value),value:L(c.value)})}else for(var d in e)g(e,d)&&q(l,{key:d,value:L(e[d])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=te(e,"&"),o=0;o<i.length;)(t=i[o++]).length&&(r=te(t,"="),q(n,{key:le($(r)),value:le(X(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],q(r,he(e.key)+"="+he(e.value));return X(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ve=function(){E(this,Ee);var e=x(this,new _e(arguments.length>0?arguments[0]:void 0));l||(this.size=e.entries.length)},Ee=ve.prototype;if(h(Ee,{append:function(e,t){var r=j(this);T(arguments.length,2),q(r.entries,{key:L(e),value:L(t)}),l||this.size++,r.updateURL()},delete:function(e){for(var t=j(this),r=T(arguments.length,1),n=t.entries,i=L(e),o=r<2?void 0:arguments[1],s=void 0===o?o:L(o),a=0;a<n.length;){var c=n[a];if(c.key!==i||void 0!==s&&c.value!==s)a++;else if(ee(n,a,1),void 0!==s)break}l||(this.size=n.length),t.updateURL()},get:function(e){var t=j(this).entries;T(arguments.length,1);for(var r=L(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=j(this).entries;T(arguments.length,1);for(var r=L(e),n=[],i=0;i<t.length;i++)t[i].key===r&&q(n,t[i].value);return n},has:function(e){for(var t=j(this).entries,r=T(arguments.length,1),n=L(e),i=r<2?void 0:arguments[1],o=void 0===i?i:L(i),s=0;s<t.length;){var a=t[s++];if(a.key===n&&(void 0===o||a.value===o))return!0}return!1},set:function(e,t){var r=j(this);T(arguments.length,1);for(var n,i=r.entries,o=!1,s=L(e),a=L(t),c=0;c<i.length;c++)(n=i[c]).key===s&&(o?ee(i,c--,1):(o=!0,n.value=a));o||q(i,{key:s,value:a}),l||(this.size=i.length),r.updateURL()},sort:function(){var e=j(this);R(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=j(this).entries,n=y(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new pe(this,"keys")},values:function(){return new pe(this,"values")},entries:function(){return new pe(this,"entries")}},{enumerable:!0}),d(Ee,M,Ee.entries,{name:"entries"}),d(Ee,"toString",function(){return j(this).serialize()},{enumerable:!0}),l&&f(Ee,"size",{get:function(){return j(this).entries.length},configurable:!0,enumerable:!0}),p(ve,k),n({global:!0,constructor:!0,forced:!u},{URLSearchParams:ve}),!u&&m(V)){var me=c(F.has),ge=c(F.set),ye=function(e){if(b(e)){var t,r=e.body;if(I(r)===k)return t=e.headers?new V(e.headers):new V,me(t,"content-type")||ge(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),S(e,{body:C(0,L(r)),headers:C(0,t)})}return e};if(m(U)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return U(e,arguments.length>1?ye(arguments[1]):{})}}),m(W)){var Ie=function(e){return E(this,z),new W(e,arguments.length>1?ye(arguments[1]):{})};z.constructor=Ie,Ie.prototype=z,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ie})}}e.exports={URLSearchParams:ve,getState:j}},14603(e,t,r){"use strict";var n=r(36840),i=r(79504),o=r(655),s=r(22812),a=URLSearchParams,c=a.prototype,l=i(c.append),u=i(c.delete),d=i(c.forEach),f=i([].push),h=new a("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&n(c,"delete",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return u(this,e);var n=[];d(this,function(e,t){f(n,{key:t,value:e})}),s(t,1);for(var i,a=o(e),c=o(r),h=0,p=0,_=!1,v=n.length;h<v;)i=n[h++],_||i.key===a?(_=!0,u(this,i.key)):p++;for(;p<v;)(i=n[p++]).key===a&&i.value===c||l(this,i.key,i.value)},{enumerable:!0,unsafe:!0})},47566(e,t,r){"use strict";var n=r(36840),i=r(79504),o=r(655),s=r(22812),a=URLSearchParams,c=a.prototype,l=i(c.getAll),u=i(c.has),d=new a("a=1");!d.has("a",2)&&d.has("a",void 0)||n(c,"has",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return u(this,e);var n=l(this,e);s(t,1);for(var i=o(r),a=0;a<n.length;)if(n[a++]===i)return!0;return!1},{enumerable:!0,unsafe:!0})},48408(e,t,r){"use strict";r(98406)},98721(e,t,r){"use strict";var n=r(43724),i=r(79504),o=r(62106),s=URLSearchParams.prototype,a=i(s.forEach);n&&!("size"in s)&&o(s,"size",{get:function(){var e=0;return a(this,function(){e++}),e},configurable:!0,enumerable:!0})},45806(e,t,r){"use strict";r(47764);var n,i=r(46518),o=r(43724),s=r(67416),a=r(44576),c=r(76080),l=r(79504),u=r(36840),d=r(62106),f=r(90679),h=r(39297),p=r(44213),_=r(97916),v=r(67680),E=r(68183).codeAt,m=r(3717),g=r(655),y=r(10687),I=r(22812),w=r(98406),b=r(91181),L=b.set,S=b.getterFor("URL"),C=w.URLSearchParams,A=w.getState,O=a.URL,N=a.TypeError,T=a.parseInt,P=Math.floor,R=Math.pow,M=l("".charAt),k=l(/./.exec),D=l([].join),x=l(1.1.toString),j=l([].pop),G=l([].push),U=l("".replace),W=l([].shift),V=l("".split),z=l("".slice),F=l("".toLowerCase),B=l([].unshift),H="Invalid scheme",Y="Invalid host",Q="Invalid port",J=/[a-z]/i,K=/[\d+-.a-z]/i,X=/\d/,q=/^0x/i,Z=/^[0-7]+$/,$=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+/,ie=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,oe=/[\t\n\r]/g,se=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)B(t,e%256),e=P(e/256);return D(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r?n:t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=x(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ae={},ce=p({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),le=p({},ce,{"#":1,"?":1,"{":1,"}":1}),ue=p({},le,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(e,t){var r=E(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},he=function(e,t){var r;return 2===e.length&&k(J,M(e,0))&&(":"===(r=M(e,1))||!t&&"|"===r)},pe=function(e){var t;return e.length>1&&he(z(e,0,2))&&(2===e.length||"/"===(t=M(e,2))||"\\"===t||"?"===t||"#"===t)},_e=function(e){return"."===e||"%2e"===F(e)},ve=function(e){return".."===(e=F(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},Ee={},me={},ge={},ye={},Ie={},we={},be={},Le={},Se={},Ce={},Ae={},Oe={},Ne={},Te={},Pe={},Re={},Me={},ke={},De={},xe={},je={},Ge=function(e,t,r){var n,i,o,s=g(e);if(t){if(i=this.parse(s))throw new N(i);this.searchParams=null}else{if(void 0!==r&&(n=new Ge(r,!0)),i=this.parse(s,null,n))throw new N(i);(o=A(new C)).bindURL(this),this.searchParams=o}};Ge.prototype={type:"URL",parse:function(e,t,r){var i,o,s,a,c=this,l=t||Ee,u=0,d="",f=!1,p=!1,E=!1;for(e=g(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=U(e,ne,""),e=U(e,ie,"$1")),e=U(e,oe,""),i=_(e);u<=i.length;){switch(o=i[u],l){case Ee:if(!o||!k(J,o)){if(t)return H;l=ge;continue}d+=F(o),l=me;break;case me:if(o&&(k(K,o)||"+"===o||"-"===o||"."===o))d+=F(o);else{if(":"!==o){if(t)return H;d="",l=ge,u=0;continue}if(t&&(c.isSpecial()!==h(fe,d)||"file"===d&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&fe[c.scheme]===c.port&&(c.port=null));d="","file"===c.scheme?l=Te:c.isSpecial()&&r&&r.scheme===c.scheme?l=ye:c.isSpecial()?l=Le:"/"===i[u+1]?(l=Ie,u++):(c.cannotBeABaseURL=!0,G(c.path,""),l=De)}break;case ge:if(!r||r.cannotBeABaseURL&&"#"!==o)return H;if(r.cannotBeABaseURL&&"#"===o){c.scheme=r.scheme,c.path=v(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,l=je;break}l="file"===r.scheme?Te:we;continue;case ye:if("/"!==o||"/"!==i[u+1]){l=we;continue}l=Se,u++;break;case Ie:if("/"===o){l=Ce;break}l=ke;continue;case we:if(c.scheme=r.scheme,o===n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query;else if("/"===o||"\\"===o&&c.isSpecial())l=be;else if("?"===o)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query="",l=xe;else{if("#"!==o){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.path.length--,l=ke;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query,c.fragment="",l=je}break;case be:if(!c.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,l=ke;continue}l=Ce}else l=Se;break;case Le:if(l=Se,"/"!==o||"/"!==M(d,u+1))continue;u++;break;case Se:if("/"!==o&&"\\"!==o){l=Ce;continue}break;case Ce:if("@"===o){f&&(d="%40"+d),f=!0,s=_(d);for(var m=0;m<s.length;m++){var y=s[m];if(":"!==y||E){var I=de(y,ue);E?c.password+=I:c.username+=I}else E=!0}d=""}else if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()){if(f&&""===d)return"Invalid authority";u-=_(d).length+1,d="",l=Ae}else d+=o;break;case Ae:case Oe:if(t&&"file"===c.scheme){l=Re;continue}if(":"!==o||p){if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()){if(c.isSpecial()&&""===d)return Y;if(t&&""===d&&(c.includesCredentials()||null!==c.port))return;if(a=c.parseHost(d))return a;if(d="",l=Me,t)return;continue}"["===o?p=!0:"]"===o&&(p=!1),d+=o}else{if(""===d)return Y;if(a=c.parseHost(d))return a;if(d="",l=Ne,t===Oe)return}break;case Ne:if(!k(X,o)){if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()||t){if(""!==d){var w=T(d,10);if(w>65535)return Q;c.port=c.isSpecial()&&w===fe[c.scheme]?null:w,d=""}if(t)return;l=Me;continue}return Q}d+=o;break;case Te:if(c.scheme="file","/"===o||"\\"===o)l=Pe;else{if(!r||"file"!==r.scheme){l=ke;continue}switch(o){case n:c.host=r.host,c.path=v(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=v(r.path),c.query="",l=xe;break;case"#":c.host=r.host,c.path=v(r.path),c.query=r.query,c.fragment="",l=je;break;default:pe(D(v(i,u),""))||(c.host=r.host,c.path=v(r.path),c.shortenPath()),l=ke;continue}}break;case Pe:if("/"===o||"\\"===o){l=Re;break}r&&"file"===r.scheme&&!pe(D(v(i,u),""))&&(he(r.path[0],!0)?G(c.path,r.path[0]):c.host=r.host),l=ke;continue;case Re:if(o===n||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&he(d))l=ke;else if(""===d){if(c.host="",t)return;l=Me}else{if(a=c.parseHost(d))return a;if("localhost"===c.host&&(c.host=""),t)return;d="",l=Me}continue}d+=o;break;case Me:if(c.isSpecial()){if(l=ke,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==n&&(l=ke,"/"!==o))continue}else c.fragment="",l=je;else c.query="",l=xe;break;case ke:if(o===n||"/"===o||"\\"===o&&c.isSpecial()||!t&&("?"===o||"#"===o)){if(ve(d)?(c.shortenPath(),"/"===o||"\\"===o&&c.isSpecial()||G(c.path,"")):_e(d)?"/"===o||"\\"===o&&c.isSpecial()||G(c.path,""):("file"===c.scheme&&!c.path.length&&he(d)&&(c.host&&(c.host=""),d=M(d,0)+":"),G(c.path,d)),d="","file"===c.scheme&&(o===n||"?"===o||"#"===o))for(;c.path.length>1&&""===c.path[0];)W(c.path);"?"===o?(c.query="",l=xe):"#"===o&&(c.fragment="",l=je)}else d+=de(o,le);break;case De:"?"===o?(c.query="",l=xe):"#"===o?(c.fragment="",l=je):o!==n&&(c.path[0]+=de(o,ae));break;case xe:t||"#"!==o?o!==n&&("'"===o&&c.isSpecial()?c.query+="%27":c.query+="#"===o?"%23":de(o,ae)):(c.fragment="",l=je);break;case je:o!==n&&(c.fragment+=de(o,ce))}u++}},parseHost:function(e){var t,r,n;if("["===M(e,0)){if("]"!==M(e,e.length-1))return Y;if(t=function(e){var t,r,n,i,o,s,a,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,f=function(){return M(e,d)};if(":"===f()){if(":"!==M(e,1))return;d+=2,u=++l}for(;f();){if(8===l)return;if(":"!==f()){for(t=r=0;r<4&&k(ee,f());)t=16*t+T(f(),16),d++,r++;if("."===f()){if(0===r)return;if(d-=r,l>6)return;for(n=0;f();){if(i=null,n>0){if(!("."===f()&&n<4))return;d++}if(!k(X,f()))return;for(;k(X,f());){if(o=T(f(),10),null===i)i=o;else{if(0===i)return;i=10*i+o}if(i>255)return;d++}c[l]=256*c[l]+i,2!==++n&&4!==n||l++}if(4!==n)return;break}if(":"===f()){if(d++,!f())return}else if(f())return;c[l++]=t}else{if(null!==u)return;d++,u=++l}}if(null!==u)for(s=l-u,l=7;0!==l&&s>0;)a=c[l],c[l--]=c[u+s-1],c[u+--s]=a;else if(8!==l)return;return c}(z(e,1,-1)),!t)return Y;this.host=t}else if(this.isSpecial()){if(e=m(e),k(te,e))return Y;if(t=function(e){var t,r,n,i,o,s,a,c=V(e,".");if(c.length&&""===c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(i=c[n]))return e;if(o=10,i.length>1&&"0"===M(i,0)&&(o=k(q,i)?16:8,i=z(i,8===o?1:2)),""===i)s=0;else{if(!k(10===o?$:8===o?Z:ee,i))return e;s=T(i,o)}G(r,s)}for(n=0;n<t;n++)if(s=r[n],n===t-1){if(s>=R(256,5-t))return null}else if(s>255)return null;for(a=j(r),n=0;n<r.length;n++)a+=r[n]*R(256,3-n);return a}(e),null===t)return Y;this.host=t}else{if(k(re,e))return Y;for(t="",r=_(e),n=0;n<r.length;n++)t+=de(r[n],ae);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(fe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&he(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,s=e.path,a=e.query,c=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=r+(n?":"+n:"")+"@"),l+=se(i),null!==o&&(l+=":"+o)):"file"===t&&(l+="//"),l+=e.cannotBeABaseURL?s[0]:s.length?"/"+D(s,"/"):"",null!==a&&(l+="?"+a),null!==c&&(l+="#"+c),l},setHref:function(e){var t=this.parse(e);if(t)throw new N(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Ue(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+se(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",Ee)},getUsername:function(){return this.username},setUsername:function(e){var t=_(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=de(t[r],ue)}},getPassword:function(){return this.password},setPassword:function(e){var t=_(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=de(t[r],ue)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?se(e):se(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getHostname:function(){var e=this.host;return null===e?"":se(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Oe)},getPort:function(){var e=this.port;return null===e?"":g(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=g(e))?this.port=null:this.parse(e,Ne))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+D(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Me))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=g(e))?this.query=null:("?"===M(e,0)&&(e=z(e,1)),this.query="",this.parse(e,xe)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=g(e))?("#"===M(e,0)&&(e=z(e,1)),this.fragment="",this.parse(e,je)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ue=function(e){var t=f(this,We),r=I(arguments.length,1)>1?arguments[1]:void 0,n=L(t,new Ge(e,!1,r));o||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},We=Ue.prototype,Ve=function(e,t){return{get:function(){return S(this)[e]()},set:t&&function(e){return S(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(d(We,"href",Ve("serialize","setHref")),d(We,"origin",Ve("getOrigin")),d(We,"protocol",Ve("getProtocol","setProtocol")),d(We,"username",Ve("getUsername","setUsername")),d(We,"password",Ve("getPassword","setPassword")),d(We,"host",Ve("getHost","setHost")),d(We,"hostname",Ve("getHostname","setHostname")),d(We,"port",Ve("getPort","setPort")),d(We,"pathname",Ve("getPathname","setPathname")),d(We,"search",Ve("getSearch","setSearch")),d(We,"searchParams",Ve("getSearchParams")),d(We,"hash",Ve("getHash","setHash"))),u(We,"toJSON",function(){return S(this).serialize()},{enumerable:!0}),u(We,"toString",function(){return S(this).serialize()},{enumerable:!0}),O){var ze=O.createObjectURL,Fe=O.revokeObjectURL;ze&&u(Ue,"createObjectURL",c(ze,O)),Fe&&u(Ue,"revokeObjectURL",c(Fe,O))}y(Ue,"URL"),i({global:!0,constructor:!0,forced:!s,sham:!o},{URL:Ue})},3296(e,t,r){"use strict";r(45806)},27208(e,t,r){"use strict";var n=r(46518),i=r(69565);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},86780(e,t,r){"use strict";r.r(t),r.d(t,{CompressionError:()=>n,PropertyObserver:()=>b,VirtualDOM:()=>g,depthFirstPostOrderMap:()=>c,depthFirstPreOrder:()=>l,depthFirstPreOrderMap:()=>a,isxdoc:()=>I,parents:()=>w});class n{constructor(e,t){this._message=e,this._node=t}get message(){return this._message}get node(){return this._node}}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r;let n;const i=t(e,function(){n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]});return n=null!=n?n:e.childNodes,null!==(r=n)&&void 0!==r&&r.length?o(o({},i),{},{childNodes:Array.from(n).map(e=>a(e,t))}):i}function c(e,t){const r=Array.from(e.childNodes||[]).map(e=>c(e,t));return t(e,r)}function l(e,t){const r=[e];for(;r.length>0;){var n;const e=r.pop();let i;if(t(e,e=>i=null!=e?e:[]),i=null!=i?i:e.childNodes,null!==(n=i)&&void 0!==n&&n.length)for(let e=i.length-1;e>=0;e--)r.push(i[e])}}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function p(e,t){return e.get(_(e,t))}function _(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}r(16280),r(44114),r(13609),r(18111),r(22489),r(7588),r(61701),r(13579),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var v=new WeakMap,E=new WeakMap,m=new WeakMap;class g{constructor(e){var t,r;h(this,v,void 0),h(this,E,{}),h(this,m,{}),r=e,(t=v).set(_(t,this),r)}get id(){return p(v,this)}get document(){return p(E,this)[p(v,this)]||{id:p(v,this),childNodes:[]}}node(e){return p(E,this)[(null==e?void 0:e.id)||e]}parent(e){return this.node(p(m,this)[(null==e?void 0:e.id)||e])}path(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set([p(v,this)]),r=this.node(e);if(!r)return null;const n=[],i=new Set;for(;r&&!t.has(r.id);){const e=this.parent(r);if(!e)return null;if(!e.childNodes.some(e=>(e.id||e)===r.id))return null;if(i.has(e))throw new Error("cycle detected in VirtualDOM path computation");n.unshift(e),i.add(e),r=e}return n}applyPatch(e){const t=new Set;for(const r of e)if(r.id){const e=p(E,this)[r.id]||{},n=d(d({},e),r);p(E,this)[r.id]=n,t.add(r.id);const i=new Set((e.childNodes||[]).map(e=>e.id||e)),o=new Set((n.childNodes||[]).map(e=>e.id||e));o.forEach(e=>{p(m,this)[e]=n.id}),i.difference(o).forEach(e=>{l(this.node(e),e=>{t.add(e.id)})})}else console.warn("diff missing id",r);const r=new Set([p(v,this)]);return t.forEach(e=>{const n=this.path(e,r);if(!n)return delete p(E,this)[e],t.delete(e),void delete p(m,this)[e];for(const e of n)t.has(e.id)||(t.add(e.id),p(E,this)[e.id]=d({},e)),r.add(e.id)}),t.forEach(e=>{const t=p(E,this)[e];t.childNodes=(t.childNodes||[]).map(e=>{const r=e.id||e,i=p(E,this)[r];if(!i)throw new n("denormalisation failed for child ".concat(r),t);return i})}),this}}function y(e){try{return!e.document&&!1}catch(e){return!0}}function I(e){return!!y(e)||!("IFRAME"!==e.tagName||!y(e.contentWindow))}function w(e,t){const r=[];let n=e;for(;n.parentNode&&n.parentNode!==t;)r.push(n.parentNode),n=n.parentNode;if(n instanceof ShadowRoot)return[...r,n.host,...w(n.host,t)];const i=n.defaultView&&n.defaultView.frameElement;return i?[...r,i,...w(i)]:r}class b{constructor(e){this.onPropertySet=e,this._klasses=new Set}_trackObserver(e){e.__cbio_observers||(e.__cbio_observers=new Set),e.__cbio_observers.add(this)}_untrackObserver(e){e.__cbio_observers&&e.__cbio_observers.delete(this)}_tap(e,t){if(e["__cbio_override_".concat(t)])return;const r=Object.getOwnPropertyDescriptor(e.prototype,t);if(!r)return;e["__cbio_override_".concat(t)]=!0;const n=r.set;r.set=function(r){n.call(this,r),e.__cbio_observers&&e.__cbio_observers.forEach(e=>{e.onPropertySet(this,t,r)})},Object.defineProperty(e.prototype,t,r)}observe(e,t){this._klasses.add(e),this._trackObserver(e),this._tap(e,t)}disconnect(){this._klasses.forEach(e=>this._untrackObserver(e)),this._klasses.clear()}}},42074(e,t,r){"use strict";r.r(t),r.d(t,{ActivityDetection:()=>O,CBORSocket:()=>le,IFrameBridge:()=>Le,IFrameRPC:()=>Te,closestXdocParent:()=>Me,createPatternMatcher:()=>fe,isValidPattern:()=>de,isxdoc:()=>Re}),r(89463),r(66412),r(16280),r(44114),r(94490),r(26910),r(13609),r(54743),r(11745),r(16573),r(78100),r(77936),r(55081),r(18111),r(20116),r(7588),r(61701),r(33110),r(84864),r(57465),r(27495),r(69479),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(34594),r(29833),r(46594),r(72107),r(95477),r(21489),r(22134),r(3690),r(61740),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623),r(62953);var n=r(37007),i=r(7350),o=r(51227),s=r(37047),a=r(56086);function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function u(e,t){return e.get(f(e,t))}function d(e,t,r){return e.set(f(e,t),r),r}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function h(e){return function(){return new p(e.apply(this,arguments))}}function p(e){var t,r;function n(t,r){try{var o=e[t](r),s=o.value,a=s instanceof E;Promise.resolve(a?s.v:s).then(function(r){if(a){var c="return"===t?"return":"next";if(!s.k||r.done)return n(c,r);r=e[c](r).value}i(o.done?"return":"normal",r)},function(e){n("throw",e)})}catch(e){i("throw",e)}}function i(e,i){switch(e){case"return":t.resolve({value:i,done:!0});break;case"throw":t.reject(i);break;default:t.resolve({value:i,done:!1})}(t=t.next)?n(t.key,t.arg):r=null}this._invoke=function(e,i){return new Promise(function(o,s){var a={key:e,arg:i,resolve:o,reject:s,next:null};r?r=r.next=a:(t=r=a,n(e,i))})},"function"!=typeof e.return&&(this.return=void 0)}function _(e){return new E(e,0)}function v(e){var t={},r=!1;function n(t,n){return r=!0,n=new Promise(function(r){r(e[t](n))}),{done:!1,value:new E(n,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):n("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return n("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):n("return",e)}),t}function E(e,t){this.v=e,this.k=t}function m(e){var t,r,n,i=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new g(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function g(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:t}})}return g=function(e){this.s=e,this.n=e.next},g.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new g(e)}p.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},p.prototype.next=function(e){return this._invoke("next",e)},p.prototype.throw=function(e){return this._invoke("throw",e)},p.prototype.return=function(e){return this._invoke("return",e)};const y=o("cbio.ActivityDetection");var I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap;class O extends n.EventEmitter{constructor(e){super(),l(this,I,!1),l(this,w,!1),l(this,b,null),l(this,L,9e5),c(this,"start",()=>{u(I,this)||(d(I,this,!0),y("started"),document.addEventListener("mouseenter",u(S,this),{capture:!0,passive:!0}),document.addEventListener("mouseleave",u(S,this),{capture:!0,passive:!0}),document.addEventListener("mousemove",u(S,this),{capture:!0,passive:!0}),document.addEventListener("touchstart",u(S,this),{capture:!0,passive:!0}),document.addEventListener("touchend",u(S,this),{capture:!0,passive:!0}),document.addEventListener("touchmove",u(S,this),{capture:!0,passive:!0}),document.addEventListener("visibilitychange",u(S,this),{capture:!0}),u(S,this).call(this))}),c(this,"stop",()=>{d(w,this,!1),d(I,this,!1),y("stopped"),clearTimeout(u(b,this)),this.removeAllListeners(),document.removeEventListener("mouseenter",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("mouseleave",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("mousemove",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("touchstart",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("touchend",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("touchmove",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("visibilitychange",u(S,this),{capture:!0})}),c(this,"isActive",()=>u(w,this)),l(this,S,i(()=>{u(C,this).call(this),clearTimeout(u(b,this)),d(b,this,setTimeout(u(A,this),u(L,this))),this.emit("activity")},500,{trailing:!1})),l(this,C,()=>{u(w,this)||(document.hidden?y("window is hidden, not becoming active"):(d(w,this,!0),y("became active"),this.emit("active")))}),l(this,A,()=>{u(w,this)&&(d(w,this,!1),y("became inactive"),this.emit("inactive"))}),e&&d(L,this,e)}}var N,T={exports:{}},P=(N||(N=1,function(e){let t,r,n;try{t=new TextDecoder}catch(e){}let i=0;const o={};let s,a,c,l,u,d,f,p=11281e4,E=1681e4,g={},y=0,I=0,w=[],b=[],L={useRecords:!1,mapsAsObjects:!0},S=!1,C=2;var A;try{new A("")}catch(e){C=1/0}class O{constructor(e){if(e&&(!e.keyMap&&!e._keyMap||e.useRecords||(e.useRecords=!1,e.mapsAsObjects=!0),!1===e.useRecords&&void 0===e.mapsAsObjects&&(e.mapsAsObjects=!0),e.getStructures&&(e.getShared=e.getStructures),e.getShared&&!e.structures&&((e.structures=[]).uninitialized=!0),e.keyMap)){this.mapKey=new Map;for(let[t,r]of Object.entries(e.keyMap))this.mapKey.set(r,t)}Object.assign(this,e)}decodeKey(e){return this.keyMap&&this.mapKey.get(e)||e}encodeKey(e){return this.keyMap&&this.keyMap.hasOwnProperty(e)?this.keyMap[e]:e}encodeKeys(e){if(!this._keyMap)return e;let t=new Map;for(let[r,n]of Object.entries(e))t.set(this._keyMap.hasOwnProperty(r)?this._keyMap[r]:r,n);return t}decodeKeys(e){if(!this._keyMap||"Map"!=e.constructor.name)return e;if(!this._mapKey){this._mapKey=new Map;for(let[e,t]of Object.entries(this._keyMap))this._mapKey.set(t,e)}let t={};return e.forEach((e,r)=>t[M(this._mapKey.has(r)?this._mapKey.get(r):r)]=e),t}mapDecode(e,t){let r=this.decode(e);return this._keyMap&&"Array"===r.constructor.name?r.map(e=>this.decodeKeys(e)):r}decode(e,t){if(r)return Z(()=>($(),this?this.decode(e,t):O.prototype.decode.call(L,e,t)));n=t>-1?t:e.length,i=0,I=0,a=null,c=null,r=e;try{d=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(t){if(r=null,e instanceof Uint8Array)throw t;throw new Error("Source must be a Uint8Array or Buffer but was a "+(e&&"object"==typeof e?e.constructor.name:typeof e))}if(this instanceof O){if(g=this,u=this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),this.structures)return s=this.structures,N();(!s||s.length>0)&&(s=[])}else g=L,(!s||s.length>0)&&(s=[]),u=null;return N()}decodeMultiple(e,t){let r,n=0;try{let o=e.length;S=!0;let s=this?this.decode(e,o):te.decode(e,o);if(!t){for(r=[s];i<o;)n=i,r.push(N());return r}if(!1===t(s))return;for(;i<o;)if(n=i,!1===t(N()))return}catch(e){throw e.lastPosition=n,e.values=r,e}finally{S=!1,$()}}}function N(){try{let e=T();if(c){if(i>=c.postBundlePosition){let e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}i=c.postBundlePosition,c=null}if(i==n)s=null,r=null,l&&(l=null);else{if(i>n){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}if(!S)throw new Error("Data read, but end of buffer not reached")}return e}catch(e){throw $(),(e instanceof RangeError||e.message.startsWith("Unexpected end of buffer"))&&(e.incomplete=!0),e}}function T(){let e=r[i++],t=e>>5;if(e&=31,e>23)switch(e){case 24:e=r[i++];break;case 25:if(7==t)return function(){let e=r[i++],t=r[i++],n=(127&e)>>2;if(31===n)return t||3&e?NaN:128&e?-1/0:1/0;if(0===n){let r=((3&e)<<8|t)/(1<<24);return 128&e?-r:r}return U[3]=128&e|56+(n>>1),U[2]=(7&e)<<5|t>>3,U[1]=t<<5,U[0]=0,G[0]}();e=d.getUint16(i),i+=2;break;case 26:if(7==t){let e=d.getFloat32(i);if(g.useFloat32>2){let t=ee[(127&r[i])<<1|r[i+1]>>7];return i+=4,(t*e+(e>0?.5:-.5)|0)/t}return i+=4,e}e=d.getUint32(i),i+=4;break;case 27:if(7==t){let e=d.getFloat64(i);return i+=8,e}if(t>1){if(d.getUint32(i)>0)throw new Error("JavaScript does not support arrays, maps, or strings with length over 4294967295");e=d.getUint32(i+4)}else g.int64AsNumber?(e=4294967296*d.getUint32(i),e+=d.getUint32(i+4)):e=d.getBigUint64(i);i+=8;break;case 31:switch(t){case 2:case 3:throw new Error("Indefinite length not supported for byte or text strings");case 4:let e,r=[],n=0;for(;(e=T())!=o;){if(n>=p)throw new Error("Array length exceeds ".concat(p));r[n++]=e}return 4==t?r:3==t?r.join(""):Buffer.concat(r);case 5:let i;if(g.mapsAsObjects){let e={},t=0;if(g.keyMap)for(;(i=T())!=o;){if(t++>=E)throw new Error("Property count exceeds ".concat(E));e[M(g.decodeKey(i))]=T()}else for(;(i=T())!=o;){if(t++>=E)throw new Error("Property count exceeds ".concat(E));e[M(i)]=T()}return e}{f&&(g.mapsAsObjects=!0,f=!1);let e=new Map;if(g.keyMap){let t=0;for(;(i=T())!=o;){if(t++>=E)throw new Error("Map size exceeds ".concat(E));e.set(g.decodeKey(i),T())}}else{let t=0;for(;(i=T())!=o;){if(t++>=E)throw new Error("Map size exceeds ".concat(E));e.set(i,T())}}return e}case 7:return o;default:throw new Error("Invalid major type for indefinite length "+t)}default:throw new Error("Unknown token "+e)}switch(t){case 0:return e;case 1:return~e;case 2:return l=e,g.copyBuffers?Uint8Array.prototype.slice.call(r,i,i+=l):r.subarray(i,i+=l);case 3:if(I>=i)return a.slice(i-y,(i+=e)-y);if(0==I&&n<140&&e<32){let t=e<16?j(e):function(e){let t=i,n=new Array(e);for(let o=0;o<e;o++){const e=r[i++];if((128&e)>0)return void(i=t);n[o]=e}return x.apply(String,n)}(e);if(null!=t)return t}return k(e);case 4:if(e>=p)throw new Error("Array length exceeds ".concat(p));let t=new Array(e);for(let r=0;r<e;r++)t[r]=T();return t;case 5:if(e>=E)throw new Error("Map size exceeds ".concat(p));if(g.mapsAsObjects){let t={};if(g.keyMap)for(let r=0;r<e;r++)t[M(g.decodeKey(T()))]=T();else for(let r=0;r<e;r++)t[M(T())]=T();return t}{f&&(g.mapsAsObjects=!0,f=!1);let t=new Map;if(g.keyMap)for(let r=0;r<e;r++)t.set(g.decodeKey(T()),T());else for(let r=0;r<e;r++)t.set(T(),T());return t}case 6:if(e>=57337){let t=s[8191&e];if(t)return t.read||(t.read=R(t)),t.read();if(e<65536){if(57343==e){let e=X(),t=T(),r=T();V(t,r);let n={};if(g.keyMap)for(let t=2;t<e;t++)n[M(g.decodeKey(r[t-2]))]=T();else for(let t=2;t<e;t++)n[M(r[t-2])]=T();return n}if(57342==e){let e=X(),t=T();for(let r=2;r<e;r++)V(t++,T());return T()}if(57337==e)return function(){let e=X(),t=i+T();for(let t=2;t<e;t++){let e=X();i+=e}let r=i;return i=t,c=[D(X()),D(X())],c.position0=0,c.position1=0,c.postBundlePosition=i,i=r,T()}();if(g.getShared&&(q(),t=s[8191&e],t))return t.read||(t.read=R(t)),t.read()}}let o=w[e];if(o)return o.handlesRead?o(T):o(T());{let t=T();for(let r=0;r<b.length;r++){let n=b[r](e,t);if(void 0!==n)return n}return new W(t,e)}case 7:switch(e){case 20:return!1;case 21:return!0;case 22:return null;case 23:return;default:let t=(u||H())[e];if(void 0!==t)return t;throw new Error("Unknown token "+e)}default:if(isNaN(e)){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}throw new Error("Unknown CBOR token "+e)}var l}const P=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;function R(e){if(!e)throw new Error("Structure is required in record definition");return e.slowReads=0,function(){let e=r[i++];if(e&=31,e>23)switch(e){case 24:e=r[i++];break;case 25:e=d.getUint16(i),i+=2;break;case 26:e=d.getUint32(i),i+=4;break;default:throw new Error("Expected array header, but got "+r[i-1])}let t=this.compiledReader;for(;t;){if(t.propertyCount===e)return t(T);t=t.next}if(this.slowReads++>=C){let r=this.length==e?this:this.slice(0,e);return t=g.keyMap?new A("r","return {"+r.map(e=>g.decodeKey(e)).map(e=>P.test(e)?M(e)+":r()":"["+JSON.stringify(e)+"]:r()").join(",")+"}"):new A("r","return {"+r.map(e=>P.test(e)?M(e)+":r()":"["+JSON.stringify(e)+"]:r()").join(",")+"}"),this.compiledReader&&(t.next=this.compiledReader),t.propertyCount=e,this.compiledReader=t,t(T)}let n={};if(g.keyMap)for(let t=0;t<e;t++)n[M(g.decodeKey(this[t]))]=T();else for(let t=0;t<e;t++)n[M(this[t])]=T();return n}}function M(e){if("string"==typeof e)return"__proto__"===e?"__proto_":e;if("number"==typeof e||"boolean"==typeof e||"bigint"==typeof e)return e.toString();if(null==e)return e+"";throw new Error("Invalid property name type "+typeof e)}let k=D;function D(e){let n;if(e<16&&(n=j(e)))return n;if(e>64&&t)return t.decode(r.subarray(i,i+=e));const o=i+e,s=[];for(n="";i<o;){const e=r[i++];if(128&e)if(192==(224&e)){const t=63&r[i++];s.push((31&e)<<6|t)}else if(224==(240&e)){const t=63&r[i++],n=63&r[i++];s.push((31&e)<<12|t<<6|n)}else if(240==(248&e)){let t=(7&e)<<18|(63&r[i++])<<12|(63&r[i++])<<6|63&r[i++];t>65535&&(t-=65536,s.push(t>>>10&1023|55296),t=56320|1023&t),s.push(t)}else s.push(e);else s.push(e);s.length>=4096&&(n+=x.apply(String,s),s.length=0)}return s.length>0&&(n+=x.apply(String,s)),n}let x=String.fromCharCode;function j(e){if(e<4){if(e<2){if(0===e)return"";{let e=r[i++];return(128&e)>1?void(i-=1):x(e)}}{let t=r[i++],n=r[i++];if((128&t)>0||(128&n)>0)return void(i-=2);if(e<3)return x(t,n);let o=r[i++];return(128&o)>0?void(i-=3):x(t,n,o)}}{let t=r[i++],n=r[i++],o=r[i++],s=r[i++];if((128&t)>0||(128&n)>0||(128&o)>0||(128&s)>0)return void(i-=4);if(e<6){if(4===e)return x(t,n,o,s);{let e=r[i++];return(128&e)>0?void(i-=5):x(t,n,o,s,e)}}if(e<8){let a=r[i++],c=r[i++];if((128&a)>0||(128&c)>0)return void(i-=6);if(e<7)return x(t,n,o,s,a,c);let l=r[i++];return(128&l)>0?void(i-=7):x(t,n,o,s,a,c,l)}{let a=r[i++],c=r[i++],l=r[i++],u=r[i++];if((128&a)>0||(128&c)>0||(128&l)>0||(128&u)>0)return void(i-=8);if(e<10){if(8===e)return x(t,n,o,s,a,c,l,u);{let e=r[i++];return(128&e)>0?void(i-=9):x(t,n,o,s,a,c,l,u,e)}}if(e<12){let d=r[i++],f=r[i++];if((128&d)>0||(128&f)>0)return void(i-=10);if(e<11)return x(t,n,o,s,a,c,l,u,d,f);let h=r[i++];return(128&h)>0?void(i-=11):x(t,n,o,s,a,c,l,u,d,f,h)}{let d=r[i++],f=r[i++],h=r[i++],p=r[i++];if((128&d)>0||(128&f)>0||(128&h)>0||(128&p)>0)return void(i-=12);if(e<14){if(12===e)return x(t,n,o,s,a,c,l,u,d,f,h,p);{let e=r[i++];return(128&e)>0?void(i-=13):x(t,n,o,s,a,c,l,u,d,f,h,p,e)}}{let _=r[i++],v=r[i++];if((128&_)>0||(128&v)>0)return void(i-=14);if(e<15)return x(t,n,o,s,a,c,l,u,d,f,h,p,_,v);let E=r[i++];return(128&E)>0?void(i-=15):x(t,n,o,s,a,c,l,u,d,f,h,p,_,v,E)}}}}}let G=new Float32Array(1),U=new Uint8Array(G.buffer,0,4);new Array(4096);class W{constructor(e,t){this.value=e,this.tag=t}}w[0]=e=>new Date(e),w[1]=e=>new Date(Math.round(1e3*e)),w[2]=e=>{let t=BigInt(0);for(let r=0,n=e.byteLength;r<n;r++)t=BigInt(e[r])+(t<<BigInt(8));return t},w[3]=e=>BigInt(-1)-w[2](e),w[4]=e=>+(e[1]+"e"+e[0]),w[5]=e=>e[1]*Math.exp(e[0]*Math.log(2));const V=(e,t)=>{let r=s[e-=57344];r&&r.isShared&&((s.restoreStructures||(s.restoreStructures=[]))[e]=r),s[e]=t,t.read=R(t)};w[105]=e=>{let t=e.length,r=e[1];V(e[0],r);let n={};for(let i=2;i<t;i++)n[M(r[i-2])]=e[i];return n},w[14]=e=>c?c[0].slice(c.position0,c.position0+=e):new W(e,14),w[15]=e=>c?c[1].slice(c.position1,c.position1+=e):new W(e,15);let z={Error,RegExp};w[27]=e=>(z[e[0]]||Error)(e[1],e[2]);const F=e=>{if(132!=r[i++]){let e=new Error("Packed values structure must be followed by a 4 element array");throw r.length<i&&(e.incomplete=!0),e}let t=e();if(!t||!t.length){let e=new Error("Packed values structure must be followed by a 4 element array");throw e.incomplete=!0,e}return u=u?t.concat(u.slice(t.length)):t,u.prefixes=e(),u.suffixes=e(),e()};function B(e,t){return"string"==typeof e?e+t:e instanceof Array?e.concat(t):Object.assign({},e,t)}function H(){if(!u){if(!g.getShared)throw new Error("No packed values available");q()}return u}F.handlesRead=!0,w[51]=F,w[6]=e=>{if(!u){if(!g.getShared)return new W(e,6);q()}if("number"==typeof e)return u[16+(e>=0?2*e:-2*e-1)];let t=new Error("No support for non-integer packed references yet");throw void 0===e&&(t.incomplete=!0),t},w[28]=e=>{l||(l=new Map,l.id=0);let t,n=l.id++,o=i;t=r[i]>>5==4?[]:{};let s={target:t};l.set(n,s);let a=e();return s.used?(Object.getPrototypeOf(t)!==Object.getPrototypeOf(a)&&(i=o,t=a,l.set(n,{target:t}),a=e()),Object.assign(t,a)):(s.target=a,a)},w[28].handlesRead=!0,w[29]=e=>{let t=l.get(e);return t.used=!0,t.target},w[258]=e=>new Set(e),(w[259]=e=>(g.mapsAsObjects&&(g.mapsAsObjects=!1,f=!0),e())).handlesRead=!0;b.push((e,t)=>e>=225&&e<=255?B(H().prefixes[e-224],t):e>=28704&&e<=32767?B(H().prefixes[e-28672],t):e>=1879052288&&e<=2147483647?B(H().prefixes[e-1879048192],t):e>=216&&e<=223?B(t,H().suffixes[e-216]):e>=27647&&e<=28671?B(t,H().suffixes[e-27639]):e>=1811940352&&e<=1879048191?B(t,H().suffixes[e-1811939328]):1399353956==e?{packedValues:u,structures:s.slice(0),version:t}:55799==e?t:void 0);const Y=1==new Uint8Array(new Uint16Array([1]).buffer)[0],Q=[Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,"undefined"==typeof BigUint64Array?{name:"BigUint64Array"}:BigUint64Array,Int8Array,Int16Array,Int32Array,"undefined"==typeof BigInt64Array?{name:"BigInt64Array"}:BigInt64Array,Float32Array,Float64Array],J=[64,68,69,70,71,72,77,78,79,85,86];for(let e=0;e<Q.length;e++)K(Q[e],J[e]);function K(e,t){let r,n="get"+e.name.slice(0,-5);"function"==typeof e?r=e.BYTES_PER_ELEMENT:e=null;for(let i=0;i<2;i++){if(!i&&1==r)continue;let o=2==r?1:4==r?2:8==r?3:0;w[i?t:t-4]=1==r||i==Y?n=>{if(!e)throw new Error("Could not find typed array for code "+t);return g.copyBuffers||1!==r&&(2!==r||1&n.byteOffset)&&(4!==r||3&n.byteOffset)&&(8!==r||7&n.byteOffset)?new e(Uint8Array.prototype.slice.call(n,0).buffer):new e(n.buffer,n.byteOffset,n.byteLength>>o)}:r=>{if(!e)throw new Error("Could not find typed array for code "+t);let s=new DataView(r.buffer,r.byteOffset,r.byteLength),a=r.length>>o,c=new e(a),l=s[n];for(let e=0;e<a;e++)c[e]=l.call(s,e<<o,i);return c}}}function X(){let e=31&r[i++];if(e>23)switch(e){case 24:e=r[i++];break;case 25:e=d.getUint16(i),i+=2;break;case 26:e=d.getUint32(i),i+=4}return e}function q(){if(g.getShared){let e=Z(()=>(r=null,g.getShared()))||{},t=e.structures||[];g.sharedVersion=e.version,u=g.sharedValues=e.packedValues,!0===s?g.structures=s=t:s.splice.apply(s,[0,t.length].concat(t))}}function Z(e){let t=n,o=i,u=y,f=I,h=a,p=l,_=c,v=new Uint8Array(r.slice(0,n)),E=s,m=g,w=S,b=e();return n=t,i=o,y=u,I=f,a=h,l=p,c=_,r=v,S=w,s=E,g=m,d=new DataView(r.buffer,r.byteOffset,r.byteLength),b}function $(){r=null,l=null,s=null}const ee=new Array(147);for(let e=0;e<256;e++)ee[e]=+("1e"+Math.floor(45.15-.30103*e));let te=new O({useRecords:!1});const re=te.decode,ne=te.decodeMultiple,ie={NEVER:0,ALWAYS:1,DECIMAL_ROUND:3,DECIMAL_FIT:4};let oe,se,ae;try{oe=new TextEncoder}catch(e){}const ce="object"==typeof globalThis&&globalThis.Buffer,le=void 0!==ce,ue=le?ce.allocUnsafeSlow:Uint8Array,de=le?ce:Uint8Array,fe=le?4294967296:2144337920;let he,pe,_e,ve,Ee=0,me=null;const ge=/[\u0080-\uFFFF]/,ye=Symbol("record-id");class Ie extends O{constructor(e){let t,r,n,i,o;super(e),this.offset=0,e=e||{};let s=de.prototype.utf8Write?function(e,t,r){return pe.utf8Write(e,t,r)}:!(!oe||!oe.encodeInto)&&function(e,t){return oe.encodeInto(e,pe.subarray(t)).written},a=this,c=e.structures||e.saveStructures,l=e.maxSharedStructures;if(null==l&&(l=c?128:0),l>8190)throw new Error("Maximum maxSharedStructure is 8190");let u=e.sequential;u&&(l=0),this.structures||(this.structures=[]),this.saveStructures&&(this.saveShared=this.saveStructures);let d,f,p,E=e.sharedValues;if(E){p=Object.create(null);for(let e=0,t=E.length;e<t;e++)p[E[e]]=e}let g=[],y=0,I=0;this.mapEncode=function(e,t){return this._keyMap&&!this._mapped&&"Array"===e.constructor.name&&(e=e.map(e=>this.encodeKeys(e))),this.encode(e,t)},this.encode=function(s,c){if(pe||(pe=new ue(8192),_e=new DataView(pe.buffer,0,8192),Ee=0),ve=pe.length-10,ve-Ee<2048?(pe=new ue(pe.length),_e=new DataView(pe.buffer,0,pe.length),ve=pe.length-10,Ee=0):c===We&&(Ee=Ee+7&2147483640),t=Ee,a.useSelfDescribedHeader&&(_e.setUint32(Ee,3654940416),Ee+=3),o=a.structuredClone?new Map:null,a.bundleStrings&&"string"!=typeof s?(me=[],me.size=1/0):me=null,r=a.structures,r){if(r.uninitialized){let e=a.getShared()||{};a.structures=r=e.structures||[],a.sharedVersion=e.version;let t=a.sharedValues=e.packedValues;if(t){p={};for(let e=0,r=t.length;e<r;e++)p[t[e]]=e}}let e=r.length;if(e>l&&!u&&(e=l),!r.transitions){r.transitions=Object.create(null);for(let t=0;t<e;t++){let e=r[t];if(!e)continue;let n,i=r.transitions;for(let r=0,o=e.length;r<o;r++){void 0===i[ye]&&(i[ye]=t);let o=e[r];n=i[o],n||(n=i[o]=Object.create(null)),i=n}i[ye]=1048576|t}}u||(r.nextId=e)}if(n&&(n=!1),i=r||[],f=p,e.pack){let t=new Map;if(t.values=[],t.encoder=a,t.maxValues=e.maxPrivatePackedValues||(p?16:1/0),t.objectMap=p||!1,t.samplingPackedValues=d,Ae(s,t),t.values.length>0){pe[Ee++]=216,pe[Ee++]=51,Le(4);let e=t.values;w(e),Le(0),Le(0),f=Object.create(p||null);for(let t=0,r=e.length;t<r;t++)f[e[t]]=t}}he=c&ze;try{if(he)return;if(w(s),me&&Pe(t,w),a.offset=Ee,o&&o.idsToInsert){Ee+=2*o.idsToInsert.length,Ee>ve&&L(Ee),a.offset=Ee;let e=function(e,t){let r,n=2*t.length,i=e.length-n;t.sort((e,t)=>e.offset>t.offset?1:-1);for(let r=0;r<t.length;r++){let n=t[r];n.id=r;for(let t of n.references)e[t++]=r>>8,e[t]=255&r}for(;r=t.pop();){let t=r.offset;e.copyWithin(t+n,t,i),n-=2;let o=t+n;e[o++]=216,e[o++]=28,i=t}return e}(pe.subarray(t,Ee),o.idsToInsert);return o=null,e}return c&We?(pe.start=t,pe.end=Ee,pe):pe.subarray(t,Ee)}finally{if(r)if(I<10&&I++,r.length>l&&(r.length=l),y>1e4)r.transitions=null,I=0,y=0,g.length>0&&(g=[]);else if(g.length>0&&!u){for(let e=0,t=g.length;e<t;e++)g[e][ye]=void 0;g=[]}if(n&&a.saveShared){a.structures.length>l&&(a.structures=a.structures.slice(0,l));let e=pe.subarray(t,Ee);return!1===a.updateSharedData()?a.encode(s):e}c&Ve&&(Ee=t)}},this.findCommonStringsToPack=()=>(d=new Map,p||(p=Object.create(null)),e=>{let t=e&&e.threshold||4,r=this.pack?e.maxPrivatePackedValues||16:0;E||(E=this.sharedValues=[]);for(let[e,i]of d)i.count>t&&(p[e]=r++,E.push(e),n=!0);for(;this.saveShared&&!1===this.updateSharedData(););d=null});const w=r=>{Ee>ve&&(pe=L(Ee));var n,i=typeof r;if("string"===i){if(f){let t=f[r];if(t>=0)return void(t<16?pe[Ee++]=t+224:(pe[Ee++]=198,w(1&t?15-t>>1:t-16>>1)));if(d&&!e.pack){let e=d.get(r);e?e.count++:d.set(r,{count:1})}}let i,o=r.length;if(me&&o>=4&&o<1024){if((me.size+=o)>61440){let e,r=(me[0]?3*me[0].length+me[1].length:0)+10;Ee+r>ve&&(pe=L(Ee+r)),pe[Ee++]=217,pe[Ee++]=223,pe[Ee++]=249,pe[Ee++]=me.position?132:130,pe[Ee++]=26,e=Ee-t,Ee+=4,me.position&&Pe(t,w),me=["",""],me.size=0,me.position=e}let e=ge.test(r);return me[e?0:1]+=r,pe[Ee++]=e?206:207,void w(o)}i=o<32?1:o<256?2:o<65536?3:5;let a=3*o;if(Ee+a>ve&&(pe=L(Ee+a)),o<64||!s){let e,t,s,a=Ee+i;for(e=0;e<o;e++)t=r.charCodeAt(e),t<128?pe[a++]=t:t<2048?(pe[a++]=t>>6|192,pe[a++]=63&t|128):55296==(64512&t)&&56320==(64512&(s=r.charCodeAt(e+1)))?(t=65536+((1023&t)<<10)+(1023&s),e++,pe[a++]=t>>18|240,pe[a++]=t>>12&63|128,pe[a++]=t>>6&63|128,pe[a++]=63&t|128):(pe[a++]=t>>12|224,pe[a++]=t>>6&63|128,pe[a++]=63&t|128);n=a-Ee-i}else n=s(r,Ee+i,a);n<24?pe[Ee++]=96|n:n<256?(i<2&&pe.copyWithin(Ee+2,Ee+1,Ee+1+n),pe[Ee++]=120,pe[Ee++]=n):n<65536?(i<3&&pe.copyWithin(Ee+3,Ee+2,Ee+2+n),pe[Ee++]=121,pe[Ee++]=n>>8,pe[Ee++]=255&n):(i<5&&pe.copyWithin(Ee+5,Ee+3,Ee+3+n),pe[Ee++]=122,_e.setUint32(Ee,n),Ee+=4),Ee+=n}else if("number"===i)if(this.alwaysUseFloat||r>>>0!==r)if(this.alwaysUseFloat||(0|r)!==r){let e;if((e=this.useFloat32)>0&&r<4294967296&&r>=-2147483648){let t;if(pe[Ee++]=250,_e.setFloat32(Ee,r),e<4||(0|(t=r*ee[(127&pe[Ee])<<1|pe[Ee+1]>>7]))===t)return void(Ee+=4);Ee--}pe[Ee++]=251,_e.setFloat64(Ee,r),Ee+=8}else r>=-24?pe[Ee++]=31-r:r>=-256?(pe[Ee++]=56,pe[Ee++]=~r):r>=-65536?(pe[Ee++]=57,_e.setUint16(Ee,~r),Ee+=2):(pe[Ee++]=58,_e.setUint32(Ee,~r),Ee+=4);else r<24?pe[Ee++]=r:r<256?(pe[Ee++]=24,pe[Ee++]=r):r<65536?(pe[Ee++]=25,pe[Ee++]=r>>8,pe[Ee++]=255&r):(pe[Ee++]=26,_e.setUint32(Ee,r),Ee+=4);else if("object"===i)if(r){if(o){let e=o.get(r);if(e){if(pe[Ee++]=216,pe[Ee++]=29,pe[Ee++]=25,!e.references){let t=o.idsToInsert||(o.idsToInsert=[]);e.references=[],t.push(e)}return e.references.push(Ee-t),void(Ee+=2)}o.set(r,{offset:Ee-t})}let e=r.constructor;if(e===Object)b(r);else if(e===Array){(n=r.length)<24?pe[Ee++]=128|n:Le(n);for(let e=0;e<n;e++)w(r[e])}else if(e===Map)if((this.mapsAsObjects?!1!==this.useTag259ForMaps:this.useTag259ForMaps)&&(pe[Ee++]=217,pe[Ee++]=1,pe[Ee++]=3),(n=r.size)<24?pe[Ee++]=160|n:n<256?(pe[Ee++]=184,pe[Ee++]=n):n<65536?(pe[Ee++]=185,pe[Ee++]=n>>8,pe[Ee++]=255&n):(pe[Ee++]=186,_e.setUint32(Ee,n),Ee+=4),a.keyMap)for(let[e,t]of r)w(a.encodeKey(e)),w(t);else for(let[e,t]of r)w(e),w(t);else{for(let e=0,t=se.length;e<t;e++)if(r instanceof ae[e]){let t=se[e],n=t.tag;return null==n&&(n=t.getTag&&t.getTag.call(this,r)),n<24?pe[Ee++]=192|n:n<256?(pe[Ee++]=216,pe[Ee++]=n):n<65536?(pe[Ee++]=217,pe[Ee++]=n>>8,pe[Ee++]=255&n):n>-1&&(pe[Ee++]=218,_e.setUint32(Ee,n),Ee+=4),void t.encode.call(this,r,w,L)}if(r[Symbol.iterator]){if(he){let e=new Error("Iterable should be serialized as iterator");throw e.iteratorNotHandled=!0,e}pe[Ee++]=159;for(let e of r)w(e);return void(pe[Ee++]=255)}if(r[Symbol.asyncIterator]||Ce(r)){let e=new Error("Iterable/blob should be serialized as iterator");throw e.iteratorNotHandled=!0,e}if(this.useToJSON&&r.toJSON){const e=r.toJSON();if(e!==r)return w(e)}b(r)}}else pe[Ee++]=246;else if("boolean"===i)pe[Ee++]=r?245:244;else if("bigint"===i){if(r<BigInt(1)<<BigInt(64)&&r>=0)pe[Ee++]=27,_e.setBigUint64(Ee,r);else if(r>-(BigInt(1)<<BigInt(64))&&r<0)pe[Ee++]=59,_e.setBigUint64(Ee,-r-BigInt(1));else{if(!this.largeBigIntToFloat){r>=BigInt(0)?pe[Ee++]=194:(pe[Ee++]=195,r=BigInt(-1)-r);let e=[];for(;r;)e.push(Number(r&BigInt(255))),r>>=BigInt(8);return void Te(new Uint8Array(e.reverse()),L)}pe[Ee++]=251,_e.setFloat64(Ee,Number(r))}Ee+=8}else{if("undefined"!==i)throw new Error("Unknown type: "+i);pe[Ee++]=247}},b=!1===this.useRecords?this.variableMapSize?e=>{let t=Object.keys(e),r=Object.values(e),n=t.length;if(n<24?pe[Ee++]=160|n:n<256?(pe[Ee++]=184,pe[Ee++]=n):n<65536?(pe[Ee++]=185,pe[Ee++]=n>>8,pe[Ee++]=255&n):(pe[Ee++]=186,_e.setUint32(Ee,n),Ee+=4),a.keyMap)for(let e=0;e<n;e++)w(a.encodeKey(t[e])),w(r[e]);else for(let e=0;e<n;e++)w(t[e]),w(r[e])}:e=>{pe[Ee++]=185;let r=Ee-t;Ee+=2;let n=0;if(a.keyMap)for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(w(a.encodeKey(t)),w(e[t]),n++);else for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(w(t),w(e[t]),n++);pe[r+++t]=n>>8,pe[r+t]=255&n}:(e,t)=>{let r,o,s,a=i.transitions||(i.transitions=Object.create(null)),c=0,u=0;if(this.keyMap){s=Object.keys(e).map(e=>this.encodeKey(e)),u=s.length;for(let e=0;e<u;e++){let t=s[e];r=a[t],r||(r=a[t]=Object.create(null),c++),a=r}}else for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(r=a[t],r||(1048576&a[ye]&&(o=65535&a[ye]),r=a[t]=Object.create(null),c++),a=r,u++);let d=a[ye];if(void 0!==d)d&=65535,pe[Ee++]=217,pe[Ee++]=d>>8|224,pe[Ee++]=255&d;else{if(s||(s=a.__keys__||(a.__keys__=Object.keys(e))),void 0===o?(d=i.nextId++,d||(d=0,i.nextId=1),d>=256&&(i.nextId=(d=l)+1)):d=o,i[d]=s,!(d<l)){if(a[ye]=d,_e.setUint32(Ee,3655335680),Ee+=3,c&&(y+=I*c),g.length>=256-l&&(g.shift()[ye]=void 0),g.push(a),Le(u+2),w(57344+d),w(s),t)return;for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&w(e[t]);return}pe[Ee++]=217,pe[Ee++]=d>>8|224,pe[Ee++]=255&d,a=i.transitions;for(let e=0;e<u;e++)(void 0===a[ye]||1048576&a[ye])&&(a[ye]=d),a=a[s[e]];a[ye]=1048576|d,n=!0}if(u<24?pe[Ee++]=128|u:Le(u),!t)for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&w(e[t])},L=e=>{let r;if(e>16777216){if(e-t>fe)throw new Error("Encoded buffer would be larger than maximum buffer size");r=Math.min(fe,4096*Math.round(Math.max((e-t)*(e>67108864?1.25:2),4194304)/4096))}else r=1+(Math.max(e-t<<2,pe.length-1)>>12)<<12;let n=new ue(r);return _e=new DataView(n.buffer,0,r),pe.copy?pe.copy(n,0,t,e):n.set(pe.slice(t,e)),Ee-=t,t=0,ve=n.length-10,pe=n};let S=100,C=1e3;function*A(e,r,n){let i=e.constructor;if(i===Object){let t=!1!==a.useRecords;t?b(e,!0):we(Object.keys(e).length,160);for(let n in e){let i=e[n];t||w(n),i&&"object"==typeof i?r[n]?yield*A(i,r[n]):yield*O(i,r,n):w(i)}}else if(i===Array){let n=e.length;Le(n);for(let i=0;i<n;i++){let n=e[i];n&&("object"==typeof n||Ee-t>S)?r.element?yield*A(n,r.element):yield*O(n,r,"element"):w(n)}}else if(e[Symbol.iterator]&&!e.buffer){pe[Ee++]=159;for(let n of e)n&&("object"==typeof n||Ee-t>S)?r.element?yield*A(n,r.element):yield*O(n,r,"element"):w(n);pe[Ee++]=255}else Ce(e)?(we(e.size,64),yield pe.subarray(t,Ee),yield e,N()):e[Symbol.asyncIterator]?(pe[Ee++]=159,yield pe.subarray(t,Ee),yield e,N(),pe[Ee++]=255):w(e);n&&Ee>t?yield pe.subarray(t,Ee):Ee-t>S&&(yield pe.subarray(t,Ee),N())}function*O(e,r,n){let i=Ee-t;try{w(e),Ee-t>S&&(yield pe.subarray(t,Ee),N())}catch(o){if(!o.iteratorNotHandled)throw o;r[n]={},Ee=t+i,yield*A.call(this,e,r[n])}}function N(){S=C,a.encode(null,ze)}function T(e,t,r){return S=t&&t.chunkThreshold?C=t.chunkThreshold:100,e&&"object"==typeof e?(a.encode(null,ze),r(e,a.iterateProperties||(a.iterateProperties={}),!0)):[a.encode(e)]}function P(e,t){return R.apply(this,arguments)}function R(){return(R=h(function*(e,t){for(let c of A(e,t,!0)){let e=c.constructor;if(e===de||e===Uint8Array)yield c;else if(Ce(c)){let e,t=c.stream().getReader();for(;!(e=yield _(t.read())).done;)yield e.value}else if(c[Symbol.asyncIterator]){var r,n=!1,i=!1;try{for(var o,s=m(c);n=!(o=yield _(s.next())).done;n=!1){let e=o.value;N(),e?yield*v(m(P(e,t.async||(t.async={})))):yield a.encode(e)}}catch(e){i=!0,r=e}finally{try{n&&null!=s.return&&(yield _(s.return()))}finally{if(i)throw r}}}else yield c}})).apply(this,arguments)}this.encodeAsIterable=function(e,t){return T(e,t,A)},this.encodeAsAsyncIterable=function(e,t){return T(e,t,P)}}useBuffer(e){pe=e,_e=new DataView(pe.buffer,pe.byteOffset,pe.byteLength),Ee=0}clearSharedData(){this.structures&&(this.structures=[]),this.sharedValues&&(this.sharedValues=void 0)}updateSharedData(){let e=this.sharedVersion||0;this.sharedVersion=e+1;let t=this.structures.slice(0),r=new be(t,this.sharedValues,this.sharedVersion),n=this.saveShared(r,t=>(t&&t.version||0)==e);return!1===n?(r=this.getShared()||{},this.structures=r.structures||[],this.sharedValues=r.packedValues,this.sharedVersion=r.version,this.structures.nextId=this.structures.length):t.forEach((e,t)=>this.structures[t]=e),n}}function we(e,t){e<24?pe[Ee++]=t|e:e<256?(pe[Ee++]=24|t,pe[Ee++]=e):e<65536?(pe[Ee++]=25|t,pe[Ee++]=e>>8,pe[Ee++]=255&e):(pe[Ee++]=26|t,_e.setUint32(Ee,e),Ee+=4)}class be{constructor(e,t,r){this.structures=e,this.packedValues=t,this.version=r}}function Le(e){e<24?pe[Ee++]=128|e:e<256?(pe[Ee++]=152,pe[Ee++]=e):e<65536?(pe[Ee++]=153,pe[Ee++]=e>>8,pe[Ee++]=255&e):(pe[Ee++]=154,_e.setUint32(Ee,e),Ee+=4)}const Se="undefined"==typeof Blob?function(){}:Blob;function Ce(e){if(e instanceof Se)return!0;let t=e[Symbol.toStringTag];return"Blob"===t||"File"===t}function Ae(e,t){switch(typeof e){case"string":if(e.length>3){if(t.objectMap[e]>-1||t.values.length>=t.maxValues)return;let r=t.get(e);if(r)2==++r.count&&t.values.push(e);else if(t.set(e,{count:1}),t.samplingPackedValues){let r=t.samplingPackedValues.get(e);r?r.count++:t.samplingPackedValues.set(e,{count:1})}}break;case"object":if(e)if(e instanceof Array)for(let r=0,n=e.length;r<n;r++)Ae(e[r],t);else{let n=!t.encoder.useRecords;for(var r in e)e.hasOwnProperty(r)&&(n&&Ae(r,t),Ae(e[r],t))}break;case"function":console.log(e)}}const Oe=1==new Uint8Array(new Uint16Array([1]).buffer)[0];function Ne(e,t){return!Oe&&t>1&&(e-=4),{tag:e,encode:function(e,t){let r=e.byteLength,n=e.byteOffset||0,i=e.buffer||e;t(le?ce.from(i,n,r):new Uint8Array(i,n,r))}}}function Te(e,t){let r=e.byteLength;r<24?pe[Ee++]=64+r:r<256?(pe[Ee++]=88,pe[Ee++]=r):r<65536?(pe[Ee++]=89,pe[Ee++]=r>>8,pe[Ee++]=255&r):(pe[Ee++]=90,_e.setUint32(Ee,r),Ee+=4),Ee+r>=pe.length&&t(Ee+r),pe.set(e.buffer?e:new Uint8Array(e),Ee),Ee+=r}function Pe(e,t){_e.setUint32(me.position+e,Ee-me.position-e+1);let r=me;me=null,t(r[0]),t(r[1])}ae=[Date,Set,Error,RegExp,W,ArrayBuffer,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,"undefined"==typeof BigUint64Array?function(){}:BigUint64Array,Int8Array,Int16Array,Int32Array,"undefined"==typeof BigInt64Array?function(){}:BigInt64Array,Float32Array,Float64Array,be],se=[{tag:1,encode(e,t){let r=e.getTime()/1e3;(this.useTimestamp32||0===e.getMilliseconds())&&r>=0&&r<4294967296?(pe[Ee++]=26,_e.setUint32(Ee,r),Ee+=4):(pe[Ee++]=251,_e.setFloat64(Ee,r),Ee+=8)}},{tag:258,encode(e,t){t(Array.from(e))}},{tag:27,encode(e,t){t([e.name,e.message])}},{tag:27,encode(e,t){t(["RegExp",e.source,e.flags])}},{getTag:e=>e.tag,encode(e,t){t(e.value)}},{encode(e,t,r){Te(e,r)}},{getTag(e){if(e.constructor===Uint8Array&&(this.tagUint8Array||le&&!1!==this.tagUint8Array))return 64},encode(e,t,r){Te(e,r)}},Ne(68,1),Ne(69,2),Ne(70,4),Ne(71,8),Ne(72,1),Ne(77,2),Ne(78,4),Ne(79,8),Ne(85,4),Ne(86,8),{encode(e,t){let r=e.packedValues||[],n=e.structures||[];if(r.values.length>0){pe[Ee++]=216,pe[Ee++]=51,Le(4);let e=r.values;t(e),Le(0),Le(0),packedObjectMap=Object.create(sharedPackedObjectMap||null);for(let t=0,r=e.length;t<r;t++)packedObjectMap[e[t]]=t}if(n){_e.setUint32(Ee,3655335424),Ee+=3;let r=n.slice(0);r.unshift(57344),r.push(new W(e.version,1399353956)),t(r)}else t(new W(e.version,1399353956))}}];let Re=new Ie({useRecords:!1});const Me=Re.encode,ke=Re.encodeAsIterable,De=Re.encodeAsAsyncIterable,{NEVER:xe,ALWAYS:je,DECIMAL_ROUND:Ge,DECIMAL_FIT:Ue}=ie,We=512,Ve=1024,ze=2048;function Fe(){return(Fe=h(function*(e,t){const r=new Ie(t);var n,i=!1,o=!1;try{for(var s,a=m(e);i=!(s=yield _(a.next())).done;i=!1){const e=s.value;yield r.encode(e)}}catch(e){o=!0,n=e}finally{try{i&&null!=a.return&&(yield _(a.return()))}finally{if(o)throw n}}})).apply(this,arguments)}e.ALWAYS=je,e.DECIMAL_FIT=Ue,e.DECIMAL_ROUND=Ge,e.Decoder=O,e.Encoder=Ie,e.FLOAT32_OPTIONS=ie,e.NEVER=xe,e.REUSE_BUFFER_MODE=We,e.Tag=W,e.addExtension=function(e){if(e.Class){if(!e.encode)throw new Error("Extension has no encode function");ae.unshift(e.Class),se.unshift(e)}!function(e){w[e.tag]=e.decode}(e)},e.clearSource=$,e.decode=re,e.decodeIter=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||"object"!=typeof e)throw new Error("first argument must be an Iterable, Async Iterable, Iterator, Async Iterator, or a promise");const r=new O(t);let n;const i=e=>{let t;n&&(e=Buffer.concat([n,e]),n=void 0);try{t=r.decodeMultiple(e)}catch(r){if(!r.incomplete)throw r;n=e.slice(r.lastPosition),t=r.values}return t};return"function"==typeof e[Symbol.iterator]?function*(){for(const t of e)yield*i(t)}():"function"==typeof e[Symbol.asyncIterator]?(o=h(function*(){var t,r=!1,n=!1;try{for(var o,s=m(e);r=!(o=yield _(s.next())).done;r=!1){const e=o.value;yield*v(m(i(e)))}}catch(e){n=!0,t=e}finally{try{r&&null!=s.return&&(yield _(s.return()))}finally{if(n)throw t}}}),function(){return o.apply(this,arguments)})():void 0;var o},e.decodeMultiple=ne,e.encode=Me,e.encodeAsAsyncIterable=De,e.encodeAsIterable=ke,e.encodeIter=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&"object"==typeof e){if("function"==typeof e[Symbol.iterator])return function*(e,t){const r=new Ie(t);for(const t of e)yield r.encode(t)}(e,t);if("function"==typeof e.then||"function"==typeof e[Symbol.asyncIterator])return function(e,t){return Fe.apply(this,arguments)}(e,t);throw new Error("first argument must be an Iterable, Async Iterable, Iterator, Async Iterator, or a Promise")}throw new Error("first argument must be an Iterable, Async Iterable, or a Promise for an Async Iterable")},e.isNativeAccelerationEnabled=!1,e.roundFloat32=function(e){G[0]=e;let t=ee[(127&U[3])<<1|U[2]>>7];return(t*e+(e>0?.5:-.5)|0)/t},e.setSizeLimits=function(e){e.maxMapSize&&(E=e.maxMapSize),e.maxArraySize&&(p=e.maxArraySize),e.maxObjectSize&&e.maxObjectSize}}(T.exports)),T.exports);const R=(e,t)=>t?.125*e+.875*t:e;var M=new WeakMap,k=new WeakMap,D=new WeakMap,x=new WeakMap,j=new WeakMap;class G{constructor(){l(this,M,void 0),l(this,k,void 0),l(this,D,void 0),l(this,x,void 0),l(this,j,void 0),c(this,"reset",()=>{d(M,this,0),d(k,this,0),d(D,this,0),d(x,this,0),d(j,this,0)}),c(this,"latency",()=>{if(0===u(M,this))return 0;if(u(j,this)>0&&u(M,this)===u(D,this))return u(j,this);const e=Date.now()-u(k,this);return e>u(j,this)?R(e,u(j,this)):u(j,this)}),c(this,"onSent",e=>{u(D,this)<u(M,this)||(d(M,this,e),d(k,this,Date.now()))}),c(this,"onReceived",e=>{let t;if(d(D,this,e),d(x,this,Date.now()),0===u(M,this)||0===u(D,this))t=0;else{if(u(M,this)!==u(D,this))return;t=u(x,this)-u(k,this)}d(j,this,R(t,u(j,this)))}),this.reset()}}const U=o("cbio.CBORSocket");var W=new WeakMap,V=new WeakMap,z=new WeakMap,F=new WeakMap,B=new WeakMap,H=new WeakMap,Y=new WeakMap,Q=new WeakMap,J=new WeakMap,K=new WeakMap,X=new WeakMap,q=new WeakMap,Z=new WeakMap,$=new WeakMap,ee=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,ie=new WeakMap,oe=new WeakMap,se=new WeakMap,ae=new WeakMap,ce=new WeakMap;class le extends n.EventEmitter{constructor(e){var t;super(),t=this,l(this,W,void 0),l(this,V,!1),l(this,z,void 0),l(this,F,0),l(this,B,6e4),l(this,H,1e3+Math.floor(1e3*Math.random())),l(this,Y,void 0),l(this,Q,void 0),l(this,J,void 0),l(this,K,0),l(this,X,0),l(this,q,new G),l(this,Z,async()=>{var e,t;if(u(z,this))return void console.error("Socket already exists");U("creating ws");const r=await u(W,this).getUrl(),n=["cbor",...await(null===(e=(t=u(W,this)).getProtocols)||void 0===e?void 0:e.call(t))||[]].filter(Boolean);if(!r)return;if(u(V,this))return;if(u(z,this))return;const i=u(W,this).createWebSocket?u(W,this).createWebSocket(r,n):new WebSocket(r,n);i.binaryType="arraybuffer",i.addEventListener("open",u(te,this)),i.addEventListener("message",u(ne,this)),i.addEventListener("close",u(se,this)),i.addEventListener("error",u(ae,this)),d(z,this,i),u(q,this).reset()}),l(this,$,function(){if(u(z,t))try{u(z,t).close(...arguments)}catch(e){U("error closing socket",e)}d(z,t,null)}),l(this,ee,()=>{U("navigator went offline"),u($,this).call(this),u(oe,this).call(this)}),l(this,te,()=>{U("ws opened"),this.emit("open"),clearTimeout(u(Q,this)),d(Q,this,setTimeout(()=>{U("counting open as success"),d(F,this,0)},5e3))}),l(this,re,e=>{d(X,this,e),u(q,this).onReceived(e)}),l(this,ne,e=>{try{const{event:t,data:r,ack:n}=P.decode(new Uint8Array(e.data));return n?u(re,this).call(this,n):t?this.emit("event",t,r):console.error("Socket received message without event",e)}catch(t){return console.error("Error processing message",e.data,t.stack)}}),l(this,ie,e=>{if(0===e)return 0;const t=1+.5*Math.random(),r=Math.floor((300*e)**1.2*t);return Math.min(Math.max(u(H,this),r),u(B,this))}),l(this,oe,()=>{if(u(V,this))return void U("reconnect skipped as socket was closed");if(u(J,this))return void U("reconnect skipped as reconnect already scheduled");if("undefined"!=typeof navigator&&!1===navigator.onLine)return U("navigator offline"),void d(J,this,setTimeout(()=>{d(J,this,null),u(oe,this).call(this)},1e3));const e=u(ie,this).call(this,u(F,this));U("reconnecting in",e,"attempts",u(F,this)),d(J,this,setTimeout(async()=>{d(J,this,null),u(V,this)?console.warn("tried to reconnect after close"):(d(z,this,null),await u(Z,this).call(this).catch(u(ae,this)),u(z,this)||u(V,this)||u(oe,this).call(this))},e)),d(F,this,u(F,this)+1)}),l(this,se,()=>{U("ws closed"),this.emit("close"),U("resetting message acks"),d(K,this,0),d(X,this,0),u(q,this).onReceived(0),u(V,this)||u(oe,this).call(this),clearTimeout(u(Q,this))}),l(this,ae,e=>{u(V,this)?console.info("CobrowseIO: Called error after close.",e):0!==this.listenerCount("error")?this.emit("error",e):console.warn("CobrowseIO: Called handleError without listeners. Please report this.",e)}),l(this,ce,()=>{this.send("ping")}),c(this,"messageLag",()=>u(X,this)?u(K,this)-u(X,this):0),c(this,"setMaxReconnectDelay",e=>{U("set max delay",e),d(B,this,e)}),c(this,"setMinReconnectDelay",e=>{U("set min delay",e),d(H,this,e)}),c(this,"send",(e,t)=>{if(!this.connected)return!1;d(K,this,u(K,this)+1),u(q,this).onSent(u(K,this));const r=Date.now(),n=P.encode(t?{event:e,id:u(K,this),data:t}:{event:e});return U("encoded",e,"".concat(n.byteLength," bytes"),"in","".concat(Date.now()-r,"ms")),u(z,this).send(n),!0}),c(this,"close",function(){U("close"),d(V,t,!0);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];u($,t).call(t,...r),clearTimeout(u(J,t)),clearInterval(u(Y,t)),t.removeAllListeners(),"undefined"!=typeof window&&(window.removeEventListener("unload",t.close),window.addEventListener("offline",u(ee,t)))}),U("created cbor socket"),d(W,this,e),d(Y,this,setInterval(u(ce,this),6e4)),"undefined"!=typeof window&&(window.addEventListener("unload",this.close),window.addEventListener("offline",u(ee,this))),this.on("error",e=>U("ws errored",e)),u(oe,this).call(this)}get bufferedAmount(){return u(z,this)?u(z,this).bufferedAmount:1/0}get connected(){return!!u(z,this)&&u(z,this).readyState===u(z,this).OPEN}get metrics(){return u(q,this)}}const ue=e=>e instanceof RegExp?e:e&&"string"==typeof e?s(e,{flags:"i"}):null,de=e=>Boolean(ue(e)),fe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=[];return Array.isArray(e)?(e.forEach(e=>{const r=ue(e);r&&t.push(r)}),e=>t.some(t=>t.test(e))):()=>!1},he=o("cbio.IFrameBridge");var pe=new WeakMap,_e=new WeakMap,ve=new WeakMap,Ee=new WeakMap,me=new WeakMap,ge=new WeakMap,ye=new WeakMap,Ie=new WeakMap,we=new WeakMap,be=new WeakMap;class Le extends n.EventEmitter{get trustedOrigins(){return u(pe,this)}set trustedOrigins(e){d(pe,this,e),d(_e,this,fe(e))}get trustedIframes(){return[...u(me,this)].filter(e=>e.contentWindow&&this.isTrusted(e.contentWindow))}constructor(e){var t;super(),t=this,l(this,pe,[]),l(this,_e,()=>!1),c(this,"automaticTrustedOrigins",[]),l(this,ve,null),l(this,Ee,new WeakMap),l(this,me,new Set),c(this,"start",()=>{window.removeEventListener("message",u(ge,this)),window.addEventListener("message",u(ge,this)),u(ve,this)&&this.send(u(ve,this),"init",null,{trustedOnly:!1})}),c(this,"stop",()=>{window.removeEventListener("message",u(ge,this))}),l(this,ge,e=>{if(!u(Ie,this).call(this,e))return he("ignoring message, not a cobrowse message",e.data);this.establishTrust(e.source,e.origin);const{trustedOnly:t,event:r,data:n}=e.data;this.emit(r,n,{source:e.source,origin:e.origin,trusted:this.isTrusted(e.source),iframe:u(be,this).call(this,e.source),fromParent:u(ye,this).call(this,e.source),trustedOnly:t})}),l(this,ye,function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.parent;return e===r||r.parent!==r&&u(ye,t).call(t,e,r.parent)}),l(this,Ie,e=>{if(!e.data)return!1;const{cobrowseio:t,event:r}=e.data;return!!t&&!!r}),l(this,we,e=>this.automaticTrustedOrigins.includes(e)||u(_e,this).call(this,e)),c(this,"isTrusted",e=>{const t=u(Ee,this).get(e);return!!t&&u(we,this).call(this,t)}),l(this,be,e=>Array.from(u(me,this)).find(t=>t.contentWindow===e)),c(this,"send",function(e,r,n){let{trustedOnly:i=!0,targetOrigin:o}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=o||u(Ee,t).get(e);if(i&&!u(we,t).call(t,s))return he("not sending ".concat(r," as target source is not trusted: ").concat(s));i||s||(s="*"),e.postMessage({trustedOnly:i,cobrowseio:!0,event:r,data:n},s)}),c(this,"sendToParent",function(e,r){let{trustedOnly:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};u(ve,t)&&t.send(u(ve,t),e,r,{trustedOnly:n})}),c(this,"broadcastToChildren",function(e,r){let{trustedOnly:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};u(me,t).forEach(i=>{i.contentWindow&&t.send(i.contentWindow,e,r,{trustedOnly:n})})}),c(this,"track",e=>{u(me,this).has(e)||(u(me,this).add(e),this.emit("iframe_discovered",e))}),c(this,"remove",e=>{u(me,this).delete(e)}),c(this,"establishTrust",(e,t)=>{e&&u(Ee,this).set(e,t)}),c(this,"breakTrust",e=>{u(Ee,this).has(e)&&u(Ee,this).set(e,null)}),d(ve,this,e),he("iframe bridge constructed in",document,"with parent",u(ve,this))}}var Se=new WeakMap,Ce=new WeakMap,Ae=new WeakMap,Oe=new WeakMap,Ne=new WeakMap;class Te extends n.EventEmitter{constructor(e,t){var r;super(),r=this,l(this,Se,void 0),l(this,Ce,void 0),l(this,Ae,new Map),c(this,"send",function(e,t){let{timeout:n=0,trustedOnly:i=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((o,s)=>{const c=(0,a.A)();u(Ae,r).set(c,{resolve:o,reject:s});const l={id:c,method:e,data:t};u(Se,r).send(u(Ce,r),"rpc:request",l,{trustedOnly:i}),n&&setTimeout(()=>{const e=u(Ae,r).get(c);e&&(e.reject(new Error("Request timed out")),u(Ae,r).delete(c))},n)})}),l(this,Oe,async(e,t)=>{let{source:r,trusted:n,trustedOnly:i}=t;const{id:o,method:s,data:a}=e,c=this.listeners(s);if(c.length>1)throw new Error("only a single RPC listener is allowed per event");if(0===c.length)return;const[l]=c;try{const e=await l(a,{trusted:n});u(Se,this).send(r,"rpc:response",{id:o,data:e},{trustedOnly:i})}catch(e){u(Se,this).send(r,"rpc:response",{id:o,error:e},{trustedOnly:i})}}),l(this,Ne,(e,t)=>{let{trusted:r,trustedOnly:n}=t;if(n&&!r)return;const{error:i,id:o,data:s}=e,a=u(Ae,this).get(o);a&&(i?a.reject(i):a.resolve(s),u(Ae,this).delete(o))}),d(Se,this,e),d(Ce,this,t),u(Se,this).on("rpc:request",u(Oe,this)),u(Se,this).on("rpc:response",u(Ne,this))}destroy(){u(Se,this).off("rpc:request",u(Oe,this)),u(Se,this).off("rpc:response",u(Ne,this)),d(Se,this,null),d(Ce,this,null),u(Ae,this).clear(),d(Ae,this,null)}}function Pe(e){try{return!e.document&&!1}catch(e){return!0}}function Re(e){return!!Pe(e)||!("IFRAME"!==e.tagName||!Pe(e.contentWindow))}function Me(){let e=window;do{if(e=e.parent,Re(e))return e}while(e!==e.parent);return null}},80608(e,t,r){"use strict";r.r(t),r.d(t,{MAX:()=>n,NIL:()=>i,parse:()=>s,stringify:()=>a.A,v1:()=>d,v1ToV6:()=>f,v3:()=>S,v4:()=>C.A,v5:()=>P,v6:()=>D,v6ToV1:()=>x,v7:()=>U,validate:()=>o.A,version:()=>W});const n="ffffffff-ffff-ffff-ffff-ffffffffffff",i="00000000-0000-0000-0000-000000000000";r(16280),r(54743),r(11745),r(16573),r(78100),r(77936),r(21489),r(48140),r(75044),r(21903),r(91134),r(52568),r(28845),r(373),r(37467),r(44732),r(79577);var o=r(87273);const s=function(e){if(!(0,o.A)(e))throw TypeError("Invalid UUID");let t;return Uint8Array.of((t=parseInt(e.slice(0,8),16))>>>24,t>>>16&255,t>>>8&255,255&t,(t=parseInt(e.slice(9,13),16))>>>8,255&t,(t=parseInt(e.slice(14,18),16))>>>8,255&t,(t=parseInt(e.slice(19,23),16))>>>8,255&t,(t=parseInt(e.slice(24,36),16))/1099511627776&255,t/4294967296&255,t>>>24&255,t>>>16&255,t>>>8&255,255&t)};var a=r(46675),c=(r(41549),r(49797),r(49631),r(35623),r(44187));const l={};function u(e,t,r,n,i,o){let s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;if(e.length<16)throw new Error("Random bytes length must be >= 16");if(o){if(s<0||s+16>o.length)throw new RangeError("UUID byte range ".concat(s,":").concat(s+15," is out of buffer bounds"))}else o=new Uint8Array(16),s=0;null!=t||(t=Date.now()),null!=r||(r=0),null!=n||(n=16383&(e[8]<<8|e[9])),null!=i||(i=e.slice(10,16));const a=(1e4*(268435455&(t+=122192928e5))+r)%4294967296;o[s++]=a>>>24&255,o[s++]=a>>>16&255,o[s++]=a>>>8&255,o[s++]=255&a;const c=t/4294967296*1e4&268435455;o[s++]=c>>>8&255,o[s++]=255&c,o[s++]=c>>>24&15|16,o[s++]=c>>>16&255,o[s++]=n>>>8|128,o[s++]=255&n;for(let e=0;e<6;++e)o[s++]=i[e];return o}const d=function(e,t,r){var n,i;let o;const s=null!==(n=null===(i=e)||void 0===i?void 0:i._v6)&&void 0!==n&&n;if(e){const t=Object.keys(e);1===t.length&&"_v6"===t[0]&&(e=void 0)}if(e){var d,f,h,p;o=u(null!==(d=null!==(f=e.random)&&void 0!==f?f:null===(h=(p=e).rng)||void 0===h?void 0:h.call(p))&&void 0!==d?d:(0,c.A)(),e.msecs,e.nsecs,e.clockseq,e.node,t,r)}else{const e=Date.now(),n=(0,c.A)();!function(e,t,r){var n,i;null!==(n=e.msecs)&&void 0!==n||(e.msecs=-1/0),null!==(i=e.nsecs)&&void 0!==i||(e.nsecs=0),t===e.msecs?(e.nsecs++,e.nsecs>=1e4&&(e.node=void 0,e.nsecs=0)):t>e.msecs?e.nsecs=0:t<e.msecs&&(e.node=void 0),e.node||(e.node=r.slice(10,16),e.node[0]|=1,e.clockseq=16383&(r[8]<<8|r[9])),e.msecs=t}(l,e,n),o=u(n,l.msecs,l.nsecs,s?void 0:l.clockseq,s?void 0:l.node,t,r)}return null!=t?t:(0,a.k)(o)};function f(e){const t=function(e){return Uint8Array.of((15&e[6])<<4|e[7]>>4&15,(15&e[7])<<4|(240&e[4])>>4,(15&e[4])<<4|(240&e[5])>>4,(15&e[5])<<4|(240&e[0])>>4,(15&e[0])<<4|(240&e[1])>>4,(15&e[1])<<4|(240&e[2])>>4,96|15&e[2],e[3],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}("string"==typeof e?s(e):e);return"string"==typeof e?(0,a.k)(t):t}function h(e){return 14+(e+64>>>9<<4)+1}function p(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function _(e,t,r,n,i,o){return p((s=p(p(t,e),p(n,o)))<<(a=i)|s>>>32-a,r);var s,a}function v(e,t,r,n,i,o,s){return _(t&r|~t&n,e,t,i,o,s)}function E(e,t,r,n,i,o,s){return _(t&n|r&~n,e,t,i,o,s)}function m(e,t,r,n,i,o,s){return _(t^r^n,e,t,i,o,s)}function g(e,t,r,n,i,o,s){return _(r^(t|~n),e,t,i,o,s)}r(61740);const y=function(e){return function(e){const t=new Uint8Array(4*e.length);for(let r=0;r<4*e.length;r++)t[r]=e[r>>2]>>>r%4*8&255;return t}(function(e,t){const r=new Uint32Array(h(t)).fill(0);r.set(e),r[t>>5]|=128<<t%32,r[r.length-1]=t,e=r;let n=1732584193,i=-271733879,o=-1732584194,s=271733878;for(let t=0;t<e.length;t+=16){const r=n,a=i,c=o,l=s;n=v(n,i,o,s,e[t],7,-680876936),s=v(s,n,i,o,e[t+1],12,-389564586),o=v(o,s,n,i,e[t+2],17,606105819),i=v(i,o,s,n,e[t+3],22,-1044525330),n=v(n,i,o,s,e[t+4],7,-176418897),s=v(s,n,i,o,e[t+5],12,1200080426),o=v(o,s,n,i,e[t+6],17,-1473231341),i=v(i,o,s,n,e[t+7],22,-45705983),n=v(n,i,o,s,e[t+8],7,1770035416),s=v(s,n,i,o,e[t+9],12,-1958414417),o=v(o,s,n,i,e[t+10],17,-42063),i=v(i,o,s,n,e[t+11],22,-1990404162),n=v(n,i,o,s,e[t+12],7,1804603682),s=v(s,n,i,o,e[t+13],12,-40341101),o=v(o,s,n,i,e[t+14],17,-1502002290),i=v(i,o,s,n,e[t+15],22,1236535329),n=E(n,i,o,s,e[t+1],5,-165796510),s=E(s,n,i,o,e[t+6],9,-1069501632),o=E(o,s,n,i,e[t+11],14,643717713),i=E(i,o,s,n,e[t],20,-373897302),n=E(n,i,o,s,e[t+5],5,-701558691),s=E(s,n,i,o,e[t+10],9,38016083),o=E(o,s,n,i,e[t+15],14,-660478335),i=E(i,o,s,n,e[t+4],20,-405537848),n=E(n,i,o,s,e[t+9],5,568446438),s=E(s,n,i,o,e[t+14],9,-1019803690),o=E(o,s,n,i,e[t+3],14,-187363961),i=E(i,o,s,n,e[t+8],20,1163531501),n=E(n,i,o,s,e[t+13],5,-1444681467),s=E(s,n,i,o,e[t+2],9,-51403784),o=E(o,s,n,i,e[t+7],14,1735328473),i=E(i,o,s,n,e[t+12],20,-1926607734),n=m(n,i,o,s,e[t+5],4,-378558),s=m(s,n,i,o,e[t+8],11,-2022574463),o=m(o,s,n,i,e[t+11],16,1839030562),i=m(i,o,s,n,e[t+14],23,-35309556),n=m(n,i,o,s,e[t+1],4,-1530992060),s=m(s,n,i,o,e[t+4],11,1272893353),o=m(o,s,n,i,e[t+7],16,-155497632),i=m(i,o,s,n,e[t+10],23,-1094730640),n=m(n,i,o,s,e[t+13],4,681279174),s=m(s,n,i,o,e[t],11,-358537222),o=m(o,s,n,i,e[t+3],16,-722521979),i=m(i,o,s,n,e[t+6],23,76029189),n=m(n,i,o,s,e[t+9],4,-640364487),s=m(s,n,i,o,e[t+12],11,-421815835),o=m(o,s,n,i,e[t+15],16,530742520),i=m(i,o,s,n,e[t+2],23,-995338651),n=g(n,i,o,s,e[t],6,-198630844),s=g(s,n,i,o,e[t+7],10,1126891415),o=g(o,s,n,i,e[t+14],15,-1416354905),i=g(i,o,s,n,e[t+5],21,-57434055),n=g(n,i,o,s,e[t+12],6,1700485571),s=g(s,n,i,o,e[t+3],10,-1894986606),o=g(o,s,n,i,e[t+10],15,-1051523),i=g(i,o,s,n,e[t+1],21,-2054922799),n=g(n,i,o,s,e[t+8],6,1873313359),s=g(s,n,i,o,e[t+15],10,-30611744),o=g(o,s,n,i,e[t+6],15,-1560198380),i=g(i,o,s,n,e[t+13],21,1309151649),n=g(n,i,o,s,e[t+4],6,-145523070),s=g(s,n,i,o,e[t+11],10,-1120210379),o=g(o,s,n,i,e[t+2],15,718787259),i=g(i,o,s,n,e[t+9],21,-343485551),n=p(n,r),i=p(i,a),o=p(o,c),s=p(s,l)}return Uint32Array.of(n,i,o,s)}(function(e){if(0===e.length)return new Uint32Array;const t=new Uint32Array(h(8*e.length)).fill(0);for(let r=0;r<e.length;r++)t[r>>2]|=(255&e[r])<<r%4*8;return t}(e),8*e.length))},I="6ba7b810-9dad-11d1-80b4-00c04fd430c8",w="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function b(e,t,r,n,i,o){var c;const l="string"==typeof r?function(e){e=unescape(encodeURIComponent(e));const t=new Uint8Array(e.length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}(r):r,u="string"==typeof n?s(n):n;if("string"==typeof n&&(n=s(n)),16!==(null===(c=n)||void 0===c?void 0:c.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let d=new Uint8Array(16+l.length);if(d.set(u),d.set(l,u.length),d=t(d),d[6]=15&d[6]|e,d[8]=63&d[8]|128,i){if(null!=o||(o=0),o<0||o+16>i.length)throw new RangeError("UUID byte range ".concat(o,":").concat(o+15," is out of buffer bounds"));for(let e=0;e<16;++e)i[o+e]=d[e];return i}return(0,a.k)(d)}function L(e,t,r,n){return b(48,y,e,t,r,n)}L.DNS=I,L.URL=w;const S=L;var C=r(56086);function A(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function O(e,t){return e<<t|e>>>32-t}const N=function(e){const t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520],n=new Uint8Array(e.length+1);n.set(e),n[e.length]=128;const i=(e=n).length/4+2,o=Math.ceil(i/16),s=new Array(o);for(let t=0;t<o;++t){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];s[t]=r}s[o-1][14]=8*(e.length-1)/2**32,s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<o;++e){const n=new Uint32Array(80);for(let t=0;t<16;++t)n[t]=s[e][t];for(let e=16;e<80;++e)n[e]=O(n[e-3]^n[e-8]^n[e-14]^n[e-16],1);let i=r[0],o=r[1],a=r[2],c=r[3],l=r[4];for(let e=0;e<80;++e){const r=Math.floor(e/20),s=O(i,5)+A(r,o,a,c)+l+t[r]+n[e]>>>0;l=c,c=a,a=O(o,30)>>>0,o=i,i=s}r[0]=r[0]+i>>>0,r[1]=r[1]+o>>>0,r[2]=r[2]+a>>>0,r[3]=r[3]+c>>>0,r[4]=r[4]+l>>>0}return Uint8Array.of(r[0]>>24,r[0]>>16,r[0]>>8,r[0],r[1]>>24,r[1]>>16,r[1]>>8,r[1],r[2]>>24,r[2]>>16,r[2]>>8,r[2],r[3]>>24,r[3]>>16,r[3]>>8,r[3],r[4]>>24,r[4]>>16,r[4]>>8,r[4])};function T(e,t,r,n){return b(80,N,e,t,r,n)}T.DNS=I,T.URL=w;const P=T;function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach(function(t){k(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function k(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r(44114),r(18111),r(22489),r(7588);const D=function(e,t,r){null!=e||(e={}),null!=r||(r=0);let n=d(M(M({},e),{},{_v6:!0}),new Uint8Array(16));if(n=f(n),t){if(r<0||r+16>t.length)throw new RangeError("UUID byte range ".concat(r,":").concat(r+15," is out of buffer bounds"));for(let e=0;e<16;e++)t[r+e]=n[e];return t}return(0,a.k)(n)};function x(e){const t=(r="string"==typeof e?s(e):e,Uint8Array.of((15&r[3])<<4|r[4]>>4&15,(15&r[4])<<4|(240&r[5])>>4,(15&r[5])<<4|15&r[6],r[7],(15&r[1])<<4|(240&r[2])>>4,(15&r[2])<<4|(240&r[3])>>4,16|(240&r[0])>>4,(15&r[0])<<4|(240&r[1])>>4,r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]));var r;return"string"==typeof e?(0,a.k)(t):t}const j={};function G(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(e.length<16)throw new Error("Random bytes length must be >= 16");if(n){if(i<0||i+16>n.length)throw new RangeError("UUID byte range ".concat(i,":").concat(i+15," is out of buffer bounds"))}else n=new Uint8Array(16),i=0;return null!=t||(t=Date.now()),null!=r||(r=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9]),n[i++]=t/1099511627776&255,n[i++]=t/4294967296&255,n[i++]=t/16777216&255,n[i++]=t/65536&255,n[i++]=t/256&255,n[i++]=255&t,n[i++]=112|r>>>28&15,n[i++]=r>>>20&255,n[i++]=128|r>>>14&63,n[i++]=r>>>6&255,n[i++]=r<<2&255|3&e[10],n[i++]=e[11],n[i++]=e[12],n[i++]=e[13],n[i++]=e[14],n[i++]=e[15],n}const U=function(e,t,r){let n;if(e){var i,o,s;n=G(null!==(i=null!==(o=e.random)&&void 0!==o?o:null===(s=e.rng)||void 0===s?void 0:s.call(e))&&void 0!==i?i:(0,c.A)(),e.msecs,e.seq,t,r)}else{const e=Date.now(),i=(0,c.A)();!function(e,t,r){var n,i;null!==(n=e.msecs)&&void 0!==n||(e.msecs=-1/0),null!==(i=e.seq)&&void 0!==i||(e.seq=0),t>e.msecs?(e.seq=r[6]<<23|r[7]<<16|r[8]<<8|r[9],e.msecs=t):(e.seq=e.seq+1|0,0===e.seq&&e.msecs++)}(j,e,i),n=G(i,j.msecs,j.seq,t,r)}return null!=t?t:(0,a.k)(n)},W=function(e){if(!(0,o.A)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},44187(e,t,r){"use strict";r.d(t,{A:()=>i}),r(54743),r(11745),r(16573),r(78100),r(77936),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623);const n=new Uint8Array(16);function i(){return crypto.getRandomValues(n)}},46675(e,t,r){"use strict";r.d(t,{A:()=>s,k:()=>o}),r(16280),r(44114);var n=r(87273);const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}const s=function(e){const t=o(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0);if(!(0,n.A)(t))throw TypeError("Stringified UUID is invalid");return t}},56086(e,t,r){"use strict";r.d(t,{A:()=>o}),r(16280);var n=r(44187),i=r(46675);const o=function(e,t,r){return t||e||!crypto.randomUUID?function(e,t,r){var o,s,a,c;const l=null!==(o=null!==(s=(e=e||{}).random)&&void 0!==s?s:null===(a=(c=e).rng)||void 0===a?void 0:a.call(c))&&void 0!==o?o:(0,n.A)();if(l.length<16)throw new Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError("UUID byte range ".concat(r,":").concat(r+15," is out of buffer bounds"));for(let e=0;e<16;++e)t[r+e]=l[e];return t}return(0,i.k)(l)}(e,t,r):crypto.randomUUID()}},87273(e,t,r){"use strict";r.d(t,{A:()=>i}),r(27495);const n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i,i=function(e){return"string"==typeof e&&n.test(e)}},75120(e){"use strict";e.exports=JSON.parse('{"ALLOW":"سماح","CALLING_ACCEPT":"قبول","CALLING_AGENT_DECLINED":"تم رفض المكالمة من قبل الوكيل","CALLING_AGENT_WAITING":"في انتظار الوكيل...","CALLING_BACK":"عودة","CALLING_CAMERA_OFF":"الكاميرا مغلقة","CALLING_CAMERA_PERMISSION_DENIED":"تم رفض الوصول إلى الكاميرا. قم بتمكينه في إعدادات المتصفح الخاص بك.","CALLING_CAMERA_PERMISSION_PROMPT":"السماح بالوصول إلى الكاميرا","CALLING_CAMERA_STARTING":"الكاميرا تبدأ العمل","CALLING_CANCEL":"إلغاء","CALLING_DISABLE_AUDIO":"تعطيل الصوت","CALLING_DISABLE_VIDEO":"تعطيل الفيديو","CALLING_ENABLE_AUDIO":"تمكين الصوت","CALLING_ENABLE_VIDEO":"تفعيل الفيديو","CALLING_END":"إنهاء المكالمة","CALLING_IN_PROGRESS":"جارٍ الانضمام إلى مكالمة الفيديو","CALLING_JOIN":"انضم إلى المكالمة","CALLING_JOIN_PROMPT":"يرغب وكيل الدعم في الاتصال بك.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"أنا","CALLING_MICROPHONE_PERMISSION_DENIED":"تم رفض الوصول إلى الميكروفون. فعّله في إعدادات المتصفح الخاص بك.","CALLING_MICROPHONE_PERMISSION_PROMPT":"السماح بالوصول إلى الميكروفون","CALLING_NO_DEVICES":"لا شيء","CALLING_PERMISSION_NEEDED":"مطلوب إذن","CALLING_REJECT":"رفض المكالمة","CALLING_REJOIN_PROMPT":"لديك مكالمة نشطة مع وكيل الدعم. هل تريد الانضمام مرة أخرى؟","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"الوكيل","CALLING_REQUEST":"هل تريد الانضمام إلى مكالمة الفيديو؟","CALLING_RETRY":"إعادة المحاولة","CALLING_SAVE":"حفظ","CALLING_SELECT_CAMERA":"اختر الكاميرا","CALLING_SELECT_MICROPHONE":"اختر الميكروفون","CALLING_SELECT_SPEAKER":"اختر المتحدث","CALLING_SHOW_CALL_SETTINGS":"عرض إعدادات المكالمة","DENY":"رفض","END_SESSION":"إنهاء جلسة Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"يرغب وكيل الدعم في عرض شاشتك.","FULL_DEVICE_REQUEST_TITLE":"السماح بالتقاط الشاشة كاملة؟","REMOTE_CONTROL_REQUEST_DESCRIPTION":"وكيل ادعم يريد التحكم بهذه الصفحة.","REMOTE_CONTROL_REQUEST_TITLE":"السماح بالتحكم عن بُعد؟","SESSION_REQUEST_DESCRIPTION":"يرغب أحد موظفي خدمة العملاء في استخدام هذه الصفحة معك،","SESSION_REQUEST_TITLE":"السماح بالتصفح المشترك؟","UNIVERSAL_PROXY_BLOCKED":"لا يمكن عرض هذه الصفحة مع وكيل الدعم","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"يرغب وكيل الدعم في متابعتك إلى صفحات ويب أخرى.","UNIVERSAL_PROXY_REQUEST_TITLE":"السماح بمتابعة الجلسة؟"}')},97337(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Povolit","CALLING_ACCEPT":"Přijmout","CALLING_AGENT_DECLINED":"Hovor odmítnut operátorem","CALLING_AGENT_WAITING":"Čekání na agenta...","CALLING_BACK":"Zpět","CALLING_CAMERA_OFF":"Kamera je vypnutá","CALLING_CAMERA_PERMISSION_DENIED":"Přístup ke kameře odepřen. Povolit jej v nastavení prohlížeče.","CALLING_CAMERA_PERMISSION_PROMPT":"Povolit přístup ke kameře","CALLING_CAMERA_STARTING":"Kamera se spouští","CALLING_CANCEL":"Zrušit","CALLING_DISABLE_AUDIO":"Zakázat zvuk","CALLING_DISABLE_VIDEO":"Zakázat video","CALLING_ENABLE_AUDIO":"Povolit zvuk","CALLING_ENABLE_VIDEO":"Povolit video","CALLING_END":"Ukončit hovor","CALLING_IN_PROGRESS":"Vstup do videohovoru","CALLING_JOIN":"Připojit se k hovoru","CALLING_JOIN_PROMPT":"Podpora by vás ráda kontaktovala telefonicky.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Já","CALLING_MICROPHONE_PERMISSION_DENIED":"Přístup k mikrofonu odepřen. Povolte jej v nastavení prohlížeče.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Povolit přístup k mikrofonu","CALLING_NO_DEVICES":"Žádný","CALLING_PERMISSION_NEEDED":"Vyžadováno povolení","CALLING_REJECT":"Odmítnout hovor","CALLING_REJOIN_PROMPT":"Máte aktivní hovor s podpůrným agentem. Chcete se znovu připojit?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Vstoupit do videohovoru?","CALLING_RETRY":"Opakovat pokus","CALLING_SAVE":"Uložit","CALLING_SELECT_CAMERA":"Vyberte kameru","CALLING_SELECT_MICROPHONE":"Vybrat mikrofon","CALLING_SELECT_SPEAKER":"Vyberte reproduktor","CALLING_SHOW_CALL_SETTINGS":"Zobrazit nastavení hovoru","DENY":"Odmítnout","END_SESSION":"Zastavit sdílení","FULL_DEVICE_REQUEST_DESCRIPTION":"Podpora by si ráda prohlédla celou vaši obrazovku.","FULL_DEVICE_REQUEST_TITLE":"Povolit úplné snímání obrazovky?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Podpora by ráda ovládala tuto stránku.","REMOTE_CONTROL_REQUEST_TITLE":"Povolit vzdálené ovládání?","SESSION_REQUEST_DESCRIPTION":"Podpůrný pracovník by s vámi chtěl dočasně používat tuto webovou stránku.","SESSION_REQUEST_TITLE":"Povolit společné prohlížení?","UNIVERSAL_PROXY_BLOCKED":"Tuto webovou stránku nelze zobrazit s podpůrným pracovníkem","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Agent podpory by vás rád sledoval na jiné webové stránky.","UNIVERSAL_PROXY_REQUEST_TITLE":"Povolit pokračování relace?"}')},81088(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Tillad","CALLING_ACCEPT":"Accepter","CALLING_AGENT_DECLINED":"Opkald afvist af agent","CALLING_AGENT_WAITING":"Venter på agent...","CALLING_BACK":"Tilbage","CALLING_CAMERA_OFF":"Kamera er slukket","CALLING_CAMERA_PERMISSION_DENIED":"Adgang til kamera nægtet. Aktivér det i dine browserindstillinger.","CALLING_CAMERA_PERMISSION_PROMPT":"Tillad adgang til kamera","CALLING_CAMERA_STARTING":"Kamera starter","CALLING_CANCEL":"Annuller","CALLING_DISABLE_AUDIO":"Deaktiver lyd","CALLING_DISABLE_VIDEO":"Deaktiver video","CALLING_ENABLE_AUDIO":"Aktiver lyd","CALLING_ENABLE_VIDEO":"Aktivér video","CALLING_END":"Afslut opkald","CALLING_IN_PROGRESS":"Deltager i videoopkald","CALLING_JOIN":"Deltag i opkaldet","CALLING_JOIN_PROMPT":"En supportagent vil gerne ringe til dig.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Mig","CALLING_MICROPHONE_PERMISSION_DENIED":"Adgang til mikrofon nægtet. Aktivér det i dine browserindstillinger.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Tillad adgang til mikrofon","CALLING_NO_DEVICES":"Ingen","CALLING_PERMISSION_NEEDED":"Tilladelse nødvendig","CALLING_REJECT":"Afvis opkald","CALLING_REJOIN_PROMPT":"Du har en aktiv samtale med en supportagent. Vil du genoptage den?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Deltage i videoopkald?","CALLING_RETRY":"Prøv igen","CALLING_SAVE":"Gem </translateOnlyThis>","CALLING_SELECT_CAMERA":"Vælg kamera","CALLING_SELECT_MICROPHONE":"Vælg mikrofon","CALLING_SELECT_SPEAKER":"Vælg højtaler","CALLING_SHOW_CALL_SETTINGS":"Vis opkaldsindstillinger","DENY":"Nægt","END_SESSION":"Stop deling","FULL_DEVICE_REQUEST_DESCRIPTION":"En supportagent ønsker at se din hele skærm.","FULL_DEVICE_REQUEST_TITLE":"Tillad fuldskærmsoptagelse?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"En supportagent ønsker at kontrollere denne side.","REMOTE_CONTROL_REQUEST_TITLE":"Tillad fjernbetjening?","SESSION_REQUEST_DESCRIPTION":"En supportagent ønsker midlertidigt at bruge denne webside sammen med dig.","SESSION_REQUEST_TITLE":"Tillad cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Denne webside kan ikke vises sammen med en supportagent","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"En supportagent vil gerne følge dig til andre websider.","UNIVERSAL_PROXY_REQUEST_TITLE":"Tillad fortsættelse af session?"}')},30428(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Erlauben","CALLING_ACCEPT":"Akzeptieren","CALLING_AGENT_DECLINED":"Anruf vom Agenten abgelehnt","CALLING_AGENT_WAITING":"Warten auf Agent...","CALLING_BACK":"Zurück","CALLING_CAMERA_OFF":"Kamera ist ausgeschaltet","CALLING_CAMERA_PERMISSION_DENIED":"Kamerazugriff verweigert. Aktivieren Sie ihn in den Browsereinstellungen.","CALLING_CAMERA_PERMISSION_PROMPT":"Zugriff auf die Kamera erlauben","CALLING_CAMERA_STARTING":"Kamera wird gestartet","CALLING_CANCEL":"Abbrechen","CALLING_DISABLE_AUDIO":"Audio deaktivieren","CALLING_DISABLE_VIDEO":"Video deaktivieren","CALLING_ENABLE_AUDIO":"Audio aktivieren","CALLING_ENABLE_VIDEO":"Video aktivieren","CALLING_END":"Anruf beenden","CALLING_IN_PROGRESS":"Beitreten zum Videoanruf","CALLING_JOIN":"Anruf beitreten","CALLING_JOIN_PROMPT":"Ein Support-Mitarbeiter möchte Sie anrufen.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Ich","CALLING_MICROPHONE_PERMISSION_DENIED":"Zugriff auf Mikrofon verweigert. Aktivieren Sie diesen in den Browsereinstellungen.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Zugriff auf Mikrofon erlauben","CALLING_NO_DEVICES":"Keine","CALLING_PERMISSION_NEEDED":"Berechtigung erforderlich","CALLING_REJECT":"Anruf ablehnen","CALLING_REJOIN_PROMPT":"Sie sind in einem aktiven Gespräch mit einem Support-Mitarbeiter. Möchten Sie wieder beitreten?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Videoanruf starten?","CALLING_RETRY":"Erneut versuchen","CALLING_SAVE":"Speichern","CALLING_SELECT_CAMERA":"Kamera auswählen","CALLING_SELECT_MICROPHONE":"Mikrofon auswählen","CALLING_SELECT_SPEAKER":"Sprecher auswählen","CALLING_SHOW_CALL_SETTINGS":"Anrufeinstellungen anzeigen","DENY":"Ablehnen","END_SESSION":"Cobrowse-Sitzung beenden","FULL_DEVICE_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte Ihren gesamten Bildschirm anzeigen.","FULL_DEVICE_REQUEST_TITLE":"Vollständige Bildschirmaufnahme erlauben?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte diese Seite steuern.","REMOTE_CONTROL_REQUEST_TITLE":"Fernsteuerung erlauben?","SESSION_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte diese Webseite vorübergehend mit Ihnen nutzen.","SESSION_REQUEST_TITLE":"Cobrowsing erlauben?","UNIVERSAL_PROXY_BLOCKED":"Diese Webseite kann nicht mit einem Support-Mitarbeiter angezeigt werden","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte Sie zu anderen Webseiten begleiten.","UNIVERSAL_PROXY_REQUEST_TITLE":"Sitzungsfortsetzung erlauben?"}')},45448(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Allow","CALLING_ACCEPT":"Accept","CALLING_AGENT_DECLINED":"Call declined by agent","CALLING_AGENT_WAITING":"Waiting for agent...","CALLING_BACK":"Back","CALLING_CAMERA_OFF":"Camera is off","CALLING_CAMERA_PERMISSION_DENIED":"Camera access denied. Enable it in your browser settings.","CALLING_CAMERA_PERMISSION_PROMPT":"Allow access to camera","CALLING_CAMERA_STARTING":"Camera is starting","CALLING_CANCEL":"Cancel","CALLING_DISABLE_AUDIO":"Disable audio","CALLING_DISABLE_VIDEO":"Disable video","CALLING_ENABLE_AUDIO":"Enable audio","CALLING_ENABLE_VIDEO":"Enable video","CALLING_END":"End call","CALLING_IN_PROGRESS":"Entering video call","CALLING_JOIN":"Join call","CALLING_JOIN_PROMPT":"A support agent would like to call you.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Me","CALLING_MICROPHONE_PERMISSION_DENIED":"Microphone access denied. Enable it in your browser settings.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Allow access to microphone","CALLING_NO_DEVICES":"None","CALLING_PERMISSION_NEEDED":"Permission needed","CALLING_REJECT":"Reject call","CALLING_REJOIN_PROMPT":"You have an active call with a support agent. Do you want to rejoin?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Enter video call?","CALLING_RETRY":"Retry","CALLING_SAVE":"Save","CALLING_SELECT_CAMERA":"Select camera","CALLING_SELECT_MICROPHONE":"Select microphone","CALLING_SELECT_SPEAKER":"Select speaker","CALLING_SHOW_CALL_SETTINGS":"Show call settings","DENY":"Deny","END_SESSION":"Stop Sharing","FULL_DEVICE_REQUEST_DESCRIPTION":"A support agent would like to view your entire screen.","FULL_DEVICE_REQUEST_TITLE":"Allow full screen capture?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"A support agent would like to control this page.","REMOTE_CONTROL_REQUEST_TITLE":"Allow remote control?","SESSION_REQUEST_DESCRIPTION":"A support agent would like to temporarily use this web page with you.","SESSION_REQUEST_TITLE":"Allow cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"This web page cannot be viewed with a support agent","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"A support agent would like to follow you to other web pages.","UNIVERSAL_PROXY_REQUEST_TITLE":"Allow session continuation?"}')},49467(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","CALLING_ACCEPT":"Aceptar","CALLING_AGENT_DECLINED":"Llamada rechazada por el agente","CALLING_AGENT_WAITING":"Esperando al agente...","CALLING_BACK":"Regresar","CALLING_CAMERA_OFF":"La cámara está apagada","CALLING_CAMERA_PERMISSION_DENIED":"Acceso a la cámara denegado. Habilítelo en la configuración de su navegador.","CALLING_CAMERA_PERMISSION_PROMPT":"Permitir acceso a la cámara","CALLING_CAMERA_STARTING":"La cámara se está iniciando","CALLING_CANCEL":"Cancelar","CALLING_DISABLE_AUDIO":"Desactivar audio","CALLING_DISABLE_VIDEO":"Desactivar video","CALLING_ENABLE_AUDIO":"Habilitar audio","CALLING_ENABLE_VIDEO":"Habilitar video","CALLING_END":"Finalizar llamada","CALLING_IN_PROGRESS":"Entrando a llamada de video","CALLING_JOIN":"Unirse a la llamada","CALLING_JOIN_PROMPT":"Un agente de soporte desea llamarle.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Yo","CALLING_MICROPHONE_PERMISSION_DENIED":"Acceso al micrófono denegado. Habilítelo en la configuración de su navegador.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Permitir acceso al micrófono","CALLING_NO_DEVICES":"Ninguno","CALLING_PERMISSION_NEEDED":"Permiso necesario","CALLING_REJECT":"Rechazar llamada","CALLING_REJOIN_PROMPT":"Tienes una llamada activa con un agente de soporte. ¿Deseas volver a unirte?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agente","CALLING_REQUEST":"¿Ingresar a la videollamada?","CALLING_RETRY":"Reintentar","CALLING_SAVE":"Guardar","CALLING_SELECT_CAMERA":"Seleccionar cámara","CALLING_SELECT_MICROPHONE":"Seleccionar micrófono","CALLING_SELECT_SPEAKER":"Seleccionar altavoz","CALLING_SHOW_CALL_SETTINGS":"Mostrar configuración de llamada","DENY":"Denegar","END_SESSION":"Finalizar Sesión de Navegación Conjunta","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agente de soporte quiere ver toda su pantalla.","FULL_DEVICE_REQUEST_TITLE":"¿Permitir captura completa de pantalla?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente de soporte quiere controlar esta página.","REMOTE_CONTROL_REQUEST_TITLE":"¿Permitir control remoto?","SESSION_REQUEST_DESCRIPTION":"Un agente de soporte quiere usar temporalmente esta página web con usted.","SESSION_REQUEST_TITLE":"¿Permitir cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Esta página web no puede ser vista con un agente de soporte","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Un agente de soporte quiere seguirle a otras páginas web.","UNIVERSAL_PROXY_REQUEST_TITLE":"¿Permitir continuación de sesión?"}')},70831(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","CALLING_ACCEPT":"Aceptar","CALLING_AGENT_DECLINED":"Llamada rechazada por el agente","CALLING_AGENT_WAITING":"Esperando al agente...","CALLING_BACK":"Atrás","CALLING_CAMERA_OFF":"La cámara está apagada","CALLING_CAMERA_PERMISSION_DENIED":"Acceso a la cámara denegado. Habilítelo en la configuración de su navegador.","CALLING_CAMERA_PERMISSION_PROMPT":"Permitir acceso a la cámara","CALLING_CAMERA_STARTING":"La cámara se está iniciando","CALLING_CANCEL":"Cancelar","CALLING_DISABLE_AUDIO":"Desactivar audio","CALLING_DISABLE_VIDEO":"Desactivar vídeo","CALLING_ENABLE_AUDIO":"Activar audio","CALLING_ENABLE_VIDEO":"Habilitar vídeo","CALLING_END":"Finalizar llamada","CALLING_IN_PROGRESS":"Entrando en la videollamada","CALLING_JOIN":"Unirse a la llamada","CALLING_JOIN_PROMPT":"Un agente de soporte desea llamarle.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Yo","CALLING_MICROPHONE_PERMISSION_DENIED":"Acceso al micrófono denegado. Habilítelo en la configuración de su navegador.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Permitir acceso al micrófono","CALLING_NO_DEVICES":"Ninguno","CALLING_PERMISSION_NEEDED":"Permiso necesario","CALLING_REJECT":"Rechazar llamada","CALLING_REJOIN_PROMPT":"Tienes una llamada activa con un agente de soporte. ¿Quieres volver a unirte?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agente","CALLING_REQUEST":"¿Entrar a la videollamada?","CALLING_RETRY":"Reintentar","CALLING_SAVE":"Guardar","CALLING_SELECT_CAMERA":"Seleccionar cámara","CALLING_SELECT_MICROPHONE":"Seleccionar micrófono","CALLING_SELECT_SPEAKER":"Seleccionar altavoz","CALLING_SHOW_CALL_SETTINGS":"Mostrar configuración de llamadas","DENY":"Denegar","END_SESSION":"Finalizar Sesión","FULL_DEVICE_REQUEST_DESCRIPTION":"Un asistente de soporte solicita visualizar la totalidad de su pantalla.","FULL_DEVICE_REQUEST_TITLE":"¿Permitir captura completa de pantalla?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente de soporte desea controlar esta página.","REMOTE_CONTROL_REQUEST_TITLE":"¿Permitir control remoto?","SESSION_REQUEST_DESCRIPTION":"Un agente de soporte quiere usar temporalmente esta página web con usted.","SESSION_REQUEST_TITLE":"¿Permitir cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Esta página web no puede ser vista con un agente de soporte","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Un agente de soporte desea seguirle a otras páginas web.","UNIVERSAL_PROXY_REQUEST_TITLE":"¿Permitir continuación de sesión?"}')},93202(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Luba","CALLING_ACCEPT":"Nõustu","CALLING_AGENT_DECLINED":"Kõne agent poolt tagasi lükatud","CALLING_AGENT_WAITING":"Ootame agenti...","CALLING_BACK":"Tagasi","CALLING_CAMERA_OFF":"Kaamera on välja lülitatud","CALLING_CAMERA_PERMISSION_DENIED":"Kaamera ligipääs keelatud. Luba see oma brauseri seadetes.","CALLING_CAMERA_PERMISSION_PROMPT":"Luba juurdepääs kaamerale","CALLING_CAMERA_STARTING":"Kaamera käivitub","CALLING_CANCEL":"Tühista","CALLING_DISABLE_AUDIO":"Lülita heli välja","CALLING_DISABLE_VIDEO":"Keela video","CALLING_ENABLE_AUDIO":"Luba heli","CALLING_ENABLE_VIDEO":"Luba video","CALLING_END":"Lõpeta kõne","CALLING_IN_PROGRESS":"Videokõnesse sisenemine","CALLING_JOIN":"Liitu kõnega","CALLING_JOIN_PROMPT":"Toetusagend soovib teid helistada.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Mina","CALLING_MICROPHONE_PERMISSION_DENIED":"Mikrofoni ligipääs keelatud. Luba see oma brauseri seadetes.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Luba mikrofoni kasutamise õigus","CALLING_NO_DEVICES":"Mitte ükski","CALLING_PERMISSION_NEEDED":"Vaja luba","CALLING_REJECT":"Keela kõne","CALLING_REJOIN_PROMPT":"Teilitate jooksval kõnel tugiteenuse esindajaga. Kas soovite uuesti ühineda?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Esindaja","CALLING_REQUEST":"Sisene videokõnesse?","CALLING_RETRY":"Proovi uuesti","CALLING_SAVE":"Salvesta","CALLING_SELECT_CAMERA":"Vali kaamera","CALLING_SELECT_MICROPHONE":"Vali mikrofon","CALLING_SELECT_SPEAKER":"Vali kõneleja","CALLING_SHOW_CALL_SETTINGS":"Kuva kõne seadeid","DENY":"Keeldu","END_SESSION":"Jaga jagamine lõpetada","FULL_DEVICE_REQUEST_DESCRIPTION":"Tugiagendi soovib teie kogu ekraani vaadata.","FULL_DEVICE_REQUEST_TITLE":"Luba täisekraani salvestuse lubamine?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Tugiteenindaja soovib seda lehte juhtida.","REMOTE_CONTROL_REQUEST_TITLE":"Lubate kaugjuhtimist?","SESSION_REQUEST_DESCRIPTION":"Toetusagent soovib seda veebilehte teiega ajutiselt kasutada.","SESSION_REQUEST_TITLE":"Luba koosturundus?","UNIVERSAL_PROXY_BLOCKED":"Seda veebilehte ei saa vaadata koos tugiesindajaga","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Toetusagendi soovib teid teistele veebilehtedele jälgida.","UNIVERSAL_PROXY_REQUEST_TITLE":"Kas lubada seansi jätkamine?"}')},34818(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Salli","CALLING_ACCEPT":"Hyväksy","CALLING_AGENT_DECLINED":"Puhelu hylätty agentin toimesta","CALLING_AGENT_WAITING":"Odotetaan asiakaspalvelijaa...","CALLING_BACK":"Takaisin","CALLING_CAMERA_OFF":"Kamera on pois päältä","CALLING_CAMERA_PERMISSION_DENIED":"Kameran käyttö estetty. Ota se käyttöön selaimesi asetuksissa.","CALLING_CAMERA_PERMISSION_PROMPT":"Salli pääsy kameraan","CALLING_CAMERA_STARTING":"Kamera käynnistyy","CALLING_CANCEL":"Peruuta","CALLING_DISABLE_AUDIO":"Poista ääni käytöstä","CALLING_DISABLE_VIDEO":"Poista video käytöstä","CALLING_ENABLE_AUDIO":"Ota ääni käyttöön","CALLING_ENABLE_VIDEO":"Ota video käyttöön","CALLING_END":"Lopeta puhelu","CALLING_IN_PROGRESS":"Liityt videopuheluun","CALLING_JOIN":"Liity puheluun","CALLING_JOIN_PROMPT":"Tukihenkilö haluaisi soittaa sinulle.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Minä","CALLING_MICROPHONE_PERMISSION_DENIED":"Mikrofonin käyttö estetty. Ota se käyttöön selaimesi asetuksissa.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Salli pääsy mikrofonille","CALLING_NO_DEVICES":"Ei mitään","CALLING_PERMISSION_NEEDED":"Lupa tarvitaan","CALLING_REJECT":"Hylkää puhelu","CALLING_REJOIN_PROMPT":"Sinulla on aktiivinen puhelu tukiedustajan kanssa. Haluatko liittyä uudelleen?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Asiakaspalvelija","CALLING_REQUEST":"Haluatko mennä videopuheluun?","CALLING_RETRY":"Yritä uudelleen","CALLING_SAVE":"Tallenna","CALLING_SELECT_CAMERA":"Valitse kamera","CALLING_SELECT_MICROPHONE":"Valitse mikrofoni","CALLING_SELECT_SPEAKER":"Valitse kaiutin","CALLING_SHOW_CALL_SETTINGS":"Näytä puheluasetukset","DENY":"Estä","END_SESSION":"Lopeta jakaminen","FULL_DEVICE_REQUEST_DESCRIPTION":"Tukihenkilö haluaa nähdä koko näyttösi.","FULL_DEVICE_REQUEST_TITLE":"Sallitaanko kokoruudun tallennus?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Tukihenkilö haluaisi ohjata tätä sivua.","REMOTE_CONTROL_REQUEST_TITLE":"Sallitaanko etäohjaus?","SESSION_REQUEST_DESCRIPTION":"Asiakaspalvelija haluaisi väliaikaisesti käyttää tätä verkkosivua kanssasi.","SESSION_REQUEST_TITLE":"Salli yhteisselaus?","UNIVERSAL_PROXY_BLOCKED":"Tätä verkkosivua ei voi tarkastella tukihenkilön kanssa","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Tukihenkilö haluaa seurata sinua muille verkkosivuille.","UNIVERSAL_PROXY_REQUEST_TITLE":"Sallitaanko istunnon jatkaminen?"}')},99867(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Autoriser","CALLING_ACCEPT":"Accepter","CALLING_AGENT_DECLINED":"Appel refusé par l\'agent","CALLING_AGENT_WAITING":"En attente de l\'agent...","CALLING_BACK":"Retour","CALLING_CAMERA_OFF":"La caméra est éteinte","CALLING_CAMERA_PERMISSION_DENIED":"Accès à la caméra refusé. Activez-le dans les paramètres de votre navigateur.","CALLING_CAMERA_PERMISSION_PROMPT":"Autoriser l\'accès à la caméra","CALLING_CAMERA_STARTING":"La caméra démarre","CALLING_CANCEL":"Annuler","CALLING_DISABLE_AUDIO":"Désactiver l\'audio","CALLING_DISABLE_VIDEO":"Désactiver la vidéo","CALLING_ENABLE_AUDIO":"Activer l\'audio","CALLING_ENABLE_VIDEO":"Activer la vidéo","CALLING_END":"Terminer l\'appel","CALLING_IN_PROGRESS":"Connexion à l\'appel vidéo","CALLING_JOIN":"Rejoindre l\'appel","CALLING_JOIN_PROMPT":"Un agent de support souhaite vous appeler.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Moi","CALLING_MICROPHONE_PERMISSION_DENIED":"Accès au microphone refusé. Activez-le dans les paramètres de votre navigateur.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Autoriser l\'accès au microphone","CALLING_NO_DEVICES":"Aucun","CALLING_PERMISSION_NEEDED":"Permission requise","CALLING_REJECT":"Rejeter l\'appel","CALLING_REJOIN_PROMPT":"Vous êtes en communication avec un agent de support. Voulez-vous rejoindre à nouveau ?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Entrer dans l\'appel vidéo ?","CALLING_RETRY":"Réessayer","CALLING_SAVE":"Enregistrer","CALLING_SELECT_CAMERA":"Sélectionner la caméra","CALLING_SELECT_MICROPHONE":"Sélectionner un microphone","CALLING_SELECT_SPEAKER":"Sélectionner le haut-parleur","CALLING_SHOW_CALL_SETTINGS":"Afficher les paramètres d\'appel","DENY":"Refuser","END_SESSION":"Terminer la session de Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agent de soutien souhaiterait voir l\'intégralité de votre écran.","FULL_DEVICE_REQUEST_TITLE":"Autoriser la capture d\'écran complète ?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agent du soutien souhaiterait avoir le contrôle de cette page.","REMOTE_CONTROL_REQUEST_TITLE":"Autoriser le contrôle à distance ?","SESSION_REQUEST_DESCRIPTION":"Un agent de soutien souhaiterait temporairement utiliser cette page Web avec vous.","SESSION_REQUEST_TITLE":"Autoriser le cobrowsing ?","UNIVERSAL_PROXY_BLOCKED":"Cette page Web ne peut pas être vue avec un agent de soutien","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Un agent de soutien souhaiterait vous suivre vers d\'autres pages Web.","UNIVERSAL_PROXY_REQUEST_TITLE":"Autoriser la continuation de session ?"}')},87876(e){"use strict";e.exports=JSON.parse('{"ALLOW":"अनुमति देना","CALLING_ACCEPT":"स्वीकार करें","CALLING_AGENT_DECLINED":"एजेंट द्वारा कॉल अस्वीकार किया गया","CALLING_AGENT_WAITING":"एजेंट के लिए प्रतीक्षा कर रहे हैं...","CALLING_BACK":"वापस","CALLING_CAMERA_OFF":"कैमरा बंद है","CALLING_CAMERA_PERMISSION_DENIED":"कैमरा एक्सेस अस्वीकृत। इसे अपने ब्राउज़र सेटिंग्स में सक्षम करें।","CALLING_CAMERA_PERMISSION_PROMPT":"कैमरा तक पहुंच की अनुमति दें","CALLING_CAMERA_STARTING":"कैमरा शुरू हो रहा है","CALLING_CANCEL":"रद्द करें","CALLING_DISABLE_AUDIO":"ऑडियो अक्षम करें","CALLING_DISABLE_VIDEO":"वीडियो अक्षम करें","CALLING_ENABLE_AUDIO":"ऑडियो सक्षम करें","CALLING_ENABLE_VIDEO":"वीडियो सक्षम करें","CALLING_END":"कॉल समाप्त करें","CALLING_IN_PROGRESS":"वीडियो कॉल में प्रवेश करना","CALLING_JOIN":"कॉल में शामिल हों","CALLING_JOIN_PROMPT":"एक समर्थन एजेंट आपको कॉल करना चाहता है।","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"मैं","CALLING_MICROPHONE_PERMISSION_DENIED":"माइक्रोफोन एक्सेस अस्वीकृत। इसे अपने ब्राउज़र सेटिंग्स में सक्षम करें।","CALLING_MICROPHONE_PERMISSION_PROMPT":"माइक्रोफोन तक पहुंच की अनुमति दें","CALLING_NO_DEVICES":"कोई नहीं","CALLING_PERMISSION_NEEDED":"अनुमति आवश्यक है","CALLING_REJECT":"कॉल अस्वीकार करें","CALLING_REJOIN_PROMPT":"आपका एक सक्रिय कॉल समर्थन एजेंट के साथ है। क्या आप पुनः जुड़ना चाहते हैं?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"एजेंट","CALLING_REQUEST":"वीडियो कॉल में प्रवेश करें?","CALLING_RETRY":"पुनः प्रयास करें","CALLING_SAVE":"सहेजें","CALLING_SELECT_CAMERA":"कैमरा चुनें","CALLING_SELECT_MICROPHONE":"माइक्रोफोन चुनें","CALLING_SELECT_SPEAKER":"वक्ता चुनें","CALLING_SHOW_CALL_SETTINGS":"कॉल सेटिंग्स दिखाएं","DENY":"अस्वीकार करना","END_SESSION":"कोब्रोसे सत्र समाप्त करें","FULL_DEVICE_REQUEST_DESCRIPTION":"एक सहायता एजेंट आपकी पूरी स्क्रीन देखना चाहेगा।","FULL_DEVICE_REQUEST_TITLE":"पूर्ण स्क्रीन कैप्चर की अनुमति दें?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"एक समर्थन एजेंट इस पेज को नियंत्रित करना चाहता है।","REMOTE_CONTROL_REQUEST_TITLE":"रिमोट कंट्रोल की अनुमति दें?","SESSION_REQUEST_DESCRIPTION":"एक सहायता एजेंट अस्थायी रूप से आपके साथ इस वेब पेज का उपयोग करना चाहेगा।","SESSION_REQUEST_TITLE":"कोब्राउज़िंग की अनुमति दें?","UNIVERSAL_PROXY_BLOCKED":"यह वेब पेज सहायता एजेंट के साथ नहीं देखा जा सकता","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"एक सहायता एजेंट आपका अन्य वेब पेजों में पीछा करना चाहेगा।","UNIVERSAL_PROXY_REQUEST_TITLE":"सत्र निरंतरता की अनुमति दें?"}')},28038(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Consenti","CALLING_ACCEPT":"Accetta","CALLING_AGENT_DECLINED":"Chiamata rifiutata dall\'agente","CALLING_AGENT_WAITING":"In attesa dell\'agente...","CALLING_BACK":"Indietro","CALLING_CAMERA_OFF":"La fotocamera è spenta","CALLING_CAMERA_PERMISSION_DENIED":"Accesso alla fotocamera negato. Attivalo nelle impostazioni del tuo browser.","CALLING_CAMERA_PERMISSION_PROMPT":"Consenti l\'accesso alla fotocamera","CALLING_CAMERA_STARTING":"La fotocamera si sta avviando","CALLING_CANCEL":"Annulla","CALLING_DISABLE_AUDIO":"Disabilita audio","CALLING_DISABLE_VIDEO":"Disabilita video","CALLING_ENABLE_AUDIO":"Abilita audio","CALLING_ENABLE_VIDEO":"Abilita video","CALLING_END":"Termina chiamata","CALLING_IN_PROGRESS":"Partecipazione alla videochiamata","CALLING_JOIN":"Partecipa alla chiamata","CALLING_JOIN_PROMPT":"Un agente di supporto desidera chiamarla.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Me","CALLING_MICROPHONE_PERMISSION_DENIED":"Accesso al microfono negato. Abilitalo nelle impostazioni del browser.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Consenti l\'accesso al microfono","CALLING_NO_DEVICES":"Nessuno","CALLING_PERMISSION_NEEDED":"Permesso necessario","CALLING_REJECT":"Rifiuta chiamata","CALLING_REJOIN_PROMPT":"Hai una chiamata attiva con un agente di supporto. Vuoi rientrare?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agente","CALLING_REQUEST":"Avviare la videochiamata?","CALLING_RETRY":"Riprova","CALLING_SAVE":"Salva","CALLING_SELECT_CAMERA":"Seleziona la fotocamera","CALLING_SELECT_MICROPHONE":"Seleziona microfono","CALLING_SELECT_SPEAKER":"Seleziona altoparlante","CALLING_SHOW_CALL_SETTINGS":"Mostra impostazioni chiamata","DENY":"Nega","END_SESSION":"Termina la sessione di Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agente dell\'assistenza desidera visualizzare tutto il tuo schermo.","FULL_DEVICE_REQUEST_TITLE":"Consentire cattura schermo completa?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente dell\'assistenza desidera controllare questa pagina.","REMOTE_CONTROL_REQUEST_TITLE":"Consentire controllo remoto?","SESSION_REQUEST_DESCRIPTION":"Un agente dell\'assistenza vorrebbe utilizzare temporaneamente questa pagina web con te.","SESSION_REQUEST_TITLE":"Consentire cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Questa pagina web non può essere visualizzata con un agente dell\'assistenza","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Un agente dell\'assistenza vorrebbe seguirti su altre pagine web.","UNIVERSAL_PROXY_REQUEST_TITLE":"Consentire continuazione sessione?"}')},16582(e){"use strict";e.exports=JSON.parse('{"ALLOW":"許可する","CALLING_ACCEPT":"承諾する","CALLING_AGENT_DECLINED":"エージェントによって通話が拒否されました","CALLING_AGENT_WAITING":"エージェントを待っています...","CALLING_BACK":"戻る","CALLING_CAMERA_OFF":"カメラはオフです","CALLING_CAMERA_PERMISSION_DENIED":"カメラのアクセスが拒否されました。ブラウザの設定で有効にしてください。","CALLING_CAMERA_PERMISSION_PROMPT":"カメラへのアクセスを許可する","CALLING_CAMERA_STARTING":"カメラが起動しています","CALLING_CANCEL":"キャンセル","CALLING_DISABLE_AUDIO":"音声を無効にする","CALLING_DISABLE_VIDEO":"ビデオを無効にする","CALLING_ENABLE_AUDIO":"音声を有効にする","CALLING_ENABLE_VIDEO":"ビデオを有効にする","CALLING_END":"通話終了","CALLING_IN_PROGRESS":"ビデオ通話に参加中","CALLING_JOIN":"通話に参加する","CALLING_JOIN_PROMPT":"サポート担当者があなたに電話をかけたいと考えています。","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"私","CALLING_MICROPHONE_PERMISSION_DENIED":"マイクへのアクセスが拒否されました。ブラウザの設定で有効にしてください。","CALLING_MICROPHONE_PERMISSION_PROMPT":"マイクへのアクセスを許可する","CALLING_NO_DEVICES":"なし","CALLING_PERMISSION_NEEDED":"許可が必要です","CALLING_REJECT":"通話を拒否する","CALLING_REJOIN_PROMPT":"サポートエージェントと通話中です。再接続しますか?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"エージェント","CALLING_REQUEST":"ビデオ通話に参加しますか?","CALLING_RETRY":"再試行","CALLING_SAVE":"保存","CALLING_SELECT_CAMERA":"カメラを選択してください","CALLING_SELECT_MICROPHONE":"マイクを選択してください","CALLING_SELECT_SPEAKER":"話者を選択してください","CALLING_SHOW_CALL_SETTINGS":"通話設定を表示","DENY":"拒否","END_SESSION":"共同閲覧セッションを終了","FULL_DEVICE_REQUEST_DESCRIPTION":"サポート担当者が画面全体の表示を希望しています。","FULL_DEVICE_REQUEST_TITLE":"フルスクリーンキャプチャを許可しますか?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"サポートエージェントがこのページの管理を希望しています。","REMOTE_CONTROL_REQUEST_TITLE":"リモートコントロールを許可しますか?","SESSION_REQUEST_DESCRIPTION":"サポートエージェントが一時的にこのWebページを共用したいと考えています。","SESSION_REQUEST_TITLE":"コブラウジングを許可しますか?","UNIVERSAL_PROXY_BLOCKED":"このWebページはサポートエージェントと一緒に表示することはできません","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"サポートエージェントが他のWebページでもあなたをフォローしたいと考えています。","UNIVERSAL_PROXY_REQUEST_TITLE":"セッション継続を許可しますか?"}')},61753(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Рұқсат етіңіз","CALLING_ACCEPT":"Қабылдау","CALLING_AGENT_DECLINED":"Қоңырауды агент қабылдамады","CALLING_AGENT_WAITING":"Агентті күтуде...","CALLING_BACK":"Артқа","CALLING_CAMERA_OFF":"Камера өшірілген","CALLING_CAMERA_PERMISSION_DENIED":"Камераға кіруге тыйым салынған. Оны шолғыш параметрлерінде қосыңыз.","CALLING_CAMERA_PERMISSION_PROMPT":"Камераға кіруге рұқсат беру","CALLING_CAMERA_STARTING":"Камера іске қосылуда","CALLING_CANCEL":"Болдырмау","CALLING_DISABLE_AUDIO":"Дыбысты өшіріңіз","CALLING_DISABLE_VIDEO":"Бейнені өшіру","CALLING_ENABLE_AUDIO":"Дыбысты қосу","CALLING_ENABLE_VIDEO":"Бейне қосу","CALLING_END":"Қоңырауды аяқтау","CALLING_IN_PROGRESS":"Видео қоңырауына кіру","CALLING_JOIN":"Қоңырауға қосылу","CALLING_JOIN_PROMPT":"Қолдау қызметінің өкілі сізге қоңырау шалғысы келеді.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Мен","CALLING_MICROPHONE_PERMISSION_DENIED":"Микрофонға қатынау тыйым салынды. Оны шолғыш параметрлеріңізде қосыңыз.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Микрофонға қолжетімділік беріңіз","CALLING_NO_DEVICES":"Жоқ","CALLING_PERMISSION_NEEDED":"Рұқсат қажет","CALLING_REJECT":"Қоңырауды қабылдамау","CALLING_REJOIN_PROMPT":"Сізде қолдау агентімен ағымдағы қоңырау бар. Қайта қосылғыңыз келе ме?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Агент","CALLING_REQUEST":"Бейне қоңырауға қосылу керек пе?","CALLING_RETRY":"Қайталау","CALLING_SAVE":"Сақтау","CALLING_SELECT_CAMERA":"Камераны таңдаңыз","CALLING_SELECT_MICROPHONE":"Микрофонды таңдаңыз","CALLING_SELECT_SPEAKER":"Дыбысты таңдау","CALLING_SHOW_CALL_SETTINGS":"Қоңырау параметрлерін көрсету","DENY":"Бас тарту","END_SESSION":"Бірлескен шолу сеансын аяқтаңыз","FULL_DEVICE_REQUEST_DESCRIPTION":"Қолдау агенті бүкіл экраныңызды көргісі келеді.","FULL_DEVICE_REQUEST_TITLE":"Толық экранды түсіруге рұқсат етесіз бе?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Көмекші агент осы бетті бақылағысы келеді.","REMOTE_CONTROL_REQUEST_TITLE":"Қашықтан басқаруға рұқсат етесіз бе?","SESSION_REQUEST_DESCRIPTION":"Қолдау агенті осы веб-бетті сізбен уақытша пайдаланғысы келеді.","SESSION_REQUEST_TITLE":"Кобраузингке рұқсат етесіз бе?","UNIVERSAL_PROXY_BLOCKED":"Бұл веб-бетті қолдау агентімен бірге көру мүмкін емес","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Қолдау агенті сізді басқа веб-беттерге де ілесе алуға тілек білдіреді.","UNIVERSAL_PROXY_REQUEST_TITLE":"Сеансты жалғастыруға рұқсат етесіз бе?"}')},45613(e){"use strict";e.exports=JSON.parse('{"ALLOW":"허용하다","CALLING_ACCEPT":"수락","CALLING_AGENT_DECLINED":"상담원이 전화를 거부했습니다","CALLING_AGENT_WAITING":"상담원 대기 중...","CALLING_BACK":"뒤로","CALLING_CAMERA_OFF":"카메라가 꺼져 있습니다","CALLING_CAMERA_PERMISSION_DENIED":"카메라 접근이 거부되었습니다. 브라우저 설정에서 활성화하세요.","CALLING_CAMERA_PERMISSION_PROMPT":"카메라 접근 허용","CALLING_CAMERA_STARTING":"카메라가 시작되고 있습니다","CALLING_CANCEL":"취소","CALLING_DISABLE_AUDIO":"오디오 비활성화","CALLING_DISABLE_VIDEO":"비디오 비활성화","CALLING_ENABLE_AUDIO":"오디오 활성화","CALLING_ENABLE_VIDEO":"비디오 활성화","CALLING_END":"통화 종료","CALLING_IN_PROGRESS":"영상 통화 참여 중","CALLING_JOIN":"통화 참여하기","CALLING_JOIN_PROMPT":"지원 상담원이 귀하에게 전화를 원합니다.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"나","CALLING_MICROPHONE_PERMISSION_DENIED":"마이크 접근이 거부되었습니다. 브라우저 설정에서 활성화하세요.","CALLING_MICROPHONE_PERMISSION_PROMPT":"마이크 접근 허용","CALLING_NO_DEVICES":"없음","CALLING_PERMISSION_NEEDED":"권한 필요","CALLING_REJECT":"통화 거절","CALLING_REJOIN_PROMPT":"지원 상담원과 통화 중입니다. 다시 연결하시겠습니까?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"상담원","CALLING_REQUEST":"영상 통화에 참여하시겠습니까?","CALLING_RETRY":"재시도","CALLING_SAVE":"저장","CALLING_SELECT_CAMERA":"카메라 선택","CALLING_SELECT_MICROPHONE":"마이크 선택","CALLING_SELECT_SPEAKER":"화자 선택","CALLING_SHOW_CALL_SETTINGS":"통화 설정 표시","DENY":"부인하다","END_SESSION":"Cobrowse 세션 종료","FULL_DEVICE_REQUEST_DESCRIPTION":"지원 담당자가 귀하의 전체 화면을 보고 싶어합니다.","FULL_DEVICE_REQUEST_TITLE":"전체 화면 캡처를 허용하시겠습니까?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"지원 담당자가 이 페이지를 관리하고 싶어합니다.","REMOTE_CONTROL_REQUEST_TITLE":"원격 제어를 허용하시겠습니까?","SESSION_REQUEST_DESCRIPTION":"지원 담당자가 귀하와 함께 이 웹 페이지를 일시적으로 사용하려고 합니다.","SESSION_REQUEST_TITLE":"코브라우징을 허용하시겠습니까?","UNIVERSAL_PROXY_BLOCKED":"이 웹 페이지는 지원 담당자와 함께 볼 수 없습니다","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"지원 담당자가 다른 웹 페이지로 귀하를 따라가고 싶어합니다.","UNIVERSAL_PROXY_REQUEST_TITLE":"세션 계속을 허용하시겠습니까?"}')},32391(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Leisti","CALLING_ACCEPT":"Priimti","CALLING_AGENT_DECLINED":"Skambutis atmestas agento","CALLING_AGENT_WAITING":"Laukiama agento…","CALLING_BACK":"Atgal","CALLING_CAMERA_OFF":"Kamera išjungta","CALLING_CAMERA_PERMISSION_DENIED":"Prieiga prie kameros uždrausta. Įgalinkite ją savo naršyklės nustatymuose.","CALLING_CAMERA_PERMISSION_PROMPT":"Leisti prieigą prie kameros","CALLING_CAMERA_STARTING":"Kamera pradedama veikti","CALLING_CANCEL":"Atšaukti","CALLING_DISABLE_AUDIO":"Išjungti garsą","CALLING_DISABLE_VIDEO":"Išjungti vaizdo įrašą","CALLING_ENABLE_AUDIO":"Įjungti garsą","CALLING_ENABLE_VIDEO":"Įjungti vaizdo įrašą","CALLING_END":"Baigti skambutį","CALLING_IN_PROGRESS":"Prisijungimas prie vaizdo skambučio","CALLING_JOIN":"Prisijungti prie skambučio","CALLING_JOIN_PROMPT":"Paramaus agentas norėtų jums paskambinti.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Mano","CALLING_MICROPHONE_PERMISSION_DENIED":"Prieiga prie mikrofono atmesta. Įgalinkite ją savo naršyklės nustatymuose.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Leisti prieigą prie mikrofono","CALLING_NO_DEVICES":"Nėra","CALLING_PERMISSION_NEEDED":"Reikalinga leidimas","CALLING_REJECT":"Atmesti skambutį","CALLING_REJOIN_PROMPT":"Jūs turite aktyvų skambutį su palaikymo agentu. Ar norite vėl prisijungti?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agentas","CALLING_REQUEST":"Pradėti vaizdo skambutį?","CALLING_RETRY":"Bandyti dar kartą","CALLING_SAVE":"Išsaugoti","CALLING_SELECT_CAMERA":"Pasirinkite kamerą","CALLING_SELECT_MICROPHONE":"Pasirinkite mikrofoną","CALLING_SELECT_SPEAKER":"Pasirinkite kalbėtoją","CALLING_SHOW_CALL_SETTINGS":"Rodyti skambučio nustatymus","DENY":"Atmesti","END_SESSION":"Nutraukti bendrinimą","FULL_DEVICE_REQUEST_DESCRIPTION":"Pagalbos agentas norėtų peržiūrėti visą jūsų ekraną.","FULL_DEVICE_REQUEST_TITLE":"Leisti fiksuoti visą ekraną?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Palaikymo agentas norėtų valdyti šį puslapį.","REMOTE_CONTROL_REQUEST_TITLE":"Leisti nuotolinę kontrolę?","SESSION_REQUEST_DESCRIPTION":"Pagalbos agentas norėtų laikinai naudotis šiuo tinklapiu kartu su jumis.","SESSION_REQUEST_TITLE":"Leisti bendrą naršymą?","UNIVERSAL_PROXY_BLOCKED":"Šio puslapio negalima peržiūrėti su palaikymo agentu","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Pagalbos agentas norėtų jus sekti į kitas interneto svetaines.","UNIVERSAL_PROXY_REQUEST_TITLE":"Leisti tęsti sesiją?"}')},59396(e){"use strict";e.exports=JSON.parse('{"ALLOW":"परवानगी द्या","CALLING_ACCEPT":"स्वीकार करा","CALLING_AGENT_DECLINED":"एजंटने कॉल नाकारली","CALLING_AGENT_WAITING":"एजंटची वाट पाहत आहे...","CALLING_BACK":"मागे","CALLING_CAMERA_OFF":"कॅमेरा बंद आहे","CALLING_CAMERA_PERMISSION_DENIED":"कॅमेरा प्रवेश नाकारण्यात आला. आपल्या ब्राउझरच्या सेटिंग्जमध्ये याला सक्षम करा.","CALLING_CAMERA_PERMISSION_PROMPT":"कॅमेऱ्याला प्रवेश देणे","CALLING_CAMERA_STARTING":"कॅमेरा सुरू होत आहे","CALLING_CANCEL":"रद्द करा","CALLING_DISABLE_AUDIO":"ऑडिओ अक्षम करा","CALLING_DISABLE_VIDEO":"व्हिडिओ अक्षम करा","CALLING_ENABLE_AUDIO":"ऑडिओ सक्षम करा","CALLING_ENABLE_VIDEO":"व्हिडिओ सक्षम करा","CALLING_END":"कॉल संपवा","CALLING_IN_PROGRESS":"व्हिडिओ कॉल मध्ये प्रवेश करीत आहे","CALLING_JOIN":"कॉलमध्ये सामील व्हा","CALLING_JOIN_PROMPT":"एक समर्थन एजंट आपल्याशी बोलू इच्छितो.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"मला","CALLING_MICROPHONE_PERMISSION_DENIED":"माइक्रोफोन प्रवेश नाकारला गेला आहे. आपल्या ब्राउझर सेटिंग्जमध्ये ते सक्षम करा.","CALLING_MICROPHONE_PERMISSION_PROMPT":"मायक्रोफोनसाठी प्रवेशाची परवानगी द्या","CALLING_NO_DEVICES":"शून्य","CALLING_PERMISSION_NEEDED":"अनुमती आवश्यक आहे","CALLING_REJECT":"कॉल नाकारणे","CALLING_REJOIN_PROMPT":"आपण सध्या समर्थन एजंटसोबत कॉलवर आहात. आपण पुन्हा जोडू इच्छिता?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"एजंट","CALLING_REQUEST":"व्हिडिओ कॉलमध्ये प्रवेश करायचा आहे का?","CALLING_RETRY":"पुन्हा प्रयत्न करा","CALLING_SAVE":"जतन करा","CALLING_SELECT_CAMERA":"कॅमेरा निवडा","CALLING_SELECT_MICROPHONE":"माइक्रोफोन निवडा","CALLING_SELECT_SPEAKER":"वक्ता निवडा","CALLING_SHOW_CALL_SETTINGS":"कॉल सेटिंग्ज दाखवा","DENY":"नकार द्या","END_SESSION":"कोब्राउझ सत्र समाप्त करा","FULL_DEVICE_REQUEST_DESCRIPTION":"सपोर्ट एजंट तुमची संपूर्ण स्क्रीन पाहू इच्छितो.","FULL_DEVICE_REQUEST_TITLE":"पूर्ण स्क्रीन कॅप्चरला परवानगी द्यायची?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"एक सहाय्यक एजंट या पृष्ठावर नियंत्रण ठेवण्यास आवडेल.","REMOTE_CONTROL_REQUEST_TITLE":"रिमोट कंट्रोलला परवानगी द्यायची?","SESSION_REQUEST_DESCRIPTION":"सपोर्ट एजंट हे वेब पेज तुमच्यासोबत तात्पुरते वापरू इच्छितो.","SESSION_REQUEST_TITLE":"कोब्राउझिंगला परवानगी द्यायची?","UNIVERSAL_PROXY_BLOCKED":"हे वेब पेज समर्थन एजंटसोबत पाहिले जाऊ शकत नाही","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"एक समर्थन एजंट तुमचा इतर वेब पृष्ठांवर पाठपुरावा करू इच्छितो.","UNIVERSAL_PROXY_REQUEST_TITLE":"सत्र सातत्याला परवानगी द्यायची?"}')},8439(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Benarkan","CALLING_ACCEPT":"Terima","CALLING_AGENT_DECLINED":"Panggilan ditolak oleh ejen","CALLING_AGENT_WAITING":"Menunggu ejen...","CALLING_BACK":"Kembali","CALLING_CAMERA_OFF":"Kamera dimatikan","CALLING_CAMERA_PERMISSION_DENIED":"Akses kamera dinafi. Aktifkannya dalam tetapan pelayar anda.","CALLING_CAMERA_PERMISSION_PROMPT":"Benarkan akses ke kamera","CALLING_CAMERA_STARTING":"Kamera sedang dimulakan","CALLING_CANCEL":"Batal","CALLING_DISABLE_AUDIO":"Lumpuhkan audio","CALLING_DISABLE_VIDEO":"Lumpuhkan video","CALLING_ENABLE_AUDIO":"Dayakan audio","CALLING_ENABLE_VIDEO":"Dayakan video","CALLING_END":"Tamatkan panggilan","CALLING_IN_PROGRESS":"Memasuki panggilan video","CALLING_JOIN":"Sertai panggilan","CALLING_JOIN_PROMPT":"Ejen sokongan ingin menghubungi anda.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Saya","CALLING_MICROPHONE_PERMISSION_DENIED":"Akses mikrofon ditolak. Aktifkan dalam tetapan pelayar anda.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Benarkan akses ke mikrofon","CALLING_NO_DEVICES":"Tiada","CALLING_PERMISSION_NEEDED":"Kebenaran diperlukan","CALLING_REJECT":"Tolak panggilan","CALLING_REJOIN_PROMPT":"Anda sedang dalam panggilan aktif dengan ejen sokongan. Adakah anda ingin menyertai semula?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Ejen","CALLING_REQUEST":"Masuk panggilan video?","CALLING_RETRY":"Cuba semula","CALLING_SAVE":"Simpan","CALLING_SELECT_CAMERA":"Pilih kamera","CALLING_SELECT_MICROPHONE":"Pilih mikrofon","CALLING_SELECT_SPEAKER":"Pilih pembesar suara","CALLING_SHOW_CALL_SETTINGS":"Tunjukkan tetapan panggilan","DENY":"Tolak","END_SESSION":"Berhenti Berkongsi","FULL_DEVICE_REQUEST_DESCRIPTION":"Ejen sokongan ingin melihat seluruh skrin anda.","FULL_DEVICE_REQUEST_TITLE":"Benarkan rakaman skrin penuh?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Ejen sokongan ingin mengawal halaman ini.","REMOTE_CONTROL_REQUEST_TITLE":"Benarkan kawalan jauh?","SESSION_REQUEST_DESCRIPTION":"Ejen sokongan ingin menggunakan halaman web ini dengan anda buat sementara waktu.","SESSION_REQUEST_TITLE":"Benarkan cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Halaman web ini tidak dapat dilihat bersama ejen sokongan","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Ejen sokongan ingin mengikuti anda ke halaman web lain.","UNIVERSAL_PROXY_REQUEST_TITLE":"Benarkan sambungan sesi?"}')},19121(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Toestaan","CALLING_ACCEPT":"Accepteren","CALLING_AGENT_DECLINED":"Oproep geweigerd door agent","CALLING_AGENT_WAITING":"Wachten op agent...","CALLING_BACK":"Terug","CALLING_CAMERA_OFF":"Camera is uit","CALLING_CAMERA_PERMISSION_DENIED":"Toegang tot camera geweigerd. Schakel deze in de instellingen van uw browser in.","CALLING_CAMERA_PERMISSION_PROMPT":"Toegang tot camera toestaan","CALLING_CAMERA_STARTING":"Camera wordt gestart","CALLING_CANCEL":"Annuleren","CALLING_DISABLE_AUDIO":"Audio uitschakelen","CALLING_DISABLE_VIDEO":"Video uitschakelen","CALLING_ENABLE_AUDIO":"Audio inschakelen","CALLING_ENABLE_VIDEO":"Video inschakelen","CALLING_END":"Oproep beëindigen","CALLING_IN_PROGRESS":"In gesprek met video bellen","CALLING_JOIN":"Deelnemen aan oproep","CALLING_JOIN_PROMPT":"Een supportmedewerker wil u bellen.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Ik","CALLING_MICROPHONE_PERMISSION_DENIED":"Microfoon toegang geweigerd. Schakel dit in uw browserinstellingen in.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Toegang tot microfoon toestaan","CALLING_NO_DEVICES":"Geen","CALLING_PERMISSION_NEEDED":"Toestemming vereist","CALLING_REJECT":"Oproep weigeren","CALLING_REJOIN_PROMPT":"U bent in gesprek met een supportmedewerker. Wilt u opnieuw deelnemen?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Video-oproep starten?","CALLING_RETRY":"Opnieuw proberen","CALLING_SAVE":"Opslaan","CALLING_SELECT_CAMERA":"Selecteer camera","CALLING_SELECT_MICROPHONE":"Selecteer microfoon","CALLING_SELECT_SPEAKER":"Selecteer spreker","CALLING_SHOW_CALL_SETTINGS":"Toon oproepinstellingen","DENY":"Afwijzen","END_SESSION":"Cobrowse-sessie beëindigen","FULL_DEVICE_REQUEST_DESCRIPTION":"Een support agent wilt jouw volledige scherm zien.","FULL_DEVICE_REQUEST_TITLE":"Volledige schermopname toestaan?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Een support agent wilt graag deze pagina bedienen.","REMOTE_CONTROL_REQUEST_TITLE":"Bediening op afstand toestaan?","SESSION_REQUEST_DESCRIPTION":"Een support agent wilt graag tijdelijk met u meekijken op deze webpagina.","SESSION_REQUEST_TITLE":"Cobrowsing toestaan?","UNIVERSAL_PROXY_BLOCKED":"Deze webpagina kan niet worden bekeken met een support agent","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Een support agent wilt u graag volgen naar andere webpagina\'s.","UNIVERSAL_PROXY_REQUEST_TITLE":"Sessievoortzetting toestaan?"}')},85443(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Umożliwić","CALLING_ACCEPT":"Akceptuj","CALLING_AGENT_DECLINED":"Połączenie odrzucone przez agenta","CALLING_AGENT_WAITING":"Oczekiwanie na agenta...","CALLING_BACK":"Wstecz","CALLING_CAMERA_OFF":"Kamera jest wyłączona","CALLING_CAMERA_PERMISSION_DENIED":"Odmowa dostępu do kamery. Włącz ją w ustawieniach przeglądarki.","CALLING_CAMERA_PERMISSION_PROMPT":"Zezwól na dostęp do kamery","CALLING_CAMERA_STARTING":"Kamera się uruchamia","CALLING_CANCEL":"Anuluj","CALLING_DISABLE_AUDIO":"Wyłącz dźwięk","CALLING_DISABLE_VIDEO":"Wyłącz wideo","CALLING_ENABLE_AUDIO":"Włącz dźwięk","CALLING_ENABLE_VIDEO":"Włącz wideo","CALLING_END":"Zakończ rozmowę","CALLING_IN_PROGRESS":"Rozpoczynanie połączenia wideo","CALLING_JOIN":"Dołącz do rozmowy","CALLING_JOIN_PROMPT":"Agent wsparcia chciałby do Ciebie zadzwonić.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Ja","CALLING_MICROPHONE_PERMISSION_DENIED":"Dostęp do mikrofonu został odmówiony. Włącz go w ustawieniach przeglądarki.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Zezwól na dostęp do mikrofonu","CALLING_NO_DEVICES":"Brak","CALLING_PERMISSION_NEEDED":"Wymagana zgoda","CALLING_REJECT":"Odrzuć połączenie","CALLING_REJOIN_PROMPT":"Masz aktywne połączenie z agentem wsparcia. Czy chcesz dołączyć ponownie?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Rozpocząć rozmowę wideo?","CALLING_RETRY":"Ponów próbę","CALLING_SAVE":"Zapisz","CALLING_SELECT_CAMERA":"Wybierz kamerę","CALLING_SELECT_MICROPHONE":"Wybierz mikrofon","CALLING_SELECT_SPEAKER":"Wybierz głośnik","CALLING_SHOW_CALL_SETTINGS":"Pokaż ustawienia połączenia","DENY":"Zaprzeczyć","END_SESSION":"Zakończ sesję Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby zobaczyć cały Twój ekran.","FULL_DEVICE_REQUEST_TITLE":"Czy zezwolić na pełne przechwycenie ekranu?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby kontrolować tę stronę.","REMOTE_CONTROL_REQUEST_TITLE":"Czy zezwolić na zdalne sterowanie?","SESSION_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby tymczasowo korzystać z tej strony internetowej razem z Tobą.","SESSION_REQUEST_TITLE":"Czy zezwolić na cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Ta strona internetowa nie może być oglądana z pracownikiem działu pomocy","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby podążać za Tobą na inne strony internetowe.","UNIVERSAL_PROXY_REQUEST_TITLE":"Czy zezwolić na kontynuację sesji?"}')},26770(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","CALLING_ACCEPT":"Aceitar","CALLING_AGENT_DECLINED":"Chamada rejeitada pelo agente","CALLING_AGENT_WAITING":"Aguardando o agente...","CALLING_BACK":"Voltar","CALLING_CAMERA_OFF":"Câmera está desligada","CALLING_CAMERA_PERMISSION_DENIED":"Acesso à câmera negado. Ative-o nas configurações do seu navegador.","CALLING_CAMERA_PERMISSION_PROMPT":"Permitir acesso à câmera","CALLING_CAMERA_STARTING":"A câmera está iniciando","CALLING_CANCEL":"Cancelar","CALLING_DISABLE_AUDIO":"Desativar áudio","CALLING_DISABLE_VIDEO":"Desativar vídeo","CALLING_ENABLE_AUDIO":"Ativar áudio","CALLING_ENABLE_VIDEO":"Ativar vídeo","CALLING_END":"Encerrar chamada","CALLING_IN_PROGRESS":"Entrando na chamada de vídeo","CALLING_JOIN":"Entrar na chamada","CALLING_JOIN_PROMPT":"Um agente de suporte gostaria de ligar para você.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Eu","CALLING_MICROPHONE_PERMISSION_DENIED":"Acesso ao microfone negado. Ative-o nas configurações do seu navegador.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Permitir acesso ao microfone","CALLING_NO_DEVICES":"Nenhum","CALLING_PERMISSION_NEEDED":"Permissão necessária","CALLING_REJECT":"Rejeitar chamada","CALLING_REJOIN_PROMPT":"Você está em uma ligação ativa com um agente de suporte. Deseja retornar?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agente","CALLING_REQUEST":"Entrar na chamada de vídeo?","CALLING_RETRY":"Tentar novamente","CALLING_SAVE":"Salvar","CALLING_SELECT_CAMERA":"Selecionar câmera","CALLING_SELECT_MICROPHONE":"Selecionar microfone","CALLING_SELECT_SPEAKER":"Selecionar orador","CALLING_SHOW_CALL_SETTINGS":"Mostrar configurações de chamada","DENY":"Negar","END_SESSION":"Terminar Sessão de Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de ver sua tela inteira.","FULL_DEVICE_REQUEST_TITLE":"Permitir captura completa de tela?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de controlar esta página.","REMOTE_CONTROL_REQUEST_TITLE":"Permitir controle remoto?","SESSION_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de usar temporariamente esta página da web com você.","SESSION_REQUEST_TITLE":"Permitir cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Esta página da web não pode ser visualizada com um agente de suporte","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de segui-lo para outras páginas da web.","UNIVERSAL_PROXY_REQUEST_TITLE":"Permitir continuação da sessão?"}')},63851(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","CALLING_ACCEPT":"Aceitar","CALLING_AGENT_DECLINED":"Chamada recusada pelo agente","CALLING_AGENT_WAITING":"À espera do agente...","CALLING_BACK":"Voltar","CALLING_CAMERA_OFF":"Câmara desligada","CALLING_CAMERA_PERMISSION_DENIED":"Acesso à câmara negado. Ative-o nas definições do seu navegador.","CALLING_CAMERA_PERMISSION_PROMPT":"Permitir acesso à câmara","CALLING_CAMERA_STARTING":"Câmara a iniciar-se","CALLING_CANCEL":"Cancelar","CALLING_DISABLE_AUDIO":"Desativar áudio","CALLING_DISABLE_VIDEO":"Desativar vídeo","CALLING_ENABLE_AUDIO":"Ativar áudio","CALLING_ENABLE_VIDEO":"Ativar vídeo","CALLING_END":"Terminar chamada","CALLING_IN_PROGRESS":"Entrando na chamada de vídeo","CALLING_JOIN":"Entrar na chamada","CALLING_JOIN_PROMPT":"Um agente de suporte gostaria de lhe telefonar.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Eu","CALLING_MICROPHONE_PERMISSION_DENIED":"Acesso ao microfone negado. Ative-o nas definições do seu navegador.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Permitir acesso ao microfone","CALLING_NO_DEVICES":"Nenhum","CALLING_PERMISSION_NEEDED":"Permissão necessária","CALLING_REJECT":"Recusar chamada","CALLING_REJOIN_PROMPT":"Tem uma chamada ativa com um agente de suporte. Deseja voltar a participar?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agente","CALLING_REQUEST":"Entrar na chamada de vídeo?","CALLING_RETRY":"Tentar novamente","CALLING_SAVE":"Guardar","CALLING_SELECT_CAMERA":"Selecionar câmara","CALLING_SELECT_MICROPHONE":"Selecionar microfone","CALLING_SELECT_SPEAKER":"Selecionar orador","CALLING_SHOW_CALL_SETTINGS":"Mostrar definições de chamada","DENY":"Negado","END_SESSION":"Terminar Sessão de Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de ver sua tela inteira.","FULL_DEVICE_REQUEST_TITLE":"Permitir captura completa de ecrã?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de controlar esta página.","REMOTE_CONTROL_REQUEST_TITLE":"Permitir controlo remoto?","SESSION_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de usar temporariamente esta página da web com você.","SESSION_REQUEST_TITLE":"Permitir cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Esta página da web não pode ser visualizada com um agente de suporte","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de segui-lo para outras páginas da web.","UNIVERSAL_PROXY_REQUEST_TITLE":"Permitir continuação da sessão?"}')},17304(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permite","CALLING_ACCEPT":"Acceptă","CALLING_AGENT_DECLINED":"Apel respins de agent","CALLING_AGENT_WAITING":"Așteptând agentul...","CALLING_BACK":"Înapoi","CALLING_CAMERA_OFF":"Camera este oprită","CALLING_CAMERA_PERMISSION_DENIED":"Accesul la cameră a fost refuzat. Activați-l în setările browserului dvs.","CALLING_CAMERA_PERMISSION_PROMPT":"Permiteți accesul la cameră","CALLING_CAMERA_STARTING":"Camera pornește","CALLING_CANCEL":"Anulează","CALLING_DISABLE_AUDIO":"Dezactivează audio-ul","CALLING_DISABLE_VIDEO":"Dezactivează video-ul","CALLING_ENABLE_AUDIO":"Activează audio","CALLING_ENABLE_VIDEO":"Activează video-ul","CALLING_END":"Încheiere apel","CALLING_IN_PROGRESS":"Se inițiază apel video","CALLING_JOIN":"Alăturați-vă apelului","CALLING_JOIN_PROMPT":"Un agent de suport ar dori să vă contacteze telefonic.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Eu","CALLING_MICROPHONE_PERMISSION_DENIED":"Accesul la microfon a fost refuzat. Activați-l în setările browserului dumneavoastră.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Permite accesul la microfon","CALLING_NO_DEVICES":"Niciunul","CALLING_PERMISSION_NEEDED":"Permisiune necesară","CALLING_REJECT":"Respinge apelul","CALLING_REJOIN_PROMPT":"Aveți un apel activ cu un agent de suport. Doriți să vă reconectați?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Doriți să intrați în apelul video?","CALLING_RETRY":"Reîncearcă","CALLING_SAVE":"Salvează","CALLING_SELECT_CAMERA":"Selectați camera","CALLING_SELECT_MICROPHONE":"Selectați microfonul","CALLING_SELECT_SPEAKER":"Selectați difuzorul","CALLING_SHOW_CALL_SETTINGS":"Afișați setările apelului","DENY":"Refuză","END_SESSION":"Opriți partajarea","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agent de asistență dorește să vadă întreg ecranul dumneavoastră.","FULL_DEVICE_REQUEST_TITLE":"Permite capturarea ecranului complet?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agent de suport dorește să controleze această pagină.","REMOTE_CONTROL_REQUEST_TITLE":"Permite controlul de la distanță?","SESSION_REQUEST_DESCRIPTION":"Un agent de asistență dorește să utilizeze temporar această pagină web împreună cu dumneavoastră.","SESSION_REQUEST_TITLE":"Permiteți cobrowsing-ul?","UNIVERSAL_PROXY_BLOCKED":"Această pagină web nu poate fi vizualizată împreună cu un agent de asistență","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Un agent de suport dorește să vă urmărească pe alte pagini web.","UNIVERSAL_PROXY_REQUEST_TITLE":"Permiteți continuarea sesiunii?"}')},86146(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Разрешить","CALLING_ACCEPT":"Принять","CALLING_AGENT_DECLINED":"Звонок отклонён агентом","CALLING_AGENT_WAITING":"Ожидание агента...","CALLING_BACK":"Назад","CALLING_CAMERA_OFF":"Камера выключена","CALLING_CAMERA_PERMISSION_DENIED":"Доступ к камере запрещён. Включите его в настройках вашего браузера.","CALLING_CAMERA_PERMISSION_PROMPT":"Разрешить доступ к камере","CALLING_CAMERA_STARTING":"Камера запускается","CALLING_CANCEL":"Отменить","CALLING_DISABLE_AUDIO":"Отключить аудио","CALLING_DISABLE_VIDEO":"Отключить видео","CALLING_ENABLE_AUDIO":"Включить аудио","CALLING_ENABLE_VIDEO":"Включить видео","CALLING_END":"Завершить звонок","CALLING_IN_PROGRESS":"Вход в видеозвонок","CALLING_JOIN":"Присоединиться к звонку","CALLING_JOIN_PROMPT":"Служба поддержки хочет вам позвонить.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Я","CALLING_MICROPHONE_PERMISSION_DENIED":"Доступ к микрофону запрещён. Включите его в настройках браузера.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Разрешить доступ к микрофону","CALLING_NO_DEVICES":"Нет","CALLING_PERMISSION_NEEDED":"Требуется разрешение","CALLING_REJECT":"Отклонить вызов","CALLING_REJOIN_PROMPT":"У вас активный звонок с агентом поддержки. Хотите присоединиться снова?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Агент","CALLING_REQUEST":"Начать видеозвонок?","CALLING_RETRY":"Повторить попытку","CALLING_SAVE":"Сохранить","CALLING_SELECT_CAMERA":"Выберите камеру","CALLING_SELECT_MICROPHONE":"Выберите микрофон","CALLING_SELECT_SPEAKER":"Выбрать динамик","CALLING_SHOW_CALL_SETTINGS":"Показать настройки вызова","DENY":"Отказать","END_SESSION":"Завершить сеанс совместного просмотра","FULL_DEVICE_REQUEST_DESCRIPTION":"Сотрудник службы поддержки хотел бы просмотреть весь экран.","FULL_DEVICE_REQUEST_TITLE":"Разрешить полный захват экрана?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Агент поддержки хотел бы контролировать эту страницу.","REMOTE_CONTROL_REQUEST_TITLE":"Разрешить дистанционное управление?","SESSION_REQUEST_DESCRIPTION":"Агент службы поддержки хотел бы временно использовать эту веб-страницу с вами.","SESSION_REQUEST_TITLE":"Разрешить кобраузинг?","UNIVERSAL_PROXY_BLOCKED":"Эта веб-страница не может быть просмотрена с агентом поддержки","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Агент поддержки хотел бы следовать за вами на другие веб-страницы.","UNIVERSAL_PROXY_REQUEST_TITLE":"Разрешить продолжение сеанса?"}')},35537(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Povoliť","CALLING_ACCEPT":"Prijať","CALLING_AGENT_DECLINED":"Hovor odmietol agent","CALLING_AGENT_WAITING":"Čakanie na agenta...","CALLING_BACK":"Späť","CALLING_CAMERA_OFF":"Kamera je vypnutá","CALLING_CAMERA_PERMISSION_DENIED":"Prístup ku kamere odmietnutý. Povoliť ho v nastaveniach prehliadača.","CALLING_CAMERA_PERMISSION_PROMPT":"Povoliť prístup ku kamere","CALLING_CAMERA_STARTING":"Kamera sa spúšťa","CALLING_CANCEL":"Zrušiť","CALLING_DISABLE_AUDIO":"Vypnúť zvuk","CALLING_DISABLE_VIDEO":"Zakázať video","CALLING_ENABLE_AUDIO":"Povoliť zvuk","CALLING_ENABLE_VIDEO":"Povoliť video","CALLING_END":"Ukončiť hovor","CALLING_IN_PROGRESS":"Pripájanie k videohovoru","CALLING_JOIN":"Pripojiť sa k hovoru","CALLING_JOIN_PROMPT":"Podporný agent vás chce kontaktovať telefonicky.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Ja","CALLING_MICROPHONE_PERMISSION_DENIED":"Prístup k mikrofónu zamietnutý. Povoliť ho v nastaveniach prehliadača.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Povoliť prístup k mikrofónu","CALLING_NO_DEVICES":"Žiadne","CALLING_PERMISSION_NEEDED":"Vyžaduje sa povolenie","CALLING_REJECT":"Zamietnuť hovor","CALLING_REJOIN_PROMPT":"Máte aktívne volanie s podporným agentom. Chcete sa znova pripojiť?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Vstúpiť do videohovoru?","CALLING_RETRY":"Opakovať pokus","CALLING_SAVE":"Uložiť","CALLING_SELECT_CAMERA":"Vyberte kameru","CALLING_SELECT_MICROPHONE":"Vyberte mikrofón","CALLING_SELECT_SPEAKER":"Vybrať reproduktora","CALLING_SHOW_CALL_SETTINGS":"Zobraziť nastavenia hovoru","DENY":"Odmietnuť","END_SESSION":"Zastaviť zdieľanie","FULL_DEVICE_REQUEST_DESCRIPTION":"Podporný agent si želá zobraziť celú vašu obrazovku.","FULL_DEVICE_REQUEST_TITLE":"Povoliť úplné snímanie obrazovky?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Podporný agent by chcel ovládať túto stránku.","REMOTE_CONTROL_REQUEST_TITLE":"Povoliť vzdialenú správu?","SESSION_REQUEST_DESCRIPTION":"Podporný agent by chcel dočasne používať túto webovú stránku spolu s vami.","SESSION_REQUEST_TITLE":"Povoliť spolusurfovanie?","UNIVERSAL_PROXY_BLOCKED":"Túto webovú stránku nie je možné zobraziť so servisným agentom","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Podporný agent by vás rád sledoval na ďalšie webové stránky.","UNIVERSAL_PROXY_REQUEST_TITLE":"Povoliť pokračovanie relácie?"}')},41224(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Dovoli","CALLING_ACCEPT":"Sprejmi","CALLING_AGENT_DECLINED":"Klic je agent zavrnil","CALLING_AGENT_WAITING":"Čakam na agenta...","CALLING_BACK":"Nazaj","CALLING_CAMERA_OFF":"Kamera je izklopljena","CALLING_CAMERA_PERMISSION_DENIED":"Dostop do kamere zavrnjen. Omogočite ga v nastavitvah brskalnika.","CALLING_CAMERA_PERMISSION_PROMPT":"Dovoli dostop do kamere","CALLING_CAMERA_STARTING":"Kamera se začenja","CALLING_CANCEL":"Prekliči","CALLING_DISABLE_AUDIO":"Onemogoči zvok","CALLING_DISABLE_VIDEO":"Onemogoči video","CALLING_ENABLE_AUDIO":"Omogoči zvok","CALLING_ENABLE_VIDEO":"Omogoči video","CALLING_END":"Končaj klic","CALLING_IN_PROGRESS":"Vstop v video klic","CALLING_JOIN":"Pridruži se klicu","CALLING_JOIN_PROMPT":"Podporni agent vas želi poklicati.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Jaz","CALLING_MICROPHONE_PERMISSION_DENIED":"Dostop do mikrofona zavrnjen. Omogočite ga v nastavitvah brskalnika.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Dovoli dostop do mikrofona","CALLING_NO_DEVICES":"Noben","CALLING_PERMISSION_NEEDED":"Potrebna dovoljenja","CALLING_REJECT":"Zavrni klic","CALLING_REJOIN_PROMPT":"Imate aktivni klic s podporo. Želite ponovno pristopiti?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Želite vstopiti v video klic?","CALLING_RETRY":"Poskusi znova","CALLING_SAVE":"Shrani","CALLING_SELECT_CAMERA":"Izberite kamero","CALLING_SELECT_MICROPHONE":"Izberite mikrofon","CALLING_SELECT_SPEAKER":"Izberite zvočnika","CALLING_SHOW_CALL_SETTINGS":"Prikaži nastavitve klica","DENY":"Zanikati","END_SESSION":"Končaj sejo Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Agent za podporo si želi ogledati vaš celoten zaslon.","FULL_DEVICE_REQUEST_TITLE":"Dovoliti zajemanje celotnega zaslona?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Podporni agent želi nadzorovati to stran.","REMOTE_CONTROL_REQUEST_TITLE":"Dovoliti daljinsko upravljanje?","SESSION_REQUEST_DESCRIPTION":"Agent za podporo želi začasno uporabljati to spletno stran z vami.","SESSION_REQUEST_TITLE":"Dovoliti cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Ta spletna stran se ne more ogledovati z agentom za podporo","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Agent za podporo vas želi slediti na druge spletne strani.","UNIVERSAL_PROXY_REQUEST_TITLE":"Dovoliti nadaljevanje seje?"}')},88978(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Tillåt","CALLING_ACCEPT":"Acceptera","CALLING_AGENT_DECLINED":"Samtal avvisades av agenten","CALLING_AGENT_WAITING":"Väntar på agent...","CALLING_BACK":"Tillbaka","CALLING_CAMERA_OFF":"Kameran är avstängd","CALLING_CAMERA_PERMISSION_DENIED":"Kameratillgång nekad. Aktivera den i dina webbläsarinställningar.","CALLING_CAMERA_PERMISSION_PROMPT":"Tillåt åtkomst till kamera","CALLING_CAMERA_STARTING":"Kameran startar","CALLING_CANCEL":"Avbryt","CALLING_DISABLE_AUDIO":"Inaktivera ljud","CALLING_DISABLE_VIDEO":"Inaktivera video","CALLING_ENABLE_AUDIO":"Aktivera ljud","CALLING_ENABLE_VIDEO":"Aktivera video","CALLING_END":"Avsluta samtal","CALLING_IN_PROGRESS":"Ansluter till videosamtal","CALLING_JOIN":"Gå med i samtal","CALLING_JOIN_PROMPT":"En supportagent vill ringa dig.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Jag","CALLING_MICROPHONE_PERMISSION_DENIED":"Mikrofontillgång nekad. Aktivera den i din webbläsarinställningar.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Tillåt åtkomst till mikrofonen","CALLING_NO_DEVICES":"Ingen","CALLING_PERMISSION_NEEDED":"Behörighet krävs","CALLING_REJECT":"Avvisa samtal","CALLING_REJOIN_PROMPT":"Du har ett aktivt samtal med en supportagent. Vill du ansluta igen?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Starta videosamtal?","CALLING_RETRY":"Försök igen","CALLING_SAVE":"Spara","CALLING_SELECT_CAMERA":"Välj kamera","CALLING_SELECT_MICROPHONE":"Välj mikrofon","CALLING_SELECT_SPEAKER":"Välj talare","CALLING_SHOW_CALL_SETTINGS":"Visa samtalsinställningar","DENY":"Neka","END_SESSION":"Sluta dela","FULL_DEVICE_REQUEST_DESCRIPTION":"En supportagent vill se hela din skärm.","FULL_DEVICE_REQUEST_TITLE":"Tillåt fullskärmsinspelning?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"En supportagent vill kontrollera denna sida.","REMOTE_CONTROL_REQUEST_TITLE":"Tillåt fjärrstyrning?","SESSION_REQUEST_DESCRIPTION":"En supportagent vill tillfälligt använda denna webbsida tillsammans med dig.","SESSION_REQUEST_TITLE":"Tillåt samvisning?","UNIVERSAL_PROXY_BLOCKED":"Den här webbsidan kan inte visas tillsammans med en supportagent","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"En supportagent vill följa dig till andra webbsidor.","UNIVERSAL_PROXY_REQUEST_TITLE":"Tillåt sessionens fortsättning?"}')},29250(e){"use strict";e.exports=JSON.parse('{"ALLOW":"อนุญาต","CALLING_ACCEPT":"ยอมรับ","CALLING_AGENT_DECLINED":"การโทรถูกปฏิเสธโดยเจ้าหน้าที่","CALLING_AGENT_WAITING":"กำลังรอตัวแทน...","CALLING_BACK":"ย้อนกลับ","CALLING_CAMERA_OFF":"กล้องปิดอยู่","CALLING_CAMERA_PERMISSION_DENIED":"การเข้าถึงกล้องถูกปฏิเสธ โปรดเปิดใช้งานในการตั้งค่าเบราว์เซอร์ของคุณ","CALLING_CAMERA_PERMISSION_PROMPT":"อนุญาตให้เข้าถึงกล้อง","CALLING_CAMERA_STARTING":"กล้องกำลังเริ่มทำงาน","CALLING_CANCEL":"ยกเลิก","CALLING_DISABLE_AUDIO":"ปิดเสียง","CALLING_DISABLE_VIDEO":"ปิดวิดีโอ","CALLING_ENABLE_AUDIO":"เปิดใช้งานเสียง","CALLING_ENABLE_VIDEO":"เปิดใช้งานวิดีโอ","CALLING_END":"ยุติการโทร","CALLING_IN_PROGRESS":"กำลังเข้าร่วมการโทรวิดีโอ","CALLING_JOIN":"เข้าร่วมการโทร","CALLING_JOIN_PROMPT":"เจ้าหน้าที่สนับสนุนต้องการโทรหาคุณ","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"ฉัน","CALLING_MICROPHONE_PERMISSION_DENIED":"ไม่อนุญาตให้เข้าถึงไมโครโฟน เปิดใช้งานได้ในการตั้งค่าเบราว์เซอร์ของคุณ","CALLING_MICROPHONE_PERMISSION_PROMPT":"อนุญาตให้เข้าถึงไมโครโฟน","CALLING_NO_DEVICES":"ไม่มี","CALLING_PERMISSION_NEEDED":"ต้องการการอนุญาต","CALLING_REJECT":"ปฏิเสธการโทร","CALLING_REJOIN_PROMPT":"คุณกำลังโทรอยู่กับเจ้าหน้าที่สนับสนุน คุณต้องการเข้าร่วมใหม่หรือไม่?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"เจ้าหน้าที่","CALLING_REQUEST":"เข้าร่วมวิดีโอคอล?","CALLING_RETRY":"ลองใหม่อีกครั้ง","CALLING_SAVE":"บันทึก","CALLING_SELECT_CAMERA":"เลือกกล้อง","CALLING_SELECT_MICROPHONE":"เลือกไมโครโฟน","CALLING_SELECT_SPEAKER":"เลือกผู้พูด","CALLING_SHOW_CALL_SETTINGS":"แสดงการตั้งค่าการโทร","DENY":"ปฏิเสธ","END_SESSION":"หยุดแชร์","FULL_DEVICE_REQUEST_DESCRIPTION":"เจ้าหน้าที่ฝ่ายสนับสนุนต้องการดูหน้าจอของคุณทั้งหมด","FULL_DEVICE_REQUEST_TITLE":"อนุญาตให้บันทึกหน้าจอเต็มหรือไม่?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"เจ้าหน้าที่สนับสนุนต้องการควบคุมหน้านี้","REMOTE_CONTROL_REQUEST_TITLE":"อนุญาตการควบคุมระยะไกลหรือไม่?","SESSION_REQUEST_DESCRIPTION":"ตัวแทนฝ่ายสนับสนุนต้องการใช้หน้าเว็บนี้กับคุณเป็นการชั่วคราว","SESSION_REQUEST_TITLE":"อนุญาตให้ใช้โคบราวซิ่งหรือไม่?","UNIVERSAL_PROXY_BLOCKED":"หน้าเว็บนี้ไม่สามารถดูได้พร้อมกับเจ้าหน้าที่สนับสนุน","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"เจ้าหน้าที่ฝ่ายสนับสนุนต้องการติดตามคุณไปยังหน้าเว็บอื่น ๆ","UNIVERSAL_PROXY_REQUEST_TITLE":"อนุญาตให้ดำเนินการเซสชันต่อหรือไม่?"}')},3128(e){"use strict";e.exports=JSON.parse('{"ALLOW":"อนุญาต","CALLING_ACCEPT":"ยอมรับ","CALLING_AGENT_DECLINED":"การโทรถูกปฏิเสธโดยเจ้าหน้าที่","CALLING_AGENT_WAITING":"กำลังรอตัวแทน...","CALLING_BACK":"กลับ","CALLING_CAMERA_OFF":"กล้องปิดอยู่","CALLING_CAMERA_PERMISSION_DENIED":"ไม่อนุญาตให้เข้าถึงกล้อง โปรดเปิดใช้งานในการตั้งค่าเบราว์เซอร์ของคุณ","CALLING_CAMERA_PERMISSION_PROMPT":"อนุญาตให้เข้าถึงกล้อง","CALLING_CAMERA_STARTING":"กำลังเริ่มกล้อง","CALLING_CANCEL":"ยกเลิก","CALLING_DISABLE_AUDIO":"ปิดเสียง","CALLING_DISABLE_VIDEO":"ปิดวิดีโอ","CALLING_ENABLE_AUDIO":"เปิดใช้งานเสียง","CALLING_ENABLE_VIDEO":"เปิดใช้งานวิดีโอ","CALLING_END":"สิ้นสุดการโทร","CALLING_IN_PROGRESS":"กำลังเข้าร่วมการโทรวิดีโอ","CALLING_JOIN":"เข้าร่วมการโทร","CALLING_JOIN_PROMPT":"เจ้าหน้าที่ฝ่ายสนับสนุนต้องการโทรหาคุณ","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"ฉัน","CALLING_MICROPHONE_PERMISSION_DENIED":"ปฏิเสธการเข้าถึงไมโครโฟน เปิดใช้งานได้ที่การตั้งค่าเบราว์เซอร์ของคุณ","CALLING_MICROPHONE_PERMISSION_PROMPT":"อนุญาตให้เข้าถึงไมโครโฟน","CALLING_NO_DEVICES":"ไม่มี","CALLING_PERMISSION_NEEDED":"ต้องการสิทธิ์การอนุญาต","CALLING_REJECT":"ปฏิเสธการโทร","CALLING_REJOIN_PROMPT":"คุณกำลังโทรอยู่กับเจ้าหน้าที่ฝ่ายสนับสนุน ต้องการเข้าร่วมใหม่หรือไม่?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"ตัวแทน","CALLING_REQUEST":"เข้าร่วมสายวิดีโอคอลหรือไม่?","CALLING_RETRY":"ลองใหม่อีกครั้ง","CALLING_SAVE":"บันทึก","CALLING_SELECT_CAMERA":"เลือกกล้อง","CALLING_SELECT_MICROPHONE":"เลือกไมโครโฟน","CALLING_SELECT_SPEAKER":"เลือกผู้พูด","CALLING_SHOW_CALL_SETTINGS":"แสดงการตั้งค่าการโทร","DENY":"ปฏิเสธ","END_SESSION":"หยุดแชร์","FULL_DEVICE_REQUEST_DESCRIPTION":"ตัวแทนฝ่ายสนับสนุนต้องการดูหน้าจอของคุณทั้งหมด","FULL_DEVICE_REQUEST_TITLE":"อนุญาตให้จับภาพหน้าจอแบบเต็มจอหรือไม่?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"ตัวแทนฝ่ายสนับสนุนต้องการควบคุมหน้านี้","REMOTE_CONTROL_REQUEST_TITLE":"อนุญาตให้ควบคุมระยะไกลได้หรือไม่?","SESSION_REQUEST_DESCRIPTION":"ตัวแทนสนับสนุนต้องการใช้หน้าเว็บนี้กับคุณชั่วคราว","SESSION_REQUEST_TITLE":"อนุญาตให้ร่วมท่องเว็บไหม?","UNIVERSAL_PROXY_BLOCKED":"ไม่สามารถดูหน้าเว็บนี้กับเจ้าหน้าที่สนับสนุนได้","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"ตัวแทนฝ่ายสนับสนุนต้องการติดตามคุณไปยังหน้าเว็บอื่น ๆ","UNIVERSAL_PROXY_REQUEST_TITLE":"อนุญาตให้ดำเนินการต่อเซสชันไหม?"}')},31559(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Дозволити","CALLING_ACCEPT":"Прийняти","CALLING_AGENT_DECLINED":"Дзвінок відхилено агентом","CALLING_AGENT_WAITING":"Очікування агента...","CALLING_BACK":"Назад","CALLING_CAMERA_OFF":"Камера вимкнена","CALLING_CAMERA_PERMISSION_DENIED":"Доступ до камери заборонено. Увімкніть його у налаштуваннях браузера.","CALLING_CAMERA_PERMISSION_PROMPT":"Дозволити доступ до камери","CALLING_CAMERA_STARTING":"Камера запускається","CALLING_CANCEL":"Скасувати","CALLING_DISABLE_AUDIO":"Вимкнути звук","CALLING_DISABLE_VIDEO":"Вимкнути відео","CALLING_ENABLE_AUDIO":"Увімкнути звук","CALLING_ENABLE_VIDEO":"Увімкнути відео","CALLING_END":"Завершити дзвінок","CALLING_IN_PROGRESS":"Вхід у відеодзвінок","CALLING_JOIN":"Приєднатися до дзвінка","CALLING_JOIN_PROMPT":"Агент підтримки хоче зателефонувати вам.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Я","CALLING_MICROPHONE_PERMISSION_DENIED":"Доступ до мікрофона заборонено. Увімкніть його в налаштуваннях браузера.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Дозволити доступ до мікрофона","CALLING_NO_DEVICES":"Жоден","CALLING_PERMISSION_NEEDED":"Потрібен дозвіл","CALLING_REJECT":"Відхилити дзвінок","CALLING_REJOIN_PROMPT":"У вас активний дзвінок із агентом підтримки. Бажаєте приєднатися знову?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Агент","CALLING_REQUEST":"Почати відеодзвінок?","CALLING_RETRY":"Повторити спробу","CALLING_SAVE":"Зберегти","CALLING_SELECT_CAMERA":"Вибрати камеру","CALLING_SELECT_MICROPHONE":"Виберіть мікрофон","CALLING_SELECT_SPEAKER":"Вибрати динамік","CALLING_SHOW_CALL_SETTINGS":"Показати налаштування дзвінка","DENY":"Заперечую","END_SESSION":"Завершити сеанс Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Агент підтримки хотів би переглянути весь ваш екран.","FULL_DEVICE_REQUEST_TITLE":"Дозволити повне захоплення екрана?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Агент підтримки хотів би контролювати цю сторінку.","REMOTE_CONTROL_REQUEST_TITLE":"Дозволити дистанційне керування?","SESSION_REQUEST_DESCRIPTION":"Агент служби підтримки хотів би тимчасово використовувати цю веб-сторінку разом з вами.","SESSION_REQUEST_TITLE":"Дозволити кобраузинг?","UNIVERSAL_PROXY_BLOCKED":"Ця веб-сторінка не може бути переглянута з агентом підтримки","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Агент підтримки хотів би слідувати за вами на інші веб-сторінки.","UNIVERSAL_PROXY_REQUEST_TITLE":"Дозволити продовження сеансу?"}')},87762(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Cho phép","CALLING_ACCEPT":"Chấp nhận","CALLING_AGENT_DECLINED":"Cuộc gọi bị đại lý từ chối","CALLING_AGENT_WAITING":"Đang chờ đại lý...","CALLING_BACK":"Quay lại","CALLING_CAMERA_OFF":"Camera đã tắt","CALLING_CAMERA_PERMISSION_DENIED":"Truy cập camera bị từ chối. Hãy bật nó trong cài đặt trình duyệt của bạn.","CALLING_CAMERA_PERMISSION_PROMPT":"Cho phép truy cập camera","CALLING_CAMERA_STARTING":"Máy ảnh đang khởi động","CALLING_CANCEL":"Hủy bỏ","CALLING_DISABLE_AUDIO":"Tắt âm thanh","CALLING_DISABLE_VIDEO":"Vô hiệu hóa video","CALLING_ENABLE_AUDIO":"Bật âm thanh","CALLING_ENABLE_VIDEO":"Bật video","CALLING_END":"Kết thúc cuộc gọi","CALLING_IN_PROGRESS":"Đang tham gia cuộc gọi video","CALLING_JOIN":"Tham gia cuộc gọi","CALLING_JOIN_PROMPT":"Một nhân viên hỗ trợ muốn gọi cho bạn.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Tôi","CALLING_MICROPHONE_PERMISSION_DENIED":"Quyền truy cập micro bị từ chối. Vui lòng bật trong cài đặt trình duyệt của bạn.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Cho phép truy cập micro","CALLING_NO_DEVICES":"Không có gì","CALLING_PERMISSION_NEEDED":"Cần quyền truy cập","CALLING_REJECT":"Từ chối cuộc gọi","CALLING_REJOIN_PROMPT":"Bạn đang có một cuộc gọi đang hoạt động với nhân viên hỗ trợ. Bạn có muốn tham gia lại không?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Đại lý","CALLING_REQUEST":"Tham gia gọi video?","CALLING_RETRY":"Thử lại","CALLING_SAVE":"Lưu","CALLING_SELECT_CAMERA":"Chọn camera","CALLING_SELECT_MICROPHONE":"Chọn micro","CALLING_SELECT_SPEAKER":"Chọn người nói","CALLING_SHOW_CALL_SETTINGS":"Hiển thị cài đặt cuộc gọi","DENY":"Từ chối","END_SESSION":"Kết thúc phiên Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Một tổng đài viên hỗ trợ muốn xem toàn bộ màn hình của bạn.","FULL_DEVICE_REQUEST_TITLE":"Cho phép chụp toàn bộ màn hình?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Một tổng đài viên hỗ trợ muốn kiểm soát trang này.","REMOTE_CONTROL_REQUEST_TITLE":"Cho phép điều khiển từ xa?","SESSION_REQUEST_DESCRIPTION":"Một tổng đài viên muốn tạm thời sử dụng trang web này với bạn.","SESSION_REQUEST_TITLE":"Cho phép cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Trang web này không thể được xem cùng với một tổng đài viên hỗ trợ","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Một tổng đài viên hỗ trợ muốn theo dõi bạn đến các trang web khác.","UNIVERSAL_PROXY_REQUEST_TITLE":"Cho phép tiếp tục phiên?"}')},84181(e){"use strict";e.exports=JSON.parse('{"ALLOW":"允許","CALLING_ACCEPT":"接受","CALLING_AGENT_DECLINED":"代理拒接通話","CALLING_AGENT_WAITING":"等待客服中...","CALLING_BACK":"返回","CALLING_CAMERA_OFF":"攝影機已關閉","CALLING_CAMERA_PERMISSION_DENIED":"相機存取被拒。請在瀏覽器設定中啟用。","CALLING_CAMERA_PERMISSION_PROMPT":"允許存取相機","CALLING_CAMERA_STARTING":"攝影機正在啟動","CALLING_CANCEL":"取消","CALLING_DISABLE_AUDIO":"停用音訊","CALLING_DISABLE_VIDEO":"停用影片","CALLING_ENABLE_AUDIO":"啟用音訊","CALLING_ENABLE_VIDEO":"啟用影片","CALLING_END":"結束通話","CALLING_IN_PROGRESS":"進入視訊通話","CALLING_JOIN":"加入通話","CALLING_JOIN_PROMPT":"支援代理想要致電給您。","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"我","CALLING_MICROPHONE_PERMISSION_DENIED":"麥克風存取被拒。請在您的瀏覽器設定中啟用。","CALLING_MICROPHONE_PERMISSION_PROMPT":"允許存取麥克風","CALLING_NO_DEVICES":"無","CALLING_PERMISSION_NEEDED":"需要權限","CALLING_REJECT":"拒絕通話","CALLING_REJOIN_PROMPT":"您目前正與客服代理通話。您要重新加入嗎?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"代理","CALLING_REQUEST":"進入視訊通話?","CALLING_RETRY":"重試","CALLING_SAVE":"儲存","CALLING_SELECT_CAMERA":"選擇攝影機","CALLING_SELECT_MICROPHONE":"選擇麥克風","CALLING_SELECT_SPEAKER":"選擇講者","CALLING_SHOW_CALL_SETTINGS":"顯示通話設定","DENY":"拒絕","END_SESSION":"結束共同瀏覽會話","FULL_DEVICE_REQUEST_DESCRIPTION":"一位支援代理想檢視您的整個畫面。","FULL_DEVICE_REQUEST_TITLE":"允許全螢幕截圖?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"一位支援代理希望控制此頁面。","REMOTE_CONTROL_REQUEST_TITLE":"允許遠程控制?","SESSION_REQUEST_DESCRIPTION":"支援人員希望暫時與您一起使用此網頁。","SESSION_REQUEST_TITLE":"允許協同瀏覽?","UNIVERSAL_PROXY_BLOCKED":"此網頁無法與客服代理一起檢視","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"客服代理希望跟隨您訪問其他網頁。","UNIVERSAL_PROXY_REQUEST_TITLE":"允許會話繼續?"}')},59225(e){"use strict";e.exports=JSON.parse('{"ALLOW":"允许","CALLING_ACCEPT":"接受","CALLING_AGENT_DECLINED":"客服拒接电话","CALLING_AGENT_WAITING":"等待客服中...","CALLING_BACK":"返回","CALLING_CAMERA_OFF":"摄像头已关闭","CALLING_CAMERA_PERMISSION_DENIED":"摄像头访问被拒绝。请在您的浏览器设置中启用。","CALLING_CAMERA_PERMISSION_PROMPT":"允许访问摄像头","CALLING_CAMERA_STARTING":"摄像头正在启动","CALLING_CANCEL":"取消","CALLING_DISABLE_AUDIO":"禁用音频","CALLING_DISABLE_VIDEO":"禁用视频","CALLING_ENABLE_AUDIO":"启用音频","CALLING_ENABLE_VIDEO":"启用视频","CALLING_END":"结束通话","CALLING_IN_PROGRESS":"进入视频通话","CALLING_JOIN":"加入通话","CALLING_JOIN_PROMPT":"支持代理想要给您打电话。","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"我","CALLING_MICROPHONE_PERMISSION_DENIED":"麦克风访问被拒绝。请在您的浏览器设置中启用。","CALLING_MICROPHONE_PERMISSION_PROMPT":"允许访问麦克风","CALLING_NO_DEVICES":"无","CALLING_PERMISSION_NEEDED":"需要权限","CALLING_REJECT":"拒绝通话","CALLING_REJOIN_PROMPT":"您当前正与一位支持代理通话。您想重新加入吗?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"坐席","CALLING_REQUEST":"开始视频通话?","CALLING_RETRY":"重试","CALLING_SAVE":"保存","CALLING_SELECT_CAMERA":"选择摄像头","CALLING_SELECT_MICROPHONE":"选择麦克风","CALLING_SELECT_SPEAKER":"选择说话者","CALLING_SHOW_CALL_SETTINGS":"显示通话设置","DENY":"拒绝","END_SESSION":"结束共同浏览会话","FULL_DEVICE_REQUEST_DESCRIPTION":"客服代理希望查看您的整个屏幕。","FULL_DEVICE_REQUEST_TITLE":"允许全屏截图?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"客服代理希望控制此页面。","REMOTE_CONTROL_REQUEST_TITLE":"允许远程控制?","SESSION_REQUEST_DESCRIPTION":"客服代理希望与您暂时共享此网页。","SESSION_REQUEST_TITLE":"允许协同浏览?","UNIVERSAL_PROXY_BLOCKED":"此网页无法与客服代理一起查看","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"客服代理希望跟随您访问其他网页。","UNIVERSAL_PROXY_REQUEST_TITLE":"允许会话继续?"}')}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,s),r.loaded=!0,r.exports}s.m=i,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);s.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&r;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>o[e]=()=>r[e]);return o.default=()=>r,s.d(i,o),i},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>({246:"pdf-viewer",660:"elevenlabs"}[e]+".CobrowseIO.chunk.js"),s.miniCssF=e=>{},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="CobrowseIO:",s.l=(e,t,i,o)=>{if(r[e])r[e].push(t);else{var a,c;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+i){a=d;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",n+i),a.src=e),r[e]=[t];var f=(t,n)=>{a.onerror=a.onload=null,clearTimeout(h);var i=r[e];if(delete r[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(e=>e(n)),t)return t(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e={792:0};s.f.j=(t,r)=>{var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((r,i)=>n=e[t]=[r,i]);r.push(n[2]=i);var o=s.p+s.u(t),a=new Error;s.l(o,r=>{if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,n[1](a)}},"chunk-"+t,t)}};var t=(t,r)=>{var n,i,[o,a,c]=r,l=0;if(o.some(t=>0!==e[t])){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);c&&c(s)}for(t&&t(r);l<o.length;l++)i=o[l],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkCobrowseIO=self.webpackChunkCobrowseIO||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),s.nc=void 0;var a={};(()=>{"use strict";var e=a;e.default=void 0,s(16280);var t=s(42074),r=l(s(85620)),n=l(s(77966)),i=l(s(51112)),o=l(s(52404)),c=s(16566);function l(e){return e&&e.__esModule?e:{default:e}}const u=r.default;if(window.__cobrowse_io_loaded)throw new Error("CobrowseIO already loaded. This usually means you included the snippet multiple times.");window.__cobrowse_io_loaded=!0;let d=!1;const f=new i.default({shouldShowSelect:()=>{var e;return(null===(e=r.default.currentSession)||void 0===e?void 0:e.isActive())||d},isRedacted:e=>c.Redaction.isRedacted(e)});f.track(window),n.default.on("iframe_discovered",e=>{(0,t.isxdoc)(e)||f.track(e.contentWindow)}),n.default.on("session",function(e){const t=new o.default(u);t.updateResource(e),d=t.isActive()}),e.default=u})(),CobrowseIO=a.default})();
2
+ (()=>{var e,t,r,n,i={20949(e,t,r){"use strict";r.r(t),r.d(t,{arrow:()=>De,autoPlacement:()=>Te,autoUpdate:()=>Ae,computePosition:()=>Ge,detectOverflow:()=>Oe,flip:()=>Re,getOverflowAncestors:()=>ce,hide:()=>ke,inline:()=>xe,limitShift:()=>je,offset:()=>Ne,platform:()=>Se,shift:()=>Pe,size:()=>Me});const n=["top","right","bottom","left"],i=["start","end"],o=n.reduce((e,t)=>e.concat(t,t+"-"+i[0],t+"-"+i[1]),[]),s=Math.min,a=Math.max,c=Math.round,l=Math.floor,u=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function h(e,t,r){return a(e,s(t,r))}function p(e,t){return"function"==typeof e?e(t):e}function _(e){return e.split("-")[0]}function v(e){return e.split("-")[1]}function E(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}const g=new Set(["top","bottom"]);function y(e){return g.has(_(e))?"y":"x"}function I(e){return E(y(e))}function w(e,t,r){void 0===r&&(r=!1);const n=v(e),i=I(e),o=m(i);let s="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=O(s)),[s,O(s)]}function b(e){return e.replace(/start|end/g,e=>f[e])}const L=["left","right"],S=["right","left"],C=["top","bottom"],A=["bottom","top"];function O(e){return e.replace(/left|right|bottom|top/g,e=>d[e])}function N(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function T(e){const{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function P(e,t,r){let{reference:n,floating:i}=e;const o=y(t),s=I(t),a=m(s),c=_(t),l="y"===o,u=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,f=n[a]/2-i[a]/2;let h;switch(c){case"top":h={x:u,y:n.y-i.height};break;case"bottom":h={x:u,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:d};break;case"left":h={x:n.x-i.width,y:d};break;default:h={x:n.x,y:n.y}}switch(v(t)){case"start":h[s]-=f*(r&&l?-1:1);break;case"end":h[s]+=f*(r&&l?-1:1)}return h}async function R(e,t){var r;void 0===t&&(t={});const{x:n,y:i,platform:o,rects:s,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=p(t,e),_=N(h),v=a[f?"floating"===d?"reference":"floating":d],E=T(await o.getClippingRect({element:null==(r=await(null==o.isElement?void 0:o.isElement(v)))||r?v:v.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:u,strategy:c})),m="floating"===d?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,g=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),y=await(null==o.isElement?void 0:o.isElement(g))&&await(null==o.getScale?void 0:o.getScale(g))||{x:1,y:1},I=T(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:g,strategy:c}):m);return{top:(E.top-I.top+_.top)/y.y,bottom:(I.bottom-E.bottom+_.bottom)/y.y,left:(E.left-I.left+_.left)/y.x,right:(I.right-E.right+_.right)/y.x}}function M(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function k(e){return n.some(t=>e[t]>=0)}function D(e){const t=s(...e.map(e=>e.left)),r=s(...e.map(e=>e.top));return{x:t,y:r,width:a(...e.map(e=>e.right))-t,height:a(...e.map(e=>e.bottom))-r}}const x=new Set(["left","top"]);function j(){return"undefined"!=typeof window}function G(e){return V(e)?(e.nodeName||"").toLowerCase():"#document"}function U(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function W(e){var t;return null==(t=(V(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function V(e){return!!j()&&(e instanceof Node||e instanceof U(e).Node)}function z(e){return!!j()&&(e instanceof Element||e instanceof U(e).Element)}function F(e){return!!j()&&(e instanceof HTMLElement||e instanceof U(e).HTMLElement)}function B(e){return!(!j()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof U(e).ShadowRoot)}const H=new Set(["inline","contents"]);function Y(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=ie(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!H.has(i)}const Q=new Set(["table","td","th"]);function J(e){return Q.has(G(e))}const K=[":popover-open",":modal"];function X(e){return K.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const q=["transform","translate","scale","rotate","perspective"],Z=["transform","translate","scale","rotate","perspective","filter"],$=["paint","layout","strict","content"];function ee(e){const t=te(),r=z(e)?ie(e):e;return q.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||Z.some(e=>(r.willChange||"").includes(e))||$.some(e=>(r.contain||"").includes(e))}function te(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const re=new Set(["html","body","#document"]);function ne(e){return re.has(G(e))}function ie(e){return U(e).getComputedStyle(e)}function oe(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function se(e){if("html"===G(e))return e;const t=e.assignedSlot||e.parentNode||B(e)&&e.host||W(e);return B(t)?t.host:t}function ae(e){const t=se(e);return ne(t)?e.ownerDocument?e.ownerDocument.body:e.body:F(t)&&Y(t)?t:ae(t)}function ce(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=ae(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),s=U(i);if(o){const e=le(s);return t.concat(s,s.visualViewport||[],Y(i)?i:[],e&&r?ce(e):[])}return t.concat(i,ce(i,[],r))}function le(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ue(e){const t=ie(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=F(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=c(r)!==o||c(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function de(e){return z(e)?e:e.contextElement}function fe(e){const t=de(e);if(!F(t))return u(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:o}=ue(t);let s=(o?c(r.width):r.width)/n,a=(o?c(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const he=u(0);function pe(e){const t=U(e);return te()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:he}function _e(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),o=de(e);let s=u(1);t&&(n?z(n)&&(s=fe(n)):s=fe(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==U(e))&&t}(o,r,n)?pe(o):u(0);let c=(i.left+a.x)/s.x,l=(i.top+a.y)/s.y,d=i.width/s.x,f=i.height/s.y;if(o){const e=U(o),t=n&&z(n)?U(n):n;let r=e,i=le(r);for(;i&&n&&t!==r;){const e=fe(i),t=i.getBoundingClientRect(),n=ie(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,l*=e.y,d*=e.x,f*=e.y,c+=o,l+=s,r=U(i),i=le(r)}}return T({width:d,height:f,x:c,y:l})}function ve(e,t){const r=oe(e).scrollLeft;return t?t.left+r:_e(W(e)).left+r}function Ee(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ve(e,r),y:r.top+t.scrollTop}}const me=new Set(["absolute","fixed"]);function ge(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=U(e),n=W(e),i=r.visualViewport;let o=n.clientWidth,s=n.clientHeight,a=0,c=0;if(i){o=i.width,s=i.height;const e=te();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,c=i.offsetTop)}const l=ve(n);if(l<=0){const e=n.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,s=Math.abs(n.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else l<=25&&(o+=l);return{width:o,height:s,x:a,y:c}}(e,r);else if("document"===t)n=function(e){const t=W(e),r=oe(e),n=e.ownerDocument.body,i=a(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=a(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+ve(e);const c=-r.scrollTop;return"rtl"===ie(n).direction&&(s+=a(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:c}}(W(e));else if(z(t))n=function(e,t){const r=_e(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=F(e)?fe(e):u(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:n*o.y}}(t,r);else{const r=pe(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return T(n)}function ye(e,t){const r=se(e);return!(r===t||!z(r)||ne(r))&&("fixed"===ie(r).position||ye(r,t))}function Ie(e,t,r){const n=F(t),i=W(t),o="fixed"===r,s=_e(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const c=u(0);function l(){c.x=ve(i)}if(n||!n&&!o)if(("body"!==G(t)||Y(i))&&(a=oe(t)),n){const e=_e(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();o&&!n&&i&&l();const d=!i||n||o?u(0):Ee(i,a);return{x:s.left+a.scrollLeft-c.x-d.x,y:s.top+a.scrollTop-c.y-d.y,width:s.width,height:s.height}}function we(e){return"static"===ie(e).position}function be(e,t){if(!F(e)||"fixed"===ie(e).position)return null;if(t)return t(e);let r=e.offsetParent;return W(e)===r&&(r=r.ownerDocument.body),r}function Le(e,t){const r=U(e);if(X(e))return r;if(!F(e)){let t=se(e);for(;t&&!ne(t);){if(z(t)&&!we(t))return t;t=se(t)}return r}let n=be(e,t);for(;n&&J(n)&&we(n);)n=be(n,t);return n&&ne(n)&&we(n)&&!ee(n)?r:n||function(e){let t=se(e);for(;F(t)&&!ne(t);){if(ee(t))return t;if(X(t))return null;t=se(t)}return null}(e)||r}const Se={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const o="fixed"===i,s=W(n),a=!!t&&X(t.floating);if(n===s||a&&o)return r;let c={scrollLeft:0,scrollTop:0},l=u(1);const d=u(0),f=F(n);if((f||!f&&!o)&&(("body"!==G(n)||Y(s))&&(c=oe(n)),F(n))){const e=_e(n);l=fe(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}const h=!s||f||o?u(0):Ee(s,c);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-c.scrollLeft*l.x+d.x+h.x,y:r.y*l.y-c.scrollTop*l.y+d.y+h.y}},getDocumentElement:W,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const o=[..."clippingAncestors"===r?X(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=ce(e,[],!1).filter(e=>z(e)&&"body"!==G(e)),i=null;const o="fixed"===ie(e).position;let s=o?se(e):e;for(;z(s)&&!ne(s);){const t=ie(s),r=ee(s);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&i&&me.has(i.position)||Y(s)&&!r&&ye(e,s))?n=n.filter(e=>e!==s):i=t,s=se(s)}return t.set(e,n),n}(t,this._c):[].concat(r),n],c=o[0],l=o.reduce((e,r)=>{const n=ge(t,r,i);return e.top=a(n.top,e.top),e.right=s(n.right,e.right),e.bottom=s(n.bottom,e.bottom),e.left=a(n.left,e.left),e},ge(t,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Le,getElementRects:async function(e){const t=this.getOffsetParent||Le,r=this.getDimensions,n=await r(e.floating);return{reference:Ie(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=ue(e);return{width:t,height:r}},getScale:fe,isElement:z,isRTL:function(e){return"rtl"===ie(e).direction}};function Ce(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ae(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=n,f=de(e),h=i||o?[...f?ce(f):[],...ce(t)]:[];h.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),o&&e.addEventListener("resize",r)});const p=f&&u?function(e,t){let r,n=null;const i=W(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function c(u,d){void 0===u&&(u=!1),void 0===d&&(d=1),o();const f=e.getBoundingClientRect(),{left:h,top:p,width:_,height:v}=f;if(u||t(),!_||!v)return;const E={rootMargin:-l(p)+"px "+-l(i.clientWidth-(h+_))+"px "+-l(i.clientHeight-(p+v))+"px "+-l(h)+"px",threshold:a(0,s(1,d))||1};let m=!0;function g(t){const n=t[0].intersectionRatio;if(n!==d){if(!m)return c();n?c(!1,n):r=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==n||Ce(f,e.getBoundingClientRect())||c(),m=!1}try{n=new IntersectionObserver(g,{...E,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(g,E)}n.observe(e)}(!0),o}(f,r):null;let _,v=-1,E=null;c&&(E=new ResizeObserver(e=>{let[n]=e;n&&n.target===f&&E&&(E.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=E)||e.observe(t)})),r()}),f&&!d&&E.observe(f),E.observe(t));let m=d?_e(e):null;return d&&function t(){const n=_e(e);m&&!Ce(m,n)&&r(),m=n,_=requestAnimationFrame(t)}(),r(),()=>{var e;h.forEach(e=>{i&&e.removeEventListener("scroll",r),o&&e.removeEventListener("resize",r)}),null==p||p(),null==(e=E)||e.disconnect(),E=null,d&&cancelAnimationFrame(_)}}const Oe=R,Ne=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:i,y:o,placement:s,middlewareData:a}=t,c=await async function(e,t){const{placement:r,platform:n,elements:i}=e,o=await(null==n.isRTL?void 0:n.isRTL(i.floating)),s=_(r),a=v(r),c="y"===y(r),l=x.has(s)?-1:1,u=o&&c?-1:1,d=p(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:E}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof E&&(h="end"===a?-1*E:E),c?{x:h*u,y:f*l}:{x:f*l,y:h*u}}(t,e);return s===(null==(r=a.offset)?void 0:r.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:s}}}}},Te=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;const{rects:s,middlewareData:a,placement:c,platform:l,elements:u}=t,{crossAxis:d=!1,alignment:f,allowedPlacements:h=o,autoAlignment:E=!0,...m}=p(e,t),g=void 0!==f||h===o?function(e,t,r){return(e?[...r.filter(t=>v(t)===e),...r.filter(t=>v(t)!==e)]:r.filter(e=>_(e)===e)).filter(r=>!e||v(r)===e||!!t&&b(r)!==r)}(f||null,E,h):h,y=await R(t,m),I=(null==(r=a.autoPlacement)?void 0:r.index)||0,L=g[I];if(null==L)return{};const S=w(L,s,await(null==l.isRTL?void 0:l.isRTL(u.floating)));if(c!==L)return{reset:{placement:g[0]}};const C=[y[_(L)],y[S[0]],y[S[1]]],A=[...(null==(n=a.autoPlacement)?void 0:n.overflows)||[],{placement:L,overflows:C}],O=g[I+1];if(O)return{data:{index:I+1,overflows:A},reset:{placement:O}};const N=A.map(e=>{const t=v(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),T=(null==(i=N.filter(e=>e[2].slice(0,v(e[0])?2:3).every(e=>e<=0))[0])?void 0:i[0])||N[0][0];return T!==c?{data:{index:I+1,overflows:A},reset:{placement:T}}:{}}}},Pe=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=p(e,t),l={x:r,y:n},u=await R(t,c),d=y(_(i)),f=E(d);let v=l[f],m=l[d];if(o){const e="y"===f?"bottom":"right";v=h(v+u["y"===f?"top":"left"],v,v-u[e])}if(s){const e="y"===d?"bottom":"right";m=h(m+u["y"===d?"top":"left"],m,m-u[e])}const g=a.fn({...t,[f]:v,[d]:m});return{...g,data:{x:g.x-r,y:g.y-n,enabled:{[f]:o,[d]:s}}}}}},Re=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:c,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:m=!0,...g}=p(e,t);if(null!=(r=o.arrow)&&r.alignmentOffset)return{};const I=_(i),N=y(a),T=_(a)===a,P=await(null==c.isRTL?void 0:c.isRTL(l.floating)),M=f||(T||!m?[O(a)]:function(e){const t=O(e);return[b(e),t,b(t)]}(a)),k="none"!==E;!f&&k&&M.push(...function(e,t,r,n){const i=v(e);let o=function(e,t,r){switch(e){case"top":case"bottom":return r?t?S:L:t?L:S;case"left":case"right":return t?C:A;default:return[]}}(_(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(b)))),o}(a,m,E,P));const D=[a,...M],x=await R(t,g),j=[];let G=(null==(n=o.flip)?void 0:n.overflows)||[];if(u&&j.push(x[I]),d){const e=w(i,s,P);j.push(x[e[0]],x[e[1]])}if(G=[...G,{placement:i,overflows:j}],!j.every(e=>e<=0)){var U,W;const e=((null==(U=o.flip)?void 0:U.index)||0)+1,t=D[e];if(t&&("alignment"!==d||N===y(t)||G.every(e=>y(e.placement)!==N||e.overflows[0]>0)))return{data:{index:e,overflows:G},reset:{placement:t}};let r=null==(W=G.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:W.placement;if(!r)switch(h){case"bestFit":{var V;const e=null==(V=G.filter(e=>{if(k){const t=y(e.placement);return t===N||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:V[0];e&&(r=e);break}case"initialPlacement":r=a}if(i!==r)return{reset:{placement:r}}}return{}}}},Me=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:i,rects:o,platform:c,elements:l}=t,{apply:u=()=>{},...d}=p(e,t),f=await R(t,d),h=_(i),E=v(i),m="y"===y(i),{width:g,height:I}=o.floating;let w,b;"top"===h||"bottom"===h?(w=h,b=E===(await(null==c.isRTL?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(b=h,w="end"===E?"top":"bottom");const L=I-f.top-f.bottom,S=g-f.left-f.right,C=s(I-f[w],L),A=s(g-f[b],S),O=!t.middlewareData.shift;let N=C,T=A;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(T=S),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(N=L),O&&!E){const e=a(f.left,0),t=a(f.right,0),r=a(f.top,0),n=a(f.bottom,0);m?T=g-2*(0!==e||0!==t?e+t:a(f.left,f.right)):N=I-2*(0!==r||0!==n?r+n:a(f.top,f.bottom))}await u({...t,availableWidth:T,availableHeight:N});const P=await c.getDimensions(l.floating);return g!==P.width||I!==P.height?{reset:{rects:!0}}:{}}}},ke=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...i}=p(e,t);switch(n){case"referenceHidden":{const e=M(await R(t,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:k(e)}}}case"escaped":{const e=M(await R(t,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:k(e)}}}default:return{}}}}},De=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:i,rects:o,platform:a,elements:c,middlewareData:l}=t,{element:u,padding:d=0}=p(e,t)||{};if(null==u)return{};const f=N(d),_={x:r,y:n},E=I(i),g=m(E),y=await a.getDimensions(u),w="y"===E,b=w?"top":"left",L=w?"bottom":"right",S=w?"clientHeight":"clientWidth",C=o.reference[g]+o.reference[E]-_[E]-o.floating[g],A=_[E]-o.reference[E],O=await(null==a.getOffsetParent?void 0:a.getOffsetParent(u));let T=O?O[S]:0;T&&await(null==a.isElement?void 0:a.isElement(O))||(T=c.floating[S]||o.floating[g]);const P=C/2-A/2,R=T/2-y[g]/2-1,M=s(f[b],R),k=s(f[L],R),D=M,x=T-y[g]-k,j=T/2-y[g]/2+P,G=h(D,j,x),U=!l.arrow&&null!=v(i)&&j!==G&&o.reference[g]/2-(j<D?M:k)-y[g]/2<0,W=U?j<D?j-D:j-x:0;return{[E]:_[E]+W,data:{[E]:G,centerOffset:j-G-W,...U&&{alignmentOffset:W}},reset:U}}}),xe=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:i,platform:o,strategy:c}=t,{padding:l=2,x:u,y:d}=p(e,t),f=Array.from(await(null==o.getClientRects?void 0:o.getClientRects(n.reference))||[]),h=function(e){const t=e.slice().sort((e,t)=>e.y-t.y),r=[];let n=null;for(let e=0;e<t.length;e++){const i=t[e];!n||i.y-n.y>n.height/2?r.push([i]):r[r.length-1].push(i),n=i}return r.map(e=>T(D(e)))}(f),v=T(D(f)),E=N(l),m=await o.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=u&&null!=d)return h.find(e=>u>e.left-E.left&&u<e.right+E.right&&d>e.top-E.top&&d<e.bottom+E.bottom)||v;if(h.length>=2){if("y"===y(r)){const e=h[0],t=h[h.length-1],n="top"===_(r),i=e.top,o=t.bottom,s=n?e.left:t.left,a=n?e.right:t.right;return{top:i,bottom:o,left:s,right:a,width:a-s,height:o-i,x:s,y:i}}const e="left"===_(r),t=a(...h.map(e=>e.right)),n=s(...h.map(e=>e.left)),i=h.filter(r=>e?r.left===n:r.right===t),o=i[0].top,c=i[i.length-1].bottom;return{top:o,bottom:c,left:n,right:t,width:t-n,height:c-o,x:n,y:o}}return v}},floating:n.floating,strategy:c});return i.reference.x!==m.reference.x||i.reference.y!==m.reference.y||i.reference.width!==m.reference.width||i.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}},je=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=p(e,t),u={x:r,y:n},d=y(i),f=E(d);let h=u[f],v=u[d];const m=p(a,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+g.mainAxis,r=o.reference[f]+o.reference[e]-g.mainAxis;h<t?h=t:h>r&&(h=r)}if(l){var I,w;const e="y"===f?"width":"height",t=x.has(_(i)),r=o.reference[d]-o.floating[e]+(t&&(null==(I=s.offset)?void 0:I[d])||0)+(t?0:g.crossAxis),n=o.reference[d]+o.reference[e]+(t?0:(null==(w=s.offset)?void 0:w[d])||0)-(t?g.crossAxis:0);v<r?v=r:v>n&&(v=n)}return{[f]:h,[d]:v}}}},Ge=(e,t,r)=>{const n=new Map,i={platform:Se,...r},o={...i.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,a=o.filter(Boolean),c=await(null==s.isRTL?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=P(l,n,c),f=n,h={},p=0;for(let r=0;r<a.length;r++){const{name:o,fn:_}=a[r],{x:v,y:E,data:m,reset:g}=await _({x:u,y:d,initialPlacement:n,placement:f,strategy:i,middlewareData:h,rects:l,platform:s,elements:{reference:e,floating:t}});u=null!=v?v:u,d=null!=E?E:d,h={...h,[o]:{...h[o],...m}},g&&p<=50&&(p++,"object"==typeof g&&(g.placement&&(f=g.placement),g.rects&&(l=!0===g.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):g.rects),({x:u,y:d}=P(l,f,c))),r=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})}},60565(e,t,r){"use strict";function n(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.EbmlElementId=void 0,t.getEbmlElementIdLength=o,t.getEbmlElementLevel=function(e){switch(e){case i.Ebml:case i.Segment:return 0;case i.Cluster:case i.Cues:case i.DocType:case i.DocTypeReadVersion:case i.DocTypeVersion:case i.EbmlMaxIdLength:case i.EbmlMaxSizeLength:case i.EbmlReadVersion:case i.EbmlVersion:case i.Info:case i.SeekHead:case i.Tracks:return 1;case i.CuePoint:case i.DateUTC:case i.Duration:case i.MuxingApp:case i.Position:case i.SegmentUID:case i.Seek:case i.SimpleBlock:case i.Timestamp:case i.TimestampScale:case i.Title:case i.TrackEntry:case i.WritingApp:return 2;case i.Audio:case i.CodecDecodeAll:case i.CodecID:case i.CodecName:case i.CodecPrivate:case i.CueTime:case i.CueTrackPositions:case i.DefaultDuration:case i.FlagDefault:case i.FlagEnabled:case i.FlagForced:case i.FlagLacing:case i.MaxBlockAdditionID:case i.MinCache:case i.SeekID:case i.SeekPosition:case i.SeekPreRoll:case i.TrackNumber:case i.TrackTimestampScale:case i.TrackType:case i.TrackUID:case i.Video:return 3;case i.Channels:case i.CueBlockNumber:case i.CueClusterPosition:case i.CueTrack:case i.FlagInterlaced:case i.PixelHeight:case i.PixelWidth:case i.SamplingFrequency:case i.Colour:return 4;case i.CueRefTime:return 5;case i.Void:return-1;default:throw Error("cannot determine level of unknown ebml element with id ".concat(e))}},t.getEbmlElementName=function(e){switch(e){case i.Ebml:return"EBML";case i.EbmlVersion:return"EBMLVersion";case i.EbmlReadVersion:return"EBMLReadVersion";case i.EbmlMaxIdLength:return"EBMLMaxIDLength";case i.EbmlMaxSizeLength:return"EBMLMaxSizeLength";case i.DocType:return"DocType";case i.DocTypeVersion:return"DocTypeVersion";case i.DocTypeReadVersion:return"DocTypeReadVersion";case i.Void:return"Void";case i.Segment:return"Segment";case i.SeekHead:return"SeekHead";case i.Seek:return"Seek";case i.SeekID:return"SeekID";case i.SeekPosition:return"SeekPosition";case i.Info:return"Info";case i.TimestampScale:return"TimestampScale";case i.Duration:return"Duration";case i.DateUTC:return"DateUTC";case i.Title:return"Title";case i.MuxingApp:return"MuxingApp";case i.WritingApp:return"WritinApp";case i.Cluster:return"Cluster";case i.Timestamp:return"Timestamp";case i.SimpleBlock:return"SimpleBlock";case i.SegmentUID:return"SegmentUID (unsupported by WebM)";case i.Tracks:return"Tracks";case i.TrackEntry:return"TrackEntry";case i.TrackNumber:return"TrackNumber";case i.TrackUID:return"TrackUID";case i.TrackType:return"TrackType";case i.FlagEnabled:return"FlagEnabled";case i.FlagDefault:return"FlagDefault";case i.FlagForced:return"FlagForced";case i.FlagLacing:return"FlagLacing";case i.MinCache:return"MinCache";case i.MaxBlockAdditionID:return"MaxBlockAdditionID";case i.CodecID:return"CodecID";case i.CodecDecodeAll:return"CodecDecodeAll";case i.SeekPreRoll:return"SeekPreRoll";case i.Video:return"Video";case i.FlagInterlaced:return"FlagInterlaced";case i.PixelWidth:return"PixelWidth";case i.PixelHeight:return"PixelHeight";case i.DefaultDuration:return"DefaultDuration";case i.TrackTimestampScale:return"TrackTimestampScale";case i.CodecName:return"CodecName";case i.CodecPrivate:return"CodecPrivate";case i.Audio:return"Audio";case i.SamplingFrequency:return"SamplingFrequency";case i.Channels:return"Channels";case i.Cues:return"Cues";case i.CuePoint:return"CuePoint";case i.CueTime:return"CueTime";case i.CueTrackPositions:return"CueTrackPositions";case i.CueTrack:return"CueTrack";case i.CueClusterPosition:return"CueClusterPosition";case i.CueRefTime:return"CueRefTime";case i.CueBlockNumber:return"CueBlockNumber";case i.Position:return"Position";case i.Colour:return"Colour";default:return""}},t.readEbmlElementId=function(e,t){const r=o(e.current);if(r>e.bytesAvailable)return!1;let n=e.current;for(var i=0;i<r-1;++i)n=n<<8|e.nextUnsafe();return e.nextUnsafe(),e.checkBounds(),t.id=n,t.idLength=r,!0},r(16280);class i{}function o(e){for(var t=7;t>3;t--)if(e&1<<t)return 8-t;throw Error("invalid ebml element id")}t.EbmlElementId=i,n(i,"Ebml",440786851),n(i,"EbmlVersion",17030),n(i,"EbmlReadVersion",17143),n(i,"EbmlMaxIdLength",17138),n(i,"EbmlMaxSizeLength",17139),n(i,"DocType",17026),n(i,"DocTypeVersion",17031),n(i,"DocTypeReadVersion",17029),n(i,"Void",236),n(i,"Segment",408125543),n(i,"SeekHead",290298740),n(i,"Seek",19899),n(i,"SeekID",21419),n(i,"SeekPosition",21420),n(i,"Info",357149030),n(i,"TimestampScale",2807729),n(i,"Duration",17545),n(i,"DateUTC",17505),n(i,"Title",31657),n(i,"MuxingApp",19840),n(i,"WritingApp",22337),n(i,"Cluster",524531317),n(i,"Timestamp",231),n(i,"SimpleBlock",163),n(i,"SegmentUID",29604),n(i,"Tracks",374648427),n(i,"TrackEntry",174),n(i,"TrackNumber",215),n(i,"TrackUID",29637),n(i,"TrackType",131),n(i,"FlagEnabled",185),n(i,"FlagDefault",136),n(i,"FlagForced",21930),n(i,"FlagLacing",156),n(i,"MinCache",28135),n(i,"MaxBlockAdditionID",21998),n(i,"CodecID",134),n(i,"CodecDecodeAll",170),n(i,"SeekPreRoll",22203),n(i,"Video",224),n(i,"FlagInterlaced",154),n(i,"PixelWidth",176),n(i,"PixelHeight",186),n(i,"DefaultDuration",2352003),n(i,"TrackTimestampScale",2306383),n(i,"CodecName",2459272),n(i,"CodecPrivate",25506),n(i,"Audio",225),n(i,"SamplingFrequency",181),n(i,"Channels",159),n(i,"Cues",475249515),n(i,"CuePoint",187),n(i,"CueTime",179),n(i,"CueTrackPositions",183),n(i,"CueTrack",247),n(i,"CueClusterPosition",241),n(i,"CueRefTime",150),n(i,"CueBlockNumber",21368),n(i,"Position",167),n(i,"Colour",21936)},65260(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EbmlElementType=void 0,t.getEbmlElementType=function(e){switch(e){case n.EbmlElementId.Segment:case n.EbmlElementId.Ebml:case n.EbmlElementId.SeekHead:case n.EbmlElementId.Seek:case n.EbmlElementId.Cluster:case n.EbmlElementId.Info:case n.EbmlElementId.Tracks:case n.EbmlElementId.TrackEntry:case n.EbmlElementId.Video:case n.EbmlElementId.Audio:case n.EbmlElementId.Cues:case n.EbmlElementId.CuePoint:case n.EbmlElementId.CueTrackPositions:case n.EbmlElementId.Colour:return o.Master;case n.EbmlElementId.EbmlVersion:case n.EbmlElementId.EbmlReadVersion:case n.EbmlElementId.EbmlMaxIdLength:case n.EbmlElementId.EbmlMaxSizeLength:case n.EbmlElementId.DocTypeVersion:case n.EbmlElementId.DocTypeReadVersion:case n.EbmlElementId.SeekPosition:case n.EbmlElementId.TimestampScale:case n.EbmlElementId.Timestamp:case n.EbmlElementId.TrackNumber:case n.EbmlElementId.TrackUID:case n.EbmlElementId.TrackType:case n.EbmlElementId.FlagEnabled:case n.EbmlElementId.FlagDefault:case n.EbmlElementId.FlagForced:case n.EbmlElementId.FlagLacing:case n.EbmlElementId.MinCache:case n.EbmlElementId.MaxBlockAdditionID:case n.EbmlElementId.CodecDecodeAll:case n.EbmlElementId.SeekPreRoll:case n.EbmlElementId.FlagInterlaced:case n.EbmlElementId.PixelWidth:case n.EbmlElementId.PixelHeight:case n.EbmlElementId.DefaultDuration:case n.EbmlElementId.Channels:case n.EbmlElementId.CueTime:case n.EbmlElementId.CueTrack:case n.EbmlElementId.CueClusterPosition:case n.EbmlElementId.CueRefTime:case n.EbmlElementId.CueBlockNumber:case n.EbmlElementId.Position:return o.UnsignedInteger;case n.EbmlElementId.DocType:case n.EbmlElementId.CodecID:return o.String;case n.EbmlElementId.Void:case n.EbmlElementId.SeekID:case n.EbmlElementId.SimpleBlock:case n.EbmlElementId.SegmentUID:case n.EbmlElementId.CodecPrivate:return o.Binary;case n.EbmlElementId.Duration:case n.EbmlElementId.TrackTimestampScale:case n.EbmlElementId.SamplingFrequency:return o.Float;case n.EbmlElementId.DateUTC:return o.Date;case n.EbmlElementId.Title:case n.EbmlElementId.MuxingApp:case n.EbmlElementId.WritingApp:case n.EbmlElementId.CodecName:return o.Utf8String;default:throw Error("cannot determine type of unknown ebml element with id ".concat(e))}},r(16280);var n=r(60565);function i(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class o{}t.EbmlElementType=o,i(o,"Unknown",0),i(o,"Master",1),i(o,"UnsignedInteger",2),i(o,"SignedInteger",3),i(o,"String",4),i(o,"Utf8String",5),i(o,"Binary",6),i(o,"Float",7),i(o,"Date",8)},415(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.epochTimestampOffset=t.EbmlElement=void 0,t.getEbmlElementSizeLength=a,t.getEbmlElementValue=function(e,t){switch(e){case i.EbmlElementType.UnsignedInteger:case i.EbmlElementType.SignedInteger:return(0,o.readBigEndianNumber)(t);case i.EbmlElementType.String:return String.fromCharCode.apply(null,t);case i.EbmlElementType.Utf8String:case i.EbmlElementType.Float:throw new Error("cannot read value of element with type ".concat(e));case i.EbmlElementType.Date:return s+(0,o.readBigEndianNumber)(t);case i.EbmlElementType.Binary:return t}},t.readEbmlLementSize=function(e,t){const r=a(e.current);if(r>e.bytesAvailable)return!1;let n=e.current-(1<<8-r);for(var i=0;i<r-1;++i)n=n<<8|e.nextUnsafe();return e.nextUnsafe(),e.checkBounds(),t.sizeLength=r,t.size=n===1<<8*r-1?-1:n,!0},r(16280);var n=r(60565),i=r(65260),o=r(12087);const s=t.epochTimestampOffset=978307200;function a(e){if(1==e)return 8;for(var t=7;t>0;t--)if(e&1<<t)return 8-t;throw Error("invalid ebml element size")}t.EbmlElement=class{get elementSize(){return this.idLength+this.sizeLength+this.size}get id(){return this._id}set id(e){this._id=e,this.name=(0,n.getEbmlElementName)(this._id),this.type=(0,i.getEbmlElementType)(this._id)}}},62343(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MediaInfo",{enumerable:!0,get:function(){return a.MediaInfo}}),Object.defineProperty(t,"MediaPacket",{enumerable:!0,get:function(){return s.MediaPacket}}),Object.defineProperty(t,"MediaRecorderDemuxer",{enumerable:!0,get:function(){return n.MediaRecorderDemuxer}}),Object.defineProperty(t,"MediaRecorderDemuxerEvents",{enumerable:!0,get:function(){return i.MediaRecorderDemuxerEvents}}),Object.defineProperty(t,"createMediaRecorderDemuxer",{enumerable:!0,get:function(){return o.createMediaRecorderDemuxer}});var n=r(53142),i=r(28538),o=r(75457),s=r(30440),a=r(47472)},47472(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaInfo=void 0,t.MediaInfo=class{constructor(){this.videoTrack={},this.audioTrack={}}}},30440(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaPacket=void 0,t.MediaPacket=class{constructor(e,t){this.data=e,this.ptsMs=t}}},28538(e,t,r){"use strict";function n(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.MediaRecorderDemuxerEvents=void 0,r(16280);class i{}t.MediaRecorderDemuxerEvents=i,n(i,"Error","error"),n(i,"MediaInfo","media-info"),n(i,"MediaPacket","media-packet")},75457(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMediaRecorderDemuxer=function(e,t){let r;if("undefined"!=typeof MediaRecorder==0)return null;if("function"==typeof MediaRecorder.isTypeSupported==0||MediaRecorder.isTypeSupported("video/webm;codecs=h264")){const i={mimeType:"video/webm;codecs=h264"};r=new n.WebmMediaRecorderDemuxer(new MediaRecorder(e,i),t)}return r};var n=r(44112);r(28538)},53142(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMediaRecorderOptions=t.MediaRecorderDemuxer=void 0,r(16280);var n=r(47472),i=r(28538);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=r(37007),l=t.defaultMediaRecorderOptions={timerInterval:100,logCallback:null};t.MediaRecorderDemuxer=class extends c{constructor(e,t){super(),this.options=t?s(s({},l),t):l,this.mediaRecorder=e,this.mediaInfo=new n.MediaInfo,this.mediaRecorder.addEventListener("dataavailable",async e=>{this.addBlob(e.data)}),this.mediaRecorder.addEventListener("error",e=>{this.emit(i.MediaRecorderDemuxerEvents.Error,e.error)})}start(){this.mediaRecorder.start(),"function"==typeof this.mediaRecorder.requestData?this.timer=window.setInterval(()=>{this.mediaRecorder.requestData()},this.options.timerInterval):this.timer=window.setTimeout(()=>{this.mediaRecorder.stop()},this.options.timerInterval)}stop(){"recording"===this.mediaRecorder.state&&this.mediaRecorder.stop(),this.timer&&(clearInterval(this.timer),this.timer=null)}static isSupported(e){return"undefined"!=typeof MediaRecorder&&"function"==typeof MediaRecorder.prototype.requestData&&"function"==typeof MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported(e)}}},44112(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.webmVideoTrackType=t.webmAudioTrackType=t.WebmMediaRecorderDemuxer=void 0,r(16280),r(44114),r(54743),r(11745),r(16573),r(78100),r(77936),r(42762),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623);var n=r(53142),i=r(60565),o=r(415),s=r(12087),a=r(65260),c=r(28538),l=r(30440);function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=t.webmVideoTrackType=1,f=t.webmAudioTrackType=2;function h(){return new Promise(e=>{let t=new FileReader;t.onload=()=>{e(t.result)},t.readAsArrayBuffer(this)})}class p extends n.MediaRecorderDemuxer{constructor(e,t){super(e,t),this.state=p.stateParseElementId,this.currentEbmlElement=new o.EbmlElement,this.uint8ArrayAggregator=new s.Uint8ArrayAggregator,this.clusterTimestamp=0,this.timestampMsScale=1,this.ebmlElementStack=[],Blob.prototype.arrayBuffer=Blob.prototype.arrayBuffer||h}async addBlob(e){try{for(this.uint8ArrayAggregator.addArray(new Uint8Array(await e.arrayBuffer()));this.uint8ArrayAggregator.bytesAvailable;)switch(this.state){case p.stateParseElementId:if(!(0,i.readEbmlElementId)(this.uint8ArrayAggregator,this.currentEbmlElement))break;null==this.options.logCallback||this.options.logCallback("got new current ebml element (id: ".concat(this.currentEbmlElement.id,", name: ").concat(this.currentEbmlElement.name,")")),this.state=p.stateParseElementLength;break;case p.stateParseElementLength:if(!(0,o.readEbmlLementSize)(this.uint8ArrayAggregator,this.currentEbmlElement))break;null==this.options.logCallback||this.options.logCallback("got size ".concat(this.currentEbmlElement.size," for current ebml element (id: ").concat(this.currentEbmlElement.id,", name: ").concat(this.currentEbmlElement.name,")")),this.ebmlElementStack.length&&-1==this.currentEbmlElement.size&&(this.ebmlElementStack=[]),this.state=p.stateParseElementValue;break;case p.stateParseElementValue:const e=(0,a.getEbmlElementType)(this.currentEbmlElement.id);let r=e!==a.EbmlElementType.Master||this.currentEbmlElement.id===i.EbmlElementId.Colour;if(e===a.EbmlElementType.Master&&-1!==this.currentEbmlElement.size&&this.ebmlElementStack.push({element:Object.assign(new o.EbmlElement,this.currentEbmlElement),bytesRemaining:this.currentEbmlElement.size}),this.currentEbmlElement.id===i.EbmlElementId.CodecID){r=!1;let e=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size);if(null==e)break;const t=(0,o.getEbmlElementValue)(this.currentEbmlElement.type,e);this.currentTrackType===d?this.mediaInfo.videoTrack.codecName=t:this.currentTrackType===f&&(this.mediaInfo.audioTrack.codecName=t),null==this.options.logCallback||this.options.logCallback("got codec id ".concat(t))}else if(this.currentEbmlElement.id===i.EbmlElementId.CodecPrivate){if(r=!1,null==this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))break}else if(this.currentEbmlElement.id===i.EbmlElementId.TimestampScale){r=!1;let e=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size);if(null==e)break;this.mediaInfo.timestampScale=(0,o.getEbmlElementValue)(this.currentEbmlElement.type,e),this.timestampMsScale=this.mediaInfo.timestampScale/1e6,null==this.options.logCallback||this.options.logCallback("got timestamp scale ".concat(this.mediaInfo.timestampScale))}else if(this.currentEbmlElement.id===i.EbmlElementId.Timestamp){r=!1;let e=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size);if(null==e)break;this.clusterTimestamp=(0,o.getEbmlElementValue)(this.currentEbmlElement.type,e),null==this.options.logCallback||this.options.logCallback("got cluser timestamp ".concat(this.clusterTimestamp))}else if(this.currentEbmlElement.id===i.EbmlElementId.TrackType){r=!1;let e=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size);if(null==e)break;this.currentTrackType=(0,o.getEbmlElementValue)(this.currentEbmlElement.type,e),null==this.options.logCallback||this.options.logCallback("got track with type ".concat(this.currentTrackType))}else if(this.currentEbmlElement.id===i.EbmlElementId.SimpleBlock){r=!1;let e=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size);if(null==e)break;let t=new s.Uint8ArrayAggregator;t.addArray(e);let n={};(0,o.readEbmlLementSize)(t,n),n.size;let i=(0,s.readBigEndianNumber)(t.extract(2));t.current,t.next(),t.trim();let a=(this.clusterTimestamp+i)*this.timestampMsScale;this.emit(c.MediaRecorderDemuxerEvents.MediaPacket,new l.MediaPacket(t.array,a))}if(r&&this.uint8ArrayAggregator.skip(this.currentEbmlElement.size),e!==a.EbmlElementType.Master&&this.ebmlElementStack.length){this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining-=this.currentEbmlElement.elementSize;do{if(0!==this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining)break;var t=this.ebmlElementStack.pop();this.ebmlElementStack.length&&(this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining-=t.element.elementSize),t.element.id===i.EbmlElementId.Tracks&&this.emit(c.MediaRecorderDemuxerEvents.MediaInfo,this.mediaInfo)}while(this.ebmlElementStack.length)}this.state=p.stateParseElementId}this.uint8ArrayAggregator.trim()}catch(e){this.stop(),this.emit(c.MediaRecorderDemuxerEvents.Error,e)}}}t.WebmMediaRecorderDemuxer=p,u(p,"stateParseElementId",1),u(p,"stateParseElementLength",2),u(p,"stateParseElementValue",3)},12087(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uint8ArrayAggregator=void 0,t.readBigEndianNumber=function(e){let t=0;return e.forEach(e=>{t=t<<8|e}),t},r(16280),r(54743),r(11745),r(16573),r(78100),r(77936),r(18111),r(7588),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623),t.Uint8ArrayAggregator=class{constructor(){this.array=null,this.current=null,this.offset=0}addArray(e){if(null!=e&&0!=e.length)if(this.bytesToSkip>=e.length)this.bytesToSkip-=e.length;else{if(this.bytesToSkip&&(e=e.slice(this.bytesToSkip)),this.array){let t=new Uint8Array(this.array.length-this.offset+e.length);t.set(this.offset?this.array.slice(this.offset):this.array,0),t.set(e,this.array.length-this.offset),this.array=t,this.offset=0}else this.array=e;this.current=this.array[0]}}checkBounds(){if(this.offset===this.array.length)this.offset=0,this.current=null,this.array=null;else{if(!(this.offset<this.array.length))throw Error("invalid Uint8ArrayAggregator state, offset (".concat(this.offset,") is larger than bytes in the current array (").concat(this.array.length,")"));this.current=this.array[this.offset]}}next(){return this.array?(this.offset++,this.checkBounds(),this.current):null}nextUnsafe(){return this.offset++,this.current=this.array[this.offset],this.current}get bytesAvailable(){return this.array?this.array.length-this.offset:0}trim(){if(this.array)if(this.offset<this.array.length)this.array=this.array.slice(this.offset),this.offset=0,this.current=this.array[0];else{if(this.offset>this.array.length)throw Error("invalid Uint8ArrayAggregator state, offset (".concat(this.offset,") is larger than bytes in the current array (").concat(this.array.length,")"));this.array=null,this.offset=0,this.current=null}}extract(e){if(this.bytesAvailable>=e){const t=this.offset;let r=this.array.slice(t,t+e);return this.offset+=e,this.current=this.array[this.offset],this.checkBounds(),r}return null}skip(e){if(this.bytesAvailable>=e)return this.offset+=e,this.current=this.array[this.offset],void this.checkBounds();e-=this.bytesAvailable,this.array=null,this.offset=0,this.current=null,this.bytesToSkip=e}}},51227(e,t,r){"use strict";r(33110),r(27495),r(25440),t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(18630)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},18630(e,t,r){"use strict";r(16280),r(44114),r(13609),r(18111),r(22489),r(7588),r(61701),r(27495),r(25440),r(42762),r(62953),e.exports=function(e){function t(e){let r,i,o,s=null;function a(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(!a.enabled)return;const o=a,s=Number(new Date),c=s-(r||s);o.diff=c,o.prev=r,o.curr=s,r=s,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");let l=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,(e,r)=>{if("%%"===e)return"%";l++;const i=t.formatters[r];if("function"==typeof i){const t=n[l];e=i.call(o,t),n.splice(l,1),l--}return e}),t.formatArgs.call(o,n),(o.log||t.log).apply(o,n)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e,t){let r=0,n=0,i=-1,o=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(i=n,o=r,n++):(r++,n++);else{if(-1===i)return!1;n=i+1,o++,r=o}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of r)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const r of t.skips)if(i(e,r))return!1;for(const r of t.names)if(i(e,r))return!0;return!1},t.humanize=r(6585),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},85620(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CobrowseIO=void 0,r(16280),r(44114),r(18111),r(22489),r(20116),r(7588),r(61701),r(84864),r(57465),r(27495),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=S(r(7350)),i=r(86780),o=r(37007),s=r(45264),a=r(42074),c=r(40492),l=r(21667),u=r(72176),d=r(33035),f=S(r(75160)),h=S(r(40923)),p=L(r(77966)),_=S(r(58973)),v=r(73531),E=S(r(77988)),m=S(r(51227)),g=L(r(58325)),y=S(r(198)),I=r(44661),w=r(82117),b=r(13177);function L(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(L=function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?i(s,t,o):s[t]=e[t]);return s})(e,t)}function S(e){return e&&e.__esModule?e:{default:e}}function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(Object(r),!0).forEach(function(t){O(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function O(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N(e,t,r){T(e,t),t.set(e,r)}function T(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function P(e,t){return e.get(M(e,t))}function R(e,t,r){return e.set(M(e,t),r),r}function M(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const k=(0,m.default)("cbio.CobrowseIO");var D=new WeakMap,x=new WeakMap,j=new WeakMap,G=new WeakMap,U=new WeakMap,W=new WeakMap,V=new WeakMap,z=new WeakMap,F=new WeakMap,B=new WeakMap,H=new WeakMap,Y=new WeakMap,Q=new WeakMap,J=new WeakMap,K=new WeakMap,X=new WeakMap,q=new WeakMap,Z=new WeakMap,$=new WeakMap,ee=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,ie=new WeakMap,oe=new WeakMap,se=new WeakMap,ae=new WeakMap,ce=new WeakMap,le=new WeakMap,ue=new WeakSet,de=new WeakMap,fe=new WeakMap,he=new WeakMap;class pe extends o.EventEmitter{constructor(){var e;let{sessionStorage:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var r;super(),e=this,T(this,r=ue),r.add(this),N(this,D,new a.ActivityDetection),N(this,x,void 0),N(this,j,!1),N(this,G,!0),N(this,U,v.SessionStorage.create(this)),N(this,W,{}),N(this,V,l.Device.info.capabilities),N(this,z,new l.Device(this)),N(this,F,new d.ConsentDialog),N(this,B,new d.ConsentDialog),N(this,H,new d.ConsentDialog),N(this,Y,new d.ConsentDialog),N(this,Q,void 0),N(this,J,void 0),N(this,K,void 0),N(this,X,void 0),N(this,q,void 0),N(this,Z,void 0),N(this,$,void 0),N(this,ee,void 0),N(this,te,void 0),N(this,re,void 0),O(this,"start",async function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(k("start()",t,"in",document),!_.default.isHeadless()||t.allowHeadless){if(window.self!==window.top){if(!t.allowIFrameStart)return(0,i.isxdoc)(window.parent)?(P(te,e)&&P(te,e).call(e),R(te,e,(0,p.initIframeBridgeAsChild)(e)),void k("Starting Cobrowse in Iframe bridge mode with trusted origins:",p.default.trustedOrigins,"for",document)):void k("Not starting Cobrowse for same-origin iframe",document);s.WindowTracking.setTracksIframes(!0)}var r,n;P(te,e)&&P(te,e).call(e),R(te,e,(0,p.initIframeBridgeAsParent)(e,{open:P(ne,e)})),e.license?P(j,e)||(f.default.initialize(),s.WindowTracking.start(),(0,h.default)(pe.version).catch(()=>{}),console.log("CobrowseIO started",pe.version,null===(r=document.timeline)||void 0===r?void 0:r.currentTime),R(j,e,!0),"boolean"==typeof t.register&&R(G,e,t.register),e.registration&&M(ue,e,_e).call(e),k("attempting to restore session after start"),await P(ie,e).call(e),null!==(n=e.currentSession)&&void 0!==n&&n.isActive()||e.hideSessionControls(),g.mark("start"),await P(he,e).call(e)):console.error("CobrowseIO.license must be set before calling start")}else console.warn("CobrowseIO: Not starting Cobrowse in a headless browser")}),O(this,"stop",async()=>(this.currentSession&&!this.currentSession.isEnded()&&await this.currentSession.end().catch(e=>{console.warn("CobrowseIO: Failed to end session on stop",e)}),P(oe,this).call(this,null),s.WindowTracking.stop(),P(D,this).stop(),await P(z,this).destroy(),await P(U,this).reset(),R(j,this,!1),P(te,this)&&(P(te,this).call(this),R(te,this,null)),this)),O(this,"open",function(t,r,n){let{type:i}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return P(ne,e).call(e,t,r,n,{type:i})}),N(this,ne,(e,t,r,n)=>{const i=()=>window.open(e,t,r);if(!P(x,this))return i();const{target:o,name:s}=(0,w.splitNameFromTarget)(t,"_blank"),a=A(A({},n),{},{name:s,go:i}),{rewrittenUrl:c,windowProxy:l}=P(x,this).handleNavigation(e,o,r,a);return c?window.open(c,t,r):l}),N(this,ie,async()=>{try{const e=await P(U,this).load(this);e&&P(oe,this).call(this,e,{invalidateFrames:!0})}catch(e){console.warn("CobrowseIO: Failed to fetch restored session",e),P(oe,this).call(this,null)}return null}),N(this,oe,function(t){let{invalidateFrames:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(k("setting current session",t),t&&P(x,e)){const r=P(x,e).session.id();if(r&&r===t.id())return}P(F,e).hide(),P(B,e).hide(),P(H,e).hide(),P(Y,e).hide();const n=(e,t)=>p.default.broadcastToChildren("control",[e,t]),i=e=>p.default.broadcastToChildren("remote-error",e);P(x,e)&&(P(x,e).session.off("updated",P(se,e)),P(x,e).session.off("ended",P(ae,e)),P(x,e).session.off("control",n),P(x,e).session.off("remote-error",i),P(x,e).session.off("metrics.updated",P(ce,e)),P(x,e).destroy(),R(x,e,null)),P(U,e).store(t),t&&(R(x,e,new u.SessionContext(t,e)),t.state()&&P(se,e).call(e,t),t.on("updated",P(se,e)),t.once("ended",P(ae,e)),t.on("sync",()=>e.emit("session.sync")),t.on("control",n),t.on("remote-error",i),t.on("metrics.updated",P(ce,e)),r&&P(x,e).invalidateFrames())}),N(this,se,e=>{P(U,this).store(e),e.fullDevice()||P(H,this).hide(),"requested"!==e.remoteControl()&&P(B,this).hide(),e.isAuthorizing()||P(F,this).hide(),this.emit("session.updated",e)}),N(this,ae,e=>{this.emit("session.ended",e),P(oe,this).call(this,null),R(ee,this,!1)}),N(this,ce,e=>{this.emit("session.metrics.updated",e)}),N(this,le,void 0),O(this,"hideSessionControls",()=>{d.SessionStateOverlay.hideSessionControls()}),N(this,de,(0,n.default)(()=>{P(z,this).hasPendingUpdates()&&P(j,this)&&this.registration&&P(z,this).updateRegistration().catch(e=>{console.warn("CobrowseIO: updating customData failed",e)})},8e3,{leading:!0,trailing:!0})),O(this,"confirmRemoteControl",async()=>P(B,this).show(E.default.tr("REMOTE_CONTROL_REQUEST_TITLE"),E.default.tr("REMOTE_CONTROL_REQUEST_DESCRIPTION"))),O(this,"confirmFullDevice",async()=>P(H,this).show(E.default.tr("FULL_DEVICE_REQUEST_TITLE"),E.default.tr("FULL_DEVICE_REQUEST_DESCRIPTION"))),O(this,"confirmSession",async()=>P(F,this).show(E.default.tr("SESSION_REQUEST_TITLE"),E.default.tr("SESSION_REQUEST_DESCRIPTION"))),O(this,"confirmOpen",(e,t)=>{if(t!==I.NAVIGATION_TYPE.UNIVERSAL)return!0;if(P(ee,this))return!0;const r=P(Y,this).show(E.default.tr("UNIVERSAL_PROXY_REQUEST_TITLE"),E.default.tr("UNIVERSAL_PROXY_REQUEST_DESCRIPTION"));return r.then(e=>{e&&R(ee,this,!0)}),r}),O(this,"showDocument",e=>{"_blank"!==e.target&&0===y.default.getTabCount()?y.default.enterFullScreen():y.default.exitFullScreen();const t=e.type===I.NAVIGATION_TYPE.UNIVERSAL,r=y.default.newTab(e.element,"",e.url,e.isLoading,e.close,t);e.isBlocked&&r.showBanner(E.default.tr("UNIVERSAL_PROXY_BLOCKED"));const n=()=>{r.setIcon(e.icon),r.setTitle(e.title||e.url),r.setIsLoading(e.isLoading),r.setContent(e.element),e.isBlocked?r.showBanner(E.default.tr("UNIVERSAL_PROXY_BLOCKED")):r.hideBanner()};e.on("updated",n),e.once("closed",()=>{e.off("updated",n),r.close()})}),O(this,"getSession",async e=>{if(!P(j,this))throw new Error("CobrowseIO not started. Call CobrowseIO.start()");if(this.currentSession&&(this.currentSession.id()===e||this.currentSession.code()===e))return this.currentSession.fetch();const t=new u.Session(this).updateResource({id:e});return P(oe,this).call(this,t),await t.fetch(),this.emit("session.loaded",t),t}),O(this,"createSession",async()=>{if(!P(j,this))throw new Error("CobrowseIO not started. Call CobrowseIO.start()");if(this.currentSession&&(this.currentSession.isActive()||this.currentSession.isAuthorizing()))throw new Error("Already in a session");g.delta("load")<8e3&&console.warn("Six digit codes have a short expiry time. You should wait to generate a code until it is required! Do not generate codes on page load.");const e=new u.Session(this);P(oe,this).call(this,e);try{await e.update({custom_data:this.customData,device:l.Device.info})}catch(e){throw P(oe,this).call(this,null),e}return this.emit("session.loaded",e),e}),O(this,"createSessionCode",async()=>(await this.createSession()).code()),O(this,"client",async()=>this),N(this,fe,e=>{e&&["license","api","registration","customData","showSessionControls","hideSessionControls","confirmSession","confirmRemoteControl","confirmFullDevice","trustedOrigins","redactedViews","unredactedViews","ignoredViews","disabledViews","enabledViews","capabilities","pdfLinks","universalLinks","confirmOpen","showDocument","highlightElement","virtualAgent"].forEach(t=>{void 0!==e[t]&&(this[t]=e[t])})}),N(this,he,async()=>{P(re,this)&&await(0,b.initializeVirtualAgent)(P(re,this),this)}),k("interface constructed in",document),t&&R(U,this,t),this.api="https://api.cobrowse.io",P(fe,this).call(this,window&&window.CobrowseIO),P(z,this).on("notification",e=>{const t=e["cobrowseio-code"];t&&this.getSession(t).catch(e=>{console.warn("CobrowseIO: session fetch failed:",e)})})}deviceId(){return l.Device.deviceId()}get currentSession(){return P(x,this)?P(x,this).session:P(U,this).peek()}set showSessionControls(e){var t;R(le,this,e),d.SessionStateOverlay.hideSessionControls(),null!==(t=P(x,this))&&void 0!==t&&t.session.isActive()&&P(le,this).call(this)}get showSessionControls(){return P(le,this)?P(le,this):d.SessionStateOverlay.showSessionControls}set license(e){if(P(j,this)&&this.license!==e)throw new Error("Cannot change license once Cobrowse is started");c.RESTResource.setHeader("X-CobrowseLicense",e)}get license(){return c.RESTResource.getHeader("X-CobrowseLicense")}set api(e){if(P(j,this)&&c.RESTResource.api!==e)throw new Error("Cannot change API once Cobrowse is started");c.RESTResource.api=e}get api(){return c.RESTResource.api}set registration(e){const t=!!e;t!==P(G,this)&&M(ue,this,Ee).call(this,t)}get registration(){return!!P(G,this)}set redactedViews(e){if(P(j,this))throw new Error("Cannot set redacted views after Cobrowse is started");R(Q,this,e)}get redactedViews(){return P(Q,this)}set unredactedViews(e){if(P(j,this))throw new Error("Cannot set unredacted views after Cobrowse is started");R(J,this,e)}get unredactedViews(){return P(J,this)}set ignoredViews(e){if(P(j,this))throw new Error("Cannot set ignored views after Cobrowse is started");R(K,this,e)}get ignoredViews(){return P(K,this)}set disabledViews(e){if(P(j,this))throw new Error("Cannot set disabled views after Cobrowse is started");R(X,this,e)}get disabledViews(){return P(X,this)}set enabledViews(e){if(P(j,this))throw new Error("Cannot set enabled views after Cobrowse is started");R(q,this,e)}get enabledViews(){return P(q,this)}set capabilities(e){if(P(j,this))throw new Error("Cannot set capabilities after Cobrowse is started");if(!Array.isArray(e))throw new Error("Capabilities should be an array");R(V,this,e.filter(e=>!!l.Device.info.capabilities.includes(e)||(console.warn("Capability '".concat(e,"' not supported. Ignoring...")),!1)))}get capabilities(){return P(V,this)}set customData(e){if("object"!=typeof e)throw new Error("Custom data must be an object");if(R(W,this,A(A({},P(W,this)),e)),P(j,this)&&setTimeout(P(de,this),0),this.currentSession&&this.currentSession.isActive()){const t=this.currentSession.resource.custom_data;if(!Object.keys(e).find(r=>t[r]!==e[r]))return void k("no changes to session custom data");this.currentSession.update({custom_data:e}).catch(()=>{console.warn("CobrowseIO: failed to update custom data on active session")})}}get customData(){return A(A({},P(z,this).customData),P(W,this))}set trustedOrigins(e){const t=[];e.forEach(e=>{try{const r=new URL(e).origin,n=decodeURIComponent(r);return t.push(n)}catch(e){}if((0,a.isValidPattern)(e))return t.push(e);console.warn("CobrowseIO: Invalid URL in trustedOrigins:",e)}),p.default.trustedOrigins=t}get trustedOrigins(){return[...p.default.trustedOrigins]}set pdfLinks(e){if(P(j,this))throw new Error("Cannot set pdfLinks after Cobrowse is started");const t=e.map(e=>e instanceof RegExp||"string"==typeof e?e:(console.warn("CobrowseIO: Invalid link in pdfLinks:",e),null)).filter(e=>e);R(Z,this,t)}get pdfLinks(){return P(Z,this)}set universalLinks(e){if(P(j,this))throw new Error("Cannot set universalLinks after Cobrowse is started");const t=e.map(e=>e instanceof RegExp||"string"==typeof e?e:(console.warn("CobrowseIO: Invalid link in universalLinks:",e),null)).filter(e=>e);R($,this,t)}get universalLinks(){return P($,this)}set virtualAgent(e){if(P(j,this))throw new Error("Cannot set virtualAgent after Cobrowse is started");R(re,this,e)}get virtualAgent(){return P(re,this)}static get version(){return l.Device.info.sdk_version}get version(){return pe.version}}function _e(){k("starting registration"),P(D,this).on("active",P(z,this).runRegistrationLoop),P(D,this).on("inactive",P(z,this).pauseRegistrationLoop),P(D,this).start()}async function ve(){k("stopping registration"),P(D,this).stop(),P(D,this).off("active",P(z,this).runRegistrationLoop),P(D,this).off("inactive",P(z,this).pauseRegistrationLoop);try{await P(z,this).destroy()}catch(e){console.log("Failed to deregister device",e)}}function Ee(e){R(G,this,e),P(j,this)&&(e?M(ue,this,_e).call(this):M(ue,this,ve).call(this))}t.CobrowseIO=pe,c.RESTResource.setHeader("Content-Type","application/json"),c.RESTResource.setHeader("X-CobrowsePlatform","web"),c.RESTResource.setHeader("X-CobrowseSDKVersion",pe.version),c.RESTResource.setHeader("X-CobrowseDevice",l.Device.deviceId()),c.RESTResource.setHeader("X-CobrowseAPIVersion","1.63.3"),t.default=new pe},97833(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=s;var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.AmazonConnect");function s(){const e=n.default.deviceId();n.default.customData={cobrowse_device_id:e},o("AmazonConnect initialized")}t.default={swizzle:s}},53147(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=s;var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Dynamics");function s(){const e=n.default.deviceId();let t=!1;function r(e){window.Microsoft.Omnichannel.LiveChatWidget.SDK.setContextProvider(()=>({"cobrowse-device":{value:e,isDisplayable:!0}})),t=!0,o("Dynamics initialized")}n.default.customData={cobrowse_device_id:e},window.addEventListener("lcw:ready",()=>{t||r(e)});try{r(e)}catch(e){}}t.default={swizzle:s}},30961(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=a;var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Freshchat");async function s(){const e=n.default.deviceId();window.fcWidget.user.setProperties({cobrowse_device_id:e});const t=await window.fcWidget.user.get();if(t.success){o("Freshchat initialized");const r=t.data,i={freshchat_numeric_user_id:r.id+"",freshchat_user_id:r.alias,cobrowse_device_id:e};r.isNameGenerated||(i.freshchat_user_first_name=r.firstName,i.freshchat_user_last_name=r.lastName),r.email&&(i.freshchat_user_email=r.email),n.default.customData=i}}async function a(){window.fcWidget?(window.fcWidget.on("user:created",e=>{e.success&&s()}),window.fcWidget.on("widget:opened",async()=>{!0===(await window.fcWidget.user.isExists()).data&&await s()})):o("Freshchat not found")}t.default={swizzle:a}},81809(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chat=a,t.default=void 0,t.messaging=c,r(16280);var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Genesys");let s;function a(){if(!s)try{var e;const t=window.CXBus||(null===(e=window)||void 0===e||null===(e=e._genesys)||void 0===e||null===(e=e.widgets)||void 0===e?void 0:e.bus);if(!t)throw new Error("Genesys bus not found");s=t.registerPlugin("CobrowseIOExtension"),window.oCobrowseIOExtension=s,o("CobrowseIOExtension",s),s.subscribe("WebChat.opened",function(e){o("CobrowseIOExtension.WebChat.opened",e),function(e){document.querySelector(".cx-menu .cx-cobrowseio")||(document.getElementsByClassName("cx-menu")[0].insertAdjacentHTML("beforeend",'<li role="none"><div class="cx-menu-item cx-cobrowseio cx-icon" role="button" data-icon="cobrowseio" tabindex="0" aria-label="Start Co-browse Opens the Co-browse session" title="Start Co-browse" style="display: block/;"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" viewBox="0 0 100 100" focusable="false" role="img" aria-hidden="true" alt="" data-gcb-service-node="true"><g class="cx-svg-icon-tone1" data-gcb-service-node="true"><path d="M11.5000001,3 L85.4166665,3 L87.6666668,3 C90.2624998,3 97,3.75367965 97,8.36940835 L97,30.4776335 L4.16666671,30.4776335 L4.16666671,70.4963922 C4.16666671,78.8021647 9.0333332,80.6810966 11.3333336,80.6810966 L88.6666664,80.6810966 C90.9625002,80.6810966 92.8333333,78.8021647 92.8333333,76.4963922 L92.8333333,41.8470419 L97,41.8470419 L97,79.5093796 C97,84.1251081 93.2624998,84.8787879 91.6666668,84.8787879 L8.3333332,84.8787879 C3.73750015,84.8787879 1,81.1251081 0,75.5093796 L0,8.36940835 C3,3.75367965 2.73750015,3 8.3333332,3 L8.5000001,3 Z M18.0297398,7.03030303 L5.9962825,7.03030303 C5.79033476,7.03030303 3.99999999,8.59607987 3.99999999,10.5175565 L3.999999,26.1125541 L93,26.1125541 L93,10.5175565 C93,8.59607987 91.2056692,7.03030303 89.0037175,7.03030303 L81.9702602,7.03030303 L18.0297398,7.03030303 Z M42.3451929,54.7727663 L42.3451929,68.6904309 L35,68.6904309 L35,47.7138693 C35,44.657411 37.4676761,42.1818182 40.5082059,42.1818182 L61.3971055,42.1818182 L61.3971055,49.5560425 L47.5394308,49.5560425 L66.3971054,67.9373646 L61.202867,73.154089 L42.3451929,54.7727663 Z" id="Fill-1-Copy""></path></g></svg></div></li>'),document.getElementsByClassName("cx-cobrowseio")[0].onclick=()=>async function(e){o("Requesting cobrowse");const t=await n.default.createSessionCode();o("Generated session code: ".concat(t)),e.command("WebChatService.sendFilteredMessage",{message:"Customer requests Cobrowse session with code: ".concat(t.substr(0,3)," ").concat(t.substr(3)),regex:/Customer requests Cobrowse session with code:.*/}).done(function(e){o("CobrowseIOExtension.WebChatService sent filtered message successfully",e)}).fail(function(e){o("CobrowseIOExtension.WebChatService failed to send filtered message",e)})}(e))}(s),function(e){e.command("WebChatService.updateUserData",{cobrowse_device_id:n.default.deviceId()}).done(function(e){o("CobrowseIOExtension.WebChatService.updateUserData succeeded",e)}).fail(function(e){o("CobrowseIOExtension.WebChatService.updateUserData failed",e)})}(s)}),s.subscribe("WebChatService.started",function(e){try{o("CobrowseIOExtension.WebChatService.started",e);const t={cobrowse_device_id:n.default.deviceId()};e&&e.data&&(e.data.data&&e.data.data.conversationId&&(t.genesys_conversation_id=e.data.data.conversationId),e.data.userId&&"deprecated"!==e.data.userId&&(t.genesys_user_id=e.data.userId),e.data.sessionID&&"deprecated"!==e.data.sessionID&&(t.genesys_session_id=e.data.sessionID)),n.default.customData=t}catch(e){o("Error during CobrowseIOExtension.WebChatService.started",e)}}),s.subscribe("WebChatService.agentConnected",function(e){o("CobrowseIOExtension.WebChatService.agentConnected",e)}),s.subscribe("WebChatService.clientConnected",function(e){o("CobrowseIOExtension.WebChatService.clientConnected",e)}),s.subscribe("WebChatService.restored",function(e){o("CobrowseIOExtension.WebChatService.restored",e)}),s.subscribe("WebChatService.ended",function(e){o("CobrowseIOExtension.WebChatService.ended",e),n.default.currentSession&&!n.default.currentSession.isEnded()&&n.default.currentSession.end()}),s.subscribe("WebChat.started",function(e){try{if(o("CobrowseIOExtension.WebChat.started",e),e&&e.data&&e.data.form){o("e.data.form",e.data.form);const t=e.data.form||{};t.device_name=e.data.form.firstname?"".concat(e.data.form.firstname,"'s device"):"WebChat User's Device",n.default.customData=t}}catch(e){o("Error during CobrowseIOExtension.WebChat.started",e)}}),s.republish("ready"),s.ready()}catch(e){console.error("Error syncing Cobrowse.io with Genesys, please contact hello@cobrowse.io for help!"),console.warn(e)}}function c(){try{window.Genesys("subscribe","Database.ready",()=>{const e=n.default.deviceId();n.default.customData={cobrowse_device_id:e},window.Genesys("command","Database.set",{messaging:{customAttributes:{cobrowse_device_id:e}}})}),window.Genesys("subscribe","MessagingService.ready",()=>{window.Genesys("subscribe","MessagingService.conversationDisconnected",e=>{let{data:t}=e;o("MessagingService.conversationDisconnected triggered",t),n.default.currentSession&&!n.default.currentSession.isEnded()&&(o("Ending Cobrowse session after conversation disconnected"),n.default.currentSession.end())})})}catch(e){console.error("Error syncing Cobrowse.io with Genesys, please contact hello@cobrowse.io for help!"),console.warn(e)}}t.default={messaging:c,chat:a}},75160(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=p(r(51227)),i=p(r(83110)),o=r(77319),s=r(39278),a=r(81809),c=r(30961),l=r(32532),u=r(53147),d=r(24244),f=r(76726),h=r(97833);function p(e){return e&&e.__esModule?e:{default:e}}const _=(0,n.default)("cbio.Integrations");t.default=class{static watchProperty(e,t,r){let n=e[t];const i=()=>{_("monitoring changes to ".concat(t),e),Object.defineProperty(e,t,{configurable:!0,set:o=>{_("CobrowseIO detected",t,"as",o),n=o,Object.defineProperty(e,t,{configurable:!0,writable:!0,value:o}),setTimeout(()=>r(i),0)},get:()=>n})};n?(_("".concat(t," already exists as"),e[t]),r(i)):i()}static initialize(){_("Initializing integrations"),this.watchProperty(window,"Intercom",()=>(0,i.default)()),this.watchProperty(window,"$zopim",()=>(0,o.zopim)()),this.initializeSalesforce(()=>(0,s.embeddedSVC)(),()=>(0,s.embeddedserviceBootstrap)()),this.initializeGenesys(()=>(0,a.messaging)(),()=>(0,a.chat)()),this.initializeZendesk(()=>(0,o.messenger)(),()=>(0,o.classic)(),()=>(0,o.sunshine)()),this.initializeFreshchat(()=>(0,c.swizzle)()),this.initializeNice(()=>(0,l.swizzle)()),this.initializeDynamics(()=>(0,u.swizzle)()),this.initializeServiceNow(()=>(0,d.swizzle)()),this.initializeTalkdesk(()=>(0,f.swizzle)()),this.initializeAmazonConnect(()=>(0,h.swizzle)())}static initializeGenesys(e,t){this.watchProperty(window,"Genesys",()=>e()),this.watchProperty(window,"CXBus",()=>t()),this.watchProperty(window,"_genesys",()=>this.watchProperty(window._genesys,"widgets",()=>this.watchProperty(window._genesys.widgets,"bus",()=>{setTimeout(()=>{t()},0)})))}static initializeSalesforce(e,t){this.watchProperty(window,"embedded_svc",()=>this.watchProperty(window.embedded_svc,"liveAgentAPI",()=>{e()})),this.watchProperty(window,"embeddedservice_bootstrap",()=>t())}static initializeFreshchat(e){this.watchProperty(window,"fcWidget",()=>e())}static initializeTalkdesk(e){this.watchProperty(window,"TalkdeskChatSDK",()=>this.watchProperty(window,"webchat",()=>this.watchProperty(window.webchat,"setContextParam",()=>e())))}static initializeZendesk(e,t,r){this.watchProperty(window,"zE",r=>{if(!window.zE.widget)return r();"messenger"===window.zE.widget?e():t()}),this.watchProperty(window,"Smooch",()=>r())}static initializeNice(e){this.watchProperty(window,"cxone",t=>{if(!window.cxone.guide)return this.watchProperty(window.cxone,"guide",()=>e()),t();e()})}static initializeDynamics(e){this.watchProperty(window,"Microsoft",()=>this.watchProperty(window.Microsoft,"Omnichannel",()=>this.watchProperty(window.Microsoft.Omnichannel,"LiveChatWidget",()=>this.watchProperty(window.Microsoft.Omnichannel.LiveChatWidget,"SDK",()=>{e()}))))}static initializeServiceNow(e){this.watchProperty(window,"ServiceNowChat",()=>e())}static initializeAmazonConnect(e){this.watchProperty(window,"amazon_connect",()=>e())}}},83110(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){try{if(!window.Intercom||"function"!=typeof window.Intercom)throw new Error("expected window.Intercom to be a function");s("Initializing intercom integration"),a(),window.Intercom("onShow",(0,n.default)(a,12e4,{trailing:!1}))}catch(e){console.error("Error syncing Cobrowse.io with Intercom, please contact hello@cobrowse.io for help!"),console.warn(e)}},r(16280);var n=o(r(7350)),i=o(r(85620));function o(e){return e&&e.__esModule?e:{default:e}}const s=(0,o(r(51227)).default)("cbio.Integrations.Intercom");function a(){s("Updating intercom integration"),window.intercomSettings||(window.intercomSettings={}),window.intercomSettings.CobrowseID=i.default.deviceId(),window.Intercom("update",{CobrowseID:i.default.deviceId()}),i.default.on("session.loaded",function(e){window.Intercom("update",{CobrowseSessionID:e.id()})})}},32532(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=s,r(42762);var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Nice");async function s(){o("Swizzling started");const e=n.default.deviceId();try{window.cxone("chat","setCustomerCustomField","cobrowse_device_id",e)}catch(e){console.log("Error setting Nice CX custom field",e)}window.cxone("chat","onAnyPushUpdate",t=>{var r;let{data:i,eventType:s}=t;if("CaseCreated"===s){var a;o("Nice case created");const{case:t}=i,r=t.id+"",s=null===(a=t.authorEndUserIdentity.fullName)||void 0===a?void 0:a.trim(),c=t.authorEndUserIdentity.idOnExternalPlatform;n.default.customData={nice_case_id:r,nice_external_contact_id:c,cobrowse_device_id:e,user_name:s}}else"CaseStatusChanged"===s&&"closed"===i.case.status&&null!==(r=n.default.currentSession)&&void 0!==r&&r.isActive()&&(o("Nice case closed"),n.default.currentSession.end())})}t.default={swizzle:s}},39278(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.embeddedSVC=l,t.embeddedserviceBootstrap=d,r(16280),r(58335);var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Salesforce");function s(e){console.error("Error syncing Cobrowse.io with Salesforce Chat, please contact hello@cobrowse.io for help!"),console.warn(e)}function a(){n.default.currentSession&&n.default.currentSession.end()}function c(e){if(!e)throw new Error("No messaging Session Id found");n.default.customData={salesforce_MessagingSessionId:u(e)}}function l(){try{if("object"!=typeof window.embedded_svc)throw new Error("expected window.embedded_svc to a be an object");if(window.embedded_svc&&!window.embedded_svc.liveAgentAPI)throw new Error("expected liveAgentAPI on embedded_svc");o("Initializing Salesforce legacy integration"),window.embedded_svc.addEventHandler("onChatRequestSuccess",function(e){e&&e.liveAgentSessionKey&&(n.default.customData={salesforce_liveAgentSessionKey:e.liveAgentSessionKey})}),window.embedded_svc.addEventHandler("onChatEndedByAgent",a),window.embedded_svc.addEventHandler("onChatEndedByChasitor",a)}catch(e){s(e)}}function u(e){if(18===e.length)return e;if(15!==e.length)throw Error("Invalid salesforce id: ".concat(e));let t="";for(let r=0;r<3;r++){let n=0;for(let t=0;t<5;t++){const i=e.charAt(5*r+t);i>="A"&&i<="Z"&&(n+=1<<t)}t+="ABCDEFGHIJKLMNOPQRSTUVWXYZ012345".charAt(n)}return e+t}function d(){try{var e;if("object"!=typeof window.embeddedservice_bootstrap)throw new Error("expected window.embeddedservice_bootstrap to a be an object");o("Initializing Salesforce Enhanced Chat integration"),(null!==(e=window.embeddedservice_bootstrap)&&void 0!==e&&null!==(e=e.settings)&&void 0!==e&&e.orgId?f:h)(),window.addEventListener("onEmbeddedMessagingConversationClosed",a),window.addEventListener("onEmbeddedMessagingWindowClosed",a)}catch(e){s(e)}}function f(){o("Detected Salesforce Enhanced Chat v1"),window.addEventListener("onEmbeddedMessagingConversationRouted",e=>{var t;const r=null==e||null===(t=e.detail)||void 0===t||null===(t=t.conversationEntry)||void 0===t?void 0:t.entryPayload;if(!r)throw new Error("No entry payload found");const n=JSON.parse(r);c(null==n?void 0:n.recordId)})}function h(){o("Detected Salesforce Enhanced Chat v2"),window.addEventListener("onEmbeddedMessageSent",e=>{var t;const r=null==e||null===(t=e.detail)||void 0===t||null===(t=t.conversationEntry)||void 0===t?void 0:t.relatedRecords;if(!r)throw new Error("No related records found");c(r[0])})}t.default={embeddedSVC:l,embeddedserviceBootstrap:d}},24244(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=s;var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.ServiceNow");function s(){const e=n.default.deviceId();n.default.customData={cobrowse_device_id:e},o("ServiceNow initialized")}t.default={swizzle:s}},76726(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.swizzle=a;var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Talkdesk");let s=!1;function a(){if("function"==typeof TalkdeskChatSDK){if(!window.webchat)return console.warn('Talkdesk not found in variable "webchat". Please load Talkdesk using:'),void console.warn("window.webchat = TalkdeskChatSDK(node, props)");if("function"!=typeof window.webchat.setContextParam)return console.warn("window.webchat.setContextParam is missing or of an unexpected value. Please load Talkdesk using:"),void console.warn("window.webchat = TalkdeskChatSDK(node, props)");if(!s){const e={cobrowse_device_id:n.default.deviceId()};n.default.customData=e,window.webchat.setContextParam(e),s=!0,o("Talkdesk initialized")}}else console.warn("TalkdeskChatSDK is not a function, ignoring as Talkdesk widget might not be present.")}t.default={swizzle:a}},71907(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classic=function(){try{!function(){if(!window.zE||!window.zE.identify)throw new Error("missing window.zE or window.zE.identify");{(0,n.swizzlezE)();const e=window.zE.identify;window.zE.identify=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const[o]=r;return i("identify",o),e(...r)}}}()}catch(e){console.error("Error syncing Cobrowse.io with Zendesk (classic), please contact hello@cobrowse.io for help!"),console.warn(e)}},t.updateCustomData=i,r(16280),r(62953);var n=r(77319);function i(e,t){let r={};"identify"===e&&t?(t.name&&(r.user_name=t.name),t.email&&(r.user_email=t.email),t.organization&&(r.user_organization=t.organization)):"prefill"===e&&t?(t.name&&t.name.value&&(r.user_name=t.name.value),t.email&&t.email.value&&(r.user_email=t.email.value),t.phone&&t.phone.value&&(r.user_phone=t.phone.value)):"logout"===e&&(r={user_name:null,user_email:null,user_organization:null,user_phone:null}),(0,n.fillCustomData)(r)}},77319(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.POLLING_INTERVAL=void 0,Object.defineProperty(t,"classic",{enumerable:!0,get:function(){return s.classic}}),t.default=void 0,t.fillCustomData=function(e){Object.keys(e).length&&(i.default.customData=e)},Object.defineProperty(t,"messenger",{enumerable:!0,get:function(){return a.messenger}}),Object.defineProperty(t,"sunshine",{enumerable:!0,get:function(){return c.sunshine}}),t.swizzlezE=function(){const e=window.zE;window.zE=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const[o,c,l]=r;if("webWidget"===o&&(0,s.updateCustomData)(c,l),"messenger"===o&&(0,a.updateCustomData)(c,l),"messenger:set"===o&&"conversationTags"===c){let e=l;if(e&&e.length){const t=i.default.deviceId();e=[...e,"cobrowseio_deviceid_".concat(t)],r[2]=e,window.zE.__cobrowseio_zendesk_tags_set=!0}}return e(...r)};for(const t in e)window.zE[t]=e[t]},Object.defineProperty(t,"zopim",{enumerable:!0,get:function(){return o.zopim}}),r(62953);var n,i=(n=r(85620))&&n.__esModule?n:{default:n},o=r(34808),s=r(71907),a=r(96040),c=r(70);t.POLLING_INTERVAL=2e3,t.default={messenger:a.messenger,classic:s.classic,sunshine:c.sunshine,zopim:o.zopim}},96040(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.messenger=function(){(0,o.swizzlezE)();try{"true"===sessionStorage.getItem("ZD-widgetOpen")?f().then(c):window.zE("messenger:on","open",()=>{f().then(c)})}catch(e){console.error("Error syncing Cobrowse.io with Zendesk (messenger), please contact hello@cobrowse.io for help!"),console.warn(e)}},t.updateCustomData=a,r(16280),r(18111),r(20116),r(27495);var n,i=(n=r(85620))&&n.__esModule?n:{default:n},o=r(77319);let s=window.localStorage;function a(e,t){let r={};"identify"===e&&t?r={zendesk_web_user_id:t.appUserId,cobrowseio_deviceid:t.deviceId}:"logoutUser"===e&&(r={user_name:null,user_email:null,user_organization:null,user_phone:null,zendesk_web_user_id:null,zendesk_user_id:null,zendesk_ticket_id:null}),(0,o.fillCustomData)(r)}function c(){const e=l();if(!e)throw new Error("Missing client ID (ZD-buid)");const t=u(e);if(!t)throw new Error("Instance ID could not be found");const r=d(t);window.zE.__cobrowseio_zendesk_tags_set||window.zE("messenger:set","conversationTags",["cobrowseio_deviceid_".concat(i.default.deviceId())]),a("identify",{appUserId:r,deviceId:i.default.deviceId()})}function l(){return s.getItem("ZD-buid")}function u(e){var t;return null===(t=Object.keys(s).find(t=>t.match(/\w+\.clientId/)&&s[t]===e))||void 0===t||null===(t=t.split("."))||void 0===t?void 0:t[0]}function d(e){return s.getItem("".concat(e,".appUserId"))}function f(){const e=(t,r)=>{s=sessionStorage.getItem("ZD-buid")?window.sessionStorage:window.localStorage;const n=d(u(l()));n?t(n):setTimeout(e,o.POLLING_INTERVAL,t,r)};return new Promise(e)}},70(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sunshine=function(){try{window.Smooch.on("widget:opened",()=>{(function(){const e=(t,r)=>{const i=o();i?t(i):setTimeout(e,n.POLLING_INTERVAL,t,r)};return new Promise(e)})().then(i)})}catch(e){console.error("Error syncing Cobrowse.io with Zendesk (Sunshine Conversations), please contact hello@cobrowse.io for help!"),console.warn(e)}};var n=r(77319);function i(){!function(e){const t={zendesk_web_user_id:e.appUserId};(0,n.fillCustomData)(t)}({appUserId:o()})}function o(){var e;return null===(e=window.Smooch.getUser())||void 0===e?void 0:e.id}},34808(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zopim=function(){try{if("function"!=typeof window.$zopim)throw new Error("expected window.$zopim to a be a function");window.$zopim(function(){o("Initializing zendesk integration"),window.$zopim.livechat.addTags("cobrowseio_deviceid_".concat(n.default.deviceId())),n.default.customData={cobrowseio_deviceid:n.default.deviceId()}})}catch(e){console.error("Error syncing Cobrowse.io with Zendesk Chat, please contact hello@cobrowse.io for help!"),console.warn(e)}},r(16280);var n=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.Integrations.Zendesk")},64033(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=o(r(44153)),i=o(r(11191));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t){return e.get(l(e,t))}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var u=new WeakMap,d=new WeakMap;t.default=class{constructor(e){var t,r;a(this,u,void 0),a(this,d,()=>{const e=i.default.unproxify(window.location.href),t=new URL((()=>{const e=document.querySelectorAll('link[rel="icon"]');return e.length>0?e[0].href:"/favicon.ico"})(),e).href;c(u,this).call(this,{url:e,icon:i.default.proxify(t),title:document.title,isLoading:"complete"!==document.readyState,isBlocked:!1})}),s(this,"sendLoading",e=>{c(u,this).call(this,{url:e,icon:"",title:"",isLoading:!0,isBlocked:!1})}),s(this,"sendBlocked",e=>{c(u,this).call(this,{url:e,icon:"",title:"",isLoading:!1,isBlocked:!0})}),s(this,"destroy",()=>{n.default.off("navigate",c(d,this)),window.removeEventListener("popstate",c(d,this),{capture:!0}),document.removeEventListener("readystatechange",c(d,this),{capture:!0})}),r=e,(t=u).set(l(t,this),r),n.default.on("navigate",c(d,this)),window.addEventListener("popstate",c(d,this),{capture:!0}),document.addEventListener("readystatechange",c(d,this),{capture:!0}),c(d,this).call(this)}}},3133(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(61701),r(13579),r(62953);var n=d(r(51227)),i=d(r(37007)),o=r(42074),s=d(r(26356)),a=d(r(80207)),c=d(r(86542)),l=d(r(76575)),u=d(r(77966));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function h(e,t){return e.get(p(e,t))}function p(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const _="_cobrowse_active_highlight",v=(0,n.default)("cbio.HighlightTracking");var E=new WeakMap,m=new WeakSet;class g extends i.default{constructor(){var e;super(...arguments),f(this,e=m),e.add(this),function(e,t,r){f(e,t),t.set(e,r)}(this,E,new a.default),function(e,t,r){(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(this,"highlightAndWait",async(e,t)=>{const r=t.id;(0,c.default)().setItem(_,r),h(E,this).monitor();try{if(!await this.highlight(e,t))return v("highlight did not run"),void p(m,this,y).call(this,{id:r,state:"not-found"});await s.default.ensureNoNavigation(),await h(E,this).waitUntilStable(),p(m,this,y).call(this,{id:r,state:"resolved"})}finally{h(E,this).destroy()}})}async highlight(e,t){return!!await l.default.highlight(e,t)||(await Promise.all(u.default.trustedIframes.map(async e=>{const r=new o.IFrameRPC(u.default,e.contentWindow);try{return await r.send("highlight",t)}finally{r.destroy()}}))).some(Boolean)}resolvePendingHighlight(){const e=(0,c.default)().getItem(_);e&&(v("resolving pending highlight",e),p(m,this,y).call(this,{id:e,state:"resolved"}))}}function y(e){(0,c.default)().removeItem(_),this.emit("end",e)}t.default=new g},56913(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=r(37007),i=c(r(44383)),o=c(r(7350)),s=r(66938);const a=["id","redaction"];function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){return e.get(function(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}(e,t))}var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap;class m extends n.EventEmitter{constructor(){var e;super(...arguments),e=this,d(this,"track",e=>{e.addEventListener("click",f(_,this),{capture:!0,passive:!0}),e.addEventListener("change",f(v,this),{capture:!0,passive:!0}),e.addEventListener("input",f(E,this),{capture:!0,passive:!0})}),d(this,"untrack",e=>{e.removeEventListener("click",f(_,this),{capture:!0,passive:!0}),e.removeEventListener("change",f(v,this),{capture:!0,passive:!0}),e.removeEventListener("input",f(E,this),{capture:!0,passive:!0})}),u(this,h,e=>{const t=s.NodeTracker.get(e);if(!t)return;return s.NodeSerializer.serialize(e,void 0,{skipChildren:!0})||{id:t,redaction:!0}}),u(this,p,function(t){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=f(h,e).call(e,t);if(!n)return n;const{id:o,redaction:s}=n,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(n,a);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({id:o,redacted:Boolean(s)},r&&(0,i.default)(c,["value","checked"]))}),u(this,_,e=>{if(!e.isTrusted)return;const t=f(p,this).call(this,e.target);t&&this.emit("click",t)}),u(this,v,e=>{const t=f(p,this).call(this,e.target,!0);t&&this.emit("change",t)}),u(this,E,(0,o.default)(e=>{const t=f(p,this).call(this,e.target,!0);t&&this.emit("input",t)},250))}}t.default=new m},86350(e,t,r){"use strict";r(44114),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(22489),r(18237),r(62953);var n,i=(n=r(7350))&&n.__esModule?n:{default:n},o=r(86780);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=new class{constructor(){c(this,"_mousePosition",{x:-1,y:-1}),c(this,"_mouseIsDown",!1),c(this,"_mouseIsIn",!1),c(this,"track",e=>{e.addEventListener("mousedown",this._onMouseDown,{capture:!0,passive:!0}),e.addEventListener("mouseup",this._onMouseUp,{capture:!0,passive:!0}),e.addEventListener("mouseenter",this._onMouseEnter,{capture:!0,passive:!0}),e.addEventListener("mouseleave",this._onMouseLeave,{capture:!0,passive:!0}),e.addEventListener("mousemove",this._onMouseMove,{capture:!0,passive:!0})}),c(this,"untrack",e=>{e.removeEventListener("mousedown",this._onMouseDown,{capture:!0,passive:!0}),e.removeEventListener("mouseup",this._onMouseUp,{capture:!0,passive:!0}),e.removeEventListener("mouseenter",this._onMouseEnter,{capture:!0,passive:!0}),e.removeEventListener("mouseleave",this._onMouseLeave,{capture:!0,passive:!0}),e.removeEventListener("mousemove",this._onMouseMove,{capture:!0,passive:!0})}),c(this,"isDown",()=>this._mouseIsDown),c(this,"setDown",e=>{this._mouseIsDown=e,this.onChange&&this.onChange(this.state())}),c(this,"isIn",()=>this._mouseIsIn>0),c(this,"position",()=>this._mousePosition),c(this,"setPosition",(e,t,r)=>{if(r){const n=[r,...(0,o.parents)(r).filter(e=>{var t;return null===(t=e.matches)||void 0===t?void 0:t.call(e,"iframe")})].map(e=>e.getBoundingClientRect()).reduce((e,t)=>({x:e.x+t.x,y:e.y+t.y}),{x:0,y:0});e+=Math.round(n.x),t+=Math.round(n.y)}this._mousePosition={x:e,y:t},this.onChange&&this.onChange(this.state())}),c(this,"state",()=>a(a({},this.position()),{},{down:this.isDown(),in:this.isIn()})),c(this,"_onMouseDown",e=>{e.isTrusted&&this.setDown(!0)}),c(this,"_onMouseUp",e=>{e.isTrusted&&this.setDown(!1)}),c(this,"_onMouseEnter",e=>{e.isTrusted&&(this._mouseIsIn+=1)}),c(this,"_onMouseLeave",e=>{e.isTrusted&&e.target===e.currentTarget&&(this._mouseIsIn-=1)}),c(this,"_onMouseMove",(0,i.default)(e=>{if(!e.isTrusted)return;const{clientX:t,clientY:r}=e,n=e.view&&e.view.frameElement;this.setPosition(t,r,n)},100))}}},27771(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=r(37007),i=r(80608),o=s(r(86542));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t,r){return e.set(d(e,t),r),r}function u(e,t){return e.get(d(e,t))}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const f=(0,s(r(51227)).default)("cbio.WindowTracking"),h="_cobrowse_window_id";var p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap;class m extends n.EventEmitter{constructor(){super(...arguments),c(this,p,g._.call(m)),c(this,_,!1),c(this,v,!1),a(this,"start",()=>{u(v,this)||(l(v,this,!0),f("started"),u(E,this).call(this),document.addEventListener("visibilitychange",u(E,this),{capture:!0}),document.addEventListener("mouseover",u(E,this),{capture:!0}))}),a(this,"stop",()=>{f("stopped"),this.removeAllListeners(),l(v,this,!1),document.removeEventListener("visibilitychange",u(E,this),{capture:!0}),document.removeEventListener("mouseover",u(E,this),{capture:!0})}),a(this,"isActive",()=>(0,o.default)().getItem(h)===this.id),a(this,"setTracksIframes",e=>{l(_,this,e),u(E,this).call(this)}),a(this,"shouldTrack",()=>!document.hidden&&(!(window.self!==window.top)||u(_,this))),a(this,"makeActive",()=>{this.isActive()||(f("making active",window),(0,o.default)().setItem(h,this.id),this.emit("activate",window))}),a(this,"resignActive",()=>{this.isActive()&&(f("resigning active",window),(0,o.default)().setItem(h,null))}),c(this,E,()=>{this.shouldTrack()&&this.makeActive(),this.emit("updated")})}get id(){return u(p,this)}}var g={_:()=>(document.__cobrowse_window_id=document.__cobrowse_window_id||(0,i.v4)(),document.__cobrowse_window_id)};t.default=new m},45264(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HighlightTracking",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"InteractionTracking",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"MouseTracking",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"WindowTracking",{enumerable:!0,get:function(){return i.default}});var n=a(r(86350)),i=a(r(27771)),o=a(r(56913)),s=a(r(3133));function a(e){return e&&e.__esModule?e:{default:e}}},11771(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CALL_STATES=void 0,r(16280),r(62953);var n,i=(n=r(37007))&&n.__esModule?n:{default:n},o=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(37609));function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t){return e.get(u(e,t))}function l(e,t,r){return e.set(u(e,t),r),r}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const d="_cobrowse_calling_joined",f=t.CALL_STATES={OFF:"off",REQUESTED:"requested",REJECTED:"rejected",ON:"on"};var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap;class L extends i.default{constructor(e){super(),a(this,h,void 0),a(this,p,void 0),a(this,_,void 0),a(this,v,void 0),a(this,E,void 0),a(this,m,void 0),a(this,g,void 0),s(this,"getTracks",()=>c(p,this).stream.getTracks()),s(this,"addTrack",e=>{c(p,this)[o.default].addTrack(e)}),s(this,"removeTrack",e=>{c(p,this)[o.default].removeTrack(e)}),s(this,"request",()=>{c(y,this).call(this),c(E,this).call(this,f.REQUESTED)}),s(this,"reject",()=>{c(E,this).call(this,f.REJECTED)}),s(this,"answer",()=>{c(y,this).call(this),c(E,this).call(this,f.ON)}),s(this,"end",()=>{c(E,this).call(this,f.OFF)}),a(this,y,()=>{const e=this.hasJoined;c(v,this).setItem(d,c(_,this)),e!==this.hasJoined&&c(I,this).call(this)}),a(this,I,async()=>{this.emit("updated",this)}),a(this,w,(0,o.protect)(this,"receiveSessionUpdate",(e,t)=>{var r,n,i;const o=c(m,this)!==e,s=(null!==(r=null===(n=c(g,this))||void 0===n?void 0:n.id)&&void 0!==r?r:null)!==(null!==(i=null==t?void 0:t.id)&&void 0!==i?i:null);l(m,this,e),l(g,this,t),(o||s)&&c(I,this).call(this)})),a(this,b,(0,o.protect)(this,"destroy",()=>{c(v,this).removeItem(d)})),l(h,this,e.getParticipants),l(p,this,e.localParticipant),l(_,this,e.sessionId),l(v,this,e.storage),l(E,this,e.updateCalling)}get state(){return c(m,this)}get caller(){return c(g,this)}get hasJoined(){return c(v,this).getItem(d)===c(_,this)}get participants(){return c(h,this).call(this)}}t.default=L},86420(e,t,r){"use strict";r(44114),r(22489),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(62953);var n=u(r(2404)),i=u(r(77988)),o=r(33035),s=u(r(86542)),a=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(93646)),c=r(45264),l=r(11771);function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){h(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function h(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function _(e,t){return e.get(E(e,t))}function v(e,t,r){return e.set(E(e,t),r),r}function E(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap,T=new WeakMap,P=new WeakMap;t.default=class{constructor(e){p(this,m,void 0),p(this,g,void 0),p(this,y,void 0),p(this,I,void 0),p(this,w,void 0),p(this,b,void 0),p(this,L,async()=>{v(g,this,new a.default((0,s.default)()));const e={call:_(m,this),mediaSettings:_(g,this),showSettingsDialog:_(A,this)};v(y,this,new o.CallDialog(e)),!_(S,this).call(this)||await _(C,this).call(this)?(v(I,this,new o.CallParticipants(e)),_(g,this).on("updated",_(O,this)),c.WindowTracking.on("activate",_(T,this)),_(m,this).on("updated",_(N,this)),_(N,this).call(this,_(m,this))):_(m,this).end()}),p(this,S,()=>{const{state:e,hasJoined:t}=_(m,this);if(e===l.CALL_STATES.ON&&t&&c.WindowTracking.isActive()){const{audioEnabled:e,videoEnabled:t}=_(g,this).settings;return!e&&!t&&!navigator.userActivation.hasBeenActive}return!1}),p(this,C,async()=>{const{action:e,settings:t}=await _(y,this).show({title:i.default.tr("CALLING_JOIN"),description:i.default.tr("CALLING_REJOIN_PROMPT"),primaryTitle:i.default.tr("CALLING_JOIN"),secondaryTitle:i.default.tr("CALLING_END")}),r="primary"===e;return r&&_(g,this).update(t),_(y,this).hide(),r}),p(this,A,async()=>{const{action:e,settings:t}=await _(y,this).show({title:null,description:null,primaryTitle:i.default.tr("CALLING_SAVE"),secondaryTitle:i.default.tr("CALLING_CANCEL")});"primary"===e&&_(g,this).update(t),_(y,this).hide()}),p(this,O,()=>{_(P,this).call(this,_(g,this).settings)}),p(this,N,e=>{let{state:t,hasJoined:r}=e;t===l.CALL_STATES.ON&&r&&c.WindowTracking.isActive()&&_(P,this).call(this,_(g,this).settings)}),p(this,T,()=>{const{state:e,hasJoined:t}=_(m,this);e===l.CALL_STATES.ON&&t&&(_(g,this).reloadFromStorage(),_(P,this).call(this,_(g,this).settings))}),p(this,P,async e=>{const{audioEnabled:t,videoEnabled:r}=e;if(t||v(w,this,null),r||v(b,this,null),_(m,this).getTracks().forEach(e=>{t||"audio"!==e.kind||_(m,this).removeTrack(e),r||"video"!==e.kind||_(m,this).removeTrack(e)}),!t&&!r)return;if(!navigator.mediaDevices)return console.warn("CobrowseIO: Failed to start, mediaDevices is not available"),void _(g,this).update({audioEnabled:!1,videoEnabled:!1});const i=(0,a.createAudioConstraints)(e),o=(0,a.createVideoConstraints)(e),s=t&&!(0,n.default)(_(w,this),i),c=r&&!(0,n.default)(_(b,this),o);if(!s&&!c)return;const l=f(f({},s?i:{}),c?o:{});try{(await navigator.mediaDevices.getUserMedia(l)).getTracks().forEach(e=>{const t="audio"===e.kind&&_(g,this).settings.audioEnabled,r="video"===e.kind&&_(g,this).settings.videoEnabled;t||r?(_(m,this).addTrack(e),t&&v(w,this,i),r&&v(b,this,o)):e.stop()})}catch(e){console.warn("CobrowseIO: Failed to get media",e),_(g,this).update({videoEnabled:!1,audioEnabled:!1})}}),h(this,"destroy",()=>{var e,t,r;null===(e=_(g,this))||void 0===e||e.off("updated",_(O,this)),v(g,this,null),null===(t=_(y,this))||void 0===t||t.destroy(),v(y,this,null),null===(r=_(I,this))||void 0===r||r.destroy(),v(I,this,null),c.WindowTracking.off("activate",_(T,this)),_(m,this).off("updated",_(N,this))}),v(m,this,e),_(L,this).call(this)}}},67427(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(22489),r(7588),r(61701),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=d(r(51227)),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(11771)),o=r(45264),s=d(r(86420)),a=d(r(16667)),c=d(r(37609)),l=r(30310),u=r(13778);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t,r){p(e,t),t.set(e,r)}function p(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _(e,t,r){return r(m(e,t))}function v(e,t){return e.get(m(e,t))}function E(e,t,r){return e.set(m(e,t),r),r}function m(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const g=(0,n.default)("cbio.Calling.Calling");var y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap,T=new WeakMap,P=new WeakMap,R=new WeakMap,M=new WeakMap,k=new WeakMap,D=new WeakMap,x=new WeakSet,j=new WeakMap,G=new WeakMap,U=new WeakMap,W=new WeakMap,V=new WeakMap,z=new WeakMap,F=new WeakMap,B=new WeakMap,H=new WeakMap;function Y(e){const t=v(M,e).values().filter(t=>v(k,e).has(t.id));return[v(R,e),...t]}t.default=class{constructor(e){var t;p(this,t=x),t.add(this),h(this,y,void 0),h(this,I,void 0),h(this,w,void 0),h(this,b,void 0),h(this,L,void 0),h(this,S,void 0),h(this,C,void 0),h(this,A,void 0),h(this,O,void 0),h(this,N,void 0),h(this,T,void 0),h(this,P,void 0),h(this,R,void 0),h(this,M,new Map),h(this,k,new Set),h(this,D,void 0),f(this,"handleSessionUpdate",(e,t)=>{e!==i.CALL_STATES.OFF?(v(T,this)||(E(R,this,new u.LocalCallParticipant({id:v(A,this),agentId:v(C,this)})),E(T,this,new i.default({getParticipants:()=>_(x,this,Y),localParticipant:v(R,this),sessionId:v(y,this),storage:(0,a.default)(),updateCalling:v(I,this)})),v(T,this).on("updated",v(j,this)),v(j,this).call(this,v(T,this))),v(T,this)[c.default].receiveSessionUpdate(e,t),v(P,this)||E(P,this,new s.default(v(T,this)))):v(U,this).call(this)}),h(this,j,e=>{let{state:t,hasJoined:r}=e;t===i.CALL_STATES.ON&&r&&v(G,this).call(this)}),h(this,G,async()=>{if(!v(D,this)&&!v(N,this))try{E(D,this,!0);const e=await v(w,this).call(this);E(N,this,new l.PeerManager(v(O,this),e)),v(b,this).on("join",v(W,this)),v(b,this).on("leave",v(V,this)),await Promise.all(v(b,this).all().map(e=>{let{id:t,agent:r}=e;return v(N,this).createPeer(v(A,this),t,r)})),v(N,this).on("peer.created",v(z,this)),v(N,this).on("peer.removed",v(F,this)),v(N,this).on("peer.connection.updated",v(B,this)),await Promise.all(v(N,this).peers.map(v(z,this)))}finally{E(D,this,!1)}}),h(this,U,()=>{var e,t,r,n,i,o,s,a;v(b,this).off("join",v(W,this)),v(b,this).off("leave",v(V,this)),v(M,this).forEach((e,t)=>{e[c.default].destroy(),v(M,this).delete(t)}),null===(e=v(R,this))||void 0===e||e[c.default].destroy(),E(R,this,null),null===(t=v(N,this))||void 0===t||t.off("peer.created",v(z,this)),null===(r=v(N,this))||void 0===r||r.off("peer.removed",v(F,this)),null===(n=v(N,this))||void 0===n||n.off("peer.connection.updated",v(B,this)),null===(i=v(N,this))||void 0===i||i.destroy(),E(N,this,null),null===(o=v(P,this))||void 0===o||o.destroy(),E(P,this,null),null===(s=v(T,this))||void 0===s||s.off("updated",v(j,this)),null===(a=v(T,this))||void 0===a||a[c.default].destroy(),E(T,this,null)}),h(this,W,e=>{var t;let{id:r,agent:n}=e;const i=null!=n?n:null;null===(t=v(N,this))||void 0===t||t.createPeer(v(b,this).id,r,i)}),h(this,V,e=>{var t;null===(t=v(N,this))||void 0===t||t.removePeer(e)}),h(this,z,e=>{if(v(M,this).has(e.id))return;const t=new u.RemoteCallParticipant({id:e.id,agentId:e.agentId,peer:e,localParticipant:v(R,this)});var r;v(M,this).set(e.id,t),e.isConnected&&(v(k,this).add(e.id),null===(r=v(T,this))||void 0===r||r.emit("participants.updated",_(x,this,Y)))}),h(this,F,e=>{const t=v(M,this).get(e);if(!t)return g("unknown participant",e);var r;t[c.default].destroy(),v(M,this).delete(e),v(k,this).has(e)&&(v(k,this).delete(e),null===(r=v(T,this))||void 0===r||r.emit("participants.updated",_(x,this,Y)))}),h(this,B,e=>{var t;e.isConnected?v(k,this).add(e.id):v(k,this).delete(e.id),null===(t=v(T,this))||void 0===t||t.emit("participants.updated",_(x,this,Y))}),h(this,H,()=>{const{state:e,hasJoined:t}=v(T,this)||{};var r;e===i.CALL_STATES.ON&&t&&(null===(r=v(N,this))||void 0===r||r.reconnectPeers())}),f(this,"destroy",()=>{var e;v(U,this).call(this),null===(e=v(O,this))||void 0===e||e.destroy(),E(O,this,null),o.WindowTracking.off("activate",v(H,this))}),E(y,this,e.sessionId),E(I,this,e.updateCalling),E(w,this,e.fetchIceServers),E(b,this,e.clientTracker),E(L,this,e.socket),E(C,this,e.agentId),E(A,this,e.clientTracker.id),E(O,this,new l.Signalling(v(L,this),e=>{let{clientId:t}=e;return v(A,this)===t&&o.WindowTracking.isActive()})),o.WindowTracking.on("activate",v(H,this))}get call(){return v(T,this)}}},93646(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.createVideoConstraints=t.createAudioConstraints=void 0,r(16280),r(62953);var n,i=(n=r(37007))&&n.__esModule?n:{default:n};function o(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function s(e,t){return e.get(c(e,t))}function a(e,t,r){return e.set(c(e,t),r),r}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f="_cobrowse_media_settings",h={videoEnabled:!1,videoInputDeviceId:"default",audioEnabled:!1,audioInputDeviceId:"default",audioOutputDeviceId:"default"},p={width:{ideal:1280},height:{ideal:720}};t.createAudioConstraints=e=>{let{audioEnabled:t,audioInputDeviceId:r}=e;const n="default"===(r||"default")?"ideal":"exact";return{audio:!!t&&{deviceId:{[n]:r}}}},t.createVideoConstraints=e=>{let{videoEnabled:t,videoInputDeviceId:r}=e;const n="default"===(r||"default")?"ideal":"exact";return{video:!!t&&u(u({},p),{},{deviceId:{[n]:r}})}};var _=new WeakMap,v=new WeakMap,E=new WeakMap;class m extends i.default{constructor(e){super(),o(this,_,null),o(this,v,void 0),o(this,E,void 0),a(_,this,u(u({},h),e.getItem(f))),a(v,this,t=>e.setItem(f,t)),a(E,this,()=>this.update(e.getItem(f)))}get settings(){return u({},s(_,this))}update(e){var t;let r=!1;for(const[t,n]of Object.entries(e))void 0!==n&&t in s(_,this)&&s(_,this)[t]!==n&&(s(_,this)[t]=n,r=!0);r&&(null===(t=s(v,this))||void 0===t||t.call(this,s(_,this)),this.emit("updated",this))}toggleAudio(){this.update({audioEnabled:!s(_,this).audioEnabled})}toggleVideo(){this.update({videoEnabled:!s(_,this).videoEnabled})}reloadFromStorage(){s(E,this).call(this)}}t.default=m},24719(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Calling",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(67427))&&n.__esModule?n:{default:n}},44411(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(13579),r(62953);var n=r(37007),i=r(37609);function o(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function s(e,t){return e.get(c(e,t))}function a(e,t,r){return e.set(c(e,t),r),r}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap;class _ extends n.EventEmitter{constructor(e){let{id:t,agentId:r}=e;super(),o(this,l,void 0),o(this,u,void 0),o(this,d,void 0),o(this,f,(0,i.protect)(this,"_addTrack",e=>{s(d,this).getTrackById(e.id)||(s(d,this).getTracks().forEach(t=>{t.kind===e.kind&&s(d,this).removeTrack(t)}),s(d,this).addTrack(e),this.emit("track.added",e))})),o(this,h,(0,i.protect)(this,"_removeTrack",e=>{s(d,this).getTracks().some(t=>t.id===e.id)&&(e.stop(),s(d,this).removeTrack(e),this.emit("track.removed",e))})),o(this,p,(0,i.protect)(this,"_destroy",()=>{s(d,this).getTracks().forEach(e=>{e.stop(),s(d,this).removeTrack(e)})})),a(l,this,t),a(u,this,r),a(d,this,new MediaStream)}get id(){return s(l,this)}get agentId(){return s(u,this)}get stream(){return s(d,this)}get hasAudio(){return s(d,this).getAudioTracks().some(e=>"live"===e.readyState)}get hasVideo(){return s(d,this).getVideoTracks().some(e=>"live"===e.readyState)}}t.default=_},32656(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=s(r(51227)),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(37609)),o=s(r(44411));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}const c=(0,n.default)("cbio.Calling.LocalCallParticipant");var l=new WeakMap,u=new WeakMap,d=new WeakMap;class f extends o.default{constructor(e){let{id:t,agentId:r}=e;super({id:t,agentId:r}),a(this,l,(0,i.protect)(this,"addTrack",e=>{c("adding track with kind",e.kind,"to local participant",this.id),this[i.default]._addTrack(e)})),a(this,u,(0,i.protect)(this,"removeTrack",e=>{c("removing track with kind",e.kind,"from local participant",this.id),this[i.default]._removeTrack(e)})),a(this,d,(0,i.protect)(this,"destroy",()=>{this[i.default]._destroy()}))}}t.default=f},81849(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(13579),r(62953);var n=s(r(51227)),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(37609)),o=s(r(44411));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t){return e.get(u(e,t))}function l(e,t,r){return e.set(u(e,t),r),r}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const d=(0,n.default)("cbio.Calling.RemoteCallParticipant");var f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap;class b extends o.default{constructor(e){var t;let{id:r,agentId:n,peer:o,localParticipant:s}=e;super({id:r,agentId:n}),t=this,a(this,f,void 0),a(this,h,void 0),a(this,p,()=>{const{stream:e,hasAudio:t,hasVideo:r}=c(h,this);(t||r)&&e.getTracks().forEach(t=>{c(y,this).call(this,t,e)})}),a(this,_,()=>{c(p,this).call(this)}),a(this,v,e=>{c(y,this).call(this,e,c(h,this).stream)}),a(this,E,e=>{c(I,this).call(this,e)}),a(this,m,e=>{this[i.default]._addTrack(e)}),a(this,g,e=>{this[i.default]._removeTrack(e)}),a(this,y,function(e){d("adding track with kind",e.kind,"to remote participant",t.id);const{connection:r}=c(f,t);if(r.getSenders().some(t=>{var r;return(null===(r=t.track)||void 0===r?void 0:r.id)===e.id}))return d("track already exists");for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r.addTrack(e,...i)}),a(this,I,e=>{d("removing track with kind",e.kind,"from remote participant",this.id);const{connection:t}=c(f,this);t.getSenders().forEach(r=>{var n;(null===(n=r.track)||void 0===n?void 0:n.id)===e.id&&t.removeTrack(r)})}),a(this,w,(0,i.protect)(this,"destroy",()=>{this[i.default]._destroy(),c(f,this).off("connection.created",c(_,this)),c(f,this).off("track.added",c(m,this)),c(f,this).off("track.removed",c(g,this)),c(h,this).off("track.added",c(v,this)),c(h,this).off("track.removed",c(E,this))})),l(f,this,o),l(h,this,s),c(f,this).on("connection.created",c(_,this)),c(f,this).on("track.added",c(m,this)),c(f,this).on("track.removed",c(g,this));const{connection:u}=c(f,this);u.getReceivers().forEach(e=>{e.track&&c(m,this).call(this,e.track)}),c(h,this).on("track.added",c(v,this)),c(h,this).on("track.removed",c(E,this)),c(p,this).call(this)}}t.default=b},13778(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LocalCallParticipant",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"RemoteCallParticipant",{enumerable:!0,get:function(){return i.default}});var n=o(r(32656)),i=o(r(81849));function o(e){return e&&e.__esModule?e:{default:e}}},61789(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RegistrationPath=t.DeviceIdPath=void 0,r(16280),r(44114),r(18111),r(20116),r(27495),r(25440),r(79978),r(62953),r(55815),r(64979),r(79739),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(80608),i=r(40492),o=r(42074),s=u(r(86542)),a=u(r(56851)),c=u(r(18781)),l=r(57089);function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function h(e,t){return e.get(_(e,t))}function p(e,t,r){return e.set(_(e,t),r),r}function _(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const v=(0,u(r(51227)).default)("cbio.Device"),E=t.DeviceIdPath="_cobrowse_device_id",m=t.RegistrationPath="_cobrowse_device_registration";var g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap,T=new WeakMap;class P extends i.RESTResource{constructor(e){var t;if(super(),t=this,f(this,g,void 0),f(this,y,void 0),f(this,I,void 0),f(this,w,!1),f(this,b,void 0),d(this,"url",()=>new URL("api/1/devices/".concat(this.id()),P.api).toString()),d(this,"reset",function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];v("resetting device"),clearTimeout(h(I,t)),p(I,t,null),e||(0,s.default)().removeItem(m),h(g,t)&&(h(g,t).close(),p(g,t,null))}),d(this,"destroy",async()=>(v("destroying device"),this.reset(),super.destroy())),d(this,"hasPendingUpdates",()=>{const e=this.field("custom_data")||{},t=h(b,this).customData||{};return!!Object.keys(t).find(r=>e[r]!==t[r])}),f(this,L,()=>{if(!h(b,this).license)throw new Error("License required to generate storage key");return"".concat(h(b,this).license,":").concat(P.api)}),d(this,"_saveRegistration",()=>{const e=this.field("next_registration")||3600,t=(new Date).getTime();"number"!=typeof Date.now()&&console.error("Unexpected type returned for Date.now(), expecting number got ".concat(typeof Date.now())),"number"!=typeof t&&console.error("Unexpected type for getTime() of Date, expecting number got ".concat(typeof t));const r={notification_url:this.field("notification_url"),notification_token:this.field("notification_token"),custom_data:this.field("custom_data"),next_registration_time:t+1e3*e};return this.cache({next_registration_time:r.next_registration_time}),(0,s.default)(h(L,this).call(this)).setItem(m,r),this}),d(this,"_loadRegistration",()=>{if(h(w,this))return;p(w,this,!0);const e=(0,s.default)(h(L,this).call(this)).getItem(m);e&&(v("restoring registration",e),this.cache(e))}),d(this,"updateRegistration",async e=>{if(h(y,this).limit())throw new Error("Cobrowse update rate limit exceeded. Maybe you're updating custom data too often?");return v("updating registration"),await this.update({device:P.info,custom_data:h(b,this).customData},e),h(T,this).call(this),this._saveRegistration(),this.emit("register"),this}),d(this,"runRegistrationLoop",async()=>{v("starting registrations"),this._loadRegistration(),this.reset(!0),(this.hasPendingUpdates()||this.nextRegistration()<=0)&&await this.updateRegistration().catch(()=>{}),h(T,this).call(this),h(S,this).call(this)}),d(this,"pauseRegistrationLoop",async()=>{v("pausing registrations"),this.reset(!0)}),d(this,"nextRegistration",()=>(this.field("next_registration_time")||0)-(new Date).getTime()),d(this,"clone",()=>{const e=new P(h(b,this));return super.clone(e),e}),d(this,"_nextUpdate",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Math.max(Math.min(6e4*e,36e5),t.nextRegistration())}),f(this,S,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(h(I,t))return void console.error("CobrowseIO: tried to schedule registration while already scheduled");const r=t._nextUpdate(e);p(I,t,setTimeout(async()=>{if(!h(I,t))return console.error("Registration loop cancelled");try{return await t.updateRegistration(),p(I,t,!1),h(S,t).call(t)}catch(r){return console.warn("CobrowseIO: registration failed",r),p(I,t,!1),h(S,t).call(t,e+1)}},Math.max(1e3,r)))}),f(this,C,()=>{const e=this.field("notification_url");return(0,a.default)(e)}),f(this,A,()=>{const e=this.field("notification_token");return["cbio.http.headers.authorization.bearer.".concat(window.btoa(e).replaceAll("=",""))]}),f(this,O,()=>{h(g,this)||(p(g,this,new o.CBORSocket({getUrl:h(C,this),getProtocols:h(A,this)})),h(g,this).setMaxReconnectDelay(6e4),h(g,this).on("error",e=>{e&&console.warn("CobrowseIO notification socket error:",e)}),h(g,this).on("event",(e,t)=>{"notification"===e?this.emit("notification",t):"probe"===e&&h(g,this).send("alive",t)}),h(g,this).on("open",()=>{h(g,this).send("filter",{events:["probe","notification"]})}))}),f(this,N,()=>{h(g,this)&&(console.log("CobrowseIO: Closing socket"),h(g,this).close(),p(g,this,null))}),f(this,T,()=>{const e=this.field("notification_url"),t=this.field("notification_token");e&&t?h(O,this).call(this):h(N,this).call(this)}),v("constructed"),!e)throw new Error("Device delegate is required");p(b,this,e),p(y,this,new c.default(10,12e4))}id(){return P.deviceId()}get customData(){return this.field("custom_data")||{}}static deviceCredentials(){let e=(0,s.default)().getItem(E)||{};return"string"==typeof e&&(e={id:e}),"object"!=typeof e&&(e={}),e.id||(e.id=(0,n.v4)()),e.token||(e.token=(0,n.v4)()),(0,s.default)().setItem(E,e),e}static deviceId(){return this.deviceCredentials().id}static deviceToken(){return this.deviceCredentials().token}static get info(){const e=[l.SESSION_CAPABILITY_TYPE_POINTER,l.SESSION_CAPABILITY_TYPE_SCROLL,l.SESSION_CAPABILITY_TYPE_SELECT,l.SESSION_CAPABILITY_TYPE_KEYPRESS,l.SESSION_CAPABILITY_TYPE_DRAWING,l.SESSION_CAPABILITY_TYPE_ARROWS,l.SESSION_CAPABILITY_TYPE_RECTANGLES,l.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK,l.SESSION_CAPABILITY_TYPE_LASER,l.SESSION_CAPABILITY_TYPE_CURSOR,l.SESSION_CAPABILITY_TYPE_UNIVERSAL,l.SESSION_CAPABILITY_TYPE_HIGHLIGHT,l.SESSION_CAPABILITY_TYPE_CALLING];return/Android|webOS|iPhone|iPad|iPod|Opera Mini/i.test(window.navigator.userAgent)||e.push(l.SESSION_CAPABILITY_TYPE_FULL_DEVICE),{platform:"web",device:window.navigator.userAgent,device_locale:window.navigator.language,device_timezone:window.Intl.DateTimeFormat().resolvedOptions().timeZone,os_version:window.navigator.platform,app_id:window.location.origin,app_name:window.document.title,app_build_configuration:"release",sdk_version:"3.24.1",capabilities:e}}}t.default=P},21667(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Device",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(61789))&&n.__esModule?n:{default:n}},20539(e,t,r){"use strict";var n;function i(e,t){return e.get(o(e,t))}function o(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);const s=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.DisabledViews");var a=new WeakMap;t.default=new class{constructor(){!function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(this,a,void 0)}init(e){var t,r;r=e,(t=a).set(o(t,this),r),s("initialising with new nodeIndex")}getDisabledBy(e){var t,r;return null!==(t=null===(r=i(a,this))||void 0===r?void 0:r.getIncludedBy(e))&&void 0!==t?t:null}isDisabled(e){var t,r;return null!==(t=null===(r=i(a,this))||void 0===r?void 0:r.isIncluded(e))&&void 0!==t&&t}notifyChanges(e,t,r,n){var o,s;return null!==(o=null===(s=i(a,this))||void 0===s?void 0:s.notifyChanges(e,t,r,n))&&void 0!==o?o:new Set}}},67501(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DisabledViews",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(20539))&&n.__esModule?n:{default:n}},71260(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=s(r(37007)),i=r(18567),o=s(r(34669));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap;class w extends n.default{constructor(){var e;super(...arguments),e=this,c(this,f,void 0),c(this,h,void 0),c(this,p,void 0),c(this,_,void 0),c(this,v,void 0),c(this,E,void 0),c(this,m,void 0),c(this,g,void 0),c(this,y,!1),c(this,I,void 0),a(this,"load",function(t,r,n){let{element:o,type:s}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};u(h,e,t);const a=(0,i.parseWindowFeatures)(n);u(f,e,a.popup?"_blank":r),u(p,e,o),u(_,e,s),u(v,e,""),u(E,e,""),u(m,e,!0),u(g,e,!1),e.emit("updated",e)}),a(this,"close",()=>{l(y,this)||(u(y,this,!0),this.emit("closed",this))}),a(this,"serialize",()=>({url:this.url,icon:this.icon,title:this.title,isLoading:this.isLoading,isBlocked:this.isBlocked,isClosed:this.isClosed}))}get target(){return l(f,this)}get url(){return l(h,this)}set url(e){this.url!==e&&(u(h,this,e),this.emit("updated",this))}get element(){return l(p,this)}get type(){return l(_,this)}get icon(){return l(v,this)}set icon(e){l(v,this)!==e&&(u(v,this,e),this.emit("updated",this))}get title(){return l(E,this)}set title(e){l(E,this)!==e&&(u(E,this,e),this.emit("updated",this))}get isLoading(){return l(m,this)}set isLoading(e){l(m,this)!==e&&(u(m,this,e),this.emit("updated",this))}get isBlocked(){return l(g,this)}set isBlocked(e){l(g,this)!==e&&(u(g,this,e),this.emit("updated",this))}get isClosed(){return l(y,this)}get windowProxy(){return l(I,this)||u(I,this,new o.default(this)),l(I,this)}}t.default=w},68756(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=r(80608),i=s(r(77966)),o=s(r(71260));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(u(e,t))}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap;t.default=class{constructor(e){let{onDocumentAdded:t}=e;var r,s;c(this,d,new Map),c(this,f,new Map),c(this,h,new Map),c(this,p,new Map),c(this,_,void 0),c(this,v,(e,t)=>{let{handle:r,document:n}=e,{trusted:i}=t;if(!i)return;const o=this.getDocumentByHandle(r);o&&!o.isClosed&&n.isClosed&&o.close(!0)}),c(this,E,e=>{const t=l(f,this).get(e);l(d,this).delete(t),l(f,this).delete(e);const r=l(p,this).get(t);l(p,this).delete(t),r&&l(h,this).delete(r)}),c(this,m,(e,t)=>{const r=()=>{const r={handle:e,document:t.serialize()};t.element?i.default.broadcastToChildren("document",r):i.default.sendToParent("document",r)};t.on("updated",r),r(),t.once("closed",()=>{t.off("updated",r),r(),l(E,this).call(this,t)})}),a(this,"addDocument",(e,t,r)=>{var n;l(d,this).has(e)||r.isClosed||(l(d,this).set(e,r),l(f,this).set(r,e),t&&(l(h,this).set(t,e),l(p,this).set(e,t)),l(m,this).call(this,e,r),null===(n=l(_,this))||void 0===n||n.call(this,r))}),a(this,"closeAllDocuments",()=>{for(const[,e]of l(d,this))e.close(),l(E,this).call(this,e)}),a(this,"getDocumentByHandle",e=>l(d,this).get(e)),a(this,"resolveDocumentHandle",e=>l(h,this).get(e)||(0,n.v4)()),a(this,"resolveDocument",(e,t)=>{const r=e||this.resolveDocumentHandle(t);return{handle:r,document:this.getDocumentByHandle(r)||new o.default}}),a(this,"destroy",()=>{i.default.off("document",l(v,this))}),s=t,(r=_).set(u(r,this),s),i.default.on("document",l(v,this))}}},34669(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=(n=r(37007))&&n.__esModule?n:{default:n};function o(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function s(e,t){return e.get(c(e,t))}function a(e,t,r){return e.set(c(e,t),r),r}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var l=new WeakMap,u=new WeakMap,d=new WeakMap;class f extends i.default{constructor(e){super(),o(this,l,void 0),o(this,u,void 0),o(this,d,e=>{e.url!==s(u,this)&&(a(u,this,e.url),this.emit("load",new Event("load")))}),a(l,this,e),s(l,this).on("updated",s(d,this))}get closed(){return s(l,this).isClosed}get location(){return new URL(s(l,this).url)}close(){s(l,this).close()}addEventListener(e,t,r){null!=r&&r.once?this.once(e,t):this.on(e,t)}removeEventListener(e,t){this.off(e,t)}}t.default=f},89689(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Document",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"DocumentCollection",{enumerable:!0,get:function(){return i.default}});var n=o(r(71260)),i=o(r(68756));function o(e){return e&&e.__esModule?e:{default:e}}},48374(e,t,r){"use strict";r(44114),r(22489),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n,i=r(86780),o=r(45264),s=(n=r(44153))&&n.__esModule?n:{default:n},a=r(79883),c=r(49715);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=class{constructor(e){var t=this;d(this,"_init",()=>{this._propertyWatcher||(this._propertyWatcher=new i.PropertyObserver(this._onPropertySet),s.default.on("stylechange",this._onStyleSheetChange),s.default.on("navigate",this._onNavigation),s.default.on("canvaschange",this._onCanvasChange),s.default.on("selectchange",this._onSelectChange))}),d(this,"observe",e=>{if(this._observing.has(e))return;this._init();const{value:t=e.addEventListener}=Object.getOwnPropertyDescriptor(a.EventTarget.prototype,"addEventListener");t.call(e,"scroll",this._onEvent,{capture:!0,passive:!0}),t.call(e,"focus",this._onFocusChange,{capture:!0,passive:!0}),t.call(e,"blur",this._onFocusChange,{capture:!0,passive:!0}),t.call(e,"change",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keydown",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keyup",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keypress",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"selectionchange",this._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"select",this._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"mouseenter",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseleave",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mousedown",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseup",this._onEvent,{capture:!0,passive:!0}),o.MouseTracking.track(e),o.InteractionTracking.track(e),c.NavigationTracking.track(e),this._observing.add(e);const r=(e.ownerDocument||e).defaultView;r&&!this._windows.has(r)&&(this._windows.add(r),s.default.tap(r),c.NavigationTracking.tap(r),this._propertyWatcher.observe(r.HTMLInputElement,"value"),this._propertyWatcher.observe(r.HTMLInputElement,"checked"),this._propertyWatcher.observe(r.HTMLTextAreaElement,"value"),this._propertyWatcher.observe(r.ShadowRoot,"adoptedStyleSheets"),this._propertyWatcher.observe(r.Document,"adoptedStyleSheets"),r.addEventListener&&(r.addEventListener("hashchange",this._onEvent,{capture:!0,passive:!0}),r.addEventListener("resize",this._onEvent,{capture:!0,passive:!0})))}),d(this,"disconnect",()=>{this._observing.forEach(e=>{const{value:t=e.removeEventListener}=Object.getOwnPropertyDescriptor(a.EventTarget.prototype,"removeEventListener");t.call(e,"scroll",this._onEvent,{capture:!0,passive:!0}),t.call(e,"focus",this._onFocusChange,{capture:!0,passive:!0}),t.call(e,"blur",this._onFocusChange,{capture:!0,passive:!0}),t.call(e,"change",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keydown",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keyup",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keypress",this._onInputEvent,{capture:!0,passive:!0}),t.call(e,"selectionchange",this._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"select",this._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"mouseenter",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseleave",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mousedown",this._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseup",this._onEvent,{capture:!0,passive:!0}),o.MouseTracking.untrack(e),o.InteractionTracking.untrack(e),c.NavigationTracking.untrack(e)}),this._observing.clear(),this._windows.forEach(e=>{s.default.untap(e),c.NavigationTracking.untap(e),e&&!(0,i.isxdoc)(e)&&e.removeEventListener&&(e.removeEventListener("hashchange",this._onEvent,{capture:!0,passive:!0}),e.removeEventListener("resize",this._onEvent,{capture:!0,passive:!0}))}),this._windows.clear(),this._propertyWatcher&&(this._propertyWatcher.disconnect(),this._propertyWatcher=null,s.default.off("stylechange",this._onStyleSheetChange),s.default.off("navigate",this._onNavigation),s.default.off("canvaschange",this._onCanvasChange),s.default.off("selectchange",this._onSelectChange))}),d(this,"_getActualTarget",e=>{const{get:t}=Object.getOwnPropertyDescriptor(a.Event.prototype,"target");return t.apply(e)}),d(this,"_target",e=>{const t=this._getActualTarget(e);return t&&t.document||t}),d(this,"_onEvent",function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t._onModification(t._target(e),u(u({},r),{},{type:e.type}))}),d(this,"_onSelectionEvent",e=>{var t;const r=this._getActualTarget(e),n=null!==(t=r.ownerDocument)&&void 0!==t?t:r;var i;n.__last_agent_selection_ts>Date.now()-100||("selectionchange"===e.type&&(["INPUT","TEXTAREA"].includes(null===(i=n.activeElement)||void 0===i?void 0:i.tagName)?(n.activeElement.__cobrowse_user_selection_timestamp=Date.now(),this._onModification(n.activeElement,{type:e.type})):(r.__cobrowse_user_selection_timestamp=Date.now(),this._onModification(r,{type:e.type}))),"select"===e.type&&(r.__cobrowse_user_selection_timestamp=Date.now(),this._onModification(r,{type:e.type})))}),d(this,"_onStyleSheetChange",e=>{e.ownerNode&&this._onModification(e.ownerNode,{type:"stylesheet"});for(const r of this._observing){var t;null!==(t=r.adoptedStyleSheets)&&void 0!==t&&t.includes(e)&&this._onModification(r,{type:"adoptedstylesheet"})}}),d(this,"_onNavigation",e=>{this._onModification(e.document,{type:"navigation"})}),d(this,"_onCanvasChange",e=>{this._onModification(e,{type:"canvas"})}),d(this,"_onSelectChange",e=>{this._onModification(e,{type:"select",recursive:!0})}),d(this,"_onFocusChange",e=>{const t=this._getActualTarget(e);null!=t&&(this._onModification(t,{type:e.type}),t.ownerDocument&&this._onModification(t.ownerDocument,{type:e.type}))}),d(this,"_onInputEvent",e=>{const t=this._getActualTarget(e);"SELECT"===t.tagName||"TEXTAREA"===t.tagName?this._onModification(this._target(e),{recursive:!0,type:e.type}):"INPUT"===t.tagName&&("radio"===t.type&&t.name?(t.closest("form")||t.ownerDocument).querySelectorAll('input[type=radio][name="'.concat(t.name,'"]')).forEach(t=>this._onModification(t,{type:e.type})):this._onModification(this._target(e),{recursive:!0,type:e.type}))}),d(this,"_onPropertySet",e=>{this._onModification(e,{type:"property"})}),this._onModification=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return setTimeout(()=>e(...r),0)},this._observing=new Set,this._windows=new Set}}},25596(e,t,r){"use strict";r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(18111),r(61701),r(62953);var n,i=(n=r(32017))&&n.__esModule?n:{default:n},o=r(86780);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=class{constructor(e){this._id=e,this.reset()}_difference(e,t){if(!t)return a({},e);const r={};for(const[n,o]of Object.entries(e))(0,i.default)(o,t[n])||(r[n]=o);return r}compress(){const e=[],t=Object.values(this.modified);for(let r=0;r<t.length;r++){const n=t[r],i=this.state.node(n.id),o=this._difference(n,this._flatten(i||{}));Object.keys(o).length>0&&(o.id=n.id,e.push(o))}return e}mark(){return this.state.applyPatch(Object.values(this.modified)),this.modified={},this}_flatten(e){return e.childNodes?a(a({},e),{},{childNodes:e.childNodes.map(e=>({id:e.id}))}):e}push(e){if(!e||!e.modified)return console.error("invalid patch",e),this;for(const t of e.modified)t&&(0,o.depthFirstPreOrder)(t,e=>{this.modified[e.id]=a(a({},this.modified[e.id]),this._flatten(e))});return this}reset(e){return this.state=new o.VirtualDOM(this._id),this.modified={},e&&this.push({_t:"reset",modified:[e]}),this}}},23221(e,t,r){"use strict";r(22489),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(18111),r(7588),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(37007),i=r(86780),o=r(66938),s=_(r(48374)),a=r(79883),c=_(r(77966)),l=_(r(51227)),u=r(38091),d=_(r(44153)),f=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(62063)),h=r(16566),p=r(67501);function _(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach(function(t){m(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){return e.get(function(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}(e,t))}const y=(0,l.default)("cbio.PatchStream");var I=new WeakMap;class w extends n.EventEmitter{constructor(e){var t,r;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var l,_,v;super(),t=this,v={includeVisibility:!1},function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(l=this,_=I),_.set(l,v),m(this,"start",()=>{y("starting patch stream for",this._root),this._documents=new Set,this._iframeBridge.on("patch",this._onXDocIframeUpdate),performance.mark("cb:patch-stream-observe-start"),this._observe(this._root),performance.mark("cb:patch-stream-observe-end"),performance.measure("cb:patch-stream-observe","cb:patch-stream-observe-start","cb:patch-stream-observe-end"),d.default.on("attachshadow",this._onAttachShadow)}),m(this,"_serializeWithScheduling",(e,t,r)=>{if(!(0,f.isElementWithChildren)(e)||(0,f.isVisibleCheck)(e)||!(0,f.isLargeElement)(e))return o.NodeSerializer.serialize(e,t,r);if(!this._nodeScheduler.tryScheduleElement(e,f.isVisibleCheck,r))return o.NodeSerializer.serialize(e,t,r);const n=E(E({},r),{},{skipChildren:!0,forceHidden:!0});return t([]),o.NodeSerializer.serialize(e,t,n)}),m(this,"partialSync",e=>{const t=o.NodeTracker.getById(e);t&&this.emit("patch",{_t:"partialsync",modified:[o.NodeSerializer.serialize(t,void 0,g(I,this))]})}),m(this,"stop",()=>{y("stopping patch stream for",this._root),this._eventObserver.disconnect(),this._mutationObserver.disconnect(),this._iframeBridge.removeListener("patch",this._onXDocIframeUpdate),this._documents&&this._documents.clear(),this._documents=null,d.default.off("attachshadow",this._onAttachShadow)}),m(this,"destroy",()=>{y("destroying patch stream for",this._root),this.stop(),this.removeAllListeners(),o.NodeTree.depthFirst(this._root,this._untrack),this._mutationObserver=null,this._eventObserver=null,this._iframeBridge=null,this._root=null,this._nodeScheduler.destroy(),this._nodeScheduler=null}),m(this,"_track",e=>{o.NodeUtils.isDOMNode(e)&&(o.NodeTracker.track(e),e.nodeType===window.Node.DOCUMENT_NODE&&this._observe(e),e.nodeType===window.Node.DOCUMENT_FRAGMENT_NODE&&this._observe(e),"IFRAME"===e.tagName&&(this._iframeBridge.track(e),e.removeEventListener("load",this._onIframeLoad,{capture:!0}),e.addEventListener("load",this._onIframeLoad,{capture:!0})))}),m(this,"_untrack",e=>{o.NodeTracker.forget(e),o.NodeUtils.isDOMNode(e)&&"IFRAME"===e.tagName&&(e.removeEventListener("load",this._onIframeLoad,{capture:!0}),this._iframeBridge.remove(e))}),m(this,"_onAttachShadow",e=>{const t=e.host;o.NodeTracker.get(t)&&(h.Redaction.isRedacted(t)||(this._observe(e),o.NodeTree.isIgnored(t)||this.emit("patch",{_t:"attachshadow",modified:[o.NodeSerializer.serialize(t,void 0,g(I,this)),o.NodeTree.depthFirstMapped(e,(e,t)=>o.NodeSerializer.serialize(e,t,g(I,this)))]})))}),m(this,"_onXDocIframeUpdate",(e,t)=>{let{iframe:r}=t;y("xdoc iframe updated",r,e),r&&(h.Redaction.isRedacted(r)||o.NodeTree.isIgnored(r)||(r.__document_id=e.document_id,this.emit("patch",{_t:"xdociframeupdate",modified:[o.NodeSerializer.serialize(r,void 0,g(I,this)),...e.patch]})))}),m(this,"_onIframeLoad",e=>{let{target:t}=e;y("iframe loaded",t),h.Redaction.isRedacted(t)||((0,i.isxdoc)(t)||this._observe(t.contentWindow.document),this._iframeBridge.track(t),o.NodeTree.isIgnored(t)||this.emit("patch",{_t:"iframeupdate",modified:[o.NodeTree.depthFirstMapped(t,(e,t)=>o.NodeSerializer.serialize(e,t,g(I,this)))]}))}),m(this,"_onEventMutation",function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t._eventObserver)return;if(t._mutationObserver&&t._onDOMChange(t._mutationObserver.takeRecords()),"TEXTAREA"===e.tagName&&o.NodeTree.depthFirst(e,t._track),!o.NodeTracker.get(e))return;if(h.Redaction.isRedacted(e))return;if(o.NodeTree.isIgnored(e))return;const n=E(E({},g(I,t)),{},{rasterizeCanvas:"canvas"===r.type});t.emit("patch",{_t:"eventmutation:".concat(r.type),modified:[(()=>{var i;const s=null===(i=t._nodeScheduler)||void 0===i?void 0:i.getScheduledAncestor(e);s&&t._nodeScheduler.unscheduleElement(s);const a=s||e,c=Boolean(s),l=c||r.recursive?o.NodeTree.depthFirstMapped(a,(e,r)=>t._serializeWithScheduling(e,r,n)):o.NodeSerializer.serialize(a,void 0,n);return c&&l.attributes&&void 0===l.attributes.style&&(l.attributes.style=""),l})()]})}),m(this,"_getModifications",e=>{const t=new Set,r=new Set,n=new Set;return e.forEach(e=>{("characterData"===e.type||r.has(e.target)||o.NodeTracker.get(e.target))&&(0,u.discoverNodes)(e,r,n,t)}),t.forEach(e=>this._untrack(e)),r.forEach(e=>this._track(e)),{added:n,modified:r,removed:t}}),m(this,"_onDOMChange",e=>{const{added:t,modified:r,removed:n}=this._getModifications(e),i=h.Redaction.notifyChanges(e,t,r,n),s=p.DisabledViews.notifyChanges(e,t,r,n),a=new Map,c=[...r,...i,...s];for(const e of c){var l;const t=null===(l=this._nodeScheduler)||void 0===l?void 0:l.getScheduledAncestor(e);t&&this._nodeScheduler.unscheduleElement(t);const r=t||e,n=Boolean(t)||s.has(e),i=a.get(r);(void 0===i||!i&&n)&&a.set(r,n)}if(0===a.size)return;y("DOM changed",a);const u=[];for(const[e,t]of a){const r=t?o.NodeTree.depthFirstMapped(e,(e,t)=>this._serializeWithScheduling(e,t,g(I,this))):o.NodeSerializer.serialize(e,void 0,g(I,this));r&&(t&&r.attributes&&void 0===r.attributes.style&&(r.attributes.style=""),u.push(r))}y("DOM changes serialized",u),this.emit("patch",{_t:"domchange",modified:u})}),m(this,"_onScheduledNodeReady",(e,t)=>{y("scheduled element ready",e);const r=o.NodeTree.depthFirstMapped(e,(e,r)=>o.NodeSerializer.serialize(e,r,t));this.emit("patch",{_t:"scheduled",modified:[r]})}),this._root=e,g(I,this).includeVisibility=null!==(r=n.includeVisibility)&&void 0!==r&&r,this._mutationObserver=new a.MutationObserver(this._onDOMChange),this._eventObserver=new s.default(this._onEventMutation),this._nodeScheduler=new f.default(this._onScheduledNodeReady),this._iframeBridge=c.default}forceUpdate(){y("forcing entire state update from",this._root);const e=E(E({},g(I,this)),{},{rasterizeCanvas:!0});performance.mark("cb:serialize-head-start");const t=E(E({},o.NodeSerializer.serialize(this._root,void 0,g(I,this))),{},{scroll:void 0,childNodes:[E(E({},o.NodeSerializer.serialize(this._root.documentElement,void 0,g(I,this))),{},{childNodes:[o.NodeTree.depthFirstMapped(this._root.head,(e,t)=>o.NodeSerializer.serialize(e,t,g(I,this)))]})]});performance.mark("cb:serialize-head-end"),performance.measure("cb:serialize-head","cb:serialize-head-start","cb:serialize-head-end"),this.emit("patch",{_t:"pre-force",flush:!0,modified:[t]}),performance.mark("cb:serialize-body-start");const r=o.NodeTree.depthFirstMapped(this._root,(t,r)=>this._serializeWithScheduling(t,r,e));performance.mark("cb:serialize-body-end"),performance.measure("cb:serialize-body","cb:serialize-body-start","cb:serialize-body-end"),this.emit("patch",{_t:"forced",flush:!0,modified:[r]})}_observe(e){if(e.nodeType!==window.Node.DOCUMENT_NODE&&e.nodeType!==window.Node.DOCUMENT_FRAGMENT_NODE)throw new Error("CobrowseIO: observed a non-document or fragment node (type=".concat(e.nodeType,")"));if(!this._documents.has(e)){y("starting observation of",e),this._documents.add(e),y("doing initial node tracking on observe for",e),o.NodeTree.depthFirst(e,this._track),this._eventObserver.observe(e);try{this._mutationObserver.observe(e,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}catch(t){console.error("CobrowseIO failed to start mutation observer for",e)}}}}t.default=w},72847(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PatchCompressor",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"PatchStream",{enumerable:!0,get:function(){return n.default}});var n=o(r(23221)),i=o(r(25596));function o(e){return e&&e.__esModule?e:{default:e}}},53071(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(62953);var n=a(r(7350)),i=r(72847),o=r(66938),s=r(45264);function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return e.set(u(e,t),r),r}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const d=(0,a(r(51227)).default)("cbio.DOMFrameSource");var f=new WeakMap;t.default=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,a,h;h={},function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(r=this,a=f),a.set(r,h),c(this,"_throttleCompressAndEmitFrame",(0,n.default)(()=>this._compressAndEmitFrame(),110)),c(this,"capturingWillStart",()=>{if(d("capturingWillStart for DOMFrameSource in",document),this._sendInterval)throw new Error("DOMFrameSource already running");var e;this._compression||(this._compression=new i.PatchCompressor(o.NodeTracker.track(document))),this._patchStream||(this._patchStream=new i.PatchStream(document,(e=f).get(u(e,this)))),s.WindowTracking.on("activate",this.reset),this._patchStream.on("patch",e=>{this._compression.push(e),e.flush?this._compressAndEmitFrame():this._throttleCompressAndEmitFrame()}),this._sendInterval=setInterval(()=>this._compressAndEmitFrame(),500),this._patchStream.start()}),c(this,"capturingWillStop",()=>{d("capturingWillStop for DOMFrameSource in",document),s.WindowTracking.removeListener("activate",this.reset),this._sendInterval&&(clearInterval(this._sendInterval),this._sendInterval=null),this._patchStream&&(this._patchStream.destroy(),this._patchStream=null),this._compression&&(this._compression.reset(),this._compression=null)}),c(this,"setCodecs",e=>{}),c(this,"reset",()=>{d("resetting DOMFrameSource in",document),setTimeout(()=>{var e,t;null===(e=this._compression)||void 0===e||e.reset(),null===(t=this._patchStream)||void 0===t||t.forceUpdate()},0)}),c(this,"destroy",()=>{d("destroying DOMFrameSource in",document),this.capturingWillStop(),this._onUpdate=null}),c(this,"partialSync",e=>{var t;null===(t=this._patchStream)||void 0===t||t.partialSync(e)}),d("DOMFrameSource constructed in",document),this._onUpdate=e,l(f,this,t)}setOptions(e){l(f,this,e)}_compressAndEmitFrame(){if(!this._compression)return;if(!document||!o.NodeTracker.get(document))return;const e=this._compression.compress();e.length&&this._onUpdate({document_id:o.NodeTracker.get(document),patch:e})&&this._compression.mark()}}},42668(e,t,r){"use strict";var n;function i(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280);const o=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.FrameLoop");t.default=class{constructor(){i(this,"isRunning",()=>this._running),i(this,"setSource",async e=>{if(e.constructor!==(this.source&&this.source.constructor))if(this.isRunning()){this.source&&this.source.capturingWillStop(),this.source=e;try{await this.source.capturingWillStart(),this.invalidateFrame()}catch(e){console.error(e)}}else this.source=e;else o("frame source type not changed")}),i(this,"getSource",()=>this.source),i(this,"start",async()=>{o("starting frame loop in",document),this.isRunning()||(this._running=!0,this.source.capturingWillStart())}),i(this,"stop",()=>{this.isRunning()&&(this.source.capturingWillStop(),this._running=!1)}),i(this,"invalidateFrame",()=>{if(!this.isRunning())throw new Error("FrameLoop was destroyed");o("invalidate frame in",document),this.source&&this.source.reset()}),i(this,"destroy",()=>{o("destroying frame loop in",document),this.stop(),this.source&&(this.source.destroy(),this.source=null)}),o("FrameLoop constructed in",document),this._running=!1}}},16999(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(18111),r(7588),r(62953);var n,i=r(62343);function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const u=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.H264Encoder");var d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap;class _{constructor(e,t){if(s(this,d,void 0),s(this,f,void 0),s(this,h,void 0),s(this,p,[]),o(this,"reset",()=>{u("resetting H264Encoder"),a(p,this).forEach(e=>{a(d,this).handleFrame(e,_.MIME_TYPE,1/0)})}),o(this,"destroy",()=>{u("destroy H264Encoder"),a(h,this)&&(a(h,this).stop(),c(h,this,null)),c(p,this,null)}),u("H264Encoder constructed"),c(d,this,t),c(f,this,e),c(h,this,(0,i.createMediaRecorderDemuxer)(e)),!a(h,this))throw new Error("Failed to create MediaRecorderDemuxer");return a(h,this).on("media-packet",e=>{let t,{data:r}=e;null!==a(h,this)&&(0===r[0]&&0===r[1]&&0===r[2]&&1===r[3]?t=r[4]:0===r[0]&&0===r[1]&&1===r[2]&&(t=r[3]),7==(31&t)&&c(p,this,[]),a(p,this).push(r),a(d,this).handleFrame(r,_.MIME_TYPE,1/0))}),a(h,this).start()}static isSupported(){return i.MediaRecorderDemuxer.isSupported("video/webm;codecs=h264")}}t.default=_,o(_,"MIME_TYPE","video/avc")},77601(e,t,r){"use strict";var n;function i(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function s(e,t){return e.get(c(e,t))}function a(e,t,r){return e.set(c(e,t),r),r}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(54743),r(11745),r(16573),r(78100),r(77936),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623),r(62953);const l=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.JPEGEncoder");var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap;class _{constructor(e,t){o(this,u,void 0),o(this,d,void 0),o(this,f,void 0),o(this,h,void 0),o(this,p,()=>{if(!s(f,this))return;const e=s(f,this).scale();s(d,this).width=s(u,this).videoWidth*e,s(d,this).height=s(u,this).videoHeight*e,s(d,this).getContext("2d").drawImage(s(u,this),0,0,s(d,this).width,s(d,this).height),s(d,this).toBlob(async e=>{if(!s(f,this))return;const t=new Uint8Array(await new Response(e).arrayBuffer());s(f,this).handleFrame(t,_.MIME_TYPE,1)},_.MIME_TYPE,.5)}),i(this,"reset",()=>{}),i(this,"destroy",()=>{l("destroy JPEGEncoder"),s(h,this)&&(clearInterval(s(h,this)),a(h,this,null)),a(f,this,null),a(u,this,null),a(d,this,null)}),l("JPEGEncoder constructed"),a(f,this,t),a(u,this,document.createElement("video")),a(d,this,document.createElement("canvas")),s(u,this).srcObject=e,s(u,this).play(),a(h,this,setInterval(s(p,this),100))}}t.default=_,i(_,"MIME_TYPE","image/jpeg")},94911(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=o(r(16999)),i=o(r(77601));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t,r){t||(t=[]);var n=t.length++;return Object.defineProperty({},"_",{set:function(i){t[n]=i,e.apply(r,t)}})}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const f=(0,o(r(51227)).default)("cbio.MediaStreamFrameSource");var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap;t.default=class{constructor(e){a(this,h,void 0),a(this,p,void 0),a(this,_,void 0),a(this,v,null),a(this,E,[]),a(this,m,()=>l(E,this).length&&!l(E,this).includes(n.default.MIME_TYPE)||!n.default.isSupported()?i.default:n.default),a(this,g,async e=>{const t=l(m,this).call(this);var r;return l(v,this)instanceof t||(f("Changing encoder to",t),null===(r=l(v,this))||void 0===r||r.destroy(),u(v,this,new t(e,l(_,this)))),l(v,this)}),s(this,"setCodecs",e=>{u(E,this,e||[]),l(p,this)&&l(g,this).call(this,l(p,this))}),s(this,"capturingWillStart",async()=>{f("capturingWillStart for MediaStreamFrameSource");const e=await l(_,this).requestPermission();if(e)try{if(e instanceof MediaStream?u(p,this,e):u(p,this,await navigator.mediaDevices.getDisplayMedia({video:{cursor:"always",width:{ideal:1400},height:{ideal:1e3},frameRate:{max:10}},audio:!1,selfBrowserSurface:"include"})),[c(u,[h,this])._]=l(p,this).getVideoTracks(),!l(h,this))throw new Error("failed to get display media track");l(h,this).onended=()=>{f("track ended"),u(h,this,null),l(_,this).captureEnded(),this.destroy()},l(g,this).call(this,l(p,this)),l(_,this).captureStarted(l(p,this))}catch(e){l(_,this).captureEnded(e)}}),s(this,"capturingWillStop",()=>{var e;f("capturingWillStop for MediaStreamFrameSource"),null===(e=l(v,this))||void 0===e||e.destroy(),u(v,this,null),u(p,this,null),l(h,this)&&(l(h,this).stop(),u(h,this,null),l(_,this).captureEnded())}),s(this,"reset",()=>{var e;f("resetting MediaStreamFrameSource"),null===(e=l(v,this))||void 0===e||e.reset()}),s(this,"destroy",()=>{var e;f("destroying MediaStreamFrameSource"),this.capturingWillStop(),u(_,this,null),null===(e=l(v,this))||void 0===e||e.destroy(),u(v,this,null)}),f("MediaStreamFrameSource constructed"),u(_,this,e)}}},8647(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DOMFrameSource",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"FrameLoop",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"MediaStreamFrameSource",{enumerable:!0,get:function(){return o.default}});var n=s(r(42668)),i=s(r(53071)),o=s(r(94911));function s(e){return e&&e.__esModule?e:{default:e}}},1149(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IFrameContext=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(49715),i=r(11065),o=r(91834),s=g(r(6900)),a=r(8647),c=g(r(37609)),l=r(44661),u=g(r(11191)),d=r(89689),f=g(r(64033)),h=g(r(56913)),p=g(r(44153)),_=r(66938),v=r(67501),E=r(16566),m=r(75632);function g(e){return e&&e.__esModule?e:{default:e}}function y(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function w(e,t){return e.get(L(e,t))}function b(e,t,r){return e.set(L(e,t),r),r}function L(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap,T=new WeakMap,P=new WeakMap,R=new WeakMap,M=new WeakMap,k=new WeakMap,D=new WeakMap,x=new WeakMap,j=new WeakMap,G=new WeakMap,U=new WeakMap,W=new WeakMap,V=new WeakMap,z=new WeakMap,F=new WeakMap,B=new WeakMap;t.IFrameContext=class{constructor(e,t,r){I(this,S,void 0),I(this,C,void 0),I(this,A,void 0),I(this,O,void 0),I(this,N,void 0),I(this,T,void 0),I(this,P,void 0),I(this,R,e=>{var t;return!(null===(t=w(S,this))||void 0===t||!t.isActive()||!w(S,this)[c.default].proxyToken())}),y(this,"handleNavigation",(e,t,r,n)=>{const{name:i,go:o,e:s,type:a,block:c}=n,{handle:l,document:d}=w(N,this).resolveDocument(n.handle,i),{windowProxy:f}=d,h=(s.view||window)!==window,p=!t||"_self"===t,_={url:e,target:t,windowFeatures:r,type:a,nav:{block:()=>(s.eventPhase===Event.CAPTURING_PHASE||(c(),h||w(T,this).sendBlocked(e)),{windowProxy:f}),parent:n=>(d.load(e,t,r,{type:n||a}),s.eventPhase===Event.CAPTURING_PHASE||(w(N,this).addDocument(l,i,d),w(C,this).open(e,t,r,{type:n||a,handle:l})),{windowProxy:f}),continue:()=>{const n=w(P,this).runHandler(e,t,r,{type:a,document:d});return n.rewrittenUrl?{rewrittenUrl:n.rewrittenUrl}:(n.document&&w(N,this).addDocument(l,i,n.document),{windowProxy:f})},replay:()=>o()},getConsent:()=>w(C,this).confirmOpen(e,a),windowProxy:f,setLoading:()=>!h&&p&&w(T,this).sendLoading(e)};return(u.default.inUniversalProxy?w(k,this):w(M,this))(_)}),I(this,M,e=>{let{target:t,type:r,nav:n,getConsent:i,windowProxy:o}=e;return r?r===l.NAVIGATION_TYPE.XDOC?n.continue():w(R,this).call(this,r)?(i().then(e=>{let{accepted:r}=e;return r?"_blank"===t?n.parent():void n.continue():n.replay()}),{windowProxy:o}):n.continue():n.continue()}),I(this,k,e=>{let{url:t,target:r,type:n,nav:i,getConsent:o,windowProxy:s,setLoading:a}=e;const c=new URL(u.default.unproxify(window.location.href)).origin,d=c!==new URL(t,c).origin;return n?d?w(R,this).call(this,n)?(o().then(e=>{let{accepted:t}=e;return t?"_blank"===r?i.parent():n===l.NAVIGATION_TYPE.PDF?i.continue():(a(),void i.replay()):i.block()}),{windowProxy:s}):i.continue():"_blank"===r?i.parent():n===l.NAVIGATION_TYPE.PDF?i.continue():(a(),{rewrittenUrl:t}):"_blank"===r?i.parent(l.NAVIGATION_TYPE.UNIVERSAL):i.block()}),I(this,D,e=>{w(W,this).call(this,e),e.isActive()&&!w(O,this)&&w(j,this).call(this)}),I(this,x,()=>{w(G,this).call(this),w(N,this)&&w(N,this).closeAllDocuments()}),I(this,j,()=>{var e;null!==(e=w(O,this))&&void 0!==e&&e.isRunning()||(b(O,this,new a.FrameLoop),w(O,this).setSource(new a.DOMFrameSource(e=>(w(A,this).call(this,"patch",e),!0))),w(O,this).start(),w(O,this).invalidateFrame())}),I(this,G,()=>{w(O,this)&&w(O,this).destroy(),b(O,this,null)}),I(this,U,(e,t)=>{w(W,this).call(this,w(S,this)),w(V,this).call(this),w(z,this).call(this),((0,m.didSelectorsChange)(w(C,this).redactedViews,t)||(0,m.didSelectorsChange)(w(C,this).unredactedViews,t)||(0,m.didSelectorsChange)(w(S,this).redactionSelectors(),t)||(0,m.didSelectorsChange)(w(S,this).unredactionSelectors(),t))&&setTimeout(()=>{this.invalidateFrame()},0)}),y(this,"invalidateFrame",()=>{var e;null!==(e=w(O,this))&&void 0!==e&&e.isRunning()&&w(O,this).invalidateFrame()}),y(this,"partialSync",async e=>{var t;if(null===(t=w(O,this))||void 0===t||!t.isRunning())return;const r=w(O,this).getSource();r instanceof a.DOMFrameSource&&(await(0,_.applyContentCache)(e),r.partialSync(e))}),I(this,W,e=>{var t,r;const n=null!==(t=w(C,this).redactedViews)&&void 0!==t?t:[],i=null!==(r=w(C,this).unredactedViews)&&void 0!==r?r:[],o=[...n,...e.redactionSelectors()],s=[...i,...e.unredactionSelectors()];E.Redaction.init(new _.NodeIndex((0,m.resolveSelectorsForCurrentUrl)(o),(0,m.resolveSelectorsForCurrentUrl)(s)))}),I(this,V,()=>{_.NodeTree.setIgnoredViews((0,m.resolveSelectorsForCurrentUrl)(w(C,this).ignoredViews))}),I(this,z,()=>{v.DisabledViews.init(new _.NodeIndex((0,m.resolveSelectorsForCurrentUrl)(w(C,this).disabledViews),(0,m.resolveSelectorsForCurrentUrl)(w(C,this).enabledViews)))}),I(this,F,e=>w(A,this).call(this,"click",e)),I(this,B,e=>w(A,this).call(this,"change",e)),y(this,"destroy",()=>{w(S,this)&&(w(S,this).removeListener("update",w(D,this)),w(S,this).removeListener("ended",w(x,this))),b(S,this,null),w(P,this)&&w(P,this).destroy(),b(P,this,null),p.default.off("navigate",w(U,this)),h.default.off("click",w(F,this)),h.default.off("change",w(B,this)),w(T,this)&&w(T,this).destroy(),b(T,this,null),w(N,this)&&w(N,this).destroy(),b(N,this,null)}),b(S,this,e),b(C,this,t),b(A,this,r),w(D,this).call(this,e),e.on("updated",w(D,this)),e.on("ended",w(x,this)),u.default.inUniversalProxy&&b(T,this,new f.default(e=>w(A,this).call(this,"document",{document:e}))),b(N,this,new d.DocumentCollection({onDocumentAdded:e=>{e.element&&w(C,this).showDocument(e)}}));const g=new i.PDFHandler(e,t),L=new o.UniversalHandler(e,t),H=new s.default(e,t);b(P,this,new n.Navigation({shouldNavigate:w(R,this),handlers:[g,L,H],handleNavigation:this.handleNavigation})),p.default.on("navigate",w(U,this)),h.default.on("click",w(F,this)),h.default.on("change",w(B,this)),w(V,this).call(this),w(z,this).call(this)}navigate(e,t,r){let{type:n}=r;const i=w(P,this).navigate(e,t,{type:n});if("string"==typeof i)return window.open(i,t)}}},20342(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e){e.on("sync",(t,r)=>{let{trusted:n}=r;if(!n)return s("Ignoring untrusted sync event");i.MouseTracking.onChange=t=>e.sendToParent("mouse",t),i.MouseTracking.track(window)}),e.on("mouse",(e,t)=>{let{iframe:r}=t;s("Received mouse event in",e,document,"from",r),r&&(i.MouseTracking.setPosition(e.x,e.y,r),i.MouseTracking.setDown(e.down))}),e.on("control",(t,r)=>{let{trusted:n,trustedOnly:i}=r;if(s("Received control event in",document),!n)return s("Ignoring untrusted control event");o.ControlEvents.applyEvent(...t),e.broadcastToChildren("control",t,{trustedOnly:i})})},r(62953);var n,i=r(45264),o=r(83672);const s=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.iframes.control")},73350(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e,t){function r(t){const r=t[i.default].serializeSanitized();if(e.broadcastToChildren("session",r,{trustedOnly:!1}),t.id()){const r=t[i.default].serialize();e.broadcastToChildren("session",r,{trustedOnly:!0})}}function n(r,n){let{iframe:o,trusted:s}=n;if(!o)return;const a=t.currentSession;if(a){const t=s?a[i.default].serialize():a[i.default].serializeSanitized();e.send(o.contentWindow,"session",t,{trustedOnly:s})}}function o(e,n){let{trusted:o,fromParent:a}=n;if(!o)return s("Ignoring untrusted session event");a&&(t.currentSession[i.default].deserialize(e),r(t.currentSession))}return e.on("trust",n),e.on("session",o),{publish:r,unsubscribe:()=>{e.off("trust",n),e.off("session",o)}}};var n=o(r(51227)),i=o(r(37609));function o(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("cbio.iframes.sessions")},78232(e,t,r){"use strict";r(16280),r(44114),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e,t){let r,{waitForParentSync:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=!n||new o.Deferred;function s(e){return{redactedViews:[...(null==e?void 0:e.redactedViews)||[],...t.redactedViews||[]],unredactedViews:[...(null==e?void 0:e.unredactedViews)||[],...t.unredactedViews||[]],ignoredViews:[...(null==e?void 0:e.ignoredViews)||[],...t.ignoredViews||[]],disabledViews:[...(null==e?void 0:e.disabledViews)||[],...t.disabledViews||[]],enabledViews:[...(null==e?void 0:e.enabledViews)||[],...t.enabledViews||[]],universalLinks:(null==e?void 0:e.universalLinks)||t.universalLinks||[],pdfLinks:(null==e?void 0:e.pdfLinks)||t.pdfLinks||[],api:(null==e?void 0:e.api)||t.api}}function c(e){const t=s(e);return a(a({},t),{},{redactedViews:t.redactedViews.filter(e=>"string"!=typeof e),unredactedViews:t.unredactedViews.filter(e=>"string"!=typeof e),ignoredViews:t.ignoredViews.filter(e=>"string"!=typeof e),disabledViews:t.disabledViews.filter(e=>"string"!=typeof e),enabledViews:t.enabledViews.filter(e=>"string"!=typeof e)})}async function u(t,n){let{iframe:o}=n;o&&(await i.promise,e.send(o.contentWindow,"sync",c(r),{trustedOnly:!1}))}function d(e){l("iframe available",e,"issuing sync"),e&&u(0,{iframe:e})}function f(t,n){let{source:o,origin:s,trusted:a}=n;if(!a)return l("Ignoring untrusted sync event");r=t,i.resolve(),e.broadcastToChildren("sync",c(t),{trustedOnly:!1})}return e.on("init",u),e.on("iframe_discovered",d),e.on("sync",f),{getSyncedConfig:async()=>(await i.promise,s(r)),unsubscribe:()=>{r=null,i=!n||new o.Deferred,e.off("init",u),e.off("iframe_discovered",d),e.off("sync",f)},sendSync:async()=>{await i.promise,e.broadcastToChildren("sync",c(r),{trustedOnly:!1})}}},r(18111),r(22489),r(62953);var n,i=(n=r(51227))&&n.__esModule?n:{default:n},o=r(63976);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=(0,i.default)("cbio.iframes.sync")},38109(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e){e.on("sync",(t,r)=>{let{trusted:n}=r;if(!n)return i("Ignoring untrusted sync event");e.sendToParent("trust",null,{trustedOnly:!1}),"complete"!==document.readyState&&window.addEventListener("load",()=>{e.sendToParent("trust",null,{trustedOnly:!1})},{once:!0,capture:!0})});const t=t=>{let{target:r}=t;e.breakTrust(r.contentWindow)};e.on("trust",(r,n)=>{let{iframe:i,origin:o}=n;i&&(i.removeEventListener("load",t,{capture:!0}),i.addEventListener("load",t,{capture:!0}),e.establishTrust(i.contentWindow,o))})};const i=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.iframes.trust")},77966(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.initIframeBridgeAsChild=async function(e){const t=new o.default(e),r=c.configure(y,{currentSession:t}),n=l.configure(y,e,{waitForParentSync:!0});y.start();const s=await n.getSyncedConfig();let a;m("synced config",s);const u=()=>{t.isActive()&&!a&&(m("creating iframe context",a),w(s.api)(t),a=new i.IFrameContext(t,v(v({},s),{},{trustedOrigins:e.trustedOrigins,version:e.version,showDocument:e.showDocument,confirmOpen:(e,t)=>I.send("confirmOpen",{url:e,type:t}),open:(e,t,r,n)=>I.send("open",{url:e,target:t,windowFeatures:r,options:n})}),y.sendToParent),t.once("ended",()=>{m("destroying iframe context",a),a.destroy(),a=null}))};y.on("session",u);const d=(e,t)=>{let{trustedOnly:r,fromParent:n}=t;n?y.broadcastToChildren("rpc:request",e,{trustedOnly:r}):y.sendToParent("rpc:request",e,{trustedOnly:r})};y.on("rpc:request",d);const h=(e,t)=>{let{trustedOnly:r,fromParent:n}=t;n?y.broadcastToChildren("rpc:response",e,{trustedOnly:r}):y.sendToParent("rpc:response",e,{trustedOnly:r})};y.on("rpc:response",h);const p=()=>{var e;return null===(e=a)||void 0===e?void 0:e.invalidateFrame()};y.on("sync",p);const _=(e,t)=>{var r;let{trustedOnly:n}=t;const{target:i,error:{cause:o}}=e,s="string"==typeof i?i:i.id;"load-error"===o&&(null===(r=a)||void 0===r||r.partialSync(s)),y.broadcastToChildren("remote-error",e,{trustedOnly:n})};y.on("remote-error",_);const E=async t=>f.default.highlight(e,t);return I.on("highlight",E),()=>{n.unsubscribe(),r.unsubscribe(),y.off("remote-error",_),y.off("sync",p),y.off("session",u),y.off("rpc:request",d),y.off("rpc:response",h),I.off("highlight",E)}},t.initIframeBridgeAsParent=function(e,t){let{open:r}=t;const n=c.configure(y,e);e.on("session.loaded",n.publish),e.on("session.updated",n.publish);const i=w(e.api);e.on("session.loaded",i),e.on("session.updated",i);const o=l.configure(y,e);e.on("session.sync",o.sendSync);const s=async t=>{let{url:r,type:n}=t;return{accepted:await e.confirmOpen(r,n)}};I.on("confirmOpen",s);const a=e=>{let{url:t,target:n,windowFeatures:i,options:o}=e;r(t,n,i,o)};return I.on("open",a),y.start(),()=>{n.unsubscribe(),o.unsubscribe(),e.off("session.loaded",n.publish),e.off("session.updated",n.publish),e.off("session.loaded",i),e.off("session.updated",i),e.off("session.sync",o.sendSync),I.off("confirmOpen",s),I.off("open",a)}},r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(42074),i=r(1149),o=p(r(52404)),s=h(r(38109)),a=h(r(20342)),c=h(r(73350)),l=h(r(78232)),u=p(r(37609)),d=p(r(51227)),f=p(r(3133));function h(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(h=function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?i(s,t,o):s[t]=e[t]);return s})(e,t)}function p(e){return e&&e.__esModule?e:{default:e}}function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach(function(t){E(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=(0,d.default)("cbio.iframes"),g=(0,n.closestXdocParent)(),y=new n.IFrameBridge(g),I=new n.IFrameRPC(y,g);s.configure(y),a.configure(y);const w=e=>t=>{const r=t[u.default].proxyUrl(),n=new URL(r,e);m("trusting",n.origin),y.automaticTrustedOrigins=[n.origin]};t.default=y},77988(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(62953);var n=x(r(75120)),i=x(r(97337)),o=x(r(81088)),s=x(r(30428)),a=x(r(45448)),c=x(r(70831)),l=x(r(49467)),u=x(r(93202)),d=x(r(34818)),f=x(r(99867)),h=x(r(87876)),p=x(r(28038)),_=x(r(16582)),v=x(r(61753)),E=x(r(45613)),m=x(r(32391)),g=x(r(59396)),y=x(r(8439)),I=x(r(19121)),w=x(r(85443)),b=x(r(63851)),L=x(r(26770)),S=x(r(17304)),C=x(r(86146)),A=x(r(35537)),O=x(r(41224)),N=x(r(88978)),T=x(r(3128)),P=x(r(29250)),R=x(r(31559)),M=x(r(87762)),k=x(r(59225)),D=x(r(84181));function x(e){return e&&e.__esModule?e:{default:e}}const j={ar:n.default,cs:i.default,da:o.default,de:s.default,en:a.default,es:c.default,"es-MX":l.default,et:u.default,fi:d.default,fr:f.default,hi:h.default,it:p.default,ja:_.default,kk:v.default,ko:E.default,lt:m.default,mr:g.default,ms:y.default,nl:I.default,pl:w.default,pt:b.default,"pt-BR":L.default,ro:S.default,ru:C.default,sk:A.default,sl:O.default,sv:N.default,th:T.default,"th-TH":P.default,uk:R.default,vi:M.default,zh:k.default,"zh-Hant":D.default},G=["ar","he","fa","ur"];class U{static getLocale(){for(const e of navigator.languages){if(j[e])return new U(e);if(e.includes("-")){const t=e.split("-")[0].toLowerCase();if(j[t])return new U(t)}}return new U("en")}static tr(e){return this.getLocale().translate(e)}static direction(){return this.getLocale().direction}constructor(e){this.language=e,this.direction=G.includes(e)?"rtl":"ltr"}translate(e){return j[this.language][e]||j.en[e]||e}}t.default=U},44661(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NAVIGATION_TYPE=void 0,r(16280),r(18111),r(20116),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=(n=r(26356))&&n.__esModule?n:{default:n};function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}t.NAVIGATION_TYPE={PDF:"pdf",XDOC:"xdoc",UNIVERSAL:"universal"};var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap;t.default=class{constructor(e){s(this,u,void 0),s(this,d,void 0),s(this,f,void 0),o(this,"findHandlerByUrl",e=>{if(!e)return null;try{const t=new URL(e,window.location.origin);return a(d,this).find(e=>e.shouldHandle(t))}catch(e){return console.warn("CobrowseIO: Failed to infer navigation type",e),null}}),o(this,"findHandlerByType",e=>a(d,this).find(t=>t.type===e)),s(this,h,(e,t,r,n)=>{let{name:i,go:o,e:s}=n;const c=this.findHandlerByUrl(e);if(c&&!c.shouldHandleEvent(s))return s.eventPhase===Event.BUBBLING_PHASE&&console.warn("CobrowseIO: Inferred navigation type but event is already handled"),{rewrittenUrl:e};const l=s.view||window;return a(f,this).call(this,e,t,r,{name:i,go:o,e:s,type:null==c?void 0:c.type,block:()=>a(p,this).call(this,l,s)})}),s(this,p,(e,t)=>{if(t.eventPhase===Event.CAPTURING_PHASE)return;const r=e.document,n=r.createElement("div");n.style.position="fixed",n.style.top=0,n.style.left=0,n.style.width="100vw",n.style.height="100vh",n.style.backgroundColor="black",n.style.zIndex="2147483647",n.style.margin=0,n.style.padding=0,n.style.border=0,n.style.borderRadius=0;const i=r.body.style.overflow;r.body.style.overflow="hidden",r.body.appendChild(n);const o=()=>{r.body.contains(n)&&r.body.removeChild(n),r.body.style.overflow=i,e.removeEventListener("popstate",o)};e.addEventListener("popstate",o),e.history.pushState({},"")}),o(this,"destroy",()=>{i.default.beforeNavigate=null}),c(u,this,e.shouldNavigate),c(d,this,e.handlers),c(f,this,e.handleNavigation),i.default.beforeNavigate=a(h,this)}runHandler(e,t,r,n){if(!e)return{rewrittenUrl:e};const i=null!=n.type?this.findHandlerByType(n.type):this.findHandlerByUrl(e);return i&&a(u,this).call(this,i.type)?i.handle(e,t,r,n):{rewrittenUrl:e}}}},79301(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),t.default=class{get type(){throw new Error("Getter 'type' must be implemented.")}shouldHandleEvent(e){throw new Error("Method 'shouldHandleEvent()' must be implemented.")}shouldHandle(e){throw new Error("Method 'shouldHandle()' must be implemented.")}handle(e,t,r,n){throw new Error("Method 'handle()' must be implemented.")}}},26356(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(82117),i=r(1e4);function o(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){return e.get(c(e,t))}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}class l extends Event{constructor(e,t){super(e,t),this._view=t.view}get view(){return this._view}}var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap;t.default=new class{constructor(){var e=this;s(this,"beforeNavigate",void 0),o(this,u,!1),o(this,d,new Set),s(this,"track",e=>{e.addEventListener("click",a(f,this),{capture:!0}),e.addEventListener("click",a(f,this)),e.addEventListener("submit",a(h,this))}),s(this,"untrack",e=>{e.removeEventListener("click",a(f,this),{capture:!0}),e.removeEventListener("click",a(f,this)),e.removeEventListener("submit",a(h,this))}),s(this,"tap",e=>{if(a(d,this).has(e))return;const t=this,{open:r}=e;e.open=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return a(p,t).call(t,this,r,...n)};const{submit:n}=e.HTMLFormElement.prototype;e.HTMLFormElement.prototype.submit=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return a(_,t).call(t,this,n,...r)},a(d,this).add(e)}),s(this,"untap",e=>{}),o(this,f,e=>{var t;if(!this.beforeNavigate)return;const r=null==e||null===(t=e.target)||void 0===t?void 0:t.closest("a");if(!r)return;if(!r.href)return;if(r.__cbio_forceDefaultNavigation)return;const{target:i,name:o}=(0,n.splitNameFromTarget)(r.target,"_self"),{rewrittenUrl:s,windowProxy:a}=this.beforeNavigate(r.href,i,"",{name:o,go:()=>{r.__cbio_forceDefaultNavigation=!0,r.click(),delete r.__cbio_forceDefaultNavigation},e});s&&s!==r.href&&(r.href=s),a&&e.preventDefault()}),o(this,h,e=>{var t;if(!this.beforeNavigate)return;const r=null==e||null===(t=e.target)||void 0===t?void 0:t.closest("form");if(!r)return;if(!(0,i.getFormAttribute)(r,"action"))return;if(r.__cbio_forceDefaultNavigation)return;const{target:o,name:s}=(0,n.splitNameFromTarget)((0,i.getFormAttribute)(r,"target"),"_self"),{rewrittenUrl:a,windowProxy:c}=this.beforeNavigate((0,i.getFormAttribute)(r,"action"),o,"",{name:s,go:()=>{r.__cbio_forceDefaultNavigation=!0,r.submit(),delete r.__cbio_forceDefaultNavigation},e});a&&(0,i.setFormAttribute)(r,"action",a),c&&e.preventDefault()}),o(this,p,(e,t,r,i,o)=>{if(!this.beforeNavigate)return t.call(e,r,i,o);const s=new l("WindowOpen",{view:e}),{target:a,name:c}=(0,n.splitNameFromTarget)(i,"_blank"),{rewrittenUrl:u,windowProxy:d}=this.beforeNavigate(r,a,o,{name:c,go:()=>t.call(e,r,i,o),e:s});return u?t.call(e,u,i,o):d||void 0}),o(this,_,function(t,r){for(var o=arguments.length,s=new Array(o>2?o-2:0),a=2;a<o;a++)s[a-2]=arguments[a];if(!e.beforeNavigate)return r.call(t,...s);const c=t.parentElement,u=new l("FormSubmit",{view:t.ownerDocument.defaultView}),{target:d,name:f}=(0,n.splitNameFromTarget)((0,i.getFormAttribute)(t,"target"),"_self"),{rewrittenUrl:h,windowProxy:p}=e.beforeNavigate((0,i.getFormAttribute)(t,"action"),d,"",{name:f,go:()=>{const e=document.contains(c)&&!document.contains(t);e&&c.appendChild(t);const n=r.call(t,...s);return e&&t.remove(),n},e:u});return h&&(0,i.setFormAttribute)(t,"action",h),p?null:r.call(t,...s)}),o(this,v,()=>{var e;(e=u).set(c(e,this),true)}),window.addEventListener("pagehide",a(v,this),{capture:!0,once:!0,passive:!0})}ensureNoNavigation(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return new Promise(t=>{setTimeout(()=>{a(u,this)||t()},e)})}}},80207(e,t,r){"use strict";var n;function i(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(9391),r(62953);const o=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.RequestTracking");var s=new WeakSet;function a(){if(this.originalFetch)return;this.originalFetch=window.fetch;const e=this;window.fetch=function(){e.inFlightRequests++;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.originalFetch.apply(this,r).finally(()=>e.inFlightRequests--)}}function c(){if(this.originalXHROpen)return;this.originalXHROpen=XMLHttpRequest.prototype.open,this.originalXHRSend=XMLHttpRequest.prototype.send;const e=this;XMLHttpRequest.prototype.open=function(){this.__cbio_decrementCounter&&(this.removeEventListener("load",this.__cbio_decrementCounter),this.removeEventListener("error",this.__cbio_decrementCounter),this.removeEventListener("abort",this.__cbio_decrementCounter),this.removeEventListener("timeout",this.__cbio_decrementCounter)),this.__cbio_needsTracking=!0;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.originalXHROpen.apply(this,r)},XMLHttpRequest.prototype.send=function(){if(this.__cbio_needsTracking){this.__cbio_needsTracking=!1,e.inFlightRequests++;const t=()=>e.inFlightRequests--;this.__cbio_decrementCounter=t,this.addEventListener("load",t,{once:!0}),this.addEventListener("error",t,{once:!0}),this.addEventListener("abort",t,{once:!0}),this.addEventListener("timeout",t,{once:!0})}for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.originalXHRSend.apply(this,r)}}t.default=class{constructor(){(function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)})(this,s),this.inFlightRequests=0,this.originalFetch=null,this.originalXHROpen=null,this.originalXHRSend=null}monitor(){this.originalFetch||(o("monitoring network"),i(s,this,a).call(this),i(s,this,c).call(this))}destroy(){this.inFlightRequests=0}waitUntilStable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{timeout:t=5e3,intervalMs:r=200}=e;o("waitUntilStable");const n=Date.now();return new Promise(e=>{const i=setInterval(()=>Date.now()>n+t?(clearInterval(i),o("network did not stabilise after %d millis",t),e(!1)):0===this.inFlightRequests?(clearInterval(i),o("network stabilised"),e(!0)):void 0,r)})}}},49715(e,t,r){"use strict";r(62953),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NAVIGATION_TYPE",{enumerable:!0,get:function(){return n.NAVIGATION_TYPE}}),Object.defineProperty(t,"Navigation",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"NavigationHandler",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NavigationTracking",{enumerable:!0,get:function(){return i.default}});var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(44661)),i=s(r(26356)),o=s(r(79301));function s(e){return e&&e.__esModule?e:{default:e}}},49931(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCacheContent=t.applyContentCache=void 0;var n=s(r(34822)),i=r(37387),o=s(r(31762));function s(e){return e&&e.__esModule?e:{default:e}}const a=e=>"IMG"===e.tagName?e.currentSrc:"LINK"===e.tagName?e.href:null,c=(e,t)=>{const r=a(e);e.__cbio_content_cache=e.__cbio_content_cache||{},e.__cbio_content_cache[r]=t},l=e=>{var t;const r=a(e);return null===(t=e.__cbio_content_cache)||void 0===t?void 0:t[r]};t.getCacheContent=l,t.applyContentCache=async e=>{const t=n.default.getById(e);if(t)return"IMG"===t.tagName?(async e=>{if(l(e))return;const t=a(e),r=await(async()=>{try{await(r=e,new Promise(e=>{if(r.complete)return e();const t=()=>{clearTimeout(n),r.removeEventListener("load",t),r.removeEventListener("error",t),e()};r.addEventListener("load",t,{once:!0}),r.addEventListener("error",t,{once:!0});const n=setTimeout(t,5e3)}));const t=o.default.fromImage(e);if("data:,"!==t)return t}catch(e){}var r;try{return await(e=>new Promise((t,r)=>{const n=new Image;n.crossOrigin="anonymous",n.src=e,n.onload=()=>{try{const e=o.default.fromImage(n);t(e)}catch(e){r(e)}},n.onerror=r}))(t)}catch(e){}})();r&&c(e,r)})(t):"LINK"===t.tagName&&"stylesheet"===t.rel?(async e=>{if(l(e))return;const t=a(e),r=await(async()=>{try{if(e.sheet)return(0,i.getCssText)(e.sheet)}catch(e){}try{return await(e=>new Promise((t,r)=>{const n=document.createElement("link");n.crossOrigin="anonymous",n.rel="stylesheet",n.href=e,n.setAttribute("class","__cbio_ignored"),n.onload=()=>{try{const e=(0,i.getCssText)(n.sheet);t(e)}catch(e){r(e)}finally{n.remove()}},n.onerror=e=>{n.remove(),r(e)},document.head.appendChild(n)}))(t)}catch(e){}})();r&&c(e,r)})(t):void 0}},38458(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeIndex=void 0,r(16280),r(78350),r(30237),r(18111),r(22489),r(20116),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(86780),i=a(r(32588)),o=a(r(18571)),s=r(79883);function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){l(e,t),t.set(e,r)}function l(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return e.get(f(e,t))}function d(e,t,r){return e.set(f(e,t),r),r}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakSet;function m(e){const t=[...e];return t.find(e=>!i.default.isIgnored(e)&&f(E,this,C).call(this,e))||t.find(e=>f(E,this,T).call(this,e).length>0)}function g(e,t,r){f(E,this,y).call(this,e,t,r),f(E,this,I).call(this,t,r)}function y(e,t,r){for(const e of f(E,this,w).call(this,r))u(v,this).delete(e);for(const t of f(E,this,w).call(this,e))u(v,this).add(t);for(const r of t)e.has(r)||(f(E,this,C).call(this,r)?u(v,this).add(r):u(v,this).delete(r))}function I(e,t){for(const e of t)u(_,this).delete(e);for(const t of e)f(E,this,b).call(this,t)}function*w(e){for(const t of e)f(E,this,C).call(this,t)&&(yield t)}function b(e){const t=u(_,this).has(e);t&&this.getIncludedBy(e)!==e?u(_,this).delete(e):t||this.getIncludedBy(e)!==e||u(_,this).add(e)}function L(e){return[...new Set([...e].flatMap(e=>[e,...(0,n.parents)(e)]))].flatMap(e=>[...e.childNodes||[]])}function S(e){return f(E,this,R).call(this,e,u(h,this))}function C(e){return f(E,this,R).call(this,e,u(p,this))}function A(e){const t=f(E,this,O).call(this,e);return t?(0,n.parents)(e,t).find(e=>f(E,this,N).call(this,e.parentNode))||t:null}function O(e){if(!o.default.isDOMNode(e))return null;const{get:t}=Object.getOwnPropertyDescriptor(s.Node.prototype,"parentNode"),r=f(E,this,M).call(this,u(h,this),u(p,this)),n=e&&e.nodeType===s.Node.ELEMENT_NODE&&t.call(e),i=n&&n.nodeType===s.Node.ELEMENT_NODE&&r&&n.closest(r);return f(E,this,R).call(this,i,u(h,this))?f(E,this,C).call(this,i)?null:i:null}function N(e){return u(p,this)&&e&&"HTML"!==e.tagName&&e.querySelector&&e.querySelector(u(p,this))}function T(e){return f(E,this,P).call(this,e,u(p,this))}function P(e,t){return t&&e.querySelectorAll?e.querySelectorAll(t):[]}function R(e,t){return e&&t&&e.matches&&e.matches(t)}function M(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(",")}t.NodeIndex=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{document:r=window.document}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var n;l(this,n=E),n.add(this),c(this,h,void 0),c(this,p,void 0),c(this,_,new Set),c(this,v,new Set),d(h,this,f(E,this,M).call(this,...e)),d(p,this,f(E,this,M).call(this,...t));for(const e of f(E,this,P).call(this,r,u(h,this)))u(_,this).add(e);for(const e of f(E,this,P).call(this,r,u(p,this)))u(v,this).add(e)}getIncludedBy(e){if(f(E,this,C).call(this,e)||f(E,this,N).call(this,e))return null;const t=f(E,this,A).call(this,e);return t?f(E,this,N).call(this,e.parentNode)?e:t:f(E,this,S).call(this,e)?e:null}notifyChanges(e,t,r,n){const o=new Set,s=new Set,a=new Set([...u(_,this)]);for(const t of e){if(i.default.isIgnored(t.target)||n.has(t.target))continue;const e=this.getIncludedBy(t.target);if(e&&e!==t.target&&o.add(e),"attributes"===t.type){const e=f(E,this,T).call(this,t.target);for(const t of e)s.add(t);const r=f(E,this,C).call(this,t.target);u(v,this).has(t.target)!==!!r&&s.add(t.target.parentNode)}else if("childList"===t.type){const e=f(E,this,m).call(this,t.removedNodes),r=f(E,this,m).call(this,t.addedNodes);if(!s.has(t.target)){const n=f(E,this,T).call(this,t.target).length>0;(n&&r||!n&&e)&&s.add(t.target)}}}const c=f(E,this,L).call(this,s);for(const e of c)i.default.isIgnored(e)||o.add(e);f(E,this,g).call(this,t,new Set([...o,...r]),n);for(const e of r)for(const t of u(_,this))e.contains(t)&&o.add(t);for(const e of a)u(_,this).has(e)||n.has(e)||i.default.depthFirst(e,e=>o.add(e));return o}isIncluded(e){return Boolean(this.getIncludedBy(e))}}},62063(e,t,r){"use strict";var n;function i(e,t,r){o(e,t),t.set(e,r)}function o(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function s(e,t){return e.get(c(e,t))}function a(e,t,r){return e.set(c(e,t),r),r}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.isElementWithChildren=function(e){return!(!e||1!==e.nodeType||!e.isConnected||e.ownerDocument.head.contains(e)||null===e.firstElementChild)},t.isLargeElement=function(e){var t;let r=0;const n=null===(t=e.ownerDocument)||void 0===t?void 0:t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);if(!n)return!1;for(;n.nextNode();)if(r++,r>5)return!0;return!1},t.isVisibleCheck=function(e){return"none"!==getComputedStyle(e).display},r(16280),r(62953);const l=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.NodeScheduler");var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakSet,g=new WeakMap;function y(){l("start()"),a(v,this,!0),a(u,this,requestAnimationFrame(s(g,this)))}function I(){l("stop()"),a(v,this,!1),s(u,this)&&cancelAnimationFrame(s(u,this)),a(u,this,null),s(d,this)&&clearTimeout(s(d,this)),a(d,this,null),a(f,this,null),a(h,this,0),a(p,this,null)}function w(e,t,r){var n;e.isConnected?t(e)&&(l("scheduling node to be sent",e),this.unscheduleElement(e),null===(n=s(E,this))||void 0===n||n.call(this,e,r)):s(_,this).delete(e)}t.default=class{constructor(e){!function(e,t){o(e,t),t.add(e)}(this,m),i(this,u,null),i(this,d,null),i(this,f,null),i(this,h,0),i(this,p,null),i(this,_,new Map),i(this,v,!1),i(this,E,null),i(this,g,()=>{if(!s(v,this))return;if(!s(_,this).size)return void a(d,this,setTimeout(s(g,this),1e3));s(f,this)||(a(f,this,s(_,this).entries()),a(h,this,s(_,this).size),a(p,this,performance.now()));let e=0,t=!1;for(;e<50;){var r;const n=null===(r=s(f,this))||void 0===r?void 0:r.next();if(!n||null!=n&&n.done){t=!0;break}const[i,{checkReady:o,serializerOptions:a}]=n.value;c(m,this,w).call(this,i,o,a),e++}if(!t)return void a(u,this,requestAnimationFrame(s(g,this)));const n=Math.round(performance.now()-s(p,this));l("Took ".concat(n,"ms to process queue with size of ").concat(s(h,this))),a(f,this,null),a(h,this,0),a(p,this,null),a(d,this,setTimeout(s(g,this),Math.max(1e3-n,0)))}),a(E,this,e)}getScheduledAncestor(e){if(s(_,this).has(e))return e;for(const t of s(_,this).keys())if(t.contains(e))return t;return null}tryScheduleElement(e,t,r){return!!s(_,this).has(e)||(s(_,this).size>1e3?(l("reached queue size limit, skipping scheduling of node"),!1):(s(_,this).set(e,{checkReady:t,serializerOptions:r}),s(v,this)||c(m,this,y).call(this),!0))}unscheduleElement(e){s(_,this).delete(e),s(_,this).size||c(m,this,I).call(this)}destroy(){l("destroy()"),c(m,this,I).call(this),s(_,this).clear()}}},48708(e,t,r){"use strict";r(22489),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(18111),r(7588),r(61701),r(27495),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(86780),i=r(16566),o=r(67501),s=h(r(34822)),a=h(r(18571)),c=h(r(32588)),l=h(r(31762)),u=r(97384),d=r(37387),f=r(49931);function h(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const E={OBJECT:!0,EMBED:!0},m=new Set(["A","AREA","AUDIO","BUTTON","DETAILS","DIALOG","EMBED","IFRAME","IMG","INPUT","LABEL","MENU","OBJECT","OPTGROUP","OPTION","SELECT","SUMMARY","TEXTAREA","VIDEO"]),g=new Set(["button","link","menuitem","menuitemcheckbox","menuitemradio","checkbox","radio","switch","textbox","searchbox","spinbutton","slider","combobox","listbox","option"]);t.default=new class{constructor(){v(this,"isLocalResource",e=>!!(/^https?:\/\/localhost/.test(e)||/^https?:\/\/127.0.0.1/.test(e)||/^file:\/\//.test(e)||/^blob:/.test(e)||/^ionic:/.test(e))),v(this,"serializeAdoptedStyleSheets",e=>{try{let t=[];return[...e.adoptedStyleSheets||[]].forEach(e=>{t=t.concat([].slice.call(e.cssRules))}),(0,d.getCssText)({cssRules:t})}catch(t){return console.warn("CobrowseIO: AdoptedStyleSheets serialize failed:",t.message,"for",e),""}})}_serializeAttributes(e,t){if(e.nodeType===window.Node.ELEMENT_NODE&&e.attributes){const r={};Array.from(e.attributes||[]).forEach(t=>{t.nodeName.startsWith("@")||("href"===t.nodeName||"src"===t.nodeName?r[t.nodeName]="string"==typeof e[t.nodeName]?e[t.nodeName]:t.nodeValue:r[t.nodeName]=t.nodeValue)}),t.attributes=r}}_serializeSelection(e,t){var r;let n=null;const o=e.getSelection();if(o&&"Range"===o.type&&!o.isCollapsed&&o.rangeCount>0)try{n=[...Array(o.rangeCount)].reduce((e,t,r)=>{const n=o.getRangeAt(r),{startOffset:a,endOffset:c}=n,l=i.Redaction.getRedactedBy(n.startContainer),u=i.Redaction.getRedactedBy(n.endContainer),d=s.default.get(null!=l?l:n.startContainer),f=s.default.get(null!=u?u:n.endContainer);return e.push({start:d,end:f,startOffset:l?0:a,endOffset:u?0:c}),e},[])}catch(e){console.warn("CobrowseIO: Could not serialize text selection",e)}else["INPUT","TEXTAREA"].includes(null===(r=e.activeElement)||void 0===r?void 0:r.tagName)&&e.activeElement.selectionStart!==e.activeElement.selectionEnd&&(n=!1);t.selection=n}_serializeDocument(e,t){if(e.nodeType===window.Node.DOCUMENT_NODE){var r,n,i,o,a,c;t.url=e.location&&e.location.href;const l=1===(null!==(r=null===(n=e.defaultView)||void 0===n||null===(n=n.visualViewport)||void 0===n?void 0:n.scale)&&void 0!==r?r:1),d=0===(0,u.getScrollBarSize)()&&l,f=d?null===(i=e.defaultView)||void 0===i?void 0:i.innerWidth:null===(o=e.documentElement)||void 0===o?void 0:o.clientWidth,h=d?null===(a=e.defaultView)||void 0===a?void 0:a.innerHeight:null===(c=e.documentElement)||void 0===c?void 0:c.clientHeight;t.size={width:f,height:h},t.focus=s.default.get(e.activeElement);const p=e=>({name:e.name,publicId:e.publicId,systemId:e.systemId});t.doctype=null!=e.doctype?p(e.doctype):null,t.css=this.serializeAdoptedStyleSheets(e),this._serializeSelection(e,t)}}_serializeInput(e,t){if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||"OPTION"===e.tagName){t.value=e.value,"radio"!==e.type&&"checkbox"!==e.type||void 0===e.checked||(t.checked=e.checked),t.selection=null;try{const{selectionStart:r,selectionEnd:n,selectionDirection:i}=e;r!==n&&e===e.ownerDocument.activeElement&&(t.selection={start:r,end:n,direction:i})}catch(t){console.warn("Failed to serialise text selection for the input",e)}}}_serializeSelect(e,t){"SELECT"!==e.tagName||e.size&&1!==e.size||e.multiple||(t.preventDefault=!0)}_serializeOption(e,t){"OPTION"===e.tagName&&(t.selected=e.selected)}_serializeShadowRoot(e,t){e.nodeType===window.Node.DOCUMENT_FRAGMENT_NODE&&(t.css=this.serializeAdoptedStyleSheets(e))}_serializeStyle(e,t){var r;if("STYLE"===(null===(r=e.tagName)||void 0===r?void 0:r.toUpperCase()))try{e.sheet&&(t.css=(0,d.getCssText)(e.sheet))}catch(t){console.warn("CobrowseIO: CSS serialize failed:",t.message,"for",e)}}_serializeLinkStyleSheet(e,t){if("LINK"===e.tagName&&"stylesheet"===e.rel){const r=(0,f.getCacheContent)(e);if(r)return void(t.css=r);if(this.isLocalResource(e.href))try{e.sheet&&(t.css=(0,d.getCssText)(e.sheet))}catch(t){console.warn("CobrowseIO: CSS serialize failed:",t.message,"for",e)}}}_serializeCanvas(e,t,r){if("CANVAS"===e.tagName&&!r.isRedacted&&r.rasterizeCanvas)try{var n;const r=parseFloat(null===(n=e.attributes)||void 0===n||null===(n=n["data-cbio-quality"])||void 0===n?void 0:n.value)||.8;t.data=l.default.fromCanvas(e,r)}catch(t){e._cb_serialize_warned||(console.warn("Cobrowse failed to serialize canvas",e,"due to error",t),e._cb_serialize_warned=!0)}}_serializeImage(e,t,r){if("IMG"===e.tagName&&!r.isRedacted){const r=(0,f.getCacheContent)(e);if(r)return t.attributes.src=r,void delete t.attributes.srcset;if(this.isLocalResource(e.src))try{t.attributes.src=l.default.fromImage(e),delete t.attributes.srcset}catch(t){console.warn("CobrowseIO: Failed to serialize image",e)}}}_serializeScroll(e,t){var r,i;(0,n.isxdoc)(e)||(e.nodeType===window.Node.DOCUMENT_NODE?t.scroll={x:(null===(r=e.defaultView)||void 0===r?void 0:r.pageXOffset)||0,y:(null===(i=e.defaultView)||void 0===i?void 0:i.pageYOffset)||0}:"HTML"!==e.tagName&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)&&(t.scroll={x:e.scrollLeft||0,y:e.scrollTop||0}))}_serializeRedaction(e,t,r){if(r.isRedacted){delete t.value;const r=this._getSize(e);if(1===e.nodeType){const n=window.getComputedStyle(e),i="inline"===n.display&&r.height>0?"inline-block":n.display;t.attributes=t.attributes&&_({id:t.attributes.id,class:t.attributes.class,style:"".concat(t.attributes.style||"","; display: ").concat(i," !important;flex-basis: unset !important;flex-shrink: 0;z-index:").concat(n.zIndex,";")},"EMBED"===e.nodeName?{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}:{})}else 3===e.nodeType&&(t.nodeType=1,t.tagName="SPAN",t.attributes={style:r.height>0?"display: inline-block !important":void 0});t.redaction={height:"".concat(r.height,"px"),width:"".concat(r.width,"px")}}else t.redaction=void 0}_serializePseudoSelectors(e,t){var r,n,i;"function"==typeof e.matches&&(null===(r=t.attributes)||void 0===r||delete r.__cbio_pseudo_hover,null===(n=t.attributes)||void 0===n||delete n.__cbio_pseudo_active,null===(i=t.attributes)||void 0===i||delete i.__cbio_pseudo_focus,t.attributes=_(_(_(_({},t.attributes),e.matches(":hover")?{__cbio_pseudo_hover:""}:{}),e.matches(":active")?{__cbio_pseudo_active:""}:{}),e.matches(":focus")?{__cbio_pseudo_focus:""}:{}))}_serializeVisibility(e,t,r){e.tagName&&(r.forceHidden&&(t.attributes=_(_({},t.attributes),{},{style:"display: none !important;"})),null!=r&&r.includeVisibility&&(t.hidden=r.forceHidden||this._isExplicitlyHidden(e)||this._isHidden(e)&&e.parentElement&&!this._isHidden(e.parentElement),this._serializeInteractive(e,t)))}_isHidden(e){return this._isExplicitlyHidden(e)||this._isVisiblyHidden(e)}_isExplicitlyHidden(e){var t;return!0===e.hidden||"none"===(null===(t=e.style)||void 0===t?void 0:t.display)}_isVisiblyHidden(e){return"contents"!==getComputedStyle(e).display&&!this._checkVisibility(e)}_checkVisibility(e){return!e.checkVisibility||e.checkVisibility({visibilityProperty:!0})}_serializeInteractive(e,t){if(m.has(e.tagName)||g.has(e.getAttribute("role"))||e.hasAttribute("tabindex")&&Number(e.getAttribute("tabindex"))>=0)return void(t.interactive="semantic");if(e.hasAttribute("onclick"))return void(t.interactive="scripted");const r=this._getCustomCursor(e.parentElement),n=this._getCustomCursor(e);n&&r!==n&&(t.interactive="styled")}_getCustomCursor(e){if(!e)return;const t=getComputedStyle(e);return t.cursor&&"auto"!==t.cursor&&"default"!==t.cursor?t.cursor:void 0}_getSize(e){const t=null==e?void 0:e.nodeType;if(null==t)return{height:0,width:0};if(t===Node.ELEMENT_NODE)return e.getBoundingClientRect();{const t=document.createRange();return t.selectNodeContents(e),t.getBoundingClientRect()}}_serializeDisabledView(e,t){t.disabled=o.DisabledViews.isDisabled(e)}_serialize(e,t){if(!s.default.get(e))throw console.error("node missing id",e,e.parentNode),new Error("node missing id",e);if(!a.default.isDOMNode(e))return e;if(!e.nodeType)throw new Error("node missing type",e);const r={id:s.default.get(e),nodeType:e.nodeType};return this._serializeShadowRoot(e,r),this._serializeAttributes(e,r),this._serializeImage(e,r,t),this._serializeDocument(e,r),this._serializeScroll(e,r),this._serializeInput(e,r),this._serializeSelect(e,r),this._serializeOption(e,r),this._serializeStyle(e,r),this._serializeLinkStyleSheet(e,r),this._serializeCanvas(e,r,t),this._serializeRedaction(e,r,t),this._serializePseudoSelectors(e,r),this._serializeVisibility(e,r,t),this._serializeDisabledView(e,r),e.tagName&&(r.tagName=e.tagName),e.nodeValue&&(r.content=e.nodeValue),r}serialize(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=i.Redaction.getRedactedBy(e);if(n&&n!==e)return null;if(c.default.isIgnored(e))return t([]),null;const o=Boolean(E[e.tagName]),l=this._serialize(e,_({isRedacted:Boolean(n)||o},r));if(r.skipChildren||o)return l;if(n)return t([]),_(_({},l),{},{childNodes:[]});const u=c.default.children(e);if(u){const e=u.map(e=>{if(!a.default.isDOMNode(e))return _({},e);const t=s.default.get(e);return t||console.warn("child node missing id",e),{id:t}});return _(_({},l),{},{childNodes:e})}return l}}},34822(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=o(r(78981)),i=o(r(18571));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=new class{constructor(){s(this,"_idMap",new Map),s(this,"_nodeMap",new Map),s(this,"_currentId",0),s(this,"_nextId",()=>(this._currentId+=1,this._currentId)),s(this,"track",e=>{if(!e)return null;if(!i.default.isDOMNode(e))return e.id;if(!this.get(e)){const t=e.nodeType===window.Node.DOCUMENT_NODE?(0,n.default)(5):"".concat(this.track(document),"-").concat(this._nextId());this._idMap.set(t,e),this._nodeMap.set(e,t)}return this._nodeMap.get(e)}),s(this,"get",e=>e?i.default.isDOMNode(e)?this._nodeMap.get(e)||null:e.id:null),s(this,"getById",e=>e&&this._idMap.get(e)||null),s(this,"forget",e=>{this._idMap.delete(this.get(e)),this._nodeMap.delete(e)})}}},32588(e,t,r){"use strict";r(16280),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(18111),r(22489),r(27495),r(42762),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(86780),i=s(r(18571)),o=r(79883);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return e.get(l(e,t))}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const u=(0,s(r(51227)).default)("cbio.NodeTree"),d={[window.Node.COMMENT_NODE]:!0,[window.Node.CDATA_SECTION_NODE]:!0,[window.Node.ENTITY_REFERENCE_NODE]:!0,[window.Node.ENTITY_NODE]:!0,[window.Node.PROCESSING_INSTRUCTION_NODE]:!0,[window.Node.NOTATION_NODE]:!0,[window.Node.DOCUMENT_TYPE_NODE]:!0},f=e=>{try{return e&&/\.(mjs|cjs|js)$/i.test(new URL(e,window.location.href).pathname)}catch(e){return!1}};var h=new WeakMap;t.default=new class{constructor(){var e,t,r;r=".__cbio_ignored",function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e=this,t=h),t.set(e,r),a(this,"isIgnored",e=>{var t,r;if(d[e.nodeType])return u("ignoring",e,"because of nodeType"),!0;if("SCRIPT"===e.tagName)return u("ignoring",e,"because of SCRIPT"),!0;if("LINK"===e.tagName&&(e=>{var t,r,n;const i=null!==(t=null===(r=e.rel)||void 0===r?void 0:r.toUpperCase().split(/\s+/))&&void 0!==t?t:[],o=null===(n=e.as)||void 0===n?void 0:n.trim().toUpperCase();for(const t of i){if("MODULEPRELOAD"===t)return!0;if("PRELOAD"===t&&"SCRIPT"===o)return!0;if("PREFETCH"===t&&f(e.href))return!0}return!1})(e))return u("ignoring",e,"because it preloads a script"),!0;if(null!==(t=e.closest)&&void 0!==t&&t.call(e,c(h,this)))return u("ignoring",e,"because child of classes"),!0;const n=e.parentNode||e.defaultView&&e.defaultView.frameElement;return"STYLE"===(null==n||null===(r=n.tagName)||void 0===r?void 0:r.toUpperCase())&&(u("ignoring",e,"because child of STYLE"),!0)}),a(this,"children",e=>{const{get:t}=Object.getOwnPropertyDescriptor(o.Node.prototype,"childNodes"),{get:r}=Object.getOwnPropertyDescriptor(o.Element.prototype,"shadowRoot");return i.default.isDOMNode(e)?"IFRAME"===e.tagName&&(0,n.isxdoc)(e)?e.__document_id?[{id:e.__document_id,nodeType:9}]:[]:"IFRAME"!==e.tagName||(0,n.isxdoc)(e)?e.nodeType===window.Node.ELEMENT_NODE&&r.apply(e)?[r.apply(e),...Array.from(t.apply(e))].filter(e=>!this.isIgnored(e)):Array.from(t.apply(e)).filter(e=>!this.isIgnored(e)):"complete"!==e.contentWindow.document.readyState?[]:[e.contentWindow.document].filter(e=>!this.isIgnored(e)):e.childNodes})}setIgnoredViews(e){if(Array.isArray(e))return t=h,r=[".__cbio_ignored",...e].filter(Boolean).join(","),t.set(l(t,this),r),void u("set ignored view selectors",c(h,this));var t,r;u("not updating #ignoredViews due to arg to being an array",e)}depthFirst(e,t){(0,n.depthFirstPreOrder)(e,(e,r)=>{r(this.children(e)),t(e,r)})}depthFirstMapped(e,t){return(0,n.depthFirstPreOrderMap)(e,(e,r)=>(r(this.children(e)),t(e,r)))}}},18571(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=new class{isDOMNode(e){return!!e&&!(!e.childNodes||"function"!=typeof e.appendChild||void 0===e.nodeType)}}},66938(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NodeIndex",{enumerable:!0,get:function(){return c.NodeIndex}}),Object.defineProperty(t,"NodeSerializer",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"NodeTracker",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"NodeTree",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NodeUtils",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"applyContentCache",{enumerable:!0,get:function(){return a.applyContentCache}}),Object.defineProperty(t,"getCacheContent",{enumerable:!0,get:function(){return a.getCacheContent}});var n=l(r(34822)),i=l(r(18571)),o=l(r(32588)),s=l(r(48708)),a=r(49931),c=r(38458);function l(e){return e&&e.__esModule?e:{default:e}}},51099(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(27495),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=r(42074),o=r(49715),s=r(44661),a=(n=r(97005))&&n.__esModule?n:{default:n};function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap;class v extends o.NavigationHandler{constructor(e,t){super(),c(this,f,void 0),c(this,h,void 0),c(this,p,e=>new URL(e,window.location.href).pathname.split("/").pop()),c(this,_,(e,t,r,n)=>{const{document:i}=n,o=document.createElement("div");o.style.width="100%",o.style.height="100%",i.load(e,t,r,{element:o,type:this.type}),l(h,this).openPdfViewer(e,o,()=>{const t=l(p,this).call(this,e);i.icon="",i.title=t,i.isLoading=!1})}),u(f,this,(0,i.createPatternMatcher)(t.pdfLinks)),u(h,this,new a.default(e,t.api))}get type(){return s.NAVIGATION_TYPE.PDF}shouldHandleEvent(e){return e.eventPhase!==Event.CAPTURING_PHASE&&!e.defaultPrevented}shouldHandle(e){const t=new URL(e,window.location.origin);return t.search="",l(f,this).call(this,t)}handle(e,t,r,n){return l(_,this).call(this,e,t,r,n),{document:n.document}}}t.default=v},97005(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GLOBAL_OPEN_PDF_KEY=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=(n=r(37609))&&n.__esModule?n:{default:n},o=r(9147);function s(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const u=t.GLOBAL_OPEN_PDF_KEY="__cobrowse_io_openPdf";var d=new WeakMap,f=new WeakMap,h=new WeakMap;t.default=class{constructor(e,t){s(this,d,void 0),s(this,f,void 0),s(this,h,e=>{const t=e[i.default].proxyToken(),r=e[i.default].proxyUrl(),n=new URL(r,a(f,this));return new o.URLRewriter(n,o.PROXY_PREFIX.UNIVERSAL,t,window.location)}),function(e,t,r){(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(this,"openPdfViewer",(e,t,n)=>{const i=window[u],o=r=>{const{setPdfUrl:i}=r(e,{container:t,onLoadError:t=>{const r=a(h,this).call(this,a(d,this)).proxify(e);t!==r?(console.warn("CobrowseIO: Failed to fetch PDF document, attempting to proxy it"),i(r)):n()},onLoadSuccess:n,preventClose:!0})};"function"!=typeof i?r.e(246).then(r.t.bind(r,70825,23)).then(e=>{o(e.open)}):o(i)}),c(d,this,e),c(f,this,t)}}},11065(e,t,r){"use strict";r(62953),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GLOBAL_OPEN_PDF_KEY",{enumerable:!0,get:function(){return i.GLOBAL_OPEN_PDF_KEY}}),Object.defineProperty(t,"PDFHandler",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"PDFViewer",{enumerable:!0,get:function(){return i.default}});var n,i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(97005)),o=(n=r(51099))&&n.__esModule?n:{default:n}},86245(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchIceServers=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(40492);function i(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var o=new WeakMap;class s extends n.RESTResource{constructor(e){var t,r;super(),function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(this,o,void 0),t=o,r=e.id(),t.set(i(t,this),r),this.setHeader("X-CobrowseDeviceToken",e.getHeader("X-CobrowseDeviceToken"))}url(){return new URL("api/1/sessions/".concat((e=o,e.get(i(e,this))),"/ice"),s.api).toString();var e}}t.fetchIceServers=async e=>{try{const t=new s(e);return await t.create(),t.resource.iceServers}catch(e){return console.warn("failed to fetch ice servers",e),[]}}},18684(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(26910),r(18111),r(7588),r(61701),r(96167),r(62953);var n=s(r(51227)),i=s(r(37007)),o=r(80608);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const f=(0,n.default)("cbio.Calling.Peer");var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap,T=new WeakMap,P=new WeakMap,R=new WeakMap,M=new WeakMap;class k extends i.default{constructor(e){super(),c(this,h,void 0),c(this,p,void 0),c(this,_,void 0),c(this,v,void 0),c(this,E,void 0),c(this,m,void 0),c(this,g,!1),c(this,y,!1),c(this,I,!1),c(this,w,[]),c(this,b,void 0),c(this,L,void 0),c(this,S,void 0),c(this,C,!1),c(this,A,void 0),a(this,"createConnection",e=>{f("creating RTCPeerConnection for peer",this.id,"with connection id",e),l(S,this).connectionId=null!=e?e:null,u(b,this,new RTCPeerConnection({iceServers:l(_,this)})),u(A,this,l(b,this).createDataChannel("priming")),l(b,this).addEventListener("negotiationneeded",l(O,this)),l(b,this).addEventListener("icecandidate",l(N,this)),l(b,this).addEventListener("iceconnectionstatechange",l(T,this)),l(b,this).addEventListener("connectionstatechange",l(P,this)),l(b,this).addEventListener("track",l(R,this)),this.emit("connection.created",this)}),a(this,"closeConnection",()=>{var e;f("closing RTCPeerConnection for peer",this.id),null===(e=l(A,this))||void 0===e||e.close(),u(A,this,null),l(b,this).getSenders().forEach(e=>l(b,this).removeTrack(e)),l(b,this).removeEventListener("negotiationneeded",l(O,this)),l(b,this).removeEventListener("icecandidate",l(N,this)),l(b,this).removeEventListener("iceconnectionstatechange",l(T,this)),l(b,this).removeEventListener("connectionstatechange",l(P,this)),l(b,this).removeEventListener("track",l(R,this)),l(b,this).close(),u(b,this,null)}),c(this,O,async()=>{try{u(g,this,!0),await l(b,this).setLocalDescription(),l(v,this).call(this,l(L,this),l(S,this),l(b,this).localDescription)}finally{u(g,this,!1)}}),c(this,N,e=>{e.candidate&&l(E,this).call(this,l(L,this),l(S,this),e.candidate)}),c(this,T,()=>{"failed"===l(b,this).iceConnectionState&&(f("ice connection failed for peer",this.id,"restarting ice"),l(b,this).restartIce())}),c(this,P,()=>{var e;"connected"===l(b,this).connectionState&&(f("connected to peer",this.id),u(C,this,!0),null===(e=l(A,this))||void 0===e||e.close(),u(A,this,null),this.emit("connection.updated",this)),"disconnected"===l(b,this).connectionState&&(f("disconnected from peer",this.id),u(C,this,!1),this.emit("connection.updated",this))}),c(this,R,e=>{const t=e.streams[0];t?(t.removeEventListener("removetrack",l(M,this)),t.addEventListener("removetrack",l(M,this)),this.emit("track.added",e.track)):console.warn("CobrowseIO: Failed to add track, expected stream")}),c(this,M,e=>{this.emit("track.removed",e.track)}),a(this,"handleOffer",async(e,t,r)=>{if(l(L,this).connectionId!==t.connectionId&&t.connectionId)return f("offer intended for different connection");if(l(S,this).connectionId||(l(S,this).connectionId=e.connectionId),l(S,this).connectionId!==e.connectionId)return f("offer from",e,"has a different connection id"),this.closeConnection(),this.createConnection(e.connectionId),this.handleOffer(e,t,r);const n=!l(g,this)&&("stable"===l(b,this).signalingState||l(I,this));if(u(y,this,!n&&!l(m,this)),l(y,this))return f("offer collision, ignoring as the impolite peer");await l(b,this).setRemoteDescription(r);const i=l(w,this).length;i>0&&(f("adding ice candidates from queue",i),await Promise.allSettled(l(w,this).map(e=>l(b,this).addIceCandidate(e))),l(w,this).length=0),await l(b,this).setLocalDescription(),l(v,this).call(this,l(L,this),l(S,this),l(b,this).localDescription)}),a(this,"handleAnswer",async(e,t,r)=>{if(l(L,this).connectionId!==t.connectionId)return f("answer intended for different connection");if(l(S,this).connectionId||(l(S,this).connectionId=e.connectionId),l(S,this).connectionId!==e.connectionId)return f("answer from different connection ignored");try{u(I,this,!0),await l(b,this).setRemoteDescription(r)}finally{u(I,this,!1)}const n=l(w,this).length;n>0&&(f("adding ice candidates from queue",n),await Promise.allSettled(l(w,this).map(e=>l(b,this).addIceCandidate(e))),l(w,this).length=0)}),a(this,"handleIceCandidate",async(e,t,r)=>{if(l(L,this).connectionId!==t.connectionId)return f("ice candidate intended for different connection");if(l(S,this).connectionId!==e.connectionId)return f("ice candidate from different connection ignored");if(l(b,this).remoteDescription)try{await l(b,this).addIceCandidate(r)}catch(e){if(!l(y,this))throw e}else l(w,this).push(r)});const t=e.localClientId;u(h,this,e.remoteClientId),u(p,this,e.agentId),u(_,this,e.iceServers),u(v,this,e.sendSDP),u(E,this,e.sendCandidate),u(m,this,[t,l(h,this)].sort()[0]===t),u(w,this,[]),u(L,this,{clientId:t,connectionId:(0,o.v4)()}),u(S,this,{clientId:l(h,this),connectionId:null})}get id(){return l(h,this)}get agentId(){return l(p,this)}get isConnected(){return l(C,this)}get connection(){return l(b,this)}}t.default=k},74953(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(62953);var n=a(r(51227)),i=r(37007),o=r(67052),s=a(r(18684));function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function u(e,t){return e.get(f(e,t))}function d(e,t,r){return e.set(f(e,t),r),r}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const h=(0,n.default)("cbio.Calling.PeerManager");var p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap;class I extends i.EventEmitter{constructor(e,t){super(),l(this,p,void 0),l(this,_,void 0),l(this,v,new Map),c(this,"createPeer",async(e,t,r)=>{if(u(v,this).has(t))return;h("creating peer",t);const n=new s.default({localClientId:e,remoteClientId:t,agentId:r,iceServers:u(_,this),sendSDP:(e,t,r)=>u(p,this).sendSDP(e,t,r),sendCandidate:(e,t,r)=>u(p,this).sendCandidate(e,t,r)});n.on("connection.updated",u(E,this)),u(v,this).set(t,n);const i=u(p,this).takeLastOffer(t);if(i){const e=i.from.connectionId;h("using last offer with connection id",e),n.createConnection(e),await n.handleOffer(i.from,i.to,i.sdp)}else n.createConnection(null);h("peer created"),this.emit("peer.created",n)}),l(this,E,e=>{this.emit("peer.connection.updated",e)}),c(this,"removePeer",e=>{h("removing peer",e);const t=u(v,this).get(e);if(!t)return h("unknown peer",e);u(m,this).call(this,t),this.emit("peer.removed",e)}),c(this,"reconnectPeers",()=>{this.peers.forEach(e=>{e.closeConnection(),e.createConnection(null)})}),l(this,m,e=>{e.off("connection.updated",u(E,this)),e.closeConnection(),u(v,this).delete(e.id)}),l(this,g,(e,t,r)=>{h("receiving sdp",r.type,"from",e);const n=u(v,this).get(e.clientId);if(!n)return h("unknown peer",e.clientId);"offer"===r.type&&(u(p,this).takeLastOffer(e.clientId),n.handleOffer(e,t,r)),"answer"===r.type&&n.handleAnswer(e,t,r)}),l(this,y,async(e,t,r)=>{h("receiving ice candidate from",e);const n=u(v,this).get(e.clientId);if(!n)return h("unknown peer",e.clientId);n.handleIceCandidate(e,t,r)}),c(this,"destroy",()=>{u(p,this).flushLastOfferCache(),u(p,this).off(o.SIGNAL.CANDIDATE,u(y,this)),u(p,this).off(o.SIGNAL.SDP,u(g,this)),u(v,this).forEach(u(m,this)),u(v,this).clear()}),d(p,this,e),d(_,this,t),u(p,this).on(o.SIGNAL.SDP,u(g,this)),u(p,this).on(o.SIGNAL.CANDIDATE,u(y,this))}get peers(){return[...u(v,this).values()]}}t.default=I},67052(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SIGNAL=void 0,r(16280),r(33110),r(58335),r(62953);var n,i=(n=r(51227))&&n.__esModule?n:{default:n},o=r(37007);function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t){return e.get(u(e,t))}function l(e,t,r){return e.set(u(e,t),r),r}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const d=(0,i.default)("cbio.Calling.Signalling"),f=t.SIGNAL={SDP:"sdp",CANDIDATE:"icecandidate"};var h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap;class g extends o.EventEmitter{constructor(e,t){super(),a(this,h,void 0),a(this,p,void 0),a(this,_,new Map),s(this,"sendSDP",(e,t,r)=>{d("sending sdp with type",r.type,"to",t),c(h,this).send(f.SDP,{from:e,to:t,sdp:JSON.stringify(r)})}),s(this,"sendCandidate",(e,t,r)=>{d("sending ice candidate","to",t),c(h,this).send(f.CANDIDATE,{from:e,to:t,candidate:JSON.stringify(r)})}),s(this,"takeLastOffer",e=>{const t=c(_,this).get(e);return c(_,this).delete(e),t}),s(this,"flushLastOfferCache",()=>{c(_,this).clear()}),a(this,v,(e,t)=>{e===f.SDP&&c(E,this).call(this,t),e===f.CANDIDATE&&c(m,this).call(this,t)}),a(this,E,e=>{let{from:t,to:r,sdp:n}=e;if(!c(p,this).call(this,r))return;const i=JSON.parse(n);d("receiving sdp with type",i.type,"from",t),"offer"===i.type&&c(_,this).set(t.clientId,{from:t,to:r,sdp:i}),this.emit(f.SDP,t,r,i)}),a(this,m,e=>{let{from:t,to:r,candidate:n}=e;c(p,this).call(this,r)&&(d("receiving ice candidate","from",t),this.emit(f.CANDIDATE,t,r,JSON.parse(n)))}),s(this,"destroy",()=>{c(h,this).off("event",c(v,this)),this.flushLastOfferCache()}),l(h,this,e),l(p,this,t),c(h,this).on("event",c(v,this))}}t.default=g},30310(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Peer",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"PeerManager",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Signalling",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"fetchIceServers",{enumerable:!0,get:function(){return n.fetchIceServers}});var n=r(86245),i=a(r(18684)),o=a(r(74953)),s=a(r(67052));function a(e){return e&&e.__esModule?e:{default:e}}},168(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.isProtocolAllowed=t.URLRewriter=void 0,r(16280),r(27495),r(25440),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(79444),i=r(76925);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(function(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}(e,t))}const u=["http:","https:"],d=e=>u.includes(e);t.isProtocolAllowed=d;var f=new WeakMap,h=new WeakMap,p=new WeakMap;t.URLRewriter=class{constructor(e,t,r,o,u,_){var v=this;c(this,f,e=>e.startsWith("#")),c(this,h,e=>e.hostname===this.proxyApiUrl.hostname),c(this,p,e=>"".concat(e.pathname).concat(e.search).concat(e.hash).replace(/^.*?\/proxy\/1\/[^/]+/i,"")),a(this,"proxify",function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return e;if(l(f,v).call(v,e.toString()))return e;const r=s(s(s({},v.queryParams),v.getOrigin?{origin:v.getOrigin()}:{}),t);try{const t=new URL(e,v.baseUrl);if(!d(t.protocol))return e;const n=l(h,v).call(v,t)?v.unproxify(t.toString()):t.toString(),o=(0,i.proxifyUrl)(n,r);return new URL(".".concat(o),v.proxyApiUrl).toString()}catch(t){return e}}),a(this,"unproxify",e=>{if(!e)return e;if(l(f,this).call(this,e.toString()))return e;try{const t=new URL(e,this.baseUrl);if(!d(t.protocol))return e;if(!l(h,this).call(this,t))return e;const r=l(p,this).call(this,t);return(0,n.unproxifyPath)(r).toString()}catch(t){return e}}),this.proxyApiUrl=new URL(t,e),this.queryParams=u?s({},u):{},r&&(this.queryParams.access_token=r),this.baseUrl=o,this.getOrigin=_}}},9147(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PROXY_PREFIX",{enumerable:!0,get:function(){return i.PROXY_PREFIX}}),Object.defineProperty(t,"URLRewriter",{enumerable:!0,get:function(){return n.URLRewriter}}),Object.defineProperty(t,"isProtocolAllowed",{enumerable:!0,get:function(){return n.isProtocolAllowed}});var n=r(168),i=r(42859)},76925(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reverseHost=t.proxifyUrl=void 0,r(94490),r(18111),r(61701),r(27495),r(25440),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);const n=e=>e.split(".").reverse().map(encodeURIComponent).join("/");t.reverseHost=n,t.proxifyUrl=(e,t)=>{const{hostname:r,protocol:i,pathname:o,search:s,port:a,username:c,password:l,hash:u}=new URL(e),d=n(r),f="".concat(d,"/").concat(i).concat(o).concat(u),h=new URL(f,"http://placeholder.base");s&&h.searchParams.set("search",s.replace("?","")),a&&h.searchParams.set("port",a),c&&h.searchParams.set("username",c),l&&h.searchParams.set("password",l);for(const[e,r]of Object.entries(t||{}))h.searchParams.set(e,r);return"".concat(h.pathname).concat(h.search).concat(h.hash)}},42859(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PROXY_PREFIX=void 0,t.PROXY_PREFIX={UNIVERSAL:"./proxy/1/universal/"}},79444(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unproxifyPath=void 0,r(94490),r(18111),r(61701),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721),t.unproxifyPath=e=>{const{pathname:t,hash:r,searchParams:n}=new URL(e,"http://placeholder.base"),i=t.split("/"),o=i.findIndex(e=>"http:"===e||"https:"===e),s=i[o],a=i.slice(1,o).reverse().map(decodeURIComponent),c=i.slice(o+1,i.length),l=n.get("search"),u=n.get("port"),d=n.get("username"),f=n.get("password"),h=a.join("."),p=c.join("/"),_=l?"?".concat(l):"",v=u?":".concat(u):"",E=d&&f?"".concat(d,":").concat(f,"@"):"";return new URL("".concat(s,"//").concat(E).concat(h).concat(v,"/").concat(p).concat(_).concat(r))}},90083(e,t,r){"use strict";var n;function i(e,t){return e.get(o(e,t))}function o(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);const s=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.Redaction");var a=new WeakMap;t.default=new class{constructor(){!function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(this,a,void 0)}init(e){var t,r;r=e,(t=a).set(o(t,this),r),s("initialising with new nodeIndex")}getRedactedBy(e){var t,r;return null!==(t=null===(r=i(a,this))||void 0===r?void 0:r.getIncludedBy(e))&&void 0!==t?t:null}isRedacted(e){var t,r;return null!==(t=null===(r=i(a,this))||void 0===r?void 0:r.isIncluded(e))&&void 0!==t&&t}notifyChanges(e,t,r,n){var o,s;return null!==(o=null===(s=i(a,this))||void 0===s?void 0:s.notifyChanges(e,t,r,n))&&void 0!==o?o:new Set}}},16566(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Redaction",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(90083))&&n.__esModule?n:{default:n}},32976(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=c(r(25454)),i=c(r(51227)),o=r(66938),s=r(16566),a=r(67501);function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=(0,i.default)("cbio.ControlEvents");t.default=new class{constructor(){l(this,"_applyScroll",(e,t)=>{const r=e.defaultView||e;r.scrollTo?r.scrollTo(t.x,t.y):(r.scrollTop=t.y,r.scrollLeft=t.x)}),l(this,"_updateCheckbox",(e,t)=>{let{checked:r}=t;if(void 0!==r&&"INPUT"===e.tagName&&void 0!==e.checked){const t=Object.getOwnPropertyDescriptor(e.constructor.prototype,"checked");t&&t.set.call(e,r)}}),l(this,"_updateInnerHTML",(e,t)=>{let{innerHTML:r}=t;if(void 0!==r){const t=(new DOMParser).parseFromString(n.default.sanitize(r),"text/html");e.replaceChildren(...t.body.children)}}),l(this,"_updateValue",(e,t,r)=>{let{value:n,selectedOptions:i}=t;if(void 0!==n&&"input"===r){const t=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value");t&&t.set.call(e,n)}"TEXTAREA"===e.tagName&&o.NodeTracker.track(e.childNodes[0]),"SELECT"===e.tagName&&null!=i&&[...e.options].forEach(e=>{e.selected=i.includes(e.value)})}),l(this,"_updateTarget",(e,t)=>{this._updateValue(e,t.target,t.state),this._updateCheckbox(e,t.target),this._updateInnerHTML(e,t.target)}),l(this,"_generateMouse",(e,t)=>new MouseEvent(t.state,{clientX:t.x*window.innerWidth,clientY:t.y*window.innerHeight,bubbles:!0,cancelable:!0,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})),l(this,"_generatePointer",(e,t)=>new PointerEvent(t.state,{clientX:t.x*window.innerWidth,clientY:t.y*window.innerHeight,pointerId:t.pointerId,width:t.width,height:t.height,pressure:t.pressure,tangentialPressure:t.tangentialPressure,tiltX:t.tiltX,tiltY:t.tiltY,twist:t.twist,pointerType:t.pointerType,isPrimary:t.isPrimary,bubbles:!0,cancelable:!0,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})),l(this,"_generateKeypress",(e,t)=>new KeyboardEvent(t.state,{key:t.key,code:t.code,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey,charCode:t.charCode,keyCode:t.keyCode,which:t.which,bubbles:!0,cancelable:!0,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})),l(this,"_generateFocus",(e,t)=>new FocusEvent(t.state,{bubbles:["focusin","focusout"].includes(t.state),cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})),l(this,"_generateChange",(e,t)=>new CustomEvent(t.state,{bubbles:!0,cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})),l(this,"_generateInput",(e,t)=>new CustomEvent(t.state,{bubbles:!0,cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window,inputType:t.inputType,data:t.data})),l(this,"_generateSelection",(e,t)=>new CustomEvent("selection",{bubbles:!0,cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window,selection:t.selection})),l(this,"_generateEvent",(e,t,r)=>{switch(r.state.includes("move")&&u("generate",r,"on",t),e){case"keypress":return this._generateKeypress(t,r);case"mouse":return this._generateMouse(t,r);case"pointer":return this._generatePointer(t,r);case"change":return this._generateChange(t,r);case"input":return this._generateInput(t,r);case"focus":return this._generateFocus(t,r);case"select":return this._generateSelection(t,r);default:return console.warn("CobrowseIO: unknown event type",e,r),null}}),l(this,"_setSelection",(e,t)=>{let{selection:r}=t;if(!(e.__cobrowse_user_selection_timestamp>Date.now()-100)&&e.getSelection&&e.getSelection())try{r?(e.__last_agent_selection_ts=Date.now(),e.getSelection().removeAllRanges(),r.forEach(t=>{const{start:r,startOffset:n,end:i,endOffset:s}=t,a=document.createRange(),c=o.NodeTracker.getById(r),l=o.NodeTracker.getById(i);a.setStart(c,n),a.setEnd(l,s),e.getSelection().addRange(a)})):e.getSelection().removeAllRanges()}catch(e){console.warn("Failed to apply selection",r,e)}}),l(this,"_setInputSelection",(e,t)=>{let{selection:r}=t;if(!(e.ownerDocument.__cobrowse_user_selection_timestamp>Date.now()-100)&&["text","textarea","search","url"].includes(e.type))try{if(e.ownerDocument.__last_agent_selection_ts=Date.now(),r){const{start:t,end:n,direction:i}=r;e.focus(),e.setSelectionRange(t,n,i)}else e.getRootNode({composed:!0}).activeElement===e&&e.setSelectionRange(null,null)}catch(e){console.warn("Failed to select text",e)}}),l(this,"applyEvent",(e,t)=>{if(!t.target)return null;const r=o.NodeTracker.getById(t.target.id);if(!r)return null;if(s.Redaction.isRedacted(r))return null;if(a.DisabledViews.isDisabled(r))return null;try{var n;if("scroll"===e)return this._applyScroll(r,t);if(null!==(n=r._cobrowse_suppress_events)&&void 0!==n&&n.has(t.state))return r._cobrowse_suppress_events.delete(t.state),0===r._cobrowse_suppress_events.size&&delete r._cobrowse_suppress_events.size,null;const i=this._generateEvent(e,r,t);return i&&(r.dispatchEvent(i)?(["keydown","keypress","input"].includes(t.state)&&this._updateTarget(r,t),["selectionchange"].includes(t.state)&&this._setSelection(r,t),["select"].includes(t.state)&&this._setInputSelection(r,t)):"keydown"===t.state?r._cobrowse_suppress_events=new Set(["keypress","input"]):"keypress"===t.state&&(r._cobrowse_suppress_events=new Set(["input"]))),i}catch(t){return console.warn("Error while injecting event",e,t),null}})}isTypingInput(e){if(e.target){const t=o.NodeTracker.getById(e.target.id);if(["text","email","number","password","search","tel","url","datetime","textarea"].includes(null==t?void 0:t.type))return!0}return!1}}},83672(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ControlEvents",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(32976))&&n.__esModule?n:{default:n}},42109(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(82701))&&n.__esModule?n:{default:n};class o extends i.default{constructor(e,t,r){super(t,r),this.id=e,this.name="APIError"}}t.default=o},82701(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280);class n extends Error{constructor(e,t){super(t),this.status=e,this.name="HTTPError"}}t.default=n},53469(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(33110),r(96167),r(62953);var n=r(37007),i=c(r(1045)),o=c(r(90179)),s=c(r(2404)),a=c(r(42109));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function h(e,t,r){return e.set(_(e,t),r),r}function p(e,t){return e.get(_(e,t))}function _(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap;class w extends n.EventEmitter{constructor(){super(...arguments),f(this,v,{}),f(this,E,{}),f(this,m,null),f(this,g,null),f(this,y,null),f(this,I,async e=>{if(e.status>=400){const t=await e.json();throw new a.default(t.id,e.status,t.message)}if(!e.ok)throw new Error("Failed to parse response, response not ok");return 204===e.status?null:await e.json()})}get _resource(){return console.warn("The _resource property is private and should not be accessed directly. It will soon be removed entirely. Please update your implementation to use only the public APIs."),p(E,this)}get resource(){return p(E,this)}url(){throw new Error("url() must be implemented")}id(){return this.field("id")}field(e){return(p(E,this)||{})[e]}cache(e){h(E,this,u(u({},p(E,this)),e))}async fetch(){await Promise.allSettled([p(m,this),p(g,this),p(y,this)]);const e=await fetch(this.url(),{headers:(0,o.default)(this.headers(),["Content-Type"])});return this.updateResource(await p(I,this).call(this,e))}async create(){h(m,this,(async()=>{const e=await fetch(this.url(),{method:"POST",headers:this.headers()});return this.updateResource(await p(I,this).call(this,e))})());try{return await p(m,this)}finally{h(m,this,null)}}async update(e){await Promise.allSettled([p(g,this)]),h(g,this,(async e=>{if(e&&Object.keys(e).length>0&&(0,i.default)(p(E,this),e,s.default))return this;const t=await fetch(this.url(),{method:this.id()?"PUT":"POST",headers:this.headers(),body:JSON.stringify(e)});return this.updateResource(await p(I,this).call(this,t))})(e));try{return await p(g,this)}finally{h(g,this,null)}}async destroy(){h(y,this,(async()=>{const e=await fetch(this.url(),{method:"DELETE",headers:this.headers()});return this.updateResource(await p(I,this).call(this,e))})());try{return await p(y,this)}finally{h(y,this,null)}}updateResource(e){const t=this.clone();return h(E,this,e||{}),this.emit("updated",this,t),this}clone(e){e&&h(E,e,u({},p(E,this)))}headers(){return u(u({},w.headers()),p(v,this))}setHeader(e,t){p(v,this)[e]=t}getHeader(e){return this.headers()[e]}static headers(){return _(w,this,b)._}static setHeader(e,t){b._[e]=t}static getHeader(e){return b._[e]}static set api(e){L._=e}static get api(){return L._}}t.default=w;var b={_:{}},L={_:void 0}},40492(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RESTResource",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(53469))&&n.__esModule?n:{default:n}},52404(e,t,r){"use strict";r(44114),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(22489),r(61806),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(80608),i=r(37609),o=c(r(60086)),s=r(40492),a=r(21667);function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function h(e,t){return e.get(_(e,t))}function p(e,t,r){return e.set(_(e,t),r),r}function _(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const v=(0,c(r(51227)).default)("cbio.Session");var E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap;class T extends s.RESTResource{constructor(e){var t;if(super(),t=this,f(this,E,void 0),f(this,m,void 0),f(this,g,{}),f(this,y,e=>{this.setHeader("X-CobrowseDeviceToken",e)}),f(this,I,()=>this.getHeader("X-CobrowseDeviceToken")),d(this,"activate",()=>(v("activate session"),this.update({state:"active",device:a.Device.info,custom_data:h(E,this).customData}))),d(this,"end",()=>(v("end session"),this.update({state:"ended"}))),d(this,"code",()=>this.field("code")),d(this,"state",()=>this.field("state")),d(this,"isActive",()=>"active"===this.state()),d(this,"isAuthorizing",()=>"authorizing"===this.state()),d(this,"isPending",()=>"pending"===this.state()),d(this,"isEnded",()=>"ended"===this.state()),d(this,"isVirtual",()=>!!this.field("virtual")),d(this,"redactionSelectors",()=>{const e=this.field("redaction_selectors");return Array.isArray(e)?e:[]}),d(this,"unredactionSelectors",()=>{const e=this.field("unredaction_selectors");return Array.isArray(e)?e:[]}),d(this,"agent",()=>this.field("agent")||!1),d(this,"agents",()=>this.field("agents")||[]),d(this,"requireConsent",()=>this.field("require_consent")),d(this,"endedReason",()=>this.field("ended_reason")),d(this,"fullDevice",()=>!0===this.field("full_device")||"on"===this.field("full_device")||"requested"===this.field("full_device")),d(this,"setFullDevice",e=>(h(m,this).toggle(["laser","drawing","disappearing_ink","arrows","rectangles","pointer","scroll","select","keypress","cursor"],"on"!==e),this.update({full_device:e}))),d(this,"update",e=>super.update(u({capabilities:h(m,this).toArray()},e))),d(this,"scale",()=>this.field("scale")||.5),d(this,"remoteControl",()=>this.field("remote_control")||"on"),d(this,"setRemoteControl",e=>this.update({remote_control:e})),d(this,"allowRemoteControl",()=>"on"===this.remoteControl()),d(this,"calling",()=>this.field("calling")),d(this,"setCalling",e=>this.update({calling:e})),d(this,"caller",()=>this.field("caller")),d(this,"updateResource",e=>{const t=this.isEnded();return super.updateResource(e),this.isEnded()&&!t&&(this.emit("ended",this),this.removeAllListeners()),this}),d(this,"clone",()=>{const e=new T(h(E,this));return super.clone(e),e}),f(this,w,(0,i.protect)(this,"setMetrics",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p(g,t,u(u({},h(g,t)),e)),t.emit("metrics.updated",t)})),f(this,b,(0,i.protect)(this,"serialize",()=>u(u({},this.resource),{},{_locals:{token:h(I,this).call(this)}}))),f(this,L,(0,i.protect)(this,"serializeSanitized",()=>({state:this.resource.state,redaction_selectors:this.resource.redaction_selectors}))),f(this,S,(0,i.protect)(this,"deserialize",e=>{const t=e._locals||{};return delete e._locals,t.token&&h(y,this).call(this,t.token),this.updateResource(e),this})),f(this,C,(0,i.protect)(this,"compress",()=>"".concat(this.resource.id,":").concat(h(I,this).call(this)))),f(this,A,(0,i.protect)(this,"decompress",e=>{const t=e.split(":");return h(S,this).call(this,{_locals:{token:t[t.length-1]},id:t.slice(0,-1).join(":")}),this})),f(this,O,(0,i.protect)(this,"proxyToken",()=>this.field("proxy_token"))),f(this,N,(0,i.protect)(this,"proxyUrl",()=>this.field("proxy_url"))),!e)throw new Error("Session delegate is required");p(E,this,e),p(m,this,new o.default(e.capabilities));const r=Math.ceil(Date.now()/36e5);h(y,this).call(this,(0,n.v5)(r+"",a.Device.deviceToken()))}get capabilities(){const e=this.field("capabilities");return null==e?h(m,this).toArray():h(m,this).toArray().filter(t=>null==e?void 0:e.includes(t))}url(){const e=this.id()||this.code();return new URL("api/1/sessions".concat(e?"/".concat(e):""),T.api).toString()}get created(){return new Date(this.field("created"))}get expires(){return new Date(this.field("expires"))}get activated(){return this.field("activated")?new Date(this.field("activated")):null}get updated(){return this.field("updated")?new Date(this.field("updated")):null}get ended(){return this.field("ended")?new Date(this.field("ended")):null}get metrics(){return h(g,this)}}t.default=T},60086(e,t,r){"use strict";function n(e,t){return e.get(i(e,t))}function i(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(22489),r(7588),r(18237),r(62953);var o=new WeakMap;t.default=class{constructor(e){var t,r,n;n={},function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t=this,r=o),r.set(t,n),this.fill(e)}fill(e){var t,r;return t=o,r=e.reduce((e,t)=>(e[t]=!0,e),{}),t.set(i(t,this),r),this}all(){return n(o,this)}toArray(){return Object.keys(n(o,this)).filter(e=>n(o,this)[e])}toggle(e,t){return Array.isArray(e)||(e=[e]),e.filter(e=>e in n(o,this)).forEach(e=>{n(o,this)[e]=t}),this}}},57089(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SESSION_CAPABILITY_TYPE_UNIVERSAL=t.SESSION_CAPABILITY_TYPE_SELECT=t.SESSION_CAPABILITY_TYPE_SCROLL=t.SESSION_CAPABILITY_TYPE_RECTANGLES=t.SESSION_CAPABILITY_TYPE_POINTER=t.SESSION_CAPABILITY_TYPE_LASER=t.SESSION_CAPABILITY_TYPE_KEYPRESS=t.SESSION_CAPABILITY_TYPE_HIGHLIGHT=t.SESSION_CAPABILITY_TYPE_FULL_DEVICE=t.SESSION_CAPABILITY_TYPE_DRAWING=t.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK=t.SESSION_CAPABILITY_TYPE_CURSOR=t.SESSION_CAPABILITY_TYPE_CALLING=t.SESSION_CAPABILITY_TYPE_ARROWS=void 0;const r=t.SESSION_CAPABILITY_TYPE_POINTER="pointer",n=t.SESSION_CAPABILITY_TYPE_SCROLL="scroll",i=t.SESSION_CAPABILITY_TYPE_SELECT="select",o=t.SESSION_CAPABILITY_TYPE_KEYPRESS="keypress",s=t.SESSION_CAPABILITY_TYPE_DRAWING="drawing",a=t.SESSION_CAPABILITY_TYPE_ARROWS="arrows",c=t.SESSION_CAPABILITY_TYPE_RECTANGLES="rectangles",l=t.SESSION_CAPABILITY_TYPE_LASER="laser",u=t.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK="disappearing_ink",d=t.SESSION_CAPABILITY_TYPE_FULL_DEVICE="full_device",f=t.SESSION_CAPABILITY_TYPE_CURSOR="cursor",h=t.SESSION_CAPABILITY_TYPE_UNIVERSAL="universal",p=t.SESSION_CAPABILITY_TYPE_HIGHLIGHT="highlight",_=t.SESSION_CAPABILITY_TYPE_CALLING="calling";t.default=[r,n,i,o,s,a,c,u,l,d,f,h,p,_]},30729(e,t,r){"use strict";r(44114),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(13579),r(62953);var n=N(r(2404)),i=r(80608),o=N(r(90324)),s=r(8647),a=r(45264),c=r(33035),l=r(83672),u=r(67501),d=r(16566),f=r(66938),h=r(75632),p=N(r(51227)),_=r(57089),v=r(68325),E=r(49715),m=r(11065),g=r(91834),y=N(r(6900)),I=r(44661),w=r(89689),b=N(r(44153)),L=N(r(94340)),S=r(14162),C=r(24719),A=N(r(77966)),O=r(30310);function N(e){return e&&e.__esModule?e:{default:e}}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){R(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function R(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e,t,r){k(e,t),t.set(e,r)}function k(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function D(e,t){return e.get(j(e,t))}function x(e,t,r){return e.set(j(e,t),r),r}function j(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const G=(0,p.default)("cbio.SessionContext"),U=(0,p.default)("cbio.SessionContext.events");var W=new WeakMap,V=new WeakMap,z=new WeakMap,F=new WeakMap,B=new WeakMap,H=new WeakMap,Y=new WeakMap,Q=new WeakMap,J=new WeakMap,K=new WeakMap,X=new WeakMap,q=new WeakMap,Z=new WeakMap,$=new WeakSet,ee=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,ie=new WeakMap,oe=new WeakMap,se=new WeakMap,ae=new WeakMap,ce=new WeakMap,le=new WeakMap,ue=new WeakMap,de=new WeakMap,fe=new WeakMap,he=new WeakMap,pe=new WeakMap,_e=new WeakMap,ve=new WeakMap,Ee=new WeakMap,me=new WeakMap,ge=new WeakMap,ye=new WeakMap,Ie=new WeakMap,we=new WeakMap,be=new WeakMap,Le=new WeakMap,Se=new WeakMap,Ce=new WeakMap,Ae=new WeakMap,Oe=new WeakMap,Ne=new WeakMap;function Te(e){return{[v.SESSION_EVENT_TYPE_MOUSE]:[_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_TOUCH]:[_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_POINTER]:[_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_FOCUS]:[_.SESSION_CAPABILITY_TYPE_KEYPRESS,_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_KEYPRESS]:[_.SESSION_CAPABILITY_TYPE_KEYPRESS],[v.SESSION_EVENT_TYPE_SCROLL]:[_.SESSION_CAPABILITY_TYPE_SCROLL],[v.SESSION_EVENT_TYPE_CHANGE]:l.ControlEvents.isTypingInput(e)?[_.SESSION_CAPABILITY_TYPE_KEYPRESS]:[_.SESSION_CAPABILITY_TYPE_KEYPRESS,_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_INPUT]:l.ControlEvents.isTypingInput(e)?[_.SESSION_CAPABILITY_TYPE_KEYPRESS]:[_.SESSION_CAPABILITY_TYPE_KEYPRESS,_.SESSION_CAPABILITY_TYPE_POINTER],[v.SESSION_EVENT_TYPE_LASER]:[_.SESSION_CAPABILITY_TYPE_LASER],[v.SESSION_EVENT_TYPE_HIGHLIGHT]:[_.SESSION_CAPABILITY_TYPE_HIGHLIGHT],[v.SESSION_EVENT_TYPE_DRAWING]:null!=e.disappears_in?[_.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK]:[_.SESSION_CAPABILITY_TYPE_DRAWING,_.SESSION_CAPABILITY_TYPE_RECTANGLES,_.SESSION_CAPABILITY_TYPE_ARROWS],[v.SESSION_EVENT_TYPE_SELECT]:[_.SESSION_CAPABILITY_TYPE_SELECT]}[e.type].some(e=>this.session.capabilities.includes(e))}t.default=class{constructor(e,t){var r;k(this,r=$),r.add(this),M(this,W,void 0),M(this,V,void 0),M(this,z,new s.FrameLoop),M(this,F,void 0),M(this,B,void 0),M(this,H,void 0),M(this,Y,void 0),M(this,Q,void 0),M(this,J,void 0),M(this,K,void 0),M(this,X,()=>{D(Ie,this).call(this),D(Q,this)||(x(Q,this,new S.ClientTracker(this.delegate.deviceId(),(0,i.v4)())),D(Q,this).on("ping",e=>D(W,this).stream.send("client",e)),this.session.on("client",D(ce,this))),D(J,this)||(x(J,this,new C.Calling({sessionId:this.session.id(),updateCalling:e=>this.session.update({calling:e}),fetchIceServers:()=>(0,O.fetchIceServers)(this.session),clientTracker:D(Q,this),socket:D(W,this).stream,agentId:null})),D(J,this).handleSessionUpdate(this.session.calling(),this.session.caller())),D(Q,this).ping(),x(K,this,()=>{x(K,this,null),a.HighlightTracking.resolvePendingHighlight()})}),M(this,q,e=>{var t;"session-end"===e&&null!==(t=this.session)&&void 0!==t&&t.isActive()&&this.session.end()}),M(this,Z,e=>{var t;return!(null===(t=this.session)||void 0===t||!t.isActive()||e===I.NAVIGATION_TYPE.UNIVERSAL&&!this.session.capabilities.includes(_.SESSION_CAPABILITY_TYPE_UNIVERSAL))}),R(this,"handleNavigation",(e,t,r,n)=>{var i;const{name:o,go:s,type:a}=n,{handle:c,document:l}=D(H,this).resolveDocument(n.handle,o),{windowProxy:u}=l,d=i=>{const s=D(Y,this).runHandler(e,i||t,r,P(P({},n),{},{document:l}));return s.rewrittenUrl?{rewrittenUrl:s.rewrittenUrl}:(s.document&&D(H,this).addDocument(c,o,s.document),{windowProxy:u})};if(!a)return d();if(a===I.NAVIGATION_TYPE.XDOC)return d();const f=this.delegate.confirmOpen(e,a);return f?!0===f?d("_blank"):(null===(i=f.then)||void 0===i||i.call(f,e=>{if(!e)return s(),{windowProxy:u};d("_blank")}),{windowProxy:u}):{rewrittenUrl:e}}),R(this,"invalidateFrames",()=>{D(z,this).isRunning()&&D(z,this).invalidateFrame()}),R(this,"destroy",()=>{G("destroy session context"),D(ge,this).call(this),L.default.off("click",D(q,this)),D(Y,this)&&D(Y,this).destroy(),x(Y,this,null),b.default.off("navigate",D(ee,this)),D(W,this)&&D(W,this).close(),x(W,this,null),D(z,this)&&D(z,this).destroy(),x(z,this,null),D(J,this)&&D(J,this).destroy(),x(J,this,null),D(H,this)&&D(H,this).destroy(),x(H,this,null),D(Q,this)&&D(Q,this).destroy(),x(Q,this,null),a.WindowTracking.off("activate",D(Ie,this)),window.removeEventListener("focus",D(Ie,this),{capture:!0,passive:!0}),window.removeEventListener("hashchange",D(we,this),{capture:!0,passive:!0}),a.MouseTracking.onChange===D(Oe,this)&&(a.MouseTracking.onChange=null),a.InteractionTracking.off("click",D(Se,this)),a.InteractionTracking.off("change",D(Ce,this)),a.InteractionTracking.off("input",D(Ae,this)),A.default.off("click",D(Se,this)),A.default.off("change",D(Ce,this)),A.default.off("input",D(Ae,this)),a.HighlightTracking.off("end",D(oe,this)),this.session&&(this.session.removeListener("update",D(me,this)),this.session.removeListener("ended",D(ge,this)),this.session.removeListener("sync",D(re,this)),this.session.removeListener("drawing",D(se,this)),this.session.removeListener("laser",D(ne,this)),this.session.removeListener("control",D(ae,this)),this.session.removeListener("remote-error",D(te,this)),this.session.removeListener("client",D(ce,this))),document.removeEventListener("DOMContentLoaded",D(le,this),{once:!0}),this.session=null}),M(this,ee,(e,t)=>{D(ue,this).call(this,this.session),D(de,this).call(this),D(fe,this).call(this),c.Highlight.hide(),((0,h.didSelectorsChange)(this.delegate.redactedViews,t)||(0,h.didSelectorsChange)(this.delegate.unredactedViews,t)||(0,h.didSelectorsChange)(this.session.redactionSelectors(),t)||(0,h.didSelectorsChange)(this.session.unredactionSelectors(),t))&&this.invalidateFrames()}),M(this,te,async e=>{const t=D(z,this).getSource();if(!(t instanceof s.DOMFrameSource))return;const{target:r,error:{cause:n}}=e;if("load-error"!==n)return;const i="string"==typeof r?r:r.id;await(0,f.applyContentCache)(i),t.partialSync(i)}),M(this,re,e=>{let{id:t}=e;t&&D(F,this)===t||(x(F,this,t),D(z,this).invalidateFrame())}),M(this,ne,e=>{j($,this,Te).call(this,e)&&a.WindowTracking.isActive()&&(this.session.fullDevice()||c.LaserOverlay.update(e))}),M(this,ie,async e=>{U("on(highlight)",e),j($,this,Te).call(this,e)&&a.WindowTracking.isActive()&&(this.session.fullDevice()||await a.HighlightTracking.highlightAndWait(this.delegate,e))}),M(this,oe,e=>{let{id:t,state:r}=e;D(ye,this).call(this,"highlight",{type:v.SESSION_EVENT_TYPE_HIGHLIGHT,id:t,state:r,timestamp:new Date})}),M(this,se,e=>{j($,this,Te).call(this,e)&&(e.image||c.AnnotationOverlay.hide(e.agent),a.WindowTracking.isActive()&&(this.session.fullDevice()||c.AnnotationOverlay.update(e)))}),M(this,ae,(e,t)=>{"focus"!==e||t.agent||a.WindowTracking.resignActive(),t.agent&&a.WindowTracking.isActive()&&(this.session.fullDevice()||this.session.allowRemoteControl()&&(this.session.capabilities.includes(_.SESSION_CAPABILITY_TYPE_CURSOR)&&c.RemoteCursor.update(e,t),j($,this,Te).call(this,t)&&l.ControlEvents.applyEvent(e,t)))}),M(this,ce,e=>{D(Q,this).track(e)}),M(this,le,e=>{this.session&&(e.isActive()?document.body?this.delegate.showSessionControls(e):document.addEventListener("DOMContentLoaded",D(le,this),{once:!0}):this.delegate.hideSessionControls(e))}),M(this,ue,e=>{var t,r;const n=null!==(t=this.delegate.redactedViews)&&void 0!==t?t:[],i=null!==(r=this.delegate.unredactedViews)&&void 0!==r?r:[],o=[...n,...e.redactionSelectors()],s=[...i,...e.unredactionSelectors()];d.Redaction.init(new f.NodeIndex((0,h.resolveSelectorsForCurrentUrl)(o),(0,h.resolveSelectorsForCurrentUrl)(s)))}),M(this,de,()=>{f.NodeTree.setIgnoredViews((0,h.resolveSelectorsForCurrentUrl)(this.delegate.ignoredViews))}),M(this,fe,()=>{u.DisabledViews.init(new f.NodeIndex((0,h.resolveSelectorsForCurrentUrl)(this.delegate.disabledViews),(0,h.resolveSelectorsForCurrentUrl)(this.delegate.enabledViews)))}),M(this,he,(e,t)=>{const r=!(0,n.default)(e.redactionSelectors(),(null==t?void 0:t.redactionSelectors())||[]),i=!(0,n.default)(e.unredactionSelectors(),(null==t?void 0:t.unredactionSelectors())||[]);return r||i}),M(this,pe,async e=>{if(!e.agent()||e.isActive()||e.isEnded())return null;if(D(B,this))return null;if(x(B,this,!0),!e.requireConsent())return e.activate();try{if(G("authorizing session"),await e.update({state:"authorizing"}),!this.session||!e.isAuthorizing())return null;const t=await this.delegate.confirmSession(e);return this.session?!1===t?(G("user rejected session request"),e.end()):(G("session accepted"),e.activate()):null}catch(t){return t&&console.warn("CobrowseIO: error caught during confirmation",t),this.session?e.end():null}}),M(this,_e,async e=>{if("requested"!==e.remoteControl())return null;try{return!1===await this.delegate.confirmRemoteControl()?(G("user rejeted remote control"),e.update({remote_control:"rejected"})):(G("user accepted remote control"),e.update({remote_control:"on"}))}catch(t){return t&&console.warn("CobrowseIO: error caught during confirmation",t),e.update({remote_control:"rejected"})}}),M(this,ve,async()=>{const e=this.session.resource.full_device;if(!0!==e&&"requested"!==e)return!1;if(!a.WindowTracking.isActive())return!1;if(this.session.capabilities.includes(_.SESSION_CAPABILITY_TYPE_FULL_DEVICE))try{const e=await this.delegate.confirmFullDevice();return G("full device request",e),e||await this.session.setFullDevice("rejected"),e}catch(e){return await this.session.setFullDevice("off"),!1}}),M(this,Ee,async e=>{if(e.isEnded()||!D(z,this))return null;const t=D(z,this).getSource();e.fullDevice()?t instanceof s.MediaStreamFrameSource||await D(z,this).setSource(new s.MediaStreamFrameSource({handleFrame:D(Le,this),scale:e.scale,captureStarted:t=>{e.setFullDevice("on"),e.emit("media",t)},captureEnded:t=>{t&&console.warn("Full device mode failed: ",t),e.setFullDevice(t?"rejected":"off")},requestPermission:D(ve,this)})):t instanceof s.DOMFrameSource?e.isVirtual()&&D(z,this).getSource().setOptions({includeVisibility:e.isVirtual()}):D(z,this).setSource(new s.DOMFrameSource(D(be,this),{includeVisibility:e.isVirtual()})),D(z,this).getSource().setCodecs(e.resource.video_codecs)}),M(this,me,(e,t)=>{if(this.session){if(D(pe,this).call(this,e),D(le,this).call(this,e),D(ue,this).call(this,e),D(he,this).call(this,e,t)&&this.invalidateFrames(),D(_e,this).call(this,e),D(Ee,this).call(this,e),e.isActive()&&D(Ne,this).call(this),D(J,this)){const e=this.session.calling();if(e!==(null==t?void 0:t.calling())){const t=this.session.caller();D(J,this).handleSessionUpdate(e,t)}}}else G("onSessionUpdated called after destroy()")}),M(this,ge,()=>{c.AnnotationOverlay.hide(),c.RemoteCursor.hide(),c.LaserOverlay.hide(),c.Highlight.hide(),this.delegate.hideSessionControls(this.session),D(H,this)&&D(H,this).closeAllDocuments()}),M(this,ye,(e,t)=>!(!this.session||!this.session.isActive()||!this.session.fullDevice()&&!a.WindowTracking.isActive()||!D(W,this)||!D(W,this).stream||!D(W,this).stream.connected||!D(W,this).stream.bufferedAmount>100||(D(W,this).stream.send(e,t),0))),M(this,Ie,()=>D(ye,this).call(this,"focus",{type:"Focus",timestamp:new Date})),M(this,we,()=>D(ye,this).call(this,"screen",{type:"Screen",timestamp:new Date,url:window.location.href,title:document.title})),M(this,be,e=>{x(V,this,(D(V,this)||0)+1);const t=D(ye,this).call(this,"frame",{type:"Frame",id:D(V,this),data:e,timestamp:new Date,mime_type:"application/x-cbio-vdom-patch"});return t&&D(K,this)&&D(K,this).call(this),t}),M(this,Le,(e,t,r)=>{D(W,this).stream.messageLag()>=r?G("dropped frame due to message lag",D(W,this).stream.messageLag()):(x(V,this,(D(V,this)||0)+1),D(ye,this).call(this,"frame",{type:"Frame",id:D(V,this),data:e,timestamp:new Date,mime_type:t}))}),M(this,Se,e=>{const t=a.MouseTracking.position();D(ye,this).call(this,"mouse",{type:v.SESSION_EVENT_TYPE_MOUSE,x:t.x/window.innerWidth,y:t.y/window.innerHeight,target:e,state:"click",timestamp:new Date})}),M(this,Ce,e=>{D(ye,this).call(this,"change",{type:v.SESSION_EVENT_TYPE_CHANGE,target:e,state:"change",timestamp:new Date})}),M(this,Ae,e=>{D(ye,this).call(this,"input",{type:v.SESSION_EVENT_TYPE_INPUT,target:e,state:"input",timestamp:new Date})}),M(this,Oe,e=>{let t="mouseout";return e.in&&(t=e.down?"mousedown":"mouseup"),D(ye,this).call(this,"mouse",{type:v.SESSION_EVENT_TYPE_MOUSE,x:e.x/window.innerWidth,y:e.y/window.innerHeight,state:t,timestamp:new Date})}),M(this,Ne,()=>(D(z,this).isRunning()||(G("start frames"),D(z,this).start()),this)),G("session context constructed"),this.session=e,this.delegate=t,x(W,this,new o.default(e)),a.WindowTracking.on("activate",D(Ie,this)),window.addEventListener("focus",D(Ie,this),{capture:!0,passive:!0}),window.addEventListener("hashchange",D(we,this),{capture:!0,passive:!0}),a.MouseTracking.onChange=D(Oe,this),a.InteractionTracking.on("click",D(Se,this)),a.InteractionTracking.on("change",D(Ce,this)),a.InteractionTracking.on("input",D(Ae,this)),A.default.on("click",D(Se,this)),A.default.on("change",D(Ce,this)),A.default.on("input",D(Ae,this)),a.HighlightTracking.on("end",D(oe,this)),D(me,this).call(this,e),e.on("updated",D(me,this)),e.on("ended",D(ge,this)),e.on("sync",D(re,this)),e.on("highlight",D(ie,this)),e.on("drawing",D(se,this)),e.on("laser",D(ne,this)),e.on("control",D(ae,this)),e.on("remote-error",D(te,this)),e.once("stream-open",D(X,this)),x(H,this,new w.DocumentCollection({onDocumentAdded:e=>this.delegate.showDocument(e)}));const p=new m.PDFHandler(e,t),N=new g.UniversalHandler(e,t),T=new y.default(e,t);x(Y,this,new E.Navigation({shouldNavigate:D(Z,this),handlers:[p,N,T],handleNavigation:this.handleNavigation})),b.default.on("navigate",D(ee,this)),L.default.on("click",D(q,this)),D(de,this).call(this),D(fe,this).call(this)}}},68325(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_EVENT_TYPE_TOUCH=t.SESSION_EVENT_TYPE_SELECT=t.SESSION_EVENT_TYPE_SCROLL=t.SESSION_EVENT_TYPE_POINTER=t.SESSION_EVENT_TYPE_MOUSE=t.SESSION_EVENT_TYPE_LASER=t.SESSION_EVENT_TYPE_KEYPRESS=t.SESSION_EVENT_TYPE_INPUT=t.SESSION_EVENT_TYPE_HIGHLIGHT=t.SESSION_EVENT_TYPE_FOCUS=t.SESSION_EVENT_TYPE_DRAWING=t.SESSION_EVENT_TYPE_CHANGE=void 0,t.SESSION_EVENT_TYPE_MOUSE="Mouse",t.SESSION_EVENT_TYPE_TOUCH="Touch",t.SESSION_EVENT_TYPE_POINTER="Pointer",t.SESSION_EVENT_TYPE_FOCUS="Focus",t.SESSION_EVENT_TYPE_KEYPRESS="KeyPress",t.SESSION_EVENT_TYPE_SCROLL="Scroll",t.SESSION_EVENT_TYPE_CHANGE="Change",t.SESSION_EVENT_TYPE_INPUT="Input",t.SESSION_EVENT_TYPE_LASER="Laser",t.SESSION_EVENT_TYPE_HIGHLIGHT="Highlight",t.SESSION_EVENT_TYPE_DRAWING="Drawing",t.SESSION_EVENT_TYPE_SELECT="Select"},90324(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(27495),r(25440),r(79978),r(62953),r(55815),r(64979),r(79739);var n=r(42074),i=s(r(56851)),o=s(r(37609));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap;t.default=class{constructor(e){c(this,f,void 0),c(this,h,void 0),c(this,p,void 0),c(this,_,void 0),a(this,"open",()=>{l(f,this).isEnded()||(l(E,this).call(this),l(m,this).call(this))}),a(this,"close",()=>{window.removeEventListener("visibilitychange",this.onVisibilityChange),l(_,this)&&(clearInterval(l(_,this)),u(_,this,null)),l(f,this)&&(l(f,this).removeListener("updated",this.open),u(f,this,null)),l(p,this)&&(l(p,this).close(),u(p,this,null)),l(h,this)&&(l(h,this).close(),u(h,this,null))}),c(this,v,(e,t)=>{const r=new n.CBORSocket({getUrl:()=>(0,i.default)(e),getProtocols:()=>["cbio.http.headers.authorization.bearer.".concat(window.btoa(l(f,this).field(t)).replaceAll("=",""))]});return r.on("error",e=>{console.warn("CobrowseIO session socket error:",e)}),r}),c(this,E,()=>{const e=l(f,this).field("control_url"),t=l(f,this).field("control_token");e&&t&&!l(h,this)&&(u(h,this,l(v,this).call(this,e,"control_token")),l(h,this).on("open",()=>{l(h,this).send("filter",{events:["session"]}),l(f,this).fetch().catch(e=>{console.warn("CobrowseIO failed fetching session state",e)})}),l(h,this).on("event",(e,t)=>{"session"===e&&l(f,this).updateResource(t)}))}),c(this,m,()=>{const e=l(f,this).field("stream_url"),t=l(f,this).field("stream_token");if(e&&t&&!l(p,this)){u(p,this,l(v,this).call(this,e,"stream_token")),u(_,this,setInterval(()=>{const e=Math.round(l(p,this).metrics.latency());l(f,this)[o.default].setMetrics({latency:e})},1e3));const t=["highlight","drawing","laser","url"],r=["touch","mouse","pointer","keypress","scroll","focus","input","change","select"];l(p,this).on("event",(e,n)=>{"sync"===e&&l(f,this).emit("sync",n),"remote-error"===e&&l(f,this).emit("remote-error",n),"client"===e?l(f,this).emit("client",n):"probe"===e?l(p,this).send("alive",n):t.includes(e)?l(f,this).emit(e,n):r.includes(e)&&l(f,this).emit("control",e,n),l(f,this)[o.default].setMetrics({last_alive:new Date})}),l(p,this).on("open",()=>{l(p,this).send("filter",{events:[...r,...t,"sync","probe","remote-error","client","sdp","icecandidate"]}),l(f,this).emit("stream-open")})}}),u(f,this,e),e.on("updated",this.open),e[o.default].setMetrics({last_alive:null,latency:null}),this.open()}get stream(){return l(p,this)}}},73531(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionStorage=void 0,r(16280),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n,i=r(51312),o=r(99070),s=r(62475);function a(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function c(e,t){return e.get(u(e,t))}function l(e,t,r){return e.set(u(e,t),r),r}function u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const d=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.sessionStorage");var f=new WeakMap,h=new WeakMap,p=new WeakMap;class _{static create(e){const t=new i.LocalSessionStorage,r=new o.ForwardingSessionStorage,n=new s.CookieSessionStorage;return new _(e,{load:[r,n,t],store:[t,n,r]})}constructor(e,t){let{load:r=[],store:n=[]}=t;a(this,f,void 0),a(this,h,void 0),a(this,p,void 0),l(p,this,e),l(f,this,r),l(h,this,n)}peek(){d("peeking session");for(const e of c(f,this)){if(!e.isSupported(c(p,this)))continue;const t=e.load(c(p,this));if(t)return t}return null}async load(){d("loading session");for(const e of c(f,this)){if(!e.isSupported(c(p,this)))continue;const t=e.load(c(p,this)),r=await(null==t?void 0:t.fetch());if(r){if(r.isActive())return r;await e.store(c(p,this),null)}}return null}async store(e){d("storing session");for(const t of c(h,this))if(t.isSupported(c(p,this)))try{await t.store(c(p,this),e)}catch(e){console.error("Unexpected error storing session: ".concat(t.constructor.name),e)}}reset(){const e=new Set([...c(f,this),...c(h,this)]);for(const t of e)t.reset(c(p,this))}}t.SessionStorage=_},72176(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Session",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"SessionCapabilities",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"SessionContext",{enumerable:!0,get:function(){return i.default}});var n=s(r(52404)),i=s(r(30729)),o=s(r(60086));function s(e){return e&&e.__esModule?e:{default:e}}},43443(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActiveSessionPath=void 0,t.ActiveSessionPath="_cobrowse_active_session"},62475(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.CookieSessionStorage=void 0,t.resolveShortestTrustedHostname=p,r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(42074),i=c(r(2733)),o=c(r(37609)),s=c(r(52404)),a=r(43443);function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=(0,c(r(51227)).default)("cbio.sessionStorage.CookieSessionStorage");function h(e,t,r){return r?"".concat(e,"//").concat(t,":").concat(r):"".concat(e,"//").concat(t)}function p(e,t){const r=function(e){try{return new URL(e)}catch(e){return null}}(e);if(!r)return null;const{hostname:i,protocol:o,port:s}=r,a=(0,n.createPatternMatcher)(t),c=i.split(".");for(let e=c.length-1;e>=0;e--){const t=c.slice(e).join("."),r=h(o,t,s),n=h(o,".".concat(t),s);if(a(r)&&a(n))return t}return null}t.CookieSessionStorage=class{isSupported(e){if(!e.trustedOrigins.length)return f("isSupported?",!1,"no trusted origins"),!1;const t=p(window.location.href,e.trustedOrigins);return f("isSupported?",!!t,"domain",t),!!t}load(e){const t=i.default.get(a.ActiveSessionPath,{path:"/"});return t?(f("loading session from cookie"),new s.default(e)[o.default].decompress(t)):(f("no session to load from cookies"),null)}store(e,t){if(!this.isSupported(e))return;const r={path:"/",domain:p(window.location.href,e.trustedOrigins),secure:!0,sameSite:"strict"};null!=t&&t.isActive()?(f("storing active session to cookies"),i.default.set(a.ActiveSessionPath,t[o.default].compress(),u(u({},r),{},{expires:1}))):(f("removing inactive session from cookies"),i.default.remove(a.ActiveSessionPath,r))}reset(e){this.store(e,null)}}},99070(e,t,r){"use strict";r(16280),Object.defineProperty(t,"__esModule",{value:!0}),t.ForwardingSessionStorage=void 0,t.extractActiveSession=f,t.rewriteUrlIfNecessary=function(e,t){let{window:r=window}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{const n=new URL(e);return n.origin===r.location.origin?(u("not rewriting url because we are not changing origin",n.toString()),e):(n.searchParams.set(o.ActiveSessionPath,t),u("rewriting trusted url for an active session",{from:e,to:n.toString()}),"string"==typeof e?n.toString():n)}catch(t){return u("failed rewriting url",t),e}},r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=s(r(37609)),i=s(r(52404)),o=r(43443);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const u=(0,s(r(51227)).default)("cbio.sessionStorage.ForwardingSessionStorage"),d=f();function f(){let{window:e=window}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{const t=new URL(e.location.href),r=t.searchParams.get(o.ActiveSessionPath);return r?(u("found forwarded session that can be loaded",r),t.searchParams.delete(o.ActiveSessionPath),e.history.replaceState({},"",t)):u("no forwarded session to load",t),r}catch(e){console.warn("Failed to attempt to extract forwarded session",e)}}var h=new WeakMap;t.ForwardingSessionStorage=class{constructor(){let{activeSessionData:e=d}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t,r,n;n=void 0,function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t=this,r=h),r.set(t,n),c(h,this,e)}isSupported(e){const t=!!e.trustedOrigins.length;return u("isSupported?",t),t}load(e){try{if(a(h,this))return u("loading session",a(h,this)),new i.default(e)[n.default].decompress(a(h,this));u("no session to load")}catch(e){u("failed to load forwarded session",e)}return null}store(e,t){t||c(h,this,null)}reset(e){c(h,this,null)}}},51312(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocalSessionStorage=void 0,r(16280),r(62953);var n=a(r(37609)),i=a(r(86542)),o=a(r(52404)),s=r(43443);function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return e.get(function(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}(e,t))}const l=(0,a(r(51227)).default)("cbio.sessionStorage.LocalSessionStorage");var u=new WeakMap;t.LocalSessionStorage=class{constructor(){var e,t,r;e=this,t=u,r=(0,i.default)(),function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,r)}isSupported(e){return l("isSupported?",!0),!0}load(e){const t=c(u,this).getItem(s.ActiveSessionPath);return t?(l("loading session"),new o.default(e)[n.default].deserialize(t)):(l("no session to load"),null)}store(e,t){null!=t&&t.isActive()?(l("storing active session"),c(u,this).setItem(s.ActiveSessionPath,t[n.default].serialize())):(l("removing inactive session"),c(u,this).removeItem(s.ActiveSessionPath))}reset(e){c(u,this).removeItem(s.ActiveSessionPath)}}},6900(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=r(42074),o=r(44661),s=r(49715),a=r(99070),c=(n=r(37609))&&n.__esModule?n:{default:n};function l(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function u(e,t){return e.get(f(e,t))}function d(e,t,r){return e.set(f(e,t),r),r}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,p=new WeakMap;class _ extends s.NavigationHandler{constructor(e,t){super(),l(this,h,void 0),l(this,p,void 0),d(h,this,(0,i.createPatternMatcher)(t.trustedOrigins)),d(p,this,()=>e[c.default].compress())}get type(){return o.NAVIGATION_TYPE.XDOC}shouldHandleEvent(e){return!0}shouldHandle(e){const t=new URL(e,window.location.origin);return u(h,this).call(this,t.origin)}handle(e){const t=u(p,this).call(this);return{rewrittenUrl:(0,a.rewriteUrlIfNecessary)(e,t)}}}t.default=_},86542(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(16667))&&n.__esModule?n:{default:n}},16667(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{setItem(t,r){a();const n=JSON.stringify({value:r,group:e});s()?window.localStorage.setItem(t,n):i.default.set(t,n),o[t]=n},getItem(t){try{let r;r=s()?window.localStorage&&window.localStorage.getItem(t):i.default.get(t),r||(r=o[t]);const{value:n,group:a}=JSON.parse(r);return e&&e!==a?null:n}catch(e){return null}},removeItem(e){s()&&window.localStorage.removeItem(e),i.default.remove(e),o[e]=void 0}}},r(33110),r(58335);var n,i=(n=r(2733))&&n.__esModule?n:{default:n};const o={};function s(){try{const e="_cobrowse_test_item";return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}function a(){s()||a.done||(a.done=!0,console.warn("Warning: localStorage is not supported. Cobrowse falling back to cookie or in-memory storage and may not function as expected."))}},63024(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(54743),r(11745),r(16573),r(78100),r(77936),r(18111),r(7588),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623),r(55815),r(64979),r(79739);var n=r(45264);function i(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=new class{constructor(){i(this,"el",()=>(this._el||(this._el=document.createElement("img"),this._el.className="cbio_session_overlay",this._el.style.pointerEvents="none",this._el.style.visibility="visible",this._el.style.width="10vw",this._el.style.height="100vh",this._el.style.position="fixed",this._el.style.zIndex="2147483647",this._el.style.display="none",this._el.style.top="0",this._el.style.left="0"),this._el)),i(this,"_arrayBufferToBase64",e=>{let t="";const r=new Uint8Array(e),n=r.byteLength;for(let e=0;e<n;e+=1)t+=String.fromCharCode(r[e]);return window.btoa(t)}),i(this,"remove",function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;e.style.transition="opacity ".concat(t,"ms ease-in-out"),e.style.opacity=1,e.addEventListener("transitionend",function(){e.remove()}),e.style.opacity=0}),i(this,"update",e=>{if(n.WindowTracking.isActive())if(e.image){const t=this.el().cloneNode(),r="data:".concat(e.mime_type,";base64,").concat(this._arrayBufferToBase64(e.image)),{id:n="cb_io_drawing"}=e;t.style.left="".concat(100*e.x,"%"),t.style.top="".concat(100*e.y,"%"),t.style.height="".concat(100*e.height,"%"),t.style.width="".concat(100*e.width,"%"),t.style.display="block",t.src=r,t.id=n,t.dataset.agent=e.agent,t.decode().then(()=>{const r=document.getElementById(n);r?r.replaceWith(t):document.body.appendChild(t),null!=e.disappears_in&&setTimeout(()=>{this.remove(t,e.fade_duration)},e.disappears_in)}).catch(e=>{console.error(e)})}else this.hide(e.agent)}),i(this,"hide",e=>{(null!=e?document.querySelectorAll('.cbio_session_overlay[data-agent="'.concat(e,'"]')):document.querySelectorAll(".cbio_session_overlay")).forEach(function(e){e.remove()})})}}},94871(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(62953);var n=r(45994),i=r(22292),o=l(r(77988)),s=r(12996),a=l(r(53484)),c=r(10201);function l(e){return e&&e.__esModule?e:{default:e}}t.default=e=>{let{call:t,mediaSettings:r,showSettingsDialog:l}=e;const[u,d]=(0,n.useState)(r.settings.audioEnabled),[f,h]=(0,n.useState)(r.settings.videoEnabled);return(0,n.useEffect)(()=>{r.on("updated",e=>{let{settings:t}=e;d(t.audioEnabled),h(t.videoEnabled)})},[r]),(0,c.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,c.jsxs)("div",{className:a.default.container,children:[(0,c.jsxs)("div",{className:a.default.toggleContainer,children:[(0,c.jsx)(s.IconButton,{className:(0,i.clsx)(a.default.toggle,u?a.default.toggleOn:a.default.toggleOff),ariaLabel:u?o.default.tr("CALLING_DISABLE_AUDIO"):o.default.tr("CALLING_ENABLE_AUDIO"),onClick:()=>r.toggleAudio(),children:(0,c.jsx)(s.Icon,{name:u?"Microphone":"MicrophoneOff",className:a.default.icon})}),(0,c.jsx)(s.IconButton,{className:(0,i.clsx)(a.default.toggle,f?a.default.toggleOn:a.default.toggleOff),ariaLabel:f?o.default.tr("CALLING_DISABLE_VIDEO"):o.default.tr("CALLING_ENABLE_VIDEO"),onClick:()=>r.toggleVideo(),children:(0,c.jsx)(s.Icon,{name:f?"Video":"VideoOff",className:a.default.icon})}),(0,c.jsx)(s.IconButton,{className:(0,i.clsx)(a.default.toggle,a.default.toggleOn),ariaLabel:o.default.tr("CALLING_SHOW_CALL_SETTINGS"),onClick:()=>l(),children:(0,c.jsx)(s.Icon,{name:"DotsVertical",className:a.default.icon})})]}),(0,c.jsx)(s.IconButton,{className:a.default.end,ariaLabel:o.default.tr("CALLING_END"),onClick:()=>t.end(),children:(0,c.jsx)(s.Icon,{name:"Phone",className:a.default.icon})})]})})}},83031(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(89463),r(62953);var n=u(r(77988)),i=r(12996),o=u(r(90958)),s=u(r(94037)),a=r(11771),c=r(89103),l=r(10201);function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function p(e,t){return e.get(v(e,t))}function _(e,t,r){return e.set(v(e,t),r),r}function v(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const E="primary",m="secondary",g=e=>{let{title:t,description:r,primaryTitle:n,onPrimaryClick:a,secondaryTitle:c,onSecondaryClick:u,isDisabled:d,settings:f,handlePreviewSettingsChange:h}=e;return(0,l.jsxs)(i.Modal,{className:o.default.content,"aria-labelledby":"title","aria-describedby":"description",children:[(0,l.jsxs)("header",{className:o.default.header,children:[(0,l.jsx)("section",{className:o.default.media,children:(0,l.jsx)(s.default,{initialSettings:f,onSettingsChange:h})}),t?(0,l.jsx)("h2",{id:"title",className:o.default.title,children:t}):null]}),r?(0,l.jsx)("div",{className:o.default.body,children:(0,l.jsx)("p",{id:"description",className:o.default.description,children:r})}):null,(0,l.jsxs)("footer",{className:o.default.buttonContainer,children:[(0,l.jsx)(i.Button,{variant:"secondary",onClick:u,children:c}),(0,l.jsx)(i.Button,{variant:"primary",onClick:a,disabled:d,children:n})]})]})};var y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap;t.default=class{constructor(e){let{call:t,mediaSettings:r}=e;h(this,y,void 0),h(this,I,void 0),h(this,w,void 0),h(this,b,null),f(this,"show",e=>{_(w,this,p(I,this).settings);const t=e=>{_(w,this,e)};return new Promise(r=>{p(S,this).call(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({onPrimaryClick:()=>r({action:E,settings:p(w,this)}),onSecondaryClick:()=>r({action:m,settings:p(w,this)}),settings:p(I,this).settings,handlePreviewSettingsChange:t},e))})}),f(this,"hide",()=>{_(w,this,null),p(C,this).call(this)}),h(this,L,async e=>{let{state:t,caller:r,hasJoined:i}=e;const o=!r;if(t===a.CALL_STATES.REQUESTED&&!o){const{action:e}=await this.show({title:n.default.tr("CALLING_REQUEST"),description:n.default.tr("CALLING_JOIN_PROMPT"),primaryTitle:n.default.tr("CALLING_ACCEPT"),secondaryTitle:n.default.tr("CALLING_REJECT")});return e===E?(p(I,this).update(p(w,this)),p(y,this).answer()):p(y,this).reject(),void this.hide()}if(t===a.CALL_STATES.REQUESTED&&o&&!i){const{action:e}=await this.show({title:null,description:null,primaryTitle:n.default.tr("CALLING_JOIN"),secondaryTitle:n.default.tr("CALLING_CANCEL")});return void(e===E?(p(I,this).update(p(w,this)),p(y,this).request()):(p(y,this).end(),this.hide()))}if(t===a.CALL_STATES.REQUESTED&&o&&i){const{action:e}=await this.show({title:n.default.tr("CALLING_IN_PROGRESS"),description:n.default.tr("CALLING_AGENT_WAITING"),primaryTitle:n.default.tr("CALLING_JOIN"),secondaryTitle:n.default.tr("CALLING_CANCEL"),isDisabled:!0});return e===m&&p(y,this).end(),void this.hide()}if(t===a.CALL_STATES.REJECTED&&o){const{action:e}=await this.show({title:n.default.tr("CALLING_IN_PROGRESS"),description:n.default.tr("CALLING_AGENT_DECLINED"),primaryTitle:n.default.tr("CALLING_BACK"),secondaryTitle:n.default.tr("CALLING_RETRY")});return void(e===E?(p(y,this).end(),this.hide()):(p(I,this).update(p(w,this)),p(y,this).request()))}if(t===a.CALL_STATES.ON&&!i){const{action:e}=await this.show({title:null,description:null,primaryTitle:n.default.tr("CALLING_JOIN"),secondaryTitle:n.default.tr("CALLING_CANCEL")});return e===E?(p(I,this).update(p(w,this)),p(y,this).answer()):o&&p(y,this).end(),void this.hide()}t===a.CALL_STATES.ON&&p(w,this)&&p(I,this).update(p(w,this)),this.hide()}),h(this,S,e=>{p(b,this)?p(b,this).rerender(e):_(b,this,(0,c.mountComponent)(g,e,{hideFromAgent:!0}))}),h(this,C,()=>{var e;null===(e=p(b,this))||void 0===e||e.unmount(),_(b,this,null)}),f(this,"destroy",()=>{p(y,this).off("updated",p(L,this)),p(C,this).call(this)}),_(y,this,t),_(I,this,r),p(y,this).on("updated",p(L,this)),p(L,this).call(this,p(y,this))}}},24189(e,t,r){"use strict";r(16280),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(26910),r(18111),r(61701),r(62953);var n=r(45994),i=r(22292),o=p(r(77988)),s=r(12996),a=r(94909),c=p(r(86542)),l=p(r(90396)),u=r(11771),d=r(89103),f=p(r(94871)),h=r(10201);function p(e){return e&&e.__esModule?e:{default:e}}function _(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function v(e,t){return e.get(m(e,t))}function E(e,t,r){return e.set(m(e,t),r),r}function m(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const g="_cobrowse_participants_position",y=e=>(0,c.default)().setItem(g,e),I=e=>{let{call:t,mediaSettings:r,showSettingsDialog:i}=e;const[o,a]=(0,n.useState)(t.participants),[u,d]=(0,n.useState)(r.settings.audioOutputDeviceId);(0,n.useEffect)(()=>{const e=e=>{let{settings:t}=e;d(t.audioOutputDeviceId)};return r.on("updated",e),()=>{r.off("updated",e)}},[r]),(0,n.useEffect)(()=>{const e=e=>{a(e)};return t.on("participants.updated",e),()=>{t.off("participants.updated",e)}},[t]);const p=(0,n.useMemo)(()=>[...o].sort((e,t)=>{const r=!e.agentId,n=!t.agentId;return r&&!n?-1:!r&&n?1:0}),[o]);return(0,h.jsx)(s.Draggable,{style:{zIndex:"2147483646"},corner:(0,c.default)().getItem(g)||"top-right",onCornerChange:y,footer:(0,h.jsx)("div",{className:l.default.callControlsContainer,children:(0,h.jsx)(f.default,{call:t,mediaSettings:r,showSettingsDialog:i})}),children:(0,h.jsx)("div",{className:l.default.container,children:p.map(e=>(0,h.jsx)(w,{participant:e,audioOutputDeviceId:u},e.id))})})},w=e=>{let{participant:t,audioOutputDeviceId:r}=e;const c=(0,n.useRef)(null),[u,d]=(0,n.useState)(t.hasVideo),[f,p]=(0,n.useState)(t.hasAudio),_=(0,a.useSpeaking)(t),v=!t.agentId;return(0,n.useEffect)(()=>{const e=()=>{const{hasVideo:e,hasAudio:r}=t;d(e),p(r)};return t.on("track.added",e),t.on("track.removed",e),e(),()=>{t.off("track.added",e),t.off("track.removed",e)}},[t]),(0,n.useEffect)(()=>{c.current.srcObject=t.stream},[t]),(0,n.useEffect)(()=>{c.current&&f&&r&&c.current.setSinkId(r)},[r,f]),(0,h.jsxs)("div",{className:(0,i.clsx)(l.default.participantContainer,_&&l.default.participantSpeaking),children:[(0,h.jsxs)("div",{className:l.default.videoContainer,children:[(0,h.jsx)("video",{className:l.default.video,ref:c,autoPlay:!0,playsInline:!0,muted:v}),u?null:(0,h.jsxs)("div",{className:l.default.videoOverlay,children:[(0,h.jsx)("span",{className:"cbio-sr-only",children:o.default.tr("CALLING_CAMERA_OFF")}),(0,h.jsx)(s.Icon,{name:"VideoOff",className:l.default.videoOverlayIcon})]})]}),(0,h.jsxs)("div",{className:l.default.statusContainer,children:[(0,h.jsx)(s.Icon,{className:l.default.statusIcon,name:f?"Microphone":"MicrophoneOff"}),(0,h.jsx)("span",{className:l.default.statusTitle,children:v?o.default.tr("CALLING_LOCAL_PARTICIPANT_DESCRIPTION"):o.default.tr("CALLING_REMOTE_PARTICIPANT_DESCRIPTION")})]})]})};var b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,N=new WeakMap;t.default=class{constructor(e){let{call:t,mediaSettings:r,showSettingsDialog:n}=e;var i,o,s;_(this,b,void 0),_(this,L,void 0),_(this,S,void 0),_(this,C,null),_(this,A,e=>{let{state:t,hasJoined:r}=e;t===u.CALL_STATES.ON&&r&&v(O,this).call(this),t===u.CALL_STATES.OFF&&v(N,this).call(this)}),_(this,O,()=>{if(v(C,this))return;const e={call:v(b,this),mediaSettings:v(L,this),showSettingsDialog:v(S,this)};E(C,this,(0,d.mountComponent)(I,e,{hideFromAgent:!0}))}),_(this,N,()=>{var e;null===(e=v(C,this))||void 0===e||e.unmount(),E(C,this,null)}),i=this,s=()=>{v(N,this).call(this)},(o=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(o="destroy"))in i?Object.defineProperty(i,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[o]=s,E(b,this,t),E(L,this,r),E(S,this,n),v(b,this).on("updated",v(A,this)),v(A,this).call(this,v(b,this))}}},65573(e,t,r){"use strict";r(16280),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(89463),r(62953);var n=c(r(77988)),i=r(89103),o=r(12996),s=c(r(91398)),a=r(10201);function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t,r){return e.set(f(e,t),r),r}function d(e,t){return e.get(f(e,t))}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const h=e=>{let{title:t,description:r,onDeny:i,onAllow:c}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(o.Modal,{className:s.default.content,"aria-labelledby":"title","aria-describedby":"description",children:[(0,a.jsx)("header",{children:(0,a.jsx)("h2",{id:"title",className:s.default.title,children:t})}),(0,a.jsx)("div",{className:s.default.body,children:(0,a.jsx)("p",{id:"description",className:s.default.description,children:r})}),(0,a.jsxs)("footer",{className:s.default.buttons,children:[(0,a.jsx)(o.Button,{variant:"secondary",onClick:i,children:n.default.tr("DENY")}),(0,a.jsx)(o.Button,{variant:"primary",onClick:c,children:n.default.tr("ALLOW")})]})]})})};var p=new WeakMap;t.default=class{constructor(){var e,t,r;r=void 0,function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e=this,t=p),t.set(e,r),l(this,"show",async(e,t)=>{var r;return null===(r=d(p,this))||void 0===r||r.unmount(),new Promise(r=>{const n={title:e,description:t,onDeny:e=>{e.isTrusted&&(r(!1),this.hide())},onAllow:e=>{e.isTrusted&&(r(!0),this.hide())}};u(p,this,(0,i.mountComponent)(h,n,{hideFromAgent:!0}))})}),l(this,"hide",()=>{var e;null===(e=d(p,this))||void 0===e||e.unmount(),u(p,this,null)})}}},76575(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=a(r(51227)),i=a(r(96438)),o=a(r(27527)),s=a(r(34822));function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function u(e,t,r){return e.set(f(e,t),r),r}function d(e,t){return e.get(f(e,t))}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const h=(0,n.default)("cbio.Highlight");var p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap;t.default=new class{constructor(){l(this,p,void 0),c(this,"highlight",async(e,t)=>{var r;const n=s.default.getById(t.target.id);if(!n)return!1;const i=this.getNonEmpyElement(n);if(!i)return!1;const o=(null!==(r=e.highlightElement)&&void 0!==r?r:d(_,this))(i,t.title);return e.emit("highlight.updated",{target:i,visible:!0}),await o,e.emit("highlight.updated",{target:i,visible:!1}),!0}),c(this,"hide",()=>{var e;h("hide","resolve?=".concat(!!d(p,this))),d(g,this).call(this),d(E,this).call(this),null===(e=d(p,this))||void 0===e||e.call(this),u(p,this,void 0)}),l(this,_,(e,t)=>new Promise(r=>{h("update",e,t),u(p,this,r),d(v,this).call(this,e,t),d(m,this).call(this)})),l(this,v,(e,t)=>{i.default.update(e),o.default.update(e,t)}),l(this,E,()=>{o.default.hide(),i.default.hide()}),l(this,m,()=>{d(g,this).call(this),document.addEventListener("click",d(y,this),{capture:!0})}),l(this,g,()=>{document.removeEventListener("click",d(y,this),!0)}),l(this,y,e=>{e.isTrusted&&this.hide()})}getNonEmpyElement(e){let t=e;for(;t;){const e=t.getBoundingClientRect();if(e.width>0&&e.height>0)return t;h("element is zero-width/height, trying parent",t),t=t.parentElement}}}},86162(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280);var n=r(42777),i=r(45264),o=r(2630);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c="#e94435";class l{constructor(){a(this,"el",()=>(this._el||(this._el=document.createElement("div"),this._el.className="cbio_session_overlay",Object.assign(this._el.style,{position:"fixed",zIndex:"2147483647",width:"8px",height:"8px",background:c,marginLeft:"-4px",marginTop:"-4px",borderRadius:"50%",border:"border: 1px solid white",pointerEvents:"none"})),this._el)),a(this,"hasChangedPosition",()=>null!=this.previousPosition&&(Math.abs(this.previousPosition.x-this.currentPosition.x)>1||Math.abs(this.previousPosition.y-this.currentPosition.y)>1)),a(this,"startAnimation",e=>{this._intervalId||(this._intervalId=setInterval(()=>this._createRipple(e),this.rippleInterval),this._createRipple(e))}),a(this,"stopAnimation",()=>{this._intervalId&&clearInterval(this._intervalId),this._el&&this._el.replaceChildren(),this.resetState()}),a(this,"update",e=>{i.WindowTracking.isActive()&&(document.body&&!this.el().parentNode&&document.body.appendChild(this.el()),"touchend"===e.state?this.hide():null!=e.x&&null!=e.y&&(this.currentPosition.x=100*e.x,this.currentPosition.y=100*e.y,this.el().style.background=e.colour,this.el().style.left="".concat(this.currentPosition.x,"%"),this.el().style.top="".concat(this.currentPosition.y,"%"),this.startAnimation(e.colour)))}),a(this,"hide",()=>{var e;null===(e=this._el)||void 0===e||null===(e=e.parentNode)||void 0===e||e.removeChild(this._el),this.stopAnimation()}),this.rippleDuration=3e3,this.rippleInterval=750,this._el=null,this.resetState()}resetState(){this._intervalId=null,this.currentPosition={x:0,y:0},this.previousPosition=null,this.resetRippleScale()}resetRippleScale(){this.rippleScale=16}_createRipple(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;this.hasChangedPosition()?this.rippleScale=6:this.rippleScale=Math.min(this.rippleScale+5,16),this.previousPosition=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},this.currentPosition);const t=(0,n.createRipple)(e,this.rippleDuration,this.rippleScale);this.el().appendChild(t)}}class u extends o.MultiAgentManager{constructor(){super(l)}update(e){this.getInstanceForAgent(e.agent).update(e)}}t.default=new u},94037(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(18111),r(22489),r(7588),r(61701),r(13579),r(9391),r(62953);var n=r(45994),i=r(22292),o=p(r(77988)),s=r(12996),a=r(93646),c=r(24364),l=p(r(49020)),u=p(r(9978)),d=p(r(64053)),f=p(r(97294)),h=r(10201);function p(e){return e&&e.__esModule?e:{default:e}}const _="default",v=(e,t)=>e.some(e=>e.deviceId===t),E=e=>{let{audioEnabled:t,toggleAudio:r,videoEnabled:n,toggleVideo:a,disabled:c}=e;return(0,h.jsxs)("div",{className:f.default.voiceVideoControls,children:[(0,h.jsx)(s.IconButton,{onClick:r,ariaLabel:t?o.default.tr("CALLING_DISABLE_AUDIO"):o.default.tr("CALLING_ENABLE_AUDIO"),className:(0,i.clsx)(f.default.voiceVideoControlsToggle,t?f.default.voiceVideoControlsToggleOn:f.default.voiceVideoControlsToggleOff),disabled:c,children:(0,h.jsx)(s.Icon,{className:f.default.voiceVideoControlsIcon,name:t?"Microphone":"MicrophoneOff"})}),(0,h.jsx)(s.IconButton,{onClick:a,ariaLabel:n?o.default.tr("CALLING_DISABLE_VIDEO"):o.default.tr("CALLING_ENABLE_VIDEO"),className:(0,i.clsx)(f.default.voiceVideoControlsToggle,n?f.default.voiceVideoControlsToggleOn:f.default.voiceVideoControlsToggleOff),disabled:c,style:{marginLeft:"-4px"},children:(0,h.jsx)(s.Icon,{className:f.default.voiceVideoControlsIcon,name:n?"Video":"VideoOff"})})]})};t.default=e=>{let{initialSettings:t,onSettingsChange:r,disabled:p}=e;const m=(0,n.useRef)(null),g=(0,n.useRef)(new MediaStream),{audioInputDevices:y,audioOutputDevices:I,videoInputDevices:w,audioPermission:b,videoPermission:L,updateDeviceLists:S,updatePermissions:C}=(0,c.useMediaDevices)(),[A,O]=(0,n.useState)(!1),[N,T]=(0,n.useState)(t.videoEnabled),[P,R]=(0,n.useState)(t.videoInputDeviceId),[M,k]=(0,n.useState)(t.audioEnabled),[D,x]=(0,n.useState)(t.audioInputDeviceId),[j,G]=(0,n.useState)(t.audioOutputDeviceId);(0,n.useEffect)(()=>{null==r||r({videoEnabled:N,videoInputDeviceId:P,audioEnabled:M,audioInputDeviceId:D,audioOutputDeviceId:j})},[r,N,P,M,D,j]);const U=(0,n.useCallback)(e=>{g.current.getTracks().filter(t=>t.kind===e).forEach(e=>{e.stop(),g.current.removeTrack(e)})},[]);(0,n.useEffect)(()=>{m.current&&(m.current.srcObject=g.current)},[]),(0,n.useEffect)(()=>{if(!v(y,D))return v(y,_)?x(_):void(y.length&&x(y[0].deviceId))},[y,D]),(0,n.useEffect)(()=>{if(!v(I,j))return v(I,_)?G(_):void(I.length&&G(I[0].deviceId))},[I,j]),(0,n.useEffect)(()=>{if(!v(w,P))return v(w,_)?R(_):void(w.length&&R(w[0].deviceId))},[w,P]),(0,n.useEffect)(()=>{if(!N)return;if(!navigator.mediaDevices)return console.warn("CobrowseIO: Failed to start video, mediaDevices is not available"),void T(!1);O(!0);const e=(0,a.createVideoConstraints)({videoEnabled:N,videoInputDeviceId:P});return navigator.mediaDevices.getUserMedia(e).then(e=>{e.getTracks().forEach(e=>g.current.addTrack(e)),S()}).catch(e=>{console.warn("CobrowseIO: Failed to get video",e),L.prompt&&T(!1)}).finally(()=>{C(),O(!1)}),()=>U("video")},[S,C,L,N,P,U]),(0,n.useEffect)(()=>{if(!M)return;if(!navigator.mediaDevices)return console.warn("CobrowseIO: Failed to start audio, mediaDevices is not available"),void k(!1);const e=(0,a.createAudioConstraints)({audioEnabled:M,audioInputDeviceId:D});return navigator.mediaDevices.getUserMedia(e).then(e=>{e.getTracks().forEach(e=>g.current.addTrack(e)),S()}).catch(e=>{console.warn("CobrowseIO: Failed to get audio",e),b.prompt&&k(!1)}).finally(()=>{C()}),()=>U("audio")},[S,C,b,M,D,U]);const W=(e,t)=>(0,h.jsx)("div",{className:(0,i.clsx)(f.default.videoOverlay,t?f.default.videoOverlayTransparent:f.default.videoOverlaySolid),children:(0,h.jsx)("p",{className:f.default.videoOverlayText,children:e})}),V=(e,t)=>e?t.length?t.map(e=>(0,h.jsx)(s.SelectOption,{value:e.deviceId,children:e.label},e.deviceId)):(0,h.jsx)(s.SelectOption,{value:"",disabled:!0,selected:!0,children:o.default.tr("CALLING_NO_DEVICES")}):(0,h.jsx)(s.SelectOption,{value:"",disabled:!0,selected:!0,children:o.default.tr("CALLING_PERMISSION_NEEDED")});return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:f.default.previewContainer,children:[(0,h.jsxs)("div",{className:f.default.videoContainer,children:[(0,h.jsx)("video",{ref:m,className:f.default.video,autoPlay:!0,playsInline:!0,muted:!0}),(()=>{const e=N&&L.granted;if(M){if(b.denied)return W(o.default.tr("CALLING_MICROPHONE_PERMISSION_DENIED"),e);if(b.prompt)return W(o.default.tr("CALLING_MICROPHONE_PERMISSION_PROMPT"),e)}return N?L.denied?W(o.default.tr("CALLING_CAMERA_PERMISSION_DENIED"),e):L.prompt?W(o.default.tr("CALLING_CAMERA_PERMISSION_PROMPT"),e):A?W(o.default.tr("CALLING_CAMERA_STARTING"),e):null:W(o.default.tr("CALLING_CAMERA_OFF"),e)})()]}),(0,h.jsx)(E,{audioEnabled:M,toggleAudio:()=>k(e=>!e),videoEnabled:N,toggleVideo:()=>T(e=>!e),disabled:p})]}),(0,h.jsxs)("div",{className:f.default.deviceContainer,children:[(0,h.jsx)(s.Select,{iconUrl:l.default,ariaLabel:o.default.tr("CALLING_SELECT_MICROPHONE"),value:b.granted&&y.length?D:"",onChange:e=>x(e.target.value),disabled:p||!b.granted||!y.length,children:V(b.granted,y)}),(0,h.jsx)(s.Select,{iconUrl:u.default,ariaLabel:o.default.tr("CALLING_SELECT_SPEAKER"),value:b.granted&&I.length?j:"",onChange:e=>G(e.target.value),disabled:p||!b.granted||!I.length,children:V(b.granted,I)}),(0,h.jsx)(s.Select,{iconUrl:d.default,ariaLabel:o.default.tr("CALLING_SELECT_CAMERA"),value:L.granted&&w.length?P:"",onChange:e=>R(e.target.value),disabled:p||!L.granted||!w.length,children:V(L.granted,w)})]})]})}},2630(e,t,r){"use strict";function n(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function i(e,t){return e.get(o(e,t))}function o(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object.defineProperty(t,"__esModule",{value:!0}),t.MultiAgentManager=void 0,r(16280),r(18111),r(7588),r(62953);var s=new WeakMap,a=new WeakMap;t.MultiAgentManager=class{constructor(e){var t,r;n(this,s,new Map),n(this,a,null),r=e,(t=a).set(o(t,this),r)}getInstanceForAgent(e){return i(s,this).has(e)||i(s,this).set(e,new(i(a,this))),i(s,this).get(e)}hide(){i(s,this).forEach((e,t)=>{e.hide(),i(s,this).delete(t)})}}},51112(e,t,r){"use strict";r(16280),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(44114),r(18111),r(61701),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n,i=r(45994),o=r(20949),s=r(22292),a=r(79883),c=r(89103),l=(n=r(35161))&&n.__esModule?n:{default:n},u=r(10201);function d(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function f(e,t){return e.get(p(e,t))}function h(e,t,r){return e.set(p(e,t),r),r}function p(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const _=e=>{let{target:t,items:r,initialHighlightedIndex:n,onSelect:a,onClose:c}=e;const d=(0,i.useRef)(null),f=(0,i.useRef)([]),h=(0,i.useRef)(!1),p=(0,i.useRef)(!1),[_,v]=(0,i.useState)(n);(0,i.useEffect)(()=>(0,o.autoUpdate)(t,d.current,((e,t)=>{let r=!1,n=!1;return()=>{(0,o.computePosition)(e,t,{placement:"bottom-start",strategy:"fixed",middleware:[(0,o.flip)(),(0,o.size)({apply(){n&&Object.assign(t.style,{width:"".concat(e.offsetWidth,"px"),maxWidth:"800px"})}})]}).then(i=>{let{x:o,y:s}=i;Object.assign(t.style,{top:"".concat(s,"px"),left:"".concat(o,"px"),position:"fixed"}),r||(n=t.offsetWidth<e.offsetWidth,t.focus()),r=!0})}})(t,d.current)),[t]),(0,i.useEffect)(()=>{var e;p.current?_<0||null===(e=f.current[_])||void 0===e||e.scrollIntoView({block:"nearest",inline:"nearest"}):p.current=!0},[_]);const E=e=>"OPTION"===e.tagName&&!e.disabled;return(0,u.jsx)("div",{ref:d,className:l.default.select,role:"combobox","aria-expanded":"true",tabIndex:0,onKeyDown:e=>{switch(h.current=!1,e.code){case"ArrowUp":e.preventDefault(),(()=>{if(_<=0)return;let e=_-1;for(;e>=0;){if(E(r[e]))return v(e);e--}})();break;case"ArrowDown":e.preventDefault(),(()=>{if(_<0)return;if(_>=r.length-1)return;let e=_+1;for(;e<r.length;){if(E(r[e]))return v(e);e++}})();break;case"Space":case"Enter":e.preventDefault(),_>=0&&a(_);break;case"Escape":e.preventDefault(),c()}},onMouseEnter:()=>v(-1),onMouseMove:()=>{h.current=!0},children:r.map((e,t)=>"HR"===e.tagName?(0,u.jsx)("hr",{className:l.default.divider},t):"OPTGROUP"===e.tagName?(0,u.jsx)("div",{className:(0,s.clsx)(l.default.group,e.disabled&&l.default.optionDisable),children:e.text},t):(0,u.jsxs)("div",{ref:e=>{f.current[t]=e},className:(0,s.clsx)(l.default.option,e.inGroup&&l.default.optionInGroup,e.disabled&&l.default.optionDisable,e.selected&&l.default.optionSelect,_===t&&l.default.optionHighlight),role:"option","aria-disabled":e.disabled,"aria-selected":e.selected,onMouseUp:()=>a(t),onMouseEnter:()=>{h.current&&v(t)},children:[(0,u.jsx)("img",{className:l.default.optionIcon,src:'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l5 5l10 -10" /></svg>'}),(0,u.jsx)("span",{children:e.text})]},t))})};var v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap;t.default=class{constructor(e){d(this,v,void 0),d(this,E,void 0),d(this,m,void 0),d(this,g,void 0),d(this,y,void 0),function(e,t,r){(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(this,"track",e=>{f(E,this).has(e)||(f(E,this).add(e),e.addEventListener("mousedown",f(L,this)),e.addEventListener("keydown",f(S,this)),e.addEventListener("click",f(C,this),{capture:!0,passive:!0}))}),d(this,I,()=>{var e;null===(e=f(g,this))||void 0===e||e.unmount(),h(g,this,null),h(m,this,null)}),d(this,w,e=>{if(f(g,this))return void f(I,this).call(this);h(y,this,!1),setTimeout(()=>{h(y,this,!0)},200);const{items:t,options:r}=(e=>{const t=Array.from(e.options),r=[],n=(e,i)=>{switch(e.tagName){case"HR":r.push({tagName:e.tagName});break;case"OPTGROUP":r.push({tagName:e.tagName,text:e.label,disabled:e.disabled}),i=e;break;case"OPTION":{var o;const n=e.disabled||Boolean(null===(o=i)||void 0===o?void 0:o.disabled);r.push({tagName:e.tagName,text:e.text,disabled:n,selected:!n&&e.selected,targetIndex:t.indexOf(e),inGroup:Boolean(i)});break}}for(const t of e.children)n(t,i)};return n(e),{options:t,items:r}})(e),n=t.findIndex(e=>e.selected);h(m,this,e),h(g,this,(0,c.mountComponent)(_,{target:e,items:t,initialHighlightedIndex:n,onSelect:n=>{if(!f(y,this))return;const i=t[n],o=r[i.targetIndex];e.value=o.value,o.selected=!0,e.dispatchEvent(new a.Event("input",{bubbles:!0})),e.dispatchEvent(new a.Event("change",{bubbles:!0})),f(I,this).call(this)},onClose:f(I,this)},{hideFromAgent:f(v,this).isRedacted(e),document:e.ownerDocument}))}),d(this,b,e=>{var t;if(!f(v,this).shouldShowSelect())return!1;if("SELECT"!==(null===(t=e.target)||void 0===t?void 0:t.tagName))return!1;if(e.target.size>1)return!1;if(e.defaultPrevented)return!1;const r=e.target;return 0!==r.options.length&&!r.multiple}),d(this,L,e=>{f(b,this).call(this,e)&&0===e.button&&(e.preventDefault(),f(w,this).call(this,e.target))}),d(this,S,e=>{f(b,this).call(this,e)&&["Space","ArrowDown","ArrowUp"].includes(e.code)&&(e.preventDefault(),f(w,this).call(this,e.target))}),d(this,C,e=>{f(g,this)&&f(y,this)&&e.target!==f(m,this)&&(f(g,this).container.contains(e.target)||f(I,this).call(this))}),h(v,this,e),h(E,this,new Set)}}},53291(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280);var n=r(42777),i=r(45264),o=r(66938),s=r(2630);function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class c{constructor(){var e=this;a(this,"el",()=>{if(!this._el){const e="http://www.w3.org/2000/svg";this._el=document.createElementNS(e,"svg"),this._el.setAttribute("class","__cbio_ignored"),this._el.setAttribute("viewBox","0 0 35 35"),this._el.setAttribute("fill","none"),this._el.style.position="fixed",this._el.style.zIndex="2147483647",this._el.style.height="32px",this._el.style.width="32px",this._el.style.marginLeft="-16px",this._el.style.marginTop="0px",this._el.style.color="red",this._el.style.transition="opacity 0.5s",this._el.style.opacity=1,this._el.style.pointerEvents="none";const t=document.createElementNS(e,"path");t.setAttribute("d","M26.5148 15.8441V17.0941C26.5148 17.7541 26.9798 17.2891 26.3198 17.2891C25.6598 17.2891 26.1248 17.7541 26.1248 17.0941V14.5108C26.1248 13.8361 24.5779 12.2891 23.9032 12.2891C23.2285 12.2891 21.6815 13.8361 21.6815 14.5108V17.0941C21.6815 17.7541 22.1465 17.2891 21.4865 17.2891C20.8265 17.2891 21.2915 17.7541 21.2915 17.0941V13.0108C21.2915 12.3361 19.7445 10.7891 19.0698 10.7891C18.3951 10.7891 16.8482 12.3361 16.8482 13.0108V17.0941C16.8482 17.7541 17.3131 17.2891 16.6532 17.2891C15.9932 17.2891 16.4582 17.7541 16.4582 17.0941V5.01073C16.4582 4.33602 14.9112 2.78906 14.2365 2.78906C13.5618 2.78906 12.0148 4.33602 12.0148 5.01073V18.5941C12.0148 19.0774 12.7237 18.5132 12.2771 18.6981C11.8306 18.8831 11.3166 18.7809 10.9748 18.4391L8.262 15.7263C7.85703 15.3213 6.23834 15.2209 5.72608 15.477C5.04602 15.8171 4.78867 17.6568 5.16142 18.3195L11.0678 28.0419C12.5818 30.7334 15.4298 32.3991 18.518 32.3991H21.3198C25.9066 32.3991 30.6248 27.6808 30.6248 23.0941V15.8441C30.6248 15.2614 29.1525 13.7891 28.5698 13.7891C27.9872 13.7891 26.5148 15.2614 26.5148 15.8441Z"),t.setAttribute("fill","currentColor"),t.setAttribute("fill-rule","evenodd"),t.setAttribute("clip-rule","evenodd");const r=document.createElementNS(e,"path");r.setAttribute("d","M10.6247 5.01011C10.6247 3.01544 12.2417 1.39844 14.2364 1.39844C16.2311 1.39844 17.8481 3.01544 17.8481 5.01011V9.61029C18.2296 9.47316 18.641 9.39844 19.0697 9.39844C20.4448 9.39844 21.6404 10.1669 22.2505 11.2978C22.7457 11.0425 23.3076 10.8984 23.9031 10.8984C25.2578 10.8984 26.4383 11.6443 27.0563 12.7478C27.5131 12.524 28.0268 12.3984 28.5697 12.3984C30.4724 12.3984 32.0147 13.9408 32.0147 15.8434V23.0934C32.0147 29.0001 27.2264 33.7884 21.3197 33.7884H18.5179C14.5663 33.7884 10.9219 31.657 8.98462 28.2129L4.07828 19.4905C3.03598 17.6375 3.7556 15.2894 5.65716 14.3386C7.08954 13.6225 8.81951 13.9032 9.95191 15.0356L10.6247 15.7084V5.01011ZM27.5147 15.8434V17.0934C27.5147 17.7534 26.9797 18.2884 26.3197 18.2884C25.6597 18.2884 25.1247 17.7534 25.1247 17.0934V14.5101C25.1247 13.8354 24.5778 13.2884 23.9031 13.2884C23.2284 13.2884 22.6814 13.8354 22.6814 14.5101V17.0934C22.6814 17.7534 22.1464 18.2884 21.4864 18.2884C20.8264 18.2884 20.2914 17.7534 20.2914 17.0934V13.0101C20.2914 12.3354 19.7444 11.7884 19.0697 11.7884C18.395 11.7884 17.8481 12.3354 17.8481 13.0101V17.0934C17.8481 17.7534 17.313 18.2884 16.6531 18.2884C15.9931 18.2884 15.4581 17.7534 15.4581 17.0934V5.01011C15.4581 4.3354 14.9111 3.78844 14.2364 3.78844C13.5617 3.78844 13.0147 4.3354 13.0147 5.01011V18.5934C13.0147 19.0767 12.7236 19.5125 12.277 19.6974C11.8305 19.8824 11.3165 19.7802 10.9747 19.4384L8.26192 16.7256C7.85695 16.3206 7.23826 16.2202 6.726 16.4763C6.04594 16.8164 5.78859 17.6561 6.16134 18.3188L11.0677 27.0412C12.5817 29.7327 15.4297 31.3984 18.5179 31.3984H21.3197C25.9065 31.3984 29.6247 27.6801 29.6247 23.0934V15.8434C29.6247 15.2607 29.1524 14.7884 28.5697 14.7884C27.9871 14.7884 27.5147 15.2607 27.5147 15.8434Z"),r.setAttribute("fill","white"),r.setAttribute("fill-rule","evenodd"),r.setAttribute("clip-rule","evenodd"),this._el.appendChild(t),this._el.appendChild(r)}return this._el}),a(this,"calculateOffset",e=>{var t;const r=o.NodeTracker.getById(e.target.id),n=null==r||null===(t=r.ownerDocument)||void 0===t||null===(t=t.defaultView)||void 0===t?void 0:t.frameElement;if(!n)return{offsetX:0,offsetY:0};const i=n.getBoundingClientRect();return{offsetX:Math.round(i.left),offsetY:Math.round(i.top)}}),a(this,"getOffset",e=>{var t,r;const{offsetX:n,offsetY:i}=e;return void 0!==n&&void 0!==i?{offsetX:n*(null===(t=window.document)||void 0===t||null===(t=t.documentElement)||void 0===t?void 0:t.clientWidth),offsetY:i*(null===(r=window.document)||void 0===r||null===(r=r.documentElement)||void 0===r?void 0:r.clientHeight)}:this.calculateOffset(e)}),a(this,"_updatePosition",e=>{var t,r;let{x:n,y:i}=e;if(!1===n||!1===i)return;n*=null===(t=window.document)||void 0===t||null===(t=t.documentElement)||void 0===t?void 0:t.clientWidth,i*=null===(r=window.document)||void 0===r||null===(r=r.documentElement)||void 0===r?void 0:r.clientHeight;const o=this.getOffset(e);n+=o.offsetX,i+=o.offsetY,this.el().style.top="".concat(i,"px"),this.el().style.left="".concat(n,"px"),this._lastPosition={x:n,y:i}}),a(this,"_getRippleStyle",()=>({position:"fixed",left:"".concat(this._lastPosition.x-4,"px"),top:"".concat(this._lastPosition.y+4,"px")})),a(this,"_createRipple",function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#e94435";const r=(0,n.createRipple)(t,1e3,12,e._getRippleStyle());document.body.appendChild(r)}),a(this,"update",(e,t)=>{if("mouse"===e&&i.WindowTracking.isActive())switch(document.body&&!this.el().parentNode&&document.body.appendChild(this.el()),t.colour&&(this.el().style.color=t.colour),t.state){case"mousedown":this._hideAfterTimeout(),this._createRipple(t.colour),this.interval||(this.interval=setInterval(()=>{this._createRipple(t.colour)},500));break;case"mouseup":this._hideAfterTimeout(),clearInterval(this.interval),this.interval=null;break;case"mousemove":this._hideAfterTimeout(),this._updatePosition(t)}}),a(this,"hide",()=>{clearTimeout(this.fadeTimeOut),this.el().parentNode&&this.el().parentNode.removeChild(this.el())})}_hideAfterTimeout(){clearTimeout(this.fadeTimeOut),this.el().style.opacity=1,this.fadeTimeOut=setTimeout(()=>{this.el().style.opacity=0},5e3)}}class l extends s.MultiAgentManager{constructor(){super(c)}update(e,t){this.getInstanceForAgent(t.agent).update(e,t)}}t.default=new l},94340(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n=l(r(37007)),i=l(r(77988)),o=r(89103),s=r(12996),a=l(r(53983)),c=r(10201);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t,r){return e.set(f(e,t),r),r}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const h=e=>{let{onClick:t}=e;return(0,c.jsx)("div",{className:a.default.sessionStateOverlay,children:(0,c.jsxs)(s.Button,{className:a.default.endSessionButton,onClick:()=>t("session-end"),children:[i.default.tr("END_SESSION"),(0,c.jsx)(s.Icon,{className:a.default.endSessionIcon,name:"EndSession"})]})})};var p=new WeakMap;class _ extends n.default{constructor(){var e,t,r;super(...arguments),r=null,function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e=this,t=p),t.set(e,r),u(this,"showSessionControls",()=>{this.hideSessionControls();const e={onClick:e=>this.emit("click",e)};d(p,this,(0,o.mountComponent)(h,e,{hideFromAgent:!0}))}),u(this,"hideSessionControls",()=>{var e,t;null===(e=(t=p).get(f(t,this)))||void 0===e||e.unmount(),d(p,this,null)})}}t.default=new _},198(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}r(22489),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(44114),r(18111),r(7588),r(13579),r(62953);var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,I=new WeakMap,w=new WeakMap;t.default=new class{constructor(){s(this,u,void 0),s(this,d,void 0),s(this,f,[]),s(this,h,window.matchMedia("(min-width: 768px)")),o(this,"singleTabFullScreen",!1),o(this,"enterFullScreen",()=>a(d,this).enterFullScreen()),o(this,"exitFullScreen",()=>a(d,this).exitFullScreen()),o(this,"getTabCount",()=>a(f,this).length),o(this,"newTab",(e,t,r,n,o,s)=>{const c=a(d,this).createTab({onTabClick:e=>{a(E,this).call(this,c)},onClose:o,confirmUnload:s});return c.setIcon(t),c.setTitle(r),c.setIsLoading(n),c.setContent(e),a(f,this).push(c),a(E,this).call(this,c),a(d,this).showModal(),1===a(f,this).length&&history.pushState({universalProxyOpen:!0},""),i(i({},c),{},{close:()=>a(v,this).call(this,c)})}),s(this,p,()=>{1===a(f,this).length&&a(v,this).call(this,a(f,this)[0])}),s(this,_,e=>{a(f,this).some(e=>e.confirmUnload)&&e.preventDefault()}),o(this,"closeAllTabs",()=>{a(f,this).forEach(a(v,this))}),s(this,v,e=>{const t=a(f,this).indexOf(e);if(-1===t)return;if(e.removeTab(),a(f,this).splice(t,1),!a(f,this).length)return a(d,this).hideModal();const r=a(f,this).length-1;e.isActive()&&(t<=r?a(f,this)[t].show():a(f,this)[r].show())}),s(this,E,e=>{a(f,this).forEach(e=>e.hide()),e.show()}),s(this,m,()=>{const e=document.createElement("div"),t=e.attachShadow({mode:"open"}),r=document.createElement("div");r.style.background="rgba(50, 50, 50, 0.4)",r.style.position="fixed",r.style.zIndex="2147483645",r.style.bottom="0",r.style.top="0",r.style.left="0",r.style.right="0",r.style.display="flex",r.style.flexDirection="column",r.style.padding=a(h,this).matches?"25px":"0",t.appendChild(r);const n=a(g,this).call(this);r.appendChild(n.element);const i=a(y,this).call(this);r.appendChild(i.element);let o=null;return{element:r,showModal:()=>{this.isVisible||(document.body.appendChild(e),o=document.body.style.overflow,document.body.style.overflow="hidden",this.isVisible=!0,c(u,this,history.length))},hideModal:()=>{document.body.removeChild(e),document.body.style.overflow=o,this.isVisible=!1;const t=history.length-a(u,this);t>0&&history.go(-t)},createTab:e=>{let{onTabClick:t,onClose:r,confirmUnload:o}=e;const s=a(I,this).call(this,{onTabClick:t,onCloseClick:e=>{e.stopPropagation(),r()}});n.addButton(s.element);const c=a(w,this).call(this);return i.addPanel(c.element),{setIcon:s.setIcon,setTitle:s.setTitle,setIsLoading:s.setIsLoading,showBanner:c.showBanner,hideBanner:c.hideBanner,show:()=>{s.setIsActive(!0),c.showPanel()},hide:()=>{s.setIsActive(!1),c.hidePanel()},removeTab:()=>{n.removeButton(s.element),i.removePanel(c.element)},isActive:()=>s.isActive,onClose:r,confirmUnload:o,setContent:c.setContent}},enterFullScreen:()=>{n.hide(),r.style.padding="0"},exitFullScreen:()=>{n.show(),r.style.padding=a(h,this).matches?"25px":"0"}}}),s(this,g,()=>{const e=document.createElement("div");return e.style.display="flex",e.style.backgroundColor="#d6e2fb",e.style.borderBottom="1px solid #d8d8d8",e.style.paddingTop="6px",e.style.paddingLeft="6px",e.style.paddingBottom="5px",e.style.borderRadius="10px 10px 0 0",this.fullScreen&&(e.style.display="none"),{element:e,addButton:t=>e.appendChild(t),removeButton:t=>e.removeChild(t),show:()=>{e.style.display="flex"},hide:()=>{e.style.display="none "}}}),s(this,y,()=>{const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e.style.backgroundColor="white",e.style.borderRadius="0 0 10px 10px",e.style.overflow="hidden",{element:e,addPanel:t=>e.appendChild(t),removePanel:t=>e.removeChild(t)}}),s(this,I,e=>{let{onTabClick:t,onCloseClick:r}=e;const n=document.createElement("div");n.style.display="flex",n.style.alignItems="center",n.style.justifyContent="end",n.style.flex="1 1 0",n.style.backgroundColor="#ffffff66",n.style.padding="4px",n.style.maxWidth="200px",n.style.minWidth="0",n.style.overflow="hidden",n.style.cursor="pointer",n.style.borderRadius="9px",n.style.marginRight="6px";const i=document.createElement("img");i.style.flex="0 0 auto",i.style.width="16px",i.style.height="16px",i.style.marginRight="4px";const o=document.createElement("span");o.style.flex="1 1 auto",o.style.display="block",o.style.fontFamily="sans-serif",o.style.fontSize="13px",o.style.overflow="hidden",o.style.whiteSpace="nowrap",o.style.textOverflow="ellipsis";const s=document.createElement("button");s.style.flex="0 0 auto",s.style.width="24px",s.style.height="24px",s.style.border="none",s.style.background="none",s.style.padding="4px",s.style.cursor="pointer";const a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttribute("fill","none"),a.setAttribute("viewBox","0 0 24 24"),a.setAttribute("stroke-width","1.5"),a.setAttribute("stroke","currentColor"),a.style.width="16px",a.style.height="16px";const c=document.createElementNS("http://www.w3.org/2000/svg","path");return c.setAttribute("stroke-linecap","round"),c.setAttribute("stroke-linejoin","round"),c.setAttribute("d","M6 18 18 6M6 6l12 12"),a.appendChild(c),s.appendChild(a),n.appendChild(i),n.appendChild(o),n.appendChild(s),n.addEventListener("click",t),s.addEventListener("click",r),i.onerror=function(){this.src='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="gray"><path stroke-linecap="round" stroke-linejoin="round" d="M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418" /></svg>'},{element:n,icon:"",title:"",isActive:!1,isLoading:!1,setIcon:function(e){this.icon=e,i.src=e},setTitle:function(e){this.title=e,o.textContent=e},setIsActive:function(e){this.isActive=e,this.isActive?(n.style.backgroundColor="white",n.style.borderColor="#d8d8d8"):(n.style.backgroundColor="#ffffff66",n.style.borderColor="#efefef")},setIsLoading:function(e){this.isLoading=e,i.src=this.isLoading?'data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z"><animateTransform attributeName="transform" type="rotate" dur="0.75s" values="0 12 12;360 12 12" repeatCount="indefinite"/></path></svg>':this.icon}}}),s(this,w,()=>{const e=document.createElement("div");e.style.width="100%",e.style.height="100%",e.style.backgroundColor="white",e.style.display="flex",e.style.flexDirection="column";const t=document.createElement("div");t.style.height="30px",t.style.width="100%",t.style.display="flex",t.style.alignItems="center",t.style.justifyContent="center",t.style.backgroundColor="white",t.style.color="black",t.style.fontFamily="sans-serif",t.style.fontSize="13px",t.style.borderBottom="1px solid #d8d8d8";const r=document.createElement("div");return r.style.flex="1",e.appendChild(r),{element:e,showPanel:()=>{e.style.display="flex"},hidePanel:()=>{e.style.display="none"},showBanner:r=>{t.innerText=r,e.contains(t)||e.prepend(t)},hideBanner:()=>{e.contains(t)&&e.removeChild(t)},setContent:e=>{r.contains(e)||r.replaceChildren(e)}}}),c(d,this,a(m,this).call(this)),a(h,this).addEventListener("change",e=>{a(d,this).element.style.padding=e.matches?"25px":"0"}),window.addEventListener("popstate",a(p,this)),window.addEventListener("beforeunload",a(_,this))}}},7410(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=r(22292),o=(n=r(2989))&&n.__esModule?n:{default:n},s=r(10201);const a=["children","className","variant","disabled"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t,className:r,variant:n,disabled:c}=e,u=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,a);return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("button",l(l({className:(0,i.clsx)(o.default.base,o.default[n],r),disabled:c},u),{},{children:t}))})}},25029(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(62953);var n=r(45994),i=r(10201);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t,footer:r,style:o,corner:a="top-left",onCornerChange:c}=e;const[l,u]=(0,n.useState)({x:0,y:0}),[d,f]=(0,n.useState)(!1),[h,p]=(0,n.useState)(!1),_=(0,n.useRef)(l),v=(0,n.useRef)(null),E=(0,n.useRef)({x:0,y:0}),m=(0,n.useRef)(null),g=(0,n.useRef)(a);(0,n.useEffect)(()=>{_.current=l},[l]),(0,n.useEffect)(()=>{var e,t;if(!v.current)return;const r=(null===(e=window.visualViewport)||void 0===e?void 0:e.width)||window.innerWidth,n=(null===(t=window.visualViewport)||void 0===t?void 0:t.height)||window.innerHeight,{offsetWidth:i,offsetHeight:o}=v.current,s={"top-left":{x:0,y:0,dx:0,dy:0},"top-right":{x:r-i,y:0,dx:1,dy:0},"bottom-left":{x:0,y:n-o,dx:0,dy:1},"bottom-right":{x:r-i,y:n-o,dx:1,dy:1}},{x:c,y:l,dx:d,dy:f}=s[a];u({x:c,y:l}),m.current={dx:d,dy:f},g.current=a},[a]);const y=(e,t)=>{f(!0),p(!1),E.current={x:e-l.x,y:t-l.y}};(0,n.useEffect)(()=>{const e=e=>{var t,r;if(!d)return;const n=(null===(t=window.visualViewport)||void 0===t?void 0:t.width)||window.innerWidth,i=(null===(r=window.visualViewport)||void 0===r?void 0:r.height)||window.innerHeight;let o=e.clientX-E.current.x,s=e.clientY-E.current.y;if(v.current){const{offsetWidth:e,offsetHeight:t}=v.current;o=Math.max(0,Math.min(o,n-e)),s=Math.max(0,Math.min(s,i-t))}u({x:o,y:s}),_.current={x:o,y:s}},t=e=>{var t,r;if(!d)return;e.preventDefault();const n=e.touches[0];if(!n)return;const i=(null===(t=window.visualViewport)||void 0===t?void 0:t.width)||window.innerWidth,o=(null===(r=window.visualViewport)||void 0===r?void 0:r.height)||window.innerHeight;let s=n.clientX-E.current.x,a=n.clientY-E.current.y;if(v.current){const{offsetWidth:e,offsetHeight:t}=v.current;s=Math.max(0,Math.min(s,i-e)),a=Math.max(0,Math.min(a,o-t))}u({x:s,y:a}),_.current={x:s,y:a}},r=()=>{f(!1),window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",r),window.removeEventListener("touchmove",t),window.removeEventListener("touchend",r),setTimeout(w,0)};return d&&(window.addEventListener("mousemove",e),window.addEventListener("mouseup",r),window.addEventListener("touchmove",t,{passive:!1}),window.addEventListener("touchend",r)),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",r),window.removeEventListener("touchmove",t),window.removeEventListener("touchend",r)}},[d]);const I=(0,n.useCallback)(()=>{var e,t;if(!v.current||!m.current)return;const r=(null===(e=window.visualViewport)||void 0===e?void 0:e.width)||window.innerWidth,n=(null===(t=window.visualViewport)||void 0===t?void 0:t.height)||window.innerHeight,{offsetWidth:i,offsetHeight:o}=v.current,{dx:s,dy:a}=m.current;u({x:0===s?0:r-i,y:0===a?0:n-o})},[]);(0,n.useEffect)(()=>(window.addEventListener("resize",I),()=>window.removeEventListener("resize",I)),[I]),(0,n.useEffect)(()=>{const e=new ResizeObserver(()=>{p(!0),I(),setTimeout(()=>p(!1),300)});return v.current&&e.observe(v.current),()=>e.disconnect()},[I]);const w=()=>{var e,t;if(!v.current)return;const r=(null===(e=window.visualViewport)||void 0===e?void 0:e.width)||window.innerWidth,n=(null===(t=window.visualViewport)||void 0===t?void 0:t.height)||window.innerHeight,{offsetWidth:i,offsetHeight:o}=v.current,s=[{name:"top-left",x:0,y:0,dx:0,dy:0},{name:"top-right",x:r-i,y:0,dx:1,dy:0},{name:"bottom-left",x:0,y:n-o,dx:0,dy:1},{name:"bottom-right",x:r-i,y:n-o,dx:1,dy:1}],a=_.current,l=(e,t)=>Math.hypot(e.x-t.x,e.y-t.y),d=s.reduce((e,t)=>l(a,t)<l(a,e)?t:e);p(!0),u({x:d.x,y:d.y}),m.current={dx:d.dx,dy:d.dy},g.current!==d.name&&(null==c||c(d.name),g.current=d.name),setTimeout(()=>p(!1),300)};return(0,i.jsxs)("div",{ref:v,style:s(s({},o),{},{position:"fixed",left:l.x,top:l.y,transition:h?"left 0.3s ease, top 0.3s ease, transform 0.2s ease":"transform 0.2s ease"}),children:[(0,i.jsx)("div",{style:{cursor:d?"grabbing":"grab",transform:d?"scale(1.02)":"scale(1)",transition:"transform 0.2s ease"},onMouseDown:e=>{e.preventDefault(),y(e.clientX,e.clientY)},onTouchStart:e=>{const t=e.touches[0];t&&y(t.clientX,t.clientY)},children:t}),null!=r?r:null]})}},66497(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(66746)),i=r(10201);const o=["name"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{name:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,o);return(0,i.jsx)("div",a(a({"aria-hidden":"true",style:{display:"inline-block"}},r),{},{children:n[t]}))}},50341(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=r(22292),o=(n=r(64556))&&n.__esModule?n:{default:n},s=r(10201);const a=["children","className","ariaLabel","title"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t,className:r,ariaLabel:n,title:c}=e,u=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,a);return(0,s.jsx)("button",l(l({className:(0,i.clsx)(o.default.base,r),"aria-label":n,title:null!=n?n:c},u),{},{children:t}))}},4287(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(22292),i=c(r(77988)),o=c(r(32704)),s=r(10201);const a=["children","className"];function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t,className:r}=e,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,a);return(0,s.jsx)("div",u(u({className:o.default.container,role:"dialog","aria-modal":"true"},c),{},{children:(0,s.jsx)("section",{className:(0,n.clsx)(o.default.content,r),dir:i.default.direction(),children:t})}))}},88670(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(22292),i=c(r(52098)),o=c(r(9417)),s=r(10201);const a=["children","iconUrl","className","ariaLabel","style"];function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t,iconUrl:r,className:c,ariaLabel:l,style:d}=e,f=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,a);const h=u(u({},r?{backgroundImage:'url("'.concat(r,'"),url("').concat(i.default,'")'),backgroundPosition:"left 4px center,right 4px center",padding:"8px 24px 8px 24px"}:{backgroundImage:'url("'.concat(i.default,'")')}),d);return(0,s.jsx)("select",u(u({className:(0,n.clsx)(o.default.base,!r&&o.default.noIcon,c),"aria-label":l,style:h},f),{},{children:t}))}},82973(e,t,r){"use strict";r(16280),r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);const i=["children"];function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{let{children:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,i);return(0,n.jsx)("option",s(s({},r),{},{children:t}))}},12996(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"IconButton",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Modal",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Select",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"SelectOption",{enumerable:!0,get:function(){return l.default}});var n=u(r(7410)),i=u(r(25029)),o=u(r(66497)),s=u(r(50341)),a=u(r(4287)),c=u(r(88670)),l=u(r(82973));function u(e){return e&&e.__esModule?e:{default:e}}},96438(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n,i=r(45994),o=r(89103),s=(n=r(59887))&&n.__esModule?n:{default:n},a=r(10201);function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return e.set(d(e,t),r),r}function u(e,t){return e.get(d(e,t))}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const f=e=>{let{targetElement:t}=e;const r=(0,i.useRef)(),n=(0,i.useRef)(!1),o=(0,i.useCallback)(()=>{if(!t)return;const e=(e=>{const t=e.getBoundingClientRect(),r=document.documentElement.scrollTop,n=document.documentElement.scrollLeft,i=t.top+r,o=t.left+n,s=t.width,a=t.height;if(!s||!a)return null;const c=window.getComputedStyle(e);let l=c.borderRadius||c.borderTopLeftRadius;return"0px"===l&&(l="4px"),{top:i,left:o,width:s,height:a,borderRadius:l,paddedX:(s+6)/s,paddedY:(a+6)/a}})(t);if(!e||!r.current)return;const{top:n,left:i,width:o,height:s,borderRadius:a,paddedX:c,paddedY:l}=e;requestAnimationFrame(()=>{r.current.style.width="".concat(o,"px"),r.current.style.height="".concat(s,"px"),r.current.style.top="".concat(n,"px"),r.current.style.left="".concat(i,"px"),r.current.style.borderRadius=a,r.current.style.setProperty("--cbio-padded-x",c),r.current.style.setProperty("--cbio-padded-y",l)})},[t]),c=(0,i.useCallback)(()=>{t&&(n.current=!0,t.scrollIntoView({behavior:"smooth",block:"center",inline:"center"}),setTimeout(()=>{n.current=!1,o()},100))},[t,o]);return(0,i.useEffect)(()=>{c()},[c]),(0,i.useEffect)(()=>{o()},[o]),(0,i.useEffect)(()=>{const e=()=>{n.current||r.current&&(requestAnimationFrame(()=>{r.current.classList.add(s.default.disableAnimations)}),o(),requestAnimationFrame(()=>{r.current.classList.remove(s.default.disableAnimations)}))};return window.addEventListener("resize",e),window.addEventListener("scroll",e,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,{passive:!0,capture:!0}),clearTimeout(void 0)}},[o,t]),(0,i.useEffect)(()=>{let e;return t&&(e=new MutationObserver(()=>{const e=t.isConnected,n=!t.checkVisibility||t.checkVisibility();r.current.style.display=e&&n?"block":"none"}),e.observe(t,{attributes:!0,attributeFilter:["style","class"]}),e.observe(document.body,{childList:!0,subtree:!0})),()=>{var t;null===(t=e)||void 0===t||t.disconnect()}},[t]),(0,a.jsx)("div",{className:s.default.overlay,"data-test-id":"highlight-overlay",ref:r})};var h=new WeakMap;t.default=new class{constructor(){(function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)})(this,h,null),c(this,"update",e=>{u(h,this)?u(h,this).rerender({targetElement:e}):l(h,this,(0,o.mountComponent)(f,{targetElement:e},{hideFromVirtualAgent:!0}))}),c(this,"hide",()=>{var e;null===(e=u(h,this))||void 0===e||e.unmount(),l(h,this,null)})}}},27527(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953);var n,i=r(20949),o=r(45994),s=r(89103),a=(n=r(36e3))&&n.__esModule?n:{default:n},c=r(10201);function l(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t,r){return e.set(f(e,t),r),r}function d(e,t){return e.get(f(e,t))}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const h=e=>{let{title:t}=e;return(0,c.jsx)("div",{className:a.default.tooltipTitle,children:t})},p=e=>{let{arrowRef:t}=e;return(0,c.jsx)("div",{className:a.default.tooltipArrow,ref:t})},_=e=>{let{targetElement:t,title:r}=e;const n=(0,o.useRef)(),s=(0,o.useRef)();return(0,o.useEffect)(()=>{var e;let r;return t&&(r=(0,i.autoUpdate)(t,n.current,async()=>{const e=await(async(e,t,r)=>{if(!e||!t||!r)return null;const{x:n,y:o,placement:s,middlewareData:a}=await(0,i.computePosition)(e,t,{placement:"top",middleware:[(0,i.offset)(12),(0,i.flip)(),(0,i.shift)({padding:8}),(0,i.arrow)({element:r}),(0,i.hide)()]}),{x:c,y:l}=a.arrow,u=!a.hide.referenceHidden;return{tooltip:{x:n,y:o},arrow:{x:c,y:l,staticSide:{top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]]},isVisible:u}})(t,n.current,s.current);e&&(n.current.style.left="".concat(e.tooltip.x,"px"),n.current.style.top="".concat(e.tooltip.y,"px"),n.current.style.display=e.isVisible?"block":"none",s.current.style.left=e.arrow.x?"".concat(e.arrow.x,"px"):"",s.current.style.top=e.arrow.y?"".concat(e.arrow.y,"px"):"",s.current.style[e.arrow.staticSide]="-4px")})),null===(e=n.current)||void 0===e||e.classList.add(a.default.tooltipVisible),()=>{var e;null===(e=r)||void 0===e||e()}},[t]),(0,c.jsxs)("div",{className:a.default.tooltip,role:"tooltip","aria-live":"polite",ref:n,children:[(0,c.jsx)(h,{title:r}),(0,c.jsx)(p,{arrowRef:s})]})};var v=new WeakMap;t.default=new class{constructor(){(function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)})(this,v,null),l(this,"update",(e,t)=>{d(v,this)?d(v,this).rerender({targetElement:e,title:t}):u(v,this,(0,s.mountComponent)(_,{targetElement:e,title:t},{hideFromVirtualAgent:!0}))}),l(this,"hide",()=>{var e;null===(e=d(v,this))||void 0===e||e.unmount(),u(v,this,null)})}}},39771(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(54743),r(11745),r(16573),r(78100),r(77936),r(18111),r(18237),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623),r(62953);var n=r(37007);function i(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function o(e,t){return e.get(a(e,t))}function s(e,t,r){return e.set(a(e,t),r),r}function a(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var c=new WeakMap,l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap;class p extends n.EventEmitter{constructor(e,t){if(super(),i(this,c,void 0),i(this,l,void 0),i(this,u,void 0),i(this,d,void 0),i(this,f,void 0),i(this,h,!1),!window.AudioContext)return;if(!e||!e.getAudioTracks().length)return;s(c,this,new window.AudioContext),s(l,this,o(c,this).createMediaStreamSource(e)),s(u,this,o(c,this).createAnalyser()),o(u,this).fftSize=256,o(l,this).connect(o(u,this));const r=()=>{if(o(h,this))return;const e=new Uint8Array(o(u,this).frequencyBinCount);o(u,this).getByteFrequencyData(e);const n=e.reduce((e,t)=>e+t,0)/o(u,this).frequencyBinCount>t;o(d,this)!==n&&(s(d,this,n),this.emit("updated",this)),o(d,this)?setTimeout(()=>{s(f,this,requestAnimationFrame(r))},250):s(f,this,requestAnimationFrame(r))};r()}get hasNoise(){return o(d,this)||!1}destroy(){var e,t,r;s(h,this,!0),cancelAnimationFrame(o(f,this)),null===(e=o(l,this))||void 0===e||e.disconnect(),s(l,this,null),null===(t=o(u,this))||void 0===t||t.disconnect(),s(u,this,null),null===(r=o(c,this))||void 0===r||r.close(),s(c,this,null)}}t.default=p},24364(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useMediaDevices=void 0,r(44114),r(18111),r(7588),r(62953);var n=r(45994);const i="prompt",o=e=>({granted:"granted"===e,denied:"denied"===e,prompt:e===i});t.useMediaDevices=()=>{const[e,t]=(0,n.useState)([]),[r,s]=(0,n.useState)([]),[a,c]=(0,n.useState)([]),[l,u]=(0,n.useState)(i),[d,f]=(0,n.useState)(i),h=(0,n.useMemo)(()=>o(l),[l]),p=(0,n.useMemo)(()=>o(d),[d]),_=(0,n.useRef)(null),v=(0,n.useRef)(null),E=(0,n.useCallback)(async()=>{if(!navigator.mediaDevices)return;const e=await navigator.mediaDevices.enumerateDevices(),r=[],n=[],i=[];e.forEach(e=>{e.deviceId&&("audioinput"===e.kind&&r.push(e),"audiooutput"===e.kind&&n.push(e),"videoinput"===e.kind&&i.push(e))}),t(r),s(n),c(i)},[]),m=()=>u(_.current.state),g=()=>f(v.current.state),y=(0,n.useCallback)(async()=>{try{var e,t;null===(e=_.current)||void 0===e||e.removeEventListener("change",m),_.current=await navigator.permissions.query({name:"microphone"}),_.current.addEventListener("change",m),null===(t=v.current)||void 0===t||t.removeEventListener("change",g),v.current=await navigator.permissions.query({name:"camera"}),v.current.addEventListener("change",g),u(_.current.state),f(v.current.state)}catch(e){console.warn("CobrowseIO: Failed to get permissions",e),u(i),f(i)}},[]);return(0,n.useEffect)(()=>{y()},[y]),(0,n.useEffect)(()=>{var e;return null===(e=navigator.mediaDevices)||void 0===e||e.addEventListener("devicechange",E),E(),()=>{var e;null===(e=navigator.mediaDevices)||void 0===e||e.removeEventListener("devicechange",E)}},[E]),(0,n.useEffect)(()=>{E()},[l,d,E]),{audioInputDevices:e,audioOutputDevices:r,videoInputDevices:a,audioPermission:h,videoPermission:p,updateDeviceLists:E,updatePermissions:y}}},94909(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSpeaking=void 0,r(62953);var n,i=r(45994),o=(n=r(39771))&&n.__esModule?n:{default:n};t.useSpeaking=e=>{const[t,r]=(0,i.useState)(!1),[n,s]=(0,i.useState)(e.hasAudio);return(0,i.useEffect)(()=>{const t=()=>{s(e.hasAudio)};return e.on("track.added",t),e.on("track.removed",t),()=>{e.off("track.added",t),e.off("track.removed",t)}},[e]),(0,i.useEffect)(()=>{if(!n)return void r(!1);const t=e=>{let{hasNoise:t}=e;return r(t)},i=new o.default(e.stream,15);return i.on("updated",t),t(i),()=>{i.off("updated",t),i.destroy()}},[n,e.stream]),t}},78898(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),(0,n.jsx)("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),(0,n.jsx)("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]})},29515(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsx)("svg",{height:"100%",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M21.5 12V15C21.5 15.2652 21.3946 15.5196 21.2071 15.7071C21.0196 15.8946 20.7652 16 20.5 16H4.5C4.23478 16 3.98043 15.8946 3.79289 15.7071C3.60536 15.5196 3.5 15.2652 3.5 15L3.5 5C3.5 4.73478 3.60536 4.48043 3.79289 4.29289C3.98043 4.10536 4.23478 4 4.5 4L13.5 4M7.5 20H17.5M9.5 16V20M15.5 16V20M17.5 8L21.5 4M17.5 4L21.5 8",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})})},27008(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M9 2m0 3a3 3 0 0 1 3 -3h0a3 3 0 0 1 3 3v5a3 3 0 0 1 -3 3h0a3 3 0 0 1 -3 -3z"}),(0,n.jsx)("path",{d:"M5 10a7 7 0 0 0 14 0"}),(0,n.jsx)("path",{d:"M8 21l8 0"}),(0,n.jsx)("path",{d:"M12 17l0 4"})]})},25239(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M3 3l18 18"}),(0,n.jsx)("path",{d:"M9 5a3 3 0 0 1 6 0v5a3 3 0 0 1 -.13 .874m-2 2a3 3 0 0 1 -3.87 -2.872v-1"}),(0,n.jsx)("path",{d:"M5 10a7 7 0 0 0 10.846 5.85m2 -2a6.967 6.967 0 0 0 1.152 -3.85"}),(0,n.jsx)("path",{d:"M8 21l8 0"}),(0,n.jsx)("path",{d:"M12 17l0 4"})]})},98930(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsx)("svg",{height:"100%",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M23.1068 13.9142L20.2784 16.7426L15.3286 14.6213L16.0357 11.7929C13.7429 11.0147 11.2574 11.0147 8.96465 11.7929L9.67175 14.6213L4.72201 16.7426L1.89358 13.9142C1.51851 13.5391 1.30779 13.0304 1.30779 12.5C1.30779 11.9696 1.51851 11.4609 1.89358 11.0858C4.81944 8.49517 8.59225 7.06493 12.5002 7.06493C16.4081 7.06493 20.1809 8.49517 23.1068 11.0858C23.4819 11.4609 23.6926 11.9696 23.6926 12.5C23.6926 13.0304 23.4819 13.5391 23.1068 13.9142Z",stroke:"#F5F6FB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})})},50505(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M15 10l4.553 -2.276a1 1 0 0 1 1.447 .894v6.764a1 1 0 0 1 -1.447 .894l-4.553 -2.276v-4z"}),(0,n.jsx)("path",{d:"M3 6m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"})]})},84032(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M3 3l18 18"}),(0,n.jsx)("path",{d:"M15 11v-1l4.553 -2.276a1 1 0 0 1 1.447 .894v6.764a1 1 0 0 1 -.675 .946"}),(0,n.jsx)("path",{d:"M10 6h3a2 2 0 0 1 2 2v3m0 4v1a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2v-8a2 2 0 0 1 2 -2h1"})]})},63894(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(10201);t.default=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"100%",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,n.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,n.jsx)("path",{d:"M15 8a5 5 0 0 1 0 8"}),(0,n.jsx)("path",{d:"M17.7 5a9 9 0 0 1 0 14"}),(0,n.jsx)("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"})]})},66746(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DotsVertical",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"EndSession",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Microphone",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"MicrophoneOff",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Phone",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Video",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"VideoOff",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Volume",{enumerable:!0,get:function(){return u.default}});var n=d(r(78898)),i=d(r(29515)),o=d(r(27008)),s=d(r(25239)),a=d(r(98930)),c=d(r(50505)),l=d(r(84032)),u=d(r(63894));function d(e){return e&&e.__esModule?e:{default:e}}},33035(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnnotationOverlay",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"CallDialog",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"CallParticipants",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"ConsentDialog",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Highlight",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"LaserOverlay",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"RemoteCursor",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"SessionStateOverlay",{enumerable:!0,get:function(){return s.default}}),r(2143);var n=d(r(63024)),i=d(r(86162)),o=d(r(53291)),s=d(r(94340)),a=d(r(65573)),c=d(r(76575)),l=d(r(83031)),u=d(r(24189));function d(e){return e&&e.__esModule?e:{default:e}}},37487(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(27495),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=r(42074),i=r(49715),o=r(44661),s=l(r(88619)),a=l(r(77966)),c=r(9147);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function d(e,t){return e.get(h(e,t))}function f(e,t,r){return e.set(h(e,t),r),r}function h(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var p=new WeakMap,_=new WeakMap,v=new WeakMap,E=new WeakMap;class m extends i.NavigationHandler{constructor(e,t){super(),u(this,p,void 0),u(this,_,void 0),u(this,v,(e,t,r,n)=>{const{document:i}=n,o=d(_,this).createUniversalProxyFrameName(),s=d(_,this).createUniversalProxyUrl(e,o),c=d(_,this).createUniversalProxyIFrame(s,o);i.load(s,t,r,{element:c,type:this.type});const l=(e,t)=>{let{handle:r,document:{url:n,icon:o,title:s,isLoading:a,isBlocked:l}}=e,{trusted:u,iframe:d}=t;r||u&&d===c&&(i.url=n,i.icon=o,i.title=s,i.isLoading=a,i.isBlocked=l)};a.default.on("document",l),i.once("closed",()=>{a.default.off("document",l)})}),u(this,E,(e,t,r,n)=>{const{document:i}=n,o=document.createElement("div");o.style.width="100%",o.style.height="100%",o.style.backgroundColor="black",i.load(e,t,r,{element:o,type:this.type}),i.isLoading=!1,i.isBlocked=!0}),f(p,this,(0,n.createPatternMatcher)(t.universalLinks)),f(_,this,new s.default(e,t.api,t.version))}get type(){return o.NAVIGATION_TYPE.UNIVERSAL}shouldHandleEvent(e){return e.eventPhase!==Event.CAPTURING_PHASE&&!e.defaultPrevented}shouldHandle(e){const t=new URL(e,window.location.origin);return t.search="",!!(0,c.isProtocolAllowed)(t.protocol)&&d(p,this).call(this,t)}handle(e,t,r,n){return(this.shouldHandle(e)?d(v,this):d(E,this))(e,t,r,n),{document:n.document}}}t.default=m},11191(e,t,r){"use strict";function n(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),t.default=new class{constructor(){n(this,"proxify",e=>e),n(this,"unproxify",e=>e),n(this,"inUniversalProxy",!1)}}},88619(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=s(r(37609)),i=r(9147),o=s(r(78981));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function l(e,t){return e.get(d(e,t))}function u(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,h=new WeakMap,p=new WeakMap;t.default=class{constructor(e,t,r){c(this,f,void 0),c(this,h,void 0),c(this,p,void 0),a(this,"createUniversalProxyFrameName",()=>"cbioUniversalFrame-".concat((0,o.default)(5))),a(this,"createUniversalProxyUrl",(e,t)=>{const r=l(f,this)[n.default].proxyToken(),o=l(f,this)[n.default].proxyUrl(),s=new URL(o,l(h,this)),a={parent_origin:window.location.origin,proxy_path:s.pathname,sdk_version:l(p,this),frame_name:t};return new i.URLRewriter(s,i.PROXY_PREFIX.UNIVERSAL,r,window.location,a).proxify(e)}),a(this,"createUniversalProxyIFrame",(e,t)=>{const r=document.createElement("iframe");return r.allow="publickey-credentials-get *",r.style.width="100%",r.style.height="100%",r.style.backgroundColor="white",r.style.border="none",r.src=e,r.name=t,r}),u(f,this,e),u(h,this,t),u(p,this,r)}}},91834(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UniversalHandler",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"UniversalProxy",{enumerable:!0,get:function(){return n.default}});var n=o(r(88619)),i=o(r(37487));function o(e){return e&&e.__esModule?e:{default:e}}},29516(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n=s(r(51227)),i=s(r(86542)),o=r(40492);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=(0,n.default)("cbio.VirtualAgent.VirtualAgentEmbed");class l extends o.RESTResource{constructor(){super(),a(this,"url",()=>new URL("api/1/virtualagents/".concat(encodeURIComponent(this.slug()),"/embed"),l.api).toString()),a(this,"slug",()=>this.field("slug")),a(this,"type",()=>this.field("type")),a(this,"data",()=>this.field("data")),c("constructed")}static async load(e,t){var r;const n=new l,o=(0,i.default)(e.license),s="".concat("_cobrowse_va_conversation_").concat(t),{iat:a,resource:d,attempts:f=0}=null!==(r=o.getItem(s))&&void 0!==r?r:{};if(d&&a&&a>Date.now()-78e4)return c("loaded agent embed data from storage"),n.updateResource(d),n;if(!d&&f){const e=u(a,f);if(e>Date.now())return void console.warn("Not loading virtual agent embed data, next retry at: ".concat(new Date(e)))}try{c("loading agent embed data from the API"),n.updateResource({slug:t}),await n.fetch()}catch(e){const t=u(Date.now(),f);return console.error("Unable to resolve virtual agent embed data. Next retry at ".concat(new Date(t)),e),void o.setItem(s,{iat:Date.now(),attempts:f+1})}return o.setItem(s,{resource:n.resource,iat:Date.now()}),n}}function u(e,t){return e+1e3*Math.min(Math.pow(2,t),900)}t.default=l},13177(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initializeVirtualAgent=async function(e,t){o("Loading virtual agent %s",e);const i=await n.default.load(t,e);if("elevenlabs"===(null==i?void 0:i.type())){const{loadElevenLabsWidget:e}=await r.e(660).then(r.bind(r,31475));await e(i,t)}},r(62953);var n=i(r(29516));function i(e){return e&&e.__esModule?e:{default:e}}const o=(0,i(r(51227)).default)("cbio.VirtualAgent")},14162(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClientTracker=void 0,r(16280),r(18111),r(61701),r(62953);var n,i=(n=r(37007))&&n.__esModule?n:{default:n};function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function a(e,t){return e.get(l(e,t))}function c(e,t,r){return e.set(l(e,t),r),r}function l(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,_=new WeakMap;class v extends i.default{constructor(e,t){let{interval:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{interval:3e3};super(),s(this,u,void 0),s(this,d,void 0),s(this,f,void 0),s(this,h,void 0),s(this,p,new Map),o(this,"ping",()=>{this.emit("ping",{id:a(u,this),instanceId:a(d,this),timeout:2*a(f,this)})}),o(this,"track",e=>{let{id:t,instanceId:r,timeout:n,agent:i}=e;if(this.id===t)return;const o=a(p,this).has(t);o||a(p,this).set(t,{instances:new Map,agent:i});const s=a(p,this).get(t),c=s.instances.get(r),l=setTimeout(()=>a(_,this).call(this,t,r),n||2*a(f,this));c&&clearTimeout(c.timeout),s.instances.set(r,{timestamp:new Date,timeout:l}),o||this.emit("join",{id:t,agent:i}),c||this.ping()}),s(this,_,(e,t)=>{const r=a(p,this).get(e);r.instances.delete(t),0===r.instances.size&&(a(p,this).delete(e),this.emit("leave",e))}),o(this,"all",()=>Array.from(a(p,this)).map(e=>{let[t,{agent:r}]=e;return{id:t,agent:r}})),o(this,"destroy",()=>{for(const e of a(p,this).values()){for(const t of e.instances.values())clearTimeout(t.timeout);e.instances.clear()}a(p,this).clear(),clearInterval(a(h,this)),this.removeAllListeners()}),c(u,this,e),c(d,this,t),c(f,this,r),c(h,this,setInterval(this.ping,r))}get id(){return a(u,this)}}t.ClientTracker=v},31762(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{static fromImage(e){const t=document.createElement("canvas");return t.width=e.width,t.height=e.height,t.getContext("2d").drawImage(e,0,0,t.width,t.height),this.fromCanvas(t)}static fromCanvas(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.3;if(1===t)return e.toDataURL?e.toDataURL("image/webp",r):null;const n=document.createElement("canvas"),i=n.getContext("2d");return n.width=e.width*t,n.height=e.height*t,i.drawImage(e,0,0,n.width,n.height),n.toDataURL("image/webp",r)}}},63976(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=void 0,t.Deferred=class{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}},18781(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(44114),r(18111),r(22489),t.default=class{constructor(e,t){this.rate=e,this.period=t,this._tracked=[]}limit(){const e=Date.now()-this.period;return this._tracked=this._tracked.filter(t=>t>e),!(this._tracked.length<this.rate&&(this._tracked.push(Date.now()),1))}}},44153(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(16280),r(18111),r(7588),r(27495),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(25440),r(62953);var n,i=r(37007),o=(n=r(7350))&&n.__esModule?n:{default:n},s=r(42903);function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=(e,t)=>{try{t()}catch(t){console.warn("CobrowseIO: failed to apply tap",e,t)}};class l extends i.EventEmitter{constructor(){super(),a(this,"windows",new Set),a(this,"tap",e=>{if(this.windows.has(e))return;this.windows.add(e);const t=this;c("history.pushState",()=>{const r=e.history.pushState.bind(e.history);e.history.pushState=function(){const n=e.location.href;r(...arguments),t.emit("navigate",e,n)}}),c("history.replaceState",()=>{const r=e.history.replaceState.bind(e.history);e.history.replaceState=function(){const n=e.location.href;r(...arguments),t.emit("navigate",e,n)}}),c("CSSStyleSheet.insertRule",()=>{const{insertRule:r}=e.CSSStyleSheet.prototype;e.CSSStyleSheet.prototype.insertRule=function(){const e=r.bind(this)(...arguments);return t.emit("stylechange",this),e}}),c("CSSStyleSheet.deleteRule",()=>{const{deleteRule:r}=e.CSSStyleSheet.prototype;e.CSSStyleSheet.prototype.deleteRule=function(){const e=r.bind(this)(...arguments);return t.emit("stylechange",this),e}}),c("CSSStyleSheet.replace",()=>{const{replace:r}=e.CSSStyleSheet.prototype;e.CSSStyleSheet.prototype.replace=function(){const e=r.bind(this)(...arguments);return t.emit("stylechange",this),e}}),c("CSSStyleSheet.replaceSync",()=>{const{replaceSync:r}=e.CSSStyleSheet.prototype;e.CSSStyleSheet.prototype.replaceSync=function(){const e=r.bind(this)(...arguments);return t.emit("stylechange",this),e}}),c("Element.attachShadow",()=>{const{attachShadow:r}=e.Element.prototype;e.Element.prototype.attachShadow=function(e){const n=r.bind(this)(e);return t.emit("attachshadow",n),n}});const r=e=>{Object.getOwnPropertyNames(e.prototype).forEach(r=>{try{if("function"!=typeof e.prototype[r])return}catch(e){return}const n=e.prototype[r];e.prototype[r]=function(){return this.canvas.__cbio_emit_change||(this.canvas.__cbio_emit_change=(0,o.default)(e=>t.emit("canvaschange",e),500,{leading:!1,trailing:!0})),this.canvas.__cbio_emit_change(this.canvas),n.apply(this,arguments)}})};c("CanvasRenderingContext2D",()=>r(e.CanvasRenderingContext2D)),c("WebGLRenderingContext",()=>r(e.WebGLRenderingContext)),e.WebGL2RenderingContext&&c("WebGL2RenderingContext",()=>r(e.WebGL2RenderingContext)),c("HTMLSelectElement.value",()=>{(0,s.tapProperty)(e.HTMLSelectElement.prototype,"value",void 0,(e,r)=>(t.emit("selectchange",e),r))}),c("HTMLSelectElement.selectedIndex",()=>{(0,s.tapProperty)(e.HTMLSelectElement.prototype,"selectedIndex",void 0,(e,r)=>(t.emit("selectchange",e),r))}),c("HTMLOptionElement.selected",()=>{(0,s.tapProperty)(e.HTMLOptionElement.prototype,"selected",void 0,(e,r)=>{const n=e.closest("select");return n&&t.emit("selectchange",n),r})})}),a(this,"untap",()=>{}),this.setMaxListeners(200)}}t.default=new l},40923(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=async function(){n.NodeSerializer.isLocalResource(window.location.href)&&console.warn("CobrowseIO: This page was loaded from a local address, Cobrowse may not work as expected due to inaccessible resources. We recommend using ngrok for testing development versions.")};var n=r(66938)},42777(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRipple=function(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};!function(e,t){const r="".concat(e,"-").concat(t);if(i.has(r))return;const n=document.createElement("style");n.id="cbio_session_ripple_stylesheet_".concat(r),n.textContent="\n @keyframes cbio_session_ripple_effect-".concat(r," {\n 0% {\n transform: translate(-50%, -50%) scale(2);\n opacity: 1;\n }\n 100% {\n transform: translate(-50%, -50%) scale(").concat(t,");\n opacity: 0;\n }\n }\n .cbio_session_ripple-").concat(r," {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n position: absolute;\n z-index: 2147483647;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(").concat(t,");\n pointer-events: none;\n animation: cbio_session_ripple_effect-").concat(r," ").concat(e,"ms ease-out forwards;\n }\n "),document.head.appendChild(n),i.add(r)}(t,r);const s=(0,n.hexToRGB)(e,.25),a=document.createElement("div");return a.classList.add("cbio_session_ripple-".concat(t,"-").concat(r)),Object.assign(a.style,{backgroundColor:s},o),setTimeout(()=>{a.remove()},t),a},r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(98276);const i=new Set},38091(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.discoverNodes=function(e,t,r,i){const o=new Set(e.addedNodes?[].slice.call(e.addedNodes):[]);i.has(e.target)||t.add(e.target);for(const e of o)n.NodeTree.depthFirst(e,e=>{t.add(e),i.delete(e),r.add(e)});e.removedNodes&&[].slice.call(e.removedNodes).forEach(e=>{n.NodeTree.depthFirst(e,e=>{t.delete(e),r.delete(e),i.add(e)})})},r(18111),r(7588),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n=r(66938)},1e4(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setFormAttribute=t.getFormAttribute=void 0,t.getFormAttribute=(e,t)=>Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,t).get.call(e),t.setFormAttribute=(e,t,r)=>Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,t).set.call(e,r)},37387(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCssText=void 0,r(18111),r(18237),t.getCssText=e=>{try{if(e.media&&e.media.length&&!window.matchMedia(e.media).matches)return""}catch(t){console.warn("CobrowseIO: Media detection for sheet failed:",t,"sheet",e)}return[].slice.call(e.cssRules).reduce((e,t)=>{try{return e+t.cssText}catch(t){return e}},"")}},97384(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollBarSize=function(){if(null==r){var e,t;const n=document.createElement("div");n.style.cssText="width: 100px; height: 100px; overflow: scroll; position: absolute; top: -500px; left: -500px; margin: 0px; padding: 0px; border: none;",null===(e=document.body)||void 0===e||e.appendChild(n),r=n.offsetWidth-n.clientWidth,null===(t=document.body)||void 0===t||t.removeChild(n)}return r};let r=null},98276(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToRGB=function(e,t){const r=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),i=parseInt(e.slice(5,7),16);return t?"rgba("+r+", "+n+", "+i+", "+t+")":"rgb("+r+", "+n+", "+i+")"}},56851(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.default;const n=[t?"access_token=".concat(t):null,"X-CobrowseSDKVersion=".concat(r.version),"X-CobrowsePlatform=web","X-CobrowseDevice=".concat(r.deviceId()),"X-CobrowseLicense=".concat(r.license)].filter(Boolean).join("&"),o=new URL(e,r.api).toString().replace("https://","wss://").replace("http://","ws://");return new URL("sockets/1/ws?".concat(n),o).toString()},r(27495),r(25440),r(62953),r(3296),r(27208),r(48408),r(14603),r(47566),r(98721);var n,i=(n=r(85620))&&n.__esModule?n:{default:n}},89103(e,t,r){"use strict";r(44114),r(18111),r(22489),r(7588),Object.defineProperty(t,"__esModule",{value:!0}),t.mountComponent=void 0,r(16280);var n=r(50172);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.mountComponent=function(e,t){let{hideFromAgent:r=!1,hideFromVirtualAgent:i=!1,document:s=window.document}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=s.createElement("div");r&&a.classList.add("__cbio_ignored"),i&&a.classList.add("__cbio_virtual_agent_ignored");const c=a.attachShadow({mode:"open"}),l=()=>{(0,n.render)(null,c),s.body.contains(a)&&s.body.removeChild(a)},u=t=>{(0,n.render)((0,n.h)(e,o(o({},t),{},{unmount:l})),c)};u(t),s.body.appendChild(a);const d=s.createElement("style");return d.textContent=window.__cbio_sdk_styles,c.prepend(d),{container:a,unmount:l,rerender:u}}},18567(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseWindowFeatures=void 0,r(18111),r(18237),r(62953);const n=["true","yes",void 0],i=["false","no"];t.parseWindowFeatures=e=>"string"!=typeof e?{}:e.toLowerCase().split(",").reduce((e,t)=>{const[r,o]=t.split("=");return e[r]=n.indexOf(o)>=0||!(i.indexOf(o)>=0)&&o,e},{})},37609(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.protect=function(e,t,r){e[n]||Object.defineProperty(e,n,{enumerable:!1,value:{}});const i=e[n][t];return Object.getPrototypeOf(Object.getPrototypeOf(e))[t]=i,Object.defineProperty(e[n],t,{enumerable:!1,value:r,configurable:!0}),r},r(89463);const n=Symbol("protected");t.default=n},78981(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r="";for(let n=e;n>0;n-=1)r+=t[Math.floor(Math.random()*t.length)];return r};const r="abcdefghijklmnopqrstuvwxyz",n="".concat("0123456789").concat(r.toLowerCase()).concat(r.toUpperCase())},75632(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSelectorsForCurrentUrl=t.didSelectorsChange=void 0,r(46449),r(26910),r(93514),r(18111),r(81148),r(22489),r(61701),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var n,i=r(42074),o=(n=r(11191))&&n.__esModule?n:{default:n};const s=()=>o.default.unproxify(window.location.href),a=(e,t)=>{if(!e)return e;const r=e.map(e=>"string"==typeof e?e:"object"==typeof e?Object.entries(e).filter(e=>{let[r]=e;return(0,i.createPatternMatcher)([r])(t)}).map(e=>{let[t,r]=e;return r}):null).filter(Boolean).flat(2);return[...new Set(r)]};t.resolveSelectorsForCurrentUrl=e=>{const t=s();return a(e,t)},t.didSelectorsChange=(e,t)=>{if(!e)return!1;if(!t)return!0;const r=a(e,t),n=a(e,s());if(r.length!==n.length)return!0;const i=[...r].sort(),o=[...n].sort();return!i.every((e,t)=>e===o[t])}},82117(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitNameFromTarget=void 0;const r=["_blank","_self","_parent","_top","_unfencedTop"];t.splitNameFromTarget=(e,t)=>e?r.includes(e)?{name:"",target:e}:{name:e,target:t}:{name:"",target:t}},42903(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tapProperty=void 0,r(18111),r(61701),t.tapProperty=(e,t,r,n)=>{const i=(e=>e.includes("-")?e.split("-").map((e,t)=>0===t?e.toLowerCase():(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())(e)).join(""):e)(t),o=Object.getOwnPropertyDescriptor(e,i).get,s=Object.getOwnPropertyDescriptor(e,i).set;Object.defineProperty(e,i,{get:function(){const e=o.call(this);return r?r(this,e):e},set:function(e){const t=n?n(this,null==e?void 0:e.toString()):null==e?void 0:e.toString();return s.call(this,t)}});const{getAttribute:a,setAttribute:c}=e;a&&(e.getAttribute=function(e){if((null==e?void 0:e.toLowerCase())===t.toLowerCase()){const t=a.apply(this,[e]);return r?r(this,t):t}return a.apply(this,[e])}),c&&(e.setAttribute=function(e,r){if(e.toLowerCase()===t.toLowerCase()){const t=n?n(this,null==r?void 0:r.toString()):null==r?void 0:r.toString();return c.apply(this,[e,t])}return c.apply(this,[e,r])})}},58325(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delta=function(e,t){return r[e]?e&&t?r[t]-r[e]:Date.now()-r[e]:NaN},t.mark=function(e){r[e]=Date.now()};const r={load:Date.now()}},58973(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{static isHeadless(){return navigator.userAgent.toLowerCase().includes("headless")}}},79883(e,t){"use strict";var r,n;let i;Object.defineProperty(t,"__esModule",{value:!0}),t.Node=t.MutationObserver=t.EventTarget=t.Event=t.Element=void 0;try{i=document.createElement("iframe"),document.documentElement.appendChild(i),i.style.display="none",i.className="__cbio_ignored",i.width=0,i.height=0}catch(e){console.warn("Failed to create unpolyfill iframe",e)}const{Node:o,Element:s,MutationObserver:a,Event:c,EventTarget:l}=null!==(r=null===(n=i)||void 0===n?void 0:n.contentWindow)&&void 0!==r?r:window;t.EventTarget=l,t.Event=c,t.MutationObserver=a,t.Element=s,t.Node=o},22292(e){function t(){for(var e,t=0,r="",n=arguments.length;t<n;t++)(e=arguments[t])&&"string"==typeof e&&(r+=(r&&" ")+e);return r}e.exports=t,e.exports.clsx=t},25454(e){"use strict";const{entries:t,setPrototypeOf:r,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:o}=Object;let{freeze:s,seal:a,create:c}=Object,{apply:l,construct:u}="undefined"!=typeof Reflect&&Reflect;s||(s=function(e){return e}),a||(a=function(e){return e}),l||(l=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return e.apply(t,n)}),u||(u=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});const d=C(Array.prototype.forEach),f=C(Array.prototype.lastIndexOf),h=C(Array.prototype.pop),p=C(Array.prototype.push),_=C(Array.prototype.splice),v=C(String.prototype.toLowerCase),E=C(String.prototype.toString),m=C(String.prototype.match),g=C(String.prototype.replace),y=C(String.prototype.indexOf),I=C(String.prototype.trim),w=C(Object.prototype.hasOwnProperty),b=C(RegExp.prototype.test),L=(S=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return u(S,t)});var S;function C(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return l(e,t,n)}}function A(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;r&&r(e,null);let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=i(r);e!==r&&(n(t)||(t[o]=e),r=e)}e[r]=!0}return e}function O(e){for(let t=0;t<e.length;t++)w(e,t)||(e[t]=null);return e}function N(e){const r=c(null);for(const[n,i]of t(e))w(e,n)&&(Array.isArray(i)?r[n]=O(i):i&&"object"==typeof i&&i.constructor===Object?r[n]=N(i):r[n]=i);return r}function T(e,t){for(;null!==e;){const r=o(e,t);if(r){if(r.get)return C(r.get);if("function"==typeof r.value)return C(r.value)}e=i(e)}return function(){return null}}const P=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),M=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),k=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),D=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),x=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),j=s(["#text"]),G=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),W=s(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),V=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),F=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\$\{[\w\W]*/gm),H=a(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=a(/^aria-[\-\w]+$/),Q=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=a(/^(?:\w+script|data):/i),K=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=a(/^html$/i),q=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:K,CUSTOM_ELEMENT:q,DATA_ATTR:H,DOCTYPE_NAME:X,ERB_EXPR:F,IS_ALLOWED_URI:Q,IS_SCRIPT_OR_DATA:J,MUSTACHE_EXPR:z,TMPLIT_EXPR:B});const $=function(){return"undefined"==typeof window?null:window};var ee=function e(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$();const n=t=>e(t);if(n.version="3.4.0",n.removed=[],!r||!r.document||9!==r.document.nodeType||!r.Element)return n.isSupported=!1,n;let{document:i}=r;const o=i,a=o.currentScript,{DocumentFragment:l,HTMLTemplateElement:u,Node:S,Element:C,NodeFilter:O,NamedNodeMap:z=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:F,DOMParser:B,trustedTypes:H}=r,Y=C.prototype,J=T(Y,"cloneNode"),K=T(Y,"remove"),q=T(Y,"nextSibling"),ee=T(Y,"childNodes"),te=T(Y,"parentNode");if("function"==typeof u){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let re,ne="";const{implementation:ie,createNodeIterator:oe,createDocumentFragment:se,getElementsByTagName:ae}=i,{importNode:ce}=o;let le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof t&&"function"==typeof te&&ie&&void 0!==ie.createHTMLDocument;const{MUSTACHE_EXPR:ue,ERB_EXPR:de,TMPLIT_EXPR:fe,DATA_ATTR:he,ARIA_ATTR:pe,IS_SCRIPT_OR_DATA:_e,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Ee}=Z;let{IS_ALLOWED_URI:me}=Z,ge=null;const ye=A({},[...P,...R,...M,...D,...j]);let Ie=null;const we=A({},[...G,...U,...W,...V]);let be=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Le=null,Se=null;const Ce=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ae=!0,Oe=!0,Ne=!1,Te=!0,Pe=!1,Re=!0,Me=!1,ke=!1,De=!1,xe=!1,je=!1,Ge=!1,Ue=!0,We=!1,Ve=!0,ze=!1,Fe={},Be=null;const He=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ye=null;const Qe=A({},["audio","video","img","source","image","track"]);let Je=null;const Ke=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xe="http://www.w3.org/1998/Math/MathML",qe="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml";let $e=Ze,et=!1,tt=null;const rt=A({},[Xe,qe,Ze],E);let nt=A({},["mi","mo","mn","ms","mtext"]),it=A({},["annotation-xml"]);const ot=A({},["title","style","font","a","script"]);let st=null;const at=["application/xhtml+xml","text/html"];let ct=null,lt=null;const ut=i.createElement("form"),dt=function(e){return e instanceof RegExp||e instanceof Function},ft=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!lt||lt!==e){if(e&&"object"==typeof e||(e={}),e=N(e),st=-1===at.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ct="application/xhtml+xml"===st?E:v,ge=w(e,"ALLOWED_TAGS")?A({},e.ALLOWED_TAGS,ct):ye,Ie=w(e,"ALLOWED_ATTR")?A({},e.ALLOWED_ATTR,ct):we,tt=w(e,"ALLOWED_NAMESPACES")?A({},e.ALLOWED_NAMESPACES,E):rt,Je=w(e,"ADD_URI_SAFE_ATTR")?A(N(Ke),e.ADD_URI_SAFE_ATTR,ct):Ke,Ye=w(e,"ADD_DATA_URI_TAGS")?A(N(Qe),e.ADD_DATA_URI_TAGS,ct):Qe,Be=w(e,"FORBID_CONTENTS")?A({},e.FORBID_CONTENTS,ct):He,Le=w(e,"FORBID_TAGS")?A({},e.FORBID_TAGS,ct):N({}),Se=w(e,"FORBID_ATTR")?A({},e.FORBID_ATTR,ct):N({}),Fe=!!w(e,"USE_PROFILES")&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Te=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Pe=e.SAFE_FOR_TEMPLATES||!1,Re=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,xe=e.RETURN_DOM||!1,je=e.RETURN_DOM_FRAGMENT||!1,Ge=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,Ue=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ve=!1!==e.KEEP_CONTENT,ze=e.IN_PLACE||!1,me=e.ALLOWED_URI_REGEXP||Q,$e=e.NAMESPACE||Ze,nt=e.MATHML_TEXT_INTEGRATION_POINTS||nt,it=e.HTML_INTEGRATION_POINTS||it,be=e.CUSTOM_ELEMENT_HANDLING||c(null),e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(be.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(be.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(be.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pe&&(Oe=!1),je&&(xe=!0),Fe&&(ge=A({},j),Ie=c(null),!0===Fe.html&&(A(ge,P),A(Ie,G)),!0===Fe.svg&&(A(ge,R),A(Ie,U),A(Ie,V)),!0===Fe.svgFilters&&(A(ge,M),A(Ie,U),A(Ie,V)),!0===Fe.mathMl&&(A(ge,D),A(Ie,W),A(Ie,V))),Ce.tagCheck=null,Ce.attributeCheck=null,e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Ce.tagCheck=e.ADD_TAGS:(ge===ye&&(ge=N(ge)),A(ge,e.ADD_TAGS,ct))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Ce.attributeCheck=e.ADD_ATTR:(Ie===we&&(Ie=N(Ie)),A(Ie,e.ADD_ATTR,ct))),e.ADD_URI_SAFE_ATTR&&A(Je,e.ADD_URI_SAFE_ATTR,ct),e.FORBID_CONTENTS&&(Be===He&&(Be=N(Be)),A(Be,e.FORBID_CONTENTS,ct)),e.ADD_FORBID_CONTENTS&&(Be===He&&(Be=N(Be)),A(Be,e.ADD_FORBID_CONTENTS,ct)),Ve&&(ge["#text"]=!0),Me&&A(ge,["html","head","body"]),ge.table&&(A(ge,["tbody"]),delete Le.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');re=e.TRUSTED_TYPES_POLICY,ne=re.createHTML("")}else void 0===re&&(re=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(H,a)),null!==re&&"string"==typeof ne&&(ne=re.createHTML(""));s&&s(e),lt=e}},ht=A({},[...R,...M,...k]),pt=A({},[...D,...x]),_t=function(e){p(n.removed,{element:e});try{te(e).removeChild(e)}catch(t){K(e)}},vt=function(e,t){try{p(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(xe||je)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Et=function(e){let t=null,r=null;if(De)e="<remove></remove>"+e;else{const t=m(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===st&&$e===Ze&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const n=re?re.createHTML(e):e;if($e===Ze)try{t=(new B).parseFromString(n,st)}catch(e){}if(!t||!t.documentElement){t=ie.createDocument($e,"template",null);try{t.documentElement.innerHTML=et?ne:n}catch(e){}}const o=t.body||t.documentElement;return e&&r&&o.insertBefore(i.createTextNode(r),o.childNodes[0]||null),$e===Ze?ae.call(t,Me?"html":"body")[0]:Me?t.documentElement:o},mt=function(e){return oe.call(e.ownerDocument||e,e,O.SHOW_ELEMENT|O.SHOW_COMMENT|O.SHOW_TEXT|O.SHOW_PROCESSING_INSTRUCTION|O.SHOW_CDATA_SECTION,null)},gt=function(e){return e instanceof F&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},yt=function(e){return"function"==typeof S&&e instanceof S};function It(e,t,r){d(e,e=>{e.call(n,t,r,lt)})}const wt=function(e){let t=null;if(It(le.beforeSanitizeElements,e,null),gt(e))return _t(e),!0;const r=ct(e.nodeName);if(It(le.uponSanitizeElement,e,{tagName:r,allowedTags:ge}),Re&&e.hasChildNodes()&&!yt(e.firstElementChild)&&b(/<[/\w!]/g,e.innerHTML)&&b(/<[/\w!]/g,e.textContent))return _t(e),!0;if(Re&&e.namespaceURI===Ze&&"style"===r&&yt(e.firstElementChild))return _t(e),!0;if(7===e.nodeType)return _t(e),!0;if(Re&&8===e.nodeType&&b(/<[/\w]/g,e.data))return _t(e),!0;if(Le[r]||!(Ce.tagCheck instanceof Function&&Ce.tagCheck(r))&&!ge[r]){if(!Le[r]&&Lt(r)){if(be.tagNameCheck instanceof RegExp&&b(be.tagNameCheck,r))return!1;if(be.tagNameCheck instanceof Function&&be.tagNameCheck(r))return!1}if(Ve&&!Be[r]){const t=te(e)||e.parentNode,r=ee(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const i=J(r[n],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,q(e))}}return _t(e),!0}return e instanceof C&&!function(e){let t=te(e);t&&t.tagName||(t={namespaceURI:$e,tagName:"template"});const r=v(e.tagName),n=v(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===qe?t.namespaceURI===Ze?"svg"===r:t.namespaceURI===Xe?"svg"===r&&("annotation-xml"===n||nt[n]):Boolean(ht[r]):e.namespaceURI===Xe?t.namespaceURI===Ze?"math"===r:t.namespaceURI===qe?"math"===r&&it[n]:Boolean(pt[r]):e.namespaceURI===Ze?!(t.namespaceURI===qe&&!it[n])&&!(t.namespaceURI===Xe&&!nt[n])&&!pt[r]&&(ot[r]||!ht[r]):!("application/xhtml+xml"!==st||!tt[e.namespaceURI]))}(e)?(_t(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(Pe&&3===e.nodeType&&(t=e.textContent,d([ue,de,fe],e=>{t=g(t,e," ")}),e.textContent!==t&&(p(n.removed,{element:e.cloneNode()}),e.textContent=t)),It(le.afterSanitizeElements,e,null),!1):(_t(e),!0)},bt=function(e,t,r){if(Se[t])return!1;if(Ue&&("id"===t||"name"===t)&&(r in i||r in ut))return!1;if(Oe&&!Se[t]&&b(he,t));else if(Ae&&b(pe,t));else if(Ce.attributeCheck instanceof Function&&Ce.attributeCheck(t,e));else if(!Ie[t]||Se[t]){if(!(Lt(e)&&(be.tagNameCheck instanceof RegExp&&b(be.tagNameCheck,e)||be.tagNameCheck instanceof Function&&be.tagNameCheck(e))&&(be.attributeNameCheck instanceof RegExp&&b(be.attributeNameCheck,t)||be.attributeNameCheck instanceof Function&&be.attributeNameCheck(t,e))||"is"===t&&be.allowCustomizedBuiltInElements&&(be.tagNameCheck instanceof RegExp&&b(be.tagNameCheck,r)||be.tagNameCheck instanceof Function&&be.tagNameCheck(r))))return!1}else if(Je[t]);else if(b(me,g(r,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(r,"data:")||!Ye[e])if(Ne&&!b(_e,g(r,ve,"")));else if(r)return!1;return!0},Lt=function(e){return"annotation-xml"!==e&&m(e,Ee)},St=function(e){It(le.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||gt(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ie,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:s,namespaceURI:a,value:c}=o,l=ct(s),u=c;let f="value"===s?u:I(u);if(r.attrName=l,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,It(le.uponSanitizeAttribute,e,r),f=r.attrValue,!We||"id"!==l&&"name"!==l||(vt(s,e),f="user-content-"+f),Re&&b(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){vt(s,e);continue}if("attributename"===l&&m(f,"href")){vt(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){vt(s,e);continue}if(!Te&&b(/\/>/i,f)){vt(s,e);continue}Pe&&d([ue,de,fe],e=>{f=g(f,e," ")});const p=ct(e.nodeName);if(bt(p,l,f)){if(re&&"object"==typeof H&&"function"==typeof H.getAttributeType)if(a);else switch(H.getAttributeType(p,l)){case"TrustedHTML":f=re.createHTML(f);break;case"TrustedScriptURL":f=re.createScriptURL(f)}if(f!==u)try{a?e.setAttributeNS(a,s,f):e.setAttribute(s,f),gt(e)?_t(e):h(n.removed)}catch(t){vt(s,e)}}else vt(s,e)}It(le.afterSanitizeAttributes,e,null)},Ct=function(e){let t=null;const r=mt(e);for(It(le.beforeSanitizeShadowDOM,e,null);t=r.nextNode();)It(le.uponSanitizeShadowNode,t,null),wt(t),St(t),t.content instanceof l&&Ct(t.content);It(le.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,a=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!yt(e)){if("function"!=typeof e.toString)throw L("toString is not a function");if("string"!=typeof(e=e.toString()))throw L("dirty is not a string, aborting")}if(!n.isSupported)return e;if(ke||ft(t),n.removed=[],"string"==typeof e&&(ze=!1),ze){if(e.nodeName){const t=ct(e.nodeName);if(!ge[t]||Le[t])throw L("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof S)r=Et("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!xe&&!Pe&&!Me&&-1===e.indexOf("<"))return re&&Ge?re.createHTML(e):e;if(r=Et(e),!r)return xe?null:Ge?ne:""}r&&De&&_t(r.firstChild);const c=mt(ze?e:r);for(;s=c.nextNode();)wt(s),St(s),s.content instanceof l&&Ct(s.content);if(ze)return e;if(xe){if(Pe){r.normalize();let e=r.innerHTML;d([ue,de,fe],t=>{e=g(e,t," ")}),r.innerHTML=e}if(je)for(a=se.call(r.ownerDocument);r.firstChild;)a.appendChild(r.firstChild);else a=r;return(Ie.shadowroot||Ie.shadowrootmode)&&(a=ce.call(o,a,!0)),a}let u=Me?r.outerHTML:r.innerHTML;return Me&&ge["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&b(X,r.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+u),Pe&&d([ue,de,fe],e=>{u=g(u,e," ")}),re&&Ge?re.createHTML(u):u},n.setConfig=function(){ft(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ke=!0},n.clearConfig=function(){lt=null,ke=!1},n.isValidAttribute=function(e,t,r){lt||ft({});const n=ct(e),i=ct(t);return bt(n,i,r)},n.addHook=function(e,t){"function"==typeof t&&p(le[e],t)},n.removeHook=function(e,t){if(void 0!==t){const r=f(le[e],t);return-1===r?void 0:_(le[e],r,1)[0]}return h(le[e])},n.removeHooks=function(e){le[e]=[]},n.removeAllHooks=function(){le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();e.exports=ee},37007(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}_(e,t,o,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&_(e,"error",t,{once:!0})}(e,i)})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var i,o,s,l;if(a(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"==typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(i=c(e))>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,l=u,console&&console.warn&&console.warn(l)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=u.bind(n);return i.listener=r,n.wrapFn=i,i}function f(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):p(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function _(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function i(o){n.once&&e.removeEventListener(t,i),r(o)})}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return c(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)n(c,this,t);else{var l=c.length,u=p(c,l);for(r=0;r<l;++r)n(u[r],this,t)}return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return a(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,o,s;if(a(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,s||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return f(this,e,!0)},o.prototype.rawListeners=function(e){return f(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},32017(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!==i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!==i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!==i--;){var s=o[i];if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}},37047(e){e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Expected a string");for(var r,n=String(e),i="",o=!!t&&!!t.extended,s=!!t&&!!t.globstar,a=!1,c=t&&"string"==typeof t.flags?t.flags:"",l=0,u=n.length;l<u;l++)switch(r=n[l]){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":i+="\\"+r;break;case"?":if(o){i+=".";break}case"[":case"]":if(o){i+=r;break}case"{":if(o){a=!0,i+="(";break}case"}":if(o){a=!1,i+=")";break}case",":if(a){i+="|";break}i+="\\"+r;break;case"*":for(var d=n[l-1],f=1;"*"===n[l+1];)f++,l++;var h=n[l+1];s?!(f>1)||"/"!==d&&void 0!==d||"/"!==h&&void 0!==h?i+="([^/]*)":(i+="((?:[^/]*(?:/|$))*)",l++):i+=".*";break;default:i+=r}return c&&~c.indexOf("g")||(i="^"+i+"$"),new RegExp(i,c)}},2733(e){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)"__proto__"!==n&&(e[n]=r[n])}return e}return function t(r,n){function i(t,i,o){if("undefined"!=typeof document){"number"==typeof(o=e({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in o)o[a]&&(s+="; "+a,!0!==o[a]&&(s+="="+o[a].split(";")[0]));return document.cookie=t+"="+r.write(i,t)+s}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},i=0;i<t.length;i++){var o=t[i].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(a in n||(n[a]=r.read(s,a)),e===a)break}catch{}}return e?n[e]:n}},remove:function(t,r){i(t,"",e({},r,{expires:-1}))},withAttributes:function(r){return t(this.converter,e({},this.attributes,r))},withConverter:function(r){return t(e({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},55580(e,t,r){var n=r(56110)(r(9325),"DataView");e.exports=n},21549(e,t,r){var n=r(22032),i=r(63862),o=r(66721),s=r(12749),a=r(35749);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},80079(e,t,r){var n=r(63702),i=r(70080),o=r(24739),s=r(48655),a=r(31175);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},68223(e,t,r){var n=r(56110)(r(9325),"Map");e.exports=n},53661(e,t,r){var n=r(63040),i=r(17670),o=r(90289),s=r(4509),a=r(72949);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},32804(e,t,r){var n=r(56110)(r(9325),"Promise");e.exports=n},76545(e,t,r){var n=r(56110)(r(9325),"Set");e.exports=n},38859(e,t,r){var n=r(53661),i=r(31380),o=r(51459);function s(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=o,e.exports=s},37217(e,t,r){var n=r(80079),i=r(51420),o=r(90938),s=r(63605),a=r(29817),c=r(80945);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=s,l.prototype.has=a,l.prototype.set=c,e.exports=l},51873(e,t,r){var n=r(9325).Symbol;e.exports=n},37828(e,t,r){var n=r(9325).Uint8Array;e.exports=n},28303(e,t,r){var n=r(56110)(r(9325),"WeakMap");e.exports=n},91033(e){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},83729(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},79770(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}},70695(e,t,r){var n=r(78096),i=r(72428),o=r(56449),s=r(3656),a=r(30361),c=r(37167),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),u=!r&&i(e),d=!r&&!u&&s(e),f=!r&&!u&&!d&&c(e),h=r||u||d||f,p=h?n(e.length,String):[],_=p.length;for(var v in e)!t&&!l.call(e,v)||h&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,_))||p.push(v);return p}},34932(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},14528(e){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},14248(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},16547(e,t,r){var n=r(43360),i=r(75288),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];o.call(e,t)&&i(s,r)&&(void 0!==r||t in e)||n(e,t,r)}},26025(e,t,r){var n=r(75288);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},74733(e,t,r){var n=r(21791),i=r(95950);e.exports=function(e,t){return e&&n(t,i(t),e)}},43838(e,t,r){var n=r(21791),i=r(37241);e.exports=function(e,t){return e&&n(t,i(t),e)}},43360(e,t,r){var n=r(93243);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},9999(e,t,r){var n=r(37217),i=r(83729),o=r(16547),s=r(74733),a=r(43838),c=r(93290),l=r(23007),u=r(92271),d=r(48948),f=r(50002),h=r(83349),p=r(5861),_=r(76189),v=r(77199),E=r(35529),m=r(56449),g=r(3656),y=r(87730),I=r(23805),w=r(38440),b=r(95950),L=r(37241),S="[object Arguments]",C="[object Function]",A="[object Object]",O={};O[S]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[A]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[C]=O["[object WeakMap]"]=!1,e.exports=function e(t,r,N,T,P,R){var M,k=1&r,D=2&r,x=4&r;if(N&&(M=P?N(t,T,P,R):N(t)),void 0!==M)return M;if(!I(t))return t;var j=m(t);if(j){if(M=_(t),!k)return l(t,M)}else{var G=p(t),U=G==C||"[object GeneratorFunction]"==G;if(g(t))return c(t,k);if(G==A||G==S||U&&!P){if(M=D||U?{}:E(t),!k)return D?d(t,a(M,t)):u(t,s(M,t))}else{if(!O[G])return P?t:{};M=v(t,G,k)}}R||(R=new n);var W=R.get(t);if(W)return W;R.set(t,M),w(t)?t.forEach(function(n){M.add(e(n,r,N,n,t,R))}):y(t)&&t.forEach(function(n,i){M.set(i,e(n,r,N,i,t,R))});var V=j?void 0:(x?D?h:f:D?L:b)(t);return i(V||t,function(n,i){V&&(n=t[i=n]),o(M,i,e(n,r,N,i,t,R))}),M}},39344(e,t,r){var n=r(23805),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},83120(e,t,r){var n=r(14528),i=r(45891);e.exports=function e(t,r,o,s,a){var c=-1,l=t.length;for(o||(o=i),a||(a=[]);++c<l;){var u=t[c];r>0&&o(u)?r>1?e(u,r-1,o,s,a):n(a,u):s||(a[a.length]=u)}return a}},47422(e,t,r){var n=r(31769),i=r(77797);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},82199(e,t,r){var n=r(14528),i=r(56449);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},72552(e,t,r){var n=r(51873),i=r(659),o=r(59350),s=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},28077(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},27534(e,t,r){var n=r(72552),i=r(40346);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},60270(e,t,r){var n=r(87068),i=r(40346);e.exports=function e(t,r,o,s,a){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,s,e,a))}},87068(e,t,r){var n=r(37217),i=r(25911),o=r(21986),s=r(50689),a=r(5861),c=r(56449),l=r(3656),u=r(37167),d="[object Arguments]",f="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,_,v,E){var m=c(e),g=c(t),y=m?f:a(e),I=g?f:a(t),w=(y=y==d?h:y)==h,b=(I=I==d?h:I)==h,L=y==I;if(L&&l(e)){if(!l(t))return!1;m=!0,w=!1}if(L&&!w)return E||(E=new n),m||u(e)?i(e,t,r,_,v,E):o(e,t,y,r,_,v,E);if(!(1&r)){var S=w&&p.call(e,"__wrapped__"),C=b&&p.call(t,"__wrapped__");if(S||C){var A=S?e.value():e,O=C?t.value():t;return E||(E=new n),v(A,O,r,_,E)}}return!!L&&(E||(E=new n),s(e,t,r,_,v,E))}},29172(e,t,r){var n=r(5861),i=r(40346);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},41799(e,t,r){var n=r(37217),i=r(60270);e.exports=function(e,t,r,o){var s=r.length,a=s,c=!o;if(null==e)return!a;for(e=Object(e);s--;){var l=r[s];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++s<a;){var u=(l=r[s])[0],d=e[u],f=l[1];if(c&&l[2]){if(void 0===d&&!(u in e))return!1}else{var h=new n;if(o)var p=o(d,f,u,e,t,h);if(!(void 0===p?i(f,d,3,o,h):p))return!1}}return!0}},45083(e,t,r){var n=r(1882),i=r(87296),o=r(23805),s=r(47473),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?f:a).test(s(e))}},16038(e,t,r){var n=r(5861),i=r(40346);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},4901(e,t,r){var n=r(72552),i=r(30294),o=r(40346),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!s[n(e)]}},88984(e,t,r){var n=r(55527),i=r(3650),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},72903(e,t,r){var n=r(23805),i=r(55527),o=r(90181),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=i(e),r=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&r.push(a);return r}},76001(e,t,r){var n=r(97420),i=r(80631);e.exports=function(e,t){return n(e,t,function(t,r){return i(e,r)})}},97420(e,t,r){var n=r(47422),i=r(73170),o=r(31769);e.exports=function(e,t,r){for(var s=-1,a=t.length,c={};++s<a;){var l=t[s],u=n(e,l);r(u,l)&&i(c,o(l,e),u)}return c}},73170(e,t,r){var n=r(16547),i=r(31769),o=r(30361),s=r(23805),a=r(77797);e.exports=function(e,t,r,c){if(!s(e))return e;for(var l=-1,u=(t=i(t,e)).length,d=u-1,f=e;null!=f&&++l<u;){var h=a(t[l]),p=r;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(l!=d){var _=f[h];void 0===(p=c?c(_,h,f):void 0)&&(p=s(_)?_:o(t[l+1])?[]:{})}n(f,h,p),f=f[h]}return e}},19570(e,t,r){var n=r(37334),i=r(93243),o=r(83488),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=s},25160(e){e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},78096(e){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},77556(e,t,r){var n=r(51873),i=r(34932),o=r(56449),s=r(44394),a=n?n.prototype:void 0,c=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(s(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},54128(e,t,r){var n=r(31800),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},27301(e){e.exports=function(e){return function(t){return e(t)}}},19931(e,t,r){var n=r(31769),i=r(68090),o=r(68969),s=r(77797),a=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=-1,c=(t=n(t,e)).length;if(!c)return!0;for(;++r<c;){var l=s(t[r]);if("__proto__"===l&&!a.call(e,"__proto__"))return!1;if(("constructor"===l||"prototype"===l)&&r<c-1)return!1}var u=o(e,t);return null==u||delete u[s(i(t))]}},19219(e){e.exports=function(e,t){return e.has(t)}},31769(e,t,r){var n=r(56449),i=r(28586),o=r(61802),s=r(13222);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(s(e))}},49653(e,t,r){var n=r(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},93290(e,t,r){e=r.nmd(e);var n=r(9325),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?n.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}},76169(e,t,r){var n=r(49653);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},73201(e){var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},93736(e,t,r){var n=r(51873),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},71961(e,t,r){var n=r(49653);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},23007(e){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},21791(e,t,r){var n=r(16547),i=r(43360);e.exports=function(e,t,r,o){var s=!r;r||(r={});for(var a=-1,c=t.length;++a<c;){var l=t[a],u=o?o(r[l],e[l],l,r,e):void 0;void 0===u&&(u=e[l]),s?i(r,l,u):n(r,l,u)}return r}},92271(e,t,r){var n=r(21791),i=r(4664);e.exports=function(e,t){return n(e,i(e),t)}},48948(e,t,r){var n=r(21791),i=r(86375);e.exports=function(e,t){return n(e,i(e),t)}},55481(e,t,r){var n=r(9325)["__core-js_shared__"];e.exports=n},53138(e,t,r){var n=r(11331);e.exports=function(e){return n(e)?void 0:e}},93243(e,t,r){var n=r(56110),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},25911(e,t,r){var n=r(38859),i=r(14248),o=r(19219);e.exports=function(e,t,r,s,a,c){var l=1&r,u=e.length,d=t.length;if(u!=d&&!(l&&d>u))return!1;var f=c.get(e),h=c.get(t);if(f&&h)return f==t&&h==e;var p=-1,_=!0,v=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++p<u;){var E=e[p],m=t[p];if(s)var g=l?s(m,E,p,t,e,c):s(E,m,p,e,t,c);if(void 0!==g){if(g)continue;_=!1;break}if(v){if(!i(t,function(e,t){if(!o(v,t)&&(E===e||a(E,e,r,s,c)))return v.push(t)})){_=!1;break}}else if(E!==m&&!a(E,m,r,s,c)){_=!1;break}}return c.delete(e),c.delete(t),_}},21986(e,t,r){var n=r(51873),i=r(37828),o=r(75288),s=r(25911),a=r(20317),c=r(84247),l=n?n.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,r,n,l,d,f){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var p=1&n;if(h||(h=c),e.size!=t.size&&!p)return!1;var _=f.get(e);if(_)return _==t;n|=2,f.set(e,t);var v=s(h(e),h(t),n,l,d,f);return f.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},50689(e,t,r){var n=r(50002),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,s,a){var c=1&r,l=n(e),u=l.length;if(u!=n(t).length&&!c)return!1;for(var d=u;d--;){var f=l[d];if(!(c?f in t:i.call(t,f)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var _=!0;a.set(e,t),a.set(t,e);for(var v=c;++d<u;){var E=e[f=l[d]],m=t[f];if(o)var g=c?o(m,E,f,t,e,a):o(E,m,f,e,t,a);if(!(void 0===g?E===m||s(E,m,r,o,a):g)){_=!1;break}v||(v="constructor"==f)}if(_&&!v){var y=e.constructor,I=t.constructor;y==I||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof I&&I instanceof I||(_=!1)}return a.delete(e),a.delete(t),_}},38816(e,t,r){var n=r(35970),i=r(56757),o=r(32865);e.exports=function(e){return o(i(e,void 0,n),e+"")}},34840(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},50002(e,t,r){var n=r(82199),i=r(4664),o=r(95950);e.exports=function(e){return n(e,o,i)}},83349(e,t,r){var n=r(82199),i=r(86375),o=r(37241);e.exports=function(e){return n(e,o,i)}},12651(e,t,r){var n=r(74218);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},10776(e,t,r){var n=r(30756),i=r(95950);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],s=e[o];t[r]=[o,s,n(s)]}return t}},56110(e,t,r){var n=r(45083),i=r(10392);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},28879(e,t,r){var n=r(74335)(Object.getPrototypeOf,Object);e.exports=n},659(e,t,r){var n=r(51873),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var i=s.call(e);return n&&(t?e[a]=r:delete e[a]),i}},4664(e,t,r){var n=r(79770),i=r(63345),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),n(s(e),function(t){return o.call(e,t)}))}:i;e.exports=a},86375(e,t,r){var n=r(14528),i=r(28879),o=r(4664),s=r(63345),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:s;e.exports=a},5861(e,t,r){var n=r(55580),i=r(68223),o=r(32804),s=r(76545),a=r(28303),c=r(72552),l=r(47473),u="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",_=l(n),v=l(i),E=l(o),m=l(s),g=l(a),y=c;(n&&y(new n(new ArrayBuffer(1)))!=p||i&&y(new i)!=u||o&&y(o.resolve())!=d||s&&y(new s)!=f||a&&y(new a)!=h)&&(y=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?l(r):"";if(n)switch(n){case _:return p;case v:return u;case E:return d;case m:return f;case g:return h}return t}),e.exports=y},10392(e){e.exports=function(e,t){return null==e?void 0:e[t]}},49326(e,t,r){var n=r(31769),i=r(72428),o=r(56449),s=r(30361),a=r(30294),c=r(77797);e.exports=function(e,t,r){for(var l=-1,u=(t=n(t,e)).length,d=!1;++l<u;){var f=c(t[l]);if(!(d=null!=e&&r(e,f)))break;e=e[f]}return d||++l!=u?d:!!(u=null==e?0:e.length)&&a(u)&&s(f,u)&&(o(e)||i(e))}},22032(e,t,r){var n=r(81042);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},63862(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721(e,t,r){var n=r(81042),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},12749(e,t,r){var n=r(81042),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},35749(e,t,r){var n=r(81042);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},76189(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},77199(e,t,r){var n=r(49653),i=r(76169),o=r(73201),s=r(93736),a=r(71961);e.exports=function(e,t,r){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return i(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(e,r);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return o(e);case"[object Symbol]":return s(e)}}},35529(e,t,r){var n=r(39344),i=r(28879),o=r(55527);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},45891(e,t,r){var n=r(51873),i=r(72428),o=r(56449),s=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(s&&e&&e[s])}},30361(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},28586(e,t,r){var n=r(56449),i=r(44394),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}},74218(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296(e,t,r){var n,i=r(55481),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},55527(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},30756(e,t,r){var n=r(23805);e.exports=function(e){return e==e&&!n(e)}},63702(e){e.exports=function(){this.__data__=[],this.size=0}},70080(e,t,r){var n=r(26025),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():i.call(t,r,1),--this.size,0))}},24739(e,t,r){var n=r(26025);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},48655(e,t,r){var n=r(26025);e.exports=function(e){return n(this.__data__,e)>-1}},31175(e,t,r){var n=r(26025);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},63040(e,t,r){var n=r(21549),i=r(80079),o=r(68223);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},17670(e,t,r){var n=r(12651);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},90289(e,t,r){var n=r(12651);e.exports=function(e){return n(this,e).get(e)}},4509(e,t,r){var n=r(12651);e.exports=function(e){return n(this,e).has(e)}},72949(e,t,r){var n=r(12651);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},20317(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},62224(e,t,r){var n=r(50104);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},81042(e,t,r){var n=r(56110)(Object,"create");e.exports=n},3650(e,t,r){var n=r(74335)(Object.keys,Object);e.exports=n},90181(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},86009(e,t,r){e=r.nmd(e);var n=r(34840),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i&&n.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},59350(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335(e){e.exports=function(e,t){return function(r){return e(t(r))}}},56757(e,t,r){var n=r(91033),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),c=Array(a);++s<a;)c[s]=o[t+s];s=-1;for(var l=Array(t+1);++s<t;)l[s]=o[s];return l[t]=r(c),n(e,this,l)}}},68969(e,t,r){var n=r(47422),i=r(25160);e.exports=function(e,t){return t.length<2?e:n(e,i(t,0,-1))}},9325(e,t,r){var n=r(34840),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},31380(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459(e){e.exports=function(e){return this.__data__.has(e)}},84247(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},32865(e,t,r){var n=r(19570),i=r(51811)(n);e.exports=i},51811(e){var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},51420(e,t,r){var n=r(80079);e.exports=function(){this.__data__=new n,this.size=0}},90938(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},63605(e){e.exports=function(e){return this.__data__.get(e)}},29817(e){e.exports=function(e){return this.__data__.has(e)}},80945(e,t,r){var n=r(80079),i=r(68223),o=r(53661);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(s)}return r.set(e,t),this.size=r.size,this}},61802(e,t,r){var n=r(62224),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)}),t});e.exports=s},77797(e,t,r){var n=r(44394);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},47473(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31800(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},37334(e){e.exports=function(e){return function(){return e}}},38221(e,t,r){var n=r(23805),i=r(10124),o=r(99374),s=Math.max,a=Math.min;e.exports=function(e,t,r){var c,l,u,d,f,h,p=0,_=!1,v=!1,E=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var r=c,n=l;return c=l=void 0,p=t,d=e.apply(n,r)}function g(e){var r=e-h;return void 0===h||r>=t||r<0||v&&e-p>=u}function y(){var e=i();if(g(e))return I(e);f=setTimeout(y,function(e){var r=t-(e-h);return v?a(r,u-(e-p)):r}(e))}function I(e){return f=void 0,E&&c?m(e):(c=l=void 0,d)}function w(){var e=i(),r=g(e);if(c=arguments,l=this,h=e,r){if(void 0===f)return function(e){return p=e,f=setTimeout(y,t),_?m(e):d}(h);if(v)return clearTimeout(f),f=setTimeout(y,t),m(h)}return void 0===f&&(f=setTimeout(y,t)),d}return t=o(t)||0,n(r)&&(_=!!r.leading,u=(v="maxWait"in r)?s(o(r.maxWait)||0,t):u,E="trailing"in r?!!r.trailing:E),w.cancel=function(){void 0!==f&&clearTimeout(f),p=0,c=h=l=f=void 0},w.flush=function(){return void 0===f?d:I(i())},w}},75288(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970(e,t,r){var n=r(83120);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},80631(e,t,r){var n=r(28077),i=r(49326);e.exports=function(e,t){return null!=e&&i(e,t,n)}},83488(e){e.exports=function(e){return e}},72428(e,t,r){var n=r(27534),i=r(40346),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return i(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},56449(e){var t=Array.isArray;e.exports=t},64894(e,t,r){var n=r(1882),i=r(30294);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},3656(e,t,r){e=r.nmd(e);var n=r(9325),i=r(89935),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;e.exports=c},2404(e,t,r){var n=r(60270);e.exports=function(e,t){return n(e,t)}},1882(e,t,r){var n=r(72552),i=r(23805);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},87730(e,t,r){var n=r(29172),i=r(27301),o=r(86009),s=o&&o.isMap,a=s?i(s):n;e.exports=a},1045(e,t,r){var n=r(41799),i=r(10776);e.exports=function(e,t,r){return r="function"==typeof r?r:void 0,n(e,t,i(t),r)}},23805(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346(e){e.exports=function(e){return null!=e&&"object"==typeof e}},11331(e,t,r){var n=r(72552),i=r(28879),o=r(40346),s=Function.prototype,a=Object.prototype,c=s.toString,l=a.hasOwnProperty,u=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=l.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==u}},38440(e,t,r){var n=r(16038),i=r(27301),o=r(86009),s=o&&o.isSet,a=s?i(s):n;e.exports=a},44394(e,t,r){var n=r(72552),i=r(40346);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},37167(e,t,r){var n=r(4901),i=r(27301),o=r(86009),s=o&&o.isTypedArray,a=s?i(s):n;e.exports=a},95950(e,t,r){var n=r(70695),i=r(88984),o=r(64894);e.exports=function(e){return o(e)?n(e):i(e)}},37241(e,t,r){var n=r(70695),i=r(72903),o=r(64894);e.exports=function(e){return o(e)?n(e,!0):i(e)}},68090(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},50104(e,t,r){var n=r(53661);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},10124(e,t,r){var n=r(9325);e.exports=function(){return n.Date.now()}},90179(e,t,r){var n=r(34932),i=r(9999),o=r(19931),s=r(31769),a=r(21791),c=r(53138),l=r(38816),u=r(83349),d=l(function(e,t){var r={};if(null==e)return r;var l=!1;t=n(t,function(t){return t=s(t,e),l||(l=t.length>1),t}),a(e,u(e),r),l&&(r=i(r,7,c));for(var d=t.length;d--;)o(r,t[d]);return r});e.exports=d},44383(e,t,r){var n=r(76001),i=r(38816)(function(e,t){return null==e?{}:n(e,t)});e.exports=i},63345(e){e.exports=function(){return[]}},89935(e){e.exports=function(){return!1}},7350(e,t,r){var n=r(38221),i=r(23805);e.exports=function(e,t,r){var o=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,s="trailing"in r?!!r.trailing:s),n(e,t,{leading:o,maxWait:t,trailing:s})}},99374(e,t,r){var n=r(54128),i=r(23805),o=r(44394),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=a.test(e);return r||c.test(e)?l(e.slice(2),r?2:8):s.test(e)?NaN:+e}},13222(e,t,r){var n=r(77556);e.exports=function(e){return null==e?"":n(e)}},2143(e,t,r){"use strict";r.r(t)},53484(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={container:"CallControls-module__container___wUFxd",toggleContainer:"CallControls-module__toggleContainer___RRBVx",toggle:"CallControls-module__toggle___VVZ8_",toggleOff:"CallControls-module__toggleOff___ZmAQX",toggleOn:"CallControls-module__toggleOn___N0F_C",icon:"CallControls-module__icon___MMd56",end:"CallControls-module__end___tqUk1"}},90958(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={content:"CallDialog-module__content___s6HK_",header:"CallDialog-module__header___VRuIx",media:"CallDialog-module__media___oMk0K",body:"CallDialog-module__body___udSXs",title:"CallDialog-module__title___ZCk6c",description:"CallDialog-module__description___IrOYd",buttonContainer:"CallDialog-module__buttonContainer___qeBlR"}},90396(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={container:"CallParticipants-module__container___JHyh3",callControlsContainer:"CallParticipants-module__callControlsContainer___TBmXB",participantContainer:"CallParticipants-module__participantContainer___WEeET",participantSpeaking:"CallParticipants-module__participantSpeaking___aovg8",videoContainer:"CallParticipants-module__videoContainer___cuUmK",video:"CallParticipants-module__video___osVRK",videoOverlay:"CallParticipants-module__videoOverlay___x1yb0",statusContainer:"CallParticipants-module__statusContainer___Vrvvr",statusTitle:"CallParticipants-module__statusTitle___puKch",statusIcon:"CallParticipants-module__statusIcon____w42b",videoOverlayIcon:"CallParticipants-module__videoOverlayIcon___Fph1m"}},91398(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={content:"ConsentDialog-module__content___fUfL3",title:"ConsentDialog-module__title___MTrAq",body:"ConsentDialog-module__body___FtS5W",confirmation:"ConsentDialog-module__confirmation___v7fj3",description:"ConsentDialog-module__description___eSwUl",buttons:"ConsentDialog-module__buttons___nToO7"}},97294(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={previewContainer:"MediaPreview-module__previewContainer___hZF98",videoContainer:"MediaPreview-module__videoContainer____O8KD",video:"MediaPreview-module__video___DnVpX",videoOverlay:"MediaPreview-module__videoOverlay___Wy27K",videoOverlaySolid:"MediaPreview-module__videoOverlaySolid___Ifi1O",videoOverlayTransparent:"MediaPreview-module__videoOverlayTransparent___vPzQr",videoOverlayText:"MediaPreview-module__videoOverlayText___kzAHr",deviceContainer:"MediaPreview-module__deviceContainer___MEdwh",voiceVideoControls:"MediaPreview-module__voiceVideoControls___qTsRx",voiceVideoControlsToggle:"MediaPreview-module__voiceVideoControlsToggle___prGk3",voiceVideoControlsToggleOff:"MediaPreview-module__voiceVideoControlsToggleOff___ql_2k",voiceVideoControlsToggleOn:"MediaPreview-module__voiceVideoControlsToggleOn___URkye",voiceVideoControlsIcon:"MediaPreview-module__voiceVideoControlsIcon___yrQoV"}},35161(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={select:"NativeSelect-module__select___D4rUq",option:"NativeSelect-module__option___V2cMF",optionInGroup:"NativeSelect-module__optionInGroup___iIR0y",group:"NativeSelect-module__group___VI7JW",divider:"NativeSelect-module__divider___vxiJQ",optionIcon:"NativeSelect-module__optionIcon___hPiVP",optionSelect:"NativeSelect-module__optionSelect___iaamZ",optionDisable:"NativeSelect-module__optionDisable___wLnYC",optionHighlight:"NativeSelect-module__optionHighlight___huxZL"}},53983(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={sessionStateOverlay:"SessionStateOverlay-module__sessionStateOverlay___pCowu",endSessionButton:"SessionStateOverlay-module__endSessionButton___pUtd7",endSessionIcon:"SessionStateOverlay-module__endSessionIcon___vLhgE"}},2989(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={base:"Button-module__base___PvaYv",primary:"Button-module__primary___jyGbF",secondary:"Button-module__secondary___V1ksJ"}},64556(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={base:"IconButton-module__base___wAyLz"}},32704(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={container:"Modal-module__container___G4Twz",content:"Modal-module__content___tkuQp"}},9417(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={base:"Select-module__base___YM7TJ",noIcon:"Select-module__noIcon___nzh9A"}},59887(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={overlay:"HighlightOverlay-module__overlay___IwXTu",highlightOverlayFadeIn:"HighlightOverlay-module__highlightOverlayFadeIn___gxAX9",highlightOverlayPulse:"HighlightOverlay-module__highlightOverlayPulse___fW7eg",disableAnimations:"HighlightOverlay-module__disableAnimations___vQPvb"}},36e3(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>n});const n={tooltip:"Tooltip-module__tooltip___IL4dx",tooltipVisible:"Tooltip-module__tooltipVisible___a7Zvs",tooltipTitle:"Tooltip-module__tooltipTitle___gG75M",tooltipArrow:"Tooltip-module__tooltipArrow___kPSXv"}},6585(e){var t=1e3,r=60*t,n=60*r,i=24*n,o=7*i;function s(e,t,r,n){var i=t>=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,a){a=a||{};var c,l,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(s){var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*o;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===u&&isFinite(e))return a.long?(c=e,(l=Math.abs(c))>=i?s(c,l,i,"day"):l>=n?s(c,l,n,"hour"):l>=r?s(c,l,r,"minute"):l>=t?s(c,l,t,"second"):c+" ms"):function(e){var o=Math.abs(e);return o>=i?Math.round(e/i)+"d":o>=n?Math.round(e/n)+"h":o>=r?Math.round(e/r)+"m":o>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},50172(e,t,r){"use strict";r.r(t),r.d(t,{Component:()=>N,Fragment:()=>O,cloneElement:()=>$,createContext:()=>ee,createElement:()=>S,createRef:()=>A,h:()=>S,hydrate:()=>Z,isValidElement:()=>s,options:()=>i,render:()=>q,toChildArray:()=>G});var n,i,o,s,a,c,l,u,d,f,h,p,_,v,E,m,g={},y=[],I=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w=Array.isArray;function b(e,t){for(var r in t)e[r]=t[r];return e}function L(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function S(e,t,r){var i,o,s,a={};for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];if(arguments.length>2&&(a.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===a[s]&&(a[s]=e.defaultProps[s]);return C(e,a,i,o,null)}function C(e,t,r,n,s){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==s?++o:s,__i:-1,__u:0};return null==s&&null!=i.vnode&&i.vnode(a),a}function A(){return{current:null}}function O(e){return e.children}function N(e,t){this.props=e,this.context=t}function T(e,t){if(null==t)return e.__?T(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?T(e):null}function P(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,n=[],o=[],s=b({},t);s.__v=t.__v+1,i.vnode&&i.vnode(s),F(e.__P,s,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,n,null==r?T(t):r,!!(32&t.__u),o),s.__v=t.__v,s.__.__k[s.__i]=s,H(n,s,o),t.__e=t.__=null,s.__e!=r&&R(s)}}function R(e){if(null!=(e=e.__)&&null!=e.__c)return e.__e=e.__c.base=null,e.__k.some(function(t){if(null!=t&&null!=t.__e)return e.__e=e.__c.base=t.__e}),R(e)}function M(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!k.__r++||c!=i.debounceRendering)&&((c=i.debounceRendering)||l)(k)}function k(){try{for(var e,t=1;a.length;)a.length>t&&a.sort(u),e=a.shift(),t=a.length,P(e)}finally{a.length=k.__r=0}}function D(e,t,r,n,i,o,s,a,c,l,u){var d,f,h,p,_,v,E,m=n&&n.__k||y,I=t.length;for(c=x(r,t,m,c,I),d=0;d<I;d++)null!=(h=r.__k[d])&&(f=-1!=h.__i&&m[h.__i]||g,h.__i=d,v=F(e,h,f,i,o,s,a,c,l,u),p=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&J(f.ref,null,h),u.push(h.ref,h.__c||p,h)),null==_&&null!=p&&(_=p),(E=!!(4&h.__u))||f.__k===h.__k?(c=j(h,c,e,E),E&&f.__e&&(f.__e=null)):"function"==typeof h.type&&void 0!==v?c=v:p&&(c=p.nextSibling),h.__u&=-7);return r.__e=_,c}function x(e,t,r,n,i){var o,s,a,c,l,u=r.length,d=u,f=0;for(e.__k=new Array(i),o=0;o<i;o++)null!=(s=t[o])&&"boolean"!=typeof s&&"function"!=typeof s?("string"==typeof s||"number"==typeof s||"bigint"==typeof s||s.constructor==String?s=e.__k[o]=C(null,s,null,null,null):w(s)?s=e.__k[o]=C(O,{children:s},null,null,null):void 0===s.constructor&&s.__b>0?s=e.__k[o]=C(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):e.__k[o]=s,c=o+f,s.__=e,s.__b=e.__b+1,a=null,-1!=(l=s.__i=U(s,r,c,d))&&(d--,(a=r[l])&&(a.__u|=2)),null==a||null==a.__v?(-1==l&&(i>u?f--:i<u&&f++),"function"!=typeof s.type&&(s.__u|=4)):l!=c&&(l==c-1?f--:l==c+1?f++:(l>c?f--:f++,s.__u|=4))):e.__k[o]=null;if(d)for(o=0;o<u;o++)null!=(a=r[o])&&!(2&a.__u)&&(a.__e==n&&(n=T(a)),K(a,a));return n}function j(e,t,r,n){var i,o;if("function"==typeof e.type){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=j(i[o],t,r,n));return t}e.__e!=t&&(n&&(t&&e.type&&!t.parentNode&&(t=T(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function G(e,t){return t=t||[],null==e||"boolean"==typeof e||(w(e)?e.some(function(e){G(e,t)}):t.push(e)),t}function U(e,t,r,n){var i,o,s,a=e.key,c=e.type,l=t[r],u=null!=l&&!(2&l.__u);if(null===l&&null==a||u&&a==l.key&&c==l.type)return r;if(n>(u?1:0))for(i=r-1,o=r+1;i>=0||o<t.length;)if(null!=(l=t[s=i>=0?i--:o++])&&!(2&l.__u)&&a==l.key&&c==l.type)return s;return-1}function W(e,t,r){"-"==t[0]?e.setProperty(t,null==r?"":r):e[t]=null==r?"":"number"!=typeof r||I.test(t)?r:r+"px"}function V(e,t,r,n,i){var o,s;e:if("style"==t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||W(e.style,t,"");if(r)for(t in r)n&&r[t]==n[t]||W(e.style,t,r[t])}else if("o"==t[0]&&"n"==t[1])o=t!=(t=t.replace(p,"$1")),s=t.toLowerCase(),t=s in e||"onFocusOut"==t||"onFocusIn"==t?s.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r[h]=n[h]:(r[h]=_,e.addEventListener(t,o?E:v,o)):e.removeEventListener(t,o?E:v,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==r?"":r;break e}catch(e){}"function"==typeof r||(null==r||!1===r&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==r?"":r))}}function z(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t[f])t[f]=_++;else if(t[f]<r[h])return;return r(i.event?i.event(t):t)}}}function F(e,t,r,n,o,s,a,c,l,u){var d,f,h,p,_,v,E,m,g,I,S,C,A,T,P,R=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(l=!!(32&r.__u),s=[c=t.__e=r.__e]),(d=i.__b)&&d(t);e:if("function"==typeof R)try{if(m=t.props,g=R.prototype&&R.prototype.render,I=(d=R.contextType)&&n[d.__c],S=d?I?I.props.value:d.__:n,r.__c?E=(f=t.__c=r.__c).__=f.__E:(g?t.__c=f=new R(m,S):(t.__c=f=new N(m,S),f.constructor=R,f.render=X),I&&I.sub(f),f.state||(f.state={}),f.__n=n,h=f.__d=!0,f.__h=[],f._sb=[]),g&&null==f.__s&&(f.__s=f.state),g&&null!=R.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=b({},f.__s)),b(f.__s,R.getDerivedStateFromProps(m,f.__s))),p=f.props,_=f.state,f.__v=t,h)g&&null==R.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),g&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(g&&null==R.getDerivedStateFromProps&&m!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(m,S),t.__v==r.__v||!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(m,f.__s,S)){t.__v!=r.__v&&(f.props=m,f.state=f.__s,f.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(e){e&&(e.__=t)}),y.push.apply(f.__h,f._sb),f._sb=[],f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(m,f.__s,S),g&&null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(p,_,v)})}if(f.context=S,f.props=m,f.__P=e,f.__e=!1,C=i.__r,A=0,g)f.state=f.__s,f.__d=!1,C&&C(t),d=f.render(f.props,f.state,f.context),y.push.apply(f.__h,f._sb),f._sb=[];else do{f.__d=!1,C&&C(t),d=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++A<25);f.state=f.__s,null!=f.getChildContext&&(n=b(b({},n),f.getChildContext())),g&&!h&&null!=f.getSnapshotBeforeUpdate&&(v=f.getSnapshotBeforeUpdate(p,_)),T=null!=d&&d.type===O&&null==d.key?Y(d.props.children):d,c=D(e,w(T)?T:[T],t,r,n,o,s,a,c,l,u),f.base=t.__e,t.__u&=-161,f.__h.length&&a.push(f),E&&(f.__E=f.__=null)}catch(e){if(t.__v=null,l||null!=s)if(e.then){for(t.__u|=l?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;s[s.indexOf(c)]=null,t.__e=c}else{for(P=s.length;P--;)L(s[P]);B(t)}else t.__e=r.__e,t.__k=r.__k,e.then||B(t);i.__e(e,t,r)}else null==s&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):c=t.__e=Q(r.__e,t,r,n,o,s,a,l,u);return(d=i.diffed)&&d(t),128&t.__u?void 0:c}function B(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(B))}function H(e,t,r){for(var n=0;n<r.length;n++)J(r[n],r[++n],r[++n]);i.__c&&i.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){i.__e(e,t.__v)}})}function Y(e){return"object"!=typeof e||null==e||e.__b>0?e:w(e)?e.map(Y):b({},e)}function Q(e,t,r,o,s,a,c,l,u){var d,f,h,p,_,v,E,m=r.props||g,y=t.props,I=t.type;if("svg"==I?s="http://www.w3.org/2000/svg":"math"==I?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),null!=a)for(d=0;d<a.length;d++)if((_=a[d])&&"setAttribute"in _==!!I&&(I?_.localName==I:3==_.nodeType)){e=_,a[d]=null;break}if(null==e){if(null==I)return document.createTextNode(y);e=document.createElementNS(s,I,y.is&&y),l&&(i.__m&&i.__m(t,a),l=!1),a=null}if(null==I)m===y||l&&e.data==y||(e.data=y);else{if(a=a&&n.call(e.childNodes),!l&&null!=a)for(m={},d=0;d<e.attributes.length;d++)m[(_=e.attributes[d]).name]=_.value;for(d in m)_=m[d],"dangerouslySetInnerHTML"==d?h=_:"children"==d||d in y||"value"==d&&"defaultValue"in y||"checked"==d&&"defaultChecked"in y||V(e,d,null,_,s);for(d in y)_=y[d],"children"==d?p=_:"dangerouslySetInnerHTML"==d?f=_:"value"==d?v=_:"checked"==d?E=_:l&&"function"!=typeof _||m[d]===_||V(e,d,_,m[d],s);if(f)l||h&&(f.__html==h.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(h&&(e.innerHTML=""),D("template"==t.type?e.content:e,w(p)?p:[p],t,r,o,"foreignObject"==I?"http://www.w3.org/1999/xhtml":s,a,c,a?a[0]:r.__k&&T(r,0),l,u),null!=a)for(d=a.length;d--;)L(a[d]);l||(d="value","progress"==I&&null==v?e.removeAttribute("value"):null!=v&&(v!==e[d]||"progress"==I&&!v||"option"==I&&v!=m[d])&&V(e,d,v,m[d],s),d="checked",null!=E&&E!=e[d]&&V(e,d,E,m[d],s))}return e}function J(e,t,r){try{if("function"==typeof e){var n="function"==typeof e.__u;n&&e.__u(),n&&null==t||(e.__u=e(t))}else e.current=t}catch(e){i.__e(e,r)}}function K(e,t,r){var n,o;if(i.unmount&&i.unmount(e),(n=e.ref)&&(n.current&&n.current!=e.__e||J(n,null,t)),null!=(n=e.__c)){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(e){i.__e(e,t)}n.base=n.__P=null}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&K(n[o],t,r||"function"!=typeof e.type);r||L(e.__e),e.__c=e.__=e.__e=void 0}function X(e,t,r){return this.constructor(e,r)}function q(e,t,r){var o,s,a,c;t==document&&(t=document.documentElement),i.__&&i.__(e,t),s=(o="function"==typeof r)?null:r&&r.__k||t.__k,a=[],c=[],F(t,e=(!o&&r||t).__k=S(O,null,[e]),s||g,g,t.namespaceURI,!o&&r?[r]:s?null:t.firstChild?n.call(t.childNodes):null,a,!o&&r?r:s?s.__e:t.firstChild,o,c),H(a,e,c)}function Z(e,t){q(e,t,Z)}function $(e,t,r){var i,o,s,a,c=b({},e.props);for(s in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==s?i=t[s]:"ref"==s?o=t[s]:c[s]=void 0===t[s]&&null!=a?a[s]:t[s];return arguments.length>2&&(c.children=arguments.length>3?n.call(arguments,2):r),C(e.type,c,i||e.key,o||e.ref,null)}function ee(e){function t(e){var r,n;return this.getChildContext||(r=new Set,(n={})[t.__c]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&r.forEach(function(e){e.__e=!0,M(e)})},this.sub=function(e){r.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){r&&r.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+m++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}n=y.slice,i={__e:function(e,t,r,n){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,n||{}),s=i.__d),s)return i.__E=i}catch(t){e=t}throw e}},o=0,s=function(e){return null!=e&&void 0===e.constructor},N.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=b({},this.state),"function"==typeof e&&(e=e(b({},r),this.props)),e&&b(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),M(this))},N.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),M(this))},N.prototype.render=O,a=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},k.__r=0,d=Math.random().toString(8),f="__d"+d,h="__a"+d,p=/(PointerCapture)$|Capture$/i,_=0,v=z(!1),E=z(!0),m=0},45994(e,t,r){"use strict";r.r(t),r.d(t,{useCallback:()=>S,useContext:()=>C,useDebugValue:()=>A,useEffect:()=>y,useErrorBoundary:()=>O,useId:()=>N,useImperativeHandle:()=>b,useLayoutEffect:()=>I,useMemo:()=>L,useReducer:()=>g,useRef:()=>w,useState:()=>m});var n,i,o,s,a=r(50172),c=0,l=[],u=a.options,d=u.__b,f=u.__r,h=u.diffed,p=u.__c,_=u.unmount,v=u.__;function E(e,t){u.__h&&u.__h(i,e,c||t),c=0;var r=i.__H||(i.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function m(e){return c=1,g(x,e)}function g(e,t,r){var o=E(n++,2);if(o.t=e,!o.__c&&(o.__=[r?r(t):x(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,e);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=i,!i.__f)){var s=function(e,t,r){if(!o.__c.__H)return!0;var n=o.__c.__H.__.filter(function(e){return e.__c});if(n.every(function(e){return!e.__N}))return!a||a.call(this,e,t,r);var i=o.__c.props!==e;return n.some(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),a&&a.call(this,e,t,r)||i};i.__f=!0;var a=i.shouldComponentUpdate,c=i.componentWillUpdate;i.componentWillUpdate=function(e,t,r){if(this.__e){var n=a;a=void 0,s(e,t,r),a=n}c&&c.call(this,e,t,r)},i.shouldComponentUpdate=s}return o.__N||o.__}function y(e,t){var r=E(n++,3);!u.__s&&D(r.__H,t)&&(r.__=e,r.u=t,i.__H.__h.push(r))}function I(e,t){var r=E(n++,4);!u.__s&&D(r.__H,t)&&(r.__=e,r.u=t,i.__h.push(r))}function w(e){return c=5,L(function(){return{current:e}},[])}function b(e,t,r){c=6,I(function(){if("function"==typeof e){var r=e(t());return function(){e(null),r&&"function"==typeof r&&r()}}if(e)return e.current=t(),function(){return e.current=null}},null==r?r:r.concat(e))}function L(e,t){var r=E(n++,7);return D(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function S(e,t){return c=8,L(function(){return e},t)}function C(e){var t=i.context[e.__c],r=E(n++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(i)),t.props.value):e.__}function A(e,t){u.useDebugValue&&u.useDebugValue(t?t(e):e)}function O(e){var t=E(n++,10),r=m();return t.__=e,i.componentDidCatch||(i.componentDidCatch=function(e,n){t.__&&t.__(e,n),r[1](e)}),[r[0],function(){r[1](void 0)}]}function N(){var e=E(n++,11);if(!e.__){for(var t=i.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function T(){for(var e;e=l.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(M),t.__h.some(k),t.__h=[]}catch(r){t.__h=[],u.__e(r,e.__v)}}}u.__b=function(e){i=null,d&&d(e)},u.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),v&&v(e,t)},u.__r=function(e){f&&f(e),n=0;var t=(i=e.__c).__H;t&&(o===i?(t.__h=[],i.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(M),t.__h.some(k),t.__h=[],n=0)),o=i},u.diffed=function(e){h&&h(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==l.push(t)&&s===u.requestAnimationFrame||((s=u.requestAnimationFrame)||R)(T)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),o=i=null},u.__c=function(e,t){t.some(function(e){try{e.__h.some(M),e.__h=e.__h.filter(function(e){return!e.__||k(e)})}catch(r){t.some(function(e){e.__h&&(e.__h=[])}),t=[],u.__e(r,e.__v)}}),p&&p(e,t)},u.unmount=function(e){_&&_(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(e){try{M(e)}catch(e){t=e}}),r.__H=void 0,t&&u.__e(t,r.__v))};var P="function"==typeof requestAnimationFrame;function R(e){var t,r=function(){clearTimeout(n),P&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);P&&(t=requestAnimationFrame(r))}function M(e){var t=i,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),i=t}function k(e){var t=i;e.__c=e.__(),i=t}function D(e,t){return!e||e.length!==t.length||t.some(function(t,r){return t!==e[r]})}function x(e,t){return"function"==typeof t?t(e):t}},10201(e,t,r){"use strict";r.r(t),r.d(t,{Fragment:()=>n.Fragment,jsx:()=>l,jsxAttr:()=>h,jsxDEV:()=>l,jsxEscape:()=>p,jsxTemplate:()=>u,jsxs:()=>l});var n=r(50172),i=/["&<]/;function o(e){if(0===e.length||!1===i.test(e))return e;for(var t=0,r=0,n="",o="";r<e.length;r++){switch(e.charCodeAt(r)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}r!==t&&(n+=e.slice(t,r)),n+=o,t=r+1}return r!==t&&(n+=e.slice(t,r)),n}var s=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,a=0,c=Array.isArray;function l(e,t,r,i,o,s){t||(t={});var c,l,u=t;if("ref"in u)for(l in u={},t)"ref"==l?c=t[l]:u[l]=t[l];var d={type:e,props:u,key:r,ref:c,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--a,__i:-1,__u:0,__source:o,__self:s};if("function"==typeof e&&(c=e.defaultProps))for(l in c)void 0===u[l]&&(u[l]=c[l]);return n.options.vnode&&n.options.vnode(d),d}function u(e){var t=l(n.Fragment,{tpl:e,exprs:[].slice.call(arguments,1)});return t.key=t.__v,t}var d={},f=/[A-Z]/g;function h(e,t){if(n.options.attr){var r=n.options.attr(e,t);if("string"==typeof r)return r}if(t=null!==(i=t)&&"object"==typeof i&&"function"==typeof i.valueOf?i.valueOf():i,"ref"===e||"key"===e)return"";var i;if("style"===e&&"object"==typeof t){var a="";for(var c in t){var l=t[c];if(null!=l&&""!==l){var u="-"==c[0]?c:d[c]||(d[c]=c.replace(f,"-$&").toLowerCase()),h=";";"number"!=typeof l||u.startsWith("--")||s.test(u)||(h="px;"),a=a+u+":"+l+h}}return e+'="'+o(a)+'"'}return null==t||!1===t||"function"==typeof t||"object"==typeof t?"":!0===t?e:e+'="'+o(""+t)+'"'}function p(e){if(null==e||"boolean"==typeof e||"function"==typeof e)return null;if("object"==typeof e){if(void 0===e.constructor)return e;if(c(e)){for(var t=0;t<e.length;t++)e[t]=p(e[t]);return e}}return o(""+e)}},52098(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNCcgaGVpZ2h0PScyNCcgdmlld0JveD0nMCAwIDI0IDI0JyBmaWxsPSdub25lJyBzdHJva2U9J2N1cnJlbnRDb2xvcicgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPgogIDxwYXRoIHN0cm9rZT0nbm9uZScgZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScvPjxwYXRoIGQ9J002IDlsNiA2bDYgLTYnIC8+Cjwvc3ZnPg=="},49020(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNCcgaGVpZ2h0PScyNCcgdmlld0JveD0nMCAwIDI0IDI0JyBmaWxsPSdub25lJyBzdHJva2U9J2N1cnJlbnRDb2xvcicgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPgogIDxwYXRoIHN0cm9rZT0nbm9uZScgZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScgLz48cGF0aCBkPSdNOSAybTAgM2EzIDMgMCAwIDEgMyAtM2gwYTMgMyAwIDAgMSAzIDN2NWEzIDMgMCAwIDEgLTMgM2gwYTMgMyAwIDAgMSAtMyAtM3onIC8+PHBhdGggZD0nTTUgMTBhNyA3IDAgMCAwIDE0IDAnIC8+PHBhdGggZD0nTTggMjFsOCAwJyAvPjxwYXRoIGQ9J00xMiAxN2wwIDQnIC8+Cjwvc3ZnPg=="},64053(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNCcgaGVpZ2h0PScyNCcgdmlld0JveD0nMCAwIDI0IDI0JyBmaWxsPSdub25lJyBzdHJva2U9J2N1cnJlbnRDb2xvcicgc3Ryb2tlLXdpZHRoPScyJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPgogIDxwYXRoIHN0cm9rZT0nbm9uZScgZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScgLz48cGF0aCBkPSdNMTUgMTBsNC41NTMgLTIuMjc2YTEgMSAwIDAgMSAxLjQ0NyAuODk0djYuNzY0YTEgMSAwIDAgMSAtMS40NDcgLjg5NGwtNC41NTMgLTIuMjc2di00eicgLz48cGF0aCBkPSdNMyA2bTAgMmEyIDIgMCAwIDEgMiAtMmg4YTIgMiAwIDAgMSAyIDJ2OGEyIDIgMCAwIDEgLTIgMmgtOGEyIDIgMCAwIDEgLTIgLTJ6JyAvPgo8L3N2Zz4="},9978(e){"use strict";e.exports="data:image/svg+xml;base64,ICA8c3ZnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zycgd2lkdGg9JzI0JyBoZWlnaHQ9JzI0JyB2aWV3Qm94PScwIDAgMjQgMjQnIGZpbGw9J25vbmUnIHN0cm9rZT0nY3VycmVudENvbG9yJyBzdHJva2Utd2lkdGg9JzInIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCc+PHBhdGggc3Ryb2tlPSdub25lJyBkPSdNMCAwaDI0djI0SDB6JyBmaWxsPSdub25lJyAvPgogICAgPHBhdGggZD0nTTE1IDhhNSA1IDAgMCAxIDAgOCcgLz48cGF0aCBkPSdNMTcuNyA1YTkgOSAwIDAgMSAwIDE0JyAvPjxwYXRoIGQ9J002IDE1aC0yYTEgMSAwIDAgMSAtMSAtMXYtNGExIDEgMCAwIDEgMSAtMWgybDMuNSAtNC41YS44IC44IDAgMCAxIDEuNSAuNXYxNGEuOCAuOCAwIDAgMSAtMS41IC41bC0zLjUgLTQuNScgLz4KICA8L3N2Zz4="},79306(e,t,r){"use strict";var n=r(94901),i=r(16823),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},35548(e,t,r){"use strict";var n=r(33517),i=r(16823),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a constructor")}},73506(e,t,r){"use strict";var n=r(13925),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},97080(e,t,r){"use strict";var n=r(94402).has;e.exports=function(e){return n(e),e}},63463(e){"use strict";var t=TypeError;e.exports=function(e){if("string"==typeof e)return e;throw new t("Argument is not a string")}},6469(e,t,r){"use strict";var n=r(78227),i=r(2360),o=r(24913).f,s=n("unscopables"),a=Array.prototype;void 0===a[s]&&o(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},57829(e,t,r){"use strict";var n=r(68183).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},90679(e,t,r){"use strict";var n=r(1625),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},83972(e,t,r){"use strict";var n=r(20034),i=String,o=TypeError;e.exports=function(e){if(void 0===e||n(e))return e;throw new o(i(e)+" is not an object or undefined")}},28551(e,t,r){"use strict";var n=r(20034),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},34154(e,t,r){"use strict";var n=r(36955),i=TypeError;e.exports=function(e){if("Uint8Array"===n(e))return e;throw new i("Argument is not an Uint8Array")}},77811(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},67394(e,t,r){"use strict";var n=r(44576),i=r(46706),o=r(22195),s=n.ArrayBuffer,a=n.TypeError;e.exports=s&&i(s.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==o(e))throw new a("ArrayBuffer expected");return e.byteLength}},3238(e,t,r){"use strict";var n=r(44576),i=r(77811),o=r(67394),s=n.DataView;e.exports=function(e){if(!i||0!==o(e))return!1;try{return new s(e),!1}catch(e){return!0}}},55169(e,t,r){"use strict";var n=r(3238),i=TypeError;e.exports=function(e){if(n(e))throw new i("ArrayBuffer is detached");return e}},95636(e,t,r){"use strict";var n=r(44576),i=r(79504),o=r(46706),s=r(57696),a=r(55169),c=r(67394),l=r(94483),u=r(1548),d=n.structuredClone,f=n.ArrayBuffer,h=n.DataView,p=Math.min,_=f.prototype,v=h.prototype,E=i(_.slice),m=o(_,"resizable","get"),g=o(_,"maxByteLength","get"),y=i(v.getInt8),I=i(v.setInt8);e.exports=(u||l)&&function(e,t,r){var n,i=c(e),o=void 0===t?i:s(t),_=!m||!m(e);if(a(e),u&&(e=d(e,{transfer:[e]}),i===o&&(r||_)))return e;if(i>=o&&(!r||_))n=E(e,0,o);else{var v=r&&!_&&g?{maxByteLength:g(e)}:void 0;n=new f(o,v);for(var w=new h(e),b=new h(n),L=p(o,i),S=0;S<L;S++)I(b,S,y(w,S))}return u||l(e),n}},94644(e,t,r){"use strict";var n,i,o,s=r(77811),a=r(43724),c=r(44576),l=r(94901),u=r(20034),d=r(39297),f=r(36955),h=r(16823),p=r(66699),_=r(36840),v=r(62106),E=r(1625),m=r(42787),g=r(52967),y=r(78227),I=r(33392),w=r(91181),b=w.enforce,L=w.get,S=c.Int8Array,C=S&&S.prototype,A=c.Uint8ClampedArray,O=A&&A.prototype,N=S&&m(S),T=C&&m(C),P=Object.prototype,R=c.TypeError,M=y("toStringTag"),k=I("TYPED_ARRAY_TAG"),D="TypedArrayConstructor",x=s&&!!g&&"Opera"!==f(c.opera),j=!1,G={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},W=function(e){var t=m(e);if(u(t)){var r=L(t);return r&&d(r,D)?r[D]:W(t)}},V=function(e){if(!u(e))return!1;var t=f(e);return d(G,t)||d(U,t)};for(n in G)(o=(i=c[n])&&i.prototype)?b(o)[D]=i:x=!1;for(n in U)(o=(i=c[n])&&i.prototype)&&(b(o)[D]=i);if((!x||!l(N)||N===Function.prototype)&&(N=function(){throw new R("Incorrect invocation")},x))for(n in G)c[n]&&g(c[n],N);if((!x||!T||T===P)&&(T=N.prototype,x))for(n in G)c[n]&&g(c[n].prototype,T);if(x&&m(O)!==T&&g(O,T),a&&!d(T,M))for(n in j=!0,v(T,M,{configurable:!0,get:function(){return u(this)?this[k]:void 0}}),G)c[n]&&p(c[n],k,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:x,TYPED_ARRAY_TAG:j&&k,aTypedArray:function(e){if(V(e))return e;throw new R("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!g||E(N,e)))return e;throw new R(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(a){if(r)for(var i in G){var o=c[i];if(o&&d(o.prototype,e))try{delete o.prototype[e]}catch(r){try{o.prototype[e]=t}catch(e){}}}T[e]&&!r||_(T,e,r?t:x&&C[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(a){if(g){if(r)for(n in G)if((i=c[n])&&d(i,e))try{delete i[e]}catch(e){}if(N[e]&&!r)return;try{return _(N,e,r?t:x&&N[e]||t)}catch(e){}}for(n in G)!(i=c[n])||i[e]&&!r||_(i,e,t)}},getTypedArrayConstructor:W,isView:function(e){if(!u(e))return!1;var t=f(e);return"DataView"===t||d(G,t)||d(U,t)},isTypedArray:V,TypedArray:N,TypedArrayPrototype:T}},66346(e,t,r){"use strict";var n=r(44576),i=r(79504),o=r(43724),s=r(77811),a=r(10350),c=r(66699),l=r(62106),u=r(56279),d=r(79039),f=r(90679),h=r(91291),p=r(18014),_=r(57696),v=r(15617),E=r(88490),m=r(42787),g=r(52967),y=r(84373),I=r(67680),w=r(23167),b=r(77740),L=r(10687),S=r(91181),C=a.PROPER,A=a.CONFIGURABLE,O="ArrayBuffer",N="DataView",T="prototype",P="Wrong index",R=S.getterFor(O),M=S.getterFor(N),k=S.set,D=n[O],x=D,j=x&&x[T],G=n[N],U=G&&G[T],W=Object.prototype,V=n.Array,z=n.RangeError,F=i(y),B=i([].reverse),H=E.pack,Y=E.unpack,Q=function(e){return[255&e]},J=function(e){return[255&e,e>>8&255]},K=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},X=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},q=function(e){return H(v(e),23,4)},Z=function(e){return H(e,52,8)},$=function(e,t,r){l(e[T],t,{configurable:!0,get:function(){return r(this)[t]}})},ee=function(e,t,r,n){var i=M(e),o=_(r),s=!!n;if(o+t>i.byteLength)throw new z(P);var a=i.bytes,c=o+i.byteOffset,l=I(a,c,c+t);return s?l:B(l)},te=function(e,t,r,n,i,o){var s=M(e),a=_(r),c=n(+i),l=!!o;if(a+t>s.byteLength)throw new z(P);for(var u=s.bytes,d=a+s.byteOffset,f=0;f<t;f++)u[d+f]=c[l?f:t-f-1]};if(s){var re=C&&D.name!==O;d(function(){D(1)})&&d(function(){new D(-1)})&&!d(function(){return new D,new D(1.5),new D(NaN),1!==D.length||re&&!A})?re&&A&&c(D,"name",O):((x=function(e){return f(this,j),w(new D(_(e)),this,x)})[T]=j,j.constructor=x,b(x,D)),g&&m(U)!==W&&g(U,W);var ne=new G(new x(2)),ie=i(U.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||u(U,{setInt8:function(e,t){ie(this,e,t<<24>>24)},setUint8:function(e,t){ie(this,e,t<<24>>24)}},{unsafe:!0})}else j=(x=function(e){f(this,j);var t=_(e);k(this,{type:O,bytes:F(V(t),0),byteLength:t}),o||(this.byteLength=t,this.detached=!1)})[T],U=(G=function(e,t,r){f(this,U),f(e,j);var n=R(e),i=n.byteLength,s=h(t);if(s<0||s>i)throw new z("Wrong offset");if(s+(r=void 0===r?i-s:p(r))>i)throw new z("Wrong length");k(this,{type:N,buffer:e,byteLength:r,byteOffset:s,bytes:n.bytes}),o||(this.buffer=e,this.byteLength=r,this.byteOffset=s)})[T],o&&($(x,"byteLength",R),$(G,"buffer",M),$(G,"byteLength",M),$(G,"byteOffset",M)),u(U,{getInt8:function(e){return ee(this,1,e)[0]<<24>>24},getUint8:function(e){return ee(this,1,e)[0]},getInt16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return X(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return X(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return Y(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return Y(ee(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){te(this,1,e,Q,t)},setUint8:function(e,t){te(this,1,e,Q,t)},setInt16:function(e,t){te(this,2,e,J,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){te(this,2,e,J,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){te(this,4,e,K,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){te(this,4,e,K,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){te(this,4,e,q,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){te(this,8,e,Z,t,arguments.length>2&&arguments[2])}});L(x,O),L(G,N),e.exports={ArrayBuffer:x,DataView:G}},84373(e,t,r){"use strict";var n=r(48981),i=r(35610),o=r(26198);e.exports=function(e){for(var t=n(this),r=o(t),s=arguments.length,a=i(s>1?arguments[1]:void 0,r),c=s>2?arguments[2]:void 0,l=void 0===c?r:i(c,r);l>a;)t[a++]=e;return t}},35370(e,t,r){"use strict";var n=r(26198);e.exports=function(e,t,r){for(var i=0,o=arguments.length>2?r:n(t),s=new e(o);o>i;)s[i]=t[i++];return s}},97916(e,t,r){"use strict";var n=r(76080),i=r(69565),o=r(48981),s=r(96319),a=r(44209),c=r(33517),l=r(26198),u=r(97040),d=r(70081),f=r(50851),h=Array;e.exports=function(e){var t=o(e),r=c(this),p=arguments.length,_=p>1?arguments[1]:void 0,v=void 0!==_;v&&(_=n(_,p>2?arguments[2]:void 0));var E,m,g,y,I,w,b=f(t),L=0;if(!b||this===h&&a(b))for(E=l(t),m=r?new this(E):h(E);E>L;L++)w=v?_(t[L],L):t[L],u(m,L,w);else for(m=r?new this:[],I=(y=d(t,b)).next;!(g=i(I,y)).done;L++)w=v?s(y,_,[g.value,L],!0):g.value,u(m,L,w);return m.length=L,m}},19617(e,t,r){"use strict";var n=r(25397),i=r(35610),o=r(26198),s=function(e){return function(t,r,s){var a=n(t),c=o(a);if(0===c)return!e&&-1;var l,u=i(s,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},43839(e,t,r){"use strict";var n=r(76080),i=r(47055),o=r(48981),s=r(26198),a=function(e){var t=1===e;return function(r,a,c){for(var l,u=o(r),d=i(u),f=s(d),h=n(a,c);f-- >0;)if(h(l=d[f],f,u))switch(e){case 0:return l;case 1:return f}return t?-1:void 0}};e.exports={findLast:a(0),findLastIndex:a(1)}},59213(e,t,r){"use strict";var n=r(76080),i=r(79504),o=r(47055),s=r(48981),a=r(26198),c=r(1469),l=i([].push),u=function(e){var t=1===e,r=2===e,i=3===e,u=4===e,d=6===e,f=7===e,h=5===e||d;return function(p,_,v,E){for(var m,g,y=s(p),I=o(y),w=a(I),b=n(_,v),L=0,S=E||c,C=t?S(p,w):r||f?S(p,0):void 0;w>L;L++)if((h||L in I)&&(g=b(m=I[L],L,y),e))if(t)C[L]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return L;case 2:l(C,m)}else switch(e){case 4:return!1;case 7:l(C,m)}return d?-1:i||u?u:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},34598(e,t,r){"use strict";var n=r(79039);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},34527(e,t,r){"use strict";var n=r(43724),i=r(34376),o=TypeError,s=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!s(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},67680(e,t,r){"use strict";var n=r(79504);e.exports=n([].slice)},74488(e,t,r){"use strict";var n=r(67680),i=Math.floor,o=function(e,t){var r=e.length;if(r<8)for(var s,a,c=1;c<r;){for(a=c,s=e[c];a&&t(e[a-1],s)>0;)e[a]=e[--a];a!==c++&&(e[a]=s)}else for(var l=i(r/2),u=o(n(e,0,l),t),d=o(n(e,l),t),f=u.length,h=d.length,p=0,_=0;p<f||_<h;)e[p+_]=p<f&&_<h?t(u[p],d[_])<=0?u[p++]:d[_++]:p<f?u[p++]:d[_++];return e};e.exports=o},87433(e,t,r){"use strict";var n=r(34376),i=r(33517),o=r(20034),s=r(78227)("species"),a=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===a||n(t.prototype))||o(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?a:t}},1469(e,t,r){"use strict";var n=r(87433);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},37628(e,t,r){"use strict";var n=r(26198);e.exports=function(e,t){for(var r=n(e),i=new t(r),o=0;o<r;o++)i[o]=e[r-o-1];return i}},39928(e,t,r){"use strict";var n=r(26198),i=r(91291),o=RangeError;e.exports=function(e,t,r,s){var a=n(e),c=i(r),l=c<0?a+c:c;if(l>=a||l<0)throw new o("Incorrect index");for(var u=new t(a),d=0;d<a;d++)u[d]=d===l?s:e[d];return u}},92804(e){"use strict";var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t+"+/",n=t+"-_",i=function(e){for(var t={},r=0;r<64;r++)t[e.charAt(r)]=r;return t};e.exports={i2c:r,c2i:i(r),i2cUrl:n,c2iUrl:i(n)}},96319(e,t,r){"use strict";var n=r(28551),i=r(9539);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},84428(e,t,r){"use strict";var n=r(78227)("iterator"),i=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){i=!0}};s[n]=function(){return this},Array.from(s,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(e){}return r}},22195(e,t,r){"use strict";var n=r(79504),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},36955(e,t,r){"use strict";var n=r(92140),i=r(94901),o=r(22195),s=r(78227)("toStringTag"),a=Object,c="Arguments"===o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?r:c?o(t):"Object"===(n=o(t))&&i(t.callee)?"Arguments":n}},77740(e,t,r){"use strict";var n=r(39297),i=r(35031),o=r(77347),s=r(24913);e.exports=function(e,t,r){for(var a=i(t),c=s.f,l=o.f,u=0;u<a.length;u++){var d=a[u];n(e,d)||r&&n(r,d)||c(e,d,l(t,d))}}},12211(e,t,r){"use strict";var n=r(79039);e.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},62529(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},66699(e,t,r){"use strict";var n=r(43724),i=r(24913),o=r(6980);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},6980(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},97040(e,t,r){"use strict";var n=r(43724),i=r(24913),o=r(6980);e.exports=function(e,t,r){n?i.f(e,t,o(0,r)):e[t]=r}},62106(e,t,r){"use strict";var n=r(50283),i=r(24913);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},36840(e,t,r){"use strict";var n=r(94901),i=r(24913),o=r(50283),s=r(39433);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&o(r,l,a),a.global)c?e[t]=r:s(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},56279(e,t,r){"use strict";var n=r(36840);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},39433(e,t,r){"use strict";var n=r(44576),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},84606(e,t,r){"use strict";var n=r(16823),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+n(t)+" of "+n(e))}},43724(e,t,r){"use strict";var n=r(79039);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},94483(e,t,r){"use strict";var n,i,o,s,a=r(44576),c=r(89429),l=r(1548),u=a.structuredClone,d=a.ArrayBuffer,f=a.MessageChannel,h=!1;if(l)h=function(e){u(e,{transfer:[e]})};else if(d)try{f||(n=c("worker_threads"))&&(f=n.MessageChannel),f&&(i=new f,o=new d(2),s=function(e){i.port1.postMessage(null,[e])},2===o.byteLength&&(s(o),0===o.byteLength&&(h=s)))}catch(e){}e.exports=h},4055(e,t,r){"use strict";var n=r(44576),i=r(20034),o=n.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},96837(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},55002(e){"use strict";e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},67400(e){"use strict";e.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}},79296(e,t,r){"use strict";var n=r(4055)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},88727(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},13709(e,t,r){"use strict";var n=r(82839).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},13763(e,t,r){"use strict";var n=r(82839);e.exports=/MSIE|Trident/.test(n)},38574(e,t,r){"use strict";var n=r(84215);e.exports="NODE"===n},82839(e,t,r){"use strict";var n=r(44576).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},39519(e,t,r){"use strict";var n,i,o=r(44576),s=r(82839),a=o.process,c=o.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},3607(e,t,r){"use strict";var n=r(82839).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},84215(e,t,r){"use strict";var n=r(44576),i=r(82839),o=r(22195),s=function(e){return i.slice(0,e.length)===e};e.exports=s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},16193(e,t,r){"use strict";var n=r(79504),i=Error,o=n("".replace),s=String(new i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(s);e.exports=function(e,t){if(c&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,a,"");return e}},80747(e,t,r){"use strict";var n=r(66699),i=r(16193),o=r(24659),s=Error.captureStackTrace;e.exports=function(e,t,r,a){o&&(s?s(e,t):n(e,"stack",i(r,a)))}},24659(e,t,r){"use strict";var n=r(79039),i=r(6980);e.exports=!n(function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)})},77536(e,t,r){"use strict";var n=r(43724),i=r(79039),o=r(28551),s=r(32603),a=Error.prototype.toString,c=i(function(){if(n){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==a.call(e))return!0}return"2: 1"!==a.call({message:1,name:2})||"Error"!==a.call({})});e.exports=c?function(){var e=o(this),t=s(e.name,"Error"),r=s(e.message);return t?r?t+": "+r:t:r}:a},46518(e,t,r){"use strict";var n=r(44576),i=r(77347).f,o=r(66699),s=r(36840),a=r(39433),c=r(77740),l=r(92796);e.exports=function(e,t){var r,u,d,f,h,p=e.target,_=e.global,v=e.stat;if(r=_?n:v?n[p]||a(p,{}):n[p]&&n[p].prototype)for(u in t){if(f=t[u],d=e.dontCallGetSet?(h=i(r,u))&&h.value:r[u],!l(_?u:p+(v?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),s(r,u,f,e)}}},79039(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},89228(e,t,r){"use strict";r(27495);var n=r(69565),i=r(36840),o=r(57323),s=r(79039),a=r(78227),c=r(66699),l=a("species"),u=RegExp.prototype;e.exports=function(e,t,r,d){var f=a(e),h=!s(function(){var t={};return t[f]=function(){return 7},7!==""[e](t)}),p=h&&!s(function(){var t=!1,r=/a/;if("split"===e){var n={};n[l]=function(){return r},(r={constructor:n,flags:""})[f]=/./[f]}return r.exec=function(){return t=!0,null},r[f](""),!t});if(!h||!p||r){var _=/./[f],v=t(f,""[e],function(e,t,r,i,s){var a=t.exec;return a===o||a===u.exec?h&&!s?{done:!0,value:n(_,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}});i(String.prototype,e,v[0]),i(u,f,v[1])}d&&c(u[f],"sham",!0)}},70259(e,t,r){"use strict";var n=r(34376),i=r(26198),o=r(96837),s=r(76080),a=function(e,t,r,c,l,u,d,f){for(var h,p,_=l,v=0,E=!!d&&s(d,f);v<c;)v in r&&(h=E?E(r[v],v,t):r[v],u>0&&n(h)?(p=i(h),_=a(e,t,h,p,_,u-1)-1):(o(_+1),e[_]=h),_++),v++;return _};e.exports=a},18745(e,t,r){"use strict";var n=r(40616),i=Function.prototype,o=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},76080(e,t,r){"use strict";var n=r(27476),i=r(79306),o=r(40616),s=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},40616(e,t,r){"use strict";var n=r(79039);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},69565(e,t,r){"use strict";var n=r(40616),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},10350(e,t,r){"use strict";var n=r(43724),i=r(39297),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},46706(e,t,r){"use strict";var n=r(79504),i=r(79306);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},27476(e,t,r){"use strict";var n=r(22195),i=r(79504);e.exports=function(e){if("Function"===n(e))return i(e)}},79504(e,t,r){"use strict";var n=r(40616),i=Function.prototype,o=i.call,s=n&&i.bind.bind(o,o);e.exports=n?s:function(e){return function(){return o.apply(e,arguments)}}},944(e){"use strict";var t=TypeError;e.exports=function(e){var r=e&&e.alphabet;if(void 0===r||"base64"===r||"base64url"===r)return r||"base64";throw new t("Incorrect `alphabet` option")}},89429(e,t,r){"use strict";var n=r(44576),i=r(38574);e.exports=function(e){if(i){try{return n.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},97751(e,t,r){"use strict";var n=r(44576),i=r(94901);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},1767(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},50851(e,t,r){"use strict";var n=r(36955),i=r(55966),o=r(64117),s=r(26269),a=r(78227)("iterator");e.exports=function(e){if(!o(e))return i(e,a)||i(e,"@@iterator")||s[n(e)]}},70081(e,t,r){"use strict";var n=r(69565),i=r(79306),o=r(28551),s=r(16823),a=r(50851),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return o(n(r,e));throw new c(s(e)+" is not iterable")}},55966(e,t,r){"use strict";var n=r(79306),i=r(64117);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},83789(e,t,r){"use strict";var n=r(79306),i=r(28551),o=r(69565),s=r(91291),a=r(1767),c="Invalid size",l=RangeError,u=TypeError,d=Math.max,f=function(e,t){this.set=e,this.size=d(t,0),this.has=n(e.has),this.keys=n(e.keys)};f.prototype={getIterator:function(){return a(i(o(this.keys,this.set)))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw new u(c);var r=s(t);if(r<0)throw new l(c);return new f(e,r)}},2478(e,t,r){"use strict";var n=r(79504),i=r(48981),o=Math.floor,s=n("".charAt),a=n("".replace),c=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,d,f){var h=r+e.length,p=n.length,_=u;return void 0!==d&&(d=i(d),_=l),a(f,_,function(i,a){var l;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,h);case"<":l=d[c(a,1,-1)];break;default:var u=+a;if(0===u)return i;if(u>p){var f=o(u/10);return 0===f?i:f<=p?void 0===n[f-1]?s(a,1):n[f-1]+s(a,1):i}l=n[u-1]}return void 0===l?"":l})}},44576(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39297(e,t,r){"use strict";var n=r(79504),i=r(48981),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},30421(e){"use strict";e.exports={}},20397(e,t,r){"use strict";var n=r(97751);e.exports=n("document","documentElement")},35917(e,t,r){"use strict";var n=r(43724),i=r(79039),o=r(4055);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},88490(e){"use strict";var t=Array,r=Math.abs,n=Math.pow,i=Math.floor,o=Math.log,s=Math.LN2;e.exports={pack:function(e,a,c){var l,u,d,f=t(c),h=8*c-a-1,p=(1<<h)-1,_=p>>1,v=23===a?n(2,-24)-n(2,-77):0,E=e<0||0===e&&1/e<0?1:0,m=0;for((e=r(e))!=e||e===1/0?(u=e!=e?1:0,l=p):(l=i(o(e)/s),e*(d=n(2,-l))<1&&(l--,d*=2),(e+=l+_>=1?v/d:v*n(2,1-_))*d>=2&&(l++,d/=2),l+_>=p?(u=0,l=p):l+_>=1?(u=(e*d-1)*n(2,a),l+=_):(u=e*n(2,_-1)*n(2,a),l=0));a>=8;)f[m++]=255&u,u/=256,a-=8;for(l=l<<a|u,h+=a;h>0;)f[m++]=255&l,l/=256,h-=8;return f[m-1]|=128*E,f},unpack:function(e,t){var r,i=e.length,o=8*i-t-1,s=(1<<o)-1,a=s>>1,c=o-7,l=i-1,u=e[l--],d=127&u;for(u>>=7;c>0;)d=256*d+e[l--],c-=8;for(r=d&(1<<-c)-1,d>>=-c,c+=t;c>0;)r=256*r+e[l--],c-=8;if(0===d)d=1-a;else{if(d===s)return r?NaN:u?-1/0:1/0;r+=n(2,t),d-=a}return(u?-1:1)*r*n(2,d-t)}}},47055(e,t,r){"use strict";var n=r(79504),i=r(79039),o=r(22195),s=Object,a=n("".split);e.exports=i(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"===o(e)?a(e,""):s(e)}:s},23167(e,t,r){"use strict";var n=r(94901),i=r(20034),o=r(52967);e.exports=function(e,t,r){var s,a;return o&&n(s=t.constructor)&&s!==r&&i(a=s.prototype)&&a!==r.prototype&&o(e,a),e}},33706(e,t,r){"use strict";var n=r(79504),i=r(94901),o=r(77629),s=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},77584(e,t,r){"use strict";var n=r(20034),i=r(66699);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},91181(e,t,r){"use strict";var n,i,o,s=r(58622),a=r(44576),c=r(20034),l=r(66699),u=r(39297),d=r(77629),f=r(66119),h=r(30421),p="Object already initialized",_=a.TypeError,v=a.WeakMap;if(s||d.state){var E=d.state||(d.state=new v);E.get=E.get,E.has=E.has,E.set=E.set,n=function(e,t){if(E.has(e))throw new _(p);return t.facade=e,E.set(e,t),t},i=function(e){return E.get(e)||{}},o=function(e){return E.has(e)}}else{var m=f("state");h[m]=!0,n=function(e,t){if(u(e,m))throw new _(p);return t.facade=e,l(e,m,t),t},i=function(e){return u(e,m)?e[m]:{}},o=function(e){return u(e,m)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw new _("Incompatible receiver, "+e+" required");return r}}}},44209(e,t,r){"use strict";var n=r(78227),i=r(26269),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},34376(e,t,r){"use strict";var n=r(22195);e.exports=Array.isArray||function(e){return"Array"===n(e)}},18727(e,t,r){"use strict";var n=r(36955);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},94901(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},33517(e,t,r){"use strict";var n=r(79504),i=r(79039),o=r(94901),s=r(36955),a=r(97751),c=r(33706),l=function(){},u=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=n(d.exec),h=!d.test(l),p=function(e){if(!o(e))return!1;try{return u(l,[],e),!0}catch(e){return!1}},_=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(d,c(e))}catch(e){return!0}};_.sham=!0,e.exports=!u||i(function(){var e;return p(p.call)||!p(Object)||!p(function(){e=!0})||e})?_:p},92796(e,t,r){"use strict";var n=r(79039),i=r(94901),o=/#|\.prototype\./,s=function(e,t){var r=c[a(e)];return r===u||r!==l&&(i(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},2087(e,t,r){"use strict";var n=r(20034),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},64117(e){"use strict";e.exports=function(e){return null==e}},20034(e,t,r){"use strict";var n=r(94901);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},13925(e,t,r){"use strict";var n=r(20034);e.exports=function(e){return n(e)||null===e}},96395(e){"use strict";e.exports=!1},65810(e,t,r){"use strict";var n=r(20034),i=r(91181).get;e.exports=function(e){if(!n(e))return!1;var t=i(e);return!!t&&"RawJSON"===t.type}},60788(e,t,r){"use strict";var n=r(20034),i=r(22195),o=r(78227)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},10757(e,t,r){"use strict";var n=r(97751),i=r(94901),o=r(1625),s=r(7040),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,a(e))}},40507(e,t,r){"use strict";var n=r(69565);e.exports=function(e,t,r){for(var i,o,s=r?e:e.iterator,a=e.next;!(i=n(a,s)).done;)if(void 0!==(o=t(i.value)))return o}},72652(e,t,r){"use strict";var n=r(76080),i=r(69565),o=r(28551),s=r(16823),a=r(44209),c=r(26198),l=r(1625),u=r(70081),d=r(50851),f=r(9539),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},_=p.prototype;e.exports=function(e,t,r){var v,E,m,g,y,I,w,b=r&&r.that,L=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),C=!(!r||!r.IS_ITERATOR),A=!(!r||!r.INTERRUPTED),O=n(t,b),N=function(e){return v&&f(v,"normal"),new p(!0,e)},T=function(e){return L?(o(e),A?O(e[0],e[1],N):O(e[0],e[1])):A?O(e,N):O(e)};if(S)v=e.iterator;else if(C)v=e;else{if(!(E=d(e)))throw new h(s(e)+" is not iterable");if(a(E)){for(m=0,g=c(e);g>m;m++)if((y=T(e[m]))&&l(_,y))return y;return new p(!1)}v=u(e,E)}for(I=S?e.next:v.next;!(w=i(I,v)).done;){try{y=T(w.value)}catch(e){f(v,"throw",e)}if("object"==typeof y&&y&&l(_,y))return y}return new p(!1)}},91385(e,t,r){"use strict";var n=r(9539);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},9539(e,t,r){"use strict";var n=r(69565),i=r(28551),o=r(55966);e.exports=function(e,t,r){var s,a;i(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return i(s),r}},33994(e,t,r){"use strict";var n=r(57657).IteratorPrototype,i=r(2360),o=r(6980),s=r(10687),a=r(26269),c=function(){return this};e.exports=function(e,t,r,l){var u=t+" Iterator";return e.prototype=i(n,{next:o(+!l,r)}),s(e,u,!1,!0),a[u]=c,e}},19462(e,t,r){"use strict";var n=r(69565),i=r(2360),o=r(66699),s=r(56279),a=r(78227),c=r(91181),l=r(55966),u=r(57657).IteratorPrototype,d=r(62529),f=r(9539),h=r(91385),p=a("toStringTag"),_="IteratorHelper",v="WrapForValidIterator",E="normal",m="throw",g=c.set,y=function(e){var t=c.getterFor(e?v:_);return s(i(u),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return d(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:d(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var o=l(i,"return");return o?n(o,i):d(void 0,!0)}if(r.inner)try{f(r.inner.iterator,E)}catch(e){return f(i,m,e)}if(r.openIters)try{h(r.openIters,E)}catch(e){return f(i,m,e)}return i&&f(i,E),d(void 0,!0)}})},I=y(!0),w=y(!1);o(w,p,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?v:_,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,g(this,i)};return n.prototype=t?I:w,n}},51088(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(96395),s=r(10350),a=r(94901),c=r(33994),l=r(42787),u=r(52967),d=r(10687),f=r(66699),h=r(36840),p=r(78227),_=r(26269),v=r(57657),E=s.PROPER,m=s.CONFIGURABLE,g=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,I=p("iterator"),w="keys",b="values",L="entries",S=function(){return this};e.exports=function(e,t,r,s,p,v,C){c(r,t,s);var A,O,N,T=function(e){if(e===p&&D)return D;if(!y&&e&&e in M)return M[e];switch(e){case w:case b:case L:return function(){return new r(this,e)}}return function(){return new r(this)}},P=t+" Iterator",R=!1,M=e.prototype,k=M[I]||M["@@iterator"]||p&&M[p],D=!y&&k||T(p),x="Array"===t&&M.entries||k;if(x&&(A=l(x.call(new e)))!==Object.prototype&&A.next&&(o||l(A)===g||(u?u(A,g):a(A[I])||h(A,I,S)),d(A,P,!0,!0),o&&(_[P]=S)),E&&p===b&&k&&k.name!==b&&(!o&&m?f(M,"name",b):(R=!0,D=function(){return i(k,this)})),p)if(O={values:T(b),keys:v?D:T(w),entries:T(L)},C)for(N in O)(y||R||!(N in M))&&h(M,N,O[N]);else n({target:t,proto:!0,forced:y||R},O);return o&&!C||M[I]===D||h(M,I,D,{name:p}),_[t]=D,O}},30684(e){"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},84549(e,t,r){"use strict";var n=r(44576);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,o=i&&i[e],s=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return o}},57657(e,t,r){"use strict";var n,i,o,s=r(79039),a=r(94901),c=r(20034),l=r(2360),u=r(42787),d=r(36840),f=r(78227),h=r(96395),p=f("iterator"),_=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(n=i):_=!0),!c(n)||s(function(){var e={};return n[p].call(e)!==e})?n={}:h&&(n=l(n)),a(n[p])||d(n,p,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:_}},26269(e){"use strict";e.exports={}},26198(e,t,r){"use strict";var n=r(18014);e.exports=function(e){return n(e.length)}},50283(e,t,r){"use strict";var n=r(79504),i=r(79039),o=r(94901),s=r(39297),a=r(43724),c=r(10350).CONFIGURABLE,l=r(33706),u=r(91181),d=u.enforce,f=u.get,h=String,p=Object.defineProperty,_=n("".slice),v=n("".replace),E=n([].join),m=a&&!i(function(){return 8!==p(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=e.exports=function(e,t,r){"Symbol("===_(h(t),0,7)&&(t="["+v(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),m&&r&&s(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return s(n,"source")||(n.source=E(g,"string"==typeof t?t:"")),e};Function.prototype.toString=y(function(){return o(this)&&f(this).source||l(this)},"toString")},33164(e,t,r){"use strict";var n=r(77782),i=r(53602),o=Math.abs;e.exports=function(e,t,r,s){var a=+e,c=o(a),l=n(a);if(c<s)return l*i(c/s/t)*s*t;var u=(1+t/2220446049250313e-31)*c,d=u-(u-c);return d>r||d!=d?l*(1/0):l*d}},15617(e,t,r){"use strict";var n=r(33164);e.exports=Math.fround||function(e){return n(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},53602(e){"use strict";var t=4503599627370496;e.exports=function(e){return e+t-t}},77782(e){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},80741(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},27819(e,t,r){"use strict";var n=r(79039);e.exports=!n(function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e})},36043(e,t,r){"use strict";var n=r(79306),i=TypeError,o=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},32603(e,t,r){"use strict";var n=r(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},44213(e,t,r){"use strict";var n=r(43724),i=r(79504),o=r(69565),s=r(79039),a=r(71072),c=r(33717),l=r(48773),u=r(48981),d=r(47055),f=Object.assign,h=Object.defineProperty,p=i([].concat);e.exports=!f||s(function(){if(n&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e}),7!==f({},e)[r]||a(f({},t)).join("")!==i})?function(e,t){for(var r=u(e),i=arguments.length,s=1,f=c.f,h=l.f;i>s;)for(var _,v=d(arguments[s++]),E=f?p(a(v),f(v)):a(v),m=E.length,g=0;m>g;)_=E[g++],n&&!o(h,v,_)||(r[_]=v[_]);return r}:f},2360(e,t,r){"use strict";var n,i=r(28551),o=r(96801),s=r(88727),a=r(30421),c=r(20397),l=r(4055),u=r(66119),d="prototype",f="script",h=u("IE_PROTO"),p=function(){},_=function(e){return"<"+f+">"+e+"</"+f+">"},v=function(e){e.write(_("")),e.close();var t=e.parentWindow.Object;return e=null,t},E=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;E="undefined"!=typeof document?document.domain&&n?v(n):(t=l("iframe"),r="java"+f+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(_("document.F=Object")),e.close(),e.F):v(n);for(var i=s.length;i--;)delete E[d][s[i]];return E()};a[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[d]=i(e),r=new p,p[d]=null,r[h]=e):r=E(),void 0===t?r:o.f(r,t)}},96801(e,t,r){"use strict";var n=r(43724),i=r(48686),o=r(24913),s=r(28551),a=r(25397),c=r(71072);t.f=n&&!i?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),i=c(t),l=i.length,u=0;l>u;)o.f(e,r=i[u++],n[r]);return e}},24913(e,t,r){"use strict";var n=r(43724),i=r(35917),o=r(48686),s=r(28551),a=r(56969),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=n?o?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=a(t),s(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},77347(e,t,r){"use strict";var n=r(43724),i=r(69565),o=r(48773),s=r(6980),a=r(25397),c=r(56969),l=r(39297),u=r(35917),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return s(!i(o.f,e,t),e[t])}},38480(e,t,r){"use strict";var n=r(61828),i=r(88727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},33717(e,t){"use strict";t.f=Object.getOwnPropertySymbols},42787(e,t,r){"use strict";var n=r(39297),i=r(94901),o=r(48981),s=r(66119),a=r(12211),c=s("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=o(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},1625(e,t,r){"use strict";var n=r(79504);e.exports=n({}.isPrototypeOf)},61828(e,t,r){"use strict";var n=r(79504),i=r(39297),o=r(25397),s=r(19617).indexOf,a=r(30421),c=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,u=[];for(r in n)!i(a,r)&&i(n,r)&&c(u,r);for(;t.length>l;)i(n,r=t[l++])&&(~s(u,r)||c(u,r));return u}},71072(e,t,r){"use strict";var n=r(61828),i=r(88727);e.exports=Object.keys||function(e){return n(e,i)}},48773(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},52967(e,t,r){"use strict";var n=r(46706),i=r(20034),o=r(67750),s=r(73506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),s(n),i(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},84270(e,t,r){"use strict";var n=r(69565),i=r(94901),o=r(20034),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!o(a=n(r,e)))return a;if(i(r=e.valueOf)&&!o(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!o(a=n(r,e)))return a;throw new s("Can't convert object to primitive value")}},35031(e,t,r){"use strict";var n=r(97751),i=r(79504),o=r(38480),s=r(33717),a=r(28551),c=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=s.f;return r?c(t,r(e)):t}},616(e,t,r){"use strict";var n=r(79504),i=r(39297),o=SyntaxError,s=parseInt,a=String.fromCharCode,c=n("".charAt),l=n("".slice),u=n(/./.exec),d={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},f=/^[\da-f]{4}$/i,h=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var r=!0,n="";t<e.length;){var p=c(e,t);if("\\"===p){var _=l(e,t,t+2);if(i(d,_))n+=d[_],t+=2;else{if("\\u"!==_)throw new o('Unknown escape sequence: "'+_+'"');var v=l(e,t+=2,t+4);if(!u(f,v))throw new o("Bad Unicode escape at: "+t);n+=a(s(v,16)),t+=4}}else{if('"'===p){r=!1,t++;break}if(u(h,p))throw new o("Bad control character in string literal at: "+t);n+=p,t++}}if(r)throw new o("Unterminated string at: "+t);return{value:n,end:t}}},19167(e,t,r){"use strict";var n=r(44576);e.exports=n},1103(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},10916(e,t,r){"use strict";var n=r(44576),i=r(80550),o=r(94901),s=r(92796),a=r(33706),c=r(78227),l=r(84215),u=r(96395),d=r(39519),f=i&&i.prototype,h=c("species"),p=!1,_=o(n.PromiseRejectionEvent),v=s("Promise",function(){var e=a(i),t=e!==String(i);if(!t&&66===d)return!0;if(u&&(!f.catch||!f.finally))return!0;if(!d||d<51||!/native code/.test(e)){var r=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[h]=n,!(p=r.then(function(){})instanceof n))return!0}return!(t||"BROWSER"!==l&&"DENO"!==l||_)});e.exports={CONSTRUCTOR:v,REJECTION_EVENT:_,SUBCLASSING:p}},80550(e,t,r){"use strict";var n=r(44576);e.exports=n.Promise},93438(e,t,r){"use strict";var n=r(28551),i=r(20034),o=r(36043);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},90537(e,t,r){"use strict";var n=r(80550),i=r(84428),o=r(10916).CONSTRUCTOR;e.exports=o||!i(function(e){n.all(e).then(void 0,function(){})})},11056(e,t,r){"use strict";var n=r(24913).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},56682(e,t,r){"use strict";var n=r(69565),i=r(28551),o=r(94901),s=r(22195),a=r(57323),c=TypeError;e.exports=function(e,t){var r=e.exec;if(o(r)){var l=n(r,e,t);return null!==l&&i(l),l}if("RegExp"===s(e))return n(a,e,t);throw new c("RegExp#exec called on incompatible receiver")}},57323(e,t,r){"use strict";var n,i,o=r(69565),s=r(79504),a=r(655),c=r(67979),l=r(58429),u=r(25745),d=r(2360),f=r(91181).get,h=r(83635),p=r(18814),_=u("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,E=v,m=s("".charAt),g=s("".indexOf),y=s("".replace),I=s("".slice),w=(i=/b*/g,o(v,n=/a/,"a"),o(v,i,"a"),0!==n.lastIndex||0!==i.lastIndex),b=l.BROKEN_CARET,L=void 0!==/()??/.exec("")[1];(w||L||b||h||p)&&(E=function(e){var t,r,n,i,s,l,u,h=this,p=f(h),S=a(e),C=p.raw;if(C)return C.lastIndex=h.lastIndex,t=o(E,C,S),h.lastIndex=C.lastIndex,t;var A=p.groups,O=b&&h.sticky,N=o(c,h),T=h.source,P=0,R=S;if(O&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),R=I(S,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==m(S,h.lastIndex-1))&&(T="(?: "+T+")",R=" "+R,P++),r=new RegExp("^(?:"+T+")",N)),L&&(r=new RegExp("^"+T+"$(?!\\s)",N)),w&&(n=h.lastIndex),i=o(v,O?r:h,R),O?i?(i.input=I(i.input,P),i[0]=I(i[0],P),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:w&&i&&(h.lastIndex=h.global?i.index+i[0].length:n),L&&i&&i.length>1&&o(_,i[0],r,function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)}),i&&A)for(i.groups=l=d(null),s=0;s<A.length;s++)l[(u=A[s])[0]]=i[u[1]];return i}),e.exports=E},65213(e,t,r){"use strict";var n=r(44576),i=r(79039),o=n.RegExp,s=!i(function(){var e=!0;try{o(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(s.hasIndices="d"),s)i(a,s[a]);return Object.getOwnPropertyDescriptor(o.prototype,"flags").get.call(t)!==n||r!==n});e.exports={correct:s}},67979(e,t,r){"use strict";var n=r(28551);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},61034(e,t,r){"use strict";var n=r(69565),i=r(39297),o=r(1625),s=r(65213),a=r(67979),c=RegExp.prototype;e.exports=s.correct?function(e){return e.flags}:function(e){return s.correct||!o(c,e)||i(e,"flags")?e.flags:n(a,e)}},58429(e,t,r){"use strict";var n=r(79039),i=r(44576).RegExp,o=n(function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),s=o||n(function(){return!i("a","y").sticky}),a=o||n(function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")});e.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:o}},83635(e,t,r){"use strict";var n=r(79039),i=r(44576).RegExp;e.exports=n(function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},18814(e,t,r){"use strict";var n=r(79039),i=r(44576).RegExp;e.exports=n(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},67750(e,t,r){"use strict";var n=r(64117),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},93389(e,t,r){"use strict";var n=r(44576),i=r(43724),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=o(n,e);return t&&t.value}},89286(e,t,r){"use strict";var n=r(94402),i=r(38469),o=n.Set,s=n.add;e.exports=function(e){var t=new o;return i(e,function(e){s(t,e)}),t}},83440(e,t,r){"use strict";var n=r(97080),i=r(94402),o=r(89286),s=r(25170),a=r(83789),c=r(38469),l=r(40507),u=i.has,d=i.remove;e.exports=function(e){var t=n(this),r=a(e),i=o(t);return s(t)<=r.size?c(t,function(e){r.includes(e)&&d(i,e)}):l(r.getIterator(),function(e){u(i,e)&&d(i,e)}),i}},94402(e,t,r){"use strict";var n=r(79504),i=Set.prototype;e.exports={Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},68750(e,t,r){"use strict";var n=r(97080),i=r(94402),o=r(25170),s=r(83789),a=r(38469),c=r(40507),l=i.Set,u=i.add,d=i.has;e.exports=function(e){var t=n(this),r=s(e),i=new l;return o(t)>r.size?c(r.getIterator(),function(e){d(t,e)&&u(i,e)}):a(t,function(e){r.includes(e)&&u(i,e)}),i}},64449(e,t,r){"use strict";var n=r(97080),i=r(94402).has,o=r(25170),s=r(83789),a=r(38469),c=r(40507),l=r(9539);e.exports=function(e){var t=n(this),r=s(e);if(o(t)<=r.size)return!1!==a(t,function(e){if(r.includes(e))return!1},!0);var u=r.getIterator();return!1!==c(u,function(e){if(i(t,e))return l(u,"normal",!1)})}},53838(e,t,r){"use strict";var n=r(97080),i=r(25170),o=r(38469),s=r(83789);e.exports=function(e){var t=n(this),r=s(e);return!(i(t)>r.size)&&!1!==o(t,function(e){if(!r.includes(e))return!1},!0)}},28527(e,t,r){"use strict";var n=r(97080),i=r(94402).has,o=r(25170),s=r(83789),a=r(40507),c=r(9539);e.exports=function(e){var t=n(this),r=s(e);if(o(t)<r.size)return!1;var l=r.getIterator();return!1!==a(l,function(e){if(!i(t,e))return c(l,"normal",!1)})}},38469(e,t,r){"use strict";var n=r(79504),i=r(40507),o=r(94402),s=o.Set,a=o.proto,c=n(a.forEach),l=n(a.keys),u=l(new s).next;e.exports=function(e,t,r){return r?i({iterator:l(e),next:u},t):c(e,t)}},84916(e,t,r){"use strict";var n=r(97751),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},o=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var r=n("Set");try{(new r)[e](i(0));try{return(new r)[e](i(-1)),!1}catch(n){if(!t)return!0;try{return(new r)[e](o(-1/0)),!1}catch(n){return t(new r([1,2])[e](o(1/0)))}}}catch(e){return!1}}},39835(e){"use strict";e.exports=function(e){try{var t=new Set,r={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},n=t[e](r);return 1===n.size&&4===n.values().next().value}catch(e){return!1}}},25170(e,t,r){"use strict";var n=r(46706),i=r(94402);e.exports=n(i.proto,"size","get")||function(e){return e.size}},87633(e,t,r){"use strict";var n=r(97751),i=r(62106),o=r(78227),s=r(43724),a=o("species");e.exports=function(e){var t=n(e);s&&t&&!t[a]&&i(t,a,{configurable:!0,get:function(){return this}})}},83650(e,t,r){"use strict";var n=r(97080),i=r(94402),o=r(89286),s=r(83789),a=r(40507),c=i.add,l=i.has,u=i.remove;e.exports=function(e){var t=n(this),r=s(e).getIterator(),i=o(t);return a(r,function(e){l(t,e)?u(i,e):c(i,e)}),i}},10687(e,t,r){"use strict";var n=r(24913).f,i=r(39297),o=r(78227)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},44204(e,t,r){"use strict";var n=r(97080),i=r(94402).add,o=r(89286),s=r(83789),a=r(40507);e.exports=function(e){var t=n(this),r=s(e).getIterator(),c=o(t);return a(r,function(e){i(c,e)}),c}},66119(e,t,r){"use strict";var n=r(25745),i=r(33392),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},77629(e,t,r){"use strict";var n=r(96395),i=r(44576),o=r(39433),s="__core-js_shared__",a=e.exports=i[s]||o(s,{});(a.versions||(a.versions=[])).push({version:"3.47.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},25745(e,t,r){"use strict";var n=r(77629);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},2293(e,t,r){"use strict";var n=r(28551),i=r(35548),o=r(64117),s=r(78227)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||o(r=n(a)[s])?t:i(r)}},68183(e,t,r){"use strict";var n=r(79504),i=r(91291),o=r(655),s=r(67750),a=n("".charAt),c=n("".charCodeAt),l=n("".slice),u=function(e){return function(t,r){var n,u,d=o(s(t)),f=i(r),h=d.length;return f<0||f>=h?e?"":void 0:(n=c(d,f))<55296||n>56319||f+1===h||(u=c(d,f+1))<56320||u>57343?e?a(d,f):n:e?l(d,f,f+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},3717(e,t,r){"use strict";var n=r(79504),i=2147483647,o=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",c=RangeError,l=n(s.exec),u=Math.floor,d=String.fromCharCode,f=n("".charCodeAt),h=n([].join),p=n([].push),_=n("".replace),v=n("".split),E=n("".toLowerCase),m=function(e){return e+22+75*(e<26)},g=function(e,t,r){var n=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),n+=36;return u(n+36*e/(e+38))},y=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=f(e,r++);if(i>=55296&&i<=56319&&r<n){var o=f(e,r++);56320==(64512&o)?p(t,((1023&i)<<10)+(1023&o)+65536):(p(t,i),r--)}else p(t,i)}return t}(e);var r,n,o=e.length,s=128,l=0,_=72;for(r=0;r<e.length;r++)(n=e[r])<128&&p(t,d(n));var v=t.length,E=v;for(v&&p(t,"-");E<o;){var y=i;for(r=0;r<e.length;r++)(n=e[r])>=s&&n<y&&(y=n);var I=E+1;if(y-s>u((i-l)/I))throw new c(a);for(l+=(y-s)*I,s=y,r=0;r<e.length;r++){if((n=e[r])<s&&++l>i)throw new c(a);if(n===s){for(var w=l,b=36;;){var L=b<=_?1:b>=_+26?26:b-_;if(w<L)break;var S=w-L,C=36-L;p(t,d(m(L+S%C))),w=u(S/C),b+=36}p(t,d(m(w))),_=g(l,I,E===v),l=0,E++}}l++,s++}return h(t,"")};e.exports=function(e){var t,r,n=[],i=v(_(E(e),s,"."),".");for(t=0;t<i.length;t++)r=i[t],p(n,l(o,r)?"xn--"+y(r):r);return h(n,".")}},60706(e,t,r){"use strict";var n=r(10350).PROPER,i=r(79039),o=r(47452);e.exports=function(e){return i(function(){return!!o[e]()||"​…᠎"!=="​…᠎"[e]()||n&&o[e].name!==e})}},43802(e,t,r){"use strict";var n=r(79504),i=r(67750),o=r(655),s=r(47452),a=n("".replace),c=RegExp("^["+s+"]+"),l=RegExp("(^|[^"+s+"])["+s+"]+$"),u=function(e){return function(t){var r=o(i(t));return 1&e&&(r=a(r,c,"")),2&e&&(r=a(r,l,"$1")),r}};e.exports={start:u(1),end:u(2),trim:u(3)}},1548(e,t,r){"use strict";var n=r(44576),i=r(79039),o=r(39519),s=r(84215),a=n.structuredClone;e.exports=!!a&&!i(function(){if("DENO"===s&&o>92||"NODE"===s&&o>94||"BROWSER"===s&&o>97)return!1;var e=new ArrayBuffer(8),t=a(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})},4495(e,t,r){"use strict";var n=r(39519),i=r(79039),o=r(44576).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},35610(e,t,r){"use strict";var n=r(91291),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},75854(e,t,r){"use strict";var n=r(72777),i=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},57696(e,t,r){"use strict";var n=r(91291),i=r(18014),o=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw new o("Wrong length or index");return r}},25397(e,t,r){"use strict";var n=r(47055),i=r(67750);e.exports=function(e){return n(i(e))}},91291(e,t,r){"use strict";var n=r(80741);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},18014(e,t,r){"use strict";var n=r(91291),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},48981(e,t,r){"use strict";var n=r(67750),i=Object;e.exports=function(e){return i(n(e))}},58229(e,t,r){"use strict";var n=r(99590),i=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new i("Wrong offset");return r}},99590(e,t,r){"use strict";var n=r(91291),i=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new i("The argument can't be less than 0");return t}},72777(e,t,r){"use strict";var n=r(69565),i=r(20034),o=r(10757),s=r(55966),a=r(84270),c=r(78227),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,c=s(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},56969(e,t,r){"use strict";var n=r(72777),i=r(10757);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},92140(e,t,r){"use strict";var n={};n[r(78227)("toStringTag")]="z",e.exports="[object z]"===String(n)},655(e,t,r){"use strict";var n=r(36955),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},58319(e){"use strict";var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},16823(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},15823(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(69565),s=r(43724),a=r(72805),c=r(94644),l=r(66346),u=r(90679),d=r(6980),f=r(66699),h=r(2087),p=r(18014),_=r(57696),v=r(58229),E=r(58319),m=r(56969),g=r(39297),y=r(36955),I=r(20034),w=r(10757),b=r(2360),L=r(1625),S=r(52967),C=r(38480).f,A=r(43251),O=r(59213).forEach,N=r(87633),T=r(62106),P=r(24913),R=r(77347),M=r(35370),k=r(91181),D=r(23167),x=k.get,j=k.set,G=k.enforce,U=P.f,W=R.f,V=i.RangeError,z=l.ArrayBuffer,F=z.prototype,B=l.DataView,H=c.NATIVE_ARRAY_BUFFER_VIEWS,Y=c.TYPED_ARRAY_TAG,Q=c.TypedArray,J=c.TypedArrayPrototype,K=c.isTypedArray,X="BYTES_PER_ELEMENT",q="Wrong length",Z=function(e,t){T(e,t,{configurable:!0,get:function(){return x(this)[t]}})},$=function(e){var t;return L(F,e)||"ArrayBuffer"===(t=y(e))||"SharedArrayBuffer"===t},ee=function(e,t){return K(e)&&!w(t)&&t in e&&h(+t)&&t>=0},te=function(e,t){return t=m(t),ee(e,t)?d(2,e[t]):W(e,t)},re=function(e,t,r){return t=m(t),!(ee(e,t)&&I(r)&&g(r,"value"))||g(r,"get")||g(r,"set")||r.configurable||g(r,"writable")&&!r.writable||g(r,"enumerable")&&!r.enumerable?U(e,t,r):(e[t]=r.value,e)};s?(H||(R.f=te,P.f=re,Z(J,"buffer"),Z(J,"byteOffset"),Z(J,"byteLength"),Z(J,"length")),n({target:"Object",stat:!0,forced:!H},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var s=e.match(/\d+/)[0]/8,c=e+(r?"Clamped":"")+"Array",l="get"+e,d="set"+e,h=i[c],m=h,g=m&&m.prototype,y={},w=function(e,t){U(e,t,{get:function(){return function(e,t){var r=x(e);return r.view[l](t*s+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var i=x(e);i.view[d](t*s+i.byteOffset,r?E(n):n,!0)}(this,t,e)},enumerable:!0})};H?a&&(m=t(function(e,t,r,n){return u(e,g),D(I(t)?$(t)?void 0!==n?new h(t,v(r,s),n):void 0!==r?new h(t,v(r,s)):new h(t):K(t)?M(m,t):o(A,m,t):new h(_(t)),e,m)}),S&&S(m,Q),O(C(h),function(e){e in m||f(m,e,h[e])}),m.prototype=g):(m=t(function(e,t,r,n){u(e,g);var i,a,c,l=0,d=0;if(I(t)){if(!$(t))return K(t)?M(m,t):o(A,m,t);i=t,d=v(r,s);var f=t.byteLength;if(void 0===n){if(f%s)throw new V(q);if((a=f-d)<0)throw new V(q)}else if((a=p(n)*s)+d>f)throw new V(q);c=a/s}else c=_(t),i=new z(a=c*s);for(j(e,{buffer:i,byteOffset:d,byteLength:a,length:c,view:new B(i)});l<c;)w(e,l++)}),S&&S(m,Q),g=m.prototype=b(J)),g.constructor!==m&&f(g,"constructor",m),G(g).TypedArrayConstructor=m,Y&&f(g,Y,c);var L=m!==h;y[c]=m,n({global:!0,constructor:!0,forced:L,sham:!H},y),X in m||f(m,X,s),X in g||f(g,X,s),N(c)}):e.exports=function(){}},72805(e,t,r){"use strict";var n=r(44576),i=r(79039),o=r(84428),s=r(94644).NATIVE_ARRAY_BUFFER_VIEWS,a=n.ArrayBuffer,c=n.Int8Array;e.exports=!s||!i(function(){c(1)})||!i(function(){new c(-1)})||!o(function(e){new c,new c(null),new c(1.5),new c(e)},!0)||i(function(){return 1!==new c(new a(2),1,void 0).length})},43251(e,t,r){"use strict";var n=r(76080),i=r(69565),o=r(35548),s=r(48981),a=r(26198),c=r(70081),l=r(50851),u=r(44209),d=r(18727),f=r(94644).aTypedArrayConstructor,h=r(75854);e.exports=function(e){var t,r,p,_,v,E,m,g,y=o(this),I=s(e),w=arguments.length,b=w>1?arguments[1]:void 0,L=void 0!==b,S=l(I);if(S&&!u(S))for(g=(m=c(I,S)).next,I=[];!(E=i(g,m)).done;)I.push(E.value);for(L&&w>2&&(b=n(b,arguments[2])),r=a(I),p=new(f(y))(r),_=d(p),t=0;r>t;t++)v=L?b(I[t],t):I[t],p[t]=_?h(v):+v;return p}},33392(e,t,r){"use strict";var n=r(79504),i=0,o=Math.random(),s=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},59143(e,t,r){"use strict";var n=r(44576),i=r(79504),o=r(83972),s=r(63463),a=r(39297),c=r(92804),l=r(944),u=r(55169),d=c.c2i,f=c.c2iUrl,h=n.SyntaxError,p=n.TypeError,_=i("".charAt),v=function(e,t){for(var r=e.length;t<r;t++){var n=_(e,t);if(" "!==n&&"\t"!==n&&"\n"!==n&&"\f"!==n&&"\r"!==n)break}return t},E=function(e,t,r){var n=e.length;n<4&&(e+=2===n?"AA":"A");var i=(t[_(e,0)]<<18)+(t[_(e,1)]<<12)+(t[_(e,2)]<<6)+t[_(e,3)],o=[i>>16&255,i>>8&255,255&i];if(2===n){if(r&&0!==o[1])throw new h("Extra bits");return[o[0]]}if(3===n){if(r&&0!==o[2])throw new h("Extra bits");return[o[0],o[1]]}return o},m=function(e,t,r){for(var n=t.length,i=0;i<n;i++)e[r+i]=t[i];return r+n};e.exports=function(e,t,r,n){s(e),o(t);var i="base64"===l(t)?d:f,c=t?t.lastChunkHandling:void 0;if(void 0===c&&(c="loose"),"loose"!==c&&"strict"!==c&&"stop-before-partial"!==c)throw new p("Incorrect `lastChunkHandling` option");r&&u(r.buffer);var g=e.length,y=r||[],I=0,w=0,b="",L=0;if(n)for(;;){if((L=v(e,L))===g){if(b.length>0){if("stop-before-partial"===c)break;if("loose"!==c)throw new h("Missing padding");if(1===b.length)throw new h("Malformed padding: exactly one additional character");I=m(y,E(b,i,!1),I)}w=g;break}var S=_(e,L);if(++L,"="===S){if(b.length<2)throw new h("Padding is too early");if(L=v(e,L),2===b.length){if(L===g){if("stop-before-partial"===c)break;throw new h("Malformed padding: only one =")}"="===_(e,L)&&(++L,L=v(e,L))}if(L<g)throw new h("Unexpected character after padding");I=m(y,E(b,i,"strict"===c),I),w=g;break}if(!a(i,S))throw new h("Unexpected character");var C=n-I;if(1===C&&2===b.length||2===C&&3===b.length)break;if(4===(b+=S).length&&(I=m(y,E(b,i,!1),I),b="",w=L,I===n))break}return{bytes:y,read:w,written:I}}},42303(e,t,r){"use strict";var n=r(44576),i=r(79504),o=n.Uint8Array,s=n.SyntaxError,a=n.parseInt,c=Math.min,l=/[^\da-f]/i,u=i(l.exec),d=i("".slice);e.exports=function(e,t){var r=e.length;if(r%2!=0)throw new s("String should be an even number of characters");for(var n=t?c(t.length,r/2):r/2,i=t||new o(n),f=0,h=0;h<n;){var p=d(e,f,f+=2);if(u(l,p))throw new s("String should only contain hex characters");i[h++]=a(p,16)}return{bytes:i,read:f}}},67416(e,t,r){"use strict";var n=r(79039),i=r(78227),o=r(43724),s=r(96395),a=i("iterator");e.exports=!n(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),s&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(s||!o)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})},7040(e,t,r){"use strict";var n=r(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686(e,t,r){"use strict";var n=r(43724),i=r(79039);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},22812(e){"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},58622(e,t,r){"use strict";var n=r(44576),i=r(94901),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},70511(e,t,r){"use strict";var n=r(19167),i=r(39297),o=r(1951),s=r(24913).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||s(t,e,{value:o.f(e)})}},1951(e,t,r){"use strict";var n=r(78227);t.f=n},78227(e,t,r){"use strict";var n=r(44576),i=r(25745),o=r(39297),s=r(33392),a=r(4495),c=r(7040),l=n.Symbol,u=i("wks"),d=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){return o(u,e)||(u[e]=a&&o(l,e)?l[e]:d("Symbol."+e)),u[e]}},47452(e){"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},14601(e,t,r){"use strict";var n=r(97751),i=r(39297),o=r(66699),s=r(1625),a=r(52967),c=r(77740),l=r(11056),u=r(23167),d=r(32603),f=r(77584),h=r(80747),p=r(43724),_=r(96395);e.exports=function(e,t,r,v){var E="stackTraceLimit",m=v?2:1,g=e.split("."),y=g[g.length-1],I=n.apply(null,g);if(I){var w=I.prototype;if(!_&&i(w,"cause")&&delete w.cause,!r)return I;var b=n("Error"),L=t(function(e,t){var r=d(v?t:e,void 0),n=v?new I(e):new I;return void 0!==r&&o(n,"message",r),h(n,L,n.stack,2),this&&s(w,this)&&u(n,this,L),arguments.length>m&&f(n,arguments[m]),n});if(L.prototype=w,"Error"!==y?a?a(L,b):c(L,b,{name:!0}):p&&E in I&&(l(L,I,E),l(L,I,"prepareStackTrace")),c(L,I),!_)try{w.name!==y&&o(w,"name",y),w.constructor=L}catch(e){}return L}}},54743(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(66346),s=r(87633),a="ArrayBuffer",c=o[a];n({global:!0,constructor:!0,forced:i[a]!==c},{ArrayBuffer:c}),s(a)},16573(e,t,r){"use strict";var n=r(43724),i=r(62106),o=r(3238),s=ArrayBuffer.prototype;n&&!("detached"in s)&&i(s,"detached",{configurable:!0,get:function(){return o(this)}})},11745(e,t,r){"use strict";var n=r(46518),i=r(27476),o=r(79039),s=r(66346),a=r(28551),c=r(35610),l=r(18014),u=s.ArrayBuffer,d=s.DataView,f=d.prototype,h=i(u.prototype.slice),p=i(f.getUint8),_=i(f.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o(function(){return!new u(2).slice(1,void 0).byteLength})},{slice:function(e,t){if(h&&void 0===t)return h(a(this),e);for(var r=a(this).byteLength,n=c(e,r),i=c(void 0===t?r:t,r),o=new u(l(i-n)),s=new d(this),f=new d(o),v=0;n<i;)_(f,v++,p(s,n++));return o}})},77936(e,t,r){"use strict";var n=r(46518),i=r(95636);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},78100(e,t,r){"use strict";var n=r(46518),i=r(95636);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},78350(e,t,r){"use strict";var n=r(46518),i=r(70259),o=r(79306),s=r(48981),a=r(26198),c=r(1469);n({target:"Array",proto:!0},{flatMap:function(e){var t,r=s(this),n=a(r);return o(e),(t=c(r,0)).length=i(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},46449(e,t,r){"use strict";var n=r(46518),i=r(70259),o=r(48981),s=r(26198),a=r(91291),c=r(1469);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=o(this),r=s(t),n=c(t,0);return n.length=i(n,t,t,r,0,void 0===e?1:a(e)),n}})},23792(e,t,r){"use strict";var n=r(25397),i=r(6469),o=r(26269),s=r(91181),a=r(24913).f,c=r(51088),l=r(62529),u=r(96395),d=r(43724),f="Array Iterator",h=s.set,p=s.getterFor(f);e.exports=c(Array,"Array",function(e,t){h(this,{type:f,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,l(void 0,!0);switch(e.kind){case"keys":return l(r,!1);case"values":return l(t[r],!1)}return l([r,t[r]],!1)},"values");var _=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!u&&d&&"values"!==_.name)try{a(_,"name",{value:"values"})}catch(e){}},44114(e,t,r){"use strict";var n=r(46518),i=r(48981),o=r(26198),s=r(34527),a=r(96837);n({target:"Array",proto:!0,arity:1,forced:r(79039)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),r=o(t),n=arguments.length;a(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return s(t,r),r}})},94490(e,t,r){"use strict";var n=r(46518),i=r(79504),o=r(34376),s=i([].reverse),a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),s(this)}})},26910(e,t,r){"use strict";var n=r(46518),i=r(79504),o=r(79306),s=r(48981),a=r(26198),c=r(84606),l=r(655),u=r(79039),d=r(74488),f=r(34598),h=r(13709),p=r(13763),_=r(39519),v=r(3607),E=[],m=i(E.sort),g=i(E.push),y=u(function(){E.sort(void 0)}),I=u(function(){E.sort(null)}),w=f("sort"),b=!u(function(){if(_)return _<70;if(!(h&&h>3)){if(p)return!0;if(v)return v<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)E.push({k:t+n,v:r})}for(E.sort(function(e,t){return t.v-e.v}),n=0;n<E.length;n++)t=E[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}});n({target:"Array",proto:!0,forced:y||!I||!w||!b},{sort:function(e){void 0!==e&&o(e);var t=s(this);if(b)return void 0===e?m(t):m(t,e);var r,n,i=[],u=a(t);for(n=0;n<u;n++)n in t&&g(i,t[n]);for(d(i,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:l(t)>l(r)?1:-1}}(e)),r=a(i),n=0;n<r;)t[n]=i[n++];for(;n<u;)c(t,n++);return t}})},30237(e,t,r){"use strict";r(6469)("flatMap")},93514(e,t,r){"use strict";r(6469)("flat")},13609(e,t,r){"use strict";var n=r(46518),i=r(48981),o=r(26198),s=r(34527),a=r(84606),c=r(96837);n({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=i(this),r=o(t),n=arguments.length;if(n){c(r+n);for(var l=r;l--;){var u=l+n;l in t?t[u]=t[l]:a(t,u)}for(var d=0;d<n;d++)t[d]=arguments[d]}return s(t,r+n)}})},16280(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(18745),s=r(14601),a="WebAssembly",c=i[a],l=7!==new Error("e",{cause:7}).cause,u=function(e,t){var r={};r[e]=s(e,t,l),n({global:!0,constructor:!0,arity:1,forced:l},r)},d=function(e,t){if(c&&c[e]){var r={};r[e]=s(a+"."+e,t,l),n({target:a,stat:!0,constructor:!0,arity:1,forced:l},r)}};u("Error",function(e){return function(t){return o(e,this,arguments)}}),u("EvalError",function(e){return function(t){return o(e,this,arguments)}}),u("RangeError",function(e){return function(t){return o(e,this,arguments)}}),u("ReferenceError",function(e){return function(t){return o(e,this,arguments)}}),u("SyntaxError",function(e){return function(t){return o(e,this,arguments)}}),u("TypeError",function(e){return function(t){return o(e,this,arguments)}}),u("URIError",function(e){return function(t){return o(e,this,arguments)}}),d("CompileError",function(e){return function(t){return o(e,this,arguments)}}),d("LinkError",function(e){return function(t){return o(e,this,arguments)}}),d("RuntimeError",function(e){return function(t){return o(e,this,arguments)}})},55081(e,t,r){"use strict";var n=r(46518),i=r(44576);n({global:!0,forced:i.globalThis!==i},{globalThis:i})},18111(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(90679),s=r(28551),a=r(94901),c=r(42787),l=r(62106),u=r(97040),d=r(79039),f=r(39297),h=r(78227),p=r(57657).IteratorPrototype,_=r(43724),v=r(96395),E="constructor",m="Iterator",g=h("toStringTag"),y=TypeError,I=i[m],w=v||!a(I)||I.prototype!==p||!d(function(){I({})}),b=function(){if(o(this,p),c(this)===p)throw new y("Abstract class Iterator not directly constructable")},L=function(e,t){_?l(p,e,{configurable:!0,get:function(){return t},set:function(t){if(s(this),this===p)throw new y("You can't redefine this property");f(this,e)?this[e]=t:u(this,e,t)}}):p[e]=t};f(p,g)||L(g,m),!w&&f(p,E)&&p[E]!==Object||L(E,b),b.prototype=p,n({global:!0,constructor:!0,forced:w},{Iterator:b})},81148(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(72652),s=r(79306),a=r(28551),c=r(1767),l=r(9539),u=r(84549)("every",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{every:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;return!o(t,function(t,n){if(!e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},22489(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(79306),s=r(28551),a=r(1767),c=r(19462),l=r(96319),u=r(96395),d=r(9539),f=r(30684),h=r(84549),p=!u&&!f("filter",function(){}),_=!u&&!p&&h("filter",TypeError),v=u||p||_,E=c(function(){for(var e,t,r=this.iterator,n=this.predicate,o=this.next;;){if(e=s(i(o,r)),this.done=!!e.done)return;if(t=e.value,l(r,n,[t,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:v},{filter:function(e){s(this);try{o(e)}catch(e){d(this,"throw",e)}return _?i(_,this,e):new E(a(this),{predicate:e})}})},20116(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(72652),s=r(79306),a=r(28551),c=r(1767),l=r(9539),u=r(84549)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{find:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;return o(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},7588(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(72652),s=r(79306),a=r(28551),c=r(1767),l=r(9539),u=r(84549)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;o(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},61701(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(79306),s=r(28551),a=r(1767),c=r(19462),l=r(96319),u=r(9539),d=r(30684),f=r(84549),h=r(96395),p=!h&&!d("map",function(){}),_=!h&&!p&&f("map",TypeError),v=h||p||_,E=c(function(){var e=this.iterator,t=s(i(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:v},{map:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}return _?i(_,this,e):new E(a(this),{mapper:e})}})},18237(e,t,r){"use strict";var n=r(46518),i=r(72652),o=r(79306),s=r(28551),a=r(1767),c=r(9539),l=r(84549),u=r(18745),d=r(79039),f=TypeError,h=d(function(){[].keys().reduce(function(){},void 0)}),p=!h&&l("reduce",f);n({target:"Iterator",proto:!0,real:!0,forced:h||p},{reduce:function(e){s(this);try{o(e)}catch(e){c(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(p)return u(p,this,t?[e]:[e,r]);var n=a(this),l=0;if(i(n,function(n){t?(t=!1,r=n):r=e(r,n,l),l++},{IS_RECORD:!0}),t)throw new f("Reduce of empty iterator with no initial value");return r}})},13579(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(72652),s=r(79306),a=r(28551),c=r(1767),l=r(9539),u=r(84549)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{some:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;return o(t,function(t,n){if(e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},61806(e,t,r){"use strict";var n=r(46518),i=r(28551),o=r(72652),s=r(1767),a=[].push;n({target:"Iterator",proto:!0,real:!0},{toArray:function(){var e=[];return o(s(i(this)),a,{that:e,IS_RECORD:!0}),e}})},69112(e,t,r){"use strict";var n=r(46518),i=r(43724),o=r(44576),s=r(97751),a=r(79504),c=r(69565),l=r(94901),u=r(20034),d=r(34376),f=r(39297),h=r(655),p=r(26198),_=r(97040),v=r(79039),E=r(616),m=r(4495),g=o.JSON,y=o.Number,I=o.SyntaxError,w=g&&g.parse,b=s("Object","keys"),L=Object.getOwnPropertyDescriptor,S=a("".charAt),C=a("".slice),A=a(/./.exec),O=a([].push),N=/^\d$/,T=/^[1-9]$/,P=/^[\d-]$/,R=/^[\t\n\r ]$/,M=function(e,t,r,n){var i,o,s,a,l,h=e[t],_=n&&h===n.value,v=_&&"string"==typeof n.source?{source:n.source}:{};if(u(h)){var E=d(h),m=_?n.nodes:E?[]:{};if(E)for(i=m.length,s=p(h),a=0;a<s;a++)k(h,a,M(h,""+a,r,a<i?m[a]:void 0));else for(o=b(h),s=p(o),a=0;a<s;a++)l=o[a],k(h,l,M(h,l,r,f(m,l)?m[l]:void 0))}return c(r,e,t,h,v)},k=function(e,t,r){if(i){var n=L(e,t);if(n&&!n.configurable)return}void 0===r?delete e[t]:_(e,t,r)},D=function(e,t,r,n){this.value=e,this.end=t,this.source=r,this.nodes=n},x=function(e,t){this.source=e,this.index=t};x.prototype={fork:function(e){return new x(this.source,e)},parse:function(){var e=this.source,t=this.skip(R,this.index),r=this.fork(t),n=S(e,t);if(A(P,n))return r.number();switch(n){case"{":return r.object();case"[":return r.array();case'"':return r.string();case"t":return r.keyword(!0);case"f":return r.keyword(!1);case"n":return r.keyword(null)}throw new I('Unexpected character: "'+n+'" at: '+t)},node:function(e,t,r,n,i){return new D(t,n,e?null:C(this.source,r,n),i)},object:function(){for(var e=this.source,t=this.index+1,r=!1,n={},i={};t<e.length;){if(t=this.until(['"',"}"],t),"}"===S(e,t)&&!r){t++;break}var o=this.fork(t).string(),s=o.value;t=o.end,t=this.until([":"],t)+1,t=this.skip(R,t),o=this.fork(t).parse(),_(i,s,o),_(n,s,o.value),t=this.until([",","}"],o.end);var a=S(e,t);if(","===a)r=!0,t++;else if("}"===a){t++;break}}return this.node(1,n,this.index,t,i)},array:function(){for(var e=this.source,t=this.index+1,r=!1,n=[],i=[];t<e.length;){if(t=this.skip(R,t),"]"===S(e,t)&&!r){t++;break}var o=this.fork(t).parse();if(O(i,o),O(n,o.value),t=this.until([",","]"],o.end),","===S(e,t))r=!0,t++;else if("]"===S(e,t)){t++;break}}return this.node(1,n,this.index,t,i)},string:function(){var e=this.index,t=E(this.source,this.index+1);return this.node(0,t.value,e,t.end)},number:function(){var e=this.source,t=this.index,r=t;if("-"===S(e,r)&&r++,"0"===S(e,r))r++;else{if(!A(T,S(e,r)))throw new I("Failed to parse number at: "+r);r=this.skip(N,r+1)}if(!("."===S(e,r)&&(r=this.skip(N,r+1)),"e"!==S(e,r)&&"E"!==S(e,r)||(r++,"+"!==S(e,r)&&"-"!==S(e,r)||r++,r!==(r=this.skip(N,r)))))throw new I("Failed to parse number's exponent value at: "+r);return this.node(0,y(C(e,t,r)),t,r)},keyword:function(e){var t=""+e,r=this.index,n=r+t.length;if(C(this.source,r,n)!==t)throw new I("Failed to parse value at: "+r);return this.node(0,e,r,n)},skip:function(e,t){for(var r=this.source;t<r.length&&A(e,S(r,t));t++);return t},until:function(e,t){t=this.skip(R,t);for(var r=S(this.source,t),n=0;n<e.length;n++)if(e[n]===r)return t;throw new I('Unexpected character: "'+r+'" at: '+t)}};var j=v(function(){var e,t="9007199254740993";return w(t,function(t,r,n){e=n.source}),e!==t}),G=m&&!v(function(){return 1/w("-0 \t")!=-1/0});n({target:"JSON",stat:!0,forced:j},{parse:function(e,t){return G&&!l(t)?w(e):function(e,t){e=h(e);var r=new x(e,0,""),n=r.parse(),i=n.value,o=r.skip(R,n.end);if(o<e.length)throw new I('Unexpected extra character: "'+S(e,o)+'" after the parsed data at: '+o);return l(t)?M({"":i},"",t,n):i}(e,t)}})},33110(e,t,r){"use strict";var n=r(46518),i=r(97751),o=r(18745),s=r(69565),a=r(79504),c=r(79039),l=r(34376),u=r(94901),d=r(65810),f=r(10757),h=r(22195),p=r(655),_=r(67680),v=r(616),E=r(33392),m=r(4495),g=r(27819),y=String,I=i("JSON","stringify"),w=a(/./.exec),b=a("".charAt),L=a("".charCodeAt),S=a("".replace),C=a("".slice),A=a([].push),O=a(1.1.toString),N=/[\uD800-\uDFFF]/g,T=/^[\uD800-\uDBFF]$/,P=/^[\uDC00-\uDFFF]$/,R=E(),M=R.length,k=!m||c(function(){var e=i("Symbol")("stringify detection");return"[null]"!==I([e])||"{}"!==I({a:e})||"{}"!==I(Object(e))}),D=c(function(){return'"\\udf06\\ud834"'!==I("\udf06\ud834")||'"\\udead"'!==I("\udead")}),x=k?function(e,t){var r=_(arguments),n=G(t);if(u(n)||void 0!==e&&!f(e))return r[1]=function(e,t){if(u(n)&&(t=s(n,this,y(e),t)),!f(t))return t},o(I,null,r)}:I,j=function(e,t,r){var n=b(r,t-1),i=b(r,t+1);return w(T,e)&&!w(P,i)||w(P,e)&&!w(T,n)?"\\u"+O(L(e,0),16):e},G=function(e){if(u(e))return e;if(l(e)){for(var t=e.length,r=[],n=0;n<t;n++){var i=e[n];"string"==typeof i?A(r,i):"number"!=typeof i&&"Number"!==h(i)&&"String"!==h(i)||A(r,p(i))}var o=r.length,s=!0;return function(e,t){if(s)return s=!1,t;if(l(this))return t;for(var n=0;n<o;n++)if(r[n]===e)return t}}};I&&n({target:"JSON",stat:!0,arity:3,forced:k||D||!g},{stringify:function(e,t,r){var n=G(t),i=[],o=x(e,function(e,t){var r=u(n)?s(n,this,y(e),t):t;return!g&&d(r)?R+(A(i,r.rawJSON)-1):r},r);if("string"!=typeof o)return o;if(D&&(o=S(o,N,j)),g)return o;for(var a="",c=o.length,l=0;l<c;l++){var f=b(o,l);if('"'===f){var h=v(o,++l).end-1,p=C(o,l,h);a+=C(p,0,M)===R?i[C(p,M)]:'"'+p+'"',l=h}else a+=f}return a}})},96167(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(79306),s=r(36043),a=r(1103),c=r(72652);n({target:"Promise",stat:!0,forced:r(90537)},{allSettled:function(e){var t=this,r=s.f(t),n=r.resolve,l=r.reject,u=a(function(){var r=o(t.resolve),s=[],a=0,l=1;c(e,function(e){var o=a++,c=!1;l++,i(r,t,e).then(function(e){c||(c=!0,s[o]={status:"fulfilled",value:e},--l||n(s))},function(e){c||(c=!0,s[o]={status:"rejected",reason:e},--l||n(s))})}),--l||n(s)});return u.error&&l(u.value),r.promise}})},9391(e,t,r){"use strict";var n=r(46518),i=r(96395),o=r(80550),s=r(79039),a=r(97751),c=r(94901),l=r(2293),u=r(93438),d=r(36840),f=o&&o.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!o&&s(function(){f.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=l(this,a("Promise")),r=c(e);return this.then(r?function(r){return u(t,e()).then(function(){return r})}:e,r?function(r){return u(t,e()).then(function(){throw r})}:e)}}),!i&&c(o)){var h=a("Promise").prototype.finally;f.finally!==h&&d(f,"finally",h,{unsafe:!0})}},84864(e,t,r){"use strict";var n=r(43724),i=r(44576),o=r(79504),s=r(92796),a=r(23167),c=r(66699),l=r(2360),u=r(38480).f,d=r(1625),f=r(60788),h=r(655),p=r(61034),_=r(58429),v=r(11056),E=r(36840),m=r(79039),g=r(39297),y=r(91181).enforce,I=r(87633),w=r(78227),b=r(83635),L=r(18814),S=w("match"),C=i.RegExp,A=C.prototype,O=i.SyntaxError,N=o(A.exec),T=o("".charAt),P=o("".replace),R=o("".indexOf),M=o("".slice),k=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,D=/a/g,x=/a/g,j=new C(D)!==D,G=_.MISSED_STICKY,U=_.UNSUPPORTED_Y;if(s("RegExp",n&&(!j||G||b||L||m(function(){return x[S]=!1,C(D)!==D||C(x)===x||"/a/i"!==String(C(D,"i"))})))){for(var W=function(e,t){var r,n,i,o,s,u,_=d(A,this),v=f(e),E=void 0===t,m=[],I=e;if(!_&&v&&E&&e.constructor===W)return e;if((v||d(A,e))&&(e=e.source,E&&(t=p(I))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),I=e,b&&"dotAll"in D&&(n=!!t&&R(t,"s")>-1)&&(t=P(t,/s/g,"")),r=t,G&&"sticky"in D&&(i=!!t&&R(t,"y")>-1)&&U&&(t=P(t,/y/g,"")),L&&(o=function(e){for(var t,r=e.length,n=0,i="",o=[],s=l(null),a=!1,c=!1,u=0,d="";n<=r;n++){if("\\"===(t=T(e,n)))t+=T(e,++n);else if("]"===t)a=!1;else if(!a)switch(!0){case"["===t:a=!0;break;case"("===t:if(i+=t,"?:"===M(e,n+1,n+3))continue;N(k,M(e,n+1))&&(n+=2,c=!0),u++;continue;case">"===t&&c:if(""===d||g(s,d))throw new O("Invalid capture group name");s[d]=!0,o[o.length]=[d,u],c=!1,d="";continue}c?d+=t:i+=t}return[i,o]}(e),e=o[0],m=o[1]),s=a(C(e,t),_?this:A,W),(n||i||m.length)&&(u=y(s),n&&(u.dotAll=!0,u.raw=W(function(e){for(var t,r=e.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(t=T(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+T(e,++n);return i}(e),r)),i&&(u.sticky=!0),m.length&&(u.groups=m)),e!==I)try{c(s,"source",""===I?"(?:)":I)}catch(e){}return s},V=u(C),z=0;V.length>z;)v(W,C,V[z++]);A.constructor=W,W.prototype=A,E(i,"RegExp",W,{constructor:!0})}I("RegExp")},57465(e,t,r){"use strict";var n=r(43724),i=r(83635),o=r(22195),s=r(62106),a=r(91181).get,c=RegExp.prototype,l=TypeError;n&&i&&s(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===o(this))return!!a(this).dotAll;throw new l("Incompatible receiver, RegExp required")}}})},27495(e,t,r){"use strict";var n=r(46518),i=r(57323);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},69479(e,t,r){"use strict";var n=r(43724),i=r(62106),o=r(65213),s=r(67979);n&&!o.correct&&(i(RegExp.prototype,"flags",{configurable:!0,get:s}),o.correct=!0)},17642(e,t,r){"use strict";var n=r(46518),i=r(83440),o=r(79039);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("difference",function(e){return 0===e.size})||o(function(){var e={size:1,has:function(){return!0},keys:function(){var e=0;return{next:function(){var r=e++>1;return t.has(1)&&t.clear(),{done:r,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(e).size})},{difference:i})},58004(e,t,r){"use strict";var n=r(46518),i=r(79039),o=r(68750);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||i(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:o})},33853(e,t,r){"use strict";var n=r(46518),i=r(64449);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("isDisjointFrom",function(e){return!e})},{isDisjointFrom:i})},45876(e,t,r){"use strict";var n=r(46518),i=r(53838);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("isSubsetOf",function(e){return e})},{isSubsetOf:i})},32475(e,t,r){"use strict";var n=r(46518),i=r(28527);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("isSupersetOf",function(e){return!e})},{isSupersetOf:i})},15024(e,t,r){"use strict";var n=r(46518),i=r(83650),o=r(39835);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("symmetricDifference")||!o("symmetricDifference")},{symmetricDifference:i})},31698(e,t,r){"use strict";var n=r(46518),i=r(44204),o=r(39835);n({target:"Set",proto:!0,real:!0,forced:!r(84916)("union")||!o("union")},{union:i})},27337(e,t,r){"use strict";var n=r(46518),i=r(79504),o=r(35610),s=RangeError,a=String.fromCharCode,c=String.fromCodePoint,l=i([].join);n({target:"String",stat:!0,arity:1,forced:!!c&&1!==c.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],o(t,1114111)!==t)throw new s(t+" is not a valid code point");r[i]=t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320)}return l(r,"")}})},47764(e,t,r){"use strict";var n=r(68183).charAt,i=r(655),o=r(91181),s=r(51088),a=r(62529),c="String Iterator",l=o.set,u=o.getterFor(c);s(String,"String",function(e){l(this,{type:c,string:i(e),index:0})},function(){var e,t=u(this),r=t.string,i=t.index;return i>=r.length?a(void 0,!0):(e=n(r,i),t.index+=e.length,a(e,!1))})},79978(e,t,r){"use strict";var n=r(46518),i=r(69565),o=r(79504),s=r(67750),a=r(94901),c=r(20034),l=r(60788),u=r(655),d=r(55966),f=r(61034),h=r(2478),p=r(78227),_=r(96395),v=p("replace"),E=TypeError,m=o("".indexOf),g=o("".replace),y=o("".slice),I=Math.max;n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,o,p,w,b,L,S,C,A,O=s(this),N=0,T="";if(c(e)){if((r=l(e))&&(n=u(s(f(e))),!~m(n,"g")))throw new E("`.replaceAll` does not allow non-global regexes");if(o=d(e,v))return i(o,e,O,t);if(_&&r)return g(u(O),e,t)}for(p=u(O),w=u(e),(b=a(t))||(t=u(t)),L=w.length,S=I(1,L),C=m(p,w);-1!==C;)A=b?u(t(w,C,p)):h(w,p,C,[],void 0,t),T+=y(p,N,C)+A,N=C+L,C=C+S>p.length?-1:m(p,w,C+S);return N<p.length&&(T+=y(p,N)),T}})},25440(e,t,r){"use strict";var n=r(18745),i=r(69565),o=r(79504),s=r(89228),a=r(79039),c=r(28551),l=r(94901),u=r(20034),d=r(91291),f=r(18014),h=r(655),p=r(67750),_=r(57829),v=r(55966),E=r(2478),m=r(61034),g=r(56682),y=r(78227)("replace"),I=Math.max,w=Math.min,b=o([].concat),L=o([].push),S=o("".indexOf),C=o("".slice),A=function(e){return void 0===e?e:String(e)},O="$0"==="a".replace(/./,"$0"),N=!!/./[y]&&""===/./[y]("a","$0");s("replace",function(e,t,r){var o=N?"$":"$0";return[function(e,r){var n=p(this),o=u(e)?v(e,y):void 0;return o?i(o,e,n,r):i(t,h(n),e,r)},function(e,i){var s=c(this),a=h(e);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var u=r(t,s,a,i);if(u.done)return u.value}var p=l(i);p||(i=h(i));var v,y=h(m(s)),O=-1!==S(y,"g");O&&(v=-1!==S(y,"u"),s.lastIndex=0);for(var N,T=[];null!==(N=g(s,a))&&(L(T,N),O);)""===h(N[0])&&(s.lastIndex=_(a,f(s.lastIndex),v));for(var P="",R=0,M=0;M<T.length;M++){for(var k,D=h((N=T[M])[0]),x=I(w(d(N.index),a.length),0),j=[],G=1;G<N.length;G++)L(j,A(N[G]));var U=N.groups;if(p){var W=b([D],j,x,a);void 0!==U&&L(W,U),k=h(n(i,void 0,W))}else k=E(D,a,x,j,U,i);x>=R&&(P+=C(a,R,x)+k,R=x+D.length)}return P+C(a,R)}]},!!a(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!O||N)},42762(e,t,r){"use strict";var n=r(46518),i=r(43802).trim;n({target:"String",proto:!0,forced:r(60706)("trim")},{trim:function(){return i(this)}})},66412(e,t,r){"use strict";r(70511)("asyncIterator")},89463(e,t,r){"use strict";var n=r(46518),i=r(43724),o=r(44576),s=r(79504),a=r(39297),c=r(94901),l=r(1625),u=r(655),d=r(62106),f=r(77740),h=o.Symbol,p=h&&h.prototype;if(i&&c(h)&&(!("description"in p)||void 0!==h().description)){var _={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=l(p,this)?new h(e):void 0===e?h():h(e);return""===e&&(_[t]=!0),t};f(v,h),v.prototype=p,p.constructor=v;var E="Symbol(description detection)"===String(h("description detection")),m=s(p.valueOf),g=s(p.toString),y=/^Symbol\((.*)\)[^)]+$/,I=s("".replace),w=s("".slice);d(p,"description",{configurable:!0,get:function(){var e=m(this);if(a(_,e))return"";var t=g(e),r=E?w(t,7,-1):I(t,y,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:v})}},48140(e,t,r){"use strict";var n=r(94644),i=r(26198),o=r(91291),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",function(e){var t=s(this),r=i(t),n=o(e),a=n>=0?n:r+n;return a<0||a>=r?void 0:t[a]})},75044(e,t,r){"use strict";var n=r(94644),i=r(84373),o=r(75854),s=r(36955),a=r(69565),c=r(79504),l=r(79039),u=n.aTypedArray,d=n.exportTypedArrayMethod,f=c("".slice);d("fill",function(e){var t=arguments.length;u(this);var r="Big"===f(s(this),0,3)?o(e):+e;return a(i,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)},l(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}))},91134(e,t,r){"use strict";var n=r(94644),i=r(43839).findLastIndex,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)})},21903(e,t,r){"use strict";var n=r(94644),i=r(43839).findLast,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)})},34594(e,t,r){"use strict";r(15823)("Float32",function(e){return function(t,r,n){return e(this,t,r,n)}})},29833(e,t,r){"use strict";r(15823)("Float64",function(e){return function(t,r,n){return e(this,t,r,n)}})},72107(e,t,r){"use strict";r(15823)("Int16",function(e){return function(t,r,n){return e(this,t,r,n)}})},95477(e,t,r){"use strict";r(15823)("Int32",function(e){return function(t,r,n){return e(this,t,r,n)}})},46594(e,t,r){"use strict";r(15823)("Int8",function(e){return function(t,r,n){return e(this,t,r,n)}})},52568(e,t,r){"use strict";var n=r(94644),i=r(72805),o=n.aTypedArrayConstructor;(0,n.exportTypedArrayStaticMethod)("of",function(){for(var e=0,t=arguments.length,r=new(o(this))(t);t>e;)r[e]=arguments[e++];return r},i)},28845(e,t,r){"use strict";var n=r(44576),i=r(69565),o=r(94644),s=r(26198),a=r(58229),c=r(48981),l=r(79039),u=n.RangeError,d=n.Int8Array,f=d&&d.prototype,h=f&&f.set,p=o.aTypedArray,_=o.exportTypedArrayMethod,v=!l(function(){var e=new Uint8ClampedArray(2);return i(h,e,{length:1,0:3},1),3!==e[1]}),E=v&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]});_("set",function(e){p(this);var t=a(arguments.length>1?arguments[1]:void 0,1),r=c(e);if(v)return i(h,this,r,t);var n=this.length,o=s(r),l=0;if(o+t>n)throw new u("Wrong length");for(;l<o;)this[t+l]=r[l++]},!v||E)},373(e,t,r){"use strict";var n=r(44576),i=r(27476),o=r(79039),s=r(79306),a=r(74488),c=r(94644),l=r(13709),u=r(13763),d=r(39519),f=r(3607),h=c.aTypedArray,p=c.exportTypedArrayMethod,_=n.Uint16Array,v=_&&i(_.prototype.sort),E=!(!v||o(function(){v(new _(2),null)})&&o(function(){v(new _(2),{})})),m=!!v&&!o(function(){if(d)return d<74;if(l)return l<67;if(u)return!0;if(f)return f<602;var e,t,r=new _(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(v(r,function(e,t){return(e/4|0)-(t/4|0)}),e=0;e<516;e++)if(r[e]!==n[e])return!0});p("sort",function(e){return void 0!==e&&s(e),m?v(this,e):a(h(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))},!m||E)},37467(e,t,r){"use strict";var n=r(37628),i=r(94644),o=i.aTypedArray,s=i.exportTypedArrayMethod,a=i.getTypedArrayConstructor;s("toReversed",function(){return n(o(this),a(this))})},44732(e,t,r){"use strict";var n=r(94644),i=r(79504),o=r(79306),s=r(35370),a=n.aTypedArray,c=n.getTypedArrayConstructor,l=n.exportTypedArrayMethod,u=i(n.TypedArrayPrototype.sort);l("toSorted",function(e){void 0!==e&&o(e);var t=a(this),r=s(c(t),t);return u(r,e)})},3690(e,t,r){"use strict";r(15823)("Uint16",function(e){return function(t,r,n){return e(this,t,r,n)}})},61740(e,t,r){"use strict";r(15823)("Uint32",function(e){return function(t,r,n){return e(this,t,r,n)}})},21489(e,t,r){"use strict";r(15823)("Uint8",function(e){return function(t,r,n){return e(this,t,r,n)}})},22134(e,t,r){"use strict";r(15823)("Uint8",function(e){return function(t,r,n){return e(this,t,r,n)}},!0)},79577(e,t,r){"use strict";var n=r(39928),i=r(94644),o=r(18727),s=r(91291),a=r(75854),c=i.aTypedArray,l=i.getTypedArrayConstructor,u=i.exportTypedArrayMethod,d=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}(),f=d&&function(){try{new Int8Array(1).with(-.5,1)}catch(e){return!0}}();u("with",{with:function(e,t){var r=c(this),i=s(e),u=o(r)?a(t):+t;return n(r,l(r),i,u)}}.with,!d||f)},16632(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(59143),s=r(34154),a=i.Uint8Array,c=!a||!a.prototype.setFromBase64||!function(){var e=new a([255,255,255,255,255]);try{return void e.setFromBase64("",null)}catch(e){}try{return void e.setFromBase64("a")}catch(e){}try{e.setFromBase64("MjYyZg===")}catch(t){return 50===e[0]&&54===e[1]&&50===e[2]&&255===e[3]&&255===e[4]}}();a&&n({target:"Uint8Array",proto:!0,forced:c},{setFromBase64:function(e){s(this);var t=o(e,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})},34226(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(63463),s=r(34154),a=r(55169),c=r(42303);i.Uint8Array&&n({target:"Uint8Array",proto:!0},{setFromHex:function(e){s(this),o(e),a(this.buffer);var t=c(e,this).read;return{read:t,written:t/2}}})},9486(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(79504),s=r(83972),a=r(34154),c=r(55169),l=r(92804),u=r(944),d=l.i2c,f=l.i2cUrl,h=o("".charAt),p=i.Uint8Array,_=!p||!p.prototype.toBase64||!function(){try{(new p).toBase64(null)}catch(e){return!0}}();p&&n({target:"Uint8Array",proto:!0,forced:_},{toBase64:function(){var e=a(this),t=arguments.length?s(arguments[0]):void 0,r="base64"===u(t)?d:f,n=!!t&&!!t.omitPadding;c(this.buffer);for(var i,o="",l=0,p=e.length,_=function(e){return h(r,i>>6*e&63)};l+2<p;l+=3)i=(e[l]<<16)+(e[l+1]<<8)+e[l+2],o+=_(3)+_(2)+_(1)+_(0);return l+2===p?(i=(e[l]<<16)+(e[l+1]<<8),o+=_(3)+_(2)+_(1)+(n?"":"=")):l+1===p&&(i=e[l]<<16,o+=_(3)+_(2)+(n?"":"==")),o}})},20456(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(79504),s=r(34154),a=r(55169),c=o(1.1.toString),l=i.Uint8Array,u=!l||!l.prototype.toHex||!function(){try{return"ffffffffffffffff"===new l([255,255,255,255,255,255,255,255]).toHex()}catch(e){return!1}}();l&&n({target:"Uint8Array",proto:!0,forced:u},{toHex:function(){s(this),a(this.buffer);for(var e="",t=0,r=this.length;t<r;t++){var n=c(this[t],16);e+=1===n.length?"0"+n:n}return e}})},58335(e,t,r){"use strict";r(69112)},41549(e,t,r){"use strict";r(16632)},49797(e,t,r){"use strict";r(34226)},49631(e,t,r){"use strict";r(9486)},35623(e,t,r){"use strict";r(20456)},62953(e,t,r){"use strict";var n=r(44576),i=r(67400),o=r(79296),s=r(23792),a=r(66699),c=r(10687),l=r(78227)("iterator"),u=s.values,d=function(e,t){if(e){if(e[l]!==u)try{a(e,l,u)}catch(t){e[l]=u}if(c(e,t,!0),i[t])for(var r in s)if(e[r]!==s[r])try{a(e,r,s[r])}catch(t){e[r]=s[r]}}};for(var f in i)d(n[f]&&n[f].prototype,f);d(o,"DOMTokenList")},55815(e,t,r){"use strict";var n=r(46518),i=r(97751),o=r(89429),s=r(79039),a=r(2360),c=r(6980),l=r(24913).f,u=r(36840),d=r(62106),f=r(39297),h=r(90679),p=r(28551),_=r(77536),v=r(32603),E=r(55002),m=r(16193),g=r(91181),y=r(43724),I=r(96395),w="DOMException",b="DATA_CLONE_ERR",L=i("Error"),S=i(w)||function(){try{(new(i("MessageChannel")||o("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(e){if(e.name===b&&25===e.code)return e.constructor}}(),C=S&&S.prototype,A=L.prototype,O=g.set,N=g.getterFor(w),T="stack"in new L(w),P=function(e){return f(E,e)&&E[e].m?E[e].c:0},R=function(){h(this,M);var e=arguments.length,t=v(e<1?void 0:arguments[0]),r=v(e<2?void 0:arguments[1],"Error"),n=P(r);if(O(this,{type:w,name:r,message:t,code:n}),y||(this.name=r,this.message=t,this.code=n),T){var i=new L(t);i.name=w,l(this,"stack",c(1,m(i.stack,1)))}},M=R.prototype=a(A),k=function(e){return{enumerable:!0,configurable:!0,get:e}},D=function(e){return k(function(){return N(this)[e]})};y&&(d(M,"code",D("code")),d(M,"message",D("message")),d(M,"name",D("name"))),l(M,"constructor",c(1,R));var x=s(function(){return!(new S instanceof L)}),j=x||s(function(){return A.toString!==_||"2: 1"!==String(new S(1,2))}),G=x||s(function(){return 25!==new S(1,"DataCloneError").code}),U=x||25!==S[b]||25!==C[b],W=I?j||G||U:x;n({global:!0,constructor:!0,forced:W},{DOMException:W?R:S});var V=i(w),z=V.prototype;for(var F in j&&(I||S===V)&&u(z,"toString",_),G&&y&&S===V&&d(z,"code",k(function(){return P(p(this).name)})),E)if(f(E,F)){var B=E[F],H=B.s,Y=c(6,B.c);f(V,H)||l(V,H,Y),f(z,H)||l(z,H,Y)}},64979(e,t,r){"use strict";var n=r(46518),i=r(44576),o=r(97751),s=r(6980),a=r(24913).f,c=r(39297),l=r(90679),u=r(23167),d=r(32603),f=r(55002),h=r(16193),p=r(43724),_=r(96395),v="DOMException",E=o("Error"),m=o(v),g=function(){l(this,y);var e=arguments.length,t=d(e<1?void 0:arguments[0]),r=d(e<2?void 0:arguments[1],"Error"),n=new m(t,r),i=new E(t);return i.name=v,a(n,"stack",s(1,h(i.stack,1))),u(n,this,g),n},y=g.prototype=m.prototype,I="stack"in new E(v),w="stack"in new m(1,2),b=m&&p&&Object.getOwnPropertyDescriptor(i,v),L=!(!b||b.writable&&b.configurable),S=I&&!L&&!w;n({global:!0,constructor:!0,forced:_||S},{DOMException:S?g:m});var C=o(v),A=C.prototype;if(A.constructor!==C)for(var O in _||a(A,"constructor",s(1,C)),f)if(c(f,O)){var N=f[O],T=N.s;c(C,T)||a(C,T,s(6,N.c))}},79739(e,t,r){"use strict";var n=r(97751),i="DOMException";r(10687)(n(i),i)},98406(e,t,r){"use strict";r(23792),r(27337);var n=r(46518),i=r(44576),o=r(93389),s=r(97751),a=r(69565),c=r(79504),l=r(43724),u=r(67416),d=r(36840),f=r(62106),h=r(56279),p=r(10687),_=r(33994),v=r(91181),E=r(90679),m=r(94901),g=r(39297),y=r(76080),I=r(36955),w=r(28551),b=r(20034),L=r(655),S=r(2360),C=r(6980),A=r(70081),O=r(50851),N=r(62529),T=r(22812),P=r(78227),R=r(74488),M=P("iterator"),k="URLSearchParams",D=k+"Iterator",x=v.set,j=v.getterFor(k),G=v.getterFor(D),U=o("fetch"),W=o("Request"),V=o("Headers"),z=W&&W.prototype,F=V&&V.prototype,B=i.TypeError,H=i.encodeURIComponent,Y=String.fromCharCode,Q=s("String","fromCodePoint"),J=parseInt,K=c("".charAt),X=c([].join),q=c([].push),Z=c("".replace),$=c([].shift),ee=c([].splice),te=c("".split),re=c("".slice),ne=c(/./.exec),ie=/\+/g,oe=/^[0-9a-f]+$/i,se=function(e,t){var r=re(e,t,t+2);return ne(oe,r)?J(r,16):NaN},ae=function(e){for(var t=0,r=128;r>0&&0!==(e&r);r>>=1)t++;return t},ce=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},le=function(e){for(var t=(e=Z(e,ie," ")).length,r="",n=0;n<t;){var i=K(e,n);if("%"===i){if("%"===K(e,n+1)||n+3>t){r+="%",n++;continue}var o=se(e,n+1);if(o!=o){r+=i,n++;continue}n+=2;var s=ae(o);if(0===s)i=Y(o);else{if(1===s||s>4){r+="�",n++;continue}for(var a=[o],c=1;c<s&&!(3+ ++n>t||"%"!==K(e,n));){var l=se(e,n+1);if(l!=l){n+=3;break}if(l>191||l<128)break;q(a,l),n+=2,c++}if(a.length!==s){r+="�";continue}var u=ce(a);null===u?r+="�":i=Q(u)}}r+=i,n++}return r},ue=/[!'()~]|%20/g,de={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},fe=function(e){return de[e]},he=function(e){return Z(H(e),ue,fe)},pe=_(function(e,t){x(this,{type:D,target:j(e).entries,index:0,kind:t})},k,function(){var e=G(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,N(void 0,!0);var n=t[r];switch(e.kind){case"keys":return N(n.key,!1);case"values":return N(n.value,!1)}return N([n.key,n.value],!1)},!0),_e=function(e){this.entries=[],this.url=null,void 0!==e&&(b(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===K(e,0)?re(e,1):e:L(e)))};_e.prototype={type:k,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,o,s,c,l=this.entries,u=O(e);if(u)for(r=(t=A(e,u)).next;!(n=a(r,t)).done;){if(o=(i=A(w(n.value))).next,(s=a(o,i)).done||(c=a(o,i)).done||!a(o,i).done)throw new B("Expected sequence with length 2");q(l,{key:L(s.value),value:L(c.value)})}else for(var d in e)g(e,d)&&q(l,{key:d,value:L(e[d])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=te(e,"&"),o=0;o<i.length;)(t=i[o++]).length&&(r=te(t,"="),q(n,{key:le($(r)),value:le(X(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],q(r,he(e.key)+"="+he(e.value));return X(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ve=function(){E(this,Ee);var e=x(this,new _e(arguments.length>0?arguments[0]:void 0));l||(this.size=e.entries.length)},Ee=ve.prototype;if(h(Ee,{append:function(e,t){var r=j(this);T(arguments.length,2),q(r.entries,{key:L(e),value:L(t)}),l||this.size++,r.updateURL()},delete:function(e){for(var t=j(this),r=T(arguments.length,1),n=t.entries,i=L(e),o=r<2?void 0:arguments[1],s=void 0===o?o:L(o),a=0;a<n.length;){var c=n[a];if(c.key!==i||void 0!==s&&c.value!==s)a++;else if(ee(n,a,1),void 0!==s)break}l||(this.size=n.length),t.updateURL()},get:function(e){var t=j(this).entries;T(arguments.length,1);for(var r=L(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=j(this).entries;T(arguments.length,1);for(var r=L(e),n=[],i=0;i<t.length;i++)t[i].key===r&&q(n,t[i].value);return n},has:function(e){for(var t=j(this).entries,r=T(arguments.length,1),n=L(e),i=r<2?void 0:arguments[1],o=void 0===i?i:L(i),s=0;s<t.length;){var a=t[s++];if(a.key===n&&(void 0===o||a.value===o))return!0}return!1},set:function(e,t){var r=j(this);T(arguments.length,1);for(var n,i=r.entries,o=!1,s=L(e),a=L(t),c=0;c<i.length;c++)(n=i[c]).key===s&&(o?ee(i,c--,1):(o=!0,n.value=a));o||q(i,{key:s,value:a}),l||(this.size=i.length),r.updateURL()},sort:function(){var e=j(this);R(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=j(this).entries,n=y(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new pe(this,"keys")},values:function(){return new pe(this,"values")},entries:function(){return new pe(this,"entries")}},{enumerable:!0}),d(Ee,M,Ee.entries,{name:"entries"}),d(Ee,"toString",function(){return j(this).serialize()},{enumerable:!0}),l&&f(Ee,"size",{get:function(){return j(this).entries.length},configurable:!0,enumerable:!0}),p(ve,k),n({global:!0,constructor:!0,forced:!u},{URLSearchParams:ve}),!u&&m(V)){var me=c(F.has),ge=c(F.set),ye=function(e){if(b(e)){var t,r=e.body;if(I(r)===k)return t=e.headers?new V(e.headers):new V,me(t,"content-type")||ge(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),S(e,{body:C(0,L(r)),headers:C(0,t)})}return e};if(m(U)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return U(e,arguments.length>1?ye(arguments[1]):{})}}),m(W)){var Ie=function(e){return E(this,z),new W(e,arguments.length>1?ye(arguments[1]):{})};z.constructor=Ie,Ie.prototype=z,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ie})}}e.exports={URLSearchParams:ve,getState:j}},14603(e,t,r){"use strict";var n=r(36840),i=r(79504),o=r(655),s=r(22812),a=URLSearchParams,c=a.prototype,l=i(c.append),u=i(c.delete),d=i(c.forEach),f=i([].push),h=new a("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&n(c,"delete",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return u(this,e);var n=[];d(this,function(e,t){f(n,{key:t,value:e})}),s(t,1);for(var i,a=o(e),c=o(r),h=0,p=0,_=!1,v=n.length;h<v;)i=n[h++],_||i.key===a?(_=!0,u(this,i.key)):p++;for(;p<v;)(i=n[p++]).key===a&&i.value===c||l(this,i.key,i.value)},{enumerable:!0,unsafe:!0})},47566(e,t,r){"use strict";var n=r(36840),i=r(79504),o=r(655),s=r(22812),a=URLSearchParams,c=a.prototype,l=i(c.getAll),u=i(c.has),d=new a("a=1");!d.has("a",2)&&d.has("a",void 0)||n(c,"has",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return u(this,e);var n=l(this,e);s(t,1);for(var i=o(r),a=0;a<n.length;)if(n[a++]===i)return!0;return!1},{enumerable:!0,unsafe:!0})},48408(e,t,r){"use strict";r(98406)},98721(e,t,r){"use strict";var n=r(43724),i=r(79504),o=r(62106),s=URLSearchParams.prototype,a=i(s.forEach);n&&!("size"in s)&&o(s,"size",{get:function(){var e=0;return a(this,function(){e++}),e},configurable:!0,enumerable:!0})},45806(e,t,r){"use strict";r(47764);var n,i=r(46518),o=r(43724),s=r(67416),a=r(44576),c=r(76080),l=r(79504),u=r(36840),d=r(62106),f=r(90679),h=r(39297),p=r(44213),_=r(97916),v=r(67680),E=r(68183).codeAt,m=r(3717),g=r(655),y=r(10687),I=r(22812),w=r(98406),b=r(91181),L=b.set,S=b.getterFor("URL"),C=w.URLSearchParams,A=w.getState,O=a.URL,N=a.TypeError,T=a.parseInt,P=Math.floor,R=Math.pow,M=l("".charAt),k=l(/./.exec),D=l([].join),x=l(1.1.toString),j=l([].pop),G=l([].push),U=l("".replace),W=l([].shift),V=l("".split),z=l("".slice),F=l("".toLowerCase),B=l([].unshift),H="Invalid scheme",Y="Invalid host",Q="Invalid port",J=/[a-z]/i,K=/[\d+-.a-z]/i,X=/\d/,q=/^0x/i,Z=/^[0-7]+$/,$=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+/,ie=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,oe=/[\t\n\r]/g,se=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)B(t,e%256),e=P(e/256);return D(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r?n:t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=x(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ae={},ce=p({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),le=p({},ce,{"#":1,"?":1,"{":1,"}":1}),ue=p({},le,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(e,t){var r=E(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},he=function(e,t){var r;return 2===e.length&&k(J,M(e,0))&&(":"===(r=M(e,1))||!t&&"|"===r)},pe=function(e){var t;return e.length>1&&he(z(e,0,2))&&(2===e.length||"/"===(t=M(e,2))||"\\"===t||"?"===t||"#"===t)},_e=function(e){return"."===e||"%2e"===F(e)},ve=function(e){return".."===(e=F(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},Ee={},me={},ge={},ye={},Ie={},we={},be={},Le={},Se={},Ce={},Ae={},Oe={},Ne={},Te={},Pe={},Re={},Me={},ke={},De={},xe={},je={},Ge=function(e,t,r){var n,i,o,s=g(e);if(t){if(i=this.parse(s))throw new N(i);this.searchParams=null}else{if(void 0!==r&&(n=new Ge(r,!0)),i=this.parse(s,null,n))throw new N(i);(o=A(new C)).bindURL(this),this.searchParams=o}};Ge.prototype={type:"URL",parse:function(e,t,r){var i,o,s,a,c=this,l=t||Ee,u=0,d="",f=!1,p=!1,E=!1;for(e=g(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=U(e,ne,""),e=U(e,ie,"$1")),e=U(e,oe,""),i=_(e);u<=i.length;){switch(o=i[u],l){case Ee:if(!o||!k(J,o)){if(t)return H;l=ge;continue}d+=F(o),l=me;break;case me:if(o&&(k(K,o)||"+"===o||"-"===o||"."===o))d+=F(o);else{if(":"!==o){if(t)return H;d="",l=ge,u=0;continue}if(t&&(c.isSpecial()!==h(fe,d)||"file"===d&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&fe[c.scheme]===c.port&&(c.port=null));d="","file"===c.scheme?l=Te:c.isSpecial()&&r&&r.scheme===c.scheme?l=ye:c.isSpecial()?l=Le:"/"===i[u+1]?(l=Ie,u++):(c.cannotBeABaseURL=!0,G(c.path,""),l=De)}break;case ge:if(!r||r.cannotBeABaseURL&&"#"!==o)return H;if(r.cannotBeABaseURL&&"#"===o){c.scheme=r.scheme,c.path=v(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,l=je;break}l="file"===r.scheme?Te:we;continue;case ye:if("/"!==o||"/"!==i[u+1]){l=we;continue}l=Se,u++;break;case Ie:if("/"===o){l=Ce;break}l=ke;continue;case we:if(c.scheme=r.scheme,o===n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query;else if("/"===o||"\\"===o&&c.isSpecial())l=be;else if("?"===o)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query="",l=xe;else{if("#"!==o){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.path.length--,l=ke;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query,c.fragment="",l=je}break;case be:if(!c.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,l=ke;continue}l=Ce}else l=Se;break;case Le:if(l=Se,"/"!==o||"/"!==M(d,u+1))continue;u++;break;case Se:if("/"!==o&&"\\"!==o){l=Ce;continue}break;case Ce:if("@"===o){f&&(d="%40"+d),f=!0,s=_(d);for(var m=0;m<s.length;m++){var y=s[m];if(":"!==y||E){var I=de(y,ue);E?c.password+=I:c.username+=I}else E=!0}d=""}else if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()){if(f&&""===d)return"Invalid authority";u-=_(d).length+1,d="",l=Ae}else d+=o;break;case Ae:case Oe:if(t&&"file"===c.scheme){l=Re;continue}if(":"!==o||p){if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()){if(c.isSpecial()&&""===d)return Y;if(t&&""===d&&(c.includesCredentials()||null!==c.port))return;if(a=c.parseHost(d))return a;if(d="",l=Me,t)return;continue}"["===o?p=!0:"]"===o&&(p=!1),d+=o}else{if(""===d)return Y;if(a=c.parseHost(d))return a;if(d="",l=Ne,t===Oe)return}break;case Ne:if(!k(X,o)){if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()||t){if(""!==d){var w=T(d,10);if(w>65535)return Q;c.port=c.isSpecial()&&w===fe[c.scheme]?null:w,d=""}if(t)return;l=Me;continue}return Q}d+=o;break;case Te:if(c.scheme="file","/"===o||"\\"===o)l=Pe;else{if(!r||"file"!==r.scheme){l=ke;continue}switch(o){case n:c.host=r.host,c.path=v(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=v(r.path),c.query="",l=xe;break;case"#":c.host=r.host,c.path=v(r.path),c.query=r.query,c.fragment="",l=je;break;default:pe(D(v(i,u),""))||(c.host=r.host,c.path=v(r.path),c.shortenPath()),l=ke;continue}}break;case Pe:if("/"===o||"\\"===o){l=Re;break}r&&"file"===r.scheme&&!pe(D(v(i,u),""))&&(he(r.path[0],!0)?G(c.path,r.path[0]):c.host=r.host),l=ke;continue;case Re:if(o===n||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&he(d))l=ke;else if(""===d){if(c.host="",t)return;l=Me}else{if(a=c.parseHost(d))return a;if("localhost"===c.host&&(c.host=""),t)return;d="",l=Me}continue}d+=o;break;case Me:if(c.isSpecial()){if(l=ke,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==n&&(l=ke,"/"!==o))continue}else c.fragment="",l=je;else c.query="",l=xe;break;case ke:if(o===n||"/"===o||"\\"===o&&c.isSpecial()||!t&&("?"===o||"#"===o)){if(ve(d)?(c.shortenPath(),"/"===o||"\\"===o&&c.isSpecial()||G(c.path,"")):_e(d)?"/"===o||"\\"===o&&c.isSpecial()||G(c.path,""):("file"===c.scheme&&!c.path.length&&he(d)&&(c.host&&(c.host=""),d=M(d,0)+":"),G(c.path,d)),d="","file"===c.scheme&&(o===n||"?"===o||"#"===o))for(;c.path.length>1&&""===c.path[0];)W(c.path);"?"===o?(c.query="",l=xe):"#"===o&&(c.fragment="",l=je)}else d+=de(o,le);break;case De:"?"===o?(c.query="",l=xe):"#"===o?(c.fragment="",l=je):o!==n&&(c.path[0]+=de(o,ae));break;case xe:t||"#"!==o?o!==n&&("'"===o&&c.isSpecial()?c.query+="%27":c.query+="#"===o?"%23":de(o,ae)):(c.fragment="",l=je);break;case je:o!==n&&(c.fragment+=de(o,ce))}u++}},parseHost:function(e){var t,r,n;if("["===M(e,0)){if("]"!==M(e,e.length-1))return Y;if(t=function(e){var t,r,n,i,o,s,a,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,f=function(){return M(e,d)};if(":"===f()){if(":"!==M(e,1))return;d+=2,u=++l}for(;f();){if(8===l)return;if(":"!==f()){for(t=r=0;r<4&&k(ee,f());)t=16*t+T(f(),16),d++,r++;if("."===f()){if(0===r)return;if(d-=r,l>6)return;for(n=0;f();){if(i=null,n>0){if(!("."===f()&&n<4))return;d++}if(!k(X,f()))return;for(;k(X,f());){if(o=T(f(),10),null===i)i=o;else{if(0===i)return;i=10*i+o}if(i>255)return;d++}c[l]=256*c[l]+i,2!==++n&&4!==n||l++}if(4!==n)return;break}if(":"===f()){if(d++,!f())return}else if(f())return;c[l++]=t}else{if(null!==u)return;d++,u=++l}}if(null!==u)for(s=l-u,l=7;0!==l&&s>0;)a=c[l],c[l--]=c[u+s-1],c[u+--s]=a;else if(8!==l)return;return c}(z(e,1,-1)),!t)return Y;this.host=t}else if(this.isSpecial()){if(e=m(e),k(te,e))return Y;if(t=function(e){var t,r,n,i,o,s,a,c=V(e,".");if(c.length&&""===c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(i=c[n]))return e;if(o=10,i.length>1&&"0"===M(i,0)&&(o=k(q,i)?16:8,i=z(i,8===o?1:2)),""===i)s=0;else{if(!k(10===o?$:8===o?Z:ee,i))return e;s=T(i,o)}G(r,s)}for(n=0;n<t;n++)if(s=r[n],n===t-1){if(s>=R(256,5-t))return null}else if(s>255)return null;for(a=j(r),n=0;n<r.length;n++)a+=r[n]*R(256,3-n);return a}(e),null===t)return Y;this.host=t}else{if(k(re,e))return Y;for(t="",r=_(e),n=0;n<r.length;n++)t+=de(r[n],ae);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(fe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&he(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,s=e.path,a=e.query,c=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=r+(n?":"+n:"")+"@"),l+=se(i),null!==o&&(l+=":"+o)):"file"===t&&(l+="//"),l+=e.cannotBeABaseURL?s[0]:s.length?"/"+D(s,"/"):"",null!==a&&(l+="?"+a),null!==c&&(l+="#"+c),l},setHref:function(e){var t=this.parse(e);if(t)throw new N(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Ue(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+se(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",Ee)},getUsername:function(){return this.username},setUsername:function(e){var t=_(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=de(t[r],ue)}},getPassword:function(){return this.password},setPassword:function(e){var t=_(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=de(t[r],ue)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?se(e):se(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getHostname:function(){var e=this.host;return null===e?"":se(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Oe)},getPort:function(){var e=this.port;return null===e?"":g(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=g(e))?this.port=null:this.parse(e,Ne))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+D(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Me))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=g(e))?this.query=null:("?"===M(e,0)&&(e=z(e,1)),this.query="",this.parse(e,xe)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=g(e))?("#"===M(e,0)&&(e=z(e,1)),this.fragment="",this.parse(e,je)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ue=function(e){var t=f(this,We),r=I(arguments.length,1)>1?arguments[1]:void 0,n=L(t,new Ge(e,!1,r));o||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},We=Ue.prototype,Ve=function(e,t){return{get:function(){return S(this)[e]()},set:t&&function(e){return S(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(d(We,"href",Ve("serialize","setHref")),d(We,"origin",Ve("getOrigin")),d(We,"protocol",Ve("getProtocol","setProtocol")),d(We,"username",Ve("getUsername","setUsername")),d(We,"password",Ve("getPassword","setPassword")),d(We,"host",Ve("getHost","setHost")),d(We,"hostname",Ve("getHostname","setHostname")),d(We,"port",Ve("getPort","setPort")),d(We,"pathname",Ve("getPathname","setPathname")),d(We,"search",Ve("getSearch","setSearch")),d(We,"searchParams",Ve("getSearchParams")),d(We,"hash",Ve("getHash","setHash"))),u(We,"toJSON",function(){return S(this).serialize()},{enumerable:!0}),u(We,"toString",function(){return S(this).serialize()},{enumerable:!0}),O){var ze=O.createObjectURL,Fe=O.revokeObjectURL;ze&&u(Ue,"createObjectURL",c(ze,O)),Fe&&u(Ue,"revokeObjectURL",c(Fe,O))}y(Ue,"URL"),i({global:!0,constructor:!0,forced:!s,sham:!o},{URL:Ue})},3296(e,t,r){"use strict";r(45806)},27208(e,t,r){"use strict";var n=r(46518),i=r(69565);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},86780(e,t,r){"use strict";r.r(t),r.d(t,{CompressionError:()=>n,PropertyObserver:()=>b,VirtualDOM:()=>g,depthFirstPostOrderMap:()=>c,depthFirstPreOrder:()=>l,depthFirstPreOrderMap:()=>a,isxdoc:()=>I,parents:()=>w});class n{constructor(e,t){this._message=e,this._node=t}get message(){return this._message}get node(){return this._node}}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r;let n;const i=t(e,function(){n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]});return n=null!=n?n:e.childNodes,null!==(r=n)&&void 0!==r&&r.length?o(o({},i),{},{childNodes:Array.from(n).map(e=>a(e,t))}):i}function c(e,t){const r=Array.from(e.childNodes||[]).map(e=>c(e,t));return t(e,r)}function l(e,t){const r=[e];for(;r.length>0;){var n;const e=r.pop();let i;if(t(e,e=>i=null!=e?e:[]),i=null!=i?i:e.childNodes,null!==(n=i)&&void 0!==n&&n.length)for(let e=i.length-1;e>=0;e--)r.push(i[e])}}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function p(e,t){return e.get(_(e,t))}function _(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}r(16280),r(44114),r(13609),r(18111),r(22489),r(7588),r(61701),r(13579),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(62953);var v=new WeakMap,E=new WeakMap,m=new WeakMap;class g{constructor(e){var t,r;h(this,v,void 0),h(this,E,{}),h(this,m,{}),r=e,(t=v).set(_(t,this),r)}get id(){return p(v,this)}get document(){return p(E,this)[p(v,this)]||{id:p(v,this),childNodes:[]}}node(e){return p(E,this)[(null==e?void 0:e.id)||e]}parent(e){return this.node(p(m,this)[(null==e?void 0:e.id)||e])}path(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set([p(v,this)]),r=this.node(e);if(!r)return null;const n=[],i=new Set;for(;r&&!t.has(r.id);){const e=this.parent(r);if(!e)return null;if(!e.childNodes.some(e=>(e.id||e)===r.id))return null;if(i.has(e))throw new Error("cycle detected in VirtualDOM path computation");n.unshift(e),i.add(e),r=e}return n}applyPatch(e){const t=new Set;for(const r of e)if(r.id){const e=p(E,this)[r.id]||{},n=d(d({},e),r);p(E,this)[r.id]=n,t.add(r.id);const i=new Set((e.childNodes||[]).map(e=>e.id||e)),o=new Set((n.childNodes||[]).map(e=>e.id||e));o.forEach(e=>{p(m,this)[e]=n.id}),i.difference(o).forEach(e=>{l(this.node(e),e=>{t.add(e.id)})})}else console.warn("diff missing id",r);const r=new Set([p(v,this)]);return t.forEach(e=>{const n=this.path(e,r);if(!n)return delete p(E,this)[e],t.delete(e),void delete p(m,this)[e];for(const e of n)t.has(e.id)||(t.add(e.id),p(E,this)[e.id]=d({},e)),r.add(e.id)}),t.forEach(e=>{const t=p(E,this)[e];t.childNodes=(t.childNodes||[]).map(e=>{const r=e.id||e,i=p(E,this)[r];if(!i)throw new n("denormalisation failed for child ".concat(r),t);return i})}),this}}function y(e){try{return!e.document&&!1}catch(e){return!0}}function I(e){return!!y(e)||!("IFRAME"!==e.tagName||!y(e.contentWindow))}function w(e,t){const r=[];let n=e;for(;n.parentNode&&n.parentNode!==t;)r.push(n.parentNode),n=n.parentNode;if(n instanceof ShadowRoot)return[...r,n.host,...w(n.host,t)];const i=n.defaultView&&n.defaultView.frameElement;return i?[...r,i,...w(i)]:r}class b{constructor(e){this.onPropertySet=e,this._klasses=new Set}_trackObserver(e){e.__cbio_observers||(e.__cbio_observers=new Set),e.__cbio_observers.add(this)}_untrackObserver(e){e.__cbio_observers&&e.__cbio_observers.delete(this)}_tap(e,t){if(e["__cbio_override_".concat(t)])return;const r=Object.getOwnPropertyDescriptor(e.prototype,t);if(!r)return;e["__cbio_override_".concat(t)]=!0;const n=r.set;r.set=function(r){n.call(this,r),e.__cbio_observers&&e.__cbio_observers.forEach(e=>{e.onPropertySet(this,t,r)})},Object.defineProperty(e.prototype,t,r)}observe(e,t){this._klasses.add(e),this._trackObserver(e),this._tap(e,t)}disconnect(){this._klasses.forEach(e=>this._untrackObserver(e)),this._klasses.clear()}}},42074(e,t,r){"use strict";r.r(t),r.d(t,{ActivityDetection:()=>O,CBORSocket:()=>le,IFrameBridge:()=>Le,IFrameRPC:()=>Te,closestXdocParent:()=>Me,createPatternMatcher:()=>fe,isValidPattern:()=>de,isxdoc:()=>Re}),r(89463),r(66412),r(16280),r(44114),r(94490),r(26910),r(13609),r(54743),r(11745),r(16573),r(78100),r(77936),r(55081),r(18111),r(20116),r(7588),r(61701),r(33110),r(84864),r(57465),r(27495),r(69479),r(17642),r(58004),r(33853),r(45876),r(32475),r(15024),r(31698),r(34594),r(29833),r(46594),r(72107),r(95477),r(21489),r(22134),r(3690),r(61740),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623),r(62953);var n=r(37007),i=r(7350),o=r(51227),s=r(37047),a=r(56086);function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function u(e,t){return e.get(f(e,t))}function d(e,t,r){return e.set(f(e,t),r),r}function f(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function h(e){return function(){return new p(e.apply(this,arguments))}}function p(e){var t,r;function n(t,r){try{var o=e[t](r),s=o.value,a=s instanceof E;Promise.resolve(a?s.v:s).then(function(r){if(a){var c="return"===t?"return":"next";if(!s.k||r.done)return n(c,r);r=e[c](r).value}i(o.done?"return":"normal",r)},function(e){n("throw",e)})}catch(e){i("throw",e)}}function i(e,i){switch(e){case"return":t.resolve({value:i,done:!0});break;case"throw":t.reject(i);break;default:t.resolve({value:i,done:!1})}(t=t.next)?n(t.key,t.arg):r=null}this._invoke=function(e,i){return new Promise(function(o,s){var a={key:e,arg:i,resolve:o,reject:s,next:null};r?r=r.next=a:(t=r=a,n(e,i))})},"function"!=typeof e.return&&(this.return=void 0)}function _(e){return new E(e,0)}function v(e){var t={},r=!1;function n(t,n){return r=!0,n=new Promise(function(r){r(e[t](n))}),{done:!1,value:new E(n,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):n("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return n("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):n("return",e)}),t}function E(e,t){this.v=e,this.k=t}function m(e){var t,r,n,i=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new g(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function g(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:t}})}return g=function(e){this.s=e,this.n=e.next},g.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new g(e)}p.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},p.prototype.next=function(e){return this._invoke("next",e)},p.prototype.throw=function(e){return this._invoke("throw",e)},p.prototype.return=function(e){return this._invoke("return",e)};const y=o("cbio.ActivityDetection");var I=new WeakMap,w=new WeakMap,b=new WeakMap,L=new WeakMap,S=new WeakMap,C=new WeakMap,A=new WeakMap;class O extends n.EventEmitter{constructor(e){super(),l(this,I,!1),l(this,w,!1),l(this,b,null),l(this,L,9e5),c(this,"start",()=>{u(I,this)||(d(I,this,!0),y("started"),document.addEventListener("mouseenter",u(S,this),{capture:!0,passive:!0}),document.addEventListener("mouseleave",u(S,this),{capture:!0,passive:!0}),document.addEventListener("mousemove",u(S,this),{capture:!0,passive:!0}),document.addEventListener("touchstart",u(S,this),{capture:!0,passive:!0}),document.addEventListener("touchend",u(S,this),{capture:!0,passive:!0}),document.addEventListener("touchmove",u(S,this),{capture:!0,passive:!0}),document.addEventListener("visibilitychange",u(S,this),{capture:!0}),u(S,this).call(this))}),c(this,"stop",()=>{d(w,this,!1),d(I,this,!1),y("stopped"),clearTimeout(u(b,this)),this.removeAllListeners(),document.removeEventListener("mouseenter",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("mouseleave",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("mousemove",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("touchstart",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("touchend",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("touchmove",u(S,this),{capture:!0,passive:!0}),document.removeEventListener("visibilitychange",u(S,this),{capture:!0})}),c(this,"isActive",()=>u(w,this)),l(this,S,i(()=>{u(C,this).call(this),clearTimeout(u(b,this)),d(b,this,setTimeout(u(A,this),u(L,this))),this.emit("activity")},500,{trailing:!1})),l(this,C,()=>{u(w,this)||(document.hidden?y("window is hidden, not becoming active"):(d(w,this,!0),y("became active"),this.emit("active")))}),l(this,A,()=>{u(w,this)&&(d(w,this,!1),y("became inactive"),this.emit("inactive"))}),e&&d(L,this,e)}}var N,T={exports:{}},P=(N||(N=1,function(e){let t,r,n;try{t=new TextDecoder}catch(e){}let i=0;const o={};let s,a,c,l,u,d,f,p=11281e4,E=1681e4,g={},y=0,I=0,w=[],b=[],L={useRecords:!1,mapsAsObjects:!0},S=!1,C=2;var A;try{new A("")}catch(e){C=1/0}class O{constructor(e){if(e&&(!e.keyMap&&!e._keyMap||e.useRecords||(e.useRecords=!1,e.mapsAsObjects=!0),!1===e.useRecords&&void 0===e.mapsAsObjects&&(e.mapsAsObjects=!0),e.getStructures&&(e.getShared=e.getStructures),e.getShared&&!e.structures&&((e.structures=[]).uninitialized=!0),e.keyMap)){this.mapKey=new Map;for(let[t,r]of Object.entries(e.keyMap))this.mapKey.set(r,t)}Object.assign(this,e)}decodeKey(e){return this.keyMap&&this.mapKey.get(e)||e}encodeKey(e){return this.keyMap&&this.keyMap.hasOwnProperty(e)?this.keyMap[e]:e}encodeKeys(e){if(!this._keyMap)return e;let t=new Map;for(let[r,n]of Object.entries(e))t.set(this._keyMap.hasOwnProperty(r)?this._keyMap[r]:r,n);return t}decodeKeys(e){if(!this._keyMap||"Map"!=e.constructor.name)return e;if(!this._mapKey){this._mapKey=new Map;for(let[e,t]of Object.entries(this._keyMap))this._mapKey.set(t,e)}let t={};return e.forEach((e,r)=>t[M(this._mapKey.has(r)?this._mapKey.get(r):r)]=e),t}mapDecode(e,t){let r=this.decode(e);return this._keyMap&&"Array"===r.constructor.name?r.map(e=>this.decodeKeys(e)):r}decode(e,t){if(r)return Z(()=>($(),this?this.decode(e,t):O.prototype.decode.call(L,e,t)));n=t>-1?t:e.length,i=0,I=0,a=null,c=null,r=e;try{d=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(t){if(r=null,e instanceof Uint8Array)throw t;throw new Error("Source must be a Uint8Array or Buffer but was a "+(e&&"object"==typeof e?e.constructor.name:typeof e))}if(this instanceof O){if(g=this,u=this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),this.structures)return s=this.structures,N();(!s||s.length>0)&&(s=[])}else g=L,(!s||s.length>0)&&(s=[]),u=null;return N()}decodeMultiple(e,t){let r,n=0;try{let o=e.length;S=!0;let s=this?this.decode(e,o):te.decode(e,o);if(!t){for(r=[s];i<o;)n=i,r.push(N());return r}if(!1===t(s))return;for(;i<o;)if(n=i,!1===t(N()))return}catch(e){throw e.lastPosition=n,e.values=r,e}finally{S=!1,$()}}}function N(){try{let e=T();if(c){if(i>=c.postBundlePosition){let e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}i=c.postBundlePosition,c=null}if(i==n)s=null,r=null,l&&(l=null);else{if(i>n){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}if(!S)throw new Error("Data read, but end of buffer not reached")}return e}catch(e){throw $(),(e instanceof RangeError||e.message.startsWith("Unexpected end of buffer"))&&(e.incomplete=!0),e}}function T(){let e=r[i++],t=e>>5;if(e&=31,e>23)switch(e){case 24:e=r[i++];break;case 25:if(7==t)return function(){let e=r[i++],t=r[i++],n=(127&e)>>2;if(31===n)return t||3&e?NaN:128&e?-1/0:1/0;if(0===n){let r=((3&e)<<8|t)/(1<<24);return 128&e?-r:r}return U[3]=128&e|56+(n>>1),U[2]=(7&e)<<5|t>>3,U[1]=t<<5,U[0]=0,G[0]}();e=d.getUint16(i),i+=2;break;case 26:if(7==t){let e=d.getFloat32(i);if(g.useFloat32>2){let t=ee[(127&r[i])<<1|r[i+1]>>7];return i+=4,(t*e+(e>0?.5:-.5)|0)/t}return i+=4,e}e=d.getUint32(i),i+=4;break;case 27:if(7==t){let e=d.getFloat64(i);return i+=8,e}if(t>1){if(d.getUint32(i)>0)throw new Error("JavaScript does not support arrays, maps, or strings with length over 4294967295");e=d.getUint32(i+4)}else g.int64AsNumber?(e=4294967296*d.getUint32(i),e+=d.getUint32(i+4)):e=d.getBigUint64(i);i+=8;break;case 31:switch(t){case 2:case 3:throw new Error("Indefinite length not supported for byte or text strings");case 4:let e,r=[],n=0;for(;(e=T())!=o;){if(n>=p)throw new Error("Array length exceeds ".concat(p));r[n++]=e}return 4==t?r:3==t?r.join(""):Buffer.concat(r);case 5:let i;if(g.mapsAsObjects){let e={},t=0;if(g.keyMap)for(;(i=T())!=o;){if(t++>=E)throw new Error("Property count exceeds ".concat(E));e[M(g.decodeKey(i))]=T()}else for(;(i=T())!=o;){if(t++>=E)throw new Error("Property count exceeds ".concat(E));e[M(i)]=T()}return e}{f&&(g.mapsAsObjects=!0,f=!1);let e=new Map;if(g.keyMap){let t=0;for(;(i=T())!=o;){if(t++>=E)throw new Error("Map size exceeds ".concat(E));e.set(g.decodeKey(i),T())}}else{let t=0;for(;(i=T())!=o;){if(t++>=E)throw new Error("Map size exceeds ".concat(E));e.set(i,T())}}return e}case 7:return o;default:throw new Error("Invalid major type for indefinite length "+t)}default:throw new Error("Unknown token "+e)}switch(t){case 0:return e;case 1:return~e;case 2:return l=e,g.copyBuffers?Uint8Array.prototype.slice.call(r,i,i+=l):r.subarray(i,i+=l);case 3:if(I>=i)return a.slice(i-y,(i+=e)-y);if(0==I&&n<140&&e<32){let t=e<16?j(e):function(e){let t=i,n=new Array(e);for(let o=0;o<e;o++){const e=r[i++];if((128&e)>0)return void(i=t);n[o]=e}return x.apply(String,n)}(e);if(null!=t)return t}return k(e);case 4:if(e>=p)throw new Error("Array length exceeds ".concat(p));let t=new Array(e);for(let r=0;r<e;r++)t[r]=T();return t;case 5:if(e>=E)throw new Error("Map size exceeds ".concat(p));if(g.mapsAsObjects){let t={};if(g.keyMap)for(let r=0;r<e;r++)t[M(g.decodeKey(T()))]=T();else for(let r=0;r<e;r++)t[M(T())]=T();return t}{f&&(g.mapsAsObjects=!0,f=!1);let t=new Map;if(g.keyMap)for(let r=0;r<e;r++)t.set(g.decodeKey(T()),T());else for(let r=0;r<e;r++)t.set(T(),T());return t}case 6:if(e>=57337){let t=s[8191&e];if(t)return t.read||(t.read=R(t)),t.read();if(e<65536){if(57343==e){let e=X(),t=T(),r=T();V(t,r);let n={};if(g.keyMap)for(let t=2;t<e;t++)n[M(g.decodeKey(r[t-2]))]=T();else for(let t=2;t<e;t++)n[M(r[t-2])]=T();return n}if(57342==e){let e=X(),t=T();for(let r=2;r<e;r++)V(t++,T());return T()}if(57337==e)return function(){let e=X(),t=i+T();for(let t=2;t<e;t++){let e=X();i+=e}let r=i;return i=t,c=[D(X()),D(X())],c.position0=0,c.position1=0,c.postBundlePosition=i,i=r,T()}();if(g.getShared&&(q(),t=s[8191&e],t))return t.read||(t.read=R(t)),t.read()}}let o=w[e];if(o)return o.handlesRead?o(T):o(T());{let t=T();for(let r=0;r<b.length;r++){let n=b[r](e,t);if(void 0!==n)return n}return new W(t,e)}case 7:switch(e){case 20:return!1;case 21:return!0;case 22:return null;case 23:return;default:let t=(u||H())[e];if(void 0!==t)return t;throw new Error("Unknown token "+e)}default:if(isNaN(e)){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}throw new Error("Unknown CBOR token "+e)}var l}const P=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;function R(e){if(!e)throw new Error("Structure is required in record definition");return e.slowReads=0,function(){let e=r[i++];if(e&=31,e>23)switch(e){case 24:e=r[i++];break;case 25:e=d.getUint16(i),i+=2;break;case 26:e=d.getUint32(i),i+=4;break;default:throw new Error("Expected array header, but got "+r[i-1])}let t=this.compiledReader;for(;t;){if(t.propertyCount===e)return t(T);t=t.next}if(this.slowReads++>=C){let r=this.length==e?this:this.slice(0,e);return t=g.keyMap?new A("r","return {"+r.map(e=>g.decodeKey(e)).map(e=>P.test(e)?M(e)+":r()":"["+JSON.stringify(e)+"]:r()").join(",")+"}"):new A("r","return {"+r.map(e=>P.test(e)?M(e)+":r()":"["+JSON.stringify(e)+"]:r()").join(",")+"}"),this.compiledReader&&(t.next=this.compiledReader),t.propertyCount=e,this.compiledReader=t,t(T)}let n={};if(g.keyMap)for(let t=0;t<e;t++)n[M(g.decodeKey(this[t]))]=T();else for(let t=0;t<e;t++)n[M(this[t])]=T();return n}}function M(e){if("string"==typeof e)return"__proto__"===e?"__proto_":e;if("number"==typeof e||"boolean"==typeof e||"bigint"==typeof e)return e.toString();if(null==e)return e+"";throw new Error("Invalid property name type "+typeof e)}let k=D;function D(e){let n;if(e<16&&(n=j(e)))return n;if(e>64&&t)return t.decode(r.subarray(i,i+=e));const o=i+e,s=[];for(n="";i<o;){const e=r[i++];if(128&e)if(192==(224&e)){const t=63&r[i++];s.push((31&e)<<6|t)}else if(224==(240&e)){const t=63&r[i++],n=63&r[i++];s.push((31&e)<<12|t<<6|n)}else if(240==(248&e)){let t=(7&e)<<18|(63&r[i++])<<12|(63&r[i++])<<6|63&r[i++];t>65535&&(t-=65536,s.push(t>>>10&1023|55296),t=56320|1023&t),s.push(t)}else s.push(e);else s.push(e);s.length>=4096&&(n+=x.apply(String,s),s.length=0)}return s.length>0&&(n+=x.apply(String,s)),n}let x=String.fromCharCode;function j(e){if(e<4){if(e<2){if(0===e)return"";{let e=r[i++];return(128&e)>1?void(i-=1):x(e)}}{let t=r[i++],n=r[i++];if((128&t)>0||(128&n)>0)return void(i-=2);if(e<3)return x(t,n);let o=r[i++];return(128&o)>0?void(i-=3):x(t,n,o)}}{let t=r[i++],n=r[i++],o=r[i++],s=r[i++];if((128&t)>0||(128&n)>0||(128&o)>0||(128&s)>0)return void(i-=4);if(e<6){if(4===e)return x(t,n,o,s);{let e=r[i++];return(128&e)>0?void(i-=5):x(t,n,o,s,e)}}if(e<8){let a=r[i++],c=r[i++];if((128&a)>0||(128&c)>0)return void(i-=6);if(e<7)return x(t,n,o,s,a,c);let l=r[i++];return(128&l)>0?void(i-=7):x(t,n,o,s,a,c,l)}{let a=r[i++],c=r[i++],l=r[i++],u=r[i++];if((128&a)>0||(128&c)>0||(128&l)>0||(128&u)>0)return void(i-=8);if(e<10){if(8===e)return x(t,n,o,s,a,c,l,u);{let e=r[i++];return(128&e)>0?void(i-=9):x(t,n,o,s,a,c,l,u,e)}}if(e<12){let d=r[i++],f=r[i++];if((128&d)>0||(128&f)>0)return void(i-=10);if(e<11)return x(t,n,o,s,a,c,l,u,d,f);let h=r[i++];return(128&h)>0?void(i-=11):x(t,n,o,s,a,c,l,u,d,f,h)}{let d=r[i++],f=r[i++],h=r[i++],p=r[i++];if((128&d)>0||(128&f)>0||(128&h)>0||(128&p)>0)return void(i-=12);if(e<14){if(12===e)return x(t,n,o,s,a,c,l,u,d,f,h,p);{let e=r[i++];return(128&e)>0?void(i-=13):x(t,n,o,s,a,c,l,u,d,f,h,p,e)}}{let _=r[i++],v=r[i++];if((128&_)>0||(128&v)>0)return void(i-=14);if(e<15)return x(t,n,o,s,a,c,l,u,d,f,h,p,_,v);let E=r[i++];return(128&E)>0?void(i-=15):x(t,n,o,s,a,c,l,u,d,f,h,p,_,v,E)}}}}}let G=new Float32Array(1),U=new Uint8Array(G.buffer,0,4);new Array(4096);class W{constructor(e,t){this.value=e,this.tag=t}}w[0]=e=>new Date(e),w[1]=e=>new Date(Math.round(1e3*e)),w[2]=e=>{let t=BigInt(0);for(let r=0,n=e.byteLength;r<n;r++)t=BigInt(e[r])+(t<<BigInt(8));return t},w[3]=e=>BigInt(-1)-w[2](e),w[4]=e=>+(e[1]+"e"+e[0]),w[5]=e=>e[1]*Math.exp(e[0]*Math.log(2));const V=(e,t)=>{let r=s[e-=57344];r&&r.isShared&&((s.restoreStructures||(s.restoreStructures=[]))[e]=r),s[e]=t,t.read=R(t)};w[105]=e=>{let t=e.length,r=e[1];V(e[0],r);let n={};for(let i=2;i<t;i++)n[M(r[i-2])]=e[i];return n},w[14]=e=>c?c[0].slice(c.position0,c.position0+=e):new W(e,14),w[15]=e=>c?c[1].slice(c.position1,c.position1+=e):new W(e,15);let z={Error,RegExp};w[27]=e=>(z[e[0]]||Error)(e[1],e[2]);const F=e=>{if(132!=r[i++]){let e=new Error("Packed values structure must be followed by a 4 element array");throw r.length<i&&(e.incomplete=!0),e}let t=e();if(!t||!t.length){let e=new Error("Packed values structure must be followed by a 4 element array");throw e.incomplete=!0,e}return u=u?t.concat(u.slice(t.length)):t,u.prefixes=e(),u.suffixes=e(),e()};function B(e,t){return"string"==typeof e?e+t:e instanceof Array?e.concat(t):Object.assign({},e,t)}function H(){if(!u){if(!g.getShared)throw new Error("No packed values available");q()}return u}F.handlesRead=!0,w[51]=F,w[6]=e=>{if(!u){if(!g.getShared)return new W(e,6);q()}if("number"==typeof e)return u[16+(e>=0?2*e:-2*e-1)];let t=new Error("No support for non-integer packed references yet");throw void 0===e&&(t.incomplete=!0),t},w[28]=e=>{l||(l=new Map,l.id=0);let t,n=l.id++,o=i;t=r[i]>>5==4?[]:{};let s={target:t};l.set(n,s);let a=e();return s.used?(Object.getPrototypeOf(t)!==Object.getPrototypeOf(a)&&(i=o,t=a,l.set(n,{target:t}),a=e()),Object.assign(t,a)):(s.target=a,a)},w[28].handlesRead=!0,w[29]=e=>{let t=l.get(e);return t.used=!0,t.target},w[258]=e=>new Set(e),(w[259]=e=>(g.mapsAsObjects&&(g.mapsAsObjects=!1,f=!0),e())).handlesRead=!0;b.push((e,t)=>e>=225&&e<=255?B(H().prefixes[e-224],t):e>=28704&&e<=32767?B(H().prefixes[e-28672],t):e>=1879052288&&e<=2147483647?B(H().prefixes[e-1879048192],t):e>=216&&e<=223?B(t,H().suffixes[e-216]):e>=27647&&e<=28671?B(t,H().suffixes[e-27639]):e>=1811940352&&e<=1879048191?B(t,H().suffixes[e-1811939328]):1399353956==e?{packedValues:u,structures:s.slice(0),version:t}:55799==e?t:void 0);const Y=1==new Uint8Array(new Uint16Array([1]).buffer)[0],Q=[Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,"undefined"==typeof BigUint64Array?{name:"BigUint64Array"}:BigUint64Array,Int8Array,Int16Array,Int32Array,"undefined"==typeof BigInt64Array?{name:"BigInt64Array"}:BigInt64Array,Float32Array,Float64Array],J=[64,68,69,70,71,72,77,78,79,85,86];for(let e=0;e<Q.length;e++)K(Q[e],J[e]);function K(e,t){let r,n="get"+e.name.slice(0,-5);"function"==typeof e?r=e.BYTES_PER_ELEMENT:e=null;for(let i=0;i<2;i++){if(!i&&1==r)continue;let o=2==r?1:4==r?2:8==r?3:0;w[i?t:t-4]=1==r||i==Y?n=>{if(!e)throw new Error("Could not find typed array for code "+t);return g.copyBuffers||1!==r&&(2!==r||1&n.byteOffset)&&(4!==r||3&n.byteOffset)&&(8!==r||7&n.byteOffset)?new e(Uint8Array.prototype.slice.call(n,0).buffer):new e(n.buffer,n.byteOffset,n.byteLength>>o)}:r=>{if(!e)throw new Error("Could not find typed array for code "+t);let s=new DataView(r.buffer,r.byteOffset,r.byteLength),a=r.length>>o,c=new e(a),l=s[n];for(let e=0;e<a;e++)c[e]=l.call(s,e<<o,i);return c}}}function X(){let e=31&r[i++];if(e>23)switch(e){case 24:e=r[i++];break;case 25:e=d.getUint16(i),i+=2;break;case 26:e=d.getUint32(i),i+=4}return e}function q(){if(g.getShared){let e=Z(()=>(r=null,g.getShared()))||{},t=e.structures||[];g.sharedVersion=e.version,u=g.sharedValues=e.packedValues,!0===s?g.structures=s=t:s.splice.apply(s,[0,t.length].concat(t))}}function Z(e){let t=n,o=i,u=y,f=I,h=a,p=l,_=c,v=new Uint8Array(r.slice(0,n)),E=s,m=g,w=S,b=e();return n=t,i=o,y=u,I=f,a=h,l=p,c=_,r=v,S=w,s=E,g=m,d=new DataView(r.buffer,r.byteOffset,r.byteLength),b}function $(){r=null,l=null,s=null}const ee=new Array(147);for(let e=0;e<256;e++)ee[e]=+("1e"+Math.floor(45.15-.30103*e));let te=new O({useRecords:!1});const re=te.decode,ne=te.decodeMultiple,ie={NEVER:0,ALWAYS:1,DECIMAL_ROUND:3,DECIMAL_FIT:4};let oe,se,ae;try{oe=new TextEncoder}catch(e){}const ce="object"==typeof globalThis&&globalThis.Buffer,le=void 0!==ce,ue=le?ce.allocUnsafeSlow:Uint8Array,de=le?ce:Uint8Array,fe=le?4294967296:2144337920;let he,pe,_e,ve,Ee=0,me=null;const ge=/[\u0080-\uFFFF]/,ye=Symbol("record-id");class Ie extends O{constructor(e){let t,r,n,i,o;super(e),this.offset=0,e=e||{};let s=de.prototype.utf8Write?function(e,t,r){return pe.utf8Write(e,t,r)}:!(!oe||!oe.encodeInto)&&function(e,t){return oe.encodeInto(e,pe.subarray(t)).written},a=this,c=e.structures||e.saveStructures,l=e.maxSharedStructures;if(null==l&&(l=c?128:0),l>8190)throw new Error("Maximum maxSharedStructure is 8190");let u=e.sequential;u&&(l=0),this.structures||(this.structures=[]),this.saveStructures&&(this.saveShared=this.saveStructures);let d,f,p,E=e.sharedValues;if(E){p=Object.create(null);for(let e=0,t=E.length;e<t;e++)p[E[e]]=e}let g=[],y=0,I=0;this.mapEncode=function(e,t){return this._keyMap&&!this._mapped&&"Array"===e.constructor.name&&(e=e.map(e=>this.encodeKeys(e))),this.encode(e,t)},this.encode=function(s,c){if(pe||(pe=new ue(8192),_e=new DataView(pe.buffer,0,8192),Ee=0),ve=pe.length-10,ve-Ee<2048?(pe=new ue(pe.length),_e=new DataView(pe.buffer,0,pe.length),ve=pe.length-10,Ee=0):c===We&&(Ee=Ee+7&2147483640),t=Ee,a.useSelfDescribedHeader&&(_e.setUint32(Ee,3654940416),Ee+=3),o=a.structuredClone?new Map:null,a.bundleStrings&&"string"!=typeof s?(me=[],me.size=1/0):me=null,r=a.structures,r){if(r.uninitialized){let e=a.getShared()||{};a.structures=r=e.structures||[],a.sharedVersion=e.version;let t=a.sharedValues=e.packedValues;if(t){p={};for(let e=0,r=t.length;e<r;e++)p[t[e]]=e}}let e=r.length;if(e>l&&!u&&(e=l),!r.transitions){r.transitions=Object.create(null);for(let t=0;t<e;t++){let e=r[t];if(!e)continue;let n,i=r.transitions;for(let r=0,o=e.length;r<o;r++){void 0===i[ye]&&(i[ye]=t);let o=e[r];n=i[o],n||(n=i[o]=Object.create(null)),i=n}i[ye]=1048576|t}}u||(r.nextId=e)}if(n&&(n=!1),i=r||[],f=p,e.pack){let t=new Map;if(t.values=[],t.encoder=a,t.maxValues=e.maxPrivatePackedValues||(p?16:1/0),t.objectMap=p||!1,t.samplingPackedValues=d,Ae(s,t),t.values.length>0){pe[Ee++]=216,pe[Ee++]=51,Le(4);let e=t.values;w(e),Le(0),Le(0),f=Object.create(p||null);for(let t=0,r=e.length;t<r;t++)f[e[t]]=t}}he=c&ze;try{if(he)return;if(w(s),me&&Pe(t,w),a.offset=Ee,o&&o.idsToInsert){Ee+=2*o.idsToInsert.length,Ee>ve&&L(Ee),a.offset=Ee;let e=function(e,t){let r,n=2*t.length,i=e.length-n;t.sort((e,t)=>e.offset>t.offset?1:-1);for(let r=0;r<t.length;r++){let n=t[r];n.id=r;for(let t of n.references)e[t++]=r>>8,e[t]=255&r}for(;r=t.pop();){let t=r.offset;e.copyWithin(t+n,t,i),n-=2;let o=t+n;e[o++]=216,e[o++]=28,i=t}return e}(pe.subarray(t,Ee),o.idsToInsert);return o=null,e}return c&We?(pe.start=t,pe.end=Ee,pe):pe.subarray(t,Ee)}finally{if(r)if(I<10&&I++,r.length>l&&(r.length=l),y>1e4)r.transitions=null,I=0,y=0,g.length>0&&(g=[]);else if(g.length>0&&!u){for(let e=0,t=g.length;e<t;e++)g[e][ye]=void 0;g=[]}if(n&&a.saveShared){a.structures.length>l&&(a.structures=a.structures.slice(0,l));let e=pe.subarray(t,Ee);return!1===a.updateSharedData()?a.encode(s):e}c&Ve&&(Ee=t)}},this.findCommonStringsToPack=()=>(d=new Map,p||(p=Object.create(null)),e=>{let t=e&&e.threshold||4,r=this.pack?e.maxPrivatePackedValues||16:0;E||(E=this.sharedValues=[]);for(let[e,i]of d)i.count>t&&(p[e]=r++,E.push(e),n=!0);for(;this.saveShared&&!1===this.updateSharedData(););d=null});const w=r=>{Ee>ve&&(pe=L(Ee));var n,i=typeof r;if("string"===i){if(f){let t=f[r];if(t>=0)return void(t<16?pe[Ee++]=t+224:(pe[Ee++]=198,w(1&t?15-t>>1:t-16>>1)));if(d&&!e.pack){let e=d.get(r);e?e.count++:d.set(r,{count:1})}}let i,o=r.length;if(me&&o>=4&&o<1024){if((me.size+=o)>61440){let e,r=(me[0]?3*me[0].length+me[1].length:0)+10;Ee+r>ve&&(pe=L(Ee+r)),pe[Ee++]=217,pe[Ee++]=223,pe[Ee++]=249,pe[Ee++]=me.position?132:130,pe[Ee++]=26,e=Ee-t,Ee+=4,me.position&&Pe(t,w),me=["",""],me.size=0,me.position=e}let e=ge.test(r);return me[e?0:1]+=r,pe[Ee++]=e?206:207,void w(o)}i=o<32?1:o<256?2:o<65536?3:5;let a=3*o;if(Ee+a>ve&&(pe=L(Ee+a)),o<64||!s){let e,t,s,a=Ee+i;for(e=0;e<o;e++)t=r.charCodeAt(e),t<128?pe[a++]=t:t<2048?(pe[a++]=t>>6|192,pe[a++]=63&t|128):55296==(64512&t)&&56320==(64512&(s=r.charCodeAt(e+1)))?(t=65536+((1023&t)<<10)+(1023&s),e++,pe[a++]=t>>18|240,pe[a++]=t>>12&63|128,pe[a++]=t>>6&63|128,pe[a++]=63&t|128):(pe[a++]=t>>12|224,pe[a++]=t>>6&63|128,pe[a++]=63&t|128);n=a-Ee-i}else n=s(r,Ee+i,a);n<24?pe[Ee++]=96|n:n<256?(i<2&&pe.copyWithin(Ee+2,Ee+1,Ee+1+n),pe[Ee++]=120,pe[Ee++]=n):n<65536?(i<3&&pe.copyWithin(Ee+3,Ee+2,Ee+2+n),pe[Ee++]=121,pe[Ee++]=n>>8,pe[Ee++]=255&n):(i<5&&pe.copyWithin(Ee+5,Ee+3,Ee+3+n),pe[Ee++]=122,_e.setUint32(Ee,n),Ee+=4),Ee+=n}else if("number"===i)if(this.alwaysUseFloat||r>>>0!==r)if(this.alwaysUseFloat||(0|r)!==r){let e;if((e=this.useFloat32)>0&&r<4294967296&&r>=-2147483648){let t;if(pe[Ee++]=250,_e.setFloat32(Ee,r),e<4||(0|(t=r*ee[(127&pe[Ee])<<1|pe[Ee+1]>>7]))===t)return void(Ee+=4);Ee--}pe[Ee++]=251,_e.setFloat64(Ee,r),Ee+=8}else r>=-24?pe[Ee++]=31-r:r>=-256?(pe[Ee++]=56,pe[Ee++]=~r):r>=-65536?(pe[Ee++]=57,_e.setUint16(Ee,~r),Ee+=2):(pe[Ee++]=58,_e.setUint32(Ee,~r),Ee+=4);else r<24?pe[Ee++]=r:r<256?(pe[Ee++]=24,pe[Ee++]=r):r<65536?(pe[Ee++]=25,pe[Ee++]=r>>8,pe[Ee++]=255&r):(pe[Ee++]=26,_e.setUint32(Ee,r),Ee+=4);else if("object"===i)if(r){if(o){let e=o.get(r);if(e){if(pe[Ee++]=216,pe[Ee++]=29,pe[Ee++]=25,!e.references){let t=o.idsToInsert||(o.idsToInsert=[]);e.references=[],t.push(e)}return e.references.push(Ee-t),void(Ee+=2)}o.set(r,{offset:Ee-t})}let e=r.constructor;if(e===Object)b(r);else if(e===Array){(n=r.length)<24?pe[Ee++]=128|n:Le(n);for(let e=0;e<n;e++)w(r[e])}else if(e===Map)if((this.mapsAsObjects?!1!==this.useTag259ForMaps:this.useTag259ForMaps)&&(pe[Ee++]=217,pe[Ee++]=1,pe[Ee++]=3),(n=r.size)<24?pe[Ee++]=160|n:n<256?(pe[Ee++]=184,pe[Ee++]=n):n<65536?(pe[Ee++]=185,pe[Ee++]=n>>8,pe[Ee++]=255&n):(pe[Ee++]=186,_e.setUint32(Ee,n),Ee+=4),a.keyMap)for(let[e,t]of r)w(a.encodeKey(e)),w(t);else for(let[e,t]of r)w(e),w(t);else{for(let e=0,t=se.length;e<t;e++)if(r instanceof ae[e]){let t=se[e],n=t.tag;return null==n&&(n=t.getTag&&t.getTag.call(this,r)),n<24?pe[Ee++]=192|n:n<256?(pe[Ee++]=216,pe[Ee++]=n):n<65536?(pe[Ee++]=217,pe[Ee++]=n>>8,pe[Ee++]=255&n):n>-1&&(pe[Ee++]=218,_e.setUint32(Ee,n),Ee+=4),void t.encode.call(this,r,w,L)}if(r[Symbol.iterator]){if(he){let e=new Error("Iterable should be serialized as iterator");throw e.iteratorNotHandled=!0,e}pe[Ee++]=159;for(let e of r)w(e);return void(pe[Ee++]=255)}if(r[Symbol.asyncIterator]||Ce(r)){let e=new Error("Iterable/blob should be serialized as iterator");throw e.iteratorNotHandled=!0,e}if(this.useToJSON&&r.toJSON){const e=r.toJSON();if(e!==r)return w(e)}b(r)}}else pe[Ee++]=246;else if("boolean"===i)pe[Ee++]=r?245:244;else if("bigint"===i){if(r<BigInt(1)<<BigInt(64)&&r>=0)pe[Ee++]=27,_e.setBigUint64(Ee,r);else if(r>-(BigInt(1)<<BigInt(64))&&r<0)pe[Ee++]=59,_e.setBigUint64(Ee,-r-BigInt(1));else{if(!this.largeBigIntToFloat){r>=BigInt(0)?pe[Ee++]=194:(pe[Ee++]=195,r=BigInt(-1)-r);let e=[];for(;r;)e.push(Number(r&BigInt(255))),r>>=BigInt(8);return void Te(new Uint8Array(e.reverse()),L)}pe[Ee++]=251,_e.setFloat64(Ee,Number(r))}Ee+=8}else{if("undefined"!==i)throw new Error("Unknown type: "+i);pe[Ee++]=247}},b=!1===this.useRecords?this.variableMapSize?e=>{let t=Object.keys(e),r=Object.values(e),n=t.length;if(n<24?pe[Ee++]=160|n:n<256?(pe[Ee++]=184,pe[Ee++]=n):n<65536?(pe[Ee++]=185,pe[Ee++]=n>>8,pe[Ee++]=255&n):(pe[Ee++]=186,_e.setUint32(Ee,n),Ee+=4),a.keyMap)for(let e=0;e<n;e++)w(a.encodeKey(t[e])),w(r[e]);else for(let e=0;e<n;e++)w(t[e]),w(r[e])}:e=>{pe[Ee++]=185;let r=Ee-t;Ee+=2;let n=0;if(a.keyMap)for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(w(a.encodeKey(t)),w(e[t]),n++);else for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(w(t),w(e[t]),n++);pe[r+++t]=n>>8,pe[r+t]=255&n}:(e,t)=>{let r,o,s,a=i.transitions||(i.transitions=Object.create(null)),c=0,u=0;if(this.keyMap){s=Object.keys(e).map(e=>this.encodeKey(e)),u=s.length;for(let e=0;e<u;e++){let t=s[e];r=a[t],r||(r=a[t]=Object.create(null),c++),a=r}}else for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(r=a[t],r||(1048576&a[ye]&&(o=65535&a[ye]),r=a[t]=Object.create(null),c++),a=r,u++);let d=a[ye];if(void 0!==d)d&=65535,pe[Ee++]=217,pe[Ee++]=d>>8|224,pe[Ee++]=255&d;else{if(s||(s=a.__keys__||(a.__keys__=Object.keys(e))),void 0===o?(d=i.nextId++,d||(d=0,i.nextId=1),d>=256&&(i.nextId=(d=l)+1)):d=o,i[d]=s,!(d<l)){if(a[ye]=d,_e.setUint32(Ee,3655335680),Ee+=3,c&&(y+=I*c),g.length>=256-l&&(g.shift()[ye]=void 0),g.push(a),Le(u+2),w(57344+d),w(s),t)return;for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&w(e[t]);return}pe[Ee++]=217,pe[Ee++]=d>>8|224,pe[Ee++]=255&d,a=i.transitions;for(let e=0;e<u;e++)(void 0===a[ye]||1048576&a[ye])&&(a[ye]=d),a=a[s[e]];a[ye]=1048576|d,n=!0}if(u<24?pe[Ee++]=128|u:Le(u),!t)for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&w(e[t])},L=e=>{let r;if(e>16777216){if(e-t>fe)throw new Error("Encoded buffer would be larger than maximum buffer size");r=Math.min(fe,4096*Math.round(Math.max((e-t)*(e>67108864?1.25:2),4194304)/4096))}else r=1+(Math.max(e-t<<2,pe.length-1)>>12)<<12;let n=new ue(r);return _e=new DataView(n.buffer,0,r),pe.copy?pe.copy(n,0,t,e):n.set(pe.slice(t,e)),Ee-=t,t=0,ve=n.length-10,pe=n};let S=100,C=1e3;function*A(e,r,n){let i=e.constructor;if(i===Object){let t=!1!==a.useRecords;t?b(e,!0):we(Object.keys(e).length,160);for(let n in e){let i=e[n];t||w(n),i&&"object"==typeof i?r[n]?yield*A(i,r[n]):yield*O(i,r,n):w(i)}}else if(i===Array){let n=e.length;Le(n);for(let i=0;i<n;i++){let n=e[i];n&&("object"==typeof n||Ee-t>S)?r.element?yield*A(n,r.element):yield*O(n,r,"element"):w(n)}}else if(e[Symbol.iterator]&&!e.buffer){pe[Ee++]=159;for(let n of e)n&&("object"==typeof n||Ee-t>S)?r.element?yield*A(n,r.element):yield*O(n,r,"element"):w(n);pe[Ee++]=255}else Ce(e)?(we(e.size,64),yield pe.subarray(t,Ee),yield e,N()):e[Symbol.asyncIterator]?(pe[Ee++]=159,yield pe.subarray(t,Ee),yield e,N(),pe[Ee++]=255):w(e);n&&Ee>t?yield pe.subarray(t,Ee):Ee-t>S&&(yield pe.subarray(t,Ee),N())}function*O(e,r,n){let i=Ee-t;try{w(e),Ee-t>S&&(yield pe.subarray(t,Ee),N())}catch(o){if(!o.iteratorNotHandled)throw o;r[n]={},Ee=t+i,yield*A.call(this,e,r[n])}}function N(){S=C,a.encode(null,ze)}function T(e,t,r){return S=t&&t.chunkThreshold?C=t.chunkThreshold:100,e&&"object"==typeof e?(a.encode(null,ze),r(e,a.iterateProperties||(a.iterateProperties={}),!0)):[a.encode(e)]}function P(e,t){return R.apply(this,arguments)}function R(){return(R=h(function*(e,t){for(let c of A(e,t,!0)){let e=c.constructor;if(e===de||e===Uint8Array)yield c;else if(Ce(c)){let e,t=c.stream().getReader();for(;!(e=yield _(t.read())).done;)yield e.value}else if(c[Symbol.asyncIterator]){var r,n=!1,i=!1;try{for(var o,s=m(c);n=!(o=yield _(s.next())).done;n=!1){let e=o.value;N(),e?yield*v(m(P(e,t.async||(t.async={})))):yield a.encode(e)}}catch(e){i=!0,r=e}finally{try{n&&null!=s.return&&(yield _(s.return()))}finally{if(i)throw r}}}else yield c}})).apply(this,arguments)}this.encodeAsIterable=function(e,t){return T(e,t,A)},this.encodeAsAsyncIterable=function(e,t){return T(e,t,P)}}useBuffer(e){pe=e,_e=new DataView(pe.buffer,pe.byteOffset,pe.byteLength),Ee=0}clearSharedData(){this.structures&&(this.structures=[]),this.sharedValues&&(this.sharedValues=void 0)}updateSharedData(){let e=this.sharedVersion||0;this.sharedVersion=e+1;let t=this.structures.slice(0),r=new be(t,this.sharedValues,this.sharedVersion),n=this.saveShared(r,t=>(t&&t.version||0)==e);return!1===n?(r=this.getShared()||{},this.structures=r.structures||[],this.sharedValues=r.packedValues,this.sharedVersion=r.version,this.structures.nextId=this.structures.length):t.forEach((e,t)=>this.structures[t]=e),n}}function we(e,t){e<24?pe[Ee++]=t|e:e<256?(pe[Ee++]=24|t,pe[Ee++]=e):e<65536?(pe[Ee++]=25|t,pe[Ee++]=e>>8,pe[Ee++]=255&e):(pe[Ee++]=26|t,_e.setUint32(Ee,e),Ee+=4)}class be{constructor(e,t,r){this.structures=e,this.packedValues=t,this.version=r}}function Le(e){e<24?pe[Ee++]=128|e:e<256?(pe[Ee++]=152,pe[Ee++]=e):e<65536?(pe[Ee++]=153,pe[Ee++]=e>>8,pe[Ee++]=255&e):(pe[Ee++]=154,_e.setUint32(Ee,e),Ee+=4)}const Se="undefined"==typeof Blob?function(){}:Blob;function Ce(e){if(e instanceof Se)return!0;let t=e[Symbol.toStringTag];return"Blob"===t||"File"===t}function Ae(e,t){switch(typeof e){case"string":if(e.length>3){if(t.objectMap[e]>-1||t.values.length>=t.maxValues)return;let r=t.get(e);if(r)2==++r.count&&t.values.push(e);else if(t.set(e,{count:1}),t.samplingPackedValues){let r=t.samplingPackedValues.get(e);r?r.count++:t.samplingPackedValues.set(e,{count:1})}}break;case"object":if(e)if(e instanceof Array)for(let r=0,n=e.length;r<n;r++)Ae(e[r],t);else{let n=!t.encoder.useRecords;for(var r in e)e.hasOwnProperty(r)&&(n&&Ae(r,t),Ae(e[r],t))}break;case"function":console.log(e)}}const Oe=1==new Uint8Array(new Uint16Array([1]).buffer)[0];function Ne(e,t){return!Oe&&t>1&&(e-=4),{tag:e,encode:function(e,t){let r=e.byteLength,n=e.byteOffset||0,i=e.buffer||e;t(le?ce.from(i,n,r):new Uint8Array(i,n,r))}}}function Te(e,t){let r=e.byteLength;r<24?pe[Ee++]=64+r:r<256?(pe[Ee++]=88,pe[Ee++]=r):r<65536?(pe[Ee++]=89,pe[Ee++]=r>>8,pe[Ee++]=255&r):(pe[Ee++]=90,_e.setUint32(Ee,r),Ee+=4),Ee+r>=pe.length&&t(Ee+r),pe.set(e.buffer?e:new Uint8Array(e),Ee),Ee+=r}function Pe(e,t){_e.setUint32(me.position+e,Ee-me.position-e+1);let r=me;me=null,t(r[0]),t(r[1])}ae=[Date,Set,Error,RegExp,W,ArrayBuffer,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,"undefined"==typeof BigUint64Array?function(){}:BigUint64Array,Int8Array,Int16Array,Int32Array,"undefined"==typeof BigInt64Array?function(){}:BigInt64Array,Float32Array,Float64Array,be],se=[{tag:1,encode(e,t){let r=e.getTime()/1e3;(this.useTimestamp32||0===e.getMilliseconds())&&r>=0&&r<4294967296?(pe[Ee++]=26,_e.setUint32(Ee,r),Ee+=4):(pe[Ee++]=251,_e.setFloat64(Ee,r),Ee+=8)}},{tag:258,encode(e,t){t(Array.from(e))}},{tag:27,encode(e,t){t([e.name,e.message])}},{tag:27,encode(e,t){t(["RegExp",e.source,e.flags])}},{getTag:e=>e.tag,encode(e,t){t(e.value)}},{encode(e,t,r){Te(e,r)}},{getTag(e){if(e.constructor===Uint8Array&&(this.tagUint8Array||le&&!1!==this.tagUint8Array))return 64},encode(e,t,r){Te(e,r)}},Ne(68,1),Ne(69,2),Ne(70,4),Ne(71,8),Ne(72,1),Ne(77,2),Ne(78,4),Ne(79,8),Ne(85,4),Ne(86,8),{encode(e,t){let r=e.packedValues||[],n=e.structures||[];if(r.values.length>0){pe[Ee++]=216,pe[Ee++]=51,Le(4);let e=r.values;t(e),Le(0),Le(0),packedObjectMap=Object.create(sharedPackedObjectMap||null);for(let t=0,r=e.length;t<r;t++)packedObjectMap[e[t]]=t}if(n){_e.setUint32(Ee,3655335424),Ee+=3;let r=n.slice(0);r.unshift(57344),r.push(new W(e.version,1399353956)),t(r)}else t(new W(e.version,1399353956))}}];let Re=new Ie({useRecords:!1});const Me=Re.encode,ke=Re.encodeAsIterable,De=Re.encodeAsAsyncIterable,{NEVER:xe,ALWAYS:je,DECIMAL_ROUND:Ge,DECIMAL_FIT:Ue}=ie,We=512,Ve=1024,ze=2048;function Fe(){return(Fe=h(function*(e,t){const r=new Ie(t);var n,i=!1,o=!1;try{for(var s,a=m(e);i=!(s=yield _(a.next())).done;i=!1){const e=s.value;yield r.encode(e)}}catch(e){o=!0,n=e}finally{try{i&&null!=a.return&&(yield _(a.return()))}finally{if(o)throw n}}})).apply(this,arguments)}e.ALWAYS=je,e.DECIMAL_FIT=Ue,e.DECIMAL_ROUND=Ge,e.Decoder=O,e.Encoder=Ie,e.FLOAT32_OPTIONS=ie,e.NEVER=xe,e.REUSE_BUFFER_MODE=We,e.Tag=W,e.addExtension=function(e){if(e.Class){if(!e.encode)throw new Error("Extension has no encode function");ae.unshift(e.Class),se.unshift(e)}!function(e){w[e.tag]=e.decode}(e)},e.clearSource=$,e.decode=re,e.decodeIter=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||"object"!=typeof e)throw new Error("first argument must be an Iterable, Async Iterable, Iterator, Async Iterator, or a promise");const r=new O(t);let n;const i=e=>{let t;n&&(e=Buffer.concat([n,e]),n=void 0);try{t=r.decodeMultiple(e)}catch(r){if(!r.incomplete)throw r;n=e.slice(r.lastPosition),t=r.values}return t};return"function"==typeof e[Symbol.iterator]?function*(){for(const t of e)yield*i(t)}():"function"==typeof e[Symbol.asyncIterator]?(o=h(function*(){var t,r=!1,n=!1;try{for(var o,s=m(e);r=!(o=yield _(s.next())).done;r=!1){const e=o.value;yield*v(m(i(e)))}}catch(e){n=!0,t=e}finally{try{r&&null!=s.return&&(yield _(s.return()))}finally{if(n)throw t}}}),function(){return o.apply(this,arguments)})():void 0;var o},e.decodeMultiple=ne,e.encode=Me,e.encodeAsAsyncIterable=De,e.encodeAsIterable=ke,e.encodeIter=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&"object"==typeof e){if("function"==typeof e[Symbol.iterator])return function*(e,t){const r=new Ie(t);for(const t of e)yield r.encode(t)}(e,t);if("function"==typeof e.then||"function"==typeof e[Symbol.asyncIterator])return function(e,t){return Fe.apply(this,arguments)}(e,t);throw new Error("first argument must be an Iterable, Async Iterable, Iterator, Async Iterator, or a Promise")}throw new Error("first argument must be an Iterable, Async Iterable, or a Promise for an Async Iterable")},e.isNativeAccelerationEnabled=!1,e.roundFloat32=function(e){G[0]=e;let t=ee[(127&U[3])<<1|U[2]>>7];return(t*e+(e>0?.5:-.5)|0)/t},e.setSizeLimits=function(e){e.maxMapSize&&(E=e.maxMapSize),e.maxArraySize&&(p=e.maxArraySize),e.maxObjectSize&&e.maxObjectSize}}(T.exports)),T.exports);const R=(e,t)=>t?.125*e+.875*t:e;var M=new WeakMap,k=new WeakMap,D=new WeakMap,x=new WeakMap,j=new WeakMap;class G{constructor(){l(this,M,void 0),l(this,k,void 0),l(this,D,void 0),l(this,x,void 0),l(this,j,void 0),c(this,"reset",()=>{d(M,this,0),d(k,this,0),d(D,this,0),d(x,this,0),d(j,this,0)}),c(this,"latency",()=>{if(0===u(M,this))return 0;if(u(j,this)>0&&u(M,this)===u(D,this))return u(j,this);const e=Date.now()-u(k,this);return e>u(j,this)?R(e,u(j,this)):u(j,this)}),c(this,"onSent",e=>{u(D,this)<u(M,this)||(d(M,this,e),d(k,this,Date.now()))}),c(this,"onReceived",e=>{let t;if(d(D,this,e),d(x,this,Date.now()),0===u(M,this)||0===u(D,this))t=0;else{if(u(M,this)!==u(D,this))return;t=u(x,this)-u(k,this)}d(j,this,R(t,u(j,this)))}),this.reset()}}const U=o("cbio.CBORSocket");var W=new WeakMap,V=new WeakMap,z=new WeakMap,F=new WeakMap,B=new WeakMap,H=new WeakMap,Y=new WeakMap,Q=new WeakMap,J=new WeakMap,K=new WeakMap,X=new WeakMap,q=new WeakMap,Z=new WeakMap,$=new WeakMap,ee=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,ie=new WeakMap,oe=new WeakMap,se=new WeakMap,ae=new WeakMap,ce=new WeakMap;class le extends n.EventEmitter{constructor(e){var t;super(),t=this,l(this,W,void 0),l(this,V,!1),l(this,z,void 0),l(this,F,0),l(this,B,6e4),l(this,H,1e3+Math.floor(1e3*Math.random())),l(this,Y,void 0),l(this,Q,void 0),l(this,J,void 0),l(this,K,0),l(this,X,0),l(this,q,new G),l(this,Z,async()=>{var e,t;if(u(z,this))return void console.error("Socket already exists");U("creating ws");const r=await u(W,this).getUrl(),n=["cbor",...await(null===(e=(t=u(W,this)).getProtocols)||void 0===e?void 0:e.call(t))||[]].filter(Boolean);if(!r)return;if(u(V,this))return;if(u(z,this))return;const i=u(W,this).createWebSocket?u(W,this).createWebSocket(r,n):new WebSocket(r,n);i.binaryType="arraybuffer",i.addEventListener("open",u(te,this)),i.addEventListener("message",u(ne,this)),i.addEventListener("close",u(se,this)),i.addEventListener("error",u(ae,this)),d(z,this,i),u(q,this).reset()}),l(this,$,function(){if(u(z,t))try{u(z,t).close(...arguments)}catch(e){U("error closing socket",e)}d(z,t,null)}),l(this,ee,()=>{U("navigator went offline"),u($,this).call(this),u(oe,this).call(this)}),l(this,te,()=>{U("ws opened"),this.emit("open"),clearTimeout(u(Q,this)),d(Q,this,setTimeout(()=>{U("counting open as success"),d(F,this,0)},5e3))}),l(this,re,e=>{d(X,this,e),u(q,this).onReceived(e)}),l(this,ne,e=>{try{const{event:t,data:r,ack:n}=P.decode(new Uint8Array(e.data));return n?u(re,this).call(this,n):t?this.emit("event",t,r):console.error("Socket received message without event",e)}catch(t){return console.error("Error processing message",e.data,t.stack)}}),l(this,ie,e=>{if(0===e)return 0;const t=1+.5*Math.random(),r=Math.floor((300*e)**1.2*t);return Math.min(Math.max(u(H,this),r),u(B,this))}),l(this,oe,()=>{if(u(V,this))return void U("reconnect skipped as socket was closed");if(u(J,this))return void U("reconnect skipped as reconnect already scheduled");if("undefined"!=typeof navigator&&!1===navigator.onLine)return U("navigator offline"),void d(J,this,setTimeout(()=>{d(J,this,null),u(oe,this).call(this)},1e3));const e=u(ie,this).call(this,u(F,this));U("reconnecting in",e,"attempts",u(F,this)),d(J,this,setTimeout(async()=>{d(J,this,null),u(V,this)?console.warn("tried to reconnect after close"):(d(z,this,null),await u(Z,this).call(this).catch(u(ae,this)),u(z,this)||u(V,this)||u(oe,this).call(this))},e)),d(F,this,u(F,this)+1)}),l(this,se,()=>{U("ws closed"),this.emit("close"),U("resetting message acks"),d(K,this,0),d(X,this,0),u(q,this).onReceived(0),u(V,this)||u(oe,this).call(this),clearTimeout(u(Q,this))}),l(this,ae,e=>{u(V,this)?console.info("CobrowseIO: Called error after close.",e):0!==this.listenerCount("error")?this.emit("error",e):console.warn("CobrowseIO: Called handleError without listeners. Please report this.",e)}),l(this,ce,()=>{this.send("ping")}),c(this,"messageLag",()=>u(X,this)?u(K,this)-u(X,this):0),c(this,"setMaxReconnectDelay",e=>{U("set max delay",e),d(B,this,e)}),c(this,"setMinReconnectDelay",e=>{U("set min delay",e),d(H,this,e)}),c(this,"send",(e,t)=>{if(!this.connected)return!1;d(K,this,u(K,this)+1),u(q,this).onSent(u(K,this));const r=Date.now(),n=P.encode(t?{event:e,id:u(K,this),data:t}:{event:e});return U("encoded",e,"".concat(n.byteLength," bytes"),"in","".concat(Date.now()-r,"ms")),u(z,this).send(n),!0}),c(this,"close",function(){U("close"),d(V,t,!0);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];u($,t).call(t,...r),clearTimeout(u(J,t)),clearInterval(u(Y,t)),t.emit("close"),t.removeAllListeners(),"undefined"!=typeof window&&(window.removeEventListener("unload",t.close),window.removeEventListener("offline",u(ee,t)))}),U("created cbor socket"),d(W,this,e),d(Y,this,setInterval(u(ce,this),6e4)),"undefined"!=typeof window&&(window.addEventListener("unload",this.close),window.addEventListener("offline",u(ee,this))),this.on("error",e=>U("ws errored",e)),u(oe,this).call(this)}get bufferedAmount(){return u(z,this)?u(z,this).bufferedAmount:1/0}get connected(){return!!u(z,this)&&u(z,this).readyState===u(z,this).OPEN}get metrics(){return u(q,this)}}const ue=e=>e instanceof RegExp?e:e&&"string"==typeof e?s(e,{flags:"i"}):null,de=e=>Boolean(ue(e)),fe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=[];return Array.isArray(e)?(e.forEach(e=>{const r=ue(e);r&&t.push(r)}),e=>t.some(t=>t.test(e))):()=>!1},he=o("cbio.IFrameBridge");var pe=new WeakMap,_e=new WeakMap,ve=new WeakMap,Ee=new WeakMap,me=new WeakMap,ge=new WeakMap,ye=new WeakMap,Ie=new WeakMap,we=new WeakMap,be=new WeakMap;class Le extends n.EventEmitter{get trustedOrigins(){return u(pe,this)}set trustedOrigins(e){d(pe,this,e),d(_e,this,fe(e))}get trustedIframes(){return[...u(me,this)].filter(e=>e.contentWindow&&this.isTrusted(e.contentWindow))}constructor(e){var t;super(),t=this,l(this,pe,[]),l(this,_e,()=>!1),c(this,"automaticTrustedOrigins",[]),l(this,ve,null),l(this,Ee,new WeakMap),l(this,me,new Set),c(this,"start",()=>{window.removeEventListener("message",u(ge,this)),window.addEventListener("message",u(ge,this)),u(ve,this)&&this.send(u(ve,this),"init",null,{trustedOnly:!1})}),c(this,"stop",()=>{window.removeEventListener("message",u(ge,this))}),l(this,ge,e=>{if(!u(Ie,this).call(this,e))return he("ignoring message, not a cobrowse message",e.data);this.establishTrust(e.source,e.origin);const{trustedOnly:t,event:r,data:n}=e.data;this.emit(r,n,{source:e.source,origin:e.origin,trusted:this.isTrusted(e.source),iframe:u(be,this).call(this,e.source),fromParent:u(ye,this).call(this,e.source),trustedOnly:t})}),l(this,ye,function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.parent;return e===r||r.parent!==r&&u(ye,t).call(t,e,r.parent)}),l(this,Ie,e=>{if(!e.data)return!1;const{cobrowseio:t,event:r}=e.data;return!!t&&!!r}),l(this,we,e=>this.automaticTrustedOrigins.includes(e)||u(_e,this).call(this,e)),c(this,"isTrusted",e=>{const t=u(Ee,this).get(e);return!!t&&u(we,this).call(this,t)}),l(this,be,e=>Array.from(u(me,this)).find(t=>t.contentWindow===e)),c(this,"send",function(e,r,n){let{trustedOnly:i=!0,targetOrigin:o}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=o||u(Ee,t).get(e);if(i&&!u(we,t).call(t,s))return he("not sending ".concat(r," as target source is not trusted: ").concat(s));i||s||(s="*"),e.postMessage({trustedOnly:i,cobrowseio:!0,event:r,data:n},s)}),c(this,"sendToParent",function(e,r){let{trustedOnly:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};u(ve,t)&&t.send(u(ve,t),e,r,{trustedOnly:n})}),c(this,"broadcastToChildren",function(e,r){let{trustedOnly:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};u(me,t).forEach(i=>{i.contentWindow&&t.send(i.contentWindow,e,r,{trustedOnly:n})})}),c(this,"track",e=>{u(me,this).has(e)||(u(me,this).add(e),this.emit("iframe_discovered",e))}),c(this,"remove",e=>{u(me,this).delete(e)}),c(this,"establishTrust",(e,t)=>{e&&u(Ee,this).set(e,t)}),c(this,"breakTrust",e=>{u(Ee,this).has(e)&&u(Ee,this).set(e,null)}),d(ve,this,e),he("iframe bridge constructed in",document,"with parent",u(ve,this))}}var Se=new WeakMap,Ce=new WeakMap,Ae=new WeakMap,Oe=new WeakMap,Ne=new WeakMap;class Te extends n.EventEmitter{constructor(e,t){var r;super(),r=this,l(this,Se,void 0),l(this,Ce,void 0),l(this,Ae,new Map),c(this,"send",function(e,t){let{timeout:n=0,trustedOnly:i=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((o,s)=>{const c=(0,a.A)();u(Ae,r).set(c,{resolve:o,reject:s});const l={id:c,method:e,data:t};u(Se,r).send(u(Ce,r),"rpc:request",l,{trustedOnly:i}),n&&setTimeout(()=>{const e=u(Ae,r).get(c);e&&(e.reject(new Error("Request timed out")),u(Ae,r).delete(c))},n)})}),l(this,Oe,async(e,t)=>{let{source:r,trusted:n,trustedOnly:i}=t;const{id:o,method:s,data:a}=e,c=this.listeners(s);if(c.length>1)throw new Error("only a single RPC listener is allowed per event");if(0===c.length)return;const[l]=c;try{const e=await l(a,{trusted:n});u(Se,this).send(r,"rpc:response",{id:o,data:e},{trustedOnly:i})}catch(e){u(Se,this).send(r,"rpc:response",{id:o,error:e},{trustedOnly:i})}}),l(this,Ne,(e,t)=>{let{trusted:r,trustedOnly:n}=t;if(n&&!r)return;const{error:i,id:o,data:s}=e,a=u(Ae,this).get(o);a&&(i?a.reject(i):a.resolve(s),u(Ae,this).delete(o))}),d(Se,this,e),d(Ce,this,t),u(Se,this).on("rpc:request",u(Oe,this)),u(Se,this).on("rpc:response",u(Ne,this))}destroy(){u(Se,this).off("rpc:request",u(Oe,this)),u(Se,this).off("rpc:response",u(Ne,this)),d(Se,this,null),d(Ce,this,null),u(Ae,this).clear(),d(Ae,this,null)}}function Pe(e){try{return!e.document&&!1}catch(e){return!0}}function Re(e){return!!Pe(e)||!("IFRAME"!==e.tagName||!Pe(e.contentWindow))}function Me(){let e=window;do{if(e=e.parent,Re(e))return e}while(e!==e.parent);return null}},80608(e,t,r){"use strict";r.r(t),r.d(t,{MAX:()=>n,NIL:()=>i,parse:()=>s,stringify:()=>a.A,v1:()=>d,v1ToV6:()=>f,v3:()=>S,v4:()=>C.A,v5:()=>P,v6:()=>D,v6ToV1:()=>x,v7:()=>U,validate:()=>o.A,version:()=>W});const n="ffffffff-ffff-ffff-ffff-ffffffffffff",i="00000000-0000-0000-0000-000000000000";r(16280),r(54743),r(11745),r(16573),r(78100),r(77936),r(21489),r(48140),r(75044),r(21903),r(91134),r(52568),r(28845),r(373),r(37467),r(44732),r(79577);var o=r(87273);const s=function(e){if(!(0,o.A)(e))throw TypeError("Invalid UUID");let t;return Uint8Array.of((t=parseInt(e.slice(0,8),16))>>>24,t>>>16&255,t>>>8&255,255&t,(t=parseInt(e.slice(9,13),16))>>>8,255&t,(t=parseInt(e.slice(14,18),16))>>>8,255&t,(t=parseInt(e.slice(19,23),16))>>>8,255&t,(t=parseInt(e.slice(24,36),16))/1099511627776&255,t/4294967296&255,t>>>24&255,t>>>16&255,t>>>8&255,255&t)};var a=r(46675),c=(r(41549),r(49797),r(49631),r(35623),r(44187));const l={};function u(e,t,r,n,i,o){let s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;if(e.length<16)throw new Error("Random bytes length must be >= 16");if(o){if(s<0||s+16>o.length)throw new RangeError("UUID byte range ".concat(s,":").concat(s+15," is out of buffer bounds"))}else o=new Uint8Array(16),s=0;null!=t||(t=Date.now()),null!=r||(r=0),null!=n||(n=16383&(e[8]<<8|e[9])),null!=i||(i=e.slice(10,16));const a=(1e4*(268435455&(t+=122192928e5))+r)%4294967296;o[s++]=a>>>24&255,o[s++]=a>>>16&255,o[s++]=a>>>8&255,o[s++]=255&a;const c=t/4294967296*1e4&268435455;o[s++]=c>>>8&255,o[s++]=255&c,o[s++]=c>>>24&15|16,o[s++]=c>>>16&255,o[s++]=n>>>8|128,o[s++]=255&n;for(let e=0;e<6;++e)o[s++]=i[e];return o}const d=function(e,t,r){var n,i;let o;const s=null!==(n=null===(i=e)||void 0===i?void 0:i._v6)&&void 0!==n&&n;if(e){const t=Object.keys(e);1===t.length&&"_v6"===t[0]&&(e=void 0)}if(e){var d,f,h,p;o=u(null!==(d=null!==(f=e.random)&&void 0!==f?f:null===(h=(p=e).rng)||void 0===h?void 0:h.call(p))&&void 0!==d?d:(0,c.A)(),e.msecs,e.nsecs,e.clockseq,e.node,t,r)}else{const e=Date.now(),n=(0,c.A)();!function(e,t,r){var n,i;null!==(n=e.msecs)&&void 0!==n||(e.msecs=-1/0),null!==(i=e.nsecs)&&void 0!==i||(e.nsecs=0),t===e.msecs?(e.nsecs++,e.nsecs>=1e4&&(e.node=void 0,e.nsecs=0)):t>e.msecs?e.nsecs=0:t<e.msecs&&(e.node=void 0),e.node||(e.node=r.slice(10,16),e.node[0]|=1,e.clockseq=16383&(r[8]<<8|r[9])),e.msecs=t}(l,e,n),o=u(n,l.msecs,l.nsecs,s?void 0:l.clockseq,s?void 0:l.node,t,r)}return null!=t?t:(0,a.k)(o)};function f(e){const t=function(e){return Uint8Array.of((15&e[6])<<4|e[7]>>4&15,(15&e[7])<<4|(240&e[4])>>4,(15&e[4])<<4|(240&e[5])>>4,(15&e[5])<<4|(240&e[0])>>4,(15&e[0])<<4|(240&e[1])>>4,(15&e[1])<<4|(240&e[2])>>4,96|15&e[2],e[3],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}("string"==typeof e?s(e):e);return"string"==typeof e?(0,a.k)(t):t}function h(e){return 14+(e+64>>>9<<4)+1}function p(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function _(e,t,r,n,i,o){return p((s=p(p(t,e),p(n,o)))<<(a=i)|s>>>32-a,r);var s,a}function v(e,t,r,n,i,o,s){return _(t&r|~t&n,e,t,i,o,s)}function E(e,t,r,n,i,o,s){return _(t&n|r&~n,e,t,i,o,s)}function m(e,t,r,n,i,o,s){return _(t^r^n,e,t,i,o,s)}function g(e,t,r,n,i,o,s){return _(r^(t|~n),e,t,i,o,s)}r(61740);const y=function(e){return function(e){const t=new Uint8Array(4*e.length);for(let r=0;r<4*e.length;r++)t[r]=e[r>>2]>>>r%4*8&255;return t}(function(e,t){const r=new Uint32Array(h(t)).fill(0);r.set(e),r[t>>5]|=128<<t%32,r[r.length-1]=t,e=r;let n=1732584193,i=-271733879,o=-1732584194,s=271733878;for(let t=0;t<e.length;t+=16){const r=n,a=i,c=o,l=s;n=v(n,i,o,s,e[t],7,-680876936),s=v(s,n,i,o,e[t+1],12,-389564586),o=v(o,s,n,i,e[t+2],17,606105819),i=v(i,o,s,n,e[t+3],22,-1044525330),n=v(n,i,o,s,e[t+4],7,-176418897),s=v(s,n,i,o,e[t+5],12,1200080426),o=v(o,s,n,i,e[t+6],17,-1473231341),i=v(i,o,s,n,e[t+7],22,-45705983),n=v(n,i,o,s,e[t+8],7,1770035416),s=v(s,n,i,o,e[t+9],12,-1958414417),o=v(o,s,n,i,e[t+10],17,-42063),i=v(i,o,s,n,e[t+11],22,-1990404162),n=v(n,i,o,s,e[t+12],7,1804603682),s=v(s,n,i,o,e[t+13],12,-40341101),o=v(o,s,n,i,e[t+14],17,-1502002290),i=v(i,o,s,n,e[t+15],22,1236535329),n=E(n,i,o,s,e[t+1],5,-165796510),s=E(s,n,i,o,e[t+6],9,-1069501632),o=E(o,s,n,i,e[t+11],14,643717713),i=E(i,o,s,n,e[t],20,-373897302),n=E(n,i,o,s,e[t+5],5,-701558691),s=E(s,n,i,o,e[t+10],9,38016083),o=E(o,s,n,i,e[t+15],14,-660478335),i=E(i,o,s,n,e[t+4],20,-405537848),n=E(n,i,o,s,e[t+9],5,568446438),s=E(s,n,i,o,e[t+14],9,-1019803690),o=E(o,s,n,i,e[t+3],14,-187363961),i=E(i,o,s,n,e[t+8],20,1163531501),n=E(n,i,o,s,e[t+13],5,-1444681467),s=E(s,n,i,o,e[t+2],9,-51403784),o=E(o,s,n,i,e[t+7],14,1735328473),i=E(i,o,s,n,e[t+12],20,-1926607734),n=m(n,i,o,s,e[t+5],4,-378558),s=m(s,n,i,o,e[t+8],11,-2022574463),o=m(o,s,n,i,e[t+11],16,1839030562),i=m(i,o,s,n,e[t+14],23,-35309556),n=m(n,i,o,s,e[t+1],4,-1530992060),s=m(s,n,i,o,e[t+4],11,1272893353),o=m(o,s,n,i,e[t+7],16,-155497632),i=m(i,o,s,n,e[t+10],23,-1094730640),n=m(n,i,o,s,e[t+13],4,681279174),s=m(s,n,i,o,e[t],11,-358537222),o=m(o,s,n,i,e[t+3],16,-722521979),i=m(i,o,s,n,e[t+6],23,76029189),n=m(n,i,o,s,e[t+9],4,-640364487),s=m(s,n,i,o,e[t+12],11,-421815835),o=m(o,s,n,i,e[t+15],16,530742520),i=m(i,o,s,n,e[t+2],23,-995338651),n=g(n,i,o,s,e[t],6,-198630844),s=g(s,n,i,o,e[t+7],10,1126891415),o=g(o,s,n,i,e[t+14],15,-1416354905),i=g(i,o,s,n,e[t+5],21,-57434055),n=g(n,i,o,s,e[t+12],6,1700485571),s=g(s,n,i,o,e[t+3],10,-1894986606),o=g(o,s,n,i,e[t+10],15,-1051523),i=g(i,o,s,n,e[t+1],21,-2054922799),n=g(n,i,o,s,e[t+8],6,1873313359),s=g(s,n,i,o,e[t+15],10,-30611744),o=g(o,s,n,i,e[t+6],15,-1560198380),i=g(i,o,s,n,e[t+13],21,1309151649),n=g(n,i,o,s,e[t+4],6,-145523070),s=g(s,n,i,o,e[t+11],10,-1120210379),o=g(o,s,n,i,e[t+2],15,718787259),i=g(i,o,s,n,e[t+9],21,-343485551),n=p(n,r),i=p(i,a),o=p(o,c),s=p(s,l)}return Uint32Array.of(n,i,o,s)}(function(e){if(0===e.length)return new Uint32Array;const t=new Uint32Array(h(8*e.length)).fill(0);for(let r=0;r<e.length;r++)t[r>>2]|=(255&e[r])<<r%4*8;return t}(e),8*e.length))},I="6ba7b810-9dad-11d1-80b4-00c04fd430c8",w="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function b(e,t,r,n,i,o){var c;const l="string"==typeof r?function(e){e=unescape(encodeURIComponent(e));const t=new Uint8Array(e.length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}(r):r,u="string"==typeof n?s(n):n;if("string"==typeof n&&(n=s(n)),16!==(null===(c=n)||void 0===c?void 0:c.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let d=new Uint8Array(16+l.length);if(d.set(u),d.set(l,u.length),d=t(d),d[6]=15&d[6]|e,d[8]=63&d[8]|128,i){if(null!=o||(o=0),o<0||o+16>i.length)throw new RangeError("UUID byte range ".concat(o,":").concat(o+15," is out of buffer bounds"));for(let e=0;e<16;++e)i[o+e]=d[e];return i}return(0,a.k)(d)}function L(e,t,r,n){return b(48,y,e,t,r,n)}L.DNS=I,L.URL=w;const S=L;var C=r(56086);function A(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function O(e,t){return e<<t|e>>>32-t}const N=function(e){const t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520],n=new Uint8Array(e.length+1);n.set(e),n[e.length]=128;const i=(e=n).length/4+2,o=Math.ceil(i/16),s=new Array(o);for(let t=0;t<o;++t){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];s[t]=r}s[o-1][14]=8*(e.length-1)/2**32,s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<o;++e){const n=new Uint32Array(80);for(let t=0;t<16;++t)n[t]=s[e][t];for(let e=16;e<80;++e)n[e]=O(n[e-3]^n[e-8]^n[e-14]^n[e-16],1);let i=r[0],o=r[1],a=r[2],c=r[3],l=r[4];for(let e=0;e<80;++e){const r=Math.floor(e/20),s=O(i,5)+A(r,o,a,c)+l+t[r]+n[e]>>>0;l=c,c=a,a=O(o,30)>>>0,o=i,i=s}r[0]=r[0]+i>>>0,r[1]=r[1]+o>>>0,r[2]=r[2]+a>>>0,r[3]=r[3]+c>>>0,r[4]=r[4]+l>>>0}return Uint8Array.of(r[0]>>24,r[0]>>16,r[0]>>8,r[0],r[1]>>24,r[1]>>16,r[1]>>8,r[1],r[2]>>24,r[2]>>16,r[2]>>8,r[2],r[3]>>24,r[3]>>16,r[3]>>8,r[3],r[4]>>24,r[4]>>16,r[4]>>8,r[4])};function T(e,t,r,n){return b(80,N,e,t,r,n)}T.DNS=I,T.URL=w;const P=T;function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach(function(t){k(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function k(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r(44114),r(18111),r(22489),r(7588);const D=function(e,t,r){null!=e||(e={}),null!=r||(r=0);let n=d(M(M({},e),{},{_v6:!0}),new Uint8Array(16));if(n=f(n),t){if(r<0||r+16>t.length)throw new RangeError("UUID byte range ".concat(r,":").concat(r+15," is out of buffer bounds"));for(let e=0;e<16;e++)t[r+e]=n[e];return t}return(0,a.k)(n)};function x(e){const t=(r="string"==typeof e?s(e):e,Uint8Array.of((15&r[3])<<4|r[4]>>4&15,(15&r[4])<<4|(240&r[5])>>4,(15&r[5])<<4|15&r[6],r[7],(15&r[1])<<4|(240&r[2])>>4,(15&r[2])<<4|(240&r[3])>>4,16|(240&r[0])>>4,(15&r[0])<<4|(240&r[1])>>4,r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]));var r;return"string"==typeof e?(0,a.k)(t):t}const j={};function G(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(e.length<16)throw new Error("Random bytes length must be >= 16");if(n){if(i<0||i+16>n.length)throw new RangeError("UUID byte range ".concat(i,":").concat(i+15," is out of buffer bounds"))}else n=new Uint8Array(16),i=0;return null!=t||(t=Date.now()),null!=r||(r=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9]),n[i++]=t/1099511627776&255,n[i++]=t/4294967296&255,n[i++]=t/16777216&255,n[i++]=t/65536&255,n[i++]=t/256&255,n[i++]=255&t,n[i++]=112|r>>>28&15,n[i++]=r>>>20&255,n[i++]=128|r>>>14&63,n[i++]=r>>>6&255,n[i++]=r<<2&255|3&e[10],n[i++]=e[11],n[i++]=e[12],n[i++]=e[13],n[i++]=e[14],n[i++]=e[15],n}const U=function(e,t,r){let n;if(e){var i,o,s;n=G(null!==(i=null!==(o=e.random)&&void 0!==o?o:null===(s=e.rng)||void 0===s?void 0:s.call(e))&&void 0!==i?i:(0,c.A)(),e.msecs,e.seq,t,r)}else{const e=Date.now(),i=(0,c.A)();!function(e,t,r){var n,i;null!==(n=e.msecs)&&void 0!==n||(e.msecs=-1/0),null!==(i=e.seq)&&void 0!==i||(e.seq=0),t>e.msecs?(e.seq=r[6]<<23|r[7]<<16|r[8]<<8|r[9],e.msecs=t):(e.seq=e.seq+1|0,0===e.seq&&e.msecs++)}(j,e,i),n=G(i,j.msecs,j.seq,t,r)}return null!=t?t:(0,a.k)(n)},W=function(e){if(!(0,o.A)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},44187(e,t,r){"use strict";r.d(t,{A:()=>i}),r(54743),r(11745),r(16573),r(78100),r(77936),r(21489),r(48140),r(75044),r(21903),r(91134),r(28845),r(373),r(37467),r(44732),r(79577),r(41549),r(49797),r(49631),r(35623);const n=new Uint8Array(16);function i(){return crypto.getRandomValues(n)}},46675(e,t,r){"use strict";r.d(t,{A:()=>s,k:()=>o}),r(16280),r(44114);var n=r(87273);const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}const s=function(e){const t=o(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0);if(!(0,n.A)(t))throw TypeError("Stringified UUID is invalid");return t}},56086(e,t,r){"use strict";r.d(t,{A:()=>o}),r(16280);var n=r(44187),i=r(46675);const o=function(e,t,r){return t||e||!crypto.randomUUID?function(e,t,r){var o,s,a,c;const l=null!==(o=null!==(s=(e=e||{}).random)&&void 0!==s?s:null===(a=(c=e).rng)||void 0===a?void 0:a.call(c))&&void 0!==o?o:(0,n.A)();if(l.length<16)throw new Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError("UUID byte range ".concat(r,":").concat(r+15," is out of buffer bounds"));for(let e=0;e<16;++e)t[r+e]=l[e];return t}return(0,i.k)(l)}(e,t,r):crypto.randomUUID()}},87273(e,t,r){"use strict";r.d(t,{A:()=>i}),r(27495);const n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i,i=function(e){return"string"==typeof e&&n.test(e)}},75120(e){"use strict";e.exports=JSON.parse('{"ALLOW":"سماح","CALLING_ACCEPT":"قبول","CALLING_AGENT_DECLINED":"تم رفض المكالمة من قبل الوكيل","CALLING_AGENT_WAITING":"في انتظار الوكيل...","CALLING_BACK":"عودة","CALLING_CAMERA_OFF":"الكاميرا مغلقة","CALLING_CAMERA_PERMISSION_DENIED":"تم رفض الوصول إلى الكاميرا. قم بتمكينه في إعدادات المتصفح الخاص بك.","CALLING_CAMERA_PERMISSION_PROMPT":"السماح بالوصول إلى الكاميرا","CALLING_CAMERA_STARTING":"الكاميرا تبدأ العمل","CALLING_CANCEL":"إلغاء","CALLING_DISABLE_AUDIO":"تعطيل الصوت","CALLING_DISABLE_VIDEO":"تعطيل الفيديو","CALLING_ENABLE_AUDIO":"تمكين الصوت","CALLING_ENABLE_VIDEO":"تفعيل الفيديو","CALLING_END":"إنهاء المكالمة","CALLING_IN_PROGRESS":"جارٍ الانضمام إلى مكالمة الفيديو","CALLING_JOIN":"انضم إلى المكالمة","CALLING_JOIN_PROMPT":"يرغب وكيل الدعم في الاتصال بك.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"أنا","CALLING_MICROPHONE_PERMISSION_DENIED":"تم رفض الوصول إلى الميكروفون. فعّله في إعدادات المتصفح الخاص بك.","CALLING_MICROPHONE_PERMISSION_PROMPT":"السماح بالوصول إلى الميكروفون","CALLING_NO_DEVICES":"لا شيء","CALLING_PERMISSION_NEEDED":"مطلوب إذن","CALLING_REJECT":"رفض المكالمة","CALLING_REJOIN_PROMPT":"لديك مكالمة نشطة مع وكيل الدعم. هل تريد الانضمام مرة أخرى؟","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"الوكيل","CALLING_REQUEST":"هل تريد الانضمام إلى مكالمة الفيديو؟","CALLING_RETRY":"إعادة المحاولة","CALLING_SAVE":"حفظ","CALLING_SELECT_CAMERA":"اختر الكاميرا","CALLING_SELECT_MICROPHONE":"اختر الميكروفون","CALLING_SELECT_SPEAKER":"اختر المتحدث","CALLING_SHOW_CALL_SETTINGS":"عرض إعدادات المكالمة","DENY":"رفض","END_SESSION":"إنهاء جلسة Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"يرغب وكيل الدعم في عرض شاشتك.","FULL_DEVICE_REQUEST_TITLE":"السماح بالتقاط الشاشة كاملة؟","REMOTE_CONTROL_REQUEST_DESCRIPTION":"وكيل ادعم يريد التحكم بهذه الصفحة.","REMOTE_CONTROL_REQUEST_TITLE":"السماح بالتحكم عن بُعد؟","SESSION_REQUEST_DESCRIPTION":"يرغب أحد موظفي خدمة العملاء في استخدام هذه الصفحة معك،","SESSION_REQUEST_TITLE":"السماح بالتصفح المشترك؟","UNIVERSAL_PROXY_BLOCKED":"لا يمكن عرض هذه الصفحة مع وكيل الدعم","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"يرغب وكيل الدعم في متابعتك إلى صفحات ويب أخرى.","UNIVERSAL_PROXY_REQUEST_TITLE":"السماح بمتابعة الجلسة؟"}')},97337(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Povolit","CALLING_ACCEPT":"Přijmout","CALLING_AGENT_DECLINED":"Hovor odmítnut operátorem","CALLING_AGENT_WAITING":"Čekání na agenta...","CALLING_BACK":"Zpět","CALLING_CAMERA_OFF":"Kamera je vypnutá","CALLING_CAMERA_PERMISSION_DENIED":"Přístup ke kameře odepřen. Povolit jej v nastavení prohlížeče.","CALLING_CAMERA_PERMISSION_PROMPT":"Povolit přístup ke kameře","CALLING_CAMERA_STARTING":"Kamera se spouští","CALLING_CANCEL":"Zrušit","CALLING_DISABLE_AUDIO":"Zakázat zvuk","CALLING_DISABLE_VIDEO":"Zakázat video","CALLING_ENABLE_AUDIO":"Povolit zvuk","CALLING_ENABLE_VIDEO":"Povolit video","CALLING_END":"Ukončit hovor","CALLING_IN_PROGRESS":"Vstup do videohovoru","CALLING_JOIN":"Připojit se k hovoru","CALLING_JOIN_PROMPT":"Podpora by vás ráda kontaktovala telefonicky.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Já","CALLING_MICROPHONE_PERMISSION_DENIED":"Přístup k mikrofonu odepřen. Povolte jej v nastavení prohlížeče.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Povolit přístup k mikrofonu","CALLING_NO_DEVICES":"Žádný","CALLING_PERMISSION_NEEDED":"Vyžadováno povolení","CALLING_REJECT":"Odmítnout hovor","CALLING_REJOIN_PROMPT":"Máte aktivní hovor s podpůrným agentem. Chcete se znovu připojit?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Vstoupit do videohovoru?","CALLING_RETRY":"Opakovat pokus","CALLING_SAVE":"Uložit","CALLING_SELECT_CAMERA":"Vyberte kameru","CALLING_SELECT_MICROPHONE":"Vybrat mikrofon","CALLING_SELECT_SPEAKER":"Vyberte reproduktor","CALLING_SHOW_CALL_SETTINGS":"Zobrazit nastavení hovoru","DENY":"Odmítnout","END_SESSION":"Zastavit sdílení","FULL_DEVICE_REQUEST_DESCRIPTION":"Podpora by si ráda prohlédla celou vaši obrazovku.","FULL_DEVICE_REQUEST_TITLE":"Povolit úplné snímání obrazovky?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Podpora by ráda ovládala tuto stránku.","REMOTE_CONTROL_REQUEST_TITLE":"Povolit vzdálené ovládání?","SESSION_REQUEST_DESCRIPTION":"Podpůrný pracovník by s vámi chtěl dočasně používat tuto webovou stránku.","SESSION_REQUEST_TITLE":"Povolit společné prohlížení?","UNIVERSAL_PROXY_BLOCKED":"Tuto webovou stránku nelze zobrazit s podpůrným pracovníkem","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Agent podpory by vás rád sledoval na jiné webové stránky.","UNIVERSAL_PROXY_REQUEST_TITLE":"Povolit pokračování relace?"}')},81088(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Tillad","CALLING_ACCEPT":"Accepter","CALLING_AGENT_DECLINED":"Opkald afvist af agent","CALLING_AGENT_WAITING":"Venter på agent...","CALLING_BACK":"Tilbage","CALLING_CAMERA_OFF":"Kamera er slukket","CALLING_CAMERA_PERMISSION_DENIED":"Adgang til kamera nægtet. Aktivér det i dine browserindstillinger.","CALLING_CAMERA_PERMISSION_PROMPT":"Tillad adgang til kamera","CALLING_CAMERA_STARTING":"Kamera starter","CALLING_CANCEL":"Annuller","CALLING_DISABLE_AUDIO":"Deaktiver lyd","CALLING_DISABLE_VIDEO":"Deaktiver video","CALLING_ENABLE_AUDIO":"Aktiver lyd","CALLING_ENABLE_VIDEO":"Aktivér video","CALLING_END":"Afslut opkald","CALLING_IN_PROGRESS":"Deltager i videoopkald","CALLING_JOIN":"Deltag i opkaldet","CALLING_JOIN_PROMPT":"En supportagent vil gerne ringe til dig.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Mig","CALLING_MICROPHONE_PERMISSION_DENIED":"Adgang til mikrofon nægtet. Aktivér det i dine browserindstillinger.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Tillad adgang til mikrofon","CALLING_NO_DEVICES":"Ingen","CALLING_PERMISSION_NEEDED":"Tilladelse nødvendig","CALLING_REJECT":"Afvis opkald","CALLING_REJOIN_PROMPT":"Du har en aktiv samtale med en supportagent. Vil du genoptage den?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Deltage i videoopkald?","CALLING_RETRY":"Prøv igen","CALLING_SAVE":"Gem </translateOnlyThis>","CALLING_SELECT_CAMERA":"Vælg kamera","CALLING_SELECT_MICROPHONE":"Vælg mikrofon","CALLING_SELECT_SPEAKER":"Vælg højtaler","CALLING_SHOW_CALL_SETTINGS":"Vis opkaldsindstillinger","DENY":"Nægt","END_SESSION":"Stop deling","FULL_DEVICE_REQUEST_DESCRIPTION":"En supportagent ønsker at se din hele skærm.","FULL_DEVICE_REQUEST_TITLE":"Tillad fuldskærmsoptagelse?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"En supportagent ønsker at kontrollere denne side.","REMOTE_CONTROL_REQUEST_TITLE":"Tillad fjernbetjening?","SESSION_REQUEST_DESCRIPTION":"En supportagent ønsker midlertidigt at bruge denne webside sammen med dig.","SESSION_REQUEST_TITLE":"Tillad cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Denne webside kan ikke vises sammen med en supportagent","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"En supportagent vil gerne følge dig til andre websider.","UNIVERSAL_PROXY_REQUEST_TITLE":"Tillad fortsættelse af session?"}')},30428(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Erlauben","CALLING_ACCEPT":"Akzeptieren","CALLING_AGENT_DECLINED":"Anruf vom Agenten abgelehnt","CALLING_AGENT_WAITING":"Warten auf Agent...","CALLING_BACK":"Zurück","CALLING_CAMERA_OFF":"Kamera ist ausgeschaltet","CALLING_CAMERA_PERMISSION_DENIED":"Kamerazugriff verweigert. Aktivieren Sie ihn in den Browsereinstellungen.","CALLING_CAMERA_PERMISSION_PROMPT":"Zugriff auf die Kamera erlauben","CALLING_CAMERA_STARTING":"Kamera wird gestartet","CALLING_CANCEL":"Abbrechen","CALLING_DISABLE_AUDIO":"Audio deaktivieren","CALLING_DISABLE_VIDEO":"Video deaktivieren","CALLING_ENABLE_AUDIO":"Audio aktivieren","CALLING_ENABLE_VIDEO":"Video aktivieren","CALLING_END":"Anruf beenden","CALLING_IN_PROGRESS":"Beitreten zum Videoanruf","CALLING_JOIN":"Anruf beitreten","CALLING_JOIN_PROMPT":"Ein Support-Mitarbeiter möchte Sie anrufen.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Ich","CALLING_MICROPHONE_PERMISSION_DENIED":"Zugriff auf Mikrofon verweigert. Aktivieren Sie diesen in den Browsereinstellungen.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Zugriff auf Mikrofon erlauben","CALLING_NO_DEVICES":"Keine","CALLING_PERMISSION_NEEDED":"Berechtigung erforderlich","CALLING_REJECT":"Anruf ablehnen","CALLING_REJOIN_PROMPT":"Sie sind in einem aktiven Gespräch mit einem Support-Mitarbeiter. Möchten Sie wieder beitreten?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Videoanruf starten?","CALLING_RETRY":"Erneut versuchen","CALLING_SAVE":"Speichern","CALLING_SELECT_CAMERA":"Kamera auswählen","CALLING_SELECT_MICROPHONE":"Mikrofon auswählen","CALLING_SELECT_SPEAKER":"Sprecher auswählen","CALLING_SHOW_CALL_SETTINGS":"Anrufeinstellungen anzeigen","DENY":"Ablehnen","END_SESSION":"Cobrowse-Sitzung beenden","FULL_DEVICE_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte Ihren gesamten Bildschirm anzeigen.","FULL_DEVICE_REQUEST_TITLE":"Vollständige Bildschirmaufnahme erlauben?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte diese Seite steuern.","REMOTE_CONTROL_REQUEST_TITLE":"Fernsteuerung erlauben?","SESSION_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte diese Webseite vorübergehend mit Ihnen nutzen.","SESSION_REQUEST_TITLE":"Cobrowsing erlauben?","UNIVERSAL_PROXY_BLOCKED":"Diese Webseite kann nicht mit einem Support-Mitarbeiter angezeigt werden","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte Sie zu anderen Webseiten begleiten.","UNIVERSAL_PROXY_REQUEST_TITLE":"Sitzungsfortsetzung erlauben?"}')},45448(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Allow","CALLING_ACCEPT":"Accept","CALLING_AGENT_DECLINED":"Call declined by agent","CALLING_AGENT_WAITING":"Waiting for agent...","CALLING_BACK":"Back","CALLING_CAMERA_OFF":"Camera is off","CALLING_CAMERA_PERMISSION_DENIED":"Camera access denied. Enable it in your browser settings.","CALLING_CAMERA_PERMISSION_PROMPT":"Allow access to camera","CALLING_CAMERA_STARTING":"Camera is starting","CALLING_CANCEL":"Cancel","CALLING_DISABLE_AUDIO":"Disable audio","CALLING_DISABLE_VIDEO":"Disable video","CALLING_ENABLE_AUDIO":"Enable audio","CALLING_ENABLE_VIDEO":"Enable video","CALLING_END":"End call","CALLING_IN_PROGRESS":"Entering video call","CALLING_JOIN":"Join call","CALLING_JOIN_PROMPT":"A support agent would like to call you.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Me","CALLING_MICROPHONE_PERMISSION_DENIED":"Microphone access denied. Enable it in your browser settings.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Allow access to microphone","CALLING_NO_DEVICES":"None","CALLING_PERMISSION_NEEDED":"Permission needed","CALLING_REJECT":"Reject call","CALLING_REJOIN_PROMPT":"You have an active call with a support agent. Do you want to rejoin?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Enter video call?","CALLING_RETRY":"Retry","CALLING_SAVE":"Save","CALLING_SELECT_CAMERA":"Select camera","CALLING_SELECT_MICROPHONE":"Select microphone","CALLING_SELECT_SPEAKER":"Select speaker","CALLING_SHOW_CALL_SETTINGS":"Show call settings","DENY":"Deny","END_SESSION":"Stop Sharing","FULL_DEVICE_REQUEST_DESCRIPTION":"A support agent would like to view your entire screen.","FULL_DEVICE_REQUEST_TITLE":"Allow full screen capture?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"A support agent would like to control this page.","REMOTE_CONTROL_REQUEST_TITLE":"Allow remote control?","SESSION_REQUEST_DESCRIPTION":"A support agent would like to temporarily use this web page with you.","SESSION_REQUEST_TITLE":"Allow cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"This web page cannot be viewed with a support agent","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"A support agent would like to follow you to other web pages.","UNIVERSAL_PROXY_REQUEST_TITLE":"Allow session continuation?"}')},49467(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","CALLING_ACCEPT":"Aceptar","CALLING_AGENT_DECLINED":"Llamada rechazada por el agente","CALLING_AGENT_WAITING":"Esperando al agente...","CALLING_BACK":"Regresar","CALLING_CAMERA_OFF":"La cámara está apagada","CALLING_CAMERA_PERMISSION_DENIED":"Acceso a la cámara denegado. Habilítelo en la configuración de su navegador.","CALLING_CAMERA_PERMISSION_PROMPT":"Permitir acceso a la cámara","CALLING_CAMERA_STARTING":"La cámara se está iniciando","CALLING_CANCEL":"Cancelar","CALLING_DISABLE_AUDIO":"Desactivar audio","CALLING_DISABLE_VIDEO":"Desactivar video","CALLING_ENABLE_AUDIO":"Habilitar audio","CALLING_ENABLE_VIDEO":"Habilitar video","CALLING_END":"Finalizar llamada","CALLING_IN_PROGRESS":"Entrando a llamada de video","CALLING_JOIN":"Unirse a la llamada","CALLING_JOIN_PROMPT":"Un agente de soporte desea llamarle.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Yo","CALLING_MICROPHONE_PERMISSION_DENIED":"Acceso al micrófono denegado. Habilítelo en la configuración de su navegador.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Permitir acceso al micrófono","CALLING_NO_DEVICES":"Ninguno","CALLING_PERMISSION_NEEDED":"Permiso necesario","CALLING_REJECT":"Rechazar llamada","CALLING_REJOIN_PROMPT":"Tienes una llamada activa con un agente de soporte. ¿Deseas volver a unirte?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agente","CALLING_REQUEST":"¿Ingresar a la videollamada?","CALLING_RETRY":"Reintentar","CALLING_SAVE":"Guardar","CALLING_SELECT_CAMERA":"Seleccionar cámara","CALLING_SELECT_MICROPHONE":"Seleccionar micrófono","CALLING_SELECT_SPEAKER":"Seleccionar altavoz","CALLING_SHOW_CALL_SETTINGS":"Mostrar configuración de llamada","DENY":"Denegar","END_SESSION":"Finalizar Sesión de Navegación Conjunta","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agente de soporte quiere ver toda su pantalla.","FULL_DEVICE_REQUEST_TITLE":"¿Permitir captura completa de pantalla?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente de soporte quiere controlar esta página.","REMOTE_CONTROL_REQUEST_TITLE":"¿Permitir control remoto?","SESSION_REQUEST_DESCRIPTION":"Un agente de soporte quiere usar temporalmente esta página web con usted.","SESSION_REQUEST_TITLE":"¿Permitir cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Esta página web no puede ser vista con un agente de soporte","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Un agente de soporte quiere seguirle a otras páginas web.","UNIVERSAL_PROXY_REQUEST_TITLE":"¿Permitir continuación de sesión?"}')},70831(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","CALLING_ACCEPT":"Aceptar","CALLING_AGENT_DECLINED":"Llamada rechazada por el agente","CALLING_AGENT_WAITING":"Esperando al agente...","CALLING_BACK":"Atrás","CALLING_CAMERA_OFF":"La cámara está apagada","CALLING_CAMERA_PERMISSION_DENIED":"Acceso a la cámara denegado. Habilítelo en la configuración de su navegador.","CALLING_CAMERA_PERMISSION_PROMPT":"Permitir acceso a la cámara","CALLING_CAMERA_STARTING":"La cámara se está iniciando","CALLING_CANCEL":"Cancelar","CALLING_DISABLE_AUDIO":"Desactivar audio","CALLING_DISABLE_VIDEO":"Desactivar vídeo","CALLING_ENABLE_AUDIO":"Activar audio","CALLING_ENABLE_VIDEO":"Habilitar vídeo","CALLING_END":"Finalizar llamada","CALLING_IN_PROGRESS":"Entrando en la videollamada","CALLING_JOIN":"Unirse a la llamada","CALLING_JOIN_PROMPT":"Un agente de soporte desea llamarle.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Yo","CALLING_MICROPHONE_PERMISSION_DENIED":"Acceso al micrófono denegado. Habilítelo en la configuración de su navegador.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Permitir acceso al micrófono","CALLING_NO_DEVICES":"Ninguno","CALLING_PERMISSION_NEEDED":"Permiso necesario","CALLING_REJECT":"Rechazar llamada","CALLING_REJOIN_PROMPT":"Tienes una llamada activa con un agente de soporte. ¿Quieres volver a unirte?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agente","CALLING_REQUEST":"¿Entrar a la videollamada?","CALLING_RETRY":"Reintentar","CALLING_SAVE":"Guardar","CALLING_SELECT_CAMERA":"Seleccionar cámara","CALLING_SELECT_MICROPHONE":"Seleccionar micrófono","CALLING_SELECT_SPEAKER":"Seleccionar altavoz","CALLING_SHOW_CALL_SETTINGS":"Mostrar configuración de llamadas","DENY":"Denegar","END_SESSION":"Finalizar Sesión","FULL_DEVICE_REQUEST_DESCRIPTION":"Un asistente de soporte solicita visualizar la totalidad de su pantalla.","FULL_DEVICE_REQUEST_TITLE":"¿Permitir captura completa de pantalla?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente de soporte desea controlar esta página.","REMOTE_CONTROL_REQUEST_TITLE":"¿Permitir control remoto?","SESSION_REQUEST_DESCRIPTION":"Un agente de soporte quiere usar temporalmente esta página web con usted.","SESSION_REQUEST_TITLE":"¿Permitir cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Esta página web no puede ser vista con un agente de soporte","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Un agente de soporte desea seguirle a otras páginas web.","UNIVERSAL_PROXY_REQUEST_TITLE":"¿Permitir continuación de sesión?"}')},93202(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Luba","CALLING_ACCEPT":"Nõustu","CALLING_AGENT_DECLINED":"Kõne agent poolt tagasi lükatud","CALLING_AGENT_WAITING":"Ootame agenti...","CALLING_BACK":"Tagasi","CALLING_CAMERA_OFF":"Kaamera on välja lülitatud","CALLING_CAMERA_PERMISSION_DENIED":"Kaamera ligipääs keelatud. Luba see oma brauseri seadetes.","CALLING_CAMERA_PERMISSION_PROMPT":"Luba juurdepääs kaamerale","CALLING_CAMERA_STARTING":"Kaamera käivitub","CALLING_CANCEL":"Tühista","CALLING_DISABLE_AUDIO":"Lülita heli välja","CALLING_DISABLE_VIDEO":"Keela video","CALLING_ENABLE_AUDIO":"Luba heli","CALLING_ENABLE_VIDEO":"Luba video","CALLING_END":"Lõpeta kõne","CALLING_IN_PROGRESS":"Videokõnesse sisenemine","CALLING_JOIN":"Liitu kõnega","CALLING_JOIN_PROMPT":"Toetusagend soovib teid helistada.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Mina","CALLING_MICROPHONE_PERMISSION_DENIED":"Mikrofoni ligipääs keelatud. Luba see oma brauseri seadetes.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Luba mikrofoni kasutamise õigus","CALLING_NO_DEVICES":"Mitte ükski","CALLING_PERMISSION_NEEDED":"Vaja luba","CALLING_REJECT":"Keela kõne","CALLING_REJOIN_PROMPT":"Teilitate jooksval kõnel tugiteenuse esindajaga. Kas soovite uuesti ühineda?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Esindaja","CALLING_REQUEST":"Sisene videokõnesse?","CALLING_RETRY":"Proovi uuesti","CALLING_SAVE":"Salvesta","CALLING_SELECT_CAMERA":"Vali kaamera","CALLING_SELECT_MICROPHONE":"Vali mikrofon","CALLING_SELECT_SPEAKER":"Vali kõneleja","CALLING_SHOW_CALL_SETTINGS":"Kuva kõne seadeid","DENY":"Keeldu","END_SESSION":"Jaga jagamine lõpetada","FULL_DEVICE_REQUEST_DESCRIPTION":"Tugiagendi soovib teie kogu ekraani vaadata.","FULL_DEVICE_REQUEST_TITLE":"Luba täisekraani salvestuse lubamine?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Tugiteenindaja soovib seda lehte juhtida.","REMOTE_CONTROL_REQUEST_TITLE":"Lubate kaugjuhtimist?","SESSION_REQUEST_DESCRIPTION":"Toetusagent soovib seda veebilehte teiega ajutiselt kasutada.","SESSION_REQUEST_TITLE":"Luba koosturundus?","UNIVERSAL_PROXY_BLOCKED":"Seda veebilehte ei saa vaadata koos tugiesindajaga","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Toetusagendi soovib teid teistele veebilehtedele jälgida.","UNIVERSAL_PROXY_REQUEST_TITLE":"Kas lubada seansi jätkamine?"}')},34818(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Salli","CALLING_ACCEPT":"Hyväksy","CALLING_AGENT_DECLINED":"Puhelu hylätty agentin toimesta","CALLING_AGENT_WAITING":"Odotetaan asiakaspalvelijaa...","CALLING_BACK":"Takaisin","CALLING_CAMERA_OFF":"Kamera on pois päältä","CALLING_CAMERA_PERMISSION_DENIED":"Kameran käyttö estetty. Ota se käyttöön selaimesi asetuksissa.","CALLING_CAMERA_PERMISSION_PROMPT":"Salli pääsy kameraan","CALLING_CAMERA_STARTING":"Kamera käynnistyy","CALLING_CANCEL":"Peruuta","CALLING_DISABLE_AUDIO":"Poista ääni käytöstä","CALLING_DISABLE_VIDEO":"Poista video käytöstä","CALLING_ENABLE_AUDIO":"Ota ääni käyttöön","CALLING_ENABLE_VIDEO":"Ota video käyttöön","CALLING_END":"Lopeta puhelu","CALLING_IN_PROGRESS":"Liityt videopuheluun","CALLING_JOIN":"Liity puheluun","CALLING_JOIN_PROMPT":"Tukihenkilö haluaisi soittaa sinulle.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Minä","CALLING_MICROPHONE_PERMISSION_DENIED":"Mikrofonin käyttö estetty. Ota se käyttöön selaimesi asetuksissa.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Salli pääsy mikrofonille","CALLING_NO_DEVICES":"Ei mitään","CALLING_PERMISSION_NEEDED":"Lupa tarvitaan","CALLING_REJECT":"Hylkää puhelu","CALLING_REJOIN_PROMPT":"Sinulla on aktiivinen puhelu tukiedustajan kanssa. Haluatko liittyä uudelleen?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Asiakaspalvelija","CALLING_REQUEST":"Haluatko mennä videopuheluun?","CALLING_RETRY":"Yritä uudelleen","CALLING_SAVE":"Tallenna","CALLING_SELECT_CAMERA":"Valitse kamera","CALLING_SELECT_MICROPHONE":"Valitse mikrofoni","CALLING_SELECT_SPEAKER":"Valitse kaiutin","CALLING_SHOW_CALL_SETTINGS":"Näytä puheluasetukset","DENY":"Estä","END_SESSION":"Lopeta jakaminen","FULL_DEVICE_REQUEST_DESCRIPTION":"Tukihenkilö haluaa nähdä koko näyttösi.","FULL_DEVICE_REQUEST_TITLE":"Sallitaanko kokoruudun tallennus?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Tukihenkilö haluaisi ohjata tätä sivua.","REMOTE_CONTROL_REQUEST_TITLE":"Sallitaanko etäohjaus?","SESSION_REQUEST_DESCRIPTION":"Asiakaspalvelija haluaisi väliaikaisesti käyttää tätä verkkosivua kanssasi.","SESSION_REQUEST_TITLE":"Salli yhteisselaus?","UNIVERSAL_PROXY_BLOCKED":"Tätä verkkosivua ei voi tarkastella tukihenkilön kanssa","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Tukihenkilö haluaa seurata sinua muille verkkosivuille.","UNIVERSAL_PROXY_REQUEST_TITLE":"Sallitaanko istunnon jatkaminen?"}')},99867(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Autoriser","CALLING_ACCEPT":"Accepter","CALLING_AGENT_DECLINED":"Appel refusé par l\'agent","CALLING_AGENT_WAITING":"En attente de l\'agent...","CALLING_BACK":"Retour","CALLING_CAMERA_OFF":"La caméra est éteinte","CALLING_CAMERA_PERMISSION_DENIED":"Accès à la caméra refusé. Activez-le dans les paramètres de votre navigateur.","CALLING_CAMERA_PERMISSION_PROMPT":"Autoriser l\'accès à la caméra","CALLING_CAMERA_STARTING":"La caméra démarre","CALLING_CANCEL":"Annuler","CALLING_DISABLE_AUDIO":"Désactiver l\'audio","CALLING_DISABLE_VIDEO":"Désactiver la vidéo","CALLING_ENABLE_AUDIO":"Activer l\'audio","CALLING_ENABLE_VIDEO":"Activer la vidéo","CALLING_END":"Terminer l\'appel","CALLING_IN_PROGRESS":"Connexion à l\'appel vidéo","CALLING_JOIN":"Rejoindre l\'appel","CALLING_JOIN_PROMPT":"Un agent de support souhaite vous appeler.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Moi","CALLING_MICROPHONE_PERMISSION_DENIED":"Accès au microphone refusé. Activez-le dans les paramètres de votre navigateur.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Autoriser l\'accès au microphone","CALLING_NO_DEVICES":"Aucun","CALLING_PERMISSION_NEEDED":"Permission requise","CALLING_REJECT":"Rejeter l\'appel","CALLING_REJOIN_PROMPT":"Vous êtes en communication avec un agent de support. Voulez-vous rejoindre à nouveau ?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Entrer dans l\'appel vidéo ?","CALLING_RETRY":"Réessayer","CALLING_SAVE":"Enregistrer","CALLING_SELECT_CAMERA":"Sélectionner la caméra","CALLING_SELECT_MICROPHONE":"Sélectionner un microphone","CALLING_SELECT_SPEAKER":"Sélectionner le haut-parleur","CALLING_SHOW_CALL_SETTINGS":"Afficher les paramètres d\'appel","DENY":"Refuser","END_SESSION":"Terminer la session de Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agent de soutien souhaiterait voir l\'intégralité de votre écran.","FULL_DEVICE_REQUEST_TITLE":"Autoriser la capture d\'écran complète ?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agent du soutien souhaiterait avoir le contrôle de cette page.","REMOTE_CONTROL_REQUEST_TITLE":"Autoriser le contrôle à distance ?","SESSION_REQUEST_DESCRIPTION":"Un agent de soutien souhaiterait temporairement utiliser cette page Web avec vous.","SESSION_REQUEST_TITLE":"Autoriser le cobrowsing ?","UNIVERSAL_PROXY_BLOCKED":"Cette page Web ne peut pas être vue avec un agent de soutien","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Un agent de soutien souhaiterait vous suivre vers d\'autres pages Web.","UNIVERSAL_PROXY_REQUEST_TITLE":"Autoriser la continuation de session ?"}')},87876(e){"use strict";e.exports=JSON.parse('{"ALLOW":"अनुमति देना","CALLING_ACCEPT":"स्वीकार करें","CALLING_AGENT_DECLINED":"एजेंट द्वारा कॉल अस्वीकार किया गया","CALLING_AGENT_WAITING":"एजेंट के लिए प्रतीक्षा कर रहे हैं...","CALLING_BACK":"वापस","CALLING_CAMERA_OFF":"कैमरा बंद है","CALLING_CAMERA_PERMISSION_DENIED":"कैमरा एक्सेस अस्वीकृत। इसे अपने ब्राउज़र सेटिंग्स में सक्षम करें।","CALLING_CAMERA_PERMISSION_PROMPT":"कैमरा तक पहुंच की अनुमति दें","CALLING_CAMERA_STARTING":"कैमरा शुरू हो रहा है","CALLING_CANCEL":"रद्द करें","CALLING_DISABLE_AUDIO":"ऑडियो अक्षम करें","CALLING_DISABLE_VIDEO":"वीडियो अक्षम करें","CALLING_ENABLE_AUDIO":"ऑडियो सक्षम करें","CALLING_ENABLE_VIDEO":"वीडियो सक्षम करें","CALLING_END":"कॉल समाप्त करें","CALLING_IN_PROGRESS":"वीडियो कॉल में प्रवेश करना","CALLING_JOIN":"कॉल में शामिल हों","CALLING_JOIN_PROMPT":"एक समर्थन एजेंट आपको कॉल करना चाहता है।","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"मैं","CALLING_MICROPHONE_PERMISSION_DENIED":"माइक्रोफोन एक्सेस अस्वीकृत। इसे अपने ब्राउज़र सेटिंग्स में सक्षम करें।","CALLING_MICROPHONE_PERMISSION_PROMPT":"माइक्रोफोन तक पहुंच की अनुमति दें","CALLING_NO_DEVICES":"कोई नहीं","CALLING_PERMISSION_NEEDED":"अनुमति आवश्यक है","CALLING_REJECT":"कॉल अस्वीकार करें","CALLING_REJOIN_PROMPT":"आपका एक सक्रिय कॉल समर्थन एजेंट के साथ है। क्या आप पुनः जुड़ना चाहते हैं?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"एजेंट","CALLING_REQUEST":"वीडियो कॉल में प्रवेश करें?","CALLING_RETRY":"पुनः प्रयास करें","CALLING_SAVE":"सहेजें","CALLING_SELECT_CAMERA":"कैमरा चुनें","CALLING_SELECT_MICROPHONE":"माइक्रोफोन चुनें","CALLING_SELECT_SPEAKER":"वक्ता चुनें","CALLING_SHOW_CALL_SETTINGS":"कॉल सेटिंग्स दिखाएं","DENY":"अस्वीकार करना","END_SESSION":"कोब्रोसे सत्र समाप्त करें","FULL_DEVICE_REQUEST_DESCRIPTION":"एक सहायता एजेंट आपकी पूरी स्क्रीन देखना चाहेगा।","FULL_DEVICE_REQUEST_TITLE":"पूर्ण स्क्रीन कैप्चर की अनुमति दें?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"एक समर्थन एजेंट इस पेज को नियंत्रित करना चाहता है।","REMOTE_CONTROL_REQUEST_TITLE":"रिमोट कंट्रोल की अनुमति दें?","SESSION_REQUEST_DESCRIPTION":"एक सहायता एजेंट अस्थायी रूप से आपके साथ इस वेब पेज का उपयोग करना चाहेगा।","SESSION_REQUEST_TITLE":"कोब्राउज़िंग की अनुमति दें?","UNIVERSAL_PROXY_BLOCKED":"यह वेब पेज सहायता एजेंट के साथ नहीं देखा जा सकता","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"एक सहायता एजेंट आपका अन्य वेब पेजों में पीछा करना चाहेगा।","UNIVERSAL_PROXY_REQUEST_TITLE":"सत्र निरंतरता की अनुमति दें?"}')},28038(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Consenti","CALLING_ACCEPT":"Accetta","CALLING_AGENT_DECLINED":"Chiamata rifiutata dall\'agente","CALLING_AGENT_WAITING":"In attesa dell\'agente...","CALLING_BACK":"Indietro","CALLING_CAMERA_OFF":"La fotocamera è spenta","CALLING_CAMERA_PERMISSION_DENIED":"Accesso alla fotocamera negato. Attivalo nelle impostazioni del tuo browser.","CALLING_CAMERA_PERMISSION_PROMPT":"Consenti l\'accesso alla fotocamera","CALLING_CAMERA_STARTING":"La fotocamera si sta avviando","CALLING_CANCEL":"Annulla","CALLING_DISABLE_AUDIO":"Disabilita audio","CALLING_DISABLE_VIDEO":"Disabilita video","CALLING_ENABLE_AUDIO":"Abilita audio","CALLING_ENABLE_VIDEO":"Abilita video","CALLING_END":"Termina chiamata","CALLING_IN_PROGRESS":"Partecipazione alla videochiamata","CALLING_JOIN":"Partecipa alla chiamata","CALLING_JOIN_PROMPT":"Un agente di supporto desidera chiamarla.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Me","CALLING_MICROPHONE_PERMISSION_DENIED":"Accesso al microfono negato. Abilitalo nelle impostazioni del browser.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Consenti l\'accesso al microfono","CALLING_NO_DEVICES":"Nessuno","CALLING_PERMISSION_NEEDED":"Permesso necessario","CALLING_REJECT":"Rifiuta chiamata","CALLING_REJOIN_PROMPT":"Hai una chiamata attiva con un agente di supporto. Vuoi rientrare?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agente","CALLING_REQUEST":"Avviare la videochiamata?","CALLING_RETRY":"Riprova","CALLING_SAVE":"Salva","CALLING_SELECT_CAMERA":"Seleziona la fotocamera","CALLING_SELECT_MICROPHONE":"Seleziona microfono","CALLING_SELECT_SPEAKER":"Seleziona altoparlante","CALLING_SHOW_CALL_SETTINGS":"Mostra impostazioni chiamata","DENY":"Nega","END_SESSION":"Termina la sessione di Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agente dell\'assistenza desidera visualizzare tutto il tuo schermo.","FULL_DEVICE_REQUEST_TITLE":"Consentire cattura schermo completa?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente dell\'assistenza desidera controllare questa pagina.","REMOTE_CONTROL_REQUEST_TITLE":"Consentire controllo remoto?","SESSION_REQUEST_DESCRIPTION":"Un agente dell\'assistenza vorrebbe utilizzare temporaneamente questa pagina web con te.","SESSION_REQUEST_TITLE":"Consentire cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Questa pagina web non può essere visualizzata con un agente dell\'assistenza","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Un agente dell\'assistenza vorrebbe seguirti su altre pagine web.","UNIVERSAL_PROXY_REQUEST_TITLE":"Consentire continuazione sessione?"}')},16582(e){"use strict";e.exports=JSON.parse('{"ALLOW":"許可する","CALLING_ACCEPT":"承諾する","CALLING_AGENT_DECLINED":"エージェントによって通話が拒否されました","CALLING_AGENT_WAITING":"エージェントを待っています...","CALLING_BACK":"戻る","CALLING_CAMERA_OFF":"カメラはオフです","CALLING_CAMERA_PERMISSION_DENIED":"カメラのアクセスが拒否されました。ブラウザの設定で有効にしてください。","CALLING_CAMERA_PERMISSION_PROMPT":"カメラへのアクセスを許可する","CALLING_CAMERA_STARTING":"カメラが起動しています","CALLING_CANCEL":"キャンセル","CALLING_DISABLE_AUDIO":"音声を無効にする","CALLING_DISABLE_VIDEO":"ビデオを無効にする","CALLING_ENABLE_AUDIO":"音声を有効にする","CALLING_ENABLE_VIDEO":"ビデオを有効にする","CALLING_END":"通話終了","CALLING_IN_PROGRESS":"ビデオ通話に参加中","CALLING_JOIN":"通話に参加する","CALLING_JOIN_PROMPT":"サポート担当者があなたに電話をかけたいと考えています。","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"私","CALLING_MICROPHONE_PERMISSION_DENIED":"マイクへのアクセスが拒否されました。ブラウザの設定で有効にしてください。","CALLING_MICROPHONE_PERMISSION_PROMPT":"マイクへのアクセスを許可する","CALLING_NO_DEVICES":"なし","CALLING_PERMISSION_NEEDED":"許可が必要です","CALLING_REJECT":"通話を拒否する","CALLING_REJOIN_PROMPT":"サポートエージェントと通話中です。再接続しますか?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"エージェント","CALLING_REQUEST":"ビデオ通話に参加しますか?","CALLING_RETRY":"再試行","CALLING_SAVE":"保存","CALLING_SELECT_CAMERA":"カメラを選択してください","CALLING_SELECT_MICROPHONE":"マイクを選択してください","CALLING_SELECT_SPEAKER":"話者を選択してください","CALLING_SHOW_CALL_SETTINGS":"通話設定を表示","DENY":"拒否","END_SESSION":"共同閲覧セッションを終了","FULL_DEVICE_REQUEST_DESCRIPTION":"サポート担当者が画面全体の表示を希望しています。","FULL_DEVICE_REQUEST_TITLE":"フルスクリーンキャプチャを許可しますか?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"サポートエージェントがこのページの管理を希望しています。","REMOTE_CONTROL_REQUEST_TITLE":"リモートコントロールを許可しますか?","SESSION_REQUEST_DESCRIPTION":"サポートエージェントが一時的にこのWebページを共用したいと考えています。","SESSION_REQUEST_TITLE":"コブラウジングを許可しますか?","UNIVERSAL_PROXY_BLOCKED":"このWebページはサポートエージェントと一緒に表示することはできません","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"サポートエージェントが他のWebページでもあなたをフォローしたいと考えています。","UNIVERSAL_PROXY_REQUEST_TITLE":"セッション継続を許可しますか?"}')},61753(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Рұқсат етіңіз","CALLING_ACCEPT":"Қабылдау","CALLING_AGENT_DECLINED":"Қоңырауды агент қабылдамады","CALLING_AGENT_WAITING":"Агентті күтуде...","CALLING_BACK":"Артқа","CALLING_CAMERA_OFF":"Камера өшірілген","CALLING_CAMERA_PERMISSION_DENIED":"Камераға кіруге тыйым салынған. Оны шолғыш параметрлерінде қосыңыз.","CALLING_CAMERA_PERMISSION_PROMPT":"Камераға кіруге рұқсат беру","CALLING_CAMERA_STARTING":"Камера іске қосылуда","CALLING_CANCEL":"Болдырмау","CALLING_DISABLE_AUDIO":"Дыбысты өшіріңіз","CALLING_DISABLE_VIDEO":"Бейнені өшіру","CALLING_ENABLE_AUDIO":"Дыбысты қосу","CALLING_ENABLE_VIDEO":"Бейне қосу","CALLING_END":"Қоңырауды аяқтау","CALLING_IN_PROGRESS":"Видео қоңырауына кіру","CALLING_JOIN":"Қоңырауға қосылу","CALLING_JOIN_PROMPT":"Қолдау қызметінің өкілі сізге қоңырау шалғысы келеді.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Мен","CALLING_MICROPHONE_PERMISSION_DENIED":"Микрофонға қатынау тыйым салынды. Оны шолғыш параметрлеріңізде қосыңыз.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Микрофонға қолжетімділік беріңіз","CALLING_NO_DEVICES":"Жоқ","CALLING_PERMISSION_NEEDED":"Рұқсат қажет","CALLING_REJECT":"Қоңырауды қабылдамау","CALLING_REJOIN_PROMPT":"Сізде қолдау агентімен ағымдағы қоңырау бар. Қайта қосылғыңыз келе ме?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Агент","CALLING_REQUEST":"Бейне қоңырауға қосылу керек пе?","CALLING_RETRY":"Қайталау","CALLING_SAVE":"Сақтау","CALLING_SELECT_CAMERA":"Камераны таңдаңыз","CALLING_SELECT_MICROPHONE":"Микрофонды таңдаңыз","CALLING_SELECT_SPEAKER":"Дыбысты таңдау","CALLING_SHOW_CALL_SETTINGS":"Қоңырау параметрлерін көрсету","DENY":"Бас тарту","END_SESSION":"Бірлескен шолу сеансын аяқтаңыз","FULL_DEVICE_REQUEST_DESCRIPTION":"Қолдау агенті бүкіл экраныңызды көргісі келеді.","FULL_DEVICE_REQUEST_TITLE":"Толық экранды түсіруге рұқсат етесіз бе?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Көмекші агент осы бетті бақылағысы келеді.","REMOTE_CONTROL_REQUEST_TITLE":"Қашықтан басқаруға рұқсат етесіз бе?","SESSION_REQUEST_DESCRIPTION":"Қолдау агенті осы веб-бетті сізбен уақытша пайдаланғысы келеді.","SESSION_REQUEST_TITLE":"Кобраузингке рұқсат етесіз бе?","UNIVERSAL_PROXY_BLOCKED":"Бұл веб-бетті қолдау агентімен бірге көру мүмкін емес","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Қолдау агенті сізді басқа веб-беттерге де ілесе алуға тілек білдіреді.","UNIVERSAL_PROXY_REQUEST_TITLE":"Сеансты жалғастыруға рұқсат етесіз бе?"}')},45613(e){"use strict";e.exports=JSON.parse('{"ALLOW":"허용하다","CALLING_ACCEPT":"수락","CALLING_AGENT_DECLINED":"상담원이 전화를 거부했습니다","CALLING_AGENT_WAITING":"상담원 대기 중...","CALLING_BACK":"뒤로","CALLING_CAMERA_OFF":"카메라가 꺼져 있습니다","CALLING_CAMERA_PERMISSION_DENIED":"카메라 접근이 거부되었습니다. 브라우저 설정에서 활성화하세요.","CALLING_CAMERA_PERMISSION_PROMPT":"카메라 접근 허용","CALLING_CAMERA_STARTING":"카메라가 시작되고 있습니다","CALLING_CANCEL":"취소","CALLING_DISABLE_AUDIO":"오디오 비활성화","CALLING_DISABLE_VIDEO":"비디오 비활성화","CALLING_ENABLE_AUDIO":"오디오 활성화","CALLING_ENABLE_VIDEO":"비디오 활성화","CALLING_END":"통화 종료","CALLING_IN_PROGRESS":"영상 통화 참여 중","CALLING_JOIN":"통화 참여하기","CALLING_JOIN_PROMPT":"지원 상담원이 귀하에게 전화를 원합니다.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"나","CALLING_MICROPHONE_PERMISSION_DENIED":"마이크 접근이 거부되었습니다. 브라우저 설정에서 활성화하세요.","CALLING_MICROPHONE_PERMISSION_PROMPT":"마이크 접근 허용","CALLING_NO_DEVICES":"없음","CALLING_PERMISSION_NEEDED":"권한 필요","CALLING_REJECT":"통화 거절","CALLING_REJOIN_PROMPT":"지원 상담원과 통화 중입니다. 다시 연결하시겠습니까?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"상담원","CALLING_REQUEST":"영상 통화에 참여하시겠습니까?","CALLING_RETRY":"재시도","CALLING_SAVE":"저장","CALLING_SELECT_CAMERA":"카메라 선택","CALLING_SELECT_MICROPHONE":"마이크 선택","CALLING_SELECT_SPEAKER":"화자 선택","CALLING_SHOW_CALL_SETTINGS":"통화 설정 표시","DENY":"부인하다","END_SESSION":"Cobrowse 세션 종료","FULL_DEVICE_REQUEST_DESCRIPTION":"지원 담당자가 귀하의 전체 화면을 보고 싶어합니다.","FULL_DEVICE_REQUEST_TITLE":"전체 화면 캡처를 허용하시겠습니까?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"지원 담당자가 이 페이지를 관리하고 싶어합니다.","REMOTE_CONTROL_REQUEST_TITLE":"원격 제어를 허용하시겠습니까?","SESSION_REQUEST_DESCRIPTION":"지원 담당자가 귀하와 함께 이 웹 페이지를 일시적으로 사용하려고 합니다.","SESSION_REQUEST_TITLE":"코브라우징을 허용하시겠습니까?","UNIVERSAL_PROXY_BLOCKED":"이 웹 페이지는 지원 담당자와 함께 볼 수 없습니다","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"지원 담당자가 다른 웹 페이지로 귀하를 따라가고 싶어합니다.","UNIVERSAL_PROXY_REQUEST_TITLE":"세션 계속을 허용하시겠습니까?"}')},32391(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Leisti","CALLING_ACCEPT":"Priimti","CALLING_AGENT_DECLINED":"Skambutis atmestas agento","CALLING_AGENT_WAITING":"Laukiama agento…","CALLING_BACK":"Atgal","CALLING_CAMERA_OFF":"Kamera išjungta","CALLING_CAMERA_PERMISSION_DENIED":"Prieiga prie kameros uždrausta. Įgalinkite ją savo naršyklės nustatymuose.","CALLING_CAMERA_PERMISSION_PROMPT":"Leisti prieigą prie kameros","CALLING_CAMERA_STARTING":"Kamera pradedama veikti","CALLING_CANCEL":"Atšaukti","CALLING_DISABLE_AUDIO":"Išjungti garsą","CALLING_DISABLE_VIDEO":"Išjungti vaizdo įrašą","CALLING_ENABLE_AUDIO":"Įjungti garsą","CALLING_ENABLE_VIDEO":"Įjungti vaizdo įrašą","CALLING_END":"Baigti skambutį","CALLING_IN_PROGRESS":"Prisijungimas prie vaizdo skambučio","CALLING_JOIN":"Prisijungti prie skambučio","CALLING_JOIN_PROMPT":"Paramaus agentas norėtų jums paskambinti.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Mano","CALLING_MICROPHONE_PERMISSION_DENIED":"Prieiga prie mikrofono atmesta. Įgalinkite ją savo naršyklės nustatymuose.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Leisti prieigą prie mikrofono","CALLING_NO_DEVICES":"Nėra","CALLING_PERMISSION_NEEDED":"Reikalinga leidimas","CALLING_REJECT":"Atmesti skambutį","CALLING_REJOIN_PROMPT":"Jūs turite aktyvų skambutį su palaikymo agentu. Ar norite vėl prisijungti?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agentas","CALLING_REQUEST":"Pradėti vaizdo skambutį?","CALLING_RETRY":"Bandyti dar kartą","CALLING_SAVE":"Išsaugoti","CALLING_SELECT_CAMERA":"Pasirinkite kamerą","CALLING_SELECT_MICROPHONE":"Pasirinkite mikrofoną","CALLING_SELECT_SPEAKER":"Pasirinkite kalbėtoją","CALLING_SHOW_CALL_SETTINGS":"Rodyti skambučio nustatymus","DENY":"Atmesti","END_SESSION":"Nutraukti bendrinimą","FULL_DEVICE_REQUEST_DESCRIPTION":"Pagalbos agentas norėtų peržiūrėti visą jūsų ekraną.","FULL_DEVICE_REQUEST_TITLE":"Leisti fiksuoti visą ekraną?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Palaikymo agentas norėtų valdyti šį puslapį.","REMOTE_CONTROL_REQUEST_TITLE":"Leisti nuotolinę kontrolę?","SESSION_REQUEST_DESCRIPTION":"Pagalbos agentas norėtų laikinai naudotis šiuo tinklapiu kartu su jumis.","SESSION_REQUEST_TITLE":"Leisti bendrą naršymą?","UNIVERSAL_PROXY_BLOCKED":"Šio puslapio negalima peržiūrėti su palaikymo agentu","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Pagalbos agentas norėtų jus sekti į kitas interneto svetaines.","UNIVERSAL_PROXY_REQUEST_TITLE":"Leisti tęsti sesiją?"}')},59396(e){"use strict";e.exports=JSON.parse('{"ALLOW":"परवानगी द्या","CALLING_ACCEPT":"स्वीकार करा","CALLING_AGENT_DECLINED":"एजंटने कॉल नाकारली","CALLING_AGENT_WAITING":"एजंटची वाट पाहत आहे...","CALLING_BACK":"मागे","CALLING_CAMERA_OFF":"कॅमेरा बंद आहे","CALLING_CAMERA_PERMISSION_DENIED":"कॅमेरा प्रवेश नाकारण्यात आला. आपल्या ब्राउझरच्या सेटिंग्जमध्ये याला सक्षम करा.","CALLING_CAMERA_PERMISSION_PROMPT":"कॅमेऱ्याला प्रवेश देणे","CALLING_CAMERA_STARTING":"कॅमेरा सुरू होत आहे","CALLING_CANCEL":"रद्द करा","CALLING_DISABLE_AUDIO":"ऑडिओ अक्षम करा","CALLING_DISABLE_VIDEO":"व्हिडिओ अक्षम करा","CALLING_ENABLE_AUDIO":"ऑडिओ सक्षम करा","CALLING_ENABLE_VIDEO":"व्हिडिओ सक्षम करा","CALLING_END":"कॉल संपवा","CALLING_IN_PROGRESS":"व्हिडिओ कॉल मध्ये प्रवेश करीत आहे","CALLING_JOIN":"कॉलमध्ये सामील व्हा","CALLING_JOIN_PROMPT":"एक समर्थन एजंट आपल्याशी बोलू इच्छितो.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"मला","CALLING_MICROPHONE_PERMISSION_DENIED":"माइक्रोफोन प्रवेश नाकारला गेला आहे. आपल्या ब्राउझर सेटिंग्जमध्ये ते सक्षम करा.","CALLING_MICROPHONE_PERMISSION_PROMPT":"मायक्रोफोनसाठी प्रवेशाची परवानगी द्या","CALLING_NO_DEVICES":"शून्य","CALLING_PERMISSION_NEEDED":"अनुमती आवश्यक आहे","CALLING_REJECT":"कॉल नाकारणे","CALLING_REJOIN_PROMPT":"आपण सध्या समर्थन एजंटसोबत कॉलवर आहात. आपण पुन्हा जोडू इच्छिता?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"एजंट","CALLING_REQUEST":"व्हिडिओ कॉलमध्ये प्रवेश करायचा आहे का?","CALLING_RETRY":"पुन्हा प्रयत्न करा","CALLING_SAVE":"जतन करा","CALLING_SELECT_CAMERA":"कॅमेरा निवडा","CALLING_SELECT_MICROPHONE":"माइक्रोफोन निवडा","CALLING_SELECT_SPEAKER":"वक्ता निवडा","CALLING_SHOW_CALL_SETTINGS":"कॉल सेटिंग्ज दाखवा","DENY":"नकार द्या","END_SESSION":"कोब्राउझ सत्र समाप्त करा","FULL_DEVICE_REQUEST_DESCRIPTION":"सपोर्ट एजंट तुमची संपूर्ण स्क्रीन पाहू इच्छितो.","FULL_DEVICE_REQUEST_TITLE":"पूर्ण स्क्रीन कॅप्चरला परवानगी द्यायची?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"एक सहाय्यक एजंट या पृष्ठावर नियंत्रण ठेवण्यास आवडेल.","REMOTE_CONTROL_REQUEST_TITLE":"रिमोट कंट्रोलला परवानगी द्यायची?","SESSION_REQUEST_DESCRIPTION":"सपोर्ट एजंट हे वेब पेज तुमच्यासोबत तात्पुरते वापरू इच्छितो.","SESSION_REQUEST_TITLE":"कोब्राउझिंगला परवानगी द्यायची?","UNIVERSAL_PROXY_BLOCKED":"हे वेब पेज समर्थन एजंटसोबत पाहिले जाऊ शकत नाही","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"एक समर्थन एजंट तुमचा इतर वेब पृष्ठांवर पाठपुरावा करू इच्छितो.","UNIVERSAL_PROXY_REQUEST_TITLE":"सत्र सातत्याला परवानगी द्यायची?"}')},8439(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Benarkan","CALLING_ACCEPT":"Terima","CALLING_AGENT_DECLINED":"Panggilan ditolak oleh ejen","CALLING_AGENT_WAITING":"Menunggu ejen...","CALLING_BACK":"Kembali","CALLING_CAMERA_OFF":"Kamera dimatikan","CALLING_CAMERA_PERMISSION_DENIED":"Akses kamera dinafi. Aktifkannya dalam tetapan pelayar anda.","CALLING_CAMERA_PERMISSION_PROMPT":"Benarkan akses ke kamera","CALLING_CAMERA_STARTING":"Kamera sedang dimulakan","CALLING_CANCEL":"Batal","CALLING_DISABLE_AUDIO":"Lumpuhkan audio","CALLING_DISABLE_VIDEO":"Lumpuhkan video","CALLING_ENABLE_AUDIO":"Dayakan audio","CALLING_ENABLE_VIDEO":"Dayakan video","CALLING_END":"Tamatkan panggilan","CALLING_IN_PROGRESS":"Memasuki panggilan video","CALLING_JOIN":"Sertai panggilan","CALLING_JOIN_PROMPT":"Ejen sokongan ingin menghubungi anda.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Saya","CALLING_MICROPHONE_PERMISSION_DENIED":"Akses mikrofon ditolak. Aktifkan dalam tetapan pelayar anda.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Benarkan akses ke mikrofon","CALLING_NO_DEVICES":"Tiada","CALLING_PERMISSION_NEEDED":"Kebenaran diperlukan","CALLING_REJECT":"Tolak panggilan","CALLING_REJOIN_PROMPT":"Anda sedang dalam panggilan aktif dengan ejen sokongan. Adakah anda ingin menyertai semula?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Ejen","CALLING_REQUEST":"Masuk panggilan video?","CALLING_RETRY":"Cuba semula","CALLING_SAVE":"Simpan","CALLING_SELECT_CAMERA":"Pilih kamera","CALLING_SELECT_MICROPHONE":"Pilih mikrofon","CALLING_SELECT_SPEAKER":"Pilih pembesar suara","CALLING_SHOW_CALL_SETTINGS":"Tunjukkan tetapan panggilan","DENY":"Tolak","END_SESSION":"Berhenti Berkongsi","FULL_DEVICE_REQUEST_DESCRIPTION":"Ejen sokongan ingin melihat seluruh skrin anda.","FULL_DEVICE_REQUEST_TITLE":"Benarkan rakaman skrin penuh?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Ejen sokongan ingin mengawal halaman ini.","REMOTE_CONTROL_REQUEST_TITLE":"Benarkan kawalan jauh?","SESSION_REQUEST_DESCRIPTION":"Ejen sokongan ingin menggunakan halaman web ini dengan anda buat sementara waktu.","SESSION_REQUEST_TITLE":"Benarkan cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Halaman web ini tidak dapat dilihat bersama ejen sokongan","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Ejen sokongan ingin mengikuti anda ke halaman web lain.","UNIVERSAL_PROXY_REQUEST_TITLE":"Benarkan sambungan sesi?"}')},19121(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Toestaan","CALLING_ACCEPT":"Accepteren","CALLING_AGENT_DECLINED":"Oproep geweigerd door agent","CALLING_AGENT_WAITING":"Wachten op agent...","CALLING_BACK":"Terug","CALLING_CAMERA_OFF":"Camera is uit","CALLING_CAMERA_PERMISSION_DENIED":"Toegang tot camera geweigerd. Schakel deze in de instellingen van uw browser in.","CALLING_CAMERA_PERMISSION_PROMPT":"Toegang tot camera toestaan","CALLING_CAMERA_STARTING":"Camera wordt gestart","CALLING_CANCEL":"Annuleren","CALLING_DISABLE_AUDIO":"Audio uitschakelen","CALLING_DISABLE_VIDEO":"Video uitschakelen","CALLING_ENABLE_AUDIO":"Audio inschakelen","CALLING_ENABLE_VIDEO":"Video inschakelen","CALLING_END":"Oproep beëindigen","CALLING_IN_PROGRESS":"In gesprek met video bellen","CALLING_JOIN":"Deelnemen aan oproep","CALLING_JOIN_PROMPT":"Een supportmedewerker wil u bellen.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Ik","CALLING_MICROPHONE_PERMISSION_DENIED":"Microfoon toegang geweigerd. Schakel dit in uw browserinstellingen in.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Toegang tot microfoon toestaan","CALLING_NO_DEVICES":"Geen","CALLING_PERMISSION_NEEDED":"Toestemming vereist","CALLING_REJECT":"Oproep weigeren","CALLING_REJOIN_PROMPT":"U bent in gesprek met een supportmedewerker. Wilt u opnieuw deelnemen?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Video-oproep starten?","CALLING_RETRY":"Opnieuw proberen","CALLING_SAVE":"Opslaan","CALLING_SELECT_CAMERA":"Selecteer camera","CALLING_SELECT_MICROPHONE":"Selecteer microfoon","CALLING_SELECT_SPEAKER":"Selecteer spreker","CALLING_SHOW_CALL_SETTINGS":"Toon oproepinstellingen","DENY":"Afwijzen","END_SESSION":"Cobrowse-sessie beëindigen","FULL_DEVICE_REQUEST_DESCRIPTION":"Een support agent wilt jouw volledige scherm zien.","FULL_DEVICE_REQUEST_TITLE":"Volledige schermopname toestaan?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Een support agent wilt graag deze pagina bedienen.","REMOTE_CONTROL_REQUEST_TITLE":"Bediening op afstand toestaan?","SESSION_REQUEST_DESCRIPTION":"Een support agent wilt graag tijdelijk met u meekijken op deze webpagina.","SESSION_REQUEST_TITLE":"Cobrowsing toestaan?","UNIVERSAL_PROXY_BLOCKED":"Deze webpagina kan niet worden bekeken met een support agent","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Een support agent wilt u graag volgen naar andere webpagina\'s.","UNIVERSAL_PROXY_REQUEST_TITLE":"Sessievoortzetting toestaan?"}')},85443(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Umożliwić","CALLING_ACCEPT":"Akceptuj","CALLING_AGENT_DECLINED":"Połączenie odrzucone przez agenta","CALLING_AGENT_WAITING":"Oczekiwanie na agenta...","CALLING_BACK":"Wstecz","CALLING_CAMERA_OFF":"Kamera jest wyłączona","CALLING_CAMERA_PERMISSION_DENIED":"Odmowa dostępu do kamery. Włącz ją w ustawieniach przeglądarki.","CALLING_CAMERA_PERMISSION_PROMPT":"Zezwól na dostęp do kamery","CALLING_CAMERA_STARTING":"Kamera się uruchamia","CALLING_CANCEL":"Anuluj","CALLING_DISABLE_AUDIO":"Wyłącz dźwięk","CALLING_DISABLE_VIDEO":"Wyłącz wideo","CALLING_ENABLE_AUDIO":"Włącz dźwięk","CALLING_ENABLE_VIDEO":"Włącz wideo","CALLING_END":"Zakończ rozmowę","CALLING_IN_PROGRESS":"Rozpoczynanie połączenia wideo","CALLING_JOIN":"Dołącz do rozmowy","CALLING_JOIN_PROMPT":"Agent wsparcia chciałby do Ciebie zadzwonić.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Ja","CALLING_MICROPHONE_PERMISSION_DENIED":"Dostęp do mikrofonu został odmówiony. Włącz go w ustawieniach przeglądarki.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Zezwól na dostęp do mikrofonu","CALLING_NO_DEVICES":"Brak","CALLING_PERMISSION_NEEDED":"Wymagana zgoda","CALLING_REJECT":"Odrzuć połączenie","CALLING_REJOIN_PROMPT":"Masz aktywne połączenie z agentem wsparcia. Czy chcesz dołączyć ponownie?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Rozpocząć rozmowę wideo?","CALLING_RETRY":"Ponów próbę","CALLING_SAVE":"Zapisz","CALLING_SELECT_CAMERA":"Wybierz kamerę","CALLING_SELECT_MICROPHONE":"Wybierz mikrofon","CALLING_SELECT_SPEAKER":"Wybierz głośnik","CALLING_SHOW_CALL_SETTINGS":"Pokaż ustawienia połączenia","DENY":"Zaprzeczyć","END_SESSION":"Zakończ sesję Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby zobaczyć cały Twój ekran.","FULL_DEVICE_REQUEST_TITLE":"Czy zezwolić na pełne przechwycenie ekranu?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby kontrolować tę stronę.","REMOTE_CONTROL_REQUEST_TITLE":"Czy zezwolić na zdalne sterowanie?","SESSION_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby tymczasowo korzystać z tej strony internetowej razem z Tobą.","SESSION_REQUEST_TITLE":"Czy zezwolić na cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Ta strona internetowa nie może być oglądana z pracownikiem działu pomocy","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby podążać za Tobą na inne strony internetowe.","UNIVERSAL_PROXY_REQUEST_TITLE":"Czy zezwolić na kontynuację sesji?"}')},26770(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","CALLING_ACCEPT":"Aceitar","CALLING_AGENT_DECLINED":"Chamada rejeitada pelo agente","CALLING_AGENT_WAITING":"Aguardando o agente...","CALLING_BACK":"Voltar","CALLING_CAMERA_OFF":"Câmera está desligada","CALLING_CAMERA_PERMISSION_DENIED":"Acesso à câmera negado. Ative-o nas configurações do seu navegador.","CALLING_CAMERA_PERMISSION_PROMPT":"Permitir acesso à câmera","CALLING_CAMERA_STARTING":"A câmera está iniciando","CALLING_CANCEL":"Cancelar","CALLING_DISABLE_AUDIO":"Desativar áudio","CALLING_DISABLE_VIDEO":"Desativar vídeo","CALLING_ENABLE_AUDIO":"Ativar áudio","CALLING_ENABLE_VIDEO":"Ativar vídeo","CALLING_END":"Encerrar chamada","CALLING_IN_PROGRESS":"Entrando na chamada de vídeo","CALLING_JOIN":"Entrar na chamada","CALLING_JOIN_PROMPT":"Um agente de suporte gostaria de ligar para você.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Eu","CALLING_MICROPHONE_PERMISSION_DENIED":"Acesso ao microfone negado. Ative-o nas configurações do seu navegador.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Permitir acesso ao microfone","CALLING_NO_DEVICES":"Nenhum","CALLING_PERMISSION_NEEDED":"Permissão necessária","CALLING_REJECT":"Rejeitar chamada","CALLING_REJOIN_PROMPT":"Você está em uma ligação ativa com um agente de suporte. Deseja retornar?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agente","CALLING_REQUEST":"Entrar na chamada de vídeo?","CALLING_RETRY":"Tentar novamente","CALLING_SAVE":"Salvar","CALLING_SELECT_CAMERA":"Selecionar câmera","CALLING_SELECT_MICROPHONE":"Selecionar microfone","CALLING_SELECT_SPEAKER":"Selecionar orador","CALLING_SHOW_CALL_SETTINGS":"Mostrar configurações de chamada","DENY":"Negar","END_SESSION":"Terminar Sessão de Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de ver sua tela inteira.","FULL_DEVICE_REQUEST_TITLE":"Permitir captura completa de tela?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de controlar esta página.","REMOTE_CONTROL_REQUEST_TITLE":"Permitir controle remoto?","SESSION_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de usar temporariamente esta página da web com você.","SESSION_REQUEST_TITLE":"Permitir cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Esta página da web não pode ser visualizada com um agente de suporte","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de segui-lo para outras páginas da web.","UNIVERSAL_PROXY_REQUEST_TITLE":"Permitir continuação da sessão?"}')},63851(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","CALLING_ACCEPT":"Aceitar","CALLING_AGENT_DECLINED":"Chamada recusada pelo agente","CALLING_AGENT_WAITING":"À espera do agente...","CALLING_BACK":"Voltar","CALLING_CAMERA_OFF":"Câmara desligada","CALLING_CAMERA_PERMISSION_DENIED":"Acesso à câmara negado. Ative-o nas definições do seu navegador.","CALLING_CAMERA_PERMISSION_PROMPT":"Permitir acesso à câmara","CALLING_CAMERA_STARTING":"Câmara a iniciar-se","CALLING_CANCEL":"Cancelar","CALLING_DISABLE_AUDIO":"Desativar áudio","CALLING_DISABLE_VIDEO":"Desativar vídeo","CALLING_ENABLE_AUDIO":"Ativar áudio","CALLING_ENABLE_VIDEO":"Ativar vídeo","CALLING_END":"Terminar chamada","CALLING_IN_PROGRESS":"Entrando na chamada de vídeo","CALLING_JOIN":"Entrar na chamada","CALLING_JOIN_PROMPT":"Um agente de suporte gostaria de lhe telefonar.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Eu","CALLING_MICROPHONE_PERMISSION_DENIED":"Acesso ao microfone negado. Ative-o nas definições do seu navegador.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Permitir acesso ao microfone","CALLING_NO_DEVICES":"Nenhum","CALLING_PERMISSION_NEEDED":"Permissão necessária","CALLING_REJECT":"Recusar chamada","CALLING_REJOIN_PROMPT":"Tem uma chamada ativa com um agente de suporte. Deseja voltar a participar?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agente","CALLING_REQUEST":"Entrar na chamada de vídeo?","CALLING_RETRY":"Tentar novamente","CALLING_SAVE":"Guardar","CALLING_SELECT_CAMERA":"Selecionar câmara","CALLING_SELECT_MICROPHONE":"Selecionar microfone","CALLING_SELECT_SPEAKER":"Selecionar orador","CALLING_SHOW_CALL_SETTINGS":"Mostrar definições de chamada","DENY":"Negado","END_SESSION":"Terminar Sessão de Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de ver sua tela inteira.","FULL_DEVICE_REQUEST_TITLE":"Permitir captura completa de ecrã?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de controlar esta página.","REMOTE_CONTROL_REQUEST_TITLE":"Permitir controlo remoto?","SESSION_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de usar temporariamente esta página da web com você.","SESSION_REQUEST_TITLE":"Permitir cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Esta página da web não pode ser visualizada com um agente de suporte","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de segui-lo para outras páginas da web.","UNIVERSAL_PROXY_REQUEST_TITLE":"Permitir continuação da sessão?"}')},17304(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permite","CALLING_ACCEPT":"Acceptă","CALLING_AGENT_DECLINED":"Apel respins de agent","CALLING_AGENT_WAITING":"Așteptând agentul...","CALLING_BACK":"Înapoi","CALLING_CAMERA_OFF":"Camera este oprită","CALLING_CAMERA_PERMISSION_DENIED":"Accesul la cameră a fost refuzat. Activați-l în setările browserului dvs.","CALLING_CAMERA_PERMISSION_PROMPT":"Permiteți accesul la cameră","CALLING_CAMERA_STARTING":"Camera pornește","CALLING_CANCEL":"Anulează","CALLING_DISABLE_AUDIO":"Dezactivează audio-ul","CALLING_DISABLE_VIDEO":"Dezactivează video-ul","CALLING_ENABLE_AUDIO":"Activează audio","CALLING_ENABLE_VIDEO":"Activează video-ul","CALLING_END":"Încheiere apel","CALLING_IN_PROGRESS":"Se inițiază apel video","CALLING_JOIN":"Alăturați-vă apelului","CALLING_JOIN_PROMPT":"Un agent de suport ar dori să vă contacteze telefonic.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Eu","CALLING_MICROPHONE_PERMISSION_DENIED":"Accesul la microfon a fost refuzat. Activați-l în setările browserului dumneavoastră.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Permite accesul la microfon","CALLING_NO_DEVICES":"Niciunul","CALLING_PERMISSION_NEEDED":"Permisiune necesară","CALLING_REJECT":"Respinge apelul","CALLING_REJOIN_PROMPT":"Aveți un apel activ cu un agent de suport. Doriți să vă reconectați?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Doriți să intrați în apelul video?","CALLING_RETRY":"Reîncearcă","CALLING_SAVE":"Salvează","CALLING_SELECT_CAMERA":"Selectați camera","CALLING_SELECT_MICROPHONE":"Selectați microfonul","CALLING_SELECT_SPEAKER":"Selectați difuzorul","CALLING_SHOW_CALL_SETTINGS":"Afișați setările apelului","DENY":"Refuză","END_SESSION":"Opriți partajarea","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agent de asistență dorește să vadă întreg ecranul dumneavoastră.","FULL_DEVICE_REQUEST_TITLE":"Permite capturarea ecranului complet?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agent de suport dorește să controleze această pagină.","REMOTE_CONTROL_REQUEST_TITLE":"Permite controlul de la distanță?","SESSION_REQUEST_DESCRIPTION":"Un agent de asistență dorește să utilizeze temporar această pagină web împreună cu dumneavoastră.","SESSION_REQUEST_TITLE":"Permiteți cobrowsing-ul?","UNIVERSAL_PROXY_BLOCKED":"Această pagină web nu poate fi vizualizată împreună cu un agent de asistență","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Un agent de suport dorește să vă urmărească pe alte pagini web.","UNIVERSAL_PROXY_REQUEST_TITLE":"Permiteți continuarea sesiunii?"}')},86146(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Разрешить","CALLING_ACCEPT":"Принять","CALLING_AGENT_DECLINED":"Звонок отклонён агентом","CALLING_AGENT_WAITING":"Ожидание агента...","CALLING_BACK":"Назад","CALLING_CAMERA_OFF":"Камера выключена","CALLING_CAMERA_PERMISSION_DENIED":"Доступ к камере запрещён. Включите его в настройках вашего браузера.","CALLING_CAMERA_PERMISSION_PROMPT":"Разрешить доступ к камере","CALLING_CAMERA_STARTING":"Камера запускается","CALLING_CANCEL":"Отменить","CALLING_DISABLE_AUDIO":"Отключить аудио","CALLING_DISABLE_VIDEO":"Отключить видео","CALLING_ENABLE_AUDIO":"Включить аудио","CALLING_ENABLE_VIDEO":"Включить видео","CALLING_END":"Завершить звонок","CALLING_IN_PROGRESS":"Вход в видеозвонок","CALLING_JOIN":"Присоединиться к звонку","CALLING_JOIN_PROMPT":"Служба поддержки хочет вам позвонить.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Я","CALLING_MICROPHONE_PERMISSION_DENIED":"Доступ к микрофону запрещён. Включите его в настройках браузера.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Разрешить доступ к микрофону","CALLING_NO_DEVICES":"Нет","CALLING_PERMISSION_NEEDED":"Требуется разрешение","CALLING_REJECT":"Отклонить вызов","CALLING_REJOIN_PROMPT":"У вас активный звонок с агентом поддержки. Хотите присоединиться снова?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Агент","CALLING_REQUEST":"Начать видеозвонок?","CALLING_RETRY":"Повторить попытку","CALLING_SAVE":"Сохранить","CALLING_SELECT_CAMERA":"Выберите камеру","CALLING_SELECT_MICROPHONE":"Выберите микрофон","CALLING_SELECT_SPEAKER":"Выбрать динамик","CALLING_SHOW_CALL_SETTINGS":"Показать настройки вызова","DENY":"Отказать","END_SESSION":"Завершить сеанс совместного просмотра","FULL_DEVICE_REQUEST_DESCRIPTION":"Сотрудник службы поддержки хотел бы просмотреть весь экран.","FULL_DEVICE_REQUEST_TITLE":"Разрешить полный захват экрана?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Агент поддержки хотел бы контролировать эту страницу.","REMOTE_CONTROL_REQUEST_TITLE":"Разрешить дистанционное управление?","SESSION_REQUEST_DESCRIPTION":"Агент службы поддержки хотел бы временно использовать эту веб-страницу с вами.","SESSION_REQUEST_TITLE":"Разрешить кобраузинг?","UNIVERSAL_PROXY_BLOCKED":"Эта веб-страница не может быть просмотрена с агентом поддержки","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Агент поддержки хотел бы следовать за вами на другие веб-страницы.","UNIVERSAL_PROXY_REQUEST_TITLE":"Разрешить продолжение сеанса?"}')},35537(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Povoliť","CALLING_ACCEPT":"Prijať","CALLING_AGENT_DECLINED":"Hovor odmietol agent","CALLING_AGENT_WAITING":"Čakanie na agenta...","CALLING_BACK":"Späť","CALLING_CAMERA_OFF":"Kamera je vypnutá","CALLING_CAMERA_PERMISSION_DENIED":"Prístup ku kamere odmietnutý. Povoliť ho v nastaveniach prehliadača.","CALLING_CAMERA_PERMISSION_PROMPT":"Povoliť prístup ku kamere","CALLING_CAMERA_STARTING":"Kamera sa spúšťa","CALLING_CANCEL":"Zrušiť","CALLING_DISABLE_AUDIO":"Vypnúť zvuk","CALLING_DISABLE_VIDEO":"Zakázať video","CALLING_ENABLE_AUDIO":"Povoliť zvuk","CALLING_ENABLE_VIDEO":"Povoliť video","CALLING_END":"Ukončiť hovor","CALLING_IN_PROGRESS":"Pripájanie k videohovoru","CALLING_JOIN":"Pripojiť sa k hovoru","CALLING_JOIN_PROMPT":"Podporný agent vás chce kontaktovať telefonicky.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Ja","CALLING_MICROPHONE_PERMISSION_DENIED":"Prístup k mikrofónu zamietnutý. Povoliť ho v nastaveniach prehliadača.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Povoliť prístup k mikrofónu","CALLING_NO_DEVICES":"Žiadne","CALLING_PERMISSION_NEEDED":"Vyžaduje sa povolenie","CALLING_REJECT":"Zamietnuť hovor","CALLING_REJOIN_PROMPT":"Máte aktívne volanie s podporným agentom. Chcete sa znova pripojiť?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Vstúpiť do videohovoru?","CALLING_RETRY":"Opakovať pokus","CALLING_SAVE":"Uložiť","CALLING_SELECT_CAMERA":"Vyberte kameru","CALLING_SELECT_MICROPHONE":"Vyberte mikrofón","CALLING_SELECT_SPEAKER":"Vybrať reproduktora","CALLING_SHOW_CALL_SETTINGS":"Zobraziť nastavenia hovoru","DENY":"Odmietnuť","END_SESSION":"Zastaviť zdieľanie","FULL_DEVICE_REQUEST_DESCRIPTION":"Podporný agent si želá zobraziť celú vašu obrazovku.","FULL_DEVICE_REQUEST_TITLE":"Povoliť úplné snímanie obrazovky?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Podporný agent by chcel ovládať túto stránku.","REMOTE_CONTROL_REQUEST_TITLE":"Povoliť vzdialenú správu?","SESSION_REQUEST_DESCRIPTION":"Podporný agent by chcel dočasne používať túto webovú stránku spolu s vami.","SESSION_REQUEST_TITLE":"Povoliť spolusurfovanie?","UNIVERSAL_PROXY_BLOCKED":"Túto webovú stránku nie je možné zobraziť so servisným agentom","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Podporný agent by vás rád sledoval na ďalšie webové stránky.","UNIVERSAL_PROXY_REQUEST_TITLE":"Povoliť pokračovanie relácie?"}')},41224(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Dovoli","CALLING_ACCEPT":"Sprejmi","CALLING_AGENT_DECLINED":"Klic je agent zavrnil","CALLING_AGENT_WAITING":"Čakam na agenta...","CALLING_BACK":"Nazaj","CALLING_CAMERA_OFF":"Kamera je izklopljena","CALLING_CAMERA_PERMISSION_DENIED":"Dostop do kamere zavrnjen. Omogočite ga v nastavitvah brskalnika.","CALLING_CAMERA_PERMISSION_PROMPT":"Dovoli dostop do kamere","CALLING_CAMERA_STARTING":"Kamera se začenja","CALLING_CANCEL":"Prekliči","CALLING_DISABLE_AUDIO":"Onemogoči zvok","CALLING_DISABLE_VIDEO":"Onemogoči video","CALLING_ENABLE_AUDIO":"Omogoči zvok","CALLING_ENABLE_VIDEO":"Omogoči video","CALLING_END":"Končaj klic","CALLING_IN_PROGRESS":"Vstop v video klic","CALLING_JOIN":"Pridruži se klicu","CALLING_JOIN_PROMPT":"Podporni agent vas želi poklicati.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Jaz","CALLING_MICROPHONE_PERMISSION_DENIED":"Dostop do mikrofona zavrnjen. Omogočite ga v nastavitvah brskalnika.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Dovoli dostop do mikrofona","CALLING_NO_DEVICES":"Noben","CALLING_PERMISSION_NEEDED":"Potrebna dovoljenja","CALLING_REJECT":"Zavrni klic","CALLING_REJOIN_PROMPT":"Imate aktivni klic s podporo. Želite ponovno pristopiti?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Želite vstopiti v video klic?","CALLING_RETRY":"Poskusi znova","CALLING_SAVE":"Shrani","CALLING_SELECT_CAMERA":"Izberite kamero","CALLING_SELECT_MICROPHONE":"Izberite mikrofon","CALLING_SELECT_SPEAKER":"Izberite zvočnika","CALLING_SHOW_CALL_SETTINGS":"Prikaži nastavitve klica","DENY":"Zanikati","END_SESSION":"Končaj sejo Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Agent za podporo si želi ogledati vaš celoten zaslon.","FULL_DEVICE_REQUEST_TITLE":"Dovoliti zajemanje celotnega zaslona?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Podporni agent želi nadzorovati to stran.","REMOTE_CONTROL_REQUEST_TITLE":"Dovoliti daljinsko upravljanje?","SESSION_REQUEST_DESCRIPTION":"Agent za podporo želi začasno uporabljati to spletno stran z vami.","SESSION_REQUEST_TITLE":"Dovoliti cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Ta spletna stran se ne more ogledovati z agentom za podporo","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Agent za podporo vas želi slediti na druge spletne strani.","UNIVERSAL_PROXY_REQUEST_TITLE":"Dovoliti nadaljevanje seje?"}')},88978(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Tillåt","CALLING_ACCEPT":"Acceptera","CALLING_AGENT_DECLINED":"Samtal avvisades av agenten","CALLING_AGENT_WAITING":"Väntar på agent...","CALLING_BACK":"Tillbaka","CALLING_CAMERA_OFF":"Kameran är avstängd","CALLING_CAMERA_PERMISSION_DENIED":"Kameratillgång nekad. Aktivera den i dina webbläsarinställningar.","CALLING_CAMERA_PERMISSION_PROMPT":"Tillåt åtkomst till kamera","CALLING_CAMERA_STARTING":"Kameran startar","CALLING_CANCEL":"Avbryt","CALLING_DISABLE_AUDIO":"Inaktivera ljud","CALLING_DISABLE_VIDEO":"Inaktivera video","CALLING_ENABLE_AUDIO":"Aktivera ljud","CALLING_ENABLE_VIDEO":"Aktivera video","CALLING_END":"Avsluta samtal","CALLING_IN_PROGRESS":"Ansluter till videosamtal","CALLING_JOIN":"Gå med i samtal","CALLING_JOIN_PROMPT":"En supportagent vill ringa dig.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Jag","CALLING_MICROPHONE_PERMISSION_DENIED":"Mikrofontillgång nekad. Aktivera den i din webbläsarinställningar.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Tillåt åtkomst till mikrofonen","CALLING_NO_DEVICES":"Ingen","CALLING_PERMISSION_NEEDED":"Behörighet krävs","CALLING_REJECT":"Avvisa samtal","CALLING_REJOIN_PROMPT":"Du har ett aktivt samtal med en supportagent. Vill du ansluta igen?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Agent","CALLING_REQUEST":"Starta videosamtal?","CALLING_RETRY":"Försök igen","CALLING_SAVE":"Spara","CALLING_SELECT_CAMERA":"Välj kamera","CALLING_SELECT_MICROPHONE":"Välj mikrofon","CALLING_SELECT_SPEAKER":"Välj talare","CALLING_SHOW_CALL_SETTINGS":"Visa samtalsinställningar","DENY":"Neka","END_SESSION":"Sluta dela","FULL_DEVICE_REQUEST_DESCRIPTION":"En supportagent vill se hela din skärm.","FULL_DEVICE_REQUEST_TITLE":"Tillåt fullskärmsinspelning?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"En supportagent vill kontrollera denna sida.","REMOTE_CONTROL_REQUEST_TITLE":"Tillåt fjärrstyrning?","SESSION_REQUEST_DESCRIPTION":"En supportagent vill tillfälligt använda denna webbsida tillsammans med dig.","SESSION_REQUEST_TITLE":"Tillåt samvisning?","UNIVERSAL_PROXY_BLOCKED":"Den här webbsidan kan inte visas tillsammans med en supportagent","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"En supportagent vill följa dig till andra webbsidor.","UNIVERSAL_PROXY_REQUEST_TITLE":"Tillåt sessionens fortsättning?"}')},29250(e){"use strict";e.exports=JSON.parse('{"ALLOW":"อนุญาต","CALLING_ACCEPT":"ยอมรับ","CALLING_AGENT_DECLINED":"การโทรถูกปฏิเสธโดยเจ้าหน้าที่","CALLING_AGENT_WAITING":"กำลังรอตัวแทน...","CALLING_BACK":"ย้อนกลับ","CALLING_CAMERA_OFF":"กล้องปิดอยู่","CALLING_CAMERA_PERMISSION_DENIED":"การเข้าถึงกล้องถูกปฏิเสธ โปรดเปิดใช้งานในการตั้งค่าเบราว์เซอร์ของคุณ","CALLING_CAMERA_PERMISSION_PROMPT":"อนุญาตให้เข้าถึงกล้อง","CALLING_CAMERA_STARTING":"กล้องกำลังเริ่มทำงาน","CALLING_CANCEL":"ยกเลิก","CALLING_DISABLE_AUDIO":"ปิดเสียง","CALLING_DISABLE_VIDEO":"ปิดวิดีโอ","CALLING_ENABLE_AUDIO":"เปิดใช้งานเสียง","CALLING_ENABLE_VIDEO":"เปิดใช้งานวิดีโอ","CALLING_END":"ยุติการโทร","CALLING_IN_PROGRESS":"กำลังเข้าร่วมการโทรวิดีโอ","CALLING_JOIN":"เข้าร่วมการโทร","CALLING_JOIN_PROMPT":"เจ้าหน้าที่สนับสนุนต้องการโทรหาคุณ","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"ฉัน","CALLING_MICROPHONE_PERMISSION_DENIED":"ไม่อนุญาตให้เข้าถึงไมโครโฟน เปิดใช้งานได้ในการตั้งค่าเบราว์เซอร์ของคุณ","CALLING_MICROPHONE_PERMISSION_PROMPT":"อนุญาตให้เข้าถึงไมโครโฟน","CALLING_NO_DEVICES":"ไม่มี","CALLING_PERMISSION_NEEDED":"ต้องการการอนุญาต","CALLING_REJECT":"ปฏิเสธการโทร","CALLING_REJOIN_PROMPT":"คุณกำลังโทรอยู่กับเจ้าหน้าที่สนับสนุน คุณต้องการเข้าร่วมใหม่หรือไม่?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"เจ้าหน้าที่","CALLING_REQUEST":"เข้าร่วมวิดีโอคอล?","CALLING_RETRY":"ลองใหม่อีกครั้ง","CALLING_SAVE":"บันทึก","CALLING_SELECT_CAMERA":"เลือกกล้อง","CALLING_SELECT_MICROPHONE":"เลือกไมโครโฟน","CALLING_SELECT_SPEAKER":"เลือกผู้พูด","CALLING_SHOW_CALL_SETTINGS":"แสดงการตั้งค่าการโทร","DENY":"ปฏิเสธ","END_SESSION":"หยุดแชร์","FULL_DEVICE_REQUEST_DESCRIPTION":"เจ้าหน้าที่ฝ่ายสนับสนุนต้องการดูหน้าจอของคุณทั้งหมด","FULL_DEVICE_REQUEST_TITLE":"อนุญาตให้บันทึกหน้าจอเต็มหรือไม่?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"เจ้าหน้าที่สนับสนุนต้องการควบคุมหน้านี้","REMOTE_CONTROL_REQUEST_TITLE":"อนุญาตการควบคุมระยะไกลหรือไม่?","SESSION_REQUEST_DESCRIPTION":"ตัวแทนฝ่ายสนับสนุนต้องการใช้หน้าเว็บนี้กับคุณเป็นการชั่วคราว","SESSION_REQUEST_TITLE":"อนุญาตให้ใช้โคบราวซิ่งหรือไม่?","UNIVERSAL_PROXY_BLOCKED":"หน้าเว็บนี้ไม่สามารถดูได้พร้อมกับเจ้าหน้าที่สนับสนุน","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"เจ้าหน้าที่ฝ่ายสนับสนุนต้องการติดตามคุณไปยังหน้าเว็บอื่น ๆ","UNIVERSAL_PROXY_REQUEST_TITLE":"อนุญาตให้ดำเนินการเซสชันต่อหรือไม่?"}')},3128(e){"use strict";e.exports=JSON.parse('{"ALLOW":"อนุญาต","CALLING_ACCEPT":"ยอมรับ","CALLING_AGENT_DECLINED":"การโทรถูกปฏิเสธโดยเจ้าหน้าที่","CALLING_AGENT_WAITING":"กำลังรอตัวแทน...","CALLING_BACK":"กลับ","CALLING_CAMERA_OFF":"กล้องปิดอยู่","CALLING_CAMERA_PERMISSION_DENIED":"ไม่อนุญาตให้เข้าถึงกล้อง โปรดเปิดใช้งานในการตั้งค่าเบราว์เซอร์ของคุณ","CALLING_CAMERA_PERMISSION_PROMPT":"อนุญาตให้เข้าถึงกล้อง","CALLING_CAMERA_STARTING":"กำลังเริ่มกล้อง","CALLING_CANCEL":"ยกเลิก","CALLING_DISABLE_AUDIO":"ปิดเสียง","CALLING_DISABLE_VIDEO":"ปิดวิดีโอ","CALLING_ENABLE_AUDIO":"เปิดใช้งานเสียง","CALLING_ENABLE_VIDEO":"เปิดใช้งานวิดีโอ","CALLING_END":"สิ้นสุดการโทร","CALLING_IN_PROGRESS":"กำลังเข้าร่วมการโทรวิดีโอ","CALLING_JOIN":"เข้าร่วมการโทร","CALLING_JOIN_PROMPT":"เจ้าหน้าที่ฝ่ายสนับสนุนต้องการโทรหาคุณ","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"ฉัน","CALLING_MICROPHONE_PERMISSION_DENIED":"ปฏิเสธการเข้าถึงไมโครโฟน เปิดใช้งานได้ที่การตั้งค่าเบราว์เซอร์ของคุณ","CALLING_MICROPHONE_PERMISSION_PROMPT":"อนุญาตให้เข้าถึงไมโครโฟน","CALLING_NO_DEVICES":"ไม่มี","CALLING_PERMISSION_NEEDED":"ต้องการสิทธิ์การอนุญาต","CALLING_REJECT":"ปฏิเสธการโทร","CALLING_REJOIN_PROMPT":"คุณกำลังโทรอยู่กับเจ้าหน้าที่ฝ่ายสนับสนุน ต้องการเข้าร่วมใหม่หรือไม่?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"ตัวแทน","CALLING_REQUEST":"เข้าร่วมสายวิดีโอคอลหรือไม่?","CALLING_RETRY":"ลองใหม่อีกครั้ง","CALLING_SAVE":"บันทึก","CALLING_SELECT_CAMERA":"เลือกกล้อง","CALLING_SELECT_MICROPHONE":"เลือกไมโครโฟน","CALLING_SELECT_SPEAKER":"เลือกผู้พูด","CALLING_SHOW_CALL_SETTINGS":"แสดงการตั้งค่าการโทร","DENY":"ปฏิเสธ","END_SESSION":"หยุดแชร์","FULL_DEVICE_REQUEST_DESCRIPTION":"ตัวแทนฝ่ายสนับสนุนต้องการดูหน้าจอของคุณทั้งหมด","FULL_DEVICE_REQUEST_TITLE":"อนุญาตให้จับภาพหน้าจอแบบเต็มจอหรือไม่?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"ตัวแทนฝ่ายสนับสนุนต้องการควบคุมหน้านี้","REMOTE_CONTROL_REQUEST_TITLE":"อนุญาตให้ควบคุมระยะไกลได้หรือไม่?","SESSION_REQUEST_DESCRIPTION":"ตัวแทนสนับสนุนต้องการใช้หน้าเว็บนี้กับคุณชั่วคราว","SESSION_REQUEST_TITLE":"อนุญาตให้ร่วมท่องเว็บไหม?","UNIVERSAL_PROXY_BLOCKED":"ไม่สามารถดูหน้าเว็บนี้กับเจ้าหน้าที่สนับสนุนได้","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"ตัวแทนฝ่ายสนับสนุนต้องการติดตามคุณไปยังหน้าเว็บอื่น ๆ","UNIVERSAL_PROXY_REQUEST_TITLE":"อนุญาตให้ดำเนินการต่อเซสชันไหม?"}')},31559(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Дозволити","CALLING_ACCEPT":"Прийняти","CALLING_AGENT_DECLINED":"Дзвінок відхилено агентом","CALLING_AGENT_WAITING":"Очікування агента...","CALLING_BACK":"Назад","CALLING_CAMERA_OFF":"Камера вимкнена","CALLING_CAMERA_PERMISSION_DENIED":"Доступ до камери заборонено. Увімкніть його у налаштуваннях браузера.","CALLING_CAMERA_PERMISSION_PROMPT":"Дозволити доступ до камери","CALLING_CAMERA_STARTING":"Камера запускається","CALLING_CANCEL":"Скасувати","CALLING_DISABLE_AUDIO":"Вимкнути звук","CALLING_DISABLE_VIDEO":"Вимкнути відео","CALLING_ENABLE_AUDIO":"Увімкнути звук","CALLING_ENABLE_VIDEO":"Увімкнути відео","CALLING_END":"Завершити дзвінок","CALLING_IN_PROGRESS":"Вхід у відеодзвінок","CALLING_JOIN":"Приєднатися до дзвінка","CALLING_JOIN_PROMPT":"Агент підтримки хоче зателефонувати вам.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Я","CALLING_MICROPHONE_PERMISSION_DENIED":"Доступ до мікрофона заборонено. Увімкніть його в налаштуваннях браузера.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Дозволити доступ до мікрофона","CALLING_NO_DEVICES":"Жоден","CALLING_PERMISSION_NEEDED":"Потрібен дозвіл","CALLING_REJECT":"Відхилити дзвінок","CALLING_REJOIN_PROMPT":"У вас активний дзвінок із агентом підтримки. Бажаєте приєднатися знову?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Агент","CALLING_REQUEST":"Почати відеодзвінок?","CALLING_RETRY":"Повторити спробу","CALLING_SAVE":"Зберегти","CALLING_SELECT_CAMERA":"Вибрати камеру","CALLING_SELECT_MICROPHONE":"Виберіть мікрофон","CALLING_SELECT_SPEAKER":"Вибрати динамік","CALLING_SHOW_CALL_SETTINGS":"Показати налаштування дзвінка","DENY":"Заперечую","END_SESSION":"Завершити сеанс Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Агент підтримки хотів би переглянути весь ваш екран.","FULL_DEVICE_REQUEST_TITLE":"Дозволити повне захоплення екрана?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Агент підтримки хотів би контролювати цю сторінку.","REMOTE_CONTROL_REQUEST_TITLE":"Дозволити дистанційне керування?","SESSION_REQUEST_DESCRIPTION":"Агент служби підтримки хотів би тимчасово використовувати цю веб-сторінку разом з вами.","SESSION_REQUEST_TITLE":"Дозволити кобраузинг?","UNIVERSAL_PROXY_BLOCKED":"Ця веб-сторінка не може бути переглянута з агентом підтримки","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Агент підтримки хотів би слідувати за вами на інші веб-сторінки.","UNIVERSAL_PROXY_REQUEST_TITLE":"Дозволити продовження сеансу?"}')},87762(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Cho phép","CALLING_ACCEPT":"Chấp nhận","CALLING_AGENT_DECLINED":"Cuộc gọi bị đại lý từ chối","CALLING_AGENT_WAITING":"Đang chờ đại lý...","CALLING_BACK":"Quay lại","CALLING_CAMERA_OFF":"Camera đã tắt","CALLING_CAMERA_PERMISSION_DENIED":"Truy cập camera bị từ chối. Hãy bật nó trong cài đặt trình duyệt của bạn.","CALLING_CAMERA_PERMISSION_PROMPT":"Cho phép truy cập camera","CALLING_CAMERA_STARTING":"Máy ảnh đang khởi động","CALLING_CANCEL":"Hủy bỏ","CALLING_DISABLE_AUDIO":"Tắt âm thanh","CALLING_DISABLE_VIDEO":"Vô hiệu hóa video","CALLING_ENABLE_AUDIO":"Bật âm thanh","CALLING_ENABLE_VIDEO":"Bật video","CALLING_END":"Kết thúc cuộc gọi","CALLING_IN_PROGRESS":"Đang tham gia cuộc gọi video","CALLING_JOIN":"Tham gia cuộc gọi","CALLING_JOIN_PROMPT":"Một nhân viên hỗ trợ muốn gọi cho bạn.","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"Tôi","CALLING_MICROPHONE_PERMISSION_DENIED":"Quyền truy cập micro bị từ chối. Vui lòng bật trong cài đặt trình duyệt của bạn.","CALLING_MICROPHONE_PERMISSION_PROMPT":"Cho phép truy cập micro","CALLING_NO_DEVICES":"Không có gì","CALLING_PERMISSION_NEEDED":"Cần quyền truy cập","CALLING_REJECT":"Từ chối cuộc gọi","CALLING_REJOIN_PROMPT":"Bạn đang có một cuộc gọi đang hoạt động với nhân viên hỗ trợ. Bạn có muốn tham gia lại không?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"Đại lý","CALLING_REQUEST":"Tham gia gọi video?","CALLING_RETRY":"Thử lại","CALLING_SAVE":"Lưu","CALLING_SELECT_CAMERA":"Chọn camera","CALLING_SELECT_MICROPHONE":"Chọn micro","CALLING_SELECT_SPEAKER":"Chọn người nói","CALLING_SHOW_CALL_SETTINGS":"Hiển thị cài đặt cuộc gọi","DENY":"Từ chối","END_SESSION":"Kết thúc phiên Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Một tổng đài viên hỗ trợ muốn xem toàn bộ màn hình của bạn.","FULL_DEVICE_REQUEST_TITLE":"Cho phép chụp toàn bộ màn hình?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Một tổng đài viên hỗ trợ muốn kiểm soát trang này.","REMOTE_CONTROL_REQUEST_TITLE":"Cho phép điều khiển từ xa?","SESSION_REQUEST_DESCRIPTION":"Một tổng đài viên muốn tạm thời sử dụng trang web này với bạn.","SESSION_REQUEST_TITLE":"Cho phép cobrowsing?","UNIVERSAL_PROXY_BLOCKED":"Trang web này không thể được xem cùng với một tổng đài viên hỗ trợ","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"Một tổng đài viên hỗ trợ muốn theo dõi bạn đến các trang web khác.","UNIVERSAL_PROXY_REQUEST_TITLE":"Cho phép tiếp tục phiên?"}')},84181(e){"use strict";e.exports=JSON.parse('{"ALLOW":"允許","CALLING_ACCEPT":"接受","CALLING_AGENT_DECLINED":"代理拒接通話","CALLING_AGENT_WAITING":"等待客服中...","CALLING_BACK":"返回","CALLING_CAMERA_OFF":"攝影機已關閉","CALLING_CAMERA_PERMISSION_DENIED":"相機存取被拒。請在瀏覽器設定中啟用。","CALLING_CAMERA_PERMISSION_PROMPT":"允許存取相機","CALLING_CAMERA_STARTING":"攝影機正在啟動","CALLING_CANCEL":"取消","CALLING_DISABLE_AUDIO":"停用音訊","CALLING_DISABLE_VIDEO":"停用影片","CALLING_ENABLE_AUDIO":"啟用音訊","CALLING_ENABLE_VIDEO":"啟用影片","CALLING_END":"結束通話","CALLING_IN_PROGRESS":"進入視訊通話","CALLING_JOIN":"加入通話","CALLING_JOIN_PROMPT":"支援代理想要致電給您。","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"我","CALLING_MICROPHONE_PERMISSION_DENIED":"麥克風存取被拒。請在您的瀏覽器設定中啟用。","CALLING_MICROPHONE_PERMISSION_PROMPT":"允許存取麥克風","CALLING_NO_DEVICES":"無","CALLING_PERMISSION_NEEDED":"需要權限","CALLING_REJECT":"拒絕通話","CALLING_REJOIN_PROMPT":"您目前正與客服代理通話。您要重新加入嗎?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"代理","CALLING_REQUEST":"進入視訊通話?","CALLING_RETRY":"重試","CALLING_SAVE":"儲存","CALLING_SELECT_CAMERA":"選擇攝影機","CALLING_SELECT_MICROPHONE":"選擇麥克風","CALLING_SELECT_SPEAKER":"選擇講者","CALLING_SHOW_CALL_SETTINGS":"顯示通話設定","DENY":"拒絕","END_SESSION":"結束共同瀏覽會話","FULL_DEVICE_REQUEST_DESCRIPTION":"一位支援代理想檢視您的整個畫面。","FULL_DEVICE_REQUEST_TITLE":"允許全螢幕截圖?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"一位支援代理希望控制此頁面。","REMOTE_CONTROL_REQUEST_TITLE":"允許遠程控制?","SESSION_REQUEST_DESCRIPTION":"支援人員希望暫時與您一起使用此網頁。","SESSION_REQUEST_TITLE":"允許協同瀏覽?","UNIVERSAL_PROXY_BLOCKED":"此網頁無法與客服代理一起檢視","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"客服代理希望跟隨您訪問其他網頁。","UNIVERSAL_PROXY_REQUEST_TITLE":"允許會話繼續?"}')},59225(e){"use strict";e.exports=JSON.parse('{"ALLOW":"允许","CALLING_ACCEPT":"接受","CALLING_AGENT_DECLINED":"客服拒接电话","CALLING_AGENT_WAITING":"等待客服中...","CALLING_BACK":"返回","CALLING_CAMERA_OFF":"摄像头已关闭","CALLING_CAMERA_PERMISSION_DENIED":"摄像头访问被拒绝。请在您的浏览器设置中启用。","CALLING_CAMERA_PERMISSION_PROMPT":"允许访问摄像头","CALLING_CAMERA_STARTING":"摄像头正在启动","CALLING_CANCEL":"取消","CALLING_DISABLE_AUDIO":"禁用音频","CALLING_DISABLE_VIDEO":"禁用视频","CALLING_ENABLE_AUDIO":"启用音频","CALLING_ENABLE_VIDEO":"启用视频","CALLING_END":"结束通话","CALLING_IN_PROGRESS":"进入视频通话","CALLING_JOIN":"加入通话","CALLING_JOIN_PROMPT":"支持代理想要给您打电话。","CALLING_LOCAL_PARTICIPANT_DESCRIPTION":"我","CALLING_MICROPHONE_PERMISSION_DENIED":"麦克风访问被拒绝。请在您的浏览器设置中启用。","CALLING_MICROPHONE_PERMISSION_PROMPT":"允许访问麦克风","CALLING_NO_DEVICES":"无","CALLING_PERMISSION_NEEDED":"需要权限","CALLING_REJECT":"拒绝通话","CALLING_REJOIN_PROMPT":"您当前正与一位支持代理通话。您想重新加入吗?","CALLING_REMOTE_PARTICIPANT_DESCRIPTION":"坐席","CALLING_REQUEST":"开始视频通话?","CALLING_RETRY":"重试","CALLING_SAVE":"保存","CALLING_SELECT_CAMERA":"选择摄像头","CALLING_SELECT_MICROPHONE":"选择麦克风","CALLING_SELECT_SPEAKER":"选择说话者","CALLING_SHOW_CALL_SETTINGS":"显示通话设置","DENY":"拒绝","END_SESSION":"结束共同浏览会话","FULL_DEVICE_REQUEST_DESCRIPTION":"客服代理希望查看您的整个屏幕。","FULL_DEVICE_REQUEST_TITLE":"允许全屏截图?","REMOTE_CONTROL_REQUEST_DESCRIPTION":"客服代理希望控制此页面。","REMOTE_CONTROL_REQUEST_TITLE":"允许远程控制?","SESSION_REQUEST_DESCRIPTION":"客服代理希望与您暂时共享此网页。","SESSION_REQUEST_TITLE":"允许协同浏览?","UNIVERSAL_PROXY_BLOCKED":"此网页无法与客服代理一起查看","UNIVERSAL_PROXY_REQUEST_DESCRIPTION":"客服代理希望跟随您访问其他网页。","UNIVERSAL_PROXY_REQUEST_TITLE":"允许会话继续?"}')}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,s),r.loaded=!0,r.exports}s.m=i,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);s.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&r;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>o[e]=()=>r[e]);return o.default=()=>r,s.d(i,o),i},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>({246:"pdf-viewer",660:"elevenlabs"}[e]+".CobrowseIO.chunk.js"),s.miniCssF=e=>{},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="CobrowseIO:",s.l=(e,t,i,o)=>{if(r[e])r[e].push(t);else{var a,c;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+i){a=d;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",n+i),a.src=e),r[e]=[t];var f=(t,n)=>{a.onerror=a.onload=null,clearTimeout(h);var i=r[e];if(delete r[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(e=>e(n)),t)return t(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e={792:0};s.f.j=(t,r)=>{var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((r,i)=>n=e[t]=[r,i]);r.push(n[2]=i);var o=s.p+s.u(t),a=new Error;s.l(o,r=>{if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,n[1](a)}},"chunk-"+t,t)}};var t=(t,r)=>{var n,i,[o,a,c]=r,l=0;if(o.some(t=>0!==e[t])){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);c&&c(s)}for(t&&t(r);l<o.length;l++)i=o[l],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkCobrowseIO=self.webpackChunkCobrowseIO||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),s.nc=void 0;var a={};(()=>{"use strict";var e=a;e.default=void 0,s(16280);var t=s(42074),r=l(s(85620)),n=l(s(77966)),i=l(s(51112)),o=l(s(52404)),c=s(16566);function l(e){return e&&e.__esModule?e:{default:e}}const u=r.default;if(window.__cobrowse_io_loaded)throw new Error("CobrowseIO already loaded. This usually means you included the snippet multiple times.");window.__cobrowse_io_loaded=!0;let d=!1;const f=new i.default({shouldShowSelect:()=>{var e;return(null===(e=r.default.currentSession)||void 0===e?void 0:e.isActive())||d},isRedacted:e=>c.Redaction.isRedacted(e)});f.track(window),n.default.on("iframe_discovered",e=>{(0,t.isxdoc)(e)||f.track(e.contentWindow)}),n.default.on("session",function(e){const t=new o.default(u);t.updateResource(e),d=t.isActive()}),e.default=u})(),CobrowseIO=a.default})();
3
3
  ;window.__cbio_sdk_styles = ".HighlightOverlay-module__overlay___IwXTu{animation:HighlightOverlay-module__highlightOverlayFadeIn___gxAX9 .4s cubic-bezier(.25,.46,.45,.94) forwards,HighlightOverlay-module__highlightOverlayPulse___fW7eg 2.5s cubic-bezier(.25,.46,.45,.94) .4s infinite;box-shadow:var(--cbio-color-highlight-backdrop) 0 0 0 5000px;opacity:0;pointer-events:none;position:absolute;transform-origin:center;transition:all .3s ease-in-out;z-index:2147483646}.HighlightOverlay-module__disableAnimations___vQPvb{transition:none!important}@media (prefers-reduced-motion:reduce){.HighlightOverlay-module__overlay___IwXTu{animation:none;opacity:1;outline:3px solid #8481f8cc;transition:none}}@keyframes HighlightOverlay-module__highlightOverlayFadeIn___gxAX9{0%{opacity:0}to{opacity:1}}@keyframes HighlightOverlay-module__highlightOverlayPulse___fW7eg{0%,to{box-shadow:0 0 0 3px #8481f8cc,0 0 0 5000px var(--cbio-color-highlight-backdrop);transform:scaleX(1) scaleY(1)}50%{box-shadow:0 0 0 3px #8481f8,0 0 0 5000px var(--cbio-color-highlight-backdrop);transform:scaleX(var(--cbio-padded-x)) scaleY(var(--cbio-padded-y))}}.Tooltip-module__tooltip___IL4dx{background-color:var(--cbio-color-background-primary);border:1px solid var(--cbio-color-border);border-radius:var(--cbio-radius-md);box-sizing:border-box;left:0;max-width:400px;opacity:0;position:absolute;top:0;transition:opacity .4s ease-out,top .4s ease-out;width:max-content;z-index:2147483646}.Tooltip-module__tooltipVisible___a7Zvs{opacity:1}@media (prefers-reduced-motion:reduce){.Tooltip-module__tooltip___IL4dx{transition:none}}.Tooltip-module__tooltipTitle___gG75M{background-color:var(--cbio-color-background-primary);border-radius:var(--cbio-radius-md);color:var(--cbio-color-text-secondary);font-family:var(--cbio-font-family-base);font-size:var(--cbio-font-size-sm);line-height:var(--cbio-line-height-sm);padding:12px;position:relative;z-index:1}.Tooltip-module__tooltipArrow___kPSXv{background-color:var(--cbio-color-background-primary);border-bottom:1px solid var(--cbio-color-border);border-radius:2px;border-right:1px solid var(--cbio-color-border);height:12px;position:absolute;transform:rotate(45deg);width:12px}:host,:root{--cbio-font-family-base:Helvetica Neue,Helvetica,Arial,sans-serif;--cbio-font-size-sm:14px;--cbio-line-height-sm:20px;--cbio-font-size-md:18px;--cbio-line-height-md:130%;--cbio-font-size-lg:20px;--cbio-line-height-lg:24px;--cbio-radius-md:8px;--cbio-radius-lg:24px;--cbio-radius-pill:9999px;--cbio-color-text-primary:#26252c;--cbio-color-text-secondary:#6f6d82;--cbio-color-text-muted:#92909d;--cbio-color-text-strong:#0e0c26;--cbio-color-text-light:#f5f6fb;--cbio-color-text-white:#fff;--cbio-color-background-primary:#fff;--cbio-color-background-secondary:#36008e;--cbio-color-background-light:#eeeff1;--cbio-color-modal-backdrop:#00000059;--cbio-color-highlight-backdrop:#29284199;--cbio-color-accent-primary:#6556f0;--cbio-color-accent-primary-hover:#4126a7;--cbio-color-danger:#dc2626;--cbio-color-danger-hover:#b91c1c;--cbio-color-danger-hover-soft:#fca5a5;--cbio-color-border:#bcc1d4;--cbio-shadow-buttons:0px 4px 12px #00000059}.cbio-sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.Button-module__base___PvaYv{appearance:none;border:none;border-radius:var(--cbio-radius-md);cursor:pointer;font-family:var(--cbio-font-family-base);font-size:var(--cbio-font-size-sm);line-height:var(--cbio-line-height-sm);padding:10px 16px;user-select:none;white-space:nowrap}.Button-module__base___PvaYv:disabled{cursor:not-allowed;opacity:.5;pointer-events:none}.Button-module__primary___jyGbF{background-color:var(--cbio-color-accent-primary);color:var(--cbio-color-text-light);font-weight:700}.Button-module__primary___jyGbF:hover{background-color:var(--cbio-color-accent-primary-hover)}.Button-module__secondary___V1ksJ{background-color:var(--cbio-color-background-light);color:var(--cbio-color-text-strong)}.Button-module__secondary___V1ksJ:hover{background-color:initial}.IconButton-module__base___wAyLz{align-items:center;background:none;border:none;cursor:pointer;display:flex;justify-content:center;margin:0;padding:0}.Modal-module__container___G4Twz{align-items:center;background:var(--cbio-color-modal-backdrop);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2147483647}.Modal-module__content___tkuQp{border-radius:var(--cbio-radius-md);box-shadow:0 4px 4px #00000040;box-sizing:border-box;color:var(--cbio-color-text-secondary);margin:24px;padding:24px;position:fixed;z-index:2147483647}.Modal-module__content___tkuQp,.Select-module__base___YM7TJ{background-color:var(--cbio-color-background-primary);font-family:var(--cbio-font-family-base)}.Select-module__base___YM7TJ{appearance:none;background-repeat:no-repeat;background-size:16px;border:none;border-radius:var(--cbio-radius-md);color:#393842;cursor:pointer;font-size:var(--cbio-font-size-sm);overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap;width:100%}.Select-module__base___YM7TJ:disabled{cursor:not-allowed}.Select-module__base___YM7TJ:not(:disabled):hover{box-shadow:inset 0 0 0 1px #c7cbfe}.Select-module__noIcon___nzh9A{background-position:right 4px center;padding:8px 16px 8px 8px}.SessionStateOverlay-module__sessionStateOverlay___pCowu{bottom:20px;display:flex;gap:12px;left:50%;position:fixed;transform:translateX(-50%);z-index:2147483647}.SessionStateOverlay-module__endSessionButton___pUtd7{align-items:center;appearance:none;background:var(--cbio-color-danger);border:none;border-radius:var(--cbio-radius-md);box-shadow:var(--cbio-shadow-buttons);color:var(--cbio-color-text-light);cursor:pointer;display:flex;font-family:var(--cbio-font-family-base);font-size:var(--cbio-font-size-sm);font-weight:700;gap:8px;line-height:var(--cbio-line-height-sm);padding:10px 16px;user-select:none;white-space:nowrap}.SessionStateOverlay-module__endSessionButton___pUtd7:hover{background:var(--cbio-color-danger-hover)}.SessionStateOverlay-module__endSessionIcon___vLhgE{height:24px;width:24px}.ConsentDialog-module__content___fUfL3{max-width:400px}.ConsentDialog-module__title___MTrAq{color:var(--cbio-color-text-primary);font-size:var(--cbio-font-size-lg);font-weight:700;line-height:var(--cbio-line-height-lg);margin-bottom:6px;margin-top:0}.ConsentDialog-module__body___FtS5W{color:var(--cbio-color-text-muted);display:flex;flex-direction:column;font-size:var(--cbio-font-size-md);line-height:var(--cbio-line-height-md)}.ConsentDialog-module__confirmation___v7fj3{color:var(--cbio-color-text-primary);margin:0}.ConsentDialog-module__description___eSwUl{margin:0}.ConsentDialog-module__buttons___nToO7{display:flex;gap:8px;justify-content:end;margin-top:32px}.CallDialog-module__content___s6HK_{display:flex;flex-direction:column;max-width:500px}.CallDialog-module__header___VRuIx{display:flex;flex-direction:column;gap:35px}.CallDialog-module__media___oMk0K{display:flex;flex-direction:column;gap:12px}.CallDialog-module__body___udSXs{color:var(--cbio-color-text-muted);display:flex;flex-direction:column;font-size:var(--cbio-font-size-md);line-height:var(--cbio-line-height-md);margin-top:8px}.CallDialog-module__title___ZCk6c{color:var(--cbio-color-text-primary);font-size:var(--cbio-font-size-lg);font-weight:700;line-height:var(--cbio-line-height-lg);margin:0}.CallDialog-module__description___IrOYd{margin:0}.CallDialog-module__buttonContainer___qeBlR{display:flex;gap:8px;justify-content:flex-end;margin-top:35px}.MediaPreview-module__previewContainer___hZF98{position:relative}.MediaPreview-module__videoContainer____O8KD{aspect-ratio:16/9;border-radius:var(--cbio-radius-md);height:100%;overflow:hidden;position:relative;width:100%}.MediaPreview-module__video___DnVpX{background-color:#000;height:100%;transform:scaleX(-1);width:100%}.MediaPreview-module__videoOverlay___Wy27K{align-items:center;bottom:0;color:var(--cbio-color-text-white);display:flex;font-size:var(--cbio-font-size-md);justify-content:center;left:0;position:absolute;right:0;top:0}.MediaPreview-module__videoOverlaySolid___Ifi1O{background-color:#000}.MediaPreview-module__videoOverlayTransparent___vPzQr{background-color:#0006}.MediaPreview-module__videoOverlayText___kzAHr{padding:0 12px;text-align:center}.MediaPreview-module__deviceContainer___MEdwh{display:flex;flex-direction:row;gap:12px}@media (max-width:768px){.MediaPreview-module__deviceContainer___MEdwh{flex-direction:column}}.MediaPreview-module__voiceVideoControls___qTsRx{background-color:var(--cbio-color-background-primary);border-radius:var(--cbio-radius-lg);bottom:12px;display:flex;left:50%;position:absolute;transform:translateX(-50%)}.MediaPreview-module__voiceVideoControlsToggle___prGk3{border-radius:var(--cbio-radius-pill);height:36px;width:36px}.MediaPreview-module__voiceVideoControlsToggle___prGk3:disabled{cursor:not-allowed}.MediaPreview-module__voiceVideoControlsToggleOff___ql_2k{color:var(--cbio-color-danger)}.MediaPreview-module__voiceVideoControlsToggleOff___ql_2k:not(:disabled):hover{background-color:var(--cbio-color-background-light)}.MediaPreview-module__voiceVideoControlsToggleOn___URkye{color:var(--cbio-color-text-strong)}.MediaPreview-module__voiceVideoControlsToggleOn___URkye:not(:disabled):hover{background-color:var(--cbio-color-background-light)}.MediaPreview-module__voiceVideoControlsIcon___yrQoV{height:24px;width:24px}.CallParticipants-module__container___JHyh3{display:grid;gap:12px;grid-auto-rows:min-content;padding:12px;width:300px}.CallParticipants-module__callControlsContainer___TBmXB{padding-bottom:12px;width:300px}.CallParticipants-module__participantContainer___WEeET{border-radius:var(--cbio-radius-md);box-shadow:0 0 8px #00000040;overflow:hidden;position:relative}.CallParticipants-module__participantSpeaking___aovg8{outline:2px solid var(--cbio-color-accent-primary);outline-offset:2px}.CallParticipants-module__videoContainer___cuUmK{aspect-ratio:16/9;height:100%;position:relative;width:100%}.CallParticipants-module__video___osVRK{background-color:var(--cbio-color-background-secondary);height:100%;transform:scaleX(-1);width:100%}.CallParticipants-module__videoOverlay___x1yb0{align-items:center;background-color:var(--cbio-color-background-secondary);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.CallParticipants-module__statusContainer___Vrvvr{align-items:center;bottom:0;color:var(--cbio-color-text-white);display:flex;gap:8px;justify-content:center;padding:8px;position:absolute;user-select:none}.CallParticipants-module__statusTitle___puKch{font-family:var(--cbio-font-family-base);font-size:var(--cbio-font-size-sm);text-shadow:0 0 4px #000}.CallParticipants-module__statusIcon____w42b{filter:drop-shadow(0 0 4px black);height:20px;width:20px}.CallParticipants-module__videoOverlayIcon___Fph1m{color:var(--cbio-color-danger);height:24px;width:24px}.CallControls-module__container___wUFxd{border-radius:var(--cbio-radius-md);box-shadow:var(--cbio-shadow-buttons);color:var(--cbio-color-text-light);display:flex;overflow:hidden}.CallControls-module__toggleContainer___RRBVx{align-items:center;background-color:#292841;display:flex;gap:10px;padding:10px 12px}.CallControls-module__toggle___VVZ8_{height:24px;width:24px}.CallControls-module__toggleOff___ZmAQX{color:#ef4444}.CallControls-module__toggleOff___ZmAQX:hover{color:var(--cbio-color-danger-hover-soft)}.CallControls-module__toggleOn___N0F_C{color:var(--cbio-color-text-light)}.CallControls-module__toggleOn___N0F_C:hover{color:var(--cbio-color-border)}.CallControls-module__icon___MMd56{height:24px;width:24px}.CallControls-module__end___tqUk1{background-color:var(--cbio-color-danger)!important;height:100%;width:44px}.CallControls-module__end___tqUk1:hover{background-color:var(--cbio-color-danger-hover)!important}.NativeSelect-module__select___D4rUq{background-color:#6e6e6e;border:1px solid #ccc;border-radius:5px;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:13px;max-height:300px;overflow-y:auto;padding:5px;scrollbar-color:silver #0000;scrollbar-width:thin;z-index:2147483647}.NativeSelect-module__option___V2cMF{border-radius:5px;color:#fff;cursor:pointer;display:flex;padding:5px}.NativeSelect-module__optionInGroup___iIR0y span{margin-left:16px}.NativeSelect-module__group___VI7JW{color:#8a8a8b;font-weight:700;padding:5px 5px 5px 31px}.NativeSelect-module__divider___vxiJQ{border:none;border-top:1px solid #888;margin:4px 0}.NativeSelect-module__optionIcon___hPiVP{margin-right:5px;visibility:hidden}.NativeSelect-module__optionSelect___iaamZ .NativeSelect-module__optionIcon___hPiVP{visibility:visible}.NativeSelect-module__optionDisable___wLnYC{color:#a9a9a9;pointer-events:none}.NativeSelect-module__optionHighlight___huxZL.NativeSelect-module__option___V2cMF{background-color:#649eec}.NativeSelect-module__select___D4rUq::-webkit-scrollbar{width:8px}.NativeSelect-module__select___D4rUq::-webkit-scrollbar-track{background:#0000}.NativeSelect-module__select___D4rUq::-webkit-scrollbar-thumb{background-color:silver;border-radius:4px}.NativeSelect-module__select___D4rUq::-webkit-scrollbar-thumb:hover{background-color:#a0a0a0}";