1!function(){"use strict";var e={47:function(e,t,r){r.d(t,{U:function(){return p},Y:function(){return d}});var n=r(1999),s=r(4842),i=r(1609),o=r(9674),a=r(8903),c=r(7187),l=r(5972),u=r(9470),h=r(8839);function d(e,t,r,i){const d=i||r;!d||d[e]&&d[e]!==l.d.prototype[e]||(d[e]=function(){(0,s.p)(c.xV,["API/"+e+"/called"],void 0,u.K7.metrics,r.ee),(0,n.W)({agentIdentifier:r.agentIdentifier,drained:!!a.B?.[r.agentIdentifier],type:"data",name:"api",feature:h.Pl+e,data:{}});try{return t.apply(this,arguments)}catch(e){(0,o.R)(23,e)}})}function p(e,t,r,n,o){const a=e.info;null===r?delete a.jsAttributes[t]:a.jsAttributes[t]=r,(o||null===r)&&(0,s.p)(h.Pl+n,[(0,i.t)(),t,r],void 0,"session",e.ee)}},447:function(e,t,r){r.d(t,{U:function(){return s},f:function(){return n}});const n={MFE:"MFE",BA:"BA"};function s(e,t){if(2!==t?.harvestEndpointVersion)return{};const r=t.agentRef.runtime.appMetadata.agents[0].entityGuid;return e?{"source.id":e.id,"source.name":e.name,"source.type":e.type,"parent.id":e.parent?.id||r,"parent.type":e.parent?.type||n.BA}:{"entity.guid":r,appId:t.agentRef.info.applicationID}}},702:function(e,t,r){r.d(t,{j:function(){return o}});var n=r(7226),s=r(8740),i=r(3209);const o=new(r(9507).x)(i.w.FIRST_CONTENTFUL_PAINT);if(s.RI)if(s.sb)try{if(!s.mw){performance.getEntriesByType("paint").forEach((e=>{"first-contentful-paint"===e.name&&o.update({value:Math.floor(e.startTime)})}))}}catch(e){}else(0,n.zB)((({value:e,attribution:t})=>{if(s.mw||o.isValid)return;const r={timeToFirstByte:t.timeToFirstByte,firstByteToFCP:t.firstByteToFCP,loadState:t.loadState};o.update({value:e,attrs:r})}))},872:function(e,t,r){r.r(t),r.d(t,{Aggregate:function(){return S}});var n=r(1690),s=r(8897),i=r(7023),o=r(8740),a=r(8282),c=r(9674),l=r(1609),u=r(2024),h=r(2209);function d(e,t){const{id:r,localName:n}=e;return[n,r?"#".concat(r):"",t?">".concat(t):""].join("")}function p(e){return"tagName"===e&&(e="tag"),"className"===e&&(e="class"),"nearest".concat(e.charAt(0).toUpperCase()+e.slice(1))}class f{constructor(e,t){this.event=e,this.count=1,this.originMs=Math.floor(e.timeStamp),this.relativeMs=[0],this.selectorPath=t.path,this.rageClick=void 0,this.nearestTargetFields=t.nearestFields,this.currentUrl=(0,s.L)(""+location),this.deadClick=!1,this.errorClick=!1}aggregate(e){this.count++,this.relativeMs.push(Math.floor(e.timeStamp-this.originMs)),this.isRageClick()&&(this.rageClick=!0)}isRageClick(){const e=this.relativeMs.length;return"click"===this.event.type&&e>=i.nf&&this.relativeMs[e-1]-this.relativeMs[e-i.nf]<i.mq}}var m=r(2925),g=r(1966);class y{#e=void 0;#t="";#r=void 0;#n=void 0;#s=void 0;constructor(){(0,g.dV)().o.MO&&(this.#n=new MutationObserver(this.isLiveClick.bind(this)))}get aggregationEvent(){const e=this.#e;return this.#t="",this.#e=void 0,e}process(e,t){if(!e)return;const r=((e,t=[])=>{const r={path:void 0,nearestFields:{},hasButton:!1,hasLink:!1};if(!e)return r;if(e===window)return r.path="window",r;if(e===document)return r.path="document",r;let n="";const s=function(e){try{let t=1;const{tagName:r}=e;for(;e.previousElementSibling;)e.previousElementSibling.tagName===r&&t++,e=e.previousElementSibling;return t}catch(e){}}(e);try{for(;e?.tagName;){const s=e.tagName.toLowerCase();r.hasLink||="a"===s,r.hasButton||="button"===s||"input"===s&&"button"===e.type.toLowerCase(),t.forEach((t=>{r.nearestFields[p(t)]||=e[t]?.baseVal||e[t]})),n=d(e,n),e=e.parentNode}}catch(e){}return r.path=n?s?"".concat(n,":nth-of-type(").concat(s,")"):n:void 0,r})(i.qN.includes(e.type)?window:e.target,t),n=function(e,t){let r=e.type;"scrollend"!==e.type&&(r+="-"+t);return r}(e,r.path);if(!n||n!==this.#t){const t=this.#e;return this.#i(),this.#o(),this.#t=n,this.#e=new f(e,r),"click"===e.type&&(r.hasButton||r.hasLink)&&(this.#a(this.#e),this.#c()),t}this.#e.aggregate(e)}markAsErrorClick(){this.#e&&this.#s&&(this.#e.errorClick=!0,this.#o())}#c(){this.#s=new m.M({onEnd:()=>{this.#o()}},i.Xh)}#o(){this.#s?.clear(),this.#s=void 0}#a(e){!this.#l()&&this.#n&&(this.#n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),this.#r=new m.M({onEnd:()=>{e.deadClick=!0,this.#i()}},i.Xh))}#i(){this.#n?.disconnect(),this.#r?.clear(),this.#r=void 0}#l(){return void 0!==this.#r}isLiveClick(){this.#l()&&this.#i()}}var v=r(2293),b=r(7218),w=r(447);class S extends a.r{static featureName=i.TZ;#u;constructor(e){super(e,i.TZ),this.referrerUrl=o.RI&&document.referrer?(0,s.L)(document.referrer):void 0,this.waitForFlags(["ins"]).then((([t])=>
1{if(!t)return this.blocked=!0,void this.deregisterDrain();this.#h(),(0,u.i)("api-recordCustomEvent",((e,t,r,n)=>{if(i.kd.includes(t))return(0,c.R)(46);this.addEvent({eventType:t,timestamp:this.#d(e),...r},n)}),this.featureName,this.ee),e.init.page_action.enabled&&(0,u.i)("api-addPageAction",((e,t,r,n)=>{this.addEvent({...r,eventType:"PageAction",timestamp:this.#d(e),timeSinceLoad:e/1e3,actionName:t,referrerUrl:this.referrerUrl,...o.RI&&{browserWidth:window.document.documentElement?.clientWidth,browserHeight:window.document.documentElement?.clientHeight}},n)}),this.featureName,this.ee);let r=()=>{};o.RI&&e.init.user_actions.enabled&&(this.#u=new y,this.harvestOpts.beforeUnload=()=>r?.(this.#u.aggregationEvent),r=e=>{try{if(e?.event){const{target:t,timeStamp:r,type:n}=e.event,s={eventType:"UserAction",timestamp:this.#d(r),action:n,actionCount:e.count,actionDuration:e.relativeMs[e.relativeMs.length-1],actionMs:e.relativeMs,rageClick:e.rageClick,target:e.selectorPath,currentUrl:e.currentUrl,...(0,v.v)(window)&&{iframe:!0},...this.agentRef.init.user_actions.elementAttributes.reduce(((r,n)=>{var s;return s=n,"window"!==e.selectorPath&&"document"!==e.selectorPath&&t instanceof HTMLElement&&t?.[s]&&(r[i(n)]=String(t[n]).trim().slice(0,128)),r}),{}),...e.nearestTargetFields,...e.deadClick&&{deadClick:!0},...e.errorClick&&{errorClick:!0}};function i(e){return"tagName"===e&&(e="tag"),"className"===e&&(e="class"),"target".concat(e.charAt(0).toUpperCase()+e.slice(1))}this.addEvent(s),this.#p(s)}}catch(o){}}
1,(0,u.i)("ua",(e=>{r(this.#u.process(e,this.agentRef.init.user_actions.elementAttributes))}),this.featureName,this.ee),(0,u.i)("navChange",(()=>{this.#u.isLiveClick()}),this.featureName,this.ee),(0,u.i)("uaXhr",(()=>{this.#u.isLiveClick()}),this.featureName,this.ee),(0,u.i)("uaErr",(()=>this.#u.markAsErrorClick()),this.featureName,this.ee));const a=[...e.init.performance.capture_marks?["mark"]:[],...e.init.performance.capture_measures?["measure"]:[]];if(a.length)try{a.forEach((t=>{if(PerformanceObserver.supportedEntryTypes.includes(t)){new PerformanceObserver((r=>{r.getEntries().forEach((r=>{try{this.reportSupportabilityMetric("Generic/Performance/"+t+"/Seen");const n=e.init.performance.capture_detail?s(r.detail):{};function s(e){return null==e?{}:(0,b.a)(e)?function e(t,r="entryDetail"){let n={};return null==t||Object.keys(t).forEach((s=>{let i=r+"."+s;(0,b.a)(t[s])?Object.assign(n,e(t[s],i)):null!==t[s]&&void 0!==t[s]&&(n[i]=t[s])})),n}(e):{entryDetail:e}}this.addEvent({...n,eventType:"BrowserPerformance",timestamp:this.#d(r.startTime),entryName:r.name,entryDuration:r.duration,entryType:t})}catch(i){}}))})).observe({buffered:!0,type:t})}}))}catch(e){}o.RI&&e.init.performance.resources.enabled&&(0,u.i)("browserPerformance.resource",(t=>{try{const{name:r,duration:n,...i}=t.toJSON();let a=!1;try{const t=new URL(r).hostname,n=t.includes("newrelic.com")||t.includes("nr-data.net")||t.includes("nr-local.net");if(this.agentRef.init.performance.resources.ignore_newrelic&&n)return;if(this.agentRef.init.performance.resources.asset_types.length&&!this.agentRef.init.performance.resources.asset_types.includes(i.initiatorType))return;a=t===o.gm?.location.hostname||e.init.performance.resources.first_party_domains.includes(t),a&&this.reportSupportabilityMetric("Generic/Performance/FirstPartyResource/Seen"),n&&this.reportSupportabilityMetric("Generic/Performance/NrResource/Seen")}catch(e){}this.reportSupportabilityMetric("Generic/Performance/Resource/Seen");const c={...i,eventType:"BrowserPerformance",timestamp:this.#d(i.startTime),entryName:(0,s.L)(r),entryDuration:n,firstParty:a};this.addEvent(c)}catch(e){this.ee.emit("internal-error",[e,"GenericEvents-Resource"])}}),this.featureName,this.ee),(0,u.i)("api-measure",((e,t,r)=>{const{start:n,duration:s,customAttributes:i}=e,o={...i,eventType:"BrowserPerformance",timestamp:this.#d(n),entryName:t,entryDuration:s,entryType:"measure"};this.addEvent(o,r)}),this.featureName,this.ee),e.init.feature_flags.includes("websockets")&&(0,u.i)("ws-complete",(e=>{const t={...e,eventType:"WebSocket",timestamp:this.#d(e.timestamp),openedAt:this.#d(e.openedAt),closedAt:this.#d(e.closedAt)};this.reportSupportabilityMetric("WebSocket/Completed/Seen"),this.reportSupportabilityMetric("WebSocket/Completed/Bytes",(0,n.A)(t).length),this.addEvent(t)}),this.featureName,this.ee),this.drain()}))}addEvent(e={},t){if(!e||!Object.keys(e).length)return;if(!e.eventType)return void(0,c.R)(44);for(let t in e){let r=e[t];e[t]=r&&"object"==typeof r?(0,n.A)(r):r}const r={timestamp:this.#d((0,l.t)()),pageUrl:(0,s.L)(""+o.m),currentUrl:(0,s.L)(""+location),...(0,w.U)(t,this)},i={...this.agentRef.info.jsAttributes||{},...r,...e};this.events.add(i)}serializer(e){return(0,h.G)({ins:e},this.obfuscator.obfuscateString.bind(this.obfuscator),"string")}queryStringsBuilder(){return{ua:this.agentRef.info.userAttributes,at:this.agentRef.info.atts}}#d(e){return Math.floor(this.agentRef.runtime.timeKeeper.correctRelativeTimestamp(e))}#h(){const e="Config/Performance/";this.agentRef.init.performance.capture_marks&&this.reportSupportabilityMetric(e+"CaptureMarks/Enabled"),this.agentRef.init.performance.capture_measures&&this.reportSupportabilityMetric(e+"CaptureMeasures/Enabled"),this.agentRef.init.performance.resources.enabled&&this.reportSupportabilityMetric(e+"Resources/Enabled"),0!==this.agentRef.init.performance.resources.asset_types?.length&&this.reportSupportabilityMetric(e+"Resources/AssetTypes/Changed"),0!==this.agentRef.init.performance.resources.first_party_domains?.length&&this.reportSupportabilityMetric(e+"Resources/FirstPartyDomains/Changed"),!1===this.agentRef.init.performance.resources.ignore_newrelic&&this.reportSupportabilityMetric(e+"Resources/IgnoreNewrelic/Changed")}#p(e){e.rageClick&&this.reportSupportabilityMetric("UserAction/RageClick/Seen"),e.deadClick&&this.reportSupportabilityMetric("UserAction/DeadClick/Seen"),e.errorClick&&this.reportSupportabilityMetric("UserAction/ErrorClick/Seen")}}},1059:function(e,t,r){r.d(t,{A$:function(){return i},ET:function(){return o},p_:function(){return s}});var n=r(9470);
1const s={ERROR:"ERROR",WARN:"WARN",INFO:"INFO",DEBUG:"DEBUG",TRACE:"TRACE"},i={OFF:0,ERROR:1,WARN:2,INFO:3,DEBUG:4,TRACE:5},o="log";n.K7.logging},1076:function(e,t,r){r.r(t),r.d(t,{Aggregate:function(){return S}});var n=r(2024),s=r(5590),i=r(8282);let o;const a=new Promise((e=>{o=e})),c=Object.freeze({onReplayReady:o,sessionReplayInitialized:a});var l=r(6600),u=r(9674),h=r(8740),d=r(5928),p=r(9324),f=r(1690),m=r(1577),g=r(1609),y=r(7517),v=r(8897),b=r(7305),w=r(8839);class S extends i.r{static featureName=s.TZ;mode=p.g.OFF;constructor(e,t){super(e,s.TZ),this.initialized=!1,this.blocked=!1,this.gzipper=void 0,this.u8=void 0,this.shouldCompress=!0,this.entitled=!1,this.timeKeeper=void 0,this.instrumentClass=t,this.recorder=this.instrumentClass?.recorder,this.harvestOpts.raw=!0,this.isSessionTrackingEnabled=(0,b.V)(e.init)&&!!e.runtime.session,this.reportSupportabilityMetric("Config/SessionReplay/Enabled"),this.ee.on(p.tS.RESET,(()=>{this.abort(s.bc.RESET)})),this.ee.on(p.tS.PAUSE,(()=>{this.recorder?.stopRecording()})),this.ee.on(p.tS.RESUME,(()=>{this.recorder&&(this.mode=e.runtime.session.state.sessionReplayMode,this.initialized&&this.mode!==p.g.OFF&&this.recorder?.startRecording(s.Qb.RESUME,this.mode))})),this.ee.on(p.tS.UPDATE,((e,t)=>{this.recorder&&this.initialized&&!this.blocked&&e===p.iL.CROSS_TAB&&(this.mode!==p.g.OFF&&t.sessionReplayMode===p.g.OFF&&this.abort(s.bc.CROSS_TAB),this.mode=t.sessionReplayMode)})),(0,n.i)(w.Tb,(()=>{this.forceStop(this.mode===p.g.FULL)}),this.featureName,this.ee),(0,n.i)(s.Vh,(e=>{this.handleError(e)}),this.featureName,this.ee);const{error_sampling_rate:r,sampling_rate:i,autoStart:o,block_selector:a,mask_text_selector:l,mask_all_inputs:u,inline_images:h,collect_fonts:d}=e.init.session_replay;this.waitForFlags(["srs","sr"]).then((([e,t])=>{if(this.entitled=!!t,!this.entitled)return this.deregisterDrain(),void(this.agentRef.runtime.isRecording&&(this.abort(s.bc.ENTITLEMENTS),this.reportSupportabilityMetric("SessionReplay/EnabledNotEntitled/Detected")));this.initializeRecording(e).then((()=>{this.drain()}))})).then((()=>
1{if(this.mode===p.g.OFF)for(this.recorder?.stopRecording();this.recorder?.getEvents().events.length;)this.recorder?.clearBuffer?.();c.onReplayReady(this.mode)})),o||this.reportSupportabilityMetric("Config/SessionReplay/AutoStart/Modified"),!0===d&&this.reportSupportabilityMetric("Config/SessionReplay/CollectFonts/Modified"),!0===h&&this.reportSupportabilityMetric("Config/SessionReplay/InlineImages/Modifed"),!0!==u&&this.reportSupportabilityMetric("Config/SessionReplay/MaskAllInputs/Modified"),"[data-nr-block]"!==a&&this.reportSupportabilityMetric("Config/SessionReplay/BlockSelector/Modified"),"*"!==l&&this.reportSupportabilityMetric("Config/SessionReplay/MaskTextSelector/Modified"),this.reportSupportabilityMetric("Config/SessionReplay/SamplingRate/Value",i),this.reportSupportabilityMetric("Config/SessionReplay/ErrorSamplingRate/Value",r)}replayIsActive(){return Boolean(this.recorder&&this.mode===p.g.FULL&&!this.blocked&&this.entitled)}handleError(e){this.recorder&&(this.recorder.events.hasError=!0),this.mode===p.g.ERROR&&"visible"===h.gm?.document.visibilityState&&this.switchToFull()}switchToFull(){this.entitled&&!this.blocked&&(this.mode=p.g.FULL,this.recorder&&this.initialized?(this.agentRef.runtime.isRecording||this.recorder.startRecording(s.Qb.SWITCH_TO_FULL,this.mode),this.syncWithSessionManager({sessionReplayMode:this.mode})):this.initializeRecording(p.g.FULL,!0,s.Qb.SWITCH_TO_FULL))}async initializeRecording(e,t,r=s.Qb.INITIALIZE){if(this.initialized=!0,!this.entitled)return;const{session:n,timeKeeper:i}=this.agentRef.runtime;if(this.timeKeeper=i,this.recorder?.trigger===s.Qb.API&&this.agentRef.runtime.isRecording?this.mode=p.g.FULL:n.isNew||t?this.mode=e:this.mode=n.state.sessionReplayMode,this.mode!==p.g.OFF){try{this.recorder??=await this.instrumentClass.importRecorder()}catch(e){return this.abort(s.bc.IMPORT,e)}this.mode===p.g.ERROR&&this.instrumentClass.errorNoticed&&(this.mode=p.g.FULL),await this.prepUtils(),this.agentRef.runtime.isRecording||this.recorder.startRecording(r,this.mode),this.syncWithSessionManager({sessionReplayMode:this.mode})}}async prepUtils(){try{const{gzipSync:e,strToU8:t}=await Promise.resolve().then(r.bind(r,9861));this.gzipper=e,this.u8=t}catch(e){this.shouldCompress=!1}}makeHarvestPayload(){if(this.mode!==p.g.FULL||this.blocked)return;if(this.shouldCompress&&!this.gzipper)return;if(!(this.recorder&&this.timeKeeper?.ready&&this.recorder.hasSeenSnapshot&&this.recorder.hasSeenMeta))return;const e=this.recorder.getEvents();if(!e.events.length)return;const t=this.getHarvestContents(e);if(!t.body.length)return void this.recorder.clearBuffer();this.reportSupportabilityMetric("SessionReplay/Harvest/Attempts");let r=0;if(this.gzipper&&this.u8)t.body=this.gzipper(this.u8("[".concat(t.body.map((({__serialized:e})=>e)).join(","),"]"))),r=t.body.length;else{for(let e in t.body)delete t.body[e].__serialized;r=(0,f.A)(t.body).length}if(!(r>y.It))return this.agentRef.runtime.session.state.sessionReplaySentFirstChunk||this.syncWithSessionManager({sessionReplaySentFirstChunk:!0}),this.recorder.clearBuffer(),this.agentRef.runtime.session.state.traceHarvestStarted||(0,u.R)(59,JSON.stringify(this.agentRef.runtime.session.state)),t;this.abort(s.bc.TOO_BIG,r)}getFirstAndLastNodes(e=[]){const t={firstEvent:e[0],lastEvent:e[e.length-1]};return e.forEach((e=>{const r=e?.timestamp;(!t.firstEvent?.timestamp||(r||1/0)<t.firstEvent.timestamp)&&(t.firstEvent=e),(!t.lastEvent?.timestamp||(r||-1/0)>t.lastEvent.timestamp)&&(t.lastEvent=e)})),t}getHarvestContents(e){e??=this.recorder.getEvents();let t=e.events;const r=this.agentRef.runtime,n=this.agentRef.info.jsAttributes?.["enduser.id"];t?.[0]?.type===s._s.FullSnapshot&&this.recorder.lastMeta&&(e.hasMeta=!0,t.unshift(this.recorder.lastMeta),this.recorder.lastMeta=void 0);t[t.length-1]?.type===s._s.Meta&&(this.recorder.lastMeta=t[t.length-1],t=t.slice(0,t.length-1),e.hasMeta=!!t.find((e=>e.type===s._s.Meta)));const i=(0,g.t)(),{firstEvent:o,lastEvent:a}=this.getFirstAndLastNodes(t),c=o?.timestamp||Math.floor(this.timeKeeper.correctAbsoluteTimestamp(e.cycleTimestamp)),u=a?.timestamp||Math.floor(this.timeKeeper.correctRelativeTimestamp(i)),h=r.appMetadata?.agents?.[0]||{};return{qs:{browser_monitoring_key:this.agentRef.info.licenseKey,type:"SessionReplay",app_id:this.agentRef.info.applicationID,protocol_version:"0",timestamp:c,attributes:(0,l.WL)({...!!this.gzipper&&!!this.u8&&{content_encoding:"gzip"},...h.entityGuid&&{entityGuid:h.entityGuid},harvestId:[r.session?.state.value,r.ptid,r.harvestCount].filter((e=>e)).join("_"),"replay.firstTimestamp":c,"replay.lastTimestamp":u,"replay.nodes":t.length,"session.durationMs":r.session.getDuration(),agentVersion:r.version,session:r.session.state.value,rst:i,hasMeta:e.hasMeta||!1,hasSnapshot:e.hasSnapshot||!1,hasError:e.hasError||!1,isFirstChunk:!1===r.session.state.sessionReplaySentFirstChunk,decompressedBytes:e.payloadBytesEstimation,invalidStylesheetsDetected:m.m.invali
1dStylesheetsDetected,inlinedAllStylesheets:e.inlinedAllStylesheets,"rrweb.version":d.AJ+"@"+d.Yq,"payload.type":e.type,...n&&{"enduser.id":this.obfuscator.obfuscateString(n)},currentUrl:this.obfuscator.obfuscateString((0,v.L)(""+location))},s.BB).substring(1)},body:t}}postHarvestCleanup(e){429===e.status&&this.abort(s.bc.TOO_MANY)}forceStop(e){e&&this.agentRef.runtime.harvester.triggerHarvestFor(this),this.mode=p.g.OFF,this.recorder?.stopRecording?.(),this.syncWithSessionManager({sessionReplayMode:this.mode})}abort(e={},t){for((0,u.R)(33,e.message),this.reportSupportabilityMetric("SessionReplay/Abort/".concat(e.sm),t),this.blocked=!0,this.mode=p.g.OFF,this.recorder?.stopRecording?.(),this.syncWithSessionManager({sessionReplayMode:this.mode}),this.recorder?.clearTimestamps?.();this.recorder?.getEvents().events.length;)this.recorder?.clearBuffer?.()}syncWithSessionManager(e={}){this.isSessionTrackingEnabled&&this.agentRef.runtime.session.write(e)}}},1172:function(e,t,r){r.d(t,{T:function(){return n}});const n=r(9470).K7.pageViewTiming},1291:function(e,t,r){r.d(t,{J:function(){return i}});var n=r(8740),s=r(3209);const i=new(r(9507).x)(s.w.FIRST_PAINT);if(n.RI){const e=e=>{e.forEach((e=>{"first-paint"!==e.name||i.isValid||(t.disconnect(),i.update({value:e.startTime}))}))};let t;try{PerformanceObserver.supportedEntryTypes.includes("paint")&&!n.mw&&(t=new PerformanceObserver((t=>{Promise.resolve().then((()=>{e(t.getEntries())}))})),t.observe({type:"paint",buffered:!0}))}catch(e){}}},1375:function(e,t,r){r.d(t,{D:function(){return s}});var n=r(8740);function s(e){if(0===(e||"").indexOf("data:"))return{protocol:"data"};try{const t=new URL(e,location.href),r={port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(":")),sameOrigin:t.protocol===n.gm?.location?.protocol&&t.host===n.gm?.location?.host};return r.port&&""!==r.port||("http:"===t.protocol&&(r.port="80"),"https:"===t.protocol&&(r.port="443")),r.pathname&&""!==r.pathname?r.pathname.startsWith("/")||(r.pathname="/".concat(r.pathname)):r.pathname="/",r}catch(e){return{}}}},1577:function(e,t,r){r.d(t,{m:function(){return i}});var n=r(1966),s=r(8740);const i=new class{#f=new WeakSet;#m=[];invalidStylesheetsDetected=!1;failedToFix=0;evaluate(){let e=0;if(this.#m=[],s.RI)for(let t=0;t<Object.keys(document.styleSheets).length;t++)if(!this.#f.has(document.styleSheets[t])&&document.styleSheets[t]instanceof CSSStyleSheet){this.#f.add(document.styleSheets[t]);try{document.styleSheets[t].cssRules}catch(r){if(!document.styleSheets[t].href)return;e++,this.#m.push(document.styleSheets[t])}}return e&&(this.invalidStylesheetsDetected=!0),e}async fix(){await Promise.all(this.#m.map((e=>this.#g(e)))),this.#m=[];const e=this.failedToFix;return this.failedToFix=0,e}async#g(e){if(e?.href)try{const t=await(0,n.dV)().o.FETCH.bind(window)(e.href);if(!t.ok)return void this.failedToFix++;const r=await t.text();try{const t=new CSSStyleSheet;await t.replace(r),Object.defineProperty(e,"cssRules",{get(){return t.cssRules}}),Object.defineProperty(e,"rules",{get(){return t.rules}})}catch(t){Object.defineProperty(e,"cssText",{get(){return r}}),this.failedToFix++}}catch(e){this.failedToFix++}}}},1609:function(e,t,r){function n(){return Math.floor(performance.now())}r.d(t,{t:function(){return n}})},1690:function(e,t,r){r.d(t,{A:function(){return i}});var n=r(8126);const s=()=>{const e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return r}};function i(e){try{return JSON.stringify(e,s())??""}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}return""}}},1736:function(e,t,r){r.d(t,{Aw:function(){return o},SR:function(){return i},rF:function(){return a}});var n=r(1966),s=r(7305);function i(e){return!!(0,n.dV)().o.MO&&(0,s.V)(e)&&!0===e?.session_trace.enabled}function o(e){return!0===e?.session_replay.preload&&i(e)}function a(e,t){try{if("string"==typeof t?.type){if("password"===t.type.toLowerCase())return"*".repeat(e?.length||0);if(void 0!==t?.dataset?.nrUnmask||t?.classList?.contains("nr-unmask"))return e}}catch(e){}return"string"==typeof e?e.replace(/[\S]/g,"*"):"*".repeat(e?.length||0)}},1752:function(e,t,r){r.d(t,{y:function(){return n}});
1class n{constructor(e){this.contextId=e}}},1914:function(e,t,r){r.d(t,{T:function(){return n}});const n=r(9470).K7.ajax},1966:function(e,t,r){r.d(t,{NT:function(){return a},US:function(){return h},Zm:function(){return c},bQ:function(){return u},dV:function(){return l},pV:function(){return d}});var n=r(8740),s=r(1609),i=r(9674),o=r(3720);const a={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};function c(){return n.gm.NREUM||(n.gm.NREUM={}),void 0===n.gm.newrelic&&(n.gm.newrelic=n.gm.NREUM),n.gm.NREUM}function l(){let e=c();return e.o||(e.o={ST:n.gm.setTimeout,SI:n.gm.setImmediate||n.gm.setInterval,CT:n.gm.clearTimeout,XHR:n.gm.XMLHttpRequest,REQ:n.gm.Request,EV:n.gm.Event,PR:n.gm.Promise,MO:n.gm.MutationObserver,FETCH:n.gm.fetch,WS:n.gm.WebSocket},(0,o.i)(...Object.values(e.o))),e}function u(e,t){let r=c();r.initializedAgents??={},t.initializedAt={ms:(0,s.t)(),date:new Date},r.initializedAgents[e]=t,2===Object.keys(r.initializedAgents).length&&(0,i.R)(69)}function h(e,t){c()[e]=t}function d(){return function(){let e=c();const t=e.info||{};e.info={beacon:a.beacon,errorBeacon:a.errorBeacon,...t}}(),function(){let e=c();const t=e.init||{};e.init={...t}}(),l(),function(){let e=c();const t=e.loader_config||{};e.loader_config={...t}}(),c()}},1999:function(e,t,r){r.d(t,{W:function(){return i}});var n=r(8740);const s="newrelic";function i(e={}){try{n.gm.dispatchEvent(new CustomEvent(s,{detail:e}))}catch(e){}}},2024:function(e,t,r){r.d(t,{i:function(){return i}});var n=r(4842);i.on=o;var s=i.handlers={};function i(e,t,r,i){o(i||n.d,s,e,t,r)}function o(e,t,r,s,i){i||(i="feature"),e||(e=n.d);var o=t[i]=t[i]||{};(o[r]=o[r]||[]).push([e,s])}},2209:function(e,t,r){function n(e,t,r="string",s=[]){return e&&"object"==typeof e?(Object.keys(e).forEach((i=>{"object"==typeof e[i]?n(e[i],t,r,s):typeof e[i]!==r||s.includes(i)||(e[i]=t(e[i]))})),e):e}r.d(t,{G:function(){return n}})},2293:function(e,t,r){function n(e){return!!e&&e.self!==e.top}r.d(t,{v:function(){return n}})},2449:function(e,t,r){r.d(t,{G:function(){return i},u:function(){return s}});var n=r(7508);function s(e,t=!1,r,s){(0,n.DD)("visibilitychange",(function(){if(t)return void("hidden"===document.visibilityState&&e());e(document.visibilityState)}),r,s)}function i(e,t,r){(0,n.sp)("pagehide",e,t,r)}},2752:function(e,t,r){r.d(t,{He:function(){return s},Kp:function(){return a},Lc:function(){return l},Rz:function(){return u},TZ:function(){return n},bD:function(){return i},d3:function(){return o},jx:function(){return h},sl:function(){return d},uP:function(){return c}});const n=r(9470).K7.sessionTrace,s="bstResource",i="resource",o="-start",a="-end",c="fn"+o,l="fn"+a,u="pushState",h=1e3,d=3e4},2919:function(e,t,r){r.d(t,{GG:function(){return o},Qr:function(){return c},sB:function(){return a}});var n=r(7508),s=r(5239);function i(){return"undefined"==typeof document||"complete"===document.readyState}function o(e,t){if(i())return e();const r=(0,s.J)(e),o=setInterval((()=>{i()&&(clearInterval(o),r())}),500);(0,n.sp)("load",r,t)}function a(e){if(i())return e();(0,n.DD)("DOMContentLoaded",e)}function c(e){if(i())return e();(0,n.sp)("popstate",e)}},2925:function(e,t,r){r.d(t,{M:function(){return n}});class n{constructor(e,t){if(!e.onEnd)throw new Error("onEnd handler is required");if(!t)throw new Error("ms duration is required");this.onEnd=e.onEnd,this.initialMs=t,this.startTimestamp=Date.now(),this.timer=this.create(this.onEnd,t)}create(e,t){return this.timer&&this.clear(),setTimeout((()=>e?e():this.onEnd()),t||this.initialMs)}clear(){clearTimeout(this.timer),this.timer=null}end(){this.clear(),this.onEnd()}isValid(){return this.initialMs-(Date.now()-this.startTimestamp)>0}}},3200:function(e,t,r){r.r(t),r.d(t,{Aggregate:function(){return y}});var n=r(2024),s=r(1690),i=r(4842),o=r(4897),a=r(1914),c=r(9470),l=r(8282),u=r(7218);function h({body:e,query:t}={}){if(e||t)try{const r=function(e){if(!e)return;Array.isArray(e)||(e=[e]);const t=[],r=[];for(let n of e){const e=d(n);e&&(t.push(e.operationName),r.push(e.operationType))}if(!r.length)return;return{operationName:t.join(","),operationType:r.join(","),operationFramework:"GraphQL"}}(p(e));if(r)return r;const n=d(function(e){if(!e||"string"!=typeof e)return;const t=new URLSearchParams(e);return p(Object.fromEntries(t))}(t));if(n)return n}catch(e){}}function d(e){if("object"!=typeof e||!e.query||"string"!=typeof e.query)return;const t=e.query.trim().match(/^(query|mutation|subscription)\s?(\w*)/),r=t?.[1];if(!r)return;return{operationName:e.operationName||t?.[2]||"Anonymous",operationType:r,operationFramework:"GraphQL"}}function p(e){let t;if(!e||"string"!=typeof e&&"object"!=typeof e)return;if(t="string"==typeof e?JSON.parse(e):e,!(0,u.a)(t)&&!Array.isArray(t))return;let r=!1;return r=Array.isArray(t)?t.some((e=>f(e))):f(t),r?t:void 0}function f(e){return!("object"!=typeof e||!e.query||"string"!=typeof e.query)}var m=r(8861),g=r(1966);class y extends l.r{static featureName=a.T;constructor(e){super(e,a.T),(0,o.Xv)(e.runtime.denyList);const t=this;e.init.ajax.block_internal?super.customAttributesAreSeparate=!0:super.canHarvestEarly=!1,(0,n.i)("returnAjax",(e=>this.events.add(e)),this.featureName,this.ee),(0,n.i)("xhr",(function(){t.storeXhr(...arguments,this)}),this.featureName,this.ee),this.ee.on("long-task",((e,t)=>
1{if(t instanceof(0,g.dV)().o.XHR){this.ee.context(t).latestLongtaskEnd=e.end}})),this.waitForFlags([]).then((()=>this.drain()))}storeXhr(e,t,r,n,a,l){let u;t.time=r,u=e.cat?(0,s.A)([e.status,e.cat]):(0,s.A)([e.status,e.host,e.pathname]);const d=(0,o.gX)(e),p=this.agentRef.init.feature_flags?.includes("ajax_metrics_deny_list");if(!Boolean(this.agentRef.features?.[c.K7.jserrors])||!d&&p||this.agentRef.sharedAggregator?.add(["xhr",u,e,t]),!d)return void(e.hostname===this.agentRef.info.errorBeacon||this.agentRef.init.proxy?.beacon&&e.hostname===this.agentRef.init.proxy.beacon?(this.reportSupportabilityMetric("Ajax/Events/Excluded/Agent"),p&&this.reportSupportabilityMetric("Ajax/Metrics/Excluded/Agent")):(this.reportSupportabilityMetric("Ajax/Events/Excluded/App"),p&&this.reportSupportabilityMetric("Ajax/Metrics/Excluded/App")));(0,i.p)("bstXhrAgg",["xhr",u,e,t],void 0,c.K7.sessionTrace,this.ee);const f={method:e.method,status:e.status,domain:e.host,path:e.pathname,requestSize:t.txSize,responseSize:t.rxSize,type:a,startTime:r,endTime:n,callbackDuration:t.cbTime};l.dt&&(f.spanId=l.dt.spanId,f.traceId=l.dt.traceId,f.spanTimestamp=Math.floor(this.agentRef.runtime.timeKeeper.correctAbsoluteTimestamp(l.dt.timestamp))),f.gql=e.gql=h({body:l.body,query:l.parsedOrigin?.search}),f.gql&&this.reportSupportabilityMetric("Ajax/Events/GraphQL/Bytes-Added",(0,s.A)(f.gql).length);Boolean(this.agentRef.features?.[c.K7.softNav])?(0,i.p)("ajax",[f,l],void 0,c.K7.softNav,this.ee):this.events.add(f)}serializer(e){if(!e.length)return;const t=(0,m.uJ)(this.agentRef.runtime.obfuscator);let r="bel.7;",n=0;for(let s=0;s<e.length;s++){const i=e[s],o=i.startTime-n;0===s&&(n=i.startTime);const a=[(0,m.sH)(o),(0,m.sH)(i.endTime-i.startTime),(0,m.sH)(0),(0,m.sH)(0),t(i.method),(0,m.sH)(i.status),t(i.domain),t(i.path),(0,m.sH)(i.requestSize),(0,m.sH)(i.responseSize),"fetch"===i.type?1:"",t(0),(0,m.me)(i.spanId,t,!0)+(0,m.me)(i.traceId,t,!0)+(0,m.me)(i.spanTimestamp,m.sH,!1)];let c="2,";const l=this.agentRef.info.jsAttributes,u=(0,m.AQ)({...l||{},...i.gql||{}},t);a.unshift((0,m.sH)(u.length)),c+=a.join(","),u&&u.length>0&&(c+=";"+u.join(";")),s+1<e.length&&(c+=";"),r+=c}return r}}},3209:function(e,t,r){r.d(t,{w:function(){return n}});const n={FIRST_PAINT:"fp",FIRST_CONTENTFUL_PAINT:"fcp",FIRST_INTERACTION:"fi",LARGEST_CONTENTFUL_PAINT:"lcp",LOAD_TIME:"load",CUMULATIVE_LAYOUT_SHIFT:"cls",INTERACTION_TO_NEXT_PAINT:"inp",TIME_TO_FIRST_BYTE:"ttfb"}},3720:function(e,t,r){r.d(t,{i:function(){return i}});var n=r(9674);const s=new Map;function i(...e){return e.every((e=>{if(s.has(e))return s.get(e);const t="function"==typeof e?e.toString():"",r=t.includes("[native code]"),i=t.includes("nrWrapper");return r||i||(0,n.R)(64,e?.name||t),s.set(e,r),r}))}},3884:function(e,t,r){r.d(t,{T:function(){return n}});const n=r(9470).K7.jserrors},3941:function(e,t,r){r.d(t,{u:function(){return d}});var n=r(8126),s=r(7340),i=r(9176),o=r(8740);const a={},c=o.gm.XMLHttpRequest,l="addEventListener",u="removeEventListener",h="nr@wrapped:".concat(n.P);function d(e){var t=function(e){return(e||n.ee).get("events")}(e);if(a[t.debugId]++)return t;a[t.debugId]=1;var r=(0,s.YM)(t,!0);function d(e){r.inPlace(e,[l,u],"-",f)}function f(e,t){return e[1]}return"getPrototypeOf"in Object&&(o.RI&&p(document,d),c&&p(c.prototype,d),p(o.gm,d)),t.on(l+"-start",(function(e,t){var n=e[1];if(null!==n&&("function"==typeof n||"object"==typeof n)&&"newrelic"!==e[0]){var s=(0,i.I)(n,h,(function(){var e={object:function(){if("function"!=typeof n.handleEvent)return;return n.handleEvent.apply(n,arguments)},function:n}[typeof n];return e?r(e,"fn-",null,e.name||"anonymous"):n}));this.wrapped=e[1]=s}})),t.on(u+"-start",(function(e){e[1]=this.wrapped||e[1]})),t}function p(e,t,...r){let n=e;for(;"object"==typeof n&&!Object.prototype.hasOwnProperty.call(n,l);)n=Object.getPrototypeOf(n);n&&t(n,...r)}},4128:function(e,t,r){r.d(t,{setupAgentSession:function(){return T}});var n=r(6657),s=r(8126),i=r(2024),o=r(8800),a=r(9674),c=r(1690),l=r(2925),u=r(8740),h=r(9324),d=r(2449),p=r(5239);class f extends l.M{constructor(e,t){super(e,t),this.onPause="function"==typeof e.onPause?e.onPause:()=>{},this.onRefresh="function"==typeof e.onRefresh?e.onRefresh:()=>{},this.onResume="function"==typeof e.onResume?e.onResume:()=>{},this.readStorage=e.readStorage,this.remainingMs=void 0,e.refreshEvents||(e.refreshEvents=["click","keydown","scroll"]);try{this.abortController=new AbortController}catch(e){}if(u.RI&&e.ee){if(e.ee){this.ee=e.ee;const t=(0,p.s)(this.refresh.bind(this),500,{leading:!0});this.refreshHandler=r=>{e.refreshEvents.includes(r?.[0]?.type)&&t()},e.ee.on("fn-end",this.refreshHandler)}(0,d.u)((e=>{"hidden"===e?this.pause():this.resume()}),!1,!1,this.abortController?.signal)}}abort(){this.clear(),this.abortController?.abort(),this.refreshHandler&&(this.ee.removeEventListener("fn-end",this.refreshHandler),this.refreshHandler=this.ee=null)}pause(){this.onPause(),clearTimeout(this.timer),this.remainingMs=this.initialMs-(Date.now()-this.startTimestamp)}resume(){try{const t=this.readStorage(),r="string"==typeof t?JSON.parse(t):t;e(r.expiresAt)||e(r.inactiveAt)?this.end():(this.refresh(),this.onResume())}catch(e){this.end()}function e(e){return Date.now()>e}}refresh(e,t){this.clear(),this.timer=this.create(e,t),this.startTimestamp=Date.now(),this.remainingMs=void 0,this.onRefresh()}}var m=r(3941),g=r(9644),y=r(4842),v=r(7187),b=r(9470),w=r(7508),S=r(1059);const C={value:"",inactiveAt:0,expiresAt:0,updatedAt:Date.now(),sessionReplayMode:h.g.OFF,sessionReplaySentFirstChunk:!1,sessionTraceMode:h.g.OFF,traceHarvestStarted:!1,loggingMode:S.A$.OFF,logApiMode:S.A$.OFF,serverTimeDiff:null,custom:{},numOfResets:0,consent:!1};class k{constructor(e){const{agentIdentifier:t,key:r,storage:n}=e;if(!t||!r||!n)throw new Error("Missing required field(s):".concat(t?"":" agentID").concat(r?"":" key").concat(n?"":" storage"));this.agentIdentifier=t,this.storage=n,this.state={},this.key=r,this.ee=s.ee.get(t),(0,m.u)(this.ee),this.setup(e),u.RI&&(0,w.sp)("storage",(e=>{if(e.key===this.lookupKey){const t="string"==typeof e.newValue?JSON.parse(e.newValue):e.newValue;this.sync(t),this.ee.emit(h.tS.UPDATE,[h.iL.CROSS_TAB,this.state])}}))}setup({value:e=(0,o.LA)(16),expiresMs:t=h.wk,inactiveMs:r=h.BB,numOfResets:n=0}){const s={serverTimeDiff:this.state.serverTimeDiff||C.serverTimeDiff,consent:this.state.consent||C.consent};this.state={},this.sync({...C,...s}),this.state.value=e,this.expiresMs=t,this.inactiveMs=r;
1const i=this.read();t?(this.state.expiresAt=i?.expiresAt||this.getFutureTimestamp(t),this.state.numOfResets=i?.numOfResets||n,this.expiresTimer=new l.M({onEnd:()=>{this.collectSM("expired"),this.collectSM("duration"),this.reset()}},this.state.expiresAt-Date.now())):this.state.expiresAt=1/0,r?(this.state.inactiveAt=i?.inactiveAt||this.getFutureTimestamp(r),this.inactiveTimer=new f({onEnd:()=>{this.collectSM("inactive"),this.collectSM("duration"),this.reset()},onRefresh:this.refresh.bind(this),onResume:()=>{this.ee.emit(h.tS.RESUME)},onPause:()=>{this.initialized&&this.ee.emit(h.tS.PAUSE),this.write((0,g.a)(this.state,C))},ee:this.ee,refreshEvents:["click","keydown","scroll"],readStorage:()=>this.storage.get(this.lookupKey)},this.state.inactiveAt-Date.now())):this.state.inactiveAt=1/0,this.isNew||=!Object.keys(i).length,this.isNew?this.write((0,g.a)(this.state,C),!0):this.sync(i),this.initialized=!0,this.ee.emit(h.tS.STARTED,[this.isNew])}get lookupKey(){return"".concat(h.H3,"_").concat(this.key)}sync(e){Object.assign(this.state,e)}read(){try{const e=this.storage.get(this.lookupKey);if(!e)return{};const t="string"==typeof e?JSON.parse(e):e;return this.isInvalid(t)?{}:this.isExpired(t.expiresAt)?(this.collectSM("expired"),this.collectSM("duration",t,!0),this.reset()):this.isExpired(t.inactiveAt)?(this.collectSM("inactive"),this.collectSM("duration",t,!0),this.reset()):t}catch(e){return(0,a.R)(10,e),{}}}write(e){try{if(!e||"object"!=typeof e)return;return e.updatedAt=Date.now(),this.sync(e),this.storage.set(this.lookupKey,(0,c.A)(this.state)),this.ee.emit(h.tS.UPDATE,[h.iL.SAME_TAB,this.state]),e}catch(e){return(0,a.R)(11,e),null}}reset(){try{return(0,a.R)(66),this.initialized&&(this.ee.emit(h.tS.RESET),this.state.numOfResets++),this.storage.remove(this.lookupKey),this.inactiveTimer?.abort?.(),this.expiresTimer?.clear?.(),delete this.isNew,this.setup({agentIdentifier:this.agentIdentifier,key:this.key,storage:this.storage,expiresMs:this.expiresMs,inactiveMs:this.inactiveMs,numOfResets:this.state.numOfResets}),this.read()}catch(e){return{}}}refresh(){const e=this.read();this.write({...e,inactiveAt:this.getFutureTimestamp(this.inactiveMs)})}isExpired(e){return Date.now()>e}isInvalid(e){return!Object.keys(C).every((t=>Object.keys(e).includes(t)))}collectSM(e,t,r){let n,s;"duration"===e&&(n=this.getDuration(t,r),s="Session/Duration/Ms"),"expired"===e&&(s="Session/Expired/Seen"),"inactive"===e&&(s="Session/Inactive/Seen"),s&&(0,y.p)(v.xV,[s,n],void 0,b.K7.metrics,this.ee)}getDuration(e=this.state,t){const r=e.expiresAt-this.expiresMs;return(t?Date.now():e.updatedAt)-r}getFutureTimestamp(e){return Date.now()+e}syncCustomAttribute(e,t){if(u.RI)if(null===t){const t=this.read();t.custom&&(delete t.custom[e],this.write({...t}))}else{const r=this.read();this.custom={...r?.custom||{},[e]:t},this.write({...r,custom:this.custom})}}}class R{get(e){try{return localStorage.getItem(e)||void 0}catch(e){return""}}set(e,t){try{return null==t?this.remove(e):localStorage.setItem(e,t)}catch(e){}}remove(e){try{localStorage.removeItem(e)}catch(e){}}}var x=r(9077);var I=r(8839),E=r(47);function T(e){if(e.runtime.session)return e.runtime.session;const t=e.init.session;e.runtime.session=new k({agentIdentifier:e.agentIdentifier,key:h.uh,storage:new R,expiresMs:t?.expiresMs,inactiveMs:t?.inactiveMs});const r=e.runtime.session.state.custom;r&&Object.keys(r).length&&(e.info=(0,x.D)({...e.info,jsAttributes:{...r,...e.info.jsAttributes}})),e.runtime.jsAttributesMetadata=function(e,t){const r=e[t]??={},n={bytes:Object.keys(r).reduce(((e,t)=>e+t.length+(0,c.A)(r[t]).length),0)};return e[t]=new Proxy(r,{set(e,t,r){return n.bytes+=t.length+(0,c.A)(r).length,e[t]=r,!0},deleteProperty(e,t){return n.bytes-=t.length+(0,c.A)(e[t]).length,delete e[t]}}),n}(e.info,"jsAttributes");const o=s.ee.get(e.agentIdentifier);return(0,i.i)("api-setCustomAttribute",((t,r,n)=>{e.runtime.session.syncCustomAttribute(r,n)}),"session",o),(0,i.i)("api-setUserId",((t,r,n)=>{e.runtime.session.syncCustomAttribute(r,n)}),"session",o),(0,i.i)("api-setUserIdAndResetSession",(t=>{e.runtime.session.reset(),(0,y.p)(v.xV,["API/"+I.Dl+"/resetSession/called"],void 0,b.K7.metrics,o),(0,E.U)(e,"enduser.id",t,I.Dl,!0)}),"session",o),(0,i.i)("api-consent",(t=>{e.runtime.session.write({consent:void 0===t||t})}),"session",o),(0,n.Ze)(e.agentIdentifier,"session"),e.runtime.session}},4703:function(e,t,r){r.d(t,{W:function(){return i}});var n=r(9674),s=r(8839);class i{#y(e,...t){if(this[e]!==i.prototype[e])return this[e](...t);(0,n.R)(35,e)}addPageAction(e,t){return this.#y(s.hG,e,t)}register(e){return this.#y(s.eY,e)}recordCustomEvent(e,t){return this.#y(s.fF,e,t)}setPageViewName(e,t){return this.#y(s.Fw,e,t)}setCustomAttribute(e,t,r){return this.#y(s.cD,e,t,r)}noticeError(e,t){return this.#y(s.o5,e,t)}setUserId(e,t=!1){return this.#y(s.Dl,e,t)}setApplicationVersion(e){return this.#y(s.nb,e)}setErrorHandler(e){return this.#y(s.bt,e)}addRelease(e,t){return this.#y(s.k6,e,t)}log(e,t){return this.#y(s.$9,e,t)}start(){return this.#y(s.d3)}finished(e){return this.#y(s.BL,e)}recordReplay(){return this.#y(s.CH)}pauseReplay(){return this.#y(s.Tb)}addToTrace(e){return this.#y(s.U2,e)}setCurrentRouteName(e){return this.#y(s.PA,e)}interaction(e){return this.#y(s.dT,e)}wrapLogger(e,t,r){return this.#y(s.Wb,e,t,r)}measure(e,t){return this.#y(s.V1,e,t)}consent(e){return this.#y(s.Pv,e)}}},4842:function(e,t,r){r.d(t,{d:function(){return n},p:function(){return s}});var n=r(8126).ee.get("handle");function s(e,t,r,s,i){i?(i.buffer([e],s),i.emit(e,t,r)):(n.buffer([e],s),n.emit(e,t,r))}},4897:function(e,t,r){r.d(t,{Xv:function(){return o},gX:function(){return s},iW:function(){return i}});var n=[];function s(e){if(!e||i(e))return!1;if(0===n.length)return!0;
1if("*"===n[0].hostname)return!1;for(var t=0;t<n.length;t++){var r=n[t];if(r.hostname.test(e.hostname)&&r.pathname.test(e.pathname))return!1}return!0}function i(e){return void 0===e.hostname}function o(e){if(n=[],e&&e.length)for(var t=0;t<e.length;t++){let r=e[t];if(!r)continue;if("*"===r)return void(n=[{hostname:"*"}]);0===r.indexOf("http://")?r=r.substring(7):0===r.indexOf("https://")&&(r=r.substring(8));const s=r.indexOf("/");let i,o;s>0?(i=r.substring(0,s),o=r.substring(s)):(i=r,o="*");let[c]=i.split(":");n.push({hostname:a(c),pathname:a(o,!0)})}}function a(e,t=!1){const r=e.replace(/[.+?^${}()|[\]\\]/g,(e=>"\\"+e)).replace(/\*/g,".*?");return new RegExp((t?"^":"")+r+"$")}},4970:function(e,t,r){function n(e,t,r){let n="unknown";if(e&&e instanceof XMLHttpRequest){const t=r.context(e).params;if(!(t&&t.status&&t.method&&t.host&&t.pathname))return"xhrOriginMissing";n=t.status+" "+t.method+": "+t.host+t.pathname}else if(e&&"string"==typeof e.tagName&&(n=e.tagName.toLowerCase(),e.id&&(n+="#"+e.id),e.className))for(let t=0;t<e.classList.length;t++)n+="."+e.classList[t];return"unknown"===n&&("string"==typeof t?n=t:t===document?n="document":t===window?n="window":t instanceof FileReader&&(n="FileReader")),n}r.d(t,{t:function(){return n}})},4992:function(e,t,r){r.r(t),r.d(t,{Aggregate:function(){return R}});var n=r(8861),s=r(2024),i=r(4842),o=r(1172),a=r(9470),c=r(8282),l=r(7226),u=r(3209),h=r(9507),d=r(8740);const p=new h.x(u.w.CUMULATIVE_LAYOUT_SHIFT,(e=>e));d.RI&&(0,l.IN)((({value:e,attribution:t,id:r})=>{const n={metricId:r,largestShiftTarget:t.largestShiftTarget,largestShiftTime:t.largestShiftTime,largestShiftValue:t.largestShiftValue,loadState:t.loadState};p.update({value:e,attrs:n})}),{reportAllChanges:!0});var f=r(702),m=r(1291);const g=new h.x(u.w.INTERACTION_TO_NEXT_PAINT);d.RI&&(0,l.rH)((({value:e,attribution:t,id:r})=>{const n={metricId:r,eventTarget:t.interactionTarget,eventTime:t.interactionTime,interactionTarget:t.interactionTarget,interactionTime:t.interactionTime,interactionType:t.interactionType,inputDelay:t.inputDelay,nextPaintTime:t.nextPaintTime,processingDuration:t.processingDuration,presentationDelay:t.presentationDelay,loadState:t.loadState};g.update({value:e,attrs:n})}));var y=r(8897);const v=new h.x(u.w.LARGEST_CONTENTFUL_PAINT);d.RI&&(0,l.fK)((({value:e,attribution:t})=>{if(d.mw||v.isValid)return;let r;const n=t.lcpEntry;n&&(r={size:n.size,eid:n.id,element:t.element,timeToFirstByte:t.timeToFirstByte,resourceLoadDelay:t.resourceLoadDelay,resourceLoadDuration:t.resourceLoadDuration,resourceLoadTime:t.resourceLoadDuration,elementRenderDelay:t.elementRenderDelay,...t.navigationEntry&&{pageUrl:(0,y.L)(t.navigationEntry.name)}},t.url&&(r.elUrl=(0,y.L)(t.url)),n.element?.tagName&&(r.elTag=n.element.tagName)),v.update({value:e,attrs:r})}));var b=r(2449),w=r(4970),S=r(2919);const C=new h.x(u.w.LOAD_TIME);if(d.RI){const e=d.gm.performance,t=()=>{!C.isValid&&e&&C.update({value:(0,d.eN)()?e.getEntriesByType("navigation")?.[0]?.loadEventEnd:e.timing?.loadEventEnd-d.WN})};(0,S.GG)(t,!0)}var k=r(8689);class R extends c.r{static featureName=o.T;#v=({name:e,value:t,attrs:r})=>{this.addTiming(e,t,r)};constructor(e){super(e,o.T),this.curSessEndRecorded=!1,this.firstIxnRecorded=!1,super.customAttributesAreSeparate=!0,(0,s.i)("docHidden",(e=>this.endCurrentSession(e)),this.featureName,this.ee),(0,s.i)("winPagehide",(e=>this.addTiming("unload",e,null)),this.featureName,this.ee),this.waitForFlags([]).then((()=>{m.J.subscribe(this.#v),f.j.subscribe(this.#v),v.subscribe(this.#v),g.subscribe(this.#v),C.subscribe((({name:e,value:t})=>{this.addTiming(e,Math.round(t))})),(0,b.u)((()=>{const{name:e,value:t,attrs:r}=p.current;void 0!==t&&this.addTiming(e,1e3*t,r)}),!0,!0),this.drain()}))}endCurrentSession(e){this.curSessEndRecorded||(this.addTiming("pageHide",e,null),this.curSessEndRecorded=!0)}addTiming(e,t,r){(function(e){var t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(!t)return;t.type&&(e["net-type"]=t.type);t.effectiveType&&(e["net-etype"]=t.effectiveType);t.rtt&&(e["net-rtt"]=t.rtt);t.downlink&&(e["net-dlink"]=t.downlink)})(r=r||{}),e!==u.w.CUMULATIVE_LAYOUT_SHIFT&&p.current.value>=0&&(r.cls=p.current.value);const n={name:e,value:t,attrs:r};return this.events.add(n),(0,i.p)("pvtAdded",[e,t,r],void 0,a.K7.sessionTrace,this.ee),this.checkForFirstInteraction(),n}checkForFirstInteraction(){if(this.firstIxnRecorded||d.mw||!performance)return;const e=performance.getEntriesByType("first-input")[0];
1e&&(this.firstIxnRecorded=!0,this.addTiming("fi",e.startTime,{type:e.name,eventTarget:(0,w.t)(e.target),loadState:document.readyState}))}appendGlobalCustomAttributes(e){var t=e.attrs||{},r=["size","eid","cls","type","fid","elTag","elUrl","net-type","net-etype","net-rtt","net-dlink"];Object.entries(this.agentRef.info.jsAttributes||{}).forEach((([e,n])=>{r.indexOf(e)<0&&(t[e]=n)})),t.webdriverDetected=k.R}preHarvestChecks(){return this.checkForFirstInteraction(),super.preHarvestChecks()}serializer(e){if(!e?.length)return"";for(var t=(0,n.uJ)(this.agentRef.runtime.obfuscator),r="bel.6;",s=0;s<e.length;s++){var i=e[s];r+="e,",r+=t(i.name)+",",r+=(0,n.me)(i.value,n.sH,!1)+",",this.appendGlobalCustomAttributes(i);var o=(0,n.AQ)(i.attrs,t);o&&o.length>0&&(r+=(0,n.sH)(o.length)+";"+o.join(";")),s+1<e.length&&(r+=";")}return r}}},5239:function(e,t,r){function n(e,t=500,r={}){const n=r?.leading||!1;let s;return(...r)=>{n&&void 0===s&&(e.apply(this,r),s=setTimeout((()=>{s=clearTimeout(s)}),t)),n||(clearTimeout(s),s=setTimeout((()=>{e.apply(this,r)}),t))}}function s(e){let t=!1;return(...r)=>{t||(t=!0,e.apply(this,r))}}r.d(t,{J:function(){return s},s:function(){return n}})},5590:function(e,t,r){r.d(t,{BB:function(){return u},Qb:function(){return h},TZ:function(){return s},Ug:function(){return o},Vh:function(){return i},_s:function(){return a},bc:function(){return l},yP:function(){return c}});var n=r(9324);const s=r(9470).K7.sessionReplay,i="errorDuringReplay",o=.12,a={DomContentLoaded:0,Load:1,FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Custom:5},c={[n.g.ERROR]:15e3,[n.g.FULL]:3e5,[n.g.OFF]:0}
1,l={RESET:{message:"Session was reset",sm:"Reset"},IMPORT:{message:"Recorder failed to import",sm:"Import"},TOO_MANY:{message:"429: Too Many Requests",sm:"Too-Many"},TOO_BIG:{message:"Payload was too large",sm:"Too-Big"},CROSS_TAB:{message:"Session Entity was set to OFF on another tab",sm:"Cross-Tab"},ENTITLEMENTS:{message:"Session Replay is not allowed and will not be started",sm:"Entitlement"}},u=5e3,h={API:"api",RESUME:"resume",SWITCH_TO_FULL:"switchToFull",INITIALIZE:"initialize",PRELOAD:"preload"}},5668:function(e,t,r){r.d(t,{Jf:function(){return i},mj:function(){return s},nF:function(){return o}});var n=r(8740);function s({isFinalHarvest:e=!1}={}){return e&&n.RI?a:"undefined"!=typeof XMLHttpRequest?o:i}function i({url:e,body:t=null,method:r="POST",headers:n=[{key:"content-type",value:"text/plain"}]}){const s={};for(const e of n)s[e.key]=e.value;return fetch(e,{headers:s,method:r,body:t,credentials:"include"})}function o({url:e,body:t=null,sync:r,method:n="POST",headers:s=[{key:"content-type",value:"text/plain"}]}){const i=new XMLHttpRequest;i.open(n,e,!r);try{"withCredentials"in i&&(i.withCredentials=!0)}catch(e){}return s.forEach((e=>{i.setRequestHeader(e.key,e.value)})),i.send(t),i}function a({url:e,body:t}){try{return window.navigator.sendBeacon.bind(window.navigator)(e,t)}catch(e){return!1}}},5928:function(e,t,r){r.d(t,{AJ:function(){return o},F3:function(){return s},Xs:function(){return i},Yq:function(){return a},xv:function(){return n}});const n="1.309.0",s="NPM",i="NPM",o="@newrelic/rrweb",a="1.0.1"},5942:function(e,t,r){r.r(t),r.d(t,{Aggregate:function(){return S}});var n=r(2024),s=r(2752),i=r(8282),o=r(9324),a=r(1609),c=r(1375),l=r(4970);class u{constructor(e,t,r,n,s){this.n=e,this.s=t,this.e=r,this.o=n,this.t=s}}const h={global:{mouseup:!0,mousedown:!0},window:{load:!0,pagehide:!0},xhrOriginMissing:{ignoreAll:!0}},d={typing:"typing",scrolling:"scrolling",mousing:"mousing",touching:"touching"},p={[d.typing]:1e3,[d.scrolling]:100,[d.mousing]:1e3,[d.touching]:1e3},f={[d.typing]:2e3,[d.scrolling]:1e3,[d.mousing]:2e3,[d.touching]:2e3};class m{prevStoredEvents=new Set;constructor(e){this.parent=e}#b(e){return e.n in d}#w(e){const t={e:e.e};return this.parent.events.merge((t=>!(t.o!==e.o||t.n!==e.n||e.s-t.s<f[e.o]||t.e>e.s-p[e.o])),t)}#S(e){if(e.n in h.global)return!0;const t=e.o;return!(!h[t]?.ignoreAll&&!h[t]?.[e.n])||"xhrOriginMissing"===t&&"Ajax"===e.n}#C(){if(this.parent.blocked)return!1;if(this.parent.events.length>=s.jx){if(this.parent.mode!==o.g.ERROR)return!1;this.trimSTNsByTime(),this.parent.events.length>=s.jx&&this.trimSTNsByIndex(1)}return!0}#k(e){return!(this.#S(e)||!this.#C())&&(this.#b(e)&&this.#w(e)||this.parent.events.add(e),!0)}storeNode(e){return this.#k(e)}processPVT(e,t,r){return this.storeTiming({[e]:t})}storeTiming(e,t=!1){if(!e)return!1;let r=!0;for(let n in e){let s=e[n];const i=n.toLowerCase();i.indexOf("size")>=0||i.indexOf("status")>=0||"number"==typeof s&&s>=0&&(s=Math.round(s),this.parent.timeKeeper&&this.parent.timeKeeper.ready&&t&&(s=this.parent.timeKeeper.convertAbsoluteTimestamp(Math.floor(this.parent.timeKeeper.correctAbsoluteTimestamp(s)))),this.#k(new u(n,s,s,"document","timing"))||(r=!1))}return r}storeEvent(e,t,r,n){if(this.prevStoredEvents.has(e)||!this.#C())return!1;this.prevStoredEvents.add(e);const s=new u(function(e){switch(e){case"keydown":case"keyup":case"keypress":return"typing";case"mousemove":case"mouseenter":case"mouseleave":case"mouseover":case"mouseout":return"mousing";case"touchstart":case"touchmove":case"touchend":case"touchcancel":case"touchenter":case"touchleave":return"touching";case"scroll":case"scrollend":return"scrolling";default:return e}}(e.type),r,n,void 0,"event");try{s.o=(0,l.t)(e.target,t,this.parent.ee)}catch(e){s.o=(0,l.t)(null,t,this.parent.ee)}return this.#k(s)}storeHist(e,t,r){return this.#k(new u("history.pushState",r,r,e,t))}storeResources(e){if(!e||0===e.length)return!1;let t=!0;for(let r=0;r<e.length;r++){const n=e[r];if(!this.#C())break;const{initiatorType:s,fetchStart:i,responseEnd:o,entryType:a}=n,{protocol:l,hostname:h,port:d,pathname:p}=(0,c.D)(n.name),f=new u(s,0|i,0|o,"".concat(l,"://").concat(h,":").concat(d).concat(p),a);this.#k(f)||(t=!1)}return t}storeErrorAgg(e,t,r,n){return"err"===e&&this.#k(new u("error",n.time,n.time,r.message,r.stackHash))}storeXhrAgg(e,t,r,n){return"xhr"===e&&this.#k(new u("Ajax",n.time,n.time+n.duration,"".concat(r.status," ").concat(r.method,": ").concat(r.host).concat(r.pathname),"ajax"))}trimSTNsByTime(e=s.sl){this.parent.events.clear({clearBeforeTime:Math.max(a.t-e,0),timestampKey:"e"})}trimSTNsByIndex(e=0){this.parent.events.clear({clearBeforeIndex:e})}clear(){this.prevStoredEvents.clear()}}var g=r(6600),y=r(8740),v=r(2209),b=r(8897),w=r(9674);class S extends i.r{static featureName=s.TZ;constructor(e){super(e,s.TZ),this.harvestOpts.raw=!0,this.entitled=void 0,this.everHarvested=!1,this.harvesting=!1,this.traceStorage=new m(this),this.waitForFlags(["sts","st"]).then((([e,t])=>this.initialize(e,t)))}initialize(e,t,r){return this.entitled??=t,this.entitled||(this.blocked=!0),this.blocked?this.deregisterDrain():(this.initialized||(this.initialized=!0,this.ptid=this.agentRef.runtime.ptid,this.sessionId=this.agentRef.runtime.session?.state.value,this.ee.on(o.tS.RESET,(()=>{this.blocked||this.abort(1)})),this.ee.on(o.tS.UPDATE,((e,t)=>{this.blocked||(this.mode===o.g.FULL||t.sessionReplayMode!==o.g.FULL&&t.sessionTraceMode!==o.g.FULL||this.switchToFull(),(this.sessionId!==t.value||"cross-tab"===e&&t.sessionTraceMode===o.g.OFF)&&this.abort(2))})),(0,y.eN)()?this.traceStorage.storeTiming(y.gm.performance?.getEntriesByType?.("navigation")[0]):this.traceStorage.storeTiming(y.gm.performance?.timing,!0)),this.agentRef.runtime.session.isNew||r?this.mode=e:this.mode=this.agentRef.runtime.session.state.sessionTraceMode,this.mode===o.g.OFF?this.deregisterDrain():(this.timeKeeper??=this.agentRef.runtime.timeKeeper,(0,n.i)("bst",((...e)=>this.traceStorage.storeEvent(...e)),this.featureName,this.ee),(0,n.i)("bstResource",((...e)=>this.traceStorage.storeResources(...e)),this.featureName,this.ee),(0,n.i)("bstHist",((...e)=>this.traceStorage.storeHist(...e)),this.featureName,this.ee),(0,n.i)("bstXhrAgg",((...e)=>this.traceStorage.storeXhrAgg(...e)),this.featureName,this.ee),(0,n.i)("bstApi",((...e)=>this.traceStorage.storeNode(...e)),this.featureName,this.ee),(0,n.i)("trace-jserror",((...e)=>this.traceStorage.storeErrorAgg(...e)),this.featureName,this.ee),(0,n.i)("pvtAdded",((...e)=>this.traceStorage.processPVT(...e)),this.featureName,this.ee),this.mode!==o.g.FULL&&(0,n.i)("trace-jserror",(()=>{this.mode===o.g.ERROR&&this.switchToFull()}),this.featureName,this.ee),this.agentRef.runtime.session.write({sessionTraceMode:this.mode}),void this.drain()))}preHarvestChecks(){if(!this.blocked&&this.mode===o.g.FULL&&this.timeKeeper?.ready&&this.agentRef.runtime.session){if(this.sessionId===this.agentRef.runtime.session.state.value&&this.ptid===this.agentRef.runtime.ptid)return!0;this.abort(3)}}serializer(e){if(e.length)return this.everHarvested=!0,(0,v.G)(e,this.obfuscator.obfuscateString.bind(this.obfuscator),"string")}queryStringsBuilder(e){const t=!this.agentRef.runtime.session.state.traceHarvestStarted;t&&this.agentRef.runtime.session.write({traceHarvestStarted:!0});const r=1===this.agentRef.runtime.session.state.sessionReplayMode,n=this.agentRef.info.jsAttributes["enduser.id"],s=this.agentRef.runtime.appMetadata.agents?.[0]?.entityGuid,i=e.reduce(((e,t)=>Math.min(e,t.s)),1/0),o=e.reduce(((e,t)=>Math.max(e,t.s)),-1/0);return{browser_monitoring_key:this.agentRef.info.licenseKey,type:"BrowserSessionChunk",app_id:this.agentRef.info.applicationID,protocol_version:"0",timestamp:Math.floor(this.timeKeeper.correctRelativeTimestamp(i)),attributes:(0,g.WL)({...s&&{entityGuid:s},harvestId:"".concat(this.agentRef.runtime.session.state.value,"_").concat(this.agentRef.runtime.ptid,"_").concat(this.agentRef.runtime.harvestCount),"trace.firstTimestamp":Math.floor(this.timeKeeper.correctRelativeTimestamp(i)),"trace.lastTimestamp":Math.floor(this.timeKeeper.correctRelativeTimestamp(o)),"trace.nodes":e.length,"trace.originTimestamp":this.timeKeeper.correctedOriginTime,agentVersion:this.agentRef.runtime.version,...t&&{firstSessionHarvest:t},...r&&{hasReplay:r},ptid:"".concat(this.ptid),session:"".concat(this.sessionId),...n&&{"enduser.id":this.obfuscator.obfuscateString(n)},currentUrl:this.obfuscator.obfuscateString((0,b.L)(""+location))},5e3).substring(1)}}switchToFull(){if(this.mode===o.g.FULL||!this.entitled||this.blocked)return;const e=this.mode;if(this.mode=o.g.FULL,this.agentRef.runtime.session.write({sessionTraceMode:this.mode}),e===o.g.OFF||!this.initialized)return this.initialize(this.mode,this.entitled);this.initialized&&(this.traceStorage.trimSTNsByTime(),this.agentRef.runtime.harvester.triggerHarvestFor(this))}abort(e){(0,w.R)(60,e),this.blocked=!0,this.mode=o.g.OFF,this.agentRef.runtime.session.write({sessionTraceMode:this.mode}),this.events.clear()}postHarvestCleanup(e){this.traceStorage.clear(),super.postHarvestCleanup(e)}}},5972:function(e,t,r){r.d(t,{d:function(){return i}});var n=r(8800),s=r(4703);class i extends s.W{agentIdentifier=(0,n.LA)(16)}},6549:function(e,t,r){r.d(t,{W:function(){return n}});const n=(0,r(8800).bz)()},6600:function(e,t,r){r.d(t,{WL:function(){return l},uR:function(){return u}});var n=r(1690),s={"%2C":",","%3A":":","%2F":"/","%40":"@","%24":"$","%3B":";"},i=Object.keys(s),o=new RegExp(i.join("|"),"g");function a(e){return s[e]}function c(e){return null==e?"null":encodeURIComponent(e).replace(o,a)}function l(e,t){var r=0,s="";return Object.entries(e||{}
1).forEach((([e,i])=>{var o,a,l=[];if("string"==typeof i||!Array.isArray(i)&&null!=i&&i.toString().length)o="&"+e+"="+c(i),r+=o.length,s+=o;else if(Array.isArray(i)&&i.length){for(r+=9,a=0;a<i.length&&(o=c((0,n.A)(i[a])),r+=o.length,!(void 0!==t&&r>=t));a++)l.push(o);s+="&"+e+"=%5B"+l.join(",")+"%5D"}})),s}function u(e,t,r={}){return Object.keys(r).includes(e)?"":t&&"string"==typeof t?"&"+e+"="+c(t):""}},6657:function(e,t,r){r.d(t,{Ak:function(){return l},Ze:function(){return d},x3:function(){return u}});var n=r(1999),s=r(8126),i=r(2024),o=r(9470),a=r(1752);const c={};function l(e,t){const r={staged:!1,priority:o.P3[t]||0};h(e),c[e].get(t)||c[e].set(t,r)}function u(e,t){e&&c[e]&&(c[e].get(t)&&c[e].delete(t),f(e,t,!1),c[e].size&&p(e))}function h(e){if(!e)throw new Error("agentIdentifier required");c[e]||(c[e]=new Map)}function d(e="",t="feature",r=!1){if(h(e),!e||!c[e].get(t)||r)return f(e,t);c[e].get(t).staged=!0,p(e)}function p(e){const t=Array.from(c[e]);t.every((([e,t])=>t.staged))&&(t.sort(((e,t)=>e[1].priority-t[1].priority)),t.forEach((([t])=>{c[e].delete(t),f(e,t)})))}function f(e,t,r=!0){const o=e?s.ee.get(e):s.ee,c=i.i.handlers;if(!o.aborted&&o.backlog&&c){if((0,n.W)({agentIdentifier:e,type:"lifecycle",name:"drain",feature:t}),r){const e=o.backlog[t],r=c[t];if(r){for(let t=0;e&&t<e.length;++t)m(e[t],r);Object.entries(r).forEach((([e,t])=>{Object.values(t||{}).forEach((t=>{t[0]?.on&&t[0].context()instanceof a.y&&!t[0].listeners(e).includes(t[1])&&t[0].on(e,t[1])}))}))}}o.isolatedBacklog||delete c[t],o.backlog[t]=null,o.emit("drain-"+t,[])}}function m(e,t){var r=e[1];Object.values(t[r]||{}).forEach((t=>{var r=e[0];if(t[0]===r){var n=t[1],s=e[3],i=e[2];n.apply(s,i)}}))}},6969:function(e,t,r){r.r(t),r.d(t,{Aggregate:function(){return O}});const n=/([a-z0-9]+)$/i;function s(e){if(!e)return;const t=e.match(n);return t?t[1]:void 0}var i=/^\n+|\n+$/g;function o(e){return function(e){var t;if(e.length>100){var r=e.length-100;t=e.slice(0,50).join("\n"),t+="\n< ...truncated "+r+" lines... >\n",t+=e.slice(-50).join("\n")}else t=e.join("\n");return t}(e).replace(i,"")}var a=r(8740),c=r(8897);function l(e){if("string"!=typeof e)return"";const t=(0,c.L)(e);return t===(0,c.L)(a.m)?"<inline>":t}var u=!1,h=/function (.+?)\s*\(/,d=/^\s*at (?:((?:\[object object\])?(?:[^(]*\([^)]*\))*[^()]*(?: \[as \S+\])?) )?\(?((?:file|http|https|chrome-extension):.*?)?:(\d+)(?::(\d+))?\)?\s*$/i,p=/^\s*(?:(\S*|global code)(?:\(.*?\))?@)?((?:file|http|https|chrome|safari-extension).*?):(\d+)(?::(\d+))?\s*$/i,f=/^\s*at .+ \(eval at \S+ \((?:(?:file|http|https):[^)]+)?\)(?:, [^:]*:\d+:\d+)?\)$/i,m=/^\s*at Function code \(Function code:\d+:\d+\)\s*/i;function g(e){var t=null;try{if(t=function(e){if(!e.stack)return null;var t=e.stack.split("\n").reduce(y,{frames:[],stackLines:[],wrapperSeen:!1});return t.frames.length?{mode:"stack",name:e.name||v(e),message:e.message,stackString:o(t.stackLines),frames:t.frames}:null}(e),t)return t}catch(e){u}try{if(t=function(e){if(!("line"in e))return null;var t=e.name||v(e);if(!e.sourceURL)return{mode:"sourceline",name:t,message:e.message,stackString:t+": "+e.message+"\n in evaluated code",frames:[{func:"evaluated code"}]};var r=l(e.sourceURL),n=t+": "+e.message+"\n at "+r;e.line&&(n+=":"+e.line,e.column&&(n+=":"+e.column));return{mode:"sourceline",name:t,message:e.message,stackString:n,frames:[{url:r,line:e.line,column:e.column}]}}(e),t)return t}catch(e){u}try{if(t=function(e){var t=e.name||v(e);return t?{mode:"nameonly",name:t,message:e.message,stackString:t+": "+e.message,frames:[]}:null}(e),t)return t}catch(e){u}return{mode:"failed",stackString:"",frames:[]}}function y(e,t){let r=function(e){var t=e.match(p);t||(t=e.match(d));if(t)return{url:t[2],func:"Anonymous function"!==t[1]&&"global code"!==t[1]&&t[1]||null,line:+t[3],column:t[4]?+t[4]:null};if(e.match(f)||e.match(m)||"anonymous"===e)return{func:"evaluated code"}}(t);if(!r)return e.stackLines.push(t),e;var n;if((n=r.func)&&n.indexOf("nrWrapper")>=0&&(e.wrapperSeen=!0),!e.wrapperSeen){let n=l(r.url);n!==r.url&&(t=t.replace(r.url,n),r.url=n),e.stackLines.push(t),e.frames.push(r)}return e}function v(e){var t=h.exec(String(e.constructor));return t&&t.length>1?t[1]:"unknown"}function b(e){var t=0;if(!e||!e.length)return t;for(var r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}var w=r(2024),S=r(1690),C=r(4842),k=r(3884),R=r(9470),x=r(8282),I=r(1609),E=r(2209);const T="Rrweb",M="Security-Policy";var A=r(447);class O extends x.r{static featureName=k.T;constructor(e){super(e,k.T),this.harvestOpts.aggregatorTypes=["err","ierr","xhr"],this.stackReported={},this.observedAt={},this.pageviewReported={},this.errorOnPage=!1,(0,w.i)("err",((...e)=>this.storeError(...e)),this.featureName,this.ee),(0,w.i)("ierr",((...e)=>this.storeError(...e)),this.featureName,this.ee),(0,w.i)("returnJserror",((e,t)=>
1this.#R(e,t)),this.featureName,this.ee),this.waitForFlags(["err"]).then((([e])=>{e?this.drain():(this.blocked=!0,this.deregisterDrain())}))}serializer(e){return(0,E.G)(e,this.obfuscator.obfuscateString.bind(this.obfuscator),"string")}queryStringsBuilder(e){const t={},r=(0,S.A)(this.agentRef.runtime.releaseIds);return"{}"!==r&&(t.ri=r),e?.err?.length&&(this.errorOnPage||(t.pve="1",this.errorOnPage=!0),this.agentRef.features?.[R.K7.sessionReplay]?.featAggregate?.replayIsActive()||e.err.forEach((e=>delete e.params.hasReplay))),t}buildCanonicalStackString(e){for(var t="",r=0;r<e.frames.length;r++){var n=e.frames[r],i=s(n.func);t&&(t+="\n"),i&&(t+=i+"@"),"string"==typeof n.url&&(t+=n.url),n.line&&(t+=":"+n.line)}return t}storeError(e,t,r,n,s,i,o){if(!e)return;let c;if(t=t||(0,I.t)(),!r&&this.agentRef.runtime.onerror&&(c=this.agentRef.runtime.onerror(e),c&&("string"!=typeof c.group||!c.group.length)))return;var l=g(e);const{shouldSwallow:u,reason:h}=function(e,t,r){const n={shouldSwallow:t||!1,reason:r||"Other"},s=e.frames?.[0];if(!s||"string"!=typeof e?.message)return n;const i=s?.url?.match(/nr-(.*)-recorder.min.js/),o=s?.url?.match(/rrweb/),a=s?.url?.match(/recorder/),c=e.message.toLowerCase().match(/an attempt was made to break through the security policy of the user agent/);return i||o?(n.shouldSwallow=!0,n.reason=T,c&&(n.reason+="-"+M)):a&&c&&(n.shouldSwallow=!0,n.reason=T+"-"+M),n}(l,r,i);if(u)return void this.reportSupportabilityMetric("Internal/Error/"+h);var d=this.buildCanonicalStackString(l);const p=function(e){let t="";if(!e?.cause)return t;if(e.cause instanceof Error){const r=g(e.cause);t=r.stackString||e.cause.stack,r.message&&!t.includes(r.message)&&(t=r.message+"\n"+t),r.name&&!t.includes(r.name)&&(t=r.name+": "+t)}else t="string"==typeof e.cause?e.cause:(0,S.A)(e.cause);return t||=e.cause.toString(),t}(e),f={stackHash:b(d),exceptionClass:l.name,request_uri:a.gm?.location.pathname,...p&&{cause:p}};l.message&&(f.message=""+l.message),c?.group&&(f.errorGroup=c.group),s&&!o&&(f.hasReplay=s);var m,y=b("".concat(l.name,"_").concat(l.message,"_").concat(l.stackString,"_").concat(f.hasReplay?1:0,"_").concat(o?.id||"container"));this.stackReported[y]?f.browser_stack_hash=b(l.stackString):(this.stackReported[y]=!0,f.stack_trace=(m=l.stackString).length>65530?m.substr(0,65530):m,this.observedAt[y]=Math.floor(this.agentRef.runtime.timeKeeper.correctRelativeTimestamp(t))),f.releaseIds=(0,S.A)(this.agentRef.runtime.releaseIds),this.pageviewReported[y]||(f.pageview=1,this.pageviewReported[y]=!0),f.firstOccurrenceTimestamp=this.observedAt[y],f.timestamp=Math.floor(this.agentRef.runtime.timeKeeper.correctRelativeTimestamp(t));const v=["err",y,f,{time:t},n];if(o||(0,C.p)("trace-jserror",v,void 0,R.K7.sessionTrace,this.ee),!this.blocked){if(e.__newrelic?.[this.agentIdentifier]&&(f._interactionId=e.__newrelic[this.agentIdentifier].interactionId,f._interactionNodeId=e.__newrelic[this.agentIdentifier].interactionNodeId),e.__newrelic?.socketId&&(n.socketId=e.__newrelic.socketId),!o){Boolean(this.agentRef.features?.[R.K7.softNav])?(0,C.p)("jserror",[v],void 0,R.K7.softNav,this.ee):this.#R(v,!1)}o&&this.#R([...v,o],!1,f._softNavAttributes)}}#R(e,t={}){let[r,n,s,i,o,a]=e;const c={...(0,A.U)(a,this)};Object.entries(this.agentRef.info.jsAttributes).forEach((([e,t])=>u(e,t))),Object.entries(t).forEach((([e,t])=>u(e,t))),s.browserInteractionId&&(n+=s.browserInteractionId),o&&Object.entries(o).forEach((([e,t])=>u(e,t)));const l=n+":"+b((0,S.A)(c));function u(e,t){c[e]=t&&"object"==typeof t?(0,S.A)(t):t}this.events.add([r,l,s,i,c])}}},7023:function(e,t,r){r.d(t,{$v:function(){return u},TZ:function(){return n},Xh:function(){return c},Zp:function(){return s},kd:function(){return l},mq:function(){return a},nf:function(){return o},qN:function(){return i}});const n=r(9470).K7.genericEvents,s=["auxclick","click","copy","keydown","paste","scrollend"],i=["focus","blur"],o=4,a=1e3,c=2e3,l=["PageAction","UserAction","BrowserPerformance"],u={RESOURCES:"experimental.resources",REGISTER:"register"}},7050:function(e,t,r){r.r(t),r.d(t,{Aggregate:function(){return N}});var n=r(2024),s=r(7187),i=r(8740);const o="React",a="NextJS",c="Vue",l="NuxtJS",u="Angular",h="AngularUniversal",d="Svelte",p="SvelteKit",f="Preact",m="PreactSSR",g="AngularJS",y="Backbone",v="Ember",b="Meteor",w="Zepto",S="Jquery",C="MooTools",k="Qwik",R="Flutter",x="Electron";function I(){if(!i.RI)return[];const e=[];try{(function(){try{return Object.prototype.hasOwnProperty.call(window,"React")||Object.prototype.hasOwnProperty.call(window,"ReactDOM")||Object.prototype.hasOwnProperty.call(window,"ReactRedux")||document.querySelector("[data-reactroot], [data-reactid]")||(()=>{const e=document.querySelectorAll("body > div");for(let t=0;t<e.length;t++)if(Object.prototype.hasOwnProperty.call(e[t],"_reactRootContainer"))return!0})()}catch(e){return!1}})()&&(e.push(o),function(){try{return Object.prototype.hasOwnProperty.call(window,"next")&&Object.prototype.hasOwnProperty.call(window.next,"version")}catch(e){return!1}}()&&e.push(a)),function(){try{return Object.prototype.hasOwnProperty.call(window,"Vue")}catch(e){return!1}}()&&(e.push(c),function(){try{return Object.prototype.hasOwnProperty.call(window,"$nuxt")&&Object.prototype.hasOwnProperty.call(window.$nuxt,"nuxt")}catch(e){return!1}}()&&e.push(l)),function(){try{return Object.prototype.hasOwnProperty.call(window,"ng")||document.querySelector("[ng-version]")}catch(e){return!1}}()&&(e.push(u),function(){try{return document.querySelector("[ng-server-context]")}catch(e){return!1}}()&&e.push(h)),function(){try{return Object.prototype.hasOwnProperty.call(window,"__svelte")}catch(e){return!1}}()&&(e.push(d),function(){try{return!!Object.keys(window).find((e=>e.startsWith("__sveltekit")))}catch(e){return!1}}()&&e.push(p)),function(){try{return Object.prototype.hasOwnProperty.call(window,"preact")}catch(e){return!1}}()&&(e.push(f),function(){try{return document.querySelector('script[type="__PREACT_CLI_DATA__"]')}catch(e){return!1}}()&&e.push(m)),function(){try{return Object.prototype.hasOwnProperty.call(window,"angular")||document.querySelector(".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]")||document.querySelector('script[src*="angular.js"], script[src*="angular.min.js"]')}catch(e){return!1}}()&&e.push(g),Object.prototype.hasOwnProperty.call(window,"Backbone")&&e.push(y),Object.prototype.hasOwnProperty.call(window,"Ember")&&e.push(v),Object.prototype.hasOwnProperty.call(window,"Meteor")&&e.push(b),Object.prototype.hasOwnProperty.call(window,"Zepto")&&e.push(w),Ob
1ject.prototype.hasOwnProperty.call(window,"jQuery")&&e.push(S),Object.prototype.hasOwnProperty.call(window,"MooTools")&&e.push(C),Object.prototype.hasOwnProperty.call(window,"qwikevents")&&e.push(k),Object.hasOwn(window,"_flutter")&&e.push(R),function(){try{return"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron")>=0}catch(e){return!1}}()&&e.push(x)}catch(e){}return e}var E=r(9274),T=r(2919),M=r(7508),A=r(8282),O=r(2293);class N extends A.r{static featureName=s.TZ;constructor(e){super(e,s.TZ),this.harvestOpts.aggregatorTypes=["cm","sm"],this.harvestMetadata={},this.harvestOpts.beforeUnload=()=>{(function(e){try{const t=[],r=(...e)=>e.join("/");function n(e,n,s,i){const o="audit";s?i?t.push(r(o,e,n,"true","positive")):t.push(r(o,e,n,"false","positive")):i?t.push(r(o,e,n,"false","negative")):t.push(r(o,e,n,"true","negative"))}return e.page_view_event&&(n("page_view","hasReplay",e.page_view_event.hasReplay,!!e.session_replay),n("page_view","hasTrace",e.page_view_event.hasTrace,!!e.session_trace)),e.session_replay&&n("session_replay","hasError",e.session_replay.hasError,!!e.jserrors),t}catch(s){return[]}})(this.harvestMetadata).forEach((e=>{this.storeSupportabilityMetrics(e)}))},this.agentNonce=i.RI&&document.currentScript?.nonce,this.waitForFlags(["err"]).then((([e])=>{e?(this.singleChecks(),this.eachSessionChecks(),this.drain()):(this.blocked=!0,this.deregisterDrain())})),(0,n.i)(s.xV,this.storeSupportabilityMetrics.bind(this),this.featureName,this.ee),(0,n.i)(s.XG,this.storeEventMetrics.bind(this),this.featureName,this.ee)}preHarvestChecks(e){return this.drained&&e.isFinalHarvest}storeSupportabilityMetrics(e,t){if(this.blocked)return;const r=s.rs,n={name:e};this.events.addMetric(r,e,n,t)}storeEventMetrics(e,t){if(this.blocked)return;const r=s.z_,n={name:e};this.events.add([r,e,n,t])}singleChecks(){const{distMethod:e,loaderType:t}=this.agentRef.runtime,{proxy:r,privacy:s}=this.agentRef.init;if(t&&this.storeSupportabilityMetrics("Generic/LoaderType/".concat(t,"/Detected")),e&&this.storeSupportabilityMetrics("Generic/DistMethod/".concat(e,"/Detected")),i.RI?(this.storeSupportabilityMetrics("Generic/Runtime/Browser/Detected"),this.agentNonce&&""!==this.agentNonce&&this.storeSupportabilityMetrics("Generic/Runtime/Nonce/Detected"),(0,T.sB)((()=>{I().forEach((e=>{this.storeSupportabilityMetrics("Framework/"+e+"/Detected")}))})),s.cookies_enabled||this.storeSupportabilityMetrics("Config/SessionTracking/Disabled")):i.bv?this.storeSupportabilityMetrics("Generic/Runtime/Worker/Detected"):this.storeSupportabilityMetrics("Generic/Runtime/Unknown/Detected"),(0,E.p)()&&this.storeSupportabilityMetrics("Generic/FileProtocol/Detected"),this.obfuscator.obfuscateConfigRules.length>0&&this.storeSupportabilityMetrics("Generic/Obfuscate/Detected"),r.assets&&this.storeSupportabilityMetrics("Config/AssetsUrl/Changed"),r.beacon&&this.storeSupportabilityMetrics("Config/BeaconUrl/Changed"),i.RI&&window.MutationObserver){(0,O.v)(window)&&this.storeSupportabilityMetrics("Generic/Runtime/IFrame/Detected");const e=window.document.querySelectorAll("video").length;e&&this.storeSupportabilityMetrics("Generic/VideoElement/Added",e);const t=window.document.querySelectorAll("iframe").length;t&&this.storeSupportabilityMetrics("Generic/IFrame/Added",t);new MutationObserver((e=>{e.forEach((e=>{e.addedNodes.forEach((e=>{e instanceof HTMLVideoElement&&this.storeSupportabilityMetrics("Generic/VideoElement/Added",1),e instanceof HTMLIFrameElement&&this.storeSupportabilityMetrics("Generic/IFrame/Added",1)}))}))})).observe(window.document.body,{childList:!0,subtree:!0})}navigator.webdriver&&this.storeSupportabilityMetrics("Generic/WebDriver/Detected"),(0,n.i)("harvest-metadata",((e={})=>{try{Object.keys(e).forEach((t=>{Object.assign(this.harvestMetadata[t]??={},e[t])}))}catch(e){}}),this.featureName,this.ee)}eachSessionChecks(){i.RI&&(0,M.sp)("pageshow",(e=>{e?.persisted&&this.storeSupportabilityMetrics("Generic/BFCache/PageRestored")}))}}},7187:function(e,t,r){r.d(t,{TZ:function(){return n},XG:function(){return a},rs:function(){return s},xV:function(){return o},z_:function(){return i}});const n=r(9470).K7.metrics,s="sm",i="cm",o="storeSupportabilityMetrics",a="storeEventMetrics"},7192:function(e,t,r){r.r(t),r.d(t,{Aggregate:function(){return j}});var n=r(8740),s="Start",i="End",o="unloadEvent",a="redirect",c="domainLookup",l="onnect",u="response",h="loadEvent",d="domContentLoadedEvent";const p=[];function f(e,t,r={},n=!1){if(t)return r.of=e,g(r.of,r,"n",!0),g(t[o+s],r,"u",n),g(t[a+s],r,"r",n),g(t[o+i],r,"ue",n),g(t[a+i],r,"re",n),g(t["fetch"+s],r,"f",n),g(t[c+s],r,"dn",n),g(t[c+i],r,"dne",n),g(t["c"+l+s],r,"c",n),g(t["secureC"+l+"ion"+s],r,"s",n),g(t["c"+l+i],r,"ce",n),g(t["request"+s],r,"rq",n),g(t[u+s],r,"rp",n),g(t[u+i],r,"rpe",n
1),g(t.domLoading,r,"dl",n),g(t.domInteractive,r,"di",n),g(t[d+s],r,"ds",n),g(t[d+i],r,"de",n),g(t.domComplete,r,"dc",n),g(t[h+s],r,"l",n),g(t[h+i],r,"le",n),r}function m(e,t){try{g("number"==typeof(r=e.type)?r:{navigate:void 0,reload:1,back_forward:2,prerender:3}[r],t,"ty"),g(e.redirectCount,t,"rc")}catch(e){t.ty=0,t.rc=0}var r;return t}function g(e,t,r,n){if("number"==typeof e&&e>0){if(n){const r=t?.of>0?t.of:0;e=Math.max(e-r,0)}e=Math.round(e),t[r]=e,p.push(e)}else p.push(void 0)}var y=r(1690),v=r(9077),b=r(7200),w=r(9470),S=r(1966);function C(e){const t=[],r=(0,S.Zm)();try{Object.keys(r.initializedAgents[e].features).forEach((e=>{switch(e){case w.K7.ajax:t.push("xhr");break;case w.K7.jserrors:t.push("err");break;case w.K7.genericEvents:t.push("ins");break;case w.K7.sessionTrace:t.push("stn");break;case w.K7.softNav:case w.K7.spa:t.push("spa")}}))}catch(e){}return t}var k=r(8903),R=r(9674),x=r(8282),I=r(702),E=r(1291),T=r(3209),M=r(9507),A=r(7226);const O=new M.x(T.w.TIME_TO_FIRST_BYTE);if(n.RI&&(0,n.eN)()&&!n.OF&&window===window.parent)(0,A.Ck)((({value:e,attribution:t})=>{O.isValid||O.update({value:e,attrs:{navigationEntry:t.navigationEntry}})}));else if(!O.isValid){const e={};for(let t in n.gm?.performance?.timing||{})e[t]=Math.max(n.gm?.performance?.timing[t]-n.WN,0);O.update({value:e.responseStart,attrs:{navigationEntry:e}})}var N=r(1609),D=r(3720);class _{#x;#I;#E;#T=!1;constructor(e){this.#x=e,this.processStoredDiff(),(0,D.i)(performance.now,Date.now)}get ready(){return this.#T}get correctedOriginTime(){return this.#I}get localTimeDiff(){return this.#E}processRumRequest(e,t,r,s){if(this.processStoredDiff(),this.#T)return;if(!s)throw new Error("nrServerTime not found");const i=t+(r-t)/2;if(this.#I=Math.floor(s-i),this.#E=n.WN-this.#I,isNaN(this.#I))throw new Error("Failed to correct browser time to server time");this.#x?.write({serverTimeDiff:this.#E}),this.#T=!0}convertRelativeTimestamp(e){return n.WN+e}convertAbsoluteTimestamp(e){return e-n.WN}correctAbsoluteTimestamp(e){return e-this.#E}correctRelativeTimestamp(e){return this.correctAbsoluteTimestamp(this.convertRelativeTimestamp(e))}processStoredDiff(){if(this.#T)return;const e=this.#x?.read()?.serverTimeDiff;"number"!=typeof e||isNaN(e)||(this.#E=e,this.#I=n.WN-this.#E,this.#T=!0)}}var L=r(2209),F=r(9017),P=r(5668),B=r(8689);class j extends x.r{static featureName=b.T;constructor(e){if(super(e,b.T),this.sentRum=!1,this.timeToFirstByte=0,this.firstByteToWindowLoad=0,this.firstByteToDomContent=0,this.retries=0,!(0,v.f)(e.info))return this.ee.abort(),(0,R.R)(43);e.runtime.timeKeeper=new _(e.runtime.session),n.RI?(O.subscribe((({value:e,attrs:t})=>{const r=t.navigationEntry;this.timeToFirstByte=Math.max(e,this.timeToFirstByte),this.firstByteToWindowLoad=Math.max(Math.round(r.loadEventEnd-this.timeToFirstByte),this.firstByteToWindowLoad),this.firstByteToDomContent=Math.max(Math.round(r.domContentLoadedEventEnd-this.timeToFirstByte),this.firstByteToDomContent)})),setTimeout(this.sendRum.bind(this),0)):this.sendRum()}sendRum(e=this.agentRef.info.jsAttributes){const t=this.agentRef.info,r={};t.queueTime&&(r.qt=t.queueTime),t.applicationTime&&(r.ap=t.applicationTime),r.be=this.timeToFirstByte,r.fe=this.firstByteToWindowLoad,r.dc=this.firstByteToDomContent;const s={tt:t.ttGuid,us:t.user,ac:t.account,pr:t.product,af:C(this.agentIdentifier).join(","),...r,xx:t.extra,ua:t.userAttributes,at:t.atts};this.agentRef.runtime.session&&(s.fsh=Number(this.agentRef.runtime.session.isNew));let i=(0,L.G)({ja:{...e,webdriverDetected:B.R}},this.obfuscator.obfuscateString.bind(this.obfuscator),"string");if(n.gm.performance)if((0,n.eN)()){const e=n.gm?.performance?.getEntriesByType("navigation")?.[0],t={timing:f(n.WN,e,{}),navigation:m(e,{})};s.perf=(0,y.A)(t)}else if("undefined"!=typeof PerformanceTiming){const e={timing:f(n.WN,n.gm.performance.timing,{},!0),navigation:m(n.gm.performance.navigation,{})};s.perf=(0,y.A)(e)}s.fp=E.J.current.value,s.fcp=I.j.current.value,this.queryStringsBuilder=()=>{this.rumStartTime=(0,N.t)();const e=this.agentRef.runtime.timeKeeper;return e?.ready&&(s.timestamp=Math.floor(e.correctRelativeTimestamp(this.rumStartTime))),s},this.events.add(i),this.agentRef.runtime.harvester.triggerHarvestFor(this,{sendEmptyBody:!0}).ranSend&&(this.sentRum=!0)}serializer(e){return e[0]}postHarvestCleanup({sent:e,status:t,responseText:r,xhr:n,retry:s}){const i=(0,N.t)();let o,a;try{({app:o,...a}=JSON.parse(r))}catch(e){(0,R.R)(53,e)}if(super.postHarvestCleanup({sent:e,retry:s}),this.isRetrying&&this.retries++<1)setTimeout((()=>this.agentRef.runtime.harvester.triggerHarvestFor(this,{sendEmptyBody:!0})),5e3);else{if(t>=400||0===t){(0,R.R)(18,t),this.blocked=!0;const e=new TextEncoder,r="BCS/Error/",n={sm:[{params:{name:r+t},stats:{c:1}},{params:{name:r+"Dropped/Bytes"},stats:{c:1,t:Object.values(newrelic.ee.backlog).reduce(((t,r)=>{if(!r)return t;return t+e.encode(r).byteLength}),0)}},{params:{name:r+"Duration/Ms"},stats:{c:1,t:i-this.rumStartTime}}]};return(0,F.t)(this.agentRef,{endpoint:w.$J[w.K7.metrics],payload:{body:n},submitMethod:(0,P.mj)(),featureName:w.K7.metrics}),void this.ee.abort()}try{const e=this.agentRef.runtime.timeKeeper.ready;if(this.agentRef.runtime.timeKeeper.processRumRequest(n,this.rumStartTime,i,o.nrServerTime),!this.agentRef.runtime.timeKeeper.ready)throw new Error("TimeKeeper not ready");const t=this.agentRef.runtime.timeKeeper.correctedOriginTime-o.nrServerTime;e&&t>0&&this.reportSupportabilityMetric("Generic/TimeKeeper/InvalidTimestamp/Seen",t)}catch(e){return this.ee.abort(),this.blocked=!0,void(0,R.R)(17,e)}Object.keys(this.agentRef.runtime.appMetadata).length||(this.agentRef.runtime.appMetadata=o),this.drain(),this.agentRef.runtime.harvester.startTimer(),(0,k.t)(a,this.agentRef)}}}},7200:function(e,t,r){r.d(t,{T:function(){return n}});const n=r(9470).K7.pageViewEvent},7218:function(e,t,r){function n(e){return e?.constructor==={}.constructor}r.d(t,{a:function(){return n}})},7226:function(e,t,r){r.d(t,{Ck:function(){return ce},IN:function(){return M},fK:function(){return se},rH:function(){return te},zB:function(){return A}});var n,s,i=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},o=function(e){if("loading"===document.readyState)return"loading";var t=i();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e<t.domComplete)return"dom-content-loaded"}return"complete"},a=function(e){var t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},c=function(e,t){var r="";try{for(;e&&9!==e.nodeType;){var n=e,s=n.id?"#"+n.id:a(n)+(n.classList&&n.classList.value&&n.classList.value.trim()&&n.classList.value.trim().length?"."+n.classList.value.trim().replace(/\s+/g,"."):"");if(r.length+s.length>(t||100)-1)return r||s;if(r=r?s+">"+r:s,n.id)break;e=n.parentNode}}catch(e){}return r},l=-1,u=function(){return l},h=function(e){addEventListener("pageshow",(function(t){t.persisted&&(l=t.timeStamp,e(t))}),!0)},d=function(){var e=i();return e&&e.activationStart||0},p=function(e,t){var r=i(),n="navigate";return u()>=0?n="back-forward-cache":r&&(document.prerendering||d()>0?n="prerender":document.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},f=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},m=function(e,t,r,n){var s,i;return function(o){t.value>=0&&(o||n)&&((i=t.value-(s||0))||void 0===s)&&(s=t.value,t.delta=i,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,r),e(t))}},g=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},y=function(e){document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&e()}))},v=function(e){var t=!1;return function(){t||(e(),t=!0)}},b=-1,w=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},S=function(e){"hidden"===document.visibilityState&&b>-1&&(b="visibilitychange"===e.type?e.timeStamp:0,k())},C=function(){addEventListener("visibilitychange",S,!0),addEventListener("prerenderingchange",S,!0)},k=function(){removeEventListener("visibilitychange",S,!0),removeEventListener("prerenderingchange",S,!0)},R=function(){return b<0&&(b=w(),C(),h((function(){setTimeout((function(){b=w(),C()}),0)}))),{get firstHiddenTime(){return b}}},x=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},I=[1800,3e3],E=function(e,t){t=t||{},x((function(){var r,n=R(),s=p("FCP"),i=f("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(i.disconnect(),e.startTime<n.firstHiddenTime&&(s.value=Math.max(e.startTime-d(),0),s.entries.push(e),r(!0)))}))}));i&&(r=m(e,s,I,t.reportAllChanges),h((function(n){s=p("FCP"),r=m(e,s,I,t.reportAllChanges),g((function(){s.value=performance.now()-n.timeStamp,r(!0)}))})))}))},T=[.1,.25],M=function(e,t){!function(e,t){t=t||{},E(v((function(){var r,n=p("CLS",0),s=0,i=[],o=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=i[0],r=i[i.length-1];s&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(s+=e.value,i.push(e)):(s=e.value,i=[e])}})),s>n.value&&(n.value=s,n.entries=i,r())},a=f("layout-shift",o);a&&(r=m(e,n,T,t.reportAllChanges),y((function(){o(a.takeRecords()),r(!0)})),h((function(){s=0,n=p("CLS",0),r=m(e,n,T,t.reportAllChanges),g((function(){return r()}))})),setTimeout(r,0))})))}((function(t){var r=function(e){var t,r={};if(e.entries.length){var n=e.entries.reduce((function(e,t){return e&&e.value>t.value?e:t}));if(n&&n.sources&&n.sources.length){var s=(t=n.sources).find((function(e){return e.no
vendor: 4,973 bytes, line 1
1de&&1===e.node.nodeType}))||t[0];s&&(r={largestShiftTarget:c(s.node),largestShiftTime:n.startTime,largestShiftValue:n.value,largestShiftSource:s,largestShiftEntry:n,loadState:o(n.startTime)})}}return Object.assign(e,{attribution:r})}(t);e(r)}),t)},A=function(e,t){E((function(t){var r=function(e){var t={timeToFirstByte:0,firstByteToFCP:e.value,loadState:o(u())};if(e.entries.length){var r=i(),n=e.entries[e.entries.length-1];if(r){var s=r.activationStart||0,a=Math.max(0,r.responseStart-s);t={timeToFirstByte:a,firstByteToFCP:e.value-a,loadState:o(e.entries[0].startTime),navigationEntry:r,fcpEntry:n}}}return Object.assign(e,{attribution:t})}(t);e(r)}),t)},O=0,N=1/0,D=0,_=function(e){e.forEach((function(e){e.interactionId&&(N=Math.min(N,e.interactionId),D=Math.max(D,e.interactionId),O=D?(D-N)/7+1:0)}))},L=function(){return n?O:performance.interactionCount||0},F=function(){"interactionCount"in performance||n||(n=f("event",_,{type:"event",buffered:!0,durationThreshold:0}))},P=[],B=new Map,j=0,U=[],z=function(e){if(U.forEach((function(t){return t(e)})),e.interactionId||"first-input"===e.entryType){var t=P[P.length-1],r=B.get(e.interactionId);if(r||P.length<10||e.duration>t.latency){if(r)e.duration>r.latency?(r.entries=[e],r.latency=e.duration):e.duration===r.latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};B.set(n.id,n),P.push(n)}P.sort((function(e,t){return t.latency-e.latency})),P.length>10&&P.splice(10).forEach((function(e){return B.delete(e.id)}))}}},W=function(e){var t=self.requestIdleCallback||self.setTimeout,r=-1;return e=v(e),"hidden"===document.visibilityState?e():(r=t(e),y(e)),r},H=[200,500],V=function(e,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},x((function(){var r;F();var n,s=p("INP"),i=function(e){W((function(){e.forEach(z);var t=function(){var e=Math.min(P.length-1,Math.floor((L()-j)/50));return P[e]}();t&&t.latency!==s.value&&(s.value=t.latency,s.entries=t.entries,n())}))},o=f("event",i,{durationThreshold:null!==(r=t.durationThreshold)&&void 0!==r?r:40});n=m(e,s,H,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),y((function(){i(o.takeRecords()),n(!0)})),h((function(){j=L(),P.length=0,B.clear(),s=p("INP"),n=m(e,s,H,t.reportAllChanges)})))})))},K=[],G=[],Z=0,Y=new WeakMap,J=new Map,X=-1,q=function(e){K=K.concat(e),$()},$=function(){X<0&&(X=W(Q))},Q=function(){J.size>10&&J.forEach((function(e,t){B.has(t)||J.delete(t)}));var e=P.map((function(e){return Y.get(e.entries[0])})),t=G.length-50;G=G.filter((function(r,n){return n>=t||e.includes(r)}));for(var r=new Set,n=0;n<G.length;n++){var s=G[n];ee(s.startTime,s.processingEnd).forEach((function(e){r.add(e)}))}var i=K.length-1-50;K=K.filter((function(e,t){return e.startTime>Z&&t>i||r.has(e)})),X=-1};U.push((function(e){e.interactionId&&e.target&&!J.has(e.interactionId)&&J.set(e.interactionId,e.target)}),(function(e){var t,r=e.startTime+e.duration;Z=Math.max(Z,e.processingEnd);for(var n=G.length-1;n>=0;n--){var s=G[n];if(Math.abs(r-s.renderTime)<=8){(t=s).startTime=Math.min(e.startTime,t.startTime),t.processingStart=Math.min(e.processingStart,t.processingStart),t.processingEnd=Math.max(e.processingEnd,t.processingEnd),t.entries.push(e);break}}t||(t={startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,renderTime:r,entries:[e]},G.push(t)),(e.interactionId||"first-input"===e.entryType)&&Y.set(e,t),$()}));var ee=function(e,t){for(var r,n=[],s=0;r=K[s];s++)if(!(r.startTime+r.duration<e)){if(r.startTime>t)break;n.push(r)}return n},te=function(e,t){s||(s=f("long-animation-frame",q)),V((function(t){var r=function(e){var t=e.entries[0],r=Y.get(t),n=t.processingStart,s=r.processingEnd,i=r.entries.sort((function(e,t){return e.processingStart-t.processingStart})),a=ee(t.startTime,s),l=e.entries.find((function(e){return e.target})),u=l&&l.target||J.get(t.interactionId),h=[t.startTime+t.duration,s].concat(a.map((function(e){return e.startTime+e.duration}))),d=Math.max.apply(Math,h),p={interactionTarget:c(u),interactionTargetElement:u,interactionType:t.name.startsWith("key")?"keyboard":"pointer",interactionTime:t.startTime,nextPaintTime:d,processedEventEntries:i,longAnimationFrameEntries:a,inputDelay:n-t.startTime,processingDuration:s-n,presentationDelay:Math.max(d-s,0),loadState:o(t.startTime)};return Object.assign(e,{attribution:p})}(t);e(r)}),t)},re=[2500,4e3],ne={},se=function(e,t){!function(e,t){t=t||{},x((function(){var r,n=R(),s=p("LCP"),i=function(e){t.reportAllChanges||(e=e.slice(-1)),e.forEach((function(e){e.startTime<n.firstHiddenTime&&(s.value=Math.max(e.startTime-d(),0),s.entries=[e],r())}))},o=f("largest-contentful-paint",i);if(o){r=m(e,s,re,t.reportAllChanges);var a=v((function(){ne[s.id]||(i(o.takeRecords()),o.disconnect(),ne[s.id]=!0,r(!0))}));["keydown","click"].forEach((function(e){addEventListener(e,(function(){return W(a)}),{once:!0,capture:!0})}
1)),y(a),h((function(n){s=p("LCP"),r=m(e,s,re,t.reportAllChanges),g((function(){s.value=performance.now()-n.timeStamp,ne[s.id]=!0,r(!0)}))}))}}))}((function(t){var r=function(e){var t={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:e.value};if(e.entries.length){var r=i();if(r){var n=r.activationStart||0,s=e.entries[e.entries.length-1],o=s.url&&performance.getEntriesByType("resource").filter((function(e){return e.name===s.url}))[0],a=Math.max(0,r.responseStart-n),l=Math.max(a,o?(o.requestStart||o.startTime)-n:0),u=Math.max(l,o?o.responseEnd-n:0),h=Math.max(u,s.startTime-n);t={element:c(s.element),timeToFirstByte:a,resourceLoadDelay:l-a,resourceLoadDuration:u-l,elementRenderDelay:h-u,navigationEntry:r,lcpEntry:s},s.url&&(t.url=s.url),o&&(t.lcpResourceEntry=o)}}return Object.assign(e,{attribution:t})}(t);e(r)}),t)},ie=[800,1800],oe=function e(t){document.prerendering?x((function(){return e(t)})):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},ae=function(e,t){t=t||{};var r=p("TTFB"),n=m(e,r,ie,t.reportAllChanges);oe((function(){var s=i();s&&(r.value=Math.max(s.responseStart-d(),0),r.entries=[s],n(!0),h((function(){r=p("TTFB",0),(n=m(e,r,ie,t.reportAllChanges))(!0)})))}))},ce=function(e,t){ae((function(t){var r=function(e){var t={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(e.entries.length){var r=e.entries[0],n=r.activationStart||0,s=Math.max((r.workerStart||r.fetchStart)-n,0),i=Math.max(r.domainLookupStart-n,0),o=Math.max(r.connectStart-n,0),a=Math.max(r.connectEnd-n,0);t={waitingDuration:s,cacheDuration:i-s,dnsDuration:o-i,connectionDuration:a-o,requestDuration:e.value-a,navigationEntry:r}}return Object.assign(e,{attribution:t})}(t);e(r)}),t)};new Date},7305:function(e,t,r){r.d(t,{V:function(){return s}});var n=r(8740);const s=e=>n.RI&&!0===e?.privacy.cookies_enabled},7340:function(e,t,r){r.d(t,{YM:function(){return l}});var n=r(8126),s=r(6549);const i="nr@original:".concat(s.W),o=50;var a=Object.prototype.hasOwnProperty,c=!1;function l(e,t){return e||(e=n.ee),r.inPlace=function(e,t,n,s,i){n||(n="");const o="-"===n.charAt(0);for(let a=0;a<t.length;a++){const c=t[a],l=e[c];h(l)||(e[c]=r(l,o?c+n:n,s,c,i))}},r.flag=i,r;function r(t,r,n,c,l){return h(t)?t:(r||(r=""),d[i]=t,function(e,t,r){if(Object.defineProperty&&Object.keys)try{return Object.keys(e).forEach((function(r){Object.defineProperty(t,r,{get:function(){return e[r]},set:function(t){return e[r]=t,t}})})),t}catch(e){u([e],r)}for(var n in e)a.call(e,n)&&(t[n]=e[n])}(t,d,e),d);function d(){var i,a,h,d;let p;try{a=this,i=[...arguments],h="function"==typeof n?n(i,a):n||{}}catch(t){u([t,"",[i,a,c],h],e)}s(r+"start",[i,a,c],h,l);const f=performance.now();let m;try{return d=t.apply(a,i),m=performance.now(),d}catch(e){throw m=performance.now(),s(r+"err",[i,a,e],h,l),p=e,p}finally{const e=m-f,t={start:f,end:m,duration:e,isLongTask:e>=o,methodName:c,thrownError:p};t.isLongTask&&s("long-task",[t,a],h,l),s(r+"end",[i,a,d],h,l)}}}function s(r,n,s,i){if(!c||t){var o=c;c=!0;try{e.emit(r,n,s,t,i)}catch(t){u([t,r,n,s],e)}c=o}}}function u(e,t){t||(t=n.ee);try{t.emit("internal-error",e)}catch(e){}}function h(e){return!(e&&"function"==typeof e&&e.apply&&!e[i])}},7508:function(e,t,r){function n(e,t){return{capture:e,passive:!1,signal:t}}function s(e,t,r=!1,s){window.addEventListener(e,t,n(r,s))}function i(e,t,r=!1,s){document.addEventListener(e,t,n(r,s))}r.d(t,{DD:function(){return i},jT:function(){return n},sp:function(){return s}})},7517:function(e,t,r){r.d(t,{It:function(){return i},KC:function(){return a},No:function(){return s},qh:function(){return o}});var n=r(9470);const s=16e3,i=1e6,o="SESSION_ERROR",a={[n.K7.logging]:!0,[n.K7.genericEvents]:!1,[n.K7.jserrors]:!1,[n.K7.ajax]:!1}},7688:function(e,t,r){r.d(t,{W:function(){return i}});var n=r(8126),s=r(6657);class i{constructor(e,t){this.agentIdentifier=e,this.ee=n.ee.get(e),this.featureName=t,this.blocked=!1}deregisterDrain(){(0,s.x3)(this.agentIdentifier,this.featureName)}}},8126:function(e,t,r){r.d(t,{P:function(){return a},ee:function(){return c}});var n=r(1966),s=r(9176),i=r(1752),o=r(6549);const a="nr@context:".concat(o.W),c=function e(t,r){var n={},o={},u={},h=!1;try{h=16===r.length&&l.initializedAgents?.[r]?.runtime.isolatedBacklog}catch(e){}var d={on:f,addEventListener:f,removeEventListener:function(e,t){var r=n[e];if(!r)return;for(var s=0;s<r.length;s++)r[s]===t&&r.splice(s,1)},emit:function(e,r,n,s,i){!1!==i&&(i=!0);if(c.aborted&&!s)return;t&&i&&t.emit(e,r,n);var a=p(n);m(e).forEach((e=>{e.apply(a,r)}));var l=y()[o[e]];l&&l.push([d,e,r,a]);return a},get:g,listeners:m,context:p,buffer:function(e,t){const r=y();if(t=t||"feature",d.aborted)return;Object.entries(e||{}
1).forEach((([e,n])=>{o[n]=t,t in r||(r[t]=[])}))},abort:function(){d._aborted=!0,Object.keys(d.backlog).forEach((e=>{delete d.backlog[e]}))},isBuffering:function(e){return!!y()[o[e]]},debugId:r,backlog:h?{}:t&&"object"==typeof t.backlog?t.backlog:{},isolatedBacklog:h};return Object.defineProperty(d,"aborted",{get:()=>{let e=d._aborted||!1;return e||(t&&(e=t.aborted),e)}}),d;function p(e){return e&&e instanceof i.y?e:e?(0,s.I)(e,a,(()=>new i.y(a))):new i.y(a)}function f(e,t){n[e]=m(e).concat(t)}function m(e){return n[e]||[]}function g(t){return u[t]=u[t]||e(d,t)}function y(){return d.backlog}}(void 0,"globalEE"),l=(0,n.Zm)();l.ee||(l.ee=c)},8282:function(e,t,r){r.d(t,{r:function(){return C}});var n=r(7688),s=r(9077),i=r(8795),o=r(1966),a=r(6657),c=r(8903),l=r(9274),u=r(9674);class h{constructor(e){this.agentRef=e,this.warnedRegexMissing=!1,this.warnedInvalidRegex=!1,this.warnedInvalidReplacement=!1}get obfuscateConfigRules(){return this.agentRef.init.obfuscate||[]}obfuscateString(e){if("string"!=typeof e||0===e.trim().length)return e;const t=this.obfuscateConfigRules.map((e=>this.validateObfuscationRule(e)));return(0,l.p)()&&t.push({regex:/^file:\/\/(.*)/,replacement:atob("ZmlsZTovL09CRlVTQ0FURUQ=")}),t.filter((e=>e.isValid)).reduce(((e,t)=>{const{rule:r}=t;return e.replace(r.regex,r.replacement||"*")}),e)}validateObfuscationRule(e){const t=Boolean(void 0===e.regex),r=Boolean(void 0!==e.regex&&"string"!=typeof e.regex&&!(e.regex instanceof RegExp)),n=Boolean(e.replacement&&"string"!=typeof e.replacement);return t&&!this.warnedRegexMissing?((0,u.R)(12,e),this.warnedRegexMissing=!0):r&&!this.warnedInvalidRegex&&((0,u.R)(13,e),this.warnedInvalidRegex=!0),n&&!this.warnedInvalidReplacement&&((0,u.R)(14,e),this.warnedInvalidReplacement=!0),{rule:e,isValid:!t&&!r&&!n,errors:{regexMissingDetected:t,invalidRegexDetected:r,invalidReplacementDetected:n}}}}var d=r(9470),p=r(9017),f=r(9281),m=r(4842),g=r(7187);class y{constructor(){this.aggregatedData={}}store(e,t,r,n,s){var i=this.#M(e,t,r,s);return i.metrics=function(e,t){t||(t={count:0});return t.count+=1,Object.entries(e||{}).forEach((([e,r])=>{t[e]=v(r,t[e])})),t}(n,i.metrics),i}merge(e,t,r,n,s,i=!1){var o=this.#M(e,t,n,s);if(i&&(o.params=n),o.metrics){var a=o.metrics;a.count+=r.count,Object.keys(r||{}).forEach((e=>{if("count"!==e){var t=a[e],n=r[e];n&&!n.c?a[e]=v(n.t,t):a[e]=function(e,t){if(!t)return e;t.c||(t=b(t.t));return t.min=Math.min(e.min,t.min),t.max=Math.max(e.max,t.max),t.t+=e.t,t.sos+=e.sos,t.c+=e.c,t}(n,a[e])}}))}else o.metrics=r}storeMetric(e,t,r,n){var s=this.#M(e,t,r);return s.stats=v(n,s.stats),s}take(e,t=!0){for(var r={},n="",s=!1,i=0;i<e.length;i++)r[n=e[i]]=Object.values(this.aggregatedData[n]||{}),r[n].length&&(s=!0),t&&delete this.aggregatedData[n];return s?r:null}#M(e,t,r,n){this.aggregatedData[e]||(this.aggregatedData[e]={});var s=this.aggregatedData[e][t];return s||(s=this.aggregatedData[e][t]={params:r||{}},n&&(s.custom=n)),s}}function v(e,t){return null==e?function(e){e?e.c++:e={c:1};return e}(t):t?(t.c||(t=b(t.t)),t.c+=1,t.t+=e,t.sos+=e*e,e>t.max&&(t.max=e),e<t.min&&(t.min=e),t):{t:e}}function b(e){return{t:e,min:e,max:e,sos:e*e,c:1}}class w{#A=new y;#O={};byteSize(){return 0}isEmpty({aggregatorTypes:e}){return e?e.every((e=>!this.#A.aggregatedData[e])):0===Object.keys(this.#A.aggregatedData).length}add([e,t,r,n,s]){return this.#A.store(e,t,r,n,s),!0}addMetric(e,t,r,n){return this.#A.storeMetric(e,t,r,n),!0}save({aggregatorTypes:e}){const t=e.toString(),r={};e.forEach((e=>r[e]=this.#A.aggregatedData[e])),this.#O[t]=r}get(e){const t=Array.isArray(e)?e:e.aggregatorTypes;return this.#A.take(t,!1)}clear({aggregatorTypes:e}={}){e?e.forEach((e=>delete this.#A.aggregatedData[e])):this.#A.aggregatedData={}}reloadSave({aggregatorTypes:e}){const t=e.toString(),r=this.#O[t];e.forEach((e=>{Object.keys(r[e]||{}).forEach((t=>{const n=r[e][t];this.#A.merge(e,t,n.metrics,n.params,n.custom,!0)}))}))}clearSave({aggregatorTypes:e}){const t=e.toString();delete this.#O[t]}}var S=r(7517);class C extends n.W{constructor(e,t){super(e.agentIdentifier,t),this.agentRef=e,this.checkConfiguration(e),this.doOnceForAllAggregate(e),this.customAttributesAreSeparate=!1,this.canHarvestEarly=!0,this.isRetrying=!1,this.harvestOpts={},this.#N(),this.waitForDrain()}#N(){if(!this.events)switch(this.featureName){case d.K7.sessionReplay:break;case d.K7.jserrors:case d.K7.metrics:this.events=this.agentRef.sharedAggregator??=new w;break;default:this.events=new f.Z(S.It,this)}}get supportsRegisteredEntities(){return this.featureName in S.KC&&(S.KC[this.featureName]||this.agentRef.init.feature_flags.includes("register."+this.featureName))}get harvestEndpointVersion(){return this.supportsRegisteredEntities&&this.agentRef.runtime.registeredEntities.length?2:1}waitForDrain(){this.ee.on("drain-"+this.featureName,(()=>{this.drained||setTimeout((()=>this.agentRef.runtime.harvester.triggerHarvestFor(this)),1),this.drained=!0}))}decideEarlyHarvest(){if(!this.canHarvestEarly||this.blocked||this.isRetrying)return;const e=this.events.byteSize()+(this.customAttributesAreSeparate?this.agentRef.runtime.jsAttributesMetadata.bytes:0);e>S.No&&(this.agentRef.runtime.harvester.triggerHarvestFor(this),this.reportSupportabilityMetric("".concat(this.featureName,"/Harvest/Early/Seen"),e))}waitForFlags(e=[]){return new Promise(((t,r)=>{function n(t){return e.map((e=>t[e]?t[e]:0))}c.B[this.agentIdentifier]?t(n(c.B[this.agentIdentifier])):this.ee.on("rumresp",((e={})=>{t(n(e))}))})).catch((e=>{this.ee.emit("internal-error",[e]),this.blocked=!0,this.deregisterDrain()}))}drain(){(0,a.Ze)(this.agentIdentifier,this.featureName)}preHarvestChecks(e){return!this.blocked&&!this.ee.aborted}makeHarvestPayload(e=!1,t={}){if(!this.events||this.events.isEmpty(this.harvestOpts))return;if(this.preHarvestChecks&&!this.preHarvestChecks(t))return;e&&this.events.save(this.harvestOpts);const r=this.events.get(this.harvestOpts);if(!r)return;this.events.clear(this.harvestOpts);const n={body:this.serializer?this.serializer(r):r};return this.queryStringsBuilder&&(n.qs=this.queryStringsBuilder(r)),n}postHarvestCleanup(e={}){this.isRetrying=e.sent&&e.retry,this.isRetrying&&this.events.reloadSave(this.harvestOpts),this.events.clearSave(this.harvestOpts)}checkConfiguration(e){if(!(0,s.f)(e.info)){const t=(0,o.pV)();let r={...t.info?.jsAttributes};try{r={...r,...e.info?.jsAttributes}}catch(e){}(0,i.j)(e,{...t,info:{...t.info,jsAttributes:r},runtime:e.runtime},e.runtime.loaderType)}}doOnceForAllAggregate(e){e.runtime.obfuscator||(e.runtime.obfuscator=new h(e)),this.obfuscator=e.runtime.obfuscator,e.runtime.harvester||(e.runtime.harvester=new p.P(e))}reportSupportabilityMetric(e,t){(0,m.p)(g.xV,[e,t],void 0,d.K7.metrics,this.ee)}}},8689:function(e,t,r){r.d(t,{R:function(){return s}});var n=r(8740);const s=(()=>{try{if("undefined"!=typeof navigator&&!0===navigator.webdriver)return!0;
1if(n.RI){if(document.__webdriver_evaluate||document.__selenium_unwrapped||document.__driver_evaluate||document.__webdriver_script_function)return!0;if(window.callPhantom||window._phantom)return!0;if(window.__nightmare)return!0}return!1}catch(e){return!1}})()},8740:function(e,t,r){r.d(t,{OF:function(){return l},RI:function(){return s},WN:function(){return d},bv:function(){return i},eN:function(){return p},gm:function(){return o},lR:function(){return h},m:function(){return c},mw:function(){return a},sb:function(){return u}});var n=r(1609);const s="undefined"!=typeof window&&!!window.document,i="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),o=s?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),a=Boolean("hidden"===o?.document?.visibilityState),c=""+o?.location,l=/iPad|iPhone|iPod/.test(o.navigator?.userAgent),u=l&&"undefined"==typeof SharedWorker,h=(()=>{const e=o.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),d=Date.now()-(0,n.t)(),p=()=>"undefined"!=typeof PerformanceNavigationTiming&&o?.performance?.getEntriesByType("navigation")?.[0]?.responseStart},8795:function(e,t,r){r.d(t,{j:function(){return E}});var n=r(1966),s=r(4703);var i=r(9077),o=r(7023);const a=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var c=r(9324),l=r(9674),u=r(9644);const h="[data-nr-mask]",d=e=>(0,u.a)(e,(()=>{const e={feature_flags:[],experimental:{allow_registered_children:!1,resources:!1},mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{ajax:{deny_list:void 0,block_internal:!0,enabled:!0,autoStart:!0},api:{get allow_registered_children(){return e.feature_flags.includes(o.$v.REGISTER)||e.experimental.allow_registered_children},set allow_registered_children(t){e.experimental.allow_registered_children=t},duplicate_registered_data:!1},browser_consent_mode:{enabled:!1},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},get feature_flags(){return e.feature_flags},set feature_flags(t){e.feature_flags=t},generic_events:{enabled:!0,autoStart:!0},harvest:{interval:30},jserrors:{enabled:!0,autoStart:!0},logging:{enabled:!0,autoStart:!0},metrics:{enabled:!0,autoStart:!0},obfuscate:void 0,page_action:{enabled:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,autoStart:!0},performance:{capture_marks:!1,capture_measures:!1,capture_detail:!0,resources:{get enabled(){return e.feature_flags.includes(o.$v.RESOURCES)||e.experimental.resources},set enabled(t){e.experimental.resources=t},asset_types:[],first_party_domains:[],ignore_newrelic:!0}},privacy:{cookies_enabled:!0},proxy:{assets:void 0,beacon:void 0},session:{expiresMs:c.wk,inactiveMs:c.BB},session_replay:{autoStart:!0,enabled:!1,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inline_images:!1,fix_stylesheets:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){a(t)?e.mask_selector="".concat(t,",").concat(h):""===t||null===t?e.mask_selector=h:(0,l.R)(5,t)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return e.block_selector},set block_selector(t){a(t)?e.block_selector+=",".concat(t):""!==t&&(0,l.R)(6,t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&"object"==typeof t?e.mask_input_options={...t,password:!0}:(0,l.R)(7,t)}},session_trace:{enabled:!0,autoStart:!0},soft_navigations:{enabled:!0,autoStart:!0},spa:{enabled:!0,autoStart:!0},ssl:void 0,user_actions:{enabled:!0,elementAttributes:["id","className","tagName","type"]}}})());var p=r(8740),f=r(5928);let m=0;const g={buildEnv:f.F3,distMethod:f.Xs,version:f.xv,originTime:p.WN},y={consented:!1},v={appMetadata:{},get consented(){return this.session?.state?.consent||y.consented},set consented(e){y.consented=e},customTransaction:void 0,denyList:void 0,disabled:!1,harvester:void 0,isolatedBacklog:!1,isRecording:!1,loaderType:void 0,maxBytes:3e4,obfuscator:void 0,onerror:void 0,ptid:void 0,releaseIds:{},session:void 0,timeKeeper:void 0,registeredEntities:[],jsAttributesMetadata:{bytes:0},get harvestCount(){return++m}},b=e=>{const t=(0,u.a)(e,v),r=Object.keys(g).reduce(((e,t)=>
1(e[t]={value:g[t],writable:!1,configurable:!0,enumerable:!0},e)),{});return Object.defineProperties(t,r)};var w=r(8903);const S=()=>{};var C=r(8126),k=r(1999);const R={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0},x=e=>(0,u.a)(e,R),I=new Set;function E(e,t={},r,o){let{init:a,info:c,loader_config:l,runtime:u={},exposed:h=!0}=t;if(!c){const e=(0,n.pV)();a=e.init,c=e.info,l=e.loader_config}e.init=d(a||{}),e.loader_config=x(l||{}),c.jsAttributes??={},p.bv&&(c.jsAttributes.isWorker=!0),e.info=(0,i.D)(c);const f=e.init,m=[c.beacon,c.errorBeacon];I.has(e.agentIdentifier)||(f.proxy.assets&&(S(f.proxy.assets),m.push(f.proxy.assets)),f.proxy.beacon&&m.push(f.proxy.beacon),e.beacons=[...m],function(e){const t=(0,n.pV)();Object.getOwnPropertyNames(s.W.prototype).forEach((r=>{const n=s.W.prototype[r];if("function"!=typeof n||"constructor"===n)return;let i=t[r];e[r]&&!1!==e.exposed&&"micro-agent"!==e.runtime?.loaderType&&(t[r]=(...t)=>{const n=e[r](...t);return i?i(...t):n})}))}(e),(0,n.US)("activatedFeatures",w.B)),u.denyList=[...f.ajax.deny_list||[],...f.ajax.block_internal?m:[]],u.ptid=e.agentIdentifier,u.loaderType=r,e.runtime=b(u),I.has(e.agentIdentifier)||(e.ee=C.ee.get(e.agentIdentifier),e.exposed=h,(0,k.W)({agentIdentifier:e.agentIdentifier,drained:!!w.B?.[e.agentIdentifier],type:"lifecycle",name:"initialize",feature:void 0,data:e.config})),I.add(e.agentIdentifier)}},8800:function(e,t,r){r.d(t,{LA:function(){return a},ZF:function(){return c},bz:function(){return o},el:function(){return l}});var n=r(8740);const s="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";function i(e,t){return e?15&e[t]:16*Math.random()|0}function o(){const e=n.gm?.crypto||n.gm?.msCrypto;let t,r=0;return e&&e.getRandomValues&&(t=e.getRandomValues(new Uint8Array(30))),s.split("").map((e=>"x"===e?i(t,r++).toString(16):"y"===e?(3&i()|8).toString(16):e)).join("")}function a(e){const t=n.gm?.crypto||n.gm?.msCrypto;let r,s=0;t&&t.getRandomValues&&(r=t.getRandomValues(new Uint8Array(e)));const o=[];for(var a=0;a<e;a++)o.push(i(r,s++).toString(16));return o.join("")}function c(){return a(16)}function l(){return a(32)}},8839:function(e,t,r){r.d(t,{$9:function(){return l},BL:function(){return a},CH:function(){return p},Dl:function(){return w},Fw:function(){return b},PA:function(){return g},Pl:function(){return n},Pv:function(){return R},Tb:function(){return h},U2:function(){return i},V1:function(){return k},Wb:function(){return C},bt:function(){return v},cD:function(){return y},d3:function(){return S},dT:function(){return c},eY:function(){return f},fF:function(){return d},hG:function(){return s},k6:function(){return o},nb:function(){return m},o5:function(){return u}});const n="api-",s="addPageAction",i="addToTrace",o="addRelease",a="finished",c="interaction",l="log",u="noticeError",h="pauseReplay",d="recordCustomEvent",p="recordReplay",f="register",m="setApplicationVersion",g="setCurrentRouteName",y="setCustomAttribute",v="setErrorHandler",b="setPageViewName",w="setUserId",S="start",C="wrapLogger",k="measure",R="consent"},8861:function(e,t,r){r.d(t,{AQ:function(){return l},me:function(){return o},sH:function(){return a},uJ:function(){return c}});var n=r(1690),s=Object.prototype.hasOwnProperty,i=64;function o(e,t,r){return e||0===e||""===e?t(e)+(r?",":""):"!"}function a(e,t){return t?Math.floor(e).toString(36):void 0===e||0===e?"":Math.floor(e).toString(36)}function c(e){let t=0;const r=Object.prototype.hasOwnProperty.call(Object,"create")?Object.create(null):{};return function(n){if(void 0===n||""===n)return"";return n=e.obfuscateString(String(n)),s.call(r,n)?a(r[n],!0):(r[n]=t++,function(e){return"'"+e.replace(u,"\\$1")}(n))}}function l(e,t){var r=[];return Object.entries(e||{}).forEach((([e,s])=>{if(!(r.length>=i)){var o,a=5;switch(e=t(e),typeof s){case"object":s?o=t((0,n.A)(s)):a=9;break;case"number":a=6,o=s%1?s:s+".";break;case"boolean":a=s?7:8;break;case"undefined":a=9;break;default:o=t(s)}r.push([a,e+(o?","+o:"")])}})),r}var u=/([,\\;])/g},8897:function(e,t,r){r.d(t,{L:function(){return i}});var n=/([^?#]*)[^#]*(#[^?]*|$).*/,s=/([^?#]*)().*/;function i(e,t){return e?e.replace(t?n:s,"$1$2"):e}},8903:function(e,t,r){r.d(t,{B:function(){return i},t:function(){return o}});var n=r(1999);const s=new Set,i={};function o(e,t){const r=t.agentIdentifier;i[r]??={},e&&"object"==typeof e&&(s.has(r)||(t.ee.emit("rumresp",[e]),i[r]=e,s.add(r),(0,n.W)({agentIdentifier:r,loaded:!0,drained:!0,type:"lifecycle",name:"load",feature:void 0,data:e})))}},9017:function(e,t,r){r.d(t,{P:function(){return C},t:function(){return R}});var n=r(7187),s=r(9470),i=r(5928),o=r(8740),a=r(4842),c=r(7508),l=r(1609),u=r(2449);if(o.bv){o.gm.cleanupTasks=[];const e=o.gm.close;o.gm.close=()=>{for(let e of o.gm.cleanupTasks)e();e()}}var h=r(8897),d=r(6600),p=r(9674),f=r(1690),m=r(5668),g=r(8903),y=r(1999);const v="Harvester/Retry/",b=v+"Attempted/",w=v+"Failed/",S=v+"Succeeded/";class C{#D=!1;initializedAggregates=[];constructor(e){var t,r;this.agentRef=e,t=()=>
1{this.initializedAggregates.forEach((e=>{"function"==typeof e.harvestOpts.beforeUnload&&e.harvestOpts.beforeUnload()})),this.initializedAggregates.forEach((e=>this.triggerHarvestFor(e,{isFinalHarvest:!0})))},r=!1,o.RI?(0,u.u)(t,!0,r):o.bv&&o.gm.cleanupTasks.push(t)}startTimer(e=this.agentRef.init.harvest.interval){if(this.#D)return;this.#D=!0;const t=()=>{this.initializedAggregates.forEach((e=>this.triggerHarvestFor(e))),setTimeout(t,1e3*e)};setTimeout(t,1e3*e)}triggerHarvestFor(e,t={}){const r={ranSend:!1,payload:void 0,endpointVersion:e.harvestEndpointVersion||1};if(e.blocked)return r;if(this.agentRef.init?.browser_consent_mode?.enabled&&!this.agentRef.runtime.consented)return r;const i=(0,m.mj)(t);if(!i)return r;const o=!t.isFinalHarvest&&i===m.nF;return r.payload=e.makeHarvestPayload(o,t),r.payload?(R(this.agentRef,{endpoint:s.$J[e.featureName],payload:r.payload,localOpts:t,submitMethod:i,cbFinished:function(r){if(e.harvestOpts.prevAttemptCode){const t=t=>(0,a.p)(n.xV,[t],void 0,s.K7.metrics,e.ee);t(b+e.featureName),t((r.retry?w:S)+e.harvestOpts.prevAttemptCode),delete e.harvestOpts.prevAttemptCode}r.retry&&(e.harvestOpts.prevAttemptCode=r.status);t.forceNoRetry&&(r.retry=!1);e.postHarvestCleanup(r)},raw:e.harvestOpts.raw,featureName:e.featureName,endpointVersion:r.endpointVersion}),r.ranSend=!0,r):r}}const k={};function R(e,{endpoint:t,payload:r,localOpts:n={},submitMethod:u,cbFinished:v,raw:b,featureName:w,endpointVersion:S=1}){if(!e.info.errorBeacon)return!1;let{body:C,qs:R}=function(e={}){const t=e=>"undefined"!=typeof Uint8Array&&e instanceof Uint8Array||Array.isArray(e)||"string"==typeof e?e:Object.entries(e||{}).reduce(((e,[t,r])=>(("number"==typeof r||"string"==typeof r&&r.length>0||"object"==typeof r&&Object.keys(r||{}).length>0)&&(e[t]=r),e)),{});return{body:t(e.body),qs:t(e.qs)}}(r);if(0===Object.keys(C).length&&!n.sendEmptyBody)return v&&v({sent:!1}),!1;const x=!1===e.init.ssl?"http":"https",I=e.init.proxy.beacon||e.info.errorBeacon,E=b?"".concat(x,"://").concat(I,"/").concat(t):"".concat(x,"://").concat(I).concat(t!==s.v4?"/"+t:"","/").concat(S,"/").concat(e.info.licenseKey),T=b?"":function(e,t,r){const n=e.runtime.obfuscator.obfuscateString((0,h.L)(""+o.gm.location)),a=e.runtime.session,c=!!a?.state.sessionReplaySentFirstChunk&&1===a?.state.sessionReplayMode&&r!==s.XX,u=!!a?.state.traceHarvestStarted&&1===a?.state.sessionTraceMode&&![s.Yy,s.df].includes(r),p=["a="+e.info.applicationID,(0,d.uR)("sa",e.info.sa?""+e.info.sa:""),(0,d.uR)("v",i.xv),f(),(0,d.uR)("ct",e.runtime.customTransaction),"&rst="+(0,l.t)(),"&ck=0","&s="+(a?.state.value||"0"),(0,d.uR)("ref",n),(0,d.uR)("ptid",e.runtime.ptid?""+e.runtime.ptid:"")];c&&p.push((0,d.uR)("hr","1",t));u&&p.push((0,d.uR)("ht","1",t));return p.join("");function f(){return e.info.transactionName?(0,d.uR)("to",e.info.transactionName):(0,d.uR)("t",e.info.tNamePlain||"Unnamed Transaction")}}(e,R,t);let M=(0,d.WL)(R,e.runtime.maxBytes);""===T&&M.startsWith("&")&&(M=M.substring(1));const A="".concat(E,"?").concat(T).concat(M);let O=!!R?.attributes?.includes("gzip")||t===s.qY?C:(0,f.A)(C);O&&0!==O.length&&"{}"!==O&&"[]"!==O||(O=""),t!==s.df&&O.length>75e4&&1===(k[t]=(k[t]||0)+1)&&(0,p.R)(28,t);const N=[{key:"content-type",value:"text/plain"}];let D=u({url:A,body:O,sync:n.isFinalHarvest&&o.bv,headers:N});if(!n.isFinalHarvest&&v){function L(){try{if(w===s.K7.jserrors&&!C?.err)return;const t=T.includes("hr=1"),r=T.includes("ht=1"),n=R?.attributes?.includes("hasError=true");(0,a.p)("harvest-metadata",[{[w]:{...t&&{hasReplay:t},...r&&{hasTrace:r},...n&&{hasError:n}}}],void 0,s.K7.metrics,e.ee)}catch(e){}}u===m.nF?D.addEventListener("loadend",(function(){const e={sent:0!==this.status,status:this.status,retry:_(this.status),fullUrl:A,xhr:this,responseText:this.responseText};v(e),_(this.status)||L()}),(0,c.jT)(!1)):u===m.Jf&&D.then((async function(e){const t=e.status,r={sent:!0,status:t,retry:_(t),fullUrl:A,fetchResponse:e,responseText:await e.text()};v(r),_(t)||L()}))}return(0,y.W)({agentIdentifier:e.agentIdentifier,drained:!!g.B?.[e.agentIdentifier],type:"data",name:"harvest",feature:w,data:{endpoint:t,headers:N,payload:r,submitMethod:u===m.nF?"xhr":u===m.Jf?"fetch":"beacon",raw:b,synchronousXhr:!(!n.isFinalHarvest||!o.bv)}}),!0;function _(e){switch(e){case 408:case 429:case 500:return!0}return e>=502&&e<=504||e>=512&&e<=530}}},9077:function(e,t,r){r.d(t,{D:function(){return a},f:function(){return o}});var n=r(1966),s=r(9644);const i={beacon:n.NT.beacon,errorBeacon:n.NT.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0};function o(e){try{return!!e.licenseKey&&!!e.errorBeacon&&!!e.applicationID}catch(e){return!1}}const a=e=>(0,s.a)(e,i)},9176:function(e,t,r){r.d(t,{I:function(){return s}});var n=Object.prototype.hasOwnProperty;function s(e,t,r){if(n.call(e,t))return e[t];var s=r();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:s,writable:!0,enumerable:!1}),s}catch(e){}return e[t]=s,s}},9274:function(e,t,r){r.d(t,{p:function(){return s}});var n=r(8740);function s(){return Boolean("file:"===n.gm?.location?.protocol)}},9281:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(1690),s=r(7517);class i{#_=[];#L=0;#F;#P;constructor(e=s.It,t){this.maxPayloadSize=e,this.featureAgg=t}get length(){return this.#_.length}isEmpty(){return 0===this.#_.length}get(){return this.#_}byteSize(){return this.#L}wouldExceedMaxSize(e){return this.#L+e>this.maxPayloadSize}add(e,t){const r=t||(0,n.A)(e)?.length||0;if(this.#L+r>this.maxPayloadSize){const e=e=>"EventBuffer/".concat(e,"/Dropped/Bytes");return this.featureAgg?.reportSupportabilityMetric(e(this.featureAgg.featureName),r),this.featureAgg?.reportSupportabilityMetric(e("Combined"),r),!1}return this.#_.push(e),this.#L+=r,this.featureAgg?.decideEarlyHarvest(),!0}merge(e,t){if(this.isEmpty()||!e)return!1;const r=this.#_.findIndex(e);return!(r<0)&&(this.#_[r]={...this.#_[r],...t},!0)}clear(e={}){void 0!==e.clearBeforeTime&&e.timestampKey?this.#_=this.#_.filter((t=>t[e.timestampKey]>=e.clearBeforeTime)):void 0!==e.clearBeforeIndex?this.#_=this.#_.slice(e.clearBeforeIndex):this.#_=[],this.#L=this.#_.length&&(0,n.A)(this.#_)?.length||0}save(){this.#F=this.#_,this.#P=this.#L}clearSave(){this.#F=void 0,this.#P=void 0}reloadSave(){this.#F&&(this.#P+this.#L>this.maxPayloadSize||(this.#_=[...this.#F,...this.#_],this.#L=this.#P+this.#L))}}},9324:function(e,t,r){r.d(t,{BB:function(){return o},H3:function(){return n},g:function(){return l},iL:function(){return c},tS:function(){return a},uh:function(){return s},wk:function(){return i}});const n="NRBA",s="SESSION",i=144e5,o=18e5,a={STARTED:"session-started",PAUSE:"session-pause",RESET:"session-reset",RESUME:"session-resume",UPDATE:"session-update"},c={SAME_TAB:"same-tab",CROSS_TAB:"cross-tab"},l={OFF:0,FULL:1,ERROR:2}},9470:function(e,t,r){r.d(t,{$J:function(){return u},K7:function(){return c},P3:function(){return l},XX:function(){return s},Yy:function(){return a},df:function(){return i},qY:function(){return n},v4:function(){return o}});const n="events",s="jserrors",i="browser/blobs",o="rum",a="browser/logs",c={ajax:"ajax",genericEvents:"generic_events",jserrors:s,logging:"logging",metrics:"metrics",pageAction:"page_action",pageViewEvent:"page_view_event",pageViewTiming:"page_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",softNav:"soft_navigations",spa:"spa"},l={[c.pageViewEvent]:1,[c.pageViewTiming]:2,[c.metrics]:3,[c.jserrors]:4,[c.spa]:5,[c.ajax]:6,[c.sessionTrace]:7,[c.softNav]:8,[c.sessionReplay]:9,[c.logging]:10,[c.genericEvents]:11},u={[c.pageViewEvent]:o,[c.pageViewTiming]:n,[c.ajax]:n,[c.spa]:n,[c.softNav]:n,[c.metrics]:s,[c.jserrors]:s,[c.sessionTrace]:i,[c.sessionReplay]:i,[c.logging]:a,[c.genericEvents]:"ins"}},9507:function(e,t,r){r.d(t,{x:function(){return n}});
1class n{#B=new Set;history=[];constructor(e,t){this.name=e,this.attrs={},this.roundingMethod="function"==typeof t?t:Math.floor}update({value:e,attrs:t={}}){if(null==e||e<0)return;const r={value:this.roundingMethod(e),name:this.name,attrs:t};this.history.push(r),this.#B.forEach((e=>{try{e(r)}catch(e){}}))}get current(){return this.history[this.history.length-1]||{value:void 0,name:this.name,attrs:{}}}get isValid(){return this.current.value>=0}subscribe(e,t=!0){if("function"==typeof e)return this.#B.add(e),this.isValid&&t&&this.history.forEach((t=>{e(t)})),()=>{this.#B.delete(e)}}}},9644:function(e,t,r){r.d(t,{a:function(){return s}});var n=r(9674);function s(e,t){try{if(!e||"object"!=typeof e)return(0,n.R)(3);if(!t||"object"!=typeof t)return(0,n.R)(4);const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),i=0===Object.keys(r).length?e:r;for(let o in i)if(void 0!==e[o])try{if(null===e[o]){r[o]=null;continue}Array.isArray(e[o])&&Array.isArray(t[o])?r[o]=Array.from(new Set([...e[o],...t[o]])):"object"==typeof e[o]&&"object"==typeof t[o]?r[o]=s(e[o],t[o]):r[o]=e[o]}catch(e){r[o]||(0,n.R)(1,e)}return r}catch(e){(0,n.R)(2,e)}}},9674:function(e,t,r){r.d(t,{R:function(){return s}});var n=r(1999);function s(e,t){"function"==typeof console.debug&&(0,n.W)({agentIdentifier:null,drained:null,type:"data",name:"warn",feature:"warn",data:{code:e,secondary:t}})}},9751:function(e,t,r){r.r(t),r.d(t,{Recorder:function(){return zl}});var n,s=Object.defineProperty,i=(e,t,r)=>((e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),o=Object.defineProperty,a=(e,t,r)=>((e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),c=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(c||{});const l={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},u={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},h={};function d(e){if(h[e])return h[e];const t=globalThis[e],r=t.prototype,n=e in l?l[e]:void 0,s=Boolean(n&&n.every((e=>{var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))}))),i=e in u?u[e]:void 0,o=Boolean(i&&i.every((e=>{var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))})));if(s&&o&&!globalThis.Zone)return h[e]=t.prototype,t.prototype;try{const n=document.createElement("iframe");document.body.appendChild(n);const s=n.contentWindow;if(!s)return t.prototype;const i=s[e].prototype;return document.body.removeChild(n),i?h[e]=i:r}catch{return r}}const p={};function f(e,t,r){var n;const s=`${e}.${String(r)}`;if(p[s])return p[s].call(t);const i=d(e),o=null==(n=Object.getOwnPropertyDescriptor(i,r))?void 0:n.get;return o?(p[s]=o,o.call(t)):t[r]}const m={};function g(e,t,r){const n=`${e}.${String(r)}`;if(m[n])return m[n].bind(t);const s=d(e)[r];return"function"!=typeof s?t[r]:(m[n]=s,s.bind(t))}const y={childNodes:function(e){return f("Node",e,"childNodes")},parentNode:function(e){return f("Node",e,"parentNode")},parentElement:function(e){return f("Node",e,"parentElement")},textContent:function(e){return f("Node",e,"textContent")},contains:function(e,t){return g("Node",e,"contains")(t)},getRootNode:function(e){return g("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?f("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?f("Element",e,"shadowRoot"):null},querySelector:function(e,t){return f("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return f("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return d("MutationObserver").constructor},patch:function(e,t,r){try{if(!(t in e))return()=>{};const n=e[t],s=r(n);return"function"==typeof s&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=s,()=>{e[t]=n}}catch{return()=>{}}}};
vendor: 6,123 bytes, line 1
1function v(e){return e.nodeType===e.ELEMENT_NODE}function b(e){const t=e&&"host"in e&&"mode"in e&&y.host(e)||null;return Boolean(t&&"shadowRoot"in t&&y.shadowRoot(t)===e)}function w(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function S(e){try{const r=e.rules||e.cssRules;if(!r)return null;let n=e.href;!n&&e.ownerNode&&(n=e.ownerNode.baseURI);const s=Array.from(r,(e=>C(e,n))).join("");return(t=s).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t}catch(e){return null}var t}function C(e,t){if(function(e){return"styleSheet"in e}(e)){let t;try{t=S(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const r=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?r.push("layer"):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(r){t=e.cssText}return e.styleSheet.href?_(t,e.styleSheet.href):t}{let r=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(r=function(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(r)),t?_(r,t):r}}class k{constructor(){a(this,"idNodeMap",new Map),a(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;return(null==(t=this.getMeta(e))?void 0:t.id)??-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){const r=this.getNode(e);if(r){const e=this.nodeMetaMap.get(r);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function R(){return new k}function x({element:e,maskInputOptions:t,tagName:r,type:n,value:s,maskInputFn:i}){let o=s||"";const a=n&&I(n);return(t[r.toLowerCase()]||a&&t[a])&&(o=i?i(o,e):"*".repeat(o.length)),o}function I(e){return e.toLowerCase()}const E="__rrweb_original__";function T(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?I(t):null}function M(e,t){let r;try{r=new URL(e,t??window.location.href)}catch(e){return null}const n=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return(null==n?void 0:n[1])??null}const A=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,O=/^(?:[a-z+]+:)?\/\//i,N=/^www\..*/i,D=/^(data:)([^,]*),(.*)/i;function _(e,t){return(e||"").replace(A,((e,r,n,s,i,o)=>{const a=n||i||o,c=r||s||"";if(!a)return e;if(O.test(a)||N.test(a))return`url(${c}${a}${c})`;if(D.test(a))return`url(${c}${a}${c})`;if("/"===a[0])return`url(${c}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+a}${c})`;const l=t.split("/"),u=a.split("/");l.pop();for(const e of u)"."!==e&&(".."===e?l.pop():l.push(e));return`url(${c}${l.join("/")}${c})`}))}function L(e,t=!1){return t?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function F(e,t){return function(e,t,r=!1){const n=Array.from(t.childNodes),s=[];let i=0;if(n.length>1&&e&&"string"==typeof e){let t=L(e,r);const o=t.length/e.length;for(let a=1;a<n.length;a++)if(n[a].textContent&&"string"==typeof n[a].textContent){const c=L(n[a].textContent,r),l=100;let u=3;for(;u<c.length&&(c[u].match(/[a-zA-Z0-9]/)||-1!==c.indexOf(c.substring(0,u),1));u++);for(;u<c.length;u++){let h=c.substring(0,u),d=t.split(h),p=-1;if(2===d.length)p=d[0].length;else if(d.length>2&&""===d[0]&&""!==n[a-1].textContent)p=t.indexOf(h,1);else if(1===d.length){if(h=h.substring(0,h.length-1),d=t.split(h),d.length<=1)return s.push(e),s;u=l+1}else u===c.length-1&&(p=t.indexOf(h));if(d.length>=2&&u>l){const e=n[a-1].textContent;if(e&&"string"==typeof e){const r=L(e).length;p=t.indexOf(h,r)}-1===p&&(p=d[0].length)}if(-1!==p){let a=Math.floor(p/o);for(;a>0&&a<e.length;){if(i+=1,i>50*n.length)return s.push(e),s;const c=L(e.substring(0,a),r);if(c.length===p){s.push(e.substring(0,a)),e=e.substring(a),t=t.substring(p);break}c.length<p?a+=Math.max(1,Math.floor((p-c.length)/o)):a-=Math.max(1,Math.floor((c.length-p)*o))}break}}}}return s.push(e),s}(e,t).join("/* rr_split */")}let P=1;const B=new RegExp("[^a-z0-9-_:]");function j(){return P++}let U,z;const W=/^[^ \t\n\r\u000c]+/,H=/^[, \t\n\r\u000c]+/;const V=new WeakMap;function K(e,t){return t&&""!==t.trim()?Z(e,t):t}function G(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function Z(e,t){let r=V.get(e);if(r||(r=e.createElement("a"),V.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function Y(e,t,r,n){return n?"src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0]?K(e,n):"background"!==r||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===r?function(e,t){if(""===t.trim())return t;let r=0;function n(e){let n;const s=e.exec(t.substring(r));return s?(n=s[0],r+=n.length,n):""}const s=[];for(;n(H),!(r>=t.length);){let i=n(W);if(","===i.slice(-1))i=K(e,i.substring(0,i.length-1)),s.push(i);else{let n="";i=K(e,i);let o=!1;for(;;){const e=t.charAt(r);if(""===e){s.push((i+n).trim());break}if(o)")"===e&&(o=!1);else{if(","===e){r+=1,s.push((i+n).trim());break}"("===e&&(o=!0)}n+=e,r+=1}}}return s.join(", ")}(e,n):"style"===r?_(n,Z(e)):"object"===t&&"data"===r?K(e,n):n:K(e,n):n}function J(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function X(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&X(y.parentNode(e),t,r);for(let r=e.classList.length;r--;){const n=e.classList[r];if(t.test(n))return!0}return!!r&&X(y.parentNode(e),t,r)}function q(e,t,r,n){let s;if(v(e)){if(s=e,!y.childNodes(s).length)return!1}else{if(null===y.parentElement(e))return!1;s=y.parentElement(e)}
vendor: 5,681 bytes, line 1
1try{if("string"==typeof t){if(n){if(s.closest(`.${t}`))return!0}else if(s.classList.contains(t))return!0}else if(X(s,t,n))return!0;if(r)if(n){if(s.closest(r))return!0}else if(s.matches(r))return!0}catch(e){}return!1}function $(e,t){const{doc:r,mirror:n,blockClass:s,blockSelector:i,needsMask:o,inlineStylesheet:a,maskInputOptions:l={},maskTextFn:u,maskInputFn:h,dataURLOptions:d={},inlineImages:p,recordCanvas:f,keepIframeSrcFn:m,newlyAddedElement:g=!1,cssCaptured:v=!1}=t,b=function(e,t){if(!t.hasNode(e))return;const r=t.getId(e);return 1===r?void 0:r}(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:c.Document,childNodes:[],compatMode:e.compatMode}:{type:c.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:c.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:b};case e.ELEMENT_NODE:return function(e,t){const{doc:r,blockClass:n,blockSelector:s,inlineStylesheet:i,maskInputOptions:o={},maskInputFn:a,dataURLOptions:l={},inlineImages:u,recordCanvas:h,keepIframeSrcFn:d,newlyAddedElement:p=!1,rootId:f}=t,m=function(e,t,r){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let r=e.classList.length;r--;){const n=e.classList[r];if(t.test(n))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,n,s),g=function(e){if(e instanceof HTMLFormElement)return"form";const t=I(e.tagName);return B.test(t)?"div":t}(e);let y={};const v=e.attributes.length;for(let t=0;t<v;t++){const n=e.attributes[t];J(g,n.name,n.value)||(y[n.name]=Y(r,g,I(n.name),n.value))}if("link"===g&&i){const t=Array.from(r.styleSheets).find((t=>t.href===e.href));let n=null;t&&(n=S(t)),n&&(delete y.rel,delete y.href,y._cssText=n)}if("style"===g&&e.sheet){let t=S(e.sheet);t&&(e.childNodes.length>1&&(t=F(t,e)),y._cssText=t)}if("input"===g||"textarea"===g||"select"===g){const t=e.value,r=e.checked;"radio"!==y.type&&"checkbox"!==y.type&&"submit"!==y.type&&"button"!==y.type&&t?y.value=x({element:e,type:T(e),tagName:g,value:t,maskInputOptions:o,maskInputFn:a}):r&&(y.checked=r)}"option"===g&&(e.selected&&!o.select?y.selected=!0:delete y.selected);"dialog"===g&&e.open&&(y.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal");if("canvas"===g&&h)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let r=0;r<e.width;r+=50)for(let n=0;n<e.height;n+=50){const s=t.getImageData,i=E in s?s[E]:s;if(new Uint32Array(i.call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(y.rr_dataURL=e.toDataURL(l.type,l.quality));else if(!("__context"in e)){const t=e.toDataURL(l.type,l.quality),n=r.createElement("canvas");n.width=e.width,n.height=e.height;t!==n.toDataURL(l.type,l.quality)&&(y.rr_dataURL=t)}if("img"===g&&u){U||(U=r.createElement("canvas"),z=U.getContext("2d"));const t=e,n=(t.currentSrc||t.getAttribute("src"),t.crossOrigin),s=()=>{t.removeEventListener("load",s);try{U.width=t.naturalWidth,U.height=t.naturalHeight,z.drawImage(t,0,0),y.rr_dataURL=U.toDataURL(l.type,l.quality)}catch(e){if("anonymous"!==t.crossOrigin)return t.crossOrigin="anonymous",void(t.complete&&0!==t.naturalWidth?s():t.addEventListener("load",s))}"anonymous"===t.crossOrigin&&(n?y.crossOrigin=n:t.removeAttribute("crossorigin"))};t.complete&&0!==t.naturalWidth?s():t.addEventListener("load",s)}if("audio"===g||"video"===g){const t=y;t.rr_mediaState=e.paused?"paused":"played",t.rr_mediaCurrentTime=e.currentTime,t.rr_mediaPlaybackRate=e.playbackRate,t.rr_mediaMuted=e.muted,t.rr_mediaLoop=e.loop,t.rr_mediaVolume=e.volume}p||(e.scrollLeft&&(y.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(y.rr_scrollTop=e.scrollTop));if(m){const{width:t,height:r}=e.getBoundingClientRect();y={class:y.class,rr_width:`${t}px`,rr_height:`${r}px`}}"iframe"!==g||d(y.src)||(e.contentDocument||(y.rr_src=y.src),delete y.src);let b;try{customElements.get(g)&&(b=!0)}catch(e){}return{type:c.Element,tagName:g,attributes:y,childNodes:[],isSVG:G(e)||void 0,needBlock:m,rootId:f,isCustom:b}}(e,{doc:r,blockClass:s,blockSelector:i,inlineStylesheet:a,maskInputOptions:l,maskInputFn:h,dataURLOptions:d,inlineImages:p,recordCanvas:f,keepIframeSrcFn:m,newlyAddedElement:g,rootId:b});case e.TEXT_NODE:return function(e,t){const{needsMask:r,maskTextFn:n,rootId:s,cssCaptured:i}=t,o=y.parentNode(e),a=o&&o.tagName;let l="";const u="STYLE"===a||void 0,h="SCRIPT"===a||void 0;h?l="SCRIPT_PLACEHOLDER":i||(l=y.textContent(e),u&&l&&(l=_(l,Z(t.doc))));!u&&!h&&l&&r&&(l=n?n(l,y.parentElement(e)):l.replace(/[\S]/g,"*"));return{type:c.Text,textContent:l||"",rootId:s}}(e,{doc:r,needsMask:o,maskTextFn:u,rootId:b,cssCaptured:v});case e.CDATA_SECTION_NODE:return{type:c.CDATA,textContent:"",rootId:b};case e.COMMENT_NODE:return{type:c.Comment,textContent:y.textContent(e)||"",rootId:b};default:return!1}}function Q(e){return null==e?"":e.toLowerCase()}function ee(e,t){const{doc:r,mirror:n,blockClass:s,blockSelector:i,maskTextClass:o,maskTextSelector:a,skipChild:l=!1,inlineStylesheet:u=!0,maskInputOptions:h={},maskTextFn:d,maskInputFn:p,slimDOMOptions:f,dataURLOptions:m={},inlineImages:g=!1,recordCanvas:S=!1,onSerialize:C,onIframeLoad:k,iframeLoadTimeout:R=5e3,onStylesheetLoad:x,stylesheetLoadTimeout:I=5e3,keepIframeSrcFn:E=()=>!1,newlyAddedElement:T=!1,cssCaptured:A=!1}=t;let{needsMask:O}=t,{preserveWhiteSpace:N=!0}=t;if(!O){O=q(e,o,a,void 0===O)}const D=$(e,{doc:r,mirror:n,blockClass:s,blockSelector:i,needsMask:O,inlineStylesheet:u,maskInputOptions:h,maskTextFn:d,maskInputFn:p,dataURLOptions:m,inlineImages:g,recordCanvas:S,keepIframeSrcFn:E,newlyAddedElement:T,cssCaptured:A});if(!D)return null;let _;_=n.hasNode(e)?n.getId(e):function(e,t){if(t.comment&&e.type===c.Comment)return!0;
vendor: 4,747 bytes, line 1
1if(e.type===c.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel&&"script"===e.attributes.as||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===M(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(Q(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Q(e.attributes.name)||"icon"===Q(e.attributes.rel)||"apple-touch-icon"===Q(e.attributes.rel)||"shortcut icon"===Q(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&Q(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Q(e.attributes.property).match(/^(og|twitter|fb):/)||Q(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===Q(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===Q(e.attributes.name)||"googlebot"===Q(e.attributes.name)||"bingbot"===Q(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===Q(e.attributes.name)||"generator"===Q(e.attributes.name)||"framework"===Q(e.attributes.name)||"publisher"===Q(e.attributes.name)||"progid"===Q(e.attributes.name)||Q(e.attributes.property).match(/^article:/)||Q(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===Q(e.attributes.name)||"yandex-verification"===Q(e.attributes.name)||"csrf-token"===Q(e.attributes.name)||"p:domain_verify"===Q(e.attributes.name)||"verify-v1"===Q(e.attributes.name)||"verification"===Q(e.attributes.name)||"shopify-checkout-api-token"===Q(e.attributes.name)))return!0}}return!1}(D,f)||!N&&D.type===c.Text&&!D.textContent.replace(/^\s+|\s+$/gm,"").length?-2:j();const L=Object.assign(D,{id:_});if(n.add(e,L),-2===_)return null;C&&C(e);let F=!l;if(L.type===c.Element){F=F&&!L.needBlock,delete L.needBlock;const t=y.shadowRoot(e);t&&w(t)&&(L.isShadowHost=!0)}if((L.type===c.Document||L.type===c.Element)&&F){f.headWhitespace&&L.type===c.Element&&"head"===L.tagName&&(N=!1);const t={doc:r,mirror:n,blockClass:s,blockSelector:i,needsMask:O,maskTextClass:o,maskTextSelector:a,skipChild:l,inlineStylesheet:u,maskInputOptions:h,maskTextFn:d,maskInputFn:p,slimDOMOptions:f,dataURLOptions:m,inlineImages:g,recordCanvas:S,preserveWhiteSpace:N,onSerialize:C,onIframeLoad:k,iframeLoadTimeout:R,onStylesheetLoad:x,stylesheetLoadTimeout:I,keepIframeSrcFn:E,cssCaptured:!1};if(L.type===c.Element&&"textarea"===L.tagName&&void 0!==L.attributes.value);else{L.type===c.Element&&void 0!==L.attributes._cssText&&"string"==typeof L.attributes._cssText&&(t.cssCaptured=!0);for(const r of Array.from(y.childNodes(e))){const e=ee(r,t);e&&L.childNodes.push(e)}}let b=null;if(v(e)&&(b=y.shadowRoot(e)))for(const e of Array.from(y.childNodes(b))){const r=ee(e,t);r&&(w(b)&&(r.isShadow=!0),L.childNodes.push(r))}}const P=y.parentNode(e);return P&&b(P)&&w(P)&&(L.isShadow=!0),L.type===c.Element&&"iframe"===L.tagName&&function(e,t,r){const n=e.contentWindow;if(!n)return;let s,i=!1;try{s=n.document.readyState}catch(e){return}if("complete"!==s){const n=setTimeout((()=>{i||(t(),i=!0)}),r);return void e.addEventListener("load",(()=>{clearTimeout(n),i=!0,t()}))}const o="about:blank";if(n.location.href!==o||e.src===o||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,(()=>{const t=e.contentDocument;if(t&&k){const r=ee(t,{doc:t,mirror:n,blockClass:s,blockSelector:i,needsMask:O,maskTextClass:o,maskTextSelector:a,skipChild:!1,inlineStylesheet:u,maskInputOptions:h,maskTextFn:d,maskInputFn:p,slimDOMOptions:f,dataURLOptions:m,inlineImages:g,recordCanvas:S,preserveWhiteSpace:N,onSerialize:C,onIframeLoad:k,iframeLoadTimeout:R,onStylesheetLoad:x,stylesheetLoadTimeout:I,keepIframeSrcFn:E});r&&k(e,r)}}),R),L.type===c.Element&&"link"===L.tagName&&"string"==typeof L.attributes.rel&&("stylesheet"===L.attributes.rel||"preload"===L.attributes.rel&&"string"==typeof L.attributes.href&&"css"===M(L.attributes.href))&&function(e,t,r){let n,s=!1;try{n=e.sheet}catch(e){return}if(n)return;const i=setTimeout((()=>{s||(t(),s=!0)}),r);e.addEventListener("load",(()=>{clearTimeout(i),s=!0,t()}))}(e,(()=>{if(x){const t=ee(e,{doc:r,mirror:n,blockClass:s,blockSelector:i,needsMask:O,maskTextClass:o,maskTextSelector:a,skipChild:!1,inlineStylesheet:u,maskInputOptions:h,maskTextFn:d,maskInputFn:p,slimDOMOptions:f,dataURLOptions:m,inlineImages:g,recordCanvas:S,preserveWhiteSpace:N,onSerialize:C,onIframeLoad:k,iframeLoadTimeout:R,onStylesheetLoad:x,stylesheetLoadTimeout:I,keepIframeSrcFn:E});t&&x(e,t)}}),I),L}new RegExp(/(max|min)-device-(width|height)/.source,"g");
vendor: 7,789 bytes, line 1
1function te(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function re(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var ne={exports:{}},se=String,ie=function(){return{isColorSupported:!1,reset:se,bold:se,dim:se,italic:se,underline:se,inverse:se,hidden:se,strikethrough:se,black:se,red:se,green:se,yellow:se,blue:se,magenta:se,cyan:se,white:se,gray:se,bgBlack:se,bgRed:se,bgGreen:se,bgYellow:se,bgBlue:se,bgMagenta:se,bgCyan:se,bgWhite:se}};ne.exports=ie(),ne.exports.createColors=ie;var oe=ne.exports;const ae=re(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));let ce=oe,le=ae,ue=class e extends Error{constructor(t,r,n,s,i,o){super(t),this.name="CssSyntaxError",this.reason=t,i&&(this.file=i),s&&(this.source=s),o&&(this.plugin=o),void 0!==r&&void 0!==n&&("number"==typeof r?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=ce.isColorSupported),le&&e&&(t=le(t));let r,n,s=t.split(/\r?\n/),i=Math.max(this.line-3,0),o=Math.min(this.line+2,s.length),a=String(o).length;if(e){let{bold:e,gray:t,red:s}=ce.createColors(!0);r=t=>e(s(t)),n=e=>t(e)}else r=n=e=>e;return s.slice(i,o).map(((e,t)=>{let s=i+1+t,o=" "+(" "+s).slice(-a)+" | ";if(s===this.line){let t=n(o.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+n(o)+e+"\n "+t+r("^")}return" "+n(o)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}};var he=ue;ue.default=ue;var de={};de.isClean=Symbol("isClean"),de.my=Symbol("my");const pe={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};let fe=class{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let s=(e.raws.between||"")+(t?";":"");this.builder(r+n+s,e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,s=0;for(;n&&"root"!==n.type;)s+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<s;e++)r+=t}return r}block(e,t){let r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let s=e.nodes[n],i=this.raw(s,"before");i&&this.builder(i),this.stringify(s,t!==n||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)}document(e){this.body(e)}raw(e,t,r){let n;if(r||(r=t),t&&(n=e.raws[t],void 0!==n))return n;let s=e.parent;if("before"===r){if(!s||"root"===s.type&&s.first===e)return"";if(s&&"document"===s.type)return""}if(!s)return pe[r];let i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let s="raw"+((o=r)[0].toUpperCase()+o.slice(1));this[s]?n=this[s](i,e):i.walk((e=>{if(n=e.raws[t],void 0!==n)return!1}))}var o;return void 0===n&&(n=pe[r]),i.rawCache[r]=n,n}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};var me=fe;fe.default=fe;let ge=me;function ye(e,t){new ge(t).stringify(e)}var ve=ye;ye.default=ye;let{isClean:be,my:we}=de,Se=he,Ce=me,ke=ve;function Re(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if("proxyCache"===n)continue;let s=e[n],i=typeof s;"parent"===n&&"object"===i?t&&(r[n]=t):"source"===n?r[n]=s:Array.isArray(s)?r[n]=s.map((e=>Re(e,r))):("object"===i&&null!==s&&(s=Re(s)),r[n]=s)}return r}let xe=class{constructor(e={}){this.raws={},this[be]=!1,this[we]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=Re(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}
vendor: 4,649 bytes, line 1
1error(e,t={}){if(this.source){let{end:r,start:n}=this.rangeBy(t);return this.source.input.error(e,{column:n.column,line:n.line},{column:r.column,line:r.line},t)}return new Se(e)}getProxyProcessor(){return{get(e,t){return"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]},set(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}}markDirty(){if(this[be]){this[be]=!1;let e=this;for(;e=e.parent;)e[be]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){let n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r}positionInside(e,t){let r=t||this.toString(),n=this.source.start.column,s=this.source.start.line;for(let t=0;t<e;t++)"\n"===r[t]?(n=1,s+=1):n+=1;return{column:n,line:s}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let n=this.toString(),s=n.indexOf(e.word);-1!==s&&(t=this.positionInside(s,n),r=this.positionInside(s+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return(new Ce).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let r={},n=null==t;t=t||new Map;let s=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let n=this[e];if(Array.isArray(n))r[e]=n.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof n&&n.toJSON)r[e]=n.toJSON(null,t);else if("source"===e){let i=t.get(n.input);null==i&&(i=s,t.set(n.input,s),s++),r[e]={end:n.end,inputId:i,start:n.start}}else r[e]=n}return n&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=ke){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}get proxyOf(){return this}};var Ie=xe;xe.default=xe;let Ee=Ie,Te=class extends Ee{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}};var Me=Te;Te.default=Te;var Ae={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",s=r;for(;s--;)n+=e[Math.random()*e.length|0];return n}};let{SourceMapConsumer:Oe,SourceMapGenerator:Ne}=ae,{existsSync:De,readFileSync:_e}=ae,{dirname:Le,join:Fe}=ae;let Pe=class{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Le(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new Oe(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 14,753 bytes, line 1
1if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}loadFile(e){if(this.root=Le(e),De(e))return this.mapFile=e,_e(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof Oe)return Ne.fromSourceMap(t).toString();if(t instanceof Ne)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=Fe(Le(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var Be=Pe;Pe.default=Pe;let{SourceMapConsumer:je,SourceMapGenerator:Ue}=ae,{fileURLToPath:ze,pathToFileURL:We}=ae,{isAbsolute:He,resolve:Ve}=ae,{nanoid:Ke}=Ae,Ge=ae,Ze=he,Ye=Be,Je=Symbol("fromOffsetCache"),Xe=Boolean(je&&Ue),qe=Boolean(Ve&&He),$e=class{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!qe||/^\w+:\/\//.test(t.from)||He(t.from)?this.file=t.from:this.file=Ve(t.from)),qe&&Xe){let e=new Ye(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+Ke(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,n={}){let s,i,o;if(t&&"object"==typeof t){let e=t,n=r;if("number"==typeof e.offset){let n=this.fromOffset(e.offset);t=n.line,r=n.col}else t=e.line,r=e.column;if("number"==typeof n.offset){let e=this.fromOffset(n.offset);i=e.line,o=e.col}else i=n.line,o=n.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let a=this.origin(t,r,i,o);return s=a?new Ze(e,void 0===a.endLine?a.line:{column:a.column,line:a.line},void 0===a.endLine?a.column:{column:a.endColumn,line:a.endLine},a.source,a.file,n.plugin):new Ze(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:o,line:i},this.css,this.file,n.plugin),s.input={column:r,endColumn:o,endLine:i,line:t,source:this.css},this.file&&(We&&(s.input.url=We(this.file).toString()),s.input.file=this.file),s}fromOffset(e){let t,r;if(this[Je])r=this[Je];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let n=0,s=e.length;n<s;n++)r[n]=t,t+=e[n].length+1;this[Je]=r}t=r[r.length-1];let n=0;if(e>=t)n=r.length-1;else{let t,s=r.length-2;for(;n<s;)if(t=n+(s-n>>1),e<r[t])s=t-1;else{if(!(e>=r[t+1])){n=t;break}n=t+1}}return{col:e-r[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:Ve(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,n){if(!this.map)return!1;let s,i,o=this.map.consumer(),a=o.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"==typeof r&&(s=o.originalPositionFor({column:n,line:r})),i=He(a.source)?We(a.source):new URL(a.source,this.map.consumer().sourceRoot||We(this.map.mapFile));let c={column:a.column,endColumn:s&&s.column,endLine:s&&s.line,line:a.line,url:i.toString()};if("file:"===i.protocol){if(!ze)throw new Error("file: protocol is not available in this PostCSS build");c.file=ze(i)}let l=o.sourceContentFor(a.source);return l&&(c.source=l),c}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};var Qe=$e;$e.default=$e,Ge&&Ge.registerInput&&Ge.registerInput($e);let{SourceMapConsumer:et,SourceMapGenerator:tt}=ae,{dirname:rt,relative:nt,resolve:st,sep:it}=ae,{pathToFileURL:ot}=ae,at=Qe,ct=Boolean(et&&tt),lt=Boolean(rt&&st&&nt&&it);var ut=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),n=e.root||rt(e.file);!1===this.mapOpts.sourcesContent?(t=new et(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),lt&&ct&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=tt.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new tt({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new tt({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,r=1,n=1,s="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((o,a,c)=>{if(this.css+=o,a&&"end"!==c&&(i.generated.line=r,i.generated.column=n-1,a.source&&a.source.start?(i.source=this.sourcePath(a),i.original.line=a.source.start.line,i.original.column=a.source.start.column-1,this.map.addMapping(i)):(i.source=s,i.original.line=1,i.original.column=0,this.map.addMapping(i))),e=o.match(/\n/g),e?(r+=e.length,t=o.lastIndexOf("\n"),n=o.length-t):n+=o.length,a&&"start"!==c){let e=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===e.last&&!e.raws.semicolon||(a.source&&a.source.end?(i.source=this.sourcePath(a),i.original.line=a.source.end.line,i.original.column=a.source.end.column-1,i.generated.line=r,i.generated.column=n-2,this.map.addMapping(i)):(i.source=s,i.original.line=1,i.original.column=0,i.generated.line=r,i.generated.column=n-1,this.map.addMapping(i)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?rt(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=rt(st(r,this.mapOpts.annotation)));let n=nt(r,e);return this.memoizedPaths.set(e,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new at(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(ot){let t=ot(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===it&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};let ht=Ie,dt=class extends ht{constructor(e){super(e),this.type="comment"}};var pt=dt;dt.default=dt;let ft,mt,gt,yt,{isClean:vt,my:bt}=de,wt=Me,St=pt,Ct=Ie;function kt(e){return e.map((e=>(e.nodes&&(e.nodes=kt(e.nodes)),delete e.source,e)))}function Rt(e){if(e[vt]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)Rt(t)}let xt=class e extends Ct{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,r,n=this.getIterator();for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[n]+=1;return delete this.indexes[n],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e))):"every"===t||"some"===t?r=>e[t](((e,...t)=>r(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,n=this.index(e),s=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of s)this.proxyOf.nodes.splice(n+1,0,e);for(let e in this.indexes)r=this.indexes[e],n<r&&(this.indexes[e]=r+s.length);return this.markDirty(),this}insertBefore(e,t){let r,n=this.index(e),s=0===n&&"prepend",i=this.normalize(t,this.proxyOf.nodes[n],s).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n,0,e);for(let e in this.indexes)r=this.indexes[e],n<=r&&(this.indexes[e]=r+i.length);return this.markDirty(),this}normalize(t,r){if("string"==typeof t)t=kt(ft(t).nodes);else if(void 0===t)t=[];else if(Array.isArray(t)){t=t.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if("root"===t.type&&"document"!==this.type){t=t.nodes.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if(t.type)t=[t];else if(t.prop){if(void 0===t.value)throw new Error("Value field is missed in node creation");"string"!=typeof t.value&&(t.value=String(t.value)),t=[new wt(t)]}else if(t.selector)t=[new mt(t)];else if(t.name)t=[new gt(t)];else{if(!t.text)throw new Error("Unknown node type in node creation");t=[new St(t)]}return t.map((t=>(t[bt]||e.rebuild(t),(t=t.proxyOf).parent&&t.parent.removeChild(t),t[vt]&&Rt(t),void 0===t.raws.before&&r&&void 0!==r.raws.before&&(t.raws.before=r.raws.before.replace(/\S/g,"")),t.parent=this.proxyOf,t)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk(((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk(((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk(((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};xt.registerParse=e=>{ft=e},xt.registerRule=e=>{mt=e},xt.registerAtRule=e=>{gt=e},xt.registerRoot=e=>{yt=e};var It=xt;xt.default=xt,xt.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,gt.prototype):"rule"===e.type?Object.setPrototypeOf(e,mt.prototype):"decl"===e.type?Object.setPrototypeOf(e,wt.prototype):"comment"===e.type?Object.setPrototypeOf(e,St.prototype):"root"===e.type&&Object.setPrototypeOf(e,yt.prototype),e[bt]=!0,e.nodes&&e.nodes.forEac
vendor: 4,706 bytes, line 1
1h((e=>{xt.rebuild(e)}))};let Et,Tt,Mt=It,At=class extends Mt{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Et(new Tt,this,e).stringify()}};At.registerLazyResult=e=>{Et=e},At.registerProcessor=e=>{Tt=e};var Ot=At;At.default=At;let Nt=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var Dt=Nt;Nt.default=Nt;let _t=Dt,Lt=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new _t(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}};var Ft=Lt;Lt.default=Lt;const Pt="'".charCodeAt(0),Bt='"'.charCodeAt(0),jt="\\".charCodeAt(0),Ut="/".charCodeAt(0),zt="\n".charCodeAt(0),Wt=" ".charCodeAt(0),Ht="\f".charCodeAt(0),Vt="\t".charCodeAt(0),Kt="\r".charCodeAt(0),Gt="[".charCodeAt(0),Zt="]".charCodeAt(0),Yt="(".charCodeAt(0),Jt=")".charCodeAt(0),Xt="{".charCodeAt(0),qt="}".charCodeAt(0),$t=";".charCodeAt(0),Qt="*".charCodeAt(0),er=":".charCodeAt(0),tr="@".charCodeAt(0),rr=/[\t\n\f\r "#'()/;[\\\]{}]/g,nr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,sr=/.[\r\n"'(/\\]/,ir=/[\da-f]/i;let or=It,ar=class extends or{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var cr=ar;ar.default=ar,or.registerAtRule(ar);let lr,ur,hr=It,dr=class extends hr{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let n=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before;return n}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new lr(new ur,this,e).stringify()}};dr.registerLazyResult=e=>{lr=e},dr.registerProcessor=e=>{ur=e};var pr=dr;dr.default=dr,hr.registerRoot(dr);let fr={comma(e){return fr.split(e,[","],!0)},space(e){return fr.split(e,[" ","\n","\t"])},split(e,t,r){let n=[],s="",i=!1,o=0,a=!1,c="",l=!1;for(let r of e)l?l=!1:"\\"===r?l=!0:a?r===c&&(a=!1):'"'===r||"'"===r?(a=!0,c=r):"("===r?o+=1:")"===r?o>0&&(o-=1):0===o&&t.includes(r)&&(i=!0),i?(""!==s&&n.push(s.trim()),s="",i=!1):s+=r;return(r||""!==s)&&n.push(s.trim()),n}};var mr=fr;fr.default=fr;let gr=It,yr=mr,vr=class extends gr{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return yr.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};var br=vr;vr.default=vr,gr.registerRule(vr);let wr=Me,Sr=function(e,t={}){let r,n,s,i,o,a,c,l,u,h,d=e.css.valueOf(),p=t.ignoreErrors,f=d.length,m=0,g=[],y=[];function v(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},endOfFile:function(){return 0===y.length&&m>=f},nextToken:function(e){if(y.length)return y.pop();if(m>=f)return;let t=!!e&&e.ignoreUnclosed;switch(r=d.charCodeAt(m),r){case zt:case Wt:case Vt:case Kt:case Ht:n=m;do{n+=1,r=d.charCodeAt(n)}while(r===Wt||r===zt||r===Vt||r===Kt||r===Ht);h=["space",d.slice(m,n)],m=n-1;break;case Gt:case Zt:case Xt:case qt:case er:case $t:case Jt:{let e=String.fromCharCode(r);h=[e,e,m];break}case Yt:if(l=g.length?g.pop()[1]:"",u=d.charCodeAt(m+1),"url"===l&&u!==Pt&&u!==Bt&&u!==Wt&&u!==zt&&u!==Vt&&u!==Ht&&u!==Kt){n=m;do{if(a=!1,n=d.indexOf(")",n+1),-1===n){if(p||t){n=m;break}v("bracket")}for(c=n;d.charCodeAt(c-1)===jt;)c-=1,a=!a}while(a);h=["brackets",d.slice(m,n+1),m,n],m=n}else n=d.indexOf(")",m+1),i=d.slice(m,n+1),-1===n||sr.test(i)?h=["(","(",m]:(h=["brackets",i,m,n],m=n);break;case Pt:case Bt:s=r===Pt?"'":'"',n=m;do{if(a=!1,n=d.indexOf(s,n+1),-1===n){if(p||t){n=m+1;break}v("string")}for(c=n;d.charCodeAt(c-1)===jt;)c-=1,a=!a}while(a);h=["string",d.slice(m,n+1),m,n],m=n;break;case tr:rr.lastIndex=m+1,rr.test(d),n=0===rr.lastIndex?d.length-1:rr.lastIndex-2,h=["at-word",d.slice(m,n+1),m,n],m=n;break;case jt:for(n=m,o=!0;d.charCodeAt(n+1)===jt;)n+=1,o=!o;
vendor: 10,312 bytes, line 1
1if(r=d.charCodeAt(n+1),o&&r!==Ut&&r!==Wt&&r!==zt&&r!==Vt&&r!==Kt&&r!==Ht&&(n+=1,ir.test(d.charAt(n)))){for(;ir.test(d.charAt(n+1));)n+=1;d.charCodeAt(n+1)===Wt&&(n+=1)}h=["word",d.slice(m,n+1),m,n],m=n;break;default:r===Ut&&d.charCodeAt(m+1)===Qt?(n=d.indexOf("*/",m+2)+1,0===n&&(p||t?n=d.length:v("comment")),h=["comment",d.slice(m,n+1),m,n],m=n):(nr.lastIndex=m+1,nr.test(d),n=0===nr.lastIndex?d.length-1:nr.lastIndex-2,h=["word",d.slice(m,n+1),m,n],g.push(h),m=n)}return m++,h},position:function(){return m}}},Cr=pt,kr=cr,Rr=pr,xr=br;const Ir={empty:!0,space:!0};var Er=class{constructor(e){this.input=e,this.root=new Rr,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,r,n,s=new kr;s.name=e[1].slice(1),""===s.name&&this.unnamedAtrule(s,e),this.init(s,e[2]);let i=!1,o=!1,a=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){s.source.end=this.getPosition(e[2]),s.source.end.offset++,this.semicolon=!0;break}if("{"===t){o=!0;break}if("}"===t){if(a.length>0){for(n=a.length-1,r=a[n];r&&"space"===r[0];)r=a[--n];r&&(s.source.end=this.getPosition(r[3]||r[2]),s.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(s.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(s,"params",a),i&&(e=a[a.length-1],s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),o&&(s.nodes=[],this.current=s)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,n=0;for(let s=t-1;s>=0&&(r=e[s],"space"===r[0]||(n+=1,2!==n));s--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}colon(e){let t,r,n,s=0;for(let[i,o]of e.entries()){if(t=o,r=t[0],"("===r&&(s+=1),")"===r&&(s-=1),0===s&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return i}this.doubleColon(t)}n=t}return!1}comment(e){let t=new Cr;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=Sr(this.input)}decl(e,t){let r=new wr;this.init(r,e[0][2]);let n,s=e[e.length-1];for(";"===s[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(n=e.shift(),":"===n[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let i,o=[];for(;e.length&&(i=e[0][0],"space"===i||"comment"===i);)o.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(n=e[t],"!important"===n[1].toLowerCase()){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n," !important"!==n&&(r.raws.important=n);break}if("important"===n[1].toLowerCase()){let n=e.slice(0),s="";for(let e=t;e>0;e--){let t=n[e][0];if(0===s.trim().indexOf("!")&&"space"!==t)break;s=n.pop()[1]+s}0===s.trim().indexOf("!")&&(r.important=!0,r.raws.important=s,e=n)}if("space"!==n[0]&&"comment"!==n[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(r.raws.between+=o.map((e=>e[1])).join(""),o=[]),this.raw(r,"value",o.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new xr;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,n=!1,s=null,i=[],o=e[1].startsWith("--"),a=[],c=e;for(;c;){if(r=c[0],a.push(c),"("===r||"["===r)s||(s=c),i.push("("===r?")":"]");else if(o&&n&&"{"===r)s||(s=c),i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(a,o);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(s=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(s),t&&n){if(!o)for(;a.length&&(c=a[a.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){let s,i,o,a,c=r.length,l="",u=!0;for(let e=0;e<c;e+=1)s=r[e],i=s[0],"space"!==i||e!==c-1||n?"comment"===i?(a=r[e-1]?r[e-1][0]:"empty",o=r[e+1]?r[e+1][0]:"empty",Ir[a]||Ir[o]||","===l.slice(-1)?u=!1:l+=s[1]):l+=s[1]:u=!1;if(!u){let n=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:n,value:l}}e[t]=l}rule(e){e.pop();let t=new xr;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};let Tr=It,Mr=Er,Ar=Qe;function Or(e,t){let r=new Ar(e,t),n=new Mr(r);try{n.parse()}catch(e){throw e}return n.root}var Nr=Or;Or.default=Or,Tr.registerParse(Or);let{isClean:Dr,my:_r}=de,Lr=ut,Fr=ve,Pr=It,Br=Ot,jr=Ft,Ur=Nr,zr=pr;const Wr={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Hr={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Vr={Once:!0,postcssPlugin:!0,prepare:!0};function Kr(e){return"object"==typeof e&&"function"==typeof e.then}function Gr(e){let t=!1,r=Wr[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function Zr(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Gr(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function Yr(e){return e[Dr]=!1,e.nodes&&e.nodes.forEach((e=>Yr(e))),e}let Jr={},Xr=class e{constructor(t,r,n){let s;if(this.stringified=!1,this.processed=!1,"object"!=typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof e||r instanceof jr)s=Yr(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let e=Ur;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{s=e(r,n)}catch(e){this.processed=!0,this.error=e}s&&!s[_r]&&Pr.rebuild(s)}else s=Yr(r);this.result=new jr(t,s,n),this.helpers={...Jr,postcss:Jr,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!Hr[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}
1. Try to update PostCSS (${this.processor.version} now).`);if(!Vr[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(Kr(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Dr];){e[Dr]=!0;let t=[Zr(e)];for(;t.length>0;){let e=this.visitTick(t);if(Kr(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return Kr(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=Fr;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new Lr(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(Kr(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Dr];)e[Dr]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Kr(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:n}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(n.length>0&&t.visitorIndex<n.length){let[e,s]=n[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return s(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let n,s=t.iterator;for(;n=r.nodes[r.indexes[s]];)if(r.indexes[s]+=1,!n[Dr])return n[Dr]=!0,void e.push(Zr(n));t.iterator=0,delete r.indexes[s]}let s=t.events;for(;t.eventIndex<s.length;){let e=s[t.eventIndex];if(t.eventIndex+=1,0===e)return void(r.nodes&&r.nodes.length&&(r[Dr]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[Dr]=!0;let t=Gr(e);for(let r of t)if(0===r)e.nodes&&e.each((e=>{e[Dr]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};Xr.registerPostcss=e=>{Jr=e};var qr=Xr;Xr.default=Xr,zr.registerLazyResult(Xr),Br.registerLazyResult(Xr);let $r=ut,Qr=ve,en=Nr;const tn=Ft;let rn=class{constructor(e,t,r){let n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let s=Qr;this.result=new tn(this._processor,n,this._opts),this.result.css=t;let i=this;Object.defineProperty(this.result,"root",{get(){return i.root}});let o=new $r(s,n,this._opts,t);
vendor: 4,714 bytes, line 1
1if(o.isMap()){let[e,t]=o.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else o.clearAnnotation(),this.result.css=o.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=en;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};var nn=rn;rn.default=rn;let sn=nn,on=qr,an=Ot,cn=pr,ln=class{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else{if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin")}return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new on(this,e,t):new sn(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var un=ln;ln.default=ln,cn.registerProcessor(ln),an.registerProcessor(ln);let hn=Me,dn=Be,pn=pt,fn=cr,mn=Qe,gn=pr,yn=br;function vn(e,t){if(Array.isArray(e))return e.map((e=>vn(e)));let{inputs:r,...n}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:mn.prototype};r.map&&(r.map={...r.map,__proto__:dn.prototype}),t.push(r)}}if(n.nodes&&(n.nodes=e.nodes.map((e=>vn(e,t)))),n.source){let{inputId:e,...r}=n.source;n.source=r,null!=e&&(n.source.input=t[e])}if("root"===n.type)return new gn(n);if("decl"===n.type)return new hn(n);if("rule"===n.type)return new yn(n);if("comment"===n.type)return new pn(n);if("atrule"===n.type)return new fn(n);throw new Error("Unknown node type: "+e.type)}var bn=vn;vn.default=vn;let wn=he,Sn=Me,Cn=qr,kn=It,Rn=un,xn=ve,In=bn,En=Ot,Tn=Dt,Mn=pt,An=cr,On=Ft,Nn=Qe,Dn=Nr,_n=mr,Ln=br,Fn=pr,Pn=Ie;function Bn(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new Rn(e)}Bn.plugin=function(e,t){let r,n=!1;function s(...r){console&&console.warn&&!n&&(n=!0,{NODE_ENV:"production"}.LANG&&{NODE_ENV:"production"}.LANG.startsWith("cn"));let s=t(...r);return s.postcssPlugin=e,s.postcssVersion=(new Rn).version,s}return Object.defineProperty(s,"postcss",{get(){return r||(r=s()),r}}),s.process=function(e,t,r){return Bn([s(r)]).process(e,t)},s},Bn.stringify=xn,Bn.parse=Dn,Bn.fromJSON=In,Bn.list=_n,Bn.comment=e=>new Mn(e),Bn.atRule=e=>new An(e),Bn.decl=e=>new Sn(e),Bn.rule=e=>new Ln(e),Bn.root=e=>new Fn(e),Bn.document=e=>new En(e),Bn.CssSyntaxError=wn,Bn.Declaration=Sn,Bn.Container=kn,Bn.Processor=Rn,Bn.Document=En,Bn.Comment=Mn,Bn.Warning=Tn,Bn.AtRule=An,Bn.Result=On,Bn.Input=Nn,Bn.Rule=Ln,Bn.Root=Fn,Bn.Node=Pn,Cn.registerPostcss(Bn);var jn=Bn;Bn.default=Bn;const Un=te(jn);Un.stringify,Un.fromJSON,Un.plugin,Un.parse,Un.list,Un.document,Un.comment,Un.atRule,Un.rule,Un.decl,Un.root,Un.CssSyntaxError,Un.Declaration,Un.Container,Un.Processor,Un.Document,Un.Comment,Un.Warning,Un.AtRule,Un.Result,Un.Input,Un.Rule,Un.Root,Un.Node;var zn=Object.defineProperty,Wn=(e,t,r)=>((e,t,r)=>t in e?zn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);Object.defineProperty;function Hn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vn(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var Kn={exports:{}},Gn=String,Zn=function(){return{isColorSupported:!1,reset:Gn,bold:Gn,dim:Gn,italic:Gn,underline:Gn,inverse:Gn,hidden:Gn,strikethrough:Gn,black:Gn,red:Gn,green:Gn,yellow:Gn,blue:Gn,magenta:Gn,cyan:Gn,white:Gn,gray:Gn,bgBlack:Gn,bgRed:Gn,bgGreen:Gn,bgYellow:Gn,bgBlue:Gn,bgMagenta:Gn,bgCyan:Gn,bgWhite:Gn}};Kn.exports=Zn(),Kn.exports.createColors=Zn;var Yn=Kn.exports;const Jn=Vn(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));
vendor: 6,737 bytes, line 1
1let Xn=Yn,qn=Jn,$n=class e extends Error{constructor(t,r,n,s,i,o){super(t),this.name="CssSyntaxError",this.reason=t,i&&(this.file=i),s&&(this.source=s),o&&(this.plugin=o),void 0!==r&&void 0!==n&&("number"==typeof r?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=Xn.isColorSupported),qn&&e&&(t=qn(t));let r,n,s=t.split(/\r?\n/),i=Math.max(this.line-3,0),o=Math.min(this.line+2,s.length),a=String(o).length;if(e){let{bold:e,gray:t,red:s}=Xn.createColors(!0);r=t=>e(s(t)),n=e=>t(e)}else r=n=e=>e;return s.slice(i,o).map(((e,t)=>{let s=i+1+t,o=" "+(" "+s).slice(-a)+" | ";if(s===this.line){let t=n(o.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+n(o)+e+"\n "+t+r("^")}return" "+n(o)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}};var Qn=$n;$n.default=$n;var es={};es.isClean=Symbol("isClean"),es.my=Symbol("my");const ts={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};let rs=class{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let s=(e.raws.between||"")+(t?";":"");this.builder(r+n+s,e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,s=0;for(;n&&"root"!==n.type;)s+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<s;e++)r+=t}return r}block(e,t){let r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let s=e.nodes[n],i=this.raw(s,"before");i&&this.builder(i),this.stringify(s,t!==n||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)}document(e){this.body(e)}raw(e,t,r){let n;if(r||(r=t),t&&(n=e.raws[t],void 0!==n))return n;let s=e.parent;if("before"===r){if(!s||"root"===s.type&&s.first===e)return"";if(s&&"document"===s.type)return""}if(!s)return ts[r];let i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let s="raw"+((o=r)[0].toUpperCase()+o.slice(1));this[s]?n=this[s](i,e):i.walk((e=>{if(n=e.raws[t],void 0!==n)return!1}))}var o;return void 0===n&&(n=ts[r]),i.rawCache[r]=n,n}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};var ns=rs;rs.default=rs;let ss=ns;function is(e,t){new ss(t).stringify(e)}var os=is;is.default=is;let{isClean:as,my:cs}=es,ls=Qn,us=ns,hs=os;function ds(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if("proxyCache"===n)continue;let s=e[n],i=typeof s;"parent"===n&&"object"===i?t&&(r[n]=t):"source"===n?r[n]=s:Array.isArray(s)?r[n]=s.map((e=>ds(e,r))):("object"===i&&null!==s&&(s=ds(s)),r[n]=s)}return r}let ps=class{constructor(e={}){this.raws={},this[as]=!1,this[cs]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=ds(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}
vendor: 4,649 bytes, line 1
1error(e,t={}){if(this.source){let{end:r,start:n}=this.rangeBy(t);return this.source.input.error(e,{column:n.column,line:n.line},{column:r.column,line:r.line},t)}return new ls(e)}getProxyProcessor(){return{get(e,t){return"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]},set(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}}markDirty(){if(this[as]){this[as]=!1;let e=this;for(;e=e.parent;)e[as]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){let n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r}positionInside(e,t){let r=t||this.toString(),n=this.source.start.column,s=this.source.start.line;for(let t=0;t<e;t++)"\n"===r[t]?(n=1,s+=1):n+=1;return{column:n,line:s}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let n=this.toString(),s=n.indexOf(e.word);-1!==s&&(t=this.positionInside(s,n),r=this.positionInside(s+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return(new us).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let r={},n=null==t;t=t||new Map;let s=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let n=this[e];if(Array.isArray(n))r[e]=n.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof n&&n.toJSON)r[e]=n.toJSON(null,t);else if("source"===e){let i=t.get(n.input);null==i&&(i=s,t.set(n.input,s),s++),r[e]={end:n.end,inputId:i,start:n.start}}else r[e]=n}return n&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=hs){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}get proxyOf(){return this}};var fs=ps;ps.default=ps;let ms=fs,gs=class extends ms{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}};var ys=gs;gs.default=gs;var vs={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",s=r;for(;s--;)n+=e[Math.random()*e.length|0];return n}};let{SourceMapConsumer:bs,SourceMapGenerator:ws}=Jn,{existsSync:Ss,readFileSync:Cs}=Jn,{dirname:ks,join:Rs}=Jn;let xs=class{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=ks(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new bs(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 14,753 bytes, line 1
1if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}loadFile(e){if(this.root=ks(e),Ss(e))return this.mapFile=e,Cs(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof bs)return ws.fromSourceMap(t).toString();if(t instanceof ws)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=Rs(ks(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var Is=xs;xs.default=xs;let{SourceMapConsumer:Es,SourceMapGenerator:Ts}=Jn,{fileURLToPath:Ms,pathToFileURL:As}=Jn,{isAbsolute:Os,resolve:Ns}=Jn,{nanoid:Ds}=vs,_s=Jn,Ls=Qn,Fs=Is,Ps=Symbol("fromOffsetCache"),Bs=Boolean(Es&&Ts),js=Boolean(Ns&&Os),Us=class{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!js||/^\w+:\/\//.test(t.from)||Os(t.from)?this.file=t.from:this.file=Ns(t.from)),js&&Bs){let e=new Fs(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+Ds(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,n={}){let s,i,o;if(t&&"object"==typeof t){let e=t,n=r;if("number"==typeof e.offset){let n=this.fromOffset(e.offset);t=n.line,r=n.col}else t=e.line,r=e.column;if("number"==typeof n.offset){let e=this.fromOffset(n.offset);i=e.line,o=e.col}else i=n.line,o=n.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let a=this.origin(t,r,i,o);return s=a?new Ls(e,void 0===a.endLine?a.line:{column:a.column,line:a.line},void 0===a.endLine?a.column:{column:a.endColumn,line:a.endLine},a.source,a.file,n.plugin):new Ls(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:o,line:i},this.css,this.file,n.plugin),s.input={column:r,endColumn:o,endLine:i,line:t,source:this.css},this.file&&(As&&(s.input.url=As(this.file).toString()),s.input.file=this.file),s}fromOffset(e){let t,r;if(this[Ps])r=this[Ps];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let n=0,s=e.length;n<s;n++)r[n]=t,t+=e[n].length+1;this[Ps]=r}t=r[r.length-1];let n=0;if(e>=t)n=r.length-1;else{let t,s=r.length-2;for(;n<s;)if(t=n+(s-n>>1),e<r[t])s=t-1;else{if(!(e>=r[t+1])){n=t;break}n=t+1}}return{col:e-r[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:Ns(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,n){if(!this.map)return!1;let s,i,o=this.map.consumer(),a=o.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"==typeof r&&(s=o.originalPositionFor({column:n,line:r})),i=Os(a.source)?As(a.source):new URL(a.source,this.map.consumer().sourceRoot||As(this.map.mapFile));let c={column:a.column,endColumn:s&&s.column,endLine:s&&s.line,line:a.line,url:i.toString()};if("file:"===i.protocol){if(!Ms)throw new Error("file: protocol is not available in this PostCSS build");c.file=Ms(i)}let l=o.sourceContentFor(a.source);return l&&(c.source=l),c}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};var zs=Us;Us.default=Us,_s&&_s.registerInput&&_s.registerInput(Us);let{SourceMapConsumer:Ws,SourceMapGenerator:Hs}=Jn,{dirname:Vs,relative:Ks,resolve:Gs,sep:Zs}=Jn,{pathToFileURL:Ys}=Jn,Js=zs,Xs=Boolean(Ws&&Hs),qs=Boolean(Vs&&Gs&&Ks&&Zs);var $s=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),n=e.root||Vs(e.file);!1===this.mapOpts.sourcesContent?(t=new Ws(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),qs&&Xs&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Hs.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Hs({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new Hs({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,r=1,n=1,s="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((o,a,c)=>{if(this.css+=o,a&&"end"!==c&&(i.generated.line=r,i.generated.column=n-1,a.source&&a.source.start?(i.source=this.sourcePath(a),i.original.line=a.source.start.line,i.original.column=a.source.start.column-1,this.map.addMapping(i)):(i.source=s,i.original.line=1,i.original.column=0,this.map.addMapping(i))),e=o.match(/\n/g),e?(r+=e.length,t=o.lastIndexOf("\n"),n=o.length-t):n+=o.length,a&&"start"!==c){let e=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===e.last&&!e.raws.semicolon||(a.source&&a.source.end?(i.source=this.sourcePath(a),i.original.line=a.source.end.line,i.original.column=a.source.end.column-1,i.generated.line=r,i.generated.column=n-2,this.map.addMapping(i)):(i.source=s,i.original.line=1,i.original.column=0,i.generated.line=r,i.generated.column=n-1,this.map.addMapping(i)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?Vs(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=Vs(Gs(r,this.mapOpts.annotation)));let n=Ks(r,e);return this.memoizedPaths.set(e,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new Js(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(Ys){let t=Ys(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===Zs&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};let Qs=fs,ei=class extends Qs{constructor(e){super(e),this.type="comment"}};var ti=ei;ei.default=ei;let ri,ni,si,ii,{isClean:oi,my:ai}=es,ci=ys,li=ti,ui=fs;function hi(e){return e.map((e=>(e.nodes&&(e.nodes=hi(e.nodes)),delete e.source,e)))}function di(e){if(e[oi]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)di(t)}let pi=class e extends ui{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,r,n=this.getIterator();for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[n]+=1;return delete this.indexes[n],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e))):"every"===t||"some"===t?r=>e[t](((e,...t)=>r(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,n=this.index(e),s=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of s)this.proxyOf.nodes.splice(n+1,0,e);for(let e in this.indexes)r=this.indexes[e],n<r&&(this.indexes[e]=r+s.length);return this.markDirty(),this}insertBefore(e,t){let r,n=this.index(e),s=0===n&&"prepend",i=this.normalize(t,this.proxyOf.nodes[n],s).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n,0,e);for(let e in this.indexes)r=this.indexes[e],n<=r&&(this.indexes[e]=r+i.length);return this.markDirty(),this}normalize(t,r){if("string"==typeof t)t=hi(ri(t).nodes);else if(void 0===t)t=[];else if(Array.isArray(t)){t=t.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if("root"===t.type&&"document"!==this.type){t=t.nodes.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if(t.type)t=[t];else if(t.prop){if(void 0===t.value)throw new Error("Value field is missed in node creation");"string"!=typeof t.value&&(t.value=String(t.value)),t=[new ci(t)]}else if(t.selector)t=[new ni(t)];else if(t.name)t=[new si(t)];else{if(!t.text)throw new Error("Unknown node type in node creation");t=[new li(t)]}return t.map((t=>(t[ai]||e.rebuild(t),(t=t.proxyOf).parent&&t.parent.removeChild(t),t[oi]&&di(t),void 0===t.raws.before&&r&&void 0!==r.raws.before&&(t.raws.before=r.raws.before.replace(/\S/g,"")),t.parent=this.proxyOf,t)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk(((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk(((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk(((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};pi.registerParse=e=>{ri=e},pi.registerRule=e=>{ni=e},pi.registerAtRule=e=>{si=e},pi.registerRoot=e=>{ii=e};var fi=pi;pi.default=pi,pi.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,si.prototype):"rule"===e.type?Object.setPrototypeOf(e,ni.prototype):"decl"===e.type?Object.setPrototypeOf(e,ci.prototype):"comment"===e.type?Object.setPrototypeOf(e,li.prototype):"root"===e.type&&Object.setPrototypeOf(e,ii.prototype),e[ai]=!0,e.nodes&&e.nodes.forEac
vendor: 4,706 bytes, line 1
1h((e=>{pi.rebuild(e)}))};let mi,gi,yi=fi,vi=class extends yi{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new mi(new gi,this,e).stringify()}};vi.registerLazyResult=e=>{mi=e},vi.registerProcessor=e=>{gi=e};var bi=vi;vi.default=vi;let wi=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var Si=wi;wi.default=wi;let Ci=Si,ki=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new Ci(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}};var Ri=ki;ki.default=ki;const xi="'".charCodeAt(0),Ii='"'.charCodeAt(0),Ei="\\".charCodeAt(0),Ti="/".charCodeAt(0),Mi="\n".charCodeAt(0),Ai=" ".charCodeAt(0),Oi="\f".charCodeAt(0),Ni="\t".charCodeAt(0),Di="\r".charCodeAt(0),_i="[".charCodeAt(0),Li="]".charCodeAt(0),Fi="(".charCodeAt(0),Pi=")".charCodeAt(0),Bi="{".charCodeAt(0),ji="}".charCodeAt(0),Ui=";".charCodeAt(0),zi="*".charCodeAt(0),Wi=":".charCodeAt(0),Hi="@".charCodeAt(0),Vi=/[\t\n\f\r "#'()/;[\\\]{}]/g,Ki=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Gi=/.[\r\n"'(/\\]/,Zi=/[\da-f]/i;let Yi=fi,Ji=class extends Yi{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var Xi=Ji;Ji.default=Ji,Yi.registerAtRule(Ji);let qi,$i,Qi=fi,eo=class extends Qi{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let n=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before;return n}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new qi(new $i,this,e).stringify()}};eo.registerLazyResult=e=>{qi=e},eo.registerProcessor=e=>{$i=e};var to=eo;eo.default=eo,Qi.registerRoot(eo);let ro={comma(e){return ro.split(e,[","],!0)},space(e){return ro.split(e,[" ","\n","\t"])},split(e,t,r){let n=[],s="",i=!1,o=0,a=!1,c="",l=!1;for(let r of e)l?l=!1:"\\"===r?l=!0:a?r===c&&(a=!1):'"'===r||"'"===r?(a=!0,c=r):"("===r?o+=1:")"===r?o>0&&(o-=1):0===o&&t.includes(r)&&(i=!0),i?(""!==s&&n.push(s.trim()),s="",i=!1):s+=r;return(r||""!==s)&&n.push(s.trim()),n}};var no=ro;ro.default=ro;let so=fi,io=no,oo=class extends so{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return io.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};var ao=oo;oo.default=oo,so.registerRule(oo);let co=ys,lo=function(e,t={}){let r,n,s,i,o,a,c,l,u,h,d=e.css.valueOf(),p=t.ignoreErrors,f=d.length,m=0,g=[],y=[];function v(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},endOfFile:function(){return 0===y.length&&m>=f},nextToken:function(e){if(y.length)return y.pop();if(m>=f)return;let t=!!e&&e.ignoreUnclosed;switch(r=d.charCodeAt(m),r){case Mi:case Ai:case Ni:case Di:case Oi:n=m;do{n+=1,r=d.charCodeAt(n)}while(r===Ai||r===Mi||r===Ni||r===Di||r===Oi);h=["space",d.slice(m,n)],m=n-1;break;case _i:case Li:case Bi:case ji:case Wi:case Ui:case Pi:{let e=String.fromCharCode(r);h=[e,e,m];break}case Fi:if(l=g.length?g.pop()[1]:"",u=d.charCodeAt(m+1),"url"===l&&u!==xi&&u!==Ii&&u!==Ai&&u!==Mi&&u!==Ni&&u!==Oi&&u!==Di){n=m;do{if(a=!1,n=d.indexOf(")",n+1),-1===n){if(p||t){n=m;break}v("bracket")}for(c=n;d.charCodeAt(c-1)===Ei;)c-=1,a=!a}while(a);h=["brackets",d.slice(m,n+1),m,n],m=n}else n=d.indexOf(")",m+1),i=d.slice(m,n+1),-1===n||Gi.test(i)?h=["(","(",m]:(h=["brackets",i,m,n],m=n);break;case xi:case Ii:s=r===xi?"'":'"',n=m;do{if(a=!1,n=d.indexOf(s,n+1),-1===n){if(p||t){n=m+1;break}v("string")}for(c=n;d.charCodeAt(c-1)===Ei;)c-=1,a=!a}while(a);h=["string",d.slice(m,n+1),m,n],m=n;break;case Hi:Vi.lastIndex=m+1,Vi.test(d),n=0===Vi.lastIndex?d.length-1:Vi.lastIndex-2,h=["at-word",d.slice(m,n+1),m,n],m=n;break;case Ei:for(n=m,o=!0;d.charCodeAt(n+1)===Ei;)n+=1,o=!o;
vendor: 10,312 bytes, line 1
1if(r=d.charCodeAt(n+1),o&&r!==Ti&&r!==Ai&&r!==Mi&&r!==Ni&&r!==Di&&r!==Oi&&(n+=1,Zi.test(d.charAt(n)))){for(;Zi.test(d.charAt(n+1));)n+=1;d.charCodeAt(n+1)===Ai&&(n+=1)}h=["word",d.slice(m,n+1),m,n],m=n;break;default:r===Ti&&d.charCodeAt(m+1)===zi?(n=d.indexOf("*/",m+2)+1,0===n&&(p||t?n=d.length:v("comment")),h=["comment",d.slice(m,n+1),m,n],m=n):(Ki.lastIndex=m+1,Ki.test(d),n=0===Ki.lastIndex?d.length-1:Ki.lastIndex-2,h=["word",d.slice(m,n+1),m,n],g.push(h),m=n)}return m++,h},position:function(){return m}}},uo=ti,ho=Xi,po=to,fo=ao;const mo={empty:!0,space:!0};var go=class{constructor(e){this.input=e,this.root=new po,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,r,n,s=new ho;s.name=e[1].slice(1),""===s.name&&this.unnamedAtrule(s,e),this.init(s,e[2]);let i=!1,o=!1,a=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){s.source.end=this.getPosition(e[2]),s.source.end.offset++,this.semicolon=!0;break}if("{"===t){o=!0;break}if("}"===t){if(a.length>0){for(n=a.length-1,r=a[n];r&&"space"===r[0];)r=a[--n];r&&(s.source.end=this.getPosition(r[3]||r[2]),s.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(s.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(s,"params",a),i&&(e=a[a.length-1],s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),o&&(s.nodes=[],this.current=s)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,n=0;for(let s=t-1;s>=0&&(r=e[s],"space"===r[0]||(n+=1,2!==n));s--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}colon(e){let t,r,n,s=0;for(let[i,o]of e.entries()){if(t=o,r=t[0],"("===r&&(s+=1),")"===r&&(s-=1),0===s&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return i}this.doubleColon(t)}n=t}return!1}comment(e){let t=new uo;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=lo(this.input)}decl(e,t){let r=new co;this.init(r,e[0][2]);let n,s=e[e.length-1];for(";"===s[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(n=e.shift(),":"===n[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let i,o=[];for(;e.length&&(i=e[0][0],"space"===i||"comment"===i);)o.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(n=e[t],"!important"===n[1].toLowerCase()){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n," !important"!==n&&(r.raws.important=n);break}if("important"===n[1].toLowerCase()){let n=e.slice(0),s="";for(let e=t;e>0;e--){let t=n[e][0];if(0===s.trim().indexOf("!")&&"space"!==t)break;s=n.pop()[1]+s}0===s.trim().indexOf("!")&&(r.important=!0,r.raws.important=s,e=n)}if("space"!==n[0]&&"comment"!==n[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(r.raws.between+=o.map((e=>e[1])).join(""),o=[]),this.raw(r,"value",o.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new fo;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,n=!1,s=null,i=[],o=e[1].startsWith("--"),a=[],c=e;for(;c;){if(r=c[0],a.push(c),"("===r||"["===r)s||(s=c),i.push("("===r?")":"]");else if(o&&n&&"{"===r)s||(s=c),i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(a,o);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(s=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(s),t&&n){if(!o)for(;a.length&&(c=a[a.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){let s,i,o,a,c=r.length,l="",u=!0;for(let e=0;e<c;e+=1)s=r[e],i=s[0],"space"!==i||e!==c-1||n?"comment"===i?(a=r[e-1]?r[e-1][0]:"empty",o=r[e+1]?r[e+1][0]:"empty",mo[a]||mo[o]||","===l.slice(-1)?u=!1:l+=s[1]):l+=s[1]:u=!1;if(!u){let n=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:n,value:l}}e[t]=l}rule(e){e.pop();let t=new fo;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};let yo=fi,vo=go,bo=zs;function wo(e,t){let r=new bo(e,t),n=new vo(r);try{n.parse()}catch(e){throw e}return n.root}var So=wo;wo.default=wo,yo.registerParse(wo);let{isClean:Co,my:ko}=es,Ro=$s,xo=os,Io=fi,Eo=bi,To=Ri,Mo=So,Ao=to;const Oo={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},No={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Do={Once:!0,postcssPlugin:!0,prepare:!0};function _o(e){return"object"==typeof e&&"function"==typeof e.then}function Lo(e){let t=!1,r=Oo[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function Fo(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Lo(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function Po(e){return e[Co]=!1,e.nodes&&e.nodes.forEach((e=>Po(e))),e}let Bo={},jo=class e{constructor(t,r,n){let s;if(this.stringified=!1,this.processed=!1,"object"!=typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof e||r instanceof To)s=Po(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let e=Mo;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{s=e(r,n)}catch(e){this.processed=!0,this.error=e}s&&!s[ko]&&Io.rebuild(s)}else s=Po(r);this.result=new To(t,s,n),this.helpers={...Bo,postcss:Bo,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!No[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}
1. Try to update PostCSS (${this.processor.version} now).`);if(!Do[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(_o(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Co];){e[Co]=!0;let t=[Fo(e)];for(;t.length>0;){let e=this.visitTick(t);if(_o(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return _o(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=xo;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new Ro(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(_o(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Co];)e[Co]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(_o(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:n}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(n.length>0&&t.visitorIndex<n.length){let[e,s]=n[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return s(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let n,s=t.iterator;for(;n=r.nodes[r.indexes[s]];)if(r.indexes[s]+=1,!n[Co])return n[Co]=!0,void e.push(Fo(n));t.iterator=0,delete r.indexes[s]}let s=t.events;for(;t.eventIndex<s.length;){let e=s[t.eventIndex];if(t.eventIndex+=1,0===e)return void(r.nodes&&r.nodes.length&&(r[Co]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[Co]=!0;let t=Lo(e);for(let r of t)if(0===r)e.nodes&&e.each((e=>{e[Co]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};jo.registerPostcss=e=>{Bo=e};var Uo=jo;jo.default=jo,Ao.registerLazyResult(jo),Eo.registerLazyResult(jo);let zo=$s,Wo=os,Ho=So;const Vo=Ri;let Ko=class{constructor(e,t,r){let n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let s=Wo;this.result=new Vo(this._processor,n,this._opts),this.result.css=t;let i=this;Object.defineProperty(this.result,"root",{get(){return i.root}});let o=new zo(s,n,this._opts,t);
vendor: 15,098 bytes, line 1
1if(o.isMap()){let[e,t]=o.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else o.clearAnnotation(),this.result.css=o.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=Ho;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};var Go=Ko;Ko.default=Ko;let Zo=Go,Yo=Uo,Jo=bi,Xo=to,qo=class{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else{if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin")}return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new Yo(this,e,t):new Zo(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var $o=qo;qo.default=qo,Xo.registerProcessor(qo),Jo.registerProcessor(qo);let Qo=ys,ea=Is,ta=ti,ra=Xi,na=zs,sa=to,ia=ao;function oa(e,t){if(Array.isArray(e))return e.map((e=>oa(e)));let{inputs:r,...n}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:na.prototype};r.map&&(r.map={...r.map,__proto__:ea.prototype}),t.push(r)}}if(n.nodes&&(n.nodes=e.nodes.map((e=>oa(e,t)))),n.source){let{inputId:e,...r}=n.source;n.source=r,null!=e&&(n.source.input=t[e])}if("root"===n.type)return new sa(n);if("decl"===n.type)return new Qo(n);if("rule"===n.type)return new ia(n);if("comment"===n.type)return new ta(n);if("atrule"===n.type)return new ra(n);throw new Error("Unknown node type: "+e.type)}var aa=oa;oa.default=oa;let ca=Qn,la=ys,ua=Uo,ha=fi,da=$o,pa=os,fa=aa,ma=bi,ga=Si,ya=ti,va=Xi,ba=Ri,wa=zs,Sa=So,Ca=no,ka=ao,Ra=to,xa=fs;function Ia(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new da(e)}Ia.plugin=function(e,t){let r,n=!1;function s(...r){console&&console.warn&&!n&&(n=!0,{NODE_ENV:"production"}.LANG&&{NODE_ENV:"production"}.LANG.startsWith("cn"));let s=t(...r);return s.postcssPlugin=e,s.postcssVersion=(new da).version,s}return Object.defineProperty(s,"postcss",{get(){return r||(r=s()),r}}),s.process=function(e,t,r){return Ia([s(r)]).process(e,t)},s},Ia.stringify=pa,Ia.parse=Sa,Ia.fromJSON=fa,Ia.list=Ca,Ia.comment=e=>new ya(e),Ia.atRule=e=>new va(e),Ia.decl=e=>new la(e),Ia.rule=e=>new ka(e),Ia.root=e=>new Ra(e),Ia.document=e=>new ma(e),Ia.CssSyntaxError=ca,Ia.Declaration=la,Ia.Container=ha,Ia.Processor=da,Ia.Document=ma,Ia.Comment=ya,Ia.Warning=ga,Ia.AtRule=va,Ia.Result=ba,Ia.Input=wa,Ia.Rule=ka,Ia.Root=Ra,Ia.Node=xa,ua.registerPostcss(Ia);var Ea=Ia;Ia.default=Ia;const Ta=Hn(Ea);Ta.stringify,Ta.fromJSON,Ta.plugin,Ta.parse,Ta.list,Ta.document,Ta.comment,Ta.atRule,Ta.rule,Ta.decl,Ta.root,Ta.CssSyntaxError,Ta.Declaration,Ta.Container,Ta.Processor,Ta.Document,Ta.Comment,Ta.Warning,Ta.AtRule,Ta.Result,Ta.Input,Ta.Rule,Ta.Root,Ta.Node;class Ma{constructor(...e){Wn(this,"parentElement",null),Wn(this,"parentNode",null),Wn(this,"ownerDocument"),Wn(this,"firstChild",null),Wn(this,"lastChild",null),Wn(this,"previousSibling",null),Wn(this,"nextSibling",null),Wn(this,"ELEMENT_NODE",Aa.ELEMENT_NODE),Wn(this,"TEXT_NODE",Aa.TEXT_NODE),Wn(this,"nodeType"),Wn(this,"nodeName"),Wn(this,"RRNodeType")}get childNodes(){const e=[];let t=this.firstChild;for(;t;)e.push(t),t=t.nextSibling;return e}contains(e){if(!(e instanceof Ma))return!1;if(e.ownerDocument!==this.ownerDocument)return!1;if(e===this)return!0;for(;e.parentNode;){if(e.parentNode===this)return!0;e=e.parentNode}return!1}appendChild(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return"RRNode"}}var Aa,Oa;(Oa=Aa||(Aa={}))[Oa.PLACEHOLDER=0]="PLACEHOLDER",Oa[Oa.ELEMENT_NODE=1]="ELEMENT_NODE",Oa[Oa.ATTRIBUTE_NODE=2]="ATTRIBUTE_NODE",Oa[Oa.TEXT_NODE=3]="TEXT_NODE",Oa[Oa.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",Oa[Oa.ENTITY_REFERENCE_NODE=5]="ENTITY_REFERENCE_NODE",Oa[Oa.ENTITY_NODE=6]="ENTITY_NODE",Oa[Oa.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",Oa[Oa.COMMENT_NODE=8]="COMMENT_NODE",Oa[Oa.DOCUMENT_NODE=9]="DOCUMENT_NODE",Oa[Oa.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",Oa[Oa.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE";const Na={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Da={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},_a={};function La(e){if(_a[e])return _a[e];const t=globalThis[e],r=t.prototype,n=e in Na?Na[e]:void 0,s=Boolean(n&&n.every((e=>{var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))}))),i=e in Da?Da[e]:void 0,o=Boolean(i&&i.every((e=>{var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))})));if(s&&o&&!globalThis.Zone)return _a[e]=t.prototype,t.prototype;try{const n=document.createElement("iframe");document.body.appendChild(n);const s=n.contentWindow;if(!s)return t.prototype;const i=s[e].prototype;return document.body.removeChild(n),i?_a[e]=i:r}catch{return r}}const Fa={};function Pa(e,t,r){var n;const s=`${e}.${String(r)}`;if(Fa[s])return Fa[s].call(t);const i=La(e),o=null==(n=Object.getOwnPropertyDescriptor(i,r))?void 0:n.get;return o?(Fa[s]=o,o.call(t)):t[r]}const Ba={};function ja(e,t,r){const n=`${e}.${String(r)}`;if(Ba[n])return Ba[n].bind(t);const s=La(e)[r];return"function"!=typeof s?t[r]:(Ba[n]=s,s.bind(t))}function Ua(){return La("MutationObserver").constructor}function za(e,t,r){try{if(!(t in e))return()=>{};const n=e[t],s=r(n);return"function"==typeof s&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=s,()=>{e[t]=n}}catch{return()=>{}}}const Wa={childNodes:function(e){return Pa("Node",e,"childNodes")},parentNode:function(e){return Pa("Node",e,"parentNode")},parentElement:function(e){return Pa("Node",e,"parentElement")},textContent:function(e){return Pa("Node",e,"textContent")},contains:function(e,t){return ja("Node",e,"contains")(t)},getRootNode:function(e){return ja("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Pa("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Pa("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Pa("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Pa("Element",e,"querySelectorAll")(t)},mutationObserver:Ua,patch:za};function Ha(e,t,r=document){const n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>r.removeEventListener(e,t,n)}let Va={map:{},getId(){return-1},getNode(){return null},removeNodeFromMap(){},has(){return!1},reset(){}};function Ka(e,t,r={}){let n=null,s=0;return function(...i){const o=Date.now();s||!1!==r.leading||(s=o);const a=t-(o-s),c=this;a<=0||a>t?(n&&(clearTimeout(n),n=null),s=o,e.apply(c,i)):n||!1===r.trailing||(n=setTimeout((()=>{s=!1===r.leading?0:Date.now(),n=null,e.apply(c,i)}),a))}}function Ga(e,t,r,n,s=window){const i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,n?r:{set(e){setTimeout((()=>{r.set.call(this,e)}),0),i&&i.set&&i.set.call(this,e)}}),()=>Ga(e,t,i||{},!0)}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(Va=new Proxy(Va,{get(e,t,r){return Reflect.get(e,t,r)}}));let Za=Date.now;function Ya(e){var t,r,n,s;const i=e.document;return{left:i.scrollingElement?i.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:i.documentElement.scrollLeft||(null==i?void 0:i.body)&&(null==(t=Wa.parentElement(i.body))?void 0:t.scrollLeft)||(null==(r=null==i?void 0:i.body)?void 0:r.scrollLeft)||0,top:i.scrollingElement?i.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==i?void 0:i.documentElement.scrollTop)||(null==i?void 0:i.body)&&(null==(n=Wa.parentElement(i.body))?void 0:n.scrollTop)||(null==(s=null==i?void 0:i.body)?void 0:s.scrollTop)||0}}function Ja(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Xa(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function qa(e){if(!e)return null;return e.nodeType===e.ELEMENT_NODE?e:Wa.parentElement(e)}function $a(e,t,r,n){if(!e)return!1;const s=qa(e);if(!s)return!1;try{if("string"==typeof t){if(s.classList.contains(t))return!0;if(n&&null!==s.closest("."+t))return!0}else if(X(s,t,n))return!0}catch(e){}if(r){if(s.matches(r))return!0;if(n&&null!==s.closest(r))return!0}return!1}function Qa(e,t){return-1!==t.getId(e)}function ec(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||-2===t.getId(e)}function tc(e,t){if(b(e))return!1;const r=t.getId(e);if(!t.has(r))return!0;const n=Wa.parentNode(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||tc(n,t))}function rc(e){return Boolean(e.changedTouches)}function nc(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function sc(e){const t={},r=(e,r)=>{const n={value:e,parent:r,children:[]};return t[e.node.id]=n,n},n=[];for(const s of e){const{nextId:e,parentId:i}=s;if(e&&e in t){const i=t[e];if(i.parent){const e=i.parent.children.indexOf(i);i.parent.children.splice(e,0,r(s,i.parent))}else{const e=n.indexOf(i);n.splice(e,0,r(s,null))}}else if(i in t){const e=t[i];e.children.push(r(s,e))}else n.push(r(s,null))}return n}function ic(e,t){t(e.value);for(let r=e.children.length-1;r>=0;r--)ic(e.children[r],t)}function oc(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function ac(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function cc(e,t){var r,n;const s=null==(n=null==(r=e.ownerDocument)?void 0:r.defaultView)?void 0:n.frameElement;if(!s||s===t)return{x:0,y:0,relativeScale:1,absoluteScale:1};const i=s.getBoundingClientRect(),o=cc(s,t),a=i.height/s.clientHeight;return{x:i.x*o.relativeScale+o.x,y:i.y*o.relativeScale+o.y,relativeScale:a,absoluteScale:o.absoluteScale*a}}function lc(e){return!!e&&(e instanceof Ma&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(Wa.shadowRoot(e)))}function uc(e,t){const r=e[t[0]];return 1===t.length?r:uc(r.cssRules[t[1]].cssRules,t.slice(2))}function hc(e){const t=[...e],r=t.pop();return{positions:t,index:r}}function dc(e){const t=new Set,r=[];for(let n=e.length;n--;){const s=e[n];t.has(s.id)||(r.push(s),t.add(s.id))}return r}/[1-9][0-9]{12}/.test(Date.now().toString())||(Za=()=>(new Date).getTime());class pc{constructor(){i(this,"id",1),i(this,"styleIDMap",new WeakMap),i(this,"idStyleMap",new Map)}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let r;return r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function fc(e){var t;let r=null;return"getRootNode"in e&&(null==(t=Wa.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&Wa.host(Wa.getRootNode(e))&&(r=Wa.host(Wa.getRootNode(e))),r}function mc(e){let t,r=e;for(;t=fc(r);)r=t;return r}function gc(e){const t=e.ownerDocument;if(!t)return!1;const r=mc(e);return Wa.contains(t,r)}function yc(e){const t=e.ownerDocument;return!!t&&(Wa.contains(t,e)||gc(e))}Symbol.toStringTag;var vc=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(vc||{}),bc=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(bc||{}),wc=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(wc||{}),Sc=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Sc||{}),Cc=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(Cc||{}),kc=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(kc||{}),Rc=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(Rc||{});function xc(e){return"__ln"in e}class Ic{constructor(){i(this,"length",0),i(this,"head",null),i(this,"tail",null)}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let r=0;r<e;r++)t=(null==t?void 0:t.next)||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&xc(e.previousSibling)){const r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&xc(e.nextSibling)&&e.nextSibling.__ln.previous){const r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;
vendor: 8,026 bytes, line 1
1this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const Ec=(e,t)=>`${e}@${t}`;class Tc{constructor(){i(this,"frozen",!1),i(this,"locked",!1),i(this,"texts",[]),i(this,"attributes",[]),i(this,"attributeMap",new WeakMap),i(this,"removes",[]),i(this,"mapRemoves",[]),i(this,"movedMap",{}),i(this,"addedSet",new Set),i(this,"movedSet",new Set),i(this,"droppedSet",new Set),i(this,"removesSubTreeCache",new Set),i(this,"mutationCb"),i(this,"blockClass"),i(this,"blockSelector"),i(this,"maskTextClass"),i(this,"maskTextSelector"),i(this,"inlineStylesheet"),i(this,"maskInputOptions"),i(this,"maskTextFn"),i(this,"maskInputFn"),i(this,"keepIframeSrcFn"),i(this,"recordCanvas"),i(this,"inlineImages"),i(this,"slimDOMOptions"),i(this,"dataURLOptions"),i(this,"doc"),i(this,"mirror"),i(this,"iframeManager"),i(this,"stylesheetManager"),i(this,"shadowDomManager"),i(this,"canvasManager"),i(this,"processedNodeManager"),i(this,"unattachedDoc"),i(this,"processMutations",(e=>{e.forEach(this.processMutation),this.emit()})),i(this,"emit",(()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,r=new Ic,n=e=>{let t=e,r=-2;for(;-2===r;)t=t&&t.nextSibling,r=t&&this.mirror.getId(t);return r},s=s=>{const i=Wa.parentNode(s);if(!i||!yc(s))return;let o=!1;if(s.nodeType===Node.TEXT_NODE){const e=i.tagName;if("TEXTAREA"===e)return;"STYLE"===e&&this.addedSet.has(i)&&(o=!0)}const a=b(i)?this.mirror.getId(fc(s)):this.mirror.getId(i),c=n(s);if(-1===a||-1===c)return r.addNode(s);const l=ee(s,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{oc(e,this.mirror)&&this.iframeManager.addIframe(e),ac(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),lc(s)&&this.shadowDomManager.addShadowRoot(Wa.shadowRoot(s),this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},cssCaptured:o});l&&(e.push({parentId:a,nextId:c,node:l}),t.add(l.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const e of this.movedSet)Ac(this.removesSubTreeCache,e,this.mirror)&&!this.movedSet.has(Wa.parentNode(e))||s(e);for(const e of this.addedSet)Oc(this.droppedSet,e)||Ac(this.removesSubTreeCache,e,this.mirror)?Oc(this.movedSet,e)?s(e):this.droppedSet.add(e):s(e);let i=null;for(;r.length;){let e=null;if(i){const t=this.mirror.getId(Wa.parentNode(i.value)),r=n(i.value);-1!==t&&-1!==r&&(e=i)}if(!e){let t=r.tail;for(;t;){const r=t;if(t=t.previous,r){const t=this.mirror.getId(Wa.parentNode(r.value));if(-1===n(r.value))continue;if(-1!==t){e=r;break}{const t=r.value,n=Wa.parentNode(t);if(n&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const t=Wa.host(n);if(-1!==this.mirror.getId(t)){e=r;break}}}}}}if(!e){for(;r.head;)r.removeNode(r.head.value);break}i=e.previous,r.removeNode(e.value),s(e.value)}const o={texts:this.texts.map((e=>{const t=e.node,r=Wa.parentNode(t);return r&&"TEXTAREA"===r.tagName&&this.genTextAreaValueMutation(r),{id:this.mirror.getId(t),value:e.value}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{const{attributes:t}=e;if("string"==typeof t.style){const r=JSON.stringify(e.styleDiff),n=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+n).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.removesSubTreeCache=new Set,this.movedMap={},this.mutationCb(o))})),i(this,"genTextAreaValueMutation",(e=>{let t=this.attributeMap.get(e);t||(t={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(t),this.attributeMap.set(e,t));const r=Array.from(Wa.childNodes(e),(e=>Wa.textContent(e)||"")).join("");t.attributes.value=x({element:e,maskInputOptions:this.maskInputOptions,tagName:e.tagName,type:T(e),value:r,maskInputFn:this.maskInputFn})})),i(this,"processMutation",(e=>{if(!ec(e.target,this.mirror,this.slimDOMOptions))switch(e.type){case"characterData":{const t=Wa.textContent(e.target);$a(e.target,this.blockClass,this.blockSelector,!1)||t===e.oldValue||this.texts.push({value:q(e.target,this.maskTextClass,this.maskTextSelector,!0)&&t?this.maskTextFn?this.maskTextFn(t,qa(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const t=e.target;let r=e.attributeName,n=e.target.getAttribute(r);if("value"===r){const e=T(t);n=x({element:t,maskInputOptions:this.maskInputOptions,tagName:t.tagName,type:e,value:n,maskInputFn:this.maskInputFn})}if($a(e.target,this.blockClass,this.blockSelector,!1)||n===e.oldValue)return;let s=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===r&&!this.keepIframeSrcFn(n)){if(t.contentDocument)return;r="rr_src"}if(s||(s={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s),this.attributeMap.set(e.target,s)),"type"===r&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!J(t.tagName,r))if(s.attributes[r]=Y(this.doc,I(t.tagName),I(r),n),"style"===r){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}const r=this.unattachedDoc.createElement("span");e.oldValue&&r.setAttribute("style",e.oldValue);for(const e of Array.from(t.style)){const n=t.style.getPropertyValue(e),i=t.style.getPropertyPriority(e);n!==r.style.getPropertyValue(e)||i!==r.style.getPropertyPriority(e)?s.styleDiff[e]=""===i?n:[n,i]:s._unchangedStyles[e]=[n,i]}for(const e of Array.from(r.style))""===t.style.getPropertyValue(e)&&(s.styleDiff[e]=!1)}else"open"===r&&"DIALOG"===t.tagName&&(t.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break}case"childList":if($a(e.target,this.blockClass,this.blockSelector,!0))return;if("TEXTAREA"===e.target.tagName)return void this.genTextAreaValueMutation(e.target);e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const r=this.mirror.getId(t),n=b(e.target)?this.mirror.getId(Wa.host(e.target)):this.mirror.getId(e.target);$a(e.target,this.blockClass,this.blockSelector,!1)||ec(t,this.mirror,this.slimDOMOptions)||!Qa(t,this.mirror)||(this.addedSet.has(t)?(Mc(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||tc(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Ec(r,n)]?Mc(this.movedSet,t):(this.removes.push({parentId:n,id:r,isShadow:!(!b(e.target)||!w(e.target))||void 0}),function(e,t){const r=[e];for(;r.length;){const e=r.pop();t.has(e)||(t.add(e),Wa.childNodes(e).forEach((e=>r.push(e))))}}(t,this.removesSubTreeCache))),this.mapRemoves.push(t))}))}})),i(this,"genAdds",((e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(ec(e,this.mirror,this.slimDOMOptions))return;this.movedSet.add(e);let r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&-1!==r&&(this.movedMap[Ec(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);$a(e,this.blockClass,this.blockSelector,!1)||(Wa.childNodes(e).forEach((e=>
vendor: 4,673 bytes, line 1
1this.genAdds(e))),lc(e)&&Wa.childNodes(Wa.shadowRoot(e)).forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}))}init(e){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function Mc(e,t){e.delete(t),Wa.childNodes(t).forEach((t=>Mc(e,t)))}function Ac(e,t,r){return 0!==e.size&&function(e,t){const r=Wa.parentNode(t);return!!r&&e.has(r)}(e,t)}function Oc(e,t){return 0!==e.size&&Nc(e,t)}function Nc(e,t){const r=Wa.parentNode(t);return!!r&&(!!e.has(r)||Nc(e,r))}let Dc;const _c=e=>{if(!Dc)return e;return(...t)=>{try{return e(...t)}catch(e){if(Dc&&!0===Dc(e))return;throw e}}},Lc=[];function Fc(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function Pc(e,t){const r=new Tc;Lc.push(r),r.init(e);const n=new(Ua())(_c(r.processMutations.bind(r)));return n.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function Bc({mouseInteractionCb:e,doc:t,mirror:r,blockClass:n,blockSelector:s,sampling:i}){if(!1===i.mouseInteraction)return()=>{};const o=!0===i.mouseInteraction||void 0===i.mouseInteraction?{}:i.mouseInteraction,a=[];let c=null;return Object.keys(wc).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==o[e])).forEach((i=>{let o=I(i);const l=(t=>i=>{const o=Fc(i);if($a(o,n,s,!0))return;let a=null,l=t;if("pointerType"in i){switch(i.pointerType){case"mouse":a=Sc.Mouse;break;case"touch":a=Sc.Touch;break;case"pen":a=Sc.Pen}a===Sc.Touch?wc[t]===wc.MouseDown?l="TouchStart":wc[t]===wc.MouseUp&&(l="TouchEnd"):Sc.Pen}else rc(i)&&(a=Sc.Touch);null!==a?(c=a,(l.startsWith("Touch")&&a===Sc.Touch||l.startsWith("Mouse")&&a===Sc.Mouse)&&(a=null)):wc[t]===wc.Click&&(a=c,c=null);const u=rc(i)?i.changedTouches[0]:i;if(!u)return;const h=r.getId(o),{clientX:d,clientY:p}=u;_c(e)({type:wc[l],id:h,x:d,y:p,...null!==a&&{pointerType:a}})})(i);if(window.PointerEvent)switch(wc[i]){case wc.MouseDown:case wc.MouseUp:o=o.replace("mouse","pointer");break;case wc.TouchStart:case wc.TouchEnd:return}a.push(Ha(o,l,t))})),_c((()=>{a.forEach((e=>e()))}))}function jc({scrollCb:e,doc:t,mirror:r,blockClass:n,blockSelector:s,sampling:i}){const o=_c(Ka(_c((i=>{const o=Fc(i);if(!o||$a(o,n,s,!0))return;const a=r.getId(o);if(o===t&&t.defaultView){const r=Ya(t.defaultView);e({id:a,x:r.left,y:r.top})}else e({id:a,x:o.scrollLeft,y:o.scrollTop})})),i.scroll||100));return Ha("scroll",o,t)}const Uc=["INPUT","TEXTAREA","SELECT"],zc=new WeakMap;function Wc(e){return function(e,t){if(Gc("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||Gc("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||Gc("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||Gc("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const r=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(r)}else if(e.parentStyleSheet){const r=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(r)}return t}(e,[])}function Hc(e,t,r){let n,s;return e?(e.ownerNode?n=t.getId(e.ownerNode):s=r.getId(e),{styleId:s,id:n}):{}}function Vc({mirror:e,stylesheetManager:t},r){var n,s,i;let o=null;o="#document"===r.nodeName?e.getId(r):e.getId(Wa.host(r));const a="#document"===r.nodeName?null==(n=r.defaultView)?void 0:n.Document:null==(i=null==(s=r.ownerDocument)?void 0:s.defaultView)?void 0:i.ShadowRoot,c=(null==a?void 0:a.prototype)?Object.getOwnPropertyDescriptor(null==a?void 0:a.prototype,"adoptedStyleSheets"):void 0;return null!==o&&-1!==o&&a&&c?(Object.defineProperty(r,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get(){var e;return null==(e=c.get)?void 0:e.call(this)},set(e){var r;const n=null==(r=c.set)?void 0:r.call(this,e);if(null!==o&&-1!==o)try{t.adoptStyleSheets(e,o)}catch(e){}return n}}),_c((()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})}))):()=>{}}function Kc(e,t={}){const r=e.doc.defaultView;if(!r)return()=>{};let n;
1!function(e,t){const{mutationCb:r,mousemoveCb:n,mouseInteractionCb:s,scrollCb:i,viewportResizeCb:o,inputCb:a,mediaInteractionCb:c,styleSheetRuleCb:l,styleDeclarationCb:u,canvasMutationCb:h,fontCb:d,selectionCb:p,customElementCb:f}=e;e.mutationCb=(...e)=>{t.mutation&&t.mutation(...e),r(...e)},e.mousemoveCb=(...e)=>{t.mousemove&&t.mousemove(...e),n(...e)},e.mouseInteractionCb=(...e)=>{t.mouseInteraction&&t.mouseInteraction(...e),s(...e)},e.scrollCb=(...e)=>{t.scroll&&t.scroll(...e),i(...e)},e.viewportResizeCb=(...e)=>{t.viewportResize&&t.viewportResize(...e),o(...e)},e.inputCb=(...e)=>{t.input&&t.input(...e),a(...e)},e.mediaInteractionCb=(...e)=>{t.mediaInteaction&&t.mediaInteaction(...e),c(...e)},e.styleSheetRuleCb=(...e)=>{t.styleSheetRule&&t.styleSheetRule(...e),l(...e)},e.styleDeclarationCb=(...e)=>{t.styleDeclaration&&t.styleDeclaration(...e),u(...e)},e.canvasMutationCb=(...e)=>{t.canvasMutation&&t.canvasMutation(...e),h(...e)},e.fontCb=(...e)=>{t.font&&t.font(...e),d(...e)},e.selectionCb=(...e)=>{t.selection&&t.selection(...e),p(...e)}
vendor: 4,065 bytes, line 1
1,e.customElementCb=(...e)=>{t.customElement&&t.customElement(...e),f(...e)}}(e,t),e.recordDOM&&(n=Pc(e,e.doc));const s=function({mousemoveCb:e,sampling:t,doc:r,mirror:n}){if(!1===t.mousemove)return()=>{};const s="number"==typeof t.mousemove?t.mousemove:50,i="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let o,a=[];const c=Ka(_c((t=>{const r=Date.now()-o;e(a.map((e=>(e.timeOffset-=r,e))),t),a=[],o=null})),i),l=_c(Ka(_c((e=>{const t=Fc(e),{clientX:r,clientY:s}=rc(e)?e.changedTouches[0]:e;o||(o=Za()),a.push({x:r,y:s,id:n.getId(t),timeOffset:Za()-o}),c("undefined"!=typeof DragEvent&&e instanceof DragEvent?bc.Drag:e instanceof MouseEvent?bc.MouseMove:bc.TouchMove)})),s,{trailing:!1})),u=[Ha("mousemove",l,r),Ha("touchmove",l,r),Ha("drag",l,r)];return _c((()=>{u.forEach((e=>e()))}))}(e),i=Bc(e),o=jc(e),a=function({viewportResizeCb:e},{win:t}){let r=-1,n=-1;return Ha("resize",_c(Ka(_c((()=>{const t=Ja(),s=Xa();r===t&&n===s||(e({width:Number(s),height:Number(t)}),r=t,n=s)})),200)),t)}(e,{win:r}),c=function({inputCb:e,doc:t,mirror:r,blockClass:n,blockSelector:s,ignoreClass:i,ignoreSelector:o,maskInputOptions:a,maskInputFn:c,sampling:l,userTriggeredOnInput:u}){function h(e){let r=Fc(e);const l=e.isTrusted,h=r&&r.tagName;if(r&&"OPTION"===h&&(r=Wa.parentElement(r)),!r||!h||Uc.indexOf(h)<0||$a(r,n,s,!0))return;if(r.classList.contains(i)||o&&r.matches(o))return;let p=r.value,f=!1;const m=T(r)||"";"radio"===m||"checkbox"===m?f=r.checked:(a[h.toLowerCase()]||a[m])&&(p=x({element:r,maskInputOptions:a,tagName:h,type:m,value:p,maskInputFn:c})),d(r,u?{text:p,isChecked:f,userTriggered:l}:{text:p,isChecked:f});const g=r.name;"radio"===m&&g&&f&&t.querySelectorAll(`input[type="radio"][name="${g}"]`).forEach((e=>{if(e!==r){const t=e.value;d(e,u?{text:t,isChecked:!f,userTriggered:!1}:{text:t,isChecked:!f})}}))}function d(t,n){const s=zc.get(t);if(!s||s.text!==n.text||s.isChecked!==n.isChecked){zc.set(t,n);const s=r.getId(t);_c(e)({...n,id:s})}}const p=("last"===l.input?["change"]:["input","change"]).map((e=>Ha(e,_c(h),t))),f=t.defaultView;if(!f)return()=>{p.forEach((e=>e()))};const m=f.Object.getOwnPropertyDescriptor(f.HTMLInputElement.prototype,"value"),g=[[f.HTMLInputElement.prototype,"value"],[f.HTMLInputElement.prototype,"checked"],[f.HTMLSelectElement.prototype,"value"],[f.HTMLTextAreaElement.prototype,"value"],[f.HTMLSelectElement.prototype,"selectedIndex"],[f.HTMLOptionElement.prototype,"selected"]];return m&&m.set&&p.push(...g.map((e=>Ga(e[0],e[1],{set(){_c(h)({target:this,isTrusted:!1})}},!1,f)))),_c((()=>{p.forEach((e=>e()))}))}(e),l=function({mediaInteractionCb:e,blockClass:t,blockSelector:r,mirror:n,sampling:s,doc:i}){const o=_c((i=>Ka(_c((s=>{const o=Fc(s);if(!o||$a(o,t,r,!0))return;const{currentTime:a,volume:c,muted:l,playbackRate:u,loop:h}=o;e({type:i,id:n.getId(o),currentTime:a,volume:c,muted:l,playbackRate:u,loop:h})})),s.media||500))),a=[Ha("play",o(kc.Play),i),Ha("pause",o(kc.Pause),i),Ha("seeked",o(kc.Seeked),i),Ha("volumechange",o(kc.VolumeChange),i),Ha("ratechange",o(kc.RateChange),i)];return _c((()=>{a.forEach((e=>e()))}))}(e);let u=()=>{},h=()=>{},d=()=>{},p=()=>{};e.recordDOM&&(u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:n}){if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};const s=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:_c(((n,s,i)=>{const[o,a]=i,{id:c,styleId:l}=Hc(s,t,r.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:o,index:a}]}),n.apply(s,i)}))}),n.CSSStyleSheet.prototype.addRule=function(e,t,r=this.cssRules.length){const s=`${e} { ${t} }`;return n.CSSStyleSheet.prototype.insertRule.apply(this,[s,r])};const i=n.CSSStyleSheet.prototype.deleteRule;let o,a;n.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:_c(((n,s,i)=>{const[o]=i,{id:a,styleId:c}=Hc(s,t,r.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:o}]}),n.apply(s,i)}))}),n.CSSStyleSheet.prototype.removeRule=function(e){return n.CSSStyleSheet.prototype.deleteRule.apply(this,[e])}
vendor: 6,040 bytes, line 1
1,n.CSSStyleSheet.prototype.replace&&(o=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:_c(((n,s,i)=>{const[o]=i,{id:a,styleId:c}=Hc(s,t,r.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replace:o}),n.apply(s,i)}))})),n.CSSStyleSheet.prototype.replaceSync&&(a=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:_c(((n,s,i)=>{const[o]=i,{id:a,styleId:c}=Hc(s,t,r.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replaceSync:o}),n.apply(s,i)}))}));const c={};Zc("CSSGroupingRule")?c.CSSGroupingRule=n.CSSGroupingRule:(Zc("CSSMediaRule")&&(c.CSSMediaRule=n.CSSMediaRule),Zc("CSSConditionRule")&&(c.CSSConditionRule=n.CSSConditionRule),Zc("CSSSupportsRule")&&(c.CSSSupportsRule=n.CSSSupportsRule));const l={};return Object.entries(c).forEach((([n,s])=>{l[n]={insertRule:s.prototype.insertRule,deleteRule:s.prototype.deleteRule},s.prototype.insertRule=new Proxy(l[n].insertRule,{apply:_c(((n,s,i)=>{const[o,a]=i,{id:c,styleId:l}=Hc(s.parentStyleSheet,t,r.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:o,index:[...Wc(s),a||0]}]}),n.apply(s,i)}))}),s.prototype.deleteRule=new Proxy(l[n].deleteRule,{apply:_c(((n,s,i)=>{const[o]=i,{id:a,styleId:c}=Hc(s.parentStyleSheet,t,r.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:[...Wc(s),o]}]}),n.apply(s,i)}))})})),_c((()=>{n.CSSStyleSheet.prototype.insertRule=s,n.CSSStyleSheet.prototype.deleteRule=i,o&&(n.CSSStyleSheet.prototype.replace=o),a&&(n.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach((([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule}))}))}(e,{win:r}),h=Vc(e,e.doc),d=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:n},{win:s}){const i=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:_c(((s,o,a)=>{var c;const[l,u,h]=a;if(r.has(l))return i.apply(o,[l,u,h]);const{id:d,styleId:p}=Hc(null==(c=o.parentRule)?void 0:c.parentStyleSheet,t,n.styleMirror);return(d&&-1!==d||p&&-1!==p)&&e({id:d,styleId:p,set:{property:l,value:u,priority:h},index:Wc(o.parentRule)}),s.apply(o,a)}))});const o=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:_c(((s,i,a)=>{var c;const[l]=a;if(r.has(l))return o.apply(i,[l]);const{id:u,styleId:h}=Hc(null==(c=i.parentRule)?void 0:c.parentStyleSheet,t,n.styleMirror);return(u&&-1!==u||h&&-1!==h)&&e({id:u,styleId:h,remove:{property:l},index:Wc(i.parentRule)}),s.apply(i,a)}))}),_c((()=>{s.CSSStyleDeclaration.prototype.setProperty=i,s.CSSStyleDeclaration.prototype.removeProperty=o}))}(e,{win:r}),e.collectFonts&&(p=function({fontCb:e,doc:t}){const r=t.defaultView;if(!r)return()=>{};const n=[],s=new WeakMap,i=r.FontFace;r.FontFace=function(e,t,r){const n=new i(e,t,r);return s.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};const o=za(t.fonts,"add",(function(t){return function(r){return setTimeout(_c((()=>{const t=s.get(r);t&&(e(t),s.delete(r))})),0),t.apply(this,[r])}}));return n.push((()=>{r.FontFace=i})),n.push(o),_c((()=>{n.forEach((e=>e()))}))}(e)));const f=function(e){const{doc:t,mirror:r,blockClass:n,blockSelector:s,selectionCb:i}=e;let o=!0;const a=_c((()=>{const e=t.getSelection();if(!e||o&&(null==e?void 0:e.isCollapsed))return;o=e.isCollapsed||!1;const a=[],c=e.rangeCount||0;for(let t=0;t<c;t++){const i=e.getRangeAt(t),{startContainer:o,startOffset:c,endContainer:l,endOffset:u}=i;$a(o,n,s,!0)||$a(l,n,s,!0)||a.push({start:r.getId(o),startOffset:c,end:r.getId(l),endOffset:u})}i({ranges:a})}));return a(),Ha("selectionchange",a)}(e),m=function({doc:e,customElementCb:t}){const r=e.defaultView;return r&&r.customElements?za(r.customElements,"define",(function(e){return function(r,n,s){try{t({define:{name:r}})}catch(e){}return e.apply(this,[r,n,s])}})):()=>{}}(e),g=[];for(const t of e.plugins)g.push(t.observer(t.callback,r,t.options));return _c((()=>{Lc.forEach((e=>e.reset())),null==n||n.disconnect(),s(),i(),o(),a(),c(),l(),u(),h(),d(),p(),f(),m(),g.forEach((e=>e()))}))}function Gc(e){return void 0!==window[e]}function Zc(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Yc{constructor(e){i(this,"iframeIdToRemoteIdMap",new WeakMap),i(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}getId(e,t,r,n){const s=r||this.getIdToRemoteIdMap(e),i=n||this.getRemoteIdToIdMap(e);let o=s.get(t);return o||(o=this.generateIdFn(),s.set(t,o),i.set(o,t)),o}getIds(e,t){const r=this.getIdToRemoteIdMap(e),n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,r,n)))}getRemoteId(e,t,r){const n=r||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;const s=n.get(t);return s||-1}getRemoteIds(e,t){const r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,r)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class Jc{constructor(e){i(this,"iframes",new WeakMap),i(this,"crossOriginIframeMap",new WeakMap),i(this,"crossOriginIframeMirror",new Yc(j)),i(this,"crossOriginIframeStyleMirror"),i(this,"crossOriginIframeRootIdMap",new WeakMap),i(this,"mirror"),i(this,"mutationCb"),i(this,"wrappedEmit"),i(this,"loadListener"),i(this,"stylesheetManager"),i(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=ne
vendor: 9,070 bytes, line 1
1w Yc(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){var r,n;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&(null==(r=e.contentWindow)||r.addEventListener("message",this.handleMessage.bind(this))),null==(n=this.loadListener)||n.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const r=this.crossOriginIframeMap.get(e.source);if(!r)return;const n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}transformCrossOriginEvent(e,t){var r;switch(t.type){case vc.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const r=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,r),this.patchRootIdOnNode(t.data.node,r),{timestamp:t.timestamp,type:vc.IncrementalSnapshot,data:{source:bc.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case vc.Meta:case vc.Load:case vc.DomContentLoaded:return!1;case vc.Plugin:return t;case vc.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case vc.IncrementalSnapshot:switch(t.data.source){case bc.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const r=this.crossOriginIframeRootIdMap.get(e);r&&this.patchRootIdOnNode(t.node,r)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case bc.Drag:case bc.TouchMove:case bc.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case bc.ViewportResize:return!1;case bc.MediaInteraction:case bc.MouseInteraction:case bc.Scroll:case bc.CanvasMutation:case bc.Input:return this.replaceIds(t.data,e,["id"]),t;case bc.StyleSheetRule:case bc.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case bc.Font:return t;case bc.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case bc.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(r=t.data.styles)||r.forEach((t=>{this.replaceStyleIds(t,e,["styleId"])})),t}}return!1}replace(e,t,r,n){for(const s of n)(Array.isArray(t[s])||"number"==typeof t[s])&&(Array.isArray(t[s])?t[s]=e.getIds(r,t[s]):t[s]=e.getId(r,t[s]));return t}replaceIds(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)}replaceStyleIds(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===Rc.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class Xc{constructor(e){i(this,"shadowDoms",new WeakSet),i(this,"mutationCb"),i(this,"scrollCb"),i(this,"bypassOptions"),i(this,"mirror"),i(this,"restoreHandlers",[]),this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!w(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e);const r=Pc({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push((()=>r.disconnect())),this.restoreHandlers.push(jc({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),setTimeout((()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(Wa.host(e))),this.restoreHandlers.push(Vc({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))}),0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){const r=this;this.restoreHandlers.push(za(e.prototype,"attachShadow",(function(e){return function(n){const s=e.call(this,n),i=Wa.shadowRoot(this);return i&&yc(this)&&r.addShadowRoot(i,t),s}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(e){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}for(var qc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$c="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Qc=0;Qc<64;Qc++)$c[qc.charCodeAt(Qc)]=Qc;const el=new Map;const tl=(e,t,r)=>{if(!e||!sl(e,t)&&"object"!=typeof e)return;const n=function(e,t){let r=el.get(e);return r||(r=new Map,el.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name);let s=n.indexOf(e);return-1===s&&(s=n.length,n.push(e)),s};function rl(e,t,r){if(e instanceof Array)return e.map((e=>rl(e,t,r)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray){return{rr_type:e.constructor.name,args:[Object.values(e)]}}if(e instanceof ArrayBuffer){return{rr_type:e.constructor.name,base64:function(e){var t,r=new Uint8Array(e),n=r.length,s="";for(t=0;t<n;t+=3)s+=qc[r[t]>>2],s+=qc[(3&r[t])<<4|r[t+1]>>4],s+=qc[(15&r[t+1])<<2|r[t+2]>>6],s+=qc[63&r[t+2]];return n%3==2?s=s.substring(0,s.length-1)+"=":n%3==1&&(s=s.substring(0,s.length-2)+"=="),s}(e)}}if(e instanceof DataView){return{rr_type:e.constructor.name,args:[rl(e.buffer,t,r),e.byteOffset,e.byteLength]}}if(e instanceof HTMLImageElement){const t=e.constructor.name,{src:r}=e;return{rr_type:t,src:r}}if(e instanceof HTMLCanvasElement){return{rr_type:"HTMLImageElement",src:e.toDataURL()}}if(e instanceof ImageData){return{rr_type:e.constructor.name,args:[rl(e.data,t,r),e.width,e.height]}}if(sl(e,t)||"object"==typeof e){return{rr_type:e.constructor.name,index:tl(e,t,r)}}return e}const nl=(e,t,r)=>e.map((e=>rl(e,t,r))),sl=(e,t)=>{const r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(r.find((r=>e instanceof t[r])))};function il(e,t,r,n){const s=[];try{const i=za(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(s,...i){if(!$a(this,t,r,!0)){const e=function(e){return"experimental-webgl"===e?"webgl":e}(s);if("__context"in this||(this.__context=e),n&&["webgl","webgl2"].includes(e))if(i[0]&&"object"==typeof i[0]){const e=i[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else i.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[s,...i])}}));s.push(i)}catch{}return()=>{s.forEach((e=>e()))}}function ol(e,t,r,n,s,i){const o=[],a=Object.getOwnPropertyNames(e);for(const c of a)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(c))try{if("function"!=typeof e[c])continue;const a=za(e,c,(function(e){return function(...o){const a=e.apply(this,o);if(tl(a,i,this),"tagName"in this.canvas&&!$a(this.canvas,n,s,!0)){const e=nl(o,i,this),n={type:t,property:c,args:e};r(this.canvas,n)}return a}}));o.push(a)}catch{const n=Ga(e,c,{set(e){r(this.canvas,{type:t,property:c,args:[e],setter:!0})}});o.push(n)}return o}const al="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSA
1yKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",cl="undefined"!=typeof window&&window.Blob&&new Blob([(ll=al,Uint8Array.from(atob(ll),(e=>e.charCodeAt(0))))],{type:"text/javascript;charset=utf-8"});var ll;function ul(e){let t;try{if(t=cl&&(window.URL||window.webkitURL).createObjectURL(cl),!t)throw"";const r=new Worker(t,{name:null==e?void 0:e.name});return r.addEventListener("error",(()=>{(window.URL||window.webkitURL).revokeObjectURL(t)})),r}catch(t){return new Worker("data:text/javascript;base64,"+al,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}class hl{constructor(e){i(this,"pendingCanvasMutations",new Map),i(this,"rafStamps",{latestId:0,invokeId:null}),i(this,"mirror"),i(this,"mutationCb"),i(this,"resetObservers"),i(this,"frozen",!1),i(this,"locked",!1),i(this,"processMutation",((e,t)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)}));const{sampling:t="all",win:r,blockClass:n,blockSelector:s,recordCanvas:o,dataURLOptions:a}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,o&&"all"===t&&this.initCanvasMutationObserver(r,n,s),o&&"number"==typeof t&&this.initCanvasFPSObserver(t,r,n,s,{dataURLOptions:a})}reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}initCanvasFPSObserver(e,t,r,n,s){const i=il(t,r,n,!0),o=new Map,a=new ul;a.onmessage=e=>{const{id:t}=e.data;if(o.set(t,!1),!("base64"in e.data))return;const{base64:r,type:n,width:s,height:i}=e.data;this.mutationCb({id:t,type:Cc["2D"],commands:[{property:"clearRect",args:[0,0,s,i]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:n}]},0,0]}]})};const c=1e3/e;let l,u=0;const h=e=>{u&&e-u<c||(u=e,(()=>{const e=[];return t.document.querySelectorAll("canvas").forEach((t=>{$a(t,r,n,!0)||e.push(t)})),e}
vendor: 4,265 bytes, line 1
1)().forEach((async e=>{var t;const r=this.mirror.getId(e);if(o.get(r))return;if(0===e.width||0===e.height)return;if(o.set(r,!0),["webgl","webgl2"].includes(e.__context)){const r=e.getContext(e.__context);!1===(null==(t=null==r?void 0:r.getContextAttributes())?void 0:t.preserveDrawingBuffer)&&r.clear(r.COLOR_BUFFER_BIT)}const n=await createImageBitmap(e);a.postMessage({id:r,bitmap:n,width:e.width,height:e.height,dataURLOptions:s.dataURLOptions},[n])}))),l=requestAnimationFrame(h)};l=requestAnimationFrame(h),this.resetObservers=()=>{i(),cancelAnimationFrame(l)}}initCanvasMutationObserver(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const n=il(e,t,r,!1),s=function(e,t,r,n){const s=[],i=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const o of i)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[o])continue;const i=za(t.CanvasRenderingContext2D.prototype,o,(function(s){return function(...i){return $a(this.canvas,r,n,!0)||setTimeout((()=>{const r=nl(i,t,this);e(this.canvas,{type:Cc["2D"],property:o,args:r})}),0),s.apply(this,i)}}));s.push(i)}catch{const r=Ga(t.CanvasRenderingContext2D.prototype,o,{set(t){e(this.canvas,{type:Cc["2D"],property:o,args:[t],setter:!0})}});s.push(r)}return()=>{s.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r),i=function(e,t,r,n){const s=[];return s.push(...ol(t.WebGLRenderingContext.prototype,Cc.WebGL,e,r,n,t)),void 0!==t.WebGL2RenderingContext&&s.push(...ol(t.WebGL2RenderingContext.prototype,Cc.WebGL2,e,r,n,t)),()=>{s.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r);this.resetObservers=()=>{n(),s(),i()}}startPendingCanvasMutationFlusher(){requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const e=t=>{this.rafStamps.latestId=t,requestAnimationFrame(e)};requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{const r=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,r)})),requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(e);if(!r||-1===t)return;const n=r.map((e=>{const{type:t,...r}=e;return r})),{type:s}=r[0];this.mutationCb({id:t,type:s,commands:n}),this.pendingCanvasMutations.delete(e)}}class dl{constructor(e){i(this,"trackedLinkElements",new WeakSet),i(this,"mutationCb"),i(this,"adoptedStyleSheetCb"),i(this,"styleMirror",new pc),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const r={id:t,styleIds:[]},n=[];for(const t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),n.push({styleId:e,rules:Array.from(t.rules||CSSRule,((e,r)=>({rule:C(e,t.href),index:r})))})),r.styleIds.push(e)}n.length>0&&(r.styles=n),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class pl{constructor(){i(this,"nodeMap",new WeakMap),i(this,"active",!1)}inOtherBuffer(e,t){const r=this.nodeMap.get(e);return r&&Array.from(r).some((e=>e!==t))}add(e,t){this.active||(this.active=!0,requestAnimationFrame((()=>{this.nodeMap=new WeakMap,this.active=!1}))),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}let fl,ml,gl,yl=!1;try{if(2!==Array.from([1],(e=>2*e))[0]){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=(null==(n=e.contentWindow)?void 0:n.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){}const vl=R();function bl(e={}){const{emit:t,checkoutEveryNms:r,checkoutEveryNth:n,blockClass:s="rr-block",blockSelector:i=null,ignoreClass:o="rr-ignore",ignoreSelector:a=null,maskTextClass:c="rr-mask",maskTextSelector:l=null,inlineStylesheet:u=!0,maskAllInputs:h,maskInputOptions:d,slimDOMOptions:p,maskInputFn:f,maskTextFn:m,hooks:g,packFn:y,sampling:v={},dataURLOptions:b={}
vendor: 4,337 bytes, line 1
1,mousemoveWait:w,recordDOM:S=!0,recordCanvas:C=!1,recordCrossOriginIframes:R=!1,recordAfter:x=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:I=!1,collectFonts:E=!1,inlineImages:T=!1,plugins:M,keepIframeSrcFn:A=()=>!1,ignoreCSSAttributes:O=new Set([]),errorHandler:N}=e;Dc=N;const D=!R||window.parent===window;let _=!1;if(!D)try{window.parent.document&&(_=!1)}catch(e){_=!0}if(D&&!t)throw new Error("emit function is required");if(!D&&!_)return()=>{};void 0!==w&&void 0===v.mousemove&&(v.mousemove=w),vl.reset();const L=!0===h?{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},F=!0===p||"all"===p?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===p,headMetaDescKeywords:"all"===p,headTitleMutations:"all"===p}:p||{};let P;nc();let B=0;const j=e=>{for(const t of M||[])t.eventProcessor&&(e=t.eventProcessor(e));return y&&!_&&(e=y(e)),e};fl=(e,s)=>{var i;const o=e;if(o.timestamp=Za(),!(null==(i=Lc[0])?void 0:i.isFrozen())||o.type===vc.FullSnapshot||o.type===vc.IncrementalSnapshot&&o.data.source===bc.Mutation||Lc.forEach((e=>e.unfreeze())),D)null==t||t(j(o),s);else if(_){const e={type:"rrweb",event:j(o),origin:window.location.origin,isCheckout:s};window.parent.postMessage(e,"*")}if(o.type===vc.FullSnapshot)P=o,B=0;else if(o.type===vc.IncrementalSnapshot){if(o.data.source===bc.Mutation&&o.data.isAttachIframe)return;B++;const e=n&&B>=n,t=r&&o.timestamp-P.timestamp>r;(e||t)&&ml(!0)}};const U=e=>{fl({type:vc.IncrementalSnapshot,data:{source:bc.Mutation,...e}})},z=e=>fl({type:vc.IncrementalSnapshot,data:{source:bc.Scroll,...e}}),W=e=>fl({type:vc.IncrementalSnapshot,data:{source:bc.CanvasMutation,...e}}),H=new dl({mutationCb:U,adoptedStyleSheetCb:e=>fl({type:vc.IncrementalSnapshot,data:{source:bc.AdoptedStyleSheet,...e}})}),V=new Jc({mirror:vl,mutationCb:U,stylesheetManager:H,recordCrossOriginIframes:R,wrappedEmit:fl});for(const e of M||[])e.getMirror&&e.getMirror({nodeMirror:vl,crossOriginIframeMirror:V.crossOriginIframeMirror,crossOriginIframeStyleMirror:V.crossOriginIframeStyleMirror});const K=new pl;gl=new hl({recordCanvas:C,mutationCb:W,win:window,blockClass:s,blockSelector:i,mirror:vl,sampling:v.canvas,dataURLOptions:b});const G=new Xc({mutationCb:U,scrollCb:z,bypassOptions:{blockClass:s,blockSelector:i,maskTextClass:c,maskTextSelector:l,inlineStylesheet:u,maskInputOptions:L,dataURLOptions:b,maskTextFn:m,maskInputFn:f,recordCanvas:C,inlineImages:T,sampling:v,slimDOMOptions:F,iframeManager:V,stylesheetManager:H,canvasManager:gl,keepIframeSrcFn:A,processedNodeManager:K},mirror:vl});ml=(e=!1)=>{if(!S)return;fl({type:vc.Meta,data:{href:window.location.href,width:Xa(),height:Ja()}},e),H.reset(),G.init(),Lc.forEach((e=>e.lock()));const t=function(e,t){const{mirror:r=new k,blockClass:n="rr-block",blockSelector:s=null,maskTextClass:i="rr-mask",maskTextSelector:o=null,inlineStylesheet:a=!0,inlineImages:c=!1,recordCanvas:l=!1,maskAllInputs:u=!1,maskTextFn:h,maskInputFn:d,slimDOM:p=!1,dataURLOptions:f,preserveWhiteSpace:m,onSerialize:g,onIframeLoad:y,iframeLoadTimeout:v,onStylesheetLoad:b,stylesheetLoadTimeout:w,keepIframeSrcFn:S=()=>!1}=t||{};return ee(e,{doc:e,mirror:r,blockClass:n,blockSelector:s,maskTextClass:i,maskTextSelector:o,skipChild:!1,inlineStylesheet:a,maskInputOptions:!0===u?{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===u?{password:!0}:u,maskTextFn:h,maskInputFn:d,slimDOMOptions:!0===p||"all"===p?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===p,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===p?{}:p,dataURLOptions:f,inlineImages:c,recordCanvas:l,preserveWhiteSpace:m,onSerialize:g,onIframeLoad:y,iframeLoadTimeout:v,onStylesheetLoad:b,stylesheetLoadTimeout:w,keepIframeSrcFn:S,newlyAddedElement:!1})}(document,{mirror:vl,blockClass:s,blockSelector:i,maskTextClass:c,maskTextSelector:l,inlineStylesheet:u,maskAllInputs:L,maskTextFn:m,maskInputFn:f,slimDOM:F,dataURLOptions:b,recordCanvas:C,inl
1ineImages:T,onSerialize:e=>{oc(e,vl)&&V.addIframe(e),ac(e,vl)&&H.trackLinkElement(e),lc(e)&&G.addShadowRoot(Wa.shadowRoot(e),document)},onIframeLoad:(e,t)=>{V.attachIframe(e,t),G.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{H.attachLinkElement(e,t)},keepIframeSrcFn:A});t&&(fl({type:vc.FullSnapshot,data:{node:t,initialOffset:Ya(window)}},e),Lc.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&H.adoptStyleSheets(document.adoptedStyleSheets,vl.getId(document)))};try{const e=[],t=e=>{var t;return _c(Kc)({mutationCb:U,mousemoveCb:(e,t)=>fl({type:vc.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>fl({type:vc.IncrementalSnapshot,data:{source:bc.MouseInteraction,...e}}),scrollCb:z,viewportResizeCb:e=>fl({type:vc.IncrementalSnapshot,data:{source:bc.ViewportResize,...e}}),inputCb:e=>fl({type:vc.IncrementalSnapshot,data:{source:bc.Input,...e}}),mediaInteractionCb:e=>fl({type:vc.IncrementalSnapshot,data:{source:bc.MediaInteraction,...e}}),styleSheetRuleCb:e=>fl({type:vc.IncrementalSnapshot,data:{source:bc.StyleSheetRule,...e}}),styleDeclarationCb:e=>fl({type:vc.IncrementalSnapshot,data:{source:bc.StyleDeclaration,...e}}),canvasMutationCb:W,fontCb:e=>fl({type:vc.IncrementalSnapshot,data:{source:bc.Font,...e}}),selectionCb:e=>{fl({type:vc.IncrementalSnapshot,data:{source:bc.Selection,...e}})},customElementCb:e=>{fl({type:vc.IncrementalSnapshot,data:{source:bc.CustomElement,...e}})},blockClass:s,ignoreClass:o,ignoreSelector:a,maskTextClass:c,maskTextSelector:l,maskInputOptions:L,inlineStylesheet:u,sampling:v,recordDOM:S,recordCanvas:C,inlineImages:T,userTriggeredOnInput:I,collectFonts:E,doc:e,maskInputFn:f,maskTextFn:m,keepIframeSrcFn:A,blockSelector:i,slimDOMOptions:F,dataURLOptions:b,mirror:vl,iframeManager:V,stylesheetManager:H,shadowDomManager:G,processedNodeManager:K,canvasManager:gl,ignoreCSSAttributes:O,plugins:(null==(t=null==M?void 0:M.filter((e=>e.observer)))?void 0:t.map((e=>({observer:e.observer,options:e.options,callback:t=>fl({type:vc.Plugin,data:{plugin:e.name,payload:t}})}))))||[]},g)};V.addLoadListener((r=>{try{e.push(t(r.contentDocument))}catch(e){}}));const r=()=>{ml(),e.push(t(document)),yl=!0};return"interactive"===document.readyState||"complete"===document.readyState?r():(e.push(Ha("DOMContentLoaded",(()=>{fl({type:vc.DomContentLoaded,data:{}}),"DOMContentLoaded"===x&&r()}))),e.push(Ha("load",(()=>{fl({type:vc.Load,data:{}}),"load"===x&&r()}),window))),()=>{e.forEach((e=>{try{e()}catch(e){String(e).toLowerCase().includes("cross-origin")}})),K.destroy(),yl=!1,Dc=void 0}}catch(e){}}function wl(e){return{all:e=e||new Map,on:function(t,r){var n=e.get(t);n?n.push(r):e.set(t,[r])},off:function(t,r){var n=e.get(t);n&&(r?n.splice(n.indexOf(r)>>>0,1):e.set(t,[]))},emit:function(t,r){var n=e.get(t);n&&n.slice().map((function(e){e(r)})),(n=e.get("*"))&&n.slice().map((function(e){e(t,r)}))}}}bl.addCustomEvent=(e,t)=>{if(!yl)throw new Error("please add custom event after start recording");fl({type:vc.Custom,data:{tag:e,payload:t}})},bl.freezePage=()=>{Lc.forEach((e=>e.freeze()))},bl.takeFullSnapshot=e=>{if(!yl)throw new Error("please take full snapshot after start recording");ml(e)},bl.mirror=vl;Symbol.toStringTag;var Sl,Cl;(Cl=Sl||(Sl={}))[Cl.NotStarted=0]="NotStarted",Cl[Cl.Running=1]="Running",Cl[Cl.Stopped=2]="Stopped";const{addCustomEvent:kl}=bl,{freezePage:Rl}=bl,{takeFullSnapshot:xl}=bl;var Il=r(1690),El=r(5590),Tl=r(9281);class Ml{#j=new Tl.Z(1/0);cycleTimestamp=Date.now();hasSnapshot=!1;hasMeta=!1;hasError=!1;constructor(e=!0){this.inlinedAllStylesheets=e}add(e,t){this.#j.add(e,t)}get events(){return this.#j.get()}get payloadBytesEstimation(){return this.#j.byteSize()}}var Al=r(9324),Ol=r(1577),Nl=r(4842),Dl=r(7187),_l=r(9470),Ll=r(1736),Fl=r(7517),Pl=r(9674),Bl=r(5239),jl=r(2024);const Ul="rrweb-data";class zl{#U=!1;#z=(0,Bl.J)((()=>(0,Pl.R)(47)));#W=!0;triggerHistory=[];constructor(e){this.srInstrument=e,this.ee=e.ee,this.srFeatureName=e.featureName,this.agentRef=e.agentRef,this.isErrorMode=!1,this.shouldFix=this.agentRef.init.session_replay.fix_stylesheets,this.events=new Ml(this.shouldFix),this.backloggedEvents=new Ml(this.shouldFix),this.hasSeenSnapshot=!1,this.hasSeenMeta=!1,this.lastMeta=!1,this.stopRecording=()=>{this.agentRef.runtime.isRecording=!1},(0,jl.i)(Fl.qh,(()=>{this.#W=!1,this.stopRecording()}),this.srFeatureName,this.ee);const t=(e,t)=>{this.audit(e,t)};this.srInstrument.featAggregate?.drained?this.ee.on(Ul,t):(0,jl.i)(Ul,t,this.srFeatureName,this.ee)}get trigger(){return this.triggerHistory[this.triggerHistory.length-1]}getEvents(){return{events:[...this.backloggedEvents.events,...this.events.events].filter((e=>e)),type:"standard",cycleTimestamp:Math.min(this.backloggedEvents.cycleTimestamp,this.events.cycleTimestamp),payloadBytesEstimation:this.backloggedEvents.payloadBytesEstimation+this.events.payloadBytesEstimation,hasError:this.backloggedEvents.hasError||this.events.hasError,hasMeta:this.backloggedEvents.hasMeta||this.events.hasMeta,hasSnapshot:this.backloggedEvents.hasSnapshot||this.events.hasSnapshot,inlinedAllStylesheets:!!this.backloggedEvents.events.length&&this.backloggedEvents.inlinedAllStylesheets||this.events.inlinedAllStylesheets}}clearBuffer(){this.backloggedEvents=this.isErrorMode?this.events:new Ml(this.shouldFix),this.events=new Ml(this.shouldFix)}startRecording(e,t){if(!this.#W)return;this.triggerHistory.push(e),this.isErrorMode=t===Al.g.ERROR,this.stopRecording(),this.agentRef.runtime.isRecording=!0;const{block_class:r,ignore_class:n,mask_text_class:s,block_selector:i,mask_input_options:o,mask_text_selector:a,mask_all_inputs:c,inl
1ine_images:l,collect_fonts:u}=this.agentRef.init.session_replay;let h;try{h=bl({emit:(e,t)=>{(0,Nl.p)(Ul,[e,t],void 0,this.srFeatureName,this.ee)},blockClass:r,ignoreClass:n,maskTextClass:s,blockSelector:i,maskInputOptions:o,maskTextSelector:a,maskTextFn:Ll.rF,maskAllInputs:c,maskInputFn:Ll.rF,inlineStylesheet:!0,inlineImages:l,collectFonts:u,checkoutEveryNms:El.yP[t],recordAfter:"DOMContentLoaded",slimDOMOptions:"all"})}catch(e){this.ee.emit("internal-error",[e])}this.stopRecording=()=>{this.agentRef.runtime.isRecording=!1,h?.()}}audit(e,t){const r=this.agentRef.init.session_replay.fix_stylesheets?Ol.m.evaluate():0,n="SessionReplay/Payload/Missing-Inline-Css/";if(!this.shouldFix)return r>0&&(this.events.inlinedAllStylesheets=!1,this.#z(),(0,Nl.p)(Dl.xV,[n+"Skipped",r],void 0,_l.K7.metrics,this.ee)),this.store(e,t);!r&&this.#U&&e.type===El._s.Meta&&(this.#U=!1),r>0&&(Ol.m.fix().then((e=>{e>0&&(this.events.inlinedAllStylesheets=!1,this.shouldFix=!1),(0,Nl.p)(Dl.xV,[n+"Failed",e],void 0,_l.K7.metrics,this.ee),(0,Nl.p)(Dl.xV,[n+"Fixed",r-e],void 0,_l.K7.metrics,this.ee),this.takeFullSnapshot()})),e.type!==El._s.FullSnapshot&&e.type!==El._s.Meta||(this.#U=!0)),this.#U||this.store(e,t)}store(e,t){if(!e||this.srInstrument.featAggregate?.blocked)return;e.timestamp=this.agentRef.runtime.timeKeeper.correctAbsoluteTimestamp(e.timestamp),e.__serialized=(0,Il.A)(e);const r=e.__serialized.length,n=this.getPayloadSize(r);(0,Nl.p)(Dl.xV,["rrweb/node/"+e.type+"/bytes",r],void 0,_l.K7.metrics,this.ee),this.isErrorMode&&t&&e.type===El._s.Meta&&this.clearBuffer(),this.hasSeenMeta||=this.events.hasMeta||=e.type===El._s.Meta,this.hasSeenSnapshot||=this.events.hasSnapshot||=e.type===El._s.FullSnapshot,this.events.add(e,r),(this.events.hasSnapshot&&this.events.hasMeta||n>Fl.No)&&!this.isErrorMode&&this.agentRef.runtime.harvester.triggerHarvestFor(this.srInstrument.featAggregate)}takeFullSnapshot(){try{if(!this.agentRef.runtime.isRecording)return;bl.takeFullSnapshot()}catch(e){}}clearTimestamps(){this.events.cycleTimestamp=void 0}getPayloadSize(e=0){return this.estimateCompression(this.events.payloadBytesEstimation+e)+El.BB}estimateCompression(e){return this.srInstrument.featAggregate?.gzipper&&this.srInstrument.featAggregate?.u8?e*El.Ug:e}}},9861:function(e,t,r){r.d(t,{gzipSync:function(){return W},strToU8:function(){return K}});var n=Uint8Array,s=Uint16Array,i=Int32Array,o=new n([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,0,0,0]),a=new n([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,0,0]),c=new n([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),l=function(e,t){for(var r=new s(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var o=new i(r[30]);for(n=1;n<30;++n)for(var a=r[n];a<r[n+1];++a)o[a]=a-r[n]<<5|n;return{b:r,r:o}},u=l(o,2),h=u.b,d=u.r;h[28]=258,d[258]=28;for(var p=l(a,0),f=(p.b,p.r),m=new s(32768),g=0;g<32768;++g){var y=(43690&g)>>1|(21845&g)<<1;y=(61680&(y=(52428&y)>>2|(13107&y)<<2))>>4|(3855&y)<<4,m[g]=((65280&y)>>8|(255&y)<<8)>>1}var v=function(e,t,r){for(var n=e.length,i=0,o=new s(t);i<n;++i)e[i]&&++o[e[i]-1];var a,c=new s(t);for(i=1;i<t;++i)c[i]=c[i-1]+o[i-1]<<1;if(r){a=new s(1<<t);var l=15-t;for(i=0;i<n;++i)if(e[i])for(var u=i<<4|e[i],h=t-e[i],d=c[e[i]-1]++<<h,p=d|(1<<h)-1;d<=p;++d)a[m[d]>>l]=u}else for(a=new s(n),i=0;i<n;++i)e[i]&&(a[i]=m[c[e[i]-1]++]>>15-e[i]);return a},b=new n(288);for(g=0;g<144;++g)b[g]=8;for(g=144;g<256;++g)b[g]=9;for(g=256;g<280;++g)b[g]=7;for(g=280;g<288;++g)b[g]=8;var w=new n(32);for(g=0;g<32;++g)w[g]=5;var S=v(b,9,0),C=v(w,5,0),k=function(e){return(e+7)/8|0},R=function(e,t,r){return(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length),new n(e.subarray(t,r))},x=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8},I=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8,e[n+2]|=r>>16},E=function(e,t){for(var r=[],i=0;i<e.length;++i)e[i]&&r.push({s:i,f:e[i]});var o=r.length,a=r.slice();if(!o)return{t:_,l:0};if(1==o){var c=new n(r[0].s+1);return c[r[0].s]=1,{t:c,l:1}}r.sort((function(e,t){return e.f-t.f})),r.push({s:-1,f:25001});var l=r[0],u=r[1],h=0,d=1,p=2;for(r[0]={s:-1,f:l.f+u.f,l:l,r:u};d!=o-1;)l=r[r[h].f<r[p].f?h++:p++],u=r[h!=d&&r[h].f<r[p].f?h++:p++],r[d++]={s:-1,f:l.f+u.f,l:l,r:u};var f=a[0].s;for(i=1;i<o;++i)a[i].s>f&&(f=a[i].s);var m=new s(f+1),g=T(r[d-1],m,0);if(g>t){i=0;var y=0,v=g-t,b=1<<v;for(a.sort((function(e,t){return m[t.s]-m[e.s]||e.f-t.f}));i<o;++i){var w=a[i].s;if(!(m[w]>t))break;y+=b-(1<<g-m[w]),m[w]=t}for(y>>=v;y>0;){var S=a[i].s;
vendor: 4,788 bytes, line 1
1m[S]<t?y-=1<<t-m[S]++-1:++i}for(;i>=0&&y;--i){var C=a[i].s;m[C]==t&&(--m[C],++y)}g=t}return{t:new n(m),l:g}},T=function(e,t,r){return-1==e.s?Math.max(T(e.l,t,r+1),T(e.r,t,r+1)):t[e.s]=r},M=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new s(++t),n=0,i=e[0],o=1,a=function(e){r[n++]=e},c=1;c<=t;++c)if(e[c]==i&&c!=t)++o;else{if(!i&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(i),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(i);o=1,i=e[c]}return{c:r.subarray(0,n),n:t}},A=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},O=function(e,t,r){var n=r.length,s=k(t+2);e[s]=255&n,e[s+1]=n>>8,e[s+2]=255^e[s],e[s+3]=255^e[s+1];for(var i=0;i<n;++i)e[s+i+4]=r[i];return 8*(s+4+n)},N=function(e,t,r,n,i,l,u,h,d,p,f){x(t,f++,r),++i[256];for(var m=E(i,15),g=m.t,y=m.l,k=E(l,15),R=k.t,T=k.l,N=M(g),D=N.c,_=N.n,L=M(R),F=L.c,P=L.n,B=new s(19),j=0;j<D.length;++j)++B[31&D[j]];for(j=0;j<F.length;++j)++B[31&F[j]];for(var U=E(B,7),z=U.t,W=U.l,H=19;H>4&&!z[c[H-1]];--H);var V,K,G,Z,Y=p+5<<3,J=A(i,b)+A(l,w)+u,X=A(i,g)+A(l,R)+u+14+3*H+A(B,z)+2*B[16]+3*B[17]+7*B[18];if(d>=0&&Y<=J&&Y<=X)return O(t,f,e.subarray(d,d+p));if(x(t,f,1+(X<J)),f+=2,X<J){V=v(g,y,0),K=g,G=v(R,T,0),Z=R;var q=v(z,W,0);x(t,f,_-257),x(t,f+5,P-1),x(t,f+10,H-4),f+=14;for(j=0;j<H;++j)x(t,f+3*j,z[c[j]]);f+=3*H;for(var $=[D,F],Q=0;Q<2;++Q){var ee=$[Q];for(j=0;j<ee.length;++j){var te=31&ee[j];x(t,f,q[te]),f+=z[te],te>15&&(x(t,f,ee[j]>>5&127),f+=ee[j]>>12)}}}else V=S,K=b,G=C,Z=w;for(j=0;j<h;++j){var re=n[j];if(re>255){I(t,f,V[(te=re>>18&31)+257]),f+=K[te+257],te>7&&(x(t,f,re>>23&31),f+=o[te]);var ne=31&re;I(t,f,G[ne]),f+=Z[ne],ne>3&&(I(t,f,re>>5&8191),f+=a[ne])}else I(t,f,V[re]),f+=K[re]}return I(t,f,V[256]),f+K[256]},D=new i([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),_=new n(0),L=function(e,t,r,c,l,u){var h=u.z||e.length,p=new n(c+h+5*(1+Math.ceil(h/7e3))+l),m=p.subarray(c,p.length-l),g=u.l,y=7&(u.r||0);if(t){y&&(m[0]=u.r>>3);for(var v=D[t-1],b=v>>13,w=8191&v,S=(1<<r)-1,C=u.p||new s(32768),x=u.h||new s(S+1),I=Math.ceil(r/3),E=2*I,T=function(t){return(e[t]^e[t+1]<<I^e[t+2]<<E)&S},M=new i(25e3),A=new s(288),_=new s(32),L=0,F=0,P=u.i||0,B=0,j=u.w||0,U=0;P+2<h;++P){var z=T(P),W=32767&P,H=x[z];if(C[W]=H,x[z]=W,j<=P){var V=h-P;if((L>7e3||B>24576)&&(V>423||!g)){y=N(e,m,0,M,A,_,F,B,U,P-U,y),B=L=F=0,U=P;for(var K=0;K<286;++K)A[K]=0;for(K=0;K<30;++K)_[K]=0}var G=2,Z=0,Y=w,J=W-H&32767;if(V>2&&z==T(P-J))for(var X=Math.min(b,V)-1,q=Math.min(32767,P),$=Math.min(258,V);J<=q&&--Y&&W!=H;){if(e[P+G]==e[P+G-J]){for(var Q=0;Q<$&&e[P+Q]==e[P+Q-J];++Q);if(Q>G){if(G=Q,Z=J,Q>X)break;var ee=Math.min(J,Q-2),te=0;for(K=0;K<ee;++K){var re=P-J+K&32767,ne=re-C[re]&32767;ne>te&&(te=ne,H=re)}}}J+=(W=H)-(H=C[W])&32767}if(Z){M[B++]=268435456|d[G]<<18|f[Z];var se=31&d[G],ie=31&f[Z];F+=o[se]+a[ie],++A[257+se],++_[ie],j=P+G,++L}else M[B++]=e[P],++A[e[P]]}}for(P=Math.max(P,j);P<h;++P)M[B++]=e[P],++A[e[P]];y=N(e,m,g,M,A,_,F,B,U,P-U,y),g||(u.r=7&y|m[y/8|0]<<3,y-=7,u.h=x,u.p=C,u.i=P,u.w=j)}else{for(P=u.w||0;P<h+g;P+=65535){var oe=P+65535;oe>=h&&(m[y/8|0]=g,oe=h),y=O(m,y+1,e.subarray(P,oe))}u.i=h}return R(p,0,c+k(y)+l)},F=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&-306674912)^r>>>1;e[t]=r}return e}(),P=function(){var e=-1;return{p:function(t){for(var r=e,n=0;n<t.length;++n)r=F[255&r^t[n]]^r>>>8;e=r},d:function(){return~e}}},B=function(e,t,r,s,i){if(!i&&(i={l:1},t.dictionary)){var o=t.dictionary.subarray(-32768),a=new n(o.length+e.length);a.set(o),a.set(e,o.length),e=a,i.w=o.length}return L(e,null==t.level?6:t.level,null==t.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,r,s,i)},j=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},U=function(e,t){var r=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:9==t.level?2:0,e[9]=3,0!=t.mtime&&j(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),r){e[3]=8;for(var n=0;n<=r.length;++n)e[n+10]=r.charCodeAt(n)}},z=function(e){return 10+(e.filename?e.filename.length+1:0)};function W(e,t){t||(t={});var r=P(),n=e.length;r.p(e);var s=B(e,t,z(t),8),i=s.length;return U(s,t),j(s,i-8,r.d()),j(s,i-4,n),s}var H="undefined"!=typeof TextEncoder&&new TextEncoder,V="undefined"!=typeof TextDecoder&&new TextDecoder;try{V.decode(_,{stream:!0})}catch(e){}function K(e,t){if(t){for(var r=new n(e.length),s=0;s<e.length;++s)r[s]=e.charCodeAt(s);return r}if(H)return H.encode(e);var i=e.length,o=new n(e.length+(e.length>>1)),a=0,c=function(e){o[a++]=e};for(s=0;s<i;++s){if(a+5>o.length){var l=new n(a+8+(i-s<<1));l.set(o),o=l}var u=e.charCodeAt(s);u<128||t?c(u):u<2048?(c(192|u>>6),c(128|63&u)):u>55295&&u<57344?(c(240|(u=65536+(1047552&u)|1023&e.charCodeAt(++s))>>18),c(128|u>>12&63),c(128|u>>6&63),c(128|63&u)):(c(224|u>>
112),c(128|u>>6&63),c(128|63&u))}return R(o,0,a)}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},n.apply(this,arguments)};function s(e,t,r,n){return new(r||(r=Promise))((function(s,i){function o(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}c((n=n.apply(e,t||[])).next())}))}function i(e,t){var r,n,s,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(c){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(s=2&a[0]?n.return:a[0]?n.throw||((s=n.return)&&s.call(n),0):n.next)&&!(s=s.call(n,a[1])).done)return s;switch(n=0,s&&(a=[2&a[0],s.value]),a[0]){case 0:case 1:s=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(s=i.trys,(s=s.length>0&&s[s.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(6===a[0]&&i.label<s[1]){i.label=s[1],s=a;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(a);break}s[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=s=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;var o=r(1966),a=r(4842),c=r(9176),l=r(8740);let u=1;function h(e){const t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===l.gm?0:(0,c.I)(e,"nr@id",(function(){return u++}))}var d=r(1690);function p(e){if("string"==typeof e&&e.length)return e.length;if("object"==typeof e){if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if("undefined"!=typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!("undefined"!=typeof FormData&&e instanceof FormData))try{return(0,d.A)(e).length}catch(e){return}}}var f=r(7508),m=r(3941),g=r(8126),y=r(7340),v=r(9674);const b={},w=["open","send"];function S(e){var t=e||g.ee;const r=function(e){return(e||g.ee).get("xhr")}(t);if(void 0===l.gm.XMLHttpRequest)return r;if(b[r.debugId]++)return r;b[r.debugId]=1,(0,m.u)(t);var n=(0,y.YM)(r),s=l.gm.XMLHttpRequest,i=l.gm.MutationObserver,o=l.gm.Promise,a=l.gm.setInterval,c="readystatechange",u=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],h=[],d=l.gm.XMLHttpRequest=function(e){const t=new s(e),i=r.context(t);try{r.emit("new-xhr",[t],i),t.addEventListener(c,(o=i,function(){var e=this;e.readyState>3&&!o.resolved&&(o.resolved=!0,r.emit("xhr-resolved",[],e)),n.inPlace(e,u,"fn-",x)}),(0,f.jT)(!1))}catch(e){(0,v.R)(15,e);try{r.emit("internal-error",[e])}catch(e){}}var o;return t};function p(e,t){n.inPlace(t,["onreadystatechange"],"fn-",x)}if(function(e,t){for(var r in e)t[r]=e[r]}(s,d),d.prototype=s.prototype,n.inPlace(d.prototype,w,"-xhr-",x),r.on("send-xhr-start",(function(e,t){p(e,t),function(e){h.push(e),i&&(S?S.then(R):a?a(R):(C=-C,k.data=C))}(t)})),r.on("open-xhr-start",p),i){var S=o&&o.resolve();if(!a&&!o){var C=1,k=document.createTextNode(C);new i(R).observe(k,{characterData:!0}
1)}}else t.on("fn-end",(function(e){e[0]&&e[0].type===c||R()}));function R(){for(var e=0;e<h.length;e++)p(0,h[e]);h.length&&(h=[])}function x(e,t){return t}return r}var C="fetch-",k=C+"body-",R=["arrayBuffer","blob","json","text","formData"],x=l.gm.Request,I=l.gm.Response,E="prototype";const T={};function M(e){const t=function(e){return(e||g.ee).get("fetch")}(e);if(!(x&&I&&l.gm.fetch))return t;if(T[t.debugId]++)return t;function r(e,r,n){var s=e[r];"function"==typeof s&&(e[r]=function(){var e,r=[...arguments],i={};t.emit(n+"before-start",[r],i),i[g.P]&&i[g.P].dt&&(e=i[g.P].dt);var o=s.apply(this,r);return t.emit(n+"start",[r,e],o),o.then((function(e){return t.emit(n+"end",[null,e],o),e}),(function(e){throw t.emit(n+"end",[e],o),e}))})}return T[t.debugId]=1,R.forEach((e=>{r(x[E],e,k),r(I[E],e,k)})),r(l.gm,"fetch",C),t.on(C+"end",(function(e,r){var n=this;if(r){var s=r.headers.get("content-length");null!==s&&(n.rxSize=s),t.emit(C+"done",[null,r],n)}else t.emit(C+"done",[e],n)})),t}var A=r(1375),O=r(8800);class N{constructor(e){this.agentRef=e}generateTracePayload(e){const t=this.agentRef.loader_config;if(!this.shouldGenerateTrace(e)||!t)return null;var r=(t.accountID||"").toString()||null,n=(t.agentID||"").toString()||null,s=(t.trustKey||"").toString()||null;if(!r||!n)return null;var i=(0,O.ZF)(),o=(0,O.el)(),a=Date.now(),c={spanId:i,traceId:o,timestamp:a};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(c.traceContextParentHeader=this.generateTraceContextParentHeader(i,o),c.traceContextStateHeader=this.generateTraceContextStateHeader(i,a,r,n,s)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(c.newrelicHeader=this.generateTraceHeader(i,o,a,r,n,s)),c}generateTraceContextParentHeader(e,t){return"00-"+t+"-"+e+"-01"}generateTraceContextStateHeader(e,t,r,n,s){return s+"@nr=0-1-"+r+"-"+n+"-"+e+"----"+t}generateTraceHeader(e,t,r,n,s,i){if(!("function"==typeof l.gm?.btoa))return null;var o={v:[0,1],d:{ty:"Browser",ac:n,ap:s,id:e,tr:t,ti:r}};return i&&n!==i&&(o.d.tk=i),btoa((0,d.A)(o))}shouldGenerateTrace(e){return this.agentRef.init?.distributed_tracing?.enabled&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var t=!1;const r=this.agentRef.init?.distributed_tracing;if(e.sameOrigin)t=!0;else if(r?.allowed_origins instanceof Array)for(var n=0;n<r.allowed_origins.length;n++){var s=(0,A.D)(r.allowed_origins[n]);if(e.hostname===s.hostname&&e.protocol===s.protocol&&e.port===s.port){t=!0;break}}return t}excludeNewrelicHeader(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.exclude_newrelic_header}useNewrelicHeaderForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!1!==e.cors_use_newrelic_header}useTraceContextHeadersForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.cors_use_tracecontext_headers}}var D=r(6657),_=r(7688),L=r(2919),F=r(9470),P=r(1736),B=r(7305),j=r(5239),U=r(7517);class z extends _.W{constructor(e,t){super(e.agentIdentifier,t),this.agentRef=e,this.abortHandler=void 0,this.featAggregate=void 0,this.loadedSuccessfully=void 0,this.onAggregateImported=new Promise((e=>{this.loadedSuccessfully=e})),this.deferred=Promise.resolve(),!1===e.init[this.featureName].autoStart?this.deferred=new Promise(((t,r)=>{this.ee.on("manual-start-all",(0,j.J)((()=>{(0,D.Ak)(e.agentIdentifier,this.featureName),t()})))})):(0,D.Ak)(e.agentIdentifier,t)}importAggregator(e,t,n={}){if(this.featAggregate)return;const s=async()=>{let s;await this.deferred;try{if((0,B.V)(e.init)){const{setupAgentSession:t}=await Promise.resolve().then(r.bind(r,4128));s=t(e)}}catch(e){(0,v.R)(20,e),this.ee.emit("internal-error",[e]),(0,a.p)(U.qh,[e],void 0,this.featureName,this.ee)}try{if(!this.#H(this.featureName,s,e.init))return(0,D.Ze)(this.agentIdentifier,this.featureName),void this.loadedSuccessfully(!1);const{Aggregate:r}=await t();this.featAggregate=new r(e,n),e.runtime.harvester.initializedAggregates.push(this.featAggregate),this.loadedSuccessfully(!0)}catch(e){(0,v.R)(34,e),this.abortHandler?.(),(0,D.Ze)(this.agentIdentifier,this.featureName,!0),this.loadedSuccessfully(!1),this.ee&&this.ee.abort()}};l.RI?(0,L.GG)((()=>s()),!0):s()}#H(e,t,r){if(this.blocked)return!1;switch(e){case F.K7.sessionReplay:return(0,P.SR)(r)&&!!t;case F.K7.sessionTrace:return!!t;default:return!0}}}var W=r(1914),H=r(7187),V=r(1609),K=r(4897);function G(e){return"string"==typeof e?e:e instanceof(0,o.dV)().o.REQ?e.url:l.gm?.URL&&e instanceof URL?e.href:void 0}var Z=["load","error","abort","timeout"],Y=Z.length,J=(0,o.dV)().o.REQ,X=(0,o.dV)().o.XHR;const q="X-NewRelic-App-Data";class $ extends z{static featureName=W.T;constructor(e){super(e,W.T),this.dt=new N(e),this.handler=(e,t,r,n)=>(0,a.p)(e,t,r,n,this.ee);try{const e={xmlhttprequest:"xhr",fetch:"fetch",beacon:"beacon"};l.gm?.performance?.getEntriesByType("resource").forEach((t=>{if(t.initiatorType in e&&0!==t.responseStatus){const r={status:t.responseStatus},n={rxSize:t.transferSize,duration:Math.floor(t.duration),cbTime:0};Q(r,t.name),this.handler("xhr",[r,n,t.startTime,t.responseEnd,e[t.initiatorType]],void 0,F.K7.ajax)}}))}catch(e){}M(this.ee),S(this.ee),function(e,t,r,n){function s(e){var t=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=R,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},t.latestLongtaskEnd=0,e.addEventListener("load",(function(r){x(t,e)}),(0,f.jT)(!1)),l.lR||e.addEventListener("progress",(function(e){t.lastSize=e.loaded}),(0,f.jT)(!1))}function i(e){this.params={method:e[0]},Q(this,e[1]),this.metrics={}}function o(t,r){e.loader_config.xpid&&this.sameOrigin&&r.setRequestHeader("X-NewRelic-ID",e.loader_config.xpid);var s=n.generateTracePayload(this.parsedOrigin);if(s){var i=!1;s.newrelicHeader&&(r.setRequestHeader("newrelic",s.newrelicHeader),i=!0),s.traceContextParentHeader&&(r.setRequestHeader("traceparent",s.traceContextParentHeader),s.traceContextStateHeader&&r.setRequestHeader("tracestate",s.traceContextStateHeader),i=!0),i&&(this.dt=s)}}function c(e,r){var n=this.metrics,s=e[0],i=this;if(n&&s){var o=p(s);o&&(n.txSize=o)}this.startTime=(0,V.t)(),this.body=s,this.listener=function(e){try{"abort"!==e.type||i.loadCaptureCalled||(i.params.aborted=!0),("load"
1!==e.type||i.called===i.totalCbs&&(i.onloadCalled||"function"!=typeof r.onload)&&"function"==typeof i.end)&&i.end(r)}catch(e){try{t.emit("internal-error",[e])}catch(e){}}};for(var a=0;a<Y;a++)r.addEventListener(Z[a],this.listener,(0,f.jT)(!1))}function u(e,t,r){this.cbTime+=e,t?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof r.onload||"function"!=typeof this.end||this.end(r)}function d(e,t){var r=""+h(e)+!!t;this.xhrGuids&&!this.xhrGuids[r]&&(this.xhrGuids[r]=!0,this.totalCbs+=1)}function m(e,t){var r=""+h(e)+!!t;this.xhrGuids&&this.xhrGuids[r]&&(delete this.xhrGuids[r],this.totalCbs-=1)}function g(){this.endTime=(0,V.t)()}function y(e,r){r instanceof X&&"load"===e[0]&&t.emit("xhr-load-added",[e[1],e[2]],r)}function v(e,r){r instanceof X&&"load"===e[0]&&t.emit("xhr-load-removed",[e[1],e[2]],r)}function b(e,t,r){t instanceof X&&("onload"===r&&(this.onload=!0),("load"===(e[0]&&e[0].type)||this.onload)&&(this.xhrCbStart=(0,V.t)()))}function w(e,r){this.xhrCbStart&&t.emit("xhr-cb-time",[(0,V.t)()-this.xhrCbStart,this.onload,r],r)}function S(e){var t,r=e[1]||{};if("string"==typeof e[0]?0===(t=e[0]).length&&l.RI&&(t=""+l.gm.location.href):e[0]&&e[0].url?t=e[0].url:l.gm?.URL&&e[0]&&e[0]instanceof URL?t=e[0].href:"function"==typeof e[0].toString&&(t=e[0].toString()),"string"==typeof t&&0!==t.length){t&&(this.parsedOrigin=(0,A.D)(t),this.sameOrigin=this.parsedOrigin.sameOrigin);var s=n.generateTracePayload(this.parsedOrigin);if(s&&(s.newrelicHeader||s.traceContextParentHeader))if(e[0]&&e[0].headers)a(e[0].headers,s)&&(this.dt=s);else{var i={};for(var o in r)i[o]=r[o];i.headers=new Headers(r.headers||{}),a(i.headers,s)&&(this.dt=s),e.length>1?e[1]=i:e.push(i)}}function a(e,t){var r=!1;return t.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),r=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),r=!0),r}}function C(e,t){this.params={},this.metrics={},this.startTime=(0,V.t)(),this.dt=t,e.length>=1&&(this.target=e[0]),e.length>=2&&(this.opts=e[1]);var r=this.opts||{},n=this.target;Q(this,G(n));var s=(""+(n&&n instanceof J&&n.method||r.method||"GET")).toUpperCase();this.params.method=s,this.body=r.body,this.txSize=p(r.body)||0}function k(e,t){if(this.endTime=(0,V.t)(),this.params||(this.params={}),(0,K.iW)(this.params))return;let n;this.params.status=t?t.status:0,"string"==typeof this.rxSize&&this.rxSize.length>0&&(n=+this.rxSize);const s={txSize:this.txSize,rxSize:n,duration:(0,V.t)()-this.startTime};r("xhr",[this.params,s,this.startTime,this.endTime,"fetch"],this,F.K7.ajax)}function R(e){const t=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(let t=0;t<Y;t++)e.removeEventListener(Z[t],this.listener,!1);t.aborted||(0,K.iW)(t)||(n.duration=(0,V.t)()-this.startTime,this.loadCaptureCalled||4!==e.readyState?null==t.status&&(t.status=0):x(this,e),n.cbTime=this.cbTime,r("xhr",[t,n,this.startTime,this.endTime,"xhr"],this,F.K7.ajax))}}function x(e,r){e.params.status=r.status;var n=function(e,t){var r=e.responseType;return"json"===r&&null!==t?t:"arraybuffer"===r||"blob"===r||"json"===r?p(e.response):"text"===r||""===r||void 0===r?p(e.responseText):void 0}(r,e.lastSize);if(n&&(e.metrics.rxSize=n),e.sameOrigin&&r.getAllResponseHeaders().indexOf(q)>=0){var s=r.getResponseHeader(q);s&&((0,a.p)(H.rs,["Ajax/CrossApplicationTracing/Header/Seen"],void 0,F.K7.metrics,t),e.params.cat=s.split(", ").pop())}e.loadCaptureCalled=!0}t.on("new-xhr",s),t.on("open-xhr-start",i),t.on("open-xhr-end",o),t.on("send-xhr-start",c),t.on("xhr-cb-time",u),t.on("xhr-load-added",d),t.on("xhr-load-removed",m),t.on("xhr-resolved",g),t.on("addEventListener-end",y),t.on("removeEventListener-end",v),t.on("fn-end",w),t.on("fetch-before-start",S),t.on("fetch-start",C),t.on("fn-start",b),t.on("fetch-done",k)}(e,this.ee,this.handler,this.dt),this.importAggregator(e,(()=>Promise.resolve().then(r.bind(r,3200))))}}function Q(e,t){var r=(0,A.D)(t),n=e.params||e;n.hostname=r.hostname,n.port=r.port,n.protocol=r.protocol,n.host=r.hostname+":"+r.port,n.pathname=r.pathname,e.parsedOrigin=r,e.sameOrigin=r.sameOrigin}const ee=$;var te=r(8839),re=r(47);function ne(e,t,r,n,s=(0,V.t)()){(0,a.p)(te.Pl+te.hG,[s,e,t,n],void 0,F.K7.genericEvents,r.ee)}function se(e){(0,re.Y)(te.BL,(function(t=Date.now()){const r=t-l.WN;r<0&&(0,v.R)(62,t),(0,a.p)(H.XG,[te.BL,{time:r}],void 0,F.K7.metrics,e.ee),e.addToTrace({name:te.BL,start:t,origin:"nr"}),(0,a.p)(te.Pl+te.hG,[r,te.BL],void 0,F.K7.genericEvents,e.ee)}),e)}function ie(e,t={},r,n,s=(0,V.t)()){(0,a.p)(te.Pl+te.fF,[s,e,t,n],void 0,F.K7.genericEvents,r.ee)}var oe=r(447),ae=r(1059);function ce(e,{customAttributes:t={},level:r=ae.p_.INFO}={},n,s,i=(0,V.t)()){!function(e,t,r={},n=ae.p_.INFO,s=!0,i,o=(0,V.t)()){(0,a.p)(H.xV,["API/logging/".concat(n.toLowerCase(),"/called")],void 0,F.K7.metrics,e),(0,a.p)(ae.ET,[o,t,r,n,s,i],void 0,F.K7.logging,e)}(n.ee,e,t,r,!1,s,i)}function le(e,t,r,n,s=(0,V.t)()){"string"==typeof e&&(e=new Error(e)),(0,a.p)("err",[e,s,!1,t,r.runtime.isRecording,void 0,n],void 0,F.K7.jserrors,r.ee),(0,a.p)("uaErr",[],void 0,F.K7.genericEvents,r.ee)}function ue(e,t,r,n,s=(0,V.t)()){const{start:i,end:o,customAttributes:c}=t||{},l={customAttributes:c||{}};if("object"!=typeof l.customAttributes||"string"!=typeof e||0===e.length)return void(0,v.R)(57);const u=(e,t)=>
1null==e?t:"number"==typeof e?e:e instanceof PerformanceMark?e.startTime:Number.NaN;if(l.start=u(i,0),l.end=u(o,s),Number.isNaN(l.start)||Number.isNaN(l.end))(0,v.R)(57);else{if(l.duration=l.end-l.start,!(l.duration<0))return(0,a.p)(te.Pl+te.V1,[l,e,n],void 0,F.K7.genericEvents,r.ee),l;(0,v.R)(58)}}const he=["name","id","type"];function de(e){(0,re.Y)(te.eY,(function(t){return pe(e,t)}),e)}function pe(e,t,r){(0,v.R)(54,"newrelic.register"),t||={},t.type=oe.f.MFE,t.licenseKey||=e.info.licenseKey,t.blocked=!1,t.parent=r||{},("object"!=typeof t.tags||null===t.tags||Array.isArray(t.tags))&&(t.tags={});const n={};Object.entries(t.tags).forEach((([e,t])=>{he.includes(e)||(n["source.".concat(e)]=t)})),t.isolated??=!0;let s=()=>{};const i=e.runtime.registeredEntities;if(!t.isolated){const e=i.find((({metadata:{target:{id:e}}})=>e===t.id&&!t.isolated));if(e)return e}const o=e=>{t.blocked=!0,s=e};function c(e){return"string"==typeof e&&!!e.trim()&&e.trim().length<501||"number"==typeof e}e.init.api.allow_registered_children||o((0,j.J)((()=>(0,v.R)(55)))),c(t.id)&&c(t.name)||o((0,j.J)((()=>(0,v.R)(48,t))));const l={addPageAction:(r,s={})=>d(ne,[r,{...n,...s},e],t),deregister:()=>{o((0,j.J)((()=>(0,v.R)(68))))},log:(r,s={})=>d(ce,[r,{...s,customAttributes:{...n,...s.customAttributes||{}}},e],t),measure:(r,s={})=>d(ue,[r,{...s,customAttributes:{...n,...s.customAttributes||{}}},e],t),noticeError:(r,s={})=>d(le,[r,{...n,...s},e],t),register:(t={})=>d(pe,[e,t],l.metadata.target),recordCustomEvent:(r,s={})=>d(ie,[r,{...n,...s},e],t),setApplicationVersion:e=>h("application.version",e),setCustomAttribute:(e,t)=>h(e,t),setUserId:e=>h("enduser.id",e),metadata:{customAttributes:n,target:t}},u=()=>(t.blocked&&s(),t.blocked);u()||i.push(l);const h=(e,t)=>{u()||(n[e]=t)},d=(t,r,n)=>{if(u()&&t!==pe)return;const s=(0,V.t)();(0,a.p)(H.xV,["API/register/".concat(t.name,"/called")],void 0,F.K7.metrics,e.ee);try{if(e.init.api.duplicate_registered_data&&t!==pe){let e=r;if(r[1]instanceof Object){const t={"child.id":n.id,"child.type":n.type};e="customAttributes"in r[1]?[r[0],{...r[1],customAttributes:{...r[1].customAttributes,...t}},...r.slice(2)]:[r[0],{...r[1],...t},...r.slice(2)]}t(...e,void 0,s)}return t(...r,n,s)}catch(e){(0,v.R)(50,e)}};return l}var fe=r(7023);const me={},ge=["pushState","replaceState"];function ye(e){const t=function(e){return(e||g.ee).get("history")}(e);return!l.RI||me[t.debugId]++||(me[t.debugId]=1,(0,y.YM)(t).inPlace(window.history,ge,"-")),t}var ve=r(8897),be=r(2449);const we={},Se=new Set;function Ce(e){return"string"==typeof e?{type:"string",size:(new TextEncoder).encode(e).length}:e instanceof ArrayBuffer?{type:"ArrayBuffer",size:e.byteLength}:e instanceof Blob?{type:"Blob",size:e.size}:e instanceof DataView?{type:"DataView",size:e.byteLength}:ArrayBuffer.isView(e)?{type:"TypedArray",size:e.byteLength}:{type:"unknown",size:0}}class ke{constructor(e,t){this.timestamp=(0,V.t)(),this.currentUrl=(0,ve.L)(window.location.href),this.socketId=(0,O.LA)(8),this.requestedUrl=(0,ve.L)(e),this.requestedProtocols=Array.isArray(t)?t.join(","):t||"",this.openedAt=void 0,this.protocol=void 0,this.extensions=void 0,this.binaryType=void 0,this.messageOrigin=void 0,this.messageCount=0,this.messageBytes=0,this.messageBytesMin=0,this.messageBytesMax=0,this.messageTypes=void 0,this.sendCount=0,this.sendBytes=0,this.sendBytesMin=0,this.sendBytesMax=0,this.sendTypes=void 0,this.closedAt=void 0,this.closeCode=void 0,this.closeReason="unknown",this.closeWasClean=void 0,this.connectedDuration=0,this.hasErrors=void 0}}class Re extends z{static featureName=fe.TZ;constructor(e){super(e,fe.TZ);const t=e.init.feature_flags.includes("websockets"),n=[e.init.page_action.enabled,e.init.performance.capture_marks,e.init.performance.capture_measures,e.init.performance.resources.enabled,e.init.user_actions.enabled,t];var s;let i,c;if(s=e,(0,re.Y)(te.hG,((e,t)=>
1ne(e,t,s)),s),function(e){(0,re.Y)(te.fF,((t,r)=>ie(t,r,e)),e)}(e),se(e),de(e),function(e){(0,re.Y)(te.V1,((t,r)=>ue(t,r,e)),e)}(e),t&&(c=function(e){if(!(0,o.dV)().o.WS)return e;const t=e.get("websockets");if(we[t.debugId]++)return t;we[t.debugId]=1,(0,be.G)((()=>{const e=(0,V.t)();Se.forEach((r=>{r.nrData.closedAt=e,r.nrData.closeCode=1001,r.nrData.closeReason="Page navigating away",r.nrData.closeWasClean=!1,r.nrData.openedAt&&(r.nrData.connectedDuration=e-r.nrData.openedAt),t.emit("ws",[r.nrData],r)}))}));class r extends WebSocket{static name="WebSocket";static toString(){return"function WebSocket() { [native code] }"}toString(){return"[object WebSocket]"}get[Symbol.toStringTag](){return r.name}#V(e){(e.__newrelic??={}).socketId=this.nrData.socketId,this.nrData.hasErrors??=!0}constructor(...e){super(...e),this.nrData=new ke(e[0],e[1]),this.addEventListener("open",(()=>{this.nrData.openedAt=(0,V.t)(),["protocol","extensions","binaryType"].forEach((e=>{this.nrData[e]=this[e]})),Se.add(this)})),this.addEventListener("message",(e=>{const{type:t,size:r}=Ce(e.data);this.nrData.messageOrigin??=(0,ve.L)(e.origin),this.nrData.messageCount++,this.nrData.messageBytes+=r,this.nrData.messageBytesMin=Math.min(this.nrData.messageBytesMin||1/0,r),this.nrData.messageBytesMax=Math.max(this.nrData.messageBytesMax,r),(this.nrData.messageTypes??"").includes(t)||(this.nrData.messageTypes=this.nrData.messageTypes?"".concat(this.nrData.messageTypes,",").concat(t):t)})),this.addEventListener("close",(e=>{this.nrData.closedAt=(0,V.t)(),this.nrData.closeCode=e.code,e.reason&&(this.nrData.closeReason=e.reason),this.nrData.closeWasClean=e.wasClean,this.nrData.connectedDuration=this.nrData.closedAt-this.nrData.openedAt,Se.delete(this),t.emit("ws",[this.nrData],this)}))}addEventListener(e,t,...r){const n=this,s="function"==typeof t?function(...e){try{return t.apply(this,e)}catch(e){throw n.#V(e),e}}:t?.handleEvent?{handleEvent:function(...e){try{return t.handleEvent.apply(t,e)}catch(e){throw n.#V(e),e}}}:t;return super.addEventListener(e,s,...r)}send(e){if(this.readyState===WebSocket.OPEN){const{type:t,size:r}=Ce(e);this.nrData.sendCount++,this.nrData.sendBytes+=r,this.nrData.sendBytesMin=Math.min(this.nrData.sendBytesMin||1/0,r),this.nrData.sendBytesMax=Math.max(this.nrData.sendBytesMax,r),(this.nrData.sendTypes??"").includes(t)||(this.nrData.sendTypes=this.nrData.sendTypes?"".concat(this.nrData.sendTypes,",").concat(t):t)}try{return super.send(e)}catch(e){throw this.#V(e),e}}close(...e){try{super.close(...e)}catch(e){throw this.#V(e),e}}}return l.gm.WebSocket=r,t}(this.ee)),l.RI){if(M(this.ee),S(this.ee),i=ye(this.ee),e.init.user_actions.enabled){function u(t){const r=(0,A.D)(t);return e.beacons.includes(r.hostname+":"+r.port)}function h(){i.emit("navChange")}fe.Zp.forEach((e=>(0,f.sp)(e,(e=>(0,a.p)("ua",[e],void 0,this.featureName,this.ee)),!0))),fe.qN.forEach((e=>{const t=(0,j.s)((e=>{(0,a.p)("ua",[e],void 0,this.featureName,this.ee)}),500,{leading:!0});(0,f.sp)(e,t)})),l.gm.addEventListener("error",(()=>{(0,a.p)("uaErr",[],void 0,F.K7.genericEvents,this.ee)}),(0,f.jT)(!1,this.removeOnAbort?.signal)),this.ee.on("open-xhr-start",((e,t)=>{u(e[1])||t.addEventListener("readystatechange",(()=>{2===t.readyState&&(0,a.p)("uaXhr",[],void 0,F.K7.genericEvents,this.ee)}))})),this.ee.on("fetch-start",(e=>{e.length>=1&&!u(G(e[0]))&&(0,a.p)("uaXhr",[],void 0,F.K7.genericEvents,this.ee)})),i.on("pushState-end",h),i.on("replaceState-end",h),window.addEventListener("hashchange",h,(0,f.jT)(!0,this.removeOnAbort?.signal)),window.addEventListener("popstate",h,(0,f.jT)(!0,this.removeOnAbort?.signal))}if(e.init.performance.resources.enabled&&l.gm.PerformanceObserver?.supportedEntryTypes.includes("resource")){new PerformanceObserver((e=>{e.getEntries().forEach((e=>{(0,a.p)("browserPerformance.resource",[e],void 0,this.featureName,this.ee)}))})).observe({type:"resource",buffered:!0})}}t&&c.on("ws",(e=>{(0,a.p)("ws-complete",[e],void 0,this.featureName,this.ee)}));try{this.removeOnAbort=new AbortController}catch(d){}this.abortHandler=()=>{this.removeOnAbort?.abort(),this.abortHandler=void 0},n.some((e=>e))?this.importAggregator(e,(()=>Promise.resolve().then(r.bind(r,872)))):this.deregisterDrain()}}const xe=Re;var Ie=r(3884);class Ee{constructor(e,t,r,n,s){this.name="UncaughtError",this.message="string"==typeof e?e:(0,d.A)(e),this.sourceURL=t,this.line=r,this.column=n,this.__newrelic=s}}function Te(e){return Oe(e)?e:new Ee(void 0!==e?.message?e.message:e,e?.filename||e?.sourceURL,e?.lineno||e?.line,e?.colno||e?.col,e?.__newrelic,e?.cause)}function Me(e){const t="Unhandled Promise Rejection: ";if(!e?.reason)return;if(Oe(e.reason)){try{e.reason.message.startsWith(t)||(e.reason.message=t+e.reason.message)}catch(e){}return Te(e.reason)}const r=Te(e.reason);return(r.message||"").startsWith(t)||(r.message=t+r.message),r}function Ae(e){if(e.error instanceof SyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){const t=new Ee(e.message,e.filename,e.lineno,e.colno,e.error.__newrelic,e.cause);return t.name=SyntaxError.name,t}return Oe(e.error)?e.error:Te(e)}function Oe(e){return e instanceof Error&&!!e.stack}class Ne extends z{static featureName=Ie.T;constructor(e){var t;super(e,Ie.T),t=e,(0,re.Y)(te.o5,((e,r)=>le(e,r,t)),t),function(e){(0,re.Y)(te.bt,(function(t){e.runtime.onerror=t}),e)}(e),function(e){let t=0;(0,re.Y)(te.k6,(function(e,r){++t>10||(this.runtime.releaseIds[e.slice(-200)]=(""+r).slice(-200))}),e)}(e),de(e);try{this.removeOnAbort=new AbortController}catch(e){}this.ee.on("internal-error",((t,r)=>{this.abortHandler&&(0,a.p)("ierr",[Te(t),(0,V.t)(),!0,{},e.runtime.isRecording,r],void 0,this.featureName,this.ee)})),l.gm.addEventListener("unhandledrejection",(t=>{this.abortHandler&&(0,a.p)("err",[Me(t),(0,V.t)(),!1,{unhandledPromiseRejection:1},e.runtime.isRecording],void 0,this.featureName,this.ee)}),(0,f.jT)(!1,this.removeOnAbort?.signal)),l.gm.addEventListener("error",(t=>{this.abortHandler&&(0,a.p)("err",[Ae(t),(0,V.t)(),!1,{},e.runtime.isRecording],void 0,this.featureName,this.ee)}),(0,f.jT)(!1,this.removeOnAbort?.signal)),this.abortHandler=this.#K,this.importAggregator(e,(()=>Promise.resolve().then(r.bind(r,6969))))}#K(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}const De=Ne;class _e extends z{static featureName=H.TZ;constructor(e){super(e,H.TZ),l.RI&&document.addEventListener("securitypolicyviolation",(e=>{(0,a.p)(H.xV,["Generic/CSPViolation/Detected"],void 0,this.featureName,this.ee)})),this.importAggregator(e,(()=>Promise.resolve().then(r.bind(r,7050))))}}const Le=_e;var Fe=r(7200),Pe=r(9324),Be=r(1999);class je extends z{static featureName=Fe.T;
1constructor(e){var t;super(e,Fe.T),this.setupInspectionEvents(e.agentIdentifier),t=e,(0,re.Y)(te.Fw,(function(e,r){"string"==typeof e&&("/"!==e.charAt(0)&&(e="/"+e),t.runtime.customTransaction=(r||"http://custom.transaction")+e,(0,a.p)(te.Pl+te.Fw,[(0,V.t)()],void 0,void 0,t.ee))}),t),this.importAggregator(e,(()=>Promise.resolve().then(r.bind(r,7192))))}setupInspectionEvents(e){const t=(t,r)=>{t&&(0,Be.W)({agentIdentifier:e,timeStamp:t.timeStamp,loaded:"complete"===t.target.readyState,type:"window",name:r,data:t.target.location+""})};(0,L.sB)((e=>{t(e,"DOMContentLoaded")})),(0,L.GG)((e=>{t(e,"load")})),(0,L.Qr)((e=>{t(e,"navigate")})),this.ee.on(Pe.tS.UPDATE,((t,r)=>{(0,Be.W)({agentIdentifier:e,type:"lifecycle",name:"session",data:r})}))}}const Ue=je;var ze=r(1172);class We extends z{static featureName=ze.T;constructor(e){super(e,ze.T),l.RI&&((0,be.u)((()=>(0,a.p)("docHidden",[(0,V.t)()],void 0,ze.T,this.ee)),!0),(0,be.G)((()=>(0,a.p)("winPagehide",[(0,V.t)()],void 0,ze.T,this.ee))),this.importAggregator(e,(()=>Promise.resolve().then(r.bind(r,4992)))))}}const He=We;var Ve=r(5590);class Ke extends z{static featureName=Ve.TZ;#G;recorder;constructor(e){var t;let n;super(e,Ve.TZ),t=e,(0,re.Y)(te.CH,(function(){(0,a.p)(te.CH,[],void 0,F.K7.sessionReplay,t.ee)}),t),function(e){(0,re.Y)(te.Tb,(function(){(0,a.p)(te.Tb,[],void 0,F.K7.sessionReplay,e.ee)}),e)}(e);try{n=JSON.parse(localStorage.getItem("".concat(Pe.H3,"_").concat(Pe.uh)))}catch(e){}(0,P.SR)(e.init)&&this.ee.on(te.CH,(()=>this.#Z())),this.#Y(n)&&this.importRecorder().then((e=>{e.startRecording(Ve.Qb.PRELOAD,n?.sessionReplayMode)})),this.importAggregator(this.agentRef,(()=>Promise.resolve().then(r.bind(r,1076))),this),this.ee.on("err",(e=>{this.blocked||this.agentRef.runtime.isRecording&&(this.errorNoticed=!0,(0,a.p)(Ve.Vh,[e],void 0,this.featureName,this.ee))}))}#Y(e){return e&&(e.sessionReplayMode===Pe.g.FULL||e.sessionReplayMode===Pe.g.ERROR)||(0,P.Aw)(this.agentRef.init)}importRecorder(){return this.recorder?Promise.resolve(this.recorder):(this.#G??=Promise.resolve().then(r.bind(r,9751)).then((({Recorder:e})=>(this.recorder=new e(this),this.recorder))).catch((e=>{throw this.ee.emit("internal-error",[e]),this.blocked=!0,e})),this.#G)}#Z(){this.blocked||(this.featAggregate?this.featAggregate.mode!==Pe.g.FULL&&this.featAggregate.initializeRecording(Pe.g.FULL,!0,Ve.Qb.API):this.importRecorder().then((()=>{this.recorder.startRecording(Ve.Qb.API,Pe.g.FULL)})))}}const Ge=Ke;var Ze=r(2752);const{He:Ye,bD:Je,d3:Xe,Kp:qe,TZ:$e,Lc:Qe,uP:et,Rz:tt}=Ze;const rt=class extends z{static featureName=$e;constructor(e){var t;super(e,$e),t=e,(0,re.Y)(te.U2,(function(e){if(!(e&&"object"==typeof e&&e.name&&e.start))return;const r={n:e.name,s:e.start-l.WN,e:(e.end||e.start)-l.WN,o:e.origin||"",t:"api"};r.s<0||r.e<0||r.e<r.s?(0,v.R)(61,{start:r.s,end:r.e}):(0,a.p)("bstApi",[r],void 0,F.K7.sessionTrace,t.ee)}),t),se(e);if(!(0,B.V)(e.init))return void this.deregisterDrain();const n=this.ee;let s;ye(n),this.eventsEE=(0,m.u)(n),this.eventsEE.on(et,(function(e,t){this.bstStart=(0,V.t)()})),this.eventsEE.on(Qe,(function(e,t){(0,a.p)("bst",[e[0],t,this.bstStart,(0,V.t)()],void 0,F.K7.sessionTrace,n)})),n.on(tt+Xe,(function(e){this.time=(0,V.t)(),this.startPath=location.pathname+location.hash})),n.on(tt+qe,(function(e){(0,a.p)("bstHist",[location.pathname+location.hash,this.startPath,this.time],void 0,F.K7.sessionTrace,n)}));try{s=new PerformanceObserver((e=>{const t=e.getEntries();(0,a.p)(Ye,[t],void 0,F.K7.sessionTrace,n)})),s.observe({type:Je,buffered:!0})}catch(e){}this.importAggregator(e,(()=>Promise.resolve().then(r.bind(r,5942))),{resourceObserver:s})}};var nt=r(5972);const st=Object.values(F.K7);var it=r(8795);class ot extends nt.d{constructor(e){var t;(super(),l.gm)?(this.features={},(0,o.bQ)(this.agentIdentifier,this),this.desiredFeatures=new Set(e.features||[]),this.desiredFeatures.add(je),(0,it.j)(this,e,e.loaderType||"agent"),t=this,(0,re.Y)(te.cD,(function(e,r,n=!1){if("string"==typeof e){if(["string","number","boolean"].includes(typeof r)||null===r)return(0,re.U)(t,e,r,te.cD,n);(0,v.R)(40,typeof r)}else(0,v.R)(39,typeof e)}),t),function(e){(0,re.Y)(te.Dl,(function(t,r=!1){if("string"!=typeof t&&null!==t)return void(0,v.R)(41,typeof t);const n=e.info.jsAttributes["enduser.id"];r&&null!=n&&n!==t?(0,a.p)(te.Pl+"setUserIdAndResetSession",[t],void 0,"session",e.ee):(0,re.U)(e,"enduser.id",t,te.Dl,!0)}),e)}(this),function(e){(0,re.Y)(te.nb,(function(t){if("string"==typeof t||null===t)return(0,re.U)(e,"application.version",t,te.
1nb,!1);(0,v.R)(42,typeof t)}),e)}(this),function(e){(0,re.Y)(te.d3,(function(){e.ee.emit("manual-start-all")}),e)}(this),function(e){(0,re.Y)(te.Pv,(function(t=!0){if("boolean"==typeof t){if((0,a.p)(te.Pl+te.Pv,[t],void 0,"session",e.ee),e.runtime.consented=t,t){const t=e.features.page_view_event;t.onAggregateImported.then((e=>{const r=t.featAggregate;e&&!r.sentRum&&r.sendRum()}))}}else(0,v.R)(65,typeof t)}),e)}(this),this.run()):(0,v.R)(21)}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}get api(){return this}run(){try{const e=function(e){const t={};return st.forEach((r=>{t[r]=!!e[r]?.enabled})),t}(this.init),t=[...this.desiredFeatures];t.sort(((e,t)=>F.P3[e.featureName]-F.P3[t.featureName])),t.forEach((t=>{if(!e[t.featureName]&&t.featureName!==F.K7.pageViewEvent)return;if(t.featureName===F.K7.spa)return void(0,v.R)(67);const r=function(e){switch(e){case F.K7.ajax:return[F.K7.jserrors];case F.K7.sessionTrace:return[F.K7.ajax,F.K7.pageViewEvent];case F.K7.sessionReplay:return[F.K7.sessionTrace];case F.K7.pageViewTiming:return[F.K7.pageViewEvent];default:return[]}}(t.featureName).filter((e=>!(e in this.features)));r.length>0&&(0,v.R)(36,{targetFeature:t.featureName,missingDependencies:r}),this.features[t.featureName]=new t(this)}))}catch(e){(0,v.R)(22,e);for(const e in this.features)this.features[e].abortHandler?.();const t=(0,o.Zm)();delete t.initializedAgents[this.agentIdentifier]?.features,delete this.sharedAggregator;return t.ee.get(this.agentIdentifier).abort(),!1}}}var at,ct,lt=function(e){var t=e.toLowerCase();return t.startsWith("www.")?t.slice(4):t},ut=function(e,t,r){if(e&&"function"==typeof e.setCustomAttribute){var n=function(e){if(null!=e){var t=255;if("number"==typeof e||"boolean"==typeof e)return e;if("string"==typeof e)return(r=e.trim()).length>t?r.slice(0,t):r;try{var r;return(r=String(e).trim()).length>t?r.slice(0,t):r}catch(e){return}}}(r);if(void 0!==n&&""!==n)try{e.setCustomAttribute(t,n)}catch(e){}}},ht=function(e,t){void 0===t&&(t="referrer");try{var r="undefined"!=typeof document?document.referrer:"";r&&!function(e){try{var t=new URL(e).hostname,r="undefined"!=typeof location&&location.hostname||"";return!(!t||!r)&<(t)===lt(r)}catch(e){return!1}}(r)&&ut(e,t,r)}catch(e){}},dt=function(e,t){ht(e,(null==t?void 0:t.referrerKey)||"referrer")},pt=/NrErrorSuppressionWrapper/,ft=/setTrackingTag/,mt=/webstore-vg\.js|webstore\.js/,gt=function(e){return"string"==typeof e||!e.stack||(!!pt.test(e.stack)||(ft.test(e.stack)||!mt.test(e.stack)))},yt={Ajax:ee,GenericEvents:xe,JSErrors:De,Metrics:Le,PageViewEvent:Ue,PageViewTiming:He,SessionReplay:Ge,SessionTrace:rt},vt=null!==(ct=null===(at=document.currentScript)||void 0===at?void 0:at.getAttribute("src"))&&void 0!==ct?ct:"",bt=vt?new URLSearchParams(new URL(vt,location.href).search).get("t"):null,wt=function(e){var t=e.features.reduce((function(e,t){return yt[t]&&e.push(yt[t]),e}),[]),r=new ot(n(n({},e.account),{features:t}));r.setErrorHandler(gt),dt(r,{referrerKey:"referrer"})};s(void 0,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,s(void 0,void 0,void 0,(function(){var e,t;return i(this,(function(r){switch(r.label){case 0:return e=bt?"/shop/js/nr-config.json?t=".concat(bt):"/shop/js/nr-config.json",[4,fetch(e)];case 1:return(t=r.sent()).ok?[4,t.json()]:[2,void 0];case 2:return[2,r.sent()]}}))}))];case 1:return(e=t.sent())?(wt(e),[3,3]):[2];case 2:return t.sent(),[3,3];case 3:return[2]}}
1))}))}();
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.