PageSourceSearch

https://static-files.notonthehighstreet.com/browse-productlistings…/static/chunks/320.e58af90aeba6e4fa.js

js notonthehighstreet.com collected 2026-09-24 17:09:51 UTC 109,483 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[320],{320:function(t,e,n){n.d(e,{v:function(){return nH}});var r,i,a,o,s,u,c,l,d,f,p,h,v,_,m=n(9554),g=n(8470),y=n(2013),b=n(4757),w=n(7845),E=n(5857),T=n(3940),S=n(1682),C=n(4950),k=n(9846),A=n(5422),x=n(5239),I=n(3999),N=n(947),R=n(4044),O=n(1710),L=n(5993),z=n(3226),M=n(2305),P=n(7206),U=n(2891),D=n(6559);function Z(t){var e=(0,D.o)(t);return"string"===e||"function"===e||t instanceof RegExp}function F(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?(0,z.Ny)(e,t):t===e}catch(t){S.jf.error(t)}return!1})}function V(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function B(t,e,n,r){if(void 0!==H()&&n.findTrackedSession()){var i,a,o,s,u,c=(0,z.sE)(t.allowedTracingUrls,function(t){return F([t.match],e.url,!0)});c&&(e.traceId=new K,e.spanId=new K,e.traceSampled=!(0,M.hj)(t.traceSampleRate)||(0,M.y7)(t.traceSampleRate),r((i=e.traceId,a=e.spanId,o=e.traceSampled,s=c.propagatorTypes,u={},s.forEach(function(t){switch(t){case"datadog":(0,z.f0)(u,{"x-datadog-origin":"rum","x-datadog-parent-id":a.toDecimalString(),"x-datadog-sampling-priority":o?"1":"0","x-datadog-trace-id":i.toDecimalString()});break;case"tracecontext":(0,z.f0)(u,{traceparent:"00-0000000000000000".concat(i.toPaddedHexadecimalString(),"-").concat(a.toPaddedHexadecimalString(),"-0").concat(o?"1":"0")});break;case"b3":(0,z.f0)(u,{b3:"".concat(i.toPaddedHexadecimalString(),"-").concat(a.toPaddedHexadecimalString(),"-").concat(o?"1":"0")});break;case"b3multi":(0,z.f0)(u,{"X-B3-TraceId":i.toPaddedHexadecimalString(),"X-B3-SpanId":a.toPaddedHexadecimalString(),"X-B3-Sampled":o?"1":"0"})}}),u)))}}function H(){return window.crypto||window.msCrypto}var K=function(){function t(){this.buffer=new Uint8Array(8),H().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return t.prototype.toString=function(t){var e=this.readInt32(0),n=this.readInt32(4),r="";do{var i=e%t*4294967296+n;e=Math.floor(e/t),n=Math.floor(i/t),r=(i%t).toString(t)+r}while(e||n);return r},t.prototype.toDecimalString=function(){return this.toString(10)},t.prototype.toPaddedHexadecimalString=function(){var t=this.toString(16);return Array(17-t.length).join("0")+t},t.prototype.readInt32=function(t){return 16777216*this.buffer[t]+(this.buffer[t+1]<<16)+(this.buffer[t+2]<<8)+this.buffer[t+3]},t}(),q=["tracecontext","datadog"],G=n(6847),j=n(2793),W=n(6622),Y=n(7255),X=n(6294);function $(){var t,e=window;if(e.Zone&&(t=(0,X.I)(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){var n=new e.MutationObserver(w.Z),r=(0,X.I)(n,"originalInstance");t=r&&r.constructor}return t||(t=e.MutationObserver),t}var J=n(8973),Q=n(1708);function tt(t,e,n){if(document.readyState===e||"complete"===document.readyState)n();else{var r="complete"===e?Q.EZ.LOAD:Q.EZ.DOM_CONTENT_LOADED;(0,Q.Oo)(t,window,r,n,{once:!0})}}var te=n(8406),tn="initial_document",tr=[["document",function(t){return tn===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(0,z.q9)(["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(0,z.q9)(["audio","video"],t)||null!==/\.(mp3|mp4)$/i.exec(e)}]];function ti(){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 ta(t){if(ti(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd)){if(!to(t))return t;var e=t.redirectStart,n=t.redirectEnd;if(e<t.startTime&&(e=t.startTime),n<t.startTime&&(n=t.fetchStart),ti(t.startTime,e,n,t.fetchStart))return(0,z.f0)({},t,{redirectEnd:n,redirectStart:e})}}function to(t){return t.fetchStart!==t.startTime}function ts(t,e,n){return{duration:(0,T.c0)((0,T._J)(e,n)),start:(0,T.c0)((0,T._J)(t,e))}}function tu(t,e){return e&&!t.isIntakeUrl(e)}var tc=n(3759);function tl(t){return t.nodeType===Node.TEXT_NODE}function td(t){return t.nodeType===Node.ELEMENT_NODE}function tf(t){return td(t)&&!!t.shadowRoot}function tp(t){return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&td(t.host)}
1function th(t,e){t.childNodes.forEach(e),tf(t)&&e(t.shadowRoot)}function tv(t){return tp(t)?t.host:t.parentNode}var t_=2*T.yR;function tm(t,e){var n=e&&Number(e);if(t&&n)return{traceId:t,traceTime:n}}function tg(t){if(t&&t.nodeType===Node.COMMENT_NODE){var e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function ty(){return void 0!==window.performance&&"getEntries"in performance}function tb(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}function tw(){var t={},e=performance.timing;for(var n in e)if((0,M.hj)(e[n])){var r=e[n];t[n]=0===r?0:(0,T.ni)(r)}return t}function tE(t,e,n){var r=n.filter(function(t){return(0,U.E5)(i,t.entryType)}).filter(function(t){return!(t.entryType===i.NAVIGATION&&t.loadEventEnd<=0)&&(t.entryType!==i.RESOURCE||!!tu(e,t.name))});r.length&&t.notify(0,r)}(r=i||(i={})).EVENT="event",r.FIRST_INPUT="first-input",r.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",r.LAYOUT_SHIFT="layout-shift",r.LONG_TASK="longtask",r.NAVIGATION="navigation",r.PAINT="paint",r.RESOURCE="resource";var tT=n(2465),tS=n(8111),tC=n(1053);function tk(t,e,n){for(var r=t,i=e.split("."),a=0;a<i.length;a+=1){var o=i[a];if(!tA(r))return;a!==i.length-1?r=r[o]:r[o]=n}}function tA(t){return"object"===(0,D.o)(t)}var tx={"view.name":"string","view.url":"string","view.referrer":"string"},tI={context:"object"},tN=n(6432).l,tR=n(4433),tO=n(2285),tL=tR.T,tz=n(4232),tM=n(8136),tP=n(43),tU=n(1774),tD=1;function tZ(){var t=tD;return tD+=1,t}function tF(t){var e=t.lifeCycle,n=t.isChildEvent,r=t.onChange,i=void 0===r?w.Z:r,a={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},o=e.subscribe(11,function(t){var e;if("view"!==t.type&&n(t))switch(t.type){case"error":a.errorCount+=1,i();break;case"action":a.actionCount+=1,t.action.frustration&&(a.frustrationCount+=t.action.frustration.type.length),i();break;case"long_task":a.longTaskCount+=1,i();break;case"resource":(null===(e=t._dd)||void 0===e?void 0:e.discarded)||(a.resourceCount+=1,i())}});return{stop:function(){o.unsubscribe()},eventCounts:a}}var tV=n(8107);function tB(t,e,n){var r,i=!1,a=(0,J.iK)((0,N.zk)(function(){return c({hadActivity:!1})}),100),o=void 0!==n?(0,J.iK)((0,N.zk)(function(){return c({hadActivity:!0,end:(0,T.n$)()})}),n):void 0,s=t.subscribe(function(t){var e=t.isBusy;(0,J.gr)(a),(0,J.gr)(r);var n=(0,T.n$)();e||(r=(0,J.iK)((0,N.zk)(function(){return c({hadActivity:!0,end:n})}),100))}),u=function(){i=!0,(0,J.gr)(a),(0,J.gr)(r),(0,J.gr)(o),s.unsubscribe()};function c(t){i||(u(),e(t))}return{stop:u}}function tH(t,e,n){return new Y.y(function(r){var a,o=[],s=0;o.push(e.subscribe(c),t.subscribe(0,function(t){t.some(function(t){return t.entryType===i.RESOURCE&&!tK(n,t.name)})&&c()}),t.subscribe(5,function(t){tK(n,t.url)||(void 0===a&&(a=t.requestIndex),s+=1,c())}),t.subscribe(6,function(t){tK(n,t.url)||void 0===a||t.requestIndex<a||(s-=1,c())}));var u=(0,tV.S)(window,"open",c).stop;return function(){u(),o.forEach(function(t){return t.unsubscribe()})};function c(){r.notify({isBusy:s>0})}})}function tK(t,e){return F(t.excludedActivityUrls,e)}var tq=n(9975),tG="data-dd-action-name";function tj(t,e){if(void 0===s&&(s="closest"in HTMLElement.prototype),s)n=t.closest("[".concat(e,"]"));else for(var n,r=t;r;){if(r.hasAttribute(e)){n=r;break}r=r.parentElement}if(n)return tJ(t$(n.getAttribute(e).trim()))}var tW=[function(t,e){if(void 0===o&&(o="labels"in HTMLInputElement.prototype),o){if("labels"in t&&t.labels&&t.labels.length>0)return tQ(t.labels[0],e)}else if(t.id){var n=t.ownerDocument&&(0,z.sE)(t.ownerDocument.querySelectorAll("label"),function(e){return e.htmlFor===t.id});return n&&tQ(n,e)}},function(t){if("INPUT"===t.nodeName){var e=t.getAttribute("type");if("button"===e||"submit"===e||"reset"===e)return t.value}},function(t,e){if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return tQ(t,e)},function(t){return t.getAttribute("aria-label")},function(t,e){var n=t.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map(function(e){return t.ownerDocument?t.ownerDocument.getElementById(e):null}).filter(function(t){return!!t}).map(function(t){return tQ(t,e)}).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 tQ(t.options[0],e)}],tY=[function(t,e){return tQ(t,e)}];function tX(t,e,n){for(var r=t,i=0;
1i<=10&&r&&"BODY"!==r.nodeName&&"HTML"!==r.nodeName&&"HEAD"!==r.nodeName;){for(var a=0;a<n.length;a++){var o=(0,n[a])(r,e);if("string"==typeof o){var s=o.trim();if(s)return tJ(t$(s))}}if("FORM"===r.nodeName)break;r=r.parentElement,i+=1}}function t$(t){return t.replace(/\s+/g," ")}function tJ(t){return t.length>100?"".concat((0,tc._z)(t,100)," [...]"):t}function tQ(t,e){if(!t.isContentEditable){if("innerText"in t){var n=t.innerText,r=function(e){for(var r=t.querySelectorAll(e),i=0;i<r.length;i+=1){var a=r[i];if("innerText"in a){var o=a.innerText;o&&o.trim().length>0&&(n=n.replace(o,""))}}};return(0,tq.w1)()&&r("script, style"),r("[".concat(tG,"]")),e&&r("[".concat(e,"]")),n}return t.textContent}}var t0=[tG,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],t1=[t6,function(t){if(t.id&&!t3(t.id))return"#".concat((0,z.QA)(t.id))}],t2=[t6,function(t){if("BODY"!==t.tagName&&t.classList.length>0)for(var e=0;e<t.classList.length;e+=1){var n=t.classList[e];if(!t3(n))return"".concat((0,z.QA)(t.tagName),".").concat((0,z.QA)(n))}},function(t){return(0,z.QA)(t.tagName)}];function t5(t,e){for(var n="",r=t;r&&"HTML"!==r.nodeName;){var i=t4(r,t1,t8,e,n);if(i)return i;n=t4(r,t2,t7,e,n)||t9(function(t){for(var e=t.parentElement.firstElementChild,n=1;e&&e!==t;)e.tagName===t.tagName&&(n+=1),e=e.nextElementSibling;return"".concat((0,z.QA)(t.tagName),":nth-of-type(").concat(n,")")}(r),n),r=r.parentElement}return n}function t3(t){return/[0-9]/.test(t)}function t6(t,e){if(e){var n=i(e);if(n)return n}for(var r=0;r<t0.length;r++){var n=i(t0[r]);if(n)return n}function i(e){if(t.hasAttribute(e))return"".concat((0,z.QA)(t.tagName),"[").concat(e,'="').concat((0,z.QA)(t.getAttribute(e)),'"]')}}function t4(t,e,n,r,i){for(var a=0;a<e.length;a++){var o=(0,e[a])(t,r);if(o){var s=t9(o,i);if(n(t,s))return s}}}function t8(t,e){return 1===t.ownerDocument.querySelectorAll(e).length}function t7(t,e){return 1===t.parentElement.querySelectorAll(!function(){if(void 0===u)try{document.querySelector(":scope"),u=!0}catch(t){u=!1}return u}()?e:t9(":scope",e)).length}function t9(t,e){return e?"".concat(t,">").concat(e):t}var et=T.WT;function ee(){var t=window.getSelection();return!t||t.isCollapsed}function en(t){return t.target instanceof Element&&!1!==t.isPrimary}function er(t){return!t.hasPageActivity&&!t.getUserActivity().input&&!(0,z.Ap)(t.event.target,'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] *')}var ei=10*T.WT,ea=5*T.yR;function eo(t,e){var n=es(t)?{action:{id:t.id,loading_time:(0,T.c0)(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;return{customerContext:es(t)?void 0:t.context,rawRumEvent:(0,C.$e)({action:{id:(0,tc.DO)(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:"action",view:{in_foreground:e.isInActivePageStateAt(t.startClocks.relative)}},n),startTime:t.startClocks.relative,domainContext:es(t)?{events:t.events}:{}}}function es(t){return"custom"!==t.type}var eu=n(170),ec=n(7096),el=n(3799),ed=n(4075),ef=n(8604);function ep(t){return(0,T.WK)(t.startTime,t.duration)}function eh(t,e,n){return t.trackResources&&e.findTrackedSession(n.relative)}function ev(t){var e,n,r;return{resource:(0,z.f0)({duration:(e=t.duration,n=t.startTime,r=t.responseEnd,0===e&&n<r?(0,T.c0)((0,T._J)(n,r)):(0,T.c0)(e)),size:function(t){if(t.startTime<t.responseStart)return t.decodedBodySize}(t)},function(t){var e=ta(t);if(e){var n=e.startTime,r=e.fetchStart,i=e.redirectStart,a=e.redirectEnd,o=e.domainLookupStart,s=e.domainLookupEnd,u=e.connectStart,c=e.secureConnectionStart,l=e.connectEnd,d=e.requestStart,f=e.responseStart,p={download:ts(n,f,e.responseEnd),first_byte:ts(n,d,f)};return l!==r&&(p.connect=ts(n,u,l),ti(u,c,l)&&(p.ssl=ts(n,c,l))),s!==r&&(p.dns=ts(n,o,s)),to(t)&&(p.redirect=ts(n,i,a)),p}}(t))}}function e_(t){return(0,M.hj)(t.traceSampleRate)?t.traceSampleRate/100:void 0}function em(t,e,n){if((0,tT.W_)(tT.uh.RESOURCE_PAGE_STATES))return{_dd:{page_states:t.findAll(e.relative,n),page_was_discarded:String(document.wasDiscarded)}}}var eg=10*T.yR,ey=10*T.yR,eb=!1;function ew(t){var e=t.toJSON();return delete e.element,e}var eE=0,eT=1/0,eS=0,eC=function(){return l?eE:window.performance.interactionCount||0},ek=1*T.yR;
1function eA(){var t=window.visualViewport;return Math.round(t?t.pageLeft-t.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function ex(){var t=window.visualViewport;return Math.round(t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}function eI(t){return d||(d=new Y.y(function(e){var n=(0,w.P)(function(){e.notify(eN())},200).throttled;return(0,Q.Oo)(t,window,Q.EZ.RESIZE,n,{capture:!0,passive:!0}).stop})),d}function eN(){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 eR=T.WT,eO=5*T.yR,eL=5*T.yR;function ez(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}var eM=n(2048);function eP(t){return"2"===t||"1"===t}var eU=n(236),eD=tR.T,eZ=tR.T,eF=10*T.WT;function eV(){0!==f.batchCount&&((0,j.eJ)("Customer data measures",f),eq())}function eB(){return{min:1/0,max:0,sum:0}}function eH(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function eK(t,e){t.sum+=e.sum,t.min=Math.min(t.min,e.min),t.max=Math.max(t.max,e.max)}function eq(){f={batchCount:0,batchBytesCount:eB(),batchMessagesCount:eB(),globalContextBytes:eB(),userContextBytes:eB(),featureFlagBytes:eB()}}function eG(){h=!1,p={globalContextBytes:eB(),userContextBytes:eB(),featureFlagBytes:eB()}}var ej=tR.T;function eW(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}var eY=n(9721),eX=n(7144),e$={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},eJ={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},eQ={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},e0={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},e1={Play:0,Pause:1};function e2(t,e){return{data:(0,z.f0)({source:t},e),type:e$.IncrementalSnapshot,timestamp:(0,T.n$)()}}var e5={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:P.Jj.ALLOW,MASK:P.Jj.MASK,MASK_USER_INPUT:P.Jj.MASK_USER_INPUT},e3="data-dd-privacy",e6="hidden",e4="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",e8={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function e7(t,e){var n=tv(t),r=n?e7(n,e):e;return e9(nt(t),r)}function e9(t,e){switch(e){case e5.HIDDEN:case e5.IGNORE:return e}switch(t){case e5.ALLOW:case e5.MASK:case e5.MASK_USER_INPUT:case e5.HIDDEN:case e5.IGNORE:return t;default:return e}}function nt(t){if(td(t)){var e=t.getAttribute(e3);if("BASE"===t.tagName)return e5.ALLOW;if("INPUT"===t.tagName){if("password"===t.type||"email"===t.type||"tel"===t.type||"hidden"===t.type)return e5.MASK;var n=t.getAttribute("autocomplete");if(n&&0===n.indexOf("cc-"))return e5.MASK}return e===e6||t.classList.contains("dd-privacy-hidden")?e5.HIDDEN:"mask"===e||t.classList.contains("dd-privacy-mask")?e5.MASK:"mask-user-input"===e||t.classList.contains("dd-privacy-mask-user-input")?e5.MASK_USER_INPUT:"allow"===e||t.classList.contains("dd-privacy-allow")?e5.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"),e=i("rel"),r=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)?void 0:e5.IGNORE}}function ne(t,e){switch(e){case e5.MASK:case e5.HIDDEN:case e5.IGNORE:return!0;case e5.MASK_USER_INPUT:return tl(t)?nn(t.parentNode):nn(t);default:return!1}}
1function nn(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;if("INPUT"===t.tagName)switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!e8[t.tagName]}function nr(t,e,n){var r,i=null===(r=t.parentElement)||void 0===r?void 0:r.tagName,a=t.textContent||"";if(!e||a.trim()){if("SCRIPT"===i)a="***";else if(n===e5.HIDDEN)a="***";else if(ne(t,n)){if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!a.trim())return}else a="OPTION"===i?"***":a.replace(/\S/g,"x")}return a}}var ni=new WeakMap;function na(t){return ni.has(t)}function no(t){return ni.get(t)}function ns(t,e){var n=t.tagName,r=t.value;if(ne(t,e)){var i=t.type;if("INPUT"===n&&("button"===i||"submit"===i||"reset"===i))return r;if(!r||"OPTION"===n)return;return"***"}return"OPTION"===n||"SELECT"===n?t.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}var nu=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,nc=/^[A-Za-z]+:|^\/\//,nl=/^data:.*,/i,nd=/[^a-z1-6-_]/;function nf(t){var e=t.toLowerCase().trim();return nd.test(e)?"div":e}function np(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")}function nh(t){if(void 0!==t&&0!==t.length)return t.map(function(t){return{cssRules:Array.from(t.cssRules||t.rules,function(t){return t.cssText}),disabled:t.disabled||void 0,media:t.media.length>0?Array.from(t.media):void 0}})}function nv(t,e,n,r){if(e===e5.HIDDEN)return null;var i=t.getAttribute(n);if(e===e5.MASK&&n!==e3&&!t0.includes(n)&&n!==r.actionNameAttribute){var a=t.tagName;switch(n){case"title":case"alt":case"placeholder":return"***"}if("IMG"===a&&("src"===n||"srcset"===n)){if(t.naturalWidth>0)return np(t.naturalWidth,t.naturalHeight);var o=t.getBoundingClientRect(),s=o.width,u=o.height;return s>0||u>0?np(s,u):e4}if("SOURCE"===a&&("src"===n||"srcset"===n))return e4;if("A"===a&&"href"===n||i&&(0,z.Ny)(n,"data-"))return"***"}return i&&"string"==typeof i&&i.length>1e5&&"data:"===i.slice(0,5)?"data:truncated":i}function n_(t){var e,n,r;if(!t)return null;try{e=t.rules||t.cssRules}catch(t){}return e?(n=Array.from(e,(0,tq.G6)()?nm:ng).join(""),r=t.href,n.replace(nu,function(t,e,n,i,a,o){var s=n||a||o;if(!r||!s||nc.test(s)||nl.test(s))return t;var u=e||i||"";return"url(".concat(u).concat(function(t,e){try{return(0,te.Q2)(t,e).href}catch(e){return t}}(s,r)).concat(u,")")})):null}function nm(t){return"selectorText"in t&&t.selectorText.includes(":")?t.cssText.replace(/(\[[\w-]+[^\\])(:[^\]]+\])/g,"$1\\$2"):ng(t)}function ng(t){return"styleSheet"in t&&n_(t.styleSheet)||t.cssText}function ny(t,e){var n=function(t,e){var n;switch(t.nodeType){case t.DOCUMENT_NODE:return{type:eJ.Document,childNodes:nw(t,e),adoptedStyleSheets:nh(t.adoptedStyleSheets)};case t.DOCUMENT_FRAGMENT_NODE:return(n=tp(t))&&e.serializationContext.shadowRootsController.addShadowRoot(t),{type:eJ.DocumentFragment,childNodes:nw(t,e),isShadowRoot:n,adoptedStyleSheets:n?nh(t.adoptedStyleSheets):void 0};case t.DOCUMENT_TYPE_NODE:return{type:eJ.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId};case t.ELEMENT_NODE:return function(t,e){var n,r=nf(t.tagName),i="svg"===t.tagName||t instanceof SVGElement||void 0,a=e9(nt(t),e.parentNodePrivacyLevel);if(a===e5.HIDDEN){var o=t.getBoundingClientRect(),s=o.width,u=o.height;return{type:eJ.Element,tagName:r,attributes:((n={rr_width:"".concat(s,"px"),rr_height:"".concat(u,"px")})[e3]=e6,n),childNodes:[],isSVG:i}}if(a!==e5.IGNORE){var c=function(t,e,n){if(e===e5.HIDDEN)return{};for(var r,i,a,o={},s=nf(t.tagName),u=t.ownerDocument,c=0;c<t.attributes.length;c+=1){var l=t.attributes.item(c).name,d=nv(t,e,l,n.configuration);null!==d&&(o[l]=d)}if(t.value&&("textarea"===s||"select"===s||"option"===s||"input"===s)){var f=ns(t,e);void 0!==f&&(o.value=f)}if("option"===s&&e===e5.ALLOW&&t.selected&&(o.selected=t.selected),"link"===s){var p=Array.from(u.styleSheets).find(function(e){return e.href===t.href}),h=n_(p);h&&p&&!(0,tT.W_)(tT.uh.DISABLE_REPLAY_INLINE_CSS)&&(o._cssText=h)}if("style"===s&&t.sheet){var h=n_(t.sheet);h&&(o._cssText=h)}"input"===s&&("radio"===t.type||"checkbox"===t.type)&&(e===e5.ALLOW?o.checked=!!t.checked:ne(t,e)&&delete o.checked),("audio"===s||"video"===s)&&(o.rr_mediaState=t.paused?"paused":"played");var v=n.serializationContext;switch(v.status){case 0:i=Math.round(t.scrollTop),a=Math.round(t.scrollLeft),(i||a)&&v.elementsScrollPositions.set(t,{scrollTop:i,scrollLeft:a});break;case 1:v.elementsScrollPositions.has(t)&&(i=(r=v.elementsScrollPositions.get(t)).scrollTop,a=r.scrollLeft)}return a&&(o.rr_scrollLeft=a),i&&(o.rr_scrollTop=i),o}(t,a,e),l=[];return(t.childNodes.length>0||tf(t))&&"style"!==r&&(l=nw(t,e.parentNodePrivacyLevel===a&&e.ignoreWhiteSpace===("head"===r)?e:(0,z.f0)({},e,{parentNodePrivacyLevel:a,ignoreWhiteSpace:"head"===r}))),{type:eJ.Element,tagName:r,attributes:c,childNodes:l,isSVG:i}}}(t,e);case t.TEXT_NODE:return function(t,e){var n=nr(t,e.ignoreWhiteSpace||!1,e.parentNodePrivacyLevel);if(void 0!==n)return{type:eJ.Text,textContent:n}}(t,e);case t.CDATA_SECTION_NODE:return{type:eJ.CDATA,textContent:""}}}(t,e);if(!n)return null;var r=no(t)||nb++;return n.id=r,ni.set(t,r),e.serializedNodeIds&&e.serializedNodeIds.add(r),n}var nb=1;function nw(t,e){var n=[];return th(t,function(t){var r=ny(t,e);r&&n.push(r)}),n}function nE(t){return!!t.changedTouches}function nT(t){return!0===t.composed&&tf(t.target)?t.composedPath()[0]:t.target}
1var nS=function(t,e){var n=window.visualViewport,r={layoutViewportX:t,layoutViewportY:e,visualViewportX:t,visualViewportY:e};return n&&(Math.abs(n.pageTop-n.offsetTop-window.scrollY)>25||Math.abs(n.pageLeft-n.offsetLeft-window.scrollX)>25?(r.layoutViewportX=Math.round(t+n.offsetLeft),r.layoutViewportY=Math.round(e+n.offsetTop)):(r.visualViewportX=Math.round(t-n.offsetLeft),r.visualViewportY=Math.round(e-n.offsetTop))),r},nC=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 nk(t){var e=nE(t)?t.changedTouches[0]:t,n=e.clientX,r=e.clientY;if(window.visualViewport){var i=nS(n,r),a=i.visualViewportX,o=i.visualViewportY;n=a,r=o}if(!Number.isFinite(n)||!Number.isFinite(r)){t.isTrusted&&(0,j.eJ)("mouse/touch event without x/y");return}return{x:n,y:r}}var nA=((v={})[Q.EZ.POINTER_UP]=e0.MouseUp,v[Q.EZ.MOUSE_DOWN]=e0.MouseDown,v[Q.EZ.CLICK]=e0.Click,v[Q.EZ.CONTEXT_MENU]=e0.ContextMenu,v[Q.EZ.DBL_CLICK]=e0.DblClick,v[Q.EZ.FOCUS]=e0.Focus,v[Q.EZ.BLUR]=e0.Blur,v[Q.EZ.TOUCH_START]=e0.TouchStart,v[Q.EZ.TOUCH_END]=e0.TouchEnd,v);function nx(t,e,n){void 0===n&&(n=document);var r,i=t.defaultPrivacyLevel,a=new WeakMap,o=n!==document,s=(0,Q.yw)(t,n,o?[Q.EZ.CHANGE]:[Q.EZ.INPUT,Q.EZ.CHA
1NGE],function(t){var e=nT(t);(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)&&c(e)},{capture:!0,passive:!0}).stop;if(o)r=w.Z;else{var u=[(0,tV.X)(HTMLInputElement.prototype,"value",c),(0,tV.X)(HTMLInputElement.prototype,"checked",c),(0,tV.X)(HTMLSelectElement.prototype,"value",c),(0,tV.X)(HTMLTextAreaElement.prototype,"value",c),(0,tV.X)(HTMLSelectElement.prototype,"selectedIndex",c)];r=function(){u.forEach(function(t){return t.stop()})}}return function(){r(),s()};function c(t){var e,n=e7(t,i);if(n!==e5.HIDDEN){var r=t.type;if("radio"===r||"checkbox"===r){if(ne(t,n))return;e={isChecked:t.checked}}else{var a=ns(t,n);if(void 0===a)return;e={text:a}}l(t,e);var o=t.name;"radio"===r&&o&&t.checked&&(0,z.Ed)(document.querySelectorAll('input[type="radio"][name="'.concat((0,z.QA)(o),'"]')),function(e){e!==t&&l(e,{isChecked:!1})})}}function l(t,n){if(na(t)){var r=a.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(a.set(t,n),e((0,z.f0)({id:no(t)},n)))}}}function nI(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 nN(t,e,n,r){var i=$();if(!i)return{stop:w.Z,flush:w.Z};var a=function(t){var e=w.Z,n=[];function r(){e(),t(n),n=[]}return{addMutations:function(t){0===n.length&&(e=function(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){var n=window.requestIdleCallback((0,N.zk)(t),e);return function(){return window.cancelIdleCallback(n)}}
1var r=window.requestAnimationFrame((0,N.zk)(t));return function(){return window.cancelAnimationFrame(r)}}(r,{timeout:100})),n.push.apply(n,t)},flush:r,stop:function(){e()}}}(function(r){!function(t,e,n,r){t.filter(function(t){return"childList"===t.type}).forEach(function(t){t.removedNodes.forEach(function(t){!function t(e,n){tf(e)&&n(e.shadowRoot),th(e,function(e){return t(e,n)})}(t,r.removeShadowRoot)})});var i=t.filter(function(t){return t.target.isConnected&&function(t){for(var e=t;e;){if(!na(e)&&!tp(e))return!1;e=tv(e)}return!0}(t.target)&&e7(t.target,n.defaultPrivacyLevel)!==e5.HIDDEN}),a=function(t,e,n){for(var r=new Set,i=new Map,a=function(t){t.addedNodes.forEach(function(t){r.add(t)}),t.removedNodes.forEach(function(e){r.has(e)||i.set(e,t.target),r.delete(e)})},o=0;o<t.length;o++)a(t[o]);var s=Array.from(r);!function(t){t.sort(function(t,e){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS?1:n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0})}(s);for(var u=new Set,c=[],l=0;l<s.length;l++){var d=s[l];if(!_(d)){var f=e7(d.parentNode,e.defaultPrivacyLevel);if(f!==e5.HIDDEN&&f!==e5.IGNORE){var p=ny(d,{serializedNodeIds:u,parentNodePrivacyLevel:f,serializationContext:{status:2,shadowRootsController:n},configuration:e});if(p){var h=tv(d);c.push({nextId:function(t){for(var e=t.nextSibling;e;){if(na(e))return no(e);e=e.nextSibling}return null}(d),parentId:no(h),node:p})}}}}var v=[];return i.forEach(function(t,e){na(e)&&v.push({parentId:no(t),id:no(e)})}),{adds:c,removes:v,hasBeenSerialized:_};function _(t){return na(t)&&u.has(no(t))}}(i.filter(function(t){return"childList"===t.type}),n,r),o=a.adds,s=a.removes,u=a.hasBeenSerialized,c=function(t,e){for(var n,r=[],i=new Set,a=t.filter(function(t){return!i.has(t.target)&&(i.add(t.target),!0)}),o=0;o<a.length;o++){var s=a[o];if(s.target.textContent!==s.oldValue){var u=e7(tv(s.target),e.defaultPrivacyLevel);u!==e5.HIDDEN&&u!==e5.IGNORE&&r.push({id:no(s.target),value:null!==(n=nr(s.target,!1,u))&&void 0!==n?n:null})}}return r}(i.filter(function(t){return"characterData"===t.type&&!u(t.target)}),n),l=function(t,e){for(var n=[],r=new Map,i=t.filter(function(t){var e=r.get(t.target);return(null==e||!e.has(t.attributeName))&&(e?e.add(t.attributeName):r.set(t.target,new Set([t.attributeName])),!0)}),a=new Map,o=0;o<i.length;o++){var s=i[o];if(s.target.getAttribute(s.attributeName)!==s.oldValue){var u=e7(s.target,e.defaultPrivacyLevel),c=nv(s.target,u,s.attributeName,e),l=void 0;if("value"===s.attributeName){var d=ns(s.target,u);if(void 0===d)continue;l=d}else l="string"==typeof c?c:null;var f=a.get(s.target);f||(f={id:no(s.target),attributes:{}},n.push(f),a.set(s.target,f)),f.attributes[s.attributeName]=l}}return n}(i.filter(function(t){return"attributes"===t.type&&!u(t.target)}),n);(c.length||l.length||s.length||o.length)&&e({adds:o,removes:s,texts:c,attributes:l})}(r.concat(o.takeRecords()),t,e,n)}),o=new i((0,N.zk)(a.addMutations));return o.observe(r,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){o.disconnect(),a.stop()},flush:function(){a.flush()}}}var nR=function(t,e){var n=e.mutationCb,r=e.inputCb,i=new Map,a={addShadowRoot:function(e){if(!i.has(e)){var o=nN(n,t,a,e),s=o.stop,u=o.flush,c=nx(t,r,e);i.set(e,{flush:u,stop:function(){s(),c()}})}},removeShadowRoot:function(t){var e=i.get(t);e&&(e.stop(),i.delete(t))},stop:function(){i.forEach(function(t){return(0,t.stop)()})},flush:function(){i.forEach(function(t){return(0,t.flush)()})}};return a};function nO(t){var e;return _||(_=new Map),_.has(t)?e=_.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},_.set(t,e),_.size>10&&function(){if(_){if(_.keys)_.delete(_.keys().next().value);else{var t=!0;_.forEach(function(e,n){t&&(_.delete(n),t=!1)})}}}()),e}var nL=function(){function t(t,e,n){this.encoder=t,this.encodedBytesCount=0;var r=e.view.id;this.metadata=(0,z.f0)({start:1/0,end:-1/0,creation_reason:n,records_count:0,has_full_snapshot:!1,index_in_view:nO(r).segments_count,source:"browser"},e),nO(r).segments_count+=1}return t.prototype.addRecord=function(t,e){var n,r,i=this;this.metadata.start=Math.min(this.metadata.start,t.timestamp),this.metadata.end=Math.max(this.metadata.end,t.timestamp),this.metadata.records_count+=1,(r=this.metadata).has_full_snapshot||(r.has_full_snapshot=t.type===e$.FullSnapshot),(0,G.j)("record",{record:t,segment:this.metadata}),n=this.metadata.view.id,nO(n).records_count+=1;var a=this.encoder.isEmpty?'{"records":[':",";this.encoder.write(a+JSON.stringify(t),function(t){i.encodedBytesCount+=t,e(i.encodedBytesCount)})},t.prototype.flush=function(t){var e=this;if(this.encoder.isEmpty)throw Error("Empty segment flushed");this.encoder.write("],".concat(JSON.stringify(this.metadata).slice(1),"\n")),this.encoder.finish(function(n){var r,i;r=e.metadata.view.id,i=n.rawBytesCount,nO(r).segments_total_raw_size+=i,t(e.metadata,n)})},t}(),nz=30*T.WT;function nM(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}var nP=n(9279);function nU(t,e,n){var r,i=0,a=[],o=0,s=[],u=(0,Q.Oo)(t,e,"message",function(t){var e=t.data;if("wrote"===e.type&&e.streamId===n){i+=e.additionalBytesCount,a.push(e.result),r=e.trailer;var o=s.shift();o&&o.id===e.id?o.writeCallback?o.writeCallback(e.result.byteLength):o.finishCallback&&o.finishCallback():(u(),(0,j.eJ)("Worker responses received out of order."))}}).stop;function c(){var t=0===a.length?new Uint8Array(0):(0,nP.Kb)(a.concat(r)),e={rawBytesCount:i,output:t,outputBytesCount:t.byteLength,encoding:"deflate"};return i=0,a=[],e}function l(){o>0&&(e.postMessage({action:"reset",streamId:n}),o=0)}return{isAsync:!0,get isEmpty(){return 0===o},write:function(t,r){e.postMessage({action:"write",id:o,data:t,streamId:n}),s.push({id:o,writeCallback:r,data:t}),o+=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(0,z.f0)(c(),{pendingData:t})},estimateEncodedBytesCount:function(t){return t.length/8},stop:function(){u()}}}var nD=10*T.WT;function nZ(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>>
vendor: 4,441 bytes, line 1
1>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)}
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]
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)}
1,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);
1i.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.8.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 nF={status:0};function nV(t,e,n,r){switch(void 0===r&&(r=nZ),0===nF.status&&function(t,e,n){void 0===n&&(n=nZ);try{var r=n(t),i=(0,Q.Oo)(t,r,"error",function(n){nB(t,e,n)}).stop,a=(0,Q.Oo)(t,r,"message",function(n){var r,i=n.data;
1"errored"===i.type?nB(t,e,i.error,i.streamId):"initialized"===i.type&&(r=i.version,1===nF.status&&(nF={status:3,worker:nF.worker,stop:nF.stop,version:r}))}).stop;r.postMessage({action:"init"}),(0,J.iK)(function(){1===nF.status&&(S.jf.error("".concat(e," failed to start: a timeout occurred while initializing the Worker")),nF.initializationFailureCallbacks.forEach(function(t){return t()}),nF={status:2})},nD),nF={status:1,worker:r,stop:function(){i(),a()},initializationFailureCallbacks:[]}}catch(n){nB(t,e,n)}}(t,e,r),nF.status){case 1:return nF.initializationFailureCallbacks.push(n),nF.worker;case 3:return nF.worker}}function nB(t,e,n,r){if(1===nF.status||0===nF.status){var i;if(S.jf.error("".concat(e," failed to start: an error occurred while creating the Worker:"),n),n instanceof Event||n instanceof Error&&(i=n.message,(0,z.q9)(i,"Content Security Policy")||(0,z.q9)(i,"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.",S.jf.error("".concat(a," See documentation at https://docs.datadoghq.com/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else(0,j.Sz)(n);1===nF.status&&nF.initializationFailureCallbacks.forEach(function(t){return t()}),nF={status:2}}else(0,j.Sz)(n,{worker_version:3===nF.status&&nF.version,stream_id:r})}var nH=function(t,e,n){var r,i=void 0===n?{}:n,a=i.ignoreInitIfSyntheticsWillInjectRum,o=void 0===a||a,s=i.startDeflateWorker,u=i.createDeflateEncoder,c=!1,l=(0,y.iv)(0),d=(0,b.W)(l.getOrCreateTracker(2)),f=(0,b.W)(l.getOrCreateTracker(1));function p(){return{context:d.getContext(),user:f.getContext(),hasReplay:!!e.isRecording()||void 0}}var h=function(){},v=function(){},_=w.Z,g=new E.S,F=function(t,e){void 0===e&&(e=(0,T.n$)()),g.add(function(){return F(t,e)})},V=function(t,e){void 0===e&&(e=(0,T.$I)()),g.add(function(){return V(t,e)})},B=function(t,e){void 0===e&&(e=p()),g.add(function(){return B(t,e)})},H=function(t,e){void 0===e&&(e=p()),g.add(function(){return H(t,e)})},K=function(t,e){g.add(function(){return K(t,e)})};function G(n,i,a){n.storeContextsAcrossPages&&((0,x.ue)(i,d,"rum",2),(0,x.ue)(i,f,"rum",1)),l.setCompressionStatus(r?1:2);var o=t(n,i,e,l,p,a,r&&u?function(t){return u(i,r,t)}:I.G);V=o.startView,B=o.addAction,H=o.addError,F=o.addTiming,K=o.addFeatureFlagEvaluation,h=o.getInternalContext,_=o.stopSession,e.onRumStart(o.lifeCycle,i,o.session,o.viewContexts,r),g.drain()}var j=(0,N.zk)(function(t){V("object"==typeof t?t:{name:t})});return(0,m.r)({init:(0,N.zk)(function(t){if(!t){S.jf.error("Missing configuration");return}if(v=function(){return(0,C.I8)(t)},!(o&&(0,k.Y9)())){var e,n,i=(0,A.x)();if(i&&(e=t,t=(0,z.f0)({},e,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})),n=t,!c||(n.silentMultipleInit||S.jf.error("DD_RUM is already initialized."),0)){var a=function(t){if(!t.applicationId){S.jf.error("Application ID is not configured, no RUM data will be collected.");return}if(void 0!==t.sessionReplaySampleRate&&!(0,M.zz)(t.sessionReplaySampleRate)){S.jf.error("Session Replay Sample Rate should be a number between 0 and 100");return}if(void 0!==t.traceSampleRate&&!(0,M.zz)(t.traceSampleRate)){S.jf.error("Trace Sample Rate should be a number between 0 and 100");return}if(void 0!==t.excludedActivityUrls&&!Array.isArray(t.excludedActivityUrls)){S.jf.error("Excluded Activity Urls should be an array");return}var e,n,r=function(t){if(void 0!==t.allowedTracingUrls){if(!Array.isArray(t.allowedTracingUrls)){S.jf.error("Allowed Tracing URLs should be an array");return}if(0!==t.allowedTracingUrls.length&&void 0===t.service){S.jf.error("Service needs to be configured when tracing is enabled");return}var e=[];return t.allowedTracingUrls.forEach(function(t){Z(t)?e.push({match:t,propagatorTypes:q}):"object"===(0,D.o)(t)&&Z(t.match)&&Array.isArray(t.propagatorTypes)?e.push(t):S.jf.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",t)}),e}return[]}(t);if(r){var i=(0,P.fP)(t);if(i)return(0,z.f0)({applicationId:t.applicationId,version:t.version,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:(0,U.E5)(P.Jj,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:P.Jj.MASK,customerDataTelemetrySampleRate:1},i)}}(t);if(a){if(!i&&!a.sessionStoreStrategyType){S.jf.warn("No storage available for session. We will not send any data.");return}if(!a.compressIntakeRequests||i||!s||(r=s(a,"Datadog RUM",w.Z))){if(a.trackViewsManually){var u=g;g=new E.S,V=function(e){G(t,a,e)},u.drain()}else G(t,a);c=!0}}}}}),setGlobalContextProperty:(0,N.zk)(function(t,e){return d.setContextProperty(t,e)}),removeGlobalContextProperty:(0,N.zk)(function(t){return d.removeContextProperty(t)}),getGlobalContext:(0,N.zk)(function(){return d.getContext()}),setGlobalContext:(0,N.zk)(function(t){return d.setContext(t)}
1),clearGlobalContext:(0,N.zk)(function(){return d.clearContext()}),getInternalContext:(0,N.zk)(function(t){return h(t)}),getInitConfiguration:(0,N.zk)(function(){return v()}),addAction:(0,N.zk)(function(t,e){B({name:(0,R.N)(t),context:(0,R.N)(e),startClocks:(0,T.$I)(),type:"custom"})}),addError:function(t,e){var n=(0,O.Xp)();(0,N.L6)(function(){H({error:t,handlingStack:n,context:(0,R.N)(e),startClocks:(0,T.$I)()})})},addTiming:(0,N.zk)(function(t,e){F((0,R.N)(t),e)}),setUser:(0,N.zk)(function(t){(0,L.z)(t)&&f.setContext((0,L.I)(t))}),getUser:(0,N.zk)(function(){return f.getContext()}),setUserProperty:(0,N.zk)(function(t,e){var n,r=(0,L.I)(((n={})[t]=e,n))[t];f.setContextProperty(t,r)}),removeUserProperty:(0,N.zk)(function(t){return f.removeContextProperty(t)}),clearUser:(0,N.zk)(function(){return f.clearContext()}),startView:j,stopSession:(0,N.zk)(function(){_()}),addFeatureFlagEvaluation:(0,N.zk)(function(t,e){K((0,R.N)(t),(0,R.N)(e))}),getSessionReplayLink:(0,N.zk)(function(){return e.getSessionReplayLink()}),startSessionReplayRecording:(0,N.zk)(function(){return e.start()}),stopSessionReplayRecording:(0,N.zk)(function(){return e.stop()})})}(function(t,e,n,r,o,s,u){var d,v,_,m,g,y,b,E,x,I,L,F,H,K,X,ti,to,ts,tf,tp,th,tv,tR,tD,tK,tq,t$,tJ=[],tQ=new tN;tQ.subscribe(11,function(t){return(0,G.j)("rum",t)});var t0=function(t){var e=(0,j.VL)("browser-rum-sdk",t);if((0,A.x)()){var n=(0,A.A)();e.observable.subscribe(function(t){return n.send("internal_telemetry",t)})}return e}(e);t0.setContextProvider(function(){var t,n;return{application:{id:e.applicationId},session:{id:null===(t=t4.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(n=e0.findView())||void 0===n?void 0:n.id},action:{id:e5.findActionId()}}});var t1=function(t){tQ.notify(12,{error:t}),(0,j.eJ)("Error reported to customer",{"error.message":t.message})},t2=function(t,e){if(!(0,tT.W_)(tT.uh.FEATURE_FLAGS))return{findFeatureFlagEvaluations:function(){},addFeatureFlagEvaluation:w.Z,stop:w.Z};var n=new tO.P(eZ);return t.subscribe(4,function(t){var e=t.endClocks;n.closeActive(e.relative)}),t.subscribe(2,function(t){var r=t.startClocks;n.add({},r.relative),e.resetCustomerData()}),{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()}}}(tQ,r.getOrCreateTracker(0)),t3=(0,W.Pd)(e),t6=t3.subscribe(function(t){tQ.notify(9,t)});tJ.push(function(){return t6.unsubscribe()});var t4=(0,A.x)()?(t7={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplayAllowed:!1},{findTrackedSession:function(){return t7},expire:w.Z,expireObservable:new Y.y}):((t9=(0,eM.HX)(e,"rum",function(t){var n;return{trackingType:n="0"===t||"1"===t||"2"===t?t:(0,M.y7)(e.sessionSampleRate)?(0,M.y7)(e.sessionReplaySampleRate)?"1":"2":"0",isTracked:eP(n)}})).expireObservable.subscribe(function(){tQ.notify(7)}),t9.renewObservable.subscribe(function(){tQ.notify(8)}),{findTrackedSession:function(t){var e=t9.findActiveSession(t);if(e&&eP(e.trackingType))return{id:e.id,sessionReplayAllowed:"1"===e.trackingType}},expire:t9.expire,expireObservable:t9.expireObservable});if((0,A.x)())!function(t){var e=(0,A.A)();t.subscribe(11,function(t){e.send("rum",t)})}(tQ);else{var t8,t7,t9,es,eA,eB,eY,eX=(es=t0.observable,eA=t4.expireObservable,eB=e.replica,eY=(0,eU.W)(e,{endpoint:e.rumEndpointBuilder,encoder:u(2)},eB&&{endpoint:eB.rumEndpointBuilder,transformMessage:function(t){return(0,C.$e)(t,{application:{id:eB.applicationId}})},encoder:u(3)},t1,t3,eA),tQ.subscribe(11,function(t){"view"===t.type?eY.upsert(t,t.view.id):eY.add(t)}),es.subscribe(function(t){return eY.add(t,(0,j.VG)(e))}),eY);tJ.push(function(){return eX.stop()}),t8=eX.flushObservable,t0.enabled&&(0,M.y7)(e.customerDataTelemetrySampleRate)&&(eq(),eG(),tQ.subscribe(11,function(t){h=!0,eH(p.globalContextBytes,r.getOrCreateTracker(2).getBytesCount()),eH(p.userContextBytes,r.getOrCreateTracker(1).getBytesCount()),eH(p.featureFlagBytes,(0,z.q9)(["view","error"],t.type)?r.getOrCreateTracker(0).getBytesCount():0)}),t8.subscribe(function(t){var e=t.bytesCount,n=t.messagesCount;h&&(f.batchCount+=1,eH(f.batchBytesCount,e),eH(f.batchMessagesCount,n),eK(f.globalContextBytes,p.globalContextBytes),eK(f.userContextBytes,p.userContextBytes),eK(f.featureFlagBytes,p.featureFlagBytes),eG())}),(0,J.Zi)(eV,eF))}var e$=(ts=$(),new Y.y(function(t){if(ts){var e=new ts((0,N.zk)(function(){return t.notify()}));return e.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return e.disconnect()}}})),eJ=(tf=location,tp=(0,U.mv)(tf),new Y.y(function(t){var n,r,i,a=(n=(0,tV.S)(history,"pushState",function(t){(0,t.onPostCall)(s)}).stop,r=(0,tV.S)(history,"replaceState",function(t){(0,t.onPostCall)(s)}).stop,i=(0,Q.Oo)(e,window,Q.EZ.POP_STATE,s).stop,{stop:function(){n(),r(),i()}}).stop,o=(0,Q.Oo)(e,window,Q.EZ.HASH_CHANGE,s).stop;function s(){if(tp.href!==tf.href){var e=(0,U.mv)(tf);t.notify({newLocation:e,oldLocation:tp}),tp=e}}return function(){a(),o()}})),eQ=(d=tQ,v=e,_=location,m=t4,g=eJ,y=e$,b=o,E=t1,L=(x=new tO.P(tL),d.subscribe(2,function(t){x.add({service:t.service,version:t.version,id:t.id,name:t.name,startClocks:t.startClocks},t.startClocks.relative)}),d.subscribe(4,function(t){var e=t.endClocks;x.closeActive(e.relative)}),d.subscribe(8,function(){x.reset()}),{findView:function(t){return x.find(t)},stop:function(){x.stop()}}),F=function(t,e,n){var r,i=new tO.P(eD);t.subscribe(4,function(t){var e=t.endClocks;i.closeActive(e.relative)}),t.subscribe(2,function(t){var e=t.startClocks,a=n.href;i.add(o({url:a,referrer:r||document.referrer}),e.relative),r=a});var a=e.subscribe(function(t){var e=t.newLocation,n=i.find();if(n){var r=(0,T._q)();i.closeActive(r),i.add(o({url:e.href,referrer:n.referrer}),r)}});function o(t){return{url:t.url,referrer:t.referrer}}return{findUrl:function(t){return i.find(t)},stop:function(){a.unsubscribe(),i.stop()}}}(d,g,_),H=function(t,e){void 0===e&&(e=500);var n,r=new tO.P(ej,4e3);a(eW(),(0,T._q)());var i=(0,Q.yw)(t,window,[Q.EZ.PAGE_SHOW,Q.EZ.FOCUS,Q.EZ.BLUR,Q.EZ.VISIBILITY_CHANGE,Q.EZ.RESUME,Q.EZ.FREEZE,Q.EZ.PAGE_HIDE],function(t){a(t.type===Q.EZ.FREEZE?"frozen":t.type===Q.EZ.PAGE_HIDE?t.persisted?"frozen":"terminated":eW(),t.timeStamp)},{capture:!0}).stop;function a(t,e){void 0===e&&(e=(0,T._q)()),t!==n&&(n=t,r.closeActive(e),r.add({state:n,startTime:e},e))}return{findAll:function(t,n){var i=r.findAll(t,n);if(0!==i.length){for(var a=[],o=Math.max(0,i.length-e),s=i.length-1;s>=o;s--){var u=i[s],c=(0,T._J)(t,u.startTime);a.push({state:u.state,start:(0,T.c0)(c)})}return a}},isInActivePageStateAt:function(t){var e=r.find(t);return void 0!==e&&"active"===e.state},addPageState:a,stop:function(){i(),r.stop()}}}(v),X=(K=function(t,e,n,r){t.subscribe(1,function(e){return t.notify(10,eo(e,r))});var i={findActionId:w.Z};return n.trackUserInteractions&&(i=function(t,e,n){var r,i,a,o,s,u,c,l,d=new tO.P(ea),f=new Y.y;t.subscribe(8,function(){d.reset()}),t.subscribe(4,v);var p=(o=(r={onPointerDown:function(r){var i,a,o,s,u,c,l,d,f,p;return i=n,a=t,o=e,f=(s=r,u=i.actionNameAttribute,{type:"click",target:{width:Math.round((l=s.target.getBoundingClientRect()).width),height:Math.round(l.height),selector:t5(s.target,u)},position:{x:Math.round(s.clientX-l.left),y:Math.round(s.clientY-l.top)},name:tj(c=s.target,tG)||u&&tj(c,u)||tX(c,u,tW)||tX(c,u,tY)||""}),p=!1,d=function(t){p=t.hadActivity},tB(tH(a,o,i),d,100),{clickActionBase:f,hadActivityOnPointerDown:function(){return p}}},onPointerUp:function(r,i,a){var o,s,u,c,l,p,v,_,m,g,y,b,w,E,S;return o=n,s=t,u=e,c=d,l=f,p=h,v=r.clickActionBase,_=i,m=a,g=r.hadActivityOnPointerDown,p(b=function t(e,n,r,i,a){var o,s=(0,tc.DO)(),u=(0,T.$I)(),c=n.add(s,u.relative),l=tF({lifeCycle:e,isChildEvent:function(t){return void 0!==t.action&&(Array.isArray(t.action.id)?(0,z.q9)(t.action.id,s):t.action.id===s)}}),d=0,f=[],p=new Y.y;
1function h(t){0===d&&(d=1,(o=t)?c.close((0,T.ni)(o)):c.remove(),l.stop(),p.notify())}return{event:a,stop:h,stopObservable:p,get hasError(){return l.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==o},getUserActivity:r,addFrustration:function(t){f.push(t)},startClocks:u,isStopped:function(){return 1===d||2===d},clone:function(){return t(e,n,r,i,a)},validate:function(t){if(h(),1===d){var n=l.eventCounts,r=n.resourceCount,c=n.errorCount,p=n.longTaskCount,v=(0,z.f0)({type:"click",duration:o&&(0,T._J)(u.timeStamp,o),startClocks:u,id:s,frustrationTypes:f,counts:{resourceCount:r,errorCount:c,longTaskCount:p},events:null!=t?t:[a],event:a},i);e.notify(1,v),d=2}},discard:function(){h(),d=2}}}(s,c,m,v,_)),w=(y=function(t){t.hadActivity&&t.end<b.startClocks.timeStamp?b.discard():t.hadActivity?b.stop(t.end):g()?b.stop(b.startClocks.timeStamp):b.stop()},tB(tH(s,u,o),y,ei)).stop,E=s.subscribe(4,function(t){var e=t.endClocks;b.stop(e.timeStamp)}),S=l.subscribe(function(){b.stop()}),void b.stopObservable.subscribe(function(){E.unsubscribe(),w(),S.unsubscribe()})}}).onPointerDown,s=r.onPointerUp,u={selection:!1,input:!1},c=[(0,Q.Oo)(n,window,Q.EZ.POINTER_DOWN,function(t){en(t)&&(i=ee(),u={selection:!1,input:!1},a=o(t))},{capture:!0}),(0,Q.Oo)(n,window,Q.EZ.SELECTION_CHANGE,function(){i&&ee()||(u.selection=!0)},{capture:!0}),(0,Q.Oo)(n,window,Q.EZ.POINTER_UP,function(t){if(en(t)&&a){var e=u;s(a,t,function(){return e}),a=void 0}},{capture:!0}),(0,Q.Oo)(n,window,Q.EZ.INPUT,function(){u.input=!0},{capture:!0})],{stop:function(){c.forEach(function(t){return t.stop()})}}).stop;return{stop:function(){v(),f.notify(),p()},actionContexts:{findActionId:function(t){return d.findAll(t)}}};function h(t){if(!l||!l.tryAppend(t)){var e=t.clone();l=function(t,e){var n,r=[],i=0;function a(t){t.stopObservable.subscribe(o),r.push(t),(0,J.gr)(n),n=(0,J.iK)(s,et)}function o(){1===i&&r.every(function(t){return t.isStopped()})&&(i=2,e(r))}function s(){(0,J.gr)(n),0===i&&(i=1,o())}return a(t),{tryAppend:function(t){var e,n;return 0===i&&(!(r.length>0)||(e=r[r.length-1].event,n=t.event,e.target===n.target&&100>=Math.sqrt(Math.pow(e.clientX-n.clientX,2)+Math.pow(e.clientY-n.clientY,2))&&e.timeStamp-n.timeStamp<=et)?(a(t),!0):(s(),!1))},stop:function(){s()}}}(t,function(t){(function(t,e){if(function(t){if(t.some(function(t){return t.getUserActivity().selection}))return!1;for(var e=0;e<t.length-2;e+=1)if(t[e+3-1].event.timeStamp-t[e].event.timeStamp<=T.WT)return!0;return!1}(t))return e.addFrustration("rage_click"),t.some(er)&&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"),er(t)&&!n&&t.addFrustration("dead_click")}),{isRage:!1}})(t,e).isRage?(t.forEach(function(t){return t.discard()}),e.stop((0,T.n$)()),e.validate(t.map(function(t){return t.event}))):(e.discard(),t.forEach(function(t){return t.validate()}))})}}function v(){l&&l.stop()}}(t,e,n).actionContexts),{addAction:function(e,n){t.notify(10,(0,z.f0)({savedCommonContext:n},eo(e,r)))},actionContexts:i}}(d,y,v,H)).addAction,ti=K.actionContexts,to=(I=eN(),{get:function(){return{viewport:I}},stop:eI(v).subscribe(function(t){I=t}).unsubscribe}),!function(t,e,n,r,i,o,s,u,c){(l={}).view=tx,l.error=(0,z.f0)({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},tI,tx),l.resource=(0,z.f0)({"resource.url":"string"},(0,tT.W_)(tT.uh.WRITABLE_RESOURCE_GRAPHQL)&&{"resource.graphql":"object"},tI,tx),l.action=(0,z.f0)({"action.target.name":"string"},tI,tx),l.long_task=(0,z.f0)({},tI,tx),a=l;var l,d,f=((d={}).error=(0,tS.K)("error",t.eventRateLimiterThreshold,c),d.action=(0,tS.K)("action",t.eventRateLimiterThreshold,c),d),p=function(){var t=(0,k.L7)(),e=(0,k.QB)();if(t&&e)return{test_id:t,result_id:e,injected:(0,k.Y9)()}}(),h=function(){var t,e=null===(t=window.Cypress)||void 0===t?void 0:t.env("traceId");if("string"==typeof e)return{test_execution_id:e}}();e.subscribe(10,function(c){var l=c.startTime,d=c.rawRumEvent,v=c.domainContext,_=c.savedCommonContext,m=c.customerContext,g=r.findView(l),y=i.findUrl(l),b=n.findTrackedSession(l);if(b&&g&&y){var w=_||u(),E=o.findActionId(l),k={_dd:{format_version:2,drift:(0,T.QA)(),configuration:{session_sample_rate:(0,M.NM)(t.sessionSampleRate,3),session_replay_sample_rate:(0,M.NM)(t.sessionReplaySampleRate,3)},browser_sdk_version:(0,A.x)()?"5.8.0":void 0},application:{id:t.applicationId},date:(0,T.n$)(),service:g.service||t.service,version:g.version||t.version,source:"browser",session:{id:b.id,type:p?"synthetics":h?"ci_test":"user"},view:{id:g.id,name:g.name,url:y.url,referrer:y.referrer},action:-1!==["error","resource","long_task"].indexOf(d.type)&&E?{id:E}:void 0,synthetics:p,ci_test:h,display:s.get(),connectivity:(0,tC.T)()},x=(0,C.$e)(k,d);x.context=(0,C.$e)(w.context,m),"has_replay"in x.session||(x.session.has_replay=w.hasReplay),"view"===x.type&&(x.session.sampled_for_replay=b.sessionReplayAllowed),(0,U.Qr)(w.user)||(x.usr=w.user),function(t,e,n,r){if(e){var i,o,s,u,c=(i=a[t.type],s=e(o=(0,C.I8)(t),n),(0,z.qP)(i).forEac
1h(function(e){var n=e[0],r=e[1],i=function(t,e){for(var n=t,r=0,i=e.split(".");r<i.length;r++){var a,o=i[r];if(!(tA(a=n)&&Object.prototype.hasOwnProperty.call(a,o)))return;n=n[o]}return n}(o,n),a=(0,D.o)(i);a===r?tk(t,n,(0,R.N)(i)):"object"===r&&("undefined"===a||"null"===a)&&tk(t,n,{})}),s);if(!1===c&&"view"!==t.type)return!1;!1===c&&S.jf.warn("Can't dismiss view events using beforeSend!")}return!(null===(u=r[t.type])||void 0===u?void 0:u.isLimitReached())}(x,t.beforeSend,v,f)&&((0,U.Qr)(x.context)&&delete x.context,e.notify(11,x))}})}(v,d,m,L,F,ti,to,b,E),{viewContexts:L,pageStateHistory:H,urlContexts:F,addAction:X,actionContexts:ti,stop:function(){to.stop(),H.stop(),F.stop(),L.stop(),H.stop()}}),e0=eQ.viewContexts,e1=eQ.pageStateHistory,e2=eQ.urlContexts,e5=eQ.actionContexts,e3=eQ.addAction,e6=eQ.stop;tJ.push(e6),(0,j.Uo)((th=(0,P.JZ)(t),(0,z.f0)({session_replay_sample_rate:t.sessionReplaySampleRate,start_session_replay_recording_manually:t.startSessionReplayRecordingManually,trace_sample_rate:t.traceSampleRate,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0,selected_tracing_propagators:(tv=new Set,Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0&&t.allowedTracingUrls.forEach(function(t){Z(t)?q.forEach(function(t){return tv.add(t)}):"object"===(0,D.o)(t)&&Array.isArray(t.propagatorTypes)&&t.propagatorTypes.forEach(function(t){return tv.add(t)})}),(0,z.Oc)(tv)),default_privacy_level:t.defaultPrivacyLevel,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},th))),function(t,e,n){t.subscribe(0,function(r){for(var a=0;a<r.length;a++){var o=r[a];if(o.entryType!==i.LONG_TASK||!n.findTrackedSession(o.startTime)||!e.trackLongTasks)break;var s=(0,T.DY)(o.startTime),u={date:s.timeStamp,long_task:{id:(0,tc.DO)(),duration:(0,T.c0)(o.duration)},type:"long_task",_dd:{discarded:!1}};t.notify(10,{rawRumEvent:u,startTime:s.relative,domainContext:{performanceEntry:o}})}})}(tQ,e,t4),tQ.subscribe(6,function(t){var n=function(t,e,n,r){var i,a=function(t){if(performance&&"getEntriesByName"in performance){var e=performance.getEntriesByName(t.url,"resource");if(e.length&&"toJSON"in e[0]){var n=e.map(function(t){return t.toJSON()}).filter(ta).filter(function(e){var n,r;return n=t.startClocks.relative,r=ep({startTime:t.startClocks.relative,duration:t.duration}),e.startTime>=n-1&&ep(e)<=(0,T.WK)(r,1)});if(1===n.length)return n[0]}}}(t),o=a?(0,T.DY)(a.startTime):t.startClocks,s=eh(e,n,o),u=function(t,e){if(t.traceSampled&&t.traceId&&t.spanId)return{_dd:{span_id:t.spanId.toDecimalString(),trace_id:t.traceId.toDecimalString(),rule_psr:e_(e)}}}(t,e);if(s||u){var c,l,d="xhr"===t.type?"xhr":"fetch",f=a?ev(a):void 0,p=(c=t.duration,(null===(l=r.findAll(o.relative,c))||void 0===l?void 0:l.some(function(t){return"frozen"===t.state}))?void 0:(0,T.c0)(c)),h=em(r,o,null!==(i=null==a?void 0:a.duration)&&void 0!==i?i:t.duration),v=(0,C.$e)({date:o.timeStamp,resource:{id:(0,tc.DO)(),type:d,duration:p,method:t.method,status_code:t.status,url:t.url},type:"resource",_dd:{discarded:!s}},u,f,h);return{startTime:o.relative,rawRumEvent:v,domainContext:{performanceEntry:a,xhr:t.xhr,response:t.response,requestInput:t.input,requestInit:t.init,error:t.error}}}}(t,e,t4,e1);n&&tQ.notify(10,n)}),tQ.subscribe(0,function(t){for(var n=0;n<t.length;n++){var r=t[n];if(r.entryType===i.RESOURCE&&!("xmlhttprequest"===r.initiatorType||"fetch"===r.initiatorType)){var a=function(t,e,n,r){var i=(0,T.DY)(t.startTime),a=eh(e,n,i),o=function(t,e){if(t.traceId)return{_dd:{trace_id:t.traceId,rule_psr:e_(e)}}}(t,e);if(a||o){var s=function(t){var e=t.name;if(!(0,te.jv)(e))return(0,j.eJ)('Failed to construct URL for "'.concat(t.name,'"')),"other";for(var n=(0,te.ye)(e),r=0;r<tr.length;r++){var i=tr[r],a=i[0];if((0,i[1])(t.initiatorType,n))return a}return"other"}(t),u=ev(t),c=em(r,i,t.duration),l=(0,C.$e)({date:i.timeStamp,resource:{id:(0,tc.DO)(),type:s,url:t.name},type:"resource",_dd:{discarded:!a}},o,u,c);return{startTime:i.relative,rawRumEvent:l,domainContext:{performanceEntry:t}}}}(r,e,t4,e1);a&&tQ.notify(10,a)}}});var e4=(tR=location,tQ.subscribe(3,function(t){var r,i,a,o,s,u,c,l,d,f,p,h,v,_,m,g,y,b,w;return tQ.notify(10,(g=n.getReplayStats(t.id),y=t2.findFeatureFlagEvaluations(t.startClocks.relative),b=e1.findAll(t.startClocks.relative,t.duration),w={_dd:{document_version:t.documentVersion,replay_stats:g,page_states:b,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===(i=t.commonViewMetrics.cumulativeLayoutShift)||void 0===i?void 0:i.value,cumulative_layout_shift_target_selector:null===(a=t.commonViewMetrics.cumulativeLayoutShift)||void 0===a?void 0:a.targetSelector,first_byte:(0,T.c0)(null===(o=t.initialViewMetrics.navigationTimings)||void 0===o?void 0:o.firstByte),dom_complete:(0,T.c0)(null===(s=t.initialViewMetrics.navigationTimings)||void 0===s?void 0:s.domComplete),dom_content_loaded:(0,T.c0)(null===(u=t.initialViewMetrics.navigationTimings)||void 0===u?void 0:u.domContentLoaded),dom_interactive:(0,T.c0)(null===(c=t.initialViewMetrics.navigationTimings)||void 0===c?void 0:c.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:(0,T.c0)(t.initialViewMetrics.firstContentfulPaint),first_input_delay:(0,T.c0)(null===(l=t.initialViewMetrics.firstInput)||void 0===l?void 0:l.delay),first_input_time:(0,T.c0)(null===(d=t.initialViewMetrics.firstInput)||void 0===d?void 0:d.time),first_input_target_selector:null===(f=t.initialViewMetrics.firstInput)||void 0===f?void 0:f.targetSelector,interaction_to_next_paint:(0,T.c0)(null===(p=t.commonViewMetrics.interactionToNextPaint)||void 0===p?void 0:p.value),interaction_to_next_paint_target_selector:null===(h=t.commonViewMetrics.interactionToNextPaint)||void 0===h?void 0:h.targetSelector,is_active:t.isActive,name:t.name,largest_contentful_paint:(0,T.c0)(null===(v=t.initialViewMetrics.largestContentfulPaint)||void 0===v?void 0:v.value),largest_contentful_paint_target_selector:null===(_=t.initialViewMetrics.largestContentfulPaint)||void 0===_?void 0:_.targetSelector,load_event:(0,T.c0)(null===(m=t.initialViewMetrics.navigationTimings)||void 0===m?void 0:m.loadEvent),loading_time:(r=(0,T.c0)(t.commonViewMetrics.loadingTime),(0,M.hj)(r)&&r<0?void 0:r),loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},resource:{count:t.eventCounts.resourceCount},time_spent:(0,T.c0)(t.duration)},feature_flags:y&&!(0,U.Qr)(y)?y: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:(0,T.c0)(t.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:!!g||void 0,is_active:!!t.sessionIsActive&&void 0},privacy:{replay_level:e.defaultPrivacyLevel}},(0,U.Qr)(t.customTimings)||(w.view.custom_timings=(0,U.Q8)(t.customTimings,T.c0)),{rawRumEvent:w,startTime:t.startClocks.relative,domainContext:{location:t.location}}))}),function(t,e,n,r,a,o,s){var u,d=new Set,f=p("initial_load",(0,T.cQ)(),s);function p(a,o,s){var u=function(t,e,n,r,a,o,s){void 0===o&&(o=(0,T.$I)());var u,d,f,p,h,v,_,m,g,y,b,E,C,k,A,x,I,R,O,L,P,D,Z,F,V,B,H,K,q,G,W,X,$,tt,te,tn,tr,ti,ta,to=(0,tc.DO)(),ts=new Y.y,tu={},tl=0,tf=(0,U.mv)(r),tp=!0;s&&(tr=s.name,ti=s.service,ta=s.version),t.notify(2,{id:to,name:tr,startClocks:o,service:ti,version:ta});var th=(0,w.P)(tO,3e3,{leading:!1}),tv=th.throttled,t_=th.cancel,tm=(f={},h=(p=function(t,e,n,r,i,a){var o,s="initial_load"===r,u=!0,c=[];function l(){u||s||!(c.length>0)||a(Math.max.apply(Math,c))}return{stop:(o=function(t){u&&(u=!1,t.hadActivity&&c.push((0,T._J)(i.timeStamp,t.end)),l())}
1,tB(tH(t,e,n),o,void 0)).stop,setLoadEvent:function(t){s&&(s=!1,c.push(t),l())}}}(t,e,n,a,d=o,function(t){f.loadingTime=t,tv()})).stop,v=p.setLoadEvent,C=(_=function(t){f.scroll=t},void 0===m&&(void 0===u&&(u=eR),m=new Y.y(function(t){if(window.ResizeObserver){var e=(0,w.P)(function(){var e,n;t.notify((e=ex(),n=eN().height,{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(n+e),scrollTop:e}))},u,{leading:!1,trailing:!0}),r=document.scrollingElement||document.documentElement,i=new ResizeObserver((0,N.zk)(e.throttled));i.observe(r);var a=(0,Q.Oo)(n,window,Q.EZ.SCROLL,e.throttled,{passive:!0});return function(){e.cancel(),i.unobserve(r),a.stop()}}})),g=0,y=0,b=0,E=m.subscribe(function(t){var e=t.scrollDepth,n=t.scrollTop,r=t.scrollHeight,i=!1;if(e>g&&(g=e,i=!0),r>y){y=r;var a=(0,T._q)();b=(0,T._J)(d.relative,a),i=!0}i&&_({maxDepth:Math.min(g,y),maxDepthScrollTop:n,maxScrollHeight:y,maxScrollHeightTime:b})}),{stop:function(){return E.unsubscribe()}}).stop,k=function(t,e,n){if(!tb(i.LAYOUT_SHIFT))return{stop:w.Z};var r,a,o,s,u,c,l=0;n({value:0});var d=(u=0,c=0,{update:function(t){var e,n;void 0===r||t.startTime-a>=T.WT||t.startTime-r>=5*T.WT?(r=a=t.startTime,u=t.value,c=0,o=void 0):(u+=t.value,a=t.startTime),t.value>c&&(c=t.value,s=t.startTime,o=(null===(e=t.sources)||void 0===e?void 0:e.length)?null===(n=(0,z.sE)(t.sources,function(t){return!!t.node&&td(t.node)}))||void 0===n?void 0:n.node:void 0)},value:function(){return u},largestLayoutShiftTarget:function(){return o},largestLayoutShiftTime:function(){return s}});return{stop:e.subscribe(0,function(e){for(var r=0;r<e.length;r++){var a=e[r];if(a.entryType===i.LAYOUT_SHIFT&&!a.hadRecentInput&&(d.update(a),d.value()>l)){l=d.value();var o=(0,M.NM)(l,4),s=d.largestLayoutShiftTarget(),u=void 0;s&&s.isConnected&&(u=t5(s,t.actionNameAttribute)),n({value:o,targetSelector:u})}}}).unsubscribe}}(n,t,function(t){f.cumulativeLayoutShift=t,tv()}).stop,x=(A=function(t,e,n,r){if(!(tb(i.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:function(){},setViewEnd:w.Z,stop:w.Z};var a,o,s,u=("interactionCount"in performance||l||(l=new window.PerformanceObserver((0,N.zk)(function(t){t.getEntries().forEach(function(t){t.interactionId&&(eT=Math.min(eT,t.interactionId),eE=((eS=Math.max(eS,t.interactionId))-eT)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0}),a="initial_load"===n?0:eC(),o={stopped:!1},{getViewInteractionCount:function(){return o.stopped?o.interactionCount:eC()-a},stopViewInteractionCount:function(){o={stopped:!0,interactionCount:eC()-a}}}),c=u.getViewInteractionCount,d=u.stopViewInteractionCount,f=1/0,p=function(t){var e=[];function n(){e.sort(function(t,e){return e.duration-t.duration}).splice(10)}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<10||t.duration>i.duration)&&(e.push(t),n())},estimateP98Interaction:function(){var n=Math.min(e.length-1,Math.floor(t()/50));return e[n]}}}(c),h=-1;return{getInteractionToNextPaint:function(){return h>=0?{value:Math.min(h,ek),targetSelector:s}:c()?{value:0}:void 0},setViewEnd:function(t){f=t,d()},stop:r.subscribe(0,function(n){for(var r=0;r<n.length;r++){var a=n[r];(a.entryType===i.EVENT||a.entryType===i.FIRST_INPUT)&&a.interactionId&&a.startTime>=e&&a.startTime<=f&&p.process(a)}var o=p.estimateP98Interaction();o&&(h=o.duration,s=o.target&&td(o.target)?t5(o.target,t.actionNameAttribute):void 0)}).unsubscribe}}(n,d.relative,a,t)).stop,I=A.getInteractionToNextPaint,{stop:function(){h(),k(),C()},stopINPTracking:x,setLoadEvent:v,setViewEnd:A.setViewEnd,getCommonViewMetrics:function(){return f.interactionToNextPaint=I(),f}}),tg=tm.setLoadEvent,ty=tm.setViewEnd,tw=tm.stop,tE=tm.stopINPTracking,tS=tm.getCommonViewMetrics,tC="initial_load"===a?(R={},L=(O=function(t){tg(t.loadEvent),R.navigationTimings=t,tv()},{stop:t.subscribe(0,function(t){for(var e=0;e<t.length;e++){var n=t[e];n.entryType===i.NAVIGATION&&O({domComplete:n.domComplete,domContentLoaded:n.domContentLoadedEventEnd,domInteractive:n.domInteractive,loadEvent:n.loadEventEnd,firstByte:n.responseStart>=0&&n.responseStart<=(0,T._q)()?n.responseStart:void 0})}}).unsubscribe}).stop,void 0===P&&(P=window),"hidden"===document.visibilityState?D=0:(D=1/0,Z=(0,Q.yw)(n,P,[Q.EZ.PAGE_HIDE,Q.EZ.VISIBILITY_CHANGE],function(t){(t.type===Q.EZ.PAGE_HIDE||"hidden"===document.visibilityState)&&(D=t.timeStamp,Z())},{capture:!0}).stop),F={get timeStamp(){return D},stop:function(){null==Z||Z()}},B=(V=function(t){R.firstContentfulPaint=t,tv()},{stop:t.subscribe(0,function(t){var e=(0,z.sE)(t,function(t){return t.entryType===i.PAINT&&"first-contentful-paint"===t.name&&t.startTime<F.timeStamp&&t.startTime<eg});e&&V(e.startTime)}).unsubscribe}).stop,X=(H=window,K=function(t){R.largestContentfulPaint=t,tv()},q=1/0,G=(0,Q.yw)(n,H,[Q.EZ.POINTER_DOWN,Q.EZ.KEY_DOWN],function(t){q=t.timeStamp},{capture:!0,once:!0}).stop,W=t.subscribe(0,function(t){var e=(0,z.dF)(t,function(t){return t.entryType===i.LARGEST_CONTENTFUL_PAINT&&t.startTime<q&&t.startTime<F.timeStamp&&t.startTime<ey});if(e){var r=void 0;e.element&&(r=t5(e.element,n.actionNameAttribute)),(0,tT.W_)(tT.uh.ZERO_LCP_TELEMETRY)&&function(t,e){if(!eb){var n=0===t.startTime?"LCP with startTime = 0":void 0!==c&&t.startTime<c.startTime?"LCP with startTime < previous LCP":void 0!==c&&t.size<c.size?"LCP with size < previous LCP":void 0;n&&(eb=!0,(0,j.eJ)(n,{debug:{entry:ew(t),previousLcp:c,timeOrigin:performance.timeOrigin,now:(0,T._q)(),lcpEntries:e.map(ew)}})),c=ew(t)}}(e,t.filter(function(t){return t.entryType===i.LARGEST_CONTENTFUL_PAINT})),K({value:e.startTime,targetSelector:r})}}).unsubscribe,{stop:function(){G(),W()}}).stop,tt=($=function(t){R.firstInput=t,tv()},{stop:t.subscribe(0,function(t){var e=(0,z.sE)(t,function(t){return t.entryType===i.FIRST_INPUT&&t.startTime<F.timeStamp});if(e){var r=(0,T._J)(e.startTime,e.processingStart),a=void 0;e.target&&td(e.target)&&(a=t5(e.target,n.actionNameAttribute)),$({delay:r>=0?r:0,time:e.startTime,targetSelector:a})}}).unsubscribe}).stop,{stop:function(){L(),B(),X(),tt(),F.stop()},initialViewMetrics:R}):{stop:w.Z,initialViewMetrics:{}},tk=tC.stop,tA=tC.initialViewMetrics,tx={stop:(te=tF({lifeCycle:t,isChildEvent:function(t){return t.view.id===to},onChange:tv})).stop,eventCounts:te.eventCounts},tI=tx.stop,tN=tx.eventCounts,tR=(0,J.Zi)(tO,eO);function tO(){t_(),tl+=1;var e=void 0===tn?(0,T.n$)():tn.timeStamp;t.notify(3,{customTimings:tu,documentVersion:tl,id:to,name:tr,service:ti,version:ta,loadingType:a,location:tf,startClocks:o,commonViewMetrics:tS(),initialViewMetrics:tA,duration:(0,T._J)(o.timeStamp,e),isActive:void 0===tn,sessionIsActive:tp,eventCounts:tN})}return tO(),{name:tr,service:ti,version:ta,stopObservable:ts,end:function(e){var n,r,i=this;void 0===e&&(e={}),tn||(tn=null!==(n=e.endClocks)&&void 0!==n?n:(0,T.$I)(),tp=null===(r=e.sessionIsActive)||void 0===r||r,t.n
1otify(4,{endClocks:tn}),(0,J.cv)(tR),ty(tn.relative),tw(),tO(),(0,J.iK)(function(){i.stop()},eL))},stop:function(){tk(),tI(),tE(),ts.notify()},addTiming:function(t,e){if(!tn){var n,r=(0,T.Cn)(e)?e:(0,T._J)(o.timeStamp,e);tu[(n=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_"))!==t&&S.jf.warn("Invalid timing name: ".concat(t,", sanitized to: ").concat(n)),n]=r,tv()}}}}(e,n,r,t,a,o,s);return d.add(u),u.stopObservable.subscribe(function(){d.delete(u)}),u}return e.subscribe(8,function(){f=p("route_change",void 0,{name:f.name,service:f.service,version:f.version})}),e.subscribe(7,function(){f.end({sessionIsActive:!1})}),e.subscribe(9,function(t){(t.reason===W.k$.UNLOADING||t.reason===W.k$.PAGEHIDE)&&f.end()}),o&&(u=a.subscribe(function(t){var e,n,r;e=t.oldLocation,n=t.newLocation,e.pathname===n.pathname&&(""!==(r=n.hash.substring(1))&&document.getElementById(r)||ez(n.hash)===ez(e.hash))||(f.end(),f=p("route_change"))})),{addTiming:function(t,e){void 0===e&&(e=(0,T.n$)()),f.addTiming(t,e)},startView:function(t,e){f.end({endClocks:e}),f=p("route_change",e,t)},stop:function(){null==u||u.unsubscribe(),f.end(),d.forEach(function(t){return t.stop()})}}}(tR,tQ,e$,e,eJ,!e.trackViewsManually,s)),e8=e4.addTiming,e7=e4.startView,e9=e4.stop;tJ.push(e9);var nt=(tK=tD=new Y.y,(0,ed.a)([S.vA.error]).subscribe(function(t){return tK.notify({startClocks:(0,T.$I)(),message:t.message,stack:t.stack,fingerprint:t.fingerprint,source:el.z.CONSOLE,handling:"handled",handlingStack:t.handlingStack})}),(0,eu.Lp)(tD),(0,ef.v)(e,[ef._.cspViolation,ef._.intervention]).subscribe(function(t){return tD.notify({startClocks:(0,T.$I)(),message:t.message,stack:t.stack,type:t.subtype,source:el.z.REPORT,handling:"unhandled",originalError:t.originalReport})}),tD.subscribe(function(t){return tQ.notify(12,{error:t})}),tQ.subscribe(12,function(t){var e,n,r=t.error,i=t.customerContext,a=t.savedCommonContext;tQ.notify(10,(0,z.f0)({customerContext:i,savedCommonContext:a},(e={date:r.startClocks.timeStamp,error:{id:(0,tc.DO)(),message:r.message,source:r.source,stack:r.stack,handling_stack:r.handlingStack,type:r.type,handling:r.handling,causes:r.causes,source_type:"browser",fingerprint:r.fingerprint},type:"error",view:{in_foreground:e1.isInActivePageStateAt(r.startClocks.relative)}},(n=t2.findFeatureFlagEvaluations(r.startClocks.relative))&&!(0,U.Qr)(n)&&(e.feature_flags=n),{rawRumEvent:e,startTime:r.startClocks.relative,domainContext:{error:r.originalError}})))}),{addError:function(t,e){var n=t.error,r=t.handlingStack,i=t.startClocks,a=t.context,o=n instanceof Error?(0,ec._)(n):void 0,s=(0,O.AP)({stackTrace:o,originalError:n,handlingStack:r,startClocks:i,nonErrorPrefix:"Provided",source:el.z.CUSTOM,handling:"handled"});tQ.notify(12,{customerContext:a,savedCommonContext:e,error:s})}}).addError;tq={clearTracingIfNeeded:V,traceFetch:function(t){return B(e,t,t4,function(e){var n;if(t.input instanceof Request&&!(null===(n=t.init)||void 0===n?void 0:n.headers))t.input=new Request(t.input),Object.keys(e).forEach(function(n){t.input.headers.append(n,e[n])});else{t.init=(0,U.mv)(t.init);var r=[];t.init.headers instanceof Headers?t.init.headers.forEach(function(t,e){r.push([e,t])}):Array.isArray(t.init.headers)?t.init.headers.forEach(function(t){r.push(t)}):t.init.headers&&Object.keys(t.init.headers).forEach(function(e){r.push([e,t.init.headers[e]])}),t.init.headers=r.concat((0,z.qP)(e))}})},traceXhr:function(t,n){return B(e,t,t4,function(t){Object.keys(t).forEach(function(e){n.setRequestHeader(e,t[e])})})}},function(t,e,n){(0,tz.S)(e).subscribe(function(r){if(tu(e,r.url))switch(r.state){case"start":n.traceXhr(r,r.xhr),r.requestIndex=tZ(),t.notify(5,{requestIndex:r.requestIndex,url:r.url});break;case"complete":n.clearTracingIfNeeded(r),t.notify(6,{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})}})}(tQ,e,tq),(0,tM.y)().subscribe(function(t){if(tu(e,t.url))switch(t.state){case"start":tq.traceFetch(t),t.requestIndex=tZ(),tQ.notify(5,{requestIndex:t.requestIndex,url:t.url});break;case"resolve":var n,r;n=function(e){tq.clearTracingIfNeeded(t),tQ.notify(6,{duration:e,method:t.method,requestIndex:t.requestIndex,responseType:t.responseType,spanId:t.spanId,startClocks:t.startClocks,status:t.status,traceId:t.traceId,traceSampled:t.traceSampled,type:"fetch",url:t.url,response:t.response,init:t.init,input:t.input})},(r=t.response&&(0,tP.u)(t.response))&&r.body?(0,tU.n)(r.body,function(){n((0,T._J)(t.startClocks.timeStamp,(0,T.n$)()))},{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1}):n((0,T._J)(t.startClocks.timeStamp,(0,T.n$)()))}}),function(t,e){var n;if(n=function(n){tE(t,e,[n])},tt(e,"interactive",function(){var t,e={entryType:i.RESOURCE,initiatorType:tn,traceId:function(t){var e,n,r=(e=t.querySelector("meta[name=dd-trace-id]"),n=t.querySelector("meta[name=dd-trace-time]"),tm(e&&e.content,n&&n.content)||function(t){var e=function(t){for(var e=0;e<t.childNodes.length;e+=1){var n=tg(t.childNodes[e]);if(n)return n}if(t.body)for(var e=t.body.childNodes.length-1;e>=0;e-=1){var r=t.body.childNodes[e],n=tg(r);if(n)return n;if(!tl(r))break}}(t);if(e)return tm((0,tc.MY)(e,"trace-id"),(0,tc.MY)(e,"trace-time"))}(t));if(!(!r||r.traceTime<=(0,T.m6)()-t_))return r.traceId}(document),toJSON:function(){return(0,z.f0)({},t,{toJSON:void 0})}};if(tb(i.NAVIGATION)&&performance.getEntriesByType(i.NAVIGATION).length>0){var r=performance.getEntriesByType(i.NAVIGATION)[0];t=(0,z.f0)(r.toJSON(),e)}else{var a=tw();t=(0,z.f0)(a,{decodedBodySize:0,duration:a.responseEnd,name:window.location.href,startTime:0},e)}n(t)}),ty()){var r=performance.getEntries();(0,J.iK)(function(){return tE(t,e,r)})}if(window.PerformanceObserver){var a=(0,N.zk)(function(n){return tE(t,e,n.getEntries())}),o=[i.RESOURCE,i.NAVIGATION,i.LONG_TASK,i.PAINT],s=[i.LARGEST_CONTENTFUL_PAINT,i.FIRST_INPUT,i.LAYOUT_SHIFT,i.EVENT];
1try{s.forEach(function(t){new window.PerformanceObserver(a).observe({type:t,buffered:!0,durationThreshold:40})})}catch(t){o.push.apply(o,s)}new PerformanceObserver(a).observe({entryTypes:o}),ty()&&"addEventListener"in performance&&(0,Q.Oo)(e,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})}tb(i.NAVIGATION)||function(t,e){function n(){e((0,z.f0)(tw(),{entryType:i.NAVIGATION}))}tt(t,"complete",function(){(0,J.iK)(n)})}(e,function(n){tE(t,e,[n])}),tb(i.FIRST_INPUT)||function(t,e){var n=(0,T.m6)(),r=!1,a=(0,Q.yw)(t,window,[Q.EZ.CLICK,Q.EZ.MOUSE_DOWN,Q.EZ.KEY_DOWN,Q.EZ.TOUCH_START,Q.EZ.POINTER_DOWN],function(e){if(e.cancelable){var n={entryType:i.FIRST_INPUT,processingStart:(0,T._q)(),processingEnd:(0,T._q)(),startTime:e.timeStamp,duration:0,name:""};e.type===Q.EZ.POINTER_DOWN?(0,Q.yw)(t,window,[Q.EZ.POINTER_UP,Q.EZ.POINTER_CANCEL],function(t){t.type===Q.EZ.POINTER_UP&&o(n)},{once:!0}):o(n)}},{passive:!0,capture:!0}).stop;function o(t){if(!r){r=!0,a();var i=t.processingStart-t.startTime;i>=0&&i<(0,T.m6)()-n&&e(t)}}}(e,function(n){tE(t,e,[n])})}(tQ,e);var ne=(t$=e.applicationId,{get:function(t){var e=e0.findView(t),n=e2.findUrl(t),r=t4.findTrackedSession(t);if(r&&e&&n){var i=e5.findActionId(t);return{application_id:t$,session_id:r.id,user_action:i?{id:i}:void 0,view:{id:e.id,name:e.name,referrer:n.referrer,url:n.url}}}}});return{addAction:e3,addError:nt,addTiming:e8,addFeatureFlagEvaluation:t2.addFeatureFlagEvaluation,startView:e7,lifeCycle:tQ,viewContexts:e0,session:t4,stopSession:function(){return t4.expire()},getInternalContext:ne.get,stop:function(){tJ.forEach(function(t){return t()})}}},function(t,e){if((0,A.x)()||!nM())return{start:w.Z,stop:w.Z,getReplayStats:function(){},onRumStart:w.Z,isRecording:function(){return!1},getSessionReplayLink:function(){}};var n={status:1},r=function(){n={status:1}},i=function(){n={status:0}},a=w.Z;return{start:function(){return r()},stop:function(){return i()},getSessionReplayLink:function(){return a()},onRumStart:function(e,o,s,u,c){var l;o.startSessionReplayRecordingManually&&(n={status:0}),e.subscribe(7,function(){(2===n.status||3===n.status)&&(i(),n={status:1})}),e.subscribe(8,function(){1===n.status&&r()}),r=function(){var r=s.findTrackedSession();if(!r||!r.sessionReplayAllowed){n={status:1};return}2!==n.status&&3!==n.status&&(n={status:2},tt(o,"interactive",function(){if(2===n.status){var r=(!l&&(c||(c=nV(o,"Datadog Session Replay",function(){i()},void 0)),c&&(l=nU(o,c,1))),l);if(!r){n={status:0};return}n={status:3,stopRecording:t(e,o,s,u,r).stop}}}))},i=function(){0!==n.status&&(3===n.status&&n.stopRecording(),n={status:0})},a=function(){var t,e,r,i,a,c,l,d,f,p,h,v,_;return t=0!==n.status,h=e=s.findTrackedSession(),r=nM()?h?h.sessionReplayAllowed?t?void 0:"replay-not-started":"incorrect-session-plan":"rum-not-tracked":"browser-not-supported",a=(i={viewContext:u.findView(),errorType:r,session:e}).session,c=i.viewContext,l=i.errorType,d=a?a.id:"no-session-id",f=[],void 0!==l&&f.push("error-type=".concat(l)),c&&(f.push("seed=".concat(c.id)),f.push("from=".concat(c.startClocks.timeStamp))),v=o.site,_=o.subdomain||function(t){switch(t.site){case eY.D_:case eY.Ds:return"app";case eY.DZ:return"dd";default:return}}(o),p="https://".concat(_?"".concat(_,"."):"").concat(v),"".concat(p).concat("/rum/replay/sessions/".concat(d),"?").concat(f.join("&"))},1===n.status&&r()},isRecording:function(){return 3===nF.status&&3===n.status},getReplayStats:function(t){return 3===nF.status?null==_?void 0:_.get(t):void 0}}}(function(t,e,n,r,i,a){var o=a||(0,eX.UF)(e,e.sessionReplayEndpointBuilder,6e4,function(e){t.notify(12,{error:e}),(0,j.eJ)("Error reported to customer",{"error.message":e.message})}),s=function(t,e,n,r){var i={status:0,nextSegmentCreationReason:"init"},a=t.subscribe(2,function(){s("view_change")}).unsubscribe,o=t.subscribe(9,function(t){s(t.reason)}).unsubscribe;function s(t){1===i.status&&(i.segment.flush(function(e,r){var i,a,o,s,u=(i=r.output,a=r.rawBytesCount,(o=new FormData).append("segment",new Blob([i],{type:"application/octet-stream"}),"".concat(e.session.id,"-").concat(e.start)),s=JSON.stringify((0,z.f0)({raw_segment_size:a,c
1ompressed_segment_size:i.byteLength},e)),o.append("event",new Blob([s],{type:"application/json"})),{data:o,bytesCount:i.byteLength});(0,W.PT)(t)?n.sendOnExit(u):n.send(u)}),(0,J.gr)(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:new nL(r,n,i.nextSegmentCreationReason),expirationTimeoutId:(0,J.iK)(function(){s("segment_duration_limit")},nz)}}i.segment.addRecord(t,function(t){t>6e4&&s("segment_bytes_limit")})}},stop:function(){s("stop"),a(),o()}}}(t,function(){return function(t,e,n){var r=e.findTrackedSession(),i=n.findView();if(r&&i)return{application:{id:t},session:{id:r.id},view:{id:i.id}}}(e.applicationId,n,r)},o,i),u=s.addRecord,c=s.stop,l=function(t){var e,n,r,i,a,o,s,u,c,l,d,f,p,h,v,_,m,g,y,b,E,S,C,k,A,x,I,N,R,O=t.emit,L=t.configuration;if(!O)throw Error("emit function is required");var M=(e=new WeakMap,{set:function(t,n){(t!==document||document.scrollingElement)&&e.set(t===document?document.scrollingElement:t,n)},get:function(t){return e.get(t)},has:function(t){return e.has(t)}}),P=function(t){O(e2(eQ.Mutation,t))},U=function(t){return O(e2(eQ.Input,t))},D=nR(L,{mutationCb:P,inputCb:U}),Z=function(t,e){void 0===t&&(t=(0,T.n$)()),void 0===e&&(e={status:0,elementsScrollPositions:M,shadowRootsController:D});var n=eN(),r=n.width;O({data:{height:n.height,href:window.location.href,width:r},type:e$.Meta,timestamp:t}),O({data:{has_focus:document.hasFocus()},type:e$.Focus,timestamp:t}),O({data:{node:ny(document,{serializationContext:e,parentNodePrivacyLevel:L.defaultPrivacyLevel,configuration:L}),initialOffset:{left:eA(),top:ex()}},type:e$.FullSnapshot,timestamp:t}),window.visualViewport&&O({data:nC(window.visualViewport),type:e$.VisualViewport,timestamp:t})};Z();var F=(n={lifeCycle:t.lifeCycle,configuration:L,elementsScrollPositions:M,inputCb:U,mediaInteractionCb:function(t){return O(e2(eQ.MediaInteraction,t))},mouseInteractionCb:function(t){return O(t)},mousemoveCb:function(t,e){return O(e2(e,{positions:t}))},mutationCb:P,scrollCb:function(t){return O(e2(eQ.Scroll,t))},styleSheetCb:function(t){return O(e2(eQ.StyleSheetRule,t))},viewportResizeCb:function(t){return O(e2(eQ.ViewportResize,t))},frustrationCb:function(t){return O(t)},focusCb:function(t){return O({data:t,type:e$.Focus,timestamp:(0,T.n$)()})},visualViewportResizeCb:function(t){O({data:t,type:e$.VisualViewport,timestamp:(0,T.n$)()})},shadowRootsController:D},r=new WeakMap,i=1,a={getIdForEvent:function(t){return r.has(t)||r.set(t,i++),r.get(t)}},o=nN(n.mutationCb,n.configuration,n.shadowRootsController,document),s=n.mousemoveCb,u=(0,w.P)(function(t){var e=nT(t);if(na(e)){var n=nk(t);if(!n)return;s([{id:no(e),timeOffset:0,x:n.x,y:n.y}],nE(t)?eQ.TouchMove:eQ.MouseMove)}},50,{trailing:!1}).throttled,c=(0,Q.yw)(L,document,[Q.EZ.MOUSE_MOVE,Q.EZ.TOUCH_MOVE],u,{capture:!0,passive:!0}).stop,l=n.mouseInteractionCb,d=(0,Q.yw)(L,document,Object.keys(nA),function(t){var e,n=nT(t);if(e7(n,L.defaultPrivacyLevel)!==e5.HIDDEN&&na(n)){var r=no(n),i=nA[t.type];if(i!==e0.Blur&&i!==e0.Focus){var o=nk(t);if(!o)return;e={id:r,type:i,x:o.x,y:o.y}}else e={id:r,type:i};l((0,z.f0)({id:a.getIdForEvent(t)},e2(eQ.MouseInteraction,e)))}},{capture:!0,passive:!0}).stop,f=n.scrollCb,p=n.configuration.defaultPrivacyLevel,h=n.elementsScrollPositions,v=(0,w.P)(function(t){var e=nT(t);if(e&&e7(e,p)!==e5.HIDDEN&&na(e)){var n=no(e),r=e===document?{scrollTop:ex(),scrollLeft:eA()}:{scrollTop:Math.round(e.scrollTop),scrollLeft:Math.round(e.scrollLeft)};h.set(e,r),f({id:n,x:r.scrollLeft,y:r.scrollTop})}},100).throttled,_=(0,Q.Oo)(L,document,Q.EZ.SCROLL,v,{capture:!0,passive:!0}).stop,m=n.viewportResizeCb,g=eI(L).subscribe(m).unsubscribe,y=nx(L,n.inputCb),b=n.mediaInteractionCb,E=n.configuration.defaultPrivacyLevel,S=(0,Q.yw)(L,document,[Q.EZ.PLAY,Q.EZ.PAUSE],function(t){var e=nT(t);e&&e7(e,E)!==e5.HIDDEN&&na(e)&&b({id:no(e),type:t.type===Q.EZ.PLAY?e1.Play:e1.Pause})},{capture:!0,passive:!0}).stop,C=function(t){function e(t,e){t&&na(t.ownerNode)&&e(no(t.ownerNode))}var n=[(0,tV.S)(CSSStyleSheet.prototype,"insertRule",function(n){var r=n.target,i=n.parameters,a=i[0],o=i[1];e(r,function(e){return t({id:e,adds:[{rule:a,index:o}]})})}),(0,tV.S)(CSSStyleSheet.prototype,"deleteRule",function(n){var r=n.target,i=n.parameters[0];e(r,function(e){return t({id:e,removes:[{index:i}]})})})];function r(r){n.push((0,tV.S)(r.prototype,"insertRule",function(n){var r=n.target,i=n.parameters,a=i[0],o=i[1];e(r.parentStyleSheet,function(e){var n=nI(r);n&&(n.push(o||0),t({id:e,adds:[{rule:a,index:n}]}))})}),(0,tV.S)(r.prototype,"deleteRule",function(n){var r=n.target,i=n.parameters[0];e(r.parentStyleSheet,function(e){var n=nI(r);n&&(n.push(i),t({id:e,removes:[{index:n}]}))})}))}return"undefined"!=typeof CSSGroupingRule?r(CSSGroupingRule):(r(CSSMediaRule),r(CSSSupportsRule)),function(){return n.forEac
1h(function(t){return t.stop()})}}(n.styleSheetCb),k=n.focusCb,A=(0,Q.yw)(L,window,[Q.EZ.FOCUS,Q.EZ.BLUR],function(){k({has_focus:document.hasFocus()})}).stop,x=function(t,e){var n=window.visualViewport;if(!n)return w.Z;var r=(0,w.P)(function(){e(nC(n))},200,{trailing:!1}),i=r.throttled,a=r.cancel,o=(0,Q.yw)(t,n,[Q.EZ.RESIZE,Q.EZ.SCROLL],i,{capture:!0,passive:!0}).stop;return function(){o(),a()}}(L,n.visualViewportResizeCb),I=n.lifeCycle,N=n.frustrationCb,R=I.subscribe(10,function(t){var e,n,r;"action"===t.rawRumEvent.type&&"click"===t.rawRumEvent.action.type&&(null===(n=null===(e=t.rawRumEvent.action.frustration)||void 0===e?void 0:e.type)||void 0===n?void 0:n.length)&&"events"in t.domainContext&&(null===(r=t.domainContext.events)||void 0===r?void 0:r.length)&&N({timestamp:t.rawRumEvent.date,type:e$.FrustrationRecord,data:{frustrationTypes:t.rawRumEvent.action.frustration.type,recordIds:t.domainContext.events.map(function(t){return a.getIdForEvent(t)})}})}).unsubscribe,{flush:function(){o.flush()},stop:function(){o.stop(),c(),d(),_(),g(),y(),S(),C(),A(),x(),R()}}),V=F.stop,B=F.flush;function H(){D.flush(),B()}return{stop:function(){D.stop(),V()},takeSubsequentFullSnapshot:function(t){H(),Z(t,{shadowRootsController:D,status:1,elementsScrollPositions:M})},flushMutations:H,shadowRootsController:D}}({emit:u,configuration:e,lifeCycle:t}),d=l.stop,f=l.takeSubsequentFullSnapshot,p=l.flushMutations,h=t.subscribe(4,function(){p(),u({timestamp:(0,T.n$)(),type:e$.ViewEnd})}).unsubscribe,v=t.subscribe(2,function(t){f(t.startClocks.timeStamp)}).unsubscribe;return{stop:function(){h(),v(),d(),c()}}}),{startDeflateWorker:nV,createDeflateEncoder:nU});(0,m.y)((0,g.R)(),"DD_RUM",nH)}}]);
2//# sourceMappingURL=320.e58af90aeba6e4fa.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.