CINXE.COM
Log in to Vimeo
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><script>;window.NREUM||(NREUM={});NREUM.init={distributed_tracing:{enabled:true},privacy:{cookies_enabled:true},ajax:{deny_list:["cdn.cookielaw.org", "fresnel-events.vimeocdn.com", "sdk-api-v1.singular.net", "stats.g.doubleclick.net", "api.branch.io", "www.google-analytics.com"]}}; window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o||e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,n){function r(t){try{c.console&&console.log(t)}catch(e){}}var o,i=t("ee"),a=t(28),c={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(c.console=!0,o.indexOf("dev")!==-1&&(c.dev=!0),o.indexOf("nr_dev")!==-1&&(c.nrDev=!0))}catch(s){}c.nrDev&&i.on("internal-error",function(t){r(t.stack)}),c.dev&&i.on("fn-err",function(t,e,n){r(n.stack)}),c.dev&&(r("NR AGENT IN DEVELOPMENT MODE"),r("flags: "+a(c,function(t,e){return t}).join(", ")))},{}],2:[function(t,e,n){function r(t,e,n,r,c){try{l?l-=1:o(c||new UncaughtException(t,e,n),!0)}catch(u){try{i("ierr",[u,s.now(),!0])}catch(d){}}return"function"==typeof f&&f.apply(this,a(arguments))}function UncaughtException(t,e,n){this.message=t||"Uncaught error with no additional information",this.sourceURL=e,this.line=n}function o(t,e){var n=e?null:s.now();i("err",[t,n])}var i=t("handle"),a=t(29),c=t("ee"),s=t("loader"),u=t("gos"),f=window.onerror,d=!1,p="nr@seenError",l=0;s.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(h){"stack"in h&&(t(13),t(12),"addEventListener"in window&&t(6),s.xhrWrappable&&t(14),d=!0)}c.on("fn-start",function(t,e,n){d&&(l+=1)}),c.on("fn-err",function(t,e,n){d&&!n[p]&&(u(n,p,function(){return!0}),this.thrown=!0,o(n))}),c.on("fn-end",function(){d&&!this.thrown&&l>0&&(l-=1)}),c.on("internal-error",function(t){i("ierr",[t,s.now(),!0])})},{}],3:[function(t,e,n){t("loader").features.ins=!0},{}],4:[function(t,e,n){function r(){L++,T=g.hash,this[f]=y.now()}function o(){L--,g.hash!==T&&i(0,!0);var t=y.now();this[h]=~~this[h]+t-this[f],this[d]=t}function i(t,e){E.emit("newURL",[""+g,e])}function a(t,e){t.on(e,function(){this[e]=y.now()})}var c="-start",s="-end",u="-body",f="fn"+c,d="fn"+s,p="cb"+c,l="cb"+s,h="jsTime",m="fetch",v="addEventListener",w=window,g=w.location,y=t("loader");if(w[v]&&y.xhrWrappable){var x=t(10),b=t(11),E=t(8),R=t(6),O=t(13),N=t(7),P=t(14),M=t(9),S=t("ee"),C=S.get("tracer");t(16),y.features.spa=!0;var T,L=0;S.on(f,r),b.on(p,r),M.on(p,r),S.on(d,o),b.on(l,o),M.on(l,o),S.buffer([f,d,"xhr-done","xhr-resolved"]),R.buffer([f]),O.buffer(["setTimeout"+s,"clearTimeout"+c,f]),P.buffer([f,"new-xhr","send-xhr"+c]),N.buffer([m+c,m+"-done",m+u+c,m+u+s]),E.buffer(["newURL"]),x.buffer([f]),b.buffer(["propagate",p,l,"executor-err","resolve"+c]),C.buffer([f,"no-"+f]),M.buffer(["new-jsonp","cb-start","jsonp-error","jsonp-end"]),a(P,"send-xhr"+c),a(S,"xhr-resolved"),a(S,"xhr-done"),a(N,m+c),a(N,m+"-done"),a(M,"new-jsonp"),a(M,"jsonp-end"),a(M,"cb-start"),E.on("pushState-end",i),E.on("replaceState-end",i),w[v]("hashchange",i,!0),w[v]("load",i,!0),w[v]("popstate",function(){i(0,L>1)},!0)}},{}],5:[function(t,e,n){function r(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var o=t("ee"),i=t("handle"),a=t(13),c=t(12),s="learResourceTimings",u="addEventListener",f="resourcetimingbufferfull",d="bstResource",p="resource",l="-start",h="-end",m="fn"+l,v="fn"+h,w="bstTimer",g="pushState",y=t("loader");y.features.stn=!0,t(8),"addEventListener"in window&&t(6);var x=NREUM.o.EV;o.on(m,function(t,e){var n=t[0];n instanceof x&&(this.bstStart=y.now())}),o.on(v,function(t,e){var n=t[0];n instanceof x&&i("bst",[n,e,this.bstStart,y.now()])}),a.on(m,function(t,e,n){this.bstStart=y.now(),this.bstType=n}),a.on(v,function(t,e){i(w,[e,this.bstStart,y.now(),this.bstType])}),c.on(m,function(){this.bstStart=y.now()}),c.on(v,function(t,e){i(w,[e,this.bstStart,y.now(),"requestAnimationFrame"])}),o.on(g+l,function(t){this.time=y.now(),this.startPath=location.pathname+location.hash}),o.on(g+h,function(t){i("bstHist",[location.pathname+location.hash,this.startPath,this.time])}),u in window.performance&&(window.performance["c"+s]?window.performance[u](f,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["c"+s]()},!1):window.performance[u]("webkit"+f,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["webkitC"+s]()},!1)),document[u]("scroll",r,{passive:!0}),document[u]("keypress",r,!1),document[u]("click",r,!1)}},{}],6:[function(t,e,n){function r(t){for(var e=t;e&&!e.hasOwnProperty(f);)e=Object.getPrototypeOf(e);e&&o(e)}function o(t){c.inPlace(t,[f,d],"-",i)}function i(t,e){return t[1]}var a=t("ee").get("events"),c=t("wrap-function")(a,!0),s=t("gos"),u=XMLHttpRequest,f="addEventListener",d="removeEventListener";e.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(u.prototype)):u.prototype.hasOwnProperty(f)&&(o(window),o(u.prototype)),a.on(f+"-start",function(t,e){var n=t[1],r=s(n,"nr@wrapped",function(){function t(){if("function"==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)}var e={object:t,"function":n}[typeof n];return e?c(e,"fn-",null,e.name||"anonymous"):n});this.wrapped=t[1]=r}),a.on(d+"-start",function(t){t[1]=this.wrapped||t[1]})},{}],7:[function(t,e,n){function r(t,e,n){var r=t[e];"function"==typeof r&&(t[e]=function(){var t=i(arguments),e={};o.emit(n+"before-start",[t],e);var a;e[m]&&e[m].dt&&(a=e[m].dt);var c=r.apply(this,t);return o.emit(n+"start",[t,a],c),c.then(function(t){return o.emit(n+"end",[null,t],c),t},function(t){throw o.emit(n+"end",[t],c),t})})}var o=t("ee").get("fetch"),i=t(29),a=t(28);e.exports=o;var c=window,s="fetch-",u=s+"body-",f=["arrayBuffer","blob","json","text","formData"],d=c.Request,p=c.Response,l=c.fetch,h="prototype",m="nr@context";d&&p&&l&&(a(f,function(t,e){r(d[h],e,u),r(p[h],e,u)}),r(c,"fetch",s),o.on(s+"end",function(t,e){var n=this;if(e){var r=e.headers.get("content-length");null!==r&&(n.rxSize=r),o.emit(s+"done",[null,e],n)}else o.emit(s+"done",[t],n)}))},{}],8:[function(t,e,n){var r=t("ee").get("history"),o=t("wrap-function")(r);e.exports=r;var i=window.history&&window.history.constructor&&window.history.constructor.prototype,a=window.history;i&&i.pushState&&i.replaceState&&(a=i),o.inPlace(a,["pushState","replaceState"],"-")},{}],9:[function(t,e,n){function r(t){function e(){s.emit("jsonp-end",[],p),t.removeEventListener("load",e,!1),t.removeEventListener("error",n,!1)}function n(){s.emit("jsonp-error",[],p),s.emit("jsonp-end",[],p),t.removeEventListener("load",e,!1),t.removeEventListener("error",n,!1)}var r=t&&"string"==typeof t.nodeName&&"script"===t.nodeName.toLowerCase();if(r){var o="function"==typeof t.addEventListener;if(o){var a=i(t.src);if(a){var f=c(a),d="function"==typeof f.parent[f.key];if(d){var p={};u.inPlace(f.parent,[f.key],"cb-",p),t.addEventListener("load",e,!1),t.addEventListener("error",n,!1),s.emit("new-jsonp",[t.src],p)}}}}}function o(){return"addEventListener"in window}function i(t){var e=t.match(f);return e?e[1]:null}function a(t,e){var n=t.match(p),r=n[1],o=n[3];return o?a(o,e[r]):e[r]}function c(t){var e=t.match(d);return e&&e.length>=3?{key:e[2],parent:a(e[1],window)}:{key:t,parent:window}}var s=t("ee").get("jsonp"),u=t("wrap-function")(s);if(e.exports=s,o()){var f=/[?&](?:callback|cb)=([^&#]+)/,d=/(.*)\.([^.]+)/,p=/^(\w+)(.|$)(.*)$/,l=["appendChild","insertBefore","replaceChild"];Node&&Node.prototype&&Node.prototype.appendChild?u.inPlace(Node.prototype,l,"dom-"):(u.inPlace(HTMLElement.prototype,l,"dom-"),u.inPlace(HTMLHeadElement.prototype,l,"dom-"),u.inPlace(HTMLBodyElement.prototype,l,"dom-")),s.on("dom-start",function(t){r(t[0])})}},{}],10:[function(t,e,n){var r=t("ee").get("mutation"),o=t("wrap-function")(r),i=NREUM.o.MO;e.exports=r,i&&(window.MutationObserver=function(t){return this instanceof i?new i(o(t,"fn-")):i.apply(this,arguments)},MutationObserver.prototype=i.prototype)},{}],11:[function(t,e,n){function r(t){var e=i.context(),n=c(t,"executor-",e,null,!1),r=new u(n);return i.context(r).getCtx=function(){return e},r}var o=t("wrap-function"),i=t("ee").get("promise"),a=t("ee").getOrSetContext,c=o(i),s=t(28),u=NREUM.o.PR;e.exports=i,u&&(window.Promise=r,["all","race"].forEach(function(t){var e=u[t];u[t]=function(n){function r(t){return function(){i.emit("propagate",[null,!o],a,!1,!1),o=o||!t}}var o=!1;s(n,function(e,n){Promise.resolve(n).then(r("all"===t),r(!1))});var a=e.apply(u,arguments),c=u.resolve(a);return c}}),["resolve","reject"].forEach(function(t){var e=u[t];u[t]=function(t){var n=e.apply(u,arguments);return t!==n&&i.emit("propagate",[t,!0],n,!1,!1),n}}),u.prototype["catch"]=function(t){return this.then(null,t)},u.prototype=Object.create(u.prototype,{constructor:{value:r}}),s(Object.getOwnPropertyNames(u),function(t,e){try{r[e]=u[e]}catch(n){}}),o.wrapInPlace(u.prototype,"then",function(t){return function(){var e=this,n=o.argsToArray.apply(this,arguments),r=a(e);r.promise=e,n[0]=c(n[0],"cb-",r,null,!1),n[1]=c(n[1],"cb-",r,null,!1);var s=t.apply(this,n);return r.nextPromise=s,i.emit("propagate",[e,!0],s,!1,!1),s}}),i.on("executor-start",function(t){t[0]=c(t[0],"resolve-",this,null,!1),t[1]=c(t[1],"resolve-",this,null,!1)}),i.on("executor-err",function(t,e,n){t[1](n)}),i.on("cb-end",function(t,e,n){i.emit("propagate",[n,!0],this.nextPromise,!1,!1)}),i.on("propagate",function(t,e,n){this.getCtx&&!e||(this.getCtx=function(){if(t instanceof Promise)var e=i.context(t);return e&&e.getCtx?e.getCtx():this})}),r.toString=function(){return""+u})},{}],12:[function(t,e,n){var r=t("ee").get("raf"),o=t("wrap-function")(r),i="equestAnimationFrame";e.exports=r,o.inPlace(window,["r"+i,"mozR"+i,"webkitR"+i,"msR"+i],"raf-"),r.on("raf-start",function(t){t[0]=o(t[0],"fn-")})},{}],13:[function(t,e,n){function r(t,e,n){t[0]=a(t[0],"fn-",null,n)}function o(t,e,n){this.method=n,this.timerDuration=isNaN(t[1])?0:+t[1],t[0]=a(t[0],"fn-",this,n)}var i=t("ee").get("timer"),a=t("wrap-function")(i),c="setTimeout",s="setInterval",u="clearTimeout",f="-start",d="-";e.exports=i,a.inPlace(window,[c,"setImmediate"],c+d),a.inPlace(window,[s],s+d),a.inPlace(window,[u,"clearImmediate"],u+d),i.on(s+f,r),i.on(c+f,o)},{}],14:[function(t,e,n){function r(t,e){d.inPlace(e,["onreadystatechange"],"fn-",c)}function o(){var t=this,e=f.context(t);t.readyState>3&&!e.resolved&&(e.resolved=!0,f.emit("xhr-resolved",[],t)),d.inPlace(t,g,"fn-",c)}function i(t){y.push(t),h&&(b?b.then(a):v?v(a):(E=-E,R.data=E))}function a(){for(var t=0;t<y.length;t++)r([],y[t]);y.length&&(y=[])}function c(t,e){return e}function s(t,e){for(var n in t)e[n]=t[n];return e}t(6);var u=t("ee"),f=u.get("xhr"),d=t("wrap-function")(f),p=NREUM.o,l=p.XHR,h=p.MO,m=p.PR,v=p.SI,w="readystatechange",g=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],y=[];e.exports=f;var x=window.XMLHttpRequest=function(t){var e=new l(t);try{f.emit("new-xhr",[e],e),e.addEventListener(w,o,!1)}catch(n){try{f.emit("internal-error",[n])}catch(r){}}return e};if(s(l,x),x.prototype=l.prototype,d.inPlace(x.prototype,["open","send"],"-xhr-",c),f.on("send-xhr-start",function(t,e){r(t,e),i(e)}),f.on("open-xhr-start",r),h){var b=m&&m.resolve();if(!v&&!m){var E=1,R=document.createTextNode(E);new h(a).observe(R,{characterData:!0})}}else u.on("fn-end",function(t){t[0]&&t[0].type===w||a()})},{}],15:[function(t,e,n){function r(t){if(!c(t))return null;var e=window.NREUM;if(!e.loader_config)return null;var n=(e.loader_config.accountID||"").toString()||null,r=(e.loader_config.agentID||"").toString()||null,u=(e.loader_config.trustKey||"").toString()||null;if(!n||!r)return null;var h=l.generateSpanId(),m=l.generateTraceId(),v=Date.now(),w={spanId:h,traceId:m,timestamp:v};return(t.sameOrigin||s(t)&&p())&&(w.traceContextParentHeader=o(h,m),w.traceContextStateHeader=i(h,v,n,r,u)),(t.sameOrigin&&!f()||!t.sameOrigin&&s(t)&&d())&&(w.newrelicHeader=a(h,m,v,n,r,u)),w}function o(t,e){return"00-"+e+"-"+t+"-01"}function i(t,e,n,r,o){var i=0,a="",c=1,s="",u="";return o+"@nr="+i+"-"+c+"-"+n+"-"+r+"-"+t+"-"+a+"-"+s+"-"+u+"-"+e}function a(t,e,n,r,o,i){var a="btoa"in window&&"function"==typeof window.btoa;if(!a)return null;var c={v:[0,1],d:{ty:"Browser",ac:r,ap:o,id:t,tr:e,ti:n}};return i&&r!==i&&(c.d.tk=i),btoa(JSON.stringify(c))}function c(t){return u()&&s(t)}function s(t){var e=!1,n={};if("init"in NREUM&&"distributed_tracing"in NREUM.init&&(n=NREUM.init.distributed_tracing),t.sameOrigin)e=!0;else if(n.allowed_origins instanceof Array)for(var r=0;r<n.allowed_origins.length;r++){var o=h(n.allowed_origins[r]);if(t.hostname===o.hostname&&t.protocol===o.protocol&&t.port===o.port){e=!0;break}}return e}function u(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&!!NREUM.init.distributed_tracing.enabled}function f(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&!!NREUM.init.distributed_tracing.exclude_newrelic_header}function d(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&NREUM.init.distributed_tracing.cors_use_newrelic_header!==!1}function p(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&!!NREUM.init.distributed_tracing.cors_use_tracecontext_headers}var l=t(25),h=t(17);e.exports={generateTracePayload:r,shouldGenerateTrace:c}},{}],16:[function(t,e,n){function r(t){var e=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<p;r++)t.removeEventListener(d[r],this.listener,!1);e.aborted||(n.duration=a.now()-this.startTime,this.loadCaptureCalled||4!==t.readyState?null==e.status&&(e.status=0):i(this,t),n.cbTime=this.cbTime,f.emit("xhr-done",[t],t),c("xhr",[e,n,this.startTime]))}}function o(t,e){var n=s(e),r=t.params;r.host=n.hostname+":"+n.port,r.pathname=n.pathname,t.parsedOrigin=s(e),t.sameOrigin=t.parsedOrigin.sameOrigin}function i(t,e){t.params.status=e.status;var n=v(e,t.lastSize);if(n&&(t.metrics.rxSize=n),t.sameOrigin){var r=e.getResponseHeader("X-NewRelic-App-Data");r&&(t.params.cat=r.split(", ").pop())}t.loadCaptureCalled=!0}var a=t("loader");if(a.xhrWrappable){var c=t("handle"),s=t(17),u=t(15).generateTracePayload,f=t("ee"),d=["load","error","abort","timeout"],p=d.length,l=t("id"),h=t(21),m=t(20),v=t(18),w=window.XMLHttpRequest;a.features.xhr=!0,t(14),t(7),f.on("new-xhr",function(t){var e=this;e.totalCbs=0,e.called=0,e.cbTime=0,e.end=r,e.ended=!1,e.xhrGuids={},e.lastSize=null,e.loadCaptureCalled=!1,t.addEventListener("load",function(n){i(e,t)},!1),h&&(h>34||h<10)||window.opera||t.addEventListener("progress",function(t){e.lastSize=t.loaded},!1)}),f.on("open-xhr-start",function(t){this.params={method:t[0]},o(this,t[1]),this.metrics={}}),f.on("open-xhr-end",function(t,e){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid);var n=u(this.parsedOrigin);if(n){var r=!1;n.newrelicHeader&&(e.setRequestHeader("newrelic",n.newrelicHeader),r=!0),n.traceContextParentHeader&&(e.setRequestHeader("traceparent",n.traceContextParentHeader),n.traceContextStateHeader&&e.setRequestHeader("tracestate",n.traceContextStateHeader),r=!0),r&&(this.dt=n)}}),f.on("send-xhr-start",function(t,e){var n=this.metrics,r=t[0],o=this;if(n&&r){var i=m(r);i&&(n.txSize=i)}this.startTime=a.now(),this.listener=function(t){try{"abort"!==t.type||o.loadCaptureCalled||(o.params.aborted=!0),("load"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof e.onload))&&o.end(e)}catch(n){try{f.emit("internal-error",[n])}catch(r){}}};for(var c=0;c<p;c++)e.addEventListener(d[c],this.listener,!1)}),f.on("xhr-cb-time",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof n.onload||this.end(n)}),f.on("xhr-load-added",function(t,e){var n=""+l(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),f.on("xhr-load-removed",function(t,e){var n=""+l(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),f.on("addEventListener-end",function(t,e){e instanceof w&&"load"===t[0]&&f.emit("xhr-load-added",[t[1],t[2]],e)}),f.on("removeEventListener-end",function(t,e){e instanceof w&&"load"===t[0]&&f.emit("xhr-load-removed",[t[1],t[2]],e)}),f.on("fn-start",function(t,e,n){e instanceof w&&("onload"===n&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),f.on("fn-end",function(t,e){this.xhrCbStart&&f.emit("xhr-cb-time",[a.now()-this.xhrCbStart,this.onload,e],e)}),f.on("fetch-before-start",function(t){function e(t,e){var n=!1;return e.newrelicHeader&&(t.set("newrelic",e.newrelicHeader),n=!0),e.traceContextParentHeader&&(t.set("traceparent",e.traceContextParentHeader),e.traceContextStateHeader&&t.set("tracestate",e.traceContextStateHeader),n=!0),n}var n,r=t[1]||{};"string"==typeof t[0]?n=t[0]:t[0]&&t[0].url?n=t[0].url:window.URL&&t[0]&&t[0]instanceof URL&&(n=t[0].href),n&&(this.parsedOrigin=s(n),this.sameOrigin=this.parsedOrigin.sameOrigin);var o=u(this.parsedOrigin);if(o&&(o.newrelicHeader||o.traceContextParentHeader))if("string"==typeof t[0]||window.URL&&t[0]&&t[0]instanceof URL){var i={};for(var a in r)i[a]=r[a];i.headers=new Headers(r.headers||{}),e(i.headers,o)&&(this.dt=o),t.length>1?t[1]=i:t.push(i)}else t[0]&&t[0].headers&&e(t[0].headers,o)&&(this.dt=o)})}},{}],17:[function(t,e,n){var r={};e.exports=function(t){if(t in r)return r[t];var e=document.createElement("a"),n=window.location,o={};e.href=t,o.port=e.port;var i=e.href.split("://");!o.port&&i[1]&&(o.port=i[1].split("/")[0].split("@").pop().split(":")[1]),o.port&&"0"!==o.port||(o.port="https"===i[0]?"443":"80"),o.hostname=e.hostname||n.hostname,o.pathname=e.pathname,o.protocol=i[0],"/"!==o.pathname.charAt(0)&&(o.pathname="/"+o.pathname);var a=!e.protocol||":"===e.protocol||e.protocol===n.protocol,c=e.hostname===document.domain&&e.port===n.port;return o.sameOrigin=a&&(!e.hostname||c),"/"===o.pathname&&(r[t]=o),o}},{}],18:[function(t,e,n){function r(t,e){var n=t.responseType;return"json"===n&&null!==e?e:"arraybuffer"===n||"blob"===n||"json"===n?o(t.response):"text"===n||""===n||void 0===n?o(t.responseText):void 0}var o=t(20);e.exports=r},{}],19:[function(t,e,n){function r(){}function o(t,e,n){return function(){return i(t,[u.now()].concat(c(arguments)),e?null:this,n),e?void 0:this}}var i=t("handle"),a=t(28),c=t(29),s=t("ee").get("tracer"),u=t("loader"),f=NREUM;"undefined"==typeof window.newrelic&&(newrelic=f);var d=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],p="api-",l=p+"ixn-";a(d,function(t,e){f[e]=o(p+e,!0,"api")}),f.addPageAction=o(p+"addPageAction",!0),f.setCurrentRouteName=o(p+"routeName",!0),e.exports=newrelic,f.interaction=function(){return(new r).get()};var h=r.prototype={createTracer:function(t,e){var n={},r=this,o="function"==typeof e;return i(l+"tracer",[u.now(),t,n],r),function(){if(s.emit((o?"":"no-")+"fn-start",[u.now(),r,o],n),o)try{return e.apply(this,arguments)}catch(t){throw s.emit("fn-err",[arguments,this,t],n),t}finally{s.emit("fn-end",[u.now()],n)}}}};a("actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,e){h[e]=o(l+e)}),newrelic.noticeError=function(t,e){"string"==typeof t&&(t=new Error(t)),i("err",[t,u.now(),!1,e])}},{}],20:[function(t,e,n){e.exports=function(t){if("string"==typeof t&&t.length)return t.length;if("object"==typeof t){if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!("undefined"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(e){return}}}},{}],21:[function(t,e,n){var r=0,o=navigator.userAgent.match(/Firefox[/s](d+.d+)/);o&&(r=+o[1]),e.exports=r},{}],22:[function(t,e,n){function r(){return c.exists&&performance.now?Math.round(performance.now()):(i=Math.max((new Date).getTime(),i))-a}function o(){return i}var i=(new Date).getTime(),a=i,c=t(30);e.exports=r,e.exports.offset=a,e.exports.getLastTimestamp=o},{}],23:[function(t,e,n){function r(t){return!(!t||!t.protocol||"file:"===t.protocol)}e.exports=r},{}],24:[function(t,e,n){function r(t,e){var n=t.getEntries();n.forEach(function(t){"first-paint"===t.name?d("timing",["fp",Math.floor(t.startTime)]):"first-contentful-paint"===t.name&&d("timing",["fcp",Math.floor(t.startTime)])})}function o(t,e){var n=t.getEntries();n.length>0&&d("lcp",[n[n.length-1]])}function i(t){t.getEntries().forEach(function(t){t.hadRecentInput||d("cls",[t])})}function a(t){if(t instanceof h&&!v){var e=Math.round(t.timeStamp),n={type:t.type};e<=p.now()?n.fid=p.now()-e:e>p.offset&&e<=Date.now()?(e-=p.offset,n.fid=p.now()-e):e=p.now(),v=!0,d("timing",["fi",e,n])}}function c(t){d("pageHide",[p.now(),t])}if(!("init"in NREUM&&"page_view_timing"in NREUM.init&&"enabled"in NREUM.init.page_view_timing&&NREUM.init.page_view_timing.enabled===!1)){var s,u,f,d=t("handle"),p=t("loader"),l=t(27),h=NREUM.o.EV;if("PerformanceObserver"in window&&"function"==typeof window.PerformanceObserver){s=new PerformanceObserver(r);try{s.observe({entryTypes:["paint"]})}catch(m){}u=new PerformanceObserver(o);try{u.observe({entryTypes:["largest-contentful-paint"]})}catch(m){}f=new PerformanceObserver(i);try{f.observe({type:"layout-shift",buffered:!0})}catch(m){}}if("addEventListener"in document){var v=!1,w=["click","keydown","mousedown","pointerdown","touchstart"];w.forEach(function(t){document.addEventListener(t,a,!1)})}l(c)}},{}],25:[function(t,e,n){function r(){function t(){return e?15&e[n++]:16*Math.random()|0}var e=null,n=0,r=window.crypto||window.msCrypto;r&&r.getRandomValues&&(e=r.getRandomValues(new Uint8Array(31)));for(var o,i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",a="",c=0;c<i.length;c++)o=i[c],"x"===o?a+=t().toString(16):"y"===o?(o=3&t()|8,a+=o.toString(16)):a+=o;return a}function o(){return a(16)}function i(){return a(32)}function a(t){function e(){return n?15&n[r++]:16*Math.random()|0}var n=null,r=0,o=window.crypto||window.msCrypto;o&&o.getRandomValues&&Uint8Array&&(n=o.getRandomValues(new Uint8Array(31)));for(var i=[],a=0;a<t;a++)i.push(e().toString(16));return i.join("")}e.exports={generateUuid:r,generateSpanId:o,generateTraceId:i}},{}],26:[function(t,e,n){function r(t,e){if(!o)return!1;if(t!==o)return!1;if(!e)return!0;if(!i)return!1;for(var n=i.split("."),r=e.split("."),a=0;a<r.length;a++)if(r[a]!==n[a])return!1;return!0}var o=null,i=null,a=/Version\/(\S+)\s+Safari/;if(navigator.userAgent){var c=navigator.userAgent,s=c.match(a);s&&c.indexOf("Chrome")===-1&&c.indexOf("Chromium")===-1&&(o="Safari",i=s[1])}e.exports={agent:o,version:i,match:r}},{}],27:[function(t,e,n){function r(t){function e(){t(a&&document[a]?document[a]:document[o]?"hidden":"visible")}"addEventListener"in document&&i&&document.addEventListener(i,e,!1)}e.exports=r;var o,i,a;"undefined"!=typeof document.hidden?(o="hidden",i="visibilitychange",a="visibilityState"):"undefined"!=typeof document.msHidden?(o="msHidden",i="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(o="webkitHidden",i="webkitvisibilitychange",a="webkitVisibilityState")},{}],28:[function(t,e,n){function r(t,e){var n=[],r="",i=0;for(r in t)o.call(t,r)&&(n[i]=e(r,t[r]),i+=1);return n}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],29:[function(t,e,n){function r(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(o<0?0:o);++r<o;)i[r]=t[e+r];return i}e.exports=r},{}],30:[function(t,e,n){e.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],ee:[function(t,e,n){function r(){}function o(t){function e(t){return t&&t instanceof r?t:t?u(t,s,a):a()}function n(n,r,o,i,a){if(a!==!1&&(a=!0),!l.aborted||i){t&&a&&t(n,r,o);for(var c=e(o),s=m(n),u=s.length,f=0;f<u;f++)s[f].apply(c,r);var p=d[y[n]];return p&&p.push([x,n,r,c]),c}}function i(t,e){g[t]=m(t).concat(e)}function h(t,e){var n=g[t];if(n)for(var r=0;r<n.length;r++)n[r]===e&&n.splice(r,1)}function m(t){return g[t]||[]}function v(t){return p[t]=p[t]||o(n)}function w(t,e){f(t,function(t,n){e=e||"feature",y[n]=e,e in d||(d[e]=[])})}var g={},y={},x={on:i,addEventListener:i,removeEventListener:h,emit:n,get:v,listeners:m,context:e,buffer:w,abort:c,aborted:!1};return x}function i(t){return u(t,s,a)}function a(){return new r}function c(){(d.api||d.feature)&&(l.aborted=!0,d=l.backlog={})}var s="nr@context",u=t("gos"),f=t(28),d={},p={},l=e.exports=o();e.exports.getOrSetContext=i,l.backlog=d},{}],gos:[function(t,e,n){function r(t,e,n){if(o.call(t,e))return t[e];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[e]=r,r}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],handle:[function(t,e,n){function r(t,e,n,r){o.buffer([t],r),o.emit(t,e,n)}var o=t("ee").get("handle");e.exports=r,r.ee=o},{}],id:[function(t,e,n){function r(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i="nr@id",a=t("gos");e.exports=r},{}],loader:[function(t,e,n){function r(){if(!E++){var t=b.info=NREUM.info,e=l.getElementsByTagName("script")[0];if(setTimeout(u.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&e))return u.abort();s(y,function(e,n){t[e]||(t[e]=n)});var n=a();c("mark",["onload",n+b.offset],null,"api"),c("timing",["load",n]);var r=l.createElement("script");r.src="https://"+t.agent,e.parentNode.insertBefore(r,e)}}function o(){"complete"===l.readyState&&i()}function i(){c("mark",["domContent",a()+b.offset],null,"api")}var a=t(22),c=t("handle"),s=t(28),u=t("ee"),f=t(26),d=t(23),p=window,l=p.document,h="addEventListener",m="attachEvent",v=p.XMLHttpRequest,w=v&&v.prototype;if(d(p.location)){NREUM.o={ST:setTimeout,SI:p.setImmediate,CT:clearTimeout,XHR:v,REQ:p.Request,EV:p.Event,PR:p.Promise,MO:p.MutationObserver};var g=""+location,y={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-spa-1208.min.js"},x=v&&w&&w[h]&&!/CriOS/.test(navigator.userAgent),b=e.exports={offset:a.getLastTimestamp(),now:a,origin:g,features:{},xhrWrappable:x,userAgent:f};t(19),t(24),l[h]?(l[h]("DOMContentLoaded",i,!1),p[h]("load",r,!1)):(l[m]("onreadystatechange",o),p[m]("onload",r)),c("mark",["firstbyte",a.getLastTimestamp()],null,"api");var E=0}},{}],"wrap-function":[function(t,e,n){function r(t,e){function n(e,n,r,s,u){function nrWrapper(){var i,a,f,p;try{a=this,i=d(arguments),f="function"==typeof r?r(i,a):r||{}}catch(l){o([l,"",[i,a,s],f],t)}c(n+"start",[i,a,s],f,u);try{return p=e.apply(a,i)}catch(h){throw c(n+"err",[i,a,h],f,u),h}finally{c(n+"end",[i,a,p],f,u)}}return a(e)?e:(n||(n=""),nrWrapper[p]=e,i(e,nrWrapper,t),nrWrapper)}function r(t,e,r,o,i){r||(r="");var c,s,u,f="-"===r.charAt(0);for(u=0;u<e.length;u++)s=e[u],c=t[s],a(c)||(t[s]=n(c,f?s+r:r,o,s,i))}function c(n,r,i,a){if(!h||e){var c=h;h=!0;try{t.emit(n,r,i,e,a)}catch(s){o([s,n,r,i],t)}h=c}}return t||(t=f),n.inPlace=r,n.flag=p,n}function o(t,e){e||(e=f);try{e.emit("internal-error",t)}catch(n){}}function i(t,e,n){if(Object.defineProperty&&Object.keys)try{var r=Object.keys(t);return r.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(i){o([i],n)}for(var a in t)l.call(t,a)&&(e[a]=t[a]);return e}function a(t){return!(t&&t instanceof Function&&t.apply&&!t[p])}function c(t,e){var n=e(t);return n[p]=t,i(t,n,f),n}function s(t,e,n){var r=t[e];t[e]=c(r,n)}function u(){for(var t=arguments.length,e=new Array(t),n=0;n<t;++n)e[n]=arguments[n];return e}var f=t("ee"),d=t(29),p="nr@original",l=Object.prototype.hasOwnProperty,h=!1;e.exports=r,e.exports.wrapFunction=c,e.exports.wrapInPlace=s,e.exports.argsToArray=u},{}]},{},["loader",2,16,5,3,4]); ;NREUM.loader_config={accountID:"39284",trustKey:"39284",agentID:"7447468",licenseKey:"689d5b4562",applicationID:"2011224"} ;NREUM.info={beacon:"bam-cell.nr-data.net",errorBeacon:"bam-cell.nr-data.net",licenseKey:"689d5b4562",applicationID:"2011224",sa:1};</script><script id="datadog-rum-sdk">!function(){"use strict";var t={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},e=console,n={};Object.keys(t).forEach((function(t){n[t]=e[t]}));var r="Datadog Browser SDK:",i={debug:n.debug.bind(e,r),log:n.log.bind(e,r),info:n.info.bind(e,r),warn:n.warn.bind(e,r),error:n.error.bind(e,r)},o="https://docs.datadoghq.com",a="".concat(o,"/real_user_monitoring/browser/troubleshooting"),s="More details:";function u(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return t.apply(void 0,n)}catch(t){i.error(e,t)}}}var c,l=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},d=!1;function f(t){d=t}function p(t){return function(){return v(t,this,arguments)}}function v(t,e,n){try{return t.apply(e,n)}catch(t){if(h(t),c)try{c(t)}catch(t){h(t)}}}function h(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];d&&i.error.apply(i,l(["[MONITOR]"],t,!1))}function m(t,e){return-1!==t.indexOf(e)}function g(t){if(Array.from)return Array.from(t);var e=[];if(t instanceof Set)t.forEach((function(t){return e.push(t)}));else for(var n=0;n<t.length;n++)e.push(t[n]);return e}function _(t,e){for(var n=0;n<t.length;n+=1){var r=t[n];if(e(r,n))return r}}function y(t){return Object.keys(t).map((function(e){return t[e]}))}function b(t){return Object.keys(t).map((function(e){return[e,t[e]]}))}function w(t,e){return t.slice(0,e.length)===e}function S(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.forEach((function(e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})),t}function k(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var t=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof t&&(t="object"==typeof self?self:"object"==typeof window?window:{}),t}var x=1024,C=1024*x,E=/[^\u0000-\u007F]/;function T(t){return E.test(t)?void 0!==window.TextEncoder?(new TextEncoder).encode(t).length:new Blob([t]).size:t.length}function A(t,e){var n,r=k();return r.Zone&&"function"==typeof r.Zone.__symbol__&&(n=t[r.Zone.__symbol__(e)]),n||(n=t[e]),n}function R(t,e){return A(k(),"setTimeout")(p(t),e)}function N(t){A(k(),"clearTimeout")(t)}function I(t,e){return A(k(),"setInterval")(p(t),e)}function O(t){A(k(),"clearInterval")(t)}function M(t,e,n){var r,i,o=!n||void 0===n.leading||n.leading,a=!n||void 0===n.trailing||n.trailing,s=!1;return{throttled:function(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];s?r=n:(o?t.apply(void 0,n):r=n,s=!0,i=R((function(){a&&r&&t.apply(void 0,r),s=!1,r=void 0}),e))},cancel:function(){N(i),s=!1,r=void 0}}}function L(){}function D(t,e,n){if("object"!=typeof t||null===t)return JSON.stringify(t);var r=P(Object.prototype),i=P(Array.prototype),o=P(Object.getPrototypeOf(t)),a=P(t);try{return JSON.stringify(t,e,n)}catch(t){return"<error: unable to serialize object>"}finally{r(),i(),o(),a()}}function P(t){var e=t,n=e.toJSON;return n?(delete e.toJSON,function(){e.toJSON=n}):L}function U(t){return S({},t)}function z(t,e){return Object.keys(t).some((function(n){return t[n]===e}))}function V(t){return 0===Object.keys(t).length}var F=3*x,B=16*x,H=200;function q(t){void 0===t&&(t=2);var e=new Map,n=!1;function r(r){if(void 0===r&&(r=0),!n&&0!==t){var o=2===t?F:B,u=r;e.forEach((function(t){u+=t.getBytesCount()})),u>o&&(!function(t){i.warn("Customer data exceeds the recommended ".concat(t/x,"KiB threshold. ").concat(s," ").concat(a,"/#customer-data-exceeds-the-recommended-threshold-warning"))}(o),n=!0)}}return{createDetachedTracker:function(){var t=j((function(){return r(t.getBytesCount())}));return t},getOrCreateTracker:function(t){return e.has(t)||e.set(t,j(r)),e.get(t)},setCompressionStatus:function(e){0===t&&(t=e,r())},getCompressionStatus:function(){return t},stop:function(){e.forEach((function(t){return t.stop()})),e.clear()}}}function j(t){var e=0,n=M((function(n){e=T(D(n)),t()}),H),r=n.throttled,i=n.cancel,o=function(){i(),e=0};return{updateCustomerData:function(t){V(t)?o():r(t)},resetCustomerData:o,getBytesCount:function(){return e},stop:function(){i()}}}function G(t){return null===t?"null":Array.isArray(t)?"array":typeof t}function Z(t,e,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var t=new WeakSet;return{hasAlreadyBeenSeen:function(e){var n=t.has(e);return n||t.add(e),n}}}var e=[];return{hasAlreadyBeenSeen:function(t){var n=e.indexOf(t)>=0;return n||e.push(t),n}}}()),void 0===e)return t;if("object"!=typeof e||null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var r=e.flags||[e.global?"g":"",e.ignoreCase?"i":"",e.multiline?"m":"",e.sticky?"y":"",e.unicode?"u":""].join("");return new RegExp(e.source,r)}if(!n.hasAlreadyBeenSeen(e)){if(Array.isArray(e)){for(var i=Array.isArray(t)?t:[],o=0;o<e.length;++o)i[o]=Z(i[o],e[o],n);return i}var a="object"===G(t)?t:{};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(a[s]=Z(a[s],e[s],n));return a}}function K(t){return Z(void 0,t)}function W(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=0,i=e;r<i.length;r++){var o=i[r];null!=o&&(t=Z(t,o))}return t}var X=220*x,Y="$",J=3;function $(t,e){void 0===e&&(e=X);var n=P(Object.prototype),r=P(Array.prototype),i=[],o=new WeakMap,a=Q(t,Y,void 0,i,o),s=JSON.stringify(a),u=s?s.length:0;if(!(u>e)){for(;i.length>0&&u<e;){var c=i.shift(),l=0;if(Array.isArray(c.source))for(var d=0;d<c.source.length;d++){if(u+=void 0!==(f=Q(c.source[d],c.path,d,i,o))?JSON.stringify(f).length:4,u+=l,l=1,u>e){tt(e,"truncated",t);break}c.target[d]=f}else for(var d in c.source)if(Object.prototype.hasOwnProperty.call(c.source,d)){var f;if(void 0!==(f=Q(c.source[d],c.path,d,i,o))&&(u+=JSON.stringify(f).length+l+d.length+J,l=1),u>e){tt(e,"truncated",t);break}c.target[d]=f}}return n(),r(),a}tt(e,"discarded",t)}function Q(t,e,n,r,i){var o=function(t){var e=t;if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(t){}return t}(t);if(!o||"object"!=typeof o)return function(t){if("bigint"==typeof t)return"[BigInt] ".concat(t.toString());if("function"==typeof t)return"[Function] ".concat(t.name||"unknown");if("symbol"==typeof t)return"[Symbol] ".concat(t.description||t.toString());return t}(o);var a=function(t){try{if(t instanceof Event)return{isTrusted:t.isTrusted};var e=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(e&&e[1])return"[".concat(e[1],"]")}catch(t){}return"[Unserializable]"}(o);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;var s=t;if(i.has(s))return"[Reference seen at ".concat(i.get(s),"]");var u=void 0!==n?"".concat(e,".").concat(n):e,c=Array.isArray(o)?[]:{};return i.set(s,u),r.push({source:o,target:c,path:u}),c}function tt(t,e,n){i.warn("The data provided has been ".concat(e," as it is over the limit of ").concat(t," characters:"),n)}var et=function(){function t(t){this.onFirstSubscribe=t,this.observers=[]}return t.prototype.subscribe=function(t){var e=this;return this.observers.push(t),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),{unsubscribe:function(){e.observers=e.observers.filter((function(e){return t!==e})),!e.observers.length&&e.onLastUnsubscribe&&e.onLastUnsubscribe()}}},t.prototype.notify=function(t){this.observers.forEach((function(e){return e(t)}))},t}();function nt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new et((function(e){var n=t.map((function(t){return t.subscribe((function(t){return e.notify(t)}))}));return function(){return n.forEach((function(t){return t.unsubscribe()}))}}))}function rt(t){var e={},n=new et,r={getContext:function(){return K(e)},setContext:function(i){"object"===G(i)?(e=$(i),t&&t.updateCustomerData(e)):r.clearContext(),n.notify()},setContextProperty:function(r,i){e[r]=$(i),t&&t.updateCustomerData(e),n.notify()},removeContextProperty:function(r){delete e[r],t&&t.updateCustomerData(e),n.notify()},clearContext:function(){e={},t&&t.resetCustomerData(),n.notify()},changeObservable:n};return r}var it={GRANTED:"granted",NOT_GRANTED:"not-granted"};function ot(t,e,n,r,i){return at(t,e,[n],r,i)}function at(t,e,n,r,i){var o=void 0===i?{}:i,a=o.once,s=o.capture,u=o.passive,c=p((function(e){(e.isTrusted||e.__ddIsTrusted||t.allowUntrustedEvents)&&(a&&f(),r(e))})),l=u?{capture:s,passive:u}:s,d=A(e,"addEventListener");function f(){var t=A(e,"removeEventListener");n.forEach((function(n){return t.call(e,n,c,l)}))}return n.forEach((function(t){return d.call(e,t,c,l)})),{stop:f}}var st="_dd_c",ut=[];function ct(t,e,n,r){var i=function(t,e){return"".concat(st,"_").concat(t,"_").concat(e)}(n,r);function o(){var t=localStorage.getItem(i);return null!==t?JSON.parse(t):{}}ut.push(ot(t,window,"storage",(function(t){var n=t.key;i===n&&e.setContext(o())}))),e.changeObservable.subscribe((function(){localStorage.setItem(i,JSON.stringify(e.getContext()))})),e.setContext(W(o(),e.getContext()))}function lt(){var t="",e=0;return{isAsync:!1,get isEmpty(){return!t},write:function(n,r){var i=T(n);e+=i,t+=n,r&&r(i)},finish:function(t){t(this.finishSync())},finishSync:function(){var n={output:t,outputBytesCount:e,rawBytesCount:e,pendingData:""};return t="",e=0,n},estimateEncodedBytesCount:function(t){return t.length}}}var dt="?";function ft(t){var e=[],n=wt(t,"stack"),r=String(t);return n&&w(n,r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach((function(t){var n=function(t){var e=ht.exec(t);if(!e)return;var n=e[2]&&0===e[2].indexOf("native"),r=e[2]&&0===e[2].indexOf("eval"),i=mt.exec(e[2]);r&&i&&(e[2]=i[1],e[3]=i[2],e[4]=i[3]);return{args:n?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||dt,line:e[3]?+e[3]:void 0,url:n?void 0:e[2]}}(t)||function(t){var e=gt.exec(t);if(!e)return;return{args:[],column:e[3]?+e[3]:void 0,func:dt,line:e[2]?+e[2]:void 0,url:e[1]}}(t)||function(t){var e=_t.exec(t);if(!e)return;return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||dt,line:+e[3],url:e[2]}}(t)||function(t){var e=yt.exec(t);if(!e)return;var n=e[3]&&e[3].indexOf(" > eval")>-1,r=bt.exec(e[3]);n&&r&&(e[3]=r[1],e[4]=r[2],e[5]=void 0);return{args:e[2]?e[2].split(","):[],column:e[5]?+e[5]:void 0,func:e[1]||dt,line:e[4]?+e[4]:void 0,url:e[3]}}(t);n&&(!n.func&&n.line&&(n.func=dt),e.push(n))})),{message:wt(t,"message"),name:wt(t,"name"),stack:e}}var pt="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",vt="(?::(\\d+))",ht=new RegExp("^\\s*at (.*?) ?\\(".concat(pt).concat(vt,"?").concat(vt,"?\\)?\\s*$"),"i"),mt=new RegExp("\\((\\S*)".concat(vt).concat(vt,"\\)"));var gt=new RegExp("^\\s*at ?".concat(pt).concat(vt,"?").concat(vt,"??\\s*$"),"i");var _t=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var yt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,bt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function wt(t,e){if("object"==typeof t&&t&&e in t){var n=t[e];return"string"==typeof n?n:void 0}}function St(t,e,n,r){var i=[{url:e,column:r,line:n}],o=function(t){var e,n,r;"[object String]"==={}.toString.call(t)&&(n=(e=kt.exec(t))[1],r=e[2]);return{name:n,message:r}}(t);return{name:o.name,message:o.message,stack:i}}var kt=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function xt(){var t,e=new Error;if(!e.stack)try{throw e}catch(t){}return v((function(){var n=ft(e);n.stack=n.stack.slice(2),t=Ct(n)})),t}function Ct(t){var e=Et(t);return t.stack.forEach((function(t){var n="?"===t.func?"<anonymous>":t.func,r=t.args&&t.args.length>0?"(".concat(t.args.join(", "),")"):"",i=t.line?":".concat(t.line):"",o=t.line&&t.column?":".concat(t.column):"";e+="\n at ".concat(n).concat(r," @ ").concat(t.url).concat(i).concat(o)})),e}function Et(t){return"".concat(t.name||"Error",": ").concat(t.message)}var Tt,At="No stack, consider using an instance of Error";function Rt(t){var e=t.stackTrace,n=t.originalError,r=t.handlingStack,i=t.startClocks,o=t.nonErrorPrefix,a=t.source,s=t.handling,u=n instanceof Error,c=function(t,e,n,r){return(null==t?void 0:t.message)&&(null==t?void 0:t.name)?t.message:e?"Empty message":"".concat(n," ").concat(D($(r)))}(e,u,o,n),l=function(t,e){if(void 0===e)return!1;if(t)return!0;return e.stack.length>0&&(e.stack.length>1||void 0!==e.stack[0].url)}(u,e)?Ct(e):At,d=u?It(n,a):void 0;return{startClocks:i,source:a,handling:s,handlingStack:r,originalError:n,type:e?e.name:void 0,message:c,stack:l,causes:d,fingerprint:Nt(n)}}function Nt(t){return t instanceof Error&&"dd_fingerprint"in t?String(t.dd_fingerprint):void 0}function It(t,e){for(var n=t,r=[];(null==n?void 0:n.cause)instanceof Error&&r.length<10;){var i=ft(n.cause);r.push({message:n.cause.message,source:e,type:null==i?void 0:i.name,stack:i&&Ct(i)}),n=n.cause}return r.length?r:void 0}!function(t){t.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",t.REMOTE_CONFIGURATION="remote_configuration",t.LONG_ANIMATION_FRAME="long_animation_frame"}(Tt||(Tt={}));var Ot=new Set;function Mt(t){Array.isArray(t)&&t.filter((function(t){return z(Tt,t)})).forEach((function(t){Ot.add(t)}))}function Lt(t){return Ot.has(t)}function Dt(){return Ot}var Pt="datad0g.com",Ut="dd0g-gov.com",zt="datadoghq.com",Vt="datadoghq.eu",Ft="pci.browser-intake-datadoghq.com",Bt=["ddsource","ddtags"];function Ht(t){return 0!==t&&100*Math.random()<=t}function qt(t,e){return+t.toFixed(e)}function jt(t){return"number"==typeof t}var Gt,Zt=1e3,Kt=60*Zt,Wt=60*Kt,Xt=365*(24*Wt);function Yt(t){return{relative:t,timeStamp:Jt(t)}}function Jt(t){var e=Qt()-performance.now();return e>se()?Math.round(oe(e,t)):function(t){return Math.round(oe(se(),t))}(t)}function $t(t){return jt(t)?qt(1e6*t,0):t}function Qt(){return(new Date).getTime()}function te(){return Qt()}function ee(){return performance.now()}function ne(){return{relative:ee(),timeStamp:te()}}function re(){return{relative:0,timeStamp:se()}}function ie(t,e){return e-t}function oe(t,e){return t+e}function ae(t){return t-se()}function se(){return void 0===Gt&&(Gt=performance.timing.navigationStart),Gt}function ue(t,e){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:t,payload:e})}function ce(){var t,e=window.navigator;return{status:e.onLine?"connected":"not_connected",interfaces:e.connection&&e.connection.type?[e.connection.type]:void 0,effective_type:null===(t=e.connection)||void 0===t?void 0:t.effectiveType}}function le(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}var de=500;function fe(){var t=[];return{add:function(e){t.push(e)>de&&t.splice(0,1)},remove:function(e){le(t,e)},drain:function(e){t.forEach((function(t){return t(e)})),t.length=0}}}var pe={log:"log",configuration:"configuration",usage:"usage"},ve=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],he=["ddog-gov.com"],me=fe(),ge=function(t){me.add((function(){return ge(t)}))};function _e(t,e){var n,r,i=new et,o=new Set,a=!m(he,e.site)&&Ht(e.telemetrySampleRate),s=((n={})[pe.log]=a,n[pe.configuration]=a&&Ht(e.telemetryConfigurationSampleRate),n[pe.usage]=a&&Ht(e.telemetryUsageSampleRate),n),u={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self};return ge=function(n){var a=D(n);if(s[n.type]&&o.size<e.maxTelemetryEventsPerPage&&!o.has(a)){var c=function(t,e,n){return W({type:"telemetry",date:te(),service:t,version:"5.30.0",source:"browser",_dd:{format_version:2},telemetry:W(e,{runtime_env:n,connectivity:ce(),sdk_setup:"cdn"}),experimental_features:g(Dt())},void 0!==r?r():{})}(t,n,u);i.notify(c),ue("telemetry",c),o.add(a)}},c=be,{setContextProvider:function(t){r=t},observable:i,enabled:a}}function ye(e,n){h(t.debug,e,n),ge(S({type:pe.log,message:e,status:"debug"},n))}function be(t,e){ge(S({type:pe.log,status:"error"},function(t){if(t instanceof Error){var e=ft(t);return{error:{kind:e.name,stack:Ct(Se(e))},message:e.message}}return{error:{stack:At},message:"".concat("Uncaught"," ").concat(D(t))}}(t),e))}function we(t){ge({type:pe.usage,usage:t})}function Se(t){return t.stack=t.stack.filter((function(t){return!t.url||ve.some((function(e){return w(t.url,e)}))})),t}function ke(t){var e=S({},t);return["id","name","email"].forEach((function(t){t in e&&(e[t]=String(e[t]))})),e}function xe(t,e){e.silentMultipleInit||i.error("".concat(t," is already initialized."))}function Ce(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,Ce)}var Ee=/([\w-]+)\s*=\s*([^;]+)/g;function Te(t,e){for(Ee.lastIndex=0;;){var n=Ee.exec(t);if(!n)break;if(n[1]===e)return n[2]}}function Ae(t,e,n){void 0===n&&(n="");var r=t.charCodeAt(e-1),i=r>=55296&&r<=56319?e+1:e;return t.length<=i?t:"".concat(t.slice(0,i)).concat(n)}function Re(t,e,n){function r(n){(function(t){return!e.wasInPageStateDuringPeriod("frozen",t.startClocks.relative,t.duration)})(n)&&t.notify(11,function(t,e){var n={date:t.startClocks.timeStamp,vital:{id:Ce(),type:t.type,name:t.name,duration:$t(t.duration),description:t.description},type:"vital"};e&&(n._dd={vital:{computed_value:!0}});return{rawRumEvent:n,startTime:t.startClocks.relative,customerContext:t.context,domainContext:{}}}(n,!0))}return{addDurationVital:r,startDurationVital:function(t,e){return void 0===e&&(e={}),Ne(n,t,e)},stopDurationVital:function(t,e){void 0===e&&(e={}),Ie(r,n,t,e)}}}function Ne(t,e,n){var r=t.vitalsByName,i=t.vitalsByReference;void 0===n&&(n={});var o={name:e,startClocks:ne(),context:n.context,description:n.description},a={__dd_vital_reference:!0};return r.set(e,o),i.set(a,o),a}function Ie(t,e,n,r){var i=e.vitalsByName,o=e.vitalsByReference;void 0===r&&(r={});var a="string"==typeof n?i.get(n):o.get(n);a&&(t(function(t,e,n,r){var i;return{name:t.name,type:"duration",startClocks:e,duration:ie(e.timeStamp,r.timeStamp),context:W(t.context,n.context),description:null!==(i=n.description)&&void 0!==i?i:t.description}}(a,a.startClocks,r,ne())),"string"==typeof n?i.delete(n):o.delete(n))}function Oe(){var t=k().DatadogEventBridge;if(t)return{getCapabilities:function(){var e;return JSON.parse((null===(e=t.getCapabilities)||void 0===e?void 0:e.call(t))||"[]")},getPrivacyLevel:function(){var e;return null===(e=t.getPrivacyLevel)||void 0===e?void 0:e.call(t)},getAllowedWebViewHosts:function(){return JSON.parse(t.getAllowedWebViewHosts())},send:function(e,n,r){var i=r?{id:r}:void 0;t.send(JSON.stringify({eventType:e,event:n,view:i}))}}}function Me(t){var e=Oe();return!!e&&m(e.getCapabilities(),t)}function Le(t){var e;void 0===t&&(t=null===(e=k().location)||void 0===e?void 0:e.hostname);var n=Oe();return!!n&&n.getAllowedWebViewHosts().some((function(e){return t===e||(n=t,r=".".concat(e),n.slice(-r.length)===r);var n,r}))}function De(t,e,n,r){var i=(void 0===r?{}:r).computeHandlingStack,o=t[e];if("function"!=typeof o){if(!(e in t)||!w(e,"on"))return{stop:L};o=L}var a=!1,s=function(){if(a)return o.apply(this,arguments);var t,e=g(arguments);v(n,null,[{target:this,parameters:e,onPostCall:function(e){t=e},handlingStack:i?xt():void 0}]);var r=o.apply(this,e);return t&&v(t,null,[r]),r};return t[e]=s,{stop:function(){a=!0,t[e]===s&&(t[e]=o)}}}function Pe(t,e,n){var r=Object.getOwnPropertyDescriptor(t,e);if(!r||!r.set||!r.configurable)return{stop:L};var i=L,o=function(t,e){R((function(){o!==i&&n(t,e)}),0)},a=function(t){r.set.call(this,t),o(this,t)};return Object.defineProperty(t,e,{set:a}),{stop:function(){var n;(null===(n=Object.getOwnPropertyDescriptor(t,e))||void 0===n?void 0:n.set)===a&&Object.defineProperty(t,e,r),o=i}}}function Ue(t){return ze(t,location.href).href}function ze(t,e){var n=function(){if(void 0===Ve)try{var t=new qe("http://test/path");Ve="http://test/path"===t.href}catch(t){Ve=!1}return Ve?qe:void 0}();if(n)try{return void 0!==e?new n(t,e):new n(t)}catch(n){throw new Error("Failed to construct URL: ".concat(String(n)," ").concat(D({url:t,base:e})))}if(void 0===e&&!/:/.test(t))throw new Error("Invalid URL: '".concat(t,"'"));var r=document,i=r.createElement("a");if(void 0!==e){var o=(r=document.implementation.createHTMLDocument("")).createElement("base");o.href=e,r.head.appendChild(o),r.body.appendChild(i)}return i.href=t,i}var Ve,Fe,Be,He,qe=URL;function je(){return Fe||(Fe=new et((function(t){if(window.fetch){var e=De(window,"fetch",(function(e){return function(t,e){var n=t.parameters,r=t.onPostCall,i=t.handlingStack,o=n[0],a=n[1],s=a&&a.method;void 0===s&&o instanceof Request&&(s=o.method);var u=void 0!==s?String(s).toUpperCase():"GET",c=o instanceof Request?o.url:Ue(String(o)),l=ne(),d={state:"start",init:a,input:o,method:u,startClocks:l,url:c,handlingStack:i};e.notify(d),n[0]=d.input,n[1]=d.init,r((function(t){return function(t,e,n){var r=n;function i(e){r.state="resolve",S(r,e),t.notify(r)}e.then(p((function(t){i({response:t,responseType:t.type,status:t.status,isAborted:!1})})),p((function(t){var e,n;i({status:0,isAborted:(null===(n=null===(e=r.init)||void 0===e?void 0:e.signal)||void 0===n?void 0:n.aborted)||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,error:t})})))}(e,t,d)}))}(e,t)}),{computeHandlingStack:!0}).stop;return e}}))),Fe}function Ge(t,e,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires=".concat(i.toUTCString()),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain=".concat(r.domain):"",u=r&&r.secure?";secure":"",c=r&&r.partitioned?";partitioned":"";document.cookie="".concat(t,"=").concat(e,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(u).concat(c)}function Ze(t){return Te(document.cookie,t)}function Ke(t){return Be||(Be=function(t){var e=new Map;for(Ee.lastIndex=0;;){var n=Ee.exec(t);if(!n)break;e.set(n[1],n[2])}return e}(document.cookie)),Be.get(t)}function We(t,e){Ge(t,"",0,e)}var Xe,Ye="datadog-synthetics-public-id",Je="datadog-synthetics-result-id",$e="datadog-synthetics-injects-rum";function Qe(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||Ke($e))}function tn(){return null!=Xe?Xe:Xe=function(t){var e;void 0===t&&(t=window);var n=t.navigator.userAgent;if(t.chrome||/HeadlessChrome/.test(n))return 1;if(0===(null===(e=t.navigator.vendor)||void 0===e?void 0:e.indexOf("Apple"))||/safari/i.test(n)&&!/chrome|android/i.test(n))return 2;if(t.document.documentMode)return 0;return 3}()}var en="_dd_s",nn=4*Wt,rn=15*Kt,on=/^([a-zA-Z]+)=([a-z0-9-]+)$/,an="&",sn="1";function un(){return{isExpired:sn}}function cn(t){return V(t)}function ln(t){return!cn(t)}function dn(t){return void 0!==t.isExpired||!((void 0===(e=t).created||Qt()-Number(e.created)<nn)&&(void 0===e.expire||Qt()<Number(e.expire)));var e}function fn(t){t.expire=String(Qt()+rn)}function pn(t){return b(t).map((function(t){var e=t[0],n=t[1];return"".concat(e,"=").concat(n)})).join(an)}function vn(t){var e={};return function(t){return!!t&&(-1!==t.indexOf(an)||on.test(t))}(t)&&t.split(an).forEach((function(t){var n=on.exec(t);if(null!==n){var r=n[1],i=n[2];e[r]=i}})),e}var hn="_dd",mn="_dd_r",gn="_dd_l",_n="rum",yn="logs";function bn(t){var e=function(t){var e={};e.secure=!!t.useSecureSessionCookie||!!t.usePartitionedCrossSiteSessionCookie||!!t.useCrossSiteSessionCookie,e.crossSite=!!t.usePartitionedCrossSiteSessionCookie||!!t.useCrossSiteSessionCookie,e.partitioned=!!t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(e.domain=function(){if(void 0===He){for(var t="dd_site_test_".concat(Ce()),e=window.location.hostname.split("."),n=e.pop();e.length&&!Ze(t);)n="".concat(e.pop(),".").concat(n),Ge(t,"test",Zt,{domain:n});We(t,{domain:n}),He=n}return He}());return e}(t);return function(t){if(void 0===document.cookie||null===document.cookie)return!1;try{var e="dd_cookie_test_".concat(Ce()),n="test";Ge(e,n,Kt,t);var r=Ze(e)===n;return We(e,t),r}catch(t){return i.error(t),!1}}(e)?{type:"Cookie",cookieOptions:e}:void 0}function wn(t){var e,n={isLockEnabled:1===tn(),persistSession:(e=t,function(t){Ge(en,pn(t),rn,e)}),retrieveSession:Sn,expireSession:function(){return function(t){Ge(en,pn(un()),nn,t)}(t)}};return function(t){if(!Ke(en)){var e=Ke(hn),n=Ke(mn),r=Ke(gn),i={};e&&(i.id=e),r&&/^[01]$/.test(r)&&(i[yn]=r),n&&/^[012]$/.test(n)&&(i[_n]=n),ln(i)&&(fn(i),t.persistSession(i))}}(n),n}function Sn(){return vn(Ze(en))}var kn="_dd_test_";function xn(t){localStorage.setItem(en,pn(t))}function Cn(){return vn(localStorage.getItem(en))}function En(){xn(un())}var Tn,An=10,Rn=100,Nn=[];function In(t,e,n){var r;void 0===n&&(n=0);var i=e.isLockEnabled,o=e.persistSession,a=e.expireSession,s=function(t){return o(S({},t,{lock:c}))},u=function(){var t=e.retrieveSession(),n=t.lock;return t.lock&&delete t.lock,{session:t,lock:n}};if(Tn||(Tn=t),t===Tn)if(i&&n>=Rn)Mn(e);else{var c,l=u();if(i){if(l.lock)return void On(t,e,n);if(c=Ce(),s(l.session),(l=u()).lock!==c)return void On(t,e,n)}var d=t.process(l.session);if(i&&(l=u()).lock!==c)On(t,e,n);else{if(d&&(dn(d)?a():(fn(d),i?s(d):o(d))),i&&(!d||!dn(d))){if((l=u()).lock!==c)return void On(t,e,n);o(l.session),d=l.session}null===(r=t.after)||void 0===r||r.call(t,d||l.session),Mn(e)}}else Nn.push(t)}function On(t,e,n){R((function(){In(t,e,n+1)}),An)}function Mn(t){Tn=void 0;var e=Nn.shift();e&&In(e,t)}var Ln=Zt;function Dn(t){var e=bn(t);return!e&&t.allowFallbackToLocalStorage&&(e=function(){try{var t=Ce(),e="".concat(kn).concat(t);localStorage.setItem(e,t);var n=localStorage.getItem(e);return localStorage.removeItem(e),t===n?{type:"LocalStorage"}:void 0}catch(t){return}}()),e}function Pn(t,e,n){var r,i=new et,o=new et,a=new et,s="Cookie"===t.type?wn(t.cookieOptions):{isLockEnabled:!1,persistSession:xn,retrieveSession:Cn,expireSession:En},u=s.expireSession,c=I((function(){In({process:function(t){return dn(t)?un():void 0},after:p},s)}),Ln);v();var l=M((function(){In({process:function(t){if(!cn(t)){var r=p(t);return function(t){if(cn(t))return!1;var r=n(t[e]),i=r.trackingType,o=r.isTracked;t[e]=i,delete t.isExpired,o&&!t.id&&(t.id=Ce(),t.created=String(Qt()))}(r),r}},after:function(t){ln(t)&&!h()&&function(t){r=t,i.notify()}(t),r=t}},s)}),Ln),d=l.throttled,f=l.cancel;function p(t){return dn(t)&&(t=un()),h()&&(!function(t){return r.id!==t.id||r[e]!==t[e]}(t)?(a.notify({previousState:r,newState:t}),r=t):(r=un(),o.notify())),t}function v(){In({process:function(t){if(cn(t))return un()},after:function(t){r=t}},s)}function h(){return void 0!==r[e]}return{expandOrRenewSession:d,expandSession:function(){In({process:function(t){return h()?p(t):void 0}},s)},getSession:function(){return r},renewObservable:i,expireObservable:o,sessionStateUpdateObservable:a,restartSession:v,expire:function(){f(),u(),p(un())},stop:function(){O(c)},updateSessionState:function(t){In({process:function(e){return S({},e,t)},after:p},s)}}}function Un(t,e,n){var r=function(t,e){var n="/api/v2/".concat(e),r=t.proxy;if("string"==typeof r){var i=Ue(r);return function(t){return"".concat(i,"?ddforward=").concat(encodeURIComponent("".concat(n,"?").concat(t)))}}if("function"==typeof r)return function(t){return r({path:n,parameters:t})};var o=function(t,e){var n=e.site,r=void 0===n?zt:n,i=e.internalAnalyticsSubdomain;if("logs"===t&&e.usePciIntake&&r===zt)return Ft;if(i&&r===zt)return"".concat(i,".").concat(zt);if(r===Ut)return"http-intake.logs.".concat(r);var o=r.split("."),a=o.pop();return"browser-intake-".concat(o.join("-"),".").concat(a)}(e,t);return function(t){return"https://".concat(o).concat(n,"?").concat(t)}}(t,e);return{build:function(i,o){var a=function(t,e,n,r,i){var o=t.clientToken,a=t.internalAnalyticsSubdomain,s=i.retry,u=i.encoding,c=["sdk_version:".concat("5.30.0"),"api:".concat(r)].concat(n);s&&c.push("retry_count:".concat(s.count),"retry_after:".concat(s.lastFailureStatus));var l=["ddsource=browser","ddtags=".concat(encodeURIComponent(c.join(","))),"dd-api-key=".concat(o),"dd-evp-origin-version=".concat(encodeURIComponent("5.30.0")),"dd-evp-origin=browser","dd-request-id=".concat(Ce())];u&&l.push("dd-evp-encoding=".concat(u));"rum"===e&&l.push("batch_time=".concat(te()));a&&l.reverse();return l.join("&")}(t,e,n,i,o);return r(a)},urlPrefix:r(""),trackType:e}}var zn=200;function Vn(t,e){var n=zn-t.length-1;(e.length>n||function(t){if(!function(){try{return new RegExp("[\\p{Ll}]","u"),!0}catch(t){return!1}}())return!1;return new RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(t)}(e))&&i.warn("".concat(t," value doesn't meet tag requirements and will be sanitized. ").concat(s," ").concat(o,"/getting_started/tagging/#defining-tags"));var r=e.replace(/,/g,"_");return"".concat(t,":").concat(r)}function Fn(t){var e=t.site||zt,n=function(t){var e=t.env,n=t.service,r=t.version,i=t.datacenter,o=[];return e&&o.push(Vn("env",e)),n&&o.push(Vn("service",n)),r&&o.push(Vn("version",r)),i&&o.push(Vn("datacenter",i)),o}(t),r=function(t,e){return{logsEndpointBuilder:Un(t,"logs",e),rumEndpointBuilder:Un(t,"rum",e),sessionReplayEndpointBuilder:Un(t,"replay",e)}}(t,n),i=function(t,e){if(!t.replica)return;var n=S({},t,{site:zt,clientToken:t.replica.clientToken}),r={logsEndpointBuilder:Un(n,"logs",e),rumEndpointBuilder:Un(n,"rum",e)};return S({applicationId:t.replica.applicationId},r)}(t,n);return S({replica:i,site:e},r)}var Bn={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"},Hn={ALL:"all",SAMPLED:"sampled"};function qn(t,e){return null==t||"string"==typeof t||(i.error("".concat(e," must be defined as a string")),!1)}function jn(t,e){return!!(void 0===t||(n=t,jt(n)&&n>=0&&n<=100))||(i.error("".concat(e," Sample Rate should be a number between 0 and 100")),!1);var n}function Gn(t){var e,n,r,a,c;if(t&&t.clientToken){if((!(l=t.site)||"string"!=typeof l||/(datadog|ddog|datad0g|dd0g)/.test(l)||(i.error("Site should be a valid Datadog site. ".concat(s," ").concat(o,"/getting_started/site/.")),0))&&jn(t.sessionSampleRate,"Session")&&jn(t.telemetrySampleRate,"Telemetry")&&jn(t.telemetryConfigurationSampleRate,"Telemetry Configuration")&&jn(t.telemetryUsageSampleRate,"Telemetry Usage")&&qn(t.version,"Version")&&qn(t.env,"Env")&&qn(t.service,"Service")){var l;if(void 0===t.trackingConsent||z(it,t.trackingConsent))return S({beforeSend:t.beforeSend&&u(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:Dn(t),sessionSampleRate:null!==(e=t.sessionSampleRate)&&void 0!==e?e:100,telemetrySampleRate:null!==(n=t.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(r=t.telemetryConfigurationSampleRate)&&void 0!==r?r:5,telemetryUsageSampleRate:null!==(a=t.telemetryUsageSampleRate)&&void 0!==a?a:5,service:t.service||void 0,silentMultipleInit:!!t.silentMultipleInit,allowUntrustedEvents:!!t.allowUntrustedEvents,trackingConsent:null!==(c=t.trackingConsent)&&void 0!==c?c:it.GRANTED,storeContextsAcrossPages:!!t.storeContextsAcrossPages,batchBytesLimit:16*x,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*Zt,batchMessagesLimit:50,messageBytesLimit:256*x},Fn(t));i.error('Tracking Consent should be either "granted" or "not-granted"')}}else i.error("Client Token is not configured, we will not send any data.")}function Zn(t){var e=G(t);return"string"===e||"function"===e||t instanceof RegExp}function Kn(t,e,n){return void 0===n&&(n=!1),t.some((function(t){try{if("function"==typeof t)return t(e);if(t instanceof RegExp)return t.test(e);if("string"==typeof t)return n?w(e,t):t===e}catch(t){i.error(t)}return!1}))}function Wn(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function Xn(t,e,n,r){if(void 0!==Yn()&&n.findTrackedSession()){var i,o,a,s,u,c=_(t.allowedTracingUrls,(function(t){return Kn([t.match],e.url,!0)}));if(c)if(e.traceSampled=!jt(t.traceSampleRate)||Ht(t.traceSampleRate),e.traceSampled||t.traceContextInjection===Hn.ALL)e.traceId=Jn(),e.spanId=Jn(),r((i=e.traceId,o=e.spanId,a=e.traceSampled,s=c.propagatorTypes,u={},s.forEach((function(t){switch(t){case"datadog":S(u,{"x-datadog-origin":"rum","x-datadog-parent-id":o.toDecimalString(),"x-datadog-sampling-priority":a?"1":"0","x-datadog-trace-id":i.toDecimalString()});break;case"tracecontext":S(u,{traceparent:"00-0000000000000000".concat(i.toPaddedHexadecimalString(),"-").concat(o.toPaddedHexadecimalString(),"-0").concat(a?"1":"0")});break;case"b3":S(u,{b3:"".concat(i.toPaddedHexadecimalString(),"-").concat(o.toPaddedHexadecimalString(),"-").concat(a?"1":"0")});break;case"b3multi":S(u,{"X-B3-TraceId":i.toPaddedHexadecimalString(),"X-B3-SpanId":o.toPaddedHexadecimalString(),"X-B3-Sampled":a?"1":"0"})}})),u))}}function Yn(){return window.crypto||window.msCrypto}function Jn(){var t=new Uint8Array(8);function e(e){return 16777216*t[e]+(t[e+1]<<16)+(t[e+2]<<8)+t[e+3]}function n(t){var n=e(0),r=e(4),i="";do{var o=n%t*4294967296+r;n=Math.floor(n/t),r=Math.floor(o/t),i=(o%t).toString(t)+i}while(n||r);return i}return Yn().getRandomValues(t),t[0]=127&t[0],{toDecimalString:function(){return n(10)},toPaddedHexadecimalString:function(){var t=n(16);return Array(17-t.length).join("0")+t}}}var $n=["tracecontext","datadog"];function Qn(t){var e,n;if(t.applicationId){if(jn(t.sessionReplaySampleRate,"Session Replay")&&jn(t.traceSampleRate,"Trace"))if(void 0===t.excludedActivityUrls||Array.isArray(t.excludedActivityUrls)){var r=function(t){if(void 0===t.allowedTracingUrls)return[];if(!Array.isArray(t.allowedTracingUrls))return void i.error("Allowed Tracing URLs should be an array");if(0!==t.allowedTracingUrls.length&&void 0===t.service)return void i.error("Service needs to be configured when tracing is enabled");var e=[];return t.allowedTracingUrls.forEach((function(t){var n;Zn(t)?e.push({match:t,propagatorTypes:$n}):"object"===G(n=t)&&Zn(n.match)&&Array.isArray(n.propagatorTypes)?e.push(t):i.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",t)})),e}(t);if(r){var o=Gn(t);if(o)return S({applicationId:t.applicationId,version:t.version||void 0,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:null!==(e=t.sessionReplaySampleRate)&&void 0!==e?e:0,startSessionReplayRecordingManually:!!t.startSessionReplayRecordingManually,traceSampleRate:t.traceSampleRate,allowedTracingUrls:r,excludedActivityUrls:null!==(n=t.excludedActivityUrls)&&void 0!==n?n:[],workerUrl:t.workerUrl,compressIntakeRequests:!!t.compressIntakeRequests,trackUserInteractions:!!t.trackUserInteractions,trackViewsManually:!!t.trackViewsManually,trackResources:!!t.trackResources,trackLongTasks:!!t.trackLongTasks,subdomain:t.subdomain,defaultPrivacyLevel:z(Bn,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:Bn.MASK,enablePrivacyForActionName:!!t.enablePrivacyForActionName,customerDataTelemetrySampleRate:1,traceContextInjection:z(Hn,t.traceContextInjection)?t.traceContextInjection:Hn.ALL,plugins:t.betaPlugins||[]},o)}}else i.error("Excluded Activity Urls should be an array")}else i.error("Application ID is not configured, no RUM data will be collected.")}function tr(t){var e=new Set;return Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0&&t.allowedTracingUrls.forEach((function(t){Zn(t)?$n.forEach((function(t){return e.add(t)})):"object"===G(t)&&Array.isArray(t.propagatorTypes)&&t.propagatorTypes.forEach((function(t){return e.add(t)}))})),g(e)}var er="https://d3uc069fcn7uxw.cloudfront.net/configuration";function nr(t,e){!function(t,e){var n=new XMLHttpRequest;ot(t,n,"load",(function(){200===n.status?e(JSON.parse(n.responseText)):rr()})),ot(t,n,"error",(function(){rr()})),n.open("GET","".concat(er,"/").concat(encodeURIComponent(t.remoteConfigurationId),".json")),n.send()}(t,(function(n){e(function(t,e){return S({},t,e)}(t,n))}))}function rr(){i.error("Error fetching the remote configuration.")}function ir(t,e,n,r,o){var a,s,u,c,l=t.ignoreInitIfSyntheticsWillInjectRum,d=t.startDeflateWorker,f=fe(),p=n.observable.subscribe(v);function v(){if(u&&c&&n.isGranted()){var t;if(p.unsubscribe(),c.trackViewsManually){if(!a)return;f.remove(a.callback),t=a.options}var e=o(c,s,t);f.drain(e)}}function h(t){var e=Le();if(e&&(t=function(t){var e,n;return S({},t,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!==(e=t.defaultPrivacyLevel)&&void 0!==e?e:null===(n=Oe())||void 0===n?void 0:n.getPrivacyLevel()})}(t)),u=t,function(t){ge({type:pe.configuration,configuration:t})}(function(t){var e,n,r={session_sample_rate:(n=t).sessionSampleRate,telemetry_sample_rate:n.telemetrySampleRate,telemetry_configuration_sample_rate:n.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:n.telemetryUsageSampleRate,use_before_send:!!n.beforeSend,use_cross_site_session_cookie:n.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:n.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:n.useSecureSessionCookie,use_proxy:!!n.proxy,silent_multiple_init:n.silentMultipleInit,track_session_across_subdomains:n.trackSessionAcrossSubdomains,allow_fallback_to_local_storage:!!n.allowFallbackToLocalStorage,store_contexts_across_pages:!!n.storeContextsAcrossPages,allow_untrusted_events:!!n.allowUntrustedEvents,tracking_consent:n.trackingConsent};return S({session_replay_sample_rate:t.sessionReplaySampleRate,start_session_replay_recording_manually:t.startSessionReplayRecordingManually,trace_sample_rate:t.traceSampleRate,trace_context_injection:t.traceContextInjection,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0,selected_tracing_propagators:tr(t),default_privacy_level:t.defaultPrivacyLevel,enable_privacy_for_action_name:t.enablePrivacyForActionName,use_excluded_activity_urls:Array.isArray(t.excludedActivityUrls)&&t.excludedActivityUrls.length>0,use_worker_url:!!t.workerUrl,compress_intake_requests:t.compressIntakeRequests,track_views_manually:t.trackViewsManually,track_user_interactions:t.trackUserInteractions,track_resources:t.trackResources,track_long_task:t.trackLongTasks,plugins:null===(e=t.betaPlugins)||void 0===e?void 0:e.map((function(t){var e;return S({name:t.name},null===(e=t.getConfigurationTelemetry)||void 0===e?void 0:e.call(t))}))},r)}(t)),c)xe("DD_RUM",t);else{var r=Qn(t);r&&(e||r.sessionStoreStrategyType?r.compressIntakeRequests&&!e&&d&&!(s=d(r,"Datadog RUM",L))||(c=r,je().subscribe(L),n.tryToInit(r.trackingConsent),v()):i.warn("No storage available for session. We will not send any data."))}}var m=function(t){f.add((function(e){return e.addDurationVital(t)}))};return{init:function(t,e){t?(Mt(t.enableExperimentalFeatures),u=t,l&&Qe()||(!function(t,e,n){if(t)for(var r=0,i=t;r<i.length;r++){var o=i[r][e];o&&o(n)}}(t.betaPlugins,"onInit",{initConfiguration:t,publicApi:e}),t.remoteConfigurationId&&Lt(Tt.REMOTE_CONFIGURATION)?nr(t,h):h(t))):i.error("Missing configuration")},get initConfiguration(){return u},getInternalContext:L,stopSession:L,addTiming:function(t,e){void 0===e&&(e=te()),f.add((function(n){return n.addTiming(t,e)}))},startView:function(t,e){void 0===e&&(e=ne());var n=function(n){n.startView(t,e)};f.add(n),a||(a={options:t,callback:n},v())},setViewName:function(t){f.add((function(e){return e.setViewName(t)}))},setViewContext:function(t){f.add((function(e){return e.setViewContext(t)}))},setViewContextProperty:function(t,e){f.add((function(n){return n.setViewContextProperty(t,e)}))},addAction:function(t,n){void 0===n&&(n=e()),f.add((function(e){return e.addAction(t,n)}))},addError:function(t,n){void 0===n&&(n=e()),f.add((function(e){return e.addError(t,n)}))},addFeatureFlagEvaluation:function(t,e){f.add((function(n){return n.addFeatureFlagEvaluation(t,e)}))},startDurationVital:function(t,e){return Ne(r,t,e)},stopDurationVital:function(t,e){Ie(m,r,t,e)},addDurationVital:m}}var or={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function ar(t){return m(y(or),t)}function sr(){var t,e=window;if(e.Zone&&(t=A(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){var n=A(new e.MutationObserver(L),"originalInstance");t=n&&n.constructor}return t||(t=e.MutationObserver),t}var ur={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function cr(t,e,n){var r=0,i=!1;return{isLimitReached:function(){if(0===r&&R((function(){r=0}),Kt),(r+=1)<=e||i)return i=!1,!1;if(r===e+1){i=!0;try{n({message:"Reached max number of ".concat(t,"s by minute: ").concat(e),source:ur.AGENT,startClocks:ne()})}finally{i=!1}}return!0}}}function lr(){var t,e="string"==typeof(t=window._DATADOG_SYNTHETICS_PUBLIC_ID||Ke(Ye))?t:void 0,n=function(){var t=window._DATADOG_SYNTHETICS_RESULT_ID||Ke(Je);return"string"==typeof t?t:void 0}();if(e&&n)return{test_id:e,result_id:n,injected:Qe()}}function dr(t,e,n){var r=K(t),i=n(r);return b(e).forEach((function(e){var n=e[0],i=e[1],o=function(t,e){for(var n=t,r=0,i=e.split(".");r<i.length;r++){var o=i[r];if(!vr(n,o))return;n=n[o]}return n}(r,n),a=G(o);a===i?fr(t,n,$(o)):"object"!==i||"undefined"!==a&&"null"!==a||fr(t,n,{})})),i}function fr(t,e,n){for(var r=t,i=e.split("."),o=0;o<i.length;o+=1){var a=i[o];if(!pr(r))return;o!==i.length-1?r=r[a]:r[a]=n}}function pr(t){return"object"===G(t)}function vr(t,e){return pr(t)&&Object.prototype.hasOwnProperty.call(t,e)}var hr,mr={"view.name":"string","view.url":"string","view.referrer":"string"},gr={context:"object"},_r={service:"string",version:"string"};function yr(t,e,n,r,o,a,s,u,c,l){var d,f;(d={}).view=S({},gr,mr),d.error=S({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},gr,mr,_r),d.resource=S({"resource.url":"string"},Lt(Tt.WRITABLE_RESOURCE_GRAPHQL)?{"resource.graphql":"object"}:{},gr,mr,_r),d.action=S({"action.target.name":"string"},gr,mr,_r),d.long_task=S({},gr,mr),d.vital=S({},gr,mr),hr=d;var p=((f={}).error=cr("error",t.eventRateLimiterThreshold,l),f.action=cr("action",t.eventRateLimiterThreshold,l),f.vital=cr("vital",t.eventRateLimiterThreshold,l),f),v=lr();e.subscribe(11,(function(l){var d,f=l.startTime,h=l.rawRumEvent,m=l.domainContext,g=l.savedCommonContext,_=l.customerContext,y=r.findView(f),b=o.findUrl(f),w=n.findTrackedSession(f);if(w&&y&&b){var S=g||c(),k=a.findActionId(f),x=W({_dd:{format_version:2,drift:Math.round(Qt()-oe(se(),performance.now())),configuration:{session_sample_rate:qt(t.sessionSampleRate,3),session_replay_sample_rate:qt(t.sessionReplaySampleRate,3)},browser_sdk_version:Le()?"5.30.0":void 0},application:{id:t.applicationId},date:te(),service:y.service||t.service,version:y.version||t.version,source:"browser",session:{id:w.id,type:v?"synthetics":u.get()?"ci_test":"user"},view:{id:y.id,name:y.name,url:b.url,referrer:b.referrer},action:(d=h,-1!==["error","resource","long_task"].indexOf(d.type)&&k?{id:k}:void 0),synthetics:v,ci_test:u.get(),display:s.get(),connectivity:ce()},h);x.context=W(S.context,y.context,_),"has_replay"in x.session||(x.session.has_replay=S.hasReplay),"view"===x.type&&(x.session.sampled_for_replay=1===w.sessionReplay),V(S.user)||(x.usr=S.user),function(t,e,n,r){var o;if(e){var a=dr(t,hr[t.type],(function(t){return e(t,n)}));if(!1===a&&"view"!==t.type)return!1;!1===a&&i.warn("Can't dismiss view events using beforeSend!")}var s=null===(o=r[t.type])||void 0===o?void 0:o.isLimitReached();return!s}(x,t.beforeSend,m,p)&&(V(x.context)&&delete x.context,e.notify(12,x))}}))}var br=function(){function t(){this.callbacks={}}return t.prototype.notify=function(t,e){var n=this.callbacks[t];n&&n.forEach((function(t){return t(e)}))},t.prototype.subscribe=function(t,e){var n=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),{unsubscribe:function(){n.callbacks[t]=n.callbacks[t].filter((function(t){return e!==t}))}}},t}(),wr=1/0,Sr=Kt;function kr(t){var e=t.expireDelay,n=t.maxEntries,r=[],i=I((function(){return function(){var t=ee()-e;for(;r.length>0&&r[r.length-1].endTime<t;)r.pop()}()}),Sr);return{add:function(t,e){var i={value:t,startTime:e,endTime:wr,remove:function(){le(r,i)},close:function(t){i.endTime=t}};return n&&r.length>=n&&r.pop(),r.unshift(i),i},find:function(t,e){void 0===t&&(t=wr),void 0===e&&(e={returnInactive:!1});for(var n=0,i=r;n<i.length;n++){var o=i[n];if(o.startTime<=t){if(e.returnInactive||t<=o.endTime)return o.value;break}}},closeActive:function(t){var e=r[0];e&&e.endTime===wr&&e.close(t)},findAll:function(t,e){void 0===t&&(t=wr),void 0===e&&(e=0);var n=oe(t,e);return r.filter((function(e){return e.startTime<=n&&t<=e.endTime})).map((function(t){return t.value}))},reset:function(){r=[]},stop:function(){O(i)}}}var xr,Cr=nn;var Er=new WeakMap;function Tr(t){return xr||(xr=function(t){return new et((function(e){var n=De(XMLHttpRequest.prototype,"open",Ar).stop,r=De(XMLHttpRequest.prototype,"send",(function(n){!function(t,e,n){var r=t.target,i=t.handlingStack,o=Er.get(r);if(!o)return;var a=o;a.state="start",a.startClocks=ne(),a.isAborted=!1,a.xhr=r,a.handlingStack=i;var s=!1,u=De(r,"onreadystatechange",(function(){r.readyState===XMLHttpRequest.DONE&&c()})).stop,c=function(){if(l(),u(),!s){s=!0;var t=o;t.state="complete",t.duration=ie(a.startClocks.timeStamp,te()),t.status=r.status,n.notify(U(t))}},l=ot(e,r,"loadend",c).stop;n.notify(a)}(n,t,e)}),{computeHandlingStack:!0}).stop,i=De(XMLHttpRequest.prototype,"abort",Rr).stop;return function(){n(),r(),i()}}))}(t)),xr}function Ar(t){var e=t.target,n=t.parameters,r=n[0],i=n[1];Er.set(e,{state:"open",method:String(r).toUpperCase(),url:Ue(String(i))})}function Rr(t){var e=t.target,n=Er.get(e);n&&(n.isAborted=!0)}var Nr="initial_document",Ir=[["document",function(t){return Nr===t}],["xhr",function(t){return"xmlhttprequest"===t}],["fetch",function(t){return"fetch"===t}],["beacon",function(t){return"beacon"===t}],["css",function(t,e){return/\.css$/i.test(e)}],["js",function(t,e){return/\.js$/i.test(e)}],["image",function(t,e){return m(["image","img","icon"],t)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(e)}],["font",function(t,e){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(e)}],["media",function(t,e){return m(["audio","video"],t)||null!==/\.(mp3|mp4)$/i.exec(e)}]];function Or(t){var e=t.name;if(!function(t){try{return!!ze(t)}catch(t){return!1}}(e))return ye('Failed to construct URL for "'.concat(t.name,'"')),"other";for(var n=function(t){var e=ze(t).pathname;return"/"===e[0]?e:"/".concat(e)}(e),r=0,i=Ir;r<i.length;r++){var o=i[r],a=o[0];if((0,o[1])(t.initiatorType,n))return a}return"other"}function Mr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=1;n<t.length;n+=1)if(t[n-1]>t[n])return!1;return!0}function Lr(t){return"xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType}function Dr(t){var e=t.duration,n=t.startTime,r=t.responseEnd;return $t(0===e&&n<r?ie(n,r):e)}function Pr(t){if(zr(t)){var e=t.startTime,n=t.fetchStart,r=t.redirectStart,i=t.redirectEnd,o=t.domainLookupStart,a=t.domainLookupEnd,s=t.connectStart,u=t.secureConnectionStart,c=t.connectEnd,l=t.requestStart,d=t.responseStart,f={download:Vr(e,d,t.responseEnd),first_byte:Vr(e,l,d)};return n<c&&(f.connect=Vr(e,s,c),s<=u&&u<=c&&(f.ssl=Vr(e,u,c))),n<a&&(f.dns=Vr(e,o,a)),e<i&&(f.redirect=Vr(e,r,i)),f}}function Ur(t){return t.duration>=0}function zr(t){var e=Mr(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd),n=!function(t){return t.redirectEnd>t.startTime}(t)||Mr(t.startTime,t.redirectStart,t.redirectEnd,t.fetchStart);return e&&n}function Vr(t,e,n){if(t<=e&&e<=n)return{duration:$t(ie(e,n)),start:$t(ie(t,e))}}function Fr(t){return""===t.nextHopProtocol?void 0:t.nextHopProtocol}function Br(t){if(t.startTime<t.responseStart){var e=t.encodedBodySize,n=t.decodedBodySize;return{size:n,encoded_body_size:e,decoded_body_size:n,transfer_size:t.transferSize}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function Hr(t){return t&&!function(t){return Bt.every((function(e){return m(t,e)}))}(t)}var qr=/data:(.+)?(;base64)?,/g,jr=24e3;function Gr(t){return!(t.length<=jr)&&("data:"===t.substring(0,5)&&(t=t.substring(0,jr),!0))}function Zr(t){return"".concat(t.match(qr)[0],"[...]")}var Kr,Wr,Xr=1;function Yr(t,e,n){var r=function(t,e){return{clearTracingIfNeeded:Wn,traceFetch:function(n){return Xn(t,n,e,(function(t){var e;if(n.input instanceof Request&&!(null===(e=n.init)||void 0===e?void 0:e.headers))n.input=new Request(n.input),Object.keys(t).forEach((function(e){n.input.headers.append(e,t[e])}));else{n.init=U(n.init);var r=[];n.init.headers instanceof Headers?n.init.headers.forEach((function(t,e){r.push([e,t])})):Array.isArray(n.init.headers)?n.init.headers.forEach((function(t){r.push(t)})):n.init.headers&&Object.keys(n.init.headers).forEach((function(t){r.push([t,n.init.headers[t]])})),n.init.headers=r.concat(b(t))}}))},traceXhr:function(n,r){return Xn(t,n,e,(function(t){Object.keys(t).forEach((function(e){r.setRequestHeader(e,t[e])}))}))}}}(e,n);!function(t,e,n){var r=Tr(e).subscribe((function(e){var r=e;if(Hr(r.url))switch(r.state){case"start":n.traceXhr(r,r.xhr),r.requestIndex=Jr(),t.notify(6,{requestIndex:r.requestIndex,url:r.url});break;case"complete":n.clearTracingIfNeeded(r),t.notify(7,{duration:r.duration,method:r.method,requestIndex:r.requestIndex,spanId:r.spanId,startClocks:r.startClocks,status:r.status,traceId:r.traceId,traceSampled:r.traceSampled,type:"xhr",url:r.url,xhr:r.xhr,isAborted:r.isAborted,handlingStack:r.handlingStack})}}))}(t,e,r),function(t,e){var n=je().subscribe((function(n){var r=n;if(Hr(r.url))switch(r.state){case"start":e.traceFetch(r),r.requestIndex=Jr(),t.notify(6,{requestIndex:r.requestIndex,url:r.url});break;case"resolve":!function(t,e){var n=t.response&&function(t){try{return t.clone()}catch(t){return}}(t.response);n&&n.body?function(t,e,n){var r=t.getReader(),i=[],o=0;function a(){var t,a;if(r.cancel().catch(L),n.collectStreamBody){var s;if(1===i.length)s=i[0];else{s=new Uint8Array(o);var u=0;i.forEach((function(t){s.set(t,u),u+=t.length}))}t=s.slice(0,n.bytesLimit),a=s.length>n.bytesLimit}e(void 0,t,a)}!function t(){r.read().then(p((function(e){e.done?a():(n.collectStreamBody&&i.push(e.value),(o+=e.value.length)>n.bytesLimit?a():t())})),p((function(t){return e(t)})))}()}(n.body,(function(){e(ie(t.startClocks.timeStamp,te()))}),{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1}):e(ie(t.startClocks.timeStamp,te()))}(r,(function(n){e.clearTracingIfNeeded(r),t.notify(7,{duration:n,method:r.method,requestIndex:r.requestIndex,responseType:r.responseType,spanId:r.spanId,startClocks:r.startClocks,status:r.status,traceId:r.traceId,traceSampled:r.traceSampled,type:"fetch",url:r.url,response:r.response,init:r.init,input:r.input,isAborted:r.isAborted,handlingStack:r.handlingStack})}))}}))}(t,r)}function Jr(){var t=Xr;return Xr+=1,t}function $r(t){return jt(t)&&t<0?void 0:t}function Qr(t){var e=t.lifeCycle,n=t.isChildEvent,r=t.onChange,i=void 0===r?L:r,o={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},a=e.subscribe(12,(function(t){var e;if("view"!==t.type&&"vital"!==t.type&&n(t))switch(t.type){case"error":o.errorCount+=1,i();break;case"action":o.actionCount+=1,t.action.frustration&&(o.frustrationCount+=t.action.frustration.type.length),i();break;case"long_task":o.longTaskCount+=1,i();break;case"resource":(null===(e=t._dd)||void 0===e?void 0:e.discarded)||(o.resourceCount+=1,i())}}));return{stop:function(){a.unsubscribe()},eventCounts:o}}function ti(t,e){var n=Qt(),r=!1,i=at(t,window,["click","mousedown","keydown","touchstart","pointerdown"],(function(e){if(e.cancelable){var n={entryType:"first-input",processingStart:ee(),processingEnd:ee(),startTime:e.timeStamp,duration:0,name:"",cancelable:!1,target:null,toJSON:function(){return{}}};"pointerdown"===e.type?function(t,e){at(t,window,["pointerup","pointercancel"],(function(t){"pointerup"===t.type&&o(e)}),{once:!0})}(t,n):o(n)}}),{passive:!0,capture:!0}).stop;return{stop:i};function o(t){if(!r){r=!0,i();var o=t.processingStart-t.startTime;o>=0&&o<Qt()-n&&e(t)}}}function ei(t,e){return new et((function(n){if(window.PerformanceObserver){var r,i,o=function(t){var e=function(t){return t.filter((function(t){return!function(t){return!(t.entryType!==Kr.RESOURCE||Hr(t.name)&&Ur(t))}(t)}))}(t);e.length>0&&n.notify(e)},a=!0,s=new PerformanceObserver(p((function(t){a?r=R((function(){return o(t.getEntries())})):o(t.getEntries())})));try{s.observe(e)}catch(t){if(m([Kr.RESOURCE,Kr.NAVIGATION,Kr.LONG_TASK,Kr.PAINT],e.type)){e.buffered&&(r=R((function(){return o(performance.getEntriesByType(e.type))})));try{s.observe({entryTypes:[e.type]})}catch(t){return}}}return a=!1,function(t){!Wr&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(Wr=ot(t,performance,"resourcetimingbufferfull",(function(){performance.clearResourceTimings()})))}(t),ni(Kr.FIRST_INPUT)||e.type!==Kr.FIRST_INPUT||(i=ti(t,(function(t){o([t])})).stop),function(){s.disconnect(),i&&i(),N(r)}}}))}function ni(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}!function(t){t.EVENT="event",t.FIRST_INPUT="first-input",t.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",t.LAYOUT_SHIFT="layout-shift",t.LONG_TASK="longtask",t.LONG_ANIMATION_FRAME="long-animation-frame",t.NAVIGATION="navigation",t.PAINT="paint",t.RESOURCE="resource"}(Kr||(Kr={}));var ri=100,ii=100;function oi(t,e,n,r,i){var o=function(t,e,n){return new et((function(r){var i,o=[],a=0;o.push(e.subscribe(c),ei(n,{type:Kr.RESOURCE}).subscribe((function(t){t.some((function(t){return!ai(n,t.name)}))&&c()})),t.subscribe(6,(function(t){ai(n,t.url)||(void 0===i&&(i=t.requestIndex),a+=1,c())})),t.subscribe(7,(function(t){ai(n,t.url)||void 0===i||t.requestIndex<i||(a-=1,c())})));var s,u=(s=c,De(window,"open",s)).stop;return function(){u(),o.forEach((function(t){return t.unsubscribe()}))};function c(){r.notify({isBusy:a>0})}}))}(t,e,n);return function(t,e,n){var r,i=!1,o=R(p((function(){return c({hadActivity:!1})})),ri),a=void 0!==n?R(p((function(){return c({hadActivity:!0,end:te()})})),n):void 0,s=t.subscribe((function(t){var e=t.isBusy;N(o),N(r);var n=te();e||(r=R(p((function(){return c({hadActivity:!0,end:n})})),ii))})),u=function(){i=!0,N(o),N(r),N(a),s.unsubscribe()};function c(t){i||(u(),e(t))}return{stop:u}}(o,r,i)}function ai(t,e){return Kn(t.excludedActivityUrls,e)}function si(t){return window.CSS&&window.CSS.escape?window.CSS.escape(t):t.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(t,e){return e?"\0"===t?"茂驴陆":"".concat(t.slice(0,-1),"\\").concat(t.charCodeAt(t.length-1).toString(16)," "):"\\".concat(t)}))}function ui(t,e){return t.matches?t.matches(e):!!t.msMatchesSelector&&t.msMatchesSelector(e)}function ci(t){if(t.parentElement)return t.parentElement;for(;t.parentNode;){if(t.parentNode.nodeType===Node.ELEMENT_NODE)return t.parentNode;t=t.parentNode}return null}var li=function(){function t(t){var e=this;this.map=new WeakMap,t&&t.forEach((function(t){return e.map.set(t,1)}))}return t.prototype.add=function(t){return this.map.set(t,1),this},t.prototype.delete=function(t){return this.map.delete(t)},t.prototype.has=function(t){return this.map.has(t)},t}();function di(t){return t.nodeType===Node.TEXT_NODE}function fi(t){return t.nodeType===Node.ELEMENT_NODE}function pi(t){return fi(t)&&Boolean(t.shadowRoot)}function vi(t){var e=t;return!!e.host&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&fi(e.host)}function hi(t,e){for(var n=t.firstChild;n;)e(n),n=n.nextSibling;pi(t)&&e(t.shadowRoot)}function mi(t){return vi(t)?t.host:t.parentNode}var gi={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:Bn.ALLOW,MASK:Bn.MASK,MASK_USER_INPUT:Bn.MASK_USER_INPUT},_i="data-dd-privacy",yi="hidden",bi="dd-privacy-",wi="***",Si="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",ki={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function xi(t,e,n){if(n&&n.has(t))return n.get(t);var r=mi(t),i=r?xi(r,e,n):e,o=Ci(Ei(t),i);return n&&n.set(t,o),o}function Ci(t,e){switch(e){case gi.HIDDEN:case gi.IGNORE:return e}switch(t){case gi.ALLOW:case gi.MASK:case gi.MASK_USER_INPUT:case gi.HIDDEN:case gi.IGNORE:return t;default:return e}}function Ei(t){if(fi(t)){if("BASE"===t.tagName)return gi.ALLOW;if("INPUT"===t.tagName){var e=t;if("password"===e.type||"email"===e.type||"tel"===e.type)return gi.MASK;if("hidden"===e.type)return gi.MASK;var n=e.getAttribute("autocomplete");if(n&&(n.startsWith("cc-")||n.endsWith("-password")))return gi.MASK}return ui(t,Ii(gi.HIDDEN))?gi.HIDDEN:ui(t,Ii(gi.MASK))?gi.MASK:ui(t,Ii(gi.MASK_USER_INPUT))?gi.MASK_USER_INPUT:ui(t,Ii(gi.ALLOW))?gi.ALLOW:function(t){if("SCRIPT"===t.nodeName)return!0;if("LINK"===t.nodeName){var e=i("rel");return/preload|prefetch/i.test(e)&&"script"===i("as")||"shortcut icon"===e||"icon"===e}if("META"===t.nodeName){var n=i("name"),r=(e=i("rel"),i("property"));return/^msapplication-tile(image|color)$/.test(n)||"application-name"===n||"icon"===e||"apple-touch-icon"===e||"shortcut icon"===e||"keywords"===n||"description"===n||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(n)||"pinterest"===n||"robots"===n||"googlebot"===n||"bingbot"===n||t.hasAttribute("http-equiv")||"author"===n||"generator"===n||"framework"===n||"publisher"===n||"progid"===n||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===n||"yandex-verification"===n||"csrf-token"===n||"p:domain_verify"===n||"verify-v1"===n||"verification"===n||"shopify-checkout-api-token"===n}function i(e){return(t.getAttribute(e)||"").toLowerCase()}return!1}(t)?gi.IGNORE:void 0}}function Ti(t,e){switch(e){case gi.MASK:case gi.HIDDEN:case gi.IGNORE:return!0;case gi.MASK_USER_INPUT:return di(t)?Ai(t.parentNode):Ai(t);default:return!1}}function Ai(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;var e=t;if("INPUT"===e.tagName)switch(e.type){case"button":case"color":case"reset":case"submit":return!1}return!!ki[e.tagName]}var Ri=function(t){return t.replace(/\S/g,"x")};function Ni(t,e,n){var r,i=null===(r=t.parentElement)||void 0===r?void 0:r.tagName,o=t.textContent||"";if(!e||o.trim()){var a=n;if("SCRIPT"===i)o=wi;else if(a===gi.HIDDEN)o=wi;else if(Ti(t,a))if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!o.trim())return}else o="OPTION"===i?wi:Ri(o);return o}}function Ii(t){return"[".concat(_i,'="').concat(t,'"], .').concat(bi).concat(t)}var Oi="data-dd-action-name",Mi="Masked Element";function Li(t,e,n){var r=e.enablePrivacyForActionName,i=e.actionNameAttribute,o=Di(t,Oi)||i&&Di(t,i);return n===gi.MASK?o||Mi:o||Bi(t,i,zi,r)||Bi(t,i,Vi,r)||""}function Di(t,e){var n;if(function(){void 0===Ui&&(Ui="closest"in HTMLElement.prototype);return Ui}())n=t.closest("[".concat(e,"]"));else for(var r=t;r;){if(r.hasAttribute(e)){n=r;break}r=ci(r)}if(n)return qi(Hi(n.getAttribute(e).trim()))}var Pi,Ui,zi=[function(t,e,n){if(function(){void 0===Pi&&(Pi="labels"in HTMLInputElement.prototype);return Pi}()){if("labels"in t&&t.labels&&t.labels.length>0)return ji(t.labels[0],e)}else if(t.id){var r=t.ownerDocument&&_(t.ownerDocument.querySelectorAll("label"),(function(e){return e.htmlFor===t.id}));return r&&ji(r,e,n)}},function(t){if("INPUT"===t.nodeName){var e=t,n=e.getAttribute("type");if("button"===n||"submit"===n||"reset"===n)return e.value}},function(t,e,n){if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return ji(t,e,n)},function(t){return t.getAttribute("aria-label")},function(t,e,n){var r=t.getAttribute("aria-labelledby");if(r)return r.split(/\s+/).map((function(e){return function(t,e){return t.ownerDocument?t.ownerDocument.getElementById(e):null}(t,e)})).filter((function(t){return Boolean(t)})).map((function(t){return ji(t,e,n)})).join(" ")},function(t){return t.getAttribute("alt")},function(t){return t.getAttribute("name")},function(t){return t.getAttribute("title")},function(t){return t.getAttribute("placeholder")},function(t,e){if("options"in t&&t.options.length>0)return ji(t.options[0],e)}],Vi=[function(t,e,n){return ji(t,e,n)}],Fi=10;function Bi(t,e,n,r){for(var i=t,o=0;o<=Fi&&i&&"BODY"!==i.nodeName&&"HTML"!==i.nodeName&&"HEAD"!==i.nodeName;){for(var a=0,s=n;a<s.length;a++){var u=(0,s[a])(i,e,r);if("string"==typeof u){var c=u.trim();if(c)return qi(Hi(c))}}if("FORM"===i.nodeName)break;i=ci(i),o+=1}}function Hi(t){return t.replace(/\s+/g," ")}function qi(t){return t.length>100?"".concat(Ae(t,100)," [...]"):t}function ji(t,e,n){if(!t.isContentEditable){if("innerText"in t){var r=t.innerText,i=function(e){for(var n=t.querySelectorAll(e),i=0;i<n.length;i+=1){var o=n[i];if("innerText"in o){var a=o.innerText;a&&a.trim().length>0&&(r=r.replace(a,""))}}};return 0===tn()&&i("script, style"),i("[".concat(Oi,"]")),e&&i("[".concat(e,"]")),n&&i("".concat(Ii(gi.HIDDEN),", ").concat(Ii(gi.MASK))),r}return t.textContent}}var Gi,Zi=[Oi,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],Ki=[Ji,function(t){if(t.id&&!Yi(t.id))return"#".concat(si(t.id))}],Wi=[Ji,function(t){if("BODY"===t.tagName)return;for(var e=function(t){if(t.classList)return t.classList;var e=(t.getAttribute("class")||"").trim();return e?e.split(/\s+/):[]}(t),n=0;n<e.length;n+=1){var r=e[n];if(!Yi(r))return"".concat(si(t.tagName),".").concat(si(r))}},function(t){return si(t.tagName)}];function Xi(t,e){if(function(t){if("isConnected"in t)return t.isConnected;return t.ownerDocument.documentElement.contains(t)}(t)){for(var n,r=t;r&&"HTML"!==r.nodeName;){var i=Qi(r,Ki,to,e,n);if(i)return i;n=Qi(r,Wi,eo,e,n)||no($i(r),n),r=ci(r)}return n}}function Yi(t){return/[0-9]/.test(t)}function Ji(t,e){if(e&&(i=o(e)))return i;for(var n=0,r=Zi;n<r.length;n++){var i;if(i=o(r[n]))return i}function o(e){if(t.hasAttribute(e))return"".concat(si(t.tagName),"[").concat(e,'="').concat(si(t.getAttribute(e)),'"]')}}function $i(t){for(var e=ci(t).firstElementChild,n=1;e&&e!==t;)e.tagName===t.tagName&&(n+=1),e=e.nextElementSibling;return"".concat(si(t.tagName),":nth-of-type(").concat(n,")")}function Qi(t,e,n,r,i){for(var o=0,a=e;o<a.length;o++){var s=(0,a[o])(t,r);if(s&&n(t,s,i))return no(s,i)}}function to(t,e,n){return 1===t.ownerDocument.querySelectorAll(no(e,n)).length}function eo(t,e,n){var r;if(void 0===n)r=function(t){return ui(t,e)};else{var i=function(){if(void 0===Gi)try{document.querySelector(":scope"),Gi=!0}catch(t){Gi=!1}return Gi}()?no("".concat(e,":scope"),n):no(e,n);r=function(t){return null!==t.querySelector(i)}}for(var o=ci(t).firstElementChild;o;){if(o!==t&&r(o))return!1;o=o.nextElementSibling}return!0}function no(t,e){return e?"".concat(t,">").concat(e):t}var ro=Zt,io=100;function oo(t,e){var n,r=[],i=0;function o(t){t.stopObservable.subscribe(a),r.push(t),N(n),n=R(s,ro)}function a(){1===i&&r.every((function(t){return t.isStopped()}))&&(i=2,e(r))}function s(){N(n),0===i&&(i=1,a())}return o(t),{tryAppend:function(t){return 0===i&&(r.length>0&&(e=r[r.length-1].event,n=t.event,!(e.target===n.target&&(a=e,u=n,Math.sqrt(Math.pow(a.clientX-u.clientX,2)+Math.pow(a.clientY-u.clientY,2))<=io)&&e.timeStamp-n.timeStamp<=ro))?(s(),!1):(o(t),!0));var e,n,a,u},stop:function(){s()}}}function ao(){var t=window.getSelection();return!t||t.isCollapsed}function so(t){return t.target instanceof Element&&!1!==t.isPrimary}var uo=3;function co(t,e){if(function(t){if(t.some((function(t){return t.getUserActivity().selection||t.getUserActivity().scroll})))return!1;for(var e=0;e<t.length-(uo-1);e+=1)if(t[e+uo-1].event.timeStamp-t[e].event.timeStamp<=Zt)return!0;return!1}(t))return e.addFrustration("rage_click"),t.some(fo)&&e.addFrustration("dead_click"),e.hasError&&e.addFrustration("error_click"),{isRage:!0};var n=t.some((function(t){return t.getUserActivity().selection}));return t.forEach((function(t){t.hasError&&t.addFrustration("error_click"),fo(t)&&!n&&t.addFrustration("dead_click")})),{isRage:!1}}var lo='input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *';function fo(t){return!(t.hasPageActivity||t.getUserActivity().input||t.getUserActivity().scroll)&&!ui(t.event.target,lo)}var po=10*Zt,vo=new Map;function ho(t,e){vo.set(t,e),vo.forEach((function(t,e){ie(e,ee())>po&&vo.delete(e)}))}var mo=5*Kt;function go(t,e,n){var r,i=kr({expireDelay:mo}),o=new et;t.subscribe(9,(function(){i.reset()})),t.subscribe(4,u);var a=function(t,e){var n,r,i=e.onPointerDown,o=e.onPointerUp,a={selection:!1,input:!1,scroll:!1},s=[ot(t,window,"pointerdown",(function(t){so(t)&&(n=ao(),a={selection:!1,input:!1,scroll:!1},r=i(t))}),{capture:!0}),ot(t,window,"selectionchange",(function(){n&&ao()||(a.selection=!0)}),{capture:!0}),ot(t,window,"scroll",(function(){a.scroll=!0}),{capture:!0,passive:!0}),ot(t,window,"pointerup",(function(t){if(so(t)&&r){var e=a;o(r,t,(function(){return e})),r=void 0}}),{capture:!0}),ot(t,window,"input",(function(){a.input=!0}),{capture:!0})];return{stop:function(){s.forEach((function(t){return t.stop()}))}}}(n,{onPointerDown:function(r){return function(t,e,n,r){var i=t.enablePrivacyForActionName?xi(r.target,t.defaultPrivacyLevel):gi.ALLOW;if(i===gi.HIDDEN)return;var o=function(t,e,n){var r=t.target.getBoundingClientRect(),i=Xi(t.target,n.actionNameAttribute);i&&ho(t.timeStamp,i);return{type:"click",target:{width:Math.round(r.width),height:Math.round(r.height),selector:i},position:{x:Math.round(t.clientX-r.left),y:Math.round(t.clientY-r.top)},name:Li(t.target,n,e)}}(r,i,t),a=!1;return oi(e,n,t,(function(t){a=t.hadActivity}),ri),{clickActionBase:o,hadActivityOnPointerDown:function(){return a}}}(n,t,e,r)},onPointerUp:function(r,a,u){var c=r.clickActionBase,l=r.hadActivityOnPointerDown;!function(t,e,n,r,i,o,a,s,u,c){var l,d=_o(e,r,u,a,s);o(d);var f=null===(l=null==a?void 0:a.target)||void 0===l?void 0:l.selector;f&&ho(s.timeStamp,f);var p=oi(e,n,t,(function(t){t.hadActivity&&t.end<d.startClocks.timeStamp?d.discard():t.hadActivity?d.stop(t.end):c()?d.stop(d.startClocks.timeStamp):d.stop()}),po).stop,v=e.subscribe(4,(function(t){var e=t.endClocks;d.stop(e.timeStamp)})),h=i.subscribe((function(){d.stop()}));d.stopObservable.subscribe((function(){v.unsubscribe(),p(),h.unsubscribe()}))}(n,t,e,i,o,s,c,a,u,l)}}).stop;return{stop:function(){u(),o.notify(),a()},actionContexts:{findActionId:function(t){return i.findAll(t)}}};function s(t){if(!r||!r.tryAppend(t)){var e=t.clone();r=oo(t,(function(t){!function(t,e){var n=co(t,e).isRage;n?(t.forEach((function(t){return t.discard()})),e.stop(te()),e.validate(t.map((function(t){return t.event})))):(e.discard(),t.forEach((function(t){return t.validate()})))}(t,e)}))}}function u(){r&&r.stop()}}function _o(t,e,n,r,i){var o,a=Ce(),s=ne(),u=e.add(a,s.relative),c=Qr({lifeCycle:t,isChildEvent:function(t){return void 0!==t.action&&(Array.isArray(t.action.id)?m(t.action.id,a):t.action.id===a)}}),l=0,d=[],f=new et;function p(t){0===l&&(l=1,(o=t)?u.close(ae(o)):u.remove(),c.stop(),f.notify())}return{event:i,stop:p,stopObservable:f,get hasError(){return c.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==o},getUserActivity:n,addFrustration:function(t){d.push(t)},startClocks:s,isStopped:function(){return 1===l||2===l},clone:function(){return _o(t,e,n,r,i)},validate:function(e){if(p(),1===l){var n=c.eventCounts,u=n.resourceCount,f=n.errorCount,v=n.longTaskCount,h=S({type:"click",duration:o&&ie(s.timeStamp,o),startClocks:s,id:a,frustrationTypes:d,counts:{resourceCount:u,errorCount:f,longTaskCount:v},events:null!=e?e:[i],event:i},r);t.notify(0,h),l=2}},discard:function(){p(),l=2}}}function yo(t,e){var n=bo(t)?{action:{id:t.id,loading_time:$r($t(t.duration)),frustration:{type:t.frustrationTypes},error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},_dd:{action:{target:t.target,position:t.position}}}:void 0,r=bo(t)?void 0:t.context,i=W({action:{id:Ce(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:"action",view:{in_foreground:e.wasInPageStateAt("active",t.startClocks.relative)}},n),o=bo(t)?{events:t.events}:{};return!bo(t)&&t.handlingStack&&(o.handlingStack=t.handlingStack),{customerContext:r,rawRumEvent:i,startTime:t.startClocks.relative,domainContext:o}}function bo(t){return"custom"!==t.type}function wo(t){var e,n=function(e,n){var r=Rt({stackTrace:e,originalError:n,startClocks:ne(),nonErrorPrefix:"Uncaught",source:ur.SOURCE,handling:"unhandled"});t.notify(r)},r=(e=n,De(window,"onerror",(function(t){var n,r=t.parameters,i=r[0],o=r[1],a=r[2],s=r[3],u=r[4];n=u instanceof Error?ft(u):St(i,o,a,s),e(n,null!=u?u:i)}))).stop,i=function(t){return De(window,"onunhandledrejection",(function(e){var n=e.parameters[0].reason||"Empty reason",r=ft(n);t(r,n)}))}(n).stop;return{stop:function(){r(),i()}}}var So={};function ko(n){var r=n.map((function(n){return So[n]||(So[n]=function(n){return new et((function(r){var i=e[n];return e[n]=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];i.apply(console,e);var a=xt();v((function(){r.notify(function(e,n,r){var i,o=e.map((function(t){return function(t){if("string"==typeof t)return $(t);if(t instanceof Error)return Et(ft(t));return D($(t),void 0,2)}(t)})).join(" ");if(n===t.error){var a=_(e,(function(t){return t instanceof Error}));i={stack:a?Ct(ft(a)):void 0,fingerprint:Nt(a),causes:a?It(a,"console"):void 0,startClocks:ne(),message:o,source:ur.CONSOLE,handling:"handled",handlingStack:r}}return{api:n,message:o,error:i,handlingStack:r}}(e,n,a))}))},function(){e[n]=i}}))}(n)),So[n]}));return nt.apply(void 0,r)}var xo={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Co(t,e){var n=[];m(e,xo.cspViolation)&&n.push(function(t){return new et((function(e){return ot(t,document,"securitypolicyviolation",(function(t){e.notify(function(t){var e="'".concat(t.blockedURI,"' blocked by '").concat(t.effectiveDirective,"' directive");return Eo({type:t.effectiveDirective,message:"".concat(xo.cspViolation,": ").concat(e),originalError:t,csp:{disposition:t.disposition},stack:To(t.effectiveDirective,t.originalPolicy?"".concat(e,' of the policy "').concat(Ae(t.originalPolicy,100,"..."),'"'):"no policy",t.sourceFile,t.lineNumber,t.columnNumber)})}(t))})).stop}))}(t));var r=e.filter((function(t){return t!==xo.cspViolation}));return r.length&&n.push(function(t){return new et((function(e){if(window.ReportingObserver){var n=p((function(t,n){return t.forEach((function(t){return e.notify(function(t){var e=t.type,n=t.body;return Eo({type:n.id,message:"".concat(e,": ").concat(n.message),originalError:t,stack:To(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}(t))}))})),r=new window.ReportingObserver(n,{types:t,buffered:!0});return r.observe(),function(){r.disconnect()}}}))}(r)),nt.apply(void 0,n)}function Eo(t){return S({startClocks:ne(),source:ur.REPORT,handling:"unhandled"},t)}function To(t,e,n,r,i){return n?Ct({name:t,message:e,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=i?i:void 0}]}):void 0}function Ao(e,n,r,i){var o=new et;return function(e){var n=ko([t.error]).subscribe((function(t){return e.notify(t.error)}))}(o),wo(o),function(t,e){var n=Co(t,[xo.cspViolation,xo.intervention]).subscribe((function(t){return e.notify(t)}))}(n,o),o.subscribe((function(t){return e.notify(13,{error:t})})),function(t,e,n){return t.subscribe(13,(function(r){var i=r.error,o=r.customerContext,a=r.savedCommonContext;t.notify(11,S({customerContext:o,savedCommonContext:a},function(t,e,n){var r={date:t.startClocks.timeStamp,error:{id:Ce(),message:t.message,source:t.source,stack:t.stack,handling_stack:t.handlingStack,type:t.type,handling:t.handling,causes:t.causes,source_type:"browser",fingerprint:t.fingerprint,csp:t.csp},type:"error",view:{in_foreground:e.wasInPageStateAt("active",t.startClocks.relative)}},i=n.findFeatureFlagEvaluations(t.startClocks.relative);i&&!V(i)&&(r.feature_flags=i);var o={error:t.originalError,handlingStack:t.handlingStack};return{rawRumEvent:r,startTime:t.startClocks.relative,domainContext:o}}(i,e,n)))})),{addError:function(e,n){var r=e.error,i=e.handlingStack,o=e.startClocks,a=e.context,s=Rt({stackTrace:r instanceof Error?ft(r):void 0,originalError:r,handlingStack:i,startClocks:o,nonErrorPrefix:"Provided",source:ur.CUSTOM,handling:"handled"});t.notify(13,{customerContext:a,savedCommonContext:n,error:s})}}}(e,r,i)}var Ro=new li;function No(t){if(performance&&"getEntriesByName"in performance){var e=performance.getEntriesByName(t.url,"resource");if(e.length&&"toJSON"in e[0]){var n=e.filter((function(t){return!Ro.has(t)})).filter((function(t){return Ur(t)&&zr(t)})).filter((function(e){return n=e,r=t.startClocks.relative,i=Io({startTime:t.startClocks.relative,duration:t.duration}),o=1,n.startTime>=r-o&&Io(n)<=oe(i,o);var n,r,i,o}));return 1===n.length?(Ro.add(n[0]),n[0].toJSON()):void 0}}}function Io(t){return oe(t.startTime,t.duration)}function Oo(t,e,n){return document.readyState===e||"complete"===document.readyState?(n(),{stop:L}):ot(t,window,"complete"===e?"load":"DOMContentLoaded",n,{once:!0})}var Mo=2*Kt;function Lo(t){var e=function(t){var e=t.querySelector("meta[name=dd-trace-id]"),n=t.querySelector("meta[name=dd-trace-time]");return Do(e&&e.content,n&&n.content)}(t)||function(t){var e=function(t){for(var e=0;e<t.childNodes.length;e+=1){if(n=Po(t.childNodes[e]))return n}if(t.body)for(e=t.body.childNodes.length-1;e>=0;e-=1){var n,r=t.body.childNodes[e];if(n=Po(r))return n;if(!di(r))break}}(t);if(!e)return;return Do(Te(e,"trace-id"),Te(e,"trace-time"))}(t);if(e&&!(e.traceTime<=Qt()-Mo))return e.traceId}function Do(t,e){var n=e&&Number(e);if(t&&n)return{traceId:t,traceTime:n}}function Po(t){if(t&&function(t){return t.nodeType===Node.COMMENT_NODE}(t)){var e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function Uo(){if(ni(Kr.NAVIGATION)){var t=performance.getEntriesByType(Kr.NAVIGATION)[0];if(t)return t}var e=function(){var t={},e=performance.timing;for(var n in e)if(jt(e[n])){var r=n,i=e[r];t[r]=0===i?0:ae(i)}return t}(),n=S({entryType:Kr.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:e.responseEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,toJSON:function(){return S({},n,{toJSON:void 0})}},e);return n}function zo(t,e){Oo(t,"interactive",(function(){var t=S(Uo().toJSON(),{entryType:Kr.RESOURCE,initiatorType:Nr,traceId:Lo(document),toJSON:function(){return S({},t,{toJSON:void 0})}});e(t)}))}function Vo(t,e,n,r){void 0===r&&(r=zo),t.subscribe(7,(function(r){var i=function(t,e,n){var r=No(t),i=r?Yt(r.startTime):t.startClocks,o=function(t,e){var n=t.traceSampled&&t.traceId&&t.spanId;if(!n)return;return{_dd:{span_id:t.spanId.toDecimalString(),trace_id:t.traceId.toDecimalString(),rule_psr:Ho(e)}}}(t,e);if(!e.trackResources&&!o)return;var a="xhr"===t.type?"xhr":"fetch",s=r?Bo(r):void 0,u=function(t,e,n){return t.wasInPageStateDuringPeriod("frozen",e.relative,n)?void 0:$t(n)}(n,i,t.duration),c=W({date:i.timeStamp,resource:{id:Ce(),type:a,duration:u,method:t.method,status_code:t.status,protocol:r&&Fr(r),url:Gr(t.url)?Zr(t.url):t.url},type:"resource",_dd:{discarded:!e.trackResources}},o,s);return{startTime:i.relative,rawRumEvent:c,domainContext:{performanceEntry:r,xhr:t.xhr,response:t.response,requestInput:t.input,requestInit:t.init,error:t.error,isAborted:t.isAborted,handlingStack:t.handlingStack}}}(r,e,n);i&&t.notify(11,i)}));var i=ei(e,{type:Kr.RESOURCE,buffered:!0}).subscribe((function(n){for(var r=0,i=n;r<i.length;r++){var o=i[r];if(!Lr(o)){var a=Fo(o,e);a&&t.notify(11,a)}}}));return r(e,(function(n){var r=Fo(n,e);r&&t.notify(11,r)})),{stop:function(){i.unsubscribe()}}}function Fo(t,e){var n=Yt(t.startTime),r=function(t,e){var n=t.traceId;if(!n)return;return{_dd:{trace_id:t.traceId,span_id:Jn().toDecimalString(),rule_psr:Ho(e)}}}(t,e);if(e.trackResources||r){var i,o=Or(t),a=Bo(t),s=W({date:n.timeStamp,resource:{id:Ce(),type:o,url:t.name,status_code:(i=t.responseStatus,0===i?void 0:i),protocol:Fr(t)},type:"resource",_dd:{discarded:!e.trackResources}},r,a);return{startTime:n.relative,rawRumEvent:s,domainContext:{performanceEntry:t}}}}function Bo(t){var e=t.renderBlockingStatus;return{resource:S({duration:Dr(t),render_blocking_status:e},Br(t),Pr(t))}}function Ho(t){return jt(t.traceSampleRate)?t.traceSampleRate/100:void 0}var qo=10*Kt;function jo(t,e,n){return void 0===n&&(n=Uo),function(t,e){var n,r=Oo(t,"complete",(function(){n=R((function(){return e()}))})).stop;return{stop:function(){r(),N(n)}}}(t,(function(){var t=n();(function(t){return t.loadEventEnd<=0})(t)||e(function(t){return{domComplete:t.domComplete,domContentLoaded:t.domContentLoadedEventEnd,domInteractive:t.domInteractive,loadEvent:t.loadEventEnd,firstByte:t.responseStart>=0&&t.responseStart<=ee()?t.responseStart:void 0}}(t))}))}var Go=10*Kt;function Zo(t,e){var n,r;return void 0===e&&(e=window),"hidden"===document.visibilityState?n=0:(n=1/0,r=at(t,e,["pagehide","visibilitychange"],(function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||(n=t.timeStamp,r())}),{capture:!0}).stop),{get timeStamp(){return n},stop:function(){null==r||r()}}}function Ko(t,e,n){var r={},i=jo(t,(function(t){e(t.loadEvent),r.navigationTimings=t,n()})).stop,o=Zo(t),a=function(t,e,n){return{stop:ei(t,{type:Kr.PAINT,buffered:!0}).subscribe((function(t){var r=_(t,(function(t){return"first-contentful-paint"===t.name&&t.startTime<e.timeStamp&&t.startTime<qo}));r&&n(r.startTime)})).unsubscribe}}(t,o,(function(t){r.firstContentfulPaint=t,n()})).stop,s=function(t,e,n,r){var i=1/0,o=at(t,n,["pointerdown","keydown"],(function(t){i=t.timeStamp}),{capture:!0,once:!0}).stop,a=0,s=ei(t,{type:Kr.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe((function(n){var o=function(t,e){for(var n=t.length-1;n>=0;n-=1){var r=t[n];if(e(r,n,t))return r}}(n,(function(t){return t.entryType===Kr.LARGEST_CONTENTFUL_PAINT&&t.startTime<i&&t.startTime<e.timeStamp&&t.startTime<Go&&t.size>a}));if(o){var s=void 0;o.element&&(s=Xi(o.element,t.actionNameAttribute)),r({value:o.startTime,targetSelector:s}),a=o.size}}));return{stop:function(){o(),s.unsubscribe()}}}(t,o,window,(function(t){r.largestContentfulPaint=t,n()})).stop,u=function(t,e,n){var r=ei(t,{type:Kr.FIRST_INPUT,buffered:!0}).subscribe((function(r){var i=_(r,(function(t){return t.startTime<e.timeStamp}));if(i){var o=ie(i.startTime,i.processingStart),a=void 0;i.target&&fi(i.target)&&(a=Xi(i.target,t.actionNameAttribute)),n({delay:o>=0?o:0,time:i.startTime,targetSelector:a})}}));return{stop:function(){r.unsubscribe()}}}(t,o,(function(t){r.firstInput=t,n()})).stop;return{stop:function(){i(),a(),s(),u(),o.stop()},initialViewMetrics:r}}function Wo(t,e,n){if(!Qo())return{stop:L};var r,i,o=0;n({value:0});var a=function(){var t,e,n=0,r=0;return{update:function(i){var o;return void 0===t||i.startTime-e>=$o||i.startTime-t>=Jo?(t=e=i.startTime,r=n=i.value,o=!0):(n+=i.value,e=i.startTime,(o=i.value>r)&&(r=i.value)),{cumulatedValue:n,isMaxValue:o}}}}(),s=ei(t,{type:Kr.LAYOUT_SHIFT,buffered:!0}).subscribe((function(s){for(var u=0,c=s;u<c.length;u++){var l=c[u];if(!(l.hadRecentInput||l.startTime<e)){var d=a.update(l),f=d.cumulatedValue;if(d.isMaxValue){var p=Xo(l.sources);r=p?new WeakRef(p):void 0,i=ie(e,l.startTime)}if(f>o){o=f;p=null==r?void 0:r.deref();n({value:qt(o,4),targetSelector:p&&Xi(p,t.actionNameAttribute),time:i})}}}}));return{stop:function(){s.unsubscribe()}}}function Xo(t){var e;if(t)return null===(e=_(t,(function(t){return!!t.node&&fi(t.node)})))||void 0===e?void 0:e.node}var Yo,Jo=5*Zt,$o=Zt;function Qo(){return ni(Kr.LAYOUT_SHIFT)&&"WeakRef"in window}var ta=0,ea=1/0,na=0;var ra,ia=function(){return Yo?ta:window.performance.interactionCount||0},oa=10,aa=1*Kt;function sa(t,e,n){if(!(ni(Kr.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:function(){},setViewEnd:L,stop:L};var r,i,o=function(t){"interactionCount"in performance||Yo||(Yo=new window.PerformanceObserver(p((function(t){t.getEntries().forEach((function(t){var e=t;e.interactionId&&(ea=Math.min(ea,e.interactionId),na=Math.max(na,e.interactionId),ta=(na-ea)/7+1)}))})))).observe({type:"event",buffered:!0,durationThreshold:0});var e="initial_load"===t?0:ia(),n={stopped:!1};function r(){return ia()-e}return{getViewInteractionCount:function(){return n.stopped?n.interactionCount:r()},stopViewInteractionCount:function(){n={stopped:!0,interactionCount:r()}}}}(n),a=o.getViewInteractionCount,s=o.stopViewInteractionCount,u=1/0,c=function(t){var e=[];function n(){e.sort((function(t,e){return e.duration-t.duration})).splice(oa)}return{process:function(t){var r=e.findIndex((function(e){return t.interactionId===e.interactionId})),i=e[e.length-1];-1!==r?t.duration>e[r].duration&&(e[r]=t,n()):(e.length<oa||t.duration>i.duration)&&(e.push(t),n())},estimateP98Interaction:function(){var n=Math.min(e.length-1,Math.floor(t()/50));return e[n]}}}(a),l=-1;function d(n){for(var o=0,a=n;o<a.length;o++){var s=a[o];s.interactionId&&s.startTime>=e&&s.startTime<=u&&c.process(s)}var d,f,p=c.estimateP98Interaction();p&&p.duration!==l&&(l=p.duration,i=ie(e,p.startTime),d=p.startTime,f=vo.get(d),vo.delete(d),!(r=f)&&p.target&&fi(p.target)&&(r=Xi(p.target,t.actionNameAttribute)))}var f=ei(t,{type:Kr.FIRST_INPUT,buffered:!0}).subscribe(d),v=ei(t,{type:Kr.EVENT,durationThreshold:40,buffered:!0}).subscribe(d);return{getInteractionToNextPaint:function(){return l>=0?{value:Math.min(l,aa),targetSelector:r,time:i}:a()?{value:0}:void 0},setViewEnd:function(t){u=t,s()},stop:function(){v.unsubscribe(),f.unsubscribe()}}}function ua(){var t,e=window.visualViewport;return t=e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0,Math.round(t)}function ca(){var t,e=window.visualViewport;return t=e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0,Math.round(t)}function la(t){return ra||(ra=function(t){return new et((function(e){var n=M((function(){e.notify(da())}),200).throttled;return ot(t,window,"resize",n,{capture:!0,passive:!0}).stop}))}(t)),ra}function da(){var t=window.visualViewport;return t?{width:Number(t.width*t.scale),height:Number(t.height*t.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}var fa=Zt;function pa(t,e,n,r){void 0===r&&(r=function(t,e){void 0===e&&(e=fa);return new et((function(n){function r(){var t,e,r,i;n.notify((t=ca(),e=da().height,r=Math.round((document.scrollingElement||document.documentElement).scrollHeight),i=Math.round(e+t),{scrollHeight:r,scrollDepth:i,scrollTop:t}))}if(window.ResizeObserver){var i=M(r,e,{leading:!1,trailing:!0}),o=document.scrollingElement||document.documentElement,a=new ResizeObserver(p(i.throttled));a.observe(o);var s=ot(t,window,"scroll",i.throttled,{passive:!0});return function(){i.cancel(),a.unobserve(o),s.stop()}}}))}(t));var i=0,o=0,a=0,s=r.subscribe((function(t){var r=t.scrollDepth,s=t.scrollTop,u=t.scrollHeight,c=!1;if(r>i&&(i=r,c=!0),u>o){o=u;var l=ee();a=ie(e.relative,l),c=!0}c&&n({maxDepth:Math.min(i,o),maxDepthScrollTop:s,maxScrollHeight:o,maxScrollHeightTime:a})}));return{stop:function(){return s.unsubscribe()}}}function va(t,e,n,r,i,o){var a={},s=function(t,e,n,r,i,o){var a="initial_load"===r,s=!0,u=[],c=Zo(n);function l(){if(!s&&!a&&u.length>0){var t=Math.max.apply(Math,u);t<c.timeStamp&&o(t)}}var d=oi(t,e,n,(function(t){s&&(s=!1,t.hadActivity&&u.push(ie(i.timeStamp,t.end)),l())})).stop;return{stop:function(){d(),c.stop()},setLoadEvent:function(t){a&&(a=!1,u.push(t),l())}}}(t,e,n,i,o,(function(t){a.loadingTime=t,r()})),u=s.stop,c=s.setLoadEvent,l=pa(n,o,(function(t){a.scroll=t})).stop,d=Wo(n,o.relative,(function(t){a.cumulativeLayoutShift=t,r()})).stop,f=sa(n,o.relative,i),p=f.stop,v=f.getInteractionToNextPaint;return{stop:function(){u(),d(),l()},stopINPTracking:p,setLoadEvent:c,setViewEnd:f.setViewEnd,getCommonViewMetrics:function(){return a.interactionToNextPaint=v(),a}}}var ha=3e3,ma=5*Kt,ga=5*Kt;function _a(t,e,n,r,o,a,s){var u,c=new Set,l=d("initial_load",re(),s);function d(o,a,s){var u=function(t,e,n,r,o,a,s){void 0===a&&(a=ne());var u,c,l,d,f,p=Ce(),v=new et,h={},m=0,g=U(r),_=rt(),y=!0;s&&(c=s.name,l=s.service||void 0,d=s.version||void 0,s.context&&(f=s.context,_.setContext(f)));var b={id:p,name:c,startClocks:a,service:l,version:d,context:f};t.notify(1,b),t.notify(2,b);var w=M(q,ha,{leading:!1}),S=w.throttled,k=w.cancel,x=va(t,e,n,S,o,a),C=x.setLoadEvent,E=x.setViewEnd,T=x.stop,A=x.stopINPTracking,N=x.getCommonViewMetrics,D="initial_load"===o?Ko(n,C,S):{stop:L,initialViewMetrics:{}},P=D.stop,z=D.initialViewMetrics,V=function(t,e,n){var r=Qr({lifeCycle:t,isChildEvent:function(t){return t.view.id===e},onChange:n});return{stop:r.stop,eventCounts:r.eventCounts}}(t,p,S),F=V.stop,B=V.eventCounts,H=I(q,ma);function q(){k(),m+=1;var e=void 0===u?te():u.timeStamp;t.notify(3,{customTimings:h,documentVersion:m,id:p,name:c,service:l,version:d,context:_.getContext(),loadingType:o,location:g,startClocks:a,commonViewMetrics:N(),initialViewMetrics:z,duration:ie(a.timeStamp,e),isActive:void 0===u,sessionIsActive:y,eventCounts:B})}return q(),_.changeObservable.subscribe(q),{get name(){return c},service:l,version:d,contextManager:_,stopObservable:v,end:function(e){var n,r,i=this;void 0===e&&(e={}),u||(u=null!==(n=e.endClocks)&&void 0!==n?n:ne(),y=null===(r=e.sessionIsActive)||void 0===r||r,t.notify(4,{endClocks:u}),t.notify(5,{endClocks:u}),O(H),E(u.relative),T(),q(),R((function(){i.stop()}),ga))},stop:function(){P(),F(),A(),v.notify()},addTiming:function(t,e){if(!u){var n=function(t){return t<Xt}(e)?e:ie(a.timeStamp,e);h[function(t){var e=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_");e!==t&&i.warn("Invalid timing name: ".concat(t,", sanitized to: ").concat(e));return e}(t)]=n,S()}},setViewName:function(t){c=t,q()}}}(e,n,r,t,o,a,s);return c.add(u),u.stopObservable.subscribe((function(){c.delete(u)})),u}return e.subscribe(9,(function(){l=d("route_change",void 0,{name:l.name,service:l.service,version:l.version,context:l.contextManager.getContext()})})),e.subscribe(8,(function(){l.end({sessionIsActive:!1})})),e.subscribe(10,(function(t){t.reason===or.UNLOADING&&l.end()})),a&&(u=function(t){return t.subscribe((function(t){var e,n,r,i,o=t.oldLocation,a=t.newLocation;n=a,(e=o).pathname===n.pathname&&(r=n.hash,""!==(i=r.substring(1))&&document.getElementById(i)||ya(n.hash)===ya(e.hash))||(l.end(),l=d("route_change"))}))}(o)),{addTiming:function(t,e){void 0===e&&(e=te()),l.addTiming(t,e)},startView:function(t,e){l.end({endClocks:e}),l=d("route_change",e,t)},setViewContext:function(t){l.contextManager.setContext(t)},setViewContextProperty:function(t,e){l.contextManager.setContextProperty(t,e)},setViewName:function(t){l.setViewName(t)},stop:function(){u&&u.unsubscribe(),l.end(),c.forEach((function(t){return t.stop()}))}}}function ya(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}function ba(t,e,n,r,i,o,a,s,u){return t.subscribe(3,(function(n){return t.notify(11,function(t,e,n,r,i){var o,a,s,u,c,l,d,f,p,v,h,m,g,_,y,b,w=r.getReplayStats(t.id),S=n.findFeatureFlagEvaluations(t.startClocks.relative),k=i.findAll(t.startClocks.relative,t.duration),x={_dd:{document_version:t.documentVersion,replay_stats:w,page_states:k,configuration:{start_session_replay_recording_manually:e.startSessionReplayRecordingManually}},date:t.startClocks.timeStamp,type:"view",view:{action:{count:t.eventCounts.actionCount},frustration:{count:t.eventCounts.frustrationCount},cumulative_layout_shift:null===(o=t.commonViewMetrics.cumulativeLayoutShift)||void 0===o?void 0:o.value,cumulative_layout_shift_time:$t(null===(a=t.commonViewMetrics.cumulativeLayoutShift)||void 0===a?void 0:a.time),cumulative_layout_shift_target_selector:null===(s=t.commonViewMetrics.cumulativeLayoutShift)||void 0===s?void 0:s.targetSelector,first_byte:$t(null===(u=t.initialViewMetrics.navigationTimings)||void 0===u?void 0:u.firstByte),dom_complete:$t(null===(c=t.initialViewMetrics.navigationTimings)||void 0===c?void 0:c.domComplete),dom_content_loaded:$t(null===(l=t.initialViewMetrics.navigationTimings)||void 0===l?void 0:l.domContentLoaded),dom_interactive:$t(null===(d=t.initialViewMetrics.navigationTimings)||void 0===d?void 0:d.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:$t(t.initialViewMetrics.firstContentfulPaint),first_input_delay:$t(null===(f=t.initialViewMetrics.firstInput)||void 0===f?void 0:f.delay),first_input_time:$t(null===(p=t.initialViewMetrics.firstInput)||void 0===p?void 0:p.time),first_input_target_selector:null===(v=t.initialViewMetrics.firstInput)||void 0===v?void 0:v.targetSelector,interaction_to_next_paint:$t(null===(h=t.commonViewMetrics.interactionToNextPaint)||void 0===h?void 0:h.value),interaction_to_next_paint_time:$t(null===(m=t.commonViewMetrics.interactionToNextPaint)||void 0===m?void 0:m.time),interaction_to_next_paint_target_selector:null===(g=t.commonViewMetrics.interactionToNextPaint)||void 0===g?void 0:g.targetSelector,is_active:t.isActive,name:t.name,largest_contentful_paint:$t(null===(_=t.initialViewMetrics.largestContentfulPaint)||void 0===_?void 0:_.value),largest_contentful_paint_target_selector:null===(y=t.initialViewMetrics.largestContentfulPaint)||void 0===y?void 0:y.targetSelector,load_event:$t(null===(b=t.initialViewMetrics.navigationTimings)||void 0===b?void 0:b.loadEvent),loading_time:$r($t(t.commonViewMetrics.loadingTime)),loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},resource:{count:t.eventCounts.resourceCount},time_spent:$t(t.duration)},feature_flags:S&&!V(S)?S:void 0,display:t.commonViewMetrics.scroll?{scroll:{max_depth:t.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:t.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:t.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:$t(t.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:!!w||void 0,is_active:!!t.sessionIsActive&&void 0},privacy:{replay_level:e.defaultPrivacyLevel}};V(t.customTimings)||(x.view.custom_timings=function(t,e){for(var n={},r=0,i=Object.keys(t);r<i.length;r++){var o=i[r];n[o]=e(t[o])}return n}(t.customTimings,$t));return{rawRumEvent:x,startTime:t.startClocks.relative,domainContext:{location:t.location}}}(n,e,o,s,a))})),_a(n,t,r,e,i,!e.trackViewsManually,u)}var wa=Kt,Sa=nn,ka=[];function xa(t,e,n,r){var i=new et,o=new et,a=Pn(t.sessionStoreStrategyType,e,n);ka.push((function(){return a.stop()}));var s=kr({expireDelay:Sa});function u(){return{id:a.getSession().id,trackingType:a.getSession()[e],isReplayForced:!!a.getSession().forcedReplay}}return ka.push((function(){return s.stop()})),a.renewObservable.subscribe((function(){s.add(u(),ee()),i.notify()})),a.expireObservable.subscribe((function(){o.notify(),s.closeActive(ee())})),a.expandOrRenewSession(),s.add(u(),re().relative),r.observable.subscribe((function(){r.isGranted()?a.expandOrRenewSession():a.expire()})),function(t,e){var n=at(t,window,["click","touchstart","keydown","scroll"],e,{capture:!0,passive:!0}).stop;ka.push(n)}(t,(function(){r.isGranted()&&a.expandOrRenewSession()})),function(t,e){var n=function(){"visible"===document.visibilityState&&e()},r=ot(t,document,"visibilitychange",n).stop;ka.push(r);var i=I(n,wa);ka.push((function(){O(i)}))}(t,(function(){return a.expandSession()})),function(t,e){var n=ot(t,window,"resume",e,{capture:!0}).stop;ka.push(n)}(t,(function(){return a.restartSession()})),{findSession:function(t,e){return s.find(t,e)},renewObservable:i,expireObservable:o,sessionStateUpdateObservable:a.sessionStateUpdateObservable,expire:a.expire,updateSessionState:a.updateSessionState}}var Ca="rum";function Ea(t,e,n){var r=xa(t,Ca,(function(e){return function(t,e){var n;n=function(t){return"0"===t||"1"===t||"2"===t}(e)?e:Ht(t.sessionSampleRate)?Ht(t.sessionReplaySampleRate)?"1":"2":"0";return{trackingType:n,isTracked:Ta(n)}}(t,e)}),n);return r.expireObservable.subscribe((function(){e.notify(8)})),r.renewObservable.subscribe((function(){e.notify(9)})),r.sessionStateUpdateObservable.subscribe((function(t){var e=t.previousState,n=t.newState;if(!e.forcedReplay&&n.forcedReplay){var i=r.findSession();i&&(i.isReplayForced=!0)}})),{findTrackedSession:function(t){var e=r.findSession(t);if(e&&Ta(e.trackingType))return{id:e.id,sessionReplay:"1"===e.trackingType?1:e.isReplayForced?2:0}},expire:r.expire,expireObservable:r.expireObservable,setForcedReplay:function(){return r.updateSessionState({forcedReplay:"1"})}}}function Ta(t){return"2"===t||"1"===t}function Aa(t){var e=t.encoder,n=t.request,r=t.flushController,o=t.messageBytesLimit,u={},c=r.flushObservable.subscribe((function(t){return function(t){var r=y(u).join("\n");u={};var i=ar(t.reason),o=i?n.sendOnExit:n.send;if(i&&e.isAsync){var a=e.finishSync();a.outputBytesCount&&o(Ra(a));var s=[a.pendingData,r].filter(Boolean).join("\n");s&&o({data:s,bytesCount:T(s)})}else r&&e.write(e.isEmpty?r:"\n".concat(r)),e.finish((function(t){o(Ra(t))}))}(t)}));function l(t,n){var c=D(t),l=e.estimateEncodedBytesCount(c);l>=o?i.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(o,"KB. ").concat(s," ").concat(a,"/#technical-limitations")):(function(t){return void 0!==t&&void 0!==u[t]}(n)&&function(t){var n=u[t];delete u[t];var i=e.estimateEncodedBytesCount(n);r.notifyAfterRemoveMessage(i)}(n),function(t,n,i){r.notifyBeforeAddMessage(n),void 0!==i?(u[i]=t,r.notifyAfterAddMessage()):e.write(e.isEmpty?t:"\n".concat(t),(function(t){r.notifyAfterAddMessage(t-n)}))}(c,l,n))}return{flushController:r,add:l,upsert:l,stop:c.unsubscribe}}function Ra(t){return{data:"string"==typeof t.output?t.output:new Blob([t.output],{type:"text/plain"}),bytesCount:t.outputBytesCount,encoding:t.encoding}}var Na=80*x,Ia=32,Oa=3*C,Ma=Kt,La=Zt;function Da(t,e,n,r,i){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?Ua(t,e,n,{onSuccess:function(){return za(0,e,n,r,i)},onFailure:function(){e.queuedPayloads.enqueue(t),Pa(e,n,r,i)}}):e.queuedPayloads.enqueue(t)}function Pa(t,e,n,r){2===t.transportStatus&&R((function(){Ua(t.queuedPayloads.first(),t,e,{onSuccess:function(){t.queuedPayloads.dequeue(),t.currentBackoffTime=La,za(1,t,e,n,r)},onFailure:function(){t.currentBackoffTime=Math.min(Ma,2*t.currentBackoffTime),Pa(t,e,n,r)}})}),t.currentBackoffTime)}function Ua(t,e,n,r){var i=r.onSuccess,o=r.onFailure;e.bandwidthMonitor.add(t),n(t,(function(n){e.bandwidthMonitor.remove(t),!function(t){return"opaque"!==t.type&&(0===t.status&&!navigator.onLine||408===t.status||429===t.status||(e=t.status,e>=500));var e}(n)?(e.transportStatus=0,i()):(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:n.status},o())}))}function za(t,e,n,r,i){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(i({message:"Reached max ".concat(r," events size queued for upload: ").concat(Oa/C,"MiB"),source:ur.AGENT,startClocks:ne()}),e.queueFullReported=!0);var o=e.queuedPayloads;for(e.queuedPayloads=Va();o.size()>0;)Da(o.dequeue(),e,n,r,i)}function Va(){var t=[];return{bytesCount:0,enqueue:function(e){this.isFull()||(t.push(e),this.bytesCount+=e.bytesCount)},first:function(){return t[0]},dequeue:function(){var e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:function(){return t.length},isFull:function(){return this.bytesCount>=Oa}}}function Fa(t,e,n){var r={transportStatus:0,currentBackoffTime:La,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=Na&&this.ongoingRequestCount<Ia},add:function(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove:function(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount}},queuedPayloads:Va(),queueFullReported:!1},i=function(n,r){return function(t,e,n,r){var i=function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(t){return!1}}()&&n.bytesCount<e;if(i){var o=t.build("fetch",n);fetch(o,{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then(p((function(t){return null==r?void 0:r({status:t.status,type:t.type})})),p((function(){Ha(t.build("xhr",n),n.data,r)})))}else{Ha(t.build("xhr",n),n.data,r)}}(t,e,n,r)};return{send:function(e){Da(e,r,i,t.trackType,n)},sendOnExit:function(n){!function(t,e,n){var r=!!navigator.sendBeacon&&n.bytesCount<e;if(r)try{var i=t.build("beacon",n);if(navigator.sendBeacon(i,n.data))return}catch(t){!function(t){Ba||(Ba=!0,be(t))}(t)}var o=t.build("xhr",n);Ha(o,n.data)}(t,e,n)}}}var Ba=!1;function Ha(t,e,n){var r=new XMLHttpRequest;r.open("POST",t,!0),e instanceof Blob&&r.setRequestHeader("Content-Type",e.type),ot({allowUntrustedEvents:!0},r,"loadend",(function(){null==n||n({status:r.status})}),{once:!0}),r.send(e)}function qa(t){var e,n=t.messagesLimit,r=t.bytesLimit,i=t.durationLimit,o=t.pageExitObservable,a=t.sessionExpireObservable,s=o.subscribe((function(t){return f(t.reason)})),u=a.subscribe((function(){return f("session_expire")})),c=new et((function(){return function(){s.unsubscribe(),u.unsubscribe()}})),l=0,d=0;function f(t){if(0!==d){var e=d,n=l;d=0,l=0,p(),c.notify({reason:t,messagesCount:e,bytesCount:n})}}function p(){N(e),e=void 0}return{flushObservable:c,get messagesCount(){return d},notifyBeforeAddMessage:function(t){l+t>=r&&f("bytes_limit"),d+=1,l+=t,void 0===e&&(e=R((function(){f("duration_limit")}),i))},notifyAfterAddMessage:function(t){void 0===t&&(t=0),l+=t,d>=n?f("messages_limit"):l>=r&&f("bytes_limit")},notifyAfterRemoveMessage:function(t){l-=t,0===(d-=1)&&p()}}}function ja(t,e,n,r,i,o,a){var s=t.replica,u=function(t,e,n,r,i,o,a){void 0===a&&(a=Aa);var s=c(t,e),u=n&&c(t,n);function c(t,e){var n=e.endpoint,s=e.encoder;return a({encoder:s,request:Fa(n,t.batchBytesLimit,r),flushController:qa({messagesLimit:t.batchMessagesLimit,bytesLimit:t.batchBytesLimit,durationLimit:t.flushTimeout,pageExitObservable:i,sessionExpireObservable:o}),messageBytesLimit:t.messageBytesLimit})}return{flushObservable:s.flushController.flushObservable,add:function(t,e){void 0===e&&(e=!0),s.add(t),u&&e&&u.add(n.transformMessage?n.transformMessage(t):t)},upsert:function(t,e){s.upsert(t,e),u&&u.upsert(n.transformMessage?n.transformMessage(t):t,e)},stop:function(){s.stop(),u&&u.stop()}}}(t,{endpoint:t.rumEndpointBuilder,encoder:a(2)},s&&{endpoint:s.rumEndpointBuilder,transformMessage:function(t){return W(t,{application:{id:s.applicationId}})},encoder:a(3)},r,i,o);return e.subscribe(12,(function(t){"view"===t.type?u.upsert(t,t.view.id):u.add(t)})),n.subscribe((function(e){return u.add(e,function(t){return t.site===Pt}(t))})),u}var Ga=nn;function Za(t,e){var n=U(e);return new et((function(r){var i=function(t,e){var n=De(Ka("pushState"),"pushState",(function(t){(0,t.onPostCall)(e)})).stop,r=De(Ka("replaceState"),"replaceState",(function(t){(0,t.onPostCall)(e)})).stop,i=ot(t,window,"popstate",e).stop;return{stop:function(){n(),r(),i()}}}(t,a).stop,o=function(t,e){return ot(t,window,"hashchange",e)}(t,a).stop;function a(){if(n.href!==e.href){var t=U(e);r.notify({newLocation:t,oldLocation:n}),n=t}}return function(){i(),o()}}))}function Ka(t){return Object.prototype.hasOwnProperty.call(history,t)?history:History.prototype}var Wa=nn;var Xa,Ya,Ja,$a=10*Zt;function Qa(){0!==Xa.batchCount&&(ye("Customer data measures",Xa),ns())}function ts(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function es(t,e){t.sum+=e.sum,t.min=Math.min(t.min,e.min),t.max=Math.max(t.max,e.max)}function ns(){Xa={batchCount:0,batchBytesCount:{min:1/0,max:0,sum:0},batchMessagesCount:{min:1/0,max:0,sum:0},globalContextBytes:{min:1/0,max:0,sum:0},userContextBytes:{min:1/0,max:0,sum:0},featureFlagBytes:{min:1/0,max:0,sum:0}}}function rs(){Ja=!1,Ya={globalContextBytes:{min:1/0,max:0,sum:0},userContextBytes:{min:1/0,max:0,sum:0},featureFlagBytes:{min:1/0,max:0,sum:0}}}var is=4e3,os=500,as=nn;function ss(t,e){void 0===e&&(e=os);var n,r=kr({expireDelay:as,maxEntries:is});o(us(),ee());var i=at(t,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],(function(t){o(function(t){if("freeze"===t.type)return"frozen";if("pagehide"===t.type)return t.persisted?"frozen":"terminated";return us()}(t),t.timeStamp)}),{capture:!0}).stop;function o(t,e){void 0===e&&(e=ee()),t!==n&&(n=t,r.closeActive(e),r.add({state:n,startTime:e},e))}var a={findAll:function(t,n){var i=r.findAll(t,n);if(0!==i.length){for(var o=[],a=Math.max(0,i.length-e),s=i.length-1;s>=a;s--){var u=i[s],c=ie(t,u.startTime);o.push({state:u.state,start:$t(c)})}return o}},wasInPageStateAt:function(t,e){return a.wasInPageStateDuringPeriod(t,e,0)},wasInPageStateDuringPeriod:function(t,e,n){return r.findAll(e,n).some((function(e){return e.state===t}))},addPageState:o,stop:function(){i(),r.stop()}};return a}function us(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function cs(t,e){var n=window.cookieStore?function(t){return function(e,n){return ot(t,window.cookieStore,"change",(function(t){var r=_(t.changed,(function(t){return t.name===e}))||_(t.deleted,(function(t){return t.name===e}));r&&n(r.value)})).stop}}(t):ds;return new et((function(t){return n(e,(function(e){return t.notify(e)}))}))}var ls=Zt;function ds(t,e){var n=Te(document.cookie,t),r=I((function(){var r=Te(document.cookie,t);r!==n&&e(r)}),ls);return function(){O(r)}}var fs="datadog-ci-visibility-test-execution-id";function ps(t,e){var n=e.session,r=e.viewContext,i=e.errorType,o=n?n.id:"no-session-id",a=[];void 0!==i&&a.push("error-type=".concat(i)),r&&(a.push("seed=".concat(r.id)),a.push("from=".concat(r.startClocks.timeStamp)));var s,u,c,l=(u=(s=t).site,c=s.subdomain||function(t){switch(t.site){case zt:case Vt:return"app";case Pt:return"dd";default:return}}(s),"https://".concat(c?"".concat(c,"."):"").concat(u)),d="/rum/replay/sessions/".concat(o);return"".concat(l).concat(d,"?").concat(a.join("&"))}var vs,hs=10;function ms(t){return gs(t).segments_count}function gs(t){var e;return vs||(vs=new Map),vs.has(t)?e=vs.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},vs.set(t,e),vs.size>hs&&function(){if(!vs)return;if(vs.keys){var t=vs.keys().next().value;t&&vs.delete(t)}else{var e=!0;vs.forEach((function(t,n){e&&(vs.delete(n),e=!1)}))}}()),e}var _s=new WeakMap;function ys(t){return _s.has(t)}function bs(t){return _s.get(t)}function ws(t,e){var n=t.tagName,r=t.value;if(Ti(t,e)){var i=t.type;if("INPUT"===n&&("button"===i||"submit"===i||"reset"===i))return r;if(!r||"OPTION"===n)return;return wi}return"OPTION"===n||"SELECT"===n?t.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}var Ss=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,ks=/^[A-Za-z]+:|^\/\//,xs=/^data:.*,/i;function Cs(t,e){return t.replace(Ss,(function(t,n,r,i,o,a){var s=r||o||a;if(!e||!s||ks.test(s)||xs.test(s))return t;var u=n||i||"";return"url(".concat(u).concat(function(t,e){try{return ze(t,e).href}catch(e){return t}}(s,e)).concat(u,")")}))}var Es=/[^a-z1-6-_]/;function Ts(t){var e=t.toLowerCase().trim();return Es.test(e)?"div":e}function As(t,e){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='".concat(t,"' height='").concat(e,"' style='background-color:silver'%3E%3C/svg%3E")}var Rs={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},Ns={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},Is={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},Os={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},Ms={Play:0,Pause:1};function Ls(t){if(void 0!==t&&0!==t.length)return t.map((function(t){var e=t.cssRules||t.rules;return{cssRules:Array.from(e,(function(t){return t.cssText})),disabled:t.disabled||void 0,media:t.media.length>0?Array.from(t.media):void 0}}))}function Ds(t,e,n,r){if(e===gi.HIDDEN)return null;var i=t.getAttribute(n);if(e===gi.MASK&&n!==_i&&!Zi.includes(n)&&n!==r.actionNameAttribute){var o=t.tagName;switch(n){case"title":case"alt":case"placeholder":return wi}if("IMG"===o&&("src"===n||"srcset"===n)){var a=t;if(a.naturalWidth>0)return As(a.naturalWidth,a.naturalHeight);var s=t.getBoundingClientRect(),u=s.width,c=s.height;return u>0||c>0?As(u,c):Si}if("SOURCE"===o&&("src"===n||"srcset"===n))return Si;if("A"===o&&"href"===n)return wi;if(i&&w(n,"data-"))return wi;if("IFRAME"===o&&"srcdoc"===n)return wi}return i&&"string"==typeof i&&Gr(i)?Zr(i):i}function Ps(t){if(!t)return null;var e;try{e=t.rules||t.cssRules}catch(t){}return e?Cs(Array.from(e,2===tn()?Us:zs).join(""),t.href):null}function Us(t){if(function(t){return"selectorText"in t}(t)&&t.selectorText.includes(":")){return t.cssText.replace(/(\[[\w-]+[^\\])(:[^\]]+\])/g,"$1\\$2")}return zs(t)}function zs(t){return function(t){return"styleSheet"in t}(t)&&Ps(t.styleSheet)||t.cssText}function Vs(t,e){var n=function(t,e){switch(t.nodeType){case t.DOCUMENT_NODE:return function(t,e){return{type:Ns.Document,childNodes:Bs(t,e),adoptedStyleSheets:Ls(t.adoptedStyleSheets)}}(t,e);case t.DOCUMENT_FRAGMENT_NODE:return function(t,e){var n=vi(t);n&&e.serializationContext.shadowRootsController.addShadowRoot(t);return{type:Ns.DocumentFragment,childNodes:Bs(t,e),isShadowRoot:n,adoptedStyleSheets:n?Ls(t.adoptedStyleSheets):void 0}}(t,e);case t.DOCUMENT_TYPE_NODE:return n=t,{type:Ns.DocumentType,name:n.name,publicId:n.publicId,systemId:n.systemId};case t.ELEMENT_NODE:return function(t,e){var n,r=Ts(t.tagName),i=(a=t,"svg"===a.tagName||a instanceof SVGElement||void 0),o=Ci(Ei(t),e.parentNodePrivacyLevel);var a;if(o===gi.HIDDEN){var s=t.getBoundingClientRect(),u=s.width,c=s.height;return{type:Ns.Element,tagName:r,attributes:(n={rr_width:"".concat(u,"px"),rr_height:"".concat(c,"px")},n[_i]=yi,n),childNodes:[],isSVG:i}}if(o===gi.IGNORE)return;var l=function(t,e,n){var r;if(e===gi.HIDDEN)return{};for(var i={},o=Ts(t.tagName),a=t.ownerDocument,s=0;s<t.attributes.length;s+=1){var u=t.attributes.item(s).name,c=Ds(t,e,u,n.configuration);null!==c&&(i[u]=c)}if(t.value&&("textarea"===o||"select"===o||"option"===o||"input"===o)){var l=ws(t,e);void 0!==l&&(i.value=l)}if("option"===o&&e===gi.ALLOW){var d=t;d.selected&&(i.selected=d.selected)}if("link"===o){var f,p=Array.from(a.styleSheets).find((function(e){return e.href===t.href}));(f=Ps(p))&&p&&(i._cssText=f)}"style"===o&&t.sheet&&(f=Ps(t.sheet))&&(i._cssText=f);var v,h,m=t;if("input"!==o||"radio"!==m.type&&"checkbox"!==m.type||(e===gi.ALLOW?i.checked=!!m.checked:Ti(m,e)&&delete i.checked),"audio"===o||"video"===o){var g=t;i.rr_mediaState=g.paused?"paused":"played"}var _=n.serializationContext;switch(_.status){case 0:v=Math.round(t.scrollTop),h=Math.round(t.scrollLeft),(v||h)&&_.elementsScrollPositions.set(t,{scrollTop:v,scrollLeft:h});break;case 1:_.elementsScrollPositions.has(t)&&(v=(r=_.elementsScrollPositions.get(t)).scrollTop,h=r.scrollLeft)}return h&&(i.rr_scrollLeft=h),v&&(i.rr_scrollTop=v),i}(t,o,e),d=[];if(function(t){return t.childNodes.length>0||pi(t)}(t)&&"style"!==r){d=Bs(t,e.parentNodePrivacyLevel===o&&e.ignoreWhiteSpace===("head"===r)?e:S({},e,{parentNodePrivacyLevel:o,ignoreWhiteSpace:"head"===r}))}return{type:Ns.Element,tagName:r,attributes:l,childNodes:d,isSVG:i}}(t,e);case t.TEXT_NODE:return function(t,e){var n=Ni(t,e.ignoreWhiteSpace||!1,e.parentNodePrivacyLevel);if(void 0===n)return;return{type:Ns.Text,textContent:n}}(t,e);case t.CDATA_SECTION_NODE:return{type:Ns.CDATA,textContent:""}}var n}(t,e);if(!n)return null;var r=bs(t)||Fs++,i=n;return i.id=r,function(t,e){_s.set(t,e)}(t,r),e.serializedNodeIds&&e.serializedNodeIds.add(r),i}var Fs=1;function Bs(t,e){var n=[];return hi(t,(function(t){var r=Vs(t,e);r&&n.push(r)})),n}function Hs(t,e,n){return Vs(t,{serializationContext:n,parentNodePrivacyLevel:e.defaultPrivacyLevel,configuration:e})}function qs(t){return Boolean(t.changedTouches)}function js(t){return!0===t.composed&&pi(t.target)?t.composedPath()[0]:t.target}var Gs=function(t,e){var n=window.visualViewport,r={layoutViewportX:t,layoutViewportY:e,visualViewportX:t,visualViewportY:e};return n?(!function(t){return Math.abs(t.pageTop-t.offsetTop-window.scrollY)>25||Math.abs(t.pageLeft-t.offsetLeft-window.scrollX)>25}(n)?(r.visualViewportX=Math.round(t-n.offsetLeft),r.visualViewportY=Math.round(e-n.offsetTop)):(r.layoutViewportX=Math.round(t+n.offsetLeft),r.layoutViewportY=Math.round(e+n.offsetTop)),r):r},Zs=function(t){return{scale:t.scale,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,pageLeft:t.pageLeft,pageTop:t.pageTop,height:t.height,width:t.width}};function Ks(t,e){return{data:S({source:t},e),type:Rs.IncrementalSnapshot,timestamp:te()}}var Ws,Xs=50;function Ys(t,e){var n=M((function(t){var n=js(t);if(ys(n)){var r=Js(t);if(!r)return;var i={id:bs(n),timeOffset:0,x:r.x,y:r.y};e(Ks(qs(t)?Is.TouchMove:Is.MouseMove,{positions:[i]}))}}),Xs,{trailing:!1}),r=n.throttled,i=n.cancel,o=at(t,document,["mousemove","touchmove"],r,{capture:!0,passive:!0}).stop;return{stop:function(){o(),i()}}}function Js(t){var e=qs(t)?t.changedTouches[0]:t,n=e.clientX,r=e.clientY;if(window.visualViewport){var i=Gs(n,r);n=i.visualViewportX,r=i.visualViewportY}if(Number.isFinite(n)&&Number.isFinite(r))return{x:n,y:r};t.isTrusted&&ye("mouse/touch event without x/y")}var $s=((Ws={}).pointerup=Os.MouseUp,Ws.mousedown=Os.MouseDown,Ws.click=Os.Click,Ws.contextmenu=Os.ContextMenu,Ws.dblclick=Os.DblClick,Ws.focus=Os.Focus,Ws.blur=Os.Blur,Ws.touchstart=Os.TouchStart,Ws.touchend=Os.TouchEnd,Ws);function Qs(t,e,n){return at(t,document,Object.keys($s),(function(r){var i=js(r);if(xi(i,t.defaultPrivacyLevel)!==gi.HIDDEN&&ys(i)){var o,a=bs(i),s=$s[r.type];if(s!==Os.Blur&&s!==Os.Focus){var u=Js(r);if(!u)return;o={id:a,type:s,x:u.x,y:u.y}}else o={id:a,type:s};var c=S({id:n.getIdForEvent(r)},Ks(Is.MouseInteraction,o));e(c)}}),{capture:!0,passive:!0})}var tu=100;function eu(t,e,n,r){void 0===r&&(r=document);var i=M((function(r){var i=js(r);if(i&&xi(i,t.defaultPrivacyLevel)!==gi.HIDDEN&&ys(i)){var o=bs(i),a=i===document?{scrollTop:ca(),scrollLeft:ua()}:{scrollTop:Math.round(i.scrollTop),scrollLeft:Math.round(i.scrollLeft)};n.set(i,a),e(Ks(Is.Scroll,{id:o,x:a.scrollLeft,y:a.scrollTop}))}}),tu),o=i.throttled,a=i.cancel,s=ot(t,r,"scroll",o,{capture:!0,passive:!0}).stop;return{stop:function(){s(),a()}}}var nu=200;function ru(t,e){var n=la(t).subscribe((function(t){e(Ks(Is.ViewportResize,t))}));return{stop:function(){n.unsubscribe()}}}function iu(t,e){var n=window.visualViewport;if(!n)return{stop:L};var r=M((function(){e({data:Zs(n),type:Rs.VisualViewport,timestamp:te()})}),nu,{trailing:!1}),i=r.throttled,o=r.cancel,a=at(t,n,["resize","scroll"],i,{capture:!0,passive:!0}).stop;return{stop:function(){a(),o()}}}function ou(t,e){return at(t,document,["play","pause"],(function(n){var r=js(n);r&&xi(r,t.defaultPrivacyLevel)!==gi.HIDDEN&&ys(r)&&e(Ks(Is.MediaInteraction,{id:bs(r),type:"play"===n.type?Ms.Play:Ms.Pause}))}),{capture:!0,passive:!0})}function au(t){function e(t,e){t&&ys(t.ownerNode)&&e(bs(t.ownerNode))}var n=[De(CSSStyleSheet.prototype,"insertRule",(function(n){var r=n.target,i=n.parameters,o=i[0],a=i[1];e(r,(function(e){return t(Ks(Is.StyleSheetRule,{id:e,adds:[{rule:o,index:a}]}))}))})),De(CSSStyleSheet.prototype,"deleteRule",(function(n){var r=n.target,i=n.parameters[0];e(r,(function(e){return t(Ks(Is.StyleSheetRule,{id:e,removes:[{index:i}]}))}))}))];function r(r){n.push(De(r.prototype,"insertRule",(function(n){var r=n.target,i=n.parameters,o=i[0],a=i[1];e(r.parentStyleSheet,(function(e){var n=su(r);n&&(n.push(a||0),t(Ks(Is.StyleSheetRule,{id:e,adds:[{rule:o,index:n}]})))}))})),De(r.prototype,"deleteRule",(function(n){var r=n.target,i=n.parameters[0];e(r.parentStyleSheet,(function(e){var n=su(r);n&&(n.push(i),t(Ks(Is.StyleSheetRule,{id:e,removes:[{index:n}]})))}))})))}return"undefined"!=typeof CSSGroupingRule?r(CSSGroupingRule):(r(CSSMediaRule),r(CSSSupportsRule)),{stop:function(){n.forEach((function(t){return t.stop()}))}}}function su(t){for(var e=[],n=t;n.parentRule;){var r=Array.from(n.parentRule.cssRules).indexOf(n);e.unshift(r),n=n.parentRule}if(n.parentStyleSheet){var i=Array.from(n.parentStyleSheet.cssRules).indexOf(n);return e.unshift(i),e}}function uu(t,e){return at(t,window,["focus","blur"],(function(){e({data:{has_focus:document.hasFocus()},type:Rs.Focus,timestamp:te()})}))}function cu(t,e,n){var r=t.subscribe(11,(function(t){var r,i;"action"===t.rawRumEvent.type&&"click"===t.rawRumEvent.action.type&&(null===(i=null===(r=t.rawRumEvent.action.frustration)||void 0===r?void 0:r.type)||void 0===i?void 0:i.length)&&"events"in t.domainContext&&t.domainContext.events&&t.domainContext.events.length&&e({timestamp:t.rawRumEvent.date,type:Rs.FrustrationRecord,data:{frustrationTypes:t.rawRumEvent.action.frustration.type,recordIds:t.domainContext.events.map((function(t){return n.getIdForEvent(t)}))}})}));return{stop:function(){r.unsubscribe()}}}function lu(t,e){var n=t.subscribe(4,(function(){e({timestamp:te(),type:Rs.ViewEnd})}));return{stop:function(){n.unsubscribe()}}}function du(t,e,n){void 0===n&&(n=document);var r,i=t.defaultPrivacyLevel,o=new WeakMap,a=n!==document,s=at(t,n,a?["change"]:["input","change"],(function(t){var e=js(t);(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)&&c(e)}),{capture:!0,passive:!0}).stop;if(a)r=L;else{var u=[Pe(HTMLInputElement.prototype,"value",c),Pe(HTMLInputElement.prototype,"checked",c),Pe(HTMLSelectElement.prototype,"value",c),Pe(HTMLTextAreaElement.prototype,"value",c),Pe(HTMLSelectElement.prototype,"selectedIndex",c)];r=function(){u.forEach((function(t){return t.stop()}))}}return{stop:function(){r(),s()}};function c(t){var e=xi(t,i);if(e!==gi.HIDDEN){var n,r=t.type;if("radio"===r||"checkbox"===r){if(Ti(t,e))return;n={isChecked:t.checked}}else{var o=ws(t,e);if(void 0===o)return;n={text:o}}l(t,n);var a,s,u=t.name;"radio"===r&&u&&t.checked&&(a=document.querySelectorAll('input[type="radio"][name="'.concat(si(u),'"]')),s=function(e){e!==t&&l(e,{isChecked:!1})},Array.prototype.forEach.call(a,s))}}function l(t,n){if(ys(t)){var r=o.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(o.set(t,n),e(Ks(Is.Input,S({id:bs(t)},n))))}}}var fu=100,pu=16;function vu(t){var e=L,n=[];function r(){e(),t(n),n=[]}var i=M(r,pu,{leading:!1}),o=i.throttled,a=i.cancel;return{addMutations:function(t){0===n.length&&(e=function(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){var n=window.requestIdleCallback(p(t),e);return function(){return window.cancelIdleCallback(n)}}var r=window.requestAnimationFrame(p(t));return function(){return window.cancelAnimationFrame(r)}}(o,{timeout:fu})),n.push.apply(n,t)},flush:r,stop:function(){e(),a()}}}function hu(t,e,n,r){var i=sr();if(!i)return{stop:L,flush:L};var o=vu((function(r){!function(t,e,n,r){var i=new Map;t.filter((function(t){return"childList"===t.type})).forEach((function(t){t.removedNodes.forEach((function(t){mu(t,r.removeShadowRoot)}))}));var o=t.filter((function(t){return t.target.isConnected&&function(t){for(var e=t;e;){if(!ys(e)&&!vi(e))return!1;e=mi(e)}return!0}(t.target)&&xi(t.target,n.defaultPrivacyLevel,i)!==gi.HIDDEN})),a=function(t,e,n,r){for(var i=new Set,o=new Map,a=function(t){t.addedNodes.forEach((function(t){i.add(t)})),t.removedNodes.forEach((function(e){i.has(e)||o.set(e,t.target),i.delete(e)}))},s=0,u=t;s<u.length;s++){a(u[s])}var c=Array.from(i);l=c,l.sort((function(t,e){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS||n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0}));var l;for(var d=new Set,f=[],p=0,v=c;p<v.length;p++){var h=v[p];if(!b(h)){var m=xi(h.parentNode,e.defaultPrivacyLevel,r);if(m!==gi.HIDDEN&&m!==gi.IGNORE){var g=Vs(h,{serializedNodeIds:d,parentNodePrivacyLevel:m,serializationContext:{status:2,shadowRootsController:n},configuration:e});if(g){var _=mi(h);f.push({nextId:w(h),parentId:bs(_),node:g})}}}}var y=[];return o.forEach((function(t,e){ys(e)&&y.push({parentId:bs(t),id:bs(e)})})),{adds:f,removes:y,hasBeenSerialized:b};function b(t){return ys(t)&&d.has(bs(t))}function w(t){for(var e=t.nextSibling;e;){if(ys(e))return bs(e);e=e.nextSibling}return null}}(o.filter((function(t){return"childList"===t.type})),n,r,i),s=a.adds,u=a.removes,c=a.hasBeenSerialized,l=function(t,e,n){for(var r,i=[],o=new Set,a=t.filter((function(t){return!o.has(t.target)&&(o.add(t.target),!0)})),s=0,u=a;s<u.length;s++){var c=u[s];if(c.target.textContent!==c.oldValue){var l=xi(mi(c.target),e.defaultPrivacyLevel,n);l!==gi.HIDDEN&&l!==gi.IGNORE&&i.push({id:bs(c.target),value:null!==(r=Ni(c.target,!1,l))&&void 0!==r?r:null})}}return i}(o.filter((function(t){return"characterData"===t.type&&!c(t.target)})),n,i),d=function(t,e,n){for(var r=[],i=new Map,o=t.filter((function(t){var e=i.get(t.target);return(!e||!e.has(t.attributeName))&&(e?e.add(t.attributeName):i.set(t.target,new Set([t.attributeName])),!0)})),a=new Map,s=0,u=o;s<u.length;s++){var c=u[s];if(c.target.getAttribute(c.attributeName)!==c.oldValue){var l=xi(c.target,e.defaultPrivacyLevel,n),d=Ds(c.target,l,c.attributeName,e),f=void 0;if("value"===c.attributeName){var p=ws(c.target,l);if(void 0===p)continue;f=p}else f="string"==typeof d?d:null;var v=a.get(c.target);v||(v={id:bs(c.target),attributes:{}},r.push(v),a.set(c.target,v)),v.attributes[c.attributeName]=f}}return r}(o.filter((function(t){return"attributes"===t.type&&!c(t.target)})),n,i);if(!(l.length||d.length||u.length||s.length))return;e(Ks(Is.Mutation,{adds:s,removes:u,texts:l,attributes:d}))}(r.concat(a.takeRecords()),t,e,n)})),a=new i(p(o.addMutations));return a.observe(r,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){a.disconnect(),o.stop()},flush:function(){o.flush()}}}function mu(t,e){pi(t)&&e(t.shadowRoot),hi(t,(function(t){return mu(t,e)}))}var gu=function(t,e,n){var r=new Map,i={addShadowRoot:function(o){if(!r.has(o)){var a=hu(e,t,i,o),s=du(t,e,o),u=eu(t,e,n,o);r.set(o,{flush:function(){return a.flush()},stop:function(){a.stop(),s.stop(),u.stop()}})}},removeShadowRoot:function(t){var e=r.get(t);e&&(e.stop(),r.delete(t))},stop:function(){r.forEach((function(t){return(0,t.stop)()}))},flush:function(){r.forEach((function(t){return(0,t.flush)()}))}};return i};function _u(t){var e=t.emit,n=t.configuration,r=t.lifeCycle;if(!e)throw new Error("emit function is required");var i,o=function(n){e(n),ue("record",{record:n});var r=t.viewHistory.findView();gs(r.id).records_count+=1},a=(i=new WeakMap,{set:function(t,e){(t!==document||document.scrollingElement)&&i.set(t===document?document.scrollingElement:t,e)},get:function(t){return i.get(t)},has:function(t){return i.has(t)}}),s=gu(n,o,a),u=function(t,e,n,r,i,o){var a=function(n,i){void 0===n&&(n=te()),void 0===i&&(i={status:0,elementsScrollPositions:t,shadowRootsController:e});var o=da(),a=o.width,s=[{data:{height:o.height,href:window.location.href,width:a},type:Rs.Meta,timestamp:n},{data:{has_focus:document.hasFocus()},type:Rs.Focus,timestamp:n},{data:{node:Hs(document,r,i),initialOffset:{left:ua(),top:ca()}},type:Rs.FullSnapshot,timestamp:n}];return window.visualViewport&&s.push({data:Zs(window.visualViewport),type:Rs.VisualViewport,timestamp:n}),s};return o(a()),{stop:n.subscribe(2,(function(n){i(),o(a(n.startClocks.timeStamp,{shadowRootsController:e,status:1,elementsScrollPositions:t}))})).unsubscribe}}(a,s,r,n,c,(function(t){return t.forEach((function(t){return o(t)}))})).stop;function c(){s.flush(),d.flush()}var l=function(){var t=new WeakMap,e=1;return{getIdForEvent:function(n){return t.has(n)||t.set(n,e++),t.get(n)}}}(),d=hu(o,n,s,document),f=[d,Ys(n,o),Qs(n,o,l),eu(n,o,a,document),ru(n,o),du(n,o),ou(n,o),au(o),uu(n,o),iu(n,o),cu(r,o,l),lu(r,(function(t){c(),o(t)}))];return{stop:function(){s.stop(),f.forEach((function(t){return t.stop()})),u()},flushMutations:c,shadowRootsController:s}}function yu(t){var e=t.context,n=t.creationReason,r=t.encoder,i=0,o=e.view.id,a=S({start:1/0,end:-1/0,creation_reason:n,records_count:0,has_full_snapshot:!1,index_in_view:ms(o),source:"browser"},e);return function(t){gs(t).segments_count+=1}(o),{addRecord:function(t,e){a.start=Math.min(a.start,t.timestamp),a.end=Math.max(a.end,t.timestamp),a.records_count+=1,a.has_full_snapshot||(a.has_full_snapshot=t.type===Rs.FullSnapshot);var n=r.isEmpty?'{"records":[':",";r.write(n+JSON.stringify(t),(function(t){e(i+=t)}))},flush:function(t){if(r.isEmpty)throw new Error("Empty segment flushed");r.write("],".concat(JSON.stringify(a).slice(1),"\n")),r.finish((function(e){!function(t,e){gs(t).segments_total_raw_size+=e}(a.view.id,e.rawBytesCount),t(a,e)}))}}}var bu=5*Zt,wu=6e4;function Su(t,e,n,r,i,o){return function(t,e,n,r){var i={status:0,nextSegmentCreationReason:"init"},o=t.subscribe(2,(function(){s("view_change")})).unsubscribe,a=t.subscribe(10,(function(t){s(t.reason)})).unsubscribe;function s(t){1===i.status&&(i.segment.flush((function(e,r){var i=function(t,e,n){var r=new FormData;r.append("segment",new Blob([t],{type:"application/octet-stream"}),"".concat(e.session.id,"-").concat(e.start));var i=S({raw_segment_size:n,compressed_segment_size:t.byteLength},e),o=JSON.stringify(i);return r.append("event",new Blob([o],{type:"application/json"})),{data:r,bytesCount:t.byteLength}}(r.output,e,r.rawBytesCount);ar(t)?n.sendOnExit(i):n.send(i)})),N(i.expirationTimeoutId)),i="stop"!==t?{status:0,nextSegmentCreationReason:t}:{status:2}}return{addRecord:function(t){if(2!==i.status){if(0===i.status){var n=e();if(!n)return;i={status:1,segment:yu({encoder:r,context:n,creationReason:i.nextSegmentCreationReason}),expirationTimeoutId:R((function(){s("segment_duration_limit")}),bu)}}i.segment.addRecord(t,(function(t){t>wu&&s("segment_bytes_limit")}))}},stop:function(){s("stop"),o(),a()}}}(t,(function(){return function(t,e,n){var r=e.findTrackedSession(),i=n.findView();if(!r||!i)return;return{application:{id:t},session:{id:r.id},view:{id:i.id}}}(e.applicationId,n,r)}),i,o)}function ku(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}function xu(t,e,n,r){var i=e.findTrackedSession(),o=function(t,e){if(!ku())return"browser-not-supported";if(!t)return"rum-not-tracked";if(0===t.sessionReplay)return"incorrect-session-plan";if(!e)return"replay-not-started"}(i,r);return ps(t,{viewContext:n.findView(),errorType:o,session:i})}function Cu(t,e,n){var r,i=0,o=[],a=0,s=[],u=ot(t,e,"message",(function(t){var e=t.data;if("wrote"===e.type&&e.streamId===n){i+=e.additionalBytesCount,o.push(e.result),r=e.trailer;var a=s.shift();a&&a.id===e.id?a.writeCallback?a.writeCallback(e.result.byteLength):a.finishCallback&&a.finishCallback():(u(),ye("Worker responses received out of order."))}})).stop;function c(){var t=0===o.length?new Uint8Array(0):function(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),n=new Uint8Array(e),r=0,i=0,o=t;i<o.length;i++){var a=o[i];n.set(a,r),r+=a.length}return n}(o.concat(r)),e={rawBytesCount:i,output:t,outputBytesCount:t.byteLength,encoding:"deflate"};return i=0,o=[],e}function l(){a>0&&(e.postMessage({action:"reset",streamId:n}),a=0)}return{isAsync:!0,get isEmpty(){return 0===a},write:function(t,r){e.postMessage({action:"write",id:a,data:t,streamId:n}),s.push({id:a,writeCallback:r,data:t}),a+=1},finish:function(t){l(),s.length?(s.forEach((function(t){delete t.writeCallback})),s[s.length-1].finishCallback=function(){return t(c())}):t(c())},finishSync:function(){l();var t=s.map((function(t){return delete t.writeCallback,delete t.finishCallback,t.data})).join("");return S(c(),{pendingData:t})},estimateEncodedBytesCount:function(t){return t.length/8},stop:function(){u()}}}var Eu=30*Zt;function Tu(t){return new Worker(t.workerUrl||URL.createObjectURL(new Blob(['!function(){"use strict";function t(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),a=new Uint8Array(e),n=0,r=0,i=t;r<i.length;r++){var s=i[r];a.set(s,n),n+=s.length}return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=256,n=286,r=30,i=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),_=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),h=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var d=new Array(60);e(d);var u=new Array(512);e(u);var f=new Array(256);e(f);var c=new Array(29);e(c);var p,g,w,v=new Array(r);function b(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function m(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(v);var y=function(t){return t<256?u[t]:u[256+(t>>>7)]},k=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},z=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,k(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},x=function(t,e,a){z(t,a[2*e],a[2*e+1])},A=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},E=function(t,e,a){var n,r,s=new Array(16),_=0;for(n=1;n<=i;n++)s[n]=_=_+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=A(s[h]++,h))}},Z=function(t){var e;for(e=0;e<n;e++)t.dyn_ltree[2*e]=0;for(e=0;e<r;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},U=function(t){t.bi_valid>8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},S=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},R=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&S(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!S(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},L=function(t,e,n){var r,i,h,l,o=0;if(0!==t.last_lit)do{r=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],i=t.pending_buf[t.l_buf+o],o++,0===r?x(t,i,e):(h=f[i],x(t,h+a+1,e),0!==(l=s[h])&&(i-=c[h],z(t,i,l)),r--,h=y(r),x(t,h,n),0!==(l=_[h])&&(r-=v[h],z(t,r,l)))}while(o<t.last_lit);x(t,256,e)},F=function(t,e){var a,n,r,s=e.dyn_tree,_=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,o=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==s[2*a]?(t.heap[++t.heap_len]=o=a,t.depth[a]=0):s[2*a+1]=0;for(;t.heap_len<2;)s[2*(r=t.heap[++t.heap_len]=o<2?++o:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=_[2*r+1]);for(e.max_code=o,a=t.heap_len>>1;a>=1;a--)R(t,s,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*r]=s[2*a]+s[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=r,t.heap[1]=r++,R(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,s,_,h,l=e.dyn_tree,o=e.max_code,d=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=i;s++)t.bl_count[s]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=l[2*l[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),l[2*n+1]=s,n>o||(t.bl_count[s]++,_=0,n>=c&&(_=f[n-c]),h=l[2*n],t.opt_len+=h*(s+_),u&&(t.static_len+=h*(d[2*n+1]+_)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--a])>o||(l[2*r+1]!==s&&(t.opt_len+=(s-l[2*r+1])*l[2*r],l[2*r+1]=s),n--)}}(t,e),E(s,o,t.bl_count)},T=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++_<h&&r===s||(_<l?t.bl_tree[2*r]+=_:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):_<=10?t.bl_tree[34]++:t.bl_tree[36]++,_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4))},I=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++_<h&&r===s)){if(_<l)do{x(t,r,t.bl_tree)}while(0!=--_);else 0!==r?(r!==i&&(x(t,r,t.bl_tree),_--),x(t,16,t.bl_tree),z(t,_-3,2)):_<=10?(x(t,17,t.bl_tree),z(t,_-3,3)):(x(t,18,t.bl_tree),z(t,_-11,7));_=0,i=r,0===s?(h=138,l=3):r===s?(h=6,l=3):(h=7,l=4)}},N=!1,O=function(t,e,a,n){z(t,0+(n?1:0),3),function(t,e,a,n){U(t),n&&(k(t,a),k(t,~a)),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a,!0)},D=function(t,e,n,r){var i,s,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),F(t,t.l_desc),F(t,t.d_desc),_=function(t){var e;for(T(t,t.dyn_ltree,t.l_desc.max_code),T(t,t.dyn_dtree,t.d_desc.max_code),F(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==e?O(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),L(t,o,d)):(z(t,4+(r?1:0),3),function(t,e,a,n){var r;for(z(t,e-257,5),z(t,a-1,5),z(t,n-4,4),r=0;r<n;r++)z(t,t.bl_tree[2*l[r]+1],3);I(t,t.dyn_ltree,e-1),I(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),L(t,t.dyn_ltree,t.dyn_dtree)),Z(t),r&&U(t)},B={_tr_init:function(t){N||(!function(){var t,e,a,l,m,y=new Array(16);for(a=0,l=0;l<28;l++)for(c[l]=a,t=0;t<1<<s[l];t++)f[a++]=l;for(f[a-1]=l,m=0,l=0;l<16;l++)for(v[l]=m,t=0;t<1<<_[l];t++)u[m++]=l;for(m>>=7;l<r;l++)for(v[l]=m<<7,t=0;t<1<<_[l]-7;t++)u[256+m++]=l;for(e=0;e<=i;e++)y[e]=0;for(t=0;t<=143;)o[2*t+1]=8,t++,y[8]++;for(;t<=255;)o[2*t+1]=9,t++,y[9]++;for(;t<=279;)o[2*t+1]=7,t++,y[7]++;for(;t<=287;)o[2*t+1]=8,t++,y[8]++;for(E(o,287,y),t=0;t<r;t++)d[2*t+1]=5,d[2*t]=A(t,5);p=new b(o,s,257,n,i),g=new b(d,_,0,r,i),w=new b(new Array(0),h,0,19,7)}(),N=!0),t.l_desc=new m(t.dyn_ltree,p),t.d_desc=new m(t.dyn_dtree,g),t.bl_desc=new m(t.bl_tree,w),t.bi_buf=0,t.bi_valid=0,Z(t)},_tr_stored_block:O,_tr_flush_block:D,_tr_tally:function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(f[n]+a+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){z(t,2,3),x(t,256,o),function(t){16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},C=function(t,e,a,n){for(var r=65535&t|0,i=t>>>16&65535|0,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16|0},H=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),M=function(t,e,a,n){var r=H,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},Y={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,j=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,rt=K.Z_BUF_ERROR,it=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,_t=K.Z_HUFFMAN_ONLY,ht=K.Z_RLE,lt=K.Z_FIXED,ot=K.Z_DEFAULT_STRATEGY,dt=K.Z_UNKNOWN,ut=K.Z_DEFLATED,ft=258,ct=262,pt=103,gt=113,wt=666,vt=function(t,e){return t.msg=Y[e],e},bt=function(t){return(t<<1)-(t>4?9:0)},mt=function(t){for(var e=t.length;--e>=0;)t[e]=0},yt=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},kt=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,kt(t.strm)},xt=function(t,e){t.pending_buf[t.pending++]=e},At=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,_=t.nice_match,h=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,l=t.window,o=t.w_mask,d=t.prev,u=t.strstart+ft,f=l[i+s-1],c=l[i+s];t.prev_length>=t.good_match&&(r>>=2),_>t.lookahead&&(_=t.lookahead);do{if(l[(a=e)+s]===c&&l[a+s-1]===f&&l[a]===l[i]&&l[++a]===l[i+1]){i+=2,a++;do{}while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&i<u);if(n=ft-(u-i),i=u-ft,n>s){if(t.match_start=e,s=n,n>=_)break;f=l[i+s-1],c=l[i+s]}}}while((e=d[e&o])>h&&0!=--r);return s<=t.lookahead?s:t.lookahead},Zt=function(t){var e,a,n,r,i,s,_,h,l,o,d=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-ct)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,_=t.window,h=t.strstart+t.lookahead,l=r,o=void 0,(o=s.avail_in)>l&&(o=l),a=0===o?0:(s.avail_in-=o,_.set(s.input.subarray(s.next_in,s.next_in+o),h),1===s.state.wrap?s.adler=C(s.adler,_,o,h):2===s.state.wrap&&(s.adler=M(s.adler,_,o,h)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=yt(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=yt(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<ct&&0!==t.strm.avail_in)},Ut=function(t,e){for(var a,n;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ct&&(t.match_length=Et(t,a)),t.match_length>=3)if(n=X(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2},St=function(t,e){for(var a,n,r;;){if(t.lookahead<ct){if(Zt(t),t.lookahead<ct&&e===q)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-ct&&(t.match_length=Et(t,a),t.match_length<=5&&(t.strategy===st||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=X(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2};function Rt(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var Lt=[new Rt(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Zt(t),0===t.lookahead&&e===q)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,zt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-ct&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(zt(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Ut),new Rt(4,5,16,8,Ut),new Rt(4,6,32,32,Ut),new Rt(4,4,16,16,St),new Rt(8,16,32,32,St),new Rt(8,16,128,128,St),new Rt(8,32,128,256,St),new Rt(32,128,258,1024,St),new Rt(32,258,258,4096,St)];function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ut,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),mt(this.dyn_ltree),mt(this.dyn_dtree),mt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),mt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),mt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Tt=function(t){if(!t||!t.state)return vt(t,at);t.total_in=t.total_out=0,t.data_type=dt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:gt,t.adler=2===e.wrap?0:1,e.last_flush=q,P(e),tt},It=function(t){var e,a=Tt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,mt(e.head),e.max_lazy_match=Lt[e.level].max_lazy,e.good_match=Lt[e.level].good_length,e.nice_match=Lt[e.level].nice_length,e.max_chain_length=Lt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Nt=function(t,e,a,n,r,i){if(!t)return at;var s=1;if(e===it&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==ut||n<8||n>15||e<0||e>9||i<0||i>lt)return vt(t,at);8===n&&(n=9);var _=new Ft;return t.state=_,_.strm=t,_.wrap=s,_.gzhead=null,_.w_bits=n,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=r+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<<r+6,_.pending_buf_size=4*_.lit_bufsize,_.pending_buf=new Uint8Array(_.pending_buf_size),_.d_buf=1*_.lit_bufsize,_.l_buf=3*_.lit_bufsize,_.level=e,_.strategy=i,_.method=a,It(t)},Ot={deflateInit:function(t,e){return Nt(t,e,ut,15,8,ot)},deflateInit2:Nt,deflateReset:It,deflateResetKeep:Tt,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?at:(t.state.gzhead=e,tt):at},deflate:function(t,e){var a,n;if(!t||!t.state||e>$||e<0)return t?vt(t,at):at;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===wt&&e!==V)return vt(t,0===t.avail_out?rt:at);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=M(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,3),r.status=gt);else{var s=ut+(r.w_bits-8<<4)<<8;s|=(r.strategy>=_t||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(s|=32),s+=31-s%31,r.status=gt,At(r,s),0!==r.strstart&&(At(r,t.adler>>>16),At(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending!==r.pending_buf_size));)xt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,xt(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=pt)}else r.status=pt;if(r.status===pt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&kt(t),r.pending+2<=r.pending_buf_size&&(xt(r,255&t.adler),xt(r,t.adler>>8&255),t.adler=0,r.status=gt)):r.status=gt),0!==r.pending){if(kt(t),0===t.avail_out)return r.last_flush=-1,tt}else if(0===t.avail_in&&bt(e)<=bt(i)&&e!==V)return vt(t,rt);if(r.status===wt&&0!==t.avail_in)return vt(t,rt);if(0!==t.avail_in||0!==r.lookahead||e!==q&&r.status!==wt){var _=r.strategy===_t?function(t,e){for(var a;;){if(0===t.lookahead&&(Zt(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===ht?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=ft){if(Zt(t),t.lookahead<=ft&&e===q)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+ft;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=ft-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):Lt[r.level].func(r,e);if(3!==_&&4!==_||(r.status=wt),1===_||3===_)return 0===t.avail_out&&(r.last_flush=-1),tt;if(2===_&&(e===J?W(r):e!==$&&(j(r,0,0,!1),e===Q&&(mt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),kt(t),0===t.avail_out))return r.last_flush=-1,tt}return e!==V?tt:r.wrap<=0?et:(2===r.wrap?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(r,t.total_in>>24&255)):(At(r,t.adler>>>16),At(r,65535&t.adler)),kt(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?tt:et)},deflateEnd:function(t){if(!t||!t.state)return at;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==pt&&e!==gt&&e!==wt?vt(t,at):(t.state=null,e===gt?vt(t,nt):tt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return at;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return at;if(1===r&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(mt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,_=t.next_in,h=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Zt(n);n.lookahead>=3;){var l=n.strstart,o=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[l+3-1]),n.prev[l&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=l,l++}while(--o);n.strstart=l,n.lookahead=2,Zt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=_,t.input=h,t.avail_in=s,n.wrap=r,tt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Dt=new Uint8Array(256),Bt=0;Bt<256;Bt++)Dt[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;Dt[254]=Dt[254]=1;var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Ht=Object.prototype.toString,Mt=K.Z_NO_FLUSH,Yt=K.Z_SYNC_FLUSH,Kt=K.Z_FULL_FLUSH,Pt=K.Z_FINISH,jt=K.Z_OK,Gt=K.Z_STREAM_END,Xt=K.Z_DEFAULT_COMPRESSION,Wt=K.Z_DEFAULT_STRATEGY,qt=K.Z_DEFLATED;function Jt(){this.options={level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;var e=Ot.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==jt)throw new Error(Y[e]);if(t.header&&Ot.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Ot.deflateSetDictionary(this.strm,a))!==jt)throw new Error(Y[e]);this._dict_set=!0}}function Qt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function Vt(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}Jt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?Pt:Mt,"[object ArrayBuffer]"===Ht.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(n===Yt||n===Kt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Ot.deflate(r,n))===Gt)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Ot.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===jt;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===jt&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,_=t.length;i<_;i++){var h=t[i];r.set(h,s),s+=h.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e){void 0===e&&(e=self);try{var a=new Map;e.addEventListener("message",(function(n){try{var r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"5.30.0"};case"write":var n=e.get(a.streamId);n||(n=new Jt,e.set(a.streamId,n));var r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,a,n,r,i,s=t.length,_=0;for(r=0;r<s;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),_+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(_),i=0,r=0;i<_;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<s&&56320==(64512&(n=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(n-56320),r++),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,K.Z_SYNC_FLUSH),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:Vt(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){Qt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){Qt(e,t)}}()}();'])))}var Au={status:0};function Ru(t,e,n,r){switch(void 0===r&&(r=Tu),0===Au.status&&function(t,e,n){void 0===n&&(n=Tu);try{var r=n(t),o=ot(t,r,"error",(function(n){Iu(t,e,n)})).stop,a=ot(t,r,"message",(function(n){var r,i=n.data;"errored"===i.type?Iu(t,e,i.error,i.streamId):"initialized"===i.type&&(r=i.version,1===Au.status&&(Au={status:3,worker:Au.worker,stop:Au.stop,version:r}))})).stop;r.postMessage({action:"init"}),R((function(){return function(t){1===Au.status&&(i.error("".concat(t," failed to start: a timeout occurred while initializing the Worker")),Au.initializationFailureCallbacks.forEach((function(t){return t()})),Au={status:2})}(e)}),Eu),Au={status:1,worker:r,stop:function(){o(),a()},initializationFailureCallbacks:[]}}catch(n){Iu(t,e,n)}}(t,e,r),Au.status){case 1:return Au.initializationFailureCallbacks.push(n),Au.worker;case 3:return Au.worker}}function Nu(){return Au.status}function Iu(t,e,n,r){if(1===Au.status||0===Au.status){if(i.error("".concat(e," failed to start: an error occurred while creating the Worker:"),n),n instanceof Event||n instanceof Error&&(m(s=n.message,"Content Security Policy")||m(s,"requires 'TrustedScriptURL'"))){var a=void 0;a=t.workerUrl?"Please make sure the Worker URL ".concat(t.workerUrl," is correct and CSP is correctly configured."):"Please make sure CSP is correctly configured.",i.error("".concat(a," See documentation at ").concat(o,"/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else be(n);1===Au.status&&Au.initializationFailureCallbacks.forEach((function(t){return t()})),Au={status:2}}else be(n,{worker_version:3===Au.status&&Au.version,stream_id:r});var s}var Ou,Mu,Lu,Du,Pu=function(t,e){if(Le()&&!Me("records")||!ku())return{start:L,stop:L,getReplayStats:function(){},onRumStart:L,isRecording:function(){return!1},getSessionReplayLink:function(){}};var n={status:1},r=function(){n={status:1}},i=function(){n={status:0}},o=L;return{start:function(t){return r(t)},stop:function(){return i()},getSessionReplayLink:function(){return o()},onRumStart:function(a,s,u,c,l){var d;s.startSessionReplayRecordingManually&&(n={status:0}),a.subscribe(8,(function(){2!==n.status&&3!==n.status||(i(),n={status:1})})),a.subscribe(10,(function(t){t.reason===or.UNLOADING&&i()})),a.subscribe(9,(function(){1===n.status&&r()})),r=function(r){var o=u.findTrackedSession();o&&(0!==o.sessionReplay||r&&r.force)?2!==n.status&&3!==n.status&&(n={status:2},Oo(s,"interactive",(function(){if(2===n.status){var r=(d||(l||(l=Ru(s,"Datadog Session Replay",(function(){i()}),e)),l&&(d=Cu(s,l,1))),d);if(r){var o=t(a,s,u,c,r).stop;n={status:3,stopRecording:o}}else n={status:0}}})),r&&r.force&&0===o.sessionReplay&&u.setForcedReplay()):n={status:1}},i=function(){0!==n.status&&(3===n.status&&n.stopRecording(),n={status:0})},o=function(){return xu(s,u,c,0!==n.status)},1===n.status&&r()},isRecording:function(){return 3===Nu()&&3===n.status},getReplayStats:function(t){return 3===Nu()?function(t){return null==vs?void 0:vs.get(t)}(t):void 0}}}((function(t,e,n,r,i,o){var a,s=[],u=o||Fa(e.sessionReplayEndpointBuilder,wu,(function(e){t.notify(13,{error:e}),ye("Error reported to customer",{"error.message":e.message})}));if(Le())a=function(t){var e=Oe();return{addRecord:function(n){var r=t.findView();e.send("record",n,r.id)}}}(r).addRecord;else{var c=Su(t,e,n,r,u,i);a=c.addRecord,s.push(c.stop)}var l=_u({emit:a,configuration:e,lifeCycle:t,viewHistory:r}).stop;return s.push(l),{stop:function(){s.forEach((function(t){return t()}))}}})),Uu=function(t,e,n){void 0===n&&(n={});var r,o,a=q(0),s=rt(a.getOrCreateTracker(2)),u=rt(a.getOrCreateTracker(1)),c={tryToInit:function(t){r||(r=t)},update:function(t){r=t,o.notify()},isGranted:function(){return r===it.GRANTED},observable:o=new et},l={vitalsByName:new Map,vitalsByReference:new WeakMap};function d(){return function(t,e,n){return{context:t.getContext(),user:e.getContext(),hasReplay:!!n.isRecording()||void 0}}(s,u,e)}var h,m,g=ir(n,d,c,l,(function(r,i,o){r.storeContextsAcrossPages&&(ct(r,s,"rum",2),ct(r,u,"rum",1)),a.setCompressionStatus(i?1:2);var f=t(r,e,a,d,o,i&&n.createDeflateEncoder?function(t){return n.createDeflateEncoder(r,i,t)}:lt,c,l);return e.onRumStart(f.lifeCycle,r,f.session,f.viewHistory,i),g=function(t,e){return S({init:function(t){xe("DD_RUM",t)},initConfiguration:t.initConfiguration},e)}(g,f),f})),_=p((function(t){var e="object"==typeof t?t:{name:t};e.context&&a.getOrCreateTracker(3).updateCustomerData(e.context),g.startView(e),we({feature:"start-view"})})),y=(h={init:p((function(t){g.init(t,y)})),setTrackingConsent:p((function(t){c.update(t),we({feature:"set-tracking-consent",tracking_consent:t})})),setViewName:p((function(t){g.setViewName(t)})),setViewContext:p((function(t){g.setViewContext(t)})),setViewContextProperty:p((function(t,e){g.setViewContextProperty(t,e)})),setGlobalContext:p((function(t){s.setContext(t),we({feature:"set-global-context"})})),getGlobalContext:p((function(){return s.getContext()})),setGlobalContextProperty:p((function(t,e){s.setContextProperty(t,e),we({feature:"set-global-context"})})),removeGlobalContextProperty:p((function(t){return s.removeContextProperty(t)})),clearGlobalContext:p((function(){return s.clearContext()})),getInternalContext:p((function(t){return g.getInternalContext(t)})),getInitConfiguration:p((function(){return K(g.initConfiguration)})),addAction:function(t,e){var n=xt();v((function(){g.addAction({name:$(t),context:$(e),startClocks:ne(),type:"custom",handlingStack:n}),we({feature:"add-action"})}))},addError:function(t,e){var n=xt();v((function(){g.addError({error:t,handlingStack:n,context:$(e),startClocks:ne()}),we({feature:"add-error"})}))},addTiming:p((function(t,e){g.addTiming($(t),e)})),setUser:p((function(t){(function(t){var e="object"===G(t);return e||i.error("Unsupported user:",t),e})(t)&&u.setContext(ke(t)),we({feature:"set-user"})})),getUser:p((function(){return u.getContext()})),setUserProperty:p((function(t,e){var n,r=ke((n={},n[t]=e,n))[t];u.setContextProperty(t,r),we({feature:"set-user"})})),removeUserProperty:p((function(t){return u.removeContextProperty(t)})),clearUser:p((function(){return u.clearContext()})),startView:_,stopSession:p((function(){g.stopSession(),we({feature:"stop-session"})})),addFeatureFlagEvaluation:p((function(t,e){g.addFeatureFlagEvaluation($(t),$(e)),we({feature:"add-feature-flag-evaluation"})})),getSessionReplayLink:p((function(){return e.getSessionReplayLink()})),startSessionReplayRecording:p((function(t){e.start(t),we({feature:"start-session-replay-recording",force:t&&t.force})})),stopSessionReplayRecording:p((function(){return e.stop()})),addDurationVital:p((function(t,e){var n;we({feature:"add-duration-vital"}),g.addDurationVital({name:$(t),type:"duration",startClocks:(n=e.startTime,{relative:ae(n),timeStamp:n}),duration:e.duration,context:$(e&&e.context),description:$(e&&e.description)})})),startDurationVital:p((function(t,e){return we({feature:"start-duration-vital"}),g.startDurationVital($(t),{context:$(e&&e.context),description:$(e&&e.description)})})),stopDurationVital:p((function(t,e){we({feature:"stop-duration-vital"}),g.stopDurationVital("string"==typeof t?$(t):t,{context:$(e&&e.context),description:$(e&&e.description)})}))},m=S({version:"5.30.0",onReady:function(t){t()}},h),Object.defineProperty(m,"_setDebug",{get:function(){return f},enumerable:!1}),m);return y}((function(t,e,n,r,i,o,a,s){var u=[],c=new br;c.subscribe(12,(function(t){return ue("rum",t)}));var l=function(t){var e=_e("browser-rum-sdk",t);if(Le()){var n=Oe();e.observable.subscribe((function(t){return n.send("internal_telemetry",t)}))}return e}(t);l.setContextProvider((function(){var e,n;return{application:{id:t.applicationId},session:{id:null===(e=g.findTrackedSession())||void 0===e?void 0:e.id},view:{id:null===(n=C.findView())||void 0===n?void 0:n.id},action:{id:T.findActionId()}}}));var d=function(t){c.notify(13,{error:t}),ye("Error reported to customer",{"error.message":t.message})},f=function(t,e){var n=kr({expireDelay:Wa});return t.subscribe(1,(function(t){var r=t.startClocks;n.add({},r.relative),e.resetCustomerData()})),t.subscribe(5,(function(t){var e=t.endClocks;n.closeActive(e.relative)})),{findFeatureFlagEvaluations:function(t){return n.find(t)},addFeatureFlagEvaluation:function(t,r){var i=n.find();i&&(i[t]=r,e.updateCustomerData(i))},stop:function(){return e.stop()}}}(c,n.getOrCreateTracker(0)),v=function(t){return new et((function(e){var n=at(t,window,["visibilitychange","freeze"],(function(t){"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:or.HIDDEN}):"freeze"===t.type&&e.notify({reason:or.FROZEN})}),{capture:!0}).stop,r=ot(t,window,"beforeunload",(function(){e.notify({reason:or.UNLOADING})})).stop;return function(){n(),r()}}))}(t),h=v.subscribe((function(t){c.notify(10,t)}));u.push((function(){return h.unsubscribe()}));var g=Le()?function(){var t={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:Me("records")?1:0};return{findTrackedSession:function(){return t},expire:L,expireObservable:new et,setForcedReplay:L}}():Ea(t,c,a);if(Le())!function(t){var e=Oe();t.subscribe(12,(function(t){e.send("rum",t)}))}(c);else{var _=ja(t,c,l.observable,d,v,g.expireObservable,o);u.push((function(){return _.stop()})),function(t,e,n,r,i){e.enabled&&Ht(t.customerDataTelemetrySampleRate)&&(ns(),rs(),n.subscribe(12,(function(t){Ja=!0,ts(Ya.globalContextBytes,r.getOrCreateTracker(2).getBytesCount()),ts(Ya.userContextBytes,r.getOrCreateTracker(1).getBytesCount()),ts(Ya.featureFlagBytes,m(["view","error"],t.type)?r.getOrCreateTracker(0).getBytesCount():0)})),i.subscribe((function(t){var e=t.bytesCount,n=t.messagesCount;Ja&&(Xa.batchCount+=1,ts(Xa.batchBytesCount,e),ts(Xa.batchMessagesCount,n),es(Xa.globalContextBytes,Ya.globalContextBytes),es(Xa.userContextBytes,Ya.userContextBytes),es(Xa.featureFlagBytes,Ya.featureFlagBytes),rs())})),I(Qa,$a))}(t,l,c,n,_.flushObservable)}var y,b=(y=sr(),new et((function(t){if(y){var e=new y(p((function(){return t.notify()})));return e.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return e.disconnect()}}}))),w=Za(t,location),k=ss(t),x=function(t,e,n,r,i,o,a,s,u){var c=function(t){var e=kr({expireDelay:Cr});return t.subscribe(1,(function(t){e.add(function(t){return{service:t.service,version:t.version,context:t.context,id:t.id,name:t.name,startClocks:t.startClocks}}(t),t.startClocks.relative)})),t.subscribe(5,(function(t){var n=t.endClocks;e.closeActive(n.relative)})),t.subscribe(3,(function(t){var n=e.find(t.startClocks.relative);n&&t.name&&(n.name=t.name),n&&t.context&&(n.context=t.context)})),t.subscribe(9,(function(){e.reset()})),{findView:function(t){return e.find(t)},stop:function(){e.stop()}}}(t),l=function(t,e,n){var r,i=kr({expireDelay:Ga});t.subscribe(1,(function(t){var e=t.startClocks,o=n.href;i.add(a({url:o,referrer:r||document.referrer}),e.relative),r=o})),t.subscribe(5,(function(t){var e=t.endClocks;i.closeActive(e.relative)}));var o=e.subscribe((function(t){var e=t.newLocation,n=i.find();if(n){var r=ee();i.closeActive(r),i.add(a({url:e.href,referrer:n.referrer}),r)}}));function a(t){return{url:t.url,referrer:t.referrer}}return{findUrl:function(t){return i.find(t)},stop:function(){o.unsubscribe(),i.stop()}}}(t,o,n),d=function(t,e,n,r){t.subscribe(0,(function(e){return t.notify(11,yo(e,r))}));var i={findActionId:L};return n.trackUserInteractions&&(i=go(t,e,n).actionContexts),{addAction:function(e,n){t.notify(11,S({savedCommonContext:n},yo(e,r)))},actionContexts:i}}(t,a,e,i),f=d.addAction,p=d.actionContexts,v=function(t){var e=da();return{get:function(){return{viewport:e}},stop:la(t).subscribe((function(t){e=t})).unsubscribe}}(e),h=function(t,e){var n;void 0===e&&(e=cs(t,fs));var r=Ke(fs)||(null===(n=window.Cypress)||void 0===n?void 0:n.env("traceId")),i=e.subscribe((function(t){r=t}));return{get:function(){if("string"==typeof r)return{test_execution_id:r}},stop:function(){return i.unsubscribe()}}}(e);return yr(e,t,r,c,l,p,v,h,s,u),{viewHistory:c,pageStateHistory:i,urlContexts:l,addAction:f,actionContexts:p,stop:function(){h.stop(),v.stop(),l.stop(),c.stop(),i.stop()}}}(c,t,location,g,k,w,b,r,d),C=x.viewHistory,E=x.urlContexts,T=x.actionContexts,A=x.addAction,R=x.stop;u.push(R),me.drain();var N=ba(c,t,location,b,w,f,k,e,i),O=N.addTiming,M=N.startView,D=N.setViewName,P=N.setViewContext,U=N.setViewContextProperty,z=N.stop;u.push(z);var V=Vo(c,t,k).stop;if(u.push(V),Lt(Tt.LONG_ANIMATION_FRAME)){if(t.trackLongTasks){var F=function(t,e){var n=ei(e,{type:Kr.LONG_ANIMATION_FRAME,buffered:!0}).subscribe((function(e){for(var n=0,r=e;n<r.length;n++){var i=r[n],o=Yt(i.startTime),a={date:o.timeStamp,long_task:{id:Ce(),entry_type:"long-animation-frame",duration:$t(i.duration),blocking_duration:$t(i.blockingDuration),first_ui_event_timestamp:$t(i.firstUIEventTimestamp),render_start:$t(i.renderStart),style_and_layout_start:$t(i.styleAndLayoutStart),start_time:$t(i.startTime),scripts:i.scripts.map((function(t){return{duration:$t(t.duration),pause_duration:$t(t.pauseDuration),forced_style_and_layout_duration:$t(t.forcedStyleAndLayoutDuration),start_time:$t(t.startTime),execution_start:$t(t.executionStart),source_url:t.sourceURL,source_function_name:t.sourceFunctionName,source_char_position:t.sourceCharPosition,invoker:t.invoker,invoker_type:t.invokerType,window_attribution:t.windowAttribution}}))},type:"long_task",_dd:{discarded:!1}};t.notify(11,{rawRumEvent:a,startTime:o.relative,domainContext:{performanceEntry:i}})}}));return{stop:function(){return n.unsubscribe()}}}(c,t).stop;u.push(F)}}else!function(t,e){var n=ei(e,{type:Kr.LONG_TASK,buffered:!0}).subscribe((function(n){for(var r=0,i=n;r<i.length;r++){var o=i[r];if(o.entryType!==Kr.LONG_TASK)break;if(!e.trackLongTasks)break;var a=Yt(o.startTime),s={date:a.timeStamp,long_task:{id:Ce(),entry_type:"long-task",duration:$t(o.duration)},type:"long_task",_dd:{discarded:!1}};t.notify(11,{rawRumEvent:s,startTime:a.relative,domainContext:{performanceEntry:o}})}}))}(c,t);var B=Ao(c,t,k,f).addError;Yr(c,t,g);var H=Re(c,k,s),q=function(t,e,n,r,i){return{get:function(o){var a=n.findView(o),s=i.findUrl(o),u=e.findTrackedSession(o);if(u&&a&&s){var c=r.findActionId(o);return{application_id:t,session_id:u.id,user_action:c?{id:c}:void 0,view:{id:a.id,name:a.name,referrer:s.referrer,url:s.url}}}}}}(t.applicationId,g,C,T,E);return{addAction:A,addError:B,addTiming:O,addFeatureFlagEvaluation:f.addFeatureFlagEvaluation,startView:M,setViewContext:P,setViewContextProperty:U,setViewName:D,lifeCycle:c,viewHistory:C,session:g,stopSession:function(){return g.expire()},getInternalContext:q.get,startDurationVital:H.startDurationVital,stopDurationVital:H.stopDurationVital,addDurationVital:H.addDurationVital,stop:function(){u.forEach((function(t){return t()}))}}}),Pu,{startDeflateWorker:Ru,createDeflateEncoder:Cu});Ou=k(),Lu=Uu,(Du=Ou[Mu="DD_RUM"])&&!Du.q&&Du.version&&i.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),Ou[Mu]=Lu,Du&&Du.q&&Du.q.forEach((function(t){return u(t,"onReady callback threw an error:")()}))}();</script><script id="datadog-rum-init"> if (window && window.DD_RUM) { window.DD_RUM.init({ clientToken: 'pube7d8f53ac3c9217ab7b53a3e960935c1', applicationId: 'e252f82c-ba52-4d13-aff8-c7bfa34e735a', site: 'datadoghq.com', service: 'vimeo-next', env: 'production', sessionSampleRate: 100, sessionReplaySampleRate: 0, trackUserInteractions: true, trackResources: true, trackLongTasks: true, defaultPrivacyLevel: 'mask-user-input', trackViewsManually: true, }); } </script><script>if(window.newrelic){window.newrelic.setCustomAttribute('userId', '0');window.newrelic.setCustomAttribute('accountType', 'UNKNOWN');window.newrelic.setCustomAttribute('teamOwnerId', '0');window.newrelic.setCustomAttribute('teamOwnerAccountType', 'UNKNOWN');};window.DD_RUM && window.DD_RUM.setUser({id: '0',accountType: 'UNKNOWN',teamOwnerId: '0',teamOwnerAccountType: 'UNKNOWN'});</script><title>Log in to Vimeo</title><meta name="description" content="Log in to Vimeo for everything you need to make, manage, and share brilliant videos." > <meta charset="utf-8"> <meta property="fb:app_id" content="19884028963"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="preconnect" href="//player.vimeo.com"> <link rel="preconnect" href="//i.vimeocdn.com"> <link rel="preconnect" href="//f.vimeocdn.com"> <link rel="search" type="application/opensearchdescription+xml" href="/search/opensearch.xml" title="Vimeo"> <link rel="logo" type="image/svg" href="https://f.vimeocdn.com/logo.svg"> <link rel="mask-icon" href="https://f.vimeocdn.com/svg/legacy_view_support/iris_icon_v_64.svg?f50dbc8ea72469a4a6c37e3ca10a84065d64fac4" color="#17272e"> <link rel="shortcut icon" href="https://f.vimeocdn.com/images_v6/favicon.ico?f50dbc8ea72469a4a6c37e3ca10a84065d64fac4"> <meta name="msapplication-TileImage" content="https://i.vimeocdn.com/favicon/main-touch_144"> <meta name="msapplication-TileColor" content="#00adef"> <script>var ablincoln_tests = {"JS.Editor.DragoniteGA":{"id":1199,"name":"JS.Editor.DragoniteGA","buckets":1000,"input":"cuid","url":"\/create\/edit","experiments":[{"id":3521,"name":"Dragonite GA","buckets":200,"state":1,"published_on":"2024-11-21 06:50:22","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5625,"name":"dragoniteGA","choice":"control","weight":1},{"id":5626,"name":"dragoniteGA","choice":"variant","weight":1}],"segments":[{"id":403,"type":"account_type","include":1,"values":["free"]}]}]},"JS.Editor.LocalFiles":{"id":1197,"name":"JS.Editor.LocalFiles","buckets":1000,"input":"cuid","url":"\/create\/edit","experiments":[{"id":3519,"name":"UseLocally","buckets":1000,"state":1,"published_on":"2024-11-19 04:44:28","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5621,"name":"local_files","choice":"variant","weight":1},{"id":5622,"name":"local_files","choice":"control","weight":0}],"segments":[]}]},"JS.Editor.Dragonite":{"id":1194,"name":"JS.Editor.Dragonite","buckets":1000,"input":"cuid","url":"\/create\/edit","experiments":[{"id":3511,"name":"dragonite","buckets":1000,"state":1,"published_on":"2024-11-10 12:42:05","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5611,"name":"dragonite","choice":"control","weight":0},{"id":5612,"name":"dragonite","choice":"variant","weight":1}],"segments":[]}]},"JS.TEST.BuilderComponentTest":{"id":1186,"name":"JS.TEST.BuilderComponentTest","buckets":1000,"input":"vuid","url":"https:\/\/master.ci.vimeows.com\/staging-test\/lawrence-test","experiments":[{"id":3497,"name":"Test Builder Component","buckets":0,"state":1,"published_on":"2024-10-17 13:39:51","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5596,"name":"show_alt","choice":"control","weight":1},{"id":5597,"name":"show_alt","choice":"variant","weight":1}],"segments":[]}]},"JS.Bokeh.Rollout":{"id":1182,"name":"JS.Bokeh.Rollout","buckets":1000,"input":"cuid","url":"\/","experiments":[{"id":3482,"name":"Bokeh Rollout 1%","buckets":10,"state":1,"published_on":"2024-11-14 10:01:32","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5573,"name":"bokeh_enabled","choice":"variant","weight":1},{"id":5574,"name":"bokeh_enabled","choice":"control","weight":1}],"segments":[]},{"id":3518,"name":"Bokeh Rollout 5%","buckets":40,"state":1,"published_on":"2024-11-15 13:13:05","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5619,"name":"bokeh_enabled","choice":"variant","weight":1},{"id":5620,"name":"bokeh_enabled","choice":"control","weight":1}],"segments":[]},{"id":3520,"name":"Bokeh Rollout 20%","buckets":150,"state":1,"published_on":"2024-11-20 02:28:10","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5623,"name":"bokeh_enabled","choice":"variant","weight":1},{"id":5624,"name":"bokeh_enabled","choice":"control","weight":1}],"segments":[]}]},"JS.AI.ActionTrigger":{"id":1176,"name":"JS.AI.ActionTrigger","buckets":1000,"input":"cuid","url":"\/","experiments":[{"id":3465,"name":"actionTrigger","buckets":300,"state":2,"published_on":"2024-09-23 09:21:40","paused_on":"2024-11-05 09:10:22","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5552,"name":"action_trigger","choice":"control","weight":1},{"id":5553,"name":"action_trigger","choice":"variant_a","weight":1},{"id":5554,"name":"action_trigger","choice":"variant_b","weight":1}],"segments":[]},{"id":3487,"name":"actionTrigger_rampup","buckets":700,"state":2,"published_on":"2024-09-25 11:01:47","paused_on":"2024-11-05 09:10:27","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5580,"name":"action_trigger","choice":"control","weight":1},{"id":5581,"name":"action_trigger","choice":"variant_a","weight":1},{"id":5582,"name":"action_trigger","choice":"variant_b","weight":1}],"segments":[]}]},"JS.SVV.HeaderUsability":{"id":1164,"name":"JS.SVV.HeaderUsability","buckets":1000,"input":"cuid","url":"\/manage\/videos","experiments":[{"id":3441,"name":"Header main button - part 2 - 4%","buckets":100,"state":3,"published_on":"2024-08-06 10:12:37","paused_on":"2024-08-07 01:30:20","stopped_on":"2024-08-07 01:31:21","parameters":[{"id":5522,"name":"header_usability","choice":"variant","weight":1},{"id":5523,"name":"header_usability","choice":"control","weight":1}],"segments":[]},{"id":3447,"name":"Header main button - part 2 - 10%","buckets":100,"state":3,"published_on":"2024-08-07 01:32:42","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-09-19 23:34:03","parameters":[{"id":5528,"name":"show_header_usability","choice":"variant","weight":1},{"id":5529,"name":"show_header_usability","choice":"control","weight":1}],"segments":[]},{"id":3458,"name":"Header main button - part 2 - 50%","buckets":400,"state":3,"published_on":"2024-09-02 03:10:45","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-09-19 23:33:56","parameters":[{"id":5542,"name":"show_header_usability","choice":"variant","weight":1},{"id":5543,"name":"show_header_usability","choice":"control","weight":1}],"segments":[]},{"id":3462,"name":"Header main button - part 2 -100%","buckets":500,"state":3,"published_on":"2024-09-05 01:20:34","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-09-19 23:33:49","parameters":[{"id":5549,"name":"show_header_usability","choice":"variant","weight":1},{"id":5550,"name":"show_header_usability","choice":"control","weight":1}],"segments":[]},{"id":3483,"name":"Header main button - part -100%","buckets":1000,"state":1,"published_on":"2024-09-19 23:34:45","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5575,"name":"show_header_usability","choice":"variant","weight":1}],"segments":[]}]},"JS.TrustAndSafety.Turnstile":{"id":1163,"name":"JS.TrustAndSafety.Turnstile","buckets":1000,"input":"vuid","url":"\/","experiments":[{"id":3425,"name":"Render Invisible Widget 10%","buckets":10,"state":2,"published_on":"2024-07-29 15:27:31","paused_on":"2024-08-01 13:16:09","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5508,"name":"do_challenge","choice":"variant","weight":1}],"segments":[]},{"id":3427,"name":"Render Invisible Widget 5%","buckets":40,"state":2,"published_on":"2024-07-29 16:12:34","paused_on":"2024-08-01 13:17:33","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5509,"name":"do_challenge","choice":"variant","weight":1}],"segments":[]},{"id":3430,"name":"Render Invisible Widget 10% (Actually)","buckets":50,"state":2,"published_on":"2024-07-29 16:46:34","paused_on":"2024-08-01 13:17:37","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5510,"name":"do_challenge","choice":"variant","weight":1}],"segments":[]},{"id":3431,"name":"Render Invisible Widget 25%","buckets":150,"state":2,"published_on":"2024-07-29 17:08:57","paused_on":"2024-08-01 13:17:44","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5511,"name":"do_challenge","choice":"variant","weight":1}],"segments":[]},{"id":3432,"name":"Render Invisible Widget 50%","buckets":250,"state":2,"published_on":"2024-07-29 17:25:46","paused_on":"2024-08-01 13:18:15","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5512,"name":"do_challenge","choice":"variant","weight":1}],"segments":[]},{"id":3433,"name":"Render Invisible Widget 75%","buckets":250,"state":2,"published_on":"2024-07-29 18:00:34","paused_on":"2024-08-01 13:18:23","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5513,"name":"do_challenge","choice":"variant","weight":1}],"segments":[]},{"id":3434,"name":"Render Invisible Widget 100%","buckets":250,"state":2,"published_on":"2024-07-29 18:29:29","paused_on":"2024-08-01 13:18:28","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5514,"name":"do_challenge","choice":"variant","weight":1}],"segments":[]}]},"JS.LeadCapture.GateManager.Upsell":{"id":1162,"name":"JS.LeadCapture.GateManager.Upsell","buckets":1000,"input":"cuid","url":"\/","experiments":[{"id":3422,"name":"50 % rollout","buckets":1000,"state":3,"published_on":"2024-07-24 05:04:29","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-08-12 04:08:32","parameters":[{"id":5502,"name":"enabled","choice":"control","weight":1},{"id":5503,"name":"enabled","choice":"variant","weight":1}],"segments":[]},{"id":3451,"name":"full roll out","buckets":1000,"state":1,"published_on":"2024-08-12 04:10:16","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5533,"name":"enabled","choice":"variant","weight":1}],"segments":[]}]},"JS.LeadCapture.GateManager":{"id":1161,"name":"JS.LeadCapture.GateManager","buckets":1000,"input":"cuid","url":"\/","experiments":[{"id":3421,"name":"50 percent rollout","buckets":1000,"state":3,"published_on":"2024-07-24 05:04:42","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-08-12 04:10:30","parameters":[{"id":5500,"name":"enabled","choice":"control","weight":1},{"id":5501,"name":"enabled","choice":"variant","weight":1}],"segments":[]},{"id":3453,"name":"full GA release","buckets":1000,"state":1,"published_on":"2024-08-12 04:11:45","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5534,"name":"enabled","choice":"variant","weight":1}],"segments":[]}]},"JS.TrustAndSafety.RecaptchaEnterprise.Signup":{"id":1159,"name":"JS.TrustAndSafety.RecaptchaEnterprise.Signup","buckets":1000,"input":"vuid","url":"\/","experiments":[{"id":3417,"name":"Recaptcha Enterprise","buckets":10,"state":2,"published_on":"2024-07-25 10:08:10","paused_on":"2024-07-26 07:08:04","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5493,"name":"enable_recaptcha_enterprise_signup","choice":"variant","weight":1}],"segments":[]}]},"JS.Billing.CancelSubscription":{"id":1158,"name":"JS.Billing.CancelSubscription","buckets":1000,"input":"cuid","url":"\/manage\/team\/billing","experiments":[{"id":3406,"name":"Single Click Refund","buckets":10,"state":1,"published_on":"2024-09-30 18:19:35","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5478,"name":"show_one_click_refund","choice":"control","weight":1},{"id":5479,"name":"show_one_click_refund","choice":"variant","weight":1}],"segments":[]},{"id":3490,"name":"* Single Click Refund","buckets":190,"state":1,"published_on":"2024-10-01 13:11:31","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5586,"name":"show_one_click_refund","choice":"control","weight":1},{"id":5587,"name":"show_one_click_refund","choice":"variant","weight":1}],"segments":[]},{"id":3493,"name":"* * Single Click Refund","buckets":800,"state":1,"published_on":"2024-10-03 11:56:42","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5589,"name":"show_one_click_refund","choice":"control","weight":1},{"id":5590,"name":"show_one_click_refund","choice":"variant","weight":1}],"segments":[]}]},"JS.RecordStudio.LayoutsForSocial":{"id":1154,"name":"JS.RecordStudio.LayoutsForSocial","buckets":1000,"input":"cuid","url":"\/record\/start-recording","experiments":[{"id":3399,"name":"1 LayoutsForSocial","buckets":1,"state":3,"published_on":"2024-07-26 04:54:08","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-07-26 04:55:01","parameters":[{"id":5468,"name":"layouts_for_social","choice":"variant","weight":1},{"id":5469,"name":"layouts_for_social","choice":"control","weight":1}],"segments":[]},{"id":3423,"name":"* 2 LayoutsForSocial","buckets":500,"state":3,"published_on":"2024-07-26 04:55:17","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-07-26 05:47:52","parameters":[{"id":5504,"name":"layouts_for_social","choice":"variant","weight":1}],"segments":[]},{"id":3424,"name":"* 3 LayoutsForSocial","buckets":1000,"state":3,"published_on":"2024-07-26 05:49:24","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-07-29 12:09:59","parameters":[{"id":5505,"name":"layouts_for_social","choice":"variant","weight":1},{"id":5506,"name":"layouts_for_social","choice":"control","weight":1}],"segments":[]},{"id":3426,"name":"LayoutsForSocial GA","buckets":1000,"state":1,"published_on":"2024-07-29 12:10:05","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5507,"name":"layouts_for_social","choice":"variant","weight":1}],"segments":[]}]},"JS.Pendo.GracePeriodGuide":{"id":1151,"name":"JS.Pendo.GracePeriodGuide","buckets":1000,"input":"cuid","url":"\/*","experiments":[{"id":3386,"name":"Pendo Grace Period Guide","buckets":1000,"state":3,"published_on":"2024-06-21 11:26:53","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-06-21 13:45:37","parameters":[{"id":5451,"name":"pendo_grace_period_guide","choice":"variant_a","weight":1},{"id":5452,"name":"pendo_grace_period_guide","choice":"variant_b","weight":1},{"id":5453,"name":"pendo_grace_period_guide","choice":"control","weight":1}],"segments":[]},{"id":3388,"name":"Pendo Grace Period Guide X","buckets":1000,"state":1,"published_on":"2024-06-21 14:00:08","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5454,"name":"pendo_grace_period_guide","choice":"control","weight":1},{"id":5455,"name":"pendo_grace_period_guide","choice":"variant","weight":1}],"segments":[]}]},"JS.Editor.KiteGA":{"id":1149,"name":"JS.Editor.KiteGA","buckets":1000,"input":"cuid","url":"\/create\/editor","experiments":[{"id":3384,"name":"kite_render","buckets":40,"state":3,"published_on":"2024-06-19 04:20:54","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-06-19 09:02:04","parameters":[{"id":5447,"name":"kite","choice":"control","weight":1},{"id":5448,"name":"kite","choice":"variant","weight":1}],"segments":[]},{"id":3385,"name":"* kite_render","buckets":40,"state":3,"published_on":"2024-06-20 04:27:18","paused_on":"2024-07-03 09:01:53","stopped_on":"2024-07-04 07:42:30","parameters":[{"id":5449,"name":"kite","choice":"control","weight":1},{"id":5450,"name":"kite","choice":"variant","weight":1}],"segments":[]},{"id":3389,"name":"* * kite_render","buckets":160,"state":3,"published_on":"2024-06-23 05:42:33","paused_on":"2024-07-03 09:01:59","stopped_on":"2024-07-04 07:42:37","parameters":[{"id":5456,"name":"kite","choice":"control","weight":1},{"id":5457,"name":"kite","choice":"variant","weight":1}],"segments":[]},{"id":3401,"name":"* * * kite_render","buckets":400,"state":3,"published_on":"2024-07-03 04:59:36","paused_on":"2024-07-03 09:02:04","stopped_on":"2024-07-04 07:42:43","parameters":[{"id":5471,"name":"kite","choice":"control","weight":1},{"id":5472,"name":"kite","choice":"variant","weight":1}],"segments":[]},{"id":3402,"name":"* * * * kite_render","buckets":600,"state":3,"published_on":"2024-07-07 03:34:49","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-07-08 10:30:58","parameters":[{"id":5473,"name":"kite","choice":"control","weight":1},{"id":5474,"name":"kite","choice":"variant","weight":1}],"segments":[]},{"id":3405,"name":"* * * * * kite_render","buckets":1000,"state":3,"published_on":"2024-07-10 08:30:19","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-07-16 06:55:43","parameters":[{"id":5476,"name":"kite","choice":"control","weight":1},{"id":5477,"name":"kite","choice":"variant","weight":1}],"segments":[]},{"id":3409,"name":"* * * * * * kite_render","buckets":1000,"state":1,"published_on":"2024-07-16 06:56:00","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5484,"name":"kite","choice":"control","weight":0},{"id":5485,"name":"kite","choice":"variant","weight":1}],"segments":[]}]},"JS.Editor.Kite":{"id":1145,"name":"JS.Editor.Kite","buckets":1000,"input":"cuid","url":"\/create\/editor","experiments":[{"id":3366,"name":"kite","buckets":1000,"state":3,"published_on":"2024-06-04 10:44:48","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-06-05 04:48:09","parameters":[{"id":5421,"name":"kite","choice":"control","weight":1},{"id":5422,"name":"kite","choice":"variant","weight":0}],"segments":[]},{"id":3367,"name":"* kite","buckets":1000,"state":1,"published_on":"2024-06-05 04:48:59","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5423,"name":"kite","choice":"control","weight":0},{"id":5424,"name":"kite","choice":"variant","weight":1}],"segments":[]}]},"JS.TrustandSafety.GIPMigration":{"id":1129,"name":"JS.TrustandSafety.GIPMigration","buckets":1000,"input":"vuid","url":"\/join","experiments":[{"id":3305,"name":"GIP Migration","buckets":100,"state":2,"published_on":"2024-07-19 10:46:16","paused_on":"2024-07-19 11:34:27","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5326,"name":"in_GIP","choice":"variant","weight":0},{"id":5327,"name":"in_GIP","choice":"control","weight":1}],"segments":[]}]},"PHP.TrustAndSafety.HelpDesk.Phase2":{"id":1125,"name":"PHP.TrustAndSafety.HelpDesk.Phase2","buckets":1000,"input":"cuid","url":"\/","experiments":[{"id":3297,"name":"Enable HelpDesk Phase two login","buckets":0,"state":3,"published_on":"2024-04-10 15:49:22","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-04-10 15:50:26","parameters":[{"id":5315,"name":"enable_helpdesk_login","choice":"1","weight":1}],"segments":[]},{"id":3300,"name":"*Enable HelpDesk Phase two login","buckets":0,"state":1,"published_on":"2024-04-10 15:50:18","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5318,"name":"enable_helpdesk_login","choice":"variant","weight":1}],"segments":[]},{"id":3362,"name":"**Enable HelpDesk Phase two login","buckets":1000,"state":1,"published_on":"2024-05-28 12:33:28","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5416,"name":"enable_helpdesk_login","choice":"variant","weight":1}],"segments":[]}]},"JS.AA.EmbedModal":{"id":1123,"name":"JS.AA.EmbedModal","buckets":1000,"input":"cuid","url":"\/","experiments":[{"id":3291,"name":"Equal distribution","buckets":1000,"state":1,"published_on":"2024-03-28 03:56:27","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5306,"name":"aa_assignment","choice":"variant","weight":1},{"id":5307,"name":"aa_assignment","choice":"control","weight":1}],"segments":[]}]},"JS.Wayfinder.Nav":{"id":1109,"name":"JS.Wayfinder.Nav","buckets":1000,"input":"vuid","url":"vimeo.com","experiments":[{"id":3244,"name":"Wayfinder nav 0% rollout","buckets":1000,"state":3,"published_on":"2024-03-01 13:00:06","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-03-01 13:01:41","parameters":[{"id":5229,"name":"wayfinder_nav","choice":"control","weight":1},{"id":5230,"name":"wayfinder_nav","choice":"variant","weight":1}],"segments":[]},{"id":3258,"name":"Wayfinder topnav 0% rollout","buckets":0,"state":3,"published_on":"2024-03-01 13:02:58","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-04-04 08:23:02","parameters":[{"id":5250,"name":"wayfinder_nav","choice":"control","weight":1},{"id":5251,"name":"wayfinder_nav","choice":"variant","weight":1}],"segments":[]},{"id":3284,"name":"5% rollout - Wayfinder topnav","buckets":100,"state":3,"published_on":"2024-03-21 08:21:41","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-04-04 08:23:09","parameters":[{"id":5293,"name":"wayfinder_nav","choice":"control","weight":1},{"id":5294,"name":"wayfinder_nav","choice":"variant","weight":1}],"segments":[]},{"id":3286,"name":"20% rollout - Wayfinder topnav","buckets":300,"state":3,"published_on":"2024-03-22 10:49:17","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-04-04 08:23:16","parameters":[{"id":5296,"name":"wayfinder_nav","choice":"control","weight":1},{"id":5297,"name":"wayfinder_nav","choice":"variant","weight":1}],"segments":[]},{"id":3287,"name":"50% rollout - Wayfinder topnav","buckets":600,"state":3,"published_on":"2024-03-27 09:29:55","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-04-04 08:23:23","parameters":[{"id":5298,"name":"wayfinder_nav","choice":"control","weight":1},{"id":5299,"name":"wayfinder_nav","choice":"variant","weight":1}],"segments":[]},{"id":3296,"name":"100% rollout - Wayfinder topnav","buckets":1000,"state":1,"published_on":"2024-04-04 08:23:57","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5313,"name":"wayfinder_nav","choice":"variant","weight":1},{"id":5314,"name":"wayfinder_nav","choice":"control","weight":0}],"segments":[]}]},"JS.SVV.Rev":{"id":1105,"name":"JS.SVV.Rev","buckets":1000,"input":"cuid","url":"\/manage\/videos","experiments":[{"id":3233,"name":"Rev in window - 100% ","buckets":1000,"state":3,"published_on":"2024-02-08 03:16:48","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-03-10 06:12:39","parameters":[{"id":5213,"name":"show_rev_in_window","choice":"variant","weight":1},{"id":5214,"name":"show_rev_in_window","choice":"control","weight":1}],"segments":[]},{"id":3264,"name":"Rev in window variant - 100%","buckets":1000,"state":1,"published_on":"2024-03-10 06:13:16","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5257,"name":"show_rev_in_window","choice":"variant","weight":1}],"segments":[]}]},"JS.Registration.RegV3":{"id":1080,"name":"JS.Registration.RegV3","buckets":1000,"input":"vuid","url":"\/","experiments":[{"id":3137,"name":"10% rollout - Split email collection from name and password collection in reg flow","buckets":200,"state":3,"published_on":"2023-12-13 10:26:48","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-02-06 09:09:09","parameters":[{"id":5070,"name":"reg_v3","choice":"control","weight":1},{"id":5071,"name":"reg_v3","choice":"variant","weight":1}],"segments":[]},{"id":3182,"name":"50% rollout - Split email collection from name and password collection in reg flow","buckets":800,"state":3,"published_on":"2023-12-15 15:53:49","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-02-06 09:09:44","parameters":[{"id":5135,"name":"reg_v3","choice":"control","weight":1},{"id":5136,"name":"reg_v3","choice":"variant","weight":1}],"segments":[]},{"id":3227,"name":"* 100% rollout","buckets":1000,"state":1,"published_on":"2024-02-06 09:12:04","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5205,"name":"reg_v3","choice":"variant","weight":1}],"segments":[]}]},"JS.F2P.Pilot":{"id":1070,"name":"JS.F2P.Pilot","buckets":1000,"input":"vuid","url":"\/","experiments":[{"id":3096,"name":"2% - F2P Experiment Rollout - JS","buckets":20,"state":3,"published_on":"2023-10-03 05:48:05","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-11-07 09:48:47","parameters":[{"id":5008,"name":"f2p","choice":"control","weight":1},{"id":5009,"name":"f2p","choice":"variant","weight":1}],"segments":[]},{"id":3115,"name":"+ 8% - F2P Experiment Rollout - JS","buckets":80,"state":3,"published_on":"2023-10-03 11:29:40","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-11-07 09:48:52","parameters":[{"id":5032,"name":"f2p","choice":"control","weight":1},{"id":5033,"name":"f2p","choice":"variant","weight":1}],"segments":[]},{"id":3119,"name":"+ 40% - F2P Experiment Rollout - JS","buckets":400,"state":3,"published_on":"2023-10-04 14:31:51","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-11-07 09:48:58","parameters":[{"id":5037,"name":"f2p","choice":"control","weight":1},{"id":5038,"name":"f2p","choice":"variant","weight":1}],"segments":[]},{"id":3123,"name":"+ 50% - F2P Experiment Rollout - JS","buckets":500,"state":3,"published_on":"2023-10-05 19:16:15","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-11-07 09:49:03","parameters":[{"id":5048,"name":"f2p","choice":"control","weight":1},{"id":5049,"name":"f2p","choice":"variant","weight":1}],"segments":[]},{"id":3144,"name":"100% Rollout - F2P Experiment Rollout - JS","buckets":1000,"state":1,"published_on":"2023-11-07 09:50:41","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5083,"name":"f2p","choice":"variant","weight":1}],"segments":[]}]},"JS.Checkout.PayPal.DefaultForFreeTrial":{"id":1058,"name":"JS.Checkout.PayPal.DefaultForFreeTrial","buckets":1000,"input":"vuid","url":"\/store\/*","experiments":[{"id":3066,"name":"* 10%","buckets":100,"state":3,"published_on":"2023-08-22 14:14:40","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-11-08 11:28:29","parameters":[{"id":4967,"name":"default_paypal_for_free_trial","choice":"0","weight":1},{"id":4968,"name":"default_paypal_for_free_trial","choice":"1","weight":1}],"segments":[{"id":364,"type":"location","include":1,"values":["AU","FR","DE","IT","GB"]}]},{"id":3071,"name":"* 90%","buckets":900,"state":3,"published_on":"2023-08-24 09:01:12","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-11-08 11:29:19","parameters":[{"id":4975,"name":"default_paypal_for_free_trial","choice":"0","weight":1},{"id":4976,"name":"default_paypal_for_free_trial","choice":"1","weight":1}],"segments":[{"id":365,"type":"location","include":1,"values":["AU","FR","DE","IT","GB"]}]},{"id":3150,"name":"100% to all countries","buckets":1000,"state":3,"published_on":"2023-11-08 11:30:32","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-11-08 11:33:59","parameters":[{"id":5088,"name":"default_paypal_for_free_trial","choice":"0","weight":1},{"id":5089,"name":"default_paypal_for_free_trial","choice":"1","weight":1}],"segments":[]},{"id":3151,"name":"100% for 5 countries","buckets":1000,"state":1,"published_on":"2023-11-08 11:41:30","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5090,"name":"default_paypal_for_free_trial","choice":"1","weight":1}],"segments":[{"id":366,"type":"location","include":1,"values":["AU","FR","DE","IT","GB"]}]}]},"JS.Editor.V2.HighTierRollout":{"id":1057,"name":"JS.Editor.V2.HighTierRollout","buckets":1000,"input":"cuid","url":"\/","experiments":[{"id":3060,"name":"editor_2_high_tier","buckets":200,"state":3,"published_on":"2023-11-12 03:21:55","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-01-29 08:16:42","parameters":[{"id":4960,"name":"editor_2","choice":"variant","weight":100},{"id":4961,"name":"editor_2","choice":"control","weight":100}],"segments":[{"id":362,"type":"account_type","include":1,"values":["pro","pro_unlimited","pro_custom","business","live_pro","live_business","live_premium","enterprise","standard","advanced"]}]},{"id":3164,"name":"* editor_2_high_tier","buckets":200,"state":3,"published_on":"2023-11-30 03:39:36","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-01-29 08:16:49","parameters":[{"id":5108,"name":"editor_2","choice":"variant","weight":100},{"id":5109,"name":"editor_2","choice":"control","weight":100}],"segments":[{"id":367,"type":"account_type","include":1,"values":["pro","pro_unlimited","pro_custom","business","live_pro","live_business","live_premium","enterprise","standard","advanced"]}]},{"id":3197,"name":"* * editor_2_high_tier","buckets":600,"state":3,"published_on":"2024-01-07 03:11:58","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-01-29 08:16:56","parameters":[{"id":5163,"name":"editor_2","choice":"variant","weight":300},{"id":5164,"name":"editor_2","choice":"control","weight":300}],"segments":[{"id":370,"type":"account_type","include":1,"values":["pro","pro_unlimited","pro_custom","business","live_pro","live_business","live_premium","enterprise","standard","advanced"]}]},{"id":3211,"name":"***editor_2_high_tier","buckets":1000,"state":1,"published_on":"2024-01-29 08:18:36","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5184,"name":"editor_2","choice":"variant","weight":1}],"segments":[{"id":374,"type":"account_type","include":1,"values":["pro","pro_unlimited","pro_custom","business","live_pro","live_business","live_premium","enterprise","standard","advanced"]}]}]},"JS.Editor.V2.LowTierRollout":{"id":1056,"name":"JS.Editor.V2.LowTierRollout","buckets":1000,"input":"cuid","url":"\/","experiments":[{"id":3059,"name":"editor_2_low_tier","buckets":200,"state":3,"published_on":"2023-12-07 02:39:29","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-01-29 08:15:02","parameters":[{"id":4958,"name":"editor_2","choice":"variant","weight":100},{"id":4959,"name":"editor_2","choice":"control","weight":100}],"segments":[{"id":361,"type":"account_type","include":1,"values":["basic","plus","producer","free","starter"]}]},{"id":3175,"name":"* editor_2_low_tier","buckets":400,"state":3,"published_on":"2023-12-11 09:52:16","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-01-29 08:15:09","parameters":[{"id":5126,"name":"editor_2","choice":"variant","weight":200},{"id":5127,"name":"editor_2","choice":"control","weight":200}],"segments":[{"id":368,"type":"account_type","include":1,"values":["basic","plus","producer","free","starter"]}]},{"id":3178,"name":"* * editor_2_low_tier","buckets":400,"state":3,"published_on":"2023-12-13 04:42:15","paused_on":"0000-00-00 00:00:00","stopped_on":"2024-01-29 08:14:48","parameters":[{"id":5131,"name":"editor_2","choice":"variant","weight":200},{"id":5132,"name":"editor_2","choice":"control","weight":200}],"segments":[{"id":369,"type":"account_type","include":1,"values":["basic","plus","producer","free","starter"]}]},{"id":3210,"name":"editor_2","buckets":1000,"state":1,"published_on":"2024-01-29 08:16:19","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":5183,"name":"editor_2","choice":"variant","weight":1}],"segments":[{"id":373,"type":"account_type","include":1,"values":["basic","plus","producer","free","starter"]}]}]},"JS.Editor.V2.StaffRollout":{"id":1055,"name":"JS.Editor.V2.StaffRollout","buckets":1000,"input":"cuid","url":"\/manage\/videos","experiments":[{"id":3058,"name":"editor_2_staff","buckets":200,"state":3,"published_on":"2023-08-15 10:48:32","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-09-03 07:20:13","parameters":[{"id":4956,"name":"editor_2","choice":"variant","weight":0},{"id":4957,"name":"editor_2","choice":"control","weight":200}],"segments":[]},{"id":3083,"name":"* editor_2_staff","buckets":1000,"state":1,"published_on":"2023-09-03 07:25:37","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4991,"name":"editor_2","choice":"variant","weight":1000},{"id":4992,"name":"editor_2","choice":"control","weight":0}],"segments":[]}]},"JS.SVV.NewTrimmer.HideTourpoints":{"id":1042,"name":"JS.SVV.NewTrimmer.HideTourpoints","buckets":1000,"input":"cuid","url":"\/manage\/videos","experiments":[{"id":3016,"name":"hide_tve_tourpoints","buckets":1000,"state":1,"published_on":"2023-07-19 08:35:32","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4897,"name":"hide_tve_tourpoints","choice":"variant","weight":100}],"segments":[]}]},"JS.SVV.NewTrimmer.Rollout":{"id":1041,"name":"JS.SVV.NewTrimmer.Rollout","buckets":1000,"input":"cuid","url":"\/manage\/videos","experiments":[{"id":3015,"name":"new_trimmer_rollout","buckets":1000,"state":1,"published_on":"2023-07-18 07:33:30","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4896,"name":"new_trimmer","choice":"variant","weight":100}],"segments":[]}]},"JS.SVV.RevManualCaptions":{"id":1020,"name":"JS.SVV.RevManualCaptions","buckets":1000,"input":"cuid","url":"\/manage\/videos","experiments":[{"id":2919,"name":"Rev Manual Captions","buckets":1000,"state":1,"published_on":"2023-06-13 08:46:26","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4778,"name":"rev_manual_captions","choice":"variant","weight":1}],"segments":[]}]},"JS.Mobile.Clip.BannerJoinPath":{"id":1016,"name":"JS.Mobile.Clip.BannerJoinPath","buckets":1000,"input":"vuid","url":"\/:clipId","experiments":[{"id":2896,"name":"Mobile Join Banner for Logged Out Users","buckets":0,"state":3,"published_on":"2023-05-16 14:32:59","paused_on":"2023-05-16 16:22:05","stopped_on":"2023-05-16 16:29:35","parameters":[{"id":4753,"name":"mobile_clip_join_banner","choice":"variant","weight":1},{"id":4754,"name":"mobile_clip_join_banner","choice":"control","weight":1}],"segments":[{"id":342,"type":"location","include":0,"values":["AT","BE","HR","CZ","DK","FI","FR","DE","GR","HU","IS","IT","LV","LI","LT","LU","MT","NL","NO","PL","PT","SK","SI","ES","SE","CH","GB"]}]},{"id":2927,"name":"Mobile Join Banner for Logged Out Users - 10%","buckets":100,"state":3,"published_on":"2023-05-16 16:37:26","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-06-05 16:24:50","parameters":[{"id":4787,"name":"mobile_clip_join_banner","choice":"variant","weight":1},{"id":4788,"name":"mobile_clip_join_banner","choice":"control","weight":1}],"segments":[{"id":345,"type":"location","include":0,"values":["AL","AT","BY","BE","HR","CZ","DK","FI","FR","DE","GR","GL","IS","IE","IM","IT","LV","LI","LT","LU","NL","NO","PL","SK","SI","ES","SE","CH","TR","GB","VA"]}]},{"id":2939,"name":"* Mobile Join Banner for Logged Out Users - 25%","buckets":150,"state":3,"published_on":"2023-05-19 11:35:00","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-06-05 16:25:11","parameters":[{"id":4805,"name":"mobile_clip_join_banner","choice":"variant","weight":1},{"id":4806,"name":"mobile_clip_join_banner","choice":"control","weight":1}],"segments":[{"id":347,"type":"location","include":0,"values":["AL","AT","BY","BE","HR","CZ","DK","FI","FR","DE","GR","GL","IS","IE","IM","IT","LV","LI","LU","NL","NO","PL","SK","SI","ES","SE","CH","TR","GB","VA"]}]},{"id":2943,"name":" Mobile Join Banner for Logged Out Users - 100%","buckets":750,"state":3,"published_on":"2023-05-22 13:16:10","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-06-05 16:25:24","parameters":[{"id":4809,"name":"mobile_clip_join_banner","choice":"variant","weight":1},{"id":4810,"name":"mobile_clip_join_banner","choice":"control","weight":1}],"segments":[{"id":348,"type":"location","include":0,"values":["AL","AT","BY","BE","HR","CZ","DK","FI","FR","DE","GR","GL","IS","IE","IM","IT","LV","LI","LU","NL","NO","PL","SK","ES","SE","CH","TR","GB","VA"]}]},{"id":2964,"name":"Mobile Join Banner for Logged Out Users -- 100 %","buckets":1000,"state":1,"published_on":"2023-06-05 16:28:41","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4839,"name":"mobile_clip_join_banner","choice":"variant","weight":1}],"segments":[{"id":353,"type":"location","include":0,"values":["AL","AT","BY","BE","HR","CZ","DK","FI","FR","DE","GR","GL","IS","IE","IM","IT","LV","LI","LU","NL","NO","PL","SK","SI","ES","SE","CH","TR","GB","VA"]}]}]},"JS.Checkout.VodSalesTax.Enabled":{"id":986,"name":"JS.Checkout.VodSalesTax.Enabled","buckets":1000,"input":"vuid","url":"\/*","experiments":[{"id":2803,"name":"VOD Sales Tax Feature Flag for Precalc","buckets":1000,"state":3,"published_on":"2023-02-07 10:08:55","paused_on":"2023-03-07 16:45:39","stopped_on":"2023-03-09 12:18:24","parameters":[{"id":4620,"name":"vod_sales_tax_enabled","choice":"1","weight":1}],"segments":[]},{"id":2918,"name":"VOD Sales Tax Feature Flag for Precalc 2","buckets":1000,"state":3,"published_on":"2023-05-11 12:49:50","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-05-19 06:00:01","parameters":[{"id":4777,"name":"vod_sales_tax_enabled","choice":"1","weight":1}],"segments":[]},{"id":2934,"name":"Enable VOD Taxes","buckets":1000,"state":1,"published_on":"2023-05-19 07:22:54","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4802,"name":"vod_sales_tax_enabled","choice":"1","weight":1}],"segments":[]}]},"JS.Editor.SmartCrop":{"id":982,"name":"JS.Editor.SmartCrop","buckets":1000,"input":"cuid","url":"\/create\/customize\/","experiments":[{"id":2798,"name":"smart_crop","buckets":200,"state":3,"published_on":"2023-02-16 02:34:38","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-06-04 09:58:11","parameters":[{"id":4610,"name":"smart_crop","choice":"variant","weight":100},{"id":4611,"name":"smart_crop","choice":"control","weight":100}],"segments":[{"id":329,"type":"location","include":0,"values":["US"]}]},{"id":2882,"name":"* smart_crop","buckets":800,"state":3,"published_on":"2023-04-16 08:39:18","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-06-04 09:58:18","parameters":[{"id":4736,"name":"smart_crop","choice":"variant","weight":400},{"id":4737,"name":"smart_crop","choice":"control","weight":400}],"segments":[]},{"id":2955,"name":"** smart_crop","buckets":1000,"state":1,"published_on":"2023-06-04 12:03:50","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4829,"name":"smart_crop","choice":"variant","weight":1}],"segments":[]}]},"JS.Editor.DisableTVE":{"id":976,"name":"JS.Editor.DisableTVE","buckets":1000,"input":"cuid","url":"\/manage\/videos","experiments":[{"id":2771,"name":"disable_tve","buckets":1,"state":1,"published_on":"2022-12-13 09:01:18","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4564,"name":"disable_tve","choice":"variant","weight":1},{"id":4565,"name":"disable_tve","choice":"control","weight":1000000000}],"segments":[]}]},"JS.Editor.AddTextSidePanel":{"id":973,"name":"JS.Editor.AddTextSidePanel","buckets":1000,"input":"cuid","url":"\/create\/customize\/","experiments":[{"id":2762,"name":"show_add_text_side_panel","buckets":1,"state":3,"published_on":"2022-12-11 10:19:34","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-12-12 03:04:13","parameters":[{"id":4548,"name":"show_add_text_side_panel","choice":"control","weight":1},{"id":4549,"name":"show_add_text_side_panel","choice":"variant","weight":0}],"segments":[]},{"id":2770,"name":"4 default text size 200","buckets":200,"state":3,"published_on":"2022-12-12 03:05:24","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-12-26 02:33:19","parameters":[{"id":4562,"name":"show_add_text_side_panel","choice":"control","weight":1},{"id":4563,"name":"show_add_text_side_panel","choice":"variant","weight":1}],"segments":[]},{"id":2779,"name":"4 default text size 1000","buckets":800,"state":3,"published_on":"2022-12-20 06:49:59","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-12-26 02:33:14","parameters":[{"id":4573,"name":"show_add_text_side_panel","choice":"control","weight":1},{"id":4574,"name":"show_add_text_side_panel","choice":"variant","weight":1}],"segments":[]},{"id":2784,"name":"4 default text size 1000 variant","buckets":1000,"state":1,"published_on":"2022-12-26 02:35:27","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4576,"name":"show_add_text_side_panel","choice":"variant","weight":1}],"segments":[]}]},"JS.Editor.TemplatesInspector":{"id":966,"name":"JS.Editor.TemplatesInspector","buckets":1000,"input":"cuid","url":"\/create\/customize\/","experiments":[{"id":2720,"name":"show_templates_inspector","buckets":1000,"state":3,"published_on":"2022-11-13 06:39:11","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-01-03 09:03:15","parameters":[{"id":4498,"name":"show_templates_inspector","choice":"control","weight":1},{"id":4499,"name":"show_templates_inspector","choice":"variant","weight":0}],"segments":[]},{"id":2786,"name":"show_templates_inspector_2","buckets":1000,"state":3,"published_on":"2023-01-03 09:07:22","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-01-08 04:18:17","parameters":[{"id":4579,"name":"show_templates_inspector","choice":"variant","weight":0},{"id":4580,"name":"show_templates_inspector","choice":"control","weight":1}],"segments":[]},{"id":2787,"name":"show_templates_inspector_200","buckets":200,"state":3,"published_on":"2023-01-08 04:19:44","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-02-13 02:17:42","parameters":[{"id":4581,"name":"show_templates_inspector","choice":"variant","weight":1},{"id":4582,"name":"show_templates_inspector","choice":"control","weight":1}],"segments":[]},{"id":2788,"name":"show_templates_inspector_400","buckets":200,"state":3,"published_on":"2023-01-10 05:29:49","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-02-13 02:17:33","parameters":[{"id":4583,"name":"show_templates_inspector","choice":"variant","weight":1},{"id":4584,"name":"show_templates_inspector","choice":"control","weight":1}],"segments":[]},{"id":2789,"name":"show_templates_inspector_1000","buckets":600,"state":3,"published_on":"2023-01-11 03:31:21","paused_on":"0000-00-00 00:00:00","stopped_on":"2023-02-13 02:17:25","parameters":[{"id":4585,"name":"show_templates_inspector","choice":"variant","weight":1},{"id":4586,"name":"show_templates_inspector","choice":"control","weight":1}],"segments":[]},{"id":2813,"name":"show_templates_inspector_clode on variant ","buckets":1000,"state":1,"published_on":"2023-02-13 02:18:30","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4631,"name":"show_templates_inspector","choice":"variant","weight":1}],"segments":[]}]},"JS.Upload.ShowQuotaWarningToFreeUsers":{"id":939,"name":"JS.Upload.ShowQuotaWarningToFreeUsers","buckets":1000,"input":"cuid","url":"\/upload\/videos","experiments":[{"id":2649,"name":"* Show quota warning to Free users on upload page","buckets":100,"state":3,"published_on":"2022-09-30 12:28:32","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-10-05 16:23:41","parameters":[{"id":4381,"name":"quota_warning_free_users","choice":"control","weight":1},{"id":4382,"name":"quota_warning_free_users","choice":"variant","weight":1}],"segments":[]},{"id":2655,"name":"+40% - Show quota warning to Free users on upload page","buckets":400,"state":3,"published_on":"2022-10-03 11:45:40","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-10-05 16:23:47","parameters":[{"id":4389,"name":"quota_warning_free_users","choice":"control","weight":1},{"id":4390,"name":"quota_warning_free_users","choice":"variant","weight":1}],"segments":[]},{"id":2660,"name":"50% - Show quota warning to Free users on upload page","buckets":500,"state":1,"published_on":"2022-10-05 16:23:34","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4400,"name":"quota_warning_free_users","choice":"control","weight":1},{"id":4401,"name":"quota_warning_free_users","choice":"variant","weight":1}],"segments":[]},{"id":2703,"name":"+50% - Show quota warning to Free users on upload page","buckets":500,"state":1,"published_on":"2022-10-31 13:03:52","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4470,"name":"quota_warning_free_users","choice":"control","weight":1},{"id":4471,"name":"quota_warning_free_users","choice":"variant","weight":1}],"segments":[]}]},"JS.Editor.MediaInspector":{"id":928,"name":"JS.Editor.MediaInspector","buckets":1000,"input":"cuid","url":"\/create\/customize\/","experiments":[{"id":2622,"name":"show_media_inspector (100)","buckets":100,"state":3,"published_on":"2022-09-18 13:09:32","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-09-21 06:25:45","parameters":[{"id":4334,"name":"show_media_inspector","choice":"control","weight":1}],"segments":[]},{"id":2628,"name":"show_media_inspector (200)","buckets":200,"state":3,"published_on":"2022-09-21 06:26:40","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-09-29 03:17:57","parameters":[{"id":4345,"name":"show_media_inspector","choice":"control","weight":1},{"id":4346,"name":"show_media_inspector","choice":"variant","weight":1}],"segments":[]},{"id":2706,"name":"show_media_inspector (200)new","buckets":200,"state":3,"published_on":"2022-11-02 05:02:37","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-11-27 06:05:38","parameters":[{"id":4476,"name":"show_media_inspector","choice":"control","weight":1},{"id":4477,"name":"show_media_inspector","choice":"variant","weight":1}],"segments":[]},{"id":2718,"name":"show_media_inspector (800)new","buckets":800,"state":3,"published_on":"2022-11-10 07:42:49","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-11-27 06:05:32","parameters":[{"id":4493,"name":"show_media_inspector","choice":"control","weight":1},{"id":4494,"name":"show_media_inspector","choice":"variant","weight":1}],"segments":[]},{"id":2746,"name":"show_media_inspector (variant) ","buckets":1000,"state":1,"published_on":"2022-11-27 06:06:31","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4527,"name":"show_media_inspector","choice":"variant","weight":1}],"segments":[]},{"id":2785,"name":"show_media_inspector_new2","buckets":1000,"state":1,"published_on":"2022-12-28 04:31:36","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4577,"name":"show_media_inspector","choice":"control","weight":0},{"id":4578,"name":"show_media_inspector","choice":"variant","weight":1}],"segments":[]}]},"JS.Settings.MembershipPlan.ShowContactSupportLink":{"id":918,"name":"JS.Settings.MembershipPlan.ShowContactSupportLink","buckets":1000,"input":"cuid","url":"\/settings\/billing\/membership_plan","experiments":[{"id":2621,"name":"Offer a downgrade option","buckets":1000,"state":3,"published_on":"2022-09-22 07:54:02","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-09-22 07:54:32","parameters":[{"id":4331,"name":"ab_show_contact_support_link","choice":"control","weight":1},{"id":4332,"name":"ab_show_contact_support_link","choice":"variant","weight":1}],"segments":[]},{"id":2633,"name":"* Offer a downgrade option","buckets":200,"state":3,"published_on":"2022-09-22 07:54:56","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-10-28 11:46:25","parameters":[{"id":4353,"name":"ab_show_contact_support_link","choice":"control","weight":1},{"id":4354,"name":"ab_show_contact_support_link","choice":"variant","weight":1}],"segments":[]},{"id":2701,"name":"Downgrade CTA","buckets":200,"state":1,"published_on":"2022-10-28 11:47:03","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4466,"name":"show_contact_support_link","choice":"control","weight":1},{"id":4467,"name":"show_contact_support_link","choice":"variant","weight":1}],"segments":[]}]},"JS.Webinar.RegistrantCapForPremium":{"id":820,"name":"JS.Webinar.RegistrantCapForPremium","buckets":1000,"input":"vuid","url":"upgrade, checkout and marketing pages","experiments":[{"id":2243,"name":"Rollout to 10% traffic","buckets":100,"state":2,"published_on":"2022-06-01 05:27:17","paused_on":"2022-07-01 14:31:45","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":3803,"name":"show_premium_registrant_cap","choice":"control","weight":1},{"id":3804,"name":"show_premium_registrant_cap","choice":"variant","weight":1}],"segments":[]},{"id":2438,"name":"* Rollout to 40% traffic","buckets":400,"state":2,"published_on":"2022-06-06 11:14:01","paused_on":"2022-07-01 14:31:58","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4058,"name":"show_premium_registrant_cap","choice":"control","weight":1},{"id":4059,"name":"show_premium_registrant_cap","choice":"variant","weight":1}],"segments":[]},{"id":2444,"name":"* * Rollout to 50% traffic","buckets":500,"state":2,"published_on":"2022-06-08 00:05:31","paused_on":"2022-07-01 14:32:04","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":4069,"name":"show_premium_registrant_cap","choice":"control","weight":1},{"id":4070,"name":"show_premium_registrant_cap","choice":"variant","weight":1}],"segments":[]}]},"JS.Editor.MasksGradualRelease":{"id":807,"name":"JS.Editor.MasksGradualRelease","buckets":1000,"input":"cuid","url":"https:\/\/vimeo.com\/create\/customize","experiments":[{"id":2164,"name":"MasksGradualRelease","buckets":200,"state":3,"published_on":"2022-03-30 02:29:07","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-04-26 08:08:43","parameters":[{"id":3707,"name":"support_masks","choice":"variant","weight":1},{"id":3708,"name":"support_masks","choice":"control","weight":1}],"segments":[]},{"id":2268,"name":"_MasksGradualRelease","buckets":800,"state":3,"published_on":"2022-04-05 08:41:27","paused_on":"0000-00-00 00:00:00","stopped_on":"2022-04-26 08:08:33","parameters":[{"id":3833,"name":"support_masks","choice":"variant","weight":1},{"id":3834,"name":"support_masks","choice":"control","weight":1}],"segments":[]},{"id":2339,"name":"___MasksGradualRelease","buckets":1000,"state":1,"published_on":"2022-04-26 14:57:15","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":3928,"name":"support_masks","choice":"variant","weight":1}],"segments":[]}]},"JS.Checkout.ApplePayDefaultSelected":{"id":613,"name":"JS.Checkout.ApplePayDefaultSelected","buckets":1000,"input":"vuid","url":"pro, premium, plus, business checkout pages","experiments":[{"id":1618,"name":"Apple pay selected by default","buckets":100,"state":1,"published_on":"2021-03-30 11:15:26","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":2827,"name":"select_apple_pay_by_default","choice":"control","weight":1},{"id":2828,"name":"select_apple_pay_by_default","choice":"variant","weight":1}],"segments":[]},{"id":1699,"name":"+90% - Apple pay selected by default","buckets":900,"state":1,"published_on":"2021-04-05 17:38:05","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":2958,"name":"select_apple_pay_by_default","choice":"control","weight":1},{"id":2959,"name":"select_apple_pay_by_default","choice":"variant","weight":1}],"segments":[]}]},"JS.Review.RegisterToComment":{"id":601,"name":"JS.Review.RegisterToComment","buckets":1000,"input":"vuid","url":"\/:username\/review\/:clipId\/:clipHash","experiments":[{"id":1589,"name":"Register to Comment 10%","buckets":100,"state":3,"published_on":"2021-02-11 11:18:41","paused_on":"0000-00-00 00:00:00","stopped_on":"2021-03-01 11:51:10","parameters":[{"id":2787,"name":"require_registration","choice":"true","weight":1}],"segments":[]},{"id":1623,"name":"Register to Comment #2","buckets":100,"state":1,"published_on":"2021-03-01 11:53:55","paused_on":"0000-00-00 00:00:00","stopped_on":"0000-00-00 00:00:00","parameters":[{"id":2837,"name":"require_registration","choice":"true","weight":1},{"id":2838,"name":"require_registration","choice":"false","weight":1}],"segments":[]}]}};</script><script> (function() { window._gtm = [{"language":"en","user_status":"logged_out","user_type":"none","ga_universal_id":"UA-76641-8","comscore_site_id":10348289}]; var gdprCookie = (document.cookie.match(/^(?:.*;)?\s*vimeo_gdpr_optin\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; if (gdprCookie === '-1') { return; } window._gtm.push({ 'vuid': document.cookie.replace(/(?:(?:^|.*;\s*)vuid\s*\=\s*([^;]*).*$)|^.*$/, "$1"), 'gtm.start': new Date().getTime(), 'event': 'gtm.js' }); var gtms = document.createElement('script'), node; gtms.async = true; gtms.type = 'text/javascript'; gtms.className = "optanon-category-C0002"; gtms.src = '//www.googletagmanager.com/gtm.js?id=GTM-RBKK&l=_gtm'; node = document.head; window.loadGTM = function() { node.appendChild(gtms); } })(); </script> <script> var googletag = googletag || {}, gptadslots = [], language, has_uploaded, cohort; googletag.cmd = googletag.cmd || []; (function() { var gdprCookie = (document.cookie.match(/^(?:.*;)?\s*vimeo_gdpr_optin\s*=\s*([^;]+)(?:.*)?$/)||[,null])[1]; if (gdprCookie === '-1') { return; } var activeGroups = window.OnetrustActiveGroups || ''; var gads = document.createElement('script'), useSSL = 'https:' == document.location.protocol, node; gads.async = true; gads.type = activeGroups.indexOf("C0002") === -1 ? 'text/plain' : 'text/javascript'; gads.className = "optanon-category-C0002"; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; node = document.head; node.appendChild(gads); })(); googletag.cmd.push(function() { language = document.cookie.replace(/(?:(?:^|.*;\s*)language\s*\=\s*([^;]*).*$)|^.*$/, "$1"); has_uploaded = (document.cookie.replace(/(?:(?:^|.*;\s*)has_uploaded\s*\=\s*([^;]*).*$)|^.*$/, "$1")) ? 'Y' : 'N'; consent = (document.cookie.replace(/(?:(?:^|.*;\s*)vimeo_gdpr_optin\s*\=\s*([^;]*).*$)|^.*$/, "$1")) === '-1' ? 1 : 0; cohort = 'A'; googletag.pubads().setTargeting('language', [language]); googletag.pubads().setTargeting('is_uploader', [has_uploaded]); googletag.pubads().setTargeting('cohort', [cohort]); googletag.pubads().setTargeting('cohort_a', [(cohort === 'A') ? 'Y' : 'N']); googletag.pubads().setTargeting('cohort_b', [(cohort === 'B') ? 'Y' : 'N']); googletag.pubads().setTargeting('product', ['']); googletag.pubads().setTargeting('storage', ['N']); googletag.pubads().setTargeting('sec', ['false']); googletag.pubads().setTargeting('logged_in', ['false']); googletag.pubads().setTargeting('rpv', (Math.floor(Math.random()*100)+1).toString()); googletag.pubads().setRequestNonPersonalizedAds(consent); googletag.pubads().enableAsyncRendering(); googletag.pubads().disableInitialLoad(); googletag.enableServices(); }); </script> <script>var playerAssetUrls = {"js":"https:\/\/f.vimeocdn.com\/p\/4.39.21\/js\/player.js","barebone_js":"https:\/\/f.vimeocdn.com\/p\/4.39.21\/js\/barebone.js","chromeless_js":"https:\/\/f.vimeocdn.com\/p\/4.39.21\/js\/chromeless.js","css":"https:\/\/f.vimeocdn.com\/p\/4.39.21\/css\/player.css","chromeless_css":"https:\/\/f.vimeocdn.com\/p\/4.39.21\/css\/chromeless.css","player_url":"player.vimeo.com"};</script><script>var magistoResourceUrls = {"prodBundleUrl":"d3pvxrmcry8qui.cloudfront.net","devBundleUrl":"vimeo.magisto.com\/media\/editor\/dist","devLocalUrl":"https:\/\/localhost:8443\/dist","apiProdUrl":"vimeo.magisto.com","apiDevUrl":"vimeo.magisto.com"};</script><link rel="preload" href="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/media/ABCRepro-Screen.ce5d4d4e.ttf" as="font" type="font/ttf" crossorigin="anonymous"/><link rel="preload" href="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/media/ABCRepro-Bold.3234d287.otf" as="font" type="font/otf" crossorigin="anonymous"/><link rel="preload" href="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/media/ABCRepro-Medium.c70054d5.otf" as="font" type="font/otf" crossorigin="anonymous"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script defer="" src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/13998.ada4cb0b75dbdc66.js"></script><script defer="" src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/15629.0d6b87f077604307.js"></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/webpack-6bcea36662db6425.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/framework-daaec428f47ad439.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/main-4296bee4ca64349a.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/pages/_app-47775b6bee092a6a.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/12626-fd8cfa10be95ec21.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/58818-a87cd165fe591c33.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/22315-5284a1808c6c8ede.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/8229-22bdcd7ec68e1f06.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/38262-fac75762c11b58a6.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/92692-305451d27163b8f1.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/84702-209e1ed858c9c53b.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/34662-8b00587c86d8ee2c.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/18361-8108ca4cd036a652.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/85757-0b62a27af260e24a.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/37892-a9df63c670747454.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/64409-1479ad126424ce1a.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/99223-1ff66e10f1840105.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/21240-15167a92ba4cc05c.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/chunks/pages/login-auth-modal-e4920d38b446d2fe.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/WuJYEn-vTmWsa3PA4BA8k/_buildManifest.js" defer=""></script><script src="https://f.vimeocdn.com/js_opt/app/vimeo-next/_next/static/WuJYEn-vTmWsa3PA4BA8k/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.3">*,*::before,*::after{box-sizing:inherit;}/*!sc*/ :root{color-scheme:light;}/*!sc*/ html{box-sizing:border-box;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;background-color:#FFFFFF;}/*!sc*/ html[data-theme='dark']{background-color:var(--vimeo-colors-background);}/*!sc*/ #root{min-height:100%;}/*!sc*/ body{overflow-y:auto;}/*!sc*/ body,form{margin:0;padding:0;}/*!sc*/ blockquote,dl,dd,h1,h2,h3,h4,h5,h6,figure,p,pre{margin:0;}/*!sc*/ p:first-child,p{margin-top:0;}/*!sc*/ img{border:0;}/*!sc*/ fieldset,legend{margin:0;padding:0;border:0;}/*!sc*/ acronym{cursor:help;}/*!sc*/ time{cursor:default;}/*!sc*/ em{font-style:italic;}/*!sc*/ sup{vertical-align:top;}/*!sc*/ [tabindex='-1']:focus{outline:none !important;}/*!sc*/ ol,ul{list-style-type:none;margin:0;padding:0;}/*!sc*/ data-styled.g1[id="sc-global-kExAHH1"]{content:"sc-global-kExAHH1,"}/*!sc*/ .hidfuh{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;min-height:100vh;position:relative;}/*!sc*/ data-styled.g2[id="naniiu-0"]{content:"hidfuh,"}/*!sc*/ .dNxPDA{-webkit-animation:dTjrcp 800ms linear infinite;animation:dTjrcp 800ms linear infinite;border-width:0.125rem;border-style:solid;border-color:#00adef;border-bottom-color:transparent !important;width:1.5rem;height:1.5rem;border-radius:1.5rem;}/*!sc*/ data-styled.g15[id="sc-kDTinF"]{content:"dNxPDA,"}/*!sc*/ .iPgDbt{width:100%;height:100vh;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}/*!sc*/ data-styled.g401[id="sc-1hmcdc6-3"]{content:"iPgDbt,"}/*!sc*/ @-webkit-keyframes dTjrcp{from{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}/*!sc*/ @keyframes dTjrcp{from{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}/*!sc*/ data-styled.g623[id="sc-keyframes-dTjrcp"]{content:"dTjrcp,"}/*!sc*/ </style></head><body><div id="__next"><div style="width:100%;top:0"><div class="wrap_content"></div></div><div class="naniiu-0 hidfuh"><div class="sc-1hmcdc6-3 iPgDbt"><div theme="[object Object]"><div format="primary" class="sc-kDTinF dNxPDA"></div></div></div></div></div><script id="__LOCALE__">window.__i18nLocale = "en";</script><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"layoutOptions":{"globalNotifications":false},"metadata":{"className":"LoginFullPageMetadata"}},"__N_SSG":true},"page":"/login-auth-modal","query":{},"buildId":"WuJYEn-vTmWsa3PA4BA8k","assetPrefix":"https://f.vimeocdn.com/js_opt/app/vimeo-next","isFallback":false,"dynamicIds":[15629],"gsp":true,"scriptLoader":[]}</script></body></html>