1/*! For license information please see vendor-sentry.38bded4b.js.LICENSE.txt */ 2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[499],{2248:(t,e,n)=>{n.d(e,{R:()=>E});var r=n(292),a=n(2343),i=n(2844),o=n(7597),s=n(6893),c=n(8725),l=n(409),u=n(1984),d=n(2967),h=n(9015),p=n(8942);const f="Not capturing exception because it's already been captured.";class _{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(_.prototype.__init.call(this),_.prototype.__init2.call(this),_.prototype.__init3.call(this),_.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=(0,r.vK)(t.dsn);const e=(0,u.U)(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("No DSN provided, client will not do anything.")}captureException(t,e,n){if((0,i.YO)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(f));let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{r=t}))),r}captureMessage(t,e,n,r){let a=n&&n.event_id;const i=(0,o.pt)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(i.then((t=>this._captureEvent(t,n,r))).then((t=>{a=t}))),a}captureEvent(t,e,n){if(e&&e.originalException&&(0,i.YO)(e.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(f));let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{r=t}))),r}captureSession(t){this._isEnabled()?"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,h.CT)(t,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):(0,s.WD)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=(0,d.q4)(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){(0,d.m7)(t,this._integrations)}sendEvent(t,e={}){if(this._dsn){let n=function(t,e,n,r){const a=(0,c.HY)(n),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const o=(0,c.Cd)(t,a,r,e);delete t.sdkProcessingMetadata;const s=[{type:i},t];return(0,c.Jd)(o,[s])}(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=(0,c.BO)(n,(0,c.zQ)(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(n)}}sendSession(t){if(this._dsn){const e=function(t,e,n,a){const i=(0,c.HY)(n),o={sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!a&&{dsn:(0,r.RA)(e)}},s="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t];return(0,c.Jd)(o,[s])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const n=`${t}:${e}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}_updateSessionFromEvent(t,e){let n=!1,r=!1;const a=e.exception&&e.exception.values;if(a){r=!0;for(const t of a){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const i="ok"===t.status;(i&&0===t.errors||i&&n)&&((0,h.CT)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new s.cW((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(t,e,n){const r=this.getOptions(),a=Object.keys(this._integrations);return!e.integrations&&a.length>0&&(e.integrations=a),(0,p.R)(r,t,e,n)}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>
2{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const e=t;"log"===e.logLevel?a.kg.log(e.message):a.kg.warn(e)}}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:a}=r;if(!this._isEnabled())return(0,s.$2)(new l.b("SDK not enabled, will not capture event.","log"));const i=g(t),c=m(t),u=t.type||"error",d=`before send for type \`${u}\``;if(c&&"number"==typeof a&&Math.random()>a)return this.recordDroppedEvent("sample_rate","error",t),(0,s.$2)(new l.b(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));const h="replay_event"===u?"replay":u;return this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",h,t),new l.b("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const a=function(t,e,n){const{beforeSend:r,beforeSendTransaction:a}=t;return m(e)&&r?r(e,n):g(e)&&a?a(e,n):e}(r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,o.J8)(t))return t.then((t=>{if(!(0,o.PO)(t)&&null!==t)throw new l.b(n);return t}),(t=>{throw new l.b(`${e} rejected with ${t}`)}));if(!(0,o.PO)(t)&&null!==t)throw new l.b(n);return t}(a,d)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",h,t),new l.b(`${d} returned \`null\`, will not send event.`,"log");const a=n&&n.getSession();!i&&a&&this._updateSessionFromEvent(a,r);const o=r.transaction_info;if(i&&o&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...o,source:t,changes:[...o.changes,{source:t,timestamp:r.timestamp,propagations:o.propagations}]}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof l.b)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new l.b(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error("Error while sending event:",t)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}}))}}function m(t){return void 0===t.type}function g(t){return"transaction"===t.type}var y=n(105),v=n(8518),b=n(1170),w=n(4773),k=n(6891),S=n(7729);class E extends _{constructor(t){const e=k.m9.SENTRY_SDK_SOURCE||(0,v.S)();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${e}:@sentry/browser`,version:y.J}],version:y.J},super(t),t.sendClientReports&&k.m9.document&&k.m9.document.addEventListener("visibilitychange",(()=>{"hidden"===k.m9.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return(0,w.dr)(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return(0,w.aB)(this._options.stackParser,t,e,n,this._options.attachStacktrace)}sendEvent(t,e){const n=this.getIntegrationById(S.p);n&&n.addSentryBreadcrumb&&n.addSentryBreadcrumb(t),super.sendEvent(t,e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){const t=this._clearOutcomes();if(0===t.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("Sending outcomes:",t);const e=(0,u.U)(this._dsn,this._options),n=function(t,e,n){const r=[{type:"client_report"},{timestamp:(0,b.yW)(),discarded_events:t}];return(0,c.Jd)(e?{dsn:e}:{},[r])}(t,this._options.tunnel&&(0,r.RA)(this._dsn));try{"[object Navigator]"===Object.prototype.toString.call(k.m9&&k.m9.navigator)&&"function"==typeof k.m9.navigator.sendBeacon&&!this._options.transportOptions?k.m9.navigator.sendBeacon.bind(k.m9.navigator)(e,(0,c.V$)(n)):this._sendEnvelope(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error(t)}}}},4773:(t,e,n)=>{n.d(e,{GJ:()=>l,ME:()=>m,aB:()=>_,dr:()=>f});var r=n(5659),a=n(7597),i=n(535),o=n(8007),s=n(2844),c=n(6893);function l(t,e){const n=d(t,e),r={type:e&&e.name,value:p(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function u(t,e){return{exception:{values:[l(t,e)]}}}function d(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(h.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}const h=/Minified React error #\d+;/i;function p(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function f(t,e,n,r){const a=m(t,e,n&&n.syntheticException||void 0,r);return(0,s.EG)(a),a.level="error",n&&n.event_id&&(a.event_id=n.event_id),(0,c.WD)(a)}function _(t,e,n="info",r,a){const i=g(t,e,r&&r.syntheticException||void 0,a);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),(0,c.WD)(i)}function m(t,e,n,c,l){let h;if((0,a.VW)(e)&&e.error)return u(t,e.error);if((0,a.TX)(e)||(0,a.fm)(e)){const r=e;if("stack"in e)h=u(t,e);else{const e=r.name||((0,a.TX)(r)?"DOMError":"DOMException"),i=r.message?`${e}: ${r.message}`:e;h=g(t,i,n,c),(0,s.Db)(h,i)}return"code"in r&&(h.tags={...h.tags,"DOMException.code":`${r.code}`}),h}return(0,a.VZ)(e)?u(t,e):(0,a.PO)(e)||(0,a.cO)(e)?(h=function(t,e,n,s){const c=(0,r.Gd)().getClient(),l=c&&c.getOptions().normalizeDepth,u={exception:{values:[{type:(0,a.cO)(e)?e.constructor.name:s?"UnhandledRejection":"Error",value:`Non-Error ${s?"promise rejection":"exception"} captured with keys: ${(0,i.zf)(e)}`}]},extra:{__serialized__:(0,o.Qy)(e,l)}};if(n){const e=d(t,n);e.length&&(u.exception.values[0].stacktrace={frames:e})}return u}(t,e,n,l),(0,s.EG)(h,{synthetic:!0}),h):(h=g(t,e,n,c),(0,s.Db)(h,`${e}`,void 0),(0,s.EG)(h,{synthetic:!0}),h)}function g(t,e,n,r){const a={message:e};if(r&&n){const r=d(t,n);r.length&&(a.exception={values:[{value:e,stacktrace:{frames:r}}]})}return a}},6891:(t,e,n)=>{n.d(e,{Wz:()=>l,m9:()=>s,re:()=>d});var r=n(4487),a=n(1235),i=n(535),o=n(2844);const s=a.n2;let c=0;function l(){return c>0}function u(){c++,setTimeout((()=>{c--}))}function d(t,e={}
2,n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return e;if((0,i.HK)(t))return t}catch(e){return t}const a=function(){const a=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=a.map((t=>d(t,e)));return t.apply(this,r)}catch(t){throw u(),(0,r.$e)((n=>{n.addEventProcessor((t=>(e.mechanism&&((0,o.Db)(t,void 0,void 0),(0,o.EG)(t,e.mechanism)),t.extra={...t.extra,arguments:a},t))),(0,r.Tb)(t)})),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(a[e]=t[e])}catch(t){}(0,i.$Q)(a,t),(0,i.xp)(t,"__sentry_wrapped__",a);try{Object.getOwnPropertyDescriptor(a,"name").configurable&&Object.defineProperty(a,"name",{get:()=>t.name})}catch(t){}return a}},3646:(t,e,n)=>{n.r(e),n.d(e,{Breadcrumbs:()=>w.O,BrowserClient:()=>p.R,Dedupe:()=>E.I,FunctionToString:()=>i.c,GlobalHandlers:()=>v.d,HttpContext:()=>S.q,Hub:()=>s.Xb,InboundFilters:()=>o.QD,Integrations:()=>T,LinkedErrors:()=>k.iP,Replay:()=>x.U,SDK_VERSION:()=>c.J,Scope:()=>l.s,TryCatch:()=>b.p,WINDOW:()=>h.m9,addBreadcrumb:()=>u.n_,addGlobalEventProcessor:()=>l.c,captureEvent:()=>u.eN,captureException:()=>u.Tb,captureMessage:()=>u.uT,chromeStackLineParser:()=>m.$3,close:()=>y.xv,configureScope:()=>u.e,createTransport:()=>d.q,defaultIntegrations:()=>y.SS,defaultStackLineParsers:()=>m.d8,defaultStackParser:()=>m.Dt,eventFromException:()=>g.dr,eventFromMessage:()=>g.aB,flush:()=>y.yl,forceLoad:()=>y.Eg,geckoStackLineParser:()=>m.$Q,getCurrentHub:()=>s.Gd,getHubFromCarrier:()=>s.vi,init:()=>y.S1,lastEventId:()=>y.eW,makeFetchTransport:()=>f.f,makeMain:()=>s.pj,makeXHRTransport:()=>_.K,onLoad:()=>y.lA,opera10StackLineParser:()=>m.NP,opera11StackLineParser:()=>m.HH,setContext:()=>u.v,setExtra:()=>u.sU,setExtras:()=>u.rJ,setTag:()=>u.YA,setTags:()=>u.mG,setUser:()=>u.av,showReportDialog:()=>y.jp,startTransaction:()=>u.Yr,winjsStackLineParser:()=>m.R2,withScope:()=>u.$e,wrap:()=>y.re});var r={};n.r(r),n.d(r,{FunctionToString:()=>i.c,InboundFilters:()=>o.QD});var a={};n.r(a),n.d(a,{Breadcrumbs:()=>w.O,Dedupe:()=>E.I,GlobalHandlers:()=>v.d,HttpContext:()=>S.q,LinkedErrors:()=>k.iP,TryCatch:()=>b.p});var i=n(9116),o=n(2422);if(!/^(474|740)$/.test(n.j))var s=n(5659);if(!/^(474|740)$/.test(n.j))var c=n(105);if(!/^(474|740)$/.test(n.j))var l=n(350);if(!/^(474|740)$/.test(n.j))var u=n(4487);if(!/^(474|740)$/.test(n.j))var d=n(9355);var h=n(6891);if(!/^(474|740)$/.test(n.j))var p=n(2248);if(!/^(474|740)$/.test(n.j))var f=n(8838);if(!/^(474|740)$/.test(n.j))var _=n(8131);if(!/^(474|740)$/.test(n.j))var m=n(4469);if(!/^(474|740)$/.test(n.j))var g=n(4773);if(!/^(474|740)$/.test(n.j))var y=n(8620);var v=n(2136),b=n(3692),w=n(7729),k=n(1634),S=n(1945),E=n(9730);if(!/^(474|740)$/.test(n.j))var x=n(3078);let R={};h.m9.Sentry&&h.m9.Sentry.Integrations&&(R=h.m9.Sentry.Integrations);const T={...R,...r,...a}},7729:(t,e,n)=>{n.d(e,{p:()=>h,O:()=>p});var r=n(5659),a=n(9732),i=n(2844),o=n(2343),s=n(8464);const c=["fatal","error","warning","log","info","debug"];var l=n(7321);function u(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}var d=n(6891);const h="Breadcrumbs";class p{static __initStatic(){this.id=h}__init(){this.name=p.id}constructor(t){p.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){var t;this.options.console&&(0,a.o)("console",f),this.options.dom&&(0,a.o)("dom",(t=this.options.dom,function(e){let n,a="object"==typeof t?t.serializeAttribute:void 0,i="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;i&&i>1024&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=1024),"string"==typeof a&&(a=[a]);try{n=e.event.target?(0,s.Rt)(e.event.target,{keyAttrs:a,maxStringLength:i}):(0,s.Rt)(e.event,{keyAttrs:a,maxStringLength:i})}catch(t){n="<unknown>"}0!==n.length&&(0,r.Gd)().addBreadcrumb({category:`ui.${e.name}`,message:n},{event:e.event,name:e.name,global:e.global})})),this.options.xhr&&(0,a.o)("xhr",_),this.options.fetch&&(0,a.o)("fetch",m),this.options.history&&(0,a.o)("history",g)}addSentryBreadcrumb(t){this.options.sentry&&(0,r.Gd)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,i.jH)(t)},{event:t})}}function f(t){for(let e=0;e<t.args.length;e++)if("ref=Ref<"===t.args[e]){t.args[e+1]="viewRef";break}const e={category:"console",data:{arguments:t.args,logger:"console"},level:(n=t.level,"warn"===n?"warning":c.includes(n)?n:"log"),message:(0,l.nK)(t.args," ")};var n;if("assert"===t.level){if(!1!==t.args[0])return;e.message=`Assertion failed: ${(0,l.nK)(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1)}
2(0,r.Gd)().addBreadcrumb(e,{input:t.args,level:t.level})}function _(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;const{method:e,url:n,status_code:a,body:i}=t.xhr.__sentry_xhr__||{};(0,r.Gd)().addBreadcrumb({category:"xhr",data:{method:e,url:n,status_code:a},type:"http"},{xhr:t.xhr,input:i})}}function m(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?(0,r.Gd)().addBreadcrumb({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args}):(0,r.Gd)().addBreadcrumb({category:"fetch",data:{...t.fetchData,status_code:t.response.status},type:"http"},{input:t.args,response:t.response})))}function g(t){let e=t.from,n=t.to;const a=u(d.m9.location.href);let i=u(e);const o=u(n);i.path||(i=a),a.protocol===o.protocol&&a.host===o.host&&(n=o.relative),a.protocol===i.protocol&&a.host===i.host&&(e=i.relative),(0,r.Gd)().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}p.__initStatic()},9730:(t,e,n)=>{n.d(e,{I:()=>a});var r=n(2343);class a{constructor(){a.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=a.id}setupOnce(t,e){const n=t=>{const n=e().getIntegration(a);if(n){try{if(function(t,e){return!!e&&(!!function(t,e){const n=t.message,r=e.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!o(t,e)&&!!i(t,e))))}(t,e)||!!function(t,e){const n=s(e),r=s(t);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!o(t,e)&&!!i(t,e)))}(t,e))}(t,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){return n._previousEvent=t}return n._previousEvent=t}return t};n.id=this.name,t(n)}}function i(t,e){let n=c(t),r=c(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let t=0;t<r.length;t++){const e=r[t],a=n[t];if(e.filename!==a.filename||e.lineno!==a.lineno||e.colno!==a.colno||e.function!==a.function)return!1}return!0}function o(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(t){return!1}}function s(t){return t.exception&&t.exception.values&&t.exception.values[0]}function c(t){const e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}}a.__initStatic()},2136:(t,e,n)=>{n.d(e,{d:()=>d});var r=n(5659),a=n(9732),i=n(7597),o=n(8464),s=n(2343),c=n(2844),l=n(4773),u=n(6891);class d{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=d.id}__init2(){this._installFunc={onerror:h,onunhandledrejection:p}}constructor(t){d.prototype.__init.call(this),d.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.log(`Global Handler attached: ${e}`),r(),this._installFunc[n]=void 0)}var e}}function h(){(0,a.o)("error",(t=>{const[e,n,r]=m();if(!e.getIntegration(d))return;const{msg:a,url:o,line:s,column:c,error:h}=t;if((0,u.Wz)()||h&&h.__sentry_own_request__)return;const p=void 0===h&&(0,i.HD)(a)?function(t,e,n,r){let a=(0,i.VW)(t)?t.message:t,o="Error";const s=a.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);s&&(o=s[1],a=s[2]);return f({exception:{values:[{type:o,value:a}]}},e,n,r)}(a,o,s,c):f((0,l.ME)(n,h||a,void 0,r,!1),o,s,c);p.level="error",_(e,h,p,"onerror")}))}function p(){(0,a.o)("unhandledrejection",(t=>{const[e,n,r]=m();if(!e.getIntegration(d))return;let a=t;try{"reason"in t?a=t.reason:"detail"in t&&"reason"in t.detail&&(a=t.detail.reason)}catch(t){}if((0,u.Wz)()||a&&a.__sentry_own_request__)return!0;const o=(0,i.pt)(a)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(a)}`}]}}:(0,l.ME)(n,a,void 0,r,!0);o.level="error",_(e,a,o,"onunhandledrejection")}))}function f(t,e,n,r){const a=t.exception=t.exception||{},s=a.values=a.values||[],c=s[0]=s[0]||{},l=c.stacktrace=c.stacktrace||{},u=l.frames=l.frames||[],d=isNaN(parseInt(r,10))?void 0:r,h=isNaN(parseInt(n,10))?void 0:n,p=(0,i.HD)(e)&&e.length>0?e:(0,o.l4)();return 0===u.length&&u.push({colno:d,filename:p,function:"?",in_app:!0,lineno:h}),t}function _(t,e,n,r){(0,c.EG)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function m(){const t=(0,r.Gd)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}d.__initStatic()},1945:(t,e,n)=>{n.d(e,{q:()=>o});var r=n(350),a=n(5659),i=n(6891);class o{constructor(){o.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=o.id}setupOnce(){(0,r.c)((t=>{if((0,a.Gd)().getIntegration(o)){if(!i.m9.navigator&&!i.m9.location&&!i.m9.document)return t;const e=t.request&&t.request.url||i.m9.location&&i.m9.location.href,{referrer:n}=i.m9.document||{},{userAgent:r}=i.m9.navigator||{},a={...t.request&&t.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...t.request,...e&&{url:e},headers:a};return{...t,request:o}}return t}))}}o.__initStatic()},1634:(t,e,n)=>{n.d(e,{iP:()=>s});var r=n(5659),a=n(350),i=n(7597),o=n(4773);class s{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=s.id}constructor(t={}){s.prototype.__init.call(this),this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(){const t=(0,r.Gd)().getClient();t&&(0,a.c)(((e,n)=>{const a=(0,r.Gd)().getIntegration(s);return a?function(t,e,n,r,a){if(!(r.exception&&r.exception.values&&a&&(0,i.V9)(a.originalException,Error)))return r;const o=c(t,n,a.originalException,e);return r.exception.values=[...o,...r.exception.values],r}(t.getOptions().stackParser,a._key,a._limit,e,n):e}))}}function c(t,e,n,r,a=[]){if(!(0,i.V9)(n[r],Error)||a.length+1>=e)return a;const s=(0,o.GJ)(t,n[r]);return c(t,e,n[r],r,[s,...a])}s.__initStatic()},3692:(t,e,n)=>{n.d(e,{p:()=>s});var r=n(535),a=n(360),i=n(6891);const o=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class s{static __initStatic(){this.id="TryCatch"}__init(){this.name=s.id}constructor(t){s.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&(0,r.hl)(i.m9,"setTimeout",c),this._options.setInterval&&(0,r.hl)(i.m9,"setInterval",c),this._options.requestAnimationFrame&&(0,r.hl)(i.m9,"requestAnimationFrame",l),this._options.XMLHttpRequest&&"XMLHttpRequest"in i.m9&&(0,r.hl)(XMLHttpRequest.prototype,"send",u);const t=this._options.eventTarget;
2t&&(Array.isArray(t)?t:o).forEach(d)}}function c(t){return function(...e){const n=e[0];return e[0]=(0,i.re)(n,{mechanism:{data:{function:(0,a.$P)(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function l(t){return function(e){return t.apply(this,[(0,i.re)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,a.$P)(t)},handled:!0,type:"instrument"}})])}}function u(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,r.hl)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,a.$P)(e)},handled:!0,type:"instrument"}},o=(0,r.HK)(e);return o&&(n.mechanism.data.handler=(0,a.$P)(o)),(0,i.re)(e,n)}))})),t.apply(this,e)}}function d(t){const e=i.m9,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,r.hl)(n,"addEventListener",(function(e){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,i.re)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,a.$P)(r),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.apply(this,[n,(0,i.re)(r,{mechanism:{data:{function:"addEventListener",handler:(0,a.$P)(r),target:t},handled:!0,type:"instrument"}}),o])}})),(0,r.hl)(n,"removeEventListener",(function(t){return function(e,n,r){const a=n;try{const n=a&&a.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(t){}return t.call(this,e,a,r)}})))}s.__initStatic()},8620:(t,e,n)=>{n.d(e,{xv:()=>N,SS:()=>E,yl:()=>D,Eg:()=>I,S1:()=>x,eW:()=>T,lA:()=>C,jp:()=>R,re:()=>O});var r=n(2422),a=n(9116),i=n(2967),o=n(2343),s=n(5659);if(!/^(474|740)$/.test(n.j))var c=n(1984);var l=n(360),u=n(8823);if(!/^(474|740)$/.test(n.j))var d=n(6893);var h=n(9732),p=n(2248),f=n(6891),_=n(2136),m=n(3692),g=n(7729),y=n(1634),v=n(1945),b=n(9730),w=n(4469),k=n(8838),S=n(8131);const E=[new r.QD,new a.c,new m.p,new g.O,new _.d,new y.iP,new b.I,new v.q];function x(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=E),void 0===t.release&&("string"==typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),f.m9.SENTRY_RELEASE&&f.m9.SENTRY_RELEASE.id&&(t.release=f.m9.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);const e={...t,stackParser:(0,l.Sq)(t.stackParser||w.Dt),integrations:(0,i.m8)(t),transport:t.transport||((0,u.Ak)()?k.f:S.K)};!function(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?o.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=(0,s.Gd)(),r=n.getScope();r&&r.update(e.initialScope);const a=new t(e);n.bindClient(a)}(p.R,e),t.autoSessionTracking&&function(){if(void 0===f.m9.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));const t=(0,s.Gd)();t.captureSession&&(A(t),(0,h.o)("history",(({from:t,to:e})=>{void 0!==t&&t!==e&&A((0,s.Gd)())})))}()}function R(t={},e=(0,s.Gd)()){if(!f.m9.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("Global document not defined in showReportDialog call"));const{client:n,scope:r}=e.getStackTop(),a=t.dsn||n&&n.getDsn();if(!a)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("DSN not configured for showReportDialog call"));r&&(t.user={...r.getUser(),...t.user}),t.eventId||(t.eventId=e.lastEventId());const i=f.m9.document.createElement("script");i.async=!0,i.src=(0,c.h)(a,t),t.onLoad&&(i.onload=t.onLoad);const l=f.m9.document.head||f.m9.document.body;l?l.appendChild(i):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("Not injecting report dialog. No injection point found in HTML")}function T(){return(0,s.Gd)().lastEventId()}function I(){}function C(t){t()}function D(t){const e=(0,s.Gd)().getClient();return e?e.flush(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Cannot flush events. No client defined."),(0,d.WD)(!1))}function N(t){const e=(0,s.Gd)().getClient();return e?e.close(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Cannot flush events and disable SDK. No client defined."),(0,d.WD)(!1))}function O(t){return(0,f.re)(t)()}function A(t){t.startSession({ignoreDuration:!0}),t.captureSession()}},4469:(t,e,n)=>{n.d(e,{$3:()=>c,$Q:()=>d,Dt:()=>v,HH:()=>g,NP:()=>_,R2:()=>p,d8:()=>y});var r=n(360);const a="?";function i(t,e,n,r){const a={filename:t,function:e,in_app:!0};return void 0!==n&&(a.lineno=n),void 0!==r&&(a.colno=r),a}const o=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=[30,t=>{const e=o.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){const t=s.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}const[t,n]=b(e[1]||a,e[2]);return i(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],l=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=[50,t=>{const e=l.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=u.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||a;return[n,t]=b(n,t),i(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],h=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,p=[40,t=>{const e=h.exec(t);return e?i(e[2],e[1]||a,+e[3],e[4]?+e[4]:void 0):void 0}],f=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,_=[10,t=>{const e=f.exec(t);return e?i(e[2],e[3]||a,+e[1]):void 0}],m=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,g=[20,t=>{const e=m.exec(t);return e?i(e[5],e[3]||e[4]||a,+e[1],+e[2]):void 0}],y=[c,d,p],v=(0,r.pE)(...y),b=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:a,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]}},8838:(t,e,n)=>{n.d(e,{f:()=>l});var r=n(9355),a=n(6893),i=n(8823),o=n(2343),s=n(6891);let c;function l(t,e=function(){if(c)return c;if((0,i.Du)(s.m9.fetch))return c=s.m9.fetch.bind(s.m9);const t=s.m9.document;let e=s.m9.fetch;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return c=e.bind(s.m9)}()){return(0,r.q)(t,(function(n){const r={body:n.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n.body.length<=65536,...t.fetchOptions};try{return e(t.url,r).then((t=>({statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return c=void 0,(0,a.$2)(t)}}
2))}},8131:(t,e,n)=>{n.d(e,{K:()=>i});var r=n(9355),a=n(6893);function i(t){return(0,r.q)(t,(function(e){return new a.cW(((n,r)=>{const a=new XMLHttpRequest;a.onerror=r,a.onreadystatechange=()=>{4===a.readyState&&n({statusCode:a.status,headers:{"x-sentry-rate-limits":a.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":a.getResponseHeader("Retry-After")}})},a.open("POST",t.url);for(const e in t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&a.setRequestHeader(e,t.headers[e]);a.send(e.body)}))}))}},1984:(t,e,n)=>{n.d(e,{U:()=>o,h:()=>s});var r=n(535);if(!/^(474|740)$/.test(n.j))var a=n(292);function i(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function o(t,e={}){const n="string"==typeof e?e:e.tunnel,a="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){return`${i(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return(0,r._j)({sentry_key:t.publicKey,sentry_version:"7",...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,a)}`}function s(t,e){const n=(0,a.vK)(t),r=`${i(n)}embed/error-page/`;let o=`dsn=${(0,a.RA)(n)}`;for(const t in e)if("dsn"!==t)if("user"===t){const t=e.user;if(!t)continue;t.name&&(o+=`&name=${encodeURIComponent(t.name)}`),t.email&&(o+=`&email=${encodeURIComponent(t.email)}`)}else o+=`&${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`;return`${r}?${o}`}},2967:(t,e,n)=>{n.d(e,{m7:()=>u,m8:()=>c,q4:()=>l});var r=n(2844),a=n(2343),i=n(5659),o=n(350);const s=[];function c(t){const e=t.defaultIntegrations||[],n=t.integrations;let a;e.forEach((t=>{t.isDefaultInstance=!0})),a=Array.isArray(n)?[...e,...n]:"function"==typeof n?(0,r.lE)(n(e)):e;const i=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.values(e)}(a),o=i.findIndex((t=>"Debug"===t.name));if(-1!==o){const[t]=i.splice(o,1);i.push(t)}return i}function l(t){const e={};return t.forEach((t=>{u(t,e)})),e}function u(t,e){e[t.name]=t,-1===s.indexOf(t.name)&&(t.setupOnce(o.c,i.Gd),s.push(t.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log(`Integration installed: ${t.name}`))}},9116:(t,e,n)=>{n.d(e,{c:()=>i});var r=n(535);let a;class i{constructor(){i.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=i.id}setupOnce(){a=Function.prototype.toString,Function.prototype.toString=function(...t){const e=(0,r.HK)(this)||this;return a.apply(e,t)}}}i.__initStatic()},2422:(t,e,n)=>{n.d(e,{QD:()=>s});var r=n(2343),a=n(2844),i=n(7321);const o=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class s{static __initStatic(){this.id="InboundFilters"}__init(){this.name=s.id}constructor(t={}){this._options=t,s.prototype.__init.call(this)}setupOnce(t,e){const n=t=>{const n=e();if(n){const e=n.getIntegration(s);if(e){const s=n.getClient(),l=s?s.getOptions():{},u=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...o],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(e._options,l);return function(t,e){return e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,a.jH)(t)}`),!0):function(t,e){return!(!e||!e.length)&&function(t){if(t.message)return[t.message];if(t.exception)try{const{type:e="",value:n=""}=t.exception.values&&t.exception.values[0]||{};return[`${n}`,`${e}: ${n}`]}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error(`Cannot extract message for event ${(0,a.jH)(t)}`),[]}return[]}(t).some((t=>(0,i.U0)(t,e)))}(t,e.ignoreErrors)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,a.jH)(t)}`),!0):function(t,e){if(!e||!e.length)return!1;const n=c(t);return!!n&&(0,i.U0)(n,e)}(t,e.denyUrls)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,a.jH)(t)}.\nUrl: ${c(t)}`),!0):!function(t,e){if(!e||!e.length)return!0;const n=c(t);return!n||(0,i.U0)(n,e)}(t,e.allowUrls)&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,a.jH)(t)}.\nUrl: ${c(t)}`),!0)}(t,u)?null:t}}return t};n.id=this.name,t(n)}}function c(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error(`Cannot extract url for event ${(0,a.jH)(t)}`),null}}s.__initStatic()},9355:(t,e,n)=>{n.d(e,{q:()=>s});var r=n(409),a=n(6893);var i=n(8725);var o=n(2343);function s(t,e,n=function(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(i){if(!(void 0===t||e.length<t))return(0,a.$2)(new r.b("Not adding Promise because buffer limit was reached."));const o=i();return-1===e.indexOf(o)&&e.push(o),o.then((()=>n(o))).then(null,(()=>n(o).then(null,(()=>{})))),o},drain:function(t){return new a.cW(((n,r)=>{let i=e.length;if(!i)return n(!0);const o=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,a.WD)(t).then((()=>{--i||(clearTimeout(o),n(!0))}),r)}))}))}}}(t.bufferSize||30)){let s={};return{send:function(l){const u=[];
2if((0,i.gv)(l,((e,n)=>{const r=(0,i.mL)(n);if(function(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}(s,r)){const a=c(e,n);t.recordDroppedEvent("ratelimit_backoff",r,a)}else u.push(e)})),0===u.length)return(0,a.WD)();const d=(0,i.Jd)(l[0],u),h=e=>{(0,i.gv)(d,((n,r)=>{const a=c(n,r);t.recordDroppedEvent(e,(0,i.mL)(r),a)}))};return n.add((()=>e({body:(0,i.V$)(d,t.textEncoder)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),s=function(t,{statusCode:e,headers:n},r=Date.now()){const a={...t},i=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(i)for(const t of i.trim().split(",")){const[e,n]=t.split(":",2),i=parseInt(e,10),o=1e3*(isNaN(i)?60:i);if(n)for(const t of n.split(";"))a[t]=r+o;else a.all=r+o}else o?a.all=r+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${t}`);return isNaN(r)?6e4:r-e}(o,r):429===e&&(a.all=r+6e4);return a}(s,t),t)),(t=>{throw h("network_error"),t})))).then((t=>t),(t=>{if(t instanceof r.b)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("Skipped sending event because buffer is full."),h("queue_overflow"),(0,a.WD)();throw t}))},flush:t=>n.drain(t)}}function c(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}},8942:(t,e,n)=>{n.d(e,{R:()=>l});var r=n(2844),a=n(1170),i=n(6893),o=n(7321),s=n(8007),c=n(350);function l(t,e,n,l){const{normalizeDepth:u=3,normalizeMaxBreadth:d=1e3}=t,h={...e,event_id:e.event_id||n.event_id||(0,r.DM)(),timestamp:e.timestamp||(0,a.yW)()},p=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:r,dist:a,maxValueLength:i=250}=e;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==a&&(t.dist=a),t.message&&(t.message=(0,o.$G)(t.message,i));const s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=(0,o.$G)(s.value,i));const c=t.request;c&&c.url&&(c.url=(0,o.$G)(c.url,i))}(h,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(h,p);let f=l;n.captureContext&&(f=c.s.clone(f).update(n.captureContext));let _=(0,i.WD)(h);if(f){if(f.getAttachments){const t=[...n.attachments||[],...f.getAttachments()];t.length&&(n.attachments=t)}_=f.applyToEvent(h,n)}return _.then((t=>"number"==typeof u&&u>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:(0,s.Fv)(t.data,e,n)}})))},...t.user&&{user:(0,s.Fv)(t.user,e,n)},...t.contexts&&{contexts:(0,s.Fv)(t.contexts,e,n)},...t.extra&&{extra:(0,s.Fv)(t.extra,e,n)}};return t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=(0,s.Fv)(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map((t=>(t.data&&(t.data=(0,s.Fv)(t.data,e,n)),t)))),r}(t,u,d):t))}},105:(t,e,n)=>{n.d(e,{J:()=>r});const r="7.36.0"},3078:(t,e,n)=>{n.d(e,{U:()=>Ne});var r=n(5659),a=n(4487),i=n(350),o=n(8942),s=n(1235),c=n(2343),l=n(2844),u=n(8464),d=n(9732),h=n(1170),p=n(8725),f=n(1422),_=n(535);const m=s.n2,g="sentryReplaySession",y="replay_event",v="Unable to send Replay",b=3e5,w=b,k=36e5;var S,E=function(){return E=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var a in e=arguments[n])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},E.apply(this,arguments)};function x(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function R(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,a,i=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(t){a={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function T(t,e,n){if(n||2===arguments.length)for(var r,a=0,i=e.length;a<i;a++)!r&&a in e||(r||(r=Array.prototype.slice.call(e,0,a)),r[a]=e[a]);return t.concat(r||Array.prototype.slice.call(e))}function I(t){var e,n=null===(e=t)||void 0===e?void 0:e.host;return Boolean(n&&n.shadowRoot&&n.shadowRoot===t)}function C(t){var e=t.input,n=t.maskInputSelector,r=t.unmaskInputSelector,a=t.maskInputOptions,i=t.tagName,o=t.type,s=t.value,c=t.maskInputFn,l=s||"";return r&&e.matches(r)||(a[i.toLowerCase()]||a[o]||n&&e.matches(n))&&(l=c?c(l):"*".repeat(l.length)),l}!function(t){t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment"}(S||(S={}));var D,N,O="__rrweb_original__",A=1,U=new RegExp("[^a-z0-9-_:]");function z(t){try{var e=t.rules||t.cssRules;return e?Array.from(e).map(M).join(""):null}catch(t){return null}}function M(t){var e=t.cssText;if(function(t){return"styleSheet"in t}(t))try{e=z(t.styleSheet)||e}catch(t){}return e}var L=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,B=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,F=/^(data:)([^,]*),(.*)/i;function G(t,e){return(t||"").replace(L,(function(t,n,r,a,i,o){var s,c=r||i||o,l=n||a||"";if(!c)return t;
vendor: 1,310 bytes, line 2
2if(!B.test(c))return"url("+l+c+l+")";if(F.test(c))return"url("+l+c+l+")";if("/"===c[0])return"url("+l+(((s=e).indexOf("//")>-1?s.split("/").slice(0,3).join("/"):s.split("/")[0]).split("?")[0]+c)+l+")";var u=e.split("/"),d=c.split("/");u.pop();for(var h=0,p=d;h<p.length;h++){var f=p[h];"."!==f&&(".."===f?u.pop():u.push(f))}return"url("+l+u.join("/")+l+")"}))}var $,P,Y,j,H,W,Z=/^[^ \t\n\r\u000c]+/,q=/^[, \t\n\r\u000c]+/;function K(t,e){if(!e||""===e.trim())return e;var n=t.createElement("a");return n.href=e,n.href}function X(){var t=document.createElement("a");return t.href="",t.href}function J(t,e,n,r){return"src"===n||"href"===n&&r||"xlink:href"===n&&r&&"#"!==r[0]?K(t,r):"background"!==n||!r||"table"!==e&&"td"!==e&&"th"!==e?"srcset"===n&&r?function(t,e){if(""===e.trim())return e;var n=0;function r(t){var r,a=t.exec(e.substring(n));return a?(r=a[0],n+=r.length,r):""}for(var a=[];r(q),!(n>=e.length);){var i=r(Z);if(","===i.slice(-1))i=K(t,i.substring(0,i.length-1)),a.push(i);else{var o="";i=K(t,i);for(var s=!1;;){var c=e.charAt(n);if(""===c){a.push((i+o).trim());break}if(s)")"===c&&(s=!1);else{if(","===c){n+=1,a.push((i+o).trim());break}"("===c&&(s=!0)}o+=c,n+=1}}}return a.join(", ")}(t,r):"style"===n&&r?G(r,X()):"object"===e&&"data"===n&&r?K(t,r):r:K(t,r)}function V(t,e,n,r){if(!t)return!1;
2if(t.nodeType===t.ELEMENT_NODE){if(r&&(t.matches(r)||t.closest(r)))return!1;if("string"==typeof e){if(t.classList.contains(e))return!0}else for(var a=0;a<t.classList.length;a++){var i=t.classList[a];if(e.test(i))return!0}return!(!n||!t.matches(n))||V(t.parentNode,e,n,r)}return t.nodeType,t.TEXT_NODE,V(t.parentNode,e,n,r)}function Q(t){return void 0===t?"":t.toLowerCase()}function tt(t,e){var n,r=e.doc,a=e.map,i=e.blockClass,o=e.blockSelector,s=e.unblockSelector,c=e.maskTextClass,l=e.maskTextSelector,u=e.unmaskTextSelector,d=e.skipChild,h=void 0!==d&&d,p=e.inlineStylesheet,f=void 0===p||p,_=e.maskInputSelector,m=e.unmaskInputSelector,g=e.maskInputOptions,y=void 0===g?{}:g,v=e.maskTextFn,b=e.maskInputFn,w=e.slimDOMOptions,k=e.dataURLOptions,E=void 0===k?{}:k,x=e.inlineImages,R=void 0!==x&&x,T=e.recordCanvas,M=void 0!==T&&T,L=e.onSerialize,B=e.onIframeLoad,F=e.iframeLoadTimeout,$=void 0===F?5e3:F,P=e.keepIframeSrcFn,Y=void 0===P?function(){return!1}:P,j=e.preserveWhiteSpace,H=void 0===j||j,W=function(t,e){var n,r,a,i,o=e.doc,s=e.blockClass,c=e.blockSelector,l=e.unblockSelector,u=e.maskTextClass,d=e.maskTextSelector,h=e.unmaskTextSelector,p=e.inlineStylesheet,f=e.maskInputSelector,_=e.unmaskInputSelector,m=e.maskInputOptions,g=void 0===m?{}:m,y=e.maskTextFn,v=e.maskInputFn,b=e.dataURLOptions,w=void 0===b?{}:b,k=e.inlineImages,E=e.recordCanvas,x=e.keepIframeSrcFn;if(o.__sn){var R=o.__sn.id;r=1===R?void 0:R}switch(t.nodeType){case t.DOCUMENT_NODE:return"CSS1Compat"!==t.compatMode?{type:S.Document,childNodes:[],compatMode:t.compatMode,rootId:r}:{type:S.Document,childNodes:[],rootId:r};case t.DOCUMENT_TYPE_NODE:return{type:S.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:r};case t.ELEMENT_NODE:for(var T=function(t,e,n,r){if(r&&t.matches(r))return!1;if("string"==typeof e){if(t.classList.contains(e))return!0}else for(var a=0;a<t.classList.length;a++){var i=t.classList[a];if(e.test(i))return!0}return!!n&&t.matches(n)}(t,s,c,l),I=function(t){if(t instanceof HTMLFormElement)return"form";var e=t.tagName.toLowerCase().trim();return U.test(e)?"div":e}(t),A={},M=0,L=Array.from(t.attributes);M<L.length;M++){var B=L[M],F=B.name,$=B.value;A[F]=J(o,I,F,$)}if("link"===I&&p){var P=Array.from(o.styleSheets).find((function(e){return e.href===t.href})),Y=null;P&&(Y=z(P)),Y&&(delete A.rel,delete A.href,A._cssText=G(Y,P.href))}if("style"===I&&t.sheet&&!(t.innerText||t.textContent||"").trim().length&&(Y=z(t.sheet))&&(A._cssText=G(Y,X())),"input"!==I&&"textarea"!==I&&"select"!==I||($=t.value,"radio"!==A.type&&"checkbox"!==A.type&&"submit"!==A.type&&"button"!==A.type&&$?A.value=C({input:t,type:A.type,tagName:I,value:$,maskInputSelector:f,unmaskInputSelector:_,maskInputOptions:g,maskInputFn:v}):t.checked&&(A.checked=t.checked)),"option"===I&&(t.selected&&!g.select?A.selected=!0:delete A.selected),"canvas"===I&&E)if("2d"===t.__context)(function(t){var e=t.getContext("2d");if(!e)return!0;for(var n=0;n<t.width;n+=50)for(var r=0;r<t.height;r+=50){var a=e.getImageData,i=O in a?a[O]:a;
2if(new Uint32Array(i.call(e,n,r,Math.min(50,t.width-n),Math.min(50,t.height-r)).data.buffer).some((function(t){return 0!==t})))return!1}return!0})(t)||(A.rr_dataURL=t.toDataURL(w.type,w.quality));else if(!("__context"in t)){var j=t.toDataURL(w.type,w.quality),H=document.createElement("canvas");H.width=t.width,H.height=t.height,j!==H.toDataURL(w.type,w.quality)&&(A.rr_dataURL=j)}if("img"===I&&k){D||(D=o.createElement("canvas"),N=D.getContext("2d"));var W=t,Z=W.crossOrigin;W.crossOrigin="anonymous";var q=function(){try{D.width=W.naturalWidth,D.height=W.naturalHeight,N.drawImage(W,0,0),A.rr_dataURL=D.toDataURL(w.type,w.quality)}catch(t){console.warn("Cannot inline img src="+W.currentSrc+"! Error: "+t)}Z?A.crossOrigin=Z:delete A.crossOrigin};W.complete&&0!==W.naturalWidth?q():W.onload=q}if("audio"!==I&&"video"!==I||(A.rr_mediaState=t.paused?"paused":"played",A.rr_mediaCurrentTime=t.currentTime),t.scrollLeft&&(A.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(A.rr_scrollTop=t.scrollTop),T){var K=t.getBoundingClientRect(),Q=K.width,tt=K.height;A={class:A.class,rr_width:Q+"px",rr_height:tt+"px"}}return"iframe"!==I||x(A.src)||(t.contentDocument||(A.rr_src=A.src),delete A.src),{type:S.Element,tagName:I,attributes:A,childNodes:[],isSVG:(i=t,Boolean("svg"===i.tagName||i.ownerSVGElement)||void 0),needBlock:T,rootId:r};case t.TEXT_NODE:var et=t.parentNode&&t.parentNode.tagName,nt=t.textContent,rt="STYLE"===et||void 0,at="SCRIPT"===et||void 0;if(rt&&nt){try{t.nextSibling||t.previousSibling||(null===(n=t.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(nt=(a=t.parentNode.sheet).cssRules?Array.from(a.cssRules).map((function(t){return t.cssText||""})).join(""):"")}catch(e){console.warn("Cannot get CSS styles from text's parentNode. Error: "+e,t)}nt=G(nt,X())}return at&&(nt="SCRIPT_PLACEHOLDER"),!rt&&!at&&V(t,u,d,h)&&nt&&(nt=y?y(nt):nt.replace(/[\S]/g,"*")),{type:S.Text,textContent:nt||"",isStyle:rt,rootId:r};case t.CDATA_SECTION_NODE:return{type:S.CDATA,textContent:"",rootId:r};case t.COMMENT_NODE:return{type:S.Comment,textContent:t.textContent||"",rootId:r};default:return!1}}(t,{doc:r,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,inlineStylesheet:f,maskInputSelector:_,unmaskInputSelector:m,maskInputOptions:y,maskTextFn:v,maskInputFn:b,dataURLOptions:E,inlineImages:R,recordCanvas:M,keepIframeSrcFn:Y});if(!W)return console.warn(t,"not serialized"),null;n="__sn"in t?t.__sn.id:!function(t,e){if(e.comment&&t.type===S.Comment)return!0;if(t.type===S.Element){if(e.script&&("script"===t.tagName||"link"===t.tagName&&"preload"===t.attributes.rel&&"script"===t.attributes.as||"link"===t.tagName&&"prefetch"===t.attributes.rel&&"string"==typeof t.attributes.href&&t.attributes.href.endsWith(".js")))return!0;if(e.headFavicon&&("link"===t.tagName&&"shortcut icon"===t.attributes.rel||"meta"===t.tagName&&(Q(t.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Q(t.attributes.name)||"icon"===Q(t.attributes.rel)||"apple-touch-icon"===Q(t.attributes.rel)||"shortcut icon"===Q(t.attributes.rel))))return!0;if("meta"===t.tagName){if(e.headMetaDescKeywords&&Q(t.attributes.name).match(/^description|keywords$/))return!0;if(e.headMetaSocial&&(Q(t.attributes.property).match(/^(og|twitter|fb):/)||Q(t.attributes.name).match(/^(og|twitter):/)||"pinterest"===Q(t.attributes.name)))return!0;if(e.headMetaRobots&&("robots"===Q(t.attributes.name)||"googlebot"===Q(t.attributes.name)||"bingbot"===Q(t.attributes.name)))return!0;if(e.headMetaHttpEquiv&&void 0!==t.attributes["http-equiv"])return!0;if(e.headMetaAuthorship&&("author"===Q(t.attributes.name)||"generator"===Q(t.attributes.name)||"framework"===Q(t.attributes.name)||"publisher"===Q(t.attributes.name)||"progid"===Q(t.attributes.name)||Q(t.attributes.property).match(/^article:/)||Q(t.attributes.property).match(/^product:/)))return!0;if(e.headMetaVerification&&("google-site-verification"===Q(t.attributes.name)||"yandex-verification"===Q(t.attributes.name)||"csrf-token"===Q(t.attributes.name)||"p:domain_verify"===Q(t.attributes.name)||"verify-v1"===Q(t.attributes.name)||"verification"===Q(t.attributes.name)||"shopify-checkout-api-token"===Q(t.attributes.name)))return!0}}return!1}(W,w)&&(H||W.type!==S.Text||W.isStyle||W.textContent.replace(/^\s+|\s+$/gm,"").length)?A++:-2;var Z=Object.assign(W,{id:n});if(t.__sn=Z,-2===n)return null;a[n]=t,L&&L(t);var q=!h;if(Z.type===S.Element&&(q=q&&!Z.needBlock,delete Z.needBlock,t.shadowRoot&&(Z.isShadowHost=!0)),(Z.type===S.Document||Z.type===S.Element)&&q){w.headWhitespace&&W.type===S.Element&&"head"===W.tagName&&(H=!1);for(var K={doc:r,map:a,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:h,inlineStylesheet:f,maskInputSelector:_,unmaskInputSelector:m,maskInputOptions:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:w,dataURLOptions:E,inlineImages:R,recordCanvas:M,preserveWhiteSpace:H,onSerialize:L,onIframeLoad:B,iframeLoadTimeout:$,keepIframeSrcFn:Y},et=0,nt=Array.from(t.childNodes);et<nt.length;et++)(it=tt(nt[et],K))&&Z.childNodes.push(it);if(function(t){return t.nodeType===t.ELEMENT_NODE}(t)&&t.shadowRoot)for(var rt=0,at=Array.from(t.shadowRoot.childNodes);rt<at.length;rt++){var it;(it=tt(at[rt],K))&&(it.isShadow=!0,Z.childNodes.push(it))}}
2return t.parentNode&&I(t.parentNode)&&(Z.isShadow=!0),Z.type===S.Element&&"iframe"===Z.tagName&&function(t,e,n){var r=t.contentWindow;if(r){var a,i=!1;try{a=r.document.readyState}catch(t){return}if("complete"===a){var o="about:blank";r.location.href===o&&t.src!==o&&""!==t.src?t.addEventListener("load",e):setTimeout(e,0)}else{var s=setTimeout((function(){i||(e(),i=!0)}),n);t.addEventListener("load",(function(){clearTimeout(s),i=!0,e()}))}}}(t,(function(){var e=t.contentDocument;if(e&&B){var n=tt(e,{doc:e,map:a,blockClass:i,blockSelector:o,unblockSelector:s,maskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:f,maskInputSelector:_,unmaskInputSelector:m,maskInputOptions:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:w,dataURLOptions:E,inlineImages:R,recordCanvas:M,preserveWhiteSpace:H,onSerialize:L,onIframeLoad:B,iframeLoadTimeout:$,keepIframeSrcFn:Y});n&&B(t,n)}}),$),Z}function et(t,e,n){void 0===n&&(n=document);var r={capture:!0,passive:!0};return n.addEventListener(t,e,r),function(){return n.removeEventListener(t,e,r)}}!function(t){t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin"}($||($={})),function(t){t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.Input=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration"}(P||(P={})),function(t){t[t.MouseUp=0]="MouseUp",t[t.MouseDown=1]="MouseDown",t[t.Click=2]="Click",t[t.ContextMenu=3]="ContextMenu",t[t.DblClick=4]="DblClick",t[t.Focus=5]="Focus",t[t.Blur=6]="Blur",t[t.TouchStart=7]="TouchStart",t[t.TouchMove_Departed=8]="TouchMove_Departed",t[t.TouchEnd=9]="TouchEnd",t[t.TouchCancel=10]="TouchCancel"}(Y||(Y={})),function(t){t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2"}(j||(j={})),function(t){t[t.Play=0]="Play",t[t.Pause=1]="Pause",t[t.Seeked=2]="Seeked",t[t.VolumeChange=3]="VolumeChange"}(H||(H={})),function(t){t.Start="start",t.Pause="pause",t.Resume="resume",t.Resize="resize",t.Finish="finish",t.FullsnapshotRebuilded="fullsnapshot-rebuilded",t.LoadStylesheetStart="load-stylesheet-start",t.LoadStylesheetEnd="load-stylesheet-end",t.SkipStart="skip-start",t.SkipEnd="skip-end",t.MouseInteraction="mouse-interaction",t.EventCast="event-cast",t.CustomEvent="custom-event",t.Flush="flush",t.StateChange="state-change",t.PlayBack="play-back"}(W||(W={}));var nt="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",rt={map:{},getId:function(){return console.error(nt),-1},getNode:function(){return console.error(nt),null},removeNodeFromMap:function(){console.error(nt)},has:function(){return console.error(nt),!1},reset:function(){console.error(nt)}};function at(t,e,n){void 0===n&&(n={});var r=null,a=0;return function(i){var o=Date.now();a||!1!==n.leading||(a=o);var s=e-(o-a),c=this,l=arguments;s<=0||s>e?(r&&(clearTimeout(r),r=null),a=o,t.apply(c,l)):r||!1===n.trailing||(r=setTimeout((function(){a=!1===n.leading?0:Date.now(),r=null,t.apply(c,l)}),s))}}function it(t,e,n,r,a){void 0===a&&(a=window);var i=a.Object.getOwnPropertyDescriptor(t,e);return a.Object.defineProperty(t,e,r?n:{set:function(t){var e=this;setTimeout((function(){n.set.call(e,t)}),0),i&&i.set&&i.set.call(this,t)}}),function(){return it(t,e,i||{},!0)}}function ot(t,e,n){try{if(!(e in t))return function(){};var r=t[e],a=n(r);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),t[e]=a,function(){t[e]=r}}catch(t){return function(){}}}function st(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function ct(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function lt(t,e){if(!t)return!1;
2if(t.nodeType===t.ELEMENT_NODE){var n=!1;if("string"==typeof e){if(void 0!==t.closest)return null!==t.closest("."+e);n=t.classList.contains(e)}else t.classList.forEach((function(t){e.test(t)&&(n=!0)}));return n||lt(t.parentNode,e)}return t.nodeType,t.TEXT_NODE,lt(t.parentNode,e)}function ut(t){return"__sn"in t&&-2===t.__sn.id}function dt(t,e){if(I(t))return!1;var n=e.getId(t);return!e.has(n)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||dt(t.parentNode,e))}function ht(t){return Boolean(t.changedTouches)}function pt(t){return"__sn"in t&&t.__sn.type===S.Element&&"iframe"===t.__sn.tagName}function ft(t){return Boolean(null==t?void 0:t.shadowRoot)}function _t(t){return"__ln"in t}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(rt=new Proxy(rt,{get:function(t,e,n){return"map"===e&&console.error(nt),Reflect.get(t,e,n)}}));var mt=function(){function t(){this.length=0,this.head=null}return t.prototype.get=function(t){if(t>=this.length)throw new Error("Position outside of list range");for(var e=this.head,n=0;n<t;n++)e=(null==e?void 0:e.next)||null;return e},t.prototype.addNode=function(t){var e={value:t,previous:null,next:null};if(t.__ln=e,t.previousSibling&&_t(t.previousSibling)){var n=t.previousSibling.__ln.next;e.next=n,e.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=e,n&&(n.previous=e)}else t.nextSibling&&_t(t.nextSibling)&&t.nextSibling.__ln.previous?(n=t.nextSibling.__ln.previous,e.previous=n,e.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=e,n&&(n.next=e)):(this.head&&(this.head.previous=e),e.next=this.head,this.head=e);this.length++},t.prototype.removeNode=function(t){var e=t.__ln;this.head&&(e.previous?(e.previous.next=e.next,e.next&&(e.next.previous=e.previous)):(this.head=e.next,this.head&&(this.head.previous=null)),t.__ln&&delete t.__ln,this.length--)},t}
2(),gt=function(t,e){return"".concat(t,"@").concat(e)};function yt(t){return"__sn"in t}function vt(t,e){t.delete(e),e.childNodes.forEach((function(e){return vt(t,e)}))}function bt(t,e,n){var r=e.parentNode;if(!r)return!1;var a=n.getId(r);return!!t.some((function(t){return t.id===a}))||bt(t,r,n)}function wt(t,e){var n=e.parentNode;return!!n&&(!!t.has(n)||wt(t,n))}const kt=function(){function t(){var t=this;this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=function(e){e.forEach(t.processMutation),t.emit()},this.emit=function(){var e,n,r,a;if(!t.frozen&&!t.locked){for(var i=[],o=new mt,s=function(e){for(var n=e,r=-2;-2===r;)r=(n=n&&n.nextSibling)&&t.mirror.getId(n);return r},c=function(e){for(var n,r,a,c,l,u=e.getRootNode?null===(n=e.getRootNode())||void 0===n?void 0:n.host:null,d=u;null===(a=null===(r=null==d?void 0:d.getRootNode)||void 0===r?void 0:r.call(d))||void 0===a?void 0:a.host;)d=(null===(l=null===(c=null==d?void 0:d.getRootNode)||void 0===c?void 0:c.call(d))||void 0===l?void 0:l.host)||null;var h=!(t.doc.contains(e)||null!==d&&t.doc.contains(d));if(e.parentNode&&!h){var p=I(e.parentNode)?t.mirror.getId(u):t.mirror.getId(e.parentNode),f=s(e);if(-1===p||-1===f)return o.addNode(e);var _=tt(e,{doc:t.doc,map:t.mirror.map,blockClass:t.blockClass,blockSelector:t.blockSelector,unblockSelector:t.unblockSelector,maskTextClass:t.maskTextClass,maskTextSelector:t.maskTextSelector,unmaskTextSelector:t.unmaskTextSelector,maskInputSelector:t.maskInputSelector,unmaskInputSelector:t.unmaskInputSelector,skipChild:!0,inlineStylesheet:t.inlineStylesheet,maskInputOptions:t.maskInputOptions,maskTextFn:t.maskTextFn,maskInputFn:t.maskInputFn,slimDOMOptions:t.slimDOMOptions,recordCanvas:t.recordCanvas,inlineImages:t.inlineImages,onSerialize:function(n){pt(n)&&t.iframeManager.addIframe(n),ft(e)&&t.shadowDomManager.addShadowRoot(e.shadowRoot,document)},onIframeLoad:function(e,n){t.iframeManager.attachIframe(e,n),t.shadowDomManager.observeAttachShadow(e)}});_&&i.push({parentId:p,nextId:f,node:_})}};t.mapRemoves.length;)t.mirror.removeNodeFromMap(t.mapRemoves.shift());try{for(var l=x(t.movedSet),u=l.next();!u.done;u=l.next()){var d=u.value;bt(t.removes,d,t.mirror)&&!t.movedSet.has(d.parentNode)||c(d)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}try{for(var h=x(t.addedSet),p=h.next();!p.done;p=h.next())d=p.value,wt(t.droppedSet,d)||bt(t.removes,d,t.mirror)?wt(t.movedSet,d)?c(d):t.droppedSet.add(d):c(d)}catch(t){r={error:t}}finally{try{p&&!p.done&&(a=h.return)&&a.call(h)}finally{if(r)throw r.error}}for(var f=null;o.length;){var _=null;if(f){var m=t.mirror.getId(f.value.parentNode),g=s(f.value);-1!==m&&-1!==g&&(_=f)}if(!_)for(var y=o.length-1;y>=0;y--){var v=o.get(y);if(v&&(m=t.mirror.getId(v.value.parentNode),g=s(v.value),-1!==m&&-1!==g)){_=v;break}}if(!_){for(;o.head;)o.removeNode(o.head.value);break}f=_.previous,o.removeNode(_.value),c(_.value)}var b={texts:t.texts.map((function(e){return{id:t.mirror.getId(e.node),value:e.value}})).filter((function(e){return t.mirror.has(e.id)})),attributes:t.attributes.map((function(e){return{id:t.mirror.getId(e.node),attributes:e.attributes}})).filter((function(e){return t.mirror.has(e.id)})),removes:t.removes,adds:i};(b.texts.length||b.attributes.length||b.removes.length||b.adds.length)&&(t.texts=[],t.attributes=[],t.removes=[],t.addedSet=new Set,t.movedSet=new Set,t.droppedSet=new Set,t.movedMap={},t.mutationCb(b))}},this.processMutation=function(e){var n,r,a,i;if(!ut(e.target))switch(e.type){case"characterData":var o=e.target.textContent;lt(e.target,t.blockClass)||o===e.oldValue||t.texts.push({value:V(e.target,t.maskTextClass,t.maskTextSelector,t.unmaskTextSelector)&&o?t.maskTextFn?t.maskTextFn(o):o.replace(/[\S]/g,"*"):o,node:e.target});break;case"attributes":var s=e.target;if(o=e.target.getAttribute(e.attributeName),"value"===e.attributeName&&(o=C({input:s,maskInputSelector:t.maskInputSelector,unmaskInputSelector:t.unmaskInputSelector,maskInputOptions:t.maskInputOptions,tagName:e.target.tagName,type:e.target.getAttribute("type"),value:o,maskInputFn:t.maskInputFn})),lt(e.target,t.blockClass)||o===e.oldValue)return;var c=t.attributes.find((function(t){return t.node===e.target}));if(c||(c={node:e.target,attributes:{}},t.attributes.push(c)),"style"===e.attributeName){var l=t.doc.createElement("span");e.oldValue&&l.setAttribute("style",e.oldValue),void 0!==c.attributes.style&&null!==c.attributes.style||(c.attributes.style={});try{var u=c.attributes.style;try{for(var d=x(Array.from(s.style)),h=d.next();!h.done;h=d.next()){var p=h.value,f=s.style.getPropertyValue(p),_=s.style.getPropertyPriority(p);f===l.style.getPropertyValue(p)&&_===l.style.getPropertyPriority(p)||(u[p]=""===_?f:[f,_])}}catch(t){n={error:t}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}try{for(var m=x(Array.from(l.style)),g=m.next();!g.done;g=m.next())p=g.value,""===s.style.getPropertyValue(p)&&(u[p]=!1)}catch(t){a={error:t}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(a)throw a.error}}}catch(t){console.warn("[rrweb] Error when parsing update to style attribute:",t)}}else c.attributes[e.attributeName]=J(t.doc,e.target.tagName,e.attributeName,o);break;
2case"childList":e.addedNodes.forEach((function(n){return t.genAdds(n,e.target)})),e.removedNodes.forEach((function(n){var r=t.mirror.getId(n),a=I(e.target)?t.mirror.getId(e.target.host):t.mirror.getId(e.target);lt(e.target,t.blockClass)||ut(n)||(t.addedSet.has(n)?(vt(t.addedSet,n),t.droppedSet.add(n)):t.addedSet.has(e.target)&&-1===r||dt(e.target,t.mirror)||(t.movedSet.has(n)&&t.movedMap[gt(r,a)]?vt(t.movedSet,n):t.removes.push({parentId:a,id:r,isShadow:!!I(e.target)||void 0})),t.mapRemoves.push(n))}))}},this.genAdds=function(e,n){if(!n||!lt(n,t.blockClass)){if(yt(e)){if(ut(e))return;t.movedSet.add(e);var r=null;n&&yt(n)&&(r=n.__sn.id),r&&(t.movedMap[gt(e.__sn.id,r)]=!0)}else t.addedSet.add(e),t.droppedSet.delete(e);lt(e,t.blockClass)||e.childNodes.forEach((function(e){return t.genAdds(e)}))}}}return t.prototype.init=function(t){var e=this;["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach((function(n){e[n]=t[n]}))},t.prototype.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},t.prototype.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},t.prototype.isFrozen=function(){return this.frozen},t.prototype.lock=function(){this.locked=!0,this.canvasManager.lock()},t.prototype.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},t.prototype.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},t}();var St=[],Et="undefined"!=typeof CSSGroupingRule,xt="undefined"!=typeof CSSMediaRule,Rt="undefined"!=typeof CSSSupportsRule,Tt="undefined"!=typeof CSSConditionRule;function It(t){try{if("composedPath"in t){var e=t.composedPath();if(e.length)return e[0]}else if("path"in t&&t.path.length)return t.path[0]}catch(t){}return t&&t.target}function Ct(t,e){var n,r,a=new kt;St.push(a),a.init(t);var i=window.MutationObserver||window.__rrMutationObserver,o=null===(r=null===(n=null===window||void 0===window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===r?void 0:r.call(n,"MutationObserver");o&&window[o]&&(i=window[o]);var s=new i(a.processMutations.bind(a));return s.observe(e,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function Dt(t){var e=t.scrollCb,n=t.doc,r=t.mirror,a=t.blockClass;return et("scroll",at((function(t){var i=It(t);if(i&&!lt(i,a)){var o=r.getId(i);if(i===n){var s=n.scrollingElement||n.documentElement;e({id:o,x:s.scrollLeft,y:s.scrollTop})}else e({id:o,x:i.scrollLeft,y:i.scrollTop})}}),t.sampling.scroll||100),n)}function Nt(t,e){var n=E({},t);return e||delete n.userTriggered,n}var Ot=["INPUT","TEXTAREA","SELECT"],At=new WeakMap;function Ut(t){return function(t,e){if(Et&&t.parentRule instanceof CSSGroupingRule||xt&&t.parentRule instanceof CSSMediaRule||Rt&&t.parentRule instanceof CSSSupportsRule||Tt&&t.parentRule instanceof CSSConditionRule){var n=Array.from(t.parentRule.cssRules).indexOf(t);e.unshift(n)}else n=Array.from(t.parentStyleSheet.cssRules).indexOf(t),e.unshift(n);return e}(t,[])}function zt(t,e){var n,r;void 0===e&&(e={});var a=t.doc.defaultView;if(!a)return function(){};!function(t,e){var n=t.mutationCb,r=t.mousemoveCb,a=t.mouseInteractionCb,i=t.scrollCb,o=t.viewportResizeCb,s=t.inputCb,c=t.mediaInteractionCb,l=t.styleSheetRuleCb,u=t.styleDeclarationCb,d=t.canvasMutationCb,h=t.fontCb;t.mutationCb=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];e.mutation&&e.mutation.apply(e,T([],R(t),!1)),n.apply(void 0,T([],R(t),!1))},t.mousemoveCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.mousemove&&e.mousemove.apply(e,T([],R(t),!1)),r.apply(void 0,T([],R(t),!1))},t.mouseInteractionCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.mouseInteraction&&e.mouseInteraction.apply(e,T([],R(t),!1)),a.apply(void 0,T([],R(t),!1))},t.scrollCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.scroll&&e.scroll.apply(e,T([],R(t),!1)),i.apply(void 0,T([],R(t),!1))},t.viewportResizeCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.viewportResize&&e.viewportResize.apply(e,T([],R(t),!1)),o.apply(void 0,T([],R(t),!1))},t.inputCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.input&&e.input.apply(e,T([],R(t),!1)),s.apply(void 0,T([],R(t),!1))},t.mediaInteractionCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.mediaInteaction&&e.mediaInteaction.apply(e,T([],R(t),!1)),c.apply(void 0,T([],R(t),!1))},t.styleSheetRuleCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.styleSheetRule&&e.styleSheetRule.apply(e,T([],R(t),!1)),l.apply(void 0,T([],R(t),!1))},t.styleDeclarationCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.styleDeclaration&&e.styleDeclaration.apply(e,T([],R(t),!1)),u.apply(void 0,T([],R(t),!1))},t.canvasMutationCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.canvasMutation&&e.canvasMutation.apply(e,T([],R(t),!1)),d.apply(void 0,T([],R(t),!1))},t.fontCb=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.font&&e.font.apply(e,T([],R(t),!1)),h.apply(void 0,T([],R(t),!1))}}(t,e);var i=Ct(t,t.doc),o=function(t){var e=t.mousemoveCb,n=t.sampling,r=t.doc,a=t.mirror;if(!1===n.mousemove)return function(){};var i,o="number"==typeof n.mousemove?n.mousemove:50,s="number"==typeof n.mousemoveCallback?n.mousemoveCallback:500,c=[],l=at((function(t){var n=Date.now()-i;e(c.map((function(t){return t.timeOffset-=n,t})),t),c=[],i=null}),s),u=at((function(t){var e=It(t),n=ht(t)?t.changedTouches[0]:t,r=n.clientX,o=n.clientY;i||(i=Date.now()),c.push({x:r,y:o,id:a.getId(e),timeOffset:Date.now()-i}),l("undefined"!=typeof DragEvent&&t instanceof DragEvent?P.Drag:t instanceof MouseEvent?P.MouseMove:P.TouchMove)}),o,{trailing:!1}
2),d=[et("mousemove",u,r),et("touchmove",u,r),et("drag",u,r)];return function(){d.forEach((function(t){return t()}))}}(t),s=function(t){var e=t.mouseInteractionCb,n=t.doc,r=t.mirror,a=t.blockClass,i=t.sampling;if(!1===i.mouseInteraction)return function(){};var o=!0===i.mouseInteraction||void 0===i.mouseInteraction?{}:i.mouseInteraction,s=[];return Object.keys(Y).filter((function(t){return Number.isNaN(Number(t))&&!t.endsWith("_Departed")&&!1!==o[t]})).forEach((function(t){var i=t.toLowerCase(),o=function(t){return function(n){var i=It(n);if(!lt(i,a)){var o=ht(n)?n.changedTouches[0]:n;if(o){var s=r.getId(i),c=o.clientX,l=o.clientY;e({type:Y[t],id:s,x:c,y:l})}}}}(t);s.push(et(i,o,n))})),function(){s.forEach((function(t){return t()}))}}(t),c=Dt(t),l=function(t){var e=t.viewportResizeCb,n=-1,r=-1;return et("resize",at((function(){var t=st(),a=ct();n===t&&r===a||(e({width:Number(a),height:Number(t)}),n=t,r=a)}),200),window)}(t),u=function(t){var e=t.inputCb,n=t.doc,r=t.mirror,a=t.blockClass,i=t.ignoreClass,o=t.ignoreSelector,s=t.maskInputSelector,c=t.unmaskInputSelector,l=t.maskInputOptions,u=t.maskInputFn,d=t.sampling,h=t.userTriggeredOnInput;function p(t){var e=It(t),r=t.isTrusted;if(e&&"OPTION"===e.tagName&&(e=e.parentElement),e&&e.tagName&&!(Ot.indexOf(e.tagName)<0)&&!lt(e,a)){var d=e.type;if(!(e.classList.contains(i)||o&&e.matches(o))){var p=e.value,_=!1;"radio"===d||"checkbox"===d?_=e.checked:(l[e.tagName.toLowerCase()]||l[d])&&(p=C({input:e,maskInputOptions:l,maskInputSelector:s,unmaskInputSelector:c,tagName:e.tagName,type:d,value:p,maskInputFn:u})),f(e,Nt({text:p,isChecked:_,userTriggered:r},h));var m=e.name;"radio"===d&&m&&_&&n.querySelectorAll('input[type="radio"][name="'.concat(m,'"]')).forEach((function(t){t!==e&&f(t,Nt({text:t.value,isChecked:!_,userTriggered:!1},h))}))}}}function f(t,n){var a=At.get(t);if(!a||a.text!==n.text||a.isChecked!==n.isChecked){At.set(t,n);var i=r.getId(t);e(E(E({},n),{id:i}))}}var _=("last"===d.input?["change"]:["input","change"]).map((function(t){return et(t,p,n)})),m=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),g=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return m&&m.set&&_.push.apply(_,T([],R(g.map((function(t){return it(t[0],t[1],{set:function(){p({target:this})}})}))),!1)),function(){_.forEach((function(t){return t()}))}}(t),d=function(t){var e=t.mediaInteractionCb,n=t.blockClass,r=t.mirror,a=t.sampling,i=function(t){return at((function(a){var i=It(a);if(i&&!lt(i,n)){var o=i,s=o.currentTime,c=o.volume,l=o.muted;e({type:t,id:r.getId(i),currentTime:s,volume:c,muted:l})}}),a.media||500)},o=[et("play",i(0)),et("pause",i(1)),et("seeked",i(2)),et("volumechange",i(3))];return function(){o.forEach((function(t){return t()}))}}(t),h=function(t,e){var n=t.styleSheetRuleCb,r=t.mirror,a=e.win;if(!a.CSSStyleSheet||!a.CSSStyleSheet.prototype)return function(){};var i=a.CSSStyleSheet.prototype.insertRule;a.CSSStyleSheet.prototype.insertRule=function(t,e){var a=r.getId(this.ownerNode);return-1!==a&&n({id:a,adds:[{rule:t,index:e}]}),i.apply(this,arguments)};var o=a.CSSStyleSheet.prototype.deleteRule;a.CSSStyleSheet.prototype.deleteRule=function(t){var e=r.getId(this.ownerNode);return-1!==e&&n({id:e,removes:[{index:t}]}),o.apply(this,arguments)};var s={};Et?s.CSSGroupingRule=a.CSSGroupingRule:(xt&&(s.CSSMediaRule=a.CSSMediaRule),Tt&&(s.CSSConditionRule=a.CSSConditionRule),Rt&&(s.CSSSupportsRule=a.CSSSupportsRule));var c={};return Object.entries(s).forEach((function(t){var e=R(t,2),a=e[0],i=e[1];c[a]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=function(t,e){var i=r.getId(this.parentStyleSheet.ownerNode);return-1!==i&&n({id:i,adds:[{rule:t,index:T(T([],R(Ut(this)),!1),[e||0],!1)}]}),c[a].insertRule.apply(this,arguments)},i.prototype.deleteRule=function(t){var e=r.getId(this.parentStyleSheet.ownerNode);return-1!==e&&n({id:e,removes:[{index:T(T([],R(Ut(this)),!1),[t],!1)}]}),c[a].deleteRule.apply(this,arguments)}})),function(){a.CSSStyleSheet.prototype.insertRule=i,a.CSSStyleSheet.prototype.deleteRule=o,Object.entries(s).forEac
2h((function(t){var e=R(t,2),n=e[0],r=e[1];r.prototype.insertRule=c[n].insertRule,r.prototype.deleteRule=c[n].deleteRule}))}}(t,{win:a}),p=function(t,e){var n=t.styleDeclarationCb,r=t.mirror,a=e.win,i=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=function(t,e,a){var o,s,c=r.getId(null===(s=null===(o=this.parentRule)||void 0===o?void 0:o.parentStyleSheet)||void 0===s?void 0:s.ownerNode);return-1!==c&&n({id:c,set:{property:t,value:e,priority:a},index:Ut(this.parentRule)}),i.apply(this,arguments)};var o=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=function(t){var e,a,i=r.getId(null===(a=null===(e=this.parentRule)||void 0===e?void 0:e.parentStyleSheet)||void 0===a?void 0:a.ownerNode);return-1!==i&&n({id:i,remove:{property:t},index:Ut(this.parentRule)}),o.apply(this,arguments)},function(){a.CSSStyleDeclaration.prototype.setProperty=i,a.CSSStyleDeclaration.prototype.removeProperty=o}}(t,{win:a}),f=t.collectFonts?function(t){var e=t.fontCb,n=t.doc,r=n.defaultView;if(!r)return function(){};var a=[],i=new WeakMap,o=r.FontFace;r.FontFace=function(t,e,n){var r=new o(t,e,n);return i.set(r,{family:t,buffer:"string"!=typeof e,descriptors:n,fontSource:"string"==typeof e?e:JSON.stringify(Array.from(new Uint8Array(e)))}),r};var s=ot(n.fonts,"add",(function(t){return function(n){return setTimeout((function(){var t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}}));return a.push((function(){r.FontFace=o})),a.push(s),function(){a.forEach((function(t){return t()}))}}(t):function(){},_=[];try{for(var m=x(t.plugins),g=m.next();!g.done;g=m.next()){var y=g.value;_.push(y.observer(y.callback,a,y.options))}}catch(t){n={error:t}}finally{try{g&&!g.done&&(r=m.return)&&r.call(m)}finally{if(n)throw n.error}}return function(){St.forEach((function(t){return t.reset()})),i.disconnect(),o(),s(),c(),l(),u(),d();try{h(),p()}catch(t){}f(),_.forEach((function(t){return t()}))}}for(var Mt=function(){function t(t){this.iframes=new WeakMap,this.mutationCb=t.mutationCb}return t.prototype.addIframe=function(t){this.iframes.set(t,!0)},t.prototype.addLoadListener=function(t){this.loadListener=t},t.prototype.attachIframe=function(t,e){var n;this.mutationCb({adds:[{parentId:t.__sn.id,nextId:null,node:e}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,t)},t}(),Lt=function(){function t(t){this.restorePatches=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror;var e=this;this.restorePatches.push(ot(HTMLElement.prototype,"attachShadow",(function(t){return function(){var n=t.apply(this,arguments);return this.shadowRoot&&e.addShadowRoot(this.shadowRoot,this.ownerDocument),n}})))}return t.prototype.addShadowRoot=function(t,e){Ct(E(E({},this.bypassOptions),{doc:e,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t),Dt(E(E({},this.bypassOptions),{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))},t.prototype.observeAttachShadow=function(t){if(t.contentWindow){var e=this;this.restorePatches.push(ot(t.contentWindow.HTMLElement.prototype,"attachShadow",(function(n){return function(){var r=n.apply(this,arguments);return this.shadowRoot&&e.addShadowRoot(this.shadowRoot,t.contentDocument),r}})))}},t.prototype.reset=function(){this.restorePatches.forEach((function(t){return t()}))},t}(),Bt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ft="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Gt=0;Gt<Bt.length;Gt++)Ft[Bt.charCodeAt(Gt)]=Gt;var $t=new Map,Pt=function(t,e,n){if(t&&(Ht(t,e)||"object"==typeof t)){var r=function(t,e){var n=$t.get(t);return n||(n=new Map,$t.set(t,n)),n.has(e)||n.set(e,[]),n.get(e)}(n,t.constructor.name),a=r.indexOf(t);return-1===a&&(a=r.length,r.push(t)),a}};function Yt(t,e,n){if(t instanceof Array)return t.map((function(t){return Yt(t,e,n)}));if(null===t)return t;if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray)return{rr_type:t.constructor.name,args:[Object.values(t)]};if(t instanceof ArrayBuffer){var r=t.constructor.name,a=function(t){var e,n=new Uint8Array(t),r=n.length,a="";for(e=0;e<r;e+=3)a+=Bt[n[e]>>2],a+=Bt[(3&n[e])<<4|n[e+1]>>4],a+=Bt[(15&n[e+1])<<2|n[e+2]>>6],a+=Bt[63&n[e+2]];return r%3==2?a=a.substring(0,a.length-1)+"=":r%3==1&&(a=a.substring(0,a.length-2)+"=="),a}(t);return{rr_type:r,base64:a}}return t instanceof DataView?{rr_type:t.constructor.name,args:[Yt(t.buffer,e,n),t.byteOffset,t.byteLength]}:t instanceof HTMLImageElement?{rr_type:t.constructor.name,src:t.src}:t instanceof ImageData?{rr_type:t.constructor.name,args:[Yt(t.data,e,
2n),t.width,t.height]}:Ht(t,e)||"object"==typeof t?{rr_type:t.constructor.name,index:Pt(t,e,n)}:t}var jt=function(t,e,n){return T([],R(t),!1).map((function(t){return Yt(t,e,n)}))},Ht=function(t,e){var n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((function(t){return"function"==typeof e[t]}));return Boolean(n.find((function(n){return t instanceof e[n]})))};function Wt(t,e,n,r,a,i){var o,s,c=[],l=Object.getOwnPropertyNames(t),u=function(o){try{if("function"!=typeof t[o])return"continue";var s=ot(t,o,(function(s){return function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];var u=s.apply(this,c);if(Pt(u,i,t),!lt(this.canvas,r)){a.getId(this.canvas);var d=jt(T([],R(c),!1),i,t),h={type:e,property:o,args:d};n(this.canvas,h)}return u}}));c.push(s)}catch(r){var l=it(t,o,{set:function(t){n(this.canvas,{type:e,property:o,args:[t],setter:!0})}});c.push(l)}};try{for(var d=x(l),h=d.next();!h.done;h=d.next())u(h.value)}catch(t){o={error:t}}finally{try{h&&!h.done&&(s=d.return)&&s.call(d)}finally{if(o)throw o.error}}return c}var Zt,qt,Kt=function(){function t(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(t,e){!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(t)||this.pendingCanvasMutations.set(t,[]),this.pendingCanvasMutations.get(t).push(e)},this.mutationCb=t.mutationCb,this.mirror=t.mirror,!0===t.recordCanvas&&this.initCanvasMutationObserver(t.win,t.blockClass)}return t.prototype.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},t.prototype.freeze=function(){this.frozen=!0},t.prototype.unfreeze=function(){this.frozen=!1},t.prototype.lock=function(){this.locked=!0},t.prototype.unlock=function(){this.locked=!1},t.prototype.initCanvasMutationObserver=function(t,e){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var n=function(t,e){var n=[];try{var r=ot(t.HTMLCanvasElement.prototype,"getContext",(function(t){return function(n){for(var r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];return lt(this,e)||"__context"in this||(this.__context=n),t.apply(this,T([n],R(r),!1))}}));n.push(r)}catch(t){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){n.forEach((function(t){return t()}))}}(t,e),r=function(t,e,n,r){var a,i,o=[],s=Object.getOwnPropertyNames(e.CanvasRenderingContext2D.prototype),c=function(r){try{if("function"!=typeof e.CanvasRenderingContext2D.prototype[r])return"continue";var a=ot(e.CanvasRenderingContext2D.prototype,r,(function(e){return function(){for(var a=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return lt(this.canvas,n)||setTimeout((function(){var e=T([],R(i),!1);if("drawImage"===r&&e[0]&&e[0]instanceof HTMLCanvasElement){var n=e[0],o=n.getContext("2d"),s=null==o?void 0:o.getImageData(0,0,n.width,n.height),c=null==s?void 0:s.data;e[0]=JSON.stringify(c)}t(a.canvas,{type:j["2D"],property:r,args:e})}),0),e.apply(this,i)}}));o.push(a)}catch(n){var i=it(e.CanvasRenderingContext2D.prototype,r,{set:function(e){t(this.canvas,{type:j["2D"],property:r,args:[e],setter:!0})}});o.push(i)}};try{for(var l=x(s),u=l.next();!u.done;u=l.next())c(u.value)}catch(t){a={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(a)throw a.error}}return function(){o.forEach((function(t){return t()}))}}(this.processMutation.bind(this),t,e,this.mirror),a=function(t,e,n,r){var a=[];return a.push.apply(a,T([],R(Wt(e.WebGLRenderingContext.prototype,j.WebGL,t,n,r,e)),!1)),void 0!==e.WebGL2RenderingContext&&a.push.apply(a,T([],R(Wt(e.WebGL2RenderingContext.prototype,j.WebGL2,t,n,r,e)),!1)),function(){a.forEach((function(t){return t()}))}}(this.processMutation.bind(this),t,e,this.mirror);this.resetObservers=function(){n(),r(),a()}},t.prototype.startPendingCanvasMutationFlusher=function(){var t=this;requestAnimationFrame((function(){return t.flushPendingCanvasMutations()}))},t.prototype.startRAFTimestamping=function(){var t=this,e=function(n){t.rafStamps.latestId=n,requestAnimationFrame(e)};requestAnimationFrame(e)},t.prototype.flushPendingCanvasMutations=function(){var t=this;this.pendingCanvasMutations.forEach((function(e,n){var r=t.mirror.getId(n);t.flushPendingCanvasMutationFor(n,r)})),requestAnimationFrame((function(){return t.flushPendingCanvasMutations()}))},t.prototype.flushPendingCanvasMutationFor=function(t,e){if(!this.frozen&&!this.locked){var n=this.pendingCanvasMutations.get(t);if(n&&-1!==e){var r=n.map((function(t){t.type;var e=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(t);a<r.length;a++)e.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(t,r[a])&&(n[r[a]]=t[r[a]])}return n}(t,["type"]);return e})),a=n[0].type;this.mutationCb({id:e,type:a,commands:r}),this.pendingCanvasMutations.delete(t)}}},t}();function Xt(t){return E(E({},t),{timestamp:Date.now()})}var Jt={map:{},getId:function(t){return t&&t.__sn?t.__sn.id:-1},getNode:function(t){return this.map[t]||null},removeNodeFromMap:function(t){var e=this,n=t.__sn&&t.__sn.id;
2delete this.map[n],t.childNodes&&t.childNodes.forEach((function(t){return e.removeNodeFromMap(t)}))},has:function(t){return this.map.hasOwnProperty(t)},reset:function(){this.map={}}};function Vt(t){void 0===t&&(t={});var e=t.emit,n=t.checkoutEveryNms,r=t.checkoutEveryNth,a=t.blockClass,i=void 0===a?"rr-block":a,o=t.blockSelector,s=void 0===o?null:o,c=t.unblockSelector,l=void 0===c?null:c,u=t.ignoreClass,d=void 0===u?"rr-ignore":u,h=t.ignoreSelector,p=void 0===h?null:h,f=t.maskTextClass,_=void 0===f?"rr-mask":f,m=t.maskTextSelector,g=void 0===m?null:m,y=t.maskInputSelector,v=void 0===y?null:y,b=t.unmaskTextSelector,w=void 0===b?null:b,k=t.unmaskInputSelector,S=void 0===k?null:k,T=t.inlineStylesheet,I=void 0===T||T,C=t.maskAllInputs,D=t.maskInputOptions,N=t.slimDOMOptions,O=t.maskInputFn,A=t.maskTextFn,U=t.hooks,z=t.packFn,M=t.sampling,L=void 0===M?{}:M,B=t.mousemoveWait,F=t.recordCanvas,G=void 0!==F&&F,Y=t.userTriggeredOnInput,j=void 0!==Y&&Y,H=t.collectFonts,W=void 0!==H&&H,Z=t.inlineImages,q=void 0!==Z&&Z,K=t.plugins,X=t.keepIframeSrcFn,J=void 0===X?function(){return!1}:X;if(!e)throw new Error("emit function is required");void 0!==B&&void 0===L.mousemove&&(L.mousemove=B);var V,Q,nt=!0===C?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==D?D:{password:!0},rt=!0===N||"all"===N?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===N,headMetaDescKeywords:"all"===N}:N||{};void 0===V&&(V=window),"NodeList"in V&&!V.NodeList.prototype.forEach&&(V.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in V&&!V.DOMTokenList.prototype.forEach&&(V.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(t){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1});var at=0;Zt=function(t,a){var i;if(!(null===(i=St[0])||void 0===i?void 0:i.isFrozen())||t.type===$.FullSnapshot||t.type===$.IncrementalSnapshot&&t.data.source===P.Mutation||St.forEach((function(t){return t.unfreeze()})),e(function(t){var e,n;try{for(var r=x(K||[]),a=r.next();!a.done;a=r.next()){var i=a.value;i.eventProcessor&&(t=i.eventProcessor(t))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return z&&(t=z(t)),t}(t),a),t.type===$.FullSnapshot)Q=t,at=0;else if(t.type===$.IncrementalSnapshot){if(t.data.source===P.Mutation&&t.data.isAttachIframe)return;at++;var o=r&&at>=r,s=n&&t.timestamp-Q.timestamp>n;(o||s)&&qt(!0)}};var it=function(t){Zt(Xt({type:$.IncrementalSnapshot,data:E({source:P.Mutation},t)}))},ot=function(t){return Zt(Xt({type:$.IncrementalSnapshot,data:E({source:P.Scroll},t)}))},lt=function(t){return Zt(Xt({type:$.IncrementalSnapshot,data:E({source:P.CanvasMutation},t)}))},ut=new Mt({mutationCb:it}),dt=new Kt({recordCanvas:G,mutationCb:lt,win:window,blockClass:i,mirror:Jt}),ht=new Lt({mutationCb:it,scrollCb:ot,bypassOptions:{blockClass:i,blockSelector:s,unblockSelector:l,maskTextClass:_,maskTextSelector:g,unmaskTextSelector:w,maskInputSelector:v,unmaskInputSelector:S,inlineStylesheet:I,maskInputOptions:nt,maskTextFn:A,maskInputFn:O,recordCanvas:G,inlineImages:q,sampling:L,slimDOMOptions:rt,iframeManager:ut,canvasManager:dt},mirror:Jt});qt=function(t){var e,n,r,a;void 0===t&&(t=!1),Zt(Xt({type:$.Meta,data:{href:window.location.href,width:ct(),height:st()}}),t),St.forEach((function(t){return t.lock()}));var o=R(function(t,e){var n=e||{},r=n.blockClass,a=n.blockSelector,i=n.unblockSelector,o=n.maskTextClass,s=n.maskTextSelector,c=n.unmaskTextSelector,l=n.inlineStylesheet,u=n.inlineImages,d=n.recordCanvas,h=n.maskInputSelector,p=n.unmaskInputSelector,f=n.maskAllInputs,_=void 0!==f&&f,m=n.slimDOM,g=void 0!==m&&m,y=n.keepIframeSrcFn,v={};return[tt(t,{doc:t,map:v,blockClass:void 0===r?"rr-block":r,blockSelector:void 0===a?null:a,unblockSelector:void 0===i?null:i,maskTextClass:void 0===o?"rr-mask":o,maskTextSelector:void 0===s?null:s,unmaskTextSelector:void 0===c?null:c,skipChild:!1,inlineStylesheet:void 0===l||l,maskInputSelector:void 0===h?null:h,unmaskInputSelector:void 0===p?null:p,maskInputOptions:!0===_?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===_?{password:!0}:_,maskTextFn:n.maskTextFn,maskInputFn:n.maskInputFn,slimDOMOptions:!0===g||"all"===g?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===g,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
2:!1===g?{}:g,dataURLOptions:n.dataURLOptions,inlineImages:void 0!==u&&u,recordCanvas:void 0!==d&&d,preserveWhiteSpace:n.preserveWhiteSpace,onSerialize:n.onSerialize,onIframeLoad:n.onIframeLoad,iframeLoadTimeout:n.iframeLoadTimeout,keepIframeSrcFn:void 0===y?function(){return!1}:y}),v]}(document,{blockClass:i,blockSelector:s,unblockSelector:l,maskTextClass:_,maskTextSelector:g,unmaskTextSelector:w,maskInputSelector:v,unmaskInputSelector:S,inlineStylesheet:I,maskAllInputs:nt,maskTextFn:A,slimDOM:rt,recordCanvas:G,inlineImages:q,onSerialize:function(t){pt(t)&&ut.addIframe(t),ft(t)&&ht.addShadowRoot(t.shadowRoot,document)},onIframeLoad:function(t,e){ut.attachIframe(t,e),ht.observeAttachShadow(t)},keepIframeSrcFn:J}),2),c=o[0],u=o[1];if(!c)return console.warn("Failed to snapshot the document");Jt.map=u,Zt(Xt({type:$.FullSnapshot,data:{node:c,initialOffset:{left:void 0!==window.pageXOffset?window.pageXOffset:(null===document||void 0===document?void 0:document.documentElement.scrollLeft)||(null===(n=null===(e=null===document||void 0===document?void 0:document.body)||void 0===e?void 0:e.parentElement)||void 0===n?void 0:n.scrollLeft)||(null===document||void 0===document?void 0:document.body.scrollLeft)||0,top:void 0!==window.pageYOffset?window.pageYOffset:(null===document||void 0===document?void 0:document.documentElement.scrollTop)||(null===(a=null===(r=null===document||void 0===document?void 0:document.body)||void 0===r?void 0:r.parentElement)||void 0===a?void 0:a.scrollTop)||(null===document||void 0===document?void 0:document.body.scrollTop)||0}}})),St.forEach((function(t){return t.unlock()}))};try{var _t=[];_t.push(et("DOMContentLoaded",(function(){Zt(Xt({type:$.DomContentLoaded,data:{}}))})));var mt=function(t){var e;return zt({mutationCb:it,mousemoveCb:function(t,e){return Zt(Xt({type:$.IncrementalSnapshot,data:{source:e,positions:t}}))},mouseInteractionCb:function(t){return Zt(Xt({type:$.IncrementalSnapshot,data:E({source:P.MouseInteraction},t)}))},scrollCb:ot,viewportResizeCb:function(t){return Zt(Xt({type:$.IncrementalSnapshot,data:E({source:P.ViewportResize},t)}))},inputCb:function(t){return Zt(Xt({type:$.IncrementalSnapshot,data:E({source:P.Input},t)}))},mediaInteractionCb:function(t){return Zt(Xt({type:$.IncrementalSnapshot,data:E({source:P.MediaInteraction},t)}))},styleSheetRuleCb:function(t){return Zt(Xt({type:$.IncrementalSnapshot,data:E({source:P.StyleSheetRule},t)}))},styleDeclarationCb:function(t){return Zt(Xt({type:$.IncrementalSnapshot,data:E({source:P.StyleDeclaration},t)}))},canvasMutationCb:lt,fontCb:function(t){return Zt(Xt({type:$.IncrementalSnapshot,data:E({source:P.Font},t)}))},blockClass:i,ignoreClass:d,ignoreSelector:p,maskTextClass:_,maskTextSelector:g,unmaskTextSelector:w,maskInputSelector:v,unmaskInputSelector:S,maskInputOptions:nt,inlineStylesheet:I,sampling:L,recordCanvas:G,inlineImages:q,userTriggeredOnInput:j,collectFonts:W,doc:t,maskInputFn:O,maskTextFn:A,blockSelector:s,unblockSelector:l,slimDOMOptions:rt,mirror:Jt,iframeManager:ut,shadowDomManager:ht,canvasManager:dt,plugins:(null===(e=null==K?void 0:K.filter((function(t){return t.observer})))||void 0===e?void 0:e.map((function(t){return{observer:t.observer,options:t.options,callback:function(e){return Zt(Xt({type:$.Plugin,data:{plugin:t.name,payload:e}}))}}})))||[]},U)};
2ut.addLoadListener((function(t){try{_t.push(mt(t.contentDocument))}catch(t){console.warn(t)}}));var gt=function(){qt(),_t.push(mt(document))};return"interactive"===document.readyState||"complete"===document.readyState?gt():_t.push(et("load",(function(){Zt(Xt({type:$.Load,data:{}})),gt()}),window)),function(){_t.forEach((function(t){return t()}))}}catch(t){console.warn(t)}}Vt.addCustomEvent=function(t,e){if(!Zt)throw new Error("please add custom event after start recording");Zt(Xt({type:$.Custom,data:{tag:t,payload:e}}))},Vt.freezePage=function(){St.forEach((function(t){return t.freeze()}))},Vt.takeFullSnapshot=function(t){if(!qt)throw new Error("please take full snapshot after start recording");qt(t)},Vt.mirror=Jt;const Qt=["name","type","startTime","transferSize","duration"];function te(t){return function(e){return Qt.every((n=>t[n]===e[n]))}}class ee{constructor(){this.events=[]}get hasEvents(){return this.events.length>0}destroy(){this.events=[]}async addEvent(t,e){e?this.events=[t]:this.events.push(t)}finish(){return new Promise((t=>{const e=this.events;this.events=[],t(JSON.stringify(e))}))}}class ne{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((t,e)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?t():e()}),{once:!0}),this._worker.addEventListener("error",(t=>{e(t)}),{once:!0})}))),this._ensureReadyPromise}destroy(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(t,e){const n=this._getAndIncrementId();return new Promise(((r,a)=>{const i=({data:e})=>{const o=e;if(o.method===t&&o.id===n){if(this._worker.removeEventListener("message",i),!o.success)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay]",o.response),void a(new Error("Error in compression worker"));r(o.response)}};this._worker.addEventListener("message",i),this._worker.postMessage({id:n,method:t,arg:e})}))}_getAndIncrementId(){return this._id++}}class re{constructor(t){this._worker=new ne(t),this.hasEvents=!1}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}async addEvent(t,e){return this.hasEvents=!0,e&&await this._clear(),this._sendEventToWorker(t)}finish(){return this._finishRequest()}_sendEventToWorker(t){return this._worker.postMessage("addEvent",JSON.stringify(t))}async _finishRequest(){const t=await this._worker.postMessage("finish");return this.hasEvents=!1,t}_clear(){return this._worker.postMessage("clear")}}class ae{constructor(t){this._fallback=new ee,this._compression=new re(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get hasEvents(){return this._used.hasEvents}destroy(){this._fallback.destroy(),this._compression.destroy()}addEvent(t,e){return this._used.addEvent(t,e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Failed to load the compression worker, falling back to simple buffer"))}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t}=this._fallback,e=[];for(const n of t)e.push(this._compression.addEvent(n));this._used=this._compression;try{await Promise.all(e)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.warn("[Replay] Failed to add events when switching buffers.",t)}}}function ie(t,e,n=+new Date){return null===t||void 0===e||e<0||0!==e&&t+e<=n}function oe(t,e,n=+new Date){return ie(t.started,k,n)||ie(t.lastActivity,e,n)}function se(t){if("sessionStorage"in m)try{m.sessionStorage.setItem(g,JSON.stringify(t))}catch(t){}}function ce(t){return void 0!==t&&Math.random()<t}function le(t){const e=(new Date).getTime();return{id:t.id||(0,l.DM)(),started:t.started||e,lastActivity:t.lastActivity||e,segmentId:t.segmentId||0,sampled:t.sampled}}function ue({sessionSampleRate:t,errorSampleRate:e,stickySession:n=!1}){const r=function(t,e){return ce(t)?"session":!!ce(e)&&"error"}(t,e),a=le({sampled:r});return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log(`[Replay] Creating new session: ${a.id}`),n&&se(a),a}async function de(t,e,n){if(!t.eventBuffer)return null;if(t.isPaused())return null;const r=e.timestamp>9999999999?e.timestamp:1e3*e.timestamp;if(r+b<(new Date).getTime())return null;const a=t.getContext().earliestEvent;t.session&&0===t.session.segmentId&&(!a||r<a)&&(t.getContext().earliestEvent=r);try{return await t.eventBuffer.addEvent(e,n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error(e),t.stop()}}function he(t){return{timestamp:(new Date).getTime()/1e3,type:"default",...t}}function pe(t,e){"sentry.transaction"!==e.category&&("ui.click"===e.category?t.triggerUserActivity():t.checkAndHandleExpiredSession(),t.addUpdate((()=>(de(t,{type:$.Custom,timestamp:1e3*(e.timestamp||0),data:{tag:"breadcrumb",payload:e}}),"console"===e.category))))}function fe(t,e){return e.map((({type:e,start:n,end:r,name:a,data:i})=>de(t,{type:$.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:e,description:a,startTimestamp:n,endTimestamp:r,data:i}}})))}function _e(t,e){return("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||!t.getOptions()._experiments.traceInternals)&&!function(t){const e=(0,r.Gd)().getClient(),n=e&&e.getDsn();return!!n&&t.includes(n.host)}(e)}let me=null;function ge(t){const e=(0,r.Gd)().getScope();e&&e.addScopeListener((t=>e=>{if(!t.isEnabled())return;const n=function(t){const e=t.getLastBreadcrumb&&t.getLastBreadcrumb();return me!==e&&e?(me=e,e.category&&(["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui."))?null:he(e)):null}(e);
2n&&pe(t,n)})(t)),(0,d.o)("dom",(t=>e=>{if(!t.isEnabled())return;const n=function(t){let e,n;try{n=function(t){return t.event.target?t.event.target:t.event}(t),e=(0,u.Rt)(n)}catch(t){e="<unknown>"}return 0===e.length?null:he({category:`ui.${t.name}`,message:e,data:{...n?{nodeId:Vt.mirror.getId(n)}:{}}})}(e);n&&pe(t,n)})(t)),(0,d.o)("fetch",function(t){return e=>{if(!t.isEnabled())return;const n=function(t){if(!t.endTimestamp)return null;const{startTimestamp:e,endTimestamp:n,fetchData:r,response:a}=t;return{type:"resource.fetch",start:e/1e3,end:n/1e3,name:r.url,data:{method:r.method,statusCode:a.status}}}(e);null!==n&&(_e(t,n.name)||t.addUpdate((()=>(fe(t,[n]),!0))))}}(t)),(0,d.o)("xhr",function(t){return e=>{if(!t.isEnabled())return;const n=function(t){if(t.xhr.__sentry_own_request__)return null;if(t.startTimestamp&&(t.xhr.__sentry_xhr__=t.xhr.__sentry_xhr__||{},t.xhr.__sentry_xhr__.startTimestamp=t.startTimestamp),!t.endTimestamp)return null;const{method:e,url:n,status_code:r}=t.xhr.__sentry_xhr__||{};return void 0===n?null:{type:"resource.xhr",name:n,start:(t.xhr.__sentry_xhr__?t.xhr.__sentry_xhr__.startTimestamp||0:t.endTimestamp)/1e3,end:t.endTimestamp/1e3,data:{method:e,statusCode:r}}}(e);null!==n&&(_e(t,n.name)||t.addUpdate((()=>(fe(t,[n]),!0))))}}(t)),(0,d.o)("history",function(t){return e=>{if(!t.isEnabled())return;const n=function(t){const{from:e,to:n}=t,r=(new Date).getTime()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:e}}}(e);null!==n&&(t.getContext().urls.push(n.name),t.triggerUserActivity(),t.addUpdate((()=>(fe(t,[n]),!1))))}}(t)),(0,i.c)(function(t){return e=>{if(e.type===y)return delete e.breadcrumbs,e;if(function(t){return!(t.type||!t.exception||!t.exception.values||!t.exception.values.length)&&t.exception.values.some((t=>!!(t.stacktrace&&t.stacktrace.frames&&t.stacktrace.frames.length)&&t.stacktrace.frames.some((t=>t.filename&&t.filename.includes("/rrweb/src/")))))}(e)&&!t.getOptions()._experiments.captureExceptions)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Ignoring error from rrweb internals",e),null;if(e.type&&"session"!==t.recordingMode||(e.tags={...e.tags,replayId:t.getSessionId()}),"transaction"===e.type&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id)return t.getContext().traceIds.add(e.contexts.trace.trace_id),e;if(e.type||t.getContext().errorIds.add(e.event_id),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&t.getOptions()._experiments.traceInternals){const t=function(t){return{type:"Unknown",value:"n/a",...t.exception&&t.exception.values&&t.exception.values[0]}}(e);!function(t){const{category:e,level:n,message:r,...i}=t;(0,a.n_)({category:e||"console",level:n||"debug",message:`[debug]: ${r}`,...i})}({message:`Tagging event (${e.event_id}) - ${e.message} - ${t.type}: ${t.value}`})}return"error"===t.recordingMode&&e.exception&&e.message!==v&&setTimeout((async()=>{await t.flushImmediate(),t.stopRecording()&&(t.recordingMode="session",t.startRecording())})),e}}(t))}function ye(t){const{jsHeapSizeLimit:e,totalJSHeapSize:n,usedJSHeapSize:r}=t,a=(new Date).getTime()/1e3;return{type:"memory",name:"memory",start:a,end:a,data:{memory:{jsHeapSizeLimit:e,totalJSHeapSize:n,usedJSHeapSize:r}}}}const ve={resource:function(t){const{entryType:e,initiatorType:n,name:r,responseEnd:a,startTime:i,encodedBodySize:o,transferSize:s}=t;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${e}.${n}`,start:we(i),end:we(a),name:r,data:{size:s,encodedBodySize:o}}},paint:function(t){const{duration:e,entryType:n,name:r,startTime:a}=t,i=we(a);return{type:n,name:r,start:i,end:i+e}},navigation:function(t){const{entryType:e,name:n,duration:r,domComplete:a,startTime:i,transferSize:o,type:s}=t;return 0===r?null:{type:`${e}.${s}`,start:we(i),end:we(a),name:n,data:{size:o,duration:r}}},"largest-contentful-paint":function(t){const{duration:e,entryType:n,startTime:r,size:a}=t,i=we(r);return{type:n,name:n,start:i,end:i+e,data:{duration:e,size:a,nodeId:Vt.mirror.getId(t.element)}}}};function be(t){return void 0===ve[t.entryType]?null:ve[t.entryType](t)}function we(t){return((h.Z1||m.performance.timeOrigin)+t)/1e3}let ke;
2class Se extends Error{constructor(t){super(`Transport returned status code ${t}`)}}async function Ee(t,e={count:0,interval:5e3}){const{recordingData:n,options:i}=t;if(n.length)try{return await async function({recordingData:t,replayId:e,segmentId:n,includeReplayStartTimestamp:a,eventContext:i,timestamp:s,session:l,options:u}){const d=function({recordingData:t,headers:e}){let n;const r=`${JSON.stringify(e)}\n`;if("string"==typeof t)n=`${r}${t}`;else{const e=(new TextEncoder).encode(r);n=new Uint8Array(e.length+t.length),n.set(e),n.set(t,e.length)}return n}({recordingData:t,headers:{segment_id:n}}),{urls:h,errorIds:f,traceIds:_,initialTimestamp:m}=i,g=(0,r.Gd)(),b=g.getClient(),w=g.getScope(),k=b&&b.getTransport(),S=b&&b.getDsn();if(!(b&&w&&k&&S&&l.sampled))return;const E={type:y,...a?{replay_start_timestamp:m/1e3}:{},timestamp:s/1e3,error_ids:f,trace_ids:_,urls:h,replay_id:e,segment_id:n,replay_type:l.sampled},x=await async function({client:t,scope:e,replayId:n,event:r}){const a="object"!=typeof t._integrations||null===t._integrations||Array.isArray(t._integrations)?void 0:Object.keys(t._integrations),i=await(0,o.R)(t.getOptions(),r,{event_id:n,integrations:a},e);if(!i)return null;i.platform=i.platform||"javascript";const s=t.getSdkMetadata&&t.getSdkMetadata(),{name:c,version:l}=s&&s.sdk||{};return i.sdk={...i.sdk,name:c||"sentry.javascript.unknown",version:l||"0.0.0"},i}({scope:w,client:b,replayId:e,event:E});if(!x)return b.recordDroppedEvent("event_processor","replay",E),void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("An event processor returned `null`, will not send event."));x.contexts={...x.contexts,replay:{...x.contexts&&x.contexts.replay,session_sample_rate:u.sessionSampleRate,error_sample_rate:u.errorSampleRate}};const R=function(t,e,n,r){return(0,p.Jd)((0,p.Cd)(t,(0,p.HY)(t),r,n),[[{type:"replay_event"},t],[{type:"replay_recording",length:"string"==typeof e?(new TextEncoder).encode(e).length:e.length},e]])}(x,d,S,b.getOptions().tunnel);let T;try{T=await k.send(R)}catch(t){throw new Error(v)}if(!T)return T;if("number"==typeof T.statusCode&&(T.statusCode<200||T.statusCode>=300))throw new Se(T.statusCode);return T}(t),!0}catch(n){if(n instanceof Se)throw n;if((0,a.v)("Replays",{_retryCount:e.count}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i._experiments&&i._experiments.captureExceptions&&(0,a.Tb)(n),e.count>=3)throw new Error(`${v} - max retries exceeded`);return e.interval*=++e.count,await new Promise(((n,r)=>{setTimeout((async()=>{try{await Ee(t,e),n(!0)}catch(t){r(t)}}),e.interval)}))}}class xe{__init(){this.eventBuffer=null}__init2(){this.performanceEvents=[]}__init3(){this.recordingMode="session"}__init4(){this._performanceObserver=null}__init5(){this._flushLock=null}__init6(){this._lastActivity=(new Date).getTime()}__init7(){this._isEnabled=!1}__init8(){this._isPaused=!1}__init9(){this._hasInitializedCoreListeners=!1}__init10(){this._stopRecording=null}__init11(){this._context={errorIds:new Set,traceIds:new Set,urls:[],earliestEvent:null,initialTimestamp:(new Date).getTime(),initialUrl:""}}constructor({options:t,recordingOptions:e}){xe.prototype.__init.call(this),xe.prototype.__init2.call(this),xe.prototype.__init3.call(this),xe.prototype.__init4.call(this),xe.prototype.__init5.call(this),xe.prototype.__init6.call(this),xe.prototype.__init7.call(this),xe.prototype.__init8.call(this),xe.prototype.__init9.call(this),xe.prototype.__init10.call(this),xe.prototype.__init11.call(this),xe.prototype.__init12.call(this),xe.prototype.__init13.call(this),xe.prototype.__init14.call(this),xe.prototype.__init15.call(this),xe.prototype.__init16.call(this),this._recordingOptions=e,this._options=t,this._debouncedFlush=function(t,e,n){let r,a,i;const o=n&&n.maxWait?Math.max(n.maxWait,e):0;function s(){return c(),r=t(),r}function c(){void 0!==a&&clearTimeout(a),void 0!==i&&clearTimeout(i),a=i=void 0}function l(){return a&&clearTimeout(a),a=setTimeout(s,e),o&&void 0===i&&o!==e&&(i=setTimeout(s,o)),r}return l.cancel=c,l.flush=function(){return void 0!==a||void 0!==i?s():r},l}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay})}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}getOptions(){return this._options}start(){this._setInitialState(),this._loadAndCheckSession()&&(this.session?this.session.sampled&&("error"===this.session.sampled&&(this.recordingMode="error"),this._updateSessionActivity(),this.eventBuffer=function({useCompression:t}){if(t&&window.Worker)try{const t=new Blob(['/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */\nfunction t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=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]),a=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]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(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)},p=(t,e,a)=>{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;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.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[a]},A=(t,e,a)=>{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&z(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!z(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},E=(t,i,n)=>{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pen
vendor: 4,281 bytes, line 2
2ding_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f<t.sym_next);p(t,256,i)},R=(t,e)=>{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<s;r++)0!==a[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=i[2*l+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o<l&&n===r||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4))},U=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o<l&&n===r)){if(o<h)do{p(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==s&&(p(t,n,t.bl_tree),o--),p(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(p(t,17,t.bl_tree),g(t,o-3,3)):(p(t,18,t.bl_tree),g(t,o-11,7));o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4)}};let S=!1;const D=(t,e,a,i)=>{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&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<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s<i;s++)g(t,t.bl_tree[2*n[s]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),E(t,t.dyn_ltree,t.dyn_dtree)),y(t),i&&x(t)},O={_tr_init:t=>{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<<e[m];t++)l[w++]=m;for(l[w-1]=m,b=0,m=0;m<16;m++)for(d[m]=b,t=0;t<1<<a[m];t++)o[b++]=m;for(b>>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<<a[m]-7;t++)o[256+b++]=m;for(n=0;n<=15;n++)g[n]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,g[8]++;for(;t<=255;)s[2*t+1]=9,t++,g[9]++;for(;t<=279;)s[2*t+1]=7,t++,g[7]++;for(;t<=287;)s[2*t+1]=8,t++,g[8]++;for(v(s,287,g),t=0;t<30;t++)r[2*t+1]=5,r[2*t]=k(t,5);f=new _(s,e,257,286,15),c=new _(r,a,0,30,15),u=new _(new Array(0),i,0,19,7)})(),S=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,u),t.bi_buf=0,t.bi_valid=0,y(t)},_tr_stored_block:D,_tr_flush_block:T,_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>
vendor: 11,765 bytes, line 2
2{16===t.bi_valid?(b(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)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a<s;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={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"},B={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};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ERROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const ct=t=>{const e=t.state;let 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))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&s<f);if(i=258-(f-s),s=f-258,i>r){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,i=t.strstart-t.block_start,a>i+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a<s&&(0===a&&e!==X||e===P||a!==i+t.strm.avail_in))break;r=e===X&&a===i+t.strm.avail_in?1:0,H(t,0,0,r),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),r?4:e!==P&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(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-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(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=ft(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=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(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-262&&(t.match_length=gt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(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++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(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&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){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=ot,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),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(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),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=s,o.method=a,Zt(t)};var St={deflateInit:(t,e)=>Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;
vendor: 4,728 bytes, line 2
2if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&n<s);t.match_length=258-(s-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>
vendor: 10,448 bytes, line 2
20&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a<i;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,i=0,n=t.length;e<n;e++){let n=t[e];a.set(n,i),i+=n.length}return a};let Ft=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ft=!1}const Lt=new Uint8Array(256);for(let t=0;t<256;t++)Lt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n<r;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),s=0,n=0;s<o;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i<a;){let e=t[i++];if(e<128){s[n++]=e;continue}let r=Lt[e];if(r>4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i<a;)e=e<<6|63&t[i++],r--;r>1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a})(s,n)},Bt=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};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};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=u[f&m];e:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=16209;break t}k=65535&g,p&=15,p&&(c<p&&(f+=z[a++]<<c,c+=8),k+=f&(1<<p)-1,f>>>=p,c-=p),c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=w[f&b];a:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=16209;break t}if(v=65535&g,p&=15,c<p&&(f+=z[a++]<<c,c+=8,c<p&&(f+=z[a++]<<c,c+=8)),v+=f&(1<<p)-1,v>o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}else if(d<p){if(y+=l+d-p,p-=d,p<k){k-=p;do{A[n++]=_[y++]}while(--p);if(y=0,d<k){p=d,k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}}else if(y+=d-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}for(;k>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<r);k=c>>3,a-=k,c-=k<<3,f&=(1<<c)-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<r?r-n+257:257-(n-r),E.hold=f,E.bits=c};const te=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ee=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ae=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ie=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ne=(t,e,a,i,n,s,r,o)=>{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m<i;m++)E[e[a+m]]++;for(p=l,g=15;g>=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b<g&&0===E[b];b++);for(p<b&&(p=b),y=1,w=1;w<=15;w++)if(y<<=1,y-=E[w],y<0)return-1;if(y>0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m<i;m++)0!==e[a+m]&&(r[R[e[a+m]]++]=m);if(0===t?(A=D=r,u=20):1===t?(A=te,D=ee,u=257):(A=ae,D=ie,u=0),z=0,m=0,w=b,c=s,k=p,v=0,_=-1,x=1<<p,f=x-1,1===t&&x>852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1<u?(U=0,S=r[m]):r[m]>=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<<w-v,d=1<<k,b=d;do{d-=h,n[c+(z>>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<<w-1;z&h;)h>>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<<k;k+v<g&&(y-=E[k+v],!(y<=0));)k++,y<<=1;if(x+=1<<k,1===t&&x>852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>
vendor: 11,506 bytes, line 2
2{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Ue={inflateReset:ve,inflateReset2:ye,inflateResetKeep:ke,inflateInit:t=>xe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:16191,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==we){t.msg="unknown compression method",a.mode=me;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=me;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=me;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}t.adler=a.check=be(h),h=0,d=0,a.mode=16190;case 16190:if(0===a.havedict)return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,de;t.adler=a.check=1,a.mode=16191;case 16191:if(e===re||e===oe)break t;case 16192:if(a.last){h>>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}switch(a.last=1&h,h>>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,k=b,v=g;z=a.lencode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<<a.distbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(0==(240&b)){for(p=m,k=b,v=g;z=a.distcode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,r-f):F(a.check,n,f,r-f)),f=l,4&a.wrap&&(a.flags?h:be(h))!==a.check){t.msg="incorrect data check",a.mode=me;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=me;break}h=0,d=0}a.mode=16208;case 16208:x=he;break t;case me:x=fe;break t;case 16210:return ce;default:return _e}return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<me&&(a.mode<16206||e!==se))&&Ze(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,t.next_out-f):F(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(16191===a.mode?128:0)+(16199===a.mode||16194===a.mode?256:0),(0===_&&0===f||e===se)&&x===le&&(x=ue),x},inflateEnd:t=>{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;
2if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=B;const Xe=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Ge.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Ge.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Ge.Z_NO_FLUSH)}},We={clear:()=>(Xe.clear(),""),addEvent:t=>Xe.addEvent(t),finish:()=>Xe.finish()};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in We&&"function"==typeof We[e])try{const t=We[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']),e=URL.createObjectURL(t);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Using compression worker");const n=new Worker(e);return new ae(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Failed to create compression worker")}return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Using simple buffer"),new ee}({useCompression:this._options.useCompression}),this._addListeners(),this._isEnabled=!0,this.startRecording()):this._handleException(new Error("No session found")))}startRecording(){try{this._stopRecording=Vt({...this._recordingOptions,..."error"===this.recordingMode&&{checkoutEveryNms:6e4},emit:this._handleRecordingEmit})}catch(t){this._handleException(t)}}stopRecording(){try{return!!this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0,!0)}catch(t){return this._handleException(t),!1}}stop(){if(this._isEnabled)try{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Stopping Replays"),this._isEnabled=!1,this._removeListeners(),this.stopRecording(),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,this._debouncedFlush.cancel()}catch(t){this._handleException(t)}}pause(){this._isPaused=!0,this.stopRecording()}resume(){this._loadAndCheckSession()&&(this._isPaused=!1,this.startRecording())}addUpdate(t){const e=t();"error"!==this.recordingMode&&!0!==e&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._loadAndCheckSession())return;this.resume()}}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(t){const e=this.getSessionId();if(this._lastActivity&&ie(this._lastActivity,k))this.pause();else if(this._loadAndCheckSession(t))return e===this.getSessionId()||(this._triggerFullSnapshot(),!1)}_handleException(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay]",t),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&(0,a.Tb)(t)}_loadAndCheckSession(t=3e5){const{type:e,session:n}=function({expiry:t,currentSession:e,stickySession:n,sessionSampleRate:r,errorSampleRate:a}){const i=e||n&&function(){if(!("sessionStorage"in m))return null;try{const t=m.sessionStorage.getItem(g);return t?le(JSON.parse(t)):null}catch(t){return null}}();if(i){if(!oe(i,t))return{type:"saved",session:i};if("error"===i.sampled)return{type:"new",session:le({sampled:!1})};("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Session has expired")}return{type:"new",session:ue({stickySession:n,sessionSampleRate:r,errorSampleRate:a})}}({expiry:t,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:this._options.sessionSampleRate,errorSampleRate:this._options.errorSampleRate});"new"===e&&this._setInitialState();const r=this.getSessionId();return n.id!==r&&(n.previousSessionId=r),this.session=n,!!this.session.sampled||(this.stop(),!1)}_setInitialState(){const t=`${m.location.pathname}${m.location.hash}${m.location.search}`,e=`${m.location.origin}${t}`;
2this.performanceEvents=[],this._clearContext(),this._context.initialUrl=e,this._context.initialTimestamp=(new Date).getTime(),this._context.urls.push(e)}_addListeners(){try{m.document.addEventListener("visibilitychange",this._handleVisibilityChange),m.addEventListener("blur",this._handleWindowBlur),m.addEventListener("focus",this._handleWindowFocus),function(t){const e=(0,r.Gd)().getClient();if(!e)return;const n=e.recordDroppedEvent.bind(e);e.recordDroppedEvent=(e,r,a)=>(a&&!a.type&&a.event_id&&t.delete(a.event_id),n(e,r,a)),ke=n}(this._context.errorIds),this._hasInitializedCoreListeners||(ge(this),this._hasInitializedCoreListeners=!0)}catch(t){this._handleException(t)}"PerformanceObserver"in m&&(this._performanceObserver=function(t){const e=new PerformanceObserver((e=>{const n=function(t,e){const[n,r,a]=t.reduce(((t,e)=>("navigation"===e.entryType?t[0].push(e):"largest-contentful-paint"===e.entryType?t[1].push(e):t[2].push(e),t)),[[],[],[]]),i=[],o=[];let s=r.length?r[r.length-1]:void 0;return e.forEach((t=>{if("largest-contentful-paint"!==t.entryType)if("navigation"!==t.entryType)i.push(t);else{const e=t;t.duration>0&&!n.find(te(e))&&!o.find(te(e))&&o.push(e)}else(!s||s.startTime<t.startTime)&&(s=t)})),[...s?[s]:[],...n,...a,...i,...o].sort(((t,e)=>t.startTime-e.startTime))}(t.performanceEvents,e.getEntries());t.performanceEvents=n}));return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach((t=>{try{e.observe({type:t,buffered:!0})}catch(t){}})),e}(this))}_removeListeners(){try{m.document.removeEventListener("visibilitychange",this._handleVisibilityChange),m.removeEventListener("blur",this._handleWindowBlur),m.removeEventListener("focus",this._handleWindowFocus),function(){const t=(0,r.Gd)().getClient();t&&ke&&(t.recordDroppedEvent=ke)}(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=null)}catch(t){this._handleException(t)}}__init12(){this._handleRecordingEmit=(t,e)=>{this.checkAndHandleExpiredSession()?this.addUpdate((()=>("error"===this.recordingMode&&2===t.type&&this._setInitialState(),de(this,t,e),2===t.type&&(this.session&&this.session.previousSessionId||("error"===this.recordingMode&&this.session&&this._context.earliestEvent&&(this.session.started=this._context.earliestEvent,this._maybeSaveSession()),"session"===this.recordingMode&&this.flushImmediate()),!0)))):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay] Received replay event after session expired.")}}__init13(){this._handleVisibilityChange=()=>{"visible"===m.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init14(){this._handleWindowBlur=()=>{const t=he({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init15(){this._handleWindowFocus=()=>{const t=he({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}_doChangeToBackgroundTasks(t){if(!this.session)return;const e=oe(this.session,w);t&&!e&&this._createCustomBreadcrumb(t),this._conditionalFlush()}_doChangeToForegroundTasks(t){this.session&&(this.checkAndHandleExpiredSession(w)?t&&this._createCustomBreadcrumb(t):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Document has become active, but session has expired"))}_triggerFullSnapshot(){try{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.log("[Replay] Taking full rrweb snapshot"),Vt.takeFullSnapshot(!0)}catch(t){this._handleException(t)}}_updateUserActivity(t=(new Date).getTime()){this._lastActivity=t}_updateSessionActivity(t=(new Date).getTime()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate((()=>{de(this,{type:$.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})}))}_addPerformanceEntries(){const t=[...this.performanceEvents];return this.performanceEvents=[],Promise.all(fe(this,function(t){return t.map(be).filter(Boolean)}(t)))}_conditionalFlush(){"error"!==this.recordingMode&&this.flushImmediate()}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[],this._context.earliestEvent=null}_popEventContext(){this._context.earliestEvent&&this._context.earliestEvent<this._context.
2initialTimestamp&&(this._context.initialTimestamp=this._context.earliestEvent);const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds).filter(Boolean),traceIds:Array.from(this._context.traceIds).filter(Boolean),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){if(this.session&&this.eventBuffer){if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await async function(t){try{return Promise.all(fe(t,[ye(m.performance.memory)]))}catch(t){return[]}}(this),this.eventBuffer))try{const t=await this.eventBuffer.finish(),e=this.session.id,n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession(),await Ee({replayId:e,recordingData:t,segmentId:r,includeReplayStartTimestamp:0===r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:(new Date).getTime()})}catch(t){this._handleException(t),this.stop()}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay] No session or eventBuffer found to flush.")}__init16(){this._flush=async()=>{if(this._isEnabled)if(this.checkAndHandleExpiredSession())if(this.session){if(this._debouncedFlush.cancel(),!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=null);try{await this._flushLock}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error(t)}finally{this._debouncedFlush()}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay] No session found to flush.");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.kg.error("[Replay] Attempting to finish replay event after session expired.")}}_maybeSaveSession(){this.session&&this._options.stickySession&&se(this.session)}}function Re(t,e,n,r){const a=[...t,..."string"==typeof r?r.split(","):[],...e];return void 0!==n&&("string"==typeof n&&a.push(`.${n}`),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),a.join(",")}function Te({mask:t,unmask:e,block:n,unblock:r,ignore:a,blockClass:i,blockSelector:o,maskTextClass:s,maskTextSelector:c,ignoreClass:l}){const u=Re(t,[".sentry-mask","[data-sentry-mask]"],s,c),d=Re(e,[".sentry-unmask","[data-sentry-unmask]"]),h={maskTextSelector:u,unmaskTextSelector:d,maskInputSelector:u,unmaskInputSelector:d,blockSelector:Re(n,[".sentry-block","[data-sentry-block]"],i,o),unblockSelector:Re(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:Re(a,[".sentry-ignore","[data-sentry-ignore]"],l)};return i instanceof RegExp&&(h.blockClass=i),s instanceof RegExp&&(h.maskTextClass=s),h}function Ie(){return"undefined"!=typeof window&&(!(0,f.KV)()||"undefined"!=typeof process&&"renderer"===process.type)}const Ce="img,image,svg,path,rect,area,video,object,picture,embed,map,audio";let De=!1;class Ne{static __initStatic(){this.id="Replay"}__init(){this.name=Ne.id}constructor({flushMinDelay:t=5e3,flushMaxDelay:e=5e3,stickySession:n=!0,useCompression:r=!0,_experiments:a={},sessionSampleRate:i,errorSampleRate:o,maskAllText:s,maskAllInputs:c=!0,blockAllMedia:l=!0,mask:u=[],unmask:d=[],block:h=[],unblock:p=[],ignore:f=[],maskFn:_,blockClass:m,blockSelector:g,maskInputOptions:y,maskTextClass:v,maskTextSelector:b,ignoreClass:w}={}){if(Ne.prototype.__init.call(this),this._recordingOptions={maskAllInputs:c,maskInputOptions:{...y||{},password:!0},maskTextFn:_,maskInputFn:_,...Te({mask:u,unmask:d,block:h,unblock:p,ignore:f,blockClass:m,blockSelector:g,maskTextClass:v,maskTextSelector:b,ignoreClass:w}),slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0},this._initialOptions={flushMinDelay:t,flushMaxDelay:e,stickySession:n,sessionSampleRate:i,errorSampleRate:o,useCompression:r,maskAllText:"boolean"==typeof s?s:!b,blockAllMedia:l,_experiments:a},"number"==typeof i&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ${i} })`),this._initialOptions.sessionSampleRate=i),"number"==typeof o&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ${o} })`),this._initialOptions.errorSampleRate=o),this._initialOptions.maskAllText&&(this._recordingOptions.maskTextSelector="body *:not(style), body *:not(script)"),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Ce}`:Ce),this._isInitialized&&Ie())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return De}set _isInitialized(t){De=t}setupOnce(){Ie()&&(this._setup(),setTimeout((()=>this.start())))}start(){this._replay&&this._replay.start()}stop(){this._replay&&this._replay.stop()}flush(){if(this._replay&&this._replay.isEnabled())return this._replay.flushImmediate()}_setup(){const t=function(t){const e=(0,r.Gd)().getClient(),n=e&&e.getOptions(),a={sessionSampleRate:0,errorSampleRate:0,...(0,_.Jr)(t)};return n?(null==t.sessionSampleRate&&null==t.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set."),"number"==typeof n.replaysSessionSampleRate&&(a.sessionSampleRate=n.replaysSessionSampleRate),"number"==typeof n.replaysOnErrorSampleRate&&(a.errorSampleRate=n.replaysOnErrorSampleRate),a):(console.warn("SDK client is not available."),a)}(this._initialOptions);this._replay=new xe({options:t,recordingOptions:this._recordingOptions})}}Ne.__initStatic()},292:(t,e,n)=>{n.d(e,{RA:()=>i,vK:()=>s});var r=n(409);const a=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function i(t,e=!1){const{host:n,path:r,pass:a,port:i,projectId:o,protocol:s,publicKey:c}=t;return`${s}://${c}${e&&a?`:${a}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${o}
2`}function o(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function s(t){const e="string"==typeof t?function(t){const e=a.exec(t);if(!e)throw new r.b(`Invalid Sentry Dsn: ${t}`);const[n,i,s="",c,l="",u]=e.slice(1);let d="",h=u;const p=h.split("/");if(p.length>1&&(d=p.slice(0,-1).join("/"),h=p.pop()),h){const t=h.match(/^\d+/);t&&(h=t[0])}return o({host:c,pass:s,path:d,projectId:h,port:l,protocol:n,publicKey:i})}(t):o(t);return function(t){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:e,projectId:n,protocol:a}=t;if(["protocol","publicKey","host","projectId"].forEach((e=>{if(!t[e])throw new r.b(`Invalid Sentry Dsn: ${e} missing`)})),!n.match(/^\d+$/))throw new r.b(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!function(t){return"http"===t||"https"===t}(a))throw new r.b(`Invalid Sentry Dsn: Invalid protocol ${a}`);if(e&&isNaN(parseInt(e,10)))throw new r.b(`Invalid Sentry Dsn: Invalid port ${e}`)}(e),e}},8725:(t,e,n)=>{n.d(e,{BO:()=>s,Cd:()=>_,HY:()=>f,Jd:()=>o,V$:()=>u,gv:()=>c,mL:()=>p,zQ:()=>d});var r=n(292),a=n(8007),i=n(535);function o(t,e=[]){return[t,e]}function s(t,e){const[n,r]=t;return[n,[...r,e]]}function c(t,e){t[1].forEach((t=>{const n=t[0].type;e(t,n)}))}function l(t,e){return(e||new TextEncoder).encode(t)}function u(t,e){const[n,r]=t;let i=JSON.stringify(n);function o(t){"string"==typeof i?i="string"==typeof t?i+t:[l(i,e),t]:i.push("string"==typeof t?l(t,e):t)}for(const t of r){const[e,n]=t;if(o(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify((0,a.Fv)(n))}o(t)}}return"string"==typeof i?i:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(i)}function d(t,e){const n="string"==typeof t.data?l(t.data,e):t.data;return[(0,i.Jr)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}const h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay"};function p(t){return h[t]}function f(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function _(t,e,n,a){const o=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&{dsn:(0,r.RA)(a)},..."transaction"===t.type&&o&&{trace:(0,i.Jr)({...o})}}}},409:(t,e,n)=>{n.d(e,{b:()=>r});class r extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}},9732:(t,e,n)=>{n.d(e,{o:()=>d});var r=n(7597),a=n(2343),i=n(535),o=n(360),s=n(8823);const c=(0,n(1235).Rf)(),l={},u={};function d(t,e){l[t]=l[t]||[],l[t].push(e),function(t){if(!u[t])switch(u[t]=!0,t){case"console":"console"in c&&a.RU.forEach((function(t){t in c.console&&(0,i.hl)(c.console,t,(function(e){return function(...n){h("console",{args:n,level:t}),e&&e.apply(c.console,n)}}))}));break;case"dom":!function(){if(!("document"in c))return;const t=h.bind(null,"dom"),e=y(t,!0);c.document.addEventListener("click",e,!1),c.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=c[e]&&c[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,i.hl)(n,"addEventListener",(function(e){return function(n,r,a){if("click"===n||"keypress"==n)try{const r=this,i=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},o=i[n]=i[n]||{refCount:0};if(!o.handler){const r=y(t);o.handler=r,e.call(this,n,r,a)}o.refCount++}catch(t){}return e.call(this,n,r,a)}})),(0,i.hl)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this,a=n.__sentry_instrumentation_handlers__||{},i=a[e];i&&(i.refCount--,i.refCount<=0&&(t.call(this,e,i.handler,r),i.handler=void 0,delete a[e]),0===Object.keys(a).length&&delete n.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in c))return;const t=XMLHttpRequest.prototype;(0,i.hl)(t,"open",(function(t){return function(...e){const n=this,a=e[1],o=n.__sentry_xhr__={method:(0,r.HD)(e[0])?e[0].toUpperCase():e[0],url:e[1]};
2(0,r.HD)(a)&&"POST"===o.method&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const s=function(){if(4===n.readyState){try{o.status_code=n.status}catch(t){}h("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?(0,i.hl)(n,"onreadystatechange",(function(t){return function(...e){return s(),t.apply(n,e)}})):n.addEventListener("readystatechange",s),t.apply(n,e)}})),(0,i.hl)(t,"send",(function(t){return function(...e){return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),h("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":(0,s.t$)()&&(0,i.hl)(c,"fetch",(function(t){return function(...e){const n={args:e,fetchData:{method:p(e),url:f(e)},startTimestamp:Date.now()};return h("fetch",{...n}),t.apply(c,e).then((t=>(h("fetch",{...n,endTimestamp:Date.now(),response:t}),t)),(t=>{throw h("fetch",{...n,endTimestamp:Date.now(),error:t}),t}))}}));break;case"history":!function(){if(!(0,s.Bf)())return;const t=c.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=_,e=String(n);_=e,h("history",{from:t,to:e})}return t.apply(this,e)}}c.onpopstate=function(...e){const n=c.location.href,r=_;if(_=n,h("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},(0,i.hl)(c.history,"pushState",e),(0,i.hl)(c.history,"replaceState",e)}();break;case"error":v=c.onerror,c.onerror=function(t,e,n,r,a){return h("error",{column:r,error:a,line:n,msg:t,url:e}),!!v&&v.apply(this,arguments)};break;case"unhandledrejection":b=c.onunhandledrejection,c.onunhandledrejection=function(t){return h("unhandledrejection",t),!b||b.apply(this,arguments)};break;default:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("unknown instrumentation type:",t)}}(t)}function h(t,e){if(t&&l[t])for(const n of l[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,o.$P)(n)}\nError:`,e)}}function p(t=[]){return"Request"in c&&(0,r.V9)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function f(t=[]){return"string"==typeof t[0]?t[0]:"Request"in c&&(0,r.V9)(t[0],Request)?t[0].url:String(t[0])}let _,m,g;function y(t,e=!1){return n=>{if(!n||g===n)return;if(function(t){if("keypress"!==t.type)return!1;try{const e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(n))return;const r="keypress"===n.type?"input":n.type;(void 0===m||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(g,n))&&(t({event:n,name:r,global:e}),g=n),clearTimeout(m),m=c.setTimeout((()=>{m=void 0}),1e3)}}let v=null,b=null},8007:(t,e,n)=>{n.d(e,{Fv:()=>o,Qy:()=>s});var r=n(7597),a=n(535),i=n(360);function o(t,e=1/0,n=1/0){try{return c("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function s(t,e=3,n=102400){const r=o(t,e);return a=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(a))>n?s(t,e-1,n):r;var a}function c(t,e,o=1/0,s=1/0,l=function(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++)if(e[t]===n)return!0;return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}()){const[u,d]=l;if(null===e||["number","boolean","string"].includes(typeof e)&&!(0,r.i2)(e))return e;const h=function(t,e){try{return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":void 0!==n.g&&e===n.g?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":(0,r.Cy)(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?`[Function: ${(0,i.$P)(e)}]`:"symbol"==typeof e?`[${String(e)}]`:"bigint"==typeof e?`[BigInt: ${String(e)}]`:`[object ${function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e)}]`}catch(t){return`**non-serializable** (${t})`}}(t,e);if(!h.startsWith("[object "))return h;if(e.__sentry_skip_normalization__)return e;if(0===o)return h.replace("object ","");if(u(e))return"[Circular ~]";const p=e;if(p&&"function"==typeof p.toJSON)try{return c("",p.toJSON(),o-1,s,l)}catch(t){}const f=Array.isArray(e)?[]:{};let _=0;const m=(0,a.Sh)(e);for(const t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(_>=s){f[t]="[MaxProperties ~]";break}const e=m[t];f[t]=c(t,e,o-1,s,l),_++}return d(e),f}},360:(t,e,n)=>{function r(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0)=>{const r=[];for(const a of t.split("\n").slice(n)){if(a.length>1024)continue;const t=a.replace(/\(error: (.*)\)/,"$1");for(const n of e){const e=n(t);
2if(e){r.push(e);break}}}return function(t){if(!t.length)return[];let e=t;const n=e[0].function||"",r=e[e.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map((t=>({...t,filename:t.filename||e[0].filename,function:t.function||"?"}))).reverse()}(r)}}function a(t){return Array.isArray(t)?r(...t):t}n.d(e,{$P:()=>o,Sq:()=>a,pE:()=>r});const i="<anonymous>";function o(t){try{return t&&"function"==typeof t&&t.name||i}catch(t){return i}}},8823:(t,e,n)=>{n.d(e,{Ak:()=>i,Bf:()=>c,Du:()=>o,t$:()=>s});var r=n(2343);const a=(0,n(1235).Rf)();function i(){if(!("fetch"in a))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function o(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function s(){if(!i())return!1;if(o(a.fetch))return!0;let t=!1;const e=a.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");
2n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=o(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}function c(){const t=a.chrome,e=t&&t.app&&t.app.runtime,n="history"in a&&!!a.history.pushState&&!!a.history.replaceState;return!e&&n}}}]);
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.