const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Dsz92FDr.js","./BzPY7lG0.js","./BoWSoj4c.js","./swiper-vue.DoL2oXZG.css","./DrYzxLmT.js","./CFRiTJO3.js","./aI4NvhkC.js","./D_hGXbOv.js","./DCyA4Sjg.js","./Icon.BtU7aTgM.css","./DQir6R2M.js","./BUO8qaBy.js","./LoadingIcon.NSOTXC7F.css","./DV5lwqkg.js","./kQlTxlXJ.js","./YXM2pwVB.js","./CFWqc7dp.js","./MMgNzlke.js","./BsUxGe8l.js","./6YPd8DGQ.js","./BtgdZhnv.js","./Dwxp35aF.js","./Dm8O0bLR.js","./D6-uZREs.js","./C_VZHTei.js","./CZ2Z81iJ.js","./BSJ09YHY.js","./RJAdg34f.js","./BZpzqsyy.js","./CHZseQkk.js","./HGLLIpkB.js","./4RmFyoJL.js","./CD-uQ0BS.js","./tCf5XJlr.js","./EditorModal.s9ZJbXu7.css","./Bd3li9Nf.js","./D1PxeBtx.js","./B5gSWGKU.js","./LEKzWO5M.js","./D4OfjQtU.js","./cropper.RlgYN37n.css","./oP2fzkqx.js","./TextInput.D19LQ5BW.css","./COeRlyFk.js","./DKdewi8N.js","./B3uelOco.js","./CvG_UoF8.js","./InfoPopover.DltkD-jt.css","./BAgPNF7n.js","./C5vImn2K.js","./Bq4-2NHv.js","./EditableImage.aASRvRCF.css","./settings.DV0qSjG3.css","./BDubXAqa.js","./CU_hQcBY.js","./DdnqEDKX.js","./Dut98giK.js","./BfXE3mAW.js","./BqObuSvr.js","./BYNZJ2BZ.js","./C8Tbi-H2.js","./D6YnlL9P.js","./TDa-AANr.js","./BdwziiV8.js","./r1GlgQwB.js","./Rihjp_IF.js","./comment-replies.DOssYKJF.css","./ByfZxU2r.js","./dklB8CLG.js","./ChF3rKDb.js","./BhsxZKls.js","./BwmT4Grj.js","./update.hM_fh5PK.css","./BVgzbIni.js","./woQn2ZWR.js","./NYIgxxDs.js","./B-fHDGFa.js","./CxpsvcM2.js","./CMbcPWqi.js","./BXALPqh_.js","./BTFdQ7bd.js","./DrGKr2KC.js","./DonationSummary.rXuC9223.css","./C7BerK5r.js","./bqcbekNM.js","./pR9PTi6U.js","./virtual_public.MijeiBtX.css","./Cfu1b8qy.js","./Bkix0rp2.js","./Dix3b8nq.js","./BmwgLZbF.js","./EditorTemplate.Khrq_MQf.css","./7utj_RKe.js","./CEvmN03D.js","./Button.C7IvVTB1.css","./BpZ9WpxB.js","./D0ou-7Ff.js","./index.WL1v-gZH.css","./jbrFQ8e4.js","./_slug_.BakE6uG6.css","./BwYvh35D.js","./login.kYH7hxSf.css","./DUrsQvkK.js","./DwMnG98f.js","./D6USvts-.js","./C1XwZ01m.js","./BVdMzeeL.js","./DNObS847.js","./BFNRpiFC.js","./x4xWRatG.js","./Bj4PWCzX.js","./profile.DdUCpeKX.css","./CyT9qBrt.js","./CCtt4QgT.js","./TextInput.BYXchifY.css","./E9-Dbudg.js","./BgSkyWithStripes.DeSSK2M7.css","./rare-gala.BNBx3L8Y.css","./CqnNWQPk.js","./rare-impact-selena.CO8NPw1G.css","./CgWXuQ7g.js","./rare-impact-test.CvWe747j.css","./1dmXlO91.js","./BMUW6q6N.js","./B_eha0q4.js","./signup.Bs_vx-dL.css","./p8VxnTAd.js","./BM4C5B6U.js","./9BMo71rk.js","./RwNkcUFq.js","./CHGGl67z.js","./CIBNDzmx.js","./Default.CJAYhoZ5.css","./PrB6jcnV.js","./DXR_38m_.js","./giveaways.Y15AfOlN.css","./wtZaSYMu.js","./impact-feed.DgnWgYBU.css","./CBwPT7Dh.js","./CupJXkoc.js","./index.BaQ8SxOC.css","./dfQTmSIz.js","./sweepstakes.yXO6s29K.css","./Buxatu2O.js","./index.B1MQrWCC.css","./DxtrqJdA.js","./D3QXjJaa.js","./CdP_lKCc.js","./UCJmXAgx.js","./IconCSS.CxHr0cUx.css","./BM1m3vIy.js","./EditorHeader.DqirOiVI.css","./BgYkgi4N.js","./EmailCaptureFooterLayout.p7b82mJw.css","./u5aXiH41.js","./BvW_r2yT.js","./5YGsJBCs.js","./WithHeader.4E5RgpZb.css","./DYyMq7HT.js","./UOFeaCFs.js","./CwZ1jXZJ.js","./error-404.D5NvMHr1.css","./BMSFzO21.js","./error-500.DLqlhDfE.css"])))=>i.map(i=>d[i]);
var Ff=e=>{throw TypeError(e)};var Bc=(e,t,n)=>t.has(e)||Ff("Cannot "+n);var I=(e,t,n)=>(Bc(e,t,"read from private field"),n?n.call(e):t.get(e)),Re=(e,t,n)=>t.has(e)?Ff("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ve=(e,t,n,o)=>(Bc(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n),vt=(e,t,n)=>(Bc(e,t,"access private method"),n);var Ss=(e,t,n,o)=>({set _(r){ve(e,t,r,n)},get _(){return I(e,t,o)}});import{e as ts,s as No,r as ln,g as rr,h as ec,a as Xt,i as gt,t as hp,n as Je,u as g,v as jw,b as xr,c as B,d as L,f as $,p as Wo,w as be,j as je,K as Hw,k as Er,l as Au,o as Or,m as S0,q as Ww,x as Xe,y as Ze,z as Pu,A as jf,B as mp,C as k0,D as tc,E as xt,F as hl,G as xn,H as gp,I as ho,J as Kn,L as ya,M as F,N as ae,O as ns,P as O,Q as nn,R as ir,S as En,T as nc,U as x0,V as Ko,W as Uw,X as Hf,Y as M,Z as Ji,_ as W,$ as De,a0 as E0,a1 as vp,a2 as T0,a3 as zr,a4 as C0,a5 as Nt,a6 as Ft,a7 as Vw,a8 as M0,a9 as Gw,aa as qw,ab as Kw,ac as Qi,ad as Rt,ae as A0,af as Yw,ag as Xw,ah as Zw,ai as Jw,aj as Wf,ak as Qw,al as e1}from"./BoWSoj4c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fd4a7aad-960b-458d-a0a6-1455fcb45ffc",e._sentryDebugIdIdentifier="sentry-dbid-fd4a7aad-960b-458d-a0a6-1455fcb45ffc")}catch{}})();const t1=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,n1=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,o1=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function r1(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){i1(e);return}return t}function i1(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function _a(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const o=n.toLowerCase();if(o==="true")return!0;if(o==="false")return!1;if(o==="undefined")return;if(o==="null")return null;if(o==="nan")return Number.NaN;if(o==="infinity")return Number.POSITIVE_INFINITY;if(o==="-infinity")return Number.NEGATIVE_INFINITY}if(!o1.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(t1.test(e)||n1.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,r1)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}const a1=/#/g,s1=/&/g,l1=/\//g,c1=/=/g,bp=/\+/g,u1=/%5e/gi,d1=/%60/gi,p1=/%7c/gi,f1=/%20/gi;function h1(e){return encodeURI(""+e).replace(p1,"|")}function Ou(e){return h1(typeof e=="string"?e:JSON.stringify(e)).replace(bp,"%2B").replace(f1,"+").replace(a1,"%23").replace(s1,"%26").replace(d1,"`").replace(u1,"^").replace(l1,"%2F")}function $c(e){return Ou(e).replace(c1,"%3D")}function ml(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function m1(e){return ml(e.replace(bp," "))}function g1(e){return ml(e.replace(bp," "))}function v1(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const r=m1(o[1]);if(r==="__proto__"||r==="constructor")continue;const i=g1(o[2]||"");t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function b1(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${$c(e)}=${Ou(n)}`).join("&"):`${$c(e)}=${Ou(t)}`:$c(e)}function y1(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>b1(t,e[t])).filter(Boolean).join("&")}const _1=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,w1=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,S1=/^([/\\]\s*){2,}[^/\\]/,k1=/^[\s\0]*(blob|data|javascript|vbscript):$/i,x1=/\/$|\/\?|\/#/,E1=/^\.?\//;function Rr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?_1.test(e):w1.test(e)||(t.acceptRelative?S1.test(e):!1)}function T1(e){return!!e&&k1.test(e)}function Ru(e="",t){return t?x1.test(e):e.endsWith("/")}function yp(e="",t){if(!t)return(Ru(e)?e.slice(0,-1):e)||"/";if(!Ru(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");r>=0&&(n=e.slice(0,r),o=e.slice(r));const[i,...a]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(a.length>0?`?${a.join("?")}`:"")+o}function Iu(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ru(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");if(r>=0&&(n=e.slice(0,r),o=e.slice(r),!n))return o;const[i,...a]=n.split("?");return i+"/"+(a.length>0?`?${a.join("?")}`:"")+o}function C1(e=""){return e.startsWith("/")}function Uf(e=""){return C1(e)?e:"/"+e}function M1(e,t){if(O0(t)||Rr(e))return e;const n=yp(t);return e.startsWith(n)?e:_p(n,e)}function Vf(e,t){if(O0(t))return e;const n=yp(t);if(!e.startsWith(n))return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function P0(e,t){const n=O1(e),o={...v1(n.search),...t};return n.search=y1(o),R1(n)}function O0(e){return!e||e==="/"}function A1(e){return e&&e!=="/"}function _p(e,...t){let n=e||"";for(const o of t.filter(r=>A1(r)))if(n){const r=o.replace(E1,"");n=Iu(n)+r}else n=o;return n}function R0(...e){var a,s,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),o=[];let r=0;for(const u of n)if(!(!u||u==="/")){for(const[d,p]of u.split(t).entries())if(!(!p||p===".")){if(p===".."){if(o.length===1&&Rr(o[0]))continue;o.pop(),r--;continue}if(d===1&&((a=o[o.length-1])!=null&&a.endsWith(":/"))){o[o.length-1]+="/"+p;continue}o.push(p),r++}}let i=o.join("/");return r>=0?(s=n[0])!=null&&s.startsWith("/")&&!i.startsWith("/")?i="/"+i:(l=n[0])!=null&&l.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*r)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function P1(e,t,n={}){return n.trailingSlash||(e=Iu(e),t=Iu(t)),n.leadingSlash||(e=Uf(e),t=Uf(t)),n.encoding||(e=ml(e),t=ml(t)),e===t}const I0=Symbol.for("ufo:protocolRelative");function O1(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,p=""]=n;return{protocol:d.toLowerCase(),pathname:p,href:d+p,auth:"",host:"",search:"",hash:""}}if(!Rr(e,{acceptRelative:!0}))return Gf(e);const[,o="",r,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,a="",s=""]=i.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=Gf(s);return{protocol:o.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:a,pathname:l,search:c,hash:u,[I0]:!o}}function Gf(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function R1(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",r=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[I0]?(e.protocol||"")+"//":"")+r+i+t+n+o}class L0 extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function I1(e){var l,c,u,d,p;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((d=e.options)==null?void 0:d.method)||"GET",o=((p=e.request)==null?void 0:p.url)||String(e.request)||"/",r=`[${n}] ${JSON.stringify(o)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",a=`${r}: ${i}${t?` ${t}`:""}`,s=new L0(a,e.error?{cause:e.error}:void 0);for(const f of["request","options","response"])Object.defineProperty(s,f,{get(){return e[f]}});for(const[f,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(s,f,{get(){return e.response&&e.response[h]}});return s}const L1=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function qf(e="GET"){return L1.has(e.toUpperCase())}function B1(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const $1=new Set(["image/svg","application/xml","application/xhtml","application/html"]),D1=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function z1(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return D1.test(t)?"json":$1.has(t)||t.startsWith("text/")?"text":"blob"}function N1(e,t,n=globalThis.Headers){const o={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(o.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(o.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){o.headers=new n((t==null?void 0:t.headers)||{});for(const[r,i]of new n((e==null?void 0:e.headers)||{}))o.headers.set(r,i)}return o}const F1=new Set([408,409,425,429,500,502,503,504]),j1=new Set([101,204,205,304]);function B0(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function r(s){const l=s.error&&s.error.name==="AbortError"&&!s.options.timeout||!1;if(s.options.retry!==!1&&!l){let u;typeof s.options.retry=="number"?u=s.options.retry:u=qf(s.options.method)?0:1;const d=s.response&&s.response.status||500;if(u>0&&(Array.isArray(s.options.retryStatusCodes)?s.options.retryStatusCodes.includes(d):F1.has(d))){const p=s.options.retryDelay||0;return p>0&&await new Promise(f=>setTimeout(f,p)),i(s.request,{...s.options,retry:u-1})}}const c=I1(s);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(l,c={}){var f;const u={request:l,options:N1(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(f=u.options.method)==null?void 0:f.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=M1(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=P0(u.request,{...u.options.params,...u.options.query}))),u.options.body&&qf(u.options.method)&&(B1(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let d;if(!u.options.signal&&u.options.timeout){const h=new o;d=setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await r(u)}finally{d&&clearTimeout(d)}if(u.response.body&&!j1.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||z1(u.response.headers.get("content-type")||"");switch(h){case"json":{const m=await u.response.text(),y=u.options.parseResponse||_a;u.response._data=y(m);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await r(u)):u.response},a=async function(l,c){return(await i(l,c))._data};return a.raw=i,a.native=(...s)=>t(...s),a.create=(s={})=>B0({...e,defaults:{...e.defaults,...s}}),a}const wp=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),H1=wp.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),W1=wp.Headers,U1=wp.AbortController,V1=B0({fetch:H1,Headers:W1,AbortController:U1}),G1=V1;var q1=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};q1.SENTRY_RELEASE={id:"4cc752da81f7d319b184b406697caf17ea702bbc"};const K1=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},gl=K1().app,Y1=()=>gl.baseURL,X1=()=>gl.buildAssetsDir,Sp=(...e)=>R0($0(),X1(),...e),$0=(...e)=>{const t=gl.cdnURL||gl.baseURL;return e.length?R0(t,...e):t};globalThis.__buildAssetsURL=Sp,globalThis.__publicAssetsURL=$0;globalThis.$fetch||(globalThis.$fetch=G1.create({baseURL:Y1()}));function Lu(e,t={},n){for(const o in e){const r=e[o],i=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?Lu(r,t,i):typeof r=="function"&&(t[i]=r)}return t}const Z1={run:e=>e()},J1=()=>Z1,D0=typeof console.createTask<"u"?console.createTask:J1;function Q1(e,t){const n=t.shift(),o=D0(n);return e.reduce((r,i)=>r.then(()=>o.run(()=>i(...t))),Promise.resolve())}function eS(e,t){const n=t.shift(),o=D0(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function Dc(e,t){for(const n of[...e])n(t)}class tS{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!o.allowDeprecated){let a=i.message;a||(a=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...i)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...i));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Lu(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=Lu(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Q1,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(eS,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&Dc(this._before,r);const i=t(n in this._hooks?[...this._hooks[n]]:[],o);return i instanceof Promise?i.finally(()=>{this._after&&r&&Dc(this._after,r)}):(this._after&&r&&Dc(this._after,r),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function z0(){return new tS}function nS(e={}){let t,n=!1;const o=a=>{if(t&&t!==a)throw new Error("Context conflict")};let r;if(e.asyncContext){const a=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?r=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(r&&t===void 0){const a=r.getStore();if(a!==void 0)return a}return t};return{use:()=>{const a=i();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>i(),set:(a,s)=>{s||o(a),t=a,n=!0},unset:()=>{t=void 0,n=!1},call:(a,s)=>{o(a),t=a;try{return r?r.run(a,s):s()}finally{n||(t=void 0)}},async callAsync(a,s){t=a;const l=()=>{t=a},c=()=>t===a?l:void 0;Bu.add(c);try{const u=r?r.run(a,s):s();return n||(t=void 0),await u}finally{Bu.delete(c)}}}}function oS(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=nS({...e,...o})),t[n],t[n]}}}const vl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Kf="__unctx__",rS=vl[Kf]||(vl[Kf]=oS()),iS=(e,t={})=>rS.get(e,t),Yf="__unctx_async_handlers__",Bu=vl[Yf]||(vl[Yf]=new Set);function pi(e){const t=[];for(const r of Bu){const i=r();i&&t.push(i)}const n=()=>{for(const r of t)r()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(r=>{throw n(),r})),[o,n]}const aS=!1,$u=!1,sS=!1,p$={componentName:"NuxtLink"},f$={value:null,errorValue:null,deep:!0},lS=null,h$={},cS="#__nuxt",N0="nuxt-app",Xf=36e5;function F0(e=N0){return iS(e,{asyncContext:!1})}const uS="__nuxt_plugin";function dS(e){let t=0;const n={_name:N0,_scope:ts(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.12.3"},get vue(){return n.vueApp.version}},payload:No({data:No({}),state:ln({}),once:new Set,_errors:No({})}),static:{data:{}},runWithContext(r){return n._scope.active&&!rr()?n._scope.run(()=>Zf(n,r)):Zf(n,r)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:No({}),_payloadRevivers:{},...e};if(window.__NUXT__)for(const r in window.__NUXT__)switch(r){case"data":case"state":case"_errors":Object.assign(n.payload[r],window.__NUXT__[r]);break;default:n.payload[r]=window.__NUXT__[r]}n.hooks=z0(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,i)=>{const a="$"+r;ks(n,a,i),ks(n.vueApp.config.globalProperties,a,i)},ks(n.vueApp,"$nuxt",n),ks(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||$e;const r=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",r)}const o=n.payload.config;return n.provide("config",o),n}function pS(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function fS(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function hS(e,t){const n=[],o=[],r=[],i=[];let a=0;async function s(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(d=>t.some(p=>p._name===d)&&!n.includes(d)))??[];if(c.length>0)o.push([new Set(c),l]);else{const d=fS(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(o.map(async([p,f])=>{p.has(l._name)&&(p.delete(l._name),p.size===0&&(a++,await s(f)))})))});l.parallel?r.push(d.catch(p=>i.push(p))):await d}}for(const l of t)pS(e,l);for(const l of t)await s(l);if(await Promise.all(r),a)for(let l=0;l<a;l++)await Promise.all(r);if(i.length)throw i[0]}function Qe(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[uS]:!0,_name:t})}function Zf(e,t,n){const o=()=>t();return F0(e._name).set(e),e.vueApp.runWithContext(o)}function mS(e){var n;let t;return ec()&&(t=(n=Xt())==null?void 0:n.appContext.app.$nuxt),t=t||F0(e).tryUse(),t||null}function $e(e){const t=mS(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function jt(e){return $e().$config}function ks(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function m$(e){return e}const xs=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function gS(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=(t||{}).decode||yS;let i=0;for(;i<e.length;){const a=e.indexOf("=",i);if(a===-1)break;let s=e.indexOf(";",i);if(s===-1)s=e.length;else if(s<a){i=e.lastIndexOf(";",a-1)+1;continue}const l=e.slice(i,a).trim();if(n[l]===void 0){let c=e.slice(a+1,s).trim();c.codePointAt(0)===34&&(c=c.slice(1,-1)),n[l]=bS(c,r)}i=s+1}return n}function Jf(e,t,n){const o=n||{},r=o.encode||_S;if(typeof r!="function")throw new TypeError("option encode is invalid");if(!xs.test(e))throw new TypeError("argument name is invalid");const i=r(t);if(i&&!xs.test(i))throw new TypeError("argument val is invalid");let a=e+"="+i;if(o.maxAge!==void 0&&o.maxAge!==null){const s=o.maxAge-0;if(Number.isNaN(s)||!Number.isFinite(s))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(s)}if(o.domain){if(!xs.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!xs.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){if(!vS(o.expires)||Number.isNaN(o.expires.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(a+="; HttpOnly"),o.secure&&(a+="; Secure"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():o.priority){case"low":{a+="; Priority=Low";break}case"medium":{a+="; Priority=Medium";break}case"high":{a+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite){case!0:{a+="; SameSite=Strict";break}case"lax":{a+="; SameSite=Lax";break}case"strict":{a+="; SameSite=Strict";break}case"none":{a+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return o.partitioned&&(a+="; Partitioned"),a}function vS(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function bS(e,t){try{return t(e)}catch{return e}}function yS(e){return e.includes("%")?decodeURIComponent(e):e}function _S(e){return encodeURIComponent(e)}const Qf=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function Du(e,t){t?t={...Qf,...t}:t=Qf;const n=j0(t);return n.dispatch(e),n.toString()}const wS=Object.freeze(["prototype","__proto__","constructor"]);function j0(e){let t="",n=new Map;const o=r=>{t+=r};return{toString(){return t},getContext(){return n},dispatch(r){return e.replacer&&(r=e.replacer(r)),this[r===null?"null":typeof r](r)},object(r){if(r&&typeof r.toJSON=="function")return this.object(r.toJSON());const i=Object.prototype.toString.call(r);let a="";const s=i.length;s<10?a="unknown:["+i+"]":a=i.slice(8,s-1),a=a.toLowerCase();let l=null;if((l=n.get(r))===void 0)n.set(r,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(r))return o("buffer:"),o(r.toString("utf8"));if(a!=="object"&&a!=="function"&&a!=="asyncfunction")this[a]?this[a](r):e.ignoreUnknown||this.unkown(r,a);else{let c=Object.keys(r);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!eh(r)&&(u=wS),e.excludeKeys&&(c=c.filter(p=>!e.excludeKeys(p)),u=u.filter(p=>!e.excludeKeys(p))),o("object:"+(c.length+u.length)+":");const d=p=>{this.dispatch(p),o(":"),e.excludeValues||this.dispatch(r[p]),o(",")};for(const p of c)d(p);for(const p of u)d(p)}},array(r,i){if(i=i===void 0?e.unorderedArrays!==!1:i,o("array:"+r.length+":"),!i||r.length<=1){for(const l of r)this.dispatch(l);return}const a=new Map,s=r.map(l=>{const c=j0(e);c.dispatch(l);for(const[u,d]of c.getContext())a.set(u,d);return c.toString()});return n=a,s.sort(),this.array(s,!1)},date(r){return o("date:"+r.toJSON())},symbol(r){return o("symbol:"+r.toString())},unkown(r,i){if(o(i),!!r&&(o(":"),r&&typeof r.entries=="function"))return this.array(Array.from(r.entries()),!0)},error(r){return o("error:"+r.toString())},boolean(r){return o("bool:"+r)},string(r){o("string:"+r.length+":"),o(r)},function(r){o("fn:"),eh(r)?this.dispatch("[native]"):this.dispatch(r.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(r.name)),e.respectFunctionProperties&&this.object(r)},number(r){return o("number:"+r)},xml(r){return o("xml:"+r.toString())},null(){return o("Null")},undefined(){return o("Undefined")},regexp(r){return o("regex:"+r.toString())},uint8array(r){return o("uint8array:"),this.dispatch(Array.prototype.slice.call(r))},uint8clampedarray(r){return o("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(r))},int8array(r){return o("int8array:"),this.dispatch(Array.prototype.slice.call(r))},uint16array(r){return o("uint16array:"),this.dispatch(Array.prototype.slice.call(r))},int16array(r){return o("int16array:"),this.dispatch(Array.prototype.slice.call(r))},uint32array(r){return o("uint32array:"),this.dispatch(Array.prototype.slice.call(r))},int32array(r){return o("int32array:"),this.dispatch(Array.prototype.slice.call(r))},float32array(r){return o("float32array:"),this.dispatch(Array.prototype.slice.call(r))},float64array(r){return o("float64array:"),this.dispatch(Array.prototype.slice.call(r))},arraybuffer(r){return o("arraybuffer:"),this.dispatch(new Uint8Array(r))},url(r){return o("url:"+r.toString())},map(r){o("map:");const i=[...r];return this.array(i,e.unorderedSets!==!1)},set(r){o("set:");const i=[...r];return this.array(i,e.unorderedSets!==!1)},file(r){return o("file:"),this.dispatch([r.name,r.size,r.type,r.lastModfied])},blob(){if(e.ignoreUnknown)return o("[blob]");throw new Error(`Hashing Blob objects is currently not supported
Use "options.replacer" or "options.ignoreUnknown"
`)},domwindow(){return o("domwindow")},bigint(r){return o("bigint:"+r.toString())},process(){return o("process")},timer(){return o("timer")},pipe(){return o("pipe")},tcp(){return o("tcp")},udp(){return o("udp")},tty(){return o("tty")},statwatcher(){return o("statwatcher")},securecontext(){return o("securecontext")},connection(){return o("connection")},zlib(){return o("zlib")},context(){return o("context")},nodescript(){return o("nodescript")},httpparser(){return o("httpparser")},dataview(){return o("dataview")},signal(){return o("signal")},fsevent(){return o("fsevent")},tlswrap(){return o("tlswrap")}}}const H0="[native code] }",SS=H0.length;function eh(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-SS)===H0}class Uo{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||kS).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const o=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=o<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Uo([...this.words])}}const kS={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const o=e.words[n>>>2]>>>24-n%4*8&255;t.push((o>>>4).toString(16),(o&15).toString(16))}return t.join("")}},xS={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let o=0;o<e.sigBytes;o+=3){const r=e.words[o>>>2]>>>24-o%4*8&255,i=e.words[o+1>>>2]>>>24-(o+1)%4*8&255,a=e.words[o+2>>>2]>>>24-(o+2)%4*8&255,s=r<<16|i<<8|a;for(let l=0;l<4&&o*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(s>>>6*(3-l)&63))}return n.join("")}},ES={parse(e){const t=e.length,n=[];for(let o=0;o<t;o++)n[o>>>2]|=(e.charCodeAt(o)&255)<<24-o%4*8;return new Uo(n,t)}},TS={parse(e){return ES.parse(unescape(encodeURIComponent(e)))}};class CS{constructor(){this._data=new Uo,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Uo,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=TS.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,o=this._data.sigBytes/(this.blockSize*4);t?o=Math.ceil(o):o=Math.max((o|0)-this._minBufferSize,0);const r=o*this.blockSize,i=Math.min(r*4,this._data.sigBytes);if(r){for(let a=0;a<r;a+=this.blockSize)this._doProcessBlock(this._data.words,a);n=this._data.words.splice(0,r),this._data.sigBytes-=i}return new Uo(n,i)}}class MS extends CS{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const th=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],AS=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],ar=[];class PS extends MS{constructor(){super(...arguments),this._hash=new Uo([...th])}reset(){super.reset(),this._hash=new Uo([...th])}_doProcessBlock(t,n){const o=this._hash.words;let r=o[0],i=o[1],a=o[2],s=o[3],l=o[4],c=o[5],u=o[6],d=o[7];for(let p=0;p<64;p++){if(p<16)ar[p]=t[n+p]|0;else{const v=ar[p-15],w=(v<<25|v>>>7)^(v<<14|v>>>18)^v>>>3,S=ar[p-2],x=(S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10;ar[p]=w+ar[p-7]+x+ar[p-16]}const f=l&c^~l&u,h=r&i^r&a^i&a,m=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),y=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),b=d+y+f+AS[p]+ar[p],_=m+h;d=u,u=c,c=l,l=s+b|0,s=a,a=i,i=r,r=b+_|0}o[0]=o[0]+r|0,o[1]=o[1]+i|0,o[2]=o[2]+a|0,o[3]=o[3]+s|0,o[4]=o[4]+l|0,o[5]=o[5]+c|0,o[6]=o[6]+u|0,o[7]=o[7]+d|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,o=this._data.sigBytes*8;return this._data.words[o>>>5]|=128<<24-o%32,this._data.words[(o+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(o+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function OS(e){return new PS().finalize(e).toString(xS)}function g$(e,t={}){const n=typeof e=="string"?e:Du(e,t);return OS(n).slice(0,10)}function RS(e,t,n={}){return e===t||Du(e,n)===Du(t,n)}function IS(e,t){return{ctx:{table:e},matchAll:n=>U0(n,e)}}function W0(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([o,r])=>[o,W0(r)])):new Map(Object.entries(e[n]));return t}function LS(e){return IS(W0(e))}function U0(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const o=[];for(const[i,a]of nh(t.wildcard))(e===i||e.startsWith(i+"/"))&&o.push(a);for(const[i,a]of nh(t.dynamic))if(e.startsWith(i+"/")){const s="/"+e.slice(i.length).split("/").splice(2).join("/");o.push(...U0(s,a))}const r=t.static.get(e);return r&&o.push(r),o.filter(Boolean)}function nh(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function zc(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function zu(e,t,n=".",o){if(!zc(t))return zu(e,{},n,o);const r=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const a=e[i];a!=null&&(o&&o(r,i,a,n)||(Array.isArray(a)&&Array.isArray(r[i])?r[i]=[...a,...r[i]]:zc(a)&&zc(r[i])?r[i]=zu(a,r[i],(n?`${n}.`:"")+i.toString(),o):r[i]=a))}return r}function V0(e){return(...t)=>t.reduce((n,o)=>zu(n,o,"",e),{})}const oc=V0(),v$=V0((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function BS(e,t){try{return t in e}catch{return!1}}var $S=Object.defineProperty,DS=(e,t,n)=>t in e?$S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pr=(e,t,n)=>(DS(e,typeof t!="symbol"?t+"":t,n),n);class Nu extends Error{constructor(t,n={}){super(t,n),pr(this,"statusCode",500),pr(this,"fatal",!1),pr(this,"unhandled",!1),pr(this,"statusMessage"),pr(this,"data"),pr(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:ju(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=G0(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}pr(Nu,"__h3_error__",!0);function Fu(e){if(typeof e=="string")return new Nu(e);if(zS(e))return e;const t=new Nu(e.message??e.statusMessage??"",{cause:e.cause||e});if(BS(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ju(e.statusCode,t.statusCode):e.status&&(t.statusCode=ju(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;G0(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function zS(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const NS=/[^\u0009\u0020-\u007E]/g;function G0(e=""){return e.replace(NS,"")}function ju(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const q0=Symbol("layout-meta"),os=Symbol("route"),Yt=()=>{var e;return(e=$e())==null?void 0:e.$router},kp=()=>ec()?gt(os,$e()._route):$e()._route;function b$(e){return e}const FS=()=>{try{if($e()._processingMiddleware)return!0}catch{return!1}return!1},y$=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?jS(e):Yt().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([d,p])=>p!==void 0).map(([d,p])=>`${d.toLowerCase()}=${p}`).join(", ");return open(n,l,u),Promise.resolve()}const o=Rr(n,{acceptRelative:!0}),r=(t==null?void 0:t.external)||o;if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&T1(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const i=FS();if(!r&&i)return e;const a=Yt(),s=$e();return r?(s._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,i?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?a.replace(e):a.push(e)};function jS(e){return P0(e.path||"",e.query||{})+(e.hash||"")}const K0="__nuxt_error",rc=()=>hp($e().payload,"error"),Vr=e=>{const t=ic(e);try{const n=$e(),o=rc();n.hooks.callHook("app:error",t),o.value=o.value||t}catch{throw t}return t},HS=async(e={})=>{const t=$e(),n=rc();t.callHook("app:error:cleared",e),e.redirect&&await Yt().replace(e.redirect),n.value=lS},WS=e=>!!e&&typeof e=="object"&&K0 in e,ic=e=>{const t=Fu(e);return Object.defineProperty(t,K0,{value:!0,configurable:!1,writable:!1}),t},US=-1,VS=-2,GS=-3,qS=-4,KS=-5,YS=-6;function XS(e,t){return ZS(JSON.parse(e),t)}function ZS(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);function r(i,a=!1){if(i===US)return;if(i===GS)return NaN;if(i===qS)return 1/0;if(i===KS)return-1/0;if(i===YS)return-0;if(a)throw new Error("Invalid input");if(i in o)return o[i];const s=n[i];if(!s||typeof s!="object")o[i]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const l=s[0],c=t==null?void 0:t[l];if(c)return o[i]=c(r(s[1]));switch(l){case"Date":o[i]=new Date(s[1]);break;case"Set":const u=new Set;o[i]=u;for(let f=1;f<s.length;f+=1)u.add(r(s[f]));break;case"Map":const d=new Map;o[i]=d;for(let f=1;f<s.length;f+=2)d.set(r(s[f]),r(s[f+1]));break;case"RegExp":o[i]=new RegExp(s[1],s[2]);break;case"Object":o[i]=Object(s[1]);break;case"BigInt":o[i]=BigInt(s[1]);break;case"null":const p=Object.create(null);o[i]=p;for(let f=1;f<s.length;f+=2)p[s[f]]=r(s[f+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(s.length);o[i]=l;for(let c=0;c<s.length;c+=1){const u=s[c];u!==VS&&(l[c]=r(u))}}else{const l={};o[i]=l;for(const c in s){const u=s[c];l[c]=r(u)}}return o[i]}return r(0)}function JS(e){return Array.isArray(e)?e:[e]}const QS=["title","titleTemplate","script","style","noscript"],Js=["base","meta","link","style","script","noscript"],ek=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],tk=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Y0=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],nk=typeof window<"u";function xp(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function oh(e){return e._h||xp(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function X0(e,t){const{props:n,tag:o}=e;if(tk.includes(o))return o;if(o==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const r=["id"];o==="meta"&&r.push("name","property","http-equiv");for(const i of r)if(typeof n[i]<"u"){const a=String(n[i]);return`${o}:${i}:${a}`}return!1}function rh(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function Z0(e,t){const n=[],o=t.resolveKeyData||(i=>i.key),r=t.resolveValueData||(i=>i.value);for(const[i,a]of Object.entries(e))n.push(...(Array.isArray(a)?a:[a]).map(s=>{const l={key:i,value:s},c=r(l);return typeof c=="object"?Z0(c,t):Array.isArray(c)?c:{[typeof t.key=="function"?t.key(l):t.key]:o(l),[typeof t.value=="function"?t.value(l):t.value]:c}}).flat());return n}function J0(e,t){return Object.entries(e).map(([n,o])=>{if(typeof o=="object"&&(o=J0(o,t)),t.resolve){const r=t.resolve({key:n,value:o});if(typeof r<"u")return r}return typeof o=="number"&&(o=o.toString()),typeof o=="string"&&t.wrapValue&&(o=o.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),o=`${t.wrapValue}${o}${t.wrapValue}`),`${n}${t.keyValueSeparator||""}${o}`}).join(t.entrySeparator||"")}const Et=e=>({keyValue:e,metaKey:"property"}),Nc=e=>({keyValue:e}),Ep={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return`${co(e)}=${t}`}}},articleExpirationTime:Et("article:expiration_time"),articleModifiedTime:Et("article:modified_time"),articlePublishedTime:Et("article:published_time"),bookReleaseDate:Et("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:e,value:t}){return`${co(e)} ${t}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:Et("fb:app_id"),msapplicationConfig:Nc("msapplication-Config"),msapplicationTileColor:Nc("msapplication-TileColor"),msapplicationTileImage:Nc("msapplication-TileImage"),ogAudioSecureUrl:Et("og:audio:secure_url"),ogAudioUrl:Et("og:audio"),ogImageSecureUrl:Et("og:image:secure_url"),ogImageUrl:Et("og:image"),ogSiteName:Et("og:site_name"),ogVideoSecureUrl:Et("og:video:secure_url"),ogVideoUrl:Et("og:video"),profileFirstName:Et("profile:first_name"),profileLastName:Et("profile:last_name"),profileUsername:Et("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:e,value:t}){if(e==="seconds")return`${t}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return typeof t=="boolean"?`${co(e)}`:`${co(e)}:${t}`}}},xUaCompatible:{metaKey:"http-equiv"}},Q0=["og","book","article","profile"];function ev(e){var n;const t=co(e).split(":")[0];return Q0.includes(t)?"property":((n=Ep[e])==null?void 0:n.metaKey)||"name"}function ok(e){var t;return((t=Ep[e])==null?void 0:t.keyValue)||co(e)}function co(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.split("-")[0];return Q0.includes(n)||n==="twitter"?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Hu(e){if(Array.isArray(e))return e.map(n=>Hu(n));if(typeof e!="object"||Array.isArray(e))return e;const t={};for(const[n,o]of Object.entries(e))t[co(n)]=Hu(o);return t}function rk(e,t){const n=Ep[t];return t==="refresh"?`${e.seconds};url=${e.url}`:J0(Hu(e),{keyValueSeparator:"=",entrySeparator:", ",resolve({value:o,key:r}){if(o===null)return"";if(typeof o=="boolean")return`${r}`},...n==null?void 0:n.unpack})}const tv=["og:image","og:video","og:audio","twitter:image"];function nv(e){const t={};return Object.entries(e).forEach(([n,o])=>{String(o)!=="false"&&n&&(t[n]=o)}),t}function ih(e,t){const n=nv(t),o=co(e),r=ev(o);if(tv.includes(o)){const i={};return Object.entries(n).forEach(([a,s])=>{i[`${e}${a==="url"?"":`${a.charAt(0).toUpperCase()}${a.slice(1)}`}`]=s}),ov(i).sort((a,s)=>{var l,c;return(((l=a[r])==null?void 0:l.length)||0)-(((c=s[r])==null?void 0:c.length)||0)})}return[{[r]:o,...n}]}function ov(e){const t=[],n={};Object.entries(e).forEach(([r,i])=>{if(!Array.isArray(i)){if(typeof i=="object"&&i){if(tv.includes(co(r))){t.push(...ih(r,i));return}n[r]=nv(i)}else n[r]=i;return}i.forEach(a=>{t.push(...typeof a=="string"?ov({[r]:a}):ih(r,a))})});const o=Z0(n,{key({key:r}){return ev(r)},value({key:r}){return r==="charset"?"charset":"content"},resolveKeyData({key:r}){return ok(r)},resolveValueData({value:r,key:i}){return r===null?"_null":typeof r=="object"?rk(r,i):typeof r=="number"?r.toString():r}});return[...t,...o].map(r=>(r.content==="_null"&&(r.content=null),r))}async function ik(e,t,n){const o={tag:e,props:await rv(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Y0.forEach(r=>{const i=typeof o.props[r]<"u"?o.props[r]:n[r];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(r)||QS.includes(o.tag))&&(o[r==="children"?"innerHTML":r]=i),delete o.props[r])}),o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(r=>({...o,props:{...o.props,content:r}})):o}function ak(e,t){var o;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,i])=>e==="style"?`${r}:${i}`:r)),(o=String(Array.isArray(t)?t.join(n):t))==null?void 0:o.split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function rv(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=ak(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Y0.includes(n)){const o=String(e[n]),r=n.startsWith("data-");o==="true"||o===""?e[n]=r?"true":!0:e[n]||(r&&o==="false"?e[n]="false":delete e[n])}}return e}const sk=10;async function lk(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,o])=>typeof o<"u"&&ek.includes(n)).forEach(([n,o])=>{const r=JS(o);t.push(...r.map(i=>ik(n,i,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,o)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<sk)+o,n))}const ah={base:-10,title:10},sh={critical:-80,high:-10,low:20};function bl(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in ah&&(t=ah[e.tag]),typeof n=="string"&&n in sh?t+sh[n]:t)}const ck=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],lh=["onload","onerror","onabort","onprogress","onloadstart"],xo="%separator";function Qs(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function o(a){let s;return["s","pageTitle"].includes(a)?s=t.pageTitle:a.includes(".")?s=a.split(".").reduce((l,c)=>l&&l[c]||void 0,t):s=t[a],typeof s<"u"?(s||"").replace(/"/g,'\\"'):!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(a=>{const s=o(a.slice(1));typeof s=="string"&&(e=e.replace(new RegExp(`\\${a}(\\W|$)`,"g"),(l,c)=>`${s}${c}`).trim())}),e.includes(xo)&&(e.endsWith(xo)&&(e=e.slice(0,-xo.length).trim()),e.startsWith(xo)&&(e=e.slice(xo.length).trim()),e=e.replace(new RegExp(`\\${xo}\\s*\\${xo}`,"g"),xo),e=Qs(e,{separator:n},n)),e}async function iv(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!o.shouldRender)return;const r=(await e.resolveTags()).map(d=>({tag:d,id:Js.includes(d.tag)?oh(d):d.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const d of["body","head"]){const p=(u=n[d])==null?void 0:u.children,f=[];for(const h of[...p].filter(m=>Js.includes(m.tagName.toLowerCase()))){const m={tag:h.tagName.toLowerCase(),props:await rv(h.getAttributeNames().reduce((_,v)=>({..._,[v]:h.getAttribute(v)}),{})),innerHTML:h.innerHTML};let y=1,b=X0(m);for(;b&&f.find(_=>_._d===b);)b=`${b}:${y++}`;m._d=b||void 0,f.push(m),i.elMap[h.getAttribute("data-hid")||oh(m)]=h}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function a(d,p,f){const h=`${d}:${p}`;i.sideEffects[h]=f,delete i.pendingSideEffects[h]}function s({id:d,$el:p,tag:f}){const h=f.tag.endsWith("Attrs");i.elMap[d]=p,h||(["textContent","innerHTML"].forEach(m=>{f[m]&&f[m]!==p[m]&&(p[m]=f[m])}),a(d,"el",()=>{var m;(m=i.elMap[d])==null||m.remove(),delete i.elMap[d]}));for(const[m,y]of Object.entries(f._eventHandlers||{}))p.getAttribute(`data-${m}`)!==""&&((f.tag==="bodyAttrs"?n.defaultView:p).addEventListener(m.replace("on",""),y.bind(p)),p.setAttribute(`data-${m}`,""));Object.entries(f.props).forEach(([m,y])=>{const b=`attr:${m}`;if(m==="class")for(const _ of(y||"").split(" ").filter(Boolean))h&&a(d,`${b}:${_}`,()=>p.classList.remove(_)),!p.classList.contains(_)&&p.classList.add(_);else if(m==="style")for(const _ of(y||"").split(";").filter(Boolean)){const[v,...w]=_.split(":").map(S=>S.trim());a(d,`${b}:${v}`,()=>{p.style.removeProperty(v)}),p.style.setProperty(v,w.join(":"))}else p.getAttribute(m)!==y&&p.setAttribute(m,y===!0?"":String(y)),h&&a(d,b,()=>p.removeAttribute(m))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of r){const{tag:p,shouldRender:f,id:h}=d;if(f){if(p.tag==="title"){n.title=p.textContent;continue}d.$el=d.$el||i.elMap[h],d.$el?s(d):Js.includes(p.tag)&&l.push(d)}}for(const d of l){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),s(d),c[p]=c[p]||n.createDocumentFragment(),c[p].appendChild(d.$el)}for(const d of r)await e.hooks.callHook("dom:renderTag",d,n,a);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(i.pendingSideEffects).forEach(d=>d()),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:r})}async function uk(e,t={}){const n=t.delayFn||(o=>setTimeout(o,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(o=>n(async()=>{await iv(e,t),delete e._domUpdatePromise,o()}))}function dk(e){return t=>{var o,r;const n=((r=(o=t.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(i){uk(i,e)}}}}}const pk=["templateParams","htmlAttrs","bodyAttrs"],fk={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(o=>{e.props[o]&&(e.key=e.props[o],delete e.props[o])});const n=X0(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(o=>{const r=(o.key?`${o.tag}:${o.key}`:o._d)||o._p,i=t[r];if(i){let s=o==null?void 0:o.tagDuplicateStrategy;if(!s&&pk.includes(o.tag)&&(s="merge"),s==="merge"){const l=i.props;["class","style"].forEach(c=>{l[c]&&(o.props[c]?(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),o.props[c]=`${l[c]} ${o.props[c]}`):o.props[c]=l[c])}),t[r].props={...l,...o.props};return}else if(o._e===i._e){i._duped=i._duped||[],o._d=`${i._d}:${i._duped.length+1}`,i._duped.push(o);return}else if(bl(o)>bl(i))return}const a=Object.keys(o.props).length+(o.innerHTML?1:0)+(o.textContent?1:0);if(Js.includes(o.tag)&&a===0){delete t[r];return}t[r]=o});const n=[];Object.values(t).forEach(o=>{const r=o._duped;delete o._duped,n.push(o),r&&n.push(...r)}),e.tags=n,e.tags=e.tags.filter(o=>!(o.tag==="meta"&&(o.props.name||o.props.property)&&!o.props.content))}}},hk={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},mk=["script","link","bodyAttrs"],gk=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(o=>mk.includes(o.tag)))Object.entries(n.props).forEach(([o,r])=>{o.startsWith("on")&&typeof r=="function"&&(e.ssr&&lh.includes(o)?n.props[o]=`this.dataset.${o}fired = true`:delete n.props[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=r)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||xp(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var o,r;for(const i of Object.keys((t==null?void 0:t.dataset)||{}).filter(a=>lh.some(s=>`${s}fired`===a))){const a=i.replace("fired","");(r=(o=n._eventHandlers)==null?void 0:o[a])==null||r.call(t,new Event(a.replace("on","")))}}}}),vk=["link","style","script","noscript"],bk={hooks:{"tag:normalise":({tag:e})=>{e.key&&vk.includes(e.tag)&&(e.props["data-hid"]=e._h=xp(e.key))}}},yk={hooks:{"tags:resolve":e=>{const t=n=>{var o;return(o=e.tags.find(r=>r._d===n))==null?void 0:o._p};for(const{prefix:n,offset:o}of ck)for(const r of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(r.tagPriority.replace(n,""));typeof i<"u"&&(r._p=i+o)}e.tags.sort((n,o)=>n._p-o._p).sort((n,o)=>bl(n)-bl(o))}}},_k={meta:"content",link:"href",htmlAttrs:"lang"},wk=e=>({hooks:{"tags:resolve":t=>{var s;const{tags:n}=t,o=(s=n.find(l=>l.tag==="title"))==null?void 0:s.textContent,r=n.findIndex(l=>l.tag==="templateParams"),i=r!==-1?n[r].props:{},a=i.separator||"|";delete i.separator,i.pageTitle=Qs(i.pageTitle||o||"",i,a);for(const l of n.filter(c=>c.processTemplateParams!==!1)){const c=_k[l.tag];c&&typeof l.props[c]=="string"?l.props[c]=Qs(l.props[c],i,a):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=Qs(l[u],i,a))})}e._templateParams=i,e._separator=a,t.tags=n.filter(l=>l.tag!=="templateParams")}}}),Sk={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(r=>r.tag==="titleTemplate");const o=t.findIndex(r=>r.tag==="title");if(o!==-1&&n!==-1){const r=rh(t[n].textContent,t[o].textContent);r!==null?t[o].textContent=r||t[o].textContent:delete t[o]}else if(n!==-1){const r=rh(t[n].textContent);r!==null&&(t[n].textContent=r,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},kk={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let av;function xk(e={}){const t=Ek(e);return t.use(dk()),av=t}function ch(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Ek(e={}){const t=z0();t.addHooks(e.hooks||{}),e.document=e.document||(nk?document:void 0);const n=!e.document,o=()=>{s.dirty=!0,t.callHook("entries:updated",s)};let r=0,i=[];const a=[],s={plugins:a,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(l){const c=typeof l=="function"?l(s):l;(!c.key||!a.some(u=>u.key===c.key))&&(a.push(c),ch(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:r++,input:l,...c};return ch(u.mode,n)&&(i.push(u),o()),{dispose(){i=i.filter(d=>d._i!==u._i),t.callHook("entries:updated",s),o()},patch(d){i=i.map(p=>(p._i===u._i&&(p.input=u.input=d),p)),o()}}},async resolveTags(){const l={tags:[],entries:[...i]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const d of await lk(c)){const p={tag:d,entry:c,resolvedOptions:s.resolvedOptions};await t.callHook("tag:normalise",p),l.tags.push(p.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[fk,hk,gk,bk,yk,wk,Sk,kk,...(e==null?void 0:e.plugins)||[]].forEach(l=>s.use(l)),s.hooks.callHook("init",s),s}function Tk(){return av}const Ck=jw.startsWith("3");function Mk(e){return typeof e=="function"?e():g(e)}function Wu(e,t=""){if(e instanceof Promise)return e;const n=Mk(e);return!e||!n?n:Array.isArray(n)?n.map(o=>Wu(o,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([o,r])=>o==="titleTemplate"||o.startsWith("on")?[o,g(r)]:[o,Wu(r,o)])):n}const Ak={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Wu(t.input)}}},sv="usehead";function Pk(e){return{install(n){Ck&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(sv,e))}}.install}function Ok(e={}){e.domDelayFn=e.domDelayFn||(n=>Je(()=>setTimeout(()=>n(),0)));const t=xk(e);return t.use(Ak),t.install=Pk(t),t}const Uu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vu="__unhead_injection_handler__";function Rk(e){Uu[Vu]=e}function _$(){if(Vu in Uu)return Uu[Vu]();const e=gt(sv);return e||Tk()}let el,tl;function Ik(){return el=$fetch(Sp(`builds/meta/${jt().app.buildId}.json`),{responseType:"json"}),el.then(e=>{tl=LS(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),el}function ac(){return el||Ik()}async function Tp(e){if(await ac(),!tl)return console.error("[nuxt] Error creating app manifest matcher.",tl),{};try{return oc({},...tl.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function uh(e,t={}){const n=await Bk(e,t),o=$e(),r=o._payloadCache=o._payloadCache||{};return n in r||(r[n]=cv(e).then(i=>i?lv(n).then(a=>a||(delete r[n],null)):(r[n]=null,null))),r[n]}const Lk="_payload.json";async function Bk(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Rr(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const o=jt(),r=t.hash||(t.fresh?Date.now():o.app.buildId),i=o.app.cdnURL,a=i&&await cv(e)?i:o.app.baseURL;return _p(a,n.pathname,Lk+(r?`?${r}`:""))}async function lv(e){const t=fetch(e).then(n=>n.text().then(uv));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function cv(e=kp().path){if(e=yp(e),(await ac()).prerendered.includes(e))return!0;const n=await Tp(e);return!!n.prerender&&!n.redirect}let Es=null;async function $k(){if(Es)return Es;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await uv(e.textContent||""),n=e.dataset.src?await lv(e.dataset.src):void 0;return Es={...t,...n,...window.__NUXT__},Es}async function uv(e){return await XS(e,$e()._payloadRevivers)}function Dk(e,t){$e()._payloadRevivers[e]=t}const Gu={NuxtError:e=>ic(e),EmptyShallowRef:e=>xr(e==="_"?void 0:e==="0n"?BigInt(0):_a(e)),EmptyRef:e=>B(e==="_"?void 0:e==="0n"?BigInt(0):_a(e)),ShallowRef:e=>xr(e),ShallowReactive:e=>No(e),Ref:e=>B(e),Reactive:e=>ln(e)};Gu.Island=({key:e,params:t,result:n})=>{const o=$e();return o.isHydrating||(o.payload.data[e]=o.payload.data[e]||$fetch(`/__nuxt_island/${e}.json`,{responseType:"json",...t?{params:t}:{}}).then(r=>(o.payload.data[e]=r,r))),{html:"",state:{},head:{link:[],style:[]},...n}};const zk=Qe({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const o in Gu)Dk(o,Gu[o]);Object.assign(e.payload,([t,n]=pi(()=>e.runWithContext($k)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Nk=[],Fk=Qe({name:"nuxt:head",enforce:"pre",setup(e){const t=Ok({plugins:Nk});Rk(()=>$e().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await iv(t)};t.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}});/*!
  * vue-router v4.4.0
  * (c) 2024 Eduardo San Martin Morote
  * @license MIT
  */const jr=typeof document<"u";function jk(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Le=Object.assign;function Fc(e,t){const n={};for(const o in t){const r=t[o];n[o]=wn(r)?r.map(e):e(r)}return n}const ea=()=>{},wn=Array.isArray,dv=/#/g,Hk=/&/g,Wk=/\//g,Uk=/=/g,Vk=/\?/g,pv=/\+/g,Gk=/%5B/g,qk=/%5D/g,fv=/%5E/g,Kk=/%60/g,hv=/%7B/g,Yk=/%7C/g,mv=/%7D/g,Xk=/%20/g;function Cp(e){return encodeURI(""+e).replace(Yk,"|").replace(Gk,"[").replace(qk,"]")}function Zk(e){return Cp(e).replace(hv,"{").replace(mv,"}").replace(fv,"^")}function qu(e){return Cp(e).replace(pv,"%2B").replace(Xk,"+").replace(dv,"%23").replace(Hk,"%26").replace(Kk,"`").replace(hv,"{").replace(mv,"}").replace(fv,"^")}function Jk(e){return qu(e).replace(Uk,"%3D")}function Qk(e){return Cp(e).replace(dv,"%23").replace(Vk,"%3F")}function e2(e){return e==null?"":Qk(e).replace(Wk,"%2F")}function wa(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const t2=/\/$/,n2=e=>e.replace(t2,"");function jc(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=a2(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:wa(a)}}function o2(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function dh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function r2(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&fi(t.matched[o],n.matched[r])&&gv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!i2(e[n],t[n]))return!1;return!0}function i2(e,t){return wn(e)?ph(e,t):wn(t)?ph(t,e):e===t}function ph(e,t){return wn(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function a2(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,a,s;for(a=0;a<o.length;a++)if(s=o[a],s!==".")if(s==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(a).join("/")}const dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Sa;(function(e){e.pop="pop",e.push="push"})(Sa||(Sa={}));var ta;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ta||(ta={}));function s2(e){if(!e)if(jr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),n2(e)}const l2=/^[^#]+#/;function c2(e,t){return e.replace(l2,"#")+t}function u2(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const sc=()=>({left:window.scrollX,top:window.scrollY});function d2(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=u2(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function fh(e,t){return(history.state?history.state.position-t:-1)+e}const Ku=new Map;function p2(e,t){Ku.set(e,t)}function f2(e){const t=Ku.get(e);return Ku.delete(e),t}let h2=()=>location.protocol+"//"+location.host;function vv(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let s=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),dh(l,"")}return dh(n,e)+o+r}function m2(e,t,n,o){let r=[],i=[],a=null;const s=({state:p})=>{const f=vv(e,location),h=n.value,m=t.value;let y=0;if(p){if(n.value=f,t.value=p,a&&a===h){a=null;return}y=m?p.position-m.position:0}else o(f);r.forEach(b=>{b(n.value,h,{delta:y,type:Sa.pop,direction:y?y>0?ta.forward:ta.back:ta.unknown})})};function l(){a=n.value}function c(p){r.push(p);const f=()=>{const h=r.indexOf(p);h>-1&&r.splice(h,1)};return i.push(f),f}function u(){const{history:p}=window;p.state&&p.replaceState(Le({},p.state,{scroll:sc()}),"")}function d(){for(const p of i)p();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function hh(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?sc():null}}function g2(e){const{history:t,location:n}=window,o={value:vv(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:h2()+e+l;try{t[u?"replaceState":"pushState"](c,"",p),r.value=c}catch(f){console.error(f),n[u?"replace":"assign"](p)}}function a(l,c){const u=Le({},t.state,hh(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});i(l,u,!0),o.value=l}function s(l,c){const u=Le({},r.value,t.state,{forward:l,scroll:sc()});i(u.current,u,!0);const d=Le({},hh(o.value,l,null),{position:u.position+1},c);i(l,d,!1),o.value=l}return{location:o,state:r,push:s,replace:a}}function bv(e){e=s2(e);const t=g2(e),n=m2(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=Le({location:"",base:e,go:o,createHref:c2.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function v2(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),bv(e)}function b2(e){return typeof e=="string"||e&&typeof e=="object"}function yv(e){return typeof e=="string"||typeof e=="symbol"}const _v=Symbol("");var mh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(mh||(mh={}));function hi(e,t){return Le(new Error,{type:e,[_v]:!0},t)}function Zn(e,t){return e instanceof Error&&_v in e&&(t==null||!!(e.type&t))}const gh="[^/]+?",y2={sensitive:!1,strict:!1,start:!0,end:!0},_2=/[.+*?^${}()[\]/\\]/g;function w2(e,t){const n=Le({},y2,t),o=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;d<c.length;d++){const p=c[d];let f=40+(n.sensitive?.25:0);if(p.type===0)d||(r+="/"),r+=p.value.replace(_2,"\\$&"),f+=40;else if(p.type===1){const{value:h,repeatable:m,optional:y,regexp:b}=p;i.push({name:h,repeatable:m,optional:y});const _=b||gh;if(_!==gh){f+=10;try{new RegExp(`(${_})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${h}" (${_}): `+w.message)}}let v=m?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;d||(v=y&&c.length<2?`(?:/${v})`:"/"+v),y&&(v+="?"),r+=v,f+=20,y&&(f+=-8),m&&(f+=-20),_===".*"&&(f+=-50)}u.push(f)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");function s(c){const u=c.match(a),d={};if(!u)return null;for(let p=1;p<u.length;p++){const f=u[p]||"",h=i[p-1];d[h.name]=f&&h.repeatable?f.split("/"):f}return d}function l(c){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const f of p)if(f.type===0)u+=f.value;else if(f.type===1){const{value:h,repeatable:m,optional:y}=f,b=h in c?c[h]:"";if(wn(b)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const _=wn(b)?b.join("/"):b;if(!_)if(y)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${h}"`);u+=_}}return u||"/"}return{re:a,score:o,keys:i,parse:s,stringify:l}}function S2(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;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 wv(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const i=S2(o[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-o.length)===1){if(vh(o))return 1;if(vh(r))return-1}return r.length-o.length}function vh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const k2={type:0,value:""},x2=/[a-zA-Z0-9_]/;function E2(e){if(!e)return[[]];if(e==="/")return[[k2]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${c}": ${f}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s=0,l,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;s<e.length;){if(l=e[s++],l==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),a()):l===":"?(d(),n=1):p();break;case 4:p(),n=o;break;case 1:l==="("?n=2:x2.test(l)?p():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),r}function T2(e,t,n){const o=w2(E2(e.path),n),r=Le(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function C2(e,t){const n=[],o=new Map;t=_h({strict:!1,end:!0,sensitive:!1},t);function r(d){return o.get(d)}function i(d,p,f){const h=!f,m=M2(d);m.aliasOf=f&&f.record;const y=_h(t,d),b=[m];if("alias"in d){const w=typeof d.alias=="string"?[d.alias]:d.alias;for(const S of w)b.push(Le({},m,{components:f?f.record.components:m.components,path:S,aliasOf:f?f.record:m}))}let _,v;for(const w of b){const{path:S}=w;if(p&&S[0]!=="/"){const x=p.record.path,k=x[x.length-1]==="/"?"":"/";w.path=p.record.path+(S&&k+S)}if(_=T2(w,p,y),f?f.alias.push(_):(v=v||_,v!==_&&v.alias.push(_),h&&d.name&&!yh(_)&&a(d.name)),Sv(_)&&l(_),m.children){const x=m.children;for(let k=0;k<x.length;k++)i(x[k],_,f&&f.children[k])}f=f||_}return v?()=>{a(v)}:ea}function a(d){if(yv(d)){const p=o.get(d);p&&(o.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&o.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function s(){return n}function l(d){const p=O2(d,n);n.splice(p,0,d),d.record.name&&!yh(d)&&o.set(d.record.name,d)}function c(d,p){let f,h={},m,y;if("name"in d&&d.name){if(f=o.get(d.name),!f)throw hi(1,{location:d});y=f.record.name,h=Le(bh(p.params,f.keys.filter(v=>!v.optional).concat(f.parent?f.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),d.params&&bh(d.params,f.keys.map(v=>v.name))),m=f.stringify(h)}else if(d.path!=null)m=d.path,f=n.find(v=>v.re.test(m)),f&&(h=f.parse(m),y=f.record.name);else{if(f=p.name?o.get(p.name):n.find(v=>v.re.test(p.path)),!f)throw hi(1,{location:d,currentLocation:p});y=f.record.name,h=Le({},p.params,d.params),m=f.stringify(h)}const b=[];let _=f;for(;_;)b.unshift(_.record),_=_.parent;return{name:y,path:m,params:h,matched:b,meta:P2(b)}}e.forEach(d=>i(d));function u(){n.length=0,o.clear()}return{addRoute:i,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:s,getRecordMatcher:r}}function bh(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function M2(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:A2(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function A2(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function yh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function P2(e){return e.reduce((t,n)=>Le(t,n.meta),{})}function _h(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function O2(e,t){let n=0,o=t.length;for(;n!==o;){const i=n+o>>1;wv(e,t[i])<0?o=i:n=i+1}const r=R2(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function R2(e){let t=e;for(;t=t.parent;)if(Sv(t)&&wv(e,t)===0)return t}function Sv({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function I2(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<o.length;++r){const i=o[r].replace(pv," "),a=i.indexOf("="),s=wa(a<0?i:i.slice(0,a)),l=a<0?null:wa(i.slice(a+1));if(s in t){let c=t[s];wn(c)||(c=t[s]=[c]),c.push(l)}else t[s]=l}return t}function wh(e){let t="";for(let n in e){const o=e[n];if(n=Jk(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(wn(o)?o.map(i=>i&&qu(i)):[o&&qu(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function L2(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=wn(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const B2=Symbol(""),Sh=Symbol(""),Mp=Symbol(""),Ap=Symbol(""),Yu=Symbol("");function Ni(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ao(e,t,n,o,r,i=a=>a()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const c=p=>{p===!1?l(hi(4,{from:n,to:t})):p instanceof Error?l(p):b2(p)?l(hi(2,{from:t,to:p})):(a&&o.enterCallbacks[r]===a&&typeof p=="function"&&a.push(p),s())},u=i(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>l(p))})}function Hc(e,t,n,o,r=i=>i()){const i=[];for(const a of e)for(const s in a.components){let l=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if($2(l)){const u=(l.__vccOpts||l)[t];u&&i.push(Ao(u,n,o,a,s,r))}else{let c=l();i.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${a.path}"`));const d=jk(u)?u.default:u;a.components[s]=d;const f=(d.__vccOpts||d)[t];return f&&Ao(f,n,o,a,s,r)()}))}}return i}function $2(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function kh(e){const t=gt(Mp),n=gt(Ap),o=$(()=>{const l=g(e.to);return t.resolve(l)}),r=$(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(fi.bind(null,u));if(p>-1)return p;const f=xh(l[c-2]);return c>1&&xh(u)===f&&d[d.length-1].path!==f?d.findIndex(fi.bind(null,l[c-2])):p}),i=$(()=>r.value>-1&&F2(n.params,o.value.params)),a=$(()=>r.value>-1&&r.value===n.matched.length-1&&gv(n.params,o.value.params));function s(l={}){return N2(l)?t[g(e.replace)?"replace":"push"](g(e.to)).catch(ea):Promise.resolve()}return{route:o,href:$(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const D2=L({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"}},useLink:kh,setup(e,{slots:t}){const n=ln(kh(e)),{options:o}=gt(Mp),r=$(()=>({[Eh(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Eh(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:je("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),z2=D2;function N2(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){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function F2(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!wn(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function xh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Eh=(e,t,n)=>e??t??n,j2=L({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=gt(Yu),r=$(()=>e.route||o.value),i=gt(Sh,0),a=$(()=>{let c=g(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=$(()=>r.value.matched[a.value]);Wo(Sh,$(()=>a.value+1)),Wo(B2,s),Wo(Yu,r);const l=B();return be(()=>[l.value,s.value,e.name],([c,u,d],[p,f,h])=>{u&&(u.instances[d]=c,f&&f!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=f.leaveGuards),u.updateGuards.size||(u.updateGuards=f.updateGuards))),c&&u&&(!f||!fi(u,f)||!p)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=s.value,p=d&&d.components[u];if(!p)return Th(n.default,{Component:p,route:c});const f=d.props[u],h=f?f===!0?c.params:typeof f=="function"?f(c):f:null,y=je(p,Le({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Th(n.default,{Component:y,route:c})||y}}});function Th(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const kv=j2;function H2(e){const t=C2(e.routes,e),n=e.parseQuery||I2,o=e.stringifyQuery||wh,r=e.history,i=Ni(),a=Ni(),s=Ni(),l=xr(dn);let c=dn;jr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Fc.bind(null,P=>""+P),d=Fc.bind(null,e2),p=Fc.bind(null,wa);function f(P,Z){let G,q;return yv(P)?(G=t.getRecordMatcher(P),q=Z):q=P,t.addRoute(q,G)}function h(P){const Z=t.getRecordMatcher(P);Z&&t.removeRoute(Z)}function m(){return t.getRoutes().map(P=>P.record)}function y(P){return!!t.getRecordMatcher(P)}function b(P,Z){if(Z=Le({},Z||l.value),typeof P=="string"){const me=jc(n,P,Z.path),qe=t.resolve({path:me.path},Z),ko=r.createHref(me.fullPath);return Le(me,qe,{params:p(qe.params),hash:wa(me.hash),redirectedFrom:void 0,href:ko})}let G;if(P.path!=null)G=Le({},P,{path:jc(n,P.path,Z.path).path});else{const me=Le({},P.params);for(const qe in me)me[qe]==null&&delete me[qe];G=Le({},P,{params:d(me)}),Z.params=d(Z.params)}const q=t.resolve(G,Z),we=P.hash||"";q.params=u(p(q.params));const Ie=o2(o,Le({},P,{hash:Zk(we),path:q.path})),de=r.createHref(Ie);return Le({fullPath:Ie,hash:we,query:o===wh?L2(P.query):P.query||{}},q,{redirectedFrom:void 0,href:de})}function _(P){return typeof P=="string"?jc(n,P,l.value.path):Le({},P)}function v(P,Z){if(c!==P)return hi(8,{from:Z,to:P})}function w(P){return k(P)}function S(P){return w(Le(_(P),{replace:!0}))}function x(P){const Z=P.matched[P.matched.length-1];if(Z&&Z.redirect){const{redirect:G}=Z;let q=typeof G=="function"?G(P):G;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=_(q):{path:q},q.params={}),Le({query:P.query,hash:P.hash,params:q.path!=null?{}:P.params},q)}}function k(P,Z){const G=c=b(P),q=l.value,we=P.state,Ie=P.force,de=P.replace===!0,me=x(G);if(me)return k(Le(_(me),{state:typeof me=="object"?Le({},we,me.state):we,force:Ie,replace:de}),Z||G);const qe=G;qe.redirectedFrom=Z;let ko;return!Ie&&r2(o,q,G)&&(ko=hi(16,{to:qe,from:q}),ke(q,q,!0,!1)),(ko?Promise.resolve(ko):N(qe,q)).catch(st=>Zn(st)?Zn(st,2)?st:re(st):j(st,qe,q)).then(st=>{if(st){if(Zn(st,2))return k(Le({replace:de},_(st.to),{state:typeof st.to=="object"?Le({},we,st.to.state):we,force:Ie}),Z||qe)}else st=ne(qe,q,!0,de,we);return K(qe,q,st),st})}function T(P,Z){const G=v(P,Z);return G?Promise.reject(G):Promise.resolve()}function R(P){const Z=Te.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(P):P()}function N(P,Z){let G;const[q,we,Ie]=W2(P,Z);G=Hc(q.reverse(),"beforeRouteLeave",P,Z);for(const me of q)me.leaveGuards.forEach(qe=>{G.push(Ao(qe,P,Z))});const de=T.bind(null,P,Z);return G.push(de),Ge(G).then(()=>{G=[];for(const me of i.list())G.push(Ao(me,P,Z));return G.push(de),Ge(G)}).then(()=>{G=Hc(we,"beforeRouteUpdate",P,Z);for(const me of we)me.updateGuards.forEach(qe=>{G.push(Ao(qe,P,Z))});return G.push(de),Ge(G)}).then(()=>{G=[];for(const me of Ie)if(me.beforeEnter)if(wn(me.beforeEnter))for(const qe of me.beforeEnter)G.push(Ao(qe,P,Z));else G.push(Ao(me.beforeEnter,P,Z));return G.push(de),Ge(G)}).then(()=>(P.matched.forEach(me=>me.enterCallbacks={}),G=Hc(Ie,"beforeRouteEnter",P,Z,R),G.push(de),Ge(G))).then(()=>{G=[];for(const me of a.list())G.push(Ao(me,P,Z));return G.push(de),Ge(G)}).catch(me=>Zn(me,8)?me:Promise.reject(me))}function K(P,Z,G){s.list().forEach(q=>R(()=>q(P,Z,G)))}function ne(P,Z,G,q,we){const Ie=v(P,Z);if(Ie)return Ie;const de=Z===dn,me=jr?history.state:{};G&&(q||de?r.replace(P.fullPath,Le({scroll:de&&me&&me.scroll},we)):r.push(P.fullPath,we)),l.value=P,ke(P,Z,G,de),re()}let _e;function U(){_e||(_e=r.listen((P,Z,G)=>{if(!Ve.listening)return;const q=b(P),we=x(q);if(we){k(Le(we,{replace:!0}),q).catch(ea);return}c=q;const Ie=l.value;jr&&p2(fh(Ie.fullPath,G.delta),sc()),N(q,Ie).catch(de=>Zn(de,12)?de:Zn(de,2)?(k(de.to,q).then(me=>{Zn(me,20)&&!G.delta&&G.type===Sa.pop&&r.go(-1,!1)}).catch(ea),Promise.reject()):(G.delta&&r.go(-G.delta,!1),j(de,q,Ie))).then(de=>{de=de||ne(q,Ie,!1),de&&(G.delta&&!Zn(de,8)?r.go(-G.delta,!1):G.type===Sa.pop&&Zn(de,20)&&r.go(-1,!1)),K(q,Ie,de)}).catch(ea)}))}let z=Ni(),A=Ni(),V;function j(P,Z,G){re(P);const q=A.list();return q.length?q.forEach(we=>we(P,Z,G)):console.error(P),Promise.reject(P)}function ee(){return V&&l.value!==dn?Promise.resolve():new Promise((P,Z)=>{z.add([P,Z])})}function re(P){return V||(V=!P,U(),z.list().forEach(([Z,G])=>P?G(P):Z()),z.reset()),P}function ke(P,Z,G,q){const{scrollBehavior:we}=e;if(!jr||!we)return Promise.resolve();const Ie=!G&&f2(fh(P.fullPath,0))||(q||!G)&&history.state&&history.state.scroll||null;return Je().then(()=>we(P,Z,Ie)).then(de=>de&&d2(de)).catch(de=>j(de,P,Z))}const he=P=>r.go(P);let Ee;const Te=new Set,Ve={currentRoute:l,listening:!0,addRoute:f,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:m,resolve:b,options:e,push:w,replace:S,go:he,back:()=>he(-1),forward:()=>he(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:A.add,isReady:ee,install(P){const Z=this;P.component("RouterLink",z2),P.component("RouterView",kv),P.config.globalProperties.$router=Z,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>g(l)}),jr&&!Ee&&l.value===dn&&(Ee=!0,w(r.location).catch(we=>{}));const G={};for(const we in dn)Object.defineProperty(G,we,{get:()=>l.value[we],enumerable:!0});P.provide(Mp,Z),P.provide(Ap,No(G)),P.provide(Yu,l);const q=P.unmount;Te.add(P),P.unmount=function(){Te.delete(P),Te.size<1&&(c=dn,_e&&_e(),_e=null,l.value=dn,Ee=!1,V=!1),q()}}};function Ge(P){return P.reduce((Z,G)=>Z.then(()=>R(G)),Promise.resolve())}return Ve}function W2(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const s=t.matched[a];s&&(e.matched.find(c=>fi(c,s))?o.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(c=>fi(c,l))||r.push(l))}return[n,o,r]}function U2(e){return gt(Ap)}const V2=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""}),Xu=(e,t)=>{const n=e.route.matched.find(r=>{var i;return((i=r.components)==null?void 0:i.default)===e.Component.type}),o=t??(n==null?void 0:n.meta.key)??(n&&V2(e.route,n));return typeof o=="function"?o(e.route):o},G2=(e,t)=>({default:()=>e?je(Hw,e===!0?{}:e,t):t});function Pp(e){return Array.isArray(e)?e:[e]}const q2="modulepreload",K2=function(e,t){return e[0]==="."?new URL(e,t).href:e},Ch={},Y2=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),s=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));r=Promise.all(n.map(l=>{if(l=K2(l,o),l in Ch)return;Ch[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!o)for(let f=i.length-1;f>=0;f--){const h=i[f];if(h.href===l&&(!c||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":q2,c||(p.as="script",p.crossOrigin=""),p.href=l,s&&p.setAttribute("nonce",s),document.head.appendChild(p),c)return new Promise((f,h)=>{p.addEventListener("load",f),p.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}return r.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},se=(...e)=>Y2(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Wc=null,Ts={layout:"staff-dashboard",middleware:["require-staff"]},X2={layout:"editor-header",middleware:["require-staff"]},Z2={middleware:["require-staff"]},J2={layout:"naked",middleware:"authenticated-donor"},Q2={layout:"email-capture-footer-layout"},ex={layout:"email-capture-footer-layout"},tx={layout:"email-capture-footer-layout"},nx={middleware:["require-staff"]},ox="$s";function lc(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,o]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(o!==void 0&&typeof o!="function")throw new Error("[nuxt] [useState] init must be a function: "+o);const r=ox+n,i=$e(),a=hp(i.payload.state,r);if(a.value===void 0&&o){const s=o();if(Er(s))return i.payload.state[r]=s,s;a.value=s}return a}var Me;(function(e){e.assertEqual=r=>r;function t(r){}e.assertIs=t;function n(r){throw new Error}e.assertNever=n,e.arrayToEnum=r=>{const i={};for(const a of r)i[a]=a;return i},e.getValidEnumValues=r=>{const i=e.objectKeys(r).filter(s=>typeof r[r[s]]!="number"),a={};for(const s of i)a[s]=r[s];return e.objectValues(a)},e.objectValues=r=>e.objectKeys(r).map(function(i){return r[i]}),e.objectKeys=typeof Object.keys=="function"?r=>Object.keys(r):r=>{const i=[];for(const a in r)Object.prototype.hasOwnProperty.call(r,a)&&i.push(a);return i},e.find=(r,i)=>{for(const a of r)if(i(a))return a},e.isInteger=typeof Number.isInteger=="function"?r=>Number.isInteger(r):r=>typeof r=="number"&&isFinite(r)&&Math.floor(r)===r;function o(r,i=" | "){return r.map(a=>typeof a=="string"?`'${a}'`:a).join(i)}e.joinValues=o,e.jsonStringifyReplacer=(r,i)=>typeof i=="bigint"?i.toString():i})(Me||(Me={}));var Zu;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(Zu||(Zu={}));const Q=Me.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Io=e=>{switch(typeof e){case"undefined":return Q.undefined;case"string":return Q.string;case"number":return isNaN(e)?Q.nan:Q.number;case"boolean":return Q.boolean;case"function":return Q.function;case"bigint":return Q.bigint;case"symbol":return Q.symbol;case"object":return Array.isArray(e)?Q.array:e===null?Q.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Q.promise:typeof Map<"u"&&e instanceof Map?Q.map:typeof Set<"u"&&e instanceof Set?Q.set:typeof Date<"u"&&e instanceof Date?Q.date:Q.object;default:return Q.unknown}},H=Me.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),rx=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class qt extends Error{constructor(t){super(),this.issues=[],this.addIssue=o=>{this.issues=[...this.issues,o]},this.addIssues=(o=[])=>{this.issues=[...this.issues,...o]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const n=t||function(i){return i.message},o={_errors:[]},r=i=>{for(const a of i.issues)if(a.code==="invalid_union")a.unionErrors.map(r);else if(a.code==="invalid_return_type")r(a.returnTypeError);else if(a.code==="invalid_arguments")r(a.argumentsError);else if(a.path.length===0)o._errors.push(n(a));else{let s=o,l=0;for(;l<a.path.length;){const c=a.path[l];l===a.path.length-1?(s[c]=s[c]||{_errors:[]},s[c]._errors.push(n(a))):s[c]=s[c]||{_errors:[]},s=s[c],l++}}};return r(this),o}static assert(t){if(!(t instanceof qt))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Me.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},o=[];for(const r of this.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):o.push(t(r));return{formErrors:o,fieldErrors:n}}get formErrors(){return this.flatten()}}qt.create=e=>new qt(e);const mi=(e,t)=>{let n;switch(e.code){case H.invalid_type:e.received===Q.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case H.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Me.jsonStringifyReplacer)}`;break;case H.unrecognized_keys:n=`Unrecognized key(s) in object: ${Me.joinValues(e.keys,", ")}`;break;case H.invalid_union:n="Invalid input";break;case H.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Me.joinValues(e.options)}`;break;case H.invalid_enum_value:n=`Invalid enum value. Expected ${Me.joinValues(e.options)}, received '${e.received}'`;break;case H.invalid_arguments:n="Invalid function arguments";break;case H.invalid_return_type:n="Invalid function return type";break;case H.invalid_date:n="Invalid date";break;case H.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Me.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case H.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case H.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case H.custom:n="Invalid input";break;case H.invalid_intersection_types:n="Intersection results could not be merged";break;case H.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case H.not_finite:n="Number must be finite";break;default:n=t.defaultError,Me.assertNever(e)}return{message:n}};let xv=mi;function ix(e){xv=e}function yl(){return xv}const _l=e=>{const{data:t,path:n,errorMaps:o,issueData:r}=e,i=[...n,...r.path||[]],a={...r,path:i};if(r.message!==void 0)return{...r,path:i,message:r.message};let s="";const l=o.filter(c=>!!c).slice().reverse();for(const c of l)s=c(a,{data:t,defaultError:s}).message;return{...r,path:i,message:s}},ax=[];function Y(e,t){const n=yl(),o=_l({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===mi?void 0:mi].filter(r=>!!r)});e.common.issues.push(o)}class kt{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const o=[];for(const r of n){if(r.status==="aborted")return ue;r.status==="dirty"&&t.dirty(),o.push(r.value)}return{status:t.value,value:o}}static async mergeObjectAsync(t,n){const o=[];for(const r of n){const i=await r.key,a=await r.value;o.push({key:i,value:a})}return kt.mergeObjectSync(t,o)}static mergeObjectSync(t,n){const o={};for(const r of n){const{key:i,value:a}=r;if(i.status==="aborted"||a.status==="aborted")return ue;i.status==="dirty"&&t.dirty(),a.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof a.value<"u"||r.alwaysSet)&&(o[i.value]=a.value)}return{status:t.value,value:o}}}const ue=Object.freeze({status:"aborted"}),Gr=e=>({status:"dirty",value:e}),It=e=>({status:"valid",value:e}),Ju=e=>e.status==="aborted",Qu=e=>e.status==="dirty",ka=e=>e.status==="valid",xa=e=>typeof Promise<"u"&&e instanceof Promise;function wl(e,t,n,o){if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function Ev(e,t,n,o,r){if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var oe;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(oe||(oe={}));var Gi,qi;class jn{constructor(t,n,o,r){this._cachedPath=[],this.parent=t,this.data=n,this._path=o,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Mh=(e,t)=>{if(ka(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new qt(e.common.issues);return this._error=n,this._error}}};function fe(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:o,description:r}=e;if(t&&(n||o))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:r}:{errorMap:(a,s)=>{var l,c;const{message:u}=e;return a.code==="invalid_enum_value"?{message:u??s.defaultError}:typeof s.data>"u"?{message:(l=u??o)!==null&&l!==void 0?l:s.defaultError}:a.code!=="invalid_type"?{message:s.defaultError}:{message:(c=u??n)!==null&&c!==void 0?c:s.defaultError}},description:r}}class ye{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Io(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Io(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new kt,ctx:{common:t.parent.common,data:t.data,parsedType:Io(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(xa(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const o=this.safeParse(t,n);if(o.success)return o.data;throw o.error}safeParse(t,n){var o;const r={common:{issues:[],async:(o=n==null?void 0:n.async)!==null&&o!==void 0?o:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Io(t)},i=this._parseSync({data:t,path:r.path,parent:r});return Mh(r,i)}async parseAsync(t,n){const o=await this.safeParseAsync(t,n);if(o.success)return o.data;throw o.error}async safeParseAsync(t,n){const o={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Io(t)},r=this._parse({data:t,path:o.path,parent:o}),i=await(xa(r)?r:Promise.resolve(r));return Mh(o,i)}refine(t,n){const o=r=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(r):n;return this._refinement((r,i)=>{const a=t(r),s=()=>i.addIssue({code:H.custom,...o(r)});return typeof Promise<"u"&&a instanceof Promise?a.then(l=>l?!0:(s(),!1)):a?!0:(s(),!1)})}refinement(t,n){return this._refinement((o,r)=>t(o)?!0:(r.addIssue(typeof n=="function"?n(o,r):n),!1))}_refinement(t){return new Sn({schema:this,typeName:ce.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return Dn.create(this,this._def)}nullable(){return Jo.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return _n.create(this,this._def)}promise(){return vi.create(this,this._def)}or(t){return Ma.create([this,t],this._def)}and(t){return Aa.create(this,t,this._def)}transform(t){return new Sn({...fe(this._def),schema:this,typeName:ce.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new La({...fe(this._def),innerType:this,defaultValue:n,typeName:ce.ZodDefault})}brand(){return new Op({typeName:ce.ZodBranded,type:this,...fe(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new Ba({...fe(this._def),innerType:this,catchValue:n,typeName:ce.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return rs.create(this,t)}readonly(){return $a.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const sx=/^c[^\s-]{8,}$/i,lx=/^[0-9a-z]+$/,cx=/^[0-9A-HJKMNP-TV-Z]{26}$/,ux=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,dx=/^[a-z0-9_-]{21}$/i,px=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,fx=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,hx="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Uc;const mx=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,gx=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,vx=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Tv="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",bx=new RegExp(`^${Tv}$`);function Cv(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function yx(e){return new RegExp(`^${Cv(e)}$`)}function Mv(e){let t=`${Tv}T${Cv(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function _x(e,t){return!!((t==="v4"||!t)&&mx.test(e)||(t==="v6"||!t)&&gx.test(e))}class gn extends ye{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Q.string){const i=this._getOrReturnCtx(t);return Y(i,{code:H.invalid_type,expected:Q.string,received:i.parsedType}),ue}const o=new kt;let r;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(r=this._getOrReturnCtx(t,r),Y(r,{code:H.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),o.dirty());else if(i.kind==="max")t.data.length>i.value&&(r=this._getOrReturnCtx(t,r),Y(r,{code:H.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),o.dirty());else if(i.kind==="length"){const a=t.data.length>i.value,s=t.data.length<i.value;(a||s)&&(r=this._getOrReturnCtx(t,r),a?Y(r,{code:H.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):s&&Y(r,{code:H.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),o.dirty())}else if(i.kind==="email")fx.test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{validation:"email",code:H.invalid_string,message:i.message}),o.dirty());else if(i.kind==="emoji")Uc||(Uc=new RegExp(hx,"u")),Uc.test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{validation:"emoji",code:H.invalid_string,message:i.message}),o.dirty());else if(i.kind==="uuid")ux.test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{validation:"uuid",code:H.invalid_string,message:i.message}),o.dirty());else if(i.kind==="nanoid")dx.test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{validation:"nanoid",code:H.invalid_string,message:i.message}),o.dirty());else if(i.kind==="cuid")sx.test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{validation:"cuid",code:H.invalid_string,message:i.message}),o.dirty());else if(i.kind==="cuid2")lx.test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{validation:"cuid2",code:H.invalid_string,message:i.message}),o.dirty());else if(i.kind==="ulid")cx.test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{validation:"ulid",code:H.invalid_string,message:i.message}),o.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{r=this._getOrReturnCtx(t,r),Y(r,{validation:"url",code:H.invalid_string,message:i.message}),o.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{validation:"regex",code:H.invalid_string,message:i.message}),o.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(r=this._getOrReturnCtx(t,r),Y(r,{code:H.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),o.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(r=this._getOrReturnCtx(t,r),Y(r,{code:H.invalid_string,validation:{startsWith:i.value},message:i.message}),o.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(r=this._getOrReturnCtx(t,r),Y(r,{code:H.invalid_string,validation:{endsWith:i.value},message:i.message}),o.dirty()):i.kind==="datetime"?Mv(i).test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{code:H.invalid_string,validation:"datetime",message:i.message}),o.dirty()):i.kind==="date"?bx.test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{code:H.invalid_string,validation:"date",message:i.message}),o.dirty()):i.kind==="time"?yx(i).test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{code:H.invalid_string,validation:"time",message:i.message}),o.dirty()):i.kind==="duration"?px.test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{validation:"duration",code:H.invalid_string,message:i.message}),o.dirty()):i.kind==="ip"?_x(t.data,i.version)||(r=this._getOrReturnCtx(t,r),Y(r,{validation:"ip",code:H.invalid_string,message:i.message}),o.dirty()):i.kind==="base64"?vx.test(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{validation:"base64",code:H.invalid_string,message:i.message}),o.dirty()):Me.assertNever(i);return{status:o.value,value:t.data}}_regex(t,n,o){return this.refinement(r=>t.test(r),{validation:n,code:H.invalid_string,...oe.errToObj(o)})}_addCheck(t){return new gn({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...oe.errToObj(t)})}url(t){return this._addCheck({kind:"url",...oe.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...oe.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...oe.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...oe.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...oe.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...oe.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...oe.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...oe.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...oe.errToObj(t)})}datetime(t){var n,o;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,local:(o=t==null?void 0:t.local)!==null&&o!==void 0?o:!1,...oe.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...oe.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...oe.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...oe.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...oe.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...oe.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...oe.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...oe.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...oe.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...oe.errToObj(n)})}nonempty(t){return this.min(1,oe.errToObj(t))}trim(){return new gn({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new gn({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new gn({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}gn.create=e=>{var t;return new gn({checks:[],typeName:ce.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...fe(e)})};function wx(e,t){const n=(e.toString().split(".")[1]||"").length,o=(t.toString().split(".")[1]||"").length,r=n>o?n:o,i=parseInt(e.toFixed(r).replace(".","")),a=parseInt(t.toFixed(r).replace(".",""));return i%a/Math.pow(10,r)}class Yo extends ye{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Q.number){const i=this._getOrReturnCtx(t);return Y(i,{code:H.invalid_type,expected:Q.number,received:i.parsedType}),ue}let o;const r=new kt;for(const i of this._def.checks)i.kind==="int"?Me.isInteger(t.data)||(o=this._getOrReturnCtx(t,o),Y(o,{code:H.invalid_type,expected:"integer",received:"float",message:i.message}),r.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(o=this._getOrReturnCtx(t,o),Y(o,{code:H.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(o=this._getOrReturnCtx(t,o),Y(o,{code:H.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="multipleOf"?wx(t.data,i.value)!==0&&(o=this._getOrReturnCtx(t,o),Y(o,{code:H.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(o=this._getOrReturnCtx(t,o),Y(o,{code:H.not_finite,message:i.message}),r.dirty()):Me.assertNever(i);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,oe.toString(n))}gt(t,n){return this.setLimit("min",t,!1,oe.toString(n))}lte(t,n){return this.setLimit("max",t,!0,oe.toString(n))}lt(t,n){return this.setLimit("max",t,!1,oe.toString(n))}setLimit(t,n,o,r){return new Yo({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:o,message:oe.toString(r)}]})}_addCheck(t){return new Yo({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:oe.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:oe.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:oe.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:oe.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:oe.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:oe.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:oe.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:oe.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:oe.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Me.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const o of this._def.checks){if(o.kind==="finite"||o.kind==="int"||o.kind==="multipleOf")return!0;o.kind==="min"?(n===null||o.value>n)&&(n=o.value):o.kind==="max"&&(t===null||o.value<t)&&(t=o.value)}return Number.isFinite(n)&&Number.isFinite(t)}}Yo.create=e=>new Yo({checks:[],typeName:ce.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...fe(e)});class Xo extends ye{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==Q.bigint){const i=this._getOrReturnCtx(t);return Y(i,{code:H.invalid_type,expected:Q.bigint,received:i.parsedType}),ue}let o;const r=new kt;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(o=this._getOrReturnCtx(t,o),Y(o,{code:H.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(o=this._getOrReturnCtx(t,o),Y(o,{code:H.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(o=this._getOrReturnCtx(t,o),Y(o,{code:H.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):Me.assertNever(i);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,oe.toString(n))}gt(t,n){return this.setLimit("min",t,!1,oe.toString(n))}lte(t,n){return this.setLimit("max",t,!0,oe.toString(n))}lt(t,n){return this.setLimit("max",t,!1,oe.toString(n))}setLimit(t,n,o,r){return new Xo({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:o,message:oe.toString(r)}]})}_addCheck(t){return new Xo({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:oe.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:oe.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:oe.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:oe.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:oe.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Xo.create=e=>{var t;return new Xo({checks:[],typeName:ce.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...fe(e)})};class Ea extends ye{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Q.boolean){const o=this._getOrReturnCtx(t);return Y(o,{code:H.invalid_type,expected:Q.boolean,received:o.parsedType}),ue}return It(t.data)}}Ea.create=e=>new Ea({typeName:ce.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...fe(e)});class Tr extends ye{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Q.date){const i=this._getOrReturnCtx(t);return Y(i,{code:H.invalid_type,expected:Q.date,received:i.parsedType}),ue}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return Y(i,{code:H.invalid_date}),ue}const o=new kt;let r;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(r=this._getOrReturnCtx(t,r),Y(r,{code:H.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),o.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(r=this._getOrReturnCtx(t,r),Y(r,{code:H.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),o.dirty()):Me.assertNever(i);return{status:o.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Tr({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:oe.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:oe.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Tr.create=e=>new Tr({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:ce.ZodDate,...fe(e)});class Sl extends ye{_parse(t){if(this._getType(t)!==Q.symbol){const o=this._getOrReturnCtx(t);return Y(o,{code:H.invalid_type,expected:Q.symbol,received:o.parsedType}),ue}return It(t.data)}}Sl.create=e=>new Sl({typeName:ce.ZodSymbol,...fe(e)});class Ta extends ye{_parse(t){if(this._getType(t)!==Q.undefined){const o=this._getOrReturnCtx(t);return Y(o,{code:H.invalid_type,expected:Q.undefined,received:o.parsedType}),ue}return It(t.data)}}Ta.create=e=>new Ta({typeName:ce.ZodUndefined,...fe(e)});class Ca extends ye{_parse(t){if(this._getType(t)!==Q.null){const o=this._getOrReturnCtx(t);return Y(o,{code:H.invalid_type,expected:Q.null,received:o.parsedType}),ue}return It(t.data)}}Ca.create=e=>new Ca({typeName:ce.ZodNull,...fe(e)});class gi extends ye{constructor(){super(...arguments),this._any=!0}_parse(t){return It(t.data)}}gi.create=e=>new gi({typeName:ce.ZodAny,...fe(e)});class wr extends ye{constructor(){super(...arguments),this._unknown=!0}_parse(t){return It(t.data)}}wr.create=e=>new wr({typeName:ce.ZodUnknown,...fe(e)});class mo extends ye{_parse(t){const n=this._getOrReturnCtx(t);return Y(n,{code:H.invalid_type,expected:Q.never,received:n.parsedType}),ue}}mo.create=e=>new mo({typeName:ce.ZodNever,...fe(e)});class kl extends ye{_parse(t){if(this._getType(t)!==Q.undefined){const o=this._getOrReturnCtx(t);return Y(o,{code:H.invalid_type,expected:Q.void,received:o.parsedType}),ue}return It(t.data)}}kl.create=e=>new kl({typeName:ce.ZodVoid,...fe(e)});class _n extends ye{_parse(t){const{ctx:n,status:o}=this._processInputParams(t),r=this._def;if(n.parsedType!==Q.array)return Y(n,{code:H.invalid_type,expected:Q.array,received:n.parsedType}),ue;if(r.exactLength!==null){const a=n.data.length>r.exactLength.value,s=n.data.length<r.exactLength.value;(a||s)&&(Y(n,{code:a?H.too_big:H.too_small,minimum:s?r.exactLength.value:void 0,maximum:a?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),o.dirty())}if(r.minLength!==null&&n.data.length<r.minLength.value&&(Y(n,{code:H.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),o.dirty()),r.maxLength!==null&&n.data.length>r.maxLength.value&&(Y(n,{code:H.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),o.dirty()),n.common.async)return Promise.all([...n.data].map((a,s)=>r.type._parseAsync(new jn(n,a,n.path,s)))).then(a=>kt.mergeArray(o,a));const i=[...n.data].map((a,s)=>r.type._parseSync(new jn(n,a,n.path,s)));return kt.mergeArray(o,i)}get element(){return this._def.type}min(t,n){return new _n({...this._def,minLength:{value:t,message:oe.toString(n)}})}max(t,n){return new _n({...this._def,maxLength:{value:t,message:oe.toString(n)}})}length(t,n){return new _n({...this._def,exactLength:{value:t,message:oe.toString(n)}})}nonempty(t){return this.min(1,t)}}_n.create=(e,t)=>new _n({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ce.ZodArray,...fe(t)});function Hr(e){if(e instanceof We){const t={};for(const n in e.shape){const o=e.shape[n];t[n]=Dn.create(Hr(o))}return new We({...e._def,shape:()=>t})}else return e instanceof _n?new _n({...e._def,type:Hr(e.element)}):e instanceof Dn?Dn.create(Hr(e.unwrap())):e instanceof Jo?Jo.create(Hr(e.unwrap())):e instanceof Hn?Hn.create(e.items.map(t=>Hr(t))):e}class We extends ye{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Me.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==Q.object){const c=this._getOrReturnCtx(t);return Y(c,{code:H.invalid_type,expected:Q.object,received:c.parsedType}),ue}const{status:o,ctx:r}=this._processInputParams(t),{shape:i,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof mo&&this._def.unknownKeys==="strip"))for(const c in r.data)a.includes(c)||s.push(c);const l=[];for(const c of a){const u=i[c],d=r.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new jn(r,d,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof mo){const c=this._def.unknownKeys;if(c==="passthrough")for(const u of s)l.push({key:{status:"valid",value:u},value:{status:"valid",value:r.data[u]}});else if(c==="strict")s.length>0&&(Y(r,{code:H.unrecognized_keys,keys:s}),o.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const u of s){const d=r.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new jn(r,d,r.path,u)),alwaysSet:u in r.data})}}return r.common.async?Promise.resolve().then(async()=>{const c=[];for(const u of l){const d=await u.key,p=await u.value;c.push({key:d,value:p,alwaysSet:u.alwaysSet})}return c}).then(c=>kt.mergeObjectSync(o,c)):kt.mergeObjectSync(o,l)}get shape(){return this._def.shape()}strict(t){return oe.errToObj,new We({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,o)=>{var r,i,a,s;const l=(a=(i=(r=this._def).errorMap)===null||i===void 0?void 0:i.call(r,n,o).message)!==null&&a!==void 0?a:o.defaultError;return n.code==="unrecognized_keys"?{message:(s=oe.errToObj(t).message)!==null&&s!==void 0?s:l}:{message:l}}}:{}})}strip(){return new We({...this._def,unknownKeys:"strip"})}passthrough(){return new We({...this._def,unknownKeys:"passthrough"})}extend(t){return new We({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new We({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ce.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new We({...this._def,catchall:t})}pick(t){const n={};return Me.objectKeys(t).forEach(o=>{t[o]&&this.shape[o]&&(n[o]=this.shape[o])}),new We({...this._def,shape:()=>n})}omit(t){const n={};return Me.objectKeys(this.shape).forEach(o=>{t[o]||(n[o]=this.shape[o])}),new We({...this._def,shape:()=>n})}deepPartial(){return Hr(this)}partial(t){const n={};return Me.objectKeys(this.shape).forEach(o=>{const r=this.shape[o];t&&!t[o]?n[o]=r:n[o]=r.optional()}),new We({...this._def,shape:()=>n})}required(t){const n={};return Me.objectKeys(this.shape).forEach(o=>{if(t&&!t[o])n[o]=this.shape[o];else{let i=this.shape[o];for(;i instanceof Dn;)i=i._def.innerType;n[o]=i}}),new We({...this._def,shape:()=>n})}keyof(){return Av(Me.objectKeys(this.shape))}}We.create=(e,t)=>new We({shape:()=>e,unknownKeys:"strip",catchall:mo.create(),typeName:ce.ZodObject,...fe(t)});We.strictCreate=(e,t)=>new We({shape:()=>e,unknownKeys:"strict",catchall:mo.create(),typeName:ce.ZodObject,...fe(t)});We.lazycreate=(e,t)=>new We({shape:e,unknownKeys:"strip",catchall:mo.create(),typeName:ce.ZodObject,...fe(t)});class Ma extends ye{_parse(t){const{ctx:n}=this._processInputParams(t),o=this._def.options;function r(i){for(const s of i)if(s.result.status==="valid")return s.result;for(const s of i)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;const a=i.map(s=>new qt(s.ctx.common.issues));return Y(n,{code:H.invalid_union,unionErrors:a}),ue}if(n.common.async)return Promise.all(o.map(async i=>{const a={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(r);{let i;const a=[];for(const l of o){const c={...n,common:{...n.common,issues:[]},parent:null},u=l._parseSync({data:n.data,path:n.path,parent:c});if(u.status==="valid")return u;u.status==="dirty"&&!i&&(i={result:u,ctx:c}),c.common.issues.length&&a.push(c.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const s=a.map(l=>new qt(l));return Y(n,{code:H.invalid_union,unionErrors:s}),ue}}get options(){return this._def.options}}Ma.create=(e,t)=>new Ma({options:e,typeName:ce.ZodUnion,...fe(t)});const eo=e=>e instanceof Oa?eo(e.schema):e instanceof Sn?eo(e.innerType()):e instanceof Ra?[e.value]:e instanceof Zo?e.options:e instanceof Ia?Me.objectValues(e.enum):e instanceof La?eo(e._def.innerType):e instanceof Ta?[void 0]:e instanceof Ca?[null]:e instanceof Dn?[void 0,...eo(e.unwrap())]:e instanceof Jo?[null,...eo(e.unwrap())]:e instanceof Op||e instanceof $a?eo(e.unwrap()):e instanceof Ba?eo(e._def.innerType):[];class cc extends ye{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Q.object)return Y(n,{code:H.invalid_type,expected:Q.object,received:n.parsedType}),ue;const o=this.discriminator,r=n.data[o],i=this.optionsMap.get(r);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(Y(n,{code:H.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[o]}),ue)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,o){const r=new Map;for(const i of n){const a=eo(i.shape[t]);if(!a.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const s of a){if(r.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);r.set(s,i)}}return new cc({typeName:ce.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:r,...fe(o)})}}function ed(e,t){const n=Io(e),o=Io(t);if(e===t)return{valid:!0,data:e};if(n===Q.object&&o===Q.object){const r=Me.objectKeys(t),i=Me.objectKeys(e).filter(s=>r.indexOf(s)!==-1),a={...e,...t};for(const s of i){const l=ed(e[s],t[s]);if(!l.valid)return{valid:!1};a[s]=l.data}return{valid:!0,data:a}}else if(n===Q.array&&o===Q.array){if(e.length!==t.length)return{valid:!1};const r=[];for(let i=0;i<e.length;i++){const a=e[i],s=t[i],l=ed(a,s);if(!l.valid)return{valid:!1};r.push(l.data)}return{valid:!0,data:r}}else return n===Q.date&&o===Q.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class Aa extends ye{_parse(t){const{status:n,ctx:o}=this._processInputParams(t),r=(i,a)=>{if(Ju(i)||Ju(a))return ue;const s=ed(i.value,a.value);return s.valid?((Qu(i)||Qu(a))&&n.dirty(),{status:n.value,value:s.data}):(Y(o,{code:H.invalid_intersection_types}),ue)};return o.common.async?Promise.all([this._def.left._parseAsync({data:o.data,path:o.path,parent:o}),this._def.right._parseAsync({data:o.data,path:o.path,parent:o})]).then(([i,a])=>r(i,a)):r(this._def.left._parseSync({data:o.data,path:o.path,parent:o}),this._def.right._parseSync({data:o.data,path:o.path,parent:o}))}}Aa.create=(e,t,n)=>new Aa({left:e,right:t,typeName:ce.ZodIntersection,...fe(n)});class Hn extends ye{_parse(t){const{status:n,ctx:o}=this._processInputParams(t);if(o.parsedType!==Q.array)return Y(o,{code:H.invalid_type,expected:Q.array,received:o.parsedType}),ue;if(o.data.length<this._def.items.length)return Y(o,{code:H.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),ue;!this._def.rest&&o.data.length>this._def.items.length&&(Y(o,{code:H.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...o.data].map((a,s)=>{const l=this._def.items[s]||this._def.rest;return l?l._parse(new jn(o,a,o.path,s)):null}).filter(a=>!!a);return o.common.async?Promise.all(i).then(a=>kt.mergeArray(n,a)):kt.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new Hn({...this._def,rest:t})}}Hn.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Hn({items:e,typeName:ce.ZodTuple,rest:null,...fe(t)})};class Pa extends ye{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:o}=this._processInputParams(t);if(o.parsedType!==Q.object)return Y(o,{code:H.invalid_type,expected:Q.object,received:o.parsedType}),ue;const r=[],i=this._def.keyType,a=this._def.valueType;for(const s in o.data)r.push({key:i._parse(new jn(o,s,o.path,s)),value:a._parse(new jn(o,o.data[s],o.path,s)),alwaysSet:s in o.data});return o.common.async?kt.mergeObjectAsync(n,r):kt.mergeObjectSync(n,r)}get element(){return this._def.valueType}static create(t,n,o){return n instanceof ye?new Pa({keyType:t,valueType:n,typeName:ce.ZodRecord,...fe(o)}):new Pa({keyType:gn.create(),valueType:t,typeName:ce.ZodRecord,...fe(n)})}}class xl extends ye{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:o}=this._processInputParams(t);if(o.parsedType!==Q.map)return Y(o,{code:H.invalid_type,expected:Q.map,received:o.parsedType}),ue;const r=this._def.keyType,i=this._def.valueType,a=[...o.data.entries()].map(([s,l],c)=>({key:r._parse(new jn(o,s,o.path,[c,"key"])),value:i._parse(new jn(o,l,o.path,[c,"value"]))}));if(o.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const l of a){const c=await l.key,u=await l.value;if(c.status==="aborted"||u.status==="aborted")return ue;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),s.set(c.value,u.value)}return{status:n.value,value:s}})}else{const s=new Map;for(const l of a){const c=l.key,u=l.value;if(c.status==="aborted"||u.status==="aborted")return ue;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),s.set(c.value,u.value)}return{status:n.value,value:s}}}}xl.create=(e,t,n)=>new xl({valueType:t,keyType:e,typeName:ce.ZodMap,...fe(n)});class Cr extends ye{_parse(t){const{status:n,ctx:o}=this._processInputParams(t);if(o.parsedType!==Q.set)return Y(o,{code:H.invalid_type,expected:Q.set,received:o.parsedType}),ue;const r=this._def;r.minSize!==null&&o.data.size<r.minSize.value&&(Y(o,{code:H.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),n.dirty()),r.maxSize!==null&&o.data.size>r.maxSize.value&&(Y(o,{code:H.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),n.dirty());const i=this._def.valueType;function a(l){const c=new Set;for(const u of l){if(u.status==="aborted")return ue;u.status==="dirty"&&n.dirty(),c.add(u.value)}return{status:n.value,value:c}}const s=[...o.data.values()].map((l,c)=>i._parse(new jn(o,l,o.path,c)));return o.common.async?Promise.all(s).then(l=>a(l)):a(s)}min(t,n){return new Cr({...this._def,minSize:{value:t,message:oe.toString(n)}})}max(t,n){return new Cr({...this._def,maxSize:{value:t,message:oe.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Cr.create=(e,t)=>new Cr({valueType:e,minSize:null,maxSize:null,typeName:ce.ZodSet,...fe(t)});class Yr extends ye{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Q.function)return Y(n,{code:H.invalid_type,expected:Q.function,received:n.parsedType}),ue;function o(s,l){return _l({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,yl(),mi].filter(c=>!!c),issueData:{code:H.invalid_arguments,argumentsError:l}})}function r(s,l){return _l({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,yl(),mi].filter(c=>!!c),issueData:{code:H.invalid_return_type,returnTypeError:l}})}const i={errorMap:n.common.contextualErrorMap},a=n.data;if(this._def.returns instanceof vi){const s=this;return It(async function(...l){const c=new qt([]),u=await s._def.args.parseAsync(l,i).catch(f=>{throw c.addIssue(o(l,f)),c}),d=await Reflect.apply(a,this,u);return await s._def.returns._def.type.parseAsync(d,i).catch(f=>{throw c.addIssue(r(d,f)),c})})}else{const s=this;return It(function(...l){const c=s._def.args.safeParse(l,i);if(!c.success)throw new qt([o(l,c.error)]);const u=Reflect.apply(a,this,c.data),d=s._def.returns.safeParse(u,i);if(!d.success)throw new qt([r(u,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new Yr({...this._def,args:Hn.create(t).rest(wr.create())})}returns(t){return new Yr({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,o){return new Yr({args:t||Hn.create([]).rest(wr.create()),returns:n||wr.create(),typeName:ce.ZodFunction,...fe(o)})}}class Oa extends ye{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}Oa.create=(e,t)=>new Oa({getter:e,typeName:ce.ZodLazy,...fe(t)});class Ra extends ye{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Y(n,{received:n.data,code:H.invalid_literal,expected:this._def.value}),ue}return{status:"valid",value:t.data}}get value(){return this._def.value}}Ra.create=(e,t)=>new Ra({value:e,typeName:ce.ZodLiteral,...fe(t)});function Av(e,t){return new Zo({values:e,typeName:ce.ZodEnum,...fe(t)})}class Zo extends ye{constructor(){super(...arguments),Gi.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),o=this._def.values;return Y(n,{expected:Me.joinValues(o),received:n.parsedType,code:H.invalid_type}),ue}if(wl(this,Gi)||Ev(this,Gi,new Set(this._def.values)),!wl(this,Gi).has(t.data)){const n=this._getOrReturnCtx(t),o=this._def.values;return Y(n,{received:n.data,code:H.invalid_enum_value,options:o}),ue}return It(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return Zo.create(t,{...this._def,...n})}exclude(t,n=this._def){return Zo.create(this.options.filter(o=>!t.includes(o)),{...this._def,...n})}}Gi=new WeakMap;Zo.create=Av;class Ia extends ye{constructor(){super(...arguments),qi.set(this,void 0)}_parse(t){const n=Me.getValidEnumValues(this._def.values),o=this._getOrReturnCtx(t);if(o.parsedType!==Q.string&&o.parsedType!==Q.number){const r=Me.objectValues(n);return Y(o,{expected:Me.joinValues(r),received:o.parsedType,code:H.invalid_type}),ue}if(wl(this,qi)||Ev(this,qi,new Set(Me.getValidEnumValues(this._def.values))),!wl(this,qi).has(t.data)){const r=Me.objectValues(n);return Y(o,{received:o.data,code:H.invalid_enum_value,options:r}),ue}return It(t.data)}get enum(){return this._def.values}}qi=new WeakMap;Ia.create=(e,t)=>new Ia({values:e,typeName:ce.ZodNativeEnum,...fe(t)});class vi extends ye{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Q.promise&&n.common.async===!1)return Y(n,{code:H.invalid_type,expected:Q.promise,received:n.parsedType}),ue;const o=n.parsedType===Q.promise?n.data:Promise.resolve(n.data);return It(o.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}}vi.create=(e,t)=>new vi({type:e,typeName:ce.ZodPromise,...fe(t)});class Sn extends ye{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ce.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:o}=this._processInputParams(t),r=this._def.effect||null,i={addIssue:a=>{Y(o,a),a.fatal?n.abort():n.dirty()},get path(){return o.path}};if(i.addIssue=i.addIssue.bind(i),r.type==="preprocess"){const a=r.transform(o.data,i);if(o.common.async)return Promise.resolve(a).then(async s=>{if(n.value==="aborted")return ue;const l=await this._def.schema._parseAsync({data:s,path:o.path,parent:o});return l.status==="aborted"?ue:l.status==="dirty"||n.value==="dirty"?Gr(l.value):l});{if(n.value==="aborted")return ue;const s=this._def.schema._parseSync({data:a,path:o.path,parent:o});return s.status==="aborted"?ue:s.status==="dirty"||n.value==="dirty"?Gr(s.value):s}}if(r.type==="refinement"){const a=s=>{const l=r.refinement(s,i);if(o.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(o.common.async===!1){const s=this._def.schema._parseSync({data:o.data,path:o.path,parent:o});return s.status==="aborted"?ue:(s.status==="dirty"&&n.dirty(),a(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:o.data,path:o.path,parent:o}).then(s=>s.status==="aborted"?ue:(s.status==="dirty"&&n.dirty(),a(s.value).then(()=>({status:n.value,value:s.value}))))}if(r.type==="transform")if(o.common.async===!1){const a=this._def.schema._parseSync({data:o.data,path:o.path,parent:o});if(!ka(a))return a;const s=r.transform(a.value,i);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:o.data,path:o.path,parent:o}).then(a=>ka(a)?Promise.resolve(r.transform(a.value,i)).then(s=>({status:n.value,value:s})):a);Me.assertNever(r)}}Sn.create=(e,t,n)=>new Sn({schema:e,typeName:ce.ZodEffects,effect:t,...fe(n)});Sn.createWithPreprocess=(e,t,n)=>new Sn({schema:t,effect:{type:"preprocess",transform:e},typeName:ce.ZodEffects,...fe(n)});class Dn extends ye{_parse(t){return this._getType(t)===Q.undefined?It(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Dn.create=(e,t)=>new Dn({innerType:e,typeName:ce.ZodOptional,...fe(t)});class Jo extends ye{_parse(t){return this._getType(t)===Q.null?It(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Jo.create=(e,t)=>new Jo({innerType:e,typeName:ce.ZodNullable,...fe(t)});class La extends ye{_parse(t){const{ctx:n}=this._processInputParams(t);let o=n.data;return n.parsedType===Q.undefined&&(o=this._def.defaultValue()),this._def.innerType._parse({data:o,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}La.create=(e,t)=>new La({innerType:e,typeName:ce.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...fe(t)});class Ba extends ye{_parse(t){const{ctx:n}=this._processInputParams(t),o={...n,common:{...n.common,issues:[]}},r=this._def.innerType._parse({data:o.data,path:o.path,parent:{...o}});return xa(r)?r.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new qt(o.common.issues)},input:o.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new qt(o.common.issues)},input:o.data})}}removeCatch(){return this._def.innerType}}Ba.create=(e,t)=>new Ba({innerType:e,typeName:ce.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...fe(t)});class El extends ye{_parse(t){if(this._getType(t)!==Q.nan){const o=this._getOrReturnCtx(t);return Y(o,{code:H.invalid_type,expected:Q.nan,received:o.parsedType}),ue}return{status:"valid",value:t.data}}}El.create=e=>new El({typeName:ce.ZodNaN,...fe(e)});const Sx=Symbol("zod_brand");class Op extends ye{_parse(t){const{ctx:n}=this._processInputParams(t),o=n.data;return this._def.type._parse({data:o,path:n.path,parent:n})}unwrap(){return this._def.type}}class rs extends ye{_parse(t){const{status:n,ctx:o}=this._processInputParams(t);if(o.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:o.data,path:o.path,parent:o});return i.status==="aborted"?ue:i.status==="dirty"?(n.dirty(),Gr(i.value)):this._def.out._parseAsync({data:i.value,path:o.path,parent:o})})();{const r=this._def.in._parseSync({data:o.data,path:o.path,parent:o});return r.status==="aborted"?ue:r.status==="dirty"?(n.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:o.path,parent:o})}}static create(t,n){return new rs({in:t,out:n,typeName:ce.ZodPipeline})}}class $a extends ye{_parse(t){const n=this._def.innerType._parse(t),o=r=>(ka(r)&&(r.value=Object.freeze(r.value)),r);return xa(n)?n.then(r=>o(r)):o(n)}unwrap(){return this._def.innerType}}$a.create=(e,t)=>new $a({innerType:e,typeName:ce.ZodReadonly,...fe(t)});function Pv(e,t={},n){return e?gi.create().superRefine((o,r)=>{var i,a;if(!e(o)){const s=typeof t=="function"?t(o):typeof t=="string"?{message:t}:t,l=(a=(i=s.fatal)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:!0,c=typeof s=="string"?{message:s}:s;r.addIssue({code:"custom",...c,fatal:l})}}):gi.create()}const kx={object:We.lazycreate};var ce;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(ce||(ce={}));const xx=(e,t={message:`Input not instance of ${e.name}`})=>Pv(n=>n instanceof e,t),Ov=gn.create,Rv=Yo.create,Ex=El.create,Tx=Xo.create,Iv=Ea.create,Cx=Tr.create,Mx=Sl.create,Ax=Ta.create,Px=Ca.create,Ox=gi.create,Rx=wr.create,Ix=mo.create,Lx=kl.create,Bx=_n.create,$x=We.create,Dx=We.strictCreate,zx=Ma.create,Nx=cc.create,Fx=Aa.create,jx=Hn.create,Hx=Pa.create,Wx=xl.create,Ux=Cr.create,Vx=Yr.create,Gx=Oa.create,qx=Ra.create,Kx=Zo.create,Yx=Ia.create,Xx=vi.create,Ah=Sn.create,Zx=Dn.create,Jx=Jo.create,Qx=Sn.createWithPreprocess,eE=rs.create,tE=()=>Ov().optional(),nE=()=>Rv().optional(),oE=()=>Iv().optional(),rE={string:e=>gn.create({...e,coerce:!0}),number:e=>Yo.create({...e,coerce:!0}),boolean:e=>Ea.create({...e,coerce:!0}),bigint:e=>Xo.create({...e,coerce:!0}),date:e=>Tr.create({...e,coerce:!0})},iE=ue;var Vc=Object.freeze({__proto__:null,defaultErrorMap:mi,setErrorMap:ix,getErrorMap:yl,makeIssue:_l,EMPTY_PATH:ax,addIssueToContext:Y,ParseStatus:kt,INVALID:ue,DIRTY:Gr,OK:It,isAborted:Ju,isDirty:Qu,isValid:ka,isAsync:xa,get util(){return Me},get objectUtil(){return Zu},ZodParsedType:Q,getParsedType:Io,ZodType:ye,datetimeRegex:Mv,ZodString:gn,ZodNumber:Yo,ZodBigInt:Xo,ZodBoolean:Ea,ZodDate:Tr,ZodSymbol:Sl,ZodUndefined:Ta,ZodNull:Ca,ZodAny:gi,ZodUnknown:wr,ZodNever:mo,ZodVoid:kl,ZodArray:_n,ZodObject:We,ZodUnion:Ma,ZodDiscriminatedUnion:cc,ZodIntersection:Aa,ZodTuple:Hn,ZodRecord:Pa,ZodMap:xl,ZodSet:Cr,ZodFunction:Yr,ZodLazy:Oa,ZodLiteral:Ra,ZodEnum:Zo,ZodNativeEnum:Ia,ZodPromise:vi,ZodEffects:Sn,ZodTransformer:Sn,ZodOptional:Dn,ZodNullable:Jo,ZodDefault:La,ZodCatch:Ba,ZodNaN:El,BRAND:Sx,ZodBranded:Op,ZodPipeline:rs,ZodReadonly:$a,custom:Pv,Schema:ye,ZodSchema:ye,late:kx,get ZodFirstPartyTypeKind(){return ce},coerce:rE,any:Ox,array:Bx,bigint:Tx,boolean:Iv,date:Cx,discriminatedUnion:Nx,effect:Ah,enum:Kx,function:Vx,instanceof:xx,intersection:Fx,lazy:Gx,literal:qx,map:Wx,nan:Ex,nativeEnum:Yx,never:Ix,null:Px,nullable:Jx,number:Rv,object:$x,oboolean:oE,onumber:nE,optional:Zx,ostring:tE,pipeline:eE,preprocess:Qx,promise:Xx,record:Hx,set:Ux,strictObject:Dx,string:Ov,symbol:Mx,transformer:Ah,tuple:jx,undefined:Ax,union:zx,unknown:Rx,void:Lx,NEVER:iE,ZodIssueCode:H,quotelessJson:rx,ZodError:qt});const aE={layout:"naked",validate(e){const n=Vc.object({donation:Vc.coerce.number().min(.01),tip:Vc.coerce.number().nonnegative()}).safeParse(e.query);if(n.success){const o=lc("checkout-query-data");o.value=n.data}return n.success}},sE={layout:"individual-page",middleware:"authenticated-donor"},Gc=null,Ph=[{name:Ts==null?void 0:Ts.name,path:"/dashboard",meta:Ts||{},component:()=>se(()=>import("./Dsz92FDr.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e),children:[{name:"dashboard",path:"",component:()=>se(()=>import("./DrYzxLmT.js"),__vite__mapDeps([4,5,6,7,2,3,8,9,10,11,12,13,14,15]),import.meta.url).then(e=>e.default||e)},{name:Wc==null?void 0:Wc.name,path:"integrations",component:()=>se(()=>import("./CFWqc7dp.js"),__vite__mapDeps([16,8,2,3]),import.meta.url).then(e=>e.default||e),children:[{name:"dashboard-integrations",path:"",component:()=>se(()=>import("./MMgNzlke.js"),__vite__mapDeps([17,5,6,7,2,3,8,9,10,11,12,13,15]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-integrations-klaviyo",path:"klaviyo",component:()=>se(()=>import("./BsUxGe8l.js"),__vite__mapDeps([18,5,6,7,2,3,8,9,10,11,12,13,19,20,21,22,23,24]),import.meta.url).then(e=>e.default||e)}]},{name:"dashboard-mailchimp",path:"mailchimp",component:()=>se(()=>import("./CZ2Z81iJ.js"),__vite__mapDeps([25,11,2,3,8,12,26,27]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-members",path:"members",component:()=>se(()=>import("./BZpzqsyy.js"),__vite__mapDeps([28,6,7,2,3,8,9,11,12,5,10,13,14,15,29,30,31,32,33,21,34,35]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-partners",path:"partners",component:()=>se(()=>import("./D1PxeBtx.js"),__vite__mapDeps([36,6,7,2,3,8,9,14,15,11,12,37,38,32,10,13,33,21,34,39,40,41,42,35,43]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-prizes",path:"prizes",component:()=>se(()=>import("./DKdewi8N.js"),__vite__mapDeps([44,14,6,7,2,3,8,9,15,11,12,37,38,32,10,13,33,21,34,39,40,41,42,35,31,45,22,46,47,26]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-settings",path:"settings",component:()=>se(()=>import("./BAgPNF7n.js"),__vite__mapDeps([48,5,6,7,2,3,8,9,10,11,12,13,14,15,27,41,42,46,33,21,47,29,30,20,49,50,38,32,34,39,40,51,31,52]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-share",path:"share",component:()=>se(()=>import("./BDubXAqa.js"),__vite__mapDeps([53,6,7,2,3,8,9,14,15,32,10,11,12,13,33,21,34,41,42,35,26]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-tiers-slug",path:"tiers/:slug()",component:()=>se(()=>import("./CU_hQcBY.js"),__vite__mapDeps([54,55,5,6,7,2,3,8,9,10,11,12,13,38,32,33,21,34,39,40,56,1,57,35,15,58,59]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-tiers",path:"tiers",component:()=>se(()=>import("./C8Tbi-H2.js"),__vite__mapDeps([60,6,7,2,3,8,9,10,11,12,13,15,5,14,57,35,33,21,58]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-tiers-new",path:"tiers/new",component:()=>se(()=>import("./D6YnlL9P.js"),__vite__mapDeps([61,55,5,6,7,2,3,8,9,10,11,12,13,38,32,33,21,34,39,40,56,1,57,35,15,58,59]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-updates-slug",path:"updates/:slug()",component:()=>se(()=>import("./TDa-AANr.js"),__vite__mapDeps([62,63,5,6,7,2,3,8,9,10,11,12,13,56,1,64,23,24,65,66,38,32,33,21,34,39,40,67,68,69,35,59,70,71,72]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-updates",path:"updates",component:()=>se(()=>import("./BVgzbIni.js"),__vite__mapDeps([73,6,7,2,3,8,9,10,11,12,13,15,5,14,69,35,33,21,58]),import.meta.url).then(e=>e.default||e)},{name:"dashboard-updates-new",path:"updates/new",component:()=>se(()=>import("./woQn2ZWR.js"),__vite__mapDeps([74,63,5,6,7,2,3,8,9,10,11,12,13,56,1,64,23,24,65,66,38,32,33,21,34,39,40,67,68,69,35,59,70,71,72]),import.meta.url).then(e=>e.default||e)}]},{name:"donor-login",path:"/donor/login",component:()=>se(()=>import("./NYIgxxDs.js"),__vite__mapDeps([75,11,2,3,8,12,70,71,76,77,24,78]),import.meta.url).then(e=>e.default||e)},{name:"editor",path:"/editor",meta:X2||{},component:()=>se(()=>import("./BXALPqh_.js"),__vite__mapDeps([79,11,2,3,8,12,80,6,7,9,23,77,24,45,21,33,22,46,47,81,15,30,31,82,50,38,32,10,13,34,39,40,51,83,49,84,41,42,37,29,85,86,19,20,43,87,1,88,26,89,90,67,91]),import.meta.url).then(e=>e.default||e)},{name:"forgot-password",path:"/forgot-password",component:()=>se(()=>import("./7utj_RKe.js"),__vite__mapDeps([92,41,2,3,42,93,11,8,12,94,70]),import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",component:()=>se(()=>import("./BpZ9WpxB.js"),__vite__mapDeps([95,11,2,3,8,12,56,1,70,71,76,96,97]),import.meta.url).then(e=>e.default||e)},{name:"invite-organizationId-slug",path:"/invite/:organizationId()/:slug()",component:()=>se(()=>import("./jbrFQ8e4.js"),__vite__mapDeps([98,41,2,3,42,11,8,12,81,15,30,31,82,29,1,49,99]),import.meta.url).then(e=>e.default||e)},{name:"login",path:"/login",component:()=>se(()=>import("./BwYvh35D.js"),__vite__mapDeps([100,41,2,3,42,93,11,8,12,94,15,1,101]),import.meta.url).then(e=>e.default||e)},{name:"mailchimp-redirect",path:"/mailchimp/redirect",meta:Z2||{},component:()=>se(()=>import("./DUrsQvkK.js"),__vite__mapDeps([102,11,2,3,8,12]),import.meta.url).then(e=>e.default||e)},{name:"profile",path:"/profile",meta:J2||{},component:()=>se(()=>import("./DwMnG98f.js"),__vite__mapDeps([103,6,7,2,3,8,9,104,11,12,23,70,71,76,105,24,77,65,15,39,40,68,90,106,88,107,108,56,1,109,110,111]),import.meta.url).then(e=>e.default||e)},{name:"rare-gala",path:"/rare-gala",meta:Q2||{},component:()=>se(()=>import("./CyT9qBrt.js"),__vite__mapDeps([112,56,1,2,3,113,8,114,115,116,26,117]),import.meta.url).then(e=>e.default||e)},{name:"rare-impact-selena",path:"/rare-impact-selena",meta:ex||{},component:()=>se(()=>import("./CqnNWQPk.js"),__vite__mapDeps([118,113,2,3,8,114,56,1,26,106,119]),import.meta.url).then(e=>e.default||e)},{name:"rare-impact-test",path:"/rare-impact-test",meta:tx||{},component:()=>se(()=>import("./CgWXuQ7g.js"),__vite__mapDeps([120,56,1,2,3,113,8,114,115,116,26,121]),import.meta.url).then(e=>e.default||e)},{name:"reset-password",path:"/reset-password",component:()=>se(()=>import("./1dmXlO91.js"),__vite__mapDeps([122,41,2,3,42,93,11,8,12,94,123,70]),import.meta.url).then(e=>e.default||e)},{name:"signup",path:"/signup",component:()=>se(()=>import("./B_eha0q4.js"),__vite__mapDeps([124,41,2,3,42,93,11,8,12,94,43,1,125]),import.meta.url).then(e=>e.default||e)},{name:"stripe-callback",path:"/stripe/callback",meta:nx||{},component:()=>se(()=>import("./p8VxnTAd.js"),__vite__mapDeps([126,11,2,3,8,12,1]),import.meta.url).then(e=>e.default||e)},{name:Gc==null?void 0:Gc.name,path:"/subdomain/:slug()",component:()=>se(()=>import("./BM4C5B6U.js"),__vite__mapDeps([127,109,2,3,1,65]),import.meta.url).then(e=>e.default||e),children:[{name:"subdomain-slug-checkout",path:"checkout",meta:aE||{},component:()=>se(()=>import("./9BMo71rk.js"),__vite__mapDeps([128,6,7,2,3,8,9,11,12,70,71,76,78,87,24,77,129,23,65]),import.meta.url).then(e=>e.default||e)},{name:"subdomain-slug-giveaways",path:"giveaways",component:()=>se(()=>import("./CHGGl67z.js"),__vite__mapDeps([130,131,2,3,8,15,23,77,24,108,65,106,132,56,1,133,134,6,7,9,135]),import.meta.url).then(e=>e.default||e)},{name:"subdomain-slug-impact-feed",path:"impact-feed",component:()=>se(()=>import("./wtZaSYMu.js"),__vite__mapDeps([136,131,2,3,8,15,23,77,24,108,65,106,132,64,56,1,11,12,6,7,9,66,70,71,107,33,21,134,137]),import.meta.url).then(e=>e.default||e)},{name:"subdomain-slug",path:"",component:()=>se(()=>import("./CBwPT7Dh.js"),__vite__mapDeps([138,56,1,2,3,8,139,23,65,104,6,7,9,11,12,70,71,76,105,24,77,15,129,106,88,131,108,132,133,134,140]),import.meta.url).then(e=>e.default||e)},{name:"subdomain-slug-sweepstakes",path:"sweepstakes",component:()=>se(()=>import("./dfQTmSIz.js"),__vite__mapDeps([141,131,2,3,8,15,23,77,24,108,65,106,132,56,1,13,142]),import.meta.url).then(e=>e.default||e)},{name:"subdomain-slug-welcome",path:"welcome",meta:sE||{},component:()=>se(()=>import("./Buxatu2O.js"),__vite__mapDeps([143,2,3,8,15,23,65,144]),import.meta.url).then(e=>e.default||e)}]},{name:"test",path:"/test",component:()=>se(()=>import("./DxtrqJdA.js"),__vite__mapDeps([145,10,11,2,3,8,12,13,110,23,77,24]),import.meta.url).then(e=>e.default||e)}],Lv=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var o;return t?je(e,t,n):(o=n.default)==null?void 0:o.call(n)}});function Oh(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""});return typeof t=="function"?t(e):t}function lE(e,t){return e===t||t===dn?!1:Oh(e)!==Oh(t)?!0:!e.matched.every((o,r)=>{var i,a;return o.components&&o.components.default===((a=(i=t.matched[r])==null?void 0:i.components)==null?void 0:a.default)})}function Rh(e,t=!1){if(e){if(e.nodeName==="#comment"&&e.nodeValue==="[")return Bv(e,[],t);if(t){const n=e.cloneNode(!0);return n.querySelectorAll("[data-island-slot]").forEach(o=>{o.innerHTML=""}),[n.outerHTML]}return[e.outerHTML]}return null}function Bv(e,t=[],n=!1){if(e&&e.nodeName){if(uE(e))return t;if(!cE(e)){const o=e.cloneNode(!0);n&&o.querySelectorAll("[data-island-slot]").forEach(r=>{r.innerHTML=""}),t.push(o.outerHTML)}Bv(e.nextSibling,t,n)}return t}function cE(e){return e.nodeName==="#comment"&&e.nodeValue==="["}function uE(e){return e.nodeName==="#comment"&&e.nodeValue==="]"}const dE={scrollBehavior(e,t,n){var c;const o=$e(),r=((c=Yt().options)==null?void 0:c.scrollBehaviorType)??"auto";let i=n||void 0;const a=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!i&&t&&e&&a!==!1&&lE(e,t)&&(i={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Ih(e.hash),behavior:r}:!1;const s=u=>!!(u.meta.pageTransition??$u),l=s(t)&&s(e)?"page:transition:finish":"page:finish";return new Promise(u=>{o.hooks.hookOnce(l,async()=>{await new Promise(d=>setTimeout(d,0)),e.hash&&(i={el:e.hash,top:Ih(e.hash),behavior:r}),u(i)})})}};function Ih(e){try{const t=document.querySelector(e);if(t)return Number.parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const $v=()=>lc("subdomain",()=>""),w$=e=>{const n=jt().public.baseDomain,o=e.startsWith("/")?e.slice(1):e;return`https://${n}/${o}`};function S$(e,t){const n=$v(),r=jt().public.baseDomain,i=t.startsWith("/")?t.slice(1):t;return $(()=>n.value?t:`https://${Au(e)}.${r}/${i}`)}const pE={routes:e=>{const{ssrContext:t}=$e(),n=$v(),o=t==null?void 0:t.event.context.subdomain;if(o&&(n.value=o),n.value)return e.filter(a=>a.path.includes("/subdomain/:slug")).map(a=>({...a,path:a.path.includes("/subdomain/:slug()")?a.path.replace("/subdomain/:slug()","/"):a.path.replace("/subdomain/:slug/()","/")}))}},fE={hashMode:!1,scrollBehaviorType:"auto"},Ht={...fE,...dE,...pE},hE=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const o=$e(),r=Yt();if(([t,n]=pi(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=ic({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),s=r.beforeResolve(c=>{if(s(),c===e){const u=r.afterEach(async()=>{u(),await o.runWithContext(()=>Vr(a)),window.history.pushState({},"",e.fullPath)});return!1}})};function An(e){if(typeof e!="object")return e;var t,n,o=Object.prototype.toString.call(e);if(o==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=An(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:An(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=An(e[t])}return n}if(o==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=An(e[t]);return n}return o==="[object Set]"?(n=new Set,e.forEach(function(r){n.add(An(r))}),n):o==="[object Map]"?(n=new Map,e.forEach(function(r,i){n.set(An(i),An(r))}),n):o==="[object Date]"?new Date(+e):o==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):o==="[object DataView]"?new e.constructor(An(e.buffer)):o==="[object ArrayBuffer]"?e.slice(0):o.slice(-6)==="Array]"?new e.constructor(e):e}const mE={path:"/",watch:!0,decode:e=>_a(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},qc=window.cookieStore;function na(e,t){var l;const n={...mE,...t},o=Lh(n)||{};let r;n.maxAge!==void 0?r=n.maxAge*1e3:n.expires&&(r=n.expires.getTime()-Date.now());const i=r!==void 0&&r<=0,a=An(i?void 0:o[e]??((l=n.default)==null?void 0:l.call(n))),s=r&&!i?bE(a,r,n.watch&&n.watch!=="shallow"):B(a);{let c=null;try{!qc&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||RS(s.value,o[e])||(vE(e,s.value,n),o[e]=An(s.value),c==null||c.postMessage({value:n.encode(s.value)}))},d=f=>{var m;const h=f.refresh?(m=Lh(n))==null?void 0:m[e]:n.decode(f.value);p=!0,o[e]=s.value=h,Je(()=>{p=!1})};let p=!1;rr()&&Or(()=>{p=!0,u(),c==null||c.close()}),qc?qc.onchange=f=>{const h=f.changed.find(m=>m.name===e);h&&d({value:h.value})}:c&&(c.onmessage=({data:f})=>d(f)),n.watch?be(s,()=>{p||u()},{deep:n.watch!=="shallow"}):u()}return s}function Lh(e={}){return gS(document.cookie,e)}function gE(e,t,n={}){return t==null?Jf(e,t,{...n,maxAge:-1}):Jf(e,t,n)}function vE(e,t,n={}){document.cookie=gE(e,t,n)}const Bh=2147483647;function bE(e,t,n){let o,r,i=0;const a=n?B(e):{value:e};return rr()&&Or(()=>{r==null||r(),clearTimeout(o)}),S0((s,l)=>{n&&(r=be(a,l));function c(){i=0,clearTimeout(o);const u=t-i,d=u<Bh?u:Bh;o=setTimeout(()=>{if(i+=d,i<t)return c();a.value=void 0,l()},d)}return{get(){return s(),a.value},set(u){c(),a.value=u,l()}}})}function Da(){return na("donor-access-token",{domain:jt().public.baseDomain.replace(/:\d+$/,""),sameSite:"lax",secure:!0,path:"/"})}function yE(){return na("referral-code")}function k$(e,t){const n=jt().public.baseDomain;return $(()=>`https://${Au(e)}.${n}/?referral=${Au(t)}`)}const _E=async e=>{const t=yE(),n=e.query.referral;!n||typeof n!="string"||(t.value=n)},wE=async e=>{let t,n;const o=([t,n]=pi(()=>Tp(e.path)),t=await t,n(),t);if(o.redirect)return Rr(o.redirect,{acceptRelative:!0})?(window.location.href=o.redirect,!1):o.redirect},SE=[hE,_E,wE],oa={"authenticated-donor":()=>se(()=>import("./D3QXjJaa.js"),__vite__mapDeps([146,123,2,3]),import.meta.url),"require-staff":()=>se(()=>import("./CdP_lKCc.js"),__vite__mapDeps([147,2,3]),import.meta.url)};function kE(e,t,n){const{pathname:o,search:r,hash:i}=t,a=e.indexOf("#");if(a>-1){const c=i.includes(e.slice(a))?e.slice(a).length:1;let u=i.slice(c);return u[0]!=="/"&&(u="/"+u),Vf(u,"")}const s=Vf(o,e),l=!n||P1(s,n,{trailingSlash:!0})?s:n;return l+(l.includes("?")?"":r)+i}const xE=Qe({name:"nuxt:router",enforce:"pre",async setup(e){var y,b;let t,n,o=jt().app.baseURL;Ht.hashMode&&!o.includes("#")&&(o+="#");const r=((y=Ht.history)==null?void 0:y.call(Ht,o))??(Ht.hashMode?v2(o):bv(o)),i=((b=Ht.routes)==null?void 0:b.call(Ht,Ph))??Ph;let a;const s=H2({...Ht,scrollBehavior:(_,v,w)=>{if(v===dn){a=w;return}if(Ht.scrollBehavior){if(s.options.scrollBehavior=Ht.scrollBehavior,"scrollRestoration"in window.history){const S=s.beforeEach(()=>{S(),window.history.scrollRestoration="manual"})}return Ht.scrollBehavior(_,dn,a||w)}},history:r,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(s);const l=xr(s.currentRoute.value);s.afterEach((_,v)=>{l.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=kE(o,window.location,e.payload.path),u=xr(s.currentRoute.value),d=()=>{u.value=s.currentRoute.value};e.hook("page:finish",d),s.afterEach((_,v)=>{var w,S,x,k;((S=(w=_.matched[0])==null?void 0:w.components)==null?void 0:S.default)===((k=(x=v.matched[0])==null?void 0:x.components)==null?void 0:k.default)&&d()});const p={};for(const _ in u.value)Object.defineProperty(p,_,{get:()=>u.value[_]});e._route=No(p),e._middleware=e._middleware||{global:[],named:{}};const f=rc();s.afterEach(async(_,v,w)=>{delete e._processingMiddleware,!e.isHydrating&&f.value&&await e.runWithContext(HS),w&&await e.callHook("page:loading:end"),_.matched.length===0&&await e.runWithContext(()=>Vr(Fu({statusCode:404,fatal:!1,statusMessage:`Page not found: ${_.fullPath}`,data:{path:_.fullPath}})))});try{[t,n]=pi(()=>s.isReady()),await t,n()}catch(_){[t,n]=pi(()=>e.runWithContext(()=>Vr(_))),await t,n()}const h=c!==s.currentRoute.value.fullPath?s.resolve(c):s.currentRoute.value;d();const m=e.payload.state._layout;return s.beforeEach(async(_,v)=>{var w;await e.callHook("page:loading:start"),_.meta=ln(_.meta),e.isHydrating&&m&&!Ww(_.meta.layout)&&(_.meta.layout=m),e._processingMiddleware=!0;{const S=new Set([...SE,...e._middleware.global]);for(const x of _.matched){const k=x.meta.middleware;if(k)for(const T of Pp(k))S.add(T)}{const x=await e.runWithContext(()=>Tp(_.path));if(x.appMiddleware)for(const k in x.appMiddleware)x.appMiddleware[k]?S.add(k):S.delete(k)}for(const x of S){const k=typeof x=="string"?e._middleware.named[x]||await((w=oa[x])==null?void 0:w.call(oa).then(R=>R.default||R)):x;if(!k)throw new Error(`Unknown route middleware: '${x}'.`);const T=await e.runWithContext(()=>k(_,v));if(!e.payload.serverRendered&&e.isHydrating&&(T===!1||T instanceof Error)){const R=T||Fu({statusCode:404,statusMessage:`Page Not Found: ${c}`});return await e.runWithContext(()=>Vr(R)),!1}if(T!==!0&&(T||T===!1))return T}}}),s.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),e.hooks.hookOnce("app:created",async()=>{try{"name"in h&&(h.name=void 0),await s.replace({...h,force:!0}),s.options.scrollBehavior=Ht.scrollBehavior}catch(_){await e.runWithContext(()=>Vr(_))}}),{provide:{router:s}}}}),$h=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),x$=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Rp=e=>{const t=$e();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{$h(()=>e())}):$h(()=>e())};function EE(e={}){const t=e.path||window.location.pathname;let n={};try{n=_a(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.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:$e().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Dv=Symbol.for("nuxt:client-only"),E$=L({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const o=B(!1);return Xe(()=>{o.value=!0}),Wo(Dv,!0),r=>{var l;if(o.value)return(l=t.default)==null?void 0:l.call(t);const i=t.fallback||t.placeholder;if(i)return i();const a=r.fallback||r.placeholder||"",s=r.fallbackTag||r.placeholderTag||"span";return Ze(s,n,a)}}}),Kc=new WeakMap;function T$(e){if(Kc.has(e))return Kc.get(e);const t={...e};return t.render?t.render=(n,o,r,i,a,s)=>{var l;if(i.mounted$??n.mounted$){const c=(l=e.render)==null?void 0:l.bind(n)(n,o,r,i,a,s);return c.children===null||typeof c.children=="string"?Pu(c):je(c)}else{const c=Rh(n._.vnode.el??null)??["<div></div>"];return jf(c.join(""),c.length)}}:t.template&&(t.template=`
      <template v-if="mounted$">${e.template}</template>
      <template v-else><div></div></template>
    `),t.setup=(n,o)=>{var l;const r=Xt(),i={...r.attrs},a=TE(r);for(const c in i)delete r.attrs[c];const s=B(!1);return Xe(()=>{Object.assign(r.attrs,i),r.vnode.dirs=a,s.value=!0}),Promise.resolve(((l=e.setup)==null?void 0:l.call(e,n,o))||{}).then(c=>typeof c!="function"?(c=c||{},c.mounted$=s,c):(...u)=>{if(s.value){const d=c(...u);return d.children===null||typeof d.children=="string"?Pu(d):je(d)}else{const d=Rh((r==null?void 0:r.vnode.el)??null)??["<div></div>"];return jf(d.join(""),d.length)}})},Kc.set(e,t),t}function TE(e){if(!e||!e.vnode.dirs)return null;const t=e.vnode.dirs;return e.vnode.dirs=null,t}const CE="data-n-ids",ME="-";function AE(e){var r,i,a,s,l,c;if(typeof e!="string")throw new TypeError("[nuxt] [useId] key must be a string.");e=`n${e.slice(1)}`;const t=$e(),n=Xt();if(!n)throw new TypeError("[nuxt] `useId` must be called within a component setup function.");t._id||(t._id=0),n._nuxtIdIndex||(n._nuxtIdIndex={}),(r=n._nuxtIdIndex)[e]||(r[e]=0);const o=e+ME+n._nuxtIdIndex[e]++;if(t.payload.serverRendered&&t.isHydrating&&!gt(Dv,!1)){const u=((i=n.vnode.el)==null?void 0:i.nodeType)===8&&((s=(a=n.vnode.el)==null?void 0:a.nextElementSibling)!=null&&s.getAttribute)?(l=n.vnode.el)==null?void 0:l.nextElementSibling:n.vnode.el,d=JSON.parse(((c=u==null?void 0:u.getAttribute)==null?void 0:c.call(u,CE))||"{}");if(d[o])return d[o]}return e+"_"+t._id++}const PE=Qe({name:"nuxt-site-config:init",enforce:"pre",async setup(e){const t=lc("site-config");let n={};return n=t.value||window.__NUXT_SITE_CONFIG__,{provide:{nuxtSiteConfig:n}}}}),OE=Qe({name:"nuxt:payload",setup(e){Yt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const o=await uh(t.path);o&&Object.assign(e.static.data,o.data)}),Rp(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:o}=new URL(n,window.location.href);o===window.location.hostname&&await uh(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(ac,1e3)})}}),RE=Qe(()=>{const e=Yt();Rp(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),IE=Qe(e=>{let t;async function n(){const o=await ac();t&&clearTimeout(t),t=setTimeout(n,Xf);try{const r=await $fetch(Sp("builds/latest.json")+`?${Date.now()}`);r.id!==o.id&&e.hooks.callHook("app:manifest:update",r)}catch{}}Rp(()=>{t=setTimeout(n,Xf)})}),LE=Qe({name:"nuxt:chunk-reload",setup(e){const t=Yt(),n=jt(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:i})=>{o.add(i)});function r(i){const s="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:_p(n.app.baseURL,i.fullPath);EE({path:s,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(r)}),t.onError((i,a)=>{o.has(i)&&r(a)})}}),BE=!1;/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */let zv;const is=e=>zv=e,Nv=Symbol();function td(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ra;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ra||(ra={}));function $E(){const e=ts(!0),t=e.run(()=>B({}));let n=[],o=[];const r=mp({install(i){is(r),r._a=i,i.provide(Nv,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!BE?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Fv=()=>{};function Dh(e,t,n,o=Fv){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&rr()&&Or(r),r}function Nr(e,...t){e.slice().forEach(n=>{n(...t)})}const DE=e=>e();function nd(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];td(r)&&td(o)&&e.hasOwnProperty(n)&&!Er(o)&&!k0(o)?e[n]=nd(r,o):e[n]=o}return e}const zE=Symbol();function NE(e){return!td(e)||!e.hasOwnProperty(zE)}const{assign:To}=Object;function FE(e){return!!(Er(e)&&e.effect)}function jE(e,t,n,o){const{state:r,actions:i,getters:a}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=r?r():{});const u=xt(n.state.value[e]);return To(u,i,Object.keys(a||{}).reduce((d,p)=>(d[p]=mp($(()=>{is(n);const f=n._s.get(e);return a[p].call(f,f)})),d),{}))}return l=jv(e,c,t,n,o,!0),l}function jv(e,t,n={},o,r,i){let a;const s=To({actions:{}},n),l={deep:!0};let c,u,d=[],p=[],f;const h=o.state.value[e];!i&&!h&&(o.state.value[e]={}),B({});let m;function y(T){let R;c=u=!1,typeof T=="function"?(T(o.state.value[e]),R={type:ra.patchFunction,storeId:e,events:f}):(nd(o.state.value[e],T),R={type:ra.patchObject,payload:T,storeId:e,events:f});const N=m=Symbol();Je().then(()=>{m===N&&(c=!0)}),u=!0,Nr(d,R,o.state.value[e])}const b=i?function(){const{state:R}=n,N=R?R():{};this.$patch(K=>{To(K,N)})}:Fv;function _(){a.stop(),d=[],p=[],o._s.delete(e)}function v(T,R){return function(){is(o);const N=Array.from(arguments),K=[],ne=[];function _e(A){K.push(A)}function U(A){ne.push(A)}Nr(p,{args:N,name:T,store:S,after:_e,onError:U});let z;try{z=R.apply(this&&this.$id===e?this:S,N)}catch(A){throw Nr(ne,A),A}return z instanceof Promise?z.then(A=>(Nr(K,A),A)).catch(A=>(Nr(ne,A),Promise.reject(A))):(Nr(K,z),z)}}const w={_p:o,$id:e,$onAction:Dh.bind(null,p),$patch:y,$reset:b,$subscribe(T,R={}){const N=Dh(d,T,R.detached,()=>K()),K=a.run(()=>be(()=>o.state.value[e],ne=>{(R.flush==="sync"?u:c)&&T({storeId:e,type:ra.direct,events:f},ne)},To({},l,R)));return N},$dispose:_},S=ln(w);o._s.set(e,S);const k=(o._a&&o._a.runWithContext||DE)(()=>o._e.run(()=>(a=ts()).run(t)));for(const T in k){const R=k[T];if(Er(R)&&!FE(R)||k0(R))i||(h&&NE(R)&&(Er(R)?R.value=h[T]:nd(R,h[T])),o.state.value[e][T]=R);else if(typeof R=="function"){const N=v(T,R);k[T]=N,s.actions[T]=R}}return To(S,k),To(tc(S),k),Object.defineProperty(S,"$state",{get:()=>o.state.value[e],set:T=>{y(R=>{To(R,T)})}}),o._p.forEach(T=>{To(S,a.run(()=>T({store:S,app:o._a,pinia:o,options:s})))}),h&&i&&n.hydrate&&n.hydrate(S.$state,h),c=!0,u=!0,S}function HE(e,t,n){let o,r;const i=typeof t=="function";typeof e=="string"?(o=e,r=i?n:t):(r=e,o=e.id);function a(s,l){const c=ec();return s=s||(c?gt(Nv,null):null),s&&is(s),s=zv,s._s.has(o)||(i?jv(o,t,r,s):jE(o,r,s)),s._s.get(o)}return a.$id=o,a}const WE=Qe(e=>{const t=$E();return e.vueApp.use(t),is(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}),UE=hl(()=>se(()=>import("./aI4NvhkC.js").then(e=>e.a),__vite__mapDeps([6,7,2,3,8,9]),import.meta.url).then(e=>e.default||e.default||e)),VE=hl(()=>se(()=>import("./UCJmXAgx.js"),__vite__mapDeps([148,7,2,3,8,149]),import.meta.url).then(e=>e.default||e.default||e)),GE=[["Icon",UE],["IconCSS",VE]],qE=Qe({name:"nuxt:global-components",setup(e){for(const[t,n]of GE)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Fo={"editor-header":()=>se(()=>import("./BM1m3vIy.js"),__vite__mapDeps([150,15,2,3,11,8,12,85,86,41,42,30,151]),import.meta.url).then(e=>e.default||e),"email-capture-footer-layout":()=>se(()=>import("./BgYkgi4N.js"),__vite__mapDeps([152,8,2,3,153]),import.meta.url).then(e=>e.default||e),"individual-page":()=>se(()=>import("./u5aXiH41.js"),__vite__mapDeps([154,15,2,3,23,96,8]),import.meta.url).then(e=>e.default||e),"staff-dashboard":()=>se(()=>import("./BvW_r2yT.js"),__vite__mapDeps([155,6,7,2,3,8,9,15,83,30,33,21]),import.meta.url).then(e=>e.default||e),"with-header":()=>se(()=>import("./5YGsJBCs.js"),__vite__mapDeps([156,15,2,3,8,157]),import.meta.url).then(e=>e.default||e),naked:()=>se(()=>import("./DYyMq7HT.js"),__vite__mapDeps([158,8,2,3]),import.meta.url).then(e=>e.default||e)},KE=Qe({name:"nuxt:prefetch",setup(e){const t=Yt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var r;const o=(r=n==null?void 0:n.meta)==null?void 0:r.layout;o&&typeof Fo[o]=="function"&&await Fo[o]()})}),e.hooks.hook("link:prefetch",n=>{if(Rr(n))return;const o=t.resolve(n);if(!o)return;const r=o.meta.layout;let i=Pp(o.meta.middleware);i=i.filter(a=>typeof a=="string");for(const a of i)typeof oa[a]=="function"&&oa[a]();r&&typeof Fo[r]=="function"&&Fo[r]()})}}),Hv=Object.prototype.toString;function Wv(e){switch(Hv.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return bi(e,Error)}}function Ci(e,t){return Hv.call(e)===`[object ${t}]`}function C$(e){return Ci(e,"ErrorEvent")}function M$(e){return Ci(e,"DOMError")}function A$(e){return Ci(e,"DOMException")}function Vo(e){return Ci(e,"String")}function YE(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function P$(e){return e===null||YE(e)||typeof e!="object"&&typeof e!="function"}function Ip(e){return Ci(e,"Object")}function XE(e){return typeof Event<"u"&&bi(e,Event)}function ZE(e){return typeof Element<"u"&&bi(e,Element)}function JE(e){return Ci(e,"RegExp")}function Lp(e){return!!(e&&e.then&&typeof e.then=="function")}function QE(e){return Ip(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function bi(e,t){try{return e instanceof t}catch{return!1}}function Uv(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function ia(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function O$(e,t){if(!Array.isArray(e))return"";const n=[];for(let o=0;o<e.length;o++){const r=e[o];try{Uv(r)?n.push("[VueViewModel]"):n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function eT(e,t,n=!1){return Vo(e)?JE(t)?t.test(e):Vo(t)?n?e===t:e.includes(t):!1:!1}function Yc(e,t=[],n=!1){return t.some(o=>eT(e,o,n))}const aa="8.30.0",Be=globalThis;function uc(e,t,n){const o=Be,r=o.__SENTRY__=o.__SENTRY__||{},i=r[aa]=r[aa]||{};return i[e]||(i[e]=t())}const Xr=Be,tT=80;function yi(e,t={}){if(!e)return"<unknown>";try{let n=e;const o=5,r=[];let i=0,a=0;const s=" > ",l=s.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||tT;for(;n&&i++<o&&(c=nT(n,u),!(c==="html"||i>1&&a+r.length*l+c.length>=d));)r.push(c),a+=c.length,n=n.parentNode;return r.reverse().join(s)}catch{return"<unknown>"}}function nT(e,t){const n=e,o=[];if(!n||!n.tagName)return"";if(Xr.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}o.push(n.tagName.toLowerCase());const r=t&&t.length?t.filter(a=>n.getAttribute(a)).map(a=>[a,n.getAttribute(a)]):null;if(r&&r.length)r.forEach(a=>{o.push(`[${a[0]}="${a[1]}"]`)});else{n.id&&o.push(`#${n.id}`);const a=n.className;if(a&&Vo(a)){const s=a.split(/\s+/);for(const l of s)o.push(`.${l}`)}}const i=["aria-label","type","name","title","alt"];for(const a of i){const s=n.getAttribute(a);s&&o.push(`[${a}="${s}"]`)}return o.join("")}function R$(){try{return Xr.document.location.href}catch{return""}}function oT(e){return Xr.document&&Xr.document.querySelector?Xr.document.querySelector(e):null}function rT(e){if(!Xr.HTMLElement)return null;let t=e;const n=5;for(let o=0;o<n;o++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}const Mi=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,iT="Sentry Logger ",zh=["debug","info","warn","error","log","assert","trace"],Nh={};function as(e){if(!("console"in Be))return e();const t=Be.console,n={},o=Object.keys(Nh);o.forEach(r=>{const i=Nh[r];n[r]=t[r],t[r]=i});try{return e()}finally{o.forEach(r=>{t[r]=n[r]})}}function aT(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Mi?zh.forEach(n=>{t[n]=(...o)=>{e&&as(()=>{Be.console[n](`${iT}[${n}]:`,...o)})}}):zh.forEach(n=>{t[n]=()=>{}}),t}const le=uc("logger",aT),sT=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function lT(e){return e==="http"||e==="https"}function Bp(e,t=!1){const{host:n,path:o,pass:r,port:i,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&r?`:${r}`:""}@${n}${i?`:${i}`:""}/${o&&`${o}/`}${a}`}function cT(e){const t=sT.exec(e);if(!t){as(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,o,r="",i="",a="",s=""]=t.slice(1);let l="",c=s;const u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){const d=c.match(/^\d+/);d&&(c=d[0])}return Vv({host:i,pass:r,path:l,projectId:c,port:a,protocol:n,publicKey:o})}function Vv(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function uT(e){if(!Mi)return!0;const{port:t,projectId:n,protocol:o}=e;return["protocol","publicKey","host","projectId"].find(a=>e[a]?!1:(le.error(`Invalid Sentry Dsn: ${a} missing`),!0))?!1:n.match(/^\d+$/)?lT(o)?t&&isNaN(parseInt(t,10))?(le.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(le.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(le.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function I$(e){const t=typeof e=="string"?cT(e):Vv(e);if(!(!t||!uT(t)))return t}function od(e,t,n){if(!(t in e))return;const o=e[t],r=n(o);typeof r=="function"&&Gv(r,o),e[t]=r}function Wn(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Mi&&le.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function Gv(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Wn(e,"__sentry_original__",t)}catch{}}function dT(e){return e.__sentry_original__}function L$(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function qv(e){if(Wv(e))return{message:e.message,name:e.name,stack:e.stack,...jh(e)};if(XE(e)){const t={type:e.type,target:Fh(e.target),currentTarget:Fh(e.currentTarget),...jh(e)};return typeof CustomEvent<"u"&&bi(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Fh(e){try{return ZE(e)?yi(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function jh(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function B$(e,t=40){const n=Object.keys(qv(e));n.sort();const o=n[0];if(!o)return"[object has no keys]";if(o.length>=t)return ia(o,t);for(let r=n.length;r>0;r--){const i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:ia(i,t)}return""}function _t(e){return rd(e,new Map)}function rd(e,t){if(pT(e)){const n=t.get(e);if(n!==void 0)return n;const o={};t.set(e,o);for(const r of Object.keys(e))typeof e[r]<"u"&&(o[r]=rd(e[r],t));return o}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const o=[];return t.set(e,o),e.forEach(r=>{o.push(rd(r,t))}),o}return e}function pT(e){if(!Ip(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const Kv=50,fT="?",Hh=/\(error: (.*)\)/,Wh=/captureMessage|captureException/;function hT(...e){const t=e.sort((n,o)=>n[0]-o[0]).map(n=>n[1]);return(n,o=0,r=0)=>{const i=[],a=n.split(`
`);for(let s=o;s<a.length;s++){const l=a[s];if(l.length>1024)continue;const c=Hh.test(l)?l.replace(Hh,"$1"):l;if(!c.match(/\S*Error: /)){for(const u of t){const d=u(c);if(d){i.push(d);break}}if(i.length>=Kv+r)break}}return mT(i.slice(r))}}function $$(e){return Array.isArray(e)?hT(...e):e}function mT(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(Cs(t).function||"")&&t.pop(),t.reverse(),Wh.test(Cs(t).function||"")&&(t.pop(),Wh.test(Cs(t).function||"")&&t.pop()),t.slice(0,Kv).map(n=>({...n,filename:n.filename||Cs(t).filename,function:n.function||fT}))}function Cs(e){return e[e.length-1]||{}}const Xc="<anonymous>";function $p(e){try{return!e||typeof e!="function"?Xc:e.name||Xc}catch{return Xc}}function D$(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(o=>{o.stacktrace.frames&&n.push(...o.stacktrace.frames)}),n}catch{return}}}const nl={},Uh={};function Ai(e,t){nl[e]=nl[e]||[],nl[e].push(t)}function Pi(e,t){Uh[e]||(t(),Uh[e]=!0)}function zn(e,t){const n=e&&nl[e];if(n)for(const o of n)try{o(t)}catch(r){Mi&&le.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${$p(o)}
Error:`,r)}}const id=Be;function gT(){if(!("fetch"in id))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Vh(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function vT(){if(typeof EdgeRuntime=="string")return!0;if(!gT())return!1;if(Vh(id.fetch))return!0;let e=!1;const t=id.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=Vh(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){Mi&&le.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}const Yv=1e3;function Dp(){return Date.now()/Yv}function bT(){const{performance:e}=Be;if(!e||!e.now)return Dp;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/Yv}const St=bT(),zt=(()=>{const{performance:e}=Be;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),o=Date.now(),r=e.timeOrigin?Math.abs(e.timeOrigin+n-o):t,i=r<t,a=e.timing&&e.timing.navigationStart,l=typeof a=="number"?Math.abs(a+n-o):t,c=l<t;return i||c?r<=l?e.timeOrigin:a:o})();function yT(e,t){const n="fetch";Ai(n,e),Pi(n,()=>Xv(void 0,t))}function _T(e){const t="fetch-body-resolved";Ai(t,e),Pi(t,()=>Xv(ST))}function Xv(e,t=!1){t&&!vT()||od(Be,"fetch",function(n){return function(...o){const{method:r,url:i}=kT(o),a={args:o,fetchData:{method:r,url:i},startTimestamp:St()*1e3};e||zn("fetch",{...a});const s=new Error().stack;return n.apply(Be,o).then(async l=>(e?e(l):zn("fetch",{...a,endTimestamp:St()*1e3,response:l}),l),l=>{throw zn("fetch",{...a,endTimestamp:St()*1e3,error:l}),Wv(l)&&l.stack===void 0&&(l.stack=s,Wn(l,"framesToPop",1)),l})}})}async function wT(e,t){if(e&&e.body&&e.body.getReader){const n=e.body.getReader();async function o({done:r}){if(r)return Promise.resolve();try{const i=await Promise.race([n.read(),new Promise(a=>{setTimeout(()=>{a({done:!0})},5e3)})]);await o(i)}catch{}}return n.read().then(o).then(t).catch(()=>{})}}async function ST(e){let t;try{t=e.clone()}catch{return}await wT(t,()=>{zn("fetch-body-resolved",{endTimestamp:St()*1e3,response:e})})}function ad(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Gh(e){return typeof e=="string"?e:e?ad(e,"url")?e.url:e.toString?e.toString():"":""}function kT(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,o]=e;return{url:Gh(n),method:ad(o,"method")?String(o.method).toUpperCase():"GET"}}const t=e[0];return{url:Gh(t),method:ad(t,"method")?String(t.method).toUpperCase():"GET"}}let Ms=null;function xT(e){const t="error";Ai(t,e),Pi(t,ET)}function ET(){Ms=Be.onerror,Be.onerror=function(e,t,n,o,r){return zn("error",{column:o,error:r,line:n,msg:e,url:t}),Ms&&!Ms.__SENTRY_LOADER__?Ms.apply(this,arguments):!1},Be.onerror.__SENTRY_INSTRUMENTED__=!0}let As=null;function TT(e){const t="unhandledrejection";Ai(t,e),Pi(t,CT)}function CT(){As=Be.onunhandledrejection,Be.onunhandledrejection=function(e){return zn("unhandledrejection",e),As&&!As.__SENTRY_LOADER__?As.apply(this,arguments):!0},Be.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function MT(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(r){if(e)return t.has(r)?!0:(t.add(r),!1);for(let i=0;i<t.length;i++)if(t[i]===r)return!0;return t.push(r),!1}function o(r){if(e)t.delete(r);else for(let i=0;i<t.length;i++)if(t[i]===r){t.splice(i,1);break}}return[n,o]}function tt(){const e=Be,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const o=new Uint8Array(1);return t.getRandomValues(o),o[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,o=>(o^(n()&15)>>o/4).toString(16))}function Zv(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function z$(e){const{message:t,event_id:n}=e;if(t)return t;const o=Zv(e);return o?o.type&&o.value?`${o.type}: ${o.value}`:o.type||o.value||n||"<unknown>":n||"<unknown>"}function AT(e,t,n){const o=e.exception=e.exception||{},r=o.values=o.values||[],i=r[0]=r[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function Jv(e,t){const n=Zv(e);if(!n)return;const o={type:"generic",handled:!0},r=n.mechanism;if(n.mechanism={...o,...r,...t},t&&"data"in t){const i={...r&&r.data,...t.data};n.mechanism.data=i}}function N$(e){if(e&&e.__sentry_captured__)return!0;try{Wn(e,"__sentry_captured__",!0)}catch{}return!1}function zp(e){return Array.isArray(e)?e:[e]}function Po(e,t=100,n=1/0){try{return sd("",e,t,n)}catch(o){return{ERROR:`**non-serializable** (${o})`}}}function PT(e,t=3,n=100*1024){const o=Po(e,t);return LT(o)>n?PT(e,t-1,n):o}function sd(e,t,n=1/0,o=1/0,r=MT()){const[i,a]=r;if(t==null||["number","boolean","string"].includes(typeof t)&&!Number.isNaN(t))return t;const s=OT(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;const l=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(l===0)return s.replace("object ","");if(i(t))return"[Circular ~]";const c=t;if(c&&typeof c.toJSON=="function")try{const f=c.toJSON();return sd("",f,l-1,o,r)}catch{}const u=Array.isArray(t)?[]:{};let d=0;const p=qv(t);for(const f in p){if(!Object.prototype.hasOwnProperty.call(p,f))continue;if(d>=o){u[f]="[MaxProperties ~]";break}const h=p[f];u[f]=sd(f,h,l-1,o,r),d++}return a(t),u}function OT(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(Uv(t))return"[VueViewModel]";if(QE(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${$p(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=RT(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function RT(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function IT(e){return~-encodeURI(e).split(/%..|./).length}function LT(e){return IT(JSON.stringify(e))}var oo;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const o=2;e[e.REJECTED=o]="REJECTED"})(oo||(oo={}));function F$(e){return new Ln(t=>{t(e)})}function j$(e){return new Ln((t,n)=>{n(e)})}class Ln{constructor(t){Ln.prototype.__init.call(this),Ln.prototype.__init2.call(this),Ln.prototype.__init3.call(this),Ln.prototype.__init4.call(this),this._state=oo.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new Ln((o,r)=>{this._handlers.push([!1,i=>{if(!t)o(i);else try{o(t(i))}catch(a){r(a)}},i=>{if(!n)r(i);else try{o(n(i))}catch(a){r(a)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new Ln((n,o)=>{let r,i;return this.then(a=>{i=!1,r=a,t&&t()},a=>{i=!0,r=a,t&&t()}).then(()=>{if(i){o(r);return}n(r)})})}__init(){this._resolve=t=>{this._setResult(oo.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(oo.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===oo.PENDING){if(Lp(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===oo.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===oo.RESOLVED&&n[1](this._value),this._state===oo.REJECTED&&n[2](this._value),n[0]=!0)})}}}function dc(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",o=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:o,relative:t[5]+n+o}}const ld="baggage",Qv="sentry-",BT=/^sentry-/,$T=8192;function eb(e){const t=DT(e);if(!t)return;const n=Object.entries(t).reduce((o,[r,i])=>{if(r.match(BT)){const a=r.slice(Qv.length);o[a]=i}return o},{});if(Object.keys(n).length>0)return n}function tb(e){if(!e)return;const t=Object.entries(e).reduce((n,[o,r])=>(r&&(n[`${Qv}${o}`]=r),n),{});return zT(t)}function DT(e){if(!(!e||!Vo(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const o=qh(n);return Object.entries(o).forEach(([r,i])=>{t[r]=i}),t},{}):qh(e)}function qh(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,o])=>(n&&o&&(t[n]=o),t),{})}function zT(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,o],r)=>{const i=`${encodeURIComponent(n)}=${encodeURIComponent(o)}`,a=r===0?i:`${t},${i}`;return a.length>$T?(Mi&&le.warn(`Not adding key: ${n} with val: ${o} to baggage header due to exceeding baggage size limits.`),t):a},"")}const NT=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function FT(e){if(!e)return;const t=e.match(NT);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 jT(e,t){const n=FT(e),o=eb(t),{traceId:r,parentSpanId:i,parentSampled:a}=n||{};return n?{traceId:r||tt(),parentSpanId:i||tt().substring(16),spanId:tt().substring(16),sampled:a,dsc:o||{}}:{traceId:r||tt(),spanId:tt().substring(16)}}function Np(e=tt(),t=tt().substring(16),n){let o="";return n!==void 0&&(o=n?"-1":"-0"),`${e}-${t}${o}`}function Fp(e,t=[]){return[e,t]}function H$(e,t){const[n,o]=e;return[n,[...o,t]]}function W$(e,t){const n=e[1];for(const o of n){const r=o[0].type;if(t(o,r))return!0}return!1}function cd(e){return Be.__SENTRY__&&Be.__SENTRY__.encodePolyfill?Be.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function U$(e){const[t,n]=e;let o=JSON.stringify(t);function r(i){typeof o=="string"?o=typeof i=="string"?o+i:[cd(o),i]:o.push(typeof i=="string"?cd(i):i)}for(const i of n){const[a,s]=i;if(r(`
${JSON.stringify(a)}
`),typeof s=="string"||s instanceof Uint8Array)r(s);else{let l;try{l=JSON.stringify(s)}catch{l=JSON.stringify(Po(s))}r(l)}}return typeof o=="string"?o:HT(o)}function HT(e){const t=e.reduce((r,i)=>r+i.length,0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(r,o),o+=r.length;return n}function WT(e){return[{type:"span"},e]}function V$(e){const t=typeof e.data=="string"?cd(e.data):e.data;return[_t({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const UT={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function G$(e){return UT[e]}function nb(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function VT(e,t,n,o){const r=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&o&&{dsn:Bp(o)},...r&&{trace:_t({...r})}}}function so(e){let t,n=e[0],o=1;for(;o<e.length;){const r=e[o],i=e[o+1];if(o+=2,(r==="optionalAccess"||r==="optionalCall")&&n==null)return;r==="access"||r==="optionalAccess"?(t=n,n=i(n)):(r==="call"||r==="optionalCall")&&(n=i((...a)=>n.call(t,...a)),t=void 0)}return n}function Tl(){return{traceId:tt(),spanId:tt().substring(16)}}const Ps=Be;function GT(){const e=Ps.chrome,t=e&&e.app&&e.app.runtime,n="history"in Ps&&!!Ps.history.pushState&&!!Ps.history.replaceState;return!t&&n}const nt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Oi(){return jp(Be),Be}function jp(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||aa,t[aa]=t[aa]||{}}function qT(e){const t=St(),n={sid:tt(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>YT(n)};return e&&pc(n,e),n}function pc(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||St(),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:tt()),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{const n=e.timestamp-e.started;e.duration=n>=0?n: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),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function KT(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),pc(e,n)}function YT(e){return _t({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}})}const ud="_sentrySpan";function za(e,t){t?Wn(e,ud,t):delete e[ud]}function Cl(e){return e[ud]}const XT=100;class Hp{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Tl()}clone(){const t=new Hp;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},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._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,za(t,Cl(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&pc(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,[o,r]=n instanceof Qo?[n.getScopeData(),n.getRequestSession()]:Ip(n)?[t,t.requestSession]:[],{tags:i,extra:a,user:s,contexts:l,level:c,fingerprint:u=[],propagationContext:d}=o||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...l},s&&Object.keys(s).length&&(this._user=s),c&&(this._level=c),u.length&&(this._fingerprint=u),d&&(this._propagationContext=d),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,za(this,void 0),this._attachments=[],this._propagationContext=Tl(),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const o=typeof n=="number"?n:XT;if(o<=0)return this;const r={timestamp:Dp(),...t},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>o?i.slice(-o):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,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:Cl(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const o=n&&n.event_id?n.event_id:tt();if(!this._client)return le.warn("No client configured on scope - will not capture exception!"),o;const r=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:r,...n,event_id:o},this),o}captureMessage(t,n,o){const r=o&&o.event_id?o.event_id:tt();if(!this._client)return le.warn("No client configured on scope - will not capture message!"),r;const i=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...o,event_id:r},this),r}captureEvent(t,n){const o=n&&n.event_id?n.event_id:tt();return this._client?(this._client.captureEvent(t,{...n,event_id:o},this),o):(le.warn("No client configured on scope - will not capture event!"),o)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}const Qo=Hp;function ZT(){return uc("defaultCurrentScope",()=>new Qo)}function JT(){return uc("defaultIsolationScope",()=>new Qo)}class QT{constructor(t,n){let o;t?o=t:o=new Qo;let r;n?r=n:r=new Qo,this._stack=[{scope:o}],this._isolationScope=r}withScope(t){const n=this._pushScope();let o;try{o=t(n)}catch(r){throw this._popScope(),r}return Lp(o)?o.then(r=>(this._popScope(),r),r=>{throw this._popScope(),r}):(this._popScope(),o)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function _i(){const e=Oi(),t=jp(e);return t.stack=t.stack||new QT(ZT(),JT())}function eC(e){return _i().withScope(e)}function tC(e,t){const n=_i();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Kh(e){return _i().withScope(()=>e(_i().getIsolationScope()))}function nC(){return{withIsolationScope:Kh,withScope:eC,withSetScope:tC,withSetIsolationScope:(e,t)=>Kh(t),getCurrentScope:()=>_i().getScope(),getIsolationScope:()=>_i().getIsolationScope()}}function ss(e){const t=jp(e);return t.acs?t.acs:nC()}function He(){const e=Oi();return ss(e).getCurrentScope()}function Ir(){const e=Oi();return ss(e).getIsolationScope()}function oC(){return uc("globalScope",()=>new Qo)}function Wp(...e){const t=Oi(),n=ss(t);if(e.length===2){const[o,r]=e;return o?n.withSetScope(o,r):n.withScope(r)}return n.withScope(e[0])}function it(){return He().getClient()}const rC="_sentryMetrics";function dd(e){const t=e[rC];if(!t)return;const n={};for(const[,[o,r]]of t)(n[o]||(n[o]=[])).push(_t(r));return n}const vn="sentry.source",ob="sentry.sample_rate",Mr="sentry.op",Ue="sentry.origin",pd="sentry.idle_span_finish_reason",fc="sentry.measurement_unit",hc="sentry.measurement_value",iC="sentry.profile_id",Up="sentry.exclusive_time",aC=0,rb=1,lt=2;function sC(e){if(e<400&&e>=100)return{code:rb};if(e>=400&&e<500)switch(e){case 401:return{code:lt,message:"unauthenticated"};case 403:return{code:lt,message:"permission_denied"};case 404:return{code:lt,message:"not_found"};case 409:return{code:lt,message:"already_exists"};case 413:return{code:lt,message:"failed_precondition"};case 429:return{code:lt,message:"resource_exhausted"};case 499:return{code:lt,message:"cancelled"};default:return{code:lt,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:lt,message:"unimplemented"};case 503:return{code:lt,message:"unavailable"};case 504:return{code:lt,message:"deadline_exceeded"};default:return{code:lt,message:"internal_error"}}return{code:lt,message:"unknown_error"}}function ib(e,t){e.setAttribute("http.response.status_code",t);const n=sC(t);n.message!=="unknown_error"&&e.setStatus(n)}const ab=0,sb=1;function lC(e){const{spanId:t,traceId:n}=e.spanContext(),{data:o,op:r,parent_span_id:i,status:a,origin:s}=Ae(e);return _t({parent_span_id:i,span_id:t,trace_id:n,data:o,op:r,status:a,origin:s})}function cC(e){const{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:o}=Ae(e);return _t({parent_span_id:o,span_id:t,trace_id:n})}function lb(e){const{traceId:t,spanId:n}=e.spanContext(),o=Lr(e);return Np(t,n,o)}function Sr(e){return typeof e=="number"?Yh(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Yh(e.getTime()):St()}function Yh(e){return e>9999999999?e/1e3:e}function Ae(e){if(dC(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(uC(e)){const{attributes:o,startTime:r,name:i,endTime:a,parentSpanId:s,status:l}=e;return _t({span_id:t,trace_id:n,data:o,description:i,parent_span_id:s,start_timestamp:Sr(r),timestamp:Sr(a)||void 0,status:cb(l),op:o[Mr],origin:o[Ue],_metrics_summary:dd(e)})}return{span_id:t,trace_id:n}}catch{return{}}}function uC(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function dC(e){return typeof e.getSpanJSON=="function"}function Lr(e){const{traceFlags:t}=e.spanContext();return t===sb}function cb(e){if(!(!e||e.code===aC))return e.code===rb?"ok":e.message||"unknown_error"}const kr="_sentryChildSpans",fd="_sentryRootSpan";function ub(e,t){const n=e[fd]||e;Wn(t,fd,n),e[kr]?e[kr].add(t):Wn(e,kr,new Set([t]))}function pC(e,t){e[kr]&&e[kr].delete(t)}function ol(e){const t=new Set;function n(o){if(!t.has(o)&&Lr(o)){t.add(o);const r=o[kr]?Array.from(o[kr]):[];for(const i of r)n(i)}}return n(e),Array.from(t)}function mt(e){return e[fd]||e}function dt(){const e=Oi(),t=ss(e);return t.getActiveSpan?t.getActiveSpan():Cl(He())}let Xh=!1;function fC(){Xh||(Xh=!0,xT(hd),TT(hd))}function hd(){const e=dt(),t=e&&mt(e);if(t){const n="internal_error";nt&&le.log(`[Tracing] Root span: ${n} -> Global error occured`),t.setStatus({code:lt,message:n})}}hd.tag="sentry_tracingErrorCallback";const db="_sentryScope",pb="_sentryIsolationScope";function hC(e,t,n){e&&(Wn(e,pb,n),Wn(e,db,t))}function Zh(e){return{scope:e[db],isolationScope:e[pb]}}function go(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=it(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}class Ri{constructor(t={}){this._traceId=t.traceId||tt(),this._spanId=t.spanId||tt().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:ab}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,n,o){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}const Vp="production",fb="_frozenDsc";function Jh(e,t){Wn(e,fb,t)}function Gp(e,t){const n=t.getOptions(),{publicKey:o}=t.getDsn()||{},r=_t({environment:n.environment||Vp,release:n.release,public_key:o,trace_id:e});return t.emit("createDsc",r),r}function Br(e){const t=it();if(!t)return{};const n=Gp(Ae(e).trace_id||"",t),o=mt(e),r=o[fb];if(r)return r;const i=o.spanContext().traceState,a=i&&i.get("sentry.dsc"),s=a&&eb(a);if(s)return s;const l=Ae(o),c=l.data||{},u=c[ob];u!=null&&(n.sample_rate=`${u}`);const d=c[vn],p=l.description;return d!=="url"&&p&&(n.transaction=p),n.sampled=String(Lr(o)),t.emit("createDsc",n,o),n}function mC(e){if(!nt)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:o}=Ae(e),{spanId:r}=e.spanContext(),i=Lr(e),a=mt(e),s=a===e,l=`[Tracing] Starting ${i?"sampled":"unsampled"} ${s?"root ":""}span`,c=[`op: ${n}`,`name: ${t}`,`ID: ${r}`];if(o&&c.push(`parent ID: ${o}`),!s){const{op:u,description:d}=Ae(a);c.push(`root ID: ${a.spanContext().spanId}`),u&&c.push(`root op: ${u}`),d&&c.push(`root description: ${d}`)}le.log(`${l}
  ${c.join(`
  `)}`)}function gC(e){if(!nt)return;const{description:t="< unknown name >",op:n="< unknown op >"}=Ae(e),{spanId:o}=e.spanContext(),i=mt(e)===e,a=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${o}`;le.log(a)}function vC(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(typeof t!="number"||isNaN(t)||t<0||t>1){nt&&le.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}function bC(e,t){if(!go(e))return[!1];let n;typeof e.tracesSampler=="function"?n=e.tracesSampler(t):t.parentSampled!==void 0?n=t.parentSampled:typeof e.tracesSampleRate<"u"?n=e.tracesSampleRate:n=1;const o=vC(n);return o===void 0?(nt&&le.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):o?Math.random()<o?[!0,o]:(nt&&le.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[!1,o]):(nt&&le.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,o])}function yC(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function q$(e,t,n,o){const r=nb(n),i={sent_at:new Date().toISOString(),...r&&{sdk:r},...!!o&&t&&{dsn:Bp(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Fp(i,[a])}function K$(e,t,n,o){const r=nb(n),i=e.type&&e.type!=="replay_event"?e.type:"event";yC(e,n&&n.sdk);const a=VT(e,r,o,t);return delete e.sdkProcessingMetadata,Fp(a,[[{type:i},e]])}function _C(e,t){function n(u){return!!u.trace_id&&!!u.public_key}const o=Br(e[0]),r=t&&t.getDsn(),i=t&&t.getOptions().tunnel,a={sent_at:new Date().toISOString(),...n(o)&&{trace:o},...!!i&&r&&{dsn:Bp(r)}},s=t&&t.getOptions().beforeSendSpan,l=s?u=>s(Ae(u)):u=>Ae(u),c=[];for(const u of e){const d=l(u);d&&c.push(WT(d))}return Fp(a,c)}function wC(e,t,n,o=dt()){const r=o&&mt(o);r&&r.addEvent(e,{[hc]:t,[fc]:n})}function Qh(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const o=n.attributes||{},r=o[fc],i=o[hc];typeof r=="string"&&typeof i=="number"&&(t[n.name]={value:i,unit:r})}),t}const em=1e3;class qp{constructor(t={}){this._traceId=t.traceId||tt(),this._spanId=t.spanId||tt().substring(16),this._startTime=t.startTimestamp||St(),this._attributes={},this.setAttributes({[Ue]:"manual",[Mr]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this}addLinks(t){return this}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:o}=this;return{spanId:t,traceId:n,traceFlags:o?sb:ab}}setAttribute(t,n){return n===void 0?delete this._attributes[t]:this._attributes[t]=n,this}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._startTime=Sr(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this}end(t){this._endTime||(this._endTime=Sr(t),gC(this),this._onSpanEnded())}getSpanJSON(){return _t({data:this._attributes,description:this._name,op:this._attributes[Mr],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:cb(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Ue],_metrics_summary:dd(this),profile_id:this._attributes[iC],exclusive_time:this._attributes[Up],measurements:Qh(this._events),is_segment:this._isStandaloneSpan&&mt(this)===this||void 0,segment_id:this._isStandaloneSpan?mt(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,o){nt&&le.log("[Tracing] Adding an event to span:",t);const r=tm(n)?n:o||St(),i=tm(n)?{}:n||{},a={name:t,time:Sr(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=it();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===mt(this)))return;if(this._isStandaloneSpan){this._sampled?kC(_C([this],t)):(nt&&le.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}const o=this._convertSpanToTransaction();o&&(Zh(this).scope||He()).captureEvent(o)}_convertSpanToTransaction(){if(!nm(Ae(this)))return;this._name||(nt&&le.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=Zh(this),r=(t||He()).getClient()||it();if(this._sampled!==!0){nt&&le.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),r&&r.recordDroppedEvent("sample_rate","transaction");return}const a=ol(this).filter(d=>d!==this&&!SC(d)).map(d=>Ae(d)).filter(nm),s=this._attributes[vn],l={contexts:{trace:lC(this)},spans:a.length>em?a.sort((d,p)=>d.start_timestamp-p.start_timestamp).slice(0,em):a,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,..._t({dynamicSamplingContext:Br(this)})},_metrics_summary:dd(this),...s&&{transaction_info:{source:s}}},c=Qh(this._events);return c&&Object.keys(c).length&&(nt&&le.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),l.measurements=c),l}}function tm(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function nm(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function SC(e){return e instanceof qp&&e.isStandaloneSpan()}function kC(e){const t=it();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}const o=t.getTransport();o&&o.send(e).then(null,r=>{nt&&le.error("Error while sending span:",r)})}const hb="__SENTRY_SUPPRESS_TRACING__";function Un(e){const t=gb();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=EC(e),{forceTransaction:o,parentSpan:r}=e;return(e.scope?a=>Wp(e.scope,a):r!==void 0?a=>mb(r,a):a=>a())(()=>{const a=He(),s=CC(a);return e.onlyIfParent&&!s?new Ri:xC({parentSpan:s,spanArguments:n,forceTransaction:o,scope:a})})}function mb(e,t){const n=gb();return n.withActiveSpan?n.withActiveSpan(e,t):Wp(o=>(za(o,e||void 0),t(o)))}function xC({parentSpan:e,spanArguments:t,forceTransaction:n,scope:o}){if(!go())return new Ri;const r=Ir();let i;if(e&&!n)i=TC(e,o,t),ub(e,i);else if(e){const a=Br(e),{traceId:s,spanId:l}=e.spanContext(),c=Lr(e);i=om({traceId:s,parentSpanId:l,...t},o,c),Jh(i,a)}else{const{traceId:a,dsc:s,parentSpanId:l,sampled:c}={...r.getPropagationContext(),...o.getPropagationContext()};i=om({traceId:a,parentSpanId:l,...t},o,c),s&&Jh(i,s)}return mC(i),hC(i,o,r),i}function EC(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const o={...n};return o.startTimestamp=Sr(e.startTime),delete o.startTime,o}return n}function gb(){const e=Oi();return ss(e)}function om(e,t,n){const o=it(),r=o&&o.getOptions()||{},{name:i="",attributes:a}=e,[s,l]=t.getScopeData().sdkProcessingMetadata[hb]?[!1]:bC(r,{name:i,parentSampled:n,attributes:a,transactionContext:{name:i,parentSampled:n}}),c=new qp({...e,attributes:{[vn]:"custom",...e.attributes},sampled:s});return l!==void 0&&c.setAttribute(ob,l),o&&o.emit("spanStart",c),c}function TC(e,t,n){const{spanId:o,traceId:r}=e.spanContext(),i=t.getScopeData().sdkProcessingMetadata[hb]?!1:Lr(e),a=i?new qp({...n,parentSpanId:o,traceId:r,sampled:i}):new Ri({traceId:r});ub(e,a);const s=it();return s&&(s.emit("spanStart",a),n.endTimestamp&&s.emit("spanEnd",a)),a}function CC(e){const t=Cl(e);if(!t)return;const n=it();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?mt(t):t}const rl={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},MC="heartbeatFailed",AC="idleTimeout",PC="finalTimeout",OC="externalFinish";function vb(e,t={}){const n=new Map;let o=!1,r,i=OC,a=!t.disableAutoFinish;const s=[],{idleTimeout:l=rl.idleTimeout,finalTimeout:c=rl.finalTimeout,childSpanTimeout:u=rl.childSpanTimeout,beforeSpanEnd:d}=t,p=it();if(!p||!go())return new Ri;const f=He(),h=dt(),m=RC(e);m.end=new Proxy(m.end,{apply(x,k,T){d&&d(m);const[R,...N]=T,K=R||St(),ne=Sr(K),_e=ol(m).filter(j=>j!==m);if(!_e.length)return S(ne),Reflect.apply(x,k,[ne,...N]);const U=_e.map(j=>Ae(j).timestamp).filter(j=>!!j),z=U.length?Math.max(...U):void 0,A=Ae(m).start_timestamp,V=Math.min(A?A+c/1e3:1/0,Math.max(A||-1/0,Math.min(ne,z||1/0)));return S(V),Reflect.apply(x,k,[V,...N])}});function y(){r&&(clearTimeout(r),r=void 0)}function b(x){y(),r=setTimeout(()=>{!o&&n.size===0&&a&&(i=AC,m.end(x))},l)}function _(x){r=setTimeout(()=>{!o&&a&&(i=MC,m.end(x))},u)}function v(x){y(),n.set(x,!0);const k=St();_(k+u/1e3)}function w(x){if(n.has(x)&&n.delete(x),n.size===0){const k=St();b(k+l/1e3)}}function S(x){o=!0,n.clear(),s.forEach(ne=>ne()),za(f,h);const k=Ae(m),{start_timestamp:T}=k;if(!T)return;(k.data||{})[pd]||m.setAttribute(pd,i),le.log(`[Tracing] Idle span "${k.op}" finished`);const N=ol(m).filter(ne=>ne!==m);let K=0;N.forEach(ne=>{ne.isRecording()&&(ne.setStatus({code:lt,message:"cancelled"}),ne.end(x),nt&&le.log("[Tracing] Cancelling span since span ended early",JSON.stringify(ne,void 0,2)));const _e=Ae(ne),{timestamp:U=0,start_timestamp:z=0}=_e,A=z<=x,V=(c+l)/1e3,j=U-z<=V;if(nt){const ee=JSON.stringify(ne,void 0,2);A?j||le.log("[Tracing] Discarding span since it finished after idle span final timeout",ee):le.log("[Tracing] Discarding span since it happened after idle span was finished",ee)}(!j||!A)&&(pC(m,ne),K++)}),K>0&&m.setAttribute("sentry.idle_span_discarded_spans",K)}return s.push(p.on("spanStart",x=>{if(o||x===m||Ae(x).timestamp)return;ol(m).includes(x)&&v(x.spanContext().spanId)})),s.push(p.on("spanEnd",x=>{o||w(x.spanContext().spanId)})),s.push(p.on("idleSpanEnableAutoFinish",x=>{x===m&&(a=!0,b(),n.size&&_())})),t.disableAutoFinish||b(),setTimeout(()=>{o||(m.setStatus({code:lt,message:"deadline_exceeded"}),i=PC,m.end())},c),m}function RC(e){const t=Un(e);return za(He(),t),nt&&le.log("[Tracing] Started span is an idle span"),t}function md(e,t,n,o=0){return new Ln((r,i)=>{const a=e[o];if(t===null||typeof a!="function")r(t);else{const s=a({...t},n);nt&&a.id&&s===null&&le.log(`Event processor "${a.id}" dropped event`),Lp(s)?s.then(l=>md(e,l,n,o+1).then(r)).then(null,i):md(e,s,n,o+1).then(r).then(null,i)}})}function IC(e,t){const{fingerprint:n,span:o,breadcrumbs:r,sdkProcessingMetadata:i}=t;LC(e,t),o&&DC(e,o),zC(e,n),BC(e,r),$C(e,i)}function rm(e,t){const{extra:n,tags:o,user:r,contexts:i,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:p,transactionName:f,span:h}=t;Fi(e,"extra",n),Fi(e,"tags",o),Fi(e,"user",r),Fi(e,"contexts",i),Fi(e,"sdkProcessingMetadata",s),a&&(e.level=a),f&&(e.transactionName=f),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function Fi(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[t][o]=n[o])}}function LC(e,t){const{extra:n,tags:o,user:r,contexts:i,level:a,transactionName:s}=t,l=_t(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const c=_t(o);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const u=_t(r);u&&Object.keys(u).length&&(e.user={...u,...e.user});const d=_t(i);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),a&&(e.level=a),s&&e.type!=="transaction"&&(e.transaction=s)}function BC(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function $C(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function DC(e,t){e.contexts={trace:cC(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Br(t),...e.sdkProcessingMetadata};const n=mt(t),o=Ae(n).description;o&&!e.transaction&&e.type==="transaction"&&(e.transaction=o)}function zC(e,t){e.fingerprint=e.fingerprint?zp(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function Y$(e,t,n,o,r,i){const{normalizeDepth:a=3,normalizeMaxBreadth:s=1e3}=e,l={...t,event_id:t.event_id||n.event_id||tt(),timestamp:t.timestamp||Dp()},c=n.integrations||e.integrations.map(y=>y.name);NC(l,e),HC(l,c),r&&r.emit("applyFrameMetadata",t),t.type===void 0&&FC(l,e.stackParser);const u=UC(o,n.captureContext);n.mechanism&&Jv(l,n.mechanism);const d=r?r.getEventProcessors():[],p=oC().getScopeData();if(i){const y=i.getScopeData();rm(p,y)}if(u){const y=u.getScopeData();rm(p,y)}const f=[...n.attachments||[],...p.attachments];f.length&&(n.attachments=f),IC(l,p);const h=[...d,...p.eventProcessors];return md(h,l,n).then(y=>(y&&jC(y),typeof a=="number"&&a>0?WC(y,a,s):y))}function NC(e,t){const{environment:n,release:o,dist:r,maxValueLength:i=250}=t;"environment"in e||(e.environment="environment"in t?n:Vp),e.release===void 0&&o!==void 0&&(e.release=o),e.dist===void 0&&r!==void 0&&(e.dist=r),e.message&&(e.message=ia(e.message,i));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=ia(a.value,i));const s=e.request;s&&s.url&&(s.url=ia(s.url,i))}const im=new WeakMap;function FC(e,t){const n=Be._sentryDebugIds;if(!n)return;let o;const r=im.get(t);r?o=r:(o=new Map,im.set(t,o));const i=Object.entries(n).reduce((a,[s,l])=>{let c;const u=o.get(s);u?c=u:(c=t(s),o.set(s,c));for(let d=c.length-1;d>=0;d--){const p=c[d];if(p.filename){a[p.filename]=l;break}}return a},{});try{e.exception.values.forEach(a=>{a.stacktrace.frames.forEach(s=>{s.filename&&(s.debug_id=i[s.filename])})})}catch{}}function jC(e){const t={};try{e.exception.values.forEach(o=>{o.stacktrace.frames.forEach(r=>{r.debug_id&&(r.abs_path?t[r.abs_path]=r.debug_id:r.filename&&(t[r.filename]=r.debug_id),delete r.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([o,r])=>{n.push({type:"sourcemap",code_file:o,debug_id:r})})}function HC(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function WC(e,t,n){if(!e)return null;const o={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(r=>({...r,...r.data&&{data:Po(r.data,t,n)}}))},...e.user&&{user:Po(e.user,t,n)},...e.contexts&&{contexts:Po(e.contexts,t,n)},...e.extra&&{extra:Po(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&o.contexts&&(o.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(o.contexts.trace.data=Po(e.contexts.trace.data,t,n))),e.spans&&(o.spans=e.spans.map(r=>({...r,...r.data&&{data:Po(r.data,t,n)}}))),o}function UC(e,t){if(!t)return e;const n=e?e.clone():new Qo;return n.update(t),n}function VC(e){if(e)return GC(e)?{captureContext:e}:KC(e)?{captureContext:e}:e}function GC(e){return e instanceof Qo||typeof e=="function"}const qC=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function KC(e){return Object.keys(e).some(t=>qC.includes(t))}function Kp(e,t){return He().captureException(e,VC(t))}function X$(e,t){const n=typeof t=="string"?t:void 0,o=typeof t!="string"?{captureContext:t}:void 0;return He().captureMessage(e,n,o)}function Z$(e,t){return He().captureEvent(e,t)}function J$(e){const t=it(),n=Ir(),o=He(),{release:r,environment:i=Vp}=t&&t.getOptions()||{},{userAgent:a}=Be.navigator||{},s=qT({release:r,environment:i,user:o.getUser()||n.getUser(),...a&&{userAgent:a},...e}),l=n.getSession();return l&&l.status==="ok"&&pc(l,{status:"exited"}),bb(),n.setSession(s),o.setSession(s),s}function bb(){const e=Ir(),t=He(),n=t.getSession()||e.getSession();n&&KT(n),yb(),e.setSession(),t.setSession()}function yb(){const e=Ir(),t=He(),n=it(),o=t.getSession()||e.getSession();o&&n&&n.captureSession(o)}function Q$(e=!1){if(e){bb();return}yb()}const am=[];function YC(e){const t={};return e.forEach(n=>{const{name:o}=n,r=t[o];r&&!r.isDefaultInstance&&n.isDefaultInstance||(t[o]=n)}),Object.values(t)}function eD(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(a=>{a.isDefaultInstance=!0});let o;Array.isArray(n)?o=[...t,...n]:typeof n=="function"?o=zp(n(t)):o=t;const r=YC(o),i=r.findIndex(a=>a.name==="Debug");if(i>-1){const[a]=r.splice(i,1);r.push(a)}return r}function tD(e,t){const n={};return t.forEach(o=>{o&&XC(e,o,n)}),n}function nD(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function XC(e,t,n){if(n[t.name]){nt&&le.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,am.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),am.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const o=t.preprocessEvent.bind(t);e.on("preprocessEvent",(r,i)=>o(r,i,e))}if(typeof t.processEvent=="function"){const o=t.processEvent.bind(t),r=Object.assign((i,a)=>o(i,a,e),{id:t.name});e.addEventProcessor(r)}nt&&le.log(`Integration installed: ${t.name}`)}function oD(e){return e}function ZC(e,t,n,o,r="auto.http.browser"){if(!e.fetchData)return;const i=go()&&t(e.fetchData.url);if(e.endTimestamp&&i){const h=e.fetchData.__span;if(!h)return;const m=o[h];m&&(eM(m,e),delete o[h]);return}const a=He(),s=it(),{method:l,url:c}=e.fetchData,u=QC(c),d=u?dc(u).host:void 0,p=!!dt(),f=i&&p?Un({name:`${l} ${c}`,attributes:{url:c,type:"fetch","http.method":l,"http.url":u,"server.address":d,[Ue]:r,[Mr]:"http.client"}}):new Ri;if(e.fetchData.__span=f.spanContext().spanId,o[f.spanContext().spanId]=f,n(e.fetchData.url)&&s){const h=e.args[0];e.args[1]=e.args[1]||{};const m=e.args[1];m.headers=JC(h,s,a,m,go()&&p?f:void 0)}return f}function JC(e,t,n,o,r){const i=Ir(),{traceId:a,spanId:s,sampled:l,dsc:c}={...i.getPropagationContext(),...n.getPropagationContext()},u=r?lb(r):Np(a,s,l),d=tb(c||(r?Br(r):Gp(a,t))),p=o.headers||(typeof Request<"u"&&bi(e,Request)?e.headers:void 0);if(p)if(typeof Headers<"u"&&bi(p,Headers)){const f=new Headers(p);return f.append("sentry-trace",u),d&&f.append(ld,d),f}else if(Array.isArray(p)){const f=[...p,["sentry-trace",u]];return d&&f.push([ld,d]),f}else{const f="baggage"in p?p.baggage:void 0,h=[];return Array.isArray(f)?h.push(...f):f&&h.push(f),d&&h.push(d),{...p,"sentry-trace":u,baggage:h.length>0?h.join(","):void 0}}else return{"sentry-trace":u,baggage:d}}function QC(e){try{return new URL(e).href}catch{return}}function eM(e,t){if(t.response){ib(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const o=parseInt(n);o>0&&e.setAttribute("http.response_content_length",o)}}else t.error&&e.setStatus({code:lt,message:"internal_error"});e.end()}const yt=Be;let gd=0;function rD(){return gd>0}function tM(){gd++,setTimeout(()=>{gd--})}function nM(e,t={},n){if(typeof e!="function")return e;try{const r=e.__sentry_wrapped__;if(r)return r;if(dT(e))return e}catch{return e}const o=function(){const r=Array.prototype.slice.call(arguments);try{const i=r.map(a=>nM(a,t));return e.apply(this,i)}catch(i){throw tM(),Wp(a=>{a.addEventProcessor(s=>(t.mechanism&&(AT(s,void 0),Jv(s,t.mechanism)),s.extra={...s.extra,arguments:r},s)),Kp(i)}),i}};try{for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r])}catch{}Gv(o,e),Wn(e,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get(){return e.name}})}catch{}return o}const wi=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,on=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,oM=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",Ii=(e,t,n,o)=>{let r,i;return a=>{t.value>=0&&(a||o)&&(i=t.value-(r||0),(i||r===void 0)&&(r=t.value,t.delta=i,t.rating=oM(t.value,n),e(t)))}},xe=Be,rM=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,ls=()=>xe.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],mc=()=>{const e=ls();return e&&e.activationStart||0},Li=(e,t)=>{const n=ls();let o="navigate";return n&&(xe.document&&xe.document.prerendering||mc()>0?o="prerender":xe.document&&xe.document.wasDiscarded?o="restore":n.type&&(o=n.type.replace(/_/g,"-"))),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:rM(),navigationType:o}},$r=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const o=new PerformanceObserver(r=>{Promise.resolve().then(()=>{t(r.getEntries())})});return o.observe(Object.assign({type:e,buffered:!0},n||{})),o}}catch{}},cs=e=>{const t=n=>{(n.type==="pagehide"||xe.document&&xe.document.visibilityState==="hidden")&&e(n)};xe.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},Yp=e=>{let t=!1;return n=>{t||(e(n),t=!0)}};let Na=-1;const iM=()=>{Na=xe.document.visibilityState==="hidden"&&!xe.document.prerendering?0:1/0},Ml=e=>{xe.document.visibilityState==="hidden"&&Na>-1&&(Na=e.type==="visibilitychange"?e.timeStamp:0,removeEventListener("visibilitychange",Ml,!0),removeEventListener("prerenderingchange",Ml,!0))},aM=()=>{addEventListener("visibilitychange",Ml,!0),addEventListener("prerenderingchange",Ml,!0)},gc=()=>(xe.document&&Na<0&&(iM(),aM()),{get firstHiddenTime(){return Na}}),us=e=>{xe.document&&xe.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},sM=[1800,3e3],lM=(e,t={})=>{us(()=>{const n=gc(),o=Li("FCP");let r;const a=$r("paint",s=>{s.forEach(l=>{l.name==="first-contentful-paint"&&(a.disconnect(),l.startTime<n.firstHiddenTime&&(o.value=Math.max(l.startTime-mc(),0),o.entries.push(l),r(!0)))})});a&&(r=Ii(e,o,sM,t.reportAllChanges))})},cM=[.1,.25],uM=(e,t={})=>{lM(Yp(()=>{const n=Li("CLS",0);let o,r=0,i=[];const a=l=>{l.forEach(c=>{if(!c.hadRecentInput){const u=i[0],d=i[i.length-1];r&&u&&d&&c.startTime-d.startTime<1e3&&c.startTime-u.startTime<5e3?(r+=c.value,i.push(c)):(r=c.value,i=[c])}}),r>n.value&&(n.value=r,n.entries=i,o())},s=$r("layout-shift",a);s&&(o=Ii(e,n,cM,t.reportAllChanges),cs(()=>{a(s.takeRecords()),o(!0)}),setTimeout(o,0))}))},dM=[100,300],pM=(e,t={})=>{us(()=>{const n=gc(),o=Li("FID");let r;const i=l=>{l.startTime<n.firstHiddenTime&&(o.value=l.processingStart-l.startTime,o.entries.push(l),r(!0))},a=l=>{l.forEach(i)},s=$r("first-input",a);r=Ii(e,o,dM,t.reportAllChanges),s&&cs(Yp(()=>{a(s.takeRecords()),s.disconnect()}))})};let _b=0,Zc=1/0,Os=0;const fM=e=>{e.forEach(t=>{t.interactionId&&(Zc=Math.min(Zc,t.interactionId),Os=Math.max(Os,t.interactionId),_b=Os?(Os-Zc)/7+1:0)})};let vd;const hM=()=>vd?_b:performance.interactionCount||0,mM=()=>{"interactionCount"in performance||vd||(vd=$r("event",fM,{type:"event",buffered:!0,durationThreshold:0}))},gM=[200,500],vM=0,wb=()=>hM()-vM,sm=10,ao=[],Jc={},lm=e=>{const t=ao[ao.length-1],n=Jc[e.interactionId];if(n||ao.length<sm||t&&e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const o={id:e.interactionId,latency:e.duration,entries:[e]};Jc[o.id]=o,ao.push(o)}ao.sort((o,r)=>r.latency-o.latency),ao.splice(sm).forEach(o=>{delete Jc[o.id]})}},bM=()=>{const e=Math.min(ao.length-1,Math.floor(wb()/50));return ao[e]},yM=(e,t={})=>{us(()=>{mM();const n=Li("INP");let o;const r=a=>{a.forEach(l=>{l.interactionId&&lm(l),l.entryType==="first-input"&&!ao.some(u=>u.entries.some(d=>l.duration===d.duration&&l.startTime===d.startTime))&&lm(l)});const s=bM();s&&s.latency!==n.value&&(n.value=s.latency,n.entries=s.entries,o())},i=$r("event",r,{durationThreshold:t.durationThreshold!=null?t.durationThreshold:40});o=Ii(e,n,gM,t.reportAllChanges),i&&("PerformanceEventTiming"in xe&&"interactionId"in PerformanceEventTiming.prototype&&i.observe({type:"first-input",buffered:!0}),cs(()=>{r(i.takeRecords()),n.value<0&&wb()>0&&(n.value=0,n.entries=[]),o(!0)}))})},_M=[2500,4e3],cm={},wM=(e,t={})=>{us(()=>{const n=gc(),o=Li("LCP");let r;const i=s=>{const l=s[s.length-1];l&&l.startTime<n.firstHiddenTime&&(o.value=Math.max(l.startTime-mc(),0),o.entries=[l],r())},a=$r("largest-contentful-paint",i);if(a){r=Ii(e,o,_M,t.reportAllChanges);const s=Yp(()=>{cm[o.id]||(i(a.takeRecords()),a.disconnect(),cm[o.id]=!0,r(!0))});["keydown","click"].forEach(l=>{xe.document&&addEventListener(l,()=>setTimeout(s,0),!0)}),cs(s)}})},SM=[800,1800],bd=e=>{xe.document&&xe.document.prerendering?us(()=>bd(e)):xe.document&&xe.document.readyState!=="complete"?addEventListener("load",()=>bd(e),!0):setTimeout(e,0)},kM=(e,t={})=>{const n=Li("TTFB"),o=Ii(e,n,SM,t.reportAllChanges);bd(()=>{const r=ls();if(r){const i=r.responseStart;if(i<=0||i>performance.now())return;n.value=Math.max(i-mc(),0),n.entries=[r],o(!0)}})},sa={},Al={};let Sb,kb,xb,Eb,Tb;function Cb(e,t=!1){return ds("cls",e,MM,Sb,t)}function xM(e,t=!1){return ds("lcp",e,PM,xb,t)}function EM(e){return ds("fid",e,AM,kb)}function TM(e){return ds("ttfb",e,OM,Eb)}function CM(e){return ds("inp",e,RM,Tb)}function Fa(e,t){return Mb(e,t),Al[e]||(IM(e),Al[e]=!0),Ab(e,t)}function Bi(e,t){const n=sa[e];if(!(!n||!n.length))for(const o of n)try{o(t)}catch(r){on&&le.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${$p(o)}
Error:`,r)}}function MM(){return uM(e=>{Bi("cls",{metric:e}),Sb=e},{reportAllChanges:!0})}function AM(){return pM(e=>{Bi("fid",{metric:e}),kb=e})}function PM(){return wM(e=>{Bi("lcp",{metric:e}),xb=e},{reportAllChanges:!0})}function OM(){return kM(e=>{Bi("ttfb",{metric:e}),Eb=e})}function RM(){return yM(e=>{Bi("inp",{metric:e}),Tb=e})}function ds(e,t,n,o,r=!1){Mb(e,t);let i;return Al[e]||(i=n(),Al[e]=!0),o&&t({metric:o}),Ab(e,t,r?i:void 0)}function IM(e){const t={};e==="event"&&(t.durationThreshold=0),$r(e,n=>{Bi(e,{entries:n})},t)}function Mb(e,t){sa[e]=sa[e]||[],sa[e].push(t)}function Ab(e,t,n){return()=>{n&&n();const o=sa[e];if(!o)return;const r=o.indexOf(t);r!==-1&&o.splice(r,1)}}function LM(e){return"duration"in e}function Qc(e){return typeof e=="number"&&isFinite(e)}function Si(e,t,n,{...o}){const r=Ae(e).start_timestamp;return r&&r>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),mb(e,()=>{const i=Un({startTime:t,...o});return i&&i.end(n),i})}function Pb(e){const t=it();if(!t)return;const{name:n,transaction:o,attributes:r,startTime:i}=e,{release:a,environment:s}=t.getOptions(),l=t.getIntegrationByName("Replay"),c=l&&l.getReplayId(),u=He(),d=u.getUser(),p=d!==void 0?d.email||d.id||d.ip_address:void 0;let f;try{f=u.getScopeData().contexts.profile.profile_id}catch{}const h={release:a,environment:s,user:p||void 0,profile_id:f||void 0,replay_id:c||void 0,transaction:o,"user_agent.original":xe.navigator&&xe.navigator.userAgent,...r};return Un({name:n,attributes:h,startTime:i,experimental:{standalone:!0}})}function Xp(){return xe&&xe.addEventListener&&xe.performance}function Ye(e){return e/1e3}function BM(){let e=0,t,n;if(!DM())return;let o=!1;function r(){o||(o=!0,n&&$M(e,t,n),i())}const i=Cb(({metric:a})=>{const s=a.entries[a.entries.length-1];s&&(e=a.value,t=s)},!0);cs(()=>{r()}),setTimeout(()=>{const a=it(),s=so([a,"optionalAccess",d=>d.on,"call",d=>d("startNavigationSpan",()=>{r(),s&&s()})]),l=dt(),c=l&&mt(l),u=c&&Ae(c);u&&u.op==="pageload"&&(n=c.spanContext().spanId)},0)}function $M(e,t,n){on&&le.log(`Sending CLS span (${e})`);const o=Ye((zt||0)+(so([t,"optionalAccess",l=>l.startTime])||0)),r=He().getScopeData().transactionName,i=t?yi(so([t,"access",l=>l.sources,"access",l=>l[0],"optionalAccess",l=>l.node])):"Layout shift",a=_t({[Ue]:"auto.http.browser.cls",[Mr]:"ui.webvital.cls",[Up]:so([t,"optionalAccess",l=>l.duration])||0,"sentry.pageload.span_id":n}),s=Pb({name:i,transaction:r,attributes:a,startTime:o});so([s,"optionalAccess",l=>l.addEvent,"call",l=>l("cls",{[fc]:"",[hc]:e})]),so([s,"optionalAccess",l=>l.end,"call",l=>l(o)])}function DM(){try{return so([PerformanceObserver,"access",e=>e.supportedEntryTypes,"optionalAccess",e=>e.includes,"call",e=>e("layout-shift")])}catch{return!1}}const zM=2147483647;let um=0,ft={},Pn,la;function NM({recordClsStandaloneSpans:e}){const t=Xp();if(t&&zt){t.mark&&xe.performance.mark("sentry-tracing-init");const n=VM(),o=UM(),r=GM(),i=e?BM():WM();return()=>{n(),o(),r(),i&&i()}}return()=>{}}function FM(){Fa("longtask",({entries:e})=>{if(dt())for(const t of e){const n=Ye(zt+t.startTime),o=Ye(t.duration),r=Un({name:"Main UI thread blocked",op:"ui.long-task",startTime:n,attributes:{[Ue]:"auto.ui.browser.metrics"}});r&&r.end(n+o)}})}function jM(){new PerformanceObserver(t=>{if(dt())for(const n of t.getEntries()){if(!n.scripts[0])continue;const o=Ye(zt+n.startTime),r=Ye(n.duration),i={[Ue]:"auto.ui.browser.metrics"},a=n.scripts[0],{invoker:s,invokerType:l,sourceURL:c,sourceFunctionName:u,sourceCharPosition:d}=a;i["browser.script.invoker"]=s,i["browser.script.invoker_type"]=l,c&&(i["code.filepath"]=c),u&&(i["code.function"]=u),d!==-1&&(i["browser.script.source_char_position"]=d);const p=Un({name:"Main UI thread blocked",op:"ui.long-animation-frame",startTime:o,attributes:i});p&&p.end(o+r)}}).observe({type:"long-animation-frame",buffered:!0})}function HM(){Fa("event",({entries:e})=>{if(dt()){for(const t of e)if(t.name==="click"){const n=Ye(zt+t.startTime),o=Ye(t.duration),r={name:yi(t.target),op:`ui.interaction.${t.name}`,startTime:n,attributes:{[Ue]:"auto.ui.browser.metrics"}},i=rT(t.target);i&&(r.attributes["ui.component_name"]=i);const a=Un(r);a&&a.end(n+o)}}})}function WM(){return Cb(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(on&&le.log(`[Measurements] Adding CLS ${e.value}`),ft.cls={value:e.value,unit:""},la=t)},!0)}function UM(){return xM(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(on&&le.log("[Measurements] Adding LCP"),ft.lcp={value:e.value,unit:"millisecond"},Pn=t)},!0)}function VM(){return EM(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=Ye(zt),o=Ye(t.startTime);on&&le.log("[Measurements] Adding FID"),ft.fid={value:e.value,unit:"millisecond"},ft["mark.fid"]={value:n+o,unit:"second"}})}function GM(){return TM(({metric:e})=>{e.entries[e.entries.length-1]&&(on&&le.log("[Measurements] Adding TTFB"),ft.ttfb={value:e.value,unit:"millisecond"})})}function qM(e,t){const n=Xp();if(!n||!xe.performance.getEntries||!zt)return;on&&le.log("[Tracing] Adding & adjusting spans using Performance API");const o=Ye(zt),r=n.getEntries(),{op:i,start_timestamp:a}=Ae(e);if(r.slice(um).forEach(s=>{const l=Ye(s.startTime),c=Ye(Math.max(0,s.duration));if(!(i==="navigation"&&a&&o+l<a))switch(s.entryType){case"navigation":{YM(e,s,o);break}case"mark":case"paint":case"measure":{KM(e,s,l,c,o);const u=gc(),d=s.startTime<u.firstHiddenTime;s.name==="first-paint"&&d&&(on&&le.log("[Measurements] Adding FP"),ft.fp={value:s.startTime,unit:"millisecond"}),s.name==="first-contentful-paint"&&d&&(on&&le.log("[Measurements] Adding FCP"),ft.fcp={value:s.startTime,unit:"millisecond"});break}case"resource":{ZM(e,s,s.name,l,c,o);break}}}),um=Math.max(r.length-1,0),JM(e),i==="pageload"){eA(ft);const s=ft["mark.fid"];s&&ft.fid&&(Si(e,s.value,s.value+Ye(ft.fid.value),{name:"first input delay",op:"ui.action",attributes:{[Ue]:"auto.ui.browser.metrics"}}),delete ft["mark.fid"]),(!("fcp"in ft)||!t.recordClsOnPageloadSpan)&&delete ft.cls,Object.entries(ft).forEach(([l,c])=>{wC(l,c.value,c.unit)}),e.setAttribute("performance.timeOrigin",o),QM(e)}Pn=void 0,la=void 0,ft={}}function KM(e,t,n,o,r){const i=ls(),a=Ye(i?i.requestStart:0),s=r+Math.max(n,a),l=r+n,c=l+o,u={[Ue]:"auto.resource.browser.metrics"};return s!==l&&(u["sentry.browser.measure_happened_before_request"]=!0,u["sentry.browser.measure_start_time"]=s),Si(e,s,c,{name:t.name,op:t.entryType,attributes:u}),s}function YM(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(o=>{Rs(e,t,o,n)}),Rs(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),Rs(e,t,"fetch",n,"cache","domainLookupStart"),Rs(e,t,"domainLookup",n,"DNS"),XM(e,t,n)}function Rs(e,t,n,o,r,i){const a=i?t[i]:t[`${n}End`],s=t[`${n}Start`];!s||!a||Si(e,o+Ye(s),o+Ye(a),{op:"browser",name:r||n,attributes:{[Ue]:"auto.ui.browser.metrics"}})}function XM(e,t,n){const o=n+Ye(t.requestStart),r=n+Ye(t.responseEnd),i=n+Ye(t.responseStart);t.responseEnd&&(Si(e,o,r,{op:"browser",name:"request",attributes:{[Ue]:"auto.ui.browser.metrics"}}),Si(e,i,r,{op:"browser",name:"response",attributes:{[Ue]:"auto.ui.browser.metrics"}}))}function ZM(e,t,n,o,r,i){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const a=dc(n),s={[Ue]:"auto.resource.browser.metrics"};eu(s,t,"transferSize","http.response_transfer_size"),eu(s,t,"encodedBodySize","http.response_content_length"),eu(s,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(s["resource.render_blocking_status"]=t.renderBlockingStatus),a.protocol&&(s["url.scheme"]=a.protocol.split(":").pop()),a.host&&(s["server.address"]=a.host),s["url.same_origin"]=n.includes(xe.location.origin);const l=i+o,c=l+r;Si(e,l,c,{name:n.replace(xe.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:s})}function JM(e){const t=xe.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),Qc(n.rtt)&&(ft["connection.rtt"]={value:n.rtt,unit:"millisecond"})),Qc(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),Qc(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function QM(e){Pn&&(on&&le.log("[Measurements] Adding LCP Data"),Pn.element&&e.setAttribute("lcp.element",yi(Pn.element)),Pn.id&&e.setAttribute("lcp.id",Pn.id),Pn.url&&e.setAttribute("lcp.url",Pn.url.trim().slice(0,200)),e.setAttribute("lcp.size",Pn.size)),la&&la.sources&&(on&&le.log("[Measurements] Adding CLS Data"),la.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,yi(t.node))))}function eu(e,t,n,o){const r=t[n];r!=null&&r<zM&&(e[o]=r)}function eA(e){const t=ls();if(!t)return;const{responseStart:n,requestStart:o}=t;o<=n&&(on&&le.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:n-o,unit:"millisecond"})}let Is;function tA(e){const t="history";Ai(t,e),Pi(t,nA)}function nA(){if(!GT())return;const e=xe.onpopstate;xe.onpopstate=function(...n){const o=xe.location.href,r=Is;if(Is=o,zn("history",{from:r,to:o}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...o){const r=o.length>2?o[2]:void 0;if(r){const i=Is,a=String(r);Is=a,zn("history",{from:i,to:a})}return n.apply(this,o)}}od(xe.history,"pushState",t),od(xe.history,"replaceState",t)}const Ki="__sentry_xhr_v3__";function oA(e){const t="xhr";Ai(t,e),Pi(t,rA)}function rA(){if(!xe.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,o){const r=St()*1e3,i=Vo(o[0])?o[0].toUpperCase():void 0,a=iA(o[1]);if(!i||!a)return t.apply(n,o);n[Ki]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const s=()=>{const l=n[Ki];if(l&&n.readyState===4){try{l.status_code=n.status}catch{}const c={endTimestamp:St()*1e3,startTimestamp:r,xhr:n};zn("xhr",c)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(l,c,u){return s(),l.apply(c,u)}}):n.addEventListener("readystatechange",s),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(l,c,u){const[d,p]=u,f=c[Ki];return f&&Vo(d)&&Vo(p)&&(f.request_headers[d.toLowerCase()]=p),l.apply(c,u)}}),t.apply(n,o)}}),e.send=new Proxy(e.send,{apply(t,n,o){const r=n[Ki];if(!r)return t.apply(n,o);o[0]!==void 0&&(r.body=o[0]);const i={startTimestamp:St()*1e3,xhr:n};return zn("xhr",i),t.apply(n,o)}})}function iA(e){if(Vo(e))return e;try{return e.toString()}catch{}}const tu=[],il=new Map;function aA(){if(Xp()&&zt){const t=sA();return()=>{t()}}return()=>{}}const dm={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 sA(){return CM(({metric:e})=>{if(e.value==null)return;const t=e.entries.find(h=>h.duration===e.value&&dm[h.name]);if(!t)return;const{interactionId:n}=t,o=dm[t.name],r=Ye(zt+t.startTime),i=Ye(e.value),a=dt(),s=a?mt(a):void 0,c=(n!=null?il.get(n):void 0)||s,u=c?Ae(c).description:He().getScopeData().transactionName,d=yi(t.target),p=_t({[Ue]:"auto.http.browser.inp",[Mr]:`ui.interaction.${o}`,[Up]:t.duration}),f=Pb({name:d,transaction:u,attributes:p,startTime:r});so([f,"optionalAccess",h=>h.addEvent,"call",h=>h("inp",{[fc]:"millisecond",[hc]:e.value})]),so([f,"optionalAccess",h=>h.end,"call",h=>h(r+i)])})}function lA(e){const t=({entries:n})=>{const o=dt(),r=o&&mt(o);n.forEach(i=>{if(!LM(i)||!r)return;const a=i.interactionId;if(a!=null&&!il.has(a)){if(tu.length>10){const s=tu.shift();il.delete(s)}tu.push(a),il.set(a,r)}})};Fa("event",t),Fa("first-input",t)}const pm=new WeakMap,nu=new Map,yd={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function cA(e,t){const{traceFetch:n,traceXHR:o,shouldCreateSpanForRequest:r,enableHTTPTimings:i,tracePropagationTargets:a}={traceFetch:yd.traceFetch,traceXHR:yd.traceXHR,...t},s=typeof r=="function"?r:u=>!0,l=u=>fA(u,a),c={};n&&(e.addEventProcessor(u=>(u.type==="transaction"&&u.spans&&u.spans.forEach(d=>{if(d.op==="http.client"){const p=nu.get(d.span_id);p&&(d.timestamp=p/1e3,nu.delete(d.span_id))}}),u)),_T(u=>{if(u.response){const d=pm.get(u.response);d&&u.endTimestamp&&nu.set(d,u.endTimestamp)}}),yT(u=>{const d=ZC(u,s,l,c);if(u.response&&u.fetchData.__span&&pm.set(u.response,u.fetchData.__span),d){const p=Ob(u.fetchData.url),f=p?dc(p).host:void 0;d.setAttributes({"http.url":p,"server.address":f})}i&&d&&fm(d)})),o&&oA(u=>{const d=hA(u,s,l,c);i&&d&&fm(d)})}function uA(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function fm(e){const{url:t}=Ae(e).data||{};if(!t||typeof t!="string")return;const n=Fa("resource",({entries:o})=>{o.forEach(r=>{uA(r)&&r.name.endsWith(t)&&(pA(r).forEach(a=>e.setAttribute(...a)),setTimeout(n))})})}function dA(e){let t="unknown",n="unknown",o="";for(const r of e){if(r==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(r))){t=o==="h"?"http":o,n=e.split(o)[1];break}o+=r}return o===e&&(t=o),{name:t,version:n}}function Tn(e=0){return((zt||performance.timeOrigin)+e)/1e3}function pA(e){const{name:t,version:n}=dA(e.nextHopProtocol),o=[];return o.push(["network.protocol.version",n],["network.protocol.name",t]),zt?[...o,["http.request.redirect_start",Tn(e.redirectStart)],["http.request.fetch_start",Tn(e.fetchStart)],["http.request.domain_lookup_start",Tn(e.domainLookupStart)],["http.request.domain_lookup_end",Tn(e.domainLookupEnd)],["http.request.connect_start",Tn(e.connectStart)],["http.request.secure_connection_start",Tn(e.secureConnectionStart)],["http.request.connection_end",Tn(e.connectEnd)],["http.request.request_start",Tn(e.requestStart)],["http.request.response_start",Tn(e.responseStart)],["http.request.response_end",Tn(e.responseEnd)]]:o}function fA(e,t){const n=yt.location&&yt.location.href;if(n){let o,r;try{o=new URL(e,n),r=new URL(n).origin}catch{return!1}const i=o.origin===r;return t?Yc(o.toString(),t)||i&&Yc(o.pathname,t):i}else{const o=!!e.match(/^\/(?!\/)/);return t?Yc(e,t):o}}function hA(e,t,n,o){const r=e.xhr,i=r&&r[Ki];if(!r||r.__sentry_own_request__||!i)return;const a=go()&&t(i.url);if(e.endTimestamp&&a){const p=r.__sentry_xhr_span_id__;if(!p)return;const f=o[p];f&&i.status_code!==void 0&&(ib(f,i.status_code),f.end(),delete o[p]);return}const s=Ob(i.url),l=s?dc(s).host:void 0,c=!!dt(),u=a&&c?Un({name:`${i.method} ${i.url}`,attributes:{type:"xhr","http.method":i.method,"http.url":s,url:i.url,"server.address":l,[Ue]:"auto.http.browser",[Mr]:"http.client"}}):new Ri;r.__sentry_xhr_span_id__=u.spanContext().spanId,o[r.__sentry_xhr_span_id__]=u;const d=it();return r.setRequestHeader&&n(i.url)&&d&&mA(r,d,go()&&c?u:void 0),u}function mA(e,t,n){const o=He(),r=Ir(),{traceId:i,spanId:a,sampled:s,dsc:l}={...r.getPropagationContext(),...o.getPropagationContext()},c=n&&go()?lb(n):Np(i,a,s),u=tb(l||(n?Br(n):Gp(i,t)));gA(e,c,u)}function gA(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(ld,n)}catch{}}function Ob(e){try{return new URL(e,yt.location.origin).href}catch{return}}function vA(){yt&&yt.document?yt.document.addEventListener("visibilitychange",()=>{const e=dt();if(!e)return;const t=mt(e);if(yt.document.hidden&&t){const n="cancelled",{op:o,status:r}=Ae(t);wi&&le.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${o}`),r||t.setStatus({code:lt,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):wi&&le.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const bA="BrowserTracing",yA={...rl,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...yd},hm=(e={})=>{fC();const{enableInp:t,enableLongTask:n,enableLongAnimationFrame:o,_experiments:{enableInteractions:r,enableStandaloneClsSpans:i},beforeStartSpan:a,idleTimeout:s,finalTimeout:l,childSpanTimeout:c,markBackgroundSpan:u,traceFetch:d,traceXHR:p,shouldCreateSpanForRequest:f,enableHTTPTimings:h,instrumentPageLoad:m,instrumentNavigation:y}={...yA,...e},b=NM({recordClsStandaloneSpans:i||!1});t&&aA(),o&&Be.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?jM():n&&FM(),r&&HM();const _={name:void 0,source:void 0};function v(w,S){const x=S.op==="pageload",k=a?a(S):S,T=k.attributes||{};S.name!==k.name&&(T[vn]="custom",k.attributes=T),_.name=k.name,_.source=T[vn];const R=vb(k,{idleTimeout:s,finalTimeout:l,childSpanTimeout:c,disableAutoFinish:x,beforeSpanEnd:K=>{b(),qM(K,{recordClsOnPageloadSpan:!i})}});function N(){["interactive","complete"].includes(yt.document.readyState)&&w.emit("idleSpanEnableAutoFinish",R)}return x&&yt.document&&(yt.document.addEventListener("readystatechange",()=>{N()}),N()),R}return{name:bA,afterAllSetup(w){let S,x=yt.location&&yt.location.href;w.on("startNavigationSpan",k=>{it()===w&&(S&&!Ae(S).timestamp&&(wi&&le.log(`[Tracing] Finishing current root span with op: ${Ae(S).op}`),S.end()),S=v(w,{op:"navigation",...k}))}),w.on("startPageLoadSpan",(k,T={})=>{if(it()!==w)return;S&&!Ae(S).timestamp&&(wi&&le.log(`[Tracing] Finishing current root span with op: ${Ae(S).op}`),S.end());const R=T.sentryTrace||mm("sentry-trace"),N=T.baggage||mm("baggage"),K=jT(R,N);He().setPropagationContext(K),S=v(w,{op:"pageload",...k})}),w.on("spanEnd",k=>{const T=Ae(k).op;if(k!==mt(k)||T!=="navigation"&&T!=="pageload")return;const R=He(),N=R.getPropagationContext();R.setPropagationContext({...N,sampled:N.sampled!==void 0?N.sampled:Lr(k),dsc:N.dsc||Br(k)})}),yt.location&&(m&&_A(w,{name:yt.location.pathname,startTime:zt?zt/1e3:void 0,attributes:{[vn]:"url",[Ue]:"auto.pageload.browser"}}),y&&tA(({to:k,from:T})=>{if(T===void 0&&x&&x.indexOf(k)!==-1){x=void 0;return}T!==k&&(x=void 0,Rb(w,{name:yt.location.pathname,attributes:{[vn]:"url",[Ue]:"auto.navigation.browser"}}))})),u&&vA(),r&&wA(s,l,c,_),t&&lA(),cA(w,{traceFetch:d,traceXHR:p,tracePropagationTargets:w.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:f,enableHTTPTimings:h})}}};function _A(e,t,n){e.emit("startPageLoadSpan",t,n),He().setTransactionName(t.name);const o=dt();return(o&&Ae(o).op)==="pageload"?o:void 0}function Rb(e,t){Ir().setPropagationContext(Tl()),He().setPropagationContext(Tl()),e.emit("startNavigationSpan",t),He().setTransactionName(t.name);const n=dt();return(n&&Ae(n).op)==="navigation"?n:void 0}function mm(e){const t=oT(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function wA(e,t,n,o){let r;const i=()=>{const a="ui.action.click",s=dt(),l=s&&mt(s);if(l){const c=Ae(l).op;if(["navigation","pageload"].includes(c)){wi&&le.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`);return}}if(r&&(r.setAttribute(pd,"interactionInterrupted"),r.end(),r=void 0),!o.name){wi&&le.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}r=vb({name:o.name,op:a,attributes:{[vn]:o.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:n})};yt.document&&addEventListener("click",i,{once:!1,capture:!0})}const Ib=["activate","mount","update"],Lb=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,SA=/(?:^|[-_])(\w)/g,kA=e=>e.replace(SA,t=>t.toUpperCase()).replace(/[-_]/g,""),xA="<Root>",ou="<Anonymous>",EA=(e,t)=>e.repeat(t),ca=(e,t)=>{if(!e)return ou;if(e.$root===e)return xA;if(!e.$options)return ou;const n=e.$options;let o=n.name||n._componentTag||n.__name;const r=n.__file;if(!o&&r){const i=r.match(/([^/\\]+)\.vue$/);i&&(o=i[1])}return(o?`<${kA(o)}>`:ou)+(r&&t!==!1?` at ${r}`:"")},TA=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return`

found in

${t.map((r,i)=>`${(i===0?"---> ":EA(" ",5+i*2))+(Array.isArray(r)?`${ca(r[0])}... (${r[1]} recursive calls)`:ca(r))}`).join(`
`)}`}return`

(found in ${ca(e)})`},CA=(e,t)=>{const{errorHandler:n,warnHandler:o,silent:r}=e.config;e.config.errorHandler=(i,a,s)=>{const l=ca(a,!1),c=a?TA(a):"",u={componentName:l,lifecycleHook:s,trace:c};if(t.attachProps&&a&&(a.$options&&a.$options.propsData?u.propsData=a.$options.propsData:a.$props&&(u.propsData=a.$props)),setTimeout(()=>{Kp(i,{captureContext:{contexts:{vue:u}},mechanism:{handled:!1}})}),typeof n=="function"&&n.call(e,i,a,s),t.logErrors){const d=typeof console<"u",p=`Error in ${s}: "${i&&i.toString()}"`;o?o.call(null,p,a,c):d&&!r&&as(()=>{console.error(`[Vue warn]: ${p}${c}`)})}}},gm="ui.vue",MA={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function AA(e,t,n){e.$_sentryRootSpanTimer&&clearTimeout(e.$_sentryRootSpanTimer),e.$_sentryRootSpanTimer=setTimeout(()=>{e.$root&&e.$root.$_sentryRootSpan&&(e.$root.$_sentryRootSpan.end(t),e.$root.$_sentryRootSpan=void 0)},n)}function PA(e,t){function n(r){return r.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(r=>n(t)===n(r))}const OA=e=>{const t=(e.hooks||[]).concat(Ib).filter((o,r,i)=>i.indexOf(o)===r),n={};for(const o of t){const r=MA[o];if(!r){Lb&&le.warn(`Unknown hook: ${o}`);continue}for(const i of r)n[i]=function(){const a=this.$root===this;a&&dt()&&(this.$_sentryRootSpan=this.$_sentryRootSpan||Un({name:"Application Render",op:`${gm}.render`,attributes:{[Ue]:"auto.ui.vue"}}));const s=ca(this,!1),l=Array.isArray(e.trackComponents)?PA(e.trackComponents,s):e.trackComponents;if(!(!a&&!l))if(this.$_sentrySpans=this.$_sentrySpans||{},i==r[0]){if(this.$root&&this.$root.$_sentryRootSpan||dt()){const u=this.$_sentrySpans[o];u&&u.end(),this.$_sentrySpans[o]=Un({name:`Vue ${s}`,op:`${gm}.${o}`,attributes:{[Ue]:"auto.ui.vue"},onlyIfParent:!0})}}else{const c=this.$_sentrySpans[o];if(!c)return;c.end(),AA(this,St(),e.timeout)}}}return n},RA=Be,IA={Vue:RA.Vue,attachProps:!0,logErrors:!0,hooks:Ib,timeout:2e3,trackComponents:!1},LA="Vue",BA=(e={})=>({name:LA,setup(t){DA(t,e)}}),$A=BA;function DA(e,t){const n={...IA,...e.getOptions(),...t};if(!n.Vue&&!n.app){as(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}n.app?zp(n.app).forEach(r=>vm(r,n)):n.Vue&&vm(n.Vue,n)}const vm=(e,t)=>{if(Lb){const n=e;(n._instance&&n._instance.isMounted)===!0&&as(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")})}CA(e,t),go(t)&&e.mixin(OA({...t,...t.tracingOptions}))};function zA(e,t,n){let o=!0;e.onError(r=>Kp(r,{mechanism:{handled:!1}})),e.beforeEach((r,i,a)=>{const s=i.name==null&&i.matched.length===0||i.name===void 0&&o;o&&(o=!1);const l={[Ue]:"auto.navigation.vue"};for(const d of Object.keys(r.params))l[`params.${d}`]=r.params[d];for(const d of Object.keys(r.query)){const p=r.query[d];p&&(l[`query.${d}`]=p)}let c=r.path,u="url";if(r.name&&t.routeLabel!=="path")c=r.name.toString(),u="custom";else if(r.matched.length>0){const d=r.matched.length-1;c=r.matched[d].path,u="route"}if(He().setTransactionName(c),t.instrumentPageLoad&&s){const d=NA();d&&((Ae(d).data||{})[vn]!=="custom"&&(d.updateName(c),d.setAttribute(vn,u)),d.setAttributes({...l,[Ue]:"auto.pageload.vue"}))}t.instrumentNavigation&&!s&&(l[vn]=u,l[Ue]="auto.navigation.vue",n({name:c,op:"navigation",attributes:l})),a&&a()})}function NA(){const e=dt(),t=e&&mt(e);if(!t)return;const n=Ae(t).op;return n==="navigation"||n==="pageload"?t:void 0}function FA(e={}){if(!e.router)return hm(e);const t=hm({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:o=!0,instrumentPageLoad:r=!0,routeLabel:i="name"}=e;return{...t,afterAllSetup(a){t.afterAllSetup(a),zA(n,{routeLabel:i,instrumentNavigation:o,instrumentPageLoad:r},l=>{Rb(a,l)})}}}const jA=Qe({name:"sentry-client-integrations",dependsOn:["sentry-client-config"],async setup(e){if(typeof __SENTRY_TRACING__>"u"||__SENTRY_TRACING__){const t=it();t&&"$router"in e&&t.addIntegration(FA({router:e.$router,routeLabel:"path"}))}e.hook("app:created",t=>{const n=it();n&&n.addIntegration($A({app:t}))})}}),HA=Qe({name:"sentry-client-config",async setup(){let e,t;[e,t]=pi(()=>se(()=>import("./UOFeaCFs.js"),__vite__mapDeps([159,2,3]),import.meta.url)),await e,t()}}),WA=[{pattern:"Googlebot\\/",url:"http://www.google.com/bot.html",instances:["Googlebot/2.1 (+http://www.google.com/bot.html)","Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Safari/537.36"]},{pattern:"Googlebot-Mobile",instances:["DoCoMo/2.0 N905i(c100;TB;W24H16) (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)","Nokia6820/2.0 (4.83) Profile/MIDP-1.0 Configuration/CLDC-1.0 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)","SAMSUNG-SGH-E250/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 UP.Browser/6.2.3.3.c.1.101 (GUI) MMP/2.0 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)"]},{pattern:"Googlebot-Image",instances:["Googlebot-Image/1.0"]},{pattern:"Googlebot-News",instances:["Googlebot-News"]},{pattern:"Googlebot-Video",instances:["Googlebot-Video/1.0"]},{pattern:"AdsBot-Google([^-]|$)",url:"https://support.google.com/webmasters/answer/1061943?hl=en",instances:["AdsBot-Google (+http://www.google.com/adsbot.html)"]},{pattern:"AdsBot-Google-Mobile",addition_date:"2017/08/21",url:"https://support.google.com/adwords/answer/2404197",instances:["AdsBot-Google-Mobile-Apps","Mozilla/5.0 (Linux; Android 5.0; SM-G920A) AppleWebKit (KHTML, like Gecko) Chrome Mobile Safari (compatible; AdsBot-Google-Mobile; +http://www.google.com/mobile/adsbot.html)","Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1 (compatible; AdsBot-Google-Mobile; +http://www.google.com/mobile/adsbot.html)"]},{pattern:"Feedfetcher-Google",addition_date:"2018/06/27",url:"https://support.google.com/webmasters/answer/178852",instances:["Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; 1 subscribers; feed-id=728742641706423)"]},{pattern:"Mediapartners-Google",url:"https://support.google.com/webmasters/answer/1061943?hl=en",instances:["Mediapartners-Google","Mozilla/5.0 (compatible; MSIE or Firefox mutant; not on Windows server;) Daumoa/4.0 (Following Mediapartners-Google)","Mozilla/5.0 (iPhone; U; CPU iPhone OS 10_0 like Mac OS X; en-us) AppleWebKit/602.1.38 (KHTML, like Gecko) Version/10.0 Mobile/14A5297c Safari/602.1 (compatible; Mediapartners-Google/2.1; +http://www.google.com/bot.html)","Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7 (compatible; Mediapartners-Google/2.1; +http://www.google.com/bot.html)"]},{pattern:"Mediapartners \\(Googlebot\\)",addition_date:"2017/08/08",url:"https://support.google.com/webmasters/answer/1061943?hl=en",instances:[]},{pattern:"APIs-Google",addition_date:"2017/08/08",url:"https://support.google.com/webmasters/answer/1061943?hl=en",instances:["APIs-Google (+https://developers.google.com/webmasters/APIs-Google.html)"]},{pattern:"Google-InspectionTool",url:"https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers",instances:["Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Google-InspectionTool/1.0)","Mozilla/5.0 (compatible; Google-InspectionTool/1.0)"]},{pattern:"Storebot-Google",url:"https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers",instances:["Mozilla/5.0 (X11; Linux x86_64; Storebot-Google/1.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36","Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012; Storebot-Google/1.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36"]},{pattern:"GoogleOther",url:"https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers",instances:["GoogleOther"]},{pattern:"bingbot",url:"http://www.bing.com/bingbot.htm",instances:["Mozilla/5.0 (Windows Phone 8.1; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 530) like Gecko (compatible; adidxbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 (compatible; adidxbot/2.0;  http://www.bing.com/bingbot.htm)","Mozilla/5.0 (compatible; adidxbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 (compatible; bingbot/2.0;  http://www.bing.com/bingbot.htm)","Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm","Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) SitemapProbe","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; adidxbot/2.0;  http://www.bing.com/bingbot.htm)","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; adidxbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; bingbot/2.0;  http://www.bing.com/bingbot.htm)","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 (seoanalyzer; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)","Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Safari/537.36","Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/103.0.5060.134 Safari/537.36"]},{pattern:"Slurp",url:"http://help.yahoo.com/help/us/ysearch/slurp",instances:["Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)","Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)","Mozilla/5.0 (compatible; Yahoo! Slurp China; http://misc.yahoo.com.cn/help.html)"]},{pattern:"[wW]get",instances:["WGETbot/1.0 (+http://wget.alanreed.org)","Wget/1.14 (linux-gnu)","Wget/1.20.3 (linux-gnu)"]},{pattern:"LinkedInBot",instances:["LinkedInBot/1.0 (compatible; Mozilla/5.0; Jakarta Commons-HttpClient/3.1 +http://www.linkedin.com)","LinkedInBot/1.0 (compatible; Mozilla/5.0; Jakarta Commons-HttpClient/4.3 +http://www.linkedin.com)","LinkedInBot/1.0 (compatible; Mozilla/5.0; Apache-HttpClient +http://www.linkedin.com)"]},{pattern:"Python-urllib",instances:["Python-urllib/1.17","Python-urllib/2.5","Python-urllib/2.6","Python-urllib/2.7","Python-urllib/3.1","Python-urllib/3.2","Python-urllib/3.3","Python-urllib/3.4","Python-urllib/3.5","Python-urllib/3.6","Python-urllib/3.7"]},{pattern:"python-requests",addition_date:"2018/05/27",instances:["python-requests/2.9.2","python-requests/2.11.1","python-requests/2.18.4","python-requests/2.19.1","python-requests/2.20.0","python-requests/2.21.0","python-requests/2.22.0"]},{pattern:"aiohttp",addition_date:"2019/12/23",instances:["Python/3.9 aiohttp/3.7.3","Python/3.8 aiohttp/3.7.2","Python/3.7 aiohttp/3.6.2a2"],url:"https://docs.aiohttp.org/en/stable/"},{pattern:"httpx",addition_date:"2019/12/23",instances:["python-httpx/0.16.1","python-httpx/0.13.0.dev1"],url:"https://www.python-httpx.org"},{pattern:"libwww-perl",instances:["2Bone_LinkChecker/1.0 libwww-perl/6.03","2Bone_LinkChkr/1.0 libwww-perl/6.03","amibot - http://www.amidalla.de - tech@amidalla.com libwww-perl/5.831"]},{pattern:"httpunit",instances:["httpunit/1.x"]},{pattern:"Nutch",instances:["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/605.1.16 (KHTML, like Gecko; compatible; Friendly_Crawler/2.0) Chrome/120.0.6099.217 Safari/605.1.15/Nutch-1.20-SNAPSHOT","NutchCVS/0.7.1 (Nutch; http://lucene.apache.org/nutch/bot.html; nutch-agent@lucene.apache.org)","istellabot-nutch/Nutch-1.10"]},{pattern:"Go-http-client",addition_date:"2016/03/26",url:"https://golang.org/pkg/net/http/",instances:["Go-http-client/1.1","Go-http-client/2.0"]},{pattern:"phpcrawl",addition_date:"2012/09/17",url:"http://phpcrawl.cuab.de/",instances:["phpcrawl"]},{pattern:"msnbot",url:"http://search.msn.com/msnbot.htm",instances:["adidxbot/1.1 (+http://search.msn.com/msnbot.htm)","adidxbot/2.0 (+http://search.msn.com/msnbot.htm)","librabot/1.0 (+http://search.msn.com/msnbot.htm)","librabot/2.0 (+http://search.msn.com/msnbot.htm)","msnbot-NewsBlogs/2.0b (+http://search.msn.com/msnbot.htm)","msnbot-UDiscovery/2.0b (+http://search.msn.com/msnbot.htm)","msnbot-media/1.0 (+http://search.msn.com/msnbot.htm)","msnbot-media/1.1 (+http://search.msn.com/msnbot.htm)","msnbot-media/2.0b (+http://search.msn.com/msnbot.htm)","msnbot/1.0 (+http://search.msn.com/msnbot.htm)","msnbot/1.1 (+http://search.msn.com/msnbot.htm)","msnbot/2.0b (+http://search.msn.com/msnbot.htm)","msnbot/2.0b (+http://search.msn.com/msnbot.htm).","msnbot/2.0b (+http://search.msn.com/msnbot.htm)._"]},{pattern:"jyxobot",instances:[]},{pattern:"FAST-WebCrawler",instances:["FAST-WebCrawler/3.6/FirstPage (atw-crawler at fast dot no;http://fast.no/support/crawler.asp)","FAST-WebCrawler/3.7 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)","FAST-WebCrawler/3.7/FirstPage (atw-crawler at fast dot no;http://fast.no/support/crawler.asp)","FAST-WebCrawler/3.8"]},{pattern:"FAST Enterprise Crawler",instances:["FAST Enterprise Crawler 6 / Scirus scirus-crawler@fast.no; http://www.scirus.com/srsapp/contactus/","FAST Enterprise Crawler 6 used by Schibsted (webcrawl@schibstedsok.no)"]},{pattern:"BIGLOTRON",instances:["BIGLOTRON (Beta 2;GNU/Linux)"]},{pattern:"Teoma",instances:["Mozilla/2.0 (compatible; Ask Jeeves/Teoma; +http://sp.ask.com/docs/about/tech_crawling.html)","Mozilla/2.0 (compatible; Ask Jeeves/Teoma; +http://about.ask.com/en/docs/about/webmasters.shtml)"],url:"http://about.ask.com/en/docs/about/webmasters.shtml"},{pattern:"convera",instances:["ConveraCrawler/0.9e (+http://ews.converasearch.com/crawl.htm)"],url:"http://ews.converasearch.com/crawl.htm"},{pattern:"seekbot",instances:["Seekbot/1.0 (http://www.seekbot.net/bot.html) RobotsTxtFetcher/1.2"],url:"http://www.seekbot.net/bot.html"},{pattern:"Gigabot",instances:["Gigabot/1.0","Gigabot/2.0 (http://www.gigablast.com/spider.html)"],url:"http://www.gigablast.com/spider.html"},{pattern:"Gigablast",instances:["GigablastOpenSource/1.0"],url:"https://github.com/gigablast/open-source-search-engine"},{pattern:"exabot",instances:["Mozilla/5.0 (compatible; Alexabot/1.0; +http://www.alexa.com/help/certifyscan; certifyscan@alexa.com)","Mozilla/5.0 (compatible; Exabot PyExalead/3.0; +http://www.exabot.com/go/robot)","Mozilla/5.0 (compatible; Exabot-Images/3.0; +http://www.exabot.com/go/robot)","Mozilla/5.0 (compatible; Exabot/3.0 (BiggerBetter); +http://www.exabot.com/go/robot)","Mozilla/5.0 (compatible; Exabot/3.0; +http://www.exabot.com/go/robot)","Mozilla/5.0 (compatible; Exabot/3.0;  http://www.exabot.com/go/robot)"]},{pattern:"ia_archiver",instances:["ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)","ia_archiver-web.archive.org"]},{pattern:"GingerCrawler",instances:["GingerCrawler/1.0 (Language Assistant for Dyslexics; www.gingersoftware.com/crawler_agent.htm; support at ginger software dot com)"]},{pattern:"webmon ",instances:[]},{pattern:"HTTrack",instances:["Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)"]},{pattern:"grub\\.org",instances:["Mozilla/4.0 (compatible; grub-client-0.3.0; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.0.4; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.0.5; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.0.6; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.0.7; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.1.1; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.2.1; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.3.1; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.3.7; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.4.3; Crawl your own stuff with http://grub.org)","Mozilla/4.0 (compatible; grub-client-1.5.3; Crawl your own stuff with http://grub.org)"]},{pattern:"UsineNouvelleCrawler",instances:[]},{pattern:"antibot",instances:[]},{pattern:"netresearchserver",instances:[]},{pattern:"speedy",instances:["Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) Speedy Spider (http://www.entireweb.com/about/search_tech/speedy_spider/)","Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) Speedy Spider for SpeedyAds (http://www.entireweb.com/about/search_tech/speedy_spider/)","Mozilla/5.0 (compatible; Speedy Spider; http://www.entireweb.com/about/search_tech/speedy_spider/)","Speedy Spider (Entireweb; Beta/1.2; http://www.entireweb.com/about/search_tech/speedyspider/)","Speedy Spider (http://www.entireweb.com/about/search_tech/speedy_spider/)"]},{pattern:"fluffy",instances:[]},{pattern:"findlink",instances:["findlinks/1.0 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.3-beta8 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.3-beta9 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.5-beta7 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta1 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta1 (+http://wortschatz.uni-leipzig.de/findlinks/; YaCy 0.1; yacy.net)","findlinks/1.1.6-beta2 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta3 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta4 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta5 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/1.1.6-beta6 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0.1 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0.2 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0.4 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0.5 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.0.9 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.1 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.1.3 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.1.5 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.2 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.5 (+http://wortschatz.uni-leipzig.de/findlinks/)","findlinks/2.6 (+http://wortschatz.uni-leipzig.de/findlinks/)"]},{pattern:"msrbot",instances:[]},{pattern:"panscient",instances:["panscient.com"]},{pattern:"yacybot",instances:["yacybot (/global; amd64 FreeBSD 10.3-RELEASE; java 1.8.0_77; GMT/en) http://yacy.net/bot.html","yacybot (/global; amd64 FreeBSD 10.3-RELEASE-p7; java 1.7.0_95; GMT/en) http://yacy.net/bot.html","yacybot (-global; amd64 FreeBSD 9.2-RELEASE-p10; java 1.7.0_65; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 2.6.32-042stab093.4; java 1.7.0_65; Etc/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 2.6.32-042stab094.8; java 1.7.0_79; America/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 2.6.32-042stab108.8; java 1.7.0_91; America/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 2.6.32-042stab111.11; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 2.6.32-042stab116.1; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 2.6.32-573.3.1.el6.x86_64; java 1.7.0_85; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.10.0-229.4.2.el7.x86_64; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.10.0-229.4.2.el7.x86_64; java 1.8.0_45; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.10.0-229.7.2.el7.x86_64; java 1.8.0_45; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.10.0-327.22.2.el7.x86_64; java 1.7.0_101; Etc/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.11.10-21-desktop; java 1.7.0_51; America/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.12.1; java 1.7.0_65; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-042stab093.4; java 1.7.0_79; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-042stab093.4; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-45-generic; java 1.7.0_75; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.13.0-61-generic; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-74-generic; java 1.7.0_91; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-83-generic; java 1.7.0_95; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-83-generic; java 1.7.0_95; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-85-generic; java 1.7.0_101; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-85-generic; java 1.7.0_95; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.13.0-88-generic; java 1.7.0_101; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.14-0.bpo.1-amd64; java 1.7.0_55; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.14.32-xxxx-grs-ipv6-64; java 1.7.0_75; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.14.32-xxxx-grs-ipv6-64; java 1.8.0_111; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_111; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_75; America/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_75; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_75; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_79; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_79; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_91; Europe/de) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.7.0_95; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16.0-4-amd64; java 1.8.0_111; Europe/en) http://yacy.net/bot.html","yacybot (/global; amd64 Linux 3.16-0.bpo.2-amd64; java 1.7.0_65; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.19.0-15-generic; java 1.8.0_45-internal; Europe/de) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.2.0-4-amd64; java 1.7.0_65; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 3.2.0-4-amd64; java 1.7.0_67; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 4.4.0-57-generic; java 9-internal; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Windows 8.1 6.3; java 1.7.0_55; Europe/de) http://yacy.net/bot.html","yacybot (-global; amd64 Windows 8 6.2; java 1.7.0_55; Europe/de) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 5.2.8-Jinsol; java 12.0.2; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 5.2.9-Jinsol; java 12.0.2; Europe/en) http://yacy.net/bot.html","yacybot (-global; amd64 Linux 5.2.11-Jinsol; java 12.0.2; Europe/en) http://yacy.net/bot.html"]},{pattern:"AISearchBot",instances:[]},{pattern:"ips-agent",instances:["BlackBerry9000/4.6.0.167 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/102 ips-agent","Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12; ips-agent) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7","Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3; ips-agent) Gecko/20090824 Fedora/1.0.7-1.1.fc4  Firefox/3.5.3","Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24; ips-agent) Gecko/20111107 Ubuntu/10.04 (lucid) Firefox/3.6.24","Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:14.0; ips-agent) Gecko/20100101 Firefox/14.0.1"]},{pattern:"tagoobot",instances:[]},{pattern:"MJ12bot",instances:["MJ12bot/v1.2.0 (http://majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.2.1; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.2.3; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.2.4; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.2.5; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.3.0; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.3.1; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.3.2; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.3.3; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.0; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.1; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.2; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.3; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.4 (domain ownership verifier); http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.4; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.5; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.6; http://mj12bot.com/)","Mozilla/5.0 (compatible; MJ12bot/v1.4.7; http://mj12bot.com/)","Mozilla/5.0 (compatible; MJ12bot/v1.4.7; http://www.majestic12.co.uk/bot.php?+)","Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)"]},{pattern:"woriobot",instances:["Mozilla/5.0 (compatible; woriobot +http://worio.com)","Mozilla/5.0 (compatible; woriobot support [at] zite [dot] com +http://zite.com)"]},{pattern:"yanga",instances:["Yanga WorldSearch Bot v1.1/beta (http://www.yanga.co.uk/)"]},{pattern:"buzzbot",instances:["Buzzbot/1.0 (Buzzbot; http://www.buzzstream.com; buzzbot@buzzstream.com)"]},{pattern:"mlbot",instances:["MLBot (www.metadatalabs.com/mlbot)"]},{pattern:"yandex\\.com\\/bots",url:"https://yandex.ru/support/webmaster/robot-workings/check-yandex-robots.html#robot-in-logs",instances:["Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexBot/3.0; MirrorDetector; +http://yandex.com/bots)","Mozilla/5.0 (iPhone; CPU iPhone OS 8_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B411 Safari/600.1.4 (compatible; YandexBot/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexImages/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexAccessibilityBot/3.0; +http://yandex.com/bots","Mozilla/5.0 (compatible; YandexUserproxy; robot; +http://yandex.com/bots","Mozilla/5.0 (iPhone; CPU iPhone OS 8_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B411 Safari/600.1.4 (compatible; YandexMobileBot/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMetrika/2.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMetrika/2.0; +http://yandex.com/bots yabs01)","Mozilla/5.0 (compatible; YandexMetrika/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMetrika/4.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexTurbo/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexVideoParser/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexVideo/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexImageResizer/2.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexAdNet/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexBlogs/0.99; robot; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexCalendar/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexDirect/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexDirectDyn/1.0; +http://yandex.com/bots","Mozilla/5.0 (compatible; YandexFavicons/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YaDirectFetcher/1.0; Dyatel; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexForDomain/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMarket/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMarket/2.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMedia/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexMobileScreenShotBot/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexNews/4.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexOntoDB/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexOntoDBAPI/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexPagechecker/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexPartner/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexRCA/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexSearchShop/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexSitelinks; Dyatel; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexSpravBot/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexTracker/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexVertis/3.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexVerticals/1.0; +http://yandex.com/bots)","Mozilla/5.0 (compatible; YandexWebmaster/2.0; +http://yandex.com/bots)","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36 (compatible; YandexScreenshotBot/3.0; +http://yandex.com/bots)"],addition_date:"2015/04/14"},{pattern:"purebot",addition_date:"2010/01/19",instances:[]},{pattern:"Linguee Bot",addition_date:"2010/01/26",url:"http://www.linguee.com/bot",instances:["Linguee Bot (http://www.linguee.com/bot)","Linguee Bot (http://www.linguee.com/bot; bot@linguee.com)"]},{pattern:"CyberPatrol",addition_date:"2010/02/11",url:"http://www.cyberpatrol.com/cyberpatrolcrawler.asp",instances:["CyberPatrol SiteCat Webbot (http://www.cyberpatrol.com/cyberpatrolcrawler.asp)"]},{pattern:"voilabot",addition_date:"2010/05/18",instances:["Mozilla/5.0 (Windows NT 5.1; U; Win64; fr; rv:1.8.1) VoilaBot BETA 1.2 (support.voilabot@orange-ftgroup.com)","Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1) VoilaBot BETA 1.2 (support.voilabot@orange-ftgroup.com)"]},{pattern:"Baiduspider",addition_date:"2010/07/15",url:"http://www.baidu.jp/spider/",instances:["Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)","Mozilla/5.0 (compatible; Baiduspider-render/2.0; +http://www.baidu.com/search/spider.html)"]},{pattern:"citeseerxbot",addition_date:"2010/07/17",instances:[]},{pattern:"spbot",addition_date:"2010/07/31",url:"http://www.seoprofiler.com/bot",instances:["Mozilla/5.0 (compatible; spbot/1.0; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/1.1; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/1.2; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/2.0.1; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/2.0.2; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/2.0.3; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/2.0.4; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/2.0; +http://www.seoprofiler.com/bot/ )","Mozilla/5.0 (compatible; spbot/2.1; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/3.0; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/3.1; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.1; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.2; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.3; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.4; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.5; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.6; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.7; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.0.7; +https://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0.8; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.0.9; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.0; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0a; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.0b; +http://www.seoprofiler.com/bot )","Mozilla/5.0 (compatible; spbot/4.1.0; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.2.0; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.3.0; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.4.0; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.4.1; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/4.4.2; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/5.0.1; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/5.0.2; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/5.0.3; +http://OpenLinkProfiler.org/bot )","Mozilla/5.0 (compatible; spbot/5.0; +http://OpenLinkProfiler.org/bot )"]},{pattern:"twengabot",addition_date:"2010/08/03",url:"http://www.twenga.com/bot.html",instances:[]},{pattern:"postrank",addition_date:"2010/08/03",url:"http://www.postrank.com",instances:["PostRank/2.0 (postrank.com)","PostRank/2.0 (postrank.com; 1 subscribers)"]},{pattern:"Turnitin",addition_date:"2010/09/26",url:"http://www.turnitin.com",instances:["TurnitinBot (https://turnitin.com/robot/crawlerinfo.html)","Turnitin (https://bit.ly/2UvnfoQ)"]},{pattern:"scribdbot",addition_date:"2010/09/28",url:"http://www.scribd.com",instances:[]},{pattern:"page2rss",addition_date:"2010/10/07",url:"http://www.page2rss.com",instances:["Mozilla/5.0 (compatible;  Page2RSS/0.7; +http://page2rss.com/)"]},{pattern:"sitebot",addition_date:"2010/12/15",url:"http://www.sitebot.org",instances:["Mozilla/5.0 (compatible; Whoiswebsitebot/0.1; +http://www.whoiswebsite.net)"]},{pattern:"linkdex",addition_date:"2011/01/06",url:"http://www.linkdex.com",instances:["Mozilla/5.0 (compatible; linkdexbot/2.0; +http://www.linkdex.com/about/bots/)","Mozilla/5.0 (compatible; linkdexbot/2.0; +http://www.linkdex.com/bots/)","Mozilla/5.0 (compatible; linkdexbot/2.1; +http://www.linkdex.com/about/bots/)","Mozilla/5.0 (compatible; linkdexbot/2.1; +http://www.linkdex.com/bots/)","Mozilla/5.0 (compatible; linkdexbot/2.2; +http://www.linkdex.com/bots/)","linkdex.com/v2.0","linkdexbot/Nutch-1.0-dev (http://www.linkdex.com/; crawl at linkdex dot com)"]},{pattern:"Adidxbot",url:"http://onlinehelp.microsoft.com/en-us/bing/hh204496.aspx",instances:[]},{pattern:"ezooms",addition_date:"2011/04/27",url:"http://www.phpbb.com/community/viewtopic.php?f=64&t=935605&start=450#p12948289",instances:["Mozilla/5.0 (compatible; Ezooms/1.0; ezooms.bot@gmail.com)"]},{pattern:"dotbot",addition_date:"2011/04/27",instances:["Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)","dotbot"]},{pattern:"Mail\\.RU_Bot",addition_date:"2011/04/27",instances:["Mozilla/5.0 (compatible; Linux x86_64; Mail.RU_Bot/2.0; +http://go.mail.ru/help/robots)","Mozilla/5.0 (compatible; Linux x86_64; Mail.RU_Bot/2.0; +http://go.mail.ru/","Mozilla/5.0 (compatible; Mail.RU_Bot/2.0; +http://go.mail.ru/","Mozilla/5.0 (compatible; Linux x86_64; Mail.RU_Bot/Robots/2.0; +http://go.mail.ru/help/robots)"]},{pattern:"discobot",addition_date:"2011/05/03",url:"http://discoveryengine.com/discobot.html",instances:["Mozilla/5.0 (compatible; discobot/1.0; +http://discoveryengine.com/discobot.html)","Mozilla/5.0 (compatible; discobot/2.0; +http://discoveryengine.com/discobot.html)","mozilla/5.0 (compatible; discobot/1.1; +http://discoveryengine.com/discobot.html)"]},{pattern:"heritrix",addition_date:"2011/06/21",url:"https://github.com/internetarchive/heritrix3/wiki",instances:["Mozilla/5.0 (compatible; heritrix/1.12.1 +http://www.webarchiv.cz)","Mozilla/5.0 (compatible; heritrix/1.12.1b +http://netarkivet.dk/website/info.html)","Mozilla/5.0 (compatible; heritrix/1.14.2 +http://rjpower.org)","Mozilla/5.0 (compatible; heritrix/1.14.2 +http://www.webarchiv.cz)","Mozilla/5.0 (compatible; heritrix/1.14.3 +http://archive.org)","Mozilla/5.0 (compatible; heritrix/1.14.3 +http://www.accelobot.com)","Mozilla/5.0 (compatible; heritrix/1.14.3 +http://www.webarchiv.cz)","Mozilla/5.0 (compatible; heritrix/1.14.3.r6601 +http://www.buddybuzz.net/yptrino)","Mozilla/5.0 (compatible; heritrix/1.14.4 +http://parsijoo.ir)","Mozilla/5.0 (compatible; heritrix/1.14.4 +http://www.exif-search.com)","Mozilla/5.0 (compatible; heritrix/2.0.2 +http://aihit.com)","Mozilla/5.0 (compatible; heritrix/2.0.2 +http://seekda.com)","Mozilla/5.0 (compatible; heritrix/3.0.0-SNAPSHOT-20091120.021634 +http://crawler.archive.org)","Mozilla/5.0 (compatible; heritrix/3.1.0-RC1 +http://boston.lti.cs.cmu.edu/crawler_12/)","Mozilla/5.0 (compatible; heritrix/3.1.1 +http://places.tomtom.com/crawlerinfo)","Mozilla/5.0 (compatible; heritrix/3.1.1 +http://www.mixdata.com)","Mozilla/5.0 (compatible; heritrix/3.1.1; UniLeipzigASV +http://corpora.informatik.uni-leipzig.de/crawler_faq.html)","Mozilla/5.0 (compatible; heritrix/3.2.0 +http://www.crim.ca)","Mozilla/5.0 (compatible; heritrix/3.2.0 +http://www.exif-search.com)","Mozilla/5.0 (compatible; heritrix/3.2.0 +http://www.mixdata.com)","Mozilla/5.0 (compatible; heritrix/3.3.0-SNAPSHOT-20160309-0050; UniLeipzigASV +http://corpora.informatik.uni-leipzig.de/crawler_faq.html)","Mozilla/5.0 (compatible; sukibot_heritrix/3.1.1 +http://suki.ling.helsinki.fi/eng/webmasters.html)"]},{pattern:"findthatfile",addition_date:"2011/06/21",url:"http://www.findthatfile.com/",instances:[]},{pattern:"europarchive\\.org",addition_date:"2011/06/21",url:"",instances:["Mozilla/5.0 (compatible; MSIE 7.0 +http://www.europarchive.org)"]},{pattern:"NerdByNature\\.Bot",addition_date:"2011/07/12",url:"http://www.nerdbynature.net/bot",instances:["Mozilla/5.0 (compatible; NerdByNature.Bot; http://www.nerdbynature.net/bot)"]},{pattern:"sistrix crawler",addition_date:"2011/08/02",instances:[]},{pattern:"Ahrefs(Bot|SiteAudit)",addition_date:"2011/08/28",instances:["Mozilla/5.0 (compatible; AhrefsBot/6.1; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsSiteAudit/6.1; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsBot/5.2; News; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsBot/5.2; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsSiteAudit/5.2; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsBot/6.1; News; +http://ahrefs.com/robot/)","Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)"]},{pattern:"fuelbot",addition_date:"2018/06/28",instances:["fuelbot"]},{pattern:"CrunchBot",addition_date:"2018/06/28",instances:["CrunchBot/1.0 (+http://www.leadcrunch.com/crunchbot)"]},{pattern:"IndeedBot",addition_date:"2018/06/28",instances:["Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Firefox/38.0 (IndeedBot 1.1)"]},{pattern:"mappydata",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; Mappy/1.0; +http://mappydata.net/bot/)"]},{pattern:"woobot",addition_date:"2018/06/28",instances:["woobot"]},{pattern:"ZoominfoBot",addition_date:"2018/06/28",instances:["ZoominfoBot (zoominfobot at zoominfo dot com)"]},{pattern:"PrivacyAwareBot",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; PrivacyAwareBot/1.1; +http://www.privacyaware.org)"]},{pattern:"Multiviewbot",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Multiviewbot"]},{pattern:"SWIMGBot",addition_date:"2018/06/28",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36 SWIMGBot"]},{pattern:"Grobbot",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; Grobbot/2.2; +https://grob.it)"]},{pattern:"eright",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; eright/1.0; +bot@eright.com)"]},{pattern:"Apercite",addition_date:"2018/06/28",instances:["Mozilla/5.0 (compatible; Apercite; +http://www.apercite.fr/robot/index.html)"]},{pattern:"semanticbot",addition_date:"2018/06/28",instances:["semanticbot","semanticbot (info@semanticaudience.com)"]},{pattern:"Aboundex",addition_date:"2011/09/28",url:"http://www.aboundex.com/crawler/",instances:["Aboundex/0.2 (http://www.aboundex.com/crawler/)","Aboundex/0.3 (http://www.aboundex.com/crawler/)"]},{pattern:"domaincrawler",addition_date:"2011/10/21",instances:["CipaCrawler/3.0 (info@domaincrawler.com; http://www.domaincrawler.com/www.example.com)"]},{pattern:"wbsearchbot",addition_date:"2011/12/21",url:"http://www.warebay.com/bot.html",instances:[]},{pattern:"summify",addition_date:"2012/01/04",url:"http://summify.com",instances:["Summify (Summify/1.0.1; +http://summify.com)"]},{pattern:"CCBot",addition_date:"2012/02/05",url:"http://www.commoncrawl.org/bot.html",instances:["CCBot/2.0 (http://commoncrawl.org/faq/)","CCBot/2.0 (https://commoncrawl.org/faq/)"]},{pattern:"edisterbot",addition_date:"2012/02/25",instances:[]},{pattern:"SeznamBot",addition_date:"2012/03/14",instances:["Mozilla/5.0 (compatible; SeznamBot/3.2-test1-1; +http://napoveda.seznam.cz/en/seznambot-intro/)","Mozilla/5.0 (compatible; SeznamBot/3.2-test1; +http://napoveda.seznam.cz/en/seznambot-intro/)","Mozilla/5.0 (compatible; SeznamBot/3.2-test2; +http://napoveda.seznam.cz/en/seznambot-intro/)","Mozilla/5.0 (compatible; SeznamBot/3.2-test4; +http://napoveda.seznam.cz/en/seznambot-intro/)","Mozilla/5.0 (compatible; SeznamBot/3.2; +http://napoveda.seznam.cz/en/seznambot-intro/)","Mozilla/5.0 (compatible; SeznamBot/4.0; +http://napoveda.seznam.cz/seznambot-intro/)"]},{pattern:"ec2linkfinder",addition_date:"2012/03/22",instances:["ec2linkfinder"]},{pattern:"gslfbot",addition_date:"2012/04/03",instances:[]},{pattern:"aiHitBot",addition_date:"2012/04/16",instances:["Mozilla/5.0 (compatible; aiHitBot/2.9; +https://www.aihitdata.com/about)"]},{pattern:"intelium_bot",addition_date:"2012/05/07",instances:[]},{pattern:"facebookexternalhit",addition_date:"2012/05/07",instances:["facebookexternalhit/1.0 (+http://www.facebook.com/externalhit_uatext.php)","facebookexternalhit/1.1","facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"],url:"https://developers.facebook.com/docs/sharing/webmasters/crawler/"},{pattern:"Yeti",addition_date:"2012/05/07",url:"http://naver.me/bot",instances:["Mozilla/5.0 (compatible; Yeti/1.1; +http://naver.me/bot)"]},{pattern:"RetrevoPageAnalyzer",addition_date:"2012/05/07",instances:["Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; RetrevoPageAnalyzer; +http://www.retrevo.com/content/about-us)"]},{pattern:"lb-spider",addition_date:"2012/05/07",instances:[]},{pattern:"Sogou",addition_date:"2012/05/13",url:"http://www.sogou.com/docs/help/webmasters.htm#07",instances:["Sogou News Spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)","Sogou Pic Spider/3.0(+http://www.sogou.com/docs/help/webmasters.htm#07)","Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)"]},{pattern:"lssbot",addition_date:"2012/05/15",instances:[]},{pattern:"careerbot",addition_date:"2012/05/23",url:"http://www.career-x.de/bot.html",instances:[]},{pattern:"wotbox",addition_date:"2012/06/12",url:"http://www.wotbox.com",instances:["Wotbox/2.0 (bot@wotbox.com; http://www.wotbox.com)","Wotbox/2.01 (+http://www.wotbox.com/bot/)"]},{pattern:"wocbot",addition_date:"2012/07/25",url:"http://www.wocodi.com/crawler",instances:[]},{pattern:"ichiro",addition_date:"2012/08/28",url:"http://help.goo.ne.jp/help/article/1142",instances:["DoCoMo/2.0 P900i(c100;TB;W24H11) (compatible; ichiro/mobile goo; +http://help.goo.ne.jp/help/article/1142/)","DoCoMo/2.0 P900i(c100;TB;W24H11) (compatible; ichiro/mobile goo; +http://search.goo.ne.jp/option/use/sub4/sub4-1/)","DoCoMo/2.0 P900i(c100;TB;W24H11) (compatible; ichiro/mobile goo;+http://search.goo.ne.jp/option/use/sub4/sub4-1/)","DoCoMo/2.0 P900i(c100;TB;W24H11)(compatible; ichiro/mobile goo;+http://help.goo.ne.jp/door/crawler.html)","DoCoMo/2.0 P901i(c100;TB;W24H11) (compatible; ichiro/mobile goo; +http://help.goo.ne.jp/door/crawler.html)","KDDI-CA31 UP.Browser/6.2.0.7.3.129 (GUI) MMP/2.0 (compatible; ichiro/mobile goo; +http://help.goo.ne.jp/help/article/1142/)","KDDI-CA31 UP.Browser/6.2.0.7.3.129 (GUI) MMP/2.0 (compatible; ichiro/mobile goo; +http://search.goo.ne.jp/option/use/sub4/sub4-1/)","KDDI-CA31 UP.Browser/6.2.0.7.3.129 (GUI) MMP/2.0 (compatible; ichiro/mobile goo;+http://search.goo.ne.jp/option/use/sub4/sub4-1/)","ichiro/2.0 (http://help.goo.ne.jp/door/crawler.html)","ichiro/2.0 (ichiro@nttr.co.jp)","ichiro/3.0 (http://help.goo.ne.jp/door/crawler.html)","ichiro/3.0 (http://help.goo.ne.jp/help/article/1142)","ichiro/3.0 (http://search.goo.ne.jp/option/use/sub4/sub4-1/)","ichiro/4.0 (http://help.goo.ne.jp/door/crawler.html)","ichiro/5.0 (http://help.goo.ne.jp/door/crawler.html)"]},{pattern:"DuckDuckBot",addition_date:"2012/09/19",url:"http://duckduckgo.com/duckduckbot.html",instances:["DuckDuckBot/1.0; (+http://duckduckgo.com/duckduckbot.html)","DuckDuckBot/1.1; (+http://duckduckgo.com/duckduckbot.html)","Mozilla/5.0 (compatible; DuckDuckBot-Https/1.1; https://duckduckgo.com/duckduckbot)","'Mozilla/5.0 (compatible; DuckDuckBot-Https/1.1; https://duckduckgo.com/duckduckbot)'"]},{pattern:"lssrocketcrawler",addition_date:"2012/09/24",instances:[]},{pattern:"drupact",addition_date:"2012/09/27",url:"http://www.arocom.de/drupact",instances:["drupact/0.7; http://www.arocom.de/drupact"]},{pattern:"webcompanycrawler",addition_date:"2012/10/03",instances:[]},{pattern:"acoonbot",addition_date:"2012/10/07",url:"http://www.acoon.de/robot.asp",instances:[]},{pattern:"openindexspider",addition_date:"2012/10/26",url:"http://www.openindex.io/en/webmasters/spider.html",instances:[]},{pattern:"gnam gnam spider",addition_date:"2012/10/31",instances:[]},{pattern:"web-archive-net\\.com\\.bot",instances:[]},{pattern:"backlinkcrawler",addition_date:"2013/01/04",instances:[]},{pattern:"coccoc",addition_date:"2013/01/04",url:"http://help.coccoc.vn/",instances:["Mozilla/5.0 (compatible; coccoc/1.0; +http://help.coccoc.com/)","Mozilla/5.0 (compatible; coccoc/1.0; +http://help.coccoc.com/searchengine)","Mozilla/5.0 (compatible; coccocbot-image/1.0; +http://help.coccoc.com/searchengine)","Mozilla/5.0 (compatible; coccocbot-web/1.0; +http://help.coccoc.com/searchengine)","Mozilla/5.0 (compatible; image.coccoc/1.0; +http://help.coccoc.com/)","Mozilla/5.0 (compatible; imagecoccoc/1.0; +http://help.coccoc.com/)","Mozilla/5.0 (compatible; imagecoccoc/1.0; +http://help.coccoc.com/searchengine)","coccoc","coccoc/1.0 ()","coccoc/1.0 (http://help.coccoc.com/)","coccoc/1.0 (http://help.coccoc.vn/)"]},{pattern:"integromedb",addition_date:"2013/01/10",url:"http://www.integromedb.org/Crawler",instances:["www.integromedb.org/Crawler"]},{pattern:"content crawler spider",addition_date:"2013/01/11",instances:[]},{pattern:"toplistbot",addition_date:"2013/02/05",instances:[]},{pattern:"it2media-domain-crawler",addition_date:"2013/03/12",instances:["it2media-domain-crawler/1.0 on crawler-prod.it2media.de","it2media-domain-crawler/2.0"]},{pattern:"ip-web-crawler\\.com",addition_date:"2013/03/22",instances:[]},{pattern:"siteexplorer\\.info",addition_date:"2013/05/01",instances:["Mozilla/5.0 (compatible; SiteExplorer/1.0b; +http://siteexplorer.info/)","Mozilla/5.0 (compatible; SiteExplorer/1.1b; +http://siteexplorer.info/Backlink-Checker-Spider/)"]},{pattern:"elisabot",addition_date:"2013/06/27",instances:[]},{pattern:"proximic",addition_date:"2013/09/12",url:"http://www.proximic.com/info/spider.php",instances:["Mozilla/5.0 (compatible; proximic; +http://www.proximic.com)","Mozilla/5.0 (compatible; proximic; +http://www.proximic.com/info/spider.php)"]},{pattern:"changedetection",addition_date:"2013/09/13",url:"http://www.changedetection.com/bot.html",instances:["Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;  http://www.changedetection.com/bot.html )"]},{pattern:"arabot",addition_date:"2013/10/09",instances:[]},{pattern:"WeSEE:Search",addition_date:"2013/11/18",instances:["WeSEE:Search","WeSEE:Search/0.1 (Alpha, http://www.wesee.com/en/support/bot/)"]},{pattern:"niki-bot",addition_date:"2014/01/01",instances:[]},{pattern:"CrystalSemanticsBot",addition_date:"2014/02/17",url:"http://www.crystalsemantics.com/user-agent/",instances:[]},{pattern:"rogerbot",addition_date:"2014/02/28",url:"http://moz.com/help/pro/what-is-rogerbot-",instances:["Mozilla/5.0 (compatible; rogerBot/1.0; UrlCrawler; http://www.seomoz.org/dp/rogerbot)","rogerbot/1.0 (http://moz.com/help/pro/what-is-rogerbot-, rogerbot-crawler+partager@moz.com)","rogerbot/1.0 (http://moz.com/help/pro/what-is-rogerbot-, rogerbot-crawler+shiny@moz.com)","rogerbot/1.0 (http://moz.com/help/pro/what-is-rogerbot-, rogerbot-wherecat@moz.com","rogerbot/1.0 (http://moz.com/help/pro/what-is-rogerbot-, rogerbot-wherecat@moz.com)","rogerbot/1.0 (http://www.moz.com/dp/rogerbot, rogerbot-crawler@moz.com)","rogerbot/1.0 (http://www.seomoz.org/dp/rogerbot, rogerbot-crawler+shiny@seomoz.org)","rogerbot/1.0 (http://www.seomoz.org/dp/rogerbot, rogerbot-crawler@seomoz.org)","rogerbot/1.0 (http://www.seomoz.org/dp/rogerbot, rogerbot-wherecat@moz.com)","rogerbot/1.1 (http://moz.com/help/guides/search-overview/crawl-diagnostics#more-help, rogerbot-crawler+pr2-crawler-05@moz.com)","rogerbot/1.1 (http://moz.com/help/guides/search-overview/crawl-diagnostics#more-help, rogerbot-crawler+pr4-crawler-11@moz.com)","rogerbot/1.1 (http://moz.com/help/guides/search-overview/crawl-diagnostics#more-help, rogerbot-crawler+pr4-crawler-15@moz.com)","rogerbot/1.2 (http://moz.com/help/pro/what-is-rogerbot-, rogerbot-crawler+phaser-testing-crawler-01@moz.com)"]},{pattern:"360Spider",addition_date:"2014/03/14",url:"http://needs-be.blogspot.co.uk/2013/02/how-to-block-spider360.html",instances:["Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1; 360Spider","Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1; 360Spider(compatible; HaosouSpider; http://www.haosou.com/help/help_3_2.html)","Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 QIHU 360SE; 360Spider","Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; )  Firefox/1.5.0.11; 360Spider","Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.0.11)  Firefox/1.5.0.11; 360Spider","Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.0.11) Firefox/1.5.0.11 360Spider;","Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11; 360Spider","Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0); 360Spider","Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0); 360Spider(compatible; HaosouSpider; http://www.haosou.com/help/help_3_2.html)","Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36; 360Spider"]},{pattern:"psbot",addition_date:"2014/03/31",url:"http://www.picsearch.com/bot.html",instances:["psbot-image (+http://www.picsearch.com/bot.html)","psbot-page (+http://www.picsearch.com/bot.html)","psbot/0.1 (+http://www.picsearch.com/bot.html)"]},{pattern:"InterfaxScanBot",addition_date:"2014/03/31",url:"http://scan-interfax.ru",instances:[]},{pattern:"CC Metadata Scaper",addition_date:"2014/04/01",url:"http://wiki.creativecommons.org/Metadata_Scraper",instances:["CC Metadata Scaper http://wiki.creativecommons.org/Metadata_Scraper"]},{pattern:"g00g1e\\.net",addition_date:"2014/04/01",url:"http://www.g00g1e.net/",instances:[]},{pattern:"GrapeshotCrawler",addition_date:"2014/04/01",url:"http://www.grapeshot.co.uk/crawler.php",instances:["Mozilla/5.0 (compatible; GrapeshotCrawler/2.0; +http://www.grapeshot.co.uk/crawler.php)"]},{pattern:"urlappendbot",addition_date:"2014/05/10",url:"http://www.profound.net/urlappendbot.html",instances:["Mozilla/5.0 (compatible; URLAppendBot/1.0; +http://www.profound.net/urlappendbot.html)"]},{pattern:"brainobot",addition_date:"2014/06/24",instances:[]},{pattern:"fr-crawler",addition_date:"2014/07/31",instances:["Mozilla/5.0 (compatible; fr-crawler/1.1)"]},{pattern:"binlar",addition_date:"2014/09/12",instances:["binlar_2.6.3 binlar2.6.3@unspecified.mail","binlar_2.6.3 binlar_2.6.3@unspecified.mail","binlar_2.6.3 larbin2.6.3@unspecified.mail","binlar_2.6.3 phanendra_kalapala@McAfee.com","binlar_2.6.3 test@mgmt.mic"]},{pattern:"SimpleCrawler",addition_date:"2014/09/12",instances:["SimpleCrawler/0.1"]},{pattern:"Twitterbot",addition_date:"2014/09/12",url:"https://dev.twitter.com/cards/getting-started",instances:["Twitterbot/0.1","Twitterbot/1.0"]},{pattern:"cXensebot",addition_date:"2014/10/05",instances:["cXensebot/1.1a"],url:"http://www.cxense.com/bot.html"},{pattern:"smtbot",addition_date:"2014/10/04",instances:["Mozilla/5.0 (compatible; SMTBot/1.0; +http://www.similartech.com/smtbot)","SMTBot (similartech.com/smtbot)","Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko)                 Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; SMTBot/1.0; +http://www.similartech.com/smtbot)","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 (compatible; SMTBot/1.0; +http://www.similartech.com/smtbot)","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 (compatible; SMTBot/1.0; http://www.similartech.com/smtbot)"],url:"http://www.similartech.com/smtbot"},{pattern:"bnf\\.fr_bot",addition_date:"2014/11/18",url:"http://www.bnf.fr/fr/outils/a.dl_web_capture_robot.html",instances:["Mozilla/5.0 (compatible; bnf.fr_bot; +http://bibnum.bnf.fr/robot/bnf.html)","Mozilla/5.0 (compatible; bnf.fr_bot; +http://www.bnf.fr/fr/outils/a.dl_web_capture_robot.html)"]},{pattern:"A6-Indexer",addition_date:"2014/12/05",url:"http://www.a6corp.com/a6-web-scraping-policy/",instances:["A6-Indexer"]},{pattern:"ADmantX",addition_date:"2014/12/05",url:"http://www.admantx.com",instances:["ADmantX Platform Semantic Analyzer - ADmantX Inc. - www.admantx.com - support@admantx.com"]},{pattern:"Facebot",url:"https://developers.facebook.com/docs/sharing/best-practices#crawl",addition_date:"2014/12/30",instances:["Facebot/1.0"]},{pattern:"OrangeBot\\/",instances:["Mozilla/5.0 (compatible; OrangeBot/2.0; support.orangebot@orange.com"],addition_date:"2015/01/12"},{pattern:"memorybot",url:"http://mignify.com/bot.htm",instances:["Mozilla/5.0 (compatible; memorybot/1.21.14 +http://mignify.com/bot.html)"],addition_date:"2015/02/01"},{pattern:"AdvBot",url:"http://advbot.net/bot.html",instances:["Mozilla/5.0 (compatible; AdvBot/2.0; +http://advbot.net/bot.html)"],addition_date:"2015/02/01"},{pattern:"MegaIndex",url:"https://www.megaindex.ru/?tab=linkAnalyze",instances:["Mozilla/5.0 (compatible; MegaIndex.ru/2.0; +https://www.megaindex.ru/?tab=linkAnalyze)","Mozilla/5.0 (compatible; MegaIndex.ru/2.0; +http://megaindex.com/crawler)"],addition_date:"2015/03/28"},{pattern:"SemanticScholarBot",url:"https://www.semanticscholar.org/crawler",instances:["SemanticScholarBot/1.0 (+http://s2.allenai.org/bot.html)","Mozilla/5.0 (compatible) SemanticScholarBot (+https://www.semanticscholar.org/crawler)"],addition_date:"2015/03/28"},{pattern:"ltx71",url:"http://ltx71.com/",instances:["ltx71 - (http://ltx71.com/)"],addition_date:"2015/04/04"},{pattern:"nerdybot",url:"http://nerdybot.com/",instances:["nerdybot"],addition_date:"2015/04/05"},{pattern:"xovibot",url:"http://www.xovibot.net/",instances:["Mozilla/5.0 (compatible; XoviBot/2.0; +http://www.xovibot.net/)"],addition_date:"2015/04/05"},{pattern:"BUbiNG",url:"http://law.di.unimi.it/BUbiNG.html",instances:["BUbiNG (+http://law.di.unimi.it/BUbiNG.html)"],addition_date:"2015/04/06"},{pattern:"Qwantify",url:"https://www.qwant.com/",instances:["Mozilla/5.0 (compatible; Qwantify/2.0n; +https://www.qwant.com/)/*","Mozilla/5.0 (compatible; Qwantify/2.4w; +https://www.qwant.com/)/2.4w","Mozilla/5.0 (compatible; Qwantify/Bleriot/1.1; +https://help.qwant.com/bot)","Mozilla/5.0 (compatible; Qwantify/Bleriot/1.2.1; +https://help.qwant.com/bot)"],addition_date:"2015/04/06"},{pattern:"archive\\.org_bot",url:"http://www.archive.org/details/archive.org_bot",depends_on:["heritrix"],instances:["Mozilla/5.0 (compatible; heritrix/3.1.1-SNAPSHOT-20120116.200628 +http://www.archive.org/details/archive.org_bot)","Mozilla/5.0 (compatible; archive.org_bot/heritrix-1.15.4 +http://www.archive.org)","Mozilla/5.0 (compatible; heritrix/3.3.0-SNAPSHOT-20140702-2247 +http://archive.org/details/archive.org_bot)","Mozilla/5.0 (compatible; archive.org_bot +http://www.archive.org/details/archive.org_bot)","Mozilla/5.0 (compatible; archive.org_bot +http://archive.org/details/archive.org_bot)","Mozilla/5.0 (compatible; special_archiver/3.1.1 +http://www.archive.org/details/archive.org_bot)"],addition_date:"2015/04/14"},{pattern:"Applebot",url:"http://www.apple.com/go/applebot",addition_date:"2015/04/15",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Applebot/0.1)","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Applebot/0.1; +http://www.apple.com/go/applebot)","Mozilla/5.0 (compatible; Applebot/0.3; +http://www.apple.com/go/applebot)","Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Applebot/0.3; +http://www.apple.com/go/applebot)","Mozilla/5.0 (iPhone; CPU iPhone OS 8_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B410 Safari/600.1.4 (Applebot/0.1; +http://www.apple.com/go/applebot)"]},{pattern:"TweetmemeBot",url:"http://datasift.com/bot.html",instances:["Mozilla/5.0 (TweetmemeBot/4.0; +http://datasift.com/bot.html) Gecko/20100101 Firefox/31.0"],addition_date:"2015/04/15"},{pattern:"crawler4j",url:"https://github.com/yasserg/crawler4j",instances:["crawler4j (http://code.google.com/p/crawler4j/)","crawler4j (https://github.com/yasserg/crawler4j/)"],addition_date:"2015/05/07"},{pattern:"findxbot",url:"http://www.findxbot.com",instances:["Mozilla/5.0 (compatible; Findxbot/1.0; +http://www.findxbot.com)"],addition_date:"2015/05/07"},{pattern:"S[eE][mM]rushBot",url:"http://www.semrush.com/bot.html",instances:["Mozilla/5.0 (compatible; SemrushBot-SA/0.97; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot-SI/0.97; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot/3~bl; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot/0.98~bl; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot-BA; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot/6~bl; +http://www.semrush.com/bot.html)","Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)","SEMrushBot"],addition_date:"2015/05/26"},{pattern:"yoozBot",url:"http://yooz.ir",instances:["Mozilla/5.0 (compatible; yoozBot-2.2; http://yooz.ir; info@yooz.ir)"],addition_date:"2015/05/26"},{pattern:"lipperhey",url:"http://www.lipperhey.com/",instances:["Mozilla/5.0 (compatible; Lipperhey Link Explorer; http://www.lipperhey.com/)","Mozilla/5.0 (compatible; Lipperhey SEO Service; http://www.lipperhey.com/)","Mozilla/5.0 (compatible; Lipperhey Site Explorer; http://www.lipperhey.com/)","Mozilla/5.0 (compatible; Lipperhey-Kaus-Australis/5.0; +https://www.lipperhey.com/en/about/)"],addition_date:"2015/08/26"},{pattern:"Y!J",url:"https://www.yahoo-help.jp/app/answers/detail/p/595/a_id/42716/~/%E3%82%A6%E3%82%A7%E3%83%96%E3%83%9A%E3%83%BC%E3%82%B8%E3%81%AB%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E3%81%99%E3%82%8B%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%81%AE%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%A8%E3%83%BC%E3%82%B8%E3%82%A7%E3%83%B3%E3%83%88%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6",instances:["Y!J-ASR/0.1 crawler (http://www.yahoo-help.jp/app/answers/detail/p/595/a_id/42716/)","Y!J-BRJ/YATS crawler (http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html)","Y!J-PSC/1.0 crawler (http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html)","Y!J-BRW/1.0 crawler (http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html)","Mozilla/5.0 (iPhone; Y!J-BRY/YATSH crawler; http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html)","Mozilla/5.0 (compatible; Y!J SearchMonkey/1.0 (Y!J-AGENT; http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html))"],addition_date:"2015/05/26"},{pattern:"Domain Re-Animator Bot",url:"http://domainreanimator.com",instances:["Domain Re-Animator Bot (http://domainreanimator.com) - support@domainreanimator.com"],addition_date:"2015/04/14"},{pattern:"AddThis",url:"https://www.addthis.com",instances:["AddThis.com robot tech.support@clearspring.com"],addition_date:"2015/06/02"},{pattern:"Screaming Frog SEO Spider",url:"http://www.screamingfrog.co.uk/seo-spider",instances:["Screaming Frog SEO Spider/5.1"],addition_date:"2016/01/08"},{pattern:"MetaURI",url:"http://www.useragentstring.com/MetaURI_id_17683.php",instances:["MetaURI API/2.0 +metauri.com"],addition_date:"2016/01/02"},{pattern:"Scrapy",url:"http://scrapy.org/",instances:["Scrapy/1.0.3 (+http://scrapy.org)"],addition_date:"2016/01/02"},{pattern:"Livelap[bB]ot",url:"http://site.livelap.com/crawler",instances:["LivelapBot/0.2 (http://site.livelap.com/crawler)","Livelapbot/0.1"],addition_date:"2016/01/02"},{pattern:"OpenHoseBot",url:"http://www.openhose.org/bot.html",instances:["Mozilla/5.0 (compatible; OpenHoseBot/2.1; +http://www.openhose.org/bot.html)"],addition_date:"2016/01/02"},{pattern:"CapsuleChecker",url:"http://www.capsulink.com/about",instances:["CapsuleChecker (http://www.capsulink.com/)"],addition_date:"2016/01/02"},{pattern:"collection@infegy\\.com",url:"http://infegy.com/",instances:["Mozilla/5.0 (compatible) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 collection@infegy.com"],addition_date:"2016/01/03"},{pattern:"IstellaBot",url:"http://www.tiscali.it/",instances:["Mozilla/5.0 (compatible; IstellaBot/1.23.15 +http://www.tiscali.it/)"],addition_date:"2016/01/09"},{pattern:"DeuSu\\/",addition_date:"2016/01/23",url:"https://deusu.de/robot.html",instances:["Mozilla/5.0 (compatible; DeuSu/0.1.0; +https://deusu.org)","Mozilla/5.0 (compatible; DeuSu/5.0.2; +https://deusu.de/robot.html)"]},{pattern:"betaBot",addition_date:"2016/01/23",instances:[]},{pattern:"Cliqzbot\\/",addition_date:"2016/01/23",url:"http://cliqz.com/company/cliqzbot",instances:["Mozilla/5.0 (compatible; Cliqzbot/2.0; +http://cliqz.com/company/cliqzbot)","Cliqzbot/0.1 (+http://cliqz.com +cliqzbot@cliqz.com)","Cliqzbot/0.1 (+http://cliqz.com/company/cliqzbot)","Mozilla/5.0 (compatible; Cliqzbot/0.1 +http://cliqz.com/company/cliqzbot)","Mozilla/5.0 (compatible; Cliqzbot/1.0 +http://cliqz.com/company/cliqzbot)"]},{pattern:"MojeekBot\\/",addition_date:"2016/01/23",url:"https://www.mojeek.com/bot.html",instances:["MojeekBot/0.2 (archi; http://www.mojeek.com/bot.html)","Mozilla/5.0 (compatible; MojeekBot/0.2; http://www.mojeek.com/bot.html#relaunch)","Mozilla/5.0 (compatible; MojeekBot/0.2; http://www.mojeek.com/bot.html)","Mozilla/5.0 (compatible; MojeekBot/0.5; http://www.mojeek.com/bot.html)","Mozilla/5.0 (compatible; MojeekBot/0.6; +https://www.mojeek.com/bot.html)","Mozilla/5.0 (compatible; MojeekBot/0.6; http://www.mojeek.com/bot.html)"]},{pattern:"netEstate NE Crawler",addition_date:"2016/01/23",url:"http://www.website-datenbank.de/",instances:["netEstate NE Crawler (+http://www.sengine.info/)","netEstate NE Crawler (+http://www.website-datenbank.de/)"]},{pattern:"SafeSearch microdata crawler",addition_date:"2016/01/23",url:"https://safesearch.avira.com",instances:["SafeSearch microdata crawler (https://safesearch.avira.com, safesearch-abuse@avira.com)"]},{pattern:"Gluten Free Crawler\\/",addition_date:"2016/01/23",url:"http://glutenfreepleasure.com/",instances:["Mozilla/5.0 (compatible; Gluten Free Crawler/1.0; +http://glutenfreepleasure.com/)"]},{pattern:"Sonic",addition_date:"2016/02/08",url:"http://www.yama.info.waseda.ac.jp/~crawler/info.html",instances:["Mozilla/5.0 (compatible; RankSonicSiteAuditor/1.0; +https://ranksonic.com/ranksonic_sab.html)","Mozilla/5.0 (compatible; Sonic/1.0; http://www.yama.info.waseda.ac.jp/~crawler/info.html)","Mozzila/5.0 (compatible; Sonic/1.0; http://www.yama.info.waseda.ac.jp/~crawler/info.html)"]},{pattern:"Sysomos",addition_date:"2016/02/08",url:"http://www.sysomos.com",instances:["Mozilla/5.0 (compatible; Sysomos/1.0; +http://www.sysomos.com/; Sysomos)"]},{pattern:"Trove",addition_date:"2016/02/08",url:"http://www.trove.com",instances:[]},{pattern:"deadlinkchecker",addition_date:"2016/02/08",url:"http://www.deadlinkchecker.com",instances:["www.deadlinkchecker.com Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36","www.deadlinkchecker.com XMLHTTP/1.0","www.deadlinkchecker.com XMLHTTP/1.0 Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36"]},{pattern:"Slack-ImgProxy",addition_date:"2016/04/25",url:"https://api.slack.com/robots",instances:["Slack-ImgProxy (+https://api.slack.com/robots)","Slack-ImgProxy 0.59 (+https://api.slack.com/robots)","Slack-ImgProxy 0.66 (+https://api.slack.com/robots)","Slack-ImgProxy 1.106 (+https://api.slack.com/robots)","Slack-ImgProxy 1.138 (+https://api.slack.com/robots)","Slack-ImgProxy 149 (+https://api.slack.com/robots)"]},{pattern:"Embedly",addition_date:"2016/04/25",url:"http://support.embed.ly",instances:["Embedly +support@embed.ly","Mozilla/5.0 (compatible; Embedly/0.2; +http://support.embed.ly/)","Mozilla/5.0 (compatible; Embedly/0.2; snap; +http://support.embed.ly/)"]},{pattern:"RankActiveLinkBot",addition_date:"2016/06/20",url:"https://rankactive.com/resources/rankactive-linkbot",instances:["Mozilla/5.0 (compatible; RankActiveLinkBot; +https://rankactive.com/resources/rankactive-linkbot)"]},{pattern:"iskanie",addition_date:"2016/09/02",url:"http://www.iskanie.com",instances:["iskanie (+http://www.iskanie.com)"]},{pattern:"SafeDNSBot",addition_date:"2016/09/10",url:"https://www.safedns.com/searchbot",instances:["SafeDNSBot (https://www.safedns.com/searchbot)"]},{pattern:"SkypeUriPreview",addition_date:"2016/10/10",instances:["Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5"]},{pattern:"Veoozbot",addition_date:"2016/11/03",url:"http://www.veooz.com/veoozbot.html",instances:["Mozilla/5.0 (compatible; Veoozbot/1.0; +http://www.veooz.com/veoozbot.html)"]},{pattern:"Slackbot",addition_date:"2016/11/03",url:"https://api.slack.com/robots",instances:["Slackbot-LinkExpanding (+https://api.slack.com/robots)","Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots)","Slackbot 1.0 (+https://api.slack.com/robots)"]},{pattern:"redditbot",addition_date:"2016/11/03",url:"http://www.reddit.com/feedback",instances:["Mozilla/5.0 (compatible; redditbot/1.0; +http://www.reddit.com/feedback)"]},{pattern:"datagnionbot",addition_date:"2016/11/03",url:"http://www.datagnion.com/bot.html",instances:["datagnionbot (+http://www.datagnion.com/bot.html)"]},{pattern:"Google-Adwords-Instant",addition_date:"2016/11/03",url:"http://www.google.com/adsbot.html",instances:["Google-Adwords-Instant (+http://www.google.com/adsbot.html)"]},{pattern:"adbeat_bot",addition_date:"2016/11/04",instances:["Mozilla/5.0 (compatible; adbeat_bot; +support@adbeat.com; support@adbeat.com)","adbeat_bot"]},{pattern:"WhatsApp",addition_date:"2016/11/15",url:"https://www.whatsapp.com/",instances:["WhatsApp","WhatsApp/0.3.4479 N","WhatsApp/0.3.4679 N","WhatsApp/0.3.4941 N","WhatsApp/2.12.15/i","WhatsApp/2.12.16/i","WhatsApp/2.12.17/i","WhatsApp/2.12.449 A","WhatsApp/2.12.453 A","WhatsApp/2.12.510 A","WhatsApp/2.12.540 A","WhatsApp/2.12.548 A","WhatsApp/2.12.555 A","WhatsApp/2.12.556 A","WhatsApp/2.16.1/i","WhatsApp/2.16.13 A","WhatsApp/2.16.2/i","WhatsApp/2.16.42 A","WhatsApp/2.16.57 A","WhatsApp/2.19.92 i","WhatsApp/2.19.175 A","WhatsApp/2.19.244 A","WhatsApp/2.19.258 A","WhatsApp/2.19.308 A","WhatsApp/2.19.330 A"]},{pattern:"contxbot",addition_date:"2017/02/25",instances:["Mozilla/5.0 (compatible;contxbot/1.0)"]},{pattern:"pinterest\\.com\\/bot",addition_date:"2017/03/03",instances:["Mozilla/5.0 (compatible; Pinterestbot/1.0; +http://www.pinterest.com/bot.html)","Pinterest/0.2 (+http://www.pinterest.com/bot.html)"],url:"http://www.pinterest.com/bot.html"},{pattern:"electricmonk",addition_date:"2017/03/04",instances:["Mozilla/5.0 (compatible; electricmonk/3.2.0 +https://www.duedil.com/our-crawler/)"],url:"https://www.duedil.com/our-crawler/"},{pattern:"GarlikCrawler",addition_date:"2017/03/18",instances:["GarlikCrawler/1.2 (http://garlik.com/, crawler@garlik.com)"],url:"http://garlik.com/"},{pattern:"BingPreview\\/",addition_date:"2017/04/23",url:"https://www.bing.com/webmaster/help/which-crawlers-does-bing-use-8c184ec0",instances:["Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534+ (KHTML, like Gecko) BingPreview/1.0b","Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0; BingPreview/1.0b) like Gecko","Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0;  WOW64;  Trident/6.0;  BingPreview/1.0b)","Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0;  WOW64;  Trident/5.0;  BingPreview/1.0b)","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 BingPreview/1.0b"]},{pattern:"vebidoobot",addition_date:"2017/05/08",instances:["Mozilla/5.0 (compatible; vebidoobot/1.0; +https://blog.vebidoo.de/vebidoobot/"],url:"https://blog.vebidoo.de/vebidoobot/"},{pattern:"FemtosearchBot",addition_date:"2017/05/16",instances:["Mozilla/5.0 (compatible; FemtosearchBot/1.0; http://femtosearch.com)"],url:"http://femtosearch.com"},{pattern:"Yahoo Link Preview",addition_date:"2017/06/28",instances:["Mozilla/5.0 (compatible; Yahoo Link Preview; https://help.yahoo.com/kb/mail/yahoo-link-preview-SLN23615.html)"],url:"https://help.yahoo.com/kb/mail/yahoo-link-preview-SLN23615.html"},{pattern:"MetaJobBot",addition_date:"2017/08/16",instances:["Mozilla/5.0 (compatible; MetaJobBot; http://www.metajob.de/crawler)"],url:"http://www.metajob.de/the/crawler"},{pattern:"DomainStatsBot",addition_date:"2017/08/16",instances:["DomainStatsBot/1.0 (http://domainstats.io/our-bot)"],url:"http://domainstats.io/our-bot"},{pattern:"mindUpBot",addition_date:"2017/08/16",instances:["mindUpBot (datenbutler.de)"],url:"http://www.datenbutler.de/"},{pattern:"Daum\\/",addition_date:"2017/08/16",instances:["Mozilla/5.0 (compatible; Daum/4.1; +http://cs.daum.net/faq/15/4118.html?faqId=28966)"],url:"http://cs.daum.net/faq/15/4118.html?faqId=28966"},{pattern:"Jugendschutzprogramm-Crawler",addition_date:"2017/08/16",instances:["Jugendschutzprogramm-Crawler; Info: http://www.jugendschutzprogramm.de"],url:"http://www.jugendschutzprogramm.de"},{pattern:"Xenu Link Sleuth",addition_date:"2017/08/19",instances:["Xenu Link Sleuth/1.3.8"],url:"http://home.snafu.de/tilman/xenulink.html"},{pattern:"Pcore-HTTP",addition_date:"2017/08/19",instances:["Pcore-HTTP/v0.40.3","Pcore-HTTP/v0.44.0"],url:"https://bitbucket.org/softvisio/pcore/overview"},{pattern:"moatbot",addition_date:"2017/09/16",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36 moatbot","Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4 moatbot"],url:"https://moat.com"},{pattern:"KosmioBot",addition_date:"2017/09/16",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36 (compatible; KosmioBot/1.0; +http://kosm.io/bot.html)"],url:"http://kosm.io/bot.html"},{pattern:"[pP]ingdom",addition_date:"2017/09/16",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/59.0.3071.109 Chrome/59.0.3071.109 Safari/537.36 PingdomPageSpeed/1.0 (pingbot/2.0; +http://www.pingdom.com/)","Mozilla/5.0 (compatible; pingbot/2.0; +http://www.pingdom.com/)","Pingdom.com_bot_version_1.4_(http://www.pingdom.com/)","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36 PingdomPageSpeed/1.0 (pingbot/2.0; +http://www.pingdom.com/)","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) browser/2020.2.1 Chrome/78.0.3904.130 Electron/7.3.2 Safari/537.36 PingdomTMS/2020.2","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) browser/2020.2.5 Chrome/78.0.3904.130 Electron/7.3.15 Safari/537.36 PingdomTMS/2020.2","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) browser/2020.2.0 Chrome/78.0.3904.130 Electron/7.1.7 Safari/537.36 PingdomTMS/2020.2","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) renderer/2020.2.0 Chrome/78.0.3904.130 Electron/7.1.7 Safari/537.36 PingdomTMS/2020.2","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36 PingdomPageSpeed/1.0 (pingbot/2.0; http://www.pingdom.com/)"],url:"http://www.pingdom.com"},{pattern:"AppInsights",addition_date:"2019/03/09",instances:["Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; AppInsights)"],url:"https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview"},{pattern:"PhantomJS",addition_date:"2017/09/18",instances:["Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1 bl.uk_lddc_renderbot/2.0.0 (+ http://www.bl.uk/aboutus/legaldeposit/websites/websites/faqswebmaster/index.html)"],url:"http://phantomjs.org/"},{pattern:"Gowikibot",addition_date:"2017/10/26",instances:["Mozilla/5.0 (compatible; Gowikibot/1.0; +http://www.gowikibot.com)"],url:"http://www.gowikibot.com"},{pattern:"PiplBot",addition_date:"2017/10/30",instances:["PiplBot (+http://www.pipl.com/bot/)","Mozilla/5.0+(compatible;+PiplBot;+http://www.pipl.com/bot/)"],url:"http://www.pipl.com/bot/"},{pattern:"Discordbot",addition_date:"2017/09/22",url:"https://discordapp.com",instances:["Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)"]},{pattern:"TelegramBot",addition_date:"2017/10/01",instances:["TelegramBot (like TwitterBot)"]},{pattern:"Jetslide",addition_date:"2017/09/27",url:"http://jetsli.de/crawler",instances:["Mozilla/5.0 (compatible; Jetslide; +http://jetsli.de/crawler)"]},{pattern:"newsharecounts",addition_date:"2017/09/30",url:"http://newsharecounts.com/crawler",instances:["Mozilla/5.0 (compatible; NewShareCounts.com/1.0; +http://newsharecounts.com/crawler)"]},{pattern:"James BOT",addition_date:"2017/10/12",url:"http://cognitiveseo.com/bot.html",instances:["Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 - James BOT - WebCrawler http://cognitiveseo.com/bot.html"]},{pattern:"Bark[rR]owler",addition_date:"2017/10/09",url:"http://www.exensa.com/crawl",instances:["Barkrowler/0.5.1 (experimenting / debugging - sorry for your logs ) http://www.exensa.com/crawl - admin@exensa.com -- based on BuBiNG","Barkrowler/0.7 (+http://www.exensa.com/crawl)","BarkRowler/0.7 (+http://www.exensa.com/crawling)","Barkrowler/0.9 (+http://www.exensa.com/crawl)"]},{pattern:"TinEye",addition_date:"2017/10/14",url:"http://www.tineye.com/crawler.html",instances:["Mozilla/5.0 (compatible; TinEye-bot/1.31; +http://www.tineye.com/crawler.html)","TinEye/1.1 (http://tineye.com/crawler.html)"]},{pattern:"SocialRankIOBot",addition_date:"2017/10/19",url:"http://socialrank.io/about",instances:["SocialRankIOBot; http://socialrank.io/about"]},{pattern:"trendictionbot",addition_date:"2017/10/30",url:"http://www.trendiction.de/bot",instances:["Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.0; trendictionbot0.5.0; trendiction search; http://www.trendiction.de/bot; please let us know of any problems; web at trendiction.com) Gecko/20071127 Firefox/3.0.0.11","Mozilla/5.0 (Windows NT 10.0; Win64; x64; trendictionbot0.5.0; trendiction search; http://www.trendiction.de/bot; please let us know of any problems; web at trendiction.com) Gecko/20170101 Firefox/67.0"]},{pattern:"Ocarinabot",addition_date:"2017/09/27",instances:["Ocarinabot"]},{pattern:"epicbot",addition_date:"2017/10/31",url:"http://www.epictions.com/epicbot",instances:["Mozilla/5.0 (compatible; epicbot; +http://www.epictions.com/epicbot)"]},{pattern:"Primalbot",addition_date:"2017/09/27",url:"https://www.primal.com",instances:["Mozilla/5.0 (compatible; Primalbot; +https://www.primal.com;)"]},{pattern:"DuckDuckGo-Favicons-Bot",addition_date:"2017/10/06",url:"http://duckduckgo.com",instances:["Mozilla/5.0 (compatible; DuckDuckGo-Favicons-Bot/1.0; +http://duckduckgo.com)"]},{pattern:"GnowitNewsbot",addition_date:"2017/10/30",url:"http://www.gnowit.com",instances:["Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 / GnowitNewsbot / Contact information at http://www.gnowit.com"]},{pattern:"Leikibot",addition_date:"2017/09/24",url:"http://www.leiki.com",instances:["Mozilla/5.0 (Windows NT 6.3;compatible; Leikibot/1.0; +http://www.leiki.com)"]},{pattern:"LinkArchiver",addition_date:"2017/09/24",instances:["@LinkArchiver twitter bot"]},{pattern:"YaK\\/",addition_date:"2017/09/25",url:"http://linkfluence.com",instances:["Mozilla/5.0 (compatible; YaK/1.0; http://linkfluence.com/; bot@linkfluence.com)"]},{pattern:"PaperLiBot",addition_date:"2017/09/25",url:"http://support.paper.li/entries/20023257-what-is-paper-li",instances:["Mozilla/5.0 (compatible; PaperLiBot/2.1; http://support.paper.li/entries/20023257-what-is-paper-li)","Mozilla/5.0 (compatible; PaperLiBot/2.1; https://support.paper.li/entries/20023257-what-is-paper-li)"]},{pattern:"Digg Deeper",addition_date:"2017/09/26",url:"http://digg.com/about",instances:["Digg Deeper/v1 (http://digg.com/about)"]},{pattern:"dcrawl",addition_date:"2017/09/22",instances:["dcrawl/1.0"]},{pattern:"Snacktory",addition_date:"2017/09/23",url:"https://github.com/karussell/snacktory",instances:["Mozilla/5.0 (compatible; Snacktory; +https://github.com/karussell/snacktory)"]},{pattern:"AndersPinkBot",addition_date:"2017/09/24",url:"http://anderspink.com/bot.html",instances:["Mozilla/5.0 (compatible; AndersPinkBot/1.0; +http://anderspink.com/bot.html)"]},{pattern:"Fyrebot",addition_date:"2017/09/22",instances:["Fyrebot/1.0"]},{pattern:"EveryoneSocialBot",addition_date:"2017/09/22",url:"http://everyonesocial.com",instances:["Mozilla/5.0 (compatible; EveryoneSocialBot/1.0; support@everyonesocial.com http://everyonesocial.com/)"]},{pattern:"Mediatoolkitbot",addition_date:"2017/10/06",url:"http://mediatoolkit.com",instances:["Mediatoolkitbot (complaints@mediatoolkit.com)"]},{pattern:"Luminator-robots",addition_date:"2017/09/22",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.13 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.13 Luminator-robots/2.0"]},{pattern:"ExtLinksBot",addition_date:"2017/11/02",url:"https://extlinks.com/Bot.html",instances:["Mozilla/5.0 (compatible; ExtLinksBot/1.5 +https://extlinks.com/Bot.html)"]},{pattern:"SurveyBot",addition_date:"2017/11/02",instances:["Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.9.0.13) Gecko/2009073022 Firefox/3.5.2 (.NET CLR 3.5.30729) SurveyBot/2.3 (DomainTools)"]},{pattern:"NING\\/",addition_date:"2017/11/02",instances:["NING/1.0"]},{pattern:"okhttp",addition_date:"2017/11/02",instances:["okhttp/2.5.0","okhttp/2.7.5","okhttp/3.2.0","okhttp/3.5.0","okhttp/4.1.0"]},{pattern:"Nuzzel",addition_date:"2017/11/02",instances:["Nuzzel"]},{pattern:"omgili",addition_date:"2017/11/02",url:"http://omgili.com",instances:["omgili/0.5 +http://omgili.com"]},{pattern:"PocketParser",addition_date:"2017/11/02",url:"https://getpocket.com/pocketparser_ua",instances:["PocketParser/2.0 (+https://getpocket.com/pocketparser_ua)"]},{pattern:"YisouSpider",addition_date:"2017/11/02",instances:["YisouSpider","Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36"]},{pattern:"um-LN",addition_date:"2017/11/02",instances:["Mozilla/5.0 (compatible; um-LN/1.0; mailto: techinfo@ubermetrics-technologies.com)"]},{pattern:"ToutiaoSpider",addition_date:"2017/11/02",url:"http://web.toutiao.com/media_cooperation/",instances:["Mozilla/5.0 (compatible; ToutiaoSpider/1.0; http://web.toutiao.com/media_cooperation/;)"]},{pattern:"MuckRack",addition_date:"2017/11/02",url:"http://muckrack.com",instances:["Mozilla/5.0 (compatible; MuckRack/1.0; +http://muckrack.com)"]},{pattern:"Jamie's Spider",addition_date:"2017/11/02",url:"http://jamiembrown.com/",instances:["Jamie's Spider (http://jamiembrown.com/)"]},{pattern:"AHC\\/",addition_date:"2017/11/02",instances:["AHC/2.0"]},{pattern:"NetcraftSurveyAgent",addition_date:"2017/11/02",instances:["Mozilla/5.0 (compatible; NetcraftSurveyAgent/1.0; +info@netcraft.com)"]},{pattern:"Laserlikebot",addition_date:"2017/11/02",instances:["Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Laserlikebot/0.1)"]},{pattern:"^Apache-HttpClient",addition_date:"2017/11/02",instances:["Apache-HttpClient/4.2.3 (java 1.5)","Apache-HttpClient/4.2.5 (java 1.5)","Apache-HttpClient/4.3.1 (java 1.5)","Apache-HttpClient/4.3.3 (java 1.5)","Apache-HttpClient/4.3.5 (java 1.5)","Apache-HttpClient/4.4.1 (Java/1.8.0_65)","Apache-HttpClient/4.5.2 (Java/1.8.0_65)","Apache-HttpClient/4.5.2 (Java/1.8.0_151)","Apache-HttpClient/4.5.2 (Java/1.8.0_161)","Apache-HttpClient/4.5.2 (Java/1.8.0_181)","Apache-HttpClient/4.5.3 (Java/1.8.0_121)","Apache-HttpClient/4.5.3-SNAPSHOT (Java/1.8.0_152)","Apache-HttpClient/4.5.7 (Java/11.0.3)","Apache-HttpClient/4.5.10 (Java/1.8.0_201)"]},{pattern:"AppEngine-Google",addition_date:"2017/11/02",instances:["AppEngine-Google; (+http://code.google.com/appengine; appid: example)","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 AppEngine-Google; (+http://code.google.com/appengine; appid: s~feedly-nikon3)"]},{pattern:"Jetty",addition_date:"2017/11/02",instances:["Jetty/9.3.z-SNAPSHOT"]},{pattern:"Upflow",addition_date:"2017/11/02",instances:["Upflow/1.0"]},{pattern:"Thinklab",addition_date:"2017/11/02",url:"thinklab.com",instances:["Thinklab (thinklab.com)"]},{pattern:"Traackr\\.com",addition_date:"2017/11/02",url:"Traackr.com",instances:["Traackr.com"]},{pattern:"Twurly",addition_date:"2017/11/02",url:"http://twurly.org",instances:["Ruby, Twurly v1.1 (http://twurly.org)"]},{pattern:"Mastodon",addition_date:"2017/11/02",instances:["http.rb/2.2.2 (Mastodon/1.5.1; +https://example-masto-instance.org/)"]},{pattern:"http_get",addition_date:"2017/11/02",instances:["http_get"]},{pattern:"DnyzBot",addition_date:"2017/11/20",instances:["Mozilla/5.0 (compatible; DnyzBot/1.0)"]},{pattern:"botify",addition_date:"2018/02/01",instances:["Mozilla/5.0 (compatible; botify; http://botify.com)"]},{pattern:"007ac9 Crawler",addition_date:"2018/02/09",instances:["Mozilla/5.0 (compatible; 007ac9 Crawler; http://crawler.007ac9.net/)"]},{pattern:"BehloolBot",addition_date:"2018/02/09",instances:["Mozilla/5.0 (compatible; BehloolBot/beta; +http://www.webeaver.com/bot)"]},{pattern:"BrandVerity",addition_date:"2018/02/27",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:41.0) Gecko/20100101 Firefox/55.0 BrandVerity/1.0 (http://www.brandverity.com/why-is-brandverity-visiting-me)","Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11A465 Twitter for iPhone BrandVerity/1.0 (http://www.brandverity.com/why-is-brandverity-visiting-me)"],url:"http://www.brandverity.com/why-is-brandverity-visiting-me"},{pattern:"check_http",addition_date:"2018/02/09",instances:["check_http/v2.2.1 (nagios-plugins 2.2.1)"]},{pattern:"BDCbot",addition_date:"2018/02/09",instances:["Mozilla/5.0 (Windows NT 6.1; compatible; BDCbot/1.0; +http://bigweb.bigdatacorp.com.br/faq.aspx) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36","Mozilla/5.0 (Windows NT 10.0; Win64; x64; BDCbot/1.0; +http://bigweb.bigdatacorp.com.br/faq.aspx) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"]},{pattern:"ZumBot",addition_date:"2018/02/09",instances:["Mozilla/5.0 (compatible; ZumBot/1.0; http://help.zum.com/inquiry)"]},{pattern:"EZID",addition_date:"2018/02/09",instances:["EZID (EZID link checker; https://ezid.cdlib.org/)"]},{pattern:"ICC-Crawler",addition_date:"2018/02/28",instances:["ICC-Crawler/2.0 (Mozilla-compatible; ; http://ucri.nict.go.jp/en/icccrawler.html)"],url:"http://ucri.nict.go.jp/en/icccrawler.html"},{pattern:"ArchiveBot",addition_date:"2018/02/28",instances:["ArchiveTeam ArchiveBot/20170106.02 (wpull 2.0.2)"],url:"https://github.com/ArchiveTeam/ArchiveBot"},{pattern:"^LCC ",addition_date:"2018/02/28",instances:["LCC (+http://corpora.informatik.uni-leipzig.de/crawler_faq.html)"],url:"http://corpora.informatik.uni-leipzig.de/crawler_faq.html"},{pattern:"filterdb\\.iss\\.net\\/crawler",addition_date:"2018/03/16",instances:["Mozilla/5.0 (compatible; oBot/2.3.1; +http://filterdb.iss.net/crawler/)"],url:"http://filterdb.iss.net/crawler/"},{pattern:"BLP_bbot",addition_date:"2018/03/27",instances:["BLP_bbot/0.1"]},{pattern:"BomboraBot",addition_date:"2018/03/27",instances:["Mozilla/5.0 (compatible; BomboraBot/1.0; +http://www.bombora.com/bot)"],url:"http://www.bombora.com/bot"},{pattern:"Buck\\/",addition_date:"2018/03/27",instances:["Buck/2.2; (+https://app.hypefactors.com/media-monitoring/about.html)"],url:"https://app.hypefactors.com/media-monitoring/about.html"},{pattern:"Companybook-Crawler",addition_date:"2018/03/27",instances:["Companybook-Crawler (+https://www.companybooknetworking.com/)"],url:"https://www.companybooknetworking.com/"},{pattern:"Genieo",addition_date:"2018/03/27",instances:["Mozilla/5.0 (compatible; Genieo/1.0 http://www.genieo.com/webfilter.html)"],url:"http://www.genieo.com/webfilter.html"},{pattern:"magpie-crawler",addition_date:"2018/03/27",instances:["magpie-crawler/1.1 (U; Linux amd64; en-GB; +http://www.brandwatch.net)"],url:"http://www.brandwatch.net"},{pattern:"MeltwaterNews",addition_date:"2018/03/27",instances:["MeltwaterNews www.meltwater.com"],url:"http://www.meltwater.com"},{pattern:"Moreover",addition_date:"2018/03/27",instances:["Mozilla/5.0 Moreover/5.1 (+http://www.moreover.com)"],url:"http://www.moreover.com"},{pattern:"newspaper\\/",addition_date:"2018/03/27",instances:["newspaper/0.1.0.7","newspaper/0.2.5","newspaper/0.2.6","newspaper/0.2.8"]},{pattern:"ScoutJet",addition_date:"2018/03/27",instances:["Mozilla/5.0 (compatible; ScoutJet; +http://www.scoutjet.com/)"],url:"http://www.scoutjet.com/"},{pattern:"(^| )sentry\\/",addition_date:"2018/03/27",instances:["sentry/8.22.0 (https://sentry.io)"],url:"https://sentry.io"},{pattern:"StorygizeBot",addition_date:"2018/03/27",instances:["Mozilla/5.0 (compatible; StorygizeBot; http://www.storygize.com)"],url:"http://www.storygize.com"},{pattern:"UptimeRobot",addition_date:"2018/03/27",instances:["Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)"],url:"http://www.uptimerobot.com/"},{pattern:"OutclicksBot",addition_date:"2018/04/21",instances:["OutclicksBot/2 +https://www.outclicks.net/agent/VjzDygCuk4ubNmg40ZMbFqT0sIh7UfOKk8s8ZMiupUR","OutclicksBot/2 +https://www.outclicks.net/agent/gIYbZ38dfAuhZkrFVl7sJBFOUhOVct6J1SvxgmBZgCe","OutclicksBot/2 +https://www.outclicks.net/agent/PryJzTl8POCRHfvEUlRN5FKtZoWDQOBEvFJ2wh6KH5J","OutclicksBot/2 +https://www.outclicks.net/agent/p2i4sNUh7eylJF1S6SGgRs5mP40ExlYvsr9GBxVQG6h"],url:"https://www.outclicks.net"},{pattern:"seoscanners",addition_date:"2018/05/27",instances:["Mozilla/5.0 (compatible; seoscanners.net/1; +spider@seoscanners.net)"],url:"http://www.seoscanners.net/"},{pattern:"Hatena",addition_date:"2018/05/29",instances:["Hatena Antenna/0.3","Hatena::Russia::Crawler/0.01","Hatena-Favicon/2 (http://www.hatena.ne.jp/faq/)","Hatena::Scissors/0.01","HatenaBookmark/4.0 (Hatena::Bookmark; Analyzer)","Hatena::Fetcher/0.01 (master) Furl/3.13"]},{pattern:"Google Web Preview",addition_date:"2018/05/31",instances:["Mozilla/5.0 (Linux; U; Android 2.3.4; generic) AppleWebKit/537.36 (KHTML, like Gecko; Google Web Preview) Version/4.0 Mobile Safari/537.36","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko; Google Web Preview) Chrome/27.0.1453 Safari/537.36"]},{pattern:"MauiBot",addition_date:"2018/06/06",instances:["MauiBot (crawler.feedback+wc@gmail.com)"]},{pattern:"AlphaBot",addition_date:"2018/05/27",instances:["Mozilla/5.0 (compatible; AlphaBot/3.2; +http://alphaseobot.com/bot.html)"],url:"http://alphaseobot.com/bot.html"},{pattern:"SBL-BOT",addition_date:"2018/06/06",instances:["SBL-BOT (http://sbl.net)"],url:"http://sbl.net",description:"Bot of SoftByte BlackWidow"},{pattern:"IAS crawler",addition_date:"2018/06/06",instances:["IAS crawler (ias_crawler; http://integralads.com/site-indexing-policy/)"],url:"http://integralads.com/site-indexing-policy/",description:"Bot of Integral Ad Science, Inc."},{pattern:"adscanner",addition_date:"2018/06/24",instances:["Mozilla/5.0 (compatible; adscanner/)"]},{pattern:"Netvibes",addition_date:"2018/06/24",instances:["Netvibes (crawler/bot; http://www.netvibes.com","Netvibes (crawler; http://www.netvibes.com)"],url:"http://www.netvibes.com"},{pattern:"acapbot",addition_date:"2018/06/27",instances:["Mozilla/5.0 (compatible;acapbot/0.1;treat like Googlebot)","Mozilla/5.0 (compatible;acapbot/0.1.;treat like Googlebot)"]},{pattern:"Baidu-YunGuanCe",addition_date:"2018/06/27",instances:["Baidu-YunGuanCe-Bot(ce.baidu.com)","Baidu-YunGuanCe-SLABot(ce.baidu.com)","Baidu-YunGuanCe-ScanBot(ce.baidu.com)","Baidu-YunGuanCe-PerfBot(ce.baidu.com)","Baidu-YunGuanCe-VSBot(ce.baidu.com)"],url:"https://ce.baidu.com/topic/topic20150908",description:"Baidu Cloud Watch"},{pattern:"bitlybot",addition_date:"2018/06/27",instances:["bitlybot/3.0 (+http://bit.ly/)","bitlybot/2.0","bitlybot"],url:"http://bit.ly/"},{pattern:"blogmuraBot",addition_date:"2018/06/27",instances:["blogmuraBot (+http://www.blogmura.com)"],url:"http://www.blogmura.com",description:"A blog ranking site which links to blogs on just about every theme possible."},{pattern:"Bot\\.AraTurka\\.com",addition_date:"2018/06/27",instances:["Bot.AraTurka.com/0.0.1"],url:"http://www.araturka.com"},{pattern:"bot-pge\\.chlooe\\.com",addition_date:"2018/06/27",instances:["bot-pge.chlooe.com/1.0.0 (+http://www.chlooe.com/)"]},{pattern:"BoxcarBot",addition_date:"2018/06/27",instances:["Mozilla/5.0 (compatible; BoxcarBot/1.1; +awesome@boxcar.io)"],url:"https://boxcar.io/"},{pattern:"BTWebClient",addition_date:"2018/06/27",instances:["BTWebClient/180B(9704)"],url:"http://www.utorrent.com/",description:"µTorrent BitTorrent Client"},{pattern:"ContextAd Bot",addition_date:"2018/06/27",instances:["Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;.NET CLR 1.0.3705; ContextAd Bot 1.0)","ContextAd Bot 1.0"]},{pattern:"Digincore bot",addition_date:"2018/06/27",instances:["Mozilla/5.0 (compatible; Digincore bot; https://www.digincore.com/crawler.html for rules and instructions.)"],url:"http://www.digincore.com/crawler.html"},{pattern:"Disqus",addition_date:"2018/06/27",instances:["Disqus/1.0"],url:"https://disqus.com/",description:"validate and quality check pages."},{pattern:"Feedly",addition_date:"2018/06/27",instances:["Feedly/1.0 (+http://www.feedly.com/fetcher.html; like FeedFetcher-Google)","FeedlyBot/1.0 (http://feedly.com)"],url:"https://www.feedly.com/fetcher.html",description:"Feedly Fetcher is how Feedly grabs RSS or Atom feeds when users choose to add them to their Feedly or any of the other applications built on top of the feedly cloud."},{pattern:"Fetch\\/",addition_date:"2018/06/27",instances:["Fetch/2.0a (CMS Detection/Web/SEO analysis tool, see http://guess.scritch.org)"]},{pattern:"Fever",addition_date:"2018/06/27",instances:["Fever/1.38 (Feed Parser; http://feedafever.com; Allow like Gecko)"],url:"http://feedafever.com"},{pattern:"Flamingo_SearchEngine",addition_date:"2018/06/27",instances:["Flamingo_SearchEngine (+http://www.flamingosearch.com/bot)"]},{pattern:"FlipboardProxy",addition_date:"2018/06/27",instances:["Mozilla/5.0 (compatible; FlipboardProxy/1.1; +http://flipboard.com/browserproxy)","Mozilla/5.0 (compatible; FlipboardProxy/1.2; +http://flipboard.com/browserproxy)","Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (FlipboardProxy/1.1; +http://flipboard.com/browserproxy)","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 (FlipboardProxy/1.1; +http://flipboard.com/browserproxy)","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:49.0) Gecko/20100101 Firefox/49.0 (FlipboardProxy/1.2; +http://flipboard.com/browserproxy)"],url:"https://about.flipboard.com/browserproxy/",description:"a proxy service to fetch, validate, and prepare certain elements of websites for presentation through the Flipboard Application"},{pattern:"g2reader-bot",addition_date:"2018/06/27",instances:["g2reader-bot/1.0 (+http://www.g2reader.com/)"],url:"http://www.g2reader.com/"},{pattern:"G2 Web Services",addition_date:"2019/03/01",instances:["G2 Web Services/1.0 (built with StormCrawler Archetype 1.8; https://www.g2webservices.com/; developers@g2llc.com)"],url:"https://www.g2webservices.com/"},{pattern:"imrbot",addition_date:"2018/06/27",instances:["Mozilla/5.0 (compatible; imrbot/1.10.8 +http://www.mignify.com)"],url:"http://www.mignify.com"},{pattern:"K7MLWCBot",addition_date:"2018/06/27",instances:["K7MLWCBot/1.0 (+http://www.k7computing.com)"],url:"http://www.k7computing.com",description:"Virus scanner"},{pattern:"Kemvibot",addition_date:"2018/06/27",instances:["Kemvibot/1.0 (http://kemvi.com, marco@kemvi.com)"],url:"http://kemvi.com"},{pattern:"Landau-Media-Spider",addition_date:"2018/06/27",instances:["Landau-Media-Spider/1.0(http://bots.landaumedia.de/bot.html)"],url:"http://bots.landaumedia.de/bot.html"},{pattern:"linkapediabot",addition_date:"2018/06/27",instances:["linkapediabot (+http://www.linkapedia.com)"],url:"http://www.linkapedia.com"},{pattern:"vkShare",addition_date:"2018/07/02",instances:["Mozilla/5.0 (compatible; vkShare; +http://vk.com/dev/Share)"],url:"http://vk.com/dev/Share"},{pattern:"Siteimprove\\.com",addition_date:"2018/06/22",instances:["Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) LinkCheck by Siteimprove.com","Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.0) Match by Siteimprove.com","Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) SiteCheck-sitecrawl by Siteimprove.com","Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.0) LinkCheck by Siteimprove.com"]},{pattern:"BLEXBot\\/",addition_date:"2018/07/07",instances:["Mozilla/5.0 (compatible; BLEXBot/1.0; +http://webmeup-crawler.com/)"],url:"http://webmeup-crawler.com"},{pattern:"DareBoost",addition_date:"2018/07/07",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36 DareBoost"],url:"https://www.dareboost.com/",description:"Bot to test, Analyze and Optimize website"},{pattern:"ZuperlistBot\\/",addition_date:"2018/07/07",instances:["Mozilla/5.0 (compatible; ZuperlistBot/1.0)"]},{pattern:"Miniflux\\/",addition_date:"2018/07/07",instances:["Mozilla/5.0 (compatible; Miniflux/2.0.x-dev; +https://miniflux.net)","Mozilla/5.0 (compatible; Miniflux/2.0.3; +https://miniflux.net)","Mozilla/5.0 (compatible; Miniflux/2.0.7; +https://miniflux.net)","Mozilla/5.0 (compatible; Miniflux/2.0.10; +https://miniflux.net)","Mozilla/5.0 (compatibl$; Miniflux/2.0.x-dev; +https://miniflux.app)","Mozilla/5.0 (compatible; Miniflux/2.0.11; +https://miniflux.app)","Mozilla/5.0 (compatible; Miniflux/2.0.12; +https://miniflux.app)","Mozilla/5.0 (compatible; Miniflux/ae1dc1a; +https://miniflux.app)","Mozilla/5.0 (compatible; Miniflux/3b6e44c; +https://miniflux.app)"],url:"https://miniflux.net",description:"Miniflux is a minimalist and opinionated feed reader."},{pattern:"Feedspot",addition_date:"2018/07/07",instances:["Mozilla/5.0 (compatible; Feedspotbot/1.0; +http://www.feedspot.com/fs/bot)","Mozilla/5.0 (compatible; Feedspot/1.0 (+https://www.feedspot.com/fs/fetcher; like FeedFetcher-Google)"],url:"http://www.feedspot.com/fs/bot"},{pattern:"Diffbot\\/",addition_date:"2018/07/07",instances:["Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729; Diffbot/0.1; +http://www.diffbot.com)"],url:"http://www.diffbot.com"},{pattern:"SEOkicks",addition_date:"2018/08/22",instances:["Mozilla/5.0 (compatible; SEOkicks; +https://www.seokicks.de/robot.html)"],url:"https://www.seokicks.de/robot.html"},{pattern:"tracemyfile",addition_date:"2018/08/23",instances:["Mozilla/5.0 (compatible; tracemyfile/1.0; +bot@tracemyfile.com)"]},{pattern:"Nimbostratus-Bot",addition_date:"2018/08/29",instances:["Mozilla/5.0 (compatible; Nimbostratus-Bot/v1.3.2; http://cloudsystemnetworks.com)"]},{pattern:"zgrab",addition_date:"2018/08/30",instances:["Mozilla/5.0 zgrab/0.x"],url:"https://zmap.io/"},{pattern:"PR-CY\\.RU",addition_date:"2018/08/30",instances:["Mozilla/5.0 (compatible; PR-CY.RU; + https://a.pr-cy.ru)"],url:"https://a.pr-cy.ru/"},{pattern:"AdsTxtCrawler",addition_date:"2018/08/30",instances:["AdsTxtCrawler/1.0"]},{pattern:"Datafeedwatch",addition_date:"2018/09/05",instances:["Datafeedwatch/2.1.x"],url:"https://www.datafeedwatch.com/"},{pattern:"Zabbix",addition_date:"2018/09/05",instances:["Zabbix"],url:"https://www.zabbix.com/documentation/3.4/manual/web_monitoring"},{pattern:"TangibleeBot",addition_date:"2018/09/05",instances:["TangibleeBot/1.0.0.0 (http://tangiblee.com/bot)"],url:"http://tangiblee.com/bot"},{pattern:"google-xrawler",addition_date:"2018/09/05",instances:["google-xrawler"],url:"https://webmasters.stackexchange.com/questions/105560/what-is-the-google-xrawler-user-agent-used-for"},{pattern:"axios",addition_date:"2018/09/06",instances:["axios/0.18.0","axios/0.19.0"],url:"https://github.com/axios/axios"},{pattern:"Amazon CloudFront",addition_date:"2018/09/07",instances:["Amazon CloudFront"],url:"https://aws.amazon.com/cloudfront/"},{pattern:"Pulsepoint",addition_date:"2018/09/24",instances:["Pulsepoint XT3 web scraper"]},{pattern:"CloudFlare-AlwaysOnline",addition_date:"2018/09/27",instances:["Mozilla/5.0 (compatible; CloudFlare-AlwaysOnline/1.0; +http://www.cloudflare.com/always-online) AppleWebKit/534.34","Mozilla/5.0 (compatible; CloudFlare-AlwaysOnline/1.0; +https://www.cloudflare.com/always-online) AppleWebKit/534.34"],url:"https://www.cloudflare.com/always-online/"},{pattern:"Google-Structured-Data-Testing-Tool",addition_date:"2018/10/02",instances:["Mozilla/5.0 (compatible; Google-Structured-Data-Testing-Tool +https://search.google.com/structured-data/testing-tool)","Mozilla/5.0 (compatible; Google-Structured-Data-Testing-Tool +http://developers.google.com/structured-data/testing-tool/)"],url:"https://search.google.com/structured-data/testing-tool"},{pattern:"WordupInfoSearch",addition_date:"2018/10/07",instances:["WordupInfoSearch/1.0"]},{pattern:"WebDataStats",addition_date:"2018/10/08",instances:["Mozilla/5.0 (compatible; WebDataStats/1.0 ; +https://webdatastats.com/policy.html)"],url:"https://webdatastats.com/"},{pattern:"HttpUrlConnection",addition_date:"2018/10/08",instances:["Jersey/2.25.1 (HttpUrlConnection 1.8.0_141)"]},{pattern:"Seekport Crawler",addition_date:"2018/10/08",instances:["Mozilla/5.0 (compatible; Seekport Crawler; http://seekport.com/)"],url:"http://seekport.com/"},{pattern:"ZoomBot",addition_date:"2018/10/10",instances:["ZoomBot (Linkbot 1.0 http://suite.seozoom.it/bot.html)"],url:"http://suite.seozoom.it/bot.html"},{pattern:"VelenPublicWebCrawler",addition_date:"2018/10/09",instances:["VelenPublicWebCrawler (velen.io)"]},{pattern:"MoodleBot",addition_date:"2018/10/10",instances:["MoodleBot/1.0"]},{pattern:"jpg-newsbot",addition_date:"2018/10/10",instances:["jpg-newsbot/2.0; (+https://vipnytt.no/bots/)"],url:"https://vipnytt.no/bots/"},{pattern:"outbrain",addition_date:"2018/10/14",instances:["Mozilla/5.0 (Java) outbrain"],url:"https://www.outbrain.com/help/advertisers/invalid-url/"},{pattern:"W3C_Validator",addition_date:"2018/10/14",instances:["W3C_Validator/1.3"],url:"https://validator.w3.org/services"},{pattern:"Validator\\.nu",addition_date:"2018/10/14",instances:["Validator.nu/LV"],url:"https://validator.w3.org/services"},{pattern:"W3C-checklink",addition_date:"2018/10/14",depends_on:["libwww-perl"],instances:["W3C-checklink/2.90 libwww-perl/5.64","W3C-checklink/3.6.2.3 libwww-perl/5.64","W3C-checklink/4.2 [4.20] libwww-perl/5.803","W3C-checklink/4.2.1 [4.21] libwww-perl/5.803","W3C-checklink/4.3 [4.42] libwww-perl/5.805","W3C-checklink/4.3 [4.42] libwww-perl/5.808","W3C-checklink/4.3 [4.42] libwww-perl/5.820","W3C-checklink/4.5 [4.154] libwww-perl/5.823","W3C-checklink/4.5 [4.160] libwww-perl/5.823"],url:"https://validator.w3.org/services"},{pattern:"W3C-mobileOK",addition_date:"2018/10/14",instances:["W3C-mobileOK/DDC-1.0"],url:"https://validator.w3.org/services"},{pattern:"W3C_I18n-Checker",addition_date:"2018/10/14",instances:["W3C_I18n-Checker/1.0"],url:"https://validator.w3.org/services"},{pattern:"FeedValidator",addition_date:"2018/10/14",instances:["FeedValidator/1.3"],url:"https://validator.w3.org/services"},{pattern:"W3C_CSS_Validator",addition_date:"2018/10/14",instances:["Jigsaw/2.3.0 W3C_CSS_Validator_JFouffa/2.0"],url:"https://validator.w3.org/services"},{pattern:"W3C_Unicorn",addition_date:"2018/10/14",instances:["W3C_Unicorn/1.0"],url:"https://validator.w3.org/services"},{pattern:"Google-PhysicalWeb",addition_date:"2018/10/21",instances:["Mozilla/5.0 (Google-PhysicalWeb)"]},{pattern:"Blackboard",addition_date:"2018/10/28",instances:["Blackboard Safeassign"],url:"https://help.blackboard.com/Learn/Administrator/Hosting/Tools_Management/SafeAssign"},{pattern:"ICBot\\/",addition_date:"2018/10/23",instances:["Mozilla/5.0 (compatible; ICBot/0.1; +https://ideasandcode.xyz"],url:"https://ideasandcode.xyz"},{pattern:"BazQux",addition_date:"2018/10/23",instances:["Mozilla/5.0 (compatible; BazQux/2.4; +https://bazqux.com/fetcher; 1 subscribers)"],url:"https://bazqux.com/fetcher"},{pattern:"Twingly",addition_date:"2018/10/23",instances:["Mozilla/5.0 (compatible; Twingly Recon; twingly.com)"],url:"https://twingly.com"},{pattern:"Rivva",addition_date:"2018/10/23",instances:["Mozilla/5.0 (compatible; Rivva; http://rivva.de)"],url:"http://rivva.de"},{pattern:"Experibot",addition_date:"2018/11/03",instances:["Experibot-v2 http://goo.gl/ZAr8wX","Experibot-v3 http://goo.gl/ZAr8wX"],url:"https://amirkr.wixsite.com/experibot"},{pattern:"awesomecrawler",addition_date:"2018/11/24",instances:["Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.5 Safari/537.22 +awesomecrawler"]},{pattern:"Dataprovider\\.com",addition_date:"2018/11/24",instances:["Mozilla/5.0 (compatible; Dataprovider.com)"],url:"https://www.dataprovider.com/"},{pattern:"GroupHigh\\/",addition_date:"2018/11/24",instances:["Mozilla/5.0 (compatible; GroupHigh/1.0; +http://www.grouphigh.com/"],url:"http://www.grouphigh.com/"},{pattern:"theoldreader\\.com",addition_date:"2018/12/02",instances:["Mozilla/5.0 (compatible; theoldreader.com)"],url:"https://www.theoldreader.com/"},{pattern:"AnyEvent",addition_date:"2018/12/07",instances:["Mozilla/5.0 (compatible; U; AnyEvent-HTTP/2.24; +http://software.schmorp.de/pkg/AnyEvent)"],url:"http://software.schmorp.de/pkg/AnyEvent.html"},{pattern:"Uptimebot\\.org",addition_date:"2019/01/17",instances:["Uptimebot.org - Free website monitoring"],url:"http://uptimebot.org/"},{pattern:"Nmap Scripting Engine",addition_date:"2019/02/04",instances:["Mozilla/5.0 (compatible; Nmap Scripting Engine; https://nmap.org/book/nse.html)"],url:"https://nmap.org/book/nse.html"},{pattern:"2ip\\.ru",addition_date:"2019/02/12",instances:["2ip.ru CMS Detector (https://2ip.ru/cms/)"],url:"https://2ip.ru/cms/"},{pattern:"Clickagy",addition_date:"2019/02/19",instances:["Clickagy Intelligence Bot v2"],url:"https://www.clickagy.com"},{pattern:"Caliperbot",addition_date:"2019/03/02",instances:["Caliperbot/1.0 (+http://www.conductor.com/caliperbot)"],url:"http://www.conductor.com/caliperbot"},{pattern:"MBCrawler",addition_date:"2019/03/02",instances:["MBCrawler/1.0 (https://monitorbacklinks.com)"],url:"https://monitorbacklinks.com"},{pattern:"online-webceo-bot",addition_date:"2019/03/02",instances:["Mozilla/5.0 (compatible; online-webceo-bot/1.0; +http://online.webceo.com)"],url:"http://online.webceo.com"},{pattern:"B2B Bot",addition_date:"2019/03/02",instances:["B2B Bot"]},{pattern:"AddSearchBot",addition_date:"2019/03/02",instances:["Mozilla/5.0 (compatible; AddSearchBot/0.9; +http://www.addsearch.com/bot; info@addsearch.com)"],url:"http://www.addsearch.com/bot"},{pattern:"Google Favicon",addition_date:"2019/03/14",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"]},{pattern:"HubSpot",addition_date:"2019/04/15",instances:["Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36 HubSpot Webcrawler - web-crawlers@hubspot.com","Mozilla/5.0 (X11; Linux x86_64; HubSpot Single Page link check; web-crawlers+links@hubspot.com) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36","Mozilla/5.0 (compatible; HubSpot Crawler; web-crawlers@hubspot.com)","HubSpot Connect 2.0 (http://dev.hubspot.com/) - BizOpsCompanies-Tq2-BizCoDomainValidationAudit"]},{pattern:"Chrome-Lighthouse",addition_date:"2019/03/15",instances:["Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/69.0.3464.0 Mobile Safari/537.36 Chrome-Lighthouse","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/69.0.3464.0 Safari/537.36 Chrome-Lighthouse","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Safari/537.36 Chrome-Lighthouse","Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4695.0 Mobile Safari/537.36 Chrome-Lighthouse","Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Mobile Safari/537.36 Chrome-Lighthouse"],url:"https://developers.google.com/speed/pagespeed/insights"},{pattern:"HeadlessChrome",url:"https://developers.google.com/web/updates/2017/04/headless-chrome",addition_date:"2019/06/17",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/74.0.3729.169 Safari/537.36","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/69.0.3494.0 Safari/537.36","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/76.0.3803.0 Safari/537.36"]},{pattern:"CheckMarkNetwork\\/",addition_date:"2019/06/30",instances:["CheckMarkNetwork/1.0 (+http://www.checkmarknetwork.com/spider.html)"],url:"https://www.checkmarknetwork.com/"},{pattern:"www\\.uptime\\.com",addition_date:"2019/07/21",instances:["Mozilla/5.0 (compatible; Uptimebot/1.0; +http://www.uptime.com/uptimebot)"],url:"http://www.uptime.com/uptimebot"},{pattern:"Streamline3Bot\\/",addition_date:"2019/07/21",instances:["Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1) Streamline3Bot/1.0","Mozilla/5.0 (Windows NT 6.1; Win64; x64; +https://www.ubtsupport.com/legal/Streamline3Bot.php) Streamline3Bot/1.0"],url:"https://www.ubtsupport.com/legal/Streamline3Bot.php"},{pattern:"serpstatbot\\/",addition_date:"2019/07/25",instances:["serpstatbot/1.0 (advanced backlink tracking bot; http://serpstatbot.com/; abuse@serpstatbot.com)","serpstatbot/1.0 (advanced backlink tracking bot; curl/7.58.0; http://serpstatbot.com/; abuse@serpstatbot.com)"],url:"http://serpstatbot.com"},{pattern:"MixnodeCache\\/",addition_date:"2019/08/04",instances:["MixnodeCache/1.8(+https://cache.mixnode.com/)"],url:"https://cache.mixnode.com/"},{pattern:"^curl",addition_date:"2019/08/15",instances:["curl","curl/7.29.0","curl/7.47.0","curl/7.54.0","curl/7.55.1","curl/7.64.0","curl/7.64.1","curl/7.65.3"],url:"https://curl.haxx.se/"},{pattern:"SimpleScraper",addition_date:"2019/08/16",instances:["Mozilla/5.0 (compatible; SimpleScraper)"],url:"https://github.com/ramonkcom/simple-scraper/"},{pattern:"RSSingBot",addition_date:"2019/09/15",instances:["RSSingBot (http://www.rssing.com)"],url:"http://www.rssing.com"},{pattern:"Jooblebot",addition_date:"2019/09/25",instances:["Mozilla/5.0 (compatible; Jooblebot/2.0; Windows NT 6.1; WOW64; +http://jooble.org/jooble-bot) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36"],url:"http://jooble.org/jooble-bot"},{pattern:"fedoraplanet",addition_date:"2019/09/28",instances:["venus/fedoraplanet"],url:"http://fedoraplanet.org/"},{pattern:"Friendica",addition_date:"2019/09/28",instances:["Friendica 'The Tazmans Flax-lily' 2019.01-1293; https://hoyer.xyz"],url:"https://hoyer.xyz"},{pattern:"NextCloud",addition_date:"2019/09/30",instances:["NextCloud-News/1.0"],url:"https://nextcloud.com/"},{pattern:"Tiny Tiny RSS",addition_date:"2019/10/04",instances:["Tiny Tiny RSS/1.15.3 (http://tt-rss.org/)","Tiny Tiny RSS/17.12 (a2d1fa5) (http://tt-rss.org/)","Tiny Tiny RSS/19.2 (b68db2d) (http://tt-rss.org/)","Tiny Tiny RSS/19.8 (http://tt-rss.org/)"],url:"http://tt-rss.org/"},{pattern:"RegionStuttgartBot",addition_date:"2019/10/17",instances:["Mozilla/5.0 (compatible; RegionStuttgartBot/1.0; +http://it.region-stuttgart.de/competenzatlas/unternehmen-suchen/)"],url:"http://it.region-stuttgart.de/competenzatlas/unternehmen-suchen/"},{pattern:"Bytespider",addition_date:"2019/11/11",instances:["Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.3754.1902 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.4454.1745 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.7597.1164 Mobile Safari/537.36; Bytespider;bytespider@bytedance.com","Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2988.1545 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.4141.1682 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.3478.1649 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.5267.1259 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.7990.1979 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.2268.1523 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2576.1836 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.9681.1227 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.6023.1635 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.4944.1981 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.3613.1739 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.4022.1033 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.3248.1547 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.5527.1507 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.5216.1326 Mobile Safari/537.36; Bytespider","Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.9038.1080 Mobile Safari/537.36; Bytespider"],url:"https://stackoverflow.com/questions/57908900/what-is-the-bytespider-user-agent"},{pattern:"Datanyze",addition_date:"2019/11/17",instances:["Mozilla/5.0 (X11; Datanyze; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"],url:"https://www.datanyze.com/dnyzbot/"},{pattern:"Google-Site-Verification",addition_date:"2019/12/11",instances:["Mozilla/5.0 (compatible; Google-Site-Verification/1.0)"],url:"https://support.google.com/webmasters/answer/9008080"},{pattern:"TrendsmapResolver",addition_date:"2020/02/24",instances:["Mozilla/5.0 (compatible; TrendsmapResolver/0.1)"],url:"https://www.trendsmap.com/"},{pattern:"tweetedtimes",addition_date:"2020/02/24",instances:["Mozilla/5.0 (compatible; +http://tweetedtimes.com)"],url:"https://tweetedtimes.com/"},{pattern:"NTENTbot",addition_date:"2020/02/24",instances:["Mozilla/5.0 (compatible; NTENTbot; +http://www.ntent.com/ntentbot)"],url:"https://ntent.com/ntentbot/"},{pattern:"Gwene",addition_date:"2020/02/24",instances:["Gwene/1.0 (The gwene.org rss-to-news gateway) Googlebot"],url:"https://gwene.org"},{pattern:"SimplePie",addition_date:"2020/02/24",instances:["SimplePie/1.3-dev (Feed Parser; http://simplepie.org; Allow like Gecko)"],url:"http://simplepie.org"},{pattern:"SearchAtlas",addition_date:"2020/03/02",instances:["SearchAtlas.com SEO Crawler"],url:"http://SearchAtlas.com"},{pattern:"Superfeedr",addition_date:"2020/03/02",instances:["Superfeedr bot/2.0 http://superfeedr.com - Make your feeds realtime: get in touch - feed-id:1162088860"],url:"http://superfeedr.com"},{pattern:"feedbot",addition_date:"2020/03/02",instances:["wp.com feedbot/1.0 (+https://wp.com)"],url:"http://wp.com"},{pattern:"UT-Dorkbot",addition_date:"2020/03/02",instances:["UT-Dorkbot/1.0"],url:"https://security.utexas.edu/dorkbot"},{pattern:"Amazonbot",addition_date:"2020/03/02",instances:["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)"],url:"https://developer.amazon.com/support/amazonbot"},{pattern:"SerendeputyBot",addition_date:"2020/03/02",instances:["SerendeputyBot/0.8.6 (http://serendeputy.com/about/serendeputy-bot)"],url:"http://serendeputy.com/about/serendeputy-bot"},{pattern:"Eyeotabot",addition_date:"2020/03/02",instances:["Mozilla/5.0 (compatible; Eyeotabot/1.0; +http://www.eyeota.com)"],url:"http://www.eyeota.com"},{pattern:"officestorebot",addition_date:"2020/03/02",instances:["Mozilla/5.0 (compatible; officestorebot/1.0; +https://aka.ms/officestorebot)"],url:"https://aka.ms/officestorebot"},{pattern:"Neticle Crawler",addition_date:"2020/03/02",instances:["Neticle Crawler v1.0 ( https://neticle.com/bot/en/ )"],url:"https://neticle.com/bot/en/"},{pattern:"SurdotlyBot",addition_date:"2020/03/02",instances:["Mozilla/5.0 (compatible; SurdotlyBot/1.0; +http://sur.ly/bot.html; Linux; Android 4; iPhone; CPU iPhone OS 6_0_1 like Mac OS X)"],url:"http://sur.ly/bot.html"},{pattern:"LinkisBot",addition_date:"2020/03/02",instances:["Mozilla/5.0 (compatible; LinkisBot/1.0; bot@linkis.com) (iPhone; CPU iPhone OS 8_4_1 like Mac OS X) Mobile/12H321"]},{pattern:"AwarioSmartBot",addition_date:"2020/03/02",instances:["AwarioSmartBot/1.0 (+https://awario.com/bots.html; bots@awario.com)"],url:"https://awario.com/bots.html"},{pattern:"AwarioRssBot",addition_date:"2020/03/02",instances:["AwarioRssBot/1.0 (+https://awario.com/bots.html; bots@awario.com)"],url:"https://awario.com/bots.html"},{pattern:"RyteBot",addition_date:"2020/03/02",instances:["RyteBot/1.0.0 (+https://bot.ryte.com/)"],url:"https://bot.ryte.com/"},{pattern:"FreeWebMonitoring SiteChecker",addition_date:"2020/03/02",instances:["FreeWebMonitoring SiteChecker/0.2 (+https://www.freewebmonitoring.com/bot.html)"],url:"https://www.freewebmonitoring.com/bot.html"},{pattern:"AspiegelBot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; AspiegelBot)"],url:"https://aspiegel.com"},{pattern:"NAVER Blog Rssbot",addition_date:"2020/03/16",instances:["NAVER Blog Rssbot"],url:"http://www.naver.com"},{pattern:"zenback bot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; zenback bot; powered by logly +http://corp.logly.co.jp/)"],url:"http://corp.logly.co.jp/"},{pattern:"SentiBot",addition_date:"2020/03/16",instances:["SentiBot www.sentibot.eu (compatible with Googlebot)"],url:"https://www.sentibot.eu"},{pattern:"Domains Project\\/",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; Domains Project/1.0.3; +https://github.com/tb0hdan/domains)"],url:"https://github.com/tb0hdan/domains"},{pattern:"Pandalytics",addition_date:"2020/03/16",instances:["Pandalytics/1.0 (https://domainsbot.com/pandalytics/)"],url:"https://domainsbot.com/pandalytics/"},{pattern:"VKRobot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; VKRobot/1.0)"]},{pattern:"bidswitchbot",addition_date:"2020/03/16",instances:["bidswitchbot/1.0"],url:"https://www.bidswitch.com/about-us/"},{pattern:"tigerbot",addition_date:"2020/03/16",instances:["tigerbot"]},{pattern:"NIXStatsbot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; NIXStatsbot/1.1; +http://www.nixstats.com/bot.html)"],url:"http://www.nixstats.com/bot.html"},{pattern:"Atom Feed Robot",addition_date:"2020/03/16",instances:["RSSMicro.com RSS/Atom Feed Robot"],url:"https://rssmicro.com"},{pattern:"[Cc]urebot",addition_date:"2020/03/16",instances:["Curebot/1.0","curebot-feed-fetcher"]},{pattern:"PagePeeker\\/",addition_date:"2020/03/16",instances:["Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 (compatible; PagePeeker/3.0; +https://pagepeeker.com/robots/)"],url:"https://pagepeeker.com/robots/"},{pattern:"Vigil\\/",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; Vigil/1.0; +http://vigil-app.com/bot.html)"],url:"http://vigil-app.com/bot.html"},{pattern:"rssbot\\/",addition_date:"2020/03/16",instances:["rssbot/1.4.3 (+https://t.me/RustRssBot)"],url:"https://t.me/RustRssBot"},{pattern:"startmebot\\/",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; startmebot/1.0; +https://start.me/bot)"],url:"https://start.me/bot"},{pattern:"JobboerseBot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (X11; U; Linux Core i7-4980HQ; de; rv:32.0; compatible; JobboerseBot; http://www.jobboerse.com/bot.htm) Gecko/20100101 Firefox/38.0"],url:"http://www.jobboerse.com/bot.htm"},{pattern:"seewithkids",addition_date:"2020/03/16",instances:["http://seewithkids.com/bot"],url:"http://seewithkids.com/bot"},{pattern:"NINJA bot",addition_date:"2020/03/16",instances:["NINJA bot"]},{pattern:"Cutbot",addition_date:"2020/03/16",instances:["Cutbot; 1.5; http://cutbot.net/"],url:"http://cutbot.net/"},{pattern:"BublupBot",addition_date:"2020/03/16",instances:["BublupBot (+https://www.bublup.com/bublup-bot.html)"],url:"https://www.bublup.com/bublup-bot.html"},{pattern:"BrandONbot",addition_date:"2020/03/16",instances:["BrandONbot (http://brandonmedia.net)"],url:"http://brandonmedia.net"},{pattern:"RidderBot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; RidderBot/1.0; bot@ridder.co)","Mozilla/5.0 (compatible; RidderBot/1.0; bot@ridder.co) (iPhone; CPU iPhone OS 8_4_1 like Mac OS X) Mobile/12H321"],url:"http://brandonmedia.net"},{pattern:"Taboolabot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; Taboolabot/3.7; +http://www.taboola.com)"],url:"http://www.taboola.com"},{pattern:"Dubbotbot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; Dubbotbot/0.2; +http://dubbot.com)"],url:"http://dubbot.com"},{pattern:"FindITAnswersbot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible;FindITAnswersbot/1.0;+http://search.it-influentials.com/bot.htm)"],url:"http://search.it-influentials.com/bot.htm"},{pattern:"infoobot",addition_date:"2020/03/16",instances:["infoobot/0.1 (https://www.infoo.nl/bot.html)"],url:"https://www.infoo.nl/bot.html"},{pattern:"Refindbot",addition_date:"2020/03/16",instances:["Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 (Refindbot/1.0)"],url:"https://refind.com/about"},{pattern:"BlogTraffic\\/\\d\\.\\d+ Feed-Fetcher",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; BlogTraffic/1.4 Feed-Fetcher; +http://www.blogtraffic.de/rss-bot.html)"],url:"http://www.blogtraffic.de/rss-bot.html"},{pattern:"SeobilityBot",addition_date:"2020/03/16",instances:["SeobilityBot (SEO Tool; https://www.seobility.net/sites/bot.html)"],url:"https://www.seobility.net/sites/bot.html"},{pattern:"Cincraw",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; Cincraw/1.0; +http://cincrawdata.net/bot/)"],url:"http://cincrawdata.net/bot/"},{pattern:"Dragonbot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (Windows NT 6.1; rv:34.0) Gecko/20100101 Firefox/34.0; Dragonbot; http://www.dragonmetrics.com"],url:"http://www.dragonmetrics.com"},{pattern:"VoluumDSP-content-bot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; VoluumDSP-content-bot/2.0; +dsp-dev@codewise.com)"],url:"https://codewise.com"},{pattern:"FreshRSS",addition_date:"2020/03/16",instances:["FreshRSS/1.11.2 (Linux; https://freshrss.org) like Googlebot"],url:"https://freshrss.org"},{pattern:"BitBot",addition_date:"2020/03/16",instances:["Mozilla/5.0 (compatible; BitBot/v1.19.0; +https://bitbot.dev)"],url:"https://bitbot.dev"},{pattern:"^PHP-Curl-Class",addition_date:"2020/12/10",instances:["PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.2.24 curl/7.61.1","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.3.19 curl/7.66.0","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.3.23 curl/7.66.0","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.4.7 curl/7.69.1","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.4.9 curl/7.69.1","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.4.10 curl/7.69.1","PHP-Curl-Class/4.13.0 (+https://github.com/php-curl-class/php-curl-class) PHP/7.4.11 curl/7.69.1"],url:"https://github.com/php-curl-class/php-curl-class"},{pattern:"Google-Certificates-Bridge",addition_date:"2020/12/23",instances:["Google-Certificates-Bridge"]},{pattern:"centurybot",addition_date:"2022/04/26",instances:["Mozilla/5.0 (compatible; Go-http-client/1.1; +centurybot9@gmail.com)"],url:"unknown"},{pattern:"Viber",addition_date:"2021/04/27",instances:["Viber"],url:"https://www.viber.com/"},{pattern:"e\\.ventures Investment Crawler",addition_date:"2021/06/05",instances:["e.ventures Investment Crawler (eventures.vc)"]},{pattern:"evc-batch",addition_date:"2021/06/07",instances:["Mozilla/5.0 (compatible; evc-batch/2.0)"]},{pattern:"PetalBot",addition_date:"2021/06/07",instances:["Mozilla/5.0 (compatible;PetalBot;+https://webmaster.petalsearch.com/site/petalbot)","Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)"],url:"https://webmaster.petalsearch.com/site/petalbot"},{pattern:"virustotal",addition_date:"2021/09/22",instances:["Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US) AppEngine-Google; (+http://code.google.com/appengine; appid: s~virustotalcloud)","AppEngine-Google; (+http://code.google.com/appengine; appid: s~virustotalcloud)"],url:"https://www.virustotal.com/gui/home/url"},{pattern:"(^| )PTST\\/",addition_date:"2021/12/05",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36 PTST/211202.211915","Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0 PTST/211202.211915"],url:"https://www.webpagetest.org"},{pattern:"minicrawler",addition_date:"2022/01/12",instances:["Testomatobot/1.0 (Linux x86_64; +https://www.testomato.com/testomatobot) minicrawler/5.2.2"],url:"https://www.testomato.com/bot"},{pattern:"Cookiebot",addition_date:"2022/01/23",url:"https://www.cookiebot.com/",instances:["Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko; compatible; Cookiebot/1.0; +http://cookiebot.com/) Chrome/97.0.4692.71 Safari/537.36"]},{pattern:"trovitBot",addition_date:"2022/06/08",url:"http://www.trovit.com/bot.html",instances:["Mozilla/5.0 (compatible; trovitBot 1.0; +http://www.trovit.com/bot.html)"]},{pattern:"seostar\\.co",addition_date:"2022/08/04",url:"https://seostar.co/robot/",instances:["Mozilla/5.0 (compatible; Adsbot/3.1; +https://seostar.co/robot/)"]},{pattern:"IonCrawl",addition_date:"2022/08/04",url:"https://www.ionos.de/terms-gtc/faq-crawler-en",instances:["IonCrawl (https://www.ionos.de/terms-gtc/faq-crawler-en/)"]},{pattern:"Uptime-Kuma",addition_date:"2022/10/17",url:"https://uptime.kuma.pet/",instances:["Uptime-Kuma/1.18.0"]},{pattern:"SeekportBot",addition_date:"2022/10/17",url:"https://bot.seekport.com",instances:["Mozilla/5.0 (compatible; SeekportBot; +https://bot.seekport.com)"]},{pattern:"FreshpingBot",addition_date:"2022/10/17",url:"https://www.freshworks.com/website-monitoring/",instances:["FreshpingBot/1.0 (+https://freshping.io/)"]},{pattern:"Feedbin",addition_date:"2022/11/05",url:"https://feedbin.com/",instances:["Feedbin feed-id:2005098 - 2 subscribers"]},{pattern:"CriteoBot",addition_date:"2022/11/13",url:"https://www.criteo.com/",instances:["CriteoBot/0.1 (+https://www.criteo.com/criteo-crawler/)"]},{pattern:"Snap URL Preview Service",addition_date:"2022/11/13",url:"https://snap.com/",instances:["Snap URL Preview Service; bot; snapchat; https://developers.snap.com/robots"]},{pattern:"Better Uptime Bot",addition_date:"2022/11/13",url:"https://betteruptime.com/",instances:["Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"]},{pattern:"RuxitSynthetic",addition_date:"2023/02/16",url:"https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthetic-monitoring/browser-monitors/configure-browser-monitors#expand--default-user-agent",instances:["RuxitSynthetic/1.0"]},{pattern:"Google-Read-Aloud",addition_date:"2023/02/16",url:"https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36 (compatible; Google-Read-Aloud; +https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers)","Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36 (compatible; Google-Read-Aloud; +https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers)"]},{pattern:"Valve\\/Steam",addition_date:"2023/05/24",instances:["Valve/Steam HTTP Client 1.0 (SteamChatURLLookup)"]},{pattern:"OdklBot\\/",addition_date:"2023/05/24",instances:["OdklBot/1.0 (share@odnoklassniki.ru)","Mozilla/5.0 (compatible; OdklBot/1.0 like Linux; klass@odnoklassniki.ru)"],url:"https://odnoklassniki.ru/"},{pattern:"GPTBot",addition_date:"2023/08/09",instances:["Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.0; +https://openai.com/gptbot)"],url:"https://platform.openai.com/docs/gptbot"},{pattern:"ChatGPT-User",addition_date:"2024/04/19",instances:["Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ChatGPT-User/1.0; +https://openai.com/bot"],url:"https://openai.com/bot"},{pattern:"YandexRenderResourcesBot\\/",addition_date:"2023/08/16",instances:["Mozilla/5.0 (compatible; YandexRenderResourcesBot/1.0; +http://yandex.com/bots) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0"],url:"http://yandex.com/bots"},{pattern:"LightspeedSystemsCrawler",addition_date:"2023/08/16",instances:["LightspeedSystemsCrawler Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US"]},{pattern:"ev-crawler\\/",addition_date:"2023/08/16",instances:["Mozilla/5.0 (compatible; ev-crawler/1.0; +https://headline.com/legal/crawler)"],url:"https://headline.com/legal/crawler"},{pattern:"BitSightBot\\/",addition_date:"2023/08/16",instances:["Mozilla/5.0 (compatible; BitSightBot/1.0)"],url:"https://www.bitsight.com"},{pattern:"woorankreview\\/",addition_date:"2023/08/16",instances:["Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1 (compatible; woorankreview/2.0; +https://www.woorank.com/)","Mozilla/5.0 (compatible; woorankreview/2.0; +https://www.woorank.com/)"],url:"https://www.woorank.com/"},{pattern:"Google-Safety",addition_date:"2023/08/17",instances:["Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.179 Mobile Safari/537.36 (compatible; Google-Safety; +http://www.google.com/bot.html)","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.179 Safari/537.36 (compatible; Google-Safety; +http://www.google.com/bot.html)","Google-Safety"],url:"https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers"},{pattern:"AwarioBot",addition_date:"2023/08/23",instances:["Mozilla/5.0 (compatible; AwarioBot/1.0; +https://awario.com/bots.html)"],url:"https://awario.com/bots.html"},{pattern:"DataForSeoBot",addition_date:"2023/08/23",instances:["Mozilla/5.0 (compatible; DataForSeoBot/1.0; +https://dataforseo.com/dataforseo-bot)"],url:"https://dataforseo.com/dataforseo-bot"},{pattern:"Linespider",addition_date:"2023/08/24",instances:["Mozilla/5.0 (compatible; Linespider/1.1; +https://lin.ee/4dwXkTH)","Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Linespider/1.1; +https://lin.ee/4dwXkTH) Chrome/W.X.Y.Z Safari/537.36"],url:"https://help2.line.me/linesearchbot/web/?contentId=50006055&lang=en"},{pattern:"WellKnownBot",addition_date:"2023/08/29",instances:["Mozilla/5.0 (compatible; WellKnownBot/0.1; +https://well-known.dev/about/#bot)"],url:"https://well-known.dev/about/#bot)"},{pattern:"A Patent Crawler",addition_date:"2023/08/29",instances:["E. Orliac, G. Fourestey/2.3 (A Patent Crawler; http://scitas.epfl.ch/; etienne.orliac@epfl.ch, gilles.fourestey@epfl.ch)"],url:"http://scitas.epfl.ch/"},{pattern:"StractBot",addition_date:"2023/09/06",instances:["Mozilla/5.0 (compatible; StractBot/0.1; open source search engine; +https://trystract.com/webmasters)"],url:"https://trystract.com/webmasters"},{pattern:"search\\.marginalia\\.nu",addition_date:"2023/09/08",instances:["search.marginalia.nu"],url:"https://search.marginalia.nu"},{pattern:"YouBot",addition_date:"2023/09/08",instances:["YouBot (+http://www.you.com)"],url:"https://you.com/"},{pattern:"Nicecrawler",addition_date:"2023/09/08",instances:["Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Nicecrawler/1.1; +http://www.nicecrawler.com/) Chrome/90.0.4430.97 Safari/537.36"],url:"http://www.nicecrawler.com/"},{pattern:"Neevabot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; Neevabot/1.0; +https://neeva.com/neevabot)"],url:"https://neeva.com/neevabot"},{pattern:"BrightEdge Crawler",addition_date:"2023/09/08",instances:["BrightEdge Crawler/1.0 (crawler@brightedge.com)"],url:"https://www.brightedge.com/"},{pattern:"SiteCheckerBotCrawler",addition_date:"2023/09/08",instances:["SiteCheckerBotCrawler/1.0 (+http://sitechecker.pro)"],url:"http://sitechecker.pro"},{pattern:"TombaPublicWebCrawler",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; TombaPublicWebCrawler/1.0; +https://tombascraper.com)"],url:"https://tombascraper.com"},{pattern:"CrawlyProjectCrawler",addition_date:"2023/09/08",instances:["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 (compatible; CrawlyProjectCrawler/0.1.3; crawlyproject@digitaldragon.dev +https://crawlyproject.digitaldragon.dev/)"],url:"https://crawlyproject.digitaldragon.dev/"},{pattern:"KomodiaBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (Windows NT 6.1; Win64; x64; +http://www.komodia.com/newwiki/index.php/URL_server_crawler) KomodiaBot/1.0"],url:"http://www.komodia.com/newwiki/index.php/URL_server_crawler"},{pattern:"KStandBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (Windows NT 6.1; Win64; x64; +http://url-classification.io/wiki/index.php?title=URL_server_crawler) KStandBot/1.0"],url:"http://url-classification.io"},{pattern:"CISPA Webcrawler",addition_date:"2023/09/08",instances:["CISPA Webcrawler (https://vuln-notify-checker.cispa.saarland)"],url:"https://vuln-notify-checker.cispa.saarland"},{pattern:"MTRobot",addition_date:"2023/09/08",instances:["MTRobot/0.2 (Metrics Tools Analytics Crawler; https://metrics-tools.de/robot.html; crawler@metrics-tools.de)"],url:"https://metrics-tools.de/robot.html"},{pattern:"hyscore\\.io",addition_date:"2023/09/08",instances:["Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1. 4 (compatible; HyScore/1.0; +https://hyscore.io/crawler/)"],url:"https://hyscore.io/crawler/"},{pattern:"AlexandriaOrgBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (Linux) (compatible; AlexandriaOrgBot/1.0; +https://www.alexandria.org/bot.html)"],url:"https://www.alexandria.org/bot.html"},{pattern:"2ip bot",addition_date:"2023/09/08",instances:["2ip bot/1.1 (+http://2ip.io)"],url:"http://2ip.io"},{pattern:"Yellowbrandprotectionbot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; Yellowbrandprotectionbot/1.0; +https://www.yellowbp.com/bot.html)"],url:"https://www.yellowbp.com/bot.html"},{pattern:"SEOlizer",addition_date:"2023/09/08",instances:["SEOlizer/1.1 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13 (+https://www.seolizer.de/bot.html)"],url:"https://www.seolizer.de/bot.html"},{pattern:"vuhuvBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; vuhuvBot/1.0; +http://vuhuv.com/bot.html)"],url:"http://vuhuv.com/bot.html"},{pattern:"INETDEX-BOT",addition_date:"2023/09/08",instances:["INETDEX-BOT/1.5 (Mozilla/5.0; https://inetdex.com/bot.html)"],url:"https://inetdex.com/bot.html"},{pattern:"Synapse",addition_date:"2023/09/08",instances:["Synapse (bot; +https://github.com/matrix-org/synapse)"],url:"https://github.com/matrix-org/synapse"},{pattern:"t3versionsBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; t3versionsBot/1.0; +https://www.t3versions.com/bot)"],url:"https://www.t3versions.com/bot"},{pattern:"deepnoc",addition_date:"2023/09/08",instances:["deepnoc - https://deepnoc.com/bot"],url:"https://deepnoc.com/bot"},{pattern:"Cocolyzebot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; Cocolyzebot/1.0; https://cocolyze.com/bot)"],url:"https://cocolyze.com/bot"},{pattern:"hypestat",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; hypestat/1.0; +https://hypestat.com/bot)"],url:"https://hypestat.com/bot"},{pattern:"ReverseEngineeringBot",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; ReverseEngineeringBot/0.1; +https://torus.company/bot.html)"],url:"https://torus.company/bot.html"},{pattern:"sempi\\.tech",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; Semanticbot/1.0; +http://sempi.tech/bot.html)"],url:"http://sempi.tech/bot.html"},{pattern:"Iframely",addition_date:"2023/09/08",instances:["Iframely/1.3.1 (+https://iframely.com/docs/about) Atlassian"],url:"https://iframely.com/docs/about"},{pattern:"MetaInspector",addition_date:"2023/09/08",instances:["MetaInspector/5.6.0 (+https://github.com/jaimeiniesta/metainspector)"],url:"https://github.com/jaimeiniesta/metainspector"},{pattern:"node-fetch",addition_date:"2023/09/08",instances:["node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"],url:"https://github.com/bitinn/node-fetch"},{pattern:"lkxscan",addition_date:"2023/09/08",instances:["lkxscan/v0.1.0 (+https://leakix.net) l9explore/v1.0.0 (+https://github.com/LeakIX/l9explore)"],url:"https://github.com/LeakIX/l9explore"},{pattern:"python-opengraph",addition_date:"2023/09/08",instances:["python-opengraph-jaywink/0.2.0 (+https://github.com/jaywink/python-opengraph)"],url:"https://github.com/jaywink/python-opengraph"},{pattern:"OpenGraphCheck",addition_date:"2023/09/08",instances:["OpenGraphCheck/2.1 (+https://opengraphcheck.com)"],url:"https://opengraphcheck.com"},{pattern:"developers\\.google\\.com\\/\\+\\/web\\/snippet",addition_date:"2023/09/08",instances:["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Google-PageRenderer Google (+https://developers.google.com/+/web/snippet/)","Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Google (+https://developers.google.com/+/web/snippet/"],url:"https://developers.google.com/+/web/snippet"},{pattern:"SenutoBot",addition_date:"2023/09/08",instances:["SenutoBot/1.0 (compatible; SenutoBot/1.0; +https://www.senuto.com/)"],url:"https://www.senuto.com"},{pattern:"MaCoCu",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; MaCoCu; +https://www.clarin.si/info/macocu-massive-collection-and-curation-of-monolingual-and-bilingual-data/)"],url:"https://www.clarin.si/info/macocu-massive-collection-and-curation-of-monolingual-and-bilingual-data"},{pattern:"NewsBlur",addition_date:"2023/09/08",instances:["NewsBlur Feed Fetcher - 1 subscriber - http://www.newsblur.com/site/0000000/webpage (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15)"],url:"http://www.newsblur.com"},{pattern:"inoreader",addition_date:"2023/09/08",instances:["Mozilla/5.0 (compatible; inoreader.com; 1 subscribers)"],url:"http://inoreader.com"},{pattern:"NetSystemsResearch",addition_date:"2023/09/08",instances:["NetSystemsResearch studies the availability of various services across the internet. Our website is netsystemsresearch.com"],url:"http://netsystemsresearch.com"},{pattern:"PageThing",addition_date:"2023/09/08",instances:["PageThing http://pagething.com curl www"],url:"http://pagething.com"},{pattern:"WordPress\\/",addition_date:"2023/10/24",instances:["WordPress/X.X.X; https://example.com"],url:"https://wordpress.org"},{pattern:"PhxBot",addition_date:"2024/01/06",instances:["PhxBot/0.1 (phxbot@protonmail.com)"]},{pattern:"ImagesiftBot",addition_date:"2024/01/06",instances:["Mozilla/5.0 (compatible; ImagesiftBot; +imagesift.com)"],url:"https://imagesift.com"},{pattern:"Expanse",addition_date:"2024/02/01",instances:["Expanse, a Palo Alto Networks company, searches across the global IPv4 space multiple times per day to identify customers&#39; presences on the Internet. If you would like to be excluded from our scans, please send IP addresses/domains to: scaninfo@paloaltonetworks.com"],url:"https://www.paloaltonetworks.com/cortex/cortex-xpanse"},{pattern:"InternetMeasurement",addition_date:"2024/02/01",instances:["Mozilla/5.0 (compatible; InternetMeasurement/1.0; +https://internet-measurement.com/)"],url:"https://internet-measurement.com"},{pattern:"^BW\\/",addition_date:"2024/02/08",instances:["BW/1.1; bit.ly/3eZNDnO","BW/1.1; rb.gy/oupwis"],url:"https://builtwith.com/biup"},{pattern:"GeedoBot",addition_date:"2024/02/11",instances:["Mozilla/5.0 (compatible; GeedoBot; +http://www.geedo.com/bot.html)"],url:"http://www.geedo.com"},{pattern:"Audisto Crawler",addition_date:"2024/03/14",instances:["Audisto Crawler (mobile; +https://audisto.com/bot)","Audisto Crawler (desktop; +https://audisto.com/bot)","Audisto Crawler (mobile; essential; +https://audisto.com/bot)","Audisto Crawler (desktop; essential; +https://audisto.com/bot)"],url:"https://audisto.com/help/crawler/bot/"},{pattern:"PerplexityBot\\/",addition_date:"2024/03/14",instances:["Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)"],url:"https://docs.perplexity.ai/docs/perplexitybot"},{pattern:"[cC]laude[bB]ot",addition_date:"2024/04/19",instances:["claudebot","Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"],url:"https://www.anthropic.com/"},{pattern:"Monsidobot",addition_date:"2024/05/14",instances:["Mozilla/5.0 (compatible; Monsidobot/2.2; +http://monsido.com/bot.html; info@monsido.com)"],url:"http://monsido.com/bot.html"},{pattern:"GroupMeBot",addition_date:"2024/05/19",instances:["GroupMeBot/1.0"],url:"https://groupme.com/"}],UA=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,VA=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,GA=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,qA=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,KA=new RegExp(WA.map(e=>e.pattern).join("|"));function YA(e){return UA.test(e)||VA.test(e.slice(0,4))}function XA(e){return GA.test(e)||qA.test(e.slice(0,4))}function ZA(e){return/iPad|iPhone|iPod/.test(e)}function JA(e){return/android/i.test(e)}function QA(e){return/Windows/.test(e)}function eP(e){return/Mac OS X/.test(e)}const tP=[{name:"Samsung",regex:/SamsungBrowser/i},{name:"Edge",regex:/edg(?:[ea]|ios)?\//i},{name:"Firefox",regex:/firefox|iceweasel|fxios/i},{name:"Chrome",regex:/chrome|crios|crmo/i},{name:"Safari",regex:/safari|applewebkit/i}];function nP(e){for(const t of tP)if(t.regex.test(e))return t.name;return""}function bm(e,t={}){let n=!1,o=!1,r=!1,i=!1;if(e==="Amazon CloudFront")t["cloudfront-is-mobile-viewer"]==="true"&&(n=!0,o=!0),t["cloudfront-is-tablet-viewer"]==="true"&&(n=!1,o=!0),t["cloudfront-is-desktop-viewer"]==="true"&&(n=!1,o=!1),t["cloudfront-is-ios-viewer"]==="true"&&(r=!0),t["cloudfront-is-android-viewer"]==="true"&&(i=!0);else if(t&&t["cf-device-type"])switch(t["cf-device-type"]){case"mobile":n=!0,o=!0;break;case"tablet":n=!1,o=!0;break;case"desktop":n=!1,o=!1;break}else n=YA(e),o=XA(e),r=ZA(e),i=JA(e);const a=QA(e),s=eP(e),l=nP(e),c=l==="Safari",u=l==="Firefox",d=l==="Edge",p=l==="Chrome",f=l==="Samsung",h=KA.test(e);return{userAgent:e,isMobile:n,isMobileOrTablet:o,isTablet:!n&&o,isDesktop:!o,isIos:r,isAndroid:i,isWindows:a,isMacOS:s,isApple:s||r,isDesktopOrTablet:!n,isSafari:c,isFirefox:u,isEdge:d,isChrome:p,isSamsung:f,isCrawler:h}}const oP=Qe(()=>{const e=jt(),t=e.public.device.defaultUserAgent;let n;{const o=navigator.userAgent||t;n=ln(bm(o)),e.public.device.refreshOnResize&&window.addEventListener("resize",()=>{setTimeout(()=>{const r=bm(navigator.userAgent||o);Object.entries(r).forEach(([i,a])=>{n[i]=a})},50)})}return{provide:{device:n}}});function Bb(e){return rr()?(Or(e),!0):!1}function Zp(e){return typeof e=="function"?e():g(e)}const rP=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const iP=e=>e!=null,aP=Object.prototype.toString,Pl=e=>aP.call(e)==="[object Object]",al=()=>{};function sP(e){return Xt()}function lP(e,t){sP()&&xn(e,t)}function ua(e){var t;const n=Zp(e);return(t=n==null?void 0:n.$el)!=null?t:n}const $b=rP?window:void 0;function Cn(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=$b):[t,n,o,r]=e,!t)return al;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},s=(u,d,p,f)=>(u.addEventListener(d,p,f),()=>u.removeEventListener(d,p,f)),l=be(()=>[ua(t),Zp(r)],([u,d])=>{if(a(),!u)return;const p=Pl(d)?{...d}:d;i.push(...n.flatMap(f=>o.map(h=>s(u,f,h,p))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Bb(c),c}function cP(){const e=B(!1),t=Xt();return t&&Xe(()=>{e.value=!0},t),e}function uP(e){const t=cP();return $(()=>(t.value,!!e()))}function dP(e,t,n={}){const{root:o,rootMargin:r="0px",threshold:i=.1,window:a=$b,immediate:s=!0}=n,l=uP(()=>a&&"IntersectionObserver"in a),c=$(()=>{const h=Zp(e);return(Array.isArray(h)?h:[h]).map(ua).filter(iP)});let u=al;const d=B(s),p=l.value?be(()=>[c.value,ua(o),d.value],([h,m])=>{if(u(),!d.value||!h.length)return;const y=new IntersectionObserver(t,{root:ua(m),rootMargin:r,threshold:i});h.forEach(b=>b&&y.observe(b)),u=()=>{y.disconnect(),u=al}},{immediate:s,flush:"post"}):al,f=()=>{u(),p(),d.value=!1};return Bb(f),{isSupported:l,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:f}}const Db=1/60*1e3,pP=typeof performance<"u"?()=>performance.now():()=>Date.now(),zb=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(pP()),Db);function fP(e){let t=[],n=[],o=0,r=!1,i=!1;const a=new WeakSet,s={schedule:(l,c=!1,u=!1)=>{const d=u&&r,p=d?t:n;return c&&a.add(l),p.indexOf(l)===-1&&(p.push(l),d&&r&&(o=t.length)),l},cancel:l=>{const c=n.indexOf(l);c!==-1&&n.splice(c,1),a.delete(l)},process:l=>{if(r){i=!0;return}if(r=!0,[t,n]=[n,t],n.length=0,o=t.length,o)for(let c=0;c<o;c++){const u=t[c];u(l),a.has(u)&&(s.schedule(u),e())}r=!1,i&&(i=!1,s.process(l))}};return s}const hP=40;let _d=!0,ja=!1,wd=!1;const Zr={delta:0,timestamp:0},ps=["read","update","preRender","render","postRender"],vc=ps.reduce((e,t)=>(e[t]=fP(()=>ja=!0),e),{}),Sd=ps.reduce((e,t)=>{const n=vc[t];return e[t]=(o,r=!1,i=!1)=>(ja||vP(),n.schedule(o,r,i)),e},{}),mP=ps.reduce((e,t)=>(e[t]=vc[t].cancel,e),{});ps.reduce((e,t)=>(e[t]=()=>vc[t].process(Zr),e),{});const gP=e=>vc[e].process(Zr),Nb=e=>{ja=!1,Zr.delta=_d?Db:Math.max(Math.min(e-Zr.timestamp,hP),1),Zr.timestamp=e,wd=!0,ps.forEach(gP),wd=!1,ja&&(_d=!1,zb(Nb))},vP=()=>{ja=!0,_d=!0,wd||zb(Nb)},Fb=()=>Zr;function jb(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}var ym=function(){};const kd=(e,t,n)=>Math.min(Math.max(n,e),t),ru=.001,bP=.01,yP=10,_P=.05,wP=1;function SP({duration:e=800,bounce:t=.25,velocity:n=0,mass:o=1}){let r,i,a=1-t;a=kd(_P,wP,a),e=kd(bP,yP,e/1e3),a<1?(r=c=>{const u=c*a,d=u*e,p=u-n,f=xd(c,a),h=Math.exp(-d);return ru-p/f*h},i=c=>{const d=c*a*e,p=d*n+n,f=Math.pow(a,2)*Math.pow(c,2)*e,h=Math.exp(-d),m=xd(Math.pow(c,2),a);return(-r(c)+ru>0?-1:1)*((p-f)*h)/m}):(r=c=>{const u=Math.exp(-c*e),d=(c-n)*e+1;return-ru+u*d},i=c=>{const u=Math.exp(-c*e),d=(n-c)*(e*e);return u*d});const s=5/e,l=xP(r,i,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*o;return{stiffness:c,damping:a*2*Math.sqrt(o*c),duration:e}}}const kP=12;function xP(e,t,n){let o=n;for(let r=1;r<kP;r++)o=o-e(o)/t(o);return o}function xd(e,t){return e*Math.sqrt(1-t*t)}const EP=["duration","bounce"],TP=["stiffness","damping","mass"];function _m(e,t){return t.some(n=>e[n]!==void 0)}function CP(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!_m(e,TP)&&_m(e,EP)){const n=SP(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Jp(e){var{from:t=0,to:n=1,restSpeed:o=2,restDelta:r}=e,i=jb(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=CP(i),f=wm,h=wm;function m(){const y=u?-(u/1e3):0,b=n-t,_=l/(2*Math.sqrt(s*c)),v=Math.sqrt(s/c)/1e3;if(r===void 0&&(r=Math.min(Math.abs(n-t)/100,.4)),_<1){const w=xd(v,_);f=S=>{const x=Math.exp(-_*v*S);return n-x*((y+_*v*b)/w*Math.sin(w*S)+b*Math.cos(w*S))},h=S=>{const x=Math.exp(-_*v*S);return _*v*x*(Math.sin(w*S)*(y+_*v*b)/w+b*Math.cos(w*S))-x*(Math.cos(w*S)*(y+_*v*b)-w*b*Math.sin(w*S))}}else if(_===1)f=w=>n-Math.exp(-v*w)*(b+(y+v*b)*w);else{const w=v*Math.sqrt(_*_-1);f=S=>{const x=Math.exp(-_*v*S),k=Math.min(w*S,300);return n-x*((y+_*v*b)*Math.sinh(k)+w*b*Math.cosh(k))/w}}}return m(),{next:y=>{const b=f(y);if(p)a.done=y>=d;else{const _=h(y)*1e3,v=Math.abs(_)<=o,w=Math.abs(n-b)<=r;a.done=v&&w}return a.value=a.done?n:b,a},flipTarget:()=>{u=-u,[t,n]=[n,t],m()}}}Jp.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const wm=e=>0,Hb=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o},Qp=(e,t,n)=>-n*e+n*t+e,Wb=(e,t)=>n=>Math.max(Math.min(n,t),e),da=e=>e%1?Number(e.toFixed(5)):e,Ha=/(-)?([\d]*\.?[\d])+/g,Ed=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,MP=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function fs(e){return typeof e=="string"}const hs={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},pa=Object.assign(Object.assign({},hs),{transform:Wb(0,1)}),Ls=Object.assign(Object.assign({},hs),{default:1}),ef=e=>({test:t=>fs(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),sr=ef("deg"),fa=ef("%"),ge=ef("px"),Sm=Object.assign(Object.assign({},fa),{parse:e=>fa.parse(e)/100,transform:e=>fa.transform(e*100)}),tf=(e,t)=>n=>!!(fs(n)&&MP.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Ub=(e,t,n)=>o=>{if(!fs(o))return o;const[r,i,a,s]=o.match(Ha);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},fr={test:tf("hsl","hue"),parse:Ub("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+fa.transform(da(t))+", "+fa.transform(da(n))+", "+da(pa.transform(o))+")"},AP=Wb(0,255),iu=Object.assign(Object.assign({},hs),{transform:e=>Math.round(AP(e))}),jo={test:tf("rgb","red"),parse:Ub("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+iu.transform(e)+", "+iu.transform(t)+", "+iu.transform(n)+", "+da(pa.transform(o))+")"};function PP(e){let t="",n="",o="",r="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),o=e.substr(5,2),r=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),o=e.substr(3,1),r=e.substr(4,1),t+=t,n+=n,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}}const Td={test:tf("#"),parse:PP,transform:jo.transform},Lt={test:e=>jo.test(e)||Td.test(e)||fr.test(e),parse:e=>jo.test(e)?jo.parse(e):fr.test(e)?fr.parse(e):Td.parse(e),transform:e=>fs(e)?e:e.hasOwnProperty("red")?jo.transform(e):fr.transform(e)},Vb="${c}",Gb="${n}";function OP(e){var t,n,o,r;return isNaN(e)&&fs(e)&&((n=(t=e.match(Ha))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((r=(o=e.match(Ed))===null||o===void 0?void 0:o.length)!==null&&r!==void 0?r:0)>0}function qb(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const o=e.match(Ed);o&&(n=o.length,e=e.replace(Ed,Vb),t.push(...o.map(Lt.parse)));const r=e.match(Ha);return r&&(e=e.replace(Ha,Gb),t.push(...r.map(hs.parse))),{values:t,numColors:n,tokenised:e}}function Kb(e){return qb(e).values}function Yb(e){const{values:t,numColors:n,tokenised:o}=qb(e),r=t.length;return i=>{let a=o;for(let s=0;s<r;s++)a=a.replace(s<n?Vb:Gb,s<n?Lt.transform(i[s]):da(i[s]));return a}}const RP=e=>typeof e=="number"?0:e;function IP(e){const t=Kb(e);return Yb(e)(t.map(RP))}const ms={test:OP,parse:Kb,createTransformer:Yb,getAnimatableNone:IP},LP=new Set(["brightness","contrast","saturate","opacity"]);function BP(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(Ha)||[];if(!o)return e;const r=n.replace(o,"");let i=LP.has(t)?1:0;return o!==n&&(i*=100),t+"("+i+r+")"}const $P=/([a-z-]*)\(.*?\)/g,Cd=Object.assign(Object.assign({},ms),{getAnimatableNone:e=>{const t=e.match($P);return t?t.map(BP).join(" "):e}});function au(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function km({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,t/=100,n/=100;let r=0,i=0,a=0;if(!t)r=i=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=au(l,s,e+1/3),i=au(l,s,e),a=au(l,s,e-1/3)}return{red:Math.round(r*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:o}}const DP=(e,t,n)=>{const o=e*e,r=t*t;return Math.sqrt(Math.max(0,n*(r-o)+o))},zP=[Td,jo,fr],xm=e=>zP.find(t=>t.test(e)),Xb=(e,t)=>{let n=xm(e),o=xm(t),r=n.parse(e),i=o.parse(t);n===fr&&(r=km(r),n=jo),o===fr&&(i=km(i),o=jo);const a=Object.assign({},r);return s=>{for(const l in a)l!=="alpha"&&(a[l]=DP(r[l],i[l],s));return a.alpha=Qp(r.alpha,i.alpha,s),n.transform(a)}},NP=e=>typeof e=="number",FP=(e,t)=>n=>t(e(n)),Zb=(...e)=>e.reduce(FP);function Jb(e,t){return NP(e)?n=>Qp(e,t,n):Lt.test(e)?Xb(e,t):ey(e,t)}const Qb=(e,t)=>{const n=[...e],o=n.length,r=e.map((i,a)=>Jb(i,t[a]));return i=>{for(let a=0;a<o;a++)n[a]=r[a](i);return n}},jP=(e,t)=>{const n=Object.assign(Object.assign({},e),t),o={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(o[r]=Jb(e[r],t[r]));return r=>{for(const i in o)n[i]=o[i](r);return n}};function Em(e){const t=ms.parse(e),n=t.length;let o=0,r=0,i=0;for(let a=0;a<n;a++)o||typeof t[a]=="number"?o++:t[a].hue!==void 0?i++:r++;return{parsed:t,numNumbers:o,numRGB:r,numHSL:i}}const ey=(e,t)=>{const n=ms.createTransformer(t),o=Em(e),r=Em(t);return o.numHSL===r.numHSL&&o.numRGB===r.numRGB&&o.numNumbers>=r.numNumbers?Zb(Qb(o.parsed,r.parsed),n):a=>`${a>0?t:e}`},HP=(e,t)=>n=>Qp(e,t,n);function WP(e){if(typeof e=="number")return HP;if(typeof e=="string")return Lt.test(e)?Xb:ey;if(Array.isArray(e))return Qb;if(typeof e=="object")return jP}function UP(e,t,n){const o=[],r=n||WP(e[0]),i=e.length-1;for(let a=0;a<i;a++){let s=r(e[a],e[a+1]);if(t){const l=Array.isArray(t)?t[a]:t;s=Zb(l,s)}o.push(s)}return o}function VP([e,t],[n]){return o=>n(Hb(e,t,o))}function GP(e,t){const n=e.length,o=n-1;return r=>{let i=0,a=!1;if(r<=e[0]?a=!0:r>=e[o]&&(i=o-1,a=!0),!a){let l=1;for(;l<n&&!(e[l]>r||l===o);l++);i=l-1}const s=Hb(e[i],e[i+1],r);return t[i](s)}}function ty(e,t,{clamp:n=!0,ease:o,mixer:r}={}){const i=e.length;ym(i===t.length),ym(!o||!Array.isArray(o)||o.length===i-1),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=UP(t,o,r),s=i===2?VP(e,a):GP(e,a);return n?l=>s(kd(e[0],e[i-1],l)):s}const bc=e=>t=>1-e(1-t),nf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,qP=e=>t=>Math.pow(t,e),ny=e=>t=>t*t*((e+1)*t-e),KP=e=>{const t=ny(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},oy=1.525,YP=4/11,XP=8/11,ZP=9/10,ry=e=>e,of=qP(2),JP=bc(of),iy=nf(of),ay=e=>1-Math.sin(Math.acos(e)),sy=bc(ay),QP=nf(sy),rf=ny(oy),e3=bc(rf),t3=nf(rf),n3=KP(oy),o3=4356/361,r3=35442/1805,i3=16061/1805,Ol=e=>{if(e===1||e===0)return e;const t=e*e;return e<YP?7.5625*t:e<XP?9.075*t-9.9*e+3.4:e<ZP?o3*t-r3*e+i3:10.8*e*e-20.52*e+10.72},a3=bc(Ol),s3=e=>e<.5?.5*(1-Ol(1-e*2)):.5*Ol(e*2-1)+.5;function l3(e,t){return e.map(()=>t||iy).splice(0,e.length-1)}function c3(e){const t=e.length;return e.map((n,o)=>o!==0?o/(t-1):0)}function u3(e,t){return e.map(n=>n*t)}function sl({from:e=0,to:t=1,ease:n,offset:o,duration:r=300}){const i={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=u3(o&&o.length===a.length?o:c3(a),r);function l(){return ty(s,a,{ease:Array.isArray(n)?n:l3(a,n)})}let c=l();return{next:u=>(i.value=c(u),i.done=u>=r,i),flipTarget:()=>{a.reverse(),c=l()}}}function d3({velocity:e=0,from:t=0,power:n=.8,timeConstant:o=350,restDelta:r=.5,modifyTarget:i}){const a={done:!1,value:t};let s=n*e;const l=t+s,c=i===void 0?l:i(l);return c!==l&&(s=c-t),{next:u=>{const d=-s*Math.exp(-u/o);return a.done=!(d>r||d<-r),a.value=a.done?c:c+d,a},flipTarget:()=>{}}}const Tm={keyframes:sl,spring:Jp,decay:d3};function p3(e){if(Array.isArray(e.to))return sl;if(Tm[e.type])return Tm[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?sl:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Jp:sl}function ly(e,t,n=0){return e-t-n}function f3(e,t,n=0,o=!0){return o?ly(t+-e,t,n):t-(e-t)+n}function h3(e,t,n,o){return o?e>=t+n:e<=-n}const m3=e=>{const t=({delta:n})=>e(n);return{start:()=>Sd.update(t,!0),stop:()=>mP.update(t)}};function cy(e){var t,n,{from:o,autoplay:r=!0,driver:i=m3,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:d,onComplete:p,onRepeat:f,onUpdate:h}=e,m=jb(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:y}=m,b,_=0,v=m.duration,w,S=!1,x=!0,k;const T=p3(m);!((n=(t=T).needsInterpolation)===null||n===void 0)&&n.call(t,o,y)&&(k=ty([0,100],[o,y],{clamp:!1}),o=0,y=100);const R=T(Object.assign(Object.assign({},m),{from:o,to:y}));function N(){_++,l==="reverse"?(x=_%2===0,a=f3(a,v,c,x)):(a=ly(a,v,c),l==="mirror"&&R.flipTarget()),S=!1,f&&f()}function K(){b.stop(),p&&p()}function ne(U){if(x||(U=-U),a+=U,!S){const z=R.next(Math.max(0,a));w=z.value,k&&(w=k(w)),S=x?z.done:a<=0}h==null||h(w),S&&(_===0&&(v??(v=a)),_<s?h3(a,v,c,x)&&N():K())}function _e(){u==null||u(),b=i(ne),b.start()}return r&&_e(),{stop:()=>{d==null||d(),b.stop()}}}function uy(e,t){return t?e*(1e3/t):0}function g3({from:e=0,velocity:t=0,min:n,max:o,power:r=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:c,driver:u,onUpdate:d,onComplete:p,onStop:f}){let h;function m(v){return n!==void 0&&v<n||o!==void 0&&v>o}function y(v){return n===void 0?o:o===void 0||Math.abs(n-v)<Math.abs(o-v)?n:o}function b(v){h==null||h.stop(),h=cy(Object.assign(Object.assign({},v),{driver:u,onUpdate:w=>{var S;d==null||d(w),(S=v.onUpdate)===null||S===void 0||S.call(v,w)},onComplete:p,onStop:f}))}function _(v){b(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},v))}if(m(e))_({from:e,velocity:t,to:y(e)});else{let v=r*t+e;typeof c<"u"&&(v=c(v));const w=y(v),S=w===n?-1:1;let x,k;const T=R=>{x=k,k=R,t=uy(R-x,Fb().delta),(S===1&&R>w||S===-1&&R<w)&&_({from:R,to:w,velocity:t})};b({type:"decay",from:e,velocity:t,timeConstant:i,power:r,restDelta:l,modifyTarget:c,onUpdate:m(v)?T:void 0})}return{stop:()=>h==null?void 0:h.stop()}}const dy=(e,t)=>1-3*t+3*e,py=(e,t)=>3*t-6*e,fy=e=>3*e,Rl=(e,t,n)=>((dy(t,n)*e+py(t,n))*e+fy(t))*e,hy=(e,t,n)=>3*dy(t,n)*e*e+2*py(t,n)*e+fy(t),v3=1e-7,b3=10;function y3(e,t,n,o,r){let i,a,s=0;do a=t+(n-t)/2,i=Rl(a,o,r)-e,i>0?n=a:t=a;while(Math.abs(i)>v3&&++s<b3);return a}const _3=8,w3=.001;function S3(e,t,n,o){for(let r=0;r<_3;++r){const i=hy(t,n,o);if(i===0)return t;const a=Rl(t,n,o)-e;t-=a/i}return t}const ll=11,Bs=1/(ll-1);function k3(e,t,n,o){if(e===t&&n===o)return ry;const r=new Float32Array(ll);for(let a=0;a<ll;++a)r[a]=Rl(a*Bs,e,n);function i(a){let s=0,l=1;const c=ll-1;for(;l!==c&&r[l]<=a;++l)s+=Bs;--l;const u=(a-r[l])/(r[l+1]-r[l]),d=s+u*Bs,p=hy(d,e,n);return p>=w3?S3(a,d,e,n):p===0?d:y3(a,s,s+Bs,e,n)}return a=>a===0||a===1?a:Rl(i(a),t,o)}var af={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const su={};var x3=Object.defineProperty,E3=(e,t,n)=>t in e?x3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T3=(e,t,n)=>(E3(e,t+"",n),n);class C3{constructor(){T3(this,"subscriptions",new Set)}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,o){if(this.subscriptions.size)for(const r of this.subscriptions)r(t,n,o)}clear(){this.subscriptions.clear()}}var M3=Object.defineProperty,A3=(e,t,n)=>t in e?M3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mn=(e,t,n)=>(A3(e,typeof t!="symbol"?t+"":t,n),n);function Cm(e){return!Number.isNaN(Number.parseFloat(e))}class P3{constructor(t){Mn(this,"current"),Mn(this,"prev"),Mn(this,"timeDelta",0),Mn(this,"lastUpdated",0),Mn(this,"updateSubscribers",new C3),Mn(this,"stopAnimation"),Mn(this,"canTrackVelocity",!1),Mn(this,"updateAndNotify",n=>{this.prev=this.current,this.current=n;const{delta:o,timestamp:r}=Fb();this.lastUpdated!==r&&(this.timeDelta=o,this.lastUpdated=r),Sd.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)}),Mn(this,"scheduleVelocityCheck",()=>Sd.postRender(this.velocityCheck)),Mn(this,"velocityCheck",({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=Cm(this.current)),n!==this.lastUpdated&&(this.prev=this.current)}),this.prev=this.current=t,this.canTrackVelocity=Cm(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?uy(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:o}=t(n);this.stopAnimation=o}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function O3(e){return new P3(e)}const{isArray:R3}=Array;function I3(){const e=B({}),t=o=>{const r=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};o?R3(o)?o.forEach(r):r(o):Object.keys(e.value).forEach(r)},n=(o,r,i)=>{if(e.value[o])return e.value[o];const a=O3(r);return a.onChange(s=>i[o]=s),e.value[o]=a,a};return lP(t),{motionValues:e,get:n,stop:t}}function L3(e){return Array.isArray(e)}function lr(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function lu(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function B3(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function cu(){return{type:"keyframes",ease:"linear",duration:300}}function $3(e){return{type:"keyframes",duration:800,values:e}}const Mm={default:B3,x:lr,y:lr,z:lr,rotate:lr,rotateX:lr,rotateY:lr,rotateZ:lr,scaleX:lu,scaleY:lu,scale:lu,backgroundColor:cu,color:cu,opacity:cu};function my(e,t){let n;return L3(t)?n=$3:n=Mm[e]||Mm.default,{to:t,...n(t)}}const Am={...hs,transform:Math.round},gy={color:Lt,backgroundColor:Lt,outlineColor:Lt,fill:Lt,stroke:Lt,borderColor:Lt,borderTopColor:Lt,borderRightColor:Lt,borderBottomColor:Lt,borderLeftColor:Lt,borderWidth:ge,borderTopWidth:ge,borderRightWidth:ge,borderBottomWidth:ge,borderLeftWidth:ge,borderRadius:ge,radius:ge,borderTopLeftRadius:ge,borderTopRightRadius:ge,borderBottomRightRadius:ge,borderBottomLeftRadius:ge,width:ge,maxWidth:ge,height:ge,maxHeight:ge,size:ge,top:ge,right:ge,bottom:ge,left:ge,padding:ge,paddingTop:ge,paddingRight:ge,paddingBottom:ge,paddingLeft:ge,margin:ge,marginTop:ge,marginRight:ge,marginBottom:ge,marginLeft:ge,rotate:sr,rotateX:sr,rotateY:sr,rotateZ:sr,scale:Ls,scaleX:Ls,scaleY:Ls,scaleZ:Ls,skew:sr,skewX:sr,skewY:sr,distance:ge,translateX:ge,translateY:ge,translateZ:ge,x:ge,y:ge,z:ge,perspective:ge,transformPerspective:ge,opacity:pa,originX:Sm,originY:Sm,originZ:ge,zIndex:Am,filter:Cd,WebkitFilter:Cd,fillOpacity:pa,strokeOpacity:pa,numOctaves:Am},sf=e=>gy[e];function Md(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function D3(e,t){let n=sf(e);return n!==Cd&&(n=ms),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const z3={linear:ry,easeIn:of,easeInOut:iy,easeOut:JP,circIn:ay,circInOut:QP,circOut:sy,backIn:rf,backInOut:t3,backOut:e3,anticipate:n3,bounceIn:a3,bounceInOut:s3,bounceOut:Ol};function Pm(e){if(Array.isArray(e)){const[t,n,o,r]=e;return k3(t,n,o,r)}else if(typeof e=="string")return z3[e];return e}function N3(e){return Array.isArray(e)&&typeof e[0]!="number"}function Om(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&ms.test(t)&&!t.startsWith("url("))}function F3(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function j3({ease:e,times:t,delay:n,...o}){const r={...o};return t&&(r.offset=t),e&&(r.ease=N3(e)?e.map(Pm):Pm(e)),n&&(r.elapsed=-n),r}function H3(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),F3(t),W3(e)||(e={...e,...my(n,t.to)}),{...t,...j3(e)}}function W3({delay:e,repeat:t,repeatType:n,repeatDelay:o,from:r,...i}){return!!Object.keys(i).length}function U3(e,t){return e[t]||e.default||e}function V3(e,t,n,o,r){const i=U3(o,e);let a=i.from===null||i.from===void 0?t.get():i.from;const s=Om(e,n);a==="none"&&s&&typeof n=="string"&&(a=D3(e,n));const l=Om(e,a);function c(d){const p={from:a,to:n,velocity:o.velocity?o.velocity:t.getVelocity(),onUpdate:f=>t.set(f)};return i.type==="inertia"||i.type==="decay"?g3({...p,...i}):cy({...H3(i,p,e),onUpdate:f=>{p.onUpdate(f),i.onUpdate&&i.onUpdate(f)},onComplete:()=>{r&&r(),d&&d()}})}function u(d){return t.set(n),r&&r(),d&&d(),{stop:()=>{}}}return!l||!s||i.type===!1?u:c}function G3(){const{motionValues:e,stop:t,get:n}=I3();return{motionValues:e,stop:t,push:(r,i,a,s={},l)=>{const c=a[r],u=n(r,c,a);if(s&&s.immediate){u.set(i);return}const d=V3(r,u,i,s,l);u.start(d)}}}function q3(e,t={},{motionValues:n,push:o,stop:r}=G3()){const i=g(t),a=B(!1);be(n,d=>{a.value=Object.values(d).filter(p=>p.isAnimating()).length>0},{immediate:!0,deep:!0});const s=d=>{if(!i||!i[d])throw new Error(`The variant ${d} does not exist.`);return i[d]},l=d=>{typeof d=="string"&&(d=s(d));const p=Object.entries(d).map(([h,m])=>{if(h!=="transition")return new Promise(y=>o(h,m,e,d.transition||my(h,d[h]),y))}).filter(Boolean);async function f(){var h,m;await Promise.all(p),(m=(h=d.transition)==null?void 0:h.onComplete)==null||m.call(h)}return Promise.all([f()])};return{isAnimating:a,apply:l,set:d=>{const p=Pl(d)?d:s(d);Object.entries(p).forEach(([f,h])=>{f!=="transition"&&o(f,h,e,{immediate:!0})})},leave:async d=>{let p;if(i&&(i.leave&&(p=i.leave),!i.leave&&i.initial&&(p=i.initial)),!p){d();return}await l(p),d()},stop:r}}const lf=typeof window<"u",K3=()=>lf&&(window.onpointerdown===null||af.TEST),Y3=()=>lf&&(window.ontouchstart===null||af.TEST),X3=()=>lf&&(window.onmousedown===null||af.TEST);function Z3({target:e,state:t,variants:n,apply:o}){const r=g(n),i=B(!1),a=B(!1),s=B(!1),l=$(()=>{let u=[...Object.keys(t.value||{})];return r&&(r.hovered&&(u=[...u,...Object.keys(r.hovered)]),r.tapped&&(u=[...u,...Object.keys(r.tapped)]),r.focused&&(u=[...u,...Object.keys(r.focused)])),u}),c=$(()=>{const u={};Object.assign(u,t.value),i.value&&r.hovered&&Object.assign(u,r.hovered),a.value&&r.tapped&&Object.assign(u,r.tapped),s.value&&r.focused&&Object.assign(u,r.focused);for(const d in u)l.value.includes(d)||delete u[d];return u});r.hovered&&(Cn(e,"mouseenter",()=>i.value=!0),Cn(e,"mouseleave",()=>{i.value=!1,a.value=!1})),r.tapped&&(X3()&&(Cn(e,"mousedown",()=>a.value=!0),Cn(e,"mouseup",()=>a.value=!1)),K3()&&(Cn(e,"pointerdown",()=>a.value=!0),Cn(e,"pointerup",()=>a.value=!1)),Y3()&&(Cn(e,"touchstart",()=>a.value=!0),Cn(e,"touchend",()=>a.value=!1))),r.focused&&(Cn(e,"focus",()=>s.value=!0),Cn(e,"blur",()=>s.value=!1)),be([i,a,s],()=>{o(c.value)})}function J3({set:e,target:t,variants:n,variant:o}){const r=g(n);be(()=>t,()=>{r&&(r.initial&&(e("initial"),o.value="initial"),r.enter&&(o.value="enter"))},{immediate:!0,flush:"pre"})}function Q3({state:e,apply:t}){be(e,n=>{n&&t(n)},{immediate:!0})}function vy({target:e,variants:t,variant:n}){const o=g(t);o&&(o.visible||o.visibleOnce)&&dP(e,([{isIntersecting:r}])=>{o.visible?r?n.value="visible":n.value="initial":o.visibleOnce&&(r&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function e5(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&J3(e),t.syncVariants&&Q3(e),t.visibilityHooks&&vy(e),t.eventListeners&&Z3(e)}function by(e={}){const t=ln({...e}),n=B({});return be(t,()=>{const o={};for(const[r,i]of Object.entries(t)){const a=sf(r),s=Md(i,a);o[r]=s}n.value=o},{immediate:!0,deep:!0}),{state:t,style:n}}function cf(e,t){be(()=>ua(e),n=>{n&&t(n)},{immediate:!0})}const t5={x:"translateX",y:"translateY",z:"translateZ"};function yy(e={},t=!0){const n=ln({...e}),o=B("");return be(n,r=>{let i="",a=!1;if(t&&(r.x||r.y||r.z)){const s=[r.x||0,r.y||0,r.z||0].map(l=>Md(l,ge)).join(",");i+=`translate3d(${s}) `,a=!0}for(const[s,l]of Object.entries(r)){if(t&&(s==="x"||s==="y"||s==="z"))continue;const c=sf(s),u=Md(l,c);i+=`${t5[s]||s}(${u}) `}t&&!a&&(i+="translateZ(0px) "),o.value=i.trim()},{immediate:!0,deep:!0}),{state:n,transform:o}}const n5=["","X","Y","Z"],o5=["perspective","translate","scale","rotate","skew"],_y=["transformPerspective","x","y","z"];o5.forEach(e=>{n5.forEach(t=>{const n=e+t;_y.push(n)})});const r5=new Set(_y);function uf(e){return r5.has(e)}const i5=new Set(["originX","originY","originZ"]);function wy(e){return i5.has(e)}function a5(e){const t={},n={};return Object.entries(e).forEach(([o,r])=>{uf(o)||wy(o)?t[o]=r:n[o]=r}),{transform:t,style:n}}function yc(e){const{transform:t,style:n}=a5(e),{transform:o}=yy(t),{style:r}=by(n);return o.value&&(r.value.transform=o.value),r.value}function s5(e,t){let n,o;const{state:r,style:i}=by();return cf(e,a=>{o=a;for(const s of Object.keys(gy))a.style[s]===null||a.style[s]===""||uf(s)||wy(s)||(r[s]=a.style[s]);n&&Object.entries(n).forEach(([s,l])=>a.style[s]=l),t&&t(r)}),be(i,a=>{if(!o){n=a;return}for(const s in a)o.style[s]=a[s]},{immediate:!0}),{style:r}}function l5(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=o=>o.endsWith("px")||o.endsWith("deg")?Number.parseFloat(o):Number.isNaN(Number(o))?Number(o):o;return t.reduce((o,r)=>{if(!r)return o;const[i,a]=r.split("("),l=a.split(",").map(u=>n(u.endsWith(")")?u.replace(")",""):u.trim())),c=l.length===1?l[0]:l;return{...o,[i]:c}},{})}function c5(e,t){Object.entries(l5(t)).forEach(([n,o])=>{const r=["x","y","z"];if(n==="translate3d"){if(o===0){r.forEach(i=>e[i]=0);return}o.forEach((i,a)=>e[r[a]]=i);return}if(o=Number.parseFloat(`${o}`),n==="translateX"){e.x=o;return}if(n==="translateY"){e.y=o;return}if(n==="translateZ"){e.z=o;return}e[n]=o})}function u5(e,t){let n,o;const{state:r,transform:i}=yy();return cf(e,a=>{o=a,a.style.transform&&c5(r,a.style.transform),n&&(a.style.transform=n),t&&t(r)}),be(i,a=>{if(!o){n=a;return}o.style.transform=a},{immediate:!0}),{transform:r}}function d5(e){return Object.entries(e)}function p5(e,t){const n=ln({}),o=a=>Object.entries(a).forEach(([s,l])=>n[s]=l),{style:r}=s5(e,o),{transform:i}=u5(e,o);return be(n,a=>{d5(a).forEach(([s,l])=>{const c=uf(s)?i:r;c[s]&&c[s]===l||(c[s]=l)})},{immediate:!0,deep:!0}),cf(e,()=>t),{motionProperties:n,style:r,transform:i}}function f5(e={}){const t=g(e),n=B();return{state:$(()=>{if(n.value)return t[n.value]}),variant:n}}function Sy(e,t={},n){const{motionProperties:o}=p5(e),{variant:r,state:i}=f5(t),a=q3(o,t),s={target:e,variant:r,variants:t,state:i,motionProperties:o,...a};return e5(s,n),s}const ky=["delay","duration"],h5=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...ky];function m5(e){return ky.includes(e)}function g5(e,t){const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&Pl(n.variants)&&(t.value={...t.value,...n.variants});for(let o of h5)if(!(!n||!n[o])){if(m5(o)&&typeof n[o]=="number"){for(const r of["enter","visible","visibleOnce"]){const i=t.value[r];i!=null&&(i.transition??(i.transition={}),i.transition[o]=n[o])}continue}if(Pl(n[o])){const r=n[o];o==="visible-once"&&(o="visibleOnce"),t.value[o]=r}}}}function uu(e,t=!1){return{created:(r,i,a)=>{const s=i.value&&typeof i.value=="string"?i.value:a.key;s&&su[s]&&su[s].stop();const l=t?structuredClone(tc(e)||{}):e||{},c=B(l);typeof i.value=="object"&&(c.value=i.value),g5(a,c);const d=Sy(r,c,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});r.motionInstance=d,s&&(su[s]=d)},mounted:(r,i,a)=>{r.motionInstance&&vy(r.motionInstance)},getSSRProps(r,i){let{initial:a}=r.value||i&&(i==null?void 0:i.props)||{};a=g(a);const s=oc({},(e==null?void 0:e.initial)||{},a||{});return!s||Object.keys(s).length===0?void 0:{style:yc(s)}}}}const v5={initial:{opacity:0},enter:{opacity:1}},b5={initial:{opacity:0},visible:{opacity:1}},y5={initial:{opacity:0},visibleOnce:{opacity:1}},_5={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},w5={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},S5={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},k5={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},x5={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},E5={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},T5={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},C5={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},M5={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},A5={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},P5={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},O5={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},R5={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},I5={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},L5={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},B5={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},$5={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},D5={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},z5={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},N5={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},F5={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},j5={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},H5={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},W5={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},U5={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},V5={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},G5={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Il={__proto__:null,fade:v5,fadeVisible:b5,fadeVisibleOnce:y5,pop:_5,popVisible:w5,popVisibleOnce:S5,rollBottom:R5,rollLeft:k5,rollRight:T5,rollTop:A5,rollVisibleBottom:I5,rollVisibleLeft:x5,rollVisibleOnceBottom:L5,rollVisibleOnceLeft:E5,rollVisibleOnceRight:M5,rollVisibleOnceTop:O5,rollVisibleRight:C5,rollVisibleTop:P5,slideBottom:U5,slideLeft:B5,slideRight:z5,slideTop:j5,slideVisibleBottom:V5,slideVisibleLeft:$5,slideVisibleOnceBottom:G5,slideVisibleOnceLeft:D5,slideVisibleOnceRight:F5,slideVisibleOnceTop:W5,slideVisibleRight:N5,slideVisibleTop:H5};function q5(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",o=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,r=>`-${r}`).toLowerCase().replace(/\s+/g,"-").replace(o,r=>n.charAt(t.indexOf(r))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const xy=Symbol(""),Ey={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function K5(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ad(e){if(Array.isArray(e))return e.map(Ad);if(K5(e)){const t={};for(const n in e)t[n]=Ad(e[n]);return t}return e}function Ty(e){const t=ln({}),n=gt(xy),o=$(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(tc(n)[e.preset]):e.preset in Il?structuredClone(Il[e.preset]):{}),r=$(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function i(l,c){for(const u of["delay","duration"]){if(c[u]==null)continue;const d=Number.parseInt(c[u]);for(const p of["enter","visible","visibleOnce"]){const f=l[p];f!=null&&(f.transition??(f.transition={}),f.transition[u]=d)}}return l}const a=$(()=>{const l=oc({},r.value,o.value,e.variants||{});return i({...l},e)});function s(l,c,u){var d;l.props??(l.props={}),(d=l.props).style??(d.style={}),l.props.style={...l.props.style,...u};const p=i(Ad(a.value),l.props);return l.props.onVnodeMounted=({el:f})=>{t[c]=Sy(f,p)},l.props.onVnodeUpdated=({el:f})=>{const h=yc(t[c].state);for(const[m,y]of Object.entries(h))f.style[m]=y},l}return{motionConfig:a,setNodeInstance:s}}const Y5=L({name:"Motion",props:{...Ey,is:{type:[String,Object],default:"div"}},setup(e){const t=gp(),{motionConfig:n,setNodeInstance:o}=Ty(e);return()=>{const r=yc(n.value.initial||{}),i=je(e.is,void 0,t);return o(i,0,r),i}}}),X5=L({name:"MotionGroup",props:{...Ey,is:{type:[String,Object],required:!1}},setup(e){const t=gp(),{motionConfig:n,setNodeInstance:o}=Ty(e);return()=>{var a;const r=yc(n.value.initial||{}),i=((a=t.default)==null?void 0:a.call(t))||[];for(let s=0;s<i.length;s++){const l=i[s];l.type===ho&&Array.isArray(l.children)?l.children.forEach(function c(u,d){if(u!=null){if(Array.isArray(u)){c(u,d);return}typeof u=="object"&&o(u,d,r)}}):o(l,s,r)}return e.is?je(e.is,void 0,i):i}}}),Z5={install(e,t){if(e.directive("motion",uu()),!t||t&&!t.excludePresets)for(const n in Il){const o=Il[n];e.directive(`motion-${q5(n)}`,uu(o,!0))}if(t&&t.directives)for(const n in t.directives){const o=t.directives[n];!o.initial&&__DEV__&&console.warn(`Your directive v-motion-${n} is missing initial variant!`),e.directive(`motion-${n}`,uu(o,!0))}e.provide(xy,t==null?void 0:t.directives),e.component("Motion",Y5),e.component("MotionGroup",X5)}},J5=Qe(e=>{const t=jt();e.vueApp.use(Z5,t.public.motion)});var Cy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Q5(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var df={exports:{}};const My=e=>typeof e=="object"&&e!==null,Ay=Symbol("skip"),Rm=e=>My(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),Pd=(e,t,n,o=new WeakMap)=>{if(n={deep:!1,target:{},...n},o.has(e))return o.get(e);o.set(e,n.target);const{target:r}=n;delete n.target;const i=a=>a.map(s=>Rm(s)?Pd(s,t,n,o):s);if(Array.isArray(e))return i(e);for(const[a,s]of Object.entries(e)){const l=t(a,s,e);if(l===Ay)continue;let[c,u,{shouldRecurse:d=!0}={}]=l;c!=="__proto__"&&(n.deep&&d&&Rm(u)&&(u=Array.isArray(u)?i(u):Pd(u,t,n,o)),r[c]=u)}return r};df.exports=(e,t,n)=>{if(!My(e))throw new TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return Pd(e,t,n)};df.exports.mapObjectSkip=Ay;var Py=df.exports;const Im=_c(Py);var Ll=function(){return Ll=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Ll.apply(this,arguments)};function eO(e){return e.toLowerCase()}var tO=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],nO=/[^A-Z0-9]+/gi;function oO(e,t){t===void 0&&(t={});for(var n=t.splitRegexp,o=n===void 0?tO:n,r=t.stripRegexp,i=r===void 0?nO:r,a=t.transform,s=a===void 0?eO:a,l=t.delimiter,c=l===void 0?" ":l,u=Lm(Lm(e,o,"$1\0$2"),i,"\0"),d=0,p=u.length;u.charAt(d)==="\0";)d++;for(;u.charAt(p-1)==="\0";)p--;return u.slice(d,p).split("\0").map(s).join(c)}function Lm(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce(function(o,r){return o.replace(r,n)},e)}function rO(e,t){return t===void 0&&(t={}),oO(e,Ll({delimiter:"."},t))}function iO(e,t){return t===void 0&&(t={}),rO(e,Ll({delimiter:"_"},t))}const aO=Object.freeze(Object.defineProperty({__proto__:null,snakeCase:iO},Symbol.toStringTag,{value:"Module"})),sO=Q5(aO),lO=Py,{snakeCase:cO}=sO;var uO=function(e,t){return t=Object.assign({deep:!0,exclude:[],parsingOptions:{}},t),lO(e,function(n,o){return[dO(t.exclude,n)?n:cO(n,t.parsingOptions),o]},t)};function dO(e,t){return e.some(function(n){return typeof n=="string"?n===t:n.test(t)})}const pO=_c(uO);function Oy(e){return e.replace(/[_.-](\w|$)/g,function(t,n){return n.toUpperCase()})}function cl(e,t=!1){return!e||typeof e!="object"||e instanceof Date||e instanceof RegExp?e:Array.isArray(e)?e.map(n=>t?typeof n=="object"?cl(n,t):n:cl(n)):Object.keys(e).reduce((n,o)=>{const r=Oy(o);return n[r]=t?e[o]:cl(e[o]),n},{})}function fO(e,t){return typeof e=="string"?Oy(e):cl(e,t)}const ji=async(e,t)=>{t||(t={method:"GET"}),t.body&&!(t.body instanceof FormData)&&(t.body=pO(t.body,{deep:!0})),Rd().staffToken?(t.headers||(t.headers={}),t.headers={...t.headers,Authorization:Rd().staffToken,Accepts:"application/json"}):Da().value&&(t.headers||(t.headers={}),t.headers={...t.headers,Authorization:`Bearer ${Da().value}`,Accepts:"application/json"});const n=await $fetch(e,{baseURL:jt().public.apiBase,...t});return fO(n)};var hO=Object.defineProperty,Bm=Object.getOwnPropertySymbols,mO=Object.prototype.hasOwnProperty,gO=Object.prototype.propertyIsEnumerable,$m=(e,t,n)=>t in e?hO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ry=(e,t)=>{for(var n in t||(t={}))mO.call(t,n)&&$m(e,n,t[n]);if(Bm)for(var n of Bm(t))gO.call(t,n)&&$m(e,n,t[n]);return e},wc=e=>typeof e=="function",Sc=e=>typeof e=="string",Iy=e=>Sc(e)&&e.trim().length>0,vO=e=>typeof e=="number",hr=e=>typeof e>"u",Wa=e=>typeof e=="object"&&e!==null,bO=e=>Nn(e,"tag")&&Iy(e.tag),Ly=e=>window.TouchEvent&&e instanceof TouchEvent,By=e=>Nn(e,"component")&&$y(e.component),yO=e=>wc(e)||Wa(e),$y=e=>!hr(e)&&(Sc(e)||yO(e)||By(e)),Dm=e=>Wa(e)&&["height","width","right","left","top","bottom"].every(t=>vO(e[t])),Nn=(e,t)=>(Wa(e)||wc(e))&&t in e,_O=(e=>()=>e++)(0);function du(e){return Ly(e)?e.targetTouches[0].clientX:e.clientX}function zm(e){return Ly(e)?e.targetTouches[0].clientY:e.clientY}var wO=e=>{hr(e.remove)?e.parentNode&&e.parentNode.removeChild(e):e.remove()},gs=e=>By(e)?gs(e.component):bO(e)?L({render(){return e}}):typeof e=="string"?e:tc(g(e)),SO=e=>{if(typeof e=="string")return e;const t=Nn(e,"props")&&Wa(e.props)?e.props:{},n=Nn(e,"listeners")&&Wa(e.listeners)?e.listeners:{};return{component:gs(e),props:t,listeners:n}},kO=()=>typeof window<"u",pf=class{constructor(){this.allHandlers={}}getHandlers(e){return this.allHandlers[e]||[]}on(e,t){const n=this.getHandlers(e);n.push(t),this.allHandlers[e]=n}off(e,t){const n=this.getHandlers(e);n.splice(n.indexOf(t)>>>0,1)}emit(e,t){this.getHandlers(e).forEach(o=>o(t))}},xO=e=>["on","off","emit"].every(t=>Nn(e,t)&&wc(e[t])),Vt;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info",e.DEFAULT="default"})(Vt||(Vt={}));var Bl;(function(e){e.TOP_LEFT="top-left",e.TOP_CENTER="top-center",e.TOP_RIGHT="top-right",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_CENTER="bottom-center",e.BOTTOM_RIGHT="bottom-right"})(Bl||(Bl={}));var Gt;(function(e){e.ADD="add",e.DISMISS="dismiss",e.UPDATE="update",e.CLEAR="clear",e.UPDATE_DEFAULTS="update_defaults"})(Gt||(Gt={}));var bn="Vue-Toastification",hn={type:{type:String,default:Vt.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},Dy={type:hn.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},ul={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:hn.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},Od={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},zy={transition:{type:[Object,String],default:`${bn}__bounce`}},EO={position:{type:String,default:Bl.TOP_RIGHT},draggable:hn.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:hn.trueBoolean,pauseOnHover:hn.trueBoolean,closeOnClick:hn.trueBoolean,timeout:Od.timeout,hideProgressBar:Od.hideProgressBar,toastClassName:hn.classNames,bodyClassName:hn.classNames,icon:Dy.customIcon,closeButton:ul.component,closeButtonClassName:ul.classNames,showCloseButtonOnHover:ul.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!1,default:()=>new pf}},TO={id:{type:[String,Number],required:!0,default:0},type:hn.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0}},CO={container:{type:[Object,Function],default:()=>document.body},newestOnTop:hn.trueBoolean,maxToasts:{type:Number,default:20},transition:zy.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:e=>e},filterToasts:{type:Function,default:e=>e},containerClassName:hn.classNames,onMounted:Function,shareAppContext:[Boolean,Object]},uo={CORE_TOAST:EO,TOAST:TO,CONTAINER:CO,PROGRESS_BAR:Od,ICON:Dy,TRANSITION:zy,CLOSE_BUTTON:ul},Ny=L({name:"VtProgressBar",props:uo.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${bn}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});function MO(e,t){return M(),Ze("div",{style:Kn(e.style),class:ya(e.cpClass)},null,6)}Ny.render=MO;var AO=Ny,Fy=L({name:"VtCloseButton",props:uo.CLOSE_BUTTON,computed:{buttonComponent(){return this.component!==!1?gs(this.component):"button"},classes(){const e=[`${bn}__close-button`];return this.showOnHover&&e.push("show-on-hover"),e.concat(this.classNames)}}}),PO=En(" × ");function OO(e,t){return M(),F(ns(e.buttonComponent),ae({"aria-label":e.ariaLabel,class:e.classes},e.$attrs),{default:O(()=>[PO]),_:1},16,["aria-label","class"])}Fy.render=OO;var RO=Fy,jy={},IO={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},LO=ir("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1),BO=[LO];function $O(e,t){return M(),Ze("svg",IO,BO)}jy.render=$O;var DO=jy,Hy={},zO={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},NO=ir("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1),FO=[NO];function jO(e,t){return M(),Ze("svg",zO,FO)}Hy.render=jO;var Nm=Hy,Wy={},HO={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},WO=ir("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),UO=[WO];function VO(e,t){return M(),Ze("svg",HO,UO)}Wy.render=VO;var GO=Wy,Uy={},qO={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},KO=ir("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1),YO=[KO];function XO(e,t){return M(),Ze("svg",qO,YO)}Uy.render=XO;var ZO=Uy,Vy=L({name:"VtIcon",props:uo.ICON,computed:{customIconChildren(){return Nn(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return Sc(this.customIcon)?this.trimValue(this.customIcon):Nn(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return Nn(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:$y(this.customIcon)?gs(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[Vt.DEFAULT]:Nm,[Vt.INFO]:Nm,[Vt.SUCCESS]:DO,[Vt.ERROR]:ZO,[Vt.WARNING]:GO}[this.type]},iconClasses(){const e=[`${bn}__icon`];return this.hasCustomIcon?e.concat(this.customIconClass):e}},methods:{trimValue(e,t=""){return Iy(e)?e.trim():t}}});function JO(e,t){return M(),F(ns(e.component),{class:ya(e.iconClasses)},{default:O(()=>[En(nc(e.customIconChildren),1)]),_:1},8,["class"])}Vy.render=JO;var QO=Vy,Gy=L({name:"VtToast",components:{ProgressBar:AO,CloseButton:RO,Icon:QO},inheritAttrs:!1,props:Object.assign({},uo.CORE_TOAST,uo.TOAST),data(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes(){const e=[`${bn}__toast`,`${bn}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&e.push("disable-transition"),this.rtl&&e.push(`${bn}__toast--rtl`),e},bodyClasses(){return[`${bn}__toast-${Sc(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return Dm(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{hasProp:Nn,getVueComponentFromObj:gs,closeToast(){this.eventBus.emit(Gt.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(!this.beingDragged||this.dragStart===this.dragPos.x)&&this.closeToast()},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const e=this.$el;e.addEventListener("touchstart",this.onDragStart,{passive:!0}),e.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const e=this.$el;e.removeEventListener("touchstart",this.onDragStart),e.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(e){this.beingDragged=!0,this.dragPos={x:du(e),y:zm(e)},this.dragStart=du(e),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(e){this.beingDragged&&(e.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:du(e),y:zm(e)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,Dm(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}}),eR=["role"];function tR(e,t){const n=Ji("Icon"),o=Ji("CloseButton"),r=Ji("ProgressBar");return M(),Ze("div",{class:ya(e.classes),style:Kn(e.draggableStyle),onClick:t[0]||(t[0]=(...i)=>e.clickHandler&&e.clickHandler(...i)),onMouseenter:t[1]||(t[1]=(...i)=>e.hoverPause&&e.hoverPause(...i)),onMouseleave:t[2]||(t[2]=(...i)=>e.hoverPlay&&e.hoverPlay(...i))},[e.icon?(M(),F(n,{key:0,"custom-icon":e.icon,type:e.type},null,8,["custom-icon","type"])):nn("v-if",!0),ir("div",{role:e.accessibility.toastRole||"alert",class:ya(e.bodyClasses)},[typeof e.content=="string"?(M(),Ze(ho,{key:0},[En(nc(e.content),1)],2112)):(M(),F(ns(e.getVueComponentFromObj(e.content)),ae({key:1,"toast-id":e.id},e.hasProp(e.content,"props")?e.content.props:{},x0(e.hasProp(e.content,"listeners")?e.content.listeners:{}),{onCloseToast:e.closeToast}),null,16,["toast-id","onCloseToast"]))],10,eR),e.closeButton?(M(),F(o,{key:1,component:e.closeButton,"class-names":e.closeButtonClassName,"show-on-hover":e.showCloseButtonOnHover,"aria-label":e.accessibility.closeButtonLabel,onClick:Ko(e.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):nn("v-if",!0),e.timeout?(M(),F(r,{key:2,"is-running":e.isRunning,"hide-progress-bar":e.hideProgressBar,timeout:e.timeout,onCloseToast:e.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):nn("v-if",!0)],38)}Gy.render=tR;var nR=Gy,qy=L({name:"VtTransition",props:uo.TRANSITION,emits:["leave"],methods:{hasProp:Nn,leave(e){e instanceof HTMLElement&&(e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px",e.style.width=getComputedStyle(e).width,e.style.position="absolute")}}});function oR(e,t){return M(),F(Uw,{tag:"div","enter-active-class":e.transition.enter?e.transition.enter:`${e.transition}-enter-active`,"move-class":e.transition.move?e.transition.move:`${e.transition}-move`,"leave-active-class":e.transition.leave?e.transition.leave:`${e.transition}-leave-active`,onLeave:e.leave},{default:O(()=>[W(e.$slots,"default")]),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])}qy.render=oR;var rR=qy,Ky=L({name:"VueToastification",devtools:{hide:!0},components:{Toast:nR,VtTransition:rR},props:Object.assign({},uo.CORE_TOAST,uo.CONTAINER,uo.TRANSITION),data(){return{count:0,positions:Object.values(Bl),toasts:{},defaults:{}}},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const e=this.eventBus;e.on(Gt.ADD,this.addToast),e.on(Gt.CLEAR,this.clearToasts),e.on(Gt.DISMISS,this.dismissToast),e.on(Gt.UPDATE,this.updateToast),e.on(Gt.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(e){wc(e)&&(e=await e()),wO(this.$el),e.appendChild(this.$el)},setToast(e){hr(e.id)||(this.toasts[e.id]=e)},addToast(e){e.content=SO(e.content);const t=Object.assign({},this.defaults,e.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[e.type],e),n=this.defaults.filterBeforeCreate(t,this.toastArray);n&&this.setToast(n)},dismissToast(e){const t=this.toasts[e];!hr(t)&&!hr(t.onClose)&&t.onClose(),delete this.toasts[e]},clearToasts(){Object.keys(this.toasts).forEach(e=>{this.dismissToast(e)})},getPositionToasts(e){const t=this.filteredToasts.filter(n=>n.position===e).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?t.reverse():t},updateDefaults(e){hr(e.container)||this.setup(e.container),this.defaults=Object.assign({},this.defaults,e)},updateToast({id:e,options:t,create:n}){this.toasts[e]?(t.timeout&&t.timeout===this.toasts[e].timeout&&t.timeout++,this.setToast(Object.assign({},this.toasts[e],t))):n&&this.addToast(Object.assign({},{id:e},t))},getClasses(e){return[`${bn}__container`,e].concat(this.defaults.containerClassName)}}});function iR(e,t){const n=Ji("Toast"),o=Ji("VtTransition");return M(),Ze("div",null,[(M(!0),Ze(ho,null,Hf(e.positions,r=>(M(),Ze("div",{key:r},[De(o,{transition:e.defaults.transition,class:ya(e.getClasses(r))},{default:O(()=>[(M(!0),Ze(ho,null,Hf(e.getPositionToasts(r),i=>(M(),F(n,ae({key:i.id},i),null,16))),128))]),_:2},1032,["transition","class"])]))),128))])}Ky.render=iR;var aR=Ky,Fm=(e={},t=!0)=>{const n=e.eventBus=e.eventBus||new pf;t&&Je(()=>{const i=E0(aR,Ry({},e)),a=i.mount(document.createElement("div")),s=e.onMounted;if(hr(s)||s(a,i),e.shareAppContext){const l=e.shareAppContext;l===!0?console.warn(`[${bn}] App to share context with was not provided.`):(i._context.components=l._context.components,i._context.directives=l._context.directives,i._context.mixins=l._context.mixins,i._context.provides=l._context.provides,i.config.globalProperties=l.config.globalProperties)}});const o=(i,a)=>{const s=Object.assign({},{id:_O(),type:Vt.DEFAULT},a,{content:i});return n.emit(Gt.ADD,s),s.id};o.clear=()=>n.emit(Gt.CLEAR,void 0),o.updateDefaults=i=>{n.emit(Gt.UPDATE_DEFAULTS,i)},o.dismiss=i=>{n.emit(Gt.DISMISS,i)};function r(i,{content:a,options:s},l=!1){const c=Object.assign({},s,{content:a});n.emit(Gt.UPDATE,{id:i,options:c,create:l})}return o.update=r,o.success=(i,a)=>o(i,Object.assign({},a,{type:Vt.SUCCESS})),o.info=(i,a)=>o(i,Object.assign({},a,{type:Vt.INFO})),o.error=(i,a)=>o(i,Object.assign({},a,{type:Vt.ERROR})),o.warning=(i,a)=>o(i,Object.assign({},a,{type:Vt.WARNING})),o},sR=()=>{const e=()=>console.warn(`[${bn}] This plugin does not support SSR!`);return new Proxy(e,{get(){return e}})};function Yy(e){return kO()?xO(e)?Fm({eventBus:e},!1):Fm(e,!0):sR()}var Xy=Symbol("VueToastification"),Zy=new pf,lR=(e,t)=>{(t==null?void 0:t.shareAppContext)===!0&&(t.shareAppContext=e);const n=Yy(Ry({eventBus:Zy},t));e.provide(Xy,n)},cR=e=>{const t=Xt()?gt(Xy,void 0):void 0;return t||Yy(Zy)},uR=lR;const jm=()=>cR(),Rd=HE("StaffStore",{state:()=>({info:null,loaded:!1,isLoading:!1}),getters:{staffToken(e){var t,n;return((n=(t=e.info)==null?void 0:t.session)==null?void 0:n.id)||null},hasLinkedStripeAccount(e){var t,n;return!!((n=(t=e.info)==null?void 0:t.organization)!=null&&n.stripeAccountId)},organizationId(e){var t,n;return((n=(t=e.info)==null?void 0:t.organization)==null?void 0:n.id)||null},organizationCreatedAt(e){var t,n;return((n=(t=e.info)==null?void 0:t.organization)==null?void 0:n.createdAt)||""},organizationPageUrl(e){var t;return`https://${(t=e.info)==null?void 0:t.organization.defaultUrl.url}.${jt().public.baseDomain}`}},actions:{saveState(e){var n;const t=na("circleStaffToken",{maxAge:604800});(n=e==null?void 0:e.session)!=null&&n.id&&(t.value=e.session.id,this.info=e,this.loaded=!0)},async loadState(){var t;if(this.loaded)return;const e=(t=na("circleStaffToken"))==null?void 0:t.value;if(e){const n=await ji("auth/user",{method:"GET",headers:{Authorization:e}});this.loaded=!0,this.info=n}},async signIn(e,t){var n,o;try{const r=await ji("auth/login",{method:"POST",body:{email:e,password:t}});return this.saveState(r),!0}catch(r){throw(n=r==null?void 0:r.response)!=null&&n._data?(o=r==null?void 0:r.response)==null?void 0:o._data:r}},async signOut(){return await ji("auth/logout",{method:"POST"}),na("circleStaffToken").value=null,this.info=null,!0},async signUp(e){var t,n;try{const o=await ji("auth/signup",{method:"POST",body:e});return this.saveState(o),!0}catch(o){throw(t=o==null?void 0:o.response)!=null&&t._data?(n=o==null?void 0:o.response)==null?void 0:n._data:o}},async setSelectedCampaigns(e){try{await ji("organization/selectCampaigns",{method:"PATCH",body:{campaigns:e}}),this.info&&(this.info.organization.ddcCampaigns=e),jm().success("Campaigns saved successfully")}catch(t){console.error(t),jm().error("Something went wrong")}}}}),dR=Qe(()=>{const e=jt(),t=$fetch.create({baseURL:e.public.apiBase,onRequest({options:o}){const r=Da();r.value&&(o.headers={...o.headers,Authorization:`Bearer ${r.value}`})}}),n=$fetch.create({baseURL:e.public.apiBase,onRequest({options:o}){const r=Rd().staffToken;r&&(o.headers={...o.headers,Authorization:r})}});return{provide:{api:t,staffApi:n}}});var Jy={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Cy,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",s="minute",l="hour",c="day",u="week",d="month",p="quarter",f="year",h="date",m="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(U){var z=["th","st","nd","rd"],A=U%100;return"["+U+(z[(A-20)%10]||z[A]||z[0])+"]"}},v=function(U,z,A){var V=String(U);return!V||V.length>=z?U:""+Array(z+1-V.length).join(A)+U},w={s:v,z:function(U){var z=-U.utcOffset(),A=Math.abs(z),V=Math.floor(A/60),j=A%60;return(z<=0?"+":"-")+v(V,2,"0")+":"+v(j,2,"0")},m:function U(z,A){if(z.date()<A.date())return-U(A,z);var V=12*(A.year()-z.year())+(A.month()-z.month()),j=z.clone().add(V,d),ee=A-j<0,re=z.clone().add(V+(ee?-1:1),d);return+(-(V+(A-j)/(ee?j-re:re-j))||0)},a:function(U){return U<0?Math.ceil(U)||0:Math.floor(U)},p:function(U){return{M:d,y:f,w:u,d:c,D:h,h:l,m:s,s:a,ms:i,Q:p}[U]||String(U||"").toLowerCase().replace(/s$/,"")},u:function(U){return U===void 0}},S="en",x={};x[S]=_;var k="$isDayjsObject",T=function(U){return U instanceof ne||!(!U||!U[k])},R=function U(z,A,V){var j;if(!z)return S;if(typeof z=="string"){var ee=z.toLowerCase();x[ee]&&(j=ee),A&&(x[ee]=A,j=ee);var re=z.split("-");if(!j&&re.length>1)return U(re[0])}else{var ke=z.name;x[ke]=z,j=ke}return!V&&j&&(S=j),j||!V&&S},N=function(U,z){if(T(U))return U.clone();var A=typeof z=="object"?z:{};return A.date=U,A.args=arguments,new ne(A)},K=w;K.l=R,K.i=T,K.w=function(U,z){return N(U,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var ne=function(){function U(A){this.$L=R(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[k]=!0}var z=U.prototype;return z.parse=function(A){this.$d=function(V){var j=V.date,ee=V.utc;if(j===null)return new Date(NaN);if(K.u(j))return new Date;if(j instanceof Date)return new Date(j);if(typeof j=="string"&&!/Z$/i.test(j)){var re=j.match(y);if(re){var ke=re[2]-1||0,he=(re[7]||"0").substring(0,3);return ee?new Date(Date.UTC(re[1],ke,re[3]||1,re[4]||0,re[5]||0,re[6]||0,he)):new Date(re[1],ke,re[3]||1,re[4]||0,re[5]||0,re[6]||0,he)}}return new Date(j)}(A),this.init()},z.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},z.$utils=function(){return K},z.isValid=function(){return this.$d.toString()!==m},z.isSame=function(A,V){var j=N(A);return this.startOf(V)<=j&&j<=this.endOf(V)},z.isAfter=function(A,V){return N(A)<this.startOf(V)},z.isBefore=function(A,V){return this.endOf(V)<N(A)},z.$g=function(A,V,j){return K.u(A)?this[V]:this.set(j,A)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function(A,V){var j=this,ee=!!K.u(V)||V,re=K.p(A),ke=function(G,q){var we=K.w(j.$u?Date.UTC(j.$y,q,G):new Date(j.$y,q,G),j);return ee?we:we.endOf(c)},he=function(G,q){return K.w(j.toDate()[G].apply(j.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(q)),j)},Ee=this.$W,Te=this.$M,Ve=this.$D,Ge="set"+(this.$u?"UTC":"");switch(re){case f:return ee?ke(1,0):ke(31,11);case d:return ee?ke(1,Te):ke(0,Te+1);case u:var P=this.$locale().weekStart||0,Z=(Ee<P?Ee+7:Ee)-P;return ke(ee?Ve-Z:Ve+(6-Z),Te);case c:case h:return he(Ge+"Hours",0);case l:return he(Ge+"Minutes",1);case s:return he(Ge+"Seconds",2);case a:return he(Ge+"Milliseconds",3);default:return this.clone()}},z.endOf=function(A){return this.startOf(A,!1)},z.$set=function(A,V){var j,ee=K.p(A),re="set"+(this.$u?"UTC":""),ke=(j={},j[c]=re+"Date",j[h]=re+"Date",j[d]=re+"Month",j[f]=re+"FullYear",j[l]=re+"Hours",j[s]=re+"Minutes",j[a]=re+"Seconds",j[i]=re+"Milliseconds",j)[ee],he=ee===c?this.$D+(V-this.$W):V;if(ee===d||ee===f){var Ee=this.clone().set(h,1);Ee.$d[ke](he),Ee.init(),this.$d=Ee.set(h,Math.min(this.$D,Ee.daysInMonth())).$d}else ke&&this.$d[ke](he);return this.init(),this},z.set=function(A,V){return this.clone().$set(A,V)},z.get=function(A){return this[K.p(A)]()},z.add=function(A,V){var j,ee=this;A=Number(A);var re=K.p(V),ke=function(Te){var Ve=N(ee);return K.w(Ve.date(Ve.date()+Math.round(Te*A)),ee)};if(re===d)return this.set(d,this.$M+A);if(re===f)return this.set(f,this.$y+A);if(re===c)return ke(1);if(re===u)return ke(7);var he=(j={},j[s]=o,j[l]=r,j[a]=n,j)[re]||1,Ee=this.$d.getTime()+A*he;return K.w(Ee,this)},z.subtract=function(A,V){return this.add(-1*A,V)},z.format=function(A){var V=this,j=this.$locale();if(!this.isValid())return j.invalidDate||m;var ee=A||"YYYY-MM-DDTHH:mm:ssZ",re=K.z(this),ke=this.$H,he=this.$m,Ee=this.$M,Te=j.weekdays,Ve=j.months,Ge=j.meridiem,P=function(q,we,Ie,de){return q&&(q[we]||q(V,ee))||Ie[we].slice(0,de)},Z=function(q){return K.s(ke%12||12,q,"0")},G=Ge||function(q,we,Ie){var de=q<12?"AM":"PM";return Ie?de.toLowerCase():de};return ee.replace(b,function(q,we){return we||function(Ie){switch(Ie){case"YY":return String(V.$y).slice(-2);case"YYYY":return K.s(V.$y,4,"0");case"M":return Ee+1;case"MM":return K.s(Ee+1,2,"0");case"MMM":return P(j.monthsShort,Ee,Ve,3);case"MMMM":return P(Ve,Ee);case"D":return V.$D;case"DD":return K.s(V.$D,2,"0");case"d":return String(V.$W);case"dd":return P(j.weekdaysMin,V.$W,Te,2);case"ddd":return P(j.weekdaysShort,V.$W,Te,3);case"dddd":return Te[V.$W];case"H":return String(ke);case"HH":return K.s(ke,2,"0");case"h":return Z(1);case"hh":return Z(2);case"a":return G(ke,he,!0);case"A":return G(ke,he,!1);case"m":return String(he);case"mm":return K.s(he,2,"0");case"s":return String(V.$s);case"ss":return K.s(V.$s,2,"0");case"SSS":return K.s(V.$ms,3,"0");case"Z":return re}return null}(q)||re.replace(":","")})},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function(A,V,j){var ee,re=this,ke=K.p(V),he=N(A),Ee=(he.utcOffset()-this.utcOffset())*o,Te=this-he,Ve=function(){return K.m(re,he)};switch(ke){case f:ee=Ve()/12;break;case d:ee=Ve();break;case p:ee=Ve()/3;break;case u:ee=(Te-Ee)/6048e5;break;case c:ee=(Te-Ee)/864e5;break;case l:ee=Te/r;break;case s:ee=Te/o;break;case a:ee=Te/n;break;default:ee=Te}return j?ee:K.a(ee)},z.daysInMonth=function(){return this.endOf(d).$D},z.$locale=function(){return x[this.$L]},z.locale=function(A,V){if(!A)return this.$L;var j=this.clone(),ee=R(A,V,!0);return ee&&(j.$L=ee),j},z.clone=function(){return K.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},U}(),_e=ne.prototype;return N.prototype=_e,[["$ms",i],["$s",a],["$m",s],["$H",l],["$W",c],["$M",d],["$y",f],["$D",h]].forEach(function(U){_e[U[1]]=function(z){return this.$g(z,U[0],U[1])}}),N.extend=function(U,z){return U.$i||(U(z,ne,N),U.$i=!0),N},N.locale=R,N.isDayjs=T,N.unix=function(U){return N(1e3*U)},N.en=x[S],N.Ls=x,N.p={},N})})(Jy);var pR=Jy.exports;const fR=_c(pR);var Qy={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Cy,function(){var n="minute",o=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(i,a,s){var l=a.prototype;s.utc=function(m){var y={date:m,utc:!0,args:arguments};return new a(y)},l.utc=function(m){var y=s(this.toDate(),{locale:this.$L,utc:!0});return m?y.add(this.utcOffset(),n):y},l.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(m){m.utc&&(this.$u=!0),this.$utils().u(m.$offset)||(this.$offset=m.$offset),c.call(this,m)};var u=l.init;l.init=function(){if(this.$u){var m=this.$d;this.$y=m.getUTCFullYear(),this.$M=m.getUTCMonth(),this.$D=m.getUTCDate(),this.$W=m.getUTCDay(),this.$H=m.getUTCHours(),this.$m=m.getUTCMinutes(),this.$s=m.getUTCSeconds(),this.$ms=m.getUTCMilliseconds()}else u.call(this)};var d=l.utcOffset;l.utcOffset=function(m,y){var b=this.$utils().u;if(b(m))return this.$u?0:b(this.$offset)?d.call(this):this.$offset;if(typeof m=="string"&&(m=function(S){S===void 0&&(S="");var x=S.match(o);if(!x)return null;var k=(""+x[0]).match(r)||["-",0,0],T=k[0],R=60*+k[1]+ +k[2];return R===0?0:T==="+"?R:-R}(m),m===null))return this;var _=Math.abs(m)<=16?60*m:m,v=this;if(y)return v.$offset=_,v.$u=m===0,v;if(m!==0){var w=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(v=this.local().add(_+w,n)).$offset=_,v.$x.$localOffset=w}else v=this.utc();return v};var p=l.format;l.format=function(m){var y=m||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,y)},l.valueOf=function(){var m=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*m},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var f=l.toDate;l.toDate=function(m){return m==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var h=l.diff;l.diff=function(m,y,b){if(m&&this.$u===m.$u)return h.call(this,m,y,b);var _=this.local(),v=s(m).local();return h.call(_,v,y,b)}}})})(Qy);var hR=Qy.exports;const mR=_c(hR),gR=Qe(()=>{fR.extend(mR)});function Hm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Hm(Object(n),!0).forEach(function(o){C(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hm(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Ua(e){return Ua=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ua(e)}function Pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Oe(e,t,n){return t&&Wm(e.prototype,t),n&&Wm(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vR(e,t){if(e==null)return{};var n,o,r=function(a,s){if(a==null)return{};var l,c,u={},d=Object.keys(a);for(c=0;c<d.length;c++)l=d[c],s.indexOf(l)>=0||(u[l]=a[l]);return u}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Mt(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,o){var r=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(r!=null){var i,a,s=[],l=!0,c=!1;try{for(r=r.call(n);!(l=(i=r.next()).done)&&(s.push(i.value),!o||s.length!==o);l=!0);}catch(u){c=!0,a=u}finally{try{l||r.return==null||r.return()}finally{if(c)throw a}}return s}}(e,t)||ff(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function po(e){return function(t){if(Array.isArray(t))return Id(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||ff(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ff(e,t){if(e){if(typeof e=="string")return Id(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Id(e,t):void 0}}function Id(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function sn(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ff(e))||t){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(l){throw l},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){s=!0,i=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}var Qt={DEBUG:!1,LIB_VERSION:"1.161.3"},bR=Array.isArray,e_=Object.prototype,t_=e_.hasOwnProperty,kc=e_.toString,ot=bR||function(e){return kc.call(e)==="[object Array]"},tn=function(e){return typeof e=="function"},rt=function(e){return e===Object(e)&&!ot(e)},dl=function(e){if(rt(e)){for(var t in e)if(t_.call(e,t))return!1;return!0}return!1},ie=function(e){return e===void 0},wt=function(e){return kc.call(e)=="[object String]"},Um=function(e){return wt(e)&&e.trim().length===0},_o=function(e){return e===null},Ot=function(e){return ie(e)||_o(e)},en=function(e){return kc.call(e)=="[object Number]"},mr=function(e){return kc.call(e)==="[object Boolean]"},yR=function(e){return e instanceof FormData},E=typeof window<"u"?window:void 0,$t=typeof globalThis<"u"?globalThis:E,n_=Array.prototype,Vm=n_.forEach,Gm=n_.indexOf,yn=$t==null?void 0:$t.navigator,te=$t==null?void 0:$t.document,Bt=$t==null?void 0:$t.location,Ld=$t==null?void 0:$t.fetch,Bd=$t!=null&&$t.XMLHttpRequest&&"withCredentials"in new $t.XMLHttpRequest?$t.XMLHttpRequest:void 0,qm=$t==null?void 0:$t.AbortController,ct=yn==null?void 0:yn.userAgent,Ne=E??{},Km="[PostHog.js]",D={_log:function(e){if(E&&(Qt.DEBUG||Ne.POSTHOG_DEBUG)&&!ie(E.console)&&E.console){for(var t=("__rrweb_original__"in E.console[e])?E.console[e].__rrweb_original__:E.console[e],n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];t.apply(void 0,[Km].concat(o))}},info:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];D._log.apply(D,["log"].concat(t))},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];D._log.apply(D,["warn"].concat(t))},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];D._log.apply(D,["error"].concat(t))},critical:function(){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=console).error.apply(e,[Km].concat(n))},uninitializedWarning:function(e){D.error("You must initialize PostHog before calling ".concat(e))}},$l={},xc=function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function Jr(e,t,n){if(ot(e)){if(Vm&&e.forEach===Vm)e.forEach(t,n);else if("length"in e&&e.length===+e.length){for(var o=0,r=e.length;o<r;o++)if(o in e&&t.call(n,e[o],o)===$l)return}}}function ze(e,t,n){if(!Ot(e)){if(ot(e))return Jr(e,t,n);if(yR(e)){var o,r=sn(e.entries());try{for(r.s();!(o=r.n()).done;){var i=o.value;if(t.call(n,i[1],i[0])===$l)return}}catch(s){r.e(s)}finally{r.f()}}else for(var a in e)if(t_.call(e,a)&&t.call(n,e[a],a)===$l)return}}var At=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return Jr(n,function(r){for(var i in r)r[i]!==void 0&&(e[i]=r[i])}),e};function Ce(e,t){return e.indexOf(t)!==-1}function pl(e){for(var t=Object.keys(e),n=t.length,o=new Array(n);n--;)o[n]=[t[n],e[t[n]]];return o}var o_=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},Ym=function(e){try{return e()}catch{return}},_R=function(e){return function(){try{for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.apply(this,n)}catch(r){D.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),D.critical(r)}}},$d=function(e){var t={};return ze(e,function(n,o){wt(n)&&n.length>0&&(t[o]=n)}),t},Dd=function(e){return e.replace(/^\$/,"")};function wR(e,t){return n=e,o=function(i){return wt(i)&&!_o(t)?i.slice(0,t):i},r=new Set,function i(a,s){return a!==Object(a)?o?o(a,s):a:r.has(a)?void 0:(r.add(a),ot(a)?(l=[],Jr(a,function(c){l.push(i(c))})):(l={},ze(a,function(c,u){r.has(c)||(l[u]=i(c,u))})),l);var l}(n);var n,o,r}var mn,SR=function(e){var t,n,o,r,i="";for(t=n=0,o=(e=(e+"").replace(/\r\n/g,`
`).replace(/\r/g,`
`)).length,r=0;r<o;r++){var a=e.charCodeAt(r),s=null;a<128?n++:s=a>127&&a<2048?String.fromCharCode(a>>6|192,63&a|128):String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128),_o(s)||(n>t&&(i+=e.substring(t,n)),i+=s,t=n=r+1)}return n>t&&(i+=e.substring(t,e.length)),i},lo=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,n,o,r,i){if(t)if(t.addEventListener&&!r)t.addEventListener(n,o,!!i);else{var a="on"+n,s=t[a];t[a]=function(l,c,u){return function(d){if(d=d||e(E==null?void 0:E.event)){var p,f=!0;tn(u)&&(p=u(d));var h=c.call(l,d);return p!==!1&&h!==!1||(f=!1),f}}}(t,o,s)}else D.error("No valid element provided to register_event")}}();function r_(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}(function(e){e.GZipJS="gzip-js",e.Base64="base64"})(mn||(mn={}));var i_="$people_distinct_id",Yi="__alias",Xi="__timers",Xm="$autocapture_disabled_server_side",zd="$heatmaps_enabled_server_side",Zm="$exception_capture_enabled_server_side",Jm="$exception_capture_endpoint_suffix",Qm="$web_vitals_enabled_server_side",eg="$web_vitals_allowed_metrics",Nd="$session_recording_enabled_server_side",tg="$console_log_recording_enabled_server_side",ng="$session_recording_network_payload_capture",og="$session_recording_canvas_recording",rg="$replay_sample_rate",ig="$replay_minimum_duration",Dl="$sesid",ha="$session_is_sampled",qr="$enabled_feature_flags",Fd="$early_access_features",Kr="$stored_person_properties",Oo="$stored_group_properties",jd="$surveys",$s="$surveys_activated",zl="$flag_call_reported",ro="$user_state",Hd="$client_session_props",Wd="$capture_rate_limit",Ud="$initial_campaign_params",Vd="$initial_referrer_info",ag="$initial_person_info",Nl="$epp",Gd="__POSTHOG_TOOLBAR__",kR=[i_,Yi,"__cmpns",Xi,Nd,zd,Dl,qr,ro,Fd,Oo,Kr,jd,zl,Hd,Wd,Ud,Vd,Nl],pu="$active_feature_flags",Ds="$override_feature_flags",sg="$feature_flag_payloads",lg=function(e){var t,n={},o=sn(pl(e||{}));try{for(o.s();!(t=o.n()).done;){var r=Mt(t.value,2),i=r[0],a=r[1];a&&(n[i]=a)}}catch(s){o.e(s)}finally{o.f()}return n},xR=function(){function e(t){Pe(this,e),this.instance=t,this._override_warning=!1,this.featureFlagEventHandlers=[],this.reloadFeatureFlagsQueued=!1,this.reloadFeatureFlagsInAction=!1}return Oe(e,[{key:"getFlags",value:function(){return Object.keys(this.getFlagVariants())}},{key:"getFlagVariants",value:function(){var t=this.instance.get_property(qr),n=this.instance.get_property(Ds);if(!n)return t||{};for(var o=At({},t),r=Object.keys(n),i=0;i<r.length;i++)o[r[i]]=n[r[i]];return this._override_warning||(D.warn(" Overriding feature flags!",{enabledFlags:t,overriddenFlags:n,finalFlags:o}),this._override_warning=!0),o}},{key:"getFlagPayloads",value:function(){return this.instance.get_property(sg)||{}}},{key:"reloadFeatureFlags",value:function(){this.reloadFeatureFlagsQueued||(this.reloadFeatureFlagsQueued=!0,this._startReloadTimer())}},{key:"setAnonymousDistinctId",value:function(t){this.$anon_distinct_id=t}},{key:"setReloadingPaused",value:function(t){this.reloadFeatureFlagsInAction=t}},{key:"resetRequestQueue",value:function(){this.reloadFeatureFlagsQueued=!1}},{key:"_startReloadTimer",value:function(){var t=this;this.reloadFeatureFlagsQueued&&!this.reloadFeatureFlagsInAction&&setTimeout(function(){!t.reloadFeatureFlagsInAction&&t.reloadFeatureFlagsQueued&&(t.reloadFeatureFlagsQueued=!1,t._reloadFeatureFlagsRequest())},5)}},{key:"_reloadFeatureFlagsRequest",value:function(){var t=this;if(!this.instance.config.advanced_disable_feature_flags){this.setReloadingPaused(!0);var n=this.instance.config.token,o=this.instance.get_property(Kr),r=this.instance.get_property(Oo),i={token:n,distinct_id:this.instance.get_distinct_id(),groups:this.instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:o,group_properties:r,disable_flags:this.instance.config.advanced_disable_feature_flags||void 0};this.instance._send_request({method:"POST",url:this.instance.requestRouter.endpointFor("api","/decide/?v=3"),data:i,compression:this.instance.config.disable_compression?void 0:mn.Base64,timeout:this.instance.config.feature_flag_request_timeout_ms,callback:function(a){var s;t.setReloadingPaused(!1);var l=!0;a.statusCode===200&&(t.$anon_distinct_id=void 0,l=!1),t.receivedFeatureFlags((s=a.json)!==null&&s!==void 0?s:{},l),t._startReloadTimer()}})}}},{key:"getFeatureFlag",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0){var o,r=this.getFlagVariants()[t],i="".concat(r),a=this.instance.get_property(zl)||{};return(n.send_event||!("send_event"in n))&&(!(t in a)||!a[t].includes(i))&&(ot(a[t])?a[t].push(i):a[t]=[i],(o=this.instance.persistence)===null||o===void 0||o.register(C({},zl,a)),this.instance.capture("$feature_flag_called",{$feature_flag:t,$feature_flag_response:r})),r}D.warn('getFeatureFlag for key "'+t+`" failed. Feature flags didn't load in time.`)}},{key:"getFeatureFlagPayload",value:function(t){return this.getFlagPayloads()[t]}},{key:"isFeatureEnabled",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0)return!!this.getFeatureFlag(t,n);D.warn('isFeatureEnabled for key "'+t+`" failed. Feature flags didn't load in time.`)}},{key:"addFeatureFlagsHandler",value:function(t){this.featureFlagEventHandlers.push(t)}},{key:"removeFeatureFlagsHandler",value:function(t){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(function(n){return n!==t})}},{key:"receivedFeatureFlags",value:function(t,n){if(this.instance.persistence){this.instance.decideEndpointWasHit=!0;var o=this.getFlagVariants(),r=this.getFlagPayloads();(function(i,a){var s,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},u=i.featureFlags,d=i.featureFlagPayloads;if(u)if(ot(u)){var p,f={};if(u)for(var h=0;h<u.length;h++)f[u[h]]=!0;a&&a.register((C(p={},pu,u),C(p,qr,f),p))}else{var m=u,y=d;i.errorsWhileComputingFlags&&(m=X(X({},l),m),y=X(X({},c),y)),a&&a.register((C(s={},pu,Object.keys(lg(m))),C(s,qr,m||{}),C(s,sg,y||{}),s))}})(t,this.instance.persistence,o,r),this._fireFeatureFlagsCallbacks(n)}}},{key:"override",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!this.instance.__loaded||!this.instance.persistence)return D.uninitializedWarning("posthog.feature_flags.override");if(this._override_warning=n,t===!1)this.instance.persistence.unregister(Ds);else if(ot(t)){for(var o={},r=0;r<t.length;r++)o[t[r]]=!0;this.instance.persistence.register(C({},Ds,o))}else this.instance.persistence.register(C({},Ds,t))}},{key:"onFeatureFlags",value:function(t){var n=this;if(this.addFeatureFlagsHandler(t),this.instance.decideEndpointWasHit){var o=this._prepareFeatureFlagsForCallbacks(),r=o.flags,i=o.flagVariants;t(r,i)}return function(){return n.removeFeatureFlagsHandler(t)}}},{key:"updateEarlyAccessFeatureEnrollment",value:function(t,n){var o,r,i=C({},"$feature_enrollment/".concat(t),n);this.instance.capture("$feature_enrollment_update",{$feature_flag:t,$feature_enrollment:n,$set:i}),this.setPersonPropertiesForFlags(i,!1);var a=X(X({},this.getFlagVariants()),{},C({},t,n));(o=this.instance.persistence)===null||o===void 0||o.register((C(r={},pu,Object.keys(lg(a))),C(r,qr,a),r)),this._fireFeatureFlagsCallbacks()}},{key:"getEarlyAccessFeatures",value:function(t){var n=this,o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],r=this.instance.get_property(Fd);if(r&&!o)return t(r);this.instance._send_request({transport:"XHR",url:this.instance.requestRouter.endpointFor("api","/api/early_access_features/?token=".concat(this.instance.config.token)),method:"GET",callback:function(i){var a;if(i.json){var s=i.json.earlyAccessFeatures;return(a=n.instance.persistence)===null||a===void 0||a.register(C({},Fd,s)),t(s)}}})}},{key:"_prepareFeatureFlagsForCallbacks",value:function(){var t=this.getFlags(),n=this.getFlagVariants();return{flags:t.filter(function(o){return n[o]}),flagVariants:Object.keys(n).filter(function(o){return n[o]}).reduce(function(o,r){return o[r]=n[r],o},{})}}},{key:"_fireFeatureFlagsCallbacks",value:function(t){var n=this._prepareFeatureFlagsForCallbacks(),o=n.flags,r=n.flagVariants;this.featureFlagEventHandlers.forEach(function(i){return i(o,r,{errorsLoading:t})})}},{key:"setPersonPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],o=this.instance.get_property(Kr)||{};this.instance.register(C({},Kr,X(X({},o),t))),n&&this.instance.reloadFeatureFlags()}},{key:"resetPersonPropertiesForFlags",value:function(){this.instance.unregister(Kr)}},{key:"setGroupPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],o=this.instance.get_property(Oo)||{};Object.keys(o).length!==0&&Object.keys(o).forEach(function(r){o[r]=X(X({},o[r]),t[r]),delete t[r]}),this.instance.register(C({},Oo,X(X({},o),t))),n&&this.instance.reloadFeatureFlags()}},{key:"resetGroupPropertiesForFlags",value:function(t){if(t){var n=this.instance.get_property(Oo)||{};this.instance.register(C({},Oo,X(X({},n),{},C({},t,{}))))}else this.instance.unregister(Oo)}}]),e}();Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return en(e)&&isFinite(e)&&Math.floor(e)===e});var cg="0123456789abcdef",ER=function(){function e(t){if(Pe(this,e),this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}return Oe(e,[{key:"toString",value:function(){for(var t="",n=0;n<this.bytes.length;n++)t=t+cg.charAt(this.bytes[n]>>>4)+cg.charAt(15&this.bytes[n]),n!==3&&n!==5&&n!==7&&n!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}},{key:"clone",value:function(){return new e(this.bytes.slice(0))}},{key:"equals",value:function(t){return this.compareTo(t)===0}},{key:"compareTo",value:function(t){for(var n=0;n<16;n++){var o=this.bytes[n]-t.bytes[n];if(o!==0)return Math.sign(o)}return 0}}],[{key:"fromFieldsV7",value:function(t,n,o,r){if(!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(o)||!Number.isInteger(r)||t<0||n<0||o<0||r<0||t>0xffffffffffff||n>4095||o>1073741823||r>4294967295)throw new RangeError("invalid field value");var i=new Uint8Array(16);return i[0]=t/Math.pow(2,40),i[1]=t/Math.pow(2,32),i[2]=t/Math.pow(2,24),i[3]=t/Math.pow(2,16),i[4]=t/Math.pow(2,8),i[5]=t,i[6]=112|n>>>8,i[7]=n,i[8]=128|o>>>24,i[9]=o>>>16,i[10]=o>>>8,i[11]=o,i[12]=r>>>24,i[13]=r>>>16,i[14]=r>>>8,i[15]=r,new e(i)}}]),e}(),TR=function(){function e(){Pe(this,e),C(this,"timestamp",0),C(this,"counter",0),C(this,"random",new CR)}return Oe(e,[{key:"generate",value:function(){var t=this.generateOrAbort();if(ie(t)){this.timestamp=0;var n=this.generateOrAbort();if(ie(n))throw new Error("Could not generate UUID after timestamp reset");return n}return t}},{key:"generateOrAbort",value:function(){var t=Date.now();if(t>this.timestamp)this.timestamp=t,this.resetCounter();else{if(!(t+1e4>this.timestamp))return;this.counter++,this.counter>4398046511103&&(this.timestamp++,this.resetCounter())}return ER.fromFieldsV7(this.timestamp,Math.trunc(this.counter/Math.pow(2,30)),this.counter&Math.pow(2,30)-1,this.random.nextUint32())}},{key:"resetCounter",value:function(){this.counter=1024*this.random.nextUint32()+(1023&this.random.nextUint32())}}]),e}(),a_=function(e){if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;t<e.length;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};E&&!ie(E.crypto)&&crypto.getRandomValues&&(a_=function(e){return crypto.getRandomValues(e)});var ug,CR=function(){function e(){Pe(this,e),C(this,"buffer",new Uint32Array(8)),C(this,"cursor",1/0)}return Oe(e,[{key:"nextUint32",value:function(){return this.cursor>=this.buffer.length&&(a_(this.buffer),this.cursor=0),this.buffer[this.cursor++]}}]),e}(),Ho=function(){return MR().toString()},MR=function(){return(ug||(ug=new TR)).generate()},AR="Thu, 01 Jan 1970 00:00:00 GMT",Hi="",PR=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i;function OR(e,t){if(t){var n=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te;if(Hi)return Hi;if(!i||["localhost","127.0.0.1"].includes(r))return"";for(var a=r.split("."),s=Math.min(a.length,8),l="dmn_chk_"+Ho(),c=new RegExp("(^|;)\\s*"+l+"=1");!Hi&&s--;){var u=a.slice(s).join("."),d=l+"=1;domain=."+u;i.cookie=d,c.test(i.cookie)&&(i.cookie=d+";expires="+AR,Hi=u)}return Hi}(e);if(!n){var o=function(r){var i=r.match(PR);return i?i[0]:""}(e);o!==n&&D.info("Warning: cookie subdomain discovery mismatch",o,n),n=o}return n?"; domain=."+n:""}return""}var pt,fo={is_supported:function(){return!!te},error:function(e){D.error("cookieStore error: "+e)},get:function(e){if(te){try{for(var t=e+"=",n=te.cookie.split(";").filter(function(i){return i.length}),o=0;o<n.length;o++){for(var r=n[o];r.charAt(0)==" ";)r=r.substring(1,r.length);if(r.indexOf(t)===0)return decodeURIComponent(r.substring(t.length,r.length))}}catch{}return null}},parse:function(e){var t;try{t=JSON.parse(fo.get(e))||{}}catch{}return t},set:function(e,t,n,o,r){if(te)try{var i="",a="",s=OR(te.location.hostname,o);if(n){var l=new Date;l.setTime(l.getTime()+24*n*60*60*1e3),i="; expires="+l.toUTCString()}r&&(a="; secure");var c=e+"="+encodeURIComponent(JSON.stringify(t))+i+"; SameSite=Lax; path=/"+s+a;return c.length>3686.4&&D.warn("cookieStore warning: large cookie, len="+c.length),te.cookie=c,c}catch{return}},remove:function(e,t){try{fo.set(e,"",-1,t)}catch{return}}},fu=null,et={is_supported:function(){if(!_o(fu))return fu;var e=!0;if(ie(E))e=!1;else try{var t="__mplssupport__";et.set(t,"xyz"),et.get(t)!=='"xyz"'&&(e=!1),et.remove(t)}catch{e=!1}return e||D.error("localStorage unsupported; falling back to cookie store"),fu=e,e},error:function(e){D.error("localStorage error: "+e)},get:function(e){try{return E==null?void 0:E.localStorage.getItem(e)}catch(t){et.error(t)}return null},parse:function(e){try{return JSON.parse(et.get(e))||{}}catch{}return null},set:function(e,t){try{E==null||E.localStorage.setItem(e,JSON.stringify(t))}catch(n){et.error(n)}},remove:function(e){try{E==null||E.localStorage.removeItem(e)}catch(t){et.error(t)}}},RR=["distinct_id",Dl,ha,Nl],zs=X(X({},et),{},{parse:function(e){try{var t={};try{t=fo.parse(e)||{}}catch{}var n=At(t,JSON.parse(et.get(e)||"{}"));return et.set(e,n),n}catch{}return null},set:function(e,t,n,o,r,i){try{et.set(e,t,void 0,void 0,i);var a={};RR.forEach(function(s){t[s]&&(a[s]=t[s])}),Object.keys(a).length&&fo.set(e,a,n,o,r,i)}catch(s){et.error(s)}},remove:function(e,t){try{E==null||E.localStorage.removeItem(e),fo.remove(e,t)}catch(n){et.error(n)}}}),Ns={},IR={is_supported:function(){return!0},error:function(e){D.error("memoryStorage error: "+e)},get:function(e){return Ns[e]||null},parse:function(e){return Ns[e]||null},set:function(e,t){Ns[e]=t},remove:function(e){delete Ns[e]}},cr=null,ht={is_supported:function(){if(!_o(cr))return cr;if(cr=!0,ie(E))cr=!1;else try{var e="__support__";ht.set(e,"xyz"),ht.get(e)!=='"xyz"'&&(cr=!1),ht.remove(e)}catch{cr=!1}return cr},error:function(e){D.error("sessionStorage error: ",e)},get:function(e){try{return E==null?void 0:E.sessionStorage.getItem(e)}catch(t){ht.error(t)}return null},parse:function(e){try{return JSON.parse(ht.get(e))||null}catch{}return null},set:function(e,t){try{E==null||E.sessionStorage.setItem(e,JSON.stringify(t))}catch(n){ht.error(n)}},remove:function(e){try{E==null||E.sessionStorage.removeItem(e)}catch(t){ht.error(t)}}},LR=["localhost","127.0.0.1"],ma=function(e){var t=te==null?void 0:te.createElement("a");return ie(t)?null:(t.href=e,t)},Fl=function(e,t){return!!function(n){try{new RegExp(n)}catch{return!1}return!0}(t)&&new RegExp(t).test(e)},BR=function(e){var t,n,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"&",r=[];return ze(e,function(i,a){ie(i)||ie(a)||a==="undefined"||(t=encodeURIComponent(function(s){return s instanceof File}(i)?i.name:i.toString()),n=encodeURIComponent(a),r[r.length]=n+"="+t)}),r.join(o)},dg=function(e,t){for(var n,o=((e.split("#")[0]||"").split("?")[1]||"").split("&"),r=0;r<o.length;r++){var i=o[r].split("=");if(i[0]===t){n=i;break}}if(!ot(n)||n.length<2)return"";var a=n[1];try{a=decodeURIComponent(a)}catch{D.error("Skipping decoding for malformed query param: "+a)}return a.replace(/\+/g," ")},jl=function(e,t){var n=e.match(new RegExp(t+"=([^&]*)"));return n?n[1]:null},rn="Mobile",Hl="iOS",Bn="Android",Va="Tablet",s_=Bn+" "+Va,l_="iPad",c_="Apple",u_=c_+" Watch",Ga="Safari",ki="BlackBerry",d_="Samsung",p_=d_+"Browser",f_=d_+" Internet",Go="Chrome",$R=Go+" OS",h_=Go+" "+Hl,hf="Internet Explorer",m_=hf+" "+rn,mf="Opera",DR=mf+" Mini",gf="Edge",g_="Microsoft "+gf,Qr="Firefox",v_=Qr+" "+Hl,qa="Nintendo",Ka="PlayStation",ei="Xbox",b_=Bn+" "+rn,y_=rn+" "+Ga,Zi="Windows",qd=Zi+" Phone",pg="Nokia",Kd="Ouya",__="Generic",zR=__+" "+rn.toLowerCase(),w_=__+" "+Va.toLowerCase(),Yd="Konqueror",Tt="(\\d+(\\.\\d+)?)",hu=new RegExp("Version/"+Tt),NR=new RegExp(ei,"i"),FR=new RegExp(Ka+" \\w+","i"),jR=new RegExp(qa+" \\w+","i"),vf=new RegExp(ki+"|PlayBook|BB10","i"),HR={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},WR=function(e,t){return t&&Ce(t,c_)||function(n){return Ce(n,Ga)&&!Ce(n,Go)&&!Ce(n,Bn)}(e)},fg=function(e,t){return t=t||"",Ce(e," OPR/")&&Ce(e,"Mini")?DR:Ce(e," OPR/")?mf:vf.test(e)?ki:Ce(e,"IE"+rn)||Ce(e,"WPDesktop")?m_:Ce(e,p_)?f_:Ce(e,gf)||Ce(e,"Edg/")?g_:Ce(e,"FBIOS")?"Facebook "+rn:Ce(e,"UCWEB")||Ce(e,"UCBrowser")?"UC Browser":Ce(e,"CriOS")?h_:Ce(e,"CrMo")?Go:Ce(e,Bn)&&Ce(e,Ga)?b_:Ce(e,Go)?Go:Ce(e,"FxiOS")?v_:Ce(e.toLowerCase(),Yd.toLowerCase())?Yd:WR(e,t)?Ce(e,rn)?y_:Ga:Ce(e,Qr)?Qr:Ce(e,"MSIE")||Ce(e,"Trident/")?hf:Ce(e,"Gecko")?Qr:""},UR=(C(pt={},m_,[new RegExp("rv:"+Tt)]),C(pt,g_,[new RegExp(gf+"?\\/"+Tt)]),C(pt,Go,[new RegExp("("+Go+"|CrMo)\\/"+Tt)]),C(pt,h_,[new RegExp("CriOS\\/"+Tt)]),C(pt,"UC Browser",[new RegExp("(UCBrowser|UCWEB)\\/"+Tt)]),C(pt,Ga,[hu]),C(pt,y_,[hu]),C(pt,mf,[new RegExp("(Opera|OPR)\\/"+Tt)]),C(pt,Qr,[new RegExp(Qr+"\\/"+Tt)]),C(pt,v_,[new RegExp("FxiOS\\/"+Tt)]),C(pt,Yd,[new RegExp("Konqueror[:/]?"+Tt,"i")]),C(pt,ki,[new RegExp(ki+" "+Tt),hu]),C(pt,b_,[new RegExp("android\\s"+Tt,"i")]),C(pt,f_,[new RegExp(p_+"\\/"+Tt)]),C(pt,hf,[new RegExp("(rv:|MSIE )"+Tt)]),C(pt,"Mozilla",[new RegExp("rv:"+Tt)]),pt),hg=[[new RegExp(ei+"; "+ei+" (.*?)[);]","i"),function(e){return[ei,e&&e[1]||""]}],[new RegExp(qa,"i"),[qa,""]],[new RegExp(Ka,"i"),[Ka,""]],[vf,[ki,""]],[new RegExp(Zi,"i"),function(e,t){if(/Phone/.test(t)||/WPDesktop/.test(t))return[qd,""];if(new RegExp(rn).test(t)&&!/IEMobile\b/.test(t))return[Zi+" "+rn,""];var n=/Windows NT ([0-9.]+)/i.exec(t);if(n&&n[1]){var o=n[1],r=HR[o]||"";return/arm/i.test(t)&&(r="RT"),[Zi,r]}return[Zi,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,function(e){if(e&&e[3]){var t=[e[3],e[4],e[5]||"0"];return[Hl,t.join(".")]}return[Hl,""]}],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,function(e){var t="";return e&&e.length>=3&&(t=ie(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+Bn+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+Bn+")","i"),function(e){if(e&&e[2]){var t=[e[2],e[3],e[4]||"0"];return[Bn,t.join(".")]}return[Bn,""]}],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,function(e){var t=["Mac OS X",""];if(e&&e[1]){var n=[e[1],e[2],e[3]||"0"];t[1]=n.join(".")}return t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[$R,""]],[/Linux|debian/i,["Linux",""]]],mg=function(e){return jR.test(e)?qa:FR.test(e)?Ka:NR.test(e)?ei:new RegExp(Kd,"i").test(e)?Kd:new RegExp("("+qd+"|WPDesktop)","i").test(e)?qd:/iPad/.test(e)?l_:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?u_:vf.test(e)?ki:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(pg,"i").test(e)?pg:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?!new RegExp(rn).test(e)||/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)?/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?Bn:s_:Bn:new RegExp("(pda|"+rn+")","i").test(e)?zR:new RegExp(Va,"i").test(e)&&!new RegExp(Va+" pc","i").test(e)?w_:""},Fs="https?://(.*)",VR=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gclid","gad_source","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","mc_cid","igshid","ttclid","rdt_cid"],ut={campaignParams:function(e){return te?this._campaignParamsFromUrl(te.URL,e):{}},_campaignParamsFromUrl:function(e,t){var n=VR.concat(t||[]),o={};return ze(n,function(r){var i=dg(e,r);i&&(o[r]=i)}),o},_searchEngine:function(e){return e?e.search(Fs+"google.([^/?]*)")===0?"google":e.search(Fs+"bing.com")===0?"bing":e.search(Fs+"yahoo.com")===0?"yahoo":e.search(Fs+"duckduckgo.com")===0?"duckduckgo":null:null},_searchInfoFromReferrer:function(e){var t=ut._searchEngine(e),n=t!="yahoo"?"q":"p",o={};if(!_o(t)){o.$search_engine=t;var r=te?dg(te.referrer,n):"";r.length&&(o.ph_keyword=r)}return o},searchInfo:function(){var e=te==null?void 0:te.referrer;return e?this._searchInfoFromReferrer(e):{}},browser:fg,browserVersion:function(e,t){var n=fg(e,t),o=UR[n];if(ie(o))return null;for(var r=0;r<o.length;r++){var i=o[r],a=e.match(i);if(a)return parseFloat(a[a.length-2])}return null},browserLanguage:function(){return navigator.language||navigator.userLanguage},os:function(e){for(var t=0;t<hg.length;t++){var n=Mt(hg[t],2),o=n[0],r=n[1],i=o.exec(e),a=i&&(tn(r)?r(i,e):r);if(a)return a}return["",""]},device:mg,deviceType:function(e){var t=mg(e);return t===l_||t===s_||t==="Kobo"||t==="Kindle Fire"||t===w_?Va:t===qa||t===ei||t===Ka||t===Kd?"Console":t===u_?"Wearable":t?rn:"Desktop"},referrer:function(){return(te==null?void 0:te.referrer)||"$direct"},referringDomain:function(){var e;return te!=null&&te.referrer&&((e=ma(te.referrer))===null||e===void 0?void 0:e.host)||"$direct"},referrerInfo:function(){return{$referrer:this.referrer(),$referring_domain:this.referringDomain()}},initialPersonInfo:function(){return{r:this.referrer(),u:Bt==null?void 0:Bt.href}},initialPersonPropsFromInfo:function(e){var t,n=e.r,o=e.u,r={$initial_referrer:n,$initial_referring_domain:n==null?void 0:n=="$direct"?"$direct":(t=ma(n))===null||t===void 0?void 0:t.host};if(o){r.$initial_current_url=o;var i=ma(o);r.$initial_host=i==null?void 0:i.host,r.$initial_pathname=i==null?void 0:i.pathname,ze(this._campaignParamsFromUrl(o),function(a,s){r["$initial_"+Dd(s)]=a})}return n&&ze(this._searchInfoFromReferrer(n),function(a,s){r["$initial_"+Dd(s)]=a}),r},properties:function(){if(!ct)return{};var e=Mt(ut.os(ct),2),t=e[0],n=e[1];return At($d({$os:t,$os_version:n,$browser:ut.browser(ct,navigator.vendor),$device:ut.device(ct),$device_type:ut.deviceType(ct)}),{$current_url:Bt==null?void 0:Bt.href,$host:Bt==null?void 0:Bt.host,$pathname:Bt==null?void 0:Bt.pathname,$raw_user_agent:ct.length>1e3?ct.substring(0,997)+"...":ct,$browser_version:ut.browserVersion(ct,navigator.vendor),$browser_language:ut.browserLanguage(),$screen_height:E==null?void 0:E.screen.height,$screen_width:E==null?void 0:E.screen.width,$viewport_height:E==null?void 0:E.innerHeight,$viewport_width:E==null?void 0:E.innerWidth,$lib:"web",$lib_version:Qt.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:o_()/1e3})},people_properties:function(){if(!ct)return{};var e=Mt(ut.os(ct),2),t=e[0],n=e[1];return At($d({$os:t,$os_version:n,$browser:ut.browser(ct,navigator.vendor)}),{$browser_version:ut.browserVersion(ct,navigator.vendor)})}},GR=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"],mu=function(){function e(t){Pe(this,e),this.config=t,this.props={},this.campaign_params_saved=!1,this.name=function(n){var o="";return n.token&&(o=n.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),n.persistence_name?"ph_"+n.persistence_name:"ph_"+o+"_posthog"}(t),this.storage=this.buildStorage(t),this.load(),t.debug&&D.info("Persistence loaded",t.persistence,X({},this.props)),this.update_config(t,t),this.save()}return Oe(e,[{key:"buildStorage",value:function(t){GR.indexOf(t.persistence.toLowerCase())===-1&&(D.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var n=t.persistence.toLowerCase();return n==="localstorage"&&et.is_supported()?et:n==="localstorage+cookie"&&zs.is_supported()?zs:n==="sessionstorage"&&ht.is_supported()?ht:n==="memory"?IR:n==="cookie"?fo:zs.is_supported()?zs:fo}},{key:"properties",value:function(){var t={};return ze(this.props,function(n,o){if(o===qr&&rt(n))for(var r=Object.keys(n),i=0;i<r.length;i++)t["$feature/".concat(r[i])]=n[r[i]];else s=o,l=!1,(_o(a=kR)?l:Gm&&a.indexOf===Gm?a.indexOf(s)!=-1:(ze(a,function(c){if(l||(l=c===s))return $l}),l))||(t[o]=n);var a,s,l}),t}},{key:"load",value:function(){if(!this.disabled){var t=this.storage.parse(this.name);t&&(this.props=At({},t))}}},{key:"save",value:function(){this.disabled||this.storage.set(this.name,this.props,this.expire_days,this.cross_subdomain,this.secure,this.config.debug)}},{key:"remove",value:function(){this.storage.remove(this.name,!1),this.storage.remove(this.name,!0)}},{key:"clear",value:function(){this.remove(),this.props={}}},{key:"register_once",value:function(t,n,o){var r=this;if(rt(t)){ie(n)&&(n="None"),this.expire_days=ie(o)?this.default_expiry:o;var i=!1;if(ze(t,function(a,s){r.props.hasOwnProperty(s)&&r.props[s]!==n||(r.props[s]=a,i=!0)}),i)return this.save(),!0}return!1}},{key:"register",value:function(t,n){var o=this;if(rt(t)){this.expire_days=ie(n)?this.default_expiry:n;var r=!1;if(ze(t,function(i,a){t.hasOwnProperty(a)&&o.props[a]!==i&&(o.props[a]=i,r=!0)}),r)return this.save(),!0}return!1}},{key:"unregister",value:function(t){t in this.props&&(delete this.props[t],this.save())}},{key:"update_campaign_params",value:function(){this.campaign_params_saved||(this.register(ut.campaignParams(this.config.custom_campaign_params)),this.campaign_params_saved=!0)}},{key:"update_search_keyword",value:function(){this.register(ut.searchInfo())}},{key:"update_referrer_info",value:function(){this.register_once(ut.referrerInfo(),void 0)}},{key:"set_initial_person_info",value:function(){this.props[Ud]||this.props[Vd]||this.register_once(C({},ag,ut.initialPersonInfo()),void 0)}},{key:"get_referrer_info",value:function(){return $d({$referrer:this.props.$referrer,$referring_domain:this.props.$referring_domain})}},{key:"get_initial_props",value:function(){var t=this,n={};ze([Vd,Ud],function(i){var a=t.props[i];a&&ze(a,function(s,l){n["$initial_"+Dd(l)]=s})});var o=this.props[ag];if(o){var r=ut.initialPersonPropsFromInfo(o);At(n,r)}return n}},{key:"safe_merge",value:function(t){return ze(this.props,function(n,o){o in t||(t[o]=n)}),t}},{key:"update_config",value:function(t,n){if(this.default_expiry=this.expire_days=t.cookie_expiration,this.set_disabled(t.disable_persistence),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==n.persistence){var o=this.buildStorage(t),r=this.props;this.clear(),this.storage=o,this.props=r,this.save()}}},{key:"set_disabled",value:function(t){this.disabled=t,this.disabled?this.remove():this.save()}},{key:"set_cross_subdomain",value:function(t){t!==this.cross_subdomain&&(this.cross_subdomain=t,this.remove(),this.save())}},{key:"get_cross_subdomain",value:function(){return!!this.cross_subdomain}},{key:"set_secure",value:function(t){t!==this.secure&&(this.secure=t,this.remove(),this.save())}},{key:"set_event_timer",value:function(t,n){var o=this.props[Xi]||{};o[t]=n,this.props[Xi]=o,this.save()}},{key:"remove_event_timer",value:function(t){var n=(this.props[Xi]||{})[t];return ie(n)||(delete this.props[Xi][t],this.save()),n}},{key:"get_property",value:function(t){return this.props[t]}},{key:"set_property",value:function(t,n){this.props[t]=n,this.save()}}]),e}();function Xd(e){return JSON.stringify(e,(t=[],function(n,o){if(rt(o)){for(;t.length>0&&t.at(-1)!==this;)t.pop();return t.includes(o)?"[Circular]":(t.push(o),o)}return o})).length;var t}var qR=2,KR=4;function Zd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:66060288e-1;if(e.size>=t&&e.data.length>1){var n=Math.floor(e.data.length/2),o=e.data.slice(0,n),r=e.data.slice(n);return[Zd({size:Xd(o),data:o,sessionId:e.sessionId,windowId:e.windowId}),Zd({size:Xd(r),data:r,sessionId:e.sessionId,windowId:e.windowId})].flatMap(function(i){return i})}return[e]}var fl=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}(fl||{}),to=function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e}(to||{});function bf(e){return e?xc(e).split(/\s+/):[]}function gg(e){var t=E==null?void 0:E.location.href;return!!(t&&e&&e.some(function(n){return t.match(n)}))}function Wl(e){var t="";switch(Ua(e.className)){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return bf(t)}function S_(e){return Ot(e)?null:xc(e).split(/(\s+)/).filter(function(t){return ti(t)}).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Ul(e){var t="";return Qd(e)&&!T_(e)&&e.childNodes&&e.childNodes.length&&ze(e.childNodes,function(n){var o;k_(n)&&n.textContent&&(t+=(o=S_(n.textContent))!==null&&o!==void 0?o:"")}),xc(t)}function yf(e){return!!e&&e.nodeType===1}function qo(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function k_(e){return!!e&&e.nodeType===3}function x_(e){return!!e&&e.nodeType===11}var Jd=["a","button","form","input","select","textarea","label"];function E_(e){var t=e.parentNode;return!(!t||!yf(t))&&t}function YR(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;if(!E||!e||qo(e,"html")||!yf(e)||n!=null&&n.url_allowlist&&!gg(n.url_allowlist)||n!=null&&n.url_ignorelist&&gg(n.url_ignorelist))return!1;if(n!=null&&n.dom_event_allowlist){var i=n.dom_event_allowlist;if(i&&!i.some(function(f){return t.type===f}))return!1}for(var a=!1,s=[e],l=!0,c=e;c.parentNode&&!qo(c,"body");)if(x_(c.parentNode))s.push(c.parentNode.host),c=c.parentNode.host;else{if(!(l=E_(c)))break;if(o||Jd.indexOf(l.tagName.toLowerCase())>-1)a=!0;else{var u=E.getComputedStyle(l);u&&u.getPropertyValue("cursor")==="pointer"&&(a=!0)}s.push(l),c=l}if(!function(f,h){var m=h==null?void 0:h.element_allowlist;if(ie(m))return!0;var y,b=sn(f);try{var _=function(){var w=y.value;if(m.some(function(S){return w.tagName.toLowerCase()===S}))return{v:!0}};for(b.s();!(y=b.n()).done;){var v=_();if(Ua(v)==="object")return v.v}}catch(w){b.e(w)}finally{b.f()}return!1}(s,n)||!function(f,h){var m=h==null?void 0:h.css_selector_allowlist;if(ie(m))return!0;var y,b=sn(f);try{var _=function(){var w=y.value;if(m.some(function(S){return w.matches(S)}))return{v:!0}};for(b.s();!(y=b.n()).done;){var v=_();if(Ua(v)==="object")return v.v}}catch(w){b.e(w)}finally{b.f()}return!1}(s,n))return!1;var d=E.getComputedStyle(e);if(d&&d.getPropertyValue("cursor")==="pointer"&&t.type==="click")return!0;var p=e.tagName.toLowerCase();switch(p){case"html":return!1;case"form":return(r||["submit"]).indexOf(t.type)>=0;case"input":case"select":case"textarea":return(r||["change","click"]).indexOf(t.type)>=0;default:return a?(r||["click"]).indexOf(t.type)>=0:(r||["click"]).indexOf(t.type)>=0&&(Jd.indexOf(p)>-1||e.getAttribute("contenteditable")==="true")}}function Qd(e){for(var t=e;t.parentNode&&!qo(t,"body");t=t.parentNode){var n=Wl(t);if(Ce(n,"ph-sensitive")||Ce(n,"ph-no-capture"))return!1}if(Ce(Wl(e),"ph-include"))return!0;var o=e.type||"";if(wt(o))switch(o.toLowerCase()){case"hidden":case"password":return!1}var r=e.name||e.id||"";return!(wt(r)&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(r.replace(/[^a-zA-Z0-9]/g,"")))}function T_(e){return!!(qo(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||qo(e,"select")||qo(e,"textarea")||e.getAttribute("contenteditable")==="true")}var C_="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",XR=new RegExp("^(?:".concat(C_,")$")),ZR=new RegExp(C_),M_="\\d{3}-?\\d{2}-?\\d{4}",JR=new RegExp("^(".concat(M_,")$")),QR=new RegExp("(".concat(M_,")"));function ti(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return!(Ot(e)||wt(e)&&(e=xc(e),(t?XR:ZR).test((e||"").replace(/[- ]/g,""))||(t?JR:QR).test(e)))}function vg(e){var t=Ul(e);return ti(t="".concat(t," ").concat(A_(e)).trim())?t:""}function A_(e){var t="";return e&&e.childNodes&&e.childNodes.length&&ze(e.childNodes,function(n){var o;if(n&&((o=n.tagName)===null||o===void 0?void 0:o.toLowerCase())==="span")try{var r=Ul(n);t="".concat(t," ").concat(r).trim(),n.childNodes&&n.childNodes.length&&(t="".concat(t," ").concat(A_(n)).trim())}catch(i){D.error(i)}}),t}function eI(e){return function(t){var n=t.map(function(o){var r,i,a="";if(o.tag_name&&(a+=o.tag_name),o.attr_class){o.attr_class.sort();var s,l=sn(o.attr_class);try{for(l.s();!(s=l.n()).done;){var c=s.value;a+=".".concat(c.replace(/"/g,""))}}catch(p){l.e(p)}finally{l.f()}}var u=X(X(X(X({},o.text?{text:o.text}:{}),{},{"nth-child":(r=o.nth_child)!==null&&r!==void 0?r:0,"nth-of-type":(i=o.nth_of_type)!==null&&i!==void 0?i:0},o.href?{href:o.href}:{}),o.attr_id?{attr_id:o.attr_id}:{}),o.attributes),d={};return pl(u).sort(function(p,f){var h=Mt(p,1)[0],m=Mt(f,1)[0];return h.localeCompare(m)}).forEach(function(p){var f=Mt(p,2),h=f[0],m=f[1];return d[bg(h.toString())]=bg(m.toString())}),a+=":",a+=pl(u).map(function(p){var f=Mt(p,2),h=f[0],m=f[1];return"".concat(h,'="').concat(m,'"')}).join("")});return n.join(";")}(function(t){return t.map(function(n){var o,r,i={text:(o=n.$el_text)===null||o===void 0?void 0:o.slice(0,400),tag_name:n.tag_name,href:(r=n.attr__href)===null||r===void 0?void 0:r.slice(0,2048),attr_class:tI(n),attr_id:n.attr__id,nth_child:n.nth_child,nth_of_type:n.nth_of_type,attributes:{}};return pl(n).filter(function(a){return Mt(a,1)[0].indexOf("attr__")===0}).forEach(function(a){var s=Mt(a,2),l=s[0],c=s[1];return i.attributes[l]=c}),i})}(e))}function bg(e){return e.replace(/"|\\"/g,'\\"')}function tI(e){var t=e.attr__class;return t?ot(t)?t:bf(t):void 0}var ep="[SessionRecording]",tp="redacted",js={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],maskRequestFn:function(e){return e},recordHeaders:!1,recordBody:!1,recordInitialRequests:!1,recordPerformance:!1,performanceEntryTypeToObserve:["first-input","navigation","paint","resource"],payloadSizeLimitBytes:1e6,payloadHostDenyList:[".lr-ingest.io",".ingest.sentry.io"]},nI=["authorization","x-forwarded-for","authorization","cookie","set-cookie","x-api-key","x-real-ip","remote-addr","forwarded","proxy-authorization","x-csrf-token","x-csrftoken","x-xsrf-token"],oI=["password","secret","passwd","api_key","apikey","auth","credentials","mysql_pwd","privatekey","private_key","token"],rI=["/s/","/e/","/i/"];function yg(e,t,n,o){if(Ot(e))return e;var r=(t==null?void 0:t["content-length"])||function(i){return new Blob([i]).size}(e);return wt(r)&&(r=parseInt(r)),r>n?ep+" ".concat(o," body too large to record (").concat(r," bytes)"):e}function _g(e,t){if(Ot(e))return e;var n=e;return ti(n,!1)||(n=ep+" "+t+" body "+tp),ze(oI,function(o){var r,i;(r=n)!==null&&r!==void 0&&r.length&&((i=n)===null||i===void 0?void 0:i.indexOf(o))!==-1&&(n=ep+" "+t+" body "+tp+" as might contain: "+o)}),n}var io,iI=function(e,t){var n,o,r,i={payloadSizeLimitBytes:js.payloadSizeLimitBytes,performanceEntryTypeToObserve:po(js.performanceEntryTypeToObserve),payloadHostDenyList:[].concat(po(t.payloadHostDenyList||[]),po(js.payloadHostDenyList))},a=e.session_recording.recordHeaders!==!1&&t.recordHeaders,s=e.session_recording.recordBody!==!1&&t.recordBody,l=e.capture_performance!==!1&&t.recordPerformance,c=(n=i,r=Math.min(1e6,(o=n.payloadSizeLimitBytes)!==null&&o!==void 0?o:1e6),function(p){return p!=null&&p.requestBody&&(p.requestBody=yg(p.requestBody,p.requestHeaders,r,"Request")),p!=null&&p.responseBody&&(p.responseBody=yg(p.responseBody,p.responseHeaders,r,"Response")),p}),u=function(p){return c(function(m){var y=ma(m.name);if(!(y&&y.pathname&&rI.some(function(b){return y.pathname.indexOf(b)===0})))return m}((h=(f=p).requestHeaders,Ot(h)||ze(Object.keys(h??{}),function(m){nI.includes(m.toLowerCase())&&(h[m]=tp)}),f)));var f,h},d=tn(e.session_recording.maskNetworkRequestFn);return d&&tn(e.session_recording.maskCapturedNetworkRequestFn)&&D.warn("Both `maskNetworkRequestFn` and `maskCapturedNetworkRequestFn` are defined. `maskNetworkRequestFn` will be ignored."),d&&(e.session_recording.maskCapturedNetworkRequestFn=function(p){var f=e.session_recording.maskNetworkRequestFn({url:p.name});return X(X({},p),{},{name:f==null?void 0:f.url})}),i.maskRequestFn=tn(e.session_recording.maskCapturedNetworkRequestFn)?function(p){var f,h,m,y=u(p);return y&&(f=(h=(m=e.session_recording).maskCapturedNetworkRequestFn)===null||h===void 0?void 0:h.call(m,y))!==null&&f!==void 0?f:void 0}:function(p){return function(f){if(!ie(f))return f.requestBody=_g(f.requestBody,"Request"),f.responseBody=_g(f.responseBody,"Response"),f}(u(p))},X(X(X({},js),i),{},{recordHeaders:a,recordBody:s,recordPerformance:l,recordInitialRequests:l})},aI=Oe(function e(t){var n,o,r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Pe(this,e),C(this,"bucketSize",100),C(this,"refillRate",10),C(this,"mutationBuckets",{}),C(this,"loggedTracker",{}),C(this,"refillBuckets",function(){Object.keys(r.mutationBuckets).forEach(function(a){r.mutationBuckets[a]=r.mutationBuckets[a]+r.refillRate,r.mutationBuckets[a]>=r.bucketSize&&delete r.mutationBuckets[a]})}),C(this,"getNodeOrRelevantParent",function(a){var s=r.rrweb.mirror.getNode(a);if((s==null?void 0:s.nodeName)!=="svg"&&s instanceof Element){var l=s.closest("svg");if(l)return[r.rrweb.mirror.getId(l),l]}return[a,s]}),C(this,"numberOfChanges",function(a){var s,l,c,u,d,p,f,h;return((s=(l=a.removes)===null||l===void 0?void 0:l.length)!==null&&s!==void 0?s:0)+((c=(u=a.attributes)===null||u===void 0?void 0:u.length)!==null&&c!==void 0?c:0)+((d=(p=a.texts)===null||p===void 0?void 0:p.length)!==null&&d!==void 0?d:0)+((f=(h=a.adds)===null||h===void 0?void 0:h.length)!==null&&f!==void 0?f:0)}),C(this,"throttleMutations",function(a){if(a.type!==3||a.data.source!==0)return a;var s=a.data,l=r.numberOfChanges(s);s.attributes&&(s.attributes=s.attributes.filter(function(u){var d,p,f,h=Mt(r.getNodeOrRelevantParent(u.id),2),m=h[0],y=h[1];return r.mutationBuckets[m]===0?!1:(r.mutationBuckets[m]=(d=r.mutationBuckets[m])!==null&&d!==void 0?d:r.bucketSize,r.mutationBuckets[m]=Math.max(r.mutationBuckets[m]-1,0),r.mutationBuckets[m]===0&&(r.loggedTracker[m]||(r.loggedTracker[m]=!0,(p=(f=r.options).onBlockedNode)===null||p===void 0||p.call(f,m,y))),u)}));var c=r.numberOfChanges(s);return c!==0||l===c?a:void 0}),this.rrweb=t,this.options=i,this.refillRate=(n=this.options.refillRate)!==null&&n!==void 0?n:this.refillRate,this.bucketSize=(o=this.options.bucketSize)!==null&&o!==void 0?o:this.bucketSize,setInterval(function(){r.refillBuckets()},1e3)}),sI=3e5,lI=[to.MouseMove,to.MouseInteraction,to.Scroll,to.ViewportResize,to.Input,to.TouchMove,to.MediaInteraction,to.Drag],wg=function(e){return{rrwebMethod:e,enqueuedAt:Date.now(),attempt:1}},Zt="[SessionRecording]",cI=function(){function e(t){var n=this;if(Pe(this,e),C(this,"queuedRRWebEvents",[]),C(this,"isIdle",!1),C(this,"_linkedFlagSeen",!1),C(this,"_lastActivityTimestamp",Date.now()),C(this,"_linkedFlag",null),C(this,"_removePageViewCaptureHook",void 0),C(this,"_forceAllowLocalhostNetworkCapture",!1),C(this,"_onBeforeUnload",function(){n._flushBuffer()}),C(this,"_onOffline",function(){n._tryAddCustomEvent("browser offline",{})}),C(this,"_onOnline",function(){n._tryAddCustomEvent("browser online",{})}),C(this,"_onVisibilityChange",function(){if(te!=null&&te.visibilityState){var a="window "+te.visibilityState;n._tryAddCustomEvent(a,{})}}),C(this,"_samplingSessionListener",null),this.instance=t,this._captureStarted=!1,this._endpoint="/s/",this.stopRrweb=void 0,this.receivedDecide=!1,!this.instance.sessionManager)throw D.error(Zt+" started without valid sessionManager"),new Error(Zt+" started without valid sessionManager. This is a bug.");var o=this.sessionManager.checkAndGetSessionAndWindowId(),r=o.sessionId,i=o.windowId;this.sessionId=r,this.windowId=i,this.buffer=this.clearBuffer(),this._setupSampling()}return Oe(e,[{key:"rrwebRecord",get:function(){var t;return Ne==null||(t=Ne.rrweb)===null||t===void 0?void 0:t.record}},{key:"started",get:function(){return this._captureStarted}},{key:"sessionManager",get:function(){if(!this.instance.sessionManager)throw new Error(Zt+" must be started with a valid sessionManager.");return this.instance.sessionManager}},{key:"fullSnapshotIntervalMillis",get:function(){var t;return((t=this.instance.config.session_recording)===null||t===void 0?void 0:t.full_snapshot_interval_millis)||sI}},{key:"isSampled",get:function(){var t=this.instance.get_property(ha);return mr(t)?t:null}},{key:"sessionDuration",get:function(){var t,n,o=(t=this.buffer)===null||t===void 0?void 0:t.data[((n=this.buffer)===null||n===void 0?void 0:n.data.length)-1],r=this.sessionManager.checkAndGetSessionAndWindowId(!0).sessionStartTimestamp;return o?o.timestamp-r:null}},{key:"isRecordingEnabled",get:function(){var t=!!this.instance.get_property(Nd),n=!this.instance.config.disable_session_recording;return E&&t&&n}},{key:"isConsoleLogCaptureEnabled",get:function(){var t=!!this.instance.get_property(tg),n=this.instance.config.enable_recording_console_log;return n??t}},{key:"canvasRecording",get:function(){var t=this.instance.get_property(og);return t&&t.fps&&t.quality?{enabled:t.enabled,fps:t.fps,quality:t.quality}:void 0}},{key:"networkPayloadCapture",get:function(){var t,n,o=this.instance.get_property(ng),r={recordHeaders:(t=this.instance.config.session_recording)===null||t===void 0?void 0:t.recordHeaders,recordBody:(n=this.instance.config.session_recording)===null||n===void 0?void 0:n.recordBody},i=(r==null?void 0:r.recordHeaders)||(o==null?void 0:o.recordHeaders),a=(r==null?void 0:r.recordBody)||(o==null?void 0:o.recordBody),s=rt(this.instance.config.capture_performance)?this.instance.config.capture_performance.network_timing:this.instance.config.capture_performance,l=!!(mr(s)?s:o!=null&&o.capturePerformance);return i||a||l?{recordHeaders:i,recordBody:a,recordPerformance:l}:void 0}},{key:"sampleRate",get:function(){var t=this.instance.get_property(rg);return en(t)?t:null}},{key:"minimumDuration",get:function(){var t=this.instance.get_property(ig);return en(t)?t:null}},{key:"status",get:function(){return this.receivedDecide?this.isRecordingEnabled?Ot(this._linkedFlag)||this._linkedFlagSeen?mr(this.isSampled)?this.isSampled?"sampled":"disabled":"active":"buffering":"disabled":"buffering"}},{key:"startIfEnabledOrStop",value:function(){var t=this;this.isRecordingEnabled?(this._startCapture(),E==null||E.addEventListener("beforeunload",this._onBeforeUnload),E==null||E.addEventListener("offline",this._onOffline),E==null||E.addEventListener("online",this._onOnline),E==null||E.addEventListener("visibilitychange",this._onVisibilityChange),Ot(this._removePageViewCaptureHook)&&(this._removePageViewCaptureHook=this.instance._addCaptureHook(function(n){try{if(n==="$pageview"){var o=E?t._maskUrl(E.location.href):"";if(!o)return;t._tryAddCustomEvent("$pageview",{href:o})}}catch(r){D.error("Could not add $pageview to rrweb session",r)}})),D.info(Zt+" started")):this.stopRecording()}},{key:"stopRecording",value:function(){var t;this._captureStarted&&this.stopRrweb&&(this.stopRrweb(),this.stopRrweb=void 0,this._captureStarted=!1,E==null||E.removeEventListener("beforeunload",this._onBeforeUnload),E==null||E.removeEventListener("offline",this._onOffline),E==null||E.removeEventListener("online",this._onOnline),E==null||E.removeEventListener("visibilitychange",this._onVisibilityChange),this.clearBuffer(),clearInterval(this._fullSnapshotTimer),(t=this._removePageViewCaptureHook)===null||t===void 0||t.call(this),this._removePageViewCaptureHook=void 0,D.info(Zt+" stopped"))}},{key:"makeSamplingDecision",value:function(t){var n,o=this.sessionId!==t,r=this.sampleRate;if(en(r)){var i,a=this.isSampled,s=o||!mr(a);s?i=Math.random()<r:i=a,!i&&s&&D.warn(Zt+" Sample rate (".concat(r,") has determined that this sessionId (").concat(t,") will not be sent to the server.")),this._tryAddCustomEvent("samplingDecisionMade",{sampleRate:r}),(n=this.instance.persistence)===null||n===void 0||n.register(C({},ha,i))}else{var l;(l=this.instance.persistence)===null||l===void 0||l.register(C({},ha,null))}}},{key:"afterDecideResponse",value:function(t){var n,o,r,i=this;if(this._persistDecideResponse(t),this._linkedFlag=((n=t.sessionRecording)===null||n===void 0?void 0:n.linkedFlag)||null,(o=t.sessionRecording)!==null&&o!==void 0&&o.endpoint&&(this._endpoint=(r=t.sessionRecording)===null||r===void 0?void 0:r.endpoint),this._setupSampling(),!Ot(this._linkedFlag)&&!this._linkedFlagSeen){var a=wt(this._linkedFlag)?this._linkedFlag:this._linkedFlag.flag,s=wt(this._linkedFlag)?null:this._linkedFlag.variant;this.instance.onFeatureFlags(function(l,c){var u=rt(c)&&a in c,d=s?c[a]===s:u;if(d){var p={linkedFlag:a,linkedVariant:s},f="linked flag matched";D.info(Zt+" "+f,p),i._tryAddCustomEvent(f,p)}i._linkedFlagSeen=d})}this.receivedDecide=!0,this.startIfEnabledOrStop()}},{key:"_setupSampling",value:function(){var t=this;en(this.sampleRate)&&_o(this._samplingSessionListener)&&(this._samplingSessionListener=this.sessionManager.onSessionId(function(n){t.makeSamplingDecision(n)}))}},{key:"_persistDecideResponse",value:function(t){if(this.instance.persistence){var n=this.instance.persistence,o=function(){var r,i,a,s,l,c,u,d,p=(r=t.sessionRecording)===null||r===void 0?void 0:r.sampleRate,f=Ot(p)?null:parseFloat(p),h=(i=t.sessionRecording)===null||i===void 0?void 0:i.minimumDurationMilliseconds;n.register((C(d={},Nd,!!t.sessionRecording),C(d,tg,(a=t.sessionRecording)===null||a===void 0?void 0:a.consoleLogRecordingEnabled),C(d,ng,X({capturePerformance:t.capturePerformance},(s=t.sessionRecording)===null||s===void 0?void 0:s.networkPayloadCapture)),C(d,og,{enabled:(l=t.sessionRecording)===null||l===void 0?void 0:l.recordCanvas,fps:(c=t.sessionRecording)===null||c===void 0?void 0:c.canvasFps,quality:(u=t.sessionRecording)===null||u===void 0?void 0:u.canvasQuality}),C(d,rg,f),C(d,ig,ie(h)?null:h),d))};o(),this.sessionManager.onSessionId(o)}}},{key:"log",value:function(t){var n,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"log";(n=this.instance.sessionRecording)===null||n===void 0||n.onRRwebEmit({type:6,data:{plugin:"rrweb/console@1",payload:{level:o,trace:[],payload:[JSON.stringify(t)]}},timestamp:o_()})}},{key:"_startCapture",value:function(){var t=this;ie(Object.assign)||this._captureStarted||this.instance.config.disable_session_recording||this.instance.consent.isOptedOut()||(this._captureStarted=!0,this.sessionManager.checkAndGetSessionAndWindowId(),this.rrwebRecord?this._onScriptLoaded():this.instance.requestRouter.loadScript("/static/recorder.js?v=".concat(Qt.LIB_VERSION),function(n){if(n)return D.error(Zt+" could not load recorder.js",n);t._onScriptLoaded()}))}},{key:"isInteractiveEvent",value:function(t){var n;return t.type===3&&lI.indexOf((n=t.data)===null||n===void 0?void 0:n.source)!==-1}},{key:"_updateWindowAndSessionIds",value:function(t){var n=this.isInteractiveEvent(t);n||this.isIdle||t.timestamp-this._lastActivityTimestamp>3e5&&(this.isIdle=!0,clearInterval(this._fullSnapshotTimer),this._flushBuffer());var o=!1;if(n&&(this._lastActivityTimestamp=t.timestamp,this.isIdle&&(this.isIdle=!1,this._tryAddCustomEvent("sessionNoLongerIdle",{reason:"user activity",type:t.type}),o=!0)),!this.isIdle){var r=this.sessionManager.checkAndGetSessionAndWindowId(!n,t.timestamp),i=r.windowId,a=r.sessionId,s=this.sessionId!==a,l=this.windowId!==i;this.windowId=i,this.sessionId=a,(o||[qR,KR].indexOf(t.type)===-1&&(l||s||ie(this._fullSnapshotTimer)))&&this._tryTakeFullSnapshot()}}},{key:"_tryRRWebMethod",value:function(t){try{return t.rrwebMethod(),!0}catch(n){return this.queuedRRWebEvents.length<10?this.queuedRRWebEvents.push({enqueuedAt:t.enqueuedAt||Date.now(),attempt:t.attempt++,rrwebMethod:t.rrwebMethod}):D.warn(Zt+" could not emit queued rrweb event.",n,t),!1}}},{key:"_tryAddCustomEvent",value:function(t,n){var o=this;return this._tryRRWebMethod(wg(function(){return o.rrwebRecord.addCustomEvent(t,n)}))}},{key:"_tryTakeFullSnapshot",value:function(){var t=this;return this._tryRRWebMethod(wg(function(){return t.rrwebRecord.takeFullSnapshot()}))}},{key:"_onScriptLoaded",value:function(){for(var t,n=this,o={blockClass:"ph-no-capture",blockSelector:void 0,ignoreClass:"ph-ignore-input",maskTextClass:"ph-mask",maskTextSelector:void 0,maskTextFn:void 0,maskAllInputs:!0,maskInputOptions:{password:!0},maskInputFn:void 0,slimDOMOptions:{},collectFonts:!1,inlineStylesheet:!0,recordCrossOriginIframes:!1},r=this.instance.config.session_recording,i=0,a=Object.entries(r||{});i<a.length;i++){var s=Mt(a[i],2),l=s[0],c=s[1];l in o&&(l==="maskInputOptions"?o.maskInputOptions=X({password:!0},c):o[l]=c)}if(this.canvasRecording&&this.canvasRecording.enabled&&(o.recordCanvas=!0,o.sampling={canvas:this.canvasRecording.fps},o.dataURLOptions={type:"image/webp",quality:this.canvasRecording.quality}),this.rrwebRecord){this.mutationRateLimiter=(t=this.mutationRateLimiter)!==null&&t!==void 0?t:new aI(this.rrwebRecord,{onBlockedNode:function(d,p){var f="Too many mutations on node '".concat(d,"'. Rate limiting. This could be due to SVG animations or something similar");D.info(f,{node:p}),n.log(Zt+" "+f,"warn")}});var u=this._gatherRRWebPlugins();this.stopRrweb=this.rrwebRecord(X({emit:function(d){n.onRRwebEmit(d)},plugins:u},o)),this._lastActivityTimestamp=Date.now(),this.isIdle=!1,this._tryAddCustomEvent("$session_options",{sessionRecordingOptions:o,activePlugins:u.map(function(d){return d==null?void 0:d.name})}),this._tryAddCustomEvent("$posthog_config",{config:this.instance.config})}else D.error(Zt+"onScriptLoaded was called but rrwebRecord is not available. This indicates something has gone wrong.")}},{key:"_scheduleFullSnapshot",value:function(){var t=this;if(this._fullSnapshotTimer&&clearInterval(this._fullSnapshotTimer),!this.isIdle){var n=this.fullSnapshotIntervalMillis;n&&(this._fullSnapshotTimer=setInterval(function(){t._tryTakeFullSnapshot()},n))}}},{key:"_gatherRRWebPlugins",value:function(){var t=[];return Ne.rrwebConsoleRecord&&this.isConsoleLogCaptureEnabled&&t.push(Ne.rrwebConsoleRecord.getRecordConsolePlugin()),this.networkPayloadCapture&&tn(Ne.getRecordNetworkPlugin)&&(!LR.includes(location.hostname)||this._forceAllowLocalhostNetworkCapture?t.push(Ne.getRecordNetworkPlugin(iI(this.instance.config,this.networkPayloadCapture))):D.info(Zt+" NetworkCapture not started because we are on localhost.")),t}},{key:"onRRwebEmit",value:function(t){if(this._processQueuedEvents(),t&&rt(t)){if(t.type===fl.Meta){var n=this._maskUrl(t.data.href);if(this._lastHref=n,!n)return;t.data.href=n}else this._pageViewFallBack();t.type===fl.FullSnapshot&&this._scheduleFullSnapshot();var o=this.mutationRateLimiter?this.mutationRateLimiter.throttleMutations(t):t;if(o){var r=function(s){var l=s;if(l&&rt(l)&&l.type===6&&rt(l.data)&&l.data.plugin==="rrweb/console@1"){l.data.payload.payload.length>10&&(l.data.payload.payload=l.data.payload.payload.slice(0,10),l.data.payload.payload.push("...[truncated]"));for(var c=[],u=0;u<l.data.payload.payload.length;u++)l.data.payload.payload[u]&&l.data.payload.payload[u].length>2e3?c.push(l.data.payload.payload[u].slice(0,2e3)+"...[truncated]"):c.push(l.data.payload.payload[u]);return l.data.payload.payload=c,s}return s}(o),i=Xd(r);if(this._updateWindowAndSessionIds(r),!this.isIdle||r.type===fl.Custom){var a={$snapshot_bytes:i,$snapshot_data:r,$session_id:this.sessionId,$window_id:this.windowId};this.status!=="disabled"?this._captureSnapshotBuffered(a):this.clearBuffer()}}}}},{key:"_pageViewFallBack",value:function(){if(!this.instance.config.capture_pageview&&E){var t=this._maskUrl(E.location.href);this._lastHref!==t&&(this._tryAddCustomEvent("$url_changed",{href:t}),this._lastHref=t)}}},{key:"_processQueuedEvents",value:function(){var t=this;if(this.queuedRRWebEvents.length){var n=po(this.queuedRRWebEvents);this.queuedRRWebEvents=[],n.forEach(function(o){Date.now()-o.enqueuedAt<=2e3&&t._tryRRWebMethod(o)})}}},{key:"_maskUrl",value:function(t){var n=this.instance.config.session_recording;if(n.maskNetworkRequestFn){var o,r={url:t};return(o=r=n.maskNetworkRequestFn(r))===null||o===void 0?void 0:o.url}return t}},{key:"clearBuffer",value:function(){return this.buffer={size:0,data:[],sessionId:this.sessionId,windowId:this.windowId},this.buffer}},{key:"_flushBuffer",value:function(){var t=this;this.flushBufferTimer&&(clearTimeout(this.flushBufferTimer),this.flushBufferTimer=void 0);var n=this.minimumDuration,o=this.sessionDuration,r=en(o)&&o>=0,i=en(n)&&r&&o<n;return this.status==="buffering"||i?(this.flushBufferTimer=setTimeout(function(){t._flushBuffer()},2e3),this.buffer):(this.buffer.data.length>0&&Zd(this.buffer).forEach(function(a){t._captureSnapshot({$snapshot_bytes:a.size,$snapshot_data:a.data,$session_id:a.sessionId,$window_id:a.windowId})}),this.clearBuffer())}},{key:"_captureSnapshotBuffered",value:function(t){var n,o=this,r=2+(((n=this.buffer)===null||n===void 0?void 0:n.data.length)||0);!this.isIdle&&(this.buffer.size+t.$snapshot_bytes+r>943718.4||this.buffer.sessionId!==this.sessionId)&&(this.buffer=this._flushBuffer()),this.buffer.size+=t.$snapshot_bytes,this.buffer.data.push(t.$snapshot_data),this.flushBufferTimer||this.isIdle||(this.flushBufferTimer=setTimeout(function(){o._flushBuffer()},2e3))}},{key:"_captureSnapshot",value:function(t){this.instance.capture("$snapshot",t,{_url:this.instance.requestRouter.endpointFor("api",this._endpoint),_noTruncate:!0,_batchKey:"recordings",skip_client_rate_limiting:!0})}},{key:"overrideLinkedFlag",value:function(){this._linkedFlagSeen=!0}}]),e}(),uI=function(){function e(t){Pe(this,e),this.instance=t,this.instance.decideEndpointWasHit=this.instance._hasBootstrappedFeatureFlags()}return Oe(e,[{key:"call",value:function(){var t=this,n={token:this.instance.config.token,distinct_id:this.instance.get_distinct_id(),groups:this.instance.getGroups(),person_properties:this.instance.get_property(Kr),group_properties:this.instance.get_property(Oo),disable_flags:this.instance.config.advanced_disable_feature_flags||this.instance.config.advanced_disable_feature_flags_on_first_load||void 0};this.instance._send_request({method:"POST",url:this.instance.requestRouter.endpointFor("api","/decide/?v=3"),data:n,compression:this.instance.config.disable_compression?void 0:mn.Base64,timeout:this.instance.config.feature_flag_request_timeout_ms,callback:function(o){return t.parseDecideResponse(o.json)}})}},{key:"parseDecideResponse",value:function(t){var n=this;this.instance.featureFlags.setReloadingPaused(!1),this.instance.featureFlags._startReloadTimer();var o=!t;if(this.instance.config.advanced_disable_feature_flags_on_first_load||this.instance.config.advanced_disable_feature_flags||this.instance.featureFlags.receivedFeatureFlags(t??{},o),o)D.error("Failed to fetch feature flags from PostHog.");else{if(!te||!te.body)return D.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(function(){n.parseDecideResponse(t)},500);if(this.instance._afterDecideResponse(t),t.siteApps)if(this.instance.config.opt_in_site_apps){var r,i=sn(t.siteApps);try{var a=function(){var s=r.value,l=s.id,c=s.url,u=n.instance.requestRouter.endpointFor("api",c);Ne["__$$ph_site_app_".concat(l)]=n.instance,n.instance.requestRouter.loadScript(u,function(d){if(d)return D.error("Error while initializing PostHog app with config id ".concat(l),d)})};for(i.s();!(r=i.n()).done;)a()}catch(s){i.e(s)}finally{i.f()}}else t.siteApps.length>0&&D.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}}]),e}(),dI=E!=null&&E.location?jl(E.location.hash,"__posthog")||jl(location.hash,"state"):null,Sg="_postHogToolbarParams";(function(e){e[e.UNINITIALIZED=0]="UNINITIALIZED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED"})(io||(io={}));var pI=function(){function e(t){Pe(this,e),this.instance=t}return Oe(e,[{key:"setToolbarState",value:function(t){Ne.ph_toolbar_state=t}},{key:"getToolbarState",value:function(){var t;return(t=Ne.ph_toolbar_state)!==null&&t!==void 0?t:io.UNINITIALIZED}},{key:"maybeLoadToolbar",value:function(){var t,n,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(!E||!te)return!1;o=(t=o)!==null&&t!==void 0?t:E.location,i=(n=i)!==null&&n!==void 0?n:E.history;try{if(!r){try{E.localStorage.setItem("test","test"),E.localStorage.removeItem("test")}catch{return!1}r=E==null?void 0:E.localStorage}var a,s=dI||jl(o.hash,"__posthog")||jl(o.hash,"state"),l=s?Ym(function(){return JSON.parse(atob(decodeURIComponent(s)))})||Ym(function(){return JSON.parse(decodeURIComponent(s))}):null;return l&&l.action==="ph_authorize"?((a=l).source="url",a&&Object.keys(a).length>0&&(l.desiredHash?o.hash=l.desiredHash:i?i.replaceState(i.state,"",o.pathname+o.search):o.hash="")):((a=JSON.parse(r.getItem(Sg)||"{}")).source="localstorage",delete a.userIntent),!(!a.token||this.instance.config.token!==a.token)&&(this.loadToolbar(a),!0)}catch{return!1}}},{key:"_callLoadToolbar",value:function(t){(Ne.ph_load_toolbar||Ne.ph_load_editor)(t,this.instance)}},{key:"loadToolbar",value:function(t){var n=this,o=!(te==null||!te.getElementById(Gd));if(!E||o)return!1;var r=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,i=X(X({token:this.instance.config.token},t),{},{apiURL:this.instance.requestRouter.endpointFor("ui")},r?{instrument:!1}:{});if(E.localStorage.setItem(Sg,JSON.stringify(X(X({},i),{},{source:void 0}))),this.getToolbarState()===io.LOADED)this._callLoadToolbar(i);else if(this.getToolbarState()===io.UNINITIALIZED){this.setToolbarState(io.LOADING);var a=3e5,s=Math.floor(Date.now()/a)*a;this.instance.requestRouter.loadScript("/static/toolbar.js?t=".concat(s),function(l){if(l)return D.error("Failed to load toolbar",l),void n.setToolbarState(io.UNINITIALIZED);n.setToolbarState(io.LOADED),n._callLoadToolbar(i)}),lo(E,"turbolinks:load",function(){n.setToolbarState(io.UNINITIALIZED),n.loadToolbar(i)})}return!0}},{key:"_loadEditor",value:function(t){return this.loadToolbar(t)}},{key:"maybeLoadEditor",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return this.maybeLoadToolbar(t,n,o)}}]),e}(),fI=function(){function e(t){Pe(this,e),C(this,"isPaused",!0),C(this,"queue",[]),C(this,"flushTimeoutMs",3e3),this.sendRequest=t}return Oe(e,[{key:"enqueue",value:function(t){this.queue.push(t),this.flushTimeout||this.setFlushTimeout()}},{key:"unload",value:function(){var t=this;this.clearFlushTimeout();var n=this.queue.length>0?this.formatQueue():{},o=Object.values(n);[].concat(po(o.filter(function(r){return r.url.indexOf("/e")===0})),po(o.filter(function(r){return r.url.indexOf("/e")!==0}))).map(function(r){t.sendRequest(X(X({},r),{},{transport:"sendBeacon"}))})}},{key:"enable",value:function(){this.isPaused=!1,this.setFlushTimeout()}},{key:"setFlushTimeout",value:function(){var t=this;this.isPaused||(this.flushTimeout=setTimeout(function(){if(t.clearFlushTimeout(),t.queue.length>0){var n=t.formatQueue(),o=function(i){var a=n[i],s=new Date().getTime();a.data&&ot(a.data)&&ze(a.data,function(l){l.offset=Math.abs(l.timestamp-s),delete l.timestamp}),t.sendRequest(a)};for(var r in n)o(r)}},this.flushTimeoutMs))}},{key:"clearFlushTimeout",value:function(){clearTimeout(this.flushTimeout),this.flushTimeout=void 0}},{key:"formatQueue",value:function(){var t={};return ze(this.queue,function(n){var o,r=n,i=(r?r.batchKey:null)||r.url;ie(t[i])&&(t[i]=X(X({},r),{},{data:[]})),(o=t[i].data)===null||o===void 0||o.push(r.data)}),this.queue=[],t}}]),e}(),an=Uint8Array,Dt=Uint16Array,xi=Uint32Array,_f=new an([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),wf=new an([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),kg=new an([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),P_=function(e,t){for(var n=new Dt(31),o=0;o<31;++o)n[o]=t+=1<<e[o-1];var r=new xi(n[30]);for(o=1;o<30;++o)for(var i=n[o];i<n[o+1];++i)r[i]=i-n[o]<<5|o;return[n,r]},O_=P_(_f,2),hI=O_[0],np=O_[1];hI[28]=258,np[258]=28;for(var xg=P_(wf,0)[1],R_=new Dt(32768),Fe=0;Fe<32768;++Fe){var ur=(43690&Fe)>>>1|(21845&Fe)<<1;ur=(61680&(ur=(52428&ur)>>>2|(13107&ur)<<2))>>>4|(3855&ur)<<4,R_[Fe]=((65280&ur)>>>8|(255&ur)<<8)>>>1}var ga=function(e,t,n){for(var o=e.length,r=0,i=new Dt(t);r<o;++r)++i[e[r]-1];var a,s=new Dt(t);for(r=0;r<t;++r)s[r]=s[r-1]+i[r-1]<<1;for(a=new Dt(o),r=0;r<o;++r)a[r]=R_[s[e[r]-1]++]>>>15-e[r];return a},Ar=new an(288);for(Fe=0;Fe<144;++Fe)Ar[Fe]=8;for(Fe=144;Fe<256;++Fe)Ar[Fe]=9;for(Fe=256;Fe<280;++Fe)Ar[Fe]=7;for(Fe=280;Fe<288;++Fe)Ar[Fe]=8;var Vl=new an(32);for(Fe=0;Fe<32;++Fe)Vl[Fe]=5;var mI=ga(Ar,9),gI=ga(Vl,5),I_=function(e){return(e/8>>0)+(7&e&&1)},L_=function(e,t,n){(n==null||n>e.length)&&(n=e.length);var o=new(e instanceof Dt?Dt:e instanceof xi?xi:an)(n-t);return o.set(e.subarray(t,n)),o},Jn=function(e,t,n){n<<=7&t;var o=t/8>>0;e[o]|=n,e[o+1]|=n>>>8},Wi=function(e,t,n){n<<=7&t;var o=t/8>>0;e[o]|=n,e[o+1]|=n>>>8,e[o+2]|=n>>>16},gu=function(e,t){for(var n=[],o=0;o<e.length;++o)e[o]&&n.push({s:o,f:e[o]});var r=n.length,i=n.slice();if(!r)return[new an(0),0];if(r==1){var a=new an(n[0].s+1);return a[n[0].s]=1,[a,1]}n.sort(function(S,x){return S.f-x.f}),n.push({s:-1,f:25001});var s=n[0],l=n[1],c=0,u=1,d=2;for(n[0]={s:-1,f:s.f+l.f,l:s,r:l};u!=r-1;)s=n[n[c].f<n[d].f?c++:d++],l=n[c!=u&&n[c].f<n[d].f?c++:d++],n[u++]={s:-1,f:s.f+l.f,l:s,r:l};var p=i[0].s;for(o=1;o<r;++o)i[o].s>p&&(p=i[o].s);var f=new Dt(p+1),h=vI(n[u-1],f,0);if(h>t){o=0;var m=0,y=h-t,b=1<<y;for(i.sort(function(S,x){return f[x.s]-f[S.s]||S.f-x.f});o<r;++o){var _=i[o].s;if(!(f[_]>t))break;m+=b-(1<<h-f[_]),f[_]=t}for(m>>>=y;m>0;){var v=i[o].s;f[v]<t?m-=1<<t-f[v]++-1:++o}for(;o>=0&&m;--o){var w=i[o].s;f[w]==t&&(--f[w],++m)}h=t}return[new an(f),h]},vI=function e(t,n,o){return t.s==-1?Math.max(e(t.l,n,o+1),e(t.r,n,o+1)):n[t.s]=o},Eg=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Dt(++t),o=0,r=e[0],i=1,a=function(l){n[o++]=l},s=1;s<=t;++s)if(e[s]==r&&s!=t)++i;else{if(!r&&i>2){for(;i>138;i-=138)a(32754);i>2&&(a(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(a(r),--i;i>6;i-=6)a(8304);i>2&&(a(i-3<<5|8208),i=0)}for(;i--;)a(r);i=1,r=e[s]}return[n.subarray(0,o),t]},Ui=function(e,t){for(var n=0,o=0;o<t.length;++o)n+=e[o]*t[o];return n},op=function(e,t,n){var o=n.length,r=I_(t+2);e[r]=255&o,e[r+1]=o>>>8,e[r+2]=255^e[r],e[r+3]=255^e[r+1];for(var i=0;i<o;++i)e[r+i+4]=n[i];return 8*(r+4+o)},Tg=function(e,t,n,o,r,i,a,s,l,c,u){Jn(t,u++,n),++r[256];for(var d=gu(r,15),p=d[0],f=d[1],h=gu(i,15),m=h[0],y=h[1],b=Eg(p),_=b[0],v=b[1],w=Eg(m),S=w[0],x=w[1],k=new Dt(19),T=0;T<_.length;++T)k[31&_[T]]++;for(T=0;T<S.length;++T)k[31&S[T]]++;for(var R=gu(k,7),N=R[0],K=R[1],ne=19;ne>4&&!N[kg[ne-1]];--ne);var _e,U,z,A,V=c+5<<3,j=Ui(r,Ar)+Ui(i,Vl)+a,ee=Ui(r,p)+Ui(i,m)+a+14+3*ne+Ui(k,N)+(2*k[16]+3*k[17]+7*k[18]);if(V<=j&&V<=ee)return op(t,u,e.subarray(l,l+c));if(Jn(t,u,1+(ee<j)),u+=2,ee<j){_e=ga(p,f),U=p,z=ga(m,y),A=m;var re=ga(N,K);for(Jn(t,u,v-257),Jn(t,u+5,x-1),Jn(t,u+10,ne-4),u+=14,T=0;T<ne;++T)Jn(t,u+3*T,N[kg[T]]);u+=3*ne;for(var ke=[_,S],he=0;he<2;++he){var Ee=ke[he];for(T=0;T<Ee.length;++T){var Te=31&Ee[T];Jn(t,u,re[Te]),u+=N[Te],Te>15&&(Jn(t,u,Ee[T]>>>5&127),u+=Ee[T]>>>12)}}}else _e=mI,U=Ar,z=gI,A=Vl;for(T=0;T<s;++T)if(o[T]>255){Te=o[T]>>>18&31,Wi(t,u,_e[Te+257]),u+=U[Te+257],Te>7&&(Jn(t,u,o[T]>>>23&31),u+=_f[Te]);var Ve=31&o[T];Wi(t,u,z[Ve]),u+=A[Ve],Ve>3&&(Wi(t,u,o[T]>>>5&8191),u+=wf[Ve])}else Wi(t,u,_e[o[T]]),u+=U[o[T]];return Wi(t,u,_e[256]),u+U[256]},bI=new xi([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),yI=function(){for(var e=new xi(256),t=0;t<256;++t){for(var n=t,o=9;--o;)n=(1&n&&3988292384)^n>>>1;e[t]=n}return e}(),_I=function(e,t,n,o,r){return function(i,a,s,l,c,u){var d=i.length,p=new an(l+d+5*(1+Math.floor(d/7e3))+c),f=p.subarray(l,p.length-c),h=0;if(!a||d<8)for(var m=0;m<=d;m+=65535){var y=m+65535;y<d?h=op(f,h,i.subarray(m,y)):(f[m]=u,h=op(f,h,i.subarray(m,d)))}else{for(var b=bI[a-1],_=b>>>13,v=8191&b,w=(1<<s)-1,S=new Dt(32768),x=new Dt(w+1),k=Math.ceil(s/3),T=2*k,R=function(st){return(i[st]^i[st+1]<<k^i[st+2]<<T)&w},N=new xi(25e3),K=new Dt(288),ne=new Dt(32),_e=0,U=0,z=(m=0,0),A=0,V=0;m<d;++m){var j=R(m),ee=32767&m,re=x[j];if(S[ee]=re,x[j]=ee,A<=m){var ke=d-m;if((_e>7e3||z>24576)&&ke>423){h=Tg(i,f,0,N,K,ne,U,z,V,m-V,h),z=_e=U=0,V=m;for(var he=0;he<286;++he)K[he]=0;for(he=0;he<30;++he)ne[he]=0}var Ee=2,Te=0,Ve=v,Ge=ee-re&32767;if(ke>2&&j==R(m-Ge))for(var P=Math.min(_,ke)-1,Z=Math.min(32767,m),G=Math.min(258,ke);Ge<=Z&&--Ve&&ee!=re;){if(i[m+Ee]==i[m+Ee-Ge]){for(var q=0;q<G&&i[m+q]==i[m+q-Ge];++q);if(q>Ee){if(Ee=q,Te=Ge,q>P)break;var we=Math.min(Ge,q-2),Ie=0;for(he=0;he<we;++he){var de=m-Ge+he+32768&32767,me=de-S[de]+32768&32767;me>Ie&&(Ie=me,re=de)}}}Ge+=(ee=re)-(re=S[ee])+32768&32767}if(Te){N[z++]=268435456|np[Ee]<<18|xg[Te];var qe=31&np[Ee],ko=31&xg[Te];U+=_f[qe]+wf[ko],++K[257+qe],++ne[ko],A=m+Ee,++_e}else N[z++]=i[m],++K[i[m]]}}h=Tg(i,f,u,N,K,ne,U,z,V,m-V,h)}return L_(p,0,l+I_(h)+c)}(e,t.level==null?6:t.level,t.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,o,!r)},vu=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function wI(e,t){t===void 0&&(t={});var n=function(){var s=4294967295;return{p:function(l){for(var c=s,u=0;u<l.length;++u)c=yI[255&c^l[u]]^c>>>8;s=c},d:function(){return 4294967295^s}}}(),o=e.length;n.p(e);var r,i=_I(e,t,10+((r=t).filename&&r.filename.length+1||0),8),a=i.length;return function(s,l){var c=l.filename;if(s[0]=31,s[1]=139,s[2]=8,s[8]=l.level<2?4:l.level==9?2:0,s[9]=3,l.mtime!=0&&vu(s,4,Math.floor(new Date(l.mtime||Date.now())/1e3)),c){s[3]=8;for(var u=0;u<=c.length;++u)s[u+10]=c.charCodeAt(u)}}(i,t),vu(i,a-8,n.d()),vu(i,a-4,o),i}var SI=!!Bd||!!Ld,Cg="text/plain",Gl=function(e,t){var n=Mt(e.split("?"),2),o=n[0],r=n[1],i=X({},t);r==null||r.split("&").forEach(function(s){var l=Mt(s.split("="),1)[0];delete i[l]});var a=BR(i);return a=a?(r?r+"&":"")+a:r,"".concat(o,"?").concat(a)},kI=function(e){return"data="+encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},bu=function(e){var t=e.data,n=e.compression;if(t){if(n===mn.GZipJS){var o=wI(function(i,a){var s=i.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(i);for(var l=new an(i.length+(i.length>>>1)),c=0,u=function(h){l[c++]=h},d=0;d<s;++d){if(c+5>l.length){var p=new an(c+8+(s-d<<1));p.set(l),l=p}var f=i.charCodeAt(d);f<128||a?u(f):f<2048?(u(192|f>>>6),u(128|63&f)):f>55295&&f<57344?(u(240|(f=65536+(1047552&f)|1023&i.charCodeAt(++d))>>>18),u(128|f>>>12&63),u(128|f>>>6&63),u(128|63&f)):(u(224|f>>>12),u(128|f>>>6&63),u(128|63&f))}return L_(l,0,c)}(JSON.stringify(t)),{mtime:0});return{contentType:Cg,body:new Blob([o],{type:Cg})}}if(n===mn.Base64){var r=function(i){var a,s,l,c,u,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",p=0,f=0,h="",m=[];if(!i)return i;i=SR(i);do a=(u=i.charCodeAt(p++)<<16|i.charCodeAt(p++)<<8|i.charCodeAt(p++))>>18&63,s=u>>12&63,l=u>>6&63,c=63&u,m[f++]=d.charAt(a)+d.charAt(s)+d.charAt(l)+d.charAt(c);while(p<i.length);switch(h=m.join(""),i.length%3){case 1:h=h.slice(0,-2)+"==";break;case 2:h=h.slice(0,-1)+"="}return h}(JSON.stringify(t));return{contentType:"application/x-www-form-urlencoded",body:kI(r)}}return{contentType:"application/json",body:JSON.stringify(t)}}},va=[];Bd&&va.push({transport:"XHR",method:function(e){var t,n=new Bd;n.open(e.method||"GET",e.url,!0);var o=(t=bu(e))!==null&&t!==void 0?t:{},r=o.contentType,i=o.body;ze(e.headers,function(a,s){n.setRequestHeader(s,a)}),r&&n.setRequestHeader("Content-Type",r),e.timeout&&(n.timeout=e.timeout),n.withCredentials=!0,n.onreadystatechange=function(){if(n.readyState===4){var a,s={statusCode:n.status,text:n.responseText};if(n.status===200)try{s.json=JSON.parse(n.responseText)}catch{}(a=e.callback)===null||a===void 0||a.call(e,s)}},n.send(i)}}),Ld&&va.push({transport:"fetch",method:function(e){var t,n,o=(t=bu(e))!==null&&t!==void 0?t:{},r=o.contentType,i=o.body,a=new Headers;ze(e.headers,function(u,d){a.append(d,u)}),r&&a.append("Content-Type",r);var s=e.url,l=null;if(qm){var c=new qm;l={signal:c.signal,timeout:setTimeout(function(){return c.abort()},e.timeout)}}Ld(s,{method:(e==null?void 0:e.method)||"GET",headers:a,keepalive:e.method==="POST",body:i,signal:(n=l)===null||n===void 0?void 0:n.signal}).then(function(u){return u.text().then(function(d){var p,f={statusCode:u.status,text:d};if(u.status===200)try{f.json=JSON.parse(d)}catch(h){D.error(h)}(p=e.callback)===null||p===void 0||p.call(e,f)})}).catch(function(u){var d;D.error(u),(d=e.callback)===null||d===void 0||d.call(e,{statusCode:0,text:u})}).finally(function(){return l?clearTimeout(l.timeout):null})}}),yn!=null&&yn.sendBeacon&&va.push({transport:"sendBeacon",method:function(e){var t=Gl(e.url,{beacon:"1"});try{var n,o=(n=bu(e))!==null&&n!==void 0?n:{},r=o.contentType,i=o.body,a=typeof i=="string"?new Blob([i],{type:r}):i;yn.sendBeacon(t,a)}catch{}}});var xI=["retriesPerformedSoFar"],gr,EI=function(){function e(t){var n=this;Pe(this,e),C(this,"isPolling",!1),C(this,"pollIntervalMs",3e3),C(this,"queue",[]),this.instance=t,this.queue=[],this.areWeOnline=!0,!ie(E)&&"onLine"in E.navigator&&(this.areWeOnline=E.navigator.onLine,E.addEventListener("online",function(){n.areWeOnline=!0,n.flush()}),E.addEventListener("offline",function(){n.areWeOnline=!1}))}return Oe(e,[{key:"retriableRequest",value:function(t){var n=this,o=t.retriesPerformedSoFar,r=vR(t,xI);en(o)&&o>0&&(r.url=Gl(r.url,{retry_count:o})),this.instance._send_request(X(X({},r),{},{callback:function(i){var a;i.statusCode!==200&&(i.statusCode<400||i.statusCode>=500)&&(o??0)<10?n.enqueue(X({retriesPerformedSoFar:o},r)):(a=r.callback)===null||a===void 0||a.call(r,i)}}))}},{key:"enqueue",value:function(t){var n=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=n+1;var o=function(a){var s=3e3*Math.pow(2,a),l=s/2,c=Math.min(18e5,s),u=(Math.random()-.5)*(c-l);return Math.ceil(c+u)}(n),r=Date.now()+o;this.queue.push({retryAt:r,requestOptions:t});var i="Enqueued failed request for retry in ".concat(o);navigator.onLine||(i+=" (Browser is offline)"),D.warn(i),this.isPolling||(this.isPolling=!0,this.poll())}},{key:"poll",value:function(){var t=this;this.poller&&clearTimeout(this.poller),this.poller=setTimeout(function(){t.areWeOnline&&t.queue.length>0&&t.flush(),t.poll()},this.pollIntervalMs)}},{key:"flush",value:function(){var t=Date.now(),n=[],o=this.queue.filter(function(s){return s.retryAt<t||(n.push(s),!1)});if(this.queue=n,o.length>0){var r,i=sn(o);try{for(i.s();!(r=i.n()).done;){var a=r.value.requestOptions;this.retriableRequest(a)}}catch(s){i.e(s)}finally{i.f()}}}},{key:"unload",value:function(){this.poller&&(clearTimeout(this.poller),this.poller=void 0);var t,n=sn(this.queue);try{for(n.s();!(t=n.n()).done;){var o=t.value.requestOptions;try{this.instance._send_request(X(X({},o),{},{transport:"sendBeacon"}))}catch(r){D.error(r)}}}catch(r){n.e(r)}finally{n.f()}this.queue=[]}}]),e}(),Hs=1800,TI=function(){function e(t,n,o,r){var i;Pe(this,e),C(this,"_sessionIdChangedHandlers",[]),this.config=t,this.persistence=n,this._windowId=void 0,this._sessionId=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this._sessionIdGenerator=o||Ho,this._windowIdGenerator=r||Ho;var a=t.persistence_name||t.token,s=t.session_idle_timeout_seconds||Hs;if(en(s)?s>Hs?D.warn("session_idle_timeout_seconds cannot be  greater than 30 minutes. Using 30 minutes instead."):s<60&&D.warn("session_idle_timeout_seconds cannot be less than 60 seconds. Using 60 seconds instead."):(D.warn("session_idle_timeout_seconds must be a number. Defaulting to 30 minutes."),s=Hs),this._sessionTimeoutMs=1e3*Math.min(Math.max(s,60),Hs),this._window_id_storage_key="ph_"+a+"_window_id",this._primary_window_exists_storage_key="ph_"+a+"_primary_window_exists",this._canUseSessionStorage()){var l=ht.parse(this._window_id_storage_key),c=ht.parse(this._primary_window_exists_storage_key);l&&!c?this._windowId=l:ht.remove(this._window_id_storage_key),ht.set(this._primary_window_exists_storage_key,!0)}if((i=this.config.bootstrap)!==null&&i!==void 0&&i.sessionID)try{var u=function(d){var p=d.replace(/-/g,"");if(p.length!==32)throw new Error("Not a valid UUID");if(p[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(p.substring(0,12),16)}(this.config.bootstrap.sessionID);this._setSessionId(this.config.bootstrap.sessionID,new Date().getTime(),u)}catch(d){D.error("Invalid sessionID in bootstrap",d)}this._listenToReloadWindow()}return Oe(e,[{key:"onSessionId",value:function(t){var n=this;return ie(this._sessionIdChangedHandlers)&&(this._sessionIdChangedHandlers=[]),this._sessionIdChangedHandlers.push(t),this._sessionId&&t(this._sessionId,this._windowId),function(){n._sessionIdChangedHandlers=n._sessionIdChangedHandlers.filter(function(o){return o!==t})}}},{key:"_canUseSessionStorage",value:function(){return this.config.persistence!=="memory"&&!this.persistence.disabled&&ht.is_supported()}},{key:"_setWindowId",value:function(t){t!==this._windowId&&(this._windowId=t,this._canUseSessionStorage()&&ht.set(this._window_id_storage_key,t))}},{key:"_getWindowId",value:function(){return this._windowId?this._windowId:this._canUseSessionStorage()?ht.parse(this._window_id_storage_key):null}},{key:"_setSessionId",value:function(t,n,o){t===this._sessionId&&n===this._sessionActivityTimestamp&&o===this._sessionStartTimestamp||(this._sessionStartTimestamp=o,this._sessionActivityTimestamp=n,this._sessionId=t,this.persistence.register(C({},Dl,[n,t,o])))}},{key:"_getSessionId",value:function(){if(this._sessionId&&this._sessionActivityTimestamp&&this._sessionStartTimestamp)return[this._sessionActivityTimestamp,this._sessionId,this._sessionStartTimestamp];var t=this.persistence.props[Dl];return ot(t)&&t.length===2&&t.push(t[0]),t||[0,null,0]}},{key:"resetSessionId",value:function(){this._setSessionId(null,null,null)}},{key:"_listenToReloadWindow",value:function(){var t=this;E==null||E.addEventListener("beforeunload",function(){t._canUseSessionStorage()&&ht.remove(t._primary_window_exists_storage_key)})}},{key:"checkAndGetSessionAndWindowId",value:function(){var t=arguments.length>0&&arguments[0]!==void 0&&arguments[0],n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:null)||new Date().getTime(),o=Mt(this._getSessionId(),3),r=o[0],i=o[1],a=o[2],s=this._getWindowId(),l=a&&a>0&&Math.abs(n-a)>864e5,c=!1,u=!i,d=!t&&Math.abs(n-r)>this._sessionTimeoutMs;u||d||l?(i=this._sessionIdGenerator(),s=this._windowIdGenerator(),D.info("[SessionId] new session ID generated",{sessionId:i,windowId:s,changeReason:{noSessionId:u,activityTimeout:d,sessionPastMaximumLength:l}}),a=n,c=!0):s||(s=this._windowIdGenerator(),c=!0);var p=r===0||!t||l?n:r,f=a===0?new Date().getTime():a;return this._setWindowId(s),this._setSessionId(i,p,f),c&&this._sessionIdChangedHandlers.forEach(function(h){return h(i,s)}),{sessionId:i,windowId:s,sessionStartTimestamp:f}}}]),e}();(function(e){e.US="us",e.EU="eu",e.CUSTOM="custom"})(gr||(gr={}));var Mg="i.posthog.com",CI=function(){function e(t){Pe(this,e),C(this,"_regionCache",{}),this.instance=t}return Oe(e,[{key:"apiHost",get:function(){var t=this.instance.config.api_host.trim().replace(/\/$/,"");return t==="https://app.posthog.com"?"https://us.i.posthog.com":t}},{key:"uiHost",get:function(){var t,n=(t=this.instance.config.ui_host)===null||t===void 0?void 0:t.replace(/\/$/,"");return n||(n=this.apiHost.replace(".".concat(Mg),".posthog.com")),n==="https://app.posthog.com"?"https://us.posthog.com":n}},{key:"region",get:function(){return this._regionCache[this.apiHost]||(/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this._regionCache[this.apiHost]=gr.US:/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this._regionCache[this.apiHost]=gr.EU:this._regionCache[this.apiHost]=gr.CUSTOM),this._regionCache[this.apiHost]}},{key:"endpointFor",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(n&&(n=n[0]==="/"?n:"/".concat(n)),t==="ui")return this.uiHost+n;if(this.region===gr.CUSTOM)return this.apiHost+n;var o=Mg+n;switch(t){case"assets":return"https://".concat(this.region,"-assets.").concat(o);case"api":return"https://".concat(this.region,".").concat(o)}}},{key:"loadScript",value:function(t,n){if(this.instance.config.disable_external_dependency_loading)return D.warn("".concat(t," was requested but loading of external scripts is disabled.")),n("Loading of external scripts is disabled");var o=t[0]==="/"?this.endpointFor("assets",t):t,r=function(){if(!te)return n("document not found");var i=te.createElement("script");i.type="text/javascript",i.src=o,i.onload=function(l){return n(void 0,l)},i.onerror=function(l){return n(l)};var a,s=te.querySelectorAll("body > script");s.length>0?(a=s[0].parentNode)===null||a===void 0||a.insertBefore(i,s[0]):te.body.appendChild(i)};te!=null&&te.body?r():te==null||te.addEventListener("DOMContentLoaded",r)}}]),e}(),B_="posthog-js";function $_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.organization,o=t.projectId,r=t.prefix,i=t.severityAllowList,a=i===void 0?["error"]:i;return function(s){var l,c,u,d,p;if(!(a==="*"||a.includes(s.level))||!e.__loaded)return s;s.tags||(s.tags={});var f=e.requestRouter.endpointFor("ui","/project/".concat(e.config.token,"/person/").concat(e.get_distinct_id()));s.tags["PostHog Person URL"]=f,e.sessionRecordingStarted()&&(s.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var h=((l=s.exception)===null||l===void 0?void 0:l.values)||[],m={$exception_message:((c=h[0])===null||c===void 0?void 0:c.value)||s.message,$exception_type:(u=h[0])===null||u===void 0?void 0:u.type,$exception_personURL:f,$exception_level:s.level,$sentry_event_id:s.event_id,$sentry_exception:s.exception,$sentry_exception_message:((d=h[0])===null||d===void 0?void 0:d.value)||s.message,$sentry_exception_type:(p=h[0])===null||p===void 0?void 0:p.type,$sentry_tags:s.tags,$level:s.level};return n&&o&&(m.$sentry_url=(r||"https://sentry.io/organizations/")+n+"/issues/?project="+o+"&query="+s.event_id),e.exceptions.sendExceptionEvent(m),s}}var MI=Oe(function e(t,n,o,r,i){Pe(this,e),this.name=B_,this.setupOnce=function(a){a($_(t,{organization:n,projectId:o,prefix:r,severityAllowList:i}))}});function AI(e,t){var n=e.config.segment;if(!n)return t();(function(o,r){var i=o.config.segment;if(!i)return r();var a=function(l){var c=function(){return l.anonymousId()||Ho()};o.config.get_device_id=c,l.id()&&(o.register({distinct_id:l.id(),$device_id:c()}),o.persistence.set_property(ro,"identified")),r()},s=i.user();"then"in s&&tn(s.then)?s.then(function(l){return a(l)}):a(s)})(e,function(){n.register(function(o){Promise&&Promise.resolve||D.warn("This browser does not have Promise support, and can not use the segment integration");var r=function(i,a){var s;if(!a)return i;i.event.userId||i.event.anonymousId===o.get_distinct_id()||(D.info("Segment integration does not have a userId set, resetting PostHog"),o.reset()),i.event.userId&&i.event.userId!==o.get_distinct_id()&&(D.info("Segment integration has a userId set, identifying with PostHog"),o.identify(i.event.userId));var l=o._calculate_event_properties(a,(s=i.event.properties)!==null&&s!==void 0?s:{},new Date);return i.event.properties=Object.assign({},l,i.event.properties),i};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:function(i){return r(i,i.event.event)},page:function(i){return r(i,"$pageview")},identify:function(i){return r(i,"$identify")},screen:function(i){return r(i,"$screen")}}}(e)).then(function(){t()})})}var Ag,ql,un,PI=function(){function e(t){Pe(this,e),this._instance=t}return Oe(e,[{key:"doPageView",value:function(t){var n,o=this._previousPageViewProperties(t);return this._currentPath=(n=E==null?void 0:E.location.pathname)!==null&&n!==void 0?n:"",this._instance.scrollManager.resetContext(),this._prevPageviewTimestamp=t,o}},{key:"doPageLeave",value:function(t){return this._previousPageViewProperties(t)}},{key:"_previousPageViewProperties",value:function(t){var n=this._currentPath,o=this._prevPageviewTimestamp,r=this._instance.scrollManager.getContext();if(!o)return{};var i={};if(r){var a=r.maxScrollHeight,s=r.lastScrollY,l=r.maxScrollY,c=r.maxContentHeight,u=r.lastContentY,d=r.maxContentY;ie(a)||ie(s)||ie(l)||ie(c)||ie(u)||ie(d)||(a=Math.ceil(a),s=Math.ceil(s),l=Math.ceil(l),c=Math.ceil(c),u=Math.ceil(u),d=Math.ceil(d),i={$prev_pageview_last_scroll:s,$prev_pageview_last_scroll_percentage:a<=1?1:Ws(s/a,0,1),$prev_pageview_max_scroll:l,$prev_pageview_max_scroll_percentage:a<=1?1:Ws(l/a,0,1),$prev_pageview_last_content:u,$prev_pageview_last_content_percentage:c<=1?1:Ws(u/c,0,1),$prev_pageview_max_content:d,$prev_pageview_max_content_percentage:c<=1?1:Ws(d/c,0,1)})}return n&&(i.$prev_pageview_pathname=n),o&&(i.$prev_pageview_duration=(t.getTime()-o.getTime())/1e3),i}}]),e}();function Ws(e,t,n){return Math.max(t,Math.min(e,n))}(function(e){e.Popover="popover",e.API="api",e.Widget="widget"})(Ag||(Ag={})),function(e){e.Open="open",e.MultipleChoice="multiple_choice",e.SingleChoice="single_choice",e.Rating="rating",e.Link="link"}(ql||(ql={})),function(e){e.NextQuestion="next_question",e.End="end",e.ResponseBased="response_based",e.SpecificQuestion="specific_question"}(un||(un={}));var D_=function(){function e(){Pe(this,e),C(this,"events",{}),this.events={}}return Oe(e,[{key:"on",value:function(t,n){var o=this;return this.events[t]||(this.events[t]=[]),this.events[t].push(n),function(){o.events[t]=o.events[t].filter(function(r){return r!==n})}}},{key:"emit",value:function(t,n){var o,r=sn(this.events[t]||[]);try{for(r.s();!(o=r.n()).done;)(0,o.value)(n)}catch(s){r.e(s)}finally{r.f()}var i,a=sn(this.events["*"]||[]);try{for(a.s();!(i=a.n()).done;)(0,i.value)(t,n)}catch(s){a.e(s)}finally{a.f()}}}]),e}(),OI=function(){function e(t){var n=this;Pe(this,e),C(this,"_debugEventEmitter",new D_),C(this,"checkStep",function(o,r){return n.checkStepEvent(o,r)&&n.checkStepUrl(o,r)&&n.checkStepElement(o,r)}),C(this,"checkStepEvent",function(o,r){return r==null||!r.event||(o==null?void 0:o.event)===(r==null?void 0:r.event)}),this.instance=t,this.actionEvents=new Set,this.actionRegistry=new Set}return Oe(e,[{key:"init",value:function(){var t,n=this;if(!ie((t=this.instance)===null||t===void 0?void 0:t._addCaptureHook)){var o;(o=this.instance)===null||o===void 0||o._addCaptureHook(function(r,i){n.on(r,i)})}}},{key:"register",value:function(t){var n,o,r=this;if(!ie((n=this.instance)===null||n===void 0?void 0:n._addCaptureHook)&&(t.forEach(function(s){var l,c;(l=r.actionRegistry)===null||l===void 0||l.add(s),(c=s.steps)===null||c===void 0||c.forEach(function(u){var d;(d=r.actionEvents)===null||d===void 0||d.add((u==null?void 0:u.event)||"")})}),(o=this.instance)!==null&&o!==void 0&&o.autocapture)){var i,a=new Set;t.forEach(function(s){var l;(l=s.steps)===null||l===void 0||l.forEach(function(c){c!=null&&c.selector&&a.add(c==null?void 0:c.selector)})}),(i=this.instance)===null||i===void 0||i.autocapture.setElementSelectors(a)}}},{key:"on",value:function(t,n){var o,r=this;n!=null&&t.length!=0&&(this.actionEvents.has(t)||this.actionEvents.has(n==null?void 0:n.event))&&this.actionRegistry&&((o=this.actionRegistry)===null||o===void 0?void 0:o.size)>0&&this.actionRegistry.forEach(function(i){r.checkAction(n,i)&&r._debugEventEmitter.emit("actionCaptured",i.name)})}},{key:"_addActionHook",value:function(t){this.onAction("actionCaptured",function(n){return t(n)})}},{key:"checkAction",value:function(t,n){if((n==null?void 0:n.steps)==null)return!1;var o,r=sn(n.steps);try{for(r.s();!(o=r.n()).done;){var i=o.value;if(this.checkStep(t,i))return!0}}catch(a){r.e(a)}finally{r.f()}return!1}},{key:"onAction",value:function(t,n){return this._debugEventEmitter.on(t,n)}},{key:"checkStepUrl",value:function(t,n){if(n!=null&&n.url){var o,r=t==null||(o=t.properties)===null||o===void 0?void 0:o.$current_url;if(!r||typeof r!="string"||!e.matchString(r,n==null?void 0:n.url,(n==null?void 0:n.url_matching)||"contains"))return!1}return!0}},{key:"checkStepElement",value:function(t,n){if((n!=null&&n.href||n!=null&&n.tag_name||n!=null&&n.text)&&!this.getElementsList(t).some(function(i){return!(n!=null&&n.href&&!e.matchString(i.href||"",n==null?void 0:n.href,(n==null?void 0:n.href_matching)||"exact"))&&(n==null||!n.tag_name||i.tag_name===(n==null?void 0:n.tag_name))&&!(n!=null&&n.text&&!e.matchString(i.text||"",n==null?void 0:n.text,(n==null?void 0:n.text_matching)||"exact")&&!e.matchString(i.$el_text||"",n==null?void 0:n.text,(n==null?void 0:n.text_matching)||"exact"))}))return!1;if(n!=null&&n.selector){var o,r=t==null||(o=t.properties)===null||o===void 0?void 0:o.$element_selectors;if(!r||!r.includes(n==null?void 0:n.selector))return!1}return!0}},{key:"getElementsList",value:function(t){return(t==null?void 0:t.properties.$elements)==null?[]:t==null?void 0:t.properties.$elements}}],[{key:"matchString",value:function(t,n,o){switch(o){case"regex":return!!E&&Fl(t,n);case"exact":return n===t;case"contains":var r=e.escapeStringRegexp(n).replace(/_/g,".").replace(/%/g,".*");return Fl(t,r);default:return!1}}},{key:"escapeStringRegexp",value:function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}}]),e}(),rp=function(){function e(t){Pe(this,e),this.instance=t,this.eventToSurveys=new Map,this.actionToSurveys=new Map}return Oe(e,[{key:"register",value:function(t){var n;ie((n=this.instance)===null||n===void 0?void 0:n._addCaptureHook)||(this.setupEventBasedSurveys(t),this.setupActionBasedSurveys(t))}},{key:"setupActionBasedSurveys",value:function(t){var n=this,o=t.filter(function(r){var i,a,s,l;return((i=r.conditions)===null||i===void 0?void 0:i.actions)&&((a=r.conditions)===null||a===void 0||(s=a.actions)===null||s===void 0||(l=s.values)===null||l===void 0?void 0:l.length)>0});o.length!==0&&(this.actionMatcher==null&&(this.actionMatcher=new OI(this.instance),this.actionMatcher.init(),this.actionMatcher._addActionHook(function(r){n.onAction(r)})),o.forEach(function(r){var i,a,s,l,c,u,d,p,f,h;r.conditions&&(i=r.conditions)!==null&&i!==void 0&&i.actions&&(a=r.conditions)!==null&&a!==void 0&&(s=a.actions)!==null&&s!==void 0&&s.values&&((l=r.conditions)===null||l===void 0||(c=l.actions)===null||c===void 0||(u=c.values)===null||u===void 0?void 0:u.length)>0&&((d=n.actionMatcher)===null||d===void 0||d.register(r.conditions.actions.values),(p=r.conditions)===null||p===void 0||(f=p.actions)===null||f===void 0||(h=f.values)===null||h===void 0||h.forEach(function(m){if(m&&m.name){var y=n.actionToSurveys.get(m.name);y&&y.push(r.id),n.actionToSurveys.set(m.name,y||[r.id])}}))}))}},{key:"setupEventBasedSurveys",value:function(t){var n,o=this;t.filter(function(r){var i,a,s,l;return((i=r.conditions)===null||i===void 0?void 0:i.events)&&((a=r.conditions)===null||a===void 0||(s=a.events)===null||s===void 0||(l=s.values)===null||l===void 0?void 0:l.length)>0}).length!==0&&((n=this.instance)===null||n===void 0||n._addCaptureHook(function(r,i){o.onEvent(r,i)}),t.forEach(function(r){var i,a,s;(i=r.conditions)===null||i===void 0||(a=i.events)===null||a===void 0||(s=a.values)===null||s===void 0||s.forEach(function(l){if(l&&l.name){var c=o.eventToSurveys.get(l.name);c&&c.push(r.id),o.eventToSurveys.set(l.name,c||[r.id])}})}))}},{key:"onEvent",value:function(t,n){var o,r,i=((o=this.instance)===null||o===void 0||(r=o.persistence)===null||r===void 0?void 0:r.props[$s])||[];if(e.SURVEY_SHOWN_EVENT_NAME==t&&n&&i.length>0){var a,s=n==null||(a=n.properties)===null||a===void 0?void 0:a.$survey_id;if(s){var l=i.indexOf(s);l>=0&&(i.splice(l,1),this._updateActivatedSurveys(i))}}else this.eventToSurveys.has(t)&&this._updateActivatedSurveys(i.concat(this.eventToSurveys.get(t)||[]))}},{key:"onAction",value:function(t){var n,o,r=((n=this.instance)===null||n===void 0||(o=n.persistence)===null||o===void 0?void 0:o.props[$s])||[];this.actionToSurveys.has(t)&&this._updateActivatedSurveys(r.concat(this.actionToSurveys.get(t)||[]))}},{key:"_updateActivatedSurveys",value:function(t){var n,o;(n=this.instance)===null||n===void 0||(o=n.persistence)===null||o===void 0||o.register(C({},$s,po(new Set(t))))}},{key:"getSurveys",value:function(){var t,n,o=(t=this.instance)===null||t===void 0||(n=t.persistence)===null||n===void 0?void 0:n.props[$s];return o||[]}},{key:"getEventToSurveys",value:function(){return this.eventToSurveys}},{key:"_getActionMatcher",value:function(){return this.actionMatcher}}]),e}();C(rp,"SURVEY_SHOWN_EVENT_NAME","survey shown");var Vi="[Surveys]",RI={icontains:function(e){return!!E&&E.location.href.toLowerCase().indexOf(e.toLowerCase())>-1},not_icontains:function(e){return!!E&&E.location.href.toLowerCase().indexOf(e.toLowerCase())===-1},regex:function(e){return!!E&&Fl(E.location.href,e)},not_regex:function(e){return!!E&&!Fl(E.location.href,e)},exact:function(e){return(E==null?void 0:E.location.href)===e},is_not:function(e){return(E==null?void 0:E.location.href)!==e}},II=function(){function e(t){Pe(this,e),this.instance=t,this._surveyEventReceiver=null}return Oe(e,[{key:"afterDecideResponse",value:function(t){this._decideServerResponse=!!t.surveys,this.loadIfEnabled()}},{key:"loadIfEnabled",value:function(){var t=this,n=Ne==null?void 0:Ne.extendPostHogWithSurveys;this.instance.config.disable_surveys||!this._decideServerResponse||n||(this._surveyEventReceiver==null&&(this._surveyEventReceiver=new rp(this.instance)),this.instance.requestRouter.loadScript("/static/surveys.js",function(o){if(o)return D.error(Vi,"Could not load surveys script",o);t._surveyManager=Ne.extendPostHogWithSurveys(t.instance)}))}},{key:"getSurveys",value:function(t){var n=this,o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(this.instance.config.disable_surveys)return t([]);this._surveyEventReceiver==null&&(this._surveyEventReceiver=new rp(this.instance));var r=this.instance.get_property(jd);if(r&&!o)return t(r);this.instance._send_request({url:this.instance.requestRouter.endpointFor("api","/api/surveys/?token=".concat(this.instance.config.token)),method:"GET",transport:"XHR",callback:function(i){var a;if(i.statusCode!==200||!i.json)return t([]);var s,l=i.json.surveys||[],c=l.filter(function(u){var d,p,f,h,m,y,b,_,v,w,S,x;return((d=u.conditions)===null||d===void 0?void 0:d.events)&&((p=u.conditions)===null||p===void 0||(f=p.events)===null||f===void 0?void 0:f.values)&&((h=u.conditions)===null||h===void 0||(m=h.events)===null||m===void 0||(y=m.values)===null||y===void 0?void 0:y.length)>0||((b=u.conditions)===null||b===void 0?void 0:b.actions)&&((_=u.conditions)===null||_===void 0||(v=_.actions)===null||v===void 0?void 0:v.values)&&((w=u.conditions)===null||w===void 0||(S=w.actions)===null||S===void 0||(x=S.values)===null||x===void 0?void 0:x.length)>0});return c.length>0&&((s=n._surveyEventReceiver)===null||s===void 0||s.register(c)),(a=n.instance.persistence)===null||a===void 0||a.register(C({},jd,l)),t(l)}})}},{key:"getActiveMatchingSurveys",value:function(t){var n=this,o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.getSurveys(function(r){var i,a=r.filter(function(c){return!(!c.start_date||c.end_date)}).filter(function(c){var u,d,p,f;if(!c.conditions)return!0;var h=(u=c.conditions)===null||u===void 0||!u.url||RI[(d=(p=c.conditions)===null||p===void 0?void 0:p.urlMatchType)!==null&&d!==void 0?d:"icontains"](c.conditions.url),m=(f=c.conditions)===null||f===void 0||!f.selector||(te==null?void 0:te.querySelector(c.conditions.selector));return h&&m}),s=(i=n._surveyEventReceiver)===null||i===void 0?void 0:i.getSurveys(),l=a.filter(function(c){var u,d,p,f,h,m,y,b,_,v;if(!c.linked_flag_key&&!c.targeting_flag_key&&!c.internal_targeting_flag_key)return!0;var w=!c.linked_flag_key||n.instance.featureFlags.isFeatureEnabled(c.linked_flag_key),S=!c.targeting_flag_key||n.instance.featureFlags.isFeatureEnabled(c.targeting_flag_key),x=((u=c.conditions)===null||u===void 0?void 0:u.events)&&((d=c.conditions)===null||d===void 0||(p=d.events)===null||p===void 0?void 0:p.values)&&((f=c.conditions)===null||f===void 0||(h=f.events)===null||h===void 0?void 0:h.values.length)>0,k=((m=c.conditions)===null||m===void 0?void 0:m.actions)&&((y=c.conditions)===null||y===void 0||(b=y.actions)===null||b===void 0?void 0:b.values)&&((_=c.conditions)===null||_===void 0||(v=_.actions)===null||v===void 0?void 0:v.values.length)>0,T=!x&&!k||(s==null?void 0:s.includes(c.id)),R=n._canActivateRepeatedly(c),N=!(c.internal_targeting_flag_key&&!R)||n.instance.featureFlags.isFeatureEnabled(c.internal_targeting_flag_key);return w&&S&&N&&T});return t(l)},o)}},{key:"getNextSurveyStep",value:function(t,n,o){var r,i=t.questions[n],a=n+1;if((r=i.branching)===null||r===void 0||!r.type)return n===t.questions.length-1?un.End:a;if(i.branching.type===un.End)return un.End;if(i.branching.type===un.SpecificQuestion){if(Number.isInteger(i.branching.index))return i.branching.index}else if(i.branching.type===un.ResponseBased){if(i.type===ql.SingleChoice){var s,l,c=i.choices.indexOf("".concat(o));if((s=i.branching)!==null&&s!==void 0&&(l=s.responseValues)!==null&&l!==void 0&&l.hasOwnProperty(c)){var u=i.branching.responseValues[c];return Number.isInteger(u)?u:u===un.End?un.End:a}}else if(i.type===ql.Rating){var d,p;if(typeof o!="number"||!Number.isInteger(o))throw new Error("The response type must be an integer");var f=function(m,y){if(y===3){if(m<1||m>3)throw new Error("The response must be in range 1-3");return m===1?"negative":m===2?"neutral":"positive"}if(y===5){if(m<1||m>5)throw new Error("The response must be in range 1-5");return m<=2?"negative":m===3?"neutral":"positive"}if(y===10){if(m<0||m>10)throw new Error("The response must be in range 0-10");return m<=6?"detractors":m<=8?"passives":"promoters"}throw new Error("The scale must be one of: 3, 5, 10")}(o,i.scale);if((d=i.branching)!==null&&d!==void 0&&(p=d.responseValues)!==null&&p!==void 0&&p.hasOwnProperty(f)){var h=i.branching.responseValues[f];return Number.isInteger(h)?h:h===un.End?un.End:a}}return a}return D.warn(Vi,"Falling back to next question index due to unexpected branching type"),a}},{key:"_canActivateRepeatedly",value:function(t){var n;return Ot((n=Ne.__PosthogExtensions__)===null||n===void 0?void 0:n.canActivateRepeatedly)?(D.warn(Vi,"canActivateRepeatedly is not defined, must init before calling"),!1):Ne.__PosthogExtensions__.canActivateRepeatedly(t)}},{key:"canRenderSurvey",value:function(t){var n=this;Ot(this._surveyManager)?D.warn(Vi,"canActivateRepeatedly is not defined, must init before calling"):this.getSurveys(function(o){var r=o.filter(function(i){return i.id===t})[0];n._surveyManager.canRenderSurvey(r)})}},{key:"renderSurvey",value:function(t,n){var o=this;Ot(this._surveyManager)?D.warn(Vi,"canActivateRepeatedly is not defined, must init before calling"):this.getSurveys(function(r){var i=r.filter(function(a){return a.id===t})[0];o._surveyManager.renderSurvey(i,te==null?void 0:te.querySelector(n))})}}]),e}(),LI=function(){function e(t){var n,o,r=this;Pe(this,e),C(this,"serverLimits",{}),C(this,"lastEventRateLimited",!1),C(this,"checkForLimiting",function(i){var a=i.text;if(a&&a.length)try{(JSON.parse(a).quota_limited||[]).forEach(function(s){D.info("[RateLimiter] ".concat(s||"events"," is quota limited.")),r.serverLimits[s]=new Date().getTime()+6e4})}catch(s){return void D.warn('[RateLimiter] could not rate limit - continuing. Error: "'.concat(s==null?void 0:s.message,'"'),{text:a})}}),this.instance=t,this.captureEventsPerSecond=((n=t.config.rate_limiting)===null||n===void 0?void 0:n.events_per_second)||10,this.captureEventsBurstLimit=Math.max(((o=t.config.rate_limiting)===null||o===void 0?void 0:o.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond),this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}return Oe(e,[{key:"clientRateLimitContext",value:function(){var t,n,o,r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],i=new Date().getTime(),a=(t=(n=this.instance.persistence)===null||n===void 0?void 0:n.get_property(Wd))!==null&&t!==void 0?t:{tokens:this.captureEventsBurstLimit,last:i};a.tokens+=(i-a.last)/1e3*this.captureEventsPerSecond,a.last=i,a.tokens>this.captureEventsBurstLimit&&(a.tokens=this.captureEventsBurstLimit);var s=a.tokens<1;return s||r||(a.tokens=Math.max(0,a.tokens-1)),!s||this.lastEventRateLimited||r||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to ".concat(this.captureEventsPerSecond," events per second and ").concat(this.captureEventsBurstLimit," events burst limit.")},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=s,(o=this.instance.persistence)===null||o===void 0||o.set_property(Wd,a),{isRateLimited:s,remainingTokens:a.tokens}}},{key:"isServerRateLimited",value:function(t){var n=this.serverLimits[t||"events"]||!1;return n!==!1&&new Date().getTime()<n}}]),e}(),BI=function(){return X({initialPathName:(Bt==null?void 0:Bt.pathname)||"",referringDomain:ut.referringDomain()},ut.campaignParams())},$I=function(){function e(t,n,o){var r=this;Pe(this,e),C(this,"_onSessionIdCallback",function(i){var a=r._getStoredProps();if(!a||a.sessionId!==i){var s={sessionId:i,props:r._sessionSourceParamGenerator()};r._persistence.register(C({},Hd,s))}}),this._sessionIdManager=t,this._persistence=n,this._sessionSourceParamGenerator=o||BI,this._sessionIdManager.onSessionId(this._onSessionIdCallback)}return Oe(e,[{key:"_getStoredProps",value:function(){return this._persistence.props[Hd]}},{key:"getSessionProps",value:function(){var t,n=(t=this._getStoredProps())===null||t===void 0?void 0:t.props;return n?{$client_session_initial_referring_host:n.referringDomain,$client_session_initial_pathname:n.initialPathName,$client_session_initial_utm_source:n.utm_source,$client_session_initial_utm_campaign:n.utm_campaign,$client_session_initial_utm_medium:n.utm_medium,$client_session_initial_utm_content:n.utm_content,$client_session_initial_utm_term:n.utm_term}:{}}}]),e}(),DI=["ahrefsbot","ahrefssiteaudit","applebot","baiduspider","bingbot","bingpreview","bot.htm","bot.php","crawler","deepscan","duckduckbot","facebookexternal","facebookcatalog","gptbot","http://yandex.com/bots","hubspot","ia_archiver","linkedinbot","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","semrushbot","sitebulb","slurp","turnitin","twitterbot","vercelbot","yahoo! slurp","yandexbot","headlesschrome","cypress","Google-HotelAdsVerifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google","Bytespider;"],Pg=function(e,t){if(!e)return!1;var n=e.toLowerCase();return DI.concat(t||[]).some(function(o){var r=o.toLowerCase();return n.indexOf(r)!==-1})},z_=function(){function e(){Pe(this,e),this.clicks=[]}return Oe(e,[{key:"isRageClick",value:function(t,n,o){var r=this.clicks[this.clicks.length-1];if(r&&Math.abs(t-r.x)+Math.abs(n-r.y)<30&&o-r.timestamp<1e3){if(this.clicks.push({x:t,y:n,timestamp:o}),this.clicks.length===3)return!0}else this.clicks=[{x:t,y:n,timestamp:o}];return!1}}]),e}();function Og(e){var t;return e.id===Gd||!((t=e.closest)===null||t===void 0||!t.call(e,"#"+Gd))}var zI=function(){function e(t){var n,o=this;Pe(this,e),C(this,"rageclicks",new z_),C(this,"_enabledServerSide",!1),C(this,"_initialized",!1),C(this,"_flushInterval",null),this.instance=t,this._enabledServerSide=!((n=this.instance.persistence)===null||n===void 0||!n.props[zd]),E==null||E.addEventListener("beforeunload",function(){o.flush()})}return Oe(e,[{key:"flushIntervalMilliseconds",get:function(){var t=5e3;return rt(this.instance.config.capture_heatmaps)&&this.instance.config.capture_heatmaps.flush_interval_milliseconds&&(t=this.instance.config.capture_heatmaps.flush_interval_milliseconds),t}},{key:"isEnabled",get:function(){return ie(this.instance.config.capture_heatmaps)?ie(this.instance.config.enable_heatmaps)?this._enabledServerSide:this.instance.config.enable_heatmaps:this.instance.config.capture_heatmaps!==!1}},{key:"startIfEnabled",value:function(){if(this.isEnabled){if(this._initialized)return;D.info("[heatmaps] starting..."),this._setupListeners(),this._flushInterval=setInterval(this.flush.bind(this),this.flushIntervalMilliseconds)}else{var t;clearInterval((t=this._flushInterval)!==null&&t!==void 0?t:void 0),this.getAndClearBuffer()}}},{key:"afterDecideResponse",value:function(t){var n=!!t.heatmaps;this.instance.persistence&&this.instance.persistence.register(C({},zd,n)),this._enabledServerSide=n,this.startIfEnabled()}},{key:"getAndClearBuffer",value:function(){var t=this.buffer;return this.buffer=void 0,t}},{key:"_setupListeners",value:function(){var t=this;E&&te&&(lo(te,"click",function(n){return t._onClick(n||(E==null?void 0:E.event))},!1,!0),lo(te,"mousemove",function(n){return t._onMouseMove(n||(E==null?void 0:E.event))},!1,!0),this._initialized=!0)}},{key:"_getProperties",value:function(t,n){var o=this.instance.scrollManager.scrollY(),r=this.instance.scrollManager.scrollX(),i=this.instance.scrollManager.scrollElement(),a=function(s,l,c){for(var u=s;u&&!qo(u,"body");){if(u===c)return!1;if(Ce(l,E==null?void 0:E.getComputedStyle(u).position))return!0;u=E_(u)}return!1}(t.target,["fixed","sticky"],i);return{x:t.clientX+(a?0:r),y:t.clientY+(a?0:o),target_fixed:a,type:n}}},{key:"_onClick",value:function(t){var n;if(!Og(t.target)){var o=this._getProperties(t,"click");(n=this.rageclicks)!==null&&n!==void 0&&n.isRageClick(t.clientX,t.clientY,new Date().getTime())&&this._capture(X(X({},o),{},{type:"rageclick"})),this._capture(o)}}},{key:"_onMouseMove",value:function(t){var n=this;Og(t.target)||(clearTimeout(this._mouseMoveTimeout),this._mouseMoveTimeout=setTimeout(function(){n._capture(n._getProperties(t,"mousemove"))},500))}},{key:"_capture",value:function(t){if(E){var n=E.location.href;this.buffer=this.buffer||{},this.buffer[n]||(this.buffer[n]=[]),this.buffer[n].push(t)}}},{key:"flush",value:function(){this.buffer&&!dl(this.buffer)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}}]),e}(),NI=function(){function e(t){var n=this;Pe(this,e),C(this,"_updateScrollData",function(){var o,r,i,a;n.context||(n.context={});var s=n.scrollElement(),l=n.scrollY(),c=s?Math.max(0,s.scrollHeight-s.clientHeight):0,u=l+((s==null?void 0:s.clientHeight)||0),d=(s==null?void 0:s.scrollHeight)||0;n.context.lastScrollY=Math.ceil(l),n.context.maxScrollY=Math.max(l,(o=n.context.maxScrollY)!==null&&o!==void 0?o:0),n.context.maxScrollHeight=Math.max(c,(r=n.context.maxScrollHeight)!==null&&r!==void 0?r:0),n.context.lastContentY=u,n.context.maxContentY=Math.max(u,(i=n.context.maxContentY)!==null&&i!==void 0?i:0),n.context.maxContentHeight=Math.max(d,(a=n.context.maxContentHeight)!==null&&a!==void 0?a:0)}),this.instance=t}return Oe(e,[{key:"getContext",value:function(){return this.context}},{key:"resetContext",value:function(){var t=this.context;return setTimeout(this._updateScrollData,0),t}},{key:"startMeasuringScrollPosition",value:function(){E==null||E.addEventListener("scroll",this._updateScrollData,!0),E==null||E.addEventListener("scrollend",this._updateScrollData,!0),E==null||E.addEventListener("resize",this._updateScrollData)}},{key:"scrollElement",value:function(){if(!this.instance.config.scroll_root_selector)return E==null?void 0:E.document.documentElement;var t,n=sn(ot(this.instance.config.scroll_root_selector)?this.instance.config.scroll_root_selector:[this.instance.config.scroll_root_selector]);try{for(n.s();!(t=n.n()).done;){var o=t.value,r=E==null?void 0:E.document.querySelector(o);if(r)return r}}catch(i){n.e(i)}finally{n.f()}}},{key:"scrollY",value:function(){if(this.instance.config.scroll_root_selector){var t=this.scrollElement();return t&&t.scrollTop||0}return E&&(E.scrollY||E.pageYOffset||E.document.documentElement.scrollTop)||0}},{key:"scrollX",value:function(){if(this.instance.config.scroll_root_selector){var t=this.scrollElement();return t&&t.scrollLeft||0}return E&&(E.scrollX||E.pageXOffset||E.document.documentElement.scrollLeft)||0}}]),e}(),yu="$copy_autocapture";function _u(e,t){return t.length>e?t.slice(0,e)+"...":t}var Ro,FI=function(){function e(t){Pe(this,e),C(this,"_initialized",!1),C(this,"_isDisabledServerSide",null),C(this,"rageclicks",new z_),C(this,"_elementsChainAsString",!1),this.instance=t,this._elementSelectors=null}return Oe(e,[{key:"config",get:function(){var t,n,o=rt(this.instance.config.autocapture)?this.instance.config.autocapture:{};return o.url_allowlist=(t=o.url_allowlist)===null||t===void 0?void 0:t.map(function(r){return new RegExp(r)}),o.url_ignorelist=(n=o.url_ignorelist)===null||n===void 0?void 0:n.map(function(r){return new RegExp(r)}),o}},{key:"_addDomEventHandlers",value:function(){var t=this;if(this.isBrowserSupported()){if(E&&te){var n=function(r){r=r||(E==null?void 0:E.event);try{t._captureEvent(r)}catch(i){D.error("Failed to capture event",i)}},o=function(r){r=r||(E==null?void 0:E.event),t._captureEvent(r,yu)};lo(te,"submit",n,!1,!0),lo(te,"change",n,!1,!0),lo(te,"click",n,!1,!0),this.config.capture_copied_text&&(lo(te,"copy",o,!1,!0),lo(te,"cut",o,!1,!0))}}else D.info("Disabling Automatic Event Collection because this browser is not supported")}},{key:"startIfEnabled",value:function(){this.isEnabled&&!this._initialized&&(this._addDomEventHandlers(),this._initialized=!0)}},{key:"afterDecideResponse",value:function(t){t.elementsChainAsString&&(this._elementsChainAsString=t.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register(C({},Xm,!!t.autocapture_opt_out)),this._isDisabledServerSide=!!t.autocapture_opt_out,this.startIfEnabled()}},{key:"setElementSelectors",value:function(t){this._elementSelectors=t}},{key:"getElementSelectors",value:function(t){var n,o=[];return(n=this._elementSelectors)===null||n===void 0||n.forEach(function(r){var i=te==null?void 0:te.querySelectorAll(r);i==null||i.forEach(function(a){t===a&&o.push(r)})}),o}},{key:"isEnabled",get:function(){var t,n,o=(t=this.instance.persistence)===null||t===void 0?void 0:t.props[Xm],r=this._isDisabledServerSide;if(_o(r)&&!mr(o)&&!this.instance.config.advanced_disable_decide)return!1;var i=(n=this._isDisabledServerSide)!==null&&n!==void 0?n:!!o;return!!this.instance.config.autocapture&&!i}},{key:"_previousElementSibling",value:function(t){if(t.previousElementSibling)return t.previousElementSibling;var n=t;do n=n.previousSibling;while(n&&!yf(n));return n}},{key:"_getAugmentPropertiesFromElement",value:function(t){if(!Qd(t))return{};var n={};return ze(t.attributes,function(o){if(o.name&&o.name.indexOf("data-ph-capture-attribute")===0){var r=o.name.replace("data-ph-capture-attribute-",""),i=o.value;r&&i&&ti(i)&&(n[r]=i)}}),n}},{key:"_getPropertiesFromElement",value:function(t,n,o){var r,i=t.tagName.toLowerCase(),a={tag_name:i};Jd.indexOf(i)>-1&&!o&&(i.toLowerCase()==="a"||i.toLowerCase()==="button"?a.$el_text=_u(1024,vg(t)):a.$el_text=_u(1024,Ul(t)));var s=Wl(t);s.length>0&&(a.classes=s.filter(function(p){return p!==""}));var l=(r=this.config)===null||r===void 0?void 0:r.element_attribute_ignorelist;ze(t.attributes,function(p){var f;if((!T_(t)||["name","id","class","aria-label"].indexOf(p.name)!==-1)&&(l==null||!l.includes(p.name))&&!n&&ti(p.value)&&(f=p.name,!wt(f)||f.substring(0,10)!=="_ngcontent"&&f.substring(0,7)!=="_nghost")){var h=p.value;p.name==="class"&&(h=bf(h).join(" ")),a["attr__"+p.name]=_u(1024,h)}});for(var c=1,u=1,d=t;d=this._previousElementSibling(d);)c++,d.tagName===t.tagName&&u++;return a.nth_child=c,a.nth_of_type=u,a}},{key:"_getDefaultProperties",value:function(t){return{$event_type:t,$ce_version:1}}},{key:"_getEventTarget",value:function(t){return ie(t.target)?t.srcElement||null:(n=t.target)!==null&&n!==void 0&&n.shadowRoot?t.composedPath()[0]||null:t.target||null;var n}},{key:"_captureEvent",value:function(t){var n=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"$autocapture";if(this.isEnabled){var r,i=this._getEventTarget(t);k_(i)&&(i=i.parentNode||null),o==="$autocapture"&&t.type==="click"&&t instanceof MouseEvent&&this.instance.config.rageclick&&(r=this.rageclicks)!==null&&r!==void 0&&r.isRageClick(t.clientX,t.clientY,new Date().getTime())&&this._captureEvent(t,"$rageclick");var a=o===yu;if(i&&YR(i,t,this.config,a,a?["copy","cut"]:void 0)){for(var s,l,c=[i],u=i;u.parentNode&&!qo(u,"body");)x_(u.parentNode)?(c.push(u.parentNode.host),u=u.parentNode.host):(c.push(u.parentNode),u=u.parentNode);var d,p,f=[],h={},m=!1;if(ze(c,function(R){var N=Qd(R);R.tagName.toLowerCase()==="a"&&(d=R.getAttribute("href"),d=N&&ti(d)&&d),Ce(Wl(R),"ph-no-capture")&&(m=!0),f.push(n._getPropertiesFromElement(R,n.instance.config.mask_all_element_attributes,n.instance.config.mask_all_text));var K=n._getAugmentPropertiesFromElement(R);At(h,K)}),this.instance.config.mask_all_text||(i.tagName.toLowerCase()==="a"||i.tagName.toLowerCase()==="button"?f[0].$el_text=vg(i):f[0].$el_text=Ul(i)),d){var y,b;f[0].attr__href=d;var _=(y=ma(d))===null||y===void 0?void 0:y.host,v=E==null||(b=E.location)===null||b===void 0?void 0:b.host;_&&v&&_!==v&&(p=d)}if(m)return!1;var w=At(this._getDefaultProperties(t.type),this._elementsChainAsString?{$elements_chain:eI(f)}:{$elements:f},(s=f[0])!==null&&s!==void 0&&s.$el_text?{$el_text:(l=f[0])===null||l===void 0?void 0:l.$el_text}:{},p&&t.type==="click"?{$external_click_url:p}:{},h),S=this.getElementSelectors(i);if(S&&S.length>0&&(w.$element_selectors=S),o===yu){var x,k=S_(E==null||(x=E.getSelection())===null||x===void 0?void 0:x.toString()),T=t.type||"clipboard";if(!k)return!1;w.$selected_content=k,w.$copy_type=T}return this.instance.capture(o,w),!0}}}},{key:"isBrowserSupported",value:function(){return tn(te==null?void 0:te.querySelectorAll)}}]),e}(),jI=function(){function e(t){var n=this;Pe(this,e),C(this,"_restoreXHRPatch",void 0),C(this,"_restoreFetchPatch",void 0),C(this,"_startCapturing",function(){ie(n._restoreXHRPatch)&&Ne.postHogTracingHeadersPatchFns._patchXHR(n.instance.sessionManager),ie(n._restoreFetchPatch)&&Ne.postHogTracingHeadersPatchFns._patchFetch(n.instance.sessionManager)}),this.instance=t}return Oe(e,[{key:"_loadScript",value:function(t){Ne.postHogTracingHeadersPatchFns&&t(),this.instance.requestRouter.loadScript("/static/tracing-headers.js?v=".concat(Qt.LIB_VERSION),function(n){if(n)return D.error("[TRACING-HEADERS] failed to load script",n);t()})}},{key:"startIfEnabledOrStop",value:function(){var t,n;this.instance.config.__add_tracing_headers?this._loadScript(this._startCapturing):((t=this._restoreXHRPatch)===null||t===void 0||t.call(this),(n=this._restoreFetchPatch)===null||n===void 0||n.call(this),this._restoreXHRPatch=void 0,this._restoreFetchPatch=void 0)}}]),e}();(function(e){e[e.PENDING=-1]="PENDING",e[e.DENIED=0]="DENIED",e[e.GRANTED=1]="GRANTED"})(Ro||(Ro={}));var HI=function(){function e(t){Pe(this,e),this.instance=t}return Oe(e,[{key:"config",get:function(){return this.instance.config}},{key:"consent",get:function(){return this.getDnt()?Ro.DENIED:this.storedConsent}},{key:"isOptedOut",value:function(){return this.consent===Ro.DENIED||this.consent===Ro.PENDING&&this.config.opt_out_capturing_by_default}},{key:"isOptedIn",value:function(){return!this.isOptedOut()}},{key:"optInOut",value:function(t){this.storage.set(this.storageKey,t?1:0,this.config.cookie_expiration,this.config.cross_subdomain_cookie,this.config.secure_cookie)}},{key:"reset",value:function(){this.storage.remove(this.storageKey,this.config.cross_subdomain_cookie)}},{key:"storageKey",get:function(){var t=this.instance.config,n=t.token;return(t.opt_out_capturing_cookie_prefix||"__ph_opt_in_out_")+n}},{key:"storedConsent",get:function(){var t=this.storage.get(this.storageKey);return t==="1"?Ro.GRANTED:t==="0"?Ro.DENIED:Ro.PENDING}},{key:"storage",get:function(){if(!this._storage){var t=this.config.opt_out_capturing_persistence_type;this._storage=t==="localStorage"?et:fo;var n=t==="localStorage"?fo:et;n.get(this.storageKey)&&(this._storage.get(this.storageKey)||this.optInOut(n.get(this.storageKey)==="1"),n.remove(this.storageKey,this.config.cross_subdomain_cookie))}return this._storage}},{key:"getDnt",value:function(){return!!this.config.respect_dnt&&!!r_([yn==null?void 0:yn.doNotTrack,yn==null?void 0:yn.msDoNotTrack,Ne.doNotTrack],function(t){return Ce([!0,1,"1","yes"],t)})}}]),e}(),Us="[Exception Autocapture]",WI=function(){function e(t){var n,o=this;Pe(this,e),C(this,"originalOnUnhandledRejectionHandler",void 0),C(this,"startCapturing",function(){if(E&&o.isEnabled&&!o.hasHandlers&&!o.isCapturing){var r=E.posthogErrorWrappingFunctions.wrapOnError,i=E.posthogErrorWrappingFunctions.wrapUnhandledRejection;if(r&&i)try{o.unwrapOnError=r(o.captureException.bind(o)),o.unwrapUnhandledRejection=i(o.captureException.bind(o))}catch(a){D.error(Us+" failed to start",a),o.stopCapturing()}else D.error(Us+" failed to load error wrapping functions - cannot start")}}),this.instance=t,this.remoteEnabled=!((n=this.instance.persistence)===null||n===void 0||!n.props[Zm]),this.startIfEnabled()}return Oe(e,[{key:"isEnabled",get:function(){var t;return(t=this.remoteEnabled)!==null&&t!==void 0&&t}},{key:"isCapturing",get:function(){var t;return!(E==null||(t=E.onerror)===null||t===void 0||!t.__POSTHOG_INSTRUMENTED__)}},{key:"hasHandlers",get:function(){return this.originalOnUnhandledRejectionHandler||this.unwrapOnError}},{key:"startIfEnabled",value:function(){this.isEnabled&&!this.isCapturing&&(D.info(Us+" enabled, starting..."),this.loadScript(this.startCapturing))}},{key:"loadScript",value:function(t){this.hasHandlers&&t(),this.instance.requestRouter.loadScript("/static/exception-autocapture.js?v=".concat(Qt.LIB_VERSION),function(n){if(n)return D.error(Us+" failed to load script",n);t()})}},{key:"stopCapturing",value:function(){var t,n;(t=this.unwrapOnError)===null||t===void 0||t.call(this),(n=this.unwrapUnhandledRejection)===null||n===void 0||n.call(this)}},{key:"afterDecideResponse",value:function(t){var n=t.autocaptureExceptions;this.remoteEnabled=!!n||!1,this.instance.persistence&&this.instance.persistence.register(C({},Zm,this.remoteEnabled)),this.startIfEnabled()}},{key:"captureException",value:function(t){var n=this.instance.requestRouter.endpointFor("ui");t.$exception_personURL="".concat(n,"/project/").concat(this.instance.config.token,"/person/").concat(this.instance.get_distinct_id()),this.instance.exceptions.sendExceptionEvent(t)}}]),e}(),Rg=9e5,dr="[Web Vitals]",UI=function(){function e(t){var n,o=this;Pe(this,e),C(this,"_enabledServerSide",!1),C(this,"_initialized",!1),C(this,"buffer",{url:void 0,metrics:[],firstMetricTimestamp:void 0}),C(this,"_flushToCapture",function(){clearTimeout(o._delayedFlushTimer),o.buffer.metrics.length!==0&&(o.instance.capture("$web_vitals",o.buffer.metrics.reduce(function(r,i){var a;return X(X({},r),{},(C(a={},"$web_vitals_".concat(i.name,"_event"),X({},i)),C(a,"$web_vitals_".concat(i.name,"_value"),i.value),a))},{})),o.buffer={url:void 0,metrics:[],firstMetricTimestamp:void 0})}),C(this,"_addToBuffer",function(r){var i,a=(i=o.instance.sessionManager)===null||i===void 0?void 0:i.checkAndGetSessionAndWindowId(!0);if(ie(a))D.error(dr+"Could not read session ID. Dropping metrics!");else{o.buffer=o.buffer||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var s=o._currentURL();ie(s)||(Ot(r==null?void 0:r.name)||Ot(r==null?void 0:r.value)?D.error(dr+"Invalid metric received",r):o._maxAllowedValue&&r.value>=o._maxAllowedValue?D.error(dr+"Ignoring metric with value >= "+o._maxAllowedValue,r):(o.buffer.url!==s&&(o._flushToCapture(),o._delayedFlushTimer=setTimeout(o._flushToCapture,8e3)),ie(o.buffer.url)&&(o.buffer.url=s),o.buffer.firstMetricTimestamp=ie(o.buffer.firstMetricTimestamp)?Date.now():o.buffer.firstMetricTimestamp,o.buffer.metrics.push(X(X({},r),{},{$current_url:s,$session_id:a.sessionId,$window_id:a.windowId,timestamp:Date.now()})),o.buffer.metrics.length===o.allowedMetrics.length&&o._flushToCapture()))}}),C(this,"_startCapturing",function(){var r,i,a,s,l=Ne.__PosthogExtensions__;if(!ie(l)){var c=l.postHogWebVitalsCallbacks;r=c.onLCP,i=c.onCLS,a=c.onFCP,s=c.onINP}r&&i&&a&&s?(o.allowedMetrics.indexOf("LCP")>-1&&r(o._addToBuffer.bind(o)),o.allowedMetrics.indexOf("CLS")>-1&&i(o._addToBuffer.bind(o)),o.allowedMetrics.indexOf("FCP")>-1&&a(o._addToBuffer.bind(o)),o.allowedMetrics.indexOf("INP")>-1&&s(o._addToBuffer.bind(o)),o._initialized=!0):D.error(dr+"web vitals callbacks not loaded - not starting")}),this.instance=t,this._enabledServerSide=!((n=this.instance.persistence)===null||n===void 0||!n.props[Qm]),this.startIfEnabled()}return Oe(e,[{key:"allowedMetrics",get:function(){var t,n,o=rt(this.instance.config.capture_performance)?(t=this.instance.config.capture_performance)===null||t===void 0?void 0:t.web_vitals_allowed_metrics:void 0;return ie(o)?((n=this.instance.persistence)===null||n===void 0?void 0:n.props[eg])||["CLS","FCP","INP","LCP"]:o}},{key:"_maxAllowedValue",get:function(){var t=rt(this.instance.config.capture_performance)&&en(this.instance.config.capture_performance.__web_vitals_max_value)?this.instance.config.capture_performance.__web_vitals_max_value:Rg;return 0<t&&t<=6e4?Rg:t}},{key:"isEnabled",get:function(){var t=rt(this.instance.config.capture_performance)?this.instance.config.capture_performance.web_vitals:void 0;return mr(t)?t:this._enabledServerSide}},{key:"startIfEnabled",value:function(){this.isEnabled&&!this._initialized&&(D.info(dr+" enabled, starting..."),this.loadScript(this._startCapturing))}},{key:"afterDecideResponse",value:function(t){var n=rt(t.capturePerformance)&&!!t.capturePerformance.web_vitals,o=rt(t.capturePerformance)?t.capturePerformance.web_vitals_allowed_metrics:void 0;this.instance.persistence&&(this.instance.persistence.register(C({},Qm,n)),this.instance.persistence.register(C({},eg,o))),this._enabledServerSide=n,this.startIfEnabled()}},{key:"loadScript",value:function(t){var n;(n=Ne.__PosthogExtensions__)!==null&&n!==void 0&&n.postHogWebVitalsCallbacks&&t(),this.instance.requestRouter.loadScript("/static/web-vitals.js?v=".concat(Qt.LIB_VERSION),function(o){o?D.error(dr+" failed to load script",o):t()})}},{key:"_currentURL",value:function(){var t=E?E.location.href:void 0;return t||D.error(dr+"Could not determine current URL"),t}}]),e}(),Ig="/e/",VI=function(){function e(t){var n;Pe(this,e),this.instance=t,this._endpointSuffix=((n=this.instance.persistence)===null||n===void 0?void 0:n.props[Jm])||Ig}return Oe(e,[{key:"endpoint",get:function(){return this.instance.requestRouter.endpointFor("api",this._endpointSuffix)}},{key:"afterDecideResponse",value:function(t){var n=t.autocaptureExceptions;this._endpointSuffix=rt(n)&&n.endpoint||Ig,this.instance.persistence&&this.instance.persistence.register(C({},Jm,this._endpointSuffix))}},{key:"sendExceptionEvent",value:function(t){this.instance.capture("$exception",t,{_noTruncate:!0,_batchKey:"exceptionEvent",_url:this.endpoint})}}]),e}(),ba={},Lg=function(){},Wr="posthog",N_=!SI&&(ct==null?void 0:ct.indexOf("MSIE"))===-1&&(ct==null?void 0:ct.indexOf("Mozilla"))===-1,Bg=function(){var e,t,n;return{api_host:"https://us.i.posthog.com",ui_host:null,token:"",autocapture:!0,rageclick:!0,cross_subdomain_cookie:(t=te==null?void 0:te.location,n=t==null?void 0:t.hostname,!!wt(n)&&n.split(".").slice(-2).join(".")!=="herokuapp.com"),persistence:"localStorage+cookie",persistence_name:"",loaded:Lg,store_google:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageview:!0,capture_pageleave:"if_capture_pageview",debug:Bt&&wt(Bt==null?void 0:Bt.search)&&Bt.search.indexOf("__posthog_debug=true")!==-1||!1,verbose:!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_surveys:!1,enable_recording_console_log:void 0,secure_cookie:(E==null||(e=E.location)===null||e===void 0?void 0:e.protocol)==="https:",ip:!0,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},inapp_protocol:"//",inapp_link_new_window:!1,request_batching:!0,properties_string_max_length:65535,session_recording:{},mask_all_element_attributes:!1,mask_all_text:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,on_request_error:function(o){var r="Bad HTTP status: "+o.statusCode+" "+o.text;D.error(r)},get_device_id:function(o){return o},_onCapture:Lg,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:"always",__add_tracing_headers:!1}},$g=function(e){var t={};ie(e.process_person)||(t.person_profiles=e.process_person),ie(e.xhr_headers)||(t.request_headers=e.xhr_headers),ie(e.cookie_name)||(t.persistence_name=e.cookie_name),ie(e.disable_cookie)||(t.disable_persistence=e.disable_cookie);var n=At({},t,e);return ot(e.property_blacklist)&&(ie(e.property_denylist)?n.property_denylist=e.property_blacklist:ot(e.property_denylist)?n.property_denylist=[].concat(po(e.property_blacklist),po(e.property_denylist)):D.error("Invalid value for property_denylist config: "+e.property_denylist)),n},GI=function(){function e(){Pe(this,e),C(this,"__forceAllowLocalhost",!1)}return Oe(e,[{key:"_forceAllowLocalhost",get:function(){return this.__forceAllowLocalhost},set:function(t){D.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}]),e}(),F_=function(){function e(){var t=this;Pe(this,e),C(this,"webPerformance",new GI),C(this,"version",Qt.LIB_VERSION),C(this,"_internalEventEmitter",new D_),this.config=Bg(),this.decideEndpointWasHit=!1,this.SentryIntegration=MI,this.sentryIntegration=function(n){return function(o,r){var i=$_(o,r);return{name:B_,processEvent:function(a){return i(a)}}}(t,n)},this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this._initialPageviewCaptured=!1,this.featureFlags=new xR(this),this.toolbar=new pI(this),this.scrollManager=new NI(this),this.pageViewManager=new PI(this),this.surveys=new II(this),this.exceptions=new VI(this),this.rateLimiter=new LI(this),this.requestRouter=new CI(this),this.consent=new HI(this),this.people={set:function(n,o,r){var i=wt(n)?C({},n,o):n;t.setPersonProperties(i),r==null||r({})},set_once:function(n,o,r){var i=wt(n)?C({},n,o):n;t.setPersonProperties(void 0,i),r==null||r({})}},this.on("eventCaptured",function(n){return D.info("send",n)})}return Oe(e,[{key:"init",value:function(t,n,o){if(o&&o!==Wr){var r,i=(r=ba[o])!==null&&r!==void 0?r:new e;return i._init(t,n,o),ba[o]=i,ba[Wr][o]=i,i}return this._init(t,n,o)}},{key:"_init",value:function(t){var n,o,r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0;if(ie(t)||Um(t))return D.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return D.warn("You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},this._triggered_notifs=[],this.set_config(At({},Bg(),$g(i),{name:a,token:t})),this.config.on_xhr_error&&D.error("[posthog] on_xhr_error is deprecated. Use on_request_error instead"),this.compression=i.disable_compression?void 0:mn.GZipJS,this.persistence=new mu(this.config),this.sessionPersistence=this.config.persistence==="sessionStorage"?this.persistence:new mu(X(X({},this.config),{},{persistence:"sessionStorage"}));var s=X({},this.persistence.props),l=X({},this.sessionPersistence.props);if(this._requestQueue=new fI(function(_){return r._send_retriable_request(_)}),this._retryQueue=new EI(this),this.__request_queue=[],this.sessionManager=new TI(this.config,this.persistence),this.sessionPropsManager=new $I(this.sessionManager,this.persistence),new jI(this).startIfEnabledOrStop(),this.sessionRecording=new cI(this),this.sessionRecording.startIfEnabledOrStop(),this.config.disable_scroll_properties||this.scrollManager.startMeasuringScrollPosition(),this.autocapture=new FI(this),this.autocapture.startIfEnabled(),this.surveys.loadIfEnabled(),this.heatmaps=new zI(this),this.heatmaps.startIfEnabled(),this.webVitalsAutocapture=new UI(this),this.exceptionObserver=new WI(this),this.exceptionObserver.startIfEnabled(),Qt.DEBUG=Qt.DEBUG||this.config.debug,Qt.DEBUG&&D.info("Starting in debug mode",{this:this,config:i,thisC:X({},this.config),p:s,s:l}),this._sync_opt_out_with_persistence(),((n=i.bootstrap)===null||n===void 0?void 0:n.distinctID)!==void 0){var c,u,d=this.config.get_device_id(Ho()),p=(c=i.bootstrap)!==null&&c!==void 0&&c.isIdentifiedID?d:i.bootstrap.distinctID;this.persistence.set_property(ro,(u=i.bootstrap)!==null&&u!==void 0&&u.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:i.bootstrap.distinctID,$device_id:p})}if(this._hasBootstrappedFeatureFlags()){var f,h,m=Object.keys(((f=i.bootstrap)===null||f===void 0?void 0:f.featureFlags)||{}).filter(function(_){var v,w;return!((v=i.bootstrap)===null||v===void 0||(w=v.featureFlags)===null||w===void 0||!w[_])}).reduce(function(_,v){var w,S;return _[v]=((w=i.bootstrap)===null||w===void 0||(S=w.featureFlags)===null||S===void 0?void 0:S[v])||!1,_},{}),y=Object.keys(((h=i.bootstrap)===null||h===void 0?void 0:h.featureFlagPayloads)||{}).filter(function(_){return m[_]}).reduce(function(_,v){var w,S,x,k;return(w=i.bootstrap)!==null&&w!==void 0&&(S=w.featureFlagPayloads)!==null&&S!==void 0&&S[v]&&(_[v]=(x=i.bootstrap)===null||x===void 0||(k=x.featureFlagPayloads)===null||k===void 0?void 0:k[v]),_},{});this.featureFlags.receivedFeatureFlags({featureFlags:m,featureFlagPayloads:y})}if(!this.get_distinct_id()){var b=this.config.get_device_id(Ho());this.register_once({distinct_id:b,$device_id:b},""),this.persistence.set_property(ro,"anonymous")}return E==null||(o=E.addEventListener)===null||o===void 0||o.call(E,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this)),this.toolbar.maybeLoadToolbar(),i.segment?AI(this,function(){return r._loaded()}):this._loaded(),tn(this.config._onCapture)&&this.on("eventCaptured",function(_){return r.config._onCapture(_.event,_)}),this}},{key:"_afterDecideResponse",value:function(t){var n,o,r,i,a,s,l,c;this.compression=void 0,t.supportedCompression&&!this.config.disable_compression&&(this.compression=Ce(t.supportedCompression,mn.GZipJS)?mn.GZipJS:Ce(t.supportedCompression,mn.Base64)?mn.Base64:void 0),(n=t.analytics)!==null&&n!==void 0&&n.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),(o=this.sessionRecording)===null||o===void 0||o.afterDecideResponse(t),(r=this.autocapture)===null||r===void 0||r.afterDecideResponse(t),(i=this.heatmaps)===null||i===void 0||i.afterDecideResponse(t),(a=this.surveys)===null||a===void 0||a.afterDecideResponse(t),(s=this.webVitalsAutocapture)===null||s===void 0||s.afterDecideResponse(t),(l=this.exceptions)===null||l===void 0||l.afterDecideResponse(t),(c=this.exceptionObserver)===null||c===void 0||c.afterDecideResponse(t)}},{key:"_loaded",value:function(){var t=this,n=this.config.advanced_disable_decide;n||this.featureFlags.setReloadingPaused(!0);try{this.config.loaded(this)}catch(o){D.critical("`loaded` function failed",o)}this._start_queue_if_opted_in(),this.config.capture_pageview&&setTimeout(function(){t.consent.isOptedIn()&&t._captureInitialPageview()},1),n||(new uI(this).call(),this.featureFlags.resetRequestQueue())}},{key:"_start_queue_if_opted_in",value:function(){var t;this.has_opted_out_capturing()||this.config.request_batching&&((t=this._requestQueue)===null||t===void 0||t.enable())}},{key:"_dom_loaded",value:function(){var t=this;this.has_opted_out_capturing()||Jr(this.__request_queue,function(n){return t._send_retriable_request(n)}),this.__request_queue=[],this._start_queue_if_opted_in()}},{key:"_handle_unload",value:function(){var t,n;this.config.request_batching?(this._shouldCapturePageleave()&&this.capture("$pageleave"),(t=this._requestQueue)===null||t===void 0||t.unload(),(n=this._retryQueue)===null||n===void 0||n.unload()):this._shouldCapturePageleave()&&this.capture("$pageleave",null,{transport:"sendBeacon"})}},{key:"_send_request",value:function(t){var n=this;this.__loaded&&(N_?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=Gl(t.url,{ip:this.config.ip?1:0}),t.headers=X({},this.config.request_headers),t.compression=t.compression==="best-available"?this.compression:t.compression,function(o){var r,i,a,s=X({},o);s.timeout=s.timeout||6e4,s.url=Gl(s.url,{_:new Date().getTime().toString(),ver:Qt.LIB_VERSION,compression:s.compression});var l=(r=s.transport)!==null&&r!==void 0?r:"XHR",c=(i=(a=r_(va,function(u){return u.transport===l}))===null||a===void 0?void 0:a.method)!==null&&i!==void 0?i:va[0].method;if(!c)throw new Error("No available transport method");c(s)}(X(X({},t),{},{callback:function(o){var r,i,a;n.rateLimiter.checkForLimiting(o),o.statusCode>=400&&((i=(a=n.config).on_request_error)===null||i===void 0||i.call(a,o)),(r=t.callback)===null||r===void 0||r.call(t,o)}}))))}},{key:"_send_retriable_request",value:function(t){this._retryQueue?this._retryQueue.retriableRequest(t):this._send_request(t)}},{key:"_execute_array",value:function(t){var n,o=this,r=[],i=[],a=[];Jr(t,function(l){l&&(n=l[0],ot(n)?a.push(l):tn(l)?l.call(o):ot(l)&&n==="alias"?r.push(l):ot(l)&&n.indexOf("capture")!==-1&&tn(o[n])?a.push(l):i.push(l))});var s=function(l,c){Jr(l,function(u){if(ot(u[0])){var d=c;ze(u,function(p){d=d[p[0]].apply(d,p.slice(1))})}else this[u[0]].apply(this,u.slice(1))},c)};s(r,this),s(i,this),s(a,this)}},{key:"_hasBootstrappedFeatureFlags",value:function(){var t,n;return((t=this.config.bootstrap)===null||t===void 0?void 0:t.featureFlags)&&Object.keys((n=this.config.bootstrap)===null||n===void 0?void 0:n.featureFlags).length>0||!1}},{key:"push",value:function(t){this._execute_array([t])}},{key:"capture",value:function(t,n,o){var r;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this._requestQueue){if(!this.consent.isOptedOut())if(!ie(t)&&wt(t)){if(this.config.opt_out_useragent_filter||!this._is_bot()){var i=o!=null&&o.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(i==null||!i.isRateLimited){this.sessionPersistence.update_search_keyword(),this.config.store_google&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.store_google||this.config.save_referrer)&&this.persistence.set_initial_person_info();var a=new Date,s=(o==null?void 0:o.timestamp)||a,l={uuid:Ho(),event:t,properties:this._calculate_event_properties(t,n||{},s)};i&&(l.properties.$lib_rate_limit_remaining_tokens=i.remainingTokens),o!=null&&o.$set&&(l.$set=o==null?void 0:o.$set);var c=this._calculate_set_once_properties(o==null?void 0:o.$set_once);c&&(l.$set_once=c),(l=wR(l,o!=null&&o._noTruncate?null:this.config.properties_string_max_length)).timestamp=s,ie(o==null?void 0:o.timestamp)||(l.properties.$event_time_override_provided=!0,l.properties.$event_time_override_system_time=a);var u=X(X({},l.properties.$set),l.$set);dl(u)||this.setPersonPropertiesForFlags(u),this._internalEventEmitter.emit("eventCaptured",l);var d={method:"POST",url:(r=o==null?void 0:o._url)!==null&&r!==void 0?r:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:l,compression:"best-available",batchKey:o==null?void 0:o._batchKey};return!this.config.request_batching||o&&(o==null||!o._batchKey)||o!=null&&o.send_instantly?this._send_retriable_request(d):this._requestQueue.enqueue(d),l}D.critical("This capture call is ignored due to client rate limiting.")}}else D.error("No event name provided to posthog.capture")}else D.uninitializedWarning("posthog.capture")}},{key:"_addCaptureHook",value:function(t){return this.on("eventCaptured",function(n){return t(n.event,n)})}},{key:"_calculate_event_properties",value:function(t,n,o){if(o=o||new Date,!this.persistence||!this.sessionPersistence)return n;var r=this.persistence.remove_event_timer(t),i=X({},n);if(i.token=this.config.token,t==="$snapshot"){var a=X(X({},this.persistence.properties()),this.sessionPersistence.properties());return i.distinct_id=a.distinct_id,(!wt(i.distinct_id)&&!en(i.distinct_id)||Um(i.distinct_id))&&D.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),i}var s=ut.properties();if(this.sessionManager){var l=this.sessionManager.checkAndGetSessionAndWindowId(),c=l.sessionId,u=l.windowId;i.$session_id=c,i.$window_id=u}if(this.requestRouter.region===gr.CUSTOM&&(i.$lib_custom_api_host=this.config.api_host),this.sessionPropsManager&&this.config.__preview_send_client_session_params&&(t==="$pageview"||t==="$pageleave"||t==="$autocapture")){var d=this.sessionPropsManager.getSessionProps();i=At(i,d)}if(!this.config.disable_scroll_properties){var p={};t==="$pageview"?p=this.pageViewManager.doPageView(o):t==="$pageleave"&&(p=this.pageViewManager.doPageLeave(o)),i=At(i,p)}if(t==="$pageview"&&te&&(i.title=te.title),!ie(r)){var f=o.getTime()-r;i.$duration=parseFloat((f/1e3).toFixed(3))}ct&&this.config.opt_out_useragent_filter&&(i.$browser_type=this._is_bot()?"bot":"browser"),(i=At({},s,this.persistence.properties(),this.sessionPersistence.properties(),i)).$is_identified=this._isIdentified(),ot(this.config.property_denylist)?ze(this.config.property_denylist,function(m){delete i[m]}):D.error("Invalid value for property_denylist config: "+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var h=this.config.sanitize_properties;return h&&(i=h(i,t)),i.$process_person_profile=this._hasPersonProcessing(),i}},{key:"_calculate_set_once_properties",value:function(t){if(!this.persistence||!this._hasPersonProcessing())return t;var n=At({},this.persistence.get_initial_props(),t||{});return dl(n)?void 0:n}},{key:"register",value:function(t,n){var o;(o=this.persistence)===null||o===void 0||o.register(t,n)}},{key:"register_once",value:function(t,n,o){var r;(r=this.persistence)===null||r===void 0||r.register_once(t,n,o)}},{key:"register_for_session",value:function(t){var n;(n=this.sessionPersistence)===null||n===void 0||n.register(t)}},{key:"unregister",value:function(t){var n;(n=this.persistence)===null||n===void 0||n.unregister(t)}},{key:"unregister_for_session",value:function(t){var n;(n=this.sessionPersistence)===null||n===void 0||n.unregister(t)}},{key:"_register_single",value:function(t,n){this.register(C({},t,n))}},{key:"getFeatureFlag",value:function(t,n){return this.featureFlags.getFeatureFlag(t,n)}},{key:"getFeatureFlagPayload",value:function(t){var n=this.featureFlags.getFeatureFlagPayload(t);try{return JSON.parse(n)}catch{return n}}},{key:"isFeatureEnabled",value:function(t,n){return this.featureFlags.isFeatureEnabled(t,n)}},{key:"reloadFeatureFlags",value:function(){this.featureFlags.reloadFeatureFlags()}},{key:"updateEarlyAccessFeatureEnrollment",value:function(t,n){this.featureFlags.updateEarlyAccessFeatureEnrollment(t,n)}},{key:"getEarlyAccessFeatures",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.featureFlags.getEarlyAccessFeatures(t,n)}},{key:"on",value:function(t,n){return this._internalEventEmitter.on(t,n)}},{key:"onFeatureFlags",value:function(t){return this.featureFlags.onFeatureFlags(t)}},{key:"onSessionId",value:function(t){var n,o;return(n=(o=this.sessionManager)===null||o===void 0?void 0:o.onSessionId(t))!==null&&n!==void 0?n:function(){}}},{key:"getSurveys",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.surveys.getSurveys(t,n)}},{key:"getActiveMatchingSurveys",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.surveys.getActiveMatchingSurveys(t,n)}},{key:"renderSurvey",value:function(t,n){this.surveys.renderSurvey(t,n)}},{key:"canRenderSurvey",value:function(t){this.surveys.canRenderSurvey(t)}},{key:"getNextSurveyStep",value:function(t,n,o){return this.surveys.getNextSurveyStep(t,n,o)}},{key:"identify",value:function(t,n,o){if(!this.__loaded||!this.persistence)return D.uninitializedWarning("posthog.identify");if(en(t)&&(t=t.toString(),D.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),t){if(["distinct_id","distinctid"].includes(t.toLowerCase()))D.critical('The string "'.concat(t,'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.'));else if(this._requirePersonProcessing("posthog.identify")){var r=this.get_distinct_id();if(this.register({$user_id:t}),!this.get_property("$device_id")){var i=r;this.register_once({$had_persisted_distinct_id:!0,$device_id:i},"")}t!==r&&t!==this.get_property(Yi)&&(this.unregister(Yi),this.register({distinct_id:t}));var a=(this.persistence.get_property(ro)||"anonymous")==="anonymous";t!==r&&a?(this.persistence.set_property(ro,"identified"),this.setPersonPropertiesForFlags(n||{},!1),this.capture("$identify",{distinct_id:t,$anon_distinct_id:r},{$set:n||{},$set_once:o||{}}),this.featureFlags.setAnonymousDistinctId(r)):(n||o)&&this.setPersonProperties(n,o),t!==r&&(this.reloadFeatureFlags(),this.unregister(zl))}}else D.error("Unique user id has not been set in posthog.identify")}},{key:"setPersonProperties",value:function(t,n){(t||n)&&this._requirePersonProcessing("posthog.setPersonProperties")&&(this.setPersonPropertiesForFlags(t||{}),this.capture("$set",{$set:t||{},$set_once:n||{}}))}},{key:"group",value:function(t,n,o){if(t&&n){if(this._requirePersonProcessing("posthog.group")){var r=this.getGroups();r[t]!==n&&this.resetGroupPropertiesForFlags(t),this.register({$groups:X(X({},r),{},C({},t,n))}),o&&(this.capture("$groupidentify",{$group_type:t,$group_key:n,$group_set:o}),this.setGroupPropertiesForFlags(C({},t,o))),r[t]===n||o||this.reloadFeatureFlags()}}else D.error("posthog.group requires a group type and group key")}},{key:"resetGroups",value:function(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}},{key:"setPersonPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this._requirePersonProcessing("posthog.setPersonPropertiesForFlags")&&this.featureFlags.setPersonPropertiesForFlags(t,n)}},{key:"resetPersonPropertiesForFlags",value:function(){this.featureFlags.resetPersonPropertiesForFlags()}},{key:"setGroupPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this._requirePersonProcessing("posthog.setGroupPropertiesForFlags")&&this.featureFlags.setGroupPropertiesForFlags(t,n)}},{key:"resetGroupPropertiesForFlags",value:function(t){this.featureFlags.resetGroupPropertiesForFlags(t)}},{key:"reset",value:function(t){var n,o,r,i;if(D.info("reset"),!this.__loaded)return D.uninitializedWarning("posthog.reset");var a=this.get_property("$device_id");this.consent.reset(),(n=this.persistence)===null||n===void 0||n.clear(),(o=this.sessionPersistence)===null||o===void 0||o.clear(),(r=this.persistence)===null||r===void 0||r.set_property(ro,"anonymous"),(i=this.sessionManager)===null||i===void 0||i.resetSessionId();var s=this.config.get_device_id(Ho());this.register_once({distinct_id:s,$device_id:t?s:a},"")}},{key:"get_distinct_id",value:function(){return this.get_property("distinct_id")}},{key:"getGroups",value:function(){return this.get_property("$groups")||{}}},{key:"get_session_id",value:function(){var t,n;return(t=(n=this.sessionManager)===null||n===void 0?void 0:n.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}},{key:"get_session_replay_url",value:function(t){if(!this.sessionManager)return"";var n=this.sessionManager.checkAndGetSessionAndWindowId(!0),o=n.sessionId,r=n.sessionStartTimestamp,i=this.requestRouter.endpointFor("ui","/project/".concat(this.config.token,"/replay/").concat(o));if(t!=null&&t.withTimestamp&&r){var a,s=(a=t.timestampLookBack)!==null&&a!==void 0?a:10;if(!r)return i;var l=Math.max(Math.floor((new Date().getTime()-r)/1e3)-s,0);i+="?t=".concat(l)}return i}},{key:"alias",value:function(t,n){return t===this.get_property(i_)?(D.critical("Attempting to create alias for existing People user - aborting."),-2):this._requirePersonProcessing("posthog.alias")?(ie(n)&&(n=this.get_distinct_id()),t!==n?(this._register_single(Yi,t),this.capture("$create_alias",{alias:t,distinct_id:n})):(D.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}},{key:"set_config",value:function(t){var n,o,r,i,a=X({},this.config);rt(t)&&(At(this.config,$g(t)),(n=this.persistence)===null||n===void 0||n.update_config(this.config,a),this.sessionPersistence=this.config.persistence==="sessionStorage"?this.persistence:new mu(X(X({},this.config),{},{persistence:"sessionStorage"})),et.is_supported()&&et.get("ph_debug")==="true"&&(this.config.debug=!0),this.config.debug&&(Qt.DEBUG=!0,D.info("set_config",{config:t,oldConfig:a,newConfig:X({},this.config)})),(o=this.sessionRecording)===null||o===void 0||o.startIfEnabledOrStop(),(r=this.autocapture)===null||r===void 0||r.startIfEnabled(),(i=this.heatmaps)===null||i===void 0||i.startIfEnabled(),this.surveys.loadIfEnabled(),this._sync_opt_out_with_persistence())}},{key:"startSessionRecording",value:function(t){var n,o=mr(t)&&t;if(o||t!=null&&t.sampling){var r,i,a=(r=this.sessionManager)===null||r===void 0?void 0:r.checkAndGetSessionAndWindowId();(i=this.persistence)===null||i===void 0||i.register(C({},ha,!0)),D.info("Session recording started with sampling override for session: ",a==null?void 0:a.sessionId)}(o||t!=null&&t.linked_flag)&&((n=this.sessionRecording)===null||n===void 0||n.overrideLinkedFlag(),D.info("Session recording started with linked_flags override")),this.set_config({disable_session_recording:!1})}},{key:"stopSessionRecording",value:function(){this.set_config({disable_session_recording:!0})}},{key:"sessionRecordingStarted",value:function(){var t;return!((t=this.sessionRecording)===null||t===void 0||!t.started)}},{key:"captureException",value:function(t,n){var o=tn(Ne.parseErrorAsProperties)?Ne.parseErrorAsProperties([t.message,void 0,void 0,void 0,t]):X({$exception_type:t.name,$exception_message:t.message,$exception_level:"error"},n);this.exceptions.sendExceptionEvent(o)}},{key:"loadToolbar",value:function(t){return this.toolbar.loadToolbar(t)}},{key:"get_property",value:function(t){var n;return(n=this.persistence)===null||n===void 0?void 0:n.props[t]}},{key:"getSessionProperty",value:function(t){var n;return(n=this.sessionPersistence)===null||n===void 0?void 0:n.props[t]}},{key:"toString",value:function(){var t,n=(t=this.config.name)!==null&&t!==void 0?t:Wr;return n!==Wr&&(n=Wr+"."+n),n}},{key:"_isIdentified",value:function(){var t,n;return((t=this.persistence)===null||t===void 0?void 0:t.get_property(ro))==="identified"||((n=this.sessionPersistence)===null||n===void 0?void 0:n.get_property(ro))==="identified"}},{key:"_hasPersonProcessing",value:function(){var t,n,o,r;return!(this.config.person_profiles==="never"||this.config.person_profiles==="identified_only"&&!this._isIdentified()&&dl(this.getGroups())&&((t=this.persistence)===null||t===void 0||(n=t.props)===null||n===void 0||!n[Yi])&&((o=this.persistence)===null||o===void 0||(r=o.props)===null||r===void 0||!r[Nl]))}},{key:"_shouldCapturePageleave",value:function(){return this.config.capture_pageleave===!0||this.config.capture_pageleave==="if_capture_pageview"&&this.config.capture_pageview}},{key:"createPersonProfile",value:function(){this._hasPersonProcessing()||this._requirePersonProcessing("posthog.createPersonProfile")&&this.setPersonProperties({},{})}},{key:"_requirePersonProcessing",value:function(t){return this.config.person_profiles==="never"?(D.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this._register_single(Nl,!0),!0)}},{key:"_sync_opt_out_with_persistence",value:function(){var t,n,o,r,i=this.consent.isOptedOut(),a=this.config.opt_out_persistence_by_default,s=this.config.disable_persistence||i&&!!a;((t=this.persistence)===null||t===void 0?void 0:t.disabled)!==s&&((o=this.persistence)===null||o===void 0||o.set_disabled(s)),((n=this.sessionPersistence)===null||n===void 0?void 0:n.disabled)!==s&&((r=this.sessionPersistence)===null||r===void 0||r.set_disabled(s))}},{key:"opt_in_capturing",value:function(t){var n;this.consent.optInOut(!0),this._sync_opt_out_with_persistence(),(ie(t==null?void 0:t.captureEventName)||t!=null&&t.captureEventName)&&this.capture((n=t==null?void 0:t.captureEventName)!==null&&n!==void 0?n:"$opt_in",t==null?void 0:t.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this._captureInitialPageview()}},{key:"opt_out_capturing",value:function(){this.consent.optInOut(!1),this._sync_opt_out_with_persistence()}},{key:"has_opted_in_capturing",value:function(){return this.consent.isOptedIn()}},{key:"has_opted_out_capturing",value:function(){return this.consent.isOptedOut()}},{key:"clear_opt_in_out_capturing",value:function(){this.consent.reset(),this._sync_opt_out_with_persistence()}},{key:"_is_bot",value:function(){return yn?function(t,n){if(!t)return!1;var o=t.userAgent;if(o&&Pg(o,n))return!0;try{var r=t==null?void 0:t.userAgentData;if(r!=null&&r.brands&&r.brands.some(function(i){return Pg(i==null?void 0:i.brand,n)}))return!0}catch{}return!!t.webdriver}(yn,this.config.custom_blocked_useragents):void 0}},{key:"_captureInitialPageview",value:function(){te&&!this._initialPageviewCaptured&&(this._initialPageviewCaptured=!0,this.capture("$pageview",{title:te.title},{send_instantly:!0}))}},{key:"debug",value:function(t){t===!1?(E==null||E.console.log("You've disabled debug mode."),localStorage&&localStorage.removeItem("ph_debug"),this.set_config({debug:!1})):(E==null||E.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),localStorage&&localStorage.setItem("ph_debug","true"),this.set_config({debug:!0}))}}]),e}();(function(e,t){for(var n=0;n<t.length;n++)e.prototype[t[n]]=_R(e.prototype[t[n]])})(F_,["identify"]);var Dg,zg=(Dg=ba[Wr]=new F_,function(){function e(){e.done||(e.done=!0,N_=!1,ze(ba,function(t){t._dom_loaded()}))}te!=null&&te.addEventListener&&(te.readyState==="complete"?e():te.addEventListener("DOMContentLoaded",e,!1)),E&&lo(E,"load",e,!0)}(),Dg);const qI=Qe(()=>{const e=jt();if(e.public.environment==="production"){const t=zg.init(e.public.posthog.publicKey,{api_host:e.public.posthog.apiHost,person_profiles:"identified_only",capture_pageview:!1});return Yt().afterEach(o=>{Je(()=>{zg.capture("$pageview",{current_url:o.fullPath},{transport:"sendBeacon"})})}),{provide:{posthog:t}}}}),KI={position:"bottom-center",timeout:5e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!0,closeButton:"button",icon:!0,rtl:!1},YI=Qe(e=>{e.vueApp.use(uR,KI)});var Ec=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},vs=typeof window>"u"||"Deno"in globalThis;function pn(){}function XI(e,t){return typeof e=="function"?e(t):e}function ZI(e){return typeof e=="number"&&e>=0&&e!==1/0}function JI(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ng(e,t){return typeof e=="function"?e(t):e}function QI(e,t){return typeof e=="function"?e(t):e}function Fg(e,t){const{type:n="all",exact:o,fetchStatus:r,predicate:i,queryKey:a,stale:s}=e;if(a){if(o){if(t.queryHash!==Sf(a,t.options))return!1}else if(!Xa(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||r&&r!==t.state.fetchStatus||i&&!i(t))}function jg(e,t){const{exact:n,status:o,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Ya(t.options.mutationKey)!==Ya(i))return!1}else if(!Xa(t.options.mutationKey,i))return!1}return!(o&&t.state.status!==o||r&&!r(t))}function Sf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ya)(e)}function Ya(e){return JSON.stringify(e,(t,n)=>ip(n)?Object.keys(n).sort().reduce((o,r)=>(o[r]=n[r],o),{}):n)}function Xa(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Xa(e[n],t[n])):!1}function j_(e,t){if(e===t)return e;const n=Hg(e)&&Hg(t);if(n||ip(e)&&ip(t)){const o=n?e:Object.keys(e),r=o.length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{};let l=0;for(let c=0;c<a;c++){const u=n?c:i[c];(!n&&o.includes(u)||n)&&e[u]===void 0&&t[u]===void 0?(s[u]=void 0,l++):(s[u]=j_(e[u],t[u]),s[u]===e[u]&&e[u]!==void 0&&l++)}return r===a&&l===r?e:s}return t}function iD(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Hg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ip(e){if(!Wg(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Wg(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Wg(e){return Object.prototype.toString.call(e)==="[object Object]"}function e6(e){return new Promise(t=>{setTimeout(t,e)})}function t6(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?j_(e,t):t}function n6(e,t,n=0){const o=[...e,t];return n&&o.length>n?o.slice(1):o}function o6(e,t,n=0){const o=[t,...e];return n&&o.length>n?o.slice(0,-1):o}var H_=Symbol();function W_(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===H_?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var vr,Lo,oi,h0,r6=(h0=class extends Ec{constructor(){super();Re(this,vr);Re(this,Lo);Re(this,oi);ve(this,oi,t=>{if(!vs&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){I(this,Lo)||this.setEventListener(I(this,oi))}onUnsubscribe(){var t;this.hasListeners()||((t=I(this,Lo))==null||t.call(this),ve(this,Lo,void 0))}setEventListener(t){var n;ve(this,oi,t),(n=I(this,Lo))==null||n.call(this),ve(this,Lo,t(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(t){I(this,vr)!==t&&(ve(this,vr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof I(this,vr)=="boolean"?I(this,vr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},vr=new WeakMap,Lo=new WeakMap,oi=new WeakMap,h0),U_=new r6,ri,Bo,ii,m0,i6=(m0=class extends Ec{constructor(){super();Re(this,ri,!0);Re(this,Bo);Re(this,ii);ve(this,ii,t=>{if(!vs&&window.addEventListener){const n=()=>t(!0),o=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",o)}}})}onSubscribe(){I(this,Bo)||this.setEventListener(I(this,ii))}onUnsubscribe(){var t;this.hasListeners()||((t=I(this,Bo))==null||t.call(this),ve(this,Bo,void 0))}setEventListener(t){var n;ve(this,ii,t),(n=I(this,Bo))==null||n.call(this),ve(this,Bo,t(this.setOnline.bind(this)))}setOnline(t){I(this,ri)!==t&&(ve(this,ri,t),this.listeners.forEach(o=>{o(t)}))}isOnline(){return I(this,ri)}},ri=new WeakMap,Bo=new WeakMap,ii=new WeakMap,m0),Kl=new i6;function a6(e){return Math.min(1e3*2**e,3e4)}function V_(e){return(e??"online")==="online"?Kl.isOnline():!0}var G_=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function wu(e){return e instanceof G_}function q_(e){let t=!1,n=0,o=!1,r,i,a;const s=new Promise((b,_)=>{i=b,a=_}),l=b=>{var _;o||(h(new G_(b)),(_=e.abort)==null||_.call(e))},c=()=>{t=!0},u=()=>{t=!1},d=()=>U_.isFocused()&&(e.networkMode==="always"||Kl.isOnline())&&e.canRun(),p=()=>V_(e.networkMode)&&e.canRun(),f=b=>{var _;o||(o=!0,(_=e.onSuccess)==null||_.call(e,b),r==null||r(),i(b))},h=b=>{var _;o||(o=!0,(_=e.onError)==null||_.call(e,b),r==null||r(),a(b))},m=()=>new Promise(b=>{var _;r=v=>{(o||d())&&b(v)},(_=e.onPause)==null||_.call(e)}).then(()=>{var b;r=void 0,o||(b=e.onContinue)==null||b.call(e)}),y=()=>{if(o)return;let b;const _=n===0?e.initialPromise:void 0;try{b=_??e.fn()}catch(v){b=Promise.reject(v)}Promise.resolve(b).then(f).catch(v=>{var T;if(o)return;const w=e.retry??(vs?0:3),S=e.retryDelay??a6,x=typeof S=="function"?S(n,v):S,k=w===!0||typeof w=="number"&&n<w||typeof w=="function"&&w(n,v);if(t||!k){h(v);return}n++,(T=e.onFail)==null||T.call(e,n,v),e6(x).then(()=>d()?void 0:m()).then(()=>{t?h(v):y()})})};return{promise:s,cancel:l,continue:()=>(r==null||r(),s),cancelRetry:c,continueRetry:u,canStart:p,start:()=>(p()?y():m().then(y),s)}}function s6(){let e=[],t=0,n=p=>{p()},o=p=>{p()},r=p=>setTimeout(p,0);const i=p=>{r=p},a=p=>{let f;t++;try{f=p()}finally{t--,t||c()}return f},s=p=>{t?e.push(p):r(()=>{n(p)})},l=p=>(...f)=>{s(()=>{p(...f)})},c=()=>{const p=e;e=[],p.length&&r(()=>{o(()=>{p.forEach(f=>{n(f)})})})};return{batch:a,batchCalls:l,schedule:s,setNotifyFunction:p=>{n=p},setBatchNotifyFunction:p=>{o=p},setScheduler:i}}var Pt=s6(),br,g0,K_=(g0=class{constructor(){Re(this,br)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ZI(this.gcTime)&&ve(this,br,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(vs?1/0:5*60*1e3))}clearGcTimeout(){I(this,br)&&(clearTimeout(I(this,br)),ve(this,br,void 0))}},br=new WeakMap,g0),ai,si,Jt,bt,Qa,yr,fn,no,v0,l6=(v0=class extends K_{constructor(t){super();Re(this,fn);Re(this,ai);Re(this,si);Re(this,Jt);Re(this,bt);Re(this,Qa);Re(this,yr);ve(this,yr,!1),ve(this,Qa,t.defaultOptions),this.setOptions(t.options),this.observers=[],ve(this,Jt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ve(this,ai,u6(this.options)),this.state=t.state??I(this,ai),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=I(this,bt))==null?void 0:t.promise}setOptions(t){this.options={...I(this,Qa),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&I(this,Jt).remove(this)}setData(t,n){const o=t6(this.state.data,t,this.options);return vt(this,fn,no).call(this,{data:o,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),o}setState(t,n){vt(this,fn,no).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var o,r;const n=(o=I(this,bt))==null?void 0:o.promise;return(r=I(this,bt))==null||r.cancel(t),n?n.then(pn).catch(pn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(I(this,ai))}isActive(){return this.observers.some(t=>QI(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!JI(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(o=>o.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=I(this,bt))==null||n.continue()}onOnline(){var n;const t=this.observers.find(o=>o.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=I(this,bt))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),I(this,Jt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(I(this,bt)&&(I(this,yr)?I(this,bt).cancel({revert:!0}):I(this,bt).cancelRetry()),this.scheduleGc()),I(this,Jt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||vt(this,fn,no).call(this,{type:"invalidate"})}fetch(t,n){var l,c,u;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(I(this,bt))return I(this,bt).continueRetry(),I(this,bt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(p=>p.options.queryFn);d&&this.setOptions(d.options)}const o=new AbortController,r=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(ve(this,yr,!0),o.signal)})},i=()=>{const d=W_(this.options,n),p={queryKey:this.queryKey,meta:this.meta};return r(p),ve(this,yr,!1),this.options.persister?this.options.persister(d,p,this):d(p)},a={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};r(a),(l=this.options.behavior)==null||l.onFetch(a,this),ve(this,si,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&vt(this,fn,no).call(this,{type:"fetch",meta:(u=a.fetchOptions)==null?void 0:u.meta});const s=d=>{var p,f,h,m;wu(d)&&d.silent||vt(this,fn,no).call(this,{type:"error",error:d}),wu(d)||((f=(p=I(this,Jt).config).onError)==null||f.call(p,d,this),(m=(h=I(this,Jt).config).onSettled)==null||m.call(h,this.state.data,d,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return ve(this,bt,q_({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:o.abort.bind(o),onSuccess:d=>{var p,f,h,m;if(d===void 0){s(new Error(`${this.queryHash} data is undefined`));return}this.setData(d),(f=(p=I(this,Jt).config).onSuccess)==null||f.call(p,d,this),(m=(h=I(this,Jt).config).onSettled)==null||m.call(h,d,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:s,onFail:(d,p)=>{vt(this,fn,no).call(this,{type:"failed",failureCount:d,error:p})},onPause:()=>{vt(this,fn,no).call(this,{type:"pause"})},onContinue:()=>{vt(this,fn,no).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),I(this,bt).start()}},ai=new WeakMap,si=new WeakMap,Jt=new WeakMap,bt=new WeakMap,Qa=new WeakMap,yr=new WeakMap,fn=new WeakSet,no=function(t){const n=o=>{switch(t.type){case"failed":return{...o,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...c6(o.data,this.options),fetchMeta:t.meta??null};case"success":return{...o,data:t.data,dataUpdateCount:o.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=t.error;return wu(r)&&r.revert&&I(this,si)?{...I(this,si),fetchStatus:"idle"}:{...o,error:r,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...t.state}}};this.state=n(this.state),Pt.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),I(this,Jt).notify({query:this,type:"updated",action:t})})},v0);function c6(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:V_(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function u6(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,o=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var On,b0,Y_=(b0=class extends Ec{constructor(n={}){super();Re(this,On);this.config=n,ve(this,On,new Map)}build(n,o,r){const i=o.queryKey,a=o.queryHash??Sf(i,o);let s=this.get(a);return s||(s=new l6({cache:this,queryKey:i,queryHash:a,options:n.defaultQueryOptions(o),state:r,defaultOptions:n.getQueryDefaults(i)}),this.add(s)),s}add(n){I(this,On).has(n.queryHash)||(I(this,On).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const o=I(this,On).get(n.queryHash);o&&(n.destroy(),o===n&&I(this,On).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){Pt.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return I(this,On).get(n)}getAll(){return[...I(this,On).values()]}find(n){const o={exact:!0,...n};return this.getAll().find(r=>Fg(o,r))}findAll(n={}){const o=this.getAll();return Object.keys(n).length>0?o.filter(r=>Fg(n,r)):o}notify(n){Pt.batch(()=>{this.listeners.forEach(o=>{o(n)})})}onFocus(){Pt.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){Pt.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},On=new WeakMap,b0),Rn,Ct,_r,In,Co,y0,d6=(y0=class extends K_{constructor(t){super();Re(this,In);Re(this,Rn);Re(this,Ct);Re(this,_r);this.mutationId=t.mutationId,ve(this,Ct,t.mutationCache),ve(this,Rn,[]),this.state=t.state||p6(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){I(this,Rn).includes(t)||(I(this,Rn).push(t),this.clearGcTimeout(),I(this,Ct).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ve(this,Rn,I(this,Rn).filter(n=>n!==t)),this.scheduleGc(),I(this,Ct).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){I(this,Rn).length||(this.state.status==="pending"?this.scheduleGc():I(this,Ct).remove(this))}continue(){var t;return((t=I(this,_r))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var r,i,a,s,l,c,u,d,p,f,h,m,y,b,_,v,w,S,x,k;ve(this,_r,q_({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(T,R)=>{vt(this,In,Co).call(this,{type:"failed",failureCount:T,error:R})},onPause:()=>{vt(this,In,Co).call(this,{type:"pause"})},onContinue:()=>{vt(this,In,Co).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>I(this,Ct).canRun(this)}));const n=this.state.status==="pending",o=!I(this,_r).canStart();try{if(!n){vt(this,In,Co).call(this,{type:"pending",variables:t,isPaused:o}),await((i=(r=I(this,Ct).config).onMutate)==null?void 0:i.call(r,t,this));const R=await((s=(a=this.options).onMutate)==null?void 0:s.call(a,t));R!==this.state.context&&vt(this,In,Co).call(this,{type:"pending",context:R,variables:t,isPaused:o})}const T=await I(this,_r).start();return await((c=(l=I(this,Ct).config).onSuccess)==null?void 0:c.call(l,T,t,this.state.context,this)),await((d=(u=this.options).onSuccess)==null?void 0:d.call(u,T,t,this.state.context)),await((f=(p=I(this,Ct).config).onSettled)==null?void 0:f.call(p,T,null,this.state.variables,this.state.context,this)),await((m=(h=this.options).onSettled)==null?void 0:m.call(h,T,null,t,this.state.context)),vt(this,In,Co).call(this,{type:"success",data:T}),T}catch(T){try{throw await((b=(y=I(this,Ct).config).onError)==null?void 0:b.call(y,T,t,this.state.context,this)),await((v=(_=this.options).onError)==null?void 0:v.call(_,T,t,this.state.context)),await((S=(w=I(this,Ct).config).onSettled)==null?void 0:S.call(w,void 0,T,this.state.variables,this.state.context,this)),await((k=(x=this.options).onSettled)==null?void 0:k.call(x,void 0,T,t,this.state.context)),T}finally{vt(this,In,Co).call(this,{type:"error",error:T})}}finally{I(this,Ct).runNext(this)}}},Rn=new WeakMap,Ct=new WeakMap,_r=new WeakMap,In=new WeakSet,Co=function(t){const n=o=>{switch(t.type){case"failed":return{...o,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};case"pending":return{...o,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...o,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:t.error,failureCount:o.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Pt.batch(()=>{I(this,Rn).forEach(o=>{o.onMutationUpdate(t)}),I(this,Ct).notify({mutation:this,type:"updated",action:t})})},y0);function p6(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Wt,es,_0,X_=(_0=class extends Ec{constructor(n={}){super();Re(this,Wt);Re(this,es);this.config=n,ve(this,Wt,new Map),ve(this,es,Date.now())}build(n,o,r){const i=new d6({mutationCache:this,mutationId:++Ss(this,es)._,options:n.defaultMutationOptions(o),state:r});return this.add(i),i}add(n){const o=Vs(n),r=I(this,Wt).get(o)??[];r.push(n),I(this,Wt).set(o,r),this.notify({type:"added",mutation:n})}remove(n){var r;const o=Vs(n);if(I(this,Wt).has(o)){const i=(r=I(this,Wt).get(o))==null?void 0:r.filter(a=>a!==n);i&&(i.length===0?I(this,Wt).delete(o):I(this,Wt).set(o,i))}this.notify({type:"removed",mutation:n})}canRun(n){var r;const o=(r=I(this,Wt).get(Vs(n)))==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===n}runNext(n){var r;const o=(r=I(this,Wt).get(Vs(n)))==null?void 0:r.find(i=>i!==n&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}clear(){Pt.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}getAll(){return[...I(this,Wt).values()].flat()}find(n){const o={exact:!0,...n};return this.getAll().find(r=>jg(o,r))}findAll(n={}){return this.getAll().filter(o=>jg(n,o))}notify(n){Pt.batch(()=>{this.listeners.forEach(o=>{o(n)})})}resumePausedMutations(){const n=this.getAll().filter(o=>o.state.isPaused);return Pt.batch(()=>Promise.all(n.map(o=>o.continue().catch(pn))))}},Wt=new WeakMap,es=new WeakMap,_0);function Vs(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function f6(e){return{onFetch:(t,n)=>{const o=async()=>{var h,m,y,b,_;const r=t.options,i=(y=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:y.direction,a=((b=t.state.data)==null?void 0:b.pages)||[],s=((_=t.state.data)==null?void 0:_.pageParams)||[],l={pages:[],pageParams:[]};let c=!1;const u=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?c=!0:t.signal.addEventListener("abort",()=>{c=!0}),t.signal)})},d=W_(t.options,t.fetchOptions),p=async(v,w,S)=>{if(c)return Promise.reject();if(w==null&&v.pages.length)return Promise.resolve(v);const x={queryKey:t.queryKey,pageParam:w,direction:S?"backward":"forward",meta:t.options.meta};u(x);const k=await d(x),{maxPages:T}=t.options,R=S?o6:n6;return{pages:R(v.pages,k,T),pageParams:R(v.pageParams,w,T)}};let f;if(i&&a.length){const v=i==="backward",w=v?h6:Ug,S={pages:a,pageParams:s},x=w(r,S);f=await p(S,x,v)}else{f=await p(l,s[0]??r.initialPageParam);const v=e??a.length;for(let w=1;w<v;w++){const S=Ug(r,f);if(S==null)break;f=await p(f,S)}}return f};t.options.persister?t.fetchFn=()=>{var r,i;return(i=(r=t.options).persister)==null?void 0:i.call(r,o,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=o}}}function Ug(e,{pages:t,pageParams:n}){const o=t.length-1;return t.length>0?e.getNextPageParam(t[o],t,n[o],n):void 0}function h6(e,{pages:t,pageParams:n}){var o;return t.length>0?(o=e.getPreviousPageParam)==null?void 0:o.call(e,t[0],t,n[0],n):void 0}var Ke,$o,Do,li,ci,zo,ui,di,w0,m6=(w0=class{constructor(t={}){Re(this,Ke);Re(this,$o);Re(this,Do);Re(this,li);Re(this,ci);Re(this,zo);Re(this,ui);Re(this,di);ve(this,Ke,t.queryCache||new Y_),ve(this,$o,t.mutationCache||new X_),ve(this,Do,t.defaultOptions||{}),ve(this,li,new Map),ve(this,ci,new Map),ve(this,zo,0)}mount(){Ss(this,zo)._++,I(this,zo)===1&&(ve(this,ui,U_.subscribe(async t=>{t&&(await this.resumePausedMutations(),I(this,Ke).onFocus())})),ve(this,di,Kl.subscribe(async t=>{t&&(await this.resumePausedMutations(),I(this,Ke).onOnline())})))}unmount(){var t,n;Ss(this,zo)._--,I(this,zo)===0&&((t=I(this,ui))==null||t.call(this),ve(this,ui,void 0),(n=I(this,di))==null||n.call(this),ve(this,di,void 0))}isFetching(t){return I(this,Ke).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return I(this,$o).findAll({...t,status:"pending"}).length}getQueryData(t){var o;const n=this.defaultQueryOptions({queryKey:t});return(o=I(this,Ke).get(n.queryHash))==null?void 0:o.state.data}ensureQueryData(t){const n=this.getQueryData(t.queryKey);if(n===void 0)return this.fetchQuery(t);{const o=this.defaultQueryOptions(t),r=I(this,Ke).build(this,o);return t.revalidateIfStale&&r.isStaleByTime(Ng(o.staleTime,r))&&this.prefetchQuery(o),Promise.resolve(n)}}getQueriesData(t){return I(this,Ke).findAll(t).map(({queryKey:n,state:o})=>{const r=o.data;return[n,r]})}setQueryData(t,n,o){const r=this.defaultQueryOptions({queryKey:t}),i=I(this,Ke).get(r.queryHash),a=i==null?void 0:i.state.data,s=XI(n,a);if(s!==void 0)return I(this,Ke).build(this,r).setData(s,{...o,manual:!0})}setQueriesData(t,n,o){return Pt.batch(()=>I(this,Ke).findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,o)]))}getQueryState(t){var o;const n=this.defaultQueryOptions({queryKey:t});return(o=I(this,Ke).get(n.queryHash))==null?void 0:o.state}removeQueries(t){const n=I(this,Ke);Pt.batch(()=>{n.findAll(t).forEach(o=>{n.remove(o)})})}resetQueries(t,n){const o=I(this,Ke),r={type:"active",...t};return Pt.batch(()=>(o.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries(r,n)))}cancelQueries(t={},n={}){const o={revert:!0,...n},r=Pt.batch(()=>I(this,Ke).findAll(t).map(i=>i.cancel(o)));return Promise.all(r).then(pn).catch(pn)}invalidateQueries(t={},n={}){return Pt.batch(()=>{if(I(this,Ke).findAll(t).forEach(r=>{r.invalidate()}),t.refetchType==="none")return Promise.resolve();const o={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(o,n)})}refetchQueries(t={},n){const o={...n,cancelRefetch:(n==null?void 0:n.cancelRefetch)??!0},r=Pt.batch(()=>I(this,Ke).findAll(t).filter(i=>!i.isDisabled()).map(i=>{let a=i.fetch(void 0,o);return o.throwOnError||(a=a.catch(pn)),i.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(pn)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const o=I(this,Ke).build(this,n);return o.isStaleByTime(Ng(n.staleTime,o))?o.fetch(n):Promise.resolve(o.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(pn).catch(pn)}fetchInfiniteQuery(t){return t.behavior=f6(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(pn).catch(pn)}resumePausedMutations(){return Kl.isOnline()?I(this,$o).resumePausedMutations():Promise.resolve()}getQueryCache(){return I(this,Ke)}getMutationCache(){return I(this,$o)}getDefaultOptions(){return I(this,Do)}setDefaultOptions(t){ve(this,Do,t)}setQueryDefaults(t,n){I(this,li).set(Ya(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...I(this,li).values()];let o={};return n.forEach(r=>{Xa(t,r.queryKey)&&(o={...o,...r.defaultOptions})}),o}setMutationDefaults(t,n){I(this,ci).set(Ya(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...I(this,ci).values()];let o={};return n.forEach(r=>{Xa(t,r.mutationKey)&&(o={...o,...r.defaultOptions})}),o}defaultQueryOptions(t){if(t._defaulted)return t;const n={...I(this,Do).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=Sf(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.enabled!==!0&&n.queryFn===H_&&(n.enabled=!1),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...I(this,Do).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){I(this,Ke).clear(),I(this,$o).clear()}},Ke=new WeakMap,$o=new WeakMap,Do=new WeakMap,li=new WeakMap,ci=new WeakMap,zo=new WeakMap,ui=new WeakMap,di=new WeakMap,w0);function g6(e){return e}function v6(e,t,n){var l;if(typeof t!="object"||t===null)return;const o=e.getMutationCache(),r=e.getQueryCache(),i=((l=e.getDefaultOptions().hydrate)==null?void 0:l.deserializeData)??g6,a=t.mutations||[],s=t.queries||[];a.forEach(({state:c,...u})=>{var d,p;o.build(e,{...(d=e.getDefaultOptions().hydrate)==null?void 0:d.mutations,...(p=n==null?void 0:n.defaultOptions)==null?void 0:p.mutations,...u},c)}),s.forEach(({queryKey:c,state:u,queryHash:d,meta:p,promise:f})=>{var y,b;let h=r.get(d);const m=u.data===void 0?u.data:i(u.data);if(h){if(h.state.dataUpdatedAt<u.dataUpdatedAt){const{fetchStatus:_,...v}=u;h.setState({...v,data:m})}}else h=r.build(e,{...(y=e.getDefaultOptions().hydrate)==null?void 0:y.queries,...(b=n==null?void 0:n.defaultOptions)==null?void 0:b.queries,queryKey:c,queryHash:d,meta:p},{...u,data:m,fetchStatus:"idle"});if(f){const _=Promise.resolve(f).then(i);h.fetch(void 0,{initialPromise:_})}})}var b6="VUE_QUERY_CLIENT";function Z_(e){const t=e?`:${e}`:"";return`${b6}${t}`}function cD(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function ap(e,t,n="",o=0){if(t){const r=t(e,n,o);if(r===void 0&&Er(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,i)=>ap(r,t,String(i),o+1));if(typeof e=="object"&&_6(e)){const r=Object.entries(e).map(([i,a])=>[i,ap(a,t,i,o+1)]);return Object.fromEntries(r)}return e}function y6(e,t){return ap(e,t)}function Se(e,t=!1){return y6(e,(n,o,r)=>{if(r===1&&o==="queryKey")return Se(n,!0);if(t&&w6(n))return Se(n(),t);if(Er(n))return Se(g(n),t)})}function _6(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function w6(e){return typeof e=="function"}function uD(e,t){return typeof e=="function"?e(...t):!!e}function S6(e=""){if(!ec())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=Z_(e),n=gt(t);if(!n)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return n}var k6=class extends Y_{find(e){return super.find(Se(e))}findAll(e={}){return super.findAll(Se(e))}},x6=class extends X_{find(e){return super.find(Se(e))}findAll(e={}){return super.findAll(Se(e))}},J_=class extends m6{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new k6,mutationCache:e.mutationCache||new x6};super(t),this.isRestoring=B(!1)}isFetching(e={}){return super.isFetching(Se(e))}isMutating(e={}){return super.isMutating(Se(e))}getQueryData(e){return super.getQueryData(Se(e))}ensureQueryData(e){return super.ensureQueryData(Se(e))}getQueriesData(e){return super.getQueriesData(Se(e))}setQueryData(e,t,n={}){return super.setQueryData(Se(e),t,Se(n))}setQueriesData(e,t,n={}){return super.setQueriesData(Se(e),t,Se(n))}getQueryState(e){return super.getQueryState(Se(e))}removeQueries(e={}){return super.removeQueries(Se(e))}resetQueries(e={},t={}){return super.resetQueries(Se(e),Se(t))}cancelQueries(e={},t={}){return super.cancelQueries(Se(e),Se(t))}invalidateQueries(e={},t={}){return new Promise(n=>{setTimeout(async()=>{await super.invalidateQueries(Se(e),Se(t)),n()},0)})}refetchQueries(e={},t={}){return super.refetchQueries(Se(e),Se(t))}fetchQuery(e){return super.fetchQuery(Se(e))}prefetchQuery(e){return super.prefetchQuery(Se(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(Se(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(Se(e))}setDefaultOptions(e){super.setDefaultOptions(Se(e))}setQueryDefaults(e,t){super.setQueryDefaults(Se(e),Se(t))}getQueryDefaults(e){return super.getQueryDefaults(Se(e))}setMutationDefaults(e,t){super.setMutationDefaults(Se(e),Se(t))}getMutationDefaults(e){return super.getMutationDefaults(Se(e))}},E6={install:(e,t={})=>{const n=Z_(t.queryClientKey);let o;if("queryClient"in t&&t.queryClient)o=t.queryClient;else{const a="queryClientConfig"in t?t.queryClientConfig:void 0;o=new J_(a)}vs||o.mount();let r=()=>{};if(t.clientPersister){o.isRestoring.value=!0;const[a,s]=t.clientPersister(o);r=a,s.then(()=>{var l;o.isRestoring.value=!1,(l=t.clientPersisterOnSuccess)==null||l.call(t,o)})}const i=()=>{o.unmount(),r()};if(e.onUnmount)e.onUnmount(i);else{const a=e.unmount;e.unmount=function(){i(),a()}}e.provide(n,o)}};function dD(e){return e}const T6=Qe(e=>{const t=lc("vue-query"),n=new J_({defaultOptions:{queries:{staleTime:5e3}}}),o={queryClient:n};e.vueApp.use(E6,o),v6(n,t.value)}),C6=[zk,Fk,xE,PE,OE,RE,IE,LE,WE,qE,KE,jA,HA,oP,J5,dR,gR,qI,YI,T6];function M6(e,t){const n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function A6(e={}){const{duration:t=2e3,throttle:n=200,hideDelay:o=500,resetDelay:r=400}=e,i=e.estimatedProgress||M6,a=$e(),s=B(0),l=B(!1),c=B(!1);let u=!1,d,p,f,h;const m=()=>{c.value=!1,y(0)};function y(k=0){if(!a.isHydrating){if(k>=100)return _();w(),s.value=k<0?0:k,n?p=setTimeout(()=>{l.value=!0,S()},n):(l.value=!0,S())}}function b(){f=setTimeout(()=>{l.value=!1,h=setTimeout(()=>{s.value=0},r)},o)}function _(k={}){s.value=100,u=!0,w(),v(),k.error&&(c.value=!0),k.force?(s.value=0,l.value=!1):b()}function v(){clearTimeout(f),clearTimeout(h)}function w(){clearTimeout(p),cancelAnimationFrame(d)}function S(){u=!1;let k;function T(R){if(u)return;k??(k=R);const N=R-k;s.value=Math.max(0,Math.min(100,i(t,N))),d=requestAnimationFrame(T)}d=requestAnimationFrame(T)}let x=()=>{};{const k=a.hook("page:loading:start",()=>{m()}),T=a.hook("page:loading:end",()=>{_()}),R=a.hook("vue:error",()=>_());x=()=>{R(),k(),T(),w()}}return{_cleanup:x,progress:$(()=>s.value),isLoading:$(()=>l.value),error:$(()=>c.value),start:m,set:y,finish:_,clear:w}}function P6(e={}){const t=$e(),n=t._loadingIndicator=t._loadingIndicator||A6(e);return rr()&&(t._loadingIndicatorDeps=t._loadingIndicatorDeps||0,t._loadingIndicatorDeps++,Or(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}const O6=L({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"},errorColor:{type:String,default:"repeating-linear-gradient(to right,#f87171 0%,#ef4444 100%)"},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){const{progress:o,isLoading:r,error:i,start:a,finish:s,clear:l}=P6({duration:e.duration,throttle:e.throttle,estimatedProgress:e.estimatedProgress});return n({progress:o,isLoading:r,error:i,start:a,finish:s,clear:l}),()=>je("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:r.value?1:0,background:i.value?e.errorColor:e.color||void 0,backgroundSize:`${100/o.value*100}% auto`,transform:`scaleX(${o.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}}),R6=L({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,o={};for(const r in e.route)Object.defineProperty(o,r,{get:()=>t===e.renderKey?e.route[r]:n[r]});return Wo(os,No(o)),()=>je(e.vnode,{ref:e.vnodeRef})}}),I6=L({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:o}){const r=$e(),i=B(),a=gt(os,null);let s;o({pageRef:i});const l=gt(q0,null);let c;const u=r.deferHydration();if(r.isHydrating){const d=r.hooks.hookOnce("app:error",u);Yt().beforeEach(d)}return e.pageKey&&be(()=>e.pageKey,(d,p)=>{d!==p&&r.callHook("page:loading:start")}),()=>je(kv,{name:e.name,route:e.route,...t},{default:d=>{const p=B6(a,d.route,d.Component),f=a&&a.matched.length===d.route.matched.length;if(!d.Component){if(c&&!f)return c;u();return}if(c&&l&&!l.isCurrent(d.route))return c;if(p&&a&&(!l||l!=null&&l.isCurrent(a)))return f?c:null;const h=Xu(d,e.pageKey);!r.isHydrating&&!$6(a,d.route,d.Component)&&s===h&&r.callHook("page:loading:end"),s=h;const m=!!(e.transition??d.route.meta.pageTransition??$u),y=m&&L6([e.transition,d.route.meta.pageTransition,$u,{onAfterLeave:()=>{r.callHook("page:transition:finish",d.Component)}}].filter(Boolean)),b=e.keepalive??d.route.meta.keepalive??sS;return c=Lv(T0,m&&y,G2(b,je(vp,{suspensible:!0,onPending:()=>r.callHook("page:start",d.Component),onResolve:()=>{Je(()=>r.callHook("page:finish",d.Component).then(()=>r.callHook("page:loading:end")).finally(u))}},{default:()=>{const _=je(R6,{key:h||void 0,vnode:n.default?je(ho,void 0,n.default(d)):d.Component,route:d.route,renderKey:h||void 0,trackRootNodes:m,vnodeRef:i});return b&&(_.type.name=d.Component.type.name||d.Component.type.__name||"RouteProvider"),_}}))).default(),c}})}});function L6(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Pp(n.onAfterLeave):void 0}));return oc(...t)}function B6(e,t,n){if(!e)return!1;const o=t.matched.findIndex(r=>{var i;return((i=r.components)==null?void 0:i.default)===(n==null?void 0:n.type)});return!o||o===-1?!1:t.matched.slice(0,o).some((r,i)=>{var a,s,l;return((a=r.components)==null?void 0:a.default)!==((l=(s=e.matched[i])==null?void 0:s.components)==null?void 0:l.default)})||n&&Xu({route:t,Component:n})!==Xu({route:e,Component:n})}function $6(e,t,n){return e?t.matched.findIndex(r=>{var i;return((i=r.components)==null?void 0:i.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}const D6=L({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await Fo[e.name]().then(o=>o.default||o);return()=>je(n,e.layoutProps,t.slots)}}),z6=L({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=$e(),o=gt(os),r=o===kp()?U2():o,i=$(()=>{let l=g(e.name)??r.meta.layout??"default";return l&&!(l in Fo)&&e.fallback&&(l=g(e.fallback)),l}),a=B();t.expose({layoutRef:a});const s=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",s);Yt().beforeEach(l)}return()=>{const l=i.value&&i.value in Fo,c=r.meta.layoutTransition??aS;return Lv(T0,l&&c,{default:()=>je(vp,{suspensible:!0,onResolve:()=>{Je(s)}},{default:()=>je(N6,{layoutProps:ae(t.attrs,{ref:a}),key:i.value||void 0,name:i.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),N6=L({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&Wo(q0,{isCurrent:o=>n===(o.meta.layout??"default")}),()=>{var o,r;return!n||typeof n=="string"&&!(n in Fo)?(r=(o=t.slots).default)==null?void 0:r.call(o):je(D6,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),F6=["top","right","bottom","left"],$n=Math.min,Ut=Math.max,Yl=Math.round,Gs=Math.floor,er=e=>({x:e,y:e}),j6={left:"right",right:"left",bottom:"top",top:"bottom"},H6={start:"end",end:"start"};function sp(e,t,n){return Ut(e,$n(t,n))}function vo(e,t){return typeof e=="function"?e(t):e}function bo(e){return e.split("-")[0]}function $i(e){return e.split("-")[1]}function kf(e){return e==="x"?"y":"x"}function xf(e){return e==="y"?"height":"width"}function tr(e){return["top","bottom"].includes(bo(e))?"y":"x"}function Ef(e){return kf(tr(e))}function W6(e,t,n){n===void 0&&(n=!1);const o=$i(e),r=Ef(e),i=xf(r);let a=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Xl(a)),[a,Xl(a)]}function U6(e){const t=Xl(e);return[lp(e),t,lp(t)]}function lp(e){return e.replace(/start|end/g,t=>H6[t])}function V6(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:a;default:return[]}}function G6(e,t,n,o){const r=$i(e);let i=V6(bo(e),n==="start",o);return r&&(i=i.map(a=>a+"-"+r),t&&(i=i.concat(i.map(lp)))),i}function Xl(e){return e.replace(/left|right|bottom|top/g,t=>j6[t])}function q6(e){return{top:0,right:0,bottom:0,left:0,...e}}function Q_(e){return typeof e!="number"?q6(e):{top:e,right:e,bottom:e,left:e}}function Zl(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Vg(e,t,n){let{reference:o,floating:r}=e;const i=tr(t),a=Ef(t),s=xf(a),l=bo(t),c=i==="y",u=o.x+o.width/2-r.width/2,d=o.y+o.height/2-r.height/2,p=o[s]/2-r[s]/2;let f;switch(l){case"top":f={x:u,y:o.y-r.height};break;case"bottom":f={x:u,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-r.width,y:d};break;default:f={x:o.x,y:o.y}}switch($i(t)){case"start":f[a]-=p*(n&&c?-1:1);break;case"end":f[a]+=p*(n&&c?-1:1);break}return f}const K6=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:d}=Vg(c,o,l),p=o,f={},h=0;for(let m=0;m<s.length;m++){const{name:y,fn:b}=s[m],{x:_,y:v,data:w,reset:S}=await b({x:u,y:d,initialPlacement:o,placement:p,strategy:r,middlewareData:f,rects:c,platform:a,elements:{reference:e,floating:t}});u=_??u,d=v??d,f={...f,[y]:{...f[y],...w}},S&&h<=50&&(h++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(c=S.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:u,y:d}=Vg(c,p,l)),m=-1)}return{x:u,y:d,placement:p,strategy:r,middlewareData:f}};async function Za(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=vo(t,e),h=Q_(f),y=s[p?d==="floating"?"reference":"floating":d],b=Zl(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(y)))==null||n?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),_=d==="floating"?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),w=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},S=Zl(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:_,offsetParent:v,strategy:l}):_);return{top:(b.top-S.top+h.top)/w.y,bottom:(S.bottom-b.bottom+h.bottom)/w.y,left:(b.left-S.left+h.left)/w.x,right:(S.right-b.right+h.right)/w.x}}const Y6=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=vo(e,t)||{};if(c==null)return{};const d=Q_(u),p={x:n,y:o},f=Ef(r),h=xf(f),m=await a.getDimensions(c),y=f==="y",b=y?"top":"left",_=y?"bottom":"right",v=y?"clientHeight":"clientWidth",w=i.reference[h]+i.reference[f]-p[f]-i.floating[h],S=p[f]-i.reference[f],x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c));let k=x?x[v]:0;(!k||!await(a.isElement==null?void 0:a.isElement(x)))&&(k=s.floating[v]||i.floating[h]);const T=w/2-S/2,R=k/2-m[h]/2-1,N=$n(d[b],R),K=$n(d[_],R),ne=N,_e=k-m[h]-K,U=k/2-m[h]/2+T,z=sp(ne,U,_e),A=!l.arrow&&$i(r)!=null&&U!==z&&i.reference[h]/2-(U<ne?N:K)-m[h]/2<0,V=A?U<ne?U-ne:U-_e:0;return{[f]:p[f]+V,data:{[f]:z,centerOffset:U-z-V,...A&&{alignmentOffset:V}},reset:A}}}),X6=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...y}=vo(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const b=bo(r),_=tr(s),v=bo(s)===s,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=p||(v||!m?[Xl(s)]:U6(s)),x=h!=="none";!p&&x&&S.push(...G6(s,m,h,w));const k=[s,...S],T=await Za(t,y),R=[];let N=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&R.push(T[b]),d){const U=W6(r,a,w);R.push(T[U[0]],T[U[1]])}if(N=[...N,{placement:r,overflows:R}],!R.every(U=>U<=0)){var K,ne;const U=(((K=i.flip)==null?void 0:K.index)||0)+1,z=k[U];if(z)return{data:{index:U,overflows:N},reset:{placement:z}};let A=(ne=N.filter(V=>V.overflows[0]<=0).sort((V,j)=>V.overflows[1]-j.overflows[1])[0])==null?void 0:ne.placement;if(!A)switch(f){case"bestFit":{var _e;const V=(_e=N.filter(j=>{if(x){const ee=tr(j.placement);return ee===_||ee==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(ee=>ee>0).reduce((ee,re)=>ee+re,0)]).sort((j,ee)=>j[1]-ee[1])[0])==null?void 0:_e[0];V&&(A=V);break}case"initialPlacement":A=s;break}if(r!==A)return{reset:{placement:A}}}return{}}}};function Gg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function qg(e){return F6.some(t=>e[t]>=0)}const Z6=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=vo(e,t);switch(o){case"referenceHidden":{const i=await Za(t,{...r,elementContext:"reference"}),a=Gg(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:qg(a)}}}case"escaped":{const i=await Za(t,{...r,altBoundary:!0}),a=Gg(i,n.floating);return{data:{escapedOffsets:a,escaped:qg(a)}}}default:return{}}}}};async function J6(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),a=bo(n),s=$i(n),l=tr(n)==="y",c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=vo(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof h=="number"&&(f=s==="end"?h*-1:h),l?{x:f*u,y:p*c}:{x:p*c,y:f*u}}const Q6=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:a,middlewareData:s}=t,l=await J6(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:a}}}}},eL=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:y=>{let{x:b,y:_}=y;return{x:b,y:_}}},...l}=vo(e,t),c={x:n,y:o},u=await Za(t,l),d=tr(bo(r)),p=kf(d);let f=c[p],h=c[d];if(i){const y=p==="y"?"top":"left",b=p==="y"?"bottom":"right",_=f+u[y],v=f-u[b];f=sp(_,f,v)}if(a){const y=d==="y"?"top":"left",b=d==="y"?"bottom":"right",_=h+u[y],v=h-u[b];h=sp(_,h,v)}const m=s.fn({...t,[p]:f,[d]:h});return{...m,data:{x:m.x-n,y:m.y-o}}}}},tL=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=vo(e,t),u={x:n,y:o},d=tr(r),p=kf(d);let f=u[p],h=u[d];const m=vo(s,t),y=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const v=p==="y"?"height":"width",w=i.reference[p]-i.floating[v]+y.mainAxis,S=i.reference[p]+i.reference[v]-y.mainAxis;f<w?f=w:f>S&&(f=S)}if(c){var b,_;const v=p==="y"?"width":"height",w=["top","left"].includes(bo(r)),S=i.reference[d]-i.floating[v]+(w&&((b=a.offset)==null?void 0:b[d])||0)+(w?0:y.crossAxis),x=i.reference[d]+i.reference[v]+(w?0:((_=a.offset)==null?void 0:_[d])||0)-(w?y.crossAxis:0);h<S?h=S:h>x&&(h=x)}return{[p]:f,[d]:h}}}},nL=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:r,elements:i}=t,{apply:a=()=>{},...s}=vo(e,t),l=await Za(t,s),c=bo(n),u=$i(n),d=tr(n)==="y",{width:p,height:f}=o.floating;let h,m;c==="top"||c==="bottom"?(h=c,m=u===(await(r.isRTL==null?void 0:r.isRTL(i.floating))?"start":"end")?"left":"right"):(m=c,h=u==="end"?"top":"bottom");const y=f-l.top-l.bottom,b=p-l.left-l.right,_=$n(f-l[h],y),v=$n(p-l[m],b),w=!t.middlewareData.shift;let S=_,x=v;if(d?x=u||w?$n(v,b):b:S=u||w?$n(_,y):y,w&&!u){const T=Ut(l.left,0),R=Ut(l.right,0),N=Ut(l.top,0),K=Ut(l.bottom,0);d?x=p-2*(T!==0||R!==0?T+R:Ut(l.left,l.right)):S=f-2*(N!==0||K!==0?N+K:Ut(l.top,l.bottom))}await a({...t,availableWidth:x,availableHeight:S});const k=await r.getDimensions(i.floating);return p!==k.width||f!==k.height?{reset:{rects:!0}}:{}}}};function Dr(e){return Tf(e)?(e.nodeName||"").toLowerCase():"#document"}function Kt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function wo(e){var t;return(t=(Tf(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Tf(e){return e instanceof Node||e instanceof Kt(e).Node}function Vn(e){return e instanceof Element||e instanceof Kt(e).Element}function Gn(e){return e instanceof HTMLElement||e instanceof Kt(e).HTMLElement}function Kg(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Kt(e).ShadowRoot}function bs(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=kn(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function oL(e){return["table","td","th"].includes(Dr(e))}function Tc(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Cf(e){const t=Mf(),n=kn(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function rL(e){let t=nr(e);for(;Gn(t)&&!Ei(t);){if(Tc(t))return null;if(Cf(t))return t;t=nr(t)}return null}function Mf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ei(e){return["html","body","#document"].includes(Dr(e))}function kn(e){return Kt(e).getComputedStyle(e)}function Cc(e){return Vn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function nr(e){if(Dr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Kg(e)&&e.host||wo(e);return Kg(t)?t.host:t}function ew(e){const t=nr(e);return Ei(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gn(t)&&bs(t)?t:ew(t)}function Ja(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ew(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),a=Kt(r);return i?t.concat(a,a.visualViewport||[],bs(r)?r:[],a.frameElement&&n?Ja(a.frameElement):[]):t.concat(r,Ja(r,[],n))}function tw(e){const t=kn(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Gn(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,s=Yl(n)!==i||Yl(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}function Af(e){return Vn(e)?e:e.contextElement}function ni(e){const t=Af(e);if(!Gn(t))return er(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=tw(t);let a=(i?Yl(n.width):n.width)/o,s=(i?Yl(n.height):n.height)/r;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const iL=er(0);function nw(e){const t=Kt(e);return!Mf()||!t.visualViewport?iL:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function aL(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Kt(e)?!1:t}function Pr(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=Af(e);let a=er(1);t&&(o?Vn(o)&&(a=ni(o)):a=ni(e));const s=aL(i,n,o)?nw(i):er(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const p=Kt(i),f=o&&Vn(o)?Kt(o):o;let h=p,m=h.frameElement;for(;m&&o&&f!==h;){const y=ni(m),b=m.getBoundingClientRect(),_=kn(m),v=b.left+(m.clientLeft+parseFloat(_.paddingLeft))*y.x,w=b.top+(m.clientTop+parseFloat(_.paddingTop))*y.y;l*=y.x,c*=y.y,u*=y.x,d*=y.y,l+=v,c+=w,h=Kt(m),m=h.frameElement}}return Zl({width:u,height:d,x:l,y:c})}function sL(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",a=wo(o),s=t?Tc(t.floating):!1;if(o===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=er(1);const u=er(0),d=Gn(o);if((d||!d&&!i)&&((Dr(o)!=="body"||bs(a))&&(l=Cc(o)),Gn(o))){const p=Pr(o);c=ni(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y}}function lL(e){return Array.from(e.getClientRects())}function ow(e){return Pr(wo(e)).left+Cc(e).scrollLeft}function cL(e){const t=wo(e),n=Cc(e),o=e.ownerDocument.body,r=Ut(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Ut(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+ow(e);const s=-n.scrollTop;return kn(o).direction==="rtl"&&(a+=Ut(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:s}}function uL(e,t){const n=Kt(e),o=wo(e),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;const c=Mf();(!c||c&&t==="fixed")&&(s=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:s,y:l}}function dL(e,t){const n=Pr(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=Gn(e)?ni(e):er(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=r*i.x,c=o*i.y;return{width:a,height:s,x:l,y:c}}function Yg(e,t,n){let o;if(t==="viewport")o=uL(e,n);else if(t==="document")o=cL(wo(e));else if(Vn(t))o=dL(t,n);else{const r=nw(e);o={...t,x:t.x-r.x,y:t.y-r.y}}return Zl(o)}function rw(e,t){const n=nr(e);return n===t||!Vn(n)||Ei(n)?!1:kn(n).position==="fixed"||rw(n,t)}function pL(e,t){const n=t.get(e);if(n)return n;let o=Ja(e,[],!1).filter(s=>Vn(s)&&Dr(s)!=="body"),r=null;const i=kn(e).position==="fixed";let a=i?nr(e):e;for(;Vn(a)&&!Ei(a);){const s=kn(a),l=Cf(a);!l&&s.position==="fixed"&&(r=null),(i?!l&&!r:!l&&s.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||bs(a)&&!l&&rw(e,a))?o=o.filter(u=>u!==a):r=s,a=nr(a)}return t.set(e,o),o}function fL(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const a=[...n==="clippingAncestors"?Tc(t)?[]:pL(t,this._c):[].concat(n),o],s=a[0],l=a.reduce((c,u)=>{const d=Yg(t,u,r);return c.top=Ut(d.top,c.top),c.right=$n(d.right,c.right),c.bottom=$n(d.bottom,c.bottom),c.left=Ut(d.left,c.left),c},Yg(t,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function hL(e){const{width:t,height:n}=tw(e);return{width:t,height:n}}function mL(e,t,n){const o=Gn(t),r=wo(t),i=n==="fixed",a=Pr(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=er(0);if(o||!o&&!i)if((Dr(t)!=="body"||bs(r))&&(s=Cc(t)),o){const d=Pr(t,!0,i,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else r&&(l.x=ow(r));const c=a.left+s.scrollLeft-l.x,u=a.top+s.scrollTop-l.y;return{x:c,y:u,width:a.width,height:a.height}}function Su(e){return kn(e).position==="static"}function Xg(e,t){return!Gn(e)||kn(e).position==="fixed"?null:t?t(e):e.offsetParent}function iw(e,t){const n=Kt(e);if(Tc(e))return n;if(!Gn(e)){let r=nr(e);for(;r&&!Ei(r);){if(Vn(r)&&!Su(r))return r;r=nr(r)}return n}let o=Xg(e,t);for(;o&&oL(o)&&Su(o);)o=Xg(o,t);return o&&Ei(o)&&Su(o)&&!Cf(o)?n:o||rL(e)||n}const gL=async function(e){const t=this.getOffsetParent||iw,n=this.getDimensions,o=await n(e.floating);return{reference:mL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function vL(e){return kn(e).direction==="rtl"}const bL={convertOffsetParentRelativeRectToViewportRelativeRect:sL,getDocumentElement:wo,getClippingRect:fL,getOffsetParent:iw,getElementRects:gL,getClientRects:lL,getDimensions:hL,getScale:ni,isElement:Vn,isRTL:vL};function yL(e,t){let n=null,o;const r=wo(e);function i(){var s;clearTimeout(o),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const f=Gs(u),h=Gs(r.clientWidth-(c+d)),m=Gs(r.clientHeight-(u+p)),y=Gs(c),_={rootMargin:-f+"px "+-h+"px "+-m+"px "+-y+"px",threshold:Ut(0,$n(1,l))||1};let v=!0;function w(S){const x=S[0].intersectionRatio;if(x!==l){if(!v)return a();x?a(!1,x):o=setTimeout(()=>{a(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(w,{..._,root:r.ownerDocument})}catch{n=new IntersectionObserver(w,_)}n.observe(e)}return a(!0),i}function _L(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,c=Af(e),u=r||i?[...c?Ja(c):[],...Ja(t)]:[];u.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),i&&b.addEventListener("resize",n)});const d=c&&s?yL(c,n):null;let p=-1,f=null;a&&(f=new ResizeObserver(b=>{let[_]=b;_&&_.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var v;(v=f)==null||v.observe(t)})),n()}),c&&!l&&f.observe(c),f.observe(t));let h,m=l?Pr(e):null;l&&y();function y(){const b=Pr(e);m&&(b.x!==m.x||b.y!==m.y||b.width!==m.width||b.height!==m.height)&&n(),m=b,h=requestAnimationFrame(y)}return n(),()=>{var b;u.forEach(_=>{r&&_.removeEventListener("scroll",n),i&&_.removeEventListener("resize",n)}),d==null||d(),(b=f)==null||b.disconnect(),f=null,l&&cancelAnimationFrame(h)}}const wL=Q6,SL=eL,Zg=X6,kL=nL,xL=Z6,EL=Y6,TL=tL,CL=(e,t,n)=>{const o=new Map,r={platform:bL,...n},i={...r.platform,_c:o};return K6(e,t,{...r,platform:i})};function ML(e){return e!=null&&typeof e=="object"&&"$el"in e}function cp(e){if(ML(e)){const t=e.$el;return Tf(t)&&Dr(t)==="#comment"?null:t}return e}function Ur(e){return typeof e=="function"?e():g(e)}function AL(e){return{name:"arrow",options:e,fn(t){const n=cp(Ur(e.element));return n==null?{}:EL({element:n,padding:e.padding}).fn(t)}}}function aw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Jg(e,t){const n=aw(e);return Math.round(t*n)/n}function PL(e,t,n){n===void 0&&(n={});const o=n.whileElementsMounted,r=$(()=>{var k;return(k=Ur(n.open))!=null?k:!0}),i=$(()=>Ur(n.middleware)),a=$(()=>{var k;return(k=Ur(n.placement))!=null?k:"bottom"}),s=$(()=>{var k;return(k=Ur(n.strategy))!=null?k:"absolute"}),l=$(()=>{var k;return(k=Ur(n.transform))!=null?k:!0}),c=$(()=>cp(e.value)),u=$(()=>cp(t.value)),d=B(0),p=B(0),f=B(s.value),h=B(a.value),m=xr({}),y=B(!1),b=$(()=>{const k={position:f.value,left:"0",top:"0"};if(!u.value)return k;const T=Jg(u.value,d.value),R=Jg(u.value,p.value);return l.value?{...k,transform:"translate("+T+"px, "+R+"px)",...aw(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:T+"px",top:R+"px"}});let _;function v(){c.value==null||u.value==null||CL(c.value,u.value,{middleware:i.value,placement:a.value,strategy:s.value}).then(k=>{d.value=k.x,p.value=k.y,f.value=k.strategy,h.value=k.placement,m.value=k.middlewareData,y.value=!0})}function w(){typeof _=="function"&&(_(),_=void 0)}function S(){if(w(),o===void 0){v();return}if(c.value!=null&&u.value!=null){_=o(c.value,u.value,v);return}}function x(){r.value||(y.value=!1)}return be([i,a,s],v,{flush:"sync"}),be([c,u],S,{flush:"sync"}),be(r,x,{flush:"sync"}),rr()&&Or(w),{x:zr(d),y:zr(p),strategy:zr(f),placement:zr(h),middlewareData:zr(m),isPositioned:zr(y),floatingStyles:b,update:v}}function at(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(n);return[r=>{const i=gt(o,r);if(i||i===null)return i;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},r=>(Wo(o,r),r)]}function sw(e,t,n){const o=n.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(r)}function OL(e,t=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(Math.max(e,t),n)}function RL(e,t){var n;const o=xr();return Rt(()=>{o.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),A0(o)}function Di(e){return rr()?(Or(e),!0):!1}function IL(){const e=new Set,t=n=>{e.delete(n)};return{on:n=>{e.add(n);const o=()=>t(n);return Di(o),{off:o}},off:t,trigger:(...n)=>Promise.all(Array.from(e).map(o=>o(...n)))}}function LL(e){let t=!1,n;const o=ts(!0);return(...r)=>(t||(n=o.run(()=>e(...r)),t=!0),n)}function BL(e){let t=0,n,o;const r=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return(...i)=>(t+=1,n||(o=ts(!0),n=o.run(()=>e(...i))),Di(r),n)}function Fn(e){return typeof e=="function"?e():g(e)}const So=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const $L=e=>typeof e<"u",DL=Object.prototype.toString,zL=e=>DL.call(e)==="[object Object]",up=()=>{},Qg=NL();function NL(){var e,t;return So&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function FL(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}function jL(e,t={}){let n,o,r=up;const i=a=>{clearTimeout(a),r(),r=up};return a=>{const s=Fn(e),l=Fn(t.maxWait);return n&&i(n),s<=0||l!==void 0&&l<=0?(o&&(i(o),o=null),Promise.resolve(a())):new Promise((c,u)=>{r=t.rejectOnCancel?u:c,l&&!o&&(o=setTimeout(()=>{n&&i(n),o=null,c(a())},l)),n=setTimeout(()=>{o&&i(o),o=null,c(a())},s)})}}function HL(e){return Xt()}function WL(e,t=1e4){return S0((n,o)=>{let r=Fn(e),i;const a=()=>setTimeout(()=>{r=Fn(e),o()},Fn(t));return Di(()=>{clearTimeout(i)}),{get(){return n(),r},set(s){r=s,o(),clearTimeout(i),i=a()}}})}function lw(e,t=200,n={}){return FL(jL(t,n),e)}function UL(e,t){HL()&&Yw(e,t)}function cw(e,t,n={}){const{immediate:o=!0}=n,r=B(!1);let i=null;function a(){i&&(clearTimeout(i),i=null)}function s(){r.value=!1,a()}function l(...c){a(),r.value=!0,i=setTimeout(()=>{r.value=!1,i=null,e(...c)},Fn(t))}return o&&(r.value=!0,So&&l()),Di(s),{isPending:A0(r),start:l,stop:s}}function VL(e,t,n){const o=be(e,(...r)=>(Je(()=>o()),t(...r)),n);return o}function yo(e){var t;const n=Fn(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Pf=So?window:void 0;function Jl(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=Pf):[t,n,o,r]=e,!t)return up;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},s=(u,d,p,f)=>(u.addEventListener(d,p,f),()=>u.removeEventListener(d,p,f)),l=be(()=>[yo(t),Fn(r)],([u,d])=>{if(a(),!u)return;const p=zL(d)?{...d}:d;i.push(...n.flatMap(f=>o.map(h=>s(u,f,h,p))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Di(c),c}function GL(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function qL(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Pf,eventName:i="keydown",passive:a=!1,dedupe:s=!1}=o,l=GL(t);return Jl(r,i,c=>{c.repeat&&Fn(s)||l(c)&&n(c)},a)}function uw(){const e=B(!1),t=Xt();return t&&Xe(()=>{e.value=!0},t),e}function KL(e){const t=uw();return $(()=>(t.value,!!e()))}function YL(e){return JSON.parse(JSON.stringify(e))}function Ti(e,t,n={}){const{window:o=Pf,...r}=n;let i;const a=KL(()=>o&&"ResizeObserver"in o),s=()=>{i&&(i.disconnect(),i=void 0)},l=$(()=>Array.isArray(e)?e.map(d=>yo(d)):[yo(e)]),c=be(l,d=>{if(s(),a.value&&o){i=new ResizeObserver(t);for(const p of d)p&&i.observe(p,r)}},{immediate:!0,flush:"post"}),u=()=>{s(),c()};return Di(u),{isSupported:a,stop:u}}function qn(e,t,n,o={}){var r,i,a;const{clone:s=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:d,shouldEmit:p}=o,f=Xt(),h=n||(f==null?void 0:f.emit)||((r=f==null?void 0:f.$emit)==null?void 0:r.bind(f))||((a=(i=f==null?void 0:f.proxy)==null?void 0:i.$emit)==null?void 0:a.bind(f==null?void 0:f.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const y=v=>s?typeof s=="function"?s(v):YL(v):v,b=()=>$L(e[t])?y(e[t]):d,_=v=>{p?p(v)&&h(m,v):h(m,v)};if(l){const v=b(),w=B(v);let S=!1;return be(()=>e[t],x=>{S||(S=!0,w.value=y(x),Je(()=>S=!1))}),be(w,x=>{!S&&(x!==e[t]||u)&&_(x)},{deep:u}),w}else return $({get(){return b()},set(v){_(v)}})}function Of(e){return e?e.flatMap(t=>t.type===ho?Of(t.children):[t]):[]}const XL=["INPUT","TEXTAREA"];function ZL(e,t,n,o={}){if(!t||o.enableIgnoredElement&&XL.includes(t.nodeName))return null;const{arrowKeyOptions:r="both",attributeName:i="[data-radix-vue-collection-item]",itemsArray:a=[],loop:s=!0,dir:l="ltr",preventScroll:c=!0,focus:u=!1}=o,[d,p,f,h,m,y]=[e.key==="ArrowRight",e.key==="ArrowLeft",e.key==="ArrowUp",e.key==="ArrowDown",e.key==="Home",e.key==="End"],b=f||h,_=d||p;if(!m&&!y&&(!b&&!_||r==="vertical"&&_||r==="horizontal"&&b))return null;const v=a;if(!v.length)return null;c&&e.preventDefault();let w=null;return _||b?w=dw(v,t,{goForward:b?h:l==="ltr"?d:p,loop:s}):m?w=v.at(0)||null:y&&(w=v.at(-1)||null),u&&(w==null||w.focus()),w}function dw(e,t,n,o=e.length){if(--o===0)return null;const r=e.indexOf(t),i=n.goForward?r+1:r-1;if(!n.loop&&(i<0||i>=e.length))return null;const a=(i+e.length)%e.length,s=e[a];return s?s.hasAttribute("disabled")&&s.getAttribute("disabled")!=="false"?dw(e,s,n,o):s:null}function ku(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function dp(e,t,n=".",o){if(!ku(t))return dp(e,{},n);const r=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const a=e[i];a!=null&&(Array.isArray(a)&&Array.isArray(r[i])?r[i]=[...a,...r[i]]:ku(a)&&ku(r[i])?r[i]=dp(a,r[i],(n?`${n}.`:"")+i.toString()):r[i]=a)}return r}function JL(e){return(...t)=>t.reduce((n,o)=>dp(n,o,""),{})}const QL=JL(),[Mc,eB]=at("ConfigProvider"),tB=L({__name:"ConfigProvider",props:{dir:{default:"ltr"},scrollBody:{type:[Boolean,Object],default:!0},nonce:{default:void 0},useId:{type:Function,default:void 0}},setup(e){const t=e,{dir:n,scrollBody:o,nonce:r}=xt(t);return eB({dir:n,scrollBody:o,nonce:r,useId:t.useId}),(i,a)=>W(i.$slots,"default")}});let nB="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",oB=(e=21)=>{let t="",n=e;for(;n--;)t+=nB[Math.random()*64|0];return t};const rB=BL(()=>{const e=B(new Map),t=B(),n=$(()=>{for(const a of e.value.values())if(a)return!0;return!1}),o=Mc({scrollBody:B(!0)});let r=null;const i=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",Qg&&(r==null||r()),t.value=void 0};return be(n,(a,s)=>{var l;if(!So)return;if(!a){s&&i();return}t.value===void 0&&(t.value=document.body.style.overflow);const c=window.innerWidth-document.documentElement.clientWidth,u={padding:c,margin:0},d=(l=o.scrollBody)!=null&&l.value?typeof o.scrollBody.value=="object"?QL({padding:o.scrollBody.value.padding===!0?c:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?c:o.scrollBody.value.margin},u):u:{padding:0,margin:0};c>0&&(document.body.style.paddingRight=`${d.padding}px`,document.body.style.marginRight=`${d.margin}px`,document.body.style.setProperty("--scrollbar-width",`${c}px`),document.body.style.overflow="hidden"),Qg&&(r=Jl(document,"touchmove",p=>{var f;p.target===document.documentElement&&(p.touches.length>1||(f=p.preventDefault)==null||f.call(p))},{passive:!1})),Je(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function pw(e){const t=oB(6),n=rB();n.value.set(t,e??!1);const o=$({get:()=>n.value.get(t)??!1,set:r=>n.value.set(t,r)});return UL(()=>{n.value.delete(t)}),o}function Ac(e){const t=Mc({dir:B("ltr")});return $(()=>{var n;return(e==null?void 0:e.value)||((n=t.dir)==null?void 0:n.value)||"ltr"})}function ys(e){const t=Xt(),n=t==null?void 0:t.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),n==null||n.forEach(r=>{o[Vw(M0(r))]=(...i)=>e(r,...i)}),o}let xu=0;function iB(){Rt(e=>{if(!So)return;const t=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??e0()),document.body.insertAdjacentElement("beforeend",t[1]??e0()),xu++,e(()=>{xu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),xu--})})}function e0(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}function aB(e){return $(()=>{var t;return Fn(e)?!!((t=yo(e))!=null&&t.closest("form")):!0})}function Rf(e){const t=Xt(),n=Object.keys((t==null?void 0:t.type.props)??{}).reduce((r,i)=>{const a=(t==null?void 0:t.type.props[i]).default;return a!==void 0&&(r[i]=a),r},{}),o=hp(e);return $(()=>{const r={},i=(t==null?void 0:t.vnode.props)??{};return Object.keys(i).forEach(a=>{r[M0(a)]=i[a]}),Object.keys({...n,...r}).reduce((a,s)=>(o.value[s]!==void 0&&(a[s]=o.value[s]),a),{})})}function _s(e,t){const n=Rf(e),o=t?ys(t):{};return $(()=>({...n.value,...o}))}function J(){const e=Xt(),t=B(),n=$(()=>{var a,s;return["#text","#comment"].includes((a=t.value)==null?void 0:a.$el.nodeName)?(s=t.value)==null?void 0:s.$el.nextElementSibling:yo(t)}),o=Object.assign({},e.exposed),r={};for(const a in e.props)Object.defineProperty(r,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(o).length>0)for(const a in o)Object.defineProperty(r,a,{enumerable:!0,configurable:!0,get:()=>o[a]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=r;function i(a){t.value=a,!(a instanceof Element||!a)&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>a.$el}),e.exposed=r)}return{forwardRef:i,currentRef:t,currentElement:n}}function sB(e,t){const n=WL(!1,300),o=B(null),r=IL();function i(){o.value=null,n.value=!1}function a(s,l){const c=s.currentTarget,u={x:s.clientX,y:s.clientY},d=lB(u,c.getBoundingClientRect()),p=cB(u,d),f=uB(l.getBoundingClientRect()),h=pB([...p,...f]);o.value=h,n.value=!0}return Rt(s=>{if(e.value&&t.value){const l=u=>a(u,t.value),c=u=>a(u,e.value);e.value.addEventListener("pointerleave",l),t.value.addEventListener("pointerleave",c),s(()=>{var u,d;(u=e.value)==null||u.removeEventListener("pointerleave",l),(d=t.value)==null||d.removeEventListener("pointerleave",c)})}}),Rt(s=>{if(o.value){const l=c=>{var u,d;if(!o.value)return;const p=c.target,f={x:c.clientX,y:c.clientY},h=((u=e.value)==null?void 0:u.contains(p))||((d=t.value)==null?void 0:d.contains(p)),m=!dB(f,o.value),y=p.hasAttribute("data-grace-area-trigger");h?i():(m||y)&&(i(),r.trigger())};document.addEventListener("pointermove",l),s(()=>document.removeEventListener("pointermove",l))}}),{isPointerInTransit:n,onPointerExit:r.on}}function lB(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function cB(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function uB(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}function dB(e,t){const{x:n,y:o}=e;let r=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i].x,l=t[i].y,c=t[a].x,u=t[a].y;l>o!=u>o&&n<(c-s)*(o-l)/(u-l)+s&&(r=!r)}return r}function pB(e){const t=e.slice();return t.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),fB(t)}function fB(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const r=e[o];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(r.y-a.y)>=(i.y-a.y)*(r.x-a.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const r=e[o];for(;n.length>=2;){const i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(r.y-a.y)>=(i.y-a.y)*(r.x-a.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var hB=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Fr=new WeakMap,qs=new WeakMap,Ks={},Eu=0,fw=function(e){return e&&(e.host||fw(e.parentNode))},mB=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=fw(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},gB=function(e,t,n,o){var r=mB(t,Array.isArray(e)?e:[e]);Ks[n]||(Ks[n]=new WeakMap);var i=Ks[n],a=[],s=new Set,l=new Set(r),c=function(d){!d||s.has(d)||(s.add(d),c(d.parentNode))};r.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))u(p);else try{var f=p.getAttribute(o),h=f!==null&&f!=="false",m=(Fr.get(p)||0)+1,y=(i.get(p)||0)+1;Fr.set(p,m),i.set(p,y),a.push(p),m===1&&h&&qs.set(p,!0),y===1&&p.setAttribute(n,"true"),h||p.setAttribute(o,"true")}catch(b){console.error("aria-hidden: cannot operate on ",p,b)}})};return u(t),s.clear(),Eu++,function(){a.forEach(function(d){var p=Fr.get(d)-1,f=i.get(d)-1;Fr.set(d,p),i.set(d,f),p||(qs.has(d)||d.removeAttribute(o),qs.delete(d)),f||d.removeAttribute(n)}),Eu--,Eu||(Fr=new WeakMap,Fr=new WeakMap,qs=new WeakMap,Ks={})}},vB=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=hB(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live]"))),gB(o,r,n,"aria-hidden")):function(){return null}};function hw(e){let t;be(()=>yo(e),n=>{n?t=vB(n):t&&t()}),xn(()=>{t&&t()})}let bB=0;function or(e,t="radix"){const n=Mc({useId:void 0});return n.useId?`${t}-${n.useId()}`:`${t}-${++bB}`}function yB(e){const t=B(),n=$(()=>{var r;return((r=t.value)==null?void 0:r.width)??0}),o=$(()=>{var r;return((r=t.value)==null?void 0:r.height)??0});return Xe(()=>{const r=yo(e);if(r){t.value={width:r.offsetWidth,height:r.offsetHeight};const i=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const s=a[0];let l,c;if("borderBoxSize"in s){const u=s.borderBoxSize,d=Array.isArray(u)?u[0]:u;l=d.inlineSize,c=d.blockSize}else l=r.offsetWidth,c=r.offsetHeight;t.value={width:l,height:c}});return i.observe(r,{box:"border-box"}),()=>i.unobserve(r)}else t.value=void 0}),{width:n,height:o}}function mw(e,t){const n=B(e);function o(r){return t[n.value][r]??n.value}return{state:n,dispatch:r=>{n.value=o(r)}}}const If=L({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var o,r;if(!n.default)return null;const i=Of(n.default()),a=i.findIndex(u=>u.type!==C0);if(a===-1)return i;const s=i[a];(o=s.props)==null||delete o.ref;const l=s.props?ae(t,s.props):t;t.class&&(r=s.props)!=null&&r.class&&delete s.props.class;const c=Pu(s,l);for(const u in l)u.startsWith("on")&&(c.props||(c.props={}),c.props[u]=l[u]);return i.length===1?c:(i[a]=c,i)}}}),pe=L({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const o=e.asChild?"template":e.as;return typeof o=="string"&&["area","img","input"].includes(o)?()=>je(o,t):o!=="template"?()=>je(e.as,t,{default:n.default}):()=>je(If,t,{default:n.default})}});function gw(){const e=B(),t=$(()=>{var n,o;return["#text","#comment"].includes((n=e.value)==null?void 0:n.$el.nodeName)?(o=e.value)==null?void 0:o.$el.nextElementSibling:yo(e)});return{primitiveElement:e,currentElement:t}}const[vw,_B]=at("CollapsibleRoot"),pD=L({__name:"CollapsibleRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:open"],setup(e,{expose:t,emit:n}){const o=e,r=qn(o,"open",n,{defaultValue:o.defaultOpen,passive:o.open===void 0}),i=qn(o,"disabled");return _B({contentId:"",disabled:i,open:r,onOpenToggle:()=>{r.value=!r.value}}),t({open:r}),J(),(a,s)=>(M(),F(g(pe),{as:a.as,"as-child":o.asChild,"data-state":o.open?"open":"closed","data-disabled":o.disabled?"":void 0},{default:O(()=>[W(a.$slots,"default",{open:g(r)})]),_:3},8,["as","as-child","data-state","data-disabled"]))}}),fD=L({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;J();const n=vw();return(o,r)=>{var i,a;return M(),F(g(pe),{type:o.as==="button"?"button":void 0,as:o.as,"as-child":t.asChild,"aria-controls":g(n).contentId,"aria-expanded":g(n).open.value,"data-state":g(n).open.value?"open":"closed","data-disabled":(i=g(n).disabled)!=null&&i.value?"":void 0,disabled:(a=g(n).disabled)==null?void 0:a.value,onClick:g(n).onOpenToggle},{default:O(()=>[W(o.$slots,"default")]),_:3},8,["type","as","as-child","aria-controls","aria-expanded","data-state","data-disabled","disabled","onClick"])}}});function wB(e,t){const n=B({}),o=B("none"),r=e.value?"mounted":"unmounted",{state:i,dispatch:a}=mw(r,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),s=p=>{var f;if(So){const h=new CustomEvent(p,{bubbles:!1,cancelable:!1});(f=t.value)==null||f.dispatchEvent(h)}};be(e,async(p,f)=>{var h;const m=f!==p;if(await Je(),m){const y=o.value,b=Ys(t.value);p?(a("MOUNT"),s("enter"),b==="none"&&s("after-enter")):b==="none"||((h=n.value)==null?void 0:h.display)==="none"?(a("UNMOUNT"),s("leave"),s("after-leave")):f&&y!==b?(a("ANIMATION_OUT"),s("leave")):(a("UNMOUNT"),s("after-leave"))}},{immediate:!0});const l=p=>{const f=Ys(t.value),h=f.includes(p.animationName),m=i.value==="mounted"?"enter":"leave";p.target===t.value&&h&&(s(`after-${m}`),a("ANIMATION_END")),p.target===t.value&&f==="none"&&a("ANIMATION_END")},c=p=>{p.target===t.value&&(o.value=Ys(t.value))},u=be(t,(p,f)=>{p?(n.value=getComputedStyle(p),p.addEventListener("animationstart",c),p.addEventListener("animationcancel",l),p.addEventListener("animationend",l)):(a("ANIMATION_END"),f==null||f.removeEventListener("animationstart",c),f==null||f.removeEventListener("animationcancel",l),f==null||f.removeEventListener("animationend",l))},{immediate:!0}),d=be(i,()=>{const p=Ys(t.value);o.value=i.value==="mounted"?p:"none"});return xn(()=>{u(),d()}),{isPresent:$(()=>["mounted","unmountSuspended"].includes(i.value))}}function Ys(e){return e&&getComputedStyle(e).animationName||"none"}const Yn=L({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var o;const{present:r,forceMount:i}=xt(e),a=B(),{isPresent:s}=wB(r,a);n({present:s});let l=t.default({present:s});l=Of(l||[]);const c=Xt();if(l&&(l==null?void 0:l.length)>1){const u=(o=c==null?void 0:c.parent)!=null&&o.type.name?`<${c.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for  \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(d=>`  - ${d}`).join(`
`)].join(`
`))}return()=>i.value||r.value||s.value?je(t.default({present:s})[0],{ref:u=>{const d=yo(u);return typeof(d==null?void 0:d.hasAttribute)>"u"||(d!=null&&d.hasAttribute("data-radix-popper-content-wrapper")?a.value=d.firstElementChild:a.value=d),d}}):null}}),hD=L({inheritAttrs:!1,__name:"CollapsibleContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e,n=vw();n.contentId||(n.contentId=or(void 0,"radix-vue-collapsible-content"));const o=B(),{forwardRef:r,currentElement:i}=J(),a=B(0),s=B(0),l=$(()=>n.open.value),c=B(l.value),u=B();return be(()=>{var d;return[l.value,(d=o.value)==null?void 0:d.present]},async()=>{await Je();const d=i.value;if(!d)return;u.value=u.value||{transitionDuration:d.style.transitionDuration,animationName:d.style.animationName},d.style.transitionDuration="0s",d.style.animationName="none";const p=d.getBoundingClientRect();s.value=p.height,a.value=p.width,c.value||(d.style.transitionDuration=u.value.transitionDuration,d.style.animationName=u.value.animationName)},{immediate:!0}),Xe(()=>{requestAnimationFrame(()=>{c.value=!1})}),(d,p)=>(M(),F(g(Yn),{ref_key:"presentRef",ref:o,present:d.forceMount||g(n).open.value,"force-mount":!0},{default:O(()=>{var f,h;return[De(g(pe),ae(d.$attrs,{id:g(n).contentId,ref:g(r),"as-child":t.asChild,as:d.as,"data-state":g(n).open.value?"open":"closed","data-disabled":(f=g(n).disabled)!=null&&f.value?"":void 0,hidden:!((h=o.value)!=null&&h.present),style:{"--radix-collapsible-content-height":`${s.value}px`,"--radix-collapsible-content-width":`${a.value}px`}}),{default:O(()=>{var m;return[(m=o.value)!=null&&m.present?W(d.$slots,"default",{key:0}):nn("",!0)]}),_:3},16,["id","as-child","as","data-state","data-disabled","hidden","style"])]}),_:3},8,["present"]))}}),[Xn,SB]=at("DialogRoot"),kB=L({__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=qn(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),r=B(),i=B(),{modal:a}=xt(n);return SB({open:o,modal:a,openModal:()=>{o.value=!0},onOpenChange:s=>{o.value=s},onOpenToggle:()=>{o.value=!o.value},contentId:"",titleId:"",descriptionId:"",triggerElement:r,contentElement:i}),(s,l)=>W(s.$slots,"default",{open:g(o)})}}),xB=L({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Xn(),{forwardRef:o,currentElement:r}=J();return n.contentId||(n.contentId=or(void 0,"radix-vue-dialog-content")),Xe(()=>{n.triggerElement.value=r.value}),(i,a)=>(M(),F(g(pe),ae(t,{ref:g(o),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":g(n).open.value||!1,"aria-controls":g(n).open.value?g(n).contentId:void 0,"data-state":g(n).open.value?"open":"closed",onClick:g(n).onOpenToggle}),{default:O(()=>[W(i.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),Pc=L({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=uw();return(n,o)=>g(t)||n.forceMount?(M(),F(Gw,{key:0,to:n.to,disabled:n.disabled},[W(n.$slots,"default")],8,["to","disabled"])):nn("",!0)}}),mD=L({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(M(),F(g(Pc),Nt(Ft(t)),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}}),EB="dismissableLayer.pointerDownOutside",TB="dismissableLayer.focusOutside";function bw(e,t){const n=t.closest("[data-dismissable-layer]"),o=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),r=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&o===n||r.indexOf(o)<r.indexOf(n))}function CB(e,t){var n;const o=((n=t==null?void 0:t.value)==null?void 0:n.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=B(!1),i=B(()=>{});return Rt(a=>{if(!So)return;const s=async c=>{const u=c.target;if(t!=null&&t.value){if(bw(t.value,u)){r.value=!1;return}if(c.target&&!r.value){let d=function(){sw(EB,e,p)};const p={originalEvent:c};c.pointerType==="touch"?(o.removeEventListener("click",i.value),i.value=d,o.addEventListener("click",i.value,{once:!0})):d()}else o.removeEventListener("click",i.value);r.value=!1}},l=window.setTimeout(()=>{o.addEventListener("pointerdown",s)},0);a(()=>{window.clearTimeout(l),o.removeEventListener("pointerdown",s),o.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>r.value=!0}}function MB(e,t){var n;const o=((n=t==null?void 0:t.value)==null?void 0:n.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=B(!1);return Rt(i=>{if(!So)return;const a=async s=>{t!=null&&t.value&&(await Je(),!(!t.value||bw(t.value,s.target))&&s.target&&!r.value&&sw(TB,e,{originalEvent:s}))};o.addEventListener("focusin",a),i(()=>o.removeEventListener("focusin",a))}),{onFocusCapture:()=>r.value=!0,onBlurCapture:()=>r.value=!1}}const Qn=ln({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Lf=L({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:r,currentElement:i}=J(),a=$(()=>{var h;return((h=i.value)==null?void 0:h.ownerDocument)??globalThis.document}),s=$(()=>Qn.layersRoot),l=$(()=>i.value?Array.from(s.value).indexOf(i.value):-1),c=$(()=>Qn.layersWithOutsidePointerEventsDisabled.size>0),u=$(()=>{const h=Array.from(s.value),[m]=[...Qn.layersWithOutsidePointerEventsDisabled].slice(-1),y=h.indexOf(m);return l.value>=y}),d=CB(async h=>{const m=[...Qn.branches].some(y=>y==null?void 0:y.contains(h.target));!u.value||m||(o("pointerDownOutside",h),o("interactOutside",h),await Je(),h.defaultPrevented||o("dismiss"))},i),p=MB(h=>{[...Qn.branches].some(m=>m==null?void 0:m.contains(h.target))||(o("focusOutside",h),o("interactOutside",h),h.defaultPrevented||o("dismiss"))},i);qL("Escape",h=>{l.value===s.value.size-1&&(o("escapeKeyDown",h),h.defaultPrevented||o("dismiss"))});let f;return Rt(h=>{i.value&&(n.disableOutsidePointerEvents&&(Qn.layersWithOutsidePointerEventsDisabled.size===0&&(f=a.value.body.style.pointerEvents,a.value.body.style.pointerEvents="none"),Qn.layersWithOutsidePointerEventsDisabled.add(i.value)),s.value.add(i.value),h(()=>{n.disableOutsidePointerEvents&&Qn.layersWithOutsidePointerEventsDisabled.size===1&&(a.value.body.style.pointerEvents=f)}))}),Rt(h=>{h(()=>{i.value&&(s.value.delete(i.value),Qn.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(h,m)=>(M(),F(g(pe),{ref:g(r),"as-child":h.asChild,as:h.as,"data-dismissable-layer":"",style:Kn({pointerEvents:c.value?u.value?"auto":"none":void 0}),onFocusCapture:g(p).onFocusCapture,onBlurCapture:g(p).onBlurCapture,onPointerdownCapture:g(d).onPointerDownCapture},{default:O(()=>[W(h.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),Tu="focusScope.autoFocusOnMount",Cu="focusScope.autoFocusOnUnmount",t0={bubbles:!1,cancelable:!0};function AB(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Mo(o,{select:t}),document.activeElement!==n)return!0}function PB(e){const t=yw(e),n=n0(t,e),o=n0(t.reverse(),e);return[n,o]}function yw(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function n0(e,t){for(const n of e)if(!OB(n,{upTo:t}))return n}function OB(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function RB(e){return e instanceof HTMLInputElement&&"select"in e}function Mo(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&RB(e)&&t&&e.select()}}const IB=LL(()=>B([]));function LB(){const e=IB();return{add(t){const n=e.value[0];t!==n&&(n==null||n.pause()),e.value=o0(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=o0(e.value,t),(n=e.value[0])==null||n.resume()}}}function o0(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function BB(e){return e.filter(t=>t.tagName!=="A")}const _w=L({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,o=t,{currentRef:r,currentElement:i}=J(),a=B(null),s=LB(),l=ln({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});Rt(u=>{if(!So)return;const d=i.value;if(!n.trapped)return;function p(y){if(l.paused||!d)return;const b=y.target;d.contains(b)?a.value=b:Mo(a.value,{select:!0})}function f(y){if(l.paused||!d)return;const b=y.relatedTarget;b!==null&&(d.contains(b)||Mo(a.value,{select:!0}))}function h(y){d.contains(a.value)||Mo(d)}document.addEventListener("focusin",p),document.addEventListener("focusout",f);const m=new MutationObserver(h);d&&m.observe(d,{childList:!0,subtree:!0}),u(()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",f),m.disconnect()})}),Rt(async u=>{const d=i.value;if(await Je(),!d)return;s.add(l);const p=document.activeElement;if(!d.contains(p)){const f=new CustomEvent(Tu,t0);d.addEventListener(Tu,h=>o("mountAutoFocus",h)),d.dispatchEvent(f),f.defaultPrevented||(AB(BB(yw(d)),{select:!0}),document.activeElement===p&&Mo(d))}u(()=>{d.removeEventListener(Tu,m=>o("mountAutoFocus",m));const f=new CustomEvent(Cu,t0),h=m=>{o("unmountAutoFocus",m)};d.addEventListener(Cu,h),d.dispatchEvent(f),setTimeout(()=>{f.defaultPrevented||Mo(p??document.body,{select:!0}),d.removeEventListener(Cu,h),s.remove(l)},0)})});function c(u){if(!n.loop&&!n.trapped||l.paused)return;const d=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,p=document.activeElement;if(d&&p){const f=u.currentTarget,[h,m]=PB(f);h&&m?!u.shiftKey&&p===m?(u.preventDefault(),n.loop&&Mo(h,{select:!0})):u.shiftKey&&p===h&&(u.preventDefault(),n.loop&&Mo(m,{select:!0})):p===f&&u.preventDefault()}}return(u,d)=>(M(),F(g(pe),{ref_key:"currentRef",ref:r,tabindex:"-1","as-child":u.asChild,as:u.as,onKeydown:c},{default:O(()=>[W(u.$slots,"default")]),_:3},8,["as-child","as"]))}});function $B(e){return e?"open":"closed"}const ww=L({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Xn(),{forwardRef:i,currentElement:a}=J();return r.titleId||(r.titleId=or(void 0,"radix-vue-dialog-title")),r.descriptionId||(r.descriptionId=or(void 0,"radix-vue-dialog-description")),Xe(()=>{r.contentElement=a,document.activeElement!==document.body&&(r.triggerElement.value=document.activeElement)}),(s,l)=>(M(),F(g(_w),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:l[5]||(l[5]=c=>o("openAutoFocus",c)),onUnmountAutoFocus:l[6]||(l[6]=c=>o("closeAutoFocus",c))},{default:O(()=>[De(g(Lf),ae({id:g(r).contentId,ref:g(i),as:s.as,"as-child":s.asChild,"disable-outside-pointer-events":s.disableOutsidePointerEvents,role:"dialog","aria-describedby":g(r).descriptionId,"aria-labelledby":g(r).titleId,"data-state":g($B)(g(r).open.value)},s.$attrs,{onDismiss:l[0]||(l[0]=c=>g(r).onOpenChange(!1)),onEscapeKeyDown:l[1]||(l[1]=c=>o("escapeKeyDown",c)),onFocusOutside:l[2]||(l[2]=c=>o("focusOutside",c)),onInteractOutside:l[3]||(l[3]=c=>o("interactOutside",c)),onPointerDownOutside:l[4]||(l[4]=c=>o("pointerDownOutside",c))}),{default:O(()=>[W(s.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),DB=L({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Xn(),i=ys(o),{forwardRef:a,currentElement:s}=J();return hw(s),(l,c)=>(M(),F(ww,ae({...n,...g(i)},{ref:g(a),"trap-focus":g(r).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:c[0]||(c[0]=u=>{var d;u.defaultPrevented||(u.preventDefault(),(d=g(r).triggerElement.value)==null||d.focus())}),onPointerDownOutside:c[1]||(c[1]=u=>{const d=u.detail.originalEvent,p=d.button===0&&d.ctrlKey===!0;(d.button===2||p)&&u.preventDefault()}),onFocusOutside:c[2]||(c[2]=u=>{u.preventDefault()})}),{default:O(()=>[W(l.$slots,"default")]),_:3},16,["trap-focus"]))}}),zB=L({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=ys(t);J();const r=Xn(),i=B(!1),a=B(!1);return(s,l)=>(M(),F(ww,ae({...n,...g(o)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:l[0]||(l[0]=c=>{var u;c.defaultPrevented||(i.value||(u=g(r).triggerElement.value)==null||u.focus(),c.preventDefault()),i.value=!1,a.value=!1}),onInteractOutside:l[1]||(l[1]=c=>{var u;c.defaultPrevented||(i.value=!0,c.detail.originalEvent.type==="pointerdown"&&(a.value=!0));const d=c.target;(u=g(r).triggerElement.value)!=null&&u.contains(d)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&a.value&&c.preventDefault()})}),{default:O(()=>[W(s.$slots,"default")]),_:3},16))}}),NB=L({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Xn(),i=ys(o),{forwardRef:a}=J();return(s,l)=>(M(),F(g(Yn),{present:s.forceMount||g(r).open.value},{default:O(()=>[g(r).modal.value?(M(),F(DB,ae({key:0,ref:g(a)},{...n,...g(i),...s.$attrs}),{default:O(()=>[W(s.$slots,"default")]),_:3},16)):(M(),F(zB,ae({key:1,ref:g(a)},{...n,...g(i),...s.$attrs}),{default:O(()=>[W(s.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),FB=L({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(e){const t=Xn();return pw(!0),J(),(n,o)=>(M(),F(g(pe),{as:n.as,"as-child":n.asChild,"data-state":g(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:O(()=>[W(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),jB=L({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=Xn(),{forwardRef:n}=J();return(o,r)=>{var i;return(i=g(t))!=null&&i.modal.value?(M(),F(g(Yn),{key:0,present:o.forceMount||g(t).open.value},{default:O(()=>[De(FB,ae(o.$attrs,{ref:g(n),as:o.as,"as-child":o.asChild}),{default:O(()=>[W(o.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):nn("",!0)}}}),HB=L({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;J();const n=Xn();return(o,r)=>(M(),F(g(pe),ae(t,{type:o.as==="button"?"button":void 0,onClick:r[0]||(r[0]=i=>g(n).onOpenChange(!1))}),{default:O(()=>[W(o.$slots,"default")]),_:3},16,["type"]))}}),WB=L({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(e){const t=e,n=Xn();return J(),(o,r)=>(M(),F(g(pe),ae(t,{id:g(n).titleId}),{default:O(()=>[W(o.$slots,"default")]),_:3},16,["id"]))}}),UB=L({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(e){const t=e;J();const n=Xn();return(o,r)=>(M(),F(g(pe),ae(t,{id:g(n).descriptionId}),{default:O(()=>[W(o.$slots,"default")]),_:3},16,["id"]))}}),gD=L({__name:"AlertDialogRoot",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const n=_s(e,t);return J(),(o,r)=>(M(),F(g(kB),ae(g(n),{modal:!0}),{default:O(()=>[W(o.$slots,"default")]),_:3},16))}}),vD=L({__name:"AlertDialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;return J(),(n,o)=>(M(),F(g(xB),Nt(Ft(t)),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}}),bD=L({__name:"AlertDialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(M(),F(g(Pc),Nt(Ft(t)),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}}),[VB,GB]=at("AlertDialogContent"),yD=L({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=ys(t);J();const r=B();return GB({onCancelElementChange:i=>{r.value=i}}),(i,a)=>(M(),F(g(NB),ae({...n,...g(o)},{role:"alertdialog",onPointerDownOutside:a[0]||(a[0]=Ko(()=>{},["prevent"])),onInteractOutside:a[1]||(a[1]=Ko(()=>{},["prevent"])),onOpenAutoFocus:a[2]||(a[2]=()=>{Je(()=>{var s;(s=r.value)==null||s.focus({preventScroll:!0})})})}),{default:O(()=>[W(i.$slots,"default")]),_:3},16))}}),_D=L({__name:"AlertDialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e;return J(),(n,o)=>(M(),F(g(jB),Nt(Ft(t)),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}}),wD=L({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=VB(),{forwardRef:o,currentElement:r}=J();return Xe(()=>{n.onCancelElementChange(r.value)}),(i,a)=>(M(),F(g(HB),ae(t,{ref:g(o)}),{default:O(()=>[W(i.$slots,"default")]),_:3},16))}}),SD=L({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(e){const t=e;return J(),(n,o)=>(M(),F(g(WB),Nt(Ft(t)),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}}),kD=L({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(e){const t=e;return J(),(n,o)=>(M(),F(g(UB),Nt(Ft(t)),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}}),[Sw,qB]=at("AvatarRoot"),xD=L({__name:"AvatarRoot",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return J(),qB({imageLoadingStatus:B("loading")}),(t,n)=>(M(),F(g(pe),{"as-child":t.asChild,as:t.as},{default:O(()=>[W(t.$slots,"default")]),_:3},8,["as-child","as"]))}});function KB(e){const t=B("idle"),n=B(!1),o=r=>()=>{n.value&&(t.value=r)};return Xe(()=>{n.value=!0,be(e,r=>{if(!r)t.value="error";else{const i=new window.Image;t.value="loading",i.onload=o("loaded"),i.onerror=o("error"),i.src=r}},{immediate:!0})}),xn(()=>{n.value=!1}),t}const ED=L({__name:"AvatarImage",props:{src:{},asChild:{type:Boolean},as:{default:"img"}},emits:["loadingStatusChange"],setup(e,{emit:t}){const n=e,o=t,{src:r}=xt(n);J();const i=Sw(),a=KB(r);return be(a,s=>{o("loadingStatusChange",s),s!=="idle"&&(i.imageLoadingStatus.value=s)},{immediate:!0}),(s,l)=>qw((M(),F(g(pe),{role:"img","as-child":s.asChild,as:s.as,src:g(r)},{default:O(()=>[W(s.$slots,"default")]),_:3},8,["as-child","as","src"])),[[Kw,g(a)==="loaded"]])}}),TD=L({__name:"AvatarFallback",props:{delayMs:{default:0},asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=e,n=Sw();J();const o=B(!1);let r;return be(n.imageLoadingStatus,i=>{i==="loading"&&(o.value=!1,t.delayMs?r=setTimeout(()=>{o.value=!0,clearTimeout(r)},t.delayMs):o.value=!0)},{immediate:!0}),(i,a)=>o.value&&g(n).imageLoadingStatus.value!=="loaded"?(M(),F(g(pe),{key:0,"as-child":i.asChild,as:i.as},{default:O(()=>[W(i.$slots,"default")]),_:3},8,["as-child","as"])):nn("",!0)}});function Ql(e){return e==="indeterminate"}function kw(e){return Ql(e)?"indeterminate":e?"checked":"unchecked"}const YB=["value","checked","name","disabled","required"],[XB,ZB]=at("CheckboxRoot"),CD=L({inheritAttrs:!1,__name:"CheckboxRoot",props:{defaultChecked:{type:Boolean},checked:{type:[Boolean,String],default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},value:{default:"on"},id:{},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(e,{emit:t}){const n=e,o=t,{disabled:r}=xt(n),i=qn(n,"checked",o,{defaultValue:n.defaultChecked,passive:n.checked===void 0}),{forwardRef:a,currentElement:s}=J(),l=aB(s),c=$(()=>{var u;return n.id&&s.value?(u=document.querySelector(`[for="${n.id}"]`))==null?void 0:u.innerText:void 0});return ZB({disabled:r,state:i}),(u,d)=>(M(),Ze(ho,null,[De(g(pe),ae(u.$attrs,{id:u.id,ref:g(a),role:"checkbox","as-child":n.asChild,as:u.as,type:u.as==="button"?"button":void 0,"aria-checked":g(Ql)(g(i))?"mixed":g(i),"aria-required":!1,"aria-label":u.$attrs["aria-label"]||c.value,"data-state":g(kw)(g(i)),"data-disabled":g(r)?"":void 0,disabled:g(r),onKeydown:Qi(Ko(()=>{},["prevent"]),["enter"]),onClick:d[0]||(d[0]=p=>i.value=g(Ql)(g(i))?!0:!g(i))}),{default:O(()=>[W(u.$slots,"default",{checked:g(i)})]),_:3},16,["id","as-child","as","type","aria-checked","aria-label","data-state","data-disabled","disabled","onKeydown"]),g(l)?(M(),Ze("input",{key:0,type:"checkbox",tabindex:"-1","aria-hidden":"true",value:u.value,checked:!!g(i),name:n.name,disabled:n.disabled,required:n.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,YB)):nn("",!0)],64))}}),MD=L({__name:"CheckboxIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(e){const{forwardRef:t}=J(),n=XB();return(o,r)=>(M(),F(g(Yn),{present:o.forceMount||g(Ql)(g(n).state.value)||g(n).state.value===!0},{default:O(()=>[De(g(pe),ae({ref:g(t),"data-state":g(kw)(g(n).state.value),"data-disabled":g(n).disabled.value?"":void 0,style:{pointerEvents:"none"},"as-child":o.asChild,as:o.as},o.$attrs),{default:O(()=>[W(o.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),[xw,JB]=at("PopperRoot"),Ew=L({__name:"PopperRoot",setup(e){const t=B();return JB({anchor:t,onAnchorChange:n=>t.value=n}),(n,o)=>W(n.$slots,"default")}}),Tw=L({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n,currentElement:o}=J(),r=xw();return Rt(()=>{r.onAnchorChange(t.element??o.value)}),(i,a)=>(M(),F(g(pe),{ref:g(n),as:i.as,"as-child":i.asChild},{default:O(()=>[W(i.$slots,"default")]),_:3},8,["as","as-child"]))}});function QB(e){return e!==null}function e4(e){return{name:"transformOrigin",options:e,fn(t){var n,o,r;const{placement:i,rects:a,middlewareData:s}=t,l=((n=s.arrow)==null?void 0:n.centerOffset)!==0,c=l?0:e.arrowWidth,u=l?0:e.arrowHeight,[d,p]=pp(i),f={start:"0%",center:"50%",end:"100%"}[p],h=(((o=s.arrow)==null?void 0:o.x)??0)+c/2,m=(((r=s.arrow)==null?void 0:r.y)??0)+u/2;let y="",b="";return d==="bottom"?(y=l?f:`${h}px`,b=`${-u}px`):d==="top"?(y=l?f:`${h}px`,b=`${a.floating.height+u}px`):d==="right"?(y=`${-u}px`,b=l?f:`${m}px`):d==="left"&&(y=`${a.floating.width+u}px`,b=l?f:`${m}px`),{data:{x:y,y:b}}}}}function pp(e){const[t,n="center"]=e.split("-");return[t,n]}const t4={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[n4,o4]=at("PopperContent"),Cw=L({inheritAttrs:!1,__name:"PopperContent",props:Xw({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...t4}),emits:["placed"],setup(e,{emit:t}){const n=e,o=t,r=xw(),{forwardRef:i,currentElement:a}=J(),s=B(),l=B(),{width:c,height:u}=yB(l),d=$(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),p=$(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=$(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),h=$(()=>({padding:p.value,boundary:f.value.filter(QB),altBoundary:f.value.length>0})),m=RL(()=>[wL({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Zg({...h.value}),n.avoidCollisions&&SL({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?TL():void 0,...h.value}),!n.prioritizePosition&&n.avoidCollisions&&Zg({...h.value}),kL({...h.value,apply:({elements:N,rects:K,availableWidth:ne,availableHeight:_e})=>{const{width:U,height:z}=K.reference,A=N.floating.style;A.setProperty("--radix-popper-available-width",`${ne}px`),A.setProperty("--radix-popper-available-height",`${_e}px`),A.setProperty("--radix-popper-anchor-width",`${U}px`),A.setProperty("--radix-popper-anchor-height",`${z}px`)}}),l.value&&AL({element:l.value,padding:n.arrowPadding}),e4({arrowWidth:c.value,arrowHeight:u.value}),n.hideWhenDetached&&xL({strategy:"referenceHidden",...h.value})]),{floatingStyles:y,placement:b,isPositioned:_,middlewareData:v}=PL(r.anchor,s,{strategy:"fixed",placement:d,whileElementsMounted:(...N)=>_L(...N,{animationFrame:n.updatePositionStrategy==="always"}),middleware:m}),w=$(()=>pp(b.value)[0]),S=$(()=>pp(b.value)[1]);Zw(()=>{_.value&&o("placed")});const x=$(()=>{var N;return((N=v.value.arrow)==null?void 0:N.centerOffset)!==0}),k=B("");Rt(()=>{a.value&&(k.value=window.getComputedStyle(a.value).zIndex)});const T=$(()=>{var N;return((N=v.value.arrow)==null?void 0:N.x)??0}),R=$(()=>{var N;return((N=v.value.arrow)==null?void 0:N.y)??0});return o4({placedSide:w,onArrowChange:N=>l.value=N,arrowX:T,arrowY:R,shouldHideArrow:x}),(N,K)=>{var ne,_e,U;return M(),Ze("div",{ref_key:"floatingRef",ref:s,"data-radix-popper-content-wrapper":"",style:Kn({...g(y),transform:g(_)?g(y).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:k.value,"--radix-popper-transform-origin":[(ne=g(v).transformOrigin)==null?void 0:ne.x,(_e=g(v).transformOrigin)==null?void 0:_e.y].join(" "),...((U=g(v).hide)==null?void 0:U.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[De(g(pe),ae({ref:g(i)},N.$attrs,{"as-child":n.asChild,as:N.as,"data-side":w.value,"data-align":S.value,style:{animation:g(_)?void 0:"none"}}),{default:O(()=>[W(N.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),r4=ir("polygon",{points:"0,0 30,0 15,10"},null,-1),i4=L({__name:"Arrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return J(),(n,o)=>(M(),F(g(pe),ae(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 30 10",preserveAspectRatio:n.asChild?void 0:"none"}),{default:O(()=>[W(n.$slots,"default",{},()=>[r4])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),a4={top:"bottom",right:"left",bottom:"top",left:"right"},Mw=L({inheritAttrs:!1,__name:"PopperArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const{forwardRef:t}=J(),n=n4(),o=$(()=>a4[n.placedSide.value]);return(r,i)=>{var a,s,l,c;return M(),Ze("span",{ref:u=>{g(n).onArrowChange(u)},style:Kn({position:"absolute",left:(a=g(n).arrowX)!=null&&a.value?`${(s=g(n).arrowX)==null?void 0:s.value}px`:void 0,top:(l=g(n).arrowY)!=null&&l.value?`${(c=g(n).arrowY)==null?void 0:c.value}px`:void 0,[o.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[g(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[g(n).placedSide.value],visibility:g(n).shouldHideArrow.value?"hidden":void 0})},[De(i4,ae(r.$attrs,{ref:g(t),style:{display:"block"},as:r.as,"as-child":r.asChild,width:r.width,height:r.height}),{default:O(()=>[W(r.$slots,"default")]),_:3},16,["as","as-child","width","height"])],4)}}}),s4=L({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return J(),(t,n)=>(M(),F(g(pe),{as:t.as,"as-child":t.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:O(()=>[W(t.$slots,"default")]),_:3},8,["as","as-child"]))}}),l4="data-radix-vue-collection-item",[Bf,c4]=at("CollectionProvider");function u4(e=l4){const t=B(new Map),n=B(),o=c4({collectionRef:n,itemMap:t,attrName:e}),{getItems:r}=Aw(o),i=$(()=>Array.from(o.itemMap.value.values())),a=$(()=>o.itemMap.value.size);return{getItems:r,reactiveItems:i,itemMapSize:a}}const d4=L({name:"CollectionSlot",setup(e,{slots:t}){const n=Bf(),{primitiveElement:o,currentElement:r}=gw();return be(r,()=>{n.collectionRef.value=r.value}),()=>je(If,{ref:o},t)}}),p4=L({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:n}){const o=Bf(),{primitiveElement:r,currentElement:i}=gw();return Rt(a=>{if(i.value){const s=mp(i.value);o.itemMap.value.set(s,{ref:i.value,value:e.value}),a(()=>o.itemMap.value.delete(s))}}),()=>je(If,{...n,[o.attrName]:"",ref:r},t)}});function Aw(e){const t=e??Bf();return{getItems:()=>{const n=t.collectionRef.value;if(!n)return[];const o=Array.from(n.querySelectorAll(`[${t.attrName}]`));return Array.from(t.itemMap.value.values()).sort((r,i)=>o.indexOf(r.ref)-o.indexOf(i.ref))}}}function f4(e){const t=Mc({nonce:B()});return $(()=>{var n;return(e==null?void 0:e.value)||((n=t.nonce)==null?void 0:n.value)})}const h4="rovingFocusGroup.onEntryFocus",m4={bubbles:!1,cancelable:!0},g4={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function v4(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function b4(e,t,n){const o=v4(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return g4[o]}function Pw(e,t=!1){const n=document.activeElement;for(const o of e)if(o===n||(o.focus({preventScroll:t}),document.activeElement!==n))return}function y4(e,t){return e.map((n,o)=>e[(t+o)%e.length])}const[_4,w4]=at("RovingFocusGroup"),S4=L({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(e,{expose:t,emit:n}){const o=e,r=n,{loop:i,orientation:a,dir:s}=xt(o),l=Ac(s),c=qn(o,"currentTabStopId",r,{defaultValue:o.defaultCurrentTabStopId,passive:o.currentTabStopId===void 0}),u=B(!1),d=B(!1),p=B(0),{getItems:f}=u4();function h(y){const b=!d.value;if(y.currentTarget&&y.target===y.currentTarget&&b&&!u.value){const _=new CustomEvent(h4,m4);if(y.currentTarget.dispatchEvent(_),r("entryFocus",_),!_.defaultPrevented){const v=f().map(k=>k.ref).filter(k=>k.dataset.disabled!==""),w=v.find(k=>k.getAttribute("data-active")==="true"),S=v.find(k=>k.id===c.value),x=[w,S,...v].filter(Boolean);Pw(x,o.preventScrollOnEntryFocus)}}d.value=!1}function m(){setTimeout(()=>{d.value=!1},1)}return t({getItems:f}),w4({loop:i,dir:l,orientation:a,currentTabStopId:c,onItemFocus:y=>{c.value=y},onItemShiftTab:()=>{u.value=!0},onFocusableItemAdd:()=>{p.value++},onFocusableItemRemove:()=>{p.value--}}),(y,b)=>(M(),F(g(d4),null,{default:O(()=>[De(g(pe),{tabindex:u.value||p.value===0?-1:0,"data-orientation":g(a),as:y.as,"as-child":y.asChild,dir:g(l),style:{outline:"none"},onMousedown:b[0]||(b[0]=_=>d.value=!0),onMouseup:m,onFocus:h,onBlur:b[1]||(b[1]=_=>u.value=!1)},{default:O(()=>[W(y.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),k4=L({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=e,n=_4(),o=$(()=>t.tabStopId||or()),r=$(()=>n.currentTabStopId.value===o.value),{getItems:i}=Aw();Xe(()=>{t.focusable&&n.onFocusableItemAdd()}),xn(()=>{t.focusable&&n.onFocusableItemRemove()});function a(s){if(s.key==="Tab"&&s.shiftKey){n.onItemShiftTab();return}if(s.target!==s.currentTarget)return;const l=b4(s,n.orientation.value,n.dir.value);if(l!==void 0){if(s.metaKey||s.ctrlKey||s.altKey||!t.allowShiftKey&&s.shiftKey)return;s.preventDefault();let c=[...i().map(u=>u.ref).filter(u=>u.dataset.disabled!=="")];if(l==="last")c.reverse();else if(l==="prev"||l==="next"){l==="prev"&&c.reverse();const u=c.indexOf(s.currentTarget);c=n.loop.value?y4(c,u+1):c.slice(u+1)}Je(()=>Pw(c))}}return(s,l)=>(M(),F(g(p4),null,{default:O(()=>[De(g(pe),{tabindex:r.value?0:-1,"data-orientation":g(n).orientation.value,"data-active":s.active,"data-disabled":s.focusable?void 0:"",as:s.as,"as-child":s.asChild,onMousedown:l[0]||(l[0]=c=>{s.focusable?g(n).onItemFocus(o.value):c.preventDefault()}),onFocus:l[1]||(l[1]=c=>g(n).onItemFocus(o.value)),onKeydown:a},{default:O(()=>[W(s.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),AD=L({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{default:"label"}},setup(e){const t=e;return J(),(n,o)=>(M(),F(g(pe),ae(t,{onMousedown:o[0]||(o[0]=r=>{!r.defaultPrevented&&r.detail>1&&r.preventDefault()})}),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}}),[zi,x4]=at("PaginationRoot"),PD=L({__name:"PaginationRoot",props:{page:{},defaultPage:{default:1},itemsPerPage:{default:10},total:{default:0},siblingCount:{default:2},disabled:{type:Boolean},showEdges:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"nav"}},emits:["update:page"],setup(e,{emit:t}){const n=e,o=t,{siblingCount:r,disabled:i,showEdges:a}=xt(n);J();const s=qn(n,"page",o,{defaultValue:n.defaultPage,passive:n.page===void 0}),l=$(()=>Math.max(1,Math.ceil(n.total/n.itemsPerPage)));return x4({page:s,onPageChange(c){s.value=c},pageCount:l,siblingCount:r,disabled:i,showEdges:a}),(c,u)=>(M(),F(g(pe),{as:c.as,"as-child":c.asChild},{default:O(()=>[W(c.$slots,"default",{page:g(s),pageCount:l.value})]),_:3},8,["as","as-child"]))}}),OD=L({__name:"PaginationEllipsis",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return J(),(n,o)=>(M(),F(g(pe),ae(t,{"data-type":"ellipsis"}),{default:O(()=>[W(n.$slots,"default",{},()=>[En("…")])]),_:3},16))}}),RD=L({__name:"PaginationFirst",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=zi();return J(),(o,r)=>(M(),F(g(pe),ae(t,{"aria-label":"First Page",type:o.as==="button"?"button":void 0,disabled:g(n).page.value===1||g(n).disabled.value,onClick:r[0]||(r[0]=i=>g(n).onPageChange(1))}),{default:O(()=>[W(o.$slots,"default",{},()=>[En("First page")])]),_:3},16,["type","disabled"]))}}),ID=L({__name:"PaginationLast",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=zi();return J(),(o,r)=>(M(),F(g(pe),ae(t,{"aria-label":"Last Page",type:o.as==="button"?"button":void 0,disabled:g(n).page.value===g(n).pageCount.value||g(n).disabled.value,onClick:r[0]||(r[0]=i=>g(n).onPageChange(g(n).pageCount.value))}),{default:O(()=>[W(o.$slots,"default",{},()=>[En("Last page")])]),_:3},16,["type","disabled"]))}});function Eo(e,t){const n=t-e+1;return Array.from({length:n},(o,r)=>r+e)}function E4(e){return e.map(t=>typeof t=="number"?{type:"page",value:t}:{type:"ellipsis"})}const Xs="ellipsis";function T4(e,t,n,o){const r=t,i=Math.max(e-n,1),a=Math.min(e+n,r);if(o){const s=Math.min(2*n+5,t)-2,l=i>3&&Math.abs(r-s-1+1)>2&&Math.abs(i-1)>2,c=a<r-2&&Math.abs(r-s)>2&&Math.abs(r-a)>2;if(!l&&c)return[...Eo(1,s),Xs,r];if(l&&!c){const u=Eo(r-s+1,r);return[1,Xs,...u]}if(l&&c){const u=Eo(i,a);return[1,Xs,...u,Xs,r]}return Eo(1,r)}else{const s=n*2+1;return t<s?Eo(1,r):e<=n+1?Eo(1,s):t-e<=n?Eo(t-s+1,r):Eo(i,a)}}const LD=L({__name:"PaginationList",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;J();const n=zi(),o=$(()=>E4(T4(n.page.value,n.pageCount.value,n.siblingCount.value,n.showEdges.value)));return(r,i)=>(M(),F(g(pe),Nt(Ft(t)),{default:O(()=>[W(r.$slots,"default",{items:o.value})]),_:3},16))}}),BD=L({__name:"PaginationListItem",props:{value:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;J();const n=zi(),o=$(()=>n.page.value===t.value);return(r,i)=>(M(),F(g(pe),ae(t,{"data-type":"page","aria-label":`Page ${r.value}`,"aria-current":o.value?"page":void 0,"data-selected":o.value?"true":void 0,disabled:g(n).disabled.value,type:r.as==="button"?"button":void 0,onClick:i[0]||(i[0]=a=>g(n).onPageChange(r.value))}),{default:O(()=>[W(r.$slots,"default",{},()=>[En(nc(r.value),1)])]),_:3},16,["aria-label","aria-current","data-selected","disabled","type"]))}}),$D=L({__name:"PaginationNext",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;J();const n=zi();return(o,r)=>(M(),F(g(pe),ae(t,{"aria-label":"Next Page",type:o.as==="button"?"button":void 0,disabled:g(n).page.value===g(n).pageCount.value||g(n).disabled.value,onClick:r[0]||(r[0]=i=>g(n).onPageChange(g(n).page.value+1))}),{default:O(()=>[W(o.$slots,"default",{},()=>[En("Next page")])]),_:3},16,["type","disabled"]))}}),DD=L({__name:"PaginationPrev",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;J();const n=zi();return(o,r)=>{var i;return M(),F(g(pe),ae(t,{"aria-label":"Previous Page",type:o.as==="button"?"button":void 0,disabled:g(n).page.value===1||((i=g(n).disabled)==null?void 0:i.value),onClick:r[0]||(r[0]=a=>g(n).onPageChange(g(n).page.value-1))}),{default:O(()=>[W(o.$slots,"default",{},()=>[En("Prev page")])]),_:3},16,["type","disabled"])}}}),C4=["id","value","name","disabled","required"],[M4,A4]=at("PinInputRoot"),zD=L({inheritAttrs:!1,__name:"PinInputRoot",props:{modelValue:{},defaultValue:{},placeholder:{default:""},mask:{type:Boolean},otp:{type:Boolean},type:{default:"text"},dir:{},name:{},disabled:{type:Boolean},required:{type:Boolean},id:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue","complete"],setup(e,{emit:t}){const n=e,o=t,{mask:r,otp:i,placeholder:a,type:s,disabled:l,dir:c}=xt(n),{forwardRef:u}=J(),d=Ac(c),p=qn(n,"modelValue",o,{defaultValue:n.defaultValue??[],passive:n.modelValue===void 0}),f=B(new Set);function h(y){f.value.add(y)}const m=$(()=>p.value.filter(y=>!!y).length===f.value.size);return be(p,()=>{m.value&&o("complete",p.value)},{deep:!0}),A4({modelValue:p,mask:r,otp:i,placeholder:a,type:s,dir:d,disabled:l,isCompleted:m,inputElements:f,onInputElementChange:h}),(y,b)=>(M(),Ze(ho,null,[De(g(pe),ae(y.$attrs,{ref:g(u),dir:g(d),"data-complete":m.value?"":void 0,"data-disabled":g(l)?"":void 0}),{default:O(()=>[W(y.$slots,"default",{modelValue:g(p)})]),_:3},16,["dir","data-complete","data-disabled"]),ir("input",{id:y.id,type:"text",tabindex:"-1","aria-hidden":"true",value:g(p).join(""),name:y.name,disabled:g(l),required:y.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0},onFocus:b[0]||(b[0]=_=>{var v,w;return(w=(v=Array.from(f.value))==null?void 0:v[0])==null?void 0:w.focus()})},null,40,C4)],64))}}),P4=["autocomplete","type","inputmode","pattern","placeholder","value","disabled","data-disabled","data-complete","aria-label"],ND=L({__name:"PinInputInput",props:{index:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"input"}},setup(e){const t=e,n=M4(),o=$(()=>Array.from(n.inputElements.value)),r=$(()=>t.disabled||n.disabled.value),i=$(()=>n.otp.value),a=$(()=>n.type.value==="number"),s=$(()=>n.mask.value),l=B();function c(v){var w;const S=v.target;if((((w=v.data)==null?void 0:w.length)??0)>1){y(S.value);return}if(a.value&&!/^\d*$/.test(S.value)){S.value=S.value.replace(/\D/g,"");return}S.value=S.value.slice(-1),_(t.index,S.value);const x=o.value[t.index+1];x&&x.focus()}function u(v){ZL(v,document.activeElement,void 0,{itemsArray:o.value,focus:!0,loop:!1,arrowKeyOptions:"horizontal",dir:n.dir.value})}function d(v){if(v.preventDefault(),v.target.value)_(t.index,"");else{const w=o.value[t.index-1];w&&(w.focus(),_(t.index-1,""))}}function p(v){v.key==="Delete"&&(v.preventDefault(),_(t.index,""))}function f(v){const w=v.target;w.setSelectionRange(1,1),w.value||(w.placeholder="")}function h(v){const w=v.target;Je(()=>{w.value||(w.placeholder=n.placeholder.value)})}function m(v){v.preventDefault();const w=v.clipboardData;if(!w)return;const S=w.getData("text");y(S)}function y(v){var w;const S=[...n.modelValue.value],x=v.length>=o.value.length?0:t.index,k=Math.min(x+v.length,o.value.length);for(let T=x;T<k;T++){const R=o.value[T],N=v[T-x];a.value&&!/^\d*$/.test(N)||(S[T]=N,R.focus())}n.modelValue.value=S,(w=o.value[k])==null||w.focus()}function b(v){let w=v.length-1;for(;w>=0&&v[w]==="";)v.pop(),w--;return v}function _(v,w){const S=[...n.modelValue.value];S[v]=w,n.modelValue.value=b(S)}return Xe(()=>{n.onInputElementChange(l.value)}),xn(()=>{var v;(v=n.inputElements)==null||v.value.delete(l.value)}),(v,w)=>(M(),Ze("input",{ref_key:"inputRef",ref:l,autocapitalize:"none",autocomplete:i.value?"one-time-code":"false",type:s.value?"password":"text",inputmode:a.value?"numeric":"text",pattern:a.value?"[0-9]*":void 0,placeholder:g(n).placeholder.value,value:g(n).modelValue.value[v.index],disabled:r.value,"data-disabled":r.value?"":void 0,"data-complete":g(n).isCompleted.value?"":void 0,"aria-label":`pin input ${v.index+1} of ${o.value.length}`,onInput:w[0]||(w[0]=S=>c(S)),onKeydown:[Qi(u,["left","right","up","down","home","end"]),Qi(d,["backspace"]),Qi(p,["delete"])],onFocus:f,onBlur:h,onPaste:m},null,40,P4))}}),[ws,O4]=at("PopoverRoot"),FD=L({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t,{modal:r}=xt(n),i=qn(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),a=B(),s=B(!1);return O4({contentId:"",modal:r,open:i,onOpenChange:l=>{i.value=l},onOpenToggle:()=>{i.value=!i.value},triggerElement:a,hasCustomAnchor:s}),(l,c)=>(M(),F(g(Ew),null,{default:O(()=>[W(l.$slots,"default",{open:g(i)})]),_:3}))}}),jD=L({__name:"PopoverPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(M(),F(g(Pc),Nt(Ft(t)),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}}),Ow=L({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Rf(n),{forwardRef:i}=J(),a=ws();return iB(),(s,l)=>(M(),F(g(_w),{"as-child":"",loop:"",trapped:s.trapFocus,onMountAutoFocus:l[5]||(l[5]=c=>o("openAutoFocus",c)),onUnmountAutoFocus:l[6]||(l[6]=c=>o("closeAutoFocus",c))},{default:O(()=>[De(g(Lf),{"as-child":"","disable-outside-pointer-events":s.disableOutsidePointerEvents,onPointerDownOutside:l[0]||(l[0]=c=>o("pointerDownOutside",c)),onInteractOutside:l[1]||(l[1]=c=>o("interactOutside",c)),onEscapeKeyDown:l[2]||(l[2]=c=>o("escapeKeyDown",c)),onFocusOutside:l[3]||(l[3]=c=>o("focusOutside",c)),onDismiss:l[4]||(l[4]=c=>g(a).onOpenChange(!1))},{default:O(()=>[De(g(Cw),ae(g(r),{id:g(a).contentId,ref:g(i),"data-state":g(a).open.value?"open":"closed",role:"dialog",style:{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:O(()=>[W(s.$slots,"default")]),_:3},16,["id","data-state"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),R4=L({__name:"PopoverContentModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=ws(),i=B(!1);pw(!0);const a=_s(n,o),{forwardRef:s,currentElement:l}=J();return hw(l),(c,u)=>(M(),F(Ow,ae(g(a),{ref:g(s),"trap-focus":g(r).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:u[0]||(u[0]=Ko(d=>{var p;o("closeAutoFocus",d),i.value||(p=g(r).triggerElement.value)==null||p.focus()},["prevent"])),onPointerDownOutside:u[1]||(u[1]=d=>{o("pointerDownOutside",d);const p=d.detail.originalEvent,f=p.button===0&&p.ctrlKey===!0,h=p.button===2||f;i.value=h}),onFocusOutside:u[2]||(u[2]=Ko(()=>{},["prevent"]))}),{default:O(()=>[W(c.$slots,"default")]),_:3},16,["trap-focus"]))}}),I4=L({__name:"PopoverContentNonModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=ws(),i=B(!1),a=B(!1),s=_s(n,o);return(l,c)=>(M(),F(Ow,ae(g(s),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:c[0]||(c[0]=u=>{var d;o("closeAutoFocus",u),u.defaultPrevented||(i.value||(d=g(r).triggerElement.value)==null||d.focus(),u.preventDefault()),i.value=!1,a.value=!1}),onInteractOutside:c[1]||(c[1]=async u=>{var d;o("interactOutside",u),u.defaultPrevented||(i.value=!0,u.detail.originalEvent.type==="pointerdown"&&(a.value=!0));const p=u.target;(d=g(r).triggerElement.value)!=null&&d.contains(p)&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&a.value&&u.preventDefault()})}),{default:O(()=>[W(l.$slots,"default")]),_:3},16))}}),HD=L({__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=ws(),i=_s(n,o),{forwardRef:a}=J();return r.contentId||(r.contentId=or(void 0,"radix-vue-popover-content")),(s,l)=>(M(),F(g(Yn),{present:s.forceMount||g(r).open.value},{default:O(()=>[g(r).modal.value?(M(),F(R4,ae({key:0},g(i),{ref:g(a)}),{default:O(()=>[W(s.$slots,"default")]),_:3},16)):(M(),F(I4,ae({key:1},g(i),{ref:g(a)}),{default:O(()=>[W(s.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),WD=L({__name:"PopoverArrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return J(),(n,o)=>(M(),F(g(Mw),Nt(Ft(t)),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}}),UD=L({__name:"PopoverAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;J();const n=ws();return Jw(()=>{n.hasCustomAnchor.value=!0}),xn(()=>{n.hasCustomAnchor.value=!1}),(o,r)=>(M(),F(g(Tw),Nt(Ft(t)),{default:O(()=>[W(o.$slots,"default")]),_:3},16))}}),[cn,L4]=at("ScrollAreaRoot"),VD=L({__name:"ScrollAreaRoot",props:{type:{default:"hover"},dir:{},scrollHideDelay:{default:600},asChild:{type:Boolean},as:{}},setup(e,{expose:t}){const n=e,o=B(0),r=B(0),i=B(),a=B(),s=B(),l=B(),c=B(!1),u=B(!1),{type:d,dir:p,scrollHideDelay:f}=xt(n),h=Ac(p);function m(){var v;(v=i.value)==null||v.scrollTo({top:0})}function y(){var v;(v=i.value)==null||v.scrollTo({top:0,left:0})}t({viewport:i,scrollTop:m,scrollTopLeft:y});const{forwardRef:b,currentElement:_}=J();return L4({type:d,dir:h,scrollHideDelay:f,scrollArea:_,viewport:i,onViewportChange:v=>{i.value=v||void 0},content:a,onContentChange:v=>{a.value=v},scrollbarX:s,scrollbarXEnabled:c,scrollbarY:l,scrollbarYEnabled:u,onScrollbarXChange:v=>{s.value=v||void 0},onScrollbarYChange:v=>{l.value=v||void 0},onScrollbarXEnabledChange:v=>{c.value=v},onScrollbarYEnabledChange:v=>{u.value=v},onCornerWidthChange:v=>{o.value=v},onCornerHeightChange:v=>{r.value=v}}),(v,w)=>(M(),F(g(pe),{ref:g(b),"as-child":n.asChild,as:v.as,dir:g(h),style:Kn({position:"relative","--radix-scroll-area-corner-width":`${o.value}px`,"--radix-scroll-area-corner-height":`${r.value}px`})},{default:O(()=>[W(v.$slots,"default")]),_:3},8,["as-child","as","dir","style"]))}}),GD=L({inheritAttrs:!1,__name:"ScrollAreaViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(e,{expose:t}){const n=e,{nonce:o}=xt(n),r=f4(o),i=cn(),a=B();Xe(()=>{i.onViewportChange(a.value),i.onContentChange(l.value)}),t({viewportElement:a});const{forwardRef:s,currentElement:l}=J();return(c,u)=>(M(),Ze(ho,null,[ir("div",ae({ref_key:"viewportElement",ref:a,"data-radix-scroll-area-viewport":"",style:{overflowX:g(i).scrollbarXEnabled.value?"scroll":"hidden",overflowY:g(i).scrollbarYEnabled.value?"scroll":"hidden"}},c.$attrs,{tabindex:0}),[De(g(pe),{ref:g(s),style:Kn({minWidth:g(i).scrollbarXEnabled.value?"fit-content":void 0}),"as-child":n.asChild,as:c.as},{default:O(()=>[W(c.$slots,"default")]),_:3},8,["style","as-child","as"])],16),De(g(pe),{as:"style",nonce:g(r)},{default:O(()=>[En(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-scroll-area-viewport] { scrollbar-width:none; -ms-overflow-style:none; -webkit-overflow-scrolling:touch; } [data-radix-scroll-area-viewport]::-webkit-scrollbar { display:none; } ")]),_:1},8,["nonce"])],64))}});function Rw(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const o=(t[1]-t[0])/(e[1]-e[0]);return t[0]+o*(n-e[0])}}function Oc(e){const t=Iw(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=(e.scrollbar.size-n)*t;return Math.max(o,18)}function Iw(e,t){const n=e/t;return Number.isNaN(n)?0:n}function B4(e,t=()=>{}){let n={left:e.scrollLeft,top:e.scrollTop},o=0;return function r(){const i={left:e.scrollLeft,top:e.scrollTop},a=n.left!==i.left,s=n.top!==i.top;(a||s)&&t(),n=i,o=window.requestAnimationFrame(r)}(),()=>window.cancelAnimationFrame(o)}function r0(e,t,n="ltr"){const o=Oc(t),r=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-r,a=t.content-t.viewport,s=i-o,l=n==="ltr"?[0,a]:[a*-1,0],c=OL(e,l[0],l[1]);return Rw([0,a],[0,s])(c)}function Zs(e){return e?Number.parseInt(e,10):0}function $4(e,t,n,o="ltr"){const r=Oc(n),i=r/2,a=t||i,s=r-a,l=n.scrollbar.paddingStart+a,c=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,d=o==="ltr"?[0,u]:[u*-1,0];return Rw([l,c],d)(e)}function i0(e,t){return e>0&&e<t}const Lw=L({__name:"ScrollAreaScrollbarImpl",props:{isHorizontal:{type:Boolean}},emits:["onDragScroll","onWheelScroll","onThumbPointerDown"],setup(e,{emit:t}){const n=e,o=t,r=cn(),i=Rc(),a=Ic(),{forwardRef:s,currentElement:l}=J(),c=B(""),u=B();function d(b){var _,v;if(u.value){const w=b.clientX-((_=u.value)==null?void 0:_.left),S=b.clientY-((v=u.value)==null?void 0:v.top);o("onDragScroll",{x:w,y:S})}}function p(b){b.button===0&&(b.target.setPointerCapture(b.pointerId),u.value=l.value.getBoundingClientRect(),c.value=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",r.viewport&&(r.viewport.value.style.scrollBehavior="auto"),d(b))}function f(b){d(b)}function h(b){const _=b.target;_.hasPointerCapture(b.pointerId)&&_.releasePointerCapture(b.pointerId),document.body.style.webkitUserSelect=c.value,r.viewport&&(r.viewport.value.style.scrollBehavior=""),u.value=void 0}function m(b){var _;const v=b.target,w=(_=l.value)==null?void 0:_.contains(v),S=i.sizes.value.content-i.sizes.value.viewport;w&&i.handleWheelScroll(b,S)}Xe(()=>{document.addEventListener("wheel",m,{passive:!1})}),xn(()=>{document.removeEventListener("wheel",m)});function y(){var b,_,v,w,S;l.value&&(n.isHorizontal?i.handleSizeChange({content:((b=r.viewport.value)==null?void 0:b.scrollWidth)??0,viewport:((_=r.viewport.value)==null?void 0:_.offsetWidth)??0,scrollbar:{size:l.value.clientWidth??0,paddingStart:Zs(getComputedStyle(l.value).paddingLeft),paddingEnd:Zs(getComputedStyle(l.value).paddingRight)}}):i.handleSizeChange({content:((v=r.viewport.value)==null?void 0:v.scrollHeight)??0,viewport:((w=r.viewport.value)==null?void 0:w.offsetHeight)??0,scrollbar:{size:((S=l.value)==null?void 0:S.clientHeight)??0,paddingStart:Zs(getComputedStyle(l.value).paddingLeft),paddingEnd:Zs(getComputedStyle(l.value).paddingRight)}}))}return Ti(l,y),Ti(r.content,y),(b,_)=>(M(),F(g(pe),{ref:g(s),style:{position:"absolute"},"data-scrollbarimpl":"",as:g(a).as.value,"as-child":g(a).asChild.value,onPointerdown:p,onPointermove:f,onPointerup:h},{default:O(()=>[W(b.$slots,"default")]),_:3},8,["as","as-child"]))}}),D4=L({__name:"ScrollAreaScrollbarX",setup(e){const t=cn(),n=Rc(),{forwardRef:o,currentElement:r}=J();Xe(()=>{r.value&&t.onScrollbarXChange(r.value)});const i=$(()=>n.sizes.value);return(a,s)=>(M(),F(Lw,{ref:g(o),"is-horizontal":!0,"data-orientation":"horizontal",style:Kn({bottom:0,left:g(t).dir.value==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:g(t).dir.value==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":i.value?`${g(Oc)(i.value)}px`:void 0}),onOnDragScroll:s[0]||(s[0]=l=>g(n).onDragScroll(l.x))},{default:O(()=>[W(a.$slots,"default")]),_:3},8,["style"]))}}),z4=L({__name:"ScrollAreaScrollbarY",setup(e){const t=cn(),n=Rc(),{forwardRef:o,currentElement:r}=J();Xe(()=>{r.value&&t.onScrollbarYChange(r.value)});const i=$(()=>n.sizes.value);return(a,s)=>(M(),F(Lw,{ref:g(o),"is-horizontal":!1,"data-orientation":"vertical",style:Kn({top:0,right:g(t).dir.value==="ltr"?0:void 0,left:g(t).dir.value==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":i.value?`${g(Oc)(i.value)}px`:void 0}),onOnDragScroll:s[0]||(s[0]=l=>g(n).onDragScroll(l.y))},{default:O(()=>[W(a.$slots,"default")]),_:3},8,["style"]))}}),[Rc,N4]=at("ScrollAreaScrollbarVisible"),$f=L({__name:"ScrollAreaScrollbarVisible",setup(e){const t=cn(),n=Ic(),{forwardRef:o}=J(),r=B({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),i=$(()=>{const b=Iw(r.value.viewport,r.value.content);return b>0&&b<1}),a=B(),s=B(0);function l(b,_){if(f.value){const v=t.viewport.value.scrollLeft+b.deltaY;t.viewport.value.scrollLeft=v,i0(v,_)&&b.preventDefault()}else{const v=t.viewport.value.scrollTop+b.deltaY;t.viewport.value.scrollTop=v,i0(v,_)&&b.preventDefault()}}function c(b,_){f.value?s.value=_.x:s.value=_.y}function u(b){s.value=0}function d(b){r.value=b}function p(b,_){return $4(b,s.value,r.value,_)}const f=$(()=>n.isHorizontal.value);function h(b){f.value?t.viewport.value.scrollLeft=p(b,t.dir.value):t.viewport.value.scrollTop=p(b)}function m(){if(f.value){if(t.viewport.value&&a.value){const b=t.viewport.value.scrollLeft,_=r0(b,r.value,t.dir.value);a.value.style.transform=`translate3d(${_}px, 0, 0)`}}else if(t.viewport.value&&a.value){const b=t.viewport.value.scrollTop,_=r0(b,r.value);a.value.style.transform=`translate3d(0, ${_}px, 0)`}}function y(b){a.value=b}return N4({sizes:r,hasThumb:i,handleWheelScroll:l,handleThumbDown:c,handleThumbUp:u,handleSizeChange:d,onThumbPositionChange:m,onThumbChange:y,onDragScroll:h}),(b,_)=>f.value?(M(),F(D4,ae({key:0},b.$attrs,{ref:g(o)}),{default:O(()=>[W(b.$slots,"default")]),_:3},16)):(M(),F(z4,ae({key:1},b.$attrs,{ref:g(o)}),{default:O(()=>[W(b.$slots,"default")]),_:3},16))}}),Bw=L({__name:"ScrollAreaScrollbarAuto",props:{forceMount:{type:Boolean}},setup(e){const t=cn(),n=Ic(),{forwardRef:o}=J(),r=B(!1),i=lw(()=>{if(t.viewport.value){const a=t.viewport.value.offsetWidth<t.viewport.value.scrollWidth,s=t.viewport.value.offsetHeight<t.viewport.value.scrollHeight;r.value=n.isHorizontal.value?a:s}},10);return Xe(()=>i()),Ti(t.viewport,i),Ti(t.content,i),(a,s)=>(M(),F(g(Yn),{present:a.forceMount||r.value},{default:O(()=>[De($f,ae(a.$attrs,{ref:g(o),"data-state":r.value?"visible":"hidden"}),{default:O(()=>[W(a.$slots,"default")]),_:3},16,["data-state"])]),_:3},8,["present"]))}}),F4=L({inheritAttrs:!1,__name:"ScrollAreaScrollbarHover",props:{forceMount:{type:Boolean}},setup(e){const t=cn(),{forwardRef:n}=J();let o;const r=B(!1);function i(){window.clearTimeout(o),r.value=!0}function a(){o=window.setTimeout(()=>{r.value=!1},t.scrollHideDelay.value)}return Xe(()=>{const s=t.scrollArea.value;s&&(s.addEventListener("pointerenter",i),s.addEventListener("pointerleave",a))}),xn(()=>{const s=t.scrollArea.value;s&&(window.clearTimeout(o),s.removeEventListener("pointerenter",i),s.removeEventListener("pointerleave",a))}),(s,l)=>(M(),F(g(Yn),{present:s.forceMount||r.value},{default:O(()=>[De(Bw,ae(s.$attrs,{ref:g(n),"data-state":r.value?"visible":"hidden"}),{default:O(()=>[W(s.$slots,"default")]),_:3},16,["data-state"])]),_:3},8,["present"]))}}),j4=L({__name:"ScrollAreaScrollbarScroll",props:{forceMount:{type:Boolean}},setup(e){const t=cn(),n=Ic(),{forwardRef:o}=J(),{state:r,dispatch:i}=mw("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});Rt(s=>{if(r.value==="idle"){const l=window.setTimeout(()=>i("HIDE"),t.scrollHideDelay.value);s(()=>{window.clearTimeout(l)})}});const a=lw(()=>i("SCROLL_END"),100);return Rt(s=>{const l=t.viewport.value,c=n.isHorizontal.value?"scrollLeft":"scrollTop";if(l){let u=l[c];const d=()=>{const p=l[c];u!==p&&(i("SCROLL"),a()),u=p};l.addEventListener("scroll",d),s(()=>{l.removeEventListener("scroll",d)})}}),(s,l)=>(M(),F(g(Yn),{present:s.forceMount||g(r)!=="hidden"},{default:O(()=>[De($f,ae(s.$attrs,{ref:g(o)}),{default:O(()=>[W(s.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),[Ic,H4]=at("ScrollAreaScrollbar"),qD=L({inheritAttrs:!1,__name:"ScrollAreaScrollbar",props:{orientation:{default:"vertical"},forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"div"}},setup(e){const t=e,{forwardRef:n}=J(),o=cn(),r=$(()=>t.orientation==="horizontal");be(r,()=>{r.value?o.onScrollbarXEnabledChange(!0):o.onScrollbarYEnabledChange(!0)},{immediate:!0}),xn(()=>{o.onScrollbarXEnabledChange(!1),o.onScrollbarYEnabledChange(!1)});const{orientation:i,forceMount:a,asChild:s,as:l}=xt(t);return H4({orientation:i,forceMount:a,isHorizontal:r,as:l,asChild:s}),(c,u)=>g(o).type.value==="hover"?(M(),F(F4,ae({key:0},c.$attrs,{ref:g(n),"force-mount":g(a)}),{default:O(()=>[W(c.$slots,"default")]),_:3},16,["force-mount"])):g(o).type.value==="scroll"?(M(),F(j4,ae({key:1},c.$attrs,{ref:g(n),"force-mount":g(a)}),{default:O(()=>[W(c.$slots,"default")]),_:3},16,["force-mount"])):g(o).type.value==="auto"?(M(),F(Bw,ae({key:2},c.$attrs,{ref:g(n),"force-mount":g(a)}),{default:O(()=>[W(c.$slots,"default")]),_:3},16,["force-mount"])):g(o).type.value==="always"?(M(),F($f,ae({key:3},c.$attrs,{ref:g(n),"data-state":"visible"}),{default:O(()=>[W(c.$slots,"default")]),_:3},16)):nn("",!0)}}),KD=L({__name:"ScrollAreaThumb",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e,n=cn(),o=Rc();function r(p){const f=p.target.getBoundingClientRect(),h=p.clientX-f.left,m=p.clientY-f.top;o.handleThumbDown(p,{x:h,y:m})}function i(p){o.handleThumbUp(p)}const{forwardRef:a,currentElement:s}=J(),l=B(),c=$(()=>n.viewport.value);function u(){if(!l.value){const p=B4(c.value,o.onThumbPositionChange);l.value=p,o.onThumbPositionChange()}}const d=$(()=>o.sizes.value);return VL(d,()=>{o.onThumbChange(s.value),c.value&&(o.onThumbPositionChange(),c.value.addEventListener("scroll",u))}),xn(()=>{var p;c.value.removeEventListener("scroll",u),(p=n.viewport.value)==null||p.removeEventListener("scroll",u)}),(p,f)=>(M(),F(g(pe),{ref:g(a),"data-state":g(o).hasThumb?"visible":"hidden",style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)"},"as-child":t.asChild,as:p.as,onPointerdown:r,onPointerup:i},{default:O(()=>[W(p.$slots,"default")]),_:3},8,["data-state","as-child","as"]))}}),W4=L({__name:"ScrollAreaCornerImpl",setup(e){const t=cn(),n=B(0),o=B(0),r=$(()=>!!n.value&&!!o.value);function i(){var s;const l=((s=t.scrollbarX.value)==null?void 0:s.offsetHeight)||0;t.onCornerHeightChange(l),o.value=l}function a(){var s;const l=((s=t.scrollbarY.value)==null?void 0:s.offsetWidth)||0;t.onCornerWidthChange(l),n.value=l}return Ti(t.scrollbarX.value,i),Ti(t.scrollbarY.value,a),be(()=>t.scrollbarX.value,i),be(()=>t.scrollbarY.value,a),(s,l)=>{var c;return r.value?(M(),F(g(pe),ae({key:0,style:{width:`${n.value}px`,height:`${o.value}px`,position:"absolute",right:g(t).dir.value==="ltr"?0:void 0,left:g(t).dir.value==="rtl"?0:void 0,bottom:0}},(c=s.$parent)==null?void 0:c.$props),{default:O(()=>[W(s.$slots,"default")]),_:3},16,["style"])):nn("",!0)}}}),YD=L({__name:"ScrollAreaCorner",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n}=J(),o=cn(),r=$(()=>!!o.scrollbarX.value&&!!o.scrollbarY.value),i=$(()=>o.type.value!=="scroll"&&r.value);return(a,s)=>i.value?(M(),F(W4,ae({key:0},t,{ref:g(n)}),{default:O(()=>[W(a.$slots,"default")]),_:3},16)):nn("",!0)}}),U4=L({__name:"BaseSeparator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e,n=["horizontal","vertical"];function o(s){return n.includes(s)}const r=$(()=>o(t.orientation)?t.orientation:"horizontal"),i=$(()=>r.value==="vertical"?t.orientation:void 0),a=$(()=>t.decorative?{role:"none"}:{"aria-orientation":i.value,role:"separator"});return(s,l)=>(M(),F(g(pe),ae({as:s.as,"as-child":s.asChild,"data-orientation":r.value},a.value),{default:O(()=>[W(s.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),XD=L({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(M(),F(U4,Nt(Ft(t)),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}});function V4(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}V4();const[Df,G4]=at("TabsRoot"),ZD=L({__name:"TabsRoot",props:{defaultValue:{},orientation:{default:"horizontal"},dir:{},activationMode:{default:"automatic"},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,{orientation:r,dir:i}=xt(n),a=Ac(i);J();const s=qn(n,"modelValue",o,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),l=B();return G4({modelValue:s,changeModelValue:c=>{s.value=c},orientation:r,dir:a,activationMode:n.activationMode,baseId:or(void 0,"radix-vue-tabs"),tabsList:l}),(c,u)=>(M(),F(g(pe),{dir:g(a),"data-orientation":g(r),"as-child":c.asChild,as:c.as},{default:O(()=>[W(c.$slots,"default",{modelValue:g(s)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),JD=L({__name:"TabsList",props:{loop:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},setup(e){const t=e,{loop:n}=xt(t),{forwardRef:o,currentElement:r}=J(),i=Df();return i.tabsList=r,(a,s)=>(M(),F(g(S4),{"as-child":"",orientation:g(i).orientation.value,dir:g(i).dir.value,loop:g(n)},{default:O(()=>[De(g(pe),{ref:g(o),role:"tablist","as-child":a.asChild,as:a.as,"aria-orientation":g(i).orientation.value},{default:O(()=>[W(a.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}});function $w(e,t){return`${e}-trigger-${t}`}function Dw(e,t){return`${e}-content-${t}`}const QD=L({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n}=J(),o=Df(),r=$(()=>$w(o.baseId,t.value)),i=$(()=>Dw(o.baseId,t.value)),a=$(()=>t.value===o.modelValue.value),s=B(a.value);return Xe(()=>{requestAnimationFrame(()=>{s.value=!1})}),(l,c)=>(M(),F(g(Yn),{present:a.value,"force-mount":""},{default:O(({present:u})=>[De(g(pe),{id:i.value,ref:g(n),"as-child":l.asChild,as:l.as,role:"tabpanel","data-state":a.value?"active":"inactive","data-orientation":g(o).orientation.value,"aria-labelledby":r.value,hidden:!u.value,tabindex:"0",style:Kn({animationDuration:s.value?"0s":void 0})},{default:O(()=>[l.forceMount||a.value?W(l.$slots,"default",{key:0}):nn("",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),ez=L({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,{forwardRef:n}=J(),o=Df(),r=$(()=>$w(o.baseId,t.value)),i=$(()=>Dw(o.baseId,t.value)),a=$(()=>t.value===o.modelValue.value);return(s,l)=>(M(),F(g(k4),{"as-child":"",focusable:!s.disabled,active:a.value},{default:O(()=>[De(g(pe),{id:r.value,ref:g(n),role:"tab",type:s.as==="button"?"button":void 0,as:s.as,"as-child":s.asChild,"aria-selected":a.value?"true":"false","aria-controls":i.value,"data-state":a.value?"active":"inactive",disabled:s.disabled,"data-disabled":s.disabled?"":void 0,"data-orientation":g(o).orientation.value,onMousedown:l[0]||(l[0]=Ko(c=>{!s.disabled&&c.ctrlKey===!1?g(o).changeModelValue(s.value):c.preventDefault()},["left"])),onKeydown:l[1]||(l[1]=Qi(c=>g(o).changeModelValue(s.value),["enter","space"])),onFocus:l[2]||(l[2]=()=>{const c=g(o).activationMode!=="manual";!a.value&&!s.disabled&&c&&g(o).changeModelValue(s.value)})},{default:O(()=>[W(s.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),zw="tooltip.open",[zf,q4]=at("TooltipProvider"),tz=L({__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{default:300},disableHoverableContent:{type:Boolean,default:!1},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean,default:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:o,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:a,disabled:s}=xt(t);J();const l=B(!0),c=B(!1),{start:u,stop:d}=cw(()=>{l.value=!0},o,{immediate:!1});return q4({isOpenDelayed:l,delayDuration:n,onOpen(){d(),l.value=!1},onClose(){u()},isPointerInTransitRef:c,disableHoverableContent:r,disableClosingTrigger:i,disabled:s,ignoreNonKeyboardFocus:a}),(p,f)=>W(p.$slots,"default")}}),[Lc,K4]=at("TooltipRoot"),nz=L({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{default:void 0},disableHoverableContent:{type:Boolean,default:void 0},disableClosingTrigger:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t;J();const r=zf(),i=$(()=>n.disableHoverableContent??r.disableHoverableContent.value),a=$(()=>n.disableClosingTrigger??r.disableClosingTrigger.value),s=$(()=>n.disabled??r.disabled.value),l=$(()=>n.delayDuration??r.delayDuration.value),c=$(()=>n.ignoreNonKeyboardFocus??r.ignoreNonKeyboardFocus.value),u=qn(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0});be(u,v=>{r.onClose&&(v?(r.onOpen(),document.dispatchEvent(new CustomEvent(zw))):r.onClose())});const d=B(!1),p=B(),f=$(()=>u.value?d.value?"delayed-open":"instant-open":"closed"),{start:h,stop:m}=cw(()=>{d.value=!0,u.value=!0},l,{immediate:!1});function y(){m(),d.value=!1,u.value=!0}function b(){m(),u.value=!1}function _(){h()}return K4({contentId:"",open:u,stateAttribute:f,trigger:p,onTriggerChange(v){p.value=v},onTriggerEnter(){r.isOpenDelayed.value?_():y()},onTriggerLeave(){i.value?b():m()},onOpen:y,onClose:b,disableHoverableContent:i,disableClosingTrigger:a,disabled:s,ignoreNonKeyboardFocus:c}),(v,w)=>(M(),F(g(Ew),null,{default:O(()=>[W(v.$slots,"default",{open:g(u)})]),_:3}))}}),oz=L({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Lc(),o=zf();n.contentId||(n.contentId=or(void 0,"radix-vue-tooltip-content"));const{forwardRef:r,currentElement:i}=J(),a=B(!1),s=B(!1),l=$(()=>n.disabled.value?{}:{click:m,focus:f,pointermove:d,pointerleave:p,pointerdown:u,blur:h});Xe(()=>{n.onTriggerChange(i.value)});function c(){setTimeout(()=>{a.value=!1},1)}function u(){a.value=!0,document.addEventListener("pointerup",c,{once:!0})}function d(y){y.pointerType!=="touch"&&!s.value&&!o.isPointerInTransitRef.value&&(n.onTriggerEnter(),s.value=!0)}function p(){n.onTriggerLeave(),s.value=!1}function f(y){var b,_;a.value||n.ignoreNonKeyboardFocus.value&&!((_=(b=y.target).matches)!=null&&_.call(b,":focus-visible"))||n.onOpen()}function h(){n.onClose()}function m(){n.disableClosingTrigger.value||n.onClose()}return(y,b)=>(M(),F(g(Tw),{"as-child":""},{default:O(()=>[De(g(pe),ae({ref:g(r),"aria-describedby":g(n).open.value?g(n).contentId:void 0,"data-state":g(n).stateAttribute.value,as:y.as,"as-child":t.asChild,"data-grace-area-trigger":""},x0(l.value)),{default:O(()=>[W(y.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3}))}}),Nw=L({__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{default:0},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=Lc(),{forwardRef:i}=J(),a=gp(),s=$(()=>{var u;return(u=a.default)==null?void 0:u.call(a)}),l=$(()=>{var u;if(n.ariaLabel)return n.ariaLabel;let d="";function p(f){typeof f.children=="string"&&f.type!==C0?d+=f.children:Array.isArray(f.children)&&f.children.forEach(h=>p(h))}return(u=s.value)==null||u.forEach(f=>p(f)),d}),c=$(()=>{const{ariaLabel:u,...d}=n;return d});return Xe(()=>{Jl(window,"scroll",u=>{const d=u.target;d!=null&&d.contains(r.trigger.value)&&r.onClose()}),Jl(window,zw,r.onClose)}),(u,d)=>(M(),F(g(Lf),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:d[0]||(d[0]=p=>o("escapeKeyDown",p)),onPointerDownOutside:d[1]||(d[1]=p=>{var f;g(r).disableClosingTrigger.value&&(f=g(r).trigger.value)!=null&&f.contains(p.target)&&p.preventDefault(),o("pointerDownOutside",p)}),onFocusOutside:d[2]||(d[2]=Ko(()=>{},["prevent"])),onDismiss:d[3]||(d[3]=p=>g(r).onClose())},{default:O(()=>[De(g(Cw),ae({ref:g(i),"data-state":g(r).stateAttribute.value},{...u.$attrs,...c.value},{style:{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:O(()=>[W(u.$slots,"default"),De(g(s4),{id:g(r).contentId,role:"tooltip"},{default:O(()=>[En(nc(l.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),Y4=L({__name:"TooltipContentHoverable",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},setup(e){const t=Rf(e),{forwardRef:n,currentElement:o}=J(),{trigger:r,onClose:i}=Lc(),a=zf(),{isPointerInTransit:s,onPointerExit:l}=sB(r,o);return a.isPointerInTransitRef=s,l(()=>{i()}),(c,u)=>(M(),F(Nw,ae({ref:g(n)},g(t)),{default:O(()=>[W(c.$slots,"default")]),_:3},16))}}),rz=L({__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,r=Lc(),i=_s(n,o),{forwardRef:a}=J();return(s,l)=>(M(),F(g(Yn),{present:s.forceMount||g(r).open.value},{default:O(()=>[(M(),F(ns(g(r).disableHoverableContent.value?Nw:Y4),ae({ref:g(a)},g(i)),{default:O(()=>[W(s.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),iz=L({__name:"TooltipArrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return J(),(n,o)=>(M(),F(g(Mw),Nt(Ft(t)),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}}),az=L({__name:"TooltipPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(M(),F(g(Pc),Nt(Ft(t)),{default:O(()=>[W(n.$slots,"default")]),_:3},16))}}),X4=function(){return null},a0=(e="donor")=>e==="staff"?$e().$staffApi:$e().$api,Z4=/[\p{Lu}]/u,J4=/[\p{Ll}]/u,s0=/^[\p{Lu}](?![\p{Lu}])/gu,Fw=/([\p{Alpha}\p{N}_]|$)/u,Nf=/[_.\- ]+/,Q4=new RegExp("^"+Nf.source),l0=new RegExp(Nf.source+Fw.source,"gu"),c0=new RegExp("\\d+"+Fw.source,"gu"),e$=(e,t,n,o)=>{let r=!1,i=!1,a=!1,s=!1;for(let l=0;l<e.length;l++){const c=e[l];s=l>2?e[l-3]==="-":!0,r&&Z4.test(c)?(e=e.slice(0,l)+"-"+e.slice(l),r=!1,a=i,i=!0,l++):i&&a&&J4.test(c)&&(!s||o)?(e=e.slice(0,l-1)+"-"+e.slice(l-1),a=i,i=!1,r=!0):(r=t(c)===c&&n(c)!==c,a=i,i=n(c)===c&&t(c)!==c)}return e},t$=(e,t)=>(s0.lastIndex=0,e.replace(s0,n=>t(n))),n$=(e,t)=>(l0.lastIndex=0,c0.lastIndex=0,e.replace(l0,(n,o)=>t(o)).replace(c0,n=>t(n)));function o$(e,t){if(!(typeof e=="string"||Array.isArray(e)))throw new TypeError("Expected the input to be `string | string[]`");if(t={pascalCase:!1,preserveConsecutiveUppercase:!1,...t},Array.isArray(e)?e=e.map(i=>i.trim()).filter(i=>i.length).join("-"):e=e.trim(),e.length===0)return"";const n=t.locale===!1?i=>i.toLowerCase():i=>i.toLocaleLowerCase(t.locale),o=t.locale===!1?i=>i.toUpperCase():i=>i.toLocaleUpperCase(t.locale);return e.length===1?Nf.test(e)?"":t.pascalCase?o(e):n(e):(e!==n(e)&&(e=e$(e,n,o,t.preserveConsecutiveUppercase)),e=e.replace(Q4,""),e=t.preserveConsecutiveUppercase?t$(e,n):n(e),t.pascalCase&&(e=o(e.charAt(0))+e.slice(1)),n$(e,o))}class r$ extends Map{constructor(t={}){if(super(),!(t.maxSize&&t.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if(typeof t.maxAge=="number"&&t.maxAge===0)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=t.maxSize,this.maxAge=t.maxAge||Number.POSITIVE_INFINITY,this.onEviction=t.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(t){if(typeof this.onEviction=="function")for(const[n,o]of t)this.onEviction(n,o.value)}_deleteIfExpired(t,n){return typeof n.expiry=="number"&&n.expiry<=Date.now()?(typeof this.onEviction=="function"&&this.onEviction(t,n.value),this.delete(t)):!1}_getOrDeleteIfExpired(t,n){if(this._deleteIfExpired(t,n)===!1)return n.value}_getItemValue(t,n){return n.expiry?this._getOrDeleteIfExpired(t,n):n.value}_peek(t,n){const o=n.get(t);return this._getItemValue(t,o)}_set(t,n){this.cache.set(t,n),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(t,n){this.oldCache.delete(t),this._set(t,n)}*_entriesAscending(){for(const t of this.oldCache){const[n,o]=t;this.cache.has(n)||this._deleteIfExpired(n,o)===!1&&(yield t)}for(const t of this.cache){const[n,o]=t;this._deleteIfExpired(n,o)===!1&&(yield t)}}get(t){if(this.cache.has(t)){const n=this.cache.get(t);return this._getItemValue(t,n)}if(this.oldCache.has(t)){const n=this.oldCache.get(t);if(this._deleteIfExpired(t,n)===!1)return this._moveToRecent(t,n),n.value}}set(t,n,{maxAge:o=this.maxAge}={}){const r=typeof o=="number"&&o!==Number.POSITIVE_INFINITY?Date.now()+o:void 0;return this.cache.has(t)?this.cache.set(t,{value:n,expiry:r}):this._set(t,{value:n,expiry:r}),this}has(t){return this.cache.has(t)?!this._deleteIfExpired(t,this.cache.get(t)):this.oldCache.has(t)?!this._deleteIfExpired(t,this.oldCache.get(t)):!1}peek(t){if(this.cache.has(t))return this._peek(t,this.cache);if(this.oldCache.has(t))return this._peek(t,this.oldCache)}delete(t){const n=this.cache.delete(t);return n&&this._size--,this.oldCache.delete(t)||n}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(t){if(!(t&&t>0))throw new TypeError("`maxSize` must be a number greater than 0");const n=[...this._entriesAscending()],o=n.length-t;o<0?(this.cache=new Map(n),this.oldCache=new Map,this._size=n.length):(o>0&&this._emitEvictions(n.slice(0,o)),this.oldCache=new Map(n.slice(o)),this.cache=new Map,this._size=0),this.maxSize=t}*keys(){for(const[t]of this)yield t}*values(){for(const[,t]of this)yield t}*[Symbol.iterator](){for(const t of this.cache){const[n,o]=t;this._deleteIfExpired(n,o)===!1&&(yield[n,o.value])}for(const t of this.oldCache){const[n,o]=t;this.cache.has(n)||this._deleteIfExpired(n,o)===!1&&(yield[n,o.value])}}*entriesDescending(){let t=[...this.cache];for(let n=t.length-1;n>=0;--n){const o=t[n],[r,i]=o;this._deleteIfExpired(r,i)===!1&&(yield[r,i.value])}t=[...this.oldCache];for(let n=t.length-1;n>=0;--n){const o=t[n],[r,i]=o;this.cache.has(r)||this._deleteIfExpired(r,i)===!1&&(yield[r,i.value])}}*entriesAscending(){for(const[t,n]of this._entriesAscending())yield[t,n.value]}get size(){if(!this._size)return this.oldCache.size;let t=0;for(const n of this.oldCache.keys())this.cache.has(n)||t++;return Math.min(this._size+t,this.maxSize)}entries(){return this.entriesAscending()}forEach(t,n=this){for(const[o,r]of this.entriesAscending())t.call(n,r,o,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}const i$=(e,t)=>e.some(n=>typeof n=="string"?n===t:(n.lastIndex=0,n.test(t))),Mu=new r$({maxSize:1e5}),u0=e=>typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),d0=(e,t)=>{if(!u0(e))return e;t={deep:!1,pascalCase:!1,...t};const{exclude:n,pascalCase:o,stopPaths:r,deep:i}=t,a=new Set(r),s=l=>(c,u)=>{if(i&&u0(u)){const d=l===void 0?c:`${l}.${c}`;a.has(d)||(u=Im(u,s(d)))}if(!(n&&i$(n,c))){const d=o?`${c}_`:c;if(Mu.has(d))c=Mu.get(d);else{const p=o$(c,{pascalCase:o,locale:!1});c.length<100&&Mu.set(d,p),c=p}}return[c,u]};return Im(e,s(void 0))};function a$(e,t){return Array.isArray(e)?Object.keys(e).map(n=>d0(e[n],t)):d0(e,t)}const fp={all:()=>["auth"],self:()=>({queryKey:[...fp.all(),"self"],queryFn:async()=>{var n,o;const e=Da();if(!e.value)return null;const t=a0();try{const r=await t("/donor/auth/getSelfData");return a$(r.donor,{deep:!0})}catch(r){if(r instanceof L0&&(((n=r.response)==null?void 0:n.status)===401||((o=r.response)==null?void 0:o.status)===403))return e.value=null,null;throw r}},staleTime:1e3*60*60}),preferences:()=>({queryKey:["preferences"],queryFn:async()=>Da().value?await a0()("/donor/auth/preferences"):[]})},s$=L({__name:"app",async setup(e){let t,n;const o=()=>AE("$siNM9WAguS"),r=S6();return[t,n]=Wf(()=>r.prefetchQuery(fp.self())),await t,n(),[t,n]=Wf(()=>r.prefetchQuery(fp.preferences())),await t,n(),(i,a)=>{const s=O6,l=I6,c=z6,u=tB;return M(),F(u,{"use-id":o},{default:O(()=>[De(s,{color:"#0048A6",throttle:0}),De(c,null,{default:O(()=>[De(l)]),_:1}),De(g(X4))]),_:1})}}}),l$={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
`).splice(1).map(d=>({text:d.replace("webpack:/","").replace(".vue",".js").trim(),internal:d.includes("node_modules")&&!d.includes(".cache")||d.includes("internal")||d.includes("new Promise")})).map(d=>`<span class="stack${d.internal?" internal":""}">${d.text}</span>`).join(`
`);const o=Number(n.statusCode||500),r=o===404,i=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),a=n.message||n.toString(),s=void 0,l=hl(()=>se(()=>import("./CwZ1jXZJ.js"),__vite__mapDeps([160,15,2,3,1,8,161]),import.meta.url).then(d=>d.default||d)),c=hl(()=>se(()=>import("./BMSFzO21.js"),__vite__mapDeps([162,1,2,3,8,163]),import.meta.url).then(d=>d.default||d)),u=r?l:c;return(d,p)=>(M(),F(g(u),Nt(Ft({statusCode:g(o),statusMessage:g(i),description:g(a),stack:g(s)})),null,16))}},c$={key:0},p0={__name:"nuxt-root",setup(e){const t=()=>null,n=$e(),o=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",o);Yt().beforeEach(l)}const r=!1;Wo(os,kp()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const i=rc(),a=!1;Qw((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),WS(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Vr(l)),!1});const s=!1;return(l,c)=>(M(),F(vp,{onResolve:g(o)},{default:O(()=>[g(a)?(M(),Ze("div",c$)):g(i)?(M(),F(g(l$),{key:1,error:g(i)},null,8,["error"])):g(s)?(M(),F(g(t),{key:2,context:g(s)},null,8,["context"])):g(r)?(M(),F(ns(g(r)),{key:3})):(M(),F(g(s$),{key:4}))]),_:1},8,["onResolve"]))}};let f0;{let e;f0=async function(){var a,s;if(e)return e;const o=!!((a=window.__NUXT__)!=null&&a.serverRendered||((s=document.getElementById("__NUXT_DATA__"))==null?void 0:s.dataset.ssr)==="true")?e1(p0):E0(p0),r=dS({vueApp:o});async function i(l){await r.callHook("app:error",l),r.payload.error=r.payload.error||ic(l)}o.config.errorHandler=i;try{await hS(r,C6)}catch(l){i(l)}try{await r.hooks.callHook("app:created",o),await r.hooks.callHook("app:beforeMount",o),o.mount(cS),await r.hooks.callHook("app:mounted",o),await Je()}catch(l){i(l)}return o.config.errorHandler===i&&(o.config.errorHandler=void 0),o},e=f0().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{A$ as $,_t as A,Gp as B,zh as C,nt as D,Ir as E,vC as F,Be as G,Bp as H,Lp as I,Ip as J,YE as K,as as L,He as M,W$ as N,G$ as O,U$ as P,aa as Q,it as R,Ln as S,oD as T,dT as U,z$ as V,Yc as W,D$ as X,Jv as Y,C$ as Z,M$ as _,Ai as a,Pt as a$,AT as a0,Wv as a1,XE as a2,PT as a3,B$ as a4,yt as a5,wi as a6,xe as a7,Wn as a8,Vh as a9,ji as aA,Rd as aB,fR as aC,dD as aD,S6 as aE,a$ as aF,jm as aG,Yt as aH,Q5 as aI,_c as aJ,Cy as aK,Vc as aL,cR as aM,kp as aN,os as aO,fO as aP,y$ as aQ,L0 as aR,ND as aS,zD as aT,XD as aU,$x as aV,Ov as aW,ov as aX,$0 as aY,$e as aZ,Ec as a_,on as aa,hT as ab,fT as ac,oA as ad,yT as ae,tA as af,Ki as ag,dc as ah,yi as ai,rT as aj,O$ as ak,nM as al,$p as am,xT as an,rD as ao,Z$ as ap,TT as aq,Vo as ar,R$ as as,gT as at,$$ as au,eD as av,J$ as aw,Q$ as ax,jt as ay,I6 as az,zn as b,_$ as b$,j_ as b0,Se as b1,WB as b2,UB as b3,HB as b4,ED as b5,TD as b6,xD as b7,xB as b8,NB as b9,PD as bA,ez as bB,JD as bC,QD as bD,ZD as bE,S$ as bF,fD as bG,hD as bH,pD as bI,fp as bJ,k$ as bK,KD as bL,qD as bM,GD as bN,YD as bO,VD as bP,Sy as bQ,Rp as bR,$h as bS,jS as bT,x$ as bU,v1 as bV,p$ as bW,Rr as bX,_p as bY,Iu as bZ,yp as b_,jB as ba,mD as bb,kB as bc,AE as bd,se as be,UD as bf,WD as bg,HD as bh,jD as bi,FD as bj,E$ as bk,vD as bl,SD as bm,kD as bn,wD as bo,yD as bp,_D as bq,bD as br,gD as bs,RD as bt,DD as bu,BD as bv,OD as bw,$D as bx,ID as by,LD as bz,F$ as c,Wu as c0,lc as c1,m$ as c2,v$ as c3,QI as c4,iD as c5,Ng as c6,pn as c7,vs as c8,ZI as c9,T$ as cA,$v as cB,yE as cC,Kp as cD,oz as cE,iz as cF,rz as cG,az as cH,nz as cI,tz as cJ,MD as cK,CD as cL,X$ as cM,w$ as cN,O6 as cO,pw as cP,b$ as cQ,pi as cR,JI as ca,U_ as cb,c6 as cc,t6 as cd,cD as ce,uD as cf,Ya as cg,p6 as ch,f$ as ci,ic as cj,g$ as ck,h$ as cl,HE as cm,Uf as cn,O1 as co,oc as cp,y1 as cq,a0 as cr,pO as cs,We as ct,La as cu,ce as cv,AD as cw,If as cx,Da as cy,na as cz,Fp as d,Dp as e,od as f,I$ as g,tt as h,bi as i,N$ as j,P$ as k,le as l,Pi as m,pc as n,Nh as o,nD as p,K$ as q,j$ as r,XC as s,ia as t,L$ as u,H$ as v,V$ as w,q$ as x,tD as y,Y$ as z};
//# sourceMappingURL=D5Rz2KmZ.js.map
