PageSourceSearch

https://pages.energysage.com/2.1.3/BKj9tpq1.js

js energysage.com collected 2026-10-01 08:35:47 UTC 569,087 bytes, 37 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./oX37AuNI.js","./Dget-C_W.js","./cw3I-hCR.js","./DWaIbGZA.js","./BVG9qcuK.js","./F6J32PQV.js","./b_vS-KF6.js","./CaR-aAKF.js","./CVDk_RXA.js","./DBJ6yrpL.js","./D5OZEqcI.js","./qYB45awL.js","./BVNnokSz.js","./DndD8bMf.js","./D04N-IgU.js","./CGr3RIiJ.js","./Brzs49Qf.js","./r4CbxbqD.js","./XRqbn3bL.js","./B8vnho6S.js","./Dh8hrJUG.js","./CxZbn-oB.js","./Bo9ml6Gw.js","./BqIK6oWE.js","./Byerr3PH.js","./zAMBuued.js","./es-button.BOcYTY7Q.css","./ibjXvq0L.js","./BNtBK0lR.js","./C54mfoWi.js","./CgF10UzC.js","./DwOg7V0g.js","./CQrSUrUY.js","./CustomLoadingIndicator.C5sPcNJi.css","./DvO935Rk.js","./D2Mlmsy0.js","./B8daJNB4.js","./vG83_prE.js","./Cb-RBiJC.js","./D3KN9iv6.js","./DXmR5u1t.js","./C_aiouHQ.js","./U-8FpSzS.js","./Dool47KA.js","./wLRS6b2y.js","./DaPC6RNH.js","./C--8StP-.js","./Bqb-DZH4.js","./StoryblokImage.DtiXN41H.css","./BywjzOUA.js","./DM841k3I.js","./Da705-Ix.js","./DlYNx_Pn.js","./D49UtSdy.js","./CExeupWt.js","./EsStoryblokNavBar.K6ZDpoXw.css","./EsStoryblokBannerAndNavBar.X6grp4QW.css","./D3JRu5Ol.js","./Pq9ziDdJ.js","./DsJp_JKw.js","./C3he_ArS.js","./Bus1Dxb8.js","./EsStoryblokFooter.CsuiAUWm.css","./Hsmozall.js","./Cl3zNBJW.js","./DEyvyReq.js","./Bdm-LFSU.js","./Bptmil1i.js","./B1R8DGI2.js","./ClHlBWk5.js","./BiJpWDHa.js","./CQufK40v.js","./AuthorPage.D6mdn26M.css","./Svp5xUp0.js","./DyNYxJjM.js","./RichTextComponent.mqvm9UTt.css","./BHhSayl0.js","./Bywb0XGn.js","./v0qFZ1YK.js","./DmQBIgub.js","./AuthorPageExpertise.DQEX76Ap.css","./BlgY5uF7.js","./DzQIOM-s.js","./AuthorPageInfo.C3H6iYMb.css","./BDJDuHgl.js","./DLgWWSi3.js","./CaDkOC_0.js","./XEDjtu7K.js","./HddYqD2X.js","./KX6i2sL8.js","./es-collapse.B9JsQXkw.css","./AuthorPagePostList.7AMcCXyF.css","./DIHfA_bg.js","./CookieCenterRichText.Cu6m9lol.css","./C_G07Yud.js","./KQIAIvcH.js","./BKEvcAth.js","./PageBlockWrapper.DMHCBALr.css","./CsExploreYourImpact.DPsNO5on.css","./Bf0S_l-O.js","./CsExploreYourImpactStep.kgtAS2Wc.css","./LSzL7TMv.js","./BhJc2ATA.js","./D2Zx_9Ec.js","./C_e5-Ksr.js","./es-rating.C7uOmxvx.css","./CvlC7689.js","./Chr37Kas.js","./DMbio_G3.js","./D1kYepjE.js","./BMnrz81j.js","./breakpoints.x1XGuNl0.css","./es-carousel.BTVgRYIA.css","./CsProviderReviews.C-xspAYA.css","./AzIduAyH.js","./DMLq8ULP.js","./CsWhatIsCommunitySolarV2.q1IRtoM7.css","./BPhS6c-a.js","./EditorialTeamPage.DjF44Hgr.css","./OTwJUPZs.js","./DE4L35OR.js","./5G6hxhO4.js","./rFA4kqRt.js","./UPN1AygL.js","./HpComparisonTableV2.-tZkhZeP.css","./D7sLtC9O.js","./HpWhatIsAHeatPumpV2.CM-8oggu.css","./BRKG-IhM.js","./CDjupcMh.js","./Bu9DaeZu.js","./HsValuePropCard.BE4yrgUU.css","./B4sHBiGG.js","./HsValuePropCards.BX5bJrz3.css","./qYFJ_ucm.js","./ImageCarousel.BKngF8Tt.css","./BfKm99aC.js","./kLY8j3Tp.js","./DC2XBXGn.js","./LandingArticlePreview.Bu516ziA.css","./DzPbtNwi.js","./CdL6YfBl.js","./BaE33pPi.js","./BSn7ekZo.js","./DoGIRgv9.js","./BfO7P5ps.js","./CPxWg7rV.js","./BXiIRIgv.js","./D9mE7Euh.js","./6FFEWc8p.js","./B958QHt-.js","./LandingAssetDownload.B5L21euO.css","./CrSPTfIL.js","./_rPRmocL.js","./LandingBlockContainer.C6pf9-rM.css","./Cs-d0AiE.js","./LandingCobrandedSimpleHero.DJV3Re1Y.css","./BQXIU_X8.js","./p06WTY67.js","./CGspBdXO.js","./LandingContactCard.BuEj_q16.css","./CQOO136J.js","./CtVl-NY4.js","./CqJYB4GQ.js","./B0n_N_IZ.js","./es-popover.BPiTUWjJ.css","./CopfLhXe.js","./CrossSellCards.yGh_krCo.css","./LandingContentFooter.DP7LDYMk.css","./CU6BtX02.js","./LandingContentWidthImage.U1reBAOx.css","./u5wAXfuA.js","./OAsqCjaL.js","./DXWVcRRT.js","./D3tGjTPO.js","./mCnjymE5.js","./LandingCtaFullWidthImage.BjFDKJTX.css","./CU4ut0Gg.js","./LandingDataCardHero.CCfAWv1l.css","./C_xI_mln.js","./NV4QK17u.js","./h8uS9VcC.js","./cIkyzI2b.js","./LandingDataExplorerMap.Bd5paHDE.css","./B76kLCnC.js","./LandingDataGeoLinks.ChmK44g3.css","./BvoPYDQo.js","./LandingDataInstallerCards.ED0yPqme.css","./DRM4DPv2.js","./D1ZM6x9F.js","./7YcAAcFg.js","./Dx54O2Lf.js","./CJACZ-7E.js","./LandingFeaturedArticle.B3gIVMrq.css","./DF5XrCei.js","./LandingFeaturedArticles.3X44SygG.css","./TUmXa9dQ.js","./CN_xQ84D.js","./LandingGraphicLink.Dr1dXFHm.css","./CkZWxXC2.js","./LandingGraphicLinks.DwdDQdNp.css","./qHxH3GrW.js","./DTqs6eEt.js","./LandingHeroSplitScreenImage.B1n3nLbB.css","./CzNffosm.js","./LandingHeroSplitScreenImageBubble.Cix7WUuL.css","./CgiLrhmn.js","./CFBt3z5F.js","./jYxvRP_3.js","./LandingImageSocialHero.CAuaqRlb.css","./B5fwSBIN.js","./LandingImpactItem.DTkXShx0.css","./CoCSvk94.js","./fzwBW2A7.js","./LandingImpactStat.DViMq_mg.css","./CYNdc6u6.js","./C0UKR8FG.js","./BYw8az9I.js","./BiO-B6ZY.js","./LandingOrderedStep.DJBlg9oL.css","./Dtu9UPN7.js","./wAV8MSjR.js","./LandingOurPartners.RjNJ8mRj.css","./CK7gzh6Y.js","./QNB4xH_o.js","./CL-PlXP7.js","./BeJOLJam.js","./LandingPartnerContext.Ctb2wTxg.css","./C0W1rW7_.js","./LandingPressList.5gL3hf2c.css","./B2dm-xOc.js","./LandingPrimaryLink.PzVcTy5S.css","./BfZTJ6Me.js","./LandingPrimaryLinks.BY7hd4w0.css","./jDYa8ct2.js","./LandingResourceLink.toSxHdxT.css","./fX_yJiAw.js","./CbmP-Hnn.js","./LandingRichContent.59OE-ap0.css","./D9a1t-nS.js","./CEIer35W.js","./LandingSlidingCardCarousel.7qAjVZWX.css","./BchGHSID.js","./LandingSlidingCardCarouselItem.BJqAwWZv.css","./fD-tJIqS.js","./LandingStateSolarCostCard.ByE1-jat.css","./B5FURX5w.js","./LandingTextWithImage.BGKIRGMY.css","./DYnTZTMj.js","./LandingTextWithVideo.ba0xId4W.css","./BI6V1H1D.js","./LandingThreeArticles.DDTKIEYG.css","./DYW0uRc7.js","./LandingTopStories.DLpnYIib.css","./CpxnBly6.js","./LandingTwoColumnText.D9jS8C9E.css","./CAaQCb9F.js","./LandingValueProp.Bl5mk4jD.css","./CAPbzTmk.js","./sBhmb5fd.js","./BEDidPm1.js","./2KpVP7oF.js","./LandingZipAndEmailJoinHero.BX_DIWmU.css","./DzxoEngf.js","./Bl_29hWl.js","./B_Dpqtdb.js","./PageCrossSellCardV2.4UeuMnJi.css","./uE2zlrzs.js","./DETxoUh2.js","./BlccVYC
1I.js","./C6Z8l9ut.js","./PageCtaStickyFooter.EiPjR2ZB.css","./Gc7Tedv3.js","./PageCustomerQuoteStatistic.BqtAZVwF.css","./VlXRuJSF.js","./PageCustomerQuoteV3.BA_daVYh.css","./DTCDs28H.js","./PageEnergyAdvisorContactV2.C5NoICKl.css","./vRxOb5cP.js","./Yh0rv2oC.js","./ReviewsIoCarousel.2nYeCcMb.css","./DmFnvzyI.js","./0_MgQK5o.js","./BJcO6-nc.js","./PageGetStartedStep.5q3i9rS_.css","./CVNuX9gJ.js","./PageGetStartedStepV2.BmsfMKyN.css","./CqtdRptV.js","./jAvevl5g.js","./DK3HNGhh.js","./DeO12qru.js","./PageImageCollage.BnHhw7tj.css","./DeARBcQR.js","./PageSimpleBackgroundHero.DaUE8Wh6.css","./BY5-opur.js","./PageSimpleHero.BdgkzvCY.css","./Cgwcs9oZ.js","./PageSimpleVideoHero.DaAUkK0P.css","./D7EdeisP.js","./PageValuePropV2.DT2zpH51.css","./DpbZ5Czv.js","./ByNeFa4n.js","./PageVettedInstallersV2.CM169UKJ.css","./CBZxFTSp.js","./PageVlpHero.D6mftphX.css","./C_z44FbO.js","./PageWideBackgroundHero.CFASMepi.css","./CAwrBI2K.js","./yrxbZUho.js","./es-zip-code-form.BASzgiAi.css","./Ci8wVhrO.js","./PolicyPage.CfFo4TIw.css","./BB3Q0wKg.js","./BXzw2713.js","./Ccqamiji.js","./SocialProofBannerItem.DU2-78iu.css","./SocialProofBanner.CAxxSIQe.css","./CL6w2s6C.js","./D8RY4tA2.js","./DyFfldEp.js","./M8ChgrD4.js","./DEyi_e3L.js","./C0mTwm6P.js","./DataRichContent.CgGD-Rwg.css","./Dm5elnQn.js","./ArticleDataTable.DgSjvhtA.css","./84B3NPNr.js","./CSC7wuyV.js","./Heading2WithJumpLink.WfDIrIsn.css","./DTjgiDmY.js","./CToFQfcT.js","./ArticleLink.CDPaqpRB.css","./DOQIG4Zw.js","./Bm6oe_kS.js","./ArticleTips.Sc6403Vi.css","./CkOXrHL2.js","./Coy103ke.js","./D6ir5p8q.js","./Hovqe5BL.js","./DICudv_q.js","./Bj_iCONN.js","./GlobalCtaBanner.ClZzGDyb.css","./Doe8Hi2u.js","./lWTJ3_g0.js","./GlobalCtaBannerSuccessSkyScreen.0UkQG0mD.css","./SAqOCFcF.js","./CSTGhgDZ.js","./GlobalCtaLeafBanner.iq4lGqxi.css","./0Vam2NzG.js","./CI6w1mHw.js","./GlobalEeatInfo.Dzrbg8Db.css","./Cg_jQMai.js","./GlobalEeatInfoSellingPoint.C3vAB5RM.css","./CtuFHwRS.js","./GlobalEmailForm.Bz4PjCpf.css","./DtYm51OA.js","./CW9gKBs9.js","./GlobalSiteWideBanner.Dpg3walB.css","./DwL0Km3h.js","./GlobalStickyZipCta.BYcrunzr.css","./6ItM8G02.js","./GlobalVerticalCta.BJ8E0Kl1.css","./CMiwIYzx.js","./DT-XLEVI.js","./BNr8tqT1.js","./WqfRDyXm.js","./BO9Y8I3H.js","./GlobalZipOrAddressForm.BpC4qYlb.css","./Ct9h5IwR.js","./LandingFeaturedArticlesV2.CQuHOZCW.css","./BBf6Zl3T.js","./CPg5PJ0c.js","./PageImage.DOmpolJ9.css","./vBgpY7Tq.js","./DJ2ArKNp.js","./RichTextTable.CsuUnyGm.css","./RichContent.KMFvC3vo.css","./CCCeS92P.js","./RichContentWithImage.BP5q4UPT.css","./Chnmsods.js","./RichDataTable.Bq2e25F5.css","./D-yttehU.js","./BVGZjRh9.js","./3nROSisS.js","./One-Ei27.js","./TableWithData.ByJM5aI8.css","./Dcu703Zb.js","./CZ94WOPj.js","./DzlWdc0r.js","./D5nRr461.js","./3eMQHd73.js","./BdBbTw0o.js","./CBVQdsoI.js","./BTx4mPfD.js"])))=>i.map(i=>d[i]);
2(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`277727ee62bccf8dd34bec455757a3c1b9297a9e`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d4561296-9a8d-4db7-bac4-1aa99535eb5d`,e._sentryDebugIdIdentifier=`sentry-dbid-d4561296-9a8d-4db7-bac4-1aa99535eb5d`)}catch{}})();import{n as e}from"./vG83_prE.js";import{_ as t,a as n,c as r,d as i,f as a,g as o,i as s,l as c,m as l,n as u,o as d,p as f,r as p,t as m,u as h,v as g,y as _}from"./DWaIbGZA.js";import{B as v,Cn as y,D as b,E as x,En as S,Ht as C,J as w,L as ee,Lt as te,O as T,On as E,Qn as ne,St as re,T as ie,Un as ae,Wn as oe,Z as se,_ as ce,an as le,b as D,bt as ue,ct as de,d as fe,er as pe,et as me,ft as he,g as O,gn as ge,gt as _e,h as ve,in as ye,it as be,k as xe,l as Se,ln as Ce,mt as we,nn as Te,nr as Ee,o as De,pn as Oe,qt as ke,rt as Ae,s as je,st as Me,tr as Ne,tt as Pe,un as Fe,v as Ie,vn as Le,vt as Re,w as ze,wn as Be,wt as Ve,xn as He,xt as Ue,y as We,yn as Ge,z as Ke}from"./Dget-C_W.js";import{a as qe,i as Je}from"./CQrSUrUY.js";import{_ as Ye,a as Xe,b as Ze,c as Qe,d as $e,f as et,g as tt,h as nt,i as rt,l as it,o as at,p as ot,u as st,v as ct,y as lt}from"./BVG9qcuK.js";import{_ as ut,a as dt,c as ft,d as pt,f as mt,g as ht,h as gt,i as _t,l as vt,m as yt,n as bt,o as xt,p as St,r as Ct,s as wt,t as Tt,u as Et}from"./cw3I-hCR.js";import{n as Dt,t as Ot}from"./F6J32PQV.js";import{n as kt,t as At}from"./CgF10UzC.js";import{a as jt,c as Mt,d as Nt,f as Pt,g as Ft,h as It,l as Lt,m as Rt,n as zt,p as Bt,s as Vt,t as Ht,u as Ut}from"./Cl3zNBJW.js";import{A as Wt,B as Gt,C as Kt,D as qt,E as Jt,F as Yt,G as Xt,H as Zt,I as Qt,L as $t,M as en,N as k,O as tn,P as nn,R as rn,S as an,T as on,U as sn,V as cn,W as ln,_ as un,a as dn,b as fn,c as pn,d as mn,f as hn,g as gn,h as _n,i as vn,j as yn,k as bn,l as xn,m as Sn,n as Cn,o as wn,p as Tn,r as En,s as Dn,t as On,u as kn,v as An,w as jn,x as Mn,y as Nn,z as Pn}from"./foMmCyAZ.js";import{t as A}from"./WqfRDyXm.js";import{n as Fn,t as In}from"./wLRS6b2y.js";import{n as Ln,r as Rn,t as zn}from"./BO9Y8I3H.js";import{a as Bn,i as j,o as Vn,r as Hn,s as Un,t as Wn}from"./BqIK6oWE.js";import{n as Gn,t as Kn}from"./Byerr3PH.js";import{t as qn}from"./CxZbn-oB.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})(),`global`in globalThis||(globalThis.global=globalThis);var Jn=/\\/g,Yn=/</g,Xn=/"/g,Zn=/%\w+(?:\.\w+)?/g,Qn=`%separator`;function $n(e,t,n=!1){let r;if(t===`s`||t===`pageTitle`)r=e.pageTitle;else if(t.includes(`.`)){let n=t.indexOf(`.`);r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0)return n?(r||``).replace(Jn,`\\\\`).replace(Yn,`\\u003C`).replace(Xn,`\\"`):r||``}function er(e,t,n,r=!1){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;try{i=decodeURI(e)}catch{}let a=i.match(Zn);if(!a)return e;let o=e.includes(Qn);return e=e.replace(Zn,e=>{if(e===Qn||!a.includes(e))return e;let n=$n(t,e.slice(1),r);return n===void 0?e:n}).trim(),o&&(e=e.split(Qn).map(e=>e.trim()).filter(e=>e!==``).join(n?` ${n} `:` `)),e}var tr=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,nr=e=>e.includes(`:key`)?e:e.split(`:`).join(`:key:`),rr=Ft({key:`aliasSorting`,hooks:{"tags:resolve":e=>{let t=!1;for(let n of e.tags){let r=n.tagPriority;if(!r)continue;let i=String(r);if(i.startsWith(`before:`)){let r=nr(i.slice(7)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p-1,t=!0)}else if(i.startsWith(`after:`)){let r=nr(i.slice(6)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(tr))}}}),ir=Ft({key:`deprecations`,hooks:{"entries:normalize":({tags:e})=>{for(let t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),`body`
2in t.props&&(t.props.body&&(t.tagPosition=`bodyClose`),delete t.props.body),t.props.renderPriority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function ar(e){return typeof e?.then==`function`}var or=256;function sr(e,t){if(t===e.length)return;if(t===or){let n=Array(e.length),r=!1;for(;t<e.length;t++){let i=lr(e[t]);n[t]=i,r||=ar(i)}return r?n:void 0}let n=lr(e[t]);if(ar(n)){let r=Array(e.length);r[t]=n;for(let n=t+1;n<e.length;n++)r[n]=lr(e[n]);return r}let r=sr(e,t+1);return r&&(r[t]=n),r}function cr(e,t,n){if(n===t.length)return;if(n===or){let r=Array(t.length),i=!1;for(;n<t.length;n++){let a=lr(e[t[n]]);r[n]=a,i||=ar(a)}return i?r:void 0}let r=lr(e[t[n]]);if(ar(r)){let i=Array(t.length);i[n]=r;for(let r=n+1;r<t.length;r++)i[r]=lr(e[t[r]]);return i}let i=cr(e,t,n+1);return i&&(i[n]=r),i}function lr(e){if(typeof e==`function`)return e;if(ar(e))return Promise.resolve(e).then(lr);if(Array.isArray(e)){let t=sr(e,0);return t?Promise.all(t):e}if(e?.constructor===Object){let t=Object.keys(e),n=cr(e,t,0);if(n)return Promise.all(n).then(e=>Object.fromEntries(t.map((t,n)=>[t,e[n]])))}return e}var ur=Ft(e=>{let t=new WeakMap;return{key:`promises`,hooks:{"entries:resolve":n=>{for(let r=n.entries.length-1;r>=0;r--){let i=n.entries[r],a=i.input;if(t.get(i)===a){n.entries.splice(r,1);continue}let o=lr(a);if(!ar(o)){t.delete(i);continue}t.set(i,a),n.entries.splice(r,1),Promise.resolve(o).then(n=>{t.get(i)===a&&(t.delete(i),i.input=n,delete i._tags,e.invalidate?.())},()=>{t.get(i)===a&&t.delete(i)})}}}}},`promises`),dr={meta:`content`,link:`href`,htmlAttrs:`lang`},fr=[`innerHTML`,`textContent`];function pr(e,t,n,r=!1){return typeof e==`string`&&e.includes(`%`)?er(e,t,n,r):e}var mr=Ft(e=>({key:`template-params`,hooks:{"tags:resolve":({tagMap:t,tags:n})=>{let r=t.get(`templateParams`)?.props||{},i=r.separator||`|`;delete r.separator,r.pageTitle=pr(r.pageTitle||e._title||``,r,i);for(let e of n){if(e.processTemplateParams===!1)continue;let t=dr[e.tag];if(t&&typeof e.props[t]==`string`)e.props[t]=pr(e.props[t],r,i);else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`)for(let t of fr)typeof e[t]==`string`&&(e[t]=pr(e[t],r,i,e.tag===`script`&&typeof e.props.type==`string`&&e.props.type.endsWith(`json`)))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{let n=t.get(`title`);n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=pr(n.textContent,e._templateParams,e._separator))}}}),`template-params`);function hr(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function gr(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>hr(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var _r=_({docsBase:t,reporters:g}),vr=_({docsBase:t,reporters:g}),yr=()=>location.protocol+`//`+location.host;function br(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Wt(n,``)}return Wt(n,e)+r+i}function xr(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=br(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){let{history:e}=window;e.state&&e.replaceState(k({},e.state,{scroll:Dn()}),``)}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),{pauseListeners:c,listen:l,destroy:d}}function Sr(e,t,n,r=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:null}}function Cr(e){let{history:t,location:n}=window,r={value:br(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:yr()+e+r;
vendor: 4,796 bytes, line 2
2try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,k({},t.state,Sr(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=k({},i.value,t.state,{forward:e,scroll:Dn()});a(o.current,o,!0),a(e,k({},Sr(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function wr(e){e=an(e);let t=Cr(e),n=xr(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=k({location:``,base:e,go:r,createHref:pn.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var Tr={type:0,value:``},Er=/[a-zA-Z0-9_]/;function Dr(e){if(!e)return[[]];if(e===`/`)return[[Tr]];if(!Yt(e))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:Er.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`)}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var Or=`[^/]+?`,kr={sensitive:!1,strict:!1,start:!0,end:!0},Ar=/[.+*?^${}()[\]/\\]/g;function jr(e,t){let n=k({},kr,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(Ar,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||Or;if(u!==Or){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(Qt(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=Qt(c)?c.join(`/`):c;if(!l){if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`)}n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function Mr(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Nr(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=Mr(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(Pr(r))return 1;if(Pr(i))return-1}return i.length-r.length}function Pr(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var Fr={strict:!1,end:!0,sensitive:!1};function Ir(e,t,n){let r=jr(Dr(e.path),n),i=k(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function Lr(e,t){let n=[],r=new Map;t=Pn(Fr,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=zr(e);s.aliasOf=r&&r.record;let l=Pn(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(zr(k({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&!Yt(u)){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=Ir(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!Vr(d)&&o(e.name)),Gr(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:Gt}function o(e){if(An(e)){let t=r.get(e);
vendor: 7,314 bytes, line 2
2t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=Ur(e,n);n.splice(t,0,e),e.record.name&&!Vr(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw nn(1,{location:e});s=i.record.name,a=k(Rr(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&Rr(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw nn(1,{location:e,currentLocation:t});s=i.record.name,a=k({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:Hr(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function Rr(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function zr(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Br(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Br(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function Vr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Hr(e){return e.reduce((e,t)=>k(e,t.meta),{})}function Ur(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;Nr(e,t[i])<0?r=i:n=i+1}let i=Wr(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function Wr(e){let t=e;for(;t=t.parent;)if(Gr(t)&&Nr(e,t)===0)return t}function Gr({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Kr(e){let t=w(Zt),n=w(cn),r=O(()=>{let n=E(e.to);return t.resolve(n)}),i=O(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(Mn.bind(null,i));if(o>-1)return o;let s=Zr(e[t-2]);return t>1&&Zr(i)===s&&a[a.length-1].path!==s?a.findIndex(Mn.bind(null,e[t-2])):o}),a=O(()=>i.value>-1&&Xr(n.params,r.value.params)),o=O(()=>i.value>-1&&i.value===n.matched.length-1&&fn(n.params,r.value.params));function s(n={}){if(Yr(n)){let n=t[E(e.replace)?`replace`:`push`](E(e.to)).catch(Gt);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:O(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function qr(e){return e.length===1?e[0]:e}var Jr=xe({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:Kr,setup(e,{slots:t}){let n=ge(Kr(e)),{options:r}=w(Zt),i=O(()=>({[Qr(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Qr(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&qr(t.default(n));return e.custom?r:v(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function Yr(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(e.button===void 0||e.button===0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Xr(e,t){for(let n in t){let r=t[n],i=e[n];if(Qt(r)){if(!Qt(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}else if(r!==i)return!1}return!0}function Zr(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Qr=(e,t,n)=>e??t??n,$r=xe({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=w(sn),i=O(()=>e.route||r.value),a=w(Xt,0),o=O(()=>{let e=E(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=O(()=>i.value.matched[o.value]);_e(Xt,O(()=>o.value+1)),_e(rn,s),_e(sn,i);let c=Le();return C(()=>[c.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!Mn(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return ei(n.default,{Component:l,route:r});let u=o.props[a],d=u?u===!0?r.params:typeof u==`function`?u(r):u:null,f=v(l,k({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return ei(n.default,{Component:f,route:r})||f}}});function ei(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var ti=$r;function ni(e){let t=Lr(e.routes,e),n=e.parseQuery||jn,r=e.stringifyQuery||tn,i=e.history,a=yn(),o=yn(),s=yn(),c=He(wn),l=He(0),u=wn;un&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=en.bind(null,e=>``+e),f=en.bind(null,mn),p=en.bind(null,xn);function m(e,n){let r,i;An(e)?(r=t.getRecordMatcher(e),i=n):i=e;let a=t.addRoute(i,r);return l.value++,()=>{a(),l.value++}}function h(e){let n=t.getRecordMatcher(e);n&&(t.removeRoute(n),l.value++)}function g(){t.clearRoutes(),l.value++}function _(){return t.getRoutes().map(e=>e.record)}function v(e){return!!t.getRecordMatcher(e)}function y(e,a){if(l.value,typeof e==`string`){a||=e.startsWith(`/`)?wn:c.value;let r=on(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return k(r,o,{params:p(o.params),redirectedFrom:void 0,href:s})}a=k({},a||(e.path!=null&&e.path.startsWith(`/`)&&!(`name`in e&&e.name)?wn:c.value));let o;if(e.path!=null)o=k({},e,{path:on(n,e.path,a.path).path});else{let t=k({},e.params);for(let e in t)t[e]??delete t[e];o=k({},e,{params:f(t)}),a.params=f(a.params)}let s=t.resolve(o,a),u=e.hash||``;s.params=d(p(s.params));let m=bn(r,k({},e,{hash:kn(u),path:s.path})),h=i.createHref(m);return k({fullPath:m,hash:u,query:r===tn?Kt(e.query):e.query||{}},s,{redirectedFrom:void 0,href:h})}function b(e){return typeof e==`string`?on(n,e,c.value.path):k({},e)}function x(e,t){if(u!==e)return nn(8,{from:t,to:e})}function S(e){return ee(e)}function C(e){return S(k(b(e),{replace:!0}))}function w(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=b(i):{path:i},i.params={}),k({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function ee(e,t){let n=u=y(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,l=w(n,i);if(l)return ee(k(b(l),{state:typeof l==`object`?k({},a,l.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Nn(r,i,n)&&(f=nn(16,{to:d,from:i}
2),fe(i,i,!0,!1)),(f?Promise.resolve(f):ne(d,i)).catch(e=>$t(e)?$t(e,2)?e:de(e):D(e,d,i)).then(e=>{if(e){if($t(e,2))return ee(k({replace:s},b(e.to),{state:typeof e.to==`object`?k({},a,e.to.state):a,force:o}),t||d)}else e=ie(d,i,!0,s,a);return re(d,i,e),e})}function te(e,t){let n=x(e,t);return n?Promise.reject(n):Promise.resolve()}function T(e){let t=he.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ne(e,t){let n,[r,i,s]=hn(e,t);n=Tn(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(gn(r,e,t))});let c=te.bind(null,e,t);return n.push(c),ge(n).then(()=>{n=[];for(let r of a.list())n.push(gn(r,e,t));return n.push(c),ge(n)}).then(()=>{n=Tn(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(gn(r,e,t))});return n.push(c),ge(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter){if(Qt(r.beforeEnter))for(let i of r.beforeEnter)n.push(gn(i,e,t));else n.push(gn(r.beforeEnter,e,t))}return n.push(c),ge(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Tn(s,`beforeRouteEnter`,e,t,T),n.push(c),ge(n))).then(()=>{n=[];for(let r of o.list())n.push(gn(r,e,t));return n.push(c),ge(n)}).catch(e=>$t(e,8)?e:Promise.reject(e))}function re(e,t,n){s.list().forEach(r=>T(()=>r(e,t,n)))}function ie(e,t,n,r,a){let o=x(e,t);if(o)return o;let s=t===wn,l=un?history.state:{};n&&(r||s?i.replace(e.fullPath,k({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,fe(e,t,n,s),de()}let ae;function oe(){ae||=i.listen((e,t,n)=>{if(!O.listening)return;let r=y(e),a=w(r,O.currentRoute.value);if(a){ee(k(a,{replace:!0,force:!0}),r).catch(Gt);return}u=r;let o=c.value;un&&n.delta&&Jt(_n(o.fullPath,n.delta)),ne(r,o).catch(e=>$t(e,12)?e:$t(e,2)?(ee(k(b(e.to),{force:!0}),r).then(e=>{$t(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(Gt),Promise.reject()):(n.delta&&i.go(-n.delta,!1),D(e,r,o))).then(e=>{e||=ie(r,o,!1),e&&(n.delta&&!$t(e,8)?i.go(-n.delta,!1):n.type===`pop`&&$t(e,20)&&i.go(-1,!1)),re(r,o,e)}).catch(Gt)})}let se=yn(),ce=yn(),le;function D(e,t,n){de(e);let r=ce.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function ue(){return le&&c.value!==wn?Promise.resolve():new Promise((e,t)=>{se.add([e,t])})}function de(e){return le||(le=!e,oe(),se.list().forEach(([t,n])=>e?n(e):t()),se.reset()),e}function fe(t,n,r,i){let{scrollBehavior:a}=e;if(!un||!a)return Promise.resolve();let o=!r&&Sn(_n(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return Pe().then(()=>a(t,n,o)).then(e=>t===c.value&&e&&qt(e)).catch(e=>t===c.value&&D(e,t,n))}let pe=e=>i.go(e),me,he=new Set,O={currentRoute:c,listening:!0,addRoute:m,removeRoute:h,clearRoutes:g,hasRoute:v,getRoutes:_,resolve:y,options:e,push:S,replace:C,go:pe,back:()=>pe(-1),forward:()=>pe(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:ce.add,isReady:ue,install(e){e.component(`RouterLink`,Jr),e.component(`RouterView`,ti),e.config.globalProperties.$router=O,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>E(c)}),un&&!me&&c.value===wn&&(me=!0,S(i.location).catch(e=>{}));let t={};for(let e in wn)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(Zt,O),e.provide(cn,Ge(t)),e.provide(sn,c);let n=e.unmount;he.add(e),e.unmount=function(){he.delete(e),he.size<1&&(u=wn,ae&&ae(),ae=null,c.value=wn,me=!1,le=!1),n()}}};function ge(e){return e.reduce((e,t)=>e.then(()=>T(t)),Promise.resolve())}return O}var ri={scrollBehavior(e,t,n){let r=s(),i=St(),a=i.options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?n??{left:0,top:0}:e.hash?{el:e.hash,top:ii(e.hash),behavior:a}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===wn?ai(e,t,n,a):new Promise(o=>{let s=()=>{requestAnimationFrame(()=>{if(i.currentRoute.value.fullPath!==e.fullPath){o(!1);return}o(ai(e,t,n,a))})};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(s):s()})})}};function ii(e){try{let t=document.querySelector(e);
2if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function ai(e,t,n,r){return n||(e.hash?{el:e.hash,top:ii(e.hash),behavior:vn(e,t)?r:`instant`}:{left:0,top:0})}var oi={hashMode:!1,scrollBehaviorType:`auto`,...ri},si=(()=>{let e={};return(t,n)=>{let r=[];return n.charCodeAt(n.length-1)===47&&(n=n.slice(0,-1)),(n===`/sitemap-pages/sitemap-index.xml`||n.charCodeAt(n.length-1)===47&&n===`/sitemap-pages/sitemap-index.xml/`)&&r.push({data:e}),r.reverse()}})(),ci=si,li=function(e){if(!e.includes(`%`))return e;let t=e.indexOf(`?`),n=t===-1?e:e.slice(0,t);try{return t===-1?decodeURI(n):decodeURI(n)+e.slice(t)}catch{return e}},ui=(e,t)=>{if(typeof e!=`string`)return e;let n=li(e);return t?n.toLowerCase():n},di=e=>oi.sensitive?Dt({},...si(``,ui(e,!1)).map(e=>e.data).reverse()):Dt({},...ci(``,ui(e,!0)).map(e=>e.data).reverse()),fi=At,pi=di,mi;function hi(){let e;return e=fi(kt(`builds/meta/${n().app.buildId}.json`),{responseType:`json`}).then(e=>{if(!e||typeof e!=`object`||!Array.isArray(e.prerendered))throw vr.NUXT_E5004();return e}),mi=e,e.catch(t=>{mi===e&&(mi=void 0),vr.NUXT_E5002({cause:t})}),e}function gi(){return mi||hi()}function _i(e){let t=typeof e==`string`?e:e.path;try{return pi(t)}catch(e){return vr.NUXT_E5003({path:t,cause:e}),{}}}var vi=2**32-1,yi=vi-1,bi=Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function xi(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===bi}function Si(e){return Object.prototype.toString.call(e).slice(8,-1)}function Ci(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}function wi(e){return!(!Number.isInteger(e)||e<0||e>yi)}function Ti(e){return!(!Number.isInteger(e)||e<0||e>vi)}function Ei(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n<48||n>57)return!1}return wi(+e)}function Di(e){for(var t=e.length-1;t>=0&&!Ei(e[t]);t--);return t+1}function Oi(e){let t=Object.keys(e);return t.length=Di(t),t}function ki(e){return Uint8Array.fromBase64(e).buffer}function Ai(e){return Uint8Array.from(Buffer.from(e,`base64`)).buffer}function ji(e){let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer}var Mi=typeof Uint8Array.fromBase64==`function`,Ni=typeof process==`object`&&process.versions?.node!==void 0,Pi=Mi?ki:Ni?Ai:ji;function Fi(e,t){if(!t)return e;let n={};for(let r of Object.keys(e))n[r]=t[r]??e[r];return n}var Ii=Object.freeze({kind:`not-plain`}),Li=Object.freeze({kind:`symbol-keys`});Object.freeze({identify:e=>e,typeOf:e=>e===null?`null`:typeof e,toPrimitive:e=>e,tagOf:e=>Si(e),isThenable:e=>typeof e.then==`function`,toPromise:e=>Promise.resolve(e),unbox:e=>e.valueOf(),toISOString:e=>isNaN(e.getDate())?``:e.toISOString(),toStringValue:e=>e.toString(),regExpInfo:e=>({source:e.source,flags:e.flags}),valuesOf:e=>e,entriesOf:e=>e,viewInfo:e=>({buffer:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength,length:e.length,bufferByteLength:e.buffer.byteLength}),toArrayBuffer:e=>e,lengthOf:e=>e.length,hasOwn:(e,t)=>Object.hasOwn(e,t),indicesOf:e=>Oi(e),shapeOf:e=>xi(e)?Ci(e).length>0?Li:{kind:Object.getPrototypeOf(e)===null?`null-proto`:`plain`,keys:Object.keys(e)}:Ii,get:(e,t)=>e[t]});var Ri=Object.freeze({fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e===`URL`?new URL(t):e===`URLSearchParams`?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,n,r)=>{let i=globalThis[e];return n===void 0?new i(t):new i(t,n,r)},box:e=>Object(e),createArray:e=>Array(e),createSparseArray:e=>{let t=[];return t[yi]=void 0,delete t[yi],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,n)=>{e[t]=n},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,n)=>{e.set(t,n)}});function zi(e,t,n){return Bi(JSON.parse(e),t,n)}function Bi(e,t,n){let r=Fi(Ri,n?.operations);if(typeof e==`number`)return s(e,!0);if(!Array.isArray(e)||e.length===0)throw Error(`Invalid input`);let i=e,a=Array(i.length),o=null;function s(e,n=!1){if(e===-1)return r.fromPrimitive(void 0);if(e===-3)return r.fromPrimitive(NaN);if(e===-4)return r.fromPrimitive(1/0);if(e===-5)return r.fromPrimitive(-1/0);if(e===-6)return r.fromPrimitive(-0);if(n||typeof e!=`number`)throw Error(`Invalid input`);if(e in a)return a[e];if(e>=i.length)throw Error(`Invalid input`);let c=i[e];if(!c||typeof c!=`object`)a[e]=r.fromPrimitive(c);
2else if(Array.isArray(c)){if(typeof c[0]==`string`){let n=c[0],l=t&&Object.hasOwn(t,n)?t[n]:void 0;if(l){let t=c[1];if(typeof t!=`number`&&(t=i.push(c[1])-1),Object.hasOwn(a,t))return a[e]=l(a[t]);if(o??=new Set,o.has(t))throw Error(`Invalid circular reference`);return o.add(t),a[e]=l(s(t)),o.delete(t),a[e]}switch(n){case`Date`:a[e]=r.fromISOString(c[1]);break;case`Set`:let t=r.createSet();a[e]=t;for(let e=1;e<c.length;e+=1)r.addValue(t,s(c[e]));break;case`Map`:let o=r.createMap();a[e]=o;for(let e=1;e<c.length;e+=2)r.addEntry(o,s(c[e]),s(c[e+1]));break;case`RegExp`:a[e]=r.fromRegExpInfo(c[1],c[2]);break;case`Object`:{let t=c[1];if(typeof i[t]==`object`&&i[t][0]!==`BigInt`)throw Error(`Invalid input`);a[e]=r.box(s(t));break}case`BigInt`:a[e]=r.fromPrimitive(BigInt(c[1]));break;case`null`:let l=r.createNullPrototypeObject();a[e]=l;for(let e=1;e<c.length;e+=2){if(c[e]===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");r.set(l,c[e],s(c[e+1]))}break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Float16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:case`DataView`:{if(i[c[1]][0]!==`ArrayBuffer`)throw Error(`Invalid data`);let t=s(c[1]);a[e]=r.fromViewInfo(n,t,c[2],c[3]);break}case`ArrayBuffer`:{let t=c[1];if(typeof t!=`string`)throw Error(`Invalid ArrayBuffer encoding`);a[e]=r.fromArrayBuffer(Pi(t));break}case`URL`:case`URLSearchParams`:case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:a[e]=r.fromStringValue(n,c[1]);break;default:throw Error(`Unknown type ${n}`)}}else if(c[0]===-7){let t=c[1];if(!Ti(t))throw Error(`Invalid input`);let n=r.createSparseArray(t);a[e]=n;for(let e=2;e<c.length;e+=2){let i=c[e];if(!wi(i)||i>=t)throw Error(`Invalid input`);r.set(n,i,s(c[e+1]))}}else{let t=r.createArray(c.length);a[e]=t;for(let e=0;e<c.length;e+=1){let n=c[e];n!==-2&&r.set(t,e,s(n))}}}else{let t=r.createObject();a[e]=t;for(let e of Object.keys(c)){if(e===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");r.set(t,e,s(c[e]))}}return a[e]}return s(0)}async function Vi(e,t={}){return await Xi(e)&&await Gi(await Wi(e,t),Ji(e)?`default`:`force-cache`)||null}var Hi=`_payload.json`,Ui=`_b`;async function Wi(e,t={}){let r=new URL(e,`http://localhost`);if(r.host!==`localhost`||rt(r.pathname,{acceptRelative:!0}))throw _r.NUXT_E7001({url:e});let i=n(),a=t.hash||(t.fresh?Date.now():i.app.buildId),o=i.app.cdnURL,s=o&&await Zi(e)?o:i.app.baseURL,c=Qe(s,r.pathname,Hi);return Ji(e)||(r.search=``),a&&r.searchParams.set(Ui,String(a)),c+r.search}async function Gi(e,t){try{{let n=await fetch(e,{cache:t});return n.ok?await ea(await n.text()):null}}catch(t){_r.NUXT_E7002({url:e,cause:t})}return null}function Ki(e){if(e.redirect)return!1;if(e.prerender)return!0}function qi(e){return new URL(e,`http://localhost`).pathname}function Ji(e){return!!_i({path:qi(e)}).payload}async function Yi(e){e=qi(e),e=e===`/`?e:e.replace(/\/$/,``);try{return(await gi()).prerendered.includes(e)}catch{return!1}}async function Xi(e=mt().path){let t=_i({path:qi(e)});if(t.ssr===!1)return!1;let n=Ki(t);return n===void 0?t.payload?!0:await Yi(e):n}async function Zi(e=mt().path){let t=Ki(_i({path:qi(e)}));return t===void 0?await Yi(e):t}var Qi=null;async function $i(){if(Qi)return Qi;let e=document.getElementById(`__NUXT_DATA__`);if(!e)return{};let t=await ea(e.textContent||``),n=e.dataset.src?await Gi(e.dataset.src,t.prerenderedAt?`force-cache`:`no-cache`):void 0;return Qi={...t,...n,...window.__NUXT__},Qi.config?.public&&(Qi.config.public=ge(Qi.config.public)),Qi}async function ea(e){return await zi(e,s()._payloadRevivers)}function ta(e,t){s()._payloadRevivers[e]=t}function na(e){try{return JSON.parse(e)}catch{return e}}var ra=[[`NuxtError`,e=>_t(e)],[`EmptyShallowRef`,e=>He(e===`_`?void 0:e===`0n`?BigInt(0):na(e))],[`EmptyRef`,e=>Le(e===`_`?void 0:e===`0n`?BigInt(0):na(e))],[`ShallowRef`,e=>He(e)],[`ShallowReactive`,e=>Ge(e)],[`Ref`,e=>Le(e)],[`Reactive`,e=>ge(e)]],ia=p({name:`nuxt:revive-payload:client`,order:-30,async setup(e){let t,n;for(let[e,t]of ra)ta(e,t);Object.assign(e.payload,([t,n]=l(()=>e.runWithContext($i)),t=await t,n(),t)),delete window.__NUXT__}},1);function aa(e,t){t.push(d),e.vueApp.use(t);let n=!0,r=()=>{n=!1,t.render()};t.hooks?.hook(`dom:beforeRender`,e=>{e.shouldRender=!n}),e.hooks.hook(`page:start`,()=>{n=!0}),e.hooks.hook(`page:finish`,()=>{e.isHydrating||r()}),e.hooks.hook(`app:error`,r),e.hooks.hook(`app:suspense:resolve`,r);let i=t.push.bind(t);t.push=((t,n)=>{let r=i(t,n),a=r.dispose.bind(r);return r.dispose=()=>{let t=e[`~transitionPromise`];t?t.finally(a):a()},r})}
2function oa(e,t,n){let r=e.push,i=e;i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>hr(i,e),i.render=()=>n(i);function a(){t.callHook(`entries:updated`,i),i._b||i.render()}return i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,a()},i.push=(n,o)=>{let s=o?.onRendered?t.hook(`dom:rendered`,o.onRendered):void 0,c=r(n,o),l=e.entries.get(c._i);return l&&(l._o=n),i.dirty=!0,a(),{_i:c._i,patch(e){c.patch(e),i.dirty=!0,a()},dispose(){s?.(),e.entries.has(c._i)&&(c.dispose(),i.invalidate())}}},i}var sa=/\s+/;function ca(e={}){return t=>da(t,e)}function la(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function ua(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(sa))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function da(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom;if(!n||e._du||r&&r._d===n&&!e.dirty&&!la(e))return!1;let i=n.defaultView;e._du=!0;let a=!1;try{let o=function(e,t,n){d._s[e]=!n&&f[e]||t,delete f[e]},s=function(e,t,n,r,i,a){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===a&&c[1]===n&&c[2]===r){o(s,c[4]);return}c?.[4]();let l=`data-${t}`,u=(e=>r.call(i,e)),f=()=>{a.removeEventListener(n,u),i.getAttribute(l)===``&&i.removeAttribute(l),d._l.get(s)?.[3]===u&&d._l.delete(s)};a.addEventListener(n,u),d._l.set(s,[a,n,r,u,f]),i.setAttribute(l,``),o(s,f,!0)},c=function({id:e,$el:t,tag:n}){if(d._e.set(e,t),!n.tag.endsWith(`Attrs`)){let r=n.textContent;r!=null&&r!==``&&(r!==t.textContent&&(t.textContent=r),o(`${e}:text`,()=>{t.textContent===r&&(t.textContent=``)},!0));let i=n.innerHTML;i!=null&&i!==``&&(i!==t.innerHTML&&(t.innerHTML=i),o(`${e}:html`,()=>{t.innerHTML===i&&(t.innerHTML=``)},!0));let a=`${e}:el`;o(a,f[a]||(()=>{t?.remove(),d._e.delete(e)}))}for(let r in n.props){let a=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof a==`function`){let o=r.slice(2);t?.dataset?.[`${r}fired`]&&a.call(t,new((i?.Event)||Event)(o)),s(e,r,o,a,t,n.tag===`bodyAttrs`&&i?i:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&a)for(let e of a){let n=`${c}:${e}`;o(n,f[n]||(()=>t.classList.remove(e))),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&a)for(let[e,n]of a){let r=`${c}:${e}`;o(r,f[r]||(()=>t.style.removeProperty(e))),t.style.setProperty(e,n)}else a!==!1&&a!==null&&(t.getAttribute(r)!==a&&t.setAttribute(r,a===!0?``:String(a)),o(c,f[c]||(()=>t.removeAttribute(r))))}},l={shouldRender:!0,tags:[]};if(Pt(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=r;if(u?._d!==n){if(u){for(let e in u._s)u._s[e]();for(let e in u._p)u._p[e]();u._s=u._p={},u._e.clear(),u._l.clear()}u=void 0}u?u._p=u._s:u=ua(e,n),u._s={};let d=u,f=d._p,p=[],m={};e.dirty=!1;let h=Nt(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],_={};for(let e of h){let t=_[e._d]||0,r=(t?`${e._d}:${t}`:e._d)||e._h,i={tag:e,id:r,shouldRender:!0};if(e.tag===`meta`&&e._d&&Lt(e._d)&&(_[e._d]=t+1),g.push(i),e.tag===`title`){n.title=e.textContent,o(`title:`,()=>n.title=d._t);continue}i.$el=d._e.get(r),i.$el?c(i):Rt.has(e.tag)&&p.push(i)}if(p.length){let e=new Set(d._e.values());for(let t of[...n.body.children,...n.head.children]){let n=t.tagName.toLowerCase();if(!Rt.has(n)||e.has(t))continue;let r={innerHTML:t.innerHTML};for(let e of t.getAttributeNames())r[e]=t.getAttribute(e);let i=Ut({tag:n,props:{}},r);i.key=t.getAttribute(`data-hid`)||void 0;let a=Vt(i)||Mt(i),o=a,s=1;for(;d._e.has(o);)o=`${a}:${s++}`;d._e.set(o,t)}}for(let e of p){let t=d._e.get(e.id);e.$el=t||n.createElement(e.tag.tag),c(e),t||(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el)}m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f)f[e]();e._dom=d,a=!0,Pt(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return a&&(e.dirty||la(e))&&da(e,t),a}var fa=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(It[e.tagPriority]||0);function pa(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||ca({document:e.document}),n=oa(gr(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:fa,init:[]}),Bt(e.hooks),t);
2return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}function ma(e={}){let t=ca(),n,r=0;return n=pa({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=jt(n),n}var ha={disableDefaults:!0,plugins:[ir,ur,mr,rr]},ga=p({name:`nuxt:head`,enforce:`pre`,setup(e){aa(e,ma(ha))}}),_a=/(:\w+)\([^)]+\)/g,va=/(:\w+)[?+*]/g,ya=/:\w+/g,ba=(e,t)=>t.path.replace(_a,`$1`).replace(va,`$1`).replace(ya,t=>e.params[t.slice(1)]?.toString()||``),xa=(e,t)=>{let n=e.route.matched.find(t=>t.components?.default===e.Component.type),r=t??n?.meta.key??(n&&ba(e.route,n));return typeof r==`function`?r(e.route):r},Sa=(e,t)=>({default:()=>e?v(je,e===!0?{}:e,t):t});function Ca(e){return Array.isArray(e)?e:[e]}var wa=ft(async e=>{let t,n;if(!e.meta?.validate)return;let r=([t,n]=l(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r!==!0)return _t({fatal:!0,status:r&&(r.status||r.statusCode)||404,statusText:r&&(r.statusText||r.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})},1),Ta={SOLAR_COST:`solarCost`,SOLAR_COMPANIES:`solarCompanies`,ELECTRICITY_COST:`electricityCost`},Ea={CITY:`city`,COUNTY:`county`},Da=7776e6,Oa=`_hsq`,ka=`extrc`,Aa=`vwo_fs_handoff`,ja=`_es_uuid`,Ma=`VWO_FS_Test`,Na=`external_uuid`,Pa=`external_uuid`,Fa={maxAge:Da,path:`/`},Ia=`https://api-us.storyblok.com/v2/cdn/`,La=[`SiteNavigationArticle.article`,`SiteNavigationLink.article`,`SiteNavigationFooter.social`],Ra={retry:1e3,retryDelay:1e3};function za(e){if(typeof e!=`object`)return e;var t,n,r=Object.prototype.toString.call(e);if(r===`[object Object]`){if(e.constructor!==Object&&typeof e.constructor==`function`)for(t in n=new e.constructor,e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=za(e[t]));else for(t in n={},e)t===`__proto__`?Object.defineProperty(n,t,{value:za(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=za(e[t]);return n}if(r===`[object Array]`){for(t=e.length,n=Array(t);t--;)n[t]=za(e[t]);return n}return r===`[object Set]`?(n=new Set,e.forEach(function(e){n.add(za(e))}),n):r===`[object Map]`?(n=new Map,e.forEach(function(e,t){n.set(za(t),za(e))}),n):r===`[object Date]`?new Date(+e):r===`[object RegExp]`?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r===`[object DataView]`?new e.constructor(za(e.buffer)):r===`[object ArrayBuffer]`?e.slice(0):r.slice(-6)===`Array]`?new e.constructor(e):e}var Ba=3456e4;function Va(e,t,n){let r=e.indexOf(`;`,t);return r===-1?n:r}function Ha(e,t,n){let r=e.indexOf(`=`,t);return r<n?r:-1}function Ua(e,t,n){if(t===n)return``;let r=t,i=n;do{let t=e.charCodeAt(r);if(t!==32&&t!==9)break}while(++r<i);for(;i>r;){let t=e.charCodeAt(i-1);if(t!==32&&t!==9)break;i--}return e.slice(r,i)}var Wa=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function Ga(e,t){let n=new Wa,r=e.length;if(r<2)return n;let i=t?.decode||Ka,a=t?.allowMultiple||!1,o=0;do{let s=Ha(e,o,r);if(s===-1)break;let c=Va(e,o,r);if(s>c){o=e.lastIndexOf(`;`,s-1)+1;continue}let l=Ua(e,o,s);if(t?.filter&&!t.filter(l)){o=c+1;continue}let u=i(Ua(e,s+1,c));if(a){let e=n[l];e===void 0?n[l]=u:Array.isArray(e)?e.push(u):n[l]=[e,u]}else n[l]===void 0&&(n[l]=u);o=c+1}while(o<r);return n}function Ka(e){if(!e.includes(`%`))return e;try{return decodeURIComponent(e)}catch{return e}}var qa=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,Ja=/^[\u0021-\u003A\u003C-\u007E]*$/,Ya=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,Xa=/^[\u0020-\u003A\u003C-\u007E]*$/,Za=Object.prototype.toString;function Qa(e,t,n){let r=typeof e==`object`&&!!e,i=r?t:n,a=i?.stringify||JSON.stringify,o=r?e:{...n,name:e,value:t==null?``:typeof t==`string`?t:a(t)},s=i?.encode||encodeURIComponent;if(!qa.test(o.name))throw TypeError(`argument name is invalid: ${o.name}`);let c=o.value?s(o.value):``;if(!Ja.test(c))throw TypeError(`argument val is invalid: ${o.value}`);if(!o.secure){if(o.partitioned)throw TypeError(`Partitioned cookies must have the Secure attribute`);if(o.sameSite&&String(o.sameSite).toLowerCase()===`none`)throw TypeError(`SameSite=None cookies must have the Secure attribute`);if(o.name.length>9&&o.name.charCodeAt(0)===95&&o.name.charCodeAt(1)===95){let e=o.name.toLowerCase();if(e.startsWith(`__secure-`)||e.startsWith(`__host-`))throw TypeError(`${o.name} cookies must have the Secure attribute`)}}if(o.name.length>7&&o.name.charCodeAt(0)===95&&o.name.charCodeAt(1)===95&&o.name.toLowerCase().startsWith(`__host-`)){if(o.path!==`/`)throw TypeError(`__Host- cookies must have Path=/`);if(o.domain)throw TypeError(`__Host- cookies must not have a Domain attribute`)}let l=o.name+`=`+c;if(o.maxAge!==void 0){if(!Number.isInteger(o.maxAge))throw TypeError(`option maxAge is invali
2d: ${o.maxAge}`);l+=`; Max-Age=`+Math.max(0,Math.min(o.maxAge,Ba))}if(o.domain){if(!Ya.test(o.domain))throw TypeError(`option domain is invalid: ${o.domain}`);l+=`; Domain=`+o.domain}if(o.path){if(!Xa.test(o.path))throw TypeError(`option path is invalid: ${o.path}`);l+=`; Path=`+o.path}if(o.expires){if(!$a(o.expires)||!Number.isFinite(o.expires.valueOf()))throw TypeError(`option expires is invalid: ${o.expires}`);l+=`; Expires=`+o.expires.toUTCString()}if(o.httpOnly&&(l+=`; HttpOnly`),o.secure&&(l+=`; Secure`),o.partitioned&&(l+=`; Partitioned`),o.priority)switch(typeof o.priority==`string`?o.priority.toLowerCase():void 0){case`low`:l+=`; Priority=Low`;break;case`medium`:l+=`; Priority=Medium`;break;case`high`:l+=`; Priority=High`;break;default:throw TypeError(`option priority is invalid: ${o.priority}`)}if(o.sameSite)switch(typeof o.sameSite==`string`?o.sameSite.toLowerCase():o.sameSite){case!0:case`strict`:l+=`; SameSite=Strict`;break;case`lax`:l+=`; SameSite=Lax`;break;case`none`:l+=`; SameSite=None`;break;default:throw TypeError(`option sameSite is invalid: ${o.sameSite}`)}return l}function $a(e){return Za.call(e)===`[object Date]`}function eo(e){return typeof e==`string`?`'${e}'`:new io().serialize(e)}var to=` _-,;:!?.'"()[]{}@*/\\&#%\`^+<=>|~$0123456789abcdefghijklmnopqrstuvwxyz`,no=(function(){let e=new Uint8Array(128);for(let t=0;t<69;t++)e[to.charCodeAt(t)]=t+1;for(let t=65;t<=90;t++)e[t]=e[t+32];return e})();function ro(e,t){if(e===t)return 0;let n=Math.min(e.length,t.length),r=0;for(let i=0;i<n;i++){let n=e.charCodeAt(i),a=t.charCodeAt(i);if(n===a)continue;let o=n<128&&no[n]?no[n]:n+128,s=a<128&&no[a]?no[a]:a+128;if(o!==s)return o<s?-1:1;r===0&&(r=n>a?-1:1)}return e.length===t.length?r:e.length<t.length?-1:1}var io=(function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?ro(e,t):n===`number`&&r===`number`?e-t:ro(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(`toJSON`in e&&typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}let i=Object.keys(e).sort(ro),a=`${r}{`;for(let t=0;t<i.length;t++){let n=i[t];a+=`${n}:${this.serialize(e[n])}`,t<i.length-1&&(a+=`,`)}return a+`}`}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e})();function ao(e,t){return e===t||eo(e)===eo(t)}function oo(e){if(e!==`undefined`)try{let t=JSON.parse(e);return typeof t==`number`&&String(t)!==e?e:t}catch{return e}}var so={path:`/`,watch:!0,decode:e=>e&&oo(decodeURIComponent(e)),encode:e=>{if(typeof e!=`string`||e===`undefined`)return encodeURIComponent(JSON.stringify(e));try{if(typeof JSON.parse(e)!=`string`)return encodeURIComponent(JSON.stringify(e))}catch{}return encodeURIComponent(e)},refresh:!1},co=globalThis.cookieStore;function lo(e,t){let n={...so,...t};n.filter??=t=>t===e;let r=uo(n)||{},i;n.maxAge===void 0?n.expires&&(i=n.expires.getTime()-Date.now()):i=n.maxAge*1e3;let a=i!==void 0&&i<=0,o=a||r[e]===void 0||r[e]===null,s=za(a?void 0:r[e]??n.default?.()),c=i&&!a?_o(s,i,n.watch&&n.watch!==`shallow`):Le(s);{let t=null;try{!co&&typeof BroadcastChannel<`u`&&(t=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}let i=(i=!1)=>{(i||!n.readonly&&!ao(c.value,r[e]))&&(ho(e,c.value===null||c.value===void 0?void 0:n.encode(c.value),n),r[e]=za(c.value),t?.postMessage({value:n.encode(c.value)}))},a=t=>{let i=t.refresh?uo(n)?.[e]:n.decode(t.value);s=!0,c.value=i,r[e]=za(i),Pe(()=>{s=!1})},s=!1,l=!!le();if(l&&Oe(()=>{s=!0,i(),t?.close()}),co){let t=t=>{let n=t.changed.find(t=>t.name===e),r=t.deleted.find(t=>t.name===e);n&&a({value:n.value}),r&&a({value:null})};co.addEventListener(`change`,t),l&&Oe(()=>co.removeEventListener(`change`,t))}else t&&(t.onmessage=({data:e})=>a(e));n.watch&&C(c,()=>{s||i(n.refresh)},{deep:n.watch!==`shallow`}),o&&i(o)}return c}function uo(e={}){return Ga(document.cookie,e)}var fo=e=>e;function po(e){let{encode:t,decode:n,...r}=e;return{...r,encode:fo}}function mo(e,t,n={}){let r=po(n);return t===void 0?Qa(e,``,{...r,maxAge:-1}):Qa(e,t,r)}function ho(e,t,n={}){document.cookie=mo(e,t,n)}var go=2147483647;function _o(e,t,n){let r,i,a=0,o=n?Le(e):{value:e};return le()&&Oe(()=>{i?.(),clearTimeout(r)}),Te((e,s)=>{n&&(i=C(o,s));function c(){let e=t-a,n=e<go?e:go;r=setTimeout(()=>{if(a+=n,a<t)return c();o.value=void 0,s()},n)}function l(){a=0,clearTimeout(r),c()}return{get(){return e(),o.value},set(e){l(),o.value=e,s()}}})}var vo=[`gclid`,`fbclid`,`msclkid`,`cjevent`],yo=[`utm_source`,`utm_medium`,`utm_campaign`,`utm_term`,`utm_content`],bo=[...vo,...yo],xo=e=>{let t;return t=Array.isArray(e)?e[0]:e,t===null?void 0:t},So=e=>Object.keys(e).reduce((t,n)=>(t[n]=xo(e[n]),t),{}),Co=e=>{let t=So(e),n={last_attribution:new Date().toISOString()},r=0;
2return(t.utm_source?bo:vo).forEach(e=>{let i=t[e];i&&(n[e]=i,r+=1)}),r?n:null},wo=(e,t)=>({...Object.keys(e).reduce((n,r)=>(t.utm_source&&yo.includes(r)||(n[r]=e[r]),n),{}),...t}),To=e=>{if(e)return e.toString().replace(/\/$/,``).replace(/(\/|\?|=)/g,`-`)},Eo=e=>{window[Oa]=window._hsq||[],window[Oa].push([`setPath`,e]),window[Oa].push([`trackPageView`])},Do=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({ExternalUuid:e}),window.dataLayer.push({event:`external-uuid-push`})},Oo=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({ReferralCode:e}),window.dataLayer.push({event:`rc-push`})},ko=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({...e}),window.dataLayer.push({event:`sa-push`})},Ao=[wa,ft(e=>{let t=n(),r={...Fa,domain:t.public.COOKIE_DOMAIN},i=()=>{let t=xo(e.query[Na]),n=lo(Pa,r);t&&t!==n.value&&(n.value=To(t)),n.value&&Do(n.value)},a=()=>{let t=xo(e.query.rc),n=lo(`rc`,r),i=lo(ka,r),a=To(t||n.value||i.value||void 0);a&&a!==n.value&&(n.value=a),a&&Oo(a)},o=()=>{let t=Co(e.query);if(!t)return;let n=lo(`sa`,r),i=wo(n.value||{},t);n.value=i,i&&ko(i)},c=()=>{let e=lo(Aa,r);if(!e)return;let t=new URLSearchParams(decodeURIComponent(e.value)),n=[`campaign_id`,`campaign_key`,`variation_id`,`variation_name`].reduce((e,n)=>(t.has(n)&&(e[n]=t.get(n),n.endsWith(`_id`)&&e[n]&&(e[n]=Number(e[n]))),e),{}),i=lo(ja,r).value;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:Ma,uuid:i,...n})};i(),a(),o(),Eo(e.path);let l=s();l.isHydrating&&l.payload.serverRendered&&c()}),ft(e=>e.path.length>1&&!e.path.endsWith(`/`)?Et({path:`${e.path}/`,query:e.query,replace:!0}):!0),ft(e=>{let t=_i({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return rt(n,{acceptRelative:!0})?(window.location.href=n,!1):n}})],jo={},Mo=[{name:`global-components-sticky-zip-cta-slug`,path:`/global/components/sticky-zip-cta/:slug()`,meta:{layout:`global-full-width-component-preview`},component:()=>A(()=>import(`./oX37AuNI.js`),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)},{name:`global-components-vertical-cta-cards-slug`,path:`/global/components/vertical-cta-cards/:slug()`,meta:{layout:`global-component-preview`},component:()=>A(()=>import(`./CVDk_RXA.js`),__vite__mapDeps([8,1,2,3,4,5,6,7]),import.meta.url)},{name:`global-components-cta-banners-slug`,path:`/global/components/cta-banners/:slug(.*)*`,meta:{layout:`global-component-preview`},component:()=>A(()=>import(`./DBJ6yrpL.js`),__vite__mapDeps([9,1,2,3,4,5,6,7]),import.meta.url)},{name:`global-components-eeat-infos-slug`,path:`/global/components/eeat-infos/:slug(.*)*`,meta:{layout:`global-component-preview`},component:()=>A(()=>import(`./D5OZEqcI.js`),__vite__mapDeps([10,1,2,3,4,5,6,7]),import.meta.url)},{name:`global-components-simple-cards-slug`,path:`/global/components/simple-cards/:slug(.*)*`,meta:{layout:`global-component-preview`},component:()=>A(()=>import(`./qYB45awL.js`),__vite__mapDeps([11,1,2,3,4,5,6,7]),import.meta.url)},{name:`global-components-site-wide-banners-slug`,path:`/global/components/site-wide-banners/:slug(.*)*`,meta:{layout:`global-full-width-component-preview`},component:()=>A(()=>import(`./BVNnokSz.js`),__vite__mapDeps([12,1,2,3,4,5,6,7]),import.meta.url)},{name:`global-navigation-slug`,path:`/global/navigation/:slug(.*)*`,meta:{layout:`navigation-preview`},component:()=>A(()=>import(`./DndD8bMf.js`),__vite__mapDeps([13,1,6,3,2,4,5,7]),import.meta.url)},{name:`press-slug`,path:`/press/:slug()`,meta:{layout:`simple`},component:()=>A(()=>import(`./D04N-IgU.js`),__vite__mapDeps([14,1,2,3,4,5,15,16,17,18,19,20,21,22,23,24,25,26,27,6,7]),import.meta.url)}
2,{name:`slug`,path:`/:slug(.*)*`,meta:{layout:`simple`},component:()=>A(()=>import(`./BNtBK0lR.js`),__vite__mapDeps([28,3,1,2,4,5,29,30,31,32,21,33,6,34,35,36,37,38,18,39,40,41,42,43,44,45,46,47,48,49,50,51,16,17,19,20,22,23,24,25,26,27,52,53,54,55,56,57,58,59,60,61,62,7,63,64,65,66,67]),import.meta.url)},{name:`index`,path:`/`,meta:{layout:`simple`},component:()=>A(()=>import(`./B1R8DGI2.js`),__vite__mapDeps([68,1,2,3,4,5,31,32,21,33,6,34,35,36,37,38,18,39,40,41,42,43,44,30,45,46,47,48,49,50,51,16,17,19,20,22,23,24,25,26,27,52,53,54,55,56,57,58,59,60,61,62,7,63,64,65]),import.meta.url)}];function No(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),Ye(n,``)}let s=Ye(r,e),c=!n||Xe(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var Po=p({name:`nuxt:router`,enforce:`pre`,async setup(e){let t,r,i=n().app.baseURL,a=oi.history?.(i)??wr(i),o=oi.routes?([t,r]=l(()=>oi.routes(Mo)),t=await t,r(),t??Mo):Mo,s,c=ni({...oi,scrollBehavior:(e,t,n)=>{if(t===wn){s=n;return}if(oi.scrollBehavior){if(c.options.scrollBehavior=oi.scrollBehavior,`scrollRestoration`in window.history){let e=c.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return oi.scrollBehavior(e,wn,s||n)}},history:a,routes:o});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(c);let u=He(c.currentRoute.value);c.afterEach((e,t)=>{u.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});let d=No(i,window.location,e.payload.path),f=He(c.currentRoute.value),p=()=>{f.value=c.currentRoute.value};c.afterEach((e,t)=>{let n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;if(n===r){xa({route:e,Component:{type:n}})===xa({route:t,Component:{type:r}})&&p();return}e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&p()});let m={sync:p};for(let e in f.value)Object.defineProperty(m,e,{get:()=>f.value[e],enumerable:!0});e._route=Ge(m),e._middleware||={global:[],named:{}};let h=wt();c.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(Ct),r&&await e.callHook(`page:loading:end`)});try{[t,r]=l(()=>c.isReady()),await t,r()}catch(n){[t,r]=l(()=>bt(e,n)),await t,r()}let g=d===c.currentRoute.value.fullPath?c.currentRoute.value:c.resolve(d),_=c.currentRoute.value.fullPath,v=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&d!==e.payload.path&&Xe(c.currentRoute.value.path,e.payload.path);p();function y(t){!e.isHydrating&&t.fullPath!==No(i,window.location)&&a.push(t.fullPath)}let b=e.payload.state._layout;return c.beforeEach(async(t,n)=>{await e.callHook(`page:loading:start`),t.meta=ge(t.meta),e.isHydrating&&b&&!Ce(t.meta.layout)&&(t.meta.layout=b),e._processingMiddleware=!0;{let r=new Set([...Ao,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of Ca(t))r.add(e)}let i=_i({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await jo[i]?.().then(e=>e.default||e):i;if(!r)throw yt.NUXT_E2004({entry:String(i),validMiddleware:void 0});try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||_t({status:404,statusText:`Page Not Found: ${d}`});return await e.runWithContext(()=>xt(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return dt(i)&&i.fatal&&(await e.runWithContext(()=>xt(i)),y(t)),i}catch(n){let r=_t(n);return r.fatal&&(await e.runWithContext(()=>xt(r)),y(t)),r}}}}),c.onError(async()=>{delete e._processingMiddleware,await e.callHook(`page:loading:end`)}),c.afterEach(t=>{if(t.matched.length===0&&!h.value)return e.runWithContext(()=>xt(_t({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>{try{if(`name`in g&&(g.name=void 0),c.currentRoute.value.fullPath===_){if(v){let t=c.resolve(e.payload.path);`name`in t&&(t.name=void 0),await c.replace({...t,force:!0});let n=()=>{e[`~restoreDeferredRoute`]&&(e[`~restoreDeferredRoute`]=void 0,c.currentRoute.value=c.resolve(d),p(),c.replace({...g,force:!0}).catch(()=>{}))};e[`~restoreDeferredRoute`]=n,e.hooks.hookOnce(`app:suspense:resolve`,n)}else await c.replace({...g,force:!0})}c.options.scrollBehavior=oi.scrollBehavior}catch(t){await bt(e,t)}}),{provide:{router:c}}}},1),Fo={system:-15,vendor:-5,nitro:-4,config:-3,i18n:-2,build:-1,runtime:0};function Io(e){return typeof e==`function`?e():e&&e.__v_isRef===!0?e.value:e}function Lo(e){e.indexable!==void 0&&(e.indexable=String(e.indexable)!==`false`),e.trailingSlash!==void 0&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!==`false`),e.url&&!rt(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=ot(String(e.url)));let t=Object.keys(e).sort((e,t)=>
2e.localeCompare(t)),n={};for(let r of t)n[r]=e[r];return n}function Ro(e){let t=e?.debug||!1,n=[];function r(e){if(!e||typeof e!=`object`||Object.keys(e).length===0)return()=>{};if(!e._context&&t){let t=Error(`tmp`).stack?.split(`
3`)[2]?.split(` `)[5];t?.includes(`/`)&&(t=`anonymous`),e._context=t}let r={};for(let t in e){let n=e[t];n!==void 0&&n!==``&&(r[t]=n)}return Object.keys(r).some(e=>!e.startsWith(`_`))?(n.push(r),()=>{let e=n.indexOf(r);e!==-1&&n.splice(e,1)}):()=>{}}function i(e){let t={};e?.debug&&(t._context={}),t._priority={};for(let r in n.sort((e,t)=>(e._priority||0)-(t._priority||0)))for(let i in n[r]){let a=i,o=e?.resolveRefs?Io(n[r][i]):n[r][i];!i.startsWith(`_`)&&o!==void 0&&o!==``&&(t[i]=o,n[r]._priority!==void 0&&n[r]._priority!==-1&&(t._priority[a]=n[r]._priority),e?.debug&&(t._context[a]=n[r]._context?.[a]||n[r]._context||`anonymous`))}return e?.skipNormalize?t:Lo(t)}return{stack:n,push:r,get:i}}function zo(e){let t=e.length,n=0,r=0,i=8997,a=0,o=33826,s=0,c=40164,l=0,u=52210;for(;n<t;)i^=e.charCodeAt(n++),r=i*435,a=o*435,s=c*435,l=u*435,s+=i<<8,l+=o<<8,a+=r>>>16,i=r&65535,s+=a>>>16,o=a&65535,u=l+(s>>>16)&65535,c=s&65535;return{high:(u<<16|c)>>>0,low:(o<<16|i)>>>0}}function Bo(e){let{high:t,low:n}=zo(e);return BigInt(t)<<32n|BigInt(n)}var Vo=`0123456789abcdef`;Array.from({length:256},(e,t)=>Vo.charAt(t>>4)+Vo.charAt(t&15));function Ho(e){return Bo(e).toString(36)}function Uo(e,t){if(e===null)return`L`;let n,r=0,i=e,a=typeof e;if(a!==`object`)return a===`number`?e-e===0?`n`+e:`L`:a===`string`?`s`+e:a===`bigint`?`n`+e:a===`boolean`?e?`T`:`F`:void 0;let o=Array.isArray(e);if(!o){if(e instanceof Date)return`d`+ +e;if(e instanceof RegExp)return`r`+e.source+e.flags}if(a=t.indexOf(e),~a)return`~`+(a+1);if(typeof e.toJSON==`function`&&!ArrayBuffer.isView(e)){if(e=e.toJSON(),typeof e!=`object`||!e)return Uo(e,t);if(a=t.indexOf(e),~a)return`~`+(a+1);o=Array.isArray(e)}if(t.push(i),o)for(n=`a`;r<e.length;n+=(a=Uo(e[r++],t))===void 0?`L`:a);else if(e instanceof Set){n=`e`;for(let r of e)n+=(a=Uo(r,t))===void 0?`L`:a}else if(e instanceof Map)for(i=[...e.keys()],i.length>1&&i.sort(),n=`o`;r<i.length;r++)(a=Uo(e.get(i[r]),t))!==void 0&&(n+=i[r]+a);else if(e[Symbol.toStringTag]===void 0||ArrayBuffer.isView(e))for(i=Object.keys(e),i.length>1&&i.sort(),n=`o`;r<i.length;r++)(a=Uo(e[i[r]],t))!==void 0&&(n+=i[r]+a);else throw Error(`Unsupported value`);return t.pop(),n}function Wo(e){return Uo(e,[])??`U`}function Go(e){return Ho(Wo(e))}function Ko(e,t={}){let n,r=!1,i=[],a,o,s=(t,n)=>{let i=qo(e,t,n);return a=i,i.finally(()=>{if(a=void 0,o&&!r){let e=o;o=void 0,s(t,e)}}),i};return function(...e){return o=e,a||new Promise(a=>{let c=t.leading&&!r;r||(r=!0,Re(()=>{r=!1;let a=o??e;o=void 0;let c=t.leading?n:s(this,a);for(let e of i)e(c);i=[]})),c?(n=s(this,e),a(n)):i.push(a)})}}async function qo(e,t,n){return await e.apply(t,n)}xe({name:`ServerPlaceholder`,render(){return D(`div`)}});var Jo=Symbol.for(`nuxt:client-only`),Yo=`<div></div>`;function Xo(e){return e.nodeName===`#comment`&&e.nodeValue===`placeholder`}function Zo(e){return e&&!Xo(e)?En(e,Yo):v(`div`)}var Qo=xe({name:`ClientOnly`,inheritAttrs:!1,props:[`fallback`,`placeholder`,`placeholderTag`,`fallbackTag`],setup(e,{slots:t,attrs:n}){let r=He(!1);de(()=>{r.value=!0});let i=ee();return i&&(i._nuxtClientOnly=!0),_e(Jo,!0),()=>{if(r.value){let e=t.default?.();return e&&e.length===1?[ve(e[0],n)]:e}let i=t.fallback||t.placeholder;if(i)return v(i);let a=e.fallback||e.placeholder||``,o=dn(e.fallbackTag||e.placeholderTag,`span`);return D(o,n,a)}}}),$o=new WeakMap;function es(e){if($o.has(e))return $o.get(e);let t={...e};return t.render?t.render=(t,n,r,i,a,o)=>{if(i.mounted$??t.mounted$){let s=e.render?.bind(t)(t,n,r,i,a,o);return s.children===null||typeof s.children==`string`?ve(s):v(s)}return Zo(t._.vnode.el)}:t.template&&=`
4      <template v-if="mounted$">${e.template}</template>
5      <template v-else><div></div></template>
6    `,t.setup=(n,r)=>{let i=s(),a=He(i.isHydrating===!1),o=ee();if(i.isHydrating){let e={...o.attrs},t=ts(o);for(let t in e)delete o.attrs[t];de(()=>{Object.assign(o.attrs,e),o.vnode.dirs=t})}de(()=>{a.value=!0});let c=e.setup?.(n,r)||{};return oe(c)?Promise.resolve(c).then(e=>typeof e==`function`?(...t)=>{if(a.value||!i.isHydrating){let n=e(...t);return n.children===null||typeof n.children==`string`?ve(n):v(n)}return Zo(o?.vnode.el)}:(e||={},e.mounted$=a,e)):typeof c==`function`?(...e)=>{if(a.value){let n=c(...e),i=t.inheritAttrs===!1?void 0:r.attrs;return n.children===null||typeof n.children==`string`?ve(n,i):v(n,i)}return Zo(o?.vnode.el)}:Object.assign(c,{mounted$:a})},$o.set(e,t),t}function ts(e){if(!e||!e.vnode.dirs)return null;let t=e.vnode.dirs;return e.vnode.dirs=null,t}function ns(e){return Object.defineProperty(function(){throw o.NUXT_E1007({name:e.name})},"__nuxt_factory",{enumerable:!1,get:()=>e.factory})}
6var rs=_({docsBase:t,reporters:g}),is=ns({name:`createUseAsyncData`,factory(e={}){function t(...t){let n=typeof t[t.length-1]==`string`?t.pop():void 0;ss(t[0],t[1])&&t.unshift(n);let[r,i,a={}]=t,o=!1,l=Fe(r)||typeof r==`function`,u=l?O(()=>S(r)):{value:r};if(!u.value||typeof u.value!=`string`)throw rs.NUXT_E3008();if(typeof i!=`function`)throw rs.NUXT_E3009();let d=typeof e==`function`,f=s(),p=d?e(a):e;if(!d)for(let e in p)p[e]!==void 0&&a[e]===void 0&&(a[e]=p[e]);if(a.server??=!0,a.default??=ds,a.getCachedData??=fs,a.lazy??=!1,a.immediate??=!0,a.deep??=c.deep,a.dedupe??=`cancel`,a.enabled??=!0,d)for(let e in p)p[e]!==void 0&&(a[e]=p[e]);f._asyncData[u.value];function m(){let e={cause:`initial`,dedupe:a.dedupe},t=f._asyncData[u.value];return t?._init?f._asyncDataPromises[u.value]&&(e.cachedData=t._initialCachedData):(e.cachedData=a.getCachedData(u.value,f,{cause:`initial`}),f._asyncData[u.value]=us(f,u.value,i,a,e.cachedData),f._asyncData[u.value]._initialCachedData=e.cachedData),()=>f._asyncData[u.value].execute(e)}let h=m(),g=f._asyncData[u.value];g._deps++;let _=a.server!==!1&&f.payload.serverRendered;{let e=ee();if(e&&_&&a.immediate&&!e.sp&&(e.sp=[]),e&&!e._nuxtOnBeforeMountCbs){e._nuxtOnBeforeMountCbs=[];let t=e._nuxtOnBeforeMountCbs;Ae(()=>{t.forEach(e=>{e()}),t.splice(0,t.length)}),he(()=>t.splice(0,t.length))}let t=e&&(e._nuxtClientOnly||w(Jo,!1));_&&f.isHydrating&&(g.error.value||g.data.value!==void 0)?g.status.value=g.error.value?`error`:`success`:e&&(!t&&f.payload.serverRendered&&f.isHydrating||a.lazy)&&a.immediate?e._nuxtOnBeforeMountCbs.push(h):a.immediate&&g.status.value!==`success`&&h();function n(e){let t=f._asyncData[e];t?._deps&&(t._deps--,t._deps===0&&t?._off())}let r=le(),s=()=>{},c=l?C(u,(e,t)=>{if((e||t)&&e!==t){o=!0;let r=f._asyncData[t]?.data.value!==void 0,s=f._asyncDataPromises[t]!==void 0,c={cause:`initial`,dedupe:a.dedupe};if(!f._asyncData[e]?._init){let n=a.getCachedData(e,f,{cause:`initial`});c.cachedData=n;let o=t&&r&&n===void 0?f._asyncData[t].data.value:n;f._asyncData[e]=us(f,e,i,a,o),f._asyncData[e]._initialCachedData=n}f._asyncData[e]._deps++,t&&n(t),a._keyTriggersExecute!==!1&&(a.immediate||r||s)&&f._asyncData[e].execute(c),Re(()=>{o=!1})}},{flush:`sync`}):s,d=a.watch?C(a.watch,()=>{o||f._asyncData[u.value]?._execute({cause:`watch`,dedupe:a.dedupe})}):s,p=Fe(a.enabled)||typeof a.enabled==`function`?C(()=>S(a.enabled),e=>{let t=f._asyncData[u.value];!e&&t&&f._asyncDataPromises[u.value]&&(t._abortController?.abort(new DOMException("AsyncData request cancelled by `enabled: false`",`AbortError`)),t._abortController=void 0,delete f._asyncDataPromises[u.value],t.status.value=`idle`)}):s;r&&Oe(()=>{c(),d(),p(),n(u.value)})}let v={data:os(()=>f._asyncData[u.value]?.data),pending:os(()=>f._asyncData[u.value]?.pending),status:os(()=>f._asyncData[u.value]?.status),error:os(()=>f._asyncData[u.value]?.error),refresh:(...e)=>f._asyncData[u.value]?._init?f._asyncData[u.value].execute(...e):m()(),execute:(...e)=>v.refresh(...e),clear:()=>{let e=f._asyncData[u.value];if(e?._abortController)try{e._abortController.abort(new DOMException(`AsyncData aborted by user.`,`AbortError`))}finally{e._abortController=void 0}cs(f,u.value)}},y=Promise.resolve(f._asyncDataPromises[u.value]).then(()=>v);return Object.assign(y,v),Object.defineProperties(y,{then:{enumerable:!0,value:y.then.bind(y)},catch:{enumerable:!0,value:y.catch.bind(y)},finally:{enumerable:!0,value:y.finally.bind(y)}}),y}return t}}),as=is.__nuxt_factory();is.__nuxt_factory({lazy:!0,_functionName:`useLazyAsyncData`});function os(e){return O({get(){return e()?.value},set(t){let n=e();n&&(n.value=t)}})}function ss(e,t){return!(typeof e==`string`||typeof e==`object`&&e||typeof e==`function`&&typeof t==`function`)}function cs(e,t){delete e.payload.data[t],delete e.payload._errors[t],e._asyncData[t]&&(e._asyncData[t].data.value=E(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value=`idle`,e._asyncData[t]._initialCachedData=void 0),delete e._asyncDataPromises[t]}function ls(e,t){let n={};for(let r of t)n[r]=e[r];return n}function us(e,t,n,r,i){e.payload._errors[t]??=void 0;let a=r.getCachedData!==fs,o=n,s=r.deep?Le:He,c=i!==void 0,l=e.hook(`app:data:refresh`,async e=>{(!e||e.includes(t))&&await u.execute({cause:`refresh:hook`})}),u={data:s(c?i:r.default()),pending:O(()=>u.status.value===`pending`),error:Be(e.payload._errors,t),status:He(`idle`),execute:(...n)=>{let[i,a=void 0]=n,s=i&&a===void 0&&typeof i==`object`?i:{};if(e._asyncDataPromises[t]&&(s.dedupe??r.dedupe)===`defer`)return e._asyncDataPromises[t];{let n=`cachedData`in s?s.cachedData:r.getCachedData(t,e,{cause:s.cause??`refresh:manual`});if(n!==void 0)return e.payload.data[t]=u.data.value=n,u.error.value=void 0,u.status.value=`success`,Promise.resolve(n)}if(S(r.enabled)===!1)return Promise.resolve(u.data.value);u._abortController&&u._abortController.abort(new DOMException(`AsyncData request cancelled by deduplication`,`AbortError`)),u._abortController=new AbortController,u.status.value=`pending`;let c=new AbortController,l=new Promise((t,n)=>{try{let i=s.timeout??r.timeout,a=ps([u._abortController?.signal,s?.signal],c.signal,i);if(a.aborted){let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`));return}return a.addEventListener(`abort`,()=>{let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`))},{once:!0,signal:c.signal}),Promise.resolve(o(e,{signal:a})).then(t,n)}catch(e){n(e)}}).then(async n=>{if(e._asyncDataPromises[t]!==l)return;let i=n;r.transform&&(i=await r.transform(n)),r.pick&&(i=ls(i,r.pick)),e.payload.data[t]=i,u.data.value=i,u.error.value=void 0,u.status.value=`success`}).catch(n=>{if(e._asyncDataPromises[t]!==l||u._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<`u`&&n instanceof DOMException&&n.name===`AbortError`)return u.status.value=`idle`,e._asyncDataPromises[t];u.error.value=_t(n),u.data.value=E(r.default()),u.status.value=`error`}).finally(()=>{c.abort(),e._asyncDataPromises[t]===l&&delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=l,e._asyncDataPromises[t]},_execute:Ko((...e)=>u.execute(...e)),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{l(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),e._asyncDataPromises[t]&&(u._abortController?.abort(new DOMException(`AsyncData request cancelled by unmount`,`AbortError`)),delete e._asyncDataPromises[t],u.status.value===`pending`&&(u.status.value=`idle`)),a||Pe(()=>{e._asyncData[t]?._init||(cs(e,t),u.execute=()=>Promise.resolve())})}};return u}var ds=()=>void 0,fs=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!==`refresh:manual`&&n.cause!==`refresh:hook`)return t.static.data[e]};function ps(e,t,n){let r=e.filter(e=>!!e);
6if(typeof n==`number`&&n>=0){let e=AbortSignal.timeout?.(n);e&&r.push(e)}if(AbortSignal.any)return AbortSignal.any(r);let i=new AbortController;for(let e of r)if(e.aborted){let t=e.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(t)}catch{i.abort()}return i.signal}let a=()=>{let e=r.find(e=>e.aborted)?.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(e)}catch{i.abort()}};for(let e of r)e.addEventListener?.(`abort`,a,{once:!0,signal:t});return i.signal}var ms=`$s`;function hs(...e){let t=typeof e[e.length-1]==`string`?e.pop():void 0;typeof e[0]!=`string`&&e.unshift(t);let[n,r]=e;if(!n||typeof n!=`string`)throw _r.NUXT_E7009({key:n});if(r!==void 0&&typeof r!=`function`)throw _r.NUXT_E7007({type:typeof r});let i=ms+n,a=s(),o=Be(a.payload.state,i);if(r&&(a._state[i]??={_default:r}),o.value===void 0&&r){let e=r();if(Fe(e))return a.payload.state[i]=e,e;o.value=e}return o}var gs=At,_s=[`method`,`baseURL`,`query`,`params`,`body`,`headers`];function vs(e){let t=[S(e.method)?.toUpperCase()||`GET`,S(e.baseURL)];for(let n of[e.query||e.params]){let e=S(n);if(!e)continue;let r={};for(let[t,n]of Object.entries(e))r[S(t)]=S(n);t.push(r)}if(e.body){let n=S(e.body);if(!n)t.push(Go(n));else if(n instanceof ArrayBuffer)t.push(Go(Object.fromEntries([...new Uint8Array(n).entries()].map(([e,t])=>[e,t.toString()]))));else if(n instanceof FormData){let e=[];for(let t of n.entries()){let[n,r]=t;e.push([n,r instanceof File?`${r.name}:${r.size}:${r.lastModified}`:r])}t.push(Go(e))}else if(ae(n))t.push(Go(ge(n)));else try{t.push(Go(n))}catch{rs.NUXT_E3002({cause:n})}}return t}var ys=ns({name:`createUseFetch`,factory(e={}){function t(t,n,r){let[i={},a]=typeof n==`string`?[{},n]:[n,r],o=typeof e==`function`?e(i):e,{server:s,lazy:c,default:l,transform:u,pick:d,watch:f,immediate:p,getCachedData:m,deep:g,dedupe:_,timeout:v,enabled:y,...b}={...typeof e==`function`?{}:o,...i,...typeof e==`function`?o:{}},x=O(()=>S(t)),C=O(()=>S(b.key)||`$f`+Go([a,typeof x.value==`string`?x.value:``,...vs(b)]));if(!b.baseURL&&typeof x.value==`string`&&x.value[0]===`/`&&x.value[1]===`/`)throw rs.NUXT_E3001({url:x.value});let w=ge({...h,...b,cache:typeof b.cache==`boolean`?void 0:b.cache}),ee={server:s,lazy:c,default:l,transform:u,pick:d,immediate:p,getCachedData:m,deep:g,dedupe:_,timeout:v,enabled:y,watch:f===!1?[]:[...f||[],w]};return f===!1&&(ee._keyTriggersExecute=!1),as(C,(e,{signal:t})=>{let n=b.$fetch||gs,r={signal:t,...w};for(let e of _s)typeof r[e]==`function`&&(r[e]=S(r[e]));return n(x.value,r)},ee)}return t}});ys.__nuxt_factory(),ys.__nuxt_factory({lazy:!0,_functionName:`useLazyFetch`});function bs(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function xs(e,t=St()){let{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;let i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>xs(e,t));t._routePreloaded.add(n);for(let e of r){let t=e.components?.default;if(typeof t!=`function`)continue;let n=Promise.resolve(t()).catch(()=>{}).finally(()=>i.splice(i.indexOf(n),1));i.push(n)}await Promise.all(i)}function Ss(e={}){let t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw yt.NUXT_E2010({path:t});if(n.protocol&&at(n.protocol))throw yt.NUXT_E2002({toPath:t,protocol:n.protocol});let r={};try{r=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||r?.path!==t||r?.expires<Date.now()){try{sessionStorage.setItem(`nuxt:reload`,JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem(`nuxt:reload:state`,JSON.stringify({state:s().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}function Cs(e){return new URL(globalThis.location.href)}function ws(e={}){let t=He(``),n=He(e.politeness||`polite`),r=Ht();function i(e=``,r=`polite`){t.value=e,n.value=r}function a(e){i(e,`polite`)}function o(e){i(e,`assertive`)}function s(){i(document?.title?.trim(),n.value)}function c(){r?.hooks?.removeHook(`dom:rendered`,s)}return s(),r?.hooks?.hook(`dom:rendered`,s),{_cleanup:c,message:t,politeness:n,set:i,polite:a,assertive:o}}function Ts(e={}){let t=s(),n=t._routeAnnouncer||=ws(e);return e.politeness&&e.politeness!==n.politeness.value&&(n.politeness.value=e.politeness),le()&&(t._routeAnnouncerDeps||=0,t._routeAnnouncerDeps++,Oe(()=>{t._routeAnnouncerDeps--,t._routeAnnouncerDeps===0&&(n._cleanup(),delete t._routeAnnouncer)}
6)),n}var Es=di;function Ds(e,t){return E(t)??e?.meta.layout??Es(e?.path??`/`).appLayout??`default`}var Os=(...e)=>e.find(e=>e!==void 0);function ks(e){let t=e.replace(/[\u0000-\u001F\s]+/g,``);for(;t.toLowerCase().startsWith(`view-source:`);)t=t.slice(12);let n=t.indexOf(`:`);return n>0&&at(t.slice(0,n+1))?null:e}function As(e){let t=e.componentName||`NuxtLink`;function r(e){return typeof e==`string`&&e.startsWith(`#`)}function i(t,n,r){let i=r??e.trailingSlash;if(!t||i!==`append`&&i!==`remove`)return t;if(typeof t==`string`)return Ms(t,i);let a=`path`in t&&t.path!==void 0?t.path:n(t).path;return{...t,name:void 0,path:Ms(a,i)}}function a(t){let a=St(),o=n(),s=O(()=>!!E(t.target)&&E(t.target)!==`_self`),c=O(()=>{let e=E(t.to)||E(t.href)||``;return typeof e==`string`&&rt(e,{acceptRelative:!0})}),l=re(`RouterLink`),u=l&&typeof l!=`string`?l.useLink:void 0,d=O(()=>{if(E(t.external))return!0;let e=E(t.to)||E(t.href)||``;return typeof e==`object`?!1:e===``||c.value}),f=O(()=>{let e=E(t.to)||E(t.href)||``;return d.value?e:i(e,a.resolve,E(t.trailingSlash))}),p=d.value?void 0:u?.({...t,to:f,viewTransition:E(t.viewTransition)}),m=O(()=>{let n=E(t.trailingSlash)??e.trailingSlash;if(!f.value||c.value||r(f.value)){let e=f.value;return typeof e==`string`?ks(e):e}if(d.value){let e=typeof f.value==`object`&&`path`in f.value?pt(f.value):f.value,t=typeof e==`object`?a.resolve(e).href:e,r=typeof t==`string`?ks(t):t;return r===null?null:Ms(r,n)}return typeof f.value==`object`?a.resolve(f.value)?.href??null:Ms(Qe(o.app.baseURL,f.value),n)});return{to:f,hasTarget:s,isAbsoluteUrl:c,isExternal:d,href:m,isActive:p?.isActive??O(()=>f.value===a.currentRoute.value.path),isExactActive:p?.isExactActive??O(()=>f.value===a.currentRoute.value.path),route:p?.route??O(()=>a.resolve(f.value)),async navigate(e){m.value!==null&&await Et(m.value,{replace:E(t.replace),external:d.value||s.value})}}}return xe({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:a,setup(t,{slots:n}){let i=St(),{to:o,href:c,navigate:l,isExternal:u,hasTarget:d,isAbsoluteUrl:f}=a(t),p=He(!1),m=Le(null),h=e=>{m.value=t.custom?e?.$el?.nextElementSibling:e?.$el};function g(n){return!!(!p.value&&(typeof t.prefetchOn==`string`?t.prefetchOn===n:t.prefetchOn?.[n]??e.prefetchOn?.[n])&&(t.prefetch??e.prefetch)!==!1&&t.noPrefetch!==!0&&t.target!==`_blank`&&!Fs())}async function _(e=s()){if(p.value||c.value===null)return;p.value=!0;let t=typeof o.value==`string`?o.value:u.value?pt(o.value):i.resolve(o.value).fullPath,n=u.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,n)?.catch(()=>{}),!u.value&&!d.value&&xs(o.value,i).catch(()=>{})])}if(!t.custom&&g(`visibility`)){let e=s(),t,n=null;de(()=>{let r=Ns();zn(()=>{t=Rn(()=>{m?.value?.tagName&&(n=r.observe(m.value,async()=>{n?.(),n=null,await _(e)}))})})}),be(()=>{t&&Ln(t),n?.(),n=null})}return()=>{let a=t.target||null,s=Os(t.noRel?``:t.rel,e.externalRelAttribute,f.value||d.value?`noopener noreferrer`:``)||null,y=e=>({href:c.value,navigate:l,get route(){if(!c.value)return;let e=new URL(c.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return st(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:s,target:a,isExternal:u.value||d.value,isActive:!1,isExactActive:!1,...e,prefetch:_,prefetched:p.value,shouldPrefetch:g});if(!u.value&&!d.value&&!r(o.value)){let r={ref:h,to:o.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};
6return t.custom||(g(`interaction`)&&(r.onPointerenter=_.bind(null,void 0),r.onFocus=_.bind(null,void 0)),p.value&&(r.class=t.prefetchedClass||e.prefetchedClass),r.rel=t.rel||void 0),v(re(`RouterLink`),r,t.custom&&n.default?{default:e=>n.default(y(e))}:n.default)}return t.custom?n.default?n.default(y()):null:v(`a`,{ref:m,href:c.value||null,rel:s,target:a,onClick:async e=>{if(!(u.value||d.value)){e.preventDefault();try{let e=vt(c.value??``);return await(t.replace?i.replace(e):i.push(e))}finally{if(r(o.value)){let e=o.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},n.default?.())}}})}var js=As(i);function Ms(e,t){if(t!==`append`&&t!==`remove`)return e;let n=t===`append`?tt:lt;return rt(e)&&!e.startsWith(`http`)?e:n(e,!0)}function Ns(){let e=s();if(e._observer)return e._observer;let t=null,n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)})}}var Ps=/2g/;function Fs(){let e=navigator.connection;return!!(e&&(e.saveData||Ps.test(e.effectiveType)))}var Is=e({isVue2:()=>!1,isVue3:()=>!0,onNuxtReady:()=>zn}),Ls=p({name:`nuxt-site-config:init`,enforce:`pre`,async setup(e){let t=Ro(),n=hs(`site-config`);{let e=n.value||window.__NUXT_SITE_CONFIG__||{};for(let n in e)n[0]!==`_`&&t.push({[n]:e[n],_priority:e._priority?.[n]||-1})}return{provide:{nuxtSiteConfig:t}}}}),Rs=p({name:`nuxt:payload`,setup(e){let t=new Set;St().beforeResolve(async(n,r)=>{let i=Ji(n.path),a=i?ct(n.fullPath):n.path;if(a===(i?ct(r.fullPath):r.path))return;let o=await Vi(a);if(o){for(let n of t)delete e.static.data[n];for(let n in o.data)n in e.static.data||t.add(n),e.static.data[n]=o.data[n]}}),zn(()=>{e.hooks.hook(`link:prefetch`,async e=>{let{hostname:t,pathname:n}=new URL(e,window.location.href);t===window.location.hostname&&await Vi(e).catch(()=>{_r.NUXT_E7003({url:e})})}),navigator.connection?.effectiveType!==`slow-2g`&&setTimeout(gi,1e3)})}}),zs=p(()=>{let e=St();zn(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),Bs=p(e=>{let t;async function n(){let r;try{r=await gi()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,a);try{let n=await At(kt(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}zn(()=>{t=setTimeout(n,a)})}),Vs=p({name:`nuxt:chunk-reload-crawler`,setup(e){let t=!0;e.hooks.hookOnce(`app:suspense:resolve`,()=>{t=!1}),e.hook(`app:chunkError`,()=>{t&&Ze(navigator.userAgent)&&Ss()})}}),Hs=p({name:`nuxt:chunk-reload`,setup(e){let t=St(),r=n(),i=new Set;t.beforeEach(()=>{i.clear()}),e.hook(`app:chunkError`,({error:e})=>{i.add(e)});function a(e){Ss({path:Qe(r.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(a)}),t.onError((e,t)=>{i.has(e)&&a(t)})}}),Us=p({name:`nuxt:island-link-navigation`,setup(e){}}),Ws=T(()=>A(()=>import(`./ClHlBWk5.js`).then(e=>e.default||e.default||e),__vite__mapDeps([69,1,21,70,2,3,4,5,23,25,71,17,72]),import.meta.url)),Gs=T(()=>A(()=>import(`./Svp5xUp0.js`).then(e=>e.default||e.default||e),__vite__mapDeps([73,1,74,21,67,75,35]),import.meta.url)),Ks=T(()=>A(()=>import(`./BHhSayl0.js`).then(e=>e.default||e.default||e),__vite__mapDeps([76,1,58,77,78]),import.meta.url)),qs=T(()=>A(()=>import(`./DmQBIgub.js`).then(e=>e.default||e.default||e),__vite__mapDeps([79,1,21,74,67,75,80]),import.meta.url)),Js=T(()=>A(()=>import(`./BlgY5uF7.js`).then(e=>e.default||e.default||e),__vite__mapDeps([81,1,21,46,43,3,44,4,30,45,5,47,48,82,83]),import.meta.url)),Ys=T(()=>A(()=>import(`./BDJDuHgl.js`).then(e=>e.default||e.default||e),__vite__mapDeps([84,1]),import.meta.url)),Xs=T(()=>A(()=>import(`./DLgWWSi3.js`).then(e=>e.default||e.default||e),__vite__mapDeps([85,1,21,17,46,43,3,44,4,30,45,5,47,48,86,87,49,88,37,32,38,18,89,90,20,22,23,24,25,26,91]),import.meta.url)),Zs=T(()=>A(()=>import(`./DIHfA_bg.js`).then(e=>e.default||e.default||e),__vite__mapDeps([92,1,93]),import.meta.url)),Qs=T(()=>A(()=>import(`./C_G07Yud.js`).then(e=>e.default||e.default||e),__vite__mapDeps([94,1,21,74,67,75,95,32,23,24,25,71,27,96,97,98]),import.meta.url)),$s=T(()=>A(()=>import(`./Bf0S_l-O.js`).then(e=>e.default||e.default||e),__vite__mapDeps([99,1,21,46,43,3,44,4,30,45,5,47,48,100]),import.meta.url)),ec=T(()=>A(()=>import(`./LSzL7TMv.js`).then(e=>e.default||e.default||e),__vite__mapDeps([101,1,21,102,103,23,25,104,105,27]),import.meta.url)),tc=T(()=>A(()=>import(`./CvlC7689.js`).then(e=>e.default||e.default||e),__vite__mapDeps([106,1,21,96,97,107,32,108,41,109,110,111,112,113]),import.meta.url)),nc=T(()=>A(()=>import(`./AzIduAyH.js`).then(e=>e.default||e.default||e),__vite__mapDeps([114,1,74,21,67,75]),import.meta.url)),rc=T(()=>A(()=>import(`./DMLq8ULP.js`).then(e=>e.default||e.default||e),__vite__mapDeps([115,1,21,74,67,75,46,43,3,44,4,30,45,5,47,48,96,97,116]),import.meta.url)),ic=T(()=>A(()=>import(`./BPhS6c-a.js`).then(e=>e.default||e.default||e),__vite__mapDeps([117,1,21,70,2,3,4,5,23,25,71,17,74,67,75,43,44,30,45,82,118]),import.meta.url)),ac=T(()=>A(()=>import(`./OTwJUPZs.js`).then(e=>e.default||e.default||e),__vite__mapDeps([119,1,21]),import.meta.url)),oc=T(()=>A(()=>import(`./DE4L35OR.js`).then(e=>e.default||e.default||e),__vite__mapDeps([120,1,121,122]),import.meta.url)),sc=T(()=>A(()=>import(`./UPN1AygL.js`).then(e=>e.default||e.default||e),__vite__mapDeps([123,1,21,27,96,97,124]),import.meta.url)),cc=T(()=>A(()=>import(`./D7sLtC9O.js`).then(e=>e.default||e.default||e),__vite__mapDeps([125,1,21,74,67,75,46,43,3,44,4,30,45,5,47,48,95,32,23,24,25,71,96,97,126]),import.meta.url)),lc=T(()=>A(()=>import(`./BRKG-IhM.js`).then(e=>e.default||e.default||e),__vite__mapDeps([127,1,46,21,43,3,44,4,30,45,5,47,48,96,97]),import.meta.url)),uc=T(()=>A(()=>import(`./CDjupcMh.js`).then(e=>e.default||e.default||e),__vite__mapDeps([128,1,21,27,129,40,16,2,3,4,5,17,18,19,20,22,23,24,25,26,130]),import.meta.url)),dc=T(()=>A(()=>import(`./B4sHBiGG.js`).then(e=>e.default||e.default||e),__vite__mapDeps([131,1,21,96,97,132]),import.meta.url)),fc=T(()=>A(()=>import(`./qYFJ_ucm.js`).then(e=>e.default||e.default||e),__vite__mapDeps([133,1,21,43,3,44,4,30,45,5,96,97,107,32,108,41,109,110,111,112,134]),import.meta.url)),pc=T(()=>A(()=>import(`./BfKm99aC.js`).then(e=>e.default||e.default||e),__vite__mapDeps([135,1,21,17,74,67,75,43,3,44,4,30,45,5,86,96,97,129,40,16,2,18,19,20,22,23,24,25,26,27,136,137,138]),import.meta.url)),mc=T(()=>A(()=>import(`./DzPbtNwi.js`).then(e=>e.default||e.default||e),__vite__mapDeps([139,3,1,32,30,4,23,24,21,25,74,67,75,89,121,140,141,42,86,16,2,5,17,18,19,20,22,26,27,142,143,144,145,146,147,148,149,65,150]),import.meta.url)),hc=T(()=>A(()=>import(`./CrSPTfIL.js`).then(e=>e.default||e.default||e),__vite__mapDeps([151,1,21,74,67,75,35,96,97,152,153]),import.meta.url)),gc=T(()=>A(()=>import(`./Cs-d0AiE.js`).then(e=>e.default||e.default||e),__vite__mapDeps([154,1,21,74,67,75,42,43,3,44,4,30,45,5,46,47,48,96,97,155]),import.meta.url)),_c=T(()=>A(()=>import(`./BQXIU_X8.js`).then(e=>e.default||e.default||e),__vite__mapDeps([156,1,20,21,22,23,24,25,26,96,97,152]),import.meta.url)),vc=T(()=>A(()=>import(`./p06WTY67.js`).then(e=>e.default||e.default||e),__vite__mapDeps([157,1,96,97,158,37,32,38,18,21,46,43,3,44,4,30,45,5,47,48,27,159,160,16,2,17,19,20,22,23,24,25,26]),import.meta.url)),yc=T(()=>A(()=>import(`./CGspBdXO.js`).then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([158,37,1,32,38,18,21,46,43,3,44,4,30,45,5,47,48,27,159]),import.meta.url)),bc=T(()=>A(()=>import(`./CtVl-NY4.js`).then(e=>e.default||e.default||e),__vite__mapDeps([161,1,32,2,3,4,5,21,58,162,37,38,18,42,50,51,163,19,164,96,97,59,60,165,166,167]),import.meta.url)),xc=T(()=>A(()=>import(`./CU6BtX02.js`).then(e=>e.default||e.default||e),__vite__mapDeps([168,1,21,46,43,3,44,4,30,45,5,47,48,96,97,169]),import.meta.url)),Sc=T(()=>A(()=>import(`./u5wAXfuA.js`).then(e=>e.default||e.default||e),__vite__mapDeps([170,3,1,32,2,4,5,40,171,20,21,22,23,24,25,26,142,146,147,172,173]),import.meta.url)),Cc=T(()=>A(()=>import(`./mCnjymE5.js`).then(e=>e.default||e.default||e),__vite__mapDeps([174,1,21,74,67,75,35,43,3,44,4,30,45,5,96,97,175]),import.meta.url)),wc=T(()=>A(()=>import(`./CU4ut0Gg.js`).then(e=>e.default||e.default||e),__vite__mapDeps([176,1,32,21,40,46,43,3,44,4,30,45,5,47,48,18,51,38,163,19,16,2,17,20,22,23,24,25,26,27,136,137,177]),import.meta.url)),Tc=T(()=>A(()=>import(`./C_xI_mln.js`).then(e=>e.default||e.default||e),__vite__mapDeps([178,3,1,32,23,24,21,25,71,74,67,75,43,44,4,30,45,5,22,27,143,144,145,179,147,180,110,111,29,2,181,86,182]),import.meta.url)),Ec=T(()=>A(()=>import(`./B76kLCnC.js`).then(e=>e.default||e.default||e),__vite__mapDeps([183,3,1,21,89,171,46,43,44,4,30,45,5,47,48,20,22,23,24,25,26,27,96,97,29,2,184]),import.meta.url)),Dc=T(()=>A(()=>import(`./BvoPYDQo.js`).then(e=>e.default||e.default||e),__vite__mapDeps([185,3,1,21,103,23,25,104,105,43,44,4,30,45,5,27,96,97,107,32,108,41,109,110,111,112,29,2,186]),import.meta.url)),Oc=T(()=>A(()=>import(`./DRM4DPv2.js`).then(e=>e.default||e.default||e),__vite__mapDeps([187,1,96,97]),import.meta.url)),kc=T(()=>A(()=>import(`./D1ZM6x9F.js`).then(e=>e.default||e.default||e),__vite__mapDeps([188,3,1,86,136,137,29,2,4,5,30]),import.meta.url)),Ac=T(()=>A(()=>import(`./7YcAAcFg.js`).then(e=>e.default||e.default||e),__vite__mapDeps([189,1,2,3,4,5,21,17,40,46,43,44,30,45,47,48,16,18,19,20,22,23,24,25,26,27,96,97,136,137,152,190,86,87,49,191,192]),import.meta.url)),jc=T(()=>A(()=>import(`./DF5XrCei.js`).then(e=>e.default||e.default||e),__vite__mapDeps([193,1,21,40,46,43,3,44,4,30,45,5,47,48,87,86,49,16,2,17,18,19,20,22,23,24,25,26,27,96,97,136,137,194]),import.meta.url)),Mc=T(()=>A(()=>import(`./TUmXa9dQ.js`).then(e=>e.default||e.default||e),__vite__mapDeps([195,1,46,21,43,3,44,4,30,45,5,47,48]),import.meta.url)),Nc=T(()=>A(()=>import(`./CN_xQ84D.js`).then(e=>e.default||e.default||e),__vite__mapDeps([196,1,21,40,43,3,44,4,30,45,5,197]),import.meta.url)),Pc=T(()=>A(()=>import(`./CkZWxXC2.js`).then(e=>e.default||e.default||e),__vite__mapDeps([198,1,21,199]),import.meta.url)),Fc=T(()=>A(()=>import(`./qHxH3GrW.js`).then(e=>e.default||e.default||e),__vite__mapDeps([200,1,21,74,67,75,121,47,96,97,201,3,44,4,30,45,5,202]),import.meta.url)),Ic=T(()=>A(()=>import(`./CzNffosm.js`).then(e=>e.default||e.default||e),__vite__mapDeps([203,1,21,47,201,3,44,4,30,45,5,204]),import.meta.url)),Lc=T(()=>A(()=>import(`./CgiLrhmn.js`).then(e=>e.default||e.default||e),__vite__mapDeps([205,1,46,21,43,3,44,4,30,45,5,47,48,27,107,32,108,41,109,110,111,112]),import.meta.url)),Rc=T(()=>A(()=>import(`./CFBt3z5F.js`).then(e=>e.default||e.default||e),__vite__mapDeps([206,3,1,21,58,77,207,43,44,4,30,45,5,96,97,59,61,52,17,53,208]),import.meta.url)),zc=T(()=>A(()=>import(`./B5fwSBIN.js`).then(e=>e.default||e.default||e),__vite__mapDeps([209,1,21,210]),import.meta.url)),Bc=T(()=>A(()=>import(`./CoCSvk94.js`).then(e=>e.default||e.default||e),__vite__mapDeps([211,1,74,21,67,75,35,46,43,3,44,4,30,45,5,47,48,96,97,152]),import.meta.url)),Vc=T(()=>A(()=>import(`./fzwBW2A7.js`).then(e=>e.default||e.default||e),__vite__mapDeps([212,1,21,213]),import.meta.url)),Hc=T(()=>A(()=>import(`./CYNdc6u6.js`).then(e=>e.default||e.default||e),__vite__mapDeps([214,1,46,21,43,3,44,4,30,45,5,47,48,96,97,152]),import.meta.url)),Uc=T(()=>A(()=>import(`./C0UKR8FG.js`).then(e=>e.default||e.default||e),__vite__mapDeps([215,1,21,129,40,16,2,3,4,5,17,18,19,20,22,23,24,25,26,27]
6),import.meta.url)),Wc=T(()=>A(()=>import(`./CQOO136J.js`).then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([160,37,1,32,38,18,16,2,3,4,5,17,19,20,21,22,23,24,25,26,27]),import.meta.url)),Gc=T(()=>A(()=>import(`./BYw8az9I.js`).then(e=>e.default||e.default||e),__vite__mapDeps([216,1,21,74,67,75,217,137,218]),import.meta.url)),Kc=T(()=>A(()=>import(`./Dtu9UPN7.js`).then(e=>e.default||e.default||e),__vite__mapDeps([219,1]),import.meta.url)),qc=T(()=>A(()=>import(`./wAV8MSjR.js`).then(e=>e.default||e.default||e),__vite__mapDeps([220,1,21,46,43,3,44,4,30,45,5,47,48,27,96,97,152,221]),import.meta.url)),Jc=T(()=>A(()=>import(`./CK7gzh6Y.js`).then(e=>e.default||e.default||e),__vite__mapDeps([222,3,1,223]),import.meta.url)),Yc=T(()=>A(()=>import(`./CL-PlXP7.js`).then(e=>e.default||e.default||e),__vite__mapDeps([224,1,96,97,152]),import.meta.url)),Xc=T(()=>A(()=>import(`./BeJOLJam.js`).then(e=>e.default||e.default||e),__vite__mapDeps([225,1,21,74,67,75,42,43,3,44,4,30,45,5,96,97,152,226]),import.meta.url)),Zc=T(()=>A(()=>import(`./C0W1rW7_.js`).then(e=>e.default||e.default||e),__vite__mapDeps([227,1,2,3,4,5,21,108,41,96,97,179,23,24,25,22,143,32,144,145,147,180,110,111,191,15,16,17,18,19,20,26,27,228]),import.meta.url)),Qc=T(()=>A(()=>import(`./B2dm-xOc.js`).then(e=>e.default||e.default||e),__vite__mapDeps([229,3,1,21,27,230]),import.meta.url)),$c=T(()=>A(()=>import(`./BfZTJ6Me.js`).then(e=>e.default||e.default||e),__vite__mapDeps([231,1,21,96,97,232]),import.meta.url)),el=T(()=>A(()=>import(`./jDYa8ct2.js`).then(e=>e.default||e.default||e),__vite__mapDeps([233,1,21,16,2,3,4,5,17,18,19,20,22,23,24,25,26,27,234]),import.meta.url)),tl=T(()=>A(()=>import(`./fX_yJiAw.js`).then(e=>e.default||e.default||e),__vite__mapDeps([235,1,96,97]),import.meta.url)),nl=T(()=>A(()=>import(`./CbmP-Hnn.js`).then(e=>e.default||e.default||e),__vite__mapDeps([236,1,21,74,67,75,237]),import.meta.url)),rl=T(()=>A(()=>import(`./D9a1t-nS.js`).then(e=>e.default||e.default||e),__vite__mapDeps([238,1,32,2,3,4,5,21,39,40,20,22,23,24,25,26,109,180,110,111,239,240]),import.meta.url)),il=T(()=>A(()=>import(`./BchGHSID.js`).then(e=>e.default||e.default||e),__vite__mapDeps([241,1,32,21,43,3,44,4,30,45,5,217,137,239,242]),import.meta.url)),al=T(()=>A(()=>import(`./fD-tJIqS.js`).then(e=>e.default||e.default||e),__vite__mapDeps([243,3,1,21,74,67,75,141,46,43,44,4,30,45,5,47,48,162,37,32,38,18,42,50,51,163,19,164,27,65,29,2,181,86,244]),import.meta.url)),ol=T(()=>A(()=>import(`./B5FURX5w.js`).then(e=>e.default||e.default||e),__vite__mapDeps([245,1,21,46,43,3,44,4,30,45,5,47,48,96,97,152,246]),import.meta.url)),sl=T(()=>A(()=>import(`./DYnTZTMj.js`).then(e=>e.default||e.default||e),__vite__mapDeps([247,1,21,96,97,152,248]),import.meta.url)),cl=T(()=>A(()=>import(`./BI6V1H1D.js`).then(e=>e.default||e.default||e),__vite__mapDeps([249,1,21,17,46,43,3,44,4,30,45,5,47,48,86,87,49,136,137,250]),import.meta.url)),ll=T(()=>A(()=>import(`./DYW0uRc7.js`).then(e=>e.default||e.default||e),__vite__mapDeps([251,1,2,3,4,5,21,17,46,43,44,30,45,47,48,16,18,19,20,22,23,24,25,26,27,96,97,136,137,152,190,86,87,49,191,252]),import.meta.url)),ul=T(()=>A(()=>import(`./CpxnBly6.js`).then(e=>e.default||e.default||e),__vite__mapDeps([253,1,21,96,97,152,254]),import.meta.url)),dl=T(()=>A(()=>import(`./CAaQCb9F.js`).then(e=>e.default||e.default||e),__vite__mapDeps([255,1,21,74,67,75,43,3,44,4,30,45,5,256]),import.meta.url)),fl=T(()=>A(()=>import(`./CAPbzTmk.js`).then(e=>e.default||e.default||e),__vite__mapDeps([257,1,74,21,67,75,35,46,43,3,44,4,30,45,5,47,48,258,27]),import.meta.url)),pl=T(()=>A(()=>import(`./BEDidPm1.js`).then(e=>e.default||e.default||e),__vite__mapDeps([259,1,165,21,166]),import.meta.url)),ml=T(()=>A(()=>import(`./2KpVP7oF.js`).then(e=>e.default||e.default||e),__vite__mapDeps([260,1,32,2,3,4,5,21,207,46,43,44,30,45,47,48,16,17,18,19,20,22,23,24,25,26,27,96,97,142,146,147,148,149,172,261]),import.meta.url)),hl=T(()=>A(()=>import(`./DzxoEngf.js`).then(e=>e.default||e.default||e),__vite__mapDeps([262,1,74,21,67,75,96,97,129,40,16,2,3,4,5,17,18,19,20,22,23,24,25,26,27,180,110,111,263,32,71,89,144]),import.meta.url)),gl=T(()=>A(()=>import(`./B_Dpqtdb.js`).then(e=>e.default||e.default||e),__vite__mapDeps([264,1,21,46,43,3,44,4,30,45,5,47,48,27,129,40,16,2,17,18,19,20,22,23,24,25,26,265]),import.meta.url)),_l=T(()=>A(()=>import(`./uE2zlrzs.js`).then(e=>e.default||e.default||e),__vite__mapDeps([266,1,96,97]),import.meta.url)),vl=T(()=>A(()=>import(`./DETxoUh2.js`).then(e=>
6e.default||e.default||e),__vite__mapDeps([267,1,96,97,217,137]),import.meta.url)),yl=T(()=>A(()=>import(`./BlccVYCI.js`).then(e=>e.default||e.default||e),__vite__mapDeps([268,1,20,21,22,23,24,25,26]),import.meta.url)),bl=T(()=>A(()=>import(`./C6Z8l9ut.js`).then(e=>e.default||e.default||e),__vite__mapDeps([269,1,21,74,67,75,96,97,110,111,201,3,44,4,30,45,5,270]),import.meta.url)),xl=T(()=>A(()=>import(`./Gc7Tedv3.js`).then(e=>e.default||e.default||e),__vite__mapDeps([271,1,21,272]),import.meta.url)),Sl=T(()=>A(()=>import(`./VlXRuJSF.js`).then(e=>e.default||e.default||e),__vite__mapDeps([273,1,21,96,97,274]),import.meta.url)),Cl=T(()=>A(()=>import(`./DTCDs28H.js`).then(e=>e.default||e.default||e),__vite__mapDeps([275,1,21,74,67,75,102,43,3,44,4,30,45,5,46,47,48,20,22,23,24,25,26,27,96,97,276]),import.meta.url)),wl=T(()=>A(()=>import(`./vRxOb5cP.js`).then(e=>e.default||e.default||e),__vite__mapDeps([277,1,278,37,32,38,18,64,3,96,97,152,279]),import.meta.url)),Tl=T(()=>A(()=>import(`./DmFnvzyI.js`).then(e=>e.default||e.default||e),__vite__mapDeps([280,1,46,21,43,3,44,4,30,45,5,47,48,258,27]),import.meta.url)),El=T(()=>A(()=>import(`./0_MgQK5o.js`).then(e=>e.default||e.default||e),__vite__mapDeps([281,1,96,97]),import.meta.url)),Dl=T(()=>A(()=>import(`./BJcO6-nc.js`).then(e=>e.default||e.default||e),__vite__mapDeps([282,1,21,46,43,3,44,4,30,45,5,47,48,283]),import.meta.url)),Ol=T(()=>A(()=>import(`./CVNuX9gJ.js`).then(e=>e.default||e.default||e),__vite__mapDeps([284,1,21,74,67,75,46,43,3,44,4,30,45,5,47,48,285]),import.meta.url)),kl=T(()=>A(()=>import(`./CqtdRptV.js`).then(e=>e.default||e.default||e),__vite__mapDeps([286,1,96,97]),import.meta.url)),Al=T(()=>A(()=>import(`./jAvevl5g.js`).then(e=>e.default||e.default||e),__vite__mapDeps([287,1,74,21,67,75,96,97]),import.meta.url)),jl=T(()=>A(()=>import(`./DK3HNGhh.js`).then(e=>e.default||e.default||e),__vite__mapDeps([288,1,181,86]),import.meta.url)),Ml=T(()=>A(()=>import(`./DeO12qru.js`).then(e=>e.default||e.default||e),__vite__mapDeps([289,1,21,74,67,75,46,43,3,44,4,30,45,5,47,48,96,97,290]),import.meta.url)),Nl=T(()=>A(()=>import(`./DeARBcQR.js`).then(e=>e.default||e.default||e),__vite__mapDeps([291,1,21,74,67,75,35,46,43,3,44,4,30,45,5,47,48,201,217,137,292]),import.meta.url)),Pl=T(()=>A(()=>import(`./BY5-opur.js`).then(e=>e.default||e.default||e),__vite__mapDeps([293,1,21,74,67,75,35,46,43,3,44,4,30,45,5,47,48,217,137,294]),import.meta.url)),Fl=T(()=>A(()=>import(`./Cgwcs9oZ.js`).then(e=>e.default||e.default||e),__vite__mapDeps([295,1,21,74,67,75,35,217,137,296]),import.meta.url)),Il=T(()=>A(()=>import(`./D7EdeisP.js`).then(e=>e.default||e.default||e),__vite__mapDeps([297,1,21,74,67,75,43,3,44,4,30,45,5,298]),import.meta.url)),Ll=T(()=>A(()=>import(`./DpbZ5Czv.js`).then(e=>e.default||e.default||e),__vite__mapDeps([299,1,74,21,67,75,35,96,97]),import.meta.url)),Rl=T(()=>A(()=>import(`./ByNeFa4n.js`).then(e=>e.default||e.default||e),__vite__mapDeps([300,1,21,74,67,75,46,43,3,44,4,30,45,5,47,48,96,97,301]),import.meta.url)),zl=T(()=>A(()=>import(`./CBZxFTSp.js`).then(e=>e.default||e.default||e),__vite__mapDeps([302,1,21,74,67,75,35,42,43,3,44,4,30,45,5,46,47,48,96,97,303]),import.meta.url)),Bl=T(()=>A(()=>import(`./C_z44FbO.js`).then(e=>e.default||e.default||e),__vite__mapDeps([304,1,21,74,67,75,96,97,152,217,137,305]),import.meta.url)),Vl=T(()=>A(()=>import(`./CAwrBI2K.js`).then(e=>e.default||e.default||e),__vite__mapDeps([306,3,1,2,4,5,173,53,307,32,21,207,171,20,22,23,24,25,26,146,147,172,308]),import.meta.url)),Hl=T(()=>A(()=>import(`./Ci8wVhrO.js`).then(e=>e.default||e.default||e),__vite__mapDeps([309,1,21,86,88,37,32,38,18,89,90,136,137,181,310]),import.meta.url)),Ul=T(()=>A(()=>import(`./BB3Q0wKg.js`).then(e=>e.default||e.default||e),__vite__mapDeps([311,1,121]),import.meta.url)),Wl=T(()=>A(()=>import(`./BXzw2713.js`).then(e=>e.default||e.default||e),__vite__mapDeps([312,1,21,96,97,152,180,110,111,313,37,32,38,18,74,67,75,35,122,104,314,315]),import.meta.url)),Gl=T(()=>A(()=>import(`./Ccqamiji.js`).then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([313,37,1,32,38,18,21,74,67,75,35,122,104,314]),import.meta.url)),Kl=T(()=>A(()=>import(`./CL6w2s6C.js`).then(e=>e.default||e.default||e),__vite__mapDeps([316,3,1,2,4,5,223]),import.meta.url)),ql=T(()=>A(()=>import(`./D8RY4tA2.js`).then(e=>e.default||e.default||e),__vite__mapDeps([317,3,1,180,110,111,29,2,4,5,30,263,32,23,24,21,25,71,89,144,318,65]),import.meta.url)),Jl=T(()=>A(()=>import(`./M8ChgrD4.js`).then(e=>e.default||e.default||e),__vite__mapDeps([319,1]),import.meta.url)),Yl=T(()=>A(()=>import(`./DEyi_e3L.js`).then(e=>e.default||e.default||e),__vite__mapDeps([320,1,321,37,32,38,18,3,21,65,29,2,4,5,30,181,86,322]),import.meta.url)),Xl=T(()=>A(()=>import(`./Dm5elnQn.js`).then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([323,37,1,32,38,18,21,324]),import.meta.url)),Zl=T(()=>A(()=>import(`./84B3NPNr.js`).then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([325,37,1,32,38,18,326,21,74,67,75,181,86,66,327]),import.meta.url)),Ql=T(()=>A(()=>import(`./DTjgiDmY.js`).then(e=>e.default||e.default||e),__vite__mapDeps([328,1,46,21,43,3,44,4,30,45,5,47,48]),import.meta.url)),$l=T(()=>A(()=>import(`./CToFQfcT.js`).then(e=>e.default||e.default||e),__vite__mapDeps([329,1,21,40,16,2,3,4,5,17,18,19,20,22,23,24,25,26,27,318,65,330]),import.meta.url)),eu=T(()=>A(()=>import(`./DOQIG4Zw.js`).then(e=>e.default||e.default||e),__vite__mapDeps([331,1,86,16,2,3,4,5,17,18,19,20,21,22,23,24,25,26,27,136,137]),import.meta.url)),tu=T(()=>A(()=>import(`./Bm6oe_kS.js`).then(e=>e.default||e.default||e),__vite__mapDeps([332,1,21,88,37,32,38,18,89,90,318,65,333]),import.meta.url)),nu=T(()=>A(()=>import(`./CkOXrHL2.js`).then(e=>e.default||e.default||e),__vite__mapDeps([334,1,46,21,43,3,44,4,30,45,5,47,48,258,27]),import.meta.url)),ru=T(()=>A(()=>import(`./C0mTwm6P.js`).then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([321,37,1,32,38,18,3,21,65,29,2,4,5,30,181,86,322]),import.meta.url)),iu=T(()=>A(()=>import(`./Coy103ke.js`).then(e=>e.default||e.default||e),__vite__mapDeps([335,3,1,74,21,67,75,29,2,4,5,30,181,86,323,37,32,38,18,324,325,326,66,327,336]),import.meta.url)),au=T(()=>A(()=>import(`./Hovqe5BL.js`).then(e=>e.default||e.default||e),__vite__mapDeps([337,3,1,64,142]),import.meta.url)),ou=T(()=>A(()=>import(`./DICudv_q.js`).then(e=>
6e.default||e.default||e),__vite__mapDeps([338,1,21,27,217,137]),import.meta.url)),su=T(()=>A(()=>import(`./Bj_iCONN.js`).then(e=>e.default||e.default||e),__vite__mapDeps([339,1,21,46,43,3,44,4,30,45,5,47,48,27,217,137,340]),import.meta.url)),cu=T(()=>A(()=>import(`./Doe8Hi2u.js`).then(e=>e.default||e.default||e),__vite__mapDeps([341,1,46,21,43,3,44,4,30,45,5,47,48,27,217,137]),import.meta.url)),lu=T(()=>A(()=>import(`./lWTJ3_g0.js`).then(e=>e.default||e.default||e),__vite__mapDeps([342,1,21,140,46,43,3,44,4,30,45,5,47,48,27,343]),import.meta.url)),uu=T(()=>A(()=>import(`./SAqOCFcF.js`).then(e=>e.default||e.default||e),__vite__mapDeps([344,1,16,2,3,4,5,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),du=T(()=>A(()=>import(`./CSTGhgDZ.js`).then(e=>e.default||e.default||e),__vite__mapDeps([345,1,21,74,67,75,35,122,27,217,137,346]),import.meta.url)),fu=T(()=>A(()=>import(`./0Vam2NzG.js`).then(e=>e.default||e.default||e),__vite__mapDeps([347,1,129,40,16,2,3,4,5,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),pu=T(()=>A(()=>import(`./CI6w1mHw.js`).then(e=>e.default||e.default||e),__vite__mapDeps([348,1,21,27,349]),import.meta.url)),mu=T(()=>A(()=>import(`./Cg_jQMai.js`).then(e=>e.default||e.default||e),__vite__mapDeps([350,1,21,351]),import.meta.url)),hu=T(()=>A(()=>import(`./CtuFHwRS.js`).then(e=>e.default||e.default||e),__vite__mapDeps([352,3,1,32,21,78,207,20,22,23,24,25,26,142,146,147,149,30,4,172,52,17,53,353]),import.meta.url)),gu=T(()=>A(()=>import(`./DtYm51OA.js`).then(e=>e.default||e.default||e),__vite__mapDeps([354,3,1,46,21,43,44,4,30,45,5,47,48,27,52,17,53]),import.meta.url)),_u=T(()=>A(()=>import(`./CW9gKBs9.js`).then(e=>e.default||e.default||e),__vite__mapDeps([355,1,21,74,67,75,35,356]),import.meta.url)),vu=T(()=>A(()=>import(`./DwL0Km3h.js`).then(e=>e.default||e.default||e),__vite__mapDeps([357,1,54,318,65,358]),import.meta.url)),yu=T(()=>A(()=>import(`./6ItM8G02.js`).then(e=>e.default||e.default||e),__vite__mapDeps([359,1,21,74,67,75,35,46,43,3,44,4,30,45,5,47,48,27,360]),import.meta.url)),bu=T(()=>A(()=>import(`./CMiwIYzx.js`).then(e=>e.default||e.default||e),__vite__mapDeps([361,3,1,2,4,5,65,53,307,32,21,207,171,20,22,23,24,25,26,146,147,172,308,362]),import.meta.url)),xu=T(()=>A(()=>import(`./BNr8tqT1.js`).then(e=>e.default||e.default||e),__vite__mapDeps([363,3,1,32,4,2,5,30,64,364,365,23,24,21,25,140,207,22,20,26,142,144,145,362,366]),import.meta.url)),Su=T(()=>A(()=>import(`./Ct9h5IwR.js`).then(e=>e.default||e.default||e),__vite__mapDeps([367,1,21,17,40,46,43,3,44,4,30,45,5,47,48,86,87,49,136,137,368]),import.meta.url)),Cu=T(()=>A(()=>import(`./BBf6Zl3T.js`).then(e=>e.default||e.default||e),__vite__mapDeps([369,1]),import.meta.url)),wu=T(()=>A(()=>import(`./CPg5PJ0c.js`).then(e=>e.default||e.default||e),__vite__mapDeps([370,1,21,46,43,3,44,4,30,45,5,47,48,371]),import.meta.url)),Tu=T(()=>A(()=>import(`./Yh0rv2oC.js`).then(e=>e.n).then(e=>e.default||e.default||e),__vite__mapDeps([278,37,1,32,38,18,64,3,96,97,152,279]),import.meta.url)),Eu=T(()=>A(()=>import(`./vBgpY7Tq.js`).then(e=>e.default||e.default||e),__vite__mapDeps([372,1,21,74,67,75,326,32,181,86,66,327,336,373,374,375]),import.meta.url)),Du=T(()=>A(()=>import(`./CCCeS92P.js`).then(e=>e.default||e.default||e),__vite__mapDeps([376,1,21,46,43,3,44,4,30,45,5,47,48,377]),import.meta.url)),Ou=T(()=>A(()=>import(`./Chnmsods.js`).then(e=>e.default||e.default||e),__vite__mapDeps([378,1,21,379]),import.meta.url)),ku=T(()=>A(()=>import(`./D-yttehU.js`).then(e=>e.default||e.default||e),__vite__mapDeps([380,1,21,74,67,75]),import.meta.url)),Au=T(()=>A(()=>import(`./BVGZjRh9.js`).then(e=>e.default||e.default||e),__vite__mapDeps([381,1,36,37,32,38,18,3,2,4,5,21,39,40,41,42,43,44,30,45,46,47,48,49,50,51,16,17,19,20,22,23,24,25,26,27,52,53,6,54,55]),import.meta.url)),ju=T(()=>A(()=>import(`./3nROSisS.js`).then(e=>e.default||e.default||e),__vite__mapDeps([382,1,57,3,2,4,5,21,58,20,22,23,24,25,26,59,60,61,53,52,17,6,62]),import.meta.url)),Mu=T(()=>A(()=>import(`./One-Ei27.js`).then(e=>e.default||e.default||e),__vite__mapDeps([383,1,21,74,67,75,336,373,32,66,374,384]),import.meta.url)),Nu=[[`AuthorPage`,Ws],[`AuthorPageAbout`,Gs],[`AuthorPageConnect`,Ks],[`AuthorPageExpertise`,qs],[`AuthorPageInfo`,Js],[`AuthorPageOtherResources`,Ys],[`AuthorPagePostList`,Xs],[`CookieCenterRichText`,Zs],[`CsExploreYourImpact`,Qs],[`CsExploreYourImpactStep`,$s],[`CsProviderReview`,ec],[`CsProviderReviews`,tc],[`CsWhatIsCommunitySolarStep`,nc],[`CsWhatIsCommunitySolarV2`,rc],[`EditorialTeamPage`,ic],[`Homepage`,ac],[`HpComparisonTableRow`,oc],[`HpComparisonTableV2`,sc],[`HpWhatIsAHeatPumpV2`,cc],[`HsSolarCalculatorCtaV2`,lc],[`HsValuePropCard`,uc],[`HsValuePropCards`,dc],[`ImageCarousel`,fc],[`LandingArticlePreview`,pc],[`LandingAssetDownload`,mc],[`LandingBlockContainer`,hc],[`LandingCobrandedSimpleHero`,gc],[`LandingCollapseList`,_c],[`LandingContactAndLinksCards`,vc],[`LandingContactCard`,yc],[`LandingContentFooter`,bc],[`LandingContentWidthImage`,xc],[`LandingCsmZipCodeForm`,Sc],[`LandingCtaFullWidthImage`,Cc],[`LandingDataCardHero`,wc],[`LandingDataExplorerMap`,Tc],[`LandingDataGeoLinks`,Ec],[`LandingDataInstallerCards`,Dc],[`LandingDataTable`,Oc],[`LandingDataUpdated`,kc],[`LandingFeaturedArticle`,Ac],[`LandingFeaturedArticles`,jc],[`LandingFullWidthImage`,Mc],[`LandingGraphicLink`,Nc],[`LandingGraphicLinks`,Pc],[`LandingHeroSplitScreenImage`,Fc],[`LandingHeroSplitScreenImageBubble`,Ic],[`LandingImageCarousel`,Lc],[`LandingImageSocialHero`,Rc],[`LandingImpactItem`,zc],[`LandingImpactItems`,Bc],[`LandingImpactStat`,Vc],[`LandingImpactStats`,Hc],[`LandingLink`,Uc],[`LandingLinksCard`,Wc],[`LandingOrderedStep`,Gc],[`LandingOrderedSteps`,Kc],[`LandingOurPartners`,qc],[`LandingPage`,Jc],[`LandingPageTitle`,Yc],[`LandingPartnerContext`,Xc],[`LandingPressList`,Zc],[`LandingPrimaryLink`,Qc],[`LandingPrimaryLinks`,$c],[`LandingResourceLink`,el],[`LandingResourceLinks`,tl],[`LandingRichContent`,nl],[`LandingSlidingCardCarousel`,rl],[`LandingSlidingCardCarouselItem`,il],[`LandingStateSolarCostCard`,al],[`LandingTextWithImage`,ol],[`LandingTextWithVideo`,sl],[`LandingThreeArticles`,cl],[`LandingTopStories`,ll],[`LandingTwoColumnText`,ul],[`LandingValueProp`,dl],[`LandingValueProps`,fl],[`LandingVerticalCrossSell`,pl],[`LandingZipAndEmailJoinHero`,ml],[`PageAccordionV2`,hl],[`PageCrossSellCardV2`,gl],[`PageCrossSellV3`,_l],[`PageCtaBannerV2`,vl],[`PageCtaButtonV2`,yl],[`PageCtaStickyFooter`,bl],[`PageCustomerQuoteStatistic`,xl],[`PageCustomerQuoteV3`,Sl],[`PageEnergyAdvisorContactV2`,Cl],[`PageEnergySageReviewsV2`,wl],[`PageFeaturedVideo`,Tl],[`PageFeaturedVideoSectionV2`,El],[`PageGetStartedStep`,Dl],[`PageGetStartedStepV2`,Ol],[`PageGetStartedV2`,kl],[`PageGetStartedV3`,Al],[`PageH2`,jl],[`PageImageCollage`,Ml],[`PageSimpleBackgroun
6dHero`,Nl],[`PageSimpleHero`,Pl],[`PageSimpleVideoHero`,Fl],[`PageValuePropV2`,Il],[`PageValuePropsV3`,Ll],[`PageVettedInstallersV2`,Rl],[`PageVlpHero`,zl],[`PageWideBackgroundHero`,Bl],[`PageZipCodeForm`,Vl],[`PolicyPage`,Hl],[`RichDataTableCellCheckmark`,Ul],[`SocialProofBanner`,Wl],[`SocialProofBannerItem`,Gl],[`VariableLandingPage`,Kl],[`ArticleAccordion`,ql],[`ArticleCtaBanner`,Jl],[`ArticleDataRichContent`,Yl],[`ArticleDataTable`,Xl],[`ArticleH2`,Zl],[`ArticleImage`,Ql],[`ArticleLink`,$l],[`ArticleRecommended`,eu],[`ArticleTips`,tu],[`ArticleVideo`,nu],[`DataRichContent`,ru],[`DataRichContentV2`,iu],[`EmbeddedHubspotForm`,au],[`GlobalCtaBadgeBanner`,ou],[`GlobalCtaBanner`,su],[`GlobalCtaBannerImage`,cu],[`GlobalCtaBannerSuccessSkyScreen`,lu],[`GlobalCtaButton`,uu],[`GlobalCtaLeafBanner`,du],[`GlobalCtaLink`,fu],[`GlobalEeatInfo`,pu],[`GlobalEeatInfoSellingPoint`,mu],[`GlobalEmailForm`,hu],[`GlobalSimpleCard`,gu],[`GlobalSiteWideBanner`,_u],[`GlobalStickyZipCta`,vu],[`GlobalVerticalCta`,yu],[`GlobalZipCodeForm`,bu],[`GlobalZipOrAddressForm`,xu],[`LandingFeaturedArticlesV2`,Su],[`LandingStickyZipCta`,Cu],[`PageImage`,wu],[`ReviewsIoCarousel`,Tu],[`RichContent`,Eu],[`RichContentWithImage`,Du],[`RichDataTable`,Ou],[`RichDataTableCell`,ku],[`SiteNavigation`,Au],[`SiteNavigationFooter`,ju],[`TableWithData`,Mu]],Pu=p({name:`nuxt:global-components`,setup(e){for(let[t,n]of Nu)e.vueApp.component(t,n),e.vueApp.component(`Lazy`+t,n)}}),Fu={simple:T(()=>A(()=>import(`./Dcu703Zb.js`).then(e=>e.default||e),__vite__mapDeps([385,1,21]),import.meta.url)),default:T(()=>A(()=>import(`./CZ94WOPj.js`).then(e=>e.default||e),__vite__mapDeps([386,1,21,31,3,32,33,34,35,36,37,38,18,2,4,5,39,40,41,42,43,44,30,45,46,47,48,49,50,51,16,17,19,20,22,23,24,25,26,27,52,53,6,54,55,56,57,58,59,60,61,62]),import.meta.url)),"global-component-preview":T(()=>A(()=>import(`./DzlWdc0r.js`).then(e=>e.default||e),__vite__mapDeps([387,1,21]),import.meta.url)),"global-full-width-component-preview":T(()=>A(()=>import(`./D5nRr461.js`).then(e=>e.default||e),__vite__mapDeps([388,1,21]),import.meta.url)),"navigation-preview":T(()=>A(()=>import(`./3eMQHd73.js`).then(e=>e.default||e),__vite__mapDeps([389,1,21]),import.meta.url)),"no-nav":T(()=>A(()=>import(`./BdBbTw0o.js`).then(e=>e.default||e),__vite__mapDeps([390,1,21,31,3,32,33,57,2,4,5,58,20,22,23,24,25,26,59,60,61,53,52,17,6,62]),import.meta.url))},Iu=p({name:`nuxt:prefetch`,setup(e){let t=St();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;t&&typeof Fu[t]==`function`&&await Fu[t]()})}),e.hooks.hook(`link:prefetch`,e=>{if(rt(e))return;let n=t.resolve(e);if(!n)return;let r=n.meta.layout,i=Ca(n.meta.middleware).filter(e=>typeof e==`string`);for(let e of i){let t=jo[e];typeof t==`function`&&t()}typeof r==`string`&&r in Fu&&bs(Fu[r])})}}),Lu=/^GTM-[0-9A-Z]+$/;function Ru(e){if(typeof e!=`string`||!Lu.test(e)){let t=String(e).toUpperCase().replace(/.*-|[^0-9A-Z]/g,``),n=t.length===0?``:` Did you mean 'GTM-${t}'?`;throw Error(`'${e}' is not a valid GTM-ID (${Lu}).${n}`)}}function zu(e,t=`dataLayer`){return e[t]||(e[t]=[]),e[t]}function Bu(e,t){let n=document,r=n.createElement(`script`),i=n=>{t.onReady?.({id:e,script:r}),r.removeEventListener(`load`,i)};r.addEventListener(`load`,i);let a=t.dataLayerName??`dataLayer`;if(zu(window,a).push({event:`gtm.js`,"gtm.start":new Date().getTime()}),!e)return r;r.async=!t.defer,r.defer=!!(t.defer||t.compatibility),t.nonce&&r.setAttribute(`nonce`,t.nonce),t.scriptType&&(r.type=t.scriptType);let o=new URLSearchParams({id:e,...t.dataLayerName?{l:t.dataLayerName}:{},...t.queryParams??{}});r.src=`${t.source??`https://www.googletagmanager.com/gtm.js`}?${o}`;let s=t.parentElement??n.body;if(typeof s?.appendChild!=`function`)throw Error(`parentElement must be a DOM element`);return s.appendChild(r),r}function Vu(e=`https://www.googletagmanager.com/gtm.js`){return Array.from(document.getElementsByTagName(`script`)).some(t=>t.src.includes(e))}var Hu=class{id;options;scriptElements=[];constructor(e){if(Array.isArray(e.id))for(let t of e.id)Ru(typeof t==`string`?t:t.id);else Ru(e.id);this.id=e.id,this.options={enabled:!0,debug:!1,loadScript:!0,defer:!1,compatibility:!1,dataLayerName:`dataLayer`,...e},delete this.options.id}isInBrowserContext=()=>typeof window<`u`;enabled(){return this.options.enabled??!0}enable(e=!0,t){if(this.options.enabled=e,this.isInBrowserContext()&&e&&!Vu(t)&&this.options.loadScript){if(Array.isArray(this.id))this.id.forEac
6h(e=>{let t;t=typeof e==`string`?Bu(e,{...this.options}):Bu(e.id,{...this.options,queryParams:e.queryParams}),this.scriptElements.push(t)});else{let e=Bu(this.id,{...this.options});this.scriptElements.push(e)}}}debugEnabled(){return this.options.debug??!1}debug(e){this.options.debug=e}dataLayer(){return this.isInBrowserContext()&&this.options.enabled?zu(window,this.options.dataLayerName):!1}trackView(e,t,n={}){let r=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&console.log(`[GTM-Support${r?``:`(disabled)`}]: Dispatching TrackView`,{screenName:e,path:t}),r&&zu(window,this.options.dataLayerName).push({...n,event:this.options.trackViewEventProperty??`content-view`,"content-name":t,"content-view-name":e})}trackEvent({event:e,category:t=null,action:n=null,label:r=null,value:i=null,noninteraction:a=!1,...o}={}){let s=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&console.log(`[GTM-Support${s?``:`(disabled)`}]: Dispatching event`,{event:e,category:t,action:n,label:r,value:i,...o}),s&&zu(window,this.options.dataLayerName).push({event:e??`interaction`,target:t,action:n,"target-properties":r,value:i,"interaction-type":a,...o})}push(e){let t=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&console.log(`[GTM-Support${t?``:`(disabled)`}]: Dispatching event`,e),t&&zu(window,this.options.dataLayerName).push(e)}},Uu;function Wu(e,t={id:``}){t={trackOnNextTick:!1,...t},Uu=new Hu(t),e.config.globalProperties.$gtm=Uu,Uu.isInBrowserContext()&&(t.vueRouter&&Gu(e,t.vueRouter,t.ignoredViews,t.trackOnNextTick,t.vueRouterAdditionalEventData),Uu.options.enabled&&Uu.options.loadScript&&(Array.isArray(t.id)?t.id.forEach(e=>{if(typeof e==`string`)Bu(e,t);else{let n={...t};e.queryParams!=null&&(n.queryParams={...n.queryParams,...e.queryParams}),Bu(e.id,n)}}):Bu(t.id,t))),e.provide(`gtm`,t)}function Gu(e,t,n=[],r,i=()=>({})){function a(e,t){return e instanceof Error&&!!(e.type&t)}t.afterEach(async(e,o,s)=>{if(typeof e.name!=`string`||Array.isArray(n)&&n.includes(e.name)||typeof n==`function`&&n(e,o))return;let c=e.meta&&typeof e.meta.gtm==`string`&&e.meta.gtm?e.meta.gtm:e.name;a(s,4)?Uu?.debugEnabled()&&console.log(`[VueGtm]: '${c}' not tracked due to navigation aborted`):a(s,8)&&Uu?.debugEnabled()&&console.log(`[VueGtm]: '${c}' not tracked due to navigation cancelled`);let l={...await i(e,o),...e.meta?.gtmAdditionalEventData},u=t.options?.history?.base??``;u.endsWith(`/`)||(u+=`/`),u+=e.fullPath.startsWith(`/`)?e.fullPath.substring(1):e.fullPath,r?Pe(()=>{Uu?.trackView(c,u,l)}):Uu?.trackView(c,u,l)})}function Ku(e){return{install:t=>Wu(t,e)}}var qu=p(e=>{{let t=e.$config.public.gtm,n=St(),r={...t,vueRouter:t.enableRouterSync&&n?n:void 0};e.vueApp.use(Ku(r))}}),Ju=p({name:`sentry-client-config`,async setup(){let e,t;[e,t]=l(()=>A(()=>import(`./CBVQdsoI.js`),__vite__mapDeps([391,3,1]),import.meta.url)),await e,t()}},1),Yu=(e=``)=>e.includes(`/cdn/`),Xu=(e,t=25,n=1)=>({...e,per_page:t,page:n}),Zu=e=>new Promise(t=>setTimeout(t,e)),Qu=(e=0,t)=>Array.from({length:e},t),$u=(e=0,t=e)=>{let n=Math.abs(t-e)||0,r=e<t?1:-1;return Qu(n,(t,n)=>n*r+e)},ed=async(e,t)=>Promise.all(e.map(t)),td=(e=[],t)=>e.map(t).reduce((e,t)=>[...e,...t],[]),nd=e=>{if(/%[0-9A-F]{2}/i.test(e))try{return decodeURIComponent(e)}catch{return e}return e},rd=(e,t,n)=>{let r=[];for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let a=e[i];if(a==null)continue;let o=n?``:encodeURIComponent(i),s;s=typeof a==`object`?rd(a,t?`${t}[${o}]`:o,Array.isArray(a)):`${t?`${t}[${o}]`:o}=${encodeURIComponent(a)}`,r.push(s)}return r.join(`&`)},id=e=>{let t={eu:`api.storyblok.com`,us:`api-us.storyblok.com`,cn:`app.storyblokchina.cn`,ap:`api-ap.storyblok.com`,ca:`api-ca.storyblok.com`};return t[e]??t.eu},ad=class{baseURL;timeout;headers;responseInterceptor;fetch;ejectInterceptor;url;parameters;fetchOptions;constructor(e){this.baseURL=e.baseURL,this.headers=e.headers||new Headers,this.timeout=e?.timeout?e.timeout*1e3:0,this.responseInterceptor=e.responseInterceptor,this.fetch=(...t)=>e.fetch?e.fetch(...t):fetch(...t),this.ejectInterceptor=!1,this.url=``,this.parameters={},this.fetchOptions={}}get(e,t){return this.url=e,this.parameters=t,this._methodHandler(`get`)}post(e,t){return this.url=e,this.parameters=t,this._methodHandler(`post`)}put(e,t){return this.url=e,this.parameters=t,this._methodHandler(`put`)}patch(e,t){return this.url=e,this.parameters=t,this._methodHandler(`patch`)}delete(e,t){return this.url=e,this.parameters=t??{},this._methodHandler(`delete`)}async _responseHandler(e){let t=[],n={data:{},headers:{},status:0,statusText:``};e.status!==204&&await e.json().then(e=>{n.data=e});for(let n of e.headers.entries())t[n[0]]=n[1];return n.headers={...t},n.status=e.status,n.statusText=e.statusText,n}async _methodHandler(e){let t=`${this.baseURL}
6${this.url}`,n=null;e===`get`?t=`${this.baseURL}${this.url}?${rd(this.parameters)}`:n=JSON.stringify(this.parameters);let r=new URL(t),i=new AbortController,{signal:a}=i,o=null;this.timeout&&(o=setTimeout(()=>i.abort(),this.timeout));try{let t=await this.fetch(`${r}`,{method:e,headers:this.headers,body:n,signal:a,...this.fetchOptions});this.timeout&&o&&clearTimeout(o);let i=await this._responseHandler(t);return this.responseInterceptor&&!this.ejectInterceptor?this._statusHandler(this.responseInterceptor(i)):this._statusHandler(i)}catch(e){return e.name===`AbortError`?{message:`Request timeout: The request was aborted due to timeout`}:{message:e.message||e.toString()||`An unknown error occurred`}}}setFetchOptions(e={}){Object.keys(e).length>0&&`method`in e&&delete e.method,this.fetchOptions={...e}}eject(){this.ejectInterceptor=!0}_normalizeErrorMessage(e){if(Array.isArray(e))return e[0]||`Unknown error`;if(e&&typeof e==`object`){if(e.error)return e.error;for(let t in e){if(Array.isArray(e[t]))return`${t}: ${e[t][0]}`;if(typeof e[t]==`string`)return`${t}: ${e[t]}`}if(e.slug)return e.slug}return`Unknown error`}_statusHandler(e){let t=/20[0-6]/g;return new Promise((n,r)=>{if(t.test(`${e.status}`))return n(e);r({message:this._normalizeErrorMessage(e.data),status:e.status,response:e})})}},od={DRAFT:`draft`,PUBLISHED:`published`};Object.values(od);var sd={SMALL:25,MEDIUM:50,LARGE:75},cd={SINGLE_OR_SMALL:50,MEDIUM:15,LARGE:10,VERY_LARGE:6},ld=1e3;function ud(e,t){let n=e.includes(`/cdn/stories/`),r=e.split(`/`).length>3&&!e.endsWith(`/cdn/stories`),i=`find_by`in t;return n&&r||i}function dd(e){return e<=sd.SMALL?cd.SINGLE_OR_SMALL:e<=sd.MEDIUM?cd.MEDIUM:e<=sd.LARGE?cd.LARGE:cd.VERY_LARGE}function fd(e,t,n={},r){return n.userRateLimit===void 0?n.serverHeadersRateLimit===void 0?r===void 0?!e||!t||ud(e,t)?cd.SINGLE_OR_SMALL:dd(t.per_page||25):r:Math.min(n.serverHeadersRateLimit,ld):Math.min(n.userRateLimit,ld)}function pd(e){if(!e)return null;let t=e[`x-ratelimit`]||e[`X-RateLimit`],n=e[`x-ratelimit-policy`]||e[`X-RateLimit-Policy`];if(!t&&!n)return null;let r={};if(t){let e=t.match(/r=(\d+)/);e&&(r.remaining=Number.parseInt(e[1],10))}if(n){let e=n.match(/q=(\d+)/);e&&(r.max=Number.parseInt(e[1],10))}return Object.keys(r).length>0?r:null}function md(e,t=!1){return{userRateLimit:e,serverHeadersRateLimit:void 0,isManagementApi:t}}var hd=class extends Error{constructor(e){super(e),this.name=`AbortError`}};function gd(e,t,n){let r=!Number.isFinite(t)||t<=0||!Number.isFinite(n)||n<=0,i=[],a=new Set,o=!1,s=()=>r?Promise.resolve():new Promise((e,r)=>{let s=()=>{if(o){r(new hd(`Throttle function aborted`));return}let c=Date.now();for(;i.length>0&&i[0]<=c-n;)i.shift();if(i.length<t){i.push(c),e();return}let l=i[0]+n-c,u,d=setTimeout(()=>{a.delete(u),s()},l>0?l:0);u=e=>{clearTimeout(d),r(e)},a.add(u)};s()}),c=(...t)=>o?Promise.reject(Error(`Throttled function is already aborted and not accepting new promises`)):s().then(()=>e(...t));return c.abort=()=>{o=!0,a.forEach(e=>e(new hd(`Throttle function aborted`))),a.clear()},c}var _d=class{queues;interval;throttledRequestFn;constructor(e,t=1e3){this.queues=new Map,this.interval=t,this.throttledRequestFn=e}getQueue(e){let t=this.queues.get(e);return t||(t=gd(this.throttledRequestFn,e,this.interval),this.queues.set(e,t)),t}execute(e,...t){return this.getQueue(e)(...t)}
6abortAll(){this.queues.forEach(e=>{e.abort?.()}),this.queues.clear()}getQueueCount(){return this.queues.size}},vd={},yd={};function bd(e){return Array.isArray(e)?e.length>0?e.join(`,`):void 0:e}var xd=class{client;maxRetries;retriesDelay;throttleManager;accessToken;cache;resolveCounter;relations;links;version;rateLimitConfig;cvMode;richTextResolver;resolveNestedRelations;stringifiedStoriesCache;inlineAssets;constructor(e,t){let n=e.endpoint||t;if(!n){let t=e.https===!1?`http`:`https`;n=e.oauthToken?`${t}://${id(e.region)}/v1`:`${t}://${id(e.region)}/v2`}let r=new Headers;!e.oauthToken&&typeof window<`u`||r.set(`Content-Type`,`application/json`),r.set(`Accept`,`application/json`),e.headers&&(e.headers.constructor.name===`Headers`?e.headers.entries().toArray():Object.entries(e.headers)).forEach(([e,t])=>{r.set(e,t)}),e.oauthToken&&r.set(`Authorization`,e.oauthToken),this.rateLimitConfig=md(e.rateLimit,!!e.oauthToken),this.maxRetries=e.maxRetries||10,this.retriesDelay=e.retriesDelay??300,this.throttleManager=new _d(this.throttledRequest.bind(this),1e3),this.accessToken=e.accessToken||``,this.relations={},this.links={},this.cache=e.cache||{clear:`manual`},this.cvMode=e.cache?.cv??`auto`,this.resolveCounter=0,this.resolveNestedRelations=e.resolveNestedRelations||!0,this.stringifiedStoriesCache={},this.version=e.version||od.PUBLISHED,this.inlineAssets=e.inlineAssets||!1,this.client=new ad({baseURL:n,timeout:e.timeout||0,headers:r,responseInterceptor:e.responseInterceptor,fetch:e.fetch})}parseParams(e){e.token||=this.getToken(),!e.cv&&this.cvMode===`auto`&&(e.cv=yd[e.token]),Array.isArray(e.resolve_relations)?e.resolve_relations=e.resolve_relations.map(nd).join(`,`):typeof e.resolve_relations==`string`&&(e.resolve_relations=nd(e.resolve_relations));let t=bd(e.excluding_story_fields);return t===void 0?delete e.excluding_story_fields:e.excluding_story_fields=t,e.resolve_relations!==void 0&&(e.resolve_level=2),e}factoryParamOptions(e,t){return Yu(e)?this.parseParams(t):t}
6makeRequest(e,t,n,r,i){let a=this.factoryParamOptions(e,Xu(t,n,r));return this.cacheResponse(e,a,void 0,i)}get(e,t={},n){t||={};let r=`/${e}`;Yu(r)?t.version=t.version||this.version:t.version&&delete t.version;let i=this.factoryParamOptions(r,t);return this.cacheResponse(r,i,void 0,n)}async getAll(e,t={},n,r){let i=t?.per_page||25,a=`/${e}`.replace(/\/$/,``),o=n??a.substring(a.lastIndexOf(`/`)+1);t.version=t.version||this.version;let s=await this.makeRequest(a,t,i,1,r);return td([s,...await ed($u(1,s.total?Math.ceil(s.total/(s.perPage||i)):1),e=>this.makeRequest(a,t,i,e+1,r))],e=>Object.values(e.data[o]))}post(e,t={},n){let r=`/${e}`,i=fd(void 0,void 0,this.rateLimitConfig,3);return this.throttleManager.execute(i,`post`,r,t,n)}put(e,t={},n){let r=`/${e}`,i=fd(void 0,void 0,this.rateLimitConfig,3);return this.throttleManager.execute(i,`put`,r,t,n)}patch(e,t={},n){let r=`/${e}`,i=fd(void 0,void 0,this.rateLimitConfig,3);return this.throttleManager.execute(i,`patch`,r,t,n)}delete(e,t={},n){t||={};let r=`/${e}`,i=fd(void 0,void 0,this.rateLimitConfig,3);return this.throttleManager.execute(i,`delete`,r,t,n)}getStories(e={},t){return this._addResolveLevel(e),this.get(`cdn/stories`,e,t)}getStory(e,t={},n){return this._addResolveLevel(t),this.get(`cdn/stories/${e}`,t,n)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_addResolveLevel(e){e.resolve_relations!==void 0&&(e.resolve_level=2)}_cleanCopy(e){return JSON.parse(JSON.stringify(e))}_insertLinks(e,t,n){let r=e[t];r&&r.fieldtype===`multilink`&&r.linktype===`story`&&typeof r.id==`string`&&this.links[n][r.id]?r.story=this._cleanCopy(this.links[n][r.id]):r&&r.linktype===`story`&&typeof r.uuid==`string`&&this.links[n][r.uuid]&&(r.story=this._cleanCopy(this.links[n][r.uuid]))}getStoryReference(e,t){return this.relations[e][t]?JSON.parse(this.stringifiedStoriesCache[t]||JSON.stringify(this.relations[e][t])):t}_resolveField(e,t,n){let r=e[t];typeof r==`string`?e[t]=this.getStoryReference(n,r):Array.isArray(r)&&(e[t]=r.map(e=>this.getStoryReference(n,e)).filter(Boolean))}_insertRelations(e,t,n,r){if(Array.isArray(n)?n.find(e=>e.endsWith(`.${t}`)):n.endsWith(`.${t}`)){this._resolveField(e,t,r);return}let i=e.component?`${e.component}.${t}`:t;(Array.isArray(n)?n.includes(i):n===i)&&this._resolveField(e,t,r)}iterateTree(e,t,n){let r=(e,i=``)=>{if(e&&!e._stopResolving){if(Array.isArray(e))e.forEach((e,t)=>r(e,`${i}[${t}]`));else if(typeof e==`object`)for(let a in e){let o=i?`${i}.${a}`:a;(e.component&&e._uid||e.type===`link`)&&(this._insertRelations(e,a,t,n),this._insertLinks(e,a,n)),r(e[a],o)}}};r(e.content)}async resolveLinks(e,t,n){let r=[];if(e.link_uuids){let n=e.link_uuids.length,i=[];for(let t=0;t<n;t+=50){let r=Math.min(n,t+50);i.push(e.link_uuids.slice(t,r))}for(let e=0;e<i.length;
6e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:i[e].join(`,`),excluding_story_fields:t.excluding_story_fields})).data.stories.forEach(e=>{r.push(e)})}else r=e.links;r.forEach(e=>{this.links[n][e.uuid]={...e,_stopResolving:!0}})}async resolveRelations(e,t,n){let r=[];if(e.rel_uuids){let n=e.rel_uuids.length,i=[];for(let t=0;t<n;t+=50){let r=Math.min(n,t+50);i.push(e.rel_uuids.slice(t,r))}for(let e=0;e<i.length;e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:i[e].join(`,`),excluding_fields:t.excluding_fields,excluding_story_fields:t.excluding_story_fields})).data.stories.forEach(e=>{r.push(e)});r.length>0&&(e.rels=r,delete e.rel_uuids)}else r=e.rels;r&&r.length>0&&r.forEach(e=>{this.relations[n][e.uuid]={...e,_stopResolving:!0}})}async resolveStories(e,t,n){let r=[];if(this.links[n]={},this.relations[n]={},t.resolve_relations!==void 0&&t.resolve_relations.length>0&&(typeof t.resolve_relations==`string`&&(r=t.resolve_relations.split(`,`)),await this.resolveRelations(e,t,n)),t.resolve_links&&[`1`,`story`,`url`,`link`].includes(t.resolve_links)&&(e.links?.length||e.link_uuids?.length)&&await this.resolveLinks(e,t,n),this.resolveNestedRelations)for(let e in this.relations[n])this.iterateTree(this.relations[n][e],r,n);e.story?this.iterateTree(e.story,r,n):e.stories.forEach(e=>{this.iterateTree(e,r,n)}),this.stringifiedStoriesCache={},delete this.links[n],delete this.relations[n]}async cacheResponse(e,t,n,r){let i=rd({url:e,params:t}),a=this.cacheProvider();if(t.version===`published`&&e!==`/cdn/spaces/me`){let e=await a.get(i);if(e)return Promise.resolve(e)}let o=!Yu(e)&&this.rateLimitConfig.isManagementApi?3:void 0,s=fd(e,t,this.rateLimitConfig,o);return new Promise(async(o,c)=>{try{let n=await this.throttleManager.execute(s,`get`,e,t,r);if(n.status!==200)return c(n);let l={data:n.data,headers:n.headers},u=pd(n.headers);if(u?.max!==void 0&&(this.rateLimitConfig.serverHeadersRateLimit=u.max),n.headers?.[`per-page`]&&(l=Object.assign({},l,{perPage:n.headers[`per-page`]?Number.parseInt(n.headers[`per-page`]):0,total:n.headers[`per-page`]?Number.parseInt(n.headers.total):0})),l.data.story||l.data.stories){let e=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(l.data,t,`${e}`),l=await this.processInlineAssets(l)}t.version===`published`&&e!==`/cdn/spaces/me`&&await a.set(i,l);let d=this.cache.clear===`onpreview`&&t.version===`draft`||this.cache.clear===`auto`;return t.token&&l.data.cv&&(d&&yd[t.token]&&yd[t.token]!==l.data.cv&&await this.flushCache(),yd[t.token]=l.data.cv),o(l)}catch(i){if(i.response&&i.status===429&&(n=n===void 0?0:n+1,n<this.maxRetries))return console.log(`Hit rate limit. Retrying in ${this.retriesDelay/1e3} seconds.`),await Zu(this.retriesDelay),this.cacheResponse(e,t,n,r).then(o).catch(c);c(i)}})}throttledRequest(e,t,n,r){return this.client.setFetchOptions(r),this.client[e](t,n)}cacheVersions(){return yd}cacheVersion(){return yd[this.accessToken]}setCacheVersion(e){this.accessToken&&(yd[this.accessToken]=e)}clearCacheVersion(){this.accessToken&&(yd[this.accessToken]=0)}cacheProvider(){switch(this.cache.type){case`memory`:return{get(e){return Promise.resolve(vd[e])},getAll(){return Promise.resolve(vd)},set(e,t){return vd[e]=t,Promise.resolve(void 0)},flush(){return vd={},Promise.resolve(void 0)}};case`custom`:if(this.cache.custom)return this.cache.custom;default:return{get(){return Promise.resolve()},getAll(){return Promise.resolve(void 0)},set(){return Promise.resolve(void 0)},flush(){return Promise.resolve(void 0)}}}}async flushCache(){return await this.cacheProvider().flush(),this.clearCacheVersion(),this}async processInlineAssets(e){if(!this.inlineAssets)return e;let t=n=>{if(!n||typeof n!=`object`)return n;if(Array.isArray(n))return n.map(e=>t(e));let r={...n};r.fieldtype===`asset`&&Array.isArray(e.data.assets)&&(r={...e.data.assets.find(e=>e.id===r.id),...r});for(let e in r)typeof r[e]==`object`&&(r[e]=t(r[e]));return r};return e.data.story&&(e.data.story.content=t(e.data.story.content)),e.data.stories&&(e.data.stories=e.data.stories.map(e=>(e.content=t(e.content),e))),e}};function Sd(e,t){if(!t)return{src:e,attrs:{}};let n=0,r=0,i={},a=[];function o(e,t,n,r,i){typeof e!=`number`||e<=t||e>=n?console.warn(`[StoryblokRichText] - ${r.charAt(0).toUpperCase()+r.slice(1)} value must be a number between ${t} and ${n} (inclusive)`):i.push(`${r}(${e})`)}if(typeof t==`object`){if(t.width!==void 0&&(typeof t.width==`number`&&t.width>=0?(i.width=t.width,n=t.width):console.warn(`[StoryblokRichText] - Width value must be a number greater than or equal to 0`)),t.height!==void 0&&(typeof t.height==`number`&&t.height>=0?(i.height=t.height,r=t.height):console.warn(`[StoryblokRichText] - He
6ight value must be a number greater than or equal to 0`)),t.height===0&&t.width===0&&(delete i.width,delete i.height,console.warn(`[StoryblokRichText] - Width and height values cannot both be 0`)),t.loading&&[`lazy`,`eager`].includes(t.loading)&&(i.loading=t.loading),t.class&&(i.class=t.class),t.filters){let{filters:e}=t||{},{blur:n,brightness:r,fill:i,format:s,grayscale:c,quality:l,rotate:u}=e||{};n&&o(n,0,100,`blur`,a),l&&o(l,0,100,`quality`,a),r&&o(r,0,100,`brightness`,a),i&&a.push(`fill(${i})`),c&&a.push(`grayscale()`),u&&[0,90,180,270].includes(t.filters.rotate||0)&&a.push(`rotate(${u})`),s&&[`webp`,`png`,`jpeg`].includes(s)&&a.push(`format(${s})`)}t.srcset&&(i.srcset=t.srcset.map(t=>{if(typeof t==`number`)return`${e}/m/${t}x0/${a.length>0?`filters:${a.join(`:`)}`:``} ${t}w`;if(Array.isArray(t)&&t.length===2){let[n,r]=t;return`${e}/m/${n}x${r}/${a.length>0?`filters:${a.join(`:`)}`:``} ${n}w`}console.warn(`[StoryblokRichText] - srcset entry must be a number or a tuple of two numbers`)}).join(`, `)),t.sizes&&(i.sizes=t.sizes.join(`, `))}let s=`${e}/m/`;return(n>0||r>0)&&(s=`${s}${n}x${r}/`),a.length>0&&(s=`${s}filters:${a.join(`:`)}`),{src:s,attrs:i}}function Cd(e,t){if(e===t)return!0;if(e==null||t==null)return e===t;if(typeof e!=typeof t||typeof e!=`object`||Array.isArray(e)!==Array.isArray(t))return!1;if(Array.isArray(e))return e.length===t.length&&e.every((e,n)=>Cd(e,t[n]));let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>Object.prototype.hasOwnProperty.call(t,n)&&Cd(e[n],t[n]))}var wd=[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`];function Td(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#039;`)}function Ed(){let e=new Map;return t=>{let n=(e.get(t)||0)+1;return e.set(t,n),`${t}-${n}`}}var Dd={paragraph:{tag:`p`,content:!0},doc:null,text:null,emoji:{tag:`span`},blockquote:{tag:`blockquote`,content:!0},heading:{resolve:e=>`h${typeof e?.level==`number`?Math.min(6,Math.max(1,e.level)):1}`},bullet_list:{tag:`ul`,content:!0},ordered_list:{tag:`ol`,attrs:{order:1},content:!0},list_item:{tag:`li`,content:!0},code_block:{tag:`pre`,children:[{tag:`code`,content:!0}]},hard_break:{tag:`br`},horizontal_rule:{tag:`hr`},image:{tag:`img`},table:{tag:`table`,content:!0},tableRow:{tag:`tr`,content:!0},tableCell:{tag:`td`,attrs:{colspan:1,rowspan:1},content:!0},tableHeader:{tag:`th`,attrs:{colspan:1,rowspan:1},content:!0},blok:null},Od={link:{tag:`a`,attrs:{rel:`noopener noreferrer nofollow`,linktype:`url`,custom:{}},content:!0},bold:{tag:`strong`,content:!0},italic:{tag:`em`,content:!0},strike:{tag:`s`,content:!0},underline:{tag:`u`,content:!0},code:{tag:`code`,content:!0},superscript:{tag:`sup`,content:!0},subscript:{tag:`sub`,content:!0},highlight:{tag:`mark`,content:!0},textStyle:{tag:`span`,content:!0},anchor:{tag:`span`,content:!0},styled:{tag:`span`,content:!0}};function kd(e){return Object.entries(e).filter(([,e])=>Nd(e)).map(([e,t])=>`${Md(e)}: ${t};`).join(` `)}function Ad(e){return e.split(`;`).map(e=>e.trim()).filter(Boolean).reduce((e,t)=>{let n=t.indexOf(`:`);if(n===-1)return e;let r=t.slice(0,n).trim(),i=t.slice(n+1).trim();return!r||!i||(e[jd(r)]=i),e},{})}function jd(e){return e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}function Md(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function Nd(e){return e!=null&&e!==``}var Pd={highlight:{color:`backgroundColor`},textStyle:{color:`color`},paragraph:{textAlign:`textAlign`},heading:{textAlign:`textAlign`},tableCell:{backgroundColor:`backgroundColor`,colwidth:`width`},tableHeader:{colwidth:`width`}},Fd={body:`data-body`,colspan:`colSpan`,rowspan:`rowSpan`,name:`data-name`,emoji:`data-emoji`,order:`start`},Id=new Set([`level`,`linktype`,`uuid`,`anchor`,`meta_data`,`copyright`,`source`,`fallbackImage`]),Ld=new Set([`colspan`,`rowspan`,`order`]);function Rd(e){let{linktype:t,href:n,anchor:r}=e;if(t===`story`)return`${typeof n==`string`?n:``}${typeof r==`string`&&r?`#${r}`:``}`;if(t===`email`&&typeof n==`string`)return`mailto:${n.replace(/^mailto:/,``)}`}function zd(e){let t={},n={};if(!(e in Dd))return{staticAttrs:n,staticStyle:t};let r=Dd[e];if(!r||!(`attrs`in r))return{staticAttrs:n,staticStyle:t};let i=r.attrs||{},a=`style`in i&&typeof i.style==`string`?i.style:``,{style:o,...s}=i;return n=s,a&&Object.assign(t,Ad(a)),{staticAttrs:n,staticStyle:t}}function Bd(e){return Array.isArray(e)?e[0]==null?void 0:`${e[0]}px`:typeof e==`number`||typeof e==`string`?e:String(e)}function Vd(e,t,n,r,i,a,o){if(!Nd(t)||Id.has(e)||Ld.has(e)&&t===1)return;if(e in r){let n=r[e],i=Bd(t);i!==void 0&&Nd(i)&&(a[n]=i);return}let s=i[e]??e;if(s===`custom`&&n===`link`&&typeof t==`object`&&t){for(let[e,n]of Object.entries(t))o[e]=String(n);return}if(typeof t==`object`&&t){o[s]=JSON.stringify(t);return}o[s]=t}function Hd(e,t={},n={}){let{staticAttrs:r,staticStyle:i}=zd(e),a={...i},o={},s=Pd[e]||{},c={...Fd,...n},l={...r,...t};for(let[t,n]of Object.entries(l))Vd(t,n,e,s,c,a,o);if(e===`link`){let e=Rd(t);e!==void 0&&(o.href=e)}return{...o,...Object.keys(a).length>0&&{style:a}}}var Ud=e=>String(e).replace(/[&"'<>]/g,e=>{switch(e){case`&`:return`&amp;`;case`"`:return`&quot;`;case`'`:return`&#39;`;case`<`:return`&lt;`;case`>`:return`&gt;`;default:return e}});function Wd(e){if(e.type!==`text`||!e.marks)return null;for(let t of e.marks)if(t.type===`link`)return t;return null}function Gd(e,t){return!e||!t?!1:Cd(e.attrs??{},t.attrs??{})}
6function Kd(e){return e.type===`text`?e.marks?.filter(e=>e.type!==`link`)??[]:[]}function qd(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e[n],a=Wd(i);if(a){let o=[i],s=n+1;for(;s<r&&Gd(a,Wd(e[s]));)o.push(e[s]),s++;t.push({nodes:o,linkMark:a,_key:`group-link-${n}`}),n=s}else t.push({nodes:[i],linkMark:null,_key:`group-node-${n}`}),n++}return t}function Jd(e){if(e.type!==`tableRow`)return!1;let t=e.content;if(!t?.length)return!1;for(let e of t)if(e.type!==`tableHeader`)return!1;return!0}function Yd(e){if(!e?.length)return{headerRows:[],bodyRows:[]};let t=0;for(;t<e.length&&Jd(e[t]);)t++;return{headerRows:e.slice(0,t),bodyRows:e.slice(t)}}function Xd(e,t=!1){if(!e)return[];if(Array.isArray(e))return t?Zd(e,Ed()):e;let n=e.type===`doc`?e.content||[]:[e];return t?Zd(n,Ed()):n}function Zd(e,t){return e.map(e=>{let n={...e,_key:t(e.type)};return`marks`in e&&Array.isArray(e.marks)&&(n.marks=e.marks.map(e=>({...e,_key:t(e.type)}))),`content`in e&&Array.isArray(e.content)&&(n.content=Zd(e.content,t)),n})}function Qd(e){let t=e.type,n=Dd[t]??Od[t];if(!n)return null;if(`resolve`in n&&typeof n.resolve==`function`){let t=`attrs`in e?e.attrs:void 0;return n.resolve(t)}return`tag`in n&&typeof n.tag==`string`?n.tag:null}function $d(e){return wd.includes(e)}function ef(e){let t=Dd[e.type];return t&&`children`in t?t.children:null}function tf(e){let t=``;for(let n in e){let r=e[n];r!=null&&(t+=` ${n}="${Ud(r)}"`)}return t}function nf(e){return`content`in e&&Array.isArray(e.content)}function rf(e,t){let n=Xd(e);return n?.length?cf(n,t):``}function af(e){return`attrs`in e?e.attrs:void 0}function of(e,t){let n=e.type!==`text`&&`content`in e&&e.content?cf(e.content,t):``,r=t?.renderers?.[e.type];if(r){let i=t?.renderers?.[e.type]?{...t,renderers:{...t.renderers,[e.type]:void 0}}:t;return r({...e,children:n,context:i})}if(e.type===`text`)return lf(e,e.marks,t);if(e.type===`blok`)return console.warn(`"blok" nodes require a custom renderer in renderRichText.`),``;let i=Qd(e);if(!i)return n;if(e.type===`image`&&t?.optimizeImage)return sf(e,t);let a=af(e),o=mf(e.type,a);if($d(i))return`<${i}${o}>`;if(e.type===`table`)return`<${i}${o}>${ff(e.content,t)}</${i}>`;let s=ef(e);return s?`<${i}>${pf(e.type,s,a,n)}</${i}>`:e.type===`emoji`?`<${i}${o}>${Td((`attrs`in e?e.attrs?.emoji:void 0)??``)}</${i}>`:`<${i}${o}>${n}</${i}>`}function sf(e,t){let n=`attrs`in e?e.attrs:void 0,r=n?.src,i={...n};if(r){let{src:e,attrs:n}=Sd(r,t.optimizeImage);i={...i,src:e,...n}}let a=mf(`image`,i);return a?`<img${a}>`:`<img>`}function cf(e,t){let n=``,r=0,i=e.length;for(;r<i;){let a=e[r],o=Wd(a);if(o){let a=r+1;for(;a<i&&Gd(o,Wd(e[a]));)a++;n+=df(e,r,a,o,t),r=a}else n+=of(a,t),r++}return n}function lf(e,t,n){let r=Td(e.text);if(!t?.length)return r;for(let e of t)r=uf(r,e,n);return r}function uf(e,t,n){let r=n?.renderers?.[t.type];if(r)return r({...t,children:e,context:n});let i=Qd(t);if(!i)return e;let a=`attrs`in t?t.attrs:void 0;return`<${i}${mf(t.type,a)}>${e}</${i}>`}function df(e,t,n,r,i){let a=``;for(let r=t;r<n;r++){let t=e[r];if(t.type!==`text`)continue;let n=t.marks?.filter(e=>e.type!==`link`);a+=lf(t,n,i)}let o=i?.renderers?.[r.type];if(o)return o({...r,children:a,context:i});let s=Qd(r);return s?`<${s}${mf(r.type,r.attrs)}>${a}</${s}>`:a}function ff(e,t){if(!e?.length)return``;let n=0;for(;n<e.length&&Jd(e[n]);)n++;let r=``;if(n>0){r+=`<thead>`;for(let i=0;i<n;i++)r+=of(e[i],t);r+=`</thead>`}if(n<e.length){r+=`<tbody>`;for(let i=n;i<e.length;i++)r+=of(e[i],t);r+=`</tbody>`}return r}function pf(e,t,n,r){let i=``;for(let a of t){let{tag:t,children:o,attrs:s}=a,c=mf(e,{...s,...n});if($d(t))i+=`<${t}${c}>`;else{let a=o?pf(e,o,n,r):r;i+=`<${t}${c}>${a}</${t}>`}}return i}function mf(e,t){let n=Hd(e,t,{colspan:`colspan`,rowspan:`rowspan`}),r=n.style,i={...n};return r&&(i.style=kd(r)),tf(i)}var hf=!1,gf,_f=[],vf=()=>typeof window>`u`?Promise.reject(Error(`Cannot load Storyblok bridge: window is undefined (server-side environment)`)):(window.storyblokRegisterEvent=e=>{if(!window.location.search.includes(`_storyblok`)){console.warn(`You are not in Draft Mode or in the Visual Editor.`);return}hf?e():_f.push(e)},hf?Promise.resolve():gf||(gf=A(async()=>{let{default:e}=await import(`./C_QkCeRc.js`);return{default:e}},[],import.meta.url).then(({default:e})=>
6{window.StoryblokBridge=e,_f.forEach(e=>e()),hf=!0}).catch(e=>{throw gf=void 0,e}),gf)),yf=(e={})=>{let{apiOptions:t}=e;if(!t||!t.accessToken){console.error(`You need to provide an access token to interact with Storyblok API. Read https://www.storyblok.com/docs/api/content-delivery#topics/authentication`);return}return{storyblokApi:new xd(t)}},bf=e=>{if(typeof e!=`object`||typeof e._editable!=`string`)return{};try{let t=JSON.parse(e._editable.replace(/^<!--#storyblok#/,``).replace(/-->$/,``));return t?{"data-blok-c":JSON.stringify(t),"data-blok-uid":`${t.id}-${t.uid}`}:{}}catch{return{}}};function xf(e){let{language:t,resolveRelations:n,...r}=e;return t&&console.warn("[Storyblok] The `language` bridge option is no longer supported by the bundled bridge. Language context is now passed automatically by the Visual Editor via the `_storyblok_lang` URL parameter."),{...r,...n!==void 0&&{resolveRelations:Array.isArray(n)?n:[n]}}}var Sf=(e,t,n={})=>{let r=!(typeof window>`u`)&&window.storyblokRegisterEvent!==void 0,i=new URL(window.location?.href).searchParams.get(`_storyblok`),a=i!==null&&+i===e;if(r&&a){if(!e){console.warn(`Story ID is not defined. Please provide a valid ID.`);return}window.storyblokRegisterEvent(()=>{new window.StoryblokBridge(xf(n)).on([`input`,`published`,`change`],n=>{n&&(n.action===`input`&&n.story?.id===e?t(n.story):(n.action===`change`||n.action===`published`)&&n.storyId===e&&window.location.reload())})})}},Cf=(e={})=>{let{bridge:t,accessToken:n,use:r=[],apiOptions:i={},bridgeUrl:a}=e;a&&console.warn("[Storyblok] The `bridgeUrl` option is deprecated and will be removed in a future major version. The Storyblok bridge is now bundled and is no longer loaded from a CDN URL."),i.accessToken=i.accessToken||n;let o={bridge:t,apiOptions:i},s={};r.forEach(e=>{s={...s,...e(o)}});let c=!(typeof window>`u`)&&window.location?.search?.includes(`_storyblok_tk`);return t!==!1&&c&&vf(),s},wf=xe({__name:`StoryblokComponent`,props:{blok:{}},setup(e,{expose:t}){let n=e,r=te(),i=Le();t({value:i});let a=typeof Ve(n.blok.component)!=`string`,o=w(`VueSDKOptions`),s=Le(n.blok.component?.replace(/_/g,`-`));return!a&&o&&(o.enableFallbackComponent?(s.value=o.customFallbackComponent??`FallbackComponent`,typeof Ve(s.value)==`string`&&console.error(`Is the Fallback component "${s.value}" registered properly?`)):console.error(`Component could not be found for blok "${n.blok.component}"! Is it defined in main.ts as "app.component("${n.blok.component}", ${n.blok.component});"?`)),(e,t)=>(we(),Ie(Ve(s.value),me({ref_key:`blokRef`,ref:i},{...e.$props,...e.$attrs}),ze({_:2},[ue(Object.keys(E(r)),t=>({name:t,fn:ke(n=>[Ue(e.$slots,t,pe(Ke(n)))])}))]),1040))}}),Tf=xe({name:`StoryblokBlokRenderer`,props:{type:{type:String,required:!0},attrs:{type:Object,required:!0},content:{type:Array,required:!1},marks:{type:Array,required:!1},_key:{type:String,required:!1},context:{type:Object,required:!1}},setup(e){return()=>Array.isArray(e.attrs.body)?e.attrs.body.map((e,t)=>v(wf,{blok:e,key:e._uid||t})):null}});function Ef(e,t){let n=t?.[e];return n?y(n):void 0}function Df(e){return function(t){if(!t)return null;let n=Xd(t,!0);return n.length?Of(n,e):null}}function Of(e,t){return qd(e).map((e,n)=>e.linkMark?kf(e.nodes,e.linkMark,t,e._key||n):Af(e.nodes[0],t,e._key||n))}function kf(e,t,n,r){let i=e.map((e,t)=>Ff(e,Kd(e),n,t)),a=Ef(t.type,n.components);if(a)return v(a,{key:r,...t,context:n},{default:()=>i});let o=Qd(t);if(!o)return i.length>0?i[0]:x(``);let s=`attrs`in t?t.attrs:{};return v(o,{key:r,...Hd(t.type,s)},i)}function Af(e,t,n){let r=nf(e)?Of(e.content,t):[],i=Ef(e.type,t.components);if(i){let a=t.components?.[e.type]?{...t,components:{...t.components,[e.type]:void 0}}:t;return v(i,{key:n,...e,context:a},r.length?{default:()=>r}:void 0)}if(e.type===`text`)return Pf(e,t,n);let a=Qd(e);if(!a){let r=nf(e)?Of(e.content,t):[];return r.length===0?x(``):r.length===1?r[0]:v(`div`,{key:n},r)}if(e.type===`image`&&t.optimizeImage)return jf(e,t,n);let o=`attrs`in e?e.attrs:{},s=Hd(e.type,o);if($d(a))return v(a,{key:n,...s});if(e.type===`table`)return Mf(e,t,n,a,s);let c=ef(e);if(c){let r=nf(e)?Of(e.content,t):[],i=Nf(e.type,c,o,r);return v(a,{key:n},i)}let l=nf(e)?Of(e.content,t):[];if(e.type===`emoji`){let t=e;return v(a,{key:n,...s},[x(t.attrs.emoji)])}return v(a,{key:n,...s},l)}function jf(e,t,n){let r=`attrs`in e?e.attrs:void 0,i=r?.src;if(!i)return x(``);let{src:a,attrs:o}=Sd(i,t.optimizeImage),s=Hd(`image`,{...r,src:a,...o});
6return v(`img`,{key:n,...s})}function Mf(e,t,n,r,i){let{headerRows:a,bodyRows:o}=Yd(e.content),s=[];return a.length>0&&s.push(v(`thead`,{key:`thead`},a.map((e,n)=>Af(e,t,e._key||n)))),o.length>0&&s.push(v(`tbody`,{key:`tbody`},o.map((e,n)=>Af(e,t,e._key||n)))),v(r,{key:n,...i},s)}function Nf(e,t,n,r){return t.map((t,i)=>{let{tag:a,children:o,attrs:s}=t,c=Hd(e,{...s,...n});if($d(a))return v(a,{key:i,...c});let l=o?Nf(e,o,n,r):r;return v(a,{key:i,...c},l)})}function Pf(e,t,n){return Ff(e,e.marks,t,n)}function Ff(e,t,n,r){let i=e.text;if(t?.length)for(let e of t)i=If(i,e,n);return typeof i==`string`?x(i):i}function If(e,t,n){let r=Ef(t.type,n.components);if(r){let i=typeof e==`string`?x(e):e;return v(r,{...t,context:n},{default:()=>[i]})}let i=Qd(t);if(!i)return typeof e==`string`?x(e):e;let a=`attrs`in t?t.attrs:{};return v(i,Hd(t.type,a),typeof e==`string`?e:[e])}var Lf=xe({name:`StoryblokRichText`,props:{document:{type:Object,required:!1},optimizeImage:{type:[Boolean,Object],required:!1},components:{type:Object,required:!1},data:{type:null,required:!1}},setup(e){let t=Df({optimizeImage:e.optimizeImage,components:{blok:Tf,...e.components},data:e.data});return()=>t(e.document)}}),Rf={beforeMount(e,t){if(t.value){let n=bf(t.value);Object.keys(n).length>0&&(e.setAttribute(`data-blok-c`,n[`data-blok-c`]),e.setAttribute(`data-blok-uid`,n[`data-blok-uid`]),e.classList.add(`storyblok__outline`))}}},zf=e=>{console.error(`You can't use ${e} if you're not loading apiPlugin. Please provide it on StoryblokVue initialization.
7    `)},Bf=null,Vf=()=>(Bf||zf(`useStoryblokApi`),Bf),Hf={install(e,t={}){e.directive(`editable`,Rf),e.component(`StoryblokComponent`,wf),e.component(`StoryblokRichText`,Lf),t.enableFallbackComponent&&!t.customFallbackComponent&&e.component(`FallbackComponent`,T(()=>A(()=>import(`./BTx4mPfD.js`),__vite__mapDeps([392,1]),import.meta.url)));let{storyblokApi:n}=Cf(t);Bf=n||null,e.provide(`VueSDKOptions`,t)}},Uf=p(({vueApp:e})=>{let{storyblok:t}=n().public;t.enableServerClient?e.use(Hf,{...t}):e.use(Hf,{...t,use:[yf]})});function Wf(e){return e?.defaultForDomains?.[0]||e?.domain||e?.domains?.[0]}function Gf(e,t){return Wf(e)||Wf(t)}var Kf=[`i18n:plugin`,`i18n:plugin:ssg-detect`,`i18n:plugin:route-locale-detect`];function qf(){return s().$nuxtSiteConfig}function Jf(e){let t=S(e.locales).find(t=>t.code===e.defaultLocale);return t?.language||t?.iso||e.defaultLocale}function Yf(e,t){let n=S(e.baseUrl)||void 0;if(!S(e.differentDomains))return n;let r=S(e.locales).find(t=>t.code===S(e.defaultLocale)),i=Gf(S(e.localeProperties),r);return i?rt(i,{strict:!0})?i:`${t}//${i}`:n}function Xf(e){let t=S(e.localeProperties);return t.language?t.language:Jf(e)}function Zf(e){return e.te(`nuxtSiteConfig.description`)?e.t(`nuxtSiteConfig.description`):void 0}function Qf(e){return e.te(`nuxtSiteConfig.name`)?e.t(`nuxtSiteConfig.name`):void 0}var $f=p({name:`nuxt-site-config:i18n`,dependsOn:Kf,setup(e){let t=e.$i18n;if(!t)return;let n=qf(),r=Cs().protocol,i=S(t.baseUrl);if(i){let e=n.get({resolveRefs:!0}),t=e.url;if(t&&!t.includes(`localhost`)){let n=$e(i,`https://`),r=$e(t,`https://`);n.host!==r.host&&e.env===`production`&&console.error(`[Nuxt Site Config] Your I18n baseUrl \`${n.host}\` doesn't match your site url ${r.host}. This will cause production SEO issues. Either provide a matching baseUrl or remove the site url config.`)}}let a=O(()=>Jf(t)),o=O(()=>Yf(t,r)),s=O(()=>Xf(t)),c=O(()=>Zf(t)),l=O(()=>Qf(t)),u;C(t.locale,()=>{u&&u(),u=n.push({_priority:Fo.build,_context:`@nuxtjs/i18n`,url:o,defaultLocale:a,currentLocale:s,description:c,name:l})},{immediate:!0})}}),ep=[`en`],tp={en:[]},np=[()=>A(()=>import(`./CwygG8R8.js`),[],import.meta.url)],rp=[{code:`en`,language:`en`,domains:[],defaultForDomains:[]}],ip=typeof window<`u`,ap=(e,t=!1)=>t?Symbol.for(e):Symbol(e),op=(e,t,n)=>sp({l:e,k:t,s:n}),sp=e=>JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),cp=e=>typeof e==`number`&&isFinite(e),lp=e=>Sp(e)===`[object Date]`,up=e=>Sp(e)===`[object RegExp]`,dp=e=>I(e)&&Object.keys(e).length===0,fp=Object.assign,pp=Object.create,M=(e=null)=>pp(e),mp,hp=()=>mp||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:M(),gp=Object.prototype.hasOwnProperty;function _p(e,t){return gp.call(e,t)}var vp=Array.isArray,N=e=>typeof e==`function`,P=e=>typeof e==`string`,yp=e=>typeof e==`boolean`,F=e=>typeof e==`object`&&!!e,bp=e=>F(e)&&N(e.then)&&N(e.catch),xp=Object.prototype.toString,Sp=e=>xp.call(e),I=e=>Sp(e)===`[object Object]`,Cp=e=>e==null?``:vp(e)||I(e)&&e.toString===xp?JSON.stringify(e,null,2):String(e);function wp(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}function Tp(e,t){typeof console<`u`&&(console.warn(`[intlify] `+e),t&&console.warn(t.stack))}function Ep(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`).replace(/\//g,`&#x2F;`).replace(/=/g,`&#x3D;`)}function Dp(e){return e.replace(/&(?![a-z0-9#]{2,6};)/gi,`&amp;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}var Op=/^javascript:/i,kp=/^(?:href|src|action|formaction)$/i,Ap=/&#(?:x([0-9a-f]+)|(\d+));?/gi,jp=/&(?:Tab|NewLine);/g,Mp=/&colon;?/gi,Np=/[\u0000-\u0020\u007f-\u009f]/g,Pp=/(?:^|[\s"'<>/])on\w+\s*=\s*["']?[^"'>]+["']?/i,Fp=/(^|[\s"'<>/])on(\w+\s*=)/gi,Ip=/(^|[\s"'<>/])((?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi;
7function Lp(e,t,n){let r=t||n;if(!r)return e;let i=Number.parseInt(r,t?16:10);return i<=127?String.fromCharCode(i):e}function Rp(e){let t=e.replace(Ap,Lp).replace(jp,``).replace(Mp,`:`).replace(Np,``);return Op.test(t)}function zp(e){let t=/url\s*\(/gi,n=``,r=0,i;for(;(i=t.exec(e))!==null;){let a=i.index,o=t.lastIndex-1,s=o+1,c=1,l=null;for(;s<e.length;s++){let t=e[s];if(l){t===l&&(l=null);continue}if(t===`"`||t===`'`)l=t;else if(t===`(`)c++;else if(t===`)`&&(c--,c===0))break}if(c!==0)break;let u=e.slice(o+1,s).trim(),d=u.startsWith(`"`)&&u.endsWith(`"`)||u.startsWith(`'`)&&u.endsWith(`'`)?u.slice(1,-1).trim():u;n+=e.slice(r,a),n+=Rp(d)?`url(about:blank)`:e.slice(a,s+1),r=s+1}return n+e.slice(r)}function Bp(e,t){return kp.test(e)&&Rp(t)?`about:blank`:Dp(e.toLowerCase()===`style`?zp(t):t)}function Vp(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${Bp(t,n)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${Bp(t,n)}'`),Pp.test(e)&&(e=e.replace(Fp,`$1&#111;n$2`)),e=e.replace(Ip,(e,t,n,r)=>Rp(r)?`${t}${n}about:blank`:e),e}var Hp=e=>!F(e)||vp(e);function Up(e,t){if(Hp(e)||Hp(t))throw Error(`Invalid value`);let n=[{src:e,des:t}];for(;n.length;){let{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{if(r===`__proto__`)return;let i=e[r];if(vp(i)){let e=[];e.length=i.length,t[r]=e,n.push({src:i,des:e})}else F(i)?((!F(t[r])||vp(t[r]))&&(t[r]=M()),n.push({src:i,des:t[r]})):t[r]=i})}}var Wp=new Map;function Gp(e){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(Gp);let t=M(null);for(let n of Object.keys(e))t[n]=Gp(e[n]);return t}var Kp=Ot((e,t,n)=>{if(t===`messages`||t===`datetimeFormats`||t===`numberFormats`)return e[t]??=M(null),Up(n,e[t]),!0});async function qp(e){let t=s(),n={messages:M(null)};for(let r of e){let e=await r().then(e=>Jp(e)?e.default:e),i=N(e)?await t.runWithContext(()=>e()):e;n=Kp(M(null),i,n)}return n.fallbackLocale??=!1,n}var Jp=e=>Sp(e)===`[object Module]`;async function Yp(e,t){let n=s();try{let r=await n.runWithContext(t.load).then(e=>Jp(e)?e.default:e);return N(r)?await n.runWithContext(()=>r(e)):r}catch(t){throw Error(`Failed loading locale (${e}): `+t.message,{cause:t})}}async function Xp(e,t=[]){let n=s(),r=await Promise.all(t.map(async t=>{let r=await n.runWithContext(()=>Yp(e,t));return t.cache!==!1&&Wp.set(t.key,{ttl:Date.now()+-1e3,value:r}),r})),i={};for(let e of r)Up(e,i);return i}function Zp(e){return t=>!e.dynamic.includes(t)&&!e.undeliverable.includes(t)}function Qp(e){return t=>!e.ssr||e.undeliverable.includes(t)||e.dynamic.includes(t)&&(e.prerender||e.ssg)}function $p(e=0){return t=>{let n=(typeof t==`string`?t:t.pathname).split(`?`)[0].split(`/`);return n[0]===``&&n.shift(),n.length>e&&n[e]||``}}var em=`___`,tm=`___default`;function nm(e){return typeof e==`string`?e:e==null?``:e.toString()}function rm(e){return nm(typeof e==`object`?e?.name:e).split(em)[0]}function im(e,t,n){return n?e+em+t+tm:e+em+t}var am=e=>e?tt:lt;function om(e,t,n){return n.routing&&(e!==t||n.strategy===`prefix`)}var sm=$p(0),cm=e=>sm(e),lm=e=>e.split(em).at(1)??``;function um(e){return String(typeof e==`object`?e?.name||e?.path||``:e)}function dm(e){let t=um(e);return t[0]===`/`?cm(t):lm(t)||(typeof e==`object`&&e?.path?cm(String(e.path)):``)}function fm(e,t){return!t.routing&&!t.domains?e=>nm(e):(t,n)=>{let r=nm(t),i=im(r,n,!0);return e(i)?i:im(r,n,!1)}}function pm(e,t){return t.routing?t.strategy===`prefix`?(t,n)=>{let r=`/`+n+(t.path===`/`?``:t.path),i=e.options.routes.find(e=>e.path===r);return i==null?t:e.resolve(fp({},t,i,{path:r}))}:t=>e.resolve(t):e=>e}var mm=(e=``)=>e.replace(/^https?:\/\//i,``).toLowerCase();function hm(e,t){return!!e?.domains.some(e=>mm(e)===t)}function gm(e,t,n){let r=e.find(e=>e.code===n);return!r?.domains.length||hm(r,t)?`here`:e.some(e=>hm(e,t))?`other-domain`:`off-host`}function _m(e,t,n){return gm(e,t,n)!==`other-domain`}var vm=e=>e?.defaultForDomains[0]||e?.domain||e?.domains[0];function ym(e,t,n){if(!_m(n,e,t))return vm(n.find(e=>e.code===t))}function bm(e,t,n){let r=e.filter(e=>hm(e,t));return(r.find(e=>e.code===n)||r.find(e=>e.defaultForDomains.some(e=>mm(e)===t))||r[0])?.code}function xm(e,t){let n=t.replace(/^\./,``).replace(/:\d+$/,``).toLowerCase();return e.every(e=>e.domains.concat(e.domain||[]).every(e=>{let t=mm(e).replace(/:\d+$/,``);return t===n||t.endsWith(`.`+n)}))}var Sm=(e,t)=>rt(e,{strict:!0})?e:t.protocol+`//`+e;function Cm(e,t,n,r=rp){let i=r.find(e=>e.code===n),a=e?.[n]?.domain||i?.domain||i?.domains.find(e=>mm(e)===t.host)||ym(t.host,n,r);if(a)return Sm(a,t)}function wm(e,t,n=rp){let r;for(let i of n){let n=Tm(i,e);for(let e of[n.domain,...n.domains])e&&mm(e)===t.host&&(!r||!rt(r,{strict:!0})&&rt(e,{strict:!0}))&&(r=e)}return r&&Sm(r,t)}function Tm(e,t){if(typeof e==`string`)return e;let n=e,r=t[n.code]?.domain;return!r||r===n.domain?e:{...n,domain:r,domains:[r],defaultForDomains:n.defaultForDomains.length?[r]:[]}}function Em(e){let t={};for(let n of ep){let r=Dm(e,[n]);t[n]={fallbacks:r,cacheable:km(n,r)}}return t}function Dm(e,t){if(e===!1)return[];if(vp(e))return e;let n=[];if(P(e))return t.every(t=>t!==e)&&n.push(e),n;let r=[...t,`default`];
7for(let t of r)t in e!=0&&(n=[...n,...e[t].filter(Boolean)]);return n}function Om(e){return tp[e]!=null&&tp[e].every(e=>e.cache!==!1)}function km(e,t){return Om(e)&&t.every(e=>Om(e))}function Am(e,t=rp){return t.find(t=>t.defaultForDomains.some(t=>mm(t)===e))?.code}function jm(e,t,n=rp){return Am(e,n)||t||(n.some(e=>e.domains.length)?n[0]?.code:``)||``}var Mm=e=>ep.includes(e||``),Nm=e=>Mm(e)?e:void 0,Pm=e=>!!e.path&&!e.name;function Fm(e){let{router:t,defaultLocale:n,strictSeo:r,compactRoutes:i}=e,a={strategy:e.strategy,routing:e.routing,domains:e.domains},o=am(e.trailingSlash),s=fm(e=>t.hasRoute(e),a);function c(e,n){e.name=rm(e.name||t.currentRoute.value);let r=s(e.name,n);if(t.hasRoute(r))e.name=r,i&&e.params&&delete e.params.locale;else if(i&&Mm(n)&&d().has(e.name))return e.params={...e.params||{},locale:n},e;return e.name=r,e}let l=pm(t,a),u;function d(){if(u)return u;if(u=new Set,i)for(let e of t.getRoutes())e.name!=null&&/^\/:locale\(/.test(e.path)&&u.add(String(e.name));return u}function f(e,r){let c=l(e,r),u=rm(c);if(u){let e=s(u,r);if(t.hasRoute(e)){c.name=e;let t=c;return i&&t.params&&delete t.params.locale,c}if(i&&d().has(u)){let e=c;return e.name=u,e.params={...e.params||{},locale:r},e}return c.name=e,c}return om(r,n,a)&&(c.path=`/`+r+c.path),c.path=o(c.path,!0),c}let p=()=>t.currentRoute.value.meta.nuxtI18nInternal??{},m=(e,t=p())=>r&&!!e&&Object.keys(t).length>0&&!t[e],h=a.strategy===`prefix_except_default`||a.strategy===`prefix_and_default`,g=(t,n,r)=>!!t&&jm(mm(t),e.configuredDefaultLocale,r)===n,_=e=>(t,n,r,i)=>{let a=e(n);return a?(h&&g(vm(r),n,i)&&cm(t)===n&&(t=t.slice(n.length+1)||`/`),Qe(a,t)):t},v=_(e.getBaseUrl),y=_(e.getCanonicalBaseUrl);return{router:t,getLocale:e.getLocale,getLocales:e.getLocales,getBaseUrl:e.getBaseUrl,getRouteBaseName:rm,getRouteLocalizedParams:p,getLocalizedDynamicParams:t=>{let n=e.getLocalePathPayload?.();return n?n[t]||{}:p()?.[t]},afterSwitchLocalePath:(t,n)=>{if(m(n))return``;if(!a.domains)return t;let r=e.getHost()??``,i=e.getLocales(),o=i.find(e=>e.code===n);return hm(o,r)||!t?t:v(t,n,o,i)},getAlternatePath:(t,n)=>{if(n!==e.getLocale()&&m(n))return``;if(!a.domains||!t)return t;let r=e.getLocales();return y(t,n,r.find(e=>e.code===n),r)},resolveLocalizedRouteObject:(e,t)=>Pm(e)?f(e,t):c(e,t)}}function Im(e){let t=e?._nuxtI18n?.composableCtx;if(!t)throw Error(`i18n context is not initialized. Ensure the i18n plugin is installed and the composable is used within a Vue component or setup function.`);return t}function Lm(e,t=s()){let n=Rm(t);return{...Fm({router:St(),defaultLocale:e.getDefaultLocale(),configuredDefaultLocale:e.config.defaultLocale||``,getLocale:e.getLocale,getLocales:e.getLocales,getBaseUrl:e.getBaseUrl,getCanonicalBaseUrl:e.getCanonicalBaseUrl,getHost:()=>Cs({xForwardedHost:!0}).host,getLocalePathPayload:()=>!1,strategy:`no_prefix`,routing:!1,domains:!1,trailingSlash:!1,strictSeo:!1,compactRoutes:!1}),strictSeo:!1,_head:void 0,get head(){return this._head??=zt({}),this._head},metaState:{htmlAttrs:{},meta:[],link:[]},seoSettings:{dir:!1,lang:!1,seo:typeof e.config.experimental.strictSeo==`object`&&e.config.experimental.strictSeo||!1},localePathPayload:n,routingOptions:{defaultLocale:e.config.defaultLocale||``,domains:!1,strictCanonicals:e.config.experimental.alternateLinkCanonicalQueries??!0,hreflangLinks:!1}}}function Rm(e=s()){let t=document.querySelector(`[data-nuxt-i18n-slp="${e._id}"]`)?.textContent;return JSON.parse(t||`{}`)}function zm(e){return e!=null&&`global`in e&&`mode`in e?e.global:e}function Bm(e){let t=zm(e);return`__composer`in t?t.__composer:t}function Vm(e,t){return e?e.$config.public.i18n:n(t).public.i18n}function Hm(e){let t=Vm(e).detectBrowserLanguage,n=t||{};return{...n,enabled:!!t,cookieKey:n.cookieKey||`i18n_redirected`}}function Um(e){if(e)return{path:`/`+(P(e)?e:e.path).replace(/^\//,``),code:!P(e)&&e.statusCode||302}}var Wm={"&":`&amp;`,'"':`&quot;`,"'":`&#39;`,"<":`&lt;`,">":`&gt;`};function Gm(e){return e.replace(/["'&<>]/g,e=>Wm[e])}var Km=()=>hs(`i18n:cached-locale-configs`,()=>void 0),qm=()=>hs(`i18n:resolved-locale`,()=>``);function Jm(e,t){let n=!N(t)&&$e(t).protocol;return n?{host:e.host,protocol:n}:e}function Ym(e){let{baseUrl:t,appBase:n,domains:r,getDomainForHost:i,getDomainFromLocale:a}=e,o=N(t)?t:()=>r&&i()||t||``;return e=>Qe(e&&a(e)||o(),n)}function Xm({cookieCrossOrigin:e,cookieDomain:t,cookieSecure:n,cookieKey:r}){let i=new Date;return lo(r||`i18n_redirected`,{path:`/`,readonly:!1,expires:new Date(i.setDate(i.getDate()+365)),sameSite:e?`none`:`lax`,domain:t||void 0,secure:e||n})}var Zm=Zp({dynamic:[],undeliverable:[]});function Qm(e,t,n,r=!1){let i=zm(t),a=Vm(e),o=Hm(e),s=Km(),c=Xm(o),l=new Set,u=e=>s.value[e],d,f=()=>d??=Jm(Cs({xForwardedHost:!0}),a.baseUrl),p=Ym({baseUrl:N(a.baseUrl)?()=>a.baseUrl(e):a.baseUrl,appBase:e.$config.app.baseURL,domains:!1,getDomainForHost:()=>wm(a.domainLocales,f()),getDomainFromLocale:e=>Cm(a.domainLocales,f(),e)}),m=p,h=qm(),g=Qp({ssr:!0,ssg:!0,prerender:!1,dynamic:[],undeliverable:[]}),_=t=>Zm(t)&&e.$config.app.cdnURL||``,v=async t=>{if(!(t in tp))return;let n=await e.runWithContext(()=>Xp(t,tp[t])),a=r?Gp(n):n;i.mergeLocaleMessage(t,a)},y=async e=>{if(!(e in tp))return;let t=e=>Object.keys(e).filter(e=>!b.usesRuntimeLoaders(e)),n=u(e)?.cacheable?{}:{"Cache-Control":`no-cache`},r=Qe(_(e),`/_i18n`,{en:`4148c607`}[e],e,`messages.json`),a=await $fetch(r,{headers:n});for(let e of t(a))i.mergeLocaleMessage(e,a[e])},b={vueI18n:t,initial:!0,preloaded:!1,config:a,rootRedirect:Um(a.rootRedirect),redirectStatusCode:a.redirectStatusCode??302,usesRuntimeLoaders:e=>g(e),getDefaultLocale:()=>n,getLocale:()=>E(i.locale),setLocale:async t=>{let n=b.getLocale();t!==n&&Mm(t)&&(Fe(i.locale)?i.locale.value=t:i.locale=t,await e.callHook(`i18n:localeSwitched`,{newLocale:t,oldLocale:n}),h.value=t)},setLocaleSuspend:async t=>{Mm(t)&&(b.vueI18n.__pendingLocale=t,b.vueI18n.__pendingLocalePromise=new Promise(e=>{b.vueI18n.__resolvePendingLocalePromise=async()=>{b.setCookieLocale(t),await b.setLocale(t),b.vueI18n.__pendingLocale=void 0,e()}}),(e.isHydrating||!b.config.skipSettingLocaleOnNavigate)&&await b.vueI18n.__resolvePendingLocalePromise?.())},getLocales:()=>E(i.locales).map(e=>P(e)?{code:e,domains:[],defaultForDomains:[]}:e),setCookieLocale:e=>{o.useCookie&&Mm(e)&&(c.value=e)},getBaseUrl:p,getCanonicalBaseUrl:m,loadMessages:async t=>{if(!(e.isHydrating&&l.has(t)))try{let e=u(t)?.fallbacks??[],n=e.includes(t)?e:[...e,t];if(!n.some(e=>b.usesRuntimeLoaders(e)))return await y(t);for(let e of n)try{await(b.usesRuntimeLoaders(e)?v(e):y(e))}catch(t){console.warn(`Failed to load messages for locale "${e}"`,t)}}catch(e){console.warn(`Failed to load messages for locale "${t}"`,e)}finally{l.add(t)}},composableCtx:void 0};return b.composableCtx=Lm(b,e),b}
7function $m(e){if(e._nuxtI18n==null)throw Error(`Nuxt I18n context has not been set up yet.`);return e._nuxtI18n}function eh(e,t,n=e.getLocale()){if(P(t)&&rt(t,{acceptRelative:!0}))return t;try{return rh(e,t,n).fullPath}catch{return``}}function th(e,t,n=e.getLocale()){try{return rh(e,t,n)}catch{return}}function nh(e){if(!P(e))return fp({},e);if(e[0]===`/`){let{pathname:t,search:n,hash:r}=it(e);return{path:t,query:st(n),hash:r}}return{name:e}}function rh(e,t,n){let r=nh(t),i=e.resolveLocalizedRouteObject(r,n);i.name&&(i.path=void 0);let a=e.router.resolve(i);return a.name?a:e.router.resolve(t)}function ih(e,t,n=e.router.currentRoute.value){let r=e.getRouteBaseName(n);if(!r)return``;let i=eh(e,{name:r,params:fp({},n.params,e.getLocalizedDynamicParams(t)),fullPath:n.fullPath,query:n.query,hash:n.hash,meta:n.meta},t);return e.afterSwitchLocalePath(i,t)}function ah(e,t){let n=[];for(let[r,i]of t.entries()){let a=e.find(e=>e.language?.toLowerCase()===i.toLowerCase());if(a){n.push({code:a.code,score:1-r/t.length});break}}for(let[r,i]of t.entries()){let a=i.split(`-`)[0].toLowerCase(),o=e.find(e=>e.language?.split(`-`)[0].toLowerCase()===a);if(o){n.push({code:o.code,score:.999-r/t.length});break}}return n}function oh(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function sh(e,t){return ah(e.map(e=>({code:e.code,language:e.language||e.code})),t).sort(oh).at(0)?.code??``}var ch=(e,t)=>lo(t).value||void 0,lh=(e,t)=>dm(t),uh=e=>sh(rp,navigator.languages),dh=e=>new URL(window.location.href).host,fh=e=>{let t=document.referrer;try{return t&&new URL(t).host||void 0}catch{return}},ph=e=>rp.map(t=>Tm(t,e)),mh=(e,t,n)=>{let r=Vm(n),i,a,o=()=>i??=dh(e),s=()=>a??=ph(r.domainLocales);return{cookie:()=>ch(e,t.cookieKey),header:()=>void 0,navigator:()=>uh(e),host:e=>bm(s(),o(),cm(e)),route:t=>lh(e,t),onHost:e=>!e||_m(s(),o(),e)?e:void 0,fromOwnDomain:()=>{let t=fh(e);return!!t&&s().some(e=>hm(e,t))},cookieSpans:()=>!!t.cookieDomain&&xm(s(),t.cookieDomain)}};function hh(e){let{detection:t,routing:n,domains:r}=e,i=e.isSupportedLocale??Mm;function a(e,r){return n?!!(t.redirectOn===`root`&&e!==`/`||t.redirectOn===`no prefix`&&!t.alwaysRedirect&&i(r)):!1}return function(e,o,s){let c=P(o)?it(o).pathname:o.path,l=e=>e,u=r?e.onHost:l;function*d(){let i=s&&t.enabled&&!a(c,e.route(c));if(i){let t=r&&!e.fromOwnDomain(),n=t&&e.cookieSpans()?l:u,i=t?l:u;yield n(e.cookie()),yield i(e.header()),yield i(e.navigator())}r&&(yield e.host(c)),n&&(yield e.route(o)),i&&(yield u(t.fallbackLocale))}for(let e of d())if(e&&i(e))return e;return``}}async function gh(e,t){let n=$m(e),r=n.getLocale();if(t===r&&!n.initial&&(!n.vueI18n.__pendingLocale||n.vueI18n.__pendingLocale===t))return t;let i={oldLocale:r,newLocale:t,initialSetup:n.initial,context:e},a=await e.callHook(`i18n:beforeLocaleSwitch`,i);return a??=i.newLocale,Mm(a)&&(t=a),await n.loadMessages(t),await n.setLocaleSuspend(t),t}function _h(e,t){let n=Hm(e),r=mh(Fn(e),n,e),i=$m(e);return hh({detection:n,routing:!1,domains:!1})(r,t,i.initial)||i.getLocale()||i.getDefaultLocale()||``}var vh=p({name:`i18n:plugin:route-locale-detect`,dependsOn:[`i18n:plugin`],async setup(e){let t,n,r=s(e._id),i=$m(r),a=qm();[t,n]=l(()=>r.runWithContext(()=>gh(r,i.initial&&a.value||_h(r,r.$router.currentRoute.value)))),await t,n()}},1);function yh(e,t,n){return{line:e,column:t,offset:n}}function bh(e,t,n){let r={start:e,end:t};return n!=null&&(r.source=n),r}var L={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};L.EXPECTED_TOKEN,L.INVALID_TOKEN_IN_PLACEHOLDER,L.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,L.UNKNOWN_ESCAPE_SEQUENCE,L.INVALID_UNICODE_ESCAPE_SEQUENCE,L.UNBALANCED_CLOSING_BRACE,L.UNTERMINATED_CLOSING_BRACE,L.EMPTY_PLACEHOLDER,L.NOT_ALLOW_NEST_PLACEHOLDER,L.INVALID_LINKED_FORMAT,L.MUST_HAVE_MESSAGES_IN_PLURAL,L.UNEXPECTED_EMPTY_LINKED_MODIFIER,L.UNEXPECTED_EMPTY_LINKED_KEY,L.UNEXPECTED_LEXICAL_ANALYSIS,L.UNHANDLED_CODEGEN_NODE_TYPE,L.UNHANDLED_MINIFIER_NODE_TYPE;function xh(e,t,n={}){let{domain:r,messages:i,args:a}=n,o=SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=r,o}function Sh(e){throw e}var Ch=` `,wh=`\r`,Th=`
8`,Eh=`\u2028`,Dh=`\u2029`;function Oh(e){let t=e,n=0,r=1,i=1,a=0,o=e=>t[e]===wh&&t[e+1]===Th,s=e=>t[e]===Th,c=e=>t[e]===Dh,l=e=>t[e]===Eh,u=e=>o(e)||s(e)||c(e)||l(e),d=()=>n,f=()=>r,p=()=>i,m=()=>a,h=e=>o(e)||c(e)||l(e)?Th:t[e],g=()=>h(n),_=()=>h(n+a);function v(){return a=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function y(){return o(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,i=1,a=0}function x(e=0){a=e}function S(){let e=n+a;for(;e!==n;)v();a=0}return{index:d,line:f,column:p,peekOffset:m,charAt:h,currentChar:g,currentPeek:_,next:v,peek:y,reset:b,resetPeek:x,skipToPeek:S}}var kh=void 0,Ah=`'`,jh=`tokenizer`;function Mh(e,t={}){let n=t.location!==!1,r=Oh(e),i=()=>r.index(),a=()=>yh(r.line(),r.column(),r.index()),o=a(),s=i(),c={currentType:13,offset:s,startLoc:o,endLoc:o,lastType:13,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:``},l=()=>c,{onError:u}=t;function d(e,t,r,...i){let a=l();if(t.column+=r,t.offset+=r,u){let r=xh(e,n?bh(a.startLoc,t):null,{domain:jh,args:i});u(r)}}function f(e,t,r){e.endLoc=a(),e.currentType=t;let i={type:t};return n&&(i.loc=bh(e.startLoc,e.endLoc)),r!=null&&(i.value=r),i}let p=e=>f(e,13);function m(e,t){return e.currentChar()===t?(e.next(),t):(d(L.EXPECTED_TOKEN,a(),0,t),``)}function h(e){let t=``;for(;e.currentPeek()===Ch||e.currentPeek()===Th;)t+=e.currentPeek(),e.peek();return t}function g(e){let t=h(e);return e.skipToPeek(),t}function _(e){if(e===kh)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t===95}function v(e){if(e===kh)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}function y(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function b(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=v(e.currentPeek()===`-`?e.peek():e.currentPeek());return e.resetPeek(),r}function x(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=e.currentPeek()===Ah;return e.resetPeek(),r}function S(e,t){let{currentType:n}=t;if(n!==7)return!1;h(e);let r=e.currentPeek()===`.`;return e.resetPeek(),r}function C(e,t){let{currentType:n}=t;if(n!==8)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function w(e,t){let{currentType:n}=t;if(n!==7&&n!==11)return!1;h(e);let r=e.currentPeek()===`:`;return e.resetPeek(),r}function ee(e,t){let{currentType:n}=t;if(n!==9)return!1;let r=()=>{let t=e.currentPeek();
8return t===`{`?_(e.peek()):t===`@`||t===`|`||t===`:`||t===`.`||t===Ch||!t?!1:t===Th?(e.peek(),r()):T(e,!1)},i=r();return e.resetPeek(),i}function te(e){h(e);let t=e.currentPeek()===`|`;return e.resetPeek(),t}function T(e,t=!0){let n=(t=!1,r=``)=>{let i=e.currentPeek();return i===`{`||i===`@`||!i?t:i===`|`?r!==Ch&&r!==Th:i===Ch?(e.peek(),n(!0,Ch)):i!==Th||(e.peek(),n(!0,Th))},r=n();return t&&e.resetPeek(),r}function E(e,t){let n=e.currentChar();if(n!==kh)return t(n)?(e.next(),n):null}function ne(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36}function re(e){return E(e,ne)}function ie(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36||t===45}function ae(e){return E(e,ie)}function oe(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function se(e){return E(e,oe)}function ce(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function le(e){return E(e,ce)}function D(e){let t=``,n=``;for(;t=se(e);)n+=t;return n}function ue(e){let t=``;for(;;){let n=e.currentChar();if(n===`\\`){let r=e.peek();r===`{`||r===`}`||r===`@`||r===`|`||r===`\\`?(t+=n+r,e.next(),e.next()):(e.resetPeek(),t+=n,e.next())}else if(n===`{`||n===`}`||n===`@`||n===`|`||!n)break;else if(n===Ch||n===Th){if(T(e))t+=n,e.next();else if(te(e))break;else t+=n,e.next()}else t+=n,e.next()}return t}function de(e){g(e);let t=``,n=``;for(;t=ae(e);)n+=t;let r=e.currentChar();if(r&&r!==`}`&&r!==kh&&r!==Ch&&r!==Th&&r!==` `){let t=_e(e);return d(L.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n+t),n+t}
vendor: 4,331 bytes, line 8
8return e.currentChar()===kh&&d(L.UNTERMINATED_CLOSING_BRACE,a(),0),n}function fe(e){g(e);let t=``;return e.currentChar()===`-`?(e.next(),t+=`-${D(e)}`):t+=D(e),e.currentChar()===kh&&d(L.UNTERMINATED_CLOSING_BRACE,a(),0),t}function pe(e){return e!==Ah&&e!==Th}function me(e){g(e),m(e,`'`);let t=``,n=``;for(;t=E(e,pe);)n+=t===`\\`?he(e):t;let r=e.currentChar();return r===Th||r===kh?(d(L.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),r===Th&&(e.next(),m(e,`'`)),n):(m(e,`'`),n)}function he(e){let t=e.currentChar();switch(t){case`\\`:case`'`:return e.next(),`\\${t}`;case`u`:return O(e,t,4);case`U`:return O(e,t,6);default:return d(L.UNKNOWN_ESCAPE_SEQUENCE,a(),0,t),``}}function O(e,t,n){m(e,t);let r=``;for(let i=0;i<n;i++){let n=le(e);if(!n){d(L.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function ge(e){return e!==`{`&&e!==`}`&&e!==Ch&&e!==Th}function _e(e){g(e);let t=``,n=``;for(;t=E(e,ge);)n+=t;return n}function ve(e){let t=``,n=``;for(;t=re(e);)n+=t;return n}function ye(e){let t=n=>{let r=e.currentChar();return r===`{`||r===`@`||r===`|`||r===`(`||r===`)`||!r||r===Ch?n:(n+=r,e.next(),t(n))};return t(``)}function be(e){g(e);let t=m(e,`|`);return g(e),t}function xe(e,t){let n=null;switch(e.currentChar()){case`{`:return t.braceNest>=1&&d(L.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),e.next(),n=f(t,2,`{`),g(e),t.braceNest++,n;case`}`:return t.braceNest>0&&t.currentType===2&&d(L.EMPTY_PLACEHOLDER,a(),0),e.next(),n=f(t,3,`}`),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&t.braceNest===0&&(t.inLinked=!1),n;case`@`:return t.braceNest>0&&d(L.UNTERMINATED_CLOSING_BRACE,a(),0),n=Se(e,t)||p(t),t.braceNest=0,n;default:{let r=!0,i=!0,o=!0;if(te(e))return t.braceNest>0&&d(L.UNTERMINATED_CLOSING_BRACE,a(),0),n=f(t,1,be(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(t.currentType===4||t.currentType===5||t.currentType===6))return d(L.UNTERMINATED_CLOSING_BRACE,a(),0),t.braceNest=0,Ce(e,t);if(r=y(e,t))return n=f(t,4,de(e)),g(e),n;if(i=b(e,t))return n=f(t,5,fe(e)),g(e),n;if(o=x(e,t))return n=f(t,6,me(e)),g(e),n;if(!r&&!i&&!o)return n=f(t,12,_e(e)),d(L.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),g(e),n;break}}return n}function Se(e,t){let{currentType:n}=t,r=null,i=e.currentChar();switch((n===7||n===8||n===11||n===9)&&(i===Th||i===Ch)&&d(L.INVALID_LINKED_FORMAT,a(),0),i){case`@`:return e.next(),r=f(t,7,`@`),t.inLinked=!0,r;case`.`:return g(e),e.next(),f(t,8,`.`);case`:`:return g(e),e.next(),f(t,9,`:`);default:return te(e)?(r=f(t,1,be(e)),t.braceNest=0,t.inLinked=!1,r):S(e,t)||w(e,t)?(g(e),Se(e,t)):C(e,t)?(g(e),f(t,11,ve(e))):ee(e,t)?(g(e),i===`{`?xe(e,t)||r:f(t,10,ye(e))):(n===7&&d(L.INVALID_LINKED_FORMAT,a(),0),t.braceNest=0,t.inLinked=!1,Ce(e,t))}}function Ce(e,t){let n={type:13};if(t.braceNest>0)return xe(e,t)||p(t);if(t.inLinked)return Se(e,t)||p(t);switch(e.currentChar()){case`{`:return xe(e,t)||p(t);case`}`:return d(L.UNBALANCED_CLOSING_BRACE,a(),0),e.next(),f(t,3,`}`);case`@`:return Se(e,t)||p(t);default:if(te(e))return n=f(t,1,be(e)),t.braceNest=0,t.inLinked=!1,n;if(T(e))return f(t,0,ue(e))}return n}function we(){let{currentType:e,offset:t,startLoc:n,endLoc:o}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=o,c.offset=i(),c.startLoc=a(),r.currentChar()===kh?f(c,13):Ce(r,c)}return{nextToken:we,currentOffset:i,currentPosition:a,context:l}}var Nh=`parser`,Ph=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,Fh=/\\([\\@{}|])/g;function Ih(e,t){return t}function Lh(e,t,n){switch(e){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):`�`}}}function Rh(e={}){let t=e.location!==!1,{onError:n}=e;function r(e,r,i,a,...o){let s=e.currentPosition();if(s.offset+=a,s.column+=a,n){let e=xh(r,t?bh(i,s):null,{domain:Nh,args:o});n(e)}}function i(e,n,r){let i={type:e};return t&&(i.start=n,i.end=n,i.loc={start:r,end:r}),i}function a(e,n,r,i){t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){let n=e.context(),r=i(3,n.offset,n.startLoc);return r.value=t.replace(Fh,Ih),a(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(5,n,r);return o.index=parseInt(t,10),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function c(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(4,n,r);
vendor: 14,303 bytes, lines 8-9
8return o.key=t,e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function l(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(9,n,r);return o.value=t.replace(Ph,Lh),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function u(e){let t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:s}=n,c=i(8,o,s);return t.type===11?(t.value??r(e,L.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,zh(t)),c.value=t.value||``,a(c,e.currentOffset(),e.currentPosition()),{node:c}):(r(e,L.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),c.value=``,a(c,o,s),{nextConsumeToken:t,node:c})}function d(e,t){let n=e.context(),r=i(7,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function f(e){let t=e.context(),n=i(6,t.offset,t.startLoc),o=e.nextToken();if(o.type===8){let t=u(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(o.type!==9&&r(e,L.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,zh(o)),o=e.nextToken(),o.type===2&&(o=e.nextToken()),o.type){case 10:o.value??r(e,L.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,zh(o)),n.key=d(e,o.value||``);break;case 4:o.value??r(e,L.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,zh(o)),n.key=c(e,o.value||``);break;case 5:o.value??r(e,L.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,zh(o)),n.key=s(e,o.value||``);break;case 6:o.value??r(e,L.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,zh(o)),n.key=l(e,o.value||``);break;default:{r(e,L.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);let s=e.context(),c=i(7,s.offset,s.startLoc);return c.value=``,a(c,s.offset,s.startLoc),n.key=c,a(n,s.offset,s.startLoc),{nextConsumeToken:o,node:n}}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function p(e){let t=e.context(),n=i(2,t.currentType===1?e.currentOffset():t.offset,t.currentType===1?t.endLoc:t.startLoc);n.items=[];let u=null;do{let i=u||e.nextToken();switch(u=null,i.type){case 0:i.value??r(e,L.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,zh(i)),n.items.push(o(e,i.value||``));break;case 5:i.value??r(e,L.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,zh(i)),n.items.push(s(e,i.value||``));break;case 4:i.value??r(e,L.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,zh(i)),n.items.push(c(e,i.value||``));break;case 6:i.value??r(e,L.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,zh(i)),n.items.push(l(e,i.value||``));break;case 7:{let t=f(e);n.items.push(t.node),u=t.nextConsumeToken||null;break}}}while(t.currentType!==13&&t.currentType!==1);return a(n,t.currentType===1?t.lastOffset:e.currentOffset(),t.currentType===1?t.lastEndLoc:e.currentPosition()),n}function m(e,t,n,o){let s=e.context(),c=o.items.length===0,l=i(1,t,n);l.cases=[],l.cases.push(o);do{let t=p(e);c||=t.items.length===0,l.cases.push(t)}while(s.currentType!==13);return c&&r(e,L.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),a(l,e.currentOffset(),e.currentPosition()),l}function h(e){let t=e.context(),{offset:n,startLoc:r}=t,i=p(e);return t.currentType===13?i:m(e,n,r,i)}function g(n){let o=Mh(n,fp({},e)),s=o.context(),c=i(0,s.offset,s.startLoc);return t&&c.loc&&(c.loc.source=n),c.body=h(o),e.onCacheKey&&(c.cacheKey=e.onCacheKey(n)),s.currentType!==13&&r(o,L.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||``),a(c,o.currentOffset(),o.currentPosition()),c}return{parse:g}}function zh(e){if(e.type===13)return`EOF`;let t=(e.value||``).replace(/\r?\n/gu,`\\n`);return t.length>10?t.slice(0,9)+`…`:t}function Bh(e,t={}){let n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}function Vh(e,t){for(let n=0;n<e.length;n++)Hh(e[n],t)}function Hh(e,t){switch(e.type){case 1:Vh(e.cases,t),t.helper(`plural`);break;case 2:Vh(e.items,t);break;case 6:Hh(e.key,t),t.helper(`linked`),t.helper(`type`);break;case 5:t.helper(`interpolate`),t.helper(`list`);break;case 4:t.helper(`interpolate`),t.helper(`named`)}}function Uh(e,t={}){let n=Bh(e);n.helper(`normalize`),e.body&&Hh(e.body,n);let r=n.context();e.helpers=Array.from(r.helpers)}function Wh(e){let t=e.body;return t.type===2?Gh(t):t.cases.forEach(e=>Gh(e)),e}function Gh(e){if(e.items.length===1){let t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{let t=[];for(let n=0;n<e.items.length;n++){let r=e.items[n];if(r.type!==3&&r.type!==9||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=wp(t);for(let t=0;t<e.items.length;t++){let n=e.items[t];(n.type===3||n.type===9)&&delete n.value}}}}function Kh(e){switch(e.t=e.type,e.type){case 0:{let t=e;Kh(t.body),t.b=t.body,delete t.body;break}case 1:{let t=e,n=t.cases;for(let e=0;e<n.length;e++)Kh(n[e]);t.c=n,delete t.cases;break}case 2:{let t=e,n=t.items;for(let e=0;e<n.length;e++)Kh(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{let t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{let t=e;Kh(t.key),t.k=t.key,delete t.key,t.modifier&&(Kh(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{let t=e;t.i=t.index,delete t.index;break}case 4:{let t=e;t.k=t.key,delete t.key;break}}delete e.type}function qh(e,t){let{filename:n,breakLineCode:r,needIndent:i}=t,a=t.location!==!1,o={filename:n,code:``,column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};a&&e.loc&&(o.source=e.loc.source);let s=()=>o;function c(e,t){o.code+=e}function l(e,t=!0){let n=t?r:``;c(i?n+`  `.repeat(e):n)}function u(e=!0){let t=++o.indentLevel;e&&l(t)}function d(e=!0){let t=--o.indentLevel;e&&l(t)}function f(){l(o.indentLevel)}return{context:s,push:c,indent:u,deindent:d,newline:f,helper:e=>`_${e}`,needIndent:()=>o.needIndent}}function Jh(e,t){let{helper:n}=e;e.push(`${n(`linked`)}(`),Qh(e,t.key),t.modifier?(e.push(`, `),Qh(e,t.modifier),e.push(`, _type`)):e.push(`, undefined, _type`),e.push(`)`)}function Yh(e,t){let{helper:n,needIndent:r}=e;e.push(`${n(`normalize`)}([`),e.indent(r());let i=t.items.length;for(let n=0;n<i&&(Qh(e,t.items[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}function Xh(e,t){let{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n(`plural`)}([`),e.indent(r());let i=t.cases.length;for(let n=0;n<i&&(Qh(e,t.cases[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}}function Zh(e,t){t.body?Qh(e,t.body):e.push(`null`)}function Qh(e,t){let{helper:n}=e;switch(t.type){case 0:Zh(e,t);break;case 1:Xh(e,t);break;case 2:Yh(e,t);break;case 6:Jh(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n(`interpolate`)}(${n(`list`)}(${t.index}))`,t);break;case 4:e.push(`${n(`interpolate`)}(${n(`named`)}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t)}}var $h=(e,t={})=>{let n=P(t.mode)?t.mode:`normal`,r=P(t.filename)?t.filename:`message.intl`;t.sourceMap;let i=t.breakLineCode==null?n===`arrow`?`;`:`
9`:t.breakLineCode,a=t.needIndent?t.needIndent:n!==`arrow`,o=e.helpers||[],s=qh(e,{filename:r,breakLineCode:i,needIndent:a});s.push(n===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),s.indent(a),o.length>0&&(s.push(`const { ${wp(o.map(e=>`${e}: _${e}`),`, `)} } = ctx`),s.newline()),s.push(`return `),Qh(s,e),s.deindent(a),s.push(`}`),delete e.helpers;let{code:c,map:l}=s.context();return{ast:e,code:c,map:l?l.toJSON():void 0}};function eg(e,t={}){let n=fp({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null||n.optimize,o=Rh(n).parse(e);return r?(a&&Wh(o),i&&Kh(o),{ast:o,code:``}):(Uh(o,n),$h(o,n))}function tg(e){return F(e)&&dg(e)===0&&(_p(e,`b`)||_p(e,`body`))}var ng=[`b`,`body`];function rg(e){return vg(e,ng)}var ig=[`c`,`cases`];function ag(e){return vg(e,ig,[])}var og=[`s`,`static`];function sg(e){return vg(e,og)}var cg=[`i`,`items`];function lg(e){return vg(e,cg,[])}var ug=[`t`,`type`];function dg(e){return vg(e,ug)}var fg=[`v`,`value`];function pg(e,t){let n=vg(e,fg);if(n!=null)return n;throw bg(t)}var mg=[`m`,`modifier`];function hg(e){return vg(e,mg)}var gg=[`k`,`key`];function _g(e){let t=vg(e,gg);if(t)return t;throw bg(6)}function vg(e,t,n){for(let n=0;n<t.length;n++){let r=t[n];if(_p(e,r)&&e[r]!=null)return e[r]}return n}var yg=[...ng,...ig,...og,...cg,...gg,...mg,...fg,...ug];function bg(e){return Error(`unhandled node type: ${e}`)}function xg(e){return t=>Sg(t,e)}function Sg(e,t){let n=rg(t);if(n==null)throw bg(0);if(dg(n)===1){let t=ag(n);return e.plural(t.reduce((t,n)=>[...t,Cg(e,n)],[]))}return Cg(e,n)}function Cg(e,t){let n=sg(t);if(n!=null)return e.type===`text`?n:e.normalize([n]);{let n=lg(t).reduce((t,n)=>[...t,wg(e,n)],[]);return e.normalize(n)}}function wg(e,t){let n=dg(t);switch(n){case 3:return pg(t,n);case 9:return pg(t,n);case 4:{let r=t;if(_p(r,`k`)&&r.k)return e.interpolate(e.named(r.k));if(_p(r,`key`)&&r.key)return e.interpolate(e.named(r.key));throw bg(n)}case 5:{let r=t;if(_p(r,`i`)&&cp(r.i))return e.interpolate(e.list(r.i));if(_p(r,`index`)&&cp(r.index))return e.interpolate(e.list(r.index));throw bg(n)}case 6:{let n=t,r=hg(n),i=_g(n);return e.linked(wg(e,i),r?wg(e,r):void 0,e.type)}case 7:return pg(t,n);case 8:return pg(t,n);default:throw Error(`unhandled node on format message part: ${n}`)}}var Tg=e=>e,Eg=M();function Dg(e,t={}){let n=!1,r=t.onError||Sh;return t.onError=e=>{n=!0,r(e)},{...eg(e,t),detectError:n}}function Og(e,t){if(P(e)){yp(t.warnHtmlMessage)&&t.warnHtmlMessage;let n=(t.onCacheKey||Tg)(e),r=Eg[n];if(r)return r;let{ast:i,detectError:a}=Dg(e,{...t,location:!1,jit:!0}),o=xg(i);return a?o:Eg[n]=o}{let t=e.cacheKey;return t?Eg[t]||(Eg[t]=xg(e)):xg(e)}}var kg={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Ag(e){return xh(e,null,void 0)}kg.INVALID_ARGUMENT,kg.INVALID_DATE_ARGUMENT,kg.INVALID_ISO_DATE_ARGUMENT,kg.NOT_SUPPORT_NON_STRING_MESSAGE,kg.NOT_SUPPORT_LOCALE_PROMISE_VALUE,kg.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,kg.NOT_SUPPORT_LOCALE_TYPE;function jg(e,t){return t.locale==null?Ng(e.locale):Ng(t.locale)}var Mg;function Ng(e){if(P(e))return e;if(N(e)){if(e.resolvedOnce&&Mg!=null)return Mg;if(e.constructor.name===`Function`){let t=e();if(bp(t))throw Ag(kg.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Mg=t}throw Ag(kg.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Ag(kg.NOT_SUPPORT_LOCALE_TYPE)}function Pg(e,t,n){return[...new Set([n,...vp(t)?t:F(t)?Object.keys(t).filter(e=>e!=="default"):P(t)?[t]:[n]])]}function Fg(e,t,n){let r=P(n)?n:Zg,i=e;i.__localeChainCache||=new Map;let a=sp(t),o=i.__localeChainCache.get(r);o||(o=new Map,i.__localeChainCache.set(r,o));let s=o.get(a);if(s)return s;let c=[],l=[n];for(;vp(l);)l=Ig(c,l,t);let u=vp(t)||!I(t)?t:t.default?t.default:null;return l=P(u)?[u]:u,vp(l)&&Ig(c,l,!1),o.set(a,c),c}function Ig(e,t,n){let r=!0;for(let i=0;i<t.length&&yp(r);i++){let a=t[i];P(a)&&(r=Lg(e,t[i],n))}return r}function Lg(e,t,n){let r,i=t.split(`-`);do r=Rg(e,i.join(`-`),n),i.splice(-1,1);while(i.length&&r===!0);return r}function Rg(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!==`!`;let i=t.replace(/!/g,``);e.push(i),(vp(n)||I(n))&&n[i]&&(r=n[i])}return r}var zg=[];zg[0]={w:[0],i:[3,0],"[":[4],o:[7]},zg[1]={w:[1],".":[2],"[":[4],o:[7]},zg[2]={w:[2],i:[3,0],0:[3,0]},zg[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},zg[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},zg[5]={"'":[4,0],o:8,l:[5,0]},zg[6]={'"':[4,0],o:8,l:[6,0]};var Bg=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Vg(e){return Bg.test(e)}function Hg(e){let t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function Ug(e){if(e==null)return`o`;switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return`i`;case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return`w`}return`i`}function Wg(e){let t=e.trim();return e.charAt(0)===`0`&&isNaN(parseInt(e))?!1:Vg(t)?Hg(t):`*`+t}function Gg(e){let t=[],n=-1,r=0,i=0,a,o,s,c,l,u,d,f=[];f[0]=()=>{o===void 0?o=s:o+=s},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>{if(i>0)i--,r=4,f[0]();else{if(i=0,o===void 0||(o=Wg(o),o===!1))return!1;f[1]()}};function p(){let t=e[n+1];if(r===5&&t===`'`||r===6&&t===`"`)return n++,s=`\\`+t,f[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a===`\\`&&p())){if(c=Ug(a),d=zg[r],l=d[c]||d.l||8,l===8||(r=l[0],l[1]!==void 0&&(u=f[l[1]],u&&(s=a,u()===!1))))return;if(r===7)return t}}var Kg=new Map;function qg(e,t){return F(e)?e[t]:null}function Jg(e,t){if(!F(e))return null;let n=Kg.get(t);if(n||(n=Gg(t),n&&Kg.set(t,n)),!n)return null;let r=n.length,i=e,a=0;for(;a<r;){let e=n[a];if(yg.includes(e)&&tg(i)||!F(i)||!_p(i,e))return null;let t=i[e];if(t===void 0||N(i))return null;i=t,a++}return i}var Yg={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,INVALID_NUMBER_ARGUMENT:8,INVALID_DATE_ARGUMENT:9};Yg.NOT_FOUND_KEY,Yg.FALLBACK_TO_TRANSLATE,Yg.CANNOT_FORMAT_NUMBER,Yg.FALLBACK_TO_NUMBER_FORMAT,Yg.CANNOT_FORMAT_DATE,Yg.FALLBACK_TO_DATE_FORMAT,Yg.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER,Yg.INVALID_NUMBER_ARGUMENT,Yg.INVALID_DATE_ARGUMENT;var Xg=`11.4.10`,Zg=`en-US`,Qg=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function $g(){return{upper:(e,t)=>t===`text`&&P(e)?e.toUpperCase():t===`vnode`&&F(e)&&`__v_isVNode`in e?e.children.toUpperCase():e,lower:(e,t)=>t===`text`&&P(e)?e.toLowerCase():t===`vnode`&&F(e)&&`__v_isVNode`in e?e.children.toLowerCase():e,capitalize:(e,t)=>t===`text`&&P(e)?Qg(e):t===`vnode`&&F(e)&&`__v_isVNode`in e?Qg(e.children):e}}var e_;function t_(e){e_=e}var n_;function r_(e){n_=e}var i_;function a_(e){i_=e}var o_=null,s_=e=>{o_=e},c_=()=>o_,l_=0;function u_(e={}){let t=N(e.onWarn)?e.onWarn:Tp,n=P(e.version)?e.version:Xg,r=P(e.locale)||N(e.locale)?e.locale:Zg,i=N(r)?Zg:r,a=vp(e.fallbackLocale)||I(e.fallbackLocale)||P(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=I(e.messages)?e.messages:d_(i),s=I(e.datetimeFormats)?e.datetimeFormats:d_(i),c=I(e.numberFormats)?e.numberFormats:d_(i),l=fp(M(),e.modifiers,$g()),u=e.pluralRules||M(),d=N(e.missing)?e.missing:null,f=yp(e.missingWarn)||up(e.missingWarn)?e.missingWarn:!0,p=yp(e.fallbackWarn)||up(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,g
9=N(e.postTranslation)?e.postTranslation:null,_=I(e.processor)?e.processor:null,v=!yp(e.warnHtmlMessage)||e.warnHtmlMessage,y=!!e.escapeParameter,b=N(e.messageCompiler)?e.messageCompiler:e_,x=N(e.messageResolver)?e.messageResolver:n_||qg,S=N(e.localeFallbacker)?e.localeFallbacker:i_||Pg,C=F(e.fallbackContext)?e.fallbackContext:void 0,w=e,ee=F(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,te=F(w.__numberFormatters)?w.__numberFormatters:new Map,T=F(w.__meta)?w.__meta:{};l_++;let E={version:n,cid:l_,locale:r,fallbackLocale:a,messages:o,modifiers:l,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:g,processor:_,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:x,localeFallbacker:S,fallbackContext:C,onWarn:t,__meta:T};return E.datetimeFormats=s,E.numberFormats=c,E.__datetimeFormatters=ee,E.__numberFormatters=te,E}var d_=e=>({[e]:M()});function f_(e,t,n,r,i){let{missing:a,onWarn:o}=e;if(a!==null){let r=a(e,n,t,i);return P(r)?r:t}return t}function p_(e,t,n){let r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function m_(e,t){return e!==t&&e.split(`-`)[0]===t.split(`-`)[0]}function h_(e,t){let n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(m_(e,t[r]))return!0;return!1}function g_(e,t,n,r,i,a,o){let{fallbackLocale:s,localeFallbacker:c,onWarn:l}=e,u=c(e,s,n);for(let n=0;n<u.length;n++){let a=u[n],s=(r[a]||{})[t];if(I(s)&&P(a))return a;f_(e,t,a,i,o)}return null}function __(e,t,n){let r=`${e}__${t}`;return I(n)&&!dp(n)&&(r=`${r}__${JSON.stringify(n)}`),r}function v_(e,t,n){for(let r in n){let n=`${t}__${r}`;for(let t of e.keys())(t===n||t.startsWith(`${n}__`))&&e.delete(t)}}function y_(e,t,n,r){let[,i,a,o]=e,s=n;
vendor: 19,851 bytes, line 9
9return P(i)?t.key=i:I(i)&&Object.keys(i).forEach(e=>{r.includes(e)?s[e]=i[e]:t[e]=i[e]}),P(a)?t.locale=a:I(a)&&(s=a),I(o)&&(s=o),s}var b_=typeof Intl<`u`;b_&&Intl.DateTimeFormat,b_&&Intl.NumberFormat;function x_(e,...t){let{datetimeFormats:n,unresolving:r,onWarn:i}=e,{__datetimeFormatters:a}=e;if(!P(t[0])&&!lp(t[0])&&!cp(t[0]))return``;let[o,s,c,l]=C_(...t),u=yp(c.missingWarn)?c.missingWarn:e.missingWarn,d=yp(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=!!c.part,p=jg(e,c);if(!P(o)||o===``){let e=new Intl.DateTimeFormat(p.replace(/!/g,``),l);return f?e.formatToParts(s):e.format(s)}let m=g_(e,o,p,n,u,d,`datetime format`);if(!P(m))return r?-1:o;let h=n[m][o],g=__(m,o,l),_=a.get(g);return _||(_=new Intl.DateTimeFormat(m,fp({},h,l)),a.set(g,_)),f?_.formatToParts(s):_.format(s)}var S_=[`localeMatcher`,`weekday`,`era`,`year`,`month`,`day`,`hour`,`minute`,`second`,`timeZoneName`,`formatMatcher`,`hour12`,`timeZone`,`dateStyle`,`timeStyle`,`calendar`,`dayPeriod`,`numberingSystem`,`hourCycle`,`fractionalSecondDigits`];function C_(...e){let[t]=e,n=M(),r=M(),i;if(P(t)){let e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Ag(kg.INVALID_ISO_DATE_ARGUMENT);let n=e[3]?e[3].trim().startsWith(`T`)?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();i=new Date(n);try{i.toISOString()}catch{throw Ag(kg.INVALID_ISO_DATE_ARGUMENT)}}else if(lp(t)){if(isNaN(t.getTime()))throw Ag(kg.INVALID_DATE_ARGUMENT);i=t}else if(cp(t))i=t;else throw Ag(kg.INVALID_ARGUMENT);let a=y_(e,n,r,S_);return[n.key||``,i,n,a]}function w_(e,t,n){v_(e.__datetimeFormatters,t,n)}function T_(e,...t){let{numberFormats:n,unresolving:r,onWarn:i}=e,{__numberFormatters:a}=e;if(!cp(t[0]))return``;let[o,s,c,l]=D_(...t),u=yp(c.missingWarn)?c.missingWarn:e.missingWarn,d=yp(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=!!c.part,p=jg(e,c);if(!P(o)||o===``){let e=new Intl.NumberFormat(p.replace(/!/g,``),l);return f?e.formatToParts(s):e.format(s)}let m=g_(e,o,p,n,u,d,`number format`);if(!P(m))return r?-1:o;let h=n[m][o],g=__(m,o,l),_=a.get(g);return _||(_=new Intl.NumberFormat(m,fp({},h,l)),a.set(g,_)),f?_.formatToParts(s):_.format(s)}var E_=[`localeMatcher`,`style`,`currency`,`currencyDisplay`,`currencySign`,`useGrouping`,`minimumIntegerDigits`,`minimumFractionDigits`,`maximumFractionDigits`,`minimumSignificantDigits`,`maximumSignificantDigits`,`compactDisplay`,`notation`,`signDisplay`,`unit`,`unitDisplay`,`roundingMode`,`roundingPriority`,`roundingIncrement`,`trailingZeroDisplay`];function D_(...e){let[t]=e,n=M(),r=M();if(!cp(t))throw Ag(kg.INVALID_ARGUMENT);let i=t,a=y_(e,n,r,E_);return[n.key||``,i,n,a]}function O_(e,t,n){v_(e.__numberFormatters,t,n)}var k_=e=>e,A_=e=>``,j_=`text`,M_=e=>e.length===0?``:wp(e),N_=Cp;function P_(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function F_(e){let t=cp(e.pluralIndex)?e.pluralIndex:-1;return cp(e.named?.count)?e.named.count:cp(e.named?.n)?e.named.n:t}function I_(e={}){let t=e.locale,n=F_(e),r=P(t)&&N(e.pluralRules?.[t])?e.pluralRules[t]:P_,i=r===P_?void 0:P_,a=e=>e[r(n,e.length,i)],o=e.list||[],s=e=>o[e],c=e.named||M();cp(e.pluralIndex)&&(c.count||=e.pluralIndex,c.n||=e.pluralIndex);let l=e=>c[e];function u(t,n){return(N(e.messages)?e.messages(t,!!n):F(e.messages)?e.messages[t]:!1)||(e.parent?e.parent.message(t):A_)}let d=t=>e.modifiers?e.modifiers[t]:k_,f=N(e.processor?.normalize)?e.processor.normalize:M_,p=N(e.processor?.interpolate)?e.processor.interpolate:N_,m={list:s,named:l,plural:a,linked:(e,...t)=>{let[n,r]=t,i=`text`,a=``;t.length===1?F(n)?(a=n.modifier||a,i=n.type||i):P(n)&&(a=n||a):t.length===2&&(P(n)&&(a=n||a),P(r)&&(i=r||i));let o=u(e,!0)(m),s=o===``||o===void 0?e:o,c=i===`vnode`&&vp(s)&&a?s[0]:s;return a?d(a)(c,i):c},message:u,type:P(e.processor?.type)?e.processor.type:j_,interpolate:p,normalize:f,values:fp(M(),o,c)};return m}var L_=()=>``,R_=e=>N(e);function z_(e,...t){let{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[c,l]=W_(...t),u=yp(l.missingWarn)?l.missingWarn:e.missingWarn,d=yp(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=yp(l.escapeParameter)?l.escapeParameter:e.escapeParameter,p=!!l.resolvedMessage,m=P(l.default)||yp(l.default)?yp(l.default)?a?c:()=>c:l.default:n?a?c:()=>c:null,h=n||m!=null&&(P(m)||N(m)),g=jg(e,l);f&&B_(l);let[_,v,y]=p?[c,g,s[g]||M()]:V_(e,c,g,o,d,u),b=_,x=c;if(!p&&!(P(b)||tg(b)||R_(b))&&h&&(b=m,x=b),!p&&(!(P(b)||tg(b)||R_(b))||!P(v)))return i?-1:c;let S=!1,C=R_(b)?b:H_(e,c,v,b,x,()=>{S=!0});if(S)return b;let w=U_(e,C,I_(K_(e,v,y,l))),ee=r?r(w,c):w;return f&&P(ee)&&(ee=Vp(ee)),ee}function B_(e){vp(e.list)?e.list=e.list.map(e=>P(e)?Ep(e):e):F(e.named)&&Object.keys(e.named).forEach(t=>{P(e.named[t])&&(e.named[t]=Ep(e.named[t]))})}function V_(e,t,n,r,i,a){let{messages:o,onWarn:s,messageResolver:c,localeFallbacker:l}=e,u=l(e,r,n),d=M(),f,p=null;for(let n=0;n<u.length&&(f=u[n],d=o[f]||M(),(p=c(d,t))===null&&(p=d[t]),!(P(p)||tg(p)||R_(p)));n++)if(!h_(f,u)){let n=f_(e,t,f,a,`translate`);n!==t&&(p=n)}return[p,f,d]}function H_(e,t,n,r,i,a){let{messageCompiler:o,warnHtmlMessage:s}=e;if(R_(r)){let e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(o==null){let e=(()=>r);return e.locale=n,e.key=t,e}let c=o(r,G_(e,n,i,r,s,a));return c.locale=n,c.key=t,c.source=r,c}function U_(e,t,n){return t(n)}function W_(...e){let[t,n,r]=e,i=M();if(!P(t)&&!cp(t)&&!R_(t)&&!tg(t))throw Ag(kg.INVALID_ARGUMENT);let a=cp(t)?String(t):(R_(t),t);return cp(n)?i.plural=n:P(n)?i.default=n:I(n)&&!dp(n)?i.named=n:vp(n)&&(i.list=n),cp(r)?i.plural=r:P(r)?i.default=r:I(r)&&fp(i,r),[a,i]}function G_(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:e=>{throw a&&a(e),e},onCacheKey:e=>op(t,n,e)}}function K_(e,t,n,r){let{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:c,missingWarn:l,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:a,messages:(r,i)=>{let a=o(n,r);if(a==null&&(u||i)){let[n,,i]=V_(u||e,r,t,s,c,l);a=n??o(i,r)}if(P(a)||tg(a)){let n=!1,i=H_(e,r,t,a,r,()=>{n=!0});return n?L_:i}return R_(a)?a:L_}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),cp(r.plural)&&(d.pluralIndex=r.plural),d}var q_=`11.4.10`,J_={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Y_(e,...t){return xh(e,null,void 0)}J_.UNEXPECTED_RETURN_TYPE,J_.INVALID_ARGUMENT,J_.MUST_BE_CALL_SETUP_TOP,J_.NOT_INSTALLED,J_.UNEXPECTED_ERROR,J_.REQUIRED_VALUE,J_.INVALID_VALUE,J_.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,J_.NOT_INSTALLED_WITH_PROVIDE,J_.NOT_COMPATIBLE_LEGACY_VUE_I18N,J_.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var X_=ap(`__translateVNode`),Z_=ap(`__datetimeParts`),Q_=ap(`__numberParts`),$_=ap(`__setPluralRules`);ap(`__intlifyMeta`);var ev=ap(`__injectWithOption`),tv=ap(`__dispose`),nv={FALLBACK_TO_ROOT:10,NOT_FOUND_PARENT_SCOPE:11,IGNORE_OBJ_FLATTEN:12,DEPRECATE_LEGACY_MODE:13,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:14,DUPLICATE_USE_I18N_CALLING:15};nv.FALLBACK_TO_ROOT,nv.NOT_FOUND_PARENT_SCOPE,nv.IGNORE_OBJ_FLATTEN,nv.DEPRECATE_LEGACY_MODE,nv.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,nv.DUPLICATE_USE_I18N_CALLING;var rv=null;{let e=hp().__VUE_INSTANCE_SETTERS__;vp(e)&&e.push(e=>{rv=e})}function iv(e){if(!F(e)||tg(e))return e;for(let t in e)if(_p(e,t)){if(!t.includes(`.`))F(e[t])&&iv(e[t]);else{let n=t.split(`.`),r=n.length-1,i=e,a=!1;for(let e=0;e<r;e++){if(n[e]===`__proto__`)throw Error(`unsafe key: ${n[e]}`);if(n[e]in i||(i[n[e]]=M()),!F(i[n[e]])){a=!0;break}i=i[n[e]]}if(a||(tg(i)?yg.includes(n[r])||delete e[t]:(i[n[r]]=e[t],delete e[t])),!tg(i)){let e=i[n[r]];F(e)&&iv(e)}}}return e}function av(e,t){let{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,o=I(n)?n:vp(r)?M():{[e]:M()};if(vp(r)&&r.forEach(e=>{if(`locale`in e&&`resource`in e){let{locale:t,resource:n}=e;t?(o[t]=o[t]||M(),Up(n,o[t])):Up(n,o)}else P(e)&&Up(JSON.parse(e),o)}),i==null&&a)for(let e in o)_p(o,e)&&iv(o[e]);return o}function ov(e){return e.type}function sv(e,t,n){let r=F(t.messages)?t.messages:M();`__i18nGlobal`in n&&(r=av(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));let i=Object.keys(r);if(i.length&&i.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),F(t.datetimeFormats)){let n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(F(t.numberFormats)){let n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function cv(e){return b(fe,null,e,0)}function lv(){return rv??ee()}var uv=()=>[],dv=()=>!1,fv=0;function pv(e){return((t,n,r,i)=>e(n,r,lv()||void 0,i))}function mv(e={}){let{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,a=ip?Le:He,o=!yp(e.inheritLocale)||e.inheritLocale,s=a(t&&o?t.locale.value:P(e.locale)?e.locale:Zg),c=a(t&&o?t.fallbackLocale.value:P(e.fallbackLocale)||vp(e.fallbackLocale)||I(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),l=a(av(s.value,e)),u=a(I(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),d=a(I(e.numberFormats)?e.numberFormats:{[s.value]:{}}),f=t?t.missingWarn:yp(e.missingWarn)||up(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:yp(e.fallbackWarn)||up(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:!yp(e.fallbackRoot)||e.fallbackRoot,h=!!e.fallbackFormat,g=N(e.missing)?e.missing:null,_=N(e.missing)?pv(e.missing):null,v=N(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:!yp(e.warnHtmlMessage)||e.warnHtmlMessage,b=!!e.escapeParameter,x=t?t.modifiers:I(e.modifiers)?e.modifiers:{},S=e.pluralRules||t&&t.pluralRules,w;w=(()=>{r&&s_(null);let t={version:q_,locale:s.value,fallbackLocale:c.value,messages:l.value,modifiers:x,pluralRules:S,missing:_===null?void 0:_,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:y,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:`vue`}};t.datetimeFormats=u.value,t.numberFormats=d.value,t.__datetimeFormatters=I(w)?w.__datetimeFormatters:void 0,t.__numberFormatters=I(w)?w.__numberFormatters:void 0;let n=u_(t);return r&&s_(n),n})(),p_(w,s.value,c.value);function ee(){return[s.value,c.value,l.value,u.value,d.value]}let te=O({get:()=>s.value,set:e=>{w.locale=e,s.value=e}}),T=O({get:()=>c.value,set:e=>{w.fallbackLocale=e,c.value=e,p_(w,s.value,e)}}),E=O(()=>l.value),ne=O(()=>u.value),re=O(()=>d.value);function ie(){return N(v)?v:null}function ae(e){v=e,w.postTranslation=e}function oe(){return g}function se(e){e!==null&&(_=pv(e)),g=e,w.missing=_}let ce=(e,n,i,a,o,s)=>{ee();let c;try{r||(w.fallbackContext=t?c_():void 0),c=e(w)}finally{r||(w.fallbackContext=void 0)}if(i!==`translate exists`&&cp(c)&&c===-1||i===`translate exists`&&!c){let[e,r]=n();return t&&m?a(t):o(e)}if(s(c))return c;throw Y_(J_.UNEXPECTED_RETURN_TYPE)};function le(...e){return ce(t=>Reflect.apply(z_,null,[t,...e]),()=>W_(...e),`translate`,t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>P(e))}function D(...e){let[t,n,r]=e;if(r&&!F(r))throw Y_(J_.INVALID_ARGUMENT);return le(t,n,fp({resolvedMessage:!0},r||{}))}function ue(...e){return ce(t=>Reflect.apply(x_,null,[t,...e]),()=>C_(...e),`datetime format`,t=>Reflect.apply(t.d,t,[...e]),()=>``,e=>P(e)||vp(e))}function de(...e){return ce(t=>Reflect.apply(T_,null,[t,...e]),()=>D_(...e),`number format`,t=>Reflect.apply(t.n,t,[...e]),()=>``,e=>P(e)||vp(e))}function fe(e){return e.map(e=>P(e)||cp(e)||yp(e)?cv(String(e)):e)}let pe={normalize:fe,interpolate:e=>e,type:`vnode`};function me(...e){return ce(t=>{let n,r=t;try{r.processor=pe,n=Reflect.apply(z_,null,[r,...e])}finally{r.processor=null}return n},()=>W_(...e),`translate`,t=>t[X_](...e),e=>[cv(e)],e=>vp(e))}function he(...e){return ce(t=>Reflect.apply(T_,null,[t,...e]),()=>D_(...e),`number format`,t=>t[Q_](...e),uv,e=>P(e)||vp(e))}function ge(...e){return ce(t=>Reflect.apply(x_,null,[t,...e]),()=>C_(...e),`datetime format`,t=>t[Z_](...e),uv,e=>P(e)||vp(e))}function _e(e){S=e,w.pluralRules=S}function ve(e,t){return ce(()=>{if(!e)return!1;let n=P(t)?t:s.value,r=P(t)?[n]:Fg(w,c.value,n);for(let t=0;t<r.length;t++){let n=xe(r[t]),i=w.messageResolver(n,e);if(i===null&&(i=n[e]),tg(i)||R_(i)||P(i))return!0}return!1},()=>[e],`translate exists`,n=>Reflect.apply(n.te,n,[e,t]),dv,e=>yp(e))}function ye(e){let t=null,n=Fg(w,c.value,s.value);for(let r=0;r<n.length;r++){let i=l.value[n[r]]||{},a=w.messageResolver(i,e);if(a!=null){t=a;break}}return t}function be(e){return ye(e)??(t&&t.tm(e)||{})}function xe(e){return l.value[e]||{}}function Se(e,t){if(i){let n={[e]:t};for(let e in n)_p(n,e)&&iv(n[e]);t=n[e]}l.value[e]=t,w.messages=l.value}function Ce(e,t){l.value[e]=l.value[e]||{};let n={[e]:t};if(i)for(let e in n)_p(n,e)&&iv(n[e]);t=n[e],Up(t,l.value[e]),w.messages=l.value}function we(e){return u.value[e]||{}}function Te(e,t){u.value[e]=t,w.datetimeFormats=u.value,w_(w,e,t)}function Ee(e,t){u.value[e]=fp(u.value[e]||{},t),w.datetimeFormats=u.value,w_(w,e,t)}function De(e){return d.value[e]||{}}function Oe(e,t){d.value[e]=t,w.numberFormats=d.value,O_(w,e,t)}function ke(e,t){d.value[e]=fp(d.value[e]||{},t),w.numberFormats=d.value,O_(w,e,t)}fv++,t&&ip&&(C(t.locale,e=>{o&&(s.value=e,w.locale=e,p_(w,s.value,c.value))}),C(t.fallbackLocale,e=>{o&&(c.value=e,w.fallbackLocale=e,p_(w,s.value,c.value))}));let Ae={id:fv,locale:te,fallbackLocale:T,get inheritLocale(){return o},set inheritLocale(e){o=e,e&&t&&(s.value=t.locale.value,c.value=t.fallbackLocale.value,p_(w,s.value,c.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:E,get modifiers(){return x},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(e){f=e,w.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(e){p=e,w.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(e){m=e},get fallbackFormat(){return h},set fallbackFormat(e){h=e,w.fallbackFormat=h},get warnHtmlMessage(){return y},set warnHtmlMessage(e){y=e,w.warnHtmlMessage=e},get escapeParameter(){return b},set escapeParameter(e){b=e,w.escapeParameter=e},t:le,getLocaleMessage:xe,setLocaleMessage:Se,mergeLocaleMessage:Ce,getPostTranslationHandler:ie,setPostTranslationHandler:ae,getMissingHandler:oe,setMissingHandler:se,[$_]:_e};return Ae.datetimeFormats=ne,Ae.numberFormats=re,Ae.rt=D,Ae.te=ve,Ae.tm=be,Ae.d=ue,Ae.n=de,Ae.getDateTimeFormat=we,Ae.setDateTimeFormat=Te,Ae.mergeDateTimeFormat=Ee,Ae.getNumberFormat=De,Ae.setNumberFormat=Oe,Ae.mergeNumberFormat=ke,Ae[ev]=n,Ae[X_]=me,Ae[Z_]=ge,Ae[Q_]=he,Ae}var hv={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e===`parent`||e===`global`,default:`parent`},i18n:{type:Object}};function gv({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===De?t.children:[t]],[]):t.reduce((t,n)=>{let r=e[n];return r&&(t[n]=r()),t},M())}function _v(){return De}var vv=xe({name:`i18n-t`,props:fp({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>cp(e)||!isNaN(e)}},hv),setup(e,t){let{slots:n,attrs:r}=t,i=e.i18n||kv({useScope:e.scope,__useComponent:!0});return()=>{let a=()=>{let r=Object.keys(n).filter(e=>e[0]!==`_`),a=M();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=P(e.plural)?+e.plural:e.plural);let o=gv(t,r);return i[X_](e.keypath,o,a)},o=fp(M(),r),s=P(e.tag)||F(e.tag)?e.tag:_v();return F(s)?v(s,o,{default:a}):v(s,o,a())}}});function yv(e){return vp(e)&&!P(e[0])}function bv(e,t,n,r){let{slots:i,attrs:a}=t;return()=>{let t=()=>{let t={part:!0},a=M();e.locale&&(t.locale=e.locale),P(e.format)?t.key=e.format:F(e.format)&&(P(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce((t,r)=>n.includes(r)?fp(M(),t,{[r]:e.format[r]}):t,M()));let o=r(e.value,t,a),s=[t.key];return vp(o)?s=o.map((e,t)=>{let n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:o}):[e.value];return yv(r)&&(r[0].key=`${e.type}-${t}`),r}):P(o)&&(s=[o]),s},o=fp(M(),a),s=P(e.tag)||F(e.tag)?e.tag:_v();return F(s)?v(s,o,{default:t}):v(s,o,t())}}var xv=xe({name:`i18n-n`,props:fp({value:{type:Number,required:!0},format:{type:[String,Object]}},hv),setup(e,t){let n=e.i18n||kv({useScope:e.scope,__useComponent:!0});return bv(e,t,E_,(...e)=>n[Q_](...e))}});function Sv(e,t){let n=e;if(e.mode===`composition`)return n.__getInstance(t)||e.global;{let r=n.__getInstance(t);return r==null?e.global.__composer:r.__composer}}function Cv(e){let t=t=>{let{instance:n,value:r}=t;if(!n||!n.$)throw Y_(J_.UNEXPECTED_ERROR);let i=Sv(e,n.$),a=wv(r);return[Reflect.apply(i.t,i,[...Tv(a)]),i]};return{created:(e,n)=>{let[r,i]=t(n);ip&&(e.__i18nWatcher=C(i.locale,()=>{n.instance&&n.instance.$forceUpdate()})),e.__composer=i,e.textContent=r},unmounted:e=>{ip&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let n=e.__composer,r=wv(t);e.textContent=Reflect.apply(n.t,n,[...Tv(r)])}},getSSRProps:e=>{let[n]=t(e);return{textContent:n}}}}function wv(e){if(P(e))return{path:e};if(I(e)){if(!(`path`in e))throw Y_(J_.REQUIRED_VALUE,`path`);return e}throw Y_(J_.INVALID_VALUE)}function Tv(e){let{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},s=r||{};return P(n)&&(o.locale=n),cp(i)&&(o.plural=i),cp(a)&&(o.plural=a),[t,s,o]}function Ev(e,t,...n){let r=I(n[0])?n[0]:{};(!yp(r.globalInstall)||r.globalInstall)&&([vv.name,`I18nT`].forEach(t=>e.component(t,vv)),[xv.name,`I18nN`].forEach(t=>e.component(t,xv)),[Bv.name,`I18nD`].forEach(t=>e.component(t,Bv))),e.directive(`t`,Cv(t))}var Dv=ap(`global-vue-i18n`);function Ov(e={}){let t=!yp(e.globalInjection)||e.globalInjection,n=new Map,[r,i]=Av(e,!1),a=ap(``);function o(e){return n.get(e)||null}function s(e,t){n.set(e,t)}function c(e){n.delete(e)}let l={get mode(){return`composition`},async install(e,...n){if(e.__VUE_I18N_SYMBOL__=a,e.provide(e.__VUE_I18N_SYMBOL__,l),I(n[0])){let e=n[0];l.__composerExtend=e.__composerExtend,l.__vueI18nExtend=e.__vueI18nExtend}let r=null;t&&(r=zv(e,l.global)),Ev(e,l,...n);let i=e.unmount;e.unmount=()=>{r&&r(),l.dispose(),i()}},get global(){return i},dispose(){r.stop()},__instances:n,__getInstance:o,__setInstance:s,__deleteInstance:c};return l}function kv(e={}){let t=lv();if(t==null)throw Y_(J_.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Y_(J_.NOT_INSTALLED);let n=jv(t),r=Nv(n),i=ov(t),a=Mv(e,i);if(a===`global`)return sv(r,e,i),r;if(a===`parent`){let i=Pv(n,t,e.__useComponent);return i??=r,i}if(a===`isolated`){if(n.mode!==`composition`)throw Y_(J_.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);let i=n,a=fp({},e);a.__root=Pv(n,t)||r;let o=mv(a);return i.__composerExtend&&(o[tv]=i.__composerExtend(o)),le()&&Oe(()=>{let e=o[tv];e&&(e(),delete o[tv])}),o}let o=n,s=o.__getInstance(t);if(s==null){let n=fp({},e);`__i18n`in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),s=mv(n),o.__composerExtend&&(s[tv]=o.__composerExtend(s)),Iv(o,t,s),o.__setInstance(t,s)}return s}function Av(e,t){let n=ye(),r=n.run(()=>mv(e));if(r==null)throw Y_(J_.UNEXPECTED_ERROR);return[n,r]}function jv(e){let t=w(e.isCE?Dv:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Y_(e.isCE?J_.NOT_INSTALLED_WITH_PROVIDE:J_.UNEXPECTED_ERROR);return t}function Mv(e,t){return dp(e)?`__i18n`in t?`local`:`global`:e.useScope?e.useScope:`local`}function Nv(e){return e.mode===`composition`?e.global:e.global.__composer}function Pv(e,t,n=!1){let r=null,i=t.root,a=Fv(t,n);for(;a!=null;){let t=e;if(e.mode===`composition`&&(r=t.__getInstance(a)),r!=null||i===a)break;a=a.parent}return r}function Fv(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Iv(e,t,n){de(()=>{},t),he(()=>{let r=n;e.__deleteInstance(t);let i=r[tv];
9i&&(i(),delete r[tv])},t)}var Lv=[`locale`,`fallbackLocale`,`availableLocales`],Rv=[`t`,`rt`,`d`,`n`,`tm`,`te`];function zv(e,t){let n=Object.create(null);return Lv.forEach(e=>{let r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw Y_(J_.UNEXPECTED_ERROR);let i=Fe(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,i)}),e.config.globalProperties.$i18n=n,Rv.forEach(n=>{let r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw Y_(J_.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}),()=>{delete e.config.globalProperties.$i18n,Rv.forEach(t=>{delete e.config.globalProperties[`$${t}`]})}}var Bv=xe({name:`i18n-d`,props:fp({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},hv),setup(e,t){let n=e.i18n||kv({useScope:e.scope,__useComponent:!0});return bv(e,t,S_,(...e)=>n[Z_](...e))}});t_(Og),r_(Jg),a_(Fg);function Vv(e,{extendComposer:t,extendComposerInstance:n}){let r=ye(),i=e.install.bind(e);e.install=(a,...o)=>{let s=fp({},o[0]);s.__composerExtend=t=>(n(t,Bm(e)),()=>{}),e.mode===`legacy`&&(s.__vueI18nExtend=e=>(n(e,Bm(e)),()=>{})),Reflect.apply(i,e,[a,s]);let c=Bm(e);if(r.run(()=>{t(c),e.mode===`legacy`&&`__composer`in e.global&&n(e.global,Bm(e.global))}),e.mode===`composition`&&a.config.globalProperties.$i18n!=null&&n(a.config.globalProperties.$i18n,c),a.unmount){let e=a.unmount.bind(a);a.unmount=()=>{r.stop(),e()}}}}function Hv(e,t=e.getCurrentLanguage(),n=e.getCurrentDirection()){let r={htmlAttrs:{},link:[],meta:[]};if(e.dir&&(r.htmlAttrs.dir=n),e.lang&&t&&(r.htmlAttrs.lang=t),e.seo){let t=e.strictCanonicals?e.getRouteWithoutQuery():void 0,n=Wv(e,t),i=Kv(e,t);r.link=r.link.concat(n,qv(e,i)),r.meta=r.meta.concat(Yv(e,i),Xv(e),Qv(e,Zv(e,n)))}return r}function Uv(e){let t=new Map;for(let n of e){if(!n.language){console.warn("Locale `language` ISO code is required to generate alternate link");continue}let[e,r]=n.language.split(`-`);e&&r&&(n.isCatchallLocale||!t.has(e))&&t.set(e,n),t.set(n.language,n)}return t}function Wv(e,t=e.strictCanonicals?e.getRouteWithoutQuery():void 0){if(!e.hreflangLinks)return[];let n=[],r=Uv(e.locales),i=new Map;for(let[a,o]of r.entries()){let r=i.get(o.code)??Gv(o.code,e,t);if(!r)continue;i.set(o.code,r);let s=e.strictSeo?{rel:`alternate`,href:r,hreflang:a}:{[e.key]:`i18n-alt-${a}`,rel:`alternate`,href:r,hreflang:a};n.push(s),e.defaultLocale&&e.defaultLocale===o.code&&n[0].hreflang!==`x-default`&&n.unshift(e.strictSeo?{rel:`alternate`,href:r,hreflang:`x-default`}:{[e.key]:`i18n-xd`,rel:`alternate`,href:r,hreflang:`x-default`})}return n}function Gv(e,t,n=t.strictCanonicals?t.getRouteWithoutQuery():void 0){let r=t.getLocalizedRoute(e,n);if(r)return nt(et(r,t.baseUrl),t.strictCanonicals?Jv(t):{})}function Kv(e,t=e.strictCanonicals?e.getRouteWithoutQuery():void 0){let n=e.getLocalizedRoute(e.currentLocale,t);return n?nt(et(n,e.baseUrl),Jv(e)):``}function qv(e,t=Kv(e)){return t?[e.strictSeo?{rel:`canonical`,href:t}:{[e.key]:`i18n-can`,rel:`canonical`,href:t}]:[]}function Jv(e,t=e.getCurrentRoute()){if(!e.canonicalQueries.length)return{};let n=e.getLocaleRoute(Object.assign({},t,{path:void 0,name:e.getRouteBaseName(t)}))?.query??{},r={};for(let t of e.canonicalQueries.filter(e=>e in n)){r[t]??=[];for(let e of ey(n[t]))r[t].push(e||``)}return r}function Yv(e,t=Kv(e)){return t?[e.strictSeo?{property:`og:url`,content:t}:{[e.key]:`i18n-og-url`,property:`og:url`,content:t}]:[]}function Xv(e,t=e.getCurrentLanguage()){return t?[e.strictSeo?{property:`og:locale`,content:$v(t)}:{[e.key]:`i18n-og`,property:`og:locale`,content:$v(t)}]:[]}function Zv(e,t){let n=e.locales.map(e=>e.language||e.code);if(!e.strictSeo)return n;let r=new Set(t.map(e=>e.hreflang));return n.filter(e=>r.has(e))}function Qv(e,t,n=e.getCurrentLanguage()){return t.filter(e=>e&&e!==n).map(t=>e.strictSeo?{property:`og:locale:alternate`,content:$v(t)}:{[e.key]:`i18n-og-alt-${t}`,property:`og:locale:alternate`,content:$v(t)})}function $v(e=``){return e.replace(/-/g,`_`)}function ey(e){return Array.isArray(e)?e:[e]}function ty(e,t,n=e.getLocale(),r=e.getLocales(),i=e.routingOptions.domains?e.getBaseUrl(n):e.getBaseUrl()){let a=r.find(e=>e.code===n)||{code:n},o=[...new Set(typeof t.seo==`object`&&t.seo?.canonicalQueries||[])],s={...e,afterSwitchLocalePath:e.getAlternatePath};
9if(!i&&!e.routingOptions.domains){if(e.strictSeo)throw Error("I18n `baseUrl` is required to generate valid SEO tag links.");console.warn("I18n `baseUrl` is required to generate valid SEO tag links.")}return{...t,key:e.strictSeo?`key`:`id`,strictSeo:e.strictSeo,locales:r,currentLocale:n,baseUrl:i,canonicalQueries:o,hreflangLinks:e.routingOptions.hreflangLinks,defaultLocale:e.routingOptions.defaultLocale,strictCanonicals:e.strictSeo||e.routingOptions.strictCanonicals,getRouteBaseName:e.getRouteBaseName,getCurrentRoute:()=>e.router.currentRoute.value,getCurrentLanguage:()=>a.language,getCurrentDirection:()=>a.dir||`ltr`,getLocaleRoute:t=>th(e,t),getLocalizedRoute:(e,t)=>ih(s,e,t),getRouteWithoutQuery:()=>{try{return fp({},e.router.resolve({query:{}}),{meta:e.router.currentRoute.value.meta})}catch{return}}}}function ny(e,{dir:t=!0,lang:n=!0,seo:r=!0}){return Hv(ty(e,{dir:t,lang:n,seo:r}))}function ry(e=s()){let t=Im(e);return e=>{if(e!=null)return t.getRouteBaseName(e)||void 0}}function iy(e=s()){let t=Im(e);return(e,n)=>eh(t,e,n)}function ay(e=s()){let t=Im(e);return(e,n)=>th(t,e,n)}function oy(e=s()){let t=Im(e);return e=>ih(t,e)}var sy=async e=>{let t=await qp(np);t.locale=e||t.locale||`en-US`,t.defaultLocale=e,t.fallbackLocale??=!1,t.messages??={};for(let e of ep)t.messages[e]??={};return t},cy=p({name:`i18n:plugin`,parallel:!1,async setup(e){let t,n;Object.defineProperty(e.versions,"nuxtI18n",{get:()=>`10.6.0`});let r=s(e._id),i=Vm(r),a=r.ssrContext?.event?.context?.nuxtI18n?.vueI18nOptions,o=jm(Cs({xForwardedHost:!0}).host,i.defaultLocale),c=a||([t,n]=l(()=>sy(o)),t=await t,n(),t),u=Km();u.value??=Em(c.fallbackLocale),In(ep.filter(Zm).map(e=>`/_i18n/${{en:`4148c607`}[e]}/${e}/messages.json`));let d=Ov(c),f=mh(Fn(r),Hm(r),r),p=Qm(r,d,c.defaultLocale,!!c.flatJson);r._nuxtI18n=p,Vv(d,{extendComposer(e){e.locales=O(()=>i.locales.map(e=>Tm(e,i.domainLocales))),e.localeCodes=O(()=>ep);let t=Le(p.getBaseUrl());e.baseUrl=O(()=>t.value),C(e.locale,()=>t.value=p.getBaseUrl()),e.strategy=`no_prefix`,e.localeProperties=O(()=>Tm(rp.find(t=>t.code===e.locale.value)||{code:e.locale.value,domains:[],defaultForDomains:[]},i.domainLocales)),e.setLocale=async e=>{await gh(r,e),await r.runWithContext(()=>(r.$router.currentRoute.value,void 0))},e.loadLocaleMessages=p.loadMessages,e.differentDomains=!1,e.defaultLocale=c.defaultLocale,e.getBrowserLocale=()=>Nm(f.navigator()),e.getLocaleCookie=()=>Nm(f.cookie()),e.setLocaleCookie=p.setCookieLocale,e.finalizePendingLocaleChange=async()=>{d.__pendingLocale&&await d.__resolvePendingLocalePromise?.()},e.waitForPendingLocaleChange=async()=>{await d?.__pendingLocalePromise}},extendComposerInstance(e,t){let n=[[`locales`,()=>t.locales],[`localeCodes`,()=>t.localeCodes],[`baseUrl`,()=>t.baseUrl],[`strategy`,()=>`no_prefix`],[`localeProperties`,()=>t.localeProperties],[`setLocale`,()=>e=>Reflect.apply(t.setLocale,t,[e])],[`loadLocaleMessages`,()=>e=>Reflect.apply(t.loadLocaleMessages,t,[e])],[`differentDomains`,()=>!1],[`defaultLocale`,()=>t.defaultLocale],[`getBrowserLocale`,()=>()=>Reflect.apply(t.getBrowserLocale,t,[])],[`getLocaleCookie`,()=>()=>Reflect.apply(t.getLocaleCookie,t,[])],[`setLocaleCookie`,()=>e=>Reflect.apply(t.setLocaleCookie,t,[e])],[`finalizePendingLocaleChange`,()=>()=>Reflect.apply(t.finalizePendingLocaleChange,t,[])],[`waitForPendingLocaleChange`,()=>()=>Reflect.apply(t.waitForPendingLocaleChange,t,[])]];for(let[t,r]of n)Object.defineProperty(e,t,{get:r})}}),r.vueApp.use(d),Object.defineProperty(r,"$i18n",{get:()=>zm(d)}),r.provide(`localeHead`,e=>ny(r._nuxtI18n.composableCtx,e)),r.provide(`localePath`,iy(r)),r.provide(`localeRoute`,ay(r)),r.provide(`routeBaseName`,ry(r)),r.provide(`getRouteBaseName`,ry(r)),r.provide(`switchLocalePath`,oy(r))}},1),ly=`nuxt-i18n-slp`,uy=new RegExp([`<!--${ly}-\\[(\\w+)\\]-->`,`.+?`,`<!--/${ly}-->`].join(``),`g`),dy=p({name:`i18n:plugin:switch-locale-path-ssr`,dependsOn:[`i18n:plugin`],setup(e){let t=s(e._id),n=oy(t);t.hook(`app:rendered`,e=>{e.renderResult?.html!=null&&(e.renderResult.html=e.renderResult.html.replaceAll(uy,(e,t)=>{let r=Gm(n(t??``));return e.replace(/href="([^"]+)"/,()=>`href="${r||`#`}" `)}))})}}),fy=p({name:`i18n:plugin:preload`,dependsOn:[`i18n:plugin`],async setup(e){}},1),py={STARTS_WITH:`startsWith`,CONTAINS:`contains`,NOT_CONTAINS:`notContains`,ENDS_WITH:`endsWith`,EQUALS:`equals`,NOT_EQUALS:`notEquals`,IN:`in`,LESS_THAN:`lt`,LESS_THAN_OR_EQUAL_TO:`lte`,GREATER_THAN:`gt`,GREATER_THAN_OR_EQUAL_TO:`gte`,BETWEEN:`between`,DATE_IS:`dateIs`,DATE_IS_NOT:`dateIsNot`,DATE_BEFORE:`dateBefore`,DATE_AFTER:`dateAfter`},my={AND:`and`,OR:`or`};function hy(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];
9if(!n){if(Array.isArray(e)||(n=gy(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
10In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,s=e},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw s}}}}function gy(e,t){if(e){if(typeof e==`string`)return _y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _y(e,t)}}function _y(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var vy={filter:function(e,t,n,r,i){var a=[];if(!e)return a;var o=hy(e),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;if(typeof c==`string`){if(this.filters[r](c,n,i)){a.push(c);continue}}else{var l=hy(t),u;try{for(l.s();!(u=l.n()).done;){var d=u.value,f=Bn.resolveFieldData(c,d);if(this.filters[r](f,n,i)){a.push(c);break}}}catch(e){l.e(e)}finally{l.f()}}}}catch(e){o.e(e)}finally{o.f()}return a},filters:{startsWith:function(e,t,n){if(t==null||t===``)return!0;if(e==null)return!1;var r=Bn.removeAccents(t.toString()).toLocaleLowerCase(n);return Bn.removeAccents(e.toString()).toLocaleLowerCase(n).slice(0,r.length)===r},contains:function(e,t,n){if(t==null||t===``)return!0;if(e==null)return!1;var r=Bn.removeAccents(t.toString()).toLocaleLowerCase(n);return Bn.removeAccents(e.toString()).toLocaleLowerCase(n).indexOf(r)!==-1},notContains:function(e,t,n){if(t==null||t===``)return!0;if(e==null)return!1;var r=Bn.removeAccents(t.toString()).toLocaleLowerCase(n);return Bn.removeAccents(e.toString()).toLocaleLowerCase(n).indexOf(r)===-1},endsWith:function(e,t,n){if(t==null||t===``)return!0;if(e==null)return!1;var r=Bn.removeAccents(t.toString()).toLocaleLowerCase(n),i=Bn.removeAccents(e.toString()).toLocaleLowerCase(n);return i.indexOf(r,i.length-r.length)!==-1},equals:function(e,t,n){return t==null||t===``?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()===t.getTime():Bn.removeAccents(e.toString()).toLocaleLowerCase(n)==Bn.removeAccents(t.toString()).toLocaleLowerCase(n)},notEquals:function(e,t,n){return t==null||t===``?!1:e==null?!0:e.getTime&&t.getTime?e.getTime()!==t.getTime():Bn.removeAccents(e.toString()).toLocaleLowerCase(n)!=Bn.removeAccents(t.toString()).toLocaleLowerCase(n)},in:function(e,t){if(t==null||t.length===0)return!0;for(var n=0;n<t.length;n++)if(Bn.equals(e,t[n]))return!0;return!1},between:function(e,t){return t==null||t[0]==null||t[1]==null?!0:e==null?!1:e.getTime?t[0].getTime()<=e.getTime()&&e.getTime()<=t[1].getTime():t[0]<=e&&e<=t[1]},lt:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()<t.getTime():e<t},lte:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()<=t.getTime():e<=t},gt:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()>t.getTime():e>t},gte:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=t},dateIs:function(e,t){return t==null||e!=null&&e.toDateString()===t.toDateString()},dateIsNot:function(e,t){return t==null||e!=null&&e.toDateString()!==t.toDateString()},dateBefore:function(e,t){return t==null||e!=null&&e.getTime()<t.getTime()},dateAfter:function(e,t){return t==null||e!=null&&e.getTime()>t.getTime()}},register:function(e,t){this.filters[e]=t}};function yy(e){"@babel/helpers - typeof";return yy=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},yy(e)}function by(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xy(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
10t%2?by(Object(n),!0).forEach(function(t){Sy(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):by(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Sy(e,t,n){return t=Cy(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cy(e){var t=wy(e,`string`);return yy(t)==`symbol`?t:String(t)}function wy(e,t){if(yy(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(yy(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Ty={ripple:!1,inputStyle:null,locale:{startsWith:`Starts with`,contains:`Contains`,notContains:`Not contains`,endsWith:`Ends with`,equals:`Equals`,notEquals:`Not equals`,noFilter:`No Filter`,lt:`Less than`,lte:`Less than or equal to`,gt:`Greater than`,gte:`Greater than or equal to`,dateIs:`Date is`,dateIsNot:`Date is not`,dateBefore:`Date is before`,dateAfter:`Date is after`,clear:`Clear`,apply:`Apply`,matchAll:`Match All`,matchAny:`Match Any`,addRule:`Add Rule`,removeRule:`Remove Rule`,accept:`Yes`,reject:`No`,choose:`Choose`,upload:`Upload`,cancel:`Cancel`,completed:`Completed`,pending:`Pending`,fileSizeTypes:[`B`,`KB`,`MB`,`GB`,`TB`,`PB`,`EB`,`ZB`,`YB`],dayNames:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],dayNamesShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],dayNamesMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],monthNames:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthNamesShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],chooseYear:`Choose Year`,chooseMonth:`Choose Month`,chooseDate:`Choose Date`,prevDecade:`Previous Decade`,nextDecade:`Next Decade`,prevYear:`Previous Year`,nextYear:`Next Year`,prevMonth:`Previous Month`,nextMonth:`Next Month`,prevHour:`Previous Hour`,nextHour:`Next Hour`,prevMinute:`Previous Minute`,nextMinute:`Next Minute`,prevSecond:`Previous Second`,nextSecond:`Next Second`,am:`am`,pm:`pm`,today:`Today`,weekHeader:`Wk`,firstDayOfWeek:0,showMonthAfterYear:!1,dateFormat:`mm/dd/yy`,weak:`Weak`,medium:`Medium`,strong:`Strong`,passwordPrompt:`Enter a password`,emptyFilterMessage:`No results found`,searchMessage:`{0} results are available`,selectionMessage:`{0} items selected`,emptySelectionMessage:`No selected item`,emptySearchMessage:`No results found`,emptyMessage:`No available options`,aria:{trueLabel:`True`,falseLabel:`False`,nullLabel:`Not Selected`,star:`1 star`,stars:`{star} stars`,selectAll:`All items selected`,unselectAll:`All items unselected`,close:`Close`,previous:`Previous`,next:`Next`,navigation:`Navigation`,scrollTop:`Scroll Top`,moveTop:`Move Top`,moveUp:`Move Up`,moveDown:`Move Down`,moveBottom:`Move Bottom`,moveToTarget:`Move to Target`,moveToSource:`Move to Source`,moveAllToTarget:`Move All to Target`,moveAllToSource:`Move All to Source`,pageLabel:`Page {page}`,firstPageLabel:`First Page`,lastPageLabel:`Last Page`,nextPageLabel:`Next Page`,prevPageLabel:`Previous Page`,rowsPerPageLabel:`Rows per page`,jumpToPageDropdownLabel:`Jump to Page Dropdown`,jumpToPageInputLabel:`Jump to Page Input`,selectRow:`Row Selected`,unselectRow:`Row Unselected`,expandRow:`Row Expanded`,collapseRow:`Row Collapsed`,showFilterMenu:`Show Filter Menu`,hideFilterMenu:`Hide Filter Menu`,filterOperator:`Filter Operator`,filterConstraint:`Filter Constraint`,editRow:`Row Edit`,saveEdit:`Save Edit`,cancelEdit:`Cancel Edit`,listView:`List View`,gridView:`Grid View`,slide:`Slide`,slideNumber:`{slideNumber}`,zoomImage:`Zoom Image`,zoomIn:`Zoom In`,zoomOut:`Zoom Out`,rotateRight:`Rotate Right`,rotateLeft:`Rotate Left`,listLabel:`Option List`}},filterMatchModeOptions:{text:[py.STARTS_WITH,py.CONTAINS,py.NOT_CONTAINS,py.ENDS_WITH,py.EQUALS,py.NOT_EQUALS],numeric:[py.EQUALS,py.NOT_EQUALS,py.LESS_THAN,py.LESS_THAN_OR_EQUAL_TO,py.GREATER_THAN,py.GREATER_THAN_OR_EQUAL_TO],date:[py.DATE_IS,py.DATE_IS_NOT,py.DATE_BEFORE,py.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},unstyled:!1,csp:{nonce:void 0}},Ey=Symbol();function Dy(e,t,n,r){if(e!==t){var i=document.getElementById(n),a=i.cloneNode(!0),o=i.getAttribute(`href`).replace(e,t);a.setAttribute(`id`,n+`-clone`),a.setAttribute(`href`,o),a.addEventListener(`load`,function(){i.remove(),a.setAttribute(`id`,n),r&&r()}),i.parentNode&&i.parentNode.insertBefore(a,i.nextSibling)}}var Oy={install:function(e,t){var n=t?xy(xy({},Ty),t):xy({},Ty),r={config:ge(n),changeTheme:Dy};e.config.globalProperties.$primevue=r,e.provide(Ey,r)}}
10,ky=Wn.extend({name:`badge`,classes:{root:`p-badge p-component`}}),Ay=Gn.extend({style:ky});function jy(e){"@babel/helpers - typeof";return jy=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},jy(e)}function My(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ny(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?My(Object(n),!0).forEach(function(t){Py(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):My(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Py(e,t,n){return t=Fy(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fy(e){var t=Iy(e,`string`);return jy(t)==`symbol`?t:String(t)}function Iy(e,t){if(jy(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(jy(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Ly=Ay.extend(`badge`,{mounted:function(e,t){var n=Vn()+`_badge`,r=j.createElement(`span`,{id:n,class:!this.isUnstyled()&&this.cx(`root`),"p-bind":this.ptm(`root`,{context:Ny(Ny({},t.modifiers),{},{nogutter:String(t.value).length===1,dot:t.value==null})})});for(var i in e.$_pbadgeId=r.getAttribute(`id`),t.modifiers)!this.isUnstyled()&&j.addClass(r,`p-badge-`+i);t.value==null?!this.isUnstyled()&&j.addClass(r,`p-badge-dot`):(e.$_badgeV
10alue=jy(t.value)===`object`?t.value.value:t.value,r.appendChild(document.createTextNode(e.$_badgeValue)),String(e.$_badgeValue).length===1&&!this.isUnstyled()&&!this.isUnstyled()&&j.addClass(r,`p-badge-no-gutter`)),e.setAttribute(`data-pd-badge`,!0),!this.isUnstyled()&&j.addClass(e,`p-overlay-badge`),e.setAttribute(`data-p-overlay-badge`,`true`),e.appendChild(r),this.$el=r},updated:function(e,t){if(!this.isUnstyled()&&j.addClass(e,`p-overlay-badge`),e.setAttribute(`data-p-overlay-badge`,`true`),t.oldValue!==t.value){var n=document.getElementById(e.$_pbadgeId);e.$_badgeValue=jy(t.value)===`object`?t.value.value:t.value,this.isUnstyled()||(e.$_badgeValue?(j.hasClass(n,`p-badge-dot`)&&j.removeClass(n,`p-badge-dot`),e.$_badgeValue.length===1?j.addClass(n,`p-badge-no-gutter`):j.removeClass(n,`p-badge-no-gutter`)):!e.$_badgeValue&&!j.hasClass(n,`p-badge-dot`)&&j.addClass(n,`p-badge-dot`)),n.innerHTML=``,n.appendChild(document.createTextNode(e.$_badgeValue))}}}),Ry=Wn.extend({name:`tooltip`,classes:{root:`p-tooltip p-component`,arrow:`p-tooltip-arrow`,text:`p-tooltip-text`}}),zy=Gn.extend({style:Ry});function By(e,t){return Gy(e)||Wy(e,t)||Hy(e,t)||Vy()}function Vy(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
11In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hy(e,t){if(e){if(typeof e==`string`)return Uy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Uy(e,t)}}function Uy(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Wy(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Gy(e){if(Array.isArray(e))return e}function Ky(e){"@babel/helpers - typeof";return Ky=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ky(e)}var qy=zy.extend(`tooltip`,{beforeMount:function(e,t){var n,r=this.getTarget(e);if(r.$_ptooltipModifiers=this.getModifiers(t),t.value){if(typeof t.value==`string`)r.$_ptooltipValue=t.value,r.$_ptooltipDisabled=!1,r.$_ptooltipEscape=!0,r.$_ptooltipClass=null,r.$_ptooltipFitContent=!0,r.$_ptooltipIdAttr=Vn()+`_tooltip`,r.$_ptooltipShowDelay=0,r.$_ptooltipHideDelay=0,r.$_ptooltipAutoHide=!0;else if(Ky(t.value)===`object`&&t.value){if(Bn.isEmpty(t.value.value)||t.value.value.trim()===``)return;r.$_ptooltipValue=t.value.value,r.$_ptooltipDisabled=!!t.value.disabled===t.value.disabled&&t.value.disabled,r.$_ptooltipEscape=!!t.value.escape!==t.value.escape||t.value.escape,r.$_ptooltipClass=t.value.class||``,r.$_ptooltipFitContent=!!t.value.fitContent!==t.value.fitContent||t.value.fitContent,r.$_ptooltipIdAttr=t.value.id||Vn()+`_tooltip`,r.$_ptooltipShowDelay=t.value.showDelay||0,r.$_ptooltipHideDelay=t.value.hideDelay||0,r.$_ptooltipAutoHide=!!t.value.autoHide!==t.value.autoHide||t.value.autoHide}r.$_ptooltipZIndex=(n=t.instance.$primevue)==null||(n=n.config)==null||(n=n.zIndex)==null?void 0:n.tooltip,this.bindEvents(r,t),e.setAttribute(`data-pd-tooltip`,!0)}},updated:function(e,t){var n=this.getTarget(e);if(n.$_ptooltipModifiers=this.getModifiers(t),this.unbindEvents(n),t.value){if(typeof t.value==`string`)n.$_ptooltipValue=t.value,n.$_ptooltipDisabled=!1,n.$_ptooltipEscape=!0,n.$_ptooltipClass=null,n.$_ptooltipIdAttr=n.$_ptooltipIdAttr||Vn()+`_tooltip`,n.$_ptooltipShowDelay=0,n.$_ptooltipHideDelay=0,n.$_ptooltipAutoHide=!0,this.bindEvents(n,t);else if(Ky(t.value)===`object`&&t.value){if(Bn.isEmpty(t.value.value)||t.value.value.trim()===``){this.unbindEvents(n,t);return}n.$_ptooltipValue=t.value.value,n.$_ptooltipDisabled=!!t.value.disabled===t.value.disabled&&t.value.disabled,n.$_ptooltipEscape=!!t.value.escape!==t.value.escape||t.value.escape,n.$_ptooltipClass=t.value.class||``,n.$_ptooltipFitContent=!!t.value.fitContent!==t.value.fitContent||t.value.fitContent,n.$_ptooltipIdAttr=t.value.id||n.$_ptooltipIdAttr||Vn()+`_tooltip`,n.$_ptooltipShowDelay=t.value.showDelay||0,n.$_ptooltipHideDelay=t.value.hideDelay||0,n.$_ptooltipAutoHide=!!t.value.autoHide!==t.value.autoHide||t.value.autoHide,this.bindEvents(n,t)}}},unmounted:function(e,t){var n=this.getTarget(e);this.remove(n),this.unbindEvents(n,t),n.$_ptooltipScrollHandler&&=(n.$_ptooltipScrollHandler.destroy(),null)},timer:void 0,methods:{bindEvents:function(e,t){var n=this;e.$_ptooltipModifiers.focus?(e.$_focusevent=function(e){return n.onFocus(e,t)},e.addEventListener(`focus`,e.$_focusevent),e.addEventListener(`blur`,this.onBlur.bind(this))):(e.$_mouseenterevent=function(e){return n.onMouseEnter(e,t)},e.addEventListener(`mouseenter`,e.$_mouseenterevent),e.addEventListener(`mouseleave`,this.onMouseLeave.bind(this)),e.addEventListener(`click`,this.onClick.bind(this))),e.addEventListener(`ke
11ydown`,this.onKeydown.bind(this))},unbindEvents:function(e){e.$_ptooltipModifiers.focus?(e.removeEventListener(`focus`,e.$_focusevent),e.$_focusevent=null,e.removeEventListener(`blur`,this.onBlur.bind(this))):(e.removeEventListener(`mouseenter`,e.$_mouseenterevent),e.$_mouseenterevent=null,e.removeEventListener(`mouseleave`,this.onMouseLeave.bind(this)),e.removeEventListener(`click`,this.onClick.bind(this))),e.removeEventListener(`keydown`,this.onKeydown.bind(this))},bindScrollListener:function(e){var t=this;e.$_ptooltipScrollHandler||=new Hn(e,function(){t.hide(e)}),e.$_ptooltipScrollHandler.bindScrollListener()},unbindScrollListener:function(e){e.$_ptooltipScrollHandler&&e.$_ptooltipScrollHandler.unbindScrollListener()},onMouseEnter:function(e,t){var n=e.currentTarget,r=n.$_ptooltipShowDelay;this.show(n,t,r)},onMouseLeave:function(e){var t=e.currentTarget,n=t.$_ptooltipHideDelay;(t.$_ptooltipAutoHide||j.getAttribute(e.target,`data-pc-name`)!==`tooltip`&&j.getAttribute(e.target,`data-pc-section`)!==`arrow`&&j.getAttribute(e.target,`data-pc-section`)!==`text`&&j.getAttribute(e.relatedTarget,`data-pc-name`)!==`tooltip`&&j.getAttribute(e.relatedTarget,`data-pc-section`)!==`arrow`&&j.getAttribute(e.relatedTarget,`data-pc-section`)!==`text`)&&this.hide(t,n)},onFocus:function(e,t){var n=e.currentTarget,r=n.$_ptooltipShowDelay;this.show(n,t,r)},onBlur:function(e){var t=e.currentTarget,n=t.$_ptooltipHideDelay;this.hide(t,n)},onClick:function(e){var t=e.currentTarget,n=t.$_ptooltipHideDelay;this.hide(t,n)},onKeydown:function(e){var t=e.currentTarget.$_ptooltipHideDelay;e.code===`Escape`&&this.hide(e.currentTarget,t)},tooltipActions:function(e,t){if(!e.$_ptooltipDisabled&&j.isExist(e)){var n=this.create(e,t);this.align(e),!this.isUnstyled()&&j.fadeIn(n,250);var r=this;window.addEventListener(`resize`,function t(){j.isTouchDevice()||r.hide(e),window.removeEventListener(`resize`,t)}),n.addEventListener(`mouseleave`,function t(){r.hide(e),n.removeEventListener(`mouseleave`,t)}),this.bindScrollListener(e),Un.set(`tooltip`,n,e.$_ptooltipZIndex)}},show:function(e,t,n){var r=this;n===void 0?this.tooltipActions(e,t):this.timer=setTimeout(function(){return r.tooltipActions(e,t)},n)},tooltipRemoval:function(e){this.remove(e),this.unbindScrollListener(e)},hide:function(e,t){var n=this;clearTimeout(this.timer),t===void 0?this.tooltipRemoval(e):setTimeout(function(){return n.tooltipRemoval(e)},t)},getTooltipElement:function(e){return document.getElementById(e.$_ptooltipId)},create:function(e){var t=e.$_ptooltipModifiers,n=j.createElement(`div`,{class:!this.isUnstyled()&&this.cx(`arrow`),"p-bind":this.ptm(`arrow`,{context:t})}),r=j.createElement(`div`,{class:!this.isUnstyled()&&this.cx(`text`),"p-bind":this.ptm(`text`,{context:t})});e.$_ptooltipEscape?(r.innerHTML=``,r.appendChild(document.createTextNode(e.$_ptooltipValue))):r.innerHTML=e.$_ptooltipValue;var i=j.createElement(`div`,{id:e.$_ptooltipIdAttr,role:`tooltip`,style:{display:`inline-block`,width:e.$_ptooltipFitContent?`fit-content`:void 0,pointerEvents:!this.isUnstyled()&&e.$_ptooltipAutoHide&&`none`},class:[!this.isUnstyled()&&this.cx(`root`),e.$_ptooltipClass],"p-bind":this.ptm(`root`,{context:t})},n,r);return document.body.appendChild(i),e.$_ptooltipId=i.id,this.$el=i,i},remove:function(e){if(e){var t=this.getTooltipElement(e);t&&t.parentElement&&(Un.clear(t),document.body.removeChild(t)),e.$_ptooltipId=null}},align:function(e){var t=e.$_ptooltipModifiers;t.top?(this.alignTop(e),this.isOutOfBounds(e)&&(this.alignBottom(e),this.isOutOfBounds(e)&&this.alignTop(e))):t.left?(this.alignLeft(e),this.isOutOfBounds(e)&&(this.alignRight(e),this.isOutOfBounds(e)&&(this.alignTop(e),this.isOutOfBounds(e)&&(this.alignBottom(e),this.isOutOfBounds(e)&&this.alignLeft(e))))):t.bottom?(this.alignBottom(e),this.isOutOfBounds(e)&&(this.alignTop(e),this.isOutOfBounds(e)&&this.alignBottom(e))):(this.alignRight(e),this.isOutOfBounds(e)&&(this.alignLeft(e),this.isOutOfBounds(e)&&(this.alignTop(e),this.isOutOfBounds(e)&&(this.alignBottom(e),this.isOutOfBounds(e)&&this.alignRight(e)))))},getHostOffset:function(e){var t=e.getBoundingClientRect();return{left:t.left+j.getWindowScrollLeft(),top:t.top+j.getWindowScrollTop()}},alignRight:function(e){this.preAlign(e,`right`);var t=this.getTooltipElement(e),n=this.getHostOffset(e),r=n.left+j.getOuterWidth(e),i=n.top+(j.getOuterHeight(e)-j.getOuterHeight(t))/2;t.style.left=r+`px`,t.style.top=i+`px`},alignLeft:function(e){this.preAlign(e,`left`);var t=this.getTooltipElement(e),n=this.getHostOffset(e),r=n.left-j.getOuterWidth(t),i=n.top+(j.getOuterHeight(e)-j.getOuterHeight(t))/2;t.style.left=r+`px`,t.style.top=i+`px`},alignTop:function(e){this.preAlign(e,`top`);var t=this.getTooltipElement(e),n=this.getHostOffset(e),r=n.left+(j.getOuterWidth(e)-j.getOuterWidth(t))/2,i=n.top-j.getOuterHeight(t);t.style.left=r+`px`,t.style.top=i+`px`},alignBottom:function(e){this.preAlign(e,`bottom`);var t=this.getTooltipElement(e),n=this.getHostOffset(e),r=n.left+(j.getOuterWidth(e)-j.getOuterWidth(t))/2,i=n.top+j.getOuterHeight(e);t.style.left=r+`px`,t.style.top=i+`px`},preAlign:function(e,t){var n=this.getTooltipElement(e);n.style.left=`-999px`,n.style.top=`-999px`,j.removeClass(n,`p-tooltip-${n.$_ptooltipPosition}`),!this.isUnstyled()&&j.addClass(n,`p-tooltip-${t}`),n.$_ptooltipPosition=t,n.setAttribute(`data-p-position`,t);var r=j.findSingle(n,`[data-pc-section="arrow"]`);r.style.top=t===`bottom`?`0`:t===`right`||t===`left`||t!==`right`&&t!==`left`&&t!==`top`&&t!==`bottom`?`50%`:null,r.style.bottom=t===`top`?`0`:null,r.style.left=t===`right`||t!==`right`&&t!==`left`&&t!==`top`&&t!==`bottom`?`0`:t===`top`||t===`bottom`?`50%`:null,r.style.right=t===`left`?`0`:null},isOutOfBounds:function(e){var t=this.getTooltipElement(e),n=t.getBoundingClientRect(),r=n.top,i=n.left,a=j.getOuterWidth(t),o=j.getOuterHeight(t),s=j.getViewport();return i+a>s.width||i<0||r<0||r+o>s.height},getTarget:function(e){return j.hasClass(e,`p-inputwrapper`)?j.findSingle(e,`input`):e},getModifiers:function(e){return e.modifiers&&Object.keys(e.modifiers).length?e.modifiers:e.arg&&Ky(e.arg)===`object`?Object.entries(e.arg).reduce(function(e,t){var n=By(t,2),r=n[0],i=n[1];return(r===`event`||r===`position`)&&(e[i]=!0),e},{}):{}}}}),Jy=Gn.extend({}).extend(`styleclass`,{mounted:function(e,t){e.setAttribute(`data-pd-styleclass`,!0),this.bind(e,t)},unmounted:function(e){this.unbind(e)},methods:{bind:function(e,t){var n=this,r=this.resolveTarget(e,t);this.$el=r,e.$_pstyleclass_clicklistener=function(){t.value.toggleClass?j.hasClass(r,t.value.toggleClass)?j.removeClass(r,t.value.toggleClass):j.addClass(r,t.value.toggleClass):r.offsetParent===null?n.enter(r,e,t):n.leave(r,t)},e.addEventListener(`click`,e.$_pstyleclass_clicklistener)},unbind:function(e){e.$_pstyleclass_clicklistener&&=(e.removeEventListener(`click`,e.$_pstyleclass_clicklistener),null),this.unbindDocumentListener(e)}
11,enter:function(e,t,n){n.value.enterActiveClass?e.$_pstyleclass_animating||(e.$_pstyleclass_animating=!0,n.value.enterActiveClass===`slidedown`&&(e.style.height=`0px`,j.removeClass(e,`hidden`),e.style.maxHeight=e.scrollHeight+`px`,j.addClass(e,`hidden`),e.style.height=``),j.addClass(e,n.value.enterActiveClass),n.value.enterClass&&j.removeClass(e,n.value.enterClass),n.value.enterFromClass&&j.removeClass(e,n.value.enterFromClass),e.$p_styleclass_enterlistener=function(){j.removeClass(e,n.value.enterActiveClass),n.value.enterToClass&&j.addClass(e,n.value.enterToClass),e.removeEventListener(`animationend`,e.$p_styleclass_enterlistener),n.value.enterActiveClass===`slidedown`&&(e.style.maxHeight=``),e.$_pstyleclass_animating=!1},e.addEventListener(`animationend`,e.$p_styleclass_enterlistener)):(n.value.enterClass&&j.removeClass(e,n.value.enterClass),n.value.enterFromClass&&j.removeClass(e,n.value.enterFromClass),n.value.enterToClass&&j.addClass(e,n.value.enterToClass)),n.value.hideOnOutsideClick&&this.bindDocumentListener(e,t,n)},leave:function(e,t){t.value.leaveActiveClass?e.$_pstyleclass_animating||(e.$_pstyleclass_animating=!0,j.addClass(e,t.value.leaveActiveClass),t.value.leaveClass&&j.removeClass(e,t.value.leaveClass),t.value.leaveFromClass&&j.removeClass(e,t.value.leaveFromClass),e.$p_styleclass_leavelistener=function(){j.removeClass(e,t.value.leaveActiveClass),t.value.leaveToClass&&j.addClass(e,t.value.leaveToClass),e.removeEventListener(`animationend`,e.$p_styleclass_leavelistener),e.$_pstyleclass_animating=!1},e.addEventListener(`animationend`,e.$p_styleclass_leavelistener)):(t.value.leaveClass&&j.removeClass(e,t.value.leaveClass),t.value.leaveFromClass&&j.removeClass(e,t.value.leaveFromClass),t.value.leaveToClass&&j.addClass(e,t.value.leaveToClass)),t.value.hideOnOutsideClick&&this.unbindDocumentListener(e)},resolveTarget:function(e,t){switch(t.value.selector){case`@next`:return e.nextElementSibling;case`@prev`:return e.previousElementSibling;case`@parent`:return e.parentElement;case`@grandparent`:return e.parentElement.parentElement;default:return document.querySelector(t.value.selector)}},bindDocumentListener:function(e,t,n){var r=this;e.$p_styleclass_documentlistener||(e.$p_styleclass_documentlistener=function(i){!r.isVisible(e)||getComputedStyle(e).getPropertyValue(`position`)===`static`?r.unbindDocumentListener(e):r.isOutsideClick(i,e,t)&&r.leave(e,n)},e.ownerDocument.addEventListener(`click`,e.$p_styleclass_documentlistener))},unbindDocumentListener:function(e){e.$p_styleclass_documentlistener&&=(e.ownerDocument.removeEventListener(`click`,e.$p_styleclass_documentlistener),null)},isVisible:function(e){return e.offsetParent!==null},isOutsideClick:function(e,t,n){return!n.isSameNode(e.target)&&!n.contains(e.target)&&!t.contains(e.target)}}}),Yy=Gn.extend({style:{}});function Xy(e){"@babel/helpers - typeof";return Xy=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Xy(e)}function Zy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qy(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Zy(Object(n),!0).forEach(function(t){$y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zy(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $y(e,t,n){return t=eb(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eb(e){var t=tb(e,`string`);return Xy(t)==`symbol`?t:String(t)}function tb(e,t){if(Xy(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Xy(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var nb=Yy.extend(`focustrap`,{mounted:function(e,t){(t.value||{}).disabled||(this.createHiddenFocusableElements(e,t),this.bind(e,t),this.autoElementFocus(e,t)),e.setAttribute(`data-pd-focustrap`,!0),this.$el=e},updated:function(e,t){(t.value||{}).disabled&&this.unbind(e)},unmounted:function(e){this.unbind(e)},methods:{getComputedSelector:function(e){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${e??``}`},bind:function(e,t){var n=this,r=t.value||{},i=r.onFocusIn,a=r.onFocusOut;e.$_pfocustrap_mutationobserver=new MutationObserver(function(t){t.forEach(function(t){t.type===`childList`&&!e.contains(document.activeElement)&&j.focus(function t(r){var i=j.isFocusableElement(r)?j.isFocusableElement(r,
11n.getComputedSelector(e.$_pfocustrap_focusableselector))?r:j.getFirstFocusableElement(e,n.getComputedSelector(e.$_pfocustrap_focusableselector)):j.getFirstFocusableElement(r);return Bn.isNotEmpty(i)?i:r.nextSibling&&t(r.nextSibling)}(t.nextSibling))})}),e.$_pfocustrap_mutationobserver.disconnect(),e.$_pfocustrap_mutationobserver.observe(e,{childList:!0}),e.$_pfocustrap_focusinlistener=function(e){return i&&i(e)},e.$_pfocustrap_focusoutlistener=function(e){return a&&a(e)},e.addEventListener(`focusin`,e.$_pfocustrap_focusinlistener),e.addEventListener(`focusout`,e.$_pfocustrap_focusoutlistener)},unbind:function(e){e.$_pfocustrap_mutationobserver&&e.$_pfocustrap_mutationobserver.disconnect(),e.$_pfocustrap_focusinlistener&&e.removeEventListener(`focusin`,e.$_pfocustrap_focusinlistener)&&(e.$_pfocustrap_focusinlistener=null),e.$_pfocustrap_focusoutlistener&&e.removeEventListener(`focusout`,e.$_pfocustrap_focusoutlistener)&&(e.$_pfocustrap_focusoutlistener=null)},autoFocus:function(e){this.autoElementFocus(this.$el,{value:Qy(Qy({},e),{},{autoFocus:!0})})},autoElementFocus:function(e,t){var n=t.value||{},r=n.autoFocusSelector,i=r===void 0?``:r,a=n.firstFocusableSelector,o=a===void 0?``:a,s=n.autoFocus,c=s!==void 0&&s,l=j.getFirstFocusableElement(e,`[autofocus]${this.getComputedSelector(i)}`);c&&!l&&(l=j.getFirstFocusableElement(e,this.getComputedSelector(o))),j.focus(l)},onFirstHiddenElementFocus:function(e){var t,n=e.currentTarget,r=e.relatedTarget,i=r===n.$_pfocustrap_lasthiddenfocusableelement||!((t=this.$el)!=null&&t.contains(r))?j.getFirstFocusableElement(n.parentElement,this.getComputedSelector(n.$_pfocustrap_focusableselector)):n.$_pfocustrap_lasthiddenfocusableelement;j.focus(i)},onLastHiddenElementFocus:function(e){var t,n=e.currentTarget,r=e.relatedTarget,i=r===n.$_pfocustrap_firsthiddenfocusableelement||!((t=this.$el)!=null&&t.contains(r))?j.getLastFocusableElement(n.parentElement,this.getComputedSelector(n.$_pfocustrap_focusableselector)):n.$_pfocustrap_firsthiddenfocusableelement;j.focus(i)},createHiddenFocusableElements:function(e,t){var n=this,r=t.value||{},i=r.tabIndex,a=i===void 0?0:i,o=r.firstFocusableSelector,s=o===void 0?``:o,c=r.lastFocusableSelector,l=c===void 0?``:c,u=function(e){return j.createElement(`span`,{class:`p-hidden-accessible p-hidden-focusable`,tabIndex:a,role:`presentation`,"aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:e?.bind(n)})},d=u(this.onFirstHiddenElementFocus),f=u(this.onLastHiddenElementFocus);d.$_pfocustrap_lasthiddenfocusableelement=f,d.$_pfocustrap_focusableselector=s,d.setAttribute(`data-pc-section`,`firstfocusableelement`),f.$_pfocustrap_firsthiddenfocusableelement=d,f.$_pfocustrap_focusableselector=l,f.setAttribute(`data-pc-section`,`lastfocusableelement`),e.prepend(d),e.append(f)}}}),rb=Gn.extend({});function ib(e){"@babel/helpers - typeof";return ib=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ib(e)}function ab(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ob(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ab(Object(n),!0).forEach(function(t){sb(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ab(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sb(e,t,n){return t=cb(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cb(e){var t=lb(e,`string`);return ib(t)==`symbol`?t:String(t)}function lb(e,t){if(ib(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(ib(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ub(e,t){return hb(e)||mb(e,t)||fb(e,t)||db()}
11function db(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
12In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fb(e,t){if(e){if(typeof e==`string`)return pb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pb(e,t)}}function pb(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function mb(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function hb(e){if(Array.isArray(e))return e}var gb=rb.extend(`animateonscroll`,{created:function(){this.$value=this.$value||{},this.$el.style.opacity=this.$value.enterClass?`0`:``},mounted:function(){this.$el.setAttribute(`data-pd-animateonscroll`,!0),this.bindIntersectionObserver()},unmounted:function(){this.unbindAnimationEvents(),this.unbindIntersectionObserver()},observer:void 0,resetObserver:void 0,isObserverActive:!1,animationState:void 0,animationEndListener:void 0,methods:{bindAnimationEvents:function(){var e=this;this.animationEndListener||(this.animationEndListener=function(){j.removeMultipleClasses(e.$el,[e.$value.enterClass,e.$value.leaveClass]),!e.$modifiers.once&&e.resetObserver.observe(e.$el),e.unbindAnimationEvents()},this.$el.addEventListener(`animationend`,this.animationEndListener))},bindIntersectionObserver:function(){var e=this,t=this.$value,n=t.root,r=t.rootMargin,i=t.threshold,a={root:n,rootMargin:r,threshold:i===void 0?.5:i};this.observer=new IntersectionObserver(function(t){var n=ub(t,1)[0];e.isObserverActive?n.boundingClientRect.top>0&&(n.isIntersecting?e.enter():e.leave()):n.isIntersecting&&e.enter(),e.isObserverActive=!0},a),setTimeout(function(){return e.observer.observe(e.$el)},0),this.resetObserver=new IntersectionObserver(function(t){var n=ub(t,1)[0];n.boundingClientRect.top>0&&!n.isIntersecting&&(e.$el.style.opacity=e.$value.enterClass?`0`:``,j.removeMultipleClasses(e.$el,[e.$value.enterClass,e.$value.leaveClass]),e.resetObserver.unobserve(e.$el)),e.animationState=void 0},ob(ob({},a),{},{threshold:0}))},enter:function(){this.animationState!==`enter`&&this.$value.enterClass&&(this.$el.style.opacity=``,j.removeMultipleClasses(this.$el,this.$value.leaveClass),j.addMultipleClasses(this.$el,this.$value.enterClass),this.$modifiers.once&&this.unbindIntersectionObserver(this.$el),this.bindAnimationEvents(),this.animationState=`enter`)},leave:function(){this.animationState!==`leave`&&this.$value.leaveClass&&(this.$el.style.opacity=this.$value.enterClass?`0`:``,j.removeMultipleClasses(this.$el,this.$value.enterClass),j.addMultipleClasses(this.$el,this.$value.leaveClass),this.bindAnimationEvents(),this.animationState=`leave`)},unbindAnimationEvents:function(){this.animationEndListener&&=(this.$el.removeEventListener(`animationend`,this.animationEndListener),void 0)},unbindIntersectionObserver:function(){var e,t;(e=this.observer)==null||e.unobserve(this.$el),(t=this.resetObserver)==null||t.unobserve(this.$el),this.isObserverActive=!1}}}),_b=p(({vueApp:e})=>{let{usePrimeVue:t=!0,options:r={}}=n()?.public?.primevue??{},i={};t&&e.use(Oy,{...r,...i}),e.directive(`badge`,Ly),e.directive(`tooltip`,qy),e.directive(`ripple`,Kn),e.directive(`styleclass`,Jy),e.directive(`focustrap`,nb),e.directive(`animateonscroll`,gb)}),vb=p(({vueApp:e})=>{}),yb={log:`log`,debug:`debug`,info:`info`,warn:`warn`,error:`error`},bb=console,xb={};Object.keys(yb).forEach(e=>{xb[e]=bb[e]});var Sb=`Datadog Browser SDK:`,R={debug:xb.debug.bind(bb,Sb),log:xb.log.bind(bb,Sb),info:xb.info.bind(bb,Sb),warn:xb.warn.bind(bb,Sb),error:xb.error.bind(bb,Sb)},Cb=`https://docs.datadoghq.com`,wb=`${Cb}/real_user_monitoring/browser/troubleshooting`,Tb=`More details:`;function Eb(e,t){return(...n)=>{try{return e(...n)}catch(e){R.error(t,e)}}}function Db(e){return e!==0&&Math.random()*100<=e}function Ob(e,t){return+e.toFixed(t)}function kb(e){return Ab(e)&&e>=0&&e<=100}function Ab(e){return typeof e==`number`}function jb(e){try{return JSON.parse(e)}catch{}}function Mb(e){return{...e}}function Nb(e,t){return Object.keys(e).some(n=>e[n]===t)}function Pb(e){return Object.keys(e).length===0}function Fb(e,t){let n={};for(let r of Object.keys(e))n[r]=t(e[r]);return n}function Ib(){if(typeof globalThis==`object`)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let e=_dd_temp_;return delete Object.prototype._dd_temp_,typeof e!=`object`&&(e=typeof self==`object`?self:typeof window==`object`?window:{}),e}var Lb=Ib(),Rb=`WorkerGlobalScope`in Lb;function zb(e,t){let n=Ib(),r;return n.Zone&&typeof n.Zone.__symbol__==`function`&&(r=e[n.Zone.__symbol__(t)]),r||=e[t],r}var Bb,Vb=!1;function Hb(e){Bb=e}function Ub(e){Vb=e}function z(e){return function(...t){return Wb(e,this,t)}}function Wb(e,t,n){try{return e.apply(t,n)}catch(e){Gb(e)}}function Gb(e){if(Kb(e),Bb)try{Bb(e)}catch(e){Kb(e)}}function Kb(...e){Vb&&R.error(`[MONITOR]`,...e)}function qb(e,t){return zb(Ib(),`setTimeout`)(z(e),t)}function Jb(e){zb(Ib(),`clearTimeout`)(e)}function Yb(e,t){return zb(Ib(),`setInterval`)(z(e),t)}function Xb(e){zb(Ib(),`clearInterval`)(e)}function Zb(e){let t=Lb.queueMicrotask;typeof t==`function`?t(z(e)):Promise.resolve().then(z(e))}var B=class{constructor(e){this.onFirstSubscribe=e,this.observers=[]}subscribe(e){return this.addObserver(e),{unsubscribe:()=>this.removeObserver(e)}}
12notify(e){this.observers.forEach(t=>t(e))}addObserver(e){this.observers.push(e),this.observers.length===1&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(e){this.observers=this.observers.filter(t=>e!==t),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}};function Qb(...e){return new B(t=>{let n=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>n.forEach(e=>e.unsubscribe())})}var $b=class extends B{constructor(e){super(),this.maxBufferSize=e,this.buffer=[]}notify(e){this.buffer.push(e),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(e)}subscribe(e){let t=!1;return Zb(()=>{for(let n of this.buffer){if(t)return;e(n)}t||this.addObserver(e)}),{unsubscribe:()=>{t=!0,this.removeObserver(e)}}}unbuffer(){Zb(()=>{this.maxBufferSize=this.buffer.length=0})}},ex=1e3,tx=60*ex,nx=60*tx,rx=24*nx*365;function ix(e){return{relative:e,timeStamp:ox(e)}}function ax(e){return{relative:mx(e),timeStamp:e}}function ox(e){let t=cx()-performance.now();return t>vx()?Math.round(px(t,e)):hx(e)}function sx(){return Math.round(cx()-px(vx(),performance.now()))}function V(e){return Ab(e)?Ob(e*1e6,0):e}function cx(){return new Date().getTime()}function lx(){return cx()}function ux(){return performance.now()}function dx(){return{relative:ux(),timeStamp:lx()}}function fx(){return{relative:0,timeStamp:vx()}}function H(e,t){return t-e}function px(e,t){return e+t}function mx(e){return e-vx()}function hx(e){return Math.round(px(vx(),e))}function gx(e){return e<rx}var _x;function vx(){return _x===void 0&&(_x=performance.timing?.navigationStart??performance.timeOrigin),_x}function yx(e,t,n){let r=n&&n.leading!==void 0?n.leading:!0,i=n&&n.trailing!==void 0?n.trailing:!0,a=!1,o,s;return{throttled:(...n)=>{if(a){o=n;return}r?e(...n):o=n,a=!0,s=qb(()=>{i&&o&&e(...o),a=!1,o=void 0},t)},cancel:()=>{Jb(s),a=!1,o=void 0}}}function U(){}function bx(e){return e?(parseInt(e,10)^Math.random()*16>>parseInt(e,10)/4).toString(16):`10000000-1000-4000-8000-100000000000`.replace(/[018]/g,bx)}var xx=/(\S+?)\s*=\s*(.+?)(?:;|$)/g;function Sx(e,t){for(xx.lastIndex=0;;){let n=xx.exec(e);if(n){if(n[1]===t)return n[2]}else break}}function Cx(e){let t=new Map;for(xx.lastIndex=0;;){let n=xx.exec(e);if(n){let e=n[1],r=n[2];t.has(e)?t.get(e).push(r):t.set(e,[r])}else break}return t}function wx(e){let t=new Map;for(xx.lastIndex=0;;){let n=xx.exec(e);if(n)t.set(n[1],n[2]);else break}return t}function Tx(e,t,n=``){let r=e.charCodeAt(t-1),i=r>=55296&&r<=56319?t+1:t;return e.length<=i?e:`${e.slice(0,i)}${n}`}function Ex(){return kx()===0}function Dx(){return kx()===1}var Ox;function kx(){return Ox??=Ax()}function Ax(e=window){let t=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(t)?0:e.navigator.vendor?.indexOf(`Apple`)===0||/safari/i.test(t)&&!/chrome|android/i.test(t)?1:2}function jx(e){return Px(e,location.href).href}function Mx(e){try{return!!Px(e)}catch{return!1}}function Nx(e){let t=Px(e).pathname;return t[0]===`/`?t:`/${t}`}function Px(e,t){let{URL:n}=Ix();try{return t===void 0?new n(e):new n(e,t)}catch(e){throw Error(`Failed to construct URL: ${String(e)}`)}}var Fx;function Ix(){if(!Fx){let e,t;try{e=document.createElement(`iframe`),e.style.display=`none`,document.body.appendChild(e),t=e.contentWindow??Lb}catch{t=Lb}Fx={URL:t.URL},e?.remove()}return Fx}function Lx(e,t,n=0,r){let i=new Date;i.setTime(i.getTime()+n);let a=`expires=${i.toUTCString()}`,o=r&&r.crossSite?`none`:`strict`,s=r&&r.domain?`;domain=${r.domain}`:``,c=r&&r.secure?`;secure`:``,l=r&&r.partitioned?`;partitioned`:``;document.cookie=`${e}=${t};${a};path=/;samesite=${o}${s}${c}${l}`}function Rx(e){return Sx(document.cookie,e)}function zx(e){return Cx(document.cookie).get(e)||[]}var Bx;function Vx(e){return Bx||=wx(document.cookie),Bx.get(e)}function Hx(e,t){Lx(e,``,0,t)}function Ux(e){if(document.cookie===void 0||document.cookie===null)return!1;try{let t=`dd_cookie_test_${bx()}`,n=`test`;Lx(t,n,tx,e);let r=Rx(t)===n;return Hx(t,e),r}catch(e){return R.error(e),!1}}var Wx;function Gx(e=location.hostname,t=document.referrer){if(Wx===void 0){let n=Kx(e,t);if(n){let e=`dd_site_test_${bx()}`,t=n.split(`.`),r=t.pop();for(;t.length&&!Rx(e);)r=`${t.pop()}.${r}`,Lx(e,`test`,ex,{domain:r});Hx(e,{domain:r}),Wx=r}}return Wx}function Kx(e,t){try{return e||Px(t).hostname}catch{}}var qx=`_dd_s`;function Jx(e,t){for(let n=e.length-1;n>=0;--n){let r=e[n];if(t(r,n,e))return r}}function Yx(e){return Object.values(e)}function Xx(e){return Object.entries(e)}var Zx=4*nx,Qx=15*tx,$x=rx,eS={COOKIE:`cookie`,MEMORY:`memory`,LOCAL_STORAGE:`local-storage`},tS=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function nS(e){return!!e&&(e.indexOf(`&`)!==-1||tS.test(e))}function rS(e,t){let n={isExpired:`1`};
12return t.trackAnonymousUser&&e?.anonymousId&&(n.anonymousId=e?.anonymousId),n}function iS(e){return Pb(e)}function aS(e){return!iS(e)}function oS(e){return e.isExpired!==void 0||!sS(e)}function sS(e){return(e.created===void 0||cx()-Number(e.created)<Zx)&&(e.expire===void 0||cx()<Number(e.expire))}function cS(e){e.expire=String(cx()+Qx)}function lS(e){return Xx(e).map(([e,t])=>e===`anonymousId`?`aid=${t}`:`${e}=${t}`).join(`&`)}function uS(e){let t={};return nS(e)&&e.split(`&`).forEach(e=>{let n=tS.exec(e);if(n!==null){let[,e,r]=n;e===`aid`?t.anonymousId=r:t[e]=r}}),t}var dS=`_dd_r`,fS=`_dd_l`,pS=`logs`;function mS(e){if(!Vx(`_dd_s`)){let t=Vx(`_dd`),n=Vx(dS),r=Vx(fS),i={};t&&(i.id=t),r&&/^[01]$/.test(r)&&(i[pS]=r),n&&/^[012]$/.test(n)&&(i.rum=n),aS(i)&&(cS(i),e.persistSession(i))}}function hS(e){let t=yS(e);return t&&Ux(t)?{type:eS.COOKIE,cookieOptions:t}:void 0}function gS(e,t){let n={isLockEnabled:Ex(),persistSession:n=>_S(t,e,n,Qx),retrieveSession:()=>vS(t,e),expireSession:n=>_S(t,e,rS(n,e),Zx)};return mS(n),n}function _S(e,t,n,r){let i=lS(n);t.betaEncodeCookieOptions&&(i=lS({...n,...Pb(n)?{}:{c:bS(e)}})),Lx(qx,i,t.trackAnonymousUser?$x:r,e)}function vS(e,t){return t.betaEncodeCookieOptions?xS(e):uS(Rx(qx))}function yS(e){let t={};if(t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains){let e=Gx();if(!e)return;t.domain=e}return t}function bS(e){let t=e.domain?e.domain.split(`.`).length-1:0,n=0;return n|=0,n|=t<<1,n|=+!!e.crossSite,n.toString(16)}function xS(e){let t=zx(qx),n=bS(e),r;for(let e of t.reverse())if(r=uS(e),r.c===n)break;return r==null||delete r.c,r??{}}var SS=`_dd_test_`;function CS(){try{let e=bx(),t=`${SS}${e}`;localStorage.setItem(t,e);let n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:eS.LOCAL_STORAGE}:void 0}catch{return}}function wS(e){return{isLockEnabled:!1,persistSession:TS,retrieveSession:ES,expireSession:t=>DS(t,e)}}function TS(e){localStorage.setItem(qx,lS(e))}function ES(){return uS(localStorage.getItem(qx))}function DS(e,t){TS(rS(e,t))}var OS=ex,kS=`--`,AS=[],jS;function MS(e,t,n=0){var r;let{isLockEnabled:i,persistSession:a,expireSession:o}=t,s=e=>a({...e,lock:l}),c=()=>{let{lock:e,...n}=t.retrieveSession();return{session:n,lock:e&&!IS(e)?e:void 0}};if(jS||=e,e!==jS){AS.push(e);return}if(i&&n>=100){PS(t);return}let l,u=c();if(i){if(u.lock){NS(e,t,n);return}if(l=FS(),s(u.session),u=c(),u.lock!==l){NS(e,t,n);return}}let d=e.process(u.session);if(i&&(u=c(),u.lock!==l)){NS(e,t,n);return}if(d&&(oS(d)?o(d):(cS(d),i?s(d):a(d))),i&&!(d&&oS(d))){if(u=c(),u.lock!==l){NS(e,t,n);return}a(u.session),d=u.session}(r=e.after)==null||r.call(e,d||u.session),PS(t)}function NS(e,t,n){qb(()=>{MS(e,t,n+1)},10)}function PS(e){jS=void 0;let t=AS.shift();t&&MS(t,e)}function FS(){return bx()+kS+lx()}function IS(e){let[,t]=e.split(kS);return!t||H(Number(t),lx())>OS}var LS=`_DD_SESSION`;function RS(){return{type:eS.MEMORY}}function zS(e){return{expireSession:t=>HS(t,e),isLockEnabled:!1,persistSession:VS,retrieveSession:BS}}function BS(){let e=Ib();return e._DD_SESSION||(e[LS]={}),Mb(e[LS])}function VS(e){let t=Ib();t[LS]=Mb(e)}function HS(e,t){VS(rS(e,t))}var US=ex;function WS(e){let{sessionPersistence:t}=e,n=GS(t,e);for(let t of n){let n=KS(t,e);if(n!==void 0)return n}}function GS(e,t){return Array.isArray(e)?e:e===void 0?t.allowFallbackToLocalStorage?[eS.COOKIE,eS.LOCAL_STORAGE]:[eS.COOKIE]:[e]}function KS(e,t){switch(e){case eS.COOKIE:return hS(t);case eS.LOCAL_STORAGE:return CS();case eS.MEMORY:return RS();default:R.error(`Invalid session persistence '${String(e)}'`);return}}function qS(e,t){return e.type===eS.COOKIE?gS(t,e.cookieOptions):e.type===eS.LOCAL_STORAGE?wS(t):zS(t)}function JS(e,t,n,r,i=qS(e,t)){let a=new B,o=new B,s=new B,c=Yb(p,US),l;h();let{throttled:u,cancel:d}=yx(()=>{MS({process:e=>{if(iS(e))return;let t=m(e);return g(t),t},after:e=>{aS(e)&&!_()&&b(e),l=e}},i)},US);function f(){MS({process:e=>_()?m(e):void 0},i)}function p(){let e=i.retrieveSession();oS(e)?MS({process:e=>oS(e)?rS(e,t):void 0,after:m},i):m(e)}function m(e){return oS(e)&&(e=rS(e,t)),_()&&(v(e)?y():(s.notify({previousState:l,newState:e}),l=e)),e}function h(){MS({process:e=>{if(iS(e))return e.anonymousId=bx(),rS(e,t)},after:e=>{l=e}},i)}function g(e){if(iS(e))return!1;let i=r(e[n]);e[n]=i,delete e.isExpired,i!==`0`&&!e.id&&(e.id=bx(),e.created=String(cx())),t.trackA
12nonymousUser&&!e.anonymousId&&(e.anonymousId=bx())}function _(){return l?.[n]!==void 0}function v(e){return l.id!==e.id||l[n]!==e[n]}function y(){l=rS(l,t),o.notify()}function b(e){l=e,a.notify()}function x(e){MS({process:t=>({...t,...e}),after:m},i)}return{expandOrRenewSession:u,expandSession:f,getSession:()=>l,renewObservable:a,expireObservable:o,sessionStateUpdateObservable:s,restartSession:h,expire:e=>{d(),e===!1&&l&&delete l.anonymousId,i.expireSession(l),m(rS(l,t))},stop:()=>{Xb(c)},updateSessionState:x}}var YS={GRANTED:`granted`,NOT_GRANTED:`not-granted`};function XS(e){let t=new B;return{tryToInit(t){e||=t},update(n){e=n,t.notify()},isGranted(){return e===YS.GRANTED},observable:t}}function ZS(e){return e===null?`null`:Array.isArray(e)?`array`:typeof e}function QS(e){return ZS(e)===`object`}function $S(e){let t=ZS(e);return t===`string`||t===`function`||e instanceof RegExp}function eC(e,t,n=!1){return e.some(e=>{try{if(typeof e==`function`)return e(t);if(e instanceof RegExp)return e.lastIndex=0,e.test(t);if(typeof e==`string`)return n?t.startsWith(e):e===t}catch(e){R.error(e)}return!1})}function tC(e){return e}var nC=[`chrome-extension://`,`moz-extension://`];function rC(e){return nC.some(t=>e.includes(t))}function iC(e,t=``){return!rC(e)&&rC(t.split(`
13`).filter(e=>{let t=e.trim();return t.length&&/^at\s+|@/.test(t)})[1]||``)}var aC="Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided.",oC=`SDK initialized on a non-allowed domain.`;function sC(e,t){let n=tC(Ib().location),r=n?n.origin:``,i=e.allowedTrackingOrigins;if(!i)return!iC(r,t)||(R.error(aC),!1);let a=eC(i,r);return a||R.error(oC),a}var cC=`datad0g.com`,lC=`datadoghq.com`,uC=`datadoghq.eu`,dC=`ddog-gov.com`,fC=`us2.ddog-gov.com`,pC=`pci.browser-intake-datadoghq.com`,mC=[`ddsource`,`dd-api-key`,`dd-request-id`];function hC(e,t,n){let r=gC(e,t);return{build(i,a){let o=vC(e,t,i,a,n);return r(o)},trackType:t}}function gC(e,t){let n=`/api/v2/${t}`,r=e.proxy;if(typeof r==`string`){let e=jx(r);return t=>`${e}?ddforward=${encodeURIComponent(`${n}?${t}`)}`}if(typeof r==`function`)return e=>r({path:n,parameters:e});let i=_C(t,e);return e=>`https://${i}${n}?${e}`}function _C(e,t){let{site:n=lC,internalAnalyticsSubdomain:r}=t;if(e===`logs`&&t.usePciIntake&&n===`datadoghq.com`)return pC;if(r&&n===`datadoghq.com`)return`${r}.${lC}`;if(n===`dd0g-gov.com`)return`http-intake.logs.${n}`;let i=n.split(`.`),a=i.pop();return`browser-intake-${i.join(`-`)}.${a}`}function vC({clientToken:e,internalAnalyticsSubdomain:t,source:n=`browser`},r,i,{retry:a,encoding:o},s=[]){let c=[`ddsource=${n}`,`dd-api-key=${e}`,`dd-evp-origin-version=6.33.0`,`dd-evp-origin=browser`,`dd-request-id=${bx()}`].concat(s);return o&&c.push(`dd-evp-encoding=${o}`),r===`rum`&&(c.push(`batch_time=${lx()}`,`_dd.api=${i}`),a&&c.push(`_dd.retry_count=${a.count}`,`_dd.retry_after=${a.lastFailureStatus}`)),t&&c.reverse(),c.join(`&`)}function yC(e){let t=e.site||`datadoghq.com`,n=bC(e.source),r=xC({...e,site:t,source:n});return{replica:SC({...e,site:t,source:n}),site:t,source:n,...r}}function bC(e){return e===`flutter`||e===`unity`?e:`browser`}function xC(e){return{logsEndpointBuilder:hC(e,`logs`),rumEndpointBuilder:hC(e,`rum`),profilingEndpointBuilder:hC(e,`profile`),sessionReplayEndpointBuilder:hC(e,`replay`),exposuresEndpointBuilder:hC(e,`exposures`),flagEvaluationEndpointBuilder:hC(e,`flagevaluation`)}}function SC(e){if(!e.replica)return;let t={...e,site:lC,clientToken:e.replica.clientToken};return{logsEndpointBuilder:hC(t,`logs`),rumEndpointBuilder:hC(t,`rum`,[`application.id=${e.replica.applicationId}`])}}function CC(e){return mC.every(t=>e.includes(t))}var wC={ALLOW:`allow`,MASK:`mask`,MASK_USER_INPUT:`mask-user-input`,MASK_UNLESS_ALLOWLISTED:`mask-unless-allowlisted`},TC={ALL:`all`,SAMPLED:`sampled`};function EC(e,t){return e!=null&&typeof e!=`string`?(R.error(`${t} must be defined as a string`),!1):!0}function DC(e){return e&&typeof e==`string`&&!/(datadog|ddog|datad0g|dd0g)/.test(e)?(R.error(`Site should be a valid Datadog site. ${Tb} ${Cb}/getting_started/site/.`),!1):!0}function OC(e,t){return e!==void 0&&!kb(e)?(R.error(`${t} Sample Rate should be a number between 0 and 100`),!1):!0}function kC(e,t){if(!e||!e.clientToken){R.error(`Client Token is not configured, we will not send any data.`);return}if(e.allowedTrackingOrigins!==void 0&&!Array.isArray(e.allowedTrackingOrigins)){R.error(`Allowed Tracking Origins must be an array`);return}if(DC(e.site)&&OC(e.sessionSampleRate,`Session`)&&OC(e.telemetrySampleRate,`Telemetry`)&&OC(e.telemetryConfigurationSampleRate,`Telemetry Configuration`)&&OC(e.telemetryUsageSampleRate,`Telemetry Usage`)&&EC(e.version,`Version`)&&EC(e.env,`Env`)&&EC(e.service,`Service`)&&sC(e,t??``)){if(e.trackingConsent!==void 0&&!Nb(YS,e.trackingConsent)){R.error(`Tracking Consent should be either "granted" or "not-granted"`);return}return{beforeSend:e.beforeSend&&Eb(e.beforeSend,`beforeSend threw an error:`),sessionStoreStrategyType:Rb?void 0:WS(e),sessionSampleRate:e.sessionSampleRate??100,telemetrySampleRate:e.telemetrySampleRate??20,telemetryConfigurationSampleRate:e.telemetryConfigurationSampleRate??5,telemetryUsageSampleRate:e.telemetryUsageSampleRate??5,service:e.service??void 0,env:e.env??void 0,version:e.version??void 0,datacenter:e.datacenter??void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:e.trackingConsent??YS.GRANTED,trackAnonymousUser:e.trackA
13nonymousUser??!0,storeContextsAcrossPages:!!e.storeContextsAcrossPages,betaEncodeCookieOptions:!!e.betaEncodeCookieOptions,variant:e.variant,sdkVersion:e.sdkVersion,...yC(e)}}}function AC(e){return{session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:e.telemetryUsageSampleRate,use_before_send:!!e.beforeSend,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,track_anonymous_user:e.trackAnonymousUser,session_persistence:Array.isArray(e.sessionPersistence)?e.sessionPersistence[0]:e.sessionPersistence,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent,use_allowed_tracking_origins:Array.isArray(e.allowedTrackingOrigins),beta_encode_cookie_options:e.betaEncodeCookieOptions,source:e.source,sdk_version:e.sdkVersion,variant:e.variant}}var jC;(function(e){e.TRACK_INTAKE_REQUESTS=`track_intake_requests`,e.USE_TREE_WALKER_FOR_ACTION_NAME=`use_tree_walker_for_action_name`,e.FEATURE_OPERATION_VITAL=`feature_operation_vital`,e.START_STOP_ACTION=`start_stop_action`,e.START_STOP_RESOURCE=`start_stop_resource`,e.USE_CHANGE_RECORDS=`use_change_records`,e.USE_INCREMENTAL_CHANGE_RECORDS=`use_incremental_change_records`,e.TOO_MANY_REQUESTS_INVESTIGATION=`too_many_requests_investigation`,e.TRACK_RESOURCE_HEADERS=`track_resource_headers`})(jC||={});var MC=new Set;function NC(e){Array.isArray(e)&&PC(e.filter(e=>Nb(jC,e)))}function PC(e){e.forEach(e=>{MC.add(e)})}function FC(e){return MC.has(e)}function IC(){return MC}var LC=`?`;function RC(e){let t=[],n=ZC(e,`stack`),r=String(e);if(n&&n.startsWith(r)&&(n=n.slice(r.length)),n&&n.split(`
14`).forEach(e=>{let n=UC(e)||GC(e)||qC(e)||XC(e);n&&(!n.func&&n.line&&(n.func=LC),t.push(n))}),t.length>0&&rw()&&e instanceof Error){let n=[],r=e;for(;(r=Object.getPrototypeOf(r))&&tw(r);){let e=r.constructor?.name||LC;n.push(e)}for(let e=n.length-1;e>=0&&t[0]?.func===n[e];e--)t.shift()}return{message:ZC(e,`message`),name:ZC(e,`name`),stack:t}}var zC=`((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)`,BC=`(?::(\\d+))`,VC=RegExp(`^\\s*at (.*?) ?\\(${zC}${BC}?${BC}?\\)?\\s*$`,`i`),HC=RegExp(`\\((\\S*)${BC}${BC}\\)`);function UC(e){let t=VC.exec(e);if(!t)return;let n=t[2]&&t[2].indexOf(`native`)===0,r=t[2]&&t[2].indexOf(`eval`)===0,i=HC.exec(t[2]);return r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||LC,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}var WC=RegExp(`^\\s*at\\s*(?:(.*)?(?: @))?\\s*${zC}${BC}?${BC}??\\s*$`,`i`);function GC(e){let t=WC.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||LC,line:t[3]?+t[3]:void 0,url:t[2]}}var KC=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function qC(e){let t=KC.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||LC,line:+t[3],url:t[2]}}var JC=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,YC=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function XC(e){let t=JC.exec(e);if(!t)return;let n=t[3]&&t[3].indexOf(` > eval`)>-1,r=YC.exec(t[3]);return n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0),{args:t[2]?t[2].split(`,`):[],column:t[5]?+t[5]:void 0,func:t[1]||LC,line:t[4]?+t[4]:void 0,url:t[3]}}function ZC(e,t){return QS(e)&&typeof e[t]==`string`?e[t]:void 0}function QC(e,t,n,r){if(t===void 0)return;let{name:i,message:a}=ew(e);return{name:i,message:a,stack:[{url:t,column:r,line:n}]}}var $C=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function ew(e){let t,n;return{}.toString.call(e)===`[object String]`&&([,t,n]=$C.exec(e)),{name:t,message:n}}function tw(e){return String(e.constructor).startsWith(`class `)}var nw;function rw(){if(nw!==void 0)return nw;
14class e extends Error{constructor(){super(),this.name=`Error`}}let[t,n]=[e,Error].map(e=>new e);return nw=tw(Object.getPrototypeOf(t))&&n.stack!==t.stack,nw}function iw(e){let t=Error(e);t.name=`HandlingStack`;let n;return Wb(()=>{let e=RC(t);e.stack=e.stack.slice(2),n=aw(e)}),n}function aw(e){let t=ow(e);return e.stack.forEach(e=>{let n=e.func===`?`?`<anonymous>`:e.func,r=e.args&&e.args.length>0?`(${e.args.join(`, `)})`:``,i=e.line?`:${e.line}`:``,a=e.line&&e.column?`:${e.column}`:``;t+=`\n  at ${n}${r} @ ${e.url}${i}${a}`}),t}function ow(e){return`${e.name||`Error`}: ${e.message}`}function sw(e,t,n,{computeHandlingStack:r}={}){let i=e[t];if(typeof i!=`function`){if(t in e&&typeof t==`string`&&t.startsWith(`on`))i=U;else return{stop:U}}let a=!1,o=function(){if(a)return i.apply(this,arguments);let e=Array.from(arguments),t;Wb(n,null,[{target:this,parameters:e,onPostCall:e=>{t=e},handlingStack:r?iw(`instrumented method`):void 0}]);let o=i.apply(this,e);return t&&Wb(t,null,[o]),o};return e[t]=o,{stop:()=>{a=!0,e[t]===o&&(e[t]=i)}}}function cw(e,t,n){let r=Object.getOwnPropertyDescriptor(e,t);if(!r||!r.set||!r.configurable)return{stop:U};let i=U,a=(e,t)=>{qb(()=>{a!==i&&n(e,t)},0)},o=function(e){r.set.call(this,e),a(this,e)};return Object.defineProperty(e,t,{set:o}),{stop:()=>{Object.getOwnPropertyDescriptor(e,t)?.set===o&&Object.defineProperty(e,t,r),a=i}}}var lw=1024,uw=1024*lw,dw=/[^\u0000-\u007F]/;function fw(e){return dw.test(e)?window.TextEncoder===void 0?new Blob([e]).size:new TextEncoder().encode(e).length:e.length}function pw(e){if(e.length===1)return e[0];let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}
14function mw(e,t,n){if(typeof e!=`object`||!e)return JSON.stringify(e);let r=hw(Object.prototype),i=hw(Array.prototype),a=hw(Object.getPrototypeOf(e)),o=hw(e);try{return JSON.stringify(e,t,n)}catch{return`<error: unable to serialize object>`}finally{r(),i(),a(),o()}}function hw(e){let t=e,n=t.toJSON;return n?(delete t.toJSON,()=>{t.toJSON=n}):U}var gw=220*lw,_w=`$`,vw=3;function W(e,t=gw){let n=hw(Object.prototype),r=hw(Array.prototype),i=[],a=new WeakMap,o=yw(e,_w,void 0,i,a),s=JSON.stringify(o),c=s?s.length:0;if(c>t){ww(t,`discarded`,e);return}for(;i.length>0&&c<t;){let n=i.shift(),r=0;if(Array.isArray(n.source))for(let o=0;o<n.source.length;o++){let s=yw(n.source[o],n.path,o,i,a);if(c+=s===void 0?4:JSON.stringify(s).length,c+=r,r=1,c>t){ww(t,`truncated`,e);break}n.target[o]=s}else for(let o in n.source)if(Object.prototype.hasOwnProperty.call(n.source,o)){let s=yw(n.source[o],n.path,o,i,a);if(s!==void 0&&(c+=JSON.stringify(s).length+r+o.length+vw,r=1),c>t){ww(t,`truncated`,e);break}n.target[o]=s}}return n(),r(),o}function yw(e,t,n,r,i){let a=Cw(e);if(!a||typeof a!=`object`)return bw(a);let o=xw(a);if(o!==`[Object]`&&o!==`[Array]`&&o!==`[Error]`)return o;let s=e;if(i.has(s))return`[Reference seen at ${i.get(s)}]`;let c=n===void 0?t:`${t}.${n}`,l=Array.isArray(a)?[]:{};return i.set(s,c),r.push({source:a,target:l,path:c}),l}function bw(e){return typeof e==`bigint`?`[BigInt] ${e.toString()}`:typeof e==`function`?`[Function] ${e.name||`unknown`}`:typeof e==`symbol`?`[Symbol] ${e.description||e.toString()}`:e}function xw(e){try{if(e instanceof Event)return Sw(e);if(e instanceof RegExp)return`[RegExp] ${e.toString()}`;let t=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(t&&t[1])return`[${t[1]}]`}catch{}return`[Unserializable]`}function Sw(e){return{type:e.type,isTrusted:e.isTrusted,currentTarget:e.currentTarget?xw(e.currentTarget):null,target:e.target?xw(e.target):null}}function Cw(e){let t=e;if(t&&typeof t.toJSON==`function`)try{return t.toJSON()}catch{}return e}function ww(e,t,n){R.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,n)}var Tw=`No stack, consider using an instance of Error`;function Ew({originalError:e,stackTrace:t,source:n,useFallbackStack:r=!0,nonErrorPrefix:i}){let a=jw(e);return!t&&a&&(t=RC(e)),{source:n,type:t?t.name:void 0,message:Ow(t,a,i,e),stack:t?aw(t):r?Tw:void 0}}function Dw({stackTrace:e,originalError:t,handlingStack:n,componentStack:r,startClocks:i,nonErrorPrefix:a,useFallbackStack:o=!0,source:s,handling:c}){return{startClocks:i,handling:c,handlingStack:n,componentStack:r,originalError:t,...Ew({originalError:t,stackTrace:e,source:s,useFallbackStack:o,nonErrorPrefix:a}),causes:jw(t)?Mw(t,s):void 0,fingerprint:kw(t),context:Aw(t)}}function Ow(e,t,n,r){return e?.message&&e?.name?e.message:t?`Empty message`:n?`${n} ${mw(W(r))}`:mw(W(r))}function kw(e){return jw(e)&&`dd_fingerprint`in e?String(e.dd_fingerprint):void 0}function Aw(e){if(QS(e))return e.dd_context}function jw(e){return e instanceof Error||Object.prototype.toString.call(e)===`[object Error]`}function Mw(e,t){let n=[],r=e.cause;for(;r!=null&&n.length<10;){let e=Ew({originalError:r,source:t,useFallbackStack:!1});n.push(e),r=jw(r)?r.cause:void 0}return n.length?n:void 0}var Nw={AGENT:`agent`,CONSOLE:`console`,CUSTOM:`custom`,LOGGER:`logger`,NETWORK:`network`,SOURCE:`source`,REPORT:`report`};function Pw(){return new B(e=>{let t=(t,n)=>{let r=Dw({stackTrace:n,originalError:t,startClocks:dx(),nonErrorPrefix:`Uncaught`,source:Nw.SOURCE,handling:`unhandled`});e.notify(r)},{stop:n}=Fw(t),{stop:r}=Iw(t);return()=>{n(),r()}})}function Fw(e){return sw(Ib(),`onerror`,({parameters:[t,n,r,i,a]})=>{let o;jw(a)||(o=QC(t,n,r,i)),e(a??t,o)})}function Iw(e){return sw(Ib(),`onunhandledrejection`,({parameters:[t]})=>{e(t.reason||`Empty reason`)})}function Lw(e){let t={version:`6.33.0`,onReady(e){e()},...e};return Object.defineProperty(t,"_setDebug",{get(){return Ub},enumerable:!1}),t}function Rw(e,t,n){let r=e[t];r&&!r.q&&r.version&&R.warn(`SDK is loaded more than once. This is unsupported and might have unexpected behavior.`),e[t]=n,r&&r.q&&r.q.forEach(e
14=>Eb(e,`onReady callback threw an error:`)())}function zw(e,t){t.silentMultipleInit||R.error(`${e} is already initialized.`)}function Bw(e,t,n,r,i){return Vw(e,t,[n],r,i)}function Vw(e,t,n,r,{once:i,capture:a,passive:o}={}){let s=z(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(i&&d(),r(t))}),c=o?{capture:a,passive:o}:a,l=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,u=zb(l,`addEventListener`);n.forEach(e=>u.call(t,e,s,c));function d(){let e=zb(l,`removeEventListener`);n.forEach(n=>e.call(t,n,s,c))}return{stop:d}}var Hw={intervention:`intervention`,deprecation:`deprecation`,cspViolation:`csp_violation`};function Uw(e,t){let n=[];t.includes(Hw.cspViolation)&&n.push(Gw(e));let r=t.filter(e=>e!==Hw.cspViolation);return r.length&&n.push(Ww(r)),Qb(...n)}function Ww(e){return new B(t=>{if(!window.ReportingObserver)return;let n=z((e,n)=>e.forEach(e=>t.notify(Kw(e)))),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),()=>{r.disconnect()}})}function Gw(e){return new B(t=>{let{stop:n}=Bw(e,document,`securitypolicyviolation`,e=>{t.notify(qw(e))});return n})}function Kw(e){let{type:t,body:n}=e;return Jw({type:n.id,message:`${t}: ${n.message}`,originalError:e,stack:Yw(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}function qw(e){let t=`'${e.blockedURI}' blocked by '${e.effectiveDirective}' directive`;return Jw({type:e.effectiveDirective,message:`${Hw.cspViolation}: ${t}`,originalError:e,csp:{disposition:e.disposition},stack:Yw(e.effectiveDirective,e.originalPolicy?`${t} of the policy "${Tx(e.originalPolicy,100,`...`)}"`:`no policy`,e.sourceFile,e.lineNumber,e.columnNumber)})}function Jw(e){return{startClocks:dx(),source:Nw.REPORT,handling:`unhandled`,...e}}function Yw(e,t,n,r,i){return n?aw({name:e,message:t,stack:[{func:`?`,url:n,line:r??void 0,column:i??void 0}]}):void 0}function Xw(e){let{env:t,service:n,version:r,datacenter:i,sdkVersion:a,variant:o}=e,s=[Zw(`sdk_version`,a??`6.33.0`)];return t&&s.push(Zw(`env`,t)),n&&s.push(Zw(`service`,n)),r&&s.push(Zw(`version`,r)),i&&s.push(Zw(`datacenter`,i)),o&&s.push(Zw(`variant`,o)),s}function Zw(e,t){let n=t?`${e}:${t}`:e;return(n.length>200||$w(n))&&R.warn(`Tag ${n} doesn't meet tag requirements and will be sanitized. ${Tb} ${Cb}/getting_started/tagging/#defining-tags`),Qw(n)}function Qw(e){return e.replace(/,/g,`_`)}function $w(e){return eT()?RegExp(`[^\\p{Ll}\\p{Lo}0-9_:./-]`,`u`).test(e):!1}function eT(){try{return!0}catch{return!1}}function tT(e,t){let n=Lb.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}function nT(e,t,n=aT()){if(t===void 0)return e;if(typeof t!=`object`||!t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){let e=t.flags||[t.global?`g`:``,t.ignoreCase?`i`:``,t.multiline?`m`:``,t.sticky?`y`:``,t.unicode?`u`:``].join(``);return new RegExp(t.source,e)}if(n.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){let r=Array.isArray(e)?e:[];for(let e=0;e<t.length;++e)r[e]=nT(r[e],t[e],n);return r}let r=ZS(e)===`object`?e:{};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=nT(r[e],t[e],n));return r}function rT(e){return nT(void 0,e)}function iT(...e){let t;for(let n of e)n!=null&&(t=nT(t,n));return t}function aT(){if(typeof WeakSet<`u`){let e=new WeakSet;return{hasAlreadyBeenSeen(t){let n=e.has(t);return n||e.add(t),n}}}let e=[];return{hasAlreadyBeenSeen(t){let n=e.indexOf(t)>=0;return n||e.push(t),n}}}function oT(){let e=Lb.navigator;return{status:e.onLine?`connected`:`not_connected`,interfaces:e.connection&&e.connection.type?[e.connection.type]:void 0,effective_type:e.connection?.effectiveType}}function sT(e,t){return zb(Ib(),`fetch`)(e,t)}function cT(e){return e>=500}function lT(e){try{return e.clone()}catch{return}}var uT=80*lw,dT=20*uw,fT=tx,pT=ex;function mT(e,t,n,r,i,a){t.transportStatus===0&&t.queuedPayloads.size()===0&&t.bandwidthMonitor.canHandle(e)?gT(e,t,n,a,{onSuccess:()=>_T(0,t,n,r,i,a),onFailure:()=>{t.queuedPayloads.enqueue(e)||a.notify({type:`queue-full`,bandwidth:t.bandwidthMonitor.stats(),payload:e}),hT(t,n,r,i,a)}}):t.queuedPayloads.enqueue(e)||a.notify({type:`queue-full`,bandwidth:t.bandwidthMonitor.stats(),payload:e})}function hT(e,t,n,r,i){e.transportStatus===2&&qb(()=>{gT(e.queuedPayloads.first(),e,t,i,{onSuccess:()=>{e.queuedPayloads.dequeue(),e.currentBackoffTime=pT,_T(1,e,t,n,r,i)},onFailure:()=>{e.currentBackoffTime=Math.min(fT,e.currentBackoffTime*2),hT(e,t,n,r,i)}})},e.currentBackoffTime)}function gT(e,t,n,r,{onSuccess:i,onFailure:a}){t.bandwidthMonitor.add(e),n(e,n=>{t.bandwidthMonitor.remove(e),vT(n)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status}
14,r.notify({type:`failure`,bandwidth:t.bandwidthMonitor.stats(),payload:e}),a()):(t.transportStatus=0,r.notify({type:`success`,bandwidth:t.bandwidthMonitor.stats(),payload:e}),i())})}function _T(e,t,n,r,i,a){e===0&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:`Reached max ${r} events size queued for upload: ${dT/uw}MiB`,source:Nw.AGENT,startClocks:dx()}),t.queueFullReported=!0);let o=t.queuedPayloads;for(t.queuedPayloads=bT();o.size()>0;)mT(o.dequeue(),t,n,r,i,a)}function vT(e){return e.type!==`opaque`&&(e.status===0&&!navigator.onLine||e.status===408||e.status===429||cT(e.status))}function yT(){return{transportStatus:0,currentBackoffTime:pT,bandwidthMonitor:xT(),queuedPayloads:bT(),queueFullReported:!1}}function bT(){let e=[];return{bytesCount:0,enqueue(t){return!this.isFull()&&(e.push(t),this.bytesCount+=t.bytesCount,!0)},first(){return e[0]},dequeue(){let t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size(){return e.length},isFull(){return this.bytesCount>=dT}}}function xT(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return this.ongoingRequestCount===0||this.ongoingByteCount+e.bytesCount<=uT&&this.ongoingRequestCount<32},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){--this.ongoingRequestCount,this.ongoingByteCount-=e.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}}}var ST=16*lw;function CT(e,t,n=ST){let r=new B,i=yT();return{observable:r,send:n=>{for(let a of e)mT(n,i,(e,t)=>{DT(a,e,t)},a.trackType,t,r)},sendOnExit:t=>{for(let r of e)wT(r,n,t)}}}function wT(e,t,n){if(navigator.sendBeacon&&n.bytesCount<t)try{let t=e.build(`beacon`,n);if(navigator.sendBeacon(t,n.data))return}catch(e){ET(e)}DT(e,n)}var TT=!1;function ET(e){TT||(TT=!0,Gb(e))}function DT(e,t,n){sT(e.build(`fetch`,t),{method:`POST`,body:t.data,mode:`cors`}).then(z(e=>n?.({status:e.status,type:e.type}))).catch(z(()=>n?.({status:0})))}function OT(){let e=jT();if(e)return{getCapabilities(){return JSON.parse(e.getCapabilities?.call(e)||`[]`)},getPrivacyLevel(){return e.getPrivacyLevel?.call(e)},getAllowedWebViewHosts(){return JSON.parse(e.getAllowedWebViewHosts())},send(t,n,r){let i=r?{id:r}:void 0;e.send(JSON.stringify({eventType:t,event:n,view:i}))}}}function kT(e){let t=OT();return!!t&&t.getCapabilities().includes(e)}function AT(e){e===void 0&&(e=Ib().location?.hostname);let t=OT();return!!t&&t.getAllowedWebViewHosts().some(t=>e===t||e.endsWith(`.${t}`))}function jT(){return Ib().DatadogEventBridge}var MT={HIDDEN:`visibility_hidden`,UNLOADING:`before_unload`,PAGEHIDE:`page_hide`,FROZEN:`page_frozen`};function NT(e){return new B(t=>{if(Rb)return;let{stop:n}=Vw(e,window,[`visibilitychange`,`freeze`],e=>{e.type===`visibilitychange`&&document.visibilityState===`hidden`?t.notify({reason:MT.HIDDEN}):e.type===`freeze`&&t.notify({reason:MT.FROZEN})},{capture:!0}),r=Bw(e,window,`beforeunload`,()=>{t.notify({reason:MT.UNLOADING})}).stop;return()=>{n(),r()}})}function PT(e){return Yx(MT).includes(e)}var FT=256*lw;function IT({encoder:e,request:t,flushController:n}){let r={},i=n.flushObservable.subscribe(e=>l(e));function a(t,i,a){n.notifyBeforeAddMessage(i),a===void 0?e.write(e.isEmpty?t:`\n${t}`,e=>{n.notifyAfterAddMessage(e-i)}):(r[a]=t,n.notifyAfterAddMessage())}function o(e){return e!==void 0&&r[e]!==void 0}function s(t){let i=r[t];delete r[t];let a=e.estimateEncodedBytesCount(i);n.notifyAfterRemoveMessage(a)}function c(t,n){let r=mw(t),i=e.estimateEncodedBytesCount(r);if(i>=FT){R.warn(`Discarded a message whose size was bigger than the maximum allowed size ${FT/lw}KiB. ${Tb} ${wb}/#technical-limitations`);return}o(n)&&s(n),a(r,i,n)}function l(n){let i=Yx(r).join(`
15`);r={};let a=PT(n.reason),o=a?t.sendOnExit:t.send;if(a&&e.isAsync){let t=e.finishSync();t.outputBytesCount&&o(LT(t));let n=[t.pendingData,i].filter(Boolean).join(`
16`);n&&o({data:n,bytesCount:fw(n)})}else i&&e.write(e.isEmpty?i:`\n${i}`),e.finish(e=>{o(LT(e))})}return{flushController:n,add:c,upsert:c,stop:i.unsubscribe}}function LT(e){let t;return t=typeof e.output==`string`?e.output:new Blob([e.output],{type:`text/plain`}),{data:t,bytesCount:e.outputBytesCount,encoding:e.encoding}}
16var RT=30*ex,zT=Rb?1:50;function BT({pageMayExitObservable:e,sessionExpireObservable:t}){let n,r=new B,i=e.subscribe(e=>{n=e.reason;try{r.notify(e.reason)}finally{n=void 0}l(e.reason)}),a=t.subscribe(()=>l(`session_expire`)),o=new B(()=>()=>{i.unsubscribe(),a.unsubscribe()}),s=0,c=0;function l(e){if(c===0)return;let t=c,n=s;c=0,s=0,f(),o.notify({reason:e,messagesCount:t,bytesCount:n})}let u;function d(){u===void 0&&(u=qb(()=>{l(`duration_limit`)},RT))}function f(){Jb(u),u=void 0}return{flushObservable:o,preparePageExitFlushObservable:r,get messagesCount(){return c},notifyBeforeAddMessage(e){s+e>=ST&&l(n??`bytes_limit`),c+=1,s+=e,d()},notifyAfterAddMessage(e=0){s+=e,c>=zT?l(n??`messages_limit`):s>=ST&&l(n??`bytes_limit`)},notifyAfterRemoveMessage(e){s-=e,--c,c===0&&f()}}}function VT(){let e=``,t=0;return{isAsync:!1,get isEmpty(){return!e},write(n,r){let i=fw(n);t+=i,e+=n,r&&r(i)},finish(e){e(this.finishSync())},finishSync(){let n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:``};return e=``,t=0,n},estimateEncodedBytesCount(e){return e.length}}}var HT=`DISCARDED`,UT=`SKIPPED`;function WT(){let e={};return{register(t,n){return e[t]||(e[t]=[]),e[t].push(n),{unregister:()=>{e[t]=e[t].filter(e=>e!==n)}}},triggerHook(t,n){let r=e[t]||[],i=[];for(let e of r){let t=e(n);if(t===`DISCARDED`)return HT;t!==`SKIPPED`&&i.push(t)}return iT(...i)}}}var GT={LOG:`log`,CONFIGURATION:`configuration`,USAGE:`usage`},KT=[`https://www.datadoghq-browser-agent.com`,`https://www.datad0g-browser-agent.com`,`https://d3uc069fcn7uxw.cloudfront.net`,`https://d20xtzwzcl0ceb.cloudfront.net`,`http://localhost`,`<anonymous>`],qT=1,JT=[dC,fC],YT=15,XT;function ZT(){return XT||=new $b(100),XT}function QT(e,t,n){let r=new B,{enabled:i,metricsEnabled:a}=$T(e,t,n,r),{stop:o}=eE(t,r);return{stop:o,enabled:i,metricsEnabled:a}}function $T(e,t,n,r,i=qT,a=YT){let o={},s=!JT.includes(t.site)&&Db(t.telemetrySampleRate),c={[GT.LOG]:s,[GT.CONFIGURATION]:s&&Db(t.telemetryConfigurationSampleRate),[GT.USAGE]:s&&Db(t.telemetryUsageSampleRate),metric:s&&Db(i)},l=tE(),u=ZT();return u.subscribe(({rawEvent:t,metricName:i})=>{if(i&&!c.metric||!c[t.type])return;let s=i||t.status||t.type,u=o[s];if(u||=o[s]=new Set,u.size>=a)return;let f=mw(t);if(u.has(f))return;let p=n.triggerHook(1,{startTime:dx().relative});if(p===`DISCARDED`)return;let m=d(p,e,t,l);r.notify(m),tT(`telemetry`,m),u.add(f)}),u.unbuffer(),Hb(iE),{enabled:s,metricsEnabled:c.metric};function d(e,n,r,i){return iT({type:`telemetry`,date:dx().timeStamp,service:n,version:`6.33.0`,source:`browser`,_dd:{format_version:2},telemetry:iT(r,{runtime_env:i,connectivity:oT(),sdk_setup:`npm`}),ddtags:Xw(t).join(`,`),experimental_features:Array.from(IC())},e)}}function eE(e,t){let n=[];if(AT()){let e=OT(),r=t.subscribe(t=>e.send(`internal_telemetry`,t));n.push(r.unsubscribe)}else{let r=[e.rumEndpointBuilder];e.replica&&nE(e)&&r.push(e.replica.rumEndpointBuilder);let i=IT({encoder:VT(),request:CT(r,U),flushController:BT({pageMayExitObservable:NT(e),sessionExpireObservable:new B})});n.push(i.stop);let a=t.subscribe(i.add);n.push(a.unsubscribe)}return{stop:()=>n.forEach(e=>e())}}function tE(){return{is_local_file:Lb.location?.protocol===`file:`,is_worker:Rb}}function nE(e){return e.site===cC}function rE(e,t){Kb(yb.debug,e,t),ZT().notify({rawEvent:{type:GT.LOG,message:e,status:`debug`,...t}})}function iE(e,t){ZT().notify({rawEvent:{type:GT.LOG,status:`error`,...cE(e),...t}})}function aE(e){ZT().notify({rawEvent:{type:GT.CONFIGURATION,configuration:e}})}function oE(e,t){ZT().notify({rawEvent:{type:GT.LOG,message:e,status:`debug`,...t},metricName:e})}function sE(e){ZT().notify({rawEvent:{type:GT.USAGE,usage:e}})}function cE(e){if(jw(e)){let t=RC(e);return{error:{kind:t.name,stack:aw(lE(t))},message:t.message}}return{error:{stack:Tw},message:`Uncaught ${mw(e)}`}}function lE(e){return e.stack=e.stack.filter(e=>!e.url||KT.some(t=>e.url.startsWith(t))),e}function uE(e,t){let n=e.indexOf(t);n>=0&&e.splice(n,1)}function dE(e){return Array.isArray(e)&&e.length>0}var fE=1/0,pE=tx,mE,hE=new Set;function gE(){hE.forEach(e=>e())}function _E({expireDelay:e,maxEntries:t}){let n=[];mE||=Yb(()=>gE(),pE);let r=()=>{let t=ux()-e;for(;n.length>0&&n[n.length-1].endTime<t;)n.pop()};hE.add(r);function i(e,r){let i={value:e,startTime:r,endTime:fE,remove:()=>{uE(n,i)},close:e=>{i.endTime=e}};return t&&n.length>=t&&n.pop(),n.unshift(i),i}function a(e=fE,t={returnInactive:!1}){for(let r of n)if(r.startTime<=e){if(t.returnInactive||e<=r.endTime)return r.value;break}}function o(e){let t=n[0];t&&t.endTime===fE&&t.close(e)}function s(e=fE,t=0){let r=px(e,t);return n.filter(t=>t.startTime<=r&&e<=t.endTime).map(e=>e.value)}function c(e){return n.filter(t=>t.startTime===e)}function l(){n=[]}function u(){hE.delete(r),hE.size===0&&mE&&(Xb(mE),mE=void 0)}return{add:i,find:a,closeActive:o,findAll:s,getEntries:c,reset:l,stop:u}}var vE=`datadog-synthetics-`,yE=`${vE}public-id`,bE=`${vE}result-id`,xE=`${vE}injects-rum`,SE=`${vE}rum-context`;function CE(){return!Rb&&!!(Lb._DATADOG_SYNTHETICS_INJECTS_RUM||Vx(xE))}function wE(){let e=EE();return DE(e)?e:void 0}function TE(){return!!wE()}function EE(){let e=Lb._DATADOG_SYNTHETICS_RUM_CONTEXT;if(e)return e;let t=Vx(SE);return t?jb(decodeURIComponent(t)):{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||Vx(yE),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||Vx(bE)}}function DE(e){return typeof e==`object`&&!!e&&typeof e.test_id==`string`&&typeof e.result_id==`string`}var OE=tx,kE=Zx,AE=[];function jE(e,t,n,r){let i=new B,a=new B,o=JS(e.sessionStoreStrategyType,e,t,n);AE.push(()=>o.stop());let s=_E({expireDelay:kE});AE.push(()=>s.stop()),o.renewObservable.subscribe(()=>{s.add(c(),ux()),i.notify()}),o.expireObservable.subscribe(()=>{a.notify(),s.closeActive(ux())}),o.expandOrRenewSession(),s.add(c(),fx().relative),r.observable.subscribe(()=>{r.isGranted()?o.expandOrRenewSession():o.expire(!1)}),ME(e,()=>{r.isGranted()&&o.expandOrRenewSession()}),NE(e,()=>o.expandSession()),PE(e,()=>o.restartSession());function c(){let n=o.getSession();return n?{id:n.id,trackingType:n[t],isReplayForced:!!n.forcedReplay,anonymousId:n.anonymousId}:(FE(e).catch(()=>
16void 0),{id:`invalid`,trackingType:`0`,isReplayForced:!1,anonymousId:void 0})}return{findSession:(e,t)=>s.find(e,t),renewObservable:i,expireObservable:a,sessionStateUpdateObservable:o.sessionStateUpdateObservable,expire:o.expire,updateSessionState:o.updateSessionState}}function ME(e,t){let{stop:n}=Vw(e,window,[`click`,`touchstart`,`keydown`,`scroll`],t,{capture:!0,passive:!0});AE.push(n)}function NE(e,t){let n=()=>{document.visibilityState===`visible`&&t()},{stop:r}=Bw(e,document,`visibilitychange`,n);AE.push(r);let i=Yb(n,OE);AE.push(()=>{Xb(i)})}function PE(e,t){let{stop:n}=Bw(e,window,`resume`,t,{capture:!0});AE.push(n)}async function FE(e){let t=e.sessionStoreStrategyType;if(!t)return;let n,r;t.type===eS.COOKIE?(n=vS(t.cookieOptions,e),r={cookie:await IE(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):n=ES(),rE(`Unexpected session state`,{sessionStoreStrategyType:t.type,session:n,isSyntheticsTest:TE(),createdTimestamp:n?.created,expireTimestamp:n?.expire,...r})}async function IE(){let e;return e=`cookieStore`in window?await window.cookieStore.getAll(qx):document.cookie.split(/\s*;\s*/).filter(e=>e.startsWith(qx)),{count:e.length,domain:Gx()||`undefined`,...e}}var LE=class{constructor(){this.callbacks={}}notify(e,t){let n=this.callbacks[e];n&&n.forEach(e=>e(t))}subscribe(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:()=>{this.callbacks[e]=this.callbacks[e].filter(e=>t!==e)}}}},RE=3e3;function zE(e,t,n=RE){let r=0,i=!1;return{isLimitReached(){if(r===0&&qb(()=>{r=0},tx),r+=1,r<=n||i)return i=!1,!1;if(r===n+1){i=!0;try{t({message:`Reached max number of ${e}s by minute: ${n}`,source:Nw.AGENT,startClocks:dx()})}finally{i=!1}}return!0}}}function BE(e,t,n){return document.readyState===t||document.readyState===`complete`?(n(),{stop:U}):Bw(e,window,t===`complete`?`load`:`DOMContentLoaded`,n,{once:!0})}function VE(e,t){return new Promise(n=>{BE(e,t,n)})}var HE,UE=new WeakMap;function WE(e){return HE||=GE(e),HE}function GE(e){return new B(t=>{let{stop:n}=sw(XMLHttpRequest.prototype,`open`,KE),{stop:r}=sw(XMLHttpRequest.prototype,`send`,n=>{qE(n,e,t)},{computeHandlingStack:!0}),{stop:i}=sw(XMLHttpRequest.prototype,`abort`,JE);return()=>{n(),r(),i()}})}function KE({target:e,parameters:[t,n]}){UE.set(e,{state:`open`,method:String(t).toUpperCase(),url:jx(String(n))})}function qE({target:e,parameters:[t],handlingStack:n},r,i){let a=UE.get(e);if(!a)return;let o=a;o.state=`start`,o.startClocks=dx(),o.isAborted=!1,o.xhr=e,o.handlingStack=n,o.requestBody=t;let s=!1,{stop:c}=sw(e,`onreadystatechange`,()=>{e.readyState===XMLHttpRequest.DONE&&l()}),l=()=>{if(u(),c(),s)return;s=!0;let t=a;t.state=`complete`,t.duration=H(o.startClocks.timeStamp,lx()),t.status=e.status,typeof e.response==`string`&&(t.responseBody=e.response),i.notify(Mb(t))},{stop:u}=Bw(r,e,`loadend`,l);i.notify(o)}function JE({target:e}){let t=UE.get(e);t&&(t.isAborted=!0)}async function YE(e,t){let n=e.getReader(),r=[];for(;;){let e=await n.read();if(e.done)break;t.collectStreamBody&&r.push(e.value)}return n.cancel().catch(U),t.collectStreamBody?pw(r):void 0}var XE,ZE=[];function QE({responseBodyAction:e}={}){return e&&ZE.push(e),XE||=$E(),XE}function $E(){return new B(e=>{if(!Lb.fetch)return;let{stop:t}=sw(Lb,`fetch`,t=>eD(t,e),{computeHandlingStack:!0});return t})}function eD({parameters:e,onPostCall:t,handlingStack:n},r){let[i,a]=e,o=a&&a.method;o===void 0&&i instanceof Request&&(o=i.method);let s=o===void 0?`GET`:String(o).toUpperCase(),c=i instanceof Request?i.url:jx(String(i)),l={state:`start`,init:a,input:i,method:s,startClocks:dx(),url:c,handlingStack:n,isAbortedOnStart:i instanceof Request&&i.signal?.aborted||a?.signal?.aborted||!1};r.notify(l),e[0]=l.input,e[1]=l.init,t(e=>{tD(r,e,l).catch(Gb)})}async function tD(e,t,n){let r=n;r.state=`resolve`;let i;try{i=await t}catch(t){r.status=0,r.isAborted=r.init?.signal?.aborted||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t,e.notify(r);return}r.response=i,r.status=i.status,r.responseType=i.type,r.isAborted=!1;let a=ZE.reduce((e,t)=>
16Math.max(e,t(r)),0);if(a!==0){let e=lT(i);if(e&&e.body)try{let t=await YE(e.body,{collectStreamBody:a===2});r.responseBody=t&&new TextDecoder().decode(t)}catch{}}e.notify(r)}function nD(e,t){if(window.requestIdleCallback&&window.cancelIdleCallback){let n=window.requestIdleCallback(z(e),t);return()=>window.cancelIdleCallback(n)}return rD(e)}function rD(e){let t=cx(),n=qb(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(cx()-t))})},0);return()=>Jb(n)}var iD=ex;function aD(){let e=[];function t(t){let r;if(!t||t.didTimeout){let e=performance.now();r=()=>30-(performance.now()-e)}else r=t.timeRemaining.bind(t);for(;r()>0&&e.length;)e.shift()();e.length&&n()}function n(){nD(t,{timeout:iD})}return{push(t){e.push(t)===1&&n()},stop(){e.length=0}}}var oD={};function sD(e){return Qb(...e.map(e=>(oD[e]||(oD[e]=cD(e)),oD[e])))}function cD(e){return new B(t=>{let n=bb[e];return bb[e]=(...r)=>{n.apply(console,r);let i=iw(`console error`);Wb(()=>{t.notify(lD(r,e,i))})},()=>{bb[e]=n}})}function lD(e,t,n){let r=e.map(e=>uD(e)).join(` `);if(t===yb.error){let i=Dw({originalError:e.find(jw),handlingStack:n,startClocks:dx(),source:Nw.CONSOLE,handling:`handled`,nonErrorPrefix:`Provided`,useFallbackStack:!1});return i.message=r,{api:t,message:r,handlingStack:n,error:i}}return{api:t,message:r,error:void 0,handlingStack:n}}function uD(e){return typeof e==`string`?W(e):jw(e)?ow(RC(e)):mw(W(e),void 0,2)}var dD=500;function fD(){let e=[];return{add:t=>{e.push(t)>dD&&e.splice(0,1)},remove:t=>{uE(e,t)},drain:t=>{e.forEach(e=>e(t)),e.length=0}}}function pD(e){let t=ZS(e)===`object`;return t||R.error(`Unsupported context:`,e),t}function mD(e,t,n){let r={...e};for(let[e,{required:i,type:a}]of Object.entries(t))a===`string`&&!hD(r[e])&&(r[e]=String(r[e])),i&&hD(r[e])&&R.warn(`The property ${e} of ${n} is required; context will not be sent to the intake.`);return r}function hD(e){return e==null||e===``}function gD(e=``,{propertiesConfig:t={}}={}){let n={},r=new B,i={getContext:()=>rT(n),setContext:a=>{pD(a)?n=W(mD(a,t,e)):i.clearContext(),r.notify()},setContextProperty:(i,a)=>{n=W(mD({...n,[i]:a},t,e)),r.notify()},removeContextProperty:i=>{delete n[i],mD(n,t,e),r.notify()},clearContext:()=>{n={},r.notify()},changeObservable:r};return i}function _D(e,t,n,r){return z((...i)=>(r&&sE({feature:r}),e()[t][n](...i)))}var vD=`_dd_c`,yD=[];function bD(e,t,n,r){let i=xD(n,r);yD.push(Bw(e,window,`storage`,({key:e})=>{i===e&&o()})),t.changeObservable.subscribe(s);let a=iT(c(),t.getContext());Pb(a)||t.setContext(a);function o(){t.setContext(c())}function s(){localStorage.setItem(i,JSON.stringify(t.getContext()))}function c(){let e=localStorage.getItem(i);return e?JSON.parse(e):{}}}function xD(e,t){return`${vD}_${e}_${t}`}function SD(e,t,n){let r=CD();return t.storeContextsAcrossPages&&bD(t,r,n,4),e.register(0,()=>{let e=r.getContext();return Pb(e)||!e.id?UT:{account:e}}),r}function CD(){return gD(`account`,{propertiesConfig:{id:{type:`string`,required:!0},name:{type:`string`}}})}var wD=`_dd_tab_id`,TD;function ED(e){let t=DD();e.register(0,()=>({tab:{id:t}}))}function DD(){return TD||=OD()??bx(),TD}function OD(){try{let e=sessionStorage.getItem(wD);if(e)return e;let t=bx();return sessionStorage.setItem(wD,t),t}catch{return}}function kD(e,t,n,r){let i=AD();return t.storeContextsAcrossPages&&bD(t,i,n,2),e.register(0,()=>{let e=i.getContext();return r?{context:e}:e}),i}function AD(){return gD(`global context`)}function jD(e,t,n,r){let i=MD();return t.storeContextsAcrossPages&&bD(t,i,r,1),e.register(0,({eventType:e,startTime:r})=>{let a=i.getContext(),o=n.findTrackedSession(r);return o&&o.anonymousId&&!a.anonymous_id&&t.trackAnonymousUser&&(a.anonymous_id=o.anonymousId),Pb(a)?UT:{type:e,usr:a}}),e.register(1,({startTime:e})=>({anonymous_id:n.findTrackedSession(e)?.anonymousId})),i}function MD(){return gD(`user`,{propertiesConfig:{id:{type:`string`},name:{type:`string`},email:{type:`string`}}})}var ND={userContext:`userContext`,globalContext:`globalContext`,accountContext:`accountContext`},PD={getContext:`getContext`,setContext:`setContext`,setContextProperty:`setContextProperty`,removeContextProperty:`removeContextProperty`,clearContext:`clearContext`},FD={DOCUMENT:`document`,XHR:`xhr`,BEACON:`beacon`,FETCH:`fetch`,CSS:`css`,JS:`js`,IMAGE:`image`,FONT:`font`,MEDIA:`media`,OTHER:`other`},ID={FETCH:FD.FETCH,XHR:FD.XHR},LD=500;function RD(){let e=new $b(LD),t=tC(Pw)().subscribe(t=>{e.notify({type:0,error:t})});return{observable:e,stop:()=>{t.unsubscribe()}}}function zD(){try{return new Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}var G={ACTION:`action`,ERROR:`error`,LONG_TASK:`long_task`,VIEW:`view`,RESOURCE:`resource`,VITAL:`vital`},BD={LONG_TASK:`long-task`,LONG_ANIMATION_FRAME:`long-animation-frame`},VD={INITIAL_LOAD:`initial_load`,ROUTE_CHANGE:`route_change`,BF_CACHE:`bf_cache`},HD={CLICK:`click`,CUSTOM:`custom`,TAP:`tap`,SCROLL:`scroll`,SWIPE:`swipe`,APPLICATION_START:`application_start`,BACK:`back`},UD={RAGE_CLICK:`rage_click`,ERROR_CLICK:`error_click`,DEAD_CLICK:`dead_click`}
16,WD={DURATION:`duration`,OPERATION_STEP:`operation_step`};function GD(){return{vitalsByName:new Map,vitalsByReference:new WeakMap}}function KD(e,t,n){function r(e){return!t.wasInPageStateDuringPeriod(`frozen`,e.startClocks.relative,e.duration)}function i(t){r(t)&&e.notify(12,XD(t))}function a(t,n,r,i){if(!FC(jC.FEATURE_OPERATION_VITAL))return;let{operationKey:a,context:o,description:s,handlingStack:c}=r||{},l={name:t,type:WD.OPERATION_STEP,operationKey:a,failureReason:i,stepType:n,startClocks:dx(),context:W(o),description:s,handlingStack:c};e.notify(12,XD(l))}return{addOperationStepVital:a,addDurationVital:i,startDurationVital:(t,r={})=>{let i=qD(n,t,r),a=n.vitalsByReference.get(i);return a&&e.notify(16,a),i},stopDurationVital:(e,t={})=>{JD(i,n,e,t)}}}function qD({vitalsByName:e,vitalsByReference:t},n,r={}){let i={id:bx(),name:n,startClocks:dx(),...r},a={__dd_vital_reference:!0};return e.set(n,i),t.set(a,i),a}function JD(e,{vitalsByName:t,vitalsByReference:n},r,i={}){let a=typeof r==`string`?t.get(r):n.get(r);a&&(e(YD(a,a.startClocks,i,dx())),typeof r==`string`?t.delete(r):n.delete(r))}function YD(e,t,n,r){return{id:e.id,name:e.name,type:WD.DURATION,startClocks:t,duration:H(t.timeStamp,r.timeStamp),context:iT(e.context,n.context),description:n.description??e.description,handlingStack:e.handlingStack}}function XD(e){let{startClocks:t,type:n,name:r,description:i,context:a,handlingStack:o}=e,s={id:(e.type===WD.DURATION?e.id:void 0)??bx(),type:n,name:r,description:i,...n===WD.DURATION?{duration:V(e.duration)}:{step_type:e.stepType,operation_key:e.operationKey,failure_reason:e.failureReason}};return{rawRumEvent:{date:t.timeStamp,vital:s,type:G.VITAL,context:a},startClocks:t,duration:n===WD.DURATION?e.duration:void 0,domainContext:o?{handlingStack:o}:{}}}function ZD(e,t,n){if(e)for(let r of e){let e=r[t];e&&e(n)}}var QD=WT,$D=[`tracecontext`,`datadog`],eO=[`cache-control`,`etag`,`age`,`expires`,`content-type`,`content-encoding`,`vary`,`content-length`,`server-timing`,`x-cache`];function tO(e,t){if(e.trackFeatureFlagsForEvents!==void 0&&!Array.isArray(e.trackFeatureFlagsForEvents)&&R.warn(`trackFeatureFlagsForEvents should be an array`),!e.applicationId){R.error(`Application ID is not configured, no RUM data will be collected.`);return}if(!OC(e.sessionReplaySampleRate,`Session Replay`)||!OC(e.traceSampleRate,`Trace`))return;if(e.excludedActivityUrls!==void 0&&!Array.isArray(e.excludedActivityUrls)){R.error(`Excluded Activity Urls should be an array`);return}let n=nO(e);if(!n)return;let r=kC(e,t),i=aO(e);if(!r)return;let a=e.sessionReplaySampleRate??0;return{applicationId:e.applicationId,actionNameAttribute:e.actionNameAttribute,betaTrackActionsInShadowDom:!!e.betaTrackActionsInShadowDom,sessionReplaySampleRate:a,startSessionReplayRecordingManually:e.startSessionReplayRecordingManually===void 0?a===0:!!e.startSessionReplayRecordingManually,traceSampleRate:e.traceSampleRate??100,rulePsr:Ab(e.traceSampleRate)?e.traceSampleRate/100:void 0,allowedTracingUrls:n,excludedActivityUrls:e.excludedActivityUrls??[],workerUrl:e.workerUrl,compressIntakeRequests:!!e.compressIntakeRequests,trackUserInteractions:!!(e.trackUserInteractions??!0),trackViewsManually:!!e.trackViewsManually,trackResources:!!(e.trackResources??!0),trackResourceHeaders:sO(e),trackLongTasks:!!(e.trackLongTasks??!0),trackBfcacheViews:!!e.trackBfcacheViews,trackEarlyRequests:!!e.trackEarlyRequests,subdomain:e.subdomain,defaultPrivacyLevel:Nb(wC,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:wC.MASK,enablePrivacyForActionName:!!e.enablePrivacyForActionName,traceContextInjection:Nb(TC,e.traceContextInjection)?e.traceContextInjection:TC.SAMPLED,plugins:e.plugins||[],trackFeatureFlagsForEvents:e.trackFeatureFlagsForEvents||[],profilingSampleRate:e.profilingSampleRate??0,propagateTraceBaggage:!!e.propagateTraceBaggage,allowedGraphQlUrls:i,...r}}function nO(e){if(e.allowedTracingUrls===void 0)return[];if(!Array.isArray(e.allowedTracingUrls)){R.error(`Allowed Tracing URLs should be an array`);return}if(e.allowedTracingUrls.length!==0&&e.service===void 0){R.error(`Service needs to be configured when tracing is enabled`);return}let t=[];
16return e.allowedTracingUrls.forEach(e=>{let n=iO(e);n?t.push(n):R.warn(`Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter`,e)}),t}function rO(e){let t=new Set;return dE(e.allowedTracingUrls)&&e.allowedTracingUrls.forEach(e=>{var n;(n=iO(e))==null||n.propagatorTypes.forEach(e=>t.add(e))}),Array.from(t)}function iO(e){if($S(e))return{match:e,propagatorTypes:$D};if(QS(e)&&$S(e.match)&&(e.propagatorTypes===null||e.propagatorTypes===void 0||Array.isArray(e.propagatorTypes)))return{match:e.match,propagatorTypes:e.propagatorTypes||$D}}function aO(e){if(!e.allowedGraphQlUrls)return[];if(!Array.isArray(e.allowedGraphQlUrls))return R.warn(`allowedGraphQlUrls should be an array`),[];let t=[];return e.allowedGraphQlUrls.forEach(e=>{$S(e)?t.push({match:e,trackPayload:!1,trackResponseErrors:!1}):QS(e)&&$S(e.match)&&t.push({match:e.match,trackPayload:!!e.trackPayload,trackResponseErrors:!!e.trackResponseErrors})}),t}var oO=[`request`,`response`,`any`];function sO(e){let t=e.trackResourceHeaders;if(t===void 0||t===!1)return[];if(t===!0)return eO.map(e=>({name:e}));if(!Array.isArray(t))return R.warn(`trackResourceHeaders should be true or an array of MatchHeader`),[];if(t.length===0)return R.warn(`trackResourceHeaders is an empty array, no headers will be captured`),[];let n=[];return t.forEach((e,t)=>{if(!QS(e)||!$S(e.name)){R.warn(`trackResourceHeaders[${t}] should be a MatchHeader object with a 'name' property`);return}
16if(e.url!==void 0&&!$S(e.url)){R.warn(`trackResourceHeaders[${t}].url should be a MatchOption`);return}if(e.extractor!==void 0&&!(e.extractor instanceof RegExp)){R.warn(`trackResourceHeaders[${t}].extractor should be a RegExp`);return}if(e.location!==void 0&&!oO.includes(e.location)){R.warn(`trackResourceHeaders[${t}].location should be 'request', 'response', or 'any'`);return}n.push({...e,name:typeof e.name==`string`?e.name.toLowerCase():e.name})}),n}function cO(e){return dE(e)&&e.some(e=>QS(e)&&e.trackPayload)}function lO(e){return dE(e)&&e.some(e=>QS(e)&&e.trackResponseErrors)}function uO(e){if(e===!0)return`default_headers`;if(Array.isArray(e))return`custom`}function dO(e){let t=AC(e);return{session_replay_sample_rate:e.sessionReplaySampleRate,start_session_replay_recording_manually:e.startSessionReplayRecordingManually,trace_sample_rate:e.traceSampleRate,trace_context_injection:e.traceContextInjection,propagate_trace_baggage:e.propagateTraceBaggage,action_name_attribute:e.actionNameAttribute,use_allowed_tracing_urls:dE(e.allowedTracingUrls),use_allowed_graph_ql_urls:dE(e.allowedGraphQlUrls),use_track_graph_ql_payload:cO(e.allowedGraphQlUrls),use_track_graph_ql_response_errors:lO(e.allowedGraphQlUrls),selected_tracing_propagators:rO(e),default_privacy_level:e.defaultPrivacyLevel,enable_privacy_for_action_name:e.enablePrivacyForActionName,use_excluded_activity_urls:dE(e.excludedActivityUrls),use_worker_url:!!e.workerUrl,compress_intake_requests:e.compressIntakeRequests,track_views_manually:e.trackViewsManually,track_user_interactions:e.trackUserInteractions,track_resources:e.trackResources,track_long_task:e.trackLongTasks,track_bfcache_views:e.trackBfcacheViews,track_early_requests:e.trackEarlyRequests,plugins:e.plugins?.map(e=>({name:e.name,...e.getConfigurationTelemetry?.call(e)})),track_feature_flags_for_events:e.trackFeatureFlagsForEvents,remote_configuration_id:e.remoteConfigurationId,profiling_sample_rate:e.profilingSampleRate,use_remote_configuration_proxy:!!e.remoteConfigurationProxy,track_resource_headers:uO(e.trackResourceHeaders),...t}}function fO(e,t){t.lastIndex=0;let n=t.exec(e);if(!n)return;let[r,i]=n;return i||r}function pO(e){let t=[],n=0,r,i={quote:void 0,escapeSequence:void 0},a=``;for(let o of e){if(r=bO[n].find(e=>yO[e](o,i)),!r)return[];if(i.escapeSequence!==void 0&&r!==12){if(!CO(i.escapeSequence))return[];a+=TO(i.escapeSequence),i.escapeSequence=void 0}xO.includes(r)?a+=o:SO.includes(r)&&a!==``?(t.push(a),a=``):r===12?i.escapeSequence=i.escapeSequence?`${i.escapeSequence}${o}`:o:r===8?i.quote=o:r===9&&(i.quote=void 0),n=r}return bO[n].includes(1)?(a!==``&&t.push(a),t):[]}var mO=/[a-zA-Z_$]/,hO=/[a-zA-Z0-9_$]/,gO=/[0-9]/,_O=/[a-fA-F0-9]/,vO=`'"`,yO={0:()=>!1,1:()=>!1,2:e=>mO.test(e),3:e=>hO.test(e),4:e=>e===`.`,5:e=>e===`[`,6:e=>e===`]`,7:e=>gO.test(e),8:e=>vO.includes(e),9:(e,t)=>e===t.quote,10:()=>!0,11:e=>e===`\\`,12:(e,t)=>t.escapeSequence===void 0?`${t.quote}/\\bfnrtu`.includes(e):t.escapeSequence.startsWith(`u`)&&t.escapeSequence.length<5?_O.test(e):!1},bO={0:[2,5],1:[],2:[3,4,5,1],3:[3,4,5,1],4:[2],5:[8,7],6:[4,5,1],7:[7,6],8:[11,9,10],9:[6],10:[11,9,10],11:[12],12:[12,11,9,10]},xO=[2,3,7,10],SO=[4,5,6];function CO(e){return`"'/\\bfnrt`.includes(e)||e.startsWith(`u`)&&e.length===5}var wO={'"':`"`,"'":`'`,"/":`/`,"\\":`\\`,b:`\b`,f:`\f`,n:`
17`,r:`\r`,t:`	`};function TO(e){return e.startsWith(`u`)?String.fromCharCode(parseInt(e.slice(1),16)):wO[e]}var EO=`v1`,DO=[`applicationId`,`service`,`env`,`version`,`sessionSampleRate`,`sessionReplaySampleRate`,`defaultPrivacyLevel`,`enablePrivacyForActionName`,`traceSampleRate`,`trackSessionAcrossSubdomains`,`allowedTracingUrls`,`allowedTrackingOrigins`];async function OO(e,t){let n,r=AO(),i=await PO(e);return i.ok?(r.increment(`fetch`,`success`),n=kO(e,i.value,t,r)):(r.increment(`fetch`,`failure`),R.error(i.error)),oE(`remote configuration metrics`,{metrics:r.get()}),n}function kO(e,t,n,r){let i={...e};return DO.forEach(e=>{e in t&&(i[e]=a(t[e]))}),Object.keys(n).forEach(e=>{t[e]!==void 0&&o(n[e],t[e])}),i;function a(e){if(Array.isArray(e))return e.map(a);if(QS(e)){if(jO(e)){let t=e.rcSerializedType;switch(t){case`string`:return e.value;case`regex`:return MO(e.value);case`dynamic`:return s(e);default:R.error(`Unsupported remote configuration: "rcSerializedType": "${t}"`);return}}return Fb(e,a)}return e}function o(e,t){t.forEach(({key:t,value:n})=>{e.setContextProperty(t,a(n))})}function s(e){let t=e.strategy,n;switch(t){case`cookie`:n=c(e);break;case`dom`:n=u(e);break;case`js`:n=f(e);break;case`localStorage`:n=l(e);break;default:R.error(`Unsupported remote configuration: "strategy": "${t}"`);return}let r=e.extractor;return r!==void 0&&typeof n==`string`?NO(r,n):n}function c({name:e}){let t=Rx(e);return r.increment(`cookie`,t===void 0?`missing`:`success`),t}function l({key:e}){let t;try{t=localStorage.getItem(e)}catch{r.increment(`localStorage`,`failure`);return}return r.increment(`localStorage`,t===null?`missing`:`success`),t??void 0}function u({selector:e,attribute:t}){let n;try{n=document.querySelector(e)}catch{R.error(`Invalid selector in the remote configuration: '${e}'`),r.increment(`dom`,`failure`);return}if(!n){r.increment(`dom`,`missing`);return}if(d(n,t)){R.error(`Forbidden element selected by the remote configuration: '${e}'`),r.increment(`dom`,`failure`);return}let i=t===void 0?n.textContent:n.getAttribute(t);if(i===null){r.increment(`dom`,`missing`);return}return r.increment(`dom`,`success`),i}function d(e,t){return e.getAttribute(`type`)===`password`&&t===`value`}function f({path:e}){let t=window,n=pO(e);if(n.length===0){R.error(`Invalid JSON path in the remote configuration: '${e}'`),r.increment(`js`,`failure`);return}for(let i of n){if(!(i in t)){r.increment(`js`,`missing`);return}try{t=t[i]}catch(t){R.error(`Error accessing: '${e}'`,t),r.increment(`js`,`failure`);return}}return r.increment(`js`,`success`),t}}function AO(){let e={fetch:{}};return{get:()=>e,increment:(t,n)=>{e[t]||(e[t]={}),e[t][n]||(e[t][n]=0),e[t][n]=e[t][n]+1}}}function jO(e){return`rcSerializedType`in e}function MO(e){try{return new RegExp(e)}catch{R.error(`Invalid regex in the remote configuration: '${e}'`)}}function NO(e,t){let n=MO(e.value);if(n!==void 0)return fO(t,n)}async function PO(e){let t;try{t=await sT(FO(e))}catch{t=void 0}if(!t||!t.ok)return{ok:!1,error:Error(`Error fetching the remote configuration.`)};let n=await t.json();return n.rum?{ok:!0,value:n.rum}:{ok:!1,error:Error(`No remote configuration for RUM.`)}}function FO(e){return e.remoteConfigurationProxy?e.remoteConfigurationProxy:`https://sdk-configuration.${_C(`rum`,e)}/${EO}/${encodeURIComponent(e.remoteConfigurationId)}.json`}function IO({ignoreInitIfSyntheticsWillInjectRum:e=!0,startDeflateWorker:t},n,r,i){let a=fD(),o=AD();RO(o,ND.globalContext,a);let s=MD();RO(s,ND.userContext,a);let c=CD();RO(c,ND.accountContext,a);let l,u,d,f,p,m=QD(),h=n.observable.subscribe(_),g={};function _(){if(!d||!f||!n.isGranted())return;p||=tC(QT)(`browser-rum-sdk`,f,m),h.unsubscribe();let e;if(f.trackViewsManually){if(!l)return;a.remove(l.callback),e=l.options}let t=i(f,u,e,p,m);a.drain(t)}function v(e,r){let i=AT();if(i&&(e=LO(e)),d=e,aE(dO(e)),f){zw(`DD_RUM`,e);return}let a=tO(e,r);if(a){if(!i&&!a.sessionStoreStrategyType){R.warn(`No storage available for session. We will not send any data.`);return}a.compressIntakeRequests&&!i&&t&&(u=t(a,`Datadog RUM`,U),!u)||(f=a,QE().subscribe(U),n.tryToInit(a.trackingConsent),_())}}let y=e=>{a.add(t=>t.addDurationVital(e))};return{init(t,n,r){if(!t){R.error(`Missing configuration`);return}NC(t.enableExperimentalFeatures),d=t,!(e&&CE())&&(ZD(t.plugins,`onInit`,{initConfiguration:t,publicApi:n}),t.remoteConfigurationId?OO(t,{user:s,context:o}).then(e=>{e&&v(e,r)}).catch(Gb):v(t,r))},get initConfiguration(){return d},getInternalContext:U,stopSession:U,addTiming(e,t=lx()){a.add(n=>n.addTiming(e,t))}
17,setLoadingTime:(e=>{a.add(t=>t.setLoadingTime(e))}),startView(e,t=dx()){let n=n=>{n.startView(e,t)};a.add(n),l||(l={options:e,callback:n},_())},setViewName(e){a.add(t=>t.setViewName(e))},setViewContext(e){a.add(t=>t.setViewContext(e))},setViewContextProperty(e,t){a.add(n=>n.setViewContextProperty(e,t))},getViewContext:()=>g,globalContext:o,userContext:s,accountContext:c,addAction(e){a.add(t=>t.addAction(e))},startAction(e,t){let n=dx();a.add(r=>r.startAction(e,t,n))},stopAction(e,t){let n=dx();a.add(r=>r.stopAction(e,t,n))},startResource(e,t){let n=dx();a.add(r=>r.startResource(e,t,n))},stopResource(e,t){let n=dx();a.add(r=>r.stopResource(e,t,n))},addError(e){a.add(t=>t.addError(e))},addFeatureFlagEvaluation(e,t){a.add(n=>n.addFeatureFlagEvaluation(e,t))},startDurationVital(e,t){return qD(r,e,t)},stopDurationVital(e,t){JD(y,r,e,t)},addDurationVital:y,addOperationStepVital:(e,t,n,r)=>{a.add(i=>i.addOperationStepVital(W(e),t,W(n),W(r)))}}}function LO(e){return{...e,applicationId:`00000000-aaaa-0000-aaaa-000000000000`,clientToken:`empty`,sessionSampleRate:100,defaultPrivacyLevel:e.defaultPrivacyLevel??OT()?.getPrivacyLevel()}}function RO(e,t,n){e.changeObservable.subscribe(()=>{let r=e.getContext();n.add(e=>e[t].setContext(r))})}function zO(){let e=BO();return new B(t=>{if(!e)return;let n=new e(z(e=>t.notify(e)));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>n.disconnect()})}function BO(){let e,t=window;if(t.Zone&&(e=zb(t,`MutationObserver`),t.MutationObserver&&e===t.MutationObserver)){let n=zb(new t.MutationObserver(U),`originalInstance`);e=n&&n.constructor}return e||=t.MutationObserver,e}function VO(){let e=new B,{stop:t}=sw(window,`open`,()=>e.notify());return{observable:e,stop:t}}function HO(e,t,n,r,i){return{get:a=>{let o=n.findView(a),s=i.findUrl(a),c=t.findTrackedSession(a);if(c&&o&&s){let t=r.findActionId(a);return{application_id:e,session_id:c.id,user_action:t?{id:t}:void 0,view:{id:o.id,name:o.name,referrer:s.referrer,url:s.url}}}}}}var UO=LE,WO=Zx;function GO(e){let t=_E({expireDelay:WO});e.subscribe(1,e=>{t.add(n(e),e.startClocks.relative)}),e.subscribe(6,({endClocks:e})=>{t.closeActive(e.relative)}),e.subscribe(3,e=>{let n=t.find(e.startClocks.relative);n&&(e.name&&(n.name=e.name),e.context&&(n.context=e.context),n.sessionIsActive=e.sessionIsActive)}),e.subscribe(10,()=>{t.reset()});function n(e){return{service:e.service,version:e.version,context:e.context,id:e.id,name:e.name,startClocks:e.startClocks}}return{findView:e=>t.find(e),stop:()=>{t.stop()}}}var KO=`initial_document`,qO=[[FD.DOCUMENT,e=>KO===e],[FD.XHR,e=>e===`xmlhttprequest`],[FD.FETCH,e=>e===`fetch`],[FD.BEACON,e=>e===`beacon`],[FD.CSS,(e,t)=>/\.css$/i.test(t)],[FD.JS,(e,t)=>/\.js$/i.test(t)],[FD.IMAGE,(e,t)=>[`image`,`img`,`icon`].includes(e)||/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)!==null],[FD.FONT,(e,t)=>/\.(woff|eot|woff2|ttf)$/i.exec(t)!==null],[FD.MEDIA,(e,t)=>[`audio`,`video`].includes(e)||/\.(mp3|mp4)$/i.exec(t)!==null]];function JO(e){let t=e.name;if(!Mx(t))return FD.OTHER;let n=Nx(t);for(let[t,r]of qO)if(r(e.initiatorType,n))return t;return FD.OTHER}function YO(...e){for(let t=1;t<e.length;t+=1)if(e[t-1]>e[t])return!1;return!0}function XO(e){return e.initiatorType===`xmlhttprequest`||e.initiatorType===`fetch`}function ZO(e){let{duration:t,startTime:n,responseEnd:r}=e;return t===0&&n<r?H(n,r):t}function QO(e){if(!ek(e))return;let{startTime:t,fetchStart:n,workerStart:r,redirectStart:i,redirectEnd:a,domainLookupStart:o,domainLookupEnd:s,connectStart:c,secureConnectionStart:l,connectEnd:u,requestStart:d,responseStart:f,responseEnd:p}=e,m={download:nk(t,f,p),first_byte:nk(t,d,f)};return 0<r&&r<n&&(m.worker=nk(t,r,n)),n<u&&(m.connect=nk(t,c,u),c<=l&&l<=u&&(m.ssl=nk(t,l,u))),n<s&&(m.dns=nk(t,o,s)),t<a&&(m.redirect=nk(t,i,a)),m}function $O(e){return e.duration>=0}function ek(e){let t=YO(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd),n=!tk(e)||YO(e.startTime,e.redirectStart,e.redirectEnd,e.fetchStart);return t&&n}function tk(e){return e.redirectEnd>e.startTime}function nk(e,t,n){if(e<=t&&t<=n)return{duration:V(H(t,n)),start:V(H(e,t))}}function rk(e){return e.nextHopProtocol===``?void 0:e.nextHopProtocol}function ik(e){return e.deliveryType===``?`other`:e.deliveryType}function ak(e){if(e.startTime<e.responseStart){let{encodedBodySize:t,decodedBodySize:n,transferSize:r}=e;return{size:n,encoded_body_size:t,decoded_body_size:n,transfer_size:r}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function ok(e){return e&&(!CC(e)||FC(jC.TRACK_INTAKE_REQUESTS))}var sk=/data:(.+)?(;base64)?,/g,ck=24e3;function lk(e,t=ck){if(e.length<=t||!e.startsWith(`data:`))return e;let n=e.substring(0,100).match(sk);return n?`${n[0]}[...]`:e}var uk=new Map;function dk(e,t){if(t===100)return!0;
17if(t===0)return!1;let n=uk.get(t);if(n&&e===n.sessionId)return n.decision;let r;return r=window.BigInt?fk(BigInt(`0x${e.split(`-`)[4]}`),t):Db(t),uk.set(t,{sessionId:e,decision:r}),r}function fk(e,t){let n=BigInt(`1111111111111111111`),r=BigInt(`0x10000000000000000`),i=e*n%r;return Number(i)<=t/100*Number(r)}function pk(){return hk(64)}function mk(){return hk(63)}function hk(e){let t=crypto.getRandomValues(new Uint32Array(2));return e===63&&(t[t.length-1]>>>=1),{toString(e=10){let n=t[1],r=t[0],i=``;do{let t=n%e*4294967296+r;n=Math.floor(n/e),r=Math.floor(t/e),i=(t%e).toString(e)+i}while(n||r);return i}}}function gk(e){return e.toString(16).padStart(16,`0`)}function _k(e){e.status===0&&!e.isAborted&&(e.traceId=void 0,e.spanId=void 0,e.traceSampled=void 0)}function vk(e,t,n,r){return{clearTracingIfNeeded:_k,traceFetch:i=>yk(e,i,t,n,r,e=>{if(i.input instanceof Request&&!i.init?.headers)i.input=new Request(i.input),Object.keys(e).forEach(t=>{i.input.headers.append(t,e[t])});else{i.init=Mb(i.init);let t=[];i.init.headers instanceof Headers?i.init.headers.forEach((e,n)=>{t.push([n,e])}):Array.isArray(i.init.headers)?i.init.headers.forEach(e=>{t.push(e)}):i.init.headers&&Object.keys(i.init.headers).forEach(e=>{t.push([e,i.init.headers[e]])}),i.init.headers=t.concat(Xx(e))}}),traceXhr:(i,a)=>yk(e,i,t,n,r,e=>{Object.keys(e).forEach(t=>{a.setRequestHeader(t,e[t])})})}}function yk(e,t,n,r,i,a){let o=n.findTrackedSession();if(!o)return;let s=e.allowedTracingUrls.find(e=>eC([e.match],t.url,!0));if(!s)return;let c=dk(o.id,e.traceSampleRate);(c||e.traceContextInjection===TC.ALL)&&(t.traceSampled=c,t.traceId=pk(),t.spanId=mk(),a(bk(t.traceId,t.spanId,t.traceSampled,o.id,s.propagatorTypes,r,i,e)))}function bk(e,t,n,r,i,a,o,s){let c={};if(i.forEach(r=>{switch(r){case`datadog`:Object.assign(c,{"x-datadog-origin":`rum`,"x-datadog-parent-id":t.toString(),"x-datadog-sampling-priority":n?`1`:`0`,"x-datadog-trace-id":e.toString()});break;case`tracecontext`:Object.assign(c,{traceparent:`00-0000000000000000${gk(e)}-${gk(t)}-0${n?`1`:`0`}`,tracestate:`dd=s:${n?`1`:`0`};o:rum`});break;case`b3`:Object.assign(c,{b3:`${gk(e)}-${gk(t)}-${n?`1`:`0`}`});break;case`b3multi`:Object.assign(c,{"X-B3-TraceId":gk(e),"X-B3-SpanId":gk(t),"X-B3-Sampled":n?`1`:`0`})}}),s.propagateTraceBaggage){let e={"session.id":r},t=a.getContext().id;typeof t==`string`&&(e[`user.id`]=t);let n=o.getContext().id;typeof n==`string`&&(e[`account.id`]=n);let i=Object.entries(e).map(([e,t])=>`${e}=${encodeURIComponent(t)}`).join(`,`);i&&(c.baggage=i)}return c}var xk=32*lw;function Sk(e,t){let n=Tk(e,t.trackPayload);if(n){if(t.trackResponseErrors&&e.responseBody){let t=Ck(e.responseBody);t&&(n.error_count=t.length,n.errors=t)}return n}}function Ck(e){let t=jb(e);if(!t||typeof t!=`object`)return;let n=t;if(dE(n.errors))return n.errors.map(e=>({message:e.message,path:e.path,locations:e.locations,code:e.extensions?.code}))}function wk(e,t){return t.allowedGraphQlUrls.find(t=>eC([t.match],e))}function Tk(e,t=!1){let n;if(e.method===`POST`?n=Ek(e.requestBody):e.method===`GET`&&(n=Dk(e.url)),n)return Ok(n,t)}function Ek(e){if(!e||typeof e!=`string`)return;let t=jb(e);if(t)return{query:t.query,operationName:t.operationName,variables:t.variables?JSON.stringify(t.variables):void 0}}function Dk(e){let t=Px(e).searchParams,n=t.get(`variables`),r=n&&jb(n)!==void 0?n:void 0;return{query:t.get(`query`)||void 0,operationName:t.get(`operationName`)||void 0,variables:r}}function Ok(e,t){let n,r,i;if(e.query){let i=e.query.trim();n=kk(i),t&&(r=Tx(i,xk,`...`))}return e.variables&&(i=e.variables),{operationType:n,operationName:e.operationName,variables:i,payload:r}}function kk(e){return e.match(/^\s*(query|mutation|subscription)\b/i)?.[1]}var Ak=1;function jk(e,t,n,r,i){let a=vk(t,n,r,i);Mk(e,t,a),Nk(e,t,a)}function Mk(e,t,n){let r=WE(t).subscribe(t=>{let r=t;if(ok(r.url))switch(r.state){case`start`:n.traceXhr(r,r.xhr),r.requestIndex=Pk(),e.notify(7,{requestIndex:r.requestIndex,url:r.url});break;case`complete`:n.clearTracingIfNeeded(r),e.notify(8,{...r,type:ID.XHR,isAbortedOnStart:!1})}});return{stop:()=>r.unsubscribe()}}function Nk(e,t,n){let r=QE({responseBodyAction:e=>wk(e.url,t)?.trackResponseErrors?2:1}).subscribe(t=>{let r=t;if(ok(r.url))switch(r.state){case`start`:n.traceFetch(r),r.requestIndex=Pk(),e.notify(7,{requestIndex:r.requestIndex,url:r.url});break;case`resolve`:n.clearTracingIfNeeded(r),e.notify(8,{...r,duration:H(r.
17startClocks.timeStamp,lx()),type:ID.FETCH,requestBody:r.init?.body})}});return{stop:()=>r.unsubscribe()}}function Pk(){let e=Ak;return Ak+=1,e}function Fk(e){return Ab(e)&&e<0?void 0:e}function Ik(e){return e.nodeType===Node.TEXT_NODE}function Lk(e){return e.nodeType===Node.COMMENT_NODE}function Rk(e){return e.nodeType===Node.ELEMENT_NODE}function zk(e){return Rk(e)&&!!e.shadowRoot}function Bk(e){let t=e;return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&Rk(t.host)}function Vk(e){return e.childNodes.length>0||zk(e)}function Hk(e,t){let n=e.firstChild;for(;n;)t(n),n=n.nextSibling;zk(e)&&t(e.shadowRoot)}function Uk(e){return Bk(e)?e.host:e.parentNode}function Wk(e){if(e.parentElement)return e.parentElement;let t=e.parentNode;return t&&Bk(t)?t.host:null}function Gk(e,t){let n=cx(),r=!1,{stop:i}=Vw(e,window,[`click`,`mousedown`,`keydown`,`touchstart`,`pointerdown`],t=>{if(!t.cancelable)return;let n={entryType:`first-input`,processingStart:ux(),processingEnd:ux(),startTime:t.timeStamp,duration:0,name:``,cancelable:!1,target:null,interactionId:0,toJSON:()=>({})};t.type===`pointerdown`?a(e,n):o(n)},{passive:!0,capture:!0});return{stop:i};function a(e,t){Vw(e,window,[`pointerup`,`pointercancel`],e=>{e.type===`pointerup`&&o(t)},{once:!0})}function o(e){if(!r){r=!0,i();let a=e.processingStart-e.startTime;a>=0&&a<cx()-n&&t(e)}}}var K;(function(e){e.EVENT=`event`,e.FIRST_INPUT=`first-input`,e.LARGEST_CONTENTFUL_PAINT=`largest-contentful-paint`,e.LAYOUT_SHIFT=`layout-shift`,e.LONG_TASK=`longtask`,e.LONG_ANIMATION_FRAME=`long-animation-frame`,e.NAVIGATION=`navigation`,e.PAINT=`paint`,e.RESOURCE=`resource`,e.VISIBILITY_STATE=`visibility-state`})(K||={});function Kk(e,t){return new B(n=>{if(!window.PerformanceObserver)return;let r=e=>{let t=Zk(e);t.length>0&&n.notify(t)},i,a=!0,o=new PerformanceObserver(z(e=>{a?i=qb(()=>r(e.getEntries())):r(e.getEntries())}));try{o.observe(t)}catch{if([K.RESOURCE,K.NAVIGATION,K.LONG_TASK,K.PAINT].includes(t.type)){t.buffered&&(i=qb(()=>r(performance.getEntriesByType(t.type))));try{o.observe({entryTypes:[t.type]})}catch{return}}}a=!1,Jk(e);let s;return!Xk(K.FIRST_INPUT)&&t.type===K.FIRST_INPUT&&({stop:s}=Gk(e,e=>{r([e])})),()=>{o.disconnect(),s&&s(),Jb(i)}})}var qk;function Jk(e){!qk&&Yk()&&`addEventListener`in performance&&(qk=Bw(e,performance,`resourcetimingbufferfull`,()=>{performance.clearResourceTimings()}))}function Yk(){return window.performance!==void 0&&`getEntries`in performance}function Xk(e){return window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes!==void 0&&PerformanceObserver.supportedEntryTypes.includes(e)}function Zk(e){return e.filter(e=>!Qk(e))}function Qk(e){return e.entryType===K.RESOURCE&&(!ok(e.name)||!$O(e))}function $k(e,t,n,r,i,a){let o=tC(eA)(e,t,n,r),s,c=!1,l=qb(z(()=>p({hadActivity:!1})),100),u=a===void 0?void 0:qb(z(()=>p({hadActivity:!0,end:lx()})),a),d=o.subscribe(({isBusy:e})=>{Jb(l),Jb(s);let t=lx();e||(s=qb(z(()=>p({hadActivity:!0,end:t})),100))}),f=()=>{c=!0,Jb(l),Jb(s),Jb(u),d.unsubscribe()};function p(e){c||(f(),i(e))}return{stop:f}}function eA(e,t,n,r){return new B(i=>{let a=[],o,s=0;return a.push(t.subscribe(e=>{e.every(nA)||c()}),n.subscribe(c),Kk(r,{type:K.RESOURCE}).subscribe(e=>{e.some(e=>!tA(r,e.name))&&c()}),e.subscribe(7,e=>{tA(r,e.url)||(o===void 0&&(o=e.requestIndex),s+=1,c())}),e.subscribe(8,e=>{tA(r,e.url)||o===void 0||e.requestIndex<o||(--s,c())})),()=>{a.forEach(e=>e.unsubscribe())};function c(){i.notify({isBusy:s>0})}})}function tA(e,t){return eC(e.excludedActivityUrls,t)}function nA(e){let t=e.type===`characterData`?e.target.parentElement:e.target;return!!(t&&Rk(t)&&t.matches(`[data-dd-excluded-activity-mutations], [data-dd-excluded-activity-mutations] *`))}var rA=`data-dd-action-name`,iA=`Masked Element`,aA=`::shadow `,oA=[rA,`data-testid`,`data-test`,`data-qa`,`data-cy`,`data-test-id`,`data-qa-id`,`data-testing`,`data-component`,`data-element`,`data-source-file`],sA=[gA,pA],cA=[gA,mA,hA];function lA(e,t){if(!e.isConnected)return;let n=uA(e),r=[];for(let{rootNode:e,target:i}of n){let n=dA(i,e,t);if(!n)return;r.push(n)}return r.join(aA)}function uA(e){let t=[],n=e;for(;n;){let e=n.getRootNode();if(t.push({rootNode:e,target:n}),Bk(e))n=e.host;else break}return t.reverse()}function dA(e,t,n){let r,i=e;for(;i&&i.nodeName!==`HTML`;){let e=bA(i,t,sA,xA,n,r);if(e)return CA(e,r);
17r=CA(bA(i,t,cA,SA,n,r)||vA(i),r),i=i.parentElement}return r}function fA(e){return/[0-9]/.test(e)}function pA(e){if(e.id&&!fA(e.id))return`#${CSS.escape(e.id)}`}function mA(e){if(e.tagName===`BODY`)return;let t=e.classList;for(let n=0;n<t.length;n+=1){let r=t[n];if(!fA(r))return`${CSS.escape(e.tagName)}.${CSS.escape(r)}`}}function hA(e){return CSS.escape(e.tagName)}function gA(e,t){if(t){let e=n(t);if(e)return e}for(let e of oA){let t=n(e);if(t)return t}function n(t){if(e.hasAttribute(t))return`${CSS.escape(e.tagName)}${_A(t,e.getAttribute(t))}`}}function _A(e,t){return`[${e}="${CSS.escape(t)}"]`}function vA(e){let t=yA(e);return`${CSS.escape(e.tagName)}:nth-of-type(${t})`}function yA(e){let t=e.parentNode.firstElementChild,n=1;for(;t&&t!==e;)t.tagName===e.tagName&&(n+=1),t=t.nextElementSibling;return n}function bA(e,t,n,r,i,a){for(let o of n){let n=o(e,i);if(n&&r(e,t,n,a))return n}}function xA(e,t,n,r){return t.querySelectorAll(CA(n,r)).length===1}function SA(e,t,n,r){let i;if(r===void 0)i=e=>e.matches(n);else{let e=CA(`${n}:scope`,r);i=t=>t.querySelector(e)!==null}let a=e.previousElementSibling;for(;a;){if(i(a))return!1;a=a.previousElementSibling}for(a=e.nextElementSibling;a;){if(i(a))return!1;a=a.nextElementSibling}return!0}function CA(e,t){return t?`${e}>${t}`:e}var q={IGNORE:`ignore`,HIDDEN:`hidden`,ALLOW:wC.ALLOW,MASK:wC.MASK,MASK_USER_INPUT:wC.MASK_USER_INPUT,MASK_UNLESS_ALLOWLISTED:wC.MASK_UNLESS_ALLOWLISTED},wA=`data-dd-privacy`,TA=`hidden`,EA=`dd-privacy-`,DA=`data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==`,OA={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function kA(e){return`[${wA}="${e}"], .${EA}${e}`}function AA(e,t,n){if(n&&n.has(e))return n.get(e);let r=Uk(e),i=r?AA(r,t,n):t,a=jA(MA(e),i);return n&&n.set(e,a),a}function jA(e,t){switch(t){case q.HIDDEN:case q.IGNORE:return t}switch(e){case q.ALLOW:case q.MASK:case q.MASK_USER_INPUT:case q.MASK_UNLESS_ALLOWLISTED:case q.HIDDEN:case q.IGNORE:return e;default:return t}}function MA(e){if(Rk(e)){if(e.tagName===`BASE`)return q.ALLOW;if(e.tagName===`INPUT`){let t=e;if(t.type===`password`||t.type===`email`||t.type===`tel`||t.type===`hidden`)return q.MASK;let n=t.getAttribute(`autocomplete`);if(n&&(n.startsWith(`cc-`)||n.endsWith(`-password`)))return q.MASK}if(e.matches(kA(q.HIDDEN)))return q.HIDDEN;if(e.matches(kA(q.MASK)))return q.MASK;if(e.matches(kA(q.MASK_UNLESS_ALLOWLISTED)))return q.MASK_UNLESS_ALLOWLISTED;if(e.matches(kA(q.MASK_USER_INPUT)))return q.MASK_USER_INPUT;if(e.matches(kA(q.ALLOW)))return q.ALLOW;if(RA(e))return q.IGNORE}}function NA(e,t){switch(t){case q.MASK:case q.HIDDEN:case q.IGNORE:return!0;case q.MASK_UNLESS_ALLOWLISTED:return Ik(e)?FA(e.parentNode)?!0:!zA(e.textContent||``):FA(e);case q.MASK_USER_INPUT:return Ik(e)?FA(e.parentNode):FA(e);default:return!1}}function PA(e,t,n,r,i){if(r!==q.MASK&&r!==q.MASK_UNLESS_ALLOWLISTED||t===`data-dd-privacy`||oA.includes(t)||t===i.actionNameAttribute)return!1;switch(t){case`title`:case`alt`:case`placeholder`:case`aria-label`:case`name`:return!0}return!!(e===`A`&&t===`href`||e===`IFRAME`&&t===`srcdoc`||n&&t.startsWith(`data-`)||(e===`IMG`||e===`SOURCE`)&&(t===`src`||t===`srcset`))}function FA(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;let t=e;if(t.tagName===`INPUT`)switch(t.type){case`button`:case`color`:case`reset`:case`submit`:return!1}return!!OA[t.tagName]}function IA(e){return e.replace(/\S/g,`x`)}function LA(e,t){let n=e.parentElement?.tagName,r=e.textContent||``;if(n===`HEAD`&&!r.trim())return;let i=t;if(n===`SCRIPT`)r=`***`;else if(i===q.HIDDEN)r=`***`;else if(NA(e,i)){if(n===`DATALIST`||n===`SELECT`||n===`OPTGROUP`){if(!r.trim())return}else r=n===`OPTION`?`***`:IA(r)}return r}function RA(e){if(e.nodeName===`SCRIPT`)return!0;if(e.nodeName===`LINK`){let e=t(`rel`);return/preload|prefetch/i.test(e)&&t(`as`)===`script`||e===`shortcut icon`||e===`icon`}if(e.nodeName===`META`){let n=t(`name`),r=t(`rel`),i=t(`property`);return/^msapplication-tile(image|color)$/.test(n)||n===`application-name`||r===`icon`||r===`apple-touch-icon`||r===`shortcut icon`||n===`keywords`||n===`de
17scription`||/^(og|twitter|fb):/.test(i)||/^(og|twitter):/.test(n)||n===`pinterest`||n===`robots`||n===`googlebot`||n===`bingbot`||e.hasAttribute(`http-equiv`)||n===`author`||n===`generator`||n===`framework`||n===`publisher`||n===`progid`||/^article:/.test(i)||/^product:/.test(i)||n===`google-site-verification`||n===`yandex-verification`||n===`csrf-token`||n===`p:domain_verify`||n===`verify-v1`||n===`verification`||n===`shopify-checkout-api-token`}function t(t){return(e.getAttribute(t)||``).toLowerCase()}return!1}function zA(e){return!e||!e.trim()||window.$DD_ALLOW?.has(e.toLocaleLowerCase())||!1}function BA(e,t){return zA(e)?e:t||IA(e)}function VA({lifeCycle:e,isChildEvent:t,onChange:n=U}){let r={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},i=e.subscribe(13,e=>{if(e.type!==`view`&&e.type!==`vital`&&t(e))switch(e.type){case G.ERROR:r.errorCount+=1,n();break;case G.ACTION:r.actionCount+=1,e.action.frustration&&(r.frustrationCount+=e.action.frustration.type.length),n();break;case G.LONG_TASK:r.longTaskCount+=1,n();break;case G.RESOURCE:e._dd?.discarded||(r.resourceCount+=1,n())}});return{stop:()=>{i.unsubscribe()},eventCounts:r}}var HA=5*tx;function UA(e){let t=_E({expireDelay:HA}),n=new Map;function r(e){var t;n.delete(e.key),(t=e.eventCounts)==null||t.stop()}function i(){n.forEach(e=>{r(e)}),t.reset()}let a=e.subscribe(10,i);function o(i,a,o,s){let c=bx(),l=t.add(c,a.relative),u=n.get(i);u&&r(u);let d={id:c,key:i,startClocks:a,data:o,historyEntry:l,eventCounts:s?.isChildEvent?VA({lifeCycle:e,isChildEvent:s.isChildEvent(c)}):void 0};return n.set(i,d),d}function s(e,t,i){let a=n.get(e);if(!a)return;let o=i?iT(a.data,i):a.data;a.historyEntry.close(t.relative);let s=H(a.startClocks.timeStamp,t.timeStamp),c=a.eventCounts?.eventCounts;return r(a),{...o,id:a.id,startClocks:a.startClocks,duration:s,counts:c}}function c(e){let t=n.get(e);if(!t)return;let i=t.eventCounts?.eventCounts;return r(t),t.historyEntry.remove(),{...t.data,id:t.id,startClocks:t.startClocks,counts:i}}function l(e){return t.findAll(e)}function u(e){return n.get(e)?.eventCounts?.eventCounts}function d(){a.unsubscribe(),i(),t.stop()}return{start:o,stop:s,discard:c,getCounts:u,findId:l,stopAll:d}}var WA=[`HTML`,`BODY`],GA=2*lw,KA=oA.concat([`role`,`type`,`disabled`,`readonly`,`tabindex`,`draggable`,`target`,`rel`,`download`,`method`,`action`,`enctype`,`autocomplete`]);function qA(e,t){let n=e.filter(e=>e instanceof Element&&!WA.includes(e.tagName));if(n.length===0)return``;let r=t?[t].concat(KA):KA,i=``;for(let e of n){let t=JA(e,r);if(i+=t,i.length>=GA)return Tx(i,GA)}return i}function JA(e,t){let n=hA(e),r=pA(e),i=YA(e),a=ZA(e,t),o=XA(e);return`${n}${r||``}${a}${i}${o};`}function YA(e){return Array.from(e.classList).filter(e=>!fA(e)).sort().map(e=>`.${CSS.escape(e)}`).join(``)}function XA(e){let t=Array.from(e.parentNode.children);if(t.length<=1)return``;let n=t.filter(t=>t.tagName===e.tagName),r=t.indexOf(e),i=yA(e);return`:nth-child(${r+1})${n.length>1?`:nth-of-type(${i})`:``}`}function ZA(e,t){let n=[],r=Array.from(e.attributes);for(let e of r)t.includes(e.name)&&n.push(_A(e.name,e.value));return n.sort().join(``)}var QA=ex;function $A(e,t){let n=[],r=0,i;a(e);function a(e){e.stopObservable.subscribe(o),n.push(e),Jb(i),i=qb(s,QA)}function o(){r===1&&n.every(e=>e.isStopped())&&(r=2,t(n))}function s(){Jb(i),r===0&&(r=1,o())}return{tryAppend:e=>r===0?n.length>0&&!ej(n[n.length-1].event,e.event)?(s(),!1):(a(e),!0):!1,stop:()=>{s()}}}function ej(e,t){return e.target===t.target&&tj(e,t)<=100&&e.timeStamp-t.timeStamp<=QA}function tj(e,t){return Math.sqrt((e.clientX-t.clientX)**2+(e.clientY-t.clientY)**2)}function nj(e,t,n=q.ALLOW){let r=new Map,{actionNameAttribute:i}=t,a=rj(e,`data-dd-action-name`)||i&&rj(e,i);return a?{name:a,nameSource:`custom_attribute`}:n===q.MASK?{name:iA,nameSource:`mask_placeholder`}:cj(e,aj,t,r)||cj(e,oj,t,r)||{name:``,nameSource:`blank`}}function rj(e,t){let n=ij(e,`[${t}]`);if(n)return uj(lj(n.getAttribute(t).trim()))}function ij(e,t){let n=e;for(;n;){if(n.matches(t))return n;n=Wk(n)}return null}var aj=[(e,t,n)=>{if(`labels`in e&&e.labels&&e.labels.length>0)return pj(e.labels[0],t,n)},e=>{if(e.nodeName===`INPUT`){let t=e,n=t.getAttribute(`type`);if(n===`button`||n===`submit`||n===`reset`)return{name:t.value,nameSource:`text_content`}}},(e,t,n)=>{if(e.nodeName===`BUTTON`||e.nodeName===`LABEL`||e.getAttribute(`role`)===`button`)return pj(e,t,n)},(e,t,n)=>fj(e,`aria-label`,t,n),(e,t,n)=>{let r=e.getAttribute(`aria-labelledby`);if(r)return{name:r.split(/\s+/).map(t=>dj(e,t)).filter(e=>!!e).map(e=>mj(e,t,n)).join(` `),nameSource:`text_content`}},(e,t,n)=>fj(e,`alt`,t,n),(e,t,n)=>fj(e,`name`,t,n),(e,t,n)=>fj(e,`title`,t,n),(e,t,n)=>fj(e,`placeholder`,t,n),(e,t,n)=>{if(`options`in e&&e.options.length>0)return pj(e.options[0],t,n)}],oj=[(e,t,n)=>pj(e,t,n)],sj=10;function cj(e,t,n,r){let i=e,a=0;for(;a<=sj&&i&&i.nodeName!==`BODY`&&i.nodeName!==`HTML`&&i.nodeName!==`HEAD`;){for(let e of t){let t=e(i,n,r);if(t){let{name:e,nameSource:n}=t,r=e&&e.trim();if(r)return{name:uj(lj(r)),nameSource:n}}}if(i.nodeName===`FORM`)break;i=Wk(i),a+=1}}function lj(e){return e.replace(/\s+/g,` `)}function uj(e){return e.length>100?`${Tx(e,100)} [...]`:e}function dj(e,t){let n=e.getRootNode();if(n instanceof ShadowRoot){let e=n.getElementById(t);if(e)return e}return e.ownerDocument?e.ownerDocument.getElementById(t):null}
17function fj(e,t,n,r){let{enablePrivacyForActionName:i,defaultPrivacyLevel:a}=n,o=e.getAttribute(t);if(o&&i){let i=AA(e,a,r);PA(e.tagName,t,o,i,n)&&(o=BA(o,iA))}else o||=``;return{name:o,nameSource:`standard_attribute`}}function pj(e,t,n){return{name:mj(e,t,n)||``,nameSource:`text_content`}}function mj(e,t,n){if(e.isContentEditable)return;let{enablePrivacyForActionName:r,actionNameAttribute:i,defaultPrivacyLevel:a}=t;if(FC(jC.USE_TREE_WALKER_FOR_ACTION_NAME))return hj(e,i,r,a,n);if(`innerText`in e){let t=e.innerText,n=n=>{let r=e.querySelectorAll(n);for(let e=0;e<r.length;e+=1){let n=r[e];if(`innerText`in n){let e=n.innerText;e&&e.trim().length>0&&(t=t.replace(e,``))}}};return n(`[${rA}]`),i&&n(`[${i}]`),r&&n(`${kA(q.HIDDEN)}, ${kA(q.MASK)}`),t}return e.textContent}function hj(e,t,n,r,i){let a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,s),o=``;for(;a.nextNode();){let e=a.currentNode;if(Rk(e)){(e.nodeName===`BR`||e.nodeName===`P`||[`block`,`flex`,`grid`,`list-item`,`table`,`table-caption`].includes(getComputedStyle(e).display))&&(o+=` `);continue}o+=e.textContent||``}return o.replace(/\s+/g,` `).trim();function s(e){let a=AA(e,r,i);if(n&&a&&NA(e,a))return NodeFilter.FILTER_REJECT;if(Rk(e)){if(e.hasAttribute(`data-dd-action-name`)||t&&e.hasAttribute(t))return NodeFilter.FILTER_REJECT;let n=getComputedStyle(e);if(n.visibility!==`visible`||n.display===`none`||n.contentVisibility&&n.contentVisibility!==`visible`)return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT}}function gj(e,{onPointerDown:t,onPointerUp:n}){let r,i={selection:!1,input:!1,scroll:!1},a,o=[Bw(e,window,`pointerdown`,e=>{vj(e)&&(r=_j(),i={selection:!1,input:!1,scroll:!1},a=t(e))},{capture:!0}),Bw(e,window,`selectionchange`,()=>{(!r||!_j())&&(i.selection=!0)},{capture:!0}),Bw(e,window,`scroll`,()=>{i.scroll=!0},{capture:!0,passive:!0}),Bw(e,window,`pointerup`,e=>{if(vj(e)&&a){let t=i;n(a,e,()=>t),a=void 0}},{capture:!0}),Bw(e,window,`input`,()=>{i.input=!0},{capture:!0})];return{stop:()=>{o.forEach(e=>e.stop())}}}function _j(){let e=window.getSelection();return!e||e.isCollapsed}function vj(e){return e.target instanceof Element&&e.isPrimary!==!1}var yj=3;function bj(e,t){if(xj(e))return t.addFrustration(UD.RAGE_CLICK),e.some(Cj)&&t.addFrustration(UD.DEAD_CLICK),t.hasError&&t.addFrustration(UD.ERROR_CLICK),{isRage:!0};let n=e.some(e=>e.getUserActivity().selection);return e.forEach(e=>{e.hasError&&e.addFrustration(UD.ERROR_CLICK),Cj(e)&&!n&&e.addFrustration(UD.DEAD_CLICK)}),{isRage:!1}}function xj(e){if(e.some(e=>e.getUserActivity().selection||e.getUserActivity().scroll))return!1;for(let t=0;t<e.length-2;t+=1)if(e[t+yj-1].event.timeStamp-e[t].event.timeStamp<=1e3)return!0;return!1}var Sj=`input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *`;function Cj(e){if(e.hasPageActivity||e.getUserActivity().input||e.getUserActivity().scroll)return!1;let t=e.event.target;return t.tagName===`LABEL`&&t.hasAttribute(`for`)&&(t=document.getElementById(t.getAttribute(`for`))),!t||!t.matches(Sj)}var wj=10*ex,Tj=new Map;function Ej(e){let t=Tj.get(e);return Tj.delete(e),t}
17function Dj(e,t){Tj.set(e,t),Tj.forEach((e,t)=>{H(t,ux())>wj&&Tj.delete(t)})}function Oj(e){return t=>t.action!==void 0&&t.action.id!==void 0&&t.action.id.includes(e)}function kj(e,t,n,r){let i=UA(e),a=new B,o;e.subscribe(5,l),e.subscribe(11,l);let{stop:s}=gj(r,{onPointerDown:i=>Aj(r,e,t,i,n),onPointerUp:({clickActionBase:o,hadActivityOnPointerDown:s},l,u)=>{jj(r,e,t,n,i,a,c,o,l,u,s)}});return{stop:()=>{l(),a.notify(),s(),i.stopAll()},findActionId:i.findId};function c(e){if(!o||!o.tryAppend(e)){let t=e.clone();o=$A(e,e=>{Fj(e,t),o=void 0})}}function l(){o&&o.stop()}}function Aj(e,t,n,r,i){let a=e.betaTrackActionsInShadowDom?Nj(r):r.target,o;if(o=e.enablePrivacyForActionName?AA(a,e.defaultPrivacyLevel):q.ALLOW,o===q.HIDDEN)return;let s=Mj(r,o,e),c=!1;return $k(t,n,i,e,e=>{c=e.hadActivity},100),{clickActionBase:s,hadActivityOnPointerDown:()=>c}}function jj(e,t,n,r,i,a,o,s,c,l,u){let d=Pj(t,i,l,s,c);o(d);let f=s?.target?.selector;f&&Dj(c.timeStamp,f);let{stop:p}=$k(t,n,r,e,e=>{e.hadActivity&&e.end<d.startClocks.timeStamp?d.discard():e.hadActivity?d.stop(e.end):u()?d.stop(d.startClocks.timeStamp):d.stop()},wj),m=t.subscribe(5,({endClocks:e})=>{d.stop(e.timeStamp)}),h=t.subscribe(11,()=>{d.stop(lx())}),g=a.subscribe(()=>{d.stop()});d.stopObservable.subscribe(()=>{h.unsubscribe(),m.unsubscribe(),p(),g.unsubscribe()})}function Mj(e,t,n){let r=n.betaTrackActionsInShadowDom?Nj(e):e.target,i=r.getBoundingClientRect(),a=lA(r,n.actionNameAttribute),o=qA(e.composedPath(),n.actionNameAttribute);a&&Dj(e.timeStamp,a);let{name:s,nameSource:c}=nj(r,n,t);return{type:HD.CLICK,target:{width:Math.round(i.width),height:Math.round(i.height),selector:a,composedPathSelector:o||void 0},position:{x:Math.round(e.clientX-i.left),y:Math.round(e.clientY-i.top)},name:s,nameSource:c}}function Nj(e){if(e.composed&&zk(e.target)&&typeof e.composedPath==`function`){let t=e.composedPath();if(t.length>0&&t[0]instanceof Element)return t[0]}return e.target}function Pj(e,t,n,r,i){let a=bx(),o=ix(i.timeStamp),s=t.start(a,o,r,{isChildEvent:Oj});e.notify(15,s);let c=0,l,u=[],d=new B;function f(e){c===0&&(c=1,l=e?t.stop(a,ax(e)):t.discard(a),d.notify())}return{event:i,stop:f,stopObservable:d,get hasError(){let e=l?.counts??t.getCounts(a);return e?e.errorCount>0:!1},get hasPageActivity(){return l&&`duration`in l},getUserActivity:n,addFrustration:e=>{u.push(e)},get startClocks(){return o},isStopped:()=>c===1||c===2,clone:()=>Pj(e,t,n,r,i),validate:t=>{if(f(),c!==1||!l)return;let n={frustrationTypes:u,events:t??[i],event:i,...l,counts:l.counts};e.notify(0,n),c=2},discard:()=>{f(),c=2}}}function Fj(e,t){let{isRage:n}=bj(e,t);n?(e.forEach(e=>e.discard()),t.stop(lx()),t.validate(e.map(e=>e.event))):(t.discard(),e.forEach(e=>e.validate()))}function Ij(e,t){let n=UA(e);function r(t,r={},i=dx()){let a=r.actionKey??t,o=n.start(a,i,{name:t,...r},{isChildEvent:Oj});e.notify(15,o)}function i(e,r={},i=dx()){let a=r.actionKey??e,o=n.stop(a,i,r);if(!o)return;let s=[];o.counts&&o.counts.errorCount>0&&s.push(UD.ERROR_CLICK),t({...o,type:o.type||HD.CUSTOM,frustrationTypes:s})}function a(e){t({id:bx(),frustrationTypes:[],...e})}return{addAction:a,startAction:r,stopAction:i,findActionId:n.findId,stop:n.stopAll}}function Lj(e,t,n,r,i){let{unsubscribe:a}=e.subscribe(0,t=>{e.notify(12,Rj(t))}),o=U,s;i.trackUserInteractions&&(s=kj(e,n,r,i));let c=Ij(e,t=>{e.notify(12,Rj(t))}),l={findActionId:e=>{let t=c.findActionId(e),n=s?.findActionId(e)??[];return t.concat(n)}};return t.register(0,({startTime:e,eventType:t})=>{if(t!==G.ERROR&&t!==G.RESOURCE&&t!==G.LONG_TASK)return UT;let n=t===G.LONG_TASK?px(e,1):e,r=l.findActionId(n);return r.length?{type:t,action:{id:r}}:UT}),t.register(1,({startTime:e})=>({action:{id:l.findActionId(e)}})),{addAction:c.addAction,startAction:c.startAction,stopAction:c.stopAction,actionContexts:l,stop:()=>{a(),o(),c.stop(),s?.stop()}}}function Rj(e){let t=zj(e),n=Fk(V(e.duration));return{rawRumEvent:{type:G.ACTION,date:e.startClocks.timeStamp,action:{id:e.id,target:{name:e.name},type:e.type,...n!==void 0&&{loading_time:n},...e.counts&&{error:{count:e.counts.errorCount},long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}},frustration:{type:e.frustrationTypes}},...t?{_dd:{action:{target:{selector:e.target?.selector||void 0,width:e.target?.width||void 0,height:e.target?.height||void 0,composed_path_selector:e.target?.composedPathSelector},position:e.position,name_source:e.nameSource}}}:{context:e.context}},duration:e.duration,startClocks:e.startClocks,domainContext:t?{events:e.events}:{handlingStack:e.handlingStack}}}function zj(e){return`events`in e}function Bj(e){let t=sD([yb.error]).subscribe(t=>e.notify(t.error));return{stop:()=>{t.unsubscribe()}}}function Vj(e,t){let n=Uw(e,[Hw.cspViolation,Hw.intervention]).subscribe(e=>t.notify(e));return{stop:()=>{n.unsubscribe()}}}function Hj(e,t,n){let r=new B;return n.subscribe(e=>{e.type===0&&r.notify(e.error)}),Bj(r),Vj(t,r),r.subscribe(t=>e.notify(14,{error:t})),Uj(e)}function Uj(e){return e.subscribe(14,({error:t})=>{e.notify(12,Wj(t))}),{addError:({error:t,handlingStack:n,componentStack:r,startClocks:i,context:a})=>{let o=Dw({originalError:t,handlingStack:n,componentStack:r,startClocks:i,nonErrorPrefix:`Provided`,source:Nw.CUSTOM,handling:`handled`});o.context=iT(o.context,a),e.notify(14,{error:o})}}}function Wj(e){let t={date:e.startClocks.timeStamp,error:{id:bx(),message:e.message,source:e.source,stack:e.stack,handling_stack:e.handlingStack,component_stack:e.componentStack,type:e.type,handling:e.handling,causes:e.causes,source_type:`browser`,fingerprint:e.fingerprint,csp:e.csp},type:G.ERROR,context:e.context},n={error:e.originalError,handlingStack:e.handlingStack};return{rawRumEvent:t,startClocks:e.startClocks,domainContext:n}}var Gj=new WeakSet;function Kj(e){if(!performance||!(`getEntriesByName`in performance))return;let t=performance.getEntriesByName(e.url,`resource`);if(!t.length||!(`toJSON`in t[0]))return;let n=t.filter(e=>!Gj.has(e)).filter(e=>$O(e)&&ek(e)).filter(t=>Jj(t,e.startClocks.relative,qj({startTime:e.startClocks.relative,duration:e.duration})));if(n.length===1)return Gj.add(n[0]),n[0].toJSON()}function qj(e){return px(e.startTime,e.duration)}
17function Jj(e,t,n){return e.startTime>=t-1&&qj(e)<=px(n,1)}var Yj=2*tx;function Xj(e){let t=Zj(e)||Qj(e);if(!(!t||t.traceTime<=cx()-Yj))return t.traceId}function Zj(e){let t=e.querySelector(`meta[name=dd-trace-id]`),n=e.querySelector(`meta[name=dd-trace-time]`);return $j(t&&t.content,n&&n.content)}function Qj(e){let t=eM(e);if(t)return $j(Sx(t,`trace-id`),Sx(t,`trace-time`))}function $j(e,t){let n=t&&Number(t);if(e&&n)return{traceId:e,traceTime:n}}function eM(e){for(let t=0;t<e.childNodes.length;t+=1){let n=tM(e.childNodes[t]);if(n)return n}if(e.body)for(let t=e.body.childNodes.length-1;t>=0;--t){let n=e.body.childNodes[t],r=tM(n);if(r)return r;if(!Ik(n))break}}function tM(e){if(e&&Lk(e)){let t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function nM(){if(Xk(K.NAVIGATION)){let e=performance.getEntriesByType(K.NAVIGATION)[0];if(e)return e}let e=rM(),t={entryType:K.NAVIGATION,initiatorType:`navigation`,name:window.location.href,startTime:0,duration:e.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...t,toJSON:void 0}),...e};return t}function rM(){let e={},t=performance.timing;for(let n in t)if(Ab(t[n])){let r=n,i=t[r];e[r]=i===0?0:mx(i)}return e}function iM(e){return e.responseStart>=0&&e.responseStart<=ux()?e.responseStart:void 0}function aM(){if(Xk(K.RESOURCE))return performance.getEntriesByType(K.RESOURCE)}function oM(e,t){let n=aM();if(n)return Jx(n,n=>n.name===e&&n.startTime<=t)}function sM(e,t){BE(e,`interactive`,()=>{let e=tC(nM)(),n=Object.assign(e.toJSON(),{entryType:K.RESOURCE,initiatorType:KO,duration:e.responseEnd,traceId:Xj(document),toJSON:()=>({...n,toJSON:void 0})});t(n)})}function cM(e){let t=new Set,n=!1,r=e.subscribe(8,e=>{if(t.add(e),t.size>1e3){let e=t.values().next().value;if(!n){n=!0;let r;if(FC(jC.TOO_MANY_REQUESTS_INVESTIGATION)){let n=0,i=0,a=0,o=0;for(let e of t)e.isAborted&&n++,e.isAbortedOnStart&&i++,e.type===ID.XHR&&a++,performance.getEntriesByName(e.url,`resource`).some(t=>t.startTime>=e.startClocks.relative)||o++;let s=lx()-e.startClocks.timeStamp;r={abortedCount:n,abortedOnStartCount:i,xhrCount:a,fetchCount:t.size-a,oldestRequestAge:s,oldestRequestEndAge:s-e.duration,withoutMatchingEntryCount:o}}rE(`Too many requests`,r)}t.delete(e)}});return{getMatchingRequest(e){let n=1/0,r;for(let i of t){let t=e.startTime-i.startClocks.relative;0<=t&&t<n&&i.url===e.name&&(n=Math.abs(t),r=i)}return r&&t.delete(r),r},stop(){r.unsubscribe()}}}function lM(e,t){function n(e,n={},r=dx()){let i=n.resourceKey??e;t.start(i,r,{url:e,...n})}function r(n,r={},i=dx()){let a=r.resourceKey??n,o=t.stop(a,i,{context:r.context,type:r.type});if(!o)return;let s=H(o.startClocks.relative,i.relative),c={date:o.startClocks.timeStamp,type:G.RESOURCE,resource:{id:o.id,type:o.type||FD.OTHER,url:lk(o.url),duration:V(s),method:o.method,status_code:r.statusCode,size:r.size},_dd:{},context:o.context};e.notify(12,{rawRumEvent:c,startClocks:o.startClocks,duration:s,domainContext:{isManual:!0}})}return{startResource:n,stopResource:r}}function uM(e,t,n){let r=tC(aD)(),i,a=t.trackEarlyRequests;a?i=cM(e):e.subscribe(8,e=>{s(()=>dM(e,t,n))});let o=Kk(t,{type:K.RESOURCE,buffered:!0}).subscribe(e=>{for(let r of e)(a||!XO(r))&&s(()=>fM(r,t,n,i))});tC(sM)(t,e=>{s(()=>fM(e,t,n,i))});function s(t){r.push(()=>{let n=t();n&&e.notify(12,n)})}let c=UA(e),l=lM(e,c);return{startResource:l.startResource,stopResource:l.stopResource,stop:()=>{r.stop(),o.unsubscribe(),c.stopAll()}}}function dM(e,t,n){return pM(Kj(e),e,n,t)}function fM(e,t,n,r){return pM(e,XO(e)&&r?r.getMatchingRequest(e):void 0,n,t)}function pM(e,t,n,r){if(!e&&!t)return;let i=t?vM(t,r):yM(e,r);if(!r.trackResources&&!i)return;let a=e?ix(e.startTime):t.startClocks,o=e?ZO(e):bM(n,a,t.duration),s=FC(jC.TRACK_RESOURCE_HEADERS)?SM(t,r):void 0,c=t&&mM(t,r),l=e&&hM(e);return{startClocks:a,duration:o,rawRumEvent:iT({date:a.timeStamp,resource:{id:bx(),duration:V(o),type:t?t.type===ID.XHR?FD.XHR:FD.FETCH:JO(e),method:t?t.method:void 0,status_code:t?t.status:xM(e.responseStatus),url:t?lk(t.url):e.name,protocol:e&&rk(e),delivery_type:e&&ik(e),graphql:c},type:G.RESOURCE,_dd:{discarded:!r.trackResources}},i,e&&_M(e),l,s),domainContext:gM(e,t)}}function mM(e,t){let n=wk(e.url,t);if(n)return Sk(e,n)}function hM(e){let t=e.contentType;if(t)return{resource:{response:{headers:{"content-type":t}}}}}function gM(e,t){if(t){let n={performanceEntry:e,isAborted:t.isAborted,handlingStack:t.handlingStack};return t.type===ID.XHR?{xhr:t.xhr,...n}:{requestInput:t.input,requestInit:t.init,response:t.response,error:t.error,...n}}return{performanceEntry:e}}function _M(e){let{renderBlockingStatus:t}=e;return{resource:{render_blocking_status:t,...ak(e),...QO(e)}}}function vM(e,t){if(e.traceSampled&&e.traceId&&e.spanId)return{_dd:{span_id:e.spanId.toString(),trace_id:e.traceId.toString(),rule_psr:t.rulePsr}}}function yM(e,t){if(e.traceId)return{_dd:{trace_id:e.traceId,span_id:mk().toString(),rule_psr:t.rulePsr}}}function bM(e,t,n){return e.wasInPageStateDuringPeriod(`frozen`,t.relative,n)?void 0:n}function xM(e){return e===0?void 0:e}function SM(e,t){let n=t.trackResourceHeaders;if(n.length===0||!e)return;let r=n.filter(t=>t.url===void 0||eC([t.url],e.url,!0));if(r.length===0)return;let i=r.filter(e=>e.location===void 0||e.location===`any`||e.location===`response`),a=r.filter(e=>e.location===void 0||e.location===`any`||e.location===`request`),o=i.length>0?CM(e,i):void 0,s=a.length>0?wM(e,a):void 0;if(o||s)return{resource:{request:s?{headers:s}:void 0,response:o?{headers:o}:void 0}}}function CM(e,t){if(e.type===ID.FETCH&&e.response)return OM(e.response.headers,t);if(e.type===ID.XHR&&e.xhr){let n=e.xhr.getAllResponseHeaders();if(n)try{return OM(new Headers(kM(n)),t)}catch{}}}
17function wM(e,t){if(e.type!==ID.FETCH)return;let n;return e.init?.headers?n=new Headers(e.init.headers):e.input instanceof Request&&(n=e.input.headers),n?OM(n,t):void 0}var TM=/(token|cookie|secret|authorization|(api|secret|access|app).?key|(client|connecting|real).?ip|forwarded)/,EM=100,DM=128;function OM(e,t){let n={},r=0,i=0,a=!1;return e.forEach((e,o)=>{if(i++,r>=EM){a||=(R.warn(`Maximum number of headers (${EM}) has been reached. Further headers are dropped.`),!0);return}let s=o.toLowerCase();if(TM.test(s))return;let c=t.find(e=>eC([e.name],s));if(!c)return;let{extractor:l}=c,u=l?fO(e,l):e;u!==void 0&&(u.length>DM&&(R.warn(`Header "${s}" value was truncated from ${u.length} to ${DM} characters.`),rE(`Resource header value was truncated`,{header_name:s,original_length:u.length,limit:DM})),n[s]=Tx(u,DM),r++)}),a&&rE(`Maximum number of resource headers reached`,{collectedHeaderCount:r,totalHeaderCount:i}),r>0?n:void 0}function kM(e){let t=[],n=e.trim().split(/\r\n/);for(let e of n){let n=e.indexOf(`:`);n>0&&t.push([e.substring(0,n).trim(),e.substring(n+1).trim()])}return t}function AM(e,t,n){let{stop:r,eventCounts:i}=VA({lifeCycle:e,isChildEvent:e=>e.view.id===t,onChange:n});return{stop:r,eventCounts:i}}var jM=10*tx;function MM(e,t,n){return{stop:Kk(e,{type:K.PAINT,buffered:!0}).subscribe(e=>{let r=e.find(e=>e.name===`first-contentful-paint`&&e.startTime<t.timeStamp&&e.startTime<jM);r&&n(r.startTime)}).unsubscribe}}function NM(e,t){requestAnimationFrame(()=>{requestAnimationFrame(()=>{t(H(e,ux()))})})}function PM(e,t,n){let r=Kk(e,{type:K.FIRST_INPUT,buffered:!0}).subscribe(r=>{let i=r.find(e=>e.startTime<t.timeStamp);if(i){let t=H(i.startTime,i.processingStart),r;i.target&&Rk(i.target)&&(r=lA(i.target,e.actionNameAttribute)),n({delay:t>=0?t:0,time:i.startTime,targetSelector:r})}});return{stop:()=>{r.unsubscribe()}}}function FM(e,t){return RM(e,()=>{let e=tC(nM)();LM(e)||t(IM(e))})}function IM(e){return{domComplete:e.domComplete,domContentLoaded:e.domContentLoadedEventEnd,domInteractive:e.domInteractive,loadEvent:e.loadEventEnd,firstByte:iM(e)}}function LM(e){return e.loadEventEnd<=0}function RM(e,t){let n,{stop:r}=BE(e,`complete`,()=>{n=qb(()=>t())});return{stop:()=>{r(),Jb(n)}}}var zM=10*tx;function BM(e,t,n,r){let i=1/0,{stop:a}=Vw(e,n,[`pointerdown`,`keydown`],e=>{i=e.timeStamp},{capture:!0,once:!0}),o=0,s=Kk(e,{type:K.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(n=>{let a=Jx(n,e=>e.entryType===K.LARGEST_CONTENTFUL_PAINT&&e.startTime<i&&e.startTime<t.timeStamp&&e.startTime<zM&&e.size>o);if(a){let t;a.element&&(t=lA(a.element,e.actionNameAttribute));let n=VM(a),i=a.startTime,s=HM(n,i);r({value:i,targetSelector:t,resourceUrl:n,subParts:s}),o=a.size}});return{stop:()=>{a(),s.unsubscribe()}}}function VM(e){return e.url===``?void 0:e.url}function HM(e,t){let n=iM(nM());if(n===void 0)return;let r=e?oM(e,t):void 0,i=r?Math.max(n,r.requestStart||r.startTime):n,a=Math.min(t,Math.max(i,r?.responseEnd||0));return{loadDelay:i-n,loadTime:a-i,renderDelay:t-a}}function UM(e,t,n=window){if(document.visibilityState===`hidden`)return{timeStamp:0,stop:U};if(Xk(K.VISIBILITY_STATE)){let e=performance.getEntriesByType(K.VISIBILITY_STATE).filter(e=>e.name===`hidden`).find(e=>e.startTime>=t.relative);if(e)return{timeStamp:e.startTime,stop:U}}let r=1/0,{stop:i}=Vw(e,n,[`pagehide`,`visibilitychange`],e=>{(e.type===`pagehide`||document.visibilityState===`hidden`)&&(r=e.timeStamp,i())},{capture:!0});return{get timeStamp(){return r},stop:i}}function WM(e,t,n,r){let i={},{stop:a}=FM(e,e=>{n(e.loadEvent),i.navigationTimings=e,r()}),o=UM(e,t),{stop:s}=MM(e,o,e=>{i.firstContentfulPaint=e,r()}),{stop:c}=BM(e,o,window,e=>{i.largestContentfulPaint=e,r()}),{stop:l}=PM(e,o,e=>{i.firstInput=e,r()});function u(){a(),s(),c(),l(),o.stop()}return{stop:u,initialViewMetrics:i}}var GM=(e,t)=>e*t,KM=(e,t)=>{let n=Math.max(e.left,t.left),r=Math.max(e.top,t.top),i=Math.min(e.right,t.right),a=Math.min(e.bottom,t.bottom);return n>=i||r>=a?0:GM(i-n,a-r)},qM=e=>{let t=GM(e.previousRect.width,e.previousRect.height),n=GM(e.currentRect.width,e.currentRect.height),r=KM(e.previousRect,e.currentRect);return t+n-r};function JM(e,t,n){if(!eN())return{stop:U};let r=0,i;n({value:0});let a=$M(),o=Kk(e,{type:K.LAYOUT_SHIFT,buffered:!0}).subscribe(o=>{for(let s of o){if(s.hadRecentInput||s.startTime<t)continue;let{cumulatedValue:o,isMaxValue:c}=a.update(s);if(c){let e=YM(s.sources);i={target:e?.node?new WeakRef(e.node):void 0,time:H(t,s.startTime),previousRect:e?.previousRect,currentRect:e?.currentRect,devicePixelRatio:window.devicePixelRatio}}if(o>r){r=o;let t=(i?.target)?.deref();n({value:Ob(r,4),targetSelector:t&&lA(t,e.actionNameAttribute),time:i?.time,previousRect:i?.previousRect?XM(i.previousRect):void 0,currentRect:i?.currentRect?XM(i.currentRect):void 0,devicePixelRatio:i?.devicePixelRatio})}}});return{stop:()=>{o.unsubscribe()}}}function YM(e){let t;for(let n of e)if(n.node&&Rk(n.node)){let e=qM(n);(!t||qM(t)<e)&&(t=n)}return t}function XM({x:e,y:t,width:n,height:r}){return{x:e,y:t,width:n,height:r}}var ZM=5*ex,QM=ex;
17function $M(){let e=0,t,n,r=0;return{update:i=>{let a=t===void 0||i.startTime-n>=QM||i.startTime-t>=ZM,o;return a?(t=n=i.startTime,r=e=i.value,o=!0):(e+=i.value,n=i.startTime,o=i.value>r,o&&(r=i.value)),{cumulatedValue:e,isMaxValue:o}}}}function eN(){return Xk(K.LAYOUT_SHIFT)&&`WeakRef`in window}var tN,nN=0,rN=1/0,iN=0;function aN(){`interactionCount`in performance||tN||(tN=new window.PerformanceObserver(z(e=>{e.getEntries().forEach(e=>{let t=e;t.interactionId&&(rN=Math.min(rN,t.interactionId),iN=Math.max(iN,t.interactionId),nN=(iN-rN)/7+1)})})),tN.observe({type:`event`,buffered:!0,durationThreshold:0}))}var oN=()=>tN?nN:window.performance.interactionCount||0,sN=10,cN=1*tx,lN=8;function uN(e,t,n){if(!mN())return{getInteractionToNextPaint:()=>void 0,setViewEnd:U,stop:U};let r=1/0,i,{getViewInteractionCount:a,stopViewInteractionCount:o}=fN(n),s=dN(a),c=pN(s),l=Kk(e,{type:K.FIRST_INPUT,buffered:!0}).subscribe(d),u=Kk(e,{type:K.EVENT,durationThreshold:40,buffered:!0}).subscribe(d);function d(e){for(let n of e)n.interactionId&&n.startTime>=t&&n.startTime<=r&&(s.process(n),c.process(n));c.pruneUntracked();let n=s.estimateP98Interaction();n&&f(n)}function f(n){let r=H(t,n.startTime);if(!i||n.duration!==i.duration||r!==i.startTime){let t=Ej(n.startTime);!t&&n.target&&Rk(n.target)&&(t=lA(n.target,e.actionNameAttribute)),i={duration:n.duration,startTime:r,targetSelector:t}}i.subParts=c.computeSubParts(n,hN(i.duration))}return{getInteractionToNextPaint:()=>{if(i)return{value:hN(i.duration),targetSelector:i.targetSelector,time:i.startTime,subParts:i.subParts};if(a())return{value:0}}
17,setViewEnd:e=>{r=e,o()},stop:()=>{u.unsubscribe(),l.unsubscribe(),c.stop()}}}function dN(e){let t=[];function n(){t.sort((e,t)=>t.duration-e.duration).splice(sN)}return{process(e){let r=t.findIndex(t=>e.interactionId===t.interactionId),i=t[t.length-1];r===-1?(t.length<sN||e.duration>i.duration)&&(t.push(e),n()):e.duration>t[r].duration&&(t[r]=e,n())},estimateP98Interaction(){let n=Math.min(t.length-1,Math.floor(e()/50));return t[n]},isTracked(e){return t.some(t=>t.interactionId===e)}}}function fN(e){aN();let t=e===VD.INITIAL_LOAD?0:oN(),n={stopped:!1};function r(){return oN()-t}return{getViewInteractionCount:()=>n.stopped?n.interactionCount:r(),stopViewInteractionCount:()=>{n={stopped:!0,interactionCount:r()}}}}function pN(e){let t=new Map;function n(e,t){e.startTime=Math.min(t.startTime,e.startTime),e.processingStart=Math.min(t.processingStart,e.processingStart),e.processingEnd=Math.max(t.processingEnd,e.processingEnd)}return{process(e){if(e.interactionId===void 0||!e.processingStart||!e.processingEnd)return;let r=e.startTime+e.duration,i=t.get(e.interactionId);if(i){n(i,e);return}for(let[,i]of t.entries())if(Math.abs(r-i.referenceRenderTime)<=lN){n(i,e),t.set(e.interactionId,i);return}t.set(e.interactionId,{startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,referenceRenderTime:r})},pruneUntracked(){for(let[n]of t)e.isTracked(n)||t.delete(n)},computeSubParts(e,n){if(!e.processingStart||!e.processingEnd||e.interactionId===void 0)return;let r=t.get(e.interactionId);if(!r)return;let i=Math.max(r.startTime+n,r.processingStart),a=Math.min(r.processingEnd,i);return{inputDelay:H(r.startTime,r.processingStart),processingDuration:H(r.processingStart,a),presentationDelay:H(a,i)}},stop(){t.clear()}}}function mN(){return Xk(K.EVENT)&&window.PerformanceEventTiming&&`interactionId`in PerformanceEventTiming.prototype}function hN(e){return Math.min(e,cN)}function gN(e,t,n,r,i,a,o){let s=i===VD.INITIAL_LOAD,c=!0,l=[],u=UM(r,a);function d(){if(!c&&!s&&l.length>0){let e=Math.max(...l);e<u.timeStamp-a.relative&&o(e)}}let{stop:f}=$k(e,t,n,r,e=>{c&&(c=!1,e.hadActivity&&l.push(H(a.timeStamp,e.end)),d())});return{stop:()=>{f(),u.stop()},setLoadEvent:e=>{s&&(s=!1,l.push(e),d())}}}function _N(){let e,t=window.visualViewport;return e=t?t.pageLeft-t.offsetLeft:window.scrollX===void 0?window.pageXOffset||0:window.scrollX,Math.round(e)}function vN(){let e,t=window.visualViewport;return e=t?t.pageTop-t.offsetTop:window.scrollY===void 0?window.pageYOffset||0:window.scrollY,Math.round(e)}var yN;function bN(e){return yN||=xN(e),yN}function xN(e){return new B(t=>{let{throttled:n}=yx(()=>{t.notify(SN())},200);return Bw(e,window,`resize`,n,{capture:!0,passive:!0}).stop})}function SN(){let e=window.visualViewport;return e?{width:Number(e.width*e.scale),height:Number(e.height*e.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}var CN=ex;function wN(e,t,n,r=EN(e)){let i=0,a=0,o=0,s=r.subscribe(({scrollDepth:e,scrollTop:r,scrollHeight:s})=>{let c=!1;if(e>i&&(i=e,c=!0),s>a){a=s;let e=ux();o=H(t.relative,e),c=!0}c&&n({maxDepth:Math.min(i,a),maxDepthScrollTop:r,maxScrollHeight:a,maxScrollHeightTime:o})});return{stop:()=>s.unsubscribe()}}function TN(){let e=vN(),{height:t}=SN();return{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(t+e),scrollTop:e}}function EN(e,t=CN){return new B(n=>{function r(){n.notify(TN())}if(window.ResizeObserver){let n=yx(r,t,{leading:!1,trailing:!0}),i=document.scrollingElement||document.documentElement,a=new ResizeObserver(z(n.throttled));i&&a.observe(i);let o=Bw(e,window,`scroll`,n.throttled,{passive:!0});return()=>{n.cancel(),a.disconnect(),o.stop()}}})}function DN(e,t,n,r,i,a,o){let s={},c=!1,l=!1,{stop:u,setLoadEvent:d}=gN(e,t,n,r,a,o,e=>{c||(s.loadingTime=e,i())}),{stop:f}=wN(r,o,e=>{s.scroll=e}),{stop:p}=JM(r,o.relative,e=>{s.cumulativeLayoutShift=e,i()}),{stop:m,getInteractionToNextPaint:h,setViewEnd:g}=uN(r,o.relative,a);return{stop:()=>{u(),p(),f()},stopINPTracking:m,setLoadEvent:d,setViewEnd:e=>{l=!0,g(e)},getCommonViewMetrics:()=>
17(s.interactionToNextPaint=h(),s),setLoadingTime:e=>{if(l)return;let t=H(o.timeStamp,e??lx());c||u(),c=!0,s.loadingTime=t,i()}}}function ON(e,t){let{stop:n}=Bw(e,window,`pageshow`,e=>{e.persisted&&t(e)},{capture:!0});return n}function kN(e,t,n){NM(e.relative,e=>{t.firstContentfulPaint=e,t.largestContentfulPaint={value:e},n()})}var AN=3e3,jN=5*tx,MN=5*tx;function NN(e,t,n,r,i,a,o){let s=new Set,c=d(VD.INITIAL_LOAD,fx(),o),l;f();let u;a&&(u=p(i),r.trackBfcacheViews&&(l=ON(r,e=>{c.end();let t=ix(e.timeStamp);c=d(VD.BF_CACHE,t,void 0)})));function d(i,a,o){let c=PN(e,t,n,r,i,a,o);return s.add(c),c.stopObservable.subscribe(()=>{s.delete(c)}),c}function f(){e.subscribe(10,()=>{c=d(VD.ROUTE_CHANGE,void 0,{name:c.name,service:c.service,version:c.version,context:c.contextManager.getContext()})}),e.subscribe(9,()=>{c.end({sessionIsActive:!1})})}function p(e){return e.subscribe(({oldLocation:e,newLocation:t})=>{IN(e,t)&&(c.end(),c=d(VD.ROUTE_CHANGE))})}return{addTiming:(e,t=lx())=>{c.addTiming(e,t)},setLoadingTime:e=>c.setLoadingTime(e),startView:(e,t)=>{c.end({endClocks:t}),c=d(VD.ROUTE_CHANGE,t,e)},setViewContext:e=>{c.contextManager.setContext(e)},setViewContextProperty:(e,t)=>{c.contextManager.setContextProperty(e,t)},setViewName:e=>{c.setViewName(e)},getViewContext:()=>c.contextManager.getContext(),stop:()=>
17{u&&u.unsubscribe(),l&&l(),c.end(),s.forEach(e=>e.stop())}}}function PN(e,t,n,r,i,a=dx(),o){let s=bx(),c=new B,l={},u=0,d,f=Mb(tC(window.location)),p=gD(),m=!0,h=o?.name,g=o?.service||r.service,_=o?.version||r.version,v=o?.context,y=o?.handlingStack;v&&p.setContext(v);let b={id:s,name:h,startClocks:a,service:g,version:_,context:v,url:o?.url};e.notify(1,b),e.notify(2,b);let{throttled:x,cancel:S}=yx(D,AN,{leading:!1}),{setLoadEvent:C,setViewEnd:w,stop:ee,stopINPTracking:te,getCommonViewMetrics:T,setLoadingTime:E}=DN(e,t,n,r,le,i,a),{stop:ne,initialViewMetrics:re}=i===VD.INITIAL_LOAD?WM(r,a,C,le):{stop:U,initialViewMetrics:{}};i===VD.BF_CACHE&&kN(a,re,le);let{stop:ie,eventCounts:ae}=AM(e,s,le),oe=Yb(D,jN),se=e.subscribe(11,e=>{e.reason===MT.UNLOADING&&D()});D(),p.changeObservable.subscribe(le);function ce(){e.notify(3,{id:s,name:h,context:p.getContext(),startClocks:a,sessionIsActive:m})}function le(){ce(),x()}function D(){S(),ce(),u+=1;let t=d===void 0?lx():d.timeStamp;e.notify(4,{customTimings:l,documentVersion:u,id:s,name:h,service:g,version:_,context:p.getContext(),loadingType:i,location:f,handlingStack:y,startClocks:a,commonViewMetrics:T(),initialViewMetrics:re,duration:H(a.timeStamp,t),isActive:d===void 0,sessionIsActive:m,eventCounts:ae})}return{get name(){return h},service:g,version:_,contextManager:p,stopObservable:c,end(t={}){d||(d=t.endClocks??dx(),m=t.sessionIsActive??!0,e.notify(5,{endClocks:d}),e.notify(6,{endClocks:d}),Xb(oe),w(d.relative),ee(),se.unsubscribe(),D(),qb(()=>{this.stop()},MN))},stop(){ne(),ie(),te(),c.notify()},addTiming(e,t){if(d)return;let n=gx(t)?t:H(a.timeStamp,t);l[FN(e)]=n,le()},setLoadingTime:E,setViewName(e){h=e,D()}}}function FN(e){let t=e.replace(/[^a-zA-Z0-9-_.@$]/g,`_`);return t!==e&&R.warn(`Invalid timing name: ${e}, sanitized to: ${t}`),t}function IN(e,t){return e.pathname!==t.pathname||!LN(t.hash)&&RN(t.hash)!==RN(e.hash)}function LN(e){let t=e.substring(1);return t!==``&&!!document.getElementById(t)}function RN(e){let t=e.indexOf(`?`);return t<0?e:e.slice(0,t)}function zN(e,t,n,r,i,a,o,s,c){return e.subscribe(4,t=>e.notify(12,BN(t,n,o))),t.register(0,({startTime:e,eventType:t})=>{let n=s.findView(e);return n?{type:t,service:n.service,version:n.version,context:n.context,view:{id:n.id,name:n.name}}:HT}),t.register(1,({startTime:e})=>({view:{id:s.findView(e)?.id}})),NN(e,r,i,n,a,!n.trackViewsManually,c)}function BN(e,t,n){let r=n.getReplayStats(e.id),i=e.commonViewMetrics?.cumulativeLayoutShift?.devicePixelRatio,a={_dd:{document_version:e.documentVersion,replay_stats:r,cls:i?{device_pixel_ratio:i}:void 0,configuration:{start_session_replay_recording_manually:t.startSessionReplayRecordingManually}},date:e.startClocks.timeStamp,type:G.VIEW,view:{action:{count:e.eventCounts.actionCount},frustration:{count:e.eventCounts.frustrationCount},cumulative_layout_shift:e.commonViewMetrics.cumulativeLayoutShift?.value,cumulative_layout_shift_time:V(e.commonViewMetrics.cumulativeLayoutShift?.time),cumulative_layout_shift_target_selector:e.commonViewMetrics.cumulativeLayoutShift?.targetSelector,first_byte:V(e.initialViewMetrics.navigationTimings?.firstByte),dom_complete:V(e.initialViewMetrics.navigationTimings?.domComplete),dom_content_loaded:V(e.initialViewMetrics.navigationTimings?.domContentLoaded),dom_interactive:V(e.initialViewMetrics.navigationTimings?.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:V(e.initialViewMetrics.firstContentfulPaint),first_input_delay:V(e.initialViewMetrics.firstInput?.delay),first_input_time:V(e.initialViewMetrics.firstInput?.time),first_input_target_selector:e.initialViewMetrics.firstInput?.targetSelector,interaction_to_next_paint:V(e.commonViewMetrics.interactionToNextPaint?.value),interaction_to_next_paint_time:V(e.commonViewMetrics.interactionToNextPaint?.time),interaction_to_next_paint_target_selector:e.commonViewMetrics.interactionToNextPaint?.targetSelector,is_active:e.isActive,name:e.name,largest_contentful_paint:V(e.initialViewMetrics.largestContentfulPaint?.value),largest_contentful_paint_target_selector:e.initialViewMetrics.largestContentfulPaint?.targetSelector,load_event:V(e.initialViewMetrics.navigationTimings?.loadEvent),loading_time:Fk(V(e.commonViewMetrics.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},performance:VN(e.commonViewMetrics,e.initialViewMetrics),resource:{count:e.eventCounts.resourceCount},time_spent:V(e.duration)},display:e.commonViewMetrics.scroll?{scroll:{max_depth:e.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:e.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:e.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:V(e.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:t.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:zD()}};return Pb(e.customTimings)||(a.view.custom_timings=Fb(e.customTimings,V)),{rawRumEvent:a,startClocks:e.startClocks,duration:e.duration,domainContext:{location:e.location,handlingStack:e.handlingStack}}}function VN({cumulativeLayoutShift:e,interactionToNextPaint:t},{firstContentfulPaint:n,firstInput:r,largestContentfulPaint:i}){return{cls:e&&{score:e.value,timestamp:V(e.time),target_selector:e.targetSelector,previous_rect:e.previousRect,current_rect:e.currentRect},fcp:n&&{timestamp:V(n)},fid:r&&{duration:V(r.delay),timestamp:V(r.time),target_selector:r.targetSelector},inp:t&&{duration:V(t.value),timestamp:V(t.time),target_selector:t.targetSelector,sub_parts:t.subParts?{input_delay:V(t.subParts.inputDelay),processing_duration:V(t.subParts.processingDuration),presentation_delay:V(t.subParts.presentationDelay)}:void 0},lcp:i&&{timestamp:V(i.value),target_selector:i.targetSelector,resource_url:i.resourceUrl,sub_parts:i.subParts?{load_delay:V(i.subParts.loadDelay),load_time:V(i.subParts.loadTime),render_delay:V(i.subParts.renderDelay)}:void 0}}}function HN(e,t,n){let r=jE(e,`rum`,t=>WN(e,t),n);return r.expireObservable.subscribe(()=>{t.notify(9)}
17),r.renewObservable.subscribe(()=>{t.notify(10)}),r.sessionStateUpdateObservable.subscribe(({previousState:e,newState:t})=>{if(!e.forcedReplay&&t.forcedReplay){let e=r.findSession();e&&(e.isReplayForced=!0)}}),{findTrackedSession:e=>{let t=r.findSession(e);if(t&&t.trackingType!==`0`)return{id:t.id,sessionReplay:t.trackingType===`1`?1:t.isReplayForced?2:0,anonymousId:t.anonymousId}},expire:r.expire,expireObservable:r.expireObservable,setForcedReplay:()=>r.updateSessionState({forcedReplay:`1`})}}function UN(){let e={id:`00000000-aaaa-0000-aaaa-000000000000`,sessionReplay:+!!kT(`records`)};return{findTrackedSession:()=>e,expire:U,expireObservable:new B,setForcedReplay:U}}function WN(e,t){return GN(t)?t:Db(e.sessionSampleRate)?Db(e.sessionReplaySampleRate)?`1`:`2`:`0`}function GN(e){return e===`0`||e===`1`||e===`2`}function KN(e,t,n,r,i,a){let o=[e.rumEndpointBuilder];e.replica&&o.push(e.replica.rumEndpointBuilder);let s=IT({encoder:a(2),request:CT(o,n),flushController:BT({pageMayExitObservable:r,sessionExpireObservable:i})});return t.subscribe(13,e=>{e.type===G.VIEW?s.upsert(e,e.view.id):s.add(e)}),s}function qN(e){let t=OT();e.subscribe(13,e=>{t.send(`rum`,e)})}var JN=Zx;function YN(e,t,n){let r=_E({expireDelay:JN}),i;e.subscribe(1,({startClocks:e,url:t})=>{let n=tC(location).href,a=t===void 0?n:Px(t,n).href;r.add(o({url:a,referrer:i||document.referrer}),e.relative),i=a}),e.subscribe(6,({endClocks:e})=>{r.closeActive(e.relative)});let a=n.subscribe(({newLocation:e})=>{let t=r.find();if(t){let n=ux();r.closeActive(n),r.add(o({url:e.href,referrer:t.referrer}),n)}});function o({url:e,referrer:t}){return{url:e,referrer:t}}return t.register(0,({startTime:e,eventType:t})=>{let n=r.find(e);return n?{type:t,view:{url:n.url,referrer:n.referrer}}:HT}),{findUrl:e=>r.find(e),stop:()=>{a.unsubscribe(),r.stop()}}}function XN(e){let t=Mb(location);return new B(n=>{let{stop:r}=ZN(e,a),{stop:i}=QN(e,a);function a(){if(t.href===location.href)return;let e=Mb(location);n.notify({newLocation:e,oldLocation:t}),t=e}return()=>{r(),i()}})}function ZN(e,t){let{stop:n}=sw($N(`pushState`),`pushState`,({onPostCall:e})=>{e(t)}),{stop:r}=sw($N(`replaceState`),`replaceState`,({onPostCall:e})=>{e(t)}),{stop:i}=Bw(e,window,`popstate`,t);return{stop:()=>{n(),r(),i()}}}function QN(e,t){return Bw(e,window,`hashchange`,t)}function $N(e){return Object.prototype.hasOwnProperty.call(history,e)?history:History.prototype}var eP=Zx;function tP(e,t,n){let r=_E({expireDelay:eP});return e.subscribe(1,({startClocks:e})=>{r.add({},e.relative)}),e.subscribe(6,({endClocks:e})=>{r.closeActive(e.relative)}),t.register(0,({startTime:e,eventType:t})=>{if(!n.trackFeatureFlagsForEvents.concat([G.VIEW,G.ERROR]).includes(t))return UT;let i=r.find(e);return!i||Pb(i)?UT:{type:t,feature_flags:i}}),{addFeatureFlagEvaluation:(e,t)=>{let n=r.find();n&&(n[e]=t)}}}var nP=10*ex,rP,iP;function aP(e,t,n){e.metricsEnabled&&(lP(),iP=!1,t.subscribe(13,()=>{iP=!0}),n.subscribe(({bytesCount:e,messagesCount:t})=>{iP&&(iP=!1,rP.batchCount+=1,cP(rP.batchBytesCount,e),cP(rP.batchMessagesCount,t))}),Yb(oP,nP))}function oP(){rP.batchCount!==0&&(oE(`Customer data measures`,rP),lP())}function sP(){return{min:1/0,max:0,sum:0}}function cP(e,t){e.sum+=t,e.min=Math.min(e.min,t),e.max=Math.max(e.max,t)}function lP(){rP={batchCount:0,batchBytesCount:sP(),batchMessagesCount:sP()}}var uP=4e3,dP=Zx;function fP(e,t,n=500){let r=_E({expireDelay:dP,maxEntries:uP}),i;Xk(K.VISIBILITY_STATE)&&performance.getEntriesByType(K.VISIBILITY_STATE).forEach(e=>{o(e.name===`hidden`?`hidden`:`active`,e.startTime)}),o(hP(),ux());let{stop:a}=Vw(t,window,[`pageshow`,`focus`,`blur`,`visibilitychange`,`resume`,`freeze`,`pagehide`],e=>{o(mP(e),e.timeStamp)},{capture:!0});function o(e,t=ux()){e!==i&&(i=e,r.closeActive(t),r.add({state:i,startTime:t},t))}function s(e,t,n){return r.findAll(t,n).some(t=>t.state===e)}return e.register(0,({startTime:e,duration:t=0,eventType:i})=>i===G.VIEW?{type:i,_dd:{page_states:pP(r.findAll(e,t),e,n)}}:i===G.ACTION||i===G.ERROR?{type:i,view:{in_foreground:s(`active`,e,0)}}:UT),{wasInPageStateDuringPeriod:s,addPageState:o,stop:()=>{a(),r.stop()}}}function pP(e,t,n){if(e.length!==0)return e.slice(-n).reverse().map(({state:e,startTime:n})=>({state:e,start:V(H(t,n))}
17))}function mP(e){return e.type===`freeze`?`frozen`:e.type===`pagehide`?e.persisted?`frozen`:`terminated`:hP()}function hP(){return document.visibilityState===`hidden`?`hidden`:document.hasFocus()?`active`:`passive`}function gP(e,t){let n,r=requestAnimationFrame(z(()=>{n=SN()})),i=bN(t).subscribe(e=>{n=e}).unsubscribe;return e.register(0,({eventType:e})=>({type:e,display:n?{viewport:n}:void 0})),{stop:()=>{i(),r&&cancelAnimationFrame(r)}}}function _P(e,t){let n=window.cookieStore?vP(e):bP;return new B(e=>n(t,t=>e.notify(t)))}function vP(e){return(t,n)=>Bw(e,window.cookieStore,`change`,e=>{let r=e.changed.find(e=>e.name===t)||e.deleted.find(e=>e.name===t);r&&n(r.value)}).stop}var yP=ex;function bP(e,t){let n=Sx(document.cookie,e),r=Yb(()=>{let r=Sx(document.cookie,e);r!==n&&(n=r,t(r))},yP);return()=>{Xb(r)}}var xP=`datadog-ci-visibility-test-execution-id`;function SP(e,t,n=_P(e,xP)){let r=Vx(`datadog-ci-visibility-test-execution-id`)||window.Cypress?.env(`traceId`),i=n.subscribe(e=>{r=e});return t.register(0,({eventType:e})=>typeof r==`string`?{type:e,session:{type:`ci_test`},ci_test:{test_execution_id:r}}:UT),{stop:()=>{i.unsubscribe()}}}function CP(e,t){let n=Kk(t,{type:Xk(K.LONG_ANIMATION_FRAME)?K.LONG_ANIMATION_FRAME:K.LONG_TASK,buffered:!0}).subscribe(n=>{for(let r of n){if(!t.trackLongTasks)break;let n=ix(r.startTime),i=wP(r,n);e.notify(12,{rawRumEvent:i,startClocks:n,duration:r.duration,domainContext:{performanceEntry:r}})}});return{stop:()=>n.unsubscribe()}}function wP(e,t){let n=bx(),r=V(e.duration),i={date:t.timeStamp,type:G.LONG_TASK,_dd:{discarded:!1}};return e.entryType===K.LONG_TASK?{...i,long_task:{id:n,entry_type:BD.LONG_TASK,duration:r}}:{...i,long_task:{id:n,entry_type:BD.LONG_ANIMATION_FRAME,duration:r,blocking_duration:V(e.blockingDuration),first_ui_event_timestamp:V(e.firstUIEventTimestamp),render_start:V(e.renderStart),style_and_layout_start:V(e.styleAndLayoutStart),start_time:V(e.startTime),scripts:e.scripts.map(e=>({duration:V(e.duration),pause_duration:V(e.pauseDuration),forced_style_and_layout_duration:V(e.forcedStyleAndLayoutDuration),start_time:V(e.startTime),execution_start:V(e.executionStart),source_url:e.sourceURL,source_function_name:e.sourceFunctionName,source_char_position:e.sourceCharPosition,invoker:e.invoker,invoker_type:e.invokerType,window_attribution:e.windowAttribution}))}}}function TP(e){e.register(0,({eventType:e})=>TE()?{type:e,session:{type:`synthetics`},synthetics:{...wE(),injected:CE()}}:UT)}function EP(e,t,n){let r=rT(e),i=n(r);return Xx(t).forEach(([t,n])=>DP(e,r,t.split(/\.|(?=\[\])/),n)),i}function DP(e,t,n,r){let[i,...a]=n;if(i===`[]`){Array.isArray(e)&&Array.isArray(t)&&e.forEach((e,n)=>DP(e,t[n],a,r));return}if(kP(e)&&kP(t)){if(a.length>0)return DP(e[i],t[i],a,r);OP(e,i,t[i],r)}}function OP(e,t,n,r){if(e[t]===n)return;let i=ZS(n);i===r?e[t]=W(n):r===`object`&&(i===`undefined`||i===`null`)&&(e[t]={})}function kP(e){return ZS(e)===`object`}var AP={"view.name":`string`,"view.url":`string`,"view.referrer":`string`},jP={context:`object`},MP={service:`string`,version:`string`},NP;function PP(e,t,n,r,i){NP={[G.VIEW]:{"view.performance.lcp.resource_url":`string`,...jP,...AP,...MP},[G.ERROR]:{"error.message":`string`,"error.stack":`string`,"error.handling_stack":`string`,"error.resource.url":`string`,"error.fingerprint":`string`,...jP,...AP,...MP},[G.RESOURCE]:{"resource.url":`string`,"resource.graphql.variables":`string`,"resource.request.headers":`object`,"resource.response.headers":`object`,...jP,...AP,...MP},[G.ACTION]:{"action.target.name":`string`,...jP,...AP,...MP},[G.LONG_TASK]:{"long_task.scripts[].source_url":`string`,"long_task.scripts[].invoker":`string`,...jP,...AP,...MP},[G.VITAL]:{...jP,...AP,...MP}};let a={[G.ERROR]:zE(G.ERROR,r,i),[G.ACTION]:zE(G.ACTION,r,i),[G.VITAL]:zE(G.VITAL,r,i)};t.subscribe(12,({startClocks:r,duration:i,rawRumEvent:o,domainContext:s})=>{let c=n.triggerHook(0,{eventType:o.type,rawRumEvent:o,domainContext:s,startTime:r.relative,duration:i});if(c===`DISCARDED`)return;let l=iT(c,o,{ddtags:Xw(e).join(`,`)});FP(l,e.beforeSend,s,a)&&(Pb(l.context)&&delete l.context,t.notify(13,l))})}function FP(e,t,n,r){if(t){let r=EP(e,NP[e.type],e=>t(e,n));if(r===!1&&e.type!==G.VIEW)return!1;r===!1&&R.warn(`Can't dismiss view events using beforeSend!`)}return!r[e.type]?.isLimitReached()}function IP(e,t,n,r){e.register(0,({eventType:e,startTime:i})=>{let a=t.findTrackedSession(i),o=r.findView(i);if(!a||!o)return HT;let s,c,l;return e===G.VIEW?(s=n.getReplayStats(o.id)?!0:void 0,c=a.sessionReplay===1,l=o.sessionIsActive?void 0:!1):s=n.isRecording()?!0:void 0,{type:e,session:{id:a.id,type:`user`,has_replay:s,sampled_for_replay:c,is_active:l}}}),e.register(1,({startTime:e})=>{let n=t.findTrackedSession(e);return n?{session:{id:n.id}}:UT})}function LP(e){e.register(0,({eventType:e})=>({type:e,connectivity:oT()}))}function RP(e,t,n){e.register(0,({eventType:e})=>{let r=t.source;return{type:e,_dd:{format_version:2,drift:sx(),configuration:{session_sample_rate:Ob(t.sessionSampleRate,3),session_replay_sample_rate:Ob(t.sessionReplaySampleRate,3),profiling_sample_rate:Ob(t.profilingSampleRate,3),trace_sample_rate:Ob(t.traceSampleRate,3),beta_encode_cookie_options:t.betaEncodeCookieOptions},browser_sdk_version:AT()?`6.33.0`:void 0,sdk_name:n},application:{id:t.applicationId},date:lx(),source:r}}),e.register(1,()=>({application:{id:t.applicationId}}))}function zP(e,t){e.register(1,()=>t.isGranted()?UT:HT)}var BP=[G.ACTION,G.ERROR,G.LONG_TASK,G.RESOURCE,G.VITAL];function VP(e){return{addEvent:(t,n,r,i)=>
17{BP.includes(n.type)&&e.notify(12,{startClocks:ix(t),rawRumEvent:n,domainContext:r,duration:i})}}}function HP(e,t){if(!t.metricsEnabled)return{stop:U};let{unsubscribe:n}=e.subscribe(4,({initialViewMetrics:e})=>{e.largestContentfulPaint&&e.navigationTimings&&(oE(`Initial view metrics`,{metrics:UP(e.largestContentfulPaint,e.navigationTimings)}),n())});return{stop:n}}function UP(e,t){return{lcp:{value:e.value},navigation:{domComplete:t.domComplete,domContentLoaded:t.domContentLoaded,domInteractive:t.domInteractive,firstByte:t.firstByte,loadEvent:t.loadEvent}}}function WP(e){let t=window,n=new Map;function r(){t.DD_SOURCE_CODE_CONTEXT&&=(Xx(t.DD_SOURCE_CODE_CONTEXT).forEach(([e,t])=>{let r=RC({stack:e}).stack[0];if(!r.url){iE(`Source code context: missing frame url`,{stack:e});return}n.has(r.url)||n.set(r.url,t)}),{})}r(),e.register(0,({domainContext:e,rawRumEvent:t})=>{if(r(),n.size===0)return UT;let i=GP(e,t),a=i&&n.get(i);return a?{type:t.type,service:a.service,version:a.version}:UT})}function GP(e,t){if(t.type===`long_task`&&t.long_task.entry_type===`long-animation-frame`)return t.long_task.scripts[0]?.source_url;let n;return`handlingStack`in e&&(n=e.handlingStack),t.type===`error`&&t.error.stack&&(n=t.error.stack),RC({stack:n}).stack[0]?.url}function KP(e,t,n,r,i,a,o,s,c,l,u){let d=[],f=new UO;f.subscribe(13,e=>tT(`rum`,e));let p=e=>{f.notify(14,{error:e}),rE(`Error reported to customer`,{"error.message":e.message})},m=NT(e),h=AT()?UN():HN(e,f,a);if(AT()){qN(f);let e=m.subscribe(e=>{f.notify(11,e)});d.push(()=>e.unsubscribe())}else{let t=KN(e,f,p,m,h.expireObservable,i),n=t.flushController.preparePageExitFlushObservable.subscribe(e=>{f.notify(11,{reason:e})});d.push(()=>n.unsubscribe()),d.push(()=>t.stop()),aP(c,f,t.flushController.flushObservable)}zP(l,a);let{stop:g}=HP(f,c);d.push(g);let{stop:_,...v}=qP(f,l,e,h,t,r,o,s,u,p);return d.push(_),s.unbuffer(),d.push(()=>n.stop()),{...v,lifeCycle:f,session:h,stopSession:()=>h.expire(),telemetry:c,stop:()=>{d.forEach(e=>e())},hooks:l}}function qP(e,t,n,r,i,a,o,s,c,l){let u=[],d=zO(),f=XN(n),{observable:p,stop:m}=VO();u.push(m),RP(t,n,c);let h=fP(t,n);u.push(()=>h.stop());let g=GO(e);u.push(()=>g.stop());let _=YN(e,t,f);u.push(()=>_.stop());let v=tP(e,t,n);IP(t,r,i,g),LP(t),ED(t);let y=kD(t,n,`rum`,!0),b=jD(t,n,r,`rum`),x=SD(t,n,`rum`),S=Lj(e,t,d,p,n);u.push(S.stop);let C=VP(e),w=gP(t,n);u.push(w.stop);let ee=SP(n,t);u.push(ee.stop),TP(t),PP(n,e,t,l);let{addTiming:te,setLoadingTime:T,startView:E,setViewName:ne,setViewContext:re,setViewContextProperty:ie,getViewContext:ae,stop:oe}=zN(e,t,n,d,p,f,i,g,a);WP(t),u.push(oe);let se=uM(e,n,h);u.push(se.stop);let{stop:ce}=CP(e,n);u.push(ce);let{addError:le}=Hj(e,n,s);jk(e,n,r,b,x);let D=KD(e,h,o),ue=HO(n.applicationId,r,g,S.actionContexts,_);return{addAction:S.addAction,startAction:S.startAction,stopAction:S.stopAction,startResource:se.startResource,stopResource:se.stopResource,addEvent:C.addEvent,addError:le,addTiming:te,setLoadingTime:T,addFeatureFlagEvaluation:v.addFeatureFlagEvaluation,startView:E,setViewContext:re,setViewContextProperty:ie,getViewContext:ae,setViewName:ne,viewHistory:g,getInternalContext:ue.get,startDurationVital:D.startDurationVital,stopDurationVital:D.stopDurationVital,addDurationVital:D.addDurationVital,addOperationStepVital:D.addOperationStepVital,globalContext:y,userContext:b,accountContext:x,stop:()=>u.forEach(e=>e())}}function JP(e,t,n={}){let r=XS(),i=GD(),a=RD().observable,o=IO(n,r,i,(s,c,l,u,d)=>{let f=c&&n.createDeflateEncoder?e=>n.createDeflateEncoder(s,c,e):VT,p=tC(KP)(s,e,t,l,f,r,i,a,u,d,n.sdkName);return e.onRumStart(p.lifeCycle,s,p.session,p.viewHistory,c,p.telemetry),t.onRumStart(p.lifeCycle,p.hooks,s,p.session,p.viewHistory,f),o=YP(o,p),ZD(s.plugins,`onRumStart`,{strategy:o,addEvent:p.addEvent,addError:p.addError}),p}),s=()=>o,c=Lw({init:e=>{let t=Error().stack;Wb(()=>o.init(e,c,t))},setTrackingConsent:z(e=>{r.update(e),sE({feature:`set-tracking-consent`,tracking_consent:e})}),setViewName:z(e=>{o.setViewName(e),sE({feature:`set-view-name`})}),setViewContext:z(e=>{o.setViewContext(e),sE({feature:`set-view-context`})}
17),setViewContextProperty:z((e,t)=>{o.setViewContextProperty(e,t),sE({feature:`set-view-context-property`})}),getViewContext:z(()=>(sE({feature:`set-view-context-property`}),o.getViewContext())),getInternalContext:z(e=>o.getInternalContext(e)),getInitConfiguration:z(()=>rT(o.initConfiguration)),addAction:(e,t)=>{let n=iw(`action`);Wb(()=>{o.addAction({name:W(e),context:W(t),startClocks:dx(),type:HD.CUSTOM,handlingStack:n}),sE({feature:`add-action`})})},startAction:z((e,t)=>{(!o.initConfiguration||FC(jC.START_STOP_ACTION))&&o.startAction(W(e),{type:W(t&&t.type),context:W(t&&t.context),actionKey:t&&t.actionKey})}),stopAction:z((e,t)=>{(!o.initConfiguration||FC(jC.START_STOP_ACTION))&&o.stopAction(W(e),{type:W(t&&t.type),context:W(t&&t.context),actionKey:t&&t.actionKey})}),startResource:z((e,t)=>{(!o.initConfiguration||FC(jC.START_STOP_RESOURCE))&&o.startResource(W(e),{type:W(t&&t.type),method:W(t&&t.method),context:W(t&&t.context),resourceKey:t&&t.resourceKey})}),stopResource:z((e,t)=>{(!o.initConfiguration||FC(jC.START_STOP_RESOURCE))&&o.stopResource(W(e),{type:W(t&&t.type),statusCode:t&&t.statusCode,size:t&&t.size,context:W(t&&t.context),resourceKey:t&&t.resourceKey})}),addError:(e,t)=>{let n=iw(`error`);Wb(()=>{o.addError({error:e,handlingStack:n,context:W(t),startClocks:dx()}),sE({feature:`add-error`})})},addTiming:z((e,t)=>{o.addTiming(W(e),t)}),setViewLoadingTime:z(()=>{let e=lx();o.setLoadingTime(e),sE({feature:`addViewLoadingTime`})}),setGlobalContext:_D(s,ND.globalContext,PD.setContext,`set-global-context`),getGlobalContext:_D(s,ND.globalContext,PD.getContext,`get-global-context`),setGlobalContextProperty:_D(s,ND.globalContext,PD.setContextProperty,`set-global-context-property`),removeGlobalContextProperty:_D(s,ND.globalContext,PD.removeContextProperty,`remove-global-context-property`),clearGlobalContext:_D(s,ND.globalContext,PD.clearContext,`clear-global-context`),setUser:_D(s,ND.userContext,PD.setContext,`set-user`),getUser:_D(s,ND.userContext,PD.getContext,`get-user`),setUserProperty:_D(s,ND.userContext,PD.setContextProperty,`set-user-property`),removeUserProperty:_D(s,ND.userContext,PD.removeContextProperty,`remove-user-property`),clearUser:_D(s,ND.userContext,PD.clearContext,`clear-user`),setAccount:_D(s,ND.accountContext,PD.setContext,`set-account`),getAccount:_D(s,ND.accountContext,PD.getContext,`get-account`),setAccountProperty:_D(s,ND.accountContext,PD.setContextProperty,`set-account-property`),removeAccountProperty:_D(s,ND.accountContext,PD.removeContextProperty,`remove-account-property`),clearAccount:_D(s,ND.accountContext,PD.clearContext,`clear-account`),startView:e=>{let t=iw(`view`);Wb(()=>{let n=typeof e==`object`?e:{name:e};o.startView({...n,handlingStack:t}),sE({feature:`start-view`})})},stopSession:z(()=>{o.stopSession(),sE({feature:`stop-session`})}),addFeatureFlagEvaluation:z((e,t)=>{o.addFeatureFlagEvaluation(W(e),W(t)),sE({feature:`add-feature-flag-evaluation`})}),getSessionReplayLink:z(()=>e.getSessionReplayLink()),startSessionReplayRecording:z(t=>{e.start(t),sE({feature:`start-session-replay-recording`,force:t&&t.force})}),stopSessionReplayRecording:z(()=>e.stop()),addDurationVital:(e,t)=>{let n=iw(`vital`);Wb(()=>{sE({feature:`add-duration-vital`}),o.addDurationVital({id:bx(),name:W(e),type:WD.DURATION,startClocks:ax(t.startTime),duration:t.duration,context:W(t&&t.context),description:W(t&&t.description),handlingStack:n})})},startDurationVital:(e,t)=>{let n=iw(`vital`);return Wb(()=>(sE({feature:`start-duration-vital`}),o.startDurationVital(W(e),{context:W(t&&t.context),description:W(t&&t.description),handlingStack:n})))},stopDurationVital:z((e,t)=>{sE({feature:`stop-duration-vital`}),o.stopDurationVital(typeof e==`string`?W(e):e,{context:W(t&&t.context),description:W(t&&t.description)})}),startFeatureOperation:(e,t)=>{let n=iw(`vital`);Wb(()=>{sE({feature:`add-operation-step-vital`,action_type:`start`}),o.addOperationStepVital(e,`start`,{...t,handlingStack:n})})},succeedFeatureOperation:z((e,t)=>{sE({feature:`add-operation-step-vital`,action_type:`succeed`}),o.addOperationStepVital(e,`end`,t)}),failFeatureOperation:z((e,t,n)=>{sE({feature:`add-operation-step-vital`,action_type:`fail`}),o.addOperationStepVital(e,`end`,n,t)})});return c}function YP(e,t){return{init:e=>{zw(`DD_RUM`,e)},initConfiguration:e.initConfiguration,...t}}function XP(e,{session:t,viewContext:n,errorType:r}){let i=t?t.id:`no-session-id`,a=[];return r!==void 0&&a.push(`error-type=${r}`),n&&(a.push(`seed=${n.id}`),a.push(`from=${n.startClocks.timeStamp}`)),`${ZP(e)}${`/rum/replay/sessions/${i}`}?${a.join(`&`)}`}function ZP(e){let t=e.site,n=e.subdomain||QP(e);return`https://${n?`${n}.`:``}${t}`}function QP(e){switch(e.site){case lC:case uC:return`app`;case cC:return`dd`;default:return}}var $P;function eF(e){return aF(e).segments_count}function tF(e){aF(e).segments_count+=1}function nF(e){aF(e).records_count+=1}function rF(e,t){aF(e).segments_total_raw_size+=t}function iF(e){return $P?.get(e)}function aF(e){$P||=new Map;let t;return $P.has(e)?t=$P.get(e):(t={records_count:0,segments_count:0,segments_total_raw_size:0},$P.set(e,t),$P.size>1e3&&oF()),t}function oF(){if(!$P)return;let e=$P.keys().next().value;e&&$P.delete(e)}
17function sF(e,t,n){let r=0,i=[],a,o=!0,s=0,c=[],{stop:l}=Bw(e,t,`message`,({data:e})=>{if(e.type!==`wrote`||e.streamId!==n)return;let t=c[0];t&&(t.id===e.id?(c.shift(),r+=e.additionalBytesCount,i.push(e.result),a=e.trailer,t.writeCallback?t.writeCallback(e.result.byteLength):t.finishCallback&&t.finishCallback()):t.id<e.id&&l())});function u(){let e=i.length===0?new Uint8Array:pw(i.concat(a)),t={rawBytesCount:r,output:e,outputBytesCount:e.byteLength,encoding:`deflate`};return r=0,i=[],t}function d(){o||=(t.postMessage({action:`reset`,streamId:n}),!0)}return{isAsync:!0,get isEmpty(){return o},write(e,r){t.postMessage({action:`write`,id:s,data:e,streamId:n}),c.push({id:s,writeCallback:r,data:e}),o=!1,s+=1},finish(e){d(),c.length?(c.forEach(e=>{delete e.writeCallback}),c[c.length-1].finishCallback=()=>e(u())):e(u())},finishSync(){d();let e=c.map(e=>e.data).join(``);return c.length=0,{...u(),pendingData:e}},estimateEncodedBytesCount(e){return e.length/8},stop(){l()}}}function cF({configuredUrl:e,error:t,source:n,scriptType:r}){if(R.error(`${n} failed to start: an error occurred while initializing the ${r}:`,t),t instanceof Event||t instanceof Error&&lF(t.message)){let t;t=e?`Please make sure the ${r} URL ${e} is correct and CSP is correctly configured.`:`Please make sure CSP is correctly configured.`,R.error(`${t} See documentation at ${Cb}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else r===`worker`&&iE(t)}function lF(e){return e.includes(`Content Security Policy`)||e.includes(`requires 'TrustedScriptURL'`)}var uF=30*ex;function dF(e){return new Worker(e.workerUrl||URL.createObjectURL(new Blob([`(()=>{function t(t){if(1===t.length)return t[0];const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function p(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function g(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;
vendor: 4,235 bytes, line 17
17a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,p=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,p++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==p){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},C=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},D=!1,M=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},j=M,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),T=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},O={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},q=j,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=O[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?M(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);C(t,t.dyn_ltree,e-1),C(t,t.dyn_dtree,a-1)}
vendor: 14,434 bytes, line 17
17(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=T(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t||!t.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){D||(function(){var t,e,i,g,v,w=Array(16);for(i=0,g=0;g<28;g++)for(o[g]=i,t=0;t<1<<a[g];t++)_[i++]=g;for(_[i-1]=g,v=0,g=0;g<16;g++)for(c[g]=v,t=0;t<1<<n[g];t++)l[v++]=g;for(v>>=7;g<30;g++)for(c[g]=v<<7,t=0;t<1<<n[g]-7;t++)l[256+v++]=g;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new p(s,a,257,286,15),u=new p(h,n,0,30,15),f=new p([],r,0,19,7)}(),D=!0),t.l_desc=new g(t.dyn_ltree,d),t.d_desc=new g(t.dyn_dtree,u),t.bl_desc=new g(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t||!t.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=T(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t||!t.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},ct=Object.prototype.toString;function pt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(O[n]);if(t.header&&(e=this.strm,a=t.header,e&&e.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r="[object ArrayBuffer]"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t||!t.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
17i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(O[n]);this._dict_set=!0}}function gt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:e+"",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}pt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,"[object ArrayBuffer]"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},pt.prototype.onData=function(t){this.chunks.push(t)},pt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener("message",n=>{try{const r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"6.33.0"};case"write":{let n=e.get(a.streamId);n||(n=new pt,e.set(a.streamId,n));const r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,2),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){gt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}})}catch(t){gt(e,t)}}()})();`])))}var fF={status:0};function pF(e,t,n){switch(fF.status===0&&hF(e,t),fF.status){case 1:return fF.initializationFailureCallbacks.push(n),fF.worker;case 3:return fF.worker}}function mF(){return fF.status}function hF(e,t){try{let n=tC(dF)(e),{stop:r}=Bw(e,n,`error`,n=>{vF(e,t,n)}),{stop:i}=Bw(e,n,`message`,({data:n})=>{n.type===`errored`?vF(e,t,n.error,n.streamId):n.type===`initialized`&&_F(n.version)});n.postMessage({action:`init`}),qb(()=>gF(t),uF),fF={status:1,worker:n,stop:()=>{r(),i()},initializationFailureCallbacks:[]}}catch(n){vF(e,t,n)}}function gF(e){fF.status===1&&(R.error(`${e} failed to start: a timeout occurred while initializing the Worker`),fF.initializationFailureCallbacks.forEach(e=>e()),fF={status:2})}function _F(e){fF.status===1&&(fF={status:3,worker:fF.worker,stop:fF.stop,version:e})}function vF(e,t,n,r){fF.status===1||fF.status===0?(cF({configuredUrl:e.workerUrl,error:n,source:t,scriptType:`worker`}),fF.status===1&&fF.initializationFailureCallbacks.forEach(e=>e()),fF={status:2}):iE(n,{worker_version:fF.status===3&&fF.version,stream_id:r})}function yF(){return typeof Array.from==`function`&&typeof CSSSupportsRule==`function`&&typeof URL.createObjectURL==`function`&&`forEac
17h`in NodeList.prototype}function bF(e,t,n,r){let i=t.findTrackedSession(),a=xF(i,r);return XP(e,{viewContext:n.findView(),errorType:a,session:i})}function xF(e,t){if(!yF())return`browser-not-supported`;if(!e)return`rum-not-tracked`;if(e.sessionReplay===0)return`incorrect-session-plan`;if(!t)return`replay-not-started`}function SF(e,t){if(!e.metricsEnabled)return{stop:U};let n,r,i,{unsubscribe:a}=t.subscribe(e=>{switch(e.type){case`start`:n={forced:e.forced,timestamp:lx()},r=void 0,i=void 0;break;case`document-ready`:n&&(r=H(n.timestamp,lx()));break;case`recorder-settled`:n&&(i=H(n.timestamp,lx()));break;case`aborted`:case`deflate-encoder-load-failed`:case`recorder-load-failed`:case`succeeded`:a(),n&&oE(`Recorder init metrics`,{metrics:CF(n.forced,i,H(n.timestamp,lx()),e.type,r)})}});return{stop:a}}function CF(e,t,n,r,i){return{forced:e,loadRecorderModuleDuration:t,recorderInitDuration:n,result:r,waitForDocReadyDuration:i}}async function wF(){try{return await tC(TF)()}catch(e){cF({error:e,source:`Recorder`,scriptType:`module`})}}async function TF(){return(await A(()=>import(`./NdK9xbVC.js`),[],import.meta.url)).startRecording}function EF(e,t,n,r,i,a){let o=0,s;t.subscribe(9,()=>{(o===2||o===3)&&(d(),o=1)}),t.subscribe(10,()=>{o===1&&u()});let c=new B;SF(a,c);let l=async l=>{c.notify({type:`start`,forced:l});let[u]=await Promise.all([AF(c,{type:`recorder-settled`},wF()),AF(c,{type:`document-ready`},VE(e,`interactive`))]);if(o!==2){c.notify({type:`aborted`});return}if(!u){o=0,c.notify({type:`recorder-load-failed`});return}let d=i();if(!d){o=0,c.notify({type:`deflate-encoder-load-failed`});return}({stop:s}=u(t,e,n,r,d,a)),o=3,c.notify({type:`succeeded`})};function u(e){let t=n.findTrackedSession();if(DF(t,e)){o=1;return}if(OF(o))return;o=2;let r=kF(t,e)||!1;l(r).catch(Gb),r&&n.setForcedReplay()}function d(){o===3&&s?.(),o=0}return{start:u,stop:d,getSessionReplayLink(){return bF(e,n,r,o!==0)},isRecording:()=>o===3}}function DF(e,t){return!e||e.sessionReplay===0&&(!t||!t.force)}function OF(e){return e===2||e===3}function kF(e,t){return t&&t.force&&e.sessionReplay===0}async function AF(e,t,n){try{return await n}finally{e.notify(t)}}function jF(){let e=0;return{strategy:{start(){e=1},stop(){e=2},isRecording:()=>!1,getSessionReplayLink:U},shouldStartImmediately(t){return e===1||e===0&&!t.startSessionReplayRecordingManually}}}function MF(){if(AT()&&!kT(`records`)||!yF())return{start:U,stop:U,getReplayStats:()=>void 0,onRumStart:U,isRecording:()=>!1,getSessionReplayLink:()=>void 0};let{strategy:e,shouldStartImmediately:t}=jF();return{start:t=>e.start(t),stop:()=>e.stop(),getSessionReplayLink:()=>e.getSessionReplayLink(),onRumStart:n,isRecording:()=>mF()===3&&e.isRecording(),getReplayStats:e=>mF()===3?iF(e):void 0};function n(n,r,i,a,o,s){let c;function l(){return c||(o??=pF(r,`Datadog Session Replay`,()=>e.stop()),o&&(c=sF(r,o,1))),c}e=EF(r,n,i,a,l,s),t(r)&&e.start()}}function NF(){return Ib().Profiler!==void 0}function PF(e){let t={status:`starting`};return e.register(0,({eventType:e})=>e!==G.VIEW&&e!==G.LONG_TASK&&e!==G.ACTION&&e!==G.VITAL?UT:{type:e,_dd:{profiling:t}}),{get:()=>t,set:e=>{t=e}}}async function FF(){try{return await tC(IF)()}catch(e){cF({error:e,source:`Profiler`,scriptType:`module`})}}async function IF(){return(await A(()=>import(`./tDPK4J5S.js`),[],import.meta.url)).createRumProfiler}function LF(){let e;function t(t,n,r,i,a,o){let s=i.findTrackedSession();if(!s||!dk(s.id,r.profilingSampleRate))return;let c=PF(n);if(!NF()){c.set({status:`error`,error_reason:`not-supported-by-browser`});return}FF().then(n=>{if(!n){c.set({status:`error`,error_reason:`failed-to-lazy-load`});return}e=n(r,t,i,c,o,a,void 0),e.start()}).catch(Gb)}return{onRumStart:t,stop:()=>{e?.stop()}}}var RF=JP(MF(),LF(),{startDeflateWorker:pF,createDeflateEncoder:sF,sdkName:`rum`});Rw(Ib(),`DD_RUM`,RF);var zF=p(()=>{let e=n();RF.init({applicationId:`a3b23589-e9d3-4321-9a52-8c7a30f3fb22`,clientToken:`pubf858143fd365f7daa753238a262603fe`,site:`datadoghq.com`,service:`es-cms-pages`,env:e.public.DEPLOY_ENV,version:e.public.VERSION,sessionSampleRate:100,sessionReplaySampleRate:20,trackUserInteractions:!0,trackResources:!0,trackLongTasks:!0,defaultPrivacyLevel:`mask-user-input`,trackSessionAcrossSubdomains:!0}),RF.startSessionReplayRecording()}),J=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,Y=globalThis,BF=`10.73.0`;function VF(){return HF(Y),Y}function HF(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.73.0`,t[BF]=t[`10.73.0`]||{}}function UF(e,t,n=Y){let r=n.__SENTRY__=n.__SENTRY__||{}
17,i=r[BF]=r[`10.73.0`]||{};return i[e]||(i[e]=t())}var WF=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],GF=`Sentry Logger `,KF={};function qF(e){if(!(`console`in Y))return e();let t=Y.console,n={},r=Object.keys(KF);r.forEach(e=>{let r=KF[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function JF(){tI().enabled=!0}function YF(){tI().enabled=!1}function XF(){return tI().enabled}function ZF(...e){eI(`log`,...e)}function QF(...e){eI(`warn`,...e)}function $F(...e){eI(`error`,...e)}function eI(e,...t){J&&XF()&&qF(()=>{Y.console[e](`${GF}[${e}]:`,...t)})}function tI(){return J?UF(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var X={enable:JF,disable:YF,isEnabled:XF,log:ZF,warn:QF,error:$F},nI=50,rI=/\(error: (.*)\)/,iI=/captureMessage|captureException/;function aI(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(`
18`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=rI.test(n)?n.replace(rI,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=nI+r)break}}return sI(i.slice(r))}}function oI(e){return Array.isArray(e)?aI(...e):e}function sI(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(cI(t).function||``)&&t.pop(),t.reverse(),iI.test(cI(t).function||``)&&(t.pop(),iI.test(cI(t).function||``)&&t.pop()),t.slice(0,nI).map(e=>({...e,filename:e.filename||cI(t).filename,function:e.function||`?`}))}function cI(e){return e[e.length-1]||{}}var lI=`<anonymous>`;function uI(e){try{return!e||typeof e!=`function`?lI:e.name||lI}catch{return lI}}function dI(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}var fI={},pI={};function mI(e,t){return fI[e]=fI[e]||[],fI[e].push(t),()=>{let n=fI[e];if(n){let e=n.indexOf(t);e!==-1&&n.splice(e,1)}}}function hI(e,t){if(!pI[e]){pI[e]=!0;try{t()}catch(t){J&&X.error(`Error while instrumenting ${e}`,t)}}}function gI(e,t){let n=e&&fI[e];if(n)for(let r of n)try{r(t)}catch(t){J&&X.error(`Error while triggering instrumentation handler.
19Type: ${e}
20Name: ${uI(r)}
21Error:`,t)}}var _I=null;function vI(e){let t=`error`;mI(t,e),hI(t,yI)}function yI(){_I=Y.onerror,Y.onerror=function(e,t,n,r,i){return gI(`error`,{column:r,error:i,line:n,msg:e,url:t}),_I?_I.apply(this,arguments):!1},Y.onerror.__SENTRY_INSTRUMENTED__=!0}var bI=null;function xI(e){let t=`unhandledrejection`;mI(t,e),hI(t,SI)}function SI(){bI=Y.onunhandledrejection,Y.onunhandledrejection=function(e){return gI(`unhandledrejection`,e),!bI||bI.apply(this,arguments)},Y.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var CI=Object.prototype.toString;function wI(e){switch(CI.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return LI(e,Error)}}function TI(e,t){return CI.call(e)===`[object ${t}]`}function EI(e){return TI(e,`ErrorEvent`)}function DI(e){return TI(e,`DOMError`)}function OI(e){return TI(e,`DOMException`)}function kI(e){return TI(e,`String`)}function AI(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function jI(e){return e===null||AI(e)||typeof e!=`object`&&typeof e!=`function`}function MI(e){return TI(e,`Object`)}function NI(e){return typeof e==`object`&&!!e}function PI(e){return typeof Event<`u`&&LI(e,Event)}function FI(e){return TI(e,`RegExp`)}function II(e){return!!(e?.then&&typeof e.then==`function`)}function LI(e,t){try{return e instanceof t}catch{return!1}}function RI(e){return typeof Request<`u`&&LI(e,Request)}function zI(e,t,n){if(!(t in e))return;let r=e[t];if(typeof r!=`function`)return;let i=n(r);typeof i==`function`&&VI(i,r);try{e[t]=i}catch{J&&X.log(`Failed to replace method "${t}" in object`,e)}}function BI(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{J&&X.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function VI(e,t){try{e.prototype=t.prototype=t.prototype||{},BI(e,`__sentry_original__`,t)}catch{}}function HI(e){return e.__sentry_original__}function UI(e){if(wI(e))return{message:e.message,name:e.name,stack:e.stack,...WI(e)};
21if(PI(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...WI(e)}}return e}function WI(e){return NI(e)?Object.fromEntries(Object.entries(e)):{}}function GI(e){let t=Object.keys(UI(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}var KI;function qI(e){if(KI!==void 0)return KI?KI(e):e();let t=Symbol.for(`__SENTRY_SAFE_RANDOM_ID_WRAPPER__`),n=Y;return t in n&&typeof n[t]==`function`?(KI=n[t],KI(e)):(KI=null,e())}function JI(){return qI(()=>Math.random())}function YI(){return qI(()=>Date.now())}var XI=Symbol.for(`sentry.skipNormalization`),ZI=Symbol.for(`sentry.overrideNormalizationDepth`);function QI(e,t){BI(e,ZI,t)}function $I(e){return!!e[XI]}function eL(e){let t=e[ZI];return typeof t==`number`?t:void 0}var tL;function nL(e){tL=e}function rL(e,t=100,n=1/0){try{return aL(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function iL(e,t=3,n=102400){let r=rL(e,t);return lL(r)>n?iL(e,t-1,n):r}function aL(e,t,n=1/0,r=1/0,i=uL()){let[a,o]=i;if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=oL(e,t);if(!s.startsWith(`[object `))return s;if($I(t))return t;let c=eL(t),l=c===void 0?n:c;if(l===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let u=t;if(u&&typeof u.toJSON==`function`)try{return aL(``,u.toJSON(),l-1,r,i)}catch{}let d=Array.isArray(t)?[]:{},f=0,p=UI(t);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=r){d[e]=`[MaxProperties ~]`;break}let t=p[e];d[e]=aL(e,t,l-1,r,i),f++}return o(t),d}function oL(e,t){try{if(tL){let e=tL(t);if(e)return e}return typeof global<`u`&&t===global?`[Global]`:typeof t==`number`&&!Number.isFinite(t)?`[${t}]`:typeof t==`function`?`[Function: ${uI(t)}]`:typeof t==`symbol`?`[${String(t)}]`:typeof t==`bigint`?`[BigInt: ${String(t)}]`:`[object ${sL(t)}]`}catch(e){return`**non-serializable** (${e})`}}function sL(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function cL(e){return~-encodeURI(e).split(/%..|./).length}function lL(e){return cL(JSON.stringify(e))}function uL(){let e=new WeakSet;function t(t){return e.has(t)?!0:(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}function dL(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function fL(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];jI(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(oL(void 0,r))}return n.join(t)}function pL(e,t,n=!1){return kI(e)?FI(t)?t.test(e):kI(t)?n?e===t:e.includes(t):typeof t==`function`&&t(e):!1}function mL(e,t=[],n=!1){for(let r of t)if(pL(e,r,n))return!0;return!1}function hL(){let e=Y;return e.crypto||e.msCrypto}var gL;function _L(){return JI()*16}function vL(e=hL()){try{if(e?.randomUUID)return qI(()=>e.randomUUID()).replace(/-/g,``)}catch{}return gL||=`10000000100040008000100000000000`,gL.replace(/[018]/g,e=>(e^(_L()&15)>>e/4).toString(16))}function yL(e){return e.exception?.values?.[0]}function bL(e){let{message:t,event_id:n}=e;if(t)return t;let r=yL(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function xL(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||=t||``,a.type||=n||`Error`}function SL(e,t){let n=yL(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i?.data,...t.data};n.mechanism.data=e}}function CL(e){if(wL(e))return!0;try{BI(e,`__sentry_captured__`,!0)}catch{}return!1}function wL(e){try{return e.__sentry_captured__}catch{}}var TL=1e3;function EL(){return YI()/TL}function DL(){let{performance:e}=Y;if(!e?.now||!e.timeOrigin)return EL;let t=e.timeOrigin;return()=>(t+qI(()=>e.now()))/TL}var OL;function kL(){return(OL??=DL())()}var AL=null;function jL(){let{performance:e}=Y;if(!e?.now)return;let t=3e5,n=qI(()=>e.now()),r=YI(),i=e.timeOrigin;if(typeof i==`number`&&Math.abs(i+n-r)<t)return i;let a=e.timing?.navigationStart;return typeof a==`number`&&Math.abs(a+n-r)<t?a:r-n}function ML(){return AL===null&&(AL=jL()),AL}function NL(e){let t=kL(),n={sid:vL(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>IL(n)};return e&&PL(n,e),n}function PL(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||kL(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:vL()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),t
21ypeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function FL(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),PL(e,n)}function IL(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function LL(e,t,n=2){if(!t||typeof t!=`object`||n<=0)return t;if(e&&Object.keys(t).length===0)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=LL(r[e],t[e],n-1));return r}function RL(){return vL()}function zL(){return vL().substring(16)}function BL(e){try{let t=Y.WeakRef;if(typeof t==`function`)return new t(e)}catch{}return e}function VL(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}var HL=`_sentrySpan`;function UL(e,t){t?BI(e,HL,BL(t)):delete e[HL]}function WL(e){return VL(e[HL])}var GL=100,KL=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:RL(),sampleRand:JI()}}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,UL(t,WL(this)),t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&PL(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let n=typeof t==`function`?t(this):t,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u,conversationId:d}=(n instanceof e?n.getScopeData():MI(n)?t:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,UL(this,void 0),this._attachments=[],this.setPropagationContext({traceId:RL(),sampleRand:JI()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:GL;if(n<=0)return this;let r={timestamp:EL(),...e,message:e.message?dL(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent(`buffer_overflow`,`log_item`)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:WL(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=LL(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||vL();if(!this._client)return J&&X.warn(`No client configured on scope - will not capture exception!`),n;let r=Error(`Sentry syntheticException`);return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||vL();if(!this._client)return J&&X.warn(`No client configured on scope - will not capture message!`),r;let i=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=e.event_id||t?.event_id||vL();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(J&&X.warn(`No client configured on scope - will not capture event!`),n)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEac
21h(e=>{e(this)}),!1)}};function qL(){return UF(`defaultCurrentScope`,()=>new KL)}function JL(){return UF(`defaultIsolationScope`,()=>new KL)}var YL=e=>e instanceof Promise&&!e[XL],XL=Symbol(`chained PromiseLike`),ZL=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return YL(r)&&YL(e)?r:QL(e,r)},QL=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];typeof i==`function`?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[XL]:!0}),t},$L=class{constructor(e,t){let n;n=e||new KL;let r;r=t||new KL,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t=this._pushScope(),n;try{n=e(t)}catch(e){throw this._popScope(),e}return II(n)?ZL(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function eR(){let e=HF(VF());return e.stack=e.stack||new $L(qL(),JL())}function tR(e){return eR().withScope(e)}function nR(e,t){let n=eR();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function rR(e){return eR().withScope(()=>e(eR().getIsolationScope()))}function iR(){return{withIsolationScope:rR,withScope:tR,withSetScope:nR,withSetIsolationScope:(e,t)=>rR(t),getCurrentScope:()=>eR().getScope(),getIsolationScope:()=>eR().getIsolationScope()}}function aR(e){let t=HF(e);return t.acs?t.acs:iR()}function oR(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).includes(`value`)}function sR(e,t){let{value:n,unit:r}=oR(e)?e:{value:e,unit:void 0},i=lR(n),a=r&&typeof r==`string`?{unit:r}:{};if(i)return{...i,...a};if(!t||t===`skip-undefined`&&n===void 0)return;let o=``;try{o=JSON.stringify(n)??``}catch{}return{value:o,type:`string`,...a}}function cR(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=sR(i,t);e&&(n[r]=e)}return n}function lR(e){if(Array.isArray(e))return{value:e,type:`array`};let t=typeof e==`string`?`string`:typeof e==`boolean`?`boolean`:typeof e==`number`&&!Number.isNaN(e)?Number.isInteger(e)?`integer`:`double`:null;if(t)return{value:e,type:t}}function uR(){return!1}function Z(){return aR(VF()).getCurrentScope()}function dR(){return aR(VF()).getIsolationScope()}function fR(){return UF(`globalScope`,()=>new KL)}function pR(...e){let t=aR(VF());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function mR(){return Z().getClient()}function hR(e){let{traceId:t,parentSpanId:n,propagationSpanId:r}=e.getPropagationContext(),i={trace_id:t,span_id:r||zL()};return n&&(i.parent_span_id=n),i}var gR=`sentry.source`,_R=`sentry.sample_rate`,vR=`sentry.previous_trace_sample_rate`,yR=`sentry.op`,bR=`sentry.origin`,xR=`sentry.idle_span_finish_reason`,SR=`sentry.measurement_unit`,CR=`sentry.measurement_value`,wR=`sentry.custom_span_name`,TR=`sentry.profile_id`,ER=`sentry.exclusive_time`,DR=`sentry.link.type`,OR=`gen_ai.conversation.id`;function kR(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:`unauthenticated`};case 403:return{code:2,message:`permission_denied`};case 404:return{code:2,message:`not_found`};case 409:return{code:2,message:`already_exists`};case 413:return{code:2,message:`failed_precondition`};case 429:return{code:2,message:`resource_exhausted`};case 499:return{code:2,message:`cancelled`};default:return{code:2,message:`invalid_argument`}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:`unimplemented`};case 503:return{code:2,message:`unavailable`};case 504:return{code:2,message:`deadline_exceeded`};default:return{code:2,message:`internal_error`}}return{code:2,message:`internal_error`}}function AR(e,t){e.setAttribute(`http.response.status_code`,t);let n=kR(t);n.message!==`unknown_error`&&e.setStatus(n)}var jR=`_sentryScope`,MR=`_sentryIsolationScope`,NR=Symbol.for(`sentry.otelSourceInference`),PR=Symbol.for(`sentry.otelSourceExplicitlySet`),FR=Symbol.for(`sentry.tracerProviderSpan`);
21function IR(e,t,n){e&&(BI(e,MR,BL(n)),BI(e,jR,t))}function LR(e){let t=e;return{scope:t[jR],isolationScope:VL(t[MR])}}function RR(e){return e[NR]===!0}function zR(e){BI(e,PR,!0)}function BR(e){return e[FR]===!0}var VR=`sentry-`;function HR(e){let t=WR(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(`sentry-`)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function UR(e){if(e)return KR(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${VR}${t}`]=n),e),{}))}function WR(e){if(e&&(kI(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{let n=GR(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):GR(e)}function GR(e){return e.split(`,`).map(e=>{let t=e.indexOf(`=`);return t===-1?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function KR(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((e,[t,n],r)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=r===0?i:`${e},${i}`;return a.length>8192?(J&&X.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a},``)}var qR=/^o(\d+)\./,JR=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function YR(e){return e===`http`||e===`https`}function XR(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function ZR(e){let t=JR.exec(e);if(!t){qF(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a=``,o=``,s=``]=t.slice(1),c=``,l=s,u=l.split(`/`);if(u.length>1&&(c=u.slice(0,-1).join(`/`),l=u.pop()),l){let e=l.match(/^\d+/);e&&(l=e[0])}return QR({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function QR(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function $R(e){if(!J)return!0;let{port:t,projectId:n,protocol:r}=e;return[`protocol`,`publicKey`,`host`,`projectId`].find(t=>!e[t]&&(X.error(`Invalid Sentry Dsn: ${t} missing`),!0))?!1:n.match(/^\d+$/)?YR(r)?t&&isNaN(parseInt(t,10))?(X.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(X.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(X.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function ez(e){return e.match(qR)?.[1]}function tz(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=ez(n)),r}function nz(e){let t=typeof e==`string`?ZR(e):QR(e);if(t&&$R(t))return t}function rz(e){if(typeof e==`boolean`)return Number(e);let t=typeof e==`string`?parseFloat(e):e;if(!(typeof t!=`number`||isNaN(t)||t<0||t>1))return t}var iz=RegExp(`^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$`);function az(e){if(!e)return;let t=e.match(iz);if(!t)return;let n;return t[3]===`1`?n=!0:t[3]===`0`&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function oz(e,t){let n=az(e),r=HR(t);if(!n?.traceId)return{traceId:RL(),sampleRand:JI()};let i=lz(n,r);r&&(r.sample_rand=i.toString());let{traceId:a,parentSpanId:o,parentSampled:s}=n;return{traceId:a,parentSpanId:o,sampled:s,dsc:r||{},sampleRand:i}}function sz(e=RL(),t=zL(),n){let r=``;return n!==void 0&&(r=n?`-1`:`-0`),`${e}-${t}${r}`}function cz(e=RL(),t=zL(),n){return`00-${e}-${t}-${n?`01`:`00`}`}function lz(e,t){let n=rz(t?.sample_rand);if(n!==void 0)return n;let r=rz(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?JI()*r:r+JI()*(1-r):JI()}var uz=!1;function dz(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s,links:c}=Q(e);return{parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s,links:c}}function fz(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:Q(e).parent_span_id,a=LR(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||zL():t,trace_id:n}}function pz(e){let{traceId:t,spanId:n}=e.spanContext();return sz(t,n,wz(e))}function mz(e){let{traceId:t,spanId:n}=e.spanContext();return cz(t,n,wz(e))}function hz(e){if(e&&e.length>0)return e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===1,attributes:i,...r}))}function gz(e){if(e?.length)return e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:n===1,attributes:r}))}function _z(e){return typeof e==`number`?vz(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?vz(e.getTime()):kL()}function vz(e){return e>9999999999?e/1e3:e}function Q(e){if(Cz(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(Sz(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:bz(e),start_timestamp:_z(i),timestamp:_z(o)||void 0,status:Tz(s),op:r[yR],origin:r[bR],links:hz(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function yz(e){if(Cz(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(Sz(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{name:a,span_id:t,trace_id:n,parent_span_id:bz(e),start_timestamp:_z(i),end_timestamp:_z(o),is_segment:e===Pz(e),status:Ez(s),attributes:Dz(r,s),links:gz(c)}}return{span_id:t,trace_id:n,start_timestamp:0,name:``,end_timestamp:0,status:`ok`,is_segment:e===Pz(e)}}function bz(e){return`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0}function xz(e){return{...e,attributes:cR(e.attributes),links:e.links?.map(e=>({...e,attributes:cR(e.attributes)}))}}function Sz(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function Cz(e){return typeof e.getSpanJSON==`function`}function wz(e){let{traceFlags:t}=e.spanContext();return t===1}function Tz(e){if(e&&e.code!==0)return e.code===1?`ok`:e.message||`internal_error`}function Ez(e){return!e||e.code===1||e.code===0||e.message===`cancelled`?`ok`:`error`}function Dz(e,t){let n=Ez(t)===`error`?t?.message:void 0;return{...n&&{"sentry.status.message":n},...e}}
21var Oz=`_sentryChildSpans`,kz=`_sentryRootSpan`;function Az(e,t){let n=e[kz]||e;BI(t,kz,n),wz(e)&&(e.isRecording()||n.isRecording())&&(e[Oz]?e[Oz].add(t):BI(e,Oz,new Set([t])))}function jz(e,t){e[Oz]&&e[Oz].delete(t)}function Mz(e){let t=new Set;function n(e){if(!t.has(e)&&wz(e)){t.add(e);let r=e[Oz]?Array.from(e[Oz]):[];for(let e of r)n(e)}}return n(e),Array.from(t)}var Nz=Pz;function Pz(e){return e[kz]||e}function Fz(){let e=aR(VF());return e.getActiveSpan?e.getActiveSpan():WL(Z())}function Iz(){uz||=(qF(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),!0)}var Lz=!1;function Rz(){if(Lz)return;function e(){let e=Fz(),t=e&&Nz(e);if(t){let e=`internal_error`;J&&X.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:2,message:e})}}Lz=!0,vI(e),xI(e)}function zz(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||mR()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function Bz(e){X.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function Vz(e,t){if(!t?.length)return!1;for(let n of t){if(Wz(n)){if(e.description&&pL(e.description,n))return J&&Bz(e),!0;continue}let t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;let r=!n.name||e.description&&pL(e.description,n.name),i=!n.op||e.op&&pL(e.op,n.op),a=!n.attributes||Object.entries(n.attributes).every(([t,n])=>Hz(e.attributes?.[t],n));if(r&&i&&a)return J&&Bz(e),!0}return!1}function Hz(e,t){return typeof e==`string`&&(typeof t==`string`||t instanceof RegExp)?pL(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}function Uz(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}function Wz(e){return typeof e==`string`||e instanceof RegExp}var Gz=Symbol.for(`sentry.nonRecordingSpan`),Kz=class{constructor(e={}){this._traceId=e.traceId||RL(),this._spanId=e.spanId||zL(),this.dropReason=e.dropReason,BI(this,Gz,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}};function qz(e){return!!e&&e[Gz]===!0}var Jz=`production`,Yz=`_frozenDsc`;function Xz(e,t){BI(e,Yz,t)}function Zz(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||`production`,release:n.release,public_key:r,trace_id:e,org_id:tz(t)};return t.emit(`createDsc`,i),i}function Qz(e,t){let n=t.getPropagationContext();return n.dsc||Zz(n.traceId,e)}function $z(e){let t=mR();if(!t)return{};let n=Nz(e),r=Q(n),i=r.data,a=n.spanContext().traceState,o=a?.get(`sentry.sample_rate`)??i[`sentry.sample_rate`]??i[`sentry.previous_trace_sample_rate`];function s(e){return(typeof o==`number`||typeof o==`string`)&&(e.sample_rate=`${o}`),e}let c=n[Yz];if(c)return s(c);let l=qz(n),u=l&&n.dropReason===`ignored`;if(l&&(!zz(t.getOptions())||u)){let e=LR(n).scope;if(e){let n={...Qz(t,e)};return u&&(n.sampled=`false`),s(n)}}let d=a?.get(`sentry.dsc`),f=d&&HR(d);if(f)return s(f);let p=Zz(e.spanContext().traceId,t),m=i[`sentry.source`]??i[`sentry.segment.name.source`],h=r.description;return m!==`url`&&h&&(p.transaction=h),zz()&&(p.sampled=String(wz(n)),p.sample_rand=a?.get(`sentry.sample_rand`)??LR(n).scope?.getPropagationContext().sampleRand.toString()),s(p),t.emit(`createDsc`,p,n),p}function eB(e){return!!e&&typeof e==`function`&&`_streamed`in e&&!!e._streamed}function tB(e,t=[]){return[e,t]}function nB(e,t){let[n,r]=e;return[n,[...r,t]]}function rB(e,t){let n=e[1];for(let e of n){let n=e[0].type;if(t(e,n))return!0}return!1}function iB(e,t){return rB(e,(e,n)=>t.includes(n))}function aB(e){let t=HF(Y);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function oB(e){let[t,n]=e,r=JSON.stringify(t);function i(e){typeof r==`string`?r=typeof e==`string`?r+e:[aB(r),e]:r.push(typeof e==`string`?aB(e):e)}for(let e of n){let[t,n]=e;if(i(`
22${JSON.stringify(t)}
23`),typeof n==`string`||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(rL(n))}i(e)}}return typeof r==`string`?r:sB(r)}function sB(e){let t=e.reduce((e,t)=>
23e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function cB(e){return[{type:`span`},e]}function lB(e){let t=typeof e.data==`string`?aB(e.data):e.data;return[{type:`attachment`,length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}var uB={sessions:`session`,event:`error`,client_report:`internal`,user_report:`default`,profile_chunk:`profile`,replay_event:`replay`,replay_recording:`replay`,check_in:`monitor`,raw_security:`security`,log:`log_item`,trace_metric:`metric`};function dB(e){return e in uB}function fB(e){return dB(e)?uB[e]:e}function pB(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function mB(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(YI()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:XR(r)},...i&&{trace:i}}}function hB(e,t){if(!t)return e;let n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function gB(e,t,n,r){let i=pB(n);return tB({sent_at:new Date(YI()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:XR(t)}},[`aggregates`in e?[{type:`sessions`},e]:[{type:`session`},e.toJSON()]])}function _B(e,t,n,r){let i=pB(n),a=e.type&&e.type!==`replay_event`?e.type:`event`;hB(e,n?.sdk);let o=mB(e,i,r,t);return delete e.sdkProcessingMetadata,tB(o,[[{type:a},e]])}function vB(e,t){function n(e){return!!e.trace_id&&!!e.public_key}let r=$z(e[0]),i=t?.getDsn(),a=t?.getOptions().tunnel,o={sent_at:new Date(YI()).toISOString(),...n(r)&&{trace:r},...!!a&&i&&{dsn:XR(i)}},{beforeSendSpan:s,ignoreSpans:c}=t?.getOptions()||{},l=c?.length?e.filter(e=>{let t=Q(e);return!Vz({description:t.description,op:t.op,attributes:t.data},c)}):e,u=e.length-l.length;u&&t?.recordDroppedEvent(`before_send`,`span`,u);let d=s?e=>{let t=Q(e);return(eB(s)?t:s(t))||(Iz(),t)}:Q,f=[];for(let e of l){let t=d(e);t&&f.push(cB(t))}return tB(o,f)}function yB(e){if(!J)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`,parent_span_id:r}=Q(e),{spanId:i}=e.spanContext(),a=wz(e),o=Nz(e),s=o===e,c=`[Tracing] Starting ${a?`sampled`:`unsampled`} ${s?`root `:``}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&l.push(`parent ID: ${r}`),!s){let{op:e,description:t}=Q(o);l.push(`root ID: ${o.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}X.log(`${c}
24  ${l.join(`
25  `)}`)}function bB(e){if(!J)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`}=Q(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${Nz(e)===e?`root `:``}span "${t}" with ID ${r}`;X.log(i)}function xB(e,t,n,r=Fz()){let i=r&&Nz(r);i&&(J&&X.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),i.addEvent(e,{[CR]:t,[SR]:n}))}function SB(e){if(!e||e.length===0)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[SR],i=n[CR];typeof r==`string`&&typeof i==`number`&&(t[e.name]={value:i,unit:r})}),t}function CB(){return HF(VF()).segmentSpanCaptureStrategy}function wB(e){return e.getOptions().traceLifecycle===`stream`}var TB=1e3,EB=class{constructor(e={}){this._traceId=e.traceId||RL(),this._spanId=e.spanId||zL(),this._startTime=e.startTimestamp||kL(),this._links=e.links,this._attributes={},this.setAttributes({[bR]:`manual`,[yR]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),`sampled`in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:+!!n}}setAttribute(e,t){return this._frozen?this:(t===void 0?delete this._attributes[e]:this._attributes[e]=t,e===`sentry.source`&&t!==void 0&&RR(this)&&zR(this),this)}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=_z(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen?this:(this._name=e,RR(this)||this.setAttribute(gR,`custom`),this)}end(e){if(this._endTime){this._frozen=BR(this);return}this._endTime=_z(e),bB(this),this._onSpanEnded(),this._frozen=BR(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[yR],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:Tz(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[bR],profile_id:this._attributes[TR],exclusive_time:this._attributes[ER],measurements:SB(this._events),is_segment:this._isStandaloneSpan&&Nz(this)===this||void 0,segment_id:this._isStandaloneSpan?Nz(this).spanContext().spanId:void 0,links:hz(this._links)}}getStreamedSpanJSON(){return{name:this._name??``,span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===Nz(this),status:Ez(this._status),attributes:Dz(this._attributes,this._status),links:gz(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;J&&X.log(`[Tracing] Adding an event to span:`,e);let r=DB(t)?t:n||kL(),i=DB(t)?{}:t||{},a={name:e,time:_z(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=mR();e&&(e.emit(`spanEnd`,this),this._isStandaloneSpan||e.emit(`afterSpanEnd`,this));let t=Nz(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan){this._sampled?AB(vB([this],e)):(J&&X.log(`[Tracing] Discarding standalone span because its trace was not chosen to be sampled.`),e&&e.recordDroppedEvent(`sample_rate`,`span`));return}if(!n){let e=CB();if(e){let n=LR(this).scope||Z();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&wB(e)){e.emit(`afterSegmentSpanEnd`,this);return}let r=LR(this).scope||Z(),i=CB();if(i)i.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),r);else{let e=this._convertSpanToTransaction();e&&r.captureEvent(e)}}_convertSpanToTransaction(e={}){if(!OB(Q(this)))return;this._name||=(J&&X.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),`<unlabeled transaction>`);let{scope:t,isolationScope:n}=LR(this),r=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;e.onSpanCaptured?.(this);let i=[];for(let t of Mz(this)){if(t===this||kB(t)||e.isSpanAlreadyCaptured?.(t))continue;let n=Q(t);OB(n)&&(e.onSpanCaptured?.(t),i.push(n))}let a=this._attributes[gR];delete this._attributes[wR];let o=!1;
25i.forEach(e=>{delete e.data[wR],e.op?.startsWith(`gen_ai.`)&&(o=!0)});let s={contexts:{trace:dz(this)},spans:i.length>TB?i.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,TB):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:`transaction`,sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:$z(this),hasGenAiSpans:o},request:r,...a&&{transaction_info:{source:a}}},c=SB(this._events);return c&&Object.keys(c).length&&(J&&X.log(`[Measurements] Adding measurements to transaction event`,JSON.stringify(c,void 0,2)),s.measurements=c),s}};function DB(e){return e&&typeof e==`number`||e instanceof Date||Array.isArray(e)}function OB(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function kB(e){return e instanceof EB&&e.isStandaloneSpan()}function AB(e){let t=mR();if(!t)return;let n=e[1];if(!n||n.length===0){t.recordDroppedEvent(`before_send`,`span`);return}t.sendEnvelope(e)}function jB(e,t,n){if(!zz(e))return[!1];let r,i;typeof e.tracesSampler==`function`?(i=e.tracesSampler({...t,inheritOrSampleWith:e=>typeof t.parentSampleRate==`number`?t.parentSampleRate:typeof t.parentSampled==`boolean`?Number(t.parentSampled):e}),r=!0):t.parentSampled===void 0?e.tracesSampleRate!==void 0&&(i=e.tracesSampleRate,r=!0):i=t.parentSampled;let a=rz(i);if(a===void 0)return J&&X.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(i)} of type ${JSON.stringify(typeof i)}.`),[!1];if(!a)return J&&X.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler==`function`?`tracesSampler returned 0 or false`:`a negative sampling decision was inherited or tracesSampleRate is set to 0`}`),[!1,a,r];let o=n<a;return o||J&&X.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),[o,a,r]}var MB=`__SENTRY_SUPPRESS_TRACING__`;function NB(e){let t=BB();return t.startInactiveSpan?t.startInactiveSpan(e):PB(e)}function PB(e){let t=zB(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?t=>pR(e.scope,t):r===void 0?e=>e():e=>FB(r,e))(()=>{let i=Z(),a=UB(i,r),o=mR();return e.onlyIfParent&&!a?LB(i,o):RB({parentSpan:a,spanArguments:t,forceTransaction:n,scope:i})})}function FB(e,t){let n=BB();return n.withActiveSpan?n.withActiveSpan(e,t):pR(n=>(UL(n,e||void 0),t(n)))}function IB(e=Z()){let t=BB();return t.isTracingSuppressed?t.isTracingSuppressed(e):e.getScopeData().sdkProcessingMetadata[MB]===!0}function LB(e,t){t?.recordDroppedEvent(`no_parent_span`,`span`);let n=new Kz({traceId:e.getPropagationContext().traceId});return IR(n,e,dR()),n}function RB({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){let i=dR();if(!zz()){let t={...i.getPropagationContext(),...r.getPropagationContext()},a=new Kz({traceId:e?e.spanContext().traceId:t.traceId});return e&&!n&&Az(e,a),IR(a,r,i),a}let a=mR();if(WB(a,t)){IB(r)||a?.recordDroppedEvent(`ignored`,`span`);let t=new Kz({dropReason:`ignored`,traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});return e&&!n&&Az(e,t),IR(t,r,i),t}let o;if(e&&!n)o=HB(e,r,t,i),Az(e,o);else if(e){let n=$z(e),{traceId:a,spanId:s}=e.spanContext(),c=wz(e);o=VB({traceId:a,parentSpanId:s,...t},r,i,c),Xz(o,n)}else{let{traceId:e,dsc:n,parentSpanId:a,sampled:s}={...i.getPropagationContext(),...r.getPropagationContext()};o=VB({traceId:e,parentSpanId:a,...t},r,i,s),n&&Xz(o,n)}return yB(o),o}function zB(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=_z(e.startTime),delete n.startTime,n}return t}function BB(){return aR(VF())}function VB(e,t,n,r){let i=mR(),a=i?.getOptions()||{},{name:o=``}=e,s={spanAttributes:{...e.attributes},spanName:o,parentSampled:r};i?.emit(`beforeSampling`,s,{decision:!1});let c=s.parentSampled??r,l=s.spanAttributes,u=t.getPropagationContext(),d=IB(t),[f,p,m]=d?[!1]:jB(a,{name:o,parentSampled:c,attributes:l,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:rz(u.dsc?.sample_rate)},u.sampleRand),h=new EB({...e,attributes:{[gR]:`custom`,[_R]:p!==void 0&&m?p:void 0,...l},sampled:f});return!f&&i&&!d&&(J&&X.log(`[Tracing] Discarding root span because its trace was not chosen to be sampled.`),i.recordDroppedEvent(`sample_rate`,wB(i)?`span`:`transaction`)),IR(h,t,n),i&&i.emit(`spanStart`,h),h}function HB(e,t,n,r){let{spanId:i,traceId:a}=e.spanContext(),o=IB(t),s=!o&&wz(e),c=s?new EB({...n,parentSpanId:i,traceId:a,sampled:s}):new Kz({traceId:a});Az(e,c),IR(c,t,r);let l=mR();return l?(wB(l)&&qz(c)&&(qz(e)&&e.dropReason?(c.dropReason=e.dropReason,l.recordDroppedEvent(e.dropReason,`span`)):o||(c.dropReason=`sample_rate`,l.recordDroppedEvent(`sample_rate`,`span`))),l.emit(`spanStart`,c),n.endTimestamp&&(l.emit(`spanEnd`,c),l.emit(`afterSpanEnd`,c)),c):c}function UB(e,t){if(t)return t;if(t===null)return;let n=WL(e);if(!n)return;let r=mR();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?Nz(n):n}function WB(e,t){let n=e?.getOptions().ignoreSpans;return!e||!wB(e)||!n?.length?!1:Vz({description:t.name||``,op:t.attributes?.[`sentry.op`]||t.op,attributes:t.attributes},n)}function GB(e){return qz(e)&&e.dropReason===`ignored`}var KB={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},qB=`heartbeatFailed`,JB=`idleTimeout`,YB=`finalTimeout`,XB=`externalFinish`;function ZB(e,t={}){let n=new Map,r=!1,i,a,o=XB,s=!t.disableAutoFinish,c=[],{idleTimeout:l=KB.idleTimeout,finalTimeout:u=KB.finalTimeout,childSpanTimeout:d=KB.childSpanTimeout,beforeSpanEnd:f,trimIdleSpanEndTimestamp:p=!0}=t,m=mR(),h=Z();if(!m||!zz()){let e=new Kz({traceId:h.getPropagationContext().traceId});return IR(e,h,dR()),e}let g=Fz(),_=QB(e);_.end=new Proxy(_.end,{apply(e,t,n){if(f&&f(_),qz(t))return;let[r,...i]=n,a=_z(r||kL()),o=Mz(_).filter(e=>e!==_),s=Q(_);if(!o.length||!p)return w(a),Reflect.apply(e,t,[a,...i]);let c=m.getOptions().ignoreSpans,l=o?.reduce((e,t)=>
25{let n=Q(t);return!n.timestamp||c&&Vz({description:n.description,op:n.op,attributes:n.data},c)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),d=s.start_timestamp,h=Math.min(d?d+u/1e3:1/0,Math.max(d||-1/0,Math.min(a,l||1/0)));return w(h),Reflect.apply(e,t,[h,...i])}});function v(){i&&=(clearTimeout(i),void 0)}function y(){a&&=(clearTimeout(a),void 0)}function b(e){v(),i=setTimeout(()=>{!r&&n.size===0&&s&&(o=JB,_.end(e))},l)}function x(e){y(),a=setTimeout(()=>{!r&&s&&(o=qB,_.end(e))},d)}function S(e){v(),n.set(e,!0),x(kL()+d/1e3)}function C(e){n.has(e)&&n.delete(e),n.size===0&&(b(kL()+l/1e3),y())}function w(e){r=!0,n.clear(),c.forEach(e=>e()),UL(h,g);let t=Q(_),{start_timestamp:i}=t;if(!i)return;t.data[`sentry.idle_span_finish_reason`]||_.setAttribute(xR,o);let a=t.status;(!a||a===`unknown`)&&_.setStatus({code:1}),X.log(`[Tracing] Idle span "${t.op}" finished`);let s=Mz(_).filter(e=>e!==_),d=0;s.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:`cancelled`}),t.end(e),J&&X.log(`[Tracing] Cancelling span since span ended early`,JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=Q(t),i=r<=e,a=(u+l)/1e3,o=n-r<=a;if(J){let e=JSON.stringify(t,void 0,2);i?o||X.log(`[Tracing] Discarding span since it finished after idle span final timeout`,e):X.log(`[Tracing] Discarding span since it happened after idle span was finished`,e)}(!o||!i)&&(jz(_,t),d++)}),d>0&&_.setAttribute(`sentry.idle_span_discarded_spans`,d)}return c.push(m.on(`spanStart`,e=>{r||e===_||Q(e).timestamp||e instanceof EB&&e.isStandaloneSpan()||Mz(_).includes(e)&&S(e.spanContext().spanId)})),c.push(m.on(`spanEnd`,e=>{r||C(e.spanContext().spanId)})),c.push(m.on(`idleSpanEnableAutoFinish`,e=>{e===_&&(s=!0,b(),n.size&&x())})),t.disableAutoFinish||b(),setTimeout(()=>{r||(_.setStatus({code:2,message:`deadline_exceeded`}),o=YB,_.end())},u),_}function QB(e){let t=NB(e);return UL(Z(),t),J&&X.log(`[Tracing] Started span is an idle span`),t}function $B(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;rV(e,t),r&&oV(e,r),sV(e,n),iV(e,i),aV(e,a)}function eV(e,t){let{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:f,propagationContext:p,transactionName:m,span:h}=t;tV(e,`extra`,n),tV(e,`tags`,r),tV(e,`attributes`,i),tV(e,`user`,a),tV(e,`contexts`,o),e.sdkProcessingMetadata=LL(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function tV(e,t,n){e[t]=LL(e[t],n,1)}function nV(e,t){let n=fR().getScopeData();return e&&eV(n,e.getScopeData()),t&&eV(n,t.getScopeData()),n}function rV(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&e.type!==`transaction`&&(e.transaction=s)}function iV(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function aV(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function oV(e,t){e.contexts={trace:fz(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:$z(t),...e.sdkProcessingMetadata};let n=Q(Nz(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function sV(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}var cV=`http.url`,lV=`navigation.route.id`,uV=`params`,dV=`sentry.segment.name`,fV=`sentry.transaction`,pV=`url.full`,mV=`url.path.parameter`,hV=`url.template`,gV=0,_V=1,vV=2;function yV(e){return new xV(t=>{t(e)})}function bV(e){return new xV((t,n)=>{n(e)})}var xV=class e{constructor(e){this._state=gV,this._handlers=[],this._runExecutor(e)}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>
25{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(this._state===gV)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===_V&&e[1](this._value),this._state===vV&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===gV){if(II(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(_V,e)},r=e=>{t(vV,e)};try{e(n,r)}catch(e){r(e)}}};function SV(e,t,n,r=0){try{let i=CV(t,n,e,r);return II(i)?i:yV(i)}catch(e){return bV(e)}}function CV(e,t,n,r){let i=n[r];if(!e||!i)return e;let a=i({...e},t);return J&&a===null&&X.log(`Event processor "${i.id||`?`}" dropped event`),II(a)?a.then(e=>CV(e,t,n,r+1)):CV(a,t,n,r+1)}var wV,TV,EV,DV;function OV(e){let t=Y._sentryDebugIds,n=Y._debugIds;if(!t&&!n)return{};let r=t?Object.keys(t):[],i=n?Object.keys(n):[];if(DV&&r.length===TV&&i.length===EV)return DV;TV=r.length,EV=i.length,DV={},wV||={};let a=(t,n)=>{for(let r of t){let t=n[r],i=wV?.[r];if(i&&DV&&t)DV[i[0]]=t,wV&&(wV[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e]?.filename;if(i&&DV&&wV){DV[i]=t,wV[r]=[i,t];break}}}}};return t&&a(r,t),n&&a(i,n),DV}function kV(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||vL(),timestamp:t.timestamp||EL()},l=n.integrations||e.integrations.map(e=>e.name);AV(c,e),NV(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&jV(c,e.stackParser);let u=FV(r,n.captureContext);n.mechanism&&SL(c,n.mechanism);let d=i?i.getEventProcessors():[],f=nV(a,u),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),$B(c,f);let m=[...d,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?yV(c):SV(m,c,n)).then(e=>(e&&MV(e),typeof o==`number`&&o>0?PV(e,o,s):e))}function AV(e,t){let{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||`production`,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=dL(o.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&=dL(e.value,a)})}function jV(e,t){let n=OV(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function MV(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:`sourcemap`,code_file:e,debug_id:t})})}function NV(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function PV(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:rL(e.data,t,n)}}))},...e.user&&{user:rL(e.user,t,n)},...e.contexts&&{contexts:rL(e.contexts,t,n)},...e.extra&&{extra:rL(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=rL(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:rL(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=rL(e.contexts.flags,3,n)),r}function FV(e,t){if(!t)return e;let n=e?e.clone():new KL;return n.update(t),n}function IV(e){if(e)return LV(e)||zV(e)?{captureContext:e}:e}function LV(e){return e instanceof KL||typeof e==`function`}var RV=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function zV(e){return Object.keys(e).some(e=>RV.includes(e))}function BV(e,t){return Z().captureException(e,IV(t))}function VV(e,t){return Z().captureEvent(e,t)}function HV(){let e=mR();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function UV(e){let t=dR(),{user:n}=nV(t,Z()),{userAgent:r}=Y.navigator||{},i=NL({user:n,...r&&{userAgent:r},...e}),a=t.getSession();return a?.status===`ok`&&PL(a,{status:`exited`}),WV(),t.setSession(i),i}function WV(){let e=dR(),t=Z().getSession()||e.getSession();t&&FL(t),GV(),e.setSession()}function GV(){let e=dR(),t=mR(),n=e.getSession();n&&t&&t.captureSession(n)}function KV(e=!1){if(e){WV();return}GV()}var qV=[];function JV(e){let t={};
25return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}function YV(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n==`function`){let e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return JV(r)}function XV(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&QV(e,t,n)}),n}function ZV(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function QV(e,t,n){if(n[t.name]){J&&X.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!qV.includes(t.name)&&typeof t.setupOnce==`function`&&(t.setupOnce(),qV.push(t.name)),t.setup&&typeof t.setup==`function`&&t.setup(e),typeof t.preprocessEvent==`function`){let n=t.preprocessEvent.bind(t);e.on(`preprocessEvent`,(t,r)=>n(t,r,e))}if(typeof t.processEvent==`function`){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}[`processSpan`,`processSegmentSpan`].forEach(n=>{let r=t[n];typeof r==`function`&&e.on(n,n=>r.call(t,n,e))}),J&&X.log(`Integration installed: ${t.name}`)}function $V(e){return e}function eH(){return typeof __SENTRY_BROWSER_BUNDLE__<`u`&&!!__SENTRY_BROWSER_BUNDLE__}function tH(){return`npm`}function nH(){return!eH()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function rH(){return typeof window<`u`&&(!nH()||iH())}function iH(){return Y.process?.type===`renderer`}var aH=`thismessage:/`;function oH(e){return`isRelative`in e}function sH(e,t){let n=e.indexOf(`://`)<=0&&e.indexOf(`//`)!==0,r=t??(n?aH:void 0);try{if(`canParse`in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);return n?{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch{}}function cH(e){if(oH(e))return e.pathname;let t=new URL(e);return t.search=``,t.hash=``,[`80`,`443`].includes(t.port)&&(t.port=``),t.password&&=`%filtered%`,t.username&&=`%filtered%`,t.toString()}function lH(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||``,r=t[8]||``;return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function uH(e){return e.split(/[?#]/,1)[0]}function dH(e,t=!0){if(e.startsWith(`data:`)){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:`text/plain`,i=e.includes(`;base64,`),a=e.indexOf(`,`),o=``;if(t&&a!==-1){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?`,base64`:``}${o?`,${o}`:``}`}return e}function fH(e={}){let t=e.client||mR();if(!HV()||!t)return{};let n=aR(VF());if(n.getTraceData)return n.getTraceData(e);let r=e.scope||Z(),i=e.span||Fz(),a=qz(i)&&!zz(t.getOptions());if(!i&&uR())return{};let o=i&&!a?pz(i):pH(r),s=UR(i?$z(i):Qz(t,r));if(!iz.test(o))return X.warn(`Invalid sentry-trace data. Cannot generate trace data`),{};let c={"sentry-trace":o,baggage:s};return e.propagateTraceparent&&(c.traceparent=i&&!a?mz(i):mH(r)),c}function pH(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return sz(t,r,n)}function mH(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return cz(t,r,n)}function hH(e){return Array.from(new Set(e))}function gH(e,t,n,r,i){if(!e.fetchData)return;let{method:a,url:o}=e.fetchData,s=zz()&&t(o);if(e.endTimestamp){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(s&&(yH(n,e),_H(n,e,i)),delete r[t]);return}let{spanOrigin:c=`auto.http.browser`,propagateTraceparent:l=!1}=typeof i==`object`?i:{spanOrigin:i},u=mR(),d=!!Fz(),f=d||!!u&&wB(u),p=s&&f?NB(CH(o,a,c)):new Kz,m=GB(p)&&d?void 0:p;if(s&&!f&&u?.recordDroppedEvent(`no_parent_span`,`span`),e.fetchData.__span=p.spanContext().spanId,r[p.spanContext().spanId]=p,n(e.fetchData.url)){let t=e.args[0],n={...e.args[1]||{}},r=vH(t,n,zz()&&f?m:void 0,l);r&&(e.args[1]=n,n.headers=r)}if(u){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};u.emit(`beforeOutgoingRequestSpan`,p,t)}return p}function _H(e,t,n){(typeof n==`object`&&n?n.onRequestSpanEnd:void 0)?.(e,{headers:t.response?.headers,error:t.error})}function vH(e,t,n,r){let i=fH({span:n,propagateTraceparent:r}),a=i[`sentry-trace`],o=i.baggage,s=i.traceparent;if(!a)return;let c=t.headers||(RI(e)?e.headers:void 0);if(!c)return{"sentry-trace":a,...o&&{baggage:o},...s&&{traceparent:s}};if(xH(c)){let e=new Headers(c);if(e.get(`sentry-trace`)||e.set(`sentry-trace`,a),r&&s&&!e.get(`traceparent`)&&e.set(`traceparent`,s),o){let t=e.get(`baggage`);t?bH(t)||e.set(`baggage`,`${t},${o}`):e.set(`baggage`,o)}return e}if(SH(c)){let e=[...c];e.find(e=>e[0]===`sentry-trace`)||e.push([`sentry-trace`,a]),r&&s&&!e.find(e=>e[0]===`traceparent`)&&e.push([`traceparent`,s]);let t=c.find(e=>e[0]===`baggage`&&typeof e[1]==`string`&&bH(e[1]));return o&&!t&&e.push([`baggage`,o]),e}{let e=`sentry-trace`in c?c[`sentry-trace`]:void 0,t=`traceparent`in c?c.traceparent:void 0,n=`baggage`in c?c.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],l=n&&(Array.isArray(n)?n.find(e=>bH(e)):bH(n));o&&!l&&i.push(o);let u=Object.assign({},c,{"sentry-trace":e??a,...i.length>0&&{baggage:i.join(`,`)}});return r&&s&&!t&&(u.traceparent=s),u}}function yH(e,t){if(t.response){AR(e,t.response.status);let n=t.response?.headers?.get(`content-length`);if(n){let t=parseInt(n);t>0&&e.setAttribute(`http.response_content_length`,t)}}else t.error&&e.setStatus({code:2,message:`internal_error`});e.end()}function bH(e){return typeof e==`string`&&e.split(`,`).some(e=>e.trim().startsWith(VR))}function xH(e){return typeof Headers<`u`&&LI(e,Headers)}function SH(e){return Array.isArray(e)?e.every(e=>Array.isArray(e)&&e.length===2&&typeof e[0]==`string`):!1}
25function CH(e,t,n){if(e.startsWith(`data:`))return{name:`${t} ${dH(e)}`,attributes:wH(e,void 0,t,n)};let r=sH(e);return{name:`${t} ${r?cH(r):e}`,attributes:wH(e,r,t,n)}}function wH(e,t,n,r){let i={url:dH(e),type:`fetch`,"http.method":n,[bR]:r,[yR]:`http.client`};return t&&(oH(t)||(i[cV]=dH(t.href),i[pV]=dH(t.href),i[`server.address`]=t.host),t.search&&(i[`http.query`]=t.search),t.hash&&(i[`http.fragment`]=t.hash)),i}var TH=Y;function EH(){return`history`in TH&&!!TH.history}function DH(){if(!(`fetch`in TH))return!1;try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function OH(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function kH(){if(typeof EdgeRuntime==`string`)return!0;if(!DH())return!1;if(OH(TH.fetch))return!0;let e=!1,t=TH.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=OH(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){J&&X.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function AH(e,t){let n=`fetch`,r=mI(n,e);return hI(n,()=>MH(void 0,t)),r}function jH(e){let t=`fetch-body-resolved`,n=mI(t,e);return hI(t,()=>MH(PH)),n}function MH(e,t=!1){(!t||kH())&&zI(Y,`fetch`,function(t){return function(...n){let r=Error(),{method:i,url:a}=LH(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:kL()*1e3,virtualError:r,headers:RH(n)};return e||gI(`fetch`,{...o}),t.apply(Y,n).then(async t=>(e?e(t):gI(`fetch`,{...o,endTimestamp:kL()*1e3,response:t}),t),e=>{gI(`fetch`,{...o,endTimestamp:kL()*1e3,error:e}),wI(e)&&e.stack===void 0&&(e.stack=r.stack,BI(e,`framesToPop`,1));let t=mR()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&wI(e)&&e.name===`TypeError`&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(o.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:BI(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}async function NH(e,t){if(e?.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),a=!1)}catch{a=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function PH(e){let t;try{t=e.clone()}catch{return}NH(t,()=>{gI(`fetch-body-resolved`,{endTimestamp:kL()*1e3,response:e})})}function FH(e,t){return NI(e)&&!!e[t]}function IH(e){return typeof e==`string`?e:e?FH(e,`url`)?e.url:e.toString?e.toString():``:``}function LH(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:IH(t),method:FH(n,`method`)?String(n.method).toUpperCase():RI(t)&&FH(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:IH(t),method:FH(t,`method`)?String(t.method).toUpperCase():`GET`}}function RH(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(RI(t))return new Headers(t.headers)}catch{}}var zH=Y;function BH(){try{return zH.document.location.href}catch{return``}}function VH(e,t=5){if(!zH.HTMLElement)return null;let n=e;for(let e=0;e<t;e++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}var HH=Y,UH=0;function WH(){return UH>0}function GH(){UH++,setTimeout(()=>{UH--})}function KH(e,t={}){function n(e){return typeof e==`function`}if(!n(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,`__sentry_wrapped__`)){let t=e.__sentry_wrapped__;return typeof t==`function`?t:e}if(HI(e))return e}catch{return e}let r=function(...n){Y._sentryWrappedDepth=(Y._sentryWrappedDepth||0)+1;try{let r=n.map(e=>KH(e,t));return e.apply(this,r)}catch(e){throw GH(),pR(r=>{r.addEventProcessor(e=>(t.mechanism&&(xL(e,void 0,void 0),SL(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),BV(e)}),e}finally{Y._sentryWrappedDepth=(Y._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}VI(r,e),BI(e,`__sentry_wrapped__`,r);try{Object.getOwnPropertyDescriptor(r,`name`).configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function qH(){let e=BH(),{referrer:t}=HH.document||{},{userAgent:n}=HH.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}var JH=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,$=Y,YH=(e,t)=>e>t[1]?`poor`:e>t[0]?`needs-improvement`:`good`,XH=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i??0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=YH(t.value,n),e(t)))}},ZH=(e=!0)=>{let t=$.performance?.getEntriesByType?.(`navigation`)[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},QH=()=>ZH()?.activationStart??0;function $H(e,t,n){$.document&&$.addEventListener(e,t,n)}
25function eU(e,t,n){$.document&&$.removeEventListener(e,t,n)}var tU=-1,nU=new Set,rU=()=>$.document?.visibilityState===`hidden`&&!$.document?.prerendering?0:1/0,iU=e=>{if(oU(e)&&tU>-1){if(e.type===`visibilitychange`||e.type===`pagehide`)for(let e of nU)e();isFinite(tU)||(tU=e.type===`visibilitychange`?e.timeStamp:0,eU(`prerenderingchange`,iU,!0))}},aU=()=>{if($.document&&tU<0){let e=QH();tU=($.document.prerendering?void 0:globalThis.performance.getEntriesByType(`visibility-state`).filter(t=>t.name===`hidden`&&t.startTime>e)[0]?.startTime)??rU(),$H(`visibilitychange`,iU,!0),$H(`pagehide`,iU,!0),$H(`prerenderingchange`,iU,!0)}return{get firstHiddenTime(){return tU},onHidden(e){nU.add(e)}}};function oU(e){return e.type===`pagehide`||$.document?.visibilityState===`hidden`}var sU=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+0xe8d4a51000}`,cU=(e,t=-1)=>{let n=ZH(),r=`navigate`;return n&&($.document?.prerendering||QH()>0?r=`prerender`:$.document?.wasDiscarded?r=`restore`:n.type&&(r=n.type.replace(/_/g,`-`))),{name:e,value:t,rating:`good`,delta:0,entries:[],id:sU(),navigationType:r}},lU=new WeakMap;function uU(e,t){try{return lU.get(e)||lU.set(e,new t),lU.get(e)}catch{return new t}}var dU=class{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}},fU=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},pU=e=>{let t=!1;return()=>{t||=(e(),!0)}},mU=e=>{$.document?.prerendering?addEventListener(`prerenderingchange`,()=>e(),!0):e()},hU=[1800,3e3],gU=(e,t={})=>{mU(()=>{let n=aU(),r=cU(`FCP`),i,a=fU(`paint`,e=>{for(let t of e)t.name===`first-contentful-paint`&&(a.disconnect(),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-QH(),0),r.entries.push(t),i(!0)))});a&&(i=XH(e,r,hU,t.reportAllChanges))})},_U=[.1,.25],vU=(e,t={})=>{gU(pU(()=>{let n=cU(`CLS`,0),r,i=aU(),a=uU(t,dU),o=e=>{for(let t of e)a._processEntry(t);a._sessionValue>n.value&&(n.value=a._sessionValue,n.entries=a._sessionEntries,r())},s=fU(`layout-shift`,o);s&&(r=XH(e,n,_U,t.reportAllChanges),i.onHidden(()=>{o(s.takeRecords()),r(!0)}),$?.setTimeout?.(r))}))},yU=0,bU=1/0,xU=0,SU=e=>{e.forEach(e=>{e.interactionId&&(bU=Math.min(bU,e.interactionId),xU=Math.max(xU,e.interactionId),yU=xU?(xU-bU)/7+1:0)})},CU,wU=()=>CU?yU:performance.interactionCount||0,TU=()=>{`interactionCount`in performance||CU||(CU=fU(`event`,SU,{type:`event`,buffered:!0,durationThreshold:0}))},EU=10,DU=0,OU=()=>wU()-DU,kU=class{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){DU=wU(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor(OU()/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||e.entryType===`first-input`))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<EU||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>EU){let e=this._longestInteractionList.splice(EU);for(let t of e)this._longestInteractionMap.delete(t.id)}this._onAfterProcessingINPCandidate?.(n)}}},AU=e=>{let t=$.requestIdleCallback||$.setTimeout;$.document?.visibilityState===`hidden`?e():(e=pU(e),$H(`visibilitychange`,e,{once:!0,capture:!0}),$H(`pagehide`,e,{once:!0,capture:!0}),t(()=>{e(),eU(`visibilitychange`,e,{capture:!0}),eU(`pagehide`,e,{capture:!0})}
25))},jU=[200,500],MU=40,NU=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&`interactionId`in PerformanceEventTiming.prototype))return;let n=aU();mU(()=>{TU();let r=cU(`INP`),i,a=uU(t,kU),o=e=>{AU(()=>{for(let t of e)a._processEntry(t);let t=a._estimateP98LongestInteraction();t&&t._latency!==r.value&&(r.value=t._latency,r.entries=t.entries,i())})},s=fU(`event`,o,{durationThreshold:t.durationThreshold??MU});i=XH(e,r,jU,t.reportAllChanges),s&&(s.observe({type:`first-input`,buffered:!0}),n.onHidden(()=>{o(s.takeRecords()),i(!0)}))})},PU=class{_processEntry(e){this._onBeforeProcessingEntry?.(e)}},FU=[2500,4e3],IU=(e,t={})=>{mU(()=>{let n=aU(),r=cU(`LCP`),i,a=uU(t,PU),o=e=>{t.reportAllChanges||(e=e.slice(-1));for(let t of e)a._processEntry(t),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-QH(),0),r.entries=[t],i())},s=fU(`largest-contentful-paint`,o);if(s){i=XH(e,r,FU,t.reportAllChanges);let n=pU(()=>{o(s.takeRecords()),s.disconnect(),i(!0)}),a=e=>{e.isTrusted&&(AU(n),eU(e.type,a,{capture:!0}))};for(let e of[`keydown`,`click`,`visibilitychange`])$H(e,a,{capture:!0})}})},LU=[800,1800],RU=e=>{$.document?.prerendering?mU(()=>RU(e)):$.document?.readyState===`complete`?setTimeout(e):addEventListener(`load`,()=>RU(e),!0)},zU=(e,t={})=>{let n=cU(`TTFB`),r=XH(e,n,LU,t.reportAllChanges);RU(()=>{let e=ZH();e&&(n.value=Math.max(e.responseStart-QH(),0),n.entries=[e],r(!0))})},BU={},VU={},HU,UU,WU,GU;function KU(e,t=!1){return nW(`cls`,e,QU,HU,t)}function qU(e,t=!1){return nW(`lcp`,e,$U,UU,t)}function JU(e){return nW(`ttfb`,e,eW,WU)}function YU(e){return nW(`inp`,e,tW,GU)}function XU(e,t){return iW(e,t),VU[e]||(rW(e),VU[e]=!0),aW(e,t)}function ZU(e,t){let n=BU[e];if(n?.length)for(let r of n)try{r(t)}catch(t){JH&&X.error(`Error while triggering instrumentation handler.
26Type: ${e}
27Name: ${uI(r)}
28Error:`,t)}}function QU(){return vU(e=>{ZU(`cls`,{metric:e}),HU=e},{reportAllChanges:!0})}function $U(){return IU(e=>{ZU(`lcp`,{metric:e}),UU=e},{reportAllChanges:!0})}function eW(){return zU(e=>{ZU(`ttfb`,{metric:e}),WU=e})}function tW(){return NU(e=>{ZU(`inp`,{metric:e}),GU=e})}function nW(e,t,n,r,i=!1){iW(e,t);let a;return VU[e]||(a=n(),VU[e]=!0),r&&t({metric:r}),aW(e,t,i?a:void 0)}function rW(e){let t={};e===`event`&&(t.durationThreshold=0),fU(e,t=>{ZU(e,{entries:t})},t)}function iW(e,t){BU[e]=BU[e]||[],BU[e].push(t)}function aW(e,t,n){return()=>{n&&n();let r=BU[e];if(!r)return;let i=r.indexOf(t);i!==-1&&r.splice(i,1)}}function oW(e){return`duration`in e}var sW=80,cW={};try{typeof Node<`u`&&(cW.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`).get),typeof Element<`u`&&(cW.tagName=Object.getOwnPropertyDescriptor(Element.prototype,`tagName`).get,cW.id=Object.getOwnPropertyDescriptor(Element.prototype,`id`).get,cW.className=Object.getOwnPropertyDescriptor(Element.prototype,`className`).get,cW.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<`u`&&(cW.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,`dataset`).get)}catch{}function lW(e,t,n){let r=cW[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return typeof i==`function`?i.call(e,n):i}function uW(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||sW;for(;n&&i++<5&&(o=dW(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=lW(n,`parentNode`);return r.reverse().join(` > `)}catch{return`<unknown>`}}function dW(e,t){let n=[],r=lW(e,`tagName`);if(!r)return``;if(typeof HTMLElement<`u`&&e instanceof HTMLElement){let t=lW(e,`dataset`);if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>lW(e,`getAttribute`,t)).map(t=>[t,lW(e,`getAttribute`,t)]):null;if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=lW(e,`id`);t&&n.push(`#${t}`);let r=lW(e,`className`);if(r&&kI(r)){let e=r.split(/\s+/);for(let t of e)n.push(`.${t}`)}}for(let t of[`aria-label`,`type`,`name`,`title`,`alt`]){let r=lW(e,`getAttribute`,t);r&&n.push(`[${t}="${r}"]`)}return n.join(``)}var fW=e=>{let t=t=>{(t.type===`pagehide`||$.document?.visibilityState===`hidden`)&&e(t)};$H(`visibilitychange`,t,{capture:!0,once:!0}),$H(`pagehide`,t,{capture:!0,once:!0})};function pW(e){return typeof e==`number`&&isFinite(e)}function mW(e,t,n,{...r}){let i=Q(e).start_timestamp;return i&&i>t&&typeof e.updateStartTime==`function`&&e.updateStartTime(t),FB(e,()=>{let e=NB({startTime:t,...r});return e&&e.end(n),e})}function hW(e){let t=mR();if(!t)return;let{name:n,transaction:r,attributes:i,startTime:a}=e,{release:o,environment:s}=t.getOptions(),{userInfo:c}=t.getDataCollectionOptions(),l=t.getIntegrationByName(`Replay`)?.getReplayId(),u=Z(),d=u.getUser(),f=d===void 0?void 0:d.email||d.id||d.ip_address,p;try{p=u.getScopeData().contexts.profile.profile_id}catch{}return NB({name:n,attributes:{release:o,environment:s,user:f||void 0,profile_id:p||void 0,replay_id:l||void 0,transaction:r,"user_agent.original":$.navigator?.userAgent,"client.address":c?`{{auto}}`:void 0,...i},startTime:a,experimental:{standalone:!0}})}function gW(){return $.addEventListener&&$.performance}function _W(e){return e/1e3}function vW(e){let t=`unknown`,n=`unknown`,r=``;for(let i of e){if(i===`/`){[t,n]=e.split(`/`);break}if(!isNaN(Number(i))){t=r===`h`?`http`:r,n=e.split(r)[1];break}r+=i}
28return r===e&&(t=r),{name:t,version:n}}function yW(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function bW(e,t){let n,r=!1;function i(e){!r&&n&&t(e,n.spanContext().spanId,n),r=!0}fW(()=>{i(`pagehide`)});let a=e.on(`beforeStartNavigationSpan`,(e,t)=>{t?.isRedirect||(i(`navigation`),a(),o())}),o=e.on(`afterStartPageLoadSpan`,e=>{n=e,o()})}function xW(e){let t=0,n;if(!yW(`layout-shift`))return;let r=KU(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);bW(e,(e,i)=>{SW(t,n,i,e),r()})}function SW(e,t,n,r){JH&&X.log(`Sending CLS span (${e})`);let i=t?_W((ML()||0)+t.startTime):kL(),a=Z().getScopeData().transactionName,o=t?uW(t.sources[0]?.node):`Layout shift`,s={[bR]:`auto.http.browser.cls`,[yR]:`ui.webvital.cls`,[ER]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t?.sources&&t.sources.forEach((e,t)=>{s[`cls.source.${t+1}`]=uW(e.node)});let c=hW({name:o,transaction:a,attributes:s,startTime:i});c&&(c.addEvent(`cls`,{[SR]:``,[CR]:e}),c.end(i))}function CW(e){return e!=null&&e>0&&e<=6e4}function wW(e){let t=0,n;if(!yW(`largest-contentful-paint`))return;let r=qU(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&CW(e.value)&&(t=e.value,n=r)},!0);bW(e,(e,i)=>{TW(t,n,i,e),r()})}function TW(e,t,n,r){if(!CW(e))return;JH&&X.log(`Sending LCP span (${e})`);let i=_W((ML()||0)+(t?.startTime||0)),a=Z().getScopeData().transactionName,o=t?uW(t.element):`Largest contentful paint`,s={[bR]:`auto.http.browser.lcp`,[yR]:`ui.webvital.lcp`,[ER]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(s[`lcp.element`]=uW(t.element)),t.id&&(s[`lcp.id`]=t.id),t.url&&(s[`lcp.url`]=t.url),t.loadTime!=null&&(s[`lcp.loadTime`]=t.loadTime),t.renderTime!=null&&(s[`lcp.renderTime`]=t.renderTime),t.size!=null&&(s[`lcp.size`]=t.size));let c=hW({name:o,transaction:a,attributes:s,startTime:i});c&&(c.addEvent(`lcp`,{[SR]:`millisecond`,[CR]:e}),c.end(i))}function EW(e){return e&&((ML()||performance.timeOrigin)+e)/1e3}function DW(e){let t={};if(e.nextHopProtocol!=null){let{name:n,version:r}=vW(e.nextHopProtocol);t[`network.protocol.version`]=r,t[`network.protocol.name`]=n}return ML()||gW()?.timeOrigin?OW({...t,"http.request.redirect_start":EW(e.redirectStart),"http.request.redirect_end":EW(e.redirectEnd),"http.request.worker_start":EW(e.workerStart),"http.request.fetch_start":EW(e.fetchStart),"http.request.domain_lookup_start":EW(e.domainLookupStart),"http.request.domain_lookup_end":EW(e.domainLookupEnd),"http.request.connect_start":EW(e.connectStart),"http.request.secure_connection_start":EW(e.secureConnectionStart),"http.request.connection_end":EW(e.connectEnd),"http.request.request_start":EW(e.requestStart),"http.request.response_start":EW(e.responseStart),"http.request.response_end":EW(e.responseEnd),"http.request.time_to_first_byte":e.responseStart==null?void 0:e.responseStart/1e3}):t}function OW(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!=null))}var kW=2147483647,AW=0,jW={},MW,NW;function PW({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){let r=gW();if(r&&ML()){r.mark&&$.performance.mark(`sentry-tracing-init`);let i=t?wW(n):t===!1?zW():void 0,a=e?xW(n):e===!1?RW():void 0,o=BW(),s=VW();return()=>{o(),s(),i?.(),a?.()}}return()=>void 0}function FW(){XU(`longtask`,({entries:e})=>{let t=Fz();if(!t)return;let{op:n,start_timestamp:r}=Q(t);for(let i of e){let e=_W(ML()+i.startTime),a=_W(i.duration);n===`navigation`&&r&&e<r||mW(t,e,e+a,{name:`Main UI thread blocked`,op:`ui.long-task`,attributes:{[bR]:`auto.ui.browser.metrics`}})}})}function IW(){new PerformanceObserver(e=>{let t=Fz();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=_W(ML()+n.startTime),{start_timestamp:r,op:i}=Q(t);if(i===`navigation`&&r&&e<r)continue;let a=_W(n.duration),o={[bR]:`auto.ui.browser.metrics`},{invoker:s,invokerType:c,sourceURL:l,sourceFunctionName:u,sourceCharPosition:d}=n.scripts[0];o[`browser.script.invoker`]=s,o[`browser.script.invoker_type`]=c,l&&(o[`code.filepath`]=l),u&&(o[`code.function`]=u),d!==-1&&(o[`browser.script.source_char_position`]=d),mW(t,e,e+a,{name:`Main UI thread blocked`,op:`ui.long-animation-frame`,attributes:o})}}).observe({type:`long-animation-frame`,buffered:!0})}function LW(){XU(`event`,({entries:e})=>{let t=Fz();if(t){for(let n of e)if(n.name===`click`){let e=_W(ML()+n.startTime),r=_W(n.duration),i={name:uW(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[bR]:`auto.ui.browser.metrics`}},a=VH(n.target);a&&(i.attributes[`ui.component_name`]=a),mW(t,e,e+r,i)}}})}function RW(){return KU(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(jW.cls={value:e.value,unit:``},NW=t)},!0)}function zW(){return qU(({metric:e})=>{let t=e.entries[e.entries.length-1];
28t&&CW(e.value)&&(jW.lcp={value:e.value,unit:`millisecond`},MW=t)},!0)}function BW(){return JU(({metric:e})=>{e.entries[e.entries.length-1]&&(jW.ttfb={value:e.value,unit:`millisecond`})})}function VW(){return XU(`paint`,({entries:e})=>{let t=aU();for(let n of e){let e=n.startTime<t.firstHiddenTime;n.name===`first-paint`&&e&&(jW.fp={value:n.startTime,unit:`millisecond`}),n.name===`first-contentful-paint`&&e&&(jW.fcp={value:n.startTime,unit:`millisecond`})}})}function HW(e,t){let n=gW(),r=ML();if(!n?.getEntries||!r)return;let{spanStreamingEnabled:i,ignorePerformanceApiSpans:a,ignoreResourceSpans:o}=t,s=_W(r),c=n.getEntries(),{op:l,start_timestamp:u}=Q(e);c.slice(AW).forEach(t=>{let n=_W(t.startTime),r=_W(Math.max(0,t.duration));if(!(l===`navigation`&&u&&s+n<u))switch(t.entryType){case`navigation`:JW(e,t,s);break;case`mark`:case`paint`:case`measure`:KW(e,t,n,r,s,a);break;case`resource`:QW(e,t,t.name,n,r,s,o)}}),AW=Math.max(c.length-1,0),$W(e,i)}function UW(e,t){let n=ML();if(!gW()?.getEntries||!n){WW();return}let{spanStreamingEnabled:r,recordClsOnPageloadSpan:i,recordLcpOnPageloadSpan:a}=t,o=_W(n);if(Q(e).op===`pageload`){if(nG(jW),r){let t=(t,n,r)=>{let i=r??`browser.web_vital.${t}.value`;e.setAttribute(i,n),JH&&X.log(`Setting web vital attribute`,{[i]:n},`on pageload span`)};[`ttfb`,`fp`,`fcp`].forEach(e=>{jW[e]&&t(e,jW[e].value)}),jW[`ttfb.requestTime`]&&t(`ttfb.requestTime`,jW[`ttfb.requestTime`].value,`browser.web_vital.ttfb.request_time`)}else i||delete jW.cls,a||delete jW.lcp,Object.entries(jW).forEach(([t,n])=>{xB(t,n.value,n.unit,e)}),eG(e,t);e.setAttribute(r?`browser.performance.time_origin`:`performance.timeOrigin`,o),e.setAttribute(r?`browser.performance.navigation.activation_start`:`performance.activationStart`,QH())}WW()}function WW(){MW=void 0,NW=void 0,jW={}}function GW(e){if(e?.entryType===`measure`)try{return e.detail.devtools.track===`Components ⚛`}catch{return}}function KW(e,t,n,r,i,a){if(GW(t)||[`mark`,`measure`].includes(t.entryType)&&mL(t.name,a))return;let o=ZH(!1),s=_W(o?o.requestStart:0),c=i+Math.max(n,s),l=i+n,u=l+r,d={[bR]:`auto.resource.browser.metrics`};c!==l&&(d[`sentry.browser.measure_happened_before_request`]=!0,d[`sentry.browser.measure_start_time`]=c),qW(d,t),c<=u&&mW(e,c,u,{name:t.name,op:t.entryType,attributes:d})}function qW(e,t){try{let n=t.detail;if(!n)return;if(typeof n==`object`){for(let[t,r]of Object.entries(n))if(r&&jI(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(r!==void 0)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if(jI(n)){e[`sentry.browser.measure.detail`]=n;return}try{e[`sentry.browser.measure.detail`]=JSON.stringify(n)}catch{}}catch{}}function JW(e,t,n){[`unloadEvent`,`redirect`,`domContentLoadedEvent`,`loadEvent`,`connect`].forEach(r=>{YW(e,t,r,n)}),YW(e,t,`secureConnection`,n,`TLS/SSL`),YW(e,t,`fetch`,n,`cache`),YW(e,t,`domainLookup`,n,`DNS`),ZW(e,t,n)}function YW(e,t,n,r,i=n){let a=t[XW(n)],o=t[`${n}Start`];o&&a&&mW(e,r+_W(o),r+_W(a),{op:`browser.${i}`,name:t.name,attributes:{[bR]:`auto.ui.browser.metrics`,...n===`redirect`&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function XW(e){return e===`secureConnection`?`connectEnd`:e===`fetch`?`domainLookupStart`:`${e}End`}function ZW(e,t,n){let r=n+_W(t.requestStart),i=n+_W(t.responseEnd),a=n+_W(t.responseStart);t.responseEnd&&(mW(e,r,i,{op:`browser.request`,name:t.name,attributes:{[bR]:`auto.ui.browser.metrics`}}),mW(e,a,i,{op:`browser.response`,name:t.name,attributes:{[bR]:`auto.ui.browser.metrics`}}))}function QW(e,t,n,r,i,a,o){if(t.initiatorType===`xmlhttprequest`||t.initiatorType===`fetch`)return;let s=t.initiatorType?`resource.${t.initiatorType}`:`resource.other`;if(o?.includes(s))return;let c={[bR]:`auto.resource.browser.metrics`},l=lH(n);l.protocol&&(c[`url.scheme`]=l.protocol.split(`:`).pop()),l.host&&(c[`server.address`]=l.host),c[`url.same_origin`]=n.includes($.location.origin),c[pV]=n,tG(t,c,[[`responseStatus`,`http.response.status_code`],[`transferSize`,`http.response_transfer_size`],[`encodedBodySize`,`http.response_content_length`],[`decodedBodySize`,`http.decoded_response_content_length`],[`renderBlockingStatus`,`resource.render_blocking_status`],[`deliveryType`,`http.response_delivery_type`]]);let u={...c,...DW(t)},d=a+r;mW(e,d,d+i,{name:n.replace($.location.origin,``),op:s,attributes:u})}function $W(e,t){let n=$.navigator;if(!n)return;let r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?`network.connection.effective_type`:`effectiveConnectionType`,r.effectiveType),r.type&&e.setAttribute(t?`network.connection.type`:`connectionType`,r.type),pW(r.rtt)&&(t?e.setAttribute(`network.connection.rtt`,r.rtt):Q(e).op===`pageload`&&xB(`connection.rtt`,r.rtt,`millisecond`))),pW(n.deviceMemory)&&(t?e.setAttribute(`device.memory.estimated_capacity`,n.deviceMemory):e.setAttribute(`deviceMemory`,`${n.deviceMemory} GB`)),pW(n.hardwareConcurrency)&&(t?e.setAttribute(`device.processor_count`,n.hardwareConcurrency):e.setAttribute(`hardwareConcurrency`,String(n.hardwareConcurrency)))}function eG(e,t){MW&&t.recordLcpOnPageloadSpan&&(MW.element&&e.setAttribute(`lcp.element`,uW(MW.element)),MW.id&&e.setAttribute(`lcp.id`,MW.id),MW.url&&e.setAttribute(`lcp.url`,MW.url.trim().slice(0,200)),MW.loadTime!=null&&e.setAttribute(`lcp.loadTime`,MW.loadTime),MW.renderTime!=null&&e.setAttribute(`lcp.renderTime`,MW.renderTime),e.setAttribute(`lcp.size`,MW.size)),NW?.sources&&t.recordClsOnPageloadSpan&&NW.sources.forEac
28h((t,n)=>e.setAttribute(`cls.source.${n+1}`,uW(t.node)))}function tG(e,t,n){n.forEach(([n,r])=>{let i=e[n];i!=null&&(typeof i==`number`&&i<kW||typeof i==`string`)&&(t[r]=i)})}function nG(e){let t=ZH(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e[`ttfb.requestTime`]={value:n-r,unit:`millisecond`})}var rG=[],iG=new Map,aG=new Map;function oG(){if(gW()&&ML()){let e=cG();return()=>{e()}}return()=>void 0}var sG={click:`click`,pointerdown:`click`,pointerup:`click`,mousedown:`click`,mouseup:`click`,touchstart:`click`,touchend:`click`,mouseover:`hover`,mouseout:`hover`,mouseenter:`hover`,mouseleave:`hover`,pointerover:`hover`,pointerout:`hover`,pointerenter:`hover`,pointerleave:`hover`,dragstart:`drag`,dragend:`drag`,drag:`drag`,dragenter:`drag`,dragleave:`drag`,dragover:`drag`,drop:`drag`,keydown:`press`,keyup:`press`,keypress:`press`,input:`press`};function cG(){return YU(lG)}var lG=({metric:e})=>{if(e.value==null)return;let t=_W(e.value);if(t>60)return;let n=e.entries.find(t=>t.duration===e.value&&sG[t.name]);if(!n)return;let{interactionId:r}=n,i=sG[n.name],a=_W(ML()+n.startTime),o=Fz(),s=o?Nz(o):void 0,c=r==null?void 0:iG.get(r),l=c?.span||s,u=l?Q(l).description:Z().getScopeData().transactionName,d=hW({name:c?.elementName||uW(n.target),transaction:u,attributes:{[bR]:`auto.http.browser.inp`,[yR]:`ui.interaction.${i}`,[ER]:n.duration},startTime:a});
28d&&(d.addEvent(`inp`,{[SR]:`millisecond`,[CR]:e.value}),d.end(a+t))};function uG(e){return e==null?void 0:iG.get(e)}function dG(){let e=Object.keys(sG);rH()&&e.forEach(e=>{$.addEventListener(e,t,{capture:!0,passive:!0})});function t(e){let t=e.target;if(!t)return;let n=uW(t),r=Math.round(e.timeStamp);if(aG.set(r,n),aG.size>50){let e=aG.keys().next().value;e!==void 0&&aG.delete(e)}}function n(e){let t=Math.round(e.startTime),n=aG.get(t);if(!n)for(let e=-5;e<=5;e++){let r=aG.get(t+e);if(r){n=r;break}}return n||`<unknown>`}let r=({entries:e})=>{let t=Fz(),r=t&&Nz(t);e.forEach(e=>{if(!oW(e))return;let t=e.interactionId;if(t==null||iG.has(t))return;let i=e.target?uW(e.target):n(e);if(rG.length>10){let e=rG.shift();iG.delete(e)}rG.push(t),iG.set(t,{span:r,elementName:i})})};XU(`event`,r),XU(`first-input`,r)}function fG(e){let{name:t,op:n,origin:r,metricName:i,value:a,attributes:o,parentSpan:s,reportEvent:c,startTime:l,endTime:u}=e,d=Z().getScopeData().transactionName,f={[bR]:r,[yR]:n,[ER]:0,[`browser.web_vital.${i}.value`]:a,[fV]:d,[dV]:d,"user_agent.original":$.navigator?.userAgent,...o};s&&yz(s).attributes?.[`sentry.op`]===`pageload`&&(f[`sentry.pageload.span_id`]=s.spanContext().spanId),c&&(f[`browser.web_vital.${i}.report_event`]=c);let p=NB({name:t,attributes:f,startTime:l,parentSpan:s});p&&p.end(u??l)}function pG(e){let t=0,n;if(!yW(`largest-contentful-paint`))return;let r=qU(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&CW(e.value)&&(t=e.value,n=r)},!0);bW(e,(e,i,a)=>{mG(t,n,a,e),r()})}function mG(e,t,n,r){if(!CW(e))return;JH&&X.log(`Sending LCP span (${e})`);let i=ML()||0,a=_W(i),o=_W(i+(t?.startTime||0)),s=t?uW(t.element):`Largest contentful paint`,c={};t?.element&&(c[`browser.web_vital.lcp.element`]=uW(t.element)),t?.id&&(c[`browser.web_vital.lcp.id`]=t.id),t?.url&&(c[`browser.web_vital.lcp.url`]=t.url),t?.loadTime!=null&&(c[`browser.web_vital.lcp.load_time`]=t.loadTime),t?.renderTime!=null&&(c[`browser.web_vital.lcp.render_time`]=t.renderTime),t?.size!=null&&(c[`browser.web_vital.lcp.size`]=t.size),fG({name:s,op:`ui.webvital.lcp`,origin:`auto.http.browser.lcp`,metricName:`lcp`,value:e,attributes:c,parentSpan:n,reportEvent:r,startTime:a,endTime:o})}function hG(e){let t=0,n;if(!yW(`layout-shift`))return;let r=KU(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);bW(e,(e,i,a)=>{gG(t,n,a,e),r()})}function gG(e,t,n,r){JH&&X.log(`Sending CLS span (${e})`);let i=t?_W((ML()||0)+t.startTime):kL(),a=t?uW(t.sources[0]?.node):`Layout shift`,o={};t?.sources&&t.sources.forEach((e,t)=>{o[`browser.web_vital.cls.source.${t+1}`]=uW(e.node)}),fG({name:a,op:`ui.webvital.cls`,origin:`auto.http.browser.cls`,metricName:`cls`,value:e,attributes:o,parentSpan:n,reportEvent:r,startTime:i})}function _G(){gW()&&ML()&&YU(({metric:e})=>{if(e.value==null||_W(e.value)>60)return;let t=e.entries.find(t=>t.duration===e.value&&sG[t.name]);t&&vG(e.value,t)})}function vG(e,t){JH&&X.log(`Sending INP span (${e})`);let n=_W(ML()+t.startTime),r=_W(e),i=sG[t.name],a=uG(t.interactionId),o=Fz(),s=o?Nz(o):void 0,c=a?.span||s,l=c?yz(c).name:Z().getScopeData().transactionName;fG({name:a?.elementName||uW(t.target),op:`ui.interaction.${i}`,origin:`auto.http.browser.inp`,metricName:`inp`,value:e,attributes:{[ER]:t.duration,[fV]:l,[dV]:l},startTime:n,endTime:n+r,parentSpan:c})}var yG;function bG(e){let t=`history`;mI(t,e),hI(t,xG)}function xG(){if($.addEventListener(`popstate`,()=>{let e=$.location.href,t=yG;yG=e,t!==e&&gI(`history`,{from:t,to:e})}),!EH())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=yG,i=SG(String(n));if(yG=i,r===i)return e.apply(this,t);gI(`history`,{from:r,to:i})}return e.apply(this,t)}}zI($.history,`pushState`,e),zI($.history,`replaceState`,e)}function SG(e){try{return new URL(e,$.location.origin).toString()}catch{return e}}var CG=`__sentry_xhr_v3__`;function wG(e){mI(`xhr`,e),hI(`xhr`,TG)}function TG(){if(!$.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=kL()*1e3,a=kI(n[0])?n[0].toUpperCase():void 0,o=EG(n[1]);if(!a||!o)return e.apply(t,n);t[CG]={method:a,url:o,request_headers:{}}
28,a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[CG];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}gI(`xhr`,{endTimestamp:kL()*1e3,startTimestamp:i,xhr:t,virtualError:r}),t.removeEventListener(`readystatechange`,s)}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[CG];return a&&kI(r)&&kI(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[CG];return r?(n[0]!==void 0&&(r.body=n[0]),gI(`xhr`,{startTimestamp:kL()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function EG(e){if(kI(e))return e;try{return e.toString()}catch{}}function DG(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return JH&&X.error(t,`Failed to get xhr response headers`,e),{}}return t?t.split(`\r
29`).reduce((e,t)=>{let[n,r]=t.split(`: `);return r&&(e[n.toLowerCase()]=r),e},{}):{}}function OG(e){try{return new URL(e,$.location.origin).toString()}catch{return e}}var kG=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__;function AG(e){return e.split(`,`).some(e=>e.trim().startsWith(`sentry-`))}function jG(e){try{return new URL(e,HH.location.origin).href}catch{return}}function MG(e){return e.entryType===`resource`&&`initiatorType`in e&&typeof e.nextHopProtocol==`string`&&(e.initiatorType===`fetch`||e.initiatorType===`xmlhttprequest`)}function NG(e){try{return new Headers(e)}catch{return}}var PG={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function FG(e,t){let{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:i,enableHTTPTimings:a,tracePropagationTargets:o,onRequestSpanStart:s,onRequestSpanEnd:c}
29={...PG,...t},l=typeof i==`function`?i:e=>!0,u=e=>RG(e,o),d={},f=e.getOptions().propagateTraceparent;n&&AH(t=>{let n=gH(t,l,u,d,{propagateTraceparent:f,onRequestSpanEnd:c});if(n){let r=jG(t.fetchData.url),i=r?lH(r).host:void 0,o=r?dH(r):void 0;n.setAttributes({[cV]:o,[pV]:o,"server.address":i}),a&&LG(n,e),s?.(n,{headers:t.headers})}}),r&&wG(t=>{let n=zG(t,l,u,d,f,c);n&&(a&&LG(n,e),s?.(n,{headers:NG(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}var IG=300;function LG(e,t){let{url:n}=Q(e).data;if(!n||typeof n!=`string`)return;let r=()=>void setTimeout(i);if(wB(t)){let t=e.end.bind(e);e.end=e=>{let n=e??kL(),a=!1,o=()=>{a||(a=!0,setTimeout(i),t(n),clearTimeout(s))};r=o;let s=setTimeout(o,IG)}}let i=XU(`resource`,({entries:t})=>{t.forEach(t=>{MG(t)&&t.name.endsWith(n)&&(e.setAttributes(DW(t)),r())})})}function RG(e,t){let n=BH();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}let a=r.origin===i;return t?mL(r.toString(),t)||a&&mL(r.pathname,t):a}{let n=!!e.match(/^\/(?!\/)/);return t?mL(e,t):n}}function zG(e,t,n,r,i,a){let o=e.xhr,s=o?.[CG];if(!o||o.__sentry_own_request__||!s)return;let{url:c,method:l}=s,u=zz()&&t(c);if(e.endTimestamp){let t=o.__sentry_xhr_span_id__;if(!t)return;let n=r[t];n&&(u&&s.status_code!==void 0&&(AR(n,s.status_code),n.end(),a?.(n,{headers:NG(DG(o)),error:e.error})),delete r[t]);return}let d=jG(c),f=lH(d||c),p=d?dH(d):void 0,m=dH(uH(c)),h=mR(),g=!!Fz(),_=g||!!h&&wB(h),v=u&&_?NB({name:`${l} ${m}`,attributes:{url:dH(c),type:`xhr`,"http.method":l,"http.url":p,[pV]:p,"server.address":f?.host,[bR]:`auto.http.browser`,[yR]:`http.client`,...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new Kz,y=GB(v)&&g?void 0:v;return u&&!_&&h?.recordDroppedEvent(`no_parent_span`,`span`),o.__sentry_xhr_span_id__=v.spanContext().spanId,r[o.__sentry_xhr_span_id__]=v,n(c)&&BG(o,zz()&&_?y:void 0,i),h&&h.emit(`beforeOutgoingRequestSpan`,v,e),v}function BG(e,t,n){let{"sentry-trace":r,baggage:i,traceparent:a}=fH({span:t,propagateTraceparent:n});r&&VG(e,r,i,a)}function VG(e,t,n,r){let i=e.__sentry_xhr_v3__?.request_headers;if(!i?.[`sentry-trace`]&&e.setRequestHeader)try{if(e.setRequestHeader(`sentry-trace`,t),r&&!i?.traceparent&&e.setRequestHeader(`traceparent`,r),n){let t=i?.baggage;(!t||!AG(t))&&e.setRequestHeader(`baggage`,n)}}catch{}}var HG=new WeakMap,UG=new WeakMap,WG=9e4,GG=[`text/event-stream`,`application/x-ndjson`,`application/stream+json`],KG=$V(()=>({name:`FetchStreamPerformance`,setup(){jH(e=>{if(e.response){let t=HG.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);let n=UG.get(e.response);n&&clearTimeout(n)}}}),AH(e=>{if(e.endTimestamp&&e.response){let t=e.response.headers?.get(`content-type`)||``;if(e.response.headers?.get(`content-length`)||!GG.some(e=>t.startsWith(e)))return;let n=e.fetchData?.url||``,r=e.fetchData?.method||`GET`,i=sH(n),a=NB({name:`${r} ${n.startsWith(`data:`)?dH(n):i?cH(i):n}`,startTime:e.endTimestamp,attributes:{url:dH(n),"http.method":r,type:`fetch`,[yR]:`http.client.stream`,[bR]:`auto.http.browser.stream`}});HG.set(e.response,a);let o=setTimeout(()=>{a.isRecording()&&a.end()},WG);UG.set(e.response,o)}})}})),qG=`WebVitals`,JG=$V((e={})=>{let t=new Set(e.ignore??[]);return{name:qG,setup(n){let r=wB(n),{enableStandaloneClsSpans:i,enableStandaloneLcpSpans:a}=e._experiments??{},o=r||t.has(`cls`)?void 0:i||!1,s=r||t.has(`lcp`)?void 0:a||!1,c=PW({recordClsStandaloneSpans:o,recordLcpStandaloneSpans:s,client:n}),l=new WeakSet;n.on(`afterStartPageLoadSpan`,e=>{l.add(e)}),n.on(`spanEnd`,e=>{l.delete(e)&&(c(),UW(e,{recordClsOnPageloadSpan:o===!1,recordLcpOnPageloadSpan:s===!1,spanStreamingEnabled:r}))}),r?(t.has(`lcp`)||pG(n),t.has(`cls`)||hG(n),t.has(`inp`)||_G()):t.has(`inp`)||oG()},afterAllSetup(){t.has(`inp`)||dG()}}});function YG(){HH.document?HH.document.addEventListener(`visibilitychange`,()=>{let e=Fz();if(!e)return;let t=Nz(e);if(HH.document.hidden&&t){let e=`cancelled`,{op:n,status:r}=Q(t);kG&&X.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:2,message:e}),t.setAttribute(`sentry.cancellation_reason`,`document.hidden`),t.end()}}):kG&&X.warn(`[Tracing] Could not set up background tab detection due to lack of global document`)}var XG=`sentry_previous_trace`,ZG=`sentry.previous_trace`;function QG(e,{linkPreviousTrace:t,consistentTraceSampling:n}){let r=t===`session-storage`,i=r?tK():void 0;e.on(`spanStart`,e=>{if(Nz(e)!==e)return;let t=Z().getPropagationContext();i=$G(i,e,t),r&&eK(i)});let a=!0;n&&e.on(`beforeSampling`,e=>{if(!i)return;let t=Z(),n=t.getPropagationContext();if(a&&n.parentSpanId){a=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(i.sampleRate),sampled:String(nK(i.spanContext))},sampleRand:i.sampleRand}),e.parentSampled=nK(i.spanContext),e.parentSampleRate=i.sampleRate,e.spanAttributes={...e.spanAttributes,[vR]:i.sampleRate}})}function $G(e,t,n){let r=Q(t);function i(){try{let e=Number(r.data?.[`sentry.sample_rate`]??n.dsc?.sample_rate);return Number.isNaN(e)?0:e}catch{return 0}}let a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:i(),sampleRand:n.sampleRand};if(!e)return a;let o=e.spanContext;return o.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(kG&&X.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:o,attributes:{[DR]:`previous_trace`}}),t.setAttribute(ZG,`${o.traceId}-${o.spanId}-${+!!nK(o)}`)),a)}function eK(e){try{HH.sessionStorage.setItem(XG,JSON.stringify(e))}catch(e){kG&&X.warn(`Could not store previous trace in sessionStorage`,e)}}function tK(){try{let e=HH.sessionStorage?.getItem(XG);return JSON.parse(e)}catch{return}}function nK(e){return e.traceFlags===1}var rK=`BrowserTracing`,iK=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function aK(){let e=HH.navigator;return e?.userAgent?iK.test(e.userAgent):!1}var oK={...KB,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
29dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:`in-memory`,consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...PG},sK=((e={})=>{`enableElementTiming`in e&&qF(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let t={name:void 0,source:void 0},n=HH.document,{enableInp:r,enableLongTask:i,enableLongAnimationFrame:a,_experiments:{enableInteractions:o,enableStandaloneClsSpans:s,enableStandaloneLcpSpans:c},beforeStartSpan:l,idleTimeout:u,finalTimeout:d,childSpanTimeout:f,markBackgroundSpan:p,traceFetch:m,traceXHR:h,trackFetchStreamPerformance:g,shouldCreateSpanForRequest:_,enableHTTPTimings:v,ignoreResourceSpans:y,ignorePerformanceApiSpans:b,instrumentPageLoad:x,instrumentNavigation:S,detectRedirects:C,linkPreviousTrace:w,consistentTraceSampling:ee,enableReportPageLoaded:te,onRequestSpanStart:T,onRequestSpanEnd:E}={...oK,...e},ne=aK(),re,ie;function ae(e,r,i=!0,a){let o=r.op===`pageload`,s=r.name,c=l?l(r):r,p=sH(a||BH()),m={...p?.pathname&&{"url.path":p.pathname},...p&&!oH(p)&&{"url.full":p.href},...c.attributes};if(s!==c.name&&(m[gR]=`custom`),c.attributes=m,!i){let e=EL();NB({...c,startTime:e}).end(e);return}t.name=c.name,t.source=m[gR];let h=ZB(c,{idleTimeout:u,finalTimeout:d,childSpanTimeout:f,disableAutoFinish:o,beforeSpanEnd:t=>{HW(t,{ignoreResourceSpans:y,ignorePerformanceApiSpans:b,spanStreamingEnabled:wB(e)}),hK(e,void 0);let n=Z(),r=n.getPropagationContext();n.setPropagationContext({...r,traceId:h.spanContext().traceId,sampled:wz(h),dsc:$z(t)}),o&&(ie=void 0)},trimIdleSpanEndTimestamp:!te});o&&te&&(ie=h),hK(e,h);function g(){n&&[`interactive`,`complete`].includes(n.readyState)&&(e.emit(`idleSpanEnableAutoFinish`,h),n.removeEventListener(`readystatechange`,g))}o&&!te&&n&&(n.addEventListener(`readystatechange`,g),g())}return{name:rK,setup(e){if(ne){kG&&X.log(`[Tracing] Skipping browserTracingIntegration setup for bot user agent.`);return}
29if(Rz(),a&&Y.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes(`long-animation-frame`)?IW():i&&FW(),o&&LW(),C&&n){let e=()=>{re=kL()};addEventListener(`click`,e,{capture:!0}),addEventListener(`keydown`,e,{capture:!0,passive:!0})}function t(){let t=mK(e);t&&!Q(t).timestamp&&(kG&&X.log(`[Tracing] Finishing current active span with op: ${Q(t).op}`),t.setAttribute(xR,`cancelled`),t.end())}e.on(`startNavigationSpan`,(n,r)=>{if(mR()!==e)return;if(r?.isRedirect){kG&&X.warn(`[Tracing] Detected redirect, navigation span will not be the root span, but a child span.`),ae(e,{op:`navigation.redirect`,...n},!1,r.url);return}re=void 0,t(),dR().setPropagationContext({traceId:RL(),sampleRand:Math.random(),propagationSpanId:zz()?void 0:zL()});let i=Z();i.setPropagationContext({traceId:RL(),sampleRand:Math.random(),propagationSpanId:zz()?void 0:zL()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),ae(e,{op:`navigation`,...n,parentSpan:null,forceTransaction:!0},!0,r?.url)}),e.on(`startPageLoadSpan`,(n,r={})=>{if(mR()!==e)return;t();let i=oz(r.sentryTrace||uK(`sentry-trace`)||dK(`sentry-trace`),r.baggage||uK(`baggage`)||dK(`baggage`)),a=Z();a.setPropagationContext(i),zz()||(a.getPropagationContext().propagationSpanId=zL()),a.setSDKProcessingMetadata({normalizedRequest:qH()}),ae(e,{op:`pageload`,...n})}),e.on(`endPageloadSpan`,()=>{te&&ie&&(ie.setAttribute(xR,`reportPageLoaded`),ie.end())})},afterAllSetup(e){if(ne)return;e.addIntegration&&!e.getIntegrationByName?.(`WebVitals`)&&e.addIntegration(JG({ignore:r?[]:[`inp`],_experiments:{enableStandaloneClsSpans:s,enableStandaloneLcpSpans:c}}));let n=BH();if(w!==`off`&&QG(e,{linkPreviousTrace:w,consistentTraceSampling:ee}),HH.location){if(x){let t=ML();cK(e,{name:HH.location.pathname,startTime:t?t/1e3:void 0,attributes:{[gR]:`url`,[bR]:`auto.pageload.browser`}})}S&&bG(({to:t,from:r})=>{if(r===void 0&&n?.indexOf(t)!==-1){n=void 0;return}n=void 0;let i=sH(t),a=mK(e),o=a&&C&&_K(a,re);lK(e,{name:i?.pathname||HH.location.pathname,attributes:{[gR]:`url`,[bR]:`auto.navigation.browser`}},{url:t,isRedirect:o})})}p&&YG(),o&&fK(e,u,d,f,t),FG(e,{traceFetch:m,traceXHR:h,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:_,enableHTTPTimings:v,onRequestSpanStart:T,onRequestSpanEnd:E}),g&&e.addIntegration(KG())}}});function cK(e,t,n){e.emit(`startPageLoadSpan`,t,n),Z().setTransactionName(t.name);let r=mK(e);return r&&e.emit(`afterStartPageLoadSpan`,r),r}function lK(e,t,n){let{url:r,isRedirect:i}=n||{};e.emit(`beforeStartNavigationSpan`,t,{isRedirect:i,url:r}),e.emit(`startNavigationSpan`,t,{isRedirect:i,url:r});let a=Z();return a.setTransactionName(t.name),r&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...qH(),url:r}}),mK(e)}function uK(e){return(HH.document?.querySelector(`meta[name=${e}]`))?.getAttribute(`content`)||void 0}function dK(e){return(HH.performance?.getEntriesByType?.(`navigation`)[0])?.serverTiming?.find(t=>t.name===e)?.description}function fK(e,t,n,r,i){let a=HH.document,o;a&&addEventListener(`click`,()=>{let a=`ui.action.click`,s=mK(e);if(s){let e=Q(s).op;if([`navigation`,`pageload`].includes(e)){kG&&X.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`);return}}if(o&&=(o.setAttribute(xR,`interactionInterrupted`),o.end(),void 0),!i.name){kG&&X.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}o=ZB({name:i.name,op:a,attributes:{[gR]:i.source||`url`}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})},{capture:!0})}var pK=`_sentry_idleSpan`;function mK(e){return e[pK]}function hK(e,t){BI(e,pK,t)}var gK=1.5;function _K(e,t){let n=Q(e),r=EL();return!(r-n.start_timestamp>gK||t&&r-t<=gK)}var vK=[`activate`,`mount`],yK=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,bK=/(?:^|[-_])(\w)/g,xK=e=>e.replace(bK,e=>e.toUpperCase()).replace(/[-_]/g,``),SK=`<Root>`,CK=`<Anonymous>`,wK=(e,t)=>e.repeat(t),TK=(e,t)=>{if(!e)return CK;if(e.$root===e)return SK;if(!e.$options)return CK;let n=e.$options,r=n.name||n._componentTag||n.__name,i=n.__file;if(!r&&i){let e=i.match(/([^/\\]+)\.vue$/);e&&(r=e[1])}return(r?`<${xK(r)}>`:CK)+(i&&t!==!1?` at ${i}`:``)},EK=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){let t=[],n=0;for(;e;){if(t.length>0){let r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return`
30
31found in
32
33${t.map((e,t)=>`${(t===0?`---> `:wK(` `,5+t*2))+(Array.isArray(e)?`${TK(e[0])}... (${e[1]} recursive calls)`:TK(e))}`).join(`
34`)}`}return`
35
36(found in ${TK(e)})`},DK=(e,t)=>{let{errorHandler:n}=e.config;e.config.errorHandler=(r,i,a)=>{let o={componentName:TK(i,!1),lifecycleHook:a,trace:i?EK(i):``};if(t?.attachProps!==!1&&i&&(i.$options?.propsData?o.propsData=i.$options.propsData:i.$props&&(o.propsData=i.$props)),setTimeout(()=>{BV(r,{captureContext:{contexts:{vue:o}},mechanism:{handled:!!n,type:`auto.function.vue.error_handler`}})}),typeof n==`function`&&e.config.errorHandler)n.call(e,r,i,a);else throw r}},OK=`ui.vue`,kK={activate:[`activated`,`deactivated`],create:[`beforeCreate`,`created`],unmount:[`beforeUnmount`,`unmounted`],destroy:[`beforeDestroy`,`destroyed`],mount:[`beforeMount`,`mounted`],update:[`beforeUpdate`,`updated`]};
36function AK(e,t,n){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{e.$root?.$_sentryRootComponentSpan&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},n)}function jK(e,t){function n(e){return e.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,`$1`)}return e.some(e=>n(t)===n(e))}var MK=(e={})=>{let t=hH((e.hooks||[]).concat(vK)),n={},r=e.timeout||2e3;for(let i of t){let t=kK[i];if(!t){yK&&X.warn(`Unknown hook: ${i}`);continue}for(let a of t)n[a]=function(){let n=this.$root===this;n&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||NB({name:`Application Render`,op:`${OK}.render`,attributes:{"sentry.origin":`auto.ui.vue`},onlyIfParent:!0}),AK(this,kL(),r));let o=TK(this,!1);if(!(n||(Array.isArray(e.trackComponents)?jK(e.trackComponents,o):e.trackComponents))){AK(this,kL(),r);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};let s=a===t[0],c=this.$root?.$_sentryRootComponentSpan||Fz();if(s){if(c){let e=this.$_sentryComponentSpans[i];e&&e.end(),this.$_sentryComponentSpans[i]=NB({name:`Vue ${o}`,op:`${OK}.${i}`,attributes:{[bR]:`auto.ui.vue`},onlyIfParent:!0})}}else{let e=this.$_sentryComponentSpans[i];if(!e)return;e.end(),AK(this,kL(),r)}}}return n},NK={Vue:Y.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:vK,timeout:2e3,trackComponents:!1}},PK=`Vue`,FK=$V((e={})=>({name:PK,setup(t){let n={...NK,...t.getOptions(),...e};if(!n.Vue&&!n.app){qF(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured. Update your `Sentry.init` call with an appropriate config option: `app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(e=>IK(e,n)):n.Vue&&IK(n.Vue,n)}})),IK=(e,t)=>{yK&&e._instance?.isMounted===!0&&qF(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),t.attachErrorHandler&&DK(e,t),zz(t)&&e.mixin(MK(t.tracingOptions))};function LK(e,t,n){let r=!1,i=`mode`in e;e.onError(e=>BV(e,{mechanism:{handled:!1}})),e.beforeEach((e,a,...o)=>{let s=r?void 0:RK(),c={};for(let t of Object.keys(e.params))c[`${mV}.${t}`]=e.params[t],c[`${uV}.${t}`]=e.params[t];for(let t of Object.keys(e.query)){let n=e.query[t];n&&(c[`query.${t}`]=n)}let l=e.path,u=`url`;if(e.name&&t.routeLabel!==`path`)l=e.name.toString(),u=`custom`;else if(e.matched.length>0){let t=e.matched.length-1;l=e.matched[t].path,u=`route`}if(u===`route`&&(c[hV]=l),e.name&&(c[lV]=e.name.toString()),Z().setTransactionName(l),t.instrumentPageLoad&&s&&(Q(s).data[`sentry.source`]!==`custom`&&(s.updateName(l),s.setAttribute(gR,u)),s.setAttributes({...c,[bR]:`auto.pageload.vue`}),r=!0),t.instrumentNavigation&&!s&&n({name:l,op:`navigation`,attributes:{...c,[bR]:`auto.navigation.vue`,[gR]:u}},OG(e.fullPath??e.path)),i){let e=o[0];typeof e==`function`&&e()}})}function RK(){let e=Fz(),t=e&&Nz(e);if(t)return Q(t).op===`pageload`?t:void 0}function zK(e={}){if(!e.router)return sK(e);let t=sK({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:i=!0,routeLabel:a=`name`}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),LK(n,{routeLabel:a,instrumentNavigation:r,instrumentPageLoad:i},(t,n)=>{lK(e,t,{url:n})})}}}function BK(e){let{error:t,instance:n,info:r}=e,i={info:r};if(n?.$props){let e=mR();(e?e.getOptions():null)?.attachProps&&n.$props!==!1&&(i.propsData=n.$props)}setTimeout(()=>{BV(t,{captureContext:{contexts:{nuxt:i}},mechanism:{handled:!1,type:`auto.function.nuxt.${n?`vue`:`app`}-error`}})})}var VK=[ia,ga,Po,Ls,Rs,zs,Bs,Vs,Hs,Us,Pu,Iu,qu,Ju,Uf,$f,vh,cy,dy,fy,_b,vb,zF,p({dependsOn:[`sentry-client-config`],async setup(e){if(typeof __SENTRY_TRACING__>`u`||__SENTRY_TRACING__){let t=mR();t&&`$router`in e&&t.addIntegration(zK({router:e.$router,routeLabel:`path`}))}e.hook(`app:created`,e=>{let t=mR();t&&t.addIntegration(FK({...Y._sentryNuxtVueIntegrationOptions,app:e,attachErrorHandler:!1}))}),e.hook(`app:error`,e=>{dt(e)&&e?.statusCode&&e.statusCode>=300&&e.statusCode<500||BK({error:e})}),e.hook(`vue:error`,(e,t,n)=>{BK({error:e,instance:t,info:n})})}}),p({name:`i18n:plugin:ssg-detect`,dependsOn:[`i18n:plugin`,`i18n:plugin:route-locale-detect`],enforce:`post`,setup(e){}})],HK=xe({name:`NuxtRouteAnnouncer`,props:{atomic:{type:Boolean,default:!1},politeness:{type:String,default:`polite`}},setup(e,{slots:t,expose:n}
36){let{set:r,polite:i,assertive:a,message:o,politeness:s}=Ts({politeness:e.politeness}),c=O(()=>{if(s.value===`assertive`)return`alert`;if(s.value!==`off`)return`status`});return n({set:r,polite:i,assertive:a,message:o,politeness:s}),()=>v(`span`,{class:`nuxt-route-announcer`,style:{position:`absolute`}},v(`span`,{role:c.value,"aria-live":s.value,"aria-atomic":e.atomic,style:{border:`0`,clip:`rect(0 0 0 0)`,"clip-path":`inset(50%)`,height:`1px`,width:`1px`,overflow:`hidden`,position:`absolute`,"white-space":`nowrap`,"word-wrap":`normal`,margin:`-1px`,padding:`0`}},t.default?t.default({message:o.value}):o.value))}}),UK=(e=`RouteProvider`)=>xe({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean,routeRecord:Object},setup(e){let t=e.renderKey,n=e.route,r={};for(let i in e.route)Object.defineProperty(r,i,{get:()=>t===e.renderKey?e.route[i]:n[i],enumerable:!0});return _e(ut,Ge(r)),()=>e.vnode?v(e.vnode,{ref:e.vnodeRef}):e.vnode}}),WK=UK(),GK=new WeakMap,KK=xe({name:`NuxtPage`,inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=s(),a=Le(),o=w(ut,null),c=new Set,l;r({pageRef:a});let u=w(gt,null),d,f=i.deferHydration(),p=!1,m=!1,h,g=0;if(i.isHydrating){let e=i.hooks.hookOnce(`app:error`,f),t=St().beforeEach(()=>{e(),t()})}e.pageKey&&C(()=>e.pageKey,(e,t)=>{e!==t&&i.callHook(`page:loading:start`)});let _=!1;{let e=St().beforeResolve(()=>{_=!1});be(()=>{e(),f()})}return()=>v(ti,{name:e.name,route:e.route,...t},{default:YK(t=>{let r=qK(o,t.route,t.Component),s=o&&o.matched.length===t.route.matched.length;if(!t.Component){if(d&&!s&&!ZK(d))return d;f();return}if(d&&u&&!ZK(d)&&!u.isCurrent(t.route))return d;if(r&&o&&(!u||u?.isCurrent(o)))return(s||d)&&!ZK(d)?d:null;let y=xa(t,e.pageKey),b=JK(o,t.route,t.Component);!i.isHydrating&&l===y&&!b&&Pe(()=>{_||(_=!0,i.callHook(`page:loading:end`))}),p&&l!==y&&m&&g++,l=y;let x=!!(e.transition??t.route.meta.pageTransition??!1),S=x&&On([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){i[`~transitionFinish`]?.(),delete i[`~transitionFinish`],delete i[`~transitionPromise`],i.callHook(`page:transition:finish`,t.Component)}}]),C=e.keepalive??t.route.meta.keepalive??!1,w=t.Component.type,ee=w.name||w.__name;t.route.meta.keepalive&&ee&&c.add(ee);let te;if(c.size>0&&e.keepalive==null&&(!C||typeof C==`object`&&C&&C.include)){let e=typeof C==`object`&&C?{...C}:{},t=e.include?Array.isArray(e.include)?e.include:[e.include]:[];te={...e,include:Array.from(new Set([...t,...c]))}}else te=C;return d=Cn(x&&S,Sa(te,v(Se,{key:g,suspensible:!0,onPending:()=>{p=!0,x&&!i[`~transitionPromise`]&&(i[`~transitionPromise`]=new Promise(e=>{i[`~transitionFinish`]=e})),h=i.callHook(`page:start`,t.Component)}
36,onResolve:async()=>{p=!1,m=!0,i.isHydrating&&i[`~restoreDeferredRoute`]?.();try{await Pe(),i._route.sync?.(),await h,await i.callHook(`page:finish`,t.Component),!_&&!b&&(_=!0,await i.callHook(`page:loading:end`))}finally{f()}}},{default:()=>{let e={key:y||void 0,vnode:n.default?XK(n.default,t):t.Component,route:t.route,renderKey:y||void 0,trackRootNodes:x,vnodeRef:a,routeRecord:void 0};if(!te)return v(WK,e);let r=w,i=GK.get(r);return i||(i=UK(ee),GK.set(r,i)),v(i,e)}}))).default(),d})})}});function qK(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);if(r===-1)return!1;let i=t.matched.slice(0,r).filter(e=>e.components?.default);if(!i.length)return!1;let a=e.matched.filter(e=>e.components?.default);return i.some((e,t)=>e.components?.default!==a[t]?.components?.default)||n&&xa({route:t,Component:n})!==xa({route:e,Component:n})}function JK(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function YK(e){let t=(t=>{let n=e(t);return Array.isArray(n)?n:n==null||!se(n)?[We()]:[n]});return t._n=!0,t}function XK(e,t){let n=e(t);return n.length===1?v(n[0]):v(De,void 0,n)}function ZK(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}var QK=xe({name:`LayoutLoader`,inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>v(Fu[e.name],e.layoutProps,t.slots)}}),$K=xe({name:`NuxtLayout`,inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){let n=s(),r=w(ut),i=!r||r===mt()?ln():r,a=O(()=>{let t=Ds(i,e.name);return t&&!(t in Fu)&&e.fallback&&(t=E(e.fallback)),t});_e(ht,a);let o=He();t.expose({layoutRef:o});let c=n.deferHydration();if(n.isHydrating){let e=n.hooks.hookOnce(`app:error`,c),t=St().beforeEach(()=>{e(),t()})}let l;return()=>{let r=!!a.value&&a.value in Fu&&!!(i?.meta.layoutTransition??!1),s=r&&On([i?.meta.layoutTransition,!1,{onBeforeLeave(){n[`~transitionPromise`]=new Promise(e=>{n[`~transitionFinish`]=e})},onAfterLeave(){n[`~transitionFinish`]?.(),delete n[`~transitionFinish`],delete n[`~transitionPromise`]}}]),u=l;return l=a.value,Cn(s,{default:()=>v(Se,{suspensible:!0,onResolve:async()=>{await Pe(c)}},{default:()=>v(eq,{layoutProps:me(t.attrs,i.meta.layoutProps??{},{ref:o}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,isRenderingNewLayout:e=>e!==u&&e===a.value,hasTransition:r},t.slots)})}).default()}}}),eq=xe({name:`NuxtLayoutProvider`,inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){let n=e.name;e.shouldProvide&&_e(gt,{isCurrent:e=>n===!1||n===Ds(e)});let r=w(ut),i=r&&r===mt(),a=w(gt,null);if(i){let t=ln(),n={};for(let i in t){let o=i;Object.defineProperty(n,o,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)&&(!a||a.isCurrent(t))?t[o]:r[o]})}_e(ut,Ge(n))}return()=>!n||typeof n==`string`&&!(n in Fu)?t.slots.default?.():v(QK,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),tq=es(HK),nq={};function rq(e,t){let n=tq,r=KK,i=$K;return we(),Ie(i,null,{default:ke(()=>[b(n),b(r)]),_:1})}var iq=qn(nq,[[`render`,rq]]),aq=Object.assign(xe({__name:`es-container`,props:{fluid:{type:Boolean,default:!1}},setup(e){let t=e;return(e,n)=>(we(),D(`div`,{class:ne(t.fluid?`container-fluid`:`container`)},[Ue(e.$slots,`default`)],2))}}),{__name:`EsContainer`}),oq=Object.assign(xe({__name:`es-col`,props:{cols:{},sm:{},md:{},lg:{},xl:{},xxl:{}},setup(e){let t=e,n=!(t.cols||t.sm||t.md||t.lg||t.xl||t.xxl);return(t,r)=>(we(),D(`div`,{class:ne({col:n,[`col-${e.cols}`]:e.cols,[`col-sm${e.sm?`-${e.sm}`:``}`]:e.sm!==void 0,[`col-md${e.md?`-${e.md}`:``}`]:e.md!==void 0,[`col-lg${e.lg?`-${e.lg}`:``}`]:e.lg!==void 0,[`col-xl${e.xl?`-${e.xl}`:``}`]:e.xl!==void 0,[`col-xxl${e.xxl?`-${e.xxl}`:``}`]:e.xxl!==void 0})},[Ue(t.$slots,`default`)],2))}}),{__name:`EsCol`}),sq={},cq={class:`row`};function lq(e,t){return we(),D(`div`,cq,[Ue(e.$slots,`default`)])}var uq=Object.assign(qn(sq,[[`render`,lq]]),{__name:`EsRow`}),dq={name:`IconContactUs`,props:{width:{type:String,default:`32px`,required:!1},height:{type:String,default:`32px`,required:!1}}};function fq(e,t,n,r,i,a){return we(),D(`svg`,{style:Ne({height:n.height,width:n.width}),viewBox:`0 0 32 32`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},[...t[0]||=[ce(`path`,{d:`M29.5901 7.05046C29.5004 7.00561 29.3995 6.99439 29.3042 7.01121C29.2874 7.01121 29.265 7 29.2481 7H2.61673C2.61673 7 2.57748 7.00561 2.55505 7.01121C2.45974 7 2.36443 7.00561 2.26912 7.05046C2.10092 7.12895 2 7.29715 2 7.48217V24.1562C2 24.4197 2.21305 24.6328 2.47656 24.6328H29.3883C29.5173 24.6328 29.635 24.5879 29.7247 24.4926C29.8144 24.4029 29.8649 24.2796 29.8649 24.1562V7.48217C29.8649 7.29715 29.7583 7.12895 29.5901 7.05046V7.05046ZM27.9138 7.95873L15.9324 
3617.7535L3.9511 7.95873H27.9138V7.95873ZM28.9117 23.6797H2.95312V8.48575L15.6297 18.8187C15.8035 18.9589 16.0558 18.9589 16.2296 18.8187L28.9117 8.48575V23.6797Z`},null,-1)]],4)}var pq=Object.assign(qn(dq,[[`render`,fq]]),{__name:`IconContactUs`}),mq={name:`IconCommunitySolar`,props:{width:{type:String,default:`32px`,required:!1},height:{type:String,default:`32px`,required:!1}}};function hq(e,t,n,r,i,a){return we(),D(`svg`,{style:Ne({height:n.height,width:n.width}),viewBox:`0 0 32 32`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},[...t[0]||=[ce(`path`,{d:`M31.99 6.07a.96.96 0 0 0-.154-.68.936.936 0 0 0-.788-.39H7.871c-.532 0-1.077.37-1.305.881L4.56 10.45 2.24 15.73.107 20.595c-.155.35-.142.713.04.99a.922.922 0 0 0 .787.403h5.228v4.265a.571.571 0 1 0 1.144 0v-4.265h13.018v4.265a.571.571 0 1 0 1.144 0v-4.265h3.673c.62 0 1.252-.471 1.48-1.09l1.723-4.736 1.917-5.282.592-1.621v16.994a.571.571 0 1 0 1.144 0V6.117s-.007-.034-.007-.047Zm-7.67 1.056-1.143 2.987h-4.925l1.594-3.97h4.851l-.377.983Zm-5.247 13.725h-5.127l1.73-4.313h5.045l-.787 2.06-.861 2.253ZM17.02 10.12h-4.912l1.669-3.97h4.837l-1.594 3.97Zm-5.396 1.144h4.938L14.901 15.4H9.89l1.736-4.137Zm9.533 4.137h-5.025l1.661-4.137h4.945l-.881 2.314-.7 1.823ZM7.615 6.346c.047-.108.202-.202.256-.202h4.662l-1.668 3.97H5.96l1.655-3.768Zm-2.16 4.91h4.932l-1.736 4.139H3.64l1.816-4.138Zm-2.32 5.282H8.16l-1.783 4.246-.027.06H1.244l1.89-4.312v.006Zm6.243.06.027-.06h5.039l-1.73 4.313h-5.12l1.784-4.245v-.007Zm16.174 3.91c-.068.195-.296.336-.404.336h-4.85l.786-2.059.861-2.253h5.053l-1.446 3.97v.006Zm1.863-5.113h-5.032l.881-2.315.7-1.823h4.952l-1.507 4.138h.006Zm1.918-5.282H24.4l.377-.982 
361.144-2.987h4.857l-1.446 3.97Z`},null,-1)]],4)}var gq=Object.assign(qn(mq,[[`render`,hq]]),{__name:`IconCommunitySolar`}),_q={name:`IconInfoBlogPost`,props:{width:{type:String,default:`32px`,required:!1},height:{type:String,default:`32px`,required:!1}}};function vq(e,t,n,r,i,a){return we(),D(`svg`,{style:Ne({height:n.height,width:n.width}),viewBox:`0 0 32 32`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},[...t[0]||=[ie(`<path d="M26.4643 5H5.54015C5.24351 5 5 5.24923 5 5.55283V24.0046C5 24.3082 5.24351 24.5575 5.54015 24.5575H19.3051L19.7213 26.4697C19.7523 26.6193 19.8718 26.7325 20.0179 26.7643C20.164 26.7914 20.3146 26.7325 20.3987 26.6057L21.2399 25.3505L22.5504 26.8775C22.6257 26.9636 22.7275 27.009 22.8338 27.009C22.9179 27.009 22.9976 26.9818 23.0684 26.9274L24.3701 25.8716C24.4498 25.8081 24.4985 25.713 24.5118 25.6088C24.5251 25.5045 24.4896 25.4003 24.4277 25.3233L23.8034 24.562H26.4599C26.7565 24.562 27 24.3128 27 24.0092V5.55283C27 5.24923 26.7565 5 26.4599 5H26.4643ZM26.2518 5.77034V8.27619H5.75267V5.77034H26.2518ZM18.7649 19.0564C18.6365 18.9703 18.4727 18.9748 18.3443 19.0609C18.2159 19.1515 18.1584 19.3101 18.1894 19.4597L18.4639 20.7103H8.31616V18.3449H23.2987V20.7103H21.231L18.7649 19.0564V19.0564ZM22.8869 26.0891L21.4923 24.4668C21.4214 24.3853 21.3152 24.3354 21.2089 24.3354C21.2 24.3354 21.1956 24.3354 21.1868 24.3354C21.0716 24.3445 20.9654 24.4034 20.899 24.5031L20.2703 25.4366L19.128 20.2209L23.4315 23.112L22.5238 23.3204C22.3955 23.3476 22.2936 23.4473 22.2493 23.5742C22.2051 23.701 22.2316 23.8415 22.3158 23.9457L23.5997 25.5091L22.8825 26.0936L22.8869 26.0891ZM23.9451 23.7826L24.4675 23.6648C24.6136 23.6331 24.7287 23.5107 24.7553 23.3567C24.7818 23.2026 24.7199 23.0485 24.5915 22.967L22.3777 21.4807H23.675C23.8831 21.4807 24.0513 21.3085 24.0513 21.0955V17.9598C24.0513 17.7468 23.8831 17.5746 23.675 17.5746H7.93983C7.73174 17.5746 7.56349 17.7468 7.56349 17.9598V21.0955C7.56349 21.3085 7.73174 21.4807 7.93983 21.4807H18.6321L19.1368 23.7871H5.75267V9.04653H26.2518V23.7871H23.9406L23.9451 23.7826Z"></path><path d="M9.75506 7.39704C9.96758 7.39704 10.1402 7.22032 10.1402 7.00281C10.1402 6.78531 9.96758 6.60858 9.75506 6.60858C9.54254 6.60858 9.36987 6.78531 9.36987 7.00281C9.36987 7.22032 9.54254 7.39704 9.75506 7.39704Z"></path><path d="M8.29403 7.39704C8.50655 7.39704 8.67922 7.22032 8.67922 7.00281C8.67922 6.78531 8.50655 6.60858 8.29403 6.60858C8.08151 6.60858 7.90884 6.78531 7.90884 7.00281C7.90884 7.22032 8.08151 7.39704 8.29403 7.39704Z"></path><path d="M6.83297 7.39704C7.04549 7.39704 7.21816 7.22032 7.21816 7.00281C7.21816 6.78531 7.04549 6.60858 6.83297 6.60858C6.62045 6.60858 6.44778 6.78531 6.44778 7.00281C6.44778 7.22032 6.62045 7.39704 6.83297 7.39704Z"></path><path d="M23.4757 11.4255H8.03722C7.82913 11.4255 7.66089 11.5977 7.66089 11.8107C7.66089 12.0237 7.82913 12.1959 8.03722 
3612.1959H23.4757C23.6838 12.1959 23.8521 12.0237 23.8521 11.8107C23.8521 11.5977 23.6838 11.4255 23.4757 11.4255Z"></path><path d="M23.4757 14.5023H8.03722C7.82913 14.5023 7.66089 14.6745 7.66089 14.8875C7.66089 15.1005 7.82913 15.2727 8.03722 15.2727H23.4757C23.6838 15.2727 23.8521 15.1005 23.8521 14.8875C23.8521 14.6745 23.6838 14.5023 23.4757 14.5023Z"></path>`,6)]],4)}var yq=Object.assign(qn(_q,[[`render`,vq]]),{__name:`IconInfoBlogPost`}),bq={name:`IconMarketplace`,props:{width:{type:String,default:`32px`,required:!1},height:{type:String,default:`32px`,required:!1}}};function xq(e,t,n,r,i,a){return we(),D(`svg`,{style:Ne({height:n.height,width:n.width}),viewBox:`0 0 32 32`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`},[...t[0]||=[ce(`path`,{d:`M26.6676 12.2197C26.5968 12.1356 26.4905 12.0825 26.3799 12.0825H22.3251C22.7191 11.3787 22.9272 10.5907 22.9272 9.7674C22.9272 7.13803 20.7891 5 18.1598 5C15.5304 5 13.3924 7.13803 13.3924 9.7674C13.3924 10.5907 13.6004 11.3787 13.9944 12.0825H10.2097L9.76257 10.4004C9.53682 9.53722 8.75775 8.93964 7.86358 8.93964H6.37626C6.16821 8.93964 6 9.10785 6 9.3159C6 9.52394 6.16821 9.69215 6.37626 9.69215H7.86358C8.41247 9.69215 8.89497 10.064 9.03219 10.5952L11.874 21.3384C12.0998 22.2016 12.8833 22.7992 13.773 22.7992H24.3525C24.5606 22.7992 24.7288 22.631 24.7288 22.4229C24.7288 22.2149 24.5606 22.0467 24.3525 22.0467H13.7775C13.2463 22.0467 12.7859 21.7014 12.6266 21.1968H16.1988H20.134H24.8394C25.0209 21.1968 25.1759 21.0684 25.2113 20.8869L26.7384 12.5252C26.7606 12.4145 26.7296 12.3038 26.6587 12.2153L26.6676 12.2197ZM25.561 14.8491H21.8781L22.334 12.835H25.9328L25.5654 14.8491H25.561ZM25.0475 17.66H21.2406L21.7054 15.6016H25.4237L25.0475 17.66V17.66ZM16.5042 20.4443L16.0483 18.4125H20.3022L19.8463 20.4443H16.5042ZM11.1392 15.6016H14.6406L15.1054 17.66H11.6837L11.1392 15.6016V15.6016ZM11.8829 18.4125H15.2736L15.7296 20.4443H12.4185L11.8829 18.4125V18.4125ZM15.8757 17.66L15.4109 15.6016H20.9352L20.4704 17.66H15.8757V17.66ZM14.7867 12.835H21.5549L21.099 14.8491H15.2382L14.7823 12.835H14.7867ZM14.1404 9.7674C14.1404 7.55412 15.9421 5.74809 18.1598 5.74809C20.3775 5.74809 22.1791 7.5497 22.1791 9.7674C22.1791 10.6085 21.9223 11.4052 21.4354 12.0825H14.8841C14.4016 11.4008 14.1449 10.6085 14.1449 9.7674H14.1404ZM14.0165 12.835L14.4724 14.8491H10.94L10.4089 12.835H14.0209H14.0165ZM24.5384 20.4443H20.6165L21.0724 18.4125H24.9103L24.5384 20.4443Z`},null,-1),ce(`path`,{d:`M15.2604 23.0073C14.1581 23.0073 13.264 23.9015 13.264 25.0037C13.264 26.1059 14.1581 27.0001 15.2604 27.0001C16.3626 27.0001 17.2567 26.1059 17.2567 25.0037C17.2567 23.9015 16.3626 23.0073 15.2604 23.0073ZM15.2604 26.2476C14.5742 26.2476 14.0165 25.6898 14.0165 25.0037C14.0165 24.3176 14.5742 23.7598 15.2604 23.7598C15.9465 23.7598 16.5042 24.3176 16.5042 25.0037C16.5042 25.6898 15.9465 26.2476 15.2604 26.2476Z`},null,-1),ce(`path`,{d:`M21.6214 23.0073C20.5192 23.0073 19.625 23.9015 19.625 25.0037C19.625 26.1059 20.5192 27.0001 21.6214 27.0001C22.7236 27.0001 23.6178 26.1059 23.6178 25.0037C23.6178 23.9015 22.7236 23.0073 21.6214 23.0073ZM21.6214 26.2476C20.9353 26.2476 20.3775 25.6898 20.3775 25.0037C20.3775 24.3176 20.9353 23.7598 21.6214 23.7598C22.3075 23.7598 22.8653 24.3176 22.8653 25.0037C22.8653 25.6898 22.3075 26.2476 21.6214 26.2476Z`},null,-1),ce(`path`,{d:`M20.3288 7.45682L17.4028 10.3828L16.2607 9.3204C16.1102 9.17875 15.8712 9.1876 15.7296 9.3381C15.6632 9.40893 15.6277 9.50189 15.6277 9.59484C15.6277 9.69665 15.6676 9.79847 15.7473 9.86929L17.1549 11.1796C17.2257 11.246 17.3187 11.2814 17.4117 11.2814C17.5046 11.2814 17.6064 11.246 17.6772 11.1707L20.8599 7.99243C20.9352 7.91718 20.9706 7.82422 20.9706 7.72684C20.9706 7.62945 20.9352 7.53649 20.8599 7.46124C20.7139 7.31517 20.4748 7.31517 20.3288 7.46124V7.45682Z`},null,-1)]],4)}var Sq=Object.assign(qn(bq,[[`render`,xq]]),{__name:`IconMarketplace`}),Cq={class:`bg-gray-50`},wq={class:`post1 text-gray-600`},Tq={id:`msgError`,class:`font-size-lg text-gray-600`},Eq=[`href`],Dq={class:`bg-white d-flex justify-content-center mb-50 rounded-circle`,"align-v":`center`},Oq={class:`m-100 text-orange`}
36,kq={class:`mb-200 mb-md-0`},Aq=Object.assign(xe({__name:`es-error-page`,props:{errorType:{type:String,required:!0},esDomain:{type:String,default:null}},setup(e){let t=e,n=O(()=>t.esDomain||`https://www.energysage.com`),r=O(()=>[{icon:pq,link:`mailto:[email protected]`,label:`Contact us`},{icon:gq,link:`${n.value}/solar/`,label:`Learn about solar`},{icon:yq,link:`${n.value}/blog/`,label:`EnergySage blog`},{icon:Sq,link:`${n.value}/shop/home-solar/`,label:`EnergySage marketplace`}]),i={403:{shortMessage:`Access denied`,longMessage:`Oops! If you're seeing this message, there's a good chance you have cookies or referrers turned off in your browser.`},404:{shortMessage:`Page not found`,longMessage:`Oops! We are terribly sorry, but there is nothing bright to see here.`},500:{shortMessage:`Internal server error`,longMessage:`Oops! We are terribly sorry, but our server is not so bright today. Please try again.`},503:{shortMessage:`Service unavailable`,longMessage:`The page you are requesting is temporarily unavailable.`},default:{longMessage:`Oops! Something went wrong!`}},a=i[t.errorType],o=a?.shortMessage||t.errorType,s=a?.longMessage||i.default?.longMessage;return(e,t)=>{let n=oq,i=uq,a=aq;return we(),D(`div`,Cq,[b(a,{class:`py-500 py-lg-800`},{default:ke(()=>[b(i,null,{default:ke(()=>[b(n,{md:`7`,class:`my-500 mx-auto text-center`},{default:ke(()=>[ce(`h1`,wq,Ee(E(o)),1),ce(`p`,Tq,Ee(E(s)),1)]),_:1})]),_:1}),b(i,null,{default:ke(()=>[(we(!0),D(De,null,ue(E(r),(e,t)=>(we(),Ie(n,{key:t,cols:`6`,md:`3`},{default:ke(()=>[ce(`a`,{class:`align-items-center d-flex flex-column justify-content-center text-center`,href:e.link},[ce(`div`,Dq,[ce(`div`,Oq,[(we(),Ie(Ve(e.icon),{height:`53px`,width:`53px`}))])]),ce(`p`,kq,Ee(e.label),1)],8,Eq)]),_:2},1024))),128))]),_:1})]),_:1})])}}}),{__name:`EsErrorPage`}),jq=xe({__name:`error`,props:{error:Object},setup(e){let t=e,r=O(()=>String(t.error?.statusCode)),i=n();return(e,t)=>{let n=Aq,a=$K;return we(),Ie(a,{name:`default`,class:`error-layout`},{default:ke(()=>[(we(),Ie(n,{key:1,"error-type":E(r),"es-domain":E(i).public.ES_DOMAIN},null,8,[`error-type`,`es-domain`]))]),_:1})}}}),Mq=()=>null,Nq={key:0},Pq={__name:`nuxt-root`,setup(e){let t=s(),n=t.deferHydration();if(t.isHydrating){let e=t.hooks.hookOnce(`app:error`,n),r=St().beforeEach(()=>{e(),r()})}window.location.pathname,_e(ut,mt()),t.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let r=wt();function i(e,n,r){let i=t.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(e,n,r)}catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}}return Me((e,n,r)=>{if(t.hooks.callHook(`vue:error`,e,n,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),Ze(navigator.userAgent))return Tt(t,e),!1;if(dt(e)&&(e.fatal||e.unhandled))return t.runWithContext(()=>xt(e)),i(e,n,r),!1}),(e,t)=>(we(),Ie(Se,{onResolve:E(n)},{default:ke(()=>[E(!1)?(we(),D(`div`,Nq)):E(r)?(we(),Ie(E(jq),{key:1,error:E(r)},null,8,[`error`])):E(!1)?(we(),Ie(E(Mq),{key:2,context:E(!1)},null,8,[`context`])):E(!1)?(we(),Ie(Ve(E(!1)),{key:3})):(we(),Ie(E(iq),{key:4}))]),_:1},8,[`onResolve`]))}},Fq;{let e;Fq=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?qe(Pq):Je(Pq),i=u({vueApp:n});async function a(e){await i.callHook(`app:error`,e),i.payload.error||=_t(e)}a.__nuxt_default=!0,n.config.errorHandler=a,i.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===a&&(n.config.errorHandler=void 0)}),!t&&r.id&&i.hook(`app:suspense:resolve`,()=>{document.getElementById(r.id)?.remove()});try{await m(i,VK)}catch(e){a(e)}try{await i.hooks.callHook(`app:created`,n),await i.hooks.callHook(`app:beforeMount`,n),n.mount(f),await i.hooks.callHook(`app:mounted`,n),await Pe()}catch(e){a(e)}return n},e=Fq().catch(e=>{throw o.NUXT_E1009({cause:e}),e})}export{Iz as $,Zx as $n,WF as $t,XV as A,zk as An,lo as Ar,GI as At,gB as B,AT as Bn,MI as Bt,dH as C,wA as Cn,Vf as Cr,mL as Ct,$V as D,Uk as Dn,js as Dr,YI as Dt,ZV as E,Hk as En,Is as Er,QI as Et,bV as F,nD as Fn,Ia as Fr,wI as Ft,fB as G,Bw as Gn,vI as Gt,lB as H,CT as Hn,kI as Ht,yV as I,_E as In,Fa as Ir,EI as It,eB as J,sw as Jn,gI as Jt,rB as K,Vw as Kn,mI as Kt,pV as L,rE as Ln,PI as Lt,KV as M,lk as Mn,Ea as Mr,HI as Mt,UV as N,BO as Nn,Ra as Nr,DI as Nt,YV as O,Vk as On,as as Or,JI as Ot,kV as P,BD as Pn,La as Pr,OI as Pt,Vz as Q,tC as Qn,oI as Qt,wB as R,oE as Rn,NI as Rt,lH as S,q as Sn,vy as Sr,fL as St,tH as T,K as Tn,rf as Tr,nL as Tt,tB as U,tT as Un,II as Ut,nB as V,OT as Vn,jI as Vt,iB as W,Xw as W
36n,xI as Wt,Jz as X,jC as Xn,dI as Xt,Qz as Y,cw as Yn,aI as Yt,Uz as Z,FC as Zn,uI as Zt,KH as _,LA as _n,Ib as _r,SL as _t,KK as a,Y as an,ex as ar,OR as at,AH as b,NA as bn,py as br,bL as bt,wG as c,tF as cn,fx as cr,yR as ct,AU as d,SN as dn,lx as dr,fR as dt,qF as en,Xx as er,Q as et,$ as f,bN as fn,B as fr,dR as ft,WH as g,MA as gn,Gb as gr,EL as gt,qH as h,AA as hn,z as hr,PL as ht,aq as i,BF as in,yx as ir,nz as it,VV as j,Bk as jn,Ta as jr,zI as jt,QV as k,Rk as kn,Qo as kr,BI as kt,bG as l,rF as ln,sx as lr,mR as lt,HH as m,vN as mn,qb as mr,LL as mt,uq as n,KF as nn,Dx as nr,rz as nt,kG as o,J as on,px as or,ER as ot,JH as p,_N as pn,Jb as pr,hR as pt,oB as q,mw as qn,hI as qt,oq as r,UF as rn,U as rr,XR as rt,CG as s,nF as sn,dx as sr,TR as st,gq as t,X as tn,Px as tr,xz as tt,uW as u,eF as un,H as ur,Z as ut,VH as v,jA as vn,R as vr,xL as vt,rH as w,TA as wn,Sf as wr,iL as wt,OH as x,DA as xn,my as xr,vL as xt,BH as y,PA as yn,nb as yr,CL as yt,_B as z,PT as zn,AI as zt};
37//# sourceMappingURL=BKj9tpq1.js.map

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