cobrowse-sdk-js 3.2.2 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/CobrowseIO.js +1 -1
- package/dist/CobrowseIO.umd.js +1 -1
- package/dist/universal-client.js +1 -1
- package/package.json +1 -1
package/dist/CobrowseIO.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see CobrowseIO.js.LICENSE.txt */
|
|
2
|
-
!function(){var e,t,r,n,o={20949:function(e,t,r){"use strict";r.r(t),r.d(t,{arrow:function(){return Ee},autoPlacement:function(){return ve},autoUpdate:function(){return de},computePosition:function(){return Oe},detectOverflow:function(){return he},flip:function(){return be},getOverflowAncestors:function(){return K},hide:function(){return we},inline:function(){return _e},limitShift:function(){return Se},offset:function(){return ye},platform:function(){return fe},shift:function(){return me},size:function(){return ge}});const n=["top","right","bottom","left"],o=["start","end"],i=n.reduce(((e,t)=>e.concat(t,t+"-"+o[0],t+"-"+o[1])),[]),a=Math.min,u=Math.max,c=Math.round,s=Math.floor,l=e=>({x:e,y:e}),f={left:"right",right:"left",bottom:"top",top:"bottom"},p={start:"end",end:"start"};function d(e,t,r){return u(e,a(t,r))}function h(e,t){return"function"==typeof e?e(t):e}function y(e){return e.split("-")[0]}function v(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function b(e){return"y"===e?"height":"width"}function g(e){return["top","bottom"].includes(y(e))?"y":"x"}function w(e){return m(g(e))}function E(e,t,r){void 0===r&&(r=!1);const n=v(e),o=w(e),i=b(o);let a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=S(a)),[a,S(a)]}function _(e){return e.replace(/start|end/g,(e=>p[e]))}function S(e){return e.replace(/left|right|bottom|top/g,(e=>f[e]))}function O(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 x(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function T(e,t,r){let{reference:n,floating:o}=e;const i=g(t),a=w(t),u=b(a),c=y(t),s="y"===i,l=n.x+n.width/2-o.width/2,f=n.y+n.height/2-o.height/2,p=n[u]/2-o[u]/2;let d;switch(c){case"top":d={x:l,y:n.y-o.height};break;case"bottom":d={x:l,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:f};break;case"left":d={x:n.x-o.width,y:f};break;default:d={x:n.x,y:n.y}}switch(v(t)){case"start":d[a]-=p*(r&&s?-1:1);break;case"end":d[a]+=p*(r&&s?-1:1)}return d}async function P(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:i,rects:a,elements:u,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=h(t,e),y=O(d),v=u[p?"floating"===f?"reference":"floating":f],m=x(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(v)))||r?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:s,rootBoundary:l,strategy:c})),b="floating"===f?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,g=await(null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),w=await(null==i.isElement?void 0:i.isElement(g))&&await(null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},E=x(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:b,offsetParent:g,strategy:c}):b);return{top:(m.top-E.top+y.top)/w.y,bottom:(E.bottom-m.bottom+y.bottom)/w.y,left:(m.left-E.left+y.left)/w.x,right:(E.right-m.right+y.right)/w.x}}function j(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 L(e){const t=a(...e.map((e=>e.left))),r=a(...e.map((e=>e.top)));return{x:t,y:r,width:u(...e.map((e=>e.right)))-t,height:u(...e.map((e=>e.bottom)))-r}}function I(){return"undefined"!=typeof window}function C(e){return M(e)?(e.nodeName||"").toLowerCase():"#document"}function A(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function N(e){var t;return null==(t=(M(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function M(e){return!!I()&&(e instanceof Node||e instanceof A(e).Node)}function R(e){return!!I()&&(e instanceof Element||e instanceof A(e).Element)}function D(e){return!!I()&&(e instanceof HTMLElement||e instanceof A(e).HTMLElement)}function U(e){return!(!I()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof A(e).ShadowRoot)}function F(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=G(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function W(e){return["table","td","th"].includes(C(e))}function z(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function B(e){const t=V(),r=R(e)?G(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!r[e]&&"none"!==r[e]))||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function V(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Y(e){return["html","body","#document"].includes(C(e))}function G(e){return A(e).getComputedStyle(e)}function H(e){return R(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Q(e){if("html"===C(e))return e;const t=e.assignedSlot||e.parentNode||U(e)&&e.host||N(e);return U(t)?t.host:t}function q(e){const t=Q(e);return Y(t)?e.ownerDocument?e.ownerDocument.body:e.body:D(t)&&F(t)?t:q(t)}function K(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=q(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=A(o);if(i){const e=$(a);return t.concat(a,a.visualViewport||[],F(o)?o:[],e&&r?K(e):[])}return t.concat(o,K(o,[],r))}function $(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function X(e){const t=G(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=D(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,u=c(r)!==i||c(n)!==a;return u&&(r=i,n=a),{width:r,height:n,$:u}}function J(e){return R(e)?e:e.contextElement}function Z(e){const t=J(e);if(!D(t))return l(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=X(t);let a=(i?c(r.width):r.width)/n,u=(i?c(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),u&&Number.isFinite(u)||(u=1),{x:a,y:u}}const ee=l(0);function te(e){const t=A(e);return V()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ee}function re(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),i=J(e);let a=l(1);t&&(n?R(n)&&(a=Z(n)):a=Z(e));const u=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==A(e))&&t}(i,r,n)?te(i):l(0);let c=(o.left+u.x)/a.x,s=(o.top+u.y)/a.y,f=o.width/a.x,p=o.height/a.y;if(i){const e=A(i),t=n&&R(n)?A(n):n;let r=e,o=$(r);for(;o&&n&&t!==r;){const e=Z(o),t=o.getBoundingClientRect(),n=G(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,s*=e.y,f*=e.x,p*=e.y,c+=i,s+=a,r=A(o),o=$(r)}}return x({width:f,height:p,x:c,y:s})}function ne(e,t){const r=H(e).scrollLeft;return t?t.left+r:re(N(e)).left+r}function oe(e,t,r){void 0===r&&(r=!1);const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:ne(e,n)),y:n.top+t.scrollTop}}function ie(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=A(e),n=N(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,u=0,c=0;if(o){i=o.width,a=o.height;const e=V();(!e||e&&"fixed"===t)&&(u=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:u,y:c}}(e,r);else if("document"===t)n=function(e){const t=N(e),r=H(e),n=e.ownerDocument.body,o=u(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=u(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+ne(e);const c=-r.scrollTop;return"rtl"===G(n).direction&&(a+=u(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:c}}(N(e));else if(R(t))n=function(e,t){const r=re(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=D(e)?Z(e):l(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{const r=te(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return x(n)}function ae(e,t){const r=Q(e);return!(r===t||!R(r)||Y(r))&&("fixed"===G(r).position||ae(r,t))}function ue(e,t,r){const n=D(t),o=N(t),i="fixed"===r,a=re(e,!0,i,t);let u={scrollLeft:0,scrollTop:0};const c=l(0);if(n||!n&&!i)if(("body"!==C(t)||F(o))&&(u=H(t)),n){const e=re(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=ne(o));const s=!o||n||i?l(0):oe(o,u);return{x:a.left+u.scrollLeft-c.x-s.x,y:a.top+u.scrollTop-c.y-s.y,width:a.width,height:a.height}}function ce(e){return"static"===G(e).position}function se(e,t){if(!D(e)||"fixed"===G(e).position)return null;if(t)return t(e);let r=e.offsetParent;return N(e)===r&&(r=r.ownerDocument.body),r}function le(e,t){const r=A(e);if(z(e))return r;if(!D(e)){let t=Q(e);for(;t&&!Y(t);){if(R(t)&&!ce(t))return t;t=Q(t)}return r}let n=se(e,t);for(;n&&W(n)&&ce(n);)n=se(n,t);return n&&Y(n)&&ce(n)&&!B(n)?r:n||function(e){let t=Q(e);for(;D(t)&&!Y(t);){if(B(t))return t;if(z(t))return null;t=Q(t)}return null}(e)||r}const fe={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i="fixed"===o,a=N(n),u=!!t&&z(t.floating);if(n===a||u&&i)return r;let c={scrollLeft:0,scrollTop:0},s=l(1);const f=l(0),p=D(n);if((p||!p&&!i)&&(("body"!==C(n)||F(a))&&(c=H(n)),D(n))){const e=re(n);s=Z(n),f.x=e.x+n.clientLeft,f.y=e.y+n.clientTop}const d=!a||p||i?l(0):oe(a,c,!0);return{width:r.width*s.x,height:r.height*s.y,x:r.x*s.x-c.scrollLeft*s.x+f.x+d.x,y:r.y*s.y-c.scrollTop*s.y+f.y+d.y}},getDocumentElement:N,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[..."clippingAncestors"===r?z(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=K(e,[],!1).filter((e=>R(e)&&"body"!==C(e))),o=null;const i="fixed"===G(e).position;let a=i?Q(e):e;for(;R(a)&&!Y(a);){const t=G(a),r=B(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||F(a)&&!r&&ae(e,a))?n=n.filter((e=>e!==a)):o=t,a=Q(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],c=i[0],s=i.reduce(((e,r)=>{const n=ie(t,r,o);return e.top=u(n.top,e.top),e.right=a(n.right,e.right),e.bottom=a(n.bottom,e.bottom),e.left=u(n.left,e.left),e}),ie(t,c,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:le,getElementRects:async function(e){const t=this.getOffsetParent||le,r=this.getDimensions,n=await r(e.floating);return{reference:ue(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}=X(e);return{width:t,height:r}},getScale:Z,isElement:R,isRTL:function(e){return"rtl"===G(e).direction}};function pe(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function de(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:f=!1}=n,p=J(e),d=o||i?[...p?K(p):[],...K(t)]:[];d.forEach((e=>{o&&e.addEventListener("scroll",r,{passive:!0}),i&&e.addEventListener("resize",r)}));const h=p&&l?function(e,t){let r,n=null;const o=N(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function c(l,f){void 0===l&&(l=!1),void 0===f&&(f=1),i();const p=e.getBoundingClientRect(),{left:d,top:h,width:y,height:v}=p;if(l||t(),!y||!v)return;const m={rootMargin:-s(h)+"px "+-s(o.clientWidth-(d+y))+"px "+-s(o.clientHeight-(h+v))+"px "+-s(d)+"px",threshold:u(0,a(1,f))||1};let b=!0;function g(t){const n=t[0].intersectionRatio;if(n!==f){if(!b)return c();n?c(!1,n):r=setTimeout((()=>{c(!1,1e-7)}),1e3)}1!==n||pe(p,e.getBoundingClientRect())||c(),b=!1}try{n=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(g,m)}n.observe(e)}(!0),i}(p,r):null;let y,v=-1,m=null;c&&(m=new ResizeObserver((e=>{let[n]=e;n&&n.target===p&&m&&(m.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),r()})),p&&!f&&m.observe(p),m.observe(t));let b=f?re(e):null;return f&&function t(){const n=re(e);b&&!pe(b,n)&&r(),b=n,y=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach((e=>{o&&e.removeEventListener("scroll",r),i&&e.removeEventListener("resize",r)})),null==h||h(),null==(e=m)||e.disconnect(),m=null,f&&cancelAnimationFrame(y)}}const he=P,ye=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:u}=t,c=await async function(e,t){const{placement:r,platform:n,elements:o}=e,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),a=y(r),u=v(r),c="y"===g(r),s=["left","top"].includes(a)?-1:1,l=i&&c?-1:1,f=h(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return u&&"number"==typeof m&&(d="end"===u?-1*m:m),c?{x:d*l,y:p*s}:{x:p*s,y:d*l}}(t,e);return a===(null==(r=u.offset)?void 0:r.placement)&&null!=(n=u.arrow)&&n.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},ve=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,o;const{rects:a,middlewareData:u,placement:c,platform:s,elements:l}=t,{crossAxis:f=!1,alignment:p,allowedPlacements:d=i,autoAlignment:m=!0,...b}=h(e,t),g=void 0!==p||d===i?function(e,t,r){return(e?[...r.filter((t=>v(t)===e)),...r.filter((t=>v(t)!==e))]:r.filter((e=>y(e)===e))).filter((r=>!e||v(r)===e||!!t&&_(r)!==r))}(p||null,m,d):d,w=await P(t,b),S=(null==(r=u.autoPlacement)?void 0:r.index)||0,O=g[S];if(null==O)return{};const x=E(O,a,await(null==s.isRTL?void 0:s.isRTL(l.floating)));if(c!==O)return{reset:{placement:g[0]}};const T=[w[y(O)],w[x[0]],w[x[1]]],j=[...(null==(n=u.autoPlacement)?void 0:n.overflows)||[],{placement:O,overflows:T}],k=g[S+1];if(k)return{data:{index:S+1,overflows:j},reset:{placement:k}};const L=j.map((e=>{const t=v(e.placement);return[e.placement,t&&f?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),I=(null==(o=L.filter((e=>e[2].slice(0,v(e[0])?2:3).every((e=>e<=0))))[0])?void 0:o[0])||L[0][0];return I!==c?{data:{index:S+1,overflows:j},reset:{placement:I}}:{}}}},me=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=h(e,t),s={x:r,y:n},l=await P(t,c),f=g(y(o)),p=m(f);let v=s[p],b=s[f];if(i){const e="y"===p?"bottom":"right";v=d(v+l["y"===p?"top":"left"],v,v-l[e])}if(a){const e="y"===f?"bottom":"right";b=d(b+l["y"===f?"top":"left"],b,b-l[e])}const w=u.fn({...t,[p]:v,[f]:b});return{...w,data:{x:w.x-r,y:w.y-n,enabled:{[p]:i,[f]:a}}}}}},be=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:a,initialPlacement:u,platform:c,elements:s}=t,{mainAxis:l=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:b=!0,...w}=h(e,t);if(null!=(r=i.arrow)&&r.alignmentOffset)return{};const O=y(o),x=g(u),T=y(u)===u,j=await(null==c.isRTL?void 0:c.isRTL(s.floating)),k=p||(T||!b?[S(u)]:function(e){const t=S(e);return[_(e),t,_(t)]}(u)),L="none"!==m;!p&&L&&k.push(...function(e,t,r,n){const o=v(e);let i=function(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:a;default:return[]}}(y(e),"start"===r,n);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(_)))),i}(u,b,m,j));const I=[u,...k],C=await P(t,w),A=[];let N=(null==(n=i.flip)?void 0:n.overflows)||[];if(l&&A.push(C[O]),f){const e=E(o,a,j);A.push(C[e[0]],C[e[1]])}if(N=[...N,{placement:o,overflows:A}],!A.every((e=>e<=0))){var M,R;const e=((null==(M=i.flip)?void 0:M.index)||0)+1,t=I[e];if(t)return{data:{index:e,overflows:N},reset:{placement:t}};let r=null==(R=N.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:R.placement;if(!r)switch(d){case"bestFit":{var D;const e=null==(D=N.filter((e=>{if(L){const t=g(e.placement);return t===x||"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:D[0];e&&(r=e);break}case"initialPlacement":r=u}if(o!==r)return{reset:{placement:r}}}return{}}}},ge=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:i,platform:c,elements:s}=t,{apply:l=()=>{},...f}=h(e,t),p=await P(t,f),d=y(o),m=v(o),b="y"===g(o),{width:w,height:E}=i.floating;let _,S;"top"===d||"bottom"===d?(_=d,S=m===(await(null==c.isRTL?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(S=d,_="end"===m?"top":"bottom");const O=E-p.top-p.bottom,x=w-p.left-p.right,T=a(E-p[_],O),j=a(w-p[S],x),k=!t.middlewareData.shift;let L=T,I=j;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(I=x),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(L=O),k&&!m){const e=u(p.left,0),t=u(p.right,0),r=u(p.top,0),n=u(p.bottom,0);b?I=w-2*(0!==e||0!==t?e+t:u(p.left,p.right)):L=E-2*(0!==r||0!==n?r+n:u(p.top,p.bottom))}await l({...t,availableWidth:I,availableHeight:L});const C=await c.getDimensions(s.floating);return w!==C.width||E!==C.height?{reset:{rects:!0}}:{}}}},we=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=h(e,t);switch(n){case"referenceHidden":{const e=j(await P(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:k(e)}}}case"escaped":{const e=j(await P(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:k(e)}}}default:return{}}}}},Ee=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:u,elements:c,middlewareData:s}=t,{element:l,padding:f=0}=h(e,t)||{};if(null==l)return{};const p=O(f),y={x:r,y:n},m=w(o),g=b(m),E=await u.getDimensions(l),_="y"===m,S=_?"top":"left",x=_?"bottom":"right",T=_?"clientHeight":"clientWidth",P=i.reference[g]+i.reference[m]-y[m]-i.floating[g],j=y[m]-i.reference[m],k=await(null==u.getOffsetParent?void 0:u.getOffsetParent(l));let L=k?k[T]:0;L&&await(null==u.isElement?void 0:u.isElement(k))||(L=c.floating[T]||i.floating[g]);const I=P/2-j/2,C=L/2-E[g]/2-1,A=a(p[S],C),N=a(p[x],C),M=A,R=L-E[g]-N,D=L/2-E[g]/2+I,U=d(M,D,R),F=!s.arrow&&null!=v(o)&&D!==U&&i.reference[g]/2-(D<M?A:N)-E[g]/2<0,W=F?D<M?D-M:D-R:0;return{[m]:y[m]+W,data:{[m]:U,centerOffset:D-U-W,...F&&{alignmentOffset:W}},reset:F}}}),_e=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:o,platform:i,strategy:c}=t,{padding:s=2,x:l,y:f}=h(e,t),p=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(n.reference))||[]),d=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 o=t[e];!n||o.y-n.y>n.height/2?r.push([o]):r[r.length-1].push(o),n=o}return r.map((e=>x(L(e))))}(p),v=x(L(p)),m=O(s),b=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=l&&null!=f)return d.find((e=>l>e.left-m.left&&l<e.right+m.right&&f>e.top-m.top&&f<e.bottom+m.bottom))||v;if(d.length>=2){if("y"===g(r)){const e=d[0],t=d[d.length-1],n="top"===y(r),o=e.top,i=t.bottom,a=n?e.left:t.left,u=n?e.right:t.right;return{top:o,bottom:i,left:a,right:u,width:u-a,height:i-o,x:a,y:o}}const e="left"===y(r),t=u(...d.map((e=>e.right))),n=a(...d.map((e=>e.left))),o=d.filter((r=>e?r.left===n:r.right===t)),i=o[0].top,c=o[o.length-1].bottom;return{top:i,bottom:c,left:n,right:t,width:t-n,height:c-i,x:n,y:i}}return v}},floating:n.floating,strategy:c});return o.reference.x!==b.reference.x||o.reference.y!==b.reference.y||o.reference.width!==b.reference.width||o.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},Se=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:u=0,mainAxis:c=!0,crossAxis:s=!0}=h(e,t),l={x:r,y:n},f=g(o),p=m(f);let d=l[p],v=l[f];const b=h(u,t),w="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(c){const e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+w.mainAxis,r=i.reference[p]+i.reference[e]-w.mainAxis;d<t?d=t:d>r&&(d=r)}if(s){var E,_;const e="y"===p?"width":"height",t=["top","left"].includes(y(o)),r=i.reference[f]-i.floating[e]+(t&&(null==(E=a.offset)?void 0:E[f])||0)+(t?0:w.crossAxis),n=i.reference[f]+i.reference[e]+(t?0:(null==(_=a.offset)?void 0:_[f])||0)-(t?w.crossAxis:0);v<r?v=r:v>n&&(v=n)}return{[p]:d,[f]:v}}}},Oe=(e,t,r)=>{const n=new Map,o={platform:fe,...r},i={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,u=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(t));let s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:l,y:f}=T(s,n,c),p=n,d={},h=0;for(let r=0;r<u.length;r++){const{name:i,fn:y}=u[r],{x:v,y:m,data:b,reset:g}=await y({x:l,y:f,initialPlacement:n,placement:p,strategy:o,middlewareData:d,rects:s,platform:a,elements:{reference:e,floating:t}});l=null!=v?v:l,f=null!=m?m:f,d={...d,[i]:{...d[i],...b}},g&&h<=50&&(h++,"object"==typeof g&&(g.placement&&(p=g.placement),g.rects&&(s=!0===g.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):g.rects),({x:l,y:f}=T(s,p,c))),r=-1)}return{x:l,y:f,placement:p,strategy:o,middlewareData:d}})(e,t,{...o,platform:i})}},60565:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.EbmlElementId=void 0,t.getEbmlElementIdLength=s,t.getEbmlElementLevel=function(e){switch(e){case c.Ebml:case c.Segment:return 0;case c.Cluster:case c.Cues:case c.DocType:case c.DocTypeReadVersion:case c.DocTypeVersion:case c.EbmlMaxIdLength:case c.EbmlMaxSizeLength:case c.EbmlReadVersion:case c.EbmlVersion:case c.Info:case c.SeekHead:case c.Tracks:return 1;case c.CuePoint:case c.DateUTC:case c.Duration:case c.MuxingApp:case c.Position:case c.SegmentUID:case c.Seek:case c.SimpleBlock:case c.Timestamp:case c.TimestampScale:case c.Title:case c.TrackEntry:case c.WritingApp:return 2;case c.Audio:case c.CodecDecodeAll:case c.CodecID:case c.CodecName:case c.CodecPrivate:case c.CueTime:case c.CueTrackPositions:case c.DefaultDuration:case c.FlagDefault:case c.FlagEnabled:case c.FlagForced:case c.FlagLacing:case c.MaxBlockAdditionID:case c.MinCache:case c.SeekID:case c.SeekPosition:case c.SeekPreRoll:case c.TrackNumber:case c.TrackTimestampScale:case c.TrackType:case c.TrackUID:case c.Video:return 3;case c.Channels:case c.CueBlockNumber:case c.CueClusterPosition:case c.CueTrack:case c.FlagInterlaced:case c.PixelHeight:case c.PixelWidth:case c.SamplingFrequency:case c.Colour:return 4;case c.CueRefTime:return 5;case c.Void:return-1;default:throw Error("cannot determine level of unknown ebml element with id ".concat(e))}},t.getEbmlElementName=function(e){switch(e){case c.Ebml:return"EBML";case c.EbmlVersion:return"EBMLVersion";case c.EbmlReadVersion:return"EBMLReadVersion";case c.EbmlMaxIdLength:return"EBMLMaxIDLength";case c.EbmlMaxSizeLength:return"EBMLMaxSizeLength";case c.DocType:return"DocType";case c.DocTypeVersion:return"DocTypeVersion";case c.DocTypeReadVersion:return"DocTypeReadVersion";case c.Void:return"Void";case c.Segment:return"Segment";case c.SeekHead:return"SeekHead";case c.Seek:return"Seek";case c.SeekID:return"SeekID";case c.SeekPosition:return"SeekPosition";case c.Info:return"Info";case c.TimestampScale:return"TimestampScale";case c.Duration:return"Duration";case c.DateUTC:return"DateUTC";case c.Title:return"Title";case c.MuxingApp:return"MuxingApp";case c.WritingApp:return"WritinApp";case c.Cluster:return"Cluster";case c.Timestamp:return"Timestamp";case c.SimpleBlock:return"SimpleBlock";case c.SegmentUID:return"SegmentUID (unsupported by WebM)";case c.Tracks:return"Tracks";case c.TrackEntry:return"TrackEntry";case c.TrackNumber:return"TrackNumber";case c.TrackUID:return"TrackUID";case c.TrackType:return"TrackType";case c.FlagEnabled:return"FlagEnabled";case c.FlagDefault:return"FlagDefault";case c.FlagForced:return"FlagForced";case c.FlagLacing:return"FlagLacing";case c.MinCache:return"MinCache";case c.MaxBlockAdditionID:return"MaxBlockAdditionID";case c.CodecID:return"CodecID";case c.CodecDecodeAll:return"CodecDecodeAll";case c.SeekPreRoll:return"SeekPreRoll";case c.Video:return"Video";case c.FlagInterlaced:return"FlagInterlaced";case c.PixelWidth:return"PixelWidth";case c.PixelHeight:return"PixelHeight";case c.DefaultDuration:return"DefaultDuration";case c.TrackTimestampScale:return"TrackTimestampScale";case c.CodecName:return"CodecName";case c.CodecPrivate:return"CodecPrivate";case c.Audio:return"Audio";case c.SamplingFrequency:return"SamplingFrequency";case c.Channels:return"Channels";case c.Cues:return"Cues";case c.CuePoint:return"CuePoint";case c.CueTime:return"CueTime";case c.CueTrackPositions:return"CueTrackPositions";case c.CueTrack:return"CueTrack";case c.CueClusterPosition:return"CueClusterPosition";case c.CueRefTime:return"CueRefTime";case c.CueBlockNumber:return"CueBlockNumber";case c.Position:return"Position";case c.Colour:return"Colour";default:return""}},t.readEbmlElementId=function(e,t){var r=s(e.current);if(r>e.bytesAvailable)return!1;for(var n=e.current,o=0;o<r-1;++o)n=n<<8|e.nextUnsafe();return e.nextUnsafe(),e.checkBounds(),t.id=n,t.idLength=r,!0},r(45700),r(89572),r(2892);var c=t.EbmlElementId=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));function s(e){for(var t=7;t>3;t--)if(e&1<<t)return 8-t;throw Error("invalid ebml element id")}a(c,"Ebml",440786851),a(c,"EbmlVersion",17030),a(c,"EbmlReadVersion",17143),a(c,"EbmlMaxIdLength",17138),a(c,"EbmlMaxSizeLength",17139),a(c,"DocType",17026),a(c,"DocTypeVersion",17031),a(c,"DocTypeReadVersion",17029),a(c,"Void",236),a(c,"Segment",408125543),a(c,"SeekHead",290298740),a(c,"Seek",19899),a(c,"SeekID",21419),a(c,"SeekPosition",21420),a(c,"Info",357149030),a(c,"TimestampScale",2807729),a(c,"Duration",17545),a(c,"DateUTC",17505),a(c,"Title",31657),a(c,"MuxingApp",19840),a(c,"WritingApp",22337),a(c,"Cluster",524531317),a(c,"Timestamp",231),a(c,"SimpleBlock",163),a(c,"SegmentUID",29604),a(c,"Tracks",374648427),a(c,"TrackEntry",174),a(c,"TrackNumber",215),a(c,"TrackUID",29637),a(c,"TrackType",131),a(c,"FlagEnabled",185),a(c,"FlagDefault",136),a(c,"FlagForced",21930),a(c,"FlagLacing",156),a(c,"MinCache",28135),a(c,"MaxBlockAdditionID",21998),a(c,"CodecID",134),a(c,"CodecDecodeAll",170),a(c,"SeekPreRoll",22203),a(c,"Video",224),a(c,"FlagInterlaced",154),a(c,"PixelWidth",176),a(c,"PixelHeight",186),a(c,"DefaultDuration",2352003),a(c,"TrackTimestampScale",2306383),a(c,"CodecName",2459272),a(c,"CodecPrivate",25506),a(c,"Audio",225),a(c,"SamplingFrequency",181),a(c,"Channels",159),a(c,"Cues",475249515),a(c,"CuePoint",187),a(c,"CueTime",179),a(c,"CueTrackPositions",183),a(c,"CueTrack",247),a(c,"CueClusterPosition",241),a(c,"CueRefTime",150),a(c,"CueBlockNumber",21368),a(c,"Position",167),a(c,"Colour",21936)},65260:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),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 s.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 s.UnsignedInteger;case n.EbmlElementId.DocType:case n.EbmlElementId.CodecID:return s.String;case n.EbmlElementId.Void:case n.EbmlElementId.SeekID:case n.EbmlElementId.SimpleBlock:case n.EbmlElementId.SegmentUID:case n.EbmlElementId.CodecPrivate:return s.Binary;case n.EbmlElementId.Duration:case n.EbmlElementId.TrackTimestampScale:case n.EbmlElementId.SamplingFrequency:return s.Float;case n.EbmlElementId.DateUTC:return s.Date;case n.EbmlElementId.Title:case n.EbmlElementId.MuxingApp:case n.EbmlElementId.WritingApp:case n.EbmlElementId.CodecName:return s.Utf8String;default:throw Error("cannot determine type of unknown ebml element with id ".concat(e))}},r(45700),r(89572),r(2892);var n=r(60565);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}var s=t.EbmlElementType=a((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));u(s,"Unknown",0),u(s,"Master",1),u(s,"UnsignedInteger",2),u(s,"SignedInteger",3),u(s,"String",4),u(s,"Utf8String",5),u(s,"Binary",6),u(s,"Float",7),u(s,"Date",8)},415:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.epochTimestampOffset=t.EbmlElement=void 0,t.getEbmlElementSizeLength=l,t.getEbmlElementValue=function(e,t){switch(e){case o.EbmlElementType.UnsignedInteger:case o.EbmlElementType.SignedInteger:return(0,i.readBigEndianNumber)(t);case o.EbmlElementType.String:return String.fromCharCode.apply(null,t);case o.EbmlElementType.Utf8String:case o.EbmlElementType.Float:throw new Error("cannot read value of element with type ".concat(e));case o.EbmlElementType.Date:return s+(0,i.readBigEndianNumber)(t);case o.EbmlElementType.Binary:return t}},t.readEbmlLementSize=function(e,t){var r=l(e.current);if(r>e.bytesAvailable)return!1;for(var n=e.current-(1<<8-r),o=0;o<r-1;++o)n=n<<8|e.nextUnsafe();return e.nextUnsafe(),e.checkBounds(),t.sizeLength=r,t.size=n===1<<8*r-1?-1:n,!0},r(45700),r(89572),r(62010),r(2892);var n=r(60565),o=r(65260),i=r(12087);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function c(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var s=t.epochTimestampOffset=978307200;function l(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=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"elementSize",get:function(){return this.idLength+this.sizeLength+this.size}},{key:"id",get:function(){return this._id},set:function(e){this._id=e,this.name=(0,n.getEbmlElementName)(this._id),this.type=(0,o.getEbmlElementType)(this._id)}}])&&u(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},62343:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MediaInfo",{enumerable:!0,get:function(){return u.MediaInfo}}),Object.defineProperty(t,"MediaPacket",{enumerable:!0,get:function(){return a.MediaPacket}}),Object.defineProperty(t,"MediaRecorderDemuxer",{enumerable:!0,get:function(){return n.MediaRecorderDemuxer}}),Object.defineProperty(t,"MediaRecorderDemuxerEvents",{enumerable:!0,get:function(){return o.MediaRecorderDemuxerEvents}}),Object.defineProperty(t,"createMediaRecorderDemuxer",{enumerable:!0,get:function(){return i.createMediaRecorderDemuxer}});var n=r(53142),o=r(28538),i=r(75457),a=r(30440),u=r(47472)},47472:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(45700),r(23792),r(89572),r(2892),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.MediaInfo=void 0,t.MediaInfo=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.videoTrack={},this.audioTrack={}}))},30440:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(45700),r(23792),r(89572),r(2892),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.MediaPacket=void 0,t.MediaPacket=i((function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.ptsMs=r}))},28538:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.MediaRecorderDemuxerEvents=void 0,r(45700),r(89572),r(2892);var c=t.MediaRecorderDemuxerEvents=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));a(c,"Error","error"),a(c,"MediaInfo","media-info"),a(c,"MediaPacket","media-packet")},75457:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMediaRecorderDemuxer=function(e,t){var r;return"undefined"!=typeof MediaRecorder==0?null:(("function"==typeof MediaRecorder.isTypeSupported==0||MediaRecorder.isTypeSupported("video/webm;codecs=h264"))&&(r=new n.WebmMediaRecorderDemuxer(new MediaRecorder(e,{mimeType:"video/webm;codecs=h264"}),t)),r)};var n=r(44112);r(28538)},53142:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(2008),r(23792),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(81278),r(40875),r(79432),r(26099),r(60825),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMediaRecorderOptions=t.MediaRecorderDemuxer=void 0;var o=r(47472),i=r(28538);function a(){a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}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 s(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){l(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 l(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function p(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}var v=r(37007),m=t.defaultMediaRecorderOptions={timerInterval:100,logCallback:null};t.MediaRecorderDemuxer=function(e){function t(e,r){var c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(c=function(e,t,r){return t=h(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,d()?Reflect.construct(t,r||[],h(e).constructor):t.apply(e,r))}(this,t)).options=r?s(s({},m),r):m,c.mediaRecorder=e,c.mediaInfo=new o.MediaInfo,c.mediaRecorder.addEventListener("dataavailable",function(){var e,t=(e=a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c.addBlob(t.data);case 1:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,c,"next",e)}function c(e){u(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()),c.mediaRecorder.addEventListener("error",(function(e){c.emit(i.MediaRecorderDemuxerEvents.Error,e.error)})),c}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(t,e),r=t,l=[{key:"isSupported",value:function(e){return"undefined"!=typeof MediaRecorder&&"function"==typeof MediaRecorder.prototype.requestData&&"function"==typeof MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported(e)}}],(c=[{key:"start",value:function(){var e=this;this.mediaRecorder.start(),"function"==typeof this.mediaRecorder.requestData?this.timer=window.setInterval((function(){e.mediaRecorder.requestData()}),this.options.timerInterval):this.timer=window.setTimeout((function(){e.mediaRecorder.stop()}),this.options.timerInterval)}},{key:"stop",value:function(){"recording"===this.mediaRecorder.state&&this.mediaRecorder.stop(),this.timer&&(clearInterval(this.timer),this.timer=null)}}])&&f(r.prototype,c),l&&f(r,l),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,c,l}(v)},44112:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(4731),r(60479),r(2892),r(40875),r(60825),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.webmVideoTrackType=t.webmAudioTrackType=t.WebmMediaRecorderDemuxer=void 0,r(28706),r(23792),r(54743),r(62010),r(69085),r(26099),r(42762),r(21489),r(81630),r(72170),r(75044),r(69539),r(31694),r(89955),r(33206),r(44496),r(66651),r(12887),r(19369),r(66812),r(8995),r(31575),r(36072),r(88747),r(28845),r(29423),r(57301),r(373),r(86614),r(41405),r(33684);var o=r(53142),i=r(60565),a=r(415),u=r(12087),c=r(65260),s=r(28538),l=r(30440);function f(){f=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};l(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=l(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),l(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),l(x,s,"Generator"),l(x,u,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function p(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(e,t,r){return(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}var g=t.webmVideoTrackType=1,w=t.webmAudioTrackType=2;function E(){var e=this;return new Promise((function(t){var r=new FileReader;r.onload=function(){t(r.result)},r.readAsArrayBuffer(e)}))}var _=t.WebmMediaRecorderDemuxer=function(e){function t(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,r){return t=y(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r))}(this,t,[e,r])).state=t.stateParseElementId,o.currentEbmlElement=new a.EbmlElement,o.uint8ArrayAggregator=new u.Uint8ArrayAggregator,o.clusterTimestamp=0,o.timestampMsScale=1,o.ebmlElementStack=[],Blob.prototype.arrayBuffer=Blob.prototype.arrayBuffer||E,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(t,e),r=t,o=[{key:"addBlob",value:(m=f().mark((function e(r){var n,o,p,d,h,y,v,m,b,E,_,S,O;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=this.uint8ArrayAggregator,e.t1=Uint8Array,e.next=5,r.arrayBuffer();case 5:e.t2=e.sent,e.t3=new e.t1(e.t2),e.t0.addArray.call(e.t0,e.t3);case 8:if(!this.uint8ArrayAggregator.bytesAvailable){e.next=106;break}e.t4=this.state,e.next=e.t4===t.stateParseElementId?12:e.t4===t.stateParseElementLength?19:e.t4===t.stateParseElementValue?27:104;break;case 12:if(!(0,i.readEbmlElementId)(this.uint8ArrayAggregator,this.currentEbmlElement)){e.next=16;break}null==this.options.logCallback||this.options.logCallback("got new current ebml element (id: ".concat(this.currentEbmlElement.id,", name: ").concat(this.currentEbmlElement.name,")")),e.next=17;break;case 16:return e.abrupt("break",104);case 17:return this.state=t.stateParseElementLength,e.abrupt("break",104);case 19:if(!(0,a.readEbmlLementSize)(this.uint8ArrayAggregator,this.currentEbmlElement)){e.next=23;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,")")),e.next=24;break;case 23:return e.abrupt("break",104);case 24:return this.ebmlElementStack.length&&-1==this.currentEbmlElement.size&&(this.ebmlElementStack=[]),this.state=t.stateParseElementValue,e.abrupt("break",104);case 27:if(n=(0,c.getEbmlElementType)(this.currentEbmlElement.id),o=n!==c.EbmlElementType.Master||this.currentEbmlElement.id===i.EbmlElementId.Colour,n===c.EbmlElementType.Master&&-1!==this.currentEbmlElement.size&&this.ebmlElementStack.push({element:Object.assign(new a.EbmlElement,this.currentEbmlElement),bytesRemaining:this.currentEbmlElement.size}),this.currentEbmlElement.id!==i.EbmlElementId.CodecID){e.next=40;break}if(o=!1,null!=(p=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))){e.next=35;break}return e.abrupt("break",104);case 35:d=(0,a.getEbmlElementValue)(this.currentEbmlElement.type,p),this.currentTrackType===g?this.mediaInfo.videoTrack.codecName=d:this.currentTrackType===w&&(this.mediaInfo.audioTrack.codecName=d),null==this.options.logCallback||this.options.logCallback("got codec id ".concat(d)),e.next=91;break;case 40:if(this.currentEbmlElement.id!==i.EbmlElementId.CodecPrivate){e.next=47;break}if(o=!1,null!=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size)){e.next=45;break}return e.abrupt("break",104);case 45:e.next=91;break;case 47:if(this.currentEbmlElement.id!==i.EbmlElementId.TimestampScale){e.next=57;break}if(o=!1,null!=(h=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))){e.next=52;break}return e.abrupt("break",104);case 52:this.mediaInfo.timestampScale=(0,a.getEbmlElementValue)(this.currentEbmlElement.type,h),this.timestampMsScale=this.mediaInfo.timestampScale/1e6,null==this.options.logCallback||this.options.logCallback("got timestamp scale ".concat(this.mediaInfo.timestampScale)),e.next=91;break;case 57:if(this.currentEbmlElement.id!==i.EbmlElementId.Timestamp){e.next=66;break}if(o=!1,null!=(y=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))){e.next=62;break}return e.abrupt("break",104);case 62:this.clusterTimestamp=(0,a.getEbmlElementValue)(this.currentEbmlElement.type,y),null==this.options.logCallback||this.options.logCallback("got cluser timestamp ".concat(this.clusterTimestamp)),e.next=91;break;case 66:if(this.currentEbmlElement.id!==i.EbmlElementId.TrackType){e.next=75;break}if(o=!1,null!=(v=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))){e.next=71;break}return e.abrupt("break",104);case 71:this.currentTrackType=(0,a.getEbmlElementValue)(this.currentEbmlElement.type,v),null==this.options.logCallback||this.options.logCallback("got track with type ".concat(this.currentTrackType)),e.next=91;break;case 75:if(this.currentEbmlElement.id!==i.EbmlElementId.SimpleBlock){e.next=91;break}if(o=!1,null!=(m=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))){e.next=80;break}return e.abrupt("break",104);case 80:(b=new u.Uint8ArrayAggregator).addArray(m),E={},(0,a.readEbmlLementSize)(b,E),_=(0,u.readBigEndianNumber)(b.extract(2)),b.current,b.next(),b.trim(),S=(this.clusterTimestamp+_)*this.timestampMsScale,this.emit(s.MediaRecorderDemuxerEvents.MediaPacket,new l.MediaPacket(b.array,S));case 91:if(o&&this.uint8ArrayAggregator.skip(this.currentEbmlElement.size),n===c.EbmlElementType.Master||!this.ebmlElementStack.length){e.next=102;break}this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining-=this.currentEbmlElement.elementSize;case 94:if(0!==this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining){e.next=100;break}O=this.ebmlElementStack.pop(),this.ebmlElementStack.length&&(this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining-=O.element.elementSize),O.element.id===i.EbmlElementId.Tracks&&this.emit(s.MediaRecorderDemuxerEvents.MediaInfo,this.mediaInfo),e.next=101;break;case 100:return e.abrupt("break",102);case 101:if(this.ebmlElementStack.length){e.next=94;break}case 102:return this.state=t.stateParseElementId,e.abrupt("break",104);case 104:e.next=8;break;case 106:this.uint8ArrayAggregator.trim(),e.next=113;break;case 109:e.prev=109,e.t5=e.catch(0),this.stop(),this.emit(s.MediaRecorderDemuxerEvents.Error,e.t5);case 113:case"end":return e.stop()}}),e,this,[[0,109]])})),b=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=m.apply(e,t);function i(e){p(o,r,n,i,a,"next",e)}function a(e){p(o,r,n,i,a,"throw",e)}i(void 0)}))},function(e){return b.apply(this,arguments)})}],o&&d(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o,m,b}(o.MediaRecorderDemuxer);m(_,"stateParseElementId",1),m(_,"stateParseElementLength",2),m(_,"stateParseElementValue",3)},12087:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.Uint8ArrayAggregator=void 0,t.readBigEndianNumber=function(e){var t=0;return e.forEach((function(e){t=t<<8|e})),t},r(28706),r(23792),r(34782),r(54743),r(26099),r(21489),r(81630),r(72170),r(75044),r(69539),r(31694),r(89955),r(33206),r(44496),r(66651),r(12887),r(19369),r(66812),r(8995),r(31575),r(36072),r(88747),r(28845),r(29423),r(57301),r(373),r(86614),r(41405),r(33684),r(23500),t.Uint8ArrayAggregator=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.array=null,this.current=null,this.offset=0},(t=[{key:"addArray",value:function(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){var 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]}}},{key:"checkBounds",value:function(){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]}}},{key:"next",value:function(){return this.array?(this.offset++,this.checkBounds(),this.current):null}},{key:"nextUnsafe",value:function(){return this.offset++,this.current=this.array[this.offset],this.current}},{key:"bytesAvailable",get:function(){return this.array?this.array.length-this.offset:0}},{key:"trim",value:function(){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}}},{key:"extract",value:function(e){if(this.bytesAvailable>=e){var t=this.offset,r=this.array.slice(t,t+e);return this.offset+=e,this.current=this.array[this.offset],this.checkBounds(),r}return null}},{key:"skip",value:function(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}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},57513:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892),t.default=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._message=t,this._node=r},(t=[{key:"message",get:function(){return this._message}},{key:"node",get:function(){return this._node}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},2798:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(23792),r(89572),r(2892),r(83851),r(26099),r(31415),r(47764),r(23500),r(62953),t.default=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onPropertySet=t,this._klasses=new Set},(t=[{key:"_trackObserver",value:function(e){e.__cbio_observers||(e.__cbio_observers=new Set),e.__cbio_observers.add(this)}},{key:"_untrackObserver",value:function(e){e.__cbio_observers&&e.__cbio_observers.delete(this)}},{key:"_tap",value:function(e,t){if(!e["__cbio_override_".concat(t)]){var r=Object.getOwnPropertyDescriptor(e.prototype,t);if(r){e["__cbio_override_".concat(t)]=!0;var n=r.set;r.set=function(r){var o=this;n.call(this,r),e.__cbio_observers&&e.__cbio_observers.forEach((function(e){e.onPropertySet(o,t,r)}))},Object.defineProperty(e.prototype,t,r)}}}},{key:"observe",value:function(e,t){this._klasses.add(e),this._trackObserver(e),this._tap(e,t)}},{key:"disconnect",value:function(){var e=this;this._klasses.forEach((function(t){return e._untrackObserver(t)})),this._klasses.clear()}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},34216:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(2008),r(23792),r(83851),r(81278),r(79432),r(47764),r(73772),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(62062),r(89572),r(2892),r(26099),r(16034),r(23500);var n,o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=u(e)&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var c=o?Object.getOwnPropertyDescriptor(e,i):null;c&&(c.get||c.set)?Object.defineProperty(n,i,c):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(80136)),i=(n=r(57513))&&n.__esModule?n:{default:n};function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(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 s(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){l(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 l(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function p(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}t.default=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._id=t,this._dom={id:t,childNodes:[]},this._mapping={}}return function(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"id",get:function(){return this._id}},{key:"document",get:function(){return this._dom}},{key:"node",value:function(e){return this._mapping[e]}},{key:"applyPatch",value:function(t){var r=e.applyPatch(this._dom,t),n=r.dom,o=r.mapping;return this._dom=n,this._mapping=o,this}}],[{key:"createMapping",value:function(e){var t={};return(0,o.default)(e,(function(e){e.id?t[e.id]=e:console.warn("node missing id",e)})),t}},{key:"applyPatch",value:function(e,t){var r=this.createMapping(e),n={};t.forEach((function(e){if(e.id){var t=r[e.id]||{};r[e.id]=s(s({},t),e),n[e.id]=!0}else console.warn("diff missing id",e)})),Object.values(r).forEach((function(e){e.childNodes=(e.childNodes||[]).map((function(t){var n=t.id||t,o=r[n];if(!o)throw new i.default("denormalisation failed for child ".concat(n),e);return o}))}));var a=r[e.id],u=(0,o.depthFirstPostOrder)(a,(function(e,t){if(e.childNodes=t,t.map((function(e){return n[e.id]})).reduce((function(e,t){return e||t}),!1)){n[e.id]=!0;var o=s({},e);return r[e.id]=o,o}return e}));return{dom:u,mapping:this.createMapping(u)}}}])}()},80136:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}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 i(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"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r(52675),r(89463),r(2259),r(2008),r(23792),r(83851),r(81278),r(79432),r(26099),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){var n=t.childNodes,o=r(t,(function(){n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]}));return n&&n.length?i(i({},o),{},{childNodes:Array.from(n).map((function(t){return e(t,r)}))}):o},t.depthFirstPostOrder=function e(t,r){var n=Array.from(t.childNodes||[]).map((function(t){return e(t,r)}));return r(t,n)},r(45700),r(23418),r(62062),r(89572),r(2892),r(47764)},89501:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(23792),r(83851),r(26099),r(47764),r(73772),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CompressionError",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"PropertyObserver",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"VirtualDOM",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"depthFirst",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"depthFirstPostOrder",{enumerable:!0,get:function(){return a.depthFirstPostOrder}}),Object.defineProperty(t,"isxdoc",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"parents",{enumerable:!0,get:function(){return c.default}});var o=f(r(57513)),i=f(r(34216)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(80136)),u=f(r(10663)),c=f(r(19324)),s=f(r(2798));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}},10663:function(e,t){"use strict";function r(e){try{return!e.document&&!1}catch(e){return!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!r(e)||!("IFRAME"!==e.tagName||!r(e.contentWindow))}},19324:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r(52675),r(89463),r(2259),r(23418),r(23792),r(34782),r(62010),r(26099),r(27495),r(38781),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){for(var o=[],i=t;i.parentNode&&i.parentNode!==r;)o.push(i.parentNode),i=i.parentNode;var a,u=i.defaultView&&i.defaultView.frameElement;return u?[].concat(o,[u],function(e){if(Array.isArray(e))return n(e)}(a=e(u))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):o},r(28706)},51227:function(e,t,r){"use strict";var n;r(54554),r(27495),r(71761),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){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("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+)/));var e},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(n=!1,function(){n||(n=!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||function(){},e.exports=r(18630)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},18630:function(e,t,r){"use strict";function n(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}function i(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r(52675),r(89463),r(2259),r(23418),r(23792),r(62010),r(38781),r(47764),r(62953),r(28706),r(2008),r(48598),r(62062),r(34782),r(54554),r(2892),r(79432),r(26099),r(27495),r(25440),r(42762),r(23500),e.exports=function(e){function t(e){var r,n,o,a=null;function u(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if(u.enabled){var i=u,a=Number(new Date),c=a-(r||a);i.diff=c,i.prev=r,i.curr=a,r=a,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");var s=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return"%";s++;var o=t.formatters[r];if("function"==typeof o){var a=n[s];e=o.call(i,a),n.splice(s,1),s--}return e})),t.formatArgs.call(i,n),(i.log||t.log).apply(i,n)}}return u.namespace=e,u.useColors=t.useColors(),u.color=t.selectColor(e),u.extend=i,u.destroy=t.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:function(){return null!==a?a:(n!==t.namespaces&&(n=t.namespaces,o=t.enabled(e)),o)},set:function(e){a=e}}),"function"==typeof t.init&&t.init(u),u}function i(e,r){var n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function a(e,t){for(var r=0,n=0,o=-1,i=0;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(o=n,i=r,n++):(r++,n++);else{if(-1===o)return!1;n=o+1,r=++i}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(){var e=[].concat(n(t.names),n(t.skips.map((function(e){return"-"+e})))).join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];var r,n=o(("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean));try{for(n.s();!(r=n.n()).done;){var i=r.value;"-"===i[0]?t.skips.push(i.slice(1)):t.names.push(i)}}catch(e){n.e(e)}finally{n.f()}},t.enabled=function(e){var r,n=o(t.skips);try{for(n.s();!(r=n.n()).done;)if(a(e,r.value))return!1}catch(e){n.e(e)}finally{n.f()}var i,u=o(t.names);try{for(u.s();!(i=u.n()).done;)if(a(e,i.value))return!0}catch(e){u.e(e)}finally{u.f()}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((function(r){t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){for(var r=0,n=0;n<e.length;n++)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},85620:function(e,t,r){"use strict";r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(81278),r(40875),r(60825),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CobrowseIO=void 0,r(2008),r(50113),r(74423),r(23792),r(62062),r(79432),r(26099),r(84864),r(27495),r(38781),r(21699),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var n=T(r(7350)),o=r(89501),i=r(37007),a=r(45264),u=r(67829),c=r(18111),s=r(21667),l=r(72176),f=r(33035),p=T(r(75160)),d=T(r(40923)),h=x(r(77966)),y=T(r(58973)),v=r(73531),m=r(51312),b=T(r(77988)),g=T(r(51227)),w=T(r(32588)),E=x(r(58325)),_=T(r(198)),S=r(44661);function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(O=function(e){return e?r:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=P(e)&&"function"!=typeof e)return{default:e};var r=O(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function T(e){return e&&e.__esModule?e:{default:e}}function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function j(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 k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){D(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function L(){L=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,a=Object.create(i.prototype),u=new C(n||[]);return o(a,"_invoke",{value:T(e,r,u)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var p="suspendedStart",d="suspendedYield",h="executing",y="completed",v={};function m(){}function b(){}function g(){}var w={};s(w,a,(function(){return this}));var E=Object.getPrototypeOf,_=E&&E(E(A([])));_&&_!==r&&n.call(_,a)&&(w=_);var S=g.prototype=m.prototype=Object.create(w);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,i,a,u){var c=f(e[o],e,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==P(l)&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function T(t,r,n){var o=p;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=j(u,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var s=f(t,r,n);if("normal"===s.type){if(o=n.done?y:d,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=y,n.method="throw",n.arg=s.arg)}}}function j(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(P(t)+" is not iterable")}return b.prototype=g,o(S,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:b,configurable:!0}),b.displayName=s(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s(e,c,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},O(x.prototype),s(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(S),s(S,c,"Generator"),s(S,a,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function I(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function C(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){I(i,n,o,a,u,"next",e)}function u(e){I(i,n,o,a,u,"throw",e)}a(void 0)}))}}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,U(n.key),n)}}function N(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(N=function(){return!!e})()}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}function R(e,t){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},R(e,t)}function D(e,t,r){return(t=U(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function U(e){var t=function(e){if("object"!=P(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=P(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==P(t)?t:t+""}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 W(e,t){return e.get(B(e,t))}function z(e,t,r){return e.set(B(e,t),r),r}function B(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=(0,g.default)("cbio.CobrowseIO"),Y=new WeakMap,G=new WeakMap,H=new WeakMap,Q=new WeakMap,q=new WeakMap,K=new WeakMap,$=new WeakMap,X=new WeakMap,J=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,oe=new WeakMap,ie=new WeakMap,ae=new WeakMap,ue=new WeakMap,ce=new WeakMap,se=new WeakMap,le=new WeakMap,fe=new WeakMap,pe=new WeakMap,de=new WeakMap,he=new WeakMap,ye=new WeakMap,ve=new WeakMap,me=new WeakMap,be=new WeakMap,ge=new WeakMap,we=t.CobrowseIO=function(e){function t(){var e,r=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).sessionStorageFactory,i=void 0===r?function(e,t,r){var n=r.localStorage;return v.SessionStorage.create(e,t,{localStorage:n})}:r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),F(e=function(e,t,r){return t=M(t),function(e,t){if(t&&("object"==P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,N()?Reflect.construct(t,r||[],M(e).constructor):t.apply(e,r))}(this,t),Y,new u.ActivityDetection),F(e,G,void 0),F(e,H,void 0),F(e,Q,!1),F(e,q,!0),F(e,K,new m.LocalSessionStorage),F(e,$,void 0),F(e,X,void 0),F(e,J,{}),F(e,Z,s.Device.info.capabilities),F(e,ee,new s.Device(e)),F(e,te,new f.ConsentDialog),F(e,re,new f.ConsentDialog),F(e,ne,new f.ConsentDialog),F(e,oe,new f.ConsentDialog),F(e,ie,void 0),F(e,ae,void 0),F(e,ue,void 0),F(e,ce,void 0),F(e,se,void 0),F(e,le,void 0),F(e,fe,void 0),D(e,"start",C(L().mark((function r(){var n,i,u=arguments;return L().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(V("start()",n=u.length>0&&void 0!==u[0]?u[0]:{},"in",document),!y.default.isHeadless()||n.allowHeadless){r.next=5;break}return console.warn("CobrowseIO: Not starting Cobrowse in a headless browser"),r.abrupt("return");case 5:if(window.self===window.top){r.next=19;break}if(!n.allowIFrameStart){r.next=10;break}a.WindowTracking.setTracksIframes(!0),r.next=19;break;case 10:if(!(0,o.isxdoc)(window.parent)){r.next=17;break}return W(fe,e)&&W(fe,e).call(e),z(fe,e,(0,h.initIframeBridgeAsChild)(e)),V("Starting Cobrowse in Iframe bridge mode with trusted origins:",h.default.trustedOrigins,"for",document),r.abrupt("return");case 17:return V("Not starting Cobrowse for same-origin iframe",document),r.abrupt("return");case 19:if(W(fe,e)&&W(fe,e).call(e),z(fe,e,(0,h.initIframeBridgeAsParent)(e)),e.license){r.next=24;break}return console.error("CobrowseIO.license must be set before calling start"),r.abrupt("return");case 24:if(W(Q,e)){r.next=40;break}return p.default.initialize(),a.WindowTracking.start(),(0,d.default)(t.version).catch((function(){})),z(X,e,W($,e).call(e,e.trustedOrigins,e.api,{localStorage:W(K,e)})),console.log("CobrowseIO started",t.version),z(Q,e,!0),"boolean"==typeof n.register&&z(q,e,n.register),e.registration&&(W(Y,e).on("active",(function(){return W(ee,e).runRegistrationLoop()})),W(Y,e).on("inactive",(function(){return W(ee,e).pauseRegistrationLoop()}))),W(Y,e).start(),V("attempting to restore session after start"),r.next=37,W(pe,e).call(e);case 37:z(H,e,null),null!==(i=e.currentSession)&&void 0!==i&&i.isActive()||e.hideSessionControls(),E.mark("start");case 40:case"end":return r.stop()}}),r)})))),D(e,"stop",C(L().mark((function t(){var r;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.currentSession||e.currentSession.isEnded()){t.next=3;break}return t.next=3,e.currentSession.end().catch((function(e){console.warn("CobrowseIO: Failed to end session on stop",e)}));case 3:return W(he,e).call(e,null),a.WindowTracking.stop(),W(Y,e).stop(),t.next=8,W(ee,e).destroy();case 8:return t.next=10,null===(r=W(X,e))||void 0===r?void 0:r.destroy();case 10:return z(X,e,void 0),z(Q,e,!1),W(fe,e)&&(W(fe,e).call(e),z(fe,e,null)),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})))),D(e,"open",(function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_blank",n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).type;return W(G,e)?W(G,e).navigate(t,r,{type:n}):window.open(t,r)})),F(e,pe,C(L().mark((function t(){var r;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,W(X,e).load(e);case 2:if(r=t.sent)try{W(he,e).call(e,r,{invalidateFrames:!0})}catch(e){console.warn("CobrowseIO: Failed to fetch restored session",e)}return t.abrupt("return",null);case 5:case"end":return t.stop()}}),t)})))),F(e,de,(function(){W(ee,e).bannerMessage()&&f.Toast.show(W(ee,e).bannerMessage())})),F(e,he,(function(t){var r,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidateFrames,o=void 0!==n&&n;if(V("setting current session",t),!t||!W(G,e)||W(G,e).session.id()!==t.id()){W(te,e).hide(),W(re,e).hide(),W(ne,e).hide(),W(oe,e).hide();var i=function(e,t){return h.default.broadcastToChildren("control",[e,t])},a=function(e){return h.default.broadcastToChildren("remote-error",e)};W(G,e)&&(W(G,e).session.off("updated",W(ye,e)),W(G,e).session.off("ended",W(ve,e)),W(G,e).session.off("control",i),W(G,e).session.off("remote-error",a),W(G,e).destroy(),z(G,e,null)),null===(r=W(X,e))||void 0===r||r.store(t),t&&(z(G,e,new l.SessionContext(t,e)),t.state()&&W(ye,e).call(e,t),t.on("updated",W(ye,e)),t.once("ended",W(ve,e)),t.on("sync",(function(){return e.emit("session.sync")})),t.on("control",i),t.on("remote-error",a),o&&W(G,e).invalidateFrames())}})),F(e,ye,(function(t){W(X,e).store(t),t.fullDevice()||W(ne,e).hide(),"requested"!==t.remoteControl()&&W(re,e).hide(),t.isAuthorizing()||W(te,e).hide(),W(de,e).call(e,t),e.emit("session.updated",t)})),F(e,ve,(function(t){e.emit("session.ended",t),W(he,e).call(e,null),z(le,e,!1)})),F(e,me,void 0),D(e,"hideSessionControls",(function(){f.SessionStateOverlay.hide()})),F(e,be,(0,n.default)((function(){W(ee,e).hasPendingUpdates()&&W(Q,e)&&e.registration&&W(ee,e).updateRegistration().catch((function(e){console.warn("CobrowseIO: updating customData failed",e)}))}),8e3,{leading:!0,trailing:!0})),D(e,"confirmRemoteControl",C(L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",W(re,e).show(b.default.tr("REMOTE_CONTROL_REQUEST_TITLE"),b.default.tr("REMOTE_CONTROL_REQUEST_DESCRIPTION")));case 1:case"end":return t.stop()}}),t)})))),D(e,"confirmFullDevice",C(L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",W(ne,e).show(b.default.tr("FULL_DEVICE_REQUEST_TITLE"),b.default.tr("FULL_DEVICE_REQUEST_DESCRIPTION")));case 1:case"end":return t.stop()}}),t)})))),D(e,"confirmSession",C(L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",W(te,e).show(b.default.tr("SESSION_REQUEST_TITLE"),b.default.tr("SESSION_REQUEST_DESCRIPTION")));case 1:case"end":return t.stop()}}),t)})))),D(e,"confirmOpen",(function(t,r){if(r!==S.NAVIGATION_TYPE.UNIVERSAL)return!0;if(W(le,e))return!0;var n=W(oe,e).show(b.default.tr("UNIVERSAL_PROXY_REQUEST_TITLE"),b.default.tr("UNIVERSAL_PROXY_REQUEST_DESCRIPTION"));return n.then((function(t){t&&z(le,e,!0)})),n})),D(e,"showDocument",(function(e){"_blank"!==e.target&&0===_.default.getTabCount()?_.default.enterFullScreen():_.default.exitFullScreen();var t=e.type===S.NAVIGATION_TYPE.UNIVERSAL,r=_.default.newTab(e.element,"",e.url,e.isLoading,e.close,t);e.isBlocked&&r.showBanner(b.default.tr("UNIVERSAL_PROXY_BLOCKED"));var n=function(){r.setIcon(e.icon),r.setTitle(e.title||e.url),r.setIsLoading(e.isLoading),e.isBlocked?r.showBanner(b.default.tr("UNIVERSAL_PROXY_BLOCKED")):r.hideBanner()};e.on("updated",n),e.once("closed",(function(){e.off("updated",n),r.close()}))})),D(e,"getSession",function(){var t=C(L().mark((function t(r){var n;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(W(Q,e)){t.next=2;break}throw new Error("CobrowseIO not started. Call CobrowseIO.start()");case 2:if(!e.currentSession||e.currentSession.id()!==r&&e.currentSession.code()!==r){t.next=4;break}return t.abrupt("return",e.currentSession.fetch());case 4:return n=new l.Session(e).updateResource({id:r}),W(he,e).call(e,n),t.next=8,n.fetch();case 8:return e.emit("session.loaded",n),t.abrupt("return",n);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),D(e,"createSession",C(L().mark((function t(){var r;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(W(Q,e)){t.next=2;break}throw new Error("CobrowseIO not started. Call CobrowseIO.start()");case 2:if(!e.currentSession||!e.currentSession.isActive()&&!e.currentSession.isAuthorizing()){t.next=4;break}throw new Error("Already in a session");case 4:return E.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."),r=new l.Session(e),W(he,e).call(e,r),t.next=9,r.update({custom_data:e.customData,device:s.Device.info});case 9:return e.emit("session.loaded",r),t.abrupt("return",r);case 11:case"end":return t.stop()}}),t)})))),D(e,"createSessionCode",C(L().mark((function t(){var r;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.createSession();case 2:return r=t.sent,t.abrupt("return",r.code());case 4:case"end":return t.stop()}}),t)})))),D(e,"client",C(L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})))),F(e,ge,(function(t){t&&["license","api","registration","customData","showSessionControls","hideSessionControls","confirmSession","confirmRemoteControl","confirmFullDevice","trustedOrigins","redactedViews","unredactedViews","ignoredViews","capabilities","pdfLinks","universalLinks","confirmOpen","showDocument"].forEach((function(r){void 0!==t[r]&&(e[r]=t[r])}))})),V("interface constructed in",document),z($,e,i),e.api="https://api.cobrowse.io",W(ge,e).call(e,window&&window.CobrowseIO),z(H,e,W(K,e).load(e)),W(ee,e).on("register",W(de,e)),W(ee,e).on("notification",(function(t){var r=t["cobrowseio-code"];r&&e.getSession(r).catch((function(e){console.warn("CobrowseIO: session fetch failed:",e)}))})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(t,e),r=t,g=[{key:"version",get:function(){return s.Device.info.sdk_version}}],(i=[{key:"deviceId",value:function(){return s.Device.deviceId()}},{key:"currentSession",get:function(){return W(G,this)?W(G,this).session:W(H,this)}},{key:"showSessionControls",get:function(){return W(me,this)?W(me,this):f.SessionStateOverlay.show},set:function(e){z(me,this,e),f.SessionStateOverlay.hide(),this.currentSession&&this.currentSession.isActive()&&W(me,this).call(this)}},{key:"license",get:function(){return c.RESTResource.getHeader("X-CobrowseLicense")},set:function(e){if(W(Q,this)&&this.license!==e)throw new Error("Cannot change license once Cobrowse is started");c.RESTResource.setHeader("X-CobrowseLicense",e)}},{key:"api",get:function(){return c.RESTResource.api},set:function(e){if(W(Q,this)&&c.RESTResource.api!==e)throw new Error("Cannot change API once Cobrowse is started");c.RESTResource.api=e}},{key:"registration",get:function(){return!!W(q,this)},set:function(e){if(W(Q,this)&&W(q,this)!==e)throw new Error("Cannot change auto-registration state once Cobrowse is started");z(q,this,e)}},{key:"redactedViews",get:function(){return W(ie,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set redacted views after Cobrowse is started");z(ie,this,e)}},{key:"unredactedViews",get:function(){return W(ae,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set unredacted views after Cobrowse is started");z(ae,this,e)}},{key:"ignoredViews",get:function(){return W(ue,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set ignored views after Cobrowse is started");z(ue,this,e),w.default.setIgnoredViews(e)}},{key:"capabilities",get:function(){var e,t;return null!==(e=null===(t=this.currentSession)||void 0===t?void 0:t.capabilities)&&void 0!==e?e:W(Z,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set capabilities after Cobrowse is started");if(!Array.isArray(e))throw new Error("Capabilities should be an array");z(Z,this,e.filter((function(e){return!!s.Device.info.capabilities.includes(e)||(console.warn("Capability '".concat(e,"' not supported. Ignoring...")),!1)})))}},{key:"customData",get:function(){return k(k({},W(ee,this).customData),W(J,this))},set:function(e){if("object"!==P(e))throw new Error("Custom data must be an object");if(z(J,this,k(k({},W(J,this)),e)),W(Q,this)&&setTimeout(W(be,this),0),this.currentSession&&this.currentSession.isActive()){var t=this.currentSession.resource.custom_data;if(!Object.keys(e).find((function(r){return t[r]!==e[r]})))return void V("no changes to session custom data");this.currentSession.update({custom_data:e}).catch((function(){console.warn("CobrowseIO: failed to update custom data on active session")}))}}},{key:"trustedOrigins",get:function(){return h.default.trustedOrigins},set:function(e){var t=e.map((function(e){try{return new URL(e).origin}catch(t){return console.warn("CobrowseIO: Invalid URL in trustedOrigins:",e),null}})).filter((function(e){return e}));h.default.trustedOrigins=t}},{key:"pdfLinks",get:function(){return W(ce,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set pdfLinks after Cobrowse is started");var t=e.map((function(e){return e instanceof RegExp||"string"==typeof e?e:(console.warn("CobrowseIO: Invalid link in pdfLinks:",e),null)})).filter((function(e){return e}));z(ce,this,t)}},{key:"universalLinks",get:function(){return W(se,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set universalLinks after Cobrowse is started");var t=e.map((function(e){return e instanceof RegExp||"string"==typeof e?e:(console.warn("CobrowseIO: Invalid link in universalLinks:",e),null)})).filter((function(e){return e}));z(se,this,t)}},{key:"version",get:function(){return t.version}}])&&A(r.prototype,i),g&&A(r,g),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,i,g}(i.EventEmitter);c.RESTResource.setHeader("Content-Type","application/json"),c.RESTResource.setHeader("X-CobrowsePlatform","web"),c.RESTResource.setHeader("X-CobrowseSDKVersion",we.version),c.RESTResource.setHeader("X-CobrowseDevice",s.Device.deviceId()),c.RESTResource.setHeader("X-CobrowseAPIVersion","1.63.3"),t.default=new we},30961:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),t.hA=function(){return p.apply(this,arguments)},r(26099);var o=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}function a(){a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,c,"next",e)}function c(e){u(i,n,o,a,c,"throw",e)}a(void 0)}))}}var s=(0,i(r(51227)).default)("cbio.Integrations.Freshchat");function l(){return f.apply(this,arguments)}function f(){return(f=c(a().mark((function e(){var t,r,n,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.default.deviceId(),window.fcWidget.user.setProperties({cobrowse_device_id:t}),e.next=4,window.fcWidget.user.get();case 4:(r=e.sent).success&&(s("Freshchat initialized"),n=r.data,i={freshchat_numeric_user_id:n.id+"",freshchat_user_id:n.alias,cobrowse_device_id:t},n.isNameGenerated||(i.freshchat_user_first_name=n.firstName,i.freshchat_user_last_name=n.lastName),n.email&&(i.freshchat_user_email=n.email),o.default.customData=i);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(){return(p=c(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(window.fcWidget){e.next=3;break}return s("Freshchat not found"),e.abrupt("return");case 3:window.fcWidget.on("user:created",(function(e){e.success&&l()})),window.fcWidget.on("widget:opened",c(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.fcWidget.user.isExists();case 2:if(!0!==e.sent.data){e.next=6;break}return e.next=6,l();case 6:case"end":return e.stop()}}),e)}))));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},81809:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),t.A=function(){if(!c)try{var e,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");c=t.registerPlugin("CobrowseIOExtension"),window.oCobrowseIOExtension=c,s("CobrowseIOExtension",c),c.subscribe("WebChat.opened",(function(e){s("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=function(){return function(e){return l.apply(this,arguments)}(e)})}(c),function(e){e.command("WebChatService.updateUserData",{cobrowse_device_id:o.default.deviceId()}).done((function(e){s("CobrowseIOExtension.WebChatService.updateUserData succeeded",e)})).fail((function(e){s("CobrowseIOExtension.WebChatService.updateUserData failed",e)}))}(c)})),c.subscribe("WebChatService.started",(function(e){try{s("CobrowseIOExtension.WebChatService.started",e);var t={cobrowse_device_id:o.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)),o.default.customData=t}catch(e){s("Error during CobrowseIOExtension.WebChatService.started",e)}})),c.subscribe("WebChatService.agentConnected",(function(e){s("CobrowseIOExtension.WebChatService.agentConnected",e)})),c.subscribe("WebChatService.clientConnected",(function(e){s("CobrowseIOExtension.WebChatService.clientConnected",e)})),c.subscribe("WebChatService.restored",(function(e){s("CobrowseIOExtension.WebChatService.restored",e)})),c.subscribe("WebChatService.ended",(function(e){s("CobrowseIOExtension.WebChatService.ended",e),o.default.currentSession&&!o.default.currentSession.isEnded()&&o.default.currentSession.end()})),c.subscribe("WebChat.started",(function(e){try{if(s("CobrowseIOExtension.WebChat.started",e),e&&e.data&&e.data.form){s("e.data.form",e.data.form);var t=e.data.form||{};t.device_name=e.data.form.firstname?"".concat(e.data.form.firstname,"'s device"):"WebChat User's Device",o.default.customData=t}}catch(e){s("Error during CobrowseIOExtension.WebChat.started",e)}})),c.republish("ready"),c.ready()}catch(e){console.error("Error syncing Cobrowse.io with Genesys, please contact hello@cobrowse.io for help!"),console.warn(e)}},r(28706),r(26099);var o=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}function a(){a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}var c,s=(0,i(r(51227)).default)("cbio.Integrations.Genesys");function l(){var e;return e=a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s("Requesting cobrowse"),e.next=3,o.default.createSessionCode();case 3:r=e.sent,s("Generated session code: ".concat(r)),t.command("WebChatService.sendFilteredMessage",{message:"Customer requests Cobrowse session with code: ".concat(r.substr(0,3)," ").concat(r.substr(3)),regex:/Customer requests Cobrowse session with code:.*/}).done((function(e){s("CobrowseIOExtension.WebChatService sent filtered message successfully",e)})).fail((function(e){s("CobrowseIOExtension.WebChatService failed to send filtered message",e)}));case 6:case"end":return e.stop()}}),e)})),l=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,c,"next",e)}function c(e){u(i,n,o,a,c,"throw",e)}a(void 0)}))},l.apply(this,arguments)}},75160:function(e,t,r){"use strict";var n;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(89572),r(2892);var u=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.Integrations");t.default=function(){return function(e,t,r){return r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}),0,[{key:"watchProperty",value:function(e,t,r){var n=e[t],o=function(){u("monitoring changes to ".concat(t),e),Object.defineProperty(e,t,{configurable:!0,set:function(i){u("CobrowseIO detected",t,"as",i),n=i,Object.defineProperty(e,t,{configurable:!0,writable:!0,value:i}),setTimeout((function(){return r(o)}),0)},get:function(){return n}})};n?(u("".concat(t," already exists as ").concat(e[t])),r(o)):o()}},{key:"initialize",value:function(){var e=this;u("Initializing integrations"),this.watchProperty(window,"CXBus",(function(){return r(81809).A()})),this.watchProperty(window,"_genesys",(function(){return e.watchProperty(window._genesys,"widgets",(function(){return e.watchProperty(window._genesys.widgets,"bus",(function(){setTimeout((function(){r(81809).A()}),0)}))}))})),this.watchProperty(window,"Intercom",(function(){return r(83110).A()})),this.watchProperty(window,"$zopim",(function(){return r(77319).zopim()})),this.watchProperty(window,"embedded_svc",(function(){return e.watchProperty(window.embedded_svc,"liveAgentAPI",(function(){r(39278).A()}))})),this.initializeZendesk(r(77319).messenger,r(77319).classic,r(77319).sunshine),this.initializeFreshchat(r(30961).hA),this.initializeNice(r(32532).hA)}},{key:"initializeFreshchat",value:function(e){this.watchProperty(window,"fcWidget",(function(){return e()}))}},{key:"initializeZendesk",value:function(e,t,r){this.watchProperty(window,"zE",(function(r){if(!window.zE.widget)return r();"messenger"===window.zE.widget?e():t()})),this.watchProperty(window,"Smooch",(function(){return r()}))}},{key:"initializeNice",value:function(e){this.watchProperty(window,"cxone",(function(t){if(!window.cxone.guide)return t();e()}))}}])}()},83110:function(e,t,r){"use strict";t.A=function(){try{if(!window.Intercom||"function"!=typeof window.Intercom)throw new Error("expected window.Intercom to be a function");a("Initializing intercom integration"),u(),window.Intercom("onShow",(0,n.default)(u,12e4,{trailing:!1}))}catch(e){console.error("Error syncing Cobrowse.io with Intercom, please contact hello@cobrowse.io for help!"),console.warn(e)}};var n=i(r(7350)),o=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,i(r(51227)).default)("cbio.Integrations.Intercom");function u(){a("Updating intercom integration"),window.intercomSettings||(window.intercomSettings={}),window.intercomSettings.CobrowseID=o.default.deviceId(),window.Intercom("update",{CobrowseID:o.default.deviceId()})}},32532:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),t.hA=function(){return s.apply(this,arguments)},r(26099),r(42762);var o=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}function a(){a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}var c=(0,i(r(51227)).default)("cbio.Integrations.Nice");function s(){var e;return e=a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=o.default.deviceId();try{window.cxone("chat","setCustomerCustomField","cobrowse_device_id",t)}catch(e){console.log("Error setting Nice CX custom field",e)}window.cxone("chat","onAnyPushUpdate",(function(e){var r,n=e.data,i=e.eventType;if("CaseCreated"===i){var a;c("Nice case created");var u=n.case,s=u.id+"",l=null===(a=u.authorEndUserIdentity.fullName)||void 0===a?void 0:a.trim(),f=u.authorEndUserIdentity.idOnExternalPlatform;o.default.customData={nice_case_id:s,nice_external_contact_id:f,cobrowse_device_id:t,user_name:l}}else"CaseStatusChanged"===i&&"closed"===n.case.status&&null!==(r=o.default.currentSession)&&void 0!==r&&r.isActive()&&(c("Nice case closed"),o.default.currentSession.end())}));case 3:case"end":return e.stop()}}),e)})),s=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,c,"next",e)}function c(e){u(i,n,o,a,c,"throw",e)}a(void 0)}))},s.apply(this,arguments)}},39278:function(e,t,r){"use strict";t.A=function(){try{if("object"!==i(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");a("Initializing salesforce integration"),window.embedded_svc.addEventHandler("onChatRequestSuccess",(function(e){e&&e.liveAgentSessionKey&&(n.default.customData={salesforce_liveAgentSessionKey:e.liveAgentSessionKey})})),window.embedded_svc.addEventHandler("onChatEndedByAgent",(function(){n.default.currentSession&&n.default.currentSession.end()})),window.embedded_svc.addEventHandler("onChatEndedByChasitor",(function(){n.default.currentSession&&n.default.currentSession.end()}))}catch(e){console.error("Error syncing Cobrowse.io with Salesforce Chat, please contact hello@cobrowse.io for help!"),console.warn(e)}},r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953);var n=o(r(85620));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=(0,o(r(51227)).default)("cbio.Integrations.Salesforce")},71907:function(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)();var 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];return o("identify",r[0]),e.apply(void 0,r)}}()}catch(e){console.error("Error syncing Cobrowse.io with Zendesk (classic), please contact hello@cobrowse.io for help!"),console.warn(e)}},t.updateCustomData=o,r(62010);var n=r(77319);function o(e,t){var 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:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23418),r(23792),r(34782),r(62010),r(26099),r(27495),r(38781),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.POLLING_INTERVAL=void 0,Object.defineProperty(t,"classic",{enumerable:!0,get:function(){return a.classic}}),t.default=void 0,t.fillCustomData=function(e){Object.keys(e).length&&(o.default.customData=e)},Object.defineProperty(t,"messenger",{enumerable:!0,get:function(){return u.messenger}}),Object.defineProperty(t,"sunshine",{enumerable:!0,get:function(){return c.sunshine}}),t.swizzlezE=function(){var e=window.zE;for(var t in window.zE=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i,c=r[0],l=r[1],f=r[2];if("webWidget"===c&&(0,a.updateCustomData)(l,f),"messenger"===c&&(0,u.updateCustomData)(l,f),"messenger:set"===c&&"conversationTags"===l){var p=f;if(p&&p.length){var d=o.default.deviceId();p=[].concat(function(e){if(Array.isArray(e))return s(e)}(i=p)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),["cobrowseio_deviceid_".concat(d)]),r[2]=p,window.zE.__cobrowseio_zendesk_tags_set=!0}}return e.apply(void 0,r)},e)window.zE[t]=e[t]},Object.defineProperty(t,"zopim",{enumerable:!0,get:function(){return i.zopim}}),r(28706),r(79432);var n,o=(n=r(85620))&&n.__esModule?n:{default:n},i=r(34808),a=r(71907),u=r(96040),c=r(70);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}t.POLLING_INTERVAL=2e3,t.default={messenger:u.messenger,classic:a.classic,sunshine:c.sunshine,zopim:i.zopim}},96040:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.messenger=function(){(0,i.swizzlezE)();try{"true"===sessionStorage.getItem("ZD-widgetOpen")?p().then(c):window.zE("messenger:on","open",(function(){p().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=u,r(50113),r(79432),r(26099),r(27495),r(71761);var n,o=(n=r(85620))&&n.__esModule?n:{default:n},i=r(77319),a=window.localStorage;function u(e,t){var 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,i.fillCustomData)(r)}function c(){var e=s();if(!e)throw new Error("Missing client ID (ZD-buid)");var t=l(e);if(!t)throw new Error("Instance ID could not be found");var r=f(t);window.zE.__cobrowseio_zendesk_tags_set||window.zE("messenger:set","conversationTags",["cobrowseio_deviceid_".concat(o.default.deviceId())]),u("identify",{appUserId:r,deviceId:o.default.deviceId()})}function s(){return a.getItem("ZD-buid")}function l(e){var t;return null===(t=Object.keys(a).find((function(t){return t.match(/\w+\.clientId/)&&a[t]===e})))||void 0===t||null===(t=t.split("."))||void 0===t?void 0:t[0]}function f(e){return a.getItem("".concat(e,".appUserId"))}function p(){var e=function(t,r){a=sessionStorage.getItem("ZD-buid")?window.sessionStorage:window.localStorage;var n=f(l(s()));n?t(n):setTimeout(e,i.POLLING_INTERVAL,t,r)};return new Promise(e)}},70:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sunshine=function(){try{window.Smooch.on("widget:opened",(function(){var e;(e=function(t,r){var o=i();o?t(o):setTimeout(e,n.POLLING_INTERVAL,t,r)},new Promise(e)).then(o)}))}catch(e){console.error("Error syncing Cobrowse.io with Zendesk (Sunshine Conversations), please contact hello@cobrowse.io for help!"),console.warn(e)}},r(26099);var n=r(77319);function o(){var e;e={zendesk_web_user_id:{appUserId:i()}.appUserId},(0,n.fillCustomData)(e)}function i(){var e;return null===(e=window.Smooch.getUser())||void 0===e?void 0:e.id}},34808:function(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(){i("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)}};var n=o(r(85620));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,o(r(51227)).default)("cbio.Integrations.Zendesk")},64033:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(26099),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o=a(r(44153)),i=a(r(11191));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 p(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")}var h=new WeakMap,y=new WeakMap;t.default=c((function e(t){var r,n,a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,h,void 0),f(this,y,(function(){var e,t=i.default.unproxify(window.location.href),r=new URL((e=document.querySelectorAll('link[rel="icon"]'),e.length>0?e[0].href:"/favicon.ico"),t).href;p(h,a).call(a,{url:t,icon:i.default.proxify(r),title:document.title,isLoading:"complete"!==document.readyState,isBlocked:!1})})),s(this,"sendLoading",(function(e){p(h,a).call(a,{url:e,icon:"",title:"",isLoading:!0,isBlocked:!1})})),s(this,"sendBlocked",(function(e){p(h,a).call(a,{url:e,icon:"",title:"",isLoading:!1,isBlocked:!0})})),s(this,"destroy",(function(){o.default.off("navigate",p(y,a)),window.removeEventListener("popstate",p(y,a),{capture:!0}),document.removeEventListener("readystatechange",p(y,a),{capture:!0})})),n=t,(r=h).set(d(r,this),n),o.default.on("navigate",p(y,this)),window.addEventListener("popstate",p(y,this),{capture:!0}),document.addEventListener("readystatechange",p(y,this),{capture:!0}),p(y,this).call(this)}))},86350:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23418),r(23792),r(34782),r(62010),r(83851),r(81278),r(79432),r(27495),r(38781),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(2008),r(62062),r(89572),r(2892),r(26099);var n,o=(n=r(7350))&&n.__esModule?n:{default:n},i=r(89501);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(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 c(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){p(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function f(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t,r){return(t=d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var h=f((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,"_mousePosition",{x:-1,y:-1}),p(this,"_mouseIsDown",!1),p(this,"_mouseIsIn",!1),p(this,"track",(function(e){e.addEventListener("mousedown",t._onMouseDown,{capture:!0,passive:!0}),e.addEventListener("mouseup",t._onMouseUp,{capture:!0,passive:!0}),e.addEventListener("mouseenter",t._onMouseEnter,{capture:!0,passive:!0}),e.addEventListener("mouseleave",t._onMouseLeave,{capture:!0,passive:!0}),e.addEventListener("mousemove",t._onMouseMove,{capture:!0,passive:!0})})),p(this,"untrack",(function(e){e.removeEventListener("mousedown",t._onMouseDown,{capture:!0,passive:!0}),e.removeEventListener("mouseup",t._onMouseUp,{capture:!0,passive:!0}),e.removeEventListener("mouseenter",t._onMouseEnter,{capture:!0,passive:!0}),e.removeEventListener("mouseleave",t._onMouseLeave,{capture:!0,passive:!0}),e.removeEventListener("mousemove",t._onMouseMove,{capture:!0,passive:!0})})),p(this,"isDown",(function(){return t._mouseIsDown})),p(this,"setDown",(function(e){t._mouseIsDown=e,t.onChange&&t.onChange(t.state())})),p(this,"isIn",(function(){return t._mouseIsIn>0})),p(this,"position",(function(){return t._mousePosition})),p(this,"setPosition",(function(e,r,n){if(n){var o=[n].concat((a=(0,i.parents)(n).filter((function(e){var t;return null===(t=e.matches)||void 0===t?void 0:t.call(e,"iframe")})),function(e){if(Array.isArray(e))return s(e)}(a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())).map((function(e){return e.getBoundingClientRect()})).reduce((function(e,t){return{x:e.x+t.x,y:e.y+t.y}}),{x:0,y:0});e+=Math.round(o.x),r+=Math.round(o.y)}var a;t._mousePosition={x:e,y:r},t.onChange&&t.onChange(t.state())})),p(this,"state",(function(){return c(c({},t.position()),{},{down:t.isDown(),in:t.isIn()})})),p(this,"_onMouseDown",(function(e){e.isTrusted&&t.setDown(!0)})),p(this,"_onMouseUp",(function(e){e.isTrusted&&t.setDown(!1)})),p(this,"_onMouseEnter",(function(e){e.isTrusted&&(t._mouseIsIn+=1)})),p(this,"_onMouseLeave",(function(e){e.isTrusted&&e.target===e.currentTarget&&(t._mouseIsIn-=1)})),p(this,"_onMouseMove",(0,o.default)((function(e){if(e.isTrusted){var r=e.clientX,n=e.clientY,o=e.view&&e.view.frameElement;t.setPosition(r,n,o)}}),100))}));t.default=new h},27771:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(23792),r(26099),r(47764),r(73772),r(62953);var o=r(37007),i=r(40182),a=u(r(86542));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(s=function(){return!!e})()}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e,t,r){return(t=d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 y(e,t,r){return e.set(m(e,t),r),r}function v(e,t){return e.get(m(e,t))}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")}var b=(0,u(r(51227)).default)("cbio.WindowTracking"),g="_cobrowse_window_id",w=new WeakMap,E=new WeakMap,_=new WeakMap,S=new WeakMap,O=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return h(e=function(e,t,r){return t=l(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,s()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}(this,t,[].concat(o)),w,x._.call(t)),h(e,E,!1),h(e,_,!1),p(e,"start",(function(){v(_,e)||(y(_,e,!0),b("started"),v(S,e).call(e),document.addEventListener("visibilitychange",v(S,e),{capture:!0}),document.addEventListener("mouseover",v(S,e),{capture:!0}))})),p(e,"stop",(function(){b("stopped"),e.removeAllListeners(),y(_,e,!1),document.removeEventListener("visibilitychange",v(S,e),{capture:!0}),document.removeEventListener("mouseover",v(S,e),{capture:!0})})),p(e,"isActive",(function(){return(0,a.default)().getItem(g)===e.id})),p(e,"setTracksIframes",(function(t){y(E,e,t),v(S,e).call(e)})),p(e,"shouldTrack",(function(){return!document.hidden&&(!(window.self!==window.top)||v(E,e))})),p(e,"makeActive",(function(){e.isActive()||(b("making active",window),(0,a.default)().setItem(g,e.id),e.emit("activate",window))})),p(e,"resignActive",(function(){e.isActive()&&(b("resigning active",window),(0,a.default)().setItem(g,null))})),h(e,S,(function(){e.shouldTrack()&&e.makeActive(),e.emit("updated")})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(t,e),r=t,(o=[{key:"id",get:function(){return v(w,this)}}])&&c(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o}(o.EventEmitter),x={_:function(){return document.__cobrowse_window_id=document.__cobrowse_window_id||(0,i.v4)(),document.__cobrowse_window_id}};t.default=new O},45264:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MouseTracking",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"WindowTracking",{enumerable:!0,get:function(){return o.default}});var n=i(r(86350)),o=i(r(27771));function i(e){return e&&e.__esModule?e:{default:e}}},61789:function(e,t,r){"use strict";r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(40875),r(60825),r(40888),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RegistrationPath=t.DeviceIdPath=void 0,r(28706),r(50113),r(23792),r(79432),r(26099),r(27495),r(38781),r(47764),r(25440),r(73772),r(12041),r(62953),r(3296),r(27208),r(48408);var n=r(40182),o=r(18111),i=r(67829),a=s(r(86542)),u=s(r(56851)),c=s(r(18781));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(){f=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),u=new C(n||[]);return o(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};s(_,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&n.call(O,a)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(o,i,a,u){var c=d(e[o],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(l(t)+" is not iterable")}return w.prototype=E,o(x,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,s(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),s(P.prototype,u,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),s(x,c,"Generator"),s(x,a,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function p(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function d(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){p(i,n,o,a,u,"next",e)}function u(e){p(i,n,o,a,u,"throw",e)}a(void 0)}))}}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,E(n.key),n)}}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(e,t,r,n){var o=b(g(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof o?function(e){return o.apply(r,e)}:o}function b(){return b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}},b.apply(null,arguments)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function w(e,t,r){return(t=E(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){var t=function(e){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}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 S(e,t){return e.get(x(e,t))}function O(e,t,r){return e.set(x(e,t),r),r}function x(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 T=(0,s(r(51227)).default)("cbio.Device"),P=t.DeviceIdPath="_cobrowse_device_id",j=t.RegistrationPath="_cobrowse_device_registration",k=new WeakMap,L=new WeakMap,I=new WeakMap,C=new WeakMap,A=new WeakMap,N=new WeakMap,M=new WeakMap,R=new WeakMap,D=new WeakMap,U=new WeakMap,F=new WeakMap,W=new WeakMap;t.default=function(e){function t(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_(r=function(e,t,r){return t=g(t),function(e,t){if(t&&("object"==l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,y()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,t),k,void 0),_(r,L,void 0),_(r,I,void 0),_(r,C,!1),_(r,A,void 0),w(r,"url",(function(){return new URL("api/1/devices/".concat(r.id()),t.api).toString()})),w(r,"reset",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];T("resetting device"),clearTimeout(S(I,r)),O(I,r,null),e||(0,a.default)().removeItem(j),S(k,r)&&(S(k,r).close(),O(k,r,null))})),w(r,"destroy",d(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return T("destroying device"),r.reset(),e.abrupt("return",m(t,"destroy",r,3)([]));case 3:case"end":return e.stop()}}),e)})))),w(r,"hasPendingUpdates",(function(){var e=r.field("custom_data")||{},t=S(A,r).customData||{};return!!Object.keys(t).find((function(r){return e[r]!==t[r]}))})),_(r,N,(function(){if(!S(A,r).license)throw new Error("License required to generate storage key");return"".concat(S(A,r).license,":").concat(t.api)})),w(r,"_saveRegistration",(function(){var e=r.field("next_registration")||3600,t=(new Date).getTime();"number"!=typeof Date.now()&&console.error("Unexpected type returned for Date.now(), expecting number got ".concat(l(Date.now()))),"number"!=typeof t&&console.error("Unexpected type for getTime() of Date, expecting number got ".concat(l(t)));var n={notification_url:r.field("notification_url"),notification_token:r.field("notification_token"),custom_data:r.field("custom_data"),next_registration_time:t+1e3*e};return r.cache({next_registration_time:n.next_registration_time}),(0,a.default)(S(N,r).call(r)).setItem(j,n),r})),w(r,"_loadRegistration",(function(){if(!S(C,r)){O(C,r,!0);var e=(0,a.default)(S(N,r).call(r)).getItem(j);e&&(T("restoring registration",e),r.cache(e))}})),w(r,"updateRegistration",function(){var e=d(f().mark((function e(n){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!S(L,r).limit()){e.next=2;break}throw new Error("Cobrowse update rate limit exceeded. Maybe you're updating custom data too often?");case 2:return T("updating registration"),e.next=5,r.update({device:t.info,custom_data:S(A,r).customData},n);case 5:return S(W,r).call(r),r._saveRegistration(),r.emit("register"),e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),w(r,"runRegistrationLoop",d(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(T("starting registrations"),r._loadRegistration(),r.reset(!0),!(r.hasPendingUpdates()||r.nextRegistration()<=0)){e.next=6;break}return e.next=6,r.updateRegistration().catch((function(){}));case 6:S(W,r).call(r),S(M,r).call(r);case 8:case"end":return e.stop()}}),e)})))),w(r,"pauseRegistrationLoop",d(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:T("pausing registrations"),r.reset(!0);case 2:case"end":return e.stop()}}),e)})))),w(r,"nextRegistration",(function(){return(r.field("next_registration_time")||0)-(new Date).getTime()})),w(r,"bannerMessage",(function(){return r.field("banner_message")||!1})),w(r,"_nextUpdate",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Math.max(Math.min(6e4*e,36e5),r.nextRegistration())})),_(r,M,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(S(I,r))console.error("CobrowseIO: tried to schedule registration while already scheduled");else{var t=r._nextUpdate(e);O(I,r,setTimeout(d(f().mark((function t(){return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(S(I,r)){t.next=2;break}return t.abrupt("return",console.error("Registration loop cancelled"));case 2:return t.prev=2,t.next=5,r.updateRegistration();case 5:return O(I,r,!1),t.abrupt("return",S(M,r).call(r));case 9:return t.prev=9,t.t0=t.catch(2),console.warn("CobrowseIO: registration failed",t.t0),O(I,r,!1),t.abrupt("return",S(M,r).call(r,e+1));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),Math.max(1e3,t)))}})),_(r,R,(function(){var e=r.field("notification_url");return(0,u.default)(e)})),_(r,D,(function(){var e=r.field("notification_token");return["cbio.http.headers.authorization.bearer.".concat(window.btoa(e).replaceAll("=",""))]})),_(r,U,(function(){S(k,r)||(O(k,r,new i.CBORSocket({getUrl:S(R,r),getProtocols:S(D,r)})),S(k,r).setMaxReconnectDelay(6e4),S(k,r).on("error",(function(e){e&&console.warn("CobrowseIO notification socket error:",e)})),S(k,r).on("event",(function(e,t){"notification"===e?r.emit("notification",t):"probe"===e&&S(k,r).send("alive",t)})),S(k,r).on("open",(function(){S(k,r).send("filter",{events:["probe","notification"]})})))})),_(r,F,(function(){S(k,r)&&(console.log("CobrowseIO: Closing socket"),S(k,r).close(),O(k,r,null))})),_(r,W,(function(){var e=r.field("notification_url"),t=r.field("notification_token");e&&t?S(U,r).call(r):S(F,r).call(r)})),T("constructed"),!e)throw new Error("Device delegate is required");return O(A,r,e),O(L,r,new c.default(10,12e4)),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(t,e),r=t,s=[{key:"deviceCredentials",value:function(){var e=(0,a.default)().getItem(P)||{};return"string"==typeof e&&(e={id:e}),"object"!==l(e)&&(e={}),e.id||(e.id=(0,n.v4)()),e.token||(e.token=(0,n.v4)()),(0,a.default)().setItem(P,e),e}},{key:"deviceId",value:function(){return this.deviceCredentials().id}},{key:"deviceToken",value:function(){return this.deviceCredentials().token}},{key:"info",get:function(){var e=["pointer","scroll","select","keypress","drawing","disappearing_ink","laser","cursor","universal"];return/Android|webOS|iPhone|iPad|iPod|Opera Mini/i.test(window.navigator.userAgent)||e.push("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.2.2",capabilities:e}}}],(o=[{key:"id",value:function(){return t.deviceId()}},{key:"customData",get:function(){return this.field("custom_data")||{}}}])&&h(r.prototype,o),s&&h(r,s),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o,s}(o.RESTResource)},21667:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Device",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(61789))&&n.__esModule?n:{default:n}},71260:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(26099),r(47764),r(73772),r(62953);var o,i=(o=r(37007))&&o.__esModule?o:{default:o};function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}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 f(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function d(e,t){return e.get(y(e,t))}function h(e,t,r){return e.set(y(e,t),r),r}function y(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,m=new WeakMap,b=new WeakMap,g=new WeakMap;t.default=function(e){function t(e,r,o,i){var a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),f(a=function(e,t,r){return t=c(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,r||[],c(e).constructor):t.apply(e,r))}(this,t),"url",void 0),f(a,"target",void 0),f(a,"element",void 0),f(a,"type",void 0),l(a,v,void 0),l(a,m,void 0),l(a,b,!0),l(a,g,!1),f(a,"close",(function(){return a.emit("closed",a)})),a.url=e,a.target=r,a.element=o,a.type=i,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e),function(e,t){return t&&a(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"icon",get:function(){return d(v,this)},set:function(e){h(v,this,e),this.emit("updated",this)}},{key:"title",get:function(){return d(m,this)},set:function(e){h(m,this,e),this.emit("updated",this)}},{key:"isLoading",get:function(){return d(b,this)},set:function(e){h(b,this,e),this.emit("updated",this)}},{key:"isBlocked",get:function(){return d(g,this)},set:function(e){h(g,this,e),this.emit("updated",this)}}])}(i.default)},68756:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 s(e,t){return e.get(f(e,t))}function l(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")}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(2008),r(23792),r(26099),r(47764),r(73772),r(23500),r(62953);var p=new WeakMap,d=new WeakMap,h=new WeakMap;t.default=i((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,p,[]),c(this,d,void 0),c(this,h,(function(e){if(s(d,r)){var t=e.url,n=e.icon,o=e.title,i=e.isLoading,a=e.isBlocked;s(d,r).call(r,{url:t,icon:n,title:o,isLoading:i,isBlocked:a})}})),a(this,"addDocument",(function(e){e.once("closed",(function(){l(p,r,s(p,r).filter((function(t){return t!==e}))),e.off("updated",s(h,r))})),s(p,r).push(e),e.on("updated",s(h,r)),s(h,r).call(r,e)})),a(this,"closeAllDocuments",(function(){return s(p,r).forEach((function(e){return null==e?void 0:e.close()}))})),l(d,this,t)}))},89689:function(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 o.default}});var n=i(r(71260)),o=i(r(68756));function i(e){return e&&e.__esModule?e:{default:e}}},48374:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(2008),r(23418),r(34782),r(81278),r(79432),r(27495),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(74423),r(23792),r(89572),r(62010),r(2892),r(83851),r(26099),r(31415),r(21699),r(47764),r(23500),r(62953);var n,o=r(89501),i=r(45264),a=(n=r(44153))&&n.__esModule?n:{default:n},u=r(79883),c=r(49715);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function f(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?f(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(e,t,r){return(t=v(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}t.default=h((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,"_init",(function(){r._propertyWatcher||(r._propertyWatcher=new o.PropertyObserver(r._onPropertySet),a.default.on("stylechange",r._onStyleSheetChange),a.default.on("navigate",r._onNavigation),a.default.on("canvaschange",r._onCanvasChange))})),y(this,"observe",(function(e){if(!r._observing.has(e)){r._init();var t=Object.getOwnPropertyDescriptor(u.EventTarget.prototype,"addEventListener").value;t.call(e,"scroll",r._onEvent,{capture:!0,passive:!0}),t.call(e,"focus",r._onFocusChange,{capture:!0,passive:!0}),t.call(e,"blur",r._onFocusChange,{capture:!0,passive:!0}),t.call(e,"change",r._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keydown",r._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keyup",r._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keypress",r._onInputEvent,{capture:!0,passive:!0}),t.call(e,"selectionchange",r._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"select",r._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"mouseenter",r._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseleave",r._onEvent,{capture:!0,passive:!0}),t.call(e,"mousedown",r._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseup",r._onEvent,{capture:!0,passive:!0}),i.MouseTracking.track(e),c.NavigationTracking.track(e),r._observing.add(e);var n=(e.ownerDocument||e).defaultView;n&&!r._windows.has(n)&&(r._windows.add(n),a.default.tap(n),c.NavigationTracking.tap(n),r._propertyWatcher.observe(n.HTMLInputElement,"value"),r._propertyWatcher.observe(n.HTMLInputElement,"checked"),r._propertyWatcher.observe(n.HTMLTextAreaElement,"value"),r._propertyWatcher.observe(n.ShadowRoot,"adoptedStyleSheets"),r._propertyWatcher.observe(n.Document,"adoptedStyleSheets"),n.addEventListener&&(n.addEventListener("hashchange",r._onEvent,{capture:!0,passive:!0}),n.addEventListener("resize",r._onEvent,{capture:!0,passive:!0})))}})),y(this,"disconnect",(function(){var e=Object.getOwnPropertyDescriptor(u.EventTarget.prototype,"removeEventListener").value;r._observing.forEach((function(t){e.call(t,"scroll",r._onEvent,{capture:!0,passive:!0}),e.call(t,"focus",r._onFocusChange,{capture:!0,passive:!0}),e.call(t,"blur",r._onFocusChange,{capture:!0,passive:!0}),e.call(t,"change",r._onInputEvent,{capture:!0,passive:!0}),e.call(t,"keydown",r._onInputEvent,{capture:!0,passive:!0}),e.call(t,"keyup",r._onInputEvent,{capture:!0,passive:!0}),e.call(t,"keypress",r._onInputEvent,{capture:!0,passive:!0}),e.call(t,"selectionchange",r._onSelectionEvent,{capture:!0,passive:!0}),e.call(t,"select",r._onSelectionEvent,{capture:!0,passive:!0}),e.call(t,"mouseenter",r._onEvent,{capture:!0,passive:!0}),e.call(t,"mouseleave",r._onEvent,{capture:!0,passive:!0}),e.call(t,"mousedown",r._onEvent,{capture:!0,passive:!0}),e.call(t,"mouseup",r._onEvent,{capture:!0,passive:!0}),i.MouseTracking.untrack(t),c.NavigationTracking.untrack(t)})),r._observing.clear(),r._windows.forEach((function(e){a.default.untap(e),c.NavigationTracking.untap(e),e&&!(0,o.isxdoc)(e)&&e.removeEventListener&&(e.removeEventListener("hashchange",r._onEvent,{capture:!0,passive:!0}),e.removeEventListener("resize",r._onEvent,{capture:!0,passive:!0}))})),r._windows.clear(),r._propertyWatcher&&(r._propertyWatcher.disconnect(),r._propertyWatcher=null,a.default.off("stylechange",r._onStyleSheetChange),a.default.off("navigate",r._onNavigation),a.default.off("canvaschange",r._onCanvasChange))})),y(this,"_getActualTarget",(function(e){return Object.getOwnPropertyDescriptor(u.Event.prototype,"target").get.apply(e)})),y(this,"_target",(function(e){var t=r._getActualTarget(e);return t&&t.document||t})),y(this,"_onEvent",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r._onModification(r._target(e),p(p({},t),{},{type:e.type}))})),y(this,"_onSelectionEvent",(function(e){var t,n,o=r._getActualTarget(e),i=null!==(t=o.ownerDocument)&&void 0!==t?t:o;i.__last_agent_selection_ts>Date.now()-100||("selectionchange"===e.type&&(["INPUT","TEXTAREA"].includes(null===(n=i.activeElement)||void 0===n?void 0:n.tagName)?(i.activeElement.__cobrowse_user_selection_timestamp=Date.now(),r._onModification(i.activeElement,{type:e.type})):(o.__cobrowse_user_selection_timestamp=Date.now(),r._onModification(o,{type:e.type}))),"select"===e.type&&(o.__cobrowse_user_selection_timestamp=Date.now(),r._onModification(o,{type:e.type})))})),y(this,"_onStyleSheetChange",(function(e){e.ownerNode&&r._onModification(e.ownerNode,{type:"stylesheet"});var t,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(r._observing);try{for(n.s();!(t=n.n()).done;){var o,i=t.value;null!==(o=i.adoptedStyleSheets)&&void 0!==o&&o.includes(e)&&r._onModification(i,{type:"adoptedstylesheet"})}}catch(e){n.e(e)}finally{n.f()}})),y(this,"_onNavigation",(function(e){r._onModification(e.document,{type:"navigation"})})),y(this,"_onCanvasChange",(function(e){r._onModification(e,{type:"canvas"})})),y(this,"_onFocusChange",(function(e){var t=r._getActualTarget(e);null!=t&&(r._onModification(t,{type:e.type}),t.ownerDocument&&r._onModification(t.ownerDocument,{type:e.type}))})),y(this,"_onInputEvent",(function(e){var t=r._getActualTarget(e);"SELECT"===t.tagName||"TEXTAREA"===t.tagName?r._onModification(r._target(e),{recursive:!0,type:e.type}):"INPUT"===t.tagName&&("radio"===t.type?(t.closest("form")||t.ownerDocument).querySelectorAll("input[type=radio][name=".concat(t.name,"]")).forEach((function(t){return r._onModification(t,{type:e.type})})):r._onModification(r._target(e),{recursive:!0,type:e.type}))})),y(this,"_onPropertySet",(function(e){r._onModification(e,{type:"property"})})),this._onModification=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return setTimeout((function(){return t.apply(void 0,r)}),0)},this._observing=new Set,this._windows=new Set}))},25596:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(83851),r(81278),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(2008),r(62062),r(89572),r(2892),r(79432),r(26099),r(16034),r(23500);var n,o=(n=r(32017))&&n.__esModule?n:{default:n},i=r(89501);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(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 c(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 s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function l(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}t.default=l((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,"_difference",(function(e,t){return t?Object.keys(e).map((function(r){return!(0,o.default)(e[r],t[r])&&f({},r,e[r])})).filter((function(e){return e})).reduce((function(e,t){return c(c({},e),t)}),{}):c({},e)})),f(this,"compress",(function(){return Object.values(r.modified).map((function(e){var t=r.state.node(e.id),n=r._difference(e,r._flatten(t||{})),o=c({id:e.id},n);return 1!==Object.keys(o).length&&o})).filter((function(e){return e}))})),f(this,"mark",(function(){return r.state.applyPatch(Object.values(r.modified)),r.modified={},r})),f(this,"_flatten",(function(e){return e.childNodes?c(c({},e),{},{childNodes:e.childNodes.map((function(e){return{id:e.id}}))}):e})),f(this,"push",(function(e){return e&&e.modified?(e.modified.filter((function(e){return e})).forEach((function(e){(0,i.depthFirst)(e,(function(e){r.modified[e.id]=c(c({},r.modified[e.id]),r._flatten(e))}))})),r):(console.error("invalid patch",e),r)})),f(this,"reset",(function(e){return r.state=new i.VirtualDOM(r._id),r.modified={},e&&r.push({_t:"reset",modified:[e]}),r})),this._id=t,this.reset()}))},23221:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23418),r(34782),r(62010),r(83851),r(81278),r(40875),r(79432),r(60825),r(27495),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(2008),r(23792),r(62062),r(89572),r(2892),r(26099),r(31415),r(47764),r(23500),r(62953);var n=r(37007),o=r(89501),i=r(16566),a=r(66938),u=d(r(48374)),c=r(79883),s=d(r(77966)),l=d(r(51227)),f=r(38091),p=d(r(44153));function d(e){return e&&e.__esModule?e:{default:e}}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function y(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function m(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 b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function _(e,t,r){return(t=S(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e){var t=function(e){if("object"!=h(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==h(t)?t:t+""}var O=(0,l.default)("cbio.PatchStream");t.default=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_(r=function(e,t,r){return t=w(t),function(e,t){if(t&&("object"==h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,g()?Reflect.construct(t,r||[],w(e).constructor):t.apply(e,r))}(this,t),"start",(function(){O("starting patch stream for",r._root),r._documents=new Set,r._iframeBridge.on("patch",r._onXDocIframeUpdate),r._observe(r._root),p.default.on("attachshadow",r._onAttachShadow)})),_(r,"forceUpdate",(function(){O("forcing entire state update from",r._root),r.emit("patch",{_t:"pre-force",flush:!0,modified:[b(b({},a.NodeSerializer.serialize(r._root)),{},{scroll:void 0,childNodes:[b(b({},a.NodeSerializer.serialize(r._root.documentElement)),{},{childNodes:[a.NodeTree.depthFirst(r._root.head,a.NodeSerializer.serialize)]})]})]});var e={rasterizeCanvas:!0};r.emit("patch",{_t:"forced",modified:[a.NodeTree.depthFirst(r._root,(function(t,r){return a.NodeSerializer.serialize(t,r,e)}))]})})),_(r,"partialSync",(function(e){var t=a.NodeTracker.getById(e);t&&r.emit("patch",{_t:"partialsync",modified:[a.NodeSerializer.serialize(t)]})})),_(r,"stop",(function(){O("stopping patch stream for",r._root),r._eventObserver.disconnect(),r._mutationObserver.disconnect(),r._iframeBridge.removeListener("patch",r._onXDocIframeUpdate),r._documents&&r._documents.clear(),r._documents=null,p.default.off("attachshadow",r._onAttachShadow)})),_(r,"destroy",(function(){O("destroying patch stream for",r._root),r.stop(),r.removeAllListeners(),a.NodeTree.depthFirst(r._root,r._untrack),r._mutationObserver=null,r._eventObserver=null,r._iframeBridge=null,r._root=null})),_(r,"_track",(function(e){a.NodeUtils.isDOMNode(e)&&(a.NodeTracker.track(e),e.nodeType===window.Node.DOCUMENT_NODE&&r._observe(e),e.nodeType===window.Node.DOCUMENT_FRAGMENT_NODE&&r._observe(e),"IFRAME"===e.tagName&&(r._iframeBridge.track(e),e.removeEventListener("load",r._onIframeLoad,{capture:!0}),e.addEventListener("load",r._onIframeLoad,{capture:!0})))})),_(r,"_untrack",(function(e){a.NodeTracker.forget(e),a.NodeUtils.isDOMNode(e)&&"IFRAME"===e.tagName&&(e.removeEventListener("load",r._onIframeLoad,{capture:!0}),r._iframeBridge.remove(e))})),_(r,"_observe",(function(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(!r._documents.has(e)){O("starting observation of",e),r._documents.add(e),O("doing initial node tracking on observe for",e),a.NodeTree.depthFirst(e,r._track),r._eventObserver.observe(e);try{r._mutationObserver.observe(e,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}catch(t){console.error("CobrowseIO failed to start mutation observer for",e)}}})),_(r,"_onAttachShadow",(function(e){var t,n=e.host;a.NodeTracker.get(n)&&(null!==(t=i.RedactionIndexProvider.instance)&&void 0!==t&&t.isRedacted(n)||(r._observe(e),a.NodeTree.isIgnored(n)||r.emit("patch",{_t:"attachshadow",modified:[a.NodeSerializer.serialize(n),a.NodeTree.depthFirst(e,a.NodeSerializer.serialize)]})))})),_(r,"_onXDocIframeUpdate",(function(e,t){var n,o=t.iframe;O("xdoc iframe updated",o,e),o&&(null!==(n=i.RedactionIndexProvider.instance)&&void 0!==n&&n.isRedacted(o)||a.NodeTree.isIgnored(o)||(o.__document_id=e.document_id,r.emit("patch",{_t:"xdociframeupdate",modified:[a.NodeSerializer.serialize(o)].concat(y(e.patch))})))})),_(r,"_onIframeLoad",(function(e){var t,n=e.target;O("iframe loaded",n),null!==(t=i.RedactionIndexProvider.instance)&&void 0!==t&&t.isRedacted(n)||((0,o.isxdoc)(n)||r._observe(n.contentWindow.document),r._iframeBridge.track(n),a.NodeTree.isIgnored(n)||r.emit("patch",{_t:"iframeupdate",modified:[a.NodeTree.depthFirst(n,a.NodeSerializer.serialize)]}))})),_(r,"_onEventMutation",(function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r._mutationObserver&&r._onDOMChange(r._mutationObserver.takeRecords()),"TEXTAREA"===e.tagName&&a.NodeTree.depthFirst(e,r._track),a.NodeTracker.get(e)&&!(null!==(t=i.RedactionIndexProvider.instance)&&void 0!==t&&t.isRedacted(e)||a.NodeTree.isIgnored(e))){var o={rasterizeCanvas:"canvas"===n.type},u=n.recursive?a.NodeTree.depthFirst(e,(function(e,t){return a.NodeSerializer.serialize(e,t,o)})):a.NodeSerializer.serialize(e,void 0,o);r.emit("patch",{_t:"eventmutation:".concat(n.type),modified:[u]})}})),_(r,"_getModifications",(function(e){var t=new Set,n=new Set,o=new Set;return e.forEach((function(e){("characterData"===e.type||n.has(e.target)||a.NodeTracker.get(e.target))&&(0,f.discoverNodes)(e,n,o,t)})),t.forEach((function(e){return r._untrack(e)})),n.forEach((function(e){return r._track(e)})),{added:o,modified:n,removed:t}})),_(r,"_onDOMChange",(function(e){var t,n,o=r._getModifications(e),u=o.added,c=o.modified,s=o.removed,l=null!==(t=null===(n=i.RedactionIndexProvider.instance)||void 0===n?void 0:n.notifyChanges(e,u,c,s))&&void 0!==t?t:[],f=new Set([].concat(y(c),y(l)));O("DOM changed",f);var p=y(f).map((function(e){return a.NodeSerializer.serialize(e)})).filter(Boolean);O("DOM changes serialized",p),r.emit("patch",{_t:"domchange",modified:p})})),r._root=e,r._mutationObserver=new c.MutationObserver(r._onDOMChange),r._eventObserver=new u.default(r._onEventMutation),r._iframeBridge=s.default,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}(t,e),r=t,Object.defineProperty(r,"prototype",{writable:!1}),r;var r}(n.EventEmitter)},72847:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PatchCompressor",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"PatchStream",{enumerable:!0,get:function(){return n.default}});var n=i(r(23221)),o=i(r(25596));function i(e){return e&&e.__esModule?e:{default:e}}},53071:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var n=u(r(7350)),o=r(72847),i=r(66938),a=r(45264);function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function l(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}var d=(0,u(r(51227)).default)("cbio.DOMFrameSource");t.default=l((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,"_throttleCompressAndEmitFrame",(0,n.default)((function(){return r._compressAndEmitFrame()}),110)),f(this,"_compressAndEmitFrame",(function(){if(r._compression&&document&&i.NodeTracker.get(document)){var e=r._compression.compress();e.length&&r._onUpdate({document_id:i.NodeTracker.get(document),patch:e})&&r._compression.mark()}})),f(this,"capturingWillStart",(function(){if(d("capturingWillStart for DOMFrameSource in",document),r._sendInterval)throw new Error("DOMFrameSource already running");r._compression||(r._compression=new o.PatchCompressor(i.NodeTracker.track(document))),r._patchStream||(r._patchStream=new o.PatchStream(document)),a.WindowTracking.on("activate",r.reset),r._patchStream.on("patch",(function(e){r._compression.push(e),e.flush?r._compressAndEmitFrame():r._throttleCompressAndEmitFrame()})),r._sendInterval=setInterval((function(){return r._compressAndEmitFrame()}),500),r._patchStream.start()})),f(this,"capturingWillStop",(function(){d("capturingWillStop for DOMFrameSource in",document),a.WindowTracking.removeListener("activate",r.reset),r._sendInterval&&(clearInterval(r._sendInterval),r._sendInterval=null),r._patchStream&&(r._patchStream.destroy(),r._patchStream=null),r._compression&&(r._compression.reset(),r._compression=null)})),f(this,"setCodecs",(function(e){})),f(this,"reset",(function(){d("resetting DOMFrameSource in",document),r._compression.reset(),r._patchStream.forceUpdate()})),f(this,"destroy",(function(){d("destroying DOMFrameSource in",document),r.capturingWillStop(),r._onUpdate=null})),f(this,"partialSync",(function(e){r._patchStream.partialSync(e)})),d("DOMFrameSource constructed in",document),this._onUpdate=t}))},42668:function(e,t,r){"use strict";var n;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),u=new C(n||[]);return a(i,"_invoke",{value:j(e,r,u)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&n.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==o(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(o(t)+" is not iterable")}return w.prototype=E,a(x,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function a(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function u(e){a(i,n,o,u,c,"next",e)}function c(e){a(i,n,o,u,c,"throw",e)}u(void 0)}))}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(26099),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var p=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.FrameLoop");t.default=s((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"isRunning",(function(){return t._running})),l(this,"setSource",function(){var e=u(i().mark((function e(r){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.constructor!==(t.source&&t.source.constructor)){e.next=3;break}return p("frame source type not changed"),e.abrupt("return");case 3:if(!t.isRunning()){e.next=17;break}return t.source&&t.source.capturingWillStop(),t.source=r,e.prev=6,e.next=9,t.source.capturingWillStart();case 9:t.invalidateFrame(),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(6),console.error(e.t0);case 15:e.next=18;break;case 17:t.source=r;case 18:case"end":return e.stop()}}),e,null,[[6,12]])})));return function(t){return e.apply(this,arguments)}}()),l(this,"getSource",(function(){return t.source})),l(this,"start",u(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:p("starting frame loop in",document),t.isRunning()||(t._running=!0,t.source.capturingWillStart());case 2:case"end":return e.stop()}}),e)})))),l(this,"stop",(function(){t.isRunning()&&(t.source.capturingWillStop(),t._running=!1)})),l(this,"invalidateFrame",(function(){if(!t.isRunning())throw new Error("FrameLoop was destroyed");p("invalidate frame in",document),t.source&&t.source.reset()})),l(this,"destroy",(function(){p("destroying frame loop in",document),t.stop(),t.source&&(t.source.destroy(),t.source=null)})),p("FrameLoop constructed in",document),this._running=!1}))},16999:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(26099),r(47764),r(73772),r(23500),r(62953);var o,i=r(62343);function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function u(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 l(e,t){return e.get(p(e,t))}function f(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")}var d=(0,((o=r(51227))&&o.__esModule?o:{default:o}).default)("cbio.H264Encoder"),h=new WeakMap,y=new WeakMap,v=new WeakMap,m=new WeakMap,b=t.default=function(){return function(e,t,r){return r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r){var n=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,h,void 0),s(this,y,void 0),s(this,v,void 0),s(this,m,[]),u(this,"reset",(function(){d("resetting H264Encoder"),l(m,n).forEach((function(t){l(h,n).handleFrame(t,e.MIME_TYPE,1/0)}))})),u(this,"destroy",(function(){d("destroy H264Encoder"),l(v,n)&&(l(v,n).stop(),f(v,n,null)),f(m,n,null)})),d("H264Encoder constructed"),f(h,this,r),f(y,this,t),f(v,this,(0,i.createMediaRecorderDemuxer)(t)),!l(v,this))throw new Error("Failed to create MediaRecorderDemuxer");return l(v,this).on("media-packet",(function(t){var r,o=t.data;null!==l(v,n)&&(0===o[0]&&0===o[1]&&0===o[2]&&1===o[3]?r=o[4]:0===o[0]&&0===o[1]&&1===o[2]&&(r=o[3]),7==(31&r)&&f(m,n,[]),l(m,n).push(o),l(h,n).handleFrame(o,e.MIME_TYPE,1/0))})),l(v,this).start()}),0,[{key:"isSupported",value:function(){return i.MediaRecorderDemuxer.isSupported("video/webm;codecs=h264")}}])}();u(b,"MIME_TYPE","video/avc")},77601:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var o;function i(){i=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),u=new C(n||[]);return a(i,"_invoke",{value:j(e,r,u)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,a(x,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function a(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 p(e,t){return e.get(h(e,t))}function d(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")}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(40875),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(54743),r(26099),r(47764),r(21489),r(81630),r(72170),r(75044),r(69539),r(31694),r(89955),r(33206),r(44496),r(66651),r(12887),r(19369),r(66812),r(8995),r(31575),r(36072),r(88747),r(28845),r(29423),r(57301),r(373),r(86614),r(41405),r(33684),r(73772),r(62953);var y=(0,((o=r(51227))&&o.__esModule?o:{default:o}).default)("cbio.JPEGEncoder"),v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=t.default=c((function e(t,r){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,v,void 0),f(this,m,void 0),f(this,b,void 0),f(this,g,void 0),f(this,w,(function(){if(p(b,n)){var t=p(b,n).scale();p(m,n).width=p(v,n).videoWidth*t,p(m,n).height=p(v,n).videoHeight*t,p(m,n).getContext("2d").drawImage(p(v,n),0,0,p(m,n).width,p(m,n).height),p(m,n).toBlob(function(){var t,r=(t=i().mark((function t(r){var o;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(p(b,n)){t.next=2;break}return t.abrupt("return");case 2:return t.t0=Uint8Array,t.next=5,new Response(r).arrayBuffer();case 5:t.t1=t.sent,o=new t.t0(t.t1),p(b,n).handleFrame(o,e.MIME_TYPE,1);case 8:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function u(e){a(i,n,o,u,c,"next",e)}function c(e){a(i,n,o,u,c,"throw",e)}u(void 0)}))});return function(e){return r.apply(this,arguments)}}(),e.MIME_TYPE,.5)}})),s(this,"reset",(function(){})),s(this,"destroy",(function(){y("destroy JPEGEncoder"),p(g,n)&&(clearInterval(p(g,n)),d(g,n,null)),d(b,n,null),d(v,n,null),d(m,n,null)})),y("JPEGEncoder constructed"),d(b,this,r),d(v,this,document.createElement("video")),d(m,this,document.createElement("canvas")),p(v,this).srcObject=t,p(v,this).play(),d(g,this,setInterval(p(w,this),100))}));s(E,"MIME_TYPE","image/jpeg")},94911:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(23418),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(40875),r(27495),r(38781),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(74423),r(23792),r(26099),r(21699),r(47764),r(73772),r(62953);var o=a(r(16999)),i=a(r(77601));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(){c=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function s(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){s(i,n,o,a,u,"next",e)}function u(e){s(i,n,o,a,u,"throw",e)}a(void 0)}))}}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e,t,r){return(t=h(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function y(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,r){t||(t=[]);var n=t.length++;return Object.defineProperty({},"_",{set:function(o){t[n]=o,e.apply(r,t)}})}function m(e,t){return e.get(g(e,t))}function b(e,t,r){return e.set(g(e,t),r),r}function g(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 w=(0,a(r(51227)).default)("cbio.MediaStreamFrameSource"),E=new WeakMap,_=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,T=new WeakMap,P=new WeakMap;t.default=p((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,E,void 0),y(this,_,void 0),y(this,S,void 0),y(this,O,null),y(this,x,[]),y(this,T,(function(){return m(x,r).length&&!m(x,r).includes(o.default.MIME_TYPE)||!o.default.isSupported()?i.default:o.default})),y(this,P,function(){var e=l(c().mark((function e(t){var n,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=m(T,r).call(r),m(O,r)instanceof n||(w("Changing encoder to",n),null===(o=m(O,r))||void 0===o||o.destroy(),b(O,r,new n(t,m(S,r)))),e.abrupt("return",m(O,r));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),d(this,"setCodecs",(function(e){b(x,r,e||[]),m(_,r)&&m(P,r).call(r,m(_,r))})),d(this,"capturingWillStart",l(c().mark((function e(){var t,n,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w("capturingWillStart for MediaStreamFrameSource"),e.next=3,m(S,r).requestPermission();case 3:if(t=e.sent){e.next=6;break}return e.abrupt("return");case 6:if(e.prev=6,!(t instanceof MediaStream)){e.next=11;break}b(_,r,t),e.next=18;break;case 11:return e.t0=b,e.t1=_,e.t2=r,e.next=16,navigator.mediaDevices.getDisplayMedia({video:{cursor:"always",width:{ideal:1400},height:{ideal:1e3},frameRate:{max:10}},audio:!1});case 16:e.t3=e.sent,(0,e.t0)(e.t1,e.t2,e.t3);case 18:if(n=m(_,r).getVideoTracks(),a=1,o=function(e){if(Array.isArray(e))return e}(i=n)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(i,a)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),v(b,[E,r])._=o[0],m(E,r)){e.next=23;break}throw new Error("failed to get display media track");case 23:m(E,r).onended=function(){w("track ended"),b(E,r,null),m(S,r).captureEnded(),r.destroy()},m(P,r).call(r,m(_,r)),m(S,r).captureStarted(m(_,r)),e.next=31;break;case 28:e.prev=28,e.t4=e.catch(6),m(S,r).captureEnded(e.t4);case 31:case"end":return e.stop()}var i,a}),e,null,[[6,28]])})))),d(this,"capturingWillStop",(function(){var e;w("capturingWillStop for MediaStreamFrameSource"),null===(e=m(O,r))||void 0===e||e.destroy(),b(O,r,null),b(_,r,null),m(E,r)&&(m(E,r).stop(),b(E,r,null),m(S,r).captureEnded())})),d(this,"reset",(function(){var e;w("resetting MediaStreamFrameSource"),null===(e=m(O,r))||void 0===e||e.reset()})),d(this,"destroy",(function(){var e;w("destroying MediaStreamFrameSource"),r.capturingWillStop(),b(S,r,null),null===(e=m(O,r))||void 0===e||e.destroy(),b(O,r,null)})),w("MediaStreamFrameSource constructed"),b(S,this,t)}))},8647:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DOMFrameSource",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"FrameLoop",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"MediaStreamFrameSource",{enumerable:!0,get:function(){return i.default}});var n=a(r(42668)),o=a(r(53071)),i=a(r(94911));function a(e){return e&&e.__esModule?e:{default:e}}},1149:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(40875),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.IFrameContext=void 0,r(74423),r(23792),r(26099),r(21699),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o=r(49715),i=r(11065),a=r(91834),u=m(r(6900)),c=r(16566),s=r(8647),l=m(r(37609)),f=r(44661),p=m(r(11191)),d=r(89689),h=m(r(64033)),y=m(r(44153)),v=r(49931);function m(e){return e&&e.__esModule?e:{default:e}}function b(){b=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var d="suspendedStart",h="suspendedYield",y="executing",v="completed",m={};function g(){}function w(){}function E(){}var _={};l(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=p(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?v:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=l(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),l(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),l(x,s,"Generator"),l(x,u,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function g(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_(n.key),n)}}function E(e,t,r){return(t=_(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 O(e,t){return e.get(T(e,t))}function x(e,t,r){return e.set(T(e,t),r),r}function T(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,j=new WeakMap,k=new WeakMap,L=new WeakMap,I=new WeakMap,C=new WeakMap,A=new WeakMap,N=new WeakMap,M=new WeakMap,R=new WeakMap,D=new WeakMap,U=new WeakMap,F=new WeakMap,W=new WeakMap,z=new WeakMap,B=new WeakMap,V=new WeakMap;t.IFrameContext=function(){return e=function e(t,r,n){var m=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),S(this,P,void 0),S(this,j,void 0),S(this,k,void 0),S(this,L,void 0),S(this,I,void 0),S(this,C,void 0),S(this,A,void 0),S(this,N,(function(e){var t;return!(null===(t=O(P,m))||void 0===t||!t.isActive()||!O(P,m)[l.default].proxyToken())})),S(this,M,(function(e,t,r){var n=r.type,o=r.go,i=r.e,a=r.block,u=(i.view||window)!==window,c=!t||"_self"===t,s={block:function(){return a(),u||O(C,m).sendBlocked(e),!1},parent:function(r){return O(j,m).open(e,t,{type:r||n}),!1},continue:function(){return O(A,m).navigate(e,t,{type:n})},replay:function(){return o()},confirm:function(){return O(j,m).confirmOpen(e,n)},setLoading:function(){return!u&&c&&O(C,m).sendLoading(e)}};return(p.default.inUniversalProxy?O(D,m):O(R,m))(e,t,n,s)})),S(this,R,(function(e,t,r,n){return[f.NAVIGATION_TYPE.PDF,f.NAVIGATION_TYPE.UNIVERSAL].includes(r)&&O(N,m).call(m,r)?(n.confirm().then((function(e){return e.accepted?"_blank"===t?n.parent():void n.continue():n.replay()})),!1):n.continue()})),S(this,D,(function(e,t,r,n){var o=new URL(p.default.unproxify(window.location.href)).origin,i=o!==new URL(e,o).origin;return r?i?O(N,m).call(m,r)?(n.confirm().then((function(e){return e.accepted?"_blank"===t?n.parent():r===f.NAVIGATION_TYPE.PDF?n.continue():(n.setLoading(),void n.replay()):n.block()})),!1):n.continue():"_blank"===t?n.parent():r===f.NAVIGATION_TYPE.PDF?n.continue():(n.setLoading(),e):"_blank"===t?n.parent(f.NAVIGATION_TYPE.UNIVERSAL):n.block()})),S(this,U,(function(e){O(V,m).call(m,e),e.isActive()&&!O(L,m)&&O(W,m).call(m)})),S(this,F,(function(){O(z,m).call(m),O(I,m)&&O(I,m).closeAllDocuments()})),S(this,W,(function(){var e;null!==(e=O(L,m))&&void 0!==e&&e.isRunning()||(x(L,m,new s.FrameLoop),O(L,m).setSource(new s.DOMFrameSource((function(e){return O(k,m).call(m,"patch",e),!0}))),O(L,m).start(),O(L,m).invalidateFrame())})),S(this,z,(function(){O(L,m)&&O(L,m).destroy(),x(L,m,null)})),S(this,B,(function(e,t){O(V,m).call(m,O(P,m)),(c.TargetedRedaction.hasChange(O(j,m).redactedViews,t)||c.TargetedRedaction.hasChange(O(j,m).unredactedViews,t)||c.TargetedRedaction.hasChange(O(P,m).redactionSelectors(),t)||c.TargetedRedaction.hasChange(O(P,m).unredactionSelectors(),t))&&setTimeout((function(){m.invalidateFrame()}),0)})),E(this,"invalidateFrame",(function(){var e;null!==(e=O(L,m))&&void 0!==e&&e.isRunning()&&O(L,m).invalidateFrame()})),E(this,"partialSync",function(){var e,t=(e=b().mark((function e(t){var r,n;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(r=O(L,m))&&void 0!==r&&r.isRunning()){e.next=2;break}return e.abrupt("return");case 2:if((n=O(L,m).getSource())instanceof s.DOMFrameSource){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,(0,v.applyContentCache)(t);case 7:n.partialSync(t);case 8:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){g(i,n,o,a,u,"next",e)}function u(e){g(i,n,o,a,u,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()),S(this,V,(function(e){c.RedactionIndexProvider.instance=new c.RedactionIndex(c.TargetedRedaction.filterSelectors(O(j,m).redactedViews),c.TargetedRedaction.filterSelectors(O(j,m).unredactedViews),c.TargetedRedaction.filterSelectors(e.redactionSelectors()),c.TargetedRedaction.filterSelectors(e.unredactionSelectors()))})),E(this,"destroy",(function(){O(P,m)&&(O(P,m).removeListener("update",O(U,m)),O(P,m).removeListener("ended",O(F,m))),x(P,m,null),O(A,m)&&O(A,m).destroy(),x(A,m,null),y.default.off("navigate",O(B,m)),O(C,m)&&O(C,m).destroy(),x(C,m,null)})),x(P,this,t),x(j,this,r),x(k,this,n),O(U,this).call(this,t),t.on("updated",O(U,this)),t.on("ended",O(F,this));var w=new i.PDFHandler(t,r),_=new a.UniversalHandler(t,r),T=new u.default(t,r);x(I,this,new d.DocumentCollection((function(e){return O(k,m).call(m,"document",e)}))),x(C,this,new h.default((function(e){return O(k,m).call(m,"document",e)}))),x(A,this,new o.Navigation({shouldNavigate:O(N,this),handlers:[w,_,T],handleNavigation:O(M,this),onDocumentCreated:function(e){O(j,m).showDocument(e),O(I,m).addDocument(e)}})),y.default.on("navigate",O(B,this))},(t=[{key:"navigate",value:function(e,t,r){var n=r.type,o=O(A,this).navigate(e,t,{type:n});if("string"==typeof o)return window.open(o,t)}}])&&w(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},20342:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23418),r(23792),r(34782),r(62010),r(26099),r(27495),r(38781),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e){e.on("sync",(function(t,r){if(!r.trusted)return u("Ignoring untrusted sync event");o.MouseTracking.onChange=function(t){return e.sendToParent("mouse",t)},o.MouseTracking.track(window)})),e.on("mouse",(function(e,t){var r=t.iframe;u("Received mouse event in",e,document,"from",r),r&&(o.MouseTracking.setPosition(e.x,e.y,r),o.MouseTracking.setDown(e.down))})),e.on("control",(function(t,r){var n,o=r.trusted,c=r.trustedOnly;if(u("Received control event in",document),!o)return u("Ignoring untrusted control event");i.ControlEvents.applyEvent.apply(i.ControlEvents,function(e){if(Array.isArray(e))return a(e)}(n=t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),e.broadcastToChildren("control",t,{trustedOnly:c})}))};var n,o=r(45264),i=r(83672);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var u=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.iframes.control")},73350:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e,t){function r(t){var r=t[o.default].serializeSanitized();if(e.broadcastToChildren("session",r,{trustedOnly:!1}),t.id()){var n=t[o.default].serialize();e.broadcastToChildren("session",n,{trustedOnly:!0})}}function n(r,n){var i=n.iframe,a=n.trusted;if(i){var u=t.currentSession;if(u){var c=a?u[o.default].serialize():u[o.default].serializeSanitized();e.send(i.contentWindow,"session",c,{trustedOnly:a})}}}function i(e,n){var i=n.trusted,u=n.fromParent;if(!i)return a("Ignoring untrusted session event");u&&(t.currentSession[o.default].deserialize(e),r(t.currentSession))}return e.on("trust",n),e.on("session",i),{publish:r,unsubscribe:function(){e.off("trust",n),e.off("session",i)}}};var n=i(r(51227)),o=i(r(37609));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("cbio.iframes.sessions")},78232:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(23418),r(23792),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(81278),r(40875),r(79432),r(27495),r(38781),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e,t){var r,n,o,i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).waitForParentSync,c=!i||new a.Deferred;function l(e){return{redactedViews:[].concat(d((null==e?void 0:e.redactedViews)||[]),d(t.redactedViews||[])),unredactedViews:[].concat(d((null==e?void 0:e.unredactedViews)||[]),d(t.unredactedViews||[])),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 p(e){var t=l(e);return f(f({},t),{},{redactedViews:t.redactedViews.filter((function(e){return"string"!=typeof e})),unredactedViews:t.unredactedViews.filter((function(e){return"string"!=typeof e}))})}function h(e,t){return v.apply(this,arguments)}function v(){return(v=s(u().mark((function t(n,o){var i;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=o.iframe){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,c.promise;case 5:e.send(i.contentWindow,"sync",p(r),{trustedOnly:!1});case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function m(e){y("iframe available",e,"issuing sync"),e&&h(null,{iframe:e})}function b(t,n){if(n.source,n.origin,!n.trusted)return y("Ignoring untrusted sync event");r=t,c.resolve(),e.broadcastToChildren("sync",p(t),{trustedOnly:!1})}return e.on("init",h),e.on("iframe_discovered",m),e.on("sync",b),{getSyncedConfig:(o=s(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.promise;case 2:return e.abrupt("return",l(r));case 3:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),unsubscribe:function(){r=null,c=!i||new a.Deferred,e.off("init",h),e.off("iframe_discovered",m),e.off("sync",b)},sendSync:(n=s(u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.promise;case 2:e.broadcastToChildren("sync",p(r),{trustedOnly:!1});case 3:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})}},r(28706),r(2008),r(26099);var o,i=(o=r(51227))&&o.__esModule?o:{default:o},a=r(63976);function u(){u=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function c(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){c(i,n,o,a,u,"next",e)}function u(e){c(i,n,o,a,u,"throw",e)}a(void 0)}))}}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 f(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){p(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 p(e,t,r){return(t=function(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(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){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var y=(0,i.default)("cbio.iframes.sync")},38109:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e){e.on("sync",(function(t,r){if(!r.trusted)return o("Ignoring untrusted sync event");e.sendToParent("trust",null,{trustedOnly:!1}),"complete"!==document.readyState&&window.addEventListener("load",(function(){e.sendToParent("trust",null,{trustedOnly:!1})}),{once:!0,capture:!0})}));var t=function(t){var r=t.target;e.breakTrust(r.contentWindow)};e.on("trust",(function(r,n){var o=n.iframe,i=n.origin;o&&(o.removeEventListener("load",t,{capture:!0}),o.addEventListener("load",t,{capture:!0}),e.establishTrust(o.contentWindow,i))}))};var o=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.iframes.trust")},77966:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(2008),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(81278),r(40875),r(79432),r(73772),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.initIframeBridgeAsChild=function(e){return T.apply(this,arguments)},t.initIframeBridgeAsParent=function(e){var t=s.configure(S,e);e.on("session.loaded",t.publish),e.on("session.updated",t.publish);var r=x(e.api);e.on("session.loaded",r),e.on("session.updated",r);var n=l.configure(S,e);e.on("session.sync",n.sendSync);var o=function(){var t=w(b().mark((function t(r){var n,o;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.url,o=r.type,t.next=3,e.confirmOpen(n,o);case 3:return t.t0=t.sent,t.abrupt("return",{accepted:t.t0});case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();O.on("confirmOpen",o);var i=function(t){var r=t.url,n=t.target,o=t.options;e.open(r,n,o)};return O.on("open",i),S.start(),function(){t.unsubscribe(),n.unsubscribe(),e.off("session.loaded",t.publish),e.off("session.updated",t.publish),e.off("session.loaded",r),e.off("session.updated",r),e.off("session.sync",n.sendSync),O.off("confirmOpen",o),O.off("open",i)}},r(23792),r(26099),r(47764),r(62953),r(3296),r(27208),r(48408);var o=r(67829),i=r(1149),a=h(r(52404)),u=d(r(38109)),c=d(r(20342)),s=d(r(73350)),l=d(r(78232)),f=h(r(37609));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}function h(e){return e&&e.__esModule?e:{default:e}}function y(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?y(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(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"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(){b=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var d="suspendedStart",h="suspendedYield",y="executing",v="completed",m={};function g(){}function w(){}function E(){}var _={};l(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=p(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?v:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=l(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),l(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),l(x,s,"Generator"),l(x,u,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function g(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function w(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){g(i,n,o,a,u,"next",e)}function u(e){g(i,n,o,a,u,"throw",e)}a(void 0)}))}}var E=(0,h(r(51227)).default)("cbio.iframes"),_=(0,o.closestXdocParent)(),S=new o.IFrameBridge(_),O=new o.IFrameRPC(S,_);u.configure(S),c.configure(S);var x=function(e){return function(t){var r=t[f.default].proxyUrl(),n=new URL(r,e);E("trusting",n.origin),S.automaticTrustedOrigins=[n.origin]}};function T(){return(T=w(b().mark((function e(t){var r,n,o,u,c,f,p,d,h,y;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new a.default(t),n=s.configure(S,{currentSession:r}),o=l.configure(S,t,{waitForParentSync:!0}),S.start(),e.next=6,o.getSyncedConfig();case 6:return u=e.sent,E("synced config",u),f=function(){r.isActive()&&!c&&(E("creating iframe context",c),x(u.api)(r),c=new i.IFrameContext(r,v(v({},u),{},{trustedOrigins:t.trustedOrigins,version:t.version,showDocument:t.showDocument,open:function(e,t,r){return O.send("open",{url:e,target:t,options:r})},confirmOpen:function(e,t){return O.send("confirmOpen",{url:e,type:t})}}),S.sendToParent),r.once("ended",(function(){E("destroying iframe context",c),c.destroy(),c=null})))},S.on("session",f),p=function(e,t){var r=t.trustedOnly;return S.sendToParent("rpc:request",e,{trustedOnly:r})},S.on("rpc:request",p),d=function(e,t){var r=t.trustedOnly;return S.broadcastToChildren("rpc:response",e,{trustedOnly:r})},S.on("rpc:response",d),h=function(){var e;return null===(e=c)||void 0===e?void 0:e.invalidateFrame()},S.on("sync",h),y=function(e,t){var r,n=t.trustedOnly,o=e.target;"load-error"===e.error.cause&&(null===(r=c)||void 0===r||r.partialSync(o)),S.broadcastToChildren("remote-error",e,{trustedOnly:n})},S.on("remote-error",y),e.abrupt("return",(function(){o.unsubscribe(),n.unsubscribe(),S.off("remote-error",y),S.off("sync",h),S.off("session",f),S.off("rpc:request",p),S.off("rpc:response",d)}));case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.default=S},77988:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(45700),r(23418),r(34782),r(89572),r(62010),r(2892),r(38781),r(47764),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(74423),r(23792),r(26099),r(27495),r(21699),r(25440),r(62953);var u=r(56277),c=u.keys().reduce((function(e,t){return e[t.replace("./","").replace(".json","")]=u(t),e}),{}),s=["ar","he","fa","ur"];t.default=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.language=t,this.direction=s.includes(t)?"rtl":"ltr"}return t=e,n=[{key:"getLocale",value:function(){var t,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}(navigator.languages);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(c[n])return new e(n);if(n.includes("-")){var i=n.split("-")[0].toLowerCase();if(c[i])return new e(i)}}}catch(e){r.e(e)}finally{r.f()}return new e("en")}},{key:"tr",value:function(e){return this.getLocale().translate(e)}},{key:"direction",value:function(){return this.getLocale().direction}}],(r=[{key:"translate",value:function(e){return c[this.language][e]||c.en[e]||e}}])&&i(t.prototype,r),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}()},44661:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NAVIGATION_TYPE=void 0,r(50113),r(23792),r(26099),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o,i=(o=r(26356))&&o.__esModule?o:{default:o};function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function u(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 l(e,t){return e.get(p(e,t))}function f(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")}t.NAVIGATION_TYPE={PDF:"pdf",XDOC:"xdoc",UNIVERSAL:"universal"};var d=new WeakMap,h=new WeakMap,y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap;t.default=function(){return function(e,t){return t&&a(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,d,void 0),s(this,h,void 0),s(this,y,void 0),s(this,v,void 0),u(this,"findHandlerByUrl",(function(e){if(!e)return null;try{var t=new URL(e,window.location.origin);return l(h,r).find((function(e){return e.shouldHandle(t)}))}catch(e){return console.warn("CobrowseIO: Failed to infer navigation type",e),null}})),u(this,"findHandlerByType",(function(e){return l(h,r).find((function(t){return t.type===e}))})),s(this,m,(function(e,t,n,o){var i=r.findHandlerByUrl(e);if(i&&!i.shouldHandleEvent(o))return console.warn("CobrowseIO: Inferred navigation type but event is already handled"),e;var a=o.view||window;return(l(y,r)||r.navigate)(e,t,{type:null==i?void 0:i.type,go:n,e:o,block:function(e){return l(b,r).call(r,a,e)}})})),s(this,b,(function(e){var t=e.document,r=t.createElement("div");r.style.position="fixed",r.style.top=0,r.style.left=0,r.style.width="100vw",r.style.height="100vh",r.style.backgroundColor="black",r.style.zIndex="2147483647",r.style.margin=0,r.style.padding=0,r.style.border=0,r.style.borderRadius=0;var n=t.body.style.overflow;t.body.style.overflow="hidden",t.body.appendChild(r);var o=function(){t.body.contains(r)&&t.body.removeChild(r),t.body.style.overflow=n,e.removeEventListener("popstate",o)};e.addEventListener("popstate",o),e.history.pushState({},"")})),u(this,"destroy",(function(){i.default.beforeNavigate=null})),f(d,this,t.shouldNavigate),f(h,this,t.handlers),f(y,this,t.handleNavigation),f(v,this,t.onDocumentCreated),i.default.beforeNavigate=l(m,this)}),[{key:"navigate",value:function(e,t,r){var n=r.type;if(!e)return e;var o=null!=n?this.findHandlerByType(n):this.findHandlerByUrl(e);return o&&l(d,this).call(this,o.type)?o.handle(e,t,l(v,this)):e}}])}()},79301:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892),t.default=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"type",get:function(){throw new Error("Getter 'type' must be implemented.")}},{key:"shouldHandleEvent",value:function(e){throw new Error("Method 'shouldHandleEvent()' must be implemented.")}},{key:"shouldHandle",value:function(e){throw new Error("Method 'shouldHandle()' must be implemented.")}},{key:"handle",value:function(e,t,r){throw new Error("Method 'handle()' must be implemented.")}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},26356:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(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 i(e,t,r){return(t=l(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(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))}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&d(o,r.prototype),o}(e,arguments,h(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,e)},f(e)}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(36033),r(2892),r(60825),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(23792),r(40875),r(26099),r(31415),r(47764),r(73772),r(62953);var y=function(e){function t(e,r){var o,i,a,c;return u(this,t),(i=this,a=t,c=[e,r],a=h(a),o=function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(i,p()?Reflect.construct(a,c||[],h(i).constructor):a.apply(i,c)))._view=r.view,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(t,e),s(t,[{key:"view",get:function(){return this._view}}])}(f(Event)),v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=s((function e(){var t=this;u(this,e),i(this,"beforeNavigate",void 0),o(this,v,new Set),i(this,"track",(function(e){e.addEventListener("click",a(m,t),{capture:!0}),e.addEventListener("click",a(m,t)),e.addEventListener("submit",a(b,t))})),i(this,"untrack",(function(e){e.removeEventListener("click",a(m,t),{capture:!0}),e.removeEventListener("click",a(m,t)),e.removeEventListener("submit",a(b,t))})),i(this,"tap",(function(e){if(!a(v,t).has(e)){var r=t,n=e.open;e.open=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return(e=a(g,r)).call.apply(e,[r,this,n].concat(o))};var o=e.HTMLFormElement.prototype.submit;e.HTMLFormElement.prototype.submit=function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=a(w,r)).call.apply(e,[r,this,o].concat(n))},a(v,t).add(e)}})),i(this,"untap",(function(e){})),o(this,m,(function(e){var r;if(t.beforeNavigate){var n=null==e||null===(r=e.target)||void 0===r?void 0:r.closest("a");if(n&&n.href&&!n.__cbio_forceDefaultNavigation){var o=t.beforeNavigate(n.href,n.target,(function(){n.__cbio_forceDefaultNavigation=!0,n.click(),delete n.__cbio_forceDefaultNavigation}),e);"string"==typeof o?n.href=o:!1===o&&e.preventDefault()}}})),o(this,b,(function(e){var r;if(t.beforeNavigate){var n=null==e||null===(r=e.target)||void 0===r?void 0:r.closest("form");if(n&&n.action&&!n.__cbio_forceDefaultNavigation){var o=t.beforeNavigate(n.action,n.target,(function(){n.__cbio_forceDefaultNavigation=!0,n.submit(),delete n.__cbio_forceDefaultNavigation}),e);"string"==typeof o?n.action=o:!1===o&&e.preventDefault()}}})),o(this,g,(function(e,r,n,o){for(var i=arguments.length,a=new Array(i>4?i-4:0),u=4;u<i;u++)a[u-4]=arguments[u];if(!t.beforeNavigate)return r.call.apply(r,[e,n,o].concat(a));var c=new y("WindowOpen",{view:e}),s=t.beforeNavigate(n,o,(function(){return r.call.apply(r,[e,n,o].concat(a))}),c);return"string"==typeof s?r.call.apply(r,[e,s,o].concat(a)):!1===s?null:r.call.apply(r,[e,n,o].concat(a))})),o(this,w,(function(e,r){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];if(!t.beforeNavigate)return r.call.apply(r,[e].concat(o));var a=e.parentElement,u=new y("FormSubmit",{view:e.ownerDocument.defaultView}),c=t.beforeNavigate(e.action,e.target,(function(){var t=document.contains(a)&&!document.contains(e);t&&a.appendChild(e);var n=r.call.apply(r,[e].concat(o));return t&&e.remove(),n}),u);if("string"==typeof c)e.action=c;else if(!1===c)return null;return r.call.apply(r,[e].concat(o))}))}));t.default=new E},49715:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(23792),r(83851),r(26099),r(47764),r(73772),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NAVIGATION_TYPE",{enumerable:!0,get:function(){return o.NAVIGATION_TYPE}}),Object.defineProperty(t,"Navigation",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NavigationHandler",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"NavigationTracking",{enumerable:!0,get:function(){return i.default}});var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(44661)),i=u(r(26356)),a=u(r(79301));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}},49931:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.getCacheContent=t.applyContentCache=void 0,r(26099);var o=u(r(34822)),i=r(37387),a=u(r(31762));function u(e){return e&&e.__esModule?e:{default:e}}function c(){c=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function s(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){s(i,n,o,a,u,"next",e)}function u(e){s(i,n,o,a,u,"throw",e)}a(void 0)}))}}var f=function(e){return new Promise((function(t,r){var n=new Image;n.crossOrigin="anonymous",n.src=e,n.onload=function(){try{var e=a.default.fromImage(n);t(e)}catch(e){r(e)}},n.onerror=r}))},p=function(e){return new Promise((function(t,r){var n=document.createElement("link");n.crossOrigin="anonymous",n.rel="stylesheet",n.href=e,n.setAttribute("class","__cbio_ignored"),n.onload=function(){try{var e=(0,i.getCssText)(n.sheet);t(e)}catch(e){r(e)}finally{n.remove()}},n.onerror=function(e){n.remove(),r(e)},document.head.appendChild(n)}))},d=function(e){return"IMG"===e.tagName?e.src:"LINK"===e.tagName?e.href:null},h=function(e,t){var r=d(e);e.__cbio_content_cache=e.__cbio_content_cache||{},e.__cbio_content_cache[r]=t},y=function(){var e=l(c().mark((function e(t){var r,n,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!m(t)){e.next=2;break}return e.abrupt("return");case 2:return r=d(t),n=function(){var e=l(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",a.default.fromImage(t));case 4:e.prev=4,e.t0=e.catch(0);case 6:return e.prev=6,e.next=9,f(r);case 9:return e.abrupt("return",e.sent);case 12:e.prev=12,e.t1=e.catch(6);case 14:case"end":return e.stop()}}),e,null,[[0,4],[6,12]])})));return function(){return e.apply(this,arguments)}}(),e.next=6,n();case 6:(o=e.sent)&&h(t,o);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=l(c().mark((function e(t){var r,n,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!m(t)){e.next=2;break}return e.abrupt("return");case 2:return r=d(t),n=function(){var e=l(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!t.sheet){e.next=3;break}return e.abrupt("return",(0,i.getCssText)(t.sheet));case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:return e.prev=7,e.next=10,p(r);case 10:return e.abrupt("return",e.sent);case 13:e.prev=13,e.t1=e.catch(7);case 15:case"end":return e.stop()}}),e,null,[[0,5],[7,13]])})));return function(){return e.apply(this,arguments)}}(),e.next=6,n();case 6:(o=e.sent)&&h(t,o);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=t.getCacheContent=function(e){var t,r=d(e);return null===(t=e.__cbio_content_cache)||void 0===t?void 0:t[r]};t.applyContentCache=function(){var e=l(c().mark((function e(t){var r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.default.getById(t)){e.next=3;break}return e.abrupt("return");case 3:if("IMG"!==r.tagName){e.next=5;break}return e.abrupt("return",y(r));case 5:if("LINK"!==r.tagName||"stylesheet"!==r.rel){e.next=7;break}return e.abrupt("return",v(r));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},48708:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(2008),r(23792),r(83851),r(81278),r(79432),r(38781),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(50113),r(23418),r(74423),r(62062),r(34782),r(89572),r(62010),r(2892),r(26099),r(27495),r(47764),r(23500);var n=r(89501),o=r(16566),i=p(r(34822)),a=p(r(18571)),u=p(r(32588)),c=p(r(31762)),s=r(97384),l=r(37387),f=r(49931);function p(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(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 y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){w(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,E(n.key),n)}}function g(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function w(e,t,r){return(t=E(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){var t=function(e){if("object"!=d(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:t+""}var _=g((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),w(this,"isLocalResource",(function(e){return!!(/^https?:\/\/localhost/.test(e)||/^https?:\/\/127.0.0.1/.test(e)||/^file:\/\//.test(e)||/^blob:/.test(e)||/^ionic:/.test(e))})),w(this,"_serializeAttributes",(function(e,t){if(e.nodeType===window.Node.ELEMENT_NODE&&e.attributes){var r={};Array.from(e.attributes||[]).forEach((function(t){"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}})),w(this,"_serializeSelection",(function(e,t){var r,n=null,a=e.getSelection();if(a&&"Range"===a.type&&!a.isCollapsed&&a.rangeCount>0)try{n=v(Array(a.rangeCount)).reduce((function(e,t,r){var n,u,c=a.getRangeAt(r),s=c.startOffset,l=c.endOffset,f=null===(n=o.RedactionIndexProvider.instance)||void 0===n?void 0:n.getRedactedBy(c.startContainer),p=null===(u=o.RedactionIndexProvider.instance)||void 0===u?void 0:u.getRedactedBy(c.endContainer),d=i.default.get(null!=f?f:c.startContainer),h=i.default.get(null!=p?p:c.endContainer);return e.push({start:d,end:h,startOffset:f?0:s,endOffset:p?0:l}),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})),w(this,"_serializeDocument",(function(e,r){if(e.nodeType===window.Node.DOCUMENT_NODE){var n,o,a,u;r.url=e.location&&e.location.href;var c=(0,s.getScrollBarSize)(),l=0===c?null===(n=e.defaultView)||void 0===n?void 0:n.innerWidth:null===(o=e.documentElement)||void 0===o?void 0:o.clientWidth,f=0===c?null===(a=e.defaultView)||void 0===a?void 0:a.innerHeight:null===(u=e.documentElement)||void 0===u?void 0:u.clientHeight;r.size={width:l,height:f},r.focus=i.default.get(e.activeElement),r.doctype=null!=e.doctype?{name:(p=e.doctype).name,publicId:p.publicId,systemId:p.systemId}:null,t._serializeSelection(e,r)}var p})),w(this,"_serializeInput",(function(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{var r=e.selectionStart,n=e.selectionEnd,o=e.selectionDirection;r!==n&&e===e.ownerDocument.activeElement&&(t.selection={start:r,end:n,direction:o})}catch(t){console.warn("Failed to serialise text selection for the input",e)}}})),w(this,"_serializeSelect",(function(e,t){"SELECT"===e.tagName&&(t.preventDefault=!0)})),w(this,"_serializeOption",(function(e,t){"OPTION"===e.tagName&&(t.selected=e.selected)})),w(this,"_serializeShadowRoot",(function(e,t){try{if(e.nodeType===window.Node.DOCUMENT_FRAGMENT_NODE){var r=[];v(e.adoptedStyleSheets||[]).forEach((function(e){r=r.concat([].slice.call(e.cssRules))})),t.css=(0,l.getCssText)({cssRules:r})}}catch(t){console.warn("CobrowseIO: ShadowRoot serialize failed:",t.message,"for",e)}})),w(this,"_serializeStyle",(function(e,t){var r;if("STYLE"===(null===(r=e.tagName)||void 0===r?void 0:r.toUpperCase()))try{e.sheet&&(t.css=(0,l.getCssText)(e.sheet))}catch(t){console.warn("CobrowseIO: CSS serialize failed:",t.message,"for",e)}})),w(this,"_serializeLinkStyleSheet",(function(e,r){if("LINK"===e.tagName&&"stylesheet"===e.rel){var n=(0,f.getCacheContent)(e);if(n)return void(r.css=n);if(t.isLocalResource(e.href))try{e.sheet&&(r.css=(0,l.getCssText)(e.sheet))}catch(t){console.warn("CobrowseIO: CSS serialize failed:",t.message,"for",e)}}})),w(this,"_serializeCanvas",(function(e,t,r){if("CANVAS"===e.tagName&&!r.isRedacted&&r.rasterizeCanvas)try{var n,o=parseFloat(null===(n=e.attributes)||void 0===n||null===(n=n["data-cbio-quality"])||void 0===n?void 0:n.value)||.8;t.data=c.default.fromCanvas(e,o)}catch(t){e._cb_serialize_warned||(console.warn("Cobrowse failed to serialize canvas",e,"due to error",t),e._cb_serialize_warned=!0)}})),w(this,"_serializeImage",(function(e,r,n){if("IMG"===e.tagName&&!n.isRedacted){var o=(0,f.getCacheContent)(e);if(o)return void(r.attributes.src=o);if(t.isLocalResource(e.src))try{r.attributes.src=c.default.fromImage(e)}catch(t){console.warn("CobrowseIO: Failed to serialize image",e)}}})),w(this,"_serializeScroll",(function(e,t){var r,o;(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===(o=e.defaultView)||void 0===o?void 0:o.pageYOffset)||0}:(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)&&(t.scroll={x:e.scrollLeft||0,y:e.scrollTop||0}))})),w(this,"_serializeRedaction",(function(e,r,n){if(n.isRedacted){delete r.value;var o=t._getSize(e);if(1===e.nodeType){var i=window.getComputedStyle(e),a="inline"===i.display&&o.height>0?"inline-block":i.display;r.attributes=r.attributes&&y({id:r.attributes.id,class:r.attributes.class,style:"".concat(r.attributes.style||"","; display: ").concat(a," !important;flex-basis: unset !important;flex-shrink: 0;")},"EMBED"===e.nodeName?{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}:{})}else 3===e.nodeType&&(r.nodeType=1,r.tagName="SPAN",r.attributes={style:o.height>0?"display: inline-block !important":void 0});r.redaction={height:"".concat(o.height,"px"),width:"".concat(o.width,"px")}}else r.redaction=void 0})),w(this,"_serializePseudoSelectors",(function(e,t){var r,n,o;"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===(o=t.attributes)||void 0===o||delete o.__cbio_pseudo_focus,t.attributes=y(y(y(y({},t.attributes),e.matches(":hover")?{__cbio_pseudo_hover:""}:{}),e.matches(":active")?{__cbio_pseudo_active:""}:{}),e.matches(":focus")?{__cbio_pseudo_focus:""}:{}))})),w(this,"_getSize",(function(e){var t=null==e?void 0:e.nodeType;if(null==t)return{height:0,width:0};if(t===Node.ELEMENT_NODE)return e.getBoundingClientRect();var r=document.createRange();return r.selectNodeContents(e),r.getBoundingClientRect()})),w(this,"_serialize",(function(e,r){if(!i.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);var n={id:i.default.get(e),nodeType:e.nodeType};return t._serializeShadowRoot(e,n),t._serializeAttributes(e,n),t._serializeImage(e,n,r),t._serializeDocument(e,n),t._serializeScroll(e,n),t._serializeInput(e,n),t._serializeSelect(e,n),t._serializeOption(e,n),t._serializeStyle(e,n),t._serializeLinkStyleSheet(e,n),t._serializeCanvas(e,n,r),t._serializeRedaction(e,n,r),t._serializePseudoSelectors(e,n),e.tagName&&(n.tagName=e.tagName),e.nodeValue&&(n.content=e.nodeValue),n})),w(this,"serialize",(function(e){var r,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=null===(r=o.RedactionIndexProvider.instance)||void 0===r?void 0:r.getRedactedBy(e);if(l&&l!==e||[e].concat(v((0,n.parents)(e))).find((function(e){return u.default.isIgnored(e)})))return null;var f=t._serialize(e,y({isRedacted:Boolean(l)},s));if(l)return c([]),y(y({},f),{},{childNodes:[]});var p=u.default.children(e);if(p){var d=p.map((function(e){if(!a.default.isDOMNode(e))return y({},e);var t=i.default.get(e);return t||console.warn("child node missing id",e),{id:t}}));return y(y({},f),{},{childNodes:d})}return f}))}));t.default=new _},34822:function(e,t,r){"use strict";r(52675),r(89463),r(2259),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(23792),r(89572),r(36033),r(2892),r(26099),r(47764),r(62953);var n=i(r(78981)),o=i(r(18571));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var f=c((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"_idMap",new Map),s(this,"_nodeMap",new Map),s(this,"_currentId",0),s(this,"_nextId",(function(){return t._currentId+=1,t._currentId})),s(this,"track",(function(e){if(!e)return null;if(!o.default.isDOMNode(e))return e.id;if(!t.get(e)){var r=e.nodeType===window.Node.DOCUMENT_NODE?(0,n.default)(5):"".concat(t.track(document),"-").concat(t._nextId());t._idMap.set(r,e),t._nodeMap.set(e,r)}return t._nodeMap.get(e)})),s(this,"get",(function(e){return e?o.default.isDOMNode(e)?t._nodeMap.get(e)||null:e.id:null})),s(this,"getById",(function(e){return e&&t._idMap.get(e)||null})),s(this,"forget",(function(e){t._idMap.delete(t.get(e)),t._nodeMap.delete(e)}))}));t.default=new f},32588:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(34782),r(89572),r(62010),r(2892),r(27495),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(2008),r(23418),r(74423),r(23792),r(83851),r(26099),r(21699),r(47764),r(73772),r(62953);var o=r(89501),i=u(r(18571)),a=r(79883);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function p(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")}var h=(0,u(r(51227)).default)("cbio.NodeTree"),y=new WeakMap,v=function(){return e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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)}(this,y,".__cbio_ignored"),l(this,"isIgnored",(function(e){var r;if(e&&e.matches&&e.matches(p(y,t)))return h("ignoring",e,"because child of classes"),!0;if([window.Node.COMMENT_NODE,window.Node.CDATA_SECTION_NODE,window.Node.ENTITY_REFERENCE_NODE,window.Node.ENTITY_NODE,window.Node.PROCESSING_INSTRUCTION_NODE,window.Node.NOTATION_NODE,window.Node.DOCUMENT_TYPE_NODE].includes(e.nodeType))return h("ignoring",e,"because of nodeType"),!0;if("SCRIPT"===e.tagName)return h("ignoring",e,"because of SCRIPT"),!0;var n=e.parentNode||e.defaultView&&e.defaultView.frameElement;return!(!n||"STYLE"!==(null===(r=n.tagName)||void 0===r?void 0:r.toUpperCase())||(h("ignoring",e,"because child of STYLE"),0))})),l(this,"children",(function(e){var r=Object.getOwnPropertyDescriptor(a.Node.prototype,"childNodes").get,n=Object.getOwnPropertyDescriptor(a.Element.prototype,"shadowRoot").get;return i.default.isDOMNode(e)?"IFRAME"===e.tagName&&(0,o.isxdoc)(e)?e.__document_id?[{id:e.__document_id,nodeType:9}]:[]:"IFRAME"!==e.tagName||(0,o.isxdoc)(e)?e.nodeType===window.Node.ELEMENT_NODE&&n.apply(e)?[n.apply(e)].concat(function(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Array.from(r.apply(e)))).filter((function(e){return!t.isIgnored(e)})):Array.from(r.apply(e)).filter((function(e){return!t.isIgnored(e)})):"complete"!==e.contentWindow.document.readyState?[]:[e.contentWindow.document].filter((function(e){return!t.isIgnored(e)})):e.childNodes})),l(this,"depthFirst",(function(e,r){return(0,o.depthFirst)(e,(function(e,n){return n(t.children(e)),r(e,n)}))}))},(t=[{key:"setIgnoredViews",value:function(e){if(Array.isArray(e))return t=y,r=".__cbio_ignored,".concat(e),t.set(d(t,this),r),void h("set ignored view selectors",p(y,this));var t,r;h("not updating #ignoredViews due to arg to being an array",e)}}])&&s(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();t.default=new v},18571:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var u=i((function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=function(e){return!!e&&!(!e.childNodes||"function"!=typeof e.appendChild||void 0===e.nodeType)},(r=a(r="isDOMNode"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}));t.default=new u},66938:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NodeSerializer",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"NodeTracker",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"NodeTree",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"NodeUtils",{enumerable:!0,get:function(){return o.default}});var n=u(r(34822)),o=u(r(18571)),i=u(r(32588)),a=u(r(48708));function u(e){return e&&e.__esModule?e:{default:e}}},51099:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(62062),r(26099),r(27495),r(47764),r(5746),r(73772),r(62953),r(3296),r(27208),r(48408);var o,i=r(50048),a=r(89689),u=r(49715),c=r(44661),s=(o=r(97005))&&o.__esModule?o:{default:o};function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function f(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function y(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(b(e,t))}function m(e,t,r){return e.set(b(e,t),r),r}function b(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 g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap;t.default=function(e){function t(e,r){var o,u;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),y(u=function(e,t,r){return t=d(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,p()?Reflect.construct(t,r||[],d(e).constructor):t.apply(e,r))}(this,t),g,void 0),y(u,w,void 0),y(u,E,(function(e){return new URL(e,window.location.href).pathname.split("/").pop()})),y(u,_,(function(e,t){var r=document.createElement("div");r.style.width="100%",r.style.height="100%";var n=new a.Document(e,t,r,u.type);return v(w,u).openPdfViewer(e,r,(function(){var t=v(E,u).call(u,e);n.icon="",n.title=t,n.isLoading=!1})),n})),m(g,u,(null===(o=r.pdfLinks)||void 0===o?void 0:o.map(i.convertLinkToRegExp))||[]),m(w,u,new s.default(e,r.api)),u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(t,e),function(e,t){return t&&l(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"type",get:function(){return c.NAVIGATION_TYPE.PDF}},{key:"shouldHandleEvent",value:function(e){return e.eventPhase!==Event.CAPTURING_PHASE&&!e.defaultPrevented}},{key:"shouldHandle",value:function(e){var t=new URL(e,window.location.origin);return t.search="",v(g,this).some((function(e){return e.test(t)}))}},{key:"handle",value:function(e,t,r){return r(v(_,this).call(this,e,t)),!1}}])}(u.NavigationHandler)},97005:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GLOBAL_OPEN_PDF_KEY=void 0,r(23792),r(26099),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o,i=(o=r(37609))&&o.__esModule?o:{default:o},a=r(9147);function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 f(e,t){return e.get(d(e,t))}function p(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 h=t.GLOBAL_OPEN_PDF_KEY="__cobrowse_io_openPdf",y=new WeakMap,v=new WeakMap,m=new WeakMap;t.default=c((function e(t,n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,y,void 0),l(this,v,void 0),l(this,m,(function(e){var t=e[i.default].proxyToken(),r=e[i.default].proxyUrl(),n=new URL(r,f(v,o));return new a.URLRewriter(n,a.PROXY_PREFIX.UNIVERSAL,t,window.location)})),function(e,t,r){(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(this,"openPdfViewer",(function(e,t,n){var i=window[h],a=function(r){var i=r(e,{container:t,onLoadError:function(t){var r=f(m,o).call(o,f(y,o)).proxify(e);t!==r?(console.warn("CobrowseIO: Failed to fetch PDF document, attempting to proxy it"),i(r)):n()},onLoadSuccess:n,preventClose:!0}).setPdfUrl};"function"!=typeof i?r.e(246).then(r.t.bind(r,70825,23)).then((function(e){a(e.open)})):a(i)})),p(y,this,t),p(v,this,n)}))},11065:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(23792),r(83851),r(26099),r(47764),r(73772),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 a.default}}),Object.defineProperty(t,"PDFViewer",{enumerable:!0,get:function(){return i.default}});var o,i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var c=i?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(97005)),a=(o=r(51099))&&o.__esModule?o:{default:o};function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}},168:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(2008),r(89572),r(2892),r(83851),r(81278),r(79432),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.URLRewriter=void 0,r(28706),r(74423),r(23792),r(26099),r(27495),r(38781),r(21699),r(47764),r(25440),r(5746),r(11392),r(73772),r(62953),r(3296),r(27208),r(48408);var o=r(79444),i=r(76925);function a(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?a(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),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 f(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function d(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,y=new WeakMap,v=new WeakMap;t.URLRewriter=s((function e(t,r,n,a,c,s){var p=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,"ALLOWED_PROTOCOLS",["http:","https:"]),l(this,h,(function(e){return e.startsWith("#")})),l(this,y,(function(e){return e.hostname===p.proxyApiUrl.hostname})),l(this,v,(function(e){return"".concat(e.pathname).concat(e.search).concat(e.hash).replace(/^.*?\/proxy\/1\/[^/]+/i,"")})),f(this,"proxify",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return e;if(d(h,p).call(p,e.toString()))return e;var r=u(u(u({},p.queryParams),p.getOrigin?{origin:p.getOrigin()}:{}),t);try{var n=new URL(e,p.baseUrl);if(!p.ALLOWED_PROTOCOLS.includes(n.protocol))return e;var o=d(y,p).call(p,n)?p.unproxify(n.toString()):n.toString(),a=(0,i.proxifyUrl)(o,r);return new URL(".".concat(a),p.proxyApiUrl).toString()}catch(t){return e}})),f(this,"unproxify",(function(e){if(!e)return e;if(d(h,p).call(p,e.toString()))return e;try{var t=new URL(e,p.baseUrl);if(!p.ALLOWED_PROTOCOLS.includes(t.protocol))return e;if(!d(y,p).call(p,t))return e;var r=d(v,p).call(p,t);return(0,o.unproxifyPath)(r).toString()}catch(t){return e}})),this.proxyApiUrl=new URL(r,t),this.queryParams=c?u({},c):{},n&&(this.queryParams.access_token=n),this.baseUrl=a,this.getOrigin=s}))},9147:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PROXY_PREFIX",{enumerable:!0,get:function(){return o.PROXY_PREFIX}}),Object.defineProperty(t,"URLRewriter",{enumerable:!0,get:function(){return n.URLRewriter}});var n=r(168),o=r(42859)},76925:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r(52675),r(89463),r(2259),r(23418),r(34782),r(62010),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.reverseHost=t.proxifyUrl=void 0,r(28706),r(23792),r(48598),r(62062),r(5506),r(26099),r(27495),r(47764),r(25440),r(5746),r(62953),r(3296),r(27208),r(48408);var o=t.reverseHost=function(e){return e.split(".").reverse().map(encodeURIComponent).join("/")};t.proxifyUrl=function(e,t){var r,i,a=new URL(e),u=a.hostname,c=a.protocol,s=a.pathname,l=a.search,f=a.port,p=a.username,d=a.password,h=a.hash,y=o(u),v="".concat(y,"/").concat(c).concat(s).concat(h),m=new URL(v,"http://placeholder.base");l&&m.searchParams.set("search",l.replace("?","")),f&&m.searchParams.set("port",f),p&&m.searchParams.set("username",p),d&&m.searchParams.set("password",d);for(var b=0,g=Object.entries(t||{});b<g.length;b++){var w=(r=g[b],i=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(r,i)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(r,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),E=w[0],_=w[1];m.searchParams.set(E,_)}return"".concat(m.pathname).concat(m.search).concat(m.hash)}},42859:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PROXY_PREFIX=void 0,t.PROXY_PREFIX={UNIVERSAL:"./proxy/1/universal/"}},79444:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unproxifyPath=void 0,r(28706),r(48980),r(23792),r(48598),r(62062),r(34782),r(26099),r(47764),r(62953),r(3296),r(27208),r(48408),t.unproxifyPath=function(e){var t=new URL(e,"http://placeholder.base"),r=t.pathname,n=t.hash,o=t.searchParams,i=r.split("/"),a=i.findIndex((function(e){return"http:"===e||"https:"===e})),u=i[a],c=i.slice(1,a).reverse().map(decodeURIComponent),s=i.slice(a+1,i.length),l=o.get("search"),f=o.get("port"),p=o.get("username"),d=o.get("password"),h=c.join("."),y=s.join("/"),v=l?"?".concat(l):"",m=f?":".concat(f):"",b=p&&d?"".concat(p,":").concat(d,"@"):"";return new URL("".concat(u,"//").concat(b).concat(h).concat(m,"/").concat(y).concat(v).concat(n))}},2615:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(23418),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(40875),r(27495),r(38781),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.RedactionIndex=void 0,r(28706),r(2008),r(50113),r(78350),r(23792),r(48598),r(30237),r(83851),r(26099),r(31415),r(47764),r(73772),r(30958),r(62953);var o,i=(o=r(32588))&&o.__esModule?o:{default:o},a=r(89501),u=r(79883),c=r(66938);function s(){s=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}var l=s().mark(C);function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=d(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function p(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}function v(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function m(e,t,r){b(e,t),t.set(e,r)}function b(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function g(e,t){return e.get(E(e,t))}function w(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 _=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,T=new WeakMap,P=new WeakSet;function j(e){var t=this,r=p(e);return r.find((function(e){return!i.default.isIgnored(e)&&E(P,t,D).call(t,e)}))||r.find((function(e){return E(P,t,z).call(t,e).length>0}))}function k(e,t,r){E(P,this,L).call(this,e,t,r),E(P,this,I).call(this,t,r)}function L(e,t,r){var n,o=f(E(P,this,C).call(this,r));try{for(o.s();!(n=o.n()).done;){var i=n.value;g(x,this).delete(i)}}catch(e){o.e(e)}finally{o.f()}var a,u=f(E(P,this,C).call(this,e));try{for(u.s();!(a=u.n()).done;){var c=a.value;g(x,this).add(c)}}catch(e){u.e(e)}finally{u.f()}var s,l=f(t);try{for(l.s();!(s=l.n()).done;){var p=s.value;e.has(p)||(E(P,this,D).call(this,p)?g(x,this).add(p):g(x,this).delete(p))}}catch(e){l.e(e)}finally{l.f()}}function I(e,t){var r,n=f(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;g(T,this).delete(o)}}catch(e){n.e(e)}finally{n.f()}var i,a=f(e);try{for(a.s();!(i=a.n()).done;){var u=i.value;E(P,this,N).call(this,u)}}catch(e){a.e(e)}finally{a.f()}}function C(e){var t,r,n;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:t=f(e),o.prev=1,t.s();case 3:if((r=t.n()).done){o.next=10;break}if(n=r.value,!E(P,this,D).call(this,n)){o.next=8;break}return o.next=8,n;case 8:o.next=3;break;case 10:o.next=15;break;case 12:o.prev=12,o.t0=o.catch(1),t.e(o.t0);case 15:return o.prev=15,t.f(),o.finish(15);case 18:case"end":return o.stop()}}),l,this,[[1,12,15,18]])}function A(e){var t=this,r=p(g(O,this));return E(P,this,V).call(this,e,r)?e:p((0,a.parents)(e)).find((function(e){return E(P,t,V).call(t,e,r)}))}function N(e){var t=g(T,this).has(e);t&&this.getRedactedBy(e)!==e?g(T,this).delete(e):t||this.getRedactedBy(e)!==e||g(T,this).add(e)}function M(e){var t=new Set(p(e).flatMap((function(e){return[e].concat(p((0,a.parents)(e)))})));return p(t).flatMap((function(e){return p(e.childNodes||[])}))}function R(e){return E(P,this,V).call(this,e,g(_,this))}function D(e){return E(P,this,V).call(this,e,g(S,this))}function U(e){var t=this,r=E(P,this,F).call(this,e);return r?(0,a.parents)(e,r).find((function(e){return E(P,t,W).call(t,e.parentNode)}))||r:null}function F(e){if(!c.NodeUtils.isDOMNode(e))return null;var t=Object.getOwnPropertyDescriptor(u.Node.prototype,"parentNode").get,r=E(P,this,Y).call(this,g(_,this),g(S,this)),n=e&&e.nodeType===u.Node.ELEMENT_NODE&&t.call(e),o=n&&n.nodeType===u.Node.ELEMENT_NODE&&r&&n.closest(r);return E(P,this,V).call(this,o,g(_,this))?o:null}function W(e){return g(S,this)&&e&&"HTML"!==e.tagName&&e.querySelector&&e.querySelector(g(S,this))}function z(e){return E(P,this,B).call(this,e,g(S,this))}function B(e,t){return t&&e.querySelectorAll?e.querySelectorAll(t):[]}function V(e,t){return e&&t&&e.matches&&e.matches(t)}function Y(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(",")}t.RedactionIndex=function(){return function(e,t){return t&&y(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){var t,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],u=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:{}).document,c=void 0===u?window.document:u;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t){b(e,t),t.add(e)}(this,P),m(this,_,void 0),m(this,S,void 0),m(this,O,["OBJECT","EMBED"]),m(this,x,new Set),m(this,T,new Set),w(_,this,(t=E(P,this,Y)).call.apply(t,[this].concat(p(g(O,this)),p(n),p(i)))),w(S,this,(r=E(P,this,Y)).call.apply(r,[this].concat(p(o),p(a))));var s,l=f(E(P,this,B).call(this,c,g(_,this)));try{for(l.s();!(s=l.n()).done;){var d=s.value;g(T,this).add(d)}}catch(e){l.e(e)}finally{l.f()}var h,y=f(E(P,this,B).call(this,c,g(S,this)));try{for(y.s();!(h=y.n()).done;){var v=h.value;g(x,this).add(v)}}catch(e){y.e(e)}finally{y.f()}}),[{key:"getRedactedBy",value:function(e){var t=E(P,this,A).call(this,e);if(t)return t;if(E(P,this,D).call(this,e)||E(P,this,W).call(this,e))return null;var r=E(P,this,U).call(this,e);return r?E(P,this,W).call(this,e.parentNode)?e:r:E(P,this,R).call(this,e)?e:null}},{key:"notifyChanges",value:function(e,t,r,n){var o,a=new Set,u=new Set,c=new Set(p(g(T,this))),s=f(e);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(!i.default.isIgnored(l.target)&&!n.has(l.target)){var d=this.getRedactedBy(l.target);if(d&&d!==l.target&&a.add(d),"attributes"===l.type){var h,y=f(E(P,this,z).call(this,l.target));try{for(y.s();!(h=y.n()).done;){var v=h.value;u.add(v)}}catch(e){y.e(e)}finally{y.f()}var m=E(P,this,D).call(this,l.target);g(x,this).has(l.target)!==!!m&&u.add(l.target.parentNode)}else if("childList"===l.type){var b=E(P,this,j).call(this,l.removedNodes),w=E(P,this,j).call(this,l.addedNodes);if(!u.has(l.target)){var _=E(P,this,z).call(this,l.target).length>0;(_&&w||!_&&b)&&u.add(l.target)}}}}}catch(e){s.e(e)}finally{s.f()}var S,O=f(E(P,this,M).call(this,u));try{for(O.s();!(S=O.n()).done;){var L=S.value;i.default.isIgnored(L)||a.add(L)}}catch(e){O.e(e)}finally{O.f()}E(P,this,k).call(this,t,new Set([].concat(p(a),p(r))),n);var I,C=f(r);try{for(C.s();!(I=C.n()).done;){var A,N=I.value,R=f(g(T,this));try{for(R.s();!(A=R.n()).done;){var U=A.value;N.contains(U)&&a.add(U)}}catch(e){R.e(e)}finally{R.f()}}}catch(e){C.e(e)}finally{C.f()}var F,W=f(c);try{for(W.s();!(F=W.n()).done;){var B=F.value;g(T,this).has(B)||n.has(B)||i.default.depthFirst(B,(function(e){a.add(e)}))}}catch(e){W.e(e)}finally{W.f()}return a}},{key:"isRedacted",value:function(e){return Boolean(this.getRedactedBy(e))}}])}()},39702:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var o;function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t: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")}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(26099),r(47764),r(73772),r(62953);var c=(0,((o=r(51227))&&o.__esModule?o:{default:o}).default)("cbio.RedactionIndexProvider"),s=new WeakMap,l=function(){return function(e,t){return t&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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)}(this,s,void 0)}),[{key:"instance",get:function(){return(e=s).get(u(e,this));var e},set:function(e){var t,r;r=e,(t=s).set(u(t,this),r),c("set new redaction index")}}])}();t.default=new l},8111:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(45700),r(23418),r(34782),r(89572),r(62010),r(2892),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(2008),r(46449),r(23792),r(62062),r(26910),r(93514),r(5506),r(26099),r(27495),r(31415),r(47764),r(73772),r(62953);var n=i(r(37047)),o=i(r(11191));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e,t,r){return(t=h(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){var t=function(e){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}function y(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(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 m=new WeakMap,b=new WeakMap,g=p((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,m,(function(){return o.default.unproxify(window.location.href)})),y(this,b,(function(e,t){if(!e)return e;var r=e.map((function(e){return"string"==typeof e?e:"object"===l(e)?Object.entries(e).filter((function(e){var r=u(e,1)[0];return(0,n.default)(r,{flags:"i"}).test(t)})).map((function(e){var t=u(e,2);return t[0],t[1]})):null})).filter(Boolean).flat(2);return a(new Set(r))})),d(this,"filterSelectors",(function(e){var r=v(m,t).call(t);return v(b,t).call(t,e,r)})),d(this,"hasChange",(function(e,r){if(!e)return!1;if(!r)return!0;var n=v(b,t).call(t,e,r),o=v(b,t).call(t,e,v(m,t).call(t));if(n.length!==o.length)return!0;var i=a(n).sort(),u=a(o).sort();return!i.every((function(e,t){return e===u[t]}))}))}));t.default=new g},16566:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedactionIndex",{enumerable:!0,get:function(){return n.RedactionIndex}}),Object.defineProperty(t,"RedactionIndexProvider",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"TargetedRedaction",{enumerable:!0,get:function(){return i.default}});var n=r(2615),o=a(r(39702)),i=a(r(8111));function a(e){return e&&e.__esModule?e:{default:e}}},32976:function(e,t,r){"use strict";r(52675),r(89463),r(2259),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(74423),r(23792),r(89572),r(2892),r(83851),r(26099),r(31415),r(21699),r(47764),r(23500),r(62953),r(33019);var n=a(r(25454)),o=r(66938),i=r(16566);function a(e){return e&&e.__esModule?e:{default:e}}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}var p=(0,a(r(51227)).default)("cbio.ControlEvents"),d=s((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"_applyScroll",(function(e,t){var r=e.defaultView||e;r.scrollTo?r.scrollTo(t.x,t.y):(r.scrollTop=t.y,r.scrollLeft=t.x)})),l(this,"_updateCheckbox",(function(e,t){var r=t.checked;if(void 0!==r&&"INPUT"===e.tagName&&void 0!==e.checked){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,"checked");n&&n.set.call(e,r)}})),l(this,"_updateInnerHTML",(function(e,t){var r=t.innerHTML;void 0!==r&&(e.innerHTML=n.default.sanitize(r))})),l(this,"_updateValue",(function(e,t){var r=t.value;if(void 0!==r){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value");n&&n.set.call(e,r)}"TEXTAREA"===e.tagName&&o.NodeTracker.track(e.childNodes[0])})),l(this,"_updateTarget",(function(e,r){t._updateValue(e,r.target),t._updateCheckbox(e,r.target),t._updateInnerHTML(e,r.target)})),l(this,"_generateMouse",(function(e,t){return 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",(function(e,t){return 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",(function(e,t){return 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",(function(e,t){return new FocusEvent(t.state,{bubbles:["focusin","focusout"].includes(t.state),cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})})),l(this,"_generateChange",(function(e,t){return new CustomEvent(t.state,{bubbles:!0,cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})})),l(this,"_generateInput",(function(e,t){return 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",(function(e,t){return new CustomEvent("selection",{bubbles:!0,cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window,selection:t.selection})})),l(this,"_generateEvent",(function(e,r,n){switch(n.state.includes("move")&&p("generate",n,"on",r),e){case"keypress":return t._generateKeypress(r,n);case"mouse":return t._generateMouse(r,n);case"pointer":return t._generatePointer(r,n);case"change":return t._generateChange(r,n);case"input":return t._generateInput(r,n);case"focus":return t._generateFocus(r,n);case"select":return t._generateSelection(r,n);default:return console.warn("CobrowseIO: unknown event type",e,n),null}})),l(this,"_setSelection",(function(e,t){var r=t.selection;if(!(e.__cobrowse_user_selection_timestamp>Date.now()-100)&&e.getSelection())try{r?(e.__last_agent_selection_ts=Date.now(),e.getSelection().removeAllRanges(),r.forEach((function(t){var r=t.start,n=t.startOffset,i=t.end,a=t.endOffset,u=document.createRange(),c=o.NodeTracker.getById(r),s=o.NodeTracker.getById(i);u.setStart(c,n),u.setEnd(s,a),e.getSelection().addRange(u)}))):e.getSelection().removeAllRanges()}catch(e){console.warn("Failed to apply selection",r,e)}})),l(this,"_setInputSelection",(function(e,t){var r=t.selection;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){var n=r.start,o=r.end,i=r.direction;e.focus(),e.setSelectionRange(n,o,i)}else e.getRootNode({composed:!0}).activeElement===e&&e.setSelectionRange(null,null)}catch(e){console.warn("Failed to select text",e)}})),l(this,"applyEvent",(function(e,r){var n;if(!r.target)return null;var a=o.NodeTracker.getById(r.target.id);if(!a)return null;if(null!==(n=i.RedactionIndexProvider.instance)&&void 0!==n&&n.isRedacted(a))return null;try{var u;if("scroll"===e)return t._applyScroll(a,r);if(null!==(u=a._cobrowse_suppress_events)&&void 0!==u&&u.has(r.state))return a._cobrowse_suppress_events.delete(r.state),0===a._cobrowse_suppress_events.size&&delete a._cobrowse_suppress_events.size,null;var c=t._generateEvent(e,a,r);return c&&(a.dispatchEvent(c)?(["keydown","keypress","input"].includes(r.state)&&t._updateTarget(a,r),["selectionchange"].includes(r.state)&&t._setSelection(a,r),["select"].includes(r.state)&&t._setInputSelection(a,r)):"keydown"===r.state?a._cobrowse_suppress_events=new Set(["keypress","input"]):"keypress"===r.state&&(a._cobrowse_suppress_events=new Set(["input"]))),c}catch(t){return console.warn("Error while injecting event",e,t),null}}))}));t.default=new d},83672:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ControlEvents",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(32976))&&n.__esModule?n:{default:n}},42109:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(23792),r(89572),r(2892),r(40875),r(26099),r(60825),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(62010);var o,i=(o=r(82701))&&o.__esModule?o:{default:o};function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}t.default=function(e){function t(e,r,o){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(i=function(e,t,r){return t=u(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r))}(this,t,[r,o])).id=e,i.name="APIError",i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),function(e){return Object.defineProperty(e,"prototype",{writable:!1}),e}(t)}(i.default)},82701:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(i())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&a(o,r.prototype),o}(e,arguments,u(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,e)},o(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(i=function(){return!!e})()}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}r(52675),r(89463),r(2259),r(45700),r(23792),r(89572),r(36033),r(2892),r(26099),r(60825),r(38781),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(62010),r(40875),t.default=function(e){function t(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,r){return t=u(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,i()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r))}(this,t,[r])).status=e,o.name="HTTPError",o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e),r=t,Object.defineProperty(r,"prototype",{writable:!1}),r;var r}(o(Error))},53469:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(2008),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(81278),r(40875),r(60825),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(23792),r(79432),r(26099),r(38781),r(47764),r(73772),r(62953);var o=r(37007),i=s(r(1045)),a=s(r(90179)),u=s(r(2404)),c=s(r(42109));function s(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 f(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){p(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 p(e,t,r){return(t=m(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(){d=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};l(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=p(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=l(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),l(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),l(x,s,"Generator"),l(x,u,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function h(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){h(i,n,o,a,u,"next",e)}function u(e){h(i,n,o,a,u,"throw",e)}a(void 0)}))}}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,m(n.key),n)}}function m(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}function E(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,r){return e.set(O(e,t),r),r}function S(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")}var x=new WeakMap,T=new WeakMap,P=new WeakMap,j=(t.default=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return E(e=function(e,t,r){return t=g(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,b()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,t,[].concat(o)),x,{}),E(e,T,{}),E(e,P,function(){var e=y(d().mark((function e(t){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.status>=400)){e.next=5;break}return e.next=3,t.json();case 3:throw r=e.sent,new c.default(r.id,t.status,r.message);case 5:if(t.ok){e.next=7;break}throw new Error("Failed to parse response, response not ok");case 7:if(204!==t.status){e.next=9;break}return e.abrupt("return",null);case 9:return e.next=11,t.json();case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(t,e),r=t,o=[{key:"_resource",get:function(){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."),S(T,this)}},{key:"resource",get:function(){return S(T,this)}},{key:"url",value:function(){throw new Error("url() must be implemented")}},{key:"id",value:function(){return this.field("id")}},{key:"field",value:function(e){return(S(T,this)||{})[e]}},{key:"cache",value:function(e){_(T,this,f(f({},S(T,this)),e))}},{key:"fetch",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(y(d().mark((function e(){var t;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(this.url(),{headers:(0,a.default)(this.headers(),["Content-Type"])});case 2:return t=e.sent,e.t0=this,e.next=6,S(P,this).call(this,t);case 6:return e.t1=e.sent,e.abrupt("return",e.t0.updateResource.call(e.t0,e.t1));case 8:case"end":return e.stop()}}),e,this)}))))},{key:"update",value:(p=y(d().mark((function e(t){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t&&Object.keys(t)&&(0,i.default)(S(T,this),t,u.default))){e.next=2;break}return e.abrupt("return",this);case 2:return e.next=4,fetch(this.url(),{method:this.id()?"PUT":"POST",headers:this.headers(),body:JSON.stringify(t)});case 4:return r=e.sent,e.t0=this,e.next=8,S(P,this).call(this,r);case 8:return e.t1=e.sent,e.abrupt("return",e.t0.updateResource.call(e.t0,e.t1));case 10:case"end":return e.stop()}}),e,this)}))),function(e){return p.apply(this,arguments)})},{key:"destroy",value:(l=y(d().mark((function e(){var t;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(this.url(),{method:"DELETE",headers:this.headers()});case 2:return t=e.sent,e.t0=this,e.next=6,S(P,this).call(this,t);case 6:return e.t1=e.sent,e.abrupt("return",e.t0.updateResource.call(e.t0,e.t1));case 8:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"updateResource",value:function(e){return _(T,this,e||{}),this.emit("updated",this),this}},{key:"headers",value:function(){return f(f({},t.headers()),S(x,this))}},{key:"setHeader",value:function(e,t){S(x,this)[e]=t}},{key:"getHeader",value:function(e){return this.headers()[e]}}],s=[{key:"headers",value:function(){return O(t,this,j)._}},{key:"setHeader",value:function(e,t){j._[e]=t}},{key:"getHeader",value:function(e){return j._[e]}},{key:"api",get:function(){return k._},set:function(e){k._=e}}],o&&v(r.prototype,o),s&&v(r,s),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o,s,l,p}(o.EventEmitter),{_:{}}),k={_:void 0}},18111:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RESTResource",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(53469))&&n.__esModule?n:{default:n}},52404:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(83851),r(81278),r(40875),r(79432),r(60825),r(40888),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(2008),r(74423),r(23792),r(48598),r(34782),r(26099),r(38781),r(21699),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o=r(40182),i=r(37609),a=s(r(60086)),u=r(18111),c=r(21667);function s(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 f(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){b(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 p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,g(n.key),n)}}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function y(e,t,r,n){var o=v(m(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof o?function(e){return o.apply(r,e)}:o}function v(){return v="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}},v.apply(null,arguments)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function b(e,t,r){return(t=g(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function w(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(e,t){return e.get(S(e,t))}function _(e,t,r){return e.set(S(e,t),r),r}function S(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=(0,s(r(51227)).default)("cbio.Session"),x=new WeakMap,T=new WeakMap,P=new WeakMap,j=new WeakMap,k=new WeakMap,L=new WeakMap,I=new WeakMap,C=new WeakMap,A=new WeakMap,N=new WeakMap,M=new WeakMap,R=new WeakMap,D=new WeakMap;t.default=function(e){function t(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),w(r=function(e,t,r){return t=m(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,d()?Reflect.construct(t,r||[],m(e).constructor):t.apply(e,r))}(this,t),x,void 0),w(r,T,void 0),w(r,P,{}),w(r,j,(function(e){r.setHeader("X-CobrowseDeviceToken",e)})),w(r,k,(function(){return r.getHeader("X-CobrowseDeviceToken")})),b(r,"activate",(function(){return O("activate session"),r.update({state:"active",device:c.Device.info,custom_data:E(x,r).customData})})),b(r,"end",(function(){return O("end session"),r.update({state:"ended"})})),b(r,"code",(function(){return r.field("code")})),b(r,"state",(function(){return r.field("state")})),b(r,"isActive",(function(){return"active"===r.state()})),b(r,"isAuthorizing",(function(){return"authorizing"===r.state()})),b(r,"isPending",(function(){return"pending"===r.state()})),b(r,"isEnded",(function(){return"ended"===r.state()})),b(r,"redactionSelectors",(function(){var e=r.field("redaction_selectors");return Array.isArray(e)?e:[]})),b(r,"unredactionSelectors",(function(){var e=r.field("unredaction_selectors");return Array.isArray(e)?e:[]})),b(r,"agent",(function(){return r.field("agent")||!1})),b(r,"requireConsent",(function(){return r.field("require_consent")})),b(r,"fullDevice",(function(){return!0===r.field("full_device")||"on"===r.field("full_device")||"requested"===r.field("full_device")})),b(r,"setFullDevice",(function(e){return E(T,r).toggle(["laser","drawing","disappearing_ink","pointer","scroll","select","keypress","cursor"],"on"!==e),r.update({full_device:e})})),b(r,"update",(function(e){return y(t,"update",r,3)([f({capabilities:E(T,r).toArray()},e)])})),b(r,"scale",(function(){return r.field("scale")||.5})),b(r,"remoteControl",(function(){return r.field("remote_control")||"on"})),b(r,"setRemoteControl",(function(e){return r.update({remote_control:e})})),b(r,"allowRemoteControl",(function(){return"on"===r.remoteControl()})),b(r,"updateResource",(function(e){var n=r.isEnded();return y(t,"updateResource",r,3)([e]),r.isEnded()&&!n&&(r.emit("ended",r),r.removeAllListeners()),r})),w(r,L,(0,i.protect)(r,"setMetrics",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_(P,r,f(f({},E(P,r)),e))}))),w(r,I,(0,i.protect)(r,"serialize",(function(){return f(f({},r.resource),{},{_locals:{token:E(k,r).call(r)}})}))),w(r,C,(0,i.protect)(r,"serializeSanitized",(function(){return{state:r.resource.state,redaction_selectors:r.resource.redaction_selectors}}))),w(r,A,(0,i.protect)(r,"deserialize",(function(e){var t=e._locals||{};return delete e._locals,E(j,r).call(r,t.token),r.updateResource(e),r}))),w(r,N,(0,i.protect)(r,"compress",(function(){return"".concat(r.resource.id,":").concat(E(k,r).call(r))}))),w(r,M,(0,i.protect)(r,"decompress",(function(e){var t=e.split(":");return E(A,r).call(r,{_locals:{token:t[t.length-1]},id:t.slice(0,-1).join(":")}),r}))),w(r,R,(0,i.protect)(r,"proxyToken",(function(){return r.field("proxy_token")}))),w(r,D,(0,i.protect)(r,"proxyUrl",(function(){return r.field("proxy_url")}))),!e)throw new Error("Session delegate is required");_(x,r,e),_(T,r,new a.default(e.capabilities));var u=Math.ceil(Date.now()/36e5);return E(j,r).call(r,(0,o.v5)(u+"",c.Device.deviceToken())),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(t,e),r=t,(u=[{key:"capabilities",get:function(){var e=this.field("capabilities");return null==e?E(T,this).toArray():E(T,this).toArray().filter((function(t){return null==e?void 0:e.includes(t)}))}},{key:"url",value:function(){var e=this.id()||this.code();return new URL("api/1/sessions".concat(e?"/".concat(e):""),t.api).toString()}},{key:"metrics",get:function(){return E(P,this)}}])&&p(r.prototype,u),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,u}(u.RESTResource)},60086:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function a(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")}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(33771),r(2008),r(23792),r(79432),r(26099),r(47764),r(73772),r(23500),r(62953);var c=new WeakMap;t.default=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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)}(this,c,{}),this.fill(t)},(t=[{key:"fill",value:function(e){var t,r;return t=c,r=e.reduce((function(e,t){return e[t]=!0,e}),{}),t.set(u(t,this),r),this}},{key:"all",value:function(){return a(c,this)}},{key:"toArray",value:function(){var e=this;return Object.keys(a(c,this)).filter((function(t){return a(c,e)[t]}))}},{key:"toggle",value:function(e,t){var r=this;return Array.isArray(e)||(e=[e]),e.filter((function(e){return e in a(c,r)})).forEach((function(e){a(c,r)[e]=t})),this}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},57089:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SESSION_CAPABILITY_UNIVERSAL=t.SESSION_CAPABILITY_TYPE_SELECT=t.SESSION_CAPABILITY_TYPE_SCROLL=t.SESSION_CAPABILITY_TYPE_POINTER=t.SESSION_CAPABILITY_TYPE_LASER=t.SESSION_CAPABILITY_TYPE_KEYPRESS=t.SESSION_CAPABILITY_TYPE_FULL_DEVICE=t.SESSION_CAPABILITY_TYPE_DRAWING=t.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK=t.SESSION_CAPABILITY_TYPE_CURSOR=void 0;var r=t.SESSION_CAPABILITY_TYPE_POINTER="pointer",n=t.SESSION_CAPABILITY_TYPE_SCROLL="scroll",o=t.SESSION_CAPABILITY_TYPE_SELECT="select",i=t.SESSION_CAPABILITY_TYPE_KEYPRESS="keypress",a=t.SESSION_CAPABILITY_TYPE_DRAWING="drawing",u=t.SESSION_CAPABILITY_TYPE_LASER="laser",c=(t.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK="disappearing_ink",t.SESSION_CAPABILITY_TYPE_FULL_DEVICE="full_device"),s=t.SESSION_CAPABILITY_TYPE_CURSOR="cursor",l=t.SESSION_CAPABILITY_UNIVERSAL="universal";t.default=[r,n,o,i,a,u,c,s,l]},30729:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(40875),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(74423),r(23792),r(26099),r(21699),r(47764),r(73772),r(30958),r(62953);var o=E(r(90324)),i=r(8647),a=r(45264),u=r(33035),c=r(83672),s=r(16566),l=E(r(51227)),f=r(57089),p=r(68325),d=r(49715),h=r(11065),y=r(91834),v=E(r(6900)),m=r(44661),b=r(89689),g=E(r(44153)),w=r(49931);function E(e){return e&&e.__esModule?e:{default:e}}function _(){_=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var d="suspendedStart",h="suspendedYield",y="executing",v="completed",m={};function b(){}function g(){}function w(){}var E={};l(E,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(E=O);var x=w.prototype=b.prototype=Object.create(E);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=p(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?v:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return g.prototype=w,i(x,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:g,configurable:!0}),g.displayName=l(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),l(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),l(x,s,"Generator"),l(x,u,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function S(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function O(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){S(i,n,o,a,u,"next",e)}function u(e){S(i,n,o,a,u,"throw",e)}a(void 0)}))}}function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,P(n.key),n)}}function T(e,t,r){return(t=P(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function j(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 L(e,t){return e.get(C(e,t))}function I(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 A=(0,l.default)("cbio.SessionContext"),N=new WeakMap,M=new WeakMap,R=new WeakMap,D=new WeakMap,U=new WeakMap,F=new WeakMap,W=new WeakMap,z=new WeakMap,B=new WeakMap,V=new WeakSet,Y=new WeakMap,G=new WeakMap,H=new WeakMap,Q=new WeakMap,q=new WeakMap,K=new WeakMap,$=new WeakMap,X=new WeakMap,J=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,oe=new WeakMap,ie=new WeakMap,ae=new WeakMap,ue=new WeakMap,ce=new WeakMap,se=new WeakMap,le=new WeakMap;function fe(e){var t,r=this,n=(T(T(T(T(T(T(T(T(T(T(t={},p.SESSION_EVENT_TYPE_MOUSE,f.SESSION_CAPABILITY_TYPE_POINTER),p.SESSION_EVENT_TYPE_TOUCH,f.SESSION_CAPABILITY_TYPE_POINTER),p.SESSION_EVENT_TYPE_POINTER,f.SESSION_CAPABILITY_TYPE_POINTER),p.SESSION_EVENT_TYPE_FOCUS,[f.SESSION_CAPABILITY_TYPE_KEYPRESS,f.SESSION_CAPABILITY_TYPE_POINTER]),p.SESSION_EVENT_TYPE_KEYPRESS,f.SESSION_CAPABILITY_TYPE_KEYPRESS),p.SESSION_EVENT_TYPE_SCROLL,f.SESSION_CAPABILITY_TYPE_SCROLL),p.SESSION_EVENT_TYPE_CHANGE,[f.SESSION_CAPABILITY_TYPE_KEYPRESS,f.SESSION_CAPABILITY_TYPE_POINTER]),p.SESSION_EVENT_TYPE_INPUT,[f.SESSION_CAPABILITY_TYPE_KEYPRESS,f.SESSION_CAPABILITY_TYPE_POINTER]),p.SESSION_EVENT_TYPE_LASER,f.SESSION_CAPABILITY_TYPE_LASER),p.SESSION_EVENT_TYPE_DRAWING,null!=e.disappears_in?f.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK:f.SESSION_CAPABILITY_TYPE_DRAWING),T(t,p.SESSION_EVENT_TYPE_SELECT,f.SESSION_CAPABILITY_TYPE_SELECT));return(Array.isArray(n[e.type])?n[e.type]:[n[e.type]]).some((function(e){return r.session.capabilities.includes(e)}))}t.default=function(){return e=function e(t,r){var n,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),k(this,n=V),n.add(this),j(this,N,void 0),j(this,M,void 0),j(this,R,new i.FrameLoop),j(this,D,void 0),j(this,U,void 0),j(this,F,void 0),j(this,W,void 0),j(this,z,(function(e){var t;return!(null===(t=l.session)||void 0===t||!t.isActive()||e===m.NAVIGATION_TYPE.UNIVERSAL&&!l.session.capabilities.includes(f.SESSION_CAPABILITY_UNIVERSAL))})),j(this,B,(function(e,t,r){var n,o=r.type,i=r.go,a=function(r){return L(W,l).navigate(e,r||t,{type:o})},u=function(){return i()};if(![m.NAVIGATION_TYPE.PDF,m.NAVIGATION_TYPE.UNIVERSAL].includes(o))return a();var c=l.delegate.confirmOpen(e,o);return c?!0===c?a("_blank"):(null===(n=c.then)||void 0===n||n.call(c,(function(e){if(!e)return u();a("_blank")})),!1):u()})),T(this,"invalidateFrames",(function(){L(R,l).isRunning()&&L(R,l).invalidateFrame()})),T(this,"destroy",(function(){A("destroy session context"),L(ne,l).call(l),L(W,l)&&L(W,l).destroy(),I(W,l,null),g.default.off("navigate",L(Y,l)),L(N,l)&&L(N,l).close(),I(N,l,null),L(R,l)&&L(R,l).destroy(),I(R,l,null),a.WindowTracking.off("activate",L(ie,l)),window.removeEventListener("focus",L(ie,l),{capture:!0,passive:!0}),window.removeEventListener("hashchange",L(ae,l),{capture:!0,passive:!0}),a.MouseTracking.onChange===L(se,l)&&(a.MouseTracking.onChange=null),l.session&&(l.session.removeListener("update",L(re,l)),l.session.removeListener("ended",L(ne,l)),l.session.removeListener("sync",L(H,l)),l.session.removeListener("drawing",L(q,l)),l.session.removeListener("laser",L(Q,l)),l.session.removeListener("control",L(K,l)),l.session.removeListener("remote-error",L(G,l))),document.removeEventListener("DOMContentLoaded",L($,l),{once:!0}),l.session=null})),j(this,Y,(function(e,t){L(X,l).call(l,l.session),(s.TargetedRedaction.hasChange(l.delegate.redactedViews,t)||s.TargetedRedaction.hasChange(l.delegate.unredactedViews,t)||s.TargetedRedaction.hasChange(l.session.redactionSelectors(),t)||s.TargetedRedaction.hasChange(l.session.unredactionSelectors(),t))&&setTimeout((function(){l.invalidateFrames()}),0)})),j(this,G,function(){var e=O(_().mark((function e(t){var r,n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=L(R,l).getSource())instanceof i.DOMFrameSource){e.next=3;break}return e.abrupt("return");case 3:if(n=t.target,"load-error"===t.error.cause){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,(0,w.applyContentCache)(n);case 8:r.partialSync(n);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),j(this,H,(function(e){var t=e.id;t&&L(D,l)===t||(I(D,l,t),L(R,l).invalidateFrame())})),j(this,Q,(function(e){C(V,l,fe).call(l,e)&&a.WindowTracking.isActive()&&(l.session.fullDevice()||u.LaserOverlay.update(e))})),j(this,q,(function(e){C(V,l,fe).call(l,e)&&(e.image||u.AnnotationOverlay.hide(e.agent),a.WindowTracking.isActive()&&(l.session.fullDevice()||u.AnnotationOverlay.update(e)))})),j(this,K,(function(e,t){"focus"!==e||t.agent||a.WindowTracking.resignActive(),a.WindowTracking.isActive()&&(l.session.fullDevice()||l.session.allowRemoteControl()&&(l.session.capabilities.includes(f.SESSION_CAPABILITY_TYPE_CURSOR)&&u.RemoteCursor.update(e,t),C(V,l,fe).call(l,t)&&c.ControlEvents.applyEvent(e,t)))})),j(this,$,(function(e){l.session&&(e.isActive()?document.body?l.delegate.showSessionControls(e):document.addEventListener("DOMContentLoaded",L($,l),{once:!0}):l.delegate.hideSessionControls(e))})),j(this,X,(function(e){s.RedactionIndexProvider.instance=new s.RedactionIndex(s.TargetedRedaction.filterSelectors(l.delegate.redactedViews),s.TargetedRedaction.filterSelectors(l.delegate.unredactedViews),s.TargetedRedaction.filterSelectors(e.redactionSelectors()),s.TargetedRedaction.filterSelectors(e.unredactionSelectors()))})),j(this,J,function(){var e=O(_().mark((function e(t){var r;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.agent()&&!t.isActive()&&!t.isEnded()){e.next=2;break}return e.abrupt("return",null);case 2:if(!L(U,l)){e.next=4;break}return e.abrupt("return",null);case 4:if(I(U,l,!0),t.requireConsent()){e.next=7;break}return e.abrupt("return",t.activate());case 7:return e.prev=7,A("authorizing session"),e.next=11,t.update({state:"authorizing"});case 11:if(l.session){e.next=13;break}return e.abrupt("return",null);case 13:return e.next=15,l.delegate.confirmSession(t);case 15:if(r=e.sent,l.session){e.next=18;break}return e.abrupt("return",null);case 18:if(!1!==r){e.next=23;break}return A("user rejected session request"),e.abrupt("return",t.end());case 23:return A("session accepted"),e.abrupt("return",t.activate());case 25:e.next=33;break;case 27:if(e.prev=27,e.t0=e.catch(7),e.t0&&console.warn("CobrowseIO: error caught during confirmation",e.t0),!l.session){e.next=32;break}return e.abrupt("return",t.end());case 32:return e.abrupt("return",null);case 33:case"end":return e.stop()}}),e,null,[[7,27]])})));return function(t){return e.apply(this,arguments)}}()),j(this,Z,function(){var e=O(_().mark((function e(t){return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("requested"===t.remoteControl()){e.next=2;break}return e.abrupt("return",null);case 2:return e.prev=2,e.next=5,l.delegate.confirmRemoteControl();case 5:if(e.t0=e.sent,!1!==e.t0){e.next=11;break}return A("user rejeted remote control"),e.abrupt("return",t.update({remote_control:"rejected"}));case 11:return A("user accepted remote control"),e.abrupt("return",t.update({remote_control:"on"}));case 13:e.next=19;break;case 15:return e.prev=15,e.t1=e.catch(2),e.t1&&console.warn("CobrowseIO: error caught during confirmation",e.t1),e.abrupt("return",t.update({remote_control:"rejected"}));case 19:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t){return e.apply(this,arguments)}}()),j(this,ee,O(_().mark((function e(){var t,r;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!0===(t=l.session.resource.full_device)||"requested"===t){e.next=3;break}return e.abrupt("return",!1);case 3:if(a.WindowTracking.isActive()){e.next=5;break}return e.abrupt("return",!1);case 5:if(l.session.capabilities.includes(f.SESSION_CAPABILITY_TYPE_FULL_DEVICE)){e.next=7;break}return e.abrupt("return");case 7:return e.prev=7,e.next=10,l.delegate.confirmFullDevice();case 10:if(r=e.sent,A("full device request",r),r){e.next=15;break}return e.next=15,l.session.setFullDevice("rejected");case 15:return e.abrupt("return",r);case 18:return e.prev=18,e.t0=e.catch(7),e.next=22,l.session.setFullDevice("off");case 22:return e.abrupt("return",!1);case 23:case"end":return e.stop()}}),e,null,[[7,18]])})))),j(this,te,function(){var e=O(_().mark((function e(t){var r;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isEnded()&&L(R,l)){e.next=2;break}return e.abrupt("return",null);case 2:if(r=L(R,l).getSource(),!t.fullDevice()){e.next=9;break}if(r instanceof i.MediaStreamFrameSource){e.next=7;break}return e.next=7,L(R,l).setSource(new i.MediaStreamFrameSource({handleFrame:L(ce,l),scale:t.scale,captureStarted:function(e){t.setFullDevice("on"),t.emit("media",e)},captureEnded:function(e){e&&console.warn("Full device mode failed: ",e),t.setFullDevice(e?"rejected":"off")},requestPermission:L(ee,l)}));case 7:e.next=10;break;case 9:r instanceof i.DOMFrameSource||L(R,l).setSource(new i.DOMFrameSource(L(ue,l)));case 10:L(R,l).getSource().setCodecs(t.resource.video_codecs);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),j(this,re,(function(e){l.session?(L(J,l).call(l,e),L($,l).call(l,e),L(X,l).call(l,e),L(Z,l).call(l,e),L(te,l).call(l,e),e.isActive()&&L(le,l).call(l)):A("onSessionUpdated called after destroy()")})),j(this,ne,(function(){u.AnnotationOverlay.hide(),u.RemoteCursor.hide(),u.LaserOverlay.hide(),l.delegate.hideSessionControls(l.session),L(F,l)&&L(F,l).closeAllDocuments()})),j(this,oe,(function(e,t){return!(!l.session||!l.session.isActive()||!l.session.fullDevice()&&!a.WindowTracking.isActive()||!L(N,l)||!L(N,l).stream||!L(N,l).stream.connected||!L(N,l).stream.bufferedAmount>100||(L(N,l).stream.send(e,t),0))})),j(this,ie,(function(){return L(oe,l).call(l,"focus",{type:"Focus",timestamp:new Date})})),j(this,ae,(function(){return L(oe,l).call(l,"screen",{type:"Screen",timestamp:new Date,url:window.location.href,title:document.title})})),j(this,ue,(function(e){return I(M,l,(L(M,l)||0)+1),L(oe,l).call(l,"frame",{type:"Frame",id:L(M,l),data:e,timestamp:new Date,mime_type:"application/x-cbio-vdom-patch"})})),j(this,ce,(function(e,t,r){L(N,l).stream.messageLag()>=r?A("dropped frame due to message lag",L(N,l).stream.messageLag()):(I(M,l,(L(M,l)||0)+1),L(oe,l).call(l,"frame",{type:"Frame",id:L(M,l),data:e,timestamp:new Date,mime_type:t}))})),j(this,se,(function(e){var t="mouseout";return e.in&&(t=e.down?"mousedown":"mouseup"),L(oe,l).call(l,"mouse",{type:"Mouse",x:e.x/window.innerWidth,y:e.y/window.innerHeight,state:t,timestamp:new Date})})),j(this,le,(function(){return L(R,l).isRunning()||(A("start frames"),L(R,l).start()),l})),A("session context constructed"),this.session=t,this.delegate=r,I(N,this,new o.default(t)),a.WindowTracking.on("activate",L(ie,this)),window.addEventListener("focus",L(ie,this),{capture:!0,passive:!0}),window.addEventListener("hashchange",L(ae,this),{capture:!0,passive:!0}),a.MouseTracking.onChange=L(se,this),L(re,this).call(this,t),t.on("updated",L(re,this)),t.on("ended",L(ne,this)),t.on("sync",L(H,this)),t.on("drawing",L(q,this)),t.on("laser",L(Q,this)),t.on("control",L(K,this)),t.on("remote-error",L(G,this)),t.once("stream-open",(function(){return L(ie,l).call(l)}));var p=new h.PDFHandler(t,r),E=new y.UniversalHandler(t,r),S=new v.default(t,r);I(F,this,new b.DocumentCollection),I(W,this,new d.Navigation({shouldNavigate:L(z,this),handlers:[p,E,S],handleNavigation:L(B,this),onDocumentCreated:function(e){L(F,l).addDocument(e),l.delegate.showDocument(e)}})),g.default.on("navigate",L(Y,this))},(t=[{key:"navigate",value:function(e,t,r){var n=r.type,o=L(W,this).navigate(e,t,{type:n});if("string"==typeof o)return window.open(o,t)}}])&&x(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},68325:function(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_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_DRAWING="Drawing",t.SESSION_EVENT_TYPE_SELECT="Select"},90324:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(74423),r(23792),r(26099),r(27495),r(47764),r(25440),r(73772),r(12041),r(62953);var o=r(67829),i=u(r(56851)),a=u(r(37609));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 p(e,t){return e.get(h(e,t))}function d(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 y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap;t.default=function(){return e=function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,y,void 0),f(this,v,void 0),f(this,m,void 0),s(this,"open",(function(){p(y,r).isEnded()||(p(g,r).call(r),p(w,r).call(r))})),s(this,"close",(function(){window.removeEventListener("visibilitychange",r.onVisibilityChange),p(y,r)&&(p(y,r).removeListener("updated",r.open),d(y,r,null)),p(m,r)&&(p(m,r).close(),d(m,r,null)),p(v,r)&&(p(v,r).close(),d(v,r,null))})),f(this,b,(function(e,t){var n=new o.CBORSocket({getUrl:function(){return(0,i.default)(e)},getProtocols:function(){return["cbio.http.headers.authorization.bearer.".concat(window.btoa(p(y,r).field(t)).replaceAll("=",""))]}});return n.on("error",(function(e){console.warn("CobrowseIO session socket error:",e)})),n})),f(this,g,(function(){var e=p(y,r).field("control_url"),t=p(y,r).field("control_token");e&&t&&!p(v,r)&&(d(v,r,p(b,r).call(r,e,"control_token")),p(v,r).on("open",(function(){p(v,r).send("filter",{events:["session"]}),p(y,r).fetch().catch((function(e){console.warn("CobrowseIO failed fetching session state",e)}))})),p(v,r).on("event",(function(e,t){"session"===e&&p(y,r).updateResource(t)})))})),f(this,w,(function(){var e=p(y,r).field("stream_url"),t=p(y,r).field("stream_token");if(e&&t&&!p(m,r)){d(m,r,p(b,r).call(r,e,"stream_token"));var n=["drawing","laser","url"],o=["touch","mouse","pointer","keypress","scroll","focus","input","change","select"];p(m,r).on("event",(function(e,t){"sync"===e&&p(y,r).emit("sync",t),"remote-error"===e?p(y,r).emit("remote-error",t):"probe"===e?p(m,r).send("alive",t):n.includes(e)?p(y,r).emit(e,t):o.includes(e)&&p(y,r).emit("control",e,t),p(y,r)[a.default].setMetrics({last_alive:new Date})})),p(m,r).on("open",(function(){p(m,r).send("filter",{events:[].concat(o,n,["sync","probe","remote-error"])}),p(y,r).emit("stream-open")}))}})),d(y,this,t),t.on("updated",this.open),t[a.default].setMetrics({last_alive:null}),this.open()},(t=[{key:"stream",get:function(){return p(m,this)}}])&&c(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},73531:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(23418),r(34782),r(89572),r(4731),r(60479),r(2892),r(40875),r(27495),r(38781),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.SessionStorage=void 0,r(28706),r(2008),r(74423),r(23792),r(62010),r(26099),r(31415),r(21699),r(47764),r(73772),r(62953);var o,i=r(99070);function a(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(){u=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=s(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,u,"next",e)}function u(e){f(i,n,o,a,u,"throw",e)}a(void 0)}))}}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function h(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function y(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(b(e,t))}function m(e,t,r){return e.set(b(e,t),r),r}function b(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 g=(0,((o=r(51227))&&o.__esModule?o:{default:o}).default)("cbio.sessionStorage"),w=new WeakMap,E=new WeakMap,_=new WeakMap;t.SessionStorage=function(){function e(t){var r=t.load,n=void 0===r?[]:r,o=t.store,i=void 0===o?[]:o,a=t.retain,u=void 0===a?[]:a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,w,void 0),y(this,E,void 0),y(this,_,void 0),m(w,this,n),m(E,this,i),m(_,this,u)}return function(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"load",value:(r=p(u().mark((function e(t){var r,n,o,i,a;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g("loading session"),r=c(v(w,this)),e.prev=2,r.s();case 4:if((n=r.n()).done){e.next=21;break}return o=n.value,e.next=8,o.load(t);case 8:return i=e.sent,e.next=11,null==i?void 0:i.fetch();case 11:if(!(a=e.sent)){e.next=19;break}if(!a.isActive()){e.next=17;break}return e.abrupt("return",a);case 17:return e.next=19,o.store(null);case 19:e.next=4;break;case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(2),r.e(e.t0);case 26:return e.prev=26,r.f(),e.finish(26);case 29:return e.abrupt("return",null);case 30:case"end":return e.stop()}}),e,this,[[2,23,26,29]])}))),function(e){return r.apply(this,arguments)})},{key:"store",value:(t=p(u().mark((function e(t){var r,n,o;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g("storing session"),r=c(v(E,this)),e.prev=2,r.s();case 4:if((n=r.n()).done){e.next=16;break}return o=n.value,e.prev=6,e.next=9,o.store(t);case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(6),console.error("Unexpected error storing session: ".concat(o.constructor.name),e.t0);case 14:e.next=4;break;case 16:e.next=21;break;case 18:e.prev=18,e.t1=e.catch(2),r.e(e.t1);case 21:return e.prev=21,r.f(),e.finish(21);case 24:case"end":return e.stop()}}),e,this,[[2,18,21,24],[6,11]])}))),function(e){return t.apply(this,arguments)})},{key:"destroy",value:function(){var e,t=this,r=c(new Set([].concat(a(v(w,this)),a(v(E,this))).filter((function(e){return!v(_,t).includes(e)}))));try{for(r.s();!(e=r.n()).done;)e.value.destroy()}catch(e){r.e(e)}finally{r.f()}m(w,this,null),m(E,this,null),m(_,this,null)}}],[{key:"create",value:function(t,r,n){var o=n.localStorage;if(t.length>1){var a=new i.ForwardingSessionStorage;return new e({load:[a,o],store:[o,a],retain:[o]})}return new e({load:[o],store:[o],retain:[o]})}}]);var t,r}()},72176:function(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 i.default}}),Object.defineProperty(t,"SessionContext",{enumerable:!0,get:function(){return o.default}});var n=a(r(52404)),o=a(r(30729)),i=a(r(60086));function a(e){return e&&e.__esModule?e:{default:e}}},43443:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActiveSessionPath=void 0,t.ActiveSessionPath="_cobrowse_active_session"},99070:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.ForwardingSessionStorage=void 0,t.extractActiveSession=v,t.rewriteUrlIfNecessary=function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).window,n=void 0===r?window:r;try{var o=new URL(e);return o.origin===n.location.origin?(h("not rewriting url because we are not changing origin",o.toString()),e):(o.searchParams.set(a.ActiveSessionPath,t),h("rewriting trusted url for an active session",{from:e,to:o.toString()}),"string"==typeof e?o.toString():o)}catch(t){return h("failed rewriting url",t),e}},r(23792),r(26099),r(38781),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o=u(r(37609)),i=u(r(52404)),a=r(43443);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 f(e,t){return e.get(d(e,t))}function p(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 h=(0,u(r(51227)).default)("cbio.sessionStorage.ForwardingSessionStorage"),y=v();function v(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).window,t=void 0===e?window:e;try{var r=new URL(t.location.href),n=r.searchParams.get(a.ActiveSessionPath);return n?(h("found forwarded session that can be loaded",n),r.searchParams.delete(a.ActiveSessionPath),t.history.replaceState({},"",r)):h("no forwarded session to load",r),n}catch(e){console.warn("Failed to attempt to extract forwarded session",e)}}var m=new WeakMap,b=new WeakMap;t.ForwardingSessionStorage=function(){return e=function e(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).activeSessionData,r=void 0===t?y:t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,m,void 0),l(this,b,void 0),p(m,this,r)},(t=[{key:"isSupported",value:function(){return h("isSupported?",!0),!0}},{key:"load",value:function(e){try{if(f(m,this))return h("loading session",f(m,this)),new i.default(e)[o.default].decompress(f(m,this));h("no session to load")}catch(e){h("failed to load forwarded session",e)}return null}},{key:"store",value:function(e){null!=e&&e.isActive()?(h("storing active session by binding forwarding hooks"),p(b,this,e)):(h("removing active session by unbinding forwarding hooks"),this.destroy())}},{key:"destroy",value:function(){p(b,this,void 0)}}])&&c(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},51312:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.LocalSessionStorage=void 0,r(23792),r(26099),r(47764),r(73772),r(62953);var o=c(r(37609)),i=c(r(86542)),a=c(r(52404)),u=r(43443);function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function f(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")}var d=(0,c(r(51227)).default)("cbio.sessionStorage.LocalSessionStorage"),h=new WeakMap;t.LocalSessionStorage=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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)}(this,h,(0,i.default)())},(t=[{key:"isSupported",value:function(){return d("isSupported?",!0),!0}},{key:"load",value:function(e){var t=f(h,this).getItem(u.ActiveSessionPath);return t?(d("loading session"),new a.default(e)[o.default].deserialize(t)):(d("no session to load"),null)}},{key:"store",value:function(e){null!=e&&e.isActive()?(d("storing active session"),f(h,this).setItem(u.ActiveSessionPath,e[o.default].serialize())):(d("removing inactive session"),f(h,this).removeItem(u.ActiveSessionPath))}},{key:"destroy",value:function(){var e;(e=h).set(p(e,this),undefined)}}])&&s(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},6900:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(74423),r(23792),r(26099),r(21699),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o,i=r(44661),a=r(49715),u=r(99070),c=(o=r(37609))&&o.__esModule?o:{default:o};function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}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 y(e,t){return e.get(m(e,t))}function v(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")}var b=new WeakMap,g=new WeakMap;t.default=function(e){function t(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(o=function(e,t,r){return t=p(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,f()?Reflect.construct(t,r||[],p(e).constructor):t.apply(e,r))}(this,t),b,void 0),h(o,g,void 0),v(b,o,r.trustedOrigins),v(g,o,(function(){return e[c.default].compress()})),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(t,e),function(e,t){return t&&s(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"type",get:function(){return i.NAVIGATION_TYPE.XDOC}},{key:"shouldHandleEvent",value:function(e){return!0}},{key:"shouldHandle",value:function(e){var t=new URL(e,window.location.origin);return y(b,this).includes(t.origin)}},{key:"handle",value:function(e,t,r){var n=y(g,this).call(this);return(0,u.rewriteUrlIfNecessary)(e,n)}}])}(a.NavigationHandler)},86542:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(16667))&&n.__esModule?n:{default:n}},16667:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{setItem:function(t,r){u();var n=JSON.stringify({value:r,group:e});a()?window.localStorage.setItem(t,n):o.default.set(t,n),i[t]=n},getItem:function(t){try{var r;(r=a()?window.localStorage&&window.localStorage.getItem(t):o.default.get(t))||(r=i[t]);var n=JSON.parse(r),u=n.value,c=n.group;return e&&e!==c?null:u}catch(e){return null}},removeItem:function(e){a()&&window.localStorage.removeItem(e),o.default.remove(e),i[e]=void 0}}},r(79432);var n,o=(n=r(2733))&&n.__esModule?n:{default:n},i={};function a(){try{var e="_cobrowse_test_item";return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}function u(){a()||u.done||(u.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:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(23792),r(54743),r(89572),r(2892),r(26099),r(21489),r(81630),r(72170),r(75044),r(69539),r(31694),r(89955),r(33206),r(44496),r(66651),r(12887),r(19369),r(66812),r(8995),r(31575),r(36072),r(88747),r(28845),r(29423),r(57301),r(373),r(86614),r(41405),r(33684),r(23500);var n=r(45264);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}var s=a((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,"el",(function(){return t._el||(t._el=document.createElement("img"),t._el.className="cbio_session_overlay",t._el.style.pointerEvents="none",t._el.style.visibility="visible",t._el.style.width="10vw",t._el.style.height="100vh",t._el.style.position="fixed",t._el.style.zIndex="2147483647",t._el.style.display="none",t._el.style.top="0",t._el.style.left="0"),t._el})),u(this,"_arrayBufferToBase64",(function(e){for(var t="",r=new Uint8Array(e),n=r.byteLength,o=0;o<n;o+=1)t+=String.fromCharCode(r[o]);return window.btoa(t)})),u(this,"remove",(function(e){var 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})),u(this,"update",(function(e){if(n.WindowTracking.isActive())if(e.image){var r=t.el().cloneNode(),o="data:".concat(e.mime_type,";base64,").concat(t._arrayBufferToBase64(e.image)),i=e.id,a=void 0===i?"cb_io_drawing":i;r.style.left="".concat(100*e.x,"%"),r.style.top="".concat(100*e.y,"%"),r.style.height="".concat(100*e.height,"%"),r.style.width="".concat(100*e.width,"%"),r.style.display="block",r.src=o,r.id=a,r.dataset.agent=e.agent,r.decode().then((function(){var n=document.getElementById(a);n?n.replaceWith(r):document.body.appendChild(r),null!=e.disappears_in&&setTimeout((function(){t.remove(r,e.fade_duration)}),e.disappears_in)})).catch((function(e){console.error(e)}))}else t.hide(e.agent)})),u(this,"hide",(function(e){(null!=e?document.querySelectorAll('.cbio_session_overlay[data-agent="'.concat(e,'"]')):document.querySelectorAll(".cbio_session_overlay")).forEach((function(e){e.remove()}))}))}));t.default=new s},65573:function(e,t,r){"use strict";r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(89572),r(2892),r(26099);var n,o=(n=r(77988))&&n.__esModule?n:{default:n};function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(){a=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),u=new C(n||[]);return o(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&n.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(o,a,u,c){var s=d(e[o],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(i(t)+" is not iterable")}return w.prototype=E,o(x,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}t.default=s((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"content",(function(e,t){return'\n <div class="cobrowse-dialog" style="color: #333; font-family:sans-serif; line-height:140%; position:fixed; padding:25px; background:white; border-radius:15px; z-index:2147483647; top:50px; left:50%; width:75%; max-width:350px; transform:translateX(-50%); box-shadow:0px 0px 15px #33333322; user-select: none; direction: '.concat(o.default.direction(),'">\n <div style="text-align:center; margin-top:10px; margin-bottom:20px"><b>').concat(e,"</b></div>\n <div>").concat(t,'</div>\n <div style=\'display: flex; justify-content: flex-end; margin-top:20px; color:rgb(0, 122, 255);\'>\n <a class="cobrowse-button cobrowse-deny" style="cursor:pointer; padding:10px;">').concat(o.default.tr("DENY"),'</a>\n <a class="cobrowse-button cobrowse-allow" style="cursor:pointer; padding:10px; font-weight: bold;">').concat(o.default.tr("ALLOW"),"</a>\n </div>\n </div>\n ")})),l(this,"container",(function(){return t._container||(t._container=document.createElement("div"),t._container.style.background="rgba(50, 50, 50, 0.4)",t._container.style.position="fixed",t._container.style.zIndex="2147483647",t._container.style.bottom="0",t._container.style.top="0",t._container.style.left="0",t._container.style.right="0"),t._container})),l(this,"show",function(){var e,r=(e=a().mark((function e(r,n){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){var o=t.container();t._container.innerHTML=t.content(r,n),o.querySelector(".cobrowse-allow").addEventListener("click",(function(r){r.isTrusted&&(e(!0),t.hide())})),o.querySelector(".cobrowse-deny").addEventListener("click",(function(r){r.isTrusted&&(e(!1),t.hide())})),document.body&&document.body.appendChild(o)})));case 1:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,c,"next",e)}function c(e){u(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t){return r.apply(this,arguments)}}()),l(this,"hide",(function(){t.container().parentNode&&t.container().parentNode.removeChild(t.container())}))}))},86162:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(2008),r(23792),r(83851),r(81278),r(40875),r(79432),r(26099),r(60825),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892),r(69085);var n=r(42777),o=r(45264),i=r(2630);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}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 f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t,r){return(t=y(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var v="#e94435",m=function(){return d((function e(){var t=this;f(this,e),h(this,"el",(function(){return t._el||(t._el=document.createElement("div"),t._el.className="cbio_session_overlay",Object.assign(t._el.style,{position:"fixed",zIndex:"2147483647",width:"8px",height:"8px",background:v,marginLeft:"-4px",marginTop:"-4px",borderRadius:"50%",border:"border: 1px solid white",pointerEvents:"none"})),t._el})),h(this,"hasChangedPosition",(function(){return null!=t.previousPosition&&(Math.abs(t.previousPosition.x-t.currentPosition.x)>1||Math.abs(t.previousPosition.y-t.currentPosition.y)>1)})),h(this,"startAnimation",(function(e){t._intervalId||(t._intervalId=setInterval((function(){return t._createRipple(e)}),t.rippleInterval),t._createRipple(e))})),h(this,"stopAnimation",(function(){t._intervalId&&clearInterval(t._intervalId),t._el&&(t._el.innerHTML=""),t.resetState()})),h(this,"update",(function(e){o.WindowTracking.isActive()&&(document.body&&!t.el().parentNode&&document.body.appendChild(t.el()),"touchend"===e.state?t.hide():null!=e.x&&null!=e.y&&(t.currentPosition.x=100*e.x,t.currentPosition.y=100*e.y,t.el().style.background=e.colour,t.el().style.left="".concat(t.currentPosition.x,"%"),t.el().style.top="".concat(t.currentPosition.y,"%"),t.startAnimation(e.colour)))})),h(this,"hide",(function(){var e;null===(e=t._el)||void 0===e||null===(e=e.parentNode)||void 0===e||e.removeChild(t._el),t.stopAnimation()})),this.rippleDuration=3e3,this.rippleInterval=750,this._el=null,this.resetState()}),[{key:"resetState",value:function(){this._intervalId=null,this.currentPosition={x:0,y:0},this.previousPosition=null,this.resetRippleScale()}},{key:"resetRippleScale",value:function(){this.rippleScale=16}},{key:"_createRipple",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;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?l(Object(r),!0).forEach((function(t){h(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}({},this.currentPosition);var t=(0,n.createRipple)(e,this.rippleDuration,this.rippleScale);this.el().appendChild(t)}}])}(),b=function(e){function t(){return f(this,t),e=this,n=[m],r=c(r=t),function(e,t){if(t&&("object"==a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(r,n||[],c(e).constructor):r.apply(e,n));var e,r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e),d(t,[{key:"update",value:function(e){this.getInstanceForAgent(e.agent).update(e)}}])}(i.MultiAgentManager);t.default=new b},2630:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 u(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")}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.MultiAgentManager=void 0,r(23792),r(36033),r(26099),r(47764),r(73772),r(23500),r(62953);var s=new WeakMap,l=new WeakMap;t.MultiAgentManager=function(){return e=function e(t){var r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,s,new Map),a(this,l,null),n=t,(r=l).set(c(r,this),n)},(t=[{key:"getInstanceForAgent",value:function(e){return u(s,this).has(e)||u(s,this).set(e,new(u(l,this))),u(s,this).get(e)}},{key:"hide",value:function(){var e=this;u(s,this).forEach((function(t,r){t.hide(),u(s,e).delete(r)}))}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},51112:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23418),r(74423),r(23792),r(62062),r(69085),r(26099),r(31415),r(47764),r(73772),r(23500),r(62953);var o=r(20949);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 s(e,t){return e.get(f(e,t))}function l(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 p=new WeakMap,d=new WeakMap,h=new WeakMap,y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,T=new WeakMap,P=new WeakMap,j=new WeakMap,k=new WeakMap,L=new WeakMap,I=new WeakMap,C=new WeakMap,A=new WeakMap,N=new WeakMap,M=new WeakMap,R=a((function e(t){var r,n,i,a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,p,void 0),c(this,d,void 0),c(this,h,void 0),c(this,y,void 0),c(this,v,void 0),c(this,m,void 0),c(this,b,void 0),c(this,g,void 0),c(this,w,void 0),c(this,E,void 0),r=this,i=function(e){s(d,a).has(e)||(s(d,a).add(e),e.addEventListener("mousedown",s(A,a)),e.addEventListener("keydown",s(N,a)),e.addEventListener("click",s(M,a),{capture:!0,passive:!0}))},(n=u(n="track"))in r?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,c(this,_,(function(){var e,t,r;null===(e=s(g,a))||void 0===e||e.call(a),null===(t=s(w,a))||void 0===t||t.call(a),null===(r=s(E,a))||void 0===r||r.call(a),l(h,a,null)})),c(this,S,(function(e){s(v,a)>=0&&s(y,a)[s(v,a)].removeHighlight(),s(y,a)[e].addHighlight(),l(v,a,e)})),c(this,O,(function(){s(v,a)<=0||s(S,a).call(a,s(v,a)-1)})),c(this,x,(function(){s(v,a)>=s(y,a).length-1||s(S,a).call(a,s(v,a)+1)})),c(this,T,(function(){s(y,a)[s(v,a)].select()})),c(this,P,(function(){s(y,a).forEach((function(e){return e.removeHighlight()}))})),c(this,j,(function(e){switch(l(m,a,!1),e.code){case"ArrowUp":e.preventDefault(),s(O,a).call(a);break;case"ArrowDown":e.preventDefault(),s(x,a).call(a);break;case"Space":case"Enter":e.preventDefault(),s(T,a).call(a);break;case"Escape":e.preventDefault(),s(_,a).call(a)}})),c(this,k,(function(){l(m,a,!0)})),c(this,L,(function(e){var t,r=e.ownerDocument||document,n=function(e){var t=e.createElement("style");return e.head.appendChild(t),{appendRule:function(e){try{t.sheet.insertRule(e,t.sheet.cssRules.length)}catch(e){}},cleanUp:function(){return t.remove()}}}(r);l(E,a,n.cleanUp),(t=n.appendRule)('\n .cbioSelect {\n position: absolute;\n z-index: 2147483647;\n background-color: #6e6e6e;\n box-sizing: border-box;\n padding: 5px;\n font-size: 13px;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n border-radius: 5px;\n border: 1px solid #ccc;\n max-height: 300px;\n overflow-y: auto;\n scrollbar-width: thin;\n scrollbar-color: #c0c0c0 transparent;\n }\n '),t("\n .cbioOption {\n color: white;\n padding: 5px;\n border-radius: 5px;\n cursor: pointer;\n display: flex;\n }\n "),t("\n .cbioOptionIcon {\n visibility: hidden;\n margin-right: 5px;\n }\n "),t("\n .cbioOptionSelect .cbioOptionIcon {\n visibility: visible;\n }\n "),t("\n .cbioOptionHighlight.cbioOption {\n background-color: #649eec\n }\n "),t("\n .cbioSelect::-webkit-scrollbar {\n width: 8px;\n }\n "),t("\n .cbioSelect::-webkit-scrollbar-track {\n background: transparent;\n }\n "),t("\n .cbioSelect::-webkit-scrollbar-thumb {\n background-color: #c0c0c0;\n border-radius: 4px;\n }\n "),t("\n .cbioSelect::-webkit-scrollbar-thumb:hover {\n background-color: #a0a0a0;\n }\n ");var i=s(p,a).isRedacted(e),u=function(e,t,r,n,o){var i=e.createElement("div");return i.classList.add("cbioSelect"),t&&i.classList.add("__cbio_ignored"),i.setAttribute("role","combobox"),i.setAttribute("aria-expanded","true"),i.tabIndex=0,i.addEventListener("keydown",r),i.addEventListener("mouseenter",n),i.addEventListener("mousemove",o),{element:i,addOption:function(e){return i.appendChild(e.element)},cleanUp:function(){return i.remove()}}}(r,i,s(j,a),s(P,a),s(k,a));l(w,a,u.cleanUp);var c=Array.from(e.options);return l(y,a,c.map((function(t,n){var o=t.text,i=t.value,c=t.selected,f=function(e,t,r,o){var i=e.createElement("div");i.classList.add("cbioOption"),r&&i.classList.add("cbioOptionSelect"),i.setAttribute("role","option"),i.setAttribute("aria-selected",r),i.addEventListener("mouseup",(function(){return o()})),i.addEventListener("mouseenter",(function(){s(m,a)&&s(S,a).call(a,n)}));var u=e.createElement("img");u.className="cbioOptionIcon",u.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>';var c=e.createElement("span");return c.innerText=t,i.appendChild(u),i.appendChild(c),{element:i,addHighlight:function(){i.classList.add("cbioOptionHighlight"),i.scrollIntoView({block:"nearest",inline:"nearest"})},removeHighlight:function(){return i.classList.remove("cbioOptionHighlight")},select:function(){return o()}}}(r,o,c,(function(){s(b,a)&&(e.value=i,t.selected=!0,e.dispatchEvent(new Event("change",{bubbles:!0})),s(_,a).call(a))}));return c&&(l(v,a,n),f.addHighlight()),u.addOption(f),f}))),r.body.appendChild(u.element),l(g,a,(0,o.autoUpdate)(e,u.element,function(e,t){var r=!1,n=!1;return function(){(0,o.computePosition)(e,t,{placement:"bottom-start",middleware:[(0,o.flip)(),(0,o.size)({apply:function(){n&&Object.assign(t.style,{width:"".concat(e.offsetWidth,"px")})}})]}).then((function(o){var i=o.x,a=o.y;Object.assign(t.style,{top:"".concat(a,"px"),left:"".concat(i,"px")}),r||(n=t.offsetWidth<e.offsetWidth,t.focus()),r=!0}))}}(e,u.element))),{containsElement:function(t){return e===t||u.element===t||!!u.element.contains(t)}}})),c(this,I,(function(e){s(h,a)?s(_,a).call(a):(l(b,a,!1),setTimeout((function(){l(b,a,!0)}),200),l(h,a,s(L,a).call(a,e)))})),c(this,C,(function(e){var t;if(!s(p,a).shouldShowSelect())return!1;if("SELECT"!==(null===(t=e.target)||void 0===t?void 0:t.tagName))return!1;if(e.defaultPrevented)return!1;var r=e.target;return 0!==r.options.length&&!r.multiple})),c(this,A,(function(e){s(C,a).call(a,e)&&0===e.button&&(e.preventDefault(),s(I,a).call(a,e.target))})),c(this,N,(function(e){s(C,a).call(a,e)&&["Space","ArrowDown","ArrowUp"].includes(e.code)&&(e.preventDefault(),s(I,a).call(a,e.target))})),c(this,M,(function(e){var t;!1===(null===(t=s(h,a))||void 0===t?void 0:t.containsElement(e.target))&&s(b,a)&&s(_,a).call(a)})),l(p,this,t),l(d,this,new Set)}));t.default=R},53291:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(40875),r(26099),r(60825),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var n=r(42777),o=r(45264),i=r(66938),a=r(2630);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t,r){return(t=y(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}var v=function(){return d((function e(){var t=this;f(this,e),h(this,"el",(function(){if(!t._el){var e="http://www.w3.org/2000/svg";t._el=document.createElementNS(e,"svg"),t._el.setAttribute("class","__cbio_ignored"),t._el.setAttribute("viewBox","0 0 35 35"),t._el.setAttribute("fill","none"),t._el.style.position="fixed",t._el.style.zIndex="2147483647",t._el.style.height="32px",t._el.style.width="32px",t._el.style.marginLeft="-16px",t._el.style.marginTop="0px",t._el.style.color="red",t._el.style.transition="opacity 0.5s",t._el.style.opacity=1,t._el.style.pointerEvents="none";var r=document.createElementNS(e,"path");r.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"),r.setAttribute("fill","currentColor"),r.setAttribute("fill-rule","evenodd"),r.setAttribute("clip-rule","evenodd");var n=document.createElementNS(e,"path");n.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"),n.setAttribute("fill","white"),n.setAttribute("fill-rule","evenodd"),n.setAttribute("clip-rule","evenodd"),t._el.appendChild(r),t._el.appendChild(n)}return t._el})),h(this,"calculateOffset",(function(e){var t,r=i.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};var o=n.getBoundingClientRect();return{offsetX:Math.round(o.left),offsetY:Math.round(o.top)}})),h(this,"getOffset",(function(e){var r,n,o=e.offsetX,i=e.offsetY;return void 0!==o&&void 0!==i?{offsetX:o*(null===(r=window.document)||void 0===r||null===(r=r.documentElement)||void 0===r?void 0:r.clientWidth),offsetY:i*(null===(n=window.document)||void 0===n||null===(n=n.documentElement)||void 0===n?void 0:n.clientHeight)}:t.calculateOffset(e)})),h(this,"_updatePosition",(function(e){var r,n,o=e.x,i=e.y;if(!1!==o&&!1!==i){o*=null===(r=window.document)||void 0===r||null===(r=r.documentElement)||void 0===r?void 0:r.clientWidth,i*=null===(n=window.document)||void 0===n||null===(n=n.documentElement)||void 0===n?void 0:n.clientHeight;var a=t.getOffset(e);o+=a.offsetX,i+=a.offsetY,t.el().style.top="".concat(i,"px"),t.el().style.left="".concat(o,"px"),t._lastPosition={x:o,y:i}}})),h(this,"_getRippleStyle",(function(){return{position:"fixed",left:"".concat(t._lastPosition.x-4,"px"),top:"".concat(t._lastPosition.y+4,"px")}})),h(this,"_createRipple",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#e94435",r=(0,n.createRipple)(e,1e3,12,t._getRippleStyle());document.body.appendChild(r)})),h(this,"update",(function(e,r){if("mouse"===e&&o.WindowTracking.isActive())switch(document.body&&!t.el().parentNode&&document.body.appendChild(t.el()),r.colour&&(t.el().style.color=r.colour),r.state){case"mousedown":t._hideAfterTimeout(),t._createRipple(r.colour),t.interval||(t.interval=setInterval((function(){t._createRipple(r.colour)}),500));break;case"mouseup":t._hideAfterTimeout(),clearInterval(t.interval),t.interval=null;break;case"mousemove":t._hideAfterTimeout(),t._updatePosition(r)}})),h(this,"hide",(function(){clearTimeout(t.fadeTimeOut),t.el().parentNode&&t.el().parentNode.removeChild(t.el())}))}),[{key:"_hideAfterTimeout",value:function(){var e=this;clearTimeout(this.fadeTimeOut),this.el().style.opacity=1,this.fadeTimeOut=setTimeout((function(){e.el().style.opacity=0}),5e3)}}])}(),m=function(e){function t(){return f(this,t),e=this,n=[v],r=s(r=t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(r,n||[],s(e).constructor):r.apply(e,n));var e,r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),d(t,[{key:"update",value:function(e,t){this.getInstanceForAgent(t.agent).update(e,t)}}])}(a.MultiAgentManager);t.default=new m},94340:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var n=i(r(85620)),o=i(r(77988));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var f=c((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"el",(function(){return t._el||(t._el=document.createElement("div"),t._el.className="__cbio_ignored cbio_session_controls",t._el.textContent=o.default.tr("END_SESSION"),t._el.style.fontFamily="sans-serif",t._el.style.padding="10px 13px",t._el.style.fontSize="13px",t._el.style.whiteSpace="nowrap",t._el.style.color="white",t._el.style.boxShadow="0px 2px 5px #33333344",t._el.style.cursor="pointer",t._el.style.borderRadius="30px",t._el.style.background="rgb(234, 91, 80)",t._el.style.position="fixed",t._el.style.zIndex="2147483647",t._el.style.bottom="20px",t._el.style.left="50%",t._el.style.transform="translateX(-50%)",t._el.style.userSelect="none",t._el.addEventListener("click",t._onEnd)),t._el})),s(this,"_onEnd",(function(){var e=n.default.currentSession;e&&e.isActive()&&e.end()})),s(this,"show",(function(){document.body&&!t.el().parentNode&&document.body.appendChild(t.el())})),s(this,"hide",(function(){t.el().parentNode&&t.el().parentNode.removeChild(t.el())}))}));t.default=new f},198:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}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 i(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){c(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){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function u(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 f(e,t){return e.get(d(e,t))}function p(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")}r(52675),r(89463),r(2259),r(45700),r(2008),r(89572),r(2892),r(83851),r(81278),r(79432),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(54554),r(26099),r(47764),r(73772),r(23500),r(62953);var h=new WeakMap,y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,T=new WeakMap,P=u((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,h,void 0),l(this,y,void 0),l(this,v,[]),l(this,m,window.matchMedia("(min-width: 768px)")),c(this,"singleTabFullScreen",!1),c(this,"enterFullScreen",(function(){return f(y,t).enterFullScreen()})),c(this,"exitFullScreen",(function(){return f(y,t).exitFullScreen()})),c(this,"getTabCount",(function(){return f(v,t).length})),c(this,"newTab",(function(e,r,n,o,a,u){var c=f(y,t).createTab(e,{onTabClick:function(e){f(E,t).call(t,c)},onClose:a,confirmUnload:u});return c.setIcon(r),c.setTitle(n),c.setIsLoading(o),f(v,t).push(c),f(E,t).call(t,c),f(y,t).showModal(),1===f(v,t).length&&history.pushState({universalProxyOpen:!0},""),i(i({},c),{},{close:function(){return f(w,t).call(t,c)}})})),l(this,b,(function(){1===f(v,t).length&&f(w,t).call(t,f(v,t)[0])})),l(this,g,(function(e){f(v,t).some((function(e){return e.confirmUnload}))&&e.preventDefault()})),c(this,"closeAllTabs",(function(){f(v,t).forEach(f(w,t))})),l(this,w,(function(e){var r=f(v,t).indexOf(e);if(-1!==r){if(e.removeTab(),f(v,t).splice(r,1),!f(v,t).length)return f(y,t).hideModal();var n=f(v,t).length-1;e.isActive()&&(r<=n?f(v,t)[r].show():f(v,t)[n].show())}})),l(this,E,(function(e){f(v,t).forEach((function(e){return e.hide()})),e.show()})),l(this,_,(function(){var e=document.createElement("div"),r=e.attachShadow({mode:"open"}),n=document.createElement("div");n.style.background="rgba(50, 50, 50, 0.4)",n.style.position="fixed",n.style.zIndex="2147483646",n.style.bottom="0",n.style.top="0",n.style.left="0",n.style.right="0",n.style.display="flex",n.style.flexDirection="column",n.style.padding=f(m,t).matches?"25px":"0",r.appendChild(n);var o=f(S,t).call(t);n.appendChild(o.element);var i=f(O,t).call(t);n.appendChild(i.element);var a=null;return{element:n,showModal:function(){t.isVisible||(document.body.appendChild(e),a=document.body.style.overflow,document.body.style.overflow="hidden",t.isVisible=!0,p(h,t,history.length))},hideModal:function(){document.body.removeChild(e),document.body.style.overflow=a,t.isVisible=!1;var r=history.length-f(h,t);r>0&&history.go(-r)},createTab:function(e,r){var n=r.onTabClick,a=r.onClose,u=r.confirmUnload,c=f(x,t).call(t,{onTabClick:n,onCloseClick:function(e){e.stopPropagation(),a()}});o.addButton(c.element);var s=f(T,t).call(t,e);return i.addPanel(s.element),{setIcon:c.setIcon,setTitle:c.setTitle,setIsLoading:c.setIsLoading,showBanner:s.showBanner,hideBanner:s.hideBanner,show:function(){c.setIsActive(!0),s.showPanel()},hide:function(){c.setIsActive(!1),s.hidePanel()},removeTab:function(){o.removeButton(c.element),i.removePanel(s.element)},isActive:function(){return c.isActive},onClose:a,confirmUnload:u}},enterFullScreen:function(){o.hide(),n.style.padding="0"},exitFullScreen:function(){o.show(),n.style.padding=f(m,t).matches?"25px":"0"}}})),l(this,S,(function(){var 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",t.fullScreen&&(e.style.display="none"),{element:e,addButton:function(t){return e.appendChild(t)},removeButton:function(t){return e.removeChild(t)},show:function(){e.style.display="flex"},hide:function(){e.style.display="none "}}})),l(this,O,(function(){var 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:function(t){return e.appendChild(t)},removePanel:function(t){return e.removeChild(t)}}})),l(this,x,(function(e){var t=e.onTabClick,r=e.onCloseClick,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",n.innerHTML='\n <img class="cobrowse-icon" style="flex: 0 0 auto; width: 16px; height: 16px; margin-right: 4px;" />\n <span class="cobrowse-title" style="flex: 1 1 auto; display: block; font-family: sans-serif; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;"></span>\n <button class="cobrowse-close" style="flex: 0 0 auto; width: 24px; height: 24px; border: none; background: none; padding: 4px; cursor: pointer;">\n <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" style="width: 16px; height: 16px;">\n <path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" />\n </svg>\n </button>\n ';var o=n.querySelector(".cobrowse-icon"),i=n.querySelector(".cobrowse-title"),a=n.querySelector(".cobrowse-close");return n.addEventListener("click",t),a.addEventListener("click",r),o.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,o.src=e},setTitle:function(e){this.title=e,i.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,o.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}}})),l(this,T,(function(e){var t=document.createElement("div");t.style.width="100%",t.style.height="100%",t.style.backgroundColor="white",t.style.display="flex",t.style.flexDirection="column";var r=document.createElement("div");r.style.height="30px",r.style.width="100%",r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.backgroundColor="white",r.style.color="black",r.style.fontFamily="sans-serif",r.style.fontSize="13px",r.style.borderBottom="1px solid #d8d8d8";var n=document.createElement("div");return n.style.flex="1",n.appendChild(e),t.appendChild(n),{element:t,showPanel:function(){t.style.display="flex"},hidePanel:function(){t.style.display="none"},showBanner:function(e){r.innerText=e,t.contains(r)||t.prepend(r)},hideBanner:function(){t.contains(r)&&t.removeChild(r)}}})),p(y,this,f(_,this).call(this)),f(m,this).addEventListener("change",(function(e){f(y,t).element.style.padding=e.matches?"25px":"0"})),window.addEventListener("popstate",f(b,this)),window.addEventListener("beforeunload",f(g,this))}));t.default=new P},85732:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var c=i((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"content",(function(e){return'\n <div style="color: white; font-family:sans-serif; margin-bottom: 10px; line-height:140%; padding:10px; font-size: 12px; font-weight: bold; background:#292d33; border-radius:5px; width:250px; box-shadow:0px 0px 15px #33333322;">\n '.concat(e,"\n </div>\n ")})),a(this,"container",(function(){var e=document.createElement("div");return e.style.position="fixed",e.style.zIndex="2147483647",e.style.color="#fff",e.style.top="20px",e.style.right="20px",e.style.transition="all 0.3s linear",e.style.opacity=0,e.style.pointerEvents="none",e})),a(this,"show",(function(e){var r=t.container();r.innerHTML=t.content(e),document.body&&document.body.appendChild(r),setTimeout((function(){r.style.opacity=1}),0),setTimeout((function(){r.style.opacity=0,setTimeout((function(){r.parentNode&&r.parentNode.removeChild(r)}),500)}),8e3)})),a(this,"hide",(function(){t.container().parentNode&&t.container().parentNode.removeChild(t.container())}))}));t.default=new c},33035:function(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,"ConsentDialog",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"LaserOverlay",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"RemoteCursor",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"SessionStateOverlay",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Toast",{enumerable:!0,get:function(){return c.default}});var n=s(r(63024)),o=s(r(86162)),i=s(r(53291)),a=s(r(94340)),u=s(r(65573)),c=s(r(85732));function s(e){return e&&e.__esModule?e:{default:e}}},37487:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(62062),r(26099),r(27495),r(47764),r(5746),r(73772),r(62953),r(3296),r(27208),r(48408);var o=r(50048),i=r(89689),a=r(49715),u=r(44661),c=l(r(88619)),s=l(r(77966));function l(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function p(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function v(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 m(e,t){return e.get(g(e,t))}function b(e,t,r){return e.set(g(e,t),r),r}function g(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 w=new WeakMap,E=new WeakMap,_=new WeakMap,S=new WeakMap;t.default=function(e){function t(e,r){var a,u;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),v(u=function(e,t,r){return t=h(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,d()?Reflect.construct(t,r||[],h(e).constructor):t.apply(e,r))}(this,t),w,void 0),v(u,E,void 0),v(u,_,(function(e,t){var r=m(E,u).createUniversalProxy(e),n=new i.Document(e,t,r,u.type),o=function(e,t){var o=e.url,i=e.icon,a=e.title,u=e.isLoading,c=e.isBlocked,s=t.trusted,l=t.iframe;s&&l===r&&(n.url=o,n.icon=i,n.title=a,n.isLoading=u,n.isBlocked=c)};return s.default.on("document",o),n.once("closed",(function(){s.default.off("document",o)})),n})),v(u,S,(function(e,t){var r=document.createElement("div");r.style.width="100%",r.style.height="100%",r.style.backgroundColor="black";var n=new i.Document(e,t,r,u.type);return n.isLoading=!1,n.isBlocked=!0,n})),b(w,u,(null===(a=r.universalLinks)||void 0===a?void 0:a.map(o.convertLinkToRegExp))||[]),b(E,u,new c.default(e,r.api,r.version)),u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(t,e),r=t,a=[{key:"type",get:function(){return u.NAVIGATION_TYPE.UNIVERSAL}},{key:"shouldHandleEvent",value:function(e){return e.eventPhase!==Event.CAPTURING_PHASE&&!e.defaultPrevented}},{key:"shouldHandle",value:function(e){var t=new URL(e,window.location.origin);return t.search="",m(w,this).some((function(e){return e.test(t)}))}},{key:"handle",value:function(e,t,r){return r((this.shouldHandle(e)?m(_,this):m(S,this))(e,t)),!1}}],a&&f(r.prototype,a),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,a}(a.NavigationHandler)},11191:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var c=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"proxify",(function(e){return e})),a(this,"unproxify",(function(e){return e})),a(this,"inUniversalProxy",!1)}));t.default=new c},88619:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(62010),r(26099),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o=u(r(37609)),i=r(9147),a=u(r(78981));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 p(e,t){return e.get(h(e,t))}function d(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 y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap;t.default=s((function e(t,r,n){var u,c,s,h=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,y,void 0),f(this,v,void 0),f(this,m,void 0),u=this,s=function(e){var t=p(y,h)[o.default].proxyToken(),r=p(y,h)[o.default].proxyUrl(),n=new URL(r,p(v,h)),u="cbioUniversalFrame-".concat((0,a.default)(5)),c={parent_origin:window.location.origin,proxy_path:n.pathname,sdk_version:p(m,h),frame_name:u},s=new i.URLRewriter(n,i.PROXY_PREFIX.UNIVERSAL,t,window.location,c).proxify(e);return p(b,h).call(h,s,u)},(c=l(c="createUniversalProxy"))in u?Object.defineProperty(u,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):u[c]=s,f(this,b,(function(e,t){var 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})),d(y,this,t),d(v,this,r),d(m,this,n)}))},91834:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UniversalHandler",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"UniversalProxy",{enumerable:!0,get:function(){return n.default}});var n=i(r(88619)),o=i(r(37487));function i(e){return e&&e.__esModule?e:{default:e}}},31762:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892),t.default=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"fromImage",value:function(e){var 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)}},{key:"fromCanvas",value:function(e){var 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;var n=document.createElement("canvas"),o=n.getContext("2d");return n.width=e.width*t,n.height=e.height*t,o.drawImage(e,0,0,n.width,n.height),n.toDataURL("image/webp",r)}}],null&&o(e.prototype,null),t&&o(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},63976:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(45700),r(23792),r(89572),r(2892),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=void 0,r(26099),t.Deferred=i((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.promise=new Promise((function(e,r){t.resolve=e,t.reject=r}))}))},18781:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(2008),r(89572),r(2892),r(26099),t.default=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.rate=t,this.period=r,this._tracked=[]},t=[{key:"limit",value:function(){var e=Date.now()-this.period;return this._tracked=this._tracked.filter((function(t){return t>e})),!(this._tracked.length<this.rate&&(this._tracked.push(Date.now()),1))}}],t&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},44153:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(23792),r(89572),r(2892),r(1480),r(26099),r(27495),r(31415),r(47764),r(25440),r(23500),r(62953);var n,o=r(37007),i=(n=r(7350))&&n.__esModule?n:{default:n};function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var p=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(e=function(e,t,r){return t=c(t),function(e,t){if(t&&("object"==a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,r||[],c(e).constructor):t.apply(e,r))}(this,t),"windows",new Set),l(e,"tap",(function(t){if(!e.windows.has(t)){e.windows.add(t);var r=e,n=t.history.pushState.bind(t.history);t.history.pushState=function(){var e=t.location.href;n.apply(void 0,arguments),r.emit("navigate",t,e)};var o=t.history.replaceState.bind(t.history);t.history.replaceState=function(){var e=t.location.href;o.apply(void 0,arguments),r.emit("navigate",t,e)};var a=t.CSSStyleSheet.prototype.insertRule;t.CSSStyleSheet.prototype.insertRule=function(){var e=a.bind(this).apply(void 0,arguments);return r.emit("stylechange",this),e};var u=t.CSSStyleSheet.prototype.deleteRule;t.CSSStyleSheet.prototype.deleteRule=function(){var e=u.bind(this).apply(void 0,arguments);return r.emit("stylechange",this),e};var c=t.CSSStyleSheet.prototype.replace;t.CSSStyleSheet.prototype.replace=function(){var e=c.bind(this).apply(void 0,arguments);return r.emit("stylechange",this),e};var s=t.CSSStyleSheet.prototype.replaceSync;t.CSSStyleSheet.prototype.replaceSync=function(){var e=s.bind(this).apply(void 0,arguments);return r.emit("stylechange",this),e};var l=t.Element.prototype.attachShadow;t.Element.prototype.attachShadow=function(e){var t=l.bind(this)(e);return r.emit("attachshadow",t),t};var f=function(e){Object.getOwnPropertyNames(e.prototype).forEach((function(t){try{if("function"!=typeof e.prototype[t])return}catch(e){return}var n=e.prototype[t];e.prototype[t]=function(){return this.canvas.__cbio_emit_change||(this.canvas.__cbio_emit_change=(0,i.default)((function(e){return r.emit("canvaschange",e)}),500,{leading:!1,trailing:!0})),this.canvas.__cbio_emit_change(this.canvas),n.apply(this,arguments)}}))};f(t.CanvasRenderingContext2D),f(t.WebGLRenderingContext)}})),l(e,"untap",(function(){})),e.setMaxListeners(200),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e),function(e){return Object.defineProperty(e,"prototype",{writable:!1}),e}(t)}(o.EventEmitter);t.default=new p},40923:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return u.apply(this,arguments)},r(26099);var o=r(66938);function i(){i=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),u=new C(n||[]);return a(i,"_invoke",{value:j(e,r,u)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,a(x,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function a(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function u(){var e;return e=i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o.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.");case 1:case"end":return e.stop()}}),e)})),u=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function u(e){a(i,n,o,u,c,"next",e)}function c(e){a(i,n,o,u,c,"throw",e)}u(void 0)}))},u.apply(this,arguments)}},50048:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertLinkToRegExp=void 0,r(84864),r(27495),r(38781);var n,o=(n=r(37047))&&n.__esModule?n:{default:n};t.convertLinkToRegExp=function(e){return e instanceof RegExp?e:(0,o.default)(e,{flags:"i"})}},42777:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRipple=function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};!function(e,t){var r="".concat(e,"-").concat(t);if(!o.has(r)){var n=document.createElement("style");n.id="cbio_session_ripple_stylesheet_".concat(r),n.innerHTML="\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),o.add(r)}}(t,r);var a=(0,n.hexToRGB)(e,.25),u=document.createElement("div");return u.classList.add("cbio_session_ripple-".concat(t,"-").concat(r)),Object.assign(u.style,{backgroundColor:a},i),setTimeout((function(){u.remove()}),t),u},r(28706),r(23792),r(69085),r(26099),r(31415),r(47764),r(62953);var n=r(98276),o=new Set},38091:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23418),r(62010),r(27495),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.discoverNodes=function(e,t,r,i){var a=new Set(e.addedNodes?[].slice.call(e.addedNodes):[]);i.has(e.target)||t.add(e.target);var u,c=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw i}}}}(a);try{for(c.s();!(u=c.n()).done;){var s=u.value;n.NodeTree.depthFirst(s,(function(e){t.add(e),i.delete(e),r.add(e)}))}}catch(e){c.e(e)}finally{c.f()}e.removedNodes&&[].slice.call(e.removedNodes).forEach((function(e){n.NodeTree.depthFirst(e,(function(e){t.delete(e),r.delete(e),i.add(e)}))}))},r(23792),r(34782),r(26099),r(31415),r(47764),r(23500),r(62953);var n=r(66938);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}},37387:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCssText=void 0,r(34782),r(26099),t.getCssText=function(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((function(e,t){try{return e+t.cssText}catch(t){return e}}),"")}},97384:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollBarSize=function(){if(null==r){var e,t,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};var r=null},98276:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToRGB=function(e,t){var r=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),o=parseInt(e.slice(5,7),16);return t?"rgba("+r+", "+n+", "+o+", "+t+")":"rgb("+r+", "+n+", "+o+")"},r(34782)},56851:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.default,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("&"),i=new URL(e,r.api).toString().replace("https://","wss://").replace("http://","ws://");return new URL("sockets/1/ws?".concat(n),i).toString()},r(2008),r(23792),r(48598),r(26099),r(27495),r(38781),r(47764),r(25440),r(62953),r(3296),r(27208),r(48408);var n,o=(n=r(85620))&&n.__esModule?n:{default:n}},37609:function(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:{}});var o=e[n][t];return Object.getPrototypeOf(Object.getPrototypeOf(e))[t]=o,Object.defineProperty(e[n],t,{enumerable:!1,value:r,configurable:!0}),r},r(52675),r(89463),r(40875),r(26099);var n=Symbol("protected");t.default=n},78981:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,r="",n=e;n>0;n-=1)r+=t[Math.floor(Math.random()*t.length)];return r},r(28706);var n="abcdefghijklmnopqrstuvwxyz",o="".concat("0123456789").concat(n.toLowerCase()).concat(n.toUpperCase())},58325:function(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()};var r={load:Date.now()}},58973:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(74423),r(89572),r(2892),r(21699),t.default=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"isHeadless",value:function(){return navigator.userAgent.toLowerCase().includes("headless")}}],null&&o(e.prototype,null),t&&o(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},79883:function(e,t){"use strict";var r,n,o;Object.defineProperty(t,"__esModule",{value:!0}),t.Node=t.MutationObserver=t.EventTarget=t.Event=t.Element=void 0;try{o=document.createElement("iframe"),document.documentElement.appendChild(o),o.style.display="none",o.className="__cbio_ignored",o.width=0,o.height=0}catch(e){console.warn("Failed to create unpolyfill iframe",e)}var i=null!==(r=null===(n=o)||void 0===n?void 0:n.contentWindow)&&void 0!==r?r:window;t.Node=i.Node,t.Element=i.Element,t.MutationObserver=i.MutationObserver,t.Event=i.Event,t.EventTarget=i.EventTarget},96335:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(94170),r(2892),r(59904),r(84185),r(40875),r(10287),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.ActivityDetection=void 0,r(23792),r(26099),r(47764),r(73772),r(62953),r(76031);var o=r(37007),i=a(r(7350));function a(e){return e&&e.__esModule?e:{default:e}}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 d(e,t){return e.get(y(e,t))}function h(e,t,r){return e.set(y(e,t),r),r}function y(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=(0,a(r(51227)).default)("cbio.ActivityDetection"),m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap,S=new WeakMap;t.ActivityDetection=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p(r=function(e,t,r){return t=c(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,r||[],c(e).constructor):t.apply(e,r))}(this,t),m,!1),p(r,b,!1),p(r,g,null),p(r,w,9e5),l(r,"start",(function(){d(m,r)||(h(m,r,!0),v("started"),document.addEventListener("mouseenter",d(E,r),{capture:!0,passive:!0}),document.addEventListener("mouseleave",d(E,r),{capture:!0,passive:!0}),document.addEventListener("mousemove",d(E,r),{capture:!0,passive:!0}),document.addEventListener("touchstart",d(E,r),{capture:!0,passive:!0}),document.addEventListener("touchend",d(E,r),{capture:!0,passive:!0}),document.addEventListener("touchmove",d(E,r),{capture:!0,passive:!0}),document.addEventListener("visibilitychange",d(E,r),{capture:!0}),d(E,r).call(r))})),l(r,"stop",(function(){h(b,r,!1),h(m,r,!1),v("stopped"),clearTimeout(d(g,r)),r.removeAllListeners(),document.removeEventListener("mouseenter",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("mouseleave",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("mousemove",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("touchstart",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("touchend",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("touchmove",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("visibilitychange",d(E,r),{capture:!0})})),l(r,"isActive",(function(){return d(b,r)})),p(r,E,(0,i.default)((function(){d(_,r).call(r),clearTimeout(d(g,r)),h(g,r,setTimeout(d(S,r),d(w,r))),r.emit("activity")}),500,{trailing:!1})),p(r,_,(function(){d(b,r)||(document.hidden?v("window is hidden, not becoming active"):(h(b,r,!0),v("became active"),r.emit("active")))})),p(r,S,(function(){d(b,r)&&(h(b,r,!1),v("became inactive"),r.emit("inactive"))})),e&&h(w,r,e),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e),r=t,Object.defineProperty(r,"prototype",{writable:!1}),r;var r}(o.EventEmitter)},12313:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(94170),r(2892),r(59904),r(84185),r(40875),r(10287),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.IFrameBridge=void 0,r(28706),r(50113),r(51629),r(23418),r(74423),r(23792),r(26099),r(31415),r(21699),r(47764),r(73772),r(23500),r(62953);var o,i=r(37007);function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}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 l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function p(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")}var h=(0,((o=r(51227))&&o.__esModule?o:{default:o}).default)("cbio.IFrameBridge"),y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap;t.IFrameBridge=function(e){function t(e){var r,o,i,c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(r=function(e,t,r){return t=u(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r))}(this,t),"trustedOrigins",[]),l(r,"automaticTrustedOrigins",[]),s(r,y,null),s(r,v,new WeakMap),s(r,m,new Set),l(r,"start",(function(){window.removeEventListener("message",p(b,r)),window.addEventListener("message",p(b,r)),p(y,r)&&r.send(p(y,r),"init",null,{trustedOnly:!1})})),l(r,"stop",(function(){window.removeEventListener("message",p(b,r))})),s(r,b,(function(e){if(!p(w,r).call(r,e))return h("ignoring message, not a cobrowse message",e.data);r.establishTrust(e.source,e.origin);var t=e.data,n=t.trustedOnly,o=t.event,i=t.data;r.emit(o,i,{source:e.source,origin:e.origin,trusted:r.isTrusted(e.source),iframe:p(_,r).call(r,e.source),fromParent:p(g,r).call(r,e.source),trustedOnly:n})})),s(r,g,(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.parent;return e===t||t.parent!==t&&p(g,r).call(r,e,t.parent)})),s(r,w,(function(e){if(!e.data)return!1;var t=e.data,r=t.cobrowseio,n=t.event;return!!r&&!!n})),s(r,E,(function(e){return r.automaticTrustedOrigins.includes(e)||r.trustedOrigins.includes(e)})),l(r,"isTrusted",(function(e){var t=p(v,r).get(e);return!!t&&p(E,r).call(r,t)})),s(r,_,(function(e){return Array.from(p(m,r)).find((function(t){return t.contentWindow===e}))})),l(r,"send",(function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=o.trustedOnly,a=void 0===i||i,u=o.targetOrigin||p(v,r).get(e);if(a&&!p(E,r).call(r,u))return h("not sending ".concat(t," as target source is not trusted: ").concat(u));a||u||(u="*"),e.postMessage({trustedOnly:a,cobrowseio:!0,event:t,data:n},u)})),l(r,"sendToParent",(function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).trustedOnly,o=void 0===n||n;p(y,r)&&r.send(p(y,r),e,t,{trustedOnly:o})})),l(r,"broadcastToChildren",(function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).trustedOnly,o=void 0===n||n;p(m,r).forEach((function(n){n.contentWindow&&r.send(n.contentWindow,e,t,{trustedOnly:o})}))})),l(r,"track",(function(e){p(m,r).has(e)||(p(m,r).add(e),r.emit("iframe_discovered",e))})),l(r,"remove",(function(e){p(m,r).delete(e)})),l(r,"establishTrust",(function(e,t){e&&p(v,r).set(e,t)})),l(r,"breakTrust",(function(e){p(v,r).has(e)&&p(v,r).set(e,null)})),i=r,c=e,(o=y).set(d(o,i),c),h("iframe bridge constructed in",document,"with parent",p(y,r)),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),function(e){return Object.defineProperty(e,"prototype",{writable:!1}),e}(t)}(i.EventEmitter)},3781:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(51629),r(23418),r(64346),r(94490),r(34782),r(89572),r(23288),r(94170),r(62010),r(4731),r(60479),r(2892),r(59904),r(84185),r(40875),r(10287),r(60825),r(27495),r(38781),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.IFrameRPC=void 0,r(23792),r(36033),r(26099),r(47764),r(73772),r(62953),r(76031);var o=r(37007),i=r(40182);function a(){a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function d(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 y(e,t){return e.get(m(e,t))}function v(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")}var b=new WeakMap,g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap;t.IFrameRPC=function(e){function t(e,r){var o,c,p,m;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(o=function(e,t,r){return t=f(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,l()?Reflect.construct(t,r||[],f(e).constructor):t.apply(e,r))}(this,t),b,void 0),h(o,g,void 0),h(o,w,new Map),c=o,m=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.timeout,a=void 0===n?0:n,u=r.trustedOnly,c=void 0===u||u;return new Promise((function(r,n){var u=(0,i.v4)();y(w,o).set(u,{resolve:r,reject:n});var s={id:u,method:e,data:t};y(b,o).send(y(g,o),"rpc:request",s,{trustedOnly:c}),a&&setTimeout((function(){var e=y(w,o).get(u);e&&(e.reject(new Error("Request timed out")),y(w,o).delete(u))}),a)}))},(p=d(p="send"))in c?Object.defineProperty(c,p,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[p]=m,h(o,E,function(){var e,t=(e=a().mark((function e(t,r){var n,i,c,s,l,f,p,d,h,v;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.source,i=r.trusted,c=r.trustedOnly,s=t.id,l=t.method,f=t.data,!((p=o.listeners(l)).length>1)){e.next=5;break}throw new Error("only a single RPC listener is allowed per event");case 5:if(0!==p.length){e.next=7;break}return e.abrupt("return");case 7:return d=u(p,1),h=d[0],e.prev=8,e.next=11,h(f,{trusted:i});case 11:v=e.sent,y(b,o).send(n,"rpc:response",{id:s,data:v},{trustedOnly:c}),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(8),y(b,o).send(n,"rpc:response",{id:s,error:e.t0},{trustedOnly:c});case 18:case"end":return e.stop()}}),e,null,[[8,15]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){s(i,n,o,a,u,"next",e)}function u(e){s(i,n,o,a,u,"throw",e)}a(void 0)}))});return function(e,r){return t.apply(this,arguments)}}()),h(o,_,(function(e,t){var r=t.trusted;if(!t.trustedOnly||r){var n=e.error,i=e.id,a=e.data,u=y(w,o).get(i);u&&(n?u.reject(n):u.resolve(a),y(w,o).delete(i))}})),v(b,o,e),v(g,o,r),y(b,o).on("rpc:request",y(E,o)),y(b,o).on("rpc:response",y(_,o)),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),r=t,Object.defineProperty(r,"prototype",{writable:!1}),r;var r}(o.EventEmitter)},95579:function(e,t,r){"use strict";r(84185),Object.defineProperty(t,"__esModule",{value:!0}),t.closestXdocParent=function(){var e=window;do{if(e=e.parent,(0,n.isxdoc)(e))return e}while(e!==e.parent);return null};var n=r(39054)},39054:function(e,t,r){"use strict";function n(e){try{return!e.document&&!1}catch(e){return!0}}r(84185),Object.defineProperty(t,"__esModule",{value:!0}),t.isxdoc=function(e){return!!n(e)||!("IFRAME"!==e.tagName||!n(e.contentWindow))}},67829:function(e,t,r){"use strict";r(84185),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ActivityDetection",{enumerable:!0,get:function(){return n.ActivityDetection}}),Object.defineProperty(t,"CBORSocket",{enumerable:!0,get:function(){return o.CBORSocket}}),Object.defineProperty(t,"IFrameBridge",{enumerable:!0,get:function(){return i.IFrameBridge}}),Object.defineProperty(t,"IFrameRPC",{enumerable:!0,get:function(){return a.IFrameRPC}}),Object.defineProperty(t,"closestXdocParent",{enumerable:!0,get:function(){return c.closestXdocParent}}),Object.defineProperty(t,"isxdoc",{enumerable:!0,get:function(){return u.isxdoc}});var n=r(96335),o=r(11023),i=r(12313),a=r(3781),u=r(39054),c=r(95579)},11023:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(51629),r(23418),r(64346),r(94490),r(34782),r(89572),r(23288),r(94170),r(62010),r(4731),r(60479),r(2892),r(59904),r(84185),r(40875),r(10287),r(60825),r(27495),r(38781),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.CBORSocket=void 0,r(28706),r(2008),r(23792),r(54743),r(11745),r(38309),r(59089),r(26099),r(47764),r(21489),r(81630),r(72170),r(75044),r(69539),r(31694),r(89955),r(33206),r(44496),r(66651),r(12887),r(19369),r(66812),r(8995),r(31575),r(36072),r(88747),r(28845),r(29423),r(57301),r(373),r(86614),r(41405),r(33684),r(73772),r(62953),r(76031);var o,i=(o=r(51227))&&o.__esModule?o:{default:o},a=r(95329),u=r(37007);function c(){c=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,u,"next",e)}function u(e){f(i,n,o,a,u,"throw",e)}a(void 0)}))}}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(e,t,r){return(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function g(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(_(e,t))}function E(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")}var S=(0,i.default)("cbio.CBORSocket"),O=new WeakMap,x=new WeakMap,T=new WeakMap,P=new WeakMap,j=new WeakMap,k=new WeakMap,L=new WeakMap,I=new WeakMap,C=new WeakMap,A=new WeakMap,N=new WeakMap,M=new WeakMap,R=new WeakMap,D=new WeakMap,U=new WeakMap,F=new WeakMap,W=new WeakMap,z=new WeakMap,B=new WeakMap,V=new WeakMap,Y=new WeakMap,G=new WeakMap;t.CBORSocket=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),g(r=function(e,t,r){return t=y(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r))}(this,t),O,void 0),g(r,x,!1),g(r,T,void 0),g(r,P,0),g(r,j,6e4),g(r,k,1e3+Math.floor(1e3*Math.random())),g(r,L,void 0),g(r,I,void 0),g(r,C,void 0),g(r,A,0),g(r,N,0),g(r,M,p(c().mark((function e(){var t,n,o,i,a;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!w(T,r)){e.next=3;break}return console.error("Socket already exists"),e.abrupt("return");case 3:return S("creating ws"),e.next=6,w(O,r).getUrl();case 6:return o=e.sent,e.t0=["cbor"],e.t1=s,e.next=11,null===(t=(n=w(O,r)).getProtocols)||void 0===t?void 0:t.call(n);case 11:if(e.t2=e.sent,e.t2){e.next=14;break}e.t2=[];case 14:if(e.t3=e.t2,e.t4=(0,e.t1)(e.t3),i=e.t0.concat.call(e.t0,e.t4).filter(Boolean),o){e.next=19;break}return e.abrupt("return");case 19:if(!w(x,r)){e.next=21;break}return e.abrupt("return");case 21:if(!w(T,r)){e.next=23;break}return e.abrupt("return");case 23:(a=w(O,r).createWebSocket?w(O,r).createWebSocket(o,i):new WebSocket(o,i)).binaryType="arraybuffer",a.addEventListener("open",w(U,r)),a.addEventListener("message",w(W,r)),a.addEventListener("close",w(V,r)),a.addEventListener("error",w(Y,r)),E(T,r,a);case 30:case"end":return e.stop()}}),e)})))),g(r,R,(function(){if(w(T,r))try{var e;(e=w(T,r)).close.apply(e,arguments)}catch(e){S("error closing socket",e)}E(T,r,null)})),g(r,D,(function(){S("navigator went offline"),w(R,r).call(r),w(B,r).call(r)})),g(r,U,(function(){S("ws opened"),r.emit("open"),clearTimeout(w(I,r)),E(I,r,setTimeout((function(){S("counting open as success"),E(P,r,0)}),5e3))})),g(r,F,(function(e){E(N,r,e)})),g(r,W,(function(e){try{var t=(0,a.decode)(new Uint8Array(e.data)),n=t.event,o=t.data,i=t.ack;return i?w(F,r).call(r,i):n?r.emit("event",n,o):console.error("Socket received message without event",e)}catch(t){return console.error("Error processing message",e.data,t.stack)}})),g(r,z,(function(e){if(0===e)return 0;var t=1+.5*Math.random(),n=Math.floor(Math.pow(300*e,1.2)*t);return Math.min(Math.max(w(k,r),n),w(j,r))})),g(r,B,(function(){if(w(x,r))S("reconnect skipped as socket was closed");else if(w(C,r))S("reconnect skipped as reconnect already scheduled");else{if("undefined"!=typeof navigator&&!1===navigator.onLine)return S("navigator offline"),void E(C,r,setTimeout((function(){E(C,r,null),w(B,r).call(r)}),1e3));var e=w(z,r).call(r,w(P,r));S("reconnecting in",e,"attempts",w(P,r)),E(C,r,setTimeout(p(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(E(C,r,null),!w(x,r)){e.next=5;break}console.warn("tried to reconnect after close"),e.next=9;break;case 5:return E(T,r,null),e.next=8,w(M,r).call(r).catch(w(Y,r));case 8:w(T,r)||w(x,r)||w(B,r).call(r);case 9:case"end":return e.stop()}}),e)}))),e)),E(P,r,w(P,r)+1)}})),g(r,V,(function(){S("ws closed"),r.emit("close"),S("resetting message acks"),E(A,r,0),E(N,r,0),w(x,r)||w(B,r).call(r),clearTimeout(w(I,r))})),g(r,Y,(function(e){w(x,r)?console.info("CobrowseIO: Called error after close.",e):0!==r.listenerCount("error")?r.emit("error",e):console.warn("CobrowseIO: Called handleError without listeners. Please report this.",e)})),g(r,G,(function(){r.send("ping")})),m(r,"messageLag",(function(){return w(N,r)?w(A,r)-w(N,r):0})),m(r,"setMaxReconnectDelay",(function(e){S("set max delay",e),E(j,r,e)})),m(r,"setMinReconnectDelay",(function(e){S("set min delay",e),E(k,r,e)})),m(r,"send",(function(e,t){if(!r.connected)return!1;E(A,r,w(A,r)+1);var n=Date.now(),o=(0,a.encode)(t?{event:e,id:w(A,r),data:t}:{event:e});return S("encoded",e,"".concat(o.byteLength," bytes"),"in","".concat(Date.now()-n,"ms")),w(T,r).send(o),!0})),m(r,"close",(function(){var e;S("close"),E(x,r,!0);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=w(R,r)).call.apply(e,[r].concat(n)),clearTimeout(w(C,r)),clearInterval(w(L,r)),r.removeAllListeners(),"undefined"!=typeof window&&(window.removeEventListener("unload",r.close),window.addEventListener("offline",w(D,r)))})),S("created cbor socket"),E(O,r,e),E(L,r,setInterval(w(G,r),6e4)),"undefined"!=typeof window&&(window.addEventListener("unload",r.close),window.addEventListener("offline",w(D,r))),r.on("error",(function(e){return S("ws errored",e)})),w(B,r).call(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(t,e),function(e,t){return t&&d(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"bufferedAmount",get:function(){return w(T,this)?w(T,this).bufferedAmount:1/0}},{key:"connected",get:function(){return!!w(T,this)&&w(T,this).readyState===w(T,this).OPEN}}])}(u.EventEmitter)},25454:function(e){"use strict";const{entries:t,setPrototypeOf:r,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:i}=Object;let{freeze:a,seal:u,create:c}=Object,{apply:s,construct:l}="undefined"!=typeof Reflect&&Reflect;a||(a=function(e){return e}),u||(u=function(e){return e}),s||(s=function(e,t,r){return e.apply(t,r)}),l||(l=function(e,t){return new e(...t)});const f=O(Array.prototype.forEach),p=O(Array.prototype.pop),d=O(Array.prototype.push),h=O(String.prototype.toLowerCase),y=O(String.prototype.toString),v=O(String.prototype.match),m=O(String.prototype.replace),b=O(String.prototype.indexOf),g=O(String.prototype.trim),w=O(Object.prototype.hasOwnProperty),E=O(RegExp.prototype.test),_=(S=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return l(S,t)});var S;function O(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return s(e,t,n)}}function x(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;r&&r(e,null);let i=t.length;for(;i--;){let r=t[i];if("string"==typeof r){const e=o(r);e!==r&&(n(t)||(t[i]=e),r=e)}e[r]=!0}return e}function T(e){for(let t=0;t<e.length;t++)w(e,t)||(e[t]=null);return e}function P(e){const r=c(null);for(const[n,o]of t(e))w(e,n)&&(Array.isArray(o)?r[n]=T(o):o&&"object"==typeof o&&o.constructor===Object?r[n]=P(o):r[n]=o);return r}function j(e,t){for(;null!==e;){const r=i(e,t);if(r){if(r.get)return O(r.get);if("function"==typeof r.value)return O(r.value)}e=o(e)}return function(){return null}}const k=a(["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","section","select","shadow","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"]),L=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),I=a(["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"]),C=a(["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"]),A=a(["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"]),N=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=a(["#text"]),R=a(["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","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),D=a(["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","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"]),U=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","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"]),F=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),W=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=u(/<%[\w\W]*|[\w\W]*%>/gm),B=u(/\$\{[\w\W]*}/gm),V=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=u(/^aria-[\-\w]+$/),G=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=u(/^(?:\w+script|data):/i),Q=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=u(/^html$/i),K=u(/^[a-z][.\w]*(-[.\w]+)+$/i);var $=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:Q,CUSTOM_ELEMENT:K,DATA_ATTR:V,DOCTYPE_NAME:q,ERB_EXPR:z,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:H,MUSTACHE_EXPR:W,TMPLIT_EXPR:B});const X=function(){return"undefined"==typeof window?null:window};var J=function e(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X();const n=t=>e(t);if(n.version="3.2.3",n.removed=[],!r||!r.document||9!==r.document.nodeType)return n.isSupported=!1,n;let{document:o}=r;const i=o,u=i.currentScript,{DocumentFragment:s,HTMLTemplateElement:l,Node:S,Element:O,NodeFilter:T,NamedNodeMap:W=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:z,DOMParser:B,trustedTypes:V}=r,Y=O.prototype,H=j(Y,"cloneNode"),Q=j(Y,"remove"),K=j(Y,"nextSibling"),J=j(Y,"childNodes"),Z=j(Y,"parentNode");if("function"==typeof l){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let ee,te="";const{implementation:re,createNodeIterator:ne,createDocumentFragment:oe,getElementsByTagName:ie}=o,{importNode:ae}=i;let ue={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof t&&"function"==typeof Z&&re&&void 0!==re.createHTMLDocument;const{MUSTACHE_EXPR:ce,ERB_EXPR:se,TMPLIT_EXPR:le,DATA_ATTR:fe,ARIA_ATTR:pe,IS_SCRIPT_OR_DATA:de,ATTR_WHITESPACE:he,CUSTOM_ELEMENT:ye}=$;let{IS_ALLOWED_URI:ve}=$,me=null;const be=x({},[...k,...L,...I,...A,...M]);let ge=null;const we=x({},[...R,...D,...U,...F]);let Ee=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}})),_e=null,Se=null,Oe=!0,xe=!0,Te=!1,Pe=!0,je=!1,ke=!0,Le=!1,Ie=!1,Ce=!1,Ae=!1,Ne=!1,Me=!1,Re=!0,De=!1,Ue=!0,Fe=!1,We={},ze=null;const Be=x({},["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 Ve=null;const Ye=x({},["audio","video","img","source","image","track"]);let Ge=null;const He=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",qe="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml";let $e=Ke,Xe=!1,Je=null;const Ze=x({},[Qe,qe,Ke],y);let et=x({},["mi","mo","mn","ms","mtext"]),tt=x({},["annotation-xml"]);const rt=x({},["title","style","font","a","script"]);let nt=null;const ot=["application/xhtml+xml","text/html"];let it=null,at=null;const ut=o.createElement("form"),ct=function(e){return e instanceof RegExp||e instanceof Function},st=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!at||at!==e){if(e&&"object"==typeof e||(e={}),e=P(e),nt=-1===ot.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,it="application/xhtml+xml"===nt?y:h,me=w(e,"ALLOWED_TAGS")?x({},e.ALLOWED_TAGS,it):be,ge=w(e,"ALLOWED_ATTR")?x({},e.ALLOWED_ATTR,it):we,Je=w(e,"ALLOWED_NAMESPACES")?x({},e.ALLOWED_NAMESPACES,y):Ze,Ge=w(e,"ADD_URI_SAFE_ATTR")?x(P(He),e.ADD_URI_SAFE_ATTR,it):He,Ve=w(e,"ADD_DATA_URI_TAGS")?x(P(Ye),e.ADD_DATA_URI_TAGS,it):Ye,ze=w(e,"FORBID_CONTENTS")?x({},e.FORBID_CONTENTS,it):Be,_e=w(e,"FORBID_TAGS")?x({},e.FORBID_TAGS,it):{},Se=w(e,"FORBID_ATTR")?x({},e.FORBID_ATTR,it):{},We=!!w(e,"USE_PROFILES")&&e.USE_PROFILES,Oe=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,je=e.SAFE_FOR_TEMPLATES||!1,ke=!1!==e.SAFE_FOR_XML,Le=e.WHOLE_DOCUMENT||!1,Ae=e.RETURN_DOM||!1,Ne=e.RETURN_DOM_FRAGMENT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Ce=e.FORCE_BODY||!1,Re=!1!==e.SANITIZE_DOM,De=e.SANITIZE_NAMED_PROPS||!1,Ue=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||G,$e=e.NAMESPACE||Ke,et=e.MATHML_TEXT_INTEGRATION_POINTS||et,tt=e.HTML_INTEGRATION_POINTS||tt,Ee=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ee.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ee.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ee.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),je&&(xe=!1),Ne&&(Ae=!0),We&&(me=x({},M),ge=[],!0===We.html&&(x(me,k),x(ge,R)),!0===We.svg&&(x(me,L),x(ge,D),x(ge,F)),!0===We.svgFilters&&(x(me,I),x(ge,D),x(ge,F)),!0===We.mathMl&&(x(me,A),x(ge,U),x(ge,F))),e.ADD_TAGS&&(me===be&&(me=P(me)),x(me,e.ADD_TAGS,it)),e.ADD_ATTR&&(ge===we&&(ge=P(ge)),x(ge,e.ADD_ATTR,it)),e.ADD_URI_SAFE_ATTR&&x(Ge,e.ADD_URI_SAFE_ATTR,it),e.FORBID_CONTENTS&&(ze===Be&&(ze=P(ze)),x(ze,e.FORBID_CONTENTS,it)),Ue&&(me["#text"]=!0),Le&&x(me,["html","head","body"]),me.table&&(x(me,["tbody"]),delete _e.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ee=e.TRUSTED_TYPES_POLICY,te=ee.createHTML("")}else void 0===ee&&(ee=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 o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(V,u)),null!==ee&&"string"==typeof te&&(te=ee.createHTML(""));a&&a(e),at=e}},lt=x({},[...L,...I,...C]),ft=x({},[...A,...N]),pt=function(e){d(n.removed,{element:e});try{Z(e).removeChild(e)}catch(t){Q(e)}},dt=function(e,t){try{d(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){d(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Ae||Ne)try{pt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ht=function(e){let t=null,r=null;if(Ce)e="<remove></remove>"+e;else{const t=v(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===nt&&$e===Ke&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const n=ee?ee.createHTML(e):e;if($e===Ke)try{t=(new B).parseFromString(n,nt)}catch(e){}if(!t||!t.documentElement){t=re.createDocument($e,"template",null);try{t.documentElement.innerHTML=Xe?te:n}catch(e){}}const i=t.body||t.documentElement;return e&&r&&i.insertBefore(o.createTextNode(r),i.childNodes[0]||null),$e===Ke?ie.call(t,Le?"html":"body")[0]:Le?t.documentElement:i},yt=function(e){return ne.call(e.ownerDocument||e,e,T.SHOW_ELEMENT|T.SHOW_COMMENT|T.SHOW_TEXT|T.SHOW_PROCESSING_INSTRUCTION|T.SHOW_CDATA_SECTION,null)},vt=function(e){return e instanceof z&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof W)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},mt=function(e){return"function"==typeof S&&e instanceof S};function bt(e,t,r){f(e,(e=>{e.call(n,t,r,at)}))}const gt=function(e){let t=null;if(bt(ue.beforeSanitizeElements,e,null),vt(e))return pt(e),!0;const r=it(e.nodeName);if(bt(ue.uponSanitizeElement,e,{tagName:r,allowedTags:me}),e.hasChildNodes()&&!mt(e.firstElementChild)&&E(/<[/\w]/g,e.innerHTML)&&E(/<[/\w]/g,e.textContent))return pt(e),!0;if(7===e.nodeType)return pt(e),!0;if(ke&&8===e.nodeType&&E(/<[/\w]/g,e.data))return pt(e),!0;if(!me[r]||_e[r]){if(!_e[r]&&Et(r)){if(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,r))return!1;if(Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(r))return!1}if(Ue&&!ze[r]){const t=Z(e)||e.parentNode,r=J(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const o=H(r[n],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,K(e))}}return pt(e),!0}return e instanceof O&&!function(e){let t=Z(e);t&&t.tagName||(t={namespaceURI:$e,tagName:"template"});const r=h(e.tagName),n=h(t.tagName);return!!Je[e.namespaceURI]&&(e.namespaceURI===qe?t.namespaceURI===Ke?"svg"===r:t.namespaceURI===Qe?"svg"===r&&("annotation-xml"===n||et[n]):Boolean(lt[r]):e.namespaceURI===Qe?t.namespaceURI===Ke?"math"===r:t.namespaceURI===qe?"math"===r&&tt[n]:Boolean(ft[r]):e.namespaceURI===Ke?!(t.namespaceURI===qe&&!tt[n])&&!(t.namespaceURI===Qe&&!et[n])&&!ft[r]&&(rt[r]||!lt[r]):!("application/xhtml+xml"!==nt||!Je[e.namespaceURI]))}(e)?(pt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!E(/<\/no(script|embed|frames)/i,e.innerHTML)?(je&&3===e.nodeType&&(t=e.textContent,f([ce,se,le],(e=>{t=m(t,e," ")})),e.textContent!==t&&(d(n.removed,{element:e.cloneNode()}),e.textContent=t)),bt(ue.afterSanitizeElements,e,null),!1):(pt(e),!0)},wt=function(e,t,r){if(Re&&("id"===t||"name"===t)&&(r in o||r in ut))return!1;if(xe&&!Se[t]&&E(fe,t));else if(Oe&&E(pe,t));else if(!ge[t]||Se[t]){if(!(Et(e)&&(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,e)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(e))&&(Ee.attributeNameCheck instanceof RegExp&&E(Ee.attributeNameCheck,t)||Ee.attributeNameCheck instanceof Function&&Ee.attributeNameCheck(t))||"is"===t&&Ee.allowCustomizedBuiltInElements&&(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,r)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(r))))return!1}else if(Ge[t]);else if(E(ve,m(r,he,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(r,"data:")||!Ve[e])if(Te&&!E(de,m(r,he,"")));else if(r)return!1;return!0},Et=function(e){return"annotation-xml"!==e&&v(e,ye)},_t=function(e){bt(ue.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||vt(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ge,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:a,namespaceURI:u,value:c}=i,s=it(a);let l="value"===a?c:g(c);if(r.attrName=s,r.attrValue=l,r.keepAttr=!0,r.forceKeepAttr=void 0,bt(ue.uponSanitizeAttribute,e,r),l=r.attrValue,!De||"id"!==s&&"name"!==s||(dt(a,e),l="user-content-"+l),ke&&E(/((--!?|])>)|<\/(style|title)/i,l)){dt(a,e);continue}if(r.forceKeepAttr)continue;if(dt(a,e),!r.keepAttr)continue;if(!Pe&&E(/\/>/i,l)){dt(a,e);continue}je&&f([ce,se,le],(e=>{l=m(l,e," ")}));const d=it(e.nodeName);if(wt(d,s,l)){if(ee&&"object"==typeof V&&"function"==typeof V.getAttributeType)if(u);else switch(V.getAttributeType(d,s)){case"TrustedHTML":l=ee.createHTML(l);break;case"TrustedScriptURL":l=ee.createScriptURL(l)}try{u?e.setAttributeNS(u,a,l):e.setAttribute(a,l),vt(e)?pt(e):p(n.removed)}catch(e){}}}bt(ue.afterSanitizeAttributes,e,null)},St=function e(t){let r=null;const n=yt(t);for(bt(ue.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)bt(ue.uponSanitizeShadowNode,r,null),gt(r),_t(r),r.content instanceof s&&e(r.content);bt(ue.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,u=null;if(Xe=!e,Xe&&(e="\x3c!--\x3e"),"string"!=typeof e&&!mt(e)){if("function"!=typeof e.toString)throw _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Ie||st(t),n.removed=[],"string"==typeof e&&(Fe=!1),Fe){if(e.nodeName){const t=it(e.nodeName);if(!me[t]||_e[t])throw _("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof S)r=ht("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Ae&&!je&&!Le&&-1===e.indexOf("<"))return ee&&Me?ee.createHTML(e):e;if(r=ht(e),!r)return Ae?null:Me?te:""}r&&Ce&&pt(r.firstChild);const c=yt(Fe?e:r);for(;a=c.nextNode();)gt(a),_t(a),a.content instanceof s&&St(a.content);if(Fe)return e;if(Ae){if(Ne)for(u=oe.call(r.ownerDocument);r.firstChild;)u.appendChild(r.firstChild);else u=r;return(ge.shadowroot||ge.shadowrootmode)&&(u=ae.call(i,u,!0)),u}let l=Le?r.outerHTML:r.innerHTML;return Le&&me["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&E(q,r.ownerDocument.doctype.name)&&(l="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+l),je&&f([ce,se,le],(e=>{l=m(l,e," ")})),ee&&Me?ee.createHTML(l):l},n.setConfig=function(){st(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ie=!0},n.clearConfig=function(){at=null,Ie=!1},n.isValidAttribute=function(e,t,r){at||st({});const n=it(e),o=it(t);return wt(n,o,r)},n.addHook=function(e,t){"function"==typeof t&&d(ue[e],t)},n.removeHook=function(e){return p(ue[e])},n.removeHooks=function(e){ue[e]=[]},n.removeAllHooks=function(){ue={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();e.exports=J},95553:function(e){e.exports=function(e,t){if("object"==typeof t&&null!==t){var r,n=Object.getPrototypeOf(t);for(r in n)if(!(r in e)){var o=Object.getOwnPropertyDescriptor(n,r);o&&Object.defineProperty(e,r,o)}for(r in t)r in e||(e[r]=t[r])}}},78986:function(e,t,r){!function(e){try{new window.CustomEvent("event",{bubbles:!0,cancelable:!0})}catch(n){var t=window.CustomEvent||window.Event,r=function(t,r){r=r||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.detail?{}:r.detail),e(n,this),n};r.prototype=t.prototype,window.CustomEvent=r}}(r(95553))},92143:function(e,t,r){!function(e){try{new window.Event("event",{bubbles:!0,cancelable:!0})}catch(n){var t=window.Event,r=function(t,r){r=r||{};var n=document.createEvent("Event");return n.initEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.detail?{}:r.detail),e(n,this),n};r.prototype=t.prototype,window.Event=r}}(r(95553))},52631:function(e,t,r){!function(e){try{new window.FocusEvent("event",{bubbles:!0,cancelable:!0})}catch(n){var t=window.FocusEvent||window.Event,r=function(t,r){r=r||{};var n=document.createEvent("FocusEvent");return n.initFocusEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.view?window:r.view,void 0===r.detail?{}:r.detail,void 0===r.relatedTarget?null:r.relatedTarget),e(n,this),n};r.prototype=t.prototype,window.FocusEvent=r}}(r(95553))},17300:function(e,t,r){!function(e){try{new window.KeyboardEvent("event",{bubbles:!0,cancelable:!0})}catch(n){var t=window.KeyboardEvent||window.Event,r=function(t,r){r=r||{};var n=document.createEvent("KeyboardEvent");return n.initKeyboardEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.view?window:r.view,void 0===r.key?"":r.key,void 0===r.location?0:r.location,(!0===r.ctrlKey?"Control ":"")+(!0===r.altKey?"Alt ":"")+(!0===r.shiftKey?"Shift ":"")+(!0===r.metaKey?"Meta ":""),void 0!==r.repeat&&r.repeat,void 0===r.locale?navigator.language:r.locale),n.keyCode=void 0===r.keyCode?0:r.keyCode,n.code=void 0===r.code?"":r.code,n.charCode=void 0===r.charCode?0:r.charCode,n.char=void 0===r.charCode?"":r.charCode,n.which=void 0===r.which?0:r.which,e(n,this),n};r.prototype=t.prototype,window.KeyboardEvent=r}}(r(95553))},86866:function(e,t,r){!function(e){try{new window.MouseEvent("event",{bubbles:!0,cancelable:!0})}catch(n){var t=window.MouseEvent||window.Event,r=function(t,r){r=r||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.view?window:r.view,void 0===r.detail?0:r.detail,void 0===r.screenX?0:r.screenX,void 0===r.screenY?0:r.screenY,void 0===r.clientX?0:r.clientX,void 0===r.clientY?0:r.clientY,void 0!==r.ctrlKey&&r.ctrlKey,void 0!==r.altKey&&r.altKey,void 0!==r.shiftKey&&r.shiftKey,void 0!==r.metaKey&&r.metaKey,void 0===r.button?0:r.button,void 0===r.relatedTarget?null:r.relatedTarget),n.buttons=void 0===r.buttons?0:r.buttons,n.region=void 0===r.region?null:r.region,e(n,this),n};r.prototype=t.prototype,window.MouseEvent=r}}(r(95553))},28048:function(e,t,r){!function(e){try{new window.PointerEvent("event",{bubbles:!0,cancelable:!0})}catch(o){var t=window.PointerEvent||window.Event,r=function(t,r){r=r||{};var n=document.createEvent("PointerEvent");return n.initPointerEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.view?window:r.view,void 0===r.detail?0:r.detail,void 0===r.screenX?0:r.screenX,void 0===r.screenY?0:r.screenY,void 0===r.clientX?0:r.clientX,void 0===r.clientY?0:r.clientY,void 0!==r.ctrlKey&&r.ctrlKey,void 0!==r.altKey&&r.altKey,void 0!==r.shiftKey&&r.shiftKey,void 0!==r.metaKey&&r.metaKey,void 0===r.button?0:r.button,void 0===r.relatedTarget?null:r.relatedTarget,void 0===r.offsetX?0:r.offsetX,void 0===r.offsetY?0:r.offsetY,void 0===r.width?1:r.width,void 0===r.height?1:r.height,void 0===r.pressure?0:r.pressure,void 0===r.twist?0:r.twist,void 0===r.tiltX?0:r.tiltX,void 0===r.tiltY?0:r.tiltY,void 0===r.pointerId?0:r.pointerId,void 0===r.pointerType?"":r.pointerType,void 0===r.hwTimestamp?0:r.hwTimestamp,void 0!==r.isPrimary&&r.isPrimary),n.tangentialPressure=void 0===r.tangentialPressure?0:r.tangentialPressure,e(n,this),n};r.prototype=t.prototype;var n=Object.getOwnPropertyDescriptor(r.prototype,"rotation");n&&Object.defineProperty(r.prototype,"twist",n),window.PointerEvent=r}}(r(95553))},33019:function(e,t,r){r(92143),r(78986),r(86866),r(17300),r(52631),r(28048)},37007:function(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 o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function o(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}y(e,t,i,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&y(e,"error",t,{once:!0})}(e,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function u(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?i.defaultMaxListeners:e._maxListeners}function s(e,t,r,n){var o,i,a,s;if(u(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=c(e))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function l(){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 f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=l.bind(n);return o.listener=r,n.wrapFn=o,o}function p(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]: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}(o):h(o,o.length)}function d(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 h(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function y(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 o(i){n.once&&e.removeEventListener(t,o),r(i)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.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},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(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},i.prototype.getMaxListeners=function(){return c(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)n(c,this,t);else{var s=c.length,l=h(c,s);for(r=0;r<s;++r)n(l[r],this,t)}return!0},i.prototype.addListener=function(e,t){return s(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return s(this,e,t,!0)},i.prototype.once=function(e,t){return u(t),this.on(e,f(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,f(this,e,t)),this},i.prototype.removeListener=function(e,t){var r,n,o,i,a;if(u(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(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.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 o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);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},i.prototype.listeners=function(e){return p(this,e,!0)},i.prototype.rawListeners=function(e){return p(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},i.prototype.listenerCount=d,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},32017:function(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,o,i;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!=o--;)if(!e(t[o],r[o]))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=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!=o--;){var a=i[o];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}},37047:function(e){e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Expected a string");for(var r,n=String(e),o="",i=!!t&&!!t.extended,a=!!t&&!!t.globstar,u=!1,c=t&&"string"==typeof t.flags?t.flags:"",s=0,l=n.length;s<l;s++)switch(r=n[s]){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":o+="\\"+r;break;case"?":if(i){o+=".";break}case"[":case"]":if(i){o+=r;break}case"{":if(i){u=!0,o+="(";break}case"}":if(i){u=!1,o+=")";break}case",":if(u){o+="|";break}o+="\\"+r;break;case"*":for(var f=n[s-1],p=1;"*"===n[s+1];)p++,s++;var d=n[s+1];a?!(p>1)||"/"!==f&&void 0!==f||"/"!==d&&void 0!==d?o+="([^/]*)":(o+="((?:[^/]*(?:/|$))*)",s++):o+=".*";break;default:o+=r}return c&&~c.indexOf("g")||(o="^"+o+"$"),new RegExp(o,c)}},2733:function(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 o(t,o,i){if("undefined"!=typeof document){"number"==typeof(i=e({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var u in i)i[u]&&(a+="; "+u,!0!==i[u]&&(a+="="+i[u].split(";")[0]));return document.cookie=t+"="+r.write(o,t)+a}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},o=0;o<t.length;o++){var i=t[o].split("="),a=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(n[u]=r.read(a,u),e===u)break}catch(e){}}return e?n[e]:n}},remove:function(t,r){o(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:function(e,t,r){var n=r(56110)(r(9325),"DataView");e.exports=n},21549:function(e,t,r){var n=r(22032),o=r(63862),i=r(66721),a=r(12749),u=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=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},80079:function(e,t,r){var n=r(63702),o=r(70080),i=r(24739),a=r(48655),u=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=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},68223:function(e,t,r){var n=r(56110)(r(9325),"Map");e.exports=n},53661:function(e,t,r){var n=r(63040),o=r(17670),i=r(90289),a=r(4509),u=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=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},32804:function(e,t,r){var n=r(56110)(r(9325),"Promise");e.exports=n},76545:function(e,t,r){var n=r(56110)(r(9325),"Set");e.exports=n},38859:function(e,t,r){var n=r(53661),o=r(31380),i=r(51459);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},37217:function(e,t,r){var n=r(80079),o=r(51420),i=r(90938),a=r(63605),u=r(29817),c=r(80945);function s(e){var t=this.__data__=new n(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=u,s.prototype.set=c,e.exports=s},51873:function(e,t,r){var n=r(9325).Symbol;e.exports=n},37828:function(e,t,r){var n=r(9325).Uint8Array;e.exports=n},28303:function(e,t,r){var n=r(56110)(r(9325),"WeakMap");e.exports=n},91033:function(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:function(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:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}},70695:function(e,t,r){var n=r(78096),o=r(72428),i=r(56449),a=r(3656),u=r(30361),c=r(37167),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&o(e),f=!r&&!l&&a(e),p=!r&&!l&&!f&&c(e),d=r||l||f||p,h=d?n(e.length,String):[],y=h.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,y))||h.push(v);return h}},34932:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},14528:function(e){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},14248:function(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:function(e,t,r){var n=r(43360),o=r(75288),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];i.call(e,t)&&o(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},26025:function(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:function(e,t,r){var n=r(21791),o=r(95950);e.exports=function(e,t){return e&&n(t,o(t),e)}},43838:function(e,t,r){var n=r(21791),o=r(37241);e.exports=function(e,t){return e&&n(t,o(t),e)}},43360:function(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:function(e,t,r){var n=r(37217),o=r(83729),i=r(16547),a=r(74733),u=r(43838),c=r(93290),s=r(23007),l=r(92271),f=r(48948),p=r(50002),d=r(83349),h=r(5861),y=r(76189),v=r(77199),m=r(35529),b=r(56449),g=r(3656),w=r(87730),E=r(23805),_=r(38440),S=r(95950),O=r(37241),x="[object Arguments]",T="[object Function]",P="[object Object]",j={};j[x]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object DataView]"]=j["[object Boolean]"]=j["[object Date]"]=j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Map]"]=j["[object Number]"]=j[P]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object Symbol]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Error]"]=j[T]=j["[object WeakMap]"]=!1,e.exports=function e(t,r,k,L,I,C){var A,N=1&r,M=2&r,R=4&r;if(k&&(A=I?k(t,L,I,C):k(t)),void 0!==A)return A;if(!E(t))return t;var D=b(t);if(D){if(A=y(t),!N)return s(t,A)}else{var U=h(t),F=U==T||"[object GeneratorFunction]"==U;if(g(t))return c(t,N);if(U==P||U==x||F&&!I){if(A=M||F?{}:m(t),!N)return M?f(t,u(A,t)):l(t,a(A,t))}else{if(!j[U])return I?t:{};A=v(t,U,N)}}C||(C=new n);var W=C.get(t);if(W)return W;C.set(t,A),_(t)?t.forEach((function(n){A.add(e(n,r,k,n,t,C))})):w(t)&&t.forEach((function(n,o){A.set(o,e(n,r,k,o,t,C))}));var z=D?void 0:(R?M?d:p:M?O:S)(t);return o(z||t,(function(n,o){z&&(n=t[o=n]),i(A,o,e(n,r,k,o,t,C))})),A}},39344:function(e,t,r){var n=r(23805),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},83120:function(e,t,r){var n=r(14528),o=r(45891);e.exports=function e(t,r,i,a,u){var c=-1,s=t.length;for(i||(i=o),u||(u=[]);++c<s;){var l=t[c];r>0&&i(l)?r>1?e(l,r-1,i,a,u):n(u,l):a||(u[u.length]=l)}return u}},47422:function(e,t,r){var n=r(31769),o=r(77797);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},82199:function(e,t,r){var n=r(14528),o=r(56449);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},72552:function(e,t,r){var n=r(51873),o=r(659),i=r(59350),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},27534:function(e,t,r){var n=r(72552),o=r(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},60270:function(e,t,r){var n=r(87068),o=r(40346);e.exports=function e(t,r,i,a,u){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,i,a,e,u))}},87068:function(e,t,r){var n=r(37217),o=r(25911),i=r(21986),a=r(50689),u=r(5861),c=r(56449),s=r(3656),l=r(37167),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,y,v,m){var b=c(e),g=c(t),w=b?p:u(e),E=g?p:u(t),_=(w=w==f?d:w)==d,S=(E=E==f?d:E)==d,O=w==E;if(O&&s(e)){if(!s(t))return!1;b=!0,_=!1}if(O&&!_)return m||(m=new n),b||l(e)?o(e,t,r,y,v,m):i(e,t,w,r,y,v,m);if(!(1&r)){var x=_&&h.call(e,"__wrapped__"),T=S&&h.call(t,"__wrapped__");if(x||T){var P=x?e.value():e,j=T?t.value():t;return m||(m=new n),v(P,j,r,y,m)}}return!!O&&(m||(m=new n),a(e,t,r,y,v,m))}},29172:function(e,t,r){var n=r(5861),o=r(40346);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},41799:function(e,t,r){var n=r(37217),o=r(60270);e.exports=function(e,t,r,i){var a=r.length,u=a,c=!i;if(null==e)return!u;for(e=Object(e);a--;){var s=r[a];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<u;){var l=(s=r[a])[0],f=e[l],p=s[1];if(c&&s[2]){if(void 0===f&&!(l in e))return!1}else{var d=new n;if(i)var h=i(f,p,l,e,t,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},45083:function(e,t,r){var n=r(1882),o=r(87296),i=r(23805),a=r(47473),u=/^\[object .+?Constructor\]$/,c=Function.prototype,s=Object.prototype,l=c.toString,f=s.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?p:u).test(a(e))}},16038:function(e,t,r){var n=r(5861),o=r(40346);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},4901:function(e,t,r){var n=r(72552),o=r(30294),i=r(40346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},88984:function(e,t,r){var n=r(55527),o=r(3650),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},72903:function(e,t,r){var n=r(23805),o=r(55527),i=r(90181),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var u in e)("constructor"!=u||!t&&a.call(e,u))&&r.push(u);return r}},19570:function(e,t,r){var n=r(37334),o=r(93243),i=r(83488),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=a},25160:function(e){e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}},78096:function(e){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},77556:function(e,t,r){var n=r(51873),o=r(34932),i=r(56449),a=r(44394),u=n?n.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},54128:function(e,t,r){var n=r(31800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},27301:function(e){e.exports=function(e){return function(t){return e(t)}}},19931:function(e,t,r){var n=r(31769),o=r(68090),i=r(68969),a=r(77797);e.exports=function(e,t){return t=n(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},19219:function(e){e.exports=function(e,t){return e.has(t)}},31769:function(e,t,r){var n=r(56449),o=r(28586),i=r(61802),a=r(13222);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},49653:function(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:function(e,t,r){e=r.nmd(e);var n=r(9325),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=u?u(r):new e.constructor(r);return e.copy(n),n}},76169:function(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:function(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:function(e,t,r){var n=r(51873),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},71961:function(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:function(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:function(e,t,r){var n=r(16547),o=r(43360);e.exports=function(e,t,r,i){var a=!r;r||(r={});for(var u=-1,c=t.length;++u<c;){var s=t[u],l=i?i(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),a?o(r,s,l):n(r,s,l)}return r}},92271:function(e,t,r){var n=r(21791),o=r(4664);e.exports=function(e,t){return n(e,o(e),t)}},48948:function(e,t,r){var n=r(21791),o=r(86375);e.exports=function(e,t){return n(e,o(e),t)}},55481:function(e,t,r){var n=r(9325)["__core-js_shared__"];e.exports=n},53138:function(e,t,r){var n=r(11331);e.exports=function(e){return n(e)?void 0:e}},93243:function(e,t,r){var n=r(56110),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},25911:function(e,t,r){var n=r(38859),o=r(14248),i=r(19219);e.exports=function(e,t,r,a,u,c){var s=1&r,l=e.length,f=t.length;if(l!=f&&!(s&&f>l))return!1;var p=c.get(e),d=c.get(t);if(p&&d)return p==t&&d==e;var h=-1,y=!0,v=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++h<l;){var m=e[h],b=t[h];if(a)var g=s?a(b,m,h,t,e,c):a(m,b,h,e,t,c);if(void 0!==g){if(g)continue;y=!1;break}if(v){if(!o(t,(function(e,t){if(!i(v,t)&&(m===e||u(m,e,r,a,c)))return v.push(t)}))){y=!1;break}}else if(m!==b&&!u(m,b,r,a,c)){y=!1;break}}return c.delete(e),c.delete(t),y}},21986:function(e,t,r){var n=r(51873),o=r(37828),i=r(75288),a=r(25911),u=r(20317),c=r(84247),s=n?n.prototype:void 0,l=s?s.valueOf:void 0;e.exports=function(e,t,r,n,s,f,p){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||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+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 d=u;case"[object Set]":var h=1&n;if(d||(d=c),e.size!=t.size&&!h)return!1;var y=p.get(e);if(y)return y==t;n|=2,p.set(e,t);var v=a(d(e),d(t),n,s,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},50689:function(e,t,r){var n=r(50002),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,u){var c=1&r,s=n(e),l=s.length;if(l!=n(t).length&&!c)return!1;for(var f=l;f--;){var p=s[f];if(!(c?p in t:o.call(t,p)))return!1}var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var y=!0;u.set(e,t),u.set(t,e);for(var v=c;++f<l;){var m=e[p=s[f]],b=t[p];if(i)var g=c?i(b,m,p,t,e,u):i(m,b,p,e,t,u);if(!(void 0===g?m===b||a(m,b,r,i,u):g)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(y=!1)}return u.delete(e),u.delete(t),y}},38816:function(e,t,r){var n=r(35970),o=r(56757),i=r(32865);e.exports=function(e){return i(o(e,void 0,n),e+"")}},34840:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},50002:function(e,t,r){var n=r(82199),o=r(4664),i=r(95950);e.exports=function(e){return n(e,i,o)}},83349:function(e,t,r){var n=r(82199),o=r(86375),i=r(37241);e.exports=function(e){return n(e,i,o)}},12651:function(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:function(e,t,r){var n=r(30756),o=r(95950);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],a=e[i];t[r]=[i,a,n(a)]}return t}},56110:function(e,t,r){var n=r(45083),o=r(10392);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},28879:function(e,t,r){var n=r(74335)(Object.getPrototypeOf,Object);e.exports=n},659:function(e,t,r){var n=r(51873),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),r=e[u];try{e[u]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[u]=r:delete e[u]),o}},4664:function(e,t,r){var n=r(79770),o=r(63345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=u},86375:function(e,t,r){var n=r(14528),o=r(28879),i=r(4664),a=r(63345),u=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:a;e.exports=u},5861:function(e,t,r){var n=r(55580),o=r(68223),i=r(32804),a=r(76545),u=r(28303),c=r(72552),s=r(47473),l="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",y=s(n),v=s(o),m=s(i),b=s(a),g=s(u),w=c;(n&&w(new n(new ArrayBuffer(1)))!=h||o&&w(new o)!=l||i&&w(i.resolve())!=f||a&&w(new a)!=p||u&&w(new u)!=d)&&(w=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?s(r):"";if(n)switch(n){case y:return h;case v:return l;case m:return f;case b:return p;case g:return d}return t}),e.exports=w},10392:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},22032:function(e,t,r){var n=r(81042);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},63862:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721:function(e,t,r){var n=r(81042),o=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 o.call(t,e)?t[e]:void 0}},12749:function(e,t,r){var n=r(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},35749:function(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:function(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:function(e,t,r){var n=r(49653),o=r(76169),i=r(73201),a=r(93736),u=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 o(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 u(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 i(e);case"[object Symbol]":return a(e)}}},35529:function(e,t,r){var n=r(39344),o=r(28879),i=r(55527);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},45891:function(e,t,r){var n=r(51873),o=r(72428),i=r(56449),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},30361:function(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:function(e,t,r){var n=r(56449),o=r(44394),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},74218:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296:function(e,t,r){var n,o=r(55481),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},55527:function(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},30756:function(e,t,r){var n=r(23805);e.exports=function(e){return e==e&&!n(e)}},63702:function(e){e.exports=function(){this.__data__=[],this.size=0}},70080:function(e,t,r){var n=r(26025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},24739:function(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:function(e,t,r){var n=r(26025);e.exports=function(e){return n(this.__data__,e)>-1}},31175:function(e,t,r){var n=r(26025);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},63040:function(e,t,r){var n=r(21549),o=r(80079),i=r(68223);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},17670:function(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:function(e,t,r){var n=r(12651);e.exports=function(e){return n(this,e).get(e)}},4509:function(e,t,r){var n=r(12651);e.exports=function(e){return n(this,e).has(e)}},72949:function(e,t,r){var n=r(12651);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},20317:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},62224:function(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:function(e,t,r){var n=r(56110)(Object,"create");e.exports=n},3650:function(e,t,r){var n=r(74335)(Object.keys,Object);e.exports=n},90181:function(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},86009:function(e,t,r){e=r.nmd(e);var n=r(34840),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=u},59350:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},56757:function(e,t,r){var n=r(91033),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),c=Array(u);++a<u;)c[a]=i[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=i[a];return s[t]=r(c),n(e,this,s)}}},68969:function(e,t,r){var n=r(47422),o=r(25160);e.exports=function(e,t){return t.length<2?e:n(e,o(t,0,-1))}},9325:function(e,t,r){var n=r(34840),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},31380:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459:function(e){e.exports=function(e){return this.__data__.has(e)}},84247:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},32865:function(e,t,r){var n=r(19570),o=r(51811)(n);e.exports=o},51811:function(e){var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var o=t(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},51420:function(e,t,r){var n=r(80079);e.exports=function(){this.__data__=new n,this.size=0}},90938:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},63605:function(e){e.exports=function(e){return this.__data__.get(e)}},29817:function(e){e.exports=function(e){return this.__data__.has(e)}},80945:function(e,t,r){var n=r(80079),o=r(68223),i=r(53661);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},61802:function(e,t,r){var n=r(62224),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=a},77797:function(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:function(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:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},37334:function(e){e.exports=function(e){return function(){return e}}},38221:function(e,t,r){var n=r(23805),o=r(10124),i=r(99374),a=Math.max,u=Math.min;e.exports=function(e,t,r){var c,s,l,f,p,d,h=0,y=!1,v=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var r=c,n=s;return c=s=void 0,h=t,f=e.apply(n,r)}function g(e){var r=e-d;return void 0===d||r>=t||r<0||v&&e-h>=l}function w(){var e=o();if(g(e))return E(e);p=setTimeout(w,function(e){var r=t-(e-d);return v?u(r,l-(e-h)):r}(e))}function E(e){return p=void 0,m&&c?b(e):(c=s=void 0,f)}function _(){var e=o(),r=g(e);if(c=arguments,s=this,d=e,r){if(void 0===p)return function(e){return h=e,p=setTimeout(w,t),y?b(e):f}(d);if(v)return clearTimeout(p),p=setTimeout(w,t),b(d)}return void 0===p&&(p=setTimeout(w,t)),f}return t=i(t)||0,n(r)&&(y=!!r.leading,l=(v="maxWait"in r)?a(i(r.maxWait)||0,t):l,m="trailing"in r?!!r.trailing:m),_.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=s=p=void 0},_.flush=function(){return void 0===p?f:E(o())},_}},75288:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970:function(e,t,r){var n=r(83120);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},83488:function(e){e.exports=function(e){return e}},72428:function(e,t,r){var n=r(27534),o=r(40346),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=c},56449:function(e){var t=Array.isArray;e.exports=t},64894:function(e,t,r){var n=r(1882),o=r(30294);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},3656:function(e,t,r){e=r.nmd(e);var n=r(9325),o=r(89935),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,u=a&&a.exports===i?n.Buffer:void 0,c=(u?u.isBuffer:void 0)||o;e.exports=c},2404:function(e,t,r){var n=r(60270);e.exports=function(e,t){return n(e,t)}},1882:function(e,t,r){var n=r(72552),o=r(23805);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},87730:function(e,t,r){var n=r(29172),o=r(27301),i=r(86009),a=i&&i.isMap,u=a?o(a):n;e.exports=u},1045:function(e,t,r){var n=r(41799),o=r(10776);e.exports=function(e,t,r){return r="function"==typeof r?r:void 0,n(e,t,o(t),r)}},23805:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},11331:function(e,t,r){var n=r(72552),o=r(28879),i=r(40346),a=Function.prototype,u=Object.prototype,c=a.toString,s=u.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=s.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}},38440:function(e,t,r){var n=r(16038),o=r(27301),i=r(86009),a=i&&i.isSet,u=a?o(a):n;e.exports=u},44394:function(e,t,r){var n=r(72552),o=r(40346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},37167:function(e,t,r){var n=r(4901),o=r(27301),i=r(86009),a=i&&i.isTypedArray,u=a?o(a):n;e.exports=u},95950:function(e,t,r){var n=r(70695),o=r(88984),i=r(64894);e.exports=function(e){return i(e)?n(e):o(e)}},37241:function(e,t,r){var n=r(70695),o=r(72903),i=r(64894);e.exports=function(e){return i(e)?n(e,!0):o(e)}},68090:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},50104:function(e,t,r){var n=r(53661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},10124:function(e,t,r){var n=r(9325);e.exports=function(){return n.Date.now()}},90179:function(e,t,r){var n=r(34932),o=r(9999),i=r(19931),a=r(31769),u=r(21791),c=r(53138),s=r(38816),l=r(83349),f=s((function(e,t){var r={};if(null==e)return r;var s=!1;t=n(t,(function(t){return t=a(t,e),s||(s=t.length>1),t})),u(e,l(e),r),s&&(r=o(r,7,c));for(var f=t.length;f--;)i(r,t[f]);return r}));e.exports=f},63345:function(e){e.exports=function(){return[]}},89935:function(e){e.exports=function(){return!1}},7350:function(e,t,r){var n=r(38221),o=r(23805);e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}},99374:function(e,t,r){var n=r(54128),o=r(23805),i=r(44394),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=u.test(e);return r||c.test(e)?s(e.slice(2),r?2:8):a.test(e)?NaN:+e}},13222:function(e,t,r){var n=r(77556);e.exports=function(e){return null==e?"":n(e)}},6585:function(e){var t=1e3,r=60*t,n=60*r,o=24*n,i=7*o;function a(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,u){u=u||{};var c,s,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var a=/^(-?(?:\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(a){var u=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*u;case"weeks":case"week":case"w":return u*i;case"days":case"day":case"d":return u*o;case"hours":case"hour":case"hrs":case"hr":case"h":return u*n;case"minutes":case"minute":case"mins":case"min":case"m":return u*r;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}(e);if("number"===l&&isFinite(e))return u.long?(c=e,(s=Math.abs(c))>=o?a(c,s,o,"day"):s>=n?a(c,s,n,"hour"):s>=r?a(c,s,r,"minute"):s>=t?a(c,s,t,"second"):c+" ms"):function(e){var i=Math.abs(e);return i>=o?Math.round(e/o)+"d":i>=n?Math.round(e/n)+"h":i>=r?Math.round(e/r)+"m":i>=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))}},56277:function(e,t,r){var n={"./ar.json":75120,"./de.json":30428,"./en.json":45448,"./es-MX.json":49467,"./es.json":70831,"./fr.json":99867,"./hi.json":87876,"./it.json":28038,"./ja.json":16582,"./kk.json":61753,"./ko.json":45613,"./mr.json":59396,"./nl.json":19121,"./pl.json":85443,"./pt-BR.json":26770,"./pt.json":63851,"./ru.json":86146,"./sl.json":41224,"./uk.json":31559,"./vi.json":87762,"./zh-Hant.json":84181,"./zh.json":59225};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=56277},79306:function(e,t,r){"use strict";var n=r(94901),o=r(16823),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},35548:function(e,t,r){"use strict";var n=r(33517),o=r(16823),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a constructor")}},73506:function(e,t,r){"use strict";var n=r(13925),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:function(e,t,r){"use strict";var n=r(78227),o=r(2360),i=r(24913).f,a=n("unscopables"),u=Array.prototype;void 0===u[a]&&i(u,a,{configurable:!0,value:o(null)}),e.exports=function(e){u[a][e]=!0}},57829:function(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:function(e,t,r){"use strict";var n=r(1625),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},28551:function(e,t,r){"use strict";var n=r(20034),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},77811:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},15652:function(e,t,r){"use strict";var n=r(79039);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},94644:function(e,t,r){"use strict";var n,o,i,a=r(77811),u=r(43724),c=r(44576),s=r(94901),l=r(20034),f=r(39297),p=r(36955),d=r(16823),h=r(66699),y=r(36840),v=r(62106),m=r(1625),b=r(42787),g=r(52967),w=r(78227),E=r(33392),_=r(91181),S=_.enforce,O=_.get,x=c.Int8Array,T=x&&x.prototype,P=c.Uint8ClampedArray,j=P&&P.prototype,k=x&&b(x),L=T&&b(T),I=Object.prototype,C=c.TypeError,A=w("toStringTag"),N=E("TYPED_ARRAY_TAG"),M="TypedArrayConstructor",R=a&&!!g&&"Opera"!==p(c.opera),D=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},W=function(e){var t=b(e);if(l(t)){var r=O(t);return r&&f(r,M)?r[M]:W(t)}},z=function(e){if(!l(e))return!1;var t=p(e);return f(U,t)||f(F,t)};for(n in U)(i=(o=c[n])&&o.prototype)?S(i)[M]=o:R=!1;for(n in F)(i=(o=c[n])&&o.prototype)&&(S(i)[M]=o);if((!R||!s(k)||k===Function.prototype)&&(k=function(){throw new C("Incorrect invocation")},R))for(n in U)c[n]&&g(c[n],k);if((!R||!L||L===I)&&(L=k.prototype,R))for(n in U)c[n]&&g(c[n].prototype,L);if(R&&b(j)!==L&&g(j,L),u&&!f(L,A))for(n in D=!0,v(L,A,{configurable:!0,get:function(){return l(this)?this[N]:void 0}}),U)c[n]&&h(c[n],N,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:D&&N,aTypedArray:function(e){if(z(e))return e;throw new C("Target is not a typed array")},aTypedArrayConstructor:function(e){if(s(e)&&(!g||m(k,e)))return e;throw new C(d(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(u){if(r)for(var o in U){var i=c[o];if(i&&f(i.prototype,e))try{delete i.prototype[e]}catch(r){try{i.prototype[e]=t}catch(e){}}}L[e]&&!r||y(L,e,r?t:R&&T[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,o;if(u){if(g){if(r)for(n in U)if((o=c[n])&&f(o,e))try{delete o[e]}catch(e){}if(k[e]&&!r)return;try{return y(k,e,r?t:R&&k[e]||t)}catch(e){}}for(n in U)!(o=c[n])||o[e]&&!r||y(o,e,t)}},getTypedArrayConstructor:W,isView:function(e){if(!l(e))return!1;var t=p(e);return"DataView"===t||f(U,t)||f(F,t)},isTypedArray:z,TypedArray:k,TypedArrayPrototype:L}},66346:function(e,t,r){"use strict";var n=r(44576),o=r(79504),i=r(43724),a=r(77811),u=r(10350),c=r(66699),s=r(62106),l=r(56279),f=r(79039),p=r(90679),d=r(91291),h=r(18014),y=r(57696),v=r(15617),m=r(88490),b=r(42787),g=r(52967),w=r(84373),E=r(67680),_=r(23167),S=r(77740),O=r(10687),x=r(91181),T=u.PROPER,P=u.CONFIGURABLE,j="ArrayBuffer",k="DataView",L="prototype",I="Wrong index",C=x.getterFor(j),A=x.getterFor(k),N=x.set,M=n[j],R=M,D=R&&R[L],U=n[k],F=U&&U[L],W=Object.prototype,z=n.Array,B=n.RangeError,V=o(w),Y=o([].reverse),G=m.pack,H=m.unpack,Q=function(e){return[255&e]},q=function(e){return[255&e,e>>8&255]},K=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},$=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},X=function(e){return G(v(e),23,4)},J=function(e){return G(e,52,8)},Z=function(e,t,r){s(e[L],t,{configurable:!0,get:function(){return r(this)[t]}})},ee=function(e,t,r,n){var o=A(e),i=y(r),a=!!n;if(i+t>o.byteLength)throw new B(I);var u=o.bytes,c=i+o.byteOffset,s=E(u,c,c+t);return a?s:Y(s)},te=function(e,t,r,n,o,i){var a=A(e),u=y(r),c=n(+o),s=!!i;if(u+t>a.byteLength)throw new B(I);for(var l=a.bytes,f=u+a.byteOffset,p=0;p<t;p++)l[f+p]=c[s?p:t-p-1]};if(a){var re=T&&M.name!==j;f((function(){M(1)}))&&f((function(){new M(-1)}))&&!f((function(){return new M,new M(1.5),new M(NaN),1!==M.length||re&&!P}))?re&&P&&c(M,"name",j):((R=function(e){return p(this,D),_(new M(y(e)),this,R)})[L]=D,D.constructor=R,S(R,M)),g&&b(F)!==W&&g(F,W);var ne=new U(new R(2)),oe=o(F.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||l(F,{setInt8:function(e,t){oe(this,e,t<<24>>24)},setUint8:function(e,t){oe(this,e,t<<24>>24)}},{unsafe:!0})}else D=(R=function(e){p(this,D);var t=y(e);N(this,{type:j,bytes:V(z(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)})[L],F=(U=function(e,t,r){p(this,F),p(e,D);var n=C(e),o=n.byteLength,a=d(t);if(a<0||a>o)throw new B("Wrong offset");if(a+(r=void 0===r?o-a:h(r))>o)throw new B("Wrong length");N(this,{type:k,buffer:e,byteLength:r,byteOffset:a,bytes:n.bytes}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=a)})[L],i&&(Z(R,"byteLength",C),Z(U,"buffer",A),Z(U,"byteLength",A),Z(U,"byteOffset",A)),l(F,{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 $(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return $(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return H(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return H(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,q,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){te(this,2,e,q,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,X,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){te(this,8,e,J,t,arguments.length>2&&arguments[2])}});O(R,j),O(U,k),e.exports={ArrayBuffer:R,DataView:U}},57029:function(e,t,r){"use strict";var n=r(48981),o=r(35610),i=r(26198),a=r(84606),u=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),c=i(r),s=o(e,c),l=o(t,c),f=arguments.length>2?arguments[2]:void 0,p=u((void 0===f?c:o(f,c))-l,c-s),d=1;for(l<s&&s<l+p&&(d=-1,l+=p-1,s+=p-1);p-- >0;)l in r?r[s]=r[l]:a(r,s),s+=d,l+=d;return r}},84373:function(e,t,r){"use strict";var n=r(48981),o=r(35610),i=r(26198);e.exports=function(e){for(var t=n(this),r=i(t),a=arguments.length,u=o(a>1?arguments[1]:void 0,r),c=a>2?arguments[2]:void 0,s=void 0===c?r:o(c,r);s>u;)t[u++]=e;return t}},90235:function(e,t,r){"use strict";var n=r(59213).forEach,o=r(34598)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},35370:function(e,t,r){"use strict";var n=r(26198);e.exports=function(e,t,r){for(var o=0,i=arguments.length>2?r:n(t),a=new e(i);i>o;)a[o]=t[o++];return a}},97916:function(e,t,r){"use strict";var n=r(76080),o=r(69565),i=r(48981),a=r(96319),u=r(44209),c=r(33517),s=r(26198),l=r(97040),f=r(70081),p=r(50851),d=Array;e.exports=function(e){var t=i(e),r=c(this),h=arguments.length,y=h>1?arguments[1]:void 0,v=void 0!==y;v&&(y=n(y,h>2?arguments[2]:void 0));var m,b,g,w,E,_,S=p(t),O=0;if(!S||this===d&&u(S))for(m=s(t),b=r?new this(m):d(m);m>O;O++)_=v?y(t[O],O):t[O],l(b,O,_);else for(b=r?new this:[],E=(w=f(t,S)).next;!(g=o(E,w)).done;O++)_=v?a(w,y,[g.value,O],!0):g.value,l(b,O,_);return b.length=O,b}},19617:function(e,t,r){"use strict";var n=r(25397),o=r(35610),i=r(26198),a=function(e){return function(t,r,a){var u=n(t),c=i(u);if(0===c)return!e&&-1;var s,l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},59213:function(e,t,r){"use strict";var n=r(76080),o=r(79504),i=r(47055),a=r(48981),u=r(26198),c=r(1469),s=o([].push),l=function(e){var t=1===e,r=2===e,o=3===e,l=4===e,f=6===e,p=7===e,d=5===e||f;return function(h,y,v,m){for(var b,g,w=a(h),E=i(w),_=u(E),S=n(y,v),O=0,x=m||c,T=t?x(h,_):r||p?x(h,0):void 0;_>O;O++)if((d||O in E)&&(g=S(b=E[O],O,w),e))if(t)T[O]=g;else if(g)switch(e){case 3:return!0;case 5:return b;case 6:return O;case 2:s(T,b)}else switch(e){case 4:return!1;case 7:s(T,b)}return f?-1:o||l?l:T}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},8379:function(e,t,r){"use strict";var n=r(18745),o=r(25397),i=r(91291),a=r(26198),u=r(34598),c=Math.min,s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0,f=u("lastIndexOf"),p=l||!f;e.exports=p?function(e){if(l)return n(s,this,arguments)||0;var t=o(this),r=a(t);if(0===r)return-1;var u=r-1;for(arguments.length>1&&(u=c(u,i(arguments[1]))),u<0&&(u=r+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:s},70597:function(e,t,r){"use strict";var n=r(79039),o=r(78227),i=r(39519),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},34598:function(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)}))}},80926:function(e,t,r){"use strict";var n=r(79306),o=r(48981),i=r(47055),a=r(26198),u=TypeError,c="Reduce of empty array with no initial value",s=function(e){return function(t,r,s,l){var f=o(t),p=i(f),d=a(f);if(n(r),0===d&&s<2)throw new u(c);var h=e?d-1:0,y=e?-1:1;if(s<2)for(;;){if(h in p){l=p[h],h+=y;break}if(h+=y,e?h<0:d<=h)throw new u(c)}for(;e?h>=0:d>h;h+=y)h in p&&(l=r(l,p[h],h,f));return l}};e.exports={left:s(!1),right:s(!0)}},34527:function(e,t,r){"use strict";var n=r(43724),o=r(34376),i=TypeError,a=Object.getOwnPropertyDescriptor,u=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=u?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},67680:function(e,t,r){"use strict";var n=r(79504);e.exports=n([].slice)},74488:function(e,t,r){"use strict";var n=r(67680),o=Math.floor,i=function(e,t){var r=e.length;if(r<8)for(var a,u,c=1;c<r;){for(u=c,a=e[c];u&&t(e[u-1],a)>0;)e[u]=e[--u];u!==c++&&(e[u]=a)}else for(var s=o(r/2),l=i(n(e,0,s),t),f=i(n(e,s),t),p=l.length,d=f.length,h=0,y=0;h<p||y<d;)e[h+y]=h<p&&y<d?t(l[h],f[y])<=0?l[h++]:f[y++]:h<p?l[h++]:f[y++];return e};e.exports=i},87433:function(e,t,r){"use strict";var n=r(34376),o=r(33517),i=r(20034),a=r(78227)("species"),u=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(o(t)&&(t===u||n(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?u:t}},1469:function(e,t,r){"use strict";var n=r(87433);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},96319:function(e,t,r){"use strict";var n=r(28551),o=r(9539);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},84428:function(e,t,r){"use strict";var n=r(78227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},22195:function(e,t,r){"use strict";var n=r(79504),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},36955:function(e,t,r){"use strict";var n=r(92140),o=r(94901),i=r(22195),a=r(78227)("toStringTag"),u=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i: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=u(e),a))?r:c?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},86938:function(e,t,r){"use strict";var n=r(2360),o=r(62106),i=r(56279),a=r(76080),u=r(90679),c=r(64117),s=r(72652),l=r(51088),f=r(62529),p=r(87633),d=r(43724),h=r(3451).fastKey,y=r(91181),v=y.set,m=y.getterFor;e.exports={getConstructor:function(e,t,r,l){var f=e((function(e,o){u(e,p),v(e,{type:t,index:n(null),first:null,last:null,size:0}),d||(e.size=0),c(o)||s(o,e[l],{that:e,AS_ENTRIES:r})})),p=f.prototype,y=m(t),b=function(e,t,r){var n,o,i=y(e),a=g(e,t);return a?a.value=r:(i.last=a={index:o=h(t,!0),key:t,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=a),n&&(n.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},g=function(e,t){var r,n=y(e),o=h(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===t)return r};return i(p,{clear:function(){for(var e=y(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=null),t=t.next;e.first=e.last=null,e.index=n(null),d?e.size=0:this.size=0},delete:function(e){var t=this,r=y(t),n=g(t,e);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),d?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=y(this),n=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(p,r?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return b(this,0===e?0:e,t)}}:{add:function(e){return b(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return y(this).size}}),f},setStrong:function(e,t,r){var n=t+" Iterator",o=m(t),i=m(n);l(e,t,(function(e,t){v(this,{type:n,target:e,state:o(e),kind:t,last:null})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?f("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=null,f(void 0,!0))}),r?"entries":"values",!r,!0),p(t)}}},91625:function(e,t,r){"use strict";var n=r(79504),o=r(56279),i=r(3451).getWeakData,a=r(90679),u=r(28551),c=r(64117),s=r(20034),l=r(72652),f=r(59213),p=r(39297),d=r(91181),h=d.set,y=d.getterFor,v=f.find,m=f.findIndex,b=n([].splice),g=0,w=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},_=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};E.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var r=_(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&b(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var f=e((function(e,o){a(e,d),h(e,{type:t,id:g++,frozen:null}),c(o)||l(o,e[n],{that:e,AS_ENTRIES:r})})),d=f.prototype,v=y(t),m=function(e,t,r){var n=v(e),o=i(u(t),!0);return!0===o?w(n).set(t,r):o[n.id]=r,e};return o(d,{delete:function(e){var t=v(this);if(!s(e))return!1;var r=i(e);return!0===r?w(t).delete(e):r&&p(r,t.id)&&delete r[t.id]},has:function(e){var t=v(this);if(!s(e))return!1;var r=i(e);return!0===r?w(t).has(e):r&&p(r,t.id)}}),o(d,r?{get:function(e){var t=v(this);if(s(e)){var r=i(e);if(!0===r)return w(t).get(e);if(r)return r[t.id]}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),f}}},16468:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(79504),a=r(92796),u=r(36840),c=r(3451),s=r(72652),l=r(90679),f=r(94901),p=r(64117),d=r(20034),h=r(79039),y=r(84428),v=r(10687),m=r(23167);e.exports=function(e,t,r){var b=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),w=b?"set":"add",E=o[e],_=E&&E.prototype,S=E,O={},x=function(e){var t=i(_[e]);u(_,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(g&&!d(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return g&&!d(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(g&&!d(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(a(e,!f(E)||!(g||_.forEach&&!h((function(){(new E).entries().next()})))))S=r.getConstructor(t,e,b,w),c.enable();else if(a(e,!0)){var T=new S,P=T[w](g?{}:-0,1)!==T,j=h((function(){T.has(1)})),k=y((function(e){new E(e)})),L=!g&&h((function(){for(var e=new E,t=5;t--;)e[w](t,t);return!e.has(-0)}));k||((S=t((function(e,t){l(e,_);var r=m(new E,e,S);return p(t)||s(t,r[w],{that:r,AS_ENTRIES:b}),r}))).prototype=_,_.constructor=S),(j||L)&&(x("delete"),x("has"),b&&x("get")),(L||P)&&x(w),g&&_.clear&&delete _.clear}return O[e]=S,n({global:!0,constructor:!0,forced:S!==E},O),v(S,e),g||r.setStrong(S,e,b),S}},77740:function(e,t,r){"use strict";var n=r(39297),o=r(35031),i=r(77347),a=r(24913);e.exports=function(e,t,r){for(var u=o(t),c=a.f,s=i.f,l=0;l<u.length;l++){var f=u[l];n(e,f)||r&&n(r,f)||c(e,f,s(t,f))}}},41436:function(e,t,r){"use strict";var n=r(78227)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},12211:function(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:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},66699:function(e,t,r){"use strict";var n=r(43724),o=r(24913),i=r(6980);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},6980:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},97040:function(e,t,r){"use strict";var n=r(43724),o=r(24913),i=r(6980);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},53640:function(e,t,r){"use strict";var n=r(28551),o=r(84270),i=TypeError;e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},62106:function(e,t,r){"use strict";var n=r(50283),o=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}),o.f(e,t,r)}},36840:function(e,t,r){"use strict";var n=r(94901),o=r(24913),i=r(50283),a=r(39433);e.exports=function(e,t,r,u){u||(u={});var c=u.enumerable,s=void 0!==u.name?u.name:t;if(n(r)&&i(r,s,u),u.global)c?e[t]=r:a(t,r);else{try{u.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return e}},56279:function(e,t,r){"use strict";var n=r(36840);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},39433:function(e,t,r){"use strict";var n=r(44576),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},84606:function(e,t,r){"use strict";var n=r(16823),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+n(t)+" of "+n(e))}},43724:function(e,t,r){"use strict";var n=r(79039);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:function(e,t,r){"use strict";var n=r(44576),o=r(20034),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},96837:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},67400:function(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:function(e,t,r){"use strict";var n=r(4055)("span").classList,o=n&&n.constructor&&n.constructor.prototype;e.exports=o===Object.prototype?void 0:o},88727:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},13709:function(e,t,r){"use strict";var n=r(82839).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},13763:function(e,t,r){"use strict";var n=r(82839);e.exports=/MSIE|Trident/.test(n)},82839:function(e,t,r){"use strict";var n=r(44576).navigator,o=n&&n.userAgent;e.exports=o?String(o):""},39519:function(e,t,r){"use strict";var n,o,i=r(44576),a=r(82839),u=i.process,c=i.Deno,s=u&&u.versions||c&&c.version,l=s&&s.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},3607:function(e,t,r){"use strict";var n=r(82839).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},84215:function(e,t,r){"use strict";var n=r(44576),o=r(82839),i=r(22195),a=function(e){return o.slice(0,e.length)===e};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},46518:function(e,t,r){"use strict";var n=r(44576),o=r(77347).f,i=r(66699),a=r(36840),u=r(39433),c=r(77740),s=r(92796);e.exports=function(e,t){var r,l,f,p,d,h=e.target,y=e.global,v=e.stat;if(r=y?n:v?n[h]||u(h,{}):n[h]&&n[h].prototype)for(l in t){if(p=t[l],f=e.dontCallGetSet?(d=o(r,l))&&d.value:r[l],!s(y?l:h+(v?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(r,l,p,e)}}},79039:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},89228:function(e,t,r){"use strict";r(27495);var n=r(69565),o=r(36840),i=r(57323),a=r(79039),u=r(78227),c=r(66699),s=u("species"),l=RegExp.prototype;e.exports=function(e,t,r,f){var p=u(e),d=!a((function(){var t={};return t[p]=function(){return 7},7!==""[e](t)})),h=d&&!a((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[s]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return t=!0,null},r[p](""),!t}));if(!d||!h||r){var y=/./[p],v=t(p,""[e],(function(e,t,r,o,a){var u=t.exec;return u===i||u===l.exec?d&&!a?{done:!0,value:n(y,t,r,o)}:{done:!0,value:n(e,r,t,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(l,p,v[1])}f&&c(l[p],"sham",!0)}},70259:function(e,t,r){"use strict";var n=r(34376),o=r(26198),i=r(96837),a=r(76080),u=function(e,t,r,c,s,l,f,p){for(var d,h,y=s,v=0,m=!!f&&a(f,p);v<c;)v in r&&(d=m?m(r[v],v,t):r[v],l>0&&n(d)?(h=o(d),y=u(e,t,d,h,y,l-1)-1):(i(y+1),e[y]=d),y++),v++;return y};e.exports=u},92744:function(e,t,r){"use strict";var n=r(79039);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},18745:function(e,t,r){"use strict";var n=r(40616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},76080:function(e,t,r){"use strict";var n=r(27476),o=r(79306),i=r(40616),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},40616:function(e,t,r){"use strict";var n=r(79039);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},30566:function(e,t,r){"use strict";var n=r(79504),o=r(79306),i=r(20034),a=r(39297),u=r(67680),c=r(40616),s=Function,l=n([].concat),f=n([].join),p={};e.exports=c?s.bind:function(e){var t=o(this),r=t.prototype,n=u(arguments,1),c=function(){var r=l(n,u(arguments));return this instanceof c?function(e,t,r){if(!a(p,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";p[t]=s("C,a","return new C("+f(n,",")+")")}return p[t](e,r)}(t,r.length,r):t.apply(e,r)};return i(r)&&(c.prototype=r),c}},69565:function(e,t,r){"use strict";var n=r(40616),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},10350:function(e,t,r){"use strict";var n=r(43724),o=r(39297),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},46706:function(e,t,r){"use strict";var n=r(79504),o=r(79306);e.exports=function(e,t,r){try{return n(o(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},27476:function(e,t,r){"use strict";var n=r(22195),o=r(79504);e.exports=function(e){if("Function"===n(e))return o(e)}},79504:function(e,t,r){"use strict";var n=r(40616),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},97751:function(e,t,r){"use strict";var n=r(44576),o=r(94901);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},50851:function(e,t,r){"use strict";var n=r(36955),o=r(55966),i=r(64117),a=r(26269),u=r(78227)("iterator");e.exports=function(e){if(!i(e))return o(e,u)||o(e,"@@iterator")||a[n(e)]}},70081:function(e,t,r){"use strict";var n=r(69565),o=r(79306),i=r(28551),a=r(16823),u=r(50851),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(o(r))return i(n(r,e));throw new c(a(e)+" is not iterable")}},66933:function(e,t,r){"use strict";var n=r(79504),o=r(34376),i=r(94901),a=r(22195),u=r(655),c=n([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,r=[],n=0;n<t;n++){var s=e[n];"string"==typeof s?c(r,s):"number"!=typeof s&&"Number"!==a(s)&&"String"!==a(s)||c(r,u(s))}var l=r.length,f=!0;return function(e,t){if(f)return f=!1,t;if(o(this))return t;for(var n=0;n<l;n++)if(r[n]===e)return t}}}},55966:function(e,t,r){"use strict";var n=r(79306),o=r(64117);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},2478:function(e,t,r){"use strict";var n=r(79504),o=r(48981),i=Math.floor,a=n("".charAt),u=n("".replace),c=n("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,p){var d=r+e.length,h=n.length,y=l;return void 0!==f&&(f=o(f),y=s),u(p,y,(function(o,u){var s;switch(a(u,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,d);case"<":s=f[c(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>h){var p=i(l/10);return 0===p?o:p<=h?void 0===n[p-1]?a(u,1):n[p-1]+a(u,1):o}s=n[l-1]}return void 0===s?"":s}))}},44576:function(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:function(e,t,r){"use strict";var n=r(79504),o=r(48981),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},30421:function(e){"use strict";e.exports={}},20397:function(e,t,r){"use strict";var n=r(97751);e.exports=n("document","documentElement")},35917:function(e,t,r){"use strict";var n=r(43724),o=r(79039),i=r(4055);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},88490:function(e){"use strict";var t=Array,r=Math.abs,n=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,u,c){var s,l,f,p=t(c),d=8*c-u-1,h=(1<<d)-1,y=h>>1,v=23===u?n(2,-24)-n(2,-77):0,m=e<0||0===e&&1/e<0?1:0,b=0;for((e=r(e))!=e||e===1/0?(l=e!=e?1:0,s=h):(s=o(i(e)/a),e*(f=n(2,-s))<1&&(s--,f*=2),(e+=s+y>=1?v/f:v*n(2,1-y))*f>=2&&(s++,f/=2),s+y>=h?(l=0,s=h):s+y>=1?(l=(e*f-1)*n(2,u),s+=y):(l=e*n(2,y-1)*n(2,u),s=0));u>=8;)p[b++]=255&l,l/=256,u-=8;for(s=s<<u|l,d+=u;d>0;)p[b++]=255&s,s/=256,d-=8;return p[b-1]|=128*m,p},unpack:function(e,t){var r,o=e.length,i=8*o-t-1,a=(1<<i)-1,u=a>>1,c=i-7,s=o-1,l=e[s--],f=127&l;for(l>>=7;c>0;)f=256*f+e[s--],c-=8;for(r=f&(1<<-c)-1,f>>=-c,c+=t;c>0;)r=256*r+e[s--],c-=8;if(0===f)f=1-u;else{if(f===a)return r?NaN:l?-1/0:1/0;r+=n(2,t),f-=u}return(l?-1:1)*r*n(2,f-t)}}},47055:function(e,t,r){"use strict";var n=r(79504),o=r(79039),i=r(22195),a=Object,u=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?u(e,""):a(e)}:a},23167:function(e,t,r){"use strict";var n=r(94901),o=r(20034),i=r(52967);e.exports=function(e,t,r){var a,u;return i&&n(a=t.constructor)&&a!==r&&o(u=a.prototype)&&u!==r.prototype&&i(e,u),e}},33706:function(e,t,r){"use strict";var n=r(79504),o=r(94901),i=r(77629),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(30421),a=r(20034),u=r(39297),c=r(24913).f,s=r(38480),l=r(10298),f=r(34124),p=r(33392),d=r(92744),h=!1,y=p("meta"),v=0,m=function(e){c(e,y,{value:{objectID:"O"+v++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},h=!0;var e=s.f,t=o([].splice),r={};r[y]=1,e(r).length&&(s.f=function(r){for(var n=e(r),o=0,i=n.length;o<i;o++)if(n[o]===y){t(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!u(e,y)){if(!f(e))return"F";if(!t)return"E";m(e)}return e[y].objectID},getWeakData:function(e,t){if(!u(e,y)){if(!f(e))return!0;if(!t)return!1;m(e)}return e[y].weakData},onFreeze:function(e){return d&&h&&f(e)&&!u(e,y)&&m(e),e}};i[y]=!0},91181:function(e,t,r){"use strict";var n,o,i,a=r(58622),u=r(44576),c=r(20034),s=r(66699),l=r(39297),f=r(77629),p=r(66119),d=r(30421),h="Object already initialized",y=u.TypeError,v=u.WeakMap;if(a||f.state){var m=f.state||(f.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,n=function(e,t){if(m.has(e))throw new y(h);return t.facade=e,m.set(e,t),t},o=function(e){return m.get(e)||{}},i=function(e){return m.has(e)}}else{var b=p("state");d[b]=!0,n=function(e,t){if(l(e,b))throw new y(h);return t.facade=e,s(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new y("Incompatible receiver, "+e+" required");return r}}}},44209:function(e,t,r){"use strict";var n=r(78227),o=r(26269),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},34376:function(e,t,r){"use strict";var n=r(22195);e.exports=Array.isArray||function(e){return"Array"===n(e)}},18727:function(e,t,r){"use strict";var n=r(36955);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},94901:function(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:function(e,t,r){"use strict";var n=r(79504),o=r(79039),i=r(94901),a=r(36955),u=r(97751),c=r(33706),s=function(){},l=u("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=n(f.exec),d=!f.test(s),h=function(e){if(!i(e))return!1;try{return l(s,[],e),!0}catch(e){return!1}},y=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};y.sham=!0,e.exports=!l||o((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?y:h},16575:function(e,t,r){"use strict";var n=r(39297);e.exports=function(e){return void 0!==e&&(n(e,"value")||n(e,"writable"))}},92796:function(e,t,r){"use strict";var n=r(79039),o=r(94901),i=/#|\.prototype\./,a=function(e,t){var r=c[u(e)];return r===l||r!==s&&(o(t)?n(t):!!t)},u=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},2087:function(e,t,r){"use strict";var n=r(20034),o=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&o(e)===e}},64117:function(e){"use strict";e.exports=function(e){return null==e}},20034:function(e,t,r){"use strict";var n=r(94901);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},13925:function(e,t,r){"use strict";var n=r(20034);e.exports=function(e){return n(e)||null===e}},96395:function(e){"use strict";e.exports=!1},60788:function(e,t,r){"use strict";var n=r(20034),o=r(22195),i=r(78227)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===o(e))}},10757:function(e,t,r){"use strict";var n=r(97751),o=r(94901),i=r(1625),a=r(7040),u=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,u(e))}},72652:function(e,t,r){"use strict";var n=r(76080),o=r(69565),i=r(28551),a=r(16823),u=r(44209),c=r(26198),s=r(1625),l=r(70081),f=r(50851),p=r(9539),d=TypeError,h=function(e,t){this.stopped=e,this.result=t},y=h.prototype;e.exports=function(e,t,r){var v,m,b,g,w,E,_,S=r&&r.that,O=!(!r||!r.AS_ENTRIES),x=!(!r||!r.IS_RECORD),T=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),j=n(t,S),k=function(e){return v&&p(v,"normal",e),new h(!0,e)},L=function(e){return O?(i(e),P?j(e[0],e[1],k):j(e[0],e[1])):P?j(e,k):j(e)};if(x)v=e.iterator;else if(T)v=e;else{if(!(m=f(e)))throw new d(a(e)+" is not iterable");if(u(m)){for(b=0,g=c(e);g>b;b++)if((w=L(e[b]))&&s(y,w))return w;return new h(!1)}v=l(e,m)}for(E=x?e.next:v.next;!(_=o(E,v)).done;){try{w=L(_.value)}catch(e){p(v,"throw",e)}if("object"==typeof w&&w&&s(y,w))return w}return new h(!1)}},9539:function(e,t,r){"use strict";var n=r(69565),o=r(28551),i=r(55966);e.exports=function(e,t,r){var a,u;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){u=!0,a=e}if("throw"===t)throw r;if(u)throw a;return o(a),r}},33994:function(e,t,r){"use strict";var n=r(57657).IteratorPrototype,o=r(2360),i=r(6980),a=r(10687),u=r(26269),c=function(){return this};e.exports=function(e,t,r,s){var l=t+" Iterator";return e.prototype=o(n,{next:i(+!s,r)}),a(e,l,!1,!0),u[l]=c,e}},51088:function(e,t,r){"use strict";var n=r(46518),o=r(69565),i=r(96395),a=r(10350),u=r(94901),c=r(33994),s=r(42787),l=r(52967),f=r(10687),p=r(66699),d=r(36840),h=r(78227),y=r(26269),v=r(57657),m=a.PROPER,b=a.CONFIGURABLE,g=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,E=h("iterator"),_="keys",S="values",O="entries",x=function(){return this};e.exports=function(e,t,r,a,h,v,T){c(r,t,a);var P,j,k,L=function(e){if(e===h&&M)return M;if(!w&&e&&e in A)return A[e];switch(e){case _:case S:case O:return function(){return new r(this,e)}}return function(){return new r(this)}},I=t+" Iterator",C=!1,A=e.prototype,N=A[E]||A["@@iterator"]||h&&A[h],M=!w&&N||L(h),R="Array"===t&&A.entries||N;if(R&&(P=s(R.call(new e)))!==Object.prototype&&P.next&&(i||s(P)===g||(l?l(P,g):u(P[E])||d(P,E,x)),f(P,I,!0,!0),i&&(y[I]=x)),m&&h===S&&N&&N.name!==S&&(!i&&b?p(A,"name",S):(C=!0,M=function(){return o(N,this)})),h)if(j={values:L(S),keys:v?M:L(_),entries:L(O)},T)for(k in j)(w||C||!(k in A))&&d(A,k,j[k]);else n({target:t,proto:!0,forced:w||C},j);return i&&!T||A[E]===M||d(A,E,M,{name:h}),y[t]=M,j}},57657:function(e,t,r){"use strict";var n,o,i,a=r(79039),u=r(94901),c=r(20034),s=r(2360),l=r(42787),f=r(36840),p=r(78227),d=r(96395),h=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):y=!0),!c(n)||a((function(){var e={};return n[h].call(e)!==e}))?n={}:d&&(n=s(n)),u(n[h])||f(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},26269:function(e){"use strict";e.exports={}},26198:function(e,t,r){"use strict";var n=r(18014);e.exports=function(e){return n(e.length)}},50283:function(e,t,r){"use strict";var n=r(79504),o=r(79039),i=r(94901),a=r(39297),u=r(43724),c=r(10350).CONFIGURABLE,s=r(33706),l=r(91181),f=l.enforce,p=l.get,d=String,h=Object.defineProperty,y=n("".slice),v=n("".replace),m=n([].join),b=u&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),g=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===y(d(t),0,7)&&(t="["+v(d(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(u?h(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&a(r,"arity")&&e.length!==r.arity&&h(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?u&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return a(n,"source")||(n.source=m(g,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&p(this).source||s(this)}),"toString")},33164:function(e,t,r){"use strict";var n=r(77782),o=r(53602),i=Math.abs;e.exports=function(e,t,r,a){var u=+e,c=i(u),s=n(u);if(c<a)return s*o(c/a/t)*a*t;var l=(1+t/2220446049250313e-31)*c,f=l-(l-c);return f>r||f!=f?s*(1/0):s*f}},15617:function(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:function(e){"use strict";var t=4503599627370496;e.exports=function(e){return e+t-t}},77782:function(e){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},80741:function(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)}},60511:function(e,t,r){"use strict";var n=r(60788),o=TypeError;e.exports=function(e){if(n(e))throw new o("The method doesn't accept regular expressions");return e}},44213:function(e,t,r){"use strict";var n=r(43724),o=r(79504),i=r(69565),a=r(79039),u=r(71072),c=r(33717),s=r(48773),l=r(48981),f=r(47055),p=Object.assign,d=Object.defineProperty,h=o([].concat);e.exports=!p||a((function(){if(n&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!==p({},e)[r]||u(p({},t)).join("")!==o}))?function(e,t){for(var r=l(e),o=arguments.length,a=1,p=c.f,d=s.f;o>a;)for(var y,v=f(arguments[a++]),m=p?h(u(v),p(v)):u(v),b=m.length,g=0;b>g;)y=m[g++],n&&!i(d,v,y)||(r[y]=v[y]);return r}:p},2360:function(e,t,r){"use strict";var n,o=r(28551),i=r(96801),a=r(88727),u=r(30421),c=r(20397),s=r(4055),l=r(66119),f="prototype",p="script",d=l("IE_PROTO"),h=function(){},y=function(e){return"<"+p+">"+e+"</"+p+">"},v=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;m="undefined"!=typeof document?document.domain&&n?v(n):(t=s("iframe"),r="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(y("document.F=Object")),e.close(),e.F):v(n);for(var o=a.length;o--;)delete m[f][a[o]];return m()};u[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h[f]=o(e),r=new h,h[f]=null,r[d]=e):r=m(),void 0===t?r:i.f(r,t)}},96801:function(e,t,r){"use strict";var n=r(43724),o=r(48686),i=r(24913),a=r(28551),u=r(25397),c=r(71072);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);for(var r,n=u(t),o=c(t),s=o.length,l=0;s>l;)i.f(e,r=o[l++],n[r]);return e}},24913:function(e,t,r){"use strict";var n=r(43724),o=r(35917),i=r(48686),a=r(28551),u=r(56969),c=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";t.f=n?i?function(e,t,r){if(a(e),t=u(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=l(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return s(e,t,r)}:s:function(e,t,r){if(a(e),t=u(t),a(r),o)try{return s(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:function(e,t,r){"use strict";var n=r(43724),o=r(69565),i=r(48773),a=r(6980),u=r(25397),c=r(56969),s=r(39297),l=r(35917),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=u(e),t=c(t),l)try{return f(e,t)}catch(e){}if(s(e,t))return a(!o(i.f,e,t),e[t])}},10298:function(e,t,r){"use strict";var n=r(22195),o=r(25397),i=r(38480).f,a=r(67680),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return u&&"Window"===n(e)?function(e){try{return i(e)}catch(e){return a(u)}}(e):i(o(e))}},38480:function(e,t,r){"use strict";var n=r(61828),o=r(88727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},33717:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},42787:function(e,t,r){"use strict";var n=r(39297),o=r(94901),i=r(48981),a=r(66119),u=r(12211),c=a("IE_PROTO"),s=Object,l=s.prototype;e.exports=u?s.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof s?l:null}},34124:function(e,t,r){"use strict";var n=r(79039),o=r(20034),i=r(22195),a=r(15652),u=Object.isExtensible,c=n((function(){u(1)}));e.exports=c||a?function(e){return!!o(e)&&(!a||"ArrayBuffer"!==i(e))&&(!u||u(e))}:u},1625:function(e,t,r){"use strict";var n=r(79504);e.exports=n({}.isPrototypeOf)},61828:function(e,t,r){"use strict";var n=r(79504),o=r(39297),i=r(25397),a=r(19617).indexOf,u=r(30421),c=n([].push);e.exports=function(e,t){var r,n=i(e),s=0,l=[];for(r in n)!o(u,r)&&o(n,r)&&c(l,r);for(;t.length>s;)o(n,r=t[s++])&&(~a(l,r)||c(l,r));return l}},71072:function(e,t,r){"use strict";var n=r(61828),o=r(88727);e.exports=Object.keys||function(e){return n(e,o)}},48773:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},52967:function(e,t,r){"use strict";var n=r(46706),o=r(20034),i=r(67750),a=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 i(r),a(n),o(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},32357:function(e,t,r){"use strict";var n=r(43724),o=r(79039),i=r(79504),a=r(42787),u=r(71072),c=r(25397),s=i(r(48773).f),l=i([].push),f=n&&o((function(){var e=Object.create(null);return e[2]=2,!s(e,2)})),p=function(e){return function(t){for(var r,o=c(t),i=u(o),p=f&&null===a(o),d=i.length,h=0,y=[];d>h;)r=i[h++],n&&!(p?r in o:s(o,r))||l(y,e?[r,o[r]]:o[r]);return y}};e.exports={entries:p(!0),values:p(!1)}},53179:function(e,t,r){"use strict";var n=r(92140),o=r(36955);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},84270:function(e,t,r){"use strict";var n=r(69565),o=r(94901),i=r(20034),a=TypeError;e.exports=function(e,t){var r,u;if("string"===t&&o(r=e.toString)&&!i(u=n(r,e)))return u;if(o(r=e.valueOf)&&!i(u=n(r,e)))return u;if("string"!==t&&o(r=e.toString)&&!i(u=n(r,e)))return u;throw new a("Can't convert object to primitive value")}},35031:function(e,t,r){"use strict";var n=r(97751),o=r(79504),i=r(38480),a=r(33717),u=r(28551),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(u(e)),r=a.f;return r?c(t,r(e)):t}},19167:function(e,t,r){"use strict";var n=r(44576);e.exports=n},11056:function(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:function(e,t,r){"use strict";var n=r(69565),o=r(28551),i=r(94901),a=r(22195),u=r(57323),c=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var s=n(r,e,t);return null!==s&&o(s),s}if("RegExp"===a(e))return n(u,e,t);throw new c("RegExp#exec called on incompatible receiver")}},57323:function(e,t,r){"use strict";var n,o,i=r(69565),a=r(79504),u=r(655),c=r(67979),s=r(58429),l=r(25745),f=r(2360),p=r(91181).get,d=r(83635),h=r(18814),y=l("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,m=v,b=a("".charAt),g=a("".indexOf),w=a("".replace),E=a("".slice),_=(o=/b*/g,i(v,n=/a/,"a"),i(v,o,"a"),0!==n.lastIndex||0!==o.lastIndex),S=s.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(_||O||S||d||h)&&(m=function(e){var t,r,n,o,a,s,l,d=this,h=p(d),x=u(e),T=h.raw;if(T)return T.lastIndex=d.lastIndex,t=i(m,T,x),d.lastIndex=T.lastIndex,t;var P=h.groups,j=S&&d.sticky,k=i(c,d),L=d.source,I=0,C=x;if(j&&(k=w(k,"y",""),-1===g(k,"g")&&(k+="g"),C=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==b(x,d.lastIndex-1))&&(L="(?: "+L+")",C=" "+C,I++),r=new RegExp("^(?:"+L+")",k)),O&&(r=new RegExp("^"+L+"$(?!\\s)",k)),_&&(n=d.lastIndex),o=i(v,j?r:d,C),j?o?(o.input=E(o.input,I),o[0]=E(o[0],I),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:_&&o&&(d.lastIndex=d.global?o.index+o[0].length:n),O&&o&&o.length>1&&i(y,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&P)for(o.groups=s=f(null),a=0;a<P.length;a++)s[(l=P[a])[0]]=o[l[1]];return o}),e.exports=m},67979:function(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:function(e,t,r){"use strict";var n=r(69565),o=r(39297),i=r(1625),a=r(67979),u=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in u||o(e,"flags")||!i(u,e)?t:n(a,e)}},58429:function(e,t,r){"use strict";var n=r(79039),o=r(44576).RegExp,i=n((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),u=i||n((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:u,MISSED_STICKY:a,UNSUPPORTED_Y:i}},83635:function(e,t,r){"use strict";var n=r(79039),o=r(44576).RegExp;e.exports=n((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},18814:function(e,t,r){"use strict";var n=r(79039),o=r(44576).RegExp;e.exports=n((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},67750:function(e,t,r){"use strict";var n=r(64117),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},93389:function(e,t,r){"use strict";var n=r(44576),o=r(43724),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!o)return n[e];var t=i(n,e);return t&&t.value}},3470:function(e){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},79472:function(e,t,r){"use strict";var n,o=r(44576),i=r(18745),a=r(94901),u=r(84215),c=r(82839),s=r(67680),l=r(22812),f=o.Function,p=/MSIE .\./.test(c)||"BUN"===u&&((n=o.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));e.exports=function(e,t){var r=t?2:1;return p?function(n,o){var u=l(arguments.length,1)>r,c=a(n)?n:f(n),p=u?s(arguments,r):[],d=u?function(){i(c,this,p)}:c;return t?e(d,o):e(d)}:e}},87633:function(e,t,r){"use strict";var n=r(97751),o=r(62106),i=r(78227),a=r(43724),u=i("species");e.exports=function(e){var t=n(e);a&&t&&!t[u]&&o(t,u,{configurable:!0,get:function(){return this}})}},10687:function(e,t,r){"use strict";var n=r(24913).f,o=r(39297),i=r(78227)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,i)&&n(e,i,{configurable:!0,value:t})}},66119:function(e,t,r){"use strict";var n=r(25745),o=r(33392),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},77629:function(e,t,r){"use strict";var n=r(96395),o=r(44576),i=r(39433),a="__core-js_shared__",u=e.exports=o[a]||i(a,{});(u.versions||(u.versions=[])).push({version:"3.40.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"})},25745:function(e,t,r){"use strict";var n=r(77629);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},68183:function(e,t,r){"use strict";var n=r(79504),o=r(91291),i=r(655),a=r(67750),u=n("".charAt),c=n("".charCodeAt),s=n("".slice),l=function(e){return function(t,r){var n,l,f=i(a(t)),p=o(r),d=f.length;return p<0||p>=d?e?"":void 0:(n=c(f,p))<55296||n>56319||p+1===d||(l=c(f,p+1))<56320||l>57343?e?u(f,p):n:e?s(f,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},3717:function(e,t,r){"use strict";var n=r(79504),o=2147483647,i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,u="Overflow: input needs wider integers to process",c=RangeError,s=n(a.exec),l=Math.floor,f=String.fromCharCode,p=n("".charCodeAt),d=n([].join),h=n([].push),y=n("".replace),v=n("".split),m=n("".toLowerCase),b=function(e){return e+22+75*(e<26)},g=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=p(e,r++);if(o>=55296&&o<=56319&&r<n){var i=p(e,r++);56320==(64512&i)?h(t,((1023&o)<<10)+(1023&i)+65536):(h(t,o),r--)}else h(t,o)}return t}(e);var r,n,i=e.length,a=128,s=0,y=72;for(r=0;r<e.length;r++)(n=e[r])<128&&h(t,f(n));var v=t.length,m=v;for(v&&h(t,"-");m<i;){var w=o;for(r=0;r<e.length;r++)(n=e[r])>=a&&n<w&&(w=n);var E=m+1;if(w-a>l((o-s)/E))throw new c(u);for(s+=(w-a)*E,a=w,r=0;r<e.length;r++){if((n=e[r])<a&&++s>o)throw new c(u);if(n===a){for(var _=s,S=36;;){var O=S<=y?1:S>=y+26?26:S-y;if(_<O)break;var x=_-O,T=36-O;h(t,f(b(O+x%T))),_=l(x/T),S+=36}h(t,f(b(_))),y=g(s,E,m===v),s=0,m++}}s++,a++}return d(t,"")};e.exports=function(e){var t,r,n=[],o=v(y(m(e),a,"."),".");for(t=0;t<o.length;t++)r=o[t],h(n,s(i,r)?"xn--"+w(r):r);return d(n,".")}},60706:function(e,t,r){"use strict";var n=r(10350).PROPER,o=r(79039),i=r(47452);e.exports=function(e){return o((function(){return!!i[e]()||"
"!=="
"[e]()||n&&i[e].name!==e}))}},43802:function(e,t,r){"use strict";var n=r(79504),o=r(67750),i=r(655),a=r(47452),u=n("".replace),c=RegExp("^["+a+"]+"),s=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(e){return function(t){var r=i(o(t));return 1&e&&(r=u(r,c,"")),2&e&&(r=u(r,s,"$1")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},4495:function(e,t,r){"use strict";var n=r(39519),o=r(79039),i=r(44576).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},58242:function(e,t,r){"use strict";var n=r(69565),o=r(97751),i=r(78227),a=r(36840);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,u=i("toPrimitive");t&&!t[u]&&a(t,u,(function(e){return n(r,this)}),{arity:1})}},91296:function(e,t,r){"use strict";var n=r(4495);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},31240:function(e,t,r){"use strict";var n=r(79504);e.exports=n(1..valueOf)},35610:function(e,t,r){"use strict";var n=r(91291),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},75854:function(e,t,r){"use strict";var n=r(72777),o=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new o("Can't convert number to bigint");return BigInt(t)}},57696:function(e,t,r){"use strict";var n=r(91291),o=r(18014),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=o(t);if(t!==r)throw new i("Wrong length or index");return r}},25397:function(e,t,r){"use strict";var n=r(47055),o=r(67750);e.exports=function(e){return n(o(e))}},91291:function(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:function(e,t,r){"use strict";var n=r(91291),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},48981:function(e,t,r){"use strict";var n=r(67750),o=Object;e.exports=function(e){return o(n(e))}},58229:function(e,t,r){"use strict";var n=r(99590),o=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new o("Wrong offset");return r}},99590:function(e,t,r){"use strict";var n=r(91291),o=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new o("The argument can't be less than 0");return t}},72777:function(e,t,r){"use strict";var n=r(69565),o=r(20034),i=r(10757),a=r(55966),u=r(84270),c=r(78227),s=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,c=a(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||i(r))return r;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},56969:function(e,t,r){"use strict";var n=r(72777),o=r(10757);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},92140:function(e,t,r){"use strict";var n={};n[r(78227)("toStringTag")]="z",e.exports="[object z]"===String(n)},655:function(e,t,r){"use strict";var n=r(36955),o=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},58319:function(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:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},15823:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(69565),a=r(43724),u=r(72805),c=r(94644),s=r(66346),l=r(90679),f=r(6980),p=r(66699),d=r(2087),h=r(18014),y=r(57696),v=r(58229),m=r(58319),b=r(56969),g=r(39297),w=r(36955),E=r(20034),_=r(10757),S=r(2360),O=r(1625),x=r(52967),T=r(38480).f,P=r(43251),j=r(59213).forEach,k=r(87633),L=r(62106),I=r(24913),C=r(77347),A=r(35370),N=r(91181),M=r(23167),R=N.get,D=N.set,U=N.enforce,F=I.f,W=C.f,z=o.RangeError,B=s.ArrayBuffer,V=B.prototype,Y=s.DataView,G=c.NATIVE_ARRAY_BUFFER_VIEWS,H=c.TYPED_ARRAY_TAG,Q=c.TypedArray,q=c.TypedArrayPrototype,K=c.isTypedArray,$="BYTES_PER_ELEMENT",X="Wrong length",J=function(e,t){L(e,t,{configurable:!0,get:function(){return R(this)[t]}})},Z=function(e){var t;return O(V,e)||"ArrayBuffer"===(t=w(e))||"SharedArrayBuffer"===t},ee=function(e,t){return K(e)&&!_(t)&&t in e&&d(+t)&&t>=0},te=function(e,t){return t=b(t),ee(e,t)?f(2,e[t]):W(e,t)},re=function(e,t,r){return t=b(t),!(ee(e,t)&&E(r)&&g(r,"value"))||g(r,"get")||g(r,"set")||r.configurable||g(r,"writable")&&!r.writable||g(r,"enumerable")&&!r.enumerable?F(e,t,r):(e[t]=r.value,e)};a?(G||(C.f=te,I.f=re,J(q,"buffer"),J(q,"byteOffset"),J(q,"byteLength"),J(q,"length")),n({target:"Object",stat:!0,forced:!G},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var a=e.match(/\d+/)[0]/8,c=e+(r?"Clamped":"")+"Array",s="get"+e,f="set"+e,d=o[c],b=d,g=b&&b.prototype,w={},_=function(e,t){F(e,t,{get:function(){return function(e,t){var r=R(e);return r.view[s](t*a+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var o=R(e);o.view[f](t*a+o.byteOffset,r?m(n):n,!0)}(this,t,e)},enumerable:!0})};G?u&&(b=t((function(e,t,r,n){return l(e,g),M(E(t)?Z(t)?void 0!==n?new d(t,v(r,a),n):void 0!==r?new d(t,v(r,a)):new d(t):K(t)?A(b,t):i(P,b,t):new d(y(t)),e,b)})),x&&x(b,Q),j(T(d),(function(e){e in b||p(b,e,d[e])})),b.prototype=g):(b=t((function(e,t,r,n){l(e,g);var o,u,c,s=0,f=0;if(E(t)){if(!Z(t))return K(t)?A(b,t):i(P,b,t);o=t,f=v(r,a);var p=t.byteLength;if(void 0===n){if(p%a)throw new z(X);if((u=p-f)<0)throw new z(X)}else if((u=h(n)*a)+f>p)throw new z(X);c=u/a}else c=y(t),o=new B(u=c*a);for(D(e,{buffer:o,byteOffset:f,byteLength:u,length:c,view:new Y(o)});s<c;)_(e,s++)})),x&&x(b,Q),g=b.prototype=S(q)),g.constructor!==b&&p(g,"constructor",b),U(g).TypedArrayConstructor=b,H&&p(g,H,c);var O=b!==d;w[c]=b,n({global:!0,constructor:!0,forced:O,sham:!G},w),$ in b||p(b,$,a),$ in g||p(g,$,a),k(c)}):e.exports=function(){}},72805:function(e,t,r){"use strict";var n=r(44576),o=r(79039),i=r(84428),a=r(94644).NATIVE_ARRAY_BUFFER_VIEWS,u=n.ArrayBuffer,c=n.Int8Array;e.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new u(2),1,void 0).length}))},29948:function(e,t,r){"use strict";var n=r(35370),o=r(94644).getTypedArrayConstructor;e.exports=function(e,t){return n(o(e),t)}},43251:function(e,t,r){"use strict";var n=r(76080),o=r(69565),i=r(35548),a=r(48981),u=r(26198),c=r(70081),s=r(50851),l=r(44209),f=r(18727),p=r(94644).aTypedArrayConstructor,d=r(75854);e.exports=function(e){var t,r,h,y,v,m,b,g,w=i(this),E=a(e),_=arguments.length,S=_>1?arguments[1]:void 0,O=void 0!==S,x=s(E);if(x&&!l(x))for(g=(b=c(E,x)).next,E=[];!(m=o(g,b)).done;)E.push(m.value);for(O&&_>2&&(S=n(S,arguments[2])),r=u(E),h=new(p(w))(r),y=f(h),t=0;r>t;t++)v=O?S(E[t],t):E[t],h[t]=y?d(v):+v;return h}},33392:function(e,t,r){"use strict";var n=r(79504),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},67416:function(e,t,r){"use strict";var n=r(79039),o=r(78227),i=r(43724),a=r(96395),u=o("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),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(a||!i)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[u]||"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:function(e,t,r){"use strict";var n=r(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686:function(e,t,r){"use strict";var n=r(43724),o=r(79039);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},22812:function(e){"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},58622:function(e,t,r){"use strict";var n=r(44576),o=r(94901),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},70511:function(e,t,r){"use strict";var n=r(19167),o=r(39297),i=r(1951),a=r(24913).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},1951:function(e,t,r){"use strict";var n=r(78227);t.f=n},78227:function(e,t,r){"use strict";var n=r(44576),o=r(25745),i=r(39297),a=r(33392),u=r(4495),c=r(7040),s=n.Symbol,l=o("wks"),f=c?s.for||s:s&&s.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=u&&i(s,e)?s[e]:f("Symbol."+e)),l[e]}},47452:function(e){"use strict";e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},54743:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(66346),a=r(87633),u="ArrayBuffer",c=i[u];n({global:!0,constructor:!0,forced:o[u]!==c},{ArrayBuffer:c}),a(u)},11745:function(e,t,r){"use strict";var n=r(46518),o=r(27476),i=r(79039),a=r(66346),u=r(28551),c=r(35610),s=r(18014),l=a.ArrayBuffer,f=a.DataView,p=f.prototype,d=o(l.prototype.slice),h=o(p.getUint8),y=o(p.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new l(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(d&&void 0===t)return d(u(this),e);for(var r=u(this).byteLength,n=c(e,r),o=c(void 0===t?r:t,r),i=new l(s(o-n)),a=new f(this),p=new f(i),v=0;n<o;)y(p,v++,h(a,n++));return i}})},28706:function(e,t,r){"use strict";var n=r(46518),o=r(79039),i=r(34376),a=r(20034),u=r(48981),c=r(26198),s=r(96837),l=r(97040),f=r(1469),p=r(70597),d=r(78227),h=r(39519),y=d("isConcatSpreadable"),v=h>=51||!o((function(){var e=[];return e[y]=!1,e.concat()[0]!==e})),m=function(e){if(!a(e))return!1;var t=e[y];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var t,r,n,o,i,a=u(this),p=f(a,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(m(i=-1===t?a:arguments[t]))for(o=c(i),s(d+o),r=0;r<o;r++,d++)r in i&&l(p,d,i[r]);else s(d+1),l(p,d++,i);return p.length=d,p}})},33771:function(e,t,r){"use strict";var n=r(46518),o=r(84373),i=r(6469);n({target:"Array",proto:!0},{fill:o}),i("fill")},2008:function(e,t,r){"use strict";var n=r(46518),o=r(59213).filter;n({target:"Array",proto:!0,forced:!r(70597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},48980:function(e,t,r){"use strict";var n=r(46518),o=r(59213).findIndex,i=r(6469),a="findIndex",u=!0;a in[]&&Array(1)[a]((function(){u=!1})),n({target:"Array",proto:!0,forced:u},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},50113:function(e,t,r){"use strict";var n=r(46518),o=r(59213).find,i=r(6469),a="find",u=!0;a in[]&&Array(1)[a]((function(){u=!1})),n({target:"Array",proto:!0,forced:u},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},78350:function(e,t,r){"use strict";var n=r(46518),o=r(70259),i=r(79306),a=r(48981),u=r(26198),c=r(1469);n({target:"Array",proto:!0},{flatMap:function(e){var t,r=a(this),n=u(r);return i(e),(t=c(r,0)).length=o(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},46449:function(e,t,r){"use strict";var n=r(46518),o=r(70259),i=r(48981),a=r(26198),u=r(91291),c=r(1469);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),r=a(t),n=c(t,0);return n.length=o(n,t,t,r,0,void 0===e?1:u(e)),n}})},51629:function(e,t,r){"use strict";var n=r(46518),o=r(90235);n({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},23418:function(e,t,r){"use strict";var n=r(46518),o=r(97916);n({target:"Array",stat:!0,forced:!r(84428)((function(e){Array.from(e)}))},{from:o})},74423:function(e,t,r){"use strict";var n=r(46518),o=r(19617).includes,i=r(79039),a=r(6469);n({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},64346:function(e,t,r){"use strict";r(46518)({target:"Array",stat:!0},{isArray:r(34376)})},23792:function(e,t,r){"use strict";var n=r(25397),o=r(6469),i=r(26269),a=r(91181),u=r(24913).f,c=r(51088),s=r(62529),l=r(96395),f=r(43724),p="Array Iterator",d=a.set,h=a.getterFor(p);e.exports=c(Array,"Array",(function(e,t){d(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,s(void 0,!0);switch(e.kind){case"keys":return s(r,!1);case"values":return s(t[r],!1)}return s([r,t[r]],!1)}),"values");var y=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==y.name)try{u(y,"name",{value:"values"})}catch(e){}},48598:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(47055),a=r(25397),u=r(34598),c=o([].join);n({target:"Array",proto:!0,forced:i!==Object||!u("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},62062:function(e,t,r){"use strict";var n=r(46518),o=r(59213).map;n({target:"Array",proto:!0,forced:!r(70597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},94490:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(34376),a=o([].reverse),u=[1,2];n({target:"Array",proto:!0,forced:String(u)===String(u.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},34782:function(e,t,r){"use strict";var n=r(46518),o=r(34376),i=r(33517),a=r(20034),u=r(35610),c=r(26198),s=r(25397),l=r(97040),f=r(78227),p=r(70597),d=r(67680),h=p("slice"),y=f("species"),v=Array,m=Math.max;n({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var r,n,f,p=s(this),h=c(p),b=u(e,h),g=u(void 0===t?h:t,h);if(o(p)&&(r=p.constructor,(i(r)&&(r===v||o(r.prototype))||a(r)&&null===(r=r[y]))&&(r=void 0),r===v||void 0===r))return d(p,b,g);for(n=new(void 0===r?v:r)(m(g-b,0)),f=0;b<g;b++,f++)b in p&&l(n,f,p[b]);return n.length=f,n}})},26910:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(79306),a=r(48981),u=r(26198),c=r(84606),s=r(655),l=r(79039),f=r(74488),p=r(34598),d=r(13709),h=r(13763),y=r(39519),v=r(3607),m=[],b=o(m.sort),g=o(m.push),w=l((function(){m.sort(void 0)})),E=l((function(){m.sort(null)})),_=p("sort"),S=!l((function(){if(y)return y<70;if(!(d&&d>3)){if(h)return!0;if(v)return v<603;var e,t,r,n,o="";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++)m.push({k:t+n,v:r})}for(m.sort((function(e,t){return t.v-e.v})),n=0;n<m.length;n++)t=m[n].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:w||!E||!_||!S},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(S)return void 0===e?b(t):b(t,e);var r,n,o=[],l=u(t);for(n=0;n<l;n++)n in t&&g(o,t[n]);for(f(o,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:s(t)>s(r)?1:-1}}(e)),r=u(o),n=0;n<r;)t[n]=o[n++];for(;n<l;)c(t,n++);return t}})},54554:function(e,t,r){"use strict";var n=r(46518),o=r(48981),i=r(35610),a=r(91291),u=r(26198),c=r(34527),s=r(96837),l=r(1469),f=r(97040),p=r(84606),d=r(70597)("splice"),h=Math.max,y=Math.min;n({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var r,n,d,v,m,b,g=o(this),w=u(g),E=i(e,w),_=arguments.length;for(0===_?r=n=0:1===_?(r=0,n=w-E):(r=_-2,n=y(h(a(t),0),w-E)),s(w+r-n),d=l(g,n),v=0;v<n;v++)(m=E+v)in g&&f(d,v,g[m]);if(d.length=n,r<n){for(v=E;v<w-n;v++)b=v+r,(m=v+n)in g?g[b]=g[m]:p(g,b);for(v=w;v>w-n+r;v--)p(g,v-1)}else if(r>n)for(v=w-n;v>E;v--)b=v+r-1,(m=v+n-1)in g?g[b]=g[m]:p(g,b);for(v=0;v<r;v++)g[v+E]=arguments[v+2];return c(g,w-n+r),d}})},30237:function(e,t,r){"use strict";r(6469)("flatMap")},93514:function(e,t,r){"use strict";r(6469)("flat")},24359:function(e,t,r){"use strict";var n=r(46518),o=r(66346);n({global:!0,constructor:!0,forced:!r(77811)},{DataView:o.DataView})},38309:function(e,t,r){"use strict";r(24359)},59089:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=Date,a=o(i.prototype.getTime);n({target:"Date",stat:!0},{now:function(){return a(new i)}})},89572:function(e,t,r){"use strict";var n=r(39297),o=r(36840),i=r(53640),a=r(78227)("toPrimitive"),u=Date.prototype;n(u,a)||o(u,a,i)},23288:function(e,t,r){"use strict";var n=r(79504),o=r(36840),i=Date.prototype,a="Invalid Date",u="toString",c=n(i[u]),s=n(i.getTime);String(new Date(NaN))!==a&&o(i,u,(function(){var e=s(this);return e==e?c(this):a}))},94170:function(e,t,r){"use strict";var n=r(46518),o=r(30566);n({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},62010:function(e,t,r){"use strict";var n=r(43724),o=r(10350).EXISTS,i=r(79504),a=r(62106),u=Function.prototype,c=i(u.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(s.exec);n&&!o&&a(u,"name",{configurable:!0,get:function(){try{return l(s,c(this))[1]}catch(e){return""}}})},33110:function(e,t,r){"use strict";var n=r(46518),o=r(97751),i=r(18745),a=r(69565),u=r(79504),c=r(79039),s=r(94901),l=r(10757),f=r(67680),p=r(66933),d=r(4495),h=String,y=o("JSON","stringify"),v=u(/./.exec),m=u("".charAt),b=u("".charCodeAt),g=u("".replace),w=u(1..toString),E=/[\uD800-\uDFFF]/g,_=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,O=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==y([e])||"{}"!==y({a:e})||"{}"!==y(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),T=function(e,t){var r=f(arguments),n=p(t);if(s(n)||void 0!==e&&!l(e))return r[1]=function(e,t){if(s(n)&&(t=a(n,this,h(e),t)),!l(t))return t},i(y,null,r)},P=function(e,t,r){var n=m(r,t-1),o=m(r,t+1);return v(_,e)&&!v(S,o)||v(S,e)&&!v(_,n)?"\\u"+w(b(e,0),16):e};y&&n({target:"JSON",stat:!0,arity:3,forced:O||x},{stringify:function(e,t,r){var n=f(arguments),o=i(O?T:y,null,n);return x&&"string"==typeof o?g(o,E,P):o}})},4731:function(e,t,r){"use strict";var n=r(44576);r(10687)(n.JSON,"JSON",!0)},48523:function(e,t,r){"use strict";r(16468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(86938))},36033:function(e,t,r){"use strict";r(48523)},60479:function(e,t,r){"use strict";r(10687)(Math,"Math",!0)},2892:function(e,t,r){"use strict";var n=r(46518),o=r(96395),i=r(43724),a=r(44576),u=r(19167),c=r(79504),s=r(92796),l=r(39297),f=r(23167),p=r(1625),d=r(10757),h=r(72777),y=r(79039),v=r(38480).f,m=r(77347).f,b=r(24913).f,g=r(31240),w=r(43802).trim,E="Number",_=a[E],S=u[E],O=_.prototype,x=a.TypeError,T=c("".slice),P=c("".charCodeAt),j=s(E,!_(" 0o1")||!_("0b1")||_("+0x1")),k=function(e){var t,r=arguments.length<1?0:_(function(e){var t=h(e,"number");return"bigint"==typeof t?t:function(e){var t,r,n,o,i,a,u,c,s=h(e,"number");if(d(s))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=w(s),43===(t=P(s,0))||45===t){if(88===(r=P(s,2))||120===r)return NaN}else if(48===t){switch(P(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(a=(i=T(s,2)).length,u=0;u<a;u++)if((c=P(i,u))<48||c>o)return NaN;return parseInt(i,n)}return+s}(t)}(e));return p(O,t=this)&&y((function(){g(t)}))?f(Object(r),this,k):r};k.prototype=O,j&&!o&&(O.constructor=k),n({global:!0,constructor:!0,wrap:!0,forced:j},{Number:k});var L=function(e,t){for(var r,n=i?v(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)l(t,r=n[o])&&!l(e,r)&&b(e,r,m(t,r))};o&&S&&L(u[E],S),(j||o)&&L(u[E],_)},69085:function(e,t,r){"use strict";var n=r(46518),o=r(44213);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},59904:function(e,t,r){"use strict";r(46518)({target:"Object",stat:!0,sham:!r(43724)},{create:r(2360)})},84185:function(e,t,r){"use strict";var n=r(46518),o=r(43724),i=r(24913).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:function(e,t,r){"use strict";var n=r(46518),o=r(32357).entries;n({target:"Object",stat:!0},{entries:function(e){return o(e)}})},83851:function(e,t,r){"use strict";var n=r(46518),o=r(79039),i=r(25397),a=r(77347).f,u=r(43724);n({target:"Object",stat:!0,forced:!u||o((function(){a(1)})),sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},81278:function(e,t,r){"use strict";var n=r(46518),o=r(43724),i=r(35031),a=r(25397),u=r(77347),c=r(97040);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),o=u.f,s=i(n),l={},f=0;s.length>f;)void 0!==(r=o(n,t=s[f++]))&&c(l,t,r);return l}})},1480:function(e,t,r){"use strict";var n=r(46518),o=r(79039),i=r(10298).f;n({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},49773:function(e,t,r){"use strict";var n=r(46518),o=r(4495),i=r(79039),a=r(33717),u=r(48981);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(u(e)):[]}})},40875:function(e,t,r){"use strict";var n=r(46518),o=r(79039),i=r(48981),a=r(42787),u=r(12211);n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},79432:function(e,t,r){"use strict";var n=r(46518),o=r(48981),i=r(71072);n({target:"Object",stat:!0,forced:r(79039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},10287:function(e,t,r){"use strict";r(46518)({target:"Object",stat:!0},{setPrototypeOf:r(52967)})},26099:function(e,t,r){"use strict";var n=r(92140),o=r(36840),i=r(53179);n||o(Object.prototype,"toString",i,{unsafe:!0})},16034:function(e,t,r){"use strict";var n=r(46518),o=r(32357).values;n({target:"Object",stat:!0},{values:function(e){return o(e)}})},60825:function(e,t,r){"use strict";var n=r(46518),o=r(97751),i=r(18745),a=r(30566),u=r(35548),c=r(28551),s=r(20034),l=r(2360),f=r(79039),p=o("Reflect","construct"),d=Object.prototype,h=[].push,y=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),m=y||v;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){u(e),c(t);var r=arguments.length<3?e:u(arguments[2]);if(v&&!y)return p(e,t,r);if(e===r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return i(h,n,t),new(i(a,e,n))}var o=r.prototype,f=l(s(o)?o:d),m=i(e,f,t);return s(m)?m:f}})},40888:function(e,t,r){"use strict";var n=r(46518),o=r(69565),i=r(20034),a=r(28551),u=r(16575),c=r(77347),s=r(42787);n({target:"Reflect",stat:!0},{get:function e(t,r){var n,l,f=arguments.length<3?t:arguments[2];return a(t)===f?t[r]:(n=c.f(t,r))?u(n)?n.value:void 0===n.get?void 0:o(n.get,f):i(l=s(t))?e(l,r,f):void 0}})},84864:function(e,t,r){"use strict";var n=r(43724),o=r(44576),i=r(79504),a=r(92796),u=r(23167),c=r(66699),s=r(2360),l=r(38480).f,f=r(1625),p=r(60788),d=r(655),h=r(61034),y=r(58429),v=r(11056),m=r(36840),b=r(79039),g=r(39297),w=r(91181).enforce,E=r(87633),_=r(78227),S=r(83635),O=r(18814),x=_("match"),T=o.RegExp,P=T.prototype,j=o.SyntaxError,k=i(P.exec),L=i("".charAt),I=i("".replace),C=i("".indexOf),A=i("".slice),N=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,R=/a/g,D=new T(M)!==M,U=y.MISSED_STICKY,F=y.UNSUPPORTED_Y;if(a("RegExp",n&&(!D||U||S||O||b((function(){return R[x]=!1,T(M)!==M||T(R)===R||"/a/i"!==String(T(M,"i"))}))))){for(var W=function(e,t){var r,n,o,i,a,l,y=f(P,this),v=p(e),m=void 0===t,b=[],E=e;if(!y&&v&&m&&e.constructor===W)return e;if((v||f(P,e))&&(e=e.source,m&&(t=h(E))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),E=e,S&&"dotAll"in M&&(n=!!t&&C(t,"s")>-1)&&(t=I(t,/s/g,"")),r=t,U&&"sticky"in M&&(o=!!t&&C(t,"y")>-1)&&F&&(t=I(t,/y/g,"")),O&&(i=function(e){for(var t,r=e.length,n=0,o="",i=[],a=s(null),u=!1,c=!1,l=0,f="";n<=r;n++){if("\\"===(t=L(e,n)))t+=L(e,++n);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:if(o+=t,"?:"===A(e,n+1,n+3))continue;k(N,A(e,n+1))&&(n+=2,c=!0),l++;continue;case">"===t&&c:if(""===f||g(a,f))throw new j("Invalid capture group name");a[f]=!0,i[i.length]=[f,l],c=!1,f="";continue}c?f+=t:o+=t}return[o,i]}(e),e=i[0],b=i[1]),a=u(T(e,t),y?this:P,W),(n||o||b.length)&&(l=w(a),n&&(l.dotAll=!0,l.raw=W(function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(t=L(e,n))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+L(e,++n);return o}(e),r)),o&&(l.sticky=!0),b.length&&(l.groups=b)),e!==E)try{c(a,"source",""===E?"(?:)":E)}catch(e){}return a},z=l(T),B=0;z.length>B;)v(W,T,z[B++]);P.constructor=W,W.prototype=P,m(o,"RegExp",W,{constructor:!0})}E("RegExp")},27495:function(e,t,r){"use strict";var n=r(46518),o=r(57323);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},38781:function(e,t,r){"use strict";var n=r(10350).PROPER,o=r(36840),i=r(28551),a=r(655),u=r(79039),c=r(61034),s="toString",l=RegExp.prototype,f=l[s],p=u((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=n&&f.name!==s;(p||d)&&o(l,s,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},92405:function(e,t,r){"use strict";r(16468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(86938))},31415:function(e,t,r){"use strict";r(92405)},27337:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(35610),a=RangeError,u=String.fromCharCode,c=String.fromCodePoint,s=o([].join);n({target:"String",stat:!0,arity:1,forced:!!c&&1!==c.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw new a(t+" is not a valid code point");r[o]=t<65536?u(t):u(55296+((t-=65536)>>10),t%1024+56320)}return s(r,"")}})},21699:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(60511),a=r(67750),u=r(655),c=r(41436),s=o("".indexOf);n({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~s(u(a(this)),u(i(e)),arguments.length>1?arguments[1]:void 0)}})},47764:function(e,t,r){"use strict";var n=r(68183).charAt,o=r(655),i=r(91181),a=r(51088),u=r(62529),c="String Iterator",s=i.set,l=i.getterFor(c);a(String,"String",(function(e){s(this,{type:c,string:o(e),index:0})}),(function(){var e,t=l(this),r=t.string,o=t.index;return o>=r.length?u(void 0,!0):(e=n(r,o),t.index+=e.length,u(e,!1))}))},71761:function(e,t,r){"use strict";var n=r(69565),o=r(89228),i=r(28551),a=r(64117),u=r(18014),c=r(655),s=r(67750),l=r(55966),f=r(57829),p=r(56682);o("match",(function(e,t,r){return[function(t){var r=s(this),o=a(t)?void 0:l(t,e);return o?n(o,t,r):new RegExp(t)[e](c(r))},function(e){var n=i(this),o=c(e),a=r(t,n,o);if(a.done)return a.value;if(!n.global)return p(n,o);var s=n.unicode;n.lastIndex=0;for(var l,d=[],h=0;null!==(l=p(n,o));){var y=c(l[0]);d[h]=y,""===y&&(n.lastIndex=f(o,u(n.lastIndex),s)),h++}return 0===h?null:d}]}))},79978:function(e,t,r){"use strict";var n=r(46518),o=r(69565),i=r(79504),a=r(67750),u=r(94901),c=r(64117),s=r(60788),l=r(655),f=r(55966),p=r(61034),d=r(2478),h=r(78227),y=r(96395),v=h("replace"),m=TypeError,b=i("".indexOf),g=i("".replace),w=i("".slice),E=Math.max;n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,i,h,_,S,O,x,T,P,j=a(this),k=0,L="";if(!c(e)){if((r=s(e))&&(n=l(a(p(e))),!~b(n,"g")))throw new m("`.replaceAll` does not allow non-global regexes");if(i=f(e,v))return o(i,e,j,t);if(y&&r)return g(l(j),e,t)}for(h=l(j),_=l(e),(S=u(t))||(t=l(t)),O=_.length,x=E(1,O),T=b(h,_);-1!==T;)P=S?l(t(_,T,h)):d(_,h,T,[],void 0,t),L+=w(h,k,T)+P,k=T+O,T=T+x>h.length?-1:b(h,_,T+x);return k<h.length&&(L+=w(h,k)),L}})},25440:function(e,t,r){"use strict";var n=r(18745),o=r(69565),i=r(79504),a=r(89228),u=r(79039),c=r(28551),s=r(94901),l=r(64117),f=r(91291),p=r(18014),d=r(655),h=r(67750),y=r(57829),v=r(55966),m=r(2478),b=r(56682),g=r(78227)("replace"),w=Math.max,E=Math.min,_=i([].concat),S=i([].push),O=i("".indexOf),x=i("".slice),T="$0"==="a".replace(/./,"$0"),P=!!/./[g]&&""===/./[g]("a","$0");a("replace",(function(e,t,r){var i=P?"$":"$0";return[function(e,r){var n=h(this),i=l(e)?void 0:v(e,g);return i?o(i,e,n,r):o(t,d(n),e,r)},function(e,o){var a=c(this),u=d(e);if("string"==typeof o&&-1===O(o,i)&&-1===O(o,"$<")){var l=r(t,a,u,o);if(l.done)return l.value}var h=s(o);h||(o=d(o));var v,g=a.global;g&&(v=a.unicode,a.lastIndex=0);for(var T,P=[];null!==(T=b(a,u))&&(S(P,T),g);)""===d(T[0])&&(a.lastIndex=y(u,p(a.lastIndex),v));for(var j,k="",L=0,I=0;I<P.length;I++){for(var C,A=d((T=P[I])[0]),N=w(E(f(T.index),u.length),0),M=[],R=1;R<T.length;R++)S(M,void 0===(j=T[R])?j:String(j));var D=T.groups;if(h){var U=_([A],M,N,u);void 0!==D&&S(U,D),C=d(n(o,void 0,U))}else C=m(A,u,N,M,D,o);N>=L&&(k+=x(u,L,N)+C,L=N+A.length)}return k+x(u,L)}]}),!!u((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!T||P)},5746:function(e,t,r){"use strict";var n=r(69565),o=r(89228),i=r(28551),a=r(64117),u=r(67750),c=r(3470),s=r(655),l=r(55966),f=r(56682);o("search",(function(e,t,r){return[function(t){var r=u(this),o=a(t)?void 0:l(t,e);return o?n(o,t,r):new RegExp(t)[e](s(r))},function(e){var n=i(this),o=s(e),a=r(t,n,o);if(a.done)return a.value;var u=n.lastIndex;c(u,0)||(n.lastIndex=0);var l=f(n,o);return c(n.lastIndex,u)||(n.lastIndex=u),null===l?-1:l.index}]}))},11392:function(e,t,r){"use strict";var n,o=r(46518),i=r(27476),a=r(77347).f,u=r(18014),c=r(655),s=r(60511),l=r(67750),f=r(41436),p=r(96395),d=i("".slice),h=Math.min,y=f("startsWith");o({target:"String",proto:!0,forced:!(!p&&!y&&(n=a(String.prototype,"startsWith"),n&&!n.writable)||y)},{startsWith:function(e){var t=c(l(this));s(e);var r=u(h(arguments.length>1?arguments[1]:void 0,t.length)),n=c(e);return d(t,r,r+n.length)===n}})},42762:function(e,t,r){"use strict";var n=r(46518),o=r(43802).trim;n({target:"String",proto:!0,forced:r(60706)("trim")},{trim:function(){return o(this)}})},66412:function(e,t,r){"use strict";r(70511)("asyncIterator")},6761:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(69565),a=r(79504),u=r(96395),c=r(43724),s=r(4495),l=r(79039),f=r(39297),p=r(1625),d=r(28551),h=r(25397),y=r(56969),v=r(655),m=r(6980),b=r(2360),g=r(71072),w=r(38480),E=r(10298),_=r(33717),S=r(77347),O=r(24913),x=r(96801),T=r(48773),P=r(36840),j=r(62106),k=r(25745),L=r(66119),I=r(30421),C=r(33392),A=r(78227),N=r(1951),M=r(70511),R=r(58242),D=r(10687),U=r(91181),F=r(59213).forEach,W=L("hidden"),z="Symbol",B="prototype",V=U.set,Y=U.getterFor(z),G=Object[B],H=o.Symbol,Q=H&&H[B],q=o.RangeError,K=o.TypeError,$=o.QObject,X=S.f,J=O.f,Z=E.f,ee=T.f,te=a([].push),re=k("symbols"),ne=k("op-symbols"),oe=k("wks"),ie=!$||!$[B]||!$[B].findChild,ae=function(e,t,r){var n=X(G,t);n&&delete G[t],J(e,t,r),n&&e!==G&&J(G,t,n)},ue=c&&l((function(){return 7!==b(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?ae:J,ce=function(e,t){var r=re[e]=b(Q);return V(r,{type:z,tag:e,description:t}),c||(r.description=t),r},se=function(e,t,r){e===G&&se(ne,t,r),d(e);var n=y(t);return d(r),f(re,n)?(r.enumerable?(f(e,W)&&e[W][n]&&(e[W][n]=!1),r=b(r,{enumerable:m(0,!1)})):(f(e,W)||J(e,W,m(1,b(null))),e[W][n]=!0),ue(e,n,r)):J(e,n,r)},le=function(e,t){d(e);var r=h(t),n=g(r).concat(he(r));return F(n,(function(t){c&&!i(fe,r,t)||se(e,t,r[t])})),e},fe=function(e){var t=y(e),r=i(ee,this,t);return!(this===G&&f(re,t)&&!f(ne,t))&&(!(r||!f(this,t)||!f(re,t)||f(this,W)&&this[W][t])||r)},pe=function(e,t){var r=h(e),n=y(t);if(r!==G||!f(re,n)||f(ne,n)){var o=X(r,n);return!o||!f(re,n)||f(r,W)&&r[W][n]||(o.enumerable=!0),o}},de=function(e){var t=Z(h(e)),r=[];return F(t,(function(e){f(re,e)||f(I,e)||te(r,e)})),r},he=function(e){var t=e===G,r=Z(t?ne:h(e)),n=[];return F(r,(function(e){!f(re,e)||t&&!f(G,e)||te(n,re[e])})),n};s||(H=function(){if(p(Q,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=C(e),r=function(e){var n=void 0===this?o:this;n===G&&i(r,ne,e),f(n,W)&&f(n[W],t)&&(n[W][t]=!1);var a=m(1,e);try{ue(n,t,a)}catch(e){if(!(e instanceof q))throw e;ae(n,t,a)}};return c&&ie&&ue(G,t,{configurable:!0,set:r}),ce(t,e)},P(Q=H[B],"toString",(function(){return Y(this).tag})),P(H,"withoutSetter",(function(e){return ce(C(e),e)})),T.f=fe,O.f=se,x.f=le,S.f=pe,w.f=E.f=de,_.f=he,N.f=function(e){return ce(A(e),e)},c&&(j(Q,"description",{configurable:!0,get:function(){return Y(this).description}}),u||P(G,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:H}),F(g(oe),(function(e){M(e)})),n({target:z,stat:!0,forced:!s},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!c},{create:function(e,t){return void 0===t?b(e):le(b(e),t)},defineProperty:se,defineProperties:le,getOwnPropertyDescriptor:pe}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:de}),R(),D(H,z),I[W]=!0},89463:function(e,t,r){"use strict";var n=r(46518),o=r(43724),i=r(44576),a=r(79504),u=r(39297),c=r(94901),s=r(1625),l=r(655),f=r(62106),p=r(77740),d=i.Symbol,h=d&&d.prototype;if(o&&c(d)&&(!("description"in h)||void 0!==d().description)){var y={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=s(h,this)?new d(e):void 0===e?d():d(e);return""===e&&(y[t]=!0),t};p(v,d),v.prototype=h,h.constructor=v;var m="Symbol(description detection)"===String(d("description detection")),b=a(h.valueOf),g=a(h.toString),w=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),_=a("".slice);f(h,"description",{configurable:!0,get:function(){var e=b(this);if(u(y,e))return"";var t=g(e),r=m?_(t,7,-1):E(t,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:v})}},81510:function(e,t,r){"use strict";var n=r(46518),o=r(97751),i=r(39297),a=r(655),u=r(25745),c=r(91296),s=u("string-to-symbol-registry"),l=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=a(e);if(i(s,t))return s[t];var r=o("Symbol")(t);return s[t]=r,l[r]=t,r}})},2259:function(e,t,r){"use strict";r(70511)("iterator")},52675:function(e,t,r){"use strict";r(6761),r(81510),r(97812),r(33110),r(49773)},97812:function(e,t,r){"use strict";var n=r(46518),o=r(39297),i=r(10757),a=r(16823),u=r(25745),c=r(91296),s=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(s,e))return s[e]}})},45700:function(e,t,r){"use strict";var n=r(70511),o=r(58242);n("toPrimitive"),o()},78125:function(e,t,r){"use strict";var n=r(97751),o=r(70511),i=r(10687);o("toStringTag"),i(n("Symbol"),"Symbol")},81630:function(e,t,r){"use strict";var n=r(79504),o=r(94644),i=n(r(57029)),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},72170:function(e,t,r){"use strict";var n=r(94644),o=r(59213).every,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},75044:function(e,t,r){"use strict";var n=r(94644),o=r(84373),i=r(75854),a=r(36955),u=r(69565),c=r(79504),s=r(79039),l=n.aTypedArray,f=n.exportTypedArrayMethod,p=c("".slice);f("fill",(function(e){var t=arguments.length;l(this);var r="Big"===p(a(this),0,3)?i(e):+e;return u(o,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),s((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},69539:function(e,t,r){"use strict";var n=r(94644),o=r(59213).filter,i=r(29948),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},89955:function(e,t,r){"use strict";var n=r(94644),o=r(59213).findIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},31694:function(e,t,r){"use strict";var n=r(94644),o=r(59213).find,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33206:function(e,t,r){"use strict";var n=r(94644),o=r(59213).forEach,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},44496:function(e,t,r){"use strict";var n=r(94644),o=r(19617).includes,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},66651:function(e,t,r){"use strict";var n=r(94644),o=r(19617).indexOf,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},12887:function(e,t,r){"use strict";var n=r(44576),o=r(79039),i=r(79504),a=r(94644),u=r(23792),c=r(78227)("iterator"),s=n.Uint8Array,l=i(u.values),f=i(u.keys),p=i(u.entries),d=a.aTypedArray,h=a.exportTypedArrayMethod,y=s&&s.prototype,v=!o((function(){y[c].call([1])})),m=!!y&&y.values&&y[c]===y.values&&"values"===y.values.name,b=function(){return l(d(this))};h("entries",(function(){return p(d(this))}),v),h("keys",(function(){return f(d(this))}),v),h("values",b,v||!m,{name:"values"}),h(c,b,v||!m,{name:"values"})},19369:function(e,t,r){"use strict";var n=r(94644),o=r(79504),i=n.aTypedArray,a=n.exportTypedArrayMethod,u=o([].join);a("join",(function(e){return u(i(this),e)}))},66812:function(e,t,r){"use strict";var n=r(94644),o=r(18745),i=r(8379),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},8995:function(e,t,r){"use strict";var n=r(94644),o=r(59213).map,i=n.aTypedArray,a=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("map",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(a(e))(t)}))}))},36072:function(e,t,r){"use strict";var n=r(94644),o=r(80926).right,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},31575:function(e,t,r){"use strict";var n=r(94644),o=r(80926).left,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},88747:function(e,t,r){"use strict";var n=r(94644),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,r=o(t).length,n=a(r/2),i=0;i<n;)e=t[i],t[i++]=t[--r],t[r]=e;return t}))},28845:function(e,t,r){"use strict";var n=r(44576),o=r(69565),i=r(94644),a=r(26198),u=r(58229),c=r(48981),s=r(79039),l=n.RangeError,f=n.Int8Array,p=f&&f.prototype,d=p&&p.set,h=i.aTypedArray,y=i.exportTypedArrayMethod,v=!s((function(){var e=new Uint8ClampedArray(2);return o(d,e,{length:1,0:3},1),3!==e[1]})),m=v&&i.NATIVE_ARRAY_BUFFER_VIEWS&&s((function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));y("set",(function(e){h(this);var t=u(arguments.length>1?arguments[1]:void 0,1),r=c(e);if(v)return o(d,this,r,t);var n=this.length,i=a(r),s=0;if(i+t>n)throw new l("Wrong length");for(;s<i;)this[t+s]=r[s++]}),!v||m)},29423:function(e,t,r){"use strict";var n=r(94644),o=r(79039),i=r(67680),a=n.aTypedArray,u=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("slice",(function(e,t){for(var r=i(a(this),e,t),n=u(this),o=0,c=r.length,s=new n(c);c>o;)s[o]=r[o++];return s}),o((function(){new Int8Array(1).slice()})))},57301:function(e,t,r){"use strict";var n=r(94644),o=r(59213).some,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},373:function(e,t,r){"use strict";var n=r(44576),o=r(27476),i=r(79039),a=r(79306),u=r(74488),c=r(94644),s=r(13709),l=r(13763),f=r(39519),p=r(3607),d=c.aTypedArray,h=c.exportTypedArrayMethod,y=n.Uint16Array,v=y&&o(y.prototype.sort),m=!(!v||i((function(){v(new y(2),null)}))&&i((function(){v(new y(2),{})}))),b=!!v&&!i((function(){if(f)return f<74;if(s)return s<67;if(l)return!0;if(p)return p<602;var e,t,r=new y(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}));h("sort",(function(e){return void 0!==e&&a(e),b?v(this,e):u(d(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))}),!b||m)},86614:function(e,t,r){"use strict";var n=r(94644),o=r(18014),i=r(35610),a=n.aTypedArray,u=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("subarray",(function(e,t){var r=a(this),n=r.length,c=i(e,n);return new(u(r))(r.buffer,r.byteOffset+c*r.BYTES_PER_ELEMENT,o((void 0===t?n:i(t,n))-c))}))},41405:function(e,t,r){"use strict";var n=r(44576),o=r(18745),i=r(94644),a=r(79039),u=r(67680),c=n.Int8Array,s=i.aTypedArray,l=i.exportTypedArrayMethod,f=[].toLocaleString,p=!!c&&a((function(){f.call(new c(1))}));l("toLocaleString",(function(){return o(f,p?u(s(this)):s(this),u(arguments))}),a((function(){return[1,2].toLocaleString()!==new c([1,2]).toLocaleString()}))||!a((function(){c.prototype.toLocaleString.call([1,2])})))},33684:function(e,t,r){"use strict";var n=r(94644).exportTypedArrayMethod,o=r(79039),i=r(44576),a=r(79504),u=i.Uint8Array,c=u&&u.prototype||{},s=[].toString,l=a([].join);o((function(){s.call({})}))&&(s=function(){return l(this)});var f=c.toString!==s;n("toString",s,f)},21489:function(e,t,r){"use strict";r(15823)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},65746:function(e,t,r){"use strict";var n,o=r(92744),i=r(44576),a=r(79504),u=r(56279),c=r(3451),s=r(16468),l=r(91625),f=r(20034),p=r(91181).enforce,d=r(79039),h=r(58622),y=Object,v=Array.isArray,m=y.isExtensible,b=y.isFrozen,g=y.isSealed,w=y.freeze,E=y.seal,_=!i.ActiveXObject&&"ActiveXObject"in i,S=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},O=s("WeakMap",S,l),x=O.prototype,T=a(x.set);if(h)if(_){n=l.getConstructor(S,"WeakMap",!0),c.enable();var P=a(x.delete),j=a(x.has),k=a(x.get);u(x,{delete:function(e){if(f(e)&&!m(e)){var t=p(this);return t.frozen||(t.frozen=new n),P(this,e)||t.frozen.delete(e)}return P(this,e)},has:function(e){if(f(e)&&!m(e)){var t=p(this);return t.frozen||(t.frozen=new n),j(this,e)||t.frozen.has(e)}return j(this,e)},get:function(e){if(f(e)&&!m(e)){var t=p(this);return t.frozen||(t.frozen=new n),j(this,e)?k(this,e):t.frozen.get(e)}return k(this,e)},set:function(e,t){if(f(e)&&!m(e)){var r=p(this);r.frozen||(r.frozen=new n),j(this,e)?T(this,e,t):r.frozen.set(e,t)}else T(this,e,t);return this}})}else o&&d((function(){var e=w([]);return T(new O,e,1),!b(e)}))&&u(x,{set:function(e,t){var r;return v(e)&&(b(e)?r=w:g(e)&&(r=E)),T(this,e,t),r&&r(e),this}})},73772:function(e,t,r){"use strict";r(65746)},5240:function(e,t,r){"use strict";r(16468)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(91625))},30958:function(e,t,r){"use strict";r(5240)},12041:function(e,t,r){"use strict";r(79978)},23500:function(e,t,r){"use strict";var n=r(44576),o=r(67400),i=r(79296),a=r(90235),u=r(66699),c=function(e){if(e&&e.forEach!==a)try{u(e,"forEach",a)}catch(t){e.forEach=a}};for(var s in o)o[s]&&c(n[s]&&n[s].prototype);c(i)},62953:function(e,t,r){"use strict";var n=r(44576),o=r(67400),i=r(79296),a=r(23792),u=r(66699),c=r(10687),s=r(78227)("iterator"),l=a.values,f=function(e,t){if(e){if(e[s]!==l)try{u(e,s,l)}catch(t){e[s]=l}if(c(e,t,!0),o[t])for(var r in a)if(e[r]!==a[r])try{u(e,r,a[r])}catch(t){e[r]=a[r]}}};for(var p in o)f(n[p]&&n[p].prototype,p);f(i,"DOMTokenList")},15575:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(79472)(o.setInterval,!0);n({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},24599:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(79472)(o.setTimeout,!0);n({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},76031:function(e,t,r){"use strict";r(15575),r(24599)},98406:function(e,t,r){"use strict";r(23792),r(27337);var n=r(46518),o=r(44576),i=r(93389),a=r(97751),u=r(69565),c=r(79504),s=r(43724),l=r(67416),f=r(36840),p=r(62106),d=r(56279),h=r(10687),y=r(33994),v=r(91181),m=r(90679),b=r(94901),g=r(39297),w=r(76080),E=r(36955),_=r(28551),S=r(20034),O=r(655),x=r(2360),T=r(6980),P=r(70081),j=r(50851),k=r(62529),L=r(22812),I=r(78227),C=r(74488),A=I("iterator"),N="URLSearchParams",M=N+"Iterator",R=v.set,D=v.getterFor(N),U=v.getterFor(M),F=i("fetch"),W=i("Request"),z=i("Headers"),B=W&&W.prototype,V=z&&z.prototype,Y=o.TypeError,G=o.encodeURIComponent,H=String.fromCharCode,Q=a("String","fromCodePoint"),q=parseInt,K=c("".charAt),$=c([].join),X=c([].push),J=c("".replace),Z=c([].shift),ee=c([].splice),te=c("".split),re=c("".slice),ne=c(/./.exec),oe=/\+/g,ie=/^[0-9a-f]+$/i,ae=function(e,t){var r=re(e,t,t+2);return ne(ie,r)?q(r,16):NaN},ue=function(e){for(var t=0,r=128;r>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},se=function(e){for(var t=(e=J(e,oe," ")).length,r="",n=0;n<t;){var o=K(e,n);if("%"===o){if("%"===K(e,n+1)||n+3>t){r+="%",n++;continue}var i=ae(e,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=ue(i);if(0===a)o=H(i);else{if(1===a||a>4){r+="�",n++;continue}for(var u=[i],c=1;c<a&&!(3+ ++n>t||"%"!==K(e,n));){var s=ae(e,n+1);if(s!=s){n+=3;break}if(s>191||s<128)break;X(u,s),n+=2,c++}if(u.length!==a){r+="�";continue}var l=ce(u);null===l?r+="�":o=Q(l)}}r+=o,n++}return r},le=/[!'()~]|%20/g,fe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},pe=function(e){return fe[e]},de=function(e){return J(G(e),le,pe)},he=y((function(e,t){R(this,{type:M,target:D(e).entries,index:0,kind:t})}),N,(function(){var e=U(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,k(void 0,!0);var n=t[r];switch(e.kind){case"keys":return k(n.key,!1);case"values":return k(n.value,!1)}return k([n.key,n.value],!1)}),!0),ye=function(e){this.entries=[],this.url=null,void 0!==e&&(S(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===K(e,0)?re(e,1):e:O(e)))};ye.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,a,c,s=this.entries,l=j(e);if(l)for(r=(t=P(e,l)).next;!(n=u(r,t)).done;){if(i=(o=P(_(n.value))).next,(a=u(i,o)).done||(c=u(i,o)).done||!u(i,o).done)throw new Y("Expected sequence with length 2");X(s,{key:O(a.value),value:O(c.value)})}else for(var f in e)g(e,f)&&X(s,{key:f,value:O(e[f])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,o=te(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(r=te(t,"="),X(n,{key:se(Z(r)),value:se($(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],X(r,de(e.key)+"="+de(e.value));return $(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ve=function(){m(this,me);var e=R(this,new ye(arguments.length>0?arguments[0]:void 0));s||(this.size=e.entries.length)},me=ve.prototype;if(d(me,{append:function(e,t){var r=D(this);L(arguments.length,2),X(r.entries,{key:O(e),value:O(t)}),s||this.length++,r.updateURL()},delete:function(e){for(var t=D(this),r=L(arguments.length,1),n=t.entries,o=O(e),i=r<2?void 0:arguments[1],a=void 0===i?i:O(i),u=0;u<n.length;){var c=n[u];if(c.key!==o||void 0!==a&&c.value!==a)u++;else if(ee(n,u,1),void 0!==a)break}s||(this.size=n.length),t.updateURL()},get:function(e){var t=D(this).entries;L(arguments.length,1);for(var r=O(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=D(this).entries;L(arguments.length,1);for(var r=O(e),n=[],o=0;o<t.length;o++)t[o].key===r&&X(n,t[o].value);return n},has:function(e){for(var t=D(this).entries,r=L(arguments.length,1),n=O(e),o=r<2?void 0:arguments[1],i=void 0===o?o:O(o),a=0;a<t.length;){var u=t[a++];if(u.key===n&&(void 0===i||u.value===i))return!0}return!1},set:function(e,t){var r=D(this);L(arguments.length,1);for(var n,o=r.entries,i=!1,a=O(e),u=O(t),c=0;c<o.length;c++)(n=o[c]).key===a&&(i?ee(o,c--,1):(i=!0,n.value=u));i||X(o,{key:a,value:u}),s||(this.size=o.length),r.updateURL()},sort:function(){var e=D(this);C(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=D(this).entries,n=w(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new he(this,"keys")},values:function(){return new he(this,"values")},entries:function(){return new he(this,"entries")}},{enumerable:!0}),f(me,A,me.entries,{name:"entries"}),f(me,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),s&&p(me,"size",{get:function(){return D(this).entries.length},configurable:!0,enumerable:!0}),h(ve,N),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:ve}),!l&&b(z)){var be=c(V.has),ge=c(V.set),we=function(e){if(S(e)){var t,r=e.body;if(E(r)===N)return t=e.headers?new z(e.headers):new z,be(t,"content-type")||ge(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),x(e,{body:T(0,O(r)),headers:T(0,t)})}return e};if(b(F)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return F(e,arguments.length>1?we(arguments[1]):{})}}),b(W)){var Ee=function(e){return m(this,B),new W(e,arguments.length>1?we(arguments[1]):{})};B.constructor=Ee,Ee.prototype=B,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ee})}}e.exports={URLSearchParams:ve,getState:D}},48408:function(e,t,r){"use strict";r(98406)},45806:function(e,t,r){"use strict";r(47764);var n,o=r(46518),i=r(43724),a=r(67416),u=r(44576),c=r(76080),s=r(79504),l=r(36840),f=r(62106),p=r(90679),d=r(39297),h=r(44213),y=r(97916),v=r(67680),m=r(68183).codeAt,b=r(3717),g=r(655),w=r(10687),E=r(22812),_=r(98406),S=r(91181),O=S.set,x=S.getterFor("URL"),T=_.URLSearchParams,P=_.getState,j=u.URL,k=u.TypeError,L=u.parseInt,I=Math.floor,C=Math.pow,A=s("".charAt),N=s(/./.exec),M=s([].join),R=s(1..toString),D=s([].pop),U=s([].push),F=s("".replace),W=s([].shift),z=s("".split),B=s("".slice),V=s("".toLowerCase),Y=s([].unshift),G="Invalid scheme",H="Invalid host",Q="Invalid port",q=/[a-z]/i,K=/[\d+-.a-z]/i,$=/\d/,X=/^0x/i,J=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+/,oe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ie=/[\t\n\r]/g,ae=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)Y(t,e%256),e=I(e/256);return M(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=R(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ue={},ce=h({},ue,{" ":1,'"':1,"<":1,">":1,"`":1}),se=h({},ce,{"#":1,"?":1,"{":1,"}":1}),le=h({},se,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fe=function(e,t){var r=m(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},pe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},de=function(e,t){var r;return 2===e.length&&N(q,A(e,0))&&(":"===(r=A(e,1))||!t&&"|"===r)},he=function(e){var t;return e.length>1&&de(B(e,0,2))&&(2===e.length||"/"===(t=A(e,2))||"\\"===t||"?"===t||"#"===t)},ye=function(e){return"."===e||"%2e"===V(e)},ve={},me={},be={},ge={},we={},Ee={},_e={},Se={},Oe={},xe={},Te={},Pe={},je={},ke={},Le={},Ie={},Ce={},Ae={},Ne={},Me={},Re={},De=function(e,t,r){var n,o,i,a=g(e);if(t){if(o=this.parse(a))throw new k(o);this.searchParams=null}else{if(void 0!==r&&(n=new De(r,!0)),o=this.parse(a,null,n))throw new k(o);(i=P(new T)).bindURL(this),this.searchParams=i}};De.prototype={type:"URL",parse:function(e,t,r){var o,i,a,u,c,s=this,l=t||ve,f=0,p="",h=!1,m=!1,b=!1;for(e=g(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=F(e,ne,""),e=F(e,oe,"$1")),e=F(e,ie,""),o=y(e);f<=o.length;){switch(i=o[f],l){case ve:if(!i||!N(q,i)){if(t)return G;l=be;continue}p+=V(i),l=me;break;case me:if(i&&(N(K,i)||"+"===i||"-"===i||"."===i))p+=V(i);else{if(":"!==i){if(t)return G;p="",l=be,f=0;continue}if(t&&(s.isSpecial()!==d(pe,p)||"file"===p&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&!s.host))return;if(s.scheme=p,t)return void(s.isSpecial()&&pe[s.scheme]===s.port&&(s.port=null));p="","file"===s.scheme?l=ke:s.isSpecial()&&r&&r.scheme===s.scheme?l=ge:s.isSpecial()?l=Se:"/"===o[f+1]?(l=we,f++):(s.cannotBeABaseURL=!0,U(s.path,""),l=Ne)}break;case be:if(!r||r.cannotBeABaseURL&&"#"!==i)return G;if(r.cannotBeABaseURL&&"#"===i){s.scheme=r.scheme,s.path=v(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,l=Re;break}l="file"===r.scheme?ke:Ee;continue;case ge:if("/"!==i||"/"!==o[f+1]){l=Ee;continue}l=Oe,f++;break;case we:if("/"===i){l=xe;break}l=Ae;continue;case Ee:if(s.scheme=r.scheme,i===n)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=v(r.path),s.query=r.query;else if("/"===i||"\\"===i&&s.isSpecial())l=_e;else if("?"===i)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=v(r.path),s.query="",l=Me;else{if("#"!==i){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=v(r.path),s.path.length--,l=Ae;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=v(r.path),s.query=r.query,s.fragment="",l=Re}break;case _e:if(!s.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,l=Ae;continue}l=xe}else l=Oe;break;case Se:if(l=Oe,"/"!==i||"/"!==A(p,f+1))continue;f++;break;case Oe:if("/"!==i&&"\\"!==i){l=xe;continue}break;case xe:if("@"===i){h&&(p="%40"+p),h=!0,a=y(p);for(var w=0;w<a.length;w++){var E=a[w];if(":"!==E||b){var _=fe(E,le);b?s.password+=_:s.username+=_}else b=!0}p=""}else if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&s.isSpecial()){if(h&&""===p)return"Invalid authority";f-=y(p).length+1,p="",l=Te}else p+=i;break;case Te:case Pe:if(t&&"file"===s.scheme){l=Ie;continue}if(":"!==i||m){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&s.isSpecial()){if(s.isSpecial()&&""===p)return H;if(t&&""===p&&(s.includesCredentials()||null!==s.port))return;if(u=s.parseHost(p))return u;if(p="",l=Ce,t)return;continue}"["===i?m=!0:"]"===i&&(m=!1),p+=i}else{if(""===p)return H;if(u=s.parseHost(p))return u;if(p="",l=je,t===Pe)return}break;case je:if(!N($,i)){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&s.isSpecial()||t){if(""!==p){var S=L(p,10);if(S>65535)return Q;s.port=s.isSpecial()&&S===pe[s.scheme]?null:S,p=""}if(t)return;l=Ce;continue}return Q}p+=i;break;case ke:if(s.scheme="file","/"===i||"\\"===i)l=Le;else{if(!r||"file"!==r.scheme){l=Ae;continue}switch(i){case n:s.host=r.host,s.path=v(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=v(r.path),s.query="",l=Me;break;case"#":s.host=r.host,s.path=v(r.path),s.query=r.query,s.fragment="",l=Re;break;default:he(M(v(o,f),""))||(s.host=r.host,s.path=v(r.path),s.shortenPath()),l=Ae;continue}}break;case Le:if("/"===i||"\\"===i){l=Ie;break}r&&"file"===r.scheme&&!he(M(v(o,f),""))&&(de(r.path[0],!0)?U(s.path,r.path[0]):s.host=r.host),l=Ae;continue;case Ie:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&de(p))l=Ae;else if(""===p){if(s.host="",t)return;l=Ce}else{if(u=s.parseHost(p))return u;if("localhost"===s.host&&(s.host=""),t)return;p="",l=Ce}continue}p+=i;break;case Ce:if(s.isSpecial()){if(l=Ae,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==n&&(l=Ae,"/"!==i))continue}else s.fragment="",l=Re;else s.query="",l=Me;break;case Ae:if(i===n||"/"===i||"\\"===i&&s.isSpecial()||!t&&("?"===i||"#"===i)){if(".."===(c=V(c=p))||"%2e."===c||".%2e"===c||"%2e%2e"===c?(s.shortenPath(),"/"===i||"\\"===i&&s.isSpecial()||U(s.path,"")):ye(p)?"/"===i||"\\"===i&&s.isSpecial()||U(s.path,""):("file"===s.scheme&&!s.path.length&&de(p)&&(s.host&&(s.host=""),p=A(p,0)+":"),U(s.path,p)),p="","file"===s.scheme&&(i===n||"?"===i||"#"===i))for(;s.path.length>1&&""===s.path[0];)W(s.path);"?"===i?(s.query="",l=Me):"#"===i&&(s.fragment="",l=Re)}else p+=fe(i,se);break;case Ne:"?"===i?(s.query="",l=Me):"#"===i?(s.fragment="",l=Re):i!==n&&(s.path[0]+=fe(i,ue));break;case Me:t||"#"!==i?i!==n&&("'"===i&&s.isSpecial()?s.query+="%27":s.query+="#"===i?"%23":fe(i,ue)):(s.fragment="",l=Re);break;case Re:i!==n&&(s.fragment+=fe(i,ce))}f++}},parseHost:function(e){var t,r,n;if("["===A(e,0)){if("]"!==A(e,e.length-1))return H;if(t=function(e){var t,r,n,o,i,a,u,c=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,p=function(){return A(e,f)};if(":"===p()){if(":"!==A(e,1))return;f+=2,l=++s}for(;p();){if(8===s)return;if(":"!==p()){for(t=r=0;r<4&&N(ee,p());)t=16*t+L(p(),16),f++,r++;if("."===p()){if(0===r)return;if(f-=r,s>6)return;for(n=0;p();){if(o=null,n>0){if(!("."===p()&&n<4))return;f++}if(!N($,p()))return;for(;N($,p());){if(i=L(p(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;f++}c[s]=256*c[s]+o,2!=++n&&4!==n||s++}if(4!==n)return;break}if(":"===p()){if(f++,!p())return}else if(p())return;c[s++]=t}else{if(null!==l)return;f++,l=++s}}if(null!==l)for(a=s-l,s=7;0!==s&&a>0;)u=c[s],c[s--]=c[l+a-1],c[l+--a]=u;else if(8!==s)return;return c}(B(e,1,-1)),!t)return H;this.host=t}else if(this.isSpecial()){if(e=b(e),N(te,e))return H;if(t=function(e){var t,r,n,o,i,a,u,c=z(e,".");if(c.length&&""===c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(o=c[n]))return e;if(i=10,o.length>1&&"0"===A(o,0)&&(i=N(X,o)?16:8,o=B(o,8===i?1:2)),""===o)a=0;else{if(!N(10===i?Z:8===i?J:ee,o))return e;a=L(o,i)}U(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=C(256,5-t))return null}else if(a>255)return null;for(u=D(r),n=0;n<r.length;n++)u+=r[n]*C(256,3-n);return u}(e),null===t)return H;this.host=t}else{if(N(re,e))return H;for(t="",r=y(e),n=0;n<r.length;n++)t+=fe(r[n],ue);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return d(pe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&de(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,u=e.query,c=e.fragment,s=t+":";return null!==o?(s+="//",e.includesCredentials()&&(s+=r+(n?":"+n:"")+"@"),s+=ae(o),null!==i&&(s+=":"+i)):"file"===t&&(s+="//"),s+=e.cannotBeABaseURL?a[0]:a.length?"/"+M(a,"/"):"",null!==u&&(s+="?"+u),null!==c&&(s+="#"+c),s},setHref:function(e){var t=this.parse(e);if(t)throw new k(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+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",ve)},getUsername:function(){return this.username},setUsername:function(e){var t=y(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=fe(t[r],le)}},getPassword:function(){return this.password},setPassword:function(e){var t=y(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=fe(t[r],le)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Te)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Pe)},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,je))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+M(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ce))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=g(e))?this.query=null:("?"===A(e,0)&&(e=B(e,1)),this.query="",this.parse(e,Me)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=g(e))?("#"===A(e,0)&&(e=B(e,1)),this.fragment="",this.parse(e,Re)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ue=function(e){var t=p(this,Fe),r=E(arguments.length,1)>1?arguments[1]:void 0,n=O(t,new De(e,!1,r));i||(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())},Fe=Ue.prototype,We=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(f(Fe,"href",We("serialize","setHref")),f(Fe,"origin",We("getOrigin")),f(Fe,"protocol",We("getProtocol","setProtocol")),f(Fe,"username",We("getUsername","setUsername")),f(Fe,"password",We("getPassword","setPassword")),f(Fe,"host",We("getHost","setHost")),f(Fe,"hostname",We("getHostname","setHostname")),f(Fe,"port",We("getPort","setPort")),f(Fe,"pathname",We("getPathname","setPathname")),f(Fe,"search",We("getSearch","setSearch")),f(Fe,"searchParams",We("getSearchParams")),f(Fe,"hash",We("getHash","setHash"))),l(Fe,"toJSON",(function(){return x(this).serialize()}),{enumerable:!0}),l(Fe,"toString",(function(){return x(this).serialize()}),{enumerable:!0}),j){var ze=j.createObjectURL,Be=j.revokeObjectURL;ze&&l(Ue,"createObjectURL",c(ze,j)),Be&&l(Ue,"revokeObjectURL",c(Be,j))}w(Ue,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Ue})},3296:function(e,t,r){"use strict";r(45806)},27208:function(e,t,r){"use strict";var n=r(46518),o=r(69565);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},40182:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.validate=t.v7=t.v6ToV1=t.v6=t.v5=t.v4=t.v3=t.v1ToV6=t.v1=t.stringify=t.parse=t.NIL=t.MAX=void 0;var n=r(62196);Object.defineProperty(t,"MAX",{enumerable:!0,get:function(){return n.default}});var o=r(63465);Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return o.default}});var i=r(31797);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return i.default}});var a=r(76011);Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.default}});var u=r(31425);Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return u.default}});var c=r(96568);Object.defineProperty(t,"v1ToV6",{enumerable:!0,get:function(){return c.default}});var s=r(70591);Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return s.default}});var l=r(48286);Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return l.default}});var f=r(74557);Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return f.default}});var p=r(46356);Object.defineProperty(t,"v6",{enumerable:!0,get:function(){return p.default}});var d=r(60268);Object.defineProperty(t,"v6ToV1",{enumerable:!0,get:function(){return d.default}});var h=r(94299);Object.defineProperty(t,"v7",{enumerable:!0,get:function(){return h.default}});var y=r(59746);Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return y.default}});var v=r(72770);Object.defineProperty(t,"version",{enumerable:!0,get:function(){return v.default}})},62196:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="ffffffff-ffff-ffff-ffff-ffffffffffff"},40338:function(e,t){"use strict";function r(e){return 14+(e+64>>>9<<4)+1}function n(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,o,i,a){return n((u=n(n(t,e),n(o,a)))<<(c=i)|u>>>32-c,r);var u,c}function i(e,t,r,n,i,a,u){return o(t&r|~t&n,e,t,i,a,u)}function a(e,t,r,n,i,a,u){return o(t&n|r&~n,e,t,i,a,u)}function u(e,t,r,n,i,a,u){return o(t^r^n,e,t,i,a,u)}function c(e,t,r,n,i,a,u){return o(r^(t|~n),e,t,i,a,u)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=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 o=new Uint32Array(r(t)).fill(0);o.set(e),o[t>>5]|=128<<t%32,o[o.length-1]=t,e=o;let s=1732584193,l=-271733879,f=-1732584194,p=271733878;for(let t=0;t<e.length;t+=16){const r=s,o=l,d=f,h=p;s=i(s,l,f,p,e[t],7,-680876936),p=i(p,s,l,f,e[t+1],12,-389564586),f=i(f,p,s,l,e[t+2],17,606105819),l=i(l,f,p,s,e[t+3],22,-1044525330),s=i(s,l,f,p,e[t+4],7,-176418897),p=i(p,s,l,f,e[t+5],12,1200080426),f=i(f,p,s,l,e[t+6],17,-1473231341),l=i(l,f,p,s,e[t+7],22,-45705983),s=i(s,l,f,p,e[t+8],7,1770035416),p=i(p,s,l,f,e[t+9],12,-1958414417),f=i(f,p,s,l,e[t+10],17,-42063),l=i(l,f,p,s,e[t+11],22,-1990404162),s=i(s,l,f,p,e[t+12],7,1804603682),p=i(p,s,l,f,e[t+13],12,-40341101),f=i(f,p,s,l,e[t+14],17,-1502002290),l=i(l,f,p,s,e[t+15],22,1236535329),s=a(s,l,f,p,e[t+1],5,-165796510),p=a(p,s,l,f,e[t+6],9,-1069501632),f=a(f,p,s,l,e[t+11],14,643717713),l=a(l,f,p,s,e[t],20,-373897302),s=a(s,l,f,p,e[t+5],5,-701558691),p=a(p,s,l,f,e[t+10],9,38016083),f=a(f,p,s,l,e[t+15],14,-660478335),l=a(l,f,p,s,e[t+4],20,-405537848),s=a(s,l,f,p,e[t+9],5,568446438),p=a(p,s,l,f,e[t+14],9,-1019803690),f=a(f,p,s,l,e[t+3],14,-187363961),l=a(l,f,p,s,e[t+8],20,1163531501),s=a(s,l,f,p,e[t+13],5,-1444681467),p=a(p,s,l,f,e[t+2],9,-51403784),f=a(f,p,s,l,e[t+7],14,1735328473),l=a(l,f,p,s,e[t+12],20,-1926607734),s=u(s,l,f,p,e[t+5],4,-378558),p=u(p,s,l,f,e[t+8],11,-2022574463),f=u(f,p,s,l,e[t+11],16,1839030562),l=u(l,f,p,s,e[t+14],23,-35309556),s=u(s,l,f,p,e[t+1],4,-1530992060),p=u(p,s,l,f,e[t+4],11,1272893353),f=u(f,p,s,l,e[t+7],16,-155497632),l=u(l,f,p,s,e[t+10],23,-1094730640),s=u(s,l,f,p,e[t+13],4,681279174),p=u(p,s,l,f,e[t],11,-358537222),f=u(f,p,s,l,e[t+3],16,-722521979),l=u(l,f,p,s,e[t+6],23,76029189),s=u(s,l,f,p,e[t+9],4,-640364487),p=u(p,s,l,f,e[t+12],11,-421815835),f=u(f,p,s,l,e[t+15],16,530742520),l=u(l,f,p,s,e[t+2],23,-995338651),s=c(s,l,f,p,e[t],6,-198630844),p=c(p,s,l,f,e[t+7],10,1126891415),f=c(f,p,s,l,e[t+14],15,-1416354905),l=c(l,f,p,s,e[t+5],21,-57434055),s=c(s,l,f,p,e[t+12],6,1700485571),p=c(p,s,l,f,e[t+3],10,-1894986606),f=c(f,p,s,l,e[t+10],15,-1051523),l=c(l,f,p,s,e[t+1],21,-2054922799),s=c(s,l,f,p,e[t+8],6,1873313359),p=c(p,s,l,f,e[t+15],10,-30611744),f=c(f,p,s,l,e[t+6],15,-1560198380),l=c(l,f,p,s,e[t+13],21,1309151649),s=c(s,l,f,p,e[t+4],6,-145523070),p=c(p,s,l,f,e[t+11],10,-1120210379),f=c(f,p,s,l,e[t+2],15,718787259),l=c(l,f,p,s,e[t+9],21,-343485551),s=n(s,r),l=n(l,o),f=n(f,d),p=n(p,h)}return Uint32Array.of(s,l,f,p)}(function(e){if(0===e.length)return new Uint32Array;const t=new Uint32Array(r(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))}},73779:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);t.default={randomUUID:r}},63465:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="00000000-0000-0000-0000-000000000000"},31797:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(59746);t.default=function(e){if(!(0,n.default)(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)}},56697:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=/^(?:[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},52291:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(n)};const n=new Uint8Array(16)},22829:function(e,t){"use strict";function r(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 n(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],o=[1732584193,4023233417,2562383102,271733878,3285377520],i=new Uint8Array(e.length+1);i.set(e),i[e.length]=128;const a=(e=i).length/4+2,u=Math.ceil(a/16),c=new Array(u);for(let t=0;t<u;++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];c[t]=r}c[u-1][14]=8*(e.length-1)/Math.pow(2,32),c[u-1][14]=Math.floor(c[u-1][14]),c[u-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<u;++e){const i=new Uint32Array(80);for(let t=0;t<16;++t)i[t]=c[e][t];for(let e=16;e<80;++e)i[e]=n(i[e-3]^i[e-8]^i[e-14]^i[e-16],1);let a=o[0],u=o[1],s=o[2],l=o[3],f=o[4];for(let e=0;e<80;++e){const o=Math.floor(e/20),c=n(a,5)+r(o,u,s,l)+f+t[o]+i[e]>>>0;f=l,l=s,s=n(u,30)>>>0,u=a,a=c}o[0]=o[0]+a>>>0,o[1]=o[1]+u>>>0,o[2]=o[2]+s>>>0,o[3]=o[3]+l>>>0,o[4]=o[4]+f>>>0}return Uint8Array.of(o[0]>>24,o[0]>>16,o[0]>>8,o[0],o[1]>>24,o[1]>>16,o[1]>>8,o[1],o[2]>>24,o[2]>>16,o[2]>>8,o[2],o[3]>>24,o[3]>>16,o[3]>>8,o[3],o[4]>>24,o[4]>>16,o[4]>>8,o[4])}},76011:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unsafeStringify=i;const n=r(59746),o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function i(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}t.default=function(e,t=0){const r=i(e,t);if(!(0,n.default)(r))throw TypeError("Stringified UUID is invalid");return r}},31425:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV1State=a;const n=r(52291),o=r(76011),i={};function a(e,t,r){return e.msecs??=-1/0,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,e}function u(e,t,r,n,o,i,a=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(i){if(a<0||a+16>i.length)throw new RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`)}else i=new Uint8Array(16),a=0;t??=Date.now(),r??=0,n??=16383&(e[8]<<8|e[9]),o??=e.slice(10,16);const u=(1e4*(268435455&(t+=122192928e5))+r)%4294967296;i[a++]=u>>>24&255,i[a++]=u>>>16&255,i[a++]=u>>>8&255,i[a++]=255&u;const c=t/4294967296*1e4&268435455;i[a++]=c>>>8&255,i[a++]=255&c,i[a++]=c>>>24&15|16,i[a++]=c>>>16&255,i[a++]=n>>>8|128,i[a++]=255&n;for(let e=0;e<6;++e)i[a++]=o[e];return i}t.default=function(e,t,r){let c;const s=e?._v6??!1;if(e){const t=Object.keys(e);1===t.length&&"_v6"===t[0]&&(e=void 0)}if(e)c=u(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.nsecs,e.clockseq,e.node,t,r);else{const e=Date.now(),o=(0,n.default)();a(i,e,o),c=u(o,i.msecs,i.nsecs,s?void 0:i.clockseq,s?void 0:i.node,t,r)}return t?c:(0,o.unsafeStringify)(c)}},96568:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(r="string"==typeof e?(0,n.default)(e):e,Uint8Array.of((15&r[6])<<4|r[7]>>4&15,(15&r[7])<<4|(240&r[4])>>4,(15&r[4])<<4|(240&r[5])>>4,(15&r[5])<<4|(240&r[0])>>4,(15&r[0])<<4|(240&r[1])>>4,(15&r[1])<<4|(240&r[2])>>4,96|15&r[2],r[3],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]));var r;return"string"==typeof e?(0,o.unsafeStringify)(t):t};const n=r(31797),o=r(76011)},70591:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;const n=r(40338),o=r(32988);var i=r(32988);function a(e,t,r,i){return(0,o.default)(48,n.default,e,t,r,i)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return i.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return i.URL}}),a.DNS=o.DNS,a.URL=o.URL,t.default=a},32988:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.stringToBytes=i,t.default=function(e,t,r,a,u,c){const s="string"==typeof r?i(r):r,l="string"==typeof a?(0,n.default)(a):a;if("string"==typeof a&&(a=(0,n.default)(a)),16!==a?.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let f=new Uint8Array(16+s.length);if(f.set(l),f.set(s,l.length),f=t(f),f[6]=15&f[6]|e,f[8]=63&f[8]|128,u){c=c||0;for(let e=0;e<16;++e)u[c+e]=f[e];return u}return(0,o.unsafeStringify)(f)};const n=r(31797),o=r(76011);function i(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}t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8"},48286:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(73779),o=r(52291),i=r(76011);t.default=function(e,t,r){if(n.default.randomUUID&&!t&&!e)return n.default.randomUUID();const a=(e=e||{}).random??e.rng?.()??(0,o.default)();if(a.length<16)throw new Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=a[e];return t}return(0,i.unsafeStringify)(a)}},74557:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;const n=r(22829),o=r(32988);var i=r(32988);function a(e,t,r,i){return(0,o.default)(80,n.default,e,t,r,i)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return i.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return i.URL}}),a.DNS=o.DNS,a.URL=o.URL,t.default=a},46356:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(76011),o=r(31425),i=r(96568);t.default=function(e,t,r){e??={},r??=0;let a=(0,o.default)({...e,_v6:!0},new Uint8Array(16));if(a=(0,i.default)(a),t){for(let e=0;e<16;e++)t[r+e]=a[e];return t}return(0,n.unsafeStringify)(a)}},60268:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(r="string"==typeof e?(0,n.default)(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,o.unsafeStringify)(t):t};const n=r(31797),o=r(76011)},94299:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV7State=a;const n=r(52291),o=r(76011),i={};function a(e,t,r){return e.msecs??=-1/0,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++),e}function u(e,t,r,n,o=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(n){if(o<0||o+16>n.length)throw new RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`)}else n=new Uint8Array(16),o=0;return t??=Date.now(),r??=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9],n[o++]=t/1099511627776&255,n[o++]=t/4294967296&255,n[o++]=t/16777216&255,n[o++]=t/65536&255,n[o++]=t/256&255,n[o++]=255&t,n[o++]=112|r>>>28&15,n[o++]=r>>>20&255,n[o++]=128|r>>>14&63,n[o++]=r>>>6&255,n[o++]=r<<2&255|3&e[10],n[o++]=e[11],n[o++]=e[12],n[o++]=e[13],n[o++]=e[14],n[o++]=e[15],n}t.default=function(e,t,r){let c;if(e)c=u(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.seq,t,r);else{const e=Date.now(),o=(0,n.default)();a(i,e,o),c=u(o,i.msecs,i.seq,t,r)}return t?c:(0,o.unsafeStringify)(c)}},59746:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56697);t.default=function(e){return"string"==typeof e&&n.default.test(e)}},72770:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(59746);t.default=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},95329:function(e,t,r){"use strict";let n,o,i;r.r(t),r.d(t,{ALWAYS:function(){return Be},DECIMAL_FIT:function(){return Ye},DECIMAL_ROUND:function(){return Ve},Decoder:function(){return k},Encoder:function(){return xe},FLOAT32_OPTIONS:function(){return ue},NEVER:function(){return ze},REUSE_BUFFER_MODE:function(){return Ge},Tag:function(){return B},addExtension:function(){return Re},clearSource:function(){return te},decode:function(){return ie},decodeIter:function(){return Ke},decodeMultiple:function(){return ae},encode:function(){return Ue},encodeAsAsyncIterable:function(){return We},encodeAsIterable:function(){return Fe},encodeIter:function(){return qe},isNativeAccelerationEnabled:function(){return R},roundFloat32:function(){return ce},setSizeLimits:function(){return re}});try{n=new TextDecoder}catch(e){}let a=0;const u=[],c={};let s,l,f,p,d,h,y,v=11281e4,m=1681e4,b=1671e4,g=u,w=0,E={},_=0,S=0,O=[],x=[],T={useRecords:!1,mapsAsObjects:!0},P=!1,j=2;try{new Function("")}catch(e){j=1/0}class k{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[N(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(o)return ee((()=>(te(),this?this.decode(e,t):k.prototype.decode.call(T,e,t))));i=t>-1?t:e.length,a=0,w=0,S=0,l=null,g=u,f=null,o=e;try{h=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(t){if(o=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 k){if(E=this,d=this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),this.structures)return s=this.structures,L();(!s||s.length>0)&&(s=[])}else E=T,(!s||s.length>0)&&(s=[]),d=null;return L()}decodeMultiple(e,t){let r,n=0;try{let o=e.length;P=!0;let i=this?this.decode(e,o):oe.decode(e,o);if(!t){for(r=[i];a<o;)n=a,r.push(L());return r}if(!1===t(i))return;for(;a<o;)if(n=a,!1===t(L()))return}catch(e){throw e.lastPosition=n,e.values=r,e}finally{P=!1,te()}}}function L(){try{let e=I();if(f){if(a>=f.postBundlePosition){let e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}a=f.postBundlePosition,f=null}if(a==i)s=null,o=null,p&&(p=null);else{if(a>i){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}if(!P)throw new Error("Data read, but end of buffer not reached")}return e}catch(e){throw te(),(e instanceof RangeError||e.message.startsWith("Unexpected end of buffer"))&&(e.incomplete=!0),e}}function I(){let e=o[a++],t=e>>5;if(e&=31,e>23)switch(e){case 24:e=o[a++];break;case 25:if(7==t)return function(){let e=o[a++],t=o[a++],r=(127&e)>>2;if(31===r)return t||3&e?NaN:128&e?-1/0:1/0;if(0===r){let r=((3&e)<<8|t)/(1<<24);return 128&e?-r:r}return z[3]=128&e|56+(r>>1),z[2]=(7&e)<<5|t>>3,z[1]=t<<5,z[0]=0,W[0]}();e=h.getUint16(a),a+=2;break;case 26:if(7==t){let e=h.getFloat32(a);if(E.useFloat32>2){let t=ne[(127&o[a])<<1|o[a+1]>>7];return a+=4,(t*e+(e>0?.5:-.5)|0)/t}return a+=4,e}e=h.getUint32(a),a+=4;break;case 27:if(7==t){let e=h.getFloat64(a);return a+=8,e}if(t>1){if(h.getUint32(a)>0)throw new Error("JavaScript does not support arrays, maps, or strings with length over 4294967295");e=h.getUint32(a+4)}else E.int64AsNumber?(e=4294967296*h.getUint32(a),e+=h.getUint32(a+4)):e=h.getBigUint64(a);a+=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=I())!=c;){if(n>=v)throw new Error(`Array length exceeds ${v}`);r[n++]=e}return 4==t?r:3==t?r.join(""):Buffer.concat(r);case 5:let o;if(E.mapsAsObjects){let e={},t=0;if(E.keyMap)for(;(o=I())!=c;){if(t++>=m)throw new Error(`Property count exceeds ${m}`);e[N(E.decodeKey(o))]=I()}else for(;(o=I())!=c;){if(t++>=m)throw new Error(`Property count exceeds ${m}`);e[N(o)]=I()}return e}{y&&(E.mapsAsObjects=!0,y=!1);let e=new Map;if(E.keyMap){let t=0;for(;(o=I())!=c;){if(t++>=m)throw new Error(`Map size exceeds ${m}`);e.set(E.decodeKey(o),I())}}else{let t=0;for(;(o=I())!=c;){if(t++>=m)throw new Error(`Map size exceeds ${m}`);e.set(o,I())}}return e}case 7:return c;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 r=e,E.copyBuffers?Uint8Array.prototype.slice.call(o,a,a+=r):o.subarray(a,a+=r);case 3:if(S>=a)return l.slice(a-_,(a+=e)-_);if(0==S&&i<140&&e<32){let t=e<16?F(e):function(e){let t=a,r=new Array(e);for(let n=0;n<e;n++){const e=o[a++];if((128&e)>0)return void(a=t);r[n]=e}return U.apply(String,r)}(e);if(null!=t)return t}return M(e);case 4:if(e>=v)throw new Error(`Array length exceeds ${v}`);let t=new Array(e);for(let r=0;r<e;r++)t[r]=I();return t;case 5:if(e>=m)throw new Error(`Map size exceeds ${v}`);if(E.mapsAsObjects){let t={};if(E.keyMap)for(let r=0;r<e;r++)t[N(E.decodeKey(I()))]=I();else for(let r=0;r<e;r++)t[N(I())]=I();return t}{y&&(E.mapsAsObjects=!0,y=!1);let t=new Map;if(E.keyMap)for(let r=0;r<e;r++)t.set(E.decodeKey(I()),I());else for(let r=0;r<e;r++)t.set(I(),I());return t}case 6:if(e>=57337){let t=s[8191&e];if(t)return t.read||(t.read=A(t)),t.read();if(e<65536){if(57343==e){let e=J(),t=I(),r=I();V(t,r);let n={};if(E.keyMap)for(let t=2;t<e;t++)n[N(E.decodeKey(r[t-2]))]=I();else for(let t=2;t<e;t++)n[N(r[t-2])]=I();return n}if(57342==e){let e=J(),t=I();for(let r=2;r<e;r++)V(t++,I());return I()}if(57337==e)return function(){let e=J(),t=a+I();for(let t=2;t<e;t++){let e=J();a+=e}let r=a;return a=t,f=[D(J()),D(J())],f.position0=0,f.position1=0,f.postBundlePosition=a,a=r,I()}();if(E.getShared&&(Z(),t=s[8191&e],t))return t.read||(t.read=A(t)),t.read()}}let n=O[e];if(n)return n.handlesRead?n(I):n(I());{let t=I();for(let r=0;r<x.length;r++){let n=x[r](e,t);if(void 0!==n)return n}return new B(t,e)}case 7:switch(e){case 20:return!1;case 21:return!0;case 22:return null;case 23:return;default:let t=(d||Q())[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 r}const C=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;function A(e){if(!e)throw new Error("Structure is required in record definition");return e.slowReads=0,function(){let e=o[a++];if(e&=31,e>23)switch(e){case 24:e=o[a++];break;case 25:e=h.getUint16(a),a+=2;break;case 26:e=h.getUint32(a),a+=4;break;default:throw new Error("Expected array header, but got "+o[a-1])}let t=this.compiledReader;for(;t;){if(t.propertyCount===e)return t(I);t=t.next}if(this.slowReads++>=j){let r=this.length==e?this:this.slice(0,e);return t=E.keyMap?new Function("r","return {"+r.map((e=>E.decodeKey(e))).map((e=>C.test(e)?N(e)+":r()":"["+JSON.stringify(e)+"]:r()")).join(",")+"}"):new Function("r","return {"+r.map((e=>C.test(e)?N(e)+":r()":"["+JSON.stringify(e)+"]:r()")).join(",")+"}"),this.compiledReader&&(t.next=this.compiledReader),t.propertyCount=e,this.compiledReader=t,t(I)}let r={};if(E.keyMap)for(let t=0;t<e;t++)r[N(E.decodeKey(this[t]))]=I();else for(let t=0;t<e;t++)r[N(this[t])]=I();return r}}function N(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 M=D,R=!1;function D(e){let t;if(e<16&&(t=F(e)))return t;if(e>64&&n)return n.decode(o.subarray(a,a+=e));const r=a+e,i=[];for(t="";a<r;){const e=o[a++];if(128&e)if(192==(224&e)){const t=63&o[a++];i.push((31&e)<<6|t)}else if(224==(240&e)){const t=63&o[a++],r=63&o[a++];i.push((31&e)<<12|t<<6|r)}else if(240==(248&e)){let t=(7&e)<<18|(63&o[a++])<<12|(63&o[a++])<<6|63&o[a++];t>65535&&(t-=65536,i.push(t>>>10&1023|55296),t=56320|1023&t),i.push(t)}else i.push(e);else i.push(e);i.length>=4096&&(t+=U.apply(String,i),i.length=0)}return i.length>0&&(t+=U.apply(String,i)),t}let U=String.fromCharCode;function F(e){if(e<4){if(e<2){if(0===e)return"";{let e=o[a++];return(128&e)>1?void(a-=1):U(e)}}{let t=o[a++],r=o[a++];if((128&t)>0||(128&r)>0)return void(a-=2);if(e<3)return U(t,r);let n=o[a++];return(128&n)>0?void(a-=3):U(t,r,n)}}{let t=o[a++],r=o[a++],n=o[a++],i=o[a++];if((128&t)>0||(128&r)>0||(128&n)>0||(128&i)>0)return void(a-=4);if(e<6){if(4===e)return U(t,r,n,i);{let e=o[a++];return(128&e)>0?void(a-=5):U(t,r,n,i,e)}}if(e<8){let u=o[a++],c=o[a++];if((128&u)>0||(128&c)>0)return void(a-=6);if(e<7)return U(t,r,n,i,u,c);let s=o[a++];return(128&s)>0?void(a-=7):U(t,r,n,i,u,c,s)}{let u=o[a++],c=o[a++],s=o[a++],l=o[a++];if((128&u)>0||(128&c)>0||(128&s)>0||(128&l)>0)return void(a-=8);if(e<10){if(8===e)return U(t,r,n,i,u,c,s,l);{let e=o[a++];return(128&e)>0?void(a-=9):U(t,r,n,i,u,c,s,l,e)}}if(e<12){let f=o[a++],p=o[a++];if((128&f)>0||(128&p)>0)return void(a-=10);if(e<11)return U(t,r,n,i,u,c,s,l,f,p);let d=o[a++];return(128&d)>0?void(a-=11):U(t,r,n,i,u,c,s,l,f,p,d)}{let f=o[a++],p=o[a++],d=o[a++],h=o[a++];if((128&f)>0||(128&p)>0||(128&d)>0||(128&h)>0)return void(a-=12);if(e<14){if(12===e)return U(t,r,n,i,u,c,s,l,f,p,d,h);{let e=o[a++];return(128&e)>0?void(a-=13):U(t,r,n,i,u,c,s,l,f,p,d,h,e)}}{let y=o[a++],v=o[a++];if((128&y)>0||(128&v)>0)return void(a-=14);if(e<15)return U(t,r,n,i,u,c,s,l,f,p,d,h,y,v);let m=o[a++];return(128&m)>0?void(a-=15):U(t,r,n,i,u,c,s,l,f,p,d,h,y,v,m)}}}}}let W=new Float32Array(1),z=new Uint8Array(W.buffer,0,4);new Array(4096);class B{constructor(e,t){this.value=e,this.tag=t}}O[0]=e=>new Date(e),O[1]=e=>new Date(Math.round(1e3*e)),O[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},O[3]=e=>BigInt(-1)-O[2](e),O[4]=e=>+(e[1]+"e"+e[0]),O[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=A(t)};O[105]=e=>{let t=e.length,r=e[1];V(e[0],r);let n={};for(let o=2;o<t;o++)n[N(r[o-2])]=e[o];return n},O[14]=e=>f?f[0].slice(f.position0,f.position0+=e):new B(e,14),O[15]=e=>f?f[1].slice(f.position1,f.position1+=e):new B(e,15);let Y={Error:Error,RegExp:RegExp};O[27]=e=>(Y[e[0]]||Error)(e[1],e[2]);const G=e=>{if(132!=o[a++]){let e=new Error("Packed values structure must be followed by a 4 element array");throw o.length<a&&(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 d=d?t.concat(d.slice(t.length)):t,d.prefixes=e(),d.suffixes=e(),e()};function H(e,t){return"string"==typeof e?e+t:e instanceof Array?e.concat(t):Object.assign({},e,t)}function Q(){if(!d){if(!E.getShared)throw new Error("No packed values available");Z()}return d}G.handlesRead=!0,O[51]=G,O[6]=e=>{if(!d){if(!E.getShared)return new B(e,6);Z()}if("number"==typeof e)return d[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},O[28]=e=>{p||(p=new Map,p.id=0);let t,r=p.id++,n=a;t=o[a]>>5==4?[]:{};let i={target:t};p.set(r,i);let u=e();return i.used?(Object.getPrototypeOf(t)!==Object.getPrototypeOf(u)&&(a=n,t=u,p.set(r,{target:t}),u=e()),Object.assign(t,u)):(i.target=u,u)},O[28].handlesRead=!0,O[29]=e=>{let t=p.get(e);return t.used=!0,t.target},O[258]=e=>new Set(e),(O[259]=e=>(E.mapsAsObjects&&(E.mapsAsObjects=!1,y=!0),e())).handlesRead=!0,x.push(((e,t)=>e>=225&&e<=255?H(Q().prefixes[e-224],t):e>=28704&&e<=32767?H(Q().prefixes[e-28672],t):e>=1879052288&&e<=2147483647?H(Q().prefixes[e-1879048192],t):e>=216&&e<=223?H(t,Q().suffixes[e-216]):e>=27647&&e<=28671?H(t,Q().suffixes[e-27639]):e>=1811940352&&e<=1879048191?H(t,Q().suffixes[e-1811939328]):1399353956==e?{packedValues:d,structures:s.slice(0),version:t}:55799==e?t:void 0));const q=1==new Uint8Array(new Uint16Array([1]).buffer)[0],K=[Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,"undefined"==typeof BigUint64Array?{name:"BigUint64Array"}:BigUint64Array,Int8Array,Int16Array,Int32Array,"undefined"==typeof BigInt64Array?{name:"BigInt64Array"}:BigInt64Array,Float32Array,Float64Array],$=[64,68,69,70,71,72,77,78,79,85,86];for(let e=0;e<K.length;e++)X(K[e],$[e]);function X(e,t){let r,n="get"+e.name.slice(0,-5);"function"==typeof e?r=e.BYTES_PER_ELEMENT:e=null;for(let o=0;o<2;o++){if(!o&&1==r)continue;let i=2==r?1:4==r?2:8==r?3:0;O[o?t:t-4]=1==r||o==q?n=>{if(!e)throw new Error("Could not find typed array for code "+t);return E.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>>i)}:r=>{if(!e)throw new Error("Could not find typed array for code "+t);let a=new DataView(r.buffer,r.byteOffset,r.byteLength),u=r.length>>i,c=new e(u),s=a[n];for(let e=0;e<u;e++)c[e]=s.call(a,e<<i,o);return c}}}function J(){let e=31&o[a++];if(e>23)switch(e){case 24:e=o[a++];break;case 25:e=h.getUint16(a),a+=2;break;case 26:e=h.getUint32(a),a+=4}return e}function Z(){if(E.getShared){let e=ee((()=>(o=null,E.getShared())))||{},t=e.structures||[];E.sharedVersion=e.version,d=E.sharedValues=e.packedValues,!0===s?E.structures=s=t:s.splice.apply(s,[0,t.length].concat(t))}}function ee(e){let t=i,r=a,n=w,u=_,c=S,d=l,y=g,v=p,m=f,b=new Uint8Array(o.slice(0,i)),O=s,x=E,T=P,j=e();return i=t,a=r,w=n,_=u,S=c,l=d,g=y,p=v,f=m,o=b,P=T,s=O,E=x,h=new DataView(o.buffer,o.byteOffset,o.byteLength),j}function te(){o=null,p=null,s=null}function re(e){e.maxMapSize&&(m=e.maxMapSize),e.maxArraySize&&(v=e.maxArraySize),e.maxObjectSize&&(b=e.maxObjectSize)}const ne=new Array(147);for(let e=0;e<256;e++)ne[e]=+("1e"+Math.floor(45.15-.30103*e));let oe=new k({useRecords:!1});const ie=oe.decode,ae=oe.decodeMultiple,ue={NEVER:0,ALWAYS:1,DECIMAL_ROUND:3,DECIMAL_FIT:4};function ce(e){W[0]=e;let t=ne[(127&z[3])<<1|z[2]>>7];return(t*e+(e>0?.5:-.5)|0)/t}let se,le,fe;try{se=new TextEncoder}catch(e){}const pe="object"==typeof globalThis&&globalThis.Buffer,de=void 0!==pe,he=de?pe.allocUnsafeSlow:Uint8Array,ye=de?pe:Uint8Array,ve=de?4294967296:2144337920;let me,be,ge,we,Ee=0,_e=null;const Se=/[\u0080-\uFFFF]/,Oe=Symbol("record-id");class xe extends k{constructor(e){let t,r,n,o,i;super(e),this.offset=0,e=e||{};let a=ye.prototype.utf8Write?function(e,t,r){return be.utf8Write(e,t,r)}:!(!se||!se.encodeInto)&&function(e,t){return se.encodeInto(e,be.subarray(t)).written},u=this,c=e.structures||e.saveStructures,s=e.maxSharedStructures;if(null==s&&(s=c?128:0),s>8190)throw new Error("Maximum maxSharedStructure is 8190");let l=e.sequential;l&&(s=0),this.structures||(this.structures=[]),this.saveStructures&&(this.saveShared=this.saveStructures);let f,p,d,h=e.sharedValues;if(h){d=Object.create(null);for(let e=0,t=h.length;e<t;e++)d[h[e]]=e}let y=[],v=0,m=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(a,c){if(be||(be=new he(8192),ge=new DataView(be.buffer,0,8192),Ee=0),we=be.length-10,we-Ee<2048?(be=new he(be.length),ge=new DataView(be.buffer,0,be.length),we=be.length-10,Ee=0):c===Ge&&(Ee=Ee+7&2147483640),t=Ee,u.useSelfDescribedHeader&&(ge.setUint32(Ee,3654940416),Ee+=3),i=u.structuredClone?new Map:null,u.bundleStrings&&"string"!=typeof a?(_e=[],_e.size=1/0):_e=null,r=u.structures,r){if(r.uninitialized){let e=u.getShared()||{};u.structures=r=e.structures||[],u.sharedVersion=e.version;let t=u.sharedValues=e.packedValues;if(t){d={};for(let e=0,r=t.length;e<r;e++)d[t[e]]=e}}let e=r.length;if(e>s&&!l&&(e=s),!r.transitions){r.transitions=Object.create(null);for(let t=0;t<e;t++){let e=r[t];if(!e)continue;let n,o=r.transitions;for(let r=0,i=e.length;r<i;r++){void 0===o[Oe]&&(o[Oe]=t);let i=e[r];n=o[i],n||(n=o[i]=Object.create(null)),o=n}o[Oe]=1048576|t}}l||(r.nextId=e)}if(n&&(n=!1),o=r||[],p=d,e.pack){let t=new Map;if(t.values=[],t.encoder=u,t.maxValues=e.maxPrivatePackedValues||(d?16:1/0),t.objectMap=d||!1,t.samplingPackedValues=f,Ie(a,t),t.values.length>0){be[Ee++]=216,be[Ee++]=51,je(4);let e=t.values;b(e),je(0),je(0),p=Object.create(d||null);for(let t=0,r=e.length;t<r;t++)p[e[t]]=t}}me=c&Qe;try{if(me)return;if(b(a),_e&&Me(t,b),u.offset=Ee,i&&i.idsToInsert){Ee+=2*i.idsToInsert.length,Ee>we&&w(Ee),u.offset=Ee;let e=function(e,t){let r,n=2*t.length,o=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,o),n-=2;let i=t+n;e[i++]=216,e[i++]=28,o=t}return e}(be.subarray(t,Ee),i.idsToInsert);return i=null,e}return c&Ge?(be.start=t,be.end=Ee,be):be.subarray(t,Ee)}finally{if(r)if(m<10&&m++,r.length>s&&(r.length=s),v>1e4)r.transitions=null,m=0,v=0,y.length>0&&(y=[]);else if(y.length>0&&!l){for(let e=0,t=y.length;e<t;e++)y[e][Oe]=void 0;y=[]}if(n&&u.saveShared){u.structures.length>s&&(u.structures=u.structures.slice(0,s));let e=be.subarray(t,Ee);return!1===u.updateSharedData()?u.encode(a):e}c&He&&(Ee=t)}},this.findCommonStringsToPack=()=>(f=new Map,d||(d=Object.create(null)),e=>{let t=e&&e.threshold||4,r=this.pack?e.maxPrivatePackedValues||16:0;h||(h=this.sharedValues=[]);for(let[e,o]of f)o.count>t&&(d[e]=r++,h.push(e),n=!0);for(;this.saveShared&&!1===this.updateSharedData(););f=null});const b=r=>{Ee>we&&(be=w(Ee));var n,o=typeof r;if("string"===o){if(p){let t=p[r];if(t>=0)return void(t<16?be[Ee++]=t+224:(be[Ee++]=198,b(1&t?15-t>>1:t-16>>1)));if(f&&!e.pack){let e=f.get(r);e?e.count++:f.set(r,{count:1})}}let o,i=r.length;if(_e&&i>=4&&i<1024){if((_e.size+=i)>61440){let e,r=(_e[0]?3*_e[0].length+_e[1].length:0)+10;Ee+r>we&&(be=w(Ee+r)),be[Ee++]=217,be[Ee++]=223,be[Ee++]=249,be[Ee++]=_e.position?132:130,be[Ee++]=26,e=Ee-t,Ee+=4,_e.position&&Me(t,b),_e=["",""],_e.size=0,_e.position=e}let e=Se.test(r);return _e[e?0:1]+=r,be[Ee++]=e?206:207,void b(i)}o=i<32?1:i<256?2:i<65536?3:5;let u=3*i;if(Ee+u>we&&(be=w(Ee+u)),i<64||!a){let e,t,a,u=Ee+o;for(e=0;e<i;e++)t=r.charCodeAt(e),t<128?be[u++]=t:t<2048?(be[u++]=t>>6|192,be[u++]=63&t|128):55296==(64512&t)&&56320==(64512&(a=r.charCodeAt(e+1)))?(t=65536+((1023&t)<<10)+(1023&a),e++,be[u++]=t>>18|240,be[u++]=t>>12&63|128,be[u++]=t>>6&63|128,be[u++]=63&t|128):(be[u++]=t>>12|224,be[u++]=t>>6&63|128,be[u++]=63&t|128);n=u-Ee-o}else n=a(r,Ee+o,u);n<24?be[Ee++]=96|n:n<256?(o<2&&be.copyWithin(Ee+2,Ee+1,Ee+1+n),be[Ee++]=120,be[Ee++]=n):n<65536?(o<3&&be.copyWithin(Ee+3,Ee+2,Ee+2+n),be[Ee++]=121,be[Ee++]=n>>8,be[Ee++]=255&n):(o<5&&be.copyWithin(Ee+5,Ee+3,Ee+3+n),be[Ee++]=122,ge.setUint32(Ee,n),Ee+=4),Ee+=n}else if("number"===o)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(be[Ee++]=250,ge.setFloat32(Ee,r),e<4||(0|(t=r*ne[(127&be[Ee])<<1|be[Ee+1]>>7]))===t)return void(Ee+=4);Ee--}be[Ee++]=251,ge.setFloat64(Ee,r),Ee+=8}else r>=-24?be[Ee++]=31-r:r>=-256?(be[Ee++]=56,be[Ee++]=~r):r>=-65536?(be[Ee++]=57,ge.setUint16(Ee,~r),Ee+=2):(be[Ee++]=58,ge.setUint32(Ee,~r),Ee+=4);else r<24?be[Ee++]=r:r<256?(be[Ee++]=24,be[Ee++]=r):r<65536?(be[Ee++]=25,be[Ee++]=r>>8,be[Ee++]=255&r):(be[Ee++]=26,ge.setUint32(Ee,r),Ee+=4);else if("object"===o)if(r){if(i){let e=i.get(r);if(e){if(be[Ee++]=216,be[Ee++]=29,be[Ee++]=25,!e.references){let t=i.idsToInsert||(i.idsToInsert=[]);e.references=[],t.push(e)}return e.references.push(Ee-t),void(Ee+=2)}i.set(r,{offset:Ee-t})}let e=r.constructor;if(e===Object)g(r);else if(e===Array){(n=r.length)<24?be[Ee++]=128|n:je(n);for(let e=0;e<n;e++)b(r[e])}else if(e===Map)if((this.mapsAsObjects?!1!==this.useTag259ForMaps:this.useTag259ForMaps)&&(be[Ee++]=217,be[Ee++]=1,be[Ee++]=3),(n=r.size)<24?be[Ee++]=160|n:n<256?(be[Ee++]=184,be[Ee++]=n):n<65536?(be[Ee++]=185,be[Ee++]=n>>8,be[Ee++]=255&n):(be[Ee++]=186,ge.setUint32(Ee,n),Ee+=4),u.keyMap)for(let[e,t]of r)b(u.encodeKey(e)),b(t);else for(let[e,t]of r)b(e),b(t);else{for(let e=0,t=le.length;e<t;e++)if(r instanceof fe[e]){let t=le[e],n=t.tag;return null==n&&(n=t.getTag&&t.getTag.call(this,r)),n<24?be[Ee++]=192|n:n<256?(be[Ee++]=216,be[Ee++]=n):n<65536?(be[Ee++]=217,be[Ee++]=n>>8,be[Ee++]=255&n):n>-1&&(be[Ee++]=218,ge.setUint32(Ee,n),Ee+=4),void t.encode.call(this,r,b,w)}if(r[Symbol.iterator]){if(me){let e=new Error("Iterable should be serialized as iterator");throw e.iteratorNotHandled=!0,e}be[Ee++]=159;for(let e of r)b(e);return void(be[Ee++]=255)}if(r[Symbol.asyncIterator]||Le(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 b(e)}g(r)}}else be[Ee++]=246;else if("boolean"===o)be[Ee++]=r?245:244;else if("bigint"===o){if(r<BigInt(1)<<BigInt(64)&&r>=0)be[Ee++]=27,ge.setBigUint64(Ee,r);else if(r>-(BigInt(1)<<BigInt(64))&&r<0)be[Ee++]=59,ge.setBigUint64(Ee,-r-BigInt(1));else{if(!this.largeBigIntToFloat){r>=BigInt(0)?be[Ee++]=194:(be[Ee++]=195,r=BigInt(-1)-r);let e=[];for(;r;)e.push(Number(r&BigInt(255))),r>>=BigInt(8);return void Ne(new Uint8Array(e.reverse()),w)}be[Ee++]=251,ge.setFloat64(Ee,Number(r))}Ee+=8}else{if("undefined"!==o)throw new Error("Unknown type: "+o);be[Ee++]=247}},g=!1===this.useRecords?this.variableMapSize?e=>{let t=Object.keys(e),r=Object.values(e),n=t.length;if(n<24?be[Ee++]=160|n:n<256?(be[Ee++]=184,be[Ee++]=n):n<65536?(be[Ee++]=185,be[Ee++]=n>>8,be[Ee++]=255&n):(be[Ee++]=186,ge.setUint32(Ee,n),Ee+=4),u.keyMap)for(let e=0;e<n;e++)b(u.encodeKey(t[e])),b(r[e]);else for(let e=0;e<n;e++)b(t[e]),b(r[e])}:e=>{be[Ee++]=185;let r=Ee-t;Ee+=2;let n=0;if(u.keyMap)for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(b(u.encodeKey(t)),b(e[t]),n++);else for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(b(t),b(e[t]),n++);be[r+++t]=n>>8,be[r+t]=255&n}:(e,t)=>{let r,i,a,u=o.transitions||(o.transitions=Object.create(null)),c=0,l=0;if(this.keyMap){a=Object.keys(e).map((e=>this.encodeKey(e))),l=a.length;for(let e=0;e<l;e++){let t=a[e];r=u[t],r||(r=u[t]=Object.create(null),c++),u=r}}else for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(r=u[t],r||(1048576&u[Oe]&&(i=65535&u[Oe]),r=u[t]=Object.create(null),c++),u=r,l++);let f=u[Oe];if(void 0!==f)f&=65535,be[Ee++]=217,be[Ee++]=f>>8|224,be[Ee++]=255&f;else{if(a||(a=u.__keys__||(u.__keys__=Object.keys(e))),void 0===i?(f=o.nextId++,f||(f=0,o.nextId=1),f>=256&&(o.nextId=(f=s)+1)):f=i,o[f]=a,!(f<s)){if(u[Oe]=f,ge.setUint32(Ee,3655335680),Ee+=3,c&&(v+=m*c),y.length>=256-s&&(y.shift()[Oe]=void 0),y.push(u),je(l+2),b(57344+f),b(a),t)return;for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&b(e[t]);return}be[Ee++]=217,be[Ee++]=f>>8|224,be[Ee++]=255&f,u=o.transitions;for(let e=0;e<l;e++)(void 0===u[Oe]||1048576&u[Oe])&&(u[Oe]=f),u=u[a[e]];u[Oe]=1048576|f,n=!0}if(l<24?be[Ee++]=128|l:je(l),!t)for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&b(e[t])},w=e=>{let r;if(e>16777216){if(e-t>ve)throw new Error("Encoded buffer would be larger than maximum buffer size");r=Math.min(ve,4096*Math.round(Math.max((e-t)*(e>67108864?1.25:2),4194304)/4096))}else r=1+(Math.max(e-t<<2,be.length-1)>>12)<<12;let n=new he(r);return ge=new DataView(n.buffer,0,r),be.copy?be.copy(n,0,t,e):n.set(be.slice(t,e)),Ee-=t,t=0,we=n.length-10,be=n};let E=100,_=1e3;function*S(e,r,n){let o=e.constructor;if(o===Object){let t=!1!==u.useRecords;t?g(e,!0):Te(Object.keys(e).length,160);for(let n in e){let o=e[n];t||b(n),o&&"object"==typeof o?r[n]?yield*S(o,r[n]):yield*O(o,r,n):b(o)}}else if(o===Array){let n=e.length;je(n);for(let o=0;o<n;o++){let n=e[o];n&&("object"==typeof n||Ee-t>E)?r.element?yield*S(n,r.element):yield*O(n,r,"element"):b(n)}}else if(e[Symbol.iterator]&&!e.buffer){be[Ee++]=159;for(let n of e)n&&("object"==typeof n||Ee-t>E)?r.element?yield*S(n,r.element):yield*O(n,r,"element"):b(n);be[Ee++]=255}else Le(e)?(Te(e.size,64),yield be.subarray(t,Ee),yield e,x()):e[Symbol.asyncIterator]?(be[Ee++]=159,yield be.subarray(t,Ee),yield e,x(),be[Ee++]=255):b(e);n&&Ee>t?yield be.subarray(t,Ee):Ee-t>E&&(yield be.subarray(t,Ee),x())}function*O(e,r,n){let o=Ee-t;try{b(e),Ee-t>E&&(yield be.subarray(t,Ee),x())}catch(i){if(!i.iteratorNotHandled)throw i;r[n]={},Ee=t+o,yield*S.call(this,e,r[n])}}function x(){E=_,u.encode(null,Qe)}function T(e,t,r){return E=t&&t.chunkThreshold?_=t.chunkThreshold:100,e&&"object"==typeof e?(u.encode(null,Qe),r(e,u.iterateProperties||(u.iterateProperties={}),!0)):[u.encode(e)]}async function*P(e,t){for(let r of S(e,t,!0)){let e=r.constructor;if(e===ye||e===Uint8Array)yield r;else if(Le(r)){let e,t=r.stream().getReader();for(;!(e=await t.read()).done;)yield e.value}else if(r[Symbol.asyncIterator])for await(let e of r)x(),e?yield*P(e,t.async||(t.async={})):yield u.encode(e);else yield r}}this.encodeAsIterable=function(e,t){return T(e,t,S)},this.encodeAsAsyncIterable=function(e,t){return T(e,t,P)}}useBuffer(e){be=e,ge=new DataView(be.buffer,be.byteOffset,be.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 Pe(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 Te(e,t){e<24?be[Ee++]=t|e:e<256?(be[Ee++]=24|t,be[Ee++]=e):e<65536?(be[Ee++]=25|t,be[Ee++]=e>>8,be[Ee++]=255&e):(be[Ee++]=26|t,ge.setUint32(Ee,e),Ee+=4)}class Pe{constructor(e,t,r){this.structures=e,this.packedValues=t,this.version=r}}function je(e){e<24?be[Ee++]=128|e:e<256?(be[Ee++]=152,be[Ee++]=e):e<65536?(be[Ee++]=153,be[Ee++]=e>>8,be[Ee++]=255&e):(be[Ee++]=154,ge.setUint32(Ee,e),Ee+=4)}const ke="undefined"==typeof Blob?function(){}:Blob;function Le(e){if(e instanceof ke)return!0;let t=e[Symbol.toStringTag];return"Blob"===t||"File"===t}function Ie(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++)Ie(e[r],t);else{let n=!t.encoder.useRecords;for(var r in e)e.hasOwnProperty(r)&&(n&&Ie(r,t),Ie(e[r],t))}break;case"function":console.log(e)}}const Ce=1==new Uint8Array(new Uint16Array([1]).buffer)[0];function Ae(e,t){return!Ce&&t>1&&(e-=4),{tag:e,encode:function(e,t){let r=e.byteLength,n=e.byteOffset||0,o=e.buffer||e;t(de?pe.from(o,n,r):new Uint8Array(o,n,r))}}}function Ne(e,t){let r=e.byteLength;r<24?be[Ee++]=64+r:r<256?(be[Ee++]=88,be[Ee++]=r):r<65536?(be[Ee++]=89,be[Ee++]=r>>8,be[Ee++]=255&r):(be[Ee++]=90,ge.setUint32(Ee,r),Ee+=4),Ee+r>=be.length&&t(Ee+r),be.set(e.buffer?e:new Uint8Array(e),Ee),Ee+=r}function Me(e,t){ge.setUint32(_e.position+e,Ee-_e.position-e+1);let r=_e;_e=null,t(r[0]),t(r[1])}function Re(e){if(e.Class){if(!e.encode)throw new Error("Extension has no encode function");fe.unshift(e.Class),le.unshift(e)}!function(e){O[e.tag]=e.decode}(e)}fe=[Date,Set,Error,RegExp,B,ArrayBuffer,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,"undefined"==typeof BigUint64Array?function(){}:BigUint64Array,Int8Array,Int16Array,Int32Array,"undefined"==typeof BigInt64Array?function(){}:BigInt64Array,Float32Array,Float64Array,Pe],le=[{tag:1,encode(e,t){let r=e.getTime()/1e3;(this.useTimestamp32||0===e.getMilliseconds())&&r>=0&&r<4294967296?(be[Ee++]=26,ge.setUint32(Ee,r),Ee+=4):(be[Ee++]=251,ge.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){return e.tag},encode(e,t){t(e.value)}},{encode(e,t,r){Ne(e,r)}},{getTag(e){if(e.constructor===Uint8Array&&(this.tagUint8Array||de&&!1!==this.tagUint8Array))return 64},encode(e,t,r){Ne(e,r)}},Ae(68,1),Ae(69,2),Ae(70,4),Ae(71,8),Ae(72,1),Ae(77,2),Ae(78,4),Ae(79,8),Ae(85,4),Ae(86,8),{encode(e,t){let r=e.packedValues||[],n=e.structures||[];if(r.values.length>0){be[Ee++]=216,be[Ee++]=51,je(4);let e=r.values;t(e),je(0),je(0),packedObjectMap=Object.create(sharedPackedObjectMap||null);for(let t=0,r=e.length;t<r;t++)packedObjectMap[e[t]]=t}if(n){ge.setUint32(Ee,3655335424),Ee+=3;let r=n.slice(0);r.unshift(57344),r.push(new B(e.version,1399353956)),t(r)}else t(new B(e.version,1399353956))}}];let De=new xe({useRecords:!1});const Ue=De.encode,Fe=De.encodeAsIterable,We=De.encodeAsAsyncIterable,{NEVER:ze,ALWAYS:Be,DECIMAL_ROUND:Ve,DECIMAL_FIT:Ye}=ue,Ge=512,He=1024,Qe=2048;function qe(e,t={}){if(e&&"object"==typeof e){if("function"==typeof e[Symbol.iterator])return function*(e,t){const r=new xe(t);for(const t of e)yield r.encode(t)}(e,t);if("function"==typeof e.then||"function"==typeof e[Symbol.asyncIterator])return async function*(e,t){const r=new xe(t);for await(const t of e)yield r.encode(t)}(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")}function Ke(e,t={}){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 k(t);let n;const o=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*o(t)}():"function"==typeof e[Symbol.asyncIterator]?async function*(){for await(const t of e)yield*o(t)}():void 0}},75120:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"سماح","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":"طلب الدعم"}')},30428:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Erlauben","DENY":"Ablehnen","END_SESSION":"Cobrowse-Sitzung beenden","FULL_DEVICE_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte Ihren gesamten Bildschirm anzeigen. Möchtest du das zulassen?","FULL_DEVICE_REQUEST_TITLE":"Screen-Capture-Anforderung","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte diese Seite steuern. Möchtest du das zulassen?","REMOTE_CONTROL_REQUEST_TITLE":"Fernsteuerungsanfrage","SESSION_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte diese Webseite vorübergehend mit Ihnen nutzen. Möchtest du das zulassen?","SESSION_REQUEST_TITLE":"Supportanforderung"}')},45448:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Allow","DENY":"Deny","END_SESSION":"End Cobrowse Session","FULL_DEVICE_REQUEST_DESCRIPTION":"A support agent would like to view your entire screen. Do you want to allow this?","FULL_DEVICE_REQUEST_TITLE":"Screen Capture Request","REMOTE_CONTROL_REQUEST_DESCRIPTION":"A support agent would like to control this page. Do you want to allow this?","REMOTE_CONTROL_REQUEST_TITLE":"Remote Control Request","SESSION_REQUEST_DESCRIPTION":"A support agent would like to temporarily use this web page with you. Do you want to allow this?","SESSION_REQUEST_TITLE":"Support Request","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. Do you want to allow this?","UNIVERSAL_PROXY_REQUEST_TITLE":"Session Continuation"}')},49467:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","DENY":"Denegar","END_SESSION":"Finalizar Sesión de Navegación Conjunta","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agente de soporte quiere ver toda su pantalla. ¿Deseas permitir esto?","FULL_DEVICE_REQUEST_TITLE":"Solicitud de Captura de Pantalla","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente de soporte quiere controlar esta página. ¿Deseas permitir esto?","REMOTE_CONTROL_REQUEST_TITLE":"Solicitud de Control Remoto","SESSION_REQUEST_DESCRIPTION":"Un agente de soporte quiere usar temporalmente esta página web con usted. ¿Desea permitir esto?","SESSION_REQUEST_TITLE":"Solicitud de Soporte"}')},70831:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","DENY":"Negar","END_SESSION":"Finalizar Sesión de Navegación Conjunta","FULL_DEVICE_REQUEST_DESCRIPTION":"Un asistente de soporte solicita visualizar la totalidad de su pantalla. ¿Desas permitir esto?","FULL_DEVICE_REQUEST_TITLE":"Solicitud de Captura de Pantalla","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente de soporte desea controlar esta página. ¿Desea permitir esto?","REMOTE_CONTROL_REQUEST_TITLE":"Solicitud de Control Remoto","SESSION_REQUEST_DESCRIPTION":"Un agente de soporte quiere usar temporalmente esta página web con usted. ¿Desea permitir esto?","SESSION_REQUEST_TITLE":"Solicitud de Soporte"}')},99867:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Autoriser","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. Donnez-vous votre autorisation ?","FULL_DEVICE_REQUEST_TITLE":"Demande de capture d\'écran","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agent du soutien souhaiterait avoir le contrôle de cette page. Donnez-vous votre autorisation ?","REMOTE_CONTROL_REQUEST_TITLE":"Demande de commande à distance","SESSION_REQUEST_DESCRIPTION":"Un agent de soutien souhaiterait temporairement utiliser cette page Web avec vous. Donnez-vous votre autorisation ?","SESSION_REQUEST_TITLE":"Demande de soutien"}')},87876:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"अनुमति देना","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":"समर्थन का अनुरोध करें"}')},28038:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Consenti","DENY":"Nega","END_SESSION":"Termina la sessione di Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agente dell\'assistenza desidera visualizzare tutto il tuo schermo. Acconsenti?","FULL_DEVICE_REQUEST_TITLE":"Richiesta di cattura dello schermo","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente dell\'assistenza desidera controllare questa pagina. Acconsenti?","REMOTE_CONTROL_REQUEST_TITLE":"Richiesta di controllo da remoto","SESSION_REQUEST_DESCRIPTION":"Un agente dell\'assistenza vorrebbe utilizzare temporaneamente questa pagina web con te. Vuoi permetterlo?","SESSION_REQUEST_TITLE":"Richiesta di assistenza"}')},16582:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"許可する","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":"サポートリクエスト"}')},61753:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Рұқсат етіңіз","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":"Қолдау сұрауы"}')},45613:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"허용하다","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":"지원 요청"}')},59396:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"परवानगी द्या","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":"समर्थन विनंती"}')},19121:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Toestaan","DENY":"Afwijzen","END_SESSION":"Cobrowse-sessie beëindigen","FULL_DEVICE_REQUEST_DESCRIPTION":"Een support agent wilt jouw volledige scherm zien. Wil jij dit toestaan?","FULL_DEVICE_REQUEST_TITLE":"Schermopname verzoek","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Een support agent wilt graag deze pagina bedienen. Wil jij dit toestaan?","REMOTE_CONTROL_REQUEST_TITLE":"Verzoek voor bediening op afstand","SESSION_REQUEST_DESCRIPTION":"Een support agent wilt graag tijdelijk met u meekijken op deze webpagina.","SESSION_REQUEST_TITLE":"Supportverzoek"}')},85443:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Umożliwić","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":"Żądanie przechwycenia ekranu","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby kontrolować tę stronę. ","REMOTE_CONTROL_REQUEST_TITLE":"Żądanie zdalnego sterowania","SESSION_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby tymczasowo korzystać z tej strony internetowej razem z Tobą. ","SESSION_REQUEST_TITLE":"Żądanie wsparcia"}')},26770:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","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":"Solicitação de captura de tela","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de controlar esta página. ","REMOTE_CONTROL_REQUEST_TITLE":"Solicitação de controle remoto","SESSION_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de usar temporariamente esta página da web com você. ","SESSION_REQUEST_TITLE":"Solicitação de suporte"}')},63851:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","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":"Solicitação de captura de tela","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de controlar esta página. ","REMOTE_CONTROL_REQUEST_TITLE":"Pedido de Controlo Remoto","SESSION_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de usar temporariamente esta página da web com você. ","SESSION_REQUEST_TITLE":"Solicitação de suporte"}')},86146:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Разрешить","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":"Запрос поддержки"}')},41224:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Dovoli","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":"Zahteva za zajem zaslona","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Podporni agent želi nadzorovati to stran. Ali želite to dovoliti?","REMOTE_CONTROL_REQUEST_TITLE":"Zahteva za daljinsko upravljanje","SESSION_REQUEST_DESCRIPTION":"Agent za podporo želi začasno uporabljati to spletno stran z vami. ","SESSION_REQUEST_TITLE":"Zahteva za podporo"}')},31559:function(e){"use strict";e.exports=JSON.parse('{"DENY":"Заперечую","END_SESSION":"Завершити сеанс Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Агент підтримки хотів би переглянути весь ваш екран. Ви хочете дозволити це?","FULL_DEVICE_REQUEST_TITLE":"Запит на зйомку екрана","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Агент підтримки хотів би контролювати цю сторінку. Ви хочете дозволити це?","SESSION_REQUEST_DESCRIPTION":"Агент служби підтримки хотів би тимчасово використовувати цю веб-сторінку разом з вами. Ви хочете дозволити це?","SESSION_REQUEST_TITLE":"Запит на підтримку"}')},87762:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Cho phép","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. Bạn có muốn cho phép điều này không?","FULL_DEVICE_REQUEST_TITLE":"Yêu cầu chụp 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. Bạn có muốn cho phép điều này không?","REMOTE_CONTROL_REQUEST_TITLE":"Yêu cầu đ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. Bạn có muốn cho phép việc này không?","SESSION_REQUEST_TITLE":"Yêu cầu hỗ trợ"}')},84181:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"允許","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":"支持請求"}')},59225:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"允许","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":"请求支持"}')}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=o,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.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 o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var u=2&n&&r;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach((function(e){i[e]=function(){return r[e]}}));return i.default=function(){return r},a.d(o,i),o},a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,r){return a.f[r](e,t),t}),[]))},a.u=function(e){return"pdf-viewer.chunk.js"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},n="CobrowseIO:",a.l=function(e,t,o,i){if(r[e])r[e].push(t);else{var u,c;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var f=s[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+o){u=f;break}}u||(c=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,a.nc&&u.setAttribute("nonce",a.nc),u.setAttribute("data-webpack",n+o),u.src=e),r[e]=[t];var p=function(t,n){u.onerror=u.onload=null,clearTimeout(d);var o=r[e];if(delete r[e],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((function(e){return e(n)})),t)return t(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),c&&document.head.appendChild(u)}},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;a.g.importScripts&&(e=a.g.location+"");var t=a.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(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e}(),function(){var e={792:0};a.f.j=function(t,r){var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((function(r,o){n=e[t]=[r,o]}));r.push(n[2]=o);var i=a.p+a.u(t),u=new Error;a.l(i,(function(r){if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;u.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",u.name="ChunkLoadError",u.type=o,u.request=i,n[1](u)}}),"chunk-"+t,t)}};var t=function(t,r){var n,o,i=r[0],u=r[1],c=r[2],s=0;if(i.some((function(t){return 0!==e[t]}))){for(n in u)a.o(u,n)&&(a.m[n]=u[n]);c&&c(a)}for(t&&t(r);s<i.length;s++)o=i[s],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunkCobrowseIO=self.webpackChunkCobrowseIO||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}();var u={};!function(){"use strict";var e=u;e.default=void 0;var t=a(67829),r=l(a(85620)),n=l(a(77966)),o=l(a(51112)),i=l(a(52404)),c=l(a(37609)),s=a(16566);function l(e){return e&&e.__esModule?e:{default:e}}var f=r.default;if(window.__cobrowse_io_loaded)throw r.default=function(){throw new Error('"CobrowseIO" is read-only.')}(),new Error("CobrowseIO already loaded. This usually means you included the snippet multiple times.");window.__cobrowse_io_loaded=!0;var p=!1,d=new o.default({shouldShowSelect:function(){var e;return(null===(e=r.default.currentSession)||void 0===e?void 0:e.isActive())||p},isRedacted:function(e){var t;return null===(t=s.RedactionIndexProvider.instance)||void 0===t?void 0:t.isRedacted(e)}});d.track(window),n.default.on("iframe_discovered",(function(e){(0,t.isxdoc)(e)||d.track(e.contentWindow)})),n.default.on("session",(function(e){var t=new i.default(f);t[c.default].deserialize(e),p=t.isActive()})),e.default=f}(),CobrowseIO=u.default}();
|
|
2
|
+
!function(){var e,t,r,n,o={20949:function(e,t,r){"use strict";r.r(t),r.d(t,{arrow:function(){return Ee},autoPlacement:function(){return ve},autoUpdate:function(){return de},computePosition:function(){return Oe},detectOverflow:function(){return he},flip:function(){return be},getOverflowAncestors:function(){return K},hide:function(){return we},inline:function(){return _e},limitShift:function(){return Se},offset:function(){return ye},platform:function(){return fe},shift:function(){return me},size:function(){return ge}});const n=["top","right","bottom","left"],o=["start","end"],i=n.reduce(((e,t)=>e.concat(t,t+"-"+o[0],t+"-"+o[1])),[]),a=Math.min,u=Math.max,c=Math.round,s=Math.floor,l=e=>({x:e,y:e}),f={left:"right",right:"left",bottom:"top",top:"bottom"},p={start:"end",end:"start"};function d(e,t,r){return u(e,a(t,r))}function h(e,t){return"function"==typeof e?e(t):e}function y(e){return e.split("-")[0]}function v(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function b(e){return"y"===e?"height":"width"}function g(e){return["top","bottom"].includes(y(e))?"y":"x"}function w(e){return m(g(e))}function E(e,t,r){void 0===r&&(r=!1);const n=v(e),o=w(e),i=b(o);let a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=S(a)),[a,S(a)]}function _(e){return e.replace(/start|end/g,(e=>p[e]))}function S(e){return e.replace(/left|right|bottom|top/g,(e=>f[e]))}function O(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 x(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function T(e,t,r){let{reference:n,floating:o}=e;const i=g(t),a=w(t),u=b(a),c=y(t),s="y"===i,l=n.x+n.width/2-o.width/2,f=n.y+n.height/2-o.height/2,p=n[u]/2-o[u]/2;let d;switch(c){case"top":d={x:l,y:n.y-o.height};break;case"bottom":d={x:l,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:f};break;case"left":d={x:n.x-o.width,y:f};break;default:d={x:n.x,y:n.y}}switch(v(t)){case"start":d[a]-=p*(r&&s?-1:1);break;case"end":d[a]+=p*(r&&s?-1:1)}return d}async function P(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:i,rects:a,elements:u,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:l="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=h(t,e),y=O(d),v=u[p?"floating"===f?"reference":"floating":f],m=x(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(v)))||r?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:s,rootBoundary:l,strategy:c})),b="floating"===f?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,g=await(null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),w=await(null==i.isElement?void 0:i.isElement(g))&&await(null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},E=x(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:b,offsetParent:g,strategy:c}):b);return{top:(m.top-E.top+y.top)/w.y,bottom:(E.bottom-m.bottom+y.bottom)/w.y,left:(m.left-E.left+y.left)/w.x,right:(E.right-m.right+y.right)/w.x}}function j(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 L(e){const t=a(...e.map((e=>e.left))),r=a(...e.map((e=>e.top)));return{x:t,y:r,width:u(...e.map((e=>e.right)))-t,height:u(...e.map((e=>e.bottom)))-r}}function I(){return"undefined"!=typeof window}function C(e){return M(e)?(e.nodeName||"").toLowerCase():"#document"}function A(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function N(e){var t;return null==(t=(M(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function M(e){return!!I()&&(e instanceof Node||e instanceof A(e).Node)}function R(e){return!!I()&&(e instanceof Element||e instanceof A(e).Element)}function D(e){return!!I()&&(e instanceof HTMLElement||e instanceof A(e).HTMLElement)}function U(e){return!(!I()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof A(e).ShadowRoot)}function F(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=G(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function W(e){return["table","td","th"].includes(C(e))}function z(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function B(e){const t=V(),r=R(e)?G(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!r[e]&&"none"!==r[e]))||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function V(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Y(e){return["html","body","#document"].includes(C(e))}function G(e){return A(e).getComputedStyle(e)}function H(e){return R(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Q(e){if("html"===C(e))return e;const t=e.assignedSlot||e.parentNode||U(e)&&e.host||N(e);return U(t)?t.host:t}function q(e){const t=Q(e);return Y(t)?e.ownerDocument?e.ownerDocument.body:e.body:D(t)&&F(t)?t:q(t)}function K(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=q(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=A(o);if(i){const e=$(a);return t.concat(a,a.visualViewport||[],F(o)?o:[],e&&r?K(e):[])}return t.concat(o,K(o,[],r))}function $(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function X(e){const t=G(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=D(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,u=c(r)!==i||c(n)!==a;return u&&(r=i,n=a),{width:r,height:n,$:u}}function J(e){return R(e)?e:e.contextElement}function Z(e){const t=J(e);if(!D(t))return l(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=X(t);let a=(i?c(r.width):r.width)/n,u=(i?c(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),u&&Number.isFinite(u)||(u=1),{x:a,y:u}}const ee=l(0);function te(e){const t=A(e);return V()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ee}function re(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),i=J(e);let a=l(1);t&&(n?R(n)&&(a=Z(n)):a=Z(e));const u=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==A(e))&&t}(i,r,n)?te(i):l(0);let c=(o.left+u.x)/a.x,s=(o.top+u.y)/a.y,f=o.width/a.x,p=o.height/a.y;if(i){const e=A(i),t=n&&R(n)?A(n):n;let r=e,o=$(r);for(;o&&n&&t!==r;){const e=Z(o),t=o.getBoundingClientRect(),n=G(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,s*=e.y,f*=e.x,p*=e.y,c+=i,s+=a,r=A(o),o=$(r)}}return x({width:f,height:p,x:c,y:s})}function ne(e,t){const r=H(e).scrollLeft;return t?t.left+r:re(N(e)).left+r}function oe(e,t,r){void 0===r&&(r=!1);const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:ne(e,n)),y:n.top+t.scrollTop}}function ie(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=A(e),n=N(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,u=0,c=0;if(o){i=o.width,a=o.height;const e=V();(!e||e&&"fixed"===t)&&(u=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:u,y:c}}(e,r);else if("document"===t)n=function(e){const t=N(e),r=H(e),n=e.ownerDocument.body,o=u(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=u(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+ne(e);const c=-r.scrollTop;return"rtl"===G(n).direction&&(a+=u(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:c}}(N(e));else if(R(t))n=function(e,t){const r=re(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=D(e)?Z(e):l(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:n*i.y}}(t,r);else{const r=te(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return x(n)}function ae(e,t){const r=Q(e);return!(r===t||!R(r)||Y(r))&&("fixed"===G(r).position||ae(r,t))}function ue(e,t,r){const n=D(t),o=N(t),i="fixed"===r,a=re(e,!0,i,t);let u={scrollLeft:0,scrollTop:0};const c=l(0);if(n||!n&&!i)if(("body"!==C(t)||F(o))&&(u=H(t)),n){const e=re(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=ne(o));const s=!o||n||i?l(0):oe(o,u);return{x:a.left+u.scrollLeft-c.x-s.x,y:a.top+u.scrollTop-c.y-s.y,width:a.width,height:a.height}}function ce(e){return"static"===G(e).position}function se(e,t){if(!D(e)||"fixed"===G(e).position)return null;if(t)return t(e);let r=e.offsetParent;return N(e)===r&&(r=r.ownerDocument.body),r}function le(e,t){const r=A(e);if(z(e))return r;if(!D(e)){let t=Q(e);for(;t&&!Y(t);){if(R(t)&&!ce(t))return t;t=Q(t)}return r}let n=se(e,t);for(;n&&W(n)&&ce(n);)n=se(n,t);return n&&Y(n)&&ce(n)&&!B(n)?r:n||function(e){let t=Q(e);for(;D(t)&&!Y(t);){if(B(t))return t;if(z(t))return null;t=Q(t)}return null}(e)||r}const fe={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i="fixed"===o,a=N(n),u=!!t&&z(t.floating);if(n===a||u&&i)return r;let c={scrollLeft:0,scrollTop:0},s=l(1);const f=l(0),p=D(n);if((p||!p&&!i)&&(("body"!==C(n)||F(a))&&(c=H(n)),D(n))){const e=re(n);s=Z(n),f.x=e.x+n.clientLeft,f.y=e.y+n.clientTop}const d=!a||p||i?l(0):oe(a,c,!0);return{width:r.width*s.x,height:r.height*s.y,x:r.x*s.x-c.scrollLeft*s.x+f.x+d.x,y:r.y*s.y-c.scrollTop*s.y+f.y+d.y}},getDocumentElement:N,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[..."clippingAncestors"===r?z(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=K(e,[],!1).filter((e=>R(e)&&"body"!==C(e))),o=null;const i="fixed"===G(e).position;let a=i?Q(e):e;for(;R(a)&&!Y(a);){const t=G(a),r=B(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||F(a)&&!r&&ae(e,a))?n=n.filter((e=>e!==a)):o=t,a=Q(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],c=i[0],s=i.reduce(((e,r)=>{const n=ie(t,r,o);return e.top=u(n.top,e.top),e.right=a(n.right,e.right),e.bottom=a(n.bottom,e.bottom),e.left=u(n.left,e.left),e}),ie(t,c,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:le,getElementRects:async function(e){const t=this.getOffsetParent||le,r=this.getDimensions,n=await r(e.floating);return{reference:ue(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}=X(e);return{width:t,height:r}},getScale:Z,isElement:R,isRTL:function(e){return"rtl"===G(e).direction}};function pe(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function de(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:f=!1}=n,p=J(e),d=o||i?[...p?K(p):[],...K(t)]:[];d.forEach((e=>{o&&e.addEventListener("scroll",r,{passive:!0}),i&&e.addEventListener("resize",r)}));const h=p&&l?function(e,t){let r,n=null;const o=N(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function c(l,f){void 0===l&&(l=!1),void 0===f&&(f=1),i();const p=e.getBoundingClientRect(),{left:d,top:h,width:y,height:v}=p;if(l||t(),!y||!v)return;const m={rootMargin:-s(h)+"px "+-s(o.clientWidth-(d+y))+"px "+-s(o.clientHeight-(h+v))+"px "+-s(d)+"px",threshold:u(0,a(1,f))||1};let b=!0;function g(t){const n=t[0].intersectionRatio;if(n!==f){if(!b)return c();n?c(!1,n):r=setTimeout((()=>{c(!1,1e-7)}),1e3)}1!==n||pe(p,e.getBoundingClientRect())||c(),b=!1}try{n=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(g,m)}n.observe(e)}(!0),i}(p,r):null;let y,v=-1,m=null;c&&(m=new ResizeObserver((e=>{let[n]=e;n&&n.target===p&&m&&(m.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),r()})),p&&!f&&m.observe(p),m.observe(t));let b=f?re(e):null;return f&&function t(){const n=re(e);b&&!pe(b,n)&&r(),b=n,y=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach((e=>{o&&e.removeEventListener("scroll",r),i&&e.removeEventListener("resize",r)})),null==h||h(),null==(e=m)||e.disconnect(),m=null,f&&cancelAnimationFrame(y)}}const he=P,ye=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:u}=t,c=await async function(e,t){const{placement:r,platform:n,elements:o}=e,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),a=y(r),u=v(r),c="y"===g(r),s=["left","top"].includes(a)?-1:1,l=i&&c?-1:1,f=h(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return u&&"number"==typeof m&&(d="end"===u?-1*m:m),c?{x:d*l,y:p*s}:{x:p*s,y:d*l}}(t,e);return a===(null==(r=u.offset)?void 0:r.placement)&&null!=(n=u.arrow)&&n.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},ve=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,o;const{rects:a,middlewareData:u,placement:c,platform:s,elements:l}=t,{crossAxis:f=!1,alignment:p,allowedPlacements:d=i,autoAlignment:m=!0,...b}=h(e,t),g=void 0!==p||d===i?function(e,t,r){return(e?[...r.filter((t=>v(t)===e)),...r.filter((t=>v(t)!==e))]:r.filter((e=>y(e)===e))).filter((r=>!e||v(r)===e||!!t&&_(r)!==r))}(p||null,m,d):d,w=await P(t,b),S=(null==(r=u.autoPlacement)?void 0:r.index)||0,O=g[S];if(null==O)return{};const x=E(O,a,await(null==s.isRTL?void 0:s.isRTL(l.floating)));if(c!==O)return{reset:{placement:g[0]}};const T=[w[y(O)],w[x[0]],w[x[1]]],j=[...(null==(n=u.autoPlacement)?void 0:n.overflows)||[],{placement:O,overflows:T}],k=g[S+1];if(k)return{data:{index:S+1,overflows:j},reset:{placement:k}};const L=j.map((e=>{const t=v(e.placement);return[e.placement,t&&f?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),I=(null==(o=L.filter((e=>e[2].slice(0,v(e[0])?2:3).every((e=>e<=0))))[0])?void 0:o[0])||L[0][0];return I!==c?{data:{index:S+1,overflows:j},reset:{placement:I}}:{}}}},me=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=h(e,t),s={x:r,y:n},l=await P(t,c),f=g(y(o)),p=m(f);let v=s[p],b=s[f];if(i){const e="y"===p?"bottom":"right";v=d(v+l["y"===p?"top":"left"],v,v-l[e])}if(a){const e="y"===f?"bottom":"right";b=d(b+l["y"===f?"top":"left"],b,b-l[e])}const w=u.fn({...t,[p]:v,[f]:b});return{...w,data:{x:w.x-r,y:w.y-n,enabled:{[p]:i,[f]:a}}}}}},be=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:a,initialPlacement:u,platform:c,elements:s}=t,{mainAxis:l=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:b=!0,...w}=h(e,t);if(null!=(r=i.arrow)&&r.alignmentOffset)return{};const O=y(o),x=g(u),T=y(u)===u,j=await(null==c.isRTL?void 0:c.isRTL(s.floating)),k=p||(T||!b?[S(u)]:function(e){const t=S(e);return[_(e),t,_(t)]}(u)),L="none"!==m;!p&&L&&k.push(...function(e,t,r,n){const o=v(e);let i=function(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:a;default:return[]}}(y(e),"start"===r,n);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(_)))),i}(u,b,m,j));const I=[u,...k],C=await P(t,w),A=[];let N=(null==(n=i.flip)?void 0:n.overflows)||[];if(l&&A.push(C[O]),f){const e=E(o,a,j);A.push(C[e[0]],C[e[1]])}if(N=[...N,{placement:o,overflows:A}],!A.every((e=>e<=0))){var M,R;const e=((null==(M=i.flip)?void 0:M.index)||0)+1,t=I[e];if(t)return{data:{index:e,overflows:N},reset:{placement:t}};let r=null==(R=N.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:R.placement;if(!r)switch(d){case"bestFit":{var D;const e=null==(D=N.filter((e=>{if(L){const t=g(e.placement);return t===x||"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:D[0];e&&(r=e);break}case"initialPlacement":r=u}if(o!==r)return{reset:{placement:r}}}return{}}}},ge=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:i,platform:c,elements:s}=t,{apply:l=()=>{},...f}=h(e,t),p=await P(t,f),d=y(o),m=v(o),b="y"===g(o),{width:w,height:E}=i.floating;let _,S;"top"===d||"bottom"===d?(_=d,S=m===(await(null==c.isRTL?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(S=d,_="end"===m?"top":"bottom");const O=E-p.top-p.bottom,x=w-p.left-p.right,T=a(E-p[_],O),j=a(w-p[S],x),k=!t.middlewareData.shift;let L=T,I=j;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(I=x),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(L=O),k&&!m){const e=u(p.left,0),t=u(p.right,0),r=u(p.top,0),n=u(p.bottom,0);b?I=w-2*(0!==e||0!==t?e+t:u(p.left,p.right)):L=E-2*(0!==r||0!==n?r+n:u(p.top,p.bottom))}await l({...t,availableWidth:I,availableHeight:L});const C=await c.getDimensions(s.floating);return w!==C.width||E!==C.height?{reset:{rects:!0}}:{}}}},we=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=h(e,t);switch(n){case"referenceHidden":{const e=j(await P(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:k(e)}}}case"escaped":{const e=j(await P(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:k(e)}}}default:return{}}}}},Ee=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:u,elements:c,middlewareData:s}=t,{element:l,padding:f=0}=h(e,t)||{};if(null==l)return{};const p=O(f),y={x:r,y:n},m=w(o),g=b(m),E=await u.getDimensions(l),_="y"===m,S=_?"top":"left",x=_?"bottom":"right",T=_?"clientHeight":"clientWidth",P=i.reference[g]+i.reference[m]-y[m]-i.floating[g],j=y[m]-i.reference[m],k=await(null==u.getOffsetParent?void 0:u.getOffsetParent(l));let L=k?k[T]:0;L&&await(null==u.isElement?void 0:u.isElement(k))||(L=c.floating[T]||i.floating[g]);const I=P/2-j/2,C=L/2-E[g]/2-1,A=a(p[S],C),N=a(p[x],C),M=A,R=L-E[g]-N,D=L/2-E[g]/2+I,U=d(M,D,R),F=!s.arrow&&null!=v(o)&&D!==U&&i.reference[g]/2-(D<M?A:N)-E[g]/2<0,W=F?D<M?D-M:D-R:0;return{[m]:y[m]+W,data:{[m]:U,centerOffset:D-U-W,...F&&{alignmentOffset:W}},reset:F}}}),_e=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:o,platform:i,strategy:c}=t,{padding:s=2,x:l,y:f}=h(e,t),p=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(n.reference))||[]),d=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 o=t[e];!n||o.y-n.y>n.height/2?r.push([o]):r[r.length-1].push(o),n=o}return r.map((e=>x(L(e))))}(p),v=x(L(p)),m=O(s),b=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=l&&null!=f)return d.find((e=>l>e.left-m.left&&l<e.right+m.right&&f>e.top-m.top&&f<e.bottom+m.bottom))||v;if(d.length>=2){if("y"===g(r)){const e=d[0],t=d[d.length-1],n="top"===y(r),o=e.top,i=t.bottom,a=n?e.left:t.left,u=n?e.right:t.right;return{top:o,bottom:i,left:a,right:u,width:u-a,height:i-o,x:a,y:o}}const e="left"===y(r),t=u(...d.map((e=>e.right))),n=a(...d.map((e=>e.left))),o=d.filter((r=>e?r.left===n:r.right===t)),i=o[0].top,c=o[o.length-1].bottom;return{top:i,bottom:c,left:n,right:t,width:t-n,height:c-i,x:n,y:i}}return v}},floating:n.floating,strategy:c});return o.reference.x!==b.reference.x||o.reference.y!==b.reference.y||o.reference.width!==b.reference.width||o.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},Se=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:u=0,mainAxis:c=!0,crossAxis:s=!0}=h(e,t),l={x:r,y:n},f=g(o),p=m(f);let d=l[p],v=l[f];const b=h(u,t),w="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(c){const e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+w.mainAxis,r=i.reference[p]+i.reference[e]-w.mainAxis;d<t?d=t:d>r&&(d=r)}if(s){var E,_;const e="y"===p?"width":"height",t=["top","left"].includes(y(o)),r=i.reference[f]-i.floating[e]+(t&&(null==(E=a.offset)?void 0:E[f])||0)+(t?0:w.crossAxis),n=i.reference[f]+i.reference[e]+(t?0:(null==(_=a.offset)?void 0:_[f])||0)-(t?w.crossAxis:0);v<r?v=r:v>n&&(v=n)}return{[p]:d,[f]:v}}}},Oe=(e,t,r)=>{const n=new Map,o={platform:fe,...r},i={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,u=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(t));let s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:l,y:f}=T(s,n,c),p=n,d={},h=0;for(let r=0;r<u.length;r++){const{name:i,fn:y}=u[r],{x:v,y:m,data:b,reset:g}=await y({x:l,y:f,initialPlacement:n,placement:p,strategy:o,middlewareData:d,rects:s,platform:a,elements:{reference:e,floating:t}});l=null!=v?v:l,f=null!=m?m:f,d={...d,[i]:{...d[i],...b}},g&&h<=50&&(h++,"object"==typeof g&&(g.placement&&(p=g.placement),g.rects&&(s=!0===g.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):g.rects),({x:l,y:f}=T(s,p,c))),r=-1)}return{x:l,y:f,placement:p,strategy:o,middlewareData:d}})(e,t,{...o,platform:i})}},60565:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.EbmlElementId=void 0,t.getEbmlElementIdLength=s,t.getEbmlElementLevel=function(e){switch(e){case c.Ebml:case c.Segment:return 0;case c.Cluster:case c.Cues:case c.DocType:case c.DocTypeReadVersion:case c.DocTypeVersion:case c.EbmlMaxIdLength:case c.EbmlMaxSizeLength:case c.EbmlReadVersion:case c.EbmlVersion:case c.Info:case c.SeekHead:case c.Tracks:return 1;case c.CuePoint:case c.DateUTC:case c.Duration:case c.MuxingApp:case c.Position:case c.SegmentUID:case c.Seek:case c.SimpleBlock:case c.Timestamp:case c.TimestampScale:case c.Title:case c.TrackEntry:case c.WritingApp:return 2;case c.Audio:case c.CodecDecodeAll:case c.CodecID:case c.CodecName:case c.CodecPrivate:case c.CueTime:case c.CueTrackPositions:case c.DefaultDuration:case c.FlagDefault:case c.FlagEnabled:case c.FlagForced:case c.FlagLacing:case c.MaxBlockAdditionID:case c.MinCache:case c.SeekID:case c.SeekPosition:case c.SeekPreRoll:case c.TrackNumber:case c.TrackTimestampScale:case c.TrackType:case c.TrackUID:case c.Video:return 3;case c.Channels:case c.CueBlockNumber:case c.CueClusterPosition:case c.CueTrack:case c.FlagInterlaced:case c.PixelHeight:case c.PixelWidth:case c.SamplingFrequency:case c.Colour:return 4;case c.CueRefTime:return 5;case c.Void:return-1;default:throw Error("cannot determine level of unknown ebml element with id ".concat(e))}},t.getEbmlElementName=function(e){switch(e){case c.Ebml:return"EBML";case c.EbmlVersion:return"EBMLVersion";case c.EbmlReadVersion:return"EBMLReadVersion";case c.EbmlMaxIdLength:return"EBMLMaxIDLength";case c.EbmlMaxSizeLength:return"EBMLMaxSizeLength";case c.DocType:return"DocType";case c.DocTypeVersion:return"DocTypeVersion";case c.DocTypeReadVersion:return"DocTypeReadVersion";case c.Void:return"Void";case c.Segment:return"Segment";case c.SeekHead:return"SeekHead";case c.Seek:return"Seek";case c.SeekID:return"SeekID";case c.SeekPosition:return"SeekPosition";case c.Info:return"Info";case c.TimestampScale:return"TimestampScale";case c.Duration:return"Duration";case c.DateUTC:return"DateUTC";case c.Title:return"Title";case c.MuxingApp:return"MuxingApp";case c.WritingApp:return"WritinApp";case c.Cluster:return"Cluster";case c.Timestamp:return"Timestamp";case c.SimpleBlock:return"SimpleBlock";case c.SegmentUID:return"SegmentUID (unsupported by WebM)";case c.Tracks:return"Tracks";case c.TrackEntry:return"TrackEntry";case c.TrackNumber:return"TrackNumber";case c.TrackUID:return"TrackUID";case c.TrackType:return"TrackType";case c.FlagEnabled:return"FlagEnabled";case c.FlagDefault:return"FlagDefault";case c.FlagForced:return"FlagForced";case c.FlagLacing:return"FlagLacing";case c.MinCache:return"MinCache";case c.MaxBlockAdditionID:return"MaxBlockAdditionID";case c.CodecID:return"CodecID";case c.CodecDecodeAll:return"CodecDecodeAll";case c.SeekPreRoll:return"SeekPreRoll";case c.Video:return"Video";case c.FlagInterlaced:return"FlagInterlaced";case c.PixelWidth:return"PixelWidth";case c.PixelHeight:return"PixelHeight";case c.DefaultDuration:return"DefaultDuration";case c.TrackTimestampScale:return"TrackTimestampScale";case c.CodecName:return"CodecName";case c.CodecPrivate:return"CodecPrivate";case c.Audio:return"Audio";case c.SamplingFrequency:return"SamplingFrequency";case c.Channels:return"Channels";case c.Cues:return"Cues";case c.CuePoint:return"CuePoint";case c.CueTime:return"CueTime";case c.CueTrackPositions:return"CueTrackPositions";case c.CueTrack:return"CueTrack";case c.CueClusterPosition:return"CueClusterPosition";case c.CueRefTime:return"CueRefTime";case c.CueBlockNumber:return"CueBlockNumber";case c.Position:return"Position";case c.Colour:return"Colour";default:return""}},t.readEbmlElementId=function(e,t){var r=s(e.current);if(r>e.bytesAvailable)return!1;for(var n=e.current,o=0;o<r-1;++o)n=n<<8|e.nextUnsafe();return e.nextUnsafe(),e.checkBounds(),t.id=n,t.idLength=r,!0},r(45700),r(89572),r(2892);var c=t.EbmlElementId=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));function s(e){for(var t=7;t>3;t--)if(e&1<<t)return 8-t;throw Error("invalid ebml element id")}a(c,"Ebml",440786851),a(c,"EbmlVersion",17030),a(c,"EbmlReadVersion",17143),a(c,"EbmlMaxIdLength",17138),a(c,"EbmlMaxSizeLength",17139),a(c,"DocType",17026),a(c,"DocTypeVersion",17031),a(c,"DocTypeReadVersion",17029),a(c,"Void",236),a(c,"Segment",408125543),a(c,"SeekHead",290298740),a(c,"Seek",19899),a(c,"SeekID",21419),a(c,"SeekPosition",21420),a(c,"Info",357149030),a(c,"TimestampScale",2807729),a(c,"Duration",17545),a(c,"DateUTC",17505),a(c,"Title",31657),a(c,"MuxingApp",19840),a(c,"WritingApp",22337),a(c,"Cluster",524531317),a(c,"Timestamp",231),a(c,"SimpleBlock",163),a(c,"SegmentUID",29604),a(c,"Tracks",374648427),a(c,"TrackEntry",174),a(c,"TrackNumber",215),a(c,"TrackUID",29637),a(c,"TrackType",131),a(c,"FlagEnabled",185),a(c,"FlagDefault",136),a(c,"FlagForced",21930),a(c,"FlagLacing",156),a(c,"MinCache",28135),a(c,"MaxBlockAdditionID",21998),a(c,"CodecID",134),a(c,"CodecDecodeAll",170),a(c,"SeekPreRoll",22203),a(c,"Video",224),a(c,"FlagInterlaced",154),a(c,"PixelWidth",176),a(c,"PixelHeight",186),a(c,"DefaultDuration",2352003),a(c,"TrackTimestampScale",2306383),a(c,"CodecName",2459272),a(c,"CodecPrivate",25506),a(c,"Audio",225),a(c,"SamplingFrequency",181),a(c,"Channels",159),a(c,"Cues",475249515),a(c,"CuePoint",187),a(c,"CueTime",179),a(c,"CueTrackPositions",183),a(c,"CueTrack",247),a(c,"CueClusterPosition",241),a(c,"CueRefTime",150),a(c,"CueBlockNumber",21368),a(c,"Position",167),a(c,"Colour",21936)},65260:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),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 s.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 s.UnsignedInteger;case n.EbmlElementId.DocType:case n.EbmlElementId.CodecID:return s.String;case n.EbmlElementId.Void:case n.EbmlElementId.SeekID:case n.EbmlElementId.SimpleBlock:case n.EbmlElementId.SegmentUID:case n.EbmlElementId.CodecPrivate:return s.Binary;case n.EbmlElementId.Duration:case n.EbmlElementId.TrackTimestampScale:case n.EbmlElementId.SamplingFrequency:return s.Float;case n.EbmlElementId.DateUTC:return s.Date;case n.EbmlElementId.Title:case n.EbmlElementId.MuxingApp:case n.EbmlElementId.WritingApp:case n.EbmlElementId.CodecName:return s.Utf8String;default:throw Error("cannot determine type of unknown ebml element with id ".concat(e))}},r(45700),r(89572),r(2892);var n=r(60565);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}var s=t.EbmlElementType=a((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));u(s,"Unknown",0),u(s,"Master",1),u(s,"UnsignedInteger",2),u(s,"SignedInteger",3),u(s,"String",4),u(s,"Utf8String",5),u(s,"Binary",6),u(s,"Float",7),u(s,"Date",8)},415:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.epochTimestampOffset=t.EbmlElement=void 0,t.getEbmlElementSizeLength=l,t.getEbmlElementValue=function(e,t){switch(e){case o.EbmlElementType.UnsignedInteger:case o.EbmlElementType.SignedInteger:return(0,i.readBigEndianNumber)(t);case o.EbmlElementType.String:return String.fromCharCode.apply(null,t);case o.EbmlElementType.Utf8String:case o.EbmlElementType.Float:throw new Error("cannot read value of element with type ".concat(e));case o.EbmlElementType.Date:return s+(0,i.readBigEndianNumber)(t);case o.EbmlElementType.Binary:return t}},t.readEbmlLementSize=function(e,t){var r=l(e.current);if(r>e.bytesAvailable)return!1;for(var n=e.current-(1<<8-r),o=0;o<r-1;++o)n=n<<8|e.nextUnsafe();return e.nextUnsafe(),e.checkBounds(),t.sizeLength=r,t.size=n===1<<8*r-1?-1:n,!0},r(45700),r(89572),r(62010),r(2892);var n=r(60565),o=r(65260),i=r(12087);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function c(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var s=t.epochTimestampOffset=978307200;function l(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=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"elementSize",get:function(){return this.idLength+this.sizeLength+this.size}},{key:"id",get:function(){return this._id},set:function(e){this._id=e,this.name=(0,n.getEbmlElementName)(this._id),this.type=(0,o.getEbmlElementType)(this._id)}}])&&u(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},62343:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MediaInfo",{enumerable:!0,get:function(){return u.MediaInfo}}),Object.defineProperty(t,"MediaPacket",{enumerable:!0,get:function(){return a.MediaPacket}}),Object.defineProperty(t,"MediaRecorderDemuxer",{enumerable:!0,get:function(){return n.MediaRecorderDemuxer}}),Object.defineProperty(t,"MediaRecorderDemuxerEvents",{enumerable:!0,get:function(){return o.MediaRecorderDemuxerEvents}}),Object.defineProperty(t,"createMediaRecorderDemuxer",{enumerable:!0,get:function(){return i.createMediaRecorderDemuxer}});var n=r(53142),o=r(28538),i=r(75457),a=r(30440),u=r(47472)},47472:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(45700),r(23792),r(89572),r(2892),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.MediaInfo=void 0,t.MediaInfo=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.videoTrack={},this.audioTrack={}}))},30440:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(45700),r(23792),r(89572),r(2892),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.MediaPacket=void 0,t.MediaPacket=i((function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.ptsMs=r}))},28538:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.MediaRecorderDemuxerEvents=void 0,r(45700),r(89572),r(2892);var c=t.MediaRecorderDemuxerEvents=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));a(c,"Error","error"),a(c,"MediaInfo","media-info"),a(c,"MediaPacket","media-packet")},75457:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMediaRecorderDemuxer=function(e,t){var r;return"undefined"!=typeof MediaRecorder==0?null:(("function"==typeof MediaRecorder.isTypeSupported==0||MediaRecorder.isTypeSupported("video/webm;codecs=h264"))&&(r=new n.WebmMediaRecorderDemuxer(new MediaRecorder(e,{mimeType:"video/webm;codecs=h264"}),t)),r)};var n=r(44112);r(28538)},53142:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(2008),r(23792),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(81278),r(40875),r(79432),r(26099),r(60825),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.defaultMediaRecorderOptions=t.MediaRecorderDemuxer=void 0;var o=r(47472),i=r(28538);function a(){a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}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 s(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){l(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 l(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function p(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}var v=r(37007),m=t.defaultMediaRecorderOptions={timerInterval:100,logCallback:null};t.MediaRecorderDemuxer=function(e){function t(e,r){var c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(c=function(e,t,r){return t=h(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,d()?Reflect.construct(t,r||[],h(e).constructor):t.apply(e,r))}(this,t)).options=r?s(s({},m),r):m,c.mediaRecorder=e,c.mediaInfo=new o.MediaInfo,c.mediaRecorder.addEventListener("dataavailable",function(){var e,t=(e=a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c.addBlob(t.data);case 1:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,c,"next",e)}function c(e){u(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()),c.mediaRecorder.addEventListener("error",(function(e){c.emit(i.MediaRecorderDemuxerEvents.Error,e.error)})),c}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(t,e),r=t,l=[{key:"isSupported",value:function(e){return"undefined"!=typeof MediaRecorder&&"function"==typeof MediaRecorder.prototype.requestData&&"function"==typeof MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported(e)}}],(c=[{key:"start",value:function(){var e=this;this.mediaRecorder.start(),"function"==typeof this.mediaRecorder.requestData?this.timer=window.setInterval((function(){e.mediaRecorder.requestData()}),this.options.timerInterval):this.timer=window.setTimeout((function(){e.mediaRecorder.stop()}),this.options.timerInterval)}},{key:"stop",value:function(){"recording"===this.mediaRecorder.state&&this.mediaRecorder.stop(),this.timer&&(clearInterval(this.timer),this.timer=null)}}])&&f(r.prototype,c),l&&f(r,l),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,c,l}(v)},44112:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(4731),r(60479),r(2892),r(40875),r(60825),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.webmVideoTrackType=t.webmAudioTrackType=t.WebmMediaRecorderDemuxer=void 0,r(28706),r(23792),r(54743),r(62010),r(69085),r(26099),r(42762),r(21489),r(81630),r(72170),r(75044),r(69539),r(31694),r(89955),r(33206),r(44496),r(66651),r(12887),r(19369),r(66812),r(8995),r(31575),r(36072),r(88747),r(28845),r(29423),r(57301),r(373),r(86614),r(41405),r(33684);var o=r(53142),i=r(60565),a=r(415),u=r(12087),c=r(65260),s=r(28538),l=r(30440);function f(){f=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};l(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=l(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),l(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),l(x,s,"Generator"),l(x,u,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function p(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(e,t,r){return(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}var g=t.webmVideoTrackType=1,w=t.webmAudioTrackType=2;function E(){var e=this;return new Promise((function(t){var r=new FileReader;r.onload=function(){t(r.result)},r.readAsArrayBuffer(e)}))}var _=t.WebmMediaRecorderDemuxer=function(e){function t(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,r){return t=y(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r))}(this,t,[e,r])).state=t.stateParseElementId,o.currentEbmlElement=new a.EbmlElement,o.uint8ArrayAggregator=new u.Uint8ArrayAggregator,o.clusterTimestamp=0,o.timestampMsScale=1,o.ebmlElementStack=[],Blob.prototype.arrayBuffer=Blob.prototype.arrayBuffer||E,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(t,e),r=t,o=[{key:"addBlob",value:(m=f().mark((function e(r){var n,o,p,d,h,y,v,m,b,E,_,S,O;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=this.uint8ArrayAggregator,e.t1=Uint8Array,e.next=5,r.arrayBuffer();case 5:e.t2=e.sent,e.t3=new e.t1(e.t2),e.t0.addArray.call(e.t0,e.t3);case 8:if(!this.uint8ArrayAggregator.bytesAvailable){e.next=106;break}e.t4=this.state,e.next=e.t4===t.stateParseElementId?12:e.t4===t.stateParseElementLength?19:e.t4===t.stateParseElementValue?27:104;break;case 12:if(!(0,i.readEbmlElementId)(this.uint8ArrayAggregator,this.currentEbmlElement)){e.next=16;break}null==this.options.logCallback||this.options.logCallback("got new current ebml element (id: ".concat(this.currentEbmlElement.id,", name: ").concat(this.currentEbmlElement.name,")")),e.next=17;break;case 16:return e.abrupt("break",104);case 17:return this.state=t.stateParseElementLength,e.abrupt("break",104);case 19:if(!(0,a.readEbmlLementSize)(this.uint8ArrayAggregator,this.currentEbmlElement)){e.next=23;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,")")),e.next=24;break;case 23:return e.abrupt("break",104);case 24:return this.ebmlElementStack.length&&-1==this.currentEbmlElement.size&&(this.ebmlElementStack=[]),this.state=t.stateParseElementValue,e.abrupt("break",104);case 27:if(n=(0,c.getEbmlElementType)(this.currentEbmlElement.id),o=n!==c.EbmlElementType.Master||this.currentEbmlElement.id===i.EbmlElementId.Colour,n===c.EbmlElementType.Master&&-1!==this.currentEbmlElement.size&&this.ebmlElementStack.push({element:Object.assign(new a.EbmlElement,this.currentEbmlElement),bytesRemaining:this.currentEbmlElement.size}),this.currentEbmlElement.id!==i.EbmlElementId.CodecID){e.next=40;break}if(o=!1,null!=(p=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))){e.next=35;break}return e.abrupt("break",104);case 35:d=(0,a.getEbmlElementValue)(this.currentEbmlElement.type,p),this.currentTrackType===g?this.mediaInfo.videoTrack.codecName=d:this.currentTrackType===w&&(this.mediaInfo.audioTrack.codecName=d),null==this.options.logCallback||this.options.logCallback("got codec id ".concat(d)),e.next=91;break;case 40:if(this.currentEbmlElement.id!==i.EbmlElementId.CodecPrivate){e.next=47;break}if(o=!1,null!=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size)){e.next=45;break}return e.abrupt("break",104);case 45:e.next=91;break;case 47:if(this.currentEbmlElement.id!==i.EbmlElementId.TimestampScale){e.next=57;break}if(o=!1,null!=(h=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))){e.next=52;break}return e.abrupt("break",104);case 52:this.mediaInfo.timestampScale=(0,a.getEbmlElementValue)(this.currentEbmlElement.type,h),this.timestampMsScale=this.mediaInfo.timestampScale/1e6,null==this.options.logCallback||this.options.logCallback("got timestamp scale ".concat(this.mediaInfo.timestampScale)),e.next=91;break;case 57:if(this.currentEbmlElement.id!==i.EbmlElementId.Timestamp){e.next=66;break}if(o=!1,null!=(y=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))){e.next=62;break}return e.abrupt("break",104);case 62:this.clusterTimestamp=(0,a.getEbmlElementValue)(this.currentEbmlElement.type,y),null==this.options.logCallback||this.options.logCallback("got cluser timestamp ".concat(this.clusterTimestamp)),e.next=91;break;case 66:if(this.currentEbmlElement.id!==i.EbmlElementId.TrackType){e.next=75;break}if(o=!1,null!=(v=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))){e.next=71;break}return e.abrupt("break",104);case 71:this.currentTrackType=(0,a.getEbmlElementValue)(this.currentEbmlElement.type,v),null==this.options.logCallback||this.options.logCallback("got track with type ".concat(this.currentTrackType)),e.next=91;break;case 75:if(this.currentEbmlElement.id!==i.EbmlElementId.SimpleBlock){e.next=91;break}if(o=!1,null!=(m=this.uint8ArrayAggregator.extract(this.currentEbmlElement.size))){e.next=80;break}return e.abrupt("break",104);case 80:(b=new u.Uint8ArrayAggregator).addArray(m),E={},(0,a.readEbmlLementSize)(b,E),_=(0,u.readBigEndianNumber)(b.extract(2)),b.current,b.next(),b.trim(),S=(this.clusterTimestamp+_)*this.timestampMsScale,this.emit(s.MediaRecorderDemuxerEvents.MediaPacket,new l.MediaPacket(b.array,S));case 91:if(o&&this.uint8ArrayAggregator.skip(this.currentEbmlElement.size),n===c.EbmlElementType.Master||!this.ebmlElementStack.length){e.next=102;break}this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining-=this.currentEbmlElement.elementSize;case 94:if(0!==this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining){e.next=100;break}O=this.ebmlElementStack.pop(),this.ebmlElementStack.length&&(this.ebmlElementStack[this.ebmlElementStack.length-1].bytesRemaining-=O.element.elementSize),O.element.id===i.EbmlElementId.Tracks&&this.emit(s.MediaRecorderDemuxerEvents.MediaInfo,this.mediaInfo),e.next=101;break;case 100:return e.abrupt("break",102);case 101:if(this.ebmlElementStack.length){e.next=94;break}case 102:return this.state=t.stateParseElementId,e.abrupt("break",104);case 104:e.next=8;break;case 106:this.uint8ArrayAggregator.trim(),e.next=113;break;case 109:e.prev=109,e.t5=e.catch(0),this.stop(),this.emit(s.MediaRecorderDemuxerEvents.Error,e.t5);case 113:case"end":return e.stop()}}),e,this,[[0,109]])})),b=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=m.apply(e,t);function i(e){p(o,r,n,i,a,"next",e)}function a(e){p(o,r,n,i,a,"throw",e)}i(void 0)}))},function(e){return b.apply(this,arguments)})}],o&&d(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o,m,b}(o.MediaRecorderDemuxer);m(_,"stateParseElementId",1),m(_,"stateParseElementLength",2),m(_,"stateParseElementValue",3)},12087:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.Uint8ArrayAggregator=void 0,t.readBigEndianNumber=function(e){var t=0;return e.forEach((function(e){t=t<<8|e})),t},r(28706),r(23792),r(34782),r(54743),r(26099),r(21489),r(81630),r(72170),r(75044),r(69539),r(31694),r(89955),r(33206),r(44496),r(66651),r(12887),r(19369),r(66812),r(8995),r(31575),r(36072),r(88747),r(28845),r(29423),r(57301),r(373),r(86614),r(41405),r(33684),r(23500),t.Uint8ArrayAggregator=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.array=null,this.current=null,this.offset=0},(t=[{key:"addArray",value:function(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){var 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]}}},{key:"checkBounds",value:function(){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]}}},{key:"next",value:function(){return this.array?(this.offset++,this.checkBounds(),this.current):null}},{key:"nextUnsafe",value:function(){return this.offset++,this.current=this.array[this.offset],this.current}},{key:"bytesAvailable",get:function(){return this.array?this.array.length-this.offset:0}},{key:"trim",value:function(){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}}},{key:"extract",value:function(e){if(this.bytesAvailable>=e){var t=this.offset,r=this.array.slice(t,t+e);return this.offset+=e,this.current=this.array[this.offset],this.checkBounds(),r}return null}},{key:"skip",value:function(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}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},57513:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892),t.default=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._message=t,this._node=r},(t=[{key:"message",get:function(){return this._message}},{key:"node",get:function(){return this._node}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},2798:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(23792),r(89572),r(2892),r(83851),r(26099),r(31415),r(47764),r(23500),r(62953),t.default=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onPropertySet=t,this._klasses=new Set},(t=[{key:"_trackObserver",value:function(e){e.__cbio_observers||(e.__cbio_observers=new Set),e.__cbio_observers.add(this)}},{key:"_untrackObserver",value:function(e){e.__cbio_observers&&e.__cbio_observers.delete(this)}},{key:"_tap",value:function(e,t){if(!e["__cbio_override_".concat(t)]){var r=Object.getOwnPropertyDescriptor(e.prototype,t);if(r){e["__cbio_override_".concat(t)]=!0;var n=r.set;r.set=function(r){var o=this;n.call(this,r),e.__cbio_observers&&e.__cbio_observers.forEach((function(e){e.onPropertySet(o,t,r)}))},Object.defineProperty(e.prototype,t,r)}}}},{key:"observe",value:function(e,t){this._klasses.add(e),this._trackObserver(e),this._tap(e,t)}},{key:"disconnect",value:function(){var e=this;this._klasses.forEach((function(t){return e._untrackObserver(t)})),this._klasses.clear()}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},34216:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(2008),r(23792),r(83851),r(81278),r(79432),r(47764),r(73772),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(62062),r(89572),r(2892),r(26099),r(16034),r(23500);var n,o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=u(e)&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var c=o?Object.getOwnPropertyDescriptor(e,i):null;c&&(c.get||c.set)?Object.defineProperty(n,i,c):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(80136)),i=(n=r(57513))&&n.__esModule?n:{default:n};function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(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 s(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){l(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 l(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function p(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}t.default=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._id=t,this._dom={id:t,childNodes:[]},this._mapping={}}return function(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"id",get:function(){return this._id}},{key:"document",get:function(){return this._dom}},{key:"node",value:function(e){return this._mapping[e]}},{key:"applyPatch",value:function(t){var r=e.applyPatch(this._dom,t),n=r.dom,o=r.mapping;return this._dom=n,this._mapping=o,this}}],[{key:"createMapping",value:function(e){var t={};return(0,o.default)(e,(function(e){e.id?t[e.id]=e:console.warn("node missing id",e)})),t}},{key:"applyPatch",value:function(e,t){var r=this.createMapping(e),n={};t.forEach((function(e){if(e.id){var t=r[e.id]||{};r[e.id]=s(s({},t),e),n[e.id]=!0}else console.warn("diff missing id",e)})),Object.values(r).forEach((function(e){e.childNodes=(e.childNodes||[]).map((function(t){var n=t.id||t,o=r[n];if(!o)throw new i.default("denormalisation failed for child ".concat(n),e);return o}))}));var a=r[e.id],u=(0,o.depthFirstPostOrder)(a,(function(e,t){if(e.childNodes=t,t.map((function(e){return n[e.id]})).reduce((function(e,t){return e||t}),!1)){n[e.id]=!0;var o=s({},e);return r[e.id]=o,o}return e}));return{dom:u,mapping:this.createMapping(u)}}}])}()},80136:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}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 i(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"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r(52675),r(89463),r(2259),r(2008),r(23792),r(83851),r(81278),r(79432),r(26099),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){var n=t.childNodes,o=r(t,(function(){n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]}));return n&&n.length?i(i({},o),{},{childNodes:Array.from(n).map((function(t){return e(t,r)}))}):o},t.depthFirstPostOrder=function e(t,r){var n=Array.from(t.childNodes||[]).map((function(t){return e(t,r)}));return r(t,n)},r(45700),r(23418),r(62062),r(89572),r(2892),r(47764)},89501:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(23792),r(83851),r(26099),r(47764),r(73772),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CompressionError",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"PropertyObserver",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"VirtualDOM",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"depthFirst",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"depthFirstPostOrder",{enumerable:!0,get:function(){return a.depthFirstPostOrder}}),Object.defineProperty(t,"isxdoc",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"parents",{enumerable:!0,get:function(){return c.default}});var o=f(r(57513)),i=f(r(34216)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(80136)),u=f(r(10663)),c=f(r(19324)),s=f(r(2798));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}},10663:function(e,t){"use strict";function r(e){try{return!e.document&&!1}catch(e){return!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!r(e)||!("IFRAME"!==e.tagName||!r(e.contentWindow))}},19324:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r(52675),r(89463),r(2259),r(23418),r(23792),r(34782),r(62010),r(26099),r(27495),r(38781),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){for(var o=[],i=t;i.parentNode&&i.parentNode!==r;)o.push(i.parentNode),i=i.parentNode;var a,u=i.defaultView&&i.defaultView.frameElement;return u?[].concat(o,[u],function(e){if(Array.isArray(e))return n(e)}(a=e(u))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):o},r(28706)},51227:function(e,t,r){"use strict";var n;r(54554),r(27495),r(71761),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){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("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+)/));var e},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(n=!1,function(){n||(n=!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||function(){},e.exports=r(18630)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},18630:function(e,t,r){"use strict";function n(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}function i(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r(52675),r(89463),r(2259),r(23418),r(23792),r(62010),r(38781),r(47764),r(62953),r(28706),r(2008),r(48598),r(62062),r(34782),r(54554),r(2892),r(79432),r(26099),r(27495),r(25440),r(42762),r(23500),e.exports=function(e){function t(e){var r,n,o,a=null;function u(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if(u.enabled){var i=u,a=Number(new Date),c=a-(r||a);i.diff=c,i.prev=r,i.curr=a,r=a,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");var s=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return"%";s++;var o=t.formatters[r];if("function"==typeof o){var a=n[s];e=o.call(i,a),n.splice(s,1),s--}return e})),t.formatArgs.call(i,n),(i.log||t.log).apply(i,n)}}return u.namespace=e,u.useColors=t.useColors(),u.color=t.selectColor(e),u.extend=i,u.destroy=t.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:function(){return null!==a?a:(n!==t.namespaces&&(n=t.namespaces,o=t.enabled(e)),o)},set:function(e){a=e}}),"function"==typeof t.init&&t.init(u),u}function i(e,r){var n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function a(e,t){for(var r=0,n=0,o=-1,i=0;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(o=n,i=r,n++):(r++,n++);else{if(-1===o)return!1;n=o+1,r=++i}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(){var e=[].concat(n(t.names),n(t.skips.map((function(e){return"-"+e})))).join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];var r,n=o(("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean));try{for(n.s();!(r=n.n()).done;){var i=r.value;"-"===i[0]?t.skips.push(i.slice(1)):t.names.push(i)}}catch(e){n.e(e)}finally{n.f()}},t.enabled=function(e){var r,n=o(t.skips);try{for(n.s();!(r=n.n()).done;)if(a(e,r.value))return!1}catch(e){n.e(e)}finally{n.f()}var i,u=o(t.names);try{for(u.s();!(i=u.n()).done;)if(a(e,i.value))return!0}catch(e){u.e(e)}finally{u.f()}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((function(r){t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){for(var r=0,n=0;n<e.length;n++)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},85620:function(e,t,r){"use strict";r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(81278),r(40875),r(60825),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CobrowseIO=void 0,r(2008),r(50113),r(74423),r(23792),r(62062),r(79432),r(26099),r(84864),r(27495),r(38781),r(21699),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var n=T(r(7350)),o=r(89501),i=r(37007),a=r(45264),u=r(67829),c=r(18111),s=r(21667),l=r(72176),f=r(33035),p=T(r(75160)),d=T(r(40923)),h=x(r(77966)),y=T(r(58973)),v=r(73531),m=r(51312),b=T(r(77988)),g=T(r(51227)),w=T(r(32588)),E=x(r(58325)),_=T(r(198)),S=r(44661);function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(O=function(e){return e?r:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=P(e)&&"function"!=typeof e)return{default:e};var r=O(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function T(e){return e&&e.__esModule?e:{default:e}}function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function j(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 k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){D(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function L(){L=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,a=Object.create(i.prototype),u=new C(n||[]);return o(a,"_invoke",{value:T(e,r,u)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var p="suspendedStart",d="suspendedYield",h="executing",y="completed",v={};function m(){}function b(){}function g(){}var w={};s(w,a,(function(){return this}));var E=Object.getPrototypeOf,_=E&&E(E(A([])));_&&_!==r&&n.call(_,a)&&(w=_);var S=g.prototype=m.prototype=Object.create(w);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,i,a,u){var c=f(e[o],e,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==P(l)&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function T(t,r,n){var o=p;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=j(u,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var s=f(t,r,n);if("normal"===s.type){if(o=n.done?y:d,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=y,n.method="throw",n.arg=s.arg)}}}function j(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(P(t)+" is not iterable")}return b.prototype=g,o(S,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:b,configurable:!0}),b.displayName=s(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s(e,c,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},O(x.prototype),s(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(S),s(S,c,"Generator"),s(S,a,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function I(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function C(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){I(i,n,o,a,u,"next",e)}function u(e){I(i,n,o,a,u,"throw",e)}a(void 0)}))}}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,U(n.key),n)}}function N(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(N=function(){return!!e})()}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}function R(e,t){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},R(e,t)}function D(e,t,r){return(t=U(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function U(e){var t=function(e){if("object"!=P(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=P(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==P(t)?t:t+""}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 W(e,t){return e.get(B(e,t))}function z(e,t,r){return e.set(B(e,t),r),r}function B(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=(0,g.default)("cbio.CobrowseIO"),Y=new WeakMap,G=new WeakMap,H=new WeakMap,Q=new WeakMap,q=new WeakMap,K=new WeakMap,$=new WeakMap,X=new WeakMap,J=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,oe=new WeakMap,ie=new WeakMap,ae=new WeakMap,ue=new WeakMap,ce=new WeakMap,se=new WeakMap,le=new WeakMap,fe=new WeakMap,pe=new WeakMap,de=new WeakMap,he=new WeakMap,ye=new WeakMap,ve=new WeakMap,me=new WeakMap,be=new WeakMap,ge=new WeakMap,we=t.CobrowseIO=function(e){function t(){var e,r=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).sessionStorageFactory,i=void 0===r?function(e,t,r){var n=r.localStorage;return v.SessionStorage.create(e,t,{localStorage:n})}:r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),F(e=function(e,t,r){return t=M(t),function(e,t){if(t&&("object"==P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,N()?Reflect.construct(t,r||[],M(e).constructor):t.apply(e,r))}(this,t),Y,new u.ActivityDetection),F(e,G,void 0),F(e,H,void 0),F(e,Q,!1),F(e,q,!0),F(e,K,new m.LocalSessionStorage),F(e,$,void 0),F(e,X,void 0),F(e,J,{}),F(e,Z,s.Device.info.capabilities),F(e,ee,new s.Device(e)),F(e,te,new f.ConsentDialog),F(e,re,new f.ConsentDialog),F(e,ne,new f.ConsentDialog),F(e,oe,new f.ConsentDialog),F(e,ie,void 0),F(e,ae,void 0),F(e,ue,void 0),F(e,ce,void 0),F(e,se,void 0),F(e,le,void 0),F(e,fe,void 0),D(e,"start",C(L().mark((function r(){var n,i,u=arguments;return L().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(V("start()",n=u.length>0&&void 0!==u[0]?u[0]:{},"in",document),!y.default.isHeadless()||n.allowHeadless){r.next=5;break}return console.warn("CobrowseIO: Not starting Cobrowse in a headless browser"),r.abrupt("return");case 5:if(window.self===window.top){r.next=19;break}if(!n.allowIFrameStart){r.next=10;break}a.WindowTracking.setTracksIframes(!0),r.next=19;break;case 10:if(!(0,o.isxdoc)(window.parent)){r.next=17;break}return W(fe,e)&&W(fe,e).call(e),z(fe,e,(0,h.initIframeBridgeAsChild)(e)),V("Starting Cobrowse in Iframe bridge mode with trusted origins:",h.default.trustedOrigins,"for",document),r.abrupt("return");case 17:return V("Not starting Cobrowse for same-origin iframe",document),r.abrupt("return");case 19:if(W(fe,e)&&W(fe,e).call(e),z(fe,e,(0,h.initIframeBridgeAsParent)(e)),e.license){r.next=24;break}return console.error("CobrowseIO.license must be set before calling start"),r.abrupt("return");case 24:if(W(Q,e)){r.next=40;break}return p.default.initialize(),a.WindowTracking.start(),(0,d.default)(t.version).catch((function(){})),z(X,e,W($,e).call(e,e.trustedOrigins,e.api,{localStorage:W(K,e)})),console.log("CobrowseIO started",t.version),z(Q,e,!0),"boolean"==typeof n.register&&z(q,e,n.register),e.registration&&(W(Y,e).on("active",(function(){return W(ee,e).runRegistrationLoop()})),W(Y,e).on("inactive",(function(){return W(ee,e).pauseRegistrationLoop()}))),W(Y,e).start(),V("attempting to restore session after start"),r.next=37,W(pe,e).call(e);case 37:z(H,e,null),null!==(i=e.currentSession)&&void 0!==i&&i.isActive()||e.hideSessionControls(),E.mark("start");case 40:case"end":return r.stop()}}),r)})))),D(e,"stop",C(L().mark((function t(){var r;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.currentSession||e.currentSession.isEnded()){t.next=3;break}return t.next=3,e.currentSession.end().catch((function(e){console.warn("CobrowseIO: Failed to end session on stop",e)}));case 3:return W(he,e).call(e,null),a.WindowTracking.stop(),W(Y,e).stop(),t.next=8,W(ee,e).destroy();case 8:return t.next=10,null===(r=W(X,e))||void 0===r?void 0:r.destroy();case 10:return z(X,e,void 0),z(Q,e,!1),W(fe,e)&&(W(fe,e).call(e),z(fe,e,null)),t.abrupt("return",e);case 14:case"end":return t.stop()}}),t)})))),D(e,"open",(function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_blank",n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).type;return W(G,e)?W(G,e).navigate(t,r,{type:n}):window.open(t,r)})),F(e,pe,C(L().mark((function t(){var r;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,W(X,e).load(e);case 2:if(r=t.sent)try{W(he,e).call(e,r,{invalidateFrames:!0})}catch(e){console.warn("CobrowseIO: Failed to fetch restored session",e)}return t.abrupt("return",null);case 5:case"end":return t.stop()}}),t)})))),F(e,de,(function(){W(ee,e).bannerMessage()&&f.Toast.show(W(ee,e).bannerMessage())})),F(e,he,(function(t){var r,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidateFrames,o=void 0!==n&&n;if(V("setting current session",t),!t||!W(G,e)||W(G,e).session.id()!==t.id()){W(te,e).hide(),W(re,e).hide(),W(ne,e).hide(),W(oe,e).hide();var i=function(e,t){return h.default.broadcastToChildren("control",[e,t])},a=function(e){return h.default.broadcastToChildren("remote-error",e)};W(G,e)&&(W(G,e).session.off("updated",W(ye,e)),W(G,e).session.off("ended",W(ve,e)),W(G,e).session.off("control",i),W(G,e).session.off("remote-error",a),W(G,e).destroy(),z(G,e,null)),null===(r=W(X,e))||void 0===r||r.store(t),t&&(z(G,e,new l.SessionContext(t,e)),t.state()&&W(ye,e).call(e,t),t.on("updated",W(ye,e)),t.once("ended",W(ve,e)),t.on("sync",(function(){return e.emit("session.sync")})),t.on("control",i),t.on("remote-error",a),o&&W(G,e).invalidateFrames())}})),F(e,ye,(function(t){W(X,e).store(t),t.fullDevice()||W(ne,e).hide(),"requested"!==t.remoteControl()&&W(re,e).hide(),t.isAuthorizing()||W(te,e).hide(),W(de,e).call(e,t),e.emit("session.updated",t)})),F(e,ve,(function(t){e.emit("session.ended",t),W(he,e).call(e,null),z(le,e,!1)})),F(e,me,void 0),D(e,"hideSessionControls",(function(){f.SessionStateOverlay.hide()})),F(e,be,(0,n.default)((function(){W(ee,e).hasPendingUpdates()&&W(Q,e)&&e.registration&&W(ee,e).updateRegistration().catch((function(e){console.warn("CobrowseIO: updating customData failed",e)}))}),8e3,{leading:!0,trailing:!0})),D(e,"confirmRemoteControl",C(L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",W(re,e).show(b.default.tr("REMOTE_CONTROL_REQUEST_TITLE"),b.default.tr("REMOTE_CONTROL_REQUEST_DESCRIPTION")));case 1:case"end":return t.stop()}}),t)})))),D(e,"confirmFullDevice",C(L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",W(ne,e).show(b.default.tr("FULL_DEVICE_REQUEST_TITLE"),b.default.tr("FULL_DEVICE_REQUEST_DESCRIPTION")));case 1:case"end":return t.stop()}}),t)})))),D(e,"confirmSession",C(L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",W(te,e).show(b.default.tr("SESSION_REQUEST_TITLE"),b.default.tr("SESSION_REQUEST_DESCRIPTION")));case 1:case"end":return t.stop()}}),t)})))),D(e,"confirmOpen",(function(t,r){if(r!==S.NAVIGATION_TYPE.UNIVERSAL)return!0;if(W(le,e))return!0;var n=W(oe,e).show(b.default.tr("UNIVERSAL_PROXY_REQUEST_TITLE"),b.default.tr("UNIVERSAL_PROXY_REQUEST_DESCRIPTION"));return n.then((function(t){t&&z(le,e,!0)})),n})),D(e,"showDocument",(function(e){"_blank"!==e.target&&0===_.default.getTabCount()?_.default.enterFullScreen():_.default.exitFullScreen();var t=e.type===S.NAVIGATION_TYPE.UNIVERSAL,r=_.default.newTab(e.element,"",e.url,e.isLoading,e.close,t);e.isBlocked&&r.showBanner(b.default.tr("UNIVERSAL_PROXY_BLOCKED"));var n=function(){r.setIcon(e.icon),r.setTitle(e.title||e.url),r.setIsLoading(e.isLoading),e.isBlocked?r.showBanner(b.default.tr("UNIVERSAL_PROXY_BLOCKED")):r.hideBanner()};e.on("updated",n),e.once("closed",(function(){e.off("updated",n),r.close()}))})),D(e,"getSession",function(){var t=C(L().mark((function t(r){var n;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(W(Q,e)){t.next=2;break}throw new Error("CobrowseIO not started. Call CobrowseIO.start()");case 2:if(!e.currentSession||e.currentSession.id()!==r&&e.currentSession.code()!==r){t.next=4;break}return t.abrupt("return",e.currentSession.fetch());case 4:return n=new l.Session(e).updateResource({id:r}),W(he,e).call(e,n),t.next=8,n.fetch();case 8:return e.emit("session.loaded",n),t.abrupt("return",n);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),D(e,"createSession",C(L().mark((function t(){var r;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(W(Q,e)){t.next=2;break}throw new Error("CobrowseIO not started. Call CobrowseIO.start()");case 2:if(!e.currentSession||!e.currentSession.isActive()&&!e.currentSession.isAuthorizing()){t.next=4;break}throw new Error("Already in a session");case 4:return E.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."),r=new l.Session(e),W(he,e).call(e,r),t.next=9,r.update({custom_data:e.customData,device:s.Device.info});case 9:return e.emit("session.loaded",r),t.abrupt("return",r);case 11:case"end":return t.stop()}}),t)})))),D(e,"createSessionCode",C(L().mark((function t(){var r;return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.createSession();case 2:return r=t.sent,t.abrupt("return",r.code());case 4:case"end":return t.stop()}}),t)})))),D(e,"client",C(L().mark((function t(){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e);case 1:case"end":return t.stop()}}),t)})))),F(e,ge,(function(t){t&&["license","api","registration","customData","showSessionControls","hideSessionControls","confirmSession","confirmRemoteControl","confirmFullDevice","trustedOrigins","redactedViews","unredactedViews","ignoredViews","capabilities","pdfLinks","universalLinks","confirmOpen","showDocument"].forEach((function(r){void 0!==t[r]&&(e[r]=t[r])}))})),V("interface constructed in",document),z($,e,i),e.api="https://api.cobrowse.io",W(ge,e).call(e,window&&window.CobrowseIO),z(H,e,W(K,e).load(e)),W(ee,e).on("register",W(de,e)),W(ee,e).on("notification",(function(t){var r=t["cobrowseio-code"];r&&e.getSession(r).catch((function(e){console.warn("CobrowseIO: session fetch failed:",e)}))})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(t,e),r=t,g=[{key:"version",get:function(){return s.Device.info.sdk_version}}],(i=[{key:"deviceId",value:function(){return s.Device.deviceId()}},{key:"currentSession",get:function(){return W(G,this)?W(G,this).session:W(H,this)}},{key:"showSessionControls",get:function(){return W(me,this)?W(me,this):f.SessionStateOverlay.show},set:function(e){z(me,this,e),f.SessionStateOverlay.hide(),this.currentSession&&this.currentSession.isActive()&&W(me,this).call(this)}},{key:"license",get:function(){return c.RESTResource.getHeader("X-CobrowseLicense")},set:function(e){if(W(Q,this)&&this.license!==e)throw new Error("Cannot change license once Cobrowse is started");c.RESTResource.setHeader("X-CobrowseLicense",e)}},{key:"api",get:function(){return c.RESTResource.api},set:function(e){if(W(Q,this)&&c.RESTResource.api!==e)throw new Error("Cannot change API once Cobrowse is started");c.RESTResource.api=e}},{key:"registration",get:function(){return!!W(q,this)},set:function(e){if(W(Q,this)&&W(q,this)!==e)throw new Error("Cannot change auto-registration state once Cobrowse is started");z(q,this,e)}},{key:"redactedViews",get:function(){return W(ie,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set redacted views after Cobrowse is started");z(ie,this,e)}},{key:"unredactedViews",get:function(){return W(ae,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set unredacted views after Cobrowse is started");z(ae,this,e)}},{key:"ignoredViews",get:function(){return W(ue,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set ignored views after Cobrowse is started");z(ue,this,e),w.default.setIgnoredViews(e)}},{key:"capabilities",get:function(){var e,t;return null!==(e=null===(t=this.currentSession)||void 0===t?void 0:t.capabilities)&&void 0!==e?e:W(Z,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set capabilities after Cobrowse is started");if(!Array.isArray(e))throw new Error("Capabilities should be an array");z(Z,this,e.filter((function(e){return!!s.Device.info.capabilities.includes(e)||(console.warn("Capability '".concat(e,"' not supported. Ignoring...")),!1)})))}},{key:"customData",get:function(){return k(k({},W(ee,this).customData),W(J,this))},set:function(e){if("object"!==P(e))throw new Error("Custom data must be an object");if(z(J,this,k(k({},W(J,this)),e)),W(Q,this)&&setTimeout(W(be,this),0),this.currentSession&&this.currentSession.isActive()){var t=this.currentSession.resource.custom_data;if(!Object.keys(e).find((function(r){return t[r]!==e[r]})))return void V("no changes to session custom data");this.currentSession.update({custom_data:e}).catch((function(){console.warn("CobrowseIO: failed to update custom data on active session")}))}}},{key:"trustedOrigins",get:function(){return h.default.trustedOrigins},set:function(e){var t=e.map((function(e){try{return new URL(e).origin}catch(t){return console.warn("CobrowseIO: Invalid URL in trustedOrigins:",e),null}})).filter((function(e){return e}));h.default.trustedOrigins=t}},{key:"pdfLinks",get:function(){return W(ce,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set pdfLinks after Cobrowse is started");var t=e.map((function(e){return e instanceof RegExp||"string"==typeof e?e:(console.warn("CobrowseIO: Invalid link in pdfLinks:",e),null)})).filter((function(e){return e}));z(ce,this,t)}},{key:"universalLinks",get:function(){return W(se,this)},set:function(e){if(W(Q,this))throw new Error("Cannot set universalLinks after Cobrowse is started");var t=e.map((function(e){return e instanceof RegExp||"string"==typeof e?e:(console.warn("CobrowseIO: Invalid link in universalLinks:",e),null)})).filter((function(e){return e}));z(se,this,t)}},{key:"version",get:function(){return t.version}}])&&A(r.prototype,i),g&&A(r,g),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,i,g}(i.EventEmitter);c.RESTResource.setHeader("Content-Type","application/json"),c.RESTResource.setHeader("X-CobrowsePlatform","web"),c.RESTResource.setHeader("X-CobrowseSDKVersion",we.version),c.RESTResource.setHeader("X-CobrowseDevice",s.Device.deviceId()),c.RESTResource.setHeader("X-CobrowseAPIVersion","1.63.3"),t.default=new we},30961:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),t.hA=function(){return p.apply(this,arguments)},r(26099);var o=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}function a(){a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,c,"next",e)}function c(e){u(i,n,o,a,c,"throw",e)}a(void 0)}))}}var s=(0,i(r(51227)).default)("cbio.Integrations.Freshchat");function l(){return f.apply(this,arguments)}function f(){return(f=c(a().mark((function e(){var t,r,n,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.default.deviceId(),window.fcWidget.user.setProperties({cobrowse_device_id:t}),e.next=4,window.fcWidget.user.get();case 4:(r=e.sent).success&&(s("Freshchat initialized"),n=r.data,i={freshchat_numeric_user_id:n.id+"",freshchat_user_id:n.alias,cobrowse_device_id:t},n.isNameGenerated||(i.freshchat_user_first_name=n.firstName,i.freshchat_user_last_name=n.lastName),n.email&&(i.freshchat_user_email=n.email),o.default.customData=i);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(){return(p=c(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(window.fcWidget){e.next=3;break}return s("Freshchat not found"),e.abrupt("return");case 3:window.fcWidget.on("user:created",(function(e){e.success&&l()})),window.fcWidget.on("widget:opened",c(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.fcWidget.user.isExists();case 2:if(!0!==e.sent.data){e.next=6;break}return e.next=6,l();case 6:case"end":return e.stop()}}),e)}))));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},81809:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),t.A=function(){if(!c)try{var e,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");c=t.registerPlugin("CobrowseIOExtension"),window.oCobrowseIOExtension=c,s("CobrowseIOExtension",c),c.subscribe("WebChat.opened",(function(e){s("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=function(){return function(e){return l.apply(this,arguments)}(e)})}(c),function(e){e.command("WebChatService.updateUserData",{cobrowse_device_id:o.default.deviceId()}).done((function(e){s("CobrowseIOExtension.WebChatService.updateUserData succeeded",e)})).fail((function(e){s("CobrowseIOExtension.WebChatService.updateUserData failed",e)}))}(c)})),c.subscribe("WebChatService.started",(function(e){try{s("CobrowseIOExtension.WebChatService.started",e);var t={cobrowse_device_id:o.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)),o.default.customData=t}catch(e){s("Error during CobrowseIOExtension.WebChatService.started",e)}})),c.subscribe("WebChatService.agentConnected",(function(e){s("CobrowseIOExtension.WebChatService.agentConnected",e)})),c.subscribe("WebChatService.clientConnected",(function(e){s("CobrowseIOExtension.WebChatService.clientConnected",e)})),c.subscribe("WebChatService.restored",(function(e){s("CobrowseIOExtension.WebChatService.restored",e)})),c.subscribe("WebChatService.ended",(function(e){s("CobrowseIOExtension.WebChatService.ended",e),o.default.currentSession&&!o.default.currentSession.isEnded()&&o.default.currentSession.end()})),c.subscribe("WebChat.started",(function(e){try{if(s("CobrowseIOExtension.WebChat.started",e),e&&e.data&&e.data.form){s("e.data.form",e.data.form);var t=e.data.form||{};t.device_name=e.data.form.firstname?"".concat(e.data.form.firstname,"'s device"):"WebChat User's Device",o.default.customData=t}}catch(e){s("Error during CobrowseIOExtension.WebChat.started",e)}})),c.republish("ready"),c.ready()}catch(e){console.error("Error syncing Cobrowse.io with Genesys, please contact hello@cobrowse.io for help!"),console.warn(e)}},r(28706),r(26099);var o=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}function a(){a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}var c,s=(0,i(r(51227)).default)("cbio.Integrations.Genesys");function l(){var e;return e=a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s("Requesting cobrowse"),e.next=3,o.default.createSessionCode();case 3:r=e.sent,s("Generated session code: ".concat(r)),t.command("WebChatService.sendFilteredMessage",{message:"Customer requests Cobrowse session with code: ".concat(r.substr(0,3)," ").concat(r.substr(3)),regex:/Customer requests Cobrowse session with code:.*/}).done((function(e){s("CobrowseIOExtension.WebChatService sent filtered message successfully",e)})).fail((function(e){s("CobrowseIOExtension.WebChatService failed to send filtered message",e)}));case 6:case"end":return e.stop()}}),e)})),l=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,c,"next",e)}function c(e){u(i,n,o,a,c,"throw",e)}a(void 0)}))},l.apply(this,arguments)}},75160:function(e,t,r){"use strict";var n;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(89572),r(2892);var u=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.Integrations");t.default=function(){return function(e,t,r){return r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}),0,[{key:"watchProperty",value:function(e,t,r){var n=e[t],o=function(){u("monitoring changes to ".concat(t),e),Object.defineProperty(e,t,{configurable:!0,set:function(i){u("CobrowseIO detected",t,"as",i),n=i,Object.defineProperty(e,t,{configurable:!0,writable:!0,value:i}),setTimeout((function(){return r(o)}),0)},get:function(){return n}})};n?(u("".concat(t," already exists as ").concat(e[t])),r(o)):o()}},{key:"initialize",value:function(){var e=this;u("Initializing integrations"),this.watchProperty(window,"CXBus",(function(){return r(81809).A()})),this.watchProperty(window,"_genesys",(function(){return e.watchProperty(window._genesys,"widgets",(function(){return e.watchProperty(window._genesys.widgets,"bus",(function(){setTimeout((function(){r(81809).A()}),0)}))}))})),this.watchProperty(window,"Intercom",(function(){return r(83110).A()})),this.watchProperty(window,"$zopim",(function(){return r(77319).zopim()})),this.watchProperty(window,"embedded_svc",(function(){return e.watchProperty(window.embedded_svc,"liveAgentAPI",(function(){r(39278).A()}))})),this.initializeZendesk(r(77319).messenger,r(77319).classic,r(77319).sunshine),this.initializeFreshchat(r(30961).hA),this.initializeNice(r(32532).hA)}},{key:"initializeFreshchat",value:function(e){this.watchProperty(window,"fcWidget",(function(){return e()}))}},{key:"initializeZendesk",value:function(e,t,r){this.watchProperty(window,"zE",(function(r){if(!window.zE.widget)return r();"messenger"===window.zE.widget?e():t()})),this.watchProperty(window,"Smooch",(function(){return r()}))}},{key:"initializeNice",value:function(e){this.watchProperty(window,"cxone",(function(t){if(!window.cxone.guide)return t();e()}))}}])}()},83110:function(e,t,r){"use strict";t.A=function(){try{if(!window.Intercom||"function"!=typeof window.Intercom)throw new Error("expected window.Intercom to be a function");a("Initializing intercom integration"),u(),window.Intercom("onShow",(0,n.default)(u,12e4,{trailing:!1}))}catch(e){console.error("Error syncing Cobrowse.io with Intercom, please contact hello@cobrowse.io for help!"),console.warn(e)}};var n=i(r(7350)),o=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,i(r(51227)).default)("cbio.Integrations.Intercom");function u(){a("Updating intercom integration"),window.intercomSettings||(window.intercomSettings={}),window.intercomSettings.CobrowseID=o.default.deviceId(),window.Intercom("update",{CobrowseID:o.default.deviceId()})}},32532:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),t.hA=function(){return s.apply(this,arguments)},r(26099),r(42762);var o=i(r(85620));function i(e){return e&&e.__esModule?e:{default:e}}function a(){a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}var c=(0,i(r(51227)).default)("cbio.Integrations.Nice");function s(){var e;return e=a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=o.default.deviceId();try{window.cxone("chat","setCustomerCustomField","cobrowse_device_id",t)}catch(e){console.log("Error setting Nice CX custom field",e)}window.cxone("chat","onAnyPushUpdate",(function(e){var r,n=e.data,i=e.eventType;if("CaseCreated"===i){var a;c("Nice case created");var u=n.case,s=u.id+"",l=null===(a=u.authorEndUserIdentity.fullName)||void 0===a?void 0:a.trim(),f=u.authorEndUserIdentity.idOnExternalPlatform;o.default.customData={nice_case_id:s,nice_external_contact_id:f,cobrowse_device_id:t,user_name:l}}else"CaseStatusChanged"===i&&"closed"===n.case.status&&null!==(r=o.default.currentSession)&&void 0!==r&&r.isActive()&&(c("Nice case closed"),o.default.currentSession.end())}));case 3:case"end":return e.stop()}}),e)})),s=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,c,"next",e)}function c(e){u(i,n,o,a,c,"throw",e)}a(void 0)}))},s.apply(this,arguments)}},39278:function(e,t,r){"use strict";t.A=function(){try{if("object"!==i(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");a("Initializing salesforce integration"),window.embedded_svc.addEventHandler("onChatRequestSuccess",(function(e){e&&e.liveAgentSessionKey&&(n.default.customData={salesforce_liveAgentSessionKey:e.liveAgentSessionKey})})),window.embedded_svc.addEventHandler("onChatEndedByAgent",(function(){n.default.currentSession&&n.default.currentSession.end()})),window.embedded_svc.addEventHandler("onChatEndedByChasitor",(function(){n.default.currentSession&&n.default.currentSession.end()}))}catch(e){console.error("Error syncing Cobrowse.io with Salesforce Chat, please contact hello@cobrowse.io for help!"),console.warn(e)}},r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953);var n=o(r(85620));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a=(0,o(r(51227)).default)("cbio.Integrations.Salesforce")},71907:function(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)();var 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];return o("identify",r[0]),e.apply(void 0,r)}}()}catch(e){console.error("Error syncing Cobrowse.io with Zendesk (classic), please contact hello@cobrowse.io for help!"),console.warn(e)}},t.updateCustomData=o,r(62010);var n=r(77319);function o(e,t){var 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:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23418),r(23792),r(34782),r(62010),r(26099),r(27495),r(38781),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.POLLING_INTERVAL=void 0,Object.defineProperty(t,"classic",{enumerable:!0,get:function(){return a.classic}}),t.default=void 0,t.fillCustomData=function(e){Object.keys(e).length&&(o.default.customData=e)},Object.defineProperty(t,"messenger",{enumerable:!0,get:function(){return u.messenger}}),Object.defineProperty(t,"sunshine",{enumerable:!0,get:function(){return c.sunshine}}),t.swizzlezE=function(){var e=window.zE;for(var t in window.zE=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i,c=r[0],l=r[1],f=r[2];if("webWidget"===c&&(0,a.updateCustomData)(l,f),"messenger"===c&&(0,u.updateCustomData)(l,f),"messenger:set"===c&&"conversationTags"===l){var p=f;if(p&&p.length){var d=o.default.deviceId();p=[].concat(function(e){if(Array.isArray(e))return s(e)}(i=p)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),["cobrowseio_deviceid_".concat(d)]),r[2]=p,window.zE.__cobrowseio_zendesk_tags_set=!0}}return e.apply(void 0,r)},e)window.zE[t]=e[t]},Object.defineProperty(t,"zopim",{enumerable:!0,get:function(){return i.zopim}}),r(28706),r(79432);var n,o=(n=r(85620))&&n.__esModule?n:{default:n},i=r(34808),a=r(71907),u=r(96040),c=r(70);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}t.POLLING_INTERVAL=2e3,t.default={messenger:u.messenger,classic:a.classic,sunshine:c.sunshine,zopim:i.zopim}},96040:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.messenger=function(){(0,i.swizzlezE)();try{"true"===sessionStorage.getItem("ZD-widgetOpen")?p().then(c):window.zE("messenger:on","open",(function(){p().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=u,r(50113),r(79432),r(26099),r(27495),r(71761);var n,o=(n=r(85620))&&n.__esModule?n:{default:n},i=r(77319),a=window.localStorage;function u(e,t){var 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,i.fillCustomData)(r)}function c(){var e=s();if(!e)throw new Error("Missing client ID (ZD-buid)");var t=l(e);if(!t)throw new Error("Instance ID could not be found");var r=f(t);window.zE.__cobrowseio_zendesk_tags_set||window.zE("messenger:set","conversationTags",["cobrowseio_deviceid_".concat(o.default.deviceId())]),u("identify",{appUserId:r,deviceId:o.default.deviceId()})}function s(){return a.getItem("ZD-buid")}function l(e){var t;return null===(t=Object.keys(a).find((function(t){return t.match(/\w+\.clientId/)&&a[t]===e})))||void 0===t||null===(t=t.split("."))||void 0===t?void 0:t[0]}function f(e){return a.getItem("".concat(e,".appUserId"))}function p(){var e=function(t,r){a=sessionStorage.getItem("ZD-buid")?window.sessionStorage:window.localStorage;var n=f(l(s()));n?t(n):setTimeout(e,i.POLLING_INTERVAL,t,r)};return new Promise(e)}},70:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sunshine=function(){try{window.Smooch.on("widget:opened",(function(){var e;(e=function(t,r){var o=i();o?t(o):setTimeout(e,n.POLLING_INTERVAL,t,r)},new Promise(e)).then(o)}))}catch(e){console.error("Error syncing Cobrowse.io with Zendesk (Sunshine Conversations), please contact hello@cobrowse.io for help!"),console.warn(e)}},r(26099);var n=r(77319);function o(){var e;e={zendesk_web_user_id:{appUserId:i()}.appUserId},(0,n.fillCustomData)(e)}function i(){var e;return null===(e=window.Smooch.getUser())||void 0===e?void 0:e.id}},34808:function(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(){i("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)}};var n=o(r(85620));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,o(r(51227)).default)("cbio.Integrations.Zendesk")},64033:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(26099),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o=a(r(44153)),i=a(r(11191));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 p(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")}var h=new WeakMap,y=new WeakMap;t.default=c((function e(t){var r,n,a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,h,void 0),f(this,y,(function(){var e,t=i.default.unproxify(window.location.href),r=new URL((e=document.querySelectorAll('link[rel="icon"]'),e.length>0?e[0].href:"/favicon.ico"),t).href;p(h,a).call(a,{url:t,icon:i.default.proxify(r),title:document.title,isLoading:"complete"!==document.readyState,isBlocked:!1})})),s(this,"sendLoading",(function(e){p(h,a).call(a,{url:e,icon:"",title:"",isLoading:!0,isBlocked:!1})})),s(this,"sendBlocked",(function(e){p(h,a).call(a,{url:e,icon:"",title:"",isLoading:!1,isBlocked:!0})})),s(this,"destroy",(function(){o.default.off("navigate",p(y,a)),window.removeEventListener("popstate",p(y,a),{capture:!0}),document.removeEventListener("readystatechange",p(y,a),{capture:!0})})),n=t,(r=h).set(d(r,this),n),o.default.on("navigate",p(y,this)),window.addEventListener("popstate",p(y,this),{capture:!0}),document.addEventListener("readystatechange",p(y,this),{capture:!0}),p(y,this).call(this)}))},86350:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23418),r(23792),r(34782),r(62010),r(83851),r(81278),r(79432),r(27495),r(38781),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(2008),r(62062),r(89572),r(2892),r(26099);var n,o=(n=r(7350))&&n.__esModule?n:{default:n},i=r(89501);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(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 c(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){p(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function f(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t,r){return(t=d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var h=f((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,"_mousePosition",{x:-1,y:-1}),p(this,"_mouseIsDown",!1),p(this,"_mouseIsIn",!1),p(this,"track",(function(e){e.addEventListener("mousedown",t._onMouseDown,{capture:!0,passive:!0}),e.addEventListener("mouseup",t._onMouseUp,{capture:!0,passive:!0}),e.addEventListener("mouseenter",t._onMouseEnter,{capture:!0,passive:!0}),e.addEventListener("mouseleave",t._onMouseLeave,{capture:!0,passive:!0}),e.addEventListener("mousemove",t._onMouseMove,{capture:!0,passive:!0})})),p(this,"untrack",(function(e){e.removeEventListener("mousedown",t._onMouseDown,{capture:!0,passive:!0}),e.removeEventListener("mouseup",t._onMouseUp,{capture:!0,passive:!0}),e.removeEventListener("mouseenter",t._onMouseEnter,{capture:!0,passive:!0}),e.removeEventListener("mouseleave",t._onMouseLeave,{capture:!0,passive:!0}),e.removeEventListener("mousemove",t._onMouseMove,{capture:!0,passive:!0})})),p(this,"isDown",(function(){return t._mouseIsDown})),p(this,"setDown",(function(e){t._mouseIsDown=e,t.onChange&&t.onChange(t.state())})),p(this,"isIn",(function(){return t._mouseIsIn>0})),p(this,"position",(function(){return t._mousePosition})),p(this,"setPosition",(function(e,r,n){if(n){var o=[n].concat((a=(0,i.parents)(n).filter((function(e){var t;return null===(t=e.matches)||void 0===t?void 0:t.call(e,"iframe")})),function(e){if(Array.isArray(e))return s(e)}(a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())).map((function(e){return e.getBoundingClientRect()})).reduce((function(e,t){return{x:e.x+t.x,y:e.y+t.y}}),{x:0,y:0});e+=Math.round(o.x),r+=Math.round(o.y)}var a;t._mousePosition={x:e,y:r},t.onChange&&t.onChange(t.state())})),p(this,"state",(function(){return c(c({},t.position()),{},{down:t.isDown(),in:t.isIn()})})),p(this,"_onMouseDown",(function(e){e.isTrusted&&t.setDown(!0)})),p(this,"_onMouseUp",(function(e){e.isTrusted&&t.setDown(!1)})),p(this,"_onMouseEnter",(function(e){e.isTrusted&&(t._mouseIsIn+=1)})),p(this,"_onMouseLeave",(function(e){e.isTrusted&&e.target===e.currentTarget&&(t._mouseIsIn-=1)})),p(this,"_onMouseMove",(0,o.default)((function(e){if(e.isTrusted){var r=e.clientX,n=e.clientY,o=e.view&&e.view.frameElement;t.setPosition(r,n,o)}}),100))}));t.default=new h},27771:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(23792),r(26099),r(47764),r(73772),r(62953);var o=r(37007),i=r(40182),a=u(r(86542));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(s=function(){return!!e})()}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e,t,r){return(t=d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 y(e,t,r){return e.set(m(e,t),r),r}function v(e,t){return e.get(m(e,t))}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")}var b=(0,u(r(51227)).default)("cbio.WindowTracking"),g="_cobrowse_window_id",w=new WeakMap,E=new WeakMap,_=new WeakMap,S=new WeakMap,O=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return h(e=function(e,t,r){return t=l(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,s()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}(this,t,[].concat(o)),w,x._.call(t)),h(e,E,!1),h(e,_,!1),p(e,"start",(function(){v(_,e)||(y(_,e,!0),b("started"),v(S,e).call(e),document.addEventListener("visibilitychange",v(S,e),{capture:!0}),document.addEventListener("mouseover",v(S,e),{capture:!0}))})),p(e,"stop",(function(){b("stopped"),e.removeAllListeners(),y(_,e,!1),document.removeEventListener("visibilitychange",v(S,e),{capture:!0}),document.removeEventListener("mouseover",v(S,e),{capture:!0})})),p(e,"isActive",(function(){return(0,a.default)().getItem(g)===e.id})),p(e,"setTracksIframes",(function(t){y(E,e,t),v(S,e).call(e)})),p(e,"shouldTrack",(function(){return!document.hidden&&(!(window.self!==window.top)||v(E,e))})),p(e,"makeActive",(function(){e.isActive()||(b("making active",window),(0,a.default)().setItem(g,e.id),e.emit("activate",window))})),p(e,"resignActive",(function(){e.isActive()&&(b("resigning active",window),(0,a.default)().setItem(g,null))})),h(e,S,(function(){e.shouldTrack()&&e.makeActive(),e.emit("updated")})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(t,e),r=t,(o=[{key:"id",get:function(){return v(w,this)}}])&&c(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o}(o.EventEmitter),x={_:function(){return document.__cobrowse_window_id=document.__cobrowse_window_id||(0,i.v4)(),document.__cobrowse_window_id}};t.default=new O},45264:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MouseTracking",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"WindowTracking",{enumerable:!0,get:function(){return o.default}});var n=i(r(86350)),o=i(r(27771));function i(e){return e&&e.__esModule?e:{default:e}}},61789:function(e,t,r){"use strict";r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(40875),r(60825),r(40888),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RegistrationPath=t.DeviceIdPath=void 0,r(28706),r(50113),r(23792),r(79432),r(26099),r(27495),r(38781),r(47764),r(25440),r(73772),r(12041),r(62953),r(3296),r(27208),r(48408);var n=r(40182),o=r(18111),i=r(67829),a=s(r(86542)),u=s(r(56851)),c=s(r(18781));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(){f=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),u=new C(n||[]);return o(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};s(_,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&n.call(O,a)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(o,i,a,u){var c=d(e[o],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(l(t)+" is not iterable")}return w.prototype=E,o(x,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,s(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),s(P.prototype,u,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),s(x,c,"Generator"),s(x,a,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function p(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function d(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){p(i,n,o,a,u,"next",e)}function u(e){p(i,n,o,a,u,"throw",e)}a(void 0)}))}}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,E(n.key),n)}}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(e,t,r,n){var o=b(g(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof o?function(e){return o.apply(r,e)}:o}function b(){return b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}},b.apply(null,arguments)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function w(e,t,r){return(t=E(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){var t=function(e){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}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 S(e,t){return e.get(x(e,t))}function O(e,t,r){return e.set(x(e,t),r),r}function x(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 T=(0,s(r(51227)).default)("cbio.Device"),P=t.DeviceIdPath="_cobrowse_device_id",j=t.RegistrationPath="_cobrowse_device_registration",k=new WeakMap,L=new WeakMap,I=new WeakMap,C=new WeakMap,A=new WeakMap,N=new WeakMap,M=new WeakMap,R=new WeakMap,D=new WeakMap,U=new WeakMap,F=new WeakMap,W=new WeakMap;t.default=function(e){function t(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_(r=function(e,t,r){return t=g(t),function(e,t){if(t&&("object"==l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,y()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,t),k,void 0),_(r,L,void 0),_(r,I,void 0),_(r,C,!1),_(r,A,void 0),w(r,"url",(function(){return new URL("api/1/devices/".concat(r.id()),t.api).toString()})),w(r,"reset",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];T("resetting device"),clearTimeout(S(I,r)),O(I,r,null),e||(0,a.default)().removeItem(j),S(k,r)&&(S(k,r).close(),O(k,r,null))})),w(r,"destroy",d(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return T("destroying device"),r.reset(),e.abrupt("return",m(t,"destroy",r,3)([]));case 3:case"end":return e.stop()}}),e)})))),w(r,"hasPendingUpdates",(function(){var e=r.field("custom_data")||{},t=S(A,r).customData||{};return!!Object.keys(t).find((function(r){return e[r]!==t[r]}))})),_(r,N,(function(){if(!S(A,r).license)throw new Error("License required to generate storage key");return"".concat(S(A,r).license,":").concat(t.api)})),w(r,"_saveRegistration",(function(){var e=r.field("next_registration")||3600,t=(new Date).getTime();"number"!=typeof Date.now()&&console.error("Unexpected type returned for Date.now(), expecting number got ".concat(l(Date.now()))),"number"!=typeof t&&console.error("Unexpected type for getTime() of Date, expecting number got ".concat(l(t)));var n={notification_url:r.field("notification_url"),notification_token:r.field("notification_token"),custom_data:r.field("custom_data"),next_registration_time:t+1e3*e};return r.cache({next_registration_time:n.next_registration_time}),(0,a.default)(S(N,r).call(r)).setItem(j,n),r})),w(r,"_loadRegistration",(function(){if(!S(C,r)){O(C,r,!0);var e=(0,a.default)(S(N,r).call(r)).getItem(j);e&&(T("restoring registration",e),r.cache(e))}})),w(r,"updateRegistration",function(){var e=d(f().mark((function e(n){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!S(L,r).limit()){e.next=2;break}throw new Error("Cobrowse update rate limit exceeded. Maybe you're updating custom data too often?");case 2:return T("updating registration"),e.next=5,r.update({device:t.info,custom_data:S(A,r).customData},n);case 5:return S(W,r).call(r),r._saveRegistration(),r.emit("register"),e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),w(r,"runRegistrationLoop",d(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(T("starting registrations"),r._loadRegistration(),r.reset(!0),!(r.hasPendingUpdates()||r.nextRegistration()<=0)){e.next=6;break}return e.next=6,r.updateRegistration().catch((function(){}));case 6:S(W,r).call(r),S(M,r).call(r);case 8:case"end":return e.stop()}}),e)})))),w(r,"pauseRegistrationLoop",d(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:T("pausing registrations"),r.reset(!0);case 2:case"end":return e.stop()}}),e)})))),w(r,"nextRegistration",(function(){return(r.field("next_registration_time")||0)-(new Date).getTime()})),w(r,"bannerMessage",(function(){return r.field("banner_message")||!1})),w(r,"_nextUpdate",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Math.max(Math.min(6e4*e,36e5),r.nextRegistration())})),_(r,M,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(S(I,r))console.error("CobrowseIO: tried to schedule registration while already scheduled");else{var t=r._nextUpdate(e);O(I,r,setTimeout(d(f().mark((function t(){return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(S(I,r)){t.next=2;break}return t.abrupt("return",console.error("Registration loop cancelled"));case 2:return t.prev=2,t.next=5,r.updateRegistration();case 5:return O(I,r,!1),t.abrupt("return",S(M,r).call(r));case 9:return t.prev=9,t.t0=t.catch(2),console.warn("CobrowseIO: registration failed",t.t0),O(I,r,!1),t.abrupt("return",S(M,r).call(r,e+1));case 14:case"end":return t.stop()}}),t,null,[[2,9]])}))),Math.max(1e3,t)))}})),_(r,R,(function(){var e=r.field("notification_url");return(0,u.default)(e)})),_(r,D,(function(){var e=r.field("notification_token");return["cbio.http.headers.authorization.bearer.".concat(window.btoa(e).replaceAll("=",""))]})),_(r,U,(function(){S(k,r)||(O(k,r,new i.CBORSocket({getUrl:S(R,r),getProtocols:S(D,r)})),S(k,r).setMaxReconnectDelay(6e4),S(k,r).on("error",(function(e){e&&console.warn("CobrowseIO notification socket error:",e)})),S(k,r).on("event",(function(e,t){"notification"===e?r.emit("notification",t):"probe"===e&&S(k,r).send("alive",t)})),S(k,r).on("open",(function(){S(k,r).send("filter",{events:["probe","notification"]})})))})),_(r,F,(function(){S(k,r)&&(console.log("CobrowseIO: Closing socket"),S(k,r).close(),O(k,r,null))})),_(r,W,(function(){var e=r.field("notification_url"),t=r.field("notification_token");e&&t?S(U,r).call(r):S(F,r).call(r)})),T("constructed"),!e)throw new Error("Device delegate is required");return O(A,r,e),O(L,r,new c.default(10,12e4)),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(t,e),r=t,s=[{key:"deviceCredentials",value:function(){var e=(0,a.default)().getItem(P)||{};return"string"==typeof e&&(e={id:e}),"object"!==l(e)&&(e={}),e.id||(e.id=(0,n.v4)()),e.token||(e.token=(0,n.v4)()),(0,a.default)().setItem(P,e),e}},{key:"deviceId",value:function(){return this.deviceCredentials().id}},{key:"deviceToken",value:function(){return this.deviceCredentials().token}},{key:"info",get:function(){var e=["pointer","scroll","select","keypress","drawing","disappearing_ink","laser","cursor","universal"];return/Android|webOS|iPhone|iPad|iPod|Opera Mini/i.test(window.navigator.userAgent)||e.push("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.2.4",capabilities:e}}}],(o=[{key:"id",value:function(){return t.deviceId()}},{key:"customData",get:function(){return this.field("custom_data")||{}}}])&&h(r.prototype,o),s&&h(r,s),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o,s}(o.RESTResource)},21667:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Device",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(61789))&&n.__esModule?n:{default:n}},71260:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(26099),r(47764),r(73772),r(62953);var o,i=(o=r(37007))&&o.__esModule?o:{default:o};function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}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 f(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function d(e,t){return e.get(y(e,t))}function h(e,t,r){return e.set(y(e,t),r),r}function y(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,m=new WeakMap,b=new WeakMap,g=new WeakMap;t.default=function(e){function t(e,r,o,i){var a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),f(a=function(e,t,r){return t=c(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,r||[],c(e).constructor):t.apply(e,r))}(this,t),"url",void 0),f(a,"target",void 0),f(a,"element",void 0),f(a,"type",void 0),l(a,v,void 0),l(a,m,void 0),l(a,b,!0),l(a,g,!1),f(a,"close",(function(){return a.emit("closed",a)})),a.url=e,a.target=r,a.element=o,a.type=i,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e),function(e,t){return t&&a(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"icon",get:function(){return d(v,this)},set:function(e){h(v,this,e),this.emit("updated",this)}},{key:"title",get:function(){return d(m,this)},set:function(e){h(m,this,e),this.emit("updated",this)}},{key:"isLoading",get:function(){return d(b,this)},set:function(e){h(b,this,e),this.emit("updated",this)}},{key:"isBlocked",get:function(){return d(g,this)},set:function(e){h(g,this,e),this.emit("updated",this)}}])}(i.default)},68756:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 s(e,t){return e.get(f(e,t))}function l(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")}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(2008),r(23792),r(26099),r(47764),r(73772),r(23500),r(62953);var p=new WeakMap,d=new WeakMap,h=new WeakMap;t.default=i((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,p,[]),c(this,d,void 0),c(this,h,(function(e){if(s(d,r)){var t=e.url,n=e.icon,o=e.title,i=e.isLoading,a=e.isBlocked;s(d,r).call(r,{url:t,icon:n,title:o,isLoading:i,isBlocked:a})}})),a(this,"addDocument",(function(e){e.once("closed",(function(){l(p,r,s(p,r).filter((function(t){return t!==e}))),e.off("updated",s(h,r))})),s(p,r).push(e),e.on("updated",s(h,r)),s(h,r).call(r,e)})),a(this,"closeAllDocuments",(function(){return s(p,r).forEach((function(e){return null==e?void 0:e.close()}))})),l(d,this,t)}))},89689:function(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 o.default}});var n=i(r(71260)),o=i(r(68756));function i(e){return e&&e.__esModule?e:{default:e}}},48374:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(2008),r(23418),r(34782),r(81278),r(79432),r(27495),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(74423),r(23792),r(89572),r(62010),r(2892),r(83851),r(26099),r(31415),r(21699),r(47764),r(23500),r(62953);var n,o=r(89501),i=r(45264),a=(n=r(44153))&&n.__esModule?n:{default:n},u=r(79883),c=r(49715);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function f(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?f(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}function h(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(e,t,r){return(t=v(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}t.default=h((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,"_init",(function(){r._propertyWatcher||(r._propertyWatcher=new o.PropertyObserver(r._onPropertySet),a.default.on("stylechange",r._onStyleSheetChange),a.default.on("navigate",r._onNavigation),a.default.on("canvaschange",r._onCanvasChange))})),y(this,"observe",(function(e){if(!r._observing.has(e)){r._init();var t=Object.getOwnPropertyDescriptor(u.EventTarget.prototype,"addEventListener").value;t.call(e,"scroll",r._onEvent,{capture:!0,passive:!0}),t.call(e,"focus",r._onFocusChange,{capture:!0,passive:!0}),t.call(e,"blur",r._onFocusChange,{capture:!0,passive:!0}),t.call(e,"change",r._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keydown",r._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keyup",r._onInputEvent,{capture:!0,passive:!0}),t.call(e,"keypress",r._onInputEvent,{capture:!0,passive:!0}),t.call(e,"selectionchange",r._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"select",r._onSelectionEvent,{capture:!0,passive:!0}),t.call(e,"mouseenter",r._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseleave",r._onEvent,{capture:!0,passive:!0}),t.call(e,"mousedown",r._onEvent,{capture:!0,passive:!0}),t.call(e,"mouseup",r._onEvent,{capture:!0,passive:!0}),i.MouseTracking.track(e),c.NavigationTracking.track(e),r._observing.add(e);var n=(e.ownerDocument||e).defaultView;n&&!r._windows.has(n)&&(r._windows.add(n),a.default.tap(n),c.NavigationTracking.tap(n),r._propertyWatcher.observe(n.HTMLInputElement,"value"),r._propertyWatcher.observe(n.HTMLInputElement,"checked"),r._propertyWatcher.observe(n.HTMLTextAreaElement,"value"),r._propertyWatcher.observe(n.ShadowRoot,"adoptedStyleSheets"),r._propertyWatcher.observe(n.Document,"adoptedStyleSheets"),n.addEventListener&&(n.addEventListener("hashchange",r._onEvent,{capture:!0,passive:!0}),n.addEventListener("resize",r._onEvent,{capture:!0,passive:!0})))}})),y(this,"disconnect",(function(){var e=Object.getOwnPropertyDescriptor(u.EventTarget.prototype,"removeEventListener").value;r._observing.forEach((function(t){e.call(t,"scroll",r._onEvent,{capture:!0,passive:!0}),e.call(t,"focus",r._onFocusChange,{capture:!0,passive:!0}),e.call(t,"blur",r._onFocusChange,{capture:!0,passive:!0}),e.call(t,"change",r._onInputEvent,{capture:!0,passive:!0}),e.call(t,"keydown",r._onInputEvent,{capture:!0,passive:!0}),e.call(t,"keyup",r._onInputEvent,{capture:!0,passive:!0}),e.call(t,"keypress",r._onInputEvent,{capture:!0,passive:!0}),e.call(t,"selectionchange",r._onSelectionEvent,{capture:!0,passive:!0}),e.call(t,"select",r._onSelectionEvent,{capture:!0,passive:!0}),e.call(t,"mouseenter",r._onEvent,{capture:!0,passive:!0}),e.call(t,"mouseleave",r._onEvent,{capture:!0,passive:!0}),e.call(t,"mousedown",r._onEvent,{capture:!0,passive:!0}),e.call(t,"mouseup",r._onEvent,{capture:!0,passive:!0}),i.MouseTracking.untrack(t),c.NavigationTracking.untrack(t)})),r._observing.clear(),r._windows.forEach((function(e){a.default.untap(e),c.NavigationTracking.untap(e),e&&!(0,o.isxdoc)(e)&&e.removeEventListener&&(e.removeEventListener("hashchange",r._onEvent,{capture:!0,passive:!0}),e.removeEventListener("resize",r._onEvent,{capture:!0,passive:!0}))})),r._windows.clear(),r._propertyWatcher&&(r._propertyWatcher.disconnect(),r._propertyWatcher=null,a.default.off("stylechange",r._onStyleSheetChange),a.default.off("navigate",r._onNavigation),a.default.off("canvaschange",r._onCanvasChange))})),y(this,"_getActualTarget",(function(e){return Object.getOwnPropertyDescriptor(u.Event.prototype,"target").get.apply(e)})),y(this,"_target",(function(e){var t=r._getActualTarget(e);return t&&t.document||t})),y(this,"_onEvent",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r._onModification(r._target(e),p(p({},t),{},{type:e.type}))})),y(this,"_onSelectionEvent",(function(e){var t,n,o=r._getActualTarget(e),i=null!==(t=o.ownerDocument)&&void 0!==t?t:o;i.__last_agent_selection_ts>Date.now()-100||("selectionchange"===e.type&&(["INPUT","TEXTAREA"].includes(null===(n=i.activeElement)||void 0===n?void 0:n.tagName)?(i.activeElement.__cobrowse_user_selection_timestamp=Date.now(),r._onModification(i.activeElement,{type:e.type})):(o.__cobrowse_user_selection_timestamp=Date.now(),r._onModification(o,{type:e.type}))),"select"===e.type&&(o.__cobrowse_user_selection_timestamp=Date.now(),r._onModification(o,{type:e.type})))})),y(this,"_onStyleSheetChange",(function(e){e.ownerNode&&r._onModification(e.ownerNode,{type:"stylesheet"});var t,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(r._observing);try{for(n.s();!(t=n.n()).done;){var o,i=t.value;null!==(o=i.adoptedStyleSheets)&&void 0!==o&&o.includes(e)&&r._onModification(i,{type:"adoptedstylesheet"})}}catch(e){n.e(e)}finally{n.f()}})),y(this,"_onNavigation",(function(e){r._onModification(e.document,{type:"navigation"})})),y(this,"_onCanvasChange",(function(e){r._onModification(e,{type:"canvas"})})),y(this,"_onFocusChange",(function(e){var t=r._getActualTarget(e);null!=t&&(r._onModification(t,{type:e.type}),t.ownerDocument&&r._onModification(t.ownerDocument,{type:e.type}))})),y(this,"_onInputEvent",(function(e){var t=r._getActualTarget(e);"SELECT"===t.tagName||"TEXTAREA"===t.tagName?r._onModification(r._target(e),{recursive:!0,type:e.type}):"INPUT"===t.tagName&&("radio"===t.type?(t.closest("form")||t.ownerDocument).querySelectorAll("input[type=radio][name=".concat(t.name,"]")).forEach((function(t){return r._onModification(t,{type:e.type})})):r._onModification(r._target(e),{recursive:!0,type:e.type}))})),y(this,"_onPropertySet",(function(e){r._onModification(e,{type:"property"})})),this._onModification=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return setTimeout((function(){return t.apply(void 0,r)}),0)},this._observing=new Set,this._windows=new Set}))},25596:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(83851),r(81278),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(2008),r(62062),r(89572),r(2892),r(79432),r(26099),r(16034),r(23500);var n,o=(n=r(32017))&&n.__esModule?n:{default:n},i=r(89501);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(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 c(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 s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function l(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}t.default=l((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,"_difference",(function(e,t){return t?Object.keys(e).map((function(r){return!(0,o.default)(e[r],t[r])&&f({},r,e[r])})).filter((function(e){return e})).reduce((function(e,t){return c(c({},e),t)}),{}):c({},e)})),f(this,"compress",(function(){return Object.values(r.modified).map((function(e){var t=r.state.node(e.id),n=r._difference(e,r._flatten(t||{})),o=c({id:e.id},n);return 1!==Object.keys(o).length&&o})).filter((function(e){return e}))})),f(this,"mark",(function(){return r.state.applyPatch(Object.values(r.modified)),r.modified={},r})),f(this,"_flatten",(function(e){return e.childNodes?c(c({},e),{},{childNodes:e.childNodes.map((function(e){return{id:e.id}}))}):e})),f(this,"push",(function(e){return e&&e.modified?(e.modified.filter((function(e){return e})).forEach((function(e){(0,i.depthFirst)(e,(function(e){r.modified[e.id]=c(c({},r.modified[e.id]),r._flatten(e))}))})),r):(console.error("invalid patch",e),r)})),f(this,"reset",(function(e){return r.state=new i.VirtualDOM(r._id),r.modified={},e&&r.push({_t:"reset",modified:[e]}),r})),this._id=t,this.reset()}))},23221:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23418),r(34782),r(62010),r(83851),r(81278),r(40875),r(79432),r(60825),r(27495),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(2008),r(23792),r(62062),r(89572),r(2892),r(26099),r(31415),r(47764),r(23500),r(62953);var n=r(37007),o=r(89501),i=r(16566),a=r(66938),u=d(r(48374)),c=r(79883),s=d(r(77966)),l=d(r(51227)),f=r(38091),p=d(r(44153));function d(e){return e&&e.__esModule?e:{default:e}}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function y(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function m(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 b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function _(e,t,r){return(t=S(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e){var t=function(e){if("object"!=h(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==h(t)?t:t+""}var O=(0,l.default)("cbio.PatchStream");t.default=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_(r=function(e,t,r){return t=w(t),function(e,t){if(t&&("object"==h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,g()?Reflect.construct(t,r||[],w(e).constructor):t.apply(e,r))}(this,t),"start",(function(){O("starting patch stream for",r._root),r._documents=new Set,r._iframeBridge.on("patch",r._onXDocIframeUpdate),r._observe(r._root),p.default.on("attachshadow",r._onAttachShadow)})),_(r,"forceUpdate",(function(){O("forcing entire state update from",r._root),r.emit("patch",{_t:"pre-force",flush:!0,modified:[b(b({},a.NodeSerializer.serialize(r._root)),{},{scroll:void 0,childNodes:[b(b({},a.NodeSerializer.serialize(r._root.documentElement)),{},{childNodes:[a.NodeTree.depthFirst(r._root.head,a.NodeSerializer.serialize)]})]})]});var e={rasterizeCanvas:!0};r.emit("patch",{_t:"forced",modified:[a.NodeTree.depthFirst(r._root,(function(t,r){return a.NodeSerializer.serialize(t,r,e)}))]})})),_(r,"partialSync",(function(e){var t=a.NodeTracker.getById(e);t&&r.emit("patch",{_t:"partialsync",modified:[a.NodeSerializer.serialize(t)]})})),_(r,"stop",(function(){O("stopping patch stream for",r._root),r._eventObserver.disconnect(),r._mutationObserver.disconnect(),r._iframeBridge.removeListener("patch",r._onXDocIframeUpdate),r._documents&&r._documents.clear(),r._documents=null,p.default.off("attachshadow",r._onAttachShadow)})),_(r,"destroy",(function(){O("destroying patch stream for",r._root),r.stop(),r.removeAllListeners(),a.NodeTree.depthFirst(r._root,r._untrack),r._mutationObserver=null,r._eventObserver=null,r._iframeBridge=null,r._root=null})),_(r,"_track",(function(e){a.NodeUtils.isDOMNode(e)&&(a.NodeTracker.track(e),e.nodeType===window.Node.DOCUMENT_NODE&&r._observe(e),e.nodeType===window.Node.DOCUMENT_FRAGMENT_NODE&&r._observe(e),"IFRAME"===e.tagName&&(r._iframeBridge.track(e),e.removeEventListener("load",r._onIframeLoad,{capture:!0}),e.addEventListener("load",r._onIframeLoad,{capture:!0})))})),_(r,"_untrack",(function(e){a.NodeTracker.forget(e),a.NodeUtils.isDOMNode(e)&&"IFRAME"===e.tagName&&(e.removeEventListener("load",r._onIframeLoad,{capture:!0}),r._iframeBridge.remove(e))})),_(r,"_observe",(function(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(!r._documents.has(e)){O("starting observation of",e),r._documents.add(e),O("doing initial node tracking on observe for",e),a.NodeTree.depthFirst(e,r._track),r._eventObserver.observe(e);try{r._mutationObserver.observe(e,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}catch(t){console.error("CobrowseIO failed to start mutation observer for",e)}}})),_(r,"_onAttachShadow",(function(e){var t,n=e.host;a.NodeTracker.get(n)&&(null!==(t=i.RedactionIndexProvider.instance)&&void 0!==t&&t.isRedacted(n)||(r._observe(e),a.NodeTree.isIgnored(n)||r.emit("patch",{_t:"attachshadow",modified:[a.NodeSerializer.serialize(n),a.NodeTree.depthFirst(e,a.NodeSerializer.serialize)]})))})),_(r,"_onXDocIframeUpdate",(function(e,t){var n,o=t.iframe;O("xdoc iframe updated",o,e),o&&(null!==(n=i.RedactionIndexProvider.instance)&&void 0!==n&&n.isRedacted(o)||a.NodeTree.isIgnored(o)||(o.__document_id=e.document_id,r.emit("patch",{_t:"xdociframeupdate",modified:[a.NodeSerializer.serialize(o)].concat(y(e.patch))})))})),_(r,"_onIframeLoad",(function(e){var t,n=e.target;O("iframe loaded",n),null!==(t=i.RedactionIndexProvider.instance)&&void 0!==t&&t.isRedacted(n)||((0,o.isxdoc)(n)||r._observe(n.contentWindow.document),r._iframeBridge.track(n),a.NodeTree.isIgnored(n)||r.emit("patch",{_t:"iframeupdate",modified:[a.NodeTree.depthFirst(n,a.NodeSerializer.serialize)]}))})),_(r,"_onEventMutation",(function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r._mutationObserver&&r._onDOMChange(r._mutationObserver.takeRecords()),"TEXTAREA"===e.tagName&&a.NodeTree.depthFirst(e,r._track),a.NodeTracker.get(e)&&!(null!==(t=i.RedactionIndexProvider.instance)&&void 0!==t&&t.isRedacted(e)||a.NodeTree.isIgnored(e))){var o={rasterizeCanvas:"canvas"===n.type},u=n.recursive?a.NodeTree.depthFirst(e,(function(e,t){return a.NodeSerializer.serialize(e,t,o)})):a.NodeSerializer.serialize(e,void 0,o);r.emit("patch",{_t:"eventmutation:".concat(n.type),modified:[u]})}})),_(r,"_getModifications",(function(e){var t=new Set,n=new Set,o=new Set;return e.forEach((function(e){("characterData"===e.type||n.has(e.target)||a.NodeTracker.get(e.target))&&(0,f.discoverNodes)(e,n,o,t)})),t.forEach((function(e){return r._untrack(e)})),n.forEach((function(e){return r._track(e)})),{added:o,modified:n,removed:t}})),_(r,"_onDOMChange",(function(e){var t,n,o=r._getModifications(e),u=o.added,c=o.modified,s=o.removed,l=null!==(t=null===(n=i.RedactionIndexProvider.instance)||void 0===n?void 0:n.notifyChanges(e,u,c,s))&&void 0!==t?t:[],f=new Set([].concat(y(c),y(l)));O("DOM changed",f);var p=y(f).map((function(e){return a.NodeSerializer.serialize(e)})).filter(Boolean);O("DOM changes serialized",p),r.emit("patch",{_t:"domchange",modified:p})})),r._root=e,r._mutationObserver=new c.MutationObserver(r._onDOMChange),r._eventObserver=new u.default(r._onEventMutation),r._iframeBridge=s.default,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}(t,e),r=t,Object.defineProperty(r,"prototype",{writable:!1}),r;var r}(n.EventEmitter)},72847:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PatchCompressor",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"PatchStream",{enumerable:!0,get:function(){return n.default}});var n=i(r(23221)),o=i(r(25596));function i(e){return e&&e.__esModule?e:{default:e}}},53071:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var n=u(r(7350)),o=r(72847),i=r(66938),a=r(45264);function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function l(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}var d=(0,u(r(51227)).default)("cbio.DOMFrameSource");t.default=l((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,"_throttleCompressAndEmitFrame",(0,n.default)((function(){return r._compressAndEmitFrame()}),110)),f(this,"_compressAndEmitFrame",(function(){if(r._compression&&document&&i.NodeTracker.get(document)){var e=r._compression.compress();e.length&&r._onUpdate({document_id:i.NodeTracker.get(document),patch:e})&&r._compression.mark()}})),f(this,"capturingWillStart",(function(){if(d("capturingWillStart for DOMFrameSource in",document),r._sendInterval)throw new Error("DOMFrameSource already running");r._compression||(r._compression=new o.PatchCompressor(i.NodeTracker.track(document))),r._patchStream||(r._patchStream=new o.PatchStream(document)),a.WindowTracking.on("activate",r.reset),r._patchStream.on("patch",(function(e){r._compression.push(e),e.flush?r._compressAndEmitFrame():r._throttleCompressAndEmitFrame()})),r._sendInterval=setInterval((function(){return r._compressAndEmitFrame()}),500),r._patchStream.start()})),f(this,"capturingWillStop",(function(){d("capturingWillStop for DOMFrameSource in",document),a.WindowTracking.removeListener("activate",r.reset),r._sendInterval&&(clearInterval(r._sendInterval),r._sendInterval=null),r._patchStream&&(r._patchStream.destroy(),r._patchStream=null),r._compression&&(r._compression.reset(),r._compression=null)})),f(this,"setCodecs",(function(e){})),f(this,"reset",(function(){d("resetting DOMFrameSource in",document),r._compression.reset(),r._patchStream.forceUpdate()})),f(this,"destroy",(function(){d("destroying DOMFrameSource in",document),r.capturingWillStop(),r._onUpdate=null})),f(this,"partialSync",(function(e){r._patchStream.partialSync(e)})),d("DOMFrameSource constructed in",document),this._onUpdate=t}))},42668:function(e,t,r){"use strict";var n;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),u=new C(n||[]);return a(i,"_invoke",{value:j(e,r,u)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&n.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==o(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(o(t)+" is not iterable")}return w.prototype=E,a(x,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function a(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function u(e){a(i,n,o,u,c,"next",e)}function c(e){a(i,n,o,u,c,"throw",e)}u(void 0)}))}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(26099),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var p=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.FrameLoop");t.default=s((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"isRunning",(function(){return t._running})),l(this,"setSource",function(){var e=u(i().mark((function e(r){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.constructor!==(t.source&&t.source.constructor)){e.next=3;break}return p("frame source type not changed"),e.abrupt("return");case 3:if(!t.isRunning()){e.next=17;break}return t.source&&t.source.capturingWillStop(),t.source=r,e.prev=6,e.next=9,t.source.capturingWillStart();case 9:t.invalidateFrame(),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(6),console.error(e.t0);case 15:e.next=18;break;case 17:t.source=r;case 18:case"end":return e.stop()}}),e,null,[[6,12]])})));return function(t){return e.apply(this,arguments)}}()),l(this,"getSource",(function(){return t.source})),l(this,"start",u(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:p("starting frame loop in",document),t.isRunning()||(t._running=!0,t.source.capturingWillStart());case 2:case"end":return e.stop()}}),e)})))),l(this,"stop",(function(){t.isRunning()&&(t.source.capturingWillStop(),t._running=!1)})),l(this,"invalidateFrame",(function(){if(!t.isRunning())throw new Error("FrameLoop was destroyed");p("invalidate frame in",document),t.source&&t.source.reset()})),l(this,"destroy",(function(){p("destroying frame loop in",document),t.stop(),t.source&&(t.source.destroy(),t.source=null)})),p("FrameLoop constructed in",document),this._running=!1}))},16999:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(26099),r(47764),r(73772),r(23500),r(62953);var o,i=r(62343);function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function u(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 l(e,t){return e.get(p(e,t))}function f(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")}var d=(0,((o=r(51227))&&o.__esModule?o:{default:o}).default)("cbio.H264Encoder"),h=new WeakMap,y=new WeakMap,v=new WeakMap,m=new WeakMap,b=t.default=function(){return function(e,t,r){return r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r){var n=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,h,void 0),s(this,y,void 0),s(this,v,void 0),s(this,m,[]),u(this,"reset",(function(){d("resetting H264Encoder"),l(m,n).forEach((function(t){l(h,n).handleFrame(t,e.MIME_TYPE,1/0)}))})),u(this,"destroy",(function(){d("destroy H264Encoder"),l(v,n)&&(l(v,n).stop(),f(v,n,null)),f(m,n,null)})),d("H264Encoder constructed"),f(h,this,r),f(y,this,t),f(v,this,(0,i.createMediaRecorderDemuxer)(t)),!l(v,this))throw new Error("Failed to create MediaRecorderDemuxer");return l(v,this).on("media-packet",(function(t){var r,o=t.data;null!==l(v,n)&&(0===o[0]&&0===o[1]&&0===o[2]&&1===o[3]?r=o[4]:0===o[0]&&0===o[1]&&1===o[2]&&(r=o[3]),7==(31&r)&&f(m,n,[]),l(m,n).push(o),l(h,n).handleFrame(o,e.MIME_TYPE,1/0))})),l(v,this).start()}),0,[{key:"isSupported",value:function(){return i.MediaRecorderDemuxer.isSupported("video/webm;codecs=h264")}}])}();u(b,"MIME_TYPE","video/avc")},77601:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var o;function i(){i=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),u=new C(n||[]);return a(i,"_invoke",{value:j(e,r,u)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,a(x,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function a(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 p(e,t){return e.get(h(e,t))}function d(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")}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(40875),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(54743),r(26099),r(47764),r(21489),r(81630),r(72170),r(75044),r(69539),r(31694),r(89955),r(33206),r(44496),r(66651),r(12887),r(19369),r(66812),r(8995),r(31575),r(36072),r(88747),r(28845),r(29423),r(57301),r(373),r(86614),r(41405),r(33684),r(73772),r(62953);var y=(0,((o=r(51227))&&o.__esModule?o:{default:o}).default)("cbio.JPEGEncoder"),v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=t.default=c((function e(t,r){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,v,void 0),f(this,m,void 0),f(this,b,void 0),f(this,g,void 0),f(this,w,(function(){if(p(b,n)){var t=p(b,n).scale();p(m,n).width=p(v,n).videoWidth*t,p(m,n).height=p(v,n).videoHeight*t,p(m,n).getContext("2d").drawImage(p(v,n),0,0,p(m,n).width,p(m,n).height),p(m,n).toBlob(function(){var t,r=(t=i().mark((function t(r){var o;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(p(b,n)){t.next=2;break}return t.abrupt("return");case 2:return t.t0=Uint8Array,t.next=5,new Response(r).arrayBuffer();case 5:t.t1=t.sent,o=new t.t0(t.t1),p(b,n).handleFrame(o,e.MIME_TYPE,1);case 8:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function u(e){a(i,n,o,u,c,"next",e)}function c(e){a(i,n,o,u,c,"throw",e)}u(void 0)}))});return function(e){return r.apply(this,arguments)}}(),e.MIME_TYPE,.5)}})),s(this,"reset",(function(){})),s(this,"destroy",(function(){y("destroy JPEGEncoder"),p(g,n)&&(clearInterval(p(g,n)),d(g,n,null)),d(b,n,null),d(v,n,null),d(m,n,null)})),y("JPEGEncoder constructed"),d(b,this,r),d(v,this,document.createElement("video")),d(m,this,document.createElement("canvas")),p(v,this).srcObject=t,p(v,this).play(),d(g,this,setInterval(p(w,this),100))}));s(E,"MIME_TYPE","image/jpeg")},94911:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(23418),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(40875),r(27495),r(38781),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(74423),r(23792),r(26099),r(21699),r(47764),r(73772),r(62953);var o=a(r(16999)),i=a(r(77601));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(){c=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function s(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){s(i,n,o,a,u,"next",e)}function u(e){s(i,n,o,a,u,"throw",e)}a(void 0)}))}}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e,t,r){return(t=h(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function y(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,r){t||(t=[]);var n=t.length++;return Object.defineProperty({},"_",{set:function(o){t[n]=o,e.apply(r,t)}})}function m(e,t){return e.get(g(e,t))}function b(e,t,r){return e.set(g(e,t),r),r}function g(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 w=(0,a(r(51227)).default)("cbio.MediaStreamFrameSource"),E=new WeakMap,_=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,T=new WeakMap,P=new WeakMap;t.default=p((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,E,void 0),y(this,_,void 0),y(this,S,void 0),y(this,O,null),y(this,x,[]),y(this,T,(function(){return m(x,r).length&&!m(x,r).includes(o.default.MIME_TYPE)||!o.default.isSupported()?i.default:o.default})),y(this,P,function(){var e=l(c().mark((function e(t){var n,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=m(T,r).call(r),m(O,r)instanceof n||(w("Changing encoder to",n),null===(o=m(O,r))||void 0===o||o.destroy(),b(O,r,new n(t,m(S,r)))),e.abrupt("return",m(O,r));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),d(this,"setCodecs",(function(e){b(x,r,e||[]),m(_,r)&&m(P,r).call(r,m(_,r))})),d(this,"capturingWillStart",l(c().mark((function e(){var t,n,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w("capturingWillStart for MediaStreamFrameSource"),e.next=3,m(S,r).requestPermission();case 3:if(t=e.sent){e.next=6;break}return e.abrupt("return");case 6:if(e.prev=6,!(t instanceof MediaStream)){e.next=11;break}b(_,r,t),e.next=18;break;case 11:return e.t0=b,e.t1=_,e.t2=r,e.next=16,navigator.mediaDevices.getDisplayMedia({video:{cursor:"always",width:{ideal:1400},height:{ideal:1e3},frameRate:{max:10}},audio:!1});case 16:e.t3=e.sent,(0,e.t0)(e.t1,e.t2,e.t3);case 18:if(n=m(_,r).getVideoTracks(),a=1,o=function(e){if(Array.isArray(e))return e}(i=n)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(i,a)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),v(b,[E,r])._=o[0],m(E,r)){e.next=23;break}throw new Error("failed to get display media track");case 23:m(E,r).onended=function(){w("track ended"),b(E,r,null),m(S,r).captureEnded(),r.destroy()},m(P,r).call(r,m(_,r)),m(S,r).captureStarted(m(_,r)),e.next=31;break;case 28:e.prev=28,e.t4=e.catch(6),m(S,r).captureEnded(e.t4);case 31:case"end":return e.stop()}var i,a}),e,null,[[6,28]])})))),d(this,"capturingWillStop",(function(){var e;w("capturingWillStop for MediaStreamFrameSource"),null===(e=m(O,r))||void 0===e||e.destroy(),b(O,r,null),b(_,r,null),m(E,r)&&(m(E,r).stop(),b(E,r,null),m(S,r).captureEnded())})),d(this,"reset",(function(){var e;w("resetting MediaStreamFrameSource"),null===(e=m(O,r))||void 0===e||e.reset()})),d(this,"destroy",(function(){var e;w("destroying MediaStreamFrameSource"),r.capturingWillStop(),b(S,r,null),null===(e=m(O,r))||void 0===e||e.destroy(),b(O,r,null)})),w("MediaStreamFrameSource constructed"),b(S,this,t)}))},8647:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DOMFrameSource",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"FrameLoop",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"MediaStreamFrameSource",{enumerable:!0,get:function(){return i.default}});var n=a(r(42668)),o=a(r(53071)),i=a(r(94911));function a(e){return e&&e.__esModule?e:{default:e}}},1149:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(40875),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.IFrameContext=void 0,r(74423),r(23792),r(26099),r(21699),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o=r(49715),i=r(11065),a=r(91834),u=m(r(6900)),c=r(16566),s=r(8647),l=m(r(37609)),f=r(44661),p=m(r(11191)),d=r(89689),h=m(r(64033)),y=m(r(44153)),v=r(49931);function m(e){return e&&e.__esModule?e:{default:e}}function b(){b=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var d="suspendedStart",h="suspendedYield",y="executing",v="completed",m={};function g(){}function w(){}function E(){}var _={};l(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=p(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?v:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=l(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),l(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),l(x,s,"Generator"),l(x,u,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function g(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_(n.key),n)}}function E(e,t,r){return(t=_(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 O(e,t){return e.get(T(e,t))}function x(e,t,r){return e.set(T(e,t),r),r}function T(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,j=new WeakMap,k=new WeakMap,L=new WeakMap,I=new WeakMap,C=new WeakMap,A=new WeakMap,N=new WeakMap,M=new WeakMap,R=new WeakMap,D=new WeakMap,U=new WeakMap,F=new WeakMap,W=new WeakMap,z=new WeakMap,B=new WeakMap,V=new WeakMap;t.IFrameContext=function(){return e=function e(t,r,n){var m=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),S(this,P,void 0),S(this,j,void 0),S(this,k,void 0),S(this,L,void 0),S(this,I,void 0),S(this,C,void 0),S(this,A,void 0),S(this,N,(function(e){var t;return!(null===(t=O(P,m))||void 0===t||!t.isActive()||!O(P,m)[l.default].proxyToken())})),S(this,M,(function(e,t,r){var n=r.type,o=r.go,i=r.e,a=r.block,u=(i.view||window)!==window,c=!t||"_self"===t,s={block:function(){return a(),u||O(C,m).sendBlocked(e),!1},parent:function(r){return O(j,m).open(e,t,{type:r||n}),!1},continue:function(){return O(A,m).navigate(e,t,{type:n})},replay:function(){return o()},confirm:function(){return O(j,m).confirmOpen(e,n)},setLoading:function(){return!u&&c&&O(C,m).sendLoading(e)}};return(p.default.inUniversalProxy?O(D,m):O(R,m))(e,t,n,s)})),S(this,R,(function(e,t,r,n){return[f.NAVIGATION_TYPE.PDF,f.NAVIGATION_TYPE.UNIVERSAL].includes(r)&&O(N,m).call(m,r)?(n.confirm().then((function(e){return e.accepted?"_blank"===t?n.parent():void n.continue():n.replay()})),!1):n.continue()})),S(this,D,(function(e,t,r,n){var o=new URL(p.default.unproxify(window.location.href)).origin,i=o!==new URL(e,o).origin;return r?i?O(N,m).call(m,r)?(n.confirm().then((function(e){return e.accepted?"_blank"===t?n.parent():r===f.NAVIGATION_TYPE.PDF?n.continue():(n.setLoading(),void n.replay()):n.block()})),!1):n.continue():"_blank"===t?n.parent():r===f.NAVIGATION_TYPE.PDF?n.continue():(n.setLoading(),e):"_blank"===t?n.parent(f.NAVIGATION_TYPE.UNIVERSAL):n.block()})),S(this,U,(function(e){O(V,m).call(m,e),e.isActive()&&!O(L,m)&&O(W,m).call(m)})),S(this,F,(function(){O(z,m).call(m),O(I,m)&&O(I,m).closeAllDocuments()})),S(this,W,(function(){var e;null!==(e=O(L,m))&&void 0!==e&&e.isRunning()||(x(L,m,new s.FrameLoop),O(L,m).setSource(new s.DOMFrameSource((function(e){return O(k,m).call(m,"patch",e),!0}))),O(L,m).start(),O(L,m).invalidateFrame())})),S(this,z,(function(){O(L,m)&&O(L,m).destroy(),x(L,m,null)})),S(this,B,(function(e,t){O(V,m).call(m,O(P,m)),(c.TargetedRedaction.hasChange(O(j,m).redactedViews,t)||c.TargetedRedaction.hasChange(O(j,m).unredactedViews,t)||c.TargetedRedaction.hasChange(O(P,m).redactionSelectors(),t)||c.TargetedRedaction.hasChange(O(P,m).unredactionSelectors(),t))&&setTimeout((function(){m.invalidateFrame()}),0)})),E(this,"invalidateFrame",(function(){var e;null!==(e=O(L,m))&&void 0!==e&&e.isRunning()&&O(L,m).invalidateFrame()})),E(this,"partialSync",function(){var e,t=(e=b().mark((function e(t){var r,n;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(r=O(L,m))&&void 0!==r&&r.isRunning()){e.next=2;break}return e.abrupt("return");case 2:if((n=O(L,m).getSource())instanceof s.DOMFrameSource){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,(0,v.applyContentCache)(t);case 7:n.partialSync(t);case 8:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){g(i,n,o,a,u,"next",e)}function u(e){g(i,n,o,a,u,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()),S(this,V,(function(e){c.RedactionIndexProvider.instance=new c.RedactionIndex(c.TargetedRedaction.filterSelectors(O(j,m).redactedViews),c.TargetedRedaction.filterSelectors(O(j,m).unredactedViews),c.TargetedRedaction.filterSelectors(e.redactionSelectors()),c.TargetedRedaction.filterSelectors(e.unredactionSelectors()))})),E(this,"destroy",(function(){O(P,m)&&(O(P,m).removeListener("update",O(U,m)),O(P,m).removeListener("ended",O(F,m))),x(P,m,null),O(A,m)&&O(A,m).destroy(),x(A,m,null),y.default.off("navigate",O(B,m)),O(C,m)&&O(C,m).destroy(),x(C,m,null)})),x(P,this,t),x(j,this,r),x(k,this,n),O(U,this).call(this,t),t.on("updated",O(U,this)),t.on("ended",O(F,this));var w=new i.PDFHandler(t,r),_=new a.UniversalHandler(t,r),T=new u.default(t,r);x(I,this,new d.DocumentCollection((function(e){return O(k,m).call(m,"document",e)}))),x(C,this,new h.default((function(e){return O(k,m).call(m,"document",e)}))),x(A,this,new o.Navigation({shouldNavigate:O(N,this),handlers:[w,_,T],handleNavigation:O(M,this),onDocumentCreated:function(e){O(j,m).showDocument(e),O(I,m).addDocument(e)}})),y.default.on("navigate",O(B,this))},(t=[{key:"navigate",value:function(e,t,r){var n=r.type,o=O(A,this).navigate(e,t,{type:n});if("string"==typeof o)return window.open(o,t)}}])&&w(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},20342:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23418),r(23792),r(34782),r(62010),r(26099),r(27495),r(38781),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e){e.on("sync",(function(t,r){if(!r.trusted)return u("Ignoring untrusted sync event");o.MouseTracking.onChange=function(t){return e.sendToParent("mouse",t)},o.MouseTracking.track(window)})),e.on("mouse",(function(e,t){var r=t.iframe;u("Received mouse event in",e,document,"from",r),r&&(o.MouseTracking.setPosition(e.x,e.y,r),o.MouseTracking.setDown(e.down))})),e.on("control",(function(t,r){var n,o=r.trusted,c=r.trustedOnly;if(u("Received control event in",document),!o)return u("Ignoring untrusted control event");i.ControlEvents.applyEvent.apply(i.ControlEvents,function(e){if(Array.isArray(e))return a(e)}(n=t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),e.broadcastToChildren("control",t,{trustedOnly:c})}))};var n,o=r(45264),i=r(83672);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var u=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.iframes.control")},73350:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e,t){function r(t){var r=t[o.default].serializeSanitized();if(e.broadcastToChildren("session",r,{trustedOnly:!1}),t.id()){var n=t[o.default].serialize();e.broadcastToChildren("session",n,{trustedOnly:!0})}}function n(r,n){var i=n.iframe,a=n.trusted;if(i){var u=t.currentSession;if(u){var c=a?u[o.default].serialize():u[o.default].serializeSanitized();e.send(i.contentWindow,"session",c,{trustedOnly:a})}}}function i(e,n){var i=n.trusted,u=n.fromParent;if(!i)return a("Ignoring untrusted session event");u&&(t.currentSession[o.default].deserialize(e),r(t.currentSession))}return e.on("trust",n),e.on("session",i),{publish:r,unsubscribe:function(){e.off("trust",n),e.off("session",i)}}};var n=i(r(51227)),o=i(r(37609));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("cbio.iframes.sessions")},78232:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(23418),r(23792),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(81278),r(40875),r(79432),r(27495),r(38781),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e,t){var r,n,o,i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).waitForParentSync,c=!i||new a.Deferred;function l(e){return{redactedViews:[].concat(d((null==e?void 0:e.redactedViews)||[]),d(t.redactedViews||[])),unredactedViews:[].concat(d((null==e?void 0:e.unredactedViews)||[]),d(t.unredactedViews||[])),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 p(e){var t=l(e);return f(f({},t),{},{redactedViews:t.redactedViews.filter((function(e){return"string"!=typeof e})),unredactedViews:t.unredactedViews.filter((function(e){return"string"!=typeof e}))})}function h(e,t){return v.apply(this,arguments)}function v(){return(v=s(u().mark((function t(n,o){var i;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=o.iframe){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,c.promise;case 5:e.send(i.contentWindow,"sync",p(r),{trustedOnly:!1});case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function m(e){y("iframe available",e,"issuing sync"),e&&h(null,{iframe:e})}function b(t,n){if(n.source,n.origin,!n.trusted)return y("Ignoring untrusted sync event");r=t,c.resolve(),e.broadcastToChildren("sync",p(t),{trustedOnly:!1})}return e.on("init",h),e.on("iframe_discovered",m),e.on("sync",b),{getSyncedConfig:(o=s(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.promise;case 2:return e.abrupt("return",l(r));case 3:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)}),unsubscribe:function(){r=null,c=!i||new a.Deferred,e.off("init",h),e.off("iframe_discovered",m),e.off("sync",b)},sendSync:(n=s(u().mark((function t(){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.promise;case 2:e.broadcastToChildren("sync",p(r),{trustedOnly:!1});case 3:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})}},r(28706),r(2008),r(26099);var o,i=(o=r(51227))&&o.__esModule?o:{default:o},a=r(63976);function u(){u=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function c(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){c(i,n,o,a,u,"next",e)}function u(e){c(i,n,o,a,u,"throw",e)}a(void 0)}))}}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 f(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){p(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 p(e,t,r){return(t=function(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(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){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var y=(0,i.default)("cbio.iframes.sync")},38109:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.configure=function(e){e.on("sync",(function(t,r){if(!r.trusted)return o("Ignoring untrusted sync event");e.sendToParent("trust",null,{trustedOnly:!1}),"complete"!==document.readyState&&window.addEventListener("load",(function(){e.sendToParent("trust",null,{trustedOnly:!1})}),{once:!0,capture:!0})}));var t=function(t){var r=t.target;e.breakTrust(r.contentWindow)};e.on("trust",(function(r,n){var o=n.iframe,i=n.origin;o&&(o.removeEventListener("load",t,{capture:!0}),o.addEventListener("load",t,{capture:!0}),e.establishTrust(o.contentWindow,i))}))};var o=(0,((n=r(51227))&&n.__esModule?n:{default:n}).default)("cbio.iframes.trust")},77966:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(2008),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(81278),r(40875),r(79432),r(73772),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.initIframeBridgeAsChild=function(e){return T.apply(this,arguments)},t.initIframeBridgeAsParent=function(e){var t=s.configure(S,e);e.on("session.loaded",t.publish),e.on("session.updated",t.publish);var r=x(e.api);e.on("session.loaded",r),e.on("session.updated",r);var n=l.configure(S,e);e.on("session.sync",n.sendSync);var o=function(){var t=w(b().mark((function t(r){var n,o;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.url,o=r.type,t.next=3,e.confirmOpen(n,o);case 3:return t.t0=t.sent,t.abrupt("return",{accepted:t.t0});case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();O.on("confirmOpen",o);var i=function(t){var r=t.url,n=t.target,o=t.options;e.open(r,n,o)};return O.on("open",i),S.start(),function(){t.unsubscribe(),n.unsubscribe(),e.off("session.loaded",t.publish),e.off("session.updated",t.publish),e.off("session.loaded",r),e.off("session.updated",r),e.off("session.sync",n.sendSync),O.off("confirmOpen",o),O.off("open",i)}},r(23792),r(26099),r(47764),r(62953),r(3296),r(27208),r(48408);var o=r(67829),i=r(1149),a=h(r(52404)),u=d(r(38109)),c=d(r(20342)),s=d(r(73350)),l=d(r(78232)),f=h(r(37609));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}function h(e){return e&&e.__esModule?e:{default:e}}function y(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?y(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(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"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(){b=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var d="suspendedStart",h="suspendedYield",y="executing",v="completed",m={};function g(){}function w(){}function E(){}var _={};l(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=p(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?v:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=l(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),l(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),l(x,s,"Generator"),l(x,u,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function g(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function w(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){g(i,n,o,a,u,"next",e)}function u(e){g(i,n,o,a,u,"throw",e)}a(void 0)}))}}var E=(0,h(r(51227)).default)("cbio.iframes"),_=(0,o.closestXdocParent)(),S=new o.IFrameBridge(_),O=new o.IFrameRPC(S,_);u.configure(S),c.configure(S);var x=function(e){return function(t){var r=t[f.default].proxyUrl(),n=new URL(r,e);E("trusting",n.origin),S.automaticTrustedOrigins=[n.origin]}};function T(){return(T=w(b().mark((function e(t){var r,n,o,u,c,f,p,d,h,y;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new a.default(t),n=s.configure(S,{currentSession:r}),o=l.configure(S,t,{waitForParentSync:!0}),S.start(),e.next=6,o.getSyncedConfig();case 6:return u=e.sent,E("synced config",u),f=function(){r.isActive()&&!c&&(E("creating iframe context",c),x(u.api)(r),c=new i.IFrameContext(r,v(v({},u),{},{trustedOrigins:t.trustedOrigins,version:t.version,showDocument:t.showDocument,open:function(e,t,r){return O.send("open",{url:e,target:t,options:r})},confirmOpen:function(e,t){return O.send("confirmOpen",{url:e,type:t})}}),S.sendToParent),r.once("ended",(function(){E("destroying iframe context",c),c.destroy(),c=null})))},S.on("session",f),p=function(e,t){var r=t.trustedOnly;return S.sendToParent("rpc:request",e,{trustedOnly:r})},S.on("rpc:request",p),d=function(e,t){var r=t.trustedOnly;return S.broadcastToChildren("rpc:response",e,{trustedOnly:r})},S.on("rpc:response",d),h=function(){var e;return null===(e=c)||void 0===e?void 0:e.invalidateFrame()},S.on("sync",h),y=function(e,t){var r,n=t.trustedOnly,o=e.target;"load-error"===e.error.cause&&(null===(r=c)||void 0===r||r.partialSync(o)),S.broadcastToChildren("remote-error",e,{trustedOnly:n})},S.on("remote-error",y),e.abrupt("return",(function(){o.unsubscribe(),n.unsubscribe(),S.off("remote-error",y),S.off("sync",h),S.off("session",f),S.off("rpc:request",p),S.off("rpc:response",d)}));case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.default=S},77988:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(45700),r(23418),r(34782),r(89572),r(62010),r(2892),r(38781),r(47764),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(74423),r(23792),r(26099),r(27495),r(21699),r(25440),r(62953);var u=r(56277),c=u.keys().reduce((function(e,t){return e[t.replace("./","").replace(".json","")]=u(t),e}),{}),s=["ar","he","fa","ur"];t.default=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.language=t,this.direction=s.includes(t)?"rtl":"ltr"}return t=e,n=[{key:"getLocale",value:function(){var t,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}(navigator.languages);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(c[n])return new e(n);if(n.includes("-")){var i=n.split("-")[0].toLowerCase();if(c[i])return new e(i)}}}catch(e){r.e(e)}finally{r.f()}return new e("en")}},{key:"tr",value:function(e){return this.getLocale().translate(e)}},{key:"direction",value:function(){return this.getLocale().direction}}],(r=[{key:"translate",value:function(e){return c[this.language][e]||c.en[e]||e}}])&&i(t.prototype,r),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}()},44661:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NAVIGATION_TYPE=void 0,r(50113),r(23792),r(26099),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o,i=(o=r(26356))&&o.__esModule?o:{default:o};function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function u(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 l(e,t){return e.get(p(e,t))}function f(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")}t.NAVIGATION_TYPE={PDF:"pdf",XDOC:"xdoc",UNIVERSAL:"universal"};var d=new WeakMap,h=new WeakMap,y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap;t.default=function(){return function(e,t){return t&&a(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,d,void 0),s(this,h,void 0),s(this,y,void 0),s(this,v,void 0),u(this,"findHandlerByUrl",(function(e){if(!e)return null;try{var t=new URL(e,window.location.origin);return l(h,r).find((function(e){return e.shouldHandle(t)}))}catch(e){return console.warn("CobrowseIO: Failed to infer navigation type",e),null}})),u(this,"findHandlerByType",(function(e){return l(h,r).find((function(t){return t.type===e}))})),s(this,m,(function(e,t,n,o){var i=r.findHandlerByUrl(e);if(i&&!i.shouldHandleEvent(o))return console.warn("CobrowseIO: Inferred navigation type but event is already handled"),e;var a=o.view||window;return(l(y,r)||r.navigate)(e,t,{type:null==i?void 0:i.type,go:n,e:o,block:function(e){return l(b,r).call(r,a,e)}})})),s(this,b,(function(e){var t=e.document,r=t.createElement("div");r.style.position="fixed",r.style.top=0,r.style.left=0,r.style.width="100vw",r.style.height="100vh",r.style.backgroundColor="black",r.style.zIndex="2147483647",r.style.margin=0,r.style.padding=0,r.style.border=0,r.style.borderRadius=0;var n=t.body.style.overflow;t.body.style.overflow="hidden",t.body.appendChild(r);var o=function(){t.body.contains(r)&&t.body.removeChild(r),t.body.style.overflow=n,e.removeEventListener("popstate",o)};e.addEventListener("popstate",o),e.history.pushState({},"")})),u(this,"destroy",(function(){i.default.beforeNavigate=null})),f(d,this,t.shouldNavigate),f(h,this,t.handlers),f(y,this,t.handleNavigation),f(v,this,t.onDocumentCreated),i.default.beforeNavigate=l(m,this)}),[{key:"navigate",value:function(e,t,r){var n=r.type;if(!e)return e;var o=null!=n?this.findHandlerByType(n):this.findHandlerByUrl(e);return o&&l(d,this).call(this,o.type)?o.handle(e,t,l(v,this)):e}}])}()},79301:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892),t.default=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"type",get:function(){throw new Error("Getter 'type' must be implemented.")}},{key:"shouldHandleEvent",value:function(e){throw new Error("Method 'shouldHandleEvent()' must be implemented.")}},{key:"shouldHandle",value:function(e){throw new Error("Method 'shouldHandle()' must be implemented.")}},{key:"handle",value:function(e,t,r){throw new Error("Method 'handle()' must be implemented.")}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},26356:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(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 i(e,t,r){return(t=l(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(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))}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&d(o,r.prototype),o}(e,arguments,h(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,e)},f(e)}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(36033),r(2892),r(60825),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(23792),r(40875),r(26099),r(31415),r(47764),r(73772),r(62953);var y=function(e){function t(e,r){var o,i,a,c;return u(this,t),(i=this,a=t,c=[e,r],a=h(a),o=function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(i,p()?Reflect.construct(a,c||[],h(i).constructor):a.apply(i,c)))._view=r.view,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(t,e),s(t,[{key:"view",get:function(){return this._view}}])}(f(Event)),v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=s((function e(){var t=this;u(this,e),i(this,"beforeNavigate",void 0),o(this,v,new Set),i(this,"track",(function(e){e.addEventListener("click",a(m,t),{capture:!0}),e.addEventListener("click",a(m,t)),e.addEventListener("submit",a(b,t))})),i(this,"untrack",(function(e){e.removeEventListener("click",a(m,t),{capture:!0}),e.removeEventListener("click",a(m,t)),e.removeEventListener("submit",a(b,t))})),i(this,"tap",(function(e){if(!a(v,t).has(e)){var r=t,n=e.open;e.open=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return(e=a(g,r)).call.apply(e,[r,this,n].concat(o))};var o=e.HTMLFormElement.prototype.submit;e.HTMLFormElement.prototype.submit=function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=a(w,r)).call.apply(e,[r,this,o].concat(n))},a(v,t).add(e)}})),i(this,"untap",(function(e){})),o(this,m,(function(e){var r;if(t.beforeNavigate){var n=null==e||null===(r=e.target)||void 0===r?void 0:r.closest("a");if(n&&n.href&&!n.__cbio_forceDefaultNavigation){var o=t.beforeNavigate(n.href,n.target,(function(){n.__cbio_forceDefaultNavigation=!0,n.click(),delete n.__cbio_forceDefaultNavigation}),e);"string"==typeof o?n.href=o:!1===o&&e.preventDefault()}}})),o(this,b,(function(e){var r;if(t.beforeNavigate){var n=null==e||null===(r=e.target)||void 0===r?void 0:r.closest("form");if(n&&n.action&&!n.__cbio_forceDefaultNavigation){var o=t.beforeNavigate(n.action,n.target,(function(){n.__cbio_forceDefaultNavigation=!0,n.submit(),delete n.__cbio_forceDefaultNavigation}),e);"string"==typeof o?n.action=o:!1===o&&e.preventDefault()}}})),o(this,g,(function(e,r,n,o){for(var i=arguments.length,a=new Array(i>4?i-4:0),u=4;u<i;u++)a[u-4]=arguments[u];if(!t.beforeNavigate)return r.call.apply(r,[e,n,o].concat(a));var c=new y("WindowOpen",{view:e}),s=t.beforeNavigate(n,o,(function(){return r.call.apply(r,[e,n,o].concat(a))}),c);return"string"==typeof s?r.call.apply(r,[e,s,o].concat(a)):!1===s?null:r.call.apply(r,[e,n,o].concat(a))})),o(this,w,(function(e,r){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];if(!t.beforeNavigate)return r.call.apply(r,[e].concat(o));var a=e.parentElement,u=new y("FormSubmit",{view:e.ownerDocument.defaultView}),c=t.beforeNavigate(e.action,e.target,(function(){var t=document.contains(a)&&!document.contains(e);t&&a.appendChild(e);var n=r.call.apply(r,[e].concat(o));return t&&e.remove(),n}),u);if("string"==typeof c)e.action=c;else if(!1===c)return null;return r.call.apply(r,[e].concat(o))}))}));t.default=new E},49715:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(23792),r(83851),r(26099),r(47764),r(73772),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NAVIGATION_TYPE",{enumerable:!0,get:function(){return o.NAVIGATION_TYPE}}),Object.defineProperty(t,"Navigation",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NavigationHandler",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"NavigationTracking",{enumerable:!0,get:function(){return i.default}});var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(44661)),i=u(r(26356)),a=u(r(79301));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}},49931:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.getCacheContent=t.applyContentCache=void 0,r(26099);var o=u(r(34822)),i=r(37387),a=u(r(31762));function u(e){return e&&e.__esModule?e:{default:e}}function c(){c=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function s(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){s(i,n,o,a,u,"next",e)}function u(e){s(i,n,o,a,u,"throw",e)}a(void 0)}))}}var f=function(e){return new Promise((function(t,r){var n=new Image;n.crossOrigin="anonymous",n.src=e,n.onload=function(){try{var e=a.default.fromImage(n);t(e)}catch(e){r(e)}},n.onerror=r}))},p=function(e){return new Promise((function(t,r){var n=document.createElement("link");n.crossOrigin="anonymous",n.rel="stylesheet",n.href=e,n.setAttribute("class","__cbio_ignored"),n.onload=function(){try{var e=(0,i.getCssText)(n.sheet);t(e)}catch(e){r(e)}finally{n.remove()}},n.onerror=function(e){n.remove(),r(e)},document.head.appendChild(n)}))},d=function(e){return"IMG"===e.tagName?e.src:"LINK"===e.tagName?e.href:null},h=function(e,t){var r=d(e);e.__cbio_content_cache=e.__cbio_content_cache||{},e.__cbio_content_cache[r]=t},y=function(){var e=l(c().mark((function e(t){var r,n,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!m(t)){e.next=2;break}return e.abrupt("return");case 2:return r=d(t),n=function(){var e=l(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",a.default.fromImage(t));case 4:e.prev=4,e.t0=e.catch(0);case 6:return e.prev=6,e.next=9,f(r);case 9:return e.abrupt("return",e.sent);case 12:e.prev=12,e.t1=e.catch(6);case 14:case"end":return e.stop()}}),e,null,[[0,4],[6,12]])})));return function(){return e.apply(this,arguments)}}(),e.next=6,n();case 6:(o=e.sent)&&h(t,o);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=l(c().mark((function e(t){var r,n,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!m(t)){e.next=2;break}return e.abrupt("return");case 2:return r=d(t),n=function(){var e=l(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!t.sheet){e.next=3;break}return e.abrupt("return",(0,i.getCssText)(t.sheet));case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:return e.prev=7,e.next=10,p(r);case 10:return e.abrupt("return",e.sent);case 13:e.prev=13,e.t1=e.catch(7);case 15:case"end":return e.stop()}}),e,null,[[0,5],[7,13]])})));return function(){return e.apply(this,arguments)}}(),e.next=6,n();case 6:(o=e.sent)&&h(t,o);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=t.getCacheContent=function(e){var t,r=d(e);return null===(t=e.__cbio_content_cache)||void 0===t?void 0:t[r]};t.applyContentCache=function(){var e=l(c().mark((function e(t){var r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.default.getById(t)){e.next=3;break}return e.abrupt("return");case 3:if("IMG"!==r.tagName){e.next=5;break}return e.abrupt("return",y(r));case 5:if("LINK"!==r.tagName||"stylesheet"!==r.rel){e.next=7;break}return e.abrupt("return",v(r));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},48708:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(2008),r(23792),r(83851),r(81278),r(79432),r(38781),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(50113),r(23418),r(74423),r(62062),r(34782),r(89572),r(62010),r(2892),r(26099),r(27495),r(47764),r(23500);var n=r(89501),o=r(16566),i=p(r(34822)),a=p(r(18571)),u=p(r(32588)),c=p(r(31762)),s=r(97384),l=r(37387),f=r(49931);function p(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(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 y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){w(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,E(n.key),n)}}function g(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function w(e,t,r){return(t=E(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){var t=function(e){if("object"!=d(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:t+""}var _=g((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),w(this,"isLocalResource",(function(e){return!!(/^https?:\/\/localhost/.test(e)||/^https?:\/\/127.0.0.1/.test(e)||/^file:\/\//.test(e)||/^blob:/.test(e)||/^ionic:/.test(e))})),w(this,"_serializeAttributes",(function(e,t){if(e.nodeType===window.Node.ELEMENT_NODE&&e.attributes){var r={};Array.from(e.attributes||[]).forEach((function(t){"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}})),w(this,"_serializeSelection",(function(e,t){var r,n=null,a=e.getSelection();if(a&&"Range"===a.type&&!a.isCollapsed&&a.rangeCount>0)try{n=v(Array(a.rangeCount)).reduce((function(e,t,r){var n,u,c=a.getRangeAt(r),s=c.startOffset,l=c.endOffset,f=null===(n=o.RedactionIndexProvider.instance)||void 0===n?void 0:n.getRedactedBy(c.startContainer),p=null===(u=o.RedactionIndexProvider.instance)||void 0===u?void 0:u.getRedactedBy(c.endContainer),d=i.default.get(null!=f?f:c.startContainer),h=i.default.get(null!=p?p:c.endContainer);return e.push({start:d,end:h,startOffset:f?0:s,endOffset:p?0:l}),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})),w(this,"_serializeDocument",(function(e,r){if(e.nodeType===window.Node.DOCUMENT_NODE){var n,o,a,u;r.url=e.location&&e.location.href;var c=(0,s.getScrollBarSize)(),l=0===c?null===(n=e.defaultView)||void 0===n?void 0:n.innerWidth:null===(o=e.documentElement)||void 0===o?void 0:o.clientWidth,f=0===c?null===(a=e.defaultView)||void 0===a?void 0:a.innerHeight:null===(u=e.documentElement)||void 0===u?void 0:u.clientHeight;r.size={width:l,height:f},r.focus=i.default.get(e.activeElement),r.doctype=null!=e.doctype?{name:(p=e.doctype).name,publicId:p.publicId,systemId:p.systemId}:null,t._serializeSelection(e,r)}var p})),w(this,"_serializeInput",(function(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{var r=e.selectionStart,n=e.selectionEnd,o=e.selectionDirection;r!==n&&e===e.ownerDocument.activeElement&&(t.selection={start:r,end:n,direction:o})}catch(t){console.warn("Failed to serialise text selection for the input",e)}}})),w(this,"_serializeSelect",(function(e,t){"SELECT"===e.tagName&&(t.preventDefault=!0)})),w(this,"_serializeOption",(function(e,t){"OPTION"===e.tagName&&(t.selected=e.selected)})),w(this,"_serializeShadowRoot",(function(e,t){try{if(e.nodeType===window.Node.DOCUMENT_FRAGMENT_NODE){var r=[];v(e.adoptedStyleSheets||[]).forEach((function(e){r=r.concat([].slice.call(e.cssRules))})),t.css=(0,l.getCssText)({cssRules:r})}}catch(t){console.warn("CobrowseIO: ShadowRoot serialize failed:",t.message,"for",e)}})),w(this,"_serializeStyle",(function(e,t){var r;if("STYLE"===(null===(r=e.tagName)||void 0===r?void 0:r.toUpperCase()))try{e.sheet&&(t.css=(0,l.getCssText)(e.sheet))}catch(t){console.warn("CobrowseIO: CSS serialize failed:",t.message,"for",e)}})),w(this,"_serializeLinkStyleSheet",(function(e,r){if("LINK"===e.tagName&&"stylesheet"===e.rel){var n=(0,f.getCacheContent)(e);if(n)return void(r.css=n);if(t.isLocalResource(e.href))try{e.sheet&&(r.css=(0,l.getCssText)(e.sheet))}catch(t){console.warn("CobrowseIO: CSS serialize failed:",t.message,"for",e)}}})),w(this,"_serializeCanvas",(function(e,t,r){if("CANVAS"===e.tagName&&!r.isRedacted&&r.rasterizeCanvas)try{var n,o=parseFloat(null===(n=e.attributes)||void 0===n||null===(n=n["data-cbio-quality"])||void 0===n?void 0:n.value)||.8;t.data=c.default.fromCanvas(e,o)}catch(t){e._cb_serialize_warned||(console.warn("Cobrowse failed to serialize canvas",e,"due to error",t),e._cb_serialize_warned=!0)}})),w(this,"_serializeImage",(function(e,r,n){if("IMG"===e.tagName&&!n.isRedacted){var o=(0,f.getCacheContent)(e);if(o)return void(r.attributes.src=o);if(t.isLocalResource(e.src))try{r.attributes.src=c.default.fromImage(e)}catch(t){console.warn("CobrowseIO: Failed to serialize image",e)}}})),w(this,"_serializeScroll",(function(e,t){var r,o;(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===(o=e.defaultView)||void 0===o?void 0:o.pageYOffset)||0}:(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)&&(t.scroll={x:e.scrollLeft||0,y:e.scrollTop||0}))})),w(this,"_serializeRedaction",(function(e,r,n){if(n.isRedacted){delete r.value;var o=t._getSize(e);if(1===e.nodeType){var i=window.getComputedStyle(e),a="inline"===i.display&&o.height>0?"inline-block":i.display;r.attributes=r.attributes&&y({id:r.attributes.id,class:r.attributes.class,style:"".concat(r.attributes.style||"","; display: ").concat(a," !important;flex-basis: unset !important;flex-shrink: 0;")},"EMBED"===e.nodeName?{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}:{})}else 3===e.nodeType&&(r.nodeType=1,r.tagName="SPAN",r.attributes={style:o.height>0?"display: inline-block !important":void 0});r.redaction={height:"".concat(o.height,"px"),width:"".concat(o.width,"px")}}else r.redaction=void 0})),w(this,"_serializePseudoSelectors",(function(e,t){var r,n,o;"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===(o=t.attributes)||void 0===o||delete o.__cbio_pseudo_focus,t.attributes=y(y(y(y({},t.attributes),e.matches(":hover")?{__cbio_pseudo_hover:""}:{}),e.matches(":active")?{__cbio_pseudo_active:""}:{}),e.matches(":focus")?{__cbio_pseudo_focus:""}:{}))})),w(this,"_getSize",(function(e){var t=null==e?void 0:e.nodeType;if(null==t)return{height:0,width:0};if(t===Node.ELEMENT_NODE)return e.getBoundingClientRect();var r=document.createRange();return r.selectNodeContents(e),r.getBoundingClientRect()})),w(this,"_serialize",(function(e,r){if(!i.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);var n={id:i.default.get(e),nodeType:e.nodeType};return t._serializeShadowRoot(e,n),t._serializeAttributes(e,n),t._serializeImage(e,n,r),t._serializeDocument(e,n),t._serializeScroll(e,n),t._serializeInput(e,n),t._serializeSelect(e,n),t._serializeOption(e,n),t._serializeStyle(e,n),t._serializeLinkStyleSheet(e,n),t._serializeCanvas(e,n,r),t._serializeRedaction(e,n,r),t._serializePseudoSelectors(e,n),e.tagName&&(n.tagName=e.tagName),e.nodeValue&&(n.content=e.nodeValue),n})),w(this,"serialize",(function(e){var r,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=null===(r=o.RedactionIndexProvider.instance)||void 0===r?void 0:r.getRedactedBy(e);if(l&&l!==e||[e].concat(v((0,n.parents)(e))).find((function(e){return u.default.isIgnored(e)})))return null;var f=t._serialize(e,y({isRedacted:Boolean(l)},s));if(l)return c([]),y(y({},f),{},{childNodes:[]});var p=u.default.children(e);if(p){var d=p.map((function(e){if(!a.default.isDOMNode(e))return y({},e);var t=i.default.get(e);return t||console.warn("child node missing id",e),{id:t}}));return y(y({},f),{},{childNodes:d})}return f}))}));t.default=new _},34822:function(e,t,r){"use strict";r(52675),r(89463),r(2259),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(23792),r(89572),r(36033),r(2892),r(26099),r(47764),r(62953);var n=i(r(78981)),o=i(r(18571));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var f=c((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"_idMap",new Map),s(this,"_nodeMap",new Map),s(this,"_currentId",0),s(this,"_nextId",(function(){return t._currentId+=1,t._currentId})),s(this,"track",(function(e){if(!e)return null;if(!o.default.isDOMNode(e))return e.id;if(!t.get(e)){var r=e.nodeType===window.Node.DOCUMENT_NODE?(0,n.default)(5):"".concat(t.track(document),"-").concat(t._nextId());t._idMap.set(r,e),t._nodeMap.set(e,r)}return t._nodeMap.get(e)})),s(this,"get",(function(e){return e?o.default.isDOMNode(e)?t._nodeMap.get(e)||null:e.id:null})),s(this,"getById",(function(e){return e&&t._idMap.get(e)||null})),s(this,"forget",(function(e){t._idMap.delete(t.get(e)),t._nodeMap.delete(e)}))}));t.default=new f},32588:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(34782),r(89572),r(62010),r(2892),r(27495),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(2008),r(23418),r(74423),r(23792),r(83851),r(26099),r(21699),r(47764),r(73772),r(62953);var o=r(89501),i=u(r(18571)),a=r(79883);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function p(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")}var h=(0,u(r(51227)).default)("cbio.NodeTree"),y=new WeakMap,v=function(){return e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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)}(this,y,".__cbio_ignored"),l(this,"isIgnored",(function(e){var r;if(e&&e.matches&&e.matches(p(y,t)))return h("ignoring",e,"because child of classes"),!0;if([window.Node.COMMENT_NODE,window.Node.CDATA_SECTION_NODE,window.Node.ENTITY_REFERENCE_NODE,window.Node.ENTITY_NODE,window.Node.PROCESSING_INSTRUCTION_NODE,window.Node.NOTATION_NODE,window.Node.DOCUMENT_TYPE_NODE].includes(e.nodeType))return h("ignoring",e,"because of nodeType"),!0;if("SCRIPT"===e.tagName)return h("ignoring",e,"because of SCRIPT"),!0;var n=e.parentNode||e.defaultView&&e.defaultView.frameElement;return!(!n||"STYLE"!==(null===(r=n.tagName)||void 0===r?void 0:r.toUpperCase())||(h("ignoring",e,"because child of STYLE"),0))})),l(this,"children",(function(e){var r=Object.getOwnPropertyDescriptor(a.Node.prototype,"childNodes").get,n=Object.getOwnPropertyDescriptor(a.Element.prototype,"shadowRoot").get;return i.default.isDOMNode(e)?"IFRAME"===e.tagName&&(0,o.isxdoc)(e)?e.__document_id?[{id:e.__document_id,nodeType:9}]:[]:"IFRAME"!==e.tagName||(0,o.isxdoc)(e)?e.nodeType===window.Node.ELEMENT_NODE&&n.apply(e)?[n.apply(e)].concat(function(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Array.from(r.apply(e)))).filter((function(e){return!t.isIgnored(e)})):Array.from(r.apply(e)).filter((function(e){return!t.isIgnored(e)})):"complete"!==e.contentWindow.document.readyState?[]:[e.contentWindow.document].filter((function(e){return!t.isIgnored(e)})):e.childNodes})),l(this,"depthFirst",(function(e,r){return(0,o.depthFirst)(e,(function(e,n){return n(t.children(e)),r(e,n)}))}))},(t=[{key:"setIgnoredViews",value:function(e){if(Array.isArray(e))return t=y,r=".__cbio_ignored,".concat(e),t.set(d(t,this),r),void h("set ignored view selectors",p(y,this));var t,r;h("not updating #ignoredViews due to arg to being an array",e)}}])&&s(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();t.default=new v},18571:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var u=i((function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=function(e){return!!e&&!(!e.childNodes||"function"!=typeof e.appendChild||void 0===e.nodeType)},(r=a(r="isDOMNode"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}));t.default=new u},66938:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NodeSerializer",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"NodeTracker",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"NodeTree",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"NodeUtils",{enumerable:!0,get:function(){return o.default}});var n=u(r(34822)),o=u(r(18571)),i=u(r(32588)),a=u(r(48708));function u(e){return e&&e.__esModule?e:{default:e}}},51099:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(62062),r(26099),r(27495),r(47764),r(5746),r(73772),r(62953),r(3296),r(27208),r(48408);var o,i=r(50048),a=r(89689),u=r(49715),c=r(44661),s=(o=r(97005))&&o.__esModule?o:{default:o};function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function f(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function y(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(b(e,t))}function m(e,t,r){return e.set(b(e,t),r),r}function b(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 g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap;t.default=function(e){function t(e,r){var o,u;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),y(u=function(e,t,r){return t=d(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,p()?Reflect.construct(t,r||[],d(e).constructor):t.apply(e,r))}(this,t),g,void 0),y(u,w,void 0),y(u,E,(function(e){return new URL(e,window.location.href).pathname.split("/").pop()})),y(u,_,(function(e,t){var r=document.createElement("div");r.style.width="100%",r.style.height="100%";var n=new a.Document(e,t,r,u.type);return v(w,u).openPdfViewer(e,r,(function(){var t=v(E,u).call(u,e);n.icon="",n.title=t,n.isLoading=!1})),n})),m(g,u,(null===(o=r.pdfLinks)||void 0===o?void 0:o.map(i.convertLinkToRegExp))||[]),m(w,u,new s.default(e,r.api)),u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(t,e),function(e,t){return t&&l(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"type",get:function(){return c.NAVIGATION_TYPE.PDF}},{key:"shouldHandleEvent",value:function(e){return e.eventPhase!==Event.CAPTURING_PHASE&&!e.defaultPrevented}},{key:"shouldHandle",value:function(e){var t=new URL(e,window.location.origin);return t.search="",v(g,this).some((function(e){return e.test(t)}))}},{key:"handle",value:function(e,t,r){return r(v(_,this).call(this,e,t)),!1}}])}(u.NavigationHandler)},97005:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GLOBAL_OPEN_PDF_KEY=void 0,r(23792),r(26099),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o,i=(o=r(37609))&&o.__esModule?o:{default:o},a=r(9147);function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 f(e,t){return e.get(d(e,t))}function p(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 h=t.GLOBAL_OPEN_PDF_KEY="__cobrowse_io_openPdf",y=new WeakMap,v=new WeakMap,m=new WeakMap;t.default=c((function e(t,n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,y,void 0),l(this,v,void 0),l(this,m,(function(e){var t=e[i.default].proxyToken(),r=e[i.default].proxyUrl(),n=new URL(r,f(v,o));return new a.URLRewriter(n,a.PROXY_PREFIX.UNIVERSAL,t,window.location)})),function(e,t,r){(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(this,"openPdfViewer",(function(e,t,n){var i=window[h],a=function(r){var i=r(e,{container:t,onLoadError:function(t){var r=f(m,o).call(o,f(y,o)).proxify(e);t!==r?(console.warn("CobrowseIO: Failed to fetch PDF document, attempting to proxy it"),i(r)):n()},onLoadSuccess:n,preventClose:!0}).setPdfUrl};"function"!=typeof i?r.e(246).then(r.t.bind(r,70825,23)).then((function(e){a(e.open)})):a(i)})),p(y,this,t),p(v,this,n)}))},11065:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(23792),r(83851),r(26099),r(47764),r(73772),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 a.default}}),Object.defineProperty(t,"PDFViewer",{enumerable:!0,get:function(){return i.default}});var o,i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var c=i?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(97005)),a=(o=r(51099))&&o.__esModule?o:{default:o};function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}},168:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(2008),r(89572),r(2892),r(83851),r(81278),r(79432),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.URLRewriter=void 0,r(28706),r(74423),r(23792),r(26099),r(27495),r(38781),r(21699),r(47764),r(25440),r(5746),r(11392),r(73772),r(62953),r(3296),r(27208),r(48408);var o=r(79444),i=r(76925);function a(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?a(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),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 f(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function d(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,y=new WeakMap,v=new WeakMap;t.URLRewriter=s((function e(t,r,n,a,c,s){var p=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,"ALLOWED_PROTOCOLS",["http:","https:"]),l(this,h,(function(e){return e.startsWith("#")})),l(this,y,(function(e){return e.hostname===p.proxyApiUrl.hostname})),l(this,v,(function(e){return"".concat(e.pathname).concat(e.search).concat(e.hash).replace(/^.*?\/proxy\/1\/[^/]+/i,"")})),f(this,"proxify",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return e;if(d(h,p).call(p,e.toString()))return e;var r=u(u(u({},p.queryParams),p.getOrigin?{origin:p.getOrigin()}:{}),t);try{var n=new URL(e,p.baseUrl);if(!p.ALLOWED_PROTOCOLS.includes(n.protocol))return e;var o=d(y,p).call(p,n)?p.unproxify(n.toString()):n.toString(),a=(0,i.proxifyUrl)(o,r);return new URL(".".concat(a),p.proxyApiUrl).toString()}catch(t){return e}})),f(this,"unproxify",(function(e){if(!e)return e;if(d(h,p).call(p,e.toString()))return e;try{var t=new URL(e,p.baseUrl);if(!p.ALLOWED_PROTOCOLS.includes(t.protocol))return e;if(!d(y,p).call(p,t))return e;var r=d(v,p).call(p,t);return(0,o.unproxifyPath)(r).toString()}catch(t){return e}})),this.proxyApiUrl=new URL(r,t),this.queryParams=c?u({},c):{},n&&(this.queryParams.access_token=n),this.baseUrl=a,this.getOrigin=s}))},9147:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PROXY_PREFIX",{enumerable:!0,get:function(){return o.PROXY_PREFIX}}),Object.defineProperty(t,"URLRewriter",{enumerable:!0,get:function(){return n.URLRewriter}});var n=r(168),o=r(42859)},76925:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r(52675),r(89463),r(2259),r(23418),r(34782),r(62010),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.reverseHost=t.proxifyUrl=void 0,r(28706),r(23792),r(48598),r(62062),r(5506),r(26099),r(27495),r(47764),r(25440),r(5746),r(62953),r(3296),r(27208),r(48408);var o=t.reverseHost=function(e){return e.split(".").reverse().map(encodeURIComponent).join("/")};t.proxifyUrl=function(e,t){var r,i,a=new URL(e),u=a.hostname,c=a.protocol,s=a.pathname,l=a.search,f=a.port,p=a.username,d=a.password,h=a.hash,y=o(u),v="".concat(y,"/").concat(c).concat(s).concat(h),m=new URL(v,"http://placeholder.base");l&&m.searchParams.set("search",l.replace("?","")),f&&m.searchParams.set("port",f),p&&m.searchParams.set("username",p),d&&m.searchParams.set("password",d);for(var b=0,g=Object.entries(t||{});b<g.length;b++){var w=(r=g[b],i=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(r,i)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(r,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),E=w[0],_=w[1];m.searchParams.set(E,_)}return"".concat(m.pathname).concat(m.search).concat(m.hash)}},42859:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PROXY_PREFIX=void 0,t.PROXY_PREFIX={UNIVERSAL:"./proxy/1/universal/"}},79444:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unproxifyPath=void 0,r(28706),r(48980),r(23792),r(48598),r(62062),r(34782),r(26099),r(47764),r(62953),r(3296),r(27208),r(48408),t.unproxifyPath=function(e){var t=new URL(e,"http://placeholder.base"),r=t.pathname,n=t.hash,o=t.searchParams,i=r.split("/"),a=i.findIndex((function(e){return"http:"===e||"https:"===e})),u=i[a],c=i.slice(1,a).reverse().map(decodeURIComponent),s=i.slice(a+1,i.length),l=o.get("search"),f=o.get("port"),p=o.get("username"),d=o.get("password"),h=c.join("."),y=s.join("/"),v=l?"?".concat(l):"",m=f?":".concat(f):"",b=p&&d?"".concat(p,":").concat(d,"@"):"";return new URL("".concat(u,"//").concat(b).concat(h).concat(m,"/").concat(y).concat(v).concat(n))}},2615:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(23418),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(40875),r(27495),r(38781),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.RedactionIndex=void 0,r(28706),r(2008),r(50113),r(78350),r(23792),r(48598),r(30237),r(83851),r(26099),r(31415),r(47764),r(73772),r(30958),r(62953);var o,i=(o=r(32588))&&o.__esModule?o:{default:o},a=r(89501),u=r(79883),c=r(66938);function s(){s=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}var l=s().mark(C);function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=d(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function p(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}function v(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function m(e,t,r){b(e,t),t.set(e,r)}function b(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function g(e,t){return e.get(E(e,t))}function w(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 _=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,T=new WeakMap,P=new WeakSet;function j(e){var t=this,r=p(e);return r.find((function(e){return!i.default.isIgnored(e)&&E(P,t,D).call(t,e)}))||r.find((function(e){return E(P,t,z).call(t,e).length>0}))}function k(e,t,r){E(P,this,L).call(this,e,t,r),E(P,this,I).call(this,t,r)}function L(e,t,r){var n,o=f(E(P,this,C).call(this,r));try{for(o.s();!(n=o.n()).done;){var i=n.value;g(x,this).delete(i)}}catch(e){o.e(e)}finally{o.f()}var a,u=f(E(P,this,C).call(this,e));try{for(u.s();!(a=u.n()).done;){var c=a.value;g(x,this).add(c)}}catch(e){u.e(e)}finally{u.f()}var s,l=f(t);try{for(l.s();!(s=l.n()).done;){var p=s.value;e.has(p)||(E(P,this,D).call(this,p)?g(x,this).add(p):g(x,this).delete(p))}}catch(e){l.e(e)}finally{l.f()}}function I(e,t){var r,n=f(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;g(T,this).delete(o)}}catch(e){n.e(e)}finally{n.f()}var i,a=f(e);try{for(a.s();!(i=a.n()).done;){var u=i.value;E(P,this,N).call(this,u)}}catch(e){a.e(e)}finally{a.f()}}function C(e){var t,r,n;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:t=f(e),o.prev=1,t.s();case 3:if((r=t.n()).done){o.next=10;break}if(n=r.value,!E(P,this,D).call(this,n)){o.next=8;break}return o.next=8,n;case 8:o.next=3;break;case 10:o.next=15;break;case 12:o.prev=12,o.t0=o.catch(1),t.e(o.t0);case 15:return o.prev=15,t.f(),o.finish(15);case 18:case"end":return o.stop()}}),l,this,[[1,12,15,18]])}function A(e){var t=this,r=p(g(O,this));return E(P,this,V).call(this,e,r)?e:p((0,a.parents)(e)).find((function(e){return E(P,t,V).call(t,e,r)}))}function N(e){var t=g(T,this).has(e);t&&this.getRedactedBy(e)!==e?g(T,this).delete(e):t||this.getRedactedBy(e)!==e||g(T,this).add(e)}function M(e){var t=new Set(p(e).flatMap((function(e){return[e].concat(p((0,a.parents)(e)))})));return p(t).flatMap((function(e){return p(e.childNodes||[])}))}function R(e){return E(P,this,V).call(this,e,g(_,this))}function D(e){return E(P,this,V).call(this,e,g(S,this))}function U(e){var t=this,r=E(P,this,F).call(this,e);return r?(0,a.parents)(e,r).find((function(e){return E(P,t,W).call(t,e.parentNode)}))||r:null}function F(e){if(!c.NodeUtils.isDOMNode(e))return null;var t=Object.getOwnPropertyDescriptor(u.Node.prototype,"parentNode").get,r=E(P,this,Y).call(this,g(_,this),g(S,this)),n=e&&e.nodeType===u.Node.ELEMENT_NODE&&t.call(e),o=n&&n.nodeType===u.Node.ELEMENT_NODE&&r&&n.closest(r);return E(P,this,V).call(this,o,g(_,this))?o:null}function W(e){return g(S,this)&&e&&"HTML"!==e.tagName&&e.querySelector&&e.querySelector(g(S,this))}function z(e){return E(P,this,B).call(this,e,g(S,this))}function B(e,t){return t&&e.querySelectorAll?e.querySelectorAll(t):[]}function V(e,t){return e&&t&&e.matches&&e.matches(t)}function Y(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(",")}t.RedactionIndex=function(){return function(e,t){return t&&y(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){var t,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],u=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:{}).document,c=void 0===u?window.document:u;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t){b(e,t),t.add(e)}(this,P),m(this,_,void 0),m(this,S,void 0),m(this,O,["OBJECT","EMBED"]),m(this,x,new Set),m(this,T,new Set),w(_,this,(t=E(P,this,Y)).call.apply(t,[this].concat(p(g(O,this)),p(n),p(i)))),w(S,this,(r=E(P,this,Y)).call.apply(r,[this].concat(p(o),p(a))));var s,l=f(E(P,this,B).call(this,c,g(_,this)));try{for(l.s();!(s=l.n()).done;){var d=s.value;g(T,this).add(d)}}catch(e){l.e(e)}finally{l.f()}var h,y=f(E(P,this,B).call(this,c,g(S,this)));try{for(y.s();!(h=y.n()).done;){var v=h.value;g(x,this).add(v)}}catch(e){y.e(e)}finally{y.f()}}),[{key:"getRedactedBy",value:function(e){var t=E(P,this,A).call(this,e);if(t)return t;if(E(P,this,D).call(this,e)||E(P,this,W).call(this,e))return null;var r=E(P,this,U).call(this,e);return r?E(P,this,W).call(this,e.parentNode)?e:r:E(P,this,R).call(this,e)?e:null}},{key:"notifyChanges",value:function(e,t,r,n){var o,a=new Set,u=new Set,c=new Set(p(g(T,this))),s=f(e);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(!i.default.isIgnored(l.target)&&!n.has(l.target)){var d=this.getRedactedBy(l.target);if(d&&d!==l.target&&a.add(d),"attributes"===l.type){var h,y=f(E(P,this,z).call(this,l.target));try{for(y.s();!(h=y.n()).done;){var v=h.value;u.add(v)}}catch(e){y.e(e)}finally{y.f()}var m=E(P,this,D).call(this,l.target);g(x,this).has(l.target)!==!!m&&u.add(l.target.parentNode)}else if("childList"===l.type){var b=E(P,this,j).call(this,l.removedNodes),w=E(P,this,j).call(this,l.addedNodes);if(!u.has(l.target)){var _=E(P,this,z).call(this,l.target).length>0;(_&&w||!_&&b)&&u.add(l.target)}}}}}catch(e){s.e(e)}finally{s.f()}var S,O=f(E(P,this,M).call(this,u));try{for(O.s();!(S=O.n()).done;){var L=S.value;i.default.isIgnored(L)||a.add(L)}}catch(e){O.e(e)}finally{O.f()}E(P,this,k).call(this,t,new Set([].concat(p(a),p(r))),n);var I,C=f(r);try{for(C.s();!(I=C.n()).done;){var A,N=I.value,R=f(g(T,this));try{for(R.s();!(A=R.n()).done;){var U=A.value;N.contains(U)&&a.add(U)}}catch(e){R.e(e)}finally{R.f()}}}catch(e){C.e(e)}finally{C.f()}var F,W=f(c);try{for(W.s();!(F=W.n()).done;){var B=F.value;g(T,this).has(B)||n.has(B)||i.default.depthFirst(B,(function(e){a.add(e)}))}}catch(e){W.e(e)}finally{W.f()}return a}},{key:"isRedacted",value:function(e){return Boolean(this.getRedactedBy(e))}}])}()},39702:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var o;function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t: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")}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(26099),r(47764),r(73772),r(62953);var c=(0,((o=r(51227))&&o.__esModule?o:{default:o}).default)("cbio.RedactionIndexProvider"),s=new WeakMap,l=function(){return function(e,t){return t&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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)}(this,s,void 0)}),[{key:"instance",get:function(){return(e=s).get(u(e,this));var e},set:function(e){var t,r;r=e,(t=s).set(u(t,this),r),c("set new redaction index")}}])}();t.default=new l},8111:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(45700),r(23418),r(34782),r(89572),r(62010),r(2892),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(2008),r(46449),r(23792),r(62062),r(26910),r(93514),r(5506),r(26099),r(27495),r(31415),r(47764),r(73772),r(62953);var n=i(r(37047)),o=i(r(11191));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e,t,r){return(t=h(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){var t=function(e){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}function y(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(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 m=new WeakMap,b=new WeakMap,g=p((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,m,(function(){return o.default.unproxify(window.location.href)})),y(this,b,(function(e,t){if(!e)return e;var r=e.map((function(e){return"string"==typeof e?e:"object"===l(e)?Object.entries(e).filter((function(e){var r=u(e,1)[0];return(0,n.default)(r,{flags:"i"}).test(t)})).map((function(e){var t=u(e,2);return t[0],t[1]})):null})).filter(Boolean).flat(2);return a(new Set(r))})),d(this,"filterSelectors",(function(e){var r=v(m,t).call(t);return v(b,t).call(t,e,r)})),d(this,"hasChange",(function(e,r){if(!e)return!1;if(!r)return!0;var n=v(b,t).call(t,e,r),o=v(b,t).call(t,e,v(m,t).call(t));if(n.length!==o.length)return!0;var i=a(n).sort(),u=a(o).sort();return!i.every((function(e,t){return e===u[t]}))}))}));t.default=new g},16566:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedactionIndex",{enumerable:!0,get:function(){return n.RedactionIndex}}),Object.defineProperty(t,"RedactionIndexProvider",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"TargetedRedaction",{enumerable:!0,get:function(){return i.default}});var n=r(2615),o=a(r(39702)),i=a(r(8111));function a(e){return e&&e.__esModule?e:{default:e}}},32976:function(e,t,r){"use strict";r(52675),r(89463),r(2259),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(74423),r(23792),r(89572),r(2892),r(83851),r(26099),r(31415),r(21699),r(47764),r(23500),r(62953),r(33019);var n=a(r(25454)),o=r(66938),i=r(16566);function a(e){return e&&e.__esModule?e:{default:e}}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}var p=(0,a(r(51227)).default)("cbio.ControlEvents"),d=s((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"_applyScroll",(function(e,t){var r=e.defaultView||e;r.scrollTo?r.scrollTo(t.x,t.y):(r.scrollTop=t.y,r.scrollLeft=t.x)})),l(this,"_updateCheckbox",(function(e,t){var r=t.checked;if(void 0!==r&&"INPUT"===e.tagName&&void 0!==e.checked){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,"checked");n&&n.set.call(e,r)}})),l(this,"_updateInnerHTML",(function(e,t){var r=t.innerHTML;void 0!==r&&(e.innerHTML=n.default.sanitize(r))})),l(this,"_updateValue",(function(e,t){var r=t.value;if(void 0!==r){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value");n&&n.set.call(e,r)}"TEXTAREA"===e.tagName&&o.NodeTracker.track(e.childNodes[0])})),l(this,"_updateTarget",(function(e,r){t._updateValue(e,r.target),t._updateCheckbox(e,r.target),t._updateInnerHTML(e,r.target)})),l(this,"_generateMouse",(function(e,t){return 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",(function(e,t){return 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",(function(e,t){return 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",(function(e,t){return new FocusEvent(t.state,{bubbles:["focusin","focusout"].includes(t.state),cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})})),l(this,"_generateChange",(function(e,t){return new CustomEvent(t.state,{bubbles:!0,cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window})})),l(this,"_generateInput",(function(e,t){return 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",(function(e,t){return new CustomEvent("selection",{bubbles:!0,cancelable:!1,composed:!0,view:e.ownerDocument&&e.ownerDocument.defaultView||window,selection:t.selection})})),l(this,"_generateEvent",(function(e,r,n){switch(n.state.includes("move")&&p("generate",n,"on",r),e){case"keypress":return t._generateKeypress(r,n);case"mouse":return t._generateMouse(r,n);case"pointer":return t._generatePointer(r,n);case"change":return t._generateChange(r,n);case"input":return t._generateInput(r,n);case"focus":return t._generateFocus(r,n);case"select":return t._generateSelection(r,n);default:return console.warn("CobrowseIO: unknown event type",e,n),null}})),l(this,"_setSelection",(function(e,t){var r=t.selection;if(!(e.__cobrowse_user_selection_timestamp>Date.now()-100)&&e.getSelection())try{r?(e.__last_agent_selection_ts=Date.now(),e.getSelection().removeAllRanges(),r.forEach((function(t){var r=t.start,n=t.startOffset,i=t.end,a=t.endOffset,u=document.createRange(),c=o.NodeTracker.getById(r),s=o.NodeTracker.getById(i);u.setStart(c,n),u.setEnd(s,a),e.getSelection().addRange(u)}))):e.getSelection().removeAllRanges()}catch(e){console.warn("Failed to apply selection",r,e)}})),l(this,"_setInputSelection",(function(e,t){var r=t.selection;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){var n=r.start,o=r.end,i=r.direction;e.focus(),e.setSelectionRange(n,o,i)}else e.getRootNode({composed:!0}).activeElement===e&&e.setSelectionRange(null,null)}catch(e){console.warn("Failed to select text",e)}})),l(this,"applyEvent",(function(e,r){var n;if(!r.target)return null;var a=o.NodeTracker.getById(r.target.id);if(!a)return null;if(null!==(n=i.RedactionIndexProvider.instance)&&void 0!==n&&n.isRedacted(a))return null;try{var u;if("scroll"===e)return t._applyScroll(a,r);if(null!==(u=a._cobrowse_suppress_events)&&void 0!==u&&u.has(r.state))return a._cobrowse_suppress_events.delete(r.state),0===a._cobrowse_suppress_events.size&&delete a._cobrowse_suppress_events.size,null;var c=t._generateEvent(e,a,r);return c&&(a.dispatchEvent(c)?(["keydown","keypress","input"].includes(r.state)&&t._updateTarget(a,r),["selectionchange"].includes(r.state)&&t._setSelection(a,r),["select"].includes(r.state)&&t._setInputSelection(a,r)):"keydown"===r.state?a._cobrowse_suppress_events=new Set(["keypress","input"]):"keypress"===r.state&&(a._cobrowse_suppress_events=new Set(["input"]))),c}catch(t){return console.warn("Error while injecting event",e,t),null}}))}));t.default=new d},83672:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ControlEvents",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(32976))&&n.__esModule?n:{default:n}},42109:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(23792),r(89572),r(2892),r(40875),r(26099),r(60825),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(62010);var o,i=(o=r(82701))&&o.__esModule?o:{default:o};function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}t.default=function(e){function t(e,r,o){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(i=function(e,t,r){return t=u(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r))}(this,t,[r,o])).id=e,i.name="APIError",i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),function(e){return Object.defineProperty(e,"prototype",{writable:!1}),e}(t)}(i.default)},82701:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(i())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&a(o,r.prototype),o}(e,arguments,u(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,e)},o(e)}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(i=function(){return!!e})()}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}r(52675),r(89463),r(2259),r(45700),r(23792),r(89572),r(36033),r(2892),r(26099),r(60825),r(38781),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(62010),r(40875),t.default=function(e){function t(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=function(e,t,r){return t=u(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,i()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r))}(this,t,[r])).status=e,o.name="HTTPError",o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e),r=t,Object.defineProperty(r,"prototype",{writable:!1}),r;var r}(o(Error))},53469:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(2008),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(83851),r(81278),r(40875),r(60825),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(23792),r(79432),r(26099),r(38781),r(47764),r(73772),r(62953);var o=r(37007),i=s(r(1045)),a=s(r(90179)),u=s(r(2404)),c=s(r(42109));function s(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 f(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){p(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 p(e,t,r){return(t=m(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(){d=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};l(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=p(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=l(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),l(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),l(x,s,"Generator"),l(x,u,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function h(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){h(i,n,o,a,u,"next",e)}function u(e){h(i,n,o,a,u,"throw",e)}a(void 0)}))}}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,m(n.key),n)}}function m(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}function E(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,r){return e.set(O(e,t),r),r}function S(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")}var x=new WeakMap,T=new WeakMap,P=new WeakMap,j=(t.default=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return E(e=function(e,t,r){return t=g(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,b()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,t,[].concat(o)),x,{}),E(e,T,{}),E(e,P,function(){var e=y(d().mark((function e(t){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.status>=400)){e.next=5;break}return e.next=3,t.json();case 3:throw r=e.sent,new c.default(r.id,t.status,r.message);case 5:if(t.ok){e.next=7;break}throw new Error("Failed to parse response, response not ok");case 7:if(204!==t.status){e.next=9;break}return e.abrupt("return",null);case 9:return e.next=11,t.json();case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(t,e),r=t,o=[{key:"_resource",get:function(){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."),S(T,this)}},{key:"resource",get:function(){return S(T,this)}},{key:"url",value:function(){throw new Error("url() must be implemented")}},{key:"id",value:function(){return this.field("id")}},{key:"field",value:function(e){return(S(T,this)||{})[e]}},{key:"cache",value:function(e){_(T,this,f(f({},S(T,this)),e))}},{key:"fetch",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(y(d().mark((function e(){var t;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(this.url(),{headers:(0,a.default)(this.headers(),["Content-Type"])});case 2:return t=e.sent,e.t0=this,e.next=6,S(P,this).call(this,t);case 6:return e.t1=e.sent,e.abrupt("return",e.t0.updateResource.call(e.t0,e.t1));case 8:case"end":return e.stop()}}),e,this)}))))},{key:"update",value:(p=y(d().mark((function e(t){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t&&Object.keys(t)&&(0,i.default)(S(T,this),t,u.default))){e.next=2;break}return e.abrupt("return",this);case 2:return e.next=4,fetch(this.url(),{method:this.id()?"PUT":"POST",headers:this.headers(),body:JSON.stringify(t)});case 4:return r=e.sent,e.t0=this,e.next=8,S(P,this).call(this,r);case 8:return e.t1=e.sent,e.abrupt("return",e.t0.updateResource.call(e.t0,e.t1));case 10:case"end":return e.stop()}}),e,this)}))),function(e){return p.apply(this,arguments)})},{key:"destroy",value:(l=y(d().mark((function e(){var t;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(this.url(),{method:"DELETE",headers:this.headers()});case 2:return t=e.sent,e.t0=this,e.next=6,S(P,this).call(this,t);case 6:return e.t1=e.sent,e.abrupt("return",e.t0.updateResource.call(e.t0,e.t1));case 8:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"updateResource",value:function(e){return _(T,this,e||{}),this.emit("updated",this),this}},{key:"headers",value:function(){return f(f({},t.headers()),S(x,this))}},{key:"setHeader",value:function(e,t){S(x,this)[e]=t}},{key:"getHeader",value:function(e){return this.headers()[e]}}],s=[{key:"headers",value:function(){return O(t,this,j)._}},{key:"setHeader",value:function(e,t){j._[e]=t}},{key:"getHeader",value:function(e){return j._[e]}},{key:"api",get:function(){return k._},set:function(e){k._=e}}],o&&v(r.prototype,o),s&&v(r,s),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o,s,l,p}(o.EventEmitter),{_:{}}),k={_:void 0}},18111:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RESTResource",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(53469))&&n.__esModule?n:{default:n}},52404:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(83851),r(81278),r(40875),r(79432),r(60825),r(40888),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(2008),r(74423),r(23792),r(48598),r(34782),r(26099),r(38781),r(21699),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o=r(40182),i=r(37609),a=s(r(60086)),u=r(18111),c=r(21667);function s(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 f(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){b(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 p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,g(n.key),n)}}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function y(e,t,r,n){var o=v(m(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof o?function(e){return o.apply(r,e)}:o}function v(){return v="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}},v.apply(null,arguments)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function b(e,t,r){return(t=g(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function w(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(e,t){return e.get(S(e,t))}function _(e,t,r){return e.set(S(e,t),r),r}function S(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=(0,s(r(51227)).default)("cbio.Session"),x=new WeakMap,T=new WeakMap,P=new WeakMap,j=new WeakMap,k=new WeakMap,L=new WeakMap,I=new WeakMap,C=new WeakMap,A=new WeakMap,N=new WeakMap,M=new WeakMap,R=new WeakMap,D=new WeakMap;t.default=function(e){function t(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),w(r=function(e,t,r){return t=m(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,d()?Reflect.construct(t,r||[],m(e).constructor):t.apply(e,r))}(this,t),x,void 0),w(r,T,void 0),w(r,P,{}),w(r,j,(function(e){r.setHeader("X-CobrowseDeviceToken",e)})),w(r,k,(function(){return r.getHeader("X-CobrowseDeviceToken")})),b(r,"activate",(function(){return O("activate session"),r.update({state:"active",device:c.Device.info,custom_data:E(x,r).customData})})),b(r,"end",(function(){return O("end session"),r.update({state:"ended"})})),b(r,"code",(function(){return r.field("code")})),b(r,"state",(function(){return r.field("state")})),b(r,"isActive",(function(){return"active"===r.state()})),b(r,"isAuthorizing",(function(){return"authorizing"===r.state()})),b(r,"isPending",(function(){return"pending"===r.state()})),b(r,"isEnded",(function(){return"ended"===r.state()})),b(r,"redactionSelectors",(function(){var e=r.field("redaction_selectors");return Array.isArray(e)?e:[]})),b(r,"unredactionSelectors",(function(){var e=r.field("unredaction_selectors");return Array.isArray(e)?e:[]})),b(r,"agent",(function(){return r.field("agent")||!1})),b(r,"requireConsent",(function(){return r.field("require_consent")})),b(r,"fullDevice",(function(){return!0===r.field("full_device")||"on"===r.field("full_device")||"requested"===r.field("full_device")})),b(r,"setFullDevice",(function(e){return E(T,r).toggle(["laser","drawing","disappearing_ink","pointer","scroll","select","keypress","cursor"],"on"!==e),r.update({full_device:e})})),b(r,"update",(function(e){return y(t,"update",r,3)([f({capabilities:E(T,r).toArray()},e)])})),b(r,"scale",(function(){return r.field("scale")||.5})),b(r,"remoteControl",(function(){return r.field("remote_control")||"on"})),b(r,"setRemoteControl",(function(e){return r.update({remote_control:e})})),b(r,"allowRemoteControl",(function(){return"on"===r.remoteControl()})),b(r,"updateResource",(function(e){var n=r.isEnded();return y(t,"updateResource",r,3)([e]),r.isEnded()&&!n&&(r.emit("ended",r),r.removeAllListeners()),r})),w(r,L,(0,i.protect)(r,"setMetrics",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_(P,r,f(f({},E(P,r)),e))}))),w(r,I,(0,i.protect)(r,"serialize",(function(){return f(f({},r.resource),{},{_locals:{token:E(k,r).call(r)}})}))),w(r,C,(0,i.protect)(r,"serializeSanitized",(function(){return{state:r.resource.state,redaction_selectors:r.resource.redaction_selectors}}))),w(r,A,(0,i.protect)(r,"deserialize",(function(e){var t=e._locals||{};return delete e._locals,E(j,r).call(r,t.token),r.updateResource(e),r}))),w(r,N,(0,i.protect)(r,"compress",(function(){return"".concat(r.resource.id,":").concat(E(k,r).call(r))}))),w(r,M,(0,i.protect)(r,"decompress",(function(e){var t=e.split(":");return E(A,r).call(r,{_locals:{token:t[t.length-1]},id:t.slice(0,-1).join(":")}),r}))),w(r,R,(0,i.protect)(r,"proxyToken",(function(){return r.field("proxy_token")}))),w(r,D,(0,i.protect)(r,"proxyUrl",(function(){return r.field("proxy_url")}))),!e)throw new Error("Session delegate is required");_(x,r,e),_(T,r,new a.default(e.capabilities));var u=Math.ceil(Date.now()/36e5);return E(j,r).call(r,(0,o.v5)(u+"",c.Device.deviceToken())),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(t,e),r=t,(u=[{key:"capabilities",get:function(){var e=this.field("capabilities");return null==e?E(T,this).toArray():E(T,this).toArray().filter((function(t){return null==e?void 0:e.includes(t)}))}},{key:"url",value:function(){var e=this.id()||this.code();return new URL("api/1/sessions".concat(e?"/".concat(e):""),t.api).toString()}},{key:"metrics",get:function(){return E(P,this)}}])&&p(r.prototype,u),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,u}(u.RESTResource)},60086:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function a(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")}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(33771),r(2008),r(23792),r(79432),r(26099),r(47764),r(73772),r(23500),r(62953);var c=new WeakMap;t.default=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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)}(this,c,{}),this.fill(t)},(t=[{key:"fill",value:function(e){var t,r;return t=c,r=e.reduce((function(e,t){return e[t]=!0,e}),{}),t.set(u(t,this),r),this}},{key:"all",value:function(){return a(c,this)}},{key:"toArray",value:function(){var e=this;return Object.keys(a(c,this)).filter((function(t){return a(c,e)[t]}))}},{key:"toggle",value:function(e,t){var r=this;return Array.isArray(e)||(e=[e]),e.filter((function(e){return e in a(c,r)})).forEach((function(e){a(c,r)[e]=t})),this}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},57089:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SESSION_CAPABILITY_UNIVERSAL=t.SESSION_CAPABILITY_TYPE_SELECT=t.SESSION_CAPABILITY_TYPE_SCROLL=t.SESSION_CAPABILITY_TYPE_POINTER=t.SESSION_CAPABILITY_TYPE_LASER=t.SESSION_CAPABILITY_TYPE_KEYPRESS=t.SESSION_CAPABILITY_TYPE_FULL_DEVICE=t.SESSION_CAPABILITY_TYPE_DRAWING=t.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK=t.SESSION_CAPABILITY_TYPE_CURSOR=void 0;var r=t.SESSION_CAPABILITY_TYPE_POINTER="pointer",n=t.SESSION_CAPABILITY_TYPE_SCROLL="scroll",o=t.SESSION_CAPABILITY_TYPE_SELECT="select",i=t.SESSION_CAPABILITY_TYPE_KEYPRESS="keypress",a=t.SESSION_CAPABILITY_TYPE_DRAWING="drawing",u=t.SESSION_CAPABILITY_TYPE_LASER="laser",c=(t.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK="disappearing_ink",t.SESSION_CAPABILITY_TYPE_FULL_DEVICE="full_device"),s=t.SESSION_CAPABILITY_TYPE_CURSOR="cursor",l=t.SESSION_CAPABILITY_UNIVERSAL="universal";t.default=[r,n,o,i,a,u,c,s,l]},30729:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(34782),r(89572),r(62010),r(4731),r(60479),r(2892),r(40875),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(74423),r(23792),r(26099),r(21699),r(47764),r(73772),r(30958),r(62953);var o=E(r(90324)),i=r(8647),a=r(45264),u=r(33035),c=r(83672),s=r(16566),l=E(r(51227)),f=r(57089),p=r(68325),d=r(49715),h=r(11065),y=r(91834),v=E(r(6900)),m=r(44661),b=r(89689),g=E(r(44153)),w=r(49931);function E(e){return e&&e.__esModule?e:{default:e}}function _(){_=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var d="suspendedStart",h="suspendedYield",y="executing",v="completed",m={};function b(){}function g(){}function w(){}var E={};l(E,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(E=O);var x=w.prototype=b.prototype=Object.create(E);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=p(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=d;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?v:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return g.prototype=w,i(x,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:g,configurable:!0}),g.displayName=l(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),l(P.prototype,c,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),l(x,s,"Generator"),l(x,u,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function S(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function O(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){S(i,n,o,a,u,"next",e)}function u(e){S(i,n,o,a,u,"throw",e)}a(void 0)}))}}function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,P(n.key),n)}}function T(e,t,r){return(t=P(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function j(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 L(e,t){return e.get(C(e,t))}function I(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 A=(0,l.default)("cbio.SessionContext"),N=new WeakMap,M=new WeakMap,R=new WeakMap,D=new WeakMap,U=new WeakMap,F=new WeakMap,W=new WeakMap,z=new WeakMap,B=new WeakMap,V=new WeakSet,Y=new WeakMap,G=new WeakMap,H=new WeakMap,Q=new WeakMap,q=new WeakMap,K=new WeakMap,$=new WeakMap,X=new WeakMap,J=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,re=new WeakMap,ne=new WeakMap,oe=new WeakMap,ie=new WeakMap,ae=new WeakMap,ue=new WeakMap,ce=new WeakMap,se=new WeakMap,le=new WeakMap;function fe(e){var t,r=this,n=(T(T(T(T(T(T(T(T(T(T(t={},p.SESSION_EVENT_TYPE_MOUSE,f.SESSION_CAPABILITY_TYPE_POINTER),p.SESSION_EVENT_TYPE_TOUCH,f.SESSION_CAPABILITY_TYPE_POINTER),p.SESSION_EVENT_TYPE_POINTER,f.SESSION_CAPABILITY_TYPE_POINTER),p.SESSION_EVENT_TYPE_FOCUS,[f.SESSION_CAPABILITY_TYPE_KEYPRESS,f.SESSION_CAPABILITY_TYPE_POINTER]),p.SESSION_EVENT_TYPE_KEYPRESS,f.SESSION_CAPABILITY_TYPE_KEYPRESS),p.SESSION_EVENT_TYPE_SCROLL,f.SESSION_CAPABILITY_TYPE_SCROLL),p.SESSION_EVENT_TYPE_CHANGE,[f.SESSION_CAPABILITY_TYPE_KEYPRESS,f.SESSION_CAPABILITY_TYPE_POINTER]),p.SESSION_EVENT_TYPE_INPUT,[f.SESSION_CAPABILITY_TYPE_KEYPRESS,f.SESSION_CAPABILITY_TYPE_POINTER]),p.SESSION_EVENT_TYPE_LASER,f.SESSION_CAPABILITY_TYPE_LASER),p.SESSION_EVENT_TYPE_DRAWING,null!=e.disappears_in?f.SESSION_CAPABILITY_TYPE_DISAPPEARING_INK:f.SESSION_CAPABILITY_TYPE_DRAWING),T(t,p.SESSION_EVENT_TYPE_SELECT,f.SESSION_CAPABILITY_TYPE_SELECT));return(Array.isArray(n[e.type])?n[e.type]:[n[e.type]]).some((function(e){return r.session.capabilities.includes(e)}))}t.default=function(){return e=function e(t,r){var n,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),k(this,n=V),n.add(this),j(this,N,void 0),j(this,M,void 0),j(this,R,new i.FrameLoop),j(this,D,void 0),j(this,U,void 0),j(this,F,void 0),j(this,W,void 0),j(this,z,(function(e){var t;return!(null===(t=l.session)||void 0===t||!t.isActive()||e===m.NAVIGATION_TYPE.UNIVERSAL&&!l.session.capabilities.includes(f.SESSION_CAPABILITY_UNIVERSAL))})),j(this,B,(function(e,t,r){var n,o=r.type,i=r.go,a=function(r){return L(W,l).navigate(e,r||t,{type:o})},u=function(){return i()};if(![m.NAVIGATION_TYPE.PDF,m.NAVIGATION_TYPE.UNIVERSAL].includes(o))return a();var c=l.delegate.confirmOpen(e,o);return c?!0===c?a("_blank"):(null===(n=c.then)||void 0===n||n.call(c,(function(e){if(!e)return u();a("_blank")})),!1):u()})),T(this,"invalidateFrames",(function(){L(R,l).isRunning()&&L(R,l).invalidateFrame()})),T(this,"destroy",(function(){A("destroy session context"),L(ne,l).call(l),L(W,l)&&L(W,l).destroy(),I(W,l,null),g.default.off("navigate",L(Y,l)),L(N,l)&&L(N,l).close(),I(N,l,null),L(R,l)&&L(R,l).destroy(),I(R,l,null),a.WindowTracking.off("activate",L(ie,l)),window.removeEventListener("focus",L(ie,l),{capture:!0,passive:!0}),window.removeEventListener("hashchange",L(ae,l),{capture:!0,passive:!0}),a.MouseTracking.onChange===L(se,l)&&(a.MouseTracking.onChange=null),l.session&&(l.session.removeListener("update",L(re,l)),l.session.removeListener("ended",L(ne,l)),l.session.removeListener("sync",L(H,l)),l.session.removeListener("drawing",L(q,l)),l.session.removeListener("laser",L(Q,l)),l.session.removeListener("control",L(K,l)),l.session.removeListener("remote-error",L(G,l))),document.removeEventListener("DOMContentLoaded",L($,l),{once:!0}),l.session=null})),j(this,Y,(function(e,t){L(X,l).call(l,l.session),(s.TargetedRedaction.hasChange(l.delegate.redactedViews,t)||s.TargetedRedaction.hasChange(l.delegate.unredactedViews,t)||s.TargetedRedaction.hasChange(l.session.redactionSelectors(),t)||s.TargetedRedaction.hasChange(l.session.unredactionSelectors(),t))&&setTimeout((function(){l.invalidateFrames()}),0)})),j(this,G,function(){var e=O(_().mark((function e(t){var r,n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=L(R,l).getSource())instanceof i.DOMFrameSource){e.next=3;break}return e.abrupt("return");case 3:if(n=t.target,"load-error"===t.error.cause){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,(0,w.applyContentCache)(n);case 8:r.partialSync(n);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),j(this,H,(function(e){var t=e.id;t&&L(D,l)===t||(I(D,l,t),L(R,l).invalidateFrame())})),j(this,Q,(function(e){C(V,l,fe).call(l,e)&&a.WindowTracking.isActive()&&(l.session.fullDevice()||u.LaserOverlay.update(e))})),j(this,q,(function(e){C(V,l,fe).call(l,e)&&(e.image||u.AnnotationOverlay.hide(e.agent),a.WindowTracking.isActive()&&(l.session.fullDevice()||u.AnnotationOverlay.update(e)))})),j(this,K,(function(e,t){"focus"!==e||t.agent||a.WindowTracking.resignActive(),a.WindowTracking.isActive()&&(l.session.fullDevice()||l.session.allowRemoteControl()&&(l.session.capabilities.includes(f.SESSION_CAPABILITY_TYPE_CURSOR)&&u.RemoteCursor.update(e,t),C(V,l,fe).call(l,t)&&c.ControlEvents.applyEvent(e,t)))})),j(this,$,(function(e){l.session&&(e.isActive()?document.body?l.delegate.showSessionControls(e):document.addEventListener("DOMContentLoaded",L($,l),{once:!0}):l.delegate.hideSessionControls(e))})),j(this,X,(function(e){s.RedactionIndexProvider.instance=new s.RedactionIndex(s.TargetedRedaction.filterSelectors(l.delegate.redactedViews),s.TargetedRedaction.filterSelectors(l.delegate.unredactedViews),s.TargetedRedaction.filterSelectors(e.redactionSelectors()),s.TargetedRedaction.filterSelectors(e.unredactionSelectors()))})),j(this,J,function(){var e=O(_().mark((function e(t){var r;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.agent()&&!t.isActive()&&!t.isEnded()){e.next=2;break}return e.abrupt("return",null);case 2:if(!L(U,l)){e.next=4;break}return e.abrupt("return",null);case 4:if(I(U,l,!0),t.requireConsent()){e.next=7;break}return e.abrupt("return",t.activate());case 7:return e.prev=7,A("authorizing session"),e.next=11,t.update({state:"authorizing"});case 11:if(l.session){e.next=13;break}return e.abrupt("return",null);case 13:return e.next=15,l.delegate.confirmSession(t);case 15:if(r=e.sent,l.session){e.next=18;break}return e.abrupt("return",null);case 18:if(!1!==r){e.next=23;break}return A("user rejected session request"),e.abrupt("return",t.end());case 23:return A("session accepted"),e.abrupt("return",t.activate());case 25:e.next=33;break;case 27:if(e.prev=27,e.t0=e.catch(7),e.t0&&console.warn("CobrowseIO: error caught during confirmation",e.t0),!l.session){e.next=32;break}return e.abrupt("return",t.end());case 32:return e.abrupt("return",null);case 33:case"end":return e.stop()}}),e,null,[[7,27]])})));return function(t){return e.apply(this,arguments)}}()),j(this,Z,function(){var e=O(_().mark((function e(t){return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("requested"===t.remoteControl()){e.next=2;break}return e.abrupt("return",null);case 2:return e.prev=2,e.next=5,l.delegate.confirmRemoteControl();case 5:if(e.t0=e.sent,!1!==e.t0){e.next=11;break}return A("user rejeted remote control"),e.abrupt("return",t.update({remote_control:"rejected"}));case 11:return A("user accepted remote control"),e.abrupt("return",t.update({remote_control:"on"}));case 13:e.next=19;break;case 15:return e.prev=15,e.t1=e.catch(2),e.t1&&console.warn("CobrowseIO: error caught during confirmation",e.t1),e.abrupt("return",t.update({remote_control:"rejected"}));case 19:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t){return e.apply(this,arguments)}}()),j(this,ee,O(_().mark((function e(){var t,r;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!0===(t=l.session.resource.full_device)||"requested"===t){e.next=3;break}return e.abrupt("return",!1);case 3:if(a.WindowTracking.isActive()){e.next=5;break}return e.abrupt("return",!1);case 5:if(l.session.capabilities.includes(f.SESSION_CAPABILITY_TYPE_FULL_DEVICE)){e.next=7;break}return e.abrupt("return");case 7:return e.prev=7,e.next=10,l.delegate.confirmFullDevice();case 10:if(r=e.sent,A("full device request",r),r){e.next=15;break}return e.next=15,l.session.setFullDevice("rejected");case 15:return e.abrupt("return",r);case 18:return e.prev=18,e.t0=e.catch(7),e.next=22,l.session.setFullDevice("off");case 22:return e.abrupt("return",!1);case 23:case"end":return e.stop()}}),e,null,[[7,18]])})))),j(this,te,function(){var e=O(_().mark((function e(t){var r;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isEnded()&&L(R,l)){e.next=2;break}return e.abrupt("return",null);case 2:if(r=L(R,l).getSource(),!t.fullDevice()){e.next=9;break}if(r instanceof i.MediaStreamFrameSource){e.next=7;break}return e.next=7,L(R,l).setSource(new i.MediaStreamFrameSource({handleFrame:L(ce,l),scale:t.scale,captureStarted:function(e){t.setFullDevice("on"),t.emit("media",e)},captureEnded:function(e){e&&console.warn("Full device mode failed: ",e),t.setFullDevice(e?"rejected":"off")},requestPermission:L(ee,l)}));case 7:e.next=10;break;case 9:r instanceof i.DOMFrameSource||L(R,l).setSource(new i.DOMFrameSource(L(ue,l)));case 10:L(R,l).getSource().setCodecs(t.resource.video_codecs);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),j(this,re,(function(e){l.session?(L(J,l).call(l,e),L($,l).call(l,e),L(X,l).call(l,e),L(Z,l).call(l,e),L(te,l).call(l,e),e.isActive()&&L(le,l).call(l)):A("onSessionUpdated called after destroy()")})),j(this,ne,(function(){u.AnnotationOverlay.hide(),u.RemoteCursor.hide(),u.LaserOverlay.hide(),l.delegate.hideSessionControls(l.session),L(F,l)&&L(F,l).closeAllDocuments()})),j(this,oe,(function(e,t){return!(!l.session||!l.session.isActive()||!l.session.fullDevice()&&!a.WindowTracking.isActive()||!L(N,l)||!L(N,l).stream||!L(N,l).stream.connected||!L(N,l).stream.bufferedAmount>100||(L(N,l).stream.send(e,t),0))})),j(this,ie,(function(){return L(oe,l).call(l,"focus",{type:"Focus",timestamp:new Date})})),j(this,ae,(function(){return L(oe,l).call(l,"screen",{type:"Screen",timestamp:new Date,url:window.location.href,title:document.title})})),j(this,ue,(function(e){return I(M,l,(L(M,l)||0)+1),L(oe,l).call(l,"frame",{type:"Frame",id:L(M,l),data:e,timestamp:new Date,mime_type:"application/x-cbio-vdom-patch"})})),j(this,ce,(function(e,t,r){L(N,l).stream.messageLag()>=r?A("dropped frame due to message lag",L(N,l).stream.messageLag()):(I(M,l,(L(M,l)||0)+1),L(oe,l).call(l,"frame",{type:"Frame",id:L(M,l),data:e,timestamp:new Date,mime_type:t}))})),j(this,se,(function(e){var t="mouseout";return e.in&&(t=e.down?"mousedown":"mouseup"),L(oe,l).call(l,"mouse",{type:"Mouse",x:e.x/window.innerWidth,y:e.y/window.innerHeight,state:t,timestamp:new Date})})),j(this,le,(function(){return L(R,l).isRunning()||(A("start frames"),L(R,l).start()),l})),A("session context constructed"),this.session=t,this.delegate=r,I(N,this,new o.default(t)),a.WindowTracking.on("activate",L(ie,this)),window.addEventListener("focus",L(ie,this),{capture:!0,passive:!0}),window.addEventListener("hashchange",L(ae,this),{capture:!0,passive:!0}),a.MouseTracking.onChange=L(se,this),L(re,this).call(this,t),t.on("updated",L(re,this)),t.on("ended",L(ne,this)),t.on("sync",L(H,this)),t.on("drawing",L(q,this)),t.on("laser",L(Q,this)),t.on("control",L(K,this)),t.on("remote-error",L(G,this)),t.once("stream-open",(function(){return L(ie,l).call(l)}));var p=new h.PDFHandler(t,r),E=new y.UniversalHandler(t,r),S=new v.default(t,r);I(F,this,new b.DocumentCollection),I(W,this,new d.Navigation({shouldNavigate:L(z,this),handlers:[p,E,S],handleNavigation:L(B,this),onDocumentCreated:function(e){L(F,l).addDocument(e),l.delegate.showDocument(e)}})),g.default.on("navigate",L(Y,this))},(t=[{key:"navigate",value:function(e,t,r){var n=r.type,o=L(W,this).navigate(e,t,{type:n});if("string"==typeof o)return window.open(o,t)}}])&&x(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},68325:function(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_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_DRAWING="Drawing",t.SESSION_EVENT_TYPE_SELECT="Select"},90324:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28706),r(74423),r(23792),r(26099),r(27495),r(47764),r(25440),r(73772),r(12041),r(62953);var o=r(67829),i=u(r(56851)),a=u(r(37609));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 p(e,t){return e.get(h(e,t))}function d(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 y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap;t.default=function(){return e=function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,y,void 0),f(this,v,void 0),f(this,m,void 0),s(this,"open",(function(){p(y,r).isEnded()||(p(g,r).call(r),p(w,r).call(r))})),s(this,"close",(function(){window.removeEventListener("visibilitychange",r.onVisibilityChange),p(y,r)&&(p(y,r).removeListener("updated",r.open),d(y,r,null)),p(m,r)&&(p(m,r).close(),d(m,r,null)),p(v,r)&&(p(v,r).close(),d(v,r,null))})),f(this,b,(function(e,t){var n=new o.CBORSocket({getUrl:function(){return(0,i.default)(e)},getProtocols:function(){return["cbio.http.headers.authorization.bearer.".concat(window.btoa(p(y,r).field(t)).replaceAll("=",""))]}});return n.on("error",(function(e){console.warn("CobrowseIO session socket error:",e)})),n})),f(this,g,(function(){var e=p(y,r).field("control_url"),t=p(y,r).field("control_token");e&&t&&!p(v,r)&&(d(v,r,p(b,r).call(r,e,"control_token")),p(v,r).on("open",(function(){p(v,r).send("filter",{events:["session"]}),p(y,r).fetch().catch((function(e){console.warn("CobrowseIO failed fetching session state",e)}))})),p(v,r).on("event",(function(e,t){"session"===e&&p(y,r).updateResource(t)})))})),f(this,w,(function(){var e=p(y,r).field("stream_url"),t=p(y,r).field("stream_token");if(e&&t&&!p(m,r)){d(m,r,p(b,r).call(r,e,"stream_token"));var n=["drawing","laser","url"],o=["touch","mouse","pointer","keypress","scroll","focus","input","change","select"];p(m,r).on("event",(function(e,t){"sync"===e&&p(y,r).emit("sync",t),"remote-error"===e?p(y,r).emit("remote-error",t):"probe"===e?p(m,r).send("alive",t):n.includes(e)?p(y,r).emit(e,t):o.includes(e)&&p(y,r).emit("control",e,t),p(y,r)[a.default].setMetrics({last_alive:new Date})})),p(m,r).on("open",(function(){p(m,r).send("filter",{events:[].concat(o,n,["sync","probe","remote-error"])}),p(y,r).emit("stream-open")}))}})),d(y,this,t),t.on("updated",this.open),t[a.default].setMetrics({last_alive:null}),this.open()},(t=[{key:"stream",get:function(){return p(m,this)}}])&&c(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},73531:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(23418),r(34782),r(89572),r(4731),r(60479),r(2892),r(40875),r(27495),r(38781),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.SessionStorage=void 0,r(28706),r(2008),r(74423),r(23792),r(62010),r(26099),r(31415),r(21699),r(47764),r(73772),r(62953);var o,i=r(99070);function a(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(){u=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=s(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,u,"next",e)}function u(e){f(i,n,o,a,u,"throw",e)}a(void 0)}))}}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function h(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function y(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(b(e,t))}function m(e,t,r){return e.set(b(e,t),r),r}function b(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 g=(0,((o=r(51227))&&o.__esModule?o:{default:o}).default)("cbio.sessionStorage"),w=new WeakMap,E=new WeakMap,_=new WeakMap;t.SessionStorage=function(){function e(t){var r=t.load,n=void 0===r?[]:r,o=t.store,i=void 0===o?[]:o,a=t.retain,u=void 0===a?[]:a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,w,void 0),y(this,E,void 0),y(this,_,void 0),m(w,this,n),m(E,this,i),m(_,this,u)}return function(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"load",value:(r=p(u().mark((function e(t){var r,n,o,i,a;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g("loading session"),r=c(v(w,this)),e.prev=2,r.s();case 4:if((n=r.n()).done){e.next=21;break}return o=n.value,e.next=8,o.load(t);case 8:return i=e.sent,e.next=11,null==i?void 0:i.fetch();case 11:if(!(a=e.sent)){e.next=19;break}if(!a.isActive()){e.next=17;break}return e.abrupt("return",a);case 17:return e.next=19,o.store(null);case 19:e.next=4;break;case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(2),r.e(e.t0);case 26:return e.prev=26,r.f(),e.finish(26);case 29:return e.abrupt("return",null);case 30:case"end":return e.stop()}}),e,this,[[2,23,26,29]])}))),function(e){return r.apply(this,arguments)})},{key:"store",value:(t=p(u().mark((function e(t){var r,n,o;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g("storing session"),r=c(v(E,this)),e.prev=2,r.s();case 4:if((n=r.n()).done){e.next=16;break}return o=n.value,e.prev=6,e.next=9,o.store(t);case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(6),console.error("Unexpected error storing session: ".concat(o.constructor.name),e.t0);case 14:e.next=4;break;case 16:e.next=21;break;case 18:e.prev=18,e.t1=e.catch(2),r.e(e.t1);case 21:return e.prev=21,r.f(),e.finish(21);case 24:case"end":return e.stop()}}),e,this,[[2,18,21,24],[6,11]])}))),function(e){return t.apply(this,arguments)})},{key:"destroy",value:function(){var e,t=this,r=c(new Set([].concat(a(v(w,this)),a(v(E,this))).filter((function(e){return!v(_,t).includes(e)}))));try{for(r.s();!(e=r.n()).done;)e.value.destroy()}catch(e){r.e(e)}finally{r.f()}m(w,this,null),m(E,this,null),m(_,this,null)}}],[{key:"create",value:function(t,r,n){var o=n.localStorage;if(t.length>1){var a=new i.ForwardingSessionStorage;return new e({load:[a,o],store:[o,a],retain:[o]})}return new e({load:[o],store:[o],retain:[o]})}}]);var t,r}()},72176:function(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 i.default}}),Object.defineProperty(t,"SessionContext",{enumerable:!0,get:function(){return o.default}});var n=a(r(52404)),o=a(r(30729)),i=a(r(60086));function a(e){return e&&e.__esModule?e:{default:e}}},43443:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActiveSessionPath=void 0,t.ActiveSessionPath="_cobrowse_active_session"},99070:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.ForwardingSessionStorage=void 0,t.extractActiveSession=v,t.rewriteUrlIfNecessary=function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).window,n=void 0===r?window:r;try{var o=new URL(e);return o.origin===n.location.origin?(h("not rewriting url because we are not changing origin",o.toString()),e):(o.searchParams.set(a.ActiveSessionPath,t),h("rewriting trusted url for an active session",{from:e,to:o.toString()}),"string"==typeof e?o.toString():o)}catch(t){return h("failed rewriting url",t),e}},r(23792),r(26099),r(38781),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o=u(r(37609)),i=u(r(52404)),a=r(43443);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 f(e,t){return e.get(d(e,t))}function p(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 h=(0,u(r(51227)).default)("cbio.sessionStorage.ForwardingSessionStorage"),y=v();function v(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).window,t=void 0===e?window:e;try{var r=new URL(t.location.href),n=r.searchParams.get(a.ActiveSessionPath);return n?(h("found forwarded session that can be loaded",n),r.searchParams.delete(a.ActiveSessionPath),t.history.replaceState({},"",r)):h("no forwarded session to load",r),n}catch(e){console.warn("Failed to attempt to extract forwarded session",e)}}var m=new WeakMap,b=new WeakMap;t.ForwardingSessionStorage=function(){return e=function e(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).activeSessionData,r=void 0===t?y:t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,m,void 0),l(this,b,void 0),p(m,this,r)},(t=[{key:"isSupported",value:function(){return h("isSupported?",!0),!0}},{key:"load",value:function(e){try{if(f(m,this))return h("loading session",f(m,this)),new i.default(e)[o.default].decompress(f(m,this));h("no session to load")}catch(e){h("failed to load forwarded session",e)}return null}},{key:"store",value:function(e){null!=e&&e.isActive()?(h("storing active session by binding forwarding hooks"),p(b,this,e)):(h("removing active session by unbinding forwarding hooks"),this.destroy())}},{key:"destroy",value:function(){p(b,this,void 0)}}])&&c(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},51312:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.LocalSessionStorage=void 0,r(23792),r(26099),r(47764),r(73772),r(62953);var o=c(r(37609)),i=c(r(86542)),a=c(r(52404)),u=r(43443);function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function f(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")}var d=(0,c(r(51227)).default)("cbio.sessionStorage.LocalSessionStorage"),h=new WeakMap;t.LocalSessionStorage=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,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)}(this,h,(0,i.default)())},(t=[{key:"isSupported",value:function(){return d("isSupported?",!0),!0}},{key:"load",value:function(e){var t=f(h,this).getItem(u.ActiveSessionPath);return t?(d("loading session"),new a.default(e)[o.default].deserialize(t)):(d("no session to load"),null)}},{key:"store",value:function(e){null!=e&&e.isActive()?(d("storing active session"),f(h,this).setItem(u.ActiveSessionPath,e[o.default].serialize())):(d("removing inactive session"),f(h,this).removeItem(u.ActiveSessionPath))}},{key:"destroy",value:function(){var e;(e=h).set(p(e,this),undefined)}}])&&s(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},6900:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(74423),r(23792),r(26099),r(21699),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o,i=r(44661),a=r(49715),u=r(99070),c=(o=r(37609))&&o.__esModule?o:{default:o};function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}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 y(e,t){return e.get(m(e,t))}function v(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")}var b=new WeakMap,g=new WeakMap;t.default=function(e){function t(e,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(o=function(e,t,r){return t=p(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,f()?Reflect.construct(t,r||[],p(e).constructor):t.apply(e,r))}(this,t),b,void 0),h(o,g,void 0),v(b,o,r.trustedOrigins),v(g,o,(function(){return e[c.default].compress()})),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(t,e),function(e,t){return t&&s(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"type",get:function(){return i.NAVIGATION_TYPE.XDOC}},{key:"shouldHandleEvent",value:function(e){return!0}},{key:"shouldHandle",value:function(e){var t=new URL(e,window.location.origin);return y(b,this).includes(t.origin)}},{key:"handle",value:function(e,t,r){var n=y(g,this).call(this);return(0,u.rewriteUrlIfNecessary)(e,n)}}])}(a.NavigationHandler)},86542:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(16667))&&n.__esModule?n:{default:n}},16667:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{setItem:function(t,r){u();var n=JSON.stringify({value:r,group:e});a()?window.localStorage.setItem(t,n):o.default.set(t,n),i[t]=n},getItem:function(t){try{var r;(r=a()?window.localStorage&&window.localStorage.getItem(t):o.default.get(t))||(r=i[t]);var n=JSON.parse(r),u=n.value,c=n.group;return e&&e!==c?null:u}catch(e){return null}},removeItem:function(e){a()&&window.localStorage.removeItem(e),o.default.remove(e),i[e]=void 0}}},r(79432);var n,o=(n=r(2733))&&n.__esModule?n:{default:n},i={};function a(){try{var e="_cobrowse_test_item";return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}function u(){a()||u.done||(u.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:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(23792),r(54743),r(89572),r(2892),r(26099),r(21489),r(81630),r(72170),r(75044),r(69539),r(31694),r(89955),r(33206),r(44496),r(66651),r(12887),r(19369),r(66812),r(8995),r(31575),r(36072),r(88747),r(28845),r(29423),r(57301),r(373),r(86614),r(41405),r(33684),r(23500);var n=r(45264);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}var s=a((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,"el",(function(){return t._el||(t._el=document.createElement("img"),t._el.className="cbio_session_overlay",t._el.style.pointerEvents="none",t._el.style.visibility="visible",t._el.style.width="10vw",t._el.style.height="100vh",t._el.style.position="fixed",t._el.style.zIndex="2147483647",t._el.style.display="none",t._el.style.top="0",t._el.style.left="0"),t._el})),u(this,"_arrayBufferToBase64",(function(e){for(var t="",r=new Uint8Array(e),n=r.byteLength,o=0;o<n;o+=1)t+=String.fromCharCode(r[o]);return window.btoa(t)})),u(this,"remove",(function(e){var 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})),u(this,"update",(function(e){if(n.WindowTracking.isActive())if(e.image){var r=t.el().cloneNode(),o="data:".concat(e.mime_type,";base64,").concat(t._arrayBufferToBase64(e.image)),i=e.id,a=void 0===i?"cb_io_drawing":i;r.style.left="".concat(100*e.x,"%"),r.style.top="".concat(100*e.y,"%"),r.style.height="".concat(100*e.height,"%"),r.style.width="".concat(100*e.width,"%"),r.style.display="block",r.src=o,r.id=a,r.dataset.agent=e.agent,r.decode().then((function(){var n=document.getElementById(a);n?n.replaceWith(r):document.body.appendChild(r),null!=e.disappears_in&&setTimeout((function(){t.remove(r,e.fade_duration)}),e.disappears_in)})).catch((function(e){console.error(e)}))}else t.hide(e.agent)})),u(this,"hide",(function(e){(null!=e?document.querySelectorAll('.cbio_session_overlay[data-agent="'.concat(e,'"]')):document.querySelectorAll(".cbio_session_overlay")).forEach((function(e){e.remove()}))}))}));t.default=new s},65573:function(e,t,r){"use strict";r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(28706),r(89572),r(2892),r(26099);var n,o=(n=r(77988))&&n.__esModule?n:{default:n};function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(){a=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),u=new C(n||[]);return o(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&n.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(o,a,u,c){var s=d(e[o],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(i(t)+" is not iterable")}return w.prototype=E,o(x,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}t.default=s((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"content",(function(e,t){return'\n <div class="cobrowse-dialog" style="color: #333; font-family:sans-serif; line-height:140%; position:fixed; padding:25px; background:white; border-radius:15px; z-index:2147483647; top:50px; left:50%; width:75%; max-width:350px; transform:translateX(-50%); box-shadow:0px 0px 15px #33333322; user-select: none; direction: '.concat(o.default.direction(),'">\n <div style="text-align:center; margin-top:10px; margin-bottom:20px"><b>').concat(e,"</b></div>\n <div>").concat(t,'</div>\n <div style=\'display: flex; justify-content: flex-end; margin-top:20px; color:rgb(0, 122, 255);\'>\n <a class="cobrowse-button cobrowse-deny" style="cursor:pointer; padding:10px;">').concat(o.default.tr("DENY"),'</a>\n <a class="cobrowse-button cobrowse-allow" style="cursor:pointer; padding:10px; font-weight: bold;">').concat(o.default.tr("ALLOW"),"</a>\n </div>\n </div>\n ")})),l(this,"container",(function(){return t._container||(t._container=document.createElement("div"),t._container.style.background="rgba(50, 50, 50, 0.4)",t._container.style.position="fixed",t._container.style.zIndex="2147483647",t._container.style.bottom="0",t._container.style.top="0",t._container.style.left="0",t._container.style.right="0"),t._container})),l(this,"show",function(){var e,r=(e=a().mark((function e(r,n){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){var o=t.container();t._container.innerHTML=t.content(r,n),o.querySelector(".cobrowse-allow").addEventListener("click",(function(r){r.isTrusted&&(e(!0),t.hide())})),o.querySelector(".cobrowse-deny").addEventListener("click",(function(r){r.isTrusted&&(e(!1),t.hide())})),document.body&&document.body.appendChild(o)})));case 1:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,c,"next",e)}function c(e){u(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,t){return r.apply(this,arguments)}}()),l(this,"hide",(function(){t.container().parentNode&&t.container().parentNode.removeChild(t.container())}))}))},86162:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(2008),r(23792),r(83851),r(81278),r(40875),r(79432),r(26099),r(60825),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892),r(69085);var n=r(42777),o=r(45264),i=r(2630);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}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 f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t,r){return(t=y(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var v="#e94435",m=function(){return d((function e(){var t=this;f(this,e),h(this,"el",(function(){return t._el||(t._el=document.createElement("div"),t._el.className="cbio_session_overlay",Object.assign(t._el.style,{position:"fixed",zIndex:"2147483647",width:"8px",height:"8px",background:v,marginLeft:"-4px",marginTop:"-4px",borderRadius:"50%",border:"border: 1px solid white",pointerEvents:"none"})),t._el})),h(this,"hasChangedPosition",(function(){return null!=t.previousPosition&&(Math.abs(t.previousPosition.x-t.currentPosition.x)>1||Math.abs(t.previousPosition.y-t.currentPosition.y)>1)})),h(this,"startAnimation",(function(e){t._intervalId||(t._intervalId=setInterval((function(){return t._createRipple(e)}),t.rippleInterval),t._createRipple(e))})),h(this,"stopAnimation",(function(){t._intervalId&&clearInterval(t._intervalId),t._el&&(t._el.innerHTML=""),t.resetState()})),h(this,"update",(function(e){o.WindowTracking.isActive()&&(document.body&&!t.el().parentNode&&document.body.appendChild(t.el()),"touchend"===e.state?t.hide():null!=e.x&&null!=e.y&&(t.currentPosition.x=100*e.x,t.currentPosition.y=100*e.y,t.el().style.background=e.colour,t.el().style.left="".concat(t.currentPosition.x,"%"),t.el().style.top="".concat(t.currentPosition.y,"%"),t.startAnimation(e.colour)))})),h(this,"hide",(function(){var e;null===(e=t._el)||void 0===e||null===(e=e.parentNode)||void 0===e||e.removeChild(t._el),t.stopAnimation()})),this.rippleDuration=3e3,this.rippleInterval=750,this._el=null,this.resetState()}),[{key:"resetState",value:function(){this._intervalId=null,this.currentPosition={x:0,y:0},this.previousPosition=null,this.resetRippleScale()}},{key:"resetRippleScale",value:function(){this.rippleScale=16}},{key:"_createRipple",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;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?l(Object(r),!0).forEach((function(t){h(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}({},this.currentPosition);var t=(0,n.createRipple)(e,this.rippleDuration,this.rippleScale);this.el().appendChild(t)}}])}(),b=function(e){function t(){return f(this,t),e=this,n=[m],r=c(r=t),function(e,t){if(t&&("object"==a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(r,n||[],c(e).constructor):r.apply(e,n));var e,r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e),d(t,[{key:"update",value:function(e){this.getInstanceForAgent(e.agent).update(e)}}])}(i.MultiAgentManager);t.default=new b},2630:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 u(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")}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.MultiAgentManager=void 0,r(23792),r(36033),r(26099),r(47764),r(73772),r(23500),r(62953);var s=new WeakMap,l=new WeakMap;t.MultiAgentManager=function(){return e=function e(t){var r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,s,new Map),a(this,l,null),n=t,(r=l).set(c(r,this),n)},(t=[{key:"getInstanceForAgent",value:function(e){return u(s,this).has(e)||u(s,this).set(e,new(u(l,this))),u(s,this).get(e)}},{key:"hide",value:function(){var e=this;u(s,this).forEach((function(t,r){t.hide(),u(s,e).delete(r)}))}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},51112:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23418),r(74423),r(23792),r(62062),r(69085),r(26099),r(31415),r(47764),r(73772),r(23500),r(62953);var o=r(20949);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 s(e,t){return e.get(f(e,t))}function l(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 p=new WeakMap,d=new WeakMap,h=new WeakMap,y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,T=new WeakMap,P=new WeakMap,j=new WeakMap,k=new WeakMap,L=new WeakMap,I=new WeakMap,C=new WeakMap,A=new WeakMap,N=new WeakMap,M=new WeakMap,R=a((function e(t){var r,n,i,a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,p,void 0),c(this,d,void 0),c(this,h,void 0),c(this,y,void 0),c(this,v,void 0),c(this,m,void 0),c(this,b,void 0),c(this,g,void 0),c(this,w,void 0),c(this,E,void 0),r=this,i=function(e){s(d,a).has(e)||(s(d,a).add(e),e.addEventListener("mousedown",s(A,a)),e.addEventListener("keydown",s(N,a)),e.addEventListener("click",s(M,a),{capture:!0,passive:!0}))},(n=u(n="track"))in r?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,c(this,_,(function(){var e,t,r;null===(e=s(g,a))||void 0===e||e.call(a),null===(t=s(w,a))||void 0===t||t.call(a),null===(r=s(E,a))||void 0===r||r.call(a),l(h,a,null)})),c(this,S,(function(e){s(v,a)>=0&&s(y,a)[s(v,a)].removeHighlight(),s(y,a)[e].addHighlight(),l(v,a,e)})),c(this,O,(function(){s(v,a)<=0||s(S,a).call(a,s(v,a)-1)})),c(this,x,(function(){s(v,a)>=s(y,a).length-1||s(S,a).call(a,s(v,a)+1)})),c(this,T,(function(){s(y,a)[s(v,a)].select()})),c(this,P,(function(){s(y,a).forEach((function(e){return e.removeHighlight()}))})),c(this,j,(function(e){switch(l(m,a,!1),e.code){case"ArrowUp":e.preventDefault(),s(O,a).call(a);break;case"ArrowDown":e.preventDefault(),s(x,a).call(a);break;case"Space":case"Enter":e.preventDefault(),s(T,a).call(a);break;case"Escape":e.preventDefault(),s(_,a).call(a)}})),c(this,k,(function(){l(m,a,!0)})),c(this,L,(function(e){var t,r=e.ownerDocument||document,n=function(e){var t=e.createElement("style");return e.head.appendChild(t),{appendRule:function(e){try{t.sheet.insertRule(e,t.sheet.cssRules.length)}catch(e){}},cleanUp:function(){return t.remove()}}}(r);l(E,a,n.cleanUp),(t=n.appendRule)('\n .cbioSelect {\n position: absolute;\n z-index: 2147483647;\n background-color: #6e6e6e;\n box-sizing: border-box;\n padding: 5px;\n font-size: 13px;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;\n border-radius: 5px;\n border: 1px solid #ccc;\n max-height: 300px;\n overflow-y: auto;\n scrollbar-width: thin;\n scrollbar-color: #c0c0c0 transparent;\n }\n '),t("\n .cbioOption {\n color: white;\n padding: 5px;\n border-radius: 5px;\n cursor: pointer;\n display: flex;\n }\n "),t("\n .cbioOptionIcon {\n visibility: hidden;\n margin-right: 5px;\n }\n "),t("\n .cbioOptionSelect .cbioOptionIcon {\n visibility: visible;\n }\n "),t("\n .cbioOptionHighlight.cbioOption {\n background-color: #649eec\n }\n "),t("\n .cbioSelect::-webkit-scrollbar {\n width: 8px;\n }\n "),t("\n .cbioSelect::-webkit-scrollbar-track {\n background: transparent;\n }\n "),t("\n .cbioSelect::-webkit-scrollbar-thumb {\n background-color: #c0c0c0;\n border-radius: 4px;\n }\n "),t("\n .cbioSelect::-webkit-scrollbar-thumb:hover {\n background-color: #a0a0a0;\n }\n ");var i=s(p,a).isRedacted(e),u=function(e,t,r,n,o){var i=e.createElement("div");return i.classList.add("cbioSelect"),t&&i.classList.add("__cbio_ignored"),i.setAttribute("role","combobox"),i.setAttribute("aria-expanded","true"),i.tabIndex=0,i.addEventListener("keydown",r),i.addEventListener("mouseenter",n),i.addEventListener("mousemove",o),{element:i,addOption:function(e){return i.appendChild(e.element)},cleanUp:function(){return i.remove()}}}(r,i,s(j,a),s(P,a),s(k,a));l(w,a,u.cleanUp);var c=Array.from(e.options);return l(y,a,c.map((function(t,n){var o=t.text,i=t.value,c=t.selected,f=function(e,t,r,o){var i=e.createElement("div");i.classList.add("cbioOption"),r&&i.classList.add("cbioOptionSelect"),i.setAttribute("role","option"),i.setAttribute("aria-selected",r),i.addEventListener("mouseup",(function(){return o()})),i.addEventListener("mouseenter",(function(){s(m,a)&&s(S,a).call(a,n)}));var u=e.createElement("img");u.className="cbioOptionIcon",u.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>';var c=e.createElement("span");return c.innerText=t,i.appendChild(u),i.appendChild(c),{element:i,addHighlight:function(){i.classList.add("cbioOptionHighlight"),i.scrollIntoView({block:"nearest",inline:"nearest"})},removeHighlight:function(){return i.classList.remove("cbioOptionHighlight")},select:function(){return o()}}}(r,o,c,(function(){s(b,a)&&(e.value=i,t.selected=!0,e.dispatchEvent(new Event("change",{bubbles:!0})),s(_,a).call(a))}));return c&&(l(v,a,n),f.addHighlight()),u.addOption(f),f}))),r.body.appendChild(u.element),l(g,a,(0,o.autoUpdate)(e,u.element,function(e,t){var r=!1,n=!1;return function(){(0,o.computePosition)(e,t,{placement:"bottom-start",middleware:[(0,o.flip)(),(0,o.size)({apply:function(){n&&Object.assign(t.style,{width:"".concat(e.offsetWidth,"px")})}})]}).then((function(o){var i=o.x,a=o.y;Object.assign(t.style,{top:"".concat(a,"px"),left:"".concat(i,"px")}),r||(n=t.offsetWidth<e.offsetWidth,t.focus()),r=!0}))}}(e,u.element))),{containsElement:function(t){return e===t||u.element===t||!!u.element.contains(t)}}})),c(this,I,(function(e){s(h,a)?s(_,a).call(a):(l(b,a,!1),setTimeout((function(){l(b,a,!0)}),200),l(h,a,s(L,a).call(a,e)))})),c(this,C,(function(e){var t;if(!s(p,a).shouldShowSelect())return!1;if("SELECT"!==(null===(t=e.target)||void 0===t?void 0:t.tagName))return!1;if(e.defaultPrevented)return!1;var r=e.target;return 0!==r.options.length&&!r.multiple})),c(this,A,(function(e){s(C,a).call(a,e)&&0===e.button&&(e.preventDefault(),s(I,a).call(a,e.target))})),c(this,N,(function(e){s(C,a).call(a,e)&&["Space","ArrowDown","ArrowUp"].includes(e.code)&&(e.preventDefault(),s(I,a).call(a,e.target))})),c(this,M,(function(e){var t;!1===(null===(t=s(h,a))||void 0===t?void 0:t.containsElement(e.target))&&s(b,a)&&s(_,a).call(a)})),l(p,this,t),l(d,this,new Set)}));t.default=R},53291:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(40875),r(26099),r(60825),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var n=r(42777),o=r(45264),i=r(66938),a=r(2630);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function d(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t,r){return(t=y(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}var v=function(){return d((function e(){var t=this;f(this,e),h(this,"el",(function(){if(!t._el){var e="http://www.w3.org/2000/svg";t._el=document.createElementNS(e,"svg"),t._el.setAttribute("class","__cbio_ignored"),t._el.setAttribute("viewBox","0 0 35 35"),t._el.setAttribute("fill","none"),t._el.style.position="fixed",t._el.style.zIndex="2147483647",t._el.style.height="32px",t._el.style.width="32px",t._el.style.marginLeft="-16px",t._el.style.marginTop="0px",t._el.style.color="red",t._el.style.transition="opacity 0.5s",t._el.style.opacity=1,t._el.style.pointerEvents="none";var r=document.createElementNS(e,"path");r.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"),r.setAttribute("fill","currentColor"),r.setAttribute("fill-rule","evenodd"),r.setAttribute("clip-rule","evenodd");var n=document.createElementNS(e,"path");n.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"),n.setAttribute("fill","white"),n.setAttribute("fill-rule","evenodd"),n.setAttribute("clip-rule","evenodd"),t._el.appendChild(r),t._el.appendChild(n)}return t._el})),h(this,"calculateOffset",(function(e){var t,r=i.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};var o=n.getBoundingClientRect();return{offsetX:Math.round(o.left),offsetY:Math.round(o.top)}})),h(this,"getOffset",(function(e){var r,n,o=e.offsetX,i=e.offsetY;return void 0!==o&&void 0!==i?{offsetX:o*(null===(r=window.document)||void 0===r||null===(r=r.documentElement)||void 0===r?void 0:r.clientWidth),offsetY:i*(null===(n=window.document)||void 0===n||null===(n=n.documentElement)||void 0===n?void 0:n.clientHeight)}:t.calculateOffset(e)})),h(this,"_updatePosition",(function(e){var r,n,o=e.x,i=e.y;if(!1!==o&&!1!==i){o*=null===(r=window.document)||void 0===r||null===(r=r.documentElement)||void 0===r?void 0:r.clientWidth,i*=null===(n=window.document)||void 0===n||null===(n=n.documentElement)||void 0===n?void 0:n.clientHeight;var a=t.getOffset(e);o+=a.offsetX,i+=a.offsetY,t.el().style.top="".concat(i,"px"),t.el().style.left="".concat(o,"px"),t._lastPosition={x:o,y:i}}})),h(this,"_getRippleStyle",(function(){return{position:"fixed",left:"".concat(t._lastPosition.x-4,"px"),top:"".concat(t._lastPosition.y+4,"px")}})),h(this,"_createRipple",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#e94435",r=(0,n.createRipple)(e,1e3,12,t._getRippleStyle());document.body.appendChild(r)})),h(this,"update",(function(e,r){if("mouse"===e&&o.WindowTracking.isActive())switch(document.body&&!t.el().parentNode&&document.body.appendChild(t.el()),r.colour&&(t.el().style.color=r.colour),r.state){case"mousedown":t._hideAfterTimeout(),t._createRipple(r.colour),t.interval||(t.interval=setInterval((function(){t._createRipple(r.colour)}),500));break;case"mouseup":t._hideAfterTimeout(),clearInterval(t.interval),t.interval=null;break;case"mousemove":t._hideAfterTimeout(),t._updatePosition(r)}})),h(this,"hide",(function(){clearTimeout(t.fadeTimeOut),t.el().parentNode&&t.el().parentNode.removeChild(t.el())}))}),[{key:"_hideAfterTimeout",value:function(){var e=this;clearTimeout(this.fadeTimeOut),this.el().style.opacity=1,this.fadeTimeOut=setTimeout((function(){e.el().style.opacity=0}),5e3)}}])}(),m=function(e){function t(){return f(this,t),e=this,n=[v],r=s(r=t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(r,n||[],s(e).constructor):r.apply(e,n));var e,r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),d(t,[{key:"update",value:function(e,t){this.getInstanceForAgent(t.agent).update(e,t)}}])}(a.MultiAgentManager);t.default=new m},94340:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var n=i(r(85620)),o=i(r(77988));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var f=c((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"el",(function(){return t._el||(t._el=document.createElement("div"),t._el.className="__cbio_ignored cbio_session_controls",t._el.textContent=o.default.tr("END_SESSION"),t._el.style.fontFamily="sans-serif",t._el.style.padding="10px 13px",t._el.style.fontSize="13px",t._el.style.whiteSpace="nowrap",t._el.style.color="white",t._el.style.boxShadow="0px 2px 5px #33333344",t._el.style.cursor="pointer",t._el.style.borderRadius="30px",t._el.style.background="rgb(234, 91, 80)",t._el.style.position="fixed",t._el.style.zIndex="2147483647",t._el.style.bottom="20px",t._el.style.left="50%",t._el.style.transform="translateX(-50%)",t._el.style.userSelect="none",t._el.addEventListener("click",t._onEnd)),t._el})),s(this,"_onEnd",(function(){var e=n.default.currentSession;e&&e.isActive()&&e.end()})),s(this,"show",(function(){document.body&&!t.el().parentNode&&document.body.appendChild(t.el())})),s(this,"hide",(function(){t.el().parentNode&&t.el().parentNode.removeChild(t.el())}))}));t.default=new f},198:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}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 i(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){c(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){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function u(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 f(e,t){return e.get(d(e,t))}function p(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")}r(52675),r(89463),r(2259),r(45700),r(2008),r(89572),r(2892),r(83851),r(81278),r(79432),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(54554),r(26099),r(47764),r(73772),r(23500),r(62953);var h=new WeakMap,y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,T=new WeakMap,P=u((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,h,void 0),l(this,y,void 0),l(this,v,[]),l(this,m,window.matchMedia("(min-width: 768px)")),c(this,"singleTabFullScreen",!1),c(this,"enterFullScreen",(function(){return f(y,t).enterFullScreen()})),c(this,"exitFullScreen",(function(){return f(y,t).exitFullScreen()})),c(this,"getTabCount",(function(){return f(v,t).length})),c(this,"newTab",(function(e,r,n,o,a,u){var c=f(y,t).createTab(e,{onTabClick:function(e){f(E,t).call(t,c)},onClose:a,confirmUnload:u});return c.setIcon(r),c.setTitle(n),c.setIsLoading(o),f(v,t).push(c),f(E,t).call(t,c),f(y,t).showModal(),1===f(v,t).length&&history.pushState({universalProxyOpen:!0},""),i(i({},c),{},{close:function(){return f(w,t).call(t,c)}})})),l(this,b,(function(){1===f(v,t).length&&f(w,t).call(t,f(v,t)[0])})),l(this,g,(function(e){f(v,t).some((function(e){return e.confirmUnload}))&&e.preventDefault()})),c(this,"closeAllTabs",(function(){f(v,t).forEach(f(w,t))})),l(this,w,(function(e){var r=f(v,t).indexOf(e);if(-1!==r){if(e.removeTab(),f(v,t).splice(r,1),!f(v,t).length)return f(y,t).hideModal();var n=f(v,t).length-1;e.isActive()&&(r<=n?f(v,t)[r].show():f(v,t)[n].show())}})),l(this,E,(function(e){f(v,t).forEach((function(e){return e.hide()})),e.show()})),l(this,_,(function(){var e=document.createElement("div"),r=e.attachShadow({mode:"open"}),n=document.createElement("div");n.style.background="rgba(50, 50, 50, 0.4)",n.style.position="fixed",n.style.zIndex="2147483646",n.style.bottom="0",n.style.top="0",n.style.left="0",n.style.right="0",n.style.display="flex",n.style.flexDirection="column",n.style.padding=f(m,t).matches?"25px":"0",r.appendChild(n);var o=f(S,t).call(t);n.appendChild(o.element);var i=f(O,t).call(t);n.appendChild(i.element);var a=null;return{element:n,showModal:function(){t.isVisible||(document.body.appendChild(e),a=document.body.style.overflow,document.body.style.overflow="hidden",t.isVisible=!0,p(h,t,history.length))},hideModal:function(){document.body.removeChild(e),document.body.style.overflow=a,t.isVisible=!1;var r=history.length-f(h,t);r>0&&history.go(-r)},createTab:function(e,r){var n=r.onTabClick,a=r.onClose,u=r.confirmUnload,c=f(x,t).call(t,{onTabClick:n,onCloseClick:function(e){e.stopPropagation(),a()}});o.addButton(c.element);var s=f(T,t).call(t,e);return i.addPanel(s.element),{setIcon:c.setIcon,setTitle:c.setTitle,setIsLoading:c.setIsLoading,showBanner:s.showBanner,hideBanner:s.hideBanner,show:function(){c.setIsActive(!0),s.showPanel()},hide:function(){c.setIsActive(!1),s.hidePanel()},removeTab:function(){o.removeButton(c.element),i.removePanel(s.element)},isActive:function(){return c.isActive},onClose:a,confirmUnload:u}},enterFullScreen:function(){o.hide(),n.style.padding="0"},exitFullScreen:function(){o.show(),n.style.padding=f(m,t).matches?"25px":"0"}}})),l(this,S,(function(){var 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",t.fullScreen&&(e.style.display="none"),{element:e,addButton:function(t){return e.appendChild(t)},removeButton:function(t){return e.removeChild(t)},show:function(){e.style.display="flex"},hide:function(){e.style.display="none "}}})),l(this,O,(function(){var 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:function(t){return e.appendChild(t)},removePanel:function(t){return e.removeChild(t)}}})),l(this,x,(function(e){var t=e.onTabClick,r=e.onCloseClick,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",n.innerHTML='\n <img class="cobrowse-icon" style="flex: 0 0 auto; width: 16px; height: 16px; margin-right: 4px;" />\n <span class="cobrowse-title" style="flex: 1 1 auto; display: block; font-family: sans-serif; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;"></span>\n <button class="cobrowse-close" style="flex: 0 0 auto; width: 24px; height: 24px; border: none; background: none; padding: 4px; cursor: pointer;">\n <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" style="width: 16px; height: 16px;">\n <path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" />\n </svg>\n </button>\n ';var o=n.querySelector(".cobrowse-icon"),i=n.querySelector(".cobrowse-title"),a=n.querySelector(".cobrowse-close");return n.addEventListener("click",t),a.addEventListener("click",r),o.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,o.src=e},setTitle:function(e){this.title=e,i.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,o.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}}})),l(this,T,(function(e){var t=document.createElement("div");t.style.width="100%",t.style.height="100%",t.style.backgroundColor="white",t.style.display="flex",t.style.flexDirection="column";var r=document.createElement("div");r.style.height="30px",r.style.width="100%",r.style.display="flex",r.style.alignItems="center",r.style.justifyContent="center",r.style.backgroundColor="white",r.style.color="black",r.style.fontFamily="sans-serif",r.style.fontSize="13px",r.style.borderBottom="1px solid #d8d8d8";var n=document.createElement("div");return n.style.flex="1",n.appendChild(e),t.appendChild(n),{element:t,showPanel:function(){t.style.display="flex"},hidePanel:function(){t.style.display="none"},showBanner:function(e){r.innerText=e,t.contains(r)||t.prepend(r)},hideBanner:function(){t.contains(r)&&t.removeChild(r)}}})),p(y,this,f(_,this).call(this)),f(m,this).addEventListener("change",(function(e){f(y,t).element.style.padding=e.matches?"25px":"0"})),window.addEventListener("popstate",f(b,this)),window.addEventListener("beforeunload",f(g,this))}));t.default=new P},85732:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var c=i((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"content",(function(e){return'\n <div style="color: white; font-family:sans-serif; margin-bottom: 10px; line-height:140%; padding:10px; font-size: 12px; font-weight: bold; background:#292d33; border-radius:5px; width:250px; box-shadow:0px 0px 15px #33333322;">\n '.concat(e,"\n </div>\n ")})),a(this,"container",(function(){var e=document.createElement("div");return e.style.position="fixed",e.style.zIndex="2147483647",e.style.color="#fff",e.style.top="20px",e.style.right="20px",e.style.transition="all 0.3s linear",e.style.opacity=0,e.style.pointerEvents="none",e})),a(this,"show",(function(e){var r=t.container();r.innerHTML=t.content(e),document.body&&document.body.appendChild(r),setTimeout((function(){r.style.opacity=1}),0),setTimeout((function(){r.style.opacity=0,setTimeout((function(){r.parentNode&&r.parentNode.removeChild(r)}),500)}),8e3)})),a(this,"hide",(function(){t.container().parentNode&&t.container().parentNode.removeChild(t.container())}))}));t.default=new c},33035:function(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,"ConsentDialog",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"LaserOverlay",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"RemoteCursor",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"SessionStateOverlay",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Toast",{enumerable:!0,get:function(){return c.default}});var n=s(r(63024)),o=s(r(86162)),i=s(r(53291)),a=s(r(94340)),u=s(r(65573)),c=s(r(85732));function s(e){return e&&e.__esModule?e:{default:e}}},37487:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(62062),r(26099),r(27495),r(47764),r(5746),r(73772),r(62953),r(3296),r(27208),r(48408);var o=r(50048),i=r(89689),a=r(49715),u=r(44661),c=l(r(88619)),s=l(r(77966));function l(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function p(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function v(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 m(e,t){return e.get(g(e,t))}function b(e,t,r){return e.set(g(e,t),r),r}function g(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 w=new WeakMap,E=new WeakMap,_=new WeakMap,S=new WeakMap;t.default=function(e){function t(e,r){var a,u;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),v(u=function(e,t,r){return t=h(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,d()?Reflect.construct(t,r||[],h(e).constructor):t.apply(e,r))}(this,t),w,void 0),v(u,E,void 0),v(u,_,(function(e,t){var r=m(E,u).createUniversalProxy(e),n=new i.Document(e,t,r,u.type),o=function(e,t){var o=e.url,i=e.icon,a=e.title,u=e.isLoading,c=e.isBlocked,s=t.trusted,l=t.iframe;s&&l===r&&(n.url=o,n.icon=i,n.title=a,n.isLoading=u,n.isBlocked=c)};return s.default.on("document",o),n.once("closed",(function(){s.default.off("document",o)})),n})),v(u,S,(function(e,t){var r=document.createElement("div");r.style.width="100%",r.style.height="100%",r.style.backgroundColor="black";var n=new i.Document(e,t,r,u.type);return n.isLoading=!1,n.isBlocked=!0,n})),b(w,u,(null===(a=r.universalLinks)||void 0===a?void 0:a.map(o.convertLinkToRegExp))||[]),b(E,u,new c.default(e,r.api,r.version)),u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(t,e),r=t,a=[{key:"type",get:function(){return u.NAVIGATION_TYPE.UNIVERSAL}},{key:"shouldHandleEvent",value:function(e){return e.eventPhase!==Event.CAPTURING_PHASE&&!e.defaultPrevented}},{key:"shouldHandle",value:function(e){var t=new URL(e,window.location.origin);return t.search="",m(w,this).some((function(e){return e.test(t)}))}},{key:"handle",value:function(e,t,r){return r((this.shouldHandle(e)?m(_,this):m(S,this))(e,t)),!1}}],a&&f(r.prototype,a),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,a}(a.NavigationHandler)},11191:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892);var c=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"proxify",(function(e){return e})),a(this,"unproxify",(function(e){return e})),a(this,"inUniversalProxy",!1)}));t.default=new c},88619:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(2892),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(23792),r(62010),r(26099),r(47764),r(73772),r(62953),r(3296),r(27208),r(48408);var o=u(r(37609)),i=r(9147),a=u(r(78981));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 p(e,t){return e.get(h(e,t))}function d(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 y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap;t.default=s((function e(t,r,n){var u,c,s,h=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,y,void 0),f(this,v,void 0),f(this,m,void 0),u=this,s=function(e){var t=p(y,h)[o.default].proxyToken(),r=p(y,h)[o.default].proxyUrl(),n=new URL(r,p(v,h)),u="cbioUniversalFrame-".concat((0,a.default)(5)),c={parent_origin:window.location.origin,proxy_path:n.pathname,sdk_version:p(m,h),frame_name:u},s=new i.URLRewriter(n,i.PROXY_PREFIX.UNIVERSAL,t,window.location,c).proxify(e);return p(b,h).call(h,s,u)},(c=l(c="createUniversalProxy"))in u?Object.defineProperty(u,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):u[c]=s,f(this,b,(function(e,t){var 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})),d(y,this,t),d(v,this,r),d(m,this,n)}))},91834:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UniversalHandler",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"UniversalProxy",{enumerable:!0,get:function(){return n.default}});var n=i(r(88619)),o=i(r(37487));function i(e){return e&&e.__esModule?e:{default:e}}},31762:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(89572),r(2892),t.default=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"fromImage",value:function(e){var 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)}},{key:"fromCanvas",value:function(e){var 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;var n=document.createElement("canvas"),o=n.getContext("2d");return n.width=e.width*t,n.height=e.height*t,o.drawImage(e,0,0,n.width,n.height),n.toDataURL("image/webp",r)}}],null&&o(e.prototype,null),t&&o(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},63976:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(45700),r(23792),r(89572),r(2892),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=void 0,r(26099),t.Deferred=i((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.promise=new Promise((function(e,r){t.resolve=e,t.reject=r}))}))},18781:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(2008),r(89572),r(2892),r(26099),t.default=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.rate=t,this.period=r,this._tracked=[]},t=[{key:"limit",value:function(){var e=Date.now()-this.period;return this._tracked=this._tracked.filter((function(t){return t>e})),!(this._tracked.length<this.rate&&(this._tracked.push(Date.now()),1))}}],t&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},44153:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(40875),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(23792),r(89572),r(2892),r(1480),r(26099),r(27495),r(31415),r(47764),r(25440),r(23500),r(62953);var n,o=r(37007),i=(n=r(7350))&&n.__esModule?n:{default:n};function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}var p=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(e=function(e,t,r){return t=c(t),function(e,t){if(t&&("object"==a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,r||[],c(e).constructor):t.apply(e,r))}(this,t),"windows",new Set),l(e,"tap",(function(t){if(!e.windows.has(t)){e.windows.add(t);var r=e,n=t.history.pushState.bind(t.history);t.history.pushState=function(){var e=t.location.href;n.apply(void 0,arguments),r.emit("navigate",t,e)};var o=t.history.replaceState.bind(t.history);t.history.replaceState=function(){var e=t.location.href;o.apply(void 0,arguments),r.emit("navigate",t,e)};var a=t.CSSStyleSheet.prototype.insertRule;t.CSSStyleSheet.prototype.insertRule=function(){var e=a.bind(this).apply(void 0,arguments);return r.emit("stylechange",this),e};var u=t.CSSStyleSheet.prototype.deleteRule;t.CSSStyleSheet.prototype.deleteRule=function(){var e=u.bind(this).apply(void 0,arguments);return r.emit("stylechange",this),e};var c=t.CSSStyleSheet.prototype.replace;t.CSSStyleSheet.prototype.replace=function(){var e=c.bind(this).apply(void 0,arguments);return r.emit("stylechange",this),e};var s=t.CSSStyleSheet.prototype.replaceSync;t.CSSStyleSheet.prototype.replaceSync=function(){var e=s.bind(this).apply(void 0,arguments);return r.emit("stylechange",this),e};var l=t.Element.prototype.attachShadow;t.Element.prototype.attachShadow=function(e){var t=l.bind(this)(e);return r.emit("attachshadow",t),t};var f=function(e){Object.getOwnPropertyNames(e.prototype).forEach((function(t){try{if("function"!=typeof e.prototype[t])return}catch(e){return}var n=e.prototype[t];e.prototype[t]=function(){return this.canvas.__cbio_emit_change||(this.canvas.__cbio_emit_change=(0,i.default)((function(e){return r.emit("canvaschange",e)}),500,{leading:!1,trailing:!0})),this.canvas.__cbio_emit_change(this.canvas),n.apply(this,arguments)}}))};f(t.CanvasRenderingContext2D),f(t.WebGLRenderingContext)}})),l(e,"untap",(function(){})),e.setMaxListeners(200),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e),function(e){return Object.defineProperty(e,"prototype",{writable:!1}),e}(t)}(o.EventEmitter);t.default=new p},40923:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(78125),r(23792),r(34782),r(62010),r(4731),r(60479),r(40875),r(47764),r(23500),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return u.apply(this,arguments)},r(26099);var o=r(66938);function i(){i=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),u=new C(n||[]);return a(i,"_invoke",{value:j(e,r,u)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,a(x,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function a(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function u(){var e;return e=i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o.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.");case 1:case"end":return e.stop()}}),e)})),u=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function u(e){a(i,n,o,u,c,"next",e)}function c(e){a(i,n,o,u,c,"throw",e)}u(void 0)}))},u.apply(this,arguments)}},50048:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertLinkToRegExp=void 0,r(84864),r(27495),r(38781);var n,o=(n=r(37047))&&n.__esModule?n:{default:n};t.convertLinkToRegExp=function(e){return e instanceof RegExp?e:(0,o.default)(e,{flags:"i"})}},42777:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRipple=function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};!function(e,t){var r="".concat(e,"-").concat(t);if(!o.has(r)){var n=document.createElement("style");n.id="cbio_session_ripple_stylesheet_".concat(r),n.innerHTML="\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),o.add(r)}}(t,r);var a=(0,n.hexToRGB)(e,.25),u=document.createElement("div");return u.classList.add("cbio_session_ripple-".concat(t,"-").concat(r)),Object.assign(u.style,{backgroundColor:a},i),setTimeout((function(){u.remove()}),t),u},r(28706),r(23792),r(69085),r(26099),r(31415),r(47764),r(62953);var n=r(98276),o=new Set},38091:function(e,t,r){"use strict";r(52675),r(89463),r(2259),r(23418),r(62010),r(27495),r(38781),Object.defineProperty(t,"__esModule",{value:!0}),t.discoverNodes=function(e,t,r,i){var a=new Set(e.addedNodes?[].slice.call(e.addedNodes):[]);i.has(e.target)||t.add(e.target);var u,c=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw i}}}}(a);try{for(c.s();!(u=c.n()).done;){var s=u.value;n.NodeTree.depthFirst(s,(function(e){t.add(e),i.delete(e),r.add(e)}))}}catch(e){c.e(e)}finally{c.f()}e.removedNodes&&[].slice.call(e.removedNodes).forEach((function(e){n.NodeTree.depthFirst(e,(function(e){t.delete(e),r.delete(e),i.add(e)}))}))},r(23792),r(34782),r(26099),r(31415),r(47764),r(23500),r(62953);var n=r(66938);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}},37387:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCssText=void 0,r(34782),r(26099),t.getCssText=function(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((function(e,t){try{return e+t.cssText}catch(t){return e}}),"")}},97384:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollBarSize=function(){if(null==r){var e,t,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};var r=null},98276:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToRGB=function(e,t){var r=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),o=parseInt(e.slice(5,7),16);return t?"rgba("+r+", "+n+", "+o+", "+t+")":"rgb("+r+", "+n+", "+o+")"},r(34782)},56851:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.default,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("&"),i=new URL(e,r.api).toString().replace("https://","wss://").replace("http://","ws://");return new URL("sockets/1/ws?".concat(n),i).toString()},r(2008),r(23792),r(48598),r(26099),r(27495),r(38781),r(47764),r(25440),r(62953),r(3296),r(27208),r(48408);var n,o=(n=r(85620))&&n.__esModule?n:{default:n}},37609:function(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:{}});var o=e[n][t];return Object.getPrototypeOf(Object.getPrototypeOf(e))[t]=o,Object.defineProperty(e[n],t,{enumerable:!1,value:r,configurable:!0}),r},r(52675),r(89463),r(40875),r(26099);var n=Symbol("protected");t.default=n},78981:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,r="",n=e;n>0;n-=1)r+=t[Math.floor(Math.random()*t.length)];return r},r(28706);var n="abcdefghijklmnopqrstuvwxyz",o="".concat("0123456789").concat(n.toLowerCase()).concat(n.toUpperCase())},58325:function(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()};var r={load:Date.now()}},58973:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function i(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}r(52675),r(89463),r(2259),r(23792),r(26099),r(47764),r(62953),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(45700),r(74423),r(89572),r(2892),r(21699),t.default=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"isHeadless",value:function(){return navigator.userAgent.toLowerCase().includes("headless")}}],null&&o(e.prototype,null),t&&o(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},79883:function(e,t){"use strict";var r,n,o;Object.defineProperty(t,"__esModule",{value:!0}),t.Node=t.MutationObserver=t.EventTarget=t.Event=t.Element=void 0;try{o=document.createElement("iframe"),document.documentElement.appendChild(o),o.style.display="none",o.className="__cbio_ignored",o.width=0,o.height=0}catch(e){console.warn("Failed to create unpolyfill iframe",e)}var i=null!==(r=null===(n=o)||void 0===n?void 0:n.contentWindow)&&void 0!==r?r:window;t.Node=i.Node,t.Element=i.Element,t.MutationObserver=i.MutationObserver,t.Event=i.Event,t.EventTarget=i.EventTarget},96335:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(94170),r(2892),r(59904),r(84185),r(40875),r(10287),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.ActivityDetection=void 0,r(23792),r(26099),r(47764),r(73772),r(62953),r(76031);var o=r(37007),i=a(r(7350));function a(e){return e&&e.__esModule?e:{default:e}}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 d(e,t){return e.get(y(e,t))}function h(e,t,r){return e.set(y(e,t),r),r}function y(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=(0,a(r(51227)).default)("cbio.ActivityDetection"),m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap,S=new WeakMap;t.ActivityDetection=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p(r=function(e,t,r){return t=c(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,r||[],c(e).constructor):t.apply(e,r))}(this,t),m,!1),p(r,b,!1),p(r,g,null),p(r,w,9e5),l(r,"start",(function(){d(m,r)||(h(m,r,!0),v("started"),document.addEventListener("mouseenter",d(E,r),{capture:!0,passive:!0}),document.addEventListener("mouseleave",d(E,r),{capture:!0,passive:!0}),document.addEventListener("mousemove",d(E,r),{capture:!0,passive:!0}),document.addEventListener("touchstart",d(E,r),{capture:!0,passive:!0}),document.addEventListener("touchend",d(E,r),{capture:!0,passive:!0}),document.addEventListener("touchmove",d(E,r),{capture:!0,passive:!0}),document.addEventListener("visibilitychange",d(E,r),{capture:!0}),d(E,r).call(r))})),l(r,"stop",(function(){h(b,r,!1),h(m,r,!1),v("stopped"),clearTimeout(d(g,r)),r.removeAllListeners(),document.removeEventListener("mouseenter",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("mouseleave",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("mousemove",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("touchstart",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("touchend",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("touchmove",d(E,r),{capture:!0,passive:!0}),document.removeEventListener("visibilitychange",d(E,r),{capture:!0})})),l(r,"isActive",(function(){return d(b,r)})),p(r,E,(0,i.default)((function(){d(_,r).call(r),clearTimeout(d(g,r)),h(g,r,setTimeout(d(S,r),d(w,r))),r.emit("activity")}),500,{trailing:!1})),p(r,_,(function(){d(b,r)||(document.hidden?v("window is hidden, not becoming active"):(h(b,r,!0),v("became active"),r.emit("active")))})),p(r,S,(function(){d(b,r)&&(h(b,r,!1),v("became inactive"),r.emit("inactive"))})),e&&h(w,r,e),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(t,e),r=t,Object.defineProperty(r,"prototype",{writable:!1}),r;var r}(o.EventEmitter)},12313:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(2259),r(45700),r(89572),r(94170),r(2892),r(59904),r(84185),r(40875),r(10287),r(60825),Object.defineProperty(t,"__esModule",{value:!0}),t.IFrameBridge=void 0,r(28706),r(50113),r(51629),r(23418),r(74423),r(23792),r(26099),r(31415),r(21699),r(47764),r(73772),r(23500),r(62953);var o,i=r(37007);function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}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 l(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function p(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")}var h=(0,((o=r(51227))&&o.__esModule?o:{default:o}).default)("cbio.IFrameBridge"),y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap,g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap;t.IFrameBridge=function(e){function t(e){var r,o,i,c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(r=function(e,t,r){return t=u(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r))}(this,t),"trustedOrigins",[]),l(r,"automaticTrustedOrigins",[]),s(r,y,null),s(r,v,new WeakMap),s(r,m,new Set),l(r,"start",(function(){window.removeEventListener("message",p(b,r)),window.addEventListener("message",p(b,r)),p(y,r)&&r.send(p(y,r),"init",null,{trustedOnly:!1})})),l(r,"stop",(function(){window.removeEventListener("message",p(b,r))})),s(r,b,(function(e){if(!p(w,r).call(r,e))return h("ignoring message, not a cobrowse message",e.data);r.establishTrust(e.source,e.origin);var t=e.data,n=t.trustedOnly,o=t.event,i=t.data;r.emit(o,i,{source:e.source,origin:e.origin,trusted:r.isTrusted(e.source),iframe:p(_,r).call(r,e.source),fromParent:p(g,r).call(r,e.source),trustedOnly:n})})),s(r,g,(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.parent;return e===t||t.parent!==t&&p(g,r).call(r,e,t.parent)})),s(r,w,(function(e){if(!e.data)return!1;var t=e.data,r=t.cobrowseio,n=t.event;return!!r&&!!n})),s(r,E,(function(e){return r.automaticTrustedOrigins.includes(e)||r.trustedOrigins.includes(e)})),l(r,"isTrusted",(function(e){var t=p(v,r).get(e);return!!t&&p(E,r).call(r,t)})),s(r,_,(function(e){return Array.from(p(m,r)).find((function(t){return t.contentWindow===e}))})),l(r,"send",(function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=o.trustedOnly,a=void 0===i||i,u=o.targetOrigin||p(v,r).get(e);if(a&&!p(E,r).call(r,u))return h("not sending ".concat(t," as target source is not trusted: ").concat(u));a||u||(u="*"),e.postMessage({trustedOnly:a,cobrowseio:!0,event:t,data:n},u)})),l(r,"sendToParent",(function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).trustedOnly,o=void 0===n||n;p(y,r)&&r.send(p(y,r),e,t,{trustedOnly:o})})),l(r,"broadcastToChildren",(function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).trustedOnly,o=void 0===n||n;p(m,r).forEach((function(n){n.contentWindow&&r.send(n.contentWindow,e,t,{trustedOnly:o})}))})),l(r,"track",(function(e){p(m,r).has(e)||(p(m,r).add(e),r.emit("iframe_discovered",e))})),l(r,"remove",(function(e){p(m,r).delete(e)})),l(r,"establishTrust",(function(e,t){e&&p(v,r).set(e,t)})),l(r,"breakTrust",(function(e){p(v,r).has(e)&&p(v,r).set(e,null)})),i=r,c=e,(o=y).set(d(o,i),c),h("iframe bridge constructed in",document,"with parent",p(y,r)),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),function(e){return Object.defineProperty(e,"prototype",{writable:!1}),e}(t)}(i.EventEmitter)},3781:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(51629),r(23418),r(64346),r(94490),r(34782),r(89572),r(23288),r(94170),r(62010),r(4731),r(60479),r(2892),r(59904),r(84185),r(40875),r(10287),r(60825),r(27495),r(38781),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.IFrameRPC=void 0,r(23792),r(36033),r(26099),r(47764),r(73772),r(62953),r(76031);var o=r(37007),i=r(40182);function a(){a=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,c)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,c,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function d(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}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 y(e,t){return e.get(m(e,t))}function v(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")}var b=new WeakMap,g=new WeakMap,w=new WeakMap,E=new WeakMap,_=new WeakMap;t.IFrameRPC=function(e){function t(e,r){var o,c,p,m;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(o=function(e,t,r){return t=f(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,l()?Reflect.construct(t,r||[],f(e).constructor):t.apply(e,r))}(this,t),b,void 0),h(o,g,void 0),h(o,w,new Map),c=o,m=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.timeout,a=void 0===n?0:n,u=r.trustedOnly,c=void 0===u||u;return new Promise((function(r,n){var u=(0,i.v4)();y(w,o).set(u,{resolve:r,reject:n});var s={id:u,method:e,data:t};y(b,o).send(y(g,o),"rpc:request",s,{trustedOnly:c}),a&&setTimeout((function(){var e=y(w,o).get(u);e&&(e.reject(new Error("Request timed out")),y(w,o).delete(u))}),a)}))},(p=d(p="send"))in c?Object.defineProperty(c,p,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[p]=m,h(o,E,function(){var e,t=(e=a().mark((function e(t,r){var n,i,c,s,l,f,p,d,h,v;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.source,i=r.trusted,c=r.trustedOnly,s=t.id,l=t.method,f=t.data,!((p=o.listeners(l)).length>1)){e.next=5;break}throw new Error("only a single RPC listener is allowed per event");case 5:if(0!==p.length){e.next=7;break}return e.abrupt("return");case 7:return d=u(p,1),h=d[0],e.prev=8,e.next=11,h(f,{trusted:i});case 11:v=e.sent,y(b,o).send(n,"rpc:response",{id:s,data:v},{trustedOnly:c}),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(8),y(b,o).send(n,"rpc:response",{id:s,error:e.t0},{trustedOnly:c});case 18:case"end":return e.stop()}}),e,null,[[8,15]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){s(i,n,o,a,u,"next",e)}function u(e){s(i,n,o,a,u,"throw",e)}a(void 0)}))});return function(e,r){return t.apply(this,arguments)}}()),h(o,_,(function(e,t){var r=t.trusted;if(!t.trustedOnly||r){var n=e.error,i=e.id,a=e.data,u=y(w,o).get(i);u&&(n?u.reject(n):u.resolve(a),y(w,o).delete(i))}})),v(b,o,e),v(g,o,r),y(b,o).on("rpc:request",y(E,o)),y(b,o).on("rpc:response",y(_,o)),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),r=t,Object.defineProperty(r,"prototype",{writable:!1}),r;var r}(o.EventEmitter)},95579:function(e,t,r){"use strict";r(84185),Object.defineProperty(t,"__esModule",{value:!0}),t.closestXdocParent=function(){var e=window;do{if(e=e.parent,(0,n.isxdoc)(e))return e}while(e!==e.parent);return null};var n=r(39054)},39054:function(e,t,r){"use strict";function n(e){try{return!e.document&&!1}catch(e){return!0}}r(84185),Object.defineProperty(t,"__esModule",{value:!0}),t.isxdoc=function(e){return!!n(e)||!("IFRAME"!==e.tagName||!n(e.contentWindow))}},67829:function(e,t,r){"use strict";r(84185),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ActivityDetection",{enumerable:!0,get:function(){return n.ActivityDetection}}),Object.defineProperty(t,"CBORSocket",{enumerable:!0,get:function(){return o.CBORSocket}}),Object.defineProperty(t,"IFrameBridge",{enumerable:!0,get:function(){return i.IFrameBridge}}),Object.defineProperty(t,"IFrameRPC",{enumerable:!0,get:function(){return a.IFrameRPC}}),Object.defineProperty(t,"closestXdocParent",{enumerable:!0,get:function(){return c.closestXdocParent}}),Object.defineProperty(t,"isxdoc",{enumerable:!0,get:function(){return u.isxdoc}});var n=r(96335),o=r(11023),i=r(12313),a=r(3781),u=r(39054),c=r(95579)},11023:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r(52675),r(89463),r(66412),r(2259),r(45700),r(78125),r(51629),r(23418),r(64346),r(94490),r(34782),r(89572),r(23288),r(94170),r(62010),r(4731),r(60479),r(2892),r(59904),r(84185),r(40875),r(10287),r(60825),r(27495),r(38781),r(23500),Object.defineProperty(t,"__esModule",{value:!0}),t.CBORSocket=void 0,r(28706),r(2008),r(23792),r(54743),r(11745),r(38309),r(59089),r(26099),r(47764),r(21489),r(81630),r(72170),r(75044),r(69539),r(31694),r(89955),r(33206),r(44496),r(66651),r(12887),r(19369),r(66812),r(8995),r(31575),r(36072),r(88747),r(28845),r(29423),r(57301),r(373),r(86614),r(41405),r(33684),r(73772),r(62953),r(76031);var o,i=(o=r(51227))&&o.__esModule?o:{default:o},a=r(95329),u=r(37007);function c(){c=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),u=new C(n||[]);return i(a,"_invoke",{value:j(e,r,u)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",y="suspendedYield",v="executing",m="completed",b={};function g(){}function w(){}function E(){}var _={};f(_,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(A([])));O&&O!==r&&o.call(O,u)&&(_=O);var x=E.prototype=g.prototype=Object.create(_);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,u,c){var s=d(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return r("throw",e,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,n){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=k(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?m:y,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=m,n.method="throw",n.arg=s.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(o.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(n(t)+" is not iterable")}return w.prototype=E,i(x,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:w,configurable:!0}),w.displayName=f(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,f(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},T(P.prototype),f(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new P(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,u,"next",e)}function u(e){f(i,n,o,a,u,"throw",e)}a(void 0)}))}}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(e,t,r){return(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}function g(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(_(e,t))}function E(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")}var S=(0,i.default)("cbio.CBORSocket"),O=new WeakMap,x=new WeakMap,T=new WeakMap,P=new WeakMap,j=new WeakMap,k=new WeakMap,L=new WeakMap,I=new WeakMap,C=new WeakMap,A=new WeakMap,N=new WeakMap,M=new WeakMap,R=new WeakMap,D=new WeakMap,U=new WeakMap,F=new WeakMap,W=new WeakMap,z=new WeakMap,B=new WeakMap,V=new WeakMap,Y=new WeakMap,G=new WeakMap;t.CBORSocket=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),g(r=function(e,t,r){return t=y(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r))}(this,t),O,void 0),g(r,x,!1),g(r,T,void 0),g(r,P,0),g(r,j,6e4),g(r,k,1e3+Math.floor(1e3*Math.random())),g(r,L,void 0),g(r,I,void 0),g(r,C,void 0),g(r,A,0),g(r,N,0),g(r,M,p(c().mark((function e(){var t,n,o,i,a;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!w(T,r)){e.next=3;break}return console.error("Socket already exists"),e.abrupt("return");case 3:return S("creating ws"),e.next=6,w(O,r).getUrl();case 6:return o=e.sent,e.t0=["cbor"],e.t1=s,e.next=11,null===(t=(n=w(O,r)).getProtocols)||void 0===t?void 0:t.call(n);case 11:if(e.t2=e.sent,e.t2){e.next=14;break}e.t2=[];case 14:if(e.t3=e.t2,e.t4=(0,e.t1)(e.t3),i=e.t0.concat.call(e.t0,e.t4).filter(Boolean),o){e.next=19;break}return e.abrupt("return");case 19:if(!w(x,r)){e.next=21;break}return e.abrupt("return");case 21:if(!w(T,r)){e.next=23;break}return e.abrupt("return");case 23:(a=w(O,r).createWebSocket?w(O,r).createWebSocket(o,i):new WebSocket(o,i)).binaryType="arraybuffer",a.addEventListener("open",w(U,r)),a.addEventListener("message",w(W,r)),a.addEventListener("close",w(V,r)),a.addEventListener("error",w(Y,r)),E(T,r,a);case 30:case"end":return e.stop()}}),e)})))),g(r,R,(function(){if(w(T,r))try{var e;(e=w(T,r)).close.apply(e,arguments)}catch(e){S("error closing socket",e)}E(T,r,null)})),g(r,D,(function(){S("navigator went offline"),w(R,r).call(r),w(B,r).call(r)})),g(r,U,(function(){S("ws opened"),r.emit("open"),clearTimeout(w(I,r)),E(I,r,setTimeout((function(){S("counting open as success"),E(P,r,0)}),5e3))})),g(r,F,(function(e){E(N,r,e)})),g(r,W,(function(e){try{var t=(0,a.decode)(new Uint8Array(e.data)),n=t.event,o=t.data,i=t.ack;return i?w(F,r).call(r,i):n?r.emit("event",n,o):console.error("Socket received message without event",e)}catch(t){return console.error("Error processing message",e.data,t.stack)}})),g(r,z,(function(e){if(0===e)return 0;var t=1+.5*Math.random(),n=Math.floor(Math.pow(300*e,1.2)*t);return Math.min(Math.max(w(k,r),n),w(j,r))})),g(r,B,(function(){if(w(x,r))S("reconnect skipped as socket was closed");else if(w(C,r))S("reconnect skipped as reconnect already scheduled");else{if("undefined"!=typeof navigator&&!1===navigator.onLine)return S("navigator offline"),void E(C,r,setTimeout((function(){E(C,r,null),w(B,r).call(r)}),1e3));var e=w(z,r).call(r,w(P,r));S("reconnecting in",e,"attempts",w(P,r)),E(C,r,setTimeout(p(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(E(C,r,null),!w(x,r)){e.next=5;break}console.warn("tried to reconnect after close"),e.next=9;break;case 5:return E(T,r,null),e.next=8,w(M,r).call(r).catch(w(Y,r));case 8:w(T,r)||w(x,r)||w(B,r).call(r);case 9:case"end":return e.stop()}}),e)}))),e)),E(P,r,w(P,r)+1)}})),g(r,V,(function(){S("ws closed"),r.emit("close"),S("resetting message acks"),E(A,r,0),E(N,r,0),w(x,r)||w(B,r).call(r),clearTimeout(w(I,r))})),g(r,Y,(function(e){w(x,r)?console.info("CobrowseIO: Called error after close.",e):0!==r.listenerCount("error")?r.emit("error",e):console.warn("CobrowseIO: Called handleError without listeners. Please report this.",e)})),g(r,G,(function(){r.send("ping")})),m(r,"messageLag",(function(){return w(N,r)?w(A,r)-w(N,r):0})),m(r,"setMaxReconnectDelay",(function(e){S("set max delay",e),E(j,r,e)})),m(r,"setMinReconnectDelay",(function(e){S("set min delay",e),E(k,r,e)})),m(r,"send",(function(e,t){if(!r.connected)return!1;E(A,r,w(A,r)+1);var n=Date.now(),o=(0,a.encode)(t?{event:e,id:w(A,r),data:t}:{event:e});return S("encoded",e,"".concat(o.byteLength," bytes"),"in","".concat(Date.now()-n,"ms")),w(T,r).send(o),!0})),m(r,"close",(function(){var e;S("close"),E(x,r,!0);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=w(R,r)).call.apply(e,[r].concat(n)),clearTimeout(w(C,r)),clearInterval(w(L,r)),r.removeAllListeners(),"undefined"!=typeof window&&(window.removeEventListener("unload",r.close),window.addEventListener("offline",w(D,r)))})),S("created cbor socket"),E(O,r,e),E(L,r,setInterval(w(G,r),6e4)),"undefined"!=typeof window&&(window.addEventListener("unload",r.close),window.addEventListener("offline",w(D,r))),r.on("error",(function(e){return S("ws errored",e)})),w(B,r).call(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(t,e),function(e,t){return t&&d(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"bufferedAmount",get:function(){return w(T,this)?w(T,this).bufferedAmount:1/0}},{key:"connected",get:function(){return!!w(T,this)&&w(T,this).readyState===w(T,this).OPEN}}])}(u.EventEmitter)},25454:function(e){"use strict";const{entries:t,setPrototypeOf:r,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:i}=Object;let{freeze:a,seal:u,create:c}=Object,{apply:s,construct:l}="undefined"!=typeof Reflect&&Reflect;a||(a=function(e){return e}),u||(u=function(e){return e}),s||(s=function(e,t,r){return e.apply(t,r)}),l||(l=function(e,t){return new e(...t)});const f=O(Array.prototype.forEach),p=O(Array.prototype.pop),d=O(Array.prototype.push),h=O(String.prototype.toLowerCase),y=O(String.prototype.toString),v=O(String.prototype.match),m=O(String.prototype.replace),b=O(String.prototype.indexOf),g=O(String.prototype.trim),w=O(Object.prototype.hasOwnProperty),E=O(RegExp.prototype.test),_=(S=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return l(S,t)});var S;function O(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return s(e,t,n)}}function x(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;r&&r(e,null);let i=t.length;for(;i--;){let r=t[i];if("string"==typeof r){const e=o(r);e!==r&&(n(t)||(t[i]=e),r=e)}e[r]=!0}return e}function T(e){for(let t=0;t<e.length;t++)w(e,t)||(e[t]=null);return e}function P(e){const r=c(null);for(const[n,o]of t(e))w(e,n)&&(Array.isArray(o)?r[n]=T(o):o&&"object"==typeof o&&o.constructor===Object?r[n]=P(o):r[n]=o);return r}function j(e,t){for(;null!==e;){const r=i(e,t);if(r){if(r.get)return O(r.get);if("function"==typeof r.value)return O(r.value)}e=o(e)}return function(){return null}}const k=a(["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","section","select","shadow","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"]),L=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),I=a(["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"]),C=a(["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"]),A=a(["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"]),N=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=a(["#text"]),R=a(["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","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),D=a(["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","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"]),U=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","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"]),F=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),W=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=u(/<%[\w\W]*|[\w\W]*%>/gm),B=u(/\$\{[\w\W]*}/gm),V=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=u(/^aria-[\-\w]+$/),G=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=u(/^(?:\w+script|data):/i),Q=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=u(/^html$/i),K=u(/^[a-z][.\w]*(-[.\w]+)+$/i);var $=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:Q,CUSTOM_ELEMENT:K,DATA_ATTR:V,DOCTYPE_NAME:q,ERB_EXPR:z,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:H,MUSTACHE_EXPR:W,TMPLIT_EXPR:B});const X=function(){return"undefined"==typeof window?null:window};var J=function e(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X();const n=t=>e(t);if(n.version="3.2.3",n.removed=[],!r||!r.document||9!==r.document.nodeType)return n.isSupported=!1,n;let{document:o}=r;const i=o,u=i.currentScript,{DocumentFragment:s,HTMLTemplateElement:l,Node:S,Element:O,NodeFilter:T,NamedNodeMap:W=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:z,DOMParser:B,trustedTypes:V}=r,Y=O.prototype,H=j(Y,"cloneNode"),Q=j(Y,"remove"),K=j(Y,"nextSibling"),J=j(Y,"childNodes"),Z=j(Y,"parentNode");if("function"==typeof l){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let ee,te="";const{implementation:re,createNodeIterator:ne,createDocumentFragment:oe,getElementsByTagName:ie}=o,{importNode:ae}=i;let ue={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof t&&"function"==typeof Z&&re&&void 0!==re.createHTMLDocument;const{MUSTACHE_EXPR:ce,ERB_EXPR:se,TMPLIT_EXPR:le,DATA_ATTR:fe,ARIA_ATTR:pe,IS_SCRIPT_OR_DATA:de,ATTR_WHITESPACE:he,CUSTOM_ELEMENT:ye}=$;let{IS_ALLOWED_URI:ve}=$,me=null;const be=x({},[...k,...L,...I,...A,...M]);let ge=null;const we=x({},[...R,...D,...U,...F]);let Ee=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}})),_e=null,Se=null,Oe=!0,xe=!0,Te=!1,Pe=!0,je=!1,ke=!0,Le=!1,Ie=!1,Ce=!1,Ae=!1,Ne=!1,Me=!1,Re=!0,De=!1,Ue=!0,Fe=!1,We={},ze=null;const Be=x({},["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 Ve=null;const Ye=x({},["audio","video","img","source","image","track"]);let Ge=null;const He=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",qe="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml";let $e=Ke,Xe=!1,Je=null;const Ze=x({},[Qe,qe,Ke],y);let et=x({},["mi","mo","mn","ms","mtext"]),tt=x({},["annotation-xml"]);const rt=x({},["title","style","font","a","script"]);let nt=null;const ot=["application/xhtml+xml","text/html"];let it=null,at=null;const ut=o.createElement("form"),ct=function(e){return e instanceof RegExp||e instanceof Function},st=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!at||at!==e){if(e&&"object"==typeof e||(e={}),e=P(e),nt=-1===ot.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,it="application/xhtml+xml"===nt?y:h,me=w(e,"ALLOWED_TAGS")?x({},e.ALLOWED_TAGS,it):be,ge=w(e,"ALLOWED_ATTR")?x({},e.ALLOWED_ATTR,it):we,Je=w(e,"ALLOWED_NAMESPACES")?x({},e.ALLOWED_NAMESPACES,y):Ze,Ge=w(e,"ADD_URI_SAFE_ATTR")?x(P(He),e.ADD_URI_SAFE_ATTR,it):He,Ve=w(e,"ADD_DATA_URI_TAGS")?x(P(Ye),e.ADD_DATA_URI_TAGS,it):Ye,ze=w(e,"FORBID_CONTENTS")?x({},e.FORBID_CONTENTS,it):Be,_e=w(e,"FORBID_TAGS")?x({},e.FORBID_TAGS,it):{},Se=w(e,"FORBID_ATTR")?x({},e.FORBID_ATTR,it):{},We=!!w(e,"USE_PROFILES")&&e.USE_PROFILES,Oe=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,je=e.SAFE_FOR_TEMPLATES||!1,ke=!1!==e.SAFE_FOR_XML,Le=e.WHOLE_DOCUMENT||!1,Ae=e.RETURN_DOM||!1,Ne=e.RETURN_DOM_FRAGMENT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Ce=e.FORCE_BODY||!1,Re=!1!==e.SANITIZE_DOM,De=e.SANITIZE_NAMED_PROPS||!1,Ue=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||G,$e=e.NAMESPACE||Ke,et=e.MATHML_TEXT_INTEGRATION_POINTS||et,tt=e.HTML_INTEGRATION_POINTS||tt,Ee=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ee.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ee.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ee.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),je&&(xe=!1),Ne&&(Ae=!0),We&&(me=x({},M),ge=[],!0===We.html&&(x(me,k),x(ge,R)),!0===We.svg&&(x(me,L),x(ge,D),x(ge,F)),!0===We.svgFilters&&(x(me,I),x(ge,D),x(ge,F)),!0===We.mathMl&&(x(me,A),x(ge,U),x(ge,F))),e.ADD_TAGS&&(me===be&&(me=P(me)),x(me,e.ADD_TAGS,it)),e.ADD_ATTR&&(ge===we&&(ge=P(ge)),x(ge,e.ADD_ATTR,it)),e.ADD_URI_SAFE_ATTR&&x(Ge,e.ADD_URI_SAFE_ATTR,it),e.FORBID_CONTENTS&&(ze===Be&&(ze=P(ze)),x(ze,e.FORBID_CONTENTS,it)),Ue&&(me["#text"]=!0),Le&&x(me,["html","head","body"]),me.table&&(x(me,["tbody"]),delete _e.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ee=e.TRUSTED_TYPES_POLICY,te=ee.createHTML("")}else void 0===ee&&(ee=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 o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(V,u)),null!==ee&&"string"==typeof te&&(te=ee.createHTML(""));a&&a(e),at=e}},lt=x({},[...L,...I,...C]),ft=x({},[...A,...N]),pt=function(e){d(n.removed,{element:e});try{Z(e).removeChild(e)}catch(t){Q(e)}},dt=function(e,t){try{d(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){d(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Ae||Ne)try{pt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ht=function(e){let t=null,r=null;if(Ce)e="<remove></remove>"+e;else{const t=v(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===nt&&$e===Ke&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const n=ee?ee.createHTML(e):e;if($e===Ke)try{t=(new B).parseFromString(n,nt)}catch(e){}if(!t||!t.documentElement){t=re.createDocument($e,"template",null);try{t.documentElement.innerHTML=Xe?te:n}catch(e){}}const i=t.body||t.documentElement;return e&&r&&i.insertBefore(o.createTextNode(r),i.childNodes[0]||null),$e===Ke?ie.call(t,Le?"html":"body")[0]:Le?t.documentElement:i},yt=function(e){return ne.call(e.ownerDocument||e,e,T.SHOW_ELEMENT|T.SHOW_COMMENT|T.SHOW_TEXT|T.SHOW_PROCESSING_INSTRUCTION|T.SHOW_CDATA_SECTION,null)},vt=function(e){return e instanceof z&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof W)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},mt=function(e){return"function"==typeof S&&e instanceof S};function bt(e,t,r){f(e,(e=>{e.call(n,t,r,at)}))}const gt=function(e){let t=null;if(bt(ue.beforeSanitizeElements,e,null),vt(e))return pt(e),!0;const r=it(e.nodeName);if(bt(ue.uponSanitizeElement,e,{tagName:r,allowedTags:me}),e.hasChildNodes()&&!mt(e.firstElementChild)&&E(/<[/\w]/g,e.innerHTML)&&E(/<[/\w]/g,e.textContent))return pt(e),!0;if(7===e.nodeType)return pt(e),!0;if(ke&&8===e.nodeType&&E(/<[/\w]/g,e.data))return pt(e),!0;if(!me[r]||_e[r]){if(!_e[r]&&Et(r)){if(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,r))return!1;if(Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(r))return!1}if(Ue&&!ze[r]){const t=Z(e)||e.parentNode,r=J(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const o=H(r[n],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,K(e))}}return pt(e),!0}return e instanceof O&&!function(e){let t=Z(e);t&&t.tagName||(t={namespaceURI:$e,tagName:"template"});const r=h(e.tagName),n=h(t.tagName);return!!Je[e.namespaceURI]&&(e.namespaceURI===qe?t.namespaceURI===Ke?"svg"===r:t.namespaceURI===Qe?"svg"===r&&("annotation-xml"===n||et[n]):Boolean(lt[r]):e.namespaceURI===Qe?t.namespaceURI===Ke?"math"===r:t.namespaceURI===qe?"math"===r&&tt[n]:Boolean(ft[r]):e.namespaceURI===Ke?!(t.namespaceURI===qe&&!tt[n])&&!(t.namespaceURI===Qe&&!et[n])&&!ft[r]&&(rt[r]||!lt[r]):!("application/xhtml+xml"!==nt||!Je[e.namespaceURI]))}(e)?(pt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!E(/<\/no(script|embed|frames)/i,e.innerHTML)?(je&&3===e.nodeType&&(t=e.textContent,f([ce,se,le],(e=>{t=m(t,e," ")})),e.textContent!==t&&(d(n.removed,{element:e.cloneNode()}),e.textContent=t)),bt(ue.afterSanitizeElements,e,null),!1):(pt(e),!0)},wt=function(e,t,r){if(Re&&("id"===t||"name"===t)&&(r in o||r in ut))return!1;if(xe&&!Se[t]&&E(fe,t));else if(Oe&&E(pe,t));else if(!ge[t]||Se[t]){if(!(Et(e)&&(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,e)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(e))&&(Ee.attributeNameCheck instanceof RegExp&&E(Ee.attributeNameCheck,t)||Ee.attributeNameCheck instanceof Function&&Ee.attributeNameCheck(t))||"is"===t&&Ee.allowCustomizedBuiltInElements&&(Ee.tagNameCheck instanceof RegExp&&E(Ee.tagNameCheck,r)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(r))))return!1}else if(Ge[t]);else if(E(ve,m(r,he,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(r,"data:")||!Ve[e])if(Te&&!E(de,m(r,he,"")));else if(r)return!1;return!0},Et=function(e){return"annotation-xml"!==e&&v(e,ye)},_t=function(e){bt(ue.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||vt(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ge,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:a,namespaceURI:u,value:c}=i,s=it(a);let l="value"===a?c:g(c);if(r.attrName=s,r.attrValue=l,r.keepAttr=!0,r.forceKeepAttr=void 0,bt(ue.uponSanitizeAttribute,e,r),l=r.attrValue,!De||"id"!==s&&"name"!==s||(dt(a,e),l="user-content-"+l),ke&&E(/((--!?|])>)|<\/(style|title)/i,l)){dt(a,e);continue}if(r.forceKeepAttr)continue;if(dt(a,e),!r.keepAttr)continue;if(!Pe&&E(/\/>/i,l)){dt(a,e);continue}je&&f([ce,se,le],(e=>{l=m(l,e," ")}));const d=it(e.nodeName);if(wt(d,s,l)){if(ee&&"object"==typeof V&&"function"==typeof V.getAttributeType)if(u);else switch(V.getAttributeType(d,s)){case"TrustedHTML":l=ee.createHTML(l);break;case"TrustedScriptURL":l=ee.createScriptURL(l)}try{u?e.setAttributeNS(u,a,l):e.setAttribute(a,l),vt(e)?pt(e):p(n.removed)}catch(e){}}}bt(ue.afterSanitizeAttributes,e,null)},St=function e(t){let r=null;const n=yt(t);for(bt(ue.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)bt(ue.uponSanitizeShadowNode,r,null),gt(r),_t(r),r.content instanceof s&&e(r.content);bt(ue.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,u=null;if(Xe=!e,Xe&&(e="\x3c!--\x3e"),"string"!=typeof e&&!mt(e)){if("function"!=typeof e.toString)throw _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Ie||st(t),n.removed=[],"string"==typeof e&&(Fe=!1),Fe){if(e.nodeName){const t=it(e.nodeName);if(!me[t]||_e[t])throw _("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof S)r=ht("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Ae&&!je&&!Le&&-1===e.indexOf("<"))return ee&&Me?ee.createHTML(e):e;if(r=ht(e),!r)return Ae?null:Me?te:""}r&&Ce&&pt(r.firstChild);const c=yt(Fe?e:r);for(;a=c.nextNode();)gt(a),_t(a),a.content instanceof s&&St(a.content);if(Fe)return e;if(Ae){if(Ne)for(u=oe.call(r.ownerDocument);r.firstChild;)u.appendChild(r.firstChild);else u=r;return(ge.shadowroot||ge.shadowrootmode)&&(u=ae.call(i,u,!0)),u}let l=Le?r.outerHTML:r.innerHTML;return Le&&me["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&E(q,r.ownerDocument.doctype.name)&&(l="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+l),je&&f([ce,se,le],(e=>{l=m(l,e," ")})),ee&&Me?ee.createHTML(l):l},n.setConfig=function(){st(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ie=!0},n.clearConfig=function(){at=null,Ie=!1},n.isValidAttribute=function(e,t,r){at||st({});const n=it(e),o=it(t);return wt(n,o,r)},n.addHook=function(e,t){"function"==typeof t&&d(ue[e],t)},n.removeHook=function(e){return p(ue[e])},n.removeHooks=function(e){ue[e]=[]},n.removeAllHooks=function(){ue={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();e.exports=J},95553:function(e){e.exports=function(e,t){if("object"==typeof t&&null!==t){var r,n=Object.getPrototypeOf(t);for(r in n)if(!(r in e)){var o=Object.getOwnPropertyDescriptor(n,r);o&&Object.defineProperty(e,r,o)}for(r in t)r in e||(e[r]=t[r])}}},78986:function(e,t,r){!function(e){try{new window.CustomEvent("event",{bubbles:!0,cancelable:!0})}catch(n){var t=window.CustomEvent||window.Event,r=function(t,r){r=r||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.detail?{}:r.detail),e(n,this),n};r.prototype=t.prototype,window.CustomEvent=r}}(r(95553))},92143:function(e,t,r){!function(e){try{new window.Event("event",{bubbles:!0,cancelable:!0})}catch(n){var t=window.Event,r=function(t,r){r=r||{};var n=document.createEvent("Event");return n.initEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.detail?{}:r.detail),e(n,this),n};r.prototype=t.prototype,window.Event=r}}(r(95553))},52631:function(e,t,r){!function(e){try{new window.FocusEvent("event",{bubbles:!0,cancelable:!0})}catch(n){var t=window.FocusEvent||window.Event,r=function(t,r){r=r||{};var n=document.createEvent("FocusEvent");return n.initFocusEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.view?window:r.view,void 0===r.detail?{}:r.detail,void 0===r.relatedTarget?null:r.relatedTarget),e(n,this),n};r.prototype=t.prototype,window.FocusEvent=r}}(r(95553))},17300:function(e,t,r){!function(e){try{new window.KeyboardEvent("event",{bubbles:!0,cancelable:!0})}catch(n){var t=window.KeyboardEvent||window.Event,r=function(t,r){r=r||{};var n=document.createEvent("KeyboardEvent");return n.initKeyboardEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.view?window:r.view,void 0===r.key?"":r.key,void 0===r.location?0:r.location,(!0===r.ctrlKey?"Control ":"")+(!0===r.altKey?"Alt ":"")+(!0===r.shiftKey?"Shift ":"")+(!0===r.metaKey?"Meta ":""),void 0!==r.repeat&&r.repeat,void 0===r.locale?navigator.language:r.locale),n.keyCode=void 0===r.keyCode?0:r.keyCode,n.code=void 0===r.code?"":r.code,n.charCode=void 0===r.charCode?0:r.charCode,n.char=void 0===r.charCode?"":r.charCode,n.which=void 0===r.which?0:r.which,e(n,this),n};r.prototype=t.prototype,window.KeyboardEvent=r}}(r(95553))},86866:function(e,t,r){!function(e){try{new window.MouseEvent("event",{bubbles:!0,cancelable:!0})}catch(n){var t=window.MouseEvent||window.Event,r=function(t,r){r=r||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.view?window:r.view,void 0===r.detail?0:r.detail,void 0===r.screenX?0:r.screenX,void 0===r.screenY?0:r.screenY,void 0===r.clientX?0:r.clientX,void 0===r.clientY?0:r.clientY,void 0!==r.ctrlKey&&r.ctrlKey,void 0!==r.altKey&&r.altKey,void 0!==r.shiftKey&&r.shiftKey,void 0!==r.metaKey&&r.metaKey,void 0===r.button?0:r.button,void 0===r.relatedTarget?null:r.relatedTarget),n.buttons=void 0===r.buttons?0:r.buttons,n.region=void 0===r.region?null:r.region,e(n,this),n};r.prototype=t.prototype,window.MouseEvent=r}}(r(95553))},28048:function(e,t,r){!function(e){try{new window.PointerEvent("event",{bubbles:!0,cancelable:!0})}catch(o){var t=window.PointerEvent||window.Event,r=function(t,r){r=r||{};var n=document.createEvent("PointerEvent");return n.initPointerEvent(t,void 0!==r.bubbles&&r.bubbles,void 0!==r.cancelable&&r.cancelable,void 0===r.view?window:r.view,void 0===r.detail?0:r.detail,void 0===r.screenX?0:r.screenX,void 0===r.screenY?0:r.screenY,void 0===r.clientX?0:r.clientX,void 0===r.clientY?0:r.clientY,void 0!==r.ctrlKey&&r.ctrlKey,void 0!==r.altKey&&r.altKey,void 0!==r.shiftKey&&r.shiftKey,void 0!==r.metaKey&&r.metaKey,void 0===r.button?0:r.button,void 0===r.relatedTarget?null:r.relatedTarget,void 0===r.offsetX?0:r.offsetX,void 0===r.offsetY?0:r.offsetY,void 0===r.width?1:r.width,void 0===r.height?1:r.height,void 0===r.pressure?0:r.pressure,void 0===r.twist?0:r.twist,void 0===r.tiltX?0:r.tiltX,void 0===r.tiltY?0:r.tiltY,void 0===r.pointerId?0:r.pointerId,void 0===r.pointerType?"":r.pointerType,void 0===r.hwTimestamp?0:r.hwTimestamp,void 0!==r.isPrimary&&r.isPrimary),n.tangentialPressure=void 0===r.tangentialPressure?0:r.tangentialPressure,e(n,this),n};r.prototype=t.prototype;var n=Object.getOwnPropertyDescriptor(r.prototype,"rotation");n&&Object.defineProperty(r.prototype,"twist",n),window.PointerEvent=r}}(r(95553))},33019:function(e,t,r){r(92143),r(78986),r(86866),r(17300),r(52631),r(28048)},37007:function(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 o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function o(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}y(e,t,i,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&y(e,"error",t,{once:!0})}(e,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function u(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?i.defaultMaxListeners:e._maxListeners}function s(e,t,r,n){var o,i,a,s;if(u(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=c(e))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function l(){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 f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=l.bind(n);return o.listener=r,n.wrapFn=o,o}function p(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]: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}(o):h(o,o.length)}function d(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 h(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function y(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 o(i){n.once&&e.removeEventListener(t,o),r(i)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.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},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(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},i.prototype.getMaxListeners=function(){return c(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)n(c,this,t);else{var s=c.length,l=h(c,s);for(r=0;r<s;++r)n(l[r],this,t)}return!0},i.prototype.addListener=function(e,t){return s(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return s(this,e,t,!0)},i.prototype.once=function(e,t){return u(t),this.on(e,f(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,f(this,e,t)),this},i.prototype.removeListener=function(e,t){var r,n,o,i,a;if(u(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(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.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 o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);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},i.prototype.listeners=function(e){return p(this,e,!0)},i.prototype.rawListeners=function(e){return p(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},i.prototype.listenerCount=d,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},32017:function(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,o,i;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!=o--;)if(!e(t[o],r[o]))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=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!=o--;){var a=i[o];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}},37047:function(e){e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Expected a string");for(var r,n=String(e),o="",i=!!t&&!!t.extended,a=!!t&&!!t.globstar,u=!1,c=t&&"string"==typeof t.flags?t.flags:"",s=0,l=n.length;s<l;s++)switch(r=n[s]){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":o+="\\"+r;break;case"?":if(i){o+=".";break}case"[":case"]":if(i){o+=r;break}case"{":if(i){u=!0,o+="(";break}case"}":if(i){u=!1,o+=")";break}case",":if(u){o+="|";break}o+="\\"+r;break;case"*":for(var f=n[s-1],p=1;"*"===n[s+1];)p++,s++;var d=n[s+1];a?!(p>1)||"/"!==f&&void 0!==f||"/"!==d&&void 0!==d?o+="([^/]*)":(o+="((?:[^/]*(?:/|$))*)",s++):o+=".*";break;default:o+=r}return c&&~c.indexOf("g")||(o="^"+o+"$"),new RegExp(o,c)}},2733:function(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 o(t,o,i){if("undefined"!=typeof document){"number"==typeof(i=e({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var u in i)i[u]&&(a+="; "+u,!0!==i[u]&&(a+="="+i[u].split(";")[0]));return document.cookie=t+"="+r.write(o,t)+a}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},o=0;o<t.length;o++){var i=t[o].split("="),a=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(n[u]=r.read(a,u),e===u)break}catch(e){}}return e?n[e]:n}},remove:function(t,r){o(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:function(e,t,r){var n=r(56110)(r(9325),"DataView");e.exports=n},21549:function(e,t,r){var n=r(22032),o=r(63862),i=r(66721),a=r(12749),u=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=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},80079:function(e,t,r){var n=r(63702),o=r(70080),i=r(24739),a=r(48655),u=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=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},68223:function(e,t,r){var n=r(56110)(r(9325),"Map");e.exports=n},53661:function(e,t,r){var n=r(63040),o=r(17670),i=r(90289),a=r(4509),u=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=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,e.exports=c},32804:function(e,t,r){var n=r(56110)(r(9325),"Promise");e.exports=n},76545:function(e,t,r){var n=r(56110)(r(9325),"Set");e.exports=n},38859:function(e,t,r){var n=r(53661),o=r(31380),i=r(51459);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},37217:function(e,t,r){var n=r(80079),o=r(51420),i=r(90938),a=r(63605),u=r(29817),c=r(80945);function s(e){var t=this.__data__=new n(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=u,s.prototype.set=c,e.exports=s},51873:function(e,t,r){var n=r(9325).Symbol;e.exports=n},37828:function(e,t,r){var n=r(9325).Uint8Array;e.exports=n},28303:function(e,t,r){var n=r(56110)(r(9325),"WeakMap");e.exports=n},91033:function(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:function(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:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}},70695:function(e,t,r){var n=r(78096),o=r(72428),i=r(56449),a=r(3656),u=r(30361),c=r(37167),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&o(e),f=!r&&!l&&a(e),p=!r&&!l&&!f&&c(e),d=r||l||f||p,h=d?n(e.length,String):[],y=h.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,y))||h.push(v);return h}},34932:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},14528:function(e){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},14248:function(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:function(e,t,r){var n=r(43360),o=r(75288),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];i.call(e,t)&&o(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},26025:function(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:function(e,t,r){var n=r(21791),o=r(95950);e.exports=function(e,t){return e&&n(t,o(t),e)}},43838:function(e,t,r){var n=r(21791),o=r(37241);e.exports=function(e,t){return e&&n(t,o(t),e)}},43360:function(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:function(e,t,r){var n=r(37217),o=r(83729),i=r(16547),a=r(74733),u=r(43838),c=r(93290),s=r(23007),l=r(92271),f=r(48948),p=r(50002),d=r(83349),h=r(5861),y=r(76189),v=r(77199),m=r(35529),b=r(56449),g=r(3656),w=r(87730),E=r(23805),_=r(38440),S=r(95950),O=r(37241),x="[object Arguments]",T="[object Function]",P="[object Object]",j={};j[x]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object DataView]"]=j["[object Boolean]"]=j["[object Date]"]=j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Map]"]=j["[object Number]"]=j[P]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object Symbol]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Error]"]=j[T]=j["[object WeakMap]"]=!1,e.exports=function e(t,r,k,L,I,C){var A,N=1&r,M=2&r,R=4&r;if(k&&(A=I?k(t,L,I,C):k(t)),void 0!==A)return A;if(!E(t))return t;var D=b(t);if(D){if(A=y(t),!N)return s(t,A)}else{var U=h(t),F=U==T||"[object GeneratorFunction]"==U;if(g(t))return c(t,N);if(U==P||U==x||F&&!I){if(A=M||F?{}:m(t),!N)return M?f(t,u(A,t)):l(t,a(A,t))}else{if(!j[U])return I?t:{};A=v(t,U,N)}}C||(C=new n);var W=C.get(t);if(W)return W;C.set(t,A),_(t)?t.forEach((function(n){A.add(e(n,r,k,n,t,C))})):w(t)&&t.forEach((function(n,o){A.set(o,e(n,r,k,o,t,C))}));var z=D?void 0:(R?M?d:p:M?O:S)(t);return o(z||t,(function(n,o){z&&(n=t[o=n]),i(A,o,e(n,r,k,o,t,C))})),A}},39344:function(e,t,r){var n=r(23805),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},83120:function(e,t,r){var n=r(14528),o=r(45891);e.exports=function e(t,r,i,a,u){var c=-1,s=t.length;for(i||(i=o),u||(u=[]);++c<s;){var l=t[c];r>0&&i(l)?r>1?e(l,r-1,i,a,u):n(u,l):a||(u[u.length]=l)}return u}},47422:function(e,t,r){var n=r(31769),o=r(77797);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},82199:function(e,t,r){var n=r(14528),o=r(56449);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},72552:function(e,t,r){var n=r(51873),o=r(659),i=r(59350),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},27534:function(e,t,r){var n=r(72552),o=r(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},60270:function(e,t,r){var n=r(87068),o=r(40346);e.exports=function e(t,r,i,a,u){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,i,a,e,u))}},87068:function(e,t,r){var n=r(37217),o=r(25911),i=r(21986),a=r(50689),u=r(5861),c=r(56449),s=r(3656),l=r(37167),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,y,v,m){var b=c(e),g=c(t),w=b?p:u(e),E=g?p:u(t),_=(w=w==f?d:w)==d,S=(E=E==f?d:E)==d,O=w==E;if(O&&s(e)){if(!s(t))return!1;b=!0,_=!1}if(O&&!_)return m||(m=new n),b||l(e)?o(e,t,r,y,v,m):i(e,t,w,r,y,v,m);if(!(1&r)){var x=_&&h.call(e,"__wrapped__"),T=S&&h.call(t,"__wrapped__");if(x||T){var P=x?e.value():e,j=T?t.value():t;return m||(m=new n),v(P,j,r,y,m)}}return!!O&&(m||(m=new n),a(e,t,r,y,v,m))}},29172:function(e,t,r){var n=r(5861),o=r(40346);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},41799:function(e,t,r){var n=r(37217),o=r(60270);e.exports=function(e,t,r,i){var a=r.length,u=a,c=!i;if(null==e)return!u;for(e=Object(e);a--;){var s=r[a];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<u;){var l=(s=r[a])[0],f=e[l],p=s[1];if(c&&s[2]){if(void 0===f&&!(l in e))return!1}else{var d=new n;if(i)var h=i(f,p,l,e,t,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},45083:function(e,t,r){var n=r(1882),o=r(87296),i=r(23805),a=r(47473),u=/^\[object .+?Constructor\]$/,c=Function.prototype,s=Object.prototype,l=c.toString,f=s.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?p:u).test(a(e))}},16038:function(e,t,r){var n=r(5861),o=r(40346);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},4901:function(e,t,r){var n=r(72552),o=r(30294),i=r(40346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},88984:function(e,t,r){var n=r(55527),o=r(3650),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},72903:function(e,t,r){var n=r(23805),o=r(55527),i=r(90181),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var u in e)("constructor"!=u||!t&&a.call(e,u))&&r.push(u);return r}},19570:function(e,t,r){var n=r(37334),o=r(93243),i=r(83488),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=a},25160:function(e){e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}},78096:function(e){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},77556:function(e,t,r){var n=r(51873),o=r(34932),i=r(56449),a=r(44394),u=n?n.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},54128:function(e,t,r){var n=r(31800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},27301:function(e){e.exports=function(e){return function(t){return e(t)}}},19931:function(e,t,r){var n=r(31769),o=r(68090),i=r(68969),a=r(77797);e.exports=function(e,t){return t=n(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},19219:function(e){e.exports=function(e,t){return e.has(t)}},31769:function(e,t,r){var n=r(56449),o=r(28586),i=r(61802),a=r(13222);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},49653:function(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:function(e,t,r){e=r.nmd(e);var n=r(9325),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=u?u(r):new e.constructor(r);return e.copy(n),n}},76169:function(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:function(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:function(e,t,r){var n=r(51873),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},71961:function(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:function(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:function(e,t,r){var n=r(16547),o=r(43360);e.exports=function(e,t,r,i){var a=!r;r||(r={});for(var u=-1,c=t.length;++u<c;){var s=t[u],l=i?i(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),a?o(r,s,l):n(r,s,l)}return r}},92271:function(e,t,r){var n=r(21791),o=r(4664);e.exports=function(e,t){return n(e,o(e),t)}},48948:function(e,t,r){var n=r(21791),o=r(86375);e.exports=function(e,t){return n(e,o(e),t)}},55481:function(e,t,r){var n=r(9325)["__core-js_shared__"];e.exports=n},53138:function(e,t,r){var n=r(11331);e.exports=function(e){return n(e)?void 0:e}},93243:function(e,t,r){var n=r(56110),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},25911:function(e,t,r){var n=r(38859),o=r(14248),i=r(19219);e.exports=function(e,t,r,a,u,c){var s=1&r,l=e.length,f=t.length;if(l!=f&&!(s&&f>l))return!1;var p=c.get(e),d=c.get(t);if(p&&d)return p==t&&d==e;var h=-1,y=!0,v=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++h<l;){var m=e[h],b=t[h];if(a)var g=s?a(b,m,h,t,e,c):a(m,b,h,e,t,c);if(void 0!==g){if(g)continue;y=!1;break}if(v){if(!o(t,(function(e,t){if(!i(v,t)&&(m===e||u(m,e,r,a,c)))return v.push(t)}))){y=!1;break}}else if(m!==b&&!u(m,b,r,a,c)){y=!1;break}}return c.delete(e),c.delete(t),y}},21986:function(e,t,r){var n=r(51873),o=r(37828),i=r(75288),a=r(25911),u=r(20317),c=r(84247),s=n?n.prototype:void 0,l=s?s.valueOf:void 0;e.exports=function(e,t,r,n,s,f,p){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||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+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 d=u;case"[object Set]":var h=1&n;if(d||(d=c),e.size!=t.size&&!h)return!1;var y=p.get(e);if(y)return y==t;n|=2,p.set(e,t);var v=a(d(e),d(t),n,s,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},50689:function(e,t,r){var n=r(50002),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,u){var c=1&r,s=n(e),l=s.length;if(l!=n(t).length&&!c)return!1;for(var f=l;f--;){var p=s[f];if(!(c?p in t:o.call(t,p)))return!1}var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var y=!0;u.set(e,t),u.set(t,e);for(var v=c;++f<l;){var m=e[p=s[f]],b=t[p];if(i)var g=c?i(b,m,p,t,e,u):i(m,b,p,e,t,u);if(!(void 0===g?m===b||a(m,b,r,i,u):g)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(y=!1)}return u.delete(e),u.delete(t),y}},38816:function(e,t,r){var n=r(35970),o=r(56757),i=r(32865);e.exports=function(e){return i(o(e,void 0,n),e+"")}},34840:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},50002:function(e,t,r){var n=r(82199),o=r(4664),i=r(95950);e.exports=function(e){return n(e,i,o)}},83349:function(e,t,r){var n=r(82199),o=r(86375),i=r(37241);e.exports=function(e){return n(e,i,o)}},12651:function(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:function(e,t,r){var n=r(30756),o=r(95950);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],a=e[i];t[r]=[i,a,n(a)]}return t}},56110:function(e,t,r){var n=r(45083),o=r(10392);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},28879:function(e,t,r){var n=r(74335)(Object.getPrototypeOf,Object);e.exports=n},659:function(e,t,r){var n=r(51873),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),r=e[u];try{e[u]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[u]=r:delete e[u]),o}},4664:function(e,t,r){var n=r(79770),o=r(63345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=u},86375:function(e,t,r){var n=r(14528),o=r(28879),i=r(4664),a=r(63345),u=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:a;e.exports=u},5861:function(e,t,r){var n=r(55580),o=r(68223),i=r(32804),a=r(76545),u=r(28303),c=r(72552),s=r(47473),l="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",y=s(n),v=s(o),m=s(i),b=s(a),g=s(u),w=c;(n&&w(new n(new ArrayBuffer(1)))!=h||o&&w(new o)!=l||i&&w(i.resolve())!=f||a&&w(new a)!=p||u&&w(new u)!=d)&&(w=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?s(r):"";if(n)switch(n){case y:return h;case v:return l;case m:return f;case b:return p;case g:return d}return t}),e.exports=w},10392:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},22032:function(e,t,r){var n=r(81042);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},63862:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721:function(e,t,r){var n=r(81042),o=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 o.call(t,e)?t[e]:void 0}},12749:function(e,t,r){var n=r(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},35749:function(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:function(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:function(e,t,r){var n=r(49653),o=r(76169),i=r(73201),a=r(93736),u=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 o(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 u(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 i(e);case"[object Symbol]":return a(e)}}},35529:function(e,t,r){var n=r(39344),o=r(28879),i=r(55527);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},45891:function(e,t,r){var n=r(51873),o=r(72428),i=r(56449),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},30361:function(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:function(e,t,r){var n=r(56449),o=r(44394),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},74218:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296:function(e,t,r){var n,o=r(55481),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},55527:function(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},30756:function(e,t,r){var n=r(23805);e.exports=function(e){return e==e&&!n(e)}},63702:function(e){e.exports=function(){this.__data__=[],this.size=0}},70080:function(e,t,r){var n=r(26025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},24739:function(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:function(e,t,r){var n=r(26025);e.exports=function(e){return n(this.__data__,e)>-1}},31175:function(e,t,r){var n=r(26025);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},63040:function(e,t,r){var n=r(21549),o=r(80079),i=r(68223);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},17670:function(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:function(e,t,r){var n=r(12651);e.exports=function(e){return n(this,e).get(e)}},4509:function(e,t,r){var n=r(12651);e.exports=function(e){return n(this,e).has(e)}},72949:function(e,t,r){var n=r(12651);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},20317:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},62224:function(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:function(e,t,r){var n=r(56110)(Object,"create");e.exports=n},3650:function(e,t,r){var n=r(74335)(Object.keys,Object);e.exports=n},90181:function(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},86009:function(e,t,r){e=r.nmd(e);var n=r(34840),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,u=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=u},59350:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},56757:function(e,t,r){var n=r(91033),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),c=Array(u);++a<u;)c[a]=i[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=i[a];return s[t]=r(c),n(e,this,s)}}},68969:function(e,t,r){var n=r(47422),o=r(25160);e.exports=function(e,t){return t.length<2?e:n(e,o(t,0,-1))}},9325:function(e,t,r){var n=r(34840),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},31380:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459:function(e){e.exports=function(e){return this.__data__.has(e)}},84247:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},32865:function(e,t,r){var n=r(19570),o=r(51811)(n);e.exports=o},51811:function(e){var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var o=t(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},51420:function(e,t,r){var n=r(80079);e.exports=function(){this.__data__=new n,this.size=0}},90938:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},63605:function(e){e.exports=function(e){return this.__data__.get(e)}},29817:function(e){e.exports=function(e){return this.__data__.has(e)}},80945:function(e,t,r){var n=r(80079),o=r(68223),i=r(53661);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},61802:function(e,t,r){var n=r(62224),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=a},77797:function(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:function(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:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},37334:function(e){e.exports=function(e){return function(){return e}}},38221:function(e,t,r){var n=r(23805),o=r(10124),i=r(99374),a=Math.max,u=Math.min;e.exports=function(e,t,r){var c,s,l,f,p,d,h=0,y=!1,v=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var r=c,n=s;return c=s=void 0,h=t,f=e.apply(n,r)}function g(e){var r=e-d;return void 0===d||r>=t||r<0||v&&e-h>=l}function w(){var e=o();if(g(e))return E(e);p=setTimeout(w,function(e){var r=t-(e-d);return v?u(r,l-(e-h)):r}(e))}function E(e){return p=void 0,m&&c?b(e):(c=s=void 0,f)}function _(){var e=o(),r=g(e);if(c=arguments,s=this,d=e,r){if(void 0===p)return function(e){return h=e,p=setTimeout(w,t),y?b(e):f}(d);if(v)return clearTimeout(p),p=setTimeout(w,t),b(d)}return void 0===p&&(p=setTimeout(w,t)),f}return t=i(t)||0,n(r)&&(y=!!r.leading,l=(v="maxWait"in r)?a(i(r.maxWait)||0,t):l,m="trailing"in r?!!r.trailing:m),_.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=s=p=void 0},_.flush=function(){return void 0===p?f:E(o())},_}},75288:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970:function(e,t,r){var n=r(83120);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},83488:function(e){e.exports=function(e){return e}},72428:function(e,t,r){var n=r(27534),o=r(40346),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=c},56449:function(e){var t=Array.isArray;e.exports=t},64894:function(e,t,r){var n=r(1882),o=r(30294);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},3656:function(e,t,r){e=r.nmd(e);var n=r(9325),o=r(89935),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,u=a&&a.exports===i?n.Buffer:void 0,c=(u?u.isBuffer:void 0)||o;e.exports=c},2404:function(e,t,r){var n=r(60270);e.exports=function(e,t){return n(e,t)}},1882:function(e,t,r){var n=r(72552),o=r(23805);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},87730:function(e,t,r){var n=r(29172),o=r(27301),i=r(86009),a=i&&i.isMap,u=a?o(a):n;e.exports=u},1045:function(e,t,r){var n=r(41799),o=r(10776);e.exports=function(e,t,r){return r="function"==typeof r?r:void 0,n(e,t,o(t),r)}},23805:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},11331:function(e,t,r){var n=r(72552),o=r(28879),i=r(40346),a=Function.prototype,u=Object.prototype,c=a.toString,s=u.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=s.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}},38440:function(e,t,r){var n=r(16038),o=r(27301),i=r(86009),a=i&&i.isSet,u=a?o(a):n;e.exports=u},44394:function(e,t,r){var n=r(72552),o=r(40346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},37167:function(e,t,r){var n=r(4901),o=r(27301),i=r(86009),a=i&&i.isTypedArray,u=a?o(a):n;e.exports=u},95950:function(e,t,r){var n=r(70695),o=r(88984),i=r(64894);e.exports=function(e){return i(e)?n(e):o(e)}},37241:function(e,t,r){var n=r(70695),o=r(72903),i=r(64894);e.exports=function(e){return i(e)?n(e,!0):o(e)}},68090:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},50104:function(e,t,r){var n=r(53661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},10124:function(e,t,r){var n=r(9325);e.exports=function(){return n.Date.now()}},90179:function(e,t,r){var n=r(34932),o=r(9999),i=r(19931),a=r(31769),u=r(21791),c=r(53138),s=r(38816),l=r(83349),f=s((function(e,t){var r={};if(null==e)return r;var s=!1;t=n(t,(function(t){return t=a(t,e),s||(s=t.length>1),t})),u(e,l(e),r),s&&(r=o(r,7,c));for(var f=t.length;f--;)i(r,t[f]);return r}));e.exports=f},63345:function(e){e.exports=function(){return[]}},89935:function(e){e.exports=function(){return!1}},7350:function(e,t,r){var n=r(38221),o=r(23805);e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}},99374:function(e,t,r){var n=r(54128),o=r(23805),i=r(44394),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=u.test(e);return r||c.test(e)?s(e.slice(2),r?2:8):a.test(e)?NaN:+e}},13222:function(e,t,r){var n=r(77556);e.exports=function(e){return null==e?"":n(e)}},6585:function(e){var t=1e3,r=60*t,n=60*r,o=24*n,i=7*o;function a(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,u){u=u||{};var c,s,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var a=/^(-?(?:\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(a){var u=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*u;case"weeks":case"week":case"w":return u*i;case"days":case"day":case"d":return u*o;case"hours":case"hour":case"hrs":case"hr":case"h":return u*n;case"minutes":case"minute":case"mins":case"min":case"m":return u*r;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}(e);if("number"===l&&isFinite(e))return u.long?(c=e,(s=Math.abs(c))>=o?a(c,s,o,"day"):s>=n?a(c,s,n,"hour"):s>=r?a(c,s,r,"minute"):s>=t?a(c,s,t,"second"):c+" ms"):function(e){var i=Math.abs(e);return i>=o?Math.round(e/o)+"d":i>=n?Math.round(e/n)+"h":i>=r?Math.round(e/r)+"m":i>=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))}},56277:function(e,t,r){var n={"./ar.json":75120,"./de.json":30428,"./en.json":45448,"./es-MX.json":49467,"./es.json":70831,"./fr.json":99867,"./hi.json":87876,"./it.json":28038,"./ja.json":16582,"./kk.json":61753,"./ko.json":45613,"./mr.json":59396,"./nl.json":19121,"./pl.json":85443,"./pt-BR.json":26770,"./pt.json":63851,"./ru.json":86146,"./sl.json":41224,"./uk.json":31559,"./vi.json":87762,"./zh-Hant.json":84181,"./zh.json":59225};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=56277},79306:function(e,t,r){"use strict";var n=r(94901),o=r(16823),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},35548:function(e,t,r){"use strict";var n=r(33517),o=r(16823),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a constructor")}},73506:function(e,t,r){"use strict";var n=r(13925),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:function(e,t,r){"use strict";var n=r(78227),o=r(2360),i=r(24913).f,a=n("unscopables"),u=Array.prototype;void 0===u[a]&&i(u,a,{configurable:!0,value:o(null)}),e.exports=function(e){u[a][e]=!0}},57829:function(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:function(e,t,r){"use strict";var n=r(1625),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},28551:function(e,t,r){"use strict";var n=r(20034),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},77811:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},15652:function(e,t,r){"use strict";var n=r(79039);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},94644:function(e,t,r){"use strict";var n,o,i,a=r(77811),u=r(43724),c=r(44576),s=r(94901),l=r(20034),f=r(39297),p=r(36955),d=r(16823),h=r(66699),y=r(36840),v=r(62106),m=r(1625),b=r(42787),g=r(52967),w=r(78227),E=r(33392),_=r(91181),S=_.enforce,O=_.get,x=c.Int8Array,T=x&&x.prototype,P=c.Uint8ClampedArray,j=P&&P.prototype,k=x&&b(x),L=T&&b(T),I=Object.prototype,C=c.TypeError,A=w("toStringTag"),N=E("TYPED_ARRAY_TAG"),M="TypedArrayConstructor",R=a&&!!g&&"Opera"!==p(c.opera),D=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},W=function(e){var t=b(e);if(l(t)){var r=O(t);return r&&f(r,M)?r[M]:W(t)}},z=function(e){if(!l(e))return!1;var t=p(e);return f(U,t)||f(F,t)};for(n in U)(i=(o=c[n])&&o.prototype)?S(i)[M]=o:R=!1;for(n in F)(i=(o=c[n])&&o.prototype)&&(S(i)[M]=o);if((!R||!s(k)||k===Function.prototype)&&(k=function(){throw new C("Incorrect invocation")},R))for(n in U)c[n]&&g(c[n],k);if((!R||!L||L===I)&&(L=k.prototype,R))for(n in U)c[n]&&g(c[n].prototype,L);if(R&&b(j)!==L&&g(j,L),u&&!f(L,A))for(n in D=!0,v(L,A,{configurable:!0,get:function(){return l(this)?this[N]:void 0}}),U)c[n]&&h(c[n],N,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:D&&N,aTypedArray:function(e){if(z(e))return e;throw new C("Target is not a typed array")},aTypedArrayConstructor:function(e){if(s(e)&&(!g||m(k,e)))return e;throw new C(d(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(u){if(r)for(var o in U){var i=c[o];if(i&&f(i.prototype,e))try{delete i.prototype[e]}catch(r){try{i.prototype[e]=t}catch(e){}}}L[e]&&!r||y(L,e,r?t:R&&T[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,o;if(u){if(g){if(r)for(n in U)if((o=c[n])&&f(o,e))try{delete o[e]}catch(e){}if(k[e]&&!r)return;try{return y(k,e,r?t:R&&k[e]||t)}catch(e){}}for(n in U)!(o=c[n])||o[e]&&!r||y(o,e,t)}},getTypedArrayConstructor:W,isView:function(e){if(!l(e))return!1;var t=p(e);return"DataView"===t||f(U,t)||f(F,t)},isTypedArray:z,TypedArray:k,TypedArrayPrototype:L}},66346:function(e,t,r){"use strict";var n=r(44576),o=r(79504),i=r(43724),a=r(77811),u=r(10350),c=r(66699),s=r(62106),l=r(56279),f=r(79039),p=r(90679),d=r(91291),h=r(18014),y=r(57696),v=r(15617),m=r(88490),b=r(42787),g=r(52967),w=r(84373),E=r(67680),_=r(23167),S=r(77740),O=r(10687),x=r(91181),T=u.PROPER,P=u.CONFIGURABLE,j="ArrayBuffer",k="DataView",L="prototype",I="Wrong index",C=x.getterFor(j),A=x.getterFor(k),N=x.set,M=n[j],R=M,D=R&&R[L],U=n[k],F=U&&U[L],W=Object.prototype,z=n.Array,B=n.RangeError,V=o(w),Y=o([].reverse),G=m.pack,H=m.unpack,Q=function(e){return[255&e]},q=function(e){return[255&e,e>>8&255]},K=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},$=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},X=function(e){return G(v(e),23,4)},J=function(e){return G(e,52,8)},Z=function(e,t,r){s(e[L],t,{configurable:!0,get:function(){return r(this)[t]}})},ee=function(e,t,r,n){var o=A(e),i=y(r),a=!!n;if(i+t>o.byteLength)throw new B(I);var u=o.bytes,c=i+o.byteOffset,s=E(u,c,c+t);return a?s:Y(s)},te=function(e,t,r,n,o,i){var a=A(e),u=y(r),c=n(+o),s=!!i;if(u+t>a.byteLength)throw new B(I);for(var l=a.bytes,f=u+a.byteOffset,p=0;p<t;p++)l[f+p]=c[s?p:t-p-1]};if(a){var re=T&&M.name!==j;f((function(){M(1)}))&&f((function(){new M(-1)}))&&!f((function(){return new M,new M(1.5),new M(NaN),1!==M.length||re&&!P}))?re&&P&&c(M,"name",j):((R=function(e){return p(this,D),_(new M(y(e)),this,R)})[L]=D,D.constructor=R,S(R,M)),g&&b(F)!==W&&g(F,W);var ne=new U(new R(2)),oe=o(F.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||l(F,{setInt8:function(e,t){oe(this,e,t<<24>>24)},setUint8:function(e,t){oe(this,e,t<<24>>24)}},{unsafe:!0})}else D=(R=function(e){p(this,D);var t=y(e);N(this,{type:j,bytes:V(z(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)})[L],F=(U=function(e,t,r){p(this,F),p(e,D);var n=C(e),o=n.byteLength,a=d(t);if(a<0||a>o)throw new B("Wrong offset");if(a+(r=void 0===r?o-a:h(r))>o)throw new B("Wrong length");N(this,{type:k,buffer:e,byteLength:r,byteOffset:a,bytes:n.bytes}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=a)})[L],i&&(Z(R,"byteLength",C),Z(U,"buffer",A),Z(U,"byteLength",A),Z(U,"byteOffset",A)),l(F,{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 $(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return $(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return H(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return H(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,q,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){te(this,2,e,q,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,X,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){te(this,8,e,J,t,arguments.length>2&&arguments[2])}});O(R,j),O(U,k),e.exports={ArrayBuffer:R,DataView:U}},57029:function(e,t,r){"use strict";var n=r(48981),o=r(35610),i=r(26198),a=r(84606),u=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),c=i(r),s=o(e,c),l=o(t,c),f=arguments.length>2?arguments[2]:void 0,p=u((void 0===f?c:o(f,c))-l,c-s),d=1;for(l<s&&s<l+p&&(d=-1,l+=p-1,s+=p-1);p-- >0;)l in r?r[s]=r[l]:a(r,s),s+=d,l+=d;return r}},84373:function(e,t,r){"use strict";var n=r(48981),o=r(35610),i=r(26198);e.exports=function(e){for(var t=n(this),r=i(t),a=arguments.length,u=o(a>1?arguments[1]:void 0,r),c=a>2?arguments[2]:void 0,s=void 0===c?r:o(c,r);s>u;)t[u++]=e;return t}},90235:function(e,t,r){"use strict";var n=r(59213).forEach,o=r(34598)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},35370:function(e,t,r){"use strict";var n=r(26198);e.exports=function(e,t,r){for(var o=0,i=arguments.length>2?r:n(t),a=new e(i);i>o;)a[o]=t[o++];return a}},97916:function(e,t,r){"use strict";var n=r(76080),o=r(69565),i=r(48981),a=r(96319),u=r(44209),c=r(33517),s=r(26198),l=r(97040),f=r(70081),p=r(50851),d=Array;e.exports=function(e){var t=i(e),r=c(this),h=arguments.length,y=h>1?arguments[1]:void 0,v=void 0!==y;v&&(y=n(y,h>2?arguments[2]:void 0));var m,b,g,w,E,_,S=p(t),O=0;if(!S||this===d&&u(S))for(m=s(t),b=r?new this(m):d(m);m>O;O++)_=v?y(t[O],O):t[O],l(b,O,_);else for(b=r?new this:[],E=(w=f(t,S)).next;!(g=o(E,w)).done;O++)_=v?a(w,y,[g.value,O],!0):g.value,l(b,O,_);return b.length=O,b}},19617:function(e,t,r){"use strict";var n=r(25397),o=r(35610),i=r(26198),a=function(e){return function(t,r,a){var u=n(t),c=i(u);if(0===c)return!e&&-1;var s,l=o(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},59213:function(e,t,r){"use strict";var n=r(76080),o=r(79504),i=r(47055),a=r(48981),u=r(26198),c=r(1469),s=o([].push),l=function(e){var t=1===e,r=2===e,o=3===e,l=4===e,f=6===e,p=7===e,d=5===e||f;return function(h,y,v,m){for(var b,g,w=a(h),E=i(w),_=u(E),S=n(y,v),O=0,x=m||c,T=t?x(h,_):r||p?x(h,0):void 0;_>O;O++)if((d||O in E)&&(g=S(b=E[O],O,w),e))if(t)T[O]=g;else if(g)switch(e){case 3:return!0;case 5:return b;case 6:return O;case 2:s(T,b)}else switch(e){case 4:return!1;case 7:s(T,b)}return f?-1:o||l?l:T}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},8379:function(e,t,r){"use strict";var n=r(18745),o=r(25397),i=r(91291),a=r(26198),u=r(34598),c=Math.min,s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0,f=u("lastIndexOf"),p=l||!f;e.exports=p?function(e){if(l)return n(s,this,arguments)||0;var t=o(this),r=a(t);if(0===r)return-1;var u=r-1;for(arguments.length>1&&(u=c(u,i(arguments[1]))),u<0&&(u=r+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:s},70597:function(e,t,r){"use strict";var n=r(79039),o=r(78227),i=r(39519),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},34598:function(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)}))}},80926:function(e,t,r){"use strict";var n=r(79306),o=r(48981),i=r(47055),a=r(26198),u=TypeError,c="Reduce of empty array with no initial value",s=function(e){return function(t,r,s,l){var f=o(t),p=i(f),d=a(f);if(n(r),0===d&&s<2)throw new u(c);var h=e?d-1:0,y=e?-1:1;if(s<2)for(;;){if(h in p){l=p[h],h+=y;break}if(h+=y,e?h<0:d<=h)throw new u(c)}for(;e?h>=0:d>h;h+=y)h in p&&(l=r(l,p[h],h,f));return l}};e.exports={left:s(!1),right:s(!0)}},34527:function(e,t,r){"use strict";var n=r(43724),o=r(34376),i=TypeError,a=Object.getOwnPropertyDescriptor,u=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=u?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},67680:function(e,t,r){"use strict";var n=r(79504);e.exports=n([].slice)},74488:function(e,t,r){"use strict";var n=r(67680),o=Math.floor,i=function(e,t){var r=e.length;if(r<8)for(var a,u,c=1;c<r;){for(u=c,a=e[c];u&&t(e[u-1],a)>0;)e[u]=e[--u];u!==c++&&(e[u]=a)}else for(var s=o(r/2),l=i(n(e,0,s),t),f=i(n(e,s),t),p=l.length,d=f.length,h=0,y=0;h<p||y<d;)e[h+y]=h<p&&y<d?t(l[h],f[y])<=0?l[h++]:f[y++]:h<p?l[h++]:f[y++];return e};e.exports=i},87433:function(e,t,r){"use strict";var n=r(34376),o=r(33517),i=r(20034),a=r(78227)("species"),u=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(o(t)&&(t===u||n(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?u:t}},1469:function(e,t,r){"use strict";var n=r(87433);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},96319:function(e,t,r){"use strict";var n=r(28551),o=r(9539);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},84428:function(e,t,r){"use strict";var n=r(78227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},22195:function(e,t,r){"use strict";var n=r(79504),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},36955:function(e,t,r){"use strict";var n=r(92140),o=r(94901),i=r(22195),a=r(78227)("toStringTag"),u=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i: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=u(e),a))?r:c?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},86938:function(e,t,r){"use strict";var n=r(2360),o=r(62106),i=r(56279),a=r(76080),u=r(90679),c=r(64117),s=r(72652),l=r(51088),f=r(62529),p=r(87633),d=r(43724),h=r(3451).fastKey,y=r(91181),v=y.set,m=y.getterFor;e.exports={getConstructor:function(e,t,r,l){var f=e((function(e,o){u(e,p),v(e,{type:t,index:n(null),first:null,last:null,size:0}),d||(e.size=0),c(o)||s(o,e[l],{that:e,AS_ENTRIES:r})})),p=f.prototype,y=m(t),b=function(e,t,r){var n,o,i=y(e),a=g(e,t);return a?a.value=r:(i.last=a={index:o=h(t,!0),key:t,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=a),n&&(n.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},g=function(e,t){var r,n=y(e),o=h(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===t)return r};return i(p,{clear:function(){for(var e=y(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=null),t=t.next;e.first=e.last=null,e.index=n(null),d?e.size=0:this.size=0},delete:function(e){var t=this,r=y(t),n=g(t,e);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),d?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=y(this),n=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(p,r?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return b(this,0===e?0:e,t)}}:{add:function(e){return b(this,e=0===e?0:e,e)}}),d&&o(p,"size",{configurable:!0,get:function(){return y(this).size}}),f},setStrong:function(e,t,r){var n=t+" Iterator",o=m(t),i=m(n);l(e,t,(function(e,t){v(this,{type:n,target:e,state:o(e),kind:t,last:null})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?f("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=null,f(void 0,!0))}),r?"entries":"values",!r,!0),p(t)}}},91625:function(e,t,r){"use strict";var n=r(79504),o=r(56279),i=r(3451).getWeakData,a=r(90679),u=r(28551),c=r(64117),s=r(20034),l=r(72652),f=r(59213),p=r(39297),d=r(91181),h=d.set,y=d.getterFor,v=f.find,m=f.findIndex,b=n([].splice),g=0,w=function(e){return e.frozen||(e.frozen=new E)},E=function(){this.entries=[]},_=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};E.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var r=_(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&b(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var f=e((function(e,o){a(e,d),h(e,{type:t,id:g++,frozen:null}),c(o)||l(o,e[n],{that:e,AS_ENTRIES:r})})),d=f.prototype,v=y(t),m=function(e,t,r){var n=v(e),o=i(u(t),!0);return!0===o?w(n).set(t,r):o[n.id]=r,e};return o(d,{delete:function(e){var t=v(this);if(!s(e))return!1;var r=i(e);return!0===r?w(t).delete(e):r&&p(r,t.id)&&delete r[t.id]},has:function(e){var t=v(this);if(!s(e))return!1;var r=i(e);return!0===r?w(t).has(e):r&&p(r,t.id)}}),o(d,r?{get:function(e){var t=v(this);if(s(e)){var r=i(e);if(!0===r)return w(t).get(e);if(r)return r[t.id]}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),f}}},16468:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(79504),a=r(92796),u=r(36840),c=r(3451),s=r(72652),l=r(90679),f=r(94901),p=r(64117),d=r(20034),h=r(79039),y=r(84428),v=r(10687),m=r(23167);e.exports=function(e,t,r){var b=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),w=b?"set":"add",E=o[e],_=E&&E.prototype,S=E,O={},x=function(e){var t=i(_[e]);u(_,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(g&&!d(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return g&&!d(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(g&&!d(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(a(e,!f(E)||!(g||_.forEach&&!h((function(){(new E).entries().next()})))))S=r.getConstructor(t,e,b,w),c.enable();else if(a(e,!0)){var T=new S,P=T[w](g?{}:-0,1)!==T,j=h((function(){T.has(1)})),k=y((function(e){new E(e)})),L=!g&&h((function(){for(var e=new E,t=5;t--;)e[w](t,t);return!e.has(-0)}));k||((S=t((function(e,t){l(e,_);var r=m(new E,e,S);return p(t)||s(t,r[w],{that:r,AS_ENTRIES:b}),r}))).prototype=_,_.constructor=S),(j||L)&&(x("delete"),x("has"),b&&x("get")),(L||P)&&x(w),g&&_.clear&&delete _.clear}return O[e]=S,n({global:!0,constructor:!0,forced:S!==E},O),v(S,e),g||r.setStrong(S,e,b),S}},77740:function(e,t,r){"use strict";var n=r(39297),o=r(35031),i=r(77347),a=r(24913);e.exports=function(e,t,r){for(var u=o(t),c=a.f,s=i.f,l=0;l<u.length;l++){var f=u[l];n(e,f)||r&&n(r,f)||c(e,f,s(t,f))}}},41436:function(e,t,r){"use strict";var n=r(78227)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},12211:function(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:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},66699:function(e,t,r){"use strict";var n=r(43724),o=r(24913),i=r(6980);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},6980:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},97040:function(e,t,r){"use strict";var n=r(43724),o=r(24913),i=r(6980);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},53640:function(e,t,r){"use strict";var n=r(28551),o=r(84270),i=TypeError;e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},62106:function(e,t,r){"use strict";var n=r(50283),o=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}),o.f(e,t,r)}},36840:function(e,t,r){"use strict";var n=r(94901),o=r(24913),i=r(50283),a=r(39433);e.exports=function(e,t,r,u){u||(u={});var c=u.enumerable,s=void 0!==u.name?u.name:t;if(n(r)&&i(r,s,u),u.global)c?e[t]=r:a(t,r);else{try{u.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return e}},56279:function(e,t,r){"use strict";var n=r(36840);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},39433:function(e,t,r){"use strict";var n=r(44576),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},84606:function(e,t,r){"use strict";var n=r(16823),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+n(t)+" of "+n(e))}},43724:function(e,t,r){"use strict";var n=r(79039);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:function(e,t,r){"use strict";var n=r(44576),o=r(20034),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},96837:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},67400:function(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:function(e,t,r){"use strict";var n=r(4055)("span").classList,o=n&&n.constructor&&n.constructor.prototype;e.exports=o===Object.prototype?void 0:o},88727:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},13709:function(e,t,r){"use strict";var n=r(82839).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},13763:function(e,t,r){"use strict";var n=r(82839);e.exports=/MSIE|Trident/.test(n)},82839:function(e,t,r){"use strict";var n=r(44576).navigator,o=n&&n.userAgent;e.exports=o?String(o):""},39519:function(e,t,r){"use strict";var n,o,i=r(44576),a=r(82839),u=i.process,c=i.Deno,s=u&&u.versions||c&&c.version,l=s&&s.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},3607:function(e,t,r){"use strict";var n=r(82839).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},84215:function(e,t,r){"use strict";var n=r(44576),o=r(82839),i=r(22195),a=function(e){return o.slice(0,e.length)===e};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},46518:function(e,t,r){"use strict";var n=r(44576),o=r(77347).f,i=r(66699),a=r(36840),u=r(39433),c=r(77740),s=r(92796);e.exports=function(e,t){var r,l,f,p,d,h=e.target,y=e.global,v=e.stat;if(r=y?n:v?n[h]||u(h,{}):n[h]&&n[h].prototype)for(l in t){if(p=t[l],f=e.dontCallGetSet?(d=o(r,l))&&d.value:r[l],!s(y?l:h+(v?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(r,l,p,e)}}},79039:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},89228:function(e,t,r){"use strict";r(27495);var n=r(69565),o=r(36840),i=r(57323),a=r(79039),u=r(78227),c=r(66699),s=u("species"),l=RegExp.prototype;e.exports=function(e,t,r,f){var p=u(e),d=!a((function(){var t={};return t[p]=function(){return 7},7!==""[e](t)})),h=d&&!a((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[s]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return t=!0,null},r[p](""),!t}));if(!d||!h||r){var y=/./[p],v=t(p,""[e],(function(e,t,r,o,a){var u=t.exec;return u===i||u===l.exec?d&&!a?{done:!0,value:n(y,t,r,o)}:{done:!0,value:n(e,r,t,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(l,p,v[1])}f&&c(l[p],"sham",!0)}},70259:function(e,t,r){"use strict";var n=r(34376),o=r(26198),i=r(96837),a=r(76080),u=function(e,t,r,c,s,l,f,p){for(var d,h,y=s,v=0,m=!!f&&a(f,p);v<c;)v in r&&(d=m?m(r[v],v,t):r[v],l>0&&n(d)?(h=o(d),y=u(e,t,d,h,y,l-1)-1):(i(y+1),e[y]=d),y++),v++;return y};e.exports=u},92744:function(e,t,r){"use strict";var n=r(79039);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},18745:function(e,t,r){"use strict";var n=r(40616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},76080:function(e,t,r){"use strict";var n=r(27476),o=r(79306),i=r(40616),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},40616:function(e,t,r){"use strict";var n=r(79039);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},30566:function(e,t,r){"use strict";var n=r(79504),o=r(79306),i=r(20034),a=r(39297),u=r(67680),c=r(40616),s=Function,l=n([].concat),f=n([].join),p={};e.exports=c?s.bind:function(e){var t=o(this),r=t.prototype,n=u(arguments,1),c=function(){var r=l(n,u(arguments));return this instanceof c?function(e,t,r){if(!a(p,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";p[t]=s("C,a","return new C("+f(n,",")+")")}return p[t](e,r)}(t,r.length,r):t.apply(e,r)};return i(r)&&(c.prototype=r),c}},69565:function(e,t,r){"use strict";var n=r(40616),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},10350:function(e,t,r){"use strict";var n=r(43724),o=r(39297),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},46706:function(e,t,r){"use strict";var n=r(79504),o=r(79306);e.exports=function(e,t,r){try{return n(o(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},27476:function(e,t,r){"use strict";var n=r(22195),o=r(79504);e.exports=function(e){if("Function"===n(e))return o(e)}},79504:function(e,t,r){"use strict";var n=r(40616),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},97751:function(e,t,r){"use strict";var n=r(44576),o=r(94901);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},50851:function(e,t,r){"use strict";var n=r(36955),o=r(55966),i=r(64117),a=r(26269),u=r(78227)("iterator");e.exports=function(e){if(!i(e))return o(e,u)||o(e,"@@iterator")||a[n(e)]}},70081:function(e,t,r){"use strict";var n=r(69565),o=r(79306),i=r(28551),a=r(16823),u=r(50851),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(o(r))return i(n(r,e));throw new c(a(e)+" is not iterable")}},66933:function(e,t,r){"use strict";var n=r(79504),o=r(34376),i=r(94901),a=r(22195),u=r(655),c=n([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,r=[],n=0;n<t;n++){var s=e[n];"string"==typeof s?c(r,s):"number"!=typeof s&&"Number"!==a(s)&&"String"!==a(s)||c(r,u(s))}var l=r.length,f=!0;return function(e,t){if(f)return f=!1,t;if(o(this))return t;for(var n=0;n<l;n++)if(r[n]===e)return t}}}},55966:function(e,t,r){"use strict";var n=r(79306),o=r(64117);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},2478:function(e,t,r){"use strict";var n=r(79504),o=r(48981),i=Math.floor,a=n("".charAt),u=n("".replace),c=n("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,p){var d=r+e.length,h=n.length,y=l;return void 0!==f&&(f=o(f),y=s),u(p,y,(function(o,u){var s;switch(a(u,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,d);case"<":s=f[c(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>h){var p=i(l/10);return 0===p?o:p<=h?void 0===n[p-1]?a(u,1):n[p-1]+a(u,1):o}s=n[l-1]}return void 0===s?"":s}))}},44576:function(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:function(e,t,r){"use strict";var n=r(79504),o=r(48981),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},30421:function(e){"use strict";e.exports={}},20397:function(e,t,r){"use strict";var n=r(97751);e.exports=n("document","documentElement")},35917:function(e,t,r){"use strict";var n=r(43724),o=r(79039),i=r(4055);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},88490:function(e){"use strict";var t=Array,r=Math.abs,n=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,u,c){var s,l,f,p=t(c),d=8*c-u-1,h=(1<<d)-1,y=h>>1,v=23===u?n(2,-24)-n(2,-77):0,m=e<0||0===e&&1/e<0?1:0,b=0;for((e=r(e))!=e||e===1/0?(l=e!=e?1:0,s=h):(s=o(i(e)/a),e*(f=n(2,-s))<1&&(s--,f*=2),(e+=s+y>=1?v/f:v*n(2,1-y))*f>=2&&(s++,f/=2),s+y>=h?(l=0,s=h):s+y>=1?(l=(e*f-1)*n(2,u),s+=y):(l=e*n(2,y-1)*n(2,u),s=0));u>=8;)p[b++]=255&l,l/=256,u-=8;for(s=s<<u|l,d+=u;d>0;)p[b++]=255&s,s/=256,d-=8;return p[b-1]|=128*m,p},unpack:function(e,t){var r,o=e.length,i=8*o-t-1,a=(1<<i)-1,u=a>>1,c=i-7,s=o-1,l=e[s--],f=127&l;for(l>>=7;c>0;)f=256*f+e[s--],c-=8;for(r=f&(1<<-c)-1,f>>=-c,c+=t;c>0;)r=256*r+e[s--],c-=8;if(0===f)f=1-u;else{if(f===a)return r?NaN:l?-1/0:1/0;r+=n(2,t),f-=u}return(l?-1:1)*r*n(2,f-t)}}},47055:function(e,t,r){"use strict";var n=r(79504),o=r(79039),i=r(22195),a=Object,u=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?u(e,""):a(e)}:a},23167:function(e,t,r){"use strict";var n=r(94901),o=r(20034),i=r(52967);e.exports=function(e,t,r){var a,u;return i&&n(a=t.constructor)&&a!==r&&o(u=a.prototype)&&u!==r.prototype&&i(e,u),e}},33706:function(e,t,r){"use strict";var n=r(79504),o=r(94901),i=r(77629),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},3451:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(30421),a=r(20034),u=r(39297),c=r(24913).f,s=r(38480),l=r(10298),f=r(34124),p=r(33392),d=r(92744),h=!1,y=p("meta"),v=0,m=function(e){c(e,y,{value:{objectID:"O"+v++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},h=!0;var e=s.f,t=o([].splice),r={};r[y]=1,e(r).length&&(s.f=function(r){for(var n=e(r),o=0,i=n.length;o<i;o++)if(n[o]===y){t(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!u(e,y)){if(!f(e))return"F";if(!t)return"E";m(e)}return e[y].objectID},getWeakData:function(e,t){if(!u(e,y)){if(!f(e))return!0;if(!t)return!1;m(e)}return e[y].weakData},onFreeze:function(e){return d&&h&&f(e)&&!u(e,y)&&m(e),e}};i[y]=!0},91181:function(e,t,r){"use strict";var n,o,i,a=r(58622),u=r(44576),c=r(20034),s=r(66699),l=r(39297),f=r(77629),p=r(66119),d=r(30421),h="Object already initialized",y=u.TypeError,v=u.WeakMap;if(a||f.state){var m=f.state||(f.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,n=function(e,t){if(m.has(e))throw new y(h);return t.facade=e,m.set(e,t),t},o=function(e){return m.get(e)||{}},i=function(e){return m.has(e)}}else{var b=p("state");d[b]=!0,n=function(e,t){if(l(e,b))throw new y(h);return t.facade=e,s(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new y("Incompatible receiver, "+e+" required");return r}}}},44209:function(e,t,r){"use strict";var n=r(78227),o=r(26269),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},34376:function(e,t,r){"use strict";var n=r(22195);e.exports=Array.isArray||function(e){return"Array"===n(e)}},18727:function(e,t,r){"use strict";var n=r(36955);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},94901:function(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:function(e,t,r){"use strict";var n=r(79504),o=r(79039),i=r(94901),a=r(36955),u=r(97751),c=r(33706),s=function(){},l=u("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=n(f.exec),d=!f.test(s),h=function(e){if(!i(e))return!1;try{return l(s,[],e),!0}catch(e){return!1}},y=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(e))}catch(e){return!0}};y.sham=!0,e.exports=!l||o((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?y:h},16575:function(e,t,r){"use strict";var n=r(39297);e.exports=function(e){return void 0!==e&&(n(e,"value")||n(e,"writable"))}},92796:function(e,t,r){"use strict";var n=r(79039),o=r(94901),i=/#|\.prototype\./,a=function(e,t){var r=c[u(e)];return r===l||r!==s&&(o(t)?n(t):!!t)},u=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},2087:function(e,t,r){"use strict";var n=r(20034),o=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&o(e)===e}},64117:function(e){"use strict";e.exports=function(e){return null==e}},20034:function(e,t,r){"use strict";var n=r(94901);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},13925:function(e,t,r){"use strict";var n=r(20034);e.exports=function(e){return n(e)||null===e}},96395:function(e){"use strict";e.exports=!1},60788:function(e,t,r){"use strict";var n=r(20034),o=r(22195),i=r(78227)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===o(e))}},10757:function(e,t,r){"use strict";var n=r(97751),o=r(94901),i=r(1625),a=r(7040),u=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,u(e))}},72652:function(e,t,r){"use strict";var n=r(76080),o=r(69565),i=r(28551),a=r(16823),u=r(44209),c=r(26198),s=r(1625),l=r(70081),f=r(50851),p=r(9539),d=TypeError,h=function(e,t){this.stopped=e,this.result=t},y=h.prototype;e.exports=function(e,t,r){var v,m,b,g,w,E,_,S=r&&r.that,O=!(!r||!r.AS_ENTRIES),x=!(!r||!r.IS_RECORD),T=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),j=n(t,S),k=function(e){return v&&p(v,"normal",e),new h(!0,e)},L=function(e){return O?(i(e),P?j(e[0],e[1],k):j(e[0],e[1])):P?j(e,k):j(e)};if(x)v=e.iterator;else if(T)v=e;else{if(!(m=f(e)))throw new d(a(e)+" is not iterable");if(u(m)){for(b=0,g=c(e);g>b;b++)if((w=L(e[b]))&&s(y,w))return w;return new h(!1)}v=l(e,m)}for(E=x?e.next:v.next;!(_=o(E,v)).done;){try{w=L(_.value)}catch(e){p(v,"throw",e)}if("object"==typeof w&&w&&s(y,w))return w}return new h(!1)}},9539:function(e,t,r){"use strict";var n=r(69565),o=r(28551),i=r(55966);e.exports=function(e,t,r){var a,u;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){u=!0,a=e}if("throw"===t)throw r;if(u)throw a;return o(a),r}},33994:function(e,t,r){"use strict";var n=r(57657).IteratorPrototype,o=r(2360),i=r(6980),a=r(10687),u=r(26269),c=function(){return this};e.exports=function(e,t,r,s){var l=t+" Iterator";return e.prototype=o(n,{next:i(+!s,r)}),a(e,l,!1,!0),u[l]=c,e}},51088:function(e,t,r){"use strict";var n=r(46518),o=r(69565),i=r(96395),a=r(10350),u=r(94901),c=r(33994),s=r(42787),l=r(52967),f=r(10687),p=r(66699),d=r(36840),h=r(78227),y=r(26269),v=r(57657),m=a.PROPER,b=a.CONFIGURABLE,g=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,E=h("iterator"),_="keys",S="values",O="entries",x=function(){return this};e.exports=function(e,t,r,a,h,v,T){c(r,t,a);var P,j,k,L=function(e){if(e===h&&M)return M;if(!w&&e&&e in A)return A[e];switch(e){case _:case S:case O:return function(){return new r(this,e)}}return function(){return new r(this)}},I=t+" Iterator",C=!1,A=e.prototype,N=A[E]||A["@@iterator"]||h&&A[h],M=!w&&N||L(h),R="Array"===t&&A.entries||N;if(R&&(P=s(R.call(new e)))!==Object.prototype&&P.next&&(i||s(P)===g||(l?l(P,g):u(P[E])||d(P,E,x)),f(P,I,!0,!0),i&&(y[I]=x)),m&&h===S&&N&&N.name!==S&&(!i&&b?p(A,"name",S):(C=!0,M=function(){return o(N,this)})),h)if(j={values:L(S),keys:v?M:L(_),entries:L(O)},T)for(k in j)(w||C||!(k in A))&&d(A,k,j[k]);else n({target:t,proto:!0,forced:w||C},j);return i&&!T||A[E]===M||d(A,E,M,{name:h}),y[t]=M,j}},57657:function(e,t,r){"use strict";var n,o,i,a=r(79039),u=r(94901),c=r(20034),s=r(2360),l=r(42787),f=r(36840),p=r(78227),d=r(96395),h=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):y=!0),!c(n)||a((function(){var e={};return n[h].call(e)!==e}))?n={}:d&&(n=s(n)),u(n[h])||f(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},26269:function(e){"use strict";e.exports={}},26198:function(e,t,r){"use strict";var n=r(18014);e.exports=function(e){return n(e.length)}},50283:function(e,t,r){"use strict";var n=r(79504),o=r(79039),i=r(94901),a=r(39297),u=r(43724),c=r(10350).CONFIGURABLE,s=r(33706),l=r(91181),f=l.enforce,p=l.get,d=String,h=Object.defineProperty,y=n("".slice),v=n("".replace),m=n([].join),b=u&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),g=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===y(d(t),0,7)&&(t="["+v(d(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(u?h(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&a(r,"arity")&&e.length!==r.arity&&h(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?u&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return a(n,"source")||(n.source=m(g,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&p(this).source||s(this)}),"toString")},33164:function(e,t,r){"use strict";var n=r(77782),o=r(53602),i=Math.abs;e.exports=function(e,t,r,a){var u=+e,c=i(u),s=n(u);if(c<a)return s*o(c/a/t)*a*t;var l=(1+t/2220446049250313e-31)*c,f=l-(l-c);return f>r||f!=f?s*(1/0):s*f}},15617:function(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:function(e){"use strict";var t=4503599627370496;e.exports=function(e){return e+t-t}},77782:function(e){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},80741:function(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)}},60511:function(e,t,r){"use strict";var n=r(60788),o=TypeError;e.exports=function(e){if(n(e))throw new o("The method doesn't accept regular expressions");return e}},44213:function(e,t,r){"use strict";var n=r(43724),o=r(79504),i=r(69565),a=r(79039),u=r(71072),c=r(33717),s=r(48773),l=r(48981),f=r(47055),p=Object.assign,d=Object.defineProperty,h=o([].concat);e.exports=!p||a((function(){if(n&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!==p({},e)[r]||u(p({},t)).join("")!==o}))?function(e,t){for(var r=l(e),o=arguments.length,a=1,p=c.f,d=s.f;o>a;)for(var y,v=f(arguments[a++]),m=p?h(u(v),p(v)):u(v),b=m.length,g=0;b>g;)y=m[g++],n&&!i(d,v,y)||(r[y]=v[y]);return r}:p},2360:function(e,t,r){"use strict";var n,o=r(28551),i=r(96801),a=r(88727),u=r(30421),c=r(20397),s=r(4055),l=r(66119),f="prototype",p="script",d=l("IE_PROTO"),h=function(){},y=function(e){return"<"+p+">"+e+"</"+p+">"},v=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;m="undefined"!=typeof document?document.domain&&n?v(n):(t=s("iframe"),r="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(y("document.F=Object")),e.close(),e.F):v(n);for(var o=a.length;o--;)delete m[f][a[o]];return m()};u[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h[f]=o(e),r=new h,h[f]=null,r[d]=e):r=m(),void 0===t?r:i.f(r,t)}},96801:function(e,t,r){"use strict";var n=r(43724),o=r(48686),i=r(24913),a=r(28551),u=r(25397),c=r(71072);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);for(var r,n=u(t),o=c(t),s=o.length,l=0;s>l;)i.f(e,r=o[l++],n[r]);return e}},24913:function(e,t,r){"use strict";var n=r(43724),o=r(35917),i=r(48686),a=r(28551),u=r(56969),c=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";t.f=n?i?function(e,t,r){if(a(e),t=u(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=l(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return s(e,t,r)}:s:function(e,t,r){if(a(e),t=u(t),a(r),o)try{return s(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:function(e,t,r){"use strict";var n=r(43724),o=r(69565),i=r(48773),a=r(6980),u=r(25397),c=r(56969),s=r(39297),l=r(35917),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=u(e),t=c(t),l)try{return f(e,t)}catch(e){}if(s(e,t))return a(!o(i.f,e,t),e[t])}},10298:function(e,t,r){"use strict";var n=r(22195),o=r(25397),i=r(38480).f,a=r(67680),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return u&&"Window"===n(e)?function(e){try{return i(e)}catch(e){return a(u)}}(e):i(o(e))}},38480:function(e,t,r){"use strict";var n=r(61828),o=r(88727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},33717:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},42787:function(e,t,r){"use strict";var n=r(39297),o=r(94901),i=r(48981),a=r(66119),u=r(12211),c=a("IE_PROTO"),s=Object,l=s.prototype;e.exports=u?s.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof s?l:null}},34124:function(e,t,r){"use strict";var n=r(79039),o=r(20034),i=r(22195),a=r(15652),u=Object.isExtensible,c=n((function(){u(1)}));e.exports=c||a?function(e){return!!o(e)&&(!a||"ArrayBuffer"!==i(e))&&(!u||u(e))}:u},1625:function(e,t,r){"use strict";var n=r(79504);e.exports=n({}.isPrototypeOf)},61828:function(e,t,r){"use strict";var n=r(79504),o=r(39297),i=r(25397),a=r(19617).indexOf,u=r(30421),c=n([].push);e.exports=function(e,t){var r,n=i(e),s=0,l=[];for(r in n)!o(u,r)&&o(n,r)&&c(l,r);for(;t.length>s;)o(n,r=t[s++])&&(~a(l,r)||c(l,r));return l}},71072:function(e,t,r){"use strict";var n=r(61828),o=r(88727);e.exports=Object.keys||function(e){return n(e,o)}},48773:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},52967:function(e,t,r){"use strict";var n=r(46706),o=r(20034),i=r(67750),a=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 i(r),a(n),o(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},32357:function(e,t,r){"use strict";var n=r(43724),o=r(79039),i=r(79504),a=r(42787),u=r(71072),c=r(25397),s=i(r(48773).f),l=i([].push),f=n&&o((function(){var e=Object.create(null);return e[2]=2,!s(e,2)})),p=function(e){return function(t){for(var r,o=c(t),i=u(o),p=f&&null===a(o),d=i.length,h=0,y=[];d>h;)r=i[h++],n&&!(p?r in o:s(o,r))||l(y,e?[r,o[r]]:o[r]);return y}};e.exports={entries:p(!0),values:p(!1)}},53179:function(e,t,r){"use strict";var n=r(92140),o=r(36955);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},84270:function(e,t,r){"use strict";var n=r(69565),o=r(94901),i=r(20034),a=TypeError;e.exports=function(e,t){var r,u;if("string"===t&&o(r=e.toString)&&!i(u=n(r,e)))return u;if(o(r=e.valueOf)&&!i(u=n(r,e)))return u;if("string"!==t&&o(r=e.toString)&&!i(u=n(r,e)))return u;throw new a("Can't convert object to primitive value")}},35031:function(e,t,r){"use strict";var n=r(97751),o=r(79504),i=r(38480),a=r(33717),u=r(28551),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(u(e)),r=a.f;return r?c(t,r(e)):t}},19167:function(e,t,r){"use strict";var n=r(44576);e.exports=n},11056:function(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:function(e,t,r){"use strict";var n=r(69565),o=r(28551),i=r(94901),a=r(22195),u=r(57323),c=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var s=n(r,e,t);return null!==s&&o(s),s}if("RegExp"===a(e))return n(u,e,t);throw new c("RegExp#exec called on incompatible receiver")}},57323:function(e,t,r){"use strict";var n,o,i=r(69565),a=r(79504),u=r(655),c=r(67979),s=r(58429),l=r(25745),f=r(2360),p=r(91181).get,d=r(83635),h=r(18814),y=l("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,m=v,b=a("".charAt),g=a("".indexOf),w=a("".replace),E=a("".slice),_=(o=/b*/g,i(v,n=/a/,"a"),i(v,o,"a"),0!==n.lastIndex||0!==o.lastIndex),S=s.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(_||O||S||d||h)&&(m=function(e){var t,r,n,o,a,s,l,d=this,h=p(d),x=u(e),T=h.raw;if(T)return T.lastIndex=d.lastIndex,t=i(m,T,x),d.lastIndex=T.lastIndex,t;var P=h.groups,j=S&&d.sticky,k=i(c,d),L=d.source,I=0,C=x;if(j&&(k=w(k,"y",""),-1===g(k,"g")&&(k+="g"),C=E(x,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==b(x,d.lastIndex-1))&&(L="(?: "+L+")",C=" "+C,I++),r=new RegExp("^(?:"+L+")",k)),O&&(r=new RegExp("^"+L+"$(?!\\s)",k)),_&&(n=d.lastIndex),o=i(v,j?r:d,C),j?o?(o.input=E(o.input,I),o[0]=E(o[0],I),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:_&&o&&(d.lastIndex=d.global?o.index+o[0].length:n),O&&o&&o.length>1&&i(y,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&P)for(o.groups=s=f(null),a=0;a<P.length;a++)s[(l=P[a])[0]]=o[l[1]];return o}),e.exports=m},67979:function(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:function(e,t,r){"use strict";var n=r(69565),o=r(39297),i=r(1625),a=r(67979),u=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in u||o(e,"flags")||!i(u,e)?t:n(a,e)}},58429:function(e,t,r){"use strict";var n=r(79039),o=r(44576).RegExp,i=n((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),u=i||n((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:u,MISSED_STICKY:a,UNSUPPORTED_Y:i}},83635:function(e,t,r){"use strict";var n=r(79039),o=r(44576).RegExp;e.exports=n((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},18814:function(e,t,r){"use strict";var n=r(79039),o=r(44576).RegExp;e.exports=n((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},67750:function(e,t,r){"use strict";var n=r(64117),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},93389:function(e,t,r){"use strict";var n=r(44576),o=r(43724),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!o)return n[e];var t=i(n,e);return t&&t.value}},3470:function(e){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},79472:function(e,t,r){"use strict";var n,o=r(44576),i=r(18745),a=r(94901),u=r(84215),c=r(82839),s=r(67680),l=r(22812),f=o.Function,p=/MSIE .\./.test(c)||"BUN"===u&&((n=o.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));e.exports=function(e,t){var r=t?2:1;return p?function(n,o){var u=l(arguments.length,1)>r,c=a(n)?n:f(n),p=u?s(arguments,r):[],d=u?function(){i(c,this,p)}:c;return t?e(d,o):e(d)}:e}},87633:function(e,t,r){"use strict";var n=r(97751),o=r(62106),i=r(78227),a=r(43724),u=i("species");e.exports=function(e){var t=n(e);a&&t&&!t[u]&&o(t,u,{configurable:!0,get:function(){return this}})}},10687:function(e,t,r){"use strict";var n=r(24913).f,o=r(39297),i=r(78227)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,i)&&n(e,i,{configurable:!0,value:t})}},66119:function(e,t,r){"use strict";var n=r(25745),o=r(33392),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},77629:function(e,t,r){"use strict";var n=r(96395),o=r(44576),i=r(39433),a="__core-js_shared__",u=e.exports=o[a]||i(a,{});(u.versions||(u.versions=[])).push({version:"3.40.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"})},25745:function(e,t,r){"use strict";var n=r(77629);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},68183:function(e,t,r){"use strict";var n=r(79504),o=r(91291),i=r(655),a=r(67750),u=n("".charAt),c=n("".charCodeAt),s=n("".slice),l=function(e){return function(t,r){var n,l,f=i(a(t)),p=o(r),d=f.length;return p<0||p>=d?e?"":void 0:(n=c(f,p))<55296||n>56319||p+1===d||(l=c(f,p+1))<56320||l>57343?e?u(f,p):n:e?s(f,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},3717:function(e,t,r){"use strict";var n=r(79504),o=2147483647,i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,u="Overflow: input needs wider integers to process",c=RangeError,s=n(a.exec),l=Math.floor,f=String.fromCharCode,p=n("".charCodeAt),d=n([].join),h=n([].push),y=n("".replace),v=n("".split),m=n("".toLowerCase),b=function(e){return e+22+75*(e<26)},g=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=p(e,r++);if(o>=55296&&o<=56319&&r<n){var i=p(e,r++);56320==(64512&i)?h(t,((1023&o)<<10)+(1023&i)+65536):(h(t,o),r--)}else h(t,o)}return t}(e);var r,n,i=e.length,a=128,s=0,y=72;for(r=0;r<e.length;r++)(n=e[r])<128&&h(t,f(n));var v=t.length,m=v;for(v&&h(t,"-");m<i;){var w=o;for(r=0;r<e.length;r++)(n=e[r])>=a&&n<w&&(w=n);var E=m+1;if(w-a>l((o-s)/E))throw new c(u);for(s+=(w-a)*E,a=w,r=0;r<e.length;r++){if((n=e[r])<a&&++s>o)throw new c(u);if(n===a){for(var _=s,S=36;;){var O=S<=y?1:S>=y+26?26:S-y;if(_<O)break;var x=_-O,T=36-O;h(t,f(b(O+x%T))),_=l(x/T),S+=36}h(t,f(b(_))),y=g(s,E,m===v),s=0,m++}}s++,a++}return d(t,"")};e.exports=function(e){var t,r,n=[],o=v(y(m(e),a,"."),".");for(t=0;t<o.length;t++)r=o[t],h(n,s(i,r)?"xn--"+w(r):r);return d(n,".")}},60706:function(e,t,r){"use strict";var n=r(10350).PROPER,o=r(79039),i=r(47452);e.exports=function(e){return o((function(){return!!i[e]()||"
"!=="
"[e]()||n&&i[e].name!==e}))}},43802:function(e,t,r){"use strict";var n=r(79504),o=r(67750),i=r(655),a=r(47452),u=n("".replace),c=RegExp("^["+a+"]+"),s=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(e){return function(t){var r=i(o(t));return 1&e&&(r=u(r,c,"")),2&e&&(r=u(r,s,"$1")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},4495:function(e,t,r){"use strict";var n=r(39519),o=r(79039),i=r(44576).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},58242:function(e,t,r){"use strict";var n=r(69565),o=r(97751),i=r(78227),a=r(36840);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,u=i("toPrimitive");t&&!t[u]&&a(t,u,(function(e){return n(r,this)}),{arity:1})}},91296:function(e,t,r){"use strict";var n=r(4495);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},31240:function(e,t,r){"use strict";var n=r(79504);e.exports=n(1..valueOf)},35610:function(e,t,r){"use strict";var n=r(91291),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},75854:function(e,t,r){"use strict";var n=r(72777),o=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new o("Can't convert number to bigint");return BigInt(t)}},57696:function(e,t,r){"use strict";var n=r(91291),o=r(18014),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=o(t);if(t!==r)throw new i("Wrong length or index");return r}},25397:function(e,t,r){"use strict";var n=r(47055),o=r(67750);e.exports=function(e){return n(o(e))}},91291:function(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:function(e,t,r){"use strict";var n=r(91291),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},48981:function(e,t,r){"use strict";var n=r(67750),o=Object;e.exports=function(e){return o(n(e))}},58229:function(e,t,r){"use strict";var n=r(99590),o=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new o("Wrong offset");return r}},99590:function(e,t,r){"use strict";var n=r(91291),o=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new o("The argument can't be less than 0");return t}},72777:function(e,t,r){"use strict";var n=r(69565),o=r(20034),i=r(10757),a=r(55966),u=r(84270),c=r(78227),s=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,c=a(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||i(r))return r;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},56969:function(e,t,r){"use strict";var n=r(72777),o=r(10757);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},92140:function(e,t,r){"use strict";var n={};n[r(78227)("toStringTag")]="z",e.exports="[object z]"===String(n)},655:function(e,t,r){"use strict";var n=r(36955),o=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},58319:function(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:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},15823:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(69565),a=r(43724),u=r(72805),c=r(94644),s=r(66346),l=r(90679),f=r(6980),p=r(66699),d=r(2087),h=r(18014),y=r(57696),v=r(58229),m=r(58319),b=r(56969),g=r(39297),w=r(36955),E=r(20034),_=r(10757),S=r(2360),O=r(1625),x=r(52967),T=r(38480).f,P=r(43251),j=r(59213).forEach,k=r(87633),L=r(62106),I=r(24913),C=r(77347),A=r(35370),N=r(91181),M=r(23167),R=N.get,D=N.set,U=N.enforce,F=I.f,W=C.f,z=o.RangeError,B=s.ArrayBuffer,V=B.prototype,Y=s.DataView,G=c.NATIVE_ARRAY_BUFFER_VIEWS,H=c.TYPED_ARRAY_TAG,Q=c.TypedArray,q=c.TypedArrayPrototype,K=c.isTypedArray,$="BYTES_PER_ELEMENT",X="Wrong length",J=function(e,t){L(e,t,{configurable:!0,get:function(){return R(this)[t]}})},Z=function(e){var t;return O(V,e)||"ArrayBuffer"===(t=w(e))||"SharedArrayBuffer"===t},ee=function(e,t){return K(e)&&!_(t)&&t in e&&d(+t)&&t>=0},te=function(e,t){return t=b(t),ee(e,t)?f(2,e[t]):W(e,t)},re=function(e,t,r){return t=b(t),!(ee(e,t)&&E(r)&&g(r,"value"))||g(r,"get")||g(r,"set")||r.configurable||g(r,"writable")&&!r.writable||g(r,"enumerable")&&!r.enumerable?F(e,t,r):(e[t]=r.value,e)};a?(G||(C.f=te,I.f=re,J(q,"buffer"),J(q,"byteOffset"),J(q,"byteLength"),J(q,"length")),n({target:"Object",stat:!0,forced:!G},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var a=e.match(/\d+/)[0]/8,c=e+(r?"Clamped":"")+"Array",s="get"+e,f="set"+e,d=o[c],b=d,g=b&&b.prototype,w={},_=function(e,t){F(e,t,{get:function(){return function(e,t){var r=R(e);return r.view[s](t*a+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var o=R(e);o.view[f](t*a+o.byteOffset,r?m(n):n,!0)}(this,t,e)},enumerable:!0})};G?u&&(b=t((function(e,t,r,n){return l(e,g),M(E(t)?Z(t)?void 0!==n?new d(t,v(r,a),n):void 0!==r?new d(t,v(r,a)):new d(t):K(t)?A(b,t):i(P,b,t):new d(y(t)),e,b)})),x&&x(b,Q),j(T(d),(function(e){e in b||p(b,e,d[e])})),b.prototype=g):(b=t((function(e,t,r,n){l(e,g);var o,u,c,s=0,f=0;if(E(t)){if(!Z(t))return K(t)?A(b,t):i(P,b,t);o=t,f=v(r,a);var p=t.byteLength;if(void 0===n){if(p%a)throw new z(X);if((u=p-f)<0)throw new z(X)}else if((u=h(n)*a)+f>p)throw new z(X);c=u/a}else c=y(t),o=new B(u=c*a);for(D(e,{buffer:o,byteOffset:f,byteLength:u,length:c,view:new Y(o)});s<c;)_(e,s++)})),x&&x(b,Q),g=b.prototype=S(q)),g.constructor!==b&&p(g,"constructor",b),U(g).TypedArrayConstructor=b,H&&p(g,H,c);var O=b!==d;w[c]=b,n({global:!0,constructor:!0,forced:O,sham:!G},w),$ in b||p(b,$,a),$ in g||p(g,$,a),k(c)}):e.exports=function(){}},72805:function(e,t,r){"use strict";var n=r(44576),o=r(79039),i=r(84428),a=r(94644).NATIVE_ARRAY_BUFFER_VIEWS,u=n.ArrayBuffer,c=n.Int8Array;e.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new u(2),1,void 0).length}))},29948:function(e,t,r){"use strict";var n=r(35370),o=r(94644).getTypedArrayConstructor;e.exports=function(e,t){return n(o(e),t)}},43251:function(e,t,r){"use strict";var n=r(76080),o=r(69565),i=r(35548),a=r(48981),u=r(26198),c=r(70081),s=r(50851),l=r(44209),f=r(18727),p=r(94644).aTypedArrayConstructor,d=r(75854);e.exports=function(e){var t,r,h,y,v,m,b,g,w=i(this),E=a(e),_=arguments.length,S=_>1?arguments[1]:void 0,O=void 0!==S,x=s(E);if(x&&!l(x))for(g=(b=c(E,x)).next,E=[];!(m=o(g,b)).done;)E.push(m.value);for(O&&_>2&&(S=n(S,arguments[2])),r=u(E),h=new(p(w))(r),y=f(h),t=0;r>t;t++)v=O?S(E[t],t):E[t],h[t]=y?d(v):+v;return h}},33392:function(e,t,r){"use strict";var n=r(79504),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},67416:function(e,t,r){"use strict";var n=r(79039),o=r(78227),i=r(43724),a=r(96395),u=o("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),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(a||!i)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[u]||"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:function(e,t,r){"use strict";var n=r(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686:function(e,t,r){"use strict";var n=r(43724),o=r(79039);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},22812:function(e){"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},58622:function(e,t,r){"use strict";var n=r(44576),o=r(94901),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},70511:function(e,t,r){"use strict";var n=r(19167),o=r(39297),i=r(1951),a=r(24913).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},1951:function(e,t,r){"use strict";var n=r(78227);t.f=n},78227:function(e,t,r){"use strict";var n=r(44576),o=r(25745),i=r(39297),a=r(33392),u=r(4495),c=r(7040),s=n.Symbol,l=o("wks"),f=c?s.for||s:s&&s.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=u&&i(s,e)?s[e]:f("Symbol."+e)),l[e]}},47452:function(e){"use strict";e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},54743:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(66346),a=r(87633),u="ArrayBuffer",c=i[u];n({global:!0,constructor:!0,forced:o[u]!==c},{ArrayBuffer:c}),a(u)},11745:function(e,t,r){"use strict";var n=r(46518),o=r(27476),i=r(79039),a=r(66346),u=r(28551),c=r(35610),s=r(18014),l=a.ArrayBuffer,f=a.DataView,p=f.prototype,d=o(l.prototype.slice),h=o(p.getUint8),y=o(p.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new l(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(d&&void 0===t)return d(u(this),e);for(var r=u(this).byteLength,n=c(e,r),o=c(void 0===t?r:t,r),i=new l(s(o-n)),a=new f(this),p=new f(i),v=0;n<o;)y(p,v++,h(a,n++));return i}})},28706:function(e,t,r){"use strict";var n=r(46518),o=r(79039),i=r(34376),a=r(20034),u=r(48981),c=r(26198),s=r(96837),l=r(97040),f=r(1469),p=r(70597),d=r(78227),h=r(39519),y=d("isConcatSpreadable"),v=h>=51||!o((function(){var e=[];return e[y]=!1,e.concat()[0]!==e})),m=function(e){if(!a(e))return!1;var t=e[y];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!v||!p("concat")},{concat:function(e){var t,r,n,o,i,a=u(this),p=f(a,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(m(i=-1===t?a:arguments[t]))for(o=c(i),s(d+o),r=0;r<o;r++,d++)r in i&&l(p,d,i[r]);else s(d+1),l(p,d++,i);return p.length=d,p}})},33771:function(e,t,r){"use strict";var n=r(46518),o=r(84373),i=r(6469);n({target:"Array",proto:!0},{fill:o}),i("fill")},2008:function(e,t,r){"use strict";var n=r(46518),o=r(59213).filter;n({target:"Array",proto:!0,forced:!r(70597)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},48980:function(e,t,r){"use strict";var n=r(46518),o=r(59213).findIndex,i=r(6469),a="findIndex",u=!0;a in[]&&Array(1)[a]((function(){u=!1})),n({target:"Array",proto:!0,forced:u},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},50113:function(e,t,r){"use strict";var n=r(46518),o=r(59213).find,i=r(6469),a="find",u=!0;a in[]&&Array(1)[a]((function(){u=!1})),n({target:"Array",proto:!0,forced:u},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},78350:function(e,t,r){"use strict";var n=r(46518),o=r(70259),i=r(79306),a=r(48981),u=r(26198),c=r(1469);n({target:"Array",proto:!0},{flatMap:function(e){var t,r=a(this),n=u(r);return i(e),(t=c(r,0)).length=o(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},46449:function(e,t,r){"use strict";var n=r(46518),o=r(70259),i=r(48981),a=r(26198),u=r(91291),c=r(1469);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),r=a(t),n=c(t,0);return n.length=o(n,t,t,r,0,void 0===e?1:u(e)),n}})},51629:function(e,t,r){"use strict";var n=r(46518),o=r(90235);n({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},23418:function(e,t,r){"use strict";var n=r(46518),o=r(97916);n({target:"Array",stat:!0,forced:!r(84428)((function(e){Array.from(e)}))},{from:o})},74423:function(e,t,r){"use strict";var n=r(46518),o=r(19617).includes,i=r(79039),a=r(6469);n({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},64346:function(e,t,r){"use strict";r(46518)({target:"Array",stat:!0},{isArray:r(34376)})},23792:function(e,t,r){"use strict";var n=r(25397),o=r(6469),i=r(26269),a=r(91181),u=r(24913).f,c=r(51088),s=r(62529),l=r(96395),f=r(43724),p="Array Iterator",d=a.set,h=a.getterFor(p);e.exports=c(Array,"Array",(function(e,t){d(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,s(void 0,!0);switch(e.kind){case"keys":return s(r,!1);case"values":return s(t[r],!1)}return s([r,t[r]],!1)}),"values");var y=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==y.name)try{u(y,"name",{value:"values"})}catch(e){}},48598:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(47055),a=r(25397),u=r(34598),c=o([].join);n({target:"Array",proto:!0,forced:i!==Object||!u("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},62062:function(e,t,r){"use strict";var n=r(46518),o=r(59213).map;n({target:"Array",proto:!0,forced:!r(70597)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},94490:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(34376),a=o([].reverse),u=[1,2];n({target:"Array",proto:!0,forced:String(u)===String(u.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},34782:function(e,t,r){"use strict";var n=r(46518),o=r(34376),i=r(33517),a=r(20034),u=r(35610),c=r(26198),s=r(25397),l=r(97040),f=r(78227),p=r(70597),d=r(67680),h=p("slice"),y=f("species"),v=Array,m=Math.max;n({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var r,n,f,p=s(this),h=c(p),b=u(e,h),g=u(void 0===t?h:t,h);if(o(p)&&(r=p.constructor,(i(r)&&(r===v||o(r.prototype))||a(r)&&null===(r=r[y]))&&(r=void 0),r===v||void 0===r))return d(p,b,g);for(n=new(void 0===r?v:r)(m(g-b,0)),f=0;b<g;b++,f++)b in p&&l(n,f,p[b]);return n.length=f,n}})},26910:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(79306),a=r(48981),u=r(26198),c=r(84606),s=r(655),l=r(79039),f=r(74488),p=r(34598),d=r(13709),h=r(13763),y=r(39519),v=r(3607),m=[],b=o(m.sort),g=o(m.push),w=l((function(){m.sort(void 0)})),E=l((function(){m.sort(null)})),_=p("sort"),S=!l((function(){if(y)return y<70;if(!(d&&d>3)){if(h)return!0;if(v)return v<603;var e,t,r,n,o="";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++)m.push({k:t+n,v:r})}for(m.sort((function(e,t){return t.v-e.v})),n=0;n<m.length;n++)t=m[n].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:w||!E||!_||!S},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(S)return void 0===e?b(t):b(t,e);var r,n,o=[],l=u(t);for(n=0;n<l;n++)n in t&&g(o,t[n]);for(f(o,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:s(t)>s(r)?1:-1}}(e)),r=u(o),n=0;n<r;)t[n]=o[n++];for(;n<l;)c(t,n++);return t}})},54554:function(e,t,r){"use strict";var n=r(46518),o=r(48981),i=r(35610),a=r(91291),u=r(26198),c=r(34527),s=r(96837),l=r(1469),f=r(97040),p=r(84606),d=r(70597)("splice"),h=Math.max,y=Math.min;n({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var r,n,d,v,m,b,g=o(this),w=u(g),E=i(e,w),_=arguments.length;for(0===_?r=n=0:1===_?(r=0,n=w-E):(r=_-2,n=y(h(a(t),0),w-E)),s(w+r-n),d=l(g,n),v=0;v<n;v++)(m=E+v)in g&&f(d,v,g[m]);if(d.length=n,r<n){for(v=E;v<w-n;v++)b=v+r,(m=v+n)in g?g[b]=g[m]:p(g,b);for(v=w;v>w-n+r;v--)p(g,v-1)}else if(r>n)for(v=w-n;v>E;v--)b=v+r-1,(m=v+n-1)in g?g[b]=g[m]:p(g,b);for(v=0;v<r;v++)g[v+E]=arguments[v+2];return c(g,w-n+r),d}})},30237:function(e,t,r){"use strict";r(6469)("flatMap")},93514:function(e,t,r){"use strict";r(6469)("flat")},24359:function(e,t,r){"use strict";var n=r(46518),o=r(66346);n({global:!0,constructor:!0,forced:!r(77811)},{DataView:o.DataView})},38309:function(e,t,r){"use strict";r(24359)},59089:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=Date,a=o(i.prototype.getTime);n({target:"Date",stat:!0},{now:function(){return a(new i)}})},89572:function(e,t,r){"use strict";var n=r(39297),o=r(36840),i=r(53640),a=r(78227)("toPrimitive"),u=Date.prototype;n(u,a)||o(u,a,i)},23288:function(e,t,r){"use strict";var n=r(79504),o=r(36840),i=Date.prototype,a="Invalid Date",u="toString",c=n(i[u]),s=n(i.getTime);String(new Date(NaN))!==a&&o(i,u,(function(){var e=s(this);return e==e?c(this):a}))},94170:function(e,t,r){"use strict";var n=r(46518),o=r(30566);n({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},62010:function(e,t,r){"use strict";var n=r(43724),o=r(10350).EXISTS,i=r(79504),a=r(62106),u=Function.prototype,c=i(u.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(s.exec);n&&!o&&a(u,"name",{configurable:!0,get:function(){try{return l(s,c(this))[1]}catch(e){return""}}})},33110:function(e,t,r){"use strict";var n=r(46518),o=r(97751),i=r(18745),a=r(69565),u=r(79504),c=r(79039),s=r(94901),l=r(10757),f=r(67680),p=r(66933),d=r(4495),h=String,y=o("JSON","stringify"),v=u(/./.exec),m=u("".charAt),b=u("".charCodeAt),g=u("".replace),w=u(1..toString),E=/[\uD800-\uDFFF]/g,_=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,O=!d||c((function(){var e=o("Symbol")("stringify detection");return"[null]"!==y([e])||"{}"!==y({a:e})||"{}"!==y(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),T=function(e,t){var r=f(arguments),n=p(t);if(s(n)||void 0!==e&&!l(e))return r[1]=function(e,t){if(s(n)&&(t=a(n,this,h(e),t)),!l(t))return t},i(y,null,r)},P=function(e,t,r){var n=m(r,t-1),o=m(r,t+1);return v(_,e)&&!v(S,o)||v(S,e)&&!v(_,n)?"\\u"+w(b(e,0),16):e};y&&n({target:"JSON",stat:!0,arity:3,forced:O||x},{stringify:function(e,t,r){var n=f(arguments),o=i(O?T:y,null,n);return x&&"string"==typeof o?g(o,E,P):o}})},4731:function(e,t,r){"use strict";var n=r(44576);r(10687)(n.JSON,"JSON",!0)},48523:function(e,t,r){"use strict";r(16468)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(86938))},36033:function(e,t,r){"use strict";r(48523)},60479:function(e,t,r){"use strict";r(10687)(Math,"Math",!0)},2892:function(e,t,r){"use strict";var n=r(46518),o=r(96395),i=r(43724),a=r(44576),u=r(19167),c=r(79504),s=r(92796),l=r(39297),f=r(23167),p=r(1625),d=r(10757),h=r(72777),y=r(79039),v=r(38480).f,m=r(77347).f,b=r(24913).f,g=r(31240),w=r(43802).trim,E="Number",_=a[E],S=u[E],O=_.prototype,x=a.TypeError,T=c("".slice),P=c("".charCodeAt),j=s(E,!_(" 0o1")||!_("0b1")||_("+0x1")),k=function(e){var t,r=arguments.length<1?0:_(function(e){var t=h(e,"number");return"bigint"==typeof t?t:function(e){var t,r,n,o,i,a,u,c,s=h(e,"number");if(d(s))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=w(s),43===(t=P(s,0))||45===t){if(88===(r=P(s,2))||120===r)return NaN}else if(48===t){switch(P(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(a=(i=T(s,2)).length,u=0;u<a;u++)if((c=P(i,u))<48||c>o)return NaN;return parseInt(i,n)}return+s}(t)}(e));return p(O,t=this)&&y((function(){g(t)}))?f(Object(r),this,k):r};k.prototype=O,j&&!o&&(O.constructor=k),n({global:!0,constructor:!0,wrap:!0,forced:j},{Number:k});var L=function(e,t){for(var r,n=i?v(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)l(t,r=n[o])&&!l(e,r)&&b(e,r,m(t,r))};o&&S&&L(u[E],S),(j||o)&&L(u[E],_)},69085:function(e,t,r){"use strict";var n=r(46518),o=r(44213);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},59904:function(e,t,r){"use strict";r(46518)({target:"Object",stat:!0,sham:!r(43724)},{create:r(2360)})},84185:function(e,t,r){"use strict";var n=r(46518),o=r(43724),i=r(24913).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},5506:function(e,t,r){"use strict";var n=r(46518),o=r(32357).entries;n({target:"Object",stat:!0},{entries:function(e){return o(e)}})},83851:function(e,t,r){"use strict";var n=r(46518),o=r(79039),i=r(25397),a=r(77347).f,u=r(43724);n({target:"Object",stat:!0,forced:!u||o((function(){a(1)})),sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},81278:function(e,t,r){"use strict";var n=r(46518),o=r(43724),i=r(35031),a=r(25397),u=r(77347),c=r(97040);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),o=u.f,s=i(n),l={},f=0;s.length>f;)void 0!==(r=o(n,t=s[f++]))&&c(l,t,r);return l}})},1480:function(e,t,r){"use strict";var n=r(46518),o=r(79039),i=r(10298).f;n({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},49773:function(e,t,r){"use strict";var n=r(46518),o=r(4495),i=r(79039),a=r(33717),u=r(48981);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(u(e)):[]}})},40875:function(e,t,r){"use strict";var n=r(46518),o=r(79039),i=r(48981),a=r(42787),u=r(12211);n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},79432:function(e,t,r){"use strict";var n=r(46518),o=r(48981),i=r(71072);n({target:"Object",stat:!0,forced:r(79039)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},10287:function(e,t,r){"use strict";r(46518)({target:"Object",stat:!0},{setPrototypeOf:r(52967)})},26099:function(e,t,r){"use strict";var n=r(92140),o=r(36840),i=r(53179);n||o(Object.prototype,"toString",i,{unsafe:!0})},16034:function(e,t,r){"use strict";var n=r(46518),o=r(32357).values;n({target:"Object",stat:!0},{values:function(e){return o(e)}})},60825:function(e,t,r){"use strict";var n=r(46518),o=r(97751),i=r(18745),a=r(30566),u=r(35548),c=r(28551),s=r(20034),l=r(2360),f=r(79039),p=o("Reflect","construct"),d=Object.prototype,h=[].push,y=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),m=y||v;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){u(e),c(t);var r=arguments.length<3?e:u(arguments[2]);if(v&&!y)return p(e,t,r);if(e===r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return i(h,n,t),new(i(a,e,n))}var o=r.prototype,f=l(s(o)?o:d),m=i(e,f,t);return s(m)?m:f}})},40888:function(e,t,r){"use strict";var n=r(46518),o=r(69565),i=r(20034),a=r(28551),u=r(16575),c=r(77347),s=r(42787);n({target:"Reflect",stat:!0},{get:function e(t,r){var n,l,f=arguments.length<3?t:arguments[2];return a(t)===f?t[r]:(n=c.f(t,r))?u(n)?n.value:void 0===n.get?void 0:o(n.get,f):i(l=s(t))?e(l,r,f):void 0}})},84864:function(e,t,r){"use strict";var n=r(43724),o=r(44576),i=r(79504),a=r(92796),u=r(23167),c=r(66699),s=r(2360),l=r(38480).f,f=r(1625),p=r(60788),d=r(655),h=r(61034),y=r(58429),v=r(11056),m=r(36840),b=r(79039),g=r(39297),w=r(91181).enforce,E=r(87633),_=r(78227),S=r(83635),O=r(18814),x=_("match"),T=o.RegExp,P=T.prototype,j=o.SyntaxError,k=i(P.exec),L=i("".charAt),I=i("".replace),C=i("".indexOf),A=i("".slice),N=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,R=/a/g,D=new T(M)!==M,U=y.MISSED_STICKY,F=y.UNSUPPORTED_Y;if(a("RegExp",n&&(!D||U||S||O||b((function(){return R[x]=!1,T(M)!==M||T(R)===R||"/a/i"!==String(T(M,"i"))}))))){for(var W=function(e,t){var r,n,o,i,a,l,y=f(P,this),v=p(e),m=void 0===t,b=[],E=e;if(!y&&v&&m&&e.constructor===W)return e;if((v||f(P,e))&&(e=e.source,m&&(t=h(E))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),E=e,S&&"dotAll"in M&&(n=!!t&&C(t,"s")>-1)&&(t=I(t,/s/g,"")),r=t,U&&"sticky"in M&&(o=!!t&&C(t,"y")>-1)&&F&&(t=I(t,/y/g,"")),O&&(i=function(e){for(var t,r=e.length,n=0,o="",i=[],a=s(null),u=!1,c=!1,l=0,f="";n<=r;n++){if("\\"===(t=L(e,n)))t+=L(e,++n);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:if(o+=t,"?:"===A(e,n+1,n+3))continue;k(N,A(e,n+1))&&(n+=2,c=!0),l++;continue;case">"===t&&c:if(""===f||g(a,f))throw new j("Invalid capture group name");a[f]=!0,i[i.length]=[f,l],c=!1,f="";continue}c?f+=t:o+=t}return[o,i]}(e),e=i[0],b=i[1]),a=u(T(e,t),y?this:P,W),(n||o||b.length)&&(l=w(a),n&&(l.dotAll=!0,l.raw=W(function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(t=L(e,n))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+L(e,++n);return o}(e),r)),o&&(l.sticky=!0),b.length&&(l.groups=b)),e!==E)try{c(a,"source",""===E?"(?:)":E)}catch(e){}return a},z=l(T),B=0;z.length>B;)v(W,T,z[B++]);P.constructor=W,W.prototype=P,m(o,"RegExp",W,{constructor:!0})}E("RegExp")},27495:function(e,t,r){"use strict";var n=r(46518),o=r(57323);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},38781:function(e,t,r){"use strict";var n=r(10350).PROPER,o=r(36840),i=r(28551),a=r(655),u=r(79039),c=r(61034),s="toString",l=RegExp.prototype,f=l[s],p=u((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=n&&f.name!==s;(p||d)&&o(l,s,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))}),{unsafe:!0})},92405:function(e,t,r){"use strict";r(16468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(86938))},31415:function(e,t,r){"use strict";r(92405)},27337:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(35610),a=RangeError,u=String.fromCharCode,c=String.fromCodePoint,s=o([].join);n({target:"String",stat:!0,arity:1,forced:!!c&&1!==c.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw new a(t+" is not a valid code point");r[o]=t<65536?u(t):u(55296+((t-=65536)>>10),t%1024+56320)}return s(r,"")}})},21699:function(e,t,r){"use strict";var n=r(46518),o=r(79504),i=r(60511),a=r(67750),u=r(655),c=r(41436),s=o("".indexOf);n({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~s(u(a(this)),u(i(e)),arguments.length>1?arguments[1]:void 0)}})},47764:function(e,t,r){"use strict";var n=r(68183).charAt,o=r(655),i=r(91181),a=r(51088),u=r(62529),c="String Iterator",s=i.set,l=i.getterFor(c);a(String,"String",(function(e){s(this,{type:c,string:o(e),index:0})}),(function(){var e,t=l(this),r=t.string,o=t.index;return o>=r.length?u(void 0,!0):(e=n(r,o),t.index+=e.length,u(e,!1))}))},71761:function(e,t,r){"use strict";var n=r(69565),o=r(89228),i=r(28551),a=r(64117),u=r(18014),c=r(655),s=r(67750),l=r(55966),f=r(57829),p=r(56682);o("match",(function(e,t,r){return[function(t){var r=s(this),o=a(t)?void 0:l(t,e);return o?n(o,t,r):new RegExp(t)[e](c(r))},function(e){var n=i(this),o=c(e),a=r(t,n,o);if(a.done)return a.value;if(!n.global)return p(n,o);var s=n.unicode;n.lastIndex=0;for(var l,d=[],h=0;null!==(l=p(n,o));){var y=c(l[0]);d[h]=y,""===y&&(n.lastIndex=f(o,u(n.lastIndex),s)),h++}return 0===h?null:d}]}))},79978:function(e,t,r){"use strict";var n=r(46518),o=r(69565),i=r(79504),a=r(67750),u=r(94901),c=r(64117),s=r(60788),l=r(655),f=r(55966),p=r(61034),d=r(2478),h=r(78227),y=r(96395),v=h("replace"),m=TypeError,b=i("".indexOf),g=i("".replace),w=i("".slice),E=Math.max;n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,i,h,_,S,O,x,T,P,j=a(this),k=0,L="";if(!c(e)){if((r=s(e))&&(n=l(a(p(e))),!~b(n,"g")))throw new m("`.replaceAll` does not allow non-global regexes");if(i=f(e,v))return o(i,e,j,t);if(y&&r)return g(l(j),e,t)}for(h=l(j),_=l(e),(S=u(t))||(t=l(t)),O=_.length,x=E(1,O),T=b(h,_);-1!==T;)P=S?l(t(_,T,h)):d(_,h,T,[],void 0,t),L+=w(h,k,T)+P,k=T+O,T=T+x>h.length?-1:b(h,_,T+x);return k<h.length&&(L+=w(h,k)),L}})},25440:function(e,t,r){"use strict";var n=r(18745),o=r(69565),i=r(79504),a=r(89228),u=r(79039),c=r(28551),s=r(94901),l=r(64117),f=r(91291),p=r(18014),d=r(655),h=r(67750),y=r(57829),v=r(55966),m=r(2478),b=r(56682),g=r(78227)("replace"),w=Math.max,E=Math.min,_=i([].concat),S=i([].push),O=i("".indexOf),x=i("".slice),T="$0"==="a".replace(/./,"$0"),P=!!/./[g]&&""===/./[g]("a","$0");a("replace",(function(e,t,r){var i=P?"$":"$0";return[function(e,r){var n=h(this),i=l(e)?void 0:v(e,g);return i?o(i,e,n,r):o(t,d(n),e,r)},function(e,o){var a=c(this),u=d(e);if("string"==typeof o&&-1===O(o,i)&&-1===O(o,"$<")){var l=r(t,a,u,o);if(l.done)return l.value}var h=s(o);h||(o=d(o));var v,g=a.global;g&&(v=a.unicode,a.lastIndex=0);for(var T,P=[];null!==(T=b(a,u))&&(S(P,T),g);)""===d(T[0])&&(a.lastIndex=y(u,p(a.lastIndex),v));for(var j,k="",L=0,I=0;I<P.length;I++){for(var C,A=d((T=P[I])[0]),N=w(E(f(T.index),u.length),0),M=[],R=1;R<T.length;R++)S(M,void 0===(j=T[R])?j:String(j));var D=T.groups;if(h){var U=_([A],M,N,u);void 0!==D&&S(U,D),C=d(n(o,void 0,U))}else C=m(A,u,N,M,D,o);N>=L&&(k+=x(u,L,N)+C,L=N+A.length)}return k+x(u,L)}]}),!!u((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!T||P)},5746:function(e,t,r){"use strict";var n=r(69565),o=r(89228),i=r(28551),a=r(64117),u=r(67750),c=r(3470),s=r(655),l=r(55966),f=r(56682);o("search",(function(e,t,r){return[function(t){var r=u(this),o=a(t)?void 0:l(t,e);return o?n(o,t,r):new RegExp(t)[e](s(r))},function(e){var n=i(this),o=s(e),a=r(t,n,o);if(a.done)return a.value;var u=n.lastIndex;c(u,0)||(n.lastIndex=0);var l=f(n,o);return c(n.lastIndex,u)||(n.lastIndex=u),null===l?-1:l.index}]}))},11392:function(e,t,r){"use strict";var n,o=r(46518),i=r(27476),a=r(77347).f,u=r(18014),c=r(655),s=r(60511),l=r(67750),f=r(41436),p=r(96395),d=i("".slice),h=Math.min,y=f("startsWith");o({target:"String",proto:!0,forced:!(!p&&!y&&(n=a(String.prototype,"startsWith"),n&&!n.writable)||y)},{startsWith:function(e){var t=c(l(this));s(e);var r=u(h(arguments.length>1?arguments[1]:void 0,t.length)),n=c(e);return d(t,r,r+n.length)===n}})},42762:function(e,t,r){"use strict";var n=r(46518),o=r(43802).trim;n({target:"String",proto:!0,forced:r(60706)("trim")},{trim:function(){return o(this)}})},66412:function(e,t,r){"use strict";r(70511)("asyncIterator")},6761:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(69565),a=r(79504),u=r(96395),c=r(43724),s=r(4495),l=r(79039),f=r(39297),p=r(1625),d=r(28551),h=r(25397),y=r(56969),v=r(655),m=r(6980),b=r(2360),g=r(71072),w=r(38480),E=r(10298),_=r(33717),S=r(77347),O=r(24913),x=r(96801),T=r(48773),P=r(36840),j=r(62106),k=r(25745),L=r(66119),I=r(30421),C=r(33392),A=r(78227),N=r(1951),M=r(70511),R=r(58242),D=r(10687),U=r(91181),F=r(59213).forEach,W=L("hidden"),z="Symbol",B="prototype",V=U.set,Y=U.getterFor(z),G=Object[B],H=o.Symbol,Q=H&&H[B],q=o.RangeError,K=o.TypeError,$=o.QObject,X=S.f,J=O.f,Z=E.f,ee=T.f,te=a([].push),re=k("symbols"),ne=k("op-symbols"),oe=k("wks"),ie=!$||!$[B]||!$[B].findChild,ae=function(e,t,r){var n=X(G,t);n&&delete G[t],J(e,t,r),n&&e!==G&&J(G,t,n)},ue=c&&l((function(){return 7!==b(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?ae:J,ce=function(e,t){var r=re[e]=b(Q);return V(r,{type:z,tag:e,description:t}),c||(r.description=t),r},se=function(e,t,r){e===G&&se(ne,t,r),d(e);var n=y(t);return d(r),f(re,n)?(r.enumerable?(f(e,W)&&e[W][n]&&(e[W][n]=!1),r=b(r,{enumerable:m(0,!1)})):(f(e,W)||J(e,W,m(1,b(null))),e[W][n]=!0),ue(e,n,r)):J(e,n,r)},le=function(e,t){d(e);var r=h(t),n=g(r).concat(he(r));return F(n,(function(t){c&&!i(fe,r,t)||se(e,t,r[t])})),e},fe=function(e){var t=y(e),r=i(ee,this,t);return!(this===G&&f(re,t)&&!f(ne,t))&&(!(r||!f(this,t)||!f(re,t)||f(this,W)&&this[W][t])||r)},pe=function(e,t){var r=h(e),n=y(t);if(r!==G||!f(re,n)||f(ne,n)){var o=X(r,n);return!o||!f(re,n)||f(r,W)&&r[W][n]||(o.enumerable=!0),o}},de=function(e){var t=Z(h(e)),r=[];return F(t,(function(e){f(re,e)||f(I,e)||te(r,e)})),r},he=function(e){var t=e===G,r=Z(t?ne:h(e)),n=[];return F(r,(function(e){!f(re,e)||t&&!f(G,e)||te(n,re[e])})),n};s||(H=function(){if(p(Q,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=C(e),r=function(e){var n=void 0===this?o:this;n===G&&i(r,ne,e),f(n,W)&&f(n[W],t)&&(n[W][t]=!1);var a=m(1,e);try{ue(n,t,a)}catch(e){if(!(e instanceof q))throw e;ae(n,t,a)}};return c&&ie&&ue(G,t,{configurable:!0,set:r}),ce(t,e)},P(Q=H[B],"toString",(function(){return Y(this).tag})),P(H,"withoutSetter",(function(e){return ce(C(e),e)})),T.f=fe,O.f=se,x.f=le,S.f=pe,w.f=E.f=de,_.f=he,N.f=function(e){return ce(A(e),e)},c&&(j(Q,"description",{configurable:!0,get:function(){return Y(this).description}}),u||P(G,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:H}),F(g(oe),(function(e){M(e)})),n({target:z,stat:!0,forced:!s},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!c},{create:function(e,t){return void 0===t?b(e):le(b(e),t)},defineProperty:se,defineProperties:le,getOwnPropertyDescriptor:pe}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:de}),R(),D(H,z),I[W]=!0},89463:function(e,t,r){"use strict";var n=r(46518),o=r(43724),i=r(44576),a=r(79504),u=r(39297),c=r(94901),s=r(1625),l=r(655),f=r(62106),p=r(77740),d=i.Symbol,h=d&&d.prototype;if(o&&c(d)&&(!("description"in h)||void 0!==d().description)){var y={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=s(h,this)?new d(e):void 0===e?d():d(e);return""===e&&(y[t]=!0),t};p(v,d),v.prototype=h,h.constructor=v;var m="Symbol(description detection)"===String(d("description detection")),b=a(h.valueOf),g=a(h.toString),w=/^Symbol\((.*)\)[^)]+$/,E=a("".replace),_=a("".slice);f(h,"description",{configurable:!0,get:function(){var e=b(this);if(u(y,e))return"";var t=g(e),r=m?_(t,7,-1):E(t,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:v})}},81510:function(e,t,r){"use strict";var n=r(46518),o=r(97751),i=r(39297),a=r(655),u=r(25745),c=r(91296),s=u("string-to-symbol-registry"),l=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=a(e);if(i(s,t))return s[t];var r=o("Symbol")(t);return s[t]=r,l[r]=t,r}})},2259:function(e,t,r){"use strict";r(70511)("iterator")},52675:function(e,t,r){"use strict";r(6761),r(81510),r(97812),r(33110),r(49773)},97812:function(e,t,r){"use strict";var n=r(46518),o=r(39297),i=r(10757),a=r(16823),u=r(25745),c=r(91296),s=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(s,e))return s[e]}})},45700:function(e,t,r){"use strict";var n=r(70511),o=r(58242);n("toPrimitive"),o()},78125:function(e,t,r){"use strict";var n=r(97751),o=r(70511),i=r(10687);o("toStringTag"),i(n("Symbol"),"Symbol")},81630:function(e,t,r){"use strict";var n=r(79504),o=r(94644),i=n(r(57029)),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},72170:function(e,t,r){"use strict";var n=r(94644),o=r(59213).every,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},75044:function(e,t,r){"use strict";var n=r(94644),o=r(84373),i=r(75854),a=r(36955),u=r(69565),c=r(79504),s=r(79039),l=n.aTypedArray,f=n.exportTypedArrayMethod,p=c("".slice);f("fill",(function(e){var t=arguments.length;l(this);var r="Big"===p(a(this),0,3)?i(e):+e;return u(o,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),s((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},69539:function(e,t,r){"use strict";var n=r(94644),o=r(59213).filter,i=r(29948),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},89955:function(e,t,r){"use strict";var n=r(94644),o=r(59213).findIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},31694:function(e,t,r){"use strict";var n=r(94644),o=r(59213).find,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},33206:function(e,t,r){"use strict";var n=r(94644),o=r(59213).forEach,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},44496:function(e,t,r){"use strict";var n=r(94644),o=r(19617).includes,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},66651:function(e,t,r){"use strict";var n=r(94644),o=r(19617).indexOf,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},12887:function(e,t,r){"use strict";var n=r(44576),o=r(79039),i=r(79504),a=r(94644),u=r(23792),c=r(78227)("iterator"),s=n.Uint8Array,l=i(u.values),f=i(u.keys),p=i(u.entries),d=a.aTypedArray,h=a.exportTypedArrayMethod,y=s&&s.prototype,v=!o((function(){y[c].call([1])})),m=!!y&&y.values&&y[c]===y.values&&"values"===y.values.name,b=function(){return l(d(this))};h("entries",(function(){return p(d(this))}),v),h("keys",(function(){return f(d(this))}),v),h("values",b,v||!m,{name:"values"}),h(c,b,v||!m,{name:"values"})},19369:function(e,t,r){"use strict";var n=r(94644),o=r(79504),i=n.aTypedArray,a=n.exportTypedArrayMethod,u=o([].join);a("join",(function(e){return u(i(this),e)}))},66812:function(e,t,r){"use strict";var n=r(94644),o=r(18745),i=r(8379),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},8995:function(e,t,r){"use strict";var n=r(94644),o=r(59213).map,i=n.aTypedArray,a=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("map",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(a(e))(t)}))}))},36072:function(e,t,r){"use strict";var n=r(94644),o=r(80926).right,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},31575:function(e,t,r){"use strict";var n=r(94644),o=r(80926).left,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},88747:function(e,t,r){"use strict";var n=r(94644),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,r=o(t).length,n=a(r/2),i=0;i<n;)e=t[i],t[i++]=t[--r],t[r]=e;return t}))},28845:function(e,t,r){"use strict";var n=r(44576),o=r(69565),i=r(94644),a=r(26198),u=r(58229),c=r(48981),s=r(79039),l=n.RangeError,f=n.Int8Array,p=f&&f.prototype,d=p&&p.set,h=i.aTypedArray,y=i.exportTypedArrayMethod,v=!s((function(){var e=new Uint8ClampedArray(2);return o(d,e,{length:1,0:3},1),3!==e[1]})),m=v&&i.NATIVE_ARRAY_BUFFER_VIEWS&&s((function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));y("set",(function(e){h(this);var t=u(arguments.length>1?arguments[1]:void 0,1),r=c(e);if(v)return o(d,this,r,t);var n=this.length,i=a(r),s=0;if(i+t>n)throw new l("Wrong length");for(;s<i;)this[t+s]=r[s++]}),!v||m)},29423:function(e,t,r){"use strict";var n=r(94644),o=r(79039),i=r(67680),a=n.aTypedArray,u=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("slice",(function(e,t){for(var r=i(a(this),e,t),n=u(this),o=0,c=r.length,s=new n(c);c>o;)s[o]=r[o++];return s}),o((function(){new Int8Array(1).slice()})))},57301:function(e,t,r){"use strict";var n=r(94644),o=r(59213).some,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},373:function(e,t,r){"use strict";var n=r(44576),o=r(27476),i=r(79039),a=r(79306),u=r(74488),c=r(94644),s=r(13709),l=r(13763),f=r(39519),p=r(3607),d=c.aTypedArray,h=c.exportTypedArrayMethod,y=n.Uint16Array,v=y&&o(y.prototype.sort),m=!(!v||i((function(){v(new y(2),null)}))&&i((function(){v(new y(2),{})}))),b=!!v&&!i((function(){if(f)return f<74;if(s)return s<67;if(l)return!0;if(p)return p<602;var e,t,r=new y(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}));h("sort",(function(e){return void 0!==e&&a(e),b?v(this,e):u(d(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))}),!b||m)},86614:function(e,t,r){"use strict";var n=r(94644),o=r(18014),i=r(35610),a=n.aTypedArray,u=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("subarray",(function(e,t){var r=a(this),n=r.length,c=i(e,n);return new(u(r))(r.buffer,r.byteOffset+c*r.BYTES_PER_ELEMENT,o((void 0===t?n:i(t,n))-c))}))},41405:function(e,t,r){"use strict";var n=r(44576),o=r(18745),i=r(94644),a=r(79039),u=r(67680),c=n.Int8Array,s=i.aTypedArray,l=i.exportTypedArrayMethod,f=[].toLocaleString,p=!!c&&a((function(){f.call(new c(1))}));l("toLocaleString",(function(){return o(f,p?u(s(this)):s(this),u(arguments))}),a((function(){return[1,2].toLocaleString()!==new c([1,2]).toLocaleString()}))||!a((function(){c.prototype.toLocaleString.call([1,2])})))},33684:function(e,t,r){"use strict";var n=r(94644).exportTypedArrayMethod,o=r(79039),i=r(44576),a=r(79504),u=i.Uint8Array,c=u&&u.prototype||{},s=[].toString,l=a([].join);o((function(){s.call({})}))&&(s=function(){return l(this)});var f=c.toString!==s;n("toString",s,f)},21489:function(e,t,r){"use strict";r(15823)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},65746:function(e,t,r){"use strict";var n,o=r(92744),i=r(44576),a=r(79504),u=r(56279),c=r(3451),s=r(16468),l=r(91625),f=r(20034),p=r(91181).enforce,d=r(79039),h=r(58622),y=Object,v=Array.isArray,m=y.isExtensible,b=y.isFrozen,g=y.isSealed,w=y.freeze,E=y.seal,_=!i.ActiveXObject&&"ActiveXObject"in i,S=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},O=s("WeakMap",S,l),x=O.prototype,T=a(x.set);if(h)if(_){n=l.getConstructor(S,"WeakMap",!0),c.enable();var P=a(x.delete),j=a(x.has),k=a(x.get);u(x,{delete:function(e){if(f(e)&&!m(e)){var t=p(this);return t.frozen||(t.frozen=new n),P(this,e)||t.frozen.delete(e)}return P(this,e)},has:function(e){if(f(e)&&!m(e)){var t=p(this);return t.frozen||(t.frozen=new n),j(this,e)||t.frozen.has(e)}return j(this,e)},get:function(e){if(f(e)&&!m(e)){var t=p(this);return t.frozen||(t.frozen=new n),j(this,e)?k(this,e):t.frozen.get(e)}return k(this,e)},set:function(e,t){if(f(e)&&!m(e)){var r=p(this);r.frozen||(r.frozen=new n),j(this,e)?T(this,e,t):r.frozen.set(e,t)}else T(this,e,t);return this}})}else o&&d((function(){var e=w([]);return T(new O,e,1),!b(e)}))&&u(x,{set:function(e,t){var r;return v(e)&&(b(e)?r=w:g(e)&&(r=E)),T(this,e,t),r&&r(e),this}})},73772:function(e,t,r){"use strict";r(65746)},5240:function(e,t,r){"use strict";r(16468)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(91625))},30958:function(e,t,r){"use strict";r(5240)},12041:function(e,t,r){"use strict";r(79978)},23500:function(e,t,r){"use strict";var n=r(44576),o=r(67400),i=r(79296),a=r(90235),u=r(66699),c=function(e){if(e&&e.forEach!==a)try{u(e,"forEach",a)}catch(t){e.forEach=a}};for(var s in o)o[s]&&c(n[s]&&n[s].prototype);c(i)},62953:function(e,t,r){"use strict";var n=r(44576),o=r(67400),i=r(79296),a=r(23792),u=r(66699),c=r(10687),s=r(78227)("iterator"),l=a.values,f=function(e,t){if(e){if(e[s]!==l)try{u(e,s,l)}catch(t){e[s]=l}if(c(e,t,!0),o[t])for(var r in a)if(e[r]!==a[r])try{u(e,r,a[r])}catch(t){e[r]=a[r]}}};for(var p in o)f(n[p]&&n[p].prototype,p);f(i,"DOMTokenList")},15575:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(79472)(o.setInterval,!0);n({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},24599:function(e,t,r){"use strict";var n=r(46518),o=r(44576),i=r(79472)(o.setTimeout,!0);n({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},76031:function(e,t,r){"use strict";r(15575),r(24599)},98406:function(e,t,r){"use strict";r(23792),r(27337);var n=r(46518),o=r(44576),i=r(93389),a=r(97751),u=r(69565),c=r(79504),s=r(43724),l=r(67416),f=r(36840),p=r(62106),d=r(56279),h=r(10687),y=r(33994),v=r(91181),m=r(90679),b=r(94901),g=r(39297),w=r(76080),E=r(36955),_=r(28551),S=r(20034),O=r(655),x=r(2360),T=r(6980),P=r(70081),j=r(50851),k=r(62529),L=r(22812),I=r(78227),C=r(74488),A=I("iterator"),N="URLSearchParams",M=N+"Iterator",R=v.set,D=v.getterFor(N),U=v.getterFor(M),F=i("fetch"),W=i("Request"),z=i("Headers"),B=W&&W.prototype,V=z&&z.prototype,Y=o.TypeError,G=o.encodeURIComponent,H=String.fromCharCode,Q=a("String","fromCodePoint"),q=parseInt,K=c("".charAt),$=c([].join),X=c([].push),J=c("".replace),Z=c([].shift),ee=c([].splice),te=c("".split),re=c("".slice),ne=c(/./.exec),oe=/\+/g,ie=/^[0-9a-f]+$/i,ae=function(e,t){var r=re(e,t,t+2);return ne(ie,r)?q(r,16):NaN},ue=function(e){for(var t=0,r=128;r>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},se=function(e){for(var t=(e=J(e,oe," ")).length,r="",n=0;n<t;){var o=K(e,n);if("%"===o){if("%"===K(e,n+1)||n+3>t){r+="%",n++;continue}var i=ae(e,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=ue(i);if(0===a)o=H(i);else{if(1===a||a>4){r+="�",n++;continue}for(var u=[i],c=1;c<a&&!(3+ ++n>t||"%"!==K(e,n));){var s=ae(e,n+1);if(s!=s){n+=3;break}if(s>191||s<128)break;X(u,s),n+=2,c++}if(u.length!==a){r+="�";continue}var l=ce(u);null===l?r+="�":o=Q(l)}}r+=o,n++}return r},le=/[!'()~]|%20/g,fe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},pe=function(e){return fe[e]},de=function(e){return J(G(e),le,pe)},he=y((function(e,t){R(this,{type:M,target:D(e).entries,index:0,kind:t})}),N,(function(){var e=U(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,k(void 0,!0);var n=t[r];switch(e.kind){case"keys":return k(n.key,!1);case"values":return k(n.value,!1)}return k([n.key,n.value],!1)}),!0),ye=function(e){this.entries=[],this.url=null,void 0!==e&&(S(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===K(e,0)?re(e,1):e:O(e)))};ye.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,i,a,c,s=this.entries,l=j(e);if(l)for(r=(t=P(e,l)).next;!(n=u(r,t)).done;){if(i=(o=P(_(n.value))).next,(a=u(i,o)).done||(c=u(i,o)).done||!u(i,o).done)throw new Y("Expected sequence with length 2");X(s,{key:O(a.value),value:O(c.value)})}else for(var f in e)g(e,f)&&X(s,{key:f,value:O(e[f])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,o=te(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(r=te(t,"="),X(n,{key:se(Z(r)),value:se($(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],X(r,de(e.key)+"="+de(e.value));return $(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ve=function(){m(this,me);var e=R(this,new ye(arguments.length>0?arguments[0]:void 0));s||(this.size=e.entries.length)},me=ve.prototype;if(d(me,{append:function(e,t){var r=D(this);L(arguments.length,2),X(r.entries,{key:O(e),value:O(t)}),s||this.length++,r.updateURL()},delete:function(e){for(var t=D(this),r=L(arguments.length,1),n=t.entries,o=O(e),i=r<2?void 0:arguments[1],a=void 0===i?i:O(i),u=0;u<n.length;){var c=n[u];if(c.key!==o||void 0!==a&&c.value!==a)u++;else if(ee(n,u,1),void 0!==a)break}s||(this.size=n.length),t.updateURL()},get:function(e){var t=D(this).entries;L(arguments.length,1);for(var r=O(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=D(this).entries;L(arguments.length,1);for(var r=O(e),n=[],o=0;o<t.length;o++)t[o].key===r&&X(n,t[o].value);return n},has:function(e){for(var t=D(this).entries,r=L(arguments.length,1),n=O(e),o=r<2?void 0:arguments[1],i=void 0===o?o:O(o),a=0;a<t.length;){var u=t[a++];if(u.key===n&&(void 0===i||u.value===i))return!0}return!1},set:function(e,t){var r=D(this);L(arguments.length,1);for(var n,o=r.entries,i=!1,a=O(e),u=O(t),c=0;c<o.length;c++)(n=o[c]).key===a&&(i?ee(o,c--,1):(i=!0,n.value=u));i||X(o,{key:a,value:u}),s||(this.size=o.length),r.updateURL()},sort:function(){var e=D(this);C(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=D(this).entries,n=w(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new he(this,"keys")},values:function(){return new he(this,"values")},entries:function(){return new he(this,"entries")}},{enumerable:!0}),f(me,A,me.entries,{name:"entries"}),f(me,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),s&&p(me,"size",{get:function(){return D(this).entries.length},configurable:!0,enumerable:!0}),h(ve,N),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:ve}),!l&&b(z)){var be=c(V.has),ge=c(V.set),we=function(e){if(S(e)){var t,r=e.body;if(E(r)===N)return t=e.headers?new z(e.headers):new z,be(t,"content-type")||ge(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),x(e,{body:T(0,O(r)),headers:T(0,t)})}return e};if(b(F)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return F(e,arguments.length>1?we(arguments[1]):{})}}),b(W)){var Ee=function(e){return m(this,B),new W(e,arguments.length>1?we(arguments[1]):{})};B.constructor=Ee,Ee.prototype=B,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ee})}}e.exports={URLSearchParams:ve,getState:D}},48408:function(e,t,r){"use strict";r(98406)},45806:function(e,t,r){"use strict";r(47764);var n,o=r(46518),i=r(43724),a=r(67416),u=r(44576),c=r(76080),s=r(79504),l=r(36840),f=r(62106),p=r(90679),d=r(39297),h=r(44213),y=r(97916),v=r(67680),m=r(68183).codeAt,b=r(3717),g=r(655),w=r(10687),E=r(22812),_=r(98406),S=r(91181),O=S.set,x=S.getterFor("URL"),T=_.URLSearchParams,P=_.getState,j=u.URL,k=u.TypeError,L=u.parseInt,I=Math.floor,C=Math.pow,A=s("".charAt),N=s(/./.exec),M=s([].join),R=s(1..toString),D=s([].pop),U=s([].push),F=s("".replace),W=s([].shift),z=s("".split),B=s("".slice),V=s("".toLowerCase),Y=s([].unshift),G="Invalid scheme",H="Invalid host",Q="Invalid port",q=/[a-z]/i,K=/[\d+-.a-z]/i,$=/\d/,X=/^0x/i,J=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+/,oe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ie=/[\t\n\r]/g,ae=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)Y(t,e%256),e=I(e/256);return M(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=R(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ue={},ce=h({},ue,{" ":1,'"':1,"<":1,">":1,"`":1}),se=h({},ce,{"#":1,"?":1,"{":1,"}":1}),le=h({},se,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fe=function(e,t){var r=m(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},pe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},de=function(e,t){var r;return 2===e.length&&N(q,A(e,0))&&(":"===(r=A(e,1))||!t&&"|"===r)},he=function(e){var t;return e.length>1&&de(B(e,0,2))&&(2===e.length||"/"===(t=A(e,2))||"\\"===t||"?"===t||"#"===t)},ye=function(e){return"."===e||"%2e"===V(e)},ve={},me={},be={},ge={},we={},Ee={},_e={},Se={},Oe={},xe={},Te={},Pe={},je={},ke={},Le={},Ie={},Ce={},Ae={},Ne={},Me={},Re={},De=function(e,t,r){var n,o,i,a=g(e);if(t){if(o=this.parse(a))throw new k(o);this.searchParams=null}else{if(void 0!==r&&(n=new De(r,!0)),o=this.parse(a,null,n))throw new k(o);(i=P(new T)).bindURL(this),this.searchParams=i}};De.prototype={type:"URL",parse:function(e,t,r){var o,i,a,u,c,s=this,l=t||ve,f=0,p="",h=!1,m=!1,b=!1;for(e=g(e),t||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,e=F(e,ne,""),e=F(e,oe,"$1")),e=F(e,ie,""),o=y(e);f<=o.length;){switch(i=o[f],l){case ve:if(!i||!N(q,i)){if(t)return G;l=be;continue}p+=V(i),l=me;break;case me:if(i&&(N(K,i)||"+"===i||"-"===i||"."===i))p+=V(i);else{if(":"!==i){if(t)return G;p="",l=be,f=0;continue}if(t&&(s.isSpecial()!==d(pe,p)||"file"===p&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&!s.host))return;if(s.scheme=p,t)return void(s.isSpecial()&&pe[s.scheme]===s.port&&(s.port=null));p="","file"===s.scheme?l=ke:s.isSpecial()&&r&&r.scheme===s.scheme?l=ge:s.isSpecial()?l=Se:"/"===o[f+1]?(l=we,f++):(s.cannotBeABaseURL=!0,U(s.path,""),l=Ne)}break;case be:if(!r||r.cannotBeABaseURL&&"#"!==i)return G;if(r.cannotBeABaseURL&&"#"===i){s.scheme=r.scheme,s.path=v(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,l=Re;break}l="file"===r.scheme?ke:Ee;continue;case ge:if("/"!==i||"/"!==o[f+1]){l=Ee;continue}l=Oe,f++;break;case we:if("/"===i){l=xe;break}l=Ae;continue;case Ee:if(s.scheme=r.scheme,i===n)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=v(r.path),s.query=r.query;else if("/"===i||"\\"===i&&s.isSpecial())l=_e;else if("?"===i)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=v(r.path),s.query="",l=Me;else{if("#"!==i){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=v(r.path),s.path.length--,l=Ae;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=v(r.path),s.query=r.query,s.fragment="",l=Re}break;case _e:if(!s.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,l=Ae;continue}l=xe}else l=Oe;break;case Se:if(l=Oe,"/"!==i||"/"!==A(p,f+1))continue;f++;break;case Oe:if("/"!==i&&"\\"!==i){l=xe;continue}break;case xe:if("@"===i){h&&(p="%40"+p),h=!0,a=y(p);for(var w=0;w<a.length;w++){var E=a[w];if(":"!==E||b){var _=fe(E,le);b?s.password+=_:s.username+=_}else b=!0}p=""}else if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&s.isSpecial()){if(h&&""===p)return"Invalid authority";f-=y(p).length+1,p="",l=Te}else p+=i;break;case Te:case Pe:if(t&&"file"===s.scheme){l=Ie;continue}if(":"!==i||m){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&s.isSpecial()){if(s.isSpecial()&&""===p)return H;if(t&&""===p&&(s.includesCredentials()||null!==s.port))return;if(u=s.parseHost(p))return u;if(p="",l=Ce,t)return;continue}"["===i?m=!0:"]"===i&&(m=!1),p+=i}else{if(""===p)return H;if(u=s.parseHost(p))return u;if(p="",l=je,t===Pe)return}break;case je:if(!N($,i)){if(i===n||"/"===i||"?"===i||"#"===i||"\\"===i&&s.isSpecial()||t){if(""!==p){var S=L(p,10);if(S>65535)return Q;s.port=s.isSpecial()&&S===pe[s.scheme]?null:S,p=""}if(t)return;l=Ce;continue}return Q}p+=i;break;case ke:if(s.scheme="file","/"===i||"\\"===i)l=Le;else{if(!r||"file"!==r.scheme){l=Ae;continue}switch(i){case n:s.host=r.host,s.path=v(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=v(r.path),s.query="",l=Me;break;case"#":s.host=r.host,s.path=v(r.path),s.query=r.query,s.fragment="",l=Re;break;default:he(M(v(o,f),""))||(s.host=r.host,s.path=v(r.path),s.shortenPath()),l=Ae;continue}}break;case Le:if("/"===i||"\\"===i){l=Ie;break}r&&"file"===r.scheme&&!he(M(v(o,f),""))&&(de(r.path[0],!0)?U(s.path,r.path[0]):s.host=r.host),l=Ae;continue;case Ie:if(i===n||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&de(p))l=Ae;else if(""===p){if(s.host="",t)return;l=Ce}else{if(u=s.parseHost(p))return u;if("localhost"===s.host&&(s.host=""),t)return;p="",l=Ce}continue}p+=i;break;case Ce:if(s.isSpecial()){if(l=Ae,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==n&&(l=Ae,"/"!==i))continue}else s.fragment="",l=Re;else s.query="",l=Me;break;case Ae:if(i===n||"/"===i||"\\"===i&&s.isSpecial()||!t&&("?"===i||"#"===i)){if(".."===(c=V(c=p))||"%2e."===c||".%2e"===c||"%2e%2e"===c?(s.shortenPath(),"/"===i||"\\"===i&&s.isSpecial()||U(s.path,"")):ye(p)?"/"===i||"\\"===i&&s.isSpecial()||U(s.path,""):("file"===s.scheme&&!s.path.length&&de(p)&&(s.host&&(s.host=""),p=A(p,0)+":"),U(s.path,p)),p="","file"===s.scheme&&(i===n||"?"===i||"#"===i))for(;s.path.length>1&&""===s.path[0];)W(s.path);"?"===i?(s.query="",l=Me):"#"===i&&(s.fragment="",l=Re)}else p+=fe(i,se);break;case Ne:"?"===i?(s.query="",l=Me):"#"===i?(s.fragment="",l=Re):i!==n&&(s.path[0]+=fe(i,ue));break;case Me:t||"#"!==i?i!==n&&("'"===i&&s.isSpecial()?s.query+="%27":s.query+="#"===i?"%23":fe(i,ue)):(s.fragment="",l=Re);break;case Re:i!==n&&(s.fragment+=fe(i,ce))}f++}},parseHost:function(e){var t,r,n;if("["===A(e,0)){if("]"!==A(e,e.length-1))return H;if(t=function(e){var t,r,n,o,i,a,u,c=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,p=function(){return A(e,f)};if(":"===p()){if(":"!==A(e,1))return;f+=2,l=++s}for(;p();){if(8===s)return;if(":"!==p()){for(t=r=0;r<4&&N(ee,p());)t=16*t+L(p(),16),f++,r++;if("."===p()){if(0===r)return;if(f-=r,s>6)return;for(n=0;p();){if(o=null,n>0){if(!("."===p()&&n<4))return;f++}if(!N($,p()))return;for(;N($,p());){if(i=L(p(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;f++}c[s]=256*c[s]+o,2!=++n&&4!==n||s++}if(4!==n)return;break}if(":"===p()){if(f++,!p())return}else if(p())return;c[s++]=t}else{if(null!==l)return;f++,l=++s}}if(null!==l)for(a=s-l,s=7;0!==s&&a>0;)u=c[s],c[s--]=c[l+a-1],c[l+--a]=u;else if(8!==s)return;return c}(B(e,1,-1)),!t)return H;this.host=t}else if(this.isSpecial()){if(e=b(e),N(te,e))return H;if(t=function(e){var t,r,n,o,i,a,u,c=z(e,".");if(c.length&&""===c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(o=c[n]))return e;if(i=10,o.length>1&&"0"===A(o,0)&&(i=N(X,o)?16:8,o=B(o,8===i?1:2)),""===o)a=0;else{if(!N(10===i?Z:8===i?J:ee,o))return e;a=L(o,i)}U(r,a)}for(n=0;n<t;n++)if(a=r[n],n===t-1){if(a>=C(256,5-t))return null}else if(a>255)return null;for(u=D(r),n=0;n<r.length;n++)u+=r[n]*C(256,3-n);return u}(e),null===t)return H;this.host=t}else{if(N(re,e))return H;for(t="",r=y(e),n=0;n<r.length;n++)t+=fe(r[n],ue);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return d(pe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&de(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,u=e.query,c=e.fragment,s=t+":";return null!==o?(s+="//",e.includesCredentials()&&(s+=r+(n?":"+n:"")+"@"),s+=ae(o),null!==i&&(s+=":"+i)):"file"===t&&(s+="//"),s+=e.cannotBeABaseURL?a[0]:a.length?"/"+M(a,"/"):"",null!==u&&(s+="?"+u),null!==c&&(s+="#"+c),s},setHref:function(e){var t=this.parse(e);if(t)throw new k(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+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",ve)},getUsername:function(){return this.username},setUsername:function(e){var t=y(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=fe(t[r],le)}},getPassword:function(){return this.password},setPassword:function(e){var t=y(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=fe(t[r],le)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Te)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Pe)},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,je))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+M(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ce))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=g(e))?this.query=null:("?"===A(e,0)&&(e=B(e,1)),this.query="",this.parse(e,Me)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=g(e))?("#"===A(e,0)&&(e=B(e,1)),this.fragment="",this.parse(e,Re)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ue=function(e){var t=p(this,Fe),r=E(arguments.length,1)>1?arguments[1]:void 0,n=O(t,new De(e,!1,r));i||(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())},Fe=Ue.prototype,We=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(f(Fe,"href",We("serialize","setHref")),f(Fe,"origin",We("getOrigin")),f(Fe,"protocol",We("getProtocol","setProtocol")),f(Fe,"username",We("getUsername","setUsername")),f(Fe,"password",We("getPassword","setPassword")),f(Fe,"host",We("getHost","setHost")),f(Fe,"hostname",We("getHostname","setHostname")),f(Fe,"port",We("getPort","setPort")),f(Fe,"pathname",We("getPathname","setPathname")),f(Fe,"search",We("getSearch","setSearch")),f(Fe,"searchParams",We("getSearchParams")),f(Fe,"hash",We("getHash","setHash"))),l(Fe,"toJSON",(function(){return x(this).serialize()}),{enumerable:!0}),l(Fe,"toString",(function(){return x(this).serialize()}),{enumerable:!0}),j){var ze=j.createObjectURL,Be=j.revokeObjectURL;ze&&l(Ue,"createObjectURL",c(ze,j)),Be&&l(Ue,"revokeObjectURL",c(Be,j))}w(Ue,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Ue})},3296:function(e,t,r){"use strict";r(45806)},27208:function(e,t,r){"use strict";var n=r(46518),o=r(69565);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},40182:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.validate=t.v7=t.v6ToV1=t.v6=t.v5=t.v4=t.v3=t.v1ToV6=t.v1=t.stringify=t.parse=t.NIL=t.MAX=void 0;var n=r(62196);Object.defineProperty(t,"MAX",{enumerable:!0,get:function(){return n.default}});var o=r(63465);Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return o.default}});var i=r(31797);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return i.default}});var a=r(76011);Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.default}});var u=r(31425);Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return u.default}});var c=r(96568);Object.defineProperty(t,"v1ToV6",{enumerable:!0,get:function(){return c.default}});var s=r(70591);Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return s.default}});var l=r(48286);Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return l.default}});var f=r(74557);Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return f.default}});var p=r(46356);Object.defineProperty(t,"v6",{enumerable:!0,get:function(){return p.default}});var d=r(60268);Object.defineProperty(t,"v6ToV1",{enumerable:!0,get:function(){return d.default}});var h=r(94299);Object.defineProperty(t,"v7",{enumerable:!0,get:function(){return h.default}});var y=r(59746);Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return y.default}});var v=r(72770);Object.defineProperty(t,"version",{enumerable:!0,get:function(){return v.default}})},62196:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="ffffffff-ffff-ffff-ffff-ffffffffffff"},40338:function(e,t){"use strict";function r(e){return 14+(e+64>>>9<<4)+1}function n(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,o,i,a){return n((u=n(n(t,e),n(o,a)))<<(c=i)|u>>>32-c,r);var u,c}function i(e,t,r,n,i,a,u){return o(t&r|~t&n,e,t,i,a,u)}function a(e,t,r,n,i,a,u){return o(t&n|r&~n,e,t,i,a,u)}function u(e,t,r,n,i,a,u){return o(t^r^n,e,t,i,a,u)}function c(e,t,r,n,i,a,u){return o(r^(t|~n),e,t,i,a,u)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=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 o=new Uint32Array(r(t)).fill(0);o.set(e),o[t>>5]|=128<<t%32,o[o.length-1]=t,e=o;let s=1732584193,l=-271733879,f=-1732584194,p=271733878;for(let t=0;t<e.length;t+=16){const r=s,o=l,d=f,h=p;s=i(s,l,f,p,e[t],7,-680876936),p=i(p,s,l,f,e[t+1],12,-389564586),f=i(f,p,s,l,e[t+2],17,606105819),l=i(l,f,p,s,e[t+3],22,-1044525330),s=i(s,l,f,p,e[t+4],7,-176418897),p=i(p,s,l,f,e[t+5],12,1200080426),f=i(f,p,s,l,e[t+6],17,-1473231341),l=i(l,f,p,s,e[t+7],22,-45705983),s=i(s,l,f,p,e[t+8],7,1770035416),p=i(p,s,l,f,e[t+9],12,-1958414417),f=i(f,p,s,l,e[t+10],17,-42063),l=i(l,f,p,s,e[t+11],22,-1990404162),s=i(s,l,f,p,e[t+12],7,1804603682),p=i(p,s,l,f,e[t+13],12,-40341101),f=i(f,p,s,l,e[t+14],17,-1502002290),l=i(l,f,p,s,e[t+15],22,1236535329),s=a(s,l,f,p,e[t+1],5,-165796510),p=a(p,s,l,f,e[t+6],9,-1069501632),f=a(f,p,s,l,e[t+11],14,643717713),l=a(l,f,p,s,e[t],20,-373897302),s=a(s,l,f,p,e[t+5],5,-701558691),p=a(p,s,l,f,e[t+10],9,38016083),f=a(f,p,s,l,e[t+15],14,-660478335),l=a(l,f,p,s,e[t+4],20,-405537848),s=a(s,l,f,p,e[t+9],5,568446438),p=a(p,s,l,f,e[t+14],9,-1019803690),f=a(f,p,s,l,e[t+3],14,-187363961),l=a(l,f,p,s,e[t+8],20,1163531501),s=a(s,l,f,p,e[t+13],5,-1444681467),p=a(p,s,l,f,e[t+2],9,-51403784),f=a(f,p,s,l,e[t+7],14,1735328473),l=a(l,f,p,s,e[t+12],20,-1926607734),s=u(s,l,f,p,e[t+5],4,-378558),p=u(p,s,l,f,e[t+8],11,-2022574463),f=u(f,p,s,l,e[t+11],16,1839030562),l=u(l,f,p,s,e[t+14],23,-35309556),s=u(s,l,f,p,e[t+1],4,-1530992060),p=u(p,s,l,f,e[t+4],11,1272893353),f=u(f,p,s,l,e[t+7],16,-155497632),l=u(l,f,p,s,e[t+10],23,-1094730640),s=u(s,l,f,p,e[t+13],4,681279174),p=u(p,s,l,f,e[t],11,-358537222),f=u(f,p,s,l,e[t+3],16,-722521979),l=u(l,f,p,s,e[t+6],23,76029189),s=u(s,l,f,p,e[t+9],4,-640364487),p=u(p,s,l,f,e[t+12],11,-421815835),f=u(f,p,s,l,e[t+15],16,530742520),l=u(l,f,p,s,e[t+2],23,-995338651),s=c(s,l,f,p,e[t],6,-198630844),p=c(p,s,l,f,e[t+7],10,1126891415),f=c(f,p,s,l,e[t+14],15,-1416354905),l=c(l,f,p,s,e[t+5],21,-57434055),s=c(s,l,f,p,e[t+12],6,1700485571),p=c(p,s,l,f,e[t+3],10,-1894986606),f=c(f,p,s,l,e[t+10],15,-1051523),l=c(l,f,p,s,e[t+1],21,-2054922799),s=c(s,l,f,p,e[t+8],6,1873313359),p=c(p,s,l,f,e[t+15],10,-30611744),f=c(f,p,s,l,e[t+6],15,-1560198380),l=c(l,f,p,s,e[t+13],21,1309151649),s=c(s,l,f,p,e[t+4],6,-145523070),p=c(p,s,l,f,e[t+11],10,-1120210379),f=c(f,p,s,l,e[t+2],15,718787259),l=c(l,f,p,s,e[t+9],21,-343485551),s=n(s,r),l=n(l,o),f=n(f,d),p=n(p,h)}return Uint32Array.of(s,l,f,p)}(function(e){if(0===e.length)return new Uint32Array;const t=new Uint32Array(r(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))}},73779:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);t.default={randomUUID:r}},63465:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="00000000-0000-0000-0000-000000000000"},31797:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(59746);t.default=function(e){if(!(0,n.default)(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)}},56697:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=/^(?:[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},52291:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(n)};const n=new Uint8Array(16)},22829:function(e,t){"use strict";function r(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 n(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],o=[1732584193,4023233417,2562383102,271733878,3285377520],i=new Uint8Array(e.length+1);i.set(e),i[e.length]=128;const a=(e=i).length/4+2,u=Math.ceil(a/16),c=new Array(u);for(let t=0;t<u;++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];c[t]=r}c[u-1][14]=8*(e.length-1)/Math.pow(2,32),c[u-1][14]=Math.floor(c[u-1][14]),c[u-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<u;++e){const i=new Uint32Array(80);for(let t=0;t<16;++t)i[t]=c[e][t];for(let e=16;e<80;++e)i[e]=n(i[e-3]^i[e-8]^i[e-14]^i[e-16],1);let a=o[0],u=o[1],s=o[2],l=o[3],f=o[4];for(let e=0;e<80;++e){const o=Math.floor(e/20),c=n(a,5)+r(o,u,s,l)+f+t[o]+i[e]>>>0;f=l,l=s,s=n(u,30)>>>0,u=a,a=c}o[0]=o[0]+a>>>0,o[1]=o[1]+u>>>0,o[2]=o[2]+s>>>0,o[3]=o[3]+l>>>0,o[4]=o[4]+f>>>0}return Uint8Array.of(o[0]>>24,o[0]>>16,o[0]>>8,o[0],o[1]>>24,o[1]>>16,o[1]>>8,o[1],o[2]>>24,o[2]>>16,o[2]>>8,o[2],o[3]>>24,o[3]>>16,o[3]>>8,o[3],o[4]>>24,o[4]>>16,o[4]>>8,o[4])}},76011:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unsafeStringify=i;const n=r(59746),o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function i(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}t.default=function(e,t=0){const r=i(e,t);if(!(0,n.default)(r))throw TypeError("Stringified UUID is invalid");return r}},31425:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV1State=a;const n=r(52291),o=r(76011),i={};function a(e,t,r){return e.msecs??=-1/0,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,e}function u(e,t,r,n,o,i,a=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(i){if(a<0||a+16>i.length)throw new RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`)}else i=new Uint8Array(16),a=0;t??=Date.now(),r??=0,n??=16383&(e[8]<<8|e[9]),o??=e.slice(10,16);const u=(1e4*(268435455&(t+=122192928e5))+r)%4294967296;i[a++]=u>>>24&255,i[a++]=u>>>16&255,i[a++]=u>>>8&255,i[a++]=255&u;const c=t/4294967296*1e4&268435455;i[a++]=c>>>8&255,i[a++]=255&c,i[a++]=c>>>24&15|16,i[a++]=c>>>16&255,i[a++]=n>>>8|128,i[a++]=255&n;for(let e=0;e<6;++e)i[a++]=o[e];return i}t.default=function(e,t,r){let c;const s=e?._v6??!1;if(e){const t=Object.keys(e);1===t.length&&"_v6"===t[0]&&(e=void 0)}if(e)c=u(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.nsecs,e.clockseq,e.node,t,r);else{const e=Date.now(),o=(0,n.default)();a(i,e,o),c=u(o,i.msecs,i.nsecs,s?void 0:i.clockseq,s?void 0:i.node,t,r)}return t?c:(0,o.unsafeStringify)(c)}},96568:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(r="string"==typeof e?(0,n.default)(e):e,Uint8Array.of((15&r[6])<<4|r[7]>>4&15,(15&r[7])<<4|(240&r[4])>>4,(15&r[4])<<4|(240&r[5])>>4,(15&r[5])<<4|(240&r[0])>>4,(15&r[0])<<4|(240&r[1])>>4,(15&r[1])<<4|(240&r[2])>>4,96|15&r[2],r[3],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]));var r;return"string"==typeof e?(0,o.unsafeStringify)(t):t};const n=r(31797),o=r(76011)},70591:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;const n=r(40338),o=r(32988);var i=r(32988);function a(e,t,r,i){return(0,o.default)(48,n.default,e,t,r,i)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return i.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return i.URL}}),a.DNS=o.DNS,a.URL=o.URL,t.default=a},32988:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.stringToBytes=i,t.default=function(e,t,r,a,u,c){const s="string"==typeof r?i(r):r,l="string"==typeof a?(0,n.default)(a):a;if("string"==typeof a&&(a=(0,n.default)(a)),16!==a?.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let f=new Uint8Array(16+s.length);if(f.set(l),f.set(s,l.length),f=t(f),f[6]=15&f[6]|e,f[8]=63&f[8]|128,u){c=c||0;for(let e=0;e<16;++e)u[c+e]=f[e];return u}return(0,o.unsafeStringify)(f)};const n=r(31797),o=r(76011);function i(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}t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8"},48286:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(73779),o=r(52291),i=r(76011);t.default=function(e,t,r){if(n.default.randomUUID&&!t&&!e)return n.default.randomUUID();const a=(e=e||{}).random??e.rng?.()??(0,o.default)();if(a.length<16)throw new Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=a[e];return t}return(0,i.unsafeStringify)(a)}},74557:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0;const n=r(22829),o=r(32988);var i=r(32988);function a(e,t,r,i){return(0,o.default)(80,n.default,e,t,r,i)}Object.defineProperty(t,"DNS",{enumerable:!0,get:function(){return i.DNS}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return i.URL}}),a.DNS=o.DNS,a.URL=o.URL,t.default=a},46356:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(76011),o=r(31425),i=r(96568);t.default=function(e,t,r){e??={},r??=0;let a=(0,o.default)({...e,_v6:!0},new Uint8Array(16));if(a=(0,i.default)(a),t){for(let e=0;e<16;e++)t[r+e]=a[e];return t}return(0,n.unsafeStringify)(a)}},60268:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(r="string"==typeof e?(0,n.default)(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,o.unsafeStringify)(t):t};const n=r(31797),o=r(76011)},94299:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateV7State=a;const n=r(52291),o=r(76011),i={};function a(e,t,r){return e.msecs??=-1/0,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++),e}function u(e,t,r,n,o=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(n){if(o<0||o+16>n.length)throw new RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`)}else n=new Uint8Array(16),o=0;return t??=Date.now(),r??=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9],n[o++]=t/1099511627776&255,n[o++]=t/4294967296&255,n[o++]=t/16777216&255,n[o++]=t/65536&255,n[o++]=t/256&255,n[o++]=255&t,n[o++]=112|r>>>28&15,n[o++]=r>>>20&255,n[o++]=128|r>>>14&63,n[o++]=r>>>6&255,n[o++]=r<<2&255|3&e[10],n[o++]=e[11],n[o++]=e[12],n[o++]=e[13],n[o++]=e[14],n[o++]=e[15],n}t.default=function(e,t,r){let c;if(e)c=u(e.random??e.rng?.()??(0,n.default)(),e.msecs,e.seq,t,r);else{const e=Date.now(),o=(0,n.default)();a(i,e,o),c=u(o,i.msecs,i.seq,t,r)}return t?c:(0,o.unsafeStringify)(c)}},59746:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(56697);t.default=function(e){return"string"==typeof e&&n.default.test(e)}},72770:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(59746);t.default=function(e){if(!(0,n.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},95329:function(e,t,r){"use strict";let n,o,i;r.r(t),r.d(t,{ALWAYS:function(){return Be},DECIMAL_FIT:function(){return Ye},DECIMAL_ROUND:function(){return Ve},Decoder:function(){return k},Encoder:function(){return xe},FLOAT32_OPTIONS:function(){return ue},NEVER:function(){return ze},REUSE_BUFFER_MODE:function(){return Ge},Tag:function(){return B},addExtension:function(){return Re},clearSource:function(){return te},decode:function(){return ie},decodeIter:function(){return Ke},decodeMultiple:function(){return ae},encode:function(){return Ue},encodeAsAsyncIterable:function(){return We},encodeAsIterable:function(){return Fe},encodeIter:function(){return qe},isNativeAccelerationEnabled:function(){return R},roundFloat32:function(){return ce},setSizeLimits:function(){return re}});try{n=new TextDecoder}catch(e){}let a=0;const u=[],c={};let s,l,f,p,d,h,y,v=11281e4,m=1681e4,b=1671e4,g=u,w=0,E={},_=0,S=0,O=[],x=[],T={useRecords:!1,mapsAsObjects:!0},P=!1,j=2;try{new Function("")}catch(e){j=1/0}class k{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[N(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(o)return ee((()=>(te(),this?this.decode(e,t):k.prototype.decode.call(T,e,t))));i=t>-1?t:e.length,a=0,w=0,S=0,l=null,g=u,f=null,o=e;try{h=e.dataView||(e.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength))}catch(t){if(o=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 k){if(E=this,d=this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),this.structures)return s=this.structures,L();(!s||s.length>0)&&(s=[])}else E=T,(!s||s.length>0)&&(s=[]),d=null;return L()}decodeMultiple(e,t){let r,n=0;try{let o=e.length;P=!0;let i=this?this.decode(e,o):oe.decode(e,o);if(!t){for(r=[i];a<o;)n=a,r.push(L());return r}if(!1===t(i))return;for(;a<o;)if(n=a,!1===t(L()))return}catch(e){throw e.lastPosition=n,e.values=r,e}finally{P=!1,te()}}}function L(){try{let e=I();if(f){if(a>=f.postBundlePosition){let e=new Error("Unexpected bundle position");throw e.incomplete=!0,e}a=f.postBundlePosition,f=null}if(a==i)s=null,o=null,p&&(p=null);else{if(a>i){let e=new Error("Unexpected end of CBOR data");throw e.incomplete=!0,e}if(!P)throw new Error("Data read, but end of buffer not reached")}return e}catch(e){throw te(),(e instanceof RangeError||e.message.startsWith("Unexpected end of buffer"))&&(e.incomplete=!0),e}}function I(){let e=o[a++],t=e>>5;if(e&=31,e>23)switch(e){case 24:e=o[a++];break;case 25:if(7==t)return function(){let e=o[a++],t=o[a++],r=(127&e)>>2;if(31===r)return t||3&e?NaN:128&e?-1/0:1/0;if(0===r){let r=((3&e)<<8|t)/(1<<24);return 128&e?-r:r}return z[3]=128&e|56+(r>>1),z[2]=(7&e)<<5|t>>3,z[1]=t<<5,z[0]=0,W[0]}();e=h.getUint16(a),a+=2;break;case 26:if(7==t){let e=h.getFloat32(a);if(E.useFloat32>2){let t=ne[(127&o[a])<<1|o[a+1]>>7];return a+=4,(t*e+(e>0?.5:-.5)|0)/t}return a+=4,e}e=h.getUint32(a),a+=4;break;case 27:if(7==t){let e=h.getFloat64(a);return a+=8,e}if(t>1){if(h.getUint32(a)>0)throw new Error("JavaScript does not support arrays, maps, or strings with length over 4294967295");e=h.getUint32(a+4)}else E.int64AsNumber?(e=4294967296*h.getUint32(a),e+=h.getUint32(a+4)):e=h.getBigUint64(a);a+=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=I())!=c;){if(n>=v)throw new Error(`Array length exceeds ${v}`);r[n++]=e}return 4==t?r:3==t?r.join(""):Buffer.concat(r);case 5:let o;if(E.mapsAsObjects){let e={},t=0;if(E.keyMap)for(;(o=I())!=c;){if(t++>=m)throw new Error(`Property count exceeds ${m}`);e[N(E.decodeKey(o))]=I()}else for(;(o=I())!=c;){if(t++>=m)throw new Error(`Property count exceeds ${m}`);e[N(o)]=I()}return e}{y&&(E.mapsAsObjects=!0,y=!1);let e=new Map;if(E.keyMap){let t=0;for(;(o=I())!=c;){if(t++>=m)throw new Error(`Map size exceeds ${m}`);e.set(E.decodeKey(o),I())}}else{let t=0;for(;(o=I())!=c;){if(t++>=m)throw new Error(`Map size exceeds ${m}`);e.set(o,I())}}return e}case 7:return c;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 r=e,E.copyBuffers?Uint8Array.prototype.slice.call(o,a,a+=r):o.subarray(a,a+=r);case 3:if(S>=a)return l.slice(a-_,(a+=e)-_);if(0==S&&i<140&&e<32){let t=e<16?F(e):function(e){let t=a,r=new Array(e);for(let n=0;n<e;n++){const e=o[a++];if((128&e)>0)return void(a=t);r[n]=e}return U.apply(String,r)}(e);if(null!=t)return t}return M(e);case 4:if(e>=v)throw new Error(`Array length exceeds ${v}`);let t=new Array(e);for(let r=0;r<e;r++)t[r]=I();return t;case 5:if(e>=m)throw new Error(`Map size exceeds ${v}`);if(E.mapsAsObjects){let t={};if(E.keyMap)for(let r=0;r<e;r++)t[N(E.decodeKey(I()))]=I();else for(let r=0;r<e;r++)t[N(I())]=I();return t}{y&&(E.mapsAsObjects=!0,y=!1);let t=new Map;if(E.keyMap)for(let r=0;r<e;r++)t.set(E.decodeKey(I()),I());else for(let r=0;r<e;r++)t.set(I(),I());return t}case 6:if(e>=57337){let t=s[8191&e];if(t)return t.read||(t.read=A(t)),t.read();if(e<65536){if(57343==e){let e=J(),t=I(),r=I();V(t,r);let n={};if(E.keyMap)for(let t=2;t<e;t++)n[N(E.decodeKey(r[t-2]))]=I();else for(let t=2;t<e;t++)n[N(r[t-2])]=I();return n}if(57342==e){let e=J(),t=I();for(let r=2;r<e;r++)V(t++,I());return I()}if(57337==e)return function(){let e=J(),t=a+I();for(let t=2;t<e;t++){let e=J();a+=e}let r=a;return a=t,f=[D(J()),D(J())],f.position0=0,f.position1=0,f.postBundlePosition=a,a=r,I()}();if(E.getShared&&(Z(),t=s[8191&e],t))return t.read||(t.read=A(t)),t.read()}}let n=O[e];if(n)return n.handlesRead?n(I):n(I());{let t=I();for(let r=0;r<x.length;r++){let n=x[r](e,t);if(void 0!==n)return n}return new B(t,e)}case 7:switch(e){case 20:return!1;case 21:return!0;case 22:return null;case 23:return;default:let t=(d||Q())[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 r}const C=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;function A(e){if(!e)throw new Error("Structure is required in record definition");return e.slowReads=0,function(){let e=o[a++];if(e&=31,e>23)switch(e){case 24:e=o[a++];break;case 25:e=h.getUint16(a),a+=2;break;case 26:e=h.getUint32(a),a+=4;break;default:throw new Error("Expected array header, but got "+o[a-1])}let t=this.compiledReader;for(;t;){if(t.propertyCount===e)return t(I);t=t.next}if(this.slowReads++>=j){let r=this.length==e?this:this.slice(0,e);return t=E.keyMap?new Function("r","return {"+r.map((e=>E.decodeKey(e))).map((e=>C.test(e)?N(e)+":r()":"["+JSON.stringify(e)+"]:r()")).join(",")+"}"):new Function("r","return {"+r.map((e=>C.test(e)?N(e)+":r()":"["+JSON.stringify(e)+"]:r()")).join(",")+"}"),this.compiledReader&&(t.next=this.compiledReader),t.propertyCount=e,this.compiledReader=t,t(I)}let r={};if(E.keyMap)for(let t=0;t<e;t++)r[N(E.decodeKey(this[t]))]=I();else for(let t=0;t<e;t++)r[N(this[t])]=I();return r}}function N(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 M=D,R=!1;function D(e){let t;if(e<16&&(t=F(e)))return t;if(e>64&&n)return n.decode(o.subarray(a,a+=e));const r=a+e,i=[];for(t="";a<r;){const e=o[a++];if(128&e)if(192==(224&e)){const t=63&o[a++];i.push((31&e)<<6|t)}else if(224==(240&e)){const t=63&o[a++],r=63&o[a++];i.push((31&e)<<12|t<<6|r)}else if(240==(248&e)){let t=(7&e)<<18|(63&o[a++])<<12|(63&o[a++])<<6|63&o[a++];t>65535&&(t-=65536,i.push(t>>>10&1023|55296),t=56320|1023&t),i.push(t)}else i.push(e);else i.push(e);i.length>=4096&&(t+=U.apply(String,i),i.length=0)}return i.length>0&&(t+=U.apply(String,i)),t}let U=String.fromCharCode;function F(e){if(e<4){if(e<2){if(0===e)return"";{let e=o[a++];return(128&e)>1?void(a-=1):U(e)}}{let t=o[a++],r=o[a++];if((128&t)>0||(128&r)>0)return void(a-=2);if(e<3)return U(t,r);let n=o[a++];return(128&n)>0?void(a-=3):U(t,r,n)}}{let t=o[a++],r=o[a++],n=o[a++],i=o[a++];if((128&t)>0||(128&r)>0||(128&n)>0||(128&i)>0)return void(a-=4);if(e<6){if(4===e)return U(t,r,n,i);{let e=o[a++];return(128&e)>0?void(a-=5):U(t,r,n,i,e)}}if(e<8){let u=o[a++],c=o[a++];if((128&u)>0||(128&c)>0)return void(a-=6);if(e<7)return U(t,r,n,i,u,c);let s=o[a++];return(128&s)>0?void(a-=7):U(t,r,n,i,u,c,s)}{let u=o[a++],c=o[a++],s=o[a++],l=o[a++];if((128&u)>0||(128&c)>0||(128&s)>0||(128&l)>0)return void(a-=8);if(e<10){if(8===e)return U(t,r,n,i,u,c,s,l);{let e=o[a++];return(128&e)>0?void(a-=9):U(t,r,n,i,u,c,s,l,e)}}if(e<12){let f=o[a++],p=o[a++];if((128&f)>0||(128&p)>0)return void(a-=10);if(e<11)return U(t,r,n,i,u,c,s,l,f,p);let d=o[a++];return(128&d)>0?void(a-=11):U(t,r,n,i,u,c,s,l,f,p,d)}{let f=o[a++],p=o[a++],d=o[a++],h=o[a++];if((128&f)>0||(128&p)>0||(128&d)>0||(128&h)>0)return void(a-=12);if(e<14){if(12===e)return U(t,r,n,i,u,c,s,l,f,p,d,h);{let e=o[a++];return(128&e)>0?void(a-=13):U(t,r,n,i,u,c,s,l,f,p,d,h,e)}}{let y=o[a++],v=o[a++];if((128&y)>0||(128&v)>0)return void(a-=14);if(e<15)return U(t,r,n,i,u,c,s,l,f,p,d,h,y,v);let m=o[a++];return(128&m)>0?void(a-=15):U(t,r,n,i,u,c,s,l,f,p,d,h,y,v,m)}}}}}let W=new Float32Array(1),z=new Uint8Array(W.buffer,0,4);new Array(4096);class B{constructor(e,t){this.value=e,this.tag=t}}O[0]=e=>new Date(e),O[1]=e=>new Date(Math.round(1e3*e)),O[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},O[3]=e=>BigInt(-1)-O[2](e),O[4]=e=>+(e[1]+"e"+e[0]),O[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=A(t)};O[105]=e=>{let t=e.length,r=e[1];V(e[0],r);let n={};for(let o=2;o<t;o++)n[N(r[o-2])]=e[o];return n},O[14]=e=>f?f[0].slice(f.position0,f.position0+=e):new B(e,14),O[15]=e=>f?f[1].slice(f.position1,f.position1+=e):new B(e,15);let Y={Error:Error,RegExp:RegExp};O[27]=e=>(Y[e[0]]||Error)(e[1],e[2]);const G=e=>{if(132!=o[a++]){let e=new Error("Packed values structure must be followed by a 4 element array");throw o.length<a&&(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 d=d?t.concat(d.slice(t.length)):t,d.prefixes=e(),d.suffixes=e(),e()};function H(e,t){return"string"==typeof e?e+t:e instanceof Array?e.concat(t):Object.assign({},e,t)}function Q(){if(!d){if(!E.getShared)throw new Error("No packed values available");Z()}return d}G.handlesRead=!0,O[51]=G,O[6]=e=>{if(!d){if(!E.getShared)return new B(e,6);Z()}if("number"==typeof e)return d[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},O[28]=e=>{p||(p=new Map,p.id=0);let t,r=p.id++,n=a;t=o[a]>>5==4?[]:{};let i={target:t};p.set(r,i);let u=e();return i.used?(Object.getPrototypeOf(t)!==Object.getPrototypeOf(u)&&(a=n,t=u,p.set(r,{target:t}),u=e()),Object.assign(t,u)):(i.target=u,u)},O[28].handlesRead=!0,O[29]=e=>{let t=p.get(e);return t.used=!0,t.target},O[258]=e=>new Set(e),(O[259]=e=>(E.mapsAsObjects&&(E.mapsAsObjects=!1,y=!0),e())).handlesRead=!0,x.push(((e,t)=>e>=225&&e<=255?H(Q().prefixes[e-224],t):e>=28704&&e<=32767?H(Q().prefixes[e-28672],t):e>=1879052288&&e<=2147483647?H(Q().prefixes[e-1879048192],t):e>=216&&e<=223?H(t,Q().suffixes[e-216]):e>=27647&&e<=28671?H(t,Q().suffixes[e-27639]):e>=1811940352&&e<=1879048191?H(t,Q().suffixes[e-1811939328]):1399353956==e?{packedValues:d,structures:s.slice(0),version:t}:55799==e?t:void 0));const q=1==new Uint8Array(new Uint16Array([1]).buffer)[0],K=[Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,"undefined"==typeof BigUint64Array?{name:"BigUint64Array"}:BigUint64Array,Int8Array,Int16Array,Int32Array,"undefined"==typeof BigInt64Array?{name:"BigInt64Array"}:BigInt64Array,Float32Array,Float64Array],$=[64,68,69,70,71,72,77,78,79,85,86];for(let e=0;e<K.length;e++)X(K[e],$[e]);function X(e,t){let r,n="get"+e.name.slice(0,-5);"function"==typeof e?r=e.BYTES_PER_ELEMENT:e=null;for(let o=0;o<2;o++){if(!o&&1==r)continue;let i=2==r?1:4==r?2:8==r?3:0;O[o?t:t-4]=1==r||o==q?n=>{if(!e)throw new Error("Could not find typed array for code "+t);return E.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>>i)}:r=>{if(!e)throw new Error("Could not find typed array for code "+t);let a=new DataView(r.buffer,r.byteOffset,r.byteLength),u=r.length>>i,c=new e(u),s=a[n];for(let e=0;e<u;e++)c[e]=s.call(a,e<<i,o);return c}}}function J(){let e=31&o[a++];if(e>23)switch(e){case 24:e=o[a++];break;case 25:e=h.getUint16(a),a+=2;break;case 26:e=h.getUint32(a),a+=4}return e}function Z(){if(E.getShared){let e=ee((()=>(o=null,E.getShared())))||{},t=e.structures||[];E.sharedVersion=e.version,d=E.sharedValues=e.packedValues,!0===s?E.structures=s=t:s.splice.apply(s,[0,t.length].concat(t))}}function ee(e){let t=i,r=a,n=w,u=_,c=S,d=l,y=g,v=p,m=f,b=new Uint8Array(o.slice(0,i)),O=s,x=E,T=P,j=e();return i=t,a=r,w=n,_=u,S=c,l=d,g=y,p=v,f=m,o=b,P=T,s=O,E=x,h=new DataView(o.buffer,o.byteOffset,o.byteLength),j}function te(){o=null,p=null,s=null}function re(e){e.maxMapSize&&(m=e.maxMapSize),e.maxArraySize&&(v=e.maxArraySize),e.maxObjectSize&&(b=e.maxObjectSize)}const ne=new Array(147);for(let e=0;e<256;e++)ne[e]=+("1e"+Math.floor(45.15-.30103*e));let oe=new k({useRecords:!1});const ie=oe.decode,ae=oe.decodeMultiple,ue={NEVER:0,ALWAYS:1,DECIMAL_ROUND:3,DECIMAL_FIT:4};function ce(e){W[0]=e;let t=ne[(127&z[3])<<1|z[2]>>7];return(t*e+(e>0?.5:-.5)|0)/t}let se,le,fe;try{se=new TextEncoder}catch(e){}const pe="object"==typeof globalThis&&globalThis.Buffer,de=void 0!==pe,he=de?pe.allocUnsafeSlow:Uint8Array,ye=de?pe:Uint8Array,ve=de?4294967296:2144337920;let me,be,ge,we,Ee=0,_e=null;const Se=/[\u0080-\uFFFF]/,Oe=Symbol("record-id");class xe extends k{constructor(e){let t,r,n,o,i;super(e),this.offset=0,e=e||{};let a=ye.prototype.utf8Write?function(e,t,r){return be.utf8Write(e,t,r)}:!(!se||!se.encodeInto)&&function(e,t){return se.encodeInto(e,be.subarray(t)).written},u=this,c=e.structures||e.saveStructures,s=e.maxSharedStructures;if(null==s&&(s=c?128:0),s>8190)throw new Error("Maximum maxSharedStructure is 8190");let l=e.sequential;l&&(s=0),this.structures||(this.structures=[]),this.saveStructures&&(this.saveShared=this.saveStructures);let f,p,d,h=e.sharedValues;if(h){d=Object.create(null);for(let e=0,t=h.length;e<t;e++)d[h[e]]=e}let y=[],v=0,m=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(a,c){if(be||(be=new he(8192),ge=new DataView(be.buffer,0,8192),Ee=0),we=be.length-10,we-Ee<2048?(be=new he(be.length),ge=new DataView(be.buffer,0,be.length),we=be.length-10,Ee=0):c===Ge&&(Ee=Ee+7&2147483640),t=Ee,u.useSelfDescribedHeader&&(ge.setUint32(Ee,3654940416),Ee+=3),i=u.structuredClone?new Map:null,u.bundleStrings&&"string"!=typeof a?(_e=[],_e.size=1/0):_e=null,r=u.structures,r){if(r.uninitialized){let e=u.getShared()||{};u.structures=r=e.structures||[],u.sharedVersion=e.version;let t=u.sharedValues=e.packedValues;if(t){d={};for(let e=0,r=t.length;e<r;e++)d[t[e]]=e}}let e=r.length;if(e>s&&!l&&(e=s),!r.transitions){r.transitions=Object.create(null);for(let t=0;t<e;t++){let e=r[t];if(!e)continue;let n,o=r.transitions;for(let r=0,i=e.length;r<i;r++){void 0===o[Oe]&&(o[Oe]=t);let i=e[r];n=o[i],n||(n=o[i]=Object.create(null)),o=n}o[Oe]=1048576|t}}l||(r.nextId=e)}if(n&&(n=!1),o=r||[],p=d,e.pack){let t=new Map;if(t.values=[],t.encoder=u,t.maxValues=e.maxPrivatePackedValues||(d?16:1/0),t.objectMap=d||!1,t.samplingPackedValues=f,Ie(a,t),t.values.length>0){be[Ee++]=216,be[Ee++]=51,je(4);let e=t.values;b(e),je(0),je(0),p=Object.create(d||null);for(let t=0,r=e.length;t<r;t++)p[e[t]]=t}}me=c&Qe;try{if(me)return;if(b(a),_e&&Me(t,b),u.offset=Ee,i&&i.idsToInsert){Ee+=2*i.idsToInsert.length,Ee>we&&w(Ee),u.offset=Ee;let e=function(e,t){let r,n=2*t.length,o=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,o),n-=2;let i=t+n;e[i++]=216,e[i++]=28,o=t}return e}(be.subarray(t,Ee),i.idsToInsert);return i=null,e}return c&Ge?(be.start=t,be.end=Ee,be):be.subarray(t,Ee)}finally{if(r)if(m<10&&m++,r.length>s&&(r.length=s),v>1e4)r.transitions=null,m=0,v=0,y.length>0&&(y=[]);else if(y.length>0&&!l){for(let e=0,t=y.length;e<t;e++)y[e][Oe]=void 0;y=[]}if(n&&u.saveShared){u.structures.length>s&&(u.structures=u.structures.slice(0,s));let e=be.subarray(t,Ee);return!1===u.updateSharedData()?u.encode(a):e}c&He&&(Ee=t)}},this.findCommonStringsToPack=()=>(f=new Map,d||(d=Object.create(null)),e=>{let t=e&&e.threshold||4,r=this.pack?e.maxPrivatePackedValues||16:0;h||(h=this.sharedValues=[]);for(let[e,o]of f)o.count>t&&(d[e]=r++,h.push(e),n=!0);for(;this.saveShared&&!1===this.updateSharedData(););f=null});const b=r=>{Ee>we&&(be=w(Ee));var n,o=typeof r;if("string"===o){if(p){let t=p[r];if(t>=0)return void(t<16?be[Ee++]=t+224:(be[Ee++]=198,b(1&t?15-t>>1:t-16>>1)));if(f&&!e.pack){let e=f.get(r);e?e.count++:f.set(r,{count:1})}}let o,i=r.length;if(_e&&i>=4&&i<1024){if((_e.size+=i)>61440){let e,r=(_e[0]?3*_e[0].length+_e[1].length:0)+10;Ee+r>we&&(be=w(Ee+r)),be[Ee++]=217,be[Ee++]=223,be[Ee++]=249,be[Ee++]=_e.position?132:130,be[Ee++]=26,e=Ee-t,Ee+=4,_e.position&&Me(t,b),_e=["",""],_e.size=0,_e.position=e}let e=Se.test(r);return _e[e?0:1]+=r,be[Ee++]=e?206:207,void b(i)}o=i<32?1:i<256?2:i<65536?3:5;let u=3*i;if(Ee+u>we&&(be=w(Ee+u)),i<64||!a){let e,t,a,u=Ee+o;for(e=0;e<i;e++)t=r.charCodeAt(e),t<128?be[u++]=t:t<2048?(be[u++]=t>>6|192,be[u++]=63&t|128):55296==(64512&t)&&56320==(64512&(a=r.charCodeAt(e+1)))?(t=65536+((1023&t)<<10)+(1023&a),e++,be[u++]=t>>18|240,be[u++]=t>>12&63|128,be[u++]=t>>6&63|128,be[u++]=63&t|128):(be[u++]=t>>12|224,be[u++]=t>>6&63|128,be[u++]=63&t|128);n=u-Ee-o}else n=a(r,Ee+o,u);n<24?be[Ee++]=96|n:n<256?(o<2&&be.copyWithin(Ee+2,Ee+1,Ee+1+n),be[Ee++]=120,be[Ee++]=n):n<65536?(o<3&&be.copyWithin(Ee+3,Ee+2,Ee+2+n),be[Ee++]=121,be[Ee++]=n>>8,be[Ee++]=255&n):(o<5&&be.copyWithin(Ee+5,Ee+3,Ee+3+n),be[Ee++]=122,ge.setUint32(Ee,n),Ee+=4),Ee+=n}else if("number"===o)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(be[Ee++]=250,ge.setFloat32(Ee,r),e<4||(0|(t=r*ne[(127&be[Ee])<<1|be[Ee+1]>>7]))===t)return void(Ee+=4);Ee--}be[Ee++]=251,ge.setFloat64(Ee,r),Ee+=8}else r>=-24?be[Ee++]=31-r:r>=-256?(be[Ee++]=56,be[Ee++]=~r):r>=-65536?(be[Ee++]=57,ge.setUint16(Ee,~r),Ee+=2):(be[Ee++]=58,ge.setUint32(Ee,~r),Ee+=4);else r<24?be[Ee++]=r:r<256?(be[Ee++]=24,be[Ee++]=r):r<65536?(be[Ee++]=25,be[Ee++]=r>>8,be[Ee++]=255&r):(be[Ee++]=26,ge.setUint32(Ee,r),Ee+=4);else if("object"===o)if(r){if(i){let e=i.get(r);if(e){if(be[Ee++]=216,be[Ee++]=29,be[Ee++]=25,!e.references){let t=i.idsToInsert||(i.idsToInsert=[]);e.references=[],t.push(e)}return e.references.push(Ee-t),void(Ee+=2)}i.set(r,{offset:Ee-t})}let e=r.constructor;if(e===Object)g(r);else if(e===Array){(n=r.length)<24?be[Ee++]=128|n:je(n);for(let e=0;e<n;e++)b(r[e])}else if(e===Map)if((this.mapsAsObjects?!1!==this.useTag259ForMaps:this.useTag259ForMaps)&&(be[Ee++]=217,be[Ee++]=1,be[Ee++]=3),(n=r.size)<24?be[Ee++]=160|n:n<256?(be[Ee++]=184,be[Ee++]=n):n<65536?(be[Ee++]=185,be[Ee++]=n>>8,be[Ee++]=255&n):(be[Ee++]=186,ge.setUint32(Ee,n),Ee+=4),u.keyMap)for(let[e,t]of r)b(u.encodeKey(e)),b(t);else for(let[e,t]of r)b(e),b(t);else{for(let e=0,t=le.length;e<t;e++)if(r instanceof fe[e]){let t=le[e],n=t.tag;return null==n&&(n=t.getTag&&t.getTag.call(this,r)),n<24?be[Ee++]=192|n:n<256?(be[Ee++]=216,be[Ee++]=n):n<65536?(be[Ee++]=217,be[Ee++]=n>>8,be[Ee++]=255&n):n>-1&&(be[Ee++]=218,ge.setUint32(Ee,n),Ee+=4),void t.encode.call(this,r,b,w)}if(r[Symbol.iterator]){if(me){let e=new Error("Iterable should be serialized as iterator");throw e.iteratorNotHandled=!0,e}be[Ee++]=159;for(let e of r)b(e);return void(be[Ee++]=255)}if(r[Symbol.asyncIterator]||Le(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 b(e)}g(r)}}else be[Ee++]=246;else if("boolean"===o)be[Ee++]=r?245:244;else if("bigint"===o){if(r<BigInt(1)<<BigInt(64)&&r>=0)be[Ee++]=27,ge.setBigUint64(Ee,r);else if(r>-(BigInt(1)<<BigInt(64))&&r<0)be[Ee++]=59,ge.setBigUint64(Ee,-r-BigInt(1));else{if(!this.largeBigIntToFloat){r>=BigInt(0)?be[Ee++]=194:(be[Ee++]=195,r=BigInt(-1)-r);let e=[];for(;r;)e.push(Number(r&BigInt(255))),r>>=BigInt(8);return void Ne(new Uint8Array(e.reverse()),w)}be[Ee++]=251,ge.setFloat64(Ee,Number(r))}Ee+=8}else{if("undefined"!==o)throw new Error("Unknown type: "+o);be[Ee++]=247}},g=!1===this.useRecords?this.variableMapSize?e=>{let t=Object.keys(e),r=Object.values(e),n=t.length;if(n<24?be[Ee++]=160|n:n<256?(be[Ee++]=184,be[Ee++]=n):n<65536?(be[Ee++]=185,be[Ee++]=n>>8,be[Ee++]=255&n):(be[Ee++]=186,ge.setUint32(Ee,n),Ee+=4),u.keyMap)for(let e=0;e<n;e++)b(u.encodeKey(t[e])),b(r[e]);else for(let e=0;e<n;e++)b(t[e]),b(r[e])}:e=>{be[Ee++]=185;let r=Ee-t;Ee+=2;let n=0;if(u.keyMap)for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(b(u.encodeKey(t)),b(e[t]),n++);else for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(b(t),b(e[t]),n++);be[r+++t]=n>>8,be[r+t]=255&n}:(e,t)=>{let r,i,a,u=o.transitions||(o.transitions=Object.create(null)),c=0,l=0;if(this.keyMap){a=Object.keys(e).map((e=>this.encodeKey(e))),l=a.length;for(let e=0;e<l;e++){let t=a[e];r=u[t],r||(r=u[t]=Object.create(null),c++),u=r}}else for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&(r=u[t],r||(1048576&u[Oe]&&(i=65535&u[Oe]),r=u[t]=Object.create(null),c++),u=r,l++);let f=u[Oe];if(void 0!==f)f&=65535,be[Ee++]=217,be[Ee++]=f>>8|224,be[Ee++]=255&f;else{if(a||(a=u.__keys__||(u.__keys__=Object.keys(e))),void 0===i?(f=o.nextId++,f||(f=0,o.nextId=1),f>=256&&(o.nextId=(f=s)+1)):f=i,o[f]=a,!(f<s)){if(u[Oe]=f,ge.setUint32(Ee,3655335680),Ee+=3,c&&(v+=m*c),y.length>=256-s&&(y.shift()[Oe]=void 0),y.push(u),je(l+2),b(57344+f),b(a),t)return;for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&b(e[t]);return}be[Ee++]=217,be[Ee++]=f>>8|224,be[Ee++]=255&f,u=o.transitions;for(let e=0;e<l;e++)(void 0===u[Oe]||1048576&u[Oe])&&(u[Oe]=f),u=u[a[e]];u[Oe]=1048576|f,n=!0}if(l<24?be[Ee++]=128|l:je(l),!t)for(let t in e)("function"!=typeof e.hasOwnProperty||e.hasOwnProperty(t))&&b(e[t])},w=e=>{let r;if(e>16777216){if(e-t>ve)throw new Error("Encoded buffer would be larger than maximum buffer size");r=Math.min(ve,4096*Math.round(Math.max((e-t)*(e>67108864?1.25:2),4194304)/4096))}else r=1+(Math.max(e-t<<2,be.length-1)>>12)<<12;let n=new he(r);return ge=new DataView(n.buffer,0,r),be.copy?be.copy(n,0,t,e):n.set(be.slice(t,e)),Ee-=t,t=0,we=n.length-10,be=n};let E=100,_=1e3;function*S(e,r,n){let o=e.constructor;if(o===Object){let t=!1!==u.useRecords;t?g(e,!0):Te(Object.keys(e).length,160);for(let n in e){let o=e[n];t||b(n),o&&"object"==typeof o?r[n]?yield*S(o,r[n]):yield*O(o,r,n):b(o)}}else if(o===Array){let n=e.length;je(n);for(let o=0;o<n;o++){let n=e[o];n&&("object"==typeof n||Ee-t>E)?r.element?yield*S(n,r.element):yield*O(n,r,"element"):b(n)}}else if(e[Symbol.iterator]&&!e.buffer){be[Ee++]=159;for(let n of e)n&&("object"==typeof n||Ee-t>E)?r.element?yield*S(n,r.element):yield*O(n,r,"element"):b(n);be[Ee++]=255}else Le(e)?(Te(e.size,64),yield be.subarray(t,Ee),yield e,x()):e[Symbol.asyncIterator]?(be[Ee++]=159,yield be.subarray(t,Ee),yield e,x(),be[Ee++]=255):b(e);n&&Ee>t?yield be.subarray(t,Ee):Ee-t>E&&(yield be.subarray(t,Ee),x())}function*O(e,r,n){let o=Ee-t;try{b(e),Ee-t>E&&(yield be.subarray(t,Ee),x())}catch(i){if(!i.iteratorNotHandled)throw i;r[n]={},Ee=t+o,yield*S.call(this,e,r[n])}}function x(){E=_,u.encode(null,Qe)}function T(e,t,r){return E=t&&t.chunkThreshold?_=t.chunkThreshold:100,e&&"object"==typeof e?(u.encode(null,Qe),r(e,u.iterateProperties||(u.iterateProperties={}),!0)):[u.encode(e)]}async function*P(e,t){for(let r of S(e,t,!0)){let e=r.constructor;if(e===ye||e===Uint8Array)yield r;else if(Le(r)){let e,t=r.stream().getReader();for(;!(e=await t.read()).done;)yield e.value}else if(r[Symbol.asyncIterator])for await(let e of r)x(),e?yield*P(e,t.async||(t.async={})):yield u.encode(e);else yield r}}this.encodeAsIterable=function(e,t){return T(e,t,S)},this.encodeAsAsyncIterable=function(e,t){return T(e,t,P)}}useBuffer(e){be=e,ge=new DataView(be.buffer,be.byteOffset,be.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 Pe(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 Te(e,t){e<24?be[Ee++]=t|e:e<256?(be[Ee++]=24|t,be[Ee++]=e):e<65536?(be[Ee++]=25|t,be[Ee++]=e>>8,be[Ee++]=255&e):(be[Ee++]=26|t,ge.setUint32(Ee,e),Ee+=4)}class Pe{constructor(e,t,r){this.structures=e,this.packedValues=t,this.version=r}}function je(e){e<24?be[Ee++]=128|e:e<256?(be[Ee++]=152,be[Ee++]=e):e<65536?(be[Ee++]=153,be[Ee++]=e>>8,be[Ee++]=255&e):(be[Ee++]=154,ge.setUint32(Ee,e),Ee+=4)}const ke="undefined"==typeof Blob?function(){}:Blob;function Le(e){if(e instanceof ke)return!0;let t=e[Symbol.toStringTag];return"Blob"===t||"File"===t}function Ie(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++)Ie(e[r],t);else{let n=!t.encoder.useRecords;for(var r in e)e.hasOwnProperty(r)&&(n&&Ie(r,t),Ie(e[r],t))}break;case"function":console.log(e)}}const Ce=1==new Uint8Array(new Uint16Array([1]).buffer)[0];function Ae(e,t){return!Ce&&t>1&&(e-=4),{tag:e,encode:function(e,t){let r=e.byteLength,n=e.byteOffset||0,o=e.buffer||e;t(de?pe.from(o,n,r):new Uint8Array(o,n,r))}}}function Ne(e,t){let r=e.byteLength;r<24?be[Ee++]=64+r:r<256?(be[Ee++]=88,be[Ee++]=r):r<65536?(be[Ee++]=89,be[Ee++]=r>>8,be[Ee++]=255&r):(be[Ee++]=90,ge.setUint32(Ee,r),Ee+=4),Ee+r>=be.length&&t(Ee+r),be.set(e.buffer?e:new Uint8Array(e),Ee),Ee+=r}function Me(e,t){ge.setUint32(_e.position+e,Ee-_e.position-e+1);let r=_e;_e=null,t(r[0]),t(r[1])}function Re(e){if(e.Class){if(!e.encode)throw new Error("Extension has no encode function");fe.unshift(e.Class),le.unshift(e)}!function(e){O[e.tag]=e.decode}(e)}fe=[Date,Set,Error,RegExp,B,ArrayBuffer,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,"undefined"==typeof BigUint64Array?function(){}:BigUint64Array,Int8Array,Int16Array,Int32Array,"undefined"==typeof BigInt64Array?function(){}:BigInt64Array,Float32Array,Float64Array,Pe],le=[{tag:1,encode(e,t){let r=e.getTime()/1e3;(this.useTimestamp32||0===e.getMilliseconds())&&r>=0&&r<4294967296?(be[Ee++]=26,ge.setUint32(Ee,r),Ee+=4):(be[Ee++]=251,ge.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){return e.tag},encode(e,t){t(e.value)}},{encode(e,t,r){Ne(e,r)}},{getTag(e){if(e.constructor===Uint8Array&&(this.tagUint8Array||de&&!1!==this.tagUint8Array))return 64},encode(e,t,r){Ne(e,r)}},Ae(68,1),Ae(69,2),Ae(70,4),Ae(71,8),Ae(72,1),Ae(77,2),Ae(78,4),Ae(79,8),Ae(85,4),Ae(86,8),{encode(e,t){let r=e.packedValues||[],n=e.structures||[];if(r.values.length>0){be[Ee++]=216,be[Ee++]=51,je(4);let e=r.values;t(e),je(0),je(0),packedObjectMap=Object.create(sharedPackedObjectMap||null);for(let t=0,r=e.length;t<r;t++)packedObjectMap[e[t]]=t}if(n){ge.setUint32(Ee,3655335424),Ee+=3;let r=n.slice(0);r.unshift(57344),r.push(new B(e.version,1399353956)),t(r)}else t(new B(e.version,1399353956))}}];let De=new xe({useRecords:!1});const Ue=De.encode,Fe=De.encodeAsIterable,We=De.encodeAsAsyncIterable,{NEVER:ze,ALWAYS:Be,DECIMAL_ROUND:Ve,DECIMAL_FIT:Ye}=ue,Ge=512,He=1024,Qe=2048;function qe(e,t={}){if(e&&"object"==typeof e){if("function"==typeof e[Symbol.iterator])return function*(e,t){const r=new xe(t);for(const t of e)yield r.encode(t)}(e,t);if("function"==typeof e.then||"function"==typeof e[Symbol.asyncIterator])return async function*(e,t){const r=new xe(t);for await(const t of e)yield r.encode(t)}(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")}function Ke(e,t={}){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 k(t);let n;const o=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*o(t)}():"function"==typeof e[Symbol.asyncIterator]?async function*(){for await(const t of e)yield*o(t)}():void 0}},75120:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"سماح","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":"طلب الدعم"}')},30428:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Erlauben","DENY":"Ablehnen","END_SESSION":"Cobrowse-Sitzung beenden","FULL_DEVICE_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte Ihren gesamten Bildschirm anzeigen. Möchtest du das zulassen?","FULL_DEVICE_REQUEST_TITLE":"Screen-Capture-Anforderung","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte diese Seite steuern. Möchtest du das zulassen?","REMOTE_CONTROL_REQUEST_TITLE":"Fernsteuerungsanfrage","SESSION_REQUEST_DESCRIPTION":"Ein Support-Mitarbeiter möchte diese Webseite vorübergehend mit Ihnen nutzen. Möchtest du das zulassen?","SESSION_REQUEST_TITLE":"Supportanforderung"}')},45448:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Allow","DENY":"Deny","END_SESSION":"End Cobrowse Session","FULL_DEVICE_REQUEST_DESCRIPTION":"A support agent would like to view your entire screen. Do you want to allow this?","FULL_DEVICE_REQUEST_TITLE":"Screen Capture Request","REMOTE_CONTROL_REQUEST_DESCRIPTION":"A support agent would like to control this page. Do you want to allow this?","REMOTE_CONTROL_REQUEST_TITLE":"Remote Control Request","SESSION_REQUEST_DESCRIPTION":"A support agent would like to temporarily use this web page with you. Do you want to allow this?","SESSION_REQUEST_TITLE":"Support Request","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. Do you want to allow this?","UNIVERSAL_PROXY_REQUEST_TITLE":"Session Continuation"}')},49467:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","DENY":"Denegar","END_SESSION":"Finalizar Sesión de Navegación Conjunta","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agente de soporte quiere ver toda su pantalla. ¿Deseas permitir esto?","FULL_DEVICE_REQUEST_TITLE":"Solicitud de Captura de Pantalla","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente de soporte quiere controlar esta página. ¿Deseas permitir esto?","REMOTE_CONTROL_REQUEST_TITLE":"Solicitud de Control Remoto","SESSION_REQUEST_DESCRIPTION":"Un agente de soporte quiere usar temporalmente esta página web con usted. ¿Desea permitir esto?","SESSION_REQUEST_TITLE":"Solicitud de Soporte"}')},70831:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","DENY":"Negar","END_SESSION":"Finalizar Sesión de Navegación Conjunta","FULL_DEVICE_REQUEST_DESCRIPTION":"Un asistente de soporte solicita visualizar la totalidad de su pantalla. ¿Desas permitir esto?","FULL_DEVICE_REQUEST_TITLE":"Solicitud de Captura de Pantalla","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente de soporte desea controlar esta página. ¿Desea permitir esto?","REMOTE_CONTROL_REQUEST_TITLE":"Solicitud de Control Remoto","SESSION_REQUEST_DESCRIPTION":"Un agente de soporte quiere usar temporalmente esta página web con usted. ¿Desea permitir esto?","SESSION_REQUEST_TITLE":"Solicitud de Soporte"}')},99867:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Autoriser","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. Donnez-vous votre autorisation ?","FULL_DEVICE_REQUEST_TITLE":"Demande de capture d\'écran","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agent du soutien souhaiterait avoir le contrôle de cette page. Donnez-vous votre autorisation ?","REMOTE_CONTROL_REQUEST_TITLE":"Demande de commande à distance","SESSION_REQUEST_DESCRIPTION":"Un agent de soutien souhaiterait temporairement utiliser cette page Web avec vous. Donnez-vous votre autorisation ?","SESSION_REQUEST_TITLE":"Demande de soutien"}')},87876:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"अनुमति देना","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":"समर्थन का अनुरोध करें"}')},28038:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Consenti","DENY":"Nega","END_SESSION":"Termina la sessione di Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Un agente dell\'assistenza desidera visualizzare tutto il tuo schermo. Acconsenti?","FULL_DEVICE_REQUEST_TITLE":"Richiesta di cattura dello schermo","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Un agente dell\'assistenza desidera controllare questa pagina. Acconsenti?","REMOTE_CONTROL_REQUEST_TITLE":"Richiesta di controllo da remoto","SESSION_REQUEST_DESCRIPTION":"Un agente dell\'assistenza vorrebbe utilizzare temporaneamente questa pagina web con te. Vuoi permetterlo?","SESSION_REQUEST_TITLE":"Richiesta di assistenza"}')},16582:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"許可する","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":"サポートリクエスト"}')},61753:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Рұқсат етіңіз","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":"Қолдау сұрауы"}')},45613:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"허용하다","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":"지원 요청"}')},59396:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"परवानगी द्या","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":"समर्थन विनंती"}')},19121:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Toestaan","DENY":"Afwijzen","END_SESSION":"Cobrowse-sessie beëindigen","FULL_DEVICE_REQUEST_DESCRIPTION":"Een support agent wilt jouw volledige scherm zien. Wil jij dit toestaan?","FULL_DEVICE_REQUEST_TITLE":"Schermopname verzoek","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Een support agent wilt graag deze pagina bedienen. Wil jij dit toestaan?","REMOTE_CONTROL_REQUEST_TITLE":"Verzoek voor bediening op afstand","SESSION_REQUEST_DESCRIPTION":"Een support agent wilt graag tijdelijk met u meekijken op deze webpagina.","SESSION_REQUEST_TITLE":"Supportverzoek"}')},85443:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Umożliwić","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":"Żądanie przechwycenia ekranu","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby kontrolować tę stronę. ","REMOTE_CONTROL_REQUEST_TITLE":"Żądanie zdalnego sterowania","SESSION_REQUEST_DESCRIPTION":"Pracownik działu pomocy chciałby tymczasowo korzystać z tej strony internetowej razem z Tobą. ","SESSION_REQUEST_TITLE":"Żądanie wsparcia"}')},26770:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","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":"Solicitação de captura de tela","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de controlar esta página. ","REMOTE_CONTROL_REQUEST_TITLE":"Solicitação de controle remoto","SESSION_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de usar temporariamente esta página da web com você. ","SESSION_REQUEST_TITLE":"Solicitação de suporte"}')},63851:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Permitir","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":"Solicitação de captura de tela","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de controlar esta página. ","REMOTE_CONTROL_REQUEST_TITLE":"Pedido de Controlo Remoto","SESSION_REQUEST_DESCRIPTION":"Um agente de suporte gostaria de usar temporariamente esta página da web com você. ","SESSION_REQUEST_TITLE":"Solicitação de suporte"}')},86146:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Разрешить","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":"Запрос поддержки"}')},41224:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Dovoli","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":"Zahteva za zajem zaslona","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Podporni agent želi nadzorovati to stran. Ali želite to dovoliti?","REMOTE_CONTROL_REQUEST_TITLE":"Zahteva za daljinsko upravljanje","SESSION_REQUEST_DESCRIPTION":"Agent za podporo želi začasno uporabljati to spletno stran z vami. ","SESSION_REQUEST_TITLE":"Zahteva za podporo"}')},31559:function(e){"use strict";e.exports=JSON.parse('{"DENY":"Заперечую","END_SESSION":"Завершити сеанс Cobrowse","FULL_DEVICE_REQUEST_DESCRIPTION":"Агент підтримки хотів би переглянути весь ваш екран. Ви хочете дозволити це?","FULL_DEVICE_REQUEST_TITLE":"Запит на зйомку екрана","REMOTE_CONTROL_REQUEST_DESCRIPTION":"Агент підтримки хотів би контролювати цю сторінку. Ви хочете дозволити це?","SESSION_REQUEST_DESCRIPTION":"Агент служби підтримки хотів би тимчасово використовувати цю веб-сторінку разом з вами. Ви хочете дозволити це?","SESSION_REQUEST_TITLE":"Запит на підтримку"}')},87762:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"Cho phép","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. Bạn có muốn cho phép điều này không?","FULL_DEVICE_REQUEST_TITLE":"Yêu cầu chụp 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. Bạn có muốn cho phép điều này không?","REMOTE_CONTROL_REQUEST_TITLE":"Yêu cầu đ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. Bạn có muốn cho phép việc này không?","SESSION_REQUEST_TITLE":"Yêu cầu hỗ trợ"}')},84181:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"允許","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":"支持請求"}')},59225:function(e){"use strict";e.exports=JSON.parse('{"ALLOW":"允许","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":"请求支持"}')}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=o,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.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 o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var u=2&n&&r;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach((function(e){i[e]=function(){return r[e]}}));return i.default=function(){return r},a.d(o,i),o},a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,r){return a.f[r](e,t),t}),[]))},a.u=function(e){return"pdf-viewer.chunk.js"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},n="CobrowseIO:",a.l=function(e,t,o,i){if(r[e])r[e].push(t);else{var u,c;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var f=s[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+o){u=f;break}}u||(c=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,a.nc&&u.setAttribute("nonce",a.nc),u.setAttribute("data-webpack",n+o),u.src=e),r[e]=[t];var p=function(t,n){u.onerror=u.onload=null,clearTimeout(d);var o=r[e];if(delete r[e],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((function(e){return e(n)})),t)return t(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),c&&document.head.appendChild(u)}},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;a.g.importScripts&&(e=a.g.location+"");var t=a.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(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e}(),function(){var e={792:0};a.f.j=function(t,r){var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((function(r,o){n=e[t]=[r,o]}));r.push(n[2]=o);var i=a.p+a.u(t),u=new Error;a.l(i,(function(r){if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;u.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",u.name="ChunkLoadError",u.type=o,u.request=i,n[1](u)}}),"chunk-"+t,t)}};var t=function(t,r){var n,o,i=r[0],u=r[1],c=r[2],s=0;if(i.some((function(t){return 0!==e[t]}))){for(n in u)a.o(u,n)&&(a.m[n]=u[n]);c&&c(a)}for(t&&t(r);s<i.length;s++)o=i[s],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunkCobrowseIO=self.webpackChunkCobrowseIO||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}();var u={};!function(){"use strict";var e=u;e.default=void 0;var t=a(67829),r=l(a(85620)),n=l(a(77966)),o=l(a(51112)),i=l(a(52404)),c=l(a(37609)),s=a(16566);function l(e){return e&&e.__esModule?e:{default:e}}var f=r.default;if(window.__cobrowse_io_loaded)throw r.default=function(){throw new Error('"CobrowseIO" is read-only.')}(),new Error("CobrowseIO already loaded. This usually means you included the snippet multiple times.");window.__cobrowse_io_loaded=!0;var p=!1,d=new o.default({shouldShowSelect:function(){var e;return(null===(e=r.default.currentSession)||void 0===e?void 0:e.isActive())||p},isRedacted:function(e){var t;return null===(t=s.RedactionIndexProvider.instance)||void 0===t?void 0:t.isRedacted(e)}});d.track(window),n.default.on("iframe_discovered",(function(e){(0,t.isxdoc)(e)||d.track(e.contentWindow)})),n.default.on("session",(function(e){var t=new i.default(f);t[c.default].deserialize(e),p=t.isActive()})),e.default=f}(),CobrowseIO=u.default}();
|